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-pnm use pnm images (PNM file format)"
396 --enable-xpm use xpm images (XPM file format)"
398 --enable-icocur use Windows ICO and CUR formats"
400 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
402 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
404 --disable-gtktest Do not try to compile and run a test GTK program"
406 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
408 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
410 --disable-gtktest Do not try to compile and run a test GTK program"
412 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
414 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
416 --disable-gtktest Do not try to compile and run a test GTK program"
418 --with-x use the X Window System"
420 # Initialize some variables set by options.
421 # The variables have the same names as the options, with
422 # dashes changed to underlines.
424 cache_file
=.
/config.cache
433 program_transform_name
=s
,x
,x
,
441 bindir
='${exec_prefix}/bin'
442 sbindir
='${exec_prefix}/sbin'
443 libexecdir
='${exec_prefix}/libexec'
444 datadir
='${prefix}/share'
445 sysconfdir
='${prefix}/etc'
446 sharedstatedir
='${prefix}/com'
447 localstatedir
='${prefix}/var'
448 libdir
='${exec_prefix}/lib'
449 includedir
='${prefix}/include'
450 oldincludedir
='/usr/include'
451 infodir
='${prefix}/info'
452 mandir
='${prefix}/man'
454 # Initialize some other variables.
457 SHELL
=${CONFIG_SHELL-/bin/sh}
458 # Maximum number of lines to put in a shell here document.
465 # If the previous option needs an argument, assign it.
466 if test -n "$ac_prev"; then
467 eval "$ac_prev=\$ac_option"
473 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
477 # Accept the important Cygnus configure options, so we can diagnose typos.
481 -bindir | --bindir | --bindi | --bind | --bin | --bi)
483 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
484 bindir
="$ac_optarg" ;;
486 -build | --build | --buil | --bui | --bu)
488 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
489 build
="$ac_optarg" ;;
491 -cache-file | --cache-file | --cache-fil | --cache-fi \
492 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
493 ac_prev
=cache_file
;;
494 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
495 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
496 cache_file
="$ac_optarg" ;;
498 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
500 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
502 datadir
="$ac_optarg" ;;
504 -disable-* | --disable-*)
505 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
506 # Reject names that are not valid shell variable names.
507 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
508 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
510 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
511 eval "enable_${ac_feature}=no" ;;
513 -enable-* | --enable-*)
514 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
515 # Reject names that are not valid shell variable names.
516 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
517 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
519 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
524 eval "enable_${ac_feature}='$ac_optarg'" ;;
526 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
527 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
528 | --exec | --exe | --ex)
529 ac_prev
=exec_prefix
;;
530 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
531 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
532 | --exec=* | --exe=* | --ex=*)
533 exec_prefix
="$ac_optarg" ;;
535 -gas | --gas | --ga | --g)
536 # Obsolete; use --with-gas.
539 -help | --help | --hel | --he)
540 # Omit some internal or obsolete options to make the list less imposing.
541 # This message is too long to be a string in the A/UX 3.1 sh.
543 Usage: configure [options] [host]
544 Options: [defaults in brackets after descriptions]
546 --cache-file=FILE cache test results in FILE
547 --help print this message
548 --no-create do not create output files
549 --quiet, --silent do not print \`checking...' messages
550 --version print the version of autoconf that created configure
551 Directory and file names:
552 --prefix=PREFIX install architecture-independent files in PREFIX
554 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
556 --bindir=DIR user executables in DIR [EPREFIX/bin]
557 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
558 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
559 --datadir=DIR read-only architecture-independent data in DIR
561 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
562 --sharedstatedir=DIR modifiable architecture-independent data in DIR
564 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
565 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
566 --includedir=DIR C header files in DIR [PREFIX/include]
567 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
568 --infodir=DIR info documentation in DIR [PREFIX/info]
569 --mandir=DIR man documentation in DIR [PREFIX/man]
570 --srcdir=DIR find the sources in DIR [configure dir or ..]
571 --program-prefix=PREFIX prepend PREFIX to installed program names
572 --program-suffix=SUFFIX append SUFFIX to installed program names
573 --program-transform-name=PROGRAM
574 run sed PROGRAM on installed program names
578 --build=BUILD configure for building on BUILD [BUILD=HOST]
579 --host=HOST configure for HOST [guessed]
580 --target=TARGET configure for TARGET [TARGET=HOST]
581 Features and packages:
582 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
583 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
584 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
585 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
586 --x-includes=DIR X include files are in DIR
587 --x-libraries=DIR X library files are in DIR
589 if test -n "$ac_help"; then
590 echo "--enable and --with options recognized:$ac_help"
594 -host | --host | --hos | --ho)
596 -host=* | --host=* | --hos=* | --ho=*)
599 -includedir | --includedir | --includedi | --included | --include \
600 | --includ | --inclu | --incl | --inc)
601 ac_prev
=includedir
;;
602 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
603 | --includ=* | --inclu=* | --incl=* | --inc=*)
604 includedir
="$ac_optarg" ;;
606 -infodir | --infodir | --infodi | --infod | --info | --inf)
608 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
609 infodir
="$ac_optarg" ;;
611 -libdir | --libdir | --libdi | --libd)
613 -libdir=* | --libdir=* | --libdi=* | --libd=*)
614 libdir
="$ac_optarg" ;;
616 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
617 | --libexe | --libex | --libe)
618 ac_prev
=libexecdir
;;
619 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
620 | --libexe=* | --libex=* | --libe=*)
621 libexecdir
="$ac_optarg" ;;
623 -localstatedir | --localstatedir | --localstatedi | --localstated \
624 | --localstate | --localstat | --localsta | --localst \
625 | --locals | --local | --loca | --loc | --lo)
626 ac_prev
=localstatedir
;;
627 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
628 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
629 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
630 localstatedir
="$ac_optarg" ;;
632 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
634 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
635 mandir
="$ac_optarg" ;;
638 # Obsolete; use --without-fp.
641 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
645 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
646 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
649 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
650 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
651 | --oldin | --oldi | --old | --ol | --o)
652 ac_prev
=oldincludedir
;;
653 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
654 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
655 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
656 oldincludedir
="$ac_optarg" ;;
658 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
660 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
661 prefix
="$ac_optarg" ;;
663 -program-prefix | --program-prefix | --program-prefi | --program-pref \
664 | --program-pre | --program-pr | --program-p)
665 ac_prev
=program_prefix
;;
666 -program-prefix=* | --program-prefix=* | --program-prefi=* \
667 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
668 program_prefix
="$ac_optarg" ;;
670 -program-suffix | --program-suffix | --program-suffi | --program-suff \
671 | --program-suf | --program-su | --program-s)
672 ac_prev
=program_suffix
;;
673 -program-suffix=* | --program-suffix=* | --program-suffi=* \
674 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
675 program_suffix
="$ac_optarg" ;;
677 -program-transform-name | --program-transform-name \
678 | --program-transform-nam | --program-transform-na \
679 | --program-transform-n | --program-transform- \
680 | --program-transform | --program-transfor \
681 | --program-transfo | --program-transf \
682 | --program-trans | --program-tran \
683 | --progr-tra | --program-tr | --program-t)
684 ac_prev
=program_transform_name
;;
685 -program-transform-name=* | --program-transform-name=* \
686 | --program-transform-nam=* | --program-transform-na=* \
687 | --program-transform-n=* | --program-transform-=* \
688 | --program-transform=* | --program-transfor=* \
689 | --program-transfo=* | --program-transf=* \
690 | --program-trans=* | --program-tran=* \
691 | --progr-tra=* | --program-tr=* | --program-t=*)
692 program_transform_name
="$ac_optarg" ;;
694 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
695 | -silent | --silent | --silen | --sile | --sil)
698 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
700 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
702 sbindir
="$ac_optarg" ;;
704 -sharedstatedir | --sharedstatedir | --sharedstatedi \
705 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
706 | --sharedst | --shareds | --shared | --share | --shar \
708 ac_prev
=sharedstatedir
;;
709 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
710 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
711 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
713 sharedstatedir
="$ac_optarg" ;;
715 -site | --site | --sit)
717 -site=* | --site=* | --sit=*)
720 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
722 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
723 srcdir
="$ac_optarg" ;;
725 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
726 | --syscon | --sysco | --sysc | --sys | --sy)
727 ac_prev
=sysconfdir
;;
728 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
729 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
730 sysconfdir
="$ac_optarg" ;;
732 -target | --target | --targe | --targ | --tar | --ta | --t)
734 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
735 target
="$ac_optarg" ;;
737 -v | -verbose | --verbose | --verbos | --verbo | --verb)
740 -version | --version | --versio | --versi | --vers)
741 echo "configure generated by autoconf version 2.13"
745 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
746 # Reject names that are not valid shell variable names.
747 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
748 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
750 ac_package
=`echo $ac_package| sed 's/-/_/g'`
755 eval "with_${ac_package}='$ac_optarg'" ;;
757 -without-* | --without-*)
758 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
759 # Reject names that are not valid shell variable names.
760 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
761 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
763 ac_package
=`echo $ac_package| sed 's/-/_/g'`
764 eval "with_${ac_package}=no" ;;
767 # Obsolete; use --with-x.
770 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
771 | --x-incl | --x-inc | --x-in | --x-i)
772 ac_prev
=x_includes
;;
773 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
774 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
775 x_includes
="$ac_optarg" ;;
777 -x-libraries | --x-libraries | --x-librarie | --x-librari \
778 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
779 ac_prev
=x_libraries
;;
780 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
781 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
782 x_libraries
="$ac_optarg" ;;
784 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
788 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
789 echo "configure: warning: $ac_option: invalid host type" 1>&2
791 if test "x$nonopt" != xNONE
; then
792 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
800 if test -n "$ac_prev"; then
801 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
804 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
806 # File descriptor usage:
809 # 2 errors and warnings
810 # 3 some systems may open it to /dev/tty
811 # 4 used on the Kubota Titan
812 # 6 checking for... messages and results
813 # 5 compiler messages saved in config.log
814 if test "$silent" = yes; then
822 This file contains any messages produced by compilers while
823 running configure, to aid debugging if configure makes a mistake.
826 # Strip out --no-create and --no-recursion so they do not pile up.
827 # Also quote any args containing shell metacharacters.
832 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
833 | --no-cr | --no-c) ;;
834 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
835 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
836 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
837 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
838 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
843 # Only set these to C if already set. These must not be set unconditionally
844 # because not all systems understand e.g. LANG=C (notably SCO).
845 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
846 # Non-C LC_CTYPE values break the ctype check.
847 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
848 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
849 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
850 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
852 # confdefs.h avoids OS command line length limits that DEFS can exceed.
853 rm -rf conftest
* confdefs.h
854 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
857 # A filename unique to this package, relative to the directory that
858 # configure is in, which we can look for to find out if srcdir is correct.
859 ac_unique_file
=wx
-config.
in
861 # Find the source files, if location was not specified.
862 if test -z "$srcdir"; then
863 ac_srcdir_defaulted
=yes
864 # Try the directory containing this script, then its parent.
866 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
867 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
869 if test ! -r $srcdir/$ac_unique_file; then
873 ac_srcdir_defaulted
=no
875 if test ! -r $srcdir/$ac_unique_file; then
876 if test "$ac_srcdir_defaulted" = yes; then
877 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
879 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
882 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
884 # Prefer explicitly selected file to automatically selected ones.
885 if test -z "$CONFIG_SITE"; then
886 if test "x$prefix" != xNONE
; then
887 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
889 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
892 for ac_site_file
in $CONFIG_SITE; do
893 if test -r "$ac_site_file"; then
894 echo "loading site script $ac_site_file"
899 if test -r "$cache_file"; then
900 echo "loading cache $cache_file"
903 echo "creating cache $cache_file"
908 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
909 ac_cpp
='$CPP $CPPFLAGS'
910 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
911 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
912 cross_compiling
=$ac_cv_prog_cc_cross
916 if (echo "testing\c"; echo 1,2,3) | grep c
>/dev
/null
; then
917 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
918 if (echo -n testing
; echo 1,2,3) | sed s
/-n/xn
/ | grep xn
>/dev
/null
; then
925 ac_n
= ac_c
='\c' ac_t
=
931 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
932 if test -f $ac_dir/install-sh; then
934 ac_install_sh
="$ac_aux_dir/install-sh -c"
936 elif test -f $ac_dir/install.sh
; then
938 ac_install_sh
="$ac_aux_dir/install.sh -c"
942 if test -z "$ac_aux_dir"; then
943 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
945 ac_config_guess
=$ac_aux_dir/config.guess
946 ac_config_sub
=$ac_aux_dir/config.sub
947 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
950 # Do some error checking and defaulting for the host and target type.
952 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
955 # 1. You are not allowed to specify --host, --target, and nonopt at the
957 # 2. Host defaults to nonopt.
958 # 3. If nonopt is not specified, then host defaults to the current host,
959 # as determined by config.guess.
960 # 4. Target and build default to nonopt.
961 # 5. If nonopt is not specified, then target and build default to host.
963 # The aliases save the names the user supplied, while $host etc.
964 # will get canonicalized.
965 case $host---$target---$nonopt in
966 NONE
---*---* | *---NONE---* | *---*---NONE) ;;
967 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
971 # Make sure we can run config.sub.
972 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
973 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
976 echo $ac_n "checking host system type""... $ac_c" 1>&6
977 echo "configure:978: checking host system type" >&5
980 case "$host_alias" in
984 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
985 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
987 *) host_alias
=$nonopt ;;
991 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
992 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
993 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
994 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
995 echo "$ac_t""$host" 1>&6
997 echo $ac_n "checking target system type""... $ac_c" 1>&6
998 echo "configure:999: checking target system type" >&5
1000 target_alias
=$target
1001 case "$target_alias" in
1004 NONE
) target_alias
=$host_alias ;;
1005 *) target_alias
=$nonopt ;;
1009 target
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
1010 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1011 target_vendor
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1012 target_os
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1013 echo "$ac_t""$target" 1>&6
1015 echo $ac_n "checking build system type""... $ac_c" 1>&6
1016 echo "configure:1017: checking build system type" >&5
1019 case "$build_alias" in
1022 NONE
) build_alias
=$host_alias ;;
1023 *) build_alias
=$nonopt ;;
1027 build
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
1028 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1029 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1030 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1031 echo "$ac_t""$build" 1>&6
1033 test "$host_alias" != "$target_alias" &&
1034 test "$program_prefix$program_suffix$program_transform_name" = \
1036 program_prefix
=${target_alias}-
1040 WX_MAJOR_VERSION_NUMBER
=2
1041 WX_MINOR_VERSION_NUMBER
=3
1044 WX_VERSION
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER.
$WX_RELEASE_NUMBER
1045 WX_RELEASE
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER
1047 WX_MSW_VERSION
=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1081 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1083 CPP_MT_FLAG
=-D_REENTRANT
1085 ALL_TOOLKITS
="GTK MAC MGL MICROWIN MOTIF MSW PM WINE"
1090 DEFAULT_wxUSE_MICROWIN
=0
1091 DEFAULT_wxUSE_MOTIF
=0
1094 DEFAULT_wxUSE_WINE
=0
1096 DEFAULT_DEFAULT_wxUSE_GTK
=0
1097 DEFAULT_DEFAULT_wxUSE_MAC
=0
1098 DEFAULT_DEFAULT_wxUSE_MGL
=0
1099 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
1100 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1101 DEFAULT_DEFAULT_wxUSE_MSW
=0
1102 DEFAULT_DEFAULT_wxUSE_PM
=0
1103 DEFAULT_DEFAULT_wxUSE_WINE
=0
1111 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1112 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1114 cat >> confdefs.h
<<\EOF
1121 cat >> confdefs.h
<<\EOF
1126 if test "x$TMP" = "xalpha"; then
1128 cat >> confdefs.h
<<\EOF
1133 DEFAULT_DEFAULT_wxUSE_GTK
=1
1135 *-*-irix5* | *-*-irix6* )
1138 cat >> confdefs.h
<<\EOF
1142 cat >> confdefs.h
<<\EOF
1146 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1152 cat >> confdefs.h
<<\EOF
1156 cat >> confdefs.h
<<\EOF
1157 #define __SOLARIS__ 1
1160 cat >> confdefs.h
<<\EOF
1164 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1165 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1171 cat >> confdefs.h
<<\EOF
1175 cat >> confdefs.h
<<\EOF
1179 cat >> confdefs.h
<<\EOF
1183 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1188 CPP_MT_FLAG
=-D_THREAD_SAFE
1189 cat >> confdefs.h
<<\EOF
1190 #define __FREEBSD__ 1
1193 cat >> confdefs.h
<<\EOF
1197 DEFAULT_DEFAULT_wxUSE_GTK
=1
1202 cat >> confdefs.h
<<\EOF
1203 #define __FREEBSD__ 1
1206 cat >> confdefs.h
<<\EOF
1207 #define __OPENBSD__ 1
1210 DEFAULT_DEFAULT_wxUSE_GTK
=1
1215 cat >> confdefs.h
<<\EOF
1216 #define __FREEBSD__ 1
1219 cat >> confdefs.h
<<\EOF
1220 #define __NETBSD__ 1
1223 DEFAULT_DEFAULT_wxUSE_GTK
=1
1228 cat >> confdefs.h
<<\EOF
1232 cat >> confdefs.h
<<\EOF
1236 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1237 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1242 cat >> confdefs.h
<<\EOF
1246 cat >> confdefs.h
<<\EOF
1250 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1255 cat >> confdefs.h
<<\EOF
1259 cat >> confdefs.h
<<\EOF
1263 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1269 cat >> confdefs.h
<<\EOF
1273 cat >> confdefs.h
<<\EOF
1277 cat >> confdefs.h
<<\EOF
1281 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1284 *-*-cygwin* | *-*-mingw32* )
1288 cat >> confdefs.h
<<\EOF
1292 cat >> confdefs.h
<<\EOF
1296 cat >> confdefs.h
<<\EOF
1297 #define __WINDOWS__ 1
1300 cat >> confdefs.h
<<\EOF
1301 #define __GNUWIN32__ 1
1304 cat >> confdefs.h
<<\EOF
1308 cat >> confdefs.h
<<\EOF
1309 #define WINVER 0x0400
1314 DEFAULT_DEFAULT_wxUSE_MSW
=1
1320 cat >> confdefs.h
<<\EOF
1325 DEFAULT_DEFAULT_wxUSE_MGL
=1
1326 DEFAULT_DEFAULT_wxUSE_SHARED
=0
1329 *-pc-os2_emx | *-pc-os2-emx )
1330 cat >> confdefs.h
<<\EOF
1335 DEFAULT_DEFAULT_wxUSE_PM
=1
1343 cat >> confdefs.h
<<\EOF
1347 cat >> confdefs.h
<<\EOF
1348 #define __DARWIN__ 1
1351 cat >> confdefs.h
<<\EOF
1352 #define __POWERPC__ 1
1355 DEFAULT_DEFAULT_wxUSE_MAC
=1
1360 cat >> confdefs.h
<<\EOF
1367 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
1370 if test "$USE_UNIX" = 1 ; then
1372 cat >> confdefs.h
<<\EOF
1378 if test "$USE_LINUX" = 1; then
1379 echo $ac_n "checking for glibc 2.1 or later""... $ac_c" 1>&6
1380 echo "configure:1381: checking for glibc 2.1 or later" >&5
1381 if eval "test \"`echo '$''{'wx_lib_glibc21'+set}'`\" = set"; then
1382 echo $ac_n "(cached) $ac_c" 1>&6
1385 cat > conftest.
$ac_ext <<EOF
1386 #line 1387 "configure"
1387 #include "confdefs.h"
1388 #include <features.h>
1391 #if !__GLIBC_PREREQ(2, 1)
1397 if { (eval echo configure
:1398: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1403 echo "configure: failed program was:" >&5
1404 cat conftest.
$ac_ext >&5
1415 echo "$ac_t""$wx_lib_glibc21" 1>&6
1416 if test "$wx_lib_glibc21" = "yes"; then
1417 cat >> confdefs.h
<<\EOF
1418 #define wxHAVE_GLIBC2 1
1427 wx_arg_cache_file
="configarg.cache"
1428 echo "loading argument cache $wx_arg_cache_file"
1429 rm -f ${wx_arg_cache_file}.tmp
1430 touch ${wx_arg_cache_file}.tmp
1431 touch ${wx_arg_cache_file}
1435 if test $DEBUG_CONFIGURE = 1; then
1436 DEFAULT_wxUSE_UNIVERSAL
=no
1438 DEFAULT_wxUSE_THREADS
=yes
1440 DEFAULT_wxUSE_SHARED
=yes
1441 DEFAULT_wxUSE_SONAME
=no
1442 DEFAULT_wxUSE_OPTIMISE
=no
1443 DEFAULT_wxUSE_PROFILE
=no
1444 DEFAULT_wxUSE_NO_DEPS
=no
1445 DEFAULT_wxUSE_NO_RTTI
=yes
1446 DEFAULT_wxUSE_NO_EXCEPTIONS
=yes
1447 DEFAULT_wxUSE_PERMISSIVE
=no
1448 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1449 DEFAULT_wxUSE_DEBUG_INFO
=yes
1450 DEFAULT_wxUSE_DEBUG_GDB
=yes
1451 DEFAULT_wxUSE_MEM_TRACING
=no
1452 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1453 DEFAULT_wxUSE_DMALLOC
=no
1454 DEFAULT_wxUSE_PRECOMP
=no
1455 DEFAULT_wxUSE_APPLE_IEEE
=no
1457 DEFAULT_wxUSE_LOG
=yes
1458 DEFAULT_wxUSE_LOGWINDOW
=no
1459 DEFAULT_wxUSE_LOGGUI
=no
1460 DEFAULT_wxUSE_LOGDIALOG
=no
1462 DEFAULT_wxUSE_GUI
=yes
1463 DEFAULT_wxUSE_CONTROLS
=no
1465 DEFAULT_wxUSE_REGEX
=no
1466 DEFAULT_wxUSE_ZLIB
=no
1467 DEFAULT_wxUSE_LIBPNG
=no
1468 DEFAULT_wxUSE_LIBJPEG
=no
1469 DEFAULT_wxUSE_LIBTIFF
=no
1470 DEFAULT_wxUSE_ODBC
=no
1471 DEFAULT_wxUSE_FREETYPE
=no
1472 DEFAULT_wxUSE_OPENGL
=no
1474 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
1475 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
1476 DEFAULT_wxUSE_STD_IOSTREAM
=no
1477 DEFAULT_wxUSE_CMDLINE_PARSER
=no
1478 DEFAULT_wxUSE_DATETIME
=no
1479 DEFAULT_wxUSE_TIMEDATE
=no
1480 DEFAULT_wxUSE_TIMER
=no
1481 DEFAULT_wxUSE_STOPWATCH
=no
1482 DEFAULT_wxUSE_FILE
=no
1483 DEFAULT_wxUSE_FFILE
=no
1484 DEFAULT_wxUSE_TEXTBUFFER
=no
1485 DEFAULT_wxUSE_TEXTFILE
=no
1486 DEFAULT_wxUSE_WAVE
=no
1487 DEFAULT_wxUSE_INTL
=no
1488 DEFAULT_wxUSE_CONFIG
=no
1489 DEFAULT_wxUSE_FONTMAP
=no
1490 DEFAULT_wxUSE_STREAMS
=no
1491 DEFAULT_wxUSE_SOCKETS
=no
1492 DEFAULT_wxUSE_DIALUP_MANAGER
=no
1493 DEFAULT_wxUSE_JOYSTICK
=no
1494 DEFAULT_wxUSE_DYNLIB_CLASS
=no
1495 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
1496 DEFAULT_wxUSE_LONGLONG
=no
1497 DEFAULT_wxUSE_GEOMETRY
=no
1499 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
1500 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
1501 DEFAULT_wxUSE_POSTSCRIPT
=no
1503 DEFAULT_wxUSE_X_RESOURCES
=no
1504 DEFAULT_wxUSE_CLIPBOARD
=no
1505 DEFAULT_wxUSE_TOOLTIPS
=no
1506 DEFAULT_wxUSE_DRAG_AND_DROP
=no
1507 DEFAULT_wxUSE_DRAGIMAGE
=no
1508 DEFAULT_wxUSE_SPLINES
=no
1510 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
1511 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
1512 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
1514 DEFAULT_wxUSE_PROLOGIO
=no
1515 DEFAULT_wxUSE_RESOURCES
=no
1516 DEFAULT_wxUSE_CONSTRAINTS
=no
1517 DEFAULT_wxUSE_IPC
=no
1518 DEFAULT_wxUSE_HELP
=no
1519 DEFAULT_wxUSE_MS_HTML_HELP
=no
1520 DEFAULT_wxUSE_WXHTML_HELP
=no
1521 DEFAULT_wxUSE_TREELAYOUT
=no
1522 DEFAULT_wxUSE_METAFILE
=no
1523 DEFAULT_wxUSE_MIMETYPE
=no
1524 DEFAULT_wxUSE_SYSTEM_OPTIONS
=no
1525 DEFAULT_wxUSE_PROTOCOL
=no
1526 DEFAULT_wxUSE_PROTOCOL_HTTP
=no
1527 DEFAULT_wxUSE_PROTOCOL_FTP
=no
1528 DEFAULT_wxUSE_PROTOCOL_FILE
=no
1529 DEFAULT_wxUSE_URL
=no
1531 DEFAULT_wxUSE_COMMONDLGS
=no
1532 DEFAULT_wxUSE_CHOICEDLG
=no
1533 DEFAULT_wxUSE_COLOURDLG
=no
1534 DEFAULT_wxUSE_DIRDLG
=no
1535 DEFAULT_wxUSE_FILEDLG
=no
1536 DEFAULT_wxUSE_FINDREPLDLG
=no
1537 DEFAULT_wxUSE_FONTDLG
=no
1538 DEFAULT_wxUSE_MSGDLG
=no
1539 DEFAULT_wxUSE_NUMBERDLG
=no
1540 DEFAULT_wxUSE_TEXTDLG
=no
1541 DEFAULT_wxUSE_SPLASH
=no
1542 DEFAULT_wxUSE_STARTUP_TIPS
=no
1543 DEFAULT_wxUSE_PROGRESSDLG
=no
1544 DEFAULT_wxUSE_WIZARDDLG
=no
1546 DEFAULT_wxUSE_MENUS
=no
1547 DEFAULT_wxUSE_MINIFRAME
=no
1548 DEFAULT_wxUSE_HTML
=no
1549 DEFAULT_wxUSE_FILESYSTEM
=no
1550 DEFAULT_wxUSE_FS_INET
=no
1551 DEFAULT_wxUSE_FS_ZIP
=no
1552 DEFAULT_wxUSE_BUSYINFO
=no
1553 DEFAULT_wxUSE_ZIPSTREAM
=no
1554 DEFAULT_wxUSE_VALIDATORS
=no
1556 DEFAULT_wxUSE_ACCEL
=no
1557 DEFAULT_wxUSE_BUTTON
=no
1558 DEFAULT_wxUSE_BMPBUTTON
=no
1559 DEFAULT_wxUSE_CALCTRL
=no
1560 DEFAULT_wxUSE_CARET
=no
1561 DEFAULT_wxUSE_CHECKBOX
=no
1562 DEFAULT_wxUSE_CHECKLST
=no
1563 DEFAULT_wxUSE_CHOICE
=no
1564 DEFAULT_wxUSE_COMBOBOX
=no
1565 DEFAULT_wxUSE_GAUGE
=no
1566 DEFAULT_wxUSE_GRID
=no
1567 DEFAULT_wxUSE_NEW_GRID
=no
1568 DEFAULT_wxUSE_IMAGLIST
=no
1569 DEFAULT_wxUSE_LISTBOX
=no
1570 DEFAULT_wxUSE_LISTCTRL
=no
1571 DEFAULT_wxUSE_NOTEBOOK
=no
1572 DEFAULT_wxUSE_PROPSHEET
=no
1573 DEFAULT_wxUSE_RADIOBOX
=no
1574 DEFAULT_wxUSE_RADIOBTN
=no
1575 DEFAULT_wxUSE_SASH
=no
1576 DEFAULT_wxUSE_SCROLLBAR
=no
1577 DEFAULT_wxUSE_SLIDER
=no
1578 DEFAULT_wxUSE_SPINBTN
=no
1579 DEFAULT_wxUSE_SPINCTRL
=no
1580 DEFAULT_wxUSE_SPLITTER
=no
1581 DEFAULT_wxUSE_STATBMP
=no
1582 DEFAULT_wxUSE_STATBOX
=no
1583 DEFAULT_wxUSE_STATLINE
=no
1584 DEFAULT_wxUSE_STATTEXT
=no
1585 DEFAULT_wxUSE_STATUSBAR
=yes
1586 DEFAULT_wxUSE_TABDIALOG
=no
1587 DEFAULT_wxUSE_TEXTCTRL
=no
1588 DEFAULT_wxUSE_TOGGLEBTN
=no
1589 DEFAULT_wxUSE_TOOLBAR
=no
1590 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
1591 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
1592 DEFAULT_wxUSE_TREECTRL
=no
1593 DEFAULT_wxUSE_POPUPWIN
=no
1594 DEFAULT_wxUSE_TIPWINDOW
=no
1596 DEFAULT_wxUSE_UNICODE
=no
1597 DEFAULT_wxUSE_UNICODE_MSLU
=no
1598 DEFAULT_wxUSE_WCSRTOMBS
=no
1600 DEFAULT_wxUSE_PALETTE
=no
1601 DEFAULT_wxUSE_IMAGE
=no
1602 DEFAULT_wxUSE_GIF
=no
1603 DEFAULT_wxUSE_PCX
=no
1604 DEFAULT_wxUSE_PNM
=no
1605 DEFAULT_wxUSE_XPM
=no
1606 DEFAULT_wxUSE_ICO_CUR
=no
1608 DEFAULT_wxUSE_UNIVERSAL
=no
1610 DEFAULT_wxUSE_THREADS
=yes
1612 DEFAULT_wxUSE_SHARED
=yes
1613 DEFAULT_wxUSE_SONAME
=no
1614 DEFAULT_wxUSE_OPTIMISE
=yes
1615 DEFAULT_wxUSE_PROFILE
=no
1616 DEFAULT_wxUSE_NO_DEPS
=no
1617 DEFAULT_wxUSE_NO_RTTI
=yes
1618 DEFAULT_wxUSE_NO_EXCEPTIONS
=yes
1619 DEFAULT_wxUSE_PERMISSIVE
=no
1620 DEFAULT_wxUSE_DEBUG_FLAG
=no
1621 DEFAULT_wxUSE_DEBUG_INFO
=no
1622 DEFAULT_wxUSE_DEBUG_GDB
=no
1623 DEFAULT_wxUSE_MEM_TRACING
=no
1624 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1625 DEFAULT_wxUSE_DMALLOC
=no
1626 DEFAULT_wxUSE_PRECOMP
=no
1627 DEFAULT_wxUSE_APPLE_IEEE
=yes
1629 DEFAULT_wxUSE_LOG
=yes
1630 DEFAULT_wxUSE_LOGWINDOW
=yes
1631 DEFAULT_wxUSE_LOGGUI
=yes
1632 DEFAULT_wxUSE_LOGDIALOG
=yes
1634 DEFAULT_wxUSE_GUI
=yes
1636 DEFAULT_wxUSE_REGEX
=yes
1637 DEFAULT_wxUSE_ZLIB
=yes
1638 DEFAULT_wxUSE_LIBPNG
=yes
1639 DEFAULT_wxUSE_LIBJPEG
=yes
1640 DEFAULT_wxUSE_LIBTIFF
=yes
1641 DEFAULT_wxUSE_ODBC
=no
1642 DEFAULT_wxUSE_FREETYPE
=no
1643 DEFAULT_wxUSE_OPENGL
=no
1645 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
1646 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
1647 DEFAULT_wxUSE_STD_IOSTREAM
=no
1648 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
1649 DEFAULT_wxUSE_DATETIME
=yes
1650 DEFAULT_wxUSE_TIMEDATE
=no
1651 DEFAULT_wxUSE_TIMER
=yes
1652 DEFAULT_wxUSE_STOPWATCH
=yes
1653 DEFAULT_wxUSE_FILE
=yes
1654 DEFAULT_wxUSE_FFILE
=yes
1655 DEFAULT_wxUSE_TEXTBUFFER
=yes
1656 DEFAULT_wxUSE_TEXTFILE
=yes
1657 DEFAULT_wxUSE_WAVE
=no
1658 DEFAULT_wxUSE_INTL
=yes
1659 DEFAULT_wxUSE_CONFIG
=yes
1660 DEFAULT_wxUSE_FONTMAP
=yes
1661 DEFAULT_wxUSE_STREAMS
=yes
1662 DEFAULT_wxUSE_SOCKETS
=yes
1663 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
1664 DEFAULT_wxUSE_JOYSTICK
=yes
1665 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
1666 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
1667 DEFAULT_wxUSE_LONGLONG
=yes
1668 DEFAULT_wxUSE_GEOMETRY
=yes
1670 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
1671 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
1672 DEFAULT_wxUSE_POSTSCRIPT
=yes
1674 DEFAULT_wxUSE_X_RESOURCES
=no
1675 DEFAULT_wxUSE_CLIPBOARD
=yes
1676 DEFAULT_wxUSE_TOOLTIPS
=yes
1677 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
1678 DEFAULT_wxUSE_DRAGIMAGE
=yes
1679 DEFAULT_wxUSE_SPLINES
=yes
1681 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
1682 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
1683 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
1685 DEFAULT_wxUSE_PROLOGIO
=yes
1686 DEFAULT_wxUSE_RESOURCES
=yes
1687 DEFAULT_wxUSE_CONSTRAINTS
=yes
1688 DEFAULT_wxUSE_IPC
=yes
1689 DEFAULT_wxUSE_HELP
=yes
1690 DEFAULT_wxUSE_MS_HTML_HELP
=yes
1691 DEFAULT_wxUSE_WXHTML_HELP
=yes
1692 DEFAULT_wxUSE_TREELAYOUT
=yes
1693 DEFAULT_wxUSE_METAFILE
=yes
1694 DEFAULT_wxUSE_MIMETYPE
=yes
1695 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
1696 DEFAULT_wxUSE_PROTOCOL
=yes
1697 DEFAULT_wxUSE_PROTOCOL_HTTP
=yes
1698 DEFAULT_wxUSE_PROTOCOL_FTP
=yes
1699 DEFAULT_wxUSE_PROTOCOL_FILE
=yes
1700 DEFAULT_wxUSE_URL
=yes
1702 DEFAULT_wxUSE_COMMONDLGS
=yes
1703 DEFAULT_wxUSE_CHOICEDLG
=yes
1704 DEFAULT_wxUSE_COLOURDLG
=yes
1705 DEFAULT_wxUSE_DIRDLG
=yes
1706 DEFAULT_wxUSE_FILEDLG
=yes
1707 DEFAULT_wxUSE_FINDREPLDLG
=yes
1708 DEFAULT_wxUSE_FONTDLG
=yes
1709 DEFAULT_wxUSE_MSGDLG
=yes
1710 DEFAULT_wxUSE_NUMBERDLG
=yes
1711 DEFAULT_wxUSE_TEXTDLG
=yes
1712 DEFAULT_wxUSE_SPLASH
=yes
1713 DEFAULT_wxUSE_STARTUP_TIPS
=yes
1714 DEFAULT_wxUSE_PROGRESSDLG
=yes
1715 DEFAULT_wxUSE_WIZARDDLG
=yes
1717 DEFAULT_wxUSE_MENUS
=yes
1718 DEFAULT_wxUSE_MINIFRAME
=yes
1719 DEFAULT_wxUSE_HTML
=yes
1720 DEFAULT_wxUSE_FILESYSTEM
=yes
1721 DEFAULT_wxUSE_FS_INET
=yes
1722 DEFAULT_wxUSE_FS_ZIP
=yes
1723 DEFAULT_wxUSE_BUSYINFO
=yes
1724 DEFAULT_wxUSE_ZIPSTREAM
=yes
1725 DEFAULT_wxUSE_VALIDATORS
=yes
1727 DEFAULT_wxUSE_ACCEL
=yes
1728 DEFAULT_wxUSE_BUTTON
=yes
1729 DEFAULT_wxUSE_BMPBUTTON
=yes
1730 DEFAULT_wxUSE_CALCTRL
=yes
1731 DEFAULT_wxUSE_CARET
=yes
1732 DEFAULT_wxUSE_CHECKBOX
=yes
1733 DEFAULT_wxUSE_CHECKLST
=yes
1734 DEFAULT_wxUSE_CHOICE
=yes
1735 DEFAULT_wxUSE_COMBOBOX
=yes
1736 DEFAULT_wxUSE_GAUGE
=yes
1737 DEFAULT_wxUSE_GRID
=yes
1738 DEFAULT_wxUSE_NEW_GRID
=yes
1739 DEFAULT_wxUSE_IMAGLIST
=yes
1740 DEFAULT_wxUSE_LISTBOX
=yes
1741 DEFAULT_wxUSE_LISTCTRL
=yes
1742 DEFAULT_wxUSE_NOTEBOOK
=yes
1743 DEFAULT_wxUSE_PROPSHEET
=yes
1744 DEFAULT_wxUSE_RADIOBOX
=yes
1745 DEFAULT_wxUSE_RADIOBTN
=yes
1746 DEFAULT_wxUSE_SASH
=yes
1747 DEFAULT_wxUSE_SCROLLBAR
=yes
1748 DEFAULT_wxUSE_SLIDER
=yes
1749 DEFAULT_wxUSE_SPINBTN
=yes
1750 DEFAULT_wxUSE_SPINCTRL
=yes
1751 DEFAULT_wxUSE_SPLITTER
=yes
1752 DEFAULT_wxUSE_STATBMP
=yes
1753 DEFAULT_wxUSE_STATBOX
=yes
1754 DEFAULT_wxUSE_STATLINE
=yes
1755 DEFAULT_wxUSE_STATTEXT
=yes
1756 DEFAULT_wxUSE_STATUSBAR
=yes
1757 DEFAULT_wxUSE_TABDIALOG
=no
1758 DEFAULT_wxUSE_TEXTCTRL
=yes
1759 DEFAULT_wxUSE_TOGGLEBTN
=yes
1760 DEFAULT_wxUSE_TOOLBAR
=yes
1761 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
1762 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
1763 DEFAULT_wxUSE_TREECTRL
=yes
1764 DEFAULT_wxUSE_POPUPWIN
=yes
1765 DEFAULT_wxUSE_TIPWINDOW
=yes
1767 DEFAULT_wxUSE_UNICODE
=no
1768 DEFAULT_wxUSE_UNICODE_MSLU
=yes
1769 DEFAULT_wxUSE_WCSRTOMBS
=no
1771 DEFAULT_wxUSE_PALETTE
=yes
1772 DEFAULT_wxUSE_IMAGE
=yes
1773 DEFAULT_wxUSE_GIF
=yes
1774 DEFAULT_wxUSE_PCX
=yes
1775 DEFAULT_wxUSE_PNM
=yes
1776 DEFAULT_wxUSE_XPM
=yes
1777 DEFAULT_wxUSE_ICO_CUR
=yes
1782 for toolkit
in `echo $ALL_TOOLKITS`; do
1783 LINE
=`grep "wxUSE_$toolkit" ${wx_arg_cache_file}`
1784 if test "x$LINE" != x
; then
1785 has_toolkit_in_cache
=1
1786 eval "DEFAULT_$LINE"
1787 eval "CACHE_$toolkit=1"
1793 echo $ac_n "checking for --enable-gui""... $ac_c" 1>&6
1794 echo "configure:1795: checking for --enable-gui" >&5
1796 # Check whether --enable-gui or --disable-gui was given.
1797 if test "${enable_gui+set}" = set; then
1798 enableval
="$enable_gui"
1800 if test "$enableval" = yes; then
1801 ac_cv_use_gui
='wxUSE_GUI=yes'
1803 ac_cv_use_gui
='wxUSE_GUI=no'
1808 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
1809 if test "x$LINE" != x
; then
1810 eval "DEFAULT_$LINE"
1815 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
1820 eval "$ac_cv_use_gui"
1821 if test "$no_cache" != 1; then
1822 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
1825 if test "$wxUSE_GUI" = yes; then
1826 echo "$ac_t""yes" 1>&6
1828 echo "$ac_t""no" 1>&6
1832 if test "$wxUSE_GUI" = "yes"; then
1835 echo $ac_n "checking for --enable-universal""... $ac_c" 1>&6
1836 echo "configure:1837: checking for --enable-universal" >&5
1838 # Check whether --enable-universal or --disable-universal was given.
1839 if test "${enable_universal+set}" = set; then
1840 enableval
="$enable_universal"
1842 if test "$enableval" = yes; then
1843 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
1845 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
1850 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
1851 if test "x$LINE" != x
; then
1852 eval "DEFAULT_$LINE"
1857 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
1862 eval "$ac_cv_use_universal"
1863 if test "$no_cache" != 1; then
1864 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
1867 if test "$wxUSE_UNIVERSAL" = yes; then
1868 echo "$ac_t""yes" 1>&6
1870 echo "$ac_t""no" 1>&6
1873 # Check whether --with-gtk or --without-gtk was given.
1874 if test "${with_gtk+set}" = set; then
1876 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
1879 # Check whether --with-motif or --without-motif was given.
1880 if test "${with_motif+set}" = set; then
1881 withval
="$with_motif"
1882 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
1885 # Check whether --with-mac or --without-mac was given.
1886 if test "${with_mac+set}" = set; then
1888 wxUSE_MAC
="$withval" TOOLKIT_GIVEN
=1
1891 # Check whether --with-wine or --without-wine was given.
1892 if test "${with_wine+set}" = set; then
1893 withval
="$with_wine"
1894 wxUSE_WINE
="$withval" CACHE_WINE
=1 TOOLKIT_GIVEN
=1
1897 # Check whether --with-msw or --without-msw was given.
1898 if test "${with_msw+set}" = set; then
1900 wxUSE_MSW
="$withval" CACHE_MSW TOOLKIT_GIVEN
=1
1903 # Check whether --with-pm or --without-pm was given.
1904 if test "${with_pm+set}" = set; then
1906 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
1909 # Check whether --with-mgl or --without-mgl was given.
1910 if test "${with_mgl+set}" = set; then
1912 wxUSE_MGL
="$withval" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
1915 # Check whether --with-microwin or --without-microwin was given.
1916 if test "${with_microwin+set}" = set; then
1917 withval
="$with_microwin"
1918 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
1922 # Check whether --enable-gtk2 or --disable-gtk2 was given.
1923 if test "${enable_gtk2+set}" = set; then
1924 enableval
="$enable_gtk2"
1932 echo $ac_n "checking for --with-libpng""... $ac_c" 1>&6
1933 echo "configure:1934: checking for --with-libpng" >&5
1935 # Check whether --with-libpng or --without-libpng was given.
1936 if test "${with_libpng+set}" = set; then
1937 withval
="$with_libpng"
1939 if test "$withval" = yes; then
1940 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
1941 elif test "$withval" = no
; then
1942 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
1943 elif test "$withval" = sys
; then
1944 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
1945 elif test "$withval" = builtin; then
1946 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
1948 { echo "configure: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" 1>&2; exit 1; }
1953 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
1954 if test "x$LINE" != x
; then
1955 eval "DEFAULT_$LINE"
1960 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
1965 eval "$ac_cv_use_libpng"
1966 if test "$no_cache" != 1; then
1967 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
1970 if test "$wxUSE_LIBPNG" = yes; then
1971 echo "$ac_t""yes" 1>&6
1972 elif test "$wxUSE_LIBPNG" = no
; then
1973 echo "$ac_t""no" 1>&6
1974 elif test "$wxUSE_LIBPNG" = sys
; then
1975 echo "$ac_t""system version" 1>&6
1976 elif test "$wxUSE_LIBPNG" = builtin; then
1977 echo "$ac_t""builtin version" 1>&6
1979 { echo "configure: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" 1>&2; exit 1; }
1983 echo $ac_n "checking for --with-libjpeg""... $ac_c" 1>&6
1984 echo "configure:1985: checking for --with-libjpeg" >&5
1986 # Check whether --with-libjpeg or --without-libjpeg was given.
1987 if test "${with_libjpeg+set}" = set; then
1988 withval
="$with_libjpeg"
1990 if test "$withval" = yes; then
1991 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
1992 elif test "$withval" = no
; then
1993 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
1994 elif test "$withval" = sys
; then
1995 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
1996 elif test "$withval" = builtin; then
1997 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
1999 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2004 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2005 if test "x$LINE" != x
; then
2006 eval "DEFAULT_$LINE"
2011 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2016 eval "$ac_cv_use_libjpeg"
2017 if test "$no_cache" != 1; then
2018 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2021 if test "$wxUSE_LIBJPEG" = yes; then
2022 echo "$ac_t""yes" 1>&6
2023 elif test "$wxUSE_LIBJPEG" = no
; then
2024 echo "$ac_t""no" 1>&6
2025 elif test "$wxUSE_LIBJPEG" = sys
; then
2026 echo "$ac_t""system version" 1>&6
2027 elif test "$wxUSE_LIBJPEG" = builtin; then
2028 echo "$ac_t""builtin version" 1>&6
2030 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2034 echo $ac_n "checking for --with-libtiff""... $ac_c" 1>&6
2035 echo "configure:2036: checking for --with-libtiff" >&5
2037 # Check whether --with-libtiff or --without-libtiff was given.
2038 if test "${with_libtiff+set}" = set; then
2039 withval
="$with_libtiff"
2041 if test "$withval" = yes; then
2042 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
2043 elif test "$withval" = no
; then
2044 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
2045 elif test "$withval" = sys
; then
2046 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
2047 elif test "$withval" = builtin; then
2048 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
2050 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2055 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2056 if test "x$LINE" != x
; then
2057 eval "DEFAULT_$LINE"
2062 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2067 eval "$ac_cv_use_libtiff"
2068 if test "$no_cache" != 1; then
2069 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2072 if test "$wxUSE_LIBTIFF" = yes; then
2073 echo "$ac_t""yes" 1>&6
2074 elif test "$wxUSE_LIBTIFF" = no
; then
2075 echo "$ac_t""no" 1>&6
2076 elif test "$wxUSE_LIBTIFF" = sys
; then
2077 echo "$ac_t""system version" 1>&6
2078 elif test "$wxUSE_LIBTIFF" = builtin; then
2079 echo "$ac_t""builtin version" 1>&6
2081 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2085 echo $ac_n "checking for --with-freetype""... $ac_c" 1>&6
2086 echo "configure:2087: checking for --with-freetype" >&5
2088 # Check whether --with-freetype or --without-freetype was given.
2089 if test "${with_freetype+set}" = set; then
2090 withval
="$with_freetype"
2092 if test "$withval" = yes; then
2093 ac_cv_use_freetype
='wxUSE_FREETYPE=yes'
2094 elif test "$withval" = no
; then
2095 ac_cv_use_freetype
='wxUSE_FREETYPE=no'
2096 elif test "$withval" = sys
; then
2097 ac_cv_use_freetype
='wxUSE_FREETYPE=sys'
2098 elif test "$withval" = builtin; then
2099 ac_cv_use_freetype
='wxUSE_FREETYPE=builtin'
2101 { echo "configure: error: Invalid value for --with-freetype: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2106 LINE
=`grep "wxUSE_FREETYPE" ${wx_arg_cache_file}`
2107 if test "x$LINE" != x
; then
2108 eval "DEFAULT_$LINE"
2113 ac_cv_use_freetype
='wxUSE_FREETYPE='$DEFAULT_wxUSE_FREETYPE
2118 eval "$ac_cv_use_freetype"
2119 if test "$no_cache" != 1; then
2120 echo $ac_cv_use_freetype >> ${wx_arg_cache_file}.tmp
2123 if test "$wxUSE_FREETYPE" = yes; then
2124 echo "$ac_t""yes" 1>&6
2125 elif test "$wxUSE_FREETYPE" = no
; then
2126 echo "$ac_t""no" 1>&6
2127 elif test "$wxUSE_FREETYPE" = sys
; then
2128 echo "$ac_t""system version" 1>&6
2129 elif test "$wxUSE_FREETYPE" = builtin; then
2130 echo "$ac_t""builtin version" 1>&6
2132 { echo "configure: error: Invalid value for --with-freetype: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2136 echo $ac_n "checking for --with-opengl""... $ac_c" 1>&6
2137 echo "configure:2138: checking for --with-opengl" >&5
2139 # Check whether --with-opengl or --without-opengl was given.
2140 if test "${with_opengl+set}" = set; then
2141 withval
="$with_opengl"
2143 if test "$withval" = yes; then
2144 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
2146 ac_cv_use_opengl
='wxUSE_OPENGL=no'
2151 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2152 if test "x$LINE" != x
; then
2153 eval "DEFAULT_$LINE"
2158 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
2163 eval "$ac_cv_use_opengl"
2164 if test "$no_cache" != 1; then
2165 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2168 if test "$wxUSE_OPENGL" = yes; then
2169 echo "$ac_t""yes" 1>&6
2171 echo "$ac_t""no" 1>&6
2178 echo $ac_n "checking for --with-dmalloc""... $ac_c" 1>&6
2179 echo "configure:2180: checking for --with-dmalloc" >&5
2181 # Check whether --with-dmalloc or --without-dmalloc was given.
2182 if test "${with_dmalloc+set}" = set; then
2183 withval
="$with_dmalloc"
2185 if test "$withval" = yes; then
2186 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
2188 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
2193 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2194 if test "x$LINE" != x
; then
2195 eval "DEFAULT_$LINE"
2200 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
2205 eval "$ac_cv_use_dmalloc"
2206 if test "$no_cache" != 1; then
2207 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2210 if test "$wxUSE_DMALLOC" = yes; then
2211 echo "$ac_t""yes" 1>&6
2213 echo "$ac_t""no" 1>&6
2217 echo $ac_n "checking for --with-regex""... $ac_c" 1>&6
2218 echo "configure:2219: checking for --with-regex" >&5
2220 # Check whether --with-regex or --without-regex was given.
2221 if test "${with_regex+set}" = set; then
2222 withval
="$with_regex"
2224 if test "$withval" = yes; then
2225 ac_cv_use_regex
='wxUSE_REGEX=yes'
2226 elif test "$withval" = no
; then
2227 ac_cv_use_regex
='wxUSE_REGEX=no'
2228 elif test "$withval" = sys
; then
2229 ac_cv_use_regex
='wxUSE_REGEX=sys'
2230 elif test "$withval" = builtin; then
2231 ac_cv_use_regex
='wxUSE_REGEX=builtin'
2233 { echo "configure: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2238 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
2239 if test "x$LINE" != x
; then
2240 eval "DEFAULT_$LINE"
2245 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
2250 eval "$ac_cv_use_regex"
2251 if test "$no_cache" != 1; then
2252 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
2255 if test "$wxUSE_REGEX" = yes; then
2256 echo "$ac_t""yes" 1>&6
2257 elif test "$wxUSE_REGEX" = no
; then
2258 echo "$ac_t""no" 1>&6
2259 elif test "$wxUSE_REGEX" = sys
; then
2260 echo "$ac_t""system version" 1>&6
2261 elif test "$wxUSE_REGEX" = builtin; then
2262 echo "$ac_t""builtin version" 1>&6
2264 { echo "configure: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2268 echo $ac_n "checking for --with-zlib""... $ac_c" 1>&6
2269 echo "configure:2270: checking for --with-zlib" >&5
2271 # Check whether --with-zlib or --without-zlib was given.
2272 if test "${with_zlib+set}" = set; then
2273 withval
="$with_zlib"
2275 if test "$withval" = yes; then
2276 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
2277 elif test "$withval" = no
; then
2278 ac_cv_use_zlib
='wxUSE_ZLIB=no'
2279 elif test "$withval" = sys
; then
2280 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
2281 elif test "$withval" = builtin; then
2282 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
2284 { echo "configure: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2289 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2290 if test "x$LINE" != x
; then
2291 eval "DEFAULT_$LINE"
2296 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
2301 eval "$ac_cv_use_zlib"
2302 if test "$no_cache" != 1; then
2303 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2306 if test "$wxUSE_ZLIB" = yes; then
2307 echo "$ac_t""yes" 1>&6
2308 elif test "$wxUSE_ZLIB" = no
; then
2309 echo "$ac_t""no" 1>&6
2310 elif test "$wxUSE_ZLIB" = sys
; then
2311 echo "$ac_t""system version" 1>&6
2312 elif test "$wxUSE_ZLIB" = builtin; then
2313 echo "$ac_t""builtin version" 1>&6
2315 { echo "configure: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2319 echo $ac_n "checking for --with-odbc""... $ac_c" 1>&6
2320 echo "configure:2321: checking for --with-odbc" >&5
2322 # Check whether --with-odbc or --without-odbc was given.
2323 if test "${with_odbc+set}" = set; then
2324 withval
="$with_odbc"
2326 if test "$withval" = yes; then
2327 ac_cv_use_odbc
='wxUSE_ODBC=yes'
2329 ac_cv_use_odbc
='wxUSE_ODBC=no'
2334 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
2335 if test "x$LINE" != x
; then
2336 eval "DEFAULT_$LINE"
2341 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
2346 eval "$ac_cv_use_odbc"
2347 if test "$no_cache" != 1; then
2348 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
2351 if test "$wxUSE_ODBC" = yes; then
2352 echo "$ac_t""yes" 1>&6
2354 echo "$ac_t""no" 1>&6
2360 echo $ac_n "checking for --enable-shared""... $ac_c" 1>&6
2361 echo "configure:2362: checking for --enable-shared" >&5
2363 # Check whether --enable-shared or --disable-shared was given.
2364 if test "${enable_shared+set}" = set; then
2365 enableval
="$enable_shared"
2367 if test "$enableval" = yes; then
2368 ac_cv_use_shared
='wxUSE_SHARED=yes'
2370 ac_cv_use_shared
='wxUSE_SHARED=no'
2375 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
2376 if test "x$LINE" != x
; then
2377 eval "DEFAULT_$LINE"
2382 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
2387 eval "$ac_cv_use_shared"
2388 if test "$no_cache" != 1; then
2389 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
2392 if test "$wxUSE_SHARED" = yes; then
2393 echo "$ac_t""yes" 1>&6
2395 echo "$ac_t""no" 1>&6
2399 echo $ac_n "checking for --enable-soname""... $ac_c" 1>&6
2400 echo "configure:2401: checking for --enable-soname" >&5
2402 # Check whether --enable-soname or --disable-soname was given.
2403 if test "${enable_soname+set}" = set; then
2404 enableval
="$enable_soname"
2406 if test "$enableval" = yes; then
2407 ac_cv_use_soname
='wxUSE_SONAME=yes'
2409 ac_cv_use_soname
='wxUSE_SONAME=no'
2414 LINE
=`grep "wxUSE_SONAME" ${wx_arg_cache_file}`
2415 if test "x$LINE" != x
; then
2416 eval "DEFAULT_$LINE"
2421 ac_cv_use_soname
='wxUSE_SONAME='$DEFAULT_wxUSE_SONAME
2426 eval "$ac_cv_use_soname"
2427 if test "$no_cache" != 1; then
2428 echo $ac_cv_use_soname >> ${wx_arg_cache_file}.tmp
2431 if test "$wxUSE_SONAME" = yes; then
2432 echo "$ac_t""yes" 1>&6
2434 echo "$ac_t""no" 1>&6
2438 echo $ac_n "checking for --enable-optimise""... $ac_c" 1>&6
2439 echo "configure:2440: checking for --enable-optimise" >&5
2441 # Check whether --enable-optimise or --disable-optimise was given.
2442 if test "${enable_optimise+set}" = set; then
2443 enableval
="$enable_optimise"
2445 if test "$enableval" = yes; then
2446 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
2448 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
2453 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
2454 if test "x$LINE" != x
; then
2455 eval "DEFAULT_$LINE"
2460 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
2465 eval "$ac_cv_use_optimise"
2466 if test "$no_cache" != 1; then
2467 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
2470 if test "$wxUSE_OPTIMISE" = yes; then
2471 echo "$ac_t""yes" 1>&6
2473 echo "$ac_t""no" 1>&6
2477 echo $ac_n "checking for --enable-debug""... $ac_c" 1>&6
2478 echo "configure:2479: checking for --enable-debug" >&5
2480 # Check whether --enable-debug or --disable-debug was given.
2481 if test "${enable_debug+set}" = set; then
2482 enableval
="$enable_debug"
2484 if test "$enableval" = yes; then
2485 ac_cv_use_debug
='wxUSE_DEBUG=yes'
2487 ac_cv_use_debug
='wxUSE_DEBUG=no'
2492 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
2493 if test "x$LINE" != x
; then
2494 eval "DEFAULT_$LINE"
2499 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
2504 eval "$ac_cv_use_debug"
2505 if test "$no_cache" != 1; then
2506 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
2509 if test "$wxUSE_DEBUG" = yes; then
2510 echo "$ac_t""yes" 1>&6
2512 echo "$ac_t""no" 1>&6
2517 echo $ac_n "checking for --enable-precomp""... $ac_c" 1>&6
2518 echo "configure:2519: checking for --enable-precomp" >&5
2520 # Check whether --enable-precomp or --disable-precomp was given.
2521 if test "${enable_precomp+set}" = set; then
2522 enableval
="$enable_precomp"
2524 if test "$enableval" = yes; then
2525 ac_cv_use_precomp
='wxUSE_PRECOMP=yes'
2527 ac_cv_use_precomp
='wxUSE_PRECOMP=no'
2532 LINE
=`grep "wxUSE_PRECOMP" ${wx_arg_cache_file}`
2533 if test "x$LINE" != x
; then
2534 eval "DEFAULT_$LINE"
2539 ac_cv_use_precomp
='wxUSE_PRECOMP='$DEFAULT_wxUSE_PRECOMP
2544 eval "$ac_cv_use_precomp"
2545 if test "$no_cache" != 1; then
2546 echo $ac_cv_use_precomp >> ${wx_arg_cache_file}.tmp
2549 if test "$wxUSE_PRECOMP" = yes; then
2550 echo "$ac_t""yes" 1>&6
2552 echo "$ac_t""no" 1>&6
2556 if test "$wxUSE_DEBUG" = "yes"; then
2557 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2558 DEFAULT_wxUSE_DEBUG_INFO
=yes
2559 elif test "$wxUSE_DEBUG" = "no"; then
2560 DEFAULT_wxUSE_DEBUG_FLAG
=no
2561 DEFAULT_wxUSE_DEBUG_INFO
=no
2565 echo $ac_n "checking for --enable-debug_flag""... $ac_c" 1>&6
2566 echo "configure:2567: checking for --enable-debug_flag" >&5
2568 # Check whether --enable-debug_flag or --disable-debug_flag was given.
2569 if test "${enable_debug_flag+set}" = set; then
2570 enableval
="$enable_debug_flag"
2572 if test "$enableval" = yes; then
2573 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
2575 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
2580 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
2581 if test "x$LINE" != x
; then
2582 eval "DEFAULT_$LINE"
2587 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
2592 eval "$ac_cv_use_debug_flag"
2593 if test "$no_cache" != 1; then
2594 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
2597 if test "$wxUSE_DEBUG_FLAG" = yes; then
2598 echo "$ac_t""yes" 1>&6
2600 echo "$ac_t""no" 1>&6
2604 echo $ac_n "checking for --enable-debug_info""... $ac_c" 1>&6
2605 echo "configure:2606: checking for --enable-debug_info" >&5
2607 # Check whether --enable-debug_info or --disable-debug_info was given.
2608 if test "${enable_debug_info+set}" = set; then
2609 enableval
="$enable_debug_info"
2611 if test "$enableval" = yes; then
2612 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
2614 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
2619 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
2620 if test "x$LINE" != x
; then
2621 eval "DEFAULT_$LINE"
2626 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
2631 eval "$ac_cv_use_debug_info"
2632 if test "$no_cache" != 1; then
2633 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
2636 if test "$wxUSE_DEBUG_INFO" = yes; then
2637 echo "$ac_t""yes" 1>&6
2639 echo "$ac_t""no" 1>&6
2643 echo $ac_n "checking for --enable-debug_gdb""... $ac_c" 1>&6
2644 echo "configure:2645: checking for --enable-debug_gdb" >&5
2646 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
2647 if test "${enable_debug_gdb+set}" = set; then
2648 enableval
="$enable_debug_gdb"
2650 if test "$enableval" = yes; then
2651 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
2653 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
2658 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
2659 if test "x$LINE" != x
; then
2660 eval "DEFAULT_$LINE"
2665 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
2670 eval "$ac_cv_use_debug_gdb"
2671 if test "$no_cache" != 1; then
2672 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
2675 if test "$wxUSE_DEBUG_GDB" = yes; then
2676 echo "$ac_t""yes" 1>&6
2678 echo "$ac_t""no" 1>&6
2682 echo $ac_n "checking for --enable-debug_cntxt""... $ac_c" 1>&6
2683 echo "configure:2684: checking for --enable-debug_cntxt" >&5
2685 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
2686 if test "${enable_debug_cntxt+set}" = set; then
2687 enableval
="$enable_debug_cntxt"
2689 if test "$enableval" = yes; then
2690 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
2692 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
2697 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2698 if test "x$LINE" != x
; then
2699 eval "DEFAULT_$LINE"
2704 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2709 eval "$ac_cv_use_debug_cntxt"
2710 if test "$no_cache" != 1; then
2711 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2714 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2715 echo "$ac_t""yes" 1>&6
2717 echo "$ac_t""no" 1>&6
2721 echo $ac_n "checking for --enable-mem_tracing""... $ac_c" 1>&6
2722 echo "configure:2723: checking for --enable-mem_tracing" >&5
2724 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2725 if test "${enable_mem_tracing+set}" = set; then
2726 enableval
="$enable_mem_tracing"
2728 if test "$enableval" = yes; then
2729 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
2731 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
2736 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2737 if test "x$LINE" != x
; then
2738 eval "DEFAULT_$LINE"
2743 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2748 eval "$ac_cv_use_mem_tracing"
2749 if test "$no_cache" != 1; then
2750 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2753 if test "$wxUSE_MEM_TRACING" = yes; then
2754 echo "$ac_t""yes" 1>&6
2756 echo "$ac_t""no" 1>&6
2760 echo $ac_n "checking for --enable-profile""... $ac_c" 1>&6
2761 echo "configure:2762: checking for --enable-profile" >&5
2763 # Check whether --enable-profile or --disable-profile was given.
2764 if test "${enable_profile+set}" = set; then
2765 enableval
="$enable_profile"
2767 if test "$enableval" = yes; then
2768 ac_cv_use_profile
='wxUSE_PROFILE=yes'
2770 ac_cv_use_profile
='wxUSE_PROFILE=no'
2775 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2776 if test "x$LINE" != x
; then
2777 eval "DEFAULT_$LINE"
2782 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2787 eval "$ac_cv_use_profile"
2788 if test "$no_cache" != 1; then
2789 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2792 if test "$wxUSE_PROFILE" = yes; then
2793 echo "$ac_t""yes" 1>&6
2795 echo "$ac_t""no" 1>&6
2799 echo $ac_n "checking for --enable-no_rtti""... $ac_c" 1>&6
2800 echo "configure:2801: checking for --enable-no_rtti" >&5
2802 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2803 if test "${enable_no_rtti+set}" = set; then
2804 enableval
="$enable_no_rtti"
2806 if test "$enableval" = yes; then
2807 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
2809 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
2814 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2815 if test "x$LINE" != x
; then
2816 eval "DEFAULT_$LINE"
2821 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2826 eval "$ac_cv_use_no_rtti"
2827 if test "$no_cache" != 1; then
2828 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2831 if test "$wxUSE_NO_RTTI" = yes; then
2832 echo "$ac_t""yes" 1>&6
2834 echo "$ac_t""no" 1>&6
2838 echo $ac_n "checking for --enable-no_exceptions""... $ac_c" 1>&6
2839 echo "configure:2840: checking for --enable-no_exceptions" >&5
2841 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2842 if test "${enable_no_exceptions+set}" = set; then
2843 enableval
="$enable_no_exceptions"
2845 if test "$enableval" = yes; then
2846 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
2848 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
2853 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2854 if test "x$LINE" != x
; then
2855 eval "DEFAULT_$LINE"
2860 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2865 eval "$ac_cv_use_no_exceptions"
2866 if test "$no_cache" != 1; then
2867 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2870 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2871 echo "$ac_t""yes" 1>&6
2873 echo "$ac_t""no" 1>&6
2877 echo $ac_n "checking for --enable-permissive""... $ac_c" 1>&6
2878 echo "configure:2879: checking for --enable-permissive" >&5
2880 # Check whether --enable-permissive or --disable-permissive was given.
2881 if test "${enable_permissive+set}" = set; then
2882 enableval
="$enable_permissive"
2884 if test "$enableval" = yes; then
2885 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
2887 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
2892 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2893 if test "x$LINE" != x
; then
2894 eval "DEFAULT_$LINE"
2899 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
2904 eval "$ac_cv_use_permissive"
2905 if test "$no_cache" != 1; then
2906 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
2909 if test "$wxUSE_PERMISSIVE" = yes; then
2910 echo "$ac_t""yes" 1>&6
2912 echo "$ac_t""no" 1>&6
2916 echo $ac_n "checking for --enable-no_deps""... $ac_c" 1>&6
2917 echo "configure:2918: checking for --enable-no_deps" >&5
2919 # Check whether --enable-no_deps or --disable-no_deps was given.
2920 if test "${enable_no_deps+set}" = set; then
2921 enableval
="$enable_no_deps"
2923 if test "$enableval" = yes; then
2924 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
2926 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
2931 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
2932 if test "x$LINE" != x
; then
2933 eval "DEFAULT_$LINE"
2938 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
2943 eval "$ac_cv_use_no_deps"
2944 if test "$no_cache" != 1; then
2945 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
2948 if test "$wxUSE_NO_DEPS" = yes; then
2949 echo "$ac_t""yes" 1>&6
2951 echo "$ac_t""no" 1>&6
2956 echo $ac_n "checking for --enable-compat20""... $ac_c" 1>&6
2957 echo "configure:2958: checking for --enable-compat20" >&5
2959 # Check whether --enable-compat20 or --disable-compat20 was given.
2960 if test "${enable_compat20+set}" = set; then
2961 enableval
="$enable_compat20"
2963 if test "$enableval" = yes; then
2964 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=yes'
2966 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=no'
2971 LINE
=`grep "WXWIN_COMPATIBILITY_2" ${wx_arg_cache_file}`
2972 if test "x$LINE" != x
; then
2973 eval "DEFAULT_$LINE"
2978 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2='$DEFAULT_WXWIN_COMPATIBILITY_2
2983 eval "$ac_cv_use_compat20"
2984 if test "$no_cache" != 1; then
2985 echo $ac_cv_use_compat20 >> ${wx_arg_cache_file}.tmp
2988 if test "$WXWIN_COMPATIBILITY_2" = yes; then
2989 echo "$ac_t""yes" 1>&6
2991 echo "$ac_t""no" 1>&6
2995 echo $ac_n "checking for --enable-compat22""... $ac_c" 1>&6
2996 echo "configure:2997: checking for --enable-compat22" >&5
2998 # Check whether --enable-compat22 or --disable-compat22 was given.
2999 if test "${enable_compat22+set}" = set; then
3000 enableval
="$enable_compat22"
3002 if test "$enableval" = yes; then
3003 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
3005 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
3010 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
3011 if test "x$LINE" != x
; then
3012 eval "DEFAULT_$LINE"
3017 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
3022 eval "$ac_cv_use_compat22"
3023 if test "$no_cache" != 1; then
3024 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
3027 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
3028 echo "$ac_t""yes" 1>&6
3030 echo "$ac_t""no" 1>&6
3036 echo $ac_n "checking for --enable-intl""... $ac_c" 1>&6
3037 echo "configure:3038: checking for --enable-intl" >&5
3039 # Check whether --enable-intl or --disable-intl was given.
3040 if test "${enable_intl+set}" = set; then
3041 enableval
="$enable_intl"
3043 if test "$enableval" = yes; then
3044 ac_cv_use_intl
='wxUSE_INTL=yes'
3046 ac_cv_use_intl
='wxUSE_INTL=no'
3051 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
3052 if test "x$LINE" != x
; then
3053 eval "DEFAULT_$LINE"
3058 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
3063 eval "$ac_cv_use_intl"
3064 if test "$no_cache" != 1; then
3065 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
3068 if test "$wxUSE_INTL" = yes; then
3069 echo "$ac_t""yes" 1>&6
3071 echo "$ac_t""no" 1>&6
3075 echo $ac_n "checking for --enable-config""... $ac_c" 1>&6
3076 echo "configure:3077: checking for --enable-config" >&5
3078 # Check whether --enable-config or --disable-config was given.
3079 if test "${enable_config+set}" = set; then
3080 enableval
="$enable_config"
3082 if test "$enableval" = yes; then
3083 ac_cv_use_config
='wxUSE_CONFIG=yes'
3085 ac_cv_use_config
='wxUSE_CONFIG=no'
3090 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
3091 if test "x$LINE" != x
; then
3092 eval "DEFAULT_$LINE"
3097 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
3102 eval "$ac_cv_use_config"
3103 if test "$no_cache" != 1; then
3104 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
3107 if test "$wxUSE_CONFIG" = yes; then
3108 echo "$ac_t""yes" 1>&6
3110 echo "$ac_t""no" 1>&6
3115 echo $ac_n "checking for --enable-protocols""... $ac_c" 1>&6
3116 echo "configure:3117: checking for --enable-protocols" >&5
3118 # Check whether --enable-protocols or --disable-protocols was given.
3119 if test "${enable_protocols+set}" = set; then
3120 enableval
="$enable_protocols"
3122 if test "$enableval" = yes; then
3123 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
3125 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
3130 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
3131 if test "x$LINE" != x
; then
3132 eval "DEFAULT_$LINE"
3137 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
3142 eval "$ac_cv_use_protocols"
3143 if test "$no_cache" != 1; then
3144 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
3147 if test "$wxUSE_PROTOCOL" = yes; then
3148 echo "$ac_t""yes" 1>&6
3150 echo "$ac_t""no" 1>&6
3154 echo $ac_n "checking for --enable-ftp""... $ac_c" 1>&6
3155 echo "configure:3156: checking for --enable-ftp" >&5
3157 # Check whether --enable-ftp or --disable-ftp was given.
3158 if test "${enable_ftp+set}" = set; then
3159 enableval
="$enable_ftp"
3161 if test "$enableval" = yes; then
3162 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
3164 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
3169 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
3170 if test "x$LINE" != x
; then
3171 eval "DEFAULT_$LINE"
3176 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
3181 eval "$ac_cv_use_ftp"
3182 if test "$no_cache" != 1; then
3183 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
3186 if test "$wxUSE_PROTOCOL_FTP" = yes; then
3187 echo "$ac_t""yes" 1>&6
3189 echo "$ac_t""no" 1>&6
3193 echo $ac_n "checking for --enable-http""... $ac_c" 1>&6
3194 echo "configure:3195: checking for --enable-http" >&5
3196 # Check whether --enable-http or --disable-http was given.
3197 if test "${enable_http+set}" = set; then
3198 enableval
="$enable_http"
3200 if test "$enableval" = yes; then
3201 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
3203 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
3208 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
3209 if test "x$LINE" != x
; then
3210 eval "DEFAULT_$LINE"
3215 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
3220 eval "$ac_cv_use_http"
3221 if test "$no_cache" != 1; then
3222 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
3225 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
3226 echo "$ac_t""yes" 1>&6
3228 echo "$ac_t""no" 1>&6
3232 echo $ac_n "checking for --enable-fileproto""... $ac_c" 1>&6
3233 echo "configure:3234: checking for --enable-fileproto" >&5
3235 # Check whether --enable-fileproto or --disable-fileproto was given.
3236 if test "${enable_fileproto+set}" = set; then
3237 enableval
="$enable_fileproto"
3239 if test "$enableval" = yes; then
3240 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
3242 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
3247 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
3248 if test "x$LINE" != x
; then
3249 eval "DEFAULT_$LINE"
3254 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
3259 eval "$ac_cv_use_fileproto"
3260 if test "$no_cache" != 1; then
3261 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
3264 if test "$wxUSE_PROTOCOL_FILE" = yes; then
3265 echo "$ac_t""yes" 1>&6
3267 echo "$ac_t""no" 1>&6
3271 echo $ac_n "checking for --enable-sockets""... $ac_c" 1>&6
3272 echo "configure:3273: checking for --enable-sockets" >&5
3274 # Check whether --enable-sockets or --disable-sockets was given.
3275 if test "${enable_sockets+set}" = set; then
3276 enableval
="$enable_sockets"
3278 if test "$enableval" = yes; then
3279 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
3281 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
3286 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
3287 if test "x$LINE" != x
; then
3288 eval "DEFAULT_$LINE"
3293 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
3298 eval "$ac_cv_use_sockets"
3299 if test "$no_cache" != 1; then
3300 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
3303 if test "$wxUSE_SOCKETS" = yes; then
3304 echo "$ac_t""yes" 1>&6
3306 echo "$ac_t""no" 1>&6
3311 echo $ac_n "checking for --enable-ipc""... $ac_c" 1>&6
3312 echo "configure:3313: checking for --enable-ipc" >&5
3314 # Check whether --enable-ipc or --disable-ipc was given.
3315 if test "${enable_ipc+set}" = set; then
3316 enableval
="$enable_ipc"
3318 if test "$enableval" = yes; then
3319 ac_cv_use_ipc
='wxUSE_IPC=yes'
3321 ac_cv_use_ipc
='wxUSE_IPC=no'
3326 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
3327 if test "x$LINE" != x
; then
3328 eval "DEFAULT_$LINE"
3333 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
3338 eval "$ac_cv_use_ipc"
3339 if test "$no_cache" != 1; then
3340 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
3343 if test "$wxUSE_IPC" = yes; then
3344 echo "$ac_t""yes" 1>&6
3346 echo "$ac_t""no" 1>&6
3351 echo $ac_n "checking for --enable-cmdline""... $ac_c" 1>&6
3352 echo "configure:3353: checking for --enable-cmdline" >&5
3354 # Check whether --enable-cmdline or --disable-cmdline was given.
3355 if test "${enable_cmdline+set}" = set; then
3356 enableval
="$enable_cmdline"
3358 if test "$enableval" = yes; then
3359 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
3361 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
3366 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
3367 if test "x$LINE" != x
; then
3368 eval "DEFAULT_$LINE"
3373 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
3378 eval "$ac_cv_use_cmdline"
3379 if test "$no_cache" != 1; then
3380 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
3383 if test "$wxUSE_CMDLINE_PARSER" = yes; then
3384 echo "$ac_t""yes" 1>&6
3386 echo "$ac_t""no" 1>&6
3390 echo $ac_n "checking for --enable-datetime""... $ac_c" 1>&6
3391 echo "configure:3392: checking for --enable-datetime" >&5
3393 # Check whether --enable-datetime or --disable-datetime was given.
3394 if test "${enable_datetime+set}" = set; then
3395 enableval
="$enable_datetime"
3397 if test "$enableval" = yes; then
3398 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
3400 ac_cv_use_datetime
='wxUSE_DATETIME=no'
3405 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
3406 if test "x$LINE" != x
; then
3407 eval "DEFAULT_$LINE"
3412 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
3417 eval "$ac_cv_use_datetime"
3418 if test "$no_cache" != 1; then
3419 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
3422 if test "$wxUSE_DATETIME" = yes; then
3423 echo "$ac_t""yes" 1>&6
3425 echo "$ac_t""no" 1>&6
3429 echo $ac_n "checking for --enable-timedate""... $ac_c" 1>&6
3430 echo "configure:3431: checking for --enable-timedate" >&5
3432 # Check whether --enable-timedate or --disable-timedate was given.
3433 if test "${enable_timedate+set}" = set; then
3434 enableval
="$enable_timedate"
3436 if test "$enableval" = yes; then
3437 ac_cv_use_timedate
='wxUSE_TIMEDATE=yes'
3439 ac_cv_use_timedate
='wxUSE_TIMEDATE=no'
3444 LINE
=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}`
3445 if test "x$LINE" != x
; then
3446 eval "DEFAULT_$LINE"
3451 ac_cv_use_timedate
='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
3456 eval "$ac_cv_use_timedate"
3457 if test "$no_cache" != 1; then
3458 echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp
3461 if test "$wxUSE_TIMEDATE" = yes; then
3462 echo "$ac_t""yes" 1>&6
3464 echo "$ac_t""no" 1>&6
3468 echo $ac_n "checking for --enable-stopwatch""... $ac_c" 1>&6
3469 echo "configure:3470: checking for --enable-stopwatch" >&5
3471 # Check whether --enable-stopwatch or --disable-stopwatch was given.
3472 if test "${enable_stopwatch+set}" = set; then
3473 enableval
="$enable_stopwatch"
3475 if test "$enableval" = yes; then
3476 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
3478 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
3483 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
3484 if test "x$LINE" != x
; then
3485 eval "DEFAULT_$LINE"
3490 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
3495 eval "$ac_cv_use_stopwatch"
3496 if test "$no_cache" != 1; then
3497 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
3500 if test "$wxUSE_STOPWATCH" = yes; then
3501 echo "$ac_t""yes" 1>&6
3503 echo "$ac_t""no" 1>&6
3507 echo $ac_n "checking for --enable-dialupman""... $ac_c" 1>&6
3508 echo "configure:3509: checking for --enable-dialupman" >&5
3510 # Check whether --enable-dialupman or --disable-dialupman was given.
3511 if test "${enable_dialupman+set}" = set; then
3512 enableval
="$enable_dialupman"
3514 if test "$enableval" = yes; then
3515 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
3517 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
3522 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
3523 if test "x$LINE" != x
; then
3524 eval "DEFAULT_$LINE"
3529 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
3534 eval "$ac_cv_use_dialupman"
3535 if test "$no_cache" != 1; then
3536 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
3539 if test "$wxUSE_DIALUP_MANAGER" = yes; then
3540 echo "$ac_t""yes" 1>&6
3542 echo "$ac_t""no" 1>&6
3546 echo $ac_n "checking for --enable-apple_ieee""... $ac_c" 1>&6
3547 echo "configure:3548: checking for --enable-apple_ieee" >&5
3549 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
3550 if test "${enable_apple_ieee+set}" = set; then
3551 enableval
="$enable_apple_ieee"
3553 if test "$enableval" = yes; then
3554 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
3556 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
3561 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
3562 if test "x$LINE" != x
; then
3563 eval "DEFAULT_$LINE"
3568 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
3573 eval "$ac_cv_use_apple_ieee"
3574 if test "$no_cache" != 1; then
3575 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
3578 if test "$wxUSE_APPLE_IEEE" = yes; then
3579 echo "$ac_t""yes" 1>&6
3581 echo "$ac_t""no" 1>&6
3585 echo $ac_n "checking for --enable-timer""... $ac_c" 1>&6
3586 echo "configure:3587: checking for --enable-timer" >&5
3588 # Check whether --enable-timer or --disable-timer was given.
3589 if test "${enable_timer+set}" = set; then
3590 enableval
="$enable_timer"
3592 if test "$enableval" = yes; then
3593 ac_cv_use_timer
='wxUSE_TIMER=yes'
3595 ac_cv_use_timer
='wxUSE_TIMER=no'
3600 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
3601 if test "x$LINE" != x
; then
3602 eval "DEFAULT_$LINE"
3607 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
3612 eval "$ac_cv_use_timer"
3613 if test "$no_cache" != 1; then
3614 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
3617 if test "$wxUSE_TIMER" = yes; then
3618 echo "$ac_t""yes" 1>&6
3620 echo "$ac_t""no" 1>&6
3624 echo $ac_n "checking for --enable-wave""... $ac_c" 1>&6
3625 echo "configure:3626: checking for --enable-wave" >&5
3627 # Check whether --enable-wave or --disable-wave was given.
3628 if test "${enable_wave+set}" = set; then
3629 enableval
="$enable_wave"
3631 if test "$enableval" = yes; then
3632 ac_cv_use_wave
='wxUSE_WAVE=yes'
3634 ac_cv_use_wave
='wxUSE_WAVE=no'
3639 LINE
=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
3640 if test "x$LINE" != x
; then
3641 eval "DEFAULT_$LINE"
3646 ac_cv_use_wave
='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
3651 eval "$ac_cv_use_wave"
3652 if test "$no_cache" != 1; then
3653 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
3656 if test "$wxUSE_WAVE" = yes; then
3657 echo "$ac_t""yes" 1>&6
3659 echo "$ac_t""no" 1>&6
3663 echo $ac_n "checking for --enable-fraction""... $ac_c" 1>&6
3664 echo "configure:3665: checking for --enable-fraction" >&5
3666 # Check whether --enable-fraction or --disable-fraction was given.
3667 if test "${enable_fraction+set}" = set; then
3668 enableval
="$enable_fraction"
3670 if test "$enableval" = yes; then
3671 ac_cv_use_fraction
='wxUSE_FRACTION=yes'
3673 ac_cv_use_fraction
='wxUSE_FRACTION=no'
3678 LINE
=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
3679 if test "x$LINE" != x
; then
3680 eval "DEFAULT_$LINE"
3685 ac_cv_use_fraction
='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
3690 eval "$ac_cv_use_fraction"
3691 if test "$no_cache" != 1; then
3692 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
3695 if test "$wxUSE_FRACTION" = yes; then
3696 echo "$ac_t""yes" 1>&6
3698 echo "$ac_t""no" 1>&6
3702 echo $ac_n "checking for --enable-dynlib""... $ac_c" 1>&6
3703 echo "configure:3704: checking for --enable-dynlib" >&5
3705 # Check whether --enable-dynlib or --disable-dynlib was given.
3706 if test "${enable_dynlib+set}" = set; then
3707 enableval
="$enable_dynlib"
3709 if test "$enableval" = yes; then
3710 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
3712 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
3717 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
3718 if test "x$LINE" != x
; then
3719 eval "DEFAULT_$LINE"
3724 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
3729 eval "$ac_cv_use_dynlib"
3730 if test "$no_cache" != 1; then
3731 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
3734 if test "$wxUSE_DYNLIB_CLASS" = yes; then
3735 echo "$ac_t""yes" 1>&6
3737 echo "$ac_t""no" 1>&6
3741 echo $ac_n "checking for --enable-dynamicloader""... $ac_c" 1>&6
3742 echo "configure:3743: checking for --enable-dynamicloader" >&5
3744 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
3745 if test "${enable_dynamicloader+set}" = set; then
3746 enableval
="$enable_dynamicloader"
3748 if test "$enableval" = yes; then
3749 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
3751 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
3756 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
3757 if test "x$LINE" != x
; then
3758 eval "DEFAULT_$LINE"
3763 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
3768 eval "$ac_cv_use_dynamicloader"
3769 if test "$no_cache" != 1; then
3770 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
3773 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
3774 echo "$ac_t""yes" 1>&6
3776 echo "$ac_t""no" 1>&6
3780 echo $ac_n "checking for --enable-longlong""... $ac_c" 1>&6
3781 echo "configure:3782: checking for --enable-longlong" >&5
3783 # Check whether --enable-longlong or --disable-longlong was given.
3784 if test "${enable_longlong+set}" = set; then
3785 enableval
="$enable_longlong"
3787 if test "$enableval" = yes; then
3788 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
3790 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
3795 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
3796 if test "x$LINE" != x
; then
3797 eval "DEFAULT_$LINE"
3802 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
3807 eval "$ac_cv_use_longlong"
3808 if test "$no_cache" != 1; then
3809 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
3812 if test "$wxUSE_LONGLONG" = yes; then
3813 echo "$ac_t""yes" 1>&6
3815 echo "$ac_t""no" 1>&6
3819 echo $ac_n "checking for --enable-geometry""... $ac_c" 1>&6
3820 echo "configure:3821: checking for --enable-geometry" >&5
3822 # Check whether --enable-geometry or --disable-geometry was given.
3823 if test "${enable_geometry+set}" = set; then
3824 enableval
="$enable_geometry"
3826 if test "$enableval" = yes; then
3827 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
3829 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
3834 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
3835 if test "x$LINE" != x
; then
3836 eval "DEFAULT_$LINE"
3841 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
3846 eval "$ac_cv_use_geometry"
3847 if test "$no_cache" != 1; then
3848 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
3851 if test "$wxUSE_GEOMETRY" = yes; then
3852 echo "$ac_t""yes" 1>&6
3854 echo "$ac_t""no" 1>&6
3858 echo $ac_n "checking for --enable-log""... $ac_c" 1>&6
3859 echo "configure:3860: checking for --enable-log" >&5
3861 # Check whether --enable-log or --disable-log was given.
3862 if test "${enable_log+set}" = set; then
3863 enableval
="$enable_log"
3865 if test "$enableval" = yes; then
3866 ac_cv_use_log
='wxUSE_LOG=yes'
3868 ac_cv_use_log
='wxUSE_LOG=no'
3873 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
3874 if test "x$LINE" != x
; then
3875 eval "DEFAULT_$LINE"
3880 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
3885 eval "$ac_cv_use_log"
3886 if test "$no_cache" != 1; then
3887 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
3890 if test "$wxUSE_LOG" = yes; then
3891 echo "$ac_t""yes" 1>&6
3893 echo "$ac_t""no" 1>&6
3897 echo $ac_n "checking for --enable-streams""... $ac_c" 1>&6
3898 echo "configure:3899: checking for --enable-streams" >&5
3900 # Check whether --enable-streams or --disable-streams was given.
3901 if test "${enable_streams+set}" = set; then
3902 enableval
="$enable_streams"
3904 if test "$enableval" = yes; then
3905 ac_cv_use_streams
='wxUSE_STREAMS=yes'
3907 ac_cv_use_streams
='wxUSE_STREAMS=no'
3912 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
3913 if test "x$LINE" != x
; then
3914 eval "DEFAULT_$LINE"
3919 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
3924 eval "$ac_cv_use_streams"
3925 if test "$no_cache" != 1; then
3926 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
3929 if test "$wxUSE_STREAMS" = yes; then
3930 echo "$ac_t""yes" 1>&6
3932 echo "$ac_t""no" 1>&6
3936 echo $ac_n "checking for --enable-file""... $ac_c" 1>&6
3937 echo "configure:3938: checking for --enable-file" >&5
3939 # Check whether --enable-file or --disable-file was given.
3940 if test "${enable_file+set}" = set; then
3941 enableval
="$enable_file"
3943 if test "$enableval" = yes; then
3944 ac_cv_use_file
='wxUSE_FILE=yes'
3946 ac_cv_use_file
='wxUSE_FILE=no'
3951 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
3952 if test "x$LINE" != x
; then
3953 eval "DEFAULT_$LINE"
3958 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
3963 eval "$ac_cv_use_file"
3964 if test "$no_cache" != 1; then
3965 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
3968 if test "$wxUSE_FILE" = yes; then
3969 echo "$ac_t""yes" 1>&6
3971 echo "$ac_t""no" 1>&6
3975 echo $ac_n "checking for --enable-ffile""... $ac_c" 1>&6
3976 echo "configure:3977: checking for --enable-ffile" >&5
3978 # Check whether --enable-ffile or --disable-ffile was given.
3979 if test "${enable_ffile+set}" = set; then
3980 enableval
="$enable_ffile"
3982 if test "$enableval" = yes; then
3983 ac_cv_use_ffile
='wxUSE_FFILE=yes'
3985 ac_cv_use_ffile
='wxUSE_FFILE=no'
3990 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
3991 if test "x$LINE" != x
; then
3992 eval "DEFAULT_$LINE"
3997 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
4002 eval "$ac_cv_use_ffile"
4003 if test "$no_cache" != 1; then
4004 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4007 if test "$wxUSE_FFILE" = yes; then
4008 echo "$ac_t""yes" 1>&6
4010 echo "$ac_t""no" 1>&6
4014 echo $ac_n "checking for --enable-textbuf""... $ac_c" 1>&6
4015 echo "configure:4016: checking for --enable-textbuf" >&5
4017 # Check whether --enable-textbuf or --disable-textbuf was given.
4018 if test "${enable_textbuf+set}" = set; then
4019 enableval
="$enable_textbuf"
4021 if test "$enableval" = yes; then
4022 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
4024 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
4029 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
4030 if test "x$LINE" != x
; then
4031 eval "DEFAULT_$LINE"
4036 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
4041 eval "$ac_cv_use_textbuf"
4042 if test "$no_cache" != 1; then
4043 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
4046 if test "$wxUSE_TEXTBUFFER" = yes; then
4047 echo "$ac_t""yes" 1>&6
4049 echo "$ac_t""no" 1>&6
4053 echo $ac_n "checking for --enable-textfile""... $ac_c" 1>&6
4054 echo "configure:4055: checking for --enable-textfile" >&5
4056 # Check whether --enable-textfile or --disable-textfile was given.
4057 if test "${enable_textfile+set}" = set; then
4058 enableval
="$enable_textfile"
4060 if test "$enableval" = yes; then
4061 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
4063 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
4068 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
4069 if test "x$LINE" != x
; then
4070 eval "DEFAULT_$LINE"
4075 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
4080 eval "$ac_cv_use_textfile"
4081 if test "$no_cache" != 1; then
4082 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
4085 if test "$wxUSE_TEXTFILE" = yes; then
4086 echo "$ac_t""yes" 1>&6
4088 echo "$ac_t""no" 1>&6
4092 echo $ac_n "checking for --enable-fontmap""... $ac_c" 1>&6
4093 echo "configure:4094: checking for --enable-fontmap" >&5
4095 # Check whether --enable-fontmap or --disable-fontmap was given.
4096 if test "${enable_fontmap+set}" = set; then
4097 enableval
="$enable_fontmap"
4099 if test "$enableval" = yes; then
4100 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
4102 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
4107 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4108 if test "x$LINE" != x
; then
4109 eval "DEFAULT_$LINE"
4114 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
4119 eval "$ac_cv_use_fontmap"
4120 if test "$no_cache" != 1; then
4121 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
4124 if test "$wxUSE_FONTMAP" = yes; then
4125 echo "$ac_t""yes" 1>&6
4127 echo "$ac_t""no" 1>&6
4131 echo $ac_n "checking for --enable-unicode""... $ac_c" 1>&6
4132 echo "configure:4133: checking for --enable-unicode" >&5
4134 # Check whether --enable-unicode or --disable-unicode was given.
4135 if test "${enable_unicode+set}" = set; then
4136 enableval
="$enable_unicode"
4138 if test "$enableval" = yes; then
4139 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
4141 ac_cv_use_unicode
='wxUSE_UNICODE=no'
4146 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
4147 if test "x$LINE" != x
; then
4148 eval "DEFAULT_$LINE"
4153 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
4158 eval "$ac_cv_use_unicode"
4159 if test "$no_cache" != 1; then
4160 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
4163 if test "$wxUSE_UNICODE" = yes; then
4164 echo "$ac_t""yes" 1>&6
4166 echo "$ac_t""no" 1>&6
4170 echo $ac_n "checking for --enable-mslu""... $ac_c" 1>&6
4171 echo "configure:4172: checking for --enable-mslu" >&5
4173 # Check whether --enable-mslu or --disable-mslu was given.
4174 if test "${enable_mslu+set}" = set; then
4175 enableval
="$enable_mslu"
4177 if test "$enableval" = yes; then
4178 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
4180 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
4185 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
4186 if test "x$LINE" != x
; then
4187 eval "DEFAULT_$LINE"
4192 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
4197 eval "$ac_cv_use_mslu"
4198 if test "$no_cache" != 1; then
4199 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
4202 if test "$wxUSE_UNICODE_MSLU" = yes; then
4203 echo "$ac_t""yes" 1>&6
4205 echo "$ac_t""no" 1>&6
4209 echo $ac_n "checking for --enable-wxprintfv""... $ac_c" 1>&6
4210 echo "configure:4211: checking for --enable-wxprintfv" >&5
4212 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
4213 if test "${enable_wxprintfv+set}" = set; then
4214 enableval
="$enable_wxprintfv"
4216 if test "$enableval" = yes; then
4217 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
4219 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
4224 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
4225 if test "x$LINE" != x
; then
4226 eval "DEFAULT_$LINE"
4231 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
4236 eval "$ac_cv_use_wxprintfv"
4237 if test "$no_cache" != 1; then
4238 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
4241 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
4242 echo "$ac_t""yes" 1>&6
4244 echo "$ac_t""no" 1>&6
4248 echo $ac_n "checking for --enable-std_iostreams""... $ac_c" 1>&6
4249 echo "configure:4250: checking for --enable-std_iostreams" >&5
4251 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
4252 if test "${enable_std_iostreams+set}" = set; then
4253 enableval
="$enable_std_iostreams"
4255 if test "$enableval" = yes; then
4256 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
4258 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
4263 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
4264 if test "x$LINE" != x
; then
4265 eval "DEFAULT_$LINE"
4270 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
4275 eval "$ac_cv_use_std_iostreams"
4276 if test "$no_cache" != 1; then
4277 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
4280 if test "$wxUSE_STD_IOSTREAM" = yes; then
4281 echo "$ac_t""yes" 1>&6
4283 echo "$ac_t""no" 1>&6
4287 echo $ac_n "checking for --enable-filesystem""... $ac_c" 1>&6
4288 echo "configure:4289: checking for --enable-filesystem" >&5
4290 # Check whether --enable-filesystem or --disable-filesystem was given.
4291 if test "${enable_filesystem+set}" = set; then
4292 enableval
="$enable_filesystem"
4294 if test "$enableval" = yes; then
4295 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
4297 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
4302 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
4303 if test "x$LINE" != x
; then
4304 eval "DEFAULT_$LINE"
4309 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
4314 eval "$ac_cv_use_filesystem"
4315 if test "$no_cache" != 1; then
4316 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
4319 if test "$wxUSE_FILESYSTEM" = yes; then
4320 echo "$ac_t""yes" 1>&6
4322 echo "$ac_t""no" 1>&6
4326 echo $ac_n "checking for --enable-fs_inet""... $ac_c" 1>&6
4327 echo "configure:4328: checking for --enable-fs_inet" >&5
4329 # Check whether --enable-fs_inet or --disable-fs_inet was given.
4330 if test "${enable_fs_inet+set}" = set; then
4331 enableval
="$enable_fs_inet"
4333 if test "$enableval" = yes; then
4334 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
4336 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
4341 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
4342 if test "x$LINE" != x
; then
4343 eval "DEFAULT_$LINE"
4348 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
4353 eval "$ac_cv_use_fs_inet"
4354 if test "$no_cache" != 1; then
4355 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
4358 if test "$wxUSE_FS_INET" = yes; then
4359 echo "$ac_t""yes" 1>&6
4361 echo "$ac_t""no" 1>&6
4365 echo $ac_n "checking for --enable-fs_zip""... $ac_c" 1>&6
4366 echo "configure:4367: checking for --enable-fs_zip" >&5
4368 # Check whether --enable-fs_zip or --disable-fs_zip was given.
4369 if test "${enable_fs_zip+set}" = set; then
4370 enableval
="$enable_fs_zip"
4372 if test "$enableval" = yes; then
4373 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
4375 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
4380 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
4381 if test "x$LINE" != x
; then
4382 eval "DEFAULT_$LINE"
4387 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
4392 eval "$ac_cv_use_fs_zip"
4393 if test "$no_cache" != 1; then
4394 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
4397 if test "$wxUSE_FS_ZIP" = yes; then
4398 echo "$ac_t""yes" 1>&6
4400 echo "$ac_t""no" 1>&6
4404 echo $ac_n "checking for --enable-zipstream""... $ac_c" 1>&6
4405 echo "configure:4406: checking for --enable-zipstream" >&5
4407 # Check whether --enable-zipstream or --disable-zipstream was given.
4408 if test "${enable_zipstream+set}" = set; then
4409 enableval
="$enable_zipstream"
4411 if test "$enableval" = yes; then
4412 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
4414 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
4419 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
4420 if test "x$LINE" != x
; then
4421 eval "DEFAULT_$LINE"
4426 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
4431 eval "$ac_cv_use_zipstream"
4432 if test "$no_cache" != 1; then
4433 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
4436 if test "$wxUSE_ZIPSTREAM" = yes; then
4437 echo "$ac_t""yes" 1>&6
4439 echo "$ac_t""no" 1>&6
4444 echo $ac_n "checking for --enable-catch_segvs""... $ac_c" 1>&6
4445 echo "configure:4446: checking for --enable-catch_segvs" >&5
4447 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4448 if test "${enable_catch_segvs+set}" = set; then
4449 enableval
="$enable_catch_segvs"
4451 if test "$enableval" = yes; then
4452 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4454 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4459 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4460 if test "x$LINE" != x
; then
4461 eval "DEFAULT_$LINE"
4466 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4471 eval "$ac_cv_use_catch_segvs"
4472 if test "$no_cache" != 1; then
4473 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4476 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4477 echo "$ac_t""yes" 1>&6
4479 echo "$ac_t""no" 1>&6
4483 echo $ac_n "checking for --enable-snglinst""... $ac_c" 1>&6
4484 echo "configure:4485: checking for --enable-snglinst" >&5
4486 # Check whether --enable-snglinst or --disable-snglinst was given.
4487 if test "${enable_snglinst+set}" = set; then
4488 enableval
="$enable_snglinst"
4490 if test "$enableval" = yes; then
4491 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
4493 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
4498 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
4499 if test "x$LINE" != x
; then
4500 eval "DEFAULT_$LINE"
4505 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
4510 eval "$ac_cv_use_snglinst"
4511 if test "$no_cache" != 1; then
4512 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
4515 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
4516 echo "$ac_t""yes" 1>&6
4518 echo "$ac_t""no" 1>&6
4523 echo $ac_n "checking for --enable-mimetype""... $ac_c" 1>&6
4524 echo "configure:4525: checking for --enable-mimetype" >&5
4526 # Check whether --enable-mimetype or --disable-mimetype was given.
4527 if test "${enable_mimetype+set}" = set; then
4528 enableval
="$enable_mimetype"
4530 if test "$enableval" = yes; then
4531 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
4533 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
4538 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
4539 if test "x$LINE" != x
; then
4540 eval "DEFAULT_$LINE"
4545 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
4550 eval "$ac_cv_use_mimetype"
4551 if test "$no_cache" != 1; then
4552 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
4555 if test "$wxUSE_MIMETYPE" = yes; then
4556 echo "$ac_t""yes" 1>&6
4558 echo "$ac_t""no" 1>&6
4562 echo $ac_n "checking for --enable-system_options""... $ac_c" 1>&6
4563 echo "configure:4564: checking for --enable-system_options" >&5
4565 # Check whether --enable-system_options or --disable-system_options was given.
4566 if test "${enable_system_options+set}" = set; then
4567 enableval
="$enable_system_options"
4569 if test "$enableval" = yes; then
4570 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
4572 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
4577 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
4578 if test "x$LINE" != x
; then
4579 eval "DEFAULT_$LINE"
4584 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
4589 eval "$ac_cv_use_system_options"
4590 if test "$no_cache" != 1; then
4591 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
4594 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
4595 echo "$ac_t""yes" 1>&6
4597 echo "$ac_t""no" 1>&6
4602 echo $ac_n "checking for --enable-url""... $ac_c" 1>&6
4603 echo "configure:4604: checking for --enable-url" >&5
4605 # Check whether --enable-url or --disable-url was given.
4606 if test "${enable_url+set}" = set; then
4607 enableval
="$enable_url"
4609 if test "$enableval" = yes; then
4610 ac_cv_use_url
='wxUSE_URL=yes'
4612 ac_cv_use_url
='wxUSE_URL=no'
4617 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
4618 if test "x$LINE" != x
; then
4619 eval "DEFAULT_$LINE"
4624 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
4629 eval "$ac_cv_use_url"
4630 if test "$no_cache" != 1; then
4631 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
4634 if test "$wxUSE_URL" = yes; then
4635 echo "$ac_t""yes" 1>&6
4637 echo "$ac_t""no" 1>&6
4641 echo $ac_n "checking for --enable-protocol""... $ac_c" 1>&6
4642 echo "configure:4643: checking for --enable-protocol" >&5
4644 # Check whether --enable-protocol or --disable-protocol was given.
4645 if test "${enable_protocol+set}" = set; then
4646 enableval
="$enable_protocol"
4648 if test "$enableval" = yes; then
4649 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
4651 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
4656 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4657 if test "x$LINE" != x
; then
4658 eval "DEFAULT_$LINE"
4663 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4668 eval "$ac_cv_use_protocol"
4669 if test "$no_cache" != 1; then
4670 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
4673 if test "$wxUSE_PROTOCOL" = yes; then
4674 echo "$ac_t""yes" 1>&6
4676 echo "$ac_t""no" 1>&6
4680 echo $ac_n "checking for --enable-protocol_http""... $ac_c" 1>&6
4681 echo "configure:4682: checking for --enable-protocol_http" >&5
4683 # Check whether --enable-protocol_http or --disable-protocol_http was given.
4684 if test "${enable_protocol_http+set}" = set; then
4685 enableval
="$enable_protocol_http"
4687 if test "$enableval" = yes; then
4688 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
4690 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
4695 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4696 if test "x$LINE" != x
; then
4697 eval "DEFAULT_$LINE"
4702 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4707 eval "$ac_cv_use_protocol_http"
4708 if test "$no_cache" != 1; then
4709 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
4712 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4713 echo "$ac_t""yes" 1>&6
4715 echo "$ac_t""no" 1>&6
4719 echo $ac_n "checking for --enable-protocol_ftp""... $ac_c" 1>&6
4720 echo "configure:4721: checking for --enable-protocol_ftp" >&5
4722 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
4723 if test "${enable_protocol_ftp+set}" = set; then
4724 enableval
="$enable_protocol_ftp"
4726 if test "$enableval" = yes; then
4727 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
4729 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
4734 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4735 if test "x$LINE" != x
; then
4736 eval "DEFAULT_$LINE"
4741 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4746 eval "$ac_cv_use_protocol_ftp"
4747 if test "$no_cache" != 1; then
4748 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
4751 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4752 echo "$ac_t""yes" 1>&6
4754 echo "$ac_t""no" 1>&6
4758 echo $ac_n "checking for --enable-protocol_file""... $ac_c" 1>&6
4759 echo "configure:4760: checking for --enable-protocol_file" >&5
4761 # Check whether --enable-protocol_file or --disable-protocol_file was given.
4762 if test "${enable_protocol_file+set}" = set; then
4763 enableval
="$enable_protocol_file"
4765 if test "$enableval" = yes; then
4766 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
4768 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
4773 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4774 if test "x$LINE" != x
; then
4775 eval "DEFAULT_$LINE"
4780 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4785 eval "$ac_cv_use_protocol_file"
4786 if test "$no_cache" != 1; then
4787 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
4790 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4791 echo "$ac_t""yes" 1>&6
4793 echo "$ac_t""no" 1>&6
4800 echo $ac_n "checking for --enable-threads""... $ac_c" 1>&6
4801 echo "configure:4802: checking for --enable-threads" >&5
4803 # Check whether --enable-threads or --disable-threads was given.
4804 if test "${enable_threads+set}" = set; then
4805 enableval
="$enable_threads"
4807 if test "$enableval" = yes; then
4808 ac_cv_use_threads
='wxUSE_THREADS=yes'
4810 ac_cv_use_threads
='wxUSE_THREADS=no'
4815 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
4816 if test "x$LINE" != x
; then
4817 eval "DEFAULT_$LINE"
4822 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
4827 eval "$ac_cv_use_threads"
4828 if test "$no_cache" != 1; then
4829 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
4832 if test "$wxUSE_THREADS" = yes; then
4833 echo "$ac_t""yes" 1>&6
4835 echo "$ac_t""no" 1>&6
4839 if test "$wxUSE_GUI" = "yes"; then
4843 echo $ac_n "checking for --enable-docview""... $ac_c" 1>&6
4844 echo "configure:4845: checking for --enable-docview" >&5
4846 # Check whether --enable-docview or --disable-docview was given.
4847 if test "${enable_docview+set}" = set; then
4848 enableval
="$enable_docview"
4850 if test "$enableval" = yes; then
4851 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
4853 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
4858 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
4859 if test "x$LINE" != x
; then
4860 eval "DEFAULT_$LINE"
4865 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
4870 eval "$ac_cv_use_docview"
4871 if test "$no_cache" != 1; then
4872 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
4875 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
4876 echo "$ac_t""yes" 1>&6
4878 echo "$ac_t""no" 1>&6
4882 echo $ac_n "checking for --enable-help""... $ac_c" 1>&6
4883 echo "configure:4884: checking for --enable-help" >&5
4885 # Check whether --enable-help or --disable-help was given.
4886 if test "${enable_help+set}" = set; then
4887 enableval
="$enable_help"
4889 if test "$enableval" = yes; then
4890 ac_cv_use_help
='wxUSE_HELP=yes'
4892 ac_cv_use_help
='wxUSE_HELP=no'
4897 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
4898 if test "x$LINE" != x
; then
4899 eval "DEFAULT_$LINE"
4904 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
4909 eval "$ac_cv_use_help"
4910 if test "$no_cache" != 1; then
4911 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
4914 if test "$wxUSE_HELP" = yes; then
4915 echo "$ac_t""yes" 1>&6
4917 echo "$ac_t""no" 1>&6
4921 echo $ac_n "checking for --enable-mshtmlhelp""... $ac_c" 1>&6
4922 echo "configure:4923: checking for --enable-mshtmlhelp" >&5
4924 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
4925 if test "${enable_mshtmlhelp+set}" = set; then
4926 enableval
="$enable_mshtmlhelp"
4928 if test "$enableval" = yes; then
4929 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
4931 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
4936 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
4937 if test "x$LINE" != x
; then
4938 eval "DEFAULT_$LINE"
4943 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
4948 eval "$ac_cv_use_mshtmlhelp"
4949 if test "$no_cache" != 1; then
4950 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
4953 if test "$wxUSE_MS_HTML_HELP" = yes; then
4954 echo "$ac_t""yes" 1>&6
4956 echo "$ac_t""no" 1>&6
4960 echo $ac_n "checking for --enable-html""... $ac_c" 1>&6
4961 echo "configure:4962: checking for --enable-html" >&5
4963 # Check whether --enable-html or --disable-html was given.
4964 if test "${enable_html+set}" = set; then
4965 enableval
="$enable_html"
4967 if test "$enableval" = yes; then
4968 ac_cv_use_html
='wxUSE_HTML=yes'
4970 ac_cv_use_html
='wxUSE_HTML=no'
4975 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
4976 if test "x$LINE" != x
; then
4977 eval "DEFAULT_$LINE"
4982 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
4987 eval "$ac_cv_use_html"
4988 if test "$no_cache" != 1; then
4989 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
4992 if test "$wxUSE_HTML" = yes; then
4993 echo "$ac_t""yes" 1>&6
4995 echo "$ac_t""no" 1>&6
4999 echo $ac_n "checking for --enable-htmlhelp""... $ac_c" 1>&6
5000 echo "configure:5001: checking for --enable-htmlhelp" >&5
5002 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
5003 if test "${enable_htmlhelp+set}" = set; then
5004 enableval
="$enable_htmlhelp"
5006 if test "$enableval" = yes; then
5007 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
5009 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
5014 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
5015 if test "x$LINE" != x
; then
5016 eval "DEFAULT_$LINE"
5021 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
5026 eval "$ac_cv_use_htmlhelp"
5027 if test "$no_cache" != 1; then
5028 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
5031 if test "$wxUSE_WXHTML_HELP" = yes; then
5032 echo "$ac_t""yes" 1>&6
5034 echo "$ac_t""no" 1>&6
5038 echo $ac_n "checking for --enable-constraints""... $ac_c" 1>&6
5039 echo "configure:5040: checking for --enable-constraints" >&5
5041 # Check whether --enable-constraints or --disable-constraints was given.
5042 if test "${enable_constraints+set}" = set; then
5043 enableval
="$enable_constraints"
5045 if test "$enableval" = yes; then
5046 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
5048 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
5053 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
5054 if test "x$LINE" != x
; then
5055 eval "DEFAULT_$LINE"
5060 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
5065 eval "$ac_cv_use_constraints"
5066 if test "$no_cache" != 1; then
5067 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
5070 if test "$wxUSE_CONSTRAINTS" = yes; then
5071 echo "$ac_t""yes" 1>&6
5073 echo "$ac_t""no" 1>&6
5077 echo $ac_n "checking for --enable-printarch""... $ac_c" 1>&6
5078 echo "configure:5079: checking for --enable-printarch" >&5
5080 # Check whether --enable-printarch or --disable-printarch was given.
5081 if test "${enable_printarch+set}" = set; then
5082 enableval
="$enable_printarch"
5084 if test "$enableval" = yes; then
5085 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
5087 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
5092 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
5093 if test "x$LINE" != x
; then
5094 eval "DEFAULT_$LINE"
5099 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
5104 eval "$ac_cv_use_printarch"
5105 if test "$no_cache" != 1; then
5106 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
5109 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
5110 echo "$ac_t""yes" 1>&6
5112 echo "$ac_t""no" 1>&6
5116 echo $ac_n "checking for --enable-mdi""... $ac_c" 1>&6
5117 echo "configure:5118: checking for --enable-mdi" >&5
5119 # Check whether --enable-mdi or --disable-mdi was given.
5120 if test "${enable_mdi+set}" = set; then
5121 enableval
="$enable_mdi"
5123 if test "$enableval" = yes; then
5124 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=yes'
5126 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=no'
5131 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
5132 if test "x$LINE" != x
; then
5133 eval "DEFAULT_$LINE"
5138 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
5143 eval "$ac_cv_use_mdi"
5144 if test "$no_cache" != 1; then
5145 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
5148 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
5149 echo "$ac_t""yes" 1>&6
5151 echo "$ac_t""no" 1>&6
5155 echo $ac_n "checking for --enable-loggui""... $ac_c" 1>&6
5156 echo "configure:5157: checking for --enable-loggui" >&5
5158 # Check whether --enable-loggui or --disable-loggui was given.
5159 if test "${enable_loggui+set}" = set; then
5160 enableval
="$enable_loggui"
5162 if test "$enableval" = yes; then
5163 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
5165 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
5170 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
5171 if test "x$LINE" != x
; then
5172 eval "DEFAULT_$LINE"
5177 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
5182 eval "$ac_cv_use_loggui"
5183 if test "$no_cache" != 1; then
5184 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
5187 if test "$wxUSE_LOGGUI" = yes; then
5188 echo "$ac_t""yes" 1>&6
5190 echo "$ac_t""no" 1>&6
5194 echo $ac_n "checking for --enable-logwin""... $ac_c" 1>&6
5195 echo "configure:5196: checking for --enable-logwin" >&5
5197 # Check whether --enable-logwin or --disable-logwin was given.
5198 if test "${enable_logwin+set}" = set; then
5199 enableval
="$enable_logwin"
5201 if test "$enableval" = yes; then
5202 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
5204 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
5209 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
5210 if test "x$LINE" != x
; then
5211 eval "DEFAULT_$LINE"
5216 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
5221 eval "$ac_cv_use_logwin"
5222 if test "$no_cache" != 1; then
5223 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
5226 if test "$wxUSE_LOGWINDOW" = yes; then
5227 echo "$ac_t""yes" 1>&6
5229 echo "$ac_t""no" 1>&6
5233 echo $ac_n "checking for --enable-logdialog""... $ac_c" 1>&6
5234 echo "configure:5235: checking for --enable-logdialog" >&5
5236 # Check whether --enable-logdialog or --disable-logdialog was given.
5237 if test "${enable_logdialog+set}" = set; then
5238 enableval
="$enable_logdialog"
5240 if test "$enableval" = yes; then
5241 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
5243 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
5248 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
5249 if test "x$LINE" != x
; then
5250 eval "DEFAULT_$LINE"
5255 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
5260 eval "$ac_cv_use_logdialog"
5261 if test "$no_cache" != 1; then
5262 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
5265 if test "$wxUSE_LOGDIALOG" = yes; then
5266 echo "$ac_t""yes" 1>&6
5268 echo "$ac_t""no" 1>&6
5273 echo $ac_n "checking for --enable-postscript""... $ac_c" 1>&6
5274 echo "configure:5275: checking for --enable-postscript" >&5
5276 # Check whether --enable-postscript or --disable-postscript was given.
5277 if test "${enable_postscript+set}" = set; then
5278 enableval
="$enable_postscript"
5280 if test "$enableval" = yes; then
5281 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
5283 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
5288 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
5289 if test "x$LINE" != x
; then
5290 eval "DEFAULT_$LINE"
5295 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
5300 eval "$ac_cv_use_postscript"
5301 if test "$no_cache" != 1; then
5302 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
5305 if test "$wxUSE_POSTSCRIPT" = yes; then
5306 echo "$ac_t""yes" 1>&6
5308 echo "$ac_t""no" 1>&6
5315 echo $ac_n "checking for --enable-prologio""... $ac_c" 1>&6
5316 echo "configure:5317: checking for --enable-prologio" >&5
5318 # Check whether --enable-prologio or --disable-prologio was given.
5319 if test "${enable_prologio+set}" = set; then
5320 enableval
="$enable_prologio"
5322 if test "$enableval" = yes; then
5323 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
5325 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
5330 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
5331 if test "x$LINE" != x
; then
5332 eval "DEFAULT_$LINE"
5337 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
5342 eval "$ac_cv_use_prologio"
5343 if test "$no_cache" != 1; then
5344 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
5347 if test "$wxUSE_PROLOGIO" = yes; then
5348 echo "$ac_t""yes" 1>&6
5350 echo "$ac_t""no" 1>&6
5354 echo $ac_n "checking for --enable-resources""... $ac_c" 1>&6
5355 echo "configure:5356: checking for --enable-resources" >&5
5357 # Check whether --enable-resources or --disable-resources was given.
5358 if test "${enable_resources+set}" = set; then
5359 enableval
="$enable_resources"
5361 if test "$enableval" = yes; then
5362 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
5364 ac_cv_use_resources
='wxUSE_RESOURCES=no'
5369 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
5370 if test "x$LINE" != x
; then
5371 eval "DEFAULT_$LINE"
5376 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
5381 eval "$ac_cv_use_resources"
5382 if test "$no_cache" != 1; then
5383 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
5386 if test "$wxUSE_RESOURCES" = yes; then
5387 echo "$ac_t""yes" 1>&6
5389 echo "$ac_t""no" 1>&6
5394 echo $ac_n "checking for --enable-xresources""... $ac_c" 1>&6
5395 echo "configure:5396: checking for --enable-xresources" >&5
5397 # Check whether --enable-xresources or --disable-xresources was given.
5398 if test "${enable_xresources+set}" = set; then
5399 enableval
="$enable_xresources"
5401 if test "$enableval" = yes; then
5402 ac_cv_use_xresources
='wxUSE_X_RESOURCES=yes'
5404 ac_cv_use_xresources
='wxUSE_X_RESOURCES=no'
5409 LINE
=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
5410 if test "x$LINE" != x
; then
5411 eval "DEFAULT_$LINE"
5416 ac_cv_use_xresources
='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
5421 eval "$ac_cv_use_xresources"
5422 if test "$no_cache" != 1; then
5423 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
5426 if test "$wxUSE_X_RESOURCES" = yes; then
5427 echo "$ac_t""yes" 1>&6
5429 echo "$ac_t""no" 1>&6
5435 echo $ac_n "checking for --enable-clipboard""... $ac_c" 1>&6
5436 echo "configure:5437: checking for --enable-clipboard" >&5
5438 # Check whether --enable-clipboard or --disable-clipboard was given.
5439 if test "${enable_clipboard+set}" = set; then
5440 enableval
="$enable_clipboard"
5442 if test "$enableval" = yes; then
5443 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
5445 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
5450 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
5451 if test "x$LINE" != x
; then
5452 eval "DEFAULT_$LINE"
5457 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
5462 eval "$ac_cv_use_clipboard"
5463 if test "$no_cache" != 1; then
5464 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
5467 if test "$wxUSE_CLIPBOARD" = yes; then
5468 echo "$ac_t""yes" 1>&6
5470 echo "$ac_t""no" 1>&6
5474 echo $ac_n "checking for --enable-dnd""... $ac_c" 1>&6
5475 echo "configure:5476: checking for --enable-dnd" >&5
5477 # Check whether --enable-dnd or --disable-dnd was given.
5478 if test "${enable_dnd+set}" = set; then
5479 enableval
="$enable_dnd"
5481 if test "$enableval" = yes; then
5482 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
5484 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
5489 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
5490 if test "x$LINE" != x
; then
5491 eval "DEFAULT_$LINE"
5496 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
5501 eval "$ac_cv_use_dnd"
5502 if test "$no_cache" != 1; then
5503 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
5506 if test "$wxUSE_DRAG_AND_DROP" = yes; then
5507 echo "$ac_t""yes" 1>&6
5509 echo "$ac_t""no" 1>&6
5513 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
5514 echo "configure:5515: checking for --enable-metafile" >&5
5516 # Check whether --enable-metafile or --disable-metafile was given.
5517 if test "${enable_metafile+set}" = set; then
5518 enableval
="$enable_metafile"
5520 if test "$enableval" = yes; then
5521 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
5523 ac_cv_use_metafile
='wxUSE_METAFILE=no'
5528 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
5529 if test "x$LINE" != x
; then
5530 eval "DEFAULT_$LINE"
5535 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
5540 eval "$ac_cv_use_metafile"
5541 if test "$no_cache" != 1; then
5542 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
5545 if test "$wxUSE_METAFILE" = yes; then
5546 echo "$ac_t""yes" 1>&6
5548 echo "$ac_t""no" 1>&6
5553 echo $ac_n "checking for --enable-treelayout""... $ac_c" 1>&6
5554 echo "configure:5555: checking for --enable-treelayout" >&5
5556 # Check whether --enable-treelayout or --disable-treelayout was given.
5557 if test "${enable_treelayout+set}" = set; then
5558 enableval
="$enable_treelayout"
5560 if test "$enableval" = yes; then
5561 ac_cv_use_treelayout
='wxUSE_TREELAYOUT=yes'
5563 ac_cv_use_treelayout
='wxUSE_TREELAYOUT=no'
5568 LINE
=`grep "wxUSE_TREELAYOUT" ${wx_arg_cache_file}`
5569 if test "x$LINE" != x
; then
5570 eval "DEFAULT_$LINE"
5575 ac_cv_use_treelayout
='wxUSE_TREELAYOUT='$DEFAULT_wxUSE_TREELAYOUT
5580 eval "$ac_cv_use_treelayout"
5581 if test "$no_cache" != 1; then
5582 echo $ac_cv_use_treelayout >> ${wx_arg_cache_file}.tmp
5585 if test "$wxUSE_TREELAYOUT" = yes; then
5586 echo "$ac_t""yes" 1>&6
5588 echo "$ac_t""no" 1>&6
5594 echo $ac_n "checking for --enable-controls""... $ac_c" 1>&6
5595 echo "configure:5596: checking for --enable-controls" >&5
5597 # Check whether --enable-controls or --disable-controls was given.
5598 if test "${enable_controls+set}" = set; then
5599 enableval
="$enable_controls"
5601 if test "$enableval" = yes; then
5602 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
5604 ac_cv_use_controls
='wxUSE_CONTROLS=no'
5609 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
5610 if test "x$LINE" != x
; then
5611 eval "DEFAULT_$LINE"
5616 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
5621 eval "$ac_cv_use_controls"
5622 if test "$no_cache" != 1; then
5623 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
5626 if test "$wxUSE_CONTROLS" = yes; then
5627 echo "$ac_t""yes" 1>&6
5629 echo "$ac_t""no" 1>&6
5633 if test "$wxUSE_CONTROLS" = "yes"; then
5634 DEFAULT_wxUSE_ACCEL
=yes
5635 DEFAULT_wxUSE_BMPBUTTON
=yes
5636 DEFAULT_wxUSE_BUTTON
=yes
5637 DEFAULT_wxUSE_CALCTRL
=no
5638 DEFAULT_wxUSE_CARET
=yes
5639 DEFAULT_wxUSE_COMBOBOX
=yes
5640 DEFAULT_wxUSE_CHECKBOX
=yes
5641 DEFAULT_wxUSE_CHECKLISTBOX
=yes
5642 DEFAULT_wxUSE_CHOICE
=yes
5643 DEFAULT_wxUSE_GAUGE
=yes
5644 DEFAULT_wxUSE_GRID
=yes
5645 DEFAULT_wxUSE_NEW_GRID
=yes
5646 DEFAULT_wxUSE_IMAGLIST
=yes
5647 DEFAULT_wxUSE_LISTBOX
=yes
5648 DEFAULT_wxUSE_LISTCTRL
=yes
5649 DEFAULT_wxUSE_NOTEBOOK
=yes
5650 DEFAULT_wxUSE_PROPSHEET
=yes
5651 DEFAULT_wxUSE_RADIOBOX
=yes
5652 DEFAULT_wxUSE_RADIOBTN
=yes
5653 DEFAULT_wxUSE_SASH
=yes
5654 DEFAULT_wxUSE_SCROLLBAR
=yes
5655 DEFAULT_wxUSE_SLIDER
=yes
5656 DEFAULT_wxUSE_SPINBTN
=yes
5657 DEFAULT_wxUSE_SPINCTRL
=yes
5658 DEFAULT_wxUSE_SPLITTER
=yes
5659 DEFAULT_wxUSE_STATBMP
=yes
5660 DEFAULT_wxUSE_STATBOX
=yes
5661 DEFAULT_wxUSE_STATLINE
=yes
5662 DEFAULT_wxUSE_STATUSBAR
=yes
5663 DEFAULT_wxUSE_TAB_DIALOG
=yes
5664 DEFAULT_wxUSE_TOGGLEBTN
=yes
5665 DEFAULT_wxUSE_TOOLBAR
=yes
5666 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
5667 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
5668 DEFAULT_wxUSE_TOOLTIPS
=yes
5669 DEFAULT_wxUSE_TREECTRL
=yes
5670 DEFAULT_wxUSE_POPUPWIN
=yes
5671 DEFAULT_wxUSE_TIPWINDOW
=yes
5672 elif test "$wxUSE_CONTROLS" = "no"; then
5673 DEFAULT_wxUSE_ACCEL
=no
5674 DEFAULT_wxUSE_BMPBUTTON
=no
5675 DEFAULT_wxUSE_BUTTON
=no
5676 DEFAULT_wxUSE_CALCTRL
=no
5677 DEFAULT_wxUSE_CARET
=no
5678 DEFAULT_wxUSE_COMBOBOX
=no
5679 DEFAULT_wxUSE_CHECKBOX
=no
5680 DEFAULT_wxUSE_CHECKLISTBOX
=no
5681 DEFAULT_wxUSE_CHOICE
=no
5682 DEFAULT_wxUSE_GAUGE
=no
5683 DEFAULT_wxUSE_GRID
=no
5684 DEFAULT_wxUSE_NEW_GRID
=no
5685 DEFAULT_wxUSE_IMAGLIST
=no
5686 DEFAULT_wxUSE_LISTBOX
=no
5687 DEFAULT_wxUSE_LISTCTRL
=no
5688 DEFAULT_wxUSE_NOTEBOOK
=no
5689 DEFAULT_wxUSE_PROPSHEET
=no
5690 DEFAULT_wxUSE_RADIOBOX
=no
5691 DEFAULT_wxUSE_RADIOBTN
=no
5692 DEFAULT_wxUSE_SASH
=no
5693 DEFAULT_wxUSE_SCROLLBAR
=no
5694 DEFAULT_wxUSE_SLIDER
=no
5695 DEFAULT_wxUSE_SPINBTN
=no
5696 DEFAULT_wxUSE_SPINCTRL
=no
5697 DEFAULT_wxUSE_SPLITTER
=no
5698 DEFAULT_wxUSE_STATBMP
=no
5699 DEFAULT_wxUSE_STATBOX
=no
5700 DEFAULT_wxUSE_STATLINE
=no
5701 DEFAULT_wxUSE_STATUSBAR
=no
5702 DEFAULT_wxUSE_TAB_DIALOG
=no
5703 DEFAULT_wxUSE_TOGGLEBTN
=no
5704 DEFAULT_wxUSE_TOOLBAR
=no
5705 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
5706 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
5707 DEFAULT_wxUSE_TOOLTIPS
=no
5708 DEFAULT_wxUSE_TREECTRL
=no
5709 DEFAULT_wxUSE_POPUPWIN
=no
5710 DEFAULT_wxUSE_TIPWINDOW
=no
5714 echo $ac_n "checking for --enable-accel""... $ac_c" 1>&6
5715 echo "configure:5716: checking for --enable-accel" >&5
5717 # Check whether --enable-accel or --disable-accel was given.
5718 if test "${enable_accel+set}" = set; then
5719 enableval
="$enable_accel"
5721 if test "$enableval" = yes; then
5722 ac_cv_use_accel
='wxUSE_ACCEL=yes'
5724 ac_cv_use_accel
='wxUSE_ACCEL=no'
5729 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
5730 if test "x$LINE" != x
; then
5731 eval "DEFAULT_$LINE"
5736 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
5741 eval "$ac_cv_use_accel"
5742 if test "$no_cache" != 1; then
5743 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
5746 if test "$wxUSE_ACCEL" = yes; then
5747 echo "$ac_t""yes" 1>&6
5749 echo "$ac_t""no" 1>&6
5753 echo $ac_n "checking for --enable-button""... $ac_c" 1>&6
5754 echo "configure:5755: checking for --enable-button" >&5
5756 # Check whether --enable-button or --disable-button was given.
5757 if test "${enable_button+set}" = set; then
5758 enableval
="$enable_button"
5760 if test "$enableval" = yes; then
5761 ac_cv_use_button
='wxUSE_BUTTON=yes'
5763 ac_cv_use_button
='wxUSE_BUTTON=no'
5768 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
5769 if test "x$LINE" != x
; then
5770 eval "DEFAULT_$LINE"
5775 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
5780 eval "$ac_cv_use_button"
5781 if test "$no_cache" != 1; then
5782 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
5785 if test "$wxUSE_BUTTON" = yes; then
5786 echo "$ac_t""yes" 1>&6
5788 echo "$ac_t""no" 1>&6
5792 echo $ac_n "checking for --enable-bmpbutton""... $ac_c" 1>&6
5793 echo "configure:5794: checking for --enable-bmpbutton" >&5
5795 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
5796 if test "${enable_bmpbutton+set}" = set; then
5797 enableval
="$enable_bmpbutton"
5799 if test "$enableval" = yes; then
5800 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
5802 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
5807 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
5808 if test "x$LINE" != x
; then
5809 eval "DEFAULT_$LINE"
5814 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
5819 eval "$ac_cv_use_bmpbutton"
5820 if test "$no_cache" != 1; then
5821 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
5824 if test "$wxUSE_BMPBUTTON" = yes; then
5825 echo "$ac_t""yes" 1>&6
5827 echo "$ac_t""no" 1>&6
5831 echo $ac_n "checking for --enable-calendar""... $ac_c" 1>&6
5832 echo "configure:5833: checking for --enable-calendar" >&5
5834 # Check whether --enable-calendar or --disable-calendar was given.
5835 if test "${enable_calendar+set}" = set; then
5836 enableval
="$enable_calendar"
5838 if test "$enableval" = yes; then
5839 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
5841 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
5846 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
5847 if test "x$LINE" != x
; then
5848 eval "DEFAULT_$LINE"
5853 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
5858 eval "$ac_cv_use_calendar"
5859 if test "$no_cache" != 1; then
5860 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
5863 if test "$wxUSE_CALCTRL" = yes; then
5864 echo "$ac_t""yes" 1>&6
5866 echo "$ac_t""no" 1>&6
5870 echo $ac_n "checking for --enable-caret""... $ac_c" 1>&6
5871 echo "configure:5872: checking for --enable-caret" >&5
5873 # Check whether --enable-caret or --disable-caret was given.
5874 if test "${enable_caret+set}" = set; then
5875 enableval
="$enable_caret"
5877 if test "$enableval" = yes; then
5878 ac_cv_use_caret
='wxUSE_CARET=yes'
5880 ac_cv_use_caret
='wxUSE_CARET=no'
5885 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
5886 if test "x$LINE" != x
; then
5887 eval "DEFAULT_$LINE"
5892 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
5897 eval "$ac_cv_use_caret"
5898 if test "$no_cache" != 1; then
5899 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
5902 if test "$wxUSE_CARET" = yes; then
5903 echo "$ac_t""yes" 1>&6
5905 echo "$ac_t""no" 1>&6
5909 echo $ac_n "checking for --enable-checkbox""... $ac_c" 1>&6
5910 echo "configure:5911: checking for --enable-checkbox" >&5
5912 # Check whether --enable-checkbox or --disable-checkbox was given.
5913 if test "${enable_checkbox+set}" = set; then
5914 enableval
="$enable_checkbox"
5916 if test "$enableval" = yes; then
5917 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
5919 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
5924 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
5925 if test "x$LINE" != x
; then
5926 eval "DEFAULT_$LINE"
5931 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
5936 eval "$ac_cv_use_checkbox"
5937 if test "$no_cache" != 1; then
5938 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
5941 if test "$wxUSE_CHECKBOX" = yes; then
5942 echo "$ac_t""yes" 1>&6
5944 echo "$ac_t""no" 1>&6
5948 echo $ac_n "checking for --enable-checklst""... $ac_c" 1>&6
5949 echo "configure:5950: checking for --enable-checklst" >&5
5951 # Check whether --enable-checklst or --disable-checklst was given.
5952 if test "${enable_checklst+set}" = set; then
5953 enableval
="$enable_checklst"
5955 if test "$enableval" = yes; then
5956 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
5958 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
5963 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
5964 if test "x$LINE" != x
; then
5965 eval "DEFAULT_$LINE"
5970 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
5975 eval "$ac_cv_use_checklst"
5976 if test "$no_cache" != 1; then
5977 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
5980 if test "$wxUSE_CHECKLST" = yes; then
5981 echo "$ac_t""yes" 1>&6
5983 echo "$ac_t""no" 1>&6
5987 echo $ac_n "checking for --enable-choice""... $ac_c" 1>&6
5988 echo "configure:5989: checking for --enable-choice" >&5
5990 # Check whether --enable-choice or --disable-choice was given.
5991 if test "${enable_choice+set}" = set; then
5992 enableval
="$enable_choice"
5994 if test "$enableval" = yes; then
5995 ac_cv_use_choice
='wxUSE_CHOICE=yes'
5997 ac_cv_use_choice
='wxUSE_CHOICE=no'
6002 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
6003 if test "x$LINE" != x
; then
6004 eval "DEFAULT_$LINE"
6009 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
6014 eval "$ac_cv_use_choice"
6015 if test "$no_cache" != 1; then
6016 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
6019 if test "$wxUSE_CHOICE" = yes; then
6020 echo "$ac_t""yes" 1>&6
6022 echo "$ac_t""no" 1>&6
6026 echo $ac_n "checking for --enable-combobox""... $ac_c" 1>&6
6027 echo "configure:6028: checking for --enable-combobox" >&5
6029 # Check whether --enable-combobox or --disable-combobox was given.
6030 if test "${enable_combobox+set}" = set; then
6031 enableval
="$enable_combobox"
6033 if test "$enableval" = yes; then
6034 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
6036 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
6041 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
6042 if test "x$LINE" != x
; then
6043 eval "DEFAULT_$LINE"
6048 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
6053 eval "$ac_cv_use_combobox"
6054 if test "$no_cache" != 1; then
6055 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
6058 if test "$wxUSE_COMBOBOX" = yes; then
6059 echo "$ac_t""yes" 1>&6
6061 echo "$ac_t""no" 1>&6
6065 echo $ac_n "checking for --enable-gauge""... $ac_c" 1>&6
6066 echo "configure:6067: checking for --enable-gauge" >&5
6068 # Check whether --enable-gauge or --disable-gauge was given.
6069 if test "${enable_gauge+set}" = set; then
6070 enableval
="$enable_gauge"
6072 if test "$enableval" = yes; then
6073 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
6075 ac_cv_use_gauge
='wxUSE_GAUGE=no'
6080 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
6081 if test "x$LINE" != x
; then
6082 eval "DEFAULT_$LINE"
6087 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
6092 eval "$ac_cv_use_gauge"
6093 if test "$no_cache" != 1; then
6094 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
6097 if test "$wxUSE_GAUGE" = yes; then
6098 echo "$ac_t""yes" 1>&6
6100 echo "$ac_t""no" 1>&6
6104 echo $ac_n "checking for --enable-grid""... $ac_c" 1>&6
6105 echo "configure:6106: checking for --enable-grid" >&5
6107 # Check whether --enable-grid or --disable-grid was given.
6108 if test "${enable_grid+set}" = set; then
6109 enableval
="$enable_grid"
6111 if test "$enableval" = yes; then
6112 ac_cv_use_grid
='wxUSE_GRID=yes'
6114 ac_cv_use_grid
='wxUSE_GRID=no'
6119 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
6120 if test "x$LINE" != x
; then
6121 eval "DEFAULT_$LINE"
6126 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
6131 eval "$ac_cv_use_grid"
6132 if test "$no_cache" != 1; then
6133 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
6136 if test "$wxUSE_GRID" = yes; then
6137 echo "$ac_t""yes" 1>&6
6139 echo "$ac_t""no" 1>&6
6143 echo $ac_n "checking for --enable-newgrid""... $ac_c" 1>&6
6144 echo "configure:6145: checking for --enable-newgrid" >&5
6146 # Check whether --enable-newgrid or --disable-newgrid was given.
6147 if test "${enable_newgrid+set}" = set; then
6148 enableval
="$enable_newgrid"
6150 if test "$enableval" = yes; then
6151 ac_cv_use_newgrid
='wxUSE_NEW_GRID=yes'
6153 ac_cv_use_newgrid
='wxUSE_NEW_GRID=no'
6158 LINE
=`grep "wxUSE_NEW_GRID" ${wx_arg_cache_file}`
6159 if test "x$LINE" != x
; then
6160 eval "DEFAULT_$LINE"
6165 ac_cv_use_newgrid
='wxUSE_NEW_GRID='$DEFAULT_wxUSE_NEW_GRID
6170 eval "$ac_cv_use_newgrid"
6171 if test "$no_cache" != 1; then
6172 echo $ac_cv_use_newgrid >> ${wx_arg_cache_file}.tmp
6175 if test "$wxUSE_NEW_GRID" = yes; then
6176 echo "$ac_t""yes" 1>&6
6178 echo "$ac_t""no" 1>&6
6182 echo $ac_n "checking for --enable-imaglist""... $ac_c" 1>&6
6183 echo "configure:6184: checking for --enable-imaglist" >&5
6185 # Check whether --enable-imaglist or --disable-imaglist was given.
6186 if test "${enable_imaglist+set}" = set; then
6187 enableval
="$enable_imaglist"
6189 if test "$enableval" = yes; then
6190 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
6192 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
6197 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
6198 if test "x$LINE" != x
; then
6199 eval "DEFAULT_$LINE"
6204 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
6209 eval "$ac_cv_use_imaglist"
6210 if test "$no_cache" != 1; then
6211 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
6214 if test "$wxUSE_IMAGLIST" = yes; then
6215 echo "$ac_t""yes" 1>&6
6217 echo "$ac_t""no" 1>&6
6221 echo $ac_n "checking for --enable-listbox""... $ac_c" 1>&6
6222 echo "configure:6223: checking for --enable-listbox" >&5
6224 # Check whether --enable-listbox or --disable-listbox was given.
6225 if test "${enable_listbox+set}" = set; then
6226 enableval
="$enable_listbox"
6228 if test "$enableval" = yes; then
6229 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
6231 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
6236 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
6237 if test "x$LINE" != x
; then
6238 eval "DEFAULT_$LINE"
6243 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
6248 eval "$ac_cv_use_listbox"
6249 if test "$no_cache" != 1; then
6250 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
6253 if test "$wxUSE_LISTBOX" = yes; then
6254 echo "$ac_t""yes" 1>&6
6256 echo "$ac_t""no" 1>&6
6260 echo $ac_n "checking for --enable-listctrl""... $ac_c" 1>&6
6261 echo "configure:6262: checking for --enable-listctrl" >&5
6263 # Check whether --enable-listctrl or --disable-listctrl was given.
6264 if test "${enable_listctrl+set}" = set; then
6265 enableval
="$enable_listctrl"
6267 if test "$enableval" = yes; then
6268 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
6270 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
6275 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
6276 if test "x$LINE" != x
; then
6277 eval "DEFAULT_$LINE"
6282 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
6287 eval "$ac_cv_use_listctrl"
6288 if test "$no_cache" != 1; then
6289 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
6292 if test "$wxUSE_LISTCTRL" = yes; then
6293 echo "$ac_t""yes" 1>&6
6295 echo "$ac_t""no" 1>&6
6299 echo $ac_n "checking for --enable-notebook""... $ac_c" 1>&6
6300 echo "configure:6301: checking for --enable-notebook" >&5
6302 # Check whether --enable-notebook or --disable-notebook was given.
6303 if test "${enable_notebook+set}" = set; then
6304 enableval
="$enable_notebook"
6306 if test "$enableval" = yes; then
6307 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
6309 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
6314 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
6315 if test "x$LINE" != x
; then
6316 eval "DEFAULT_$LINE"
6321 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
6326 eval "$ac_cv_use_notebook"
6327 if test "$no_cache" != 1; then
6328 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
6331 if test "$wxUSE_NOTEBOOK" = yes; then
6332 echo "$ac_t""yes" 1>&6
6334 echo "$ac_t""no" 1>&6
6338 echo $ac_n "checking for --enable-propsheet""... $ac_c" 1>&6
6339 echo "configure:6340: checking for --enable-propsheet" >&5
6341 # Check whether --enable-propsheet or --disable-propsheet was given.
6342 if test "${enable_propsheet+set}" = set; then
6343 enableval
="$enable_propsheet"
6345 if test "$enableval" = yes; then
6346 ac_cv_use_propsheet
='wxUSE_PROPSHEET=yes'
6348 ac_cv_use_propsheet
='wxUSE_PROPSHEET=no'
6353 LINE
=`grep "wxUSE_PROPSHEET" ${wx_arg_cache_file}`
6354 if test "x$LINE" != x
; then
6355 eval "DEFAULT_$LINE"
6360 ac_cv_use_propsheet
='wxUSE_PROPSHEET='$DEFAULT_wxUSE_PROPSHEET
6365 eval "$ac_cv_use_propsheet"
6366 if test "$no_cache" != 1; then
6367 echo $ac_cv_use_propsheet >> ${wx_arg_cache_file}.tmp
6370 if test "$wxUSE_PROPSHEET" = yes; then
6371 echo "$ac_t""yes" 1>&6
6373 echo "$ac_t""no" 1>&6
6377 echo $ac_n "checking for --enable-radiobox""... $ac_c" 1>&6
6378 echo "configure:6379: checking for --enable-radiobox" >&5
6380 # Check whether --enable-radiobox or --disable-radiobox was given.
6381 if test "${enable_radiobox+set}" = set; then
6382 enableval
="$enable_radiobox"
6384 if test "$enableval" = yes; then
6385 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
6387 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
6392 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
6393 if test "x$LINE" != x
; then
6394 eval "DEFAULT_$LINE"
6399 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
6404 eval "$ac_cv_use_radiobox"
6405 if test "$no_cache" != 1; then
6406 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
6409 if test "$wxUSE_RADIOBOX" = yes; then
6410 echo "$ac_t""yes" 1>&6
6412 echo "$ac_t""no" 1>&6
6416 echo $ac_n "checking for --enable-radiobtn""... $ac_c" 1>&6
6417 echo "configure:6418: checking for --enable-radiobtn" >&5
6419 # Check whether --enable-radiobtn or --disable-radiobtn was given.
6420 if test "${enable_radiobtn+set}" = set; then
6421 enableval
="$enable_radiobtn"
6423 if test "$enableval" = yes; then
6424 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
6426 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
6431 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
6432 if test "x$LINE" != x
; then
6433 eval "DEFAULT_$LINE"
6438 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
6443 eval "$ac_cv_use_radiobtn"
6444 if test "$no_cache" != 1; then
6445 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
6448 if test "$wxUSE_RADIOBTN" = yes; then
6449 echo "$ac_t""yes" 1>&6
6451 echo "$ac_t""no" 1>&6
6455 echo $ac_n "checking for --enable-sash""... $ac_c" 1>&6
6456 echo "configure:6457: checking for --enable-sash" >&5
6458 # Check whether --enable-sash or --disable-sash was given.
6459 if test "${enable_sash+set}" = set; then
6460 enableval
="$enable_sash"
6462 if test "$enableval" = yes; then
6463 ac_cv_use_sash
='wxUSE_SASH=yes'
6465 ac_cv_use_sash
='wxUSE_SASH=no'
6470 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
6471 if test "x$LINE" != x
; then
6472 eval "DEFAULT_$LINE"
6477 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
6482 eval "$ac_cv_use_sash"
6483 if test "$no_cache" != 1; then
6484 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
6487 if test "$wxUSE_SASH" = yes; then
6488 echo "$ac_t""yes" 1>&6
6490 echo "$ac_t""no" 1>&6
6494 echo $ac_n "checking for --enable-scrollbar""... $ac_c" 1>&6
6495 echo "configure:6496: checking for --enable-scrollbar" >&5
6497 # Check whether --enable-scrollbar or --disable-scrollbar was given.
6498 if test "${enable_scrollbar+set}" = set; then
6499 enableval
="$enable_scrollbar"
6501 if test "$enableval" = yes; then
6502 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
6504 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
6509 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
6510 if test "x$LINE" != x
; then
6511 eval "DEFAULT_$LINE"
6516 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
6521 eval "$ac_cv_use_scrollbar"
6522 if test "$no_cache" != 1; then
6523 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
6526 if test "$wxUSE_SCROLLBAR" = yes; then
6527 echo "$ac_t""yes" 1>&6
6529 echo "$ac_t""no" 1>&6
6533 echo $ac_n "checking for --enable-slider""... $ac_c" 1>&6
6534 echo "configure:6535: checking for --enable-slider" >&5
6536 # Check whether --enable-slider or --disable-slider was given.
6537 if test "${enable_slider+set}" = set; then
6538 enableval
="$enable_slider"
6540 if test "$enableval" = yes; then
6541 ac_cv_use_slider
='wxUSE_SLIDER=yes'
6543 ac_cv_use_slider
='wxUSE_SLIDER=no'
6548 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
6549 if test "x$LINE" != x
; then
6550 eval "DEFAULT_$LINE"
6555 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
6560 eval "$ac_cv_use_slider"
6561 if test "$no_cache" != 1; then
6562 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
6565 if test "$wxUSE_SLIDER" = yes; then
6566 echo "$ac_t""yes" 1>&6
6568 echo "$ac_t""no" 1>&6
6572 echo $ac_n "checking for --enable-spinbtn""... $ac_c" 1>&6
6573 echo "configure:6574: checking for --enable-spinbtn" >&5
6575 # Check whether --enable-spinbtn or --disable-spinbtn was given.
6576 if test "${enable_spinbtn+set}" = set; then
6577 enableval
="$enable_spinbtn"
6579 if test "$enableval" = yes; then
6580 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
6582 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
6587 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
6588 if test "x$LINE" != x
; then
6589 eval "DEFAULT_$LINE"
6594 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
6599 eval "$ac_cv_use_spinbtn"
6600 if test "$no_cache" != 1; then
6601 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
6604 if test "$wxUSE_SPINBTN" = yes; then
6605 echo "$ac_t""yes" 1>&6
6607 echo "$ac_t""no" 1>&6
6611 echo $ac_n "checking for --enable-spinctrl""... $ac_c" 1>&6
6612 echo "configure:6613: checking for --enable-spinctrl" >&5
6614 # Check whether --enable-spinctrl or --disable-spinctrl was given.
6615 if test "${enable_spinctrl+set}" = set; then
6616 enableval
="$enable_spinctrl"
6618 if test "$enableval" = yes; then
6619 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
6621 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
6626 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
6627 if test "x$LINE" != x
; then
6628 eval "DEFAULT_$LINE"
6633 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
6638 eval "$ac_cv_use_spinctrl"
6639 if test "$no_cache" != 1; then
6640 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
6643 if test "$wxUSE_SPINCTRL" = yes; then
6644 echo "$ac_t""yes" 1>&6
6646 echo "$ac_t""no" 1>&6
6650 echo $ac_n "checking for --enable-splitter""... $ac_c" 1>&6
6651 echo "configure:6652: checking for --enable-splitter" >&5
6653 # Check whether --enable-splitter or --disable-splitter was given.
6654 if test "${enable_splitter+set}" = set; then
6655 enableval
="$enable_splitter"
6657 if test "$enableval" = yes; then
6658 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
6660 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
6665 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
6666 if test "x$LINE" != x
; then
6667 eval "DEFAULT_$LINE"
6672 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
6677 eval "$ac_cv_use_splitter"
6678 if test "$no_cache" != 1; then
6679 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
6682 if test "$wxUSE_SPLITTER" = yes; then
6683 echo "$ac_t""yes" 1>&6
6685 echo "$ac_t""no" 1>&6
6689 echo $ac_n "checking for --enable-statbmp""... $ac_c" 1>&6
6690 echo "configure:6691: checking for --enable-statbmp" >&5
6692 # Check whether --enable-statbmp or --disable-statbmp was given.
6693 if test "${enable_statbmp+set}" = set; then
6694 enableval
="$enable_statbmp"
6696 if test "$enableval" = yes; then
6697 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
6699 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
6704 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
6705 if test "x$LINE" != x
; then
6706 eval "DEFAULT_$LINE"
6711 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
6716 eval "$ac_cv_use_statbmp"
6717 if test "$no_cache" != 1; then
6718 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
6721 if test "$wxUSE_STATBMP" = yes; then
6722 echo "$ac_t""yes" 1>&6
6724 echo "$ac_t""no" 1>&6
6728 echo $ac_n "checking for --enable-statbox""... $ac_c" 1>&6
6729 echo "configure:6730: checking for --enable-statbox" >&5
6731 # Check whether --enable-statbox or --disable-statbox was given.
6732 if test "${enable_statbox+set}" = set; then
6733 enableval
="$enable_statbox"
6735 if test "$enableval" = yes; then
6736 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
6738 ac_cv_use_statbox
='wxUSE_STATBOX=no'
6743 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
6744 if test "x$LINE" != x
; then
6745 eval "DEFAULT_$LINE"
6750 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
6755 eval "$ac_cv_use_statbox"
6756 if test "$no_cache" != 1; then
6757 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
6760 if test "$wxUSE_STATBOX" = yes; then
6761 echo "$ac_t""yes" 1>&6
6763 echo "$ac_t""no" 1>&6
6767 echo $ac_n "checking for --enable-statline""... $ac_c" 1>&6
6768 echo "configure:6769: checking for --enable-statline" >&5
6770 # Check whether --enable-statline or --disable-statline was given.
6771 if test "${enable_statline+set}" = set; then
6772 enableval
="$enable_statline"
6774 if test "$enableval" = yes; then
6775 ac_cv_use_statline
='wxUSE_STATLINE=yes'
6777 ac_cv_use_statline
='wxUSE_STATLINE=no'
6782 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
6783 if test "x$LINE" != x
; then
6784 eval "DEFAULT_$LINE"
6789 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
6794 eval "$ac_cv_use_statline"
6795 if test "$no_cache" != 1; then
6796 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
6799 if test "$wxUSE_STATLINE" = yes; then
6800 echo "$ac_t""yes" 1>&6
6802 echo "$ac_t""no" 1>&6
6806 echo $ac_n "checking for --enable-stattext""... $ac_c" 1>&6
6807 echo "configure:6808: checking for --enable-stattext" >&5
6809 # Check whether --enable-stattext or --disable-stattext was given.
6810 if test "${enable_stattext+set}" = set; then
6811 enableval
="$enable_stattext"
6813 if test "$enableval" = yes; then
6814 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
6816 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
6821 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
6822 if test "x$LINE" != x
; then
6823 eval "DEFAULT_$LINE"
6828 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
6833 eval "$ac_cv_use_stattext"
6834 if test "$no_cache" != 1; then
6835 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
6838 if test "$wxUSE_STATTEXT" = yes; then
6839 echo "$ac_t""yes" 1>&6
6841 echo "$ac_t""no" 1>&6
6845 echo $ac_n "checking for --enable-statusbar""... $ac_c" 1>&6
6846 echo "configure:6847: checking for --enable-statusbar" >&5
6848 # Check whether --enable-statusbar or --disable-statusbar was given.
6849 if test "${enable_statusbar+set}" = set; then
6850 enableval
="$enable_statusbar"
6852 if test "$enableval" = yes; then
6853 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
6855 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
6860 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
6861 if test "x$LINE" != x
; then
6862 eval "DEFAULT_$LINE"
6867 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
6872 eval "$ac_cv_use_statusbar"
6873 if test "$no_cache" != 1; then
6874 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
6877 if test "$wxUSE_STATUSBAR" = yes; then
6878 echo "$ac_t""yes" 1>&6
6880 echo "$ac_t""no" 1>&6
6884 echo $ac_n "checking for --enable-tabdialog""... $ac_c" 1>&6
6885 echo "configure:6886: checking for --enable-tabdialog" >&5
6887 # Check whether --enable-tabdialog or --disable-tabdialog was given.
6888 if test "${enable_tabdialog+set}" = set; then
6889 enableval
="$enable_tabdialog"
6891 if test "$enableval" = yes; then
6892 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
6894 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
6899 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
6900 if test "x$LINE" != x
; then
6901 eval "DEFAULT_$LINE"
6906 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
6911 eval "$ac_cv_use_tabdialog"
6912 if test "$no_cache" != 1; then
6913 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
6916 if test "$wxUSE_TABDIALOG" = yes; then
6917 echo "$ac_t""yes" 1>&6
6919 echo "$ac_t""no" 1>&6
6923 echo $ac_n "checking for --enable-textctrl""... $ac_c" 1>&6
6924 echo "configure:6925: checking for --enable-textctrl" >&5
6926 # Check whether --enable-textctrl or --disable-textctrl was given.
6927 if test "${enable_textctrl+set}" = set; then
6928 enableval
="$enable_textctrl"
6930 if test "$enableval" = yes; then
6931 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
6933 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
6938 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
6939 if test "x$LINE" != x
; then
6940 eval "DEFAULT_$LINE"
6945 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
6950 eval "$ac_cv_use_textctrl"
6951 if test "$no_cache" != 1; then
6952 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
6955 if test "$wxUSE_TEXTCTRL" = yes; then
6956 echo "$ac_t""yes" 1>&6
6958 echo "$ac_t""no" 1>&6
6962 echo $ac_n "checking for --enable-togglebtn""... $ac_c" 1>&6
6963 echo "configure:6964: checking for --enable-togglebtn" >&5
6965 # Check whether --enable-togglebtn or --disable-togglebtn was given.
6966 if test "${enable_togglebtn+set}" = set; then
6967 enableval
="$enable_togglebtn"
6969 if test "$enableval" = yes; then
6970 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
6972 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
6977 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
6978 if test "x$LINE" != x
; then
6979 eval "DEFAULT_$LINE"
6984 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
6989 eval "$ac_cv_use_togglebtn"
6990 if test "$no_cache" != 1; then
6991 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
6994 if test "$wxUSE_TOGGLEBTN" = yes; then
6995 echo "$ac_t""yes" 1>&6
6997 echo "$ac_t""no" 1>&6
7001 echo $ac_n "checking for --enable-toolbar""... $ac_c" 1>&6
7002 echo "configure:7003: checking for --enable-toolbar" >&5
7004 # Check whether --enable-toolbar or --disable-toolbar was given.
7005 if test "${enable_toolbar+set}" = set; then
7006 enableval
="$enable_toolbar"
7008 if test "$enableval" = yes; then
7009 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
7011 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
7016 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
7017 if test "x$LINE" != x
; then
7018 eval "DEFAULT_$LINE"
7023 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
7028 eval "$ac_cv_use_toolbar"
7029 if test "$no_cache" != 1; then
7030 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
7033 if test "$wxUSE_TOOLBAR" = yes; then
7034 echo "$ac_t""yes" 1>&6
7036 echo "$ac_t""no" 1>&6
7040 echo $ac_n "checking for --enable-tbarnative""... $ac_c" 1>&6
7041 echo "configure:7042: checking for --enable-tbarnative" >&5
7043 # Check whether --enable-tbarnative or --disable-tbarnative was given.
7044 if test "${enable_tbarnative+set}" = set; then
7045 enableval
="$enable_tbarnative"
7047 if test "$enableval" = yes; then
7048 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
7050 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
7055 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
7056 if test "x$LINE" != x
; then
7057 eval "DEFAULT_$LINE"
7062 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
7067 eval "$ac_cv_use_tbarnative"
7068 if test "$no_cache" != 1; then
7069 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
7072 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
7073 echo "$ac_t""yes" 1>&6
7075 echo "$ac_t""no" 1>&6
7079 echo $ac_n "checking for --enable-tbarsmpl""... $ac_c" 1>&6
7080 echo "configure:7081: checking for --enable-tbarsmpl" >&5
7082 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
7083 if test "${enable_tbarsmpl+set}" = set; then
7084 enableval
="$enable_tbarsmpl"
7086 if test "$enableval" = yes; then
7087 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
7089 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
7094 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
7095 if test "x$LINE" != x
; then
7096 eval "DEFAULT_$LINE"
7101 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
7106 eval "$ac_cv_use_tbarsmpl"
7107 if test "$no_cache" != 1; then
7108 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
7111 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
7112 echo "$ac_t""yes" 1>&6
7114 echo "$ac_t""no" 1>&6
7118 echo $ac_n "checking for --enable-treectrl""... $ac_c" 1>&6
7119 echo "configure:7120: checking for --enable-treectrl" >&5
7121 # Check whether --enable-treectrl or --disable-treectrl was given.
7122 if test "${enable_treectrl+set}" = set; then
7123 enableval
="$enable_treectrl"
7125 if test "$enableval" = yes; then
7126 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
7128 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
7133 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
7134 if test "x$LINE" != x
; then
7135 eval "DEFAULT_$LINE"
7140 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
7145 eval "$ac_cv_use_treectrl"
7146 if test "$no_cache" != 1; then
7147 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
7150 if test "$wxUSE_TREECTRL" = yes; then
7151 echo "$ac_t""yes" 1>&6
7153 echo "$ac_t""no" 1>&6
7157 echo $ac_n "checking for --enable-tipwindow""... $ac_c" 1>&6
7158 echo "configure:7159: checking for --enable-tipwindow" >&5
7160 # Check whether --enable-tipwindow or --disable-tipwindow was given.
7161 if test "${enable_tipwindow+set}" = set; then
7162 enableval
="$enable_tipwindow"
7164 if test "$enableval" = yes; then
7165 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
7167 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
7172 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
7173 if test "x$LINE" != x
; then
7174 eval "DEFAULT_$LINE"
7179 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
7184 eval "$ac_cv_use_tipwindow"
7185 if test "$no_cache" != 1; then
7186 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
7189 if test "$wxUSE_TIPWINDOW" = yes; then
7190 echo "$ac_t""yes" 1>&6
7192 echo "$ac_t""no" 1>&6
7196 echo $ac_n "checking for --enable-popupwin""... $ac_c" 1>&6
7197 echo "configure:7198: checking for --enable-popupwin" >&5
7199 # Check whether --enable-popupwin or --disable-popupwin was given.
7200 if test "${enable_popupwin+set}" = set; then
7201 enableval
="$enable_popupwin"
7203 if test "$enableval" = yes; then
7204 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
7206 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
7211 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
7212 if test "x$LINE" != x
; then
7213 eval "DEFAULT_$LINE"
7218 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
7223 eval "$ac_cv_use_popupwin"
7224 if test "$no_cache" != 1; then
7225 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
7228 if test "$wxUSE_POPUPWIN" = yes; then
7229 echo "$ac_t""yes" 1>&6
7231 echo "$ac_t""no" 1>&6
7237 echo $ac_n "checking for --enable-commondlg""... $ac_c" 1>&6
7238 echo "configure:7239: checking for --enable-commondlg" >&5
7240 # Check whether --enable-commondlg or --disable-commondlg was given.
7241 if test "${enable_commondlg+set}" = set; then
7242 enableval
="$enable_commondlg"
7244 if test "$enableval" = yes; then
7245 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
7247 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
7252 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
7253 if test "x$LINE" != x
; then
7254 eval "DEFAULT_$LINE"
7259 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
7264 eval "$ac_cv_use_commondlg"
7265 if test "$no_cache" != 1; then
7266 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
7269 if test "$wxUSE_COMMONDLGS" = yes; then
7270 echo "$ac_t""yes" 1>&6
7272 echo "$ac_t""no" 1>&6
7276 echo $ac_n "checking for --enable-choicedlg""... $ac_c" 1>&6
7277 echo "configure:7278: checking for --enable-choicedlg" >&5
7279 # Check whether --enable-choicedlg or --disable-choicedlg was given.
7280 if test "${enable_choicedlg+set}" = set; then
7281 enableval
="$enable_choicedlg"
7283 if test "$enableval" = yes; then
7284 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
7286 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
7291 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
7292 if test "x$LINE" != x
; then
7293 eval "DEFAULT_$LINE"
7298 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
7303 eval "$ac_cv_use_choicedlg"
7304 if test "$no_cache" != 1; then
7305 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
7308 if test "$wxUSE_CHOICEDLG" = yes; then
7309 echo "$ac_t""yes" 1>&6
7311 echo "$ac_t""no" 1>&6
7315 echo $ac_n "checking for --enable-coldlg""... $ac_c" 1>&6
7316 echo "configure:7317: checking for --enable-coldlg" >&5
7318 # Check whether --enable-coldlg or --disable-coldlg was given.
7319 if test "${enable_coldlg+set}" = set; then
7320 enableval
="$enable_coldlg"
7322 if test "$enableval" = yes; then
7323 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
7325 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
7330 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
7331 if test "x$LINE" != x
; then
7332 eval "DEFAULT_$LINE"
7337 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
7342 eval "$ac_cv_use_coldlg"
7343 if test "$no_cache" != 1; then
7344 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
7347 if test "$wxUSE_COLOURDLG" = yes; then
7348 echo "$ac_t""yes" 1>&6
7350 echo "$ac_t""no" 1>&6
7354 echo $ac_n "checking for --enable-filedlg""... $ac_c" 1>&6
7355 echo "configure:7356: checking for --enable-filedlg" >&5
7357 # Check whether --enable-filedlg or --disable-filedlg was given.
7358 if test "${enable_filedlg+set}" = set; then
7359 enableval
="$enable_filedlg"
7361 if test "$enableval" = yes; then
7362 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
7364 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
7369 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
7370 if test "x$LINE" != x
; then
7371 eval "DEFAULT_$LINE"
7376 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
7381 eval "$ac_cv_use_filedlg"
7382 if test "$no_cache" != 1; then
7383 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
7386 if test "$wxUSE_FILEDLG" = yes; then
7387 echo "$ac_t""yes" 1>&6
7389 echo "$ac_t""no" 1>&6
7393 echo $ac_n "checking for --enable-finddlg""... $ac_c" 1>&6
7394 echo "configure:7395: checking for --enable-finddlg" >&5
7396 # Check whether --enable-finddlg or --disable-finddlg was given.
7397 if test "${enable_finddlg+set}" = set; then
7398 enableval
="$enable_finddlg"
7400 if test "$enableval" = yes; then
7401 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
7403 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
7408 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
7409 if test "x$LINE" != x
; then
7410 eval "DEFAULT_$LINE"
7415 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
7420 eval "$ac_cv_use_finddlg"
7421 if test "$no_cache" != 1; then
7422 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
7425 if test "$wxUSE_FINDREPLDLG" = yes; then
7426 echo "$ac_t""yes" 1>&6
7428 echo "$ac_t""no" 1>&6
7432 echo $ac_n "checking for --enable-fontdlg""... $ac_c" 1>&6
7433 echo "configure:7434: checking for --enable-fontdlg" >&5
7435 # Check whether --enable-fontdlg or --disable-fontdlg was given.
7436 if test "${enable_fontdlg+set}" = set; then
7437 enableval
="$enable_fontdlg"
7439 if test "$enableval" = yes; then
7440 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
7442 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
7447 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
7448 if test "x$LINE" != x
; then
7449 eval "DEFAULT_$LINE"
7454 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
7459 eval "$ac_cv_use_fontdlg"
7460 if test "$no_cache" != 1; then
7461 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
7464 if test "$wxUSE_FONTDLG" = yes; then
7465 echo "$ac_t""yes" 1>&6
7467 echo "$ac_t""no" 1>&6
7471 echo $ac_n "checking for --enable-dirdlg""... $ac_c" 1>&6
7472 echo "configure:7473: checking for --enable-dirdlg" >&5
7474 # Check whether --enable-dirdlg or --disable-dirdlg was given.
7475 if test "${enable_dirdlg+set}" = set; then
7476 enableval
="$enable_dirdlg"
7478 if test "$enableval" = yes; then
7479 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
7481 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
7486 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
7487 if test "x$LINE" != x
; then
7488 eval "DEFAULT_$LINE"
7493 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
7498 eval "$ac_cv_use_dirdlg"
7499 if test "$no_cache" != 1; then
7500 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
7503 if test "$wxUSE_DIRDLG" = yes; then
7504 echo "$ac_t""yes" 1>&6
7506 echo "$ac_t""no" 1>&6
7510 echo $ac_n "checking for --enable-msgdlg""... $ac_c" 1>&6
7511 echo "configure:7512: checking for --enable-msgdlg" >&5
7513 # Check whether --enable-msgdlg or --disable-msgdlg was given.
7514 if test "${enable_msgdlg+set}" = set; then
7515 enableval
="$enable_msgdlg"
7517 if test "$enableval" = yes; then
7518 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
7520 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
7525 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
7526 if test "x$LINE" != x
; then
7527 eval "DEFAULT_$LINE"
7532 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
7537 eval "$ac_cv_use_msgdlg"
7538 if test "$no_cache" != 1; then
7539 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
7542 if test "$wxUSE_MSGDLG" = yes; then
7543 echo "$ac_t""yes" 1>&6
7545 echo "$ac_t""no" 1>&6
7549 echo $ac_n "checking for --enable-numberdlg""... $ac_c" 1>&6
7550 echo "configure:7551: checking for --enable-numberdlg" >&5
7552 # Check whether --enable-numberdlg or --disable-numberdlg was given.
7553 if test "${enable_numberdlg+set}" = set; then
7554 enableval
="$enable_numberdlg"
7556 if test "$enableval" = yes; then
7557 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
7559 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
7564 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
7565 if test "x$LINE" != x
; then
7566 eval "DEFAULT_$LINE"
7571 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
7576 eval "$ac_cv_use_numberdlg"
7577 if test "$no_cache" != 1; then
7578 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
7581 if test "$wxUSE_NUMBERDLG" = yes; then
7582 echo "$ac_t""yes" 1>&6
7584 echo "$ac_t""no" 1>&6
7588 echo $ac_n "checking for --enable-splash""... $ac_c" 1>&6
7589 echo "configure:7590: checking for --enable-splash" >&5
7591 # Check whether --enable-splash or --disable-splash was given.
7592 if test "${enable_splash+set}" = set; then
7593 enableval
="$enable_splash"
7595 if test "$enableval" = yes; then
7596 ac_cv_use_splash
='wxUSE_SPLASH=yes'
7598 ac_cv_use_splash
='wxUSE_SPLASH=no'
7603 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
7604 if test "x$LINE" != x
; then
7605 eval "DEFAULT_$LINE"
7610 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
7615 eval "$ac_cv_use_splash"
7616 if test "$no_cache" != 1; then
7617 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
7620 if test "$wxUSE_SPLASH" = yes; then
7621 echo "$ac_t""yes" 1>&6
7623 echo "$ac_t""no" 1>&6
7627 echo $ac_n "checking for --enable-textdlg""... $ac_c" 1>&6
7628 echo "configure:7629: checking for --enable-textdlg" >&5
7630 # Check whether --enable-textdlg or --disable-textdlg was given.
7631 if test "${enable_textdlg+set}" = set; then
7632 enableval
="$enable_textdlg"
7634 if test "$enableval" = yes; then
7635 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
7637 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
7642 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
7643 if test "x$LINE" != x
; then
7644 eval "DEFAULT_$LINE"
7649 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
7654 eval "$ac_cv_use_textdlg"
7655 if test "$no_cache" != 1; then
7656 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
7659 if test "$wxUSE_TEXTDLG" = yes; then
7660 echo "$ac_t""yes" 1>&6
7662 echo "$ac_t""no" 1>&6
7666 echo $ac_n "checking for --enable-tipdlg""... $ac_c" 1>&6
7667 echo "configure:7668: checking for --enable-tipdlg" >&5
7669 # Check whether --enable-tipdlg or --disable-tipdlg was given.
7670 if test "${enable_tipdlg+set}" = set; then
7671 enableval
="$enable_tipdlg"
7673 if test "$enableval" = yes; then
7674 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
7676 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
7681 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
7682 if test "x$LINE" != x
; then
7683 eval "DEFAULT_$LINE"
7688 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
7693 eval "$ac_cv_use_tipdlg"
7694 if test "$no_cache" != 1; then
7695 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
7698 if test "$wxUSE_STARTUP_TIPS" = yes; then
7699 echo "$ac_t""yes" 1>&6
7701 echo "$ac_t""no" 1>&6
7705 echo $ac_n "checking for --enable-progressdlg""... $ac_c" 1>&6
7706 echo "configure:7707: checking for --enable-progressdlg" >&5
7708 # Check whether --enable-progressdlg or --disable-progressdlg was given.
7709 if test "${enable_progressdlg+set}" = set; then
7710 enableval
="$enable_progressdlg"
7712 if test "$enableval" = yes; then
7713 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
7715 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
7720 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
7721 if test "x$LINE" != x
; then
7722 eval "DEFAULT_$LINE"
7727 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
7732 eval "$ac_cv_use_progressdlg"
7733 if test "$no_cache" != 1; then
7734 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
7737 if test "$wxUSE_PROGRESSDLG" = yes; then
7738 echo "$ac_t""yes" 1>&6
7740 echo "$ac_t""no" 1>&6
7744 echo $ac_n "checking for --enable-wizarddlg""... $ac_c" 1>&6
7745 echo "configure:7746: checking for --enable-wizarddlg" >&5
7747 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
7748 if test "${enable_wizarddlg+set}" = set; then
7749 enableval
="$enable_wizarddlg"
7751 if test "$enableval" = yes; then
7752 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
7754 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
7759 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
7760 if test "x$LINE" != x
; then
7761 eval "DEFAULT_$LINE"
7766 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
7771 eval "$ac_cv_use_wizarddlg"
7772 if test "$no_cache" != 1; then
7773 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
7776 if test "$wxUSE_WIZARDDLG" = yes; then
7777 echo "$ac_t""yes" 1>&6
7779 echo "$ac_t""no" 1>&6
7785 echo $ac_n "checking for --enable-menus""... $ac_c" 1>&6
7786 echo "configure:7787: checking for --enable-menus" >&5
7788 # Check whether --enable-menus or --disable-menus was given.
7789 if test "${enable_menus+set}" = set; then
7790 enableval
="$enable_menus"
7792 if test "$enableval" = yes; then
7793 ac_cv_use_menus
='wxUSE_MENUS=yes'
7795 ac_cv_use_menus
='wxUSE_MENUS=no'
7800 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
7801 if test "x$LINE" != x
; then
7802 eval "DEFAULT_$LINE"
7807 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
7812 eval "$ac_cv_use_menus"
7813 if test "$no_cache" != 1; then
7814 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
7817 if test "$wxUSE_MENUS" = yes; then
7818 echo "$ac_t""yes" 1>&6
7820 echo "$ac_t""no" 1>&6
7824 echo $ac_n "checking for --enable-miniframe""... $ac_c" 1>&6
7825 echo "configure:7826: checking for --enable-miniframe" >&5
7827 # Check whether --enable-miniframe or --disable-miniframe was given.
7828 if test "${enable_miniframe+set}" = set; then
7829 enableval
="$enable_miniframe"
7831 if test "$enableval" = yes; then
7832 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
7834 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
7839 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
7840 if test "x$LINE" != x
; then
7841 eval "DEFAULT_$LINE"
7846 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
7851 eval "$ac_cv_use_miniframe"
7852 if test "$no_cache" != 1; then
7853 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
7856 if test "$wxUSE_MINIFRAME" = yes; then
7857 echo "$ac_t""yes" 1>&6
7859 echo "$ac_t""no" 1>&6
7863 echo $ac_n "checking for --enable-tooltips""... $ac_c" 1>&6
7864 echo "configure:7865: checking for --enable-tooltips" >&5
7866 # Check whether --enable-tooltips or --disable-tooltips was given.
7867 if test "${enable_tooltips+set}" = set; then
7868 enableval
="$enable_tooltips"
7870 if test "$enableval" = yes; then
7871 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
7873 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
7878 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
7879 if test "x$LINE" != x
; then
7880 eval "DEFAULT_$LINE"
7885 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
7890 eval "$ac_cv_use_tooltips"
7891 if test "$no_cache" != 1; then
7892 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
7895 if test "$wxUSE_TOOLTIPS" = yes; then
7896 echo "$ac_t""yes" 1>&6
7898 echo "$ac_t""no" 1>&6
7902 echo $ac_n "checking for --enable-splines""... $ac_c" 1>&6
7903 echo "configure:7904: checking for --enable-splines" >&5
7905 # Check whether --enable-splines or --disable-splines was given.
7906 if test "${enable_splines+set}" = set; then
7907 enableval
="$enable_splines"
7909 if test "$enableval" = yes; then
7910 ac_cv_use_splines
='wxUSE_SPLINES=yes'
7912 ac_cv_use_splines
='wxUSE_SPLINES=no'
7917 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
7918 if test "x$LINE" != x
; then
7919 eval "DEFAULT_$LINE"
7924 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
7929 eval "$ac_cv_use_splines"
7930 if test "$no_cache" != 1; then
7931 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
7934 if test "$wxUSE_SPLINES" = yes; then
7935 echo "$ac_t""yes" 1>&6
7937 echo "$ac_t""no" 1>&6
7941 echo $ac_n "checking for --enable-validators""... $ac_c" 1>&6
7942 echo "configure:7943: checking for --enable-validators" >&5
7944 # Check whether --enable-validators or --disable-validators was given.
7945 if test "${enable_validators+set}" = set; then
7946 enableval
="$enable_validators"
7948 if test "$enableval" = yes; then
7949 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
7951 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
7956 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
7957 if test "x$LINE" != x
; then
7958 eval "DEFAULT_$LINE"
7963 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
7968 eval "$ac_cv_use_validators"
7969 if test "$no_cache" != 1; then
7970 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
7973 if test "$wxUSE_VALIDATORS" = yes; then
7974 echo "$ac_t""yes" 1>&6
7976 echo "$ac_t""no" 1>&6
7980 echo $ac_n "checking for --enable-busyinfo""... $ac_c" 1>&6
7981 echo "configure:7982: checking for --enable-busyinfo" >&5
7983 # Check whether --enable-busyinfo or --disable-busyinfo was given.
7984 if test "${enable_busyinfo+set}" = set; then
7985 enableval
="$enable_busyinfo"
7987 if test "$enableval" = yes; then
7988 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
7990 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
7995 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
7996 if test "x$LINE" != x
; then
7997 eval "DEFAULT_$LINE"
8002 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
8007 eval "$ac_cv_use_busyinfo"
8008 if test "$no_cache" != 1; then
8009 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
8012 if test "$wxUSE_BUSYINFO" = yes; then
8013 echo "$ac_t""yes" 1>&6
8015 echo "$ac_t""no" 1>&6
8019 echo $ac_n "checking for --enable-joystick""... $ac_c" 1>&6
8020 echo "configure:8021: checking for --enable-joystick" >&5
8022 # Check whether --enable-joystick or --disable-joystick was given.
8023 if test "${enable_joystick+set}" = set; then
8024 enableval
="$enable_joystick"
8026 if test "$enableval" = yes; then
8027 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
8029 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
8034 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
8035 if test "x$LINE" != x
; then
8036 eval "DEFAULT_$LINE"
8041 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
8046 eval "$ac_cv_use_joystick"
8047 if test "$no_cache" != 1; then
8048 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
8051 if test "$wxUSE_JOYSTICK" = yes; then
8052 echo "$ac_t""yes" 1>&6
8054 echo "$ac_t""no" 1>&6
8058 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
8059 echo "configure:8060: checking for --enable-metafile" >&5
8061 # Check whether --enable-metafile or --disable-metafile was given.
8062 if test "${enable_metafile+set}" = set; then
8063 enableval
="$enable_metafile"
8065 if test "$enableval" = yes; then
8066 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
8068 ac_cv_use_metafile
='wxUSE_METAFILE=no'
8073 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
8074 if test "x$LINE" != x
; then
8075 eval "DEFAULT_$LINE"
8080 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
8085 eval "$ac_cv_use_metafile"
8086 if test "$no_cache" != 1; then
8087 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
8090 if test "$wxUSE_METAFILE" = yes; then
8091 echo "$ac_t""yes" 1>&6
8093 echo "$ac_t""no" 1>&6
8097 echo $ac_n "checking for --enable-dragimage""... $ac_c" 1>&6
8098 echo "configure:8099: checking for --enable-dragimage" >&5
8100 # Check whether --enable-dragimage or --disable-dragimage was given.
8101 if test "${enable_dragimage+set}" = set; then
8102 enableval
="$enable_dragimage"
8104 if test "$enableval" = yes; then
8105 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
8107 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
8112 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
8113 if test "x$LINE" != x
; then
8114 eval "DEFAULT_$LINE"
8119 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
8124 eval "$ac_cv_use_dragimage"
8125 if test "$no_cache" != 1; then
8126 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
8129 if test "$wxUSE_DRAGIMAGE" = yes; then
8130 echo "$ac_t""yes" 1>&6
8132 echo "$ac_t""no" 1>&6
8138 echo $ac_n "checking for --enable-palette""... $ac_c" 1>&6
8139 echo "configure:8140: checking for --enable-palette" >&5
8141 # Check whether --enable-palette or --disable-palette was given.
8142 if test "${enable_palette+set}" = set; then
8143 enableval
="$enable_palette"
8145 if test "$enableval" = yes; then
8146 ac_cv_use_palette
='wxUSE_PALETTE=yes'
8148 ac_cv_use_palette
='wxUSE_PALETTE=no'
8153 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
8154 if test "x$LINE" != x
; then
8155 eval "DEFAULT_$LINE"
8160 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
8165 eval "$ac_cv_use_palette"
8166 if test "$no_cache" != 1; then
8167 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
8170 if test "$wxUSE_PALETTE" = yes; then
8171 echo "$ac_t""yes" 1>&6
8173 echo "$ac_t""no" 1>&6
8177 echo $ac_n "checking for --enable-image""... $ac_c" 1>&6
8178 echo "configure:8179: checking for --enable-image" >&5
8180 # Check whether --enable-image or --disable-image was given.
8181 if test "${enable_image+set}" = set; then
8182 enableval
="$enable_image"
8184 if test "$enableval" = yes; then
8185 ac_cv_use_image
='wxUSE_IMAGE=yes'
8187 ac_cv_use_image
='wxUSE_IMAGE=no'
8192 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
8193 if test "x$LINE" != x
; then
8194 eval "DEFAULT_$LINE"
8199 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
8204 eval "$ac_cv_use_image"
8205 if test "$no_cache" != 1; then
8206 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
8209 if test "$wxUSE_IMAGE" = yes; then
8210 echo "$ac_t""yes" 1>&6
8212 echo "$ac_t""no" 1>&6
8216 echo $ac_n "checking for --enable-gif""... $ac_c" 1>&6
8217 echo "configure:8218: checking for --enable-gif" >&5
8219 # Check whether --enable-gif or --disable-gif was given.
8220 if test "${enable_gif+set}" = set; then
8221 enableval
="$enable_gif"
8223 if test "$enableval" = yes; then
8224 ac_cv_use_gif
='wxUSE_GIF=yes'
8226 ac_cv_use_gif
='wxUSE_GIF=no'
8231 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
8232 if test "x$LINE" != x
; then
8233 eval "DEFAULT_$LINE"
8238 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
8243 eval "$ac_cv_use_gif"
8244 if test "$no_cache" != 1; then
8245 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
8248 if test "$wxUSE_GIF" = yes; then
8249 echo "$ac_t""yes" 1>&6
8251 echo "$ac_t""no" 1>&6
8255 echo $ac_n "checking for --enable-pcx""... $ac_c" 1>&6
8256 echo "configure:8257: checking for --enable-pcx" >&5
8258 # Check whether --enable-pcx or --disable-pcx was given.
8259 if test "${enable_pcx+set}" = set; then
8260 enableval
="$enable_pcx"
8262 if test "$enableval" = yes; then
8263 ac_cv_use_pcx
='wxUSE_PCX=yes'
8265 ac_cv_use_pcx
='wxUSE_PCX=no'
8270 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
8271 if test "x$LINE" != x
; then
8272 eval "DEFAULT_$LINE"
8277 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
8282 eval "$ac_cv_use_pcx"
8283 if test "$no_cache" != 1; then
8284 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
8287 if test "$wxUSE_PCX" = yes; then
8288 echo "$ac_t""yes" 1>&6
8290 echo "$ac_t""no" 1>&6
8294 echo $ac_n "checking for --enable-pnm""... $ac_c" 1>&6
8295 echo "configure:8296: checking for --enable-pnm" >&5
8297 # Check whether --enable-pnm or --disable-pnm was given.
8298 if test "${enable_pnm+set}" = set; then
8299 enableval
="$enable_pnm"
8301 if test "$enableval" = yes; then
8302 ac_cv_use_pnm
='wxUSE_PNM=yes'
8304 ac_cv_use_pnm
='wxUSE_PNM=no'
8309 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
8310 if test "x$LINE" != x
; then
8311 eval "DEFAULT_$LINE"
8316 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
8321 eval "$ac_cv_use_pnm"
8322 if test "$no_cache" != 1; then
8323 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
8326 if test "$wxUSE_PNM" = yes; then
8327 echo "$ac_t""yes" 1>&6
8329 echo "$ac_t""no" 1>&6
8333 echo $ac_n "checking for --enable-xpm""... $ac_c" 1>&6
8334 echo "configure:8335: checking for --enable-xpm" >&5
8336 # Check whether --enable-xpm or --disable-xpm was given.
8337 if test "${enable_xpm+set}" = set; then
8338 enableval
="$enable_xpm"
8340 if test "$enableval" = yes; then
8341 ac_cv_use_xpm
='wxUSE_XPM=yes'
8343 ac_cv_use_xpm
='wxUSE_XPM=no'
8348 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
8349 if test "x$LINE" != x
; then
8350 eval "DEFAULT_$LINE"
8355 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
8360 eval "$ac_cv_use_xpm"
8361 if test "$no_cache" != 1; then
8362 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
8365 if test "$wxUSE_XPM" = yes; then
8366 echo "$ac_t""yes" 1>&6
8368 echo "$ac_t""no" 1>&6
8372 echo $ac_n "checking for --enable-icocur""... $ac_c" 1>&6
8373 echo "configure:8374: checking for --enable-icocur" >&5
8375 # Check whether --enable-icocur or --disable-icocur was given.
8376 if test "${enable_icocur+set}" = set; then
8377 enableval
="$enable_icocur"
8379 if test "$enableval" = yes; then
8380 ac_cv_use_icocur
='wxUSE_ICO_CUR=yes'
8382 ac_cv_use_icocur
='wxUSE_ICO_CUR=no'
8387 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
8388 if test "x$LINE" != x
; then
8389 eval "DEFAULT_$LINE"
8394 ac_cv_use_icocur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
8399 eval "$ac_cv_use_icocur"
8400 if test "$no_cache" != 1; then
8401 echo $ac_cv_use_icocur >> ${wx_arg_cache_file}.tmp
8404 if test "$wxUSE_ICO_CUR" = yes; then
8405 echo "$ac_t""yes" 1>&6
8407 echo "$ac_t""no" 1>&6
8414 echo "saving argument cache $wx_arg_cache_file"
8415 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
8419 echo $ac_n "checking for toolkit""... $ac_c" 1>&6
8420 echo "configure:8421: checking for toolkit" >&5
8422 if test "$wxUSE_GUI" = "yes"; then
8424 if test "$USE_BEOS" = 1; then
8425 { echo "configure: error: BeOS GUI is not supported yet, use --disable-gui" 1>&2; exit 1; }
8428 if test "$TOOLKIT_GIVEN" = 1; then
8429 for toolkit
in `echo $ALL_TOOLKITS`; do
8431 eval "value=\$${var}"
8432 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
8435 for toolkit
in `echo $ALL_TOOLKITS`; do
8436 if test "$has_toolkit_in_cache" != 1; then
8437 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
8439 var
=DEFAULT_wxUSE_
$toolkit
8441 eval "wxUSE_$toolkit=\$${var}"
8445 NUM_TOOLKITS
=`expr ${wxUSE_GTK:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MAC:-0} \
8446 + ${wxUSE_WINE:-0} + ${wxUSE_MSW:-0} + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0}`
8449 *-pc-os2_emx | *-pc-os2-emx )
8450 # PATH_IFS is autodetected by OS/2's configure (usually ';')
8451 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
8460 case "$NUM_TOOLKITS" in
8464 { echo "configure: error: Please specify a toolkit - cannot determine the default for ${host}" 1>&2; exit 1; }
8467 { echo "configure: error: Please specify at most one toolkit (may be some are cached?)" 1>&2; exit 1; }
8470 for toolkit
in `echo $ALL_TOOLKITS`; do
8472 eval "value=\$${var}"
8473 if test "x$value" != x
; then
8474 cache_var
=CACHE_
$toolkit
8475 eval "cache=\$${cache_var}"
8476 if test "$cache" = 1; then
8477 echo "$var=$value" >> ${wx_arg_cache_file}
8479 if test "$value" = 1; then
8480 toolkit_echo
=`echo $toolkit | tr [A-Z] [a-z]`
8481 echo "$ac_t""$toolkit_echo" 1>&6
8487 echo "$ac_t""base ($host_alias hosted) only" 1>&6
8491 cat > confcache
<<\EOF
8492 # This file is a shell script that caches the results of configure
8493 # tests run on this system so they can be shared between configure
8494 # scripts and configure runs. It is not useful on other systems.
8495 # If it contains results you don't want to keep, you may remove or edit it.
8497 # By default, configure uses ./config.cache as the cache file,
8498 # creating it if it does not exist already. You can give configure
8499 # the --cache-file=FILE option to use a different cache file; that is
8500 # what configure does when it calls configure scripts in
8501 # subdirectories, so they share the cache.
8502 # Giving --cache-file=/dev/null disables caching, for debugging configure.
8503 # config.status only pays attention to the cache file if you give it the
8504 # --recheck option to rerun configure.
8507 # The following way of writing the cache mishandles newlines in values,
8508 # but we know of no workaround that is simple, portable, and efficient.
8509 # So, don't put newlines in cache variables' values.
8510 # Ultrix sh set writes to stderr and can't be redirected directly,
8511 # and sets the high bit in the cache file unless we assign to the vars.
8513 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8515 # `set' does not quote correctly, so add quotes (double-quote substitution
8516 # turns \\\\ into \\, and sed turns \\ into \).
8518 -e "s/'/'\\\\''/g" \
8519 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
8522 # `set' quotes correctly as required by POSIX, so do not add quotes.
8523 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
8526 if cmp -s $cache_file confcache
; then
8529 if test -w $cache_file; then
8530 echo "updating cache $cache_file"
8531 cat confcache
> $cache_file
8533 echo "not updating unwritable cache $cache_file"
8539 if test "$build" != "$host" ; then
8540 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 ; then
8544 RANLIB
=$host_alias-ranlib
8545 DLLTOOL
=$host_alias-dlltool
8546 RESCOMP
=$host_alias-windres
8549 STRIP
=$host_alias-strip
8551 { echo "configure: error: $build_alias -> $host_alias cross compilation not supported yet." 1>&2; exit 1; }
8555 # Extract the first word of "gcc", so it can be a program name with args.
8556 set dummy gcc
; ac_word
=$2
8557 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8558 echo "configure:8559: checking for $ac_word" >&5
8559 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8560 echo $ac_n "(cached) $ac_c" 1>&6
8562 if test -n "$CC"; then
8563 ac_cv_prog_CC
="$CC" # Let the user override the test.
8565 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8567 for ac_dir
in $ac_dummy; do
8568 test -z "$ac_dir" && ac_dir
=.
8569 if test -f $ac_dir/$ac_word; then
8578 if test -n "$CC"; then
8579 echo "$ac_t""$CC" 1>&6
8581 echo "$ac_t""no" 1>&6
8584 if test -z "$CC"; then
8585 # Extract the first word of "cc", so it can be a program name with args.
8586 set dummy cc
; ac_word
=$2
8587 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8588 echo "configure:8589: checking for $ac_word" >&5
8589 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8590 echo $ac_n "(cached) $ac_c" 1>&6
8592 if test -n "$CC"; then
8593 ac_cv_prog_CC
="$CC" # Let the user override the test.
8595 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8598 for ac_dir
in $ac_dummy; do
8599 test -z "$ac_dir" && ac_dir
=.
8600 if test -f $ac_dir/$ac_word; then
8601 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
8602 ac_prog_rejected
=yes
8610 if test $ac_prog_rejected = yes; then
8611 # We found a bogon in the path, so make sure we never use it.
8612 set dummy
$ac_cv_prog_CC
8614 if test $# -gt 0; then
8615 # We chose a different compiler from the bogus one.
8616 # However, it has the same basename, so the bogon will be chosen
8617 # first if we set CC to just the basename; use the full file name.
8619 set dummy
"$ac_dir/$ac_word" "$@"
8627 if test -n "$CC"; then
8628 echo "$ac_t""$CC" 1>&6
8630 echo "$ac_t""no" 1>&6
8633 if test -z "$CC"; then
8634 case "`uname -s`" in
8636 # Extract the first word of "cl", so it can be a program name with args.
8637 set dummy cl
; ac_word
=$2
8638 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8639 echo "configure:8640: checking for $ac_word" >&5
8640 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8641 echo $ac_n "(cached) $ac_c" 1>&6
8643 if test -n "$CC"; then
8644 ac_cv_prog_CC
="$CC" # Let the user override the test.
8646 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8648 for ac_dir
in $ac_dummy; do
8649 test -z "$ac_dir" && ac_dir
=.
8650 if test -f $ac_dir/$ac_word; then
8659 if test -n "$CC"; then
8660 echo "$ac_t""$CC" 1>&6
8662 echo "$ac_t""no" 1>&6
8667 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
8670 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
8671 echo "configure:8672: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
8674 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8675 ac_cpp
='$CPP $CPPFLAGS'
8676 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8677 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8678 cross_compiling
=$ac_cv_prog_cc_cross
8680 cat > conftest.
$ac_ext << EOF
8682 #line 8683 "configure"
8683 #include "confdefs.h"
8687 if { (eval echo configure
:8688: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8688 ac_cv_prog_cc_works
=yes
8689 # If we can't run a trivial program, we are probably using a cross compiler.
8690 if (.
/conftest
; exit) 2>/dev
/null
; then
8691 ac_cv_prog_cc_cross
=no
8693 ac_cv_prog_cc_cross
=yes
8696 echo "configure: failed program was:" >&5
8697 cat conftest.
$ac_ext >&5
8698 ac_cv_prog_cc_works
=no
8702 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8703 ac_cpp
='$CPP $CPPFLAGS'
8704 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8705 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8706 cross_compiling
=$ac_cv_prog_cc_cross
8708 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
8709 if test $ac_cv_prog_cc_works = no
; then
8710 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
8712 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
8713 echo "configure:8714: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
8714 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
8715 cross_compiling
=$ac_cv_prog_cc_cross
8717 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
8718 echo "configure:8719: checking whether we are using GNU C" >&5
8719 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
8720 echo $ac_n "(cached) $ac_c" 1>&6
8722 cat > conftest.c
<<EOF
8727 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:8728: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
8734 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
8736 if test $ac_cv_prog_gcc = yes; then
8742 ac_test_CFLAGS
="${CFLAGS+set}"
8743 ac_save_CFLAGS
="$CFLAGS"
8745 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
8746 echo "configure:8747: checking whether ${CC-cc} accepts -g" >&5
8747 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
8748 echo $ac_n "(cached) $ac_c" 1>&6
8750 echo 'void f(){}' > conftest.c
8751 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
8760 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
8761 if test "$ac_test_CFLAGS" = set; then
8762 CFLAGS
="$ac_save_CFLAGS"
8763 elif test $ac_cv_prog_cc_g = yes; then
8764 if test "$GCC" = yes; then
8770 if test "$GCC" = yes; then
8778 CFLAGS
=`echo "$CFLAGS" | sed 's/-g//g'`
8780 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
8781 echo "configure:8782: checking how to run the C preprocessor" >&5
8782 # On Suns, sometimes $CPP names a directory.
8783 if test -n "$CPP" && test -d "$CPP"; then
8786 if test -z "$CPP"; then
8787 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
8788 echo $ac_n "(cached) $ac_c" 1>&6
8790 # This must be in double quotes, not single quotes, because CPP may get
8791 # substituted into the Makefile and "${CC-cc}" will confuse make.
8793 # On the NeXT, cc -E runs the code through the compiler's parser,
8794 # not just through cpp.
8795 cat > conftest.
$ac_ext <<EOF
8796 #line 8797 "configure"
8797 #include "confdefs.h"
8801 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8802 { (eval echo configure
:8803: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8803 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8804 if test -z "$ac_err"; then
8808 echo "configure: failed program was:" >&5
8809 cat conftest.
$ac_ext >&5
8811 CPP
="${CC-cc} -E -traditional-cpp"
8812 cat > conftest.
$ac_ext <<EOF
8813 #line 8814 "configure"
8814 #include "confdefs.h"
8818 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8819 { (eval echo configure
:8820: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8820 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8821 if test -z "$ac_err"; then
8825 echo "configure: failed program was:" >&5
8826 cat conftest.
$ac_ext >&5
8828 CPP
="${CC-cc} -nologo -E"
8829 cat > conftest.
$ac_ext <<EOF
8830 #line 8831 "configure"
8831 #include "confdefs.h"
8835 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8836 { (eval echo configure
:8837: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8837 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8838 if test -z "$ac_err"; then
8842 echo "configure: failed program was:" >&5
8843 cat conftest.
$ac_ext >&5
8852 ac_cv_prog_CPP
="$CPP"
8854 CPP
="$ac_cv_prog_CPP"
8856 ac_cv_prog_CPP
="$CPP"
8858 echo "$ac_t""$CPP" 1>&6
8860 if test $ac_cv_prog_gcc = yes; then
8861 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
8862 echo "configure:8863: checking whether ${CC-cc} needs -traditional" >&5
8863 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
8864 echo $ac_n "(cached) $ac_c" 1>&6
8866 ac_pattern
="Autoconf.*'x'"
8867 cat > conftest.
$ac_ext <<EOF
8868 #line 8869 "configure"
8869 #include "confdefs.h"
8873 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8874 egrep "$ac_pattern" >/dev
/null
2>&1; then
8876 ac_cv_prog_gcc_traditional
=yes
8879 ac_cv_prog_gcc_traditional
=no
8884 if test $ac_cv_prog_gcc_traditional = no
; then
8885 cat > conftest.
$ac_ext <<EOF
8886 #line 8887 "configure"
8887 #include "confdefs.h"
8891 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8892 egrep "$ac_pattern" >/dev
/null
2>&1; then
8894 ac_cv_prog_gcc_traditional
=yes
8901 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
8902 if test $ac_cv_prog_gcc_traditional = yes; then
8903 CC
="$CC -traditional"
8910 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8911 ac_cpp
='$CXXCPP $CPPFLAGS'
8912 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8913 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8914 cross_compiling
=$ac_cv_prog_cxx_cross
8917 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++ cl
8919 # Extract the first word of "$ac_prog", so it can be a program name with args.
8920 set dummy
$ac_prog; ac_word
=$2
8921 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8922 echo "configure:8923: checking for $ac_word" >&5
8923 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
8924 echo $ac_n "(cached) $ac_c" 1>&6
8926 if test -n "$CXX"; then
8927 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
8929 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8931 for ac_dir
in $ac_dummy; do
8932 test -z "$ac_dir" && ac_dir
=.
8933 if test -f $ac_dir/$ac_word; then
8934 ac_cv_prog_CXX
="$ac_prog"
8941 CXX
="$ac_cv_prog_CXX"
8942 if test -n "$CXX"; then
8943 echo "$ac_t""$CXX" 1>&6
8945 echo "$ac_t""no" 1>&6
8948 test -n "$CXX" && break
8950 test -n "$CXX" || CXX
="gcc"
8953 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
8954 echo "configure:8955: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
8957 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8958 ac_cpp
='$CXXCPP $CPPFLAGS'
8959 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8960 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8961 cross_compiling
=$ac_cv_prog_cxx_cross
8963 cat > conftest.
$ac_ext << EOF
8965 #line 8966 "configure"
8966 #include "confdefs.h"
8968 int main(){return(0);}
8970 if { (eval echo configure
:8971: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8971 ac_cv_prog_cxx_works
=yes
8972 # If we can't run a trivial program, we are probably using a cross compiler.
8973 if (.
/conftest
; exit) 2>/dev
/null
; then
8974 ac_cv_prog_cxx_cross
=no
8976 ac_cv_prog_cxx_cross
=yes
8979 echo "configure: failed program was:" >&5
8980 cat conftest.
$ac_ext >&5
8981 ac_cv_prog_cxx_works
=no
8985 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8986 ac_cpp
='$CXXCPP $CPPFLAGS'
8987 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8988 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8989 cross_compiling
=$ac_cv_prog_cxx_cross
8991 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
8992 if test $ac_cv_prog_cxx_works = no
; then
8993 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
8995 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
8996 echo "configure:8997: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
8997 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
8998 cross_compiling
=$ac_cv_prog_cxx_cross
9000 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
9001 echo "configure:9002: checking whether we are using GNU C++" >&5
9002 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
9003 echo $ac_n "(cached) $ac_c" 1>&6
9005 cat > conftest.C
<<EOF
9010 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:9011: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
9017 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
9019 if test $ac_cv_prog_gxx = yes; then
9025 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
9026 ac_save_CXXFLAGS
="$CXXFLAGS"
9028 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
9029 echo "configure:9030: checking whether ${CXX-g++} accepts -g" >&5
9030 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
9031 echo $ac_n "(cached) $ac_c" 1>&6
9033 echo 'void f(){}' > conftest.cc
9034 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
9035 ac_cv_prog_cxx_g
=yes
9043 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
9044 if test "$ac_test_CXXFLAGS" = set; then
9045 CXXFLAGS
="$ac_save_CXXFLAGS"
9046 elif test $ac_cv_prog_cxx_g = yes; then
9047 if test "$GXX" = yes; then
9053 if test "$GXX" = yes; then
9061 CXXFLAGS
=`echo "$CXXFLAGS" | sed 's/-g//g'`
9064 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9065 ac_cpp
='$CPP $CPPFLAGS'
9066 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9067 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9068 cross_compiling
=$ac_cv_prog_cc_cross
9071 # Extract the first word of "ranlib", so it can be a program name with args.
9072 set dummy ranlib
; ac_word
=$2
9073 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9074 echo "configure:9075: checking for $ac_word" >&5
9075 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
9076 echo $ac_n "(cached) $ac_c" 1>&6
9078 if test -n "$RANLIB"; then
9079 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
9081 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9083 for ac_dir
in $ac_dummy; do
9084 test -z "$ac_dir" && ac_dir
=.
9085 if test -f $ac_dir/$ac_word; then
9086 ac_cv_prog_RANLIB
="ranlib"
9091 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
9094 RANLIB
="$ac_cv_prog_RANLIB"
9095 if test -n "$RANLIB"; then
9096 echo "$ac_t""$RANLIB" 1>&6
9098 echo "$ac_t""no" 1>&6
9102 # Extract the first word of "ar", so it can be a program name with args.
9103 set dummy
ar; ac_word
=$2
9104 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9105 echo "configure:9106: checking for $ac_word" >&5
9106 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
9107 echo $ac_n "(cached) $ac_c" 1>&6
9109 if test -n "$AR"; then
9110 ac_cv_prog_AR
="$AR" # Let the user override the test.
9112 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9114 for ac_dir
in $ac_dummy; do
9115 test -z "$ac_dir" && ac_dir
=.
9116 if test -f $ac_dir/$ac_word; then
9122 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
9126 if test -n "$AR"; then
9127 echo "$ac_t""$AR" 1>&6
9129 echo "$ac_t""no" 1>&6
9133 # Find a good install program. We prefer a C program (faster),
9134 # so one script is as good as another. But avoid the broken or
9135 # incompatible versions:
9136 # SysV /etc/install, /usr/sbin/install
9137 # SunOS /usr/etc/install
9138 # IRIX /sbin/install
9140 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
9141 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
9142 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
9143 # ./install, which can be erroneously created by make from ./install.sh.
9144 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
9145 echo "configure:9146: checking for a BSD compatible install" >&5
9146 if test -z "$INSTALL"; then
9147 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
9148 echo $ac_n "(cached) $ac_c" 1>&6
9150 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
9151 for ac_dir
in $PATH; do
9152 # Account for people who put trailing slashes in PATH elements.
9154 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
9156 # OSF1 and SCO ODT 3.0 have their own names for install.
9157 # Don't use installbsd from OSF since it installs stuff as root
9159 for ac_prog
in ginstall scoinst
install; do
9160 if test -f $ac_dir/$ac_prog; then
9161 if test $ac_prog = install &&
9162 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
9163 # AIX install. It has an incompatible calling convention.
9166 ac_cv_path_install
="$ac_dir/$ac_prog -c"
9177 if test "${ac_cv_path_install+set}" = set; then
9178 INSTALL
="$ac_cv_path_install"
9180 # As a last resort, use the slow shell script. We don't cache a
9181 # path for INSTALL within a source directory, because that will
9182 # break other packages using the cache if that directory is
9183 # removed, or if the path is relative.
9184 INSTALL
="$ac_install_sh"
9187 echo "$ac_t""$INSTALL" 1>&6
9189 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
9190 # It thinks the first close brace ends the variable substitution.
9191 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
9193 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
9195 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
9200 INSTALL_PROGRAM
="cp -fp"
9201 INSTALL_DATA
="cp -fp"
9207 # Extract the first word of "strip", so it can be a program name with args.
9208 set dummy strip
; ac_word
=$2
9209 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9210 echo "configure:9211: checking for $ac_word" >&5
9211 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
9212 echo $ac_n "(cached) $ac_c" 1>&6
9214 if test -n "$STRIP"; then
9215 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
9217 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9219 for ac_dir
in $ac_dummy; do
9220 test -z "$ac_dir" && ac_dir
=.
9221 if test -f $ac_dir/$ac_word; then
9222 ac_cv_prog_STRIP
="strip"
9227 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
9230 STRIP
="$ac_cv_prog_STRIP"
9231 if test -n "$STRIP"; then
9232 echo "$ac_t""$STRIP" 1>&6
9234 echo "$ac_t""no" 1>&6
9238 echo $ac_n "checking make for VPATH support""... $ac_c" 1>&6
9239 echo "configure:9240: checking make for VPATH support" >&5
9240 cat - << EOF > confMake
9246 if test ! -d sub
; then
9249 echo dummy
> sub
/file
9250 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
9252 rm -f sub
/file check final_file confMake
9254 if test "$RESULT" = 0; then
9255 echo "$ac_t""yes" 1>&6
9257 echo "$ac_t""no" 1>&6
9258 { echo "configure: error:
9259 You need a make-utility that is able to use the variable
9261 If your version of make does not support VPATH correctly,
9262 please install GNU-make (possibly as gmake), and start
9263 configure with the following command:
9264 export MAKE=gmake; ./configure for sh-type shells
9265 setenv MAKE gmake; ./configure for csh-type shells
9266 Also please do remember to use gmake in this case every time
9267 you are trying to compile.
9271 for ac_prog
in 'bison -y' byacc
9273 # Extract the first word of "$ac_prog", so it can be a program name with args.
9274 set dummy
$ac_prog; ac_word
=$2
9275 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9276 echo "configure:9277: checking for $ac_word" >&5
9277 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
9278 echo $ac_n "(cached) $ac_c" 1>&6
9280 if test -n "$YACC"; then
9281 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
9283 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9285 for ac_dir
in $ac_dummy; do
9286 test -z "$ac_dir" && ac_dir
=.
9287 if test -f $ac_dir/$ac_word; then
9288 ac_cv_prog_YACC
="$ac_prog"
9295 YACC
="$ac_cv_prog_YACC"
9296 if test -n "$YACC"; then
9297 echo "$ac_t""$YACC" 1>&6
9299 echo "$ac_t""no" 1>&6
9302 test -n "$YACC" && break
9304 test -n "$YACC" || YACC
="yacc"
9307 # Extract the first word of "flex", so it can be a program name with args.
9308 set dummy flex
; ac_word
=$2
9309 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9310 echo "configure:9311: checking for $ac_word" >&5
9311 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
9312 echo $ac_n "(cached) $ac_c" 1>&6
9314 if test -n "$LEX"; then
9315 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
9317 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9319 for ac_dir
in $ac_dummy; do
9320 test -z "$ac_dir" && ac_dir
=.
9321 if test -f $ac_dir/$ac_word; then
9322 ac_cv_prog_LEX
="flex"
9327 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
9330 LEX
="$ac_cv_prog_LEX"
9331 if test -n "$LEX"; then
9332 echo "$ac_t""$LEX" 1>&6
9334 echo "$ac_t""no" 1>&6
9337 if test -z "$LEXLIB"
9343 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
9344 echo "configure:9345: checking for yywrap in -l$ac_lib" >&5
9345 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
9346 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9347 echo $ac_n "(cached) $ac_c" 1>&6
9349 ac_save_LIBS
="$LIBS"
9350 LIBS
="-l$ac_lib $LIBS"
9351 cat > conftest.
$ac_ext <<EOF
9352 #line 9353 "configure"
9353 #include "confdefs.h"
9354 /* Override any gcc2 internal prototype to avoid an error. */
9355 /* We use char because int might match the return type of a gcc2
9356 builtin and then its argument prototype would still apply. */
9363 if { (eval echo configure
:9364: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9365 eval "ac_cv_lib_$ac_lib_var=yes"
9367 echo "configure: failed program was:" >&5
9368 cat conftest.
$ac_ext >&5
9370 eval "ac_cv_lib_$ac_lib_var=no"
9373 LIBS
="$ac_save_LIBS"
9376 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9377 echo "$ac_t""yes" 1>&6
9380 echo "$ac_t""no" 1>&6
9386 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
9387 echo "configure:9388: checking whether ln -s works" >&5
9388 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
9389 echo $ac_n "(cached) $ac_c" 1>&6
9392 if ln -s X conftestdata
2>/dev
/null
9395 ac_cv_prog_LN_S
="ln -s"
9400 LN_S
="$ac_cv_prog_LN_S"
9401 if test "$ac_cv_prog_LN_S" = "ln -s"; then
9402 echo "$ac_t""yes" 1>&6
9404 echo "$ac_t""no" 1>&6
9410 /usr/local/include \
9412 /usr/Motif-1.2/include \
9413 /usr/Motif-2.1/include \
9415 /usr/include/Motif1.2 \
9416 /opt/xpm/include/X11 \
9417 /opt/GBxpm/include/ \
9418 /opt/GBxpm/X11/include/ \
9420 /usr/Motif1.2/include \
9422 /usr/openwin/include \
9426 /usr/X11R6/include \
9427 /usr/X11R6.4/include \
9428 /usr/X11R5/include \
9429 /usr/X11R4/include \
9431 /usr/include/X11R6 \
9432 /usr/include/X11R5 \
9433 /usr/include/X11R4 \
9435 /usr/local/X11R6/include \
9436 /usr/local/X11R5/include \
9437 /usr/local/X11R4/include \
9439 /usr/local/include/X11R6 \
9440 /usr/local/include/X11R5 \
9441 /usr/local/include/X11R4 \
9445 /usr/local/X11/include \
9446 /usr/local/include/X11 \
9450 /usr/XFree86/include/X11 \
9452 X:/XFree86/include \
9453 X:/XFree86/include/X11 \
9456 /usr/local/include/gtk \
9458 /usr/local/include/glib \
9461 /usr/local/include/qt \
9463 /usr/include/windows \
9465 /usr/local/include/wine \
9467 /usr/unsupported/include \
9468 /usr/athena/include \
9469 /usr/local/x11r5/include \
9470 /usr/lpp/Xamples/include \
9472 /usr/openwin/share/include \
9476 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
9479 cat > confcache
<<\EOF
9480 # This file is a shell script that caches the results of configure
9481 # tests run on this system so they can be shared between configure
9482 # scripts and configure runs. It is not useful on other systems.
9483 # If it contains results you don't want to keep, you may remove or edit it.
9485 # By default, configure uses ./config.cache as the cache file,
9486 # creating it if it does not exist already. You can give configure
9487 # the --cache-file=FILE option to use a different cache file; that is
9488 # what configure does when it calls configure scripts in
9489 # subdirectories, so they share the cache.
9490 # Giving --cache-file=/dev/null disables caching, for debugging configure.
9491 # config.status only pays attention to the cache file if you give it the
9492 # --recheck option to rerun configure.
9495 # The following way of writing the cache mishandles newlines in values,
9496 # but we know of no workaround that is simple, portable, and efficient.
9497 # So, don't put newlines in cache variables' values.
9498 # Ultrix sh set writes to stderr and can't be redirected directly,
9499 # and sets the high bit in the cache file unless we assign to the vars.
9501 case `(ac_space=' '; set | grep ac_space) 2>&1` in
9503 # `set' does not quote correctly, so add quotes (double-quote substitution
9504 # turns \\\\ into \\, and sed turns \\ into \).
9506 -e "s/'/'\\\\''/g" \
9507 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
9510 # `set' quotes correctly as required by POSIX, so do not add quotes.
9511 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
9514 if cmp -s $cache_file confcache
; then
9517 if test -w $cache_file; then
9518 echo "updating cache $cache_file"
9519 cat confcache
> $cache_file
9521 echo "not updating unwritable cache $cache_file"
9530 if test "$wxUSE_REGEX" != "no"; then
9531 cat >> confdefs.h
<<\EOF
9532 #define wxUSE_REGEX 1
9536 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
9537 ac_safe
=`echo "regex.h" | sed 'y%./+-%__p_%'`
9538 echo $ac_n "checking for regex.h""... $ac_c" 1>&6
9539 echo "configure:9540: checking for regex.h" >&5
9540 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9541 echo $ac_n "(cached) $ac_c" 1>&6
9543 cat > conftest.
$ac_ext <<EOF
9544 #line 9545 "configure"
9545 #include "confdefs.h"
9548 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9549 { (eval echo configure
:9550: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9550 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9551 if test -z "$ac_err"; then
9553 eval "ac_cv_header_$ac_safe=yes"
9556 echo "configure: failed program was:" >&5
9557 cat conftest.
$ac_ext >&5
9559 eval "ac_cv_header_$ac_safe=no"
9563 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9564 echo "$ac_t""yes" 1>&6
9565 for ac_func
in regcomp
9567 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9568 echo "configure:9569: checking for $ac_func" >&5
9569 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9570 echo $ac_n "(cached) $ac_c" 1>&6
9572 cat > conftest.
$ac_ext <<EOF
9573 #line 9574 "configure"
9574 #include "confdefs.h"
9575 /* System header to define __stub macros and hopefully few prototypes,
9576 which can conflict with char $ac_func(); below. */
9578 /* Override any gcc2 internal prototype to avoid an error. */
9579 /* We use char because int might match the return type of a gcc2
9580 builtin and then its argument prototype would still apply. */
9585 /* The GNU C library defines this for functions which it implements
9586 to always fail with ENOSYS. Some functions are actually named
9587 something starting with __ and the normal name is an alias. */
9588 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9596 if { (eval echo configure
:9597: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9598 eval "ac_cv_func_$ac_func=yes"
9600 echo "configure: failed program was:" >&5
9601 cat conftest.
$ac_ext >&5
9603 eval "ac_cv_func_$ac_func=no"
9608 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9609 echo "$ac_t""yes" 1>&6
9610 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9611 cat >> confdefs.h
<<EOF
9612 #define $ac_tr_func 1
9616 echo "$ac_t""no" 1>&6
9621 echo "$ac_t""no" 1>&6
9625 if test "x$ac_cv_func_regcomp" != "xyes"; then
9626 if test "$wxUSE_REGEX" = "sys" ; then
9627 { echo "configure: error: system regex library not found! Use --with-regex to use built-in version" 1>&2; exit 1; }
9629 echo "configure: warning: system regex library not found, will use built-in instead" 1>&2
9637 if test "$wxUSE_REGEX" = "builtin" ; then
9638 REGEX_INCLUDE
="-I\${top_srcdir}/src/regex"
9645 if test "$wxUSE_ZLIB" != "no" ; then
9646 cat >> confdefs.h
<<\EOF
9647 #define wxUSE_ZLIB 1
9651 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
9652 ac_safe
=`echo "zlib.h" | sed 'y%./+-%__p_%'`
9653 echo $ac_n "checking for zlib.h""... $ac_c" 1>&6
9654 echo "configure:9655: checking for zlib.h" >&5
9655 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9656 echo $ac_n "(cached) $ac_c" 1>&6
9658 cat > conftest.
$ac_ext <<EOF
9659 #line 9660 "configure"
9660 #include "confdefs.h"
9663 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9664 { (eval echo configure
:9665: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9665 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9666 if test -z "$ac_err"; then
9668 eval "ac_cv_header_$ac_safe=yes"
9671 echo "configure: failed program was:" >&5
9672 cat conftest.
$ac_ext >&5
9674 eval "ac_cv_header_$ac_safe=no"
9678 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9679 echo "$ac_t""yes" 1>&6
9680 echo $ac_n "checking for deflate in -lz""... $ac_c" 1>&6
9681 echo "configure:9682: checking for deflate in -lz" >&5
9682 ac_lib_var
=`echo z'_'deflate | sed 'y%./+-%__p_%'`
9683 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9684 echo $ac_n "(cached) $ac_c" 1>&6
9686 ac_save_LIBS
="$LIBS"
9688 cat > conftest.
$ac_ext <<EOF
9689 #line 9690 "configure"
9690 #include "confdefs.h"
9691 /* Override any gcc2 internal prototype to avoid an error. */
9692 /* We use char because int might match the return type of a gcc2
9693 builtin and then its argument prototype would still apply. */
9700 if { (eval echo configure
:9701: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9702 eval "ac_cv_lib_$ac_lib_var=yes"
9704 echo "configure: failed program was:" >&5
9705 cat conftest.
$ac_ext >&5
9707 eval "ac_cv_lib_$ac_lib_var=no"
9710 LIBS
="$ac_save_LIBS"
9713 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9714 echo "$ac_t""yes" 1>&6
9717 echo "$ac_t""no" 1>&6
9721 echo "$ac_t""no" 1>&6
9725 if test "x$ZLIB_LINK" = "x" ; then
9726 if test "$wxUSE_ZLIB" = "sys" ; then
9727 { echo "configure: error: system zlib compression library not found! Use --with-zlib=builtin to use built-in version" 1>&2; exit 1; }
9729 echo "configure: warning: system zlib compression library not found, will use built-in instead" 1>&2
9737 if test "$wxUSE_ZLIB" = "builtin" ; then
9738 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
9745 if test "$wxUSE_LIBPNG" != "no" ; then
9746 cat >> confdefs.h
<<\EOF
9747 #define wxUSE_LIBPNG 1
9751 if test "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
9752 echo "configure: warning: system png library doesn't work without system zlib, will use built-in instead" 1>&2
9753 wxUSE_LIBPNG
=builtin
9756 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
9757 ac_safe
=`echo "png.h" | sed 'y%./+-%__p_%'`
9758 echo $ac_n "checking for png.h""... $ac_c" 1>&6
9759 echo "configure:9760: checking for png.h" >&5
9760 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9761 echo $ac_n "(cached) $ac_c" 1>&6
9763 cat > conftest.
$ac_ext <<EOF
9764 #line 9765 "configure"
9765 #include "confdefs.h"
9768 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9769 { (eval echo configure
:9770: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9770 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9771 if test -z "$ac_err"; then
9773 eval "ac_cv_header_$ac_safe=yes"
9776 echo "configure: failed program was:" >&5
9777 cat conftest.
$ac_ext >&5
9779 eval "ac_cv_header_$ac_safe=no"
9783 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9784 echo "$ac_t""yes" 1>&6
9785 echo $ac_n "checking for png_check_sig in -lpng""... $ac_c" 1>&6
9786 echo "configure:9787: checking for png_check_sig in -lpng" >&5
9787 ac_lib_var
=`echo png'_'png_check_sig | sed 'y%./+-%__p_%'`
9788 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9789 echo $ac_n "(cached) $ac_c" 1>&6
9791 ac_save_LIBS
="$LIBS"
9792 LIBS
="-lpng -lz -lm $LIBS"
9793 cat > conftest.
$ac_ext <<EOF
9794 #line 9795 "configure"
9795 #include "confdefs.h"
9796 /* Override any gcc2 internal prototype to avoid an error. */
9797 /* We use char because int might match the return type of a gcc2
9798 builtin and then its argument prototype would still apply. */
9799 char png_check_sig();
9805 if { (eval echo configure
:9806: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9807 eval "ac_cv_lib_$ac_lib_var=yes"
9809 echo "configure: failed program was:" >&5
9810 cat conftest.
$ac_ext >&5
9812 eval "ac_cv_lib_$ac_lib_var=no"
9815 LIBS
="$ac_save_LIBS"
9818 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9819 echo "$ac_t""yes" 1>&6
9822 echo "$ac_t""no" 1>&6
9827 echo "$ac_t""no" 1>&6
9831 if test "x$PNG_LINK" = "x" ; then
9832 if test "$wxUSE_LIBPNG" = "sys" ; then
9833 { echo "configure: error: system png library not found! Use --with-libpng=builtin to use built-in version" 1>&2; exit 1; }
9835 echo "configure: warning: system png library not found, will use built-in instead" 1>&2
9836 wxUSE_LIBPNG
=builtin
9843 if test "$wxUSE_LIBPNG" = "builtin" ; then
9844 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
9847 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
9853 if test "$wxUSE_LIBJPEG" != "no" ; then
9854 cat >> confdefs.h
<<\EOF
9855 #define wxUSE_LIBJPEG 1
9859 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
9860 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6
9861 echo "configure:9862: checking for jpeglib.h" >&5
9862 if eval "test \"`echo '$''{'ac_cv_header_jpeglib_h'+set}'`\" = set"; then
9863 echo $ac_n "(cached) $ac_c" 1>&6
9865 cat > conftest.
$ac_ext <<EOF
9866 #line 9867 "configure"
9867 #include "confdefs.h"
9869 #undef HAVE_STDLIB_H
9871 #include <jpeglib.h>
9878 if { (eval echo configure
:9879: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9880 ac_cv_header_jpeglib_h
=yes
9882 echo "configure: failed program was:" >&5
9883 cat conftest.
$ac_ext >&5
9885 ac_cv_header_jpeglib_h
=no
9892 echo "$ac_t""$ac_cv_header_jpeglib_h" 1>&6
9894 if test "$ac_cv_header_jpeglib_h" = "yes"; then
9895 echo $ac_n "checking for jpeg_read_header in -ljpeg""... $ac_c" 1>&6
9896 echo "configure:9897: checking for jpeg_read_header in -ljpeg" >&5
9897 ac_lib_var
=`echo jpeg'_'jpeg_read_header | sed 'y%./+-%__p_%'`
9898 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9899 echo $ac_n "(cached) $ac_c" 1>&6
9901 ac_save_LIBS
="$LIBS"
9903 cat > conftest.
$ac_ext <<EOF
9904 #line 9905 "configure"
9905 #include "confdefs.h"
9906 /* Override any gcc2 internal prototype to avoid an error. */
9907 /* We use char because int might match the return type of a gcc2
9908 builtin and then its argument prototype would still apply. */
9909 char jpeg_read_header();
9915 if { (eval echo configure
:9916: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9917 eval "ac_cv_lib_$ac_lib_var=yes"
9919 echo "configure: failed program was:" >&5
9920 cat conftest.
$ac_ext >&5
9922 eval "ac_cv_lib_$ac_lib_var=no"
9925 LIBS
="$ac_save_LIBS"
9928 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9929 echo "$ac_t""yes" 1>&6
9932 echo "$ac_t""no" 1>&6
9937 if test "x$JPEG_LINK" = "x" ; then
9938 if test "$wxUSE_LIBJPEG" = "sys" ; then
9939 { echo "configure: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" 1>&2; exit 1; }
9941 echo "configure: warning: system jpeg library not found, will use built-in instead" 1>&2
9942 wxUSE_LIBJPEG
=builtin
9949 if test "$wxUSE_LIBJPEG" = "builtin" ; then
9950 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
9957 if test "$wxUSE_LIBTIFF" != "no" ; then
9958 cat >> confdefs.h
<<\EOF
9959 #define wxUSE_LIBTIFF 1
9963 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
9964 ac_safe
=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
9965 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
9966 echo "configure:9967: checking for tiffio.h" >&5
9967 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9968 echo $ac_n "(cached) $ac_c" 1>&6
9970 cat > conftest.
$ac_ext <<EOF
9971 #line 9972 "configure"
9972 #include "confdefs.h"
9975 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9976 { (eval echo configure
:9977: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9977 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9978 if test -z "$ac_err"; then
9980 eval "ac_cv_header_$ac_safe=yes"
9983 echo "configure: failed program was:" >&5
9984 cat conftest.
$ac_ext >&5
9986 eval "ac_cv_header_$ac_safe=no"
9990 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9991 echo "$ac_t""yes" 1>&6
9992 echo $ac_n "checking for TIFFError in -ltiff""... $ac_c" 1>&6
9993 echo "configure:9994: checking for TIFFError in -ltiff" >&5
9994 ac_lib_var
=`echo tiff'_'TIFFError | sed 'y%./+-%__p_%'`
9995 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9996 echo $ac_n "(cached) $ac_c" 1>&6
9998 ac_save_LIBS
="$LIBS"
9999 LIBS
="-ltiff -lm $LIBS"
10000 cat > conftest.
$ac_ext <<EOF
10001 #line 10002 "configure"
10002 #include "confdefs.h"
10003 /* Override any gcc2 internal prototype to avoid an error. */
10004 /* We use char because int might match the return type of a gcc2
10005 builtin and then its argument prototype would still apply. */
10012 if { (eval echo configure
:10013: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10014 eval "ac_cv_lib_$ac_lib_var=yes"
10016 echo "configure: failed program was:" >&5
10017 cat conftest.
$ac_ext >&5
10019 eval "ac_cv_lib_$ac_lib_var=no"
10022 LIBS
="$ac_save_LIBS"
10025 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10026 echo "$ac_t""yes" 1>&6
10027 TIFF_LINK
=" -ltiff"
10029 echo "$ac_t""no" 1>&6
10034 echo "$ac_t""no" 1>&6
10038 if test "x$TIFF_LINK" = "x" ; then
10039 if test "$wxUSE_LIBTIFF" = "sys" ; then
10040 { echo "configure: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" 1>&2; exit 1; }
10042 echo "configure: warning: system tiff library not found, will use built-in instead" 1>&2
10043 wxUSE_LIBTIFF
=builtin
10050 if test "$wxUSE_LIBTIFF" = "builtin" ; then
10051 TIFF_INCLUDE
="-I\${top_srcdir}/src/tiff"
10058 if test "$wxUSE_FREETYPE" != "no" ; then
10059 cat >> confdefs.h
<<\EOF
10060 #define wxUSE_FREETYPE 1
10064 if test "$wxUSE_FREETYPE" = "sys" -o "$wxUSE_FREETYPE" = "yes" ; then
10065 ac_safe
=`echo "freetype.h" | sed 'y%./+-%__p_%'`
10066 echo $ac_n "checking for freetype.h""... $ac_c" 1>&6
10067 echo "configure:10068: checking for freetype.h" >&5
10068 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10069 echo $ac_n "(cached) $ac_c" 1>&6
10071 cat > conftest.
$ac_ext <<EOF
10072 #line 10073 "configure"
10073 #include "confdefs.h"
10074 #include <freetype.h>
10076 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10077 { (eval echo configure
:10078: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10078 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10079 if test -z "$ac_err"; then
10081 eval "ac_cv_header_$ac_safe=yes"
10084 echo "configure: failed program was:" >&5
10085 cat conftest.
$ac_ext >&5
10087 eval "ac_cv_header_$ac_safe=no"
10091 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10092 echo "$ac_t""yes" 1>&6
10093 echo $ac_n "checking for FT_Render_Glyph in -lfreetype""... $ac_c" 1>&6
10094 echo "configure:10095: checking for FT_Render_Glyph in -lfreetype" >&5
10095 ac_lib_var
=`echo freetype'_'FT_Render_Glyph | sed 'y%./+-%__p_%'`
10096 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10097 echo $ac_n "(cached) $ac_c" 1>&6
10099 ac_save_LIBS
="$LIBS"
10100 LIBS
="-lfreetype -lm $LIBS"
10101 cat > conftest.
$ac_ext <<EOF
10102 #line 10103 "configure"
10103 #include "confdefs.h"
10104 /* Override any gcc2 internal prototype to avoid an error. */
10105 /* We use char because int might match the return type of a gcc2
10106 builtin and then its argument prototype would still apply. */
10107 char FT_Render_Glyph();
10113 if { (eval echo configure
:10114: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10115 eval "ac_cv_lib_$ac_lib_var=yes"
10117 echo "configure: failed program was:" >&5
10118 cat conftest.
$ac_ext >&5
10120 eval "ac_cv_lib_$ac_lib_var=no"
10123 LIBS
="$ac_save_LIBS"
10126 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10127 echo "$ac_t""yes" 1>&6
10128 FREETYPE_LINK
=" -lfreetype"
10130 echo "$ac_t""no" 1>&6
10135 echo "$ac_t""no" 1>&6
10139 if test "x$FREETYPE_LINK" = "x" ; then
10140 if test "$wxUSE_FREETYPE" = "sys" ; then
10141 { echo "configure: error: system freetype library not found! Use --with-freetype=builtin to use built-in version" 1>&2; exit 1; }
10143 echo "configure: warning: system freetype library not found, will use built-in instead" 1>&2
10144 wxUSE_FREETYPE
=builtin
10151 if test "$wxUSE_FREETYPE" = "builtin" ; then
10152 FREETYPE_INCLUDE
="-I\${top_srcdir}/src/freetype"
10163 if test "$USE_WIN32" = 1 ; then
10164 for ac_hdr
in w32api.h
10166 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10167 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10168 echo "configure:10169: checking for $ac_hdr" >&5
10169 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10170 echo $ac_n "(cached) $ac_c" 1>&6
10172 cat > conftest.
$ac_ext <<EOF
10173 #line 10174 "configure"
10174 #include "confdefs.h"
10177 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10178 { (eval echo configure
:10179: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10179 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10180 if test -z "$ac_err"; then
10182 eval "ac_cv_header_$ac_safe=yes"
10185 echo "configure: failed program was:" >&5
10186 cat conftest.
$ac_ext >&5
10188 eval "ac_cv_header_$ac_safe=no"
10192 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10193 echo "$ac_t""yes" 1>&6
10194 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10195 cat >> confdefs.h
<<EOF
10196 #define $ac_tr_hdr 1
10200 echo "$ac_t""no" 1>&6
10204 ac_safe
=`echo "windows.h" | sed 'y%./+-%__p_%'`
10205 echo $ac_n "checking for windows.h""... $ac_c" 1>&6
10206 echo "configure:10207: checking for windows.h" >&5
10207 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10208 echo $ac_n "(cached) $ac_c" 1>&6
10210 cat > conftest.
$ac_ext <<EOF
10211 #line 10212 "configure"
10212 #include "confdefs.h"
10213 #include <windows.h>
10215 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10216 { (eval echo configure
:10217: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10217 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10218 if test -z "$ac_err"; then
10220 eval "ac_cv_header_$ac_safe=yes"
10223 echo "configure: failed program was:" >&5
10224 cat conftest.
$ac_ext >&5
10226 eval "ac_cv_header_$ac_safe=no"
10230 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10231 echo "$ac_t""yes" 1>&6
10234 echo "$ac_t""no" 1>&6
10236 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
10241 echo $ac_n "checking if w32api has good enough MSIE support""... $ac_c" 1>&6
10242 echo "configure:10243: checking if w32api has good enough MSIE support" >&5
10243 if eval "test \"`echo '$''{'wx_cv_w32api_win32_ie'+set}'`\" = set"; then
10244 echo $ac_n "(cached) $ac_c" 1>&6
10247 cat > conftest.
$ac_ext <<EOF
10248 #line 10249 "configure"
10249 #include "confdefs.h"
10250 #include <w32api.h>
10253 #define wxCHECK_W32API_VERSION( major, minor ) \
10254 ( defined( __W32API_MAJOR_VERSION ) && defined( __W32API_MINOR_VERSION ) \
10255 && ( ( __W32API_MAJOR_VERSION > (major) ) \
10256 || ( __W32API_MAJOR_VERSION == (major) && __W32API_MINOR_VERSION >= (minor))))
10258 #if !wxCHECK_W32API_VERSION(1,1)
10259 #error You need w32api 1.1 or newer
10264 if { (eval echo configure
:10265: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10267 wx_cv_w32api_win32_ie
=yes
10270 echo "configure: failed program was:" >&5
10271 cat conftest.
$ac_ext >&5
10274 wx_cv_w32api_win32_ie
=no
10281 echo "$ac_t""$wx_cv_w32api_win32_ie" 1>&6
10282 if test "$wx_cv_w32api_win32_ie" = "yes" ; then
10283 CPPFLAGS
="$CPPFLAGS -D_WIN32_IE=0x400"
10286 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -ladvapi32 -lwsock32"
10290 LIBS
="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32"
10291 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
10294 if test "$wxUSE_ODBC" = "yes" ; then
10295 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
10298 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
10299 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
10302 if test "$wxUSE_GUI" = "yes"; then
10311 if test "$wxUSE_MSW" = 1 ; then
10317 LDFLAGS
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
10321 if test "$wxUSE_GTK" = 1; then
10322 echo $ac_n "checking for GTK+ version""... $ac_c" 1>&6
10323 echo "configure:10324: checking for GTK+ version" >&5
10325 gtk_version_cached
=1
10326 if eval "test \"`echo '$''{'wx_cv_lib_gtk'+set}'`\" = set"; then
10327 echo $ac_n "(cached) $ac_c" 1>&6
10330 gtk_version_cached
=0
10331 echo "$ac_t""" 1>&6
10334 if test "$wxUSE_THREADS" = "yes"; then
10335 GTK_MODULES
=gthread
10339 if test "x$wxUSE_GTK2" = "xyes"; then
10340 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
10341 if test "${with_gtk_prefix+set}" = set; then
10342 withval
="$with_gtk_prefix"
10343 gtk_config_prefix
="$withval"
10345 gtk_config_prefix
=""
10348 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
10349 if test "${with_gtk_exec_prefix+set}" = set; then
10350 withval
="$with_gtk_exec_prefix"
10351 gtk_config_exec_prefix
="$withval"
10353 gtk_config_exec_prefix
=""
10356 # Check whether --enable-gtktest or --disable-gtktest was given.
10357 if test "${enable_gtktest+set}" = set; then
10358 enableval
="$enable_gtktest"
10365 for module
in .
$GTK_MODULES
10369 gtk_config_args
="$gtk_config_args gthread"
10374 if test x
$gtk_config_exec_prefix != x
; then
10375 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
10376 if test x
${GTK_CONFIG_2_0+set} != xset
; then
10377 GTK_CONFIG_2_0
=$gtk_config_exec_prefix/bin
/gtk
-config-2.0
10380 if test x
$gtk_config_prefix != x
; then
10381 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
10382 if test x
${GTK_CONFIG_2_0+set} != xset
; then
10383 GTK_CONFIG_2_0
=$gtk_config_prefix/bin
/gtk
-config-2.0
10387 # Extract the first word of "gtk-config-2.0", so it can be a program name with args.
10388 set dummy gtk
-config-2.0
; ac_word
=$2
10389 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
10390 echo "configure:10391: checking for $ac_word" >&5
10391 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG_2_0'+set}'`\" = set"; then
10392 echo $ac_n "(cached) $ac_c" 1>&6
10394 case "$GTK_CONFIG_2_0" in
10396 ac_cv_path_GTK_CONFIG_2_0
="$GTK_CONFIG_2_0" # Let the user override the test with a path.
10399 ac_cv_path_GTK_CONFIG_2_0
="$GTK_CONFIG_2_0" # Let the user override the test with a dos path.
10402 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
10404 for ac_dir
in $ac_dummy; do
10405 test -z "$ac_dir" && ac_dir
=.
10406 if test -f $ac_dir/$ac_word; then
10407 ac_cv_path_GTK_CONFIG_2_0
="$ac_dir/$ac_word"
10412 test -z "$ac_cv_path_GTK_CONFIG_2_0" && ac_cv_path_GTK_CONFIG_2_0
="no"
10416 GTK_CONFIG_2_0
="$ac_cv_path_GTK_CONFIG_2_0"
10417 if test -n "$GTK_CONFIG_2_0"; then
10418 echo "$ac_t""$GTK_CONFIG_2_0" 1>&6
10420 echo "$ac_t""no" 1>&6
10423 min_gtk_version
=1.3.1
10424 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
10425 echo "configure:10426: checking for GTK - version >= $min_gtk_version" >&5
10427 if test "$GTK_CONFIG_2_0" = "no" ; then
10430 GTK_CFLAGS
=`$GTK_CONFIG_2_0 $gtk_config_args --cflags`
10431 GTK_LIBS
=`$GTK_CONFIG_2_0 $gtk_config_args --libs`
10432 gtk_config_major_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
10433 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
10434 gtk_config_minor_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
10435 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
10436 gtk_config_micro_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
10437 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
10438 if test "x$enable_gtktest" = "xyes" ; then
10439 ac_save_CFLAGS
="$CFLAGS"
10440 ac_save_LIBS
="$LIBS"
10441 CFLAGS
="$CFLAGS $GTK_CFLAGS"
10442 LIBS
="$GTK_LIBS $LIBS"
10444 if test "$cross_compiling" = yes; then
10445 echo $ac_n "cross compiling; assumed OK... $ac_c"
10447 cat > conftest.
$ac_ext <<EOF
10448 #line 10449 "configure"
10449 #include "confdefs.h"
10451 #include <gtk/gtk.h>
10453 #include <stdlib.h>
10458 int major, minor, micro;
10461 system ("touch conf.gtktest");
10463 /* HP/UX 9 (%@#!) writes to sscanf strings */
10464 tmp_version = g_strdup("$min_gtk_version");
10465 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
10466 printf("%s, bad version string\n", "$min_gtk_version");
10470 if ((gtk_major_version != $gtk_config_major_version) ||
10471 (gtk_minor_version != $gtk_config_minor_version) ||
10472 (gtk_micro_version != $gtk_config_micro_version))
10474 printf("\n*** 'gtk-config-2.0 --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
10475 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
10476 gtk_major_version, gtk_minor_version, gtk_micro_version);
10477 printf ("*** was found! If gtk-config-2.0 was correct, then it is best\n");
10478 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
10479 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
10480 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
10481 printf("*** required on your system.\n");
10482 printf("*** If gtk-config-2.0 was wrong, set the environment variable GTK_CONFIG_2_0\n");
10483 printf("*** to point to the correct copy of gtk-config-2.0, and remove the file config.cache\n");
10484 printf("*** before re-running configure\n");
10486 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
10487 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
10488 (gtk_minor_version != GTK_MINOR_VERSION) ||
10489 (gtk_micro_version != GTK_MICRO_VERSION))
10491 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
10492 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
10493 printf("*** library (version %d.%d.%d)\n",
10494 gtk_major_version, gtk_minor_version, gtk_micro_version);
10496 #endif /* defined (GTK_MAJOR_VERSION) ... */
10499 if ((gtk_major_version > major) ||
10500 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
10501 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
10507 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
10508 gtk_major_version, gtk_minor_version, gtk_micro_version);
10509 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
10510 major, minor, micro);
10511 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
10513 printf("*** If you have already installed a sufficiently new version, this error\n");
10514 printf("*** probably means that the wrong copy of the gtk-config-2.0 shell script is\n");
10515 printf("*** being found. The easiest way to fix this is to remove the old version\n");
10516 printf("*** of GTK+, but you can also set the GTK_CONFIG_2_0 environment to point to the\n");
10517 printf("*** correct copy of gtk-config-2.0. (In this case, you will have to\n");
10518 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
10519 printf("*** so that the correct libraries are found at run-time))\n");
10526 if { (eval echo configure
:10527: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10530 echo "configure: failed program was:" >&5
10531 cat conftest.
$ac_ext >&5
10538 CFLAGS
="$ac_save_CFLAGS"
10539 LIBS
="$ac_save_LIBS"
10542 if test "x$no_gtk" = x
; then
10543 echo "$ac_t""yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" 1>&6
10546 echo "$ac_t""no" 1>&6
10547 if test "$GTK_CONFIG_2_0" = "no" ; then
10548 echo "*** The gtk-config-2.0 script installed by GTK could not be found"
10549 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
10550 echo "*** your path, or set the GTK_CONFIG_2_0 environment variable to the"
10551 echo "*** full path to gtk-config-2.0."
10553 if test -f conf.gtktest
; then
10556 echo "*** Could not run GTK test program, checking why..."
10557 CFLAGS
="$CFLAGS $GTK_CFLAGS"
10558 LIBS
="$LIBS $GTK_LIBS"
10559 cat > conftest.
$ac_ext <<EOF
10560 #line 10561 "configure"
10561 #include "confdefs.h"
10563 #include <gtk/gtk.h>
10567 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
10570 if { (eval echo configure
:10571: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10572 echo "*** The test program compiled, but did not run. This usually means"
10573 echo "*** that the run-time linker is not finding GTK or finding the wrong"
10574 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
10575 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
10576 echo "*** to the installed location Also, make sure you have run ldconfig if that"
10577 echo "*** is required on your system"
10579 echo "*** If you have an old version installed, it is best to remove it, although"
10580 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
10582 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
10583 echo "*** came with the system with the command"
10585 echo "*** rpm --erase --nodeps gtk gtk-devel"
10587 echo "configure: failed program was:" >&5
10588 cat conftest.
$ac_ext >&5
10590 echo "*** The test program failed to compile or link. See the file config.log for the"
10591 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
10592 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
10593 echo "*** may want to edit the gtk-config-2.0 script: $GTK_CONFIG_2_0"
10596 CFLAGS
="$ac_save_CFLAGS"
10597 LIBS
="$ac_save_LIBS"
10610 if test -z "$wx_cv_lib_gtk"; then
10611 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
10612 if test "${with_gtk_prefix+set}" = set; then
10613 withval
="$with_gtk_prefix"
10614 gtk_config_prefix
="$withval"
10616 gtk_config_prefix
=""
10619 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
10620 if test "${with_gtk_exec_prefix+set}" = set; then
10621 withval
="$with_gtk_exec_prefix"
10622 gtk_config_exec_prefix
="$withval"
10624 gtk_config_exec_prefix
=""
10627 # Check whether --enable-gtktest or --disable-gtktest was given.
10628 if test "${enable_gtktest+set}" = set; then
10629 enableval
="$enable_gtktest"
10636 for module
in .
$GTK_MODULES
10640 gtk_config_args
="$gtk_config_args gthread"
10645 if test x
$gtk_config_exec_prefix != x
; then
10646 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
10647 if test x
${GTK_CONFIG+set} != xset
; then
10648 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
10651 if test x
$gtk_config_prefix != x
; then
10652 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
10653 if test x
${GTK_CONFIG+set} != xset
; then
10654 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
10658 # Extract the first word of "gtk-config", so it can be a program name with args.
10659 set dummy gtk
-config; ac_word
=$2
10660 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
10661 echo "configure:10662: checking for $ac_word" >&5
10662 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
10663 echo $ac_n "(cached) $ac_c" 1>&6
10665 case "$GTK_CONFIG" in
10667 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
10670 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
10673 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
10675 for ac_dir
in $ac_dummy; do
10676 test -z "$ac_dir" && ac_dir
=.
10677 if test -f $ac_dir/$ac_word; then
10678 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
10683 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
10687 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
10688 if test -n "$GTK_CONFIG"; then
10689 echo "$ac_t""$GTK_CONFIG" 1>&6
10691 echo "$ac_t""no" 1>&6
10694 min_gtk_version
=1.2.7
10695 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
10696 echo "configure:10697: checking for GTK - version >= $min_gtk_version" >&5
10698 if test "$GTK_CONFIG" = "no" ; then
10701 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
10702 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
10703 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
10704 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
10705 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
10706 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
10707 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
10708 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
10709 if test "x$enable_gtktest" = "xyes" ; then
10710 ac_save_CFLAGS
="$CFLAGS"
10711 ac_save_LIBS
="$LIBS"
10712 CFLAGS
="$CFLAGS $GTK_CFLAGS"
10713 LIBS
="$GTK_LIBS $LIBS"
10715 if test "$cross_compiling" = yes; then
10716 echo $ac_n "cross compiling; assumed OK... $ac_c"
10718 cat > conftest.
$ac_ext <<EOF
10719 #line 10720 "configure"
10720 #include "confdefs.h"
10722 #include <gtk/gtk.h>
10724 #include <stdlib.h>
10729 int major, minor, micro;
10732 system ("touch conf.gtktest");
10734 /* HP/UX 9 (%@#!) writes to sscanf strings */
10735 tmp_version = g_strdup("$min_gtk_version");
10736 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
10737 printf("%s, bad version string\n", "$min_gtk_version");
10741 if ((gtk_major_version != $gtk_config_major_version) ||
10742 (gtk_minor_version != $gtk_config_minor_version) ||
10743 (gtk_micro_version != $gtk_config_micro_version))
10745 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
10746 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
10747 gtk_major_version, gtk_minor_version, gtk_micro_version);
10748 printf ("*** was found! If gtk-config was correct, then it is best\n");
10749 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
10750 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
10751 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
10752 printf("*** required on your system.\n");
10753 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
10754 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
10755 printf("*** before re-running configure\n");
10757 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
10758 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
10759 (gtk_minor_version != GTK_MINOR_VERSION) ||
10760 (gtk_micro_version != GTK_MICRO_VERSION))
10762 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
10763 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
10764 printf("*** library (version %d.%d.%d)\n",
10765 gtk_major_version, gtk_minor_version, gtk_micro_version);
10767 #endif /* defined (GTK_MAJOR_VERSION) ... */
10770 if ((gtk_major_version > major) ||
10771 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
10772 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
10778 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
10779 gtk_major_version, gtk_minor_version, gtk_micro_version);
10780 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
10781 major, minor, micro);
10782 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
10784 printf("*** If you have already installed a sufficiently new version, this error\n");
10785 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
10786 printf("*** being found. The easiest way to fix this is to remove the old version\n");
10787 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
10788 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
10789 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
10790 printf("*** so that the correct libraries are found at run-time))\n");
10797 if { (eval echo configure
:10798: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10801 echo "configure: failed program was:" >&5
10802 cat conftest.
$ac_ext >&5
10809 CFLAGS
="$ac_save_CFLAGS"
10810 LIBS
="$ac_save_LIBS"
10813 if test "x$no_gtk" = x
; then
10814 echo "$ac_t""yes" 1>&6
10815 wx_cv_lib_gtk
=1.2.7
10817 echo "$ac_t""no" 1>&6
10818 if test "$GTK_CONFIG" = "no" ; then
10819 echo "*** The gtk-config script installed by GTK could not be found"
10820 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
10821 echo "*** your path, or set the GTK_CONFIG environment variable to the"
10822 echo "*** full path to gtk-config."
10824 if test -f conf.gtktest
; then
10827 echo "*** Could not run GTK test program, checking why..."
10828 CFLAGS
="$CFLAGS $GTK_CFLAGS"
10829 LIBS
="$LIBS $GTK_LIBS"
10830 cat > conftest.
$ac_ext <<EOF
10831 #line 10832 "configure"
10832 #include "confdefs.h"
10834 #include <gtk/gtk.h>
10838 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
10841 if { (eval echo configure
:10842: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10843 echo "*** The test program compiled, but did not run. This usually means"
10844 echo "*** that the run-time linker is not finding GTK or finding the wrong"
10845 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
10846 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
10847 echo "*** to the installed location Also, make sure you have run ldconfig if that"
10848 echo "*** is required on your system"
10850 echo "*** If you have an old version installed, it is best to remove it, although"
10851 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
10853 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
10854 echo "*** came with the system with the command"
10856 echo "*** rpm --erase --nodeps gtk gtk-devel"
10858 echo "configure: failed program was:" >&5
10859 cat conftest.
$ac_ext >&5
10861 echo "*** The test program failed to compile or link. See the file config.log for the"
10862 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
10863 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
10864 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
10867 CFLAGS
="$ac_save_CFLAGS"
10868 LIBS
="$ac_save_LIBS"
10881 if test -z "$wx_cv_lib_gtk"; then
10882 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
10883 if test "${with_gtk_prefix+set}" = set; then
10884 withval
="$with_gtk_prefix"
10885 gtk_config_prefix
="$withval"
10887 gtk_config_prefix
=""
10890 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
10891 if test "${with_gtk_exec_prefix+set}" = set; then
10892 withval
="$with_gtk_exec_prefix"
10893 gtk_config_exec_prefix
="$withval"
10895 gtk_config_exec_prefix
=""
10898 # Check whether --enable-gtktest or --disable-gtktest was given.
10899 if test "${enable_gtktest+set}" = set; then
10900 enableval
="$enable_gtktest"
10907 for module
in .
$GTK_MODULES
10911 gtk_config_args
="$gtk_config_args gthread"
10916 if test x
$gtk_config_exec_prefix != x
; then
10917 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
10918 if test x
${GTK_CONFIG+set} != xset
; then
10919 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
10922 if test x
$gtk_config_prefix != x
; then
10923 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
10924 if test x
${GTK_CONFIG+set} != xset
; then
10925 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
10929 # Extract the first word of "gtk-config", so it can be a program name with args.
10930 set dummy gtk
-config; ac_word
=$2
10931 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
10932 echo "configure:10933: checking for $ac_word" >&5
10933 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
10934 echo $ac_n "(cached) $ac_c" 1>&6
10936 case "$GTK_CONFIG" in
10938 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
10941 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
10944 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
10946 for ac_dir
in $ac_dummy; do
10947 test -z "$ac_dir" && ac_dir
=.
10948 if test -f $ac_dir/$ac_word; then
10949 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
10954 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
10958 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
10959 if test -n "$GTK_CONFIG"; then
10960 echo "$ac_t""$GTK_CONFIG" 1>&6
10962 echo "$ac_t""no" 1>&6
10965 min_gtk_version
=1.2.3
10966 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
10967 echo "configure:10968: checking for GTK - version >= $min_gtk_version" >&5
10969 if test "$GTK_CONFIG" = "no" ; then
10972 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
10973 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
10974 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
10975 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
10976 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
10977 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
10978 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
10979 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
10980 if test "x$enable_gtktest" = "xyes" ; then
10981 ac_save_CFLAGS
="$CFLAGS"
10982 ac_save_LIBS
="$LIBS"
10983 CFLAGS
="$CFLAGS $GTK_CFLAGS"
10984 LIBS
="$GTK_LIBS $LIBS"
10986 if test "$cross_compiling" = yes; then
10987 echo $ac_n "cross compiling; assumed OK... $ac_c"
10989 cat > conftest.
$ac_ext <<EOF
10990 #line 10991 "configure"
10991 #include "confdefs.h"
10993 #include <gtk/gtk.h>
10995 #include <stdlib.h>
11000 int major, minor, micro;
11003 system ("touch conf.gtktest");
11005 /* HP/UX 9 (%@#!) writes to sscanf strings */
11006 tmp_version = g_strdup("$min_gtk_version");
11007 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
11008 printf("%s, bad version string\n", "$min_gtk_version");
11012 if ((gtk_major_version != $gtk_config_major_version) ||
11013 (gtk_minor_version != $gtk_config_minor_version) ||
11014 (gtk_micro_version != $gtk_config_micro_version))
11016 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
11017 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
11018 gtk_major_version, gtk_minor_version, gtk_micro_version);
11019 printf ("*** was found! If gtk-config was correct, then it is best\n");
11020 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
11021 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
11022 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
11023 printf("*** required on your system.\n");
11024 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
11025 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
11026 printf("*** before re-running configure\n");
11028 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
11029 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
11030 (gtk_minor_version != GTK_MINOR_VERSION) ||
11031 (gtk_micro_version != GTK_MICRO_VERSION))
11033 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
11034 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
11035 printf("*** library (version %d.%d.%d)\n",
11036 gtk_major_version, gtk_minor_version, gtk_micro_version);
11038 #endif /* defined (GTK_MAJOR_VERSION) ... */
11041 if ((gtk_major_version > major) ||
11042 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
11043 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
11049 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
11050 gtk_major_version, gtk_minor_version, gtk_micro_version);
11051 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
11052 major, minor, micro);
11053 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
11055 printf("*** If you have already installed a sufficiently new version, this error\n");
11056 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
11057 printf("*** being found. The easiest way to fix this is to remove the old version\n");
11058 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
11059 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
11060 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
11061 printf("*** so that the correct libraries are found at run-time))\n");
11068 if { (eval echo configure
:11069: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11072 echo "configure: failed program was:" >&5
11073 cat conftest.
$ac_ext >&5
11080 CFLAGS
="$ac_save_CFLAGS"
11081 LIBS
="$ac_save_LIBS"
11084 if test "x$no_gtk" = x
; then
11085 echo "$ac_t""yes" 1>&6
11086 wx_cv_lib_gtk
=1.2.3
11088 echo "$ac_t""no" 1>&6
11089 if test "$GTK_CONFIG" = "no" ; then
11090 echo "*** The gtk-config script installed by GTK could not be found"
11091 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
11092 echo "*** your path, or set the GTK_CONFIG environment variable to the"
11093 echo "*** full path to gtk-config."
11095 if test -f conf.gtktest
; then
11098 echo "*** Could not run GTK test program, checking why..."
11099 CFLAGS
="$CFLAGS $GTK_CFLAGS"
11100 LIBS
="$LIBS $GTK_LIBS"
11101 cat > conftest.
$ac_ext <<EOF
11102 #line 11103 "configure"
11103 #include "confdefs.h"
11105 #include <gtk/gtk.h>
11109 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
11112 if { (eval echo configure
:11113: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11114 echo "*** The test program compiled, but did not run. This usually means"
11115 echo "*** that the run-time linker is not finding GTK or finding the wrong"
11116 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
11117 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
11118 echo "*** to the installed location Also, make sure you have run ldconfig if that"
11119 echo "*** is required on your system"
11121 echo "*** If you have an old version installed, it is best to remove it, although"
11122 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
11124 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
11125 echo "*** came with the system with the command"
11127 echo "*** rpm --erase --nodeps gtk gtk-devel"
11129 echo "configure: failed program was:" >&5
11130 cat conftest.
$ac_ext >&5
11132 echo "*** The test program failed to compile or link. See the file config.log for the"
11133 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
11134 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
11135 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
11138 CFLAGS
="$ac_save_CFLAGS"
11139 LIBS
="$ac_save_LIBS"
11152 if test -z "$wx_cv_lib_gtk"; then
11155 wx_cv_cflags_gtk
=$GTK_CFLAGS
11156 wx_cv_libs_gtk
=$GTK_LIBS
11163 if test "$gtk_version_cached" = 1; then
11164 echo "$ac_t""$wx_cv_lib_gtk" 1>&6
11167 case "$wx_cv_lib_gtk" in
11175 *) { echo "configure: error:
11176 Please check that gtk-config is in path, the directory
11177 where GTK+ libraries are installed (returned by
11178 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
11179 equivalent variable and GTK+ is version 1.2.3 or above.
11184 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
11185 GUI_TK_LIBRARY
="$wx_cv_libs_gtk"
11187 AFMINSTALL
=afminstall
11191 echo $ac_n "checking for gdk_im_open in -lgdk""... $ac_c" 1>&6
11192 echo "configure:11193: checking for gdk_im_open in -lgdk" >&5
11193 ac_lib_var
=`echo gdk'_'gdk_im_open | sed 'y%./+-%__p_%'`
11194 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11195 echo $ac_n "(cached) $ac_c" 1>&6
11197 ac_save_LIBS
="$LIBS"
11199 cat > conftest.
$ac_ext <<EOF
11200 #line 11201 "configure"
11201 #include "confdefs.h"
11202 /* Override any gcc2 internal prototype to avoid an error. */
11203 /* We use char because int might match the return type of a gcc2
11204 builtin and then its argument prototype would still apply. */
11205 char gdk_im_open();
11211 if { (eval echo configure
:11212: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11213 eval "ac_cv_lib_$ac_lib_var=yes"
11215 echo "configure: failed program was:" >&5
11216 cat conftest.
$ac_ext >&5
11218 eval "ac_cv_lib_$ac_lib_var=no"
11221 LIBS
="$ac_save_LIBS"
11224 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11225 echo "$ac_t""yes" 1>&6
11226 cat >> confdefs.h
<<\EOF
11231 echo "$ac_t""no" 1>&6
11236 if test "$wxUSE_MGL" = 1; then
11237 echo $ac_n "checking for SciTech MGL library""... $ac_c" 1>&6
11238 echo "configure:11239: checking for SciTech MGL library" >&5
11239 if test "x$MGL_ROOT" = x
; then
11240 echo "$ac_t""not found" 1>&6
11241 { echo "configure: error: Cannot find MGL library. Make sure MGL_ROOT is set." 1>&2; exit 1; }
11243 echo "$ac_t""$MGL_ROOT" 1>&6
11248 mgl_os
=linux
/gcc
/glibc
11254 { echo "configure: error: This system type ${host} is not yet supported by wxMGL." 1>&2; exit 1; }
11259 if test "$wxUSE_DEBUG_FLAG" = yes ; then
11260 if test -f $MGL_ROOT/lib
/debug
/$mgl_os/libmgl.a
-o \
11261 -f $MGL_ROOT/lib
/debug
/$mgl_os/libmgl.so
; then
11265 if test "x$mgl_lib_type" = x
; then
11266 if test -f $MGL_ROOT/lib
/release
/$mgl_os/libmgl.a
-o \
11267 -f $MGL_ROOT/lib
/release
/$mgl_os/libmgl.so
; then
11268 mgl_lib_type
=release
11270 { echo "configure: error: Cannot find MGL libraries, make sure they are compiled." 1>&2; exit 1; }
11274 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
11275 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
11277 AFMINSTALL
=afminstall
11282 if test "$wxUSE_MICROWIN" = 1; then
11283 echo $ac_n "checking for MicroWindows""... $ac_c" 1>&6
11284 echo "configure:11285: checking for MicroWindows" >&5
11285 if test "x$MICROWINDOWS" = x
; then
11286 echo "$ac_t""not found" 1>&6
11287 { echo "configure: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." 1>&2; exit 1; }
11289 echo "$ac_t""$MICROWINDOWS" 1>&6
11292 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
11293 echo "$ac_t""MicroWindows' libraries found." 1>&6
11295 { echo "configure: error: Cannot find MicroWindows libraries, make sure they are compiled." 1>&2; exit 1; }
11298 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
11299 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
11301 AFMINSTALL
=afminstall
11303 GUIDIST
=MICROWIN_DIST
11305 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__ -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
11308 if test "$wxUSE_WINE" = 1; then
11309 ac_safe
=`echo "windows.h" | sed 'y%./+-%__p_%'`
11310 echo $ac_n "checking for windows.h""... $ac_c" 1>&6
11311 echo "configure:11312: checking for windows.h" >&5
11312 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11313 echo $ac_n "(cached) $ac_c" 1>&6
11315 cat > conftest.
$ac_ext <<EOF
11316 #line 11317 "configure"
11317 #include "confdefs.h"
11318 #include <windows.h>
11320 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11321 { (eval echo configure
:11322: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11322 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11323 if test -z "$ac_err"; then
11325 eval "ac_cv_header_$ac_safe=yes"
11328 echo "configure: failed program was:" >&5
11329 cat conftest.
$ac_ext >&5
11331 eval "ac_cv_header_$ac_safe=no"
11335 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11336 echo "$ac_t""yes" 1>&6
11339 echo "$ac_t""no" 1>&6
11341 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
11347 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
11348 echo "configure:11349: checking for Xpm library" >&5
11351 for ac_dir
in $SEARCH_LIB;
11353 for ac_extension
in a so sl dylib
; do
11354 if test -f "$ac_dir/libXpm.$ac_extension"; then
11355 ac_find_libraries
=$ac_dir
11361 if test "$ac_find_libraries" != "" ; then
11362 GUI_TK_LIBRARY
="-L$ac_find_libraries"
11364 cat >> confdefs.h
<<\EOF
11365 #define wxHAVE_LIB_XPM 1
11368 echo "$ac_t""found at $ac_find_libraries" 1>&6
11370 echo "$ac_t""no" 1>&6
11371 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
11375 echo $ac_n "checking for Mesa library""... $ac_c" 1>&6
11376 echo "configure:11377: checking for Mesa library" >&5
11379 for ac_dir
in $SEARCH_LIB;
11381 for ac_extension
in a so sl dylib
; do
11382 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
11383 ac_find_libraries
=$ac_dir
11389 if test "$ac_find_libraries" != "" ; then
11390 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -L$ac_find_libraries"
11391 mesa_link
=" -lMesaGL"
11392 echo "$ac_t""found at $ac_find_libraries" 1>&6
11394 { echo "configure: error: no" 1>&2; exit 1; }
11397 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lwine$mesa_link$xpm_link -lXxf86dga -lXxf86vm -lSM -lICE -lXext -lXmu -lX11 -lncurses"
11400 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXWINE__"
11403 if test "$wxUSE_MOTIF" = 1; then
11404 # If we find X, set shell vars x_includes and x_libraries to the
11405 # paths, otherwise set no_x=yes.
11406 # Uses ac_ vars as temps to allow command line to override cache and checks.
11407 # --without-x overrides everything else, but does not touch the cache.
11408 echo $ac_n "checking for X""... $ac_c" 1>&6
11409 echo "configure:11410: checking for X" >&5
11411 # Check whether --with-x or --without-x was given.
11412 if test "${with_x+set}" = set; then
11417 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
11418 if test "x$with_x" = xno
; then
11419 # The user explicitly disabled X.
11422 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
11423 # Both variables are already set.
11426 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
11427 echo $ac_n "(cached) $ac_c" 1>&6
11429 # One or both of the vars are not set, and there is no cached value.
11430 ac_x_includes
=NO ac_x_libraries
=NO
11432 if mkdir conftestdir
; then
11434 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
11435 cat > Imakefile
<<'EOF'
11437 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
11439 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
11440 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
11441 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
11442 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
11443 for ac_extension
in a so sl
; do
11444 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
11445 test -f $ac_im_libdir/libX11.
$ac_extension; then
11446 ac_im_usrlibdir
=$ac_im_libdir; break
11449 # Screen out bogus values from the imake configuration. They are
11450 # bogus both because they are the default anyway, and because
11451 # using them would break gcc on systems where it needs fixed includes.
11452 case "$ac_im_incroot" in
11454 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;;
11456 case "$ac_im_usrlibdir" in
11457 /usr
/lib
| /lib
) ;;
11458 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;;
11465 if test "$ac_x_includes" = NO
; then
11466 # Guess where to find include files, by looking for this one X11 .h file.
11467 test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
11469 # First, try using that file with no special directory specified.
11470 cat > conftest.
$ac_ext <<EOF
11471 #line 11472 "configure"
11472 #include "confdefs.h"
11473 #include <$x_direct_test_include>
11475 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11476 { (eval echo configure
:11477: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11477 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11478 if test -z "$ac_err"; then
11480 # We can compile using X headers with no special include directory.
11484 echo "configure: failed program was:" >&5
11485 cat conftest.
$ac_ext >&5
11487 # Look for the header file in a standard set of common directories.
11488 # Check X11 before X11Rn because it is often a symlink to the current release.
11491 /usr
/X
11R
6/include \
11492 /usr
/X
11R
5/include \
11493 /usr
/X
11R
4/include \
11496 /usr
/include
/X11R6 \
11497 /usr
/include
/X11R5 \
11498 /usr
/include
/X11R4 \
11500 /usr
/local
/X
11/include \
11501 /usr
/local
/X
11R
6/include \
11502 /usr
/local
/X
11R
5/include \
11503 /usr
/local
/X
11R
4/include \
11505 /usr
/local
/include
/X11 \
11506 /usr
/local
/include
/X11R6 \
11507 /usr
/local
/include
/X11R5 \
11508 /usr
/local
/include
/X11R4 \
11510 /usr
/X
386/include \
11511 /usr
/x
386/include \
11512 /usr
/XFree
86/include
/X11 \
11515 /usr
/local
/include \
11516 /usr
/unsupported
/include \
11517 /usr
/athena
/include \
11518 /usr
/local
/x
11r
5/include \
11519 /usr
/lpp
/Xamples
/include \
11521 /usr
/openwin
/include \
11522 /usr
/openwin
/share
/include \
11525 if test -r "$ac_dir/$x_direct_test_include"; then
11526 ac_x_includes
=$ac_dir
11532 fi # $ac_x_includes = NO
11534 if test "$ac_x_libraries" = NO
; then
11535 # Check for the libraries.
11537 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
11538 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
11540 # See if we find them without any special options.
11541 # Don't add to $LIBS permanently.
11542 ac_save_LIBS
="$LIBS"
11543 LIBS
="-l$x_direct_test_library $LIBS"
11544 cat > conftest.
$ac_ext <<EOF
11545 #line 11546 "configure"
11546 #include "confdefs.h"
11549 ${x_direct_test_function}()
11552 if { (eval echo configure
:11553: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11554 LIBS
="$ac_save_LIBS"
11555 # We can link X programs with no special library path.
11558 echo "configure: failed program was:" >&5
11559 cat conftest.
$ac_ext >&5
11561 LIBS
="$ac_save_LIBS"
11562 # First see if replacing the include by lib works.
11563 # Check X11 before X11Rn because it is often a symlink to the current release.
11564 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib/` \
11575 /usr
/local
/X
11/lib \
11576 /usr
/local
/X
11R
6/lib \
11577 /usr
/local
/X
11R
5/lib \
11578 /usr
/local
/X
11R
4/lib \
11580 /usr
/local
/lib
/X11 \
11581 /usr
/local
/lib
/X11R6 \
11582 /usr
/local
/lib
/X11R5 \
11583 /usr
/local
/lib
/X11R4 \
11587 /usr
/XFree
86/lib
/X11 \
11591 /usr
/unsupported
/lib \
11593 /usr
/local
/x
11r
5/lib \
11594 /usr
/lpp
/Xamples
/lib \
11598 /usr
/openwin
/share
/lib \
11601 for ac_extension
in a so sl
; do
11602 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
11603 ac_x_libraries
=$ac_dir
11610 fi # $ac_x_libraries = NO
11612 if test "$ac_x_includes" = NO
|| test "$ac_x_libraries" = NO
; then
11613 # Didn't find X anywhere. Cache the known absence of X.
11614 ac_cv_have_x
="have_x=no"
11616 # Record where we found X for the cache.
11617 ac_cv_have_x
="have_x=yes \
11618 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
11622 eval "$ac_cv_have_x"
11625 if test "$have_x" != yes; then
11626 echo "$ac_t""$have_x" 1>&6
11629 # If each of the values was on the command line, it overrides each guess.
11630 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
11631 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
11632 # Update the cache value to reflect the command line values.
11633 ac_cv_have_x
="have_x=yes \
11634 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
11635 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
11638 if test "$no_x" = yes; then
11639 # Not all programs may use this symbol, but it does not hurt to define it.
11640 cat >> confdefs.h
<<\EOF
11641 #define X_DISPLAY_MISSING 1
11644 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
11646 if test -n "$x_includes"; then
11647 X_CFLAGS
="$X_CFLAGS -I$x_includes"
11650 # It would also be nice to do this for all -L options, not just this one.
11651 if test -n "$x_libraries"; then
11652 X_LIBS
="$X_LIBS -L$x_libraries"
11653 # For Solaris; some versions of Sun CC require a space after -R and
11654 # others require no space. Words are not sufficient . . . .
11655 case "`(uname -sr) 2>/dev/null`" in
11657 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
11658 echo "configure:11659: checking whether -R must be followed by a space" >&5
11659 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
11660 cat > conftest.
$ac_ext <<EOF
11661 #line 11662 "configure"
11662 #include "confdefs.h"
11668 if { (eval echo configure
:11669: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11672 echo "configure: failed program was:" >&5
11673 cat conftest.
$ac_ext >&5
11678 if test $ac_R_nospace = yes; then
11679 echo "$ac_t""no" 1>&6
11680 X_LIBS
="$X_LIBS -R$x_libraries"
11682 LIBS
="$ac_xsave_LIBS -R $x_libraries"
11683 cat > conftest.
$ac_ext <<EOF
11684 #line 11685 "configure"
11685 #include "confdefs.h"
11691 if { (eval echo configure
:11692: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11695 echo "configure: failed program was:" >&5
11696 cat conftest.
$ac_ext >&5
11701 if test $ac_R_space = yes; then
11702 echo "$ac_t""yes" 1>&6
11703 X_LIBS
="$X_LIBS -R $x_libraries"
11705 echo "$ac_t""neither works" 1>&6
11708 LIBS
="$ac_xsave_LIBS"
11712 # Check for system-dependent libraries X programs must link with.
11713 # Do this before checking for the system-independent R6 libraries
11714 # (-lICE), since we may need -lsocket or whatever for X linking.
11716 if test "$ISC" = yes; then
11717 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
11719 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
11720 # libraries were built with DECnet support. And karl@cs.umb.edu says
11721 # the Alpha needs dnet_stub (dnet does not exist).
11722 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
11723 echo "configure:11724: checking for dnet_ntoa in -ldnet" >&5
11724 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
11725 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11726 echo $ac_n "(cached) $ac_c" 1>&6
11728 ac_save_LIBS
="$LIBS"
11729 LIBS
="-ldnet $LIBS"
11730 cat > conftest.
$ac_ext <<EOF
11731 #line 11732 "configure"
11732 #include "confdefs.h"
11733 /* Override any gcc2 internal prototype to avoid an error. */
11734 /* We use char because int might match the return type of a gcc2
11735 builtin and then its argument prototype would still apply. */
11742 if { (eval echo configure
:11743: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11744 eval "ac_cv_lib_$ac_lib_var=yes"
11746 echo "configure: failed program was:" >&5
11747 cat conftest.
$ac_ext >&5
11749 eval "ac_cv_lib_$ac_lib_var=no"
11752 LIBS
="$ac_save_LIBS"
11755 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11756 echo "$ac_t""yes" 1>&6
11757 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
11759 echo "$ac_t""no" 1>&6
11762 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
11763 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
11764 echo "configure:11765: checking for dnet_ntoa in -ldnet_stub" >&5
11765 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
11766 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11767 echo $ac_n "(cached) $ac_c" 1>&6
11769 ac_save_LIBS
="$LIBS"
11770 LIBS
="-ldnet_stub $LIBS"
11771 cat > conftest.
$ac_ext <<EOF
11772 #line 11773 "configure"
11773 #include "confdefs.h"
11774 /* Override any gcc2 internal prototype to avoid an error. */
11775 /* We use char because int might match the return type of a gcc2
11776 builtin and then its argument prototype would still apply. */
11783 if { (eval echo configure
:11784: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11785 eval "ac_cv_lib_$ac_lib_var=yes"
11787 echo "configure: failed program was:" >&5
11788 cat conftest.
$ac_ext >&5
11790 eval "ac_cv_lib_$ac_lib_var=no"
11793 LIBS
="$ac_save_LIBS"
11796 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11797 echo "$ac_t""yes" 1>&6
11798 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
11800 echo "$ac_t""no" 1>&6
11805 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
11806 # to get the SysV transport functions.
11807 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
11809 # The nsl library prevents programs from opening the X display
11810 # on Irix 5.2, according to dickey@clark.net.
11811 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
11812 echo "configure:11813: checking for gethostbyname" >&5
11813 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
11814 echo $ac_n "(cached) $ac_c" 1>&6
11816 cat > conftest.
$ac_ext <<EOF
11817 #line 11818 "configure"
11818 #include "confdefs.h"
11819 /* System header to define __stub macros and hopefully few prototypes,
11820 which can conflict with char gethostbyname(); below. */
11821 #include <assert.h>
11822 /* Override any gcc2 internal prototype to avoid an error. */
11823 /* We use char because int might match the return type of a gcc2
11824 builtin and then its argument prototype would still apply. */
11825 char gethostbyname();
11829 /* The GNU C library defines this for functions which it implements
11830 to always fail with ENOSYS. Some functions are actually named
11831 something starting with __ and the normal name is an alias. */
11832 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
11840 if { (eval echo configure
:11841: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11842 eval "ac_cv_func_gethostbyname=yes"
11844 echo "configure: failed program was:" >&5
11845 cat conftest.
$ac_ext >&5
11847 eval "ac_cv_func_gethostbyname=no"
11852 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
11853 echo "$ac_t""yes" 1>&6
11856 echo "$ac_t""no" 1>&6
11859 if test $ac_cv_func_gethostbyname = no
; then
11860 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
11861 echo "configure:11862: checking for gethostbyname in -lnsl" >&5
11862 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
11863 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11864 echo $ac_n "(cached) $ac_c" 1>&6
11866 ac_save_LIBS
="$LIBS"
11868 cat > conftest.
$ac_ext <<EOF
11869 #line 11870 "configure"
11870 #include "confdefs.h"
11871 /* Override any gcc2 internal prototype to avoid an error. */
11872 /* We use char because int might match the return type of a gcc2
11873 builtin and then its argument prototype would still apply. */
11874 char gethostbyname();
11880 if { (eval echo configure
:11881: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11882 eval "ac_cv_lib_$ac_lib_var=yes"
11884 echo "configure: failed program was:" >&5
11885 cat conftest.
$ac_ext >&5
11887 eval "ac_cv_lib_$ac_lib_var=no"
11890 LIBS
="$ac_save_LIBS"
11893 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11894 echo "$ac_t""yes" 1>&6
11895 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
11897 echo "$ac_t""no" 1>&6
11902 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11903 # socket/setsockopt and other routines are undefined under SCO ODT
11904 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11905 # on later versions), says simon@lia.di.epfl.ch: it contains
11906 # gethostby* variants that don't use the nameserver (or something).
11907 # -lsocket must be given before -lnsl if both are needed.
11908 # We assume that if connect needs -lnsl, so does gethostbyname.
11909 echo $ac_n "checking for connect""... $ac_c" 1>&6
11910 echo "configure:11911: checking for connect" >&5
11911 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
11912 echo $ac_n "(cached) $ac_c" 1>&6
11914 cat > conftest.
$ac_ext <<EOF
11915 #line 11916 "configure"
11916 #include "confdefs.h"
11917 /* System header to define __stub macros and hopefully few prototypes,
11918 which can conflict with char connect(); below. */
11919 #include <assert.h>
11920 /* Override any gcc2 internal prototype to avoid an error. */
11921 /* We use char because int might match the return type of a gcc2
11922 builtin and then its argument prototype would still apply. */
11927 /* The GNU C library defines this for functions which it implements
11928 to always fail with ENOSYS. Some functions are actually named
11929 something starting with __ and the normal name is an alias. */
11930 #if defined (__stub_connect) || defined (__stub___connect)
11938 if { (eval echo configure
:11939: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11940 eval "ac_cv_func_connect=yes"
11942 echo "configure: failed program was:" >&5
11943 cat conftest.
$ac_ext >&5
11945 eval "ac_cv_func_connect=no"
11950 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
11951 echo "$ac_t""yes" 1>&6
11954 echo "$ac_t""no" 1>&6
11957 if test $ac_cv_func_connect = no
; then
11958 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
11959 echo "configure:11960: checking for connect in -lsocket" >&5
11960 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
11961 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11962 echo $ac_n "(cached) $ac_c" 1>&6
11964 ac_save_LIBS
="$LIBS"
11965 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
11966 cat > conftest.
$ac_ext <<EOF
11967 #line 11968 "configure"
11968 #include "confdefs.h"
11969 /* Override any gcc2 internal prototype to avoid an error. */
11970 /* We use char because int might match the return type of a gcc2
11971 builtin and then its argument prototype would still apply. */
11978 if { (eval echo configure
:11979: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11980 eval "ac_cv_lib_$ac_lib_var=yes"
11982 echo "configure: failed program was:" >&5
11983 cat conftest.
$ac_ext >&5
11985 eval "ac_cv_lib_$ac_lib_var=no"
11988 LIBS
="$ac_save_LIBS"
11991 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11992 echo "$ac_t""yes" 1>&6
11993 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
11995 echo "$ac_t""no" 1>&6
12000 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
12001 echo $ac_n "checking for remove""... $ac_c" 1>&6
12002 echo "configure:12003: checking for remove" >&5
12003 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
12004 echo $ac_n "(cached) $ac_c" 1>&6
12006 cat > conftest.
$ac_ext <<EOF
12007 #line 12008 "configure"
12008 #include "confdefs.h"
12009 /* System header to define __stub macros and hopefully few prototypes,
12010 which can conflict with char remove(); below. */
12011 #include <assert.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. */
12019 /* The GNU C library defines this for functions which it implements
12020 to always fail with ENOSYS. Some functions are actually named
12021 something starting with __ and the normal name is an alias. */
12022 #if defined (__stub_remove) || defined (__stub___remove)
12030 if { (eval echo configure
:12031: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12032 eval "ac_cv_func_remove=yes"
12034 echo "configure: failed program was:" >&5
12035 cat conftest.
$ac_ext >&5
12037 eval "ac_cv_func_remove=no"
12042 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
12043 echo "$ac_t""yes" 1>&6
12046 echo "$ac_t""no" 1>&6
12049 if test $ac_cv_func_remove = no
; then
12050 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
12051 echo "configure:12052: checking for remove in -lposix" >&5
12052 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
12053 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12054 echo $ac_n "(cached) $ac_c" 1>&6
12056 ac_save_LIBS
="$LIBS"
12057 LIBS
="-lposix $LIBS"
12058 cat > conftest.
$ac_ext <<EOF
12059 #line 12060 "configure"
12060 #include "confdefs.h"
12061 /* Override any gcc2 internal prototype to avoid an error. */
12062 /* We use char because int might match the return type of a gcc2
12063 builtin and then its argument prototype would still apply. */
12070 if { (eval echo configure
:12071: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12072 eval "ac_cv_lib_$ac_lib_var=yes"
12074 echo "configure: failed program was:" >&5
12075 cat conftest.
$ac_ext >&5
12077 eval "ac_cv_lib_$ac_lib_var=no"
12080 LIBS
="$ac_save_LIBS"
12083 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12084 echo "$ac_t""yes" 1>&6
12085 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
12087 echo "$ac_t""no" 1>&6
12092 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
12093 echo $ac_n "checking for shmat""... $ac_c" 1>&6
12094 echo "configure:12095: checking for shmat" >&5
12095 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
12096 echo $ac_n "(cached) $ac_c" 1>&6
12098 cat > conftest.
$ac_ext <<EOF
12099 #line 12100 "configure"
12100 #include "confdefs.h"
12101 /* System header to define __stub macros and hopefully few prototypes,
12102 which can conflict with char shmat(); below. */
12103 #include <assert.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. */
12111 /* The GNU C library defines this for functions which it implements
12112 to always fail with ENOSYS. Some functions are actually named
12113 something starting with __ and the normal name is an alias. */
12114 #if defined (__stub_shmat) || defined (__stub___shmat)
12122 if { (eval echo configure
:12123: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12124 eval "ac_cv_func_shmat=yes"
12126 echo "configure: failed program was:" >&5
12127 cat conftest.
$ac_ext >&5
12129 eval "ac_cv_func_shmat=no"
12134 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
12135 echo "$ac_t""yes" 1>&6
12138 echo "$ac_t""no" 1>&6
12141 if test $ac_cv_func_shmat = no
; then
12142 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
12143 echo "configure:12144: checking for shmat in -lipc" >&5
12144 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
12145 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12146 echo $ac_n "(cached) $ac_c" 1>&6
12148 ac_save_LIBS
="$LIBS"
12150 cat > conftest.
$ac_ext <<EOF
12151 #line 12152 "configure"
12152 #include "confdefs.h"
12153 /* Override any gcc2 internal prototype to avoid an error. */
12154 /* We use char because int might match the return type of a gcc2
12155 builtin and then its argument prototype would still apply. */
12162 if { (eval echo configure
:12163: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12164 eval "ac_cv_lib_$ac_lib_var=yes"
12166 echo "configure: failed program was:" >&5
12167 cat conftest.
$ac_ext >&5
12169 eval "ac_cv_lib_$ac_lib_var=no"
12172 LIBS
="$ac_save_LIBS"
12175 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12176 echo "$ac_t""yes" 1>&6
12177 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
12179 echo "$ac_t""no" 1>&6
12185 # Check for libraries that X11R6 Xt/Xaw programs need.
12186 ac_save_LDFLAGS
="$LDFLAGS"
12187 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
12188 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
12189 # check for ICE first), but we must link in the order -lSM -lICE or
12190 # we get undefined symbols. So assume we have SM if we have ICE.
12191 # These have to be linked with before -lX11, unlike the other
12192 # libraries we check for below, so use a different variable.
12193 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
12194 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
12195 echo "configure:12196: checking for IceConnectionNumber in -lICE" >&5
12196 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
12197 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12198 echo $ac_n "(cached) $ac_c" 1>&6
12200 ac_save_LIBS
="$LIBS"
12201 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
12202 cat > conftest.
$ac_ext <<EOF
12203 #line 12204 "configure"
12204 #include "confdefs.h"
12205 /* Override any gcc2 internal prototype to avoid an error. */
12206 /* We use char because int might match the return type of a gcc2
12207 builtin and then its argument prototype would still apply. */
12208 char IceConnectionNumber();
12211 IceConnectionNumber()
12214 if { (eval echo configure
:12215: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12216 eval "ac_cv_lib_$ac_lib_var=yes"
12218 echo "configure: failed program was:" >&5
12219 cat conftest.
$ac_ext >&5
12221 eval "ac_cv_lib_$ac_lib_var=no"
12224 LIBS
="$ac_save_LIBS"
12227 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12228 echo "$ac_t""yes" 1>&6
12229 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
12231 echo "$ac_t""no" 1>&6
12234 LDFLAGS
="$ac_save_LDFLAGS"
12239 if test "$no_x" = "yes"; then
12240 { echo "configure: error: X11 not found" 1>&2; exit 1; }
12243 GUI_TK_LIBRARY
="$X_LIBS"
12244 TOOLKIT_INCLUDE
="$X_CFLAGS"
12245 AFMINSTALL
=afminstall
12246 COMPILED_X_PROGRAM
=0
12248 echo $ac_n "checking for Motif/Lesstif headers""... $ac_c" 1>&6
12249 echo "configure:12250: checking for Motif/Lesstif headers" >&5
12252 for ac_dir
in $SEARCH_INCLUDE;
12254 if test -f "$ac_dir/Xm/Xm.h"; then
12255 ac_find_includes
=$ac_dir
12260 if test "$ac_find_includes" != "" ; then
12261 echo "$ac_t""found $ac_find_includes" 1>&6
12263 cat > conftest.
$ac_ext <<EOF
12264 #line 12265 "configure"
12265 #include "confdefs.h"
12272 version = xmUseVersion;
12276 if { (eval echo configure
:12277: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12279 echo "$ac_t""found in default search path" 1>&6
12280 COMPILED_X_PROGRAM
=1
12283 echo "configure: failed program was:" >&5
12284 cat conftest.
$ac_ext >&5
12287 echo "$ac_t""no" 1>&6
12288 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
12295 if test "$COMPILED_X_PROGRAM" = 0; then
12296 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
12297 echo "configure:12298: checking for Motif/Lesstif library" >&5
12300 for ac_dir
in $SEARCH_LIB;
12302 for ac_extension
in a so sl dylib
; do
12303 if test -f "$ac_dir/libXm.$ac_extension"; then
12304 ac_find_libraries
=$ac_dir
12310 if test "$ac_find_libraries" != "" ; then
12312 ac_path_to_include
=$ac_find_includes
12313 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
12315 if test $result = 0; then
12316 ac_path_to_include
=""
12318 ac_path_to_include
=" -I$ac_find_includes"
12322 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
12324 if test $result = 0; then
12327 ac_path_to_link
=" -L$ac_find_libraries"
12331 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
12332 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
12333 echo "$ac_t""found at $ac_find_libraries" 1>&6
12335 cat > conftest.
$ac_ext <<EOF
12336 #line 12337 "configure"
12337 #include "confdefs.h"
12344 version = xmUseVersion;
12348 if { (eval echo configure
:12349: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12351 echo "$ac_t""found in default search path" 1>&6
12352 COMPILED_X_PROGRAM
=1
12355 echo "configure: failed program was:" >&5
12356 cat conftest.
$ac_ext >&5
12359 echo "$ac_t""no" 1>&6
12360 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
12369 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
12370 echo "configure:12371: checking for Xpm library" >&5
12373 for ac_dir
in $SEARCH_LIB;
12375 for ac_extension
in a so sl dylib
; do
12376 if test -f "$ac_dir/libXpm.$ac_extension"; then
12377 ac_find_libraries
=$ac_dir
12383 if test "$ac_find_libraries" != "" ; then
12385 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
12387 if test $result = 0; then
12390 ac_path_to_link
=" -L$ac_find_libraries"
12393 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
12395 cat >> confdefs.h
<<\EOF
12396 #define wxHAVE_LIB_XPM 1
12399 echo "$ac_t""found at $ac_find_libraries" 1>&6
12401 cat > conftest.
$ac_ext <<EOF
12402 #line 12403 "configure"
12403 #include "confdefs.h"
12405 #include <X11/xpm.h>
12410 version = XpmLibraryVersion();
12414 if { (eval echo configure
:12415: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12418 cat >> confdefs.h
<<\EOF
12419 #define wxHAVE_LIB_XPM 1
12422 echo "$ac_t""found in default search path" 1>&6
12423 COMPILED_X_PROGRAM
=0
12426 echo "configure: failed program was:" >&5
12427 cat conftest.
$ac_ext >&5
12430 echo "$ac_t""no" 1>&6
12431 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
12438 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm$xpm_link -lXmu -lXext -lXt -lX11"
12439 TOOLKIT_VPATH
="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo"
12444 if test "$wxUSE_MAC" = 1; then
12445 if test "$wxUSE_PRECOMP" = "yes"; then
12446 CPPFLAGS
="$CPPFLAGS -cpp-precomp"
12448 CPPFLAGS
="$CPPFLAGS -I/Developer/Headers/FlatCarbon -I\${top_srcdir}/src/mac/morefile"
12449 CFLAGS
="$CFLAGS -fpascal-strings"
12450 CXXFLAGS
="$CXXFLAGS -fpascal-strings"
12452 TOOLKIT_VPATH
="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefile"
12457 if test "$wxUSE_PM" = 1; then
12462 if test "$TOOLKIT" = "PM" ; then
12465 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
12468 PORT_FILES
="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
12470 if test "$wxUSE_UNIVERSAL" = "yes"; then
12471 ALL_OBJECTS
="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
12472 PORT_FILES
="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
12473 TOOLKIT_VPATH
="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
12474 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
12477 ALL_OBJECTS
="\$(GUIOBJS)"
12480 ALL_OBJECTS
="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
12482 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
12483 ALL_OBJECTS
="${ALL_OBJECTS} \$(UNIXOBJS)"
12486 if test "$wxUSE_HTML" = "yes"; then
12487 ALL_OBJECTS
="${ALL_OBJECTS} \$(HTMLOBJS)"
12490 if test "$TOOLKIT" != "MSW" -a "$wxUSE_ODBC" = "yes" ; then
12491 ALL_OBJECTS
="${ALL_OBJECTS} \$(IODBCOBJS)"
12493 if test "$wxUSE_LIBJPEG" = "builtin" ; then
12494 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
12496 if test "$wxUSE_LIBTIFF" = "builtin" ; then
12497 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
12499 if test "$wxUSE_LIBPNG" = "builtin" ; then
12500 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
12502 if test "$wxUSE_FREETYPE" = "builtin" ; then
12503 ALL_OBJECTS
="${ALL_OBJECTS} \$(FREETYPEOBJS)"
12506 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
12507 DISTDIR
="wx\$(TOOLKIT)"
12513 if test "$USE_WIN32" = 1 ; then
12514 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_MSW_OBJS}"
12515 TOOLKIT_VPATH
="\${top_srcdir}/src/msw"
12519 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
12520 TOOLKIT_VPATH
="\${top_srcdir}/src/unix"
12523 PORT_FILES
="\${top_srcdir}/src/files.lst"
12525 GUIDIST
="BASE_DIST"
12529 if test "$wxUSE_REGEX" = "builtin" ; then
12530 ALL_OBJECTS
="${ALL_OBJECTS} \$(REGEXOBJS)"
12532 if test "$wxUSE_ZLIB" = "builtin" ; then
12533 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
12536 if test "$wxUSE_OPENGL" = "yes"; then
12537 if test "$wxUSE_MAC" = 1; then
12538 OPENGL_LIBS
="-framework OpenGL -framework AGL"
12541 ac_safe
=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
12542 echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
12543 echo "configure:12544: checking for GL/gl.h" >&5
12544 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12545 echo $ac_n "(cached) $ac_c" 1>&6
12547 cat > conftest.
$ac_ext <<EOF
12548 #line 12549 "configure"
12549 #include "confdefs.h"
12552 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12553 { (eval echo configure
:12554: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12554 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12555 if test -z "$ac_err"; then
12557 eval "ac_cv_header_$ac_safe=yes"
12560 echo "configure: failed program was:" >&5
12561 cat conftest.
$ac_ext >&5
12563 eval "ac_cv_header_$ac_safe=no"
12567 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12568 echo "$ac_t""yes" 1>&6
12570 echo $ac_n "checking for -lGL""... $ac_c" 1>&6
12571 echo "configure:12572: checking for -lGL" >&5
12574 for ac_dir
in $SEARCH_LIB;
12576 for ac_extension
in a so sl dylib
; do
12577 if test -f "$ac_dir/libGL.$ac_extension"; then
12578 ac_find_libraries
=$ac_dir
12584 if test "$ac_find_libraries" != "" ; then
12586 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
12588 if test $result = 0; then
12591 ac_path_to_link
=" -L$ac_find_libraries"
12594 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
12595 OPENGL_LIBS
="-lGL -lGLU"
12596 echo "$ac_t""yes" 1>&6
12598 echo "$ac_t""no" 1>&6
12599 echo $ac_n "checking for -lMesaGL""... $ac_c" 1>&6
12600 echo "configure:12601: checking for -lMesaGL" >&5
12603 for ac_dir
in $SEARCH_LIB;
12605 for ac_extension
in a so sl dylib
; do
12606 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
12607 ac_find_libraries
=$ac_dir
12613 if test "$ac_find_libraries" != "" ; then
12615 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
12617 if test $result = 0; then
12620 ac_path_to_link
=" -L$ac_find_libraries"
12623 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
12624 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
12625 echo "$ac_t""yes" 1>&6
12627 echo "$ac_t""no" 1>&6
12632 echo "$ac_t""no" 1>&6
12637 # AC_CHECK_HEADER(GL/gl.h,
12639 # AC_CHECK_LIB(GL, glFlush,
12641 # OPENGL_LIBS="-lGL -lGLU"
12644 # AC_CHECK_LIB(MesaGL, glFlush,
12646 # OPENGL_LIBS="-lMesaGL -lMesaGLU"
12654 if test "x$OPENGL_LIBS" = "x"; then
12655 { echo "configure: error: OpenGL libraries not available" 1>&2; exit 1; }
12659 if test "$wxUSE_OPENGL" = "yes"; then
12660 cat >> confdefs.h
<<\EOF
12661 #define wxUSE_OPENGL 1
12664 cat >> confdefs.h
<<\EOF
12665 #define wxUSE_GLCANVAS 1
12668 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl"
12672 if test -z "$TOOLKIT_VPATH" ; then
12673 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}"
12676 if test -n "$TOOLKIT" ; then
12677 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
12680 lib_unicode_suffix
=
12681 if test "$wxUSE_UNICODE" = "yes"; then
12682 lib_unicode_suffix
=u
12686 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
12690 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
12691 TOOLCHAIN_NAME_GL
="${TOOLKIT_DIR}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
12693 if test "$cross_compiling" = "yes"; then
12694 TOOLCHAIN_NAME
="${TOOLCHAIN_NAME}-${host_alias}"
12695 TOOLCHAIN_NAME_GL
="${TOOLCHAIN_NAME_GL}-${host_alias}"
12698 WX_LIBRARY
="wx_${TOOLCHAIN_NAME}"
12699 WX_LIBRARY_GL
="wx_${TOOLCHAIN_NAME_GL}"
12701 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
12702 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
12704 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
12705 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
12706 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
12707 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
12709 WX_RESOURCES_MACOSX
="lib${WX_LIBRARY}.rsrc"
12710 WX_RESOURCES_MACOSX_COMPILED
="lib${WX_LIBRARY}.r"
12713 *-*-cygwin* | *-*-mingw32* )
12717 if test "$cross_compiling" != "yes"; then
12718 WX_LIBRARY
="wxmsw${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
12719 WX_LIBRARY_GL
="wxmsw_gl${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
12720 WX_LIBRARY_NAME_SHARED
="${WX_LIBRARY}.${SO_SUFFIX}"
12721 WX_LIBRARY_NAME_SHARED_GL
="${WX_LIBRARY_GL}.${SO_SUFFIX}"
12723 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}"
12724 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
12729 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
12730 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY_GL}.a"
12732 WXCONFIG_LIBS
="-l${WX_LIBRARY}"
12733 WXCONFIG_LIBS_STATIC
="lib${WX_LIBRARY}.a"
12735 if test "$wxUSE_OPENGL" = "yes"; then
12736 WXCONFIG_LIBS_GL
="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
12737 WXCONFIG_LIBS_STATIC_GL
="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
12742 if test "$wxUSE_SHARED" = "yes"; then
12744 if test "$wxUSE_OPENGL" = "yes"; then
12745 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
12746 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_LINK1} \$(build_libdir)/${WX_LIBRARY_LINK1_GL}"
12748 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
12749 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_LINK1}"
12752 if test "$GCC" = "yes"; then
12756 SHARED_LD
="${CXX} -shared -o"
12760 if test "$GCC" == "yes"; then
12761 SHARED_LD
="${SHARED_LD} ${PIC_FLAG}"
12763 LDFLAGS
="$LDFLAGS -L/usr/lib"
12765 SHARED_LD
="${CXX} -b -o"
12769 if test "$wxUSE_OPENGL" = "yes"; then
12770 WX_ALL_INSTALLED
="preinstall_gl"
12771 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
12773 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
12778 if test "$GCC" != "yes"; then
12779 echo $ac_n "checking for Intel compiler""... $ac_c" 1>&6
12780 echo "configure:12781: checking for Intel compiler" >&5
12781 if eval "test \"`echo '$''{'wx_cv_prog_icc'+set}'`\" = set"; then
12782 echo $ac_n "(cached) $ac_c" 1>&6
12785 cat > conftest.
$ac_ext <<EOF
12786 #line 12787 "configure"
12787 #include "confdefs.h"
12791 #ifndef __INTEL_COMPILER
12797 if { (eval echo configure
:12798: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12801 echo "configure: failed program was:" >&5
12802 cat conftest.
$ac_ext >&5
12811 echo "$ac_t""$wx_cv_prog_icc" 1>&6
12812 if test "$wx_cv_prog_icc" = "yes"; then
12817 if test "$wxUSE_SONAME" = "yes" ; then
12818 SONAME_FLAGS
="-Wl,-soname,${WX_LIBRARY_LINK1}"
12819 SONAME_FLAGS_GL
="-Wl,-soname,${WX_LIBRARY_LINK1_GL}"
12820 WX_TARGET_LIBRARY_SONAME
="-Wl,-soname,\$(TARGETLIB_LINK1)"
12825 if test "$GCC" = yes ; then
12826 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
12828 SHARED_LD
="${CXX} -G -o"
12830 SONAME_FLAGS
="-h ${WX_LIBRARY_NAME_SHARED}"
12831 SONAME_FLAGS_GL
="-h ${WX_LIBRARY_NAME_SHARED_GL}"
12836 CFLAGS
="$CFLAGS -fno-common -DDYLIB_INIT"
12837 CXXFLAGS
="$CXXFLAGS -fno-common -DDYLIB_INIT"
12838 SHARED_LD
="$CXX -dynamiclib -init _wxWindowsDylibInit -o"
12839 PIC_FLAG
="-dynamic -fPIC"
12843 SHARED_LD
="/usr/lpp/xlC/bin/makeC++SharedLib -p 0 -o"
12846 *-*-cygwin* | *-*-mingw32* )
12848 WX_LIBRARY_IMPORTLIB
="${WX_LIBRARY_NAME_SHARED}.a"
12850 SHARED_LD
="${CXX} -shared -Wl,--out-implib,lib/${WX_LIBRARY_IMPORTLIB} -o"
12851 TOOLCHAIN_DLL_DEFS
="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
12853 PIC_FLAG
="-UWXUSINGDLL -DWXMAKINGDLL=1 -D_DLL=1 -D_WINDLL=1"
12855 if test "$wxUSE_OPENGL" = "yes"; then
12856 WX_ALL_INSTALLED
="preinstall_gl"
12857 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
12859 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
12863 *-pc-os2_emx | *-pc-os2-emx )
12868 SHARED_LD
="${LD} -shared -o"
12871 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
12873 *-*-irix5* | *-*-irix6* | \
12880 { echo "configure: error: unknown system type $host." 1>&2; exit 1; }
12883 if test "x$WX_TARGET_LIBRARY" = "x"; then
12884 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
12885 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
12888 WX_TARGET_LIBRARY_TYPE
="so"
12889 INSTALL_LIBRARY
='$(INSTALL_PROGRAM)'
12892 if test "$wxUSE_SHARED" = "no"; then
12894 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
12895 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
12898 if test "$wxUSE_MAC" = 1; then
12899 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
12902 if test "$wxUSE_OPENGL" = "yes"; then
12903 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_gl"
12904 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
12906 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
12909 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
12910 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
12912 WX_TARGET_LIBRARY_TYPE
="a"
12913 INSTALL_LIBRARY
='$(INSTALL_DATA)'
12916 if test "$wxUSE_MAC" = 1; then
12917 WX_ALL
="${WX_ALL} \$(build_libdir)/lib${WX_LIBRARY}.r"
12918 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_res"
12919 # Extract the first word of "Rez", so it can be a program name with args.
12920 set dummy Rez
; ac_word
=$2
12921 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
12922 echo "configure:12923: checking for $ac_word" >&5
12923 if eval "test \"`echo '$''{'ac_cv_prog_RESCOMP'+set}'`\" = set"; then
12924 echo $ac_n "(cached) $ac_c" 1>&6
12926 if test -n "$RESCOMP"; then
12927 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
12929 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
12931 for ac_dir
in $ac_dummy; do
12932 test -z "$ac_dir" && ac_dir
=.
12933 if test -f $ac_dir/$ac_word; then
12934 ac_cv_prog_RESCOMP
="Rez"
12939 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
12942 RESCOMP
="$ac_cv_prog_RESCOMP"
12943 if test -n "$RESCOMP"; then
12944 echo "$ac_t""$RESCOMP" 1>&6
12946 echo "$ac_t""no" 1>&6
12949 # Extract the first word of "DeRez", so it can be a program name with args.
12950 set dummy DeRez
; ac_word
=$2
12951 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
12952 echo "configure:12953: checking for $ac_word" >&5
12953 if eval "test \"`echo '$''{'ac_cv_prog_DEREZ'+set}'`\" = set"; then
12954 echo $ac_n "(cached) $ac_c" 1>&6
12956 if test -n "$DEREZ"; then
12957 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
12959 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
12961 for ac_dir
in $ac_dummy; do
12962 test -z "$ac_dir" && ac_dir
=.
12963 if test -f $ac_dir/$ac_word; then
12964 ac_cv_prog_DEREZ
="DeRez"
12969 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
12972 DEREZ
="$ac_cv_prog_DEREZ"
12973 if test -n "$DEREZ"; then
12974 echo "$ac_t""$DEREZ" 1>&6
12976 echo "$ac_t""no" 1>&6
12979 LIBWXMACRES
="\$(top_builddir)/lib/lib${WX_LIBRARY}.r"
12980 LIBWXMACRESCOMP
="\$(RESCOMP) Carbon.r -t APPL ${LIBWXMACRES} -o \$(BIN_PROGRAM)"
12981 LIBWXMACRESWXCONFIG
="${RESCOMP} Carbon.r -t APPL \${prefix}/lib/${WX_RESOURCES_MACOSX_COMPILED} -o"
12985 if test "$wxUSE_MAC" != 1; then
12986 for ac_hdr
in strings.h
12988 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12989 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12990 echo "configure:12991: checking for $ac_hdr" >&5
12991 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12992 echo $ac_n "(cached) $ac_c" 1>&6
12994 cat > conftest.
$ac_ext <<EOF
12995 #line 12996 "configure"
12996 #include "confdefs.h"
12999 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13000 { (eval echo configure
:13001: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13001 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13002 if test -z "$ac_err"; then
13004 eval "ac_cv_header_$ac_safe=yes"
13007 echo "configure: failed program was:" >&5
13008 cat conftest.
$ac_ext >&5
13010 eval "ac_cv_header_$ac_safe=no"
13014 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13015 echo "$ac_t""yes" 1>&6
13016 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13017 cat >> confdefs.h
<<EOF
13018 #define $ac_tr_hdr 1
13022 echo "$ac_t""no" 1>&6
13028 for ac_hdr
in stdlib.h
13030 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13031 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13032 echo "configure:13033: checking for $ac_hdr" >&5
13033 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13034 echo $ac_n "(cached) $ac_c" 1>&6
13036 cat > conftest.
$ac_ext <<EOF
13037 #line 13038 "configure"
13038 #include "confdefs.h"
13041 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13042 { (eval echo configure
:13043: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13043 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13044 if test -z "$ac_err"; then
13046 eval "ac_cv_header_$ac_safe=yes"
13049 echo "configure: failed program was:" >&5
13050 cat conftest.
$ac_ext >&5
13052 eval "ac_cv_header_$ac_safe=no"
13056 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13057 echo "$ac_t""yes" 1>&6
13058 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13059 cat >> confdefs.h
<<EOF
13060 #define $ac_tr_hdr 1
13064 echo "$ac_t""no" 1>&6
13068 for ac_hdr
in malloc.h
13070 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13071 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13072 echo "configure:13073: checking for $ac_hdr" >&5
13073 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13074 echo $ac_n "(cached) $ac_c" 1>&6
13076 cat > conftest.
$ac_ext <<EOF
13077 #line 13078 "configure"
13078 #include "confdefs.h"
13081 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13082 { (eval echo configure
:13083: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13083 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13084 if test -z "$ac_err"; then
13086 eval "ac_cv_header_$ac_safe=yes"
13089 echo "configure: failed program was:" >&5
13090 cat conftest.
$ac_ext >&5
13092 eval "ac_cv_header_$ac_safe=no"
13096 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13097 echo "$ac_t""yes" 1>&6
13098 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13099 cat >> confdefs.h
<<EOF
13100 #define $ac_tr_hdr 1
13104 echo "$ac_t""no" 1>&6
13108 for ac_hdr
in unistd.h
13110 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13111 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13112 echo "configure:13113: checking for $ac_hdr" >&5
13113 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13114 echo $ac_n "(cached) $ac_c" 1>&6
13116 cat > conftest.
$ac_ext <<EOF
13117 #line 13118 "configure"
13118 #include "confdefs.h"
13121 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13122 { (eval echo configure
:13123: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13123 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13124 if test -z "$ac_err"; then
13126 eval "ac_cv_header_$ac_safe=yes"
13129 echo "configure: failed program was:" >&5
13130 cat conftest.
$ac_ext >&5
13132 eval "ac_cv_header_$ac_safe=no"
13136 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13137 echo "$ac_t""yes" 1>&6
13138 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13139 cat >> confdefs.h
<<EOF
13140 #define $ac_tr_hdr 1
13144 echo "$ac_t""no" 1>&6
13148 for ac_hdr
in wchar.h
13150 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13151 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13152 echo "configure:13153: checking for $ac_hdr" >&5
13153 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13154 echo $ac_n "(cached) $ac_c" 1>&6
13156 cat > conftest.
$ac_ext <<EOF
13157 #line 13158 "configure"
13158 #include "confdefs.h"
13161 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13162 { (eval echo configure
:13163: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13163 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13164 if test -z "$ac_err"; then
13166 eval "ac_cv_header_$ac_safe=yes"
13169 echo "configure: failed program was:" >&5
13170 cat conftest.
$ac_ext >&5
13172 eval "ac_cv_header_$ac_safe=no"
13176 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13177 echo "$ac_t""yes" 1>&6
13178 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13179 cat >> confdefs.h
<<EOF
13180 #define $ac_tr_hdr 1
13184 echo "$ac_t""no" 1>&6
13188 for ac_hdr
in wcstr.h
13190 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13191 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13192 echo "configure:13193: checking for $ac_hdr" >&5
13193 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13194 echo $ac_n "(cached) $ac_c" 1>&6
13196 cat > conftest.
$ac_ext <<EOF
13197 #line 13198 "configure"
13198 #include "confdefs.h"
13201 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13202 { (eval echo configure
:13203: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13203 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13204 if test -z "$ac_err"; then
13206 eval "ac_cv_header_$ac_safe=yes"
13209 echo "configure: failed program was:" >&5
13210 cat conftest.
$ac_ext >&5
13212 eval "ac_cv_header_$ac_safe=no"
13216 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13217 echo "$ac_t""yes" 1>&6
13218 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13219 cat >> confdefs.h
<<EOF
13220 #define $ac_tr_hdr 1
13224 echo "$ac_t""no" 1>&6
13228 for ac_hdr
in wctype.h
13230 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13231 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13232 echo "configure:13233: checking for $ac_hdr" >&5
13233 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13234 echo $ac_n "(cached) $ac_c" 1>&6
13236 cat > conftest.
$ac_ext <<EOF
13237 #line 13238 "configure"
13238 #include "confdefs.h"
13241 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13242 { (eval echo configure
:13243: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13243 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13244 if test -z "$ac_err"; then
13246 eval "ac_cv_header_$ac_safe=yes"
13249 echo "configure: failed program was:" >&5
13250 cat conftest.
$ac_ext >&5
13252 eval "ac_cv_header_$ac_safe=no"
13256 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13257 echo "$ac_t""yes" 1>&6
13258 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13259 cat >> confdefs.h
<<EOF
13260 #define $ac_tr_hdr 1
13264 echo "$ac_t""no" 1>&6
13268 for ac_hdr
in fnmatch.h
13270 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13271 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13272 echo "configure:13273: checking for $ac_hdr" >&5
13273 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13274 echo $ac_n "(cached) $ac_c" 1>&6
13276 cat > conftest.
$ac_ext <<EOF
13277 #line 13278 "configure"
13278 #include "confdefs.h"
13281 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13282 { (eval echo configure
:13283: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13283 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13284 if test -z "$ac_err"; then
13286 eval "ac_cv_header_$ac_safe=yes"
13289 echo "configure: failed program was:" >&5
13290 cat conftest.
$ac_ext >&5
13292 eval "ac_cv_header_$ac_safe=no"
13296 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13297 echo "$ac_t""yes" 1>&6
13298 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13299 cat >> confdefs.h
<<EOF
13300 #define $ac_tr_hdr 1
13304 echo "$ac_t""no" 1>&6
13308 for ac_hdr
in iconv.h
13310 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13311 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13312 echo "configure:13313: checking for $ac_hdr" >&5
13313 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13314 echo $ac_n "(cached) $ac_c" 1>&6
13316 cat > conftest.
$ac_ext <<EOF
13317 #line 13318 "configure"
13318 #include "confdefs.h"
13321 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13322 { (eval echo configure
:13323: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13323 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13324 if test -z "$ac_err"; then
13326 eval "ac_cv_header_$ac_safe=yes"
13329 echo "configure: failed program was:" >&5
13330 cat conftest.
$ac_ext >&5
13332 eval "ac_cv_header_$ac_safe=no"
13336 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13337 echo "$ac_t""yes" 1>&6
13338 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13339 cat >> confdefs.h
<<EOF
13340 #define $ac_tr_hdr 1
13344 echo "$ac_t""no" 1>&6
13348 for ac_hdr
in langinfo.h
13350 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13351 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13352 echo "configure:13353: checking for $ac_hdr" >&5
13353 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13354 echo $ac_n "(cached) $ac_c" 1>&6
13356 cat > conftest.
$ac_ext <<EOF
13357 #line 13358 "configure"
13358 #include "confdefs.h"
13361 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13362 { (eval echo configure
:13363: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13363 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13364 if test -z "$ac_err"; then
13366 eval "ac_cv_header_$ac_safe=yes"
13369 echo "configure: failed program was:" >&5
13370 cat conftest.
$ac_ext >&5
13372 eval "ac_cv_header_$ac_safe=no"
13376 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13377 echo "$ac_t""yes" 1>&6
13378 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13379 cat >> confdefs.h
<<EOF
13380 #define $ac_tr_hdr 1
13384 echo "$ac_t""no" 1>&6
13389 if test "$wxUSE_GUI" = "yes"; then
13390 if test "$wxUSE_UNIX" = "yes"; then
13391 for ac_hdr
in X
11/XKBlib.h
13393 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13394 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13395 echo "configure:13396: checking for $ac_hdr" >&5
13396 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13397 echo $ac_n "(cached) $ac_c" 1>&6
13399 cat > conftest.
$ac_ext <<EOF
13400 #line 13401 "configure"
13401 #include "confdefs.h"
13404 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13405 { (eval echo configure
:13406: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13406 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13407 if test -z "$ac_err"; then
13409 eval "ac_cv_header_$ac_safe=yes"
13412 echo "configure: failed program was:" >&5
13413 cat conftest.
$ac_ext >&5
13415 eval "ac_cv_header_$ac_safe=no"
13419 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13420 echo "$ac_t""yes" 1>&6
13421 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13422 cat >> confdefs.h
<<EOF
13423 #define $ac_tr_hdr 1
13427 echo "$ac_t""no" 1>&6
13435 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
13436 echo "configure:13437: checking for ANSI C header files" >&5
13437 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
13438 echo $ac_n "(cached) $ac_c" 1>&6
13440 cat > conftest.
$ac_ext <<EOF
13441 #line 13442 "configure"
13442 #include "confdefs.h"
13443 #include <stdlib.h>
13444 #include <stdarg.h>
13445 #include <string.h>
13448 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13449 { (eval echo configure
:13450: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13450 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13451 if test -z "$ac_err"; then
13453 ac_cv_header_stdc
=yes
13456 echo "configure: failed program was:" >&5
13457 cat conftest.
$ac_ext >&5
13459 ac_cv_header_stdc
=no
13463 if test $ac_cv_header_stdc = yes; then
13464 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
13465 cat > conftest.
$ac_ext <<EOF
13466 #line 13467 "configure"
13467 #include "confdefs.h"
13468 #include <string.h>
13470 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13471 egrep "memchr" >/dev
/null
2>&1; then
13475 ac_cv_header_stdc
=no
13481 if test $ac_cv_header_stdc = yes; then
13482 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
13483 cat > conftest.
$ac_ext <<EOF
13484 #line 13485 "configure"
13485 #include "confdefs.h"
13486 #include <stdlib.h>
13488 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13489 egrep "free" >/dev
/null
2>&1; then
13493 ac_cv_header_stdc
=no
13499 if test $ac_cv_header_stdc = yes; then
13500 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
13501 if test "$cross_compiling" = yes; then
13504 cat > conftest.
$ac_ext <<EOF
13505 #line 13506 "configure"
13506 #include "confdefs.h"
13508 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
13509 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
13510 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
13511 int main () { int i; for (i = 0; i < 256; i++)
13512 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
13516 if { (eval echo configure
:13517: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
13520 echo "configure: failed program was:" >&5
13521 cat conftest.
$ac_ext >&5
13523 ac_cv_header_stdc
=no
13531 echo "$ac_t""$ac_cv_header_stdc" 1>&6
13532 if test $ac_cv_header_stdc = yes; then
13533 cat >> confdefs.h
<<\EOF
13534 #define STDC_HEADERS 1
13539 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
13540 echo "configure:13541: checking for mode_t" >&5
13541 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
13542 echo $ac_n "(cached) $ac_c" 1>&6
13544 cat > conftest.
$ac_ext <<EOF
13545 #line 13546 "configure"
13546 #include "confdefs.h"
13547 #include <sys/types.h>
13549 #include <stdlib.h>
13550 #include <stddef.h>
13553 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13554 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
13556 ac_cv_type_mode_t
=yes
13559 ac_cv_type_mode_t
=no
13564 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
13565 if test $ac_cv_type_mode_t = no
; then
13566 cat >> confdefs.h
<<\EOF
13572 echo $ac_n "checking for off_t""... $ac_c" 1>&6
13573 echo "configure:13574: checking for off_t" >&5
13574 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
13575 echo $ac_n "(cached) $ac_c" 1>&6
13577 cat > conftest.
$ac_ext <<EOF
13578 #line 13579 "configure"
13579 #include "confdefs.h"
13580 #include <sys/types.h>
13582 #include <stdlib.h>
13583 #include <stddef.h>
13586 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13587 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
13589 ac_cv_type_off_t
=yes
13592 ac_cv_type_off_t
=no
13597 echo "$ac_t""$ac_cv_type_off_t" 1>&6
13598 if test $ac_cv_type_off_t = no
; then
13599 cat >> confdefs.h
<<\EOF
13605 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
13606 echo "configure:13607: checking for pid_t" >&5
13607 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
13608 echo $ac_n "(cached) $ac_c" 1>&6
13610 cat > conftest.
$ac_ext <<EOF
13611 #line 13612 "configure"
13612 #include "confdefs.h"
13613 #include <sys/types.h>
13615 #include <stdlib.h>
13616 #include <stddef.h>
13619 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13620 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
13622 ac_cv_type_pid_t
=yes
13625 ac_cv_type_pid_t
=no
13630 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
13631 if test $ac_cv_type_pid_t = no
; then
13632 cat >> confdefs.h
<<\EOF
13638 echo $ac_n "checking for size_t""... $ac_c" 1>&6
13639 echo "configure:13640: checking for size_t" >&5
13640 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
13641 echo $ac_n "(cached) $ac_c" 1>&6
13643 cat > conftest.
$ac_ext <<EOF
13644 #line 13645 "configure"
13645 #include "confdefs.h"
13646 #include <sys/types.h>
13648 #include <stdlib.h>
13649 #include <stddef.h>
13652 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13653 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
13655 ac_cv_type_size_t
=yes
13658 ac_cv_type_size_t
=no
13663 echo "$ac_t""$ac_cv_type_size_t" 1>&6
13664 if test $ac_cv_type_size_t = no
; then
13665 cat >> confdefs.h
<<\EOF
13666 #define size_t unsigned
13671 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
13672 echo "configure:13673: checking for uid_t in sys/types.h" >&5
13673 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
13674 echo $ac_n "(cached) $ac_c" 1>&6
13676 cat > conftest.
$ac_ext <<EOF
13677 #line 13678 "configure"
13678 #include "confdefs.h"
13679 #include <sys/types.h>
13681 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13682 egrep "uid_t" >/dev
/null
2>&1; then
13684 ac_cv_type_uid_t
=yes
13687 ac_cv_type_uid_t
=no
13693 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
13694 if test $ac_cv_type_uid_t = no
; then
13695 cat >> confdefs.h
<<\EOF
13699 cat >> confdefs.h
<<\EOF
13706 echo $ac_n "checking for wchar_t""... $ac_c" 1>&6
13707 echo "configure:13708: checking for wchar_t" >&5
13708 if eval "test \"`echo '$''{'wx_cv_type_wchar_t'+set}'`\" = set"; then
13709 echo $ac_n "(cached) $ac_c" 1>&6
13712 cat > conftest.
$ac_ext <<EOF
13713 #line 13714 "configure"
13714 #include "confdefs.h"
13716 #ifdef HAVE_WCHAR_H
13718 # include <stddef.h>
13720 # include <wchar.h>
13722 #ifdef HAVE_STDLIB_H
13723 # include <stdlib.h>
13730 ws = L"Hello, world!";
13734 if { (eval echo configure
:13735: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13736 wx_cv_type_wchar_t
=yes
13738 echo "configure: failed program was:" >&5
13739 cat conftest.
$ac_ext >&5
13741 wx_cv_type_wchar_t
=no
13748 echo "$ac_t""$wx_cv_type_wchar_t" 1>&6
13750 if test "$wx_cv_type_wchar_t" = "yes"; then
13751 cat >> confdefs.h
<<\EOF
13752 #define wxUSE_WCHAR_T 1
13759 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13760 ac_cpp
='$CXXCPP $CPPFLAGS'
13761 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13762 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13763 cross_compiling
=$ac_cv_prog_cxx_cross
13765 echo $ac_n "checking if size_t is unsigned int""... $ac_c" 1>&6
13766 echo "configure:13767: checking if size_t is unsigned int" >&5
13767 if eval "test \"`echo '$''{'wx_cv_size_t_is_uint'+set}'`\" = set"; then
13768 echo $ac_n "(cached) $ac_c" 1>&6
13770 cat > conftest.
$ac_ext <<EOF
13771 #line 13772 "configure"
13772 #include "confdefs.h"
13773 #include <stddef.h>
13778 struct Foo { void foo(size_t); void foo(unsigned int); };
13784 if { (eval echo configure
:13785: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13786 wx_cv_size_t_is_uint
=no
13788 echo "configure: failed program was:" >&5
13789 cat conftest.
$ac_ext >&5
13791 wx_cv_size_t_is_uint
=yes
13798 echo "$ac_t""$wx_cv_size_t_is_uint" 1>&6
13800 if test "$wx_cv_size_t_is_uint" = "yes"; then
13801 cat >> confdefs.h
<<\EOF
13802 #define wxSIZE_T_IS_UINT 1
13806 echo $ac_n "checking if size_t is unsigned long""... $ac_c" 1>&6
13807 echo "configure:13808: checking if size_t is unsigned long" >&5
13808 if eval "test \"`echo '$''{'wx_cv_size_t_is_ulong'+set}'`\" = set"; then
13809 echo $ac_n "(cached) $ac_c" 1>&6
13811 cat > conftest.
$ac_ext <<EOF
13812 #line 13813 "configure"
13813 #include "confdefs.h"
13814 #include <stddef.h>
13819 struct Foo { void foo(size_t); void foo(unsigned long); };
13825 if { (eval echo configure
:13826: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13827 wx_cv_size_t_is_ulong
=no
13829 echo "configure: failed program was:" >&5
13830 cat conftest.
$ac_ext >&5
13832 wx_cv_size_t_is_ulong
=yes
13839 echo "$ac_t""$wx_cv_size_t_is_ulong" 1>&6
13841 if test "$wx_cv_size_t_is_ulong" = "yes"; then
13842 cat >> confdefs.h
<<\EOF
13843 #define wxSIZE_T_IS_ULONG 1
13850 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13851 ac_cpp
='$CPP $CPPFLAGS'
13852 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13853 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13854 cross_compiling
=$ac_cv_prog_cc_cross
13858 echo $ac_n "checking for pw_gecos in struct passwd""... $ac_c" 1>&6
13859 echo "configure:13860: checking for pw_gecos in struct passwd" >&5
13860 if eval "test \"`echo '$''{'wx_cv_struct_pw_gecos'+set}'`\" = set"; then
13861 echo $ac_n "(cached) $ac_c" 1>&6
13864 cat > conftest.
$ac_ext <<EOF
13865 #line 13866 "configure"
13866 #include "confdefs.h"
13876 if { (eval echo configure
:13877: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13879 wx_cv_struct_pw_gecos
=yes
13882 echo "configure: failed program was:" >&5
13883 cat conftest.
$ac_ext >&5
13886 wx_cv_struct_pw_gecos
=no
13895 echo "$ac_t""$wx_cv_struct_pw_gecos" 1>&6
13897 if test "$wx_cv_struct_pw_gecos" = "yes"; then
13898 cat >> confdefs.h
<<\EOF
13899 #define HAVE_PW_GECOS 1
13905 echo $ac_n "checking for working const""... $ac_c" 1>&6
13906 echo "configure:13907: checking for working const" >&5
13907 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
13908 echo $ac_n "(cached) $ac_c" 1>&6
13910 cat > conftest.
$ac_ext <<EOF
13911 #line 13912 "configure"
13912 #include "confdefs.h"
13916 /* Ultrix mips cc rejects this. */
13917 typedef int charset[2]; const charset x;
13918 /* SunOS 4.1.1 cc rejects this. */
13919 char const *const *ccp;
13921 /* NEC SVR4.0.2 mips cc rejects this. */
13922 struct point {int x, y;};
13923 static struct point const zero = {0,0};
13924 /* AIX XL C 1.02.0.0 rejects this.
13925 It does not let you subtract one const X* pointer from another in an arm
13926 of an if-expression whose if-part is not a constant expression */
13927 const char *g = "string";
13928 ccp = &g + (g ? g-g : 0);
13929 /* HPUX 7.0 cc rejects these. */
13932 ccp = (char const *const *) p;
13933 { /* SCO 3.2v4 cc rejects this. */
13935 char const *s = 0 ? (char *) 0 : (char const *) 0;
13939 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
13940 int x[] = {25, 17};
13941 const int *foo = &x[0];
13944 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
13945 typedef const int *iptr;
13949 { /* AIX XL C 1.02.0.0 rejects this saying
13950 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
13951 struct s { int j; const int *ap[3]; };
13952 struct s *b; b->j = 5;
13954 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
13955 const int foo = 10;
13960 if { (eval echo configure
:13961: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13964 echo "configure: failed program was:" >&5
13965 cat conftest.
$ac_ext >&5
13972 echo "$ac_t""$ac_cv_c_const" 1>&6
13973 if test $ac_cv_c_const = no
; then
13974 cat >> confdefs.h
<<\EOF
13980 echo $ac_n "checking for inline""... $ac_c" 1>&6
13981 echo "configure:13982: checking for inline" >&5
13982 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
13983 echo $ac_n "(cached) $ac_c" 1>&6
13986 for ac_kw
in inline __inline__ __inline
; do
13987 cat > conftest.
$ac_ext <<EOF
13988 #line 13989 "configure"
13989 #include "confdefs.h"
13995 if { (eval echo configure
:13996: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13997 ac_cv_c_inline
=$ac_kw; break
13999 echo "configure: failed program was:" >&5
14000 cat conftest.
$ac_ext >&5
14007 echo "$ac_t""$ac_cv_c_inline" 1>&6
14008 case "$ac_cv_c_inline" in
14010 no
) cat >> confdefs.h
<<\EOF
14014 *) cat >> confdefs.h
<<EOF
14015 #define inline $ac_cv_c_inline
14021 echo $ac_n "checking size of char""... $ac_c" 1>&6
14022 echo "configure:14023: checking size of char" >&5
14023 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
14024 echo $ac_n "(cached) $ac_c" 1>&6
14026 if test "$cross_compiling" = yes; then
14027 ac_cv_sizeof_char
=1
14029 cat > conftest.
$ac_ext <<EOF
14030 #line 14031 "configure"
14031 #include "confdefs.h"
14035 FILE *f=fopen("conftestval", "w");
14037 fprintf(f, "%d\n", sizeof(char));
14041 if { (eval echo configure
:14042: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
14043 ac_cv_sizeof_char
=`cat conftestval`
14045 echo "configure: failed program was:" >&5
14046 cat conftest.
$ac_ext >&5
14048 ac_cv_sizeof_char
=0
14054 echo "$ac_t""$ac_cv_sizeof_char" 1>&6
14055 cat >> confdefs.h
<<EOF
14056 #define SIZEOF_CHAR $ac_cv_sizeof_char
14060 echo $ac_n "checking size of short""... $ac_c" 1>&6
14061 echo "configure:14062: checking size of short" >&5
14062 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
14063 echo $ac_n "(cached) $ac_c" 1>&6
14065 if test "$cross_compiling" = yes; then
14066 ac_cv_sizeof_short
=2
14068 cat > conftest.
$ac_ext <<EOF
14069 #line 14070 "configure"
14070 #include "confdefs.h"
14074 FILE *f=fopen("conftestval", "w");
14076 fprintf(f, "%d\n", sizeof(short));
14080 if { (eval echo configure
:14081: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
14082 ac_cv_sizeof_short
=`cat conftestval`
14084 echo "configure: failed program was:" >&5
14085 cat conftest.
$ac_ext >&5
14087 ac_cv_sizeof_short
=0
14093 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
14094 cat >> confdefs.h
<<EOF
14095 #define SIZEOF_SHORT $ac_cv_sizeof_short
14099 echo $ac_n "checking size of int *""... $ac_c" 1>&6
14100 echo "configure:14101: checking size of int *" >&5
14101 if eval "test \"`echo '$''{'ac_cv_sizeof_int_p'+set}'`\" = set"; then
14102 echo $ac_n "(cached) $ac_c" 1>&6
14104 if test "$cross_compiling" = yes; then
14105 ac_cv_sizeof_int_p
=4
14107 cat > conftest.
$ac_ext <<EOF
14108 #line 14109 "configure"
14109 #include "confdefs.h"
14113 FILE *f=fopen("conftestval", "w");
14115 fprintf(f, "%d\n", sizeof(int *));
14119 if { (eval echo configure
:14120: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
14121 ac_cv_sizeof_int_p
=`cat conftestval`
14123 echo "configure: failed program was:" >&5
14124 cat conftest.
$ac_ext >&5
14126 ac_cv_sizeof_int_p
=0
14132 echo "$ac_t""$ac_cv_sizeof_int_p" 1>&6
14133 cat >> confdefs.h
<<EOF
14134 #define SIZEOF_INT_P $ac_cv_sizeof_int_p
14138 echo $ac_n "checking size of int""... $ac_c" 1>&6
14139 echo "configure:14140: checking size of int" >&5
14140 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
14141 echo $ac_n "(cached) $ac_c" 1>&6
14143 if test "$cross_compiling" = yes; then
14146 cat > conftest.
$ac_ext <<EOF
14147 #line 14148 "configure"
14148 #include "confdefs.h"
14152 FILE *f=fopen("conftestval", "w");
14154 fprintf(f, "%d\n", sizeof(int));
14158 if { (eval echo configure
:14159: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
14160 ac_cv_sizeof_int
=`cat conftestval`
14162 echo "configure: failed program was:" >&5
14163 cat conftest.
$ac_ext >&5
14171 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
14172 cat >> confdefs.h
<<EOF
14173 #define SIZEOF_INT $ac_cv_sizeof_int
14177 echo $ac_n "checking size of long""... $ac_c" 1>&6
14178 echo "configure:14179: checking size of long" >&5
14179 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
14180 echo $ac_n "(cached) $ac_c" 1>&6
14182 if test "$cross_compiling" = yes; then
14183 ac_cv_sizeof_long
=4
14185 cat > conftest.
$ac_ext <<EOF
14186 #line 14187 "configure"
14187 #include "confdefs.h"
14191 FILE *f=fopen("conftestval", "w");
14193 fprintf(f, "%d\n", sizeof(long));
14197 if { (eval echo configure
:14198: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
14199 ac_cv_sizeof_long
=`cat conftestval`
14201 echo "configure: failed program was:" >&5
14202 cat conftest.
$ac_ext >&5
14204 ac_cv_sizeof_long
=0
14210 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
14211 cat >> confdefs.h
<<EOF
14212 #define SIZEOF_LONG $ac_cv_sizeof_long
14216 echo $ac_n "checking size of long long""... $ac_c" 1>&6
14217 echo "configure:14218: checking size of long long" >&5
14218 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
14219 echo $ac_n "(cached) $ac_c" 1>&6
14221 if test "$cross_compiling" = yes; then
14222 ac_cv_sizeof_long_long
=0
14224 cat > conftest.
$ac_ext <<EOF
14225 #line 14226 "configure"
14226 #include "confdefs.h"
14230 FILE *f=fopen("conftestval", "w");
14232 fprintf(f, "%d\n", sizeof(long long));
14236 if { (eval echo configure
:14237: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
14238 ac_cv_sizeof_long_long
=`cat conftestval`
14240 echo "configure: failed program was:" >&5
14241 cat conftest.
$ac_ext >&5
14243 ac_cv_sizeof_long_long
=0
14249 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
14250 cat >> confdefs.h
<<EOF
14251 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
14256 echo $ac_n "checking size of wchar_t""... $ac_c" 1>&6
14257 echo "configure:14258: checking size of wchar_t" >&5
14258 if eval "test \"`echo '$''{'wx_cv_sizeof_wchar_t'+set}'`\" = set"; then
14259 echo $ac_n "(cached) $ac_c" 1>&6
14262 if test "$cross_compiling" = yes; then
14263 wx_cv_sizeof_wchar_t
=4
14266 cat > conftest.
$ac_ext <<EOF
14267 #line 14268 "configure"
14268 #include "confdefs.h"
14270 #ifdef HAVE_WCHAR_H
14272 # include <stddef.h>
14274 # include <wchar.h>
14276 #ifdef HAVE_STDLIB_H
14277 # include <stdlib.h>
14282 FILE *f=fopen("conftestval", "w");
14284 fprintf(f, "%i", sizeof(wchar_t));
14289 if { (eval echo configure
:14290: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
14291 wx_cv_sizeof_wchar_t
=`cat conftestval`
14293 echo "configure: failed program was:" >&5
14294 cat conftest.
$ac_ext >&5
14296 wx_cv_sizeof_wchar_t
=0
14304 echo "$ac_t""$wx_cv_sizeof_wchar_t" 1>&6
14306 cat >> confdefs.h
<<EOF
14307 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
14311 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
14312 echo "configure:14313: checking whether byte ordering is bigendian" >&5
14313 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
14314 echo $ac_n "(cached) $ac_c" 1>&6
14316 ac_cv_c_bigendian
=unknown
14317 # See if sys/param.h defines the BYTE_ORDER macro.
14318 cat > conftest.
$ac_ext <<EOF
14319 #line 14320 "configure"
14320 #include "confdefs.h"
14321 #include <sys/types.h>
14322 #include <sys/param.h>
14325 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
14326 bogus endian macros
14330 if { (eval echo configure
:14331: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14332 # It does; now see whether it defined to BIG_ENDIAN or not.
14333 cat > conftest.
$ac_ext <<EOF
14334 #line 14335 "configure"
14335 #include "confdefs.h"
14336 #include <sys/types.h>
14337 #include <sys/param.h>
14340 #if BYTE_ORDER != BIG_ENDIAN
14345 if { (eval echo configure
:14346: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14347 ac_cv_c_bigendian
=yes
14349 echo "configure: failed program was:" >&5
14350 cat conftest.
$ac_ext >&5
14352 ac_cv_c_bigendian
=no
14356 echo "configure: failed program was:" >&5
14357 cat conftest.
$ac_ext >&5
14360 if test $ac_cv_c_bigendian = unknown
; then
14361 if test "$cross_compiling" = yes; then
14362 ac_cv_c_bigendian
=unknown
14364 cat > conftest.
$ac_ext <<EOF
14365 #line 14366 "configure"
14366 #include "confdefs.h"
14368 /* Are we little or big endian? From Harbison&Steele. */
14372 char c[sizeof (long)];
14375 exit (u.c[sizeof (long) - 1] == 1);
14378 if { (eval echo configure
:14379: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
14380 ac_cv_c_bigendian
=no
14382 echo "configure: failed program was:" >&5
14383 cat conftest.
$ac_ext >&5
14385 ac_cv_c_bigendian
=yes
14393 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
14394 if test $ac_cv_c_bigendian = unknown
; then
14395 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
14397 if test $ac_cv_c_bigendian = yes; then
14398 cat >> confdefs.h
<<\EOF
14399 #define WORDS_BIGENDIAN 1
14405 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
14406 echo "configure:14407: checking how to run the C++ preprocessor" >&5
14407 if test -z "$CXXCPP"; then
14408 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
14409 echo $ac_n "(cached) $ac_c" 1>&6
14412 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14413 ac_cpp
='$CXXCPP $CPPFLAGS'
14414 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14415 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14416 cross_compiling
=$ac_cv_prog_cxx_cross
14417 CXXCPP
="${CXX-g++} -E"
14418 cat > conftest.
$ac_ext <<EOF
14419 #line 14420 "configure"
14420 #include "confdefs.h"
14421 #include <stdlib.h>
14423 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14424 { (eval echo configure
:14425: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14425 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14426 if test -z "$ac_err"; then
14430 echo "configure: failed program was:" >&5
14431 cat conftest.
$ac_ext >&5
14436 ac_cv_prog_CXXCPP
="$CXXCPP"
14438 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14439 ac_cpp
='$CXXCPP $CPPFLAGS'
14440 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14441 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14442 cross_compiling
=$ac_cv_prog_cxx_cross
14445 CXXCPP
="$ac_cv_prog_CXXCPP"
14446 echo "$ac_t""$CXXCPP" 1>&6
14449 if test "$cross_compiling" = "yes"; then
14450 cat >> confdefs.h
<<\EOF
14451 #define wxUSE_IOSTREAMH 1
14457 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14458 ac_cpp
='$CXXCPP $CPPFLAGS'
14459 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14460 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14461 cross_compiling
=$ac_cv_prog_cxx_cross
14464 for ac_hdr
in iostream
14466 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
14467 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
14468 echo "configure:14469: checking for $ac_hdr" >&5
14469 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14470 echo $ac_n "(cached) $ac_c" 1>&6
14472 cat > conftest.
$ac_ext <<EOF
14473 #line 14474 "configure"
14474 #include "confdefs.h"
14477 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14478 { (eval echo configure
:14479: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14479 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14480 if test -z "$ac_err"; then
14482 eval "ac_cv_header_$ac_safe=yes"
14485 echo "configure: failed program was:" >&5
14486 cat conftest.
$ac_ext >&5
14488 eval "ac_cv_header_$ac_safe=no"
14492 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14493 echo "$ac_t""yes" 1>&6
14494 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
14495 cat >> confdefs.h
<<EOF
14496 #define $ac_tr_hdr 1
14500 echo "$ac_t""no" 1>&6
14505 if test "$ac_cv_header_iostream" = "yes" ; then
14508 cat >> confdefs.h
<<\EOF
14509 #define wxUSE_IOSTREAMH 1
14515 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14516 ac_cpp
='$CPP $CPPFLAGS'
14517 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14518 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14519 cross_compiling
=$ac_cv_prog_cc_cross
14525 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
14526 echo "configure:14527: checking if C++ compiler supports bool" >&5
14527 if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
14528 echo $ac_n "(cached) $ac_c" 1>&6
14533 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14534 ac_cpp
='$CXXCPP $CPPFLAGS'
14535 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14536 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14537 cross_compiling
=$ac_cv_prog_cxx_cross
14540 cat > conftest.
$ac_ext <<EOF
14541 #line 14542 "configure"
14542 #include "confdefs.h"
14553 if { (eval echo configure
:14554: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14559 echo "configure: failed program was:" >&5
14560 cat conftest.
$ac_ext >&5
14570 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14571 ac_cpp
='$CPP $CPPFLAGS'
14572 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14573 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14574 cross_compiling
=$ac_cv_prog_cc_cross
14579 echo "$ac_t""$wx_cv_cpp_bool" 1>&6
14581 if test "$wx_cv_cpp_bool" = "yes"; then
14582 cat >> confdefs.h
<<\EOF
14583 #define HAVE_BOOL 1
14590 echo $ac_n "checking for wcslen in -lc""... $ac_c" 1>&6
14591 echo "configure:14592: checking for wcslen in -lc" >&5
14592 ac_lib_var
=`echo c'_'wcslen | sed 'y%./+-%__p_%'`
14593 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14594 echo $ac_n "(cached) $ac_c" 1>&6
14596 ac_save_LIBS
="$LIBS"
14598 cat > conftest.
$ac_ext <<EOF
14599 #line 14600 "configure"
14600 #include "confdefs.h"
14601 /* Override any gcc2 internal prototype to avoid an error. */
14602 /* We use char because int might match the return type of a gcc2
14603 builtin and then its argument prototype would still apply. */
14610 if { (eval echo configure
:14611: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14612 eval "ac_cv_lib_$ac_lib_var=yes"
14614 echo "configure: failed program was:" >&5
14615 cat conftest.
$ac_ext >&5
14617 eval "ac_cv_lib_$ac_lib_var=no"
14620 LIBS
="$ac_save_LIBS"
14623 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14624 echo "$ac_t""yes" 1>&6
14626 cat >> confdefs.h
<<\EOF
14627 #define HAVE_WCSLEN 1
14633 echo "$ac_t""no" 1>&6
14635 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
14636 echo "configure:14637: checking for wcslen in -lw" >&5
14637 ac_lib_var
=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
14638 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14639 echo $ac_n "(cached) $ac_c" 1>&6
14641 ac_save_LIBS
="$LIBS"
14643 cat > conftest.
$ac_ext <<EOF
14644 #line 14645 "configure"
14645 #include "confdefs.h"
14646 /* Override any gcc2 internal prototype to avoid an error. */
14647 /* We use char because int might match the return type of a gcc2
14648 builtin and then its argument prototype would still apply. */
14655 if { (eval echo configure
:14656: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14657 eval "ac_cv_lib_$ac_lib_var=yes"
14659 echo "configure: failed program was:" >&5
14660 cat conftest.
$ac_ext >&5
14662 eval "ac_cv_lib_$ac_lib_var=no"
14665 LIBS
="$ac_save_LIBS"
14668 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14669 echo "$ac_t""yes" 1>&6
14671 cat >> confdefs.h
<<\EOF
14672 #define HAVE_WCSLEN 1
14678 echo "$ac_t""no" 1>&6
14680 echo $ac_n "checking for wcslen in -lmsvcrt""... $ac_c" 1>&6
14681 echo "configure:14682: checking for wcslen in -lmsvcrt" >&5
14682 ac_lib_var
=`echo msvcrt'_'wcslen | sed 'y%./+-%__p_%'`
14683 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14684 echo $ac_n "(cached) $ac_c" 1>&6
14686 ac_save_LIBS
="$LIBS"
14687 LIBS
="-lmsvcrt $LIBS"
14688 cat > conftest.
$ac_ext <<EOF
14689 #line 14690 "configure"
14690 #include "confdefs.h"
14691 /* Override any gcc2 internal prototype to avoid an error. */
14692 /* We use char because int might match the return type of a gcc2
14693 builtin and then its argument prototype would still apply. */
14700 if { (eval echo configure
:14701: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14702 eval "ac_cv_lib_$ac_lib_var=yes"
14704 echo "configure: failed program was:" >&5
14705 cat conftest.
$ac_ext >&5
14707 eval "ac_cv_lib_$ac_lib_var=no"
14710 LIBS
="$ac_save_LIBS"
14713 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14714 echo "$ac_t""yes" 1>&6
14716 cat >> confdefs.h
<<\EOF
14717 #define HAVE_WCSLEN 1
14723 echo "$ac_t""no" 1>&6
14733 for ac_func
in wcsrtombs
14735 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14736 echo "configure:14737: checking for $ac_func" >&5
14737 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14738 echo $ac_n "(cached) $ac_c" 1>&6
14740 cat > conftest.
$ac_ext <<EOF
14741 #line 14742 "configure"
14742 #include "confdefs.h"
14743 /* System header to define __stub macros and hopefully few prototypes,
14744 which can conflict with char $ac_func(); below. */
14745 #include <assert.h>
14746 /* Override any gcc2 internal prototype to avoid an error. */
14747 /* We use char because int might match the return type of a gcc2
14748 builtin and then its argument prototype would still apply. */
14753 /* The GNU C library defines this for functions which it implements
14754 to always fail with ENOSYS. Some functions are actually named
14755 something starting with __ and the normal name is an alias. */
14756 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14764 if { (eval echo configure
:14765: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14766 eval "ac_cv_func_$ac_func=yes"
14768 echo "configure: failed program was:" >&5
14769 cat conftest.
$ac_ext >&5
14771 eval "ac_cv_func_$ac_func=no"
14776 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14777 echo "$ac_t""yes" 1>&6
14778 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14779 cat >> confdefs.h
<<EOF
14780 #define $ac_tr_func 1
14784 echo "$ac_t""no" 1>&6
14789 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
14790 echo "configure:14791: checking for vprintf" >&5
14791 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
14792 echo $ac_n "(cached) $ac_c" 1>&6
14794 cat > conftest.
$ac_ext <<EOF
14795 #line 14796 "configure"
14796 #include "confdefs.h"
14797 /* System header to define __stub macros and hopefully few prototypes,
14798 which can conflict with char vprintf(); below. */
14799 #include <assert.h>
14800 /* Override any gcc2 internal prototype to avoid an error. */
14801 /* We use char because int might match the return type of a gcc2
14802 builtin and then its argument prototype would still apply. */
14807 /* The GNU C library defines this for functions which it implements
14808 to always fail with ENOSYS. Some functions are actually named
14809 something starting with __ and the normal name is an alias. */
14810 #if defined (__stub_vprintf) || defined (__stub___vprintf)
14818 if { (eval echo configure
:14819: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14820 eval "ac_cv_func_vprintf=yes"
14822 echo "configure: failed program was:" >&5
14823 cat conftest.
$ac_ext >&5
14825 eval "ac_cv_func_vprintf=no"
14830 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
14831 echo "$ac_t""yes" 1>&6
14832 cat >> confdefs.h
<<\EOF
14833 #define HAVE_VPRINTF 1
14837 echo "$ac_t""no" 1>&6
14840 if test "$ac_cv_func_vprintf" != yes; then
14841 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
14842 echo "configure:14843: checking for _doprnt" >&5
14843 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
14844 echo $ac_n "(cached) $ac_c" 1>&6
14846 cat > conftest.
$ac_ext <<EOF
14847 #line 14848 "configure"
14848 #include "confdefs.h"
14849 /* System header to define __stub macros and hopefully few prototypes,
14850 which can conflict with char _doprnt(); below. */
14851 #include <assert.h>
14852 /* Override any gcc2 internal prototype to avoid an error. */
14853 /* We use char because int might match the return type of a gcc2
14854 builtin and then its argument prototype would still apply. */
14859 /* The GNU C library defines this for functions which it implements
14860 to always fail with ENOSYS. Some functions are actually named
14861 something starting with __ and the normal name is an alias. */
14862 #if defined (__stub__doprnt) || defined (__stub____doprnt)
14870 if { (eval echo configure
:14871: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14872 eval "ac_cv_func__doprnt=yes"
14874 echo "configure: failed program was:" >&5
14875 cat conftest.
$ac_ext >&5
14877 eval "ac_cv_func__doprnt=no"
14882 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
14883 echo "$ac_t""yes" 1>&6
14884 cat >> confdefs.h
<<\EOF
14885 #define HAVE_DOPRNT 1
14889 echo "$ac_t""no" 1>&6
14899 echo $ac_n "checking for vsnprintf""... $ac_c" 1>&6
14900 echo "configure:14901: checking for vsnprintf" >&5
14901 if eval "test \"`echo '$''{'wx_cv_func_vsnprintf'+set}'`\" = set"; then
14902 echo $ac_n "(cached) $ac_c" 1>&6
14905 cat > conftest.
$ac_ext <<EOF
14906 #line 14907 "configure"
14907 #include "confdefs.h"
14910 #include <stdarg.h>
14914 int wx_test_vsnprintf(const char *, ...);
14916 wx_test_vsnprintf("%s");
14920 int wx_test_vsnprintf(const char *fmt, ...)
14925 va_start(argp, fmt);
14926 vsnprintf(s, 42, fmt, argp);
14931 if { (eval echo configure
:14932: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14934 wx_cv_func_vsnprintf
=yes
14937 echo "configure: failed program was:" >&5
14938 cat conftest.
$ac_ext >&5
14941 cat > conftest.
$ac_ext <<EOF
14942 #line 14943 "configure"
14943 #include "confdefs.h"
14946 #include <stdarg.h>
14950 int wx_test_vsnprintf(const char *, ...);
14952 wx_test_vsnprintf("%s");
14956 int wx_test_vsnprintf(const char *fmt, ...)
14961 va_start(argp, fmt);
14962 _vsnprintf(s, 42, fmt, argp);
14967 if { (eval echo configure
:14968: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14970 wx_cv_func_vsnprintf
=yes
14973 echo "configure: failed program was:" >&5
14974 cat conftest.
$ac_ext >&5
14977 wx_cv_func_vsnprintf
=no
14987 echo "$ac_t""$wx_cv_func_vsnprintf" 1>&6
14989 if test "$wx_cv_func_vsnprintf" = yes; then
14990 cat >> confdefs.h
<<\EOF
14991 #define HAVE_VSNPRINTF 1
14995 echo "configure: warning: unsafe function vsprintf will be used instead of vsnprintf" 1>&2
14998 echo $ac_n "checking for vsscanf""... $ac_c" 1>&6
14999 echo "configure:15000: checking for vsscanf" >&5
15000 if eval "test \"`echo '$''{'wx_cv_func_vsscanf'+set}'`\" = set"; then
15001 echo $ac_n "(cached) $ac_c" 1>&6
15004 cat > conftest.
$ac_ext <<EOF
15005 #line 15006 "configure"
15006 #include "confdefs.h"
15009 #include <stdarg.h>
15013 int wx_test_vsscanf(const char *, ...);
15015 wx_test_vsscanf("%d");
15019 int wx_test_vsscanf(const char *fmt, ...)
15022 va_start(argp, fmt);
15023 vsscanf("42", fmt, argp);
15028 if { (eval echo configure
:15029: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15031 wx_cv_func_vsscanf
=yes
15034 echo "configure: failed program was:" >&5
15035 cat conftest.
$ac_ext >&5
15038 wx_cv_func_vsscanf
=no
15045 echo "$ac_t""$wx_cv_func_vsscanf" 1>&6
15047 if test "$wx_cv_func_vsscanf" = yes; then
15048 cat >> confdefs.h
<<\EOF
15049 #define HAVE_VSSCANF 1
15054 if test "$TOOLKIT" != "MSW"; then
15059 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15060 ac_cpp
='$CXXCPP $CPPFLAGS'
15061 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15062 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15063 cross_compiling
=$ac_cv_prog_cxx_cross
15065 echo $ac_n "checking if iconv() takes char**""... $ac_c" 1>&6
15066 echo "configure:15067: checking if iconv() takes char**" >&5
15067 if eval "test \"`echo '$''{'wx_cv_iconv_takes_char'+set}'`\" = set"; then
15068 echo $ac_n "(cached) $ac_c" 1>&6
15071 cat > conftest.
$ac_ext <<EOF
15072 #line 15073 "configure"
15073 #include "confdefs.h"
15077 char **inbuf, **outbuf;
15079 size_t insz, outsz;
15080 iconv(cd, inbuf, &insz, outbuf, &outsz);
15084 if { (eval echo configure
:15085: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15086 wx_cv_iconv_takes_char
=yes
15088 echo "configure: failed program was:" >&5
15089 cat conftest.
$ac_ext >&5
15091 wx_cv_iconv_takes_char
=no
15097 echo "$ac_t""$wx_cv_iconv_takes_char" 1>&6
15099 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15100 ac_cpp
='$CPP $CPPFLAGS'
15101 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15102 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15103 cross_compiling
=$ac_cv_prog_cc_cross
15105 if test "$wx_cv_iconv_takes_char" = yes ; then
15106 cat >> confdefs.h
<<\EOF
15107 #define WX_ICONV_TAKES_CHAR 1
15113 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
15114 for ac_func
in sigaction
15116 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15117 echo "configure:15118: checking for $ac_func" >&5
15118 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15119 echo $ac_n "(cached) $ac_c" 1>&6
15121 cat > conftest.
$ac_ext <<EOF
15122 #line 15123 "configure"
15123 #include "confdefs.h"
15124 /* System header to define __stub macros and hopefully few prototypes,
15125 which can conflict with char $ac_func(); below. */
15126 #include <assert.h>
15127 /* Override any gcc2 internal prototype to avoid an error. */
15128 /* We use char because int might match the return type of a gcc2
15129 builtin and then its argument prototype would still apply. */
15134 /* The GNU C library defines this for functions which it implements
15135 to always fail with ENOSYS. Some functions are actually named
15136 something starting with __ and the normal name is an alias. */
15137 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15145 if { (eval echo configure
:15146: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15147 eval "ac_cv_func_$ac_func=yes"
15149 echo "configure: failed program was:" >&5
15150 cat conftest.
$ac_ext >&5
15152 eval "ac_cv_func_$ac_func=no"
15157 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15158 echo "$ac_t""yes" 1>&6
15159 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15160 cat >> confdefs.h
<<EOF
15161 #define $ac_tr_func 1
15165 echo "$ac_t""no" 1>&6
15170 if test "$ac_cv_func_sigaction" = "no"; then
15171 echo "configure: warning: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" 1>&2
15172 wxUSE_ON_FATAL_EXCEPTION
=no
15175 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
15178 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15179 ac_cpp
='$CXXCPP $CPPFLAGS'
15180 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15181 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15182 cross_compiling
=$ac_cv_prog_cxx_cross
15185 echo $ac_n "checking for sa_handler type""... $ac_c" 1>&6
15186 echo "configure:15187: checking for sa_handler type" >&5
15187 if eval "test \"`echo '$''{'wx_cv_type_sa_handler'+set}'`\" = set"; then
15188 echo $ac_n "(cached) $ac_c" 1>&6
15191 cat > conftest.
$ac_ext <<EOF
15192 #line 15193 "configure"
15193 #include "confdefs.h"
15194 #include <signal.h>
15197 extern void testSigHandler(int);
15199 struct sigaction sa;
15200 sa.sa_handler = testSigHandler;
15204 if { (eval echo configure
:15205: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15207 wx_cv_type_sa_handler
=int
15210 echo "configure: failed program was:" >&5
15211 cat conftest.
$ac_ext >&5
15214 wx_cv_type_sa_handler
=void
15221 echo "$ac_t""$wx_cv_type_sa_handler" 1>&6
15224 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15225 ac_cpp
='$CPP $CPPFLAGS'
15226 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15227 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15228 cross_compiling
=$ac_cv_prog_cc_cross
15231 cat >> confdefs.h
<<EOF
15232 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
15238 for ac_func
in vfork
15240 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15241 echo "configure:15242: checking for $ac_func" >&5
15242 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15243 echo $ac_n "(cached) $ac_c" 1>&6
15245 cat > conftest.
$ac_ext <<EOF
15246 #line 15247 "configure"
15247 #include "confdefs.h"
15248 /* System header to define __stub macros and hopefully few prototypes,
15249 which can conflict with char $ac_func(); below. */
15250 #include <assert.h>
15251 /* Override any gcc2 internal prototype to avoid an error. */
15252 /* We use char because int might match the return type of a gcc2
15253 builtin and then its argument prototype would still apply. */
15258 /* The GNU C library defines this for functions which it implements
15259 to always fail with ENOSYS. Some functions are actually named
15260 something starting with __ and the normal name is an alias. */
15261 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15269 if { (eval echo configure
:15270: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15271 eval "ac_cv_func_$ac_func=yes"
15273 echo "configure: failed program was:" >&5
15274 cat conftest.
$ac_ext >&5
15276 eval "ac_cv_func_$ac_func=no"
15281 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15282 echo "$ac_t""yes" 1>&6
15283 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15284 cat >> confdefs.h
<<EOF
15285 #define $ac_tr_func 1
15289 echo "$ac_t""no" 1>&6
15294 for ac_func
in mkstemp mktemp
15296 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15297 echo "configure:15298: checking for $ac_func" >&5
15298 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15299 echo $ac_n "(cached) $ac_c" 1>&6
15301 cat > conftest.
$ac_ext <<EOF
15302 #line 15303 "configure"
15303 #include "confdefs.h"
15304 /* System header to define __stub macros and hopefully few prototypes,
15305 which can conflict with char $ac_func(); below. */
15306 #include <assert.h>
15307 /* Override any gcc2 internal prototype to avoid an error. */
15308 /* We use char because int might match the return type of a gcc2
15309 builtin and then its argument prototype would still apply. */
15314 /* The GNU C library defines this for functions which it implements
15315 to always fail with ENOSYS. Some functions are actually named
15316 something starting with __ and the normal name is an alias. */
15317 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15325 if { (eval echo configure
:15326: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15327 eval "ac_cv_func_$ac_func=yes"
15329 echo "configure: failed program was:" >&5
15330 cat conftest.
$ac_ext >&5
15332 eval "ac_cv_func_$ac_func=no"
15337 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15338 echo "$ac_t""yes" 1>&6
15339 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15340 cat >> confdefs.h
<<EOF
15341 #define $ac_tr_func 1
15345 echo "$ac_t""no" 1>&6
15350 echo $ac_n "checking for statfs""... $ac_c" 1>&6
15351 echo "configure:15352: checking for statfs" >&5
15352 if eval "test \"`echo '$''{'wx_cv_func_statfs'+set}'`\" = set"; then
15353 echo $ac_n "(cached) $ac_c" 1>&6
15355 cat > conftest.
$ac_ext <<EOF
15356 #line 15357 "configure"
15357 #include "confdefs.h"
15359 #if defined(__BSD__)
15360 #include <sys/param.h>
15361 #include <sys/mount.h>
15363 #include <sys/vfs.h>
15377 if { (eval echo configure
:15378: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15380 wx_cv_func_statfs
=yes
15383 echo "configure: failed program was:" >&5
15384 cat conftest.
$ac_ext >&5
15387 wx_cv_func_statfs
=no
15395 echo "$ac_t""$wx_cv_func_statfs" 1>&6
15397 if test "$wx_cv_func_statfs" = "yes"; then
15398 cat >> confdefs.h
<<\EOF
15399 #define HAVE_STATFS 1
15403 echo $ac_n "checking for statvfs""... $ac_c" 1>&6
15404 echo "configure:15405: checking for statvfs" >&5
15405 if eval "test \"`echo '$''{'wx_cv_func_statvfs'+set}'`\" = set"; then
15406 echo $ac_n "(cached) $ac_c" 1>&6
15408 cat > conftest.
$ac_ext <<EOF
15409 #line 15410 "configure"
15410 #include "confdefs.h"
15412 #include <sys/statvfs.h>
15425 if { (eval echo configure
:15426: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15428 wx_cv_func_statvfs
=yes
15431 echo "configure: failed program was:" >&5
15432 cat conftest.
$ac_ext >&5
15435 wx_cv_func_statvfs
=no
15443 echo "$ac_t""$wx_cv_func_statvfs" 1>&6
15445 if test "$wx_cv_func_statvfs" = "yes"; then
15446 cat >> confdefs.h
<<\EOF
15447 #define HAVE_STATVFS 1
15451 echo "configure: warning: wxGetDiskSpace() function won't work without statfs()" 1>&2
15455 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
15456 for ac_func
in fcntl flock
15458 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15459 echo "configure:15460: checking for $ac_func" >&5
15460 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15461 echo $ac_n "(cached) $ac_c" 1>&6
15463 cat > conftest.
$ac_ext <<EOF
15464 #line 15465 "configure"
15465 #include "confdefs.h"
15466 /* System header to define __stub macros and hopefully few prototypes,
15467 which can conflict with char $ac_func(); below. */
15468 #include <assert.h>
15469 /* Override any gcc2 internal prototype to avoid an error. */
15470 /* We use char because int might match the return type of a gcc2
15471 builtin and then its argument prototype would still apply. */
15476 /* The GNU C library defines this for functions which it implements
15477 to always fail with ENOSYS. Some functions are actually named
15478 something starting with __ and the normal name is an alias. */
15479 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15487 if { (eval echo configure
:15488: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15489 eval "ac_cv_func_$ac_func=yes"
15491 echo "configure: failed program was:" >&5
15492 cat conftest.
$ac_ext >&5
15494 eval "ac_cv_func_$ac_func=no"
15499 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15500 echo "$ac_t""yes" 1>&6
15501 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15502 cat >> confdefs.h
<<EOF
15503 #define $ac_tr_func 1
15507 echo "$ac_t""no" 1>&6
15512 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
15513 echo "configure: warning: wxSingleInstanceChecker not available" 1>&2
15514 wxUSE_SNGLINST_CHECKER
=no
15518 for ac_func
in timegm
15520 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15521 echo "configure:15522: checking for $ac_func" >&5
15522 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15523 echo $ac_n "(cached) $ac_c" 1>&6
15525 cat > conftest.
$ac_ext <<EOF
15526 #line 15527 "configure"
15527 #include "confdefs.h"
15528 /* System header to define __stub macros and hopefully few prototypes,
15529 which can conflict with char $ac_func(); below. */
15530 #include <assert.h>
15531 /* Override any gcc2 internal prototype to avoid an error. */
15532 /* We use char because int might match the return type of a gcc2
15533 builtin and then its argument prototype would still apply. */
15538 /* The GNU C library defines this for functions which it implements
15539 to always fail with ENOSYS. Some functions are actually named
15540 something starting with __ and the normal name is an alias. */
15541 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15549 if { (eval echo configure
:15550: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15551 eval "ac_cv_func_$ac_func=yes"
15553 echo "configure: failed program was:" >&5
15554 cat conftest.
$ac_ext >&5
15556 eval "ac_cv_func_$ac_func=no"
15561 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15562 echo "$ac_t""yes" 1>&6
15563 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15564 cat >> confdefs.h
<<EOF
15565 #define $ac_tr_func 1
15569 echo "$ac_t""no" 1>&6
15574 for ac_func
in putenv setenv
15576 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15577 echo "configure:15578: checking for $ac_func" >&5
15578 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15579 echo $ac_n "(cached) $ac_c" 1>&6
15581 cat > conftest.
$ac_ext <<EOF
15582 #line 15583 "configure"
15583 #include "confdefs.h"
15584 /* System header to define __stub macros and hopefully few prototypes,
15585 which can conflict with char $ac_func(); below. */
15586 #include <assert.h>
15587 /* Override any gcc2 internal prototype to avoid an error. */
15588 /* We use char because int might match the return type of a gcc2
15589 builtin and then its argument prototype would still apply. */
15594 /* The GNU C library defines this for functions which it implements
15595 to always fail with ENOSYS. Some functions are actually named
15596 something starting with __ and the normal name is an alias. */
15597 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15605 if { (eval echo configure
:15606: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15607 eval "ac_cv_func_$ac_func=yes"
15609 echo "configure: failed program was:" >&5
15610 cat conftest.
$ac_ext >&5
15612 eval "ac_cv_func_$ac_func=no"
15617 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15618 echo "$ac_t""yes" 1>&6
15619 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15620 cat >> confdefs.h
<<EOF
15621 #define $ac_tr_func 1
15625 echo "$ac_t""no" 1>&6
15630 HAVE_SOME_SLEEP_FUNC
=0
15631 if test "$USE_BEOS" = 1; then
15632 cat >> confdefs.h
<<\EOF
15633 #define HAVE_SLEEP 1
15636 HAVE_SOME_SLEEP_FUNC
=1
15639 if test "$USE_DARWIN" = 1; then
15640 cat >> confdefs.h
<<\EOF
15641 #define HAVE_USLEEP 1
15644 HAVE_SOME_SLEEP_FUNC
=1
15647 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
15649 for ac_func
in nanosleep
15651 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15652 echo "configure:15653: checking for $ac_func" >&5
15653 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15654 echo $ac_n "(cached) $ac_c" 1>&6
15656 cat > conftest.
$ac_ext <<EOF
15657 #line 15658 "configure"
15658 #include "confdefs.h"
15659 /* System header to define __stub macros and hopefully few prototypes,
15660 which can conflict with char $ac_func(); below. */
15661 #include <assert.h>
15662 /* Override any gcc2 internal prototype to avoid an error. */
15663 /* We use char because int might match the return type of a gcc2
15664 builtin and then its argument prototype would still apply. */
15669 /* The GNU C library defines this for functions which it implements
15670 to always fail with ENOSYS. Some functions are actually named
15671 something starting with __ and the normal name is an alias. */
15672 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15680 if { (eval echo configure
:15681: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15682 eval "ac_cv_func_$ac_func=yes"
15684 echo "configure: failed program was:" >&5
15685 cat conftest.
$ac_ext >&5
15687 eval "ac_cv_func_$ac_func=no"
15692 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15693 echo "$ac_t""yes" 1>&6
15694 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15695 cat >> confdefs.h
<<EOF
15696 #define $ac_tr_func 1
15698 cat >> confdefs.h
<<\EOF
15699 #define HAVE_NANOSLEEP 1
15703 echo "$ac_t""no" 1>&6
15704 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
15705 echo "configure:15706: checking for nanosleep in -lposix4" >&5
15706 ac_lib_var
=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
15707 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15708 echo $ac_n "(cached) $ac_c" 1>&6
15710 ac_save_LIBS
="$LIBS"
15711 LIBS
="-lposix4 $LIBS"
15712 cat > conftest.
$ac_ext <<EOF
15713 #line 15714 "configure"
15714 #include "confdefs.h"
15715 /* Override any gcc2 internal prototype to avoid an error. */
15716 /* We use char because int might match the return type of a gcc2
15717 builtin and then its argument prototype would still apply. */
15724 if { (eval echo configure
:15725: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15726 eval "ac_cv_lib_$ac_lib_var=yes"
15728 echo "configure: failed program was:" >&5
15729 cat conftest.
$ac_ext >&5
15731 eval "ac_cv_lib_$ac_lib_var=no"
15734 LIBS
="$ac_save_LIBS"
15737 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15738 echo "$ac_t""yes" 1>&6
15740 cat >> confdefs.h
<<\EOF
15741 #define HAVE_NANOSLEEP 1
15744 POSIX4_LINK
=" -lposix4"
15747 echo "$ac_t""no" 1>&6
15749 for ac_func
in usleep
15751 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15752 echo "configure:15753: checking for $ac_func" >&5
15753 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15754 echo $ac_n "(cached) $ac_c" 1>&6
15756 cat > conftest.
$ac_ext <<EOF
15757 #line 15758 "configure"
15758 #include "confdefs.h"
15759 /* System header to define __stub macros and hopefully few prototypes,
15760 which can conflict with char $ac_func(); below. */
15761 #include <assert.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. */
15769 /* The GNU C library defines this for functions which it implements
15770 to always fail with ENOSYS. Some functions are actually named
15771 something starting with __ and the normal name is an alias. */
15772 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15780 if { (eval echo configure
:15781: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15782 eval "ac_cv_func_$ac_func=yes"
15784 echo "configure: failed program was:" >&5
15785 cat conftest.
$ac_ext >&5
15787 eval "ac_cv_func_$ac_func=no"
15792 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15793 echo "$ac_t""yes" 1>&6
15794 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15795 cat >> confdefs.h
<<EOF
15796 #define $ac_tr_func 1
15798 cat >> confdefs.h
<<\EOF
15799 #define HAVE_USLEEP 1
15803 echo "$ac_t""no" 1>&6
15804 echo "configure: warning: wxSleep() function will not work" 1>&2
15820 for ac_func
in uname gethostname
15822 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15823 echo "configure:15824: checking for $ac_func" >&5
15824 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15825 echo $ac_n "(cached) $ac_c" 1>&6
15827 cat > conftest.
$ac_ext <<EOF
15828 #line 15829 "configure"
15829 #include "confdefs.h"
15830 /* System header to define __stub macros and hopefully few prototypes,
15831 which can conflict with char $ac_func(); below. */
15832 #include <assert.h>
15833 /* Override any gcc2 internal prototype to avoid an error. */
15834 /* We use char because int might match the return type of a gcc2
15835 builtin and then its argument prototype would still apply. */
15840 /* The GNU C library defines this for functions which it implements
15841 to always fail with ENOSYS. Some functions are actually named
15842 something starting with __ and the normal name is an alias. */
15843 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15851 if { (eval echo configure
:15852: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15853 eval "ac_cv_func_$ac_func=yes"
15855 echo "configure: failed program was:" >&5
15856 cat conftest.
$ac_ext >&5
15858 eval "ac_cv_func_$ac_func=no"
15863 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15864 echo "$ac_t""yes" 1>&6
15865 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15866 cat >> confdefs.h
<<EOF
15867 #define $ac_tr_func 1
15871 echo "$ac_t""no" 1>&6
15878 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15879 ac_cpp
='$CXXCPP $CPPFLAGS'
15880 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15881 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15882 cross_compiling
=$ac_cv_prog_cxx_cross
15885 for ac_func
in strtok_r
15887 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15888 echo "configure:15889: checking for $ac_func" >&5
15889 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15890 echo $ac_n "(cached) $ac_c" 1>&6
15892 cat > conftest.
$ac_ext <<EOF
15893 #line 15894 "configure"
15894 #include "confdefs.h"
15895 /* System header to define __stub macros and hopefully few prototypes,
15896 which can conflict with char $ac_func(); below. */
15897 #include <assert.h>
15898 /* Override any gcc2 internal prototype to avoid an error. */
15902 /* We use char because int might match the return type of a gcc2
15903 builtin and then its argument prototype would still apply. */
15908 /* The GNU C library defines this for functions which it implements
15909 to always fail with ENOSYS. Some functions are actually named
15910 something starting with __ and the normal name is an alias. */
15911 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15919 if { (eval echo configure
:15920: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15921 eval "ac_cv_func_$ac_func=yes"
15923 echo "configure: failed program was:" >&5
15924 cat conftest.
$ac_ext >&5
15926 eval "ac_cv_func_$ac_func=no"
15931 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15932 echo "$ac_t""yes" 1>&6
15933 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15934 cat >> confdefs.h
<<EOF
15935 #define $ac_tr_func 1
15939 echo "$ac_t""no" 1>&6
15945 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15946 ac_cpp
='$CPP $CPPFLAGS'
15947 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15948 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15949 cross_compiling
=$ac_cv_prog_cc_cross
15953 for ac_func
in inet_addr
15955 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15956 echo "configure:15957: checking for $ac_func" >&5
15957 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15958 echo $ac_n "(cached) $ac_c" 1>&6
15960 cat > conftest.
$ac_ext <<EOF
15961 #line 15962 "configure"
15962 #include "confdefs.h"
15963 /* System header to define __stub macros and hopefully few prototypes,
15964 which can conflict with char $ac_func(); below. */
15965 #include <assert.h>
15966 /* Override any gcc2 internal prototype to avoid an error. */
15967 /* We use char because int might match the return type of a gcc2
15968 builtin and then its argument prototype would still apply. */
15973 /* The GNU C library defines this for functions which it implements
15974 to always fail with ENOSYS. Some functions are actually named
15975 something starting with __ and the normal name is an alias. */
15976 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15984 if { (eval echo configure
:15985: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15986 eval "ac_cv_func_$ac_func=yes"
15988 echo "configure: failed program was:" >&5
15989 cat conftest.
$ac_ext >&5
15991 eval "ac_cv_func_$ac_func=no"
15996 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15997 echo "$ac_t""yes" 1>&6
15998 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15999 cat >> confdefs.h
<<EOF
16000 #define $ac_tr_func 1
16002 cat >> confdefs.h
<<\EOF
16003 #define HAVE_INET_ADDR 1
16007 echo "$ac_t""no" 1>&6
16008 echo $ac_n "checking for inet_addr in -lnsl""... $ac_c" 1>&6
16009 echo "configure:16010: checking for inet_addr in -lnsl" >&5
16010 ac_lib_var
=`echo nsl'_'inet_addr | sed 'y%./+-%__p_%'`
16011 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16012 echo $ac_n "(cached) $ac_c" 1>&6
16014 ac_save_LIBS
="$LIBS"
16016 cat > conftest.
$ac_ext <<EOF
16017 #line 16018 "configure"
16018 #include "confdefs.h"
16019 /* Override any gcc2 internal prototype to avoid an error. */
16020 /* We use char because int might match the return type of a gcc2
16021 builtin and then its argument prototype would still apply. */
16028 if { (eval echo configure
:16029: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16030 eval "ac_cv_lib_$ac_lib_var=yes"
16032 echo "configure: failed program was:" >&5
16033 cat conftest.
$ac_ext >&5
16035 eval "ac_cv_lib_$ac_lib_var=no"
16038 LIBS
="$ac_save_LIBS"
16041 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16042 echo "$ac_t""yes" 1>&6
16045 echo "$ac_t""no" 1>&6
16046 echo $ac_n "checking for inet_addr in -lresolv""... $ac_c" 1>&6
16047 echo "configure:16048: checking for inet_addr in -lresolv" >&5
16048 ac_lib_var
=`echo resolv'_'inet_addr | sed 'y%./+-%__p_%'`
16049 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16050 echo $ac_n "(cached) $ac_c" 1>&6
16052 ac_save_LIBS
="$LIBS"
16053 LIBS
="-lresolv $LIBS"
16054 cat > conftest.
$ac_ext <<EOF
16055 #line 16056 "configure"
16056 #include "confdefs.h"
16057 /* Override any gcc2 internal prototype to avoid an error. */
16058 /* We use char because int might match the return type of a gcc2
16059 builtin and then its argument prototype would still apply. */
16066 if { (eval echo configure
:16067: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16068 eval "ac_cv_lib_$ac_lib_var=yes"
16070 echo "configure: failed program was:" >&5
16071 cat conftest.
$ac_ext >&5
16073 eval "ac_cv_lib_$ac_lib_var=no"
16076 LIBS
="$ac_save_LIBS"
16079 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16080 echo "$ac_t""yes" 1>&6
16084 echo "$ac_t""no" 1>&6
16096 for ac_func
in inet_aton
16098 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16099 echo "configure:16100: checking for $ac_func" >&5
16100 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16101 echo $ac_n "(cached) $ac_c" 1>&6
16103 cat > conftest.
$ac_ext <<EOF
16104 #line 16105 "configure"
16105 #include "confdefs.h"
16106 /* System header to define __stub macros and hopefully few prototypes,
16107 which can conflict with char $ac_func(); below. */
16108 #include <assert.h>
16109 /* Override any gcc2 internal prototype to avoid an error. */
16110 /* We use char because int might match the return type of a gcc2
16111 builtin and then its argument prototype would still apply. */
16116 /* The GNU C library defines this for functions which it implements
16117 to always fail with ENOSYS. Some functions are actually named
16118 something starting with __ and the normal name is an alias. */
16119 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16127 if { (eval echo configure
:16128: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16129 eval "ac_cv_func_$ac_func=yes"
16131 echo "configure: failed program was:" >&5
16132 cat conftest.
$ac_ext >&5
16134 eval "ac_cv_func_$ac_func=no"
16139 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16140 echo "$ac_t""yes" 1>&6
16141 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16142 cat >> confdefs.h
<<EOF
16143 #define $ac_tr_func 1
16145 cat >> confdefs.h
<<\EOF
16146 #define HAVE_INET_ATON 1
16150 echo "$ac_t""no" 1>&6
16151 echo $ac_n "checking for inet_aton in -l$INET_LINK""... $ac_c" 1>&6
16152 echo "configure:16153: checking for inet_aton in -l$INET_LINK" >&5
16153 ac_lib_var
=`echo $INET_LINK'_'inet_aton | sed 'y%./+-%__p_%'`
16154 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16155 echo $ac_n "(cached) $ac_c" 1>&6
16157 ac_save_LIBS
="$LIBS"
16158 LIBS
="-l$INET_LINK $LIBS"
16159 cat > conftest.
$ac_ext <<EOF
16160 #line 16161 "configure"
16161 #include "confdefs.h"
16162 /* Override any gcc2 internal prototype to avoid an error. */
16163 /* We use char because int might match the return type of a gcc2
16164 builtin and then its argument prototype would still apply. */
16171 if { (eval echo configure
:16172: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16173 eval "ac_cv_lib_$ac_lib_var=yes"
16175 echo "configure: failed program was:" >&5
16176 cat conftest.
$ac_ext >&5
16178 eval "ac_cv_lib_$ac_lib_var=no"
16181 LIBS
="$ac_save_LIBS"
16184 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16185 echo "$ac_t""yes" 1>&6
16186 cat >> confdefs.h
<<\EOF
16187 #define HAVE_INET_ATON 1
16191 echo "$ac_t""no" 1>&6
16199 if test "x$INET_LINK" != "x"; then
16200 cat >> confdefs.h
<<\EOF
16201 #define HAVE_INET_ADDR 1
16204 INET_LINK
=" -l$INET_LINK"
16210 cat > confcache
<<\EOF
16211 # This file is a shell script that caches the results of configure
16212 # tests run on this system so they can be shared between configure
16213 # scripts and configure runs. It is not useful on other systems.
16214 # If it contains results you don't want to keep, you may remove or edit it.
16216 # By default, configure uses ./config.cache as the cache file,
16217 # creating it if it does not exist already. You can give configure
16218 # the --cache-file=FILE option to use a different cache file; that is
16219 # what configure does when it calls configure scripts in
16220 # subdirectories, so they share the cache.
16221 # Giving --cache-file=/dev/null disables caching, for debugging configure.
16222 # config.status only pays attention to the cache file if you give it the
16223 # --recheck option to rerun configure.
16226 # The following way of writing the cache mishandles newlines in values,
16227 # but we know of no workaround that is simple, portable, and efficient.
16228 # So, don't put newlines in cache variables' values.
16229 # Ultrix sh set writes to stderr and can't be redirected directly,
16230 # and sets the high bit in the cache file unless we assign to the vars.
16232 case `(ac_space=' '; set | grep ac_space) 2>&1` in
16234 # `set' does not quote correctly, so add quotes (double-quote substitution
16235 # turns \\\\ into \\, and sed turns \\ into \).
16237 -e "s/'/'\\\\''/g" \
16238 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
16241 # `set' quotes correctly as required by POSIX, so do not add quotes.
16242 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
16245 if cmp -s $cache_file confcache
; then
16248 if test -w $cache_file; then
16249 echo "updating cache $cache_file"
16250 cat confcache
> $cache_file
16252 echo "not updating unwritable cache $cache_file"
16259 if test "$TOOLKIT" != "MSW"; then
16265 CODE_GEN_FLAGS_CXX
=
16267 if test "$wxUSE_THREADS" = "yes" ; then
16268 if test "$wxUSE_WINE" = 1 ; then
16269 echo "configure: warning: Threads are not supported under WINE... disabled" 1>&2
16271 elif test "$USE_BEOS" = 1; then
16272 echo "configure: warning: BeOS threads are not yet supported... disabled" 1>&2
16277 if test "$wxUSE_THREADS" = "yes" ; then
16279 if test "$USE_AIX" = 1; then
16280 THREADS_LIB
=pthreads
16282 THREADS_LIB
=pthread
16285 echo $ac_n "checking for pthread_create in -l$THREADS_LIB""... $ac_c" 1>&6
16286 echo "configure:16287: checking for pthread_create in -l$THREADS_LIB" >&5
16287 ac_lib_var
=`echo $THREADS_LIB'_'pthread_create | sed 'y%./+-%__p_%'`
16288 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16289 echo $ac_n "(cached) $ac_c" 1>&6
16291 ac_save_LIBS
="$LIBS"
16292 LIBS
="-l$THREADS_LIB $LIBS"
16293 cat > conftest.
$ac_ext <<EOF
16294 #line 16295 "configure"
16295 #include "confdefs.h"
16296 /* Override any gcc2 internal prototype to avoid an error. */
16297 /* We use char because int might match the return type of a gcc2
16298 builtin and then its argument prototype would still apply. */
16299 char pthread_create();
16305 if { (eval echo configure
:16306: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16307 eval "ac_cv_lib_$ac_lib_var=yes"
16309 echo "configure: failed program was:" >&5
16310 cat conftest.
$ac_ext >&5
16312 eval "ac_cv_lib_$ac_lib_var=no"
16315 LIBS
="$ac_save_LIBS"
16318 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16319 echo "$ac_t""yes" 1>&6
16321 THREADS_OBJ
="threadpsx.lo"
16322 THREADS_LINK
=$THREADS_LIB
16325 echo "$ac_t""no" 1>&6
16327 echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
16328 echo "configure:16329: checking for pthread_create in -lc_r" >&5
16329 ac_lib_var
=`echo c_r'_'pthread_create | sed 'y%./+-%__p_%'`
16330 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16331 echo $ac_n "(cached) $ac_c" 1>&6
16333 ac_save_LIBS
="$LIBS"
16335 cat > conftest.
$ac_ext <<EOF
16336 #line 16337 "configure"
16337 #include "confdefs.h"
16338 /* Override any gcc2 internal prototype to avoid an error. */
16339 /* We use char because int might match the return type of a gcc2
16340 builtin and then its argument prototype would still apply. */
16341 char pthread_create();
16347 if { (eval echo configure
:16348: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16349 eval "ac_cv_lib_$ac_lib_var=yes"
16351 echo "configure: failed program was:" >&5
16352 cat conftest.
$ac_ext >&5
16354 eval "ac_cv_lib_$ac_lib_var=no"
16357 LIBS
="$ac_save_LIBS"
16360 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16361 echo "$ac_t""yes" 1>&6
16363 THREADS_OBJ
="threadpsx.lo"
16367 echo "$ac_t""no" 1>&6
16369 ac_safe
=`echo "sys/prctl.h" | sed 'y%./+-%__p_%'`
16370 echo $ac_n "checking for sys/prctl.h""... $ac_c" 1>&6
16371 echo "configure:16372: checking for sys/prctl.h" >&5
16372 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
16373 echo $ac_n "(cached) $ac_c" 1>&6
16375 cat > conftest.
$ac_ext <<EOF
16376 #line 16377 "configure"
16377 #include "confdefs.h"
16378 #include <sys/prctl.h>
16380 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
16381 { (eval echo configure
:16382: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16382 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
16383 if test -z "$ac_err"; then
16385 eval "ac_cv_header_$ac_safe=yes"
16388 echo "configure: failed program was:" >&5
16389 cat conftest.
$ac_ext >&5
16391 eval "ac_cv_header_$ac_safe=no"
16395 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
16396 echo "$ac_t""yes" 1>&6
16398 THREADS_OBJ
="threadsgi.lo"
16401 echo "$ac_t""no" 1>&6
16411 if test -z "$THREADS_OBJ" ; then
16413 echo "configure: warning: No thread support on this system... disabled" 1>&2
16417 if test "$wxUSE_THREADS" = "yes" ; then
16418 for ac_func
in thr_setconcurrency
16420 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16421 echo "configure:16422: checking for $ac_func" >&5
16422 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16423 echo $ac_n "(cached) $ac_c" 1>&6
16425 cat > conftest.
$ac_ext <<EOF
16426 #line 16427 "configure"
16427 #include "confdefs.h"
16428 /* System header to define __stub macros and hopefully few prototypes,
16429 which can conflict with char $ac_func(); below. */
16430 #include <assert.h>
16431 /* Override any gcc2 internal prototype to avoid an error. */
16432 /* We use char because int might match the return type of a gcc2
16433 builtin and then its argument prototype would still apply. */
16438 /* The GNU C library defines this for functions which it implements
16439 to always fail with ENOSYS. Some functions are actually named
16440 something starting with __ and the normal name is an alias. */
16441 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16449 if { (eval echo configure
:16450: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16451 eval "ac_cv_func_$ac_func=yes"
16453 echo "configure: failed program was:" >&5
16454 cat conftest.
$ac_ext >&5
16456 eval "ac_cv_func_$ac_func=no"
16461 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16462 echo "$ac_t""yes" 1>&6
16463 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16464 cat >> confdefs.h
<<EOF
16465 #define $ac_tr_func 1
16469 echo "$ac_t""no" 1>&6
16475 for ac_hdr
in sched.h
16477 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
16478 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
16479 echo "configure:16480: checking for $ac_hdr" >&5
16480 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
16481 echo $ac_n "(cached) $ac_c" 1>&6
16483 cat > conftest.
$ac_ext <<EOF
16484 #line 16485 "configure"
16485 #include "confdefs.h"
16488 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
16489 { (eval echo configure
:16490: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16490 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
16491 if test -z "$ac_err"; then
16493 eval "ac_cv_header_$ac_safe=yes"
16496 echo "configure: failed program was:" >&5
16497 cat conftest.
$ac_ext >&5
16499 eval "ac_cv_header_$ac_safe=no"
16503 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
16504 echo "$ac_t""yes" 1>&6
16505 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
16506 cat >> confdefs.h
<<EOF
16507 #define $ac_tr_hdr 1
16511 echo "$ac_t""no" 1>&6
16516 echo $ac_n "checking for sched_yield in -l$THREADS_LINK""... $ac_c" 1>&6
16517 echo "configure:16518: checking for sched_yield in -l$THREADS_LINK" >&5
16518 ac_lib_var
=`echo $THREADS_LINK'_'sched_yield | sed 'y%./+-%__p_%'`
16519 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16520 echo $ac_n "(cached) $ac_c" 1>&6
16522 ac_save_LIBS
="$LIBS"
16523 LIBS
="-l$THREADS_LINK $LIBS"
16524 cat > conftest.
$ac_ext <<EOF
16525 #line 16526 "configure"
16526 #include "confdefs.h"
16527 /* Override any gcc2 internal prototype to avoid an error. */
16528 /* We use char because int might match the return type of a gcc2
16529 builtin and then its argument prototype would still apply. */
16530 char sched_yield();
16536 if { (eval echo configure
:16537: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16538 eval "ac_cv_lib_$ac_lib_var=yes"
16540 echo "configure: failed program was:" >&5
16541 cat conftest.
$ac_ext >&5
16543 eval "ac_cv_lib_$ac_lib_var=no"
16546 LIBS
="$ac_save_LIBS"
16549 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16550 echo "$ac_t""yes" 1>&6
16551 cat >> confdefs.h
<<\EOF
16552 #define HAVE_SCHED_YIELD 1
16556 echo "$ac_t""no" 1>&6
16557 echo $ac_n "checking for sched_yield in -lposix4""... $ac_c" 1>&6
16558 echo "configure:16559: checking for sched_yield in -lposix4" >&5
16559 ac_lib_var
=`echo posix4'_'sched_yield | sed 'y%./+-%__p_%'`
16560 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16561 echo $ac_n "(cached) $ac_c" 1>&6
16563 ac_save_LIBS
="$LIBS"
16564 LIBS
="-lposix4 $LIBS"
16565 cat > conftest.
$ac_ext <<EOF
16566 #line 16567 "configure"
16567 #include "confdefs.h"
16568 /* Override any gcc2 internal prototype to avoid an error. */
16569 /* We use char because int might match the return type of a gcc2
16570 builtin and then its argument prototype would still apply. */
16571 char sched_yield();
16577 if { (eval echo configure
:16578: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16579 eval "ac_cv_lib_$ac_lib_var=yes"
16581 echo "configure: failed program was:" >&5
16582 cat conftest.
$ac_ext >&5
16584 eval "ac_cv_lib_$ac_lib_var=no"
16587 LIBS
="$ac_save_LIBS"
16590 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16591 echo "$ac_t""yes" 1>&6
16592 cat >> confdefs.h
<<\EOF
16593 #define HAVE_SCHED_YIELD 1
16595 POSIX4_LINK
=" -lposix4"
16597 echo "$ac_t""no" 1>&6
16598 echo "configure: warning: wxThread::Yield will not work properly" 1>&2
16607 echo $ac_n "checking for pthread_attr_getschedpolicy in -l$THREADS_LINK""... $ac_c" 1>&6
16608 echo "configure:16609: checking for pthread_attr_getschedpolicy in -l$THREADS_LINK" >&5
16609 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
16610 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16611 echo $ac_n "(cached) $ac_c" 1>&6
16613 ac_save_LIBS
="$LIBS"
16614 LIBS
="-l$THREADS_LINK $LIBS"
16615 cat > conftest.
$ac_ext <<EOF
16616 #line 16617 "configure"
16617 #include "confdefs.h"
16618 /* Override any gcc2 internal prototype to avoid an error. */
16619 /* We use char because int might match the return type of a gcc2
16620 builtin and then its argument prototype would still apply. */
16621 char pthread_attr_getschedpolicy();
16624 pthread_attr_getschedpolicy()
16627 if { (eval echo configure
:16628: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16629 eval "ac_cv_lib_$ac_lib_var=yes"
16631 echo "configure: failed program was:" >&5
16632 cat conftest.
$ac_ext >&5
16634 eval "ac_cv_lib_$ac_lib_var=no"
16637 LIBS
="$ac_save_LIBS"
16640 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16641 echo "$ac_t""yes" 1>&6
16642 echo $ac_n "checking for pthread_attr_setschedparam in -l$THREADS_LINK""... $ac_c" 1>&6
16643 echo "configure:16644: checking for pthread_attr_setschedparam in -l$THREADS_LINK" >&5
16644 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_setschedparam | sed 'y%./+-%__p_%'`
16645 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16646 echo $ac_n "(cached) $ac_c" 1>&6
16648 ac_save_LIBS
="$LIBS"
16649 LIBS
="-l$THREADS_LINK $LIBS"
16650 cat > conftest.
$ac_ext <<EOF
16651 #line 16652 "configure"
16652 #include "confdefs.h"
16653 /* Override any gcc2 internal prototype to avoid an error. */
16654 /* We use char because int might match the return type of a gcc2
16655 builtin and then its argument prototype would still apply. */
16656 char pthread_attr_setschedparam();
16659 pthread_attr_setschedparam()
16662 if { (eval echo configure
:16663: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16664 eval "ac_cv_lib_$ac_lib_var=yes"
16666 echo "configure: failed program was:" >&5
16667 cat conftest.
$ac_ext >&5
16669 eval "ac_cv_lib_$ac_lib_var=no"
16672 LIBS
="$ac_save_LIBS"
16675 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16676 echo "$ac_t""yes" 1>&6
16677 echo $ac_n "checking for sched_get_priority_max in -l$THREADS_LINK""... $ac_c" 1>&6
16678 echo "configure:16679: checking for sched_get_priority_max in -l$THREADS_LINK" >&5
16679 ac_lib_var
=`echo $THREADS_LINK'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
16680 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16681 echo $ac_n "(cached) $ac_c" 1>&6
16683 ac_save_LIBS
="$LIBS"
16684 LIBS
="-l$THREADS_LINK $LIBS"
16685 cat > conftest.
$ac_ext <<EOF
16686 #line 16687 "configure"
16687 #include "confdefs.h"
16688 /* Override any gcc2 internal prototype to avoid an error. */
16689 /* We use char because int might match the return type of a gcc2
16690 builtin and then its argument prototype would still apply. */
16691 char sched_get_priority_max();
16694 sched_get_priority_max()
16697 if { (eval echo configure
:16698: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16699 eval "ac_cv_lib_$ac_lib_var=yes"
16701 echo "configure: failed program was:" >&5
16702 cat conftest.
$ac_ext >&5
16704 eval "ac_cv_lib_$ac_lib_var=no"
16707 LIBS
="$ac_save_LIBS"
16710 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16711 echo "$ac_t""yes" 1>&6
16714 echo "$ac_t""no" 1>&6
16715 echo $ac_n "checking for sched_get_priority_max in -lposix4""... $ac_c" 1>&6
16716 echo "configure:16717: checking for sched_get_priority_max in -lposix4" >&5
16717 ac_lib_var
=`echo posix4'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
16718 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16719 echo $ac_n "(cached) $ac_c" 1>&6
16721 ac_save_LIBS
="$LIBS"
16722 LIBS
="-lposix4 $LIBS"
16723 cat > conftest.
$ac_ext <<EOF
16724 #line 16725 "configure"
16725 #include "confdefs.h"
16726 /* Override any gcc2 internal prototype to avoid an error. */
16727 /* We use char because int might match the return type of a gcc2
16728 builtin and then its argument prototype would still apply. */
16729 char sched_get_priority_max();
16732 sched_get_priority_max()
16735 if { (eval echo configure
:16736: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16737 eval "ac_cv_lib_$ac_lib_var=yes"
16739 echo "configure: failed program was:" >&5
16740 cat conftest.
$ac_ext >&5
16742 eval "ac_cv_lib_$ac_lib_var=no"
16745 LIBS
="$ac_save_LIBS"
16748 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16749 echo "$ac_t""yes" 1>&6
16752 POSIX4_LINK
=" -lposix4"
16755 echo "$ac_t""no" 1>&6
16763 echo "$ac_t""no" 1>&6
16768 echo "$ac_t""no" 1>&6
16772 if test "$HAVE_PRIOR_FUNCS" = 1; then
16773 cat >> confdefs.h
<<\EOF
16774 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
16778 echo "configure: warning: Setting thread priority will not work" 1>&2
16781 echo $ac_n "checking for pthread_cancel in -l$THREADS_LINK""... $ac_c" 1>&6
16782 echo "configure:16783: checking for pthread_cancel in -l$THREADS_LINK" >&5
16783 ac_lib_var
=`echo $THREADS_LINK'_'pthread_cancel | sed 'y%./+-%__p_%'`
16784 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16785 echo $ac_n "(cached) $ac_c" 1>&6
16787 ac_save_LIBS
="$LIBS"
16788 LIBS
="-l$THREADS_LINK $LIBS"
16789 cat > conftest.
$ac_ext <<EOF
16790 #line 16791 "configure"
16791 #include "confdefs.h"
16792 /* Override any gcc2 internal prototype to avoid an error. */
16793 /* We use char because int might match the return type of a gcc2
16794 builtin and then its argument prototype would still apply. */
16795 char pthread_cancel();
16801 if { (eval echo configure
:16802: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16803 eval "ac_cv_lib_$ac_lib_var=yes"
16805 echo "configure: failed program was:" >&5
16806 cat conftest.
$ac_ext >&5
16808 eval "ac_cv_lib_$ac_lib_var=no"
16811 LIBS
="$ac_save_LIBS"
16814 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16815 echo "$ac_t""yes" 1>&6
16816 cat >> confdefs.h
<<\EOF
16817 #define HAVE_PTHREAD_CANCEL 1
16821 echo "$ac_t""no" 1>&6
16822 echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
16826 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
16827 echo "configure:16828: checking for pthread_cleanup_push/pop" >&5
16828 if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
16829 echo $ac_n "(cached) $ac_c" 1>&6
16832 cat > conftest.
$ac_ext <<EOF
16833 #line 16834 "configure"
16834 #include "confdefs.h"
16835 #include <pthread.h>
16838 pthread_cleanup_push(NULL, NULL);
16839 pthread_cleanup_pop(0);
16843 if { (eval echo configure
:16844: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16846 wx_cv_func_pthread_cleanup_push
=yes
16849 echo "configure: failed program was:" >&5
16850 cat conftest.
$ac_ext >&5
16853 wx_cv_func_pthread_cleanup_push
=no
16860 echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
16862 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
16863 cat >> confdefs.h
<<\EOF
16864 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
16870 if test "x$wx_lib_glibc21" = "xyes"; then
16871 CPPFLAGS
="$CPPFLAGS -D_GNU_SOURCE"
16874 echo $ac_n "checking for pthread_mutexattr_t""... $ac_c" 1>&6
16875 echo "configure:16876: checking for pthread_mutexattr_t" >&5
16876 if eval "test \"`echo '$''{'wx_cv_type_pthread_mutexattr_t'+set}'`\" = set"; then
16877 echo $ac_n "(cached) $ac_c" 1>&6
16880 cat > conftest.
$ac_ext <<EOF
16881 #line 16882 "configure"
16882 #include "confdefs.h"
16883 #include <pthread.h>
16886 pthread_mutexattr_t attr;
16887 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
16891 if { (eval echo configure
:16892: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16894 wx_cv_type_pthread_mutexattr_t
=yes
16897 echo "configure: failed program was:" >&5
16898 cat conftest.
$ac_ext >&5
16901 wx_cv_type_pthread_mutexattr_t
=no
16909 echo "$ac_t""$wx_cv_type_pthread_mutexattr_t" 1>&6
16911 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
16912 cat >> confdefs.h
<<\EOF
16913 #define HAVE_PTHREAD_MUTEXATTR_T 1
16917 echo $ac_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER""... $ac_c" 1>&6
16918 echo "configure:16919: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
16919 if eval "test \"`echo '$''{'wx_cv_type_pthread_rec_mutex_init'+set}'`\" = set"; then
16920 echo $ac_n "(cached) $ac_c" 1>&6
16923 cat > conftest.
$ac_ext <<EOF
16924 #line 16925 "configure"
16925 #include "confdefs.h"
16926 #include <pthread.h>
16929 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
16933 if { (eval echo configure
:16934: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16936 wx_cv_type_pthread_rec_mutex_init
=yes
16939 echo "configure: failed program was:" >&5
16940 cat conftest.
$ac_ext >&5
16943 wx_cv_type_pthread_rec_mutex_init
=no
16951 echo "$ac_t""$wx_cv_type_pthread_rec_mutex_init" 1>&6
16952 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
16953 cat >> confdefs.h
<<\EOF
16954 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
16958 echo "configure: warning: wxMutex won't be recursive on this platform" 1>&2
16962 THREADS_LINK
=" -l$THREADS_LINK"
16964 if test "$USE_SOLARIS" = "yes" -a "$GCC" != "yes"; then
16965 CPPFLAGS
="$CFLAGS -mt"
16966 CXXFLAGS
="$CXXFLAGS -mt"
16967 LDFLAGS
="$LDFLAGS -mt"
16973 if test "$wxUSE_THREADS" = "yes"; then
16974 cat >> confdefs.h
<<\EOF
16975 #define wxUSE_THREADS 1
16979 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS $CPP_MT_FLAG"
16981 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
16983 if test "$ac_cv_func_strtok_r" = "yes"; then
16984 echo $ac_n "checking if -D_REENTRANT is needed""... $ac_c" 1>&6
16985 echo "configure:16986: checking if -D_REENTRANT is needed" >&5
16986 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
16987 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
16988 echo "$ac_t""yes" 1>&6
16990 echo "$ac_t""no" 1>&6
16995 if test "$WXGTK20" = 1 ; then
16996 cat >> confdefs.h
<<EOF
16997 #define __WXGTK20__ $WXGTK20
17003 if test "$WXGTK12" = 1 ; then
17004 cat >> confdefs.h
<<EOF
17005 #define __WXGTK12__ $WXGTK12
17010 if test "$WXGTK127" = 1 ; then
17011 cat >> confdefs.h
<<EOF
17012 #define __WXGTK127__ $WXGTK127
17019 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
17024 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
17025 wxUSE_DEBUG_INFO
=yes
17029 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
17030 cat >> confdefs.h
<<\EOF
17034 WXDEBUG_DEFINE
="-D__WXDEBUG__"
17036 if test "$wxUSE_GTK" = 1 ; then
17037 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
17041 if test "$wxUSE_MEM_TRACING" = "yes" ; then
17042 cat >> confdefs.h
<<\EOF
17043 #define wxUSE_MEMORY_TRACING 1
17046 cat >> confdefs.h
<<\EOF
17047 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
17050 cat >> confdefs.h
<<\EOF
17051 #define wxUSE_DEBUG_NEW_ALWAYS 1
17054 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
17057 if test "$wxUSE_DMALLOC" = "yes" ; then
17058 DMALLOC_LIBS
="-ldmalloc"
17062 if test "$wxUSE_PROFILE" = "yes" ; then
17066 if test "$GCC" = "yes" ; then
17067 if test "$wxUSE_NO_RTTI" = "yes" ; then
17068 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
17070 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
17071 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
17073 if test "$wxUSE_PERMISSIVE" = "yes" ; then
17074 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
17076 if test "$USE_WIN32" = 1 ; then
17077 # I'm not even really sure what this was ever added to solve,
17078 # but someone added it for mingw native builds, so I guess
17079 # they had a reason, right??
17080 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fno-pcc-struct-return"
17085 CXXFLAGS
=`echo "${CXXFLAGS}" | sed "s/\-O.//g" `
17086 CFLAGS
=`echo "${CFLAGS}" | sed "s/\-O.//g" `
17087 if test "$wxUSE_OPTIMISE" = "no" ; then
17090 if test "$GCC" = yes ; then
17093 i586
-*-*|i686
-*-* )
17094 OPTIMISE
="${OPTIMISE} "
17102 if test "$WXWIN_COMPATIBILITY_2" = "yes"; then
17103 cat >> confdefs.h
<<\EOF
17104 #define WXWIN_COMPATIBILITY_2 1
17108 WXWIN_COMPATIBILITY_2_2
="yes"
17111 if test "$WXWIN_COMPATIBILITY_2_2" = "yes"; then
17112 cat >> confdefs.h
<<\EOF
17113 #define WXWIN_COMPATIBILITY_2_2 1
17119 if test "$wxUSE_GUI" = "yes"; then
17120 cat >> confdefs.h
<<\EOF
17121 #define wxUSE_GUI 1
17126 cat >> confdefs.h
<<\EOF
17127 #define wxUSE_NOGUI 1
17133 if test "$wxUSE_UNIX" = "yes"; then
17134 cat >> confdefs.h
<<\EOF
17135 #define wxUSE_UNIX 1
17141 if test "$wxUSE_APPLE_IEEE" = "yes"; then
17142 cat >> confdefs.h
<<\EOF
17143 #define wxUSE_APPLE_IEEE 1
17148 if test "$wxUSE_TIMER" = "yes"; then
17149 cat >> confdefs.h
<<\EOF
17150 #define wxUSE_TIMER 1
17155 if test "$wxUSE_WAVE" = "yes"; then
17156 cat >> confdefs.h
<<\EOF
17157 #define wxUSE_WAVE 1
17162 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
17163 cat >> confdefs.h
<<\EOF
17164 #define wxUSE_CMDLINE_PARSER 1
17169 if test "$wxUSE_STOPWATCH" = "yes"; then
17170 cat >> confdefs.h
<<\EOF
17171 #define wxUSE_STOPWATCH 1
17176 if test "$wxUSE_DATETIME" = "yes"; then
17177 cat >> confdefs.h
<<\EOF
17178 #define wxUSE_DATETIME 1
17183 if test "$wxUSE_TIMEDATE" = "yes"; then
17184 cat >> confdefs.h
<<\EOF
17185 #define wxUSE_TIMEDATE 1
17190 if test "$wxUSE_FILE" = "yes"; then
17191 cat >> confdefs.h
<<\EOF
17192 #define wxUSE_FILE 1
17197 if test "$wxUSE_FFILE" = "yes"; then
17198 cat >> confdefs.h
<<\EOF
17199 #define wxUSE_FFILE 1
17204 if test "$wxUSE_FILESYSTEM" = "yes"; then
17205 cat >> confdefs.h
<<\EOF
17206 #define wxUSE_FILESYSTEM 1
17211 if test "$wxUSE_FS_INET" = "yes"; then
17212 cat >> confdefs.h
<<\EOF
17213 #define wxUSE_FS_INET 1
17218 if test "$wxUSE_FS_ZIP" = "yes"; then
17219 cat >> confdefs.h
<<\EOF
17220 #define wxUSE_FS_ZIP 1
17225 if test "$wxUSE_ZIPSTREAM" = "yes"; then
17226 cat >> confdefs.h
<<\EOF
17227 #define wxUSE_ZIPSTREAM 1
17232 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
17233 cat >> confdefs.h
<<\EOF
17234 #define wxUSE_ON_FATAL_EXCEPTION 1
17239 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
17240 cat >> confdefs.h
<<\EOF
17241 #define wxUSE_SNGLINST_CHECKER 1
17246 if test "$wxUSE_BUSYINFO" = "yes"; then
17247 cat >> confdefs.h
<<\EOF
17248 #define wxUSE_BUSYINFO 1
17253 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
17254 cat >> confdefs.h
<<\EOF
17255 #define wxUSE_STD_IOSTREAM 1
17260 if test "$wxUSE_TEXTBUFFER" = "yes"; then
17261 cat >> confdefs.h
<<\EOF
17262 #define wxUSE_TEXTBUFFER 1
17267 if test "$wxUSE_TEXTFILE" = "yes"; then
17268 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
17269 echo "configure: warning: wxTextFile requires wxFile and wxTextBuffer... disabled" 1>&2
17271 cat >> confdefs.h
<<\EOF
17272 #define wxUSE_TEXTFILE 1
17278 if test "$wxUSE_CONFIG" = "yes" ; then
17279 if test "$wxUSE_TEXTFILE" != "yes"; then
17280 echo "configure: warning: wxConfig requires wxTextFile... disabled" 1>&2
17282 cat >> confdefs.h
<<\EOF
17283 #define wxUSE_CONFIG 1
17286 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
17290 if test "$wxUSE_INTL" = "yes" ; then
17291 if test "$wxUSE_FILE" != "yes"; then
17292 echo "configure: warning: I18n code requires wxFile... disabled" 1>&2
17294 cat >> confdefs.h
<<\EOF
17295 #define wxUSE_INTL 1
17298 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
17299 GUIDIST
="$GUIDIST INTL_DIST"
17303 if test "$wxUSE_LOG" = "yes"; then
17304 cat >> confdefs.h
<<\EOF
17305 #define wxUSE_LOG 1
17309 if test "$wxUSE_LOGGUI" = "yes"; then
17310 cat >> confdefs.h
<<\EOF
17311 #define wxUSE_LOGGUI 1
17316 if test "$wxUSE_LOGWINDOW" = "yes"; then
17317 cat >> confdefs.h
<<\EOF
17318 #define wxUSE_LOGWINDOW 1
17323 if test "$wxUSE_LOGDIALOG" = "yes"; then
17324 cat >> confdefs.h
<<\EOF
17325 #define wxUSE_LOG_DIALOG 1
17331 if test "$wxUSE_LONGLONG" = "yes"; then
17332 cat >> confdefs.h
<<\EOF
17333 #define wxUSE_LONGLONG 1
17338 if test "$wxUSE_GEOMETRY" = "yes"; then
17339 cat >> confdefs.h
<<\EOF
17340 #define wxUSE_GEOMETRY 1
17345 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
17346 cat >> confdefs.h
<<\EOF
17347 #define wxUSE_DIALUP_MANAGER 1
17350 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
17353 if test "$wxUSE_STREAMS" = "yes" ; then
17354 cat >> confdefs.h
<<\EOF
17355 #define wxUSE_STREAMS 1
17361 if test "$wxUSE_DATETIME" = "yes"; then
17362 for ac_func
in strptime
17364 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17365 echo "configure:17366: checking for $ac_func" >&5
17366 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17367 echo $ac_n "(cached) $ac_c" 1>&6
17369 cat > conftest.
$ac_ext <<EOF
17370 #line 17371 "configure"
17371 #include "confdefs.h"
17372 /* System header to define __stub macros and hopefully few prototypes,
17373 which can conflict with char $ac_func(); below. */
17374 #include <assert.h>
17375 /* Override any gcc2 internal prototype to avoid an error. */
17376 /* We use char because int might match the return type of a gcc2
17377 builtin and then its argument prototype would still apply. */
17382 /* The GNU C library defines this for functions which it implements
17383 to always fail with ENOSYS. Some functions are actually named
17384 something starting with __ and the normal name is an alias. */
17385 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17393 if { (eval echo configure
:17394: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17395 eval "ac_cv_func_$ac_func=yes"
17397 echo "configure: failed program was:" >&5
17398 cat conftest.
$ac_ext >&5
17400 eval "ac_cv_func_$ac_func=no"
17405 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17406 echo "$ac_t""yes" 1>&6
17407 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17408 cat >> confdefs.h
<<EOF
17409 #define $ac_tr_func 1
17413 echo "$ac_t""no" 1>&6
17418 echo $ac_n "checking for timezone variable in <time.h>""... $ac_c" 1>&6
17419 echo "configure:17420: checking for timezone variable in <time.h>" >&5
17420 if eval "test \"`echo '$''{'wx_cv_var_timezone'+set}'`\" = set"; then
17421 echo $ac_n "(cached) $ac_c" 1>&6
17424 cat > conftest.
$ac_ext <<EOF
17425 #line 17426 "configure"
17426 #include "confdefs.h"
17437 if { (eval echo configure
:17438: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17440 wx_cv_var_timezone
=timezone
17443 echo "configure: failed program was:" >&5
17444 cat conftest.
$ac_ext >&5
17447 cat > conftest.
$ac_ext <<EOF
17448 #line 17449 "configure"
17449 #include "confdefs.h"
17460 if { (eval echo configure
:17461: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17463 wx_cv_var_timezone
=_timezone
17466 echo "configure: failed program was:" >&5
17467 cat conftest.
$ac_ext >&5
17470 cat > conftest.
$ac_ext <<EOF
17471 #line 17472 "configure"
17472 #include "confdefs.h"
17483 if { (eval echo configure
:17484: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17486 wx_cv_var_timezone
=__timezone
17489 echo "configure: failed program was:" >&5
17490 cat conftest.
$ac_ext >&5
17493 if test "$USE_DOS" = 0 ; then
17494 { echo "configure: error: no timezone variable" 1>&2; exit 1; }
17512 echo "$ac_t""$wx_cv_var_timezone" 1>&6
17514 if test "x$wx_cv_var_timezone" != x
; then
17515 cat >> confdefs.h
<<EOF
17516 #define WX_TIMEZONE $wx_cv_var_timezone
17521 for ac_func
in localtime
17523 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17524 echo "configure:17525: checking for $ac_func" >&5
17525 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17526 echo $ac_n "(cached) $ac_c" 1>&6
17528 cat > conftest.
$ac_ext <<EOF
17529 #line 17530 "configure"
17530 #include "confdefs.h"
17531 /* System header to define __stub macros and hopefully few prototypes,
17532 which can conflict with char $ac_func(); below. */
17533 #include <assert.h>
17534 /* Override any gcc2 internal prototype to avoid an error. */
17535 /* We use char because int might match the return type of a gcc2
17536 builtin and then its argument prototype would still apply. */
17541 /* The GNU C library defines this for functions which it implements
17542 to always fail with ENOSYS. Some functions are actually named
17543 something starting with __ and the normal name is an alias. */
17544 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17552 if { (eval echo configure
:17553: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17554 eval "ac_cv_func_$ac_func=yes"
17556 echo "configure: failed program was:" >&5
17557 cat conftest.
$ac_ext >&5
17559 eval "ac_cv_func_$ac_func=no"
17564 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17565 echo "$ac_t""yes" 1>&6
17566 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17567 cat >> confdefs.h
<<EOF
17568 #define $ac_tr_func 1
17572 echo "$ac_t""no" 1>&6
17577 if test "$ac_cv_func_localtime" = "yes"; then
17578 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
17579 echo "configure:17580: checking for tm_gmtoff in struct tm" >&5
17580 if eval "test \"`echo '$''{'wx_cv_struct_tm_has_gmtoff'+set}'`\" = set"; then
17581 echo $ac_n "(cached) $ac_c" 1>&6
17584 cat > conftest.
$ac_ext <<EOF
17585 #line 17586 "configure"
17586 #include "confdefs.h"
17597 if { (eval echo configure
:17598: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17600 wx_cv_struct_tm_has_gmtoff
=yes
17603 echo "configure: failed program was:" >&5
17604 cat conftest.
$ac_ext >&5
17606 wx_cv_struct_tm_has_gmtoff
=no
17613 echo "$ac_t""$wx_cv_struct_tm_has_gmtoff" 1>&6
17616 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
17617 cat >> confdefs.h
<<\EOF
17618 #define WX_GMTOFF_IN_TM 1
17623 for ac_func
in gettimeofday ftime
17625 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17626 echo "configure:17627: checking for $ac_func" >&5
17627 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17628 echo $ac_n "(cached) $ac_c" 1>&6
17630 cat > conftest.
$ac_ext <<EOF
17631 #line 17632 "configure"
17632 #include "confdefs.h"
17633 /* System header to define __stub macros and hopefully few prototypes,
17634 which can conflict with char $ac_func(); below. */
17635 #include <assert.h>
17636 /* Override any gcc2 internal prototype to avoid an error. */
17637 /* We use char because int might match the return type of a gcc2
17638 builtin and then its argument prototype would still apply. */
17643 /* The GNU C library defines this for functions which it implements
17644 to always fail with ENOSYS. Some functions are actually named
17645 something starting with __ and the normal name is an alias. */
17646 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17654 if { (eval echo configure
:17655: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17656 eval "ac_cv_func_$ac_func=yes"
17658 echo "configure: failed program was:" >&5
17659 cat conftest.
$ac_ext >&5
17661 eval "ac_cv_func_$ac_func=no"
17666 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17667 echo "$ac_t""yes" 1>&6
17668 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17669 cat >> confdefs.h
<<EOF
17670 #define $ac_tr_func 1
17674 echo "$ac_t""no" 1>&6
17679 if test "$ac_cv_func_gettimeofday" = "yes"; then
17680 echo $ac_n "checking whether gettimeofday takes two arguments""... $ac_c" 1>&6
17681 echo "configure:17682: checking whether gettimeofday takes two arguments" >&5
17682 if eval "test \"`echo '$''{'wx_cv_func_gettimeofday_has_2_args'+set}'`\" = set"; then
17683 echo $ac_n "(cached) $ac_c" 1>&6
17688 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17689 ac_cpp
='$CXXCPP $CPPFLAGS'
17690 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17691 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17692 cross_compiling
=$ac_cv_prog_cxx_cross
17695 cat > conftest.
$ac_ext <<EOF
17696 #line 17697 "configure"
17697 #include "confdefs.h"
17699 #include <sys/time.h>
17700 #include <unistd.h>
17705 gettimeofday(&tv, NULL);
17709 if { (eval echo configure
:17710: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17711 wx_cv_func_gettimeofday_has_2_args
=yes
17713 echo "configure: failed program was:" >&5
17714 cat conftest.
$ac_ext >&5
17716 cat > conftest.
$ac_ext <<EOF
17717 #line 17718 "configure"
17718 #include "confdefs.h"
17720 #include <sys/time.h>
17721 #include <unistd.h>
17730 if { (eval echo configure
:17731: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17732 wx_cv_func_gettimeofday_has_2_args
=no
17734 echo "configure: failed program was:" >&5
17735 cat conftest.
$ac_ext >&5
17738 echo "configure: warning: failed to determine number of gettimeofday() arguments" 1>&2
17739 wx_cv_func_gettimeofday_has_2_args
=unknown
17748 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17749 ac_cpp
='$CPP $CPPFLAGS'
17750 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17751 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17752 cross_compiling
=$ac_cv_prog_cc_cross
17757 echo "$ac_t""$wx_cv_func_gettimeofday_has_2_args" 1>&6
17759 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
17760 cat >> confdefs.h
<<\EOF
17761 #define WX_GETTIMEOFDAY_NO_TZ 1
17767 cat >> confdefs.h
<<\EOF
17768 #define wxUSE_TIMEDATE 1
17771 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
17775 if test "$TOOLKIT" != "MSW"; then
17777 if test "$wxUSE_SOCKETS" = "yes"; then
17778 echo $ac_n "checking for socket""... $ac_c" 1>&6
17779 echo "configure:17780: checking for socket" >&5
17780 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
17781 echo $ac_n "(cached) $ac_c" 1>&6
17783 cat > conftest.
$ac_ext <<EOF
17784 #line 17785 "configure"
17785 #include "confdefs.h"
17786 /* System header to define __stub macros and hopefully few prototypes,
17787 which can conflict with char socket(); below. */
17788 #include <assert.h>
17789 /* Override any gcc2 internal prototype to avoid an error. */
17790 /* We use char because int might match the return type of a gcc2
17791 builtin and then its argument prototype would still apply. */
17796 /* The GNU C library defines this for functions which it implements
17797 to always fail with ENOSYS. Some functions are actually named
17798 something starting with __ and the normal name is an alias. */
17799 #if defined (__stub_socket) || defined (__stub___socket)
17807 if { (eval echo configure
:17808: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17809 eval "ac_cv_func_socket=yes"
17811 echo "configure: failed program was:" >&5
17812 cat conftest.
$ac_ext >&5
17814 eval "ac_cv_func_socket=no"
17819 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
17820 echo "$ac_t""yes" 1>&6
17823 echo "$ac_t""no" 1>&6
17824 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
17825 echo "configure:17826: checking for socket in -lsocket" >&5
17826 ac_lib_var
=`echo socket'_'socket | sed 'y%./+-%__p_%'`
17827 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17828 echo $ac_n "(cached) $ac_c" 1>&6
17830 ac_save_LIBS
="$LIBS"
17831 LIBS
="-lsocket $LIBS"
17832 cat > conftest.
$ac_ext <<EOF
17833 #line 17834 "configure"
17834 #include "confdefs.h"
17835 /* Override any gcc2 internal prototype to avoid an error. */
17836 /* We use char because int might match the return type of a gcc2
17837 builtin and then its argument prototype would still apply. */
17844 if { (eval echo configure
:17845: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17846 eval "ac_cv_lib_$ac_lib_var=yes"
17848 echo "configure: failed program was:" >&5
17849 cat conftest.
$ac_ext >&5
17851 eval "ac_cv_lib_$ac_lib_var=no"
17854 LIBS
="$ac_save_LIBS"
17857 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17858 echo "$ac_t""yes" 1>&6
17859 INET_LINK
="$INET_LINK -lsocket"
17861 echo "$ac_t""no" 1>&6
17863 echo "configure: warning: socket library not found - sockets will be disabled" 1>&2
17875 if test "$wxUSE_SOCKETS" = "yes" ; then
17876 echo $ac_n "checking what is the type of the third argument of getsockname""... $ac_c" 1>&6
17877 echo "configure:17878: checking what is the type of the third argument of getsockname" >&5
17878 if eval "test \"`echo '$''{'wx_cv_type_getsockname3'+set}'`\" = set"; then
17879 echo $ac_n "(cached) $ac_c" 1>&6
17884 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17885 ac_cpp
='$CXXCPP $CPPFLAGS'
17886 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17887 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17888 cross_compiling
=$ac_cv_prog_cxx_cross
17891 cat > conftest.
$ac_ext <<EOF
17892 #line 17893 "configure"
17893 #include "confdefs.h"
17895 #include <sys/types.h>
17896 #include <sys/socket.h>
17901 getsockname(0, 0, &len);
17905 if { (eval echo configure
:17906: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17907 wx_cv_type_getsockname3
=socklen_t
17909 echo "configure: failed program was:" >&5
17910 cat conftest.
$ac_ext >&5
17912 cat > conftest.
$ac_ext <<EOF
17913 #line 17914 "configure"
17914 #include "confdefs.h"
17916 #include <sys/types.h>
17917 #include <sys/socket.h>
17922 getsockname(0, 0, &len);
17926 if { (eval echo configure
:17927: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17928 wx_cv_type_getsockname3
=size_t
17930 echo "configure: failed program was:" >&5
17931 cat conftest.
$ac_ext >&5
17933 cat > conftest.
$ac_ext <<EOF
17934 #line 17935 "configure"
17935 #include "confdefs.h"
17937 #include <sys/types.h>
17938 #include <sys/socket.h>
17943 getsockname(0, 0, &len);
17947 if { (eval echo configure
:17948: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17949 wx_cv_type_getsockname3
=int
17951 echo "configure: failed program was:" >&5
17952 cat conftest.
$ac_ext >&5
17954 wx_cv_type_getsockname3
=unknown
17966 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17967 ac_cpp
='$CPP $CPPFLAGS'
17968 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17969 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17970 cross_compiling
=$ac_cv_prog_cc_cross
17975 echo "$ac_t""$wx_cv_type_getsockname3" 1>&6
17977 if test "$wx_cv_type_getsockname3" = "unknown"; then
17979 echo "configure: warning: Couldn't find socklen_t synonym for this system" 1>&2
17981 cat >> confdefs.h
<<EOF
17982 #define SOCKLEN_T $wx_cv_type_getsockname3
17989 if test "$wxUSE_SOCKETS" = "yes" ; then
17990 cat >> confdefs.h
<<\EOF
17991 #define wxUSE_SOCKETS 1
17994 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
17998 if test "$wxUSE_GUI" = "yes"; then
18000 if test "$TOOLKIT" = "MAC"; then
18001 echo "configure: warning: Joystick not yet supported under Mac OS X... disabled" 1>&2
18004 if test "$TOOLKIT" = "MOTIF"; then
18005 echo "configure: warning: Joystick not yet supported under Motif... disabled" 1>&2
18009 if test "$TOOLKIT" != "MSW"; then
18010 if test "$wxUSE_JOYSTICK" = "yes"; then
18011 for ac_hdr
in linux
/joystick.h
18013 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
18014 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
18015 echo "configure:18016: checking for $ac_hdr" >&5
18016 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
18017 echo $ac_n "(cached) $ac_c" 1>&6
18019 cat > conftest.
$ac_ext <<EOF
18020 #line 18021 "configure"
18021 #include "confdefs.h"
18024 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
18025 { (eval echo configure
:18026: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
18026 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
18027 if test -z "$ac_err"; then
18029 eval "ac_cv_header_$ac_safe=yes"
18032 echo "configure: failed program was:" >&5
18033 cat conftest.
$ac_ext >&5
18035 eval "ac_cv_header_$ac_safe=no"
18039 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
18040 echo "$ac_t""yes" 1>&6
18041 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
18042 cat >> confdefs.h
<<EOF
18043 #define $ac_tr_hdr 1
18047 echo "$ac_t""no" 1>&6
18051 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
18053 echo "configure: warning: Joystick not supported by this system... disabled" 1>&2
18058 if test "$wxUSE_JOYSTICK" = "yes"; then
18059 cat >> confdefs.h
<<\EOF
18060 #define wxUSE_JOYSTICK 1
18063 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
18068 if test "$TOOLKIT" != "MSW"; then
18072 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
18073 if test "$USE_DARWIN" = 1; then
18076 for ac_func
in dlopen
18078 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18079 echo "configure:18080: checking for $ac_func" >&5
18080 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18081 echo $ac_n "(cached) $ac_c" 1>&6
18083 cat > conftest.
$ac_ext <<EOF
18084 #line 18085 "configure"
18085 #include "confdefs.h"
18086 /* System header to define __stub macros and hopefully few prototypes,
18087 which can conflict with char $ac_func(); below. */
18088 #include <assert.h>
18089 /* Override any gcc2 internal prototype to avoid an error. */
18090 /* We use char because int might match the return type of a gcc2
18091 builtin and then its argument prototype would still apply. */
18096 /* The GNU C library defines this for functions which it implements
18097 to always fail with ENOSYS. Some functions are actually named
18098 something starting with __ and the normal name is an alias. */
18099 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18107 if { (eval echo configure
:18108: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18109 eval "ac_cv_func_$ac_func=yes"
18111 echo "configure: failed program was:" >&5
18112 cat conftest.
$ac_ext >&5
18114 eval "ac_cv_func_$ac_func=no"
18119 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18120 echo "$ac_t""yes" 1>&6
18121 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18122 cat >> confdefs.h
<<EOF
18123 #define $ac_tr_func 1
18126 cat >> confdefs.h
<<\EOF
18127 #define HAVE_DLOPEN 1
18133 echo "$ac_t""no" 1>&6
18134 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
18135 echo "configure:18136: checking for dlopen in -ldl" >&5
18136 ac_lib_var
=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
18137 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18138 echo $ac_n "(cached) $ac_c" 1>&6
18140 ac_save_LIBS
="$LIBS"
18142 cat > conftest.
$ac_ext <<EOF
18143 #line 18144 "configure"
18144 #include "confdefs.h"
18145 /* Override any gcc2 internal prototype to avoid an error. */
18146 /* We use char because int might match the return type of a gcc2
18147 builtin and then its argument prototype would still apply. */
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_lib_$ac_lib_var=yes"
18158 echo "configure: failed program was:" >&5
18159 cat conftest.
$ac_ext >&5
18161 eval "ac_cv_lib_$ac_lib_var=no"
18164 LIBS
="$ac_save_LIBS"
18167 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18168 echo "$ac_t""yes" 1>&6
18170 cat >> confdefs.h
<<\EOF
18171 #define HAVE_DLOPEN 1
18175 DL_LINK
=" -ldl$DL_LINK"
18178 echo "$ac_t""no" 1>&6
18180 for ac_func
in shl_load
18182 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18183 echo "configure:18184: checking for $ac_func" >&5
18184 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18185 echo $ac_n "(cached) $ac_c" 1>&6
18187 cat > conftest.
$ac_ext <<EOF
18188 #line 18189 "configure"
18189 #include "confdefs.h"
18190 /* System header to define __stub macros and hopefully few prototypes,
18191 which can conflict with char $ac_func(); below. */
18192 #include <assert.h>
18193 /* Override any gcc2 internal prototype to avoid an error. */
18194 /* We use char because int might match the return type of a gcc2
18195 builtin and then its argument prototype would still apply. */
18200 /* The GNU C library defines this for functions which it implements
18201 to always fail with ENOSYS. Some functions are actually named
18202 something starting with __ and the normal name is an alias. */
18203 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18211 if { (eval echo configure
:18212: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18213 eval "ac_cv_func_$ac_func=yes"
18215 echo "configure: failed program was:" >&5
18216 cat conftest.
$ac_ext >&5
18218 eval "ac_cv_func_$ac_func=no"
18223 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18224 echo "$ac_t""yes" 1>&6
18225 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18226 cat >> confdefs.h
<<EOF
18227 #define $ac_tr_func 1
18230 cat >> confdefs.h
<<\EOF
18231 #define HAVE_SHL_LOAD 1
18237 echo "$ac_t""no" 1>&6
18238 echo $ac_n "checking for dld in -lshl_load""... $ac_c" 1>&6
18239 echo "configure:18240: checking for dld in -lshl_load" >&5
18240 ac_lib_var
=`echo shl_load'_'dld | sed 'y%./+-%__p_%'`
18241 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18242 echo $ac_n "(cached) $ac_c" 1>&6
18244 ac_save_LIBS
="$LIBS"
18245 LIBS
="-lshl_load $LIBS"
18246 cat > conftest.
$ac_ext <<EOF
18247 #line 18248 "configure"
18248 #include "confdefs.h"
18249 /* Override any gcc2 internal prototype to avoid an error. */
18250 /* We use char because int might match the return type of a gcc2
18251 builtin and then its argument prototype would still apply. */
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_lib_$ac_lib_var=yes"
18262 echo "configure: failed program was:" >&5
18263 cat conftest.
$ac_ext >&5
18265 eval "ac_cv_lib_$ac_lib_var=no"
18268 LIBS
="$ac_save_LIBS"
18271 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18272 echo "$ac_t""yes" 1>&6
18275 DL_LINK
=" -ldld$DL_LINK"
18278 echo "$ac_t""no" 1>&6
18293 if test "$HAVE_DL_FUNCS" = 1; then
18294 for ac_func
in dlerror
18296 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18297 echo "configure:18298: checking for $ac_func" >&5
18298 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18299 echo $ac_n "(cached) $ac_c" 1>&6
18301 cat > conftest.
$ac_ext <<EOF
18302 #line 18303 "configure"
18303 #include "confdefs.h"
18304 /* System header to define __stub macros and hopefully few prototypes,
18305 which can conflict with char $ac_func(); below. */
18306 #include <assert.h>
18307 /* Override any gcc2 internal prototype to avoid an error. */
18308 /* We use char because int might match the return type of a gcc2
18309 builtin and then its argument prototype would still apply. */
18314 /* The GNU C library defines this for functions which it implements
18315 to always fail with ENOSYS. Some functions are actually named
18316 something starting with __ and the normal name is an alias. */
18317 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18325 if { (eval echo configure
:18326: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18327 eval "ac_cv_func_$ac_func=yes"
18329 echo "configure: failed program was:" >&5
18330 cat conftest.
$ac_ext >&5
18332 eval "ac_cv_func_$ac_func=no"
18337 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18338 echo "$ac_t""yes" 1>&6
18339 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18340 cat >> confdefs.h
<<EOF
18341 #define $ac_tr_func 1
18343 cat >> confdefs.h
<<\EOF
18344 #define HAVE_DLERROR 1
18348 echo "$ac_t""no" 1>&6
18349 echo $ac_n "checking for dlerror in -ldl""... $ac_c" 1>&6
18350 echo "configure:18351: checking for dlerror in -ldl" >&5
18351 ac_lib_var
=`echo dl'_'dlerror | sed 'y%./+-%__p_%'`
18352 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18353 echo $ac_n "(cached) $ac_c" 1>&6
18355 ac_save_LIBS
="$LIBS"
18357 cat > conftest.
$ac_ext <<EOF
18358 #line 18359 "configure"
18359 #include "confdefs.h"
18360 /* Override any gcc2 internal prototype to avoid an error. */
18361 /* We use char because int might match the return type of a gcc2
18362 builtin and then its argument prototype would still apply. */
18369 if { (eval echo configure
:18370: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18371 eval "ac_cv_lib_$ac_lib_var=yes"
18373 echo "configure: failed program was:" >&5
18374 cat conftest.
$ac_ext >&5
18376 eval "ac_cv_lib_$ac_lib_var=no"
18379 LIBS
="$ac_save_LIBS"
18382 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18383 echo "$ac_t""yes" 1>&6
18384 cat >> confdefs.h
<<\EOF
18385 #define HAVE_DLERROR 1
18389 echo "$ac_t""no" 1>&6
18398 if test "$HAVE_DL_FUNCS" = 0; then
18399 if test "$HAVE_SHL_FUNCS" = 0; then
18400 if test "$USE_UNIX" = 1; then
18401 echo "configure: warning: Missing dynamic loading support, several features will be disabled" 1>&2
18402 wxUSE_DYNAMIC_LOADER
=no
18403 wxUSE_DYNLIB_CLASS
=no
18405 echo "configure: warning: Assuming wxLibrary class works on this platform" 1>&2
18412 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
18413 cat >> confdefs.h
<<\EOF
18414 #define wxUSE_DYNAMIC_LOADER 1
18417 elif test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
18418 cat >> confdefs.h
<<\EOF
18419 #define wxUSE_DYNLIB_CLASS 1
18425 if test "$wxUSE_FONTMAP" = "yes" ; then
18426 cat >> confdefs.h
<<\EOF
18427 #define wxUSE_FONTMAP 1
18432 if test "$wxUSE_UNICODE" = "yes" ; then
18433 cat >> confdefs.h
<<\EOF
18434 #define wxUSE_UNICODE 1
18438 if test "$wxUSE_MSW" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
18439 echo $ac_n "checking for main in -lunicows""... $ac_c" 1>&6
18440 echo "configure:18441: checking for main in -lunicows" >&5
18441 ac_lib_var
=`echo unicows'_'main | sed 'y%./+-%__p_%'`
18442 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18443 echo $ac_n "(cached) $ac_c" 1>&6
18445 ac_save_LIBS
="$LIBS"
18446 LIBS
="-lunicows $LIBS"
18447 cat > conftest.
$ac_ext <<EOF
18448 #line 18449 "configure"
18449 #include "confdefs.h"
18455 if { (eval echo configure
:18456: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18457 eval "ac_cv_lib_$ac_lib_var=yes"
18459 echo "configure: failed program was:" >&5
18460 cat conftest.
$ac_ext >&5
18462 eval "ac_cv_lib_$ac_lib_var=no"
18465 LIBS
="$ac_save_LIBS"
18468 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18469 echo "$ac_t""yes" 1>&6
18471 cat >> confdefs.h
<<\EOF
18472 #define wxUSE_UNICODE_MSLU 1
18477 echo "$ac_t""no" 1>&6
18479 echo "configure: warning: Compiler doesn't support MSLU (libunicows.a), disabled.
18480 Applications will only run on Windows NT/2000/XP!" 1>&2
18481 wxUSE_UNICODE_MSLU
=no
18488 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
18489 cat >> confdefs.h
<<\EOF
18490 #define wxUSE_EXPERIMENTAL_PRINTF 1
18498 if test "$wxUSE_ODBC" = "yes" ; then
18499 cat >> confdefs.h
<<\EOF
18500 #define wxUSE_ODBC 1
18503 WXODBCFLAG
="-D_IODBC_"
18504 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
18508 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
18509 cat >> confdefs.h
<<\EOF
18510 #define wxUSE_POSTSCRIPT 1
18515 cat >> confdefs.h
<<\EOF
18516 #define wxUSE_AFM_FOR_POSTSCRIPT 1
18520 cat >> confdefs.h
<<\EOF
18521 #define wxUSE_NORMALIZED_PS_FONTS 1
18526 if test "$wxUSE_CONSTRAINTS" = "yes"; then
18527 cat >> confdefs.h
<<\EOF
18528 #define wxUSE_CONSTRAINTS 1
18531 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
18534 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
18535 if test "$wxUSE_UNIVERSAL" = "yes"; then
18536 echo "configure: warning: MDI not yet supported for wxUNIVERSAL... disabled" 1>&2
18537 wxUSE_MDI_ARCHITECTURE
=no
18540 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
18541 cat >> confdefs.h
<<\EOF
18542 #define wxUSE_MDI_ARCHITECTURE 1
18545 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
18549 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
18550 cat >> confdefs.h
<<\EOF
18551 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
18554 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
18555 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
18556 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
18560 if test "$wxUSE_HELP" = "yes"; then
18561 cat >> confdefs.h
<<\EOF
18562 #define wxUSE_HELP 1
18565 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
18567 if test "$wxUSE_MSW" = 1; then
18568 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
18569 ac_safe
=`echo "htmlhelp.h" | sed 'y%./+-%__p_%'`
18570 echo $ac_n "checking for htmlhelp.h""... $ac_c" 1>&6
18571 echo "configure:18572: checking for htmlhelp.h" >&5
18572 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
18573 echo $ac_n "(cached) $ac_c" 1>&6
18575 cat > conftest.
$ac_ext <<EOF
18576 #line 18577 "configure"
18577 #include "confdefs.h"
18578 #include <htmlhelp.h>
18580 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
18581 { (eval echo configure
:18582: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
18582 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
18583 if test -z "$ac_err"; then
18585 eval "ac_cv_header_$ac_safe=yes"
18588 echo "configure: failed program was:" >&5
18589 cat conftest.
$ac_ext >&5
18591 eval "ac_cv_header_$ac_safe=no"
18595 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
18596 echo "$ac_t""yes" 1>&6
18598 cat >> confdefs.h
<<\EOF
18599 #define wxUSE_MS_HTML_HELP 1
18604 echo "$ac_t""no" 1>&6
18606 echo "configure: warning: MS HTML Help cannot be used without htmlhelp.h... disabled" 1>&2
18607 wxUSE_MS_HTML_HELP
=no
18614 if test "$wxUSE_WXHTML_HELP" = "yes"; then
18615 if test "$wxUSE_HTML" = "yes"; then
18616 cat >> confdefs.h
<<\EOF
18617 #define wxUSE_WXHTML_HELP 1
18621 echo "configure: warning: Cannot use wxHTML-based help without wxHTML so it won't be compiled" 1>&2
18622 wxUSE_WXHTML_HELP
=no
18627 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
18628 if test "$wxUSE_CONSTRAINTS" != "yes"; then
18629 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
18631 cat >> confdefs.h
<<\EOF
18632 #define wxUSE_PRINTING_ARCHITECTURE 1
18636 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
18639 if test "$wxUSE_PROLOGIO" = "yes" ; then
18640 cat >> confdefs.h
<<\EOF
18641 #define wxUSE_PROLOGIO 1
18646 if test "$wxUSE_RESOURCES" = "yes" ; then
18647 cat >> confdefs.h
<<\EOF
18648 #define wxUSE_RESOURCES 1
18651 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS resource"
18654 if test "$wxUSE_X_RESOURCES" = "yes"; then
18655 cat >> confdefs.h
<<\EOF
18656 #define wxUSE_X_RESOURCES 1
18662 if test "$wxUSE_MSW" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
18663 -o "$wxUSE_CLIPBOARD" = "yes" \
18664 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
18665 for ac_hdr
in ole2.h
18667 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
18668 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
18669 echo "configure:18670: checking for $ac_hdr" >&5
18670 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
18671 echo $ac_n "(cached) $ac_c" 1>&6
18673 cat > conftest.
$ac_ext <<EOF
18674 #line 18675 "configure"
18675 #include "confdefs.h"
18678 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
18679 { (eval echo configure
:18680: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
18680 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
18681 if test -z "$ac_err"; then
18683 eval "ac_cv_header_$ac_safe=yes"
18686 echo "configure: failed program was:" >&5
18687 cat conftest.
$ac_ext >&5
18689 eval "ac_cv_header_$ac_safe=no"
18693 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
18694 echo "$ac_t""yes" 1>&6
18695 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
18696 cat >> confdefs.h
<<EOF
18697 #define $ac_tr_hdr 1
18701 echo "$ac_t""no" 1>&6
18706 if test "$ac_cv_header_ole2_h" = "yes" ; then
18707 if test "$GCC" = yes ; then
18708 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
18709 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
18710 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
18711 cat >> confdefs.h
<<\EOF
18712 #define wxUSE_OLE 1
18718 cat >> confdefs.h
<<\EOF
18719 #define wxUSE_DATAOBJ 1
18723 echo "configure: warning: Some features disabled because OLE headers not found" 1>&2
18726 wxUSE_DRAG_AND_DROP
=no
18730 if test "$wxUSE_METAFILE" = "yes"; then
18731 cat >> confdefs.h
<<\EOF
18732 #define wxUSE_METAFILE 1
18736 cat >> confdefs.h
<<\EOF
18737 #define wxUSE_ENH_METAFILE 1
18743 if test "$wxUSE_IPC" = "yes"; then
18744 if test "$wxUSE_SOCKETS" != "yes"; then
18745 echo "configure: warning: wxWindows IPC classes require sockets... disabled" 1>&2
18748 cat >> confdefs.h
<<\EOF
18749 #define wxUSE_IPC 1
18754 if test "$wxUSE_CLIPBOARD" = "yes"; then
18755 cat >> confdefs.h
<<\EOF
18756 #define wxUSE_CLIPBOARD 1
18760 cat >> confdefs.h
<<\EOF
18761 #define wxUSE_DATAOBJ 1
18766 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
18767 if test "$wxUSE_GTK" = 1; then
18768 if test "$WXGTK12" != 1; then
18769 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2... disabled" 1>&2
18770 wxUSE_DRAG_AND_DROP
=no
18774 if test "$wxUSE_MOTIF" = 1; then
18775 echo "configure: warning: Drag and drop not yet supported under Motif... disabled" 1>&2
18776 wxUSE_DRAG_AND_DROP
=no
18779 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
18780 cat >> confdefs.h
<<\EOF
18781 #define wxUSE_DRAG_AND_DROP 1
18784 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
18789 if test "$wxUSE_SPLINES" = "yes" ; then
18790 cat >> confdefs.h
<<\EOF
18791 #define wxUSE_SPLINES 1
18798 if test "$wxUSE_CONTROLS" = "yes"; then
18802 if test "$wxUSE_ACCEL" = "yes"; then
18803 cat >> confdefs.h
<<\EOF
18804 #define wxUSE_ACCEL 1
18810 if test "$wxUSE_BUTTON" = "yes"; then
18811 cat >> confdefs.h
<<\EOF
18812 #define wxUSE_BUTTON 1
18818 if test "$wxUSE_BMPBUTTON" = "yes"; then
18819 cat >> confdefs.h
<<\EOF
18820 #define wxUSE_BMPBUTTON 1
18826 if test "$wxUSE_CALCTRL" = "yes"; then
18827 cat >> confdefs.h
<<\EOF
18828 #define wxUSE_CALENDARCTRL 1
18832 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
18835 if test "$wxUSE_CARET" = "yes"; then
18836 cat >> confdefs.h
<<\EOF
18837 #define wxUSE_CARET 1
18841 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
18844 if test "$wxUSE_COMBOBOX" = "yes"; then
18845 cat >> confdefs.h
<<\EOF
18846 #define wxUSE_COMBOBOX 1
18852 if test "$wxUSE_CHOICE" = "yes"; then
18853 cat >> confdefs.h
<<\EOF
18854 #define wxUSE_CHOICE 1
18860 if test "$wxUSE_CHECKBOX" = "yes"; then
18861 cat >> confdefs.h
<<\EOF
18862 #define wxUSE_CHECKBOX 1
18868 if test "$wxUSE_CHECKLST" = "yes"; then
18869 cat >> confdefs.h
<<\EOF
18870 #define wxUSE_CHECKLISTBOX 1
18874 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
18877 if test "$wxUSE_GAUGE" = "yes"; then
18878 cat >> confdefs.h
<<\EOF
18879 #define wxUSE_GAUGE 1
18885 if test "$wxUSE_NEW_GRID" = "yes"; then
18887 cat >> confdefs.h
<<\EOF
18888 #define wxUSE_NEW_GRID 1
18892 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS newgrid"
18895 if test "$wxUSE_GRID" = "yes"; then
18896 cat >> confdefs.h
<<\EOF
18897 #define wxUSE_GRID 1
18901 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
18904 if test "$wxUSE_IMAGLIST" = "yes"; then
18905 cat >> confdefs.h
<<\EOF
18906 #define wxUSE_IMAGLIST 1
18911 if test "$wxUSE_LISTBOX" = "yes"; then
18912 cat >> confdefs.h
<<\EOF
18913 #define wxUSE_LISTBOX 1
18919 if test "$wxUSE_LISTCTRL" = "yes"; then
18920 if test "$wxUSE_IMAGLIST" = "yes"; then
18921 cat >> confdefs.h
<<\EOF
18922 #define wxUSE_LISTCTRL 1
18926 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
18928 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
18932 if test "$wxUSE_NOTEBOOK" = "yes"; then
18933 cat >> confdefs.h
<<\EOF
18934 #define wxUSE_NOTEBOOK 1
18938 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
18941 if test "$wxUSE_PROPSHEET" = "yes"; then
18942 cat >> confdefs.h
<<\EOF
18943 #define wxUSE_PROPSHEET 1
18947 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS proplist"
18950 if test "$wxUSE_RADIOBOX" = "yes"; then
18951 cat >> confdefs.h
<<\EOF
18952 #define wxUSE_RADIOBOX 1
18958 if test "$wxUSE_RADIOBTN" = "yes"; then
18959 cat >> confdefs.h
<<\EOF
18960 #define wxUSE_RADIOBTN 1
18966 if test "$wxUSE_SASH" = "yes"; then
18967 cat >> confdefs.h
<<\EOF
18968 #define wxUSE_SASH 1
18971 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
18974 if test "$wxUSE_SCROLLBAR" = "yes"; then
18975 cat >> confdefs.h
<<\EOF
18976 #define wxUSE_SCROLLBAR 1
18980 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
18983 if test "$wxUSE_SLIDER" = "yes"; then
18984 cat >> confdefs.h
<<\EOF
18985 #define wxUSE_SLIDER 1
18991 if test "$wxUSE_SPINBTN" = "yes"; then
18992 cat >> confdefs.h
<<\EOF
18993 #define wxUSE_SPINBTN 1
18999 if test "$wxUSE_SPINCTRL" = "yes"; then
19000 cat >> confdefs.h
<<\EOF
19001 #define wxUSE_SPINCTRL 1
19007 if test "$wxUSE_SPLITTER" = "yes"; then
19008 cat >> confdefs.h
<<\EOF
19009 #define wxUSE_SPLITTER 1
19012 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
19015 if test "$wxUSE_STATBMP" = "yes"; then
19016 cat >> confdefs.h
<<\EOF
19017 #define wxUSE_STATBMP 1
19023 if test "$wxUSE_STATBOX" = "yes"; then
19024 cat >> confdefs.h
<<\EOF
19025 #define wxUSE_STATBOX 1
19031 if test "$wxUSE_STATTEXT" = "yes"; then
19032 cat >> confdefs.h
<<\EOF
19033 #define wxUSE_STATTEXT 1
19039 if test "$wxUSE_STATLINE" = "yes"; then
19040 if test "$wxUSE_WINE" = 1 ; then
19041 echo "configure: warning: wxStaticLine is not supported under WINE" 1>&2
19043 cat >> confdefs.h
<<\EOF
19044 #define wxUSE_STATLINE 1
19051 if test "$wxUSE_STATUSBAR" = "yes"; then
19052 cat >> confdefs.h
<<\EOF
19053 #define wxUSE_STATUSBAR 1
19058 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
19061 if test "$wxUSE_TABDIALOG" = "yes"; then
19062 cat >> confdefs.h
<<\EOF
19063 #define wxUSE_TAB_DIALOG 1
19066 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
19069 if test "$wxUSE_TEXTCTRL" = "yes"; then
19070 cat >> confdefs.h
<<\EOF
19071 #define wxUSE_TEXTCTRL 1
19075 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
19078 if test "$wxUSE_TOGGLEBTN" = "yes"; then
19079 if test "$wxUSE_MAC" = 1; then
19080 echo "configure: warning: Toggle button not yet supported under Mac OS X... disabled" 1>&2
19083 if test "$wxUSE_UNIVERSAL" = "yes"; then
19084 echo "configure: warning: Toggle button not yet supported under wxUNIVERSAL... disabled" 1>&2
19088 if test "$wxUSE_TOGGLEBTN" = "yes"; then
19089 cat >> confdefs.h
<<\EOF
19090 #define wxUSE_TOGGLEBTN 1
19097 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
19098 cat >> confdefs.h
<<\EOF
19099 #define wxUSE_TOOLBAR_SIMPLE 1
19102 wxUSE_TOOLBAR
="yes"
19106 if test "$wxUSE_TOOLBAR" = "yes"; then
19107 cat >> confdefs.h
<<\EOF
19108 #define wxUSE_TOOLBAR 1
19113 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
19114 wxUSE_TOOLBAR_NATIVE
="yes"
19117 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
19118 cat >> confdefs.h
<<\EOF
19119 #define wxUSE_TOOLBAR_NATIVE 1
19125 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
19128 if test "$wxUSE_TOOLTIPS" = "yes"; then
19129 if test "$wxUSE_MOTIF" = 1; then
19130 echo "configure: warning: wxTooltip not supported yet under Motif... disabled" 1>&2
19132 if test "$wxUSE_WINE" = 1; then
19133 echo "configure: warning: wxTooltip not supported under WINE... disabled" 1>&2
19135 if test "$wxUSE_UNIVERSAL" = "yes"; then
19136 echo "configure: warning: wxTooltip not supported yet in wxUNIVERSAL... disabled" 1>&2
19138 cat >> confdefs.h
<<\EOF
19139 #define wxUSE_TOOLTIPS 1
19147 if test "$wxUSE_TREECTRL" = "yes"; then
19148 if test "$wxUSE_IMAGLIST" = "yes"; then
19149 cat >> confdefs.h
<<\EOF
19150 #define wxUSE_TREECTRL 1
19154 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
19156 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
19160 if test "$wxUSE_POPUPWIN" = "yes"; then
19161 if test "$wxUSE_MAC" = 1; then
19162 echo "configure: warning: Popup window not yet supported under Mac OS X... disabled" 1>&2
19164 if test "$wxUSE_MOTIF" = 1; then
19165 echo "configure: warning: wxPopupWindow not yet supported under Motif... disabled" 1>&2
19167 cat >> confdefs.h
<<\EOF
19168 #define wxUSE_POPUPWIN 1
19177 if test "$wxUSE_TIPWINDOW" = "yes"; then
19178 cat >> confdefs.h
<<\EOF
19179 #define wxUSE_TIPWINDOW 1
19184 if test "$USES_CONTROLS" = 1; then
19185 cat >> confdefs.h
<<\EOF
19186 #define wxUSE_CONTROLS 1
19192 if test "$wxUSE_TREELAYOUT" = "yes"; then
19193 cat >> confdefs.h
<<\EOF
19194 #define wxUSE_TREELAYOUT 1
19197 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treelay"
19200 if test "$wxUSE_DRAGIMAGE" = "yes"; then
19201 cat >> confdefs.h
<<\EOF
19202 #define wxUSE_DRAGIMAGE 1
19205 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
19208 if test "$wxUSE_MENUS" = "yes"; then
19209 cat >> confdefs.h
<<\EOF
19210 #define wxUSE_MENUS 1
19213 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
19216 if test "$wxUSE_METAFILE" = "yes"; then
19217 cat >> confdefs.h
<<\EOF
19218 #define wxUSE_METAFILE 1
19223 if test "$wxUSE_MIMETYPE" = "yes"; then
19224 cat >> confdefs.h
<<\EOF
19225 #define wxUSE_MIMETYPE 1
19230 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
19231 cat >> confdefs.h
<<\EOF
19232 #define wxUSE_SYSTEM_OPTIONS 1
19237 if test "$wxUSE_PROTOCOL" = "yes"; then
19238 if test "$wxUSE_SOCKETS" != "yes"; then
19239 echo "configure: warning: Protocol classes require sockets... disabled" 1>&2
19243 if test "$wxUSE_PROTOCOL" = "yes"; then
19244 cat >> confdefs.h
<<\EOF
19245 #define wxUSE_PROTOCOL 1
19249 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
19250 cat >> confdefs.h
<<\EOF
19251 #define wxUSE_PROTOCOL_HTTP 1
19255 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
19256 cat >> confdefs.h
<<\EOF
19257 #define wxUSE_PROTOCOL_FTP 1
19261 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
19262 cat >> confdefs.h
<<\EOF
19263 #define wxUSE_PROTOCOL_FILE 1
19270 if test "$wxUSE_URL" = "yes"; then
19271 if test "$wxUSE_PROTOCOL" != "yes"; then
19272 echo "configure: warning: wxURL class requires wxProtocol... disabled" 1>&2
19275 if test "$wxUSE_URL" = "yes"; then
19276 cat >> confdefs.h
<<\EOF
19277 #define wxUSE_URL 1
19283 if test "$wxUSE_MINIFRAME" = "yes"; then
19284 cat >> confdefs.h
<<\EOF
19285 #define wxUSE_MINIFRAME 1
19288 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
19291 if test "$wxUSE_HTML" = "yes"; then
19292 cat >> confdefs.h
<<\EOF
19293 #define wxUSE_HTML 1
19296 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html"
19299 if test "$wxUSE_VALIDATORS" = "yes"; then
19300 cat >> confdefs.h
<<\EOF
19301 #define wxUSE_VALIDATORS 1
19304 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
19307 if test "$wxUSE_PALETTE" = "yes" ; then
19308 cat >> confdefs.h
<<\EOF
19309 #define wxUSE_PALETTE 1
19314 if test "$wxUSE_IMAGE" = "yes" ; then
19315 cat >> confdefs.h
<<\EOF
19316 #define wxUSE_IMAGE 1
19321 if test "$wxUSE_GIF" = "yes" ; then
19322 cat >> confdefs.h
<<\EOF
19323 #define wxUSE_GIF 1
19328 if test "$wxUSE_PCX" = "yes" ; then
19329 cat >> confdefs.h
<<\EOF
19330 #define wxUSE_PCX 1
19335 if test "$wxUSE_PNM" = "yes" ; then
19336 cat >> confdefs.h
<<\EOF
19337 #define wxUSE_PNM 1
19342 if test "$wxUSE_XPM" = "yes" ; then
19343 cat >> confdefs.h
<<\EOF
19344 #define wxUSE_XPM 1
19349 if test "$wxUSE_ICO_CUR" = "yes" ; then
19350 cat >> confdefs.h
<<\EOF
19351 #define wxUSE_ICO_CUR 1
19356 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
19357 LIBS
=" -lunicows $LIBS"
19361 if test "$wxUSE_CHOICEDLG" = "yes"; then
19362 cat >> confdefs.h
<<\EOF
19363 #define wxUSE_CHOICEDLG 1
19368 if test "$wxUSE_COLOURDLG" = "yes"; then
19369 cat >> confdefs.h
<<\EOF
19370 #define wxUSE_COLOURDLG 1
19375 if test "$wxUSE_FILEDLG" = "yes"; then
19376 cat >> confdefs.h
<<\EOF
19377 #define wxUSE_FILEDLG 1
19382 if test "$wxUSE_FINDREPLDLG" = "yes"; then
19383 cat >> confdefs.h
<<\EOF
19384 #define wxUSE_FINDREPLDLG 1
19389 if test "$wxUSE_FONTDLG" = "yes"; then
19390 cat >> confdefs.h
<<\EOF
19391 #define wxUSE_FONTDLG 1
19396 if test "$wxUSE_DIRDLG" = "yes"; then
19397 if test "$wxUSE_CONSTRAINTS" != "yes"; then
19398 echo "configure: warning: wxDirDialog requires constraints so it won't be compiled without them" 1>&2
19400 if test "$wxUSE_TREECTRL" != "yes"; then
19401 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
19403 cat >> confdefs.h
<<\EOF
19404 #define wxUSE_DIRDLG 1
19411 if test "$wxUSE_MSGDLG" = "yes"; then
19412 cat >> confdefs.h
<<\EOF
19413 #define wxUSE_MSGDLG 1
19418 if test "$wxUSE_NUMBERDLG" = "yes"; then
19419 cat >> confdefs.h
<<\EOF
19420 #define wxUSE_NUMBERDLG 1
19425 if test "$wxUSE_PROGRESSDLG" = "yes"; then
19426 if test "$wxUSE_CONSTRAINTS" != "yes"; then
19427 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
19429 cat >> confdefs.h
<<\EOF
19430 #define wxUSE_PROGRESSDLG 1
19436 if test "$wxUSE_SPLASH" = "yes"; then
19437 cat >> confdefs.h
<<\EOF
19438 #define wxUSE_SPLASH 1
19443 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
19444 if test "$wxUSE_CONSTRAINTS" != "yes"; then
19445 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
19447 cat >> confdefs.h
<<\EOF
19448 #define wxUSE_STARTUP_TIPS 1
19454 if test "$wxUSE_TEXTDLG" = "yes"; then
19455 cat >> confdefs.h
<<\EOF
19456 #define wxUSE_TEXTDLG 1
19461 if test "$wxUSE_WIZARDDLG" = "yes"; then
19462 cat >> confdefs.h
<<\EOF
19463 #define wxUSE_WIZARDDLG 1
19466 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
19470 if test "$cross_compiling" = "yes"; then
19473 OSINFO
=`uname -s -r -m`
19474 OSINFO
="\"$OSINFO\""
19477 cat >> confdefs.h
<<EOF
19478 #define WXWIN_OS_DESCRIPTION $OSINFO
19483 if test "x$prefix" != "xNONE"; then
19486 wxPREFIX
=$ac_default_prefix
19489 cat >> confdefs.h
<<EOF
19490 #define wxINSTALL_PREFIX "$wxPREFIX"
19497 if test "$wxUSE_MAC" = 1 ; then
19498 LDFLAGS
="$LDFLAGS -framework Carbon -framework System"
19502 LIBS
="$ZLIB_LINK$POSIX4_LINK$INET_LINK$WCHAR_LINK$THREADS_LINK$DL_LINK -lm$LIBS"
19504 if test "$wxUSE_GUI" = "yes"; then
19506 LIBS
=" $GUI_TK_LIBRARY$PNG_LINK$JPEG_LINK$TIFF_LINK$FREETYPE_LINK$LIBS"
19509 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS controls dialogs \
19510 drawing dynamic erase event exec font image \
19511 minimal richedit rotate widgets"
19513 CPPFLAGS
="$CPPFLAGS \$(EXTRADEFS) \$(APPEXTRADEFS)"
19515 SAMPLES_SUBDIRS
="console"
19519 INCLUDES
="-I\${top_builddir}/lib/wx/include/${TOOLCHAIN_NAME} -I\${top_srcdir}/include \
19520 $REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \
19521 $FREETYPE_INCLUDE $TOOLKIT_INCLUDE"
19523 if test "$wxUSE_GTK" = 1; then
19526 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
19529 if test "$GXX" = yes ; then
19530 CXXWARNINGS
="-Wall"
19532 if test "$wxUSE_NO_DEPS" = "no" ; then
19533 CFLAGS
="-MMD $CFLAGS"
19534 CXXFLAGS
="-MMD $CXXFLAGS"
19538 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE $INCLUDES"
19540 CFLAGS
=`echo $CFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
19541 CXXFLAGS
=`echo $CXXFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
19543 LDFLAGS
="$LDFLAGS$PROFILE"
19545 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
19631 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
19632 echo "configure:19633: checking whether ${MAKE-make} sets \${MAKE}" >&5
19633 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
19634 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
19635 echo $ac_n "(cached) $ac_c" 1>&6
19637 cat > conftestmake
<<\EOF
19639 @
echo 'ac_maketemp="${MAKE}"'
19641 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
19642 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
19643 if test -n "$ac_maketemp"; then
19644 eval ac_cv_prog_make_
${ac_make}_set
=yes
19646 eval ac_cv_prog_make_
${ac_make}_set
=no
19650 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
19651 echo "$ac_t""yes" 1>&6
19654 echo "$ac_t""no" 1>&6
19655 SET_MAKE
="MAKE=${MAKE-make}"
19659 if test -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
; then
19660 mv -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h setup.h
19665 if test "$wxUSE_GUI" = "yes"; then
19666 wx_cv_path_samplesubdirs
=$SAMPLES_SUBDIRS
19667 wx_cv_path_ifs
=$PATH_IFS
19668 wx_cv_program_ext
=$PROGRAM_EXT
19669 wx_cv_target_library
=$WX_TARGET_LIBRARY
19670 wx_cv_target_library_gl
=$WX_TARGET_LIBRARY_GL
19671 wx_cv_target_libtype
=$WX_TARGET_LIBRARY_TYPE
19672 export wx_cv_path_samplesubdirs wx_cv_path_ifs wx_cv_program_ext \
19673 wx_cv_target_library wx_cv_target_library_gl wx_cv_target_libtype
19674 subdirs
="demos samples utils contrib"
19679 cat > confcache
<<\EOF
19680 # This file is a shell script that caches the results of configure
19681 # tests run on this system so they can be shared between configure
19682 # scripts and configure runs. It is not useful on other systems.
19683 # If it contains results you don't want to keep, you may remove or edit it.
19685 # By default, configure uses ./config.cache as the cache file,
19686 # creating it if it does not exist already. You can give configure
19687 # the --cache-file=FILE option to use a different cache file; that is
19688 # what configure does when it calls configure scripts in
19689 # subdirectories, so they share the cache.
19690 # Giving --cache-file=/dev/null disables caching, for debugging configure.
19691 # config.status only pays attention to the cache file if you give it the
19692 # --recheck option to rerun configure.
19695 # The following way of writing the cache mishandles newlines in values,
19696 # but we know of no workaround that is simple, portable, and efficient.
19697 # So, don't put newlines in cache variables' values.
19698 # Ultrix sh set writes to stderr and can't be redirected directly,
19699 # and sets the high bit in the cache file unless we assign to the vars.
19701 case `(ac_space=' '; set | grep ac_space) 2>&1` in
19703 # `set' does not quote correctly, so add quotes (double-quote substitution
19704 # turns \\\\ into \\, and sed turns \\ into \).
19706 -e "s/'/'\\\\''/g" \
19707 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
19710 # `set' quotes correctly as required by POSIX, so do not add quotes.
19711 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
19714 if cmp -s $cache_file confcache
; then
19717 if test -w $cache_file; then
19718 echo "updating cache $cache_file"
19719 cat confcache
> $cache_file
19721 echo "not updating unwritable cache $cache_file"
19726 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
19728 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
19729 # Let make expand exec_prefix.
19730 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
19732 # Any assignment to VPATH causes Sun make to only execute
19733 # the first set of double-colon rules, so remove it if not needed.
19734 # If there is a colon in the path, we need to keep it.
19735 if test "x$srcdir" = x.
; then
19736 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
19739 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
19741 DEFS
=-DHAVE_CONFIG_H
19743 # Without the "./", some shells look in PATH for config.status.
19744 : ${CONFIG_STATUS=./config.status}
19746 echo creating
$CONFIG_STATUS
19747 rm -f $CONFIG_STATUS
19748 cat > $CONFIG_STATUS <<EOF
19750 # Generated automatically by configure.
19751 # Run this file to recreate the current configuration.
19752 # This directory was configured as follows,
19753 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19755 # $0 $ac_configure_args
19757 # Compiler output produced by configure, useful for debugging
19758 # configure, is in ./config.log if it exists.
19760 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
19763 case "\$ac_option" in
19764 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19765 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
19766 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
19767 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
19768 echo "$CONFIG_STATUS generated by autoconf version 2.13"
19770 -help | --help | --hel | --he | --h)
19771 echo "\$ac_cs_usage"; exit 0 ;;
19772 *) echo "\$ac_cs_usage"; exit 1 ;;
19776 ac_given_srcdir=$srcdir
19777 ac_given_INSTALL="$INSTALL"
19779 trap 'rm -fr `echo "
19786 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
19788 cat >> $CONFIG_STATUS <<EOF
19790 # Protect against being on the right side of a sed subst in config.status.
19791 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
19792 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
19796 s%@CFLAGS@%$CFLAGS%g
19797 s%@CPPFLAGS@%$CPPFLAGS%g
19798 s%@CXXFLAGS@%$CXXFLAGS%g
19799 s%@FFLAGS@%$FFLAGS%g
19801 s%@LDFLAGS@%$LDFLAGS%g
19803 s%@exec_prefix@%$exec_prefix%g
19804 s%@prefix@%$prefix%g
19805 s%@program_transform_name@%$program_transform_name%g
19806 s%@bindir@%$bindir%g
19807 s%@sbindir@%$sbindir%g
19808 s%@libexecdir@%$libexecdir%g
19809 s%@datadir@%$datadir%g
19810 s%@sysconfdir@%$sysconfdir%g
19811 s%@sharedstatedir@%$sharedstatedir%g
19812 s%@localstatedir@%$localstatedir%g
19813 s%@libdir@%$libdir%g
19814 s%@includedir@%$includedir%g
19815 s%@oldincludedir@%$oldincludedir%g
19816 s%@infodir@%$infodir%g
19817 s%@mandir@%$mandir%g
19819 s%@host_alias@%$host_alias%g
19820 s%@host_cpu@%$host_cpu%g
19821 s%@host_vendor@%$host_vendor%g
19822 s%@host_os@%$host_os%g
19823 s%@target@%$target%g
19824 s%@target_alias@%$target_alias%g
19825 s%@target_cpu@%$target_cpu%g
19826 s%@target_vendor@%$target_vendor%g
19827 s%@target_os@%$target_os%g
19829 s%@build_alias@%$build_alias%g
19830 s%@build_cpu@%$build_cpu%g
19831 s%@build_vendor@%$build_vendor%g
19832 s%@build_os@%$build_os%g
19836 s%@RANLIB@%$RANLIB%g
19838 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
19839 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
19840 s%@INSTALL_DATA@%$INSTALL_DATA%g
19844 s%@LEXLIB@%$LEXLIB%g
19846 s%@GTK_CONFIG_2_0@%$GTK_CONFIG_2_0%g
19847 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
19848 s%@GTK_LIBS@%$GTK_LIBS%g
19849 s%@GTK_CONFIG@%$GTK_CONFIG%g
19850 s%@X_CFLAGS@%$X_CFLAGS%g
19851 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
19852 s%@X_LIBS@%$X_LIBS%g
19853 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
19854 s%@RESCOMP@%$RESCOMP%g
19856 s%@CXXCPP@%$CXXCPP%g
19857 s%@LEX_STEM@%$LEX_STEM%g
19858 s%@PATH_IFS@%$PATH_IFS%g
19859 s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
19860 s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
19861 s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
19862 s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
19863 s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
19864 s%@WX_LIBRARY_IMPORTLIB@%$WX_LIBRARY_IMPORTLIB%g
19865 s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
19866 s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
19867 s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
19868 s%@PROGRAM_EXT@%$PROGRAM_EXT%g
19869 s%@WX_LIBRARY_NAME_STATIC_GL@%$WX_LIBRARY_NAME_STATIC_GL%g
19870 s%@WX_LIBRARY_NAME_SHARED_GL@%$WX_LIBRARY_NAME_SHARED_GL%g
19871 s%@WX_TARGET_LIBRARY_GL@%$WX_TARGET_LIBRARY_GL%g
19872 s%@WX_LIBRARY_LINK1_GL@%$WX_LIBRARY_LINK1_GL%g
19873 s%@WX_LIBRARY_LINK2_GL@%$WX_LIBRARY_LINK2_GL%g
19874 s%@WX_ALL@%$WX_ALL%g
19875 s%@WX_ALL_INSTALLED@%$WX_ALL_INSTALLED%g
19876 s%@SHARED_LD@%$SHARED_LD%g
19877 s%@PIC_FLAG@%$PIC_FLAG%g
19878 s%@CODE_GEN_FLAGS@%$CODE_GEN_FLAGS%g
19879 s%@CODE_GEN_FLAGS_CXX@%$CODE_GEN_FLAGS_CXX%g
19880 s%@SONAME_FLAGS@%$SONAME_FLAGS%g
19881 s%@SONAME_FLAGS_GL@%$SONAME_FLAGS_GL%g
19882 s%@WX_TARGET_LIBRARY_SONAME@%$WX_TARGET_LIBRARY_SONAME%g
19883 s%@WX_TARGET_LIBRARY_TYPE@%$WX_TARGET_LIBRARY_TYPE%g
19884 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
19885 s%@USE_GUI@%$USE_GUI%g
19886 s%@AFMINSTALL@%$AFMINSTALL%g
19887 s%@TOOLKIT@%$TOOLKIT%g
19888 s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
19889 s%@TOOLKIT_VPATH@%$TOOLKIT_VPATH%g
19890 s%@TOOLCHAIN_NAME@%$TOOLCHAIN_NAME%g
19891 s%@TOOLCHAIN_DEFS@%$TOOLCHAIN_DEFS%g
19892 s%@TOOLCHAIN_DLL_DEFS@%$TOOLCHAIN_DLL_DEFS%g
19893 s%@cross_compiling@%$cross_compiling%g
19894 s%@WXCONFIG_LIBS@%$WXCONFIG_LIBS%g
19895 s%@WXCONFIG_LIBS_GL@%$WXCONFIG_LIBS_GL%g
19896 s%@WXCONFIG_LIBS_STATIC@%$WXCONFIG_LIBS_STATIC%g
19897 s%@WXCONFIG_LIBS_STATIC_GL@%$WXCONFIG_LIBS_STATIC_GL%g
19898 s%@WXCONFIG_INCLUDE@%$WXCONFIG_INCLUDE%g
19899 s%@ALL_OBJECTS@%$ALL_OBJECTS%g
19900 s%@GUIDIST@%$GUIDIST%g
19901 s%@PORT_FILES@%$PORT_FILES%g
19902 s%@DISTDIR@%$DISTDIR%g
19903 s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
19904 s%@LDFLAGS_GL@%$LDFLAGS_GL%g
19905 s%@OPENGL_LIBS@%$OPENGL_LIBS%g
19906 s%@DMALLOC_LIBS@%$DMALLOC_LIBS%g
19907 s%@EXTRADEFS@%$EXTRADEFS%g
19908 s%@RESFLAGS@%$RESFLAGS%g
19909 s%@RESPROGRAMOBJ@%$RESPROGRAMOBJ%g
19910 s%@WX_RESOURCES_MACOSX@%$WX_RESOURCES_MACOSX%g
19911 s%@WX_RESOURCES_MACOSX_COMPILED@%$WX_RESOURCES_MACOSX_COMPILED%g
19912 s%@LIBWXMACRES@%$LIBWXMACRES%g
19913 s%@LIBWXMACRESCOMP@%$LIBWXMACRESCOMP%g
19914 s%@LIBWXMACRESWXCONFIG@%$LIBWXMACRESWXCONFIG%g
19915 s%@DLLTOOL@%$DLLTOOL%g
19919 s%@MAKEINFO@%$MAKEINFO%g
19920 s%@INSTALL_LIBRARY@%$INSTALL_LIBRARY%g
19921 s%@SET_MAKE@%$SET_MAKE%g
19922 s%@subdirs@%$subdirs%g
19927 cat >> $CONFIG_STATUS <<\EOF
19929 # Split the substitutions into bite-sized pieces for seds with
19930 # small command number limits, like on Digital OSF/1 and HP-UX.
19931 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
19932 ac_file
=1 # Number of current file.
19933 ac_beg
=1 # First line for current file.
19934 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
19937 while $ac_more_lines; do
19938 if test $ac_beg -gt 1; then
19939 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
19941 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
19943 if test ! -s conftest.s
$ac_file; then
19944 ac_more_lines
=false
19945 rm -f conftest.s
$ac_file
19947 if test -z "$ac_sed_cmds"; then
19948 ac_sed_cmds
="sed -f conftest.s$ac_file"
19950 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
19952 ac_file
=`expr $ac_file + 1`
19954 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
19957 if test -z "$ac_sed_cmds"; then
19962 cat >> $CONFIG_STATUS <<EOF
19964 CONFIG_FILES=\${CONFIG_FILES-"wx-config
19972 cat >> $CONFIG_STATUS <<\EOF
19973 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
19974 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
19976 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
19977 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
19978 *) ac_file_in
="${ac_file}.in" ;;
19981 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
19983 # Remove last slash and all that follows it. Not all systems have dirname.
19984 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
19985 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
19986 # The file is in a subdirectory.
19987 test ! -d "$ac_dir" && mkdir "$ac_dir"
19988 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
19989 # A "../" for each directory in $ac_dir_suffix.
19990 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
19992 ac_dir_suffix
= ac_dots
=
19995 case "$ac_given_srcdir" in
19997 if test -z "$ac_dots"; then top_srcdir
=.
19998 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
19999 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
20000 *) # Relative path.
20001 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
20002 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
20005 case "$ac_given_INSTALL" in
20006 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
20007 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
20010 echo creating
"$ac_file"
20012 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
20014 *Makefile
*) ac_comsub
="1i\\
20015 # $configure_input" ;;
20019 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
20021 s%@configure_input@%$configure_input%g
20022 s%@srcdir@%$srcdir%g
20023 s%@top_srcdir@%$top_srcdir%g
20024 s%@INSTALL@%$INSTALL%g
20025 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
20029 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
20030 # NAME is the cpp macro being defined and VALUE is the value it is being given.
20032 # ac_d sets the value in "#define NAME VALUE" lines.
20033 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
20034 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
20037 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
20038 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
20039 ac_uB
='\([ ]\)%\1#\2define\3'
20042 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
20043 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
20044 ac_eB
='$%\1#\2define\3'
20048 if test "${CONFIG_HEADERS+set}" != set; then
20050 cat >> $CONFIG_STATUS <<EOF
20051 CONFIG_HEADERS="setup.h:setup.h.in"
20053 cat >> $CONFIG_STATUS <<\EOF
20055 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
20056 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
20058 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
20059 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
20060 *) ac_file_in
="${ac_file}.in" ;;
20063 echo creating
$ac_file
20065 rm -f conftest.frag conftest.
in conftest.out
20066 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
20067 cat $ac_file_inputs > conftest.
in
20071 # Transform confdefs.h into a sed script conftest.vals that substitutes
20072 # the proper values into config.h.in to produce config.h. And first:
20073 # Protect against being on the right side of a sed subst in config.status.
20074 # Protect against being in an unquoted here document in config.status.
20075 rm -f conftest.vals
20076 cat > conftest.hdr
<<\EOF
20079 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
20083 sed -n -f conftest.hdr confdefs.h > conftest.vals
20086 # This sed command replaces #undef with comments. This is necessary, for
20087 # example, in the case of _POSIX_SOURCE, which is predefined and required
20088 # on some systems where configure will not decide to define it.
20089 cat >> conftest.vals <<\EOF
20090 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
20093 # Break up conftest.vals because some shells have a limit on
20094 # the size of here documents, and old seds have small limits too.
20096 rm -f conftest.tail
20099 ac_lines=`grep -c . conftest.vals
`
20100 # grep -c gives empty output for an empty file on some AIX systems.
20101 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
20102 # Write a limited-size here document to conftest.frag.
20103 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
20104 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
20106 sed -f conftest.frag conftest.in > conftest.out
20108 mv conftest.out conftest.in
20109 ' >> $CONFIG_STATUS
20110 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
20111 rm -f conftest.vals
20112 mv conftest.tail conftest.vals
20114 rm -f conftest.vals
20116 cat >> $CONFIG_STATUS <<\EOF
20117 rm -f conftest.frag conftest.h
20118 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
20119 cat conftest.in >> conftest.h
20121 if cmp -s $ac_file conftest.h 2>/dev/null; then
20122 echo "$ac_file is unchanged"
20125 # Remove last slash and all that follows it. Not all systems have dirname.
20126 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
20127 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
20128 # The file is in a subdirectory.
20129 test ! -d "$ac_dir" && mkdir "$ac_dir"
20132 mv conftest.h $ac_file
20137 cat >> $CONFIG_STATUS <<EOF
20139 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
20144 cat >> $CONFIG_STATUS <<\EOF
20146 if test ! -h wx-config; then
20148 mv wx-config wx${TOOLCHAIN_NAME}-config
20149 ${LN_S} wx${TOOLCHAIN_NAME}-config wx-config
20152 if test ! -d lib; then
20155 if test ! -d lib/wx; then
20158 if test ! -d lib/wx/include; then
20159 mkdir lib/wx/include
20161 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}; then
20162 mkdir lib/wx/include/${TOOLCHAIN_NAME}
20164 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}/wx; then
20165 mkdir lib/wx/include/${TOOLCHAIN_NAME}/wx
20167 if test -f setup.h; then
20168 mv -f setup.h lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h
20173 chmod +x $CONFIG_STATUS
20174 rm -fr confdefs* $ac_clean_files
20175 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
20177 if test "$no_recursion" != yes; then
20179 # Remove --cache-file and --srcdir arguments so they do not pile up.
20180 ac_sub_configure_args=
20182 for ac_arg in $ac_configure_args; do
20183 if test -n "$ac_prev"; then
20188 -cache-file | --cache-file | --cache-fil | --cache-fi \
20189 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
20190 ac_prev=cache_file ;;
20191 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
20192 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
20194 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
20196 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
20198 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
20202 for ac_config_dir in demos samples utils contrib; do
20204 # Do not complain, so a configure script can configure whichever
20205 # parts of a large source tree are present.
20206 if test ! -d $srcdir/$ac_config_dir; then
20210 echo configuring in $ac_config_dir
20215 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
20217 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
20225 # A "../" for each directory in /$ac_config_dir.
20226 ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
20229 .) # No --srcdir option. We are building in place.
20230 ac_sub_srcdir=$srcdir ;;
20231 /*) # Absolute path.
20232 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
20233 *) # Relative path.
20234 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
20237 # Check for guested configure; otherwise get Cygnus style configure.
20238 if test -f $ac_sub_srcdir/configure; then
20239 ac_sub_configure=$ac_sub_srcdir/configure
20240 elif test -f $ac_sub_srcdir/configure.in; then
20241 ac_sub_configure=$ac_configure
20243 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
20247 # The recursion is here.
20248 if test -n "$ac_sub_configure"; then
20250 # Make the cache file name correct relative to the subdirectory.
20251 case "$cache_file" in
20252 /*) ac_sub_cache_file=$cache_file ;;
20253 *) # Relative path.
20254 ac_sub_cache_file="$ac_dots$cache_file" ;;
20256 case "$ac_given_INSTALL" in
20257 [/$]*) INSTALL="$ac_given_INSTALL" ;;
20258 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
20261 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
20262 # The eval makes quoting arguments work.
20263 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
20266 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }