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-sockets use socket/network classes"
136 --enable-ipc use interprocess communication (wxSocket etc.)"
138 --enable-cmdline use wxCmdLineParser class"
140 --enable-datetime use wxDateTime class"
142 --enable-timedate use obsolete wxDate/wxTime classes"
144 --enable-stopwatch use wxStopWatch class"
146 --enable-dialupman use dialup network classes"
148 --enable-apple_ieee use the Apple IEEE codec"
150 --enable-timer use wxTimer class"
152 --enable-wave use wxWave class"
154 --enable-fraction use wxFraction class"
156 --enable-dynlib use wxLibrary class for DLL loading"
158 --enable-dynamicloader use (new) wxDynamicLibrary class"
160 --enable-longlong use wxLongLong class"
162 --enable-geometry use geometry class"
164 --enable-log use logging system"
166 --enable-streams use wxStream etc classes"
168 --enable-file use wxFile classes"
170 --enable-ffile use wxFFile classes"
172 --enable-textbuf use wxTextBuffer class"
174 --enable-textfile use wxTextFile class"
176 --enable-fontmap use font encodings conversion classes"
178 --enable-unicode compile wxString with Unicode support"
180 --enable-wxprintfv use wxWindows implementation of vprintf()"
182 --enable-std_iostreams use standard C++ stream classes"
184 --enable-filesystem use virtual file systems classes"
186 --enable-fs_inet use virtual HTTP/FTP filesystems"
188 --enable-fs_zip use virtual ZIP filesystems"
190 --enable-zipstream use wxZipInputStream"
192 --enable-catch_segvs catch signals and pass them to wxApp::OnFatalException"
194 --enable-snglinst use wxSingleInstanceChecker class"
196 --enable-mimetype use wxMimeTypesManager"
198 --enable-sysoptions use wxSystemOptions"
200 --enable-threads use threads"
202 --enable-docview use document view architecture"
204 --enable-help use help subsystem"
206 --enable-mshtmlhelp use MS HTML Help (win32)"
208 --enable-html use wxHTML sub-library"
210 --enable-htmlhelp use wxHTML-based help"
212 --enable-constraints use layout-constraints system"
214 --enable-printarch use printing architecture"
216 --enable-mdi use multiple document interface architecture"
218 --enable-loggui use standard GUI logger"
220 --enable-logwin use wxLogWindow"
222 --enable-logdialog use wxLogDialog"
224 --enable-postscript use wxPostscriptDC device context (default for gtk+)"
226 --enable-prologio use Prolog IO library"
228 --enable-resources use wxWindows resources"
230 --enable-xresources use X resources for save (default for gtk+)"
232 --enable-clipboard use wxClipboard classes"
234 --enable-dnd use Drag'n'Drop classes"
236 --enable-metafile use win32 metafiles"
238 --enable-treelayout use wxTreeLayout classes"
240 --enable-controls use all usual controls"
242 --enable-accel use accelerators"
244 --enable-button use wxButton class"
246 --enable-bmpbutton use wxBitmapButton class"
248 --enable-calendar use wxCalendarCtrl class"
250 --enable-caret use wxCaret class"
252 --enable-checkbox use wxCheckBox class"
254 --enable-checklst use wxCheckListBox (listbox with checkboxes) class"
256 --enable-choice use wxChoice class"
258 --enable-combobox use wxComboBox classes"
260 --enable-gauge use wxGauge class"
262 --enable-grid use wxGrid class"
264 --enable-newgrid use new wxGrid class"
266 --enable-imaglist use wxImageList class"
268 --enable-listbox use wxListBox class"
270 --enable-listctrl use wxListCtrl class"
272 --enable-notebook use wxNotebook class"
274 --enable-propsheet use wxPropertySheet class"
276 --enable-radiobox use wxRadioBox class"
278 --enable-radiobtn use wxRadioButton class"
280 --enable-sash use wxSashWindow class"
282 --enable-scrollbar use wxScrollBar class and scrollable windows"
284 --enable-slider use wxSlider class"
286 --enable-spinbtn use wxSpinButton class"
288 --enable-spinctrl use wxSpinCtrl class"
290 --enable-splitter use wxSplitterWindow class"
292 --enable-statbmp use wxStaticBitmap class"
294 --enable-statbox use wxStaticBox class"
296 --enable-statline use wxStaticLine class"
298 --enable-stattext use wxStaticText class"
300 --enable-statusbar use wxStatusBar class"
302 --enable-tabdialog use wxTabControl class"
304 --enable-textctrl use wxTextCtrl class"
306 --enable-togglebtn use wxToggleButton class"
308 --enable-toolbar use wxToolBar class"
310 --enable-tbarnative use native wxToolBar class"
312 --enable-tbarsmpl use wxToolBarSimple class"
314 --enable-treectrl use wxTreeCtrl class"
316 --enable-tipwindow use wxTipWindow class"
318 --enable-popupwin use wxPopUpWindow class"
320 --enable-commondlg use all common dialogs"
322 --enable-choicedlg use wxChoiceDialog"
324 --enable-coldlg use wxColourDialog"
326 --enable-filedlg use wxFileDialog"
328 --enable-finddlg use wxFindReplaceDialog"
330 --enable-fontdlg use wxFontDialog"
332 --enable-dirdlg use wxDirDialog"
334 --enable-msgdlg use wxMessageDialog"
336 --enable-numberdlg use wxNumberEntryDialog"
338 --enable-splash use wxSplashScreen"
340 --enable-textdlg use wxTextDialog"
342 --enable-tipdlg use startup tips"
344 --enable-progressdlg use wxProgressDialog"
346 --enable-wizarddlg use wxWizard"
348 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes"
350 --enable-miniframe use wxMiniFrame class"
352 --enable-tooltips use wxToolTip class"
354 --enable-splines use spline drawing code"
356 --enable-validators use wxValidator and derived classes"
358 --enable-busyinfo use wxBusyInfo"
360 --enable-joystick use wxJoystick (Linux only)"
362 --enable-metafiles use wxMetaFile (Windows only)"
364 --enable-dragimage use wxDragImage"
366 --enable-palette use wxPalette class"
368 --enable-image use wxImage class"
370 --enable-gif use gif images (GIF file format)"
372 --enable-pcx use pcx images (PCX file format)"
374 --enable-pnm use pnm images (PNM file format)"
376 --enable-xpm use xpm images (XPM file format)"
378 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
380 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
382 --disable-gtktest Do not try to compile and run a test GTK program"
384 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
386 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
388 --disable-gtktest Do not try to compile and run a test GTK program"
390 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
392 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
394 --disable-gtktest Do not try to compile and run a test GTK program"
396 --with-x use the X Window System"
398 # Initialize some variables set by options.
399 # The variables have the same names as the options, with
400 # dashes changed to underlines.
402 cache_file
=.
/config.cache
411 program_transform_name
=s
,x
,x
,
419 bindir
='${exec_prefix}/bin'
420 sbindir
='${exec_prefix}/sbin'
421 libexecdir
='${exec_prefix}/libexec'
422 datadir
='${prefix}/share'
423 sysconfdir
='${prefix}/etc'
424 sharedstatedir
='${prefix}/com'
425 localstatedir
='${prefix}/var'
426 libdir
='${exec_prefix}/lib'
427 includedir
='${prefix}/include'
428 oldincludedir
='/usr/include'
429 infodir
='${prefix}/info'
430 mandir
='${prefix}/man'
432 # Initialize some other variables.
435 SHELL
=${CONFIG_SHELL-/bin/sh}
436 # Maximum number of lines to put in a shell here document.
443 # If the previous option needs an argument, assign it.
444 if test -n "$ac_prev"; then
445 eval "$ac_prev=\$ac_option"
451 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
455 # Accept the important Cygnus configure options, so we can diagnose typos.
459 -bindir | --bindir | --bindi | --bind | --bin | --bi)
461 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
462 bindir
="$ac_optarg" ;;
464 -build | --build | --buil | --bui | --bu)
466 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
467 build
="$ac_optarg" ;;
469 -cache-file | --cache-file | --cache-fil | --cache-fi \
470 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
471 ac_prev
=cache_file
;;
472 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
473 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
474 cache_file
="$ac_optarg" ;;
476 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
478 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
480 datadir
="$ac_optarg" ;;
482 -disable-* | --disable-*)
483 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
484 # Reject names that are not valid shell variable names.
485 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
486 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
488 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
489 eval "enable_${ac_feature}=no" ;;
491 -enable-* | --enable-*)
492 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
493 # Reject names that are not valid shell variable names.
494 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
495 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
497 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
502 eval "enable_${ac_feature}='$ac_optarg'" ;;
504 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
505 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
506 | --exec | --exe | --ex)
507 ac_prev
=exec_prefix
;;
508 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
509 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
510 | --exec=* | --exe=* | --ex=*)
511 exec_prefix
="$ac_optarg" ;;
513 -gas | --gas | --ga | --g)
514 # Obsolete; use --with-gas.
517 -help | --help | --hel | --he)
518 # Omit some internal or obsolete options to make the list less imposing.
519 # This message is too long to be a string in the A/UX 3.1 sh.
521 Usage: configure [options] [host]
522 Options: [defaults in brackets after descriptions]
524 --cache-file=FILE cache test results in FILE
525 --help print this message
526 --no-create do not create output files
527 --quiet, --silent do not print \`checking...' messages
528 --version print the version of autoconf that created configure
529 Directory and file names:
530 --prefix=PREFIX install architecture-independent files in PREFIX
532 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
534 --bindir=DIR user executables in DIR [EPREFIX/bin]
535 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
536 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
537 --datadir=DIR read-only architecture-independent data in DIR
539 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
540 --sharedstatedir=DIR modifiable architecture-independent data in DIR
542 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
543 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
544 --includedir=DIR C header files in DIR [PREFIX/include]
545 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
546 --infodir=DIR info documentation in DIR [PREFIX/info]
547 --mandir=DIR man documentation in DIR [PREFIX/man]
548 --srcdir=DIR find the sources in DIR [configure dir or ..]
549 --program-prefix=PREFIX prepend PREFIX to installed program names
550 --program-suffix=SUFFIX append SUFFIX to installed program names
551 --program-transform-name=PROGRAM
552 run sed PROGRAM on installed program names
556 --build=BUILD configure for building on BUILD [BUILD=HOST]
557 --host=HOST configure for HOST [guessed]
558 --target=TARGET configure for TARGET [TARGET=HOST]
559 Features and packages:
560 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
561 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
562 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
563 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
564 --x-includes=DIR X include files are in DIR
565 --x-libraries=DIR X library files are in DIR
567 if test -n "$ac_help"; then
568 echo "--enable and --with options recognized:$ac_help"
572 -host | --host | --hos | --ho)
574 -host=* | --host=* | --hos=* | --ho=*)
577 -includedir | --includedir | --includedi | --included | --include \
578 | --includ | --inclu | --incl | --inc)
579 ac_prev
=includedir
;;
580 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
581 | --includ=* | --inclu=* | --incl=* | --inc=*)
582 includedir
="$ac_optarg" ;;
584 -infodir | --infodir | --infodi | --infod | --info | --inf)
586 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
587 infodir
="$ac_optarg" ;;
589 -libdir | --libdir | --libdi | --libd)
591 -libdir=* | --libdir=* | --libdi=* | --libd=*)
592 libdir
="$ac_optarg" ;;
594 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
595 | --libexe | --libex | --libe)
596 ac_prev
=libexecdir
;;
597 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
598 | --libexe=* | --libex=* | --libe=*)
599 libexecdir
="$ac_optarg" ;;
601 -localstatedir | --localstatedir | --localstatedi | --localstated \
602 | --localstate | --localstat | --localsta | --localst \
603 | --locals | --local | --loca | --loc | --lo)
604 ac_prev
=localstatedir
;;
605 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
606 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
607 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
608 localstatedir
="$ac_optarg" ;;
610 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
612 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
613 mandir
="$ac_optarg" ;;
616 # Obsolete; use --without-fp.
619 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
623 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
624 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
627 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
628 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
629 | --oldin | --oldi | --old | --ol | --o)
630 ac_prev
=oldincludedir
;;
631 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
632 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
633 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
634 oldincludedir
="$ac_optarg" ;;
636 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
638 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
639 prefix
="$ac_optarg" ;;
641 -program-prefix | --program-prefix | --program-prefi | --program-pref \
642 | --program-pre | --program-pr | --program-p)
643 ac_prev
=program_prefix
;;
644 -program-prefix=* | --program-prefix=* | --program-prefi=* \
645 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
646 program_prefix
="$ac_optarg" ;;
648 -program-suffix | --program-suffix | --program-suffi | --program-suff \
649 | --program-suf | --program-su | --program-s)
650 ac_prev
=program_suffix
;;
651 -program-suffix=* | --program-suffix=* | --program-suffi=* \
652 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
653 program_suffix
="$ac_optarg" ;;
655 -program-transform-name | --program-transform-name \
656 | --program-transform-nam | --program-transform-na \
657 | --program-transform-n | --program-transform- \
658 | --program-transform | --program-transfor \
659 | --program-transfo | --program-transf \
660 | --program-trans | --program-tran \
661 | --progr-tra | --program-tr | --program-t)
662 ac_prev
=program_transform_name
;;
663 -program-transform-name=* | --program-transform-name=* \
664 | --program-transform-nam=* | --program-transform-na=* \
665 | --program-transform-n=* | --program-transform-=* \
666 | --program-transform=* | --program-transfor=* \
667 | --program-transfo=* | --program-transf=* \
668 | --program-trans=* | --program-tran=* \
669 | --progr-tra=* | --program-tr=* | --program-t=*)
670 program_transform_name
="$ac_optarg" ;;
672 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
673 | -silent | --silent | --silen | --sile | --sil)
676 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
678 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
680 sbindir
="$ac_optarg" ;;
682 -sharedstatedir | --sharedstatedir | --sharedstatedi \
683 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
684 | --sharedst | --shareds | --shared | --share | --shar \
686 ac_prev
=sharedstatedir
;;
687 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
688 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
689 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
691 sharedstatedir
="$ac_optarg" ;;
693 -site | --site | --sit)
695 -site=* | --site=* | --sit=*)
698 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
700 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
701 srcdir
="$ac_optarg" ;;
703 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
704 | --syscon | --sysco | --sysc | --sys | --sy)
705 ac_prev
=sysconfdir
;;
706 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
707 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
708 sysconfdir
="$ac_optarg" ;;
710 -target | --target | --targe | --targ | --tar | --ta | --t)
712 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
713 target
="$ac_optarg" ;;
715 -v | -verbose | --verbose | --verbos | --verbo | --verb)
718 -version | --version | --versio | --versi | --vers)
719 echo "configure generated by autoconf version 2.13"
723 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
724 # Reject names that are not valid shell variable names.
725 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
726 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
728 ac_package
=`echo $ac_package| sed 's/-/_/g'`
733 eval "with_${ac_package}='$ac_optarg'" ;;
735 -without-* | --without-*)
736 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
737 # Reject names that are not valid shell variable names.
738 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
739 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
741 ac_package
=`echo $ac_package| sed 's/-/_/g'`
742 eval "with_${ac_package}=no" ;;
745 # Obsolete; use --with-x.
748 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
749 | --x-incl | --x-inc | --x-in | --x-i)
750 ac_prev
=x_includes
;;
751 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
752 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
753 x_includes
="$ac_optarg" ;;
755 -x-libraries | --x-libraries | --x-librarie | --x-librari \
756 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
757 ac_prev
=x_libraries
;;
758 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
759 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
760 x_libraries
="$ac_optarg" ;;
762 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
766 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
767 echo "configure: warning: $ac_option: invalid host type" 1>&2
769 if test "x$nonopt" != xNONE
; then
770 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
778 if test -n "$ac_prev"; then
779 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
782 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
784 # File descriptor usage:
787 # 2 errors and warnings
788 # 3 some systems may open it to /dev/tty
789 # 4 used on the Kubota Titan
790 # 6 checking for... messages and results
791 # 5 compiler messages saved in config.log
792 if test "$silent" = yes; then
800 This file contains any messages produced by compilers while
801 running configure, to aid debugging if configure makes a mistake.
804 # Strip out --no-create and --no-recursion so they do not pile up.
805 # Also quote any args containing shell metacharacters.
810 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
811 | --no-cr | --no-c) ;;
812 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
813 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
814 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
815 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
816 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
821 # Only set these to C if already set. These must not be set unconditionally
822 # because not all systems understand e.g. LANG=C (notably SCO).
823 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
824 # Non-C LC_CTYPE values break the ctype check.
825 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
826 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
827 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
828 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
830 # confdefs.h avoids OS command line length limits that DEFS can exceed.
831 rm -rf conftest
* confdefs.h
832 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
835 # A filename unique to this package, relative to the directory that
836 # configure is in, which we can look for to find out if srcdir is correct.
837 ac_unique_file
=wx
-config.
in
839 # Find the source files, if location was not specified.
840 if test -z "$srcdir"; then
841 ac_srcdir_defaulted
=yes
842 # Try the directory containing this script, then its parent.
844 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
845 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
847 if test ! -r $srcdir/$ac_unique_file; then
851 ac_srcdir_defaulted
=no
853 if test ! -r $srcdir/$ac_unique_file; then
854 if test "$ac_srcdir_defaulted" = yes; then
855 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
857 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
860 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
862 # Prefer explicitly selected file to automatically selected ones.
863 if test -z "$CONFIG_SITE"; then
864 if test "x$prefix" != xNONE
; then
865 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
867 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
870 for ac_site_file
in $CONFIG_SITE; do
871 if test -r "$ac_site_file"; then
872 echo "loading site script $ac_site_file"
877 if test -r "$cache_file"; then
878 echo "loading cache $cache_file"
881 echo "creating cache $cache_file"
886 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
887 ac_cpp
='$CPP $CPPFLAGS'
888 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
889 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
890 cross_compiling
=$ac_cv_prog_cc_cross
894 if (echo "testing\c"; echo 1,2,3) | grep c
>/dev
/null
; then
895 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
896 if (echo -n testing
; echo 1,2,3) | sed s
/-n/xn
/ | grep xn
>/dev
/null
; then
903 ac_n
= ac_c
='\c' ac_t
=
909 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
910 if test -f $ac_dir/install-sh; then
912 ac_install_sh
="$ac_aux_dir/install-sh -c"
914 elif test -f $ac_dir/install.sh
; then
916 ac_install_sh
="$ac_aux_dir/install.sh -c"
920 if test -z "$ac_aux_dir"; then
921 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
923 ac_config_guess
=$ac_aux_dir/config.guess
924 ac_config_sub
=$ac_aux_dir/config.sub
925 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
928 # Do some error checking and defaulting for the host and target type.
930 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
933 # 1. You are not allowed to specify --host, --target, and nonopt at the
935 # 2. Host defaults to nonopt.
936 # 3. If nonopt is not specified, then host defaults to the current host,
937 # as determined by config.guess.
938 # 4. Target and build default to nonopt.
939 # 5. If nonopt is not specified, then target and build default to host.
941 # The aliases save the names the user supplied, while $host etc.
942 # will get canonicalized.
943 case $host---$target---$nonopt in
944 NONE
---*---* | *---NONE---* | *---*---NONE) ;;
945 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
949 # Make sure we can run config.sub.
950 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
951 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
954 echo $ac_n "checking host system type""... $ac_c" 1>&6
955 echo "configure:956: checking host system type" >&5
958 case "$host_alias" in
962 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
963 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
965 *) host_alias
=$nonopt ;;
969 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
970 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
971 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
972 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
973 echo "$ac_t""$host" 1>&6
975 echo $ac_n "checking target system type""... $ac_c" 1>&6
976 echo "configure:977: checking target system type" >&5
979 case "$target_alias" in
982 NONE
) target_alias
=$host_alias ;;
983 *) target_alias
=$nonopt ;;
987 target
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
988 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
989 target_vendor
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
990 target_os
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
991 echo "$ac_t""$target" 1>&6
993 echo $ac_n "checking build system type""... $ac_c" 1>&6
994 echo "configure:995: checking build system type" >&5
997 case "$build_alias" in
1000 NONE
) build_alias
=$host_alias ;;
1001 *) build_alias
=$nonopt ;;
1005 build
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
1006 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1007 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1008 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1009 echo "$ac_t""$build" 1>&6
1011 test "$host_alias" != "$target_alias" &&
1012 test "$program_prefix$program_suffix$program_transform_name" = \
1014 program_prefix
=${target_alias}-
1018 WX_MAJOR_VERSION_NUMBER
=2
1019 WX_MINOR_VERSION_NUMBER
=3
1022 WX_VERSION
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER.
$WX_RELEASE_NUMBER
1023 WX_RELEASE
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER
1025 WX_MSW_VERSION
=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1059 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1061 CPP_MT_FLAG
=-D_REENTRANT
1063 ALL_TOOLKITS
="GTK MAC MGL MICROWIN MOTIF MSW PM WINE"
1068 DEFAULT_wxUSE_MICROWIN
=0
1069 DEFAULT_wxUSE_MOTIF
=0
1072 DEFAULT_wxUSE_WINE
=0
1074 DEFAULT_DEFAULT_wxUSE_GTK
=0
1075 DEFAULT_DEFAULT_wxUSE_MAC
=0
1076 DEFAULT_DEFAULT_wxUSE_MGL
=0
1077 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
1078 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1079 DEFAULT_DEFAULT_wxUSE_MSW
=0
1080 DEFAULT_DEFAULT_wxUSE_PM
=0
1081 DEFAULT_DEFAULT_wxUSE_WINE
=0
1089 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1090 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1092 cat >> confdefs.h
<<\EOF
1099 cat >> confdefs.h
<<\EOF
1104 if test "x$TMP" = "xalpha"; then
1106 cat >> confdefs.h
<<\EOF
1111 DEFAULT_DEFAULT_wxUSE_GTK
=1
1113 *-*-irix5* | *-*-irix6* )
1116 cat >> confdefs.h
<<\EOF
1120 cat >> confdefs.h
<<\EOF
1124 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1130 cat >> confdefs.h
<<\EOF
1134 cat >> confdefs.h
<<\EOF
1135 #define __SOLARIS__ 1
1138 cat >> confdefs.h
<<\EOF
1142 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1143 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1149 cat >> confdefs.h
<<\EOF
1153 cat >> confdefs.h
<<\EOF
1157 cat >> confdefs.h
<<\EOF
1161 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1166 CPP_MT_FLAG
=-D_THREAD_SAFE
1167 cat >> confdefs.h
<<\EOF
1168 #define __FREEBSD__ 1
1171 cat >> confdefs.h
<<\EOF
1175 DEFAULT_DEFAULT_wxUSE_GTK
=1
1180 cat >> confdefs.h
<<\EOF
1181 #define __FREEBSD__ 1
1184 cat >> confdefs.h
<<\EOF
1185 #define __OPENBSD__ 1
1188 DEFAULT_DEFAULT_wxUSE_GTK
=1
1193 cat >> confdefs.h
<<\EOF
1194 #define __FREEBSD__ 1
1197 cat >> confdefs.h
<<\EOF
1198 #define __NETBSD__ 1
1201 DEFAULT_DEFAULT_wxUSE_GTK
=1
1206 cat >> confdefs.h
<<\EOF
1210 cat >> confdefs.h
<<\EOF
1214 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1215 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1220 cat >> confdefs.h
<<\EOF
1224 cat >> confdefs.h
<<\EOF
1228 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1233 cat >> confdefs.h
<<\EOF
1237 cat >> confdefs.h
<<\EOF
1241 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1247 cat >> confdefs.h
<<\EOF
1251 cat >> confdefs.h
<<\EOF
1255 cat >> confdefs.h
<<\EOF
1259 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1262 *-*-cygwin* | *-*-mingw32* )
1266 cat >> confdefs.h
<<\EOF
1270 cat >> confdefs.h
<<\EOF
1274 cat >> confdefs.h
<<\EOF
1275 #define __WINDOWS__ 1
1278 cat >> confdefs.h
<<\EOF
1279 #define __GNUWIN32__ 1
1282 cat >> confdefs.h
<<\EOF
1286 cat >> confdefs.h
<<\EOF
1287 #define WINVER 0x0400
1292 DEFAULT_DEFAULT_wxUSE_MSW
=1
1298 cat >> confdefs.h
<<\EOF
1303 DEFAULT_DEFAULT_wxUSE_MGL
=1
1304 DEFAULT_DEFAULT_wxUSE_SHARED
=0
1307 *-pc-os2_emx | *-pc-os2-emx )
1308 cat >> confdefs.h
<<\EOF
1313 DEFAULT_DEFAULT_wxUSE_PM
=1
1321 cat >> confdefs.h
<<\EOF
1325 cat >> confdefs.h
<<\EOF
1326 #define __DARWIN__ 1
1329 cat >> confdefs.h
<<\EOF
1330 #define __POWERPC__ 1
1333 DEFAULT_DEFAULT_wxUSE_MAC
=1
1338 cat >> confdefs.h
<<\EOF
1345 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
1348 if test "$USE_UNIX" = 1 ; then
1350 cat >> confdefs.h
<<\EOF
1356 if test "$USE_LINUX" = 1; then
1357 echo $ac_n "checking for glibc 2.1 or later""... $ac_c" 1>&6
1358 echo "configure:1359: checking for glibc 2.1 or later" >&5
1359 if eval "test \"`echo '$''{'wx_lib_glibc21'+set}'`\" = set"; then
1360 echo $ac_n "(cached) $ac_c" 1>&6
1362 cat > conftest.
$ac_ext <<EOF
1363 #line 1364 "configure"
1364 #include "confdefs.h"
1365 #include <features.h>
1368 #if !__GLIBC_PREREQ(2, 1)
1374 if { (eval echo configure
:1375: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1380 echo "configure: failed program was:" >&5
1381 cat conftest.
$ac_ext >&5
1392 echo "$ac_t""$wx_lib_glibc21" 1>&6
1393 if test "$wx_lib_glibc21" = "yes"; then
1394 cat >> confdefs.h
<<\EOF
1395 #define wxHAVE_GLIBC2 1
1404 wx_arg_cache_file
="configarg.cache"
1405 echo "loading argument cache $wx_arg_cache_file"
1406 rm -f ${wx_arg_cache_file}.tmp
1407 touch ${wx_arg_cache_file}.tmp
1408 touch ${wx_arg_cache_file}
1412 if test $DEBUG_CONFIGURE = 1; then
1413 DEFAULT_wxUSE_UNIVERSAL
=no
1415 DEFAULT_wxUSE_THREADS
=yes
1417 DEFAULT_wxUSE_SHARED
=yes
1418 DEFAULT_wxUSE_SONAME
=no
1419 DEFAULT_wxUSE_OPTIMISE
=no
1420 DEFAULT_wxUSE_PROFILE
=no
1421 DEFAULT_wxUSE_NO_DEPS
=no
1422 DEFAULT_wxUSE_NO_RTTI
=yes
1423 DEFAULT_wxUSE_NO_EXCEPTIONS
=yes
1424 DEFAULT_wxUSE_PERMISSIVE
=no
1425 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1426 DEFAULT_wxUSE_DEBUG_INFO
=yes
1427 DEFAULT_wxUSE_DEBUG_GDB
=yes
1428 DEFAULT_wxUSE_MEM_TRACING
=no
1429 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1430 DEFAULT_wxUSE_DMALLOC
=no
1431 DEFAULT_wxUSE_PRECOMP
=yes
1432 DEFAULT_wxUSE_APPLE_IEEE
=no
1434 DEFAULT_wxUSE_LOG
=yes
1435 DEFAULT_wxUSE_LOGWINDOW
=no
1436 DEFAULT_wxUSE_LOGGUI
=no
1437 DEFAULT_wxUSE_LOGDIALOG
=no
1439 DEFAULT_wxUSE_GUI
=yes
1440 DEFAULT_wxUSE_CONTROLS
=no
1442 DEFAULT_wxUSE_REGEX
=no
1443 DEFAULT_wxUSE_ZLIB
=no
1444 DEFAULT_wxUSE_LIBPNG
=no
1445 DEFAULT_wxUSE_LIBJPEG
=no
1446 DEFAULT_wxUSE_LIBTIFF
=no
1447 DEFAULT_wxUSE_ODBC
=no
1448 DEFAULT_wxUSE_FREETYPE
=no
1449 DEFAULT_wxUSE_OPENGL
=no
1451 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
1452 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
1453 DEFAULT_wxUSE_STD_IOSTREAM
=no
1454 DEFAULT_wxUSE_CMDLINE_PARSER
=no
1455 DEFAULT_wxUSE_DATETIME
=no
1456 DEFAULT_wxUSE_TIMEDATE
=no
1457 DEFAULT_wxUSE_TIMER
=no
1458 DEFAULT_wxUSE_STOPWATCH
=no
1459 DEFAULT_wxUSE_FILE
=no
1460 DEFAULT_wxUSE_FFILE
=no
1461 DEFAULT_wxUSE_TEXTBUFFER
=no
1462 DEFAULT_wxUSE_TEXTFILE
=no
1463 DEFAULT_wxUSE_WAVE
=no
1464 DEFAULT_wxUSE_INTL
=no
1465 DEFAULT_wxUSE_CONFIG
=no
1466 DEFAULT_wxUSE_FONTMAP
=no
1467 DEFAULT_wxUSE_STREAMS
=no
1468 DEFAULT_wxUSE_SOCKETS
=no
1469 DEFAULT_wxUSE_DIALUP_MANAGER
=no
1470 DEFAULT_wxUSE_JOYSTICK
=no
1471 DEFAULT_wxUSE_DYNLIB_CLASS
=no
1472 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
1473 DEFAULT_wxUSE_LONGLONG
=no
1474 DEFAULT_wxUSE_GEOMETRY
=no
1476 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
1477 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
1478 DEFAULT_wxUSE_POSTSCRIPT
=no
1480 DEFAULT_wxUSE_X_RESOURCES
=no
1481 DEFAULT_wxUSE_CLIPBOARD
=no
1482 DEFAULT_wxUSE_TOOLTIPS
=no
1483 DEFAULT_wxUSE_DRAG_AND_DROP
=no
1484 DEFAULT_wxUSE_DRAGIMAGE
=no
1485 DEFAULT_wxUSE_SPLINES
=no
1487 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
1488 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
1489 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
1491 DEFAULT_wxUSE_PROLOGIO
=no
1492 DEFAULT_wxUSE_RESOURCES
=no
1493 DEFAULT_wxUSE_CONSTRAINTS
=no
1494 DEFAULT_wxUSE_IPC
=no
1495 DEFAULT_wxUSE_HELP
=no
1496 DEFAULT_wxUSE_MS_HTML_HELP
=no
1497 DEFAULT_wxUSE_WXHTML_HELP
=no
1498 DEFAULT_wxUSE_TREELAYOUT
=no
1499 DEFAULT_wxUSE_METAFILE
=no
1500 DEFAULT_wxUSE_MIMETYPE
=no
1501 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
1503 DEFAULT_wxUSE_COMMONDLGS
=no
1504 DEFAULT_wxUSE_CHOICEDLG
=no
1505 DEFAULT_wxUSE_COLOURDLG
=no
1506 DEFAULT_wxUSE_DIRDLG
=no
1507 DEFAULT_wxUSE_FILEDLG
=no
1508 DEFAULT_wxUSE_FINDREPLDLG
=no
1509 DEFAULT_wxUSE_FONTDLG
=no
1510 DEFAULT_wxUSE_MSGDLG
=no
1511 DEFAULT_wxUSE_NUMBERDLG
=no
1512 DEFAULT_wxUSE_TEXTDLG
=no
1513 DEFAULT_wxUSE_SPLASH
=no
1514 DEFAULT_wxUSE_STARTUP_TIPS
=no
1515 DEFAULT_wxUSE_PROGRESSDLG
=no
1516 DEFAULT_wxUSE_WIZARDDLG
=no
1518 DEFAULT_wxUSE_MENUS
=no
1519 DEFAULT_wxUSE_MINIFRAME
=no
1520 DEFAULT_wxUSE_HTML
=no
1521 DEFAULT_wxUSE_FILESYSTEM
=no
1522 DEFAULT_wxUSE_FS_INET
=no
1523 DEFAULT_wxUSE_FS_ZIP
=no
1524 DEFAULT_wxUSE_BUSYINFO
=no
1525 DEFAULT_wxUSE_ZIPSTREAM
=no
1526 DEFAULT_wxUSE_VALIDATORS
=no
1528 DEFAULT_wxUSE_ACCEL
=no
1529 DEFAULT_wxUSE_BUTTON
=no
1530 DEFAULT_wxUSE_BMPBUTTON
=no
1531 DEFAULT_wxUSE_CALCTRL
=no
1532 DEFAULT_wxUSE_CARET
=no
1533 DEFAULT_wxUSE_CHECKBOX
=no
1534 DEFAULT_wxUSE_CHECKLST
=no
1535 DEFAULT_wxUSE_CHOICE
=no
1536 DEFAULT_wxUSE_COMBOBOX
=no
1537 DEFAULT_wxUSE_GAUGE
=no
1538 DEFAULT_wxUSE_GRID
=no
1539 DEFAULT_wxUSE_NEW_GRID
=no
1540 DEFAULT_wxUSE_IMAGLIST
=no
1541 DEFAULT_wxUSE_LISTBOX
=no
1542 DEFAULT_wxUSE_LISTCTRL
=no
1543 DEFAULT_wxUSE_NOTEBOOK
=no
1544 DEFAULT_wxUSE_PROPSHEET
=no
1545 DEFAULT_wxUSE_RADIOBOX
=no
1546 DEFAULT_wxUSE_RADIOBTN
=no
1547 DEFAULT_wxUSE_SASH
=no
1548 DEFAULT_wxUSE_SCROLLBAR
=no
1549 DEFAULT_wxUSE_SLIDER
=no
1550 DEFAULT_wxUSE_SPINBTN
=no
1551 DEFAULT_wxUSE_SPINCTRL
=no
1552 DEFAULT_wxUSE_SPLITTER
=no
1553 DEFAULT_wxUSE_STATBMP
=no
1554 DEFAULT_wxUSE_STATBOX
=no
1555 DEFAULT_wxUSE_STATLINE
=no
1556 DEFAULT_wxUSE_STATTEXT
=no
1557 DEFAULT_wxUSE_STATUSBAR
=yes
1558 DEFAULT_wxUSE_TABDIALOG
=no
1559 DEFAULT_wxUSE_TEXTCTRL
=no
1560 DEFAULT_wxUSE_TOGGLEBTN
=no
1561 DEFAULT_wxUSE_TOOLBAR
=no
1562 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
1563 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
1564 DEFAULT_wxUSE_TREECTRL
=no
1565 DEFAULT_wxUSE_POPUPWIN
=no
1566 DEFAULT_wxUSE_TIPWINDOW
=no
1568 DEFAULT_wxUSE_UNICODE
=no
1569 DEFAULT_wxUSE_WCSRTOMBS
=no
1571 DEFAULT_wxUSE_PALETTE
=no
1572 DEFAULT_wxUSE_IMAGE
=no
1573 DEFAULT_wxUSE_GIF
=no
1574 DEFAULT_wxUSE_PCX
=no
1575 DEFAULT_wxUSE_PNM
=no
1576 DEFAULT_wxUSE_XPM
=no
1578 DEFAULT_wxUSE_UNIVERSAL
=no
1580 DEFAULT_wxUSE_THREADS
=yes
1582 DEFAULT_wxUSE_SHARED
=yes
1583 DEFAULT_wxUSE_SONAME
=no
1584 DEFAULT_wxUSE_OPTIMISE
=yes
1585 DEFAULT_wxUSE_PROFILE
=no
1586 DEFAULT_wxUSE_NO_DEPS
=no
1587 DEFAULT_wxUSE_NO_RTTI
=yes
1588 DEFAULT_wxUSE_NO_EXCEPTIONS
=yes
1589 DEFAULT_wxUSE_PERMISSIVE
=no
1590 DEFAULT_wxUSE_DEBUG_FLAG
=no
1591 DEFAULT_wxUSE_DEBUG_INFO
=no
1592 DEFAULT_wxUSE_DEBUG_GDB
=no
1593 DEFAULT_wxUSE_MEM_TRACING
=no
1594 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1595 DEFAULT_wxUSE_DMALLOC
=no
1596 DEFAULT_wxUSE_PRECOMP
=yes
1597 DEFAULT_wxUSE_APPLE_IEEE
=yes
1599 DEFAULT_wxUSE_LOG
=yes
1600 DEFAULT_wxUSE_LOGWINDOW
=yes
1601 DEFAULT_wxUSE_LOGGUI
=yes
1602 DEFAULT_wxUSE_LOGDIALOG
=yes
1604 DEFAULT_wxUSE_GUI
=yes
1606 DEFAULT_wxUSE_REGEX
=yes
1607 DEFAULT_wxUSE_ZLIB
=yes
1608 DEFAULT_wxUSE_LIBPNG
=yes
1609 DEFAULT_wxUSE_LIBJPEG
=yes
1610 DEFAULT_wxUSE_LIBTIFF
=yes
1611 DEFAULT_wxUSE_ODBC
=no
1612 DEFAULT_wxUSE_FREETYPE
=no
1613 DEFAULT_wxUSE_OPENGL
=no
1615 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
1616 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
1617 DEFAULT_wxUSE_STD_IOSTREAM
=no
1618 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
1619 DEFAULT_wxUSE_DATETIME
=yes
1620 DEFAULT_wxUSE_TIMEDATE
=no
1621 DEFAULT_wxUSE_TIMER
=yes
1622 DEFAULT_wxUSE_STOPWATCH
=yes
1623 DEFAULT_wxUSE_FILE
=yes
1624 DEFAULT_wxUSE_FFILE
=yes
1625 DEFAULT_wxUSE_TEXTBUFFER
=yes
1626 DEFAULT_wxUSE_TEXTFILE
=yes
1627 DEFAULT_wxUSE_WAVE
=no
1628 DEFAULT_wxUSE_INTL
=yes
1629 DEFAULT_wxUSE_CONFIG
=yes
1630 DEFAULT_wxUSE_FONTMAP
=yes
1631 DEFAULT_wxUSE_STREAMS
=yes
1632 DEFAULT_wxUSE_SOCKETS
=yes
1633 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
1634 DEFAULT_wxUSE_JOYSTICK
=yes
1635 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
1636 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
1637 DEFAULT_wxUSE_LONGLONG
=yes
1638 DEFAULT_wxUSE_GEOMETRY
=yes
1640 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
1641 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
1642 DEFAULT_wxUSE_POSTSCRIPT
=yes
1644 DEFAULT_wxUSE_X_RESOURCES
=no
1645 DEFAULT_wxUSE_CLIPBOARD
=yes
1646 DEFAULT_wxUSE_TOOLTIPS
=yes
1647 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
1648 DEFAULT_wxUSE_DRAGIMAGE
=yes
1649 DEFAULT_wxUSE_SPLINES
=yes
1651 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
1652 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
1653 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
1655 DEFAULT_wxUSE_PROLOGIO
=yes
1656 DEFAULT_wxUSE_RESOURCES
=yes
1657 DEFAULT_wxUSE_CONSTRAINTS
=yes
1658 DEFAULT_wxUSE_IPC
=yes
1659 DEFAULT_wxUSE_HELP
=yes
1660 DEFAULT_wxUSE_MS_HTML_HELP
=yes
1661 DEFAULT_wxUSE_WXHTML_HELP
=yes
1662 DEFAULT_wxUSE_TREELAYOUT
=yes
1663 DEFAULT_wxUSE_METAFILE
=yes
1664 DEFAULT_wxUSE_MIMETYPE
=yes
1665 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
1667 DEFAULT_wxUSE_COMMONDLGS
=yes
1668 DEFAULT_wxUSE_CHOICEDLG
=yes
1669 DEFAULT_wxUSE_COLOURDLG
=yes
1670 DEFAULT_wxUSE_DIRDLG
=yes
1671 DEFAULT_wxUSE_FILEDLG
=yes
1672 DEFAULT_wxUSE_FINDREPLDLG
=yes
1673 DEFAULT_wxUSE_FONTDLG
=yes
1674 DEFAULT_wxUSE_MSGDLG
=yes
1675 DEFAULT_wxUSE_NUMBERDLG
=yes
1676 DEFAULT_wxUSE_TEXTDLG
=yes
1677 DEFAULT_wxUSE_SPLASH
=yes
1678 DEFAULT_wxUSE_STARTUP_TIPS
=yes
1679 DEFAULT_wxUSE_PROGRESSDLG
=yes
1680 DEFAULT_wxUSE_WIZARDDLG
=yes
1682 DEFAULT_wxUSE_MENUS
=yes
1683 DEFAULT_wxUSE_MINIFRAME
=yes
1684 DEFAULT_wxUSE_HTML
=yes
1685 DEFAULT_wxUSE_FILESYSTEM
=yes
1686 DEFAULT_wxUSE_FS_INET
=yes
1687 DEFAULT_wxUSE_FS_ZIP
=yes
1688 DEFAULT_wxUSE_BUSYINFO
=yes
1689 DEFAULT_wxUSE_ZIPSTREAM
=yes
1690 DEFAULT_wxUSE_VALIDATORS
=yes
1692 DEFAULT_wxUSE_ACCEL
=yes
1693 DEFAULT_wxUSE_BUTTON
=yes
1694 DEFAULT_wxUSE_BMPBUTTON
=yes
1695 DEFAULT_wxUSE_CALCTRL
=yes
1696 DEFAULT_wxUSE_CARET
=yes
1697 DEFAULT_wxUSE_CHECKBOX
=yes
1698 DEFAULT_wxUSE_CHECKLST
=yes
1699 DEFAULT_wxUSE_CHOICE
=yes
1700 DEFAULT_wxUSE_COMBOBOX
=yes
1701 DEFAULT_wxUSE_GAUGE
=yes
1702 DEFAULT_wxUSE_GRID
=yes
1703 DEFAULT_wxUSE_NEW_GRID
=yes
1704 DEFAULT_wxUSE_IMAGLIST
=yes
1705 DEFAULT_wxUSE_LISTBOX
=yes
1706 DEFAULT_wxUSE_LISTCTRL
=yes
1707 DEFAULT_wxUSE_NOTEBOOK
=yes
1708 DEFAULT_wxUSE_PROPSHEET
=yes
1709 DEFAULT_wxUSE_RADIOBOX
=yes
1710 DEFAULT_wxUSE_RADIOBTN
=yes
1711 DEFAULT_wxUSE_SASH
=yes
1712 DEFAULT_wxUSE_SCROLLBAR
=yes
1713 DEFAULT_wxUSE_SLIDER
=yes
1714 DEFAULT_wxUSE_SPINBTN
=yes
1715 DEFAULT_wxUSE_SPINCTRL
=yes
1716 DEFAULT_wxUSE_SPLITTER
=yes
1717 DEFAULT_wxUSE_STATBMP
=yes
1718 DEFAULT_wxUSE_STATBOX
=yes
1719 DEFAULT_wxUSE_STATLINE
=yes
1720 DEFAULT_wxUSE_STATTEXT
=yes
1721 DEFAULT_wxUSE_STATUSBAR
=yes
1722 DEFAULT_wxUSE_TABDIALOG
=no
1723 DEFAULT_wxUSE_TEXTCTRL
=yes
1724 DEFAULT_wxUSE_TOGGLEBTN
=yes
1725 DEFAULT_wxUSE_TOOLBAR
=yes
1726 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
1727 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
1728 DEFAULT_wxUSE_TREECTRL
=yes
1729 DEFAULT_wxUSE_POPUPWIN
=yes
1730 DEFAULT_wxUSE_TIPWINDOW
=yes
1732 DEFAULT_wxUSE_UNICODE
=no
1733 DEFAULT_wxUSE_WCSRTOMBS
=no
1735 DEFAULT_wxUSE_PALETTE
=yes
1736 DEFAULT_wxUSE_IMAGE
=yes
1737 DEFAULT_wxUSE_GIF
=yes
1738 DEFAULT_wxUSE_PCX
=yes
1739 DEFAULT_wxUSE_PNM
=yes
1740 DEFAULT_wxUSE_XPM
=yes
1745 for toolkit
in `echo $ALL_TOOLKITS`; do
1746 LINE
=`grep "wxUSE_$toolkit" ${wx_arg_cache_file}`
1747 if test "x$LINE" != x
; then
1748 has_toolkit_in_cache
=1
1749 eval "DEFAULT_$LINE"
1750 eval "CACHE_$toolkit=1"
1756 echo $ac_n "checking for --enable-gui""... $ac_c" 1>&6
1757 echo "configure:1758: checking for --enable-gui" >&5
1759 # Check whether --enable-gui or --disable-gui was given.
1760 if test "${enable_gui+set}" = set; then
1761 enableval
="$enable_gui"
1763 if test "$enableval" = yes; then
1764 ac_cv_use_gui
='wxUSE_GUI=yes'
1766 ac_cv_use_gui
='wxUSE_GUI=no'
1771 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
1772 if test "x$LINE" != x
; then
1773 eval "DEFAULT_$LINE"
1778 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
1783 eval "$ac_cv_use_gui"
1784 if test "$no_cache" != 1; then
1785 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
1788 if test "$wxUSE_GUI" = yes; then
1789 echo "$ac_t""yes" 1>&6
1791 echo "$ac_t""no" 1>&6
1795 if test "$wxUSE_GUI" = "yes"; then
1798 echo $ac_n "checking for --enable-universal""... $ac_c" 1>&6
1799 echo "configure:1800: checking for --enable-universal" >&5
1801 # Check whether --enable-universal or --disable-universal was given.
1802 if test "${enable_universal+set}" = set; then
1803 enableval
="$enable_universal"
1805 if test "$enableval" = yes; then
1806 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
1808 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
1813 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
1814 if test "x$LINE" != x
; then
1815 eval "DEFAULT_$LINE"
1820 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
1825 eval "$ac_cv_use_universal"
1826 if test "$no_cache" != 1; then
1827 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
1830 if test "$wxUSE_UNIVERSAL" = yes; then
1831 echo "$ac_t""yes" 1>&6
1833 echo "$ac_t""no" 1>&6
1836 # Check whether --with-gtk or --without-gtk was given.
1837 if test "${with_gtk+set}" = set; then
1839 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
1842 # Check whether --with-motif or --without-motif was given.
1843 if test "${with_motif+set}" = set; then
1844 withval
="$with_motif"
1845 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
1848 # Check whether --with-mac or --without-mac was given.
1849 if test "${with_mac+set}" = set; then
1851 wxUSE_MAC
="$withval" TOOLKIT_GIVEN
=1
1854 # Check whether --with-wine or --without-wine was given.
1855 if test "${with_wine+set}" = set; then
1856 withval
="$with_wine"
1857 wxUSE_WINE
="$withval" CACHE_WINE
=1 TOOLKIT_GIVEN
=1
1860 # Check whether --with-msw or --without-msw was given.
1861 if test "${with_msw+set}" = set; then
1863 wxUSE_MSW
="$withval" CACHE_MSW TOOLKIT_GIVEN
=1
1866 # Check whether --with-pm or --without-pm was given.
1867 if test "${with_pm+set}" = set; then
1869 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
1872 # Check whether --with-mgl or --without-mgl was given.
1873 if test "${with_mgl+set}" = set; then
1875 wxUSE_MGL
="$withval" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
1878 # Check whether --with-microwin or --without-microwin was given.
1879 if test "${with_microwin+set}" = set; then
1880 withval
="$with_microwin"
1881 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
1885 # Check whether --enable-gtk2 or --disable-gtk2 was given.
1886 if test "${enable_gtk2+set}" = set; then
1887 enableval
="$enable_gtk2"
1895 echo $ac_n "checking for --with-libpng""... $ac_c" 1>&6
1896 echo "configure:1897: checking for --with-libpng" >&5
1898 # Check whether --with-libpng or --without-libpng was given.
1899 if test "${with_libpng+set}" = set; then
1900 withval
="$with_libpng"
1902 if test "$withval" = yes; then
1903 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
1904 elif test "$withval" = no
; then
1905 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
1906 elif test "$withval" = sys
; then
1907 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
1908 elif test "$withval" = builtin; then
1909 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
1911 { echo "configure: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" 1>&2; exit 1; }
1916 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
1917 if test "x$LINE" != x
; then
1918 eval "DEFAULT_$LINE"
1923 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
1928 eval "$ac_cv_use_libpng"
1929 if test "$no_cache" != 1; then
1930 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
1933 if test "$wxUSE_LIBPNG" = yes; then
1934 echo "$ac_t""yes" 1>&6
1935 elif test "$wxUSE_LIBPNG" = no
; then
1936 echo "$ac_t""no" 1>&6
1937 elif test "$wxUSE_LIBPNG" = sys
; then
1938 echo "$ac_t""system version" 1>&6
1939 elif test "$wxUSE_LIBPNG" = builtin; then
1940 echo "$ac_t""builtin version" 1>&6
1942 { echo "configure: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" 1>&2; exit 1; }
1946 echo $ac_n "checking for --with-libjpeg""... $ac_c" 1>&6
1947 echo "configure:1948: checking for --with-libjpeg" >&5
1949 # Check whether --with-libjpeg or --without-libjpeg was given.
1950 if test "${with_libjpeg+set}" = set; then
1951 withval
="$with_libjpeg"
1953 if test "$withval" = yes; then
1954 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
1955 elif test "$withval" = no
; then
1956 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
1957 elif test "$withval" = sys
; then
1958 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
1959 elif test "$withval" = builtin; then
1960 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
1962 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" 1>&2; exit 1; }
1967 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
1968 if test "x$LINE" != x
; then
1969 eval "DEFAULT_$LINE"
1974 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
1979 eval "$ac_cv_use_libjpeg"
1980 if test "$no_cache" != 1; then
1981 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
1984 if test "$wxUSE_LIBJPEG" = yes; then
1985 echo "$ac_t""yes" 1>&6
1986 elif test "$wxUSE_LIBJPEG" = no
; then
1987 echo "$ac_t""no" 1>&6
1988 elif test "$wxUSE_LIBJPEG" = sys
; then
1989 echo "$ac_t""system version" 1>&6
1990 elif test "$wxUSE_LIBJPEG" = builtin; then
1991 echo "$ac_t""builtin version" 1>&6
1993 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" 1>&2; exit 1; }
1997 echo $ac_n "checking for --with-libtiff""... $ac_c" 1>&6
1998 echo "configure:1999: checking for --with-libtiff" >&5
2000 # Check whether --with-libtiff or --without-libtiff was given.
2001 if test "${with_libtiff+set}" = set; then
2002 withval
="$with_libtiff"
2004 if test "$withval" = yes; then
2005 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
2006 elif test "$withval" = no
; then
2007 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
2008 elif test "$withval" = sys
; then
2009 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
2010 elif test "$withval" = builtin; then
2011 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
2013 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2018 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2019 if test "x$LINE" != x
; then
2020 eval "DEFAULT_$LINE"
2025 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2030 eval "$ac_cv_use_libtiff"
2031 if test "$no_cache" != 1; then
2032 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2035 if test "$wxUSE_LIBTIFF" = yes; then
2036 echo "$ac_t""yes" 1>&6
2037 elif test "$wxUSE_LIBTIFF" = no
; then
2038 echo "$ac_t""no" 1>&6
2039 elif test "$wxUSE_LIBTIFF" = sys
; then
2040 echo "$ac_t""system version" 1>&6
2041 elif test "$wxUSE_LIBTIFF" = builtin; then
2042 echo "$ac_t""builtin version" 1>&6
2044 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2048 echo $ac_n "checking for --with-freetype""... $ac_c" 1>&6
2049 echo "configure:2050: checking for --with-freetype" >&5
2051 # Check whether --with-freetype or --without-freetype was given.
2052 if test "${with_freetype+set}" = set; then
2053 withval
="$with_freetype"
2055 if test "$withval" = yes; then
2056 ac_cv_use_freetype
='wxUSE_FREETYPE=yes'
2057 elif test "$withval" = no
; then
2058 ac_cv_use_freetype
='wxUSE_FREETYPE=no'
2059 elif test "$withval" = sys
; then
2060 ac_cv_use_freetype
='wxUSE_FREETYPE=sys'
2061 elif test "$withval" = builtin; then
2062 ac_cv_use_freetype
='wxUSE_FREETYPE=builtin'
2064 { echo "configure: error: Invalid value for --with-freetype: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2069 LINE
=`grep "wxUSE_FREETYPE" ${wx_arg_cache_file}`
2070 if test "x$LINE" != x
; then
2071 eval "DEFAULT_$LINE"
2076 ac_cv_use_freetype
='wxUSE_FREETYPE='$DEFAULT_wxUSE_FREETYPE
2081 eval "$ac_cv_use_freetype"
2082 if test "$no_cache" != 1; then
2083 echo $ac_cv_use_freetype >> ${wx_arg_cache_file}.tmp
2086 if test "$wxUSE_FREETYPE" = yes; then
2087 echo "$ac_t""yes" 1>&6
2088 elif test "$wxUSE_FREETYPE" = no
; then
2089 echo "$ac_t""no" 1>&6
2090 elif test "$wxUSE_FREETYPE" = sys
; then
2091 echo "$ac_t""system version" 1>&6
2092 elif test "$wxUSE_FREETYPE" = builtin; then
2093 echo "$ac_t""builtin version" 1>&6
2095 { echo "configure: error: Invalid value for --with-freetype: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2099 echo $ac_n "checking for --with-opengl""... $ac_c" 1>&6
2100 echo "configure:2101: checking for --with-opengl" >&5
2102 # Check whether --with-opengl or --without-opengl was given.
2103 if test "${with_opengl+set}" = set; then
2104 withval
="$with_opengl"
2106 if test "$withval" = yes; then
2107 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
2109 ac_cv_use_opengl
='wxUSE_OPENGL=no'
2114 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2115 if test "x$LINE" != x
; then
2116 eval "DEFAULT_$LINE"
2121 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
2126 eval "$ac_cv_use_opengl"
2127 if test "$no_cache" != 1; then
2128 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2131 if test "$wxUSE_OPENGL" = yes; then
2132 echo "$ac_t""yes" 1>&6
2134 echo "$ac_t""no" 1>&6
2141 echo $ac_n "checking for --with-dmalloc""... $ac_c" 1>&6
2142 echo "configure:2143: checking for --with-dmalloc" >&5
2144 # Check whether --with-dmalloc or --without-dmalloc was given.
2145 if test "${with_dmalloc+set}" = set; then
2146 withval
="$with_dmalloc"
2148 if test "$withval" = yes; then
2149 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
2151 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
2156 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2157 if test "x$LINE" != x
; then
2158 eval "DEFAULT_$LINE"
2163 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
2168 eval "$ac_cv_use_dmalloc"
2169 if test "$no_cache" != 1; then
2170 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2173 if test "$wxUSE_DMALLOC" = yes; then
2174 echo "$ac_t""yes" 1>&6
2176 echo "$ac_t""no" 1>&6
2180 echo $ac_n "checking for --with-regex""... $ac_c" 1>&6
2181 echo "configure:2182: checking for --with-regex" >&5
2183 # Check whether --with-regex or --without-regex was given.
2184 if test "${with_regex+set}" = set; then
2185 withval
="$with_regex"
2187 if test "$withval" = yes; then
2188 ac_cv_use_regex
='wxUSE_REGEX=yes'
2189 elif test "$withval" = no
; then
2190 ac_cv_use_regex
='wxUSE_REGEX=no'
2191 elif test "$withval" = sys
; then
2192 ac_cv_use_regex
='wxUSE_REGEX=sys'
2193 elif test "$withval" = builtin; then
2194 ac_cv_use_regex
='wxUSE_REGEX=builtin'
2196 { echo "configure: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2201 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
2202 if test "x$LINE" != x
; then
2203 eval "DEFAULT_$LINE"
2208 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
2213 eval "$ac_cv_use_regex"
2214 if test "$no_cache" != 1; then
2215 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
2218 if test "$wxUSE_REGEX" = yes; then
2219 echo "$ac_t""yes" 1>&6
2220 elif test "$wxUSE_REGEX" = no
; then
2221 echo "$ac_t""no" 1>&6
2222 elif test "$wxUSE_REGEX" = sys
; then
2223 echo "$ac_t""system version" 1>&6
2224 elif test "$wxUSE_REGEX" = builtin; then
2225 echo "$ac_t""builtin version" 1>&6
2227 { echo "configure: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2231 echo $ac_n "checking for --with-zlib""... $ac_c" 1>&6
2232 echo "configure:2233: checking for --with-zlib" >&5
2234 # Check whether --with-zlib or --without-zlib was given.
2235 if test "${with_zlib+set}" = set; then
2236 withval
="$with_zlib"
2238 if test "$withval" = yes; then
2239 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
2240 elif test "$withval" = no
; then
2241 ac_cv_use_zlib
='wxUSE_ZLIB=no'
2242 elif test "$withval" = sys
; then
2243 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
2244 elif test "$withval" = builtin; then
2245 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
2247 { echo "configure: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2252 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2253 if test "x$LINE" != x
; then
2254 eval "DEFAULT_$LINE"
2259 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
2264 eval "$ac_cv_use_zlib"
2265 if test "$no_cache" != 1; then
2266 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2269 if test "$wxUSE_ZLIB" = yes; then
2270 echo "$ac_t""yes" 1>&6
2271 elif test "$wxUSE_ZLIB" = no
; then
2272 echo "$ac_t""no" 1>&6
2273 elif test "$wxUSE_ZLIB" = sys
; then
2274 echo "$ac_t""system version" 1>&6
2275 elif test "$wxUSE_ZLIB" = builtin; then
2276 echo "$ac_t""builtin version" 1>&6
2278 { echo "configure: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2282 echo $ac_n "checking for --with-odbc""... $ac_c" 1>&6
2283 echo "configure:2284: checking for --with-odbc" >&5
2285 # Check whether --with-odbc or --without-odbc was given.
2286 if test "${with_odbc+set}" = set; then
2287 withval
="$with_odbc"
2289 if test "$withval" = yes; then
2290 ac_cv_use_odbc
='wxUSE_ODBC=yes'
2292 ac_cv_use_odbc
='wxUSE_ODBC=no'
2297 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
2298 if test "x$LINE" != x
; then
2299 eval "DEFAULT_$LINE"
2304 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
2309 eval "$ac_cv_use_odbc"
2310 if test "$no_cache" != 1; then
2311 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
2314 if test "$wxUSE_ODBC" = yes; then
2315 echo "$ac_t""yes" 1>&6
2317 echo "$ac_t""no" 1>&6
2323 echo $ac_n "checking for --enable-shared""... $ac_c" 1>&6
2324 echo "configure:2325: checking for --enable-shared" >&5
2326 # Check whether --enable-shared or --disable-shared was given.
2327 if test "${enable_shared+set}" = set; then
2328 enableval
="$enable_shared"
2330 if test "$enableval" = yes; then
2331 ac_cv_use_shared
='wxUSE_SHARED=yes'
2333 ac_cv_use_shared
='wxUSE_SHARED=no'
2338 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
2339 if test "x$LINE" != x
; then
2340 eval "DEFAULT_$LINE"
2345 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
2350 eval "$ac_cv_use_shared"
2351 if test "$no_cache" != 1; then
2352 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
2355 if test "$wxUSE_SHARED" = yes; then
2356 echo "$ac_t""yes" 1>&6
2358 echo "$ac_t""no" 1>&6
2362 echo $ac_n "checking for --enable-soname""... $ac_c" 1>&6
2363 echo "configure:2364: checking for --enable-soname" >&5
2365 # Check whether --enable-soname or --disable-soname was given.
2366 if test "${enable_soname+set}" = set; then
2367 enableval
="$enable_soname"
2369 if test "$enableval" = yes; then
2370 ac_cv_use_soname
='wxUSE_SONAME=yes'
2372 ac_cv_use_soname
='wxUSE_SONAME=no'
2377 LINE
=`grep "wxUSE_SONAME" ${wx_arg_cache_file}`
2378 if test "x$LINE" != x
; then
2379 eval "DEFAULT_$LINE"
2384 ac_cv_use_soname
='wxUSE_SONAME='$DEFAULT_wxUSE_SONAME
2389 eval "$ac_cv_use_soname"
2390 if test "$no_cache" != 1; then
2391 echo $ac_cv_use_soname >> ${wx_arg_cache_file}.tmp
2394 if test "$wxUSE_SONAME" = yes; then
2395 echo "$ac_t""yes" 1>&6
2397 echo "$ac_t""no" 1>&6
2401 echo $ac_n "checking for --enable-optimise""... $ac_c" 1>&6
2402 echo "configure:2403: checking for --enable-optimise" >&5
2404 # Check whether --enable-optimise or --disable-optimise was given.
2405 if test "${enable_optimise+set}" = set; then
2406 enableval
="$enable_optimise"
2408 if test "$enableval" = yes; then
2409 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
2411 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
2416 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
2417 if test "x$LINE" != x
; then
2418 eval "DEFAULT_$LINE"
2423 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
2428 eval "$ac_cv_use_optimise"
2429 if test "$no_cache" != 1; then
2430 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
2433 if test "$wxUSE_OPTIMISE" = yes; then
2434 echo "$ac_t""yes" 1>&6
2436 echo "$ac_t""no" 1>&6
2440 echo $ac_n "checking for --enable-debug""... $ac_c" 1>&6
2441 echo "configure:2442: checking for --enable-debug" >&5
2443 # Check whether --enable-debug or --disable-debug was given.
2444 if test "${enable_debug+set}" = set; then
2445 enableval
="$enable_debug"
2447 if test "$enableval" = yes; then
2448 ac_cv_use_debug
='wxUSE_DEBUG=yes'
2450 ac_cv_use_debug
='wxUSE_DEBUG=no'
2455 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
2456 if test "x$LINE" != x
; then
2457 eval "DEFAULT_$LINE"
2462 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
2467 eval "$ac_cv_use_debug"
2468 if test "$no_cache" != 1; then
2469 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
2472 if test "$wxUSE_DEBUG" = yes; then
2473 echo "$ac_t""yes" 1>&6
2475 echo "$ac_t""no" 1>&6
2480 echo $ac_n "checking for --enable-precomp""... $ac_c" 1>&6
2481 echo "configure:2482: checking for --enable-precomp" >&5
2483 # Check whether --enable-precomp or --disable-precomp was given.
2484 if test "${enable_precomp+set}" = set; then
2485 enableval
="$enable_precomp"
2487 if test "$enableval" = yes; then
2488 ac_cv_use_precomp
='wxUSE_PRECOMP=yes'
2490 ac_cv_use_precomp
='wxUSE_PRECOMP=no'
2495 LINE
=`grep "wxUSE_PRECOMP" ${wx_arg_cache_file}`
2496 if test "x$LINE" != x
; then
2497 eval "DEFAULT_$LINE"
2502 ac_cv_use_precomp
='wxUSE_PRECOMP='$DEFAULT_wxUSE_PRECOMP
2507 eval "$ac_cv_use_precomp"
2508 if test "$no_cache" != 1; then
2509 echo $ac_cv_use_precomp >> ${wx_arg_cache_file}.tmp
2512 if test "$wxUSE_PRECOMP" = yes; then
2513 echo "$ac_t""yes" 1>&6
2515 echo "$ac_t""no" 1>&6
2519 if test "$wxUSE_DEBUG" = "yes"; then
2520 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2521 DEFAULT_wxUSE_DEBUG_INFO
=yes
2522 elif test "$wxUSE_DEBUG" = "no"; then
2523 DEFAULT_wxUSE_DEBUG_FLAG
=no
2524 DEFAULT_wxUSE_DEBUG_INFO
=no
2528 echo $ac_n "checking for --enable-debug_flag""... $ac_c" 1>&6
2529 echo "configure:2530: checking for --enable-debug_flag" >&5
2531 # Check whether --enable-debug_flag or --disable-debug_flag was given.
2532 if test "${enable_debug_flag+set}" = set; then
2533 enableval
="$enable_debug_flag"
2535 if test "$enableval" = yes; then
2536 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
2538 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
2543 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
2544 if test "x$LINE" != x
; then
2545 eval "DEFAULT_$LINE"
2550 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
2555 eval "$ac_cv_use_debug_flag"
2556 if test "$no_cache" != 1; then
2557 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
2560 if test "$wxUSE_DEBUG_FLAG" = yes; then
2561 echo "$ac_t""yes" 1>&6
2563 echo "$ac_t""no" 1>&6
2567 echo $ac_n "checking for --enable-debug_info""... $ac_c" 1>&6
2568 echo "configure:2569: checking for --enable-debug_info" >&5
2570 # Check whether --enable-debug_info or --disable-debug_info was given.
2571 if test "${enable_debug_info+set}" = set; then
2572 enableval
="$enable_debug_info"
2574 if test "$enableval" = yes; then
2575 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
2577 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
2582 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
2583 if test "x$LINE" != x
; then
2584 eval "DEFAULT_$LINE"
2589 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
2594 eval "$ac_cv_use_debug_info"
2595 if test "$no_cache" != 1; then
2596 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
2599 if test "$wxUSE_DEBUG_INFO" = yes; then
2600 echo "$ac_t""yes" 1>&6
2602 echo "$ac_t""no" 1>&6
2606 echo $ac_n "checking for --enable-debug_gdb""... $ac_c" 1>&6
2607 echo "configure:2608: checking for --enable-debug_gdb" >&5
2609 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
2610 if test "${enable_debug_gdb+set}" = set; then
2611 enableval
="$enable_debug_gdb"
2613 if test "$enableval" = yes; then
2614 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
2616 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
2621 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
2622 if test "x$LINE" != x
; then
2623 eval "DEFAULT_$LINE"
2628 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
2633 eval "$ac_cv_use_debug_gdb"
2634 if test "$no_cache" != 1; then
2635 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
2638 if test "$wxUSE_DEBUG_GDB" = yes; then
2639 echo "$ac_t""yes" 1>&6
2641 echo "$ac_t""no" 1>&6
2645 echo $ac_n "checking for --enable-debug_cntxt""... $ac_c" 1>&6
2646 echo "configure:2647: checking for --enable-debug_cntxt" >&5
2648 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
2649 if test "${enable_debug_cntxt+set}" = set; then
2650 enableval
="$enable_debug_cntxt"
2652 if test "$enableval" = yes; then
2653 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
2655 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
2660 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2661 if test "x$LINE" != x
; then
2662 eval "DEFAULT_$LINE"
2667 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2672 eval "$ac_cv_use_debug_cntxt"
2673 if test "$no_cache" != 1; then
2674 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2677 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2678 echo "$ac_t""yes" 1>&6
2680 echo "$ac_t""no" 1>&6
2684 echo $ac_n "checking for --enable-mem_tracing""... $ac_c" 1>&6
2685 echo "configure:2686: checking for --enable-mem_tracing" >&5
2687 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2688 if test "${enable_mem_tracing+set}" = set; then
2689 enableval
="$enable_mem_tracing"
2691 if test "$enableval" = yes; then
2692 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
2694 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
2699 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2700 if test "x$LINE" != x
; then
2701 eval "DEFAULT_$LINE"
2706 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2711 eval "$ac_cv_use_mem_tracing"
2712 if test "$no_cache" != 1; then
2713 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2716 if test "$wxUSE_MEM_TRACING" = yes; then
2717 echo "$ac_t""yes" 1>&6
2719 echo "$ac_t""no" 1>&6
2723 echo $ac_n "checking for --enable-profile""... $ac_c" 1>&6
2724 echo "configure:2725: checking for --enable-profile" >&5
2726 # Check whether --enable-profile or --disable-profile was given.
2727 if test "${enable_profile+set}" = set; then
2728 enableval
="$enable_profile"
2730 if test "$enableval" = yes; then
2731 ac_cv_use_profile
='wxUSE_PROFILE=yes'
2733 ac_cv_use_profile
='wxUSE_PROFILE=no'
2738 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2739 if test "x$LINE" != x
; then
2740 eval "DEFAULT_$LINE"
2745 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2750 eval "$ac_cv_use_profile"
2751 if test "$no_cache" != 1; then
2752 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2755 if test "$wxUSE_PROFILE" = yes; then
2756 echo "$ac_t""yes" 1>&6
2758 echo "$ac_t""no" 1>&6
2762 echo $ac_n "checking for --enable-no_rtti""... $ac_c" 1>&6
2763 echo "configure:2764: checking for --enable-no_rtti" >&5
2765 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2766 if test "${enable_no_rtti+set}" = set; then
2767 enableval
="$enable_no_rtti"
2769 if test "$enableval" = yes; then
2770 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
2772 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
2777 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2778 if test "x$LINE" != x
; then
2779 eval "DEFAULT_$LINE"
2784 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2789 eval "$ac_cv_use_no_rtti"
2790 if test "$no_cache" != 1; then
2791 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2794 if test "$wxUSE_NO_RTTI" = yes; then
2795 echo "$ac_t""yes" 1>&6
2797 echo "$ac_t""no" 1>&6
2801 echo $ac_n "checking for --enable-no_exceptions""... $ac_c" 1>&6
2802 echo "configure:2803: checking for --enable-no_exceptions" >&5
2804 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2805 if test "${enable_no_exceptions+set}" = set; then
2806 enableval
="$enable_no_exceptions"
2808 if test "$enableval" = yes; then
2809 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
2811 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
2816 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2817 if test "x$LINE" != x
; then
2818 eval "DEFAULT_$LINE"
2823 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2828 eval "$ac_cv_use_no_exceptions"
2829 if test "$no_cache" != 1; then
2830 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2833 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2834 echo "$ac_t""yes" 1>&6
2836 echo "$ac_t""no" 1>&6
2840 echo $ac_n "checking for --enable-permissive""... $ac_c" 1>&6
2841 echo "configure:2842: checking for --enable-permissive" >&5
2843 # Check whether --enable-permissive or --disable-permissive was given.
2844 if test "${enable_permissive+set}" = set; then
2845 enableval
="$enable_permissive"
2847 if test "$enableval" = yes; then
2848 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
2850 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
2855 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2856 if test "x$LINE" != x
; then
2857 eval "DEFAULT_$LINE"
2862 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
2867 eval "$ac_cv_use_permissive"
2868 if test "$no_cache" != 1; then
2869 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
2872 if test "$wxUSE_PERMISSIVE" = yes; then
2873 echo "$ac_t""yes" 1>&6
2875 echo "$ac_t""no" 1>&6
2879 echo $ac_n "checking for --enable-no_deps""... $ac_c" 1>&6
2880 echo "configure:2881: checking for --enable-no_deps" >&5
2882 # Check whether --enable-no_deps or --disable-no_deps was given.
2883 if test "${enable_no_deps+set}" = set; then
2884 enableval
="$enable_no_deps"
2886 if test "$enableval" = yes; then
2887 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
2889 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
2894 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
2895 if test "x$LINE" != x
; then
2896 eval "DEFAULT_$LINE"
2901 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
2906 eval "$ac_cv_use_no_deps"
2907 if test "$no_cache" != 1; then
2908 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
2911 if test "$wxUSE_NO_DEPS" = yes; then
2912 echo "$ac_t""yes" 1>&6
2914 echo "$ac_t""no" 1>&6
2919 echo $ac_n "checking for --enable-compat20""... $ac_c" 1>&6
2920 echo "configure:2921: checking for --enable-compat20" >&5
2922 # Check whether --enable-compat20 or --disable-compat20 was given.
2923 if test "${enable_compat20+set}" = set; then
2924 enableval
="$enable_compat20"
2926 if test "$enableval" = yes; then
2927 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=yes'
2929 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=no'
2934 LINE
=`grep "WXWIN_COMPATIBILITY_2" ${wx_arg_cache_file}`
2935 if test "x$LINE" != x
; then
2936 eval "DEFAULT_$LINE"
2941 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2='$DEFAULT_WXWIN_COMPATIBILITY_2
2946 eval "$ac_cv_use_compat20"
2947 if test "$no_cache" != 1; then
2948 echo $ac_cv_use_compat20 >> ${wx_arg_cache_file}.tmp
2951 if test "$WXWIN_COMPATIBILITY_2" = yes; then
2952 echo "$ac_t""yes" 1>&6
2954 echo "$ac_t""no" 1>&6
2958 echo $ac_n "checking for --enable-compat22""... $ac_c" 1>&6
2959 echo "configure:2960: checking for --enable-compat22" >&5
2961 # Check whether --enable-compat22 or --disable-compat22 was given.
2962 if test "${enable_compat22+set}" = set; then
2963 enableval
="$enable_compat22"
2965 if test "$enableval" = yes; then
2966 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
2968 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
2973 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
2974 if test "x$LINE" != x
; then
2975 eval "DEFAULT_$LINE"
2980 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
2985 eval "$ac_cv_use_compat22"
2986 if test "$no_cache" != 1; then
2987 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
2990 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
2991 echo "$ac_t""yes" 1>&6
2993 echo "$ac_t""no" 1>&6
2999 echo $ac_n "checking for --enable-intl""... $ac_c" 1>&6
3000 echo "configure:3001: checking for --enable-intl" >&5
3002 # Check whether --enable-intl or --disable-intl was given.
3003 if test "${enable_intl+set}" = set; then
3004 enableval
="$enable_intl"
3006 if test "$enableval" = yes; then
3007 ac_cv_use_intl
='wxUSE_INTL=yes'
3009 ac_cv_use_intl
='wxUSE_INTL=no'
3014 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
3015 if test "x$LINE" != x
; then
3016 eval "DEFAULT_$LINE"
3021 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
3026 eval "$ac_cv_use_intl"
3027 if test "$no_cache" != 1; then
3028 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
3031 if test "$wxUSE_INTL" = yes; then
3032 echo "$ac_t""yes" 1>&6
3034 echo "$ac_t""no" 1>&6
3038 echo $ac_n "checking for --enable-config""... $ac_c" 1>&6
3039 echo "configure:3040: checking for --enable-config" >&5
3041 # Check whether --enable-config or --disable-config was given.
3042 if test "${enable_config+set}" = set; then
3043 enableval
="$enable_config"
3045 if test "$enableval" = yes; then
3046 ac_cv_use_config
='wxUSE_CONFIG=yes'
3048 ac_cv_use_config
='wxUSE_CONFIG=no'
3053 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
3054 if test "x$LINE" != x
; then
3055 eval "DEFAULT_$LINE"
3060 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
3065 eval "$ac_cv_use_config"
3066 if test "$no_cache" != 1; then
3067 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
3070 if test "$wxUSE_CONFIG" = yes; then
3071 echo "$ac_t""yes" 1>&6
3073 echo "$ac_t""no" 1>&6
3078 echo $ac_n "checking for --enable-sockets""... $ac_c" 1>&6
3079 echo "configure:3080: checking for --enable-sockets" >&5
3081 # Check whether --enable-sockets or --disable-sockets was given.
3082 if test "${enable_sockets+set}" = set; then
3083 enableval
="$enable_sockets"
3085 if test "$enableval" = yes; then
3086 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
3088 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
3093 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
3094 if test "x$LINE" != x
; then
3095 eval "DEFAULT_$LINE"
3100 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
3105 eval "$ac_cv_use_sockets"
3106 if test "$no_cache" != 1; then
3107 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
3110 if test "$wxUSE_SOCKETS" = yes; then
3111 echo "$ac_t""yes" 1>&6
3113 echo "$ac_t""no" 1>&6
3118 echo $ac_n "checking for --enable-ipc""... $ac_c" 1>&6
3119 echo "configure:3120: checking for --enable-ipc" >&5
3121 # Check whether --enable-ipc or --disable-ipc was given.
3122 if test "${enable_ipc+set}" = set; then
3123 enableval
="$enable_ipc"
3125 if test "$enableval" = yes; then
3126 ac_cv_use_ipc
='wxUSE_IPC=yes'
3128 ac_cv_use_ipc
='wxUSE_IPC=no'
3133 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
3134 if test "x$LINE" != x
; then
3135 eval "DEFAULT_$LINE"
3140 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
3145 eval "$ac_cv_use_ipc"
3146 if test "$no_cache" != 1; then
3147 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
3150 if test "$wxUSE_IPC" = yes; then
3151 echo "$ac_t""yes" 1>&6
3153 echo "$ac_t""no" 1>&6
3158 echo $ac_n "checking for --enable-cmdline""... $ac_c" 1>&6
3159 echo "configure:3160: checking for --enable-cmdline" >&5
3161 # Check whether --enable-cmdline or --disable-cmdline was given.
3162 if test "${enable_cmdline+set}" = set; then
3163 enableval
="$enable_cmdline"
3165 if test "$enableval" = yes; then
3166 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
3168 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
3173 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
3174 if test "x$LINE" != x
; then
3175 eval "DEFAULT_$LINE"
3180 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
3185 eval "$ac_cv_use_cmdline"
3186 if test "$no_cache" != 1; then
3187 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
3190 if test "$wxUSE_CMDLINE_PARSER" = yes; then
3191 echo "$ac_t""yes" 1>&6
3193 echo "$ac_t""no" 1>&6
3197 echo $ac_n "checking for --enable-datetime""... $ac_c" 1>&6
3198 echo "configure:3199: checking for --enable-datetime" >&5
3200 # Check whether --enable-datetime or --disable-datetime was given.
3201 if test "${enable_datetime+set}" = set; then
3202 enableval
="$enable_datetime"
3204 if test "$enableval" = yes; then
3205 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
3207 ac_cv_use_datetime
='wxUSE_DATETIME=no'
3212 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
3213 if test "x$LINE" != x
; then
3214 eval "DEFAULT_$LINE"
3219 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
3224 eval "$ac_cv_use_datetime"
3225 if test "$no_cache" != 1; then
3226 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
3229 if test "$wxUSE_DATETIME" = yes; then
3230 echo "$ac_t""yes" 1>&6
3232 echo "$ac_t""no" 1>&6
3236 echo $ac_n "checking for --enable-timedate""... $ac_c" 1>&6
3237 echo "configure:3238: checking for --enable-timedate" >&5
3239 # Check whether --enable-timedate or --disable-timedate was given.
3240 if test "${enable_timedate+set}" = set; then
3241 enableval
="$enable_timedate"
3243 if test "$enableval" = yes; then
3244 ac_cv_use_timedate
='wxUSE_TIMEDATE=yes'
3246 ac_cv_use_timedate
='wxUSE_TIMEDATE=no'
3251 LINE
=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}`
3252 if test "x$LINE" != x
; then
3253 eval "DEFAULT_$LINE"
3258 ac_cv_use_timedate
='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
3263 eval "$ac_cv_use_timedate"
3264 if test "$no_cache" != 1; then
3265 echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp
3268 if test "$wxUSE_TIMEDATE" = yes; then
3269 echo "$ac_t""yes" 1>&6
3271 echo "$ac_t""no" 1>&6
3275 echo $ac_n "checking for --enable-stopwatch""... $ac_c" 1>&6
3276 echo "configure:3277: checking for --enable-stopwatch" >&5
3278 # Check whether --enable-stopwatch or --disable-stopwatch was given.
3279 if test "${enable_stopwatch+set}" = set; then
3280 enableval
="$enable_stopwatch"
3282 if test "$enableval" = yes; then
3283 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
3285 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
3290 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
3291 if test "x$LINE" != x
; then
3292 eval "DEFAULT_$LINE"
3297 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
3302 eval "$ac_cv_use_stopwatch"
3303 if test "$no_cache" != 1; then
3304 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
3307 if test "$wxUSE_STOPWATCH" = yes; then
3308 echo "$ac_t""yes" 1>&6
3310 echo "$ac_t""no" 1>&6
3314 echo $ac_n "checking for --enable-dialupman""... $ac_c" 1>&6
3315 echo "configure:3316: checking for --enable-dialupman" >&5
3317 # Check whether --enable-dialupman or --disable-dialupman was given.
3318 if test "${enable_dialupman+set}" = set; then
3319 enableval
="$enable_dialupman"
3321 if test "$enableval" = yes; then
3322 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
3324 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
3329 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
3330 if test "x$LINE" != x
; then
3331 eval "DEFAULT_$LINE"
3336 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
3341 eval "$ac_cv_use_dialupman"
3342 if test "$no_cache" != 1; then
3343 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
3346 if test "$wxUSE_DIALUP_MANAGER" = yes; then
3347 echo "$ac_t""yes" 1>&6
3349 echo "$ac_t""no" 1>&6
3353 echo $ac_n "checking for --enable-apple_ieee""... $ac_c" 1>&6
3354 echo "configure:3355: checking for --enable-apple_ieee" >&5
3356 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
3357 if test "${enable_apple_ieee+set}" = set; then
3358 enableval
="$enable_apple_ieee"
3360 if test "$enableval" = yes; then
3361 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
3363 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
3368 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
3369 if test "x$LINE" != x
; then
3370 eval "DEFAULT_$LINE"
3375 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
3380 eval "$ac_cv_use_apple_ieee"
3381 if test "$no_cache" != 1; then
3382 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
3385 if test "$wxUSE_APPLE_IEEE" = yes; then
3386 echo "$ac_t""yes" 1>&6
3388 echo "$ac_t""no" 1>&6
3392 echo $ac_n "checking for --enable-timer""... $ac_c" 1>&6
3393 echo "configure:3394: checking for --enable-timer" >&5
3395 # Check whether --enable-timer or --disable-timer was given.
3396 if test "${enable_timer+set}" = set; then
3397 enableval
="$enable_timer"
3399 if test "$enableval" = yes; then
3400 ac_cv_use_timer
='wxUSE_TIMER=yes'
3402 ac_cv_use_timer
='wxUSE_TIMER=no'
3407 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
3408 if test "x$LINE" != x
; then
3409 eval "DEFAULT_$LINE"
3414 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
3419 eval "$ac_cv_use_timer"
3420 if test "$no_cache" != 1; then
3421 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
3424 if test "$wxUSE_TIMER" = yes; then
3425 echo "$ac_t""yes" 1>&6
3427 echo "$ac_t""no" 1>&6
3431 echo $ac_n "checking for --enable-wave""... $ac_c" 1>&6
3432 echo "configure:3433: checking for --enable-wave" >&5
3434 # Check whether --enable-wave or --disable-wave was given.
3435 if test "${enable_wave+set}" = set; then
3436 enableval
="$enable_wave"
3438 if test "$enableval" = yes; then
3439 ac_cv_use_wave
='wxUSE_WAVE=yes'
3441 ac_cv_use_wave
='wxUSE_WAVE=no'
3446 LINE
=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
3447 if test "x$LINE" != x
; then
3448 eval "DEFAULT_$LINE"
3453 ac_cv_use_wave
='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
3458 eval "$ac_cv_use_wave"
3459 if test "$no_cache" != 1; then
3460 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
3463 if test "$wxUSE_WAVE" = yes; then
3464 echo "$ac_t""yes" 1>&6
3466 echo "$ac_t""no" 1>&6
3470 echo $ac_n "checking for --enable-fraction""... $ac_c" 1>&6
3471 echo "configure:3472: checking for --enable-fraction" >&5
3473 # Check whether --enable-fraction or --disable-fraction was given.
3474 if test "${enable_fraction+set}" = set; then
3475 enableval
="$enable_fraction"
3477 if test "$enableval" = yes; then
3478 ac_cv_use_fraction
='wxUSE_FRACTION=yes'
3480 ac_cv_use_fraction
='wxUSE_FRACTION=no'
3485 LINE
=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
3486 if test "x$LINE" != x
; then
3487 eval "DEFAULT_$LINE"
3492 ac_cv_use_fraction
='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
3497 eval "$ac_cv_use_fraction"
3498 if test "$no_cache" != 1; then
3499 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
3502 if test "$wxUSE_FRACTION" = yes; then
3503 echo "$ac_t""yes" 1>&6
3505 echo "$ac_t""no" 1>&6
3509 echo $ac_n "checking for --enable-dynlib""... $ac_c" 1>&6
3510 echo "configure:3511: checking for --enable-dynlib" >&5
3512 # Check whether --enable-dynlib or --disable-dynlib was given.
3513 if test "${enable_dynlib+set}" = set; then
3514 enableval
="$enable_dynlib"
3516 if test "$enableval" = yes; then
3517 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
3519 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
3524 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
3525 if test "x$LINE" != x
; then
3526 eval "DEFAULT_$LINE"
3531 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
3536 eval "$ac_cv_use_dynlib"
3537 if test "$no_cache" != 1; then
3538 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
3541 if test "$wxUSE_DYNLIB_CLASS" = yes; then
3542 echo "$ac_t""yes" 1>&6
3544 echo "$ac_t""no" 1>&6
3548 echo $ac_n "checking for --enable-dynamicloader""... $ac_c" 1>&6
3549 echo "configure:3550: checking for --enable-dynamicloader" >&5
3551 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
3552 if test "${enable_dynamicloader+set}" = set; then
3553 enableval
="$enable_dynamicloader"
3555 if test "$enableval" = yes; then
3556 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
3558 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
3563 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
3564 if test "x$LINE" != x
; then
3565 eval "DEFAULT_$LINE"
3570 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
3575 eval "$ac_cv_use_dynamicloader"
3576 if test "$no_cache" != 1; then
3577 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
3580 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
3581 echo "$ac_t""yes" 1>&6
3583 echo "$ac_t""no" 1>&6
3587 echo $ac_n "checking for --enable-longlong""... $ac_c" 1>&6
3588 echo "configure:3589: checking for --enable-longlong" >&5
3590 # Check whether --enable-longlong or --disable-longlong was given.
3591 if test "${enable_longlong+set}" = set; then
3592 enableval
="$enable_longlong"
3594 if test "$enableval" = yes; then
3595 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
3597 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
3602 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
3603 if test "x$LINE" != x
; then
3604 eval "DEFAULT_$LINE"
3609 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
3614 eval "$ac_cv_use_longlong"
3615 if test "$no_cache" != 1; then
3616 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
3619 if test "$wxUSE_LONGLONG" = yes; then
3620 echo "$ac_t""yes" 1>&6
3622 echo "$ac_t""no" 1>&6
3626 echo $ac_n "checking for --enable-geometry""... $ac_c" 1>&6
3627 echo "configure:3628: checking for --enable-geometry" >&5
3629 # Check whether --enable-geometry or --disable-geometry was given.
3630 if test "${enable_geometry+set}" = set; then
3631 enableval
="$enable_geometry"
3633 if test "$enableval" = yes; then
3634 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
3636 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
3641 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
3642 if test "x$LINE" != x
; then
3643 eval "DEFAULT_$LINE"
3648 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
3653 eval "$ac_cv_use_geometry"
3654 if test "$no_cache" != 1; then
3655 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
3658 if test "$wxUSE_GEOMETRY" = yes; then
3659 echo "$ac_t""yes" 1>&6
3661 echo "$ac_t""no" 1>&6
3665 echo $ac_n "checking for --enable-log""... $ac_c" 1>&6
3666 echo "configure:3667: checking for --enable-log" >&5
3668 # Check whether --enable-log or --disable-log was given.
3669 if test "${enable_log+set}" = set; then
3670 enableval
="$enable_log"
3672 if test "$enableval" = yes; then
3673 ac_cv_use_log
='wxUSE_LOG=yes'
3675 ac_cv_use_log
='wxUSE_LOG=no'
3680 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
3681 if test "x$LINE" != x
; then
3682 eval "DEFAULT_$LINE"
3687 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
3692 eval "$ac_cv_use_log"
3693 if test "$no_cache" != 1; then
3694 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
3697 if test "$wxUSE_LOG" = yes; then
3698 echo "$ac_t""yes" 1>&6
3700 echo "$ac_t""no" 1>&6
3704 echo $ac_n "checking for --enable-streams""... $ac_c" 1>&6
3705 echo "configure:3706: checking for --enable-streams" >&5
3707 # Check whether --enable-streams or --disable-streams was given.
3708 if test "${enable_streams+set}" = set; then
3709 enableval
="$enable_streams"
3711 if test "$enableval" = yes; then
3712 ac_cv_use_streams
='wxUSE_STREAMS=yes'
3714 ac_cv_use_streams
='wxUSE_STREAMS=no'
3719 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
3720 if test "x$LINE" != x
; then
3721 eval "DEFAULT_$LINE"
3726 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
3731 eval "$ac_cv_use_streams"
3732 if test "$no_cache" != 1; then
3733 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
3736 if test "$wxUSE_STREAMS" = yes; then
3737 echo "$ac_t""yes" 1>&6
3739 echo "$ac_t""no" 1>&6
3743 echo $ac_n "checking for --enable-file""... $ac_c" 1>&6
3744 echo "configure:3745: checking for --enable-file" >&5
3746 # Check whether --enable-file or --disable-file was given.
3747 if test "${enable_file+set}" = set; then
3748 enableval
="$enable_file"
3750 if test "$enableval" = yes; then
3751 ac_cv_use_file
='wxUSE_FILE=yes'
3753 ac_cv_use_file
='wxUSE_FILE=no'
3758 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
3759 if test "x$LINE" != x
; then
3760 eval "DEFAULT_$LINE"
3765 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
3770 eval "$ac_cv_use_file"
3771 if test "$no_cache" != 1; then
3772 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
3775 if test "$wxUSE_FILE" = yes; then
3776 echo "$ac_t""yes" 1>&6
3778 echo "$ac_t""no" 1>&6
3782 echo $ac_n "checking for --enable-ffile""... $ac_c" 1>&6
3783 echo "configure:3784: checking for --enable-ffile" >&5
3785 # Check whether --enable-ffile or --disable-ffile was given.
3786 if test "${enable_ffile+set}" = set; then
3787 enableval
="$enable_ffile"
3789 if test "$enableval" = yes; then
3790 ac_cv_use_ffile
='wxUSE_FFILE=yes'
3792 ac_cv_use_ffile
='wxUSE_FFILE=no'
3797 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
3798 if test "x$LINE" != x
; then
3799 eval "DEFAULT_$LINE"
3804 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
3809 eval "$ac_cv_use_ffile"
3810 if test "$no_cache" != 1; then
3811 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
3814 if test "$wxUSE_FFILE" = yes; then
3815 echo "$ac_t""yes" 1>&6
3817 echo "$ac_t""no" 1>&6
3821 echo $ac_n "checking for --enable-textbuf""... $ac_c" 1>&6
3822 echo "configure:3823: checking for --enable-textbuf" >&5
3824 # Check whether --enable-textbuf or --disable-textbuf was given.
3825 if test "${enable_textbuf+set}" = set; then
3826 enableval
="$enable_textbuf"
3828 if test "$enableval" = yes; then
3829 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
3831 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
3836 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
3837 if test "x$LINE" != x
; then
3838 eval "DEFAULT_$LINE"
3843 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
3848 eval "$ac_cv_use_textbuf"
3849 if test "$no_cache" != 1; then
3850 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
3853 if test "$wxUSE_TEXTBUFFER" = yes; then
3854 echo "$ac_t""yes" 1>&6
3856 echo "$ac_t""no" 1>&6
3860 echo $ac_n "checking for --enable-textfile""... $ac_c" 1>&6
3861 echo "configure:3862: checking for --enable-textfile" >&5
3863 # Check whether --enable-textfile or --disable-textfile was given.
3864 if test "${enable_textfile+set}" = set; then
3865 enableval
="$enable_textfile"
3867 if test "$enableval" = yes; then
3868 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
3870 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
3875 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
3876 if test "x$LINE" != x
; then
3877 eval "DEFAULT_$LINE"
3882 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
3887 eval "$ac_cv_use_textfile"
3888 if test "$no_cache" != 1; then
3889 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
3892 if test "$wxUSE_TEXTFILE" = yes; then
3893 echo "$ac_t""yes" 1>&6
3895 echo "$ac_t""no" 1>&6
3899 echo $ac_n "checking for --enable-fontmap""... $ac_c" 1>&6
3900 echo "configure:3901: checking for --enable-fontmap" >&5
3902 # Check whether --enable-fontmap or --disable-fontmap was given.
3903 if test "${enable_fontmap+set}" = set; then
3904 enableval
="$enable_fontmap"
3906 if test "$enableval" = yes; then
3907 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
3909 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
3914 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
3915 if test "x$LINE" != x
; then
3916 eval "DEFAULT_$LINE"
3921 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
3926 eval "$ac_cv_use_fontmap"
3927 if test "$no_cache" != 1; then
3928 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
3931 if test "$wxUSE_FONTMAP" = yes; then
3932 echo "$ac_t""yes" 1>&6
3934 echo "$ac_t""no" 1>&6
3938 echo $ac_n "checking for --enable-unicode""... $ac_c" 1>&6
3939 echo "configure:3940: checking for --enable-unicode" >&5
3941 # Check whether --enable-unicode or --disable-unicode was given.
3942 if test "${enable_unicode+set}" = set; then
3943 enableval
="$enable_unicode"
3945 if test "$enableval" = yes; then
3946 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
3948 ac_cv_use_unicode
='wxUSE_UNICODE=no'
3953 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
3954 if test "x$LINE" != x
; then
3955 eval "DEFAULT_$LINE"
3960 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
3965 eval "$ac_cv_use_unicode"
3966 if test "$no_cache" != 1; then
3967 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
3970 if test "$wxUSE_UNICODE" = yes; then
3971 echo "$ac_t""yes" 1>&6
3973 echo "$ac_t""no" 1>&6
3977 echo $ac_n "checking for --enable-wxprintfv""... $ac_c" 1>&6
3978 echo "configure:3979: checking for --enable-wxprintfv" >&5
3980 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
3981 if test "${enable_wxprintfv+set}" = set; then
3982 enableval
="$enable_wxprintfv"
3984 if test "$enableval" = yes; then
3985 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
3987 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
3992 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
3993 if test "x$LINE" != x
; then
3994 eval "DEFAULT_$LINE"
3999 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
4004 eval "$ac_cv_use_wxprintfv"
4005 if test "$no_cache" != 1; then
4006 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
4009 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
4010 echo "$ac_t""yes" 1>&6
4012 echo "$ac_t""no" 1>&6
4016 echo $ac_n "checking for --enable-std_iostreams""... $ac_c" 1>&6
4017 echo "configure:4018: checking for --enable-std_iostreams" >&5
4019 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
4020 if test "${enable_std_iostreams+set}" = set; then
4021 enableval
="$enable_std_iostreams"
4023 if test "$enableval" = yes; then
4024 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
4026 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
4031 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
4032 if test "x$LINE" != x
; then
4033 eval "DEFAULT_$LINE"
4038 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
4043 eval "$ac_cv_use_std_iostreams"
4044 if test "$no_cache" != 1; then
4045 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
4048 if test "$wxUSE_STD_IOSTREAM" = yes; then
4049 echo "$ac_t""yes" 1>&6
4051 echo "$ac_t""no" 1>&6
4055 echo $ac_n "checking for --enable-filesystem""... $ac_c" 1>&6
4056 echo "configure:4057: checking for --enable-filesystem" >&5
4058 # Check whether --enable-filesystem or --disable-filesystem was given.
4059 if test "${enable_filesystem+set}" = set; then
4060 enableval
="$enable_filesystem"
4062 if test "$enableval" = yes; then
4063 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
4065 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
4070 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
4071 if test "x$LINE" != x
; then
4072 eval "DEFAULT_$LINE"
4077 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
4082 eval "$ac_cv_use_filesystem"
4083 if test "$no_cache" != 1; then
4084 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
4087 if test "$wxUSE_FILESYSTEM" = yes; then
4088 echo "$ac_t""yes" 1>&6
4090 echo "$ac_t""no" 1>&6
4094 echo $ac_n "checking for --enable-fs_inet""... $ac_c" 1>&6
4095 echo "configure:4096: checking for --enable-fs_inet" >&5
4097 # Check whether --enable-fs_inet or --disable-fs_inet was given.
4098 if test "${enable_fs_inet+set}" = set; then
4099 enableval
="$enable_fs_inet"
4101 if test "$enableval" = yes; then
4102 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
4104 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
4109 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
4110 if test "x$LINE" != x
; then
4111 eval "DEFAULT_$LINE"
4116 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
4121 eval "$ac_cv_use_fs_inet"
4122 if test "$no_cache" != 1; then
4123 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
4126 if test "$wxUSE_FS_INET" = yes; then
4127 echo "$ac_t""yes" 1>&6
4129 echo "$ac_t""no" 1>&6
4133 echo $ac_n "checking for --enable-fs_zip""... $ac_c" 1>&6
4134 echo "configure:4135: checking for --enable-fs_zip" >&5
4136 # Check whether --enable-fs_zip or --disable-fs_zip was given.
4137 if test "${enable_fs_zip+set}" = set; then
4138 enableval
="$enable_fs_zip"
4140 if test "$enableval" = yes; then
4141 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
4143 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
4148 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
4149 if test "x$LINE" != x
; then
4150 eval "DEFAULT_$LINE"
4155 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
4160 eval "$ac_cv_use_fs_zip"
4161 if test "$no_cache" != 1; then
4162 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
4165 if test "$wxUSE_FS_ZIP" = yes; then
4166 echo "$ac_t""yes" 1>&6
4168 echo "$ac_t""no" 1>&6
4172 echo $ac_n "checking for --enable-zipstream""... $ac_c" 1>&6
4173 echo "configure:4174: checking for --enable-zipstream" >&5
4175 # Check whether --enable-zipstream or --disable-zipstream was given.
4176 if test "${enable_zipstream+set}" = set; then
4177 enableval
="$enable_zipstream"
4179 if test "$enableval" = yes; then
4180 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
4182 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
4187 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
4188 if test "x$LINE" != x
; then
4189 eval "DEFAULT_$LINE"
4194 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
4199 eval "$ac_cv_use_zipstream"
4200 if test "$no_cache" != 1; then
4201 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
4204 if test "$wxUSE_ZIPSTREAM" = yes; then
4205 echo "$ac_t""yes" 1>&6
4207 echo "$ac_t""no" 1>&6
4212 echo $ac_n "checking for --enable-catch_segvs""... $ac_c" 1>&6
4213 echo "configure:4214: checking for --enable-catch_segvs" >&5
4215 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4216 if test "${enable_catch_segvs+set}" = set; then
4217 enableval
="$enable_catch_segvs"
4219 if test "$enableval" = yes; then
4220 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4222 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4227 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4228 if test "x$LINE" != x
; then
4229 eval "DEFAULT_$LINE"
4234 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4239 eval "$ac_cv_use_catch_segvs"
4240 if test "$no_cache" != 1; then
4241 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4244 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4245 echo "$ac_t""yes" 1>&6
4247 echo "$ac_t""no" 1>&6
4251 echo $ac_n "checking for --enable-snglinst""... $ac_c" 1>&6
4252 echo "configure:4253: checking for --enable-snglinst" >&5
4254 # Check whether --enable-snglinst or --disable-snglinst was given.
4255 if test "${enable_snglinst+set}" = set; then
4256 enableval
="$enable_snglinst"
4258 if test "$enableval" = yes; then
4259 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
4261 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
4266 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
4267 if test "x$LINE" != x
; then
4268 eval "DEFAULT_$LINE"
4273 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
4278 eval "$ac_cv_use_snglinst"
4279 if test "$no_cache" != 1; then
4280 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
4283 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
4284 echo "$ac_t""yes" 1>&6
4286 echo "$ac_t""no" 1>&6
4291 echo $ac_n "checking for --enable-mimetype""... $ac_c" 1>&6
4292 echo "configure:4293: checking for --enable-mimetype" >&5
4294 # Check whether --enable-mimetype or --disable-mimetype was given.
4295 if test "${enable_mimetype+set}" = set; then
4296 enableval
="$enable_mimetype"
4298 if test "$enableval" = yes; then
4299 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
4301 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
4306 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
4307 if test "x$LINE" != x
; then
4308 eval "DEFAULT_$LINE"
4313 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
4318 eval "$ac_cv_use_mimetype"
4319 if test "$no_cache" != 1; then
4320 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
4323 if test "$wxUSE_MIMETYPE" = yes; then
4324 echo "$ac_t""yes" 1>&6
4326 echo "$ac_t""no" 1>&6
4330 echo $ac_n "checking for --enable-system_options""... $ac_c" 1>&6
4331 echo "configure:4332: checking for --enable-system_options" >&5
4333 # Check whether --enable-system_options or --disable-system_options was given.
4334 if test "${enable_system_options+set}" = set; then
4335 enableval
="$enable_system_options"
4337 if test "$enableval" = yes; then
4338 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
4340 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
4345 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
4346 if test "x$LINE" != x
; then
4347 eval "DEFAULT_$LINE"
4352 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
4357 eval "$ac_cv_use_system_options"
4358 if test "$no_cache" != 1; then
4359 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
4362 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
4363 echo "$ac_t""yes" 1>&6
4365 echo "$ac_t""no" 1>&6
4371 echo $ac_n "checking for --enable-threads""... $ac_c" 1>&6
4372 echo "configure:4373: checking for --enable-threads" >&5
4374 # Check whether --enable-threads or --disable-threads was given.
4375 if test "${enable_threads+set}" = set; then
4376 enableval
="$enable_threads"
4378 if test "$enableval" = yes; then
4379 ac_cv_use_threads
='wxUSE_THREADS=yes'
4381 ac_cv_use_threads
='wxUSE_THREADS=no'
4386 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
4387 if test "x$LINE" != x
; then
4388 eval "DEFAULT_$LINE"
4393 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
4398 eval "$ac_cv_use_threads"
4399 if test "$no_cache" != 1; then
4400 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
4403 if test "$wxUSE_THREADS" = yes; then
4404 echo "$ac_t""yes" 1>&6
4406 echo "$ac_t""no" 1>&6
4410 if test "$wxUSE_GUI" = "yes"; then
4414 echo $ac_n "checking for --enable-docview""... $ac_c" 1>&6
4415 echo "configure:4416: checking for --enable-docview" >&5
4417 # Check whether --enable-docview or --disable-docview was given.
4418 if test "${enable_docview+set}" = set; then
4419 enableval
="$enable_docview"
4421 if test "$enableval" = yes; then
4422 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
4424 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
4429 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
4430 if test "x$LINE" != x
; then
4431 eval "DEFAULT_$LINE"
4436 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
4441 eval "$ac_cv_use_docview"
4442 if test "$no_cache" != 1; then
4443 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
4446 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
4447 echo "$ac_t""yes" 1>&6
4449 echo "$ac_t""no" 1>&6
4453 echo $ac_n "checking for --enable-help""... $ac_c" 1>&6
4454 echo "configure:4455: checking for --enable-help" >&5
4456 # Check whether --enable-help or --disable-help was given.
4457 if test "${enable_help+set}" = set; then
4458 enableval
="$enable_help"
4460 if test "$enableval" = yes; then
4461 ac_cv_use_help
='wxUSE_HELP=yes'
4463 ac_cv_use_help
='wxUSE_HELP=no'
4468 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
4469 if test "x$LINE" != x
; then
4470 eval "DEFAULT_$LINE"
4475 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
4480 eval "$ac_cv_use_help"
4481 if test "$no_cache" != 1; then
4482 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
4485 if test "$wxUSE_HELP" = yes; then
4486 echo "$ac_t""yes" 1>&6
4488 echo "$ac_t""no" 1>&6
4492 echo $ac_n "checking for --enable-mshtmlhelp""... $ac_c" 1>&6
4493 echo "configure:4494: checking for --enable-mshtmlhelp" >&5
4495 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
4496 if test "${enable_mshtmlhelp+set}" = set; then
4497 enableval
="$enable_mshtmlhelp"
4499 if test "$enableval" = yes; then
4500 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
4502 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
4507 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
4508 if test "x$LINE" != x
; then
4509 eval "DEFAULT_$LINE"
4514 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
4519 eval "$ac_cv_use_mshtmlhelp"
4520 if test "$no_cache" != 1; then
4521 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
4524 if test "$wxUSE_MS_HTML_HELP" = yes; then
4525 echo "$ac_t""yes" 1>&6
4527 echo "$ac_t""no" 1>&6
4531 echo $ac_n "checking for --enable-html""... $ac_c" 1>&6
4532 echo "configure:4533: checking for --enable-html" >&5
4534 # Check whether --enable-html or --disable-html was given.
4535 if test "${enable_html+set}" = set; then
4536 enableval
="$enable_html"
4538 if test "$enableval" = yes; then
4539 ac_cv_use_html
='wxUSE_HTML=yes'
4541 ac_cv_use_html
='wxUSE_HTML=no'
4546 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
4547 if test "x$LINE" != x
; then
4548 eval "DEFAULT_$LINE"
4553 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
4558 eval "$ac_cv_use_html"
4559 if test "$no_cache" != 1; then
4560 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
4563 if test "$wxUSE_HTML" = yes; then
4564 echo "$ac_t""yes" 1>&6
4566 echo "$ac_t""no" 1>&6
4570 echo $ac_n "checking for --enable-htmlhelp""... $ac_c" 1>&6
4571 echo "configure:4572: checking for --enable-htmlhelp" >&5
4573 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
4574 if test "${enable_htmlhelp+set}" = set; then
4575 enableval
="$enable_htmlhelp"
4577 if test "$enableval" = yes; then
4578 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
4580 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
4585 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
4586 if test "x$LINE" != x
; then
4587 eval "DEFAULT_$LINE"
4592 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
4597 eval "$ac_cv_use_htmlhelp"
4598 if test "$no_cache" != 1; then
4599 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
4602 if test "$wxUSE_WXHTML_HELP" = yes; then
4603 echo "$ac_t""yes" 1>&6
4605 echo "$ac_t""no" 1>&6
4609 echo $ac_n "checking for --enable-constraints""... $ac_c" 1>&6
4610 echo "configure:4611: checking for --enable-constraints" >&5
4612 # Check whether --enable-constraints or --disable-constraints was given.
4613 if test "${enable_constraints+set}" = set; then
4614 enableval
="$enable_constraints"
4616 if test "$enableval" = yes; then
4617 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
4619 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
4624 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
4625 if test "x$LINE" != x
; then
4626 eval "DEFAULT_$LINE"
4631 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
4636 eval "$ac_cv_use_constraints"
4637 if test "$no_cache" != 1; then
4638 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
4641 if test "$wxUSE_CONSTRAINTS" = yes; then
4642 echo "$ac_t""yes" 1>&6
4644 echo "$ac_t""no" 1>&6
4648 echo $ac_n "checking for --enable-printarch""... $ac_c" 1>&6
4649 echo "configure:4650: checking for --enable-printarch" >&5
4651 # Check whether --enable-printarch or --disable-printarch was given.
4652 if test "${enable_printarch+set}" = set; then
4653 enableval
="$enable_printarch"
4655 if test "$enableval" = yes; then
4656 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
4658 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
4663 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
4664 if test "x$LINE" != x
; then
4665 eval "DEFAULT_$LINE"
4670 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
4675 eval "$ac_cv_use_printarch"
4676 if test "$no_cache" != 1; then
4677 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
4680 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
4681 echo "$ac_t""yes" 1>&6
4683 echo "$ac_t""no" 1>&6
4687 echo $ac_n "checking for --enable-mdi""... $ac_c" 1>&6
4688 echo "configure:4689: checking for --enable-mdi" >&5
4690 # Check whether --enable-mdi or --disable-mdi was given.
4691 if test "${enable_mdi+set}" = set; then
4692 enableval
="$enable_mdi"
4694 if test "$enableval" = yes; then
4695 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=yes'
4697 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=no'
4702 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
4703 if test "x$LINE" != x
; then
4704 eval "DEFAULT_$LINE"
4709 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
4714 eval "$ac_cv_use_mdi"
4715 if test "$no_cache" != 1; then
4716 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
4719 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
4720 echo "$ac_t""yes" 1>&6
4722 echo "$ac_t""no" 1>&6
4726 echo $ac_n "checking for --enable-loggui""... $ac_c" 1>&6
4727 echo "configure:4728: checking for --enable-loggui" >&5
4729 # Check whether --enable-loggui or --disable-loggui was given.
4730 if test "${enable_loggui+set}" = set; then
4731 enableval
="$enable_loggui"
4733 if test "$enableval" = yes; then
4734 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
4736 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
4741 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
4742 if test "x$LINE" != x
; then
4743 eval "DEFAULT_$LINE"
4748 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
4753 eval "$ac_cv_use_loggui"
4754 if test "$no_cache" != 1; then
4755 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
4758 if test "$wxUSE_LOGGUI" = yes; then
4759 echo "$ac_t""yes" 1>&6
4761 echo "$ac_t""no" 1>&6
4765 echo $ac_n "checking for --enable-logwin""... $ac_c" 1>&6
4766 echo "configure:4767: checking for --enable-logwin" >&5
4768 # Check whether --enable-logwin or --disable-logwin was given.
4769 if test "${enable_logwin+set}" = set; then
4770 enableval
="$enable_logwin"
4772 if test "$enableval" = yes; then
4773 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
4775 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
4780 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
4781 if test "x$LINE" != x
; then
4782 eval "DEFAULT_$LINE"
4787 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
4792 eval "$ac_cv_use_logwin"
4793 if test "$no_cache" != 1; then
4794 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
4797 if test "$wxUSE_LOGWINDOW" = yes; then
4798 echo "$ac_t""yes" 1>&6
4800 echo "$ac_t""no" 1>&6
4804 echo $ac_n "checking for --enable-logdialog""... $ac_c" 1>&6
4805 echo "configure:4806: checking for --enable-logdialog" >&5
4807 # Check whether --enable-logdialog or --disable-logdialog was given.
4808 if test "${enable_logdialog+set}" = set; then
4809 enableval
="$enable_logdialog"
4811 if test "$enableval" = yes; then
4812 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
4814 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
4819 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
4820 if test "x$LINE" != x
; then
4821 eval "DEFAULT_$LINE"
4826 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
4831 eval "$ac_cv_use_logdialog"
4832 if test "$no_cache" != 1; then
4833 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
4836 if test "$wxUSE_LOGDIALOG" = yes; then
4837 echo "$ac_t""yes" 1>&6
4839 echo "$ac_t""no" 1>&6
4844 echo $ac_n "checking for --enable-postscript""... $ac_c" 1>&6
4845 echo "configure:4846: checking for --enable-postscript" >&5
4847 # Check whether --enable-postscript or --disable-postscript was given.
4848 if test "${enable_postscript+set}" = set; then
4849 enableval
="$enable_postscript"
4851 if test "$enableval" = yes; then
4852 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
4854 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
4859 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
4860 if test "x$LINE" != x
; then
4861 eval "DEFAULT_$LINE"
4866 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
4871 eval "$ac_cv_use_postscript"
4872 if test "$no_cache" != 1; then
4873 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
4876 if test "$wxUSE_POSTSCRIPT" = yes; then
4877 echo "$ac_t""yes" 1>&6
4879 echo "$ac_t""no" 1>&6
4886 echo $ac_n "checking for --enable-prologio""... $ac_c" 1>&6
4887 echo "configure:4888: checking for --enable-prologio" >&5
4889 # Check whether --enable-prologio or --disable-prologio was given.
4890 if test "${enable_prologio+set}" = set; then
4891 enableval
="$enable_prologio"
4893 if test "$enableval" = yes; then
4894 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
4896 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
4901 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
4902 if test "x$LINE" != x
; then
4903 eval "DEFAULT_$LINE"
4908 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
4913 eval "$ac_cv_use_prologio"
4914 if test "$no_cache" != 1; then
4915 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
4918 if test "$wxUSE_PROLOGIO" = yes; then
4919 echo "$ac_t""yes" 1>&6
4921 echo "$ac_t""no" 1>&6
4925 echo $ac_n "checking for --enable-resources""... $ac_c" 1>&6
4926 echo "configure:4927: checking for --enable-resources" >&5
4928 # Check whether --enable-resources or --disable-resources was given.
4929 if test "${enable_resources+set}" = set; then
4930 enableval
="$enable_resources"
4932 if test "$enableval" = yes; then
4933 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
4935 ac_cv_use_resources
='wxUSE_RESOURCES=no'
4940 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
4941 if test "x$LINE" != x
; then
4942 eval "DEFAULT_$LINE"
4947 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
4952 eval "$ac_cv_use_resources"
4953 if test "$no_cache" != 1; then
4954 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
4957 if test "$wxUSE_RESOURCES" = yes; then
4958 echo "$ac_t""yes" 1>&6
4960 echo "$ac_t""no" 1>&6
4965 echo $ac_n "checking for --enable-xresources""... $ac_c" 1>&6
4966 echo "configure:4967: checking for --enable-xresources" >&5
4968 # Check whether --enable-xresources or --disable-xresources was given.
4969 if test "${enable_xresources+set}" = set; then
4970 enableval
="$enable_xresources"
4972 if test "$enableval" = yes; then
4973 ac_cv_use_xresources
='wxUSE_X_RESOURCES=yes'
4975 ac_cv_use_xresources
='wxUSE_X_RESOURCES=no'
4980 LINE
=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
4981 if test "x$LINE" != x
; then
4982 eval "DEFAULT_$LINE"
4987 ac_cv_use_xresources
='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
4992 eval "$ac_cv_use_xresources"
4993 if test "$no_cache" != 1; then
4994 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
4997 if test "$wxUSE_X_RESOURCES" = yes; then
4998 echo "$ac_t""yes" 1>&6
5000 echo "$ac_t""no" 1>&6
5006 echo $ac_n "checking for --enable-clipboard""... $ac_c" 1>&6
5007 echo "configure:5008: checking for --enable-clipboard" >&5
5009 # Check whether --enable-clipboard or --disable-clipboard was given.
5010 if test "${enable_clipboard+set}" = set; then
5011 enableval
="$enable_clipboard"
5013 if test "$enableval" = yes; then
5014 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
5016 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
5021 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
5022 if test "x$LINE" != x
; then
5023 eval "DEFAULT_$LINE"
5028 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
5033 eval "$ac_cv_use_clipboard"
5034 if test "$no_cache" != 1; then
5035 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
5038 if test "$wxUSE_CLIPBOARD" = yes; then
5039 echo "$ac_t""yes" 1>&6
5041 echo "$ac_t""no" 1>&6
5045 echo $ac_n "checking for --enable-dnd""... $ac_c" 1>&6
5046 echo "configure:5047: checking for --enable-dnd" >&5
5048 # Check whether --enable-dnd or --disable-dnd was given.
5049 if test "${enable_dnd+set}" = set; then
5050 enableval
="$enable_dnd"
5052 if test "$enableval" = yes; then
5053 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
5055 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
5060 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
5061 if test "x$LINE" != x
; then
5062 eval "DEFAULT_$LINE"
5067 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
5072 eval "$ac_cv_use_dnd"
5073 if test "$no_cache" != 1; then
5074 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
5077 if test "$wxUSE_DRAG_AND_DROP" = yes; then
5078 echo "$ac_t""yes" 1>&6
5080 echo "$ac_t""no" 1>&6
5084 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
5085 echo "configure:5086: checking for --enable-metafile" >&5
5087 # Check whether --enable-metafile or --disable-metafile was given.
5088 if test "${enable_metafile+set}" = set; then
5089 enableval
="$enable_metafile"
5091 if test "$enableval" = yes; then
5092 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
5094 ac_cv_use_metafile
='wxUSE_METAFILE=no'
5099 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
5100 if test "x$LINE" != x
; then
5101 eval "DEFAULT_$LINE"
5106 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
5111 eval "$ac_cv_use_metafile"
5112 if test "$no_cache" != 1; then
5113 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
5116 if test "$wxUSE_METAFILE" = yes; then
5117 echo "$ac_t""yes" 1>&6
5119 echo "$ac_t""no" 1>&6
5124 echo $ac_n "checking for --enable-treelayout""... $ac_c" 1>&6
5125 echo "configure:5126: checking for --enable-treelayout" >&5
5127 # Check whether --enable-treelayout or --disable-treelayout was given.
5128 if test "${enable_treelayout+set}" = set; then
5129 enableval
="$enable_treelayout"
5131 if test "$enableval" = yes; then
5132 ac_cv_use_treelayout
='wxUSE_TREELAYOUT=yes'
5134 ac_cv_use_treelayout
='wxUSE_TREELAYOUT=no'
5139 LINE
=`grep "wxUSE_TREELAYOUT" ${wx_arg_cache_file}`
5140 if test "x$LINE" != x
; then
5141 eval "DEFAULT_$LINE"
5146 ac_cv_use_treelayout
='wxUSE_TREELAYOUT='$DEFAULT_wxUSE_TREELAYOUT
5151 eval "$ac_cv_use_treelayout"
5152 if test "$no_cache" != 1; then
5153 echo $ac_cv_use_treelayout >> ${wx_arg_cache_file}.tmp
5156 if test "$wxUSE_TREELAYOUT" = yes; then
5157 echo "$ac_t""yes" 1>&6
5159 echo "$ac_t""no" 1>&6
5165 echo $ac_n "checking for --enable-controls""... $ac_c" 1>&6
5166 echo "configure:5167: checking for --enable-controls" >&5
5168 # Check whether --enable-controls or --disable-controls was given.
5169 if test "${enable_controls+set}" = set; then
5170 enableval
="$enable_controls"
5172 if test "$enableval" = yes; then
5173 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
5175 ac_cv_use_controls
='wxUSE_CONTROLS=no'
5180 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
5181 if test "x$LINE" != x
; then
5182 eval "DEFAULT_$LINE"
5187 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
5192 eval "$ac_cv_use_controls"
5193 if test "$no_cache" != 1; then
5194 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
5197 if test "$wxUSE_CONTROLS" = yes; then
5198 echo "$ac_t""yes" 1>&6
5200 echo "$ac_t""no" 1>&6
5204 if test "$wxUSE_CONTROLS" = "yes"; then
5205 DEFAULT_wxUSE_ACCEL
=yes
5206 DEFAULT_wxUSE_BMPBUTTON
=yes
5207 DEFAULT_wxUSE_BUTTON
=yes
5208 DEFAULT_wxUSE_CALCTRL
=no
5209 DEFAULT_wxUSE_CARET
=yes
5210 DEFAULT_wxUSE_COMBOBOX
=yes
5211 DEFAULT_wxUSE_CHECKBOX
=yes
5212 DEFAULT_wxUSE_CHECKLISTBOX
=yes
5213 DEFAULT_wxUSE_CHOICE
=yes
5214 DEFAULT_wxUSE_GAUGE
=yes
5215 DEFAULT_wxUSE_GRID
=yes
5216 DEFAULT_wxUSE_NEW_GRID
=yes
5217 DEFAULT_wxUSE_IMAGLIST
=yes
5218 DEFAULT_wxUSE_LISTBOX
=yes
5219 DEFAULT_wxUSE_LISTCTRL
=yes
5220 DEFAULT_wxUSE_NOTEBOOK
=yes
5221 DEFAULT_wxUSE_PROPSHEET
=yes
5222 DEFAULT_wxUSE_RADIOBOX
=yes
5223 DEFAULT_wxUSE_RADIOBTN
=yes
5224 DEFAULT_wxUSE_SASH
=yes
5225 DEFAULT_wxUSE_SCROLLBAR
=yes
5226 DEFAULT_wxUSE_SLIDER
=yes
5227 DEFAULT_wxUSE_SPINBTN
=yes
5228 DEFAULT_wxUSE_SPINCTRL
=yes
5229 DEFAULT_wxUSE_SPLITTER
=yes
5230 DEFAULT_wxUSE_STATBMP
=yes
5231 DEFAULT_wxUSE_STATBOX
=yes
5232 DEFAULT_wxUSE_STATLINE
=yes
5233 DEFAULT_wxUSE_STATUSBAR
=yes
5234 DEFAULT_wxUSE_TAB_DIALOG
=yes
5235 DEFAULT_wxUSE_TOGGLEBTN
=yes
5236 DEFAULT_wxUSE_TOOLBAR
=yes
5237 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
5238 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
5239 DEFAULT_wxUSE_TOOLTIPS
=yes
5240 DEFAULT_wxUSE_TREECTRL
=yes
5241 DEFAULT_wxUSE_POPUPWIN
=yes
5242 DEFAULT_wxUSE_TIPWINDOW
=yes
5243 elif test "$wxUSE_CONTROLS" = "no"; then
5244 DEFAULT_wxUSE_ACCEL
=no
5245 DEFAULT_wxUSE_BMPBUTTON
=no
5246 DEFAULT_wxUSE_BUTTON
=no
5247 DEFAULT_wxUSE_CALCTRL
=no
5248 DEFAULT_wxUSE_CARET
=no
5249 DEFAULT_wxUSE_COMBOBOX
=no
5250 DEFAULT_wxUSE_CHECKBOX
=no
5251 DEFAULT_wxUSE_CHECKLISTBOX
=no
5252 DEFAULT_wxUSE_CHOICE
=no
5253 DEFAULT_wxUSE_GAUGE
=no
5254 DEFAULT_wxUSE_GRID
=no
5255 DEFAULT_wxUSE_NEW_GRID
=no
5256 DEFAULT_wxUSE_IMAGLIST
=no
5257 DEFAULT_wxUSE_LISTBOX
=no
5258 DEFAULT_wxUSE_LISTCTRL
=no
5259 DEFAULT_wxUSE_NOTEBOOK
=no
5260 DEFAULT_wxUSE_PROPSHEET
=no
5261 DEFAULT_wxUSE_RADIOBOX
=no
5262 DEFAULT_wxUSE_RADIOBTN
=no
5263 DEFAULT_wxUSE_SASH
=no
5264 DEFAULT_wxUSE_SCROLLBAR
=no
5265 DEFAULT_wxUSE_SLIDER
=no
5266 DEFAULT_wxUSE_SPINBTN
=no
5267 DEFAULT_wxUSE_SPINCTRL
=no
5268 DEFAULT_wxUSE_SPLITTER
=no
5269 DEFAULT_wxUSE_STATBMP
=no
5270 DEFAULT_wxUSE_STATBOX
=no
5271 DEFAULT_wxUSE_STATLINE
=no
5272 DEFAULT_wxUSE_STATUSBAR
=no
5273 DEFAULT_wxUSE_TAB_DIALOG
=no
5274 DEFAULT_wxUSE_TOGGLEBTN
=no
5275 DEFAULT_wxUSE_TOOLBAR
=no
5276 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
5277 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
5278 DEFAULT_wxUSE_TOOLTIPS
=no
5279 DEFAULT_wxUSE_TREECTRL
=no
5280 DEFAULT_wxUSE_POPUPWIN
=no
5281 DEFAULT_wxUSE_TIPWINDOW
=no
5285 echo $ac_n "checking for --enable-accel""... $ac_c" 1>&6
5286 echo "configure:5287: checking for --enable-accel" >&5
5288 # Check whether --enable-accel or --disable-accel was given.
5289 if test "${enable_accel+set}" = set; then
5290 enableval
="$enable_accel"
5292 if test "$enableval" = yes; then
5293 ac_cv_use_accel
='wxUSE_ACCEL=yes'
5295 ac_cv_use_accel
='wxUSE_ACCEL=no'
5300 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
5301 if test "x$LINE" != x
; then
5302 eval "DEFAULT_$LINE"
5307 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
5312 eval "$ac_cv_use_accel"
5313 if test "$no_cache" != 1; then
5314 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
5317 if test "$wxUSE_ACCEL" = yes; then
5318 echo "$ac_t""yes" 1>&6
5320 echo "$ac_t""no" 1>&6
5324 echo $ac_n "checking for --enable-button""... $ac_c" 1>&6
5325 echo "configure:5326: checking for --enable-button" >&5
5327 # Check whether --enable-button or --disable-button was given.
5328 if test "${enable_button+set}" = set; then
5329 enableval
="$enable_button"
5331 if test "$enableval" = yes; then
5332 ac_cv_use_button
='wxUSE_BUTTON=yes'
5334 ac_cv_use_button
='wxUSE_BUTTON=no'
5339 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
5340 if test "x$LINE" != x
; then
5341 eval "DEFAULT_$LINE"
5346 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
5351 eval "$ac_cv_use_button"
5352 if test "$no_cache" != 1; then
5353 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
5356 if test "$wxUSE_BUTTON" = yes; then
5357 echo "$ac_t""yes" 1>&6
5359 echo "$ac_t""no" 1>&6
5363 echo $ac_n "checking for --enable-bmpbutton""... $ac_c" 1>&6
5364 echo "configure:5365: checking for --enable-bmpbutton" >&5
5366 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
5367 if test "${enable_bmpbutton+set}" = set; then
5368 enableval
="$enable_bmpbutton"
5370 if test "$enableval" = yes; then
5371 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
5373 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
5378 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
5379 if test "x$LINE" != x
; then
5380 eval "DEFAULT_$LINE"
5385 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
5390 eval "$ac_cv_use_bmpbutton"
5391 if test "$no_cache" != 1; then
5392 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
5395 if test "$wxUSE_BMPBUTTON" = yes; then
5396 echo "$ac_t""yes" 1>&6
5398 echo "$ac_t""no" 1>&6
5402 echo $ac_n "checking for --enable-calendar""... $ac_c" 1>&6
5403 echo "configure:5404: checking for --enable-calendar" >&5
5405 # Check whether --enable-calendar or --disable-calendar was given.
5406 if test "${enable_calendar+set}" = set; then
5407 enableval
="$enable_calendar"
5409 if test "$enableval" = yes; then
5410 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
5412 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
5417 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
5418 if test "x$LINE" != x
; then
5419 eval "DEFAULT_$LINE"
5424 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
5429 eval "$ac_cv_use_calendar"
5430 if test "$no_cache" != 1; then
5431 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
5434 if test "$wxUSE_CALCTRL" = yes; then
5435 echo "$ac_t""yes" 1>&6
5437 echo "$ac_t""no" 1>&6
5441 echo $ac_n "checking for --enable-caret""... $ac_c" 1>&6
5442 echo "configure:5443: checking for --enable-caret" >&5
5444 # Check whether --enable-caret or --disable-caret was given.
5445 if test "${enable_caret+set}" = set; then
5446 enableval
="$enable_caret"
5448 if test "$enableval" = yes; then
5449 ac_cv_use_caret
='wxUSE_CARET=yes'
5451 ac_cv_use_caret
='wxUSE_CARET=no'
5456 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
5457 if test "x$LINE" != x
; then
5458 eval "DEFAULT_$LINE"
5463 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
5468 eval "$ac_cv_use_caret"
5469 if test "$no_cache" != 1; then
5470 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
5473 if test "$wxUSE_CARET" = yes; then
5474 echo "$ac_t""yes" 1>&6
5476 echo "$ac_t""no" 1>&6
5480 echo $ac_n "checking for --enable-checkbox""... $ac_c" 1>&6
5481 echo "configure:5482: checking for --enable-checkbox" >&5
5483 # Check whether --enable-checkbox or --disable-checkbox was given.
5484 if test "${enable_checkbox+set}" = set; then
5485 enableval
="$enable_checkbox"
5487 if test "$enableval" = yes; then
5488 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
5490 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
5495 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
5496 if test "x$LINE" != x
; then
5497 eval "DEFAULT_$LINE"
5502 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
5507 eval "$ac_cv_use_checkbox"
5508 if test "$no_cache" != 1; then
5509 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
5512 if test "$wxUSE_CHECKBOX" = yes; then
5513 echo "$ac_t""yes" 1>&6
5515 echo "$ac_t""no" 1>&6
5519 echo $ac_n "checking for --enable-checklst""... $ac_c" 1>&6
5520 echo "configure:5521: checking for --enable-checklst" >&5
5522 # Check whether --enable-checklst or --disable-checklst was given.
5523 if test "${enable_checklst+set}" = set; then
5524 enableval
="$enable_checklst"
5526 if test "$enableval" = yes; then
5527 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
5529 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
5534 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
5535 if test "x$LINE" != x
; then
5536 eval "DEFAULT_$LINE"
5541 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
5546 eval "$ac_cv_use_checklst"
5547 if test "$no_cache" != 1; then
5548 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
5551 if test "$wxUSE_CHECKLST" = yes; then
5552 echo "$ac_t""yes" 1>&6
5554 echo "$ac_t""no" 1>&6
5558 echo $ac_n "checking for --enable-choice""... $ac_c" 1>&6
5559 echo "configure:5560: checking for --enable-choice" >&5
5561 # Check whether --enable-choice or --disable-choice was given.
5562 if test "${enable_choice+set}" = set; then
5563 enableval
="$enable_choice"
5565 if test "$enableval" = yes; then
5566 ac_cv_use_choice
='wxUSE_CHOICE=yes'
5568 ac_cv_use_choice
='wxUSE_CHOICE=no'
5573 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
5574 if test "x$LINE" != x
; then
5575 eval "DEFAULT_$LINE"
5580 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
5585 eval "$ac_cv_use_choice"
5586 if test "$no_cache" != 1; then
5587 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
5590 if test "$wxUSE_CHOICE" = yes; then
5591 echo "$ac_t""yes" 1>&6
5593 echo "$ac_t""no" 1>&6
5597 echo $ac_n "checking for --enable-combobox""... $ac_c" 1>&6
5598 echo "configure:5599: checking for --enable-combobox" >&5
5600 # Check whether --enable-combobox or --disable-combobox was given.
5601 if test "${enable_combobox+set}" = set; then
5602 enableval
="$enable_combobox"
5604 if test "$enableval" = yes; then
5605 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
5607 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
5612 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
5613 if test "x$LINE" != x
; then
5614 eval "DEFAULT_$LINE"
5619 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
5624 eval "$ac_cv_use_combobox"
5625 if test "$no_cache" != 1; then
5626 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
5629 if test "$wxUSE_COMBOBOX" = yes; then
5630 echo "$ac_t""yes" 1>&6
5632 echo "$ac_t""no" 1>&6
5636 echo $ac_n "checking for --enable-gauge""... $ac_c" 1>&6
5637 echo "configure:5638: checking for --enable-gauge" >&5
5639 # Check whether --enable-gauge or --disable-gauge was given.
5640 if test "${enable_gauge+set}" = set; then
5641 enableval
="$enable_gauge"
5643 if test "$enableval" = yes; then
5644 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
5646 ac_cv_use_gauge
='wxUSE_GAUGE=no'
5651 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
5652 if test "x$LINE" != x
; then
5653 eval "DEFAULT_$LINE"
5658 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
5663 eval "$ac_cv_use_gauge"
5664 if test "$no_cache" != 1; then
5665 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
5668 if test "$wxUSE_GAUGE" = yes; then
5669 echo "$ac_t""yes" 1>&6
5671 echo "$ac_t""no" 1>&6
5675 echo $ac_n "checking for --enable-grid""... $ac_c" 1>&6
5676 echo "configure:5677: checking for --enable-grid" >&5
5678 # Check whether --enable-grid or --disable-grid was given.
5679 if test "${enable_grid+set}" = set; then
5680 enableval
="$enable_grid"
5682 if test "$enableval" = yes; then
5683 ac_cv_use_grid
='wxUSE_GRID=yes'
5685 ac_cv_use_grid
='wxUSE_GRID=no'
5690 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
5691 if test "x$LINE" != x
; then
5692 eval "DEFAULT_$LINE"
5697 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
5702 eval "$ac_cv_use_grid"
5703 if test "$no_cache" != 1; then
5704 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
5707 if test "$wxUSE_GRID" = yes; then
5708 echo "$ac_t""yes" 1>&6
5710 echo "$ac_t""no" 1>&6
5714 echo $ac_n "checking for --enable-newgrid""... $ac_c" 1>&6
5715 echo "configure:5716: checking for --enable-newgrid" >&5
5717 # Check whether --enable-newgrid or --disable-newgrid was given.
5718 if test "${enable_newgrid+set}" = set; then
5719 enableval
="$enable_newgrid"
5721 if test "$enableval" = yes; then
5722 ac_cv_use_newgrid
='wxUSE_NEW_GRID=yes'
5724 ac_cv_use_newgrid
='wxUSE_NEW_GRID=no'
5729 LINE
=`grep "wxUSE_NEW_GRID" ${wx_arg_cache_file}`
5730 if test "x$LINE" != x
; then
5731 eval "DEFAULT_$LINE"
5736 ac_cv_use_newgrid
='wxUSE_NEW_GRID='$DEFAULT_wxUSE_NEW_GRID
5741 eval "$ac_cv_use_newgrid"
5742 if test "$no_cache" != 1; then
5743 echo $ac_cv_use_newgrid >> ${wx_arg_cache_file}.tmp
5746 if test "$wxUSE_NEW_GRID" = yes; then
5747 echo "$ac_t""yes" 1>&6
5749 echo "$ac_t""no" 1>&6
5753 echo $ac_n "checking for --enable-imaglist""... $ac_c" 1>&6
5754 echo "configure:5755: checking for --enable-imaglist" >&5
5756 # Check whether --enable-imaglist or --disable-imaglist was given.
5757 if test "${enable_imaglist+set}" = set; then
5758 enableval
="$enable_imaglist"
5760 if test "$enableval" = yes; then
5761 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
5763 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
5768 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
5769 if test "x$LINE" != x
; then
5770 eval "DEFAULT_$LINE"
5775 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
5780 eval "$ac_cv_use_imaglist"
5781 if test "$no_cache" != 1; then
5782 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
5785 if test "$wxUSE_IMAGLIST" = yes; then
5786 echo "$ac_t""yes" 1>&6
5788 echo "$ac_t""no" 1>&6
5792 echo $ac_n "checking for --enable-listbox""... $ac_c" 1>&6
5793 echo "configure:5794: checking for --enable-listbox" >&5
5795 # Check whether --enable-listbox or --disable-listbox was given.
5796 if test "${enable_listbox+set}" = set; then
5797 enableval
="$enable_listbox"
5799 if test "$enableval" = yes; then
5800 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
5802 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
5807 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
5808 if test "x$LINE" != x
; then
5809 eval "DEFAULT_$LINE"
5814 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
5819 eval "$ac_cv_use_listbox"
5820 if test "$no_cache" != 1; then
5821 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
5824 if test "$wxUSE_LISTBOX" = yes; then
5825 echo "$ac_t""yes" 1>&6
5827 echo "$ac_t""no" 1>&6
5831 echo $ac_n "checking for --enable-listctrl""... $ac_c" 1>&6
5832 echo "configure:5833: checking for --enable-listctrl" >&5
5834 # Check whether --enable-listctrl or --disable-listctrl was given.
5835 if test "${enable_listctrl+set}" = set; then
5836 enableval
="$enable_listctrl"
5838 if test "$enableval" = yes; then
5839 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
5841 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
5846 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
5847 if test "x$LINE" != x
; then
5848 eval "DEFAULT_$LINE"
5853 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
5858 eval "$ac_cv_use_listctrl"
5859 if test "$no_cache" != 1; then
5860 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
5863 if test "$wxUSE_LISTCTRL" = yes; then
5864 echo "$ac_t""yes" 1>&6
5866 echo "$ac_t""no" 1>&6
5870 echo $ac_n "checking for --enable-notebook""... $ac_c" 1>&6
5871 echo "configure:5872: checking for --enable-notebook" >&5
5873 # Check whether --enable-notebook or --disable-notebook was given.
5874 if test "${enable_notebook+set}" = set; then
5875 enableval
="$enable_notebook"
5877 if test "$enableval" = yes; then
5878 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
5880 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
5885 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
5886 if test "x$LINE" != x
; then
5887 eval "DEFAULT_$LINE"
5892 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
5897 eval "$ac_cv_use_notebook"
5898 if test "$no_cache" != 1; then
5899 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
5902 if test "$wxUSE_NOTEBOOK" = yes; then
5903 echo "$ac_t""yes" 1>&6
5905 echo "$ac_t""no" 1>&6
5909 echo $ac_n "checking for --enable-propsheet""... $ac_c" 1>&6
5910 echo "configure:5911: checking for --enable-propsheet" >&5
5912 # Check whether --enable-propsheet or --disable-propsheet was given.
5913 if test "${enable_propsheet+set}" = set; then
5914 enableval
="$enable_propsheet"
5916 if test "$enableval" = yes; then
5917 ac_cv_use_propsheet
='wxUSE_PROPSHEET=yes'
5919 ac_cv_use_propsheet
='wxUSE_PROPSHEET=no'
5924 LINE
=`grep "wxUSE_PROPSHEET" ${wx_arg_cache_file}`
5925 if test "x$LINE" != x
; then
5926 eval "DEFAULT_$LINE"
5931 ac_cv_use_propsheet
='wxUSE_PROPSHEET='$DEFAULT_wxUSE_PROPSHEET
5936 eval "$ac_cv_use_propsheet"
5937 if test "$no_cache" != 1; then
5938 echo $ac_cv_use_propsheet >> ${wx_arg_cache_file}.tmp
5941 if test "$wxUSE_PROPSHEET" = yes; then
5942 echo "$ac_t""yes" 1>&6
5944 echo "$ac_t""no" 1>&6
5948 echo $ac_n "checking for --enable-radiobox""... $ac_c" 1>&6
5949 echo "configure:5950: checking for --enable-radiobox" >&5
5951 # Check whether --enable-radiobox or --disable-radiobox was given.
5952 if test "${enable_radiobox+set}" = set; then
5953 enableval
="$enable_radiobox"
5955 if test "$enableval" = yes; then
5956 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
5958 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
5963 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
5964 if test "x$LINE" != x
; then
5965 eval "DEFAULT_$LINE"
5970 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
5975 eval "$ac_cv_use_radiobox"
5976 if test "$no_cache" != 1; then
5977 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
5980 if test "$wxUSE_RADIOBOX" = yes; then
5981 echo "$ac_t""yes" 1>&6
5983 echo "$ac_t""no" 1>&6
5987 echo $ac_n "checking for --enable-radiobtn""... $ac_c" 1>&6
5988 echo "configure:5989: checking for --enable-radiobtn" >&5
5990 # Check whether --enable-radiobtn or --disable-radiobtn was given.
5991 if test "${enable_radiobtn+set}" = set; then
5992 enableval
="$enable_radiobtn"
5994 if test "$enableval" = yes; then
5995 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
5997 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
6002 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
6003 if test "x$LINE" != x
; then
6004 eval "DEFAULT_$LINE"
6009 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
6014 eval "$ac_cv_use_radiobtn"
6015 if test "$no_cache" != 1; then
6016 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
6019 if test "$wxUSE_RADIOBTN" = yes; then
6020 echo "$ac_t""yes" 1>&6
6022 echo "$ac_t""no" 1>&6
6026 echo $ac_n "checking for --enable-sash""... $ac_c" 1>&6
6027 echo "configure:6028: checking for --enable-sash" >&5
6029 # Check whether --enable-sash or --disable-sash was given.
6030 if test "${enable_sash+set}" = set; then
6031 enableval
="$enable_sash"
6033 if test "$enableval" = yes; then
6034 ac_cv_use_sash
='wxUSE_SASH=yes'
6036 ac_cv_use_sash
='wxUSE_SASH=no'
6041 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
6042 if test "x$LINE" != x
; then
6043 eval "DEFAULT_$LINE"
6048 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
6053 eval "$ac_cv_use_sash"
6054 if test "$no_cache" != 1; then
6055 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
6058 if test "$wxUSE_SASH" = yes; then
6059 echo "$ac_t""yes" 1>&6
6061 echo "$ac_t""no" 1>&6
6065 echo $ac_n "checking for --enable-scrollbar""... $ac_c" 1>&6
6066 echo "configure:6067: checking for --enable-scrollbar" >&5
6068 # Check whether --enable-scrollbar or --disable-scrollbar was given.
6069 if test "${enable_scrollbar+set}" = set; then
6070 enableval
="$enable_scrollbar"
6072 if test "$enableval" = yes; then
6073 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
6075 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
6080 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
6081 if test "x$LINE" != x
; then
6082 eval "DEFAULT_$LINE"
6087 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
6092 eval "$ac_cv_use_scrollbar"
6093 if test "$no_cache" != 1; then
6094 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
6097 if test "$wxUSE_SCROLLBAR" = yes; then
6098 echo "$ac_t""yes" 1>&6
6100 echo "$ac_t""no" 1>&6
6104 echo $ac_n "checking for --enable-slider""... $ac_c" 1>&6
6105 echo "configure:6106: checking for --enable-slider" >&5
6107 # Check whether --enable-slider or --disable-slider was given.
6108 if test "${enable_slider+set}" = set; then
6109 enableval
="$enable_slider"
6111 if test "$enableval" = yes; then
6112 ac_cv_use_slider
='wxUSE_SLIDER=yes'
6114 ac_cv_use_slider
='wxUSE_SLIDER=no'
6119 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
6120 if test "x$LINE" != x
; then
6121 eval "DEFAULT_$LINE"
6126 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
6131 eval "$ac_cv_use_slider"
6132 if test "$no_cache" != 1; then
6133 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
6136 if test "$wxUSE_SLIDER" = yes; then
6137 echo "$ac_t""yes" 1>&6
6139 echo "$ac_t""no" 1>&6
6143 echo $ac_n "checking for --enable-spinbtn""... $ac_c" 1>&6
6144 echo "configure:6145: checking for --enable-spinbtn" >&5
6146 # Check whether --enable-spinbtn or --disable-spinbtn was given.
6147 if test "${enable_spinbtn+set}" = set; then
6148 enableval
="$enable_spinbtn"
6150 if test "$enableval" = yes; then
6151 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
6153 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
6158 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
6159 if test "x$LINE" != x
; then
6160 eval "DEFAULT_$LINE"
6165 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
6170 eval "$ac_cv_use_spinbtn"
6171 if test "$no_cache" != 1; then
6172 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
6175 if test "$wxUSE_SPINBTN" = yes; then
6176 echo "$ac_t""yes" 1>&6
6178 echo "$ac_t""no" 1>&6
6182 echo $ac_n "checking for --enable-spinctrl""... $ac_c" 1>&6
6183 echo "configure:6184: checking for --enable-spinctrl" >&5
6185 # Check whether --enable-spinctrl or --disable-spinctrl was given.
6186 if test "${enable_spinctrl+set}" = set; then
6187 enableval
="$enable_spinctrl"
6189 if test "$enableval" = yes; then
6190 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
6192 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
6197 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
6198 if test "x$LINE" != x
; then
6199 eval "DEFAULT_$LINE"
6204 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
6209 eval "$ac_cv_use_spinctrl"
6210 if test "$no_cache" != 1; then
6211 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
6214 if test "$wxUSE_SPINCTRL" = yes; then
6215 echo "$ac_t""yes" 1>&6
6217 echo "$ac_t""no" 1>&6
6221 echo $ac_n "checking for --enable-splitter""... $ac_c" 1>&6
6222 echo "configure:6223: checking for --enable-splitter" >&5
6224 # Check whether --enable-splitter or --disable-splitter was given.
6225 if test "${enable_splitter+set}" = set; then
6226 enableval
="$enable_splitter"
6228 if test "$enableval" = yes; then
6229 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
6231 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
6236 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
6237 if test "x$LINE" != x
; then
6238 eval "DEFAULT_$LINE"
6243 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
6248 eval "$ac_cv_use_splitter"
6249 if test "$no_cache" != 1; then
6250 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
6253 if test "$wxUSE_SPLITTER" = yes; then
6254 echo "$ac_t""yes" 1>&6
6256 echo "$ac_t""no" 1>&6
6260 echo $ac_n "checking for --enable-statbmp""... $ac_c" 1>&6
6261 echo "configure:6262: checking for --enable-statbmp" >&5
6263 # Check whether --enable-statbmp or --disable-statbmp was given.
6264 if test "${enable_statbmp+set}" = set; then
6265 enableval
="$enable_statbmp"
6267 if test "$enableval" = yes; then
6268 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
6270 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
6275 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
6276 if test "x$LINE" != x
; then
6277 eval "DEFAULT_$LINE"
6282 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
6287 eval "$ac_cv_use_statbmp"
6288 if test "$no_cache" != 1; then
6289 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
6292 if test "$wxUSE_STATBMP" = yes; then
6293 echo "$ac_t""yes" 1>&6
6295 echo "$ac_t""no" 1>&6
6299 echo $ac_n "checking for --enable-statbox""... $ac_c" 1>&6
6300 echo "configure:6301: checking for --enable-statbox" >&5
6302 # Check whether --enable-statbox or --disable-statbox was given.
6303 if test "${enable_statbox+set}" = set; then
6304 enableval
="$enable_statbox"
6306 if test "$enableval" = yes; then
6307 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
6309 ac_cv_use_statbox
='wxUSE_STATBOX=no'
6314 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
6315 if test "x$LINE" != x
; then
6316 eval "DEFAULT_$LINE"
6321 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
6326 eval "$ac_cv_use_statbox"
6327 if test "$no_cache" != 1; then
6328 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
6331 if test "$wxUSE_STATBOX" = yes; then
6332 echo "$ac_t""yes" 1>&6
6334 echo "$ac_t""no" 1>&6
6338 echo $ac_n "checking for --enable-statline""... $ac_c" 1>&6
6339 echo "configure:6340: checking for --enable-statline" >&5
6341 # Check whether --enable-statline or --disable-statline was given.
6342 if test "${enable_statline+set}" = set; then
6343 enableval
="$enable_statline"
6345 if test "$enableval" = yes; then
6346 ac_cv_use_statline
='wxUSE_STATLINE=yes'
6348 ac_cv_use_statline
='wxUSE_STATLINE=no'
6353 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
6354 if test "x$LINE" != x
; then
6355 eval "DEFAULT_$LINE"
6360 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
6365 eval "$ac_cv_use_statline"
6366 if test "$no_cache" != 1; then
6367 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
6370 if test "$wxUSE_STATLINE" = yes; then
6371 echo "$ac_t""yes" 1>&6
6373 echo "$ac_t""no" 1>&6
6377 echo $ac_n "checking for --enable-stattext""... $ac_c" 1>&6
6378 echo "configure:6379: checking for --enable-stattext" >&5
6380 # Check whether --enable-stattext or --disable-stattext was given.
6381 if test "${enable_stattext+set}" = set; then
6382 enableval
="$enable_stattext"
6384 if test "$enableval" = yes; then
6385 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
6387 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
6392 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
6393 if test "x$LINE" != x
; then
6394 eval "DEFAULT_$LINE"
6399 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
6404 eval "$ac_cv_use_stattext"
6405 if test "$no_cache" != 1; then
6406 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
6409 if test "$wxUSE_STATTEXT" = yes; then
6410 echo "$ac_t""yes" 1>&6
6412 echo "$ac_t""no" 1>&6
6416 echo $ac_n "checking for --enable-statusbar""... $ac_c" 1>&6
6417 echo "configure:6418: checking for --enable-statusbar" >&5
6419 # Check whether --enable-statusbar or --disable-statusbar was given.
6420 if test "${enable_statusbar+set}" = set; then
6421 enableval
="$enable_statusbar"
6423 if test "$enableval" = yes; then
6424 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
6426 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
6431 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
6432 if test "x$LINE" != x
; then
6433 eval "DEFAULT_$LINE"
6438 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
6443 eval "$ac_cv_use_statusbar"
6444 if test "$no_cache" != 1; then
6445 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
6448 if test "$wxUSE_STATUSBAR" = yes; then
6449 echo "$ac_t""yes" 1>&6
6451 echo "$ac_t""no" 1>&6
6455 echo $ac_n "checking for --enable-tabdialog""... $ac_c" 1>&6
6456 echo "configure:6457: checking for --enable-tabdialog" >&5
6458 # Check whether --enable-tabdialog or --disable-tabdialog was given.
6459 if test "${enable_tabdialog+set}" = set; then
6460 enableval
="$enable_tabdialog"
6462 if test "$enableval" = yes; then
6463 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
6465 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
6470 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
6471 if test "x$LINE" != x
; then
6472 eval "DEFAULT_$LINE"
6477 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
6482 eval "$ac_cv_use_tabdialog"
6483 if test "$no_cache" != 1; then
6484 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
6487 if test "$wxUSE_TABDIALOG" = yes; then
6488 echo "$ac_t""yes" 1>&6
6490 echo "$ac_t""no" 1>&6
6494 echo $ac_n "checking for --enable-textctrl""... $ac_c" 1>&6
6495 echo "configure:6496: checking for --enable-textctrl" >&5
6497 # Check whether --enable-textctrl or --disable-textctrl was given.
6498 if test "${enable_textctrl+set}" = set; then
6499 enableval
="$enable_textctrl"
6501 if test "$enableval" = yes; then
6502 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
6504 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
6509 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
6510 if test "x$LINE" != x
; then
6511 eval "DEFAULT_$LINE"
6516 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
6521 eval "$ac_cv_use_textctrl"
6522 if test "$no_cache" != 1; then
6523 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
6526 if test "$wxUSE_TEXTCTRL" = yes; then
6527 echo "$ac_t""yes" 1>&6
6529 echo "$ac_t""no" 1>&6
6533 echo $ac_n "checking for --enable-togglebtn""... $ac_c" 1>&6
6534 echo "configure:6535: checking for --enable-togglebtn" >&5
6536 # Check whether --enable-togglebtn or --disable-togglebtn was given.
6537 if test "${enable_togglebtn+set}" = set; then
6538 enableval
="$enable_togglebtn"
6540 if test "$enableval" = yes; then
6541 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
6543 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
6548 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
6549 if test "x$LINE" != x
; then
6550 eval "DEFAULT_$LINE"
6555 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
6560 eval "$ac_cv_use_togglebtn"
6561 if test "$no_cache" != 1; then
6562 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
6565 if test "$wxUSE_TOGGLEBTN" = yes; then
6566 echo "$ac_t""yes" 1>&6
6568 echo "$ac_t""no" 1>&6
6572 echo $ac_n "checking for --enable-toolbar""... $ac_c" 1>&6
6573 echo "configure:6574: checking for --enable-toolbar" >&5
6575 # Check whether --enable-toolbar or --disable-toolbar was given.
6576 if test "${enable_toolbar+set}" = set; then
6577 enableval
="$enable_toolbar"
6579 if test "$enableval" = yes; then
6580 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
6582 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
6587 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
6588 if test "x$LINE" != x
; then
6589 eval "DEFAULT_$LINE"
6594 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
6599 eval "$ac_cv_use_toolbar"
6600 if test "$no_cache" != 1; then
6601 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
6604 if test "$wxUSE_TOOLBAR" = yes; then
6605 echo "$ac_t""yes" 1>&6
6607 echo "$ac_t""no" 1>&6
6611 echo $ac_n "checking for --enable-tbarnative""... $ac_c" 1>&6
6612 echo "configure:6613: checking for --enable-tbarnative" >&5
6614 # Check whether --enable-tbarnative or --disable-tbarnative was given.
6615 if test "${enable_tbarnative+set}" = set; then
6616 enableval
="$enable_tbarnative"
6618 if test "$enableval" = yes; then
6619 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
6621 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
6626 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
6627 if test "x$LINE" != x
; then
6628 eval "DEFAULT_$LINE"
6633 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
6638 eval "$ac_cv_use_tbarnative"
6639 if test "$no_cache" != 1; then
6640 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
6643 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
6644 echo "$ac_t""yes" 1>&6
6646 echo "$ac_t""no" 1>&6
6650 echo $ac_n "checking for --enable-tbarsmpl""... $ac_c" 1>&6
6651 echo "configure:6652: checking for --enable-tbarsmpl" >&5
6653 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
6654 if test "${enable_tbarsmpl+set}" = set; then
6655 enableval
="$enable_tbarsmpl"
6657 if test "$enableval" = yes; then
6658 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
6660 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
6665 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
6666 if test "x$LINE" != x
; then
6667 eval "DEFAULT_$LINE"
6672 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
6677 eval "$ac_cv_use_tbarsmpl"
6678 if test "$no_cache" != 1; then
6679 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
6682 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
6683 echo "$ac_t""yes" 1>&6
6685 echo "$ac_t""no" 1>&6
6689 echo $ac_n "checking for --enable-treectrl""... $ac_c" 1>&6
6690 echo "configure:6691: checking for --enable-treectrl" >&5
6692 # Check whether --enable-treectrl or --disable-treectrl was given.
6693 if test "${enable_treectrl+set}" = set; then
6694 enableval
="$enable_treectrl"
6696 if test "$enableval" = yes; then
6697 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
6699 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
6704 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
6705 if test "x$LINE" != x
; then
6706 eval "DEFAULT_$LINE"
6711 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
6716 eval "$ac_cv_use_treectrl"
6717 if test "$no_cache" != 1; then
6718 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
6721 if test "$wxUSE_TREECTRL" = yes; then
6722 echo "$ac_t""yes" 1>&6
6724 echo "$ac_t""no" 1>&6
6728 echo $ac_n "checking for --enable-tipwindow""... $ac_c" 1>&6
6729 echo "configure:6730: checking for --enable-tipwindow" >&5
6731 # Check whether --enable-tipwindow or --disable-tipwindow was given.
6732 if test "${enable_tipwindow+set}" = set; then
6733 enableval
="$enable_tipwindow"
6735 if test "$enableval" = yes; then
6736 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
6738 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
6743 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
6744 if test "x$LINE" != x
; then
6745 eval "DEFAULT_$LINE"
6750 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
6755 eval "$ac_cv_use_tipwindow"
6756 if test "$no_cache" != 1; then
6757 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
6760 if test "$wxUSE_TIPWINDOW" = yes; then
6761 echo "$ac_t""yes" 1>&6
6763 echo "$ac_t""no" 1>&6
6767 echo $ac_n "checking for --enable-popupwin""... $ac_c" 1>&6
6768 echo "configure:6769: checking for --enable-popupwin" >&5
6770 # Check whether --enable-popupwin or --disable-popupwin was given.
6771 if test "${enable_popupwin+set}" = set; then
6772 enableval
="$enable_popupwin"
6774 if test "$enableval" = yes; then
6775 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
6777 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
6782 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
6783 if test "x$LINE" != x
; then
6784 eval "DEFAULT_$LINE"
6789 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
6794 eval "$ac_cv_use_popupwin"
6795 if test "$no_cache" != 1; then
6796 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
6799 if test "$wxUSE_POPUPWIN" = yes; then
6800 echo "$ac_t""yes" 1>&6
6802 echo "$ac_t""no" 1>&6
6808 echo $ac_n "checking for --enable-commondlg""... $ac_c" 1>&6
6809 echo "configure:6810: checking for --enable-commondlg" >&5
6811 # Check whether --enable-commondlg or --disable-commondlg was given.
6812 if test "${enable_commondlg+set}" = set; then
6813 enableval
="$enable_commondlg"
6815 if test "$enableval" = yes; then
6816 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
6818 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
6823 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
6824 if test "x$LINE" != x
; then
6825 eval "DEFAULT_$LINE"
6830 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
6835 eval "$ac_cv_use_commondlg"
6836 if test "$no_cache" != 1; then
6837 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
6840 if test "$wxUSE_COMMONDLGS" = yes; then
6841 echo "$ac_t""yes" 1>&6
6843 echo "$ac_t""no" 1>&6
6847 echo $ac_n "checking for --enable-choicedlg""... $ac_c" 1>&6
6848 echo "configure:6849: checking for --enable-choicedlg" >&5
6850 # Check whether --enable-choicedlg or --disable-choicedlg was given.
6851 if test "${enable_choicedlg+set}" = set; then
6852 enableval
="$enable_choicedlg"
6854 if test "$enableval" = yes; then
6855 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
6857 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
6862 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
6863 if test "x$LINE" != x
; then
6864 eval "DEFAULT_$LINE"
6869 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
6874 eval "$ac_cv_use_choicedlg"
6875 if test "$no_cache" != 1; then
6876 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
6879 if test "$wxUSE_CHOICEDLG" = yes; then
6880 echo "$ac_t""yes" 1>&6
6882 echo "$ac_t""no" 1>&6
6886 echo $ac_n "checking for --enable-coldlg""... $ac_c" 1>&6
6887 echo "configure:6888: checking for --enable-coldlg" >&5
6889 # Check whether --enable-coldlg or --disable-coldlg was given.
6890 if test "${enable_coldlg+set}" = set; then
6891 enableval
="$enable_coldlg"
6893 if test "$enableval" = yes; then
6894 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
6896 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
6901 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
6902 if test "x$LINE" != x
; then
6903 eval "DEFAULT_$LINE"
6908 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
6913 eval "$ac_cv_use_coldlg"
6914 if test "$no_cache" != 1; then
6915 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
6918 if test "$wxUSE_COLOURDLG" = yes; then
6919 echo "$ac_t""yes" 1>&6
6921 echo "$ac_t""no" 1>&6
6925 echo $ac_n "checking for --enable-filedlg""... $ac_c" 1>&6
6926 echo "configure:6927: checking for --enable-filedlg" >&5
6928 # Check whether --enable-filedlg or --disable-filedlg was given.
6929 if test "${enable_filedlg+set}" = set; then
6930 enableval
="$enable_filedlg"
6932 if test "$enableval" = yes; then
6933 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
6935 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
6940 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
6941 if test "x$LINE" != x
; then
6942 eval "DEFAULT_$LINE"
6947 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
6952 eval "$ac_cv_use_filedlg"
6953 if test "$no_cache" != 1; then
6954 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
6957 if test "$wxUSE_FILEDLG" = yes; then
6958 echo "$ac_t""yes" 1>&6
6960 echo "$ac_t""no" 1>&6
6964 echo $ac_n "checking for --enable-finddlg""... $ac_c" 1>&6
6965 echo "configure:6966: checking for --enable-finddlg" >&5
6967 # Check whether --enable-finddlg or --disable-finddlg was given.
6968 if test "${enable_finddlg+set}" = set; then
6969 enableval
="$enable_finddlg"
6971 if test "$enableval" = yes; then
6972 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
6974 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
6979 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
6980 if test "x$LINE" != x
; then
6981 eval "DEFAULT_$LINE"
6986 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
6991 eval "$ac_cv_use_finddlg"
6992 if test "$no_cache" != 1; then
6993 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
6996 if test "$wxUSE_FINDREPLDLG" = yes; then
6997 echo "$ac_t""yes" 1>&6
6999 echo "$ac_t""no" 1>&6
7003 echo $ac_n "checking for --enable-fontdlg""... $ac_c" 1>&6
7004 echo "configure:7005: checking for --enable-fontdlg" >&5
7006 # Check whether --enable-fontdlg or --disable-fontdlg was given.
7007 if test "${enable_fontdlg+set}" = set; then
7008 enableval
="$enable_fontdlg"
7010 if test "$enableval" = yes; then
7011 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
7013 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
7018 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
7019 if test "x$LINE" != x
; then
7020 eval "DEFAULT_$LINE"
7025 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
7030 eval "$ac_cv_use_fontdlg"
7031 if test "$no_cache" != 1; then
7032 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
7035 if test "$wxUSE_FONTDLG" = yes; then
7036 echo "$ac_t""yes" 1>&6
7038 echo "$ac_t""no" 1>&6
7042 echo $ac_n "checking for --enable-dirdlg""... $ac_c" 1>&6
7043 echo "configure:7044: checking for --enable-dirdlg" >&5
7045 # Check whether --enable-dirdlg or --disable-dirdlg was given.
7046 if test "${enable_dirdlg+set}" = set; then
7047 enableval
="$enable_dirdlg"
7049 if test "$enableval" = yes; then
7050 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
7052 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
7057 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
7058 if test "x$LINE" != x
; then
7059 eval "DEFAULT_$LINE"
7064 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
7069 eval "$ac_cv_use_dirdlg"
7070 if test "$no_cache" != 1; then
7071 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
7074 if test "$wxUSE_DIRDLG" = yes; then
7075 echo "$ac_t""yes" 1>&6
7077 echo "$ac_t""no" 1>&6
7081 echo $ac_n "checking for --enable-msgdlg""... $ac_c" 1>&6
7082 echo "configure:7083: checking for --enable-msgdlg" >&5
7084 # Check whether --enable-msgdlg or --disable-msgdlg was given.
7085 if test "${enable_msgdlg+set}" = set; then
7086 enableval
="$enable_msgdlg"
7088 if test "$enableval" = yes; then
7089 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
7091 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
7096 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
7097 if test "x$LINE" != x
; then
7098 eval "DEFAULT_$LINE"
7103 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
7108 eval "$ac_cv_use_msgdlg"
7109 if test "$no_cache" != 1; then
7110 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
7113 if test "$wxUSE_MSGDLG" = yes; then
7114 echo "$ac_t""yes" 1>&6
7116 echo "$ac_t""no" 1>&6
7120 echo $ac_n "checking for --enable-numberdlg""... $ac_c" 1>&6
7121 echo "configure:7122: checking for --enable-numberdlg" >&5
7123 # Check whether --enable-numberdlg or --disable-numberdlg was given.
7124 if test "${enable_numberdlg+set}" = set; then
7125 enableval
="$enable_numberdlg"
7127 if test "$enableval" = yes; then
7128 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
7130 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
7135 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
7136 if test "x$LINE" != x
; then
7137 eval "DEFAULT_$LINE"
7142 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
7147 eval "$ac_cv_use_numberdlg"
7148 if test "$no_cache" != 1; then
7149 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
7152 if test "$wxUSE_NUMBERDLG" = yes; then
7153 echo "$ac_t""yes" 1>&6
7155 echo "$ac_t""no" 1>&6
7159 echo $ac_n "checking for --enable-splash""... $ac_c" 1>&6
7160 echo "configure:7161: checking for --enable-splash" >&5
7162 # Check whether --enable-splash or --disable-splash was given.
7163 if test "${enable_splash+set}" = set; then
7164 enableval
="$enable_splash"
7166 if test "$enableval" = yes; then
7167 ac_cv_use_splash
='wxUSE_SPLASH=yes'
7169 ac_cv_use_splash
='wxUSE_SPLASH=no'
7174 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
7175 if test "x$LINE" != x
; then
7176 eval "DEFAULT_$LINE"
7181 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
7186 eval "$ac_cv_use_splash"
7187 if test "$no_cache" != 1; then
7188 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
7191 if test "$wxUSE_SPLASH" = yes; then
7192 echo "$ac_t""yes" 1>&6
7194 echo "$ac_t""no" 1>&6
7198 echo $ac_n "checking for --enable-textdlg""... $ac_c" 1>&6
7199 echo "configure:7200: checking for --enable-textdlg" >&5
7201 # Check whether --enable-textdlg or --disable-textdlg was given.
7202 if test "${enable_textdlg+set}" = set; then
7203 enableval
="$enable_textdlg"
7205 if test "$enableval" = yes; then
7206 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
7208 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
7213 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
7214 if test "x$LINE" != x
; then
7215 eval "DEFAULT_$LINE"
7220 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
7225 eval "$ac_cv_use_textdlg"
7226 if test "$no_cache" != 1; then
7227 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
7230 if test "$wxUSE_TEXTDLG" = yes; then
7231 echo "$ac_t""yes" 1>&6
7233 echo "$ac_t""no" 1>&6
7237 echo $ac_n "checking for --enable-tipdlg""... $ac_c" 1>&6
7238 echo "configure:7239: checking for --enable-tipdlg" >&5
7240 # Check whether --enable-tipdlg or --disable-tipdlg was given.
7241 if test "${enable_tipdlg+set}" = set; then
7242 enableval
="$enable_tipdlg"
7244 if test "$enableval" = yes; then
7245 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
7247 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
7252 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
7253 if test "x$LINE" != x
; then
7254 eval "DEFAULT_$LINE"
7259 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
7264 eval "$ac_cv_use_tipdlg"
7265 if test "$no_cache" != 1; then
7266 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
7269 if test "$wxUSE_STARTUP_TIPS" = yes; then
7270 echo "$ac_t""yes" 1>&6
7272 echo "$ac_t""no" 1>&6
7276 echo $ac_n "checking for --enable-progressdlg""... $ac_c" 1>&6
7277 echo "configure:7278: checking for --enable-progressdlg" >&5
7279 # Check whether --enable-progressdlg or --disable-progressdlg was given.
7280 if test "${enable_progressdlg+set}" = set; then
7281 enableval
="$enable_progressdlg"
7283 if test "$enableval" = yes; then
7284 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
7286 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
7291 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
7292 if test "x$LINE" != x
; then
7293 eval "DEFAULT_$LINE"
7298 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
7303 eval "$ac_cv_use_progressdlg"
7304 if test "$no_cache" != 1; then
7305 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
7308 if test "$wxUSE_PROGRESSDLG" = yes; then
7309 echo "$ac_t""yes" 1>&6
7311 echo "$ac_t""no" 1>&6
7315 echo $ac_n "checking for --enable-wizarddlg""... $ac_c" 1>&6
7316 echo "configure:7317: checking for --enable-wizarddlg" >&5
7318 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
7319 if test "${enable_wizarddlg+set}" = set; then
7320 enableval
="$enable_wizarddlg"
7322 if test "$enableval" = yes; then
7323 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
7325 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
7330 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
7331 if test "x$LINE" != x
; then
7332 eval "DEFAULT_$LINE"
7337 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
7342 eval "$ac_cv_use_wizarddlg"
7343 if test "$no_cache" != 1; then
7344 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
7347 if test "$wxUSE_WIZARDDLG" = yes; then
7348 echo "$ac_t""yes" 1>&6
7350 echo "$ac_t""no" 1>&6
7356 echo $ac_n "checking for --enable-menus""... $ac_c" 1>&6
7357 echo "configure:7358: checking for --enable-menus" >&5
7359 # Check whether --enable-menus or --disable-menus was given.
7360 if test "${enable_menus+set}" = set; then
7361 enableval
="$enable_menus"
7363 if test "$enableval" = yes; then
7364 ac_cv_use_menus
='wxUSE_MENUS=yes'
7366 ac_cv_use_menus
='wxUSE_MENUS=no'
7371 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
7372 if test "x$LINE" != x
; then
7373 eval "DEFAULT_$LINE"
7378 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
7383 eval "$ac_cv_use_menus"
7384 if test "$no_cache" != 1; then
7385 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
7388 if test "$wxUSE_MENUS" = yes; then
7389 echo "$ac_t""yes" 1>&6
7391 echo "$ac_t""no" 1>&6
7395 echo $ac_n "checking for --enable-miniframe""... $ac_c" 1>&6
7396 echo "configure:7397: checking for --enable-miniframe" >&5
7398 # Check whether --enable-miniframe or --disable-miniframe was given.
7399 if test "${enable_miniframe+set}" = set; then
7400 enableval
="$enable_miniframe"
7402 if test "$enableval" = yes; then
7403 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
7405 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
7410 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
7411 if test "x$LINE" != x
; then
7412 eval "DEFAULT_$LINE"
7417 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
7422 eval "$ac_cv_use_miniframe"
7423 if test "$no_cache" != 1; then
7424 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
7427 if test "$wxUSE_MINIFRAME" = yes; then
7428 echo "$ac_t""yes" 1>&6
7430 echo "$ac_t""no" 1>&6
7434 echo $ac_n "checking for --enable-tooltips""... $ac_c" 1>&6
7435 echo "configure:7436: checking for --enable-tooltips" >&5
7437 # Check whether --enable-tooltips or --disable-tooltips was given.
7438 if test "${enable_tooltips+set}" = set; then
7439 enableval
="$enable_tooltips"
7441 if test "$enableval" = yes; then
7442 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
7444 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
7449 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
7450 if test "x$LINE" != x
; then
7451 eval "DEFAULT_$LINE"
7456 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
7461 eval "$ac_cv_use_tooltips"
7462 if test "$no_cache" != 1; then
7463 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
7466 if test "$wxUSE_TOOLTIPS" = yes; then
7467 echo "$ac_t""yes" 1>&6
7469 echo "$ac_t""no" 1>&6
7473 echo $ac_n "checking for --enable-splines""... $ac_c" 1>&6
7474 echo "configure:7475: checking for --enable-splines" >&5
7476 # Check whether --enable-splines or --disable-splines was given.
7477 if test "${enable_splines+set}" = set; then
7478 enableval
="$enable_splines"
7480 if test "$enableval" = yes; then
7481 ac_cv_use_splines
='wxUSE_SPLINES=yes'
7483 ac_cv_use_splines
='wxUSE_SPLINES=no'
7488 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
7489 if test "x$LINE" != x
; then
7490 eval "DEFAULT_$LINE"
7495 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
7500 eval "$ac_cv_use_splines"
7501 if test "$no_cache" != 1; then
7502 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
7505 if test "$wxUSE_SPLINES" = yes; then
7506 echo "$ac_t""yes" 1>&6
7508 echo "$ac_t""no" 1>&6
7512 echo $ac_n "checking for --enable-validators""... $ac_c" 1>&6
7513 echo "configure:7514: checking for --enable-validators" >&5
7515 # Check whether --enable-validators or --disable-validators was given.
7516 if test "${enable_validators+set}" = set; then
7517 enableval
="$enable_validators"
7519 if test "$enableval" = yes; then
7520 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
7522 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
7527 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
7528 if test "x$LINE" != x
; then
7529 eval "DEFAULT_$LINE"
7534 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
7539 eval "$ac_cv_use_validators"
7540 if test "$no_cache" != 1; then
7541 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
7544 if test "$wxUSE_VALIDATORS" = yes; then
7545 echo "$ac_t""yes" 1>&6
7547 echo "$ac_t""no" 1>&6
7551 echo $ac_n "checking for --enable-busyinfo""... $ac_c" 1>&6
7552 echo "configure:7553: checking for --enable-busyinfo" >&5
7554 # Check whether --enable-busyinfo or --disable-busyinfo was given.
7555 if test "${enable_busyinfo+set}" = set; then
7556 enableval
="$enable_busyinfo"
7558 if test "$enableval" = yes; then
7559 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
7561 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
7566 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
7567 if test "x$LINE" != x
; then
7568 eval "DEFAULT_$LINE"
7573 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
7578 eval "$ac_cv_use_busyinfo"
7579 if test "$no_cache" != 1; then
7580 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
7583 if test "$wxUSE_BUSYINFO" = yes; then
7584 echo "$ac_t""yes" 1>&6
7586 echo "$ac_t""no" 1>&6
7590 echo $ac_n "checking for --enable-joystick""... $ac_c" 1>&6
7591 echo "configure:7592: checking for --enable-joystick" >&5
7593 # Check whether --enable-joystick or --disable-joystick was given.
7594 if test "${enable_joystick+set}" = set; then
7595 enableval
="$enable_joystick"
7597 if test "$enableval" = yes; then
7598 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
7600 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
7605 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
7606 if test "x$LINE" != x
; then
7607 eval "DEFAULT_$LINE"
7612 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
7617 eval "$ac_cv_use_joystick"
7618 if test "$no_cache" != 1; then
7619 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
7622 if test "$wxUSE_JOYSTICK" = yes; then
7623 echo "$ac_t""yes" 1>&6
7625 echo "$ac_t""no" 1>&6
7629 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
7630 echo "configure:7631: checking for --enable-metafile" >&5
7632 # Check whether --enable-metafile or --disable-metafile was given.
7633 if test "${enable_metafile+set}" = set; then
7634 enableval
="$enable_metafile"
7636 if test "$enableval" = yes; then
7637 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
7639 ac_cv_use_metafile
='wxUSE_METAFILE=no'
7644 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7645 if test "x$LINE" != x
; then
7646 eval "DEFAULT_$LINE"
7651 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7656 eval "$ac_cv_use_metafile"
7657 if test "$no_cache" != 1; then
7658 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7661 if test "$wxUSE_METAFILE" = yes; then
7662 echo "$ac_t""yes" 1>&6
7664 echo "$ac_t""no" 1>&6
7668 echo $ac_n "checking for --enable-dragimage""... $ac_c" 1>&6
7669 echo "configure:7670: checking for --enable-dragimage" >&5
7671 # Check whether --enable-dragimage or --disable-dragimage was given.
7672 if test "${enable_dragimage+set}" = set; then
7673 enableval
="$enable_dragimage"
7675 if test "$enableval" = yes; then
7676 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
7678 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
7683 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
7684 if test "x$LINE" != x
; then
7685 eval "DEFAULT_$LINE"
7690 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
7695 eval "$ac_cv_use_dragimage"
7696 if test "$no_cache" != 1; then
7697 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
7700 if test "$wxUSE_DRAGIMAGE" = yes; then
7701 echo "$ac_t""yes" 1>&6
7703 echo "$ac_t""no" 1>&6
7709 echo $ac_n "checking for --enable-palette""... $ac_c" 1>&6
7710 echo "configure:7711: checking for --enable-palette" >&5
7712 # Check whether --enable-palette or --disable-palette was given.
7713 if test "${enable_palette+set}" = set; then
7714 enableval
="$enable_palette"
7716 if test "$enableval" = yes; then
7717 ac_cv_use_palette
='wxUSE_PALETTE=yes'
7719 ac_cv_use_palette
='wxUSE_PALETTE=no'
7724 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
7725 if test "x$LINE" != x
; then
7726 eval "DEFAULT_$LINE"
7731 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
7736 eval "$ac_cv_use_palette"
7737 if test "$no_cache" != 1; then
7738 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
7741 if test "$wxUSE_PALETTE" = yes; then
7742 echo "$ac_t""yes" 1>&6
7744 echo "$ac_t""no" 1>&6
7748 echo $ac_n "checking for --enable-image""... $ac_c" 1>&6
7749 echo "configure:7750: checking for --enable-image" >&5
7751 # Check whether --enable-image or --disable-image was given.
7752 if test "${enable_image+set}" = set; then
7753 enableval
="$enable_image"
7755 if test "$enableval" = yes; then
7756 ac_cv_use_image
='wxUSE_IMAGE=yes'
7758 ac_cv_use_image
='wxUSE_IMAGE=no'
7763 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
7764 if test "x$LINE" != x
; then
7765 eval "DEFAULT_$LINE"
7770 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
7775 eval "$ac_cv_use_image"
7776 if test "$no_cache" != 1; then
7777 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
7780 if test "$wxUSE_IMAGE" = yes; then
7781 echo "$ac_t""yes" 1>&6
7783 echo "$ac_t""no" 1>&6
7787 echo $ac_n "checking for --enable-gif""... $ac_c" 1>&6
7788 echo "configure:7789: checking for --enable-gif" >&5
7790 # Check whether --enable-gif or --disable-gif was given.
7791 if test "${enable_gif+set}" = set; then
7792 enableval
="$enable_gif"
7794 if test "$enableval" = yes; then
7795 ac_cv_use_gif
='wxUSE_GIF=yes'
7797 ac_cv_use_gif
='wxUSE_GIF=no'
7802 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
7803 if test "x$LINE" != x
; then
7804 eval "DEFAULT_$LINE"
7809 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
7814 eval "$ac_cv_use_gif"
7815 if test "$no_cache" != 1; then
7816 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
7819 if test "$wxUSE_GIF" = yes; then
7820 echo "$ac_t""yes" 1>&6
7822 echo "$ac_t""no" 1>&6
7826 echo $ac_n "checking for --enable-pcx""... $ac_c" 1>&6
7827 echo "configure:7828: checking for --enable-pcx" >&5
7829 # Check whether --enable-pcx or --disable-pcx was given.
7830 if test "${enable_pcx+set}" = set; then
7831 enableval
="$enable_pcx"
7833 if test "$enableval" = yes; then
7834 ac_cv_use_pcx
='wxUSE_PCX=yes'
7836 ac_cv_use_pcx
='wxUSE_PCX=no'
7841 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
7842 if test "x$LINE" != x
; then
7843 eval "DEFAULT_$LINE"
7848 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
7853 eval "$ac_cv_use_pcx"
7854 if test "$no_cache" != 1; then
7855 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
7858 if test "$wxUSE_PCX" = yes; then
7859 echo "$ac_t""yes" 1>&6
7861 echo "$ac_t""no" 1>&6
7865 echo $ac_n "checking for --enable-pnm""... $ac_c" 1>&6
7866 echo "configure:7867: checking for --enable-pnm" >&5
7868 # Check whether --enable-pnm or --disable-pnm was given.
7869 if test "${enable_pnm+set}" = set; then
7870 enableval
="$enable_pnm"
7872 if test "$enableval" = yes; then
7873 ac_cv_use_pnm
='wxUSE_PNM=yes'
7875 ac_cv_use_pnm
='wxUSE_PNM=no'
7880 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
7881 if test "x$LINE" != x
; then
7882 eval "DEFAULT_$LINE"
7887 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
7892 eval "$ac_cv_use_pnm"
7893 if test "$no_cache" != 1; then
7894 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
7897 if test "$wxUSE_PNM" = yes; then
7898 echo "$ac_t""yes" 1>&6
7900 echo "$ac_t""no" 1>&6
7904 echo $ac_n "checking for --enable-xpm""... $ac_c" 1>&6
7905 echo "configure:7906: checking for --enable-xpm" >&5
7907 # Check whether --enable-xpm or --disable-xpm was given.
7908 if test "${enable_xpm+set}" = set; then
7909 enableval
="$enable_xpm"
7911 if test "$enableval" = yes; then
7912 ac_cv_use_xpm
='wxUSE_XPM=yes'
7914 ac_cv_use_xpm
='wxUSE_XPM=no'
7919 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
7920 if test "x$LINE" != x
; then
7921 eval "DEFAULT_$LINE"
7926 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
7931 eval "$ac_cv_use_xpm"
7932 if test "$no_cache" != 1; then
7933 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
7936 if test "$wxUSE_XPM" = yes; then
7937 echo "$ac_t""yes" 1>&6
7939 echo "$ac_t""no" 1>&6
7946 echo "saving argument cache $wx_arg_cache_file"
7947 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
7951 echo $ac_n "checking for toolkit""... $ac_c" 1>&6
7952 echo "configure:7953: checking for toolkit" >&5
7954 if test "$wxUSE_GUI" = "yes"; then
7956 if test "$USE_BEOS" = 1; then
7957 { echo "configure: error: BeOS GUI is not supported yet, use --disable-gui" 1>&2; exit 1; }
7960 if test "$TOOLKIT_GIVEN" = 1; then
7961 for toolkit
in `echo $ALL_TOOLKITS`; do
7963 eval "value=\$${var}"
7964 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
7967 for toolkit
in `echo $ALL_TOOLKITS`; do
7968 if test "$has_toolkit_in_cache" != 1; then
7969 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
7971 var
=DEFAULT_wxUSE_
$toolkit
7973 eval "wxUSE_$toolkit=\$${var}"
7977 NUM_TOOLKITS
=`expr ${wxUSE_GTK:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MAC:-0} \
7978 + ${wxUSE_WINE:-0} + ${wxUSE_MSW:-0} + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0}`
7981 *-pc-os2_emx | *-pc-os2-emx )
7982 # PATH_IFS is autodetected by OS/2's configure (usually ';')
7983 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
7992 case "$NUM_TOOLKITS" in
7996 { echo "configure: error: Please specify a toolkit - cannot determine the default for ${host}" 1>&2; exit 1; }
7999 { echo "configure: error: Please specify at most one toolkit (may be some are cached?)" 1>&2; exit 1; }
8002 for toolkit
in `echo $ALL_TOOLKITS`; do
8004 eval "value=\$${var}"
8005 if test "x$value" != x
; then
8006 cache_var
=CACHE_
$toolkit
8007 eval "cache=\$${cache_var}"
8008 if test "$cache" = 1; then
8009 echo "$var=$value" >> ${wx_arg_cache_file}
8011 if test "$value" = 1; then
8012 toolkit_echo
=`echo $toolkit | tr [A-Z] [a-z]`
8013 echo "$ac_t""$toolkit_echo" 1>&6
8019 echo "$ac_t""base ($host_alias hosted) only" 1>&6
8023 cat > confcache
<<\EOF
8024 # This file is a shell script that caches the results of configure
8025 # tests run on this system so they can be shared between configure
8026 # scripts and configure runs. It is not useful on other systems.
8027 # If it contains results you don't want to keep, you may remove or edit it.
8029 # By default, configure uses ./config.cache as the cache file,
8030 # creating it if it does not exist already. You can give configure
8031 # the --cache-file=FILE option to use a different cache file; that is
8032 # what configure does when it calls configure scripts in
8033 # subdirectories, so they share the cache.
8034 # Giving --cache-file=/dev/null disables caching, for debugging configure.
8035 # config.status only pays attention to the cache file if you give it the
8036 # --recheck option to rerun configure.
8039 # The following way of writing the cache mishandles newlines in values,
8040 # but we know of no workaround that is simple, portable, and efficient.
8041 # So, don't put newlines in cache variables' values.
8042 # Ultrix sh set writes to stderr and can't be redirected directly,
8043 # and sets the high bit in the cache file unless we assign to the vars.
8045 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8047 # `set' does not quote correctly, so add quotes (double-quote substitution
8048 # turns \\\\ into \\, and sed turns \\ into \).
8050 -e "s/'/'\\\\''/g" \
8051 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
8054 # `set' quotes correctly as required by POSIX, so do not add quotes.
8055 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
8058 if cmp -s $cache_file confcache
; then
8061 if test -w $cache_file; then
8062 echo "updating cache $cache_file"
8063 cat confcache
> $cache_file
8065 echo "not updating unwritable cache $cache_file"
8071 if test "$build" != "$host" ; then
8072 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 ; then
8076 RANLIB
=$host_alias-ranlib
8077 DLLTOOL
=$host_alias-dlltool
8078 RESCOMP
=$host_alias-windres
8081 STRIP
=$host_alias-strip
8083 { echo "configure: error: $build_alias -> $host_alias cross compilation not supported yet." 1>&2; exit 1; }
8087 # Extract the first word of "gcc", so it can be a program name with args.
8088 set dummy gcc
; ac_word
=$2
8089 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8090 echo "configure:8091: checking for $ac_word" >&5
8091 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8092 echo $ac_n "(cached) $ac_c" 1>&6
8094 if test -n "$CC"; then
8095 ac_cv_prog_CC
="$CC" # Let the user override the test.
8097 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8099 for ac_dir
in $ac_dummy; do
8100 test -z "$ac_dir" && ac_dir
=.
8101 if test -f $ac_dir/$ac_word; then
8110 if test -n "$CC"; then
8111 echo "$ac_t""$CC" 1>&6
8113 echo "$ac_t""no" 1>&6
8116 if test -z "$CC"; then
8117 # Extract the first word of "cc", so it can be a program name with args.
8118 set dummy cc
; ac_word
=$2
8119 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8120 echo "configure:8121: checking for $ac_word" >&5
8121 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8122 echo $ac_n "(cached) $ac_c" 1>&6
8124 if test -n "$CC"; then
8125 ac_cv_prog_CC
="$CC" # Let the user override the test.
8127 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8130 for ac_dir
in $ac_dummy; do
8131 test -z "$ac_dir" && ac_dir
=.
8132 if test -f $ac_dir/$ac_word; then
8133 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
8134 ac_prog_rejected
=yes
8142 if test $ac_prog_rejected = yes; then
8143 # We found a bogon in the path, so make sure we never use it.
8144 set dummy
$ac_cv_prog_CC
8146 if test $# -gt 0; then
8147 # We chose a different compiler from the bogus one.
8148 # However, it has the same basename, so the bogon will be chosen
8149 # first if we set CC to just the basename; use the full file name.
8151 set dummy
"$ac_dir/$ac_word" "$@"
8159 if test -n "$CC"; then
8160 echo "$ac_t""$CC" 1>&6
8162 echo "$ac_t""no" 1>&6
8165 if test -z "$CC"; then
8166 case "`uname -s`" in
8168 # Extract the first word of "cl", so it can be a program name with args.
8169 set dummy cl
; ac_word
=$2
8170 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8171 echo "configure:8172: checking for $ac_word" >&5
8172 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8173 echo $ac_n "(cached) $ac_c" 1>&6
8175 if test -n "$CC"; then
8176 ac_cv_prog_CC
="$CC" # Let the user override the test.
8178 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8180 for ac_dir
in $ac_dummy; do
8181 test -z "$ac_dir" && ac_dir
=.
8182 if test -f $ac_dir/$ac_word; then
8191 if test -n "$CC"; then
8192 echo "$ac_t""$CC" 1>&6
8194 echo "$ac_t""no" 1>&6
8199 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
8202 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
8203 echo "configure:8204: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
8206 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8207 ac_cpp
='$CPP $CPPFLAGS'
8208 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8209 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8210 cross_compiling
=$ac_cv_prog_cc_cross
8212 cat > conftest.
$ac_ext << EOF
8214 #line 8215 "configure"
8215 #include "confdefs.h"
8219 if { (eval echo configure
:8220: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8220 ac_cv_prog_cc_works
=yes
8221 # If we can't run a trivial program, we are probably using a cross compiler.
8222 if (.
/conftest
; exit) 2>/dev
/null
; then
8223 ac_cv_prog_cc_cross
=no
8225 ac_cv_prog_cc_cross
=yes
8228 echo "configure: failed program was:" >&5
8229 cat conftest.
$ac_ext >&5
8230 ac_cv_prog_cc_works
=no
8234 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8235 ac_cpp
='$CPP $CPPFLAGS'
8236 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8237 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8238 cross_compiling
=$ac_cv_prog_cc_cross
8240 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
8241 if test $ac_cv_prog_cc_works = no
; then
8242 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
8244 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
8245 echo "configure:8246: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
8246 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
8247 cross_compiling
=$ac_cv_prog_cc_cross
8249 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
8250 echo "configure:8251: checking whether we are using GNU C" >&5
8251 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
8252 echo $ac_n "(cached) $ac_c" 1>&6
8254 cat > conftest.c
<<EOF
8259 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:8260: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
8266 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
8268 if test $ac_cv_prog_gcc = yes; then
8274 ac_test_CFLAGS
="${CFLAGS+set}"
8275 ac_save_CFLAGS
="$CFLAGS"
8277 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
8278 echo "configure:8279: checking whether ${CC-cc} accepts -g" >&5
8279 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
8280 echo $ac_n "(cached) $ac_c" 1>&6
8282 echo 'void f(){}' > conftest.c
8283 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
8292 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
8293 if test "$ac_test_CFLAGS" = set; then
8294 CFLAGS
="$ac_save_CFLAGS"
8295 elif test $ac_cv_prog_cc_g = yes; then
8296 if test "$GCC" = yes; then
8302 if test "$GCC" = yes; then
8310 CFLAGS
=`echo "$CFLAGS" | sed 's/-g//g'`
8312 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
8313 echo "configure:8314: checking how to run the C preprocessor" >&5
8314 # On Suns, sometimes $CPP names a directory.
8315 if test -n "$CPP" && test -d "$CPP"; then
8318 if test -z "$CPP"; then
8319 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
8320 echo $ac_n "(cached) $ac_c" 1>&6
8322 # This must be in double quotes, not single quotes, because CPP may get
8323 # substituted into the Makefile and "${CC-cc}" will confuse make.
8325 # On the NeXT, cc -E runs the code through the compiler's parser,
8326 # not just through cpp.
8327 cat > conftest.
$ac_ext <<EOF
8328 #line 8329 "configure"
8329 #include "confdefs.h"
8333 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8334 { (eval echo configure
:8335: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8335 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8336 if test -z "$ac_err"; then
8340 echo "configure: failed program was:" >&5
8341 cat conftest.
$ac_ext >&5
8343 CPP
="${CC-cc} -E -traditional-cpp"
8344 cat > conftest.
$ac_ext <<EOF
8345 #line 8346 "configure"
8346 #include "confdefs.h"
8350 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8351 { (eval echo configure
:8352: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8352 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8353 if test -z "$ac_err"; then
8357 echo "configure: failed program was:" >&5
8358 cat conftest.
$ac_ext >&5
8360 CPP
="${CC-cc} -nologo -E"
8361 cat > conftest.
$ac_ext <<EOF
8362 #line 8363 "configure"
8363 #include "confdefs.h"
8367 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8368 { (eval echo configure
:8369: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8369 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8370 if test -z "$ac_err"; then
8374 echo "configure: failed program was:" >&5
8375 cat conftest.
$ac_ext >&5
8384 ac_cv_prog_CPP
="$CPP"
8386 CPP
="$ac_cv_prog_CPP"
8388 ac_cv_prog_CPP
="$CPP"
8390 echo "$ac_t""$CPP" 1>&6
8392 if test $ac_cv_prog_gcc = yes; then
8393 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
8394 echo "configure:8395: checking whether ${CC-cc} needs -traditional" >&5
8395 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
8396 echo $ac_n "(cached) $ac_c" 1>&6
8398 ac_pattern
="Autoconf.*'x'"
8399 cat > conftest.
$ac_ext <<EOF
8400 #line 8401 "configure"
8401 #include "confdefs.h"
8405 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8406 egrep "$ac_pattern" >/dev
/null
2>&1; then
8408 ac_cv_prog_gcc_traditional
=yes
8411 ac_cv_prog_gcc_traditional
=no
8416 if test $ac_cv_prog_gcc_traditional = no
; then
8417 cat > conftest.
$ac_ext <<EOF
8418 #line 8419 "configure"
8419 #include "confdefs.h"
8423 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8424 egrep "$ac_pattern" >/dev
/null
2>&1; then
8426 ac_cv_prog_gcc_traditional
=yes
8433 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
8434 if test $ac_cv_prog_gcc_traditional = yes; then
8435 CC
="$CC -traditional"
8442 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8443 ac_cpp
='$CXXCPP $CPPFLAGS'
8444 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8445 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8446 cross_compiling
=$ac_cv_prog_cxx_cross
8449 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++ cl
8451 # Extract the first word of "$ac_prog", so it can be a program name with args.
8452 set dummy
$ac_prog; ac_word
=$2
8453 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8454 echo "configure:8455: checking for $ac_word" >&5
8455 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
8456 echo $ac_n "(cached) $ac_c" 1>&6
8458 if test -n "$CXX"; then
8459 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
8461 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8463 for ac_dir
in $ac_dummy; do
8464 test -z "$ac_dir" && ac_dir
=.
8465 if test -f $ac_dir/$ac_word; then
8466 ac_cv_prog_CXX
="$ac_prog"
8473 CXX
="$ac_cv_prog_CXX"
8474 if test -n "$CXX"; then
8475 echo "$ac_t""$CXX" 1>&6
8477 echo "$ac_t""no" 1>&6
8480 test -n "$CXX" && break
8482 test -n "$CXX" || CXX
="gcc"
8485 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
8486 echo "configure:8487: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
8489 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8490 ac_cpp
='$CXXCPP $CPPFLAGS'
8491 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8492 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8493 cross_compiling
=$ac_cv_prog_cxx_cross
8495 cat > conftest.
$ac_ext << EOF
8497 #line 8498 "configure"
8498 #include "confdefs.h"
8500 int main(){return(0);}
8502 if { (eval echo configure
:8503: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8503 ac_cv_prog_cxx_works
=yes
8504 # If we can't run a trivial program, we are probably using a cross compiler.
8505 if (.
/conftest
; exit) 2>/dev
/null
; then
8506 ac_cv_prog_cxx_cross
=no
8508 ac_cv_prog_cxx_cross
=yes
8511 echo "configure: failed program was:" >&5
8512 cat conftest.
$ac_ext >&5
8513 ac_cv_prog_cxx_works
=no
8517 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8518 ac_cpp
='$CXXCPP $CPPFLAGS'
8519 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8520 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8521 cross_compiling
=$ac_cv_prog_cxx_cross
8523 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
8524 if test $ac_cv_prog_cxx_works = no
; then
8525 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
8527 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
8528 echo "configure:8529: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
8529 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
8530 cross_compiling
=$ac_cv_prog_cxx_cross
8532 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
8533 echo "configure:8534: checking whether we are using GNU C++" >&5
8534 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
8535 echo $ac_n "(cached) $ac_c" 1>&6
8537 cat > conftest.C
<<EOF
8542 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:8543: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
8549 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
8551 if test $ac_cv_prog_gxx = yes; then
8557 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
8558 ac_save_CXXFLAGS
="$CXXFLAGS"
8560 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
8561 echo "configure:8562: checking whether ${CXX-g++} accepts -g" >&5
8562 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
8563 echo $ac_n "(cached) $ac_c" 1>&6
8565 echo 'void f(){}' > conftest.cc
8566 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
8567 ac_cv_prog_cxx_g
=yes
8575 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
8576 if test "$ac_test_CXXFLAGS" = set; then
8577 CXXFLAGS
="$ac_save_CXXFLAGS"
8578 elif test $ac_cv_prog_cxx_g = yes; then
8579 if test "$GXX" = yes; then
8585 if test "$GXX" = yes; then
8593 CXXFLAGS
=`echo "$CXXFLAGS" | sed 's/-g//g'`
8596 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8597 ac_cpp
='$CPP $CPPFLAGS'
8598 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8599 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8600 cross_compiling
=$ac_cv_prog_cc_cross
8603 # Extract the first word of "ranlib", so it can be a program name with args.
8604 set dummy ranlib
; ac_word
=$2
8605 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8606 echo "configure:8607: checking for $ac_word" >&5
8607 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
8608 echo $ac_n "(cached) $ac_c" 1>&6
8610 if test -n "$RANLIB"; then
8611 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
8613 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8615 for ac_dir
in $ac_dummy; do
8616 test -z "$ac_dir" && ac_dir
=.
8617 if test -f $ac_dir/$ac_word; then
8618 ac_cv_prog_RANLIB
="ranlib"
8623 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
8626 RANLIB
="$ac_cv_prog_RANLIB"
8627 if test -n "$RANLIB"; then
8628 echo "$ac_t""$RANLIB" 1>&6
8630 echo "$ac_t""no" 1>&6
8634 # Extract the first word of "ar", so it can be a program name with args.
8635 set dummy
ar; ac_word
=$2
8636 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8637 echo "configure:8638: checking for $ac_word" >&5
8638 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
8639 echo $ac_n "(cached) $ac_c" 1>&6
8641 if test -n "$AR"; then
8642 ac_cv_prog_AR
="$AR" # Let the user override the test.
8644 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8646 for ac_dir
in $ac_dummy; do
8647 test -z "$ac_dir" && ac_dir
=.
8648 if test -f $ac_dir/$ac_word; then
8654 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
8658 if test -n "$AR"; then
8659 echo "$ac_t""$AR" 1>&6
8661 echo "$ac_t""no" 1>&6
8665 # Find a good install program. We prefer a C program (faster),
8666 # so one script is as good as another. But avoid the broken or
8667 # incompatible versions:
8668 # SysV /etc/install, /usr/sbin/install
8669 # SunOS /usr/etc/install
8670 # IRIX /sbin/install
8672 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
8673 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
8674 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
8675 # ./install, which can be erroneously created by make from ./install.sh.
8676 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
8677 echo "configure:8678: checking for a BSD compatible install" >&5
8678 if test -z "$INSTALL"; then
8679 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
8680 echo $ac_n "(cached) $ac_c" 1>&6
8682 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
8683 for ac_dir
in $PATH; do
8684 # Account for people who put trailing slashes in PATH elements.
8686 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
8688 # OSF1 and SCO ODT 3.0 have their own names for install.
8689 # Don't use installbsd from OSF since it installs stuff as root
8691 for ac_prog
in ginstall scoinst
install; do
8692 if test -f $ac_dir/$ac_prog; then
8693 if test $ac_prog = install &&
8694 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
8695 # AIX install. It has an incompatible calling convention.
8698 ac_cv_path_install
="$ac_dir/$ac_prog -c"
8709 if test "${ac_cv_path_install+set}" = set; then
8710 INSTALL
="$ac_cv_path_install"
8712 # As a last resort, use the slow shell script. We don't cache a
8713 # path for INSTALL within a source directory, because that will
8714 # break other packages using the cache if that directory is
8715 # removed, or if the path is relative.
8716 INSTALL
="$ac_install_sh"
8719 echo "$ac_t""$INSTALL" 1>&6
8721 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
8722 # It thinks the first close brace ends the variable substitution.
8723 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
8725 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
8727 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
8732 INSTALL_PROGRAM
="cp -fp"
8733 INSTALL_DATA
="cp -fp"
8739 # Extract the first word of "strip", so it can be a program name with args.
8740 set dummy strip
; ac_word
=$2
8741 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8742 echo "configure:8743: checking for $ac_word" >&5
8743 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
8744 echo $ac_n "(cached) $ac_c" 1>&6
8746 if test -n "$STRIP"; then
8747 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
8749 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8751 for ac_dir
in $ac_dummy; do
8752 test -z "$ac_dir" && ac_dir
=.
8753 if test -f $ac_dir/$ac_word; then
8754 ac_cv_prog_STRIP
="strip"
8759 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
8762 STRIP
="$ac_cv_prog_STRIP"
8763 if test -n "$STRIP"; then
8764 echo "$ac_t""$STRIP" 1>&6
8766 echo "$ac_t""no" 1>&6
8770 echo $ac_n "checking make for VPATH support""... $ac_c" 1>&6
8771 echo "configure:8772: checking make for VPATH support" >&5
8772 cat - << EOF > confMake
8778 if test ! -d sub
; then
8781 echo dummy
> sub
/file
8782 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
8784 rm -f sub
/file check final_file confMake
8786 if test "$RESULT" = 0; then
8787 echo "$ac_t""yes" 1>&6
8789 echo "$ac_t""no" 1>&6
8790 { echo "configure: error:
8791 You need a make-utility that is able to use the variable
8793 If your version of make does not support VPATH correctly,
8794 please install GNU-make (possibly as gmake), and start
8795 configure with the following command:
8796 export MAKE=gmake; ./configure for sh-type shells
8797 setenv MAKE gmake; ./configure for csh-type shells
8798 Also please do remember to use gmake in this case every time
8799 you are trying to compile.
8803 for ac_prog
in 'bison -y' byacc
8805 # Extract the first word of "$ac_prog", so it can be a program name with args.
8806 set dummy
$ac_prog; ac_word
=$2
8807 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8808 echo "configure:8809: checking for $ac_word" >&5
8809 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
8810 echo $ac_n "(cached) $ac_c" 1>&6
8812 if test -n "$YACC"; then
8813 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
8815 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8817 for ac_dir
in $ac_dummy; do
8818 test -z "$ac_dir" && ac_dir
=.
8819 if test -f $ac_dir/$ac_word; then
8820 ac_cv_prog_YACC
="$ac_prog"
8827 YACC
="$ac_cv_prog_YACC"
8828 if test -n "$YACC"; then
8829 echo "$ac_t""$YACC" 1>&6
8831 echo "$ac_t""no" 1>&6
8834 test -n "$YACC" && break
8836 test -n "$YACC" || YACC
="yacc"
8839 # Extract the first word of "flex", so it can be a program name with args.
8840 set dummy flex
; ac_word
=$2
8841 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8842 echo "configure:8843: checking for $ac_word" >&5
8843 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
8844 echo $ac_n "(cached) $ac_c" 1>&6
8846 if test -n "$LEX"; then
8847 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
8849 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8851 for ac_dir
in $ac_dummy; do
8852 test -z "$ac_dir" && ac_dir
=.
8853 if test -f $ac_dir/$ac_word; then
8854 ac_cv_prog_LEX
="flex"
8859 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
8862 LEX
="$ac_cv_prog_LEX"
8863 if test -n "$LEX"; then
8864 echo "$ac_t""$LEX" 1>&6
8866 echo "$ac_t""no" 1>&6
8869 if test -z "$LEXLIB"
8875 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
8876 echo "configure:8877: checking for yywrap in -l$ac_lib" >&5
8877 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
8878 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8879 echo $ac_n "(cached) $ac_c" 1>&6
8881 ac_save_LIBS
="$LIBS"
8882 LIBS
="-l$ac_lib $LIBS"
8883 cat > conftest.
$ac_ext <<EOF
8884 #line 8885 "configure"
8885 #include "confdefs.h"
8886 /* Override any gcc2 internal prototype to avoid an error. */
8887 /* We use char because int might match the return type of a gcc2
8888 builtin and then its argument prototype would still apply. */
8895 if { (eval echo configure
:8896: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8897 eval "ac_cv_lib_$ac_lib_var=yes"
8899 echo "configure: failed program was:" >&5
8900 cat conftest.
$ac_ext >&5
8902 eval "ac_cv_lib_$ac_lib_var=no"
8905 LIBS
="$ac_save_LIBS"
8908 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8909 echo "$ac_t""yes" 1>&6
8912 echo "$ac_t""no" 1>&6
8918 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
8919 echo "configure:8920: checking whether ln -s works" >&5
8920 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
8921 echo $ac_n "(cached) $ac_c" 1>&6
8924 if ln -s X conftestdata
2>/dev
/null
8927 ac_cv_prog_LN_S
="ln -s"
8932 LN_S
="$ac_cv_prog_LN_S"
8933 if test "$ac_cv_prog_LN_S" = "ln -s"; then
8934 echo "$ac_t""yes" 1>&6
8936 echo "$ac_t""no" 1>&6
8942 /usr/local/include \
8944 /usr/Motif-1.2/include \
8945 /usr/Motif-2.1/include \
8947 /usr/include/Motif1.2 \
8948 /opt/xpm/include/X11 \
8949 /opt/GBxpm/include/ \
8950 /opt/GBxpm/X11/include/ \
8952 /usr/Motif1.2/include \
8954 /usr/openwin/include \
8958 /usr/X11R6/include \
8959 /usr/X11R6.4/include \
8960 /usr/X11R5/include \
8961 /usr/X11R4/include \
8963 /usr/include/X11R6 \
8964 /usr/include/X11R5 \
8965 /usr/include/X11R4 \
8967 /usr/local/X11R6/include \
8968 /usr/local/X11R5/include \
8969 /usr/local/X11R4/include \
8971 /usr/local/include/X11R6 \
8972 /usr/local/include/X11R5 \
8973 /usr/local/include/X11R4 \
8977 /usr/local/X11/include \
8978 /usr/local/include/X11 \
8982 /usr/XFree86/include/X11 \
8984 X:/XFree86/include \
8985 X:/XFree86/include/X11 \
8988 /usr/local/include/gtk \
8990 /usr/local/include/glib \
8993 /usr/local/include/qt \
8995 /usr/include/windows \
8997 /usr/local/include/wine \
8999 /usr/unsupported/include \
9000 /usr/athena/include \
9001 /usr/local/x11r5/include \
9002 /usr/lpp/Xamples/include \
9004 /usr/openwin/share/include \
9008 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
9011 cat > confcache
<<\EOF
9012 # This file is a shell script that caches the results of configure
9013 # tests run on this system so they can be shared between configure
9014 # scripts and configure runs. It is not useful on other systems.
9015 # If it contains results you don't want to keep, you may remove or edit it.
9017 # By default, configure uses ./config.cache as the cache file,
9018 # creating it if it does not exist already. You can give configure
9019 # the --cache-file=FILE option to use a different cache file; that is
9020 # what configure does when it calls configure scripts in
9021 # subdirectories, so they share the cache.
9022 # Giving --cache-file=/dev/null disables caching, for debugging configure.
9023 # config.status only pays attention to the cache file if you give it the
9024 # --recheck option to rerun configure.
9027 # The following way of writing the cache mishandles newlines in values,
9028 # but we know of no workaround that is simple, portable, and efficient.
9029 # So, don't put newlines in cache variables' values.
9030 # Ultrix sh set writes to stderr and can't be redirected directly,
9031 # and sets the high bit in the cache file unless we assign to the vars.
9033 case `(ac_space=' '; set | grep ac_space) 2>&1` in
9035 # `set' does not quote correctly, so add quotes (double-quote substitution
9036 # turns \\\\ into \\, and sed turns \\ into \).
9038 -e "s/'/'\\\\''/g" \
9039 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
9042 # `set' quotes correctly as required by POSIX, so do not add quotes.
9043 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
9046 if cmp -s $cache_file confcache
; then
9049 if test -w $cache_file; then
9050 echo "updating cache $cache_file"
9051 cat confcache
> $cache_file
9053 echo "not updating unwritable cache $cache_file"
9062 if test "$wxUSE_REGEX" != "no"; then
9063 cat >> confdefs.h
<<\EOF
9064 #define wxUSE_REGEX 1
9068 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
9069 ac_safe
=`echo "regex.h" | sed 'y%./+-%__p_%'`
9070 echo $ac_n "checking for regex.h""... $ac_c" 1>&6
9071 echo "configure:9072: checking for regex.h" >&5
9072 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9073 echo $ac_n "(cached) $ac_c" 1>&6
9075 cat > conftest.
$ac_ext <<EOF
9076 #line 9077 "configure"
9077 #include "confdefs.h"
9080 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9081 { (eval echo configure
:9082: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9082 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9083 if test -z "$ac_err"; then
9085 eval "ac_cv_header_$ac_safe=yes"
9088 echo "configure: failed program was:" >&5
9089 cat conftest.
$ac_ext >&5
9091 eval "ac_cv_header_$ac_safe=no"
9095 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9096 echo "$ac_t""yes" 1>&6
9097 for ac_func
in regcomp
9099 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9100 echo "configure:9101: checking for $ac_func" >&5
9101 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9102 echo $ac_n "(cached) $ac_c" 1>&6
9104 cat > conftest.
$ac_ext <<EOF
9105 #line 9106 "configure"
9106 #include "confdefs.h"
9107 /* System header to define __stub macros and hopefully few prototypes,
9108 which can conflict with char $ac_func(); below. */
9110 /* Override any gcc2 internal prototype to avoid an error. */
9111 /* We use char because int might match the return type of a gcc2
9112 builtin and then its argument prototype would still apply. */
9117 /* The GNU C library defines this for functions which it implements
9118 to always fail with ENOSYS. Some functions are actually named
9119 something starting with __ and the normal name is an alias. */
9120 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9128 if { (eval echo configure
:9129: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9130 eval "ac_cv_func_$ac_func=yes"
9132 echo "configure: failed program was:" >&5
9133 cat conftest.
$ac_ext >&5
9135 eval "ac_cv_func_$ac_func=no"
9140 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9141 echo "$ac_t""yes" 1>&6
9142 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9143 cat >> confdefs.h
<<EOF
9144 #define $ac_tr_func 1
9148 echo "$ac_t""no" 1>&6
9153 echo "$ac_t""no" 1>&6
9157 if test "x$ac_cv_func_regcomp" != "xyes"; then
9158 if test "$wxUSE_REGEX" = "sys" ; then
9159 { echo "configure: error: system regex library not found! Use --with-regex to use built-in version" 1>&2; exit 1; }
9161 echo "configure: warning: system regex library not found, will use built-in instead" 1>&2
9169 if test "$wxUSE_REGEX" = "builtin" ; then
9170 REGEX_INCLUDE
="-I\${top_srcdir}/src/regex"
9177 if test "$wxUSE_ZLIB" != "no" ; then
9178 cat >> confdefs.h
<<\EOF
9179 #define wxUSE_ZLIB 1
9183 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
9184 ac_safe
=`echo "zlib.h" | sed 'y%./+-%__p_%'`
9185 echo $ac_n "checking for zlib.h""... $ac_c" 1>&6
9186 echo "configure:9187: checking for zlib.h" >&5
9187 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9188 echo $ac_n "(cached) $ac_c" 1>&6
9190 cat > conftest.
$ac_ext <<EOF
9191 #line 9192 "configure"
9192 #include "confdefs.h"
9195 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9196 { (eval echo configure
:9197: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9197 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9198 if test -z "$ac_err"; then
9200 eval "ac_cv_header_$ac_safe=yes"
9203 echo "configure: failed program was:" >&5
9204 cat conftest.
$ac_ext >&5
9206 eval "ac_cv_header_$ac_safe=no"
9210 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9211 echo "$ac_t""yes" 1>&6
9212 echo $ac_n "checking for deflate in -lz""... $ac_c" 1>&6
9213 echo "configure:9214: checking for deflate in -lz" >&5
9214 ac_lib_var
=`echo z'_'deflate | sed 'y%./+-%__p_%'`
9215 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9216 echo $ac_n "(cached) $ac_c" 1>&6
9218 ac_save_LIBS
="$LIBS"
9220 cat > conftest.
$ac_ext <<EOF
9221 #line 9222 "configure"
9222 #include "confdefs.h"
9223 /* Override any gcc2 internal prototype to avoid an error. */
9224 /* We use char because int might match the return type of a gcc2
9225 builtin and then its argument prototype would still apply. */
9232 if { (eval echo configure
:9233: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9234 eval "ac_cv_lib_$ac_lib_var=yes"
9236 echo "configure: failed program was:" >&5
9237 cat conftest.
$ac_ext >&5
9239 eval "ac_cv_lib_$ac_lib_var=no"
9242 LIBS
="$ac_save_LIBS"
9245 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9246 echo "$ac_t""yes" 1>&6
9249 echo "$ac_t""no" 1>&6
9253 echo "$ac_t""no" 1>&6
9257 if test "x$ZLIB_LINK" = "x" ; then
9258 if test "$wxUSE_ZLIB" = "sys" ; then
9259 { echo "configure: error: system zlib compression library not found! Use --with-zlib=builtin to use built-in version" 1>&2; exit 1; }
9261 echo "configure: warning: system zlib compression library not found, will use built-in instead" 1>&2
9269 if test "$wxUSE_ZLIB" = "builtin" ; then
9270 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
9277 if test "$wxUSE_LIBPNG" != "no" ; then
9278 cat >> confdefs.h
<<\EOF
9279 #define wxUSE_LIBPNG 1
9283 if test "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
9284 echo "configure: warning: system png library doesn't work without system zlib, will use built-in instead" 1>&2
9285 wxUSE_LIBPNG
=builtin
9288 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
9289 ac_safe
=`echo "png.h" | sed 'y%./+-%__p_%'`
9290 echo $ac_n "checking for png.h""... $ac_c" 1>&6
9291 echo "configure:9292: checking for png.h" >&5
9292 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9293 echo $ac_n "(cached) $ac_c" 1>&6
9295 cat > conftest.
$ac_ext <<EOF
9296 #line 9297 "configure"
9297 #include "confdefs.h"
9300 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9301 { (eval echo configure
:9302: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9302 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9303 if test -z "$ac_err"; then
9305 eval "ac_cv_header_$ac_safe=yes"
9308 echo "configure: failed program was:" >&5
9309 cat conftest.
$ac_ext >&5
9311 eval "ac_cv_header_$ac_safe=no"
9315 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9316 echo "$ac_t""yes" 1>&6
9317 echo $ac_n "checking for png_check_sig in -lpng""... $ac_c" 1>&6
9318 echo "configure:9319: checking for png_check_sig in -lpng" >&5
9319 ac_lib_var
=`echo png'_'png_check_sig | sed 'y%./+-%__p_%'`
9320 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9321 echo $ac_n "(cached) $ac_c" 1>&6
9323 ac_save_LIBS
="$LIBS"
9324 LIBS
="-lpng -lz -lm $LIBS"
9325 cat > conftest.
$ac_ext <<EOF
9326 #line 9327 "configure"
9327 #include "confdefs.h"
9328 /* Override any gcc2 internal prototype to avoid an error. */
9329 /* We use char because int might match the return type of a gcc2
9330 builtin and then its argument prototype would still apply. */
9331 char png_check_sig();
9337 if { (eval echo configure
:9338: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9339 eval "ac_cv_lib_$ac_lib_var=yes"
9341 echo "configure: failed program was:" >&5
9342 cat conftest.
$ac_ext >&5
9344 eval "ac_cv_lib_$ac_lib_var=no"
9347 LIBS
="$ac_save_LIBS"
9350 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9351 echo "$ac_t""yes" 1>&6
9354 echo "$ac_t""no" 1>&6
9359 echo "$ac_t""no" 1>&6
9363 if test "x$PNG_LINK" = "x" ; then
9364 if test "$wxUSE_LIBPNG" = "sys" ; then
9365 { echo "configure: error: system png library not found! Use --with-libpng=builtin to use built-in version" 1>&2; exit 1; }
9367 echo "configure: warning: system png library not found, will use built-in instead" 1>&2
9368 wxUSE_LIBPNG
=builtin
9375 if test "$wxUSE_LIBPNG" = "builtin" ; then
9376 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
9379 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
9385 if test "$wxUSE_LIBJPEG" != "no" ; then
9386 cat >> confdefs.h
<<\EOF
9387 #define wxUSE_LIBJPEG 1
9391 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
9392 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6
9393 echo "configure:9394: checking for jpeglib.h" >&5
9394 if eval "test \"`echo '$''{'ac_cv_header_jpeglib_h'+set}'`\" = set"; then
9395 echo $ac_n "(cached) $ac_c" 1>&6
9397 cat > conftest.
$ac_ext <<EOF
9398 #line 9399 "configure"
9399 #include "confdefs.h"
9401 #undef HAVE_STDLIB_H
9403 #include <jpeglib.h>
9410 if { (eval echo configure
:9411: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9412 ac_cv_header_jpeglib_h
=yes
9414 echo "configure: failed program was:" >&5
9415 cat conftest.
$ac_ext >&5
9417 ac_cv_header_jpeglib_h
=no
9424 echo "$ac_t""$ac_cv_header_jpeglib_h" 1>&6
9426 if test "$ac_cv_header_jpeglib_h" = "yes"; then
9427 echo $ac_n "checking for jpeg_read_header in -ljpeg""... $ac_c" 1>&6
9428 echo "configure:9429: checking for jpeg_read_header in -ljpeg" >&5
9429 ac_lib_var
=`echo jpeg'_'jpeg_read_header | sed 'y%./+-%__p_%'`
9430 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9431 echo $ac_n "(cached) $ac_c" 1>&6
9433 ac_save_LIBS
="$LIBS"
9435 cat > conftest.
$ac_ext <<EOF
9436 #line 9437 "configure"
9437 #include "confdefs.h"
9438 /* Override any gcc2 internal prototype to avoid an error. */
9439 /* We use char because int might match the return type of a gcc2
9440 builtin and then its argument prototype would still apply. */
9441 char jpeg_read_header();
9447 if { (eval echo configure
:9448: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9449 eval "ac_cv_lib_$ac_lib_var=yes"
9451 echo "configure: failed program was:" >&5
9452 cat conftest.
$ac_ext >&5
9454 eval "ac_cv_lib_$ac_lib_var=no"
9457 LIBS
="$ac_save_LIBS"
9460 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9461 echo "$ac_t""yes" 1>&6
9464 echo "$ac_t""no" 1>&6
9469 if test "x$JPEG_LINK" = "x" ; then
9470 if test "$wxUSE_LIBJPEG" = "sys" ; then
9471 { echo "configure: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" 1>&2; exit 1; }
9473 echo "configure: warning: system jpeg library not found, will use built-in instead" 1>&2
9474 wxUSE_LIBJPEG
=builtin
9481 if test "$wxUSE_LIBJPEG" = "builtin" ; then
9482 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
9489 if test "$wxUSE_LIBTIFF" != "no" ; then
9490 cat >> confdefs.h
<<\EOF
9491 #define wxUSE_LIBTIFF 1
9495 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
9496 ac_safe
=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
9497 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
9498 echo "configure:9499: checking for tiffio.h" >&5
9499 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9500 echo $ac_n "(cached) $ac_c" 1>&6
9502 cat > conftest.
$ac_ext <<EOF
9503 #line 9504 "configure"
9504 #include "confdefs.h"
9507 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9508 { (eval echo configure
:9509: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9509 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9510 if test -z "$ac_err"; then
9512 eval "ac_cv_header_$ac_safe=yes"
9515 echo "configure: failed program was:" >&5
9516 cat conftest.
$ac_ext >&5
9518 eval "ac_cv_header_$ac_safe=no"
9522 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9523 echo "$ac_t""yes" 1>&6
9524 echo $ac_n "checking for TIFFError in -ltiff""... $ac_c" 1>&6
9525 echo "configure:9526: checking for TIFFError in -ltiff" >&5
9526 ac_lib_var
=`echo tiff'_'TIFFError | sed 'y%./+-%__p_%'`
9527 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9528 echo $ac_n "(cached) $ac_c" 1>&6
9530 ac_save_LIBS
="$LIBS"
9531 LIBS
="-ltiff -lm $LIBS"
9532 cat > conftest.
$ac_ext <<EOF
9533 #line 9534 "configure"
9534 #include "confdefs.h"
9535 /* Override any gcc2 internal prototype to avoid an error. */
9536 /* We use char because int might match the return type of a gcc2
9537 builtin and then its argument prototype would still apply. */
9544 if { (eval echo configure
:9545: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9546 eval "ac_cv_lib_$ac_lib_var=yes"
9548 echo "configure: failed program was:" >&5
9549 cat conftest.
$ac_ext >&5
9551 eval "ac_cv_lib_$ac_lib_var=no"
9554 LIBS
="$ac_save_LIBS"
9557 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9558 echo "$ac_t""yes" 1>&6
9561 echo "$ac_t""no" 1>&6
9566 echo "$ac_t""no" 1>&6
9570 if test "x$TIFF_LINK" = "x" ; then
9571 if test "$wxUSE_LIBTIFF" = "sys" ; then
9572 { echo "configure: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" 1>&2; exit 1; }
9574 echo "configure: warning: system tiff library not found, will use built-in instead" 1>&2
9575 wxUSE_LIBTIFF
=builtin
9582 if test "$wxUSE_LIBTIFF" = "builtin" ; then
9583 TIFF_INCLUDE
="-I\${top_srcdir}/src/tiff"
9590 if test "$wxUSE_FREETYPE" != "no" ; then
9591 cat >> confdefs.h
<<\EOF
9592 #define wxUSE_FREETYPE 1
9596 if test "$wxUSE_FREETYPE" = "sys" -o "$wxUSE_FREETYPE" = "yes" ; then
9597 ac_safe
=`echo "freetype.h" | sed 'y%./+-%__p_%'`
9598 echo $ac_n "checking for freetype.h""... $ac_c" 1>&6
9599 echo "configure:9600: checking for freetype.h" >&5
9600 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9601 echo $ac_n "(cached) $ac_c" 1>&6
9603 cat > conftest.
$ac_ext <<EOF
9604 #line 9605 "configure"
9605 #include "confdefs.h"
9606 #include <freetype.h>
9608 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9609 { (eval echo configure
:9610: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9610 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9611 if test -z "$ac_err"; then
9613 eval "ac_cv_header_$ac_safe=yes"
9616 echo "configure: failed program was:" >&5
9617 cat conftest.
$ac_ext >&5
9619 eval "ac_cv_header_$ac_safe=no"
9623 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9624 echo "$ac_t""yes" 1>&6
9625 echo $ac_n "checking for FT_Render_Glyph in -lfreetype""... $ac_c" 1>&6
9626 echo "configure:9627: checking for FT_Render_Glyph in -lfreetype" >&5
9627 ac_lib_var
=`echo freetype'_'FT_Render_Glyph | sed 'y%./+-%__p_%'`
9628 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9629 echo $ac_n "(cached) $ac_c" 1>&6
9631 ac_save_LIBS
="$LIBS"
9632 LIBS
="-lfreetype -lm $LIBS"
9633 cat > conftest.
$ac_ext <<EOF
9634 #line 9635 "configure"
9635 #include "confdefs.h"
9636 /* Override any gcc2 internal prototype to avoid an error. */
9637 /* We use char because int might match the return type of a gcc2
9638 builtin and then its argument prototype would still apply. */
9639 char FT_Render_Glyph();
9645 if { (eval echo configure
:9646: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9647 eval "ac_cv_lib_$ac_lib_var=yes"
9649 echo "configure: failed program was:" >&5
9650 cat conftest.
$ac_ext >&5
9652 eval "ac_cv_lib_$ac_lib_var=no"
9655 LIBS
="$ac_save_LIBS"
9658 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9659 echo "$ac_t""yes" 1>&6
9660 FREETYPE_LINK
=" -lfreetype"
9662 echo "$ac_t""no" 1>&6
9667 echo "$ac_t""no" 1>&6
9671 if test "x$FREETYPE_LINK" = "x" ; then
9672 if test "$wxUSE_FREETYPE" = "sys" ; then
9673 { echo "configure: error: system freetype library not found! Use --with-freetype=builtin to use built-in version" 1>&2; exit 1; }
9675 echo "configure: warning: system freetype library not found, will use built-in instead" 1>&2
9676 wxUSE_FREETYPE
=builtin
9683 if test "$wxUSE_FREETYPE" = "builtin" ; then
9684 FREETYPE_INCLUDE
="-I\${top_srcdir}/src/freetype"
9695 if test "$USE_WIN32" = 1 ; then
9696 for ac_hdr
in w32api.h
9698 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9699 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9700 echo "configure:9701: checking for $ac_hdr" >&5
9701 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9702 echo $ac_n "(cached) $ac_c" 1>&6
9704 cat > conftest.
$ac_ext <<EOF
9705 #line 9706 "configure"
9706 #include "confdefs.h"
9709 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9710 { (eval echo configure
:9711: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9711 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9712 if test -z "$ac_err"; then
9714 eval "ac_cv_header_$ac_safe=yes"
9717 echo "configure: failed program was:" >&5
9718 cat conftest.
$ac_ext >&5
9720 eval "ac_cv_header_$ac_safe=no"
9724 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9725 echo "$ac_t""yes" 1>&6
9726 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9727 cat >> confdefs.h
<<EOF
9728 #define $ac_tr_hdr 1
9732 echo "$ac_t""no" 1>&6
9736 ac_safe
=`echo "windows.h" | sed 'y%./+-%__p_%'`
9737 echo $ac_n "checking for windows.h""... $ac_c" 1>&6
9738 echo "configure:9739: checking for windows.h" >&5
9739 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9740 echo $ac_n "(cached) $ac_c" 1>&6
9742 cat > conftest.
$ac_ext <<EOF
9743 #line 9744 "configure"
9744 #include "confdefs.h"
9745 #include <windows.h>
9747 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9748 { (eval echo configure
:9749: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9749 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9750 if test -z "$ac_err"; then
9752 eval "ac_cv_header_$ac_safe=yes"
9755 echo "configure: failed program was:" >&5
9756 cat conftest.
$ac_ext >&5
9758 eval "ac_cv_header_$ac_safe=no"
9762 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9763 echo "$ac_t""yes" 1>&6
9766 echo "$ac_t""no" 1>&6
9768 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
9773 echo $ac_n "checking if w32api has good enough MSIE support""... $ac_c" 1>&6
9774 echo "configure:9775: checking if w32api has good enough MSIE support" >&5
9775 if eval "test \"`echo '$''{'wx_cv_w32api_win32_ie'+set}'`\" = set"; then
9776 echo $ac_n "(cached) $ac_c" 1>&6
9779 cat > conftest.
$ac_ext <<EOF
9780 #line 9781 "configure"
9781 #include "confdefs.h"
9785 #define wxCHECK_W32API_VERSION( major, minor ) \
9786 ( defined( __W32API_MAJOR_VERSION ) && defined( __W32API_MINOR_VERSION ) \
9787 && ( ( __W32API_MAJOR_VERSION > (major) ) \
9788 || ( __W32API_MAJOR_VERSION == (major) && __W32API_MINOR_VERSION >= (minor))))
9790 #if !wxCHECK_W32API_VERSION(1,1)
9791 #error You need w32api 1.1 or newer
9796 if { (eval echo configure
:9797: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9799 wx_cv_w32api_win32_ie
=yes
9802 echo "configure: failed program was:" >&5
9803 cat conftest.
$ac_ext >&5
9806 wx_cv_w32api_win32_ie
=no
9813 echo "$ac_t""$wx_cv_w32api_win32_ie" 1>&6
9814 if test "$wx_cv_w32api_win32_ie" = "yes" ; then
9815 CPPFLAGS
="$CPPFLAGS -D_WIN32_IE=0x400"
9818 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -ladvapi32 -lwsock32"
9822 LIBS
="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32"
9823 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
9826 if test "$wxUSE_ODBC" = "yes" ; then
9827 LIBS
=" -lodbc32 -lole32 -loleaut32$LIBS"
9830 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
9831 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
9834 if test "$wxUSE_GUI" = "yes"; then
9843 if test "$wxUSE_MSW" = 1 ; then
9849 LDFLAGS
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
9853 if test "$wxUSE_GTK" = 1; then
9854 echo $ac_n "checking for GTK+ version""... $ac_c" 1>&6
9855 echo "configure:9856: checking for GTK+ version" >&5
9857 gtk_version_cached
=1
9858 if eval "test \"`echo '$''{'wx_cv_lib_gtk'+set}'`\" = set"; then
9859 echo $ac_n "(cached) $ac_c" 1>&6
9862 gtk_version_cached
=0
9866 if test "$wxUSE_THREADS" = "yes"; then
9871 if test "x$wxUSE_GTK2" = "xyes"; then
9872 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
9873 if test "${with_gtk_prefix+set}" = set; then
9874 withval
="$with_gtk_prefix"
9875 gtk_config_prefix
="$withval"
9877 gtk_config_prefix
=""
9880 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
9881 if test "${with_gtk_exec_prefix+set}" = set; then
9882 withval
="$with_gtk_exec_prefix"
9883 gtk_config_exec_prefix
="$withval"
9885 gtk_config_exec_prefix
=""
9888 # Check whether --enable-gtktest or --disable-gtktest was given.
9889 if test "${enable_gtktest+set}" = set; then
9890 enableval
="$enable_gtktest"
9897 for module
in .
$GTK_MODULES
9901 gtk_config_args
="$gtk_config_args gthread"
9906 if test x
$gtk_config_exec_prefix != x
; then
9907 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
9908 if test x
${GTK_CONFIG_2_0+set} != xset
; then
9909 GTK_CONFIG_2_0
=$gtk_config_exec_prefix/bin
/gtk
-config-2.0
9912 if test x
$gtk_config_prefix != x
; then
9913 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
9914 if test x
${GTK_CONFIG_2_0+set} != xset
; then
9915 GTK_CONFIG_2_0
=$gtk_config_prefix/bin
/gtk
-config-2.0
9919 # Extract the first word of "gtk-config-2.0", so it can be a program name with args.
9920 set dummy gtk
-config-2.0
; ac_word
=$2
9921 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9922 echo "configure:9923: checking for $ac_word" >&5
9923 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG_2_0'+set}'`\" = set"; then
9924 echo $ac_n "(cached) $ac_c" 1>&6
9926 case "$GTK_CONFIG_2_0" in
9928 ac_cv_path_GTK_CONFIG_2_0
="$GTK_CONFIG_2_0" # Let the user override the test with a path.
9931 ac_cv_path_GTK_CONFIG_2_0
="$GTK_CONFIG_2_0" # Let the user override the test with a dos path.
9934 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9936 for ac_dir
in $ac_dummy; do
9937 test -z "$ac_dir" && ac_dir
=.
9938 if test -f $ac_dir/$ac_word; then
9939 ac_cv_path_GTK_CONFIG_2_0
="$ac_dir/$ac_word"
9944 test -z "$ac_cv_path_GTK_CONFIG_2_0" && ac_cv_path_GTK_CONFIG_2_0
="no"
9948 GTK_CONFIG_2_0
="$ac_cv_path_GTK_CONFIG_2_0"
9949 if test -n "$GTK_CONFIG_2_0"; then
9950 echo "$ac_t""$GTK_CONFIG_2_0" 1>&6
9952 echo "$ac_t""no" 1>&6
9955 min_gtk_version
=1.3.1
9956 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
9957 echo "configure:9958: checking for GTK - version >= $min_gtk_version" >&5
9959 if test "$GTK_CONFIG_2_0" = "no" ; then
9962 GTK_CFLAGS
=`$GTK_CONFIG_2_0 $gtk_config_args --cflags`
9963 GTK_LIBS
=`$GTK_CONFIG_2_0 $gtk_config_args --libs`
9964 gtk_config_major_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
9965 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
9966 gtk_config_minor_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
9967 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
9968 gtk_config_micro_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
9969 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
9970 if test "x$enable_gtktest" = "xyes" ; then
9971 ac_save_CFLAGS
="$CFLAGS"
9972 ac_save_LIBS
="$LIBS"
9973 CFLAGS
="$CFLAGS $GTK_CFLAGS"
9974 LIBS
="$GTK_LIBS $LIBS"
9976 if test "$cross_compiling" = yes; then
9977 echo $ac_n "cross compiling; assumed OK... $ac_c"
9979 cat > conftest.
$ac_ext <<EOF
9980 #line 9981 "configure"
9981 #include "confdefs.h"
9983 #include <gtk/gtk.h>
9990 int major, minor, micro;
9993 system ("touch conf.gtktest");
9995 /* HP/UX 9 (%@#!) writes to sscanf strings */
9996 tmp_version = g_strdup("$min_gtk_version");
9997 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
9998 printf("%s, bad version string\n", "$min_gtk_version");
10002 if ((gtk_major_version != $gtk_config_major_version) ||
10003 (gtk_minor_version != $gtk_config_minor_version) ||
10004 (gtk_micro_version != $gtk_config_micro_version))
10006 printf("\n*** 'gtk-config-2.0 --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
10007 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
10008 gtk_major_version, gtk_minor_version, gtk_micro_version);
10009 printf ("*** was found! If gtk-config-2.0 was correct, then it is best\n");
10010 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
10011 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
10012 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
10013 printf("*** required on your system.\n");
10014 printf("*** If gtk-config-2.0 was wrong, set the environment variable GTK_CONFIG_2_0\n");
10015 printf("*** to point to the correct copy of gtk-config-2.0, and remove the file config.cache\n");
10016 printf("*** before re-running configure\n");
10018 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
10019 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
10020 (gtk_minor_version != GTK_MINOR_VERSION) ||
10021 (gtk_micro_version != GTK_MICRO_VERSION))
10023 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
10024 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
10025 printf("*** library (version %d.%d.%d)\n",
10026 gtk_major_version, gtk_minor_version, gtk_micro_version);
10028 #endif /* defined (GTK_MAJOR_VERSION) ... */
10031 if ((gtk_major_version > major) ||
10032 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
10033 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
10039 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
10040 gtk_major_version, gtk_minor_version, gtk_micro_version);
10041 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
10042 major, minor, micro);
10043 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
10045 printf("*** If you have already installed a sufficiently new version, this error\n");
10046 printf("*** probably means that the wrong copy of the gtk-config-2.0 shell script is\n");
10047 printf("*** being found. The easiest way to fix this is to remove the old version\n");
10048 printf("*** of GTK+, but you can also set the GTK_CONFIG_2_0 environment to point to the\n");
10049 printf("*** correct copy of gtk-config-2.0. (In this case, you will have to\n");
10050 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
10051 printf("*** so that the correct libraries are found at run-time))\n");
10058 if { (eval echo configure
:10059: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10062 echo "configure: failed program was:" >&5
10063 cat conftest.
$ac_ext >&5
10070 CFLAGS
="$ac_save_CFLAGS"
10071 LIBS
="$ac_save_LIBS"
10074 if test "x$no_gtk" = x
; then
10075 echo "$ac_t""yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" 1>&6
10078 echo "$ac_t""no" 1>&6
10079 if test "$GTK_CONFIG_2_0" = "no" ; then
10080 echo "*** The gtk-config-2.0 script installed by GTK could not be found"
10081 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
10082 echo "*** your path, or set the GTK_CONFIG_2_0 environment variable to the"
10083 echo "*** full path to gtk-config-2.0."
10085 if test -f conf.gtktest
; then
10088 echo "*** Could not run GTK test program, checking why..."
10089 CFLAGS
="$CFLAGS $GTK_CFLAGS"
10090 LIBS
="$LIBS $GTK_LIBS"
10091 cat > conftest.
$ac_ext <<EOF
10092 #line 10093 "configure"
10093 #include "confdefs.h"
10095 #include <gtk/gtk.h>
10099 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
10102 if { (eval echo configure
:10103: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10104 echo "*** The test program compiled, but did not run. This usually means"
10105 echo "*** that the run-time linker is not finding GTK or finding the wrong"
10106 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
10107 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
10108 echo "*** to the installed location Also, make sure you have run ldconfig if that"
10109 echo "*** is required on your system"
10111 echo "*** If you have an old version installed, it is best to remove it, although"
10112 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
10114 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
10115 echo "*** came with the system with the command"
10117 echo "*** rpm --erase --nodeps gtk gtk-devel"
10119 echo "configure: failed program was:" >&5
10120 cat conftest.
$ac_ext >&5
10122 echo "*** The test program failed to compile or link. See the file config.log for the"
10123 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
10124 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
10125 echo "*** may want to edit the gtk-config-2.0 script: $GTK_CONFIG_2_0"
10128 CFLAGS
="$ac_save_CFLAGS"
10129 LIBS
="$ac_save_LIBS"
10142 if test -z "$wx_cv_lib_gtk"; then
10143 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
10144 if test "${with_gtk_prefix+set}" = set; then
10145 withval
="$with_gtk_prefix"
10146 gtk_config_prefix
="$withval"
10148 gtk_config_prefix
=""
10151 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
10152 if test "${with_gtk_exec_prefix+set}" = set; then
10153 withval
="$with_gtk_exec_prefix"
10154 gtk_config_exec_prefix
="$withval"
10156 gtk_config_exec_prefix
=""
10159 # Check whether --enable-gtktest or --disable-gtktest was given.
10160 if test "${enable_gtktest+set}" = set; then
10161 enableval
="$enable_gtktest"
10168 for module
in .
$GTK_MODULES
10172 gtk_config_args
="$gtk_config_args gthread"
10177 if test x
$gtk_config_exec_prefix != x
; then
10178 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
10179 if test x
${GTK_CONFIG+set} != xset
; then
10180 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
10183 if test x
$gtk_config_prefix != x
; then
10184 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
10185 if test x
${GTK_CONFIG+set} != xset
; then
10186 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
10190 # Extract the first word of "gtk-config", so it can be a program name with args.
10191 set dummy gtk
-config; ac_word
=$2
10192 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
10193 echo "configure:10194: checking for $ac_word" >&5
10194 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
10195 echo $ac_n "(cached) $ac_c" 1>&6
10197 case "$GTK_CONFIG" in
10199 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
10202 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
10205 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
10207 for ac_dir
in $ac_dummy; do
10208 test -z "$ac_dir" && ac_dir
=.
10209 if test -f $ac_dir/$ac_word; then
10210 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
10215 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
10219 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
10220 if test -n "$GTK_CONFIG"; then
10221 echo "$ac_t""$GTK_CONFIG" 1>&6
10223 echo "$ac_t""no" 1>&6
10226 min_gtk_version
=1.2.7
10227 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
10228 echo "configure:10229: checking for GTK - version >= $min_gtk_version" >&5
10230 if test "$GTK_CONFIG" = "no" ; then
10233 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
10234 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
10235 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
10236 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
10237 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
10238 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
10239 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
10240 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
10241 if test "x$enable_gtktest" = "xyes" ; then
10242 ac_save_CFLAGS
="$CFLAGS"
10243 ac_save_LIBS
="$LIBS"
10244 CFLAGS
="$CFLAGS $GTK_CFLAGS"
10245 LIBS
="$GTK_LIBS $LIBS"
10247 if test "$cross_compiling" = yes; then
10248 echo $ac_n "cross compiling; assumed OK... $ac_c"
10250 cat > conftest.
$ac_ext <<EOF
10251 #line 10252 "configure"
10252 #include "confdefs.h"
10254 #include <gtk/gtk.h>
10256 #include <stdlib.h>
10261 int major, minor, micro;
10264 system ("touch conf.gtktest");
10266 /* HP/UX 9 (%@#!) writes to sscanf strings */
10267 tmp_version = g_strdup("$min_gtk_version");
10268 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
10269 printf("%s, bad version string\n", "$min_gtk_version");
10273 if ((gtk_major_version != $gtk_config_major_version) ||
10274 (gtk_minor_version != $gtk_config_minor_version) ||
10275 (gtk_micro_version != $gtk_config_micro_version))
10277 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
10278 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
10279 gtk_major_version, gtk_minor_version, gtk_micro_version);
10280 printf ("*** was found! If gtk-config was correct, then it is best\n");
10281 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
10282 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
10283 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
10284 printf("*** required on your system.\n");
10285 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
10286 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
10287 printf("*** before re-running configure\n");
10289 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
10290 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
10291 (gtk_minor_version != GTK_MINOR_VERSION) ||
10292 (gtk_micro_version != GTK_MICRO_VERSION))
10294 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
10295 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
10296 printf("*** library (version %d.%d.%d)\n",
10297 gtk_major_version, gtk_minor_version, gtk_micro_version);
10299 #endif /* defined (GTK_MAJOR_VERSION) ... */
10302 if ((gtk_major_version > major) ||
10303 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
10304 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
10310 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
10311 gtk_major_version, gtk_minor_version, gtk_micro_version);
10312 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
10313 major, minor, micro);
10314 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
10316 printf("*** If you have already installed a sufficiently new version, this error\n");
10317 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
10318 printf("*** being found. The easiest way to fix this is to remove the old version\n");
10319 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
10320 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
10321 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
10322 printf("*** so that the correct libraries are found at run-time))\n");
10329 if { (eval echo configure
:10330: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10333 echo "configure: failed program was:" >&5
10334 cat conftest.
$ac_ext >&5
10341 CFLAGS
="$ac_save_CFLAGS"
10342 LIBS
="$ac_save_LIBS"
10345 if test "x$no_gtk" = x
; then
10346 echo "$ac_t""yes" 1>&6
10347 wx_cv_lib_gtk
=1.2.7
10349 echo "$ac_t""no" 1>&6
10350 if test "$GTK_CONFIG" = "no" ; then
10351 echo "*** The gtk-config script installed by GTK could not be found"
10352 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
10353 echo "*** your path, or set the GTK_CONFIG environment variable to the"
10354 echo "*** full path to gtk-config."
10356 if test -f conf.gtktest
; then
10359 echo "*** Could not run GTK test program, checking why..."
10360 CFLAGS
="$CFLAGS $GTK_CFLAGS"
10361 LIBS
="$LIBS $GTK_LIBS"
10362 cat > conftest.
$ac_ext <<EOF
10363 #line 10364 "configure"
10364 #include "confdefs.h"
10366 #include <gtk/gtk.h>
10370 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
10373 if { (eval echo configure
:10374: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10375 echo "*** The test program compiled, but did not run. This usually means"
10376 echo "*** that the run-time linker is not finding GTK or finding the wrong"
10377 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
10378 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
10379 echo "*** to the installed location Also, make sure you have run ldconfig if that"
10380 echo "*** is required on your system"
10382 echo "*** If you have an old version installed, it is best to remove it, although"
10383 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
10385 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
10386 echo "*** came with the system with the command"
10388 echo "*** rpm --erase --nodeps gtk gtk-devel"
10390 echo "configure: failed program was:" >&5
10391 cat conftest.
$ac_ext >&5
10393 echo "*** The test program failed to compile or link. See the file config.log for the"
10394 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
10395 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
10396 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
10399 CFLAGS
="$ac_save_CFLAGS"
10400 LIBS
="$ac_save_LIBS"
10413 if test -z "$wx_cv_lib_gtk"; then
10414 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
10415 if test "${with_gtk_prefix+set}" = set; then
10416 withval
="$with_gtk_prefix"
10417 gtk_config_prefix
="$withval"
10419 gtk_config_prefix
=""
10422 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
10423 if test "${with_gtk_exec_prefix+set}" = set; then
10424 withval
="$with_gtk_exec_prefix"
10425 gtk_config_exec_prefix
="$withval"
10427 gtk_config_exec_prefix
=""
10430 # Check whether --enable-gtktest or --disable-gtktest was given.
10431 if test "${enable_gtktest+set}" = set; then
10432 enableval
="$enable_gtktest"
10439 for module
in .
$GTK_MODULES
10443 gtk_config_args
="$gtk_config_args gthread"
10448 if test x
$gtk_config_exec_prefix != x
; then
10449 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
10450 if test x
${GTK_CONFIG+set} != xset
; then
10451 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
10454 if test x
$gtk_config_prefix != x
; then
10455 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
10456 if test x
${GTK_CONFIG+set} != xset
; then
10457 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
10461 # Extract the first word of "gtk-config", so it can be a program name with args.
10462 set dummy gtk
-config; ac_word
=$2
10463 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
10464 echo "configure:10465: checking for $ac_word" >&5
10465 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
10466 echo $ac_n "(cached) $ac_c" 1>&6
10468 case "$GTK_CONFIG" in
10470 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
10473 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
10476 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
10478 for ac_dir
in $ac_dummy; do
10479 test -z "$ac_dir" && ac_dir
=.
10480 if test -f $ac_dir/$ac_word; then
10481 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
10486 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
10490 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
10491 if test -n "$GTK_CONFIG"; then
10492 echo "$ac_t""$GTK_CONFIG" 1>&6
10494 echo "$ac_t""no" 1>&6
10497 min_gtk_version
=1.2.3
10498 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
10499 echo "configure:10500: checking for GTK - version >= $min_gtk_version" >&5
10501 if test "$GTK_CONFIG" = "no" ; then
10504 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
10505 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
10506 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
10507 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
10508 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
10509 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
10510 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
10511 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
10512 if test "x$enable_gtktest" = "xyes" ; then
10513 ac_save_CFLAGS
="$CFLAGS"
10514 ac_save_LIBS
="$LIBS"
10515 CFLAGS
="$CFLAGS $GTK_CFLAGS"
10516 LIBS
="$GTK_LIBS $LIBS"
10518 if test "$cross_compiling" = yes; then
10519 echo $ac_n "cross compiling; assumed OK... $ac_c"
10521 cat > conftest.
$ac_ext <<EOF
10522 #line 10523 "configure"
10523 #include "confdefs.h"
10525 #include <gtk/gtk.h>
10527 #include <stdlib.h>
10532 int major, minor, micro;
10535 system ("touch conf.gtktest");
10537 /* HP/UX 9 (%@#!) writes to sscanf strings */
10538 tmp_version = g_strdup("$min_gtk_version");
10539 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
10540 printf("%s, bad version string\n", "$min_gtk_version");
10544 if ((gtk_major_version != $gtk_config_major_version) ||
10545 (gtk_minor_version != $gtk_config_minor_version) ||
10546 (gtk_micro_version != $gtk_config_micro_version))
10548 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
10549 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
10550 gtk_major_version, gtk_minor_version, gtk_micro_version);
10551 printf ("*** was found! If gtk-config was correct, then it is best\n");
10552 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
10553 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
10554 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
10555 printf("*** required on your system.\n");
10556 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
10557 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
10558 printf("*** before re-running configure\n");
10560 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
10561 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
10562 (gtk_minor_version != GTK_MINOR_VERSION) ||
10563 (gtk_micro_version != GTK_MICRO_VERSION))
10565 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
10566 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
10567 printf("*** library (version %d.%d.%d)\n",
10568 gtk_major_version, gtk_minor_version, gtk_micro_version);
10570 #endif /* defined (GTK_MAJOR_VERSION) ... */
10573 if ((gtk_major_version > major) ||
10574 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
10575 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
10581 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
10582 gtk_major_version, gtk_minor_version, gtk_micro_version);
10583 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
10584 major, minor, micro);
10585 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
10587 printf("*** If you have already installed a sufficiently new version, this error\n");
10588 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
10589 printf("*** being found. The easiest way to fix this is to remove the old version\n");
10590 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
10591 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
10592 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
10593 printf("*** so that the correct libraries are found at run-time))\n");
10600 if { (eval echo configure
:10601: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10604 echo "configure: failed program was:" >&5
10605 cat conftest.
$ac_ext >&5
10612 CFLAGS
="$ac_save_CFLAGS"
10613 LIBS
="$ac_save_LIBS"
10616 if test "x$no_gtk" = x
; then
10617 echo "$ac_t""yes" 1>&6
10618 wx_cv_lib_gtk
=1.2.3
10620 echo "$ac_t""no" 1>&6
10621 if test "$GTK_CONFIG" = "no" ; then
10622 echo "*** The gtk-config script installed by GTK could not be found"
10623 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
10624 echo "*** your path, or set the GTK_CONFIG environment variable to the"
10625 echo "*** full path to gtk-config."
10627 if test -f conf.gtktest
; then
10630 echo "*** Could not run GTK test program, checking why..."
10631 CFLAGS
="$CFLAGS $GTK_CFLAGS"
10632 LIBS
="$LIBS $GTK_LIBS"
10633 cat > conftest.
$ac_ext <<EOF
10634 #line 10635 "configure"
10635 #include "confdefs.h"
10637 #include <gtk/gtk.h>
10641 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
10644 if { (eval echo configure
:10645: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10646 echo "*** The test program compiled, but did not run. This usually means"
10647 echo "*** that the run-time linker is not finding GTK or finding the wrong"
10648 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
10649 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
10650 echo "*** to the installed location Also, make sure you have run ldconfig if that"
10651 echo "*** is required on your system"
10653 echo "*** If you have an old version installed, it is best to remove it, although"
10654 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
10656 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
10657 echo "*** came with the system with the command"
10659 echo "*** rpm --erase --nodeps gtk gtk-devel"
10661 echo "configure: failed program was:" >&5
10662 cat conftest.
$ac_ext >&5
10664 echo "*** The test program failed to compile or link. See the file config.log for the"
10665 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
10666 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
10667 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
10670 CFLAGS
="$ac_save_CFLAGS"
10671 LIBS
="$ac_save_LIBS"
10684 if test -z "$wx_cv_lib_gtk"; then
10687 wx_cv_cflags_gtk
=$GTK_CFLAGS
10688 wx_cv_libs_gtk
=$GTK_LIBS
10695 if test "$gtk_version_cached" = 1; then
10696 echo "$ac_t""$wx_cv_lib_gtk" 1>&6
10699 case "$wx_cv_lib_gtk" in
10707 *) { echo "configure: error:
10708 Please check that gtk-config is in path, the directory
10709 where GTK+ libraries are installed (returned by
10710 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
10711 equivalent variable and GTK+ is version 1.2.3 or above.
10716 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
10717 GUI_TK_LIBRARY
="$wx_cv_libs_gtk"
10719 AFMINSTALL
=afminstall
10723 echo $ac_n "checking for gdk_im_open in -lgdk""... $ac_c" 1>&6
10724 echo "configure:10725: checking for gdk_im_open in -lgdk" >&5
10725 ac_lib_var
=`echo gdk'_'gdk_im_open | sed 'y%./+-%__p_%'`
10726 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10727 echo $ac_n "(cached) $ac_c" 1>&6
10729 ac_save_LIBS
="$LIBS"
10731 cat > conftest.
$ac_ext <<EOF
10732 #line 10733 "configure"
10733 #include "confdefs.h"
10734 /* Override any gcc2 internal prototype to avoid an error. */
10735 /* We use char because int might match the return type of a gcc2
10736 builtin and then its argument prototype would still apply. */
10737 char gdk_im_open();
10743 if { (eval echo configure
:10744: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10745 eval "ac_cv_lib_$ac_lib_var=yes"
10747 echo "configure: failed program was:" >&5
10748 cat conftest.
$ac_ext >&5
10750 eval "ac_cv_lib_$ac_lib_var=no"
10753 LIBS
="$ac_save_LIBS"
10756 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10757 echo "$ac_t""yes" 1>&6
10758 cat >> confdefs.h
<<\EOF
10763 echo "$ac_t""no" 1>&6
10768 if test "$wxUSE_MGL" = 1; then
10769 echo $ac_n "checking for SciTech MGL library""... $ac_c" 1>&6
10770 echo "configure:10771: checking for SciTech MGL library" >&5
10771 if test "x$MGL_ROOT" = x
; then
10772 echo "$ac_t""not found" 1>&6
10773 { echo "configure: error: Cannot find MGL library. Make sure MGL_ROOT is set." 1>&2; exit 1; }
10775 echo "$ac_t""$MGL_ROOT" 1>&6
10780 mgl_os
=linux
/gcc
/glibc
10786 { echo "configure: error: This system type ${host} is not yet supported by wxMGL." 1>&2; exit 1; }
10791 if test "$wxUSE_DEBUG_FLAG" = yes ; then
10792 if test -f $MGL_ROOT/lib
/debug
/$mgl_os/libmgl.a
-o \
10793 -f $MGL_ROOT/lib
/debug
/$mgl_os/libmgl.so
; then
10797 if test "x$mgl_lib_type" = x
; then
10798 if test -f $MGL_ROOT/lib
/release
/$mgl_os/libmgl.a
-o \
10799 -f $MGL_ROOT/lib
/release
/$mgl_os/libmgl.so
; then
10800 mgl_lib_type
=release
10802 { echo "configure: error: Cannot find MGL libraries, make sure they are compiled." 1>&2; exit 1; }
10806 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
10807 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
10809 AFMINSTALL
=afminstall
10814 if test "$wxUSE_MICROWIN" = 1; then
10815 echo $ac_n "checking for MicroWindows""... $ac_c" 1>&6
10816 echo "configure:10817: checking for MicroWindows" >&5
10817 if test "x$MICROWINDOWS" = x
; then
10818 echo "$ac_t""not found" 1>&6
10819 { echo "configure: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." 1>&2; exit 1; }
10821 echo "$ac_t""$MICROWINDOWS" 1>&6
10824 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
10825 echo "$ac_t""MicroWindows' libraries found." 1>&6
10827 { echo "configure: error: Cannot find MicroWindows libraries, make sure they are compiled." 1>&2; exit 1; }
10830 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
10831 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
10833 AFMINSTALL
=afminstall
10835 GUIDIST
=MICROWIN_DIST
10837 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__ -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
10840 if test "$wxUSE_WINE" = 1; then
10841 ac_safe
=`echo "windows.h" | sed 'y%./+-%__p_%'`
10842 echo $ac_n "checking for windows.h""... $ac_c" 1>&6
10843 echo "configure:10844: checking for windows.h" >&5
10844 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10845 echo $ac_n "(cached) $ac_c" 1>&6
10847 cat > conftest.
$ac_ext <<EOF
10848 #line 10849 "configure"
10849 #include "confdefs.h"
10850 #include <windows.h>
10852 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10853 { (eval echo configure
:10854: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10854 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10855 if test -z "$ac_err"; then
10857 eval "ac_cv_header_$ac_safe=yes"
10860 echo "configure: failed program was:" >&5
10861 cat conftest.
$ac_ext >&5
10863 eval "ac_cv_header_$ac_safe=no"
10867 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10868 echo "$ac_t""yes" 1>&6
10871 echo "$ac_t""no" 1>&6
10873 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
10879 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
10880 echo "configure:10881: checking for Xpm library" >&5
10883 for ac_dir
in $SEARCH_LIB;
10885 for ac_extension
in a so sl dylib
; do
10886 if test -f "$ac_dir/libXpm.$ac_extension"; then
10887 ac_find_libraries
=$ac_dir
10893 if test "$ac_find_libraries" != "" ; then
10894 GUI_TK_LIBRARY
="-L$ac_find_libraries"
10896 cat >> confdefs.h
<<\EOF
10897 #define wxHAVE_LIB_XPM 1
10900 echo "$ac_t""found at $ac_find_libraries" 1>&6
10902 echo "$ac_t""no" 1>&6
10903 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
10907 echo $ac_n "checking for Mesa library""... $ac_c" 1>&6
10908 echo "configure:10909: checking for Mesa library" >&5
10911 for ac_dir
in $SEARCH_LIB;
10913 for ac_extension
in a so sl dylib
; do
10914 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
10915 ac_find_libraries
=$ac_dir
10921 if test "$ac_find_libraries" != "" ; then
10922 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -L$ac_find_libraries"
10923 mesa_link
=" -lMesaGL"
10924 echo "$ac_t""found at $ac_find_libraries" 1>&6
10926 { echo "configure: error: no" 1>&2; exit 1; }
10929 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lwine$mesa_link$xpm_link -lXxf86dga -lXxf86vm -lSM -lICE -lXext -lXmu -lX11 -lncurses"
10932 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXWINE__"
10935 if test "$wxUSE_MOTIF" = 1; then
10936 # If we find X, set shell vars x_includes and x_libraries to the
10937 # paths, otherwise set no_x=yes.
10938 # Uses ac_ vars as temps to allow command line to override cache and checks.
10939 # --without-x overrides everything else, but does not touch the cache.
10940 echo $ac_n "checking for X""... $ac_c" 1>&6
10941 echo "configure:10942: checking for X" >&5
10943 # Check whether --with-x or --without-x was given.
10944 if test "${with_x+set}" = set; then
10949 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10950 if test "x$with_x" = xno
; then
10951 # The user explicitly disabled X.
10954 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
10955 # Both variables are already set.
10958 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
10959 echo $ac_n "(cached) $ac_c" 1>&6
10961 # One or both of the vars are not set, and there is no cached value.
10962 ac_x_includes
=NO ac_x_libraries
=NO
10964 if mkdir conftestdir
; then
10966 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
10967 cat > Imakefile
<<'EOF'
10969 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
10971 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
10972 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
10973 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
10974 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10975 for ac_extension
in a so sl
; do
10976 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
10977 test -f $ac_im_libdir/libX11.
$ac_extension; then
10978 ac_im_usrlibdir
=$ac_im_libdir; break
10981 # Screen out bogus values from the imake configuration. They are
10982 # bogus both because they are the default anyway, and because
10983 # using them would break gcc on systems where it needs fixed includes.
10984 case "$ac_im_incroot" in
10986 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;;
10988 case "$ac_im_usrlibdir" in
10989 /usr
/lib
| /lib
) ;;
10990 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;;
10997 if test "$ac_x_includes" = NO
; then
10998 # Guess where to find include files, by looking for this one X11 .h file.
10999 test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
11001 # First, try using that file with no special directory specified.
11002 cat > conftest.
$ac_ext <<EOF
11003 #line 11004 "configure"
11004 #include "confdefs.h"
11005 #include <$x_direct_test_include>
11007 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11008 { (eval echo configure
:11009: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11009 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11010 if test -z "$ac_err"; then
11012 # We can compile using X headers with no special include directory.
11016 echo "configure: failed program was:" >&5
11017 cat conftest.
$ac_ext >&5
11019 # Look for the header file in a standard set of common directories.
11020 # Check X11 before X11Rn because it is often a symlink to the current release.
11023 /usr
/X
11R
6/include \
11024 /usr
/X
11R
5/include \
11025 /usr
/X
11R
4/include \
11028 /usr
/include
/X11R6 \
11029 /usr
/include
/X11R5 \
11030 /usr
/include
/X11R4 \
11032 /usr
/local
/X
11/include \
11033 /usr
/local
/X
11R
6/include \
11034 /usr
/local
/X
11R
5/include \
11035 /usr
/local
/X
11R
4/include \
11037 /usr
/local
/include
/X11 \
11038 /usr
/local
/include
/X11R6 \
11039 /usr
/local
/include
/X11R5 \
11040 /usr
/local
/include
/X11R4 \
11042 /usr
/X
386/include \
11043 /usr
/x
386/include \
11044 /usr
/XFree
86/include
/X11 \
11047 /usr
/local
/include \
11048 /usr
/unsupported
/include \
11049 /usr
/athena
/include \
11050 /usr
/local
/x
11r
5/include \
11051 /usr
/lpp
/Xamples
/include \
11053 /usr
/openwin
/include \
11054 /usr
/openwin
/share
/include \
11057 if test -r "$ac_dir/$x_direct_test_include"; then
11058 ac_x_includes
=$ac_dir
11064 fi # $ac_x_includes = NO
11066 if test "$ac_x_libraries" = NO
; then
11067 # Check for the libraries.
11069 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
11070 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
11072 # See if we find them without any special options.
11073 # Don't add to $LIBS permanently.
11074 ac_save_LIBS
="$LIBS"
11075 LIBS
="-l$x_direct_test_library $LIBS"
11076 cat > conftest.
$ac_ext <<EOF
11077 #line 11078 "configure"
11078 #include "confdefs.h"
11081 ${x_direct_test_function}()
11084 if { (eval echo configure
:11085: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11086 LIBS
="$ac_save_LIBS"
11087 # We can link X programs with no special library path.
11090 echo "configure: failed program was:" >&5
11091 cat conftest.
$ac_ext >&5
11093 LIBS
="$ac_save_LIBS"
11094 # First see if replacing the include by lib works.
11095 # Check X11 before X11Rn because it is often a symlink to the current release.
11096 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib/` \
11107 /usr
/local
/X
11/lib \
11108 /usr
/local
/X
11R
6/lib \
11109 /usr
/local
/X
11R
5/lib \
11110 /usr
/local
/X
11R
4/lib \
11112 /usr
/local
/lib
/X11 \
11113 /usr
/local
/lib
/X11R6 \
11114 /usr
/local
/lib
/X11R5 \
11115 /usr
/local
/lib
/X11R4 \
11119 /usr
/XFree
86/lib
/X11 \
11123 /usr
/unsupported
/lib \
11125 /usr
/local
/x
11r
5/lib \
11126 /usr
/lpp
/Xamples
/lib \
11130 /usr
/openwin
/share
/lib \
11133 for ac_extension
in a so sl
; do
11134 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
11135 ac_x_libraries
=$ac_dir
11142 fi # $ac_x_libraries = NO
11144 if test "$ac_x_includes" = NO
|| test "$ac_x_libraries" = NO
; then
11145 # Didn't find X anywhere. Cache the known absence of X.
11146 ac_cv_have_x
="have_x=no"
11148 # Record where we found X for the cache.
11149 ac_cv_have_x
="have_x=yes \
11150 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
11154 eval "$ac_cv_have_x"
11157 if test "$have_x" != yes; then
11158 echo "$ac_t""$have_x" 1>&6
11161 # If each of the values was on the command line, it overrides each guess.
11162 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
11163 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
11164 # Update the cache value to reflect the command line values.
11165 ac_cv_have_x
="have_x=yes \
11166 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
11167 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
11170 if test "$no_x" = yes; then
11171 # Not all programs may use this symbol, but it does not hurt to define it.
11172 cat >> confdefs.h
<<\EOF
11173 #define X_DISPLAY_MISSING 1
11176 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
11178 if test -n "$x_includes"; then
11179 X_CFLAGS
="$X_CFLAGS -I$x_includes"
11182 # It would also be nice to do this for all -L options, not just this one.
11183 if test -n "$x_libraries"; then
11184 X_LIBS
="$X_LIBS -L$x_libraries"
11185 # For Solaris; some versions of Sun CC require a space after -R and
11186 # others require no space. Words are not sufficient . . . .
11187 case "`(uname -sr) 2>/dev/null`" in
11189 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
11190 echo "configure:11191: checking whether -R must be followed by a space" >&5
11191 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
11192 cat > conftest.
$ac_ext <<EOF
11193 #line 11194 "configure"
11194 #include "confdefs.h"
11200 if { (eval echo configure
:11201: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11204 echo "configure: failed program was:" >&5
11205 cat conftest.
$ac_ext >&5
11210 if test $ac_R_nospace = yes; then
11211 echo "$ac_t""no" 1>&6
11212 X_LIBS
="$X_LIBS -R$x_libraries"
11214 LIBS
="$ac_xsave_LIBS -R $x_libraries"
11215 cat > conftest.
$ac_ext <<EOF
11216 #line 11217 "configure"
11217 #include "confdefs.h"
11223 if { (eval echo configure
:11224: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11227 echo "configure: failed program was:" >&5
11228 cat conftest.
$ac_ext >&5
11233 if test $ac_R_space = yes; then
11234 echo "$ac_t""yes" 1>&6
11235 X_LIBS
="$X_LIBS -R $x_libraries"
11237 echo "$ac_t""neither works" 1>&6
11240 LIBS
="$ac_xsave_LIBS"
11244 # Check for system-dependent libraries X programs must link with.
11245 # Do this before checking for the system-independent R6 libraries
11246 # (-lICE), since we may need -lsocket or whatever for X linking.
11248 if test "$ISC" = yes; then
11249 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
11251 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
11252 # libraries were built with DECnet support. And karl@cs.umb.edu says
11253 # the Alpha needs dnet_stub (dnet does not exist).
11254 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
11255 echo "configure:11256: checking for dnet_ntoa in -ldnet" >&5
11256 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
11257 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11258 echo $ac_n "(cached) $ac_c" 1>&6
11260 ac_save_LIBS
="$LIBS"
11261 LIBS
="-ldnet $LIBS"
11262 cat > conftest.
$ac_ext <<EOF
11263 #line 11264 "configure"
11264 #include "confdefs.h"
11265 /* Override any gcc2 internal prototype to avoid an error. */
11266 /* We use char because int might match the return type of a gcc2
11267 builtin and then its argument prototype would still apply. */
11274 if { (eval echo configure
:11275: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11276 eval "ac_cv_lib_$ac_lib_var=yes"
11278 echo "configure: failed program was:" >&5
11279 cat conftest.
$ac_ext >&5
11281 eval "ac_cv_lib_$ac_lib_var=no"
11284 LIBS
="$ac_save_LIBS"
11287 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11288 echo "$ac_t""yes" 1>&6
11289 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
11291 echo "$ac_t""no" 1>&6
11294 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
11295 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
11296 echo "configure:11297: checking for dnet_ntoa in -ldnet_stub" >&5
11297 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
11298 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11299 echo $ac_n "(cached) $ac_c" 1>&6
11301 ac_save_LIBS
="$LIBS"
11302 LIBS
="-ldnet_stub $LIBS"
11303 cat > conftest.
$ac_ext <<EOF
11304 #line 11305 "configure"
11305 #include "confdefs.h"
11306 /* Override any gcc2 internal prototype to avoid an error. */
11307 /* We use char because int might match the return type of a gcc2
11308 builtin and then its argument prototype would still apply. */
11315 if { (eval echo configure
:11316: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11317 eval "ac_cv_lib_$ac_lib_var=yes"
11319 echo "configure: failed program was:" >&5
11320 cat conftest.
$ac_ext >&5
11322 eval "ac_cv_lib_$ac_lib_var=no"
11325 LIBS
="$ac_save_LIBS"
11328 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11329 echo "$ac_t""yes" 1>&6
11330 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
11332 echo "$ac_t""no" 1>&6
11337 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
11338 # to get the SysV transport functions.
11339 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
11341 # The nsl library prevents programs from opening the X display
11342 # on Irix 5.2, according to dickey@clark.net.
11343 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
11344 echo "configure:11345: checking for gethostbyname" >&5
11345 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
11346 echo $ac_n "(cached) $ac_c" 1>&6
11348 cat > conftest.
$ac_ext <<EOF
11349 #line 11350 "configure"
11350 #include "confdefs.h"
11351 /* System header to define __stub macros and hopefully few prototypes,
11352 which can conflict with char gethostbyname(); below. */
11353 #include <assert.h>
11354 /* Override any gcc2 internal prototype to avoid an error. */
11355 /* We use char because int might match the return type of a gcc2
11356 builtin and then its argument prototype would still apply. */
11357 char gethostbyname();
11361 /* The GNU C library defines this for functions which it implements
11362 to always fail with ENOSYS. Some functions are actually named
11363 something starting with __ and the normal name is an alias. */
11364 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
11372 if { (eval echo configure
:11373: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11374 eval "ac_cv_func_gethostbyname=yes"
11376 echo "configure: failed program was:" >&5
11377 cat conftest.
$ac_ext >&5
11379 eval "ac_cv_func_gethostbyname=no"
11384 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
11385 echo "$ac_t""yes" 1>&6
11388 echo "$ac_t""no" 1>&6
11391 if test $ac_cv_func_gethostbyname = no
; then
11392 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
11393 echo "configure:11394: checking for gethostbyname in -lnsl" >&5
11394 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
11395 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11396 echo $ac_n "(cached) $ac_c" 1>&6
11398 ac_save_LIBS
="$LIBS"
11400 cat > conftest.
$ac_ext <<EOF
11401 #line 11402 "configure"
11402 #include "confdefs.h"
11403 /* Override any gcc2 internal prototype to avoid an error. */
11404 /* We use char because int might match the return type of a gcc2
11405 builtin and then its argument prototype would still apply. */
11406 char gethostbyname();
11412 if { (eval echo configure
:11413: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11414 eval "ac_cv_lib_$ac_lib_var=yes"
11416 echo "configure: failed program was:" >&5
11417 cat conftest.
$ac_ext >&5
11419 eval "ac_cv_lib_$ac_lib_var=no"
11422 LIBS
="$ac_save_LIBS"
11425 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11426 echo "$ac_t""yes" 1>&6
11427 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
11429 echo "$ac_t""no" 1>&6
11434 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11435 # socket/setsockopt and other routines are undefined under SCO ODT
11436 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11437 # on later versions), says simon@lia.di.epfl.ch: it contains
11438 # gethostby* variants that don't use the nameserver (or something).
11439 # -lsocket must be given before -lnsl if both are needed.
11440 # We assume that if connect needs -lnsl, so does gethostbyname.
11441 echo $ac_n "checking for connect""... $ac_c" 1>&6
11442 echo "configure:11443: checking for connect" >&5
11443 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
11444 echo $ac_n "(cached) $ac_c" 1>&6
11446 cat > conftest.
$ac_ext <<EOF
11447 #line 11448 "configure"
11448 #include "confdefs.h"
11449 /* System header to define __stub macros and hopefully few prototypes,
11450 which can conflict with char connect(); below. */
11451 #include <assert.h>
11452 /* Override any gcc2 internal prototype to avoid an error. */
11453 /* We use char because int might match the return type of a gcc2
11454 builtin and then its argument prototype would still apply. */
11459 /* The GNU C library defines this for functions which it implements
11460 to always fail with ENOSYS. Some functions are actually named
11461 something starting with __ and the normal name is an alias. */
11462 #if defined (__stub_connect) || defined (__stub___connect)
11470 if { (eval echo configure
:11471: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11472 eval "ac_cv_func_connect=yes"
11474 echo "configure: failed program was:" >&5
11475 cat conftest.
$ac_ext >&5
11477 eval "ac_cv_func_connect=no"
11482 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
11483 echo "$ac_t""yes" 1>&6
11486 echo "$ac_t""no" 1>&6
11489 if test $ac_cv_func_connect = no
; then
11490 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
11491 echo "configure:11492: checking for connect in -lsocket" >&5
11492 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
11493 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11494 echo $ac_n "(cached) $ac_c" 1>&6
11496 ac_save_LIBS
="$LIBS"
11497 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
11498 cat > conftest.
$ac_ext <<EOF
11499 #line 11500 "configure"
11500 #include "confdefs.h"
11501 /* Override any gcc2 internal prototype to avoid an error. */
11502 /* We use char because int might match the return type of a gcc2
11503 builtin and then its argument prototype would still apply. */
11510 if { (eval echo configure
:11511: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11512 eval "ac_cv_lib_$ac_lib_var=yes"
11514 echo "configure: failed program was:" >&5
11515 cat conftest.
$ac_ext >&5
11517 eval "ac_cv_lib_$ac_lib_var=no"
11520 LIBS
="$ac_save_LIBS"
11523 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11524 echo "$ac_t""yes" 1>&6
11525 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
11527 echo "$ac_t""no" 1>&6
11532 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
11533 echo $ac_n "checking for remove""... $ac_c" 1>&6
11534 echo "configure:11535: checking for remove" >&5
11535 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
11536 echo $ac_n "(cached) $ac_c" 1>&6
11538 cat > conftest.
$ac_ext <<EOF
11539 #line 11540 "configure"
11540 #include "confdefs.h"
11541 /* System header to define __stub macros and hopefully few prototypes,
11542 which can conflict with char remove(); below. */
11543 #include <assert.h>
11544 /* Override any gcc2 internal prototype to avoid an error. */
11545 /* We use char because int might match the return type of a gcc2
11546 builtin and then its argument prototype would still apply. */
11551 /* The GNU C library defines this for functions which it implements
11552 to always fail with ENOSYS. Some functions are actually named
11553 something starting with __ and the normal name is an alias. */
11554 #if defined (__stub_remove) || defined (__stub___remove)
11562 if { (eval echo configure
:11563: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11564 eval "ac_cv_func_remove=yes"
11566 echo "configure: failed program was:" >&5
11567 cat conftest.
$ac_ext >&5
11569 eval "ac_cv_func_remove=no"
11574 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
11575 echo "$ac_t""yes" 1>&6
11578 echo "$ac_t""no" 1>&6
11581 if test $ac_cv_func_remove = no
; then
11582 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
11583 echo "configure:11584: checking for remove in -lposix" >&5
11584 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
11585 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11586 echo $ac_n "(cached) $ac_c" 1>&6
11588 ac_save_LIBS
="$LIBS"
11589 LIBS
="-lposix $LIBS"
11590 cat > conftest.
$ac_ext <<EOF
11591 #line 11592 "configure"
11592 #include "confdefs.h"
11593 /* Override any gcc2 internal prototype to avoid an error. */
11594 /* We use char because int might match the return type of a gcc2
11595 builtin and then its argument prototype would still apply. */
11602 if { (eval echo configure
:11603: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11604 eval "ac_cv_lib_$ac_lib_var=yes"
11606 echo "configure: failed program was:" >&5
11607 cat conftest.
$ac_ext >&5
11609 eval "ac_cv_lib_$ac_lib_var=no"
11612 LIBS
="$ac_save_LIBS"
11615 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11616 echo "$ac_t""yes" 1>&6
11617 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
11619 echo "$ac_t""no" 1>&6
11624 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11625 echo $ac_n "checking for shmat""... $ac_c" 1>&6
11626 echo "configure:11627: checking for shmat" >&5
11627 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
11628 echo $ac_n "(cached) $ac_c" 1>&6
11630 cat > conftest.
$ac_ext <<EOF
11631 #line 11632 "configure"
11632 #include "confdefs.h"
11633 /* System header to define __stub macros and hopefully few prototypes,
11634 which can conflict with char shmat(); below. */
11635 #include <assert.h>
11636 /* Override any gcc2 internal prototype to avoid an error. */
11637 /* We use char because int might match the return type of a gcc2
11638 builtin and then its argument prototype would still apply. */
11643 /* The GNU C library defines this for functions which it implements
11644 to always fail with ENOSYS. Some functions are actually named
11645 something starting with __ and the normal name is an alias. */
11646 #if defined (__stub_shmat) || defined (__stub___shmat)
11654 if { (eval echo configure
:11655: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11656 eval "ac_cv_func_shmat=yes"
11658 echo "configure: failed program was:" >&5
11659 cat conftest.
$ac_ext >&5
11661 eval "ac_cv_func_shmat=no"
11666 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
11667 echo "$ac_t""yes" 1>&6
11670 echo "$ac_t""no" 1>&6
11673 if test $ac_cv_func_shmat = no
; then
11674 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
11675 echo "configure:11676: checking for shmat in -lipc" >&5
11676 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
11677 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11678 echo $ac_n "(cached) $ac_c" 1>&6
11680 ac_save_LIBS
="$LIBS"
11682 cat > conftest.
$ac_ext <<EOF
11683 #line 11684 "configure"
11684 #include "confdefs.h"
11685 /* Override any gcc2 internal prototype to avoid an error. */
11686 /* We use char because int might match the return type of a gcc2
11687 builtin and then its argument prototype would still apply. */
11694 if { (eval echo configure
:11695: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11696 eval "ac_cv_lib_$ac_lib_var=yes"
11698 echo "configure: failed program was:" >&5
11699 cat conftest.
$ac_ext >&5
11701 eval "ac_cv_lib_$ac_lib_var=no"
11704 LIBS
="$ac_save_LIBS"
11707 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11708 echo "$ac_t""yes" 1>&6
11709 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
11711 echo "$ac_t""no" 1>&6
11717 # Check for libraries that X11R6 Xt/Xaw programs need.
11718 ac_save_LDFLAGS
="$LDFLAGS"
11719 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
11720 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11721 # check for ICE first), but we must link in the order -lSM -lICE or
11722 # we get undefined symbols. So assume we have SM if we have ICE.
11723 # These have to be linked with before -lX11, unlike the other
11724 # libraries we check for below, so use a different variable.
11725 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
11726 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
11727 echo "configure:11728: checking for IceConnectionNumber in -lICE" >&5
11728 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
11729 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11730 echo $ac_n "(cached) $ac_c" 1>&6
11732 ac_save_LIBS
="$LIBS"
11733 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
11734 cat > conftest.
$ac_ext <<EOF
11735 #line 11736 "configure"
11736 #include "confdefs.h"
11737 /* Override any gcc2 internal prototype to avoid an error. */
11738 /* We use char because int might match the return type of a gcc2
11739 builtin and then its argument prototype would still apply. */
11740 char IceConnectionNumber();
11743 IceConnectionNumber()
11746 if { (eval echo configure
:11747: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11748 eval "ac_cv_lib_$ac_lib_var=yes"
11750 echo "configure: failed program was:" >&5
11751 cat conftest.
$ac_ext >&5
11753 eval "ac_cv_lib_$ac_lib_var=no"
11756 LIBS
="$ac_save_LIBS"
11759 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11760 echo "$ac_t""yes" 1>&6
11761 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
11763 echo "$ac_t""no" 1>&6
11766 LDFLAGS
="$ac_save_LDFLAGS"
11771 if test "$no_x" = "yes"; then
11772 { echo "configure: error: X11 not found" 1>&2; exit 1; }
11775 GUI_TK_LIBRARY
="$X_LIBS"
11776 TOOLKIT_INCLUDE
="$X_CFLAGS"
11777 AFMINSTALL
=afminstall
11778 COMPILED_X_PROGRAM
=0
11780 echo $ac_n "checking for Motif/Lesstif headers""... $ac_c" 1>&6
11781 echo "configure:11782: checking for Motif/Lesstif headers" >&5
11784 for ac_dir
in $SEARCH_INCLUDE;
11786 if test -f "$ac_dir/Xm/Xm.h"; then
11787 ac_find_includes
=$ac_dir
11792 if test "$ac_find_includes" != "" ; then
11793 echo "$ac_t""found $ac_find_includes" 1>&6
11795 cat > conftest.
$ac_ext <<EOF
11796 #line 11797 "configure"
11797 #include "confdefs.h"
11804 version = xmUseVersion;
11808 if { (eval echo configure
:11809: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11811 echo "$ac_t""found in default search path" 1>&6
11812 COMPILED_X_PROGRAM
=1
11815 echo "configure: failed program was:" >&5
11816 cat conftest.
$ac_ext >&5
11819 echo "$ac_t""no" 1>&6
11820 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
11827 if test "$COMPILED_X_PROGRAM" = 0; then
11828 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
11829 echo "configure:11830: checking for Motif/Lesstif library" >&5
11832 for ac_dir
in $SEARCH_LIB;
11834 for ac_extension
in a so sl dylib
; do
11835 if test -f "$ac_dir/libXm.$ac_extension"; then
11836 ac_find_libraries
=$ac_dir
11842 if test "$ac_find_libraries" != "" ; then
11844 ac_path_to_include
=$ac_find_includes
11845 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
11847 if test $result = 0; then
11848 ac_path_to_include
=""
11850 ac_path_to_include
=" -I$ac_find_includes"
11854 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
11856 if test $result = 0; then
11859 ac_path_to_link
=" -L$ac_find_libraries"
11863 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
11864 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
11865 echo "$ac_t""found at $ac_find_libraries" 1>&6
11867 cat > conftest.
$ac_ext <<EOF
11868 #line 11869 "configure"
11869 #include "confdefs.h"
11876 version = xmUseVersion;
11880 if { (eval echo configure
:11881: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11883 echo "$ac_t""found in default search path" 1>&6
11884 COMPILED_X_PROGRAM
=1
11887 echo "configure: failed program was:" >&5
11888 cat conftest.
$ac_ext >&5
11891 echo "$ac_t""no" 1>&6
11892 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
11901 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
11902 echo "configure:11903: checking for Xpm library" >&5
11905 for ac_dir
in $SEARCH_LIB;
11907 for ac_extension
in a so sl dylib
; do
11908 if test -f "$ac_dir/libXpm.$ac_extension"; then
11909 ac_find_libraries
=$ac_dir
11915 if test "$ac_find_libraries" != "" ; then
11917 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
11919 if test $result = 0; then
11922 ac_path_to_link
=" -L$ac_find_libraries"
11925 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
11927 cat >> confdefs.h
<<\EOF
11928 #define wxHAVE_LIB_XPM 1
11931 echo "$ac_t""found at $ac_find_libraries" 1>&6
11933 cat > conftest.
$ac_ext <<EOF
11934 #line 11935 "configure"
11935 #include "confdefs.h"
11937 #include <X11/xpm.h>
11942 version = XpmLibraryVersion();
11946 if { (eval echo configure
:11947: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11950 cat >> confdefs.h
<<\EOF
11951 #define wxHAVE_LIB_XPM 1
11954 echo "$ac_t""found in default search path" 1>&6
11955 COMPILED_X_PROGRAM
=0
11958 echo "configure: failed program was:" >&5
11959 cat conftest.
$ac_ext >&5
11962 echo "$ac_t""no" 1>&6
11963 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
11970 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm$xpm_link -lXmu -lXext -lXt -lX11"
11971 TOOLKIT_VPATH
="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo"
11976 if test "$wxUSE_MAC" = 1; then
11977 if test "$wxUSE_PRECOMP" = "yes"; then
11978 CPPFLAGS
="$CPPFLAGS -cpp-precomp"
11980 CPPFLAGS
="$CPPFLAGS -I/Developer/Headers/FlatCarbon -I\${top_srcdir}/src/mac/morefile"
11981 CFLAGS
="$CFLAGS -fpascal-strings"
11982 CXXFLAGS
="$CXXFLAGS -fpascal-strings"
11983 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS -DTARGET_CARBON"
11985 TOOLKIT_VPATH
="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefile"
11990 if test "$wxUSE_PM" = 1; then
11995 if test "$TOOLKIT" = "PM" ; then
11998 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
12001 PORT_FILES
="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
12003 if test "$wxUSE_UNIVERSAL" = "yes"; then
12004 ALL_OBJECTS
="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
12005 PORT_FILES
="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
12006 TOOLKIT_VPATH
="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
12007 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
12010 ALL_OBJECTS
="\$(GUIOBJS)"
12013 ALL_OBJECTS
="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
12015 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
12016 ALL_OBJECTS
="${ALL_OBJECTS} \$(UNIXOBJS)"
12019 if test "$wxUSE_HTML" = "yes"; then
12020 ALL_OBJECTS
="${ALL_OBJECTS} \$(HTMLOBJS)"
12023 if test "$TOOLKIT" != "MSW" -a "$wxUSE_ODBC" = "yes" ; then
12024 ALL_OBJECTS
="${ALL_OBJECTS} \$(IODBCOBJS)"
12026 if test "$wxUSE_LIBJPEG" = "builtin" ; then
12027 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
12029 if test "$wxUSE_LIBTIFF" = "builtin" ; then
12030 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
12032 if test "$wxUSE_LIBPNG" = "builtin" ; then
12033 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
12035 if test "$wxUSE_FREETYPE" = "builtin" ; then
12036 ALL_OBJECTS
="${ALL_OBJECTS} \$(FREETYPEOBJS)"
12039 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
12040 DISTDIR
="wx\$(TOOLKIT)"
12046 if test "$USE_WIN32" = 1 ; then
12047 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_MSW_OBJS}"
12048 TOOLKIT_VPATH
="\${top_srcdir}/src/msw"
12052 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
12053 TOOLKIT_VPATH
="\${top_srcdir}/src/unix"
12056 PORT_FILES
="\${top_srcdir}/src/files.lst"
12058 GUIDIST
="BASE_DIST"
12062 if test "$wxUSE_REGEX" = "builtin" ; then
12063 ALL_OBJECTS
="${ALL_OBJECTS} \$(REGEXOBJS)"
12065 if test "$wxUSE_ZLIB" = "builtin" ; then
12066 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
12069 if test "$wxUSE_OPENGL" = "yes"; then
12070 if test "$wxUSE_MAC" = 1; then
12071 OPENGL_LIBS
="-framework OpenGL -framework AGL"
12074 ac_safe
=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
12075 echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
12076 echo "configure:12077: checking for GL/gl.h" >&5
12077 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12078 echo $ac_n "(cached) $ac_c" 1>&6
12080 cat > conftest.
$ac_ext <<EOF
12081 #line 12082 "configure"
12082 #include "confdefs.h"
12085 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12086 { (eval echo configure
:12087: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12087 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12088 if test -z "$ac_err"; then
12090 eval "ac_cv_header_$ac_safe=yes"
12093 echo "configure: failed program was:" >&5
12094 cat conftest.
$ac_ext >&5
12096 eval "ac_cv_header_$ac_safe=no"
12100 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12101 echo "$ac_t""yes" 1>&6
12103 echo $ac_n "checking for -lGL""... $ac_c" 1>&6
12104 echo "configure:12105: checking for -lGL" >&5
12107 for ac_dir
in $SEARCH_LIB;
12109 for ac_extension
in a so sl dylib
; do
12110 if test -f "$ac_dir/libGL.$ac_extension"; then
12111 ac_find_libraries
=$ac_dir
12117 if test "$ac_find_libraries" != "" ; then
12119 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
12121 if test $result = 0; then
12124 ac_path_to_link
=" -L$ac_find_libraries"
12127 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
12128 OPENGL_LIBS
="-lGL -lGLU"
12129 echo "$ac_t""yes" 1>&6
12131 echo "$ac_t""no" 1>&6
12132 echo $ac_n "checking for -lMesaGL""... $ac_c" 1>&6
12133 echo "configure:12134: checking for -lMesaGL" >&5
12136 for ac_dir
in $SEARCH_LIB;
12138 for ac_extension
in a so sl dylib
; do
12139 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
12140 ac_find_libraries
=$ac_dir
12146 if test "$ac_find_libraries" != "" ; then
12148 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
12150 if test $result = 0; then
12153 ac_path_to_link
=" -L$ac_find_libraries"
12156 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
12157 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
12158 echo "$ac_t""yes" 1>&6
12160 echo "$ac_t""no" 1>&6
12165 echo "$ac_t""no" 1>&6
12170 # AC_CHECK_HEADER(GL/gl.h,
12172 # AC_CHECK_LIB(GL, glFlush,
12174 # OPENGL_LIBS="-lGL -lGLU"
12177 # AC_CHECK_LIB(MesaGL, glFlush,
12179 # OPENGL_LIBS="-lMesaGL -lMesaGLU"
12187 if test "x$OPENGL_LIBS" = "x"; then
12188 { echo "configure: error: OpenGL libraries not available" 1>&2; exit 1; }
12192 if test "$wxUSE_OPENGL" = "yes"; then
12193 cat >> confdefs.h
<<\EOF
12194 #define wxUSE_OPENGL 1
12197 cat >> confdefs.h
<<\EOF
12198 #define wxUSE_GLCANVAS 1
12201 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl"
12205 if test -z "$TOOLKIT_VPATH" ; then
12206 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}"
12209 if test -n "$TOOLKIT" ; then
12210 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
12213 lib_unicode_suffix
=
12214 if test "$wxUSE_UNICODE" = "yes"; then
12215 lib_unicode_suffix
=u
12219 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
12223 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
12224 TOOLCHAIN_NAME_GL
="${TOOLKIT_DIR}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
12226 if test "$cross_compiling" = "yes"; then
12227 TOOLCHAIN_NAME
="${TOOLCHAIN_NAME}-${host_alias}"
12228 TOOLCHAIN_NAME_GL
="${TOOLCHAIN_NAME_GL}-${host_alias}"
12231 WX_LIBRARY
="wx_${TOOLCHAIN_NAME}"
12232 WX_LIBRARY_GL
="wx_${TOOLCHAIN_NAME_GL}"
12234 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
12235 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
12237 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
12238 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
12239 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
12240 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
12242 WX_RESOURCES_MACOSX
="lib${WX_LIBRARY}.rsrc"
12243 WX_RESOURCES_MACOSX_COMPILED
="lib${WX_LIBRARY}.r"
12246 *-*-cygwin* | *-*-mingw32* )
12250 if test "$cross_compiling" != "yes"; then
12251 WX_LIBRARY
="wxmsw${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
12252 WX_LIBRARY_GL
="wxmsw_gl${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
12253 WX_LIBRARY_NAME_SHARED
="${WX_LIBRARY}.${SO_SUFFIX}"
12254 WX_LIBRARY_NAME_SHARED_GL
="${WX_LIBRARY_GL}.${SO_SUFFIX}"
12256 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}"
12257 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
12262 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
12263 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY_GL}.a"
12265 WXCONFIG_LIBS
="-l${WX_LIBRARY}"
12266 WXCONFIG_LIBS_STATIC
="lib${WX_LIBRARY}.a"
12268 if test "$wxUSE_OPENGL" = "yes"; then
12269 WXCONFIG_LIBS_GL
="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
12270 WXCONFIG_LIBS_STATIC_GL
="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
12275 if test "$wxUSE_SHARED" = "yes"; then
12277 if test "$wxUSE_OPENGL" = "yes"; then
12278 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
12279 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_LINK1} \$(build_libdir)/${WX_LIBRARY_LINK1_GL}"
12281 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
12282 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_LINK1}"
12285 if test "$GCC" = "yes"; then
12289 SHARED_LD
="${CXX} -shared -o"
12293 if test "$GCC" != "yes"; then
12294 LDFLAGS
="$LDFLAGS -L/usr/lib"
12296 SHARED_LD
="${CXX} -b -o"
12300 if test "$wxUSE_OPENGL" = "yes"; then
12301 WX_ALL_INSTALLED
="preinstall_gl"
12302 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
12304 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
12309 if test "$GCC" != "yes"; then
12310 echo $ac_n "checking for Intel compiler""... $ac_c" 1>&6
12311 echo "configure:12312: checking for Intel compiler" >&5
12312 if eval "test \"`echo '$''{'wx_cv_prog_icc'+set}'`\" = set"; then
12313 echo $ac_n "(cached) $ac_c" 1>&6
12316 cat > conftest.
$ac_ext <<EOF
12317 #line 12318 "configure"
12318 #include "confdefs.h"
12322 #ifndef __INTEL_COMPILER
12328 if { (eval echo configure
:12329: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12332 echo "configure: failed program was:" >&5
12333 cat conftest.
$ac_ext >&5
12342 echo "$ac_t""$wx_cv_prog_icc" 1>&6
12343 if test "$wx_cv_prog_icc" = "yes"; then
12348 if test "$wxUSE_SONAME" = "yes" ; then
12349 SONAME_FLAGS
="-Wl,-soname,${WX_LIBRARY_LINK1}"
12350 SONAME_FLAGS_GL
="-Wl,-soname,${WX_LIBRARY_LINK1_GL}"
12351 WX_TARGET_LIBRARY_SONAME
="-Wl,-soname,\$(TARGETLIB_LINK1)"
12356 if test "$GCC" = yes ; then
12357 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
12359 SHARED_LD
="${CXX} -G -o"
12361 SONAME_FLAGS
="-h ${WX_LIBRARY_NAME_SHARED}"
12362 SONAME_FLAGS_GL
="-h ${WX_LIBRARY_NAME_SHARED}"
12367 CFLAGS
="$CFLAGS -fno-common -DDYLIB_INIT"
12368 CXXFLAGS
="$CXXFLAGS -fno-common -DDYLIB_INIT"
12369 SHARED_LD
="$CXX -dynamiclib -init _wxWindowsDylibInit -o"
12370 PIC_FLAG
="-dynamic -fPIC"
12374 SHARED_LD
="/usr/lpp/xlC/bin/makeC++SharedLib -p 0 -o"
12377 *-*-cygwin* | *-*-mingw32* )
12379 WX_LIBRARY_IMPORTLIB
="${WX_LIBRARY_NAME_SHARED}.a"
12381 SHARED_LD
="${CXX} -shared -Wl,--out-implib,lib/${WX_LIBRARY_IMPORTLIB} -o"
12382 TOOLCHAIN_DLL_DEFS
="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
12384 PIC_FLAG
="-UWXUSINGDLL -DWXMAKINGDLL=1 -D_DLL=1 -D_WINDLL=1"
12386 if test "$wxUSE_OPENGL" = "yes"; then
12387 WX_ALL_INSTALLED
="preinstall_gl"
12388 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
12390 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
12394 *-pc-os2_emx | *-pc-os2-emx )
12399 SHARED_LD
="${LD} -shared -o"
12402 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
12404 *-*-irix5* | *-*-irix6* | \
12411 { echo "configure: error: unknown system type $host." 1>&2; exit 1; }
12414 if test "x$WX_TARGET_LIBRARY" = "x"; then
12415 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
12416 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
12419 WX_TARGET_LIBRARY_TYPE
="so"
12420 INSTALL_LIBRARY
='$(INSTALL_PROGRAM)'
12423 if test "$wxUSE_SHARED" = "no"; then
12425 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
12426 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
12429 if test "$wxUSE_MAC" = 1; then
12430 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
12433 if test "$wxUSE_OPENGL" = "yes"; then
12434 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_gl"
12435 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
12437 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
12440 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
12441 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
12443 WX_TARGET_LIBRARY_TYPE
="a"
12444 INSTALL_LIBRARY
='$(INSTALL_DATA)'
12447 if test "$wxUSE_MAC" = 1; then
12448 WX_ALL
="${WX_ALL} \$(build_libdir)/lib${WX_LIBRARY}.r"
12449 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_res"
12450 # Extract the first word of "Rez", so it can be a program name with args.
12451 set dummy Rez
; ac_word
=$2
12452 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
12453 echo "configure:12454: checking for $ac_word" >&5
12454 if eval "test \"`echo '$''{'ac_cv_prog_RESCOMP'+set}'`\" = set"; then
12455 echo $ac_n "(cached) $ac_c" 1>&6
12457 if test -n "$RESCOMP"; then
12458 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
12460 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
12462 for ac_dir
in $ac_dummy; do
12463 test -z "$ac_dir" && ac_dir
=.
12464 if test -f $ac_dir/$ac_word; then
12465 ac_cv_prog_RESCOMP
="Rez"
12470 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
12473 RESCOMP
="$ac_cv_prog_RESCOMP"
12474 if test -n "$RESCOMP"; then
12475 echo "$ac_t""$RESCOMP" 1>&6
12477 echo "$ac_t""no" 1>&6
12480 # Extract the first word of "DeRez", so it can be a program name with args.
12481 set dummy DeRez
; ac_word
=$2
12482 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
12483 echo "configure:12484: checking for $ac_word" >&5
12484 if eval "test \"`echo '$''{'ac_cv_prog_DEREZ'+set}'`\" = set"; then
12485 echo $ac_n "(cached) $ac_c" 1>&6
12487 if test -n "$DEREZ"; then
12488 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
12490 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
12492 for ac_dir
in $ac_dummy; do
12493 test -z "$ac_dir" && ac_dir
=.
12494 if test -f $ac_dir/$ac_word; then
12495 ac_cv_prog_DEREZ
="DeRez"
12500 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
12503 DEREZ
="$ac_cv_prog_DEREZ"
12504 if test -n "$DEREZ"; then
12505 echo "$ac_t""$DEREZ" 1>&6
12507 echo "$ac_t""no" 1>&6
12510 LIBWXMACRES
="\$(top_builddir)/lib/lib${WX_LIBRARY}.r"
12511 LIBWXMACRESCOMP
="\$(RESCOMP) Carbon.r -t APPL ${LIBWXMACRES} -o \$(BIN_PROGRAM)"
12512 LIBWXMACRESWXCONFIG
="${RESCOMP} Carbon.r -t APPL \${prefix}/lib/${WX_RESOURCES_MACOSX_COMPILED} -o"
12516 if test "$wxUSE_MAC" != 1; then
12517 for ac_hdr
in strings.h
12519 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12520 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12521 echo "configure:12522: checking for $ac_hdr" >&5
12522 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12523 echo $ac_n "(cached) $ac_c" 1>&6
12525 cat > conftest.
$ac_ext <<EOF
12526 #line 12527 "configure"
12527 #include "confdefs.h"
12530 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12531 { (eval echo configure
:12532: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12532 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12533 if test -z "$ac_err"; then
12535 eval "ac_cv_header_$ac_safe=yes"
12538 echo "configure: failed program was:" >&5
12539 cat conftest.
$ac_ext >&5
12541 eval "ac_cv_header_$ac_safe=no"
12545 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12546 echo "$ac_t""yes" 1>&6
12547 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12548 cat >> confdefs.h
<<EOF
12549 #define $ac_tr_hdr 1
12553 echo "$ac_t""no" 1>&6
12559 for ac_hdr
in stdlib.h
12561 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12562 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12563 echo "configure:12564: checking for $ac_hdr" >&5
12564 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12565 echo $ac_n "(cached) $ac_c" 1>&6
12567 cat > conftest.
$ac_ext <<EOF
12568 #line 12569 "configure"
12569 #include "confdefs.h"
12572 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12573 { (eval echo configure
:12574: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12574 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12575 if test -z "$ac_err"; then
12577 eval "ac_cv_header_$ac_safe=yes"
12580 echo "configure: failed program was:" >&5
12581 cat conftest.
$ac_ext >&5
12583 eval "ac_cv_header_$ac_safe=no"
12587 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12588 echo "$ac_t""yes" 1>&6
12589 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12590 cat >> confdefs.h
<<EOF
12591 #define $ac_tr_hdr 1
12595 echo "$ac_t""no" 1>&6
12599 for ac_hdr
in malloc.h
12601 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12602 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12603 echo "configure:12604: checking for $ac_hdr" >&5
12604 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12605 echo $ac_n "(cached) $ac_c" 1>&6
12607 cat > conftest.
$ac_ext <<EOF
12608 #line 12609 "configure"
12609 #include "confdefs.h"
12612 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12613 { (eval echo configure
:12614: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12614 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12615 if test -z "$ac_err"; then
12617 eval "ac_cv_header_$ac_safe=yes"
12620 echo "configure: failed program was:" >&5
12621 cat conftest.
$ac_ext >&5
12623 eval "ac_cv_header_$ac_safe=no"
12627 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12628 echo "$ac_t""yes" 1>&6
12629 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12630 cat >> confdefs.h
<<EOF
12631 #define $ac_tr_hdr 1
12635 echo "$ac_t""no" 1>&6
12639 for ac_hdr
in unistd.h
12641 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12642 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12643 echo "configure:12644: checking for $ac_hdr" >&5
12644 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12645 echo $ac_n "(cached) $ac_c" 1>&6
12647 cat > conftest.
$ac_ext <<EOF
12648 #line 12649 "configure"
12649 #include "confdefs.h"
12652 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12653 { (eval echo configure
:12654: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12654 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12655 if test -z "$ac_err"; then
12657 eval "ac_cv_header_$ac_safe=yes"
12660 echo "configure: failed program was:" >&5
12661 cat conftest.
$ac_ext >&5
12663 eval "ac_cv_header_$ac_safe=no"
12667 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12668 echo "$ac_t""yes" 1>&6
12669 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12670 cat >> confdefs.h
<<EOF
12671 #define $ac_tr_hdr 1
12675 echo "$ac_t""no" 1>&6
12679 for ac_hdr
in wchar.h
12681 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12682 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12683 echo "configure:12684: checking for $ac_hdr" >&5
12684 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12685 echo $ac_n "(cached) $ac_c" 1>&6
12687 cat > conftest.
$ac_ext <<EOF
12688 #line 12689 "configure"
12689 #include "confdefs.h"
12692 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12693 { (eval echo configure
:12694: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12694 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12695 if test -z "$ac_err"; then
12697 eval "ac_cv_header_$ac_safe=yes"
12700 echo "configure: failed program was:" >&5
12701 cat conftest.
$ac_ext >&5
12703 eval "ac_cv_header_$ac_safe=no"
12707 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12708 echo "$ac_t""yes" 1>&6
12709 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12710 cat >> confdefs.h
<<EOF
12711 #define $ac_tr_hdr 1
12715 echo "$ac_t""no" 1>&6
12719 for ac_hdr
in wcstr.h
12721 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12722 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12723 echo "configure:12724: checking for $ac_hdr" >&5
12724 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12725 echo $ac_n "(cached) $ac_c" 1>&6
12727 cat > conftest.
$ac_ext <<EOF
12728 #line 12729 "configure"
12729 #include "confdefs.h"
12732 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12733 { (eval echo configure
:12734: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12734 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12735 if test -z "$ac_err"; then
12737 eval "ac_cv_header_$ac_safe=yes"
12740 echo "configure: failed program was:" >&5
12741 cat conftest.
$ac_ext >&5
12743 eval "ac_cv_header_$ac_safe=no"
12747 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12748 echo "$ac_t""yes" 1>&6
12749 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12750 cat >> confdefs.h
<<EOF
12751 #define $ac_tr_hdr 1
12755 echo "$ac_t""no" 1>&6
12759 for ac_hdr
in wctype.h
12761 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12762 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12763 echo "configure:12764: checking for $ac_hdr" >&5
12764 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12765 echo $ac_n "(cached) $ac_c" 1>&6
12767 cat > conftest.
$ac_ext <<EOF
12768 #line 12769 "configure"
12769 #include "confdefs.h"
12772 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12773 { (eval echo configure
:12774: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12774 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12775 if test -z "$ac_err"; then
12777 eval "ac_cv_header_$ac_safe=yes"
12780 echo "configure: failed program was:" >&5
12781 cat conftest.
$ac_ext >&5
12783 eval "ac_cv_header_$ac_safe=no"
12787 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12788 echo "$ac_t""yes" 1>&6
12789 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12790 cat >> confdefs.h
<<EOF
12791 #define $ac_tr_hdr 1
12795 echo "$ac_t""no" 1>&6
12799 for ac_hdr
in fnmatch.h
12801 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12802 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12803 echo "configure:12804: checking for $ac_hdr" >&5
12804 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12805 echo $ac_n "(cached) $ac_c" 1>&6
12807 cat > conftest.
$ac_ext <<EOF
12808 #line 12809 "configure"
12809 #include "confdefs.h"
12812 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12813 { (eval echo configure
:12814: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12814 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12815 if test -z "$ac_err"; then
12817 eval "ac_cv_header_$ac_safe=yes"
12820 echo "configure: failed program was:" >&5
12821 cat conftest.
$ac_ext >&5
12823 eval "ac_cv_header_$ac_safe=no"
12827 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12828 echo "$ac_t""yes" 1>&6
12829 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12830 cat >> confdefs.h
<<EOF
12831 #define $ac_tr_hdr 1
12835 echo "$ac_t""no" 1>&6
12839 for ac_hdr
in iconv.h
12841 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12842 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12843 echo "configure:12844: checking for $ac_hdr" >&5
12844 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12845 echo $ac_n "(cached) $ac_c" 1>&6
12847 cat > conftest.
$ac_ext <<EOF
12848 #line 12849 "configure"
12849 #include "confdefs.h"
12852 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12853 { (eval echo configure
:12854: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12854 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12855 if test -z "$ac_err"; then
12857 eval "ac_cv_header_$ac_safe=yes"
12860 echo "configure: failed program was:" >&5
12861 cat conftest.
$ac_ext >&5
12863 eval "ac_cv_header_$ac_safe=no"
12867 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12868 echo "$ac_t""yes" 1>&6
12869 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12870 cat >> confdefs.h
<<EOF
12871 #define $ac_tr_hdr 1
12875 echo "$ac_t""no" 1>&6
12879 for ac_hdr
in langinfo.h
12881 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12882 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12883 echo "configure:12884: checking for $ac_hdr" >&5
12884 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12885 echo $ac_n "(cached) $ac_c" 1>&6
12887 cat > conftest.
$ac_ext <<EOF
12888 #line 12889 "configure"
12889 #include "confdefs.h"
12892 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12893 { (eval echo configure
:12894: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12894 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12895 if test -z "$ac_err"; then
12897 eval "ac_cv_header_$ac_safe=yes"
12900 echo "configure: failed program was:" >&5
12901 cat conftest.
$ac_ext >&5
12903 eval "ac_cv_header_$ac_safe=no"
12907 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12908 echo "$ac_t""yes" 1>&6
12909 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12910 cat >> confdefs.h
<<EOF
12911 #define $ac_tr_hdr 1
12915 echo "$ac_t""no" 1>&6
12920 if test "$wxUSE_GUI" = "yes"; then
12921 if test "$wxUSE_UNIX" = "yes"; then
12922 for ac_hdr
in X
11/XKBlib.h
12924 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12925 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12926 echo "configure:12927: checking for $ac_hdr" >&5
12927 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12928 echo $ac_n "(cached) $ac_c" 1>&6
12930 cat > conftest.
$ac_ext <<EOF
12931 #line 12932 "configure"
12932 #include "confdefs.h"
12935 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12936 { (eval echo configure
:12937: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12937 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12938 if test -z "$ac_err"; then
12940 eval "ac_cv_header_$ac_safe=yes"
12943 echo "configure: failed program was:" >&5
12944 cat conftest.
$ac_ext >&5
12946 eval "ac_cv_header_$ac_safe=no"
12950 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12951 echo "$ac_t""yes" 1>&6
12952 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12953 cat >> confdefs.h
<<EOF
12954 #define $ac_tr_hdr 1
12958 echo "$ac_t""no" 1>&6
12966 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
12967 echo "configure:12968: checking for ANSI C header files" >&5
12968 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
12969 echo $ac_n "(cached) $ac_c" 1>&6
12971 cat > conftest.
$ac_ext <<EOF
12972 #line 12973 "configure"
12973 #include "confdefs.h"
12974 #include <stdlib.h>
12975 #include <stdarg.h>
12976 #include <string.h>
12979 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12980 { (eval echo configure
:12981: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12981 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12982 if test -z "$ac_err"; then
12984 ac_cv_header_stdc
=yes
12987 echo "configure: failed program was:" >&5
12988 cat conftest.
$ac_ext >&5
12990 ac_cv_header_stdc
=no
12994 if test $ac_cv_header_stdc = yes; then
12995 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12996 cat > conftest.
$ac_ext <<EOF
12997 #line 12998 "configure"
12998 #include "confdefs.h"
12999 #include <string.h>
13001 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13002 egrep "memchr" >/dev
/null
2>&1; then
13006 ac_cv_header_stdc
=no
13012 if test $ac_cv_header_stdc = yes; then
13013 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
13014 cat > conftest.
$ac_ext <<EOF
13015 #line 13016 "configure"
13016 #include "confdefs.h"
13017 #include <stdlib.h>
13019 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13020 egrep "free" >/dev
/null
2>&1; then
13024 ac_cv_header_stdc
=no
13030 if test $ac_cv_header_stdc = yes; then
13031 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
13032 if test "$cross_compiling" = yes; then
13035 cat > conftest.
$ac_ext <<EOF
13036 #line 13037 "configure"
13037 #include "confdefs.h"
13039 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
13040 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
13041 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
13042 int main () { int i; for (i = 0; i < 256; i++)
13043 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
13047 if { (eval echo configure
:13048: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
13051 echo "configure: failed program was:" >&5
13052 cat conftest.
$ac_ext >&5
13054 ac_cv_header_stdc
=no
13062 echo "$ac_t""$ac_cv_header_stdc" 1>&6
13063 if test $ac_cv_header_stdc = yes; then
13064 cat >> confdefs.h
<<\EOF
13065 #define STDC_HEADERS 1
13070 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
13071 echo "configure:13072: checking for mode_t" >&5
13072 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
13073 echo $ac_n "(cached) $ac_c" 1>&6
13075 cat > conftest.
$ac_ext <<EOF
13076 #line 13077 "configure"
13077 #include "confdefs.h"
13078 #include <sys/types.h>
13080 #include <stdlib.h>
13081 #include <stddef.h>
13084 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13085 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
13087 ac_cv_type_mode_t
=yes
13090 ac_cv_type_mode_t
=no
13095 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
13096 if test $ac_cv_type_mode_t = no
; then
13097 cat >> confdefs.h
<<\EOF
13103 echo $ac_n "checking for off_t""... $ac_c" 1>&6
13104 echo "configure:13105: checking for off_t" >&5
13105 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
13106 echo $ac_n "(cached) $ac_c" 1>&6
13108 cat > conftest.
$ac_ext <<EOF
13109 #line 13110 "configure"
13110 #include "confdefs.h"
13111 #include <sys/types.h>
13113 #include <stdlib.h>
13114 #include <stddef.h>
13117 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13118 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
13120 ac_cv_type_off_t
=yes
13123 ac_cv_type_off_t
=no
13128 echo "$ac_t""$ac_cv_type_off_t" 1>&6
13129 if test $ac_cv_type_off_t = no
; then
13130 cat >> confdefs.h
<<\EOF
13136 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
13137 echo "configure:13138: checking for pid_t" >&5
13138 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
13139 echo $ac_n "(cached) $ac_c" 1>&6
13141 cat > conftest.
$ac_ext <<EOF
13142 #line 13143 "configure"
13143 #include "confdefs.h"
13144 #include <sys/types.h>
13146 #include <stdlib.h>
13147 #include <stddef.h>
13150 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13151 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
13153 ac_cv_type_pid_t
=yes
13156 ac_cv_type_pid_t
=no
13161 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
13162 if test $ac_cv_type_pid_t = no
; then
13163 cat >> confdefs.h
<<\EOF
13169 echo $ac_n "checking for size_t""... $ac_c" 1>&6
13170 echo "configure:13171: checking for size_t" >&5
13171 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
13172 echo $ac_n "(cached) $ac_c" 1>&6
13174 cat > conftest.
$ac_ext <<EOF
13175 #line 13176 "configure"
13176 #include "confdefs.h"
13177 #include <sys/types.h>
13179 #include <stdlib.h>
13180 #include <stddef.h>
13183 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13184 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
13186 ac_cv_type_size_t
=yes
13189 ac_cv_type_size_t
=no
13194 echo "$ac_t""$ac_cv_type_size_t" 1>&6
13195 if test $ac_cv_type_size_t = no
; then
13196 cat >> confdefs.h
<<\EOF
13197 #define size_t unsigned
13202 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
13203 echo "configure:13204: checking for uid_t in sys/types.h" >&5
13204 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
13205 echo $ac_n "(cached) $ac_c" 1>&6
13207 cat > conftest.
$ac_ext <<EOF
13208 #line 13209 "configure"
13209 #include "confdefs.h"
13210 #include <sys/types.h>
13212 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13213 egrep "uid_t" >/dev
/null
2>&1; then
13215 ac_cv_type_uid_t
=yes
13218 ac_cv_type_uid_t
=no
13224 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
13225 if test $ac_cv_type_uid_t = no
; then
13226 cat >> confdefs.h
<<\EOF
13230 cat >> confdefs.h
<<\EOF
13237 echo $ac_n "checking for wchar_t""... $ac_c" 1>&6
13238 echo "configure:13239: checking for wchar_t" >&5
13239 if eval "test \"`echo '$''{'wx_cv_type_wchar_t'+set}'`\" = set"; then
13240 echo $ac_n "(cached) $ac_c" 1>&6
13243 cat > conftest.
$ac_ext <<EOF
13244 #line 13245 "configure"
13245 #include "confdefs.h"
13247 #ifdef HAVE_WCHAR_H
13249 # include <stddef.h>
13251 # include <wchar.h>
13253 #ifdef HAVE_STDLIB_H
13254 # include <stdlib.h>
13261 ws = L"Hello, world!";
13265 if { (eval echo configure
:13266: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13267 wx_cv_type_wchar_t
=yes
13269 echo "configure: failed program was:" >&5
13270 cat conftest.
$ac_ext >&5
13272 wx_cv_type_wchar_t
=no
13279 echo "$ac_t""$wx_cv_type_wchar_t" 1>&6
13281 if test "$wx_cv_type_wchar_t" = "yes"; then
13282 cat >> confdefs.h
<<\EOF
13283 #define wxUSE_WCHAR_T 1
13290 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13291 ac_cpp
='$CXXCPP $CPPFLAGS'
13292 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13293 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13294 cross_compiling
=$ac_cv_prog_cxx_cross
13296 echo $ac_n "checking if size_t is unsigned int""... $ac_c" 1>&6
13297 echo "configure:13298: checking if size_t is unsigned int" >&5
13298 if eval "test \"`echo '$''{'wx_cv_size_t_is_uint'+set}'`\" = set"; then
13299 echo $ac_n "(cached) $ac_c" 1>&6
13301 cat > conftest.
$ac_ext <<EOF
13302 #line 13303 "configure"
13303 #include "confdefs.h"
13304 #include <stddef.h>
13309 struct Foo { void foo(size_t); void foo(unsigned int); };
13315 if { (eval echo configure
:13316: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13317 wx_cv_size_t_is_uint
=no
13319 echo "configure: failed program was:" >&5
13320 cat conftest.
$ac_ext >&5
13322 wx_cv_size_t_is_uint
=yes
13329 echo "$ac_t""$wx_cv_size_t_is_uint" 1>&6
13331 if test "$wx_cv_size_t_is_uint" = "yes"; then
13332 cat >> confdefs.h
<<\EOF
13333 #define wxSIZE_T_IS_UINT 1
13337 echo $ac_n "checking if size_t is unsigned long""... $ac_c" 1>&6
13338 echo "configure:13339: checking if size_t is unsigned long" >&5
13339 if eval "test \"`echo '$''{'wx_cv_size_t_is_ulong'+set}'`\" = set"; then
13340 echo $ac_n "(cached) $ac_c" 1>&6
13342 cat > conftest.
$ac_ext <<EOF
13343 #line 13344 "configure"
13344 #include "confdefs.h"
13345 #include <stddef.h>
13350 struct Foo { void foo(size_t); void foo(unsigned long); };
13356 if { (eval echo configure
:13357: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13358 wx_cv_size_t_is_ulong
=no
13360 echo "configure: failed program was:" >&5
13361 cat conftest.
$ac_ext >&5
13363 wx_cv_size_t_is_ulong
=yes
13370 echo "$ac_t""$wx_cv_size_t_is_ulong" 1>&6
13372 if test "$wx_cv_size_t_is_ulong" = "yes"; then
13373 cat >> confdefs.h
<<\EOF
13374 #define wxSIZE_T_IS_ULONG 1
13381 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13382 ac_cpp
='$CPP $CPPFLAGS'
13383 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13384 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13385 cross_compiling
=$ac_cv_prog_cc_cross
13389 echo $ac_n "checking for pw_gecos in struct passwd""... $ac_c" 1>&6
13390 echo "configure:13391: checking for pw_gecos in struct passwd" >&5
13391 if eval "test \"`echo '$''{'wx_cv_struct_pw_gecos'+set}'`\" = set"; then
13392 echo $ac_n "(cached) $ac_c" 1>&6
13395 cat > conftest.
$ac_ext <<EOF
13396 #line 13397 "configure"
13397 #include "confdefs.h"
13407 if { (eval echo configure
:13408: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13410 wx_cv_struct_pw_gecos
=yes
13413 echo "configure: failed program was:" >&5
13414 cat conftest.
$ac_ext >&5
13417 wx_cv_struct_pw_gecos
=no
13426 echo "$ac_t""$wx_cv_struct_pw_gecos" 1>&6
13428 if test "$wx_cv_struct_pw_gecos" = "yes"; then
13429 cat >> confdefs.h
<<\EOF
13430 #define HAVE_PW_GECOS 1
13436 echo $ac_n "checking for working const""... $ac_c" 1>&6
13437 echo "configure:13438: checking for working const" >&5
13438 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
13439 echo $ac_n "(cached) $ac_c" 1>&6
13441 cat > conftest.
$ac_ext <<EOF
13442 #line 13443 "configure"
13443 #include "confdefs.h"
13447 /* Ultrix mips cc rejects this. */
13448 typedef int charset[2]; const charset x;
13449 /* SunOS 4.1.1 cc rejects this. */
13450 char const *const *ccp;
13452 /* NEC SVR4.0.2 mips cc rejects this. */
13453 struct point {int x, y;};
13454 static struct point const zero = {0,0};
13455 /* AIX XL C 1.02.0.0 rejects this.
13456 It does not let you subtract one const X* pointer from another in an arm
13457 of an if-expression whose if-part is not a constant expression */
13458 const char *g = "string";
13459 ccp = &g + (g ? g-g : 0);
13460 /* HPUX 7.0 cc rejects these. */
13463 ccp = (char const *const *) p;
13464 { /* SCO 3.2v4 cc rejects this. */
13466 char const *s = 0 ? (char *) 0 : (char const *) 0;
13470 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
13471 int x[] = {25, 17};
13472 const int *foo = &x[0];
13475 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
13476 typedef const int *iptr;
13480 { /* AIX XL C 1.02.0.0 rejects this saying
13481 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
13482 struct s { int j; const int *ap[3]; };
13483 struct s *b; b->j = 5;
13485 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
13486 const int foo = 10;
13491 if { (eval echo configure
:13492: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13495 echo "configure: failed program was:" >&5
13496 cat conftest.
$ac_ext >&5
13503 echo "$ac_t""$ac_cv_c_const" 1>&6
13504 if test $ac_cv_c_const = no
; then
13505 cat >> confdefs.h
<<\EOF
13511 echo $ac_n "checking for inline""... $ac_c" 1>&6
13512 echo "configure:13513: checking for inline" >&5
13513 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
13514 echo $ac_n "(cached) $ac_c" 1>&6
13517 for ac_kw
in inline __inline__ __inline
; do
13518 cat > conftest.
$ac_ext <<EOF
13519 #line 13520 "configure"
13520 #include "confdefs.h"
13526 if { (eval echo configure
:13527: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13528 ac_cv_c_inline
=$ac_kw; break
13530 echo "configure: failed program was:" >&5
13531 cat conftest.
$ac_ext >&5
13538 echo "$ac_t""$ac_cv_c_inline" 1>&6
13539 case "$ac_cv_c_inline" in
13541 no
) cat >> confdefs.h
<<\EOF
13545 *) cat >> confdefs.h
<<EOF
13546 #define inline $ac_cv_c_inline
13552 echo $ac_n "checking size of char""... $ac_c" 1>&6
13553 echo "configure:13554: checking size of char" >&5
13554 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
13555 echo $ac_n "(cached) $ac_c" 1>&6
13557 if test "$cross_compiling" = yes; then
13558 ac_cv_sizeof_char
=1
13560 cat > conftest.
$ac_ext <<EOF
13561 #line 13562 "configure"
13562 #include "confdefs.h"
13566 FILE *f=fopen("conftestval", "w");
13568 fprintf(f, "%d\n", sizeof(char));
13572 if { (eval echo configure
:13573: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
13574 ac_cv_sizeof_char
=`cat conftestval`
13576 echo "configure: failed program was:" >&5
13577 cat conftest.
$ac_ext >&5
13579 ac_cv_sizeof_char
=0
13585 echo "$ac_t""$ac_cv_sizeof_char" 1>&6
13586 cat >> confdefs.h
<<EOF
13587 #define SIZEOF_CHAR $ac_cv_sizeof_char
13591 echo $ac_n "checking size of short""... $ac_c" 1>&6
13592 echo "configure:13593: checking size of short" >&5
13593 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
13594 echo $ac_n "(cached) $ac_c" 1>&6
13596 if test "$cross_compiling" = yes; then
13597 ac_cv_sizeof_short
=2
13599 cat > conftest.
$ac_ext <<EOF
13600 #line 13601 "configure"
13601 #include "confdefs.h"
13605 FILE *f=fopen("conftestval", "w");
13607 fprintf(f, "%d\n", sizeof(short));
13611 if { (eval echo configure
:13612: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
13613 ac_cv_sizeof_short
=`cat conftestval`
13615 echo "configure: failed program was:" >&5
13616 cat conftest.
$ac_ext >&5
13618 ac_cv_sizeof_short
=0
13624 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
13625 cat >> confdefs.h
<<EOF
13626 #define SIZEOF_SHORT $ac_cv_sizeof_short
13630 echo $ac_n "checking size of int *""... $ac_c" 1>&6
13631 echo "configure:13632: checking size of int *" >&5
13632 if eval "test \"`echo '$''{'ac_cv_sizeof_int_p'+set}'`\" = set"; then
13633 echo $ac_n "(cached) $ac_c" 1>&6
13635 if test "$cross_compiling" = yes; then
13636 ac_cv_sizeof_int_p
=4
13638 cat > conftest.
$ac_ext <<EOF
13639 #line 13640 "configure"
13640 #include "confdefs.h"
13644 FILE *f=fopen("conftestval", "w");
13646 fprintf(f, "%d\n", sizeof(int *));
13650 if { (eval echo configure
:13651: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
13652 ac_cv_sizeof_int_p
=`cat conftestval`
13654 echo "configure: failed program was:" >&5
13655 cat conftest.
$ac_ext >&5
13657 ac_cv_sizeof_int_p
=0
13663 echo "$ac_t""$ac_cv_sizeof_int_p" 1>&6
13664 cat >> confdefs.h
<<EOF
13665 #define SIZEOF_INT_P $ac_cv_sizeof_int_p
13669 echo $ac_n "checking size of int""... $ac_c" 1>&6
13670 echo "configure:13671: checking size of int" >&5
13671 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
13672 echo $ac_n "(cached) $ac_c" 1>&6
13674 if test "$cross_compiling" = yes; then
13677 cat > conftest.
$ac_ext <<EOF
13678 #line 13679 "configure"
13679 #include "confdefs.h"
13683 FILE *f=fopen("conftestval", "w");
13685 fprintf(f, "%d\n", sizeof(int));
13689 if { (eval echo configure
:13690: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
13691 ac_cv_sizeof_int
=`cat conftestval`
13693 echo "configure: failed program was:" >&5
13694 cat conftest.
$ac_ext >&5
13702 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
13703 cat >> confdefs.h
<<EOF
13704 #define SIZEOF_INT $ac_cv_sizeof_int
13708 echo $ac_n "checking size of long""... $ac_c" 1>&6
13709 echo "configure:13710: checking size of long" >&5
13710 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
13711 echo $ac_n "(cached) $ac_c" 1>&6
13713 if test "$cross_compiling" = yes; then
13714 ac_cv_sizeof_long
=4
13716 cat > conftest.
$ac_ext <<EOF
13717 #line 13718 "configure"
13718 #include "confdefs.h"
13722 FILE *f=fopen("conftestval", "w");
13724 fprintf(f, "%d\n", sizeof(long));
13728 if { (eval echo configure
:13729: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
13730 ac_cv_sizeof_long
=`cat conftestval`
13732 echo "configure: failed program was:" >&5
13733 cat conftest.
$ac_ext >&5
13735 ac_cv_sizeof_long
=0
13741 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
13742 cat >> confdefs.h
<<EOF
13743 #define SIZEOF_LONG $ac_cv_sizeof_long
13747 echo $ac_n "checking size of long long""... $ac_c" 1>&6
13748 echo "configure:13749: checking size of long long" >&5
13749 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
13750 echo $ac_n "(cached) $ac_c" 1>&6
13752 if test "$cross_compiling" = yes; then
13753 ac_cv_sizeof_long_long
=0
13755 cat > conftest.
$ac_ext <<EOF
13756 #line 13757 "configure"
13757 #include "confdefs.h"
13761 FILE *f=fopen("conftestval", "w");
13763 fprintf(f, "%d\n", sizeof(long long));
13767 if { (eval echo configure
:13768: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
13769 ac_cv_sizeof_long_long
=`cat conftestval`
13771 echo "configure: failed program was:" >&5
13772 cat conftest.
$ac_ext >&5
13774 ac_cv_sizeof_long_long
=0
13780 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
13781 cat >> confdefs.h
<<EOF
13782 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
13787 echo $ac_n "checking size of wchar_t""... $ac_c" 1>&6
13788 echo "configure:13789: checking size of wchar_t" >&5
13789 if eval "test \"`echo '$''{'wx_cv_sizeof_wchar_t'+set}'`\" = set"; then
13790 echo $ac_n "(cached) $ac_c" 1>&6
13793 if test "$cross_compiling" = yes; then
13794 wx_cv_sizeof_wchar_t
=4
13797 cat > conftest.
$ac_ext <<EOF
13798 #line 13799 "configure"
13799 #include "confdefs.h"
13801 #ifdef HAVE_WCHAR_H
13803 # include <stddef.h>
13805 # include <wchar.h>
13807 #ifdef HAVE_STDLIB_H
13808 # include <stdlib.h>
13813 FILE *f=fopen("conftestval", "w");
13815 fprintf(f, "%i", sizeof(wchar_t));
13820 if { (eval echo configure
:13821: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
13822 wx_cv_sizeof_wchar_t
=`cat conftestval`
13824 echo "configure: failed program was:" >&5
13825 cat conftest.
$ac_ext >&5
13827 wx_cv_sizeof_wchar_t
=0
13835 echo "$ac_t""$wx_cv_sizeof_wchar_t" 1>&6
13837 cat >> confdefs.h
<<EOF
13838 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
13842 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
13843 echo "configure:13844: checking whether byte ordering is bigendian" >&5
13844 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
13845 echo $ac_n "(cached) $ac_c" 1>&6
13847 ac_cv_c_bigendian
=unknown
13848 # See if sys/param.h defines the BYTE_ORDER macro.
13849 cat > conftest.
$ac_ext <<EOF
13850 #line 13851 "configure"
13851 #include "confdefs.h"
13852 #include <sys/types.h>
13853 #include <sys/param.h>
13856 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
13857 bogus endian macros
13861 if { (eval echo configure
:13862: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13863 # It does; now see whether it defined to BIG_ENDIAN or not.
13864 cat > conftest.
$ac_ext <<EOF
13865 #line 13866 "configure"
13866 #include "confdefs.h"
13867 #include <sys/types.h>
13868 #include <sys/param.h>
13871 #if BYTE_ORDER != BIG_ENDIAN
13876 if { (eval echo configure
:13877: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13878 ac_cv_c_bigendian
=yes
13880 echo "configure: failed program was:" >&5
13881 cat conftest.
$ac_ext >&5
13883 ac_cv_c_bigendian
=no
13887 echo "configure: failed program was:" >&5
13888 cat conftest.
$ac_ext >&5
13891 if test $ac_cv_c_bigendian = unknown
; then
13892 if test "$cross_compiling" = yes; then
13893 ac_cv_c_bigendian
=unknown
13895 cat > conftest.
$ac_ext <<EOF
13896 #line 13897 "configure"
13897 #include "confdefs.h"
13899 /* Are we little or big endian? From Harbison&Steele. */
13903 char c[sizeof (long)];
13906 exit (u.c[sizeof (long) - 1] == 1);
13909 if { (eval echo configure
:13910: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
13911 ac_cv_c_bigendian
=no
13913 echo "configure: failed program was:" >&5
13914 cat conftest.
$ac_ext >&5
13916 ac_cv_c_bigendian
=yes
13924 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
13925 if test $ac_cv_c_bigendian = unknown
; then
13926 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
13928 if test $ac_cv_c_bigendian = yes; then
13929 cat >> confdefs.h
<<\EOF
13930 #define WORDS_BIGENDIAN 1
13936 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
13937 echo "configure:13938: checking how to run the C++ preprocessor" >&5
13938 if test -z "$CXXCPP"; then
13939 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
13940 echo $ac_n "(cached) $ac_c" 1>&6
13943 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13944 ac_cpp
='$CXXCPP $CPPFLAGS'
13945 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13946 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13947 cross_compiling
=$ac_cv_prog_cxx_cross
13948 CXXCPP
="${CXX-g++} -E"
13949 cat > conftest.
$ac_ext <<EOF
13950 #line 13951 "configure"
13951 #include "confdefs.h"
13952 #include <stdlib.h>
13954 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13955 { (eval echo configure
:13956: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13956 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13957 if test -z "$ac_err"; then
13961 echo "configure: failed program was:" >&5
13962 cat conftest.
$ac_ext >&5
13967 ac_cv_prog_CXXCPP
="$CXXCPP"
13969 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13970 ac_cpp
='$CXXCPP $CPPFLAGS'
13971 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13972 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13973 cross_compiling
=$ac_cv_prog_cxx_cross
13976 CXXCPP
="$ac_cv_prog_CXXCPP"
13977 echo "$ac_t""$CXXCPP" 1>&6
13980 if test "$cross_compiling" = "yes"; then
13981 cat >> confdefs.h
<<\EOF
13982 #define wxUSE_IOSTREAMH 1
13988 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13989 ac_cpp
='$CXXCPP $CPPFLAGS'
13990 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13991 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13992 cross_compiling
=$ac_cv_prog_cxx_cross
13995 for ac_hdr
in iostream
13997 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13998 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13999 echo "configure:14000: checking for $ac_hdr" >&5
14000 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14001 echo $ac_n "(cached) $ac_c" 1>&6
14003 cat > conftest.
$ac_ext <<EOF
14004 #line 14005 "configure"
14005 #include "confdefs.h"
14008 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14009 { (eval echo configure
:14010: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14010 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14011 if test -z "$ac_err"; then
14013 eval "ac_cv_header_$ac_safe=yes"
14016 echo "configure: failed program was:" >&5
14017 cat conftest.
$ac_ext >&5
14019 eval "ac_cv_header_$ac_safe=no"
14023 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14024 echo "$ac_t""yes" 1>&6
14025 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
14026 cat >> confdefs.h
<<EOF
14027 #define $ac_tr_hdr 1
14031 echo "$ac_t""no" 1>&6
14036 if test "$ac_cv_header_iostream" = "yes" ; then
14039 cat >> confdefs.h
<<\EOF
14040 #define wxUSE_IOSTREAMH 1
14046 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14047 ac_cpp
='$CPP $CPPFLAGS'
14048 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14049 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14050 cross_compiling
=$ac_cv_prog_cc_cross
14056 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
14057 echo "configure:14058: checking if C++ compiler supports bool" >&5
14058 if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
14059 echo $ac_n "(cached) $ac_c" 1>&6
14064 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14065 ac_cpp
='$CXXCPP $CPPFLAGS'
14066 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14067 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14068 cross_compiling
=$ac_cv_prog_cxx_cross
14071 cat > conftest.
$ac_ext <<EOF
14072 #line 14073 "configure"
14073 #include "confdefs.h"
14084 if { (eval echo configure
:14085: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14090 echo "configure: failed program was:" >&5
14091 cat conftest.
$ac_ext >&5
14101 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14102 ac_cpp
='$CPP $CPPFLAGS'
14103 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14104 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14105 cross_compiling
=$ac_cv_prog_cc_cross
14110 echo "$ac_t""$wx_cv_cpp_bool" 1>&6
14112 if test "$wx_cv_cpp_bool" = "yes"; then
14113 cat >> confdefs.h
<<\EOF
14114 #define HAVE_BOOL 1
14121 echo $ac_n "checking for wcslen in -lc""... $ac_c" 1>&6
14122 echo "configure:14123: checking for wcslen in -lc" >&5
14123 ac_lib_var
=`echo c'_'wcslen | sed 'y%./+-%__p_%'`
14124 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14125 echo $ac_n "(cached) $ac_c" 1>&6
14127 ac_save_LIBS
="$LIBS"
14129 cat > conftest.
$ac_ext <<EOF
14130 #line 14131 "configure"
14131 #include "confdefs.h"
14132 /* Override any gcc2 internal prototype to avoid an error. */
14133 /* We use char because int might match the return type of a gcc2
14134 builtin and then its argument prototype would still apply. */
14141 if { (eval echo configure
:14142: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14143 eval "ac_cv_lib_$ac_lib_var=yes"
14145 echo "configure: failed program was:" >&5
14146 cat conftest.
$ac_ext >&5
14148 eval "ac_cv_lib_$ac_lib_var=no"
14151 LIBS
="$ac_save_LIBS"
14154 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14155 echo "$ac_t""yes" 1>&6
14157 cat >> confdefs.h
<<\EOF
14158 #define HAVE_WCSLEN 1
14164 echo "$ac_t""no" 1>&6
14166 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
14167 echo "configure:14168: checking for wcslen in -lw" >&5
14168 ac_lib_var
=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
14169 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14170 echo $ac_n "(cached) $ac_c" 1>&6
14172 ac_save_LIBS
="$LIBS"
14174 cat > conftest.
$ac_ext <<EOF
14175 #line 14176 "configure"
14176 #include "confdefs.h"
14177 /* Override any gcc2 internal prototype to avoid an error. */
14178 /* We use char because int might match the return type of a gcc2
14179 builtin and then its argument prototype would still apply. */
14186 if { (eval echo configure
:14187: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14188 eval "ac_cv_lib_$ac_lib_var=yes"
14190 echo "configure: failed program was:" >&5
14191 cat conftest.
$ac_ext >&5
14193 eval "ac_cv_lib_$ac_lib_var=no"
14196 LIBS
="$ac_save_LIBS"
14199 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14200 echo "$ac_t""yes" 1>&6
14202 cat >> confdefs.h
<<\EOF
14203 #define HAVE_WCSLEN 1
14209 echo "$ac_t""no" 1>&6
14211 echo $ac_n "checking for wcslen in -lmsvcrt""... $ac_c" 1>&6
14212 echo "configure:14213: checking for wcslen in -lmsvcrt" >&5
14213 ac_lib_var
=`echo msvcrt'_'wcslen | sed 'y%./+-%__p_%'`
14214 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14215 echo $ac_n "(cached) $ac_c" 1>&6
14217 ac_save_LIBS
="$LIBS"
14218 LIBS
="-lmsvcrt $LIBS"
14219 cat > conftest.
$ac_ext <<EOF
14220 #line 14221 "configure"
14221 #include "confdefs.h"
14222 /* Override any gcc2 internal prototype to avoid an error. */
14223 /* We use char because int might match the return type of a gcc2
14224 builtin and then its argument prototype would still apply. */
14231 if { (eval echo configure
:14232: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14233 eval "ac_cv_lib_$ac_lib_var=yes"
14235 echo "configure: failed program was:" >&5
14236 cat conftest.
$ac_ext >&5
14238 eval "ac_cv_lib_$ac_lib_var=no"
14241 LIBS
="$ac_save_LIBS"
14244 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14245 echo "$ac_t""yes" 1>&6
14247 cat >> confdefs.h
<<\EOF
14248 #define HAVE_WCSLEN 1
14254 echo "$ac_t""no" 1>&6
14264 for ac_func
in wcsrtombs
14266 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14267 echo "configure:14268: checking for $ac_func" >&5
14268 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14269 echo $ac_n "(cached) $ac_c" 1>&6
14271 cat > conftest.
$ac_ext <<EOF
14272 #line 14273 "configure"
14273 #include "confdefs.h"
14274 /* System header to define __stub macros and hopefully few prototypes,
14275 which can conflict with char $ac_func(); below. */
14276 #include <assert.h>
14277 /* Override any gcc2 internal prototype to avoid an error. */
14278 /* We use char because int might match the return type of a gcc2
14279 builtin and then its argument prototype would still apply. */
14284 /* The GNU C library defines this for functions which it implements
14285 to always fail with ENOSYS. Some functions are actually named
14286 something starting with __ and the normal name is an alias. */
14287 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14295 if { (eval echo configure
:14296: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14297 eval "ac_cv_func_$ac_func=yes"
14299 echo "configure: failed program was:" >&5
14300 cat conftest.
$ac_ext >&5
14302 eval "ac_cv_func_$ac_func=no"
14307 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14308 echo "$ac_t""yes" 1>&6
14309 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14310 cat >> confdefs.h
<<EOF
14311 #define $ac_tr_func 1
14315 echo "$ac_t""no" 1>&6
14320 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
14321 echo "configure:14322: checking for vprintf" >&5
14322 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
14323 echo $ac_n "(cached) $ac_c" 1>&6
14325 cat > conftest.
$ac_ext <<EOF
14326 #line 14327 "configure"
14327 #include "confdefs.h"
14328 /* System header to define __stub macros and hopefully few prototypes,
14329 which can conflict with char vprintf(); below. */
14330 #include <assert.h>
14331 /* Override any gcc2 internal prototype to avoid an error. */
14332 /* We use char because int might match the return type of a gcc2
14333 builtin and then its argument prototype would still apply. */
14338 /* The GNU C library defines this for functions which it implements
14339 to always fail with ENOSYS. Some functions are actually named
14340 something starting with __ and the normal name is an alias. */
14341 #if defined (__stub_vprintf) || defined (__stub___vprintf)
14349 if { (eval echo configure
:14350: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14351 eval "ac_cv_func_vprintf=yes"
14353 echo "configure: failed program was:" >&5
14354 cat conftest.
$ac_ext >&5
14356 eval "ac_cv_func_vprintf=no"
14361 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
14362 echo "$ac_t""yes" 1>&6
14363 cat >> confdefs.h
<<\EOF
14364 #define HAVE_VPRINTF 1
14368 echo "$ac_t""no" 1>&6
14371 if test "$ac_cv_func_vprintf" != yes; then
14372 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
14373 echo "configure:14374: checking for _doprnt" >&5
14374 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
14375 echo $ac_n "(cached) $ac_c" 1>&6
14377 cat > conftest.
$ac_ext <<EOF
14378 #line 14379 "configure"
14379 #include "confdefs.h"
14380 /* System header to define __stub macros and hopefully few prototypes,
14381 which can conflict with char _doprnt(); below. */
14382 #include <assert.h>
14383 /* Override any gcc2 internal prototype to avoid an error. */
14384 /* We use char because int might match the return type of a gcc2
14385 builtin and then its argument prototype would still apply. */
14390 /* The GNU C library defines this for functions which it implements
14391 to always fail with ENOSYS. Some functions are actually named
14392 something starting with __ and the normal name is an alias. */
14393 #if defined (__stub__doprnt) || defined (__stub____doprnt)
14401 if { (eval echo configure
:14402: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14403 eval "ac_cv_func__doprnt=yes"
14405 echo "configure: failed program was:" >&5
14406 cat conftest.
$ac_ext >&5
14408 eval "ac_cv_func__doprnt=no"
14413 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
14414 echo "$ac_t""yes" 1>&6
14415 cat >> confdefs.h
<<\EOF
14416 #define HAVE_DOPRNT 1
14420 echo "$ac_t""no" 1>&6
14430 echo $ac_n "checking for vsnprintf""... $ac_c" 1>&6
14431 echo "configure:14432: checking for vsnprintf" >&5
14432 if eval "test \"`echo '$''{'wx_cv_func_vsnprintf'+set}'`\" = set"; then
14433 echo $ac_n "(cached) $ac_c" 1>&6
14436 cat > conftest.
$ac_ext <<EOF
14437 #line 14438 "configure"
14438 #include "confdefs.h"
14441 #include <stdarg.h>
14445 int wx_test_vsnprintf(const char *, ...);
14447 wx_test_vsnprintf("%s");
14451 int wx_test_vsnprintf(const char *fmt, ...)
14456 va_start(argp, fmt);
14457 vsnprintf(s, 42, fmt, argp);
14462 if { (eval echo configure
:14463: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14465 wx_cv_func_vsnprintf
=yes
14468 echo "configure: failed program was:" >&5
14469 cat conftest.
$ac_ext >&5
14472 cat > conftest.
$ac_ext <<EOF
14473 #line 14474 "configure"
14474 #include "confdefs.h"
14477 #include <stdarg.h>
14481 int wx_test_vsnprintf(const char *, ...);
14483 wx_test_vsnprintf("%s");
14487 int wx_test_vsnprintf(const char *fmt, ...)
14492 va_start(argp, fmt);
14493 _vsnprintf(s, 42, fmt, argp);
14498 if { (eval echo configure
:14499: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14501 wx_cv_func_vsnprintf
=yes
14504 echo "configure: failed program was:" >&5
14505 cat conftest.
$ac_ext >&5
14508 wx_cv_func_vsnprintf
=no
14518 echo "$ac_t""$wx_cv_func_vsnprintf" 1>&6
14520 if test "$wx_cv_func_vsnprintf" = yes; then
14521 cat >> confdefs.h
<<\EOF
14522 #define HAVE_VSNPRINTF 1
14526 echo "configure: warning: unsafe function vsprintf will be used instead of vsnprintf" 1>&2
14529 echo $ac_n "checking for vsscanf""... $ac_c" 1>&6
14530 echo "configure:14531: checking for vsscanf" >&5
14531 if eval "test \"`echo '$''{'wx_cv_func_vsscanf'+set}'`\" = set"; then
14532 echo $ac_n "(cached) $ac_c" 1>&6
14535 cat > conftest.
$ac_ext <<EOF
14536 #line 14537 "configure"
14537 #include "confdefs.h"
14540 #include <stdarg.h>
14544 int wx_test_vsscanf(const char *, ...);
14546 wx_test_vsscanf("%d");
14550 int wx_test_vsscanf(const char *fmt, ...)
14553 va_start(argp, fmt);
14554 vsscanf("42", fmt, argp);
14559 if { (eval echo configure
:14560: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14562 wx_cv_func_vsscanf
=yes
14565 echo "configure: failed program was:" >&5
14566 cat conftest.
$ac_ext >&5
14569 wx_cv_func_vsscanf
=no
14576 echo "$ac_t""$wx_cv_func_vsscanf" 1>&6
14578 if test "$wx_cv_func_vsscanf" = yes; then
14579 cat >> confdefs.h
<<\EOF
14580 #define HAVE_VSSCANF 1
14585 if test "$TOOLKIT" != "MSW"; then
14590 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14591 ac_cpp
='$CXXCPP $CPPFLAGS'
14592 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14593 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14594 cross_compiling
=$ac_cv_prog_cxx_cross
14596 echo $ac_n "checking if iconv() takes char**""... $ac_c" 1>&6
14597 echo "configure:14598: checking if iconv() takes char**" >&5
14598 if eval "test \"`echo '$''{'wx_cv_iconv_takes_char'+set}'`\" = set"; then
14599 echo $ac_n "(cached) $ac_c" 1>&6
14602 cat > conftest.
$ac_ext <<EOF
14603 #line 14604 "configure"
14604 #include "confdefs.h"
14608 char **inbuf, **outbuf;
14610 size_t insz, outsz;
14611 iconv(cd, inbuf, &insz, outbuf, &outsz);
14615 if { (eval echo configure
:14616: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14617 wx_cv_iconv_takes_char
=yes
14619 echo "configure: failed program was:" >&5
14620 cat conftest.
$ac_ext >&5
14622 wx_cv_iconv_takes_char
=no
14628 echo "$ac_t""$wx_cv_iconv_takes_char" 1>&6
14630 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14631 ac_cpp
='$CPP $CPPFLAGS'
14632 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14633 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14634 cross_compiling
=$ac_cv_prog_cc_cross
14636 if test "$wx_cv_iconv_takes_char" = yes ; then
14637 cat >> confdefs.h
<<\EOF
14638 #define WX_ICONV_TAKES_CHAR 1
14644 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
14645 for ac_func
in sigaction
14647 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14648 echo "configure:14649: checking for $ac_func" >&5
14649 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14650 echo $ac_n "(cached) $ac_c" 1>&6
14652 cat > conftest.
$ac_ext <<EOF
14653 #line 14654 "configure"
14654 #include "confdefs.h"
14655 /* System header to define __stub macros and hopefully few prototypes,
14656 which can conflict with char $ac_func(); below. */
14657 #include <assert.h>
14658 /* Override any gcc2 internal prototype to avoid an error. */
14659 /* We use char because int might match the return type of a gcc2
14660 builtin and then its argument prototype would still apply. */
14665 /* The GNU C library defines this for functions which it implements
14666 to always fail with ENOSYS. Some functions are actually named
14667 something starting with __ and the normal name is an alias. */
14668 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14676 if { (eval echo configure
:14677: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14678 eval "ac_cv_func_$ac_func=yes"
14680 echo "configure: failed program was:" >&5
14681 cat conftest.
$ac_ext >&5
14683 eval "ac_cv_func_$ac_func=no"
14688 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14689 echo "$ac_t""yes" 1>&6
14690 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14691 cat >> confdefs.h
<<EOF
14692 #define $ac_tr_func 1
14696 echo "$ac_t""no" 1>&6
14701 if test "$ac_cv_func_sigaction" = "no"; then
14702 echo "configure: warning: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" 1>&2
14703 wxUSE_ON_FATAL_EXCEPTION
=no
14706 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
14709 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14710 ac_cpp
='$CXXCPP $CPPFLAGS'
14711 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14712 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14713 cross_compiling
=$ac_cv_prog_cxx_cross
14716 echo $ac_n "checking for sa_handler type""... $ac_c" 1>&6
14717 echo "configure:14718: checking for sa_handler type" >&5
14718 if eval "test \"`echo '$''{'wx_cv_type_sa_handler'+set}'`\" = set"; then
14719 echo $ac_n "(cached) $ac_c" 1>&6
14722 cat > conftest.
$ac_ext <<EOF
14723 #line 14724 "configure"
14724 #include "confdefs.h"
14725 #include <signal.h>
14728 extern void testSigHandler(int);
14730 struct sigaction sa;
14731 sa.sa_handler = testSigHandler;
14735 if { (eval echo configure
:14736: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14738 wx_cv_type_sa_handler
=int
14741 echo "configure: failed program was:" >&5
14742 cat conftest.
$ac_ext >&5
14745 wx_cv_type_sa_handler
=void
14752 echo "$ac_t""$wx_cv_type_sa_handler" 1>&6
14755 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14756 ac_cpp
='$CPP $CPPFLAGS'
14757 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14758 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14759 cross_compiling
=$ac_cv_prog_cc_cross
14762 cat >> confdefs.h
<<EOF
14763 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
14769 for ac_func
in vfork
14771 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14772 echo "configure:14773: checking for $ac_func" >&5
14773 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14774 echo $ac_n "(cached) $ac_c" 1>&6
14776 cat > conftest.
$ac_ext <<EOF
14777 #line 14778 "configure"
14778 #include "confdefs.h"
14779 /* System header to define __stub macros and hopefully few prototypes,
14780 which can conflict with char $ac_func(); below. */
14781 #include <assert.h>
14782 /* Override any gcc2 internal prototype to avoid an error. */
14783 /* We use char because int might match the return type of a gcc2
14784 builtin and then its argument prototype would still apply. */
14789 /* The GNU C library defines this for functions which it implements
14790 to always fail with ENOSYS. Some functions are actually named
14791 something starting with __ and the normal name is an alias. */
14792 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14800 if { (eval echo configure
:14801: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14802 eval "ac_cv_func_$ac_func=yes"
14804 echo "configure: failed program was:" >&5
14805 cat conftest.
$ac_ext >&5
14807 eval "ac_cv_func_$ac_func=no"
14812 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14813 echo "$ac_t""yes" 1>&6
14814 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14815 cat >> confdefs.h
<<EOF
14816 #define $ac_tr_func 1
14820 echo "$ac_t""no" 1>&6
14825 for ac_func
in mkstemp mktemp
14827 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14828 echo "configure:14829: checking for $ac_func" >&5
14829 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14830 echo $ac_n "(cached) $ac_c" 1>&6
14832 cat > conftest.
$ac_ext <<EOF
14833 #line 14834 "configure"
14834 #include "confdefs.h"
14835 /* System header to define __stub macros and hopefully few prototypes,
14836 which can conflict with char $ac_func(); below. */
14837 #include <assert.h>
14838 /* Override any gcc2 internal prototype to avoid an error. */
14839 /* We use char because int might match the return type of a gcc2
14840 builtin and then its argument prototype would still apply. */
14845 /* The GNU C library defines this for functions which it implements
14846 to always fail with ENOSYS. Some functions are actually named
14847 something starting with __ and the normal name is an alias. */
14848 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14856 if { (eval echo configure
:14857: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14858 eval "ac_cv_func_$ac_func=yes"
14860 echo "configure: failed program was:" >&5
14861 cat conftest.
$ac_ext >&5
14863 eval "ac_cv_func_$ac_func=no"
14868 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14869 echo "$ac_t""yes" 1>&6
14870 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14871 cat >> confdefs.h
<<EOF
14872 #define $ac_tr_func 1
14876 echo "$ac_t""no" 1>&6
14881 echo $ac_n "checking for statfs""... $ac_c" 1>&6
14882 echo "configure:14883: checking for statfs" >&5
14883 if eval "test \"`echo '$''{'wx_cv_func_statfs'+set}'`\" = set"; then
14884 echo $ac_n "(cached) $ac_c" 1>&6
14886 cat > conftest.
$ac_ext <<EOF
14887 #line 14888 "configure"
14888 #include "confdefs.h"
14890 #if defined(__BSD__)
14891 #include <sys/param.h>
14892 #include <sys/mount.h>
14894 #include <sys/vfs.h>
14908 if { (eval echo configure
:14909: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14911 wx_cv_func_statfs
=yes
14914 echo "configure: failed program was:" >&5
14915 cat conftest.
$ac_ext >&5
14918 wx_cv_func_statfs
=no
14926 echo "$ac_t""$wx_cv_func_statfs" 1>&6
14928 if test "$wx_cv_func_statfs" = "yes"; then
14929 cat >> confdefs.h
<<\EOF
14930 #define HAVE_STATFS 1
14934 echo $ac_n "checking for statvfs""... $ac_c" 1>&6
14935 echo "configure:14936: checking for statvfs" >&5
14936 if eval "test \"`echo '$''{'wx_cv_func_statvfs'+set}'`\" = set"; then
14937 echo $ac_n "(cached) $ac_c" 1>&6
14939 cat > conftest.
$ac_ext <<EOF
14940 #line 14941 "configure"
14941 #include "confdefs.h"
14943 #include <sys/statvfs.h>
14956 if { (eval echo configure
:14957: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14959 wx_cv_func_statvfs
=yes
14962 echo "configure: failed program was:" >&5
14963 cat conftest.
$ac_ext >&5
14966 wx_cv_func_statvfs
=no
14974 echo "$ac_t""$wx_cv_func_statvfs" 1>&6
14976 if test "$wx_cv_func_statvfs" = "yes"; then
14977 cat >> confdefs.h
<<\EOF
14978 #define HAVE_STATVFS 1
14982 echo "configure: warning: wxGetDiskSpace() function won't work without statfs()" 1>&2
14986 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
14987 for ac_func
in fcntl flock
14989 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14990 echo "configure:14991: checking for $ac_func" >&5
14991 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14992 echo $ac_n "(cached) $ac_c" 1>&6
14994 cat > conftest.
$ac_ext <<EOF
14995 #line 14996 "configure"
14996 #include "confdefs.h"
14997 /* System header to define __stub macros and hopefully few prototypes,
14998 which can conflict with char $ac_func(); below. */
14999 #include <assert.h>
15000 /* Override any gcc2 internal prototype to avoid an error. */
15001 /* We use char because int might match the return type of a gcc2
15002 builtin and then its argument prototype would still apply. */
15007 /* The GNU C library defines this for functions which it implements
15008 to always fail with ENOSYS. Some functions are actually named
15009 something starting with __ and the normal name is an alias. */
15010 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15018 if { (eval echo configure
:15019: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15020 eval "ac_cv_func_$ac_func=yes"
15022 echo "configure: failed program was:" >&5
15023 cat conftest.
$ac_ext >&5
15025 eval "ac_cv_func_$ac_func=no"
15030 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15031 echo "$ac_t""yes" 1>&6
15032 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15033 cat >> confdefs.h
<<EOF
15034 #define $ac_tr_func 1
15038 echo "$ac_t""no" 1>&6
15043 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
15044 echo "configure: warning: wxSingleInstanceChecker not available" 1>&2
15045 wxUSE_SNGLINST_CHECKER
=no
15049 for ac_func
in timegm
15051 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15052 echo "configure:15053: checking for $ac_func" >&5
15053 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15054 echo $ac_n "(cached) $ac_c" 1>&6
15056 cat > conftest.
$ac_ext <<EOF
15057 #line 15058 "configure"
15058 #include "confdefs.h"
15059 /* System header to define __stub macros and hopefully few prototypes,
15060 which can conflict with char $ac_func(); below. */
15061 #include <assert.h>
15062 /* Override any gcc2 internal prototype to avoid an error. */
15063 /* We use char because int might match the return type of a gcc2
15064 builtin and then its argument prototype would still apply. */
15069 /* The GNU C library defines this for functions which it implements
15070 to always fail with ENOSYS. Some functions are actually named
15071 something starting with __ and the normal name is an alias. */
15072 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15080 if { (eval echo configure
:15081: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15082 eval "ac_cv_func_$ac_func=yes"
15084 echo "configure: failed program was:" >&5
15085 cat conftest.
$ac_ext >&5
15087 eval "ac_cv_func_$ac_func=no"
15092 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15093 echo "$ac_t""yes" 1>&6
15094 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15095 cat >> confdefs.h
<<EOF
15096 #define $ac_tr_func 1
15100 echo "$ac_t""no" 1>&6
15105 for ac_func
in putenv setenv
15107 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15108 echo "configure:15109: checking for $ac_func" >&5
15109 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15110 echo $ac_n "(cached) $ac_c" 1>&6
15112 cat > conftest.
$ac_ext <<EOF
15113 #line 15114 "configure"
15114 #include "confdefs.h"
15115 /* System header to define __stub macros and hopefully few prototypes,
15116 which can conflict with char $ac_func(); below. */
15117 #include <assert.h>
15118 /* Override any gcc2 internal prototype to avoid an error. */
15119 /* We use char because int might match the return type of a gcc2
15120 builtin and then its argument prototype would still apply. */
15125 /* The GNU C library defines this for functions which it implements
15126 to always fail with ENOSYS. Some functions are actually named
15127 something starting with __ and the normal name is an alias. */
15128 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15136 if { (eval echo configure
:15137: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15138 eval "ac_cv_func_$ac_func=yes"
15140 echo "configure: failed program was:" >&5
15141 cat conftest.
$ac_ext >&5
15143 eval "ac_cv_func_$ac_func=no"
15148 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15149 echo "$ac_t""yes" 1>&6
15150 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15151 cat >> confdefs.h
<<EOF
15152 #define $ac_tr_func 1
15156 echo "$ac_t""no" 1>&6
15161 HAVE_SOME_SLEEP_FUNC
=0
15162 if test "$USE_BEOS" = 1; then
15163 cat >> confdefs.h
<<\EOF
15164 #define HAVE_SLEEP 1
15167 HAVE_SOME_SLEEP_FUNC
=1
15170 if test "$USE_DARWIN" = 1; then
15171 cat >> confdefs.h
<<\EOF
15172 #define HAVE_USLEEP 1
15175 HAVE_SOME_SLEEP_FUNC
=1
15178 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
15180 for ac_func
in nanosleep
15182 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15183 echo "configure:15184: checking for $ac_func" >&5
15184 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15185 echo $ac_n "(cached) $ac_c" 1>&6
15187 cat > conftest.
$ac_ext <<EOF
15188 #line 15189 "configure"
15189 #include "confdefs.h"
15190 /* System header to define __stub macros and hopefully few prototypes,
15191 which can conflict with char $ac_func(); below. */
15192 #include <assert.h>
15193 /* Override any gcc2 internal prototype to avoid an error. */
15194 /* We use char because int might match the return type of a gcc2
15195 builtin and then its argument prototype would still apply. */
15200 /* The GNU C library defines this for functions which it implements
15201 to always fail with ENOSYS. Some functions are actually named
15202 something starting with __ and the normal name is an alias. */
15203 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15211 if { (eval echo configure
:15212: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15213 eval "ac_cv_func_$ac_func=yes"
15215 echo "configure: failed program was:" >&5
15216 cat conftest.
$ac_ext >&5
15218 eval "ac_cv_func_$ac_func=no"
15223 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15224 echo "$ac_t""yes" 1>&6
15225 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15226 cat >> confdefs.h
<<EOF
15227 #define $ac_tr_func 1
15229 cat >> confdefs.h
<<\EOF
15230 #define HAVE_NANOSLEEP 1
15234 echo "$ac_t""no" 1>&6
15235 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
15236 echo "configure:15237: checking for nanosleep in -lposix4" >&5
15237 ac_lib_var
=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
15238 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15239 echo $ac_n "(cached) $ac_c" 1>&6
15241 ac_save_LIBS
="$LIBS"
15242 LIBS
="-lposix4 $LIBS"
15243 cat > conftest.
$ac_ext <<EOF
15244 #line 15245 "configure"
15245 #include "confdefs.h"
15246 /* Override any gcc2 internal prototype to avoid an error. */
15247 /* We use char because int might match the return type of a gcc2
15248 builtin and then its argument prototype would still apply. */
15255 if { (eval echo configure
:15256: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15257 eval "ac_cv_lib_$ac_lib_var=yes"
15259 echo "configure: failed program was:" >&5
15260 cat conftest.
$ac_ext >&5
15262 eval "ac_cv_lib_$ac_lib_var=no"
15265 LIBS
="$ac_save_LIBS"
15268 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15269 echo "$ac_t""yes" 1>&6
15271 cat >> confdefs.h
<<\EOF
15272 #define HAVE_NANOSLEEP 1
15275 POSIX4_LINK
=" -lposix4"
15278 echo "$ac_t""no" 1>&6
15280 for ac_func
in usleep
15282 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15283 echo "configure:15284: checking for $ac_func" >&5
15284 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15285 echo $ac_n "(cached) $ac_c" 1>&6
15287 cat > conftest.
$ac_ext <<EOF
15288 #line 15289 "configure"
15289 #include "confdefs.h"
15290 /* System header to define __stub macros and hopefully few prototypes,
15291 which can conflict with char $ac_func(); below. */
15292 #include <assert.h>
15293 /* Override any gcc2 internal prototype to avoid an error. */
15294 /* We use char because int might match the return type of a gcc2
15295 builtin and then its argument prototype would still apply. */
15300 /* The GNU C library defines this for functions which it implements
15301 to always fail with ENOSYS. Some functions are actually named
15302 something starting with __ and the normal name is an alias. */
15303 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15311 if { (eval echo configure
:15312: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15313 eval "ac_cv_func_$ac_func=yes"
15315 echo "configure: failed program was:" >&5
15316 cat conftest.
$ac_ext >&5
15318 eval "ac_cv_func_$ac_func=no"
15323 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15324 echo "$ac_t""yes" 1>&6
15325 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15326 cat >> confdefs.h
<<EOF
15327 #define $ac_tr_func 1
15329 cat >> confdefs.h
<<\EOF
15330 #define HAVE_USLEEP 1
15334 echo "$ac_t""no" 1>&6
15335 echo "configure: warning: wxSleep() function will not work" 1>&2
15351 for ac_func
in uname gethostname
15353 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15354 echo "configure:15355: checking for $ac_func" >&5
15355 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15356 echo $ac_n "(cached) $ac_c" 1>&6
15358 cat > conftest.
$ac_ext <<EOF
15359 #line 15360 "configure"
15360 #include "confdefs.h"
15361 /* System header to define __stub macros and hopefully few prototypes,
15362 which can conflict with char $ac_func(); below. */
15363 #include <assert.h>
15364 /* Override any gcc2 internal prototype to avoid an error. */
15365 /* We use char because int might match the return type of a gcc2
15366 builtin and then its argument prototype would still apply. */
15371 /* The GNU C library defines this for functions which it implements
15372 to always fail with ENOSYS. Some functions are actually named
15373 something starting with __ and the normal name is an alias. */
15374 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15382 if { (eval echo configure
:15383: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15384 eval "ac_cv_func_$ac_func=yes"
15386 echo "configure: failed program was:" >&5
15387 cat conftest.
$ac_ext >&5
15389 eval "ac_cv_func_$ac_func=no"
15394 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15395 echo "$ac_t""yes" 1>&6
15396 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15397 cat >> confdefs.h
<<EOF
15398 #define $ac_tr_func 1
15402 echo "$ac_t""no" 1>&6
15409 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15410 ac_cpp
='$CXXCPP $CPPFLAGS'
15411 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15412 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15413 cross_compiling
=$ac_cv_prog_cxx_cross
15416 for ac_func
in strtok_r
15418 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15419 echo "configure:15420: checking for $ac_func" >&5
15420 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15421 echo $ac_n "(cached) $ac_c" 1>&6
15423 cat > conftest.
$ac_ext <<EOF
15424 #line 15425 "configure"
15425 #include "confdefs.h"
15426 /* System header to define __stub macros and hopefully few prototypes,
15427 which can conflict with char $ac_func(); below. */
15428 #include <assert.h>
15429 /* Override any gcc2 internal prototype to avoid an error. */
15433 /* We use char because int might match the return type of a gcc2
15434 builtin and then its argument prototype would still apply. */
15439 /* The GNU C library defines this for functions which it implements
15440 to always fail with ENOSYS. Some functions are actually named
15441 something starting with __ and the normal name is an alias. */
15442 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15450 if { (eval echo configure
:15451: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15452 eval "ac_cv_func_$ac_func=yes"
15454 echo "configure: failed program was:" >&5
15455 cat conftest.
$ac_ext >&5
15457 eval "ac_cv_func_$ac_func=no"
15462 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15463 echo "$ac_t""yes" 1>&6
15464 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15465 cat >> confdefs.h
<<EOF
15466 #define $ac_tr_func 1
15470 echo "$ac_t""no" 1>&6
15476 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15477 ac_cpp
='$CPP $CPPFLAGS'
15478 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15479 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15480 cross_compiling
=$ac_cv_prog_cc_cross
15484 for ac_func
in inet_addr
15486 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15487 echo "configure:15488: checking for $ac_func" >&5
15488 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15489 echo $ac_n "(cached) $ac_c" 1>&6
15491 cat > conftest.
$ac_ext <<EOF
15492 #line 15493 "configure"
15493 #include "confdefs.h"
15494 /* System header to define __stub macros and hopefully few prototypes,
15495 which can conflict with char $ac_func(); below. */
15496 #include <assert.h>
15497 /* Override any gcc2 internal prototype to avoid an error. */
15498 /* We use char because int might match the return type of a gcc2
15499 builtin and then its argument prototype would still apply. */
15504 /* The GNU C library defines this for functions which it implements
15505 to always fail with ENOSYS. Some functions are actually named
15506 something starting with __ and the normal name is an alias. */
15507 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15515 if { (eval echo configure
:15516: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15517 eval "ac_cv_func_$ac_func=yes"
15519 echo "configure: failed program was:" >&5
15520 cat conftest.
$ac_ext >&5
15522 eval "ac_cv_func_$ac_func=no"
15527 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15528 echo "$ac_t""yes" 1>&6
15529 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15530 cat >> confdefs.h
<<EOF
15531 #define $ac_tr_func 1
15533 cat >> confdefs.h
<<\EOF
15534 #define HAVE_INET_ADDR 1
15538 echo "$ac_t""no" 1>&6
15539 echo $ac_n "checking for inet_addr in -lnsl""... $ac_c" 1>&6
15540 echo "configure:15541: checking for inet_addr in -lnsl" >&5
15541 ac_lib_var
=`echo nsl'_'inet_addr | sed 'y%./+-%__p_%'`
15542 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15543 echo $ac_n "(cached) $ac_c" 1>&6
15545 ac_save_LIBS
="$LIBS"
15547 cat > conftest.
$ac_ext <<EOF
15548 #line 15549 "configure"
15549 #include "confdefs.h"
15550 /* Override any gcc2 internal prototype to avoid an error. */
15551 /* We use char because int might match the return type of a gcc2
15552 builtin and then its argument prototype would still apply. */
15559 if { (eval echo configure
:15560: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15561 eval "ac_cv_lib_$ac_lib_var=yes"
15563 echo "configure: failed program was:" >&5
15564 cat conftest.
$ac_ext >&5
15566 eval "ac_cv_lib_$ac_lib_var=no"
15569 LIBS
="$ac_save_LIBS"
15572 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15573 echo "$ac_t""yes" 1>&6
15576 echo "$ac_t""no" 1>&6
15577 echo $ac_n "checking for inet_addr in -lresolv""... $ac_c" 1>&6
15578 echo "configure:15579: checking for inet_addr in -lresolv" >&5
15579 ac_lib_var
=`echo resolv'_'inet_addr | sed 'y%./+-%__p_%'`
15580 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15581 echo $ac_n "(cached) $ac_c" 1>&6
15583 ac_save_LIBS
="$LIBS"
15584 LIBS
="-lresolv $LIBS"
15585 cat > conftest.
$ac_ext <<EOF
15586 #line 15587 "configure"
15587 #include "confdefs.h"
15588 /* Override any gcc2 internal prototype to avoid an error. */
15589 /* We use char because int might match the return type of a gcc2
15590 builtin and then its argument prototype would still apply. */
15597 if { (eval echo configure
:15598: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15599 eval "ac_cv_lib_$ac_lib_var=yes"
15601 echo "configure: failed program was:" >&5
15602 cat conftest.
$ac_ext >&5
15604 eval "ac_cv_lib_$ac_lib_var=no"
15607 LIBS
="$ac_save_LIBS"
15610 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15611 echo "$ac_t""yes" 1>&6
15615 echo "$ac_t""no" 1>&6
15627 for ac_func
in inet_aton
15629 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15630 echo "configure:15631: checking for $ac_func" >&5
15631 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15632 echo $ac_n "(cached) $ac_c" 1>&6
15634 cat > conftest.
$ac_ext <<EOF
15635 #line 15636 "configure"
15636 #include "confdefs.h"
15637 /* System header to define __stub macros and hopefully few prototypes,
15638 which can conflict with char $ac_func(); below. */
15639 #include <assert.h>
15640 /* Override any gcc2 internal prototype to avoid an error. */
15641 /* We use char because int might match the return type of a gcc2
15642 builtin and then its argument prototype would still apply. */
15647 /* The GNU C library defines this for functions which it implements
15648 to always fail with ENOSYS. Some functions are actually named
15649 something starting with __ and the normal name is an alias. */
15650 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15658 if { (eval echo configure
:15659: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15660 eval "ac_cv_func_$ac_func=yes"
15662 echo "configure: failed program was:" >&5
15663 cat conftest.
$ac_ext >&5
15665 eval "ac_cv_func_$ac_func=no"
15670 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15671 echo "$ac_t""yes" 1>&6
15672 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15673 cat >> confdefs.h
<<EOF
15674 #define $ac_tr_func 1
15676 cat >> confdefs.h
<<\EOF
15677 #define HAVE_INET_ATON 1
15681 echo "$ac_t""no" 1>&6
15682 echo $ac_n "checking for inet_aton in -l$INET_LINK""... $ac_c" 1>&6
15683 echo "configure:15684: checking for inet_aton in -l$INET_LINK" >&5
15684 ac_lib_var
=`echo $INET_LINK'_'inet_aton | sed 'y%./+-%__p_%'`
15685 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15686 echo $ac_n "(cached) $ac_c" 1>&6
15688 ac_save_LIBS
="$LIBS"
15689 LIBS
="-l$INET_LINK $LIBS"
15690 cat > conftest.
$ac_ext <<EOF
15691 #line 15692 "configure"
15692 #include "confdefs.h"
15693 /* Override any gcc2 internal prototype to avoid an error. */
15694 /* We use char because int might match the return type of a gcc2
15695 builtin and then its argument prototype would still apply. */
15702 if { (eval echo configure
:15703: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15704 eval "ac_cv_lib_$ac_lib_var=yes"
15706 echo "configure: failed program was:" >&5
15707 cat conftest.
$ac_ext >&5
15709 eval "ac_cv_lib_$ac_lib_var=no"
15712 LIBS
="$ac_save_LIBS"
15715 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15716 echo "$ac_t""yes" 1>&6
15717 cat >> confdefs.h
<<\EOF
15718 #define HAVE_INET_ATON 1
15722 echo "$ac_t""no" 1>&6
15730 if test "x$INET_LINK" != "x"; then
15731 cat >> confdefs.h
<<\EOF
15732 #define HAVE_INET_ADDR 1
15735 INET_LINK
=" -l$INET_LINK"
15741 cat > confcache
<<\EOF
15742 # This file is a shell script that caches the results of configure
15743 # tests run on this system so they can be shared between configure
15744 # scripts and configure runs. It is not useful on other systems.
15745 # If it contains results you don't want to keep, you may remove or edit it.
15747 # By default, configure uses ./config.cache as the cache file,
15748 # creating it if it does not exist already. You can give configure
15749 # the --cache-file=FILE option to use a different cache file; that is
15750 # what configure does when it calls configure scripts in
15751 # subdirectories, so they share the cache.
15752 # Giving --cache-file=/dev/null disables caching, for debugging configure.
15753 # config.status only pays attention to the cache file if you give it the
15754 # --recheck option to rerun configure.
15757 # The following way of writing the cache mishandles newlines in values,
15758 # but we know of no workaround that is simple, portable, and efficient.
15759 # So, don't put newlines in cache variables' values.
15760 # Ultrix sh set writes to stderr and can't be redirected directly,
15761 # and sets the high bit in the cache file unless we assign to the vars.
15763 case `(ac_space=' '; set | grep ac_space) 2>&1` in
15765 # `set' does not quote correctly, so add quotes (double-quote substitution
15766 # turns \\\\ into \\, and sed turns \\ into \).
15768 -e "s/'/'\\\\''/g" \
15769 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
15772 # `set' quotes correctly as required by POSIX, so do not add quotes.
15773 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
15776 if cmp -s $cache_file confcache
; then
15779 if test -w $cache_file; then
15780 echo "updating cache $cache_file"
15781 cat confcache
> $cache_file
15783 echo "not updating unwritable cache $cache_file"
15790 if test "$TOOLKIT" != "MSW"; then
15796 CODE_GEN_FLAGS_CXX
=
15798 if test "$wxUSE_THREADS" = "yes" ; then
15799 if test "$wxUSE_WINE" = 1 ; then
15800 echo "configure: warning: Threads are not supported under WINE... disabled" 1>&2
15802 elif test "$USE_BEOS" = 1; then
15803 echo "configure: warning: BeOS threads are not yet supported... disabled" 1>&2
15808 if test "$wxUSE_THREADS" = "yes" ; then
15810 if test "$USE_AIX" = 1; then
15811 THREADS_LIB
=pthreads
15813 THREADS_LIB
=pthread
15816 echo $ac_n "checking for pthread_create in -l$THREADS_LIB""... $ac_c" 1>&6
15817 echo "configure:15818: checking for pthread_create in -l$THREADS_LIB" >&5
15818 ac_lib_var
=`echo $THREADS_LIB'_'pthread_create | sed 'y%./+-%__p_%'`
15819 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15820 echo $ac_n "(cached) $ac_c" 1>&6
15822 ac_save_LIBS
="$LIBS"
15823 LIBS
="-l$THREADS_LIB $LIBS"
15824 cat > conftest.
$ac_ext <<EOF
15825 #line 15826 "configure"
15826 #include "confdefs.h"
15827 /* Override any gcc2 internal prototype to avoid an error. */
15828 /* We use char because int might match the return type of a gcc2
15829 builtin and then its argument prototype would still apply. */
15830 char pthread_create();
15836 if { (eval echo configure
:15837: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15838 eval "ac_cv_lib_$ac_lib_var=yes"
15840 echo "configure: failed program was:" >&5
15841 cat conftest.
$ac_ext >&5
15843 eval "ac_cv_lib_$ac_lib_var=no"
15846 LIBS
="$ac_save_LIBS"
15849 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15850 echo "$ac_t""yes" 1>&6
15852 THREADS_OBJ
="threadpsx.lo"
15853 THREADS_LINK
=$THREADS_LIB
15856 echo "$ac_t""no" 1>&6
15858 echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
15859 echo "configure:15860: checking for pthread_create in -lc_r" >&5
15860 ac_lib_var
=`echo c_r'_'pthread_create | sed 'y%./+-%__p_%'`
15861 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15862 echo $ac_n "(cached) $ac_c" 1>&6
15864 ac_save_LIBS
="$LIBS"
15866 cat > conftest.
$ac_ext <<EOF
15867 #line 15868 "configure"
15868 #include "confdefs.h"
15869 /* Override any gcc2 internal prototype to avoid an error. */
15870 /* We use char because int might match the return type of a gcc2
15871 builtin and then its argument prototype would still apply. */
15872 char pthread_create();
15878 if { (eval echo configure
:15879: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15880 eval "ac_cv_lib_$ac_lib_var=yes"
15882 echo "configure: failed program was:" >&5
15883 cat conftest.
$ac_ext >&5
15885 eval "ac_cv_lib_$ac_lib_var=no"
15888 LIBS
="$ac_save_LIBS"
15891 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15892 echo "$ac_t""yes" 1>&6
15894 THREADS_OBJ
="threadpsx.lo"
15898 echo "$ac_t""no" 1>&6
15900 ac_safe
=`echo "sys/prctl.h" | sed 'y%./+-%__p_%'`
15901 echo $ac_n "checking for sys/prctl.h""... $ac_c" 1>&6
15902 echo "configure:15903: checking for sys/prctl.h" >&5
15903 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15904 echo $ac_n "(cached) $ac_c" 1>&6
15906 cat > conftest.
$ac_ext <<EOF
15907 #line 15908 "configure"
15908 #include "confdefs.h"
15909 #include <sys/prctl.h>
15911 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15912 { (eval echo configure
:15913: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15913 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15914 if test -z "$ac_err"; then
15916 eval "ac_cv_header_$ac_safe=yes"
15919 echo "configure: failed program was:" >&5
15920 cat conftest.
$ac_ext >&5
15922 eval "ac_cv_header_$ac_safe=no"
15926 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15927 echo "$ac_t""yes" 1>&6
15929 THREADS_OBJ
="threadsgi.lo"
15932 echo "$ac_t""no" 1>&6
15942 if test -z "$THREADS_OBJ" ; then
15944 echo "configure: warning: No thread support on this system... disabled" 1>&2
15948 if test "$wxUSE_THREADS" = "yes" ; then
15949 for ac_func
in thr_setconcurrency
15951 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15952 echo "configure:15953: checking for $ac_func" >&5
15953 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15954 echo $ac_n "(cached) $ac_c" 1>&6
15956 cat > conftest.
$ac_ext <<EOF
15957 #line 15958 "configure"
15958 #include "confdefs.h"
15959 /* System header to define __stub macros and hopefully few prototypes,
15960 which can conflict with char $ac_func(); below. */
15961 #include <assert.h>
15962 /* Override any gcc2 internal prototype to avoid an error. */
15963 /* We use char because int might match the return type of a gcc2
15964 builtin and then its argument prototype would still apply. */
15969 /* The GNU C library defines this for functions which it implements
15970 to always fail with ENOSYS. Some functions are actually named
15971 something starting with __ and the normal name is an alias. */
15972 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15980 if { (eval echo configure
:15981: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15982 eval "ac_cv_func_$ac_func=yes"
15984 echo "configure: failed program was:" >&5
15985 cat conftest.
$ac_ext >&5
15987 eval "ac_cv_func_$ac_func=no"
15992 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15993 echo "$ac_t""yes" 1>&6
15994 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15995 cat >> confdefs.h
<<EOF
15996 #define $ac_tr_func 1
16000 echo "$ac_t""no" 1>&6
16006 for ac_hdr
in sched.h
16008 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
16009 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
16010 echo "configure:16011: checking for $ac_hdr" >&5
16011 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
16012 echo $ac_n "(cached) $ac_c" 1>&6
16014 cat > conftest.
$ac_ext <<EOF
16015 #line 16016 "configure"
16016 #include "confdefs.h"
16019 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
16020 { (eval echo configure
:16021: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16021 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
16022 if test -z "$ac_err"; then
16024 eval "ac_cv_header_$ac_safe=yes"
16027 echo "configure: failed program was:" >&5
16028 cat conftest.
$ac_ext >&5
16030 eval "ac_cv_header_$ac_safe=no"
16034 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
16035 echo "$ac_t""yes" 1>&6
16036 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
16037 cat >> confdefs.h
<<EOF
16038 #define $ac_tr_hdr 1
16042 echo "$ac_t""no" 1>&6
16047 echo $ac_n "checking for sched_yield in -l$THREADS_LINK""... $ac_c" 1>&6
16048 echo "configure:16049: checking for sched_yield in -l$THREADS_LINK" >&5
16049 ac_lib_var
=`echo $THREADS_LINK'_'sched_yield | sed 'y%./+-%__p_%'`
16050 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16051 echo $ac_n "(cached) $ac_c" 1>&6
16053 ac_save_LIBS
="$LIBS"
16054 LIBS
="-l$THREADS_LINK $LIBS"
16055 cat > conftest.
$ac_ext <<EOF
16056 #line 16057 "configure"
16057 #include "confdefs.h"
16058 /* Override any gcc2 internal prototype to avoid an error. */
16059 /* We use char because int might match the return type of a gcc2
16060 builtin and then its argument prototype would still apply. */
16061 char sched_yield();
16067 if { (eval echo configure
:16068: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16069 eval "ac_cv_lib_$ac_lib_var=yes"
16071 echo "configure: failed program was:" >&5
16072 cat conftest.
$ac_ext >&5
16074 eval "ac_cv_lib_$ac_lib_var=no"
16077 LIBS
="$ac_save_LIBS"
16080 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16081 echo "$ac_t""yes" 1>&6
16082 cat >> confdefs.h
<<\EOF
16083 #define HAVE_SCHED_YIELD 1
16087 echo "$ac_t""no" 1>&6
16088 echo $ac_n "checking for sched_yield in -lposix4""... $ac_c" 1>&6
16089 echo "configure:16090: checking for sched_yield in -lposix4" >&5
16090 ac_lib_var
=`echo posix4'_'sched_yield | sed 'y%./+-%__p_%'`
16091 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16092 echo $ac_n "(cached) $ac_c" 1>&6
16094 ac_save_LIBS
="$LIBS"
16095 LIBS
="-lposix4 $LIBS"
16096 cat > conftest.
$ac_ext <<EOF
16097 #line 16098 "configure"
16098 #include "confdefs.h"
16099 /* Override any gcc2 internal prototype to avoid an error. */
16100 /* We use char because int might match the return type of a gcc2
16101 builtin and then its argument prototype would still apply. */
16102 char sched_yield();
16108 if { (eval echo configure
:16109: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16110 eval "ac_cv_lib_$ac_lib_var=yes"
16112 echo "configure: failed program was:" >&5
16113 cat conftest.
$ac_ext >&5
16115 eval "ac_cv_lib_$ac_lib_var=no"
16118 LIBS
="$ac_save_LIBS"
16121 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16122 echo "$ac_t""yes" 1>&6
16123 cat >> confdefs.h
<<\EOF
16124 #define HAVE_SCHED_YIELD 1
16126 POSIX4_LINK
=" -lposix4"
16128 echo "$ac_t""no" 1>&6
16129 echo "configure: warning: wxThread::Yield will not work properly" 1>&2
16138 echo $ac_n "checking for pthread_attr_getschedpolicy in -l$THREADS_LINK""... $ac_c" 1>&6
16139 echo "configure:16140: checking for pthread_attr_getschedpolicy in -l$THREADS_LINK" >&5
16140 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
16141 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16142 echo $ac_n "(cached) $ac_c" 1>&6
16144 ac_save_LIBS
="$LIBS"
16145 LIBS
="-l$THREADS_LINK $LIBS"
16146 cat > conftest.
$ac_ext <<EOF
16147 #line 16148 "configure"
16148 #include "confdefs.h"
16149 /* Override any gcc2 internal prototype to avoid an error. */
16150 /* We use char because int might match the return type of a gcc2
16151 builtin and then its argument prototype would still apply. */
16152 char pthread_attr_getschedpolicy();
16155 pthread_attr_getschedpolicy()
16158 if { (eval echo configure
:16159: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16160 eval "ac_cv_lib_$ac_lib_var=yes"
16162 echo "configure: failed program was:" >&5
16163 cat conftest.
$ac_ext >&5
16165 eval "ac_cv_lib_$ac_lib_var=no"
16168 LIBS
="$ac_save_LIBS"
16171 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16172 echo "$ac_t""yes" 1>&6
16173 echo $ac_n "checking for pthread_attr_setschedparam in -l$THREADS_LINK""... $ac_c" 1>&6
16174 echo "configure:16175: checking for pthread_attr_setschedparam in -l$THREADS_LINK" >&5
16175 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_setschedparam | sed 'y%./+-%__p_%'`
16176 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16177 echo $ac_n "(cached) $ac_c" 1>&6
16179 ac_save_LIBS
="$LIBS"
16180 LIBS
="-l$THREADS_LINK $LIBS"
16181 cat > conftest.
$ac_ext <<EOF
16182 #line 16183 "configure"
16183 #include "confdefs.h"
16184 /* Override any gcc2 internal prototype to avoid an error. */
16185 /* We use char because int might match the return type of a gcc2
16186 builtin and then its argument prototype would still apply. */
16187 char pthread_attr_setschedparam();
16190 pthread_attr_setschedparam()
16193 if { (eval echo configure
:16194: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16195 eval "ac_cv_lib_$ac_lib_var=yes"
16197 echo "configure: failed program was:" >&5
16198 cat conftest.
$ac_ext >&5
16200 eval "ac_cv_lib_$ac_lib_var=no"
16203 LIBS
="$ac_save_LIBS"
16206 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16207 echo "$ac_t""yes" 1>&6
16208 echo $ac_n "checking for sched_get_priority_max in -l$THREADS_LINK""... $ac_c" 1>&6
16209 echo "configure:16210: checking for sched_get_priority_max in -l$THREADS_LINK" >&5
16210 ac_lib_var
=`echo $THREADS_LINK'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
16211 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16212 echo $ac_n "(cached) $ac_c" 1>&6
16214 ac_save_LIBS
="$LIBS"
16215 LIBS
="-l$THREADS_LINK $LIBS"
16216 cat > conftest.
$ac_ext <<EOF
16217 #line 16218 "configure"
16218 #include "confdefs.h"
16219 /* Override any gcc2 internal prototype to avoid an error. */
16220 /* We use char because int might match the return type of a gcc2
16221 builtin and then its argument prototype would still apply. */
16222 char sched_get_priority_max();
16225 sched_get_priority_max()
16228 if { (eval echo configure
:16229: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16230 eval "ac_cv_lib_$ac_lib_var=yes"
16232 echo "configure: failed program was:" >&5
16233 cat conftest.
$ac_ext >&5
16235 eval "ac_cv_lib_$ac_lib_var=no"
16238 LIBS
="$ac_save_LIBS"
16241 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16242 echo "$ac_t""yes" 1>&6
16245 echo "$ac_t""no" 1>&6
16246 echo $ac_n "checking for sched_get_priority_max in -lposix4""... $ac_c" 1>&6
16247 echo "configure:16248: checking for sched_get_priority_max in -lposix4" >&5
16248 ac_lib_var
=`echo posix4'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
16249 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16250 echo $ac_n "(cached) $ac_c" 1>&6
16252 ac_save_LIBS
="$LIBS"
16253 LIBS
="-lposix4 $LIBS"
16254 cat > conftest.
$ac_ext <<EOF
16255 #line 16256 "configure"
16256 #include "confdefs.h"
16257 /* Override any gcc2 internal prototype to avoid an error. */
16258 /* We use char because int might match the return type of a gcc2
16259 builtin and then its argument prototype would still apply. */
16260 char sched_get_priority_max();
16263 sched_get_priority_max()
16266 if { (eval echo configure
:16267: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16268 eval "ac_cv_lib_$ac_lib_var=yes"
16270 echo "configure: failed program was:" >&5
16271 cat conftest.
$ac_ext >&5
16273 eval "ac_cv_lib_$ac_lib_var=no"
16276 LIBS
="$ac_save_LIBS"
16279 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16280 echo "$ac_t""yes" 1>&6
16283 POSIX4_LINK
=" -lposix4"
16286 echo "$ac_t""no" 1>&6
16294 echo "$ac_t""no" 1>&6
16299 echo "$ac_t""no" 1>&6
16303 if test "$HAVE_PRIOR_FUNCS" = 1; then
16304 cat >> confdefs.h
<<\EOF
16305 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
16309 echo "configure: warning: Setting thread priority will not work" 1>&2
16312 echo $ac_n "checking for pthread_cancel in -l$THREADS_LINK""... $ac_c" 1>&6
16313 echo "configure:16314: checking for pthread_cancel in -l$THREADS_LINK" >&5
16314 ac_lib_var
=`echo $THREADS_LINK'_'pthread_cancel | sed 'y%./+-%__p_%'`
16315 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16316 echo $ac_n "(cached) $ac_c" 1>&6
16318 ac_save_LIBS
="$LIBS"
16319 LIBS
="-l$THREADS_LINK $LIBS"
16320 cat > conftest.
$ac_ext <<EOF
16321 #line 16322 "configure"
16322 #include "confdefs.h"
16323 /* Override any gcc2 internal prototype to avoid an error. */
16324 /* We use char because int might match the return type of a gcc2
16325 builtin and then its argument prototype would still apply. */
16326 char pthread_cancel();
16332 if { (eval echo configure
:16333: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16334 eval "ac_cv_lib_$ac_lib_var=yes"
16336 echo "configure: failed program was:" >&5
16337 cat conftest.
$ac_ext >&5
16339 eval "ac_cv_lib_$ac_lib_var=no"
16342 LIBS
="$ac_save_LIBS"
16345 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16346 echo "$ac_t""yes" 1>&6
16347 cat >> confdefs.h
<<\EOF
16348 #define HAVE_PTHREAD_CANCEL 1
16352 echo "$ac_t""no" 1>&6
16353 echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
16357 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
16358 echo "configure:16359: checking for pthread_cleanup_push/pop" >&5
16359 if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
16360 echo $ac_n "(cached) $ac_c" 1>&6
16363 cat > conftest.
$ac_ext <<EOF
16364 #line 16365 "configure"
16365 #include "confdefs.h"
16366 #include <pthread.h>
16369 pthread_cleanup_push(NULL, NULL);
16370 pthread_cleanup_pop(0);
16374 if { (eval echo configure
:16375: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16377 wx_cv_func_pthread_cleanup_push
=yes
16380 echo "configure: failed program was:" >&5
16381 cat conftest.
$ac_ext >&5
16384 wx_cv_func_pthread_cleanup_push
=no
16391 echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
16393 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
16394 cat >> confdefs.h
<<\EOF
16395 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
16401 if test "x$wx_lib_glibc21" = "xyes"; then
16402 CPPFLAGS
="$CPPFLAGS -D_GNU_SOURCE"
16405 echo $ac_n "checking for pthread_mutexattr_t""... $ac_c" 1>&6
16406 echo "configure:16407: checking for pthread_mutexattr_t" >&5
16407 if eval "test \"`echo '$''{'wx_cv_type_pthread_mutexattr_t'+set}'`\" = set"; then
16408 echo $ac_n "(cached) $ac_c" 1>&6
16411 cat > conftest.
$ac_ext <<EOF
16412 #line 16413 "configure"
16413 #include "confdefs.h"
16414 #include <pthread.h>
16417 pthread_mutexattr_t attr;
16418 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
16422 if { (eval echo configure
:16423: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16425 wx_cv_type_pthread_mutexattr_t
=yes
16428 echo "configure: failed program was:" >&5
16429 cat conftest.
$ac_ext >&5
16432 wx_cv_type_pthread_mutexattr_t
=no
16440 echo "$ac_t""$wx_cv_type_pthread_mutexattr_t" 1>&6
16442 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
16443 cat >> confdefs.h
<<\EOF
16444 #define HAVE_PTHREAD_MUTEXATTR_T 1
16448 echo $ac_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER""... $ac_c" 1>&6
16449 echo "configure:16450: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
16450 if eval "test \"`echo '$''{'wx_cv_type_pthread_rec_mutex_init'+set}'`\" = set"; then
16451 echo $ac_n "(cached) $ac_c" 1>&6
16454 cat > conftest.
$ac_ext <<EOF
16455 #line 16456 "configure"
16456 #include "confdefs.h"
16457 #include <pthread.h>
16460 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
16464 if { (eval echo configure
:16465: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16467 wx_cv_type_pthread_rec_mutex_init
=yes
16470 echo "configure: failed program was:" >&5
16471 cat conftest.
$ac_ext >&5
16474 wx_cv_type_pthread_rec_mutex_init
=no
16482 echo "$ac_t""$wx_cv_type_pthread_rec_mutex_init" 1>&6
16483 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
16484 cat >> confdefs.h
<<\EOF
16485 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
16489 echo "configure: warning: wxMutex won't be recursive on this platform" 1>&2
16493 THREADS_LINK
=" -l$THREADS_LINK"
16495 if test "$USE_SOLARIS" = "yes" -a "$GCC" != "yes"; then
16496 CPPFLAGS
="$CFLAGS -mt"
16497 CXXFLAGS
="$CXXFLAGS -mt"
16498 LDFLAGS
="$LDFLAGS -mt"
16504 if test "$wxUSE_THREADS" = "yes"; then
16505 cat >> confdefs.h
<<\EOF
16506 #define wxUSE_THREADS 1
16510 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS $CPP_MT_FLAG"
16512 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
16514 if test "$ac_cv_func_strtok_r" = "yes"; then
16515 echo $ac_n "checking if -D_REENTRANT is needed""... $ac_c" 1>&6
16516 echo "configure:16517: checking if -D_REENTRANT is needed" >&5
16517 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
16518 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
16519 echo "$ac_t""yes" 1>&6
16521 echo "$ac_t""no" 1>&6
16526 if test "$WXGTK20" = 1 ; then
16527 cat >> confdefs.h
<<EOF
16528 #define __WXGTK20__ $WXGTK20
16534 if test "$WXGTK12" = 1 ; then
16535 cat >> confdefs.h
<<EOF
16536 #define __WXGTK12__ $WXGTK12
16541 if test "$WXGTK127" = 1 ; then
16542 cat >> confdefs.h
<<EOF
16543 #define __WXGTK127__ $WXGTK127
16550 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
16555 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
16556 wxUSE_DEBUG_INFO
=yes
16560 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
16561 cat >> confdefs.h
<<\EOF
16565 WXDEBUG_DEFINE
="-D__WXDEBUG__"
16567 if test "$wxUSE_GTK" = 1 ; then
16568 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
16572 if test "$wxUSE_MEM_TRACING" = "yes" ; then
16573 cat >> confdefs.h
<<\EOF
16574 #define wxUSE_MEMORY_TRACING 1
16577 cat >> confdefs.h
<<\EOF
16578 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
16581 cat >> confdefs.h
<<\EOF
16582 #define wxUSE_DEBUG_NEW_ALWAYS 1
16585 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
16588 if test "$wxUSE_DMALLOC" = "yes" ; then
16589 DMALLOC_LIBS
="-ldmalloc"
16593 if test "$wxUSE_PROFILE" = "yes" ; then
16597 if test "$GCC" = "yes" ; then
16598 if test "$wxUSE_NO_RTTI" = "yes" ; then
16599 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
16601 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
16602 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
16604 if test "$wxUSE_PERMISSIVE" = "yes" ; then
16605 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
16607 if test "$USE_WIN32" = 1 ; then
16608 # I'm not even really sure what this was ever added to solve,
16609 # but someone added it for mingw native builds, so I guess
16610 # they had a reason, right??
16611 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fno-pcc-struct-return"
16616 CXXFLAGS
=`echo "${CXXFLAGS}" | sed "s/\-O.//g" `
16617 CFLAGS
=`echo "${CFLAGS}" | sed "s/\-O.//g" `
16618 if test "$wxUSE_OPTIMISE" = "no" ; then
16621 if test "$GCC" = yes ; then
16624 i586
-*-*|i686
-*-* )
16625 OPTIMISE
="${OPTIMISE} "
16633 if test "$WXWIN_COMPATIBILITY_2" = "yes"; then
16634 cat >> confdefs.h
<<\EOF
16635 #define WXWIN_COMPATIBILITY_2 1
16639 WXWIN_COMPATIBILITY_2_2
="yes"
16642 if test "$WXWIN_COMPATIBILITY_2_2" = "yes"; then
16643 cat >> confdefs.h
<<\EOF
16644 #define WXWIN_COMPATIBILITY_2_2 1
16650 if test "$wxUSE_GUI" = "yes"; then
16651 cat >> confdefs.h
<<\EOF
16652 #define wxUSE_GUI 1
16657 cat >> confdefs.h
<<\EOF
16658 #define wxUSE_NOGUI 1
16664 if test "$wxUSE_UNIX" = "yes"; then
16665 cat >> confdefs.h
<<\EOF
16666 #define wxUSE_UNIX 1
16672 if test "$wxUSE_APPLE_IEEE" = "yes"; then
16673 cat >> confdefs.h
<<\EOF
16674 #define wxUSE_APPLE_IEEE 1
16679 if test "$wxUSE_TIMER" = "yes"; then
16680 cat >> confdefs.h
<<\EOF
16681 #define wxUSE_TIMER 1
16686 if test "$wxUSE_WAVE" = "yes"; then
16687 cat >> confdefs.h
<<\EOF
16688 #define wxUSE_WAVE 1
16693 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
16694 cat >> confdefs.h
<<\EOF
16695 #define wxUSE_CMDLINE_PARSER 1
16700 if test "$wxUSE_STOPWATCH" = "yes"; then
16701 cat >> confdefs.h
<<\EOF
16702 #define wxUSE_STOPWATCH 1
16707 if test "$wxUSE_DATETIME" = "yes"; then
16708 cat >> confdefs.h
<<\EOF
16709 #define wxUSE_DATETIME 1
16714 if test "$wxUSE_TIMEDATE" = "yes"; then
16715 cat >> confdefs.h
<<\EOF
16716 #define wxUSE_TIMEDATE 1
16721 if test "$wxUSE_FILE" = "yes"; then
16722 cat >> confdefs.h
<<\EOF
16723 #define wxUSE_FILE 1
16728 if test "$wxUSE_FFILE" = "yes"; then
16729 cat >> confdefs.h
<<\EOF
16730 #define wxUSE_FFILE 1
16735 if test "$wxUSE_FILESYSTEM" = "yes"; then
16736 cat >> confdefs.h
<<\EOF
16737 #define wxUSE_FILESYSTEM 1
16742 if test "$wxUSE_FS_INET" = "yes"; then
16743 cat >> confdefs.h
<<\EOF
16744 #define wxUSE_FS_INET 1
16749 if test "$wxUSE_FS_ZIP" = "yes"; then
16750 cat >> confdefs.h
<<\EOF
16751 #define wxUSE_FS_ZIP 1
16756 if test "$wxUSE_ZIPSTREAM" = "yes"; then
16757 cat >> confdefs.h
<<\EOF
16758 #define wxUSE_ZIPSTREAM 1
16763 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
16764 cat >> confdefs.h
<<\EOF
16765 #define wxUSE_ON_FATAL_EXCEPTION 1
16770 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
16771 cat >> confdefs.h
<<\EOF
16772 #define wxUSE_SNGLINST_CHECKER 1
16777 if test "$wxUSE_BUSYINFO" = "yes"; then
16778 cat >> confdefs.h
<<\EOF
16779 #define wxUSE_BUSYINFO 1
16784 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
16785 cat >> confdefs.h
<<\EOF
16786 #define wxUSE_STD_IOSTREAM 1
16791 if test "$wxUSE_TEXTBUFFER" = "yes"; then
16792 cat >> confdefs.h
<<\EOF
16793 #define wxUSE_TEXTBUFFER 1
16798 if test "$wxUSE_TEXTFILE" = "yes"; then
16799 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
16800 echo "configure: warning: wxTextFile requires wxFile and wxTextBuffer... disabled" 1>&2
16802 cat >> confdefs.h
<<\EOF
16803 #define wxUSE_TEXTFILE 1
16809 if test "$wxUSE_CONFIG" = "yes" ; then
16810 if test "$wxUSE_TEXTFILE" != "yes"; then
16811 echo "configure: warning: wxConfig requires wxTextFile... disabled" 1>&2
16813 cat >> confdefs.h
<<\EOF
16814 #define wxUSE_CONFIG 1
16817 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
16821 if test "$wxUSE_INTL" = "yes" ; then
16822 if test "$wxUSE_FILE" != "yes"; then
16823 echo "configure: warning: I18n code requires wxFile... disabled" 1>&2
16825 cat >> confdefs.h
<<\EOF
16826 #define wxUSE_INTL 1
16829 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
16830 GUIDIST
="$GUIDIST INTL_DIST"
16834 if test "$wxUSE_LOG" = "yes"; then
16835 cat >> confdefs.h
<<\EOF
16836 #define wxUSE_LOG 1
16840 if test "$wxUSE_LOGGUI" = "yes"; then
16841 cat >> confdefs.h
<<\EOF
16842 #define wxUSE_LOGGUI 1
16847 if test "$wxUSE_LOGWINDOW" = "yes"; then
16848 cat >> confdefs.h
<<\EOF
16849 #define wxUSE_LOGWINDOW 1
16854 if test "$wxUSE_LOGDIALOG" = "yes"; then
16855 cat >> confdefs.h
<<\EOF
16856 #define wxUSE_LOG_DIALOG 1
16862 if test "$wxUSE_LONGLONG" = "yes"; then
16863 cat >> confdefs.h
<<\EOF
16864 #define wxUSE_LONGLONG 1
16869 if test "$wxUSE_GEOMETRY" = "yes"; then
16870 cat >> confdefs.h
<<\EOF
16871 #define wxUSE_GEOMETRY 1
16876 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
16877 cat >> confdefs.h
<<\EOF
16878 #define wxUSE_DIALUP_MANAGER 1
16881 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
16884 if test "$wxUSE_STREAMS" = "yes" ; then
16885 cat >> confdefs.h
<<\EOF
16886 #define wxUSE_STREAMS 1
16892 if test "$wxUSE_DATETIME" = "yes"; then
16893 for ac_func
in strptime
16895 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16896 echo "configure:16897: checking for $ac_func" >&5
16897 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16898 echo $ac_n "(cached) $ac_c" 1>&6
16900 cat > conftest.
$ac_ext <<EOF
16901 #line 16902 "configure"
16902 #include "confdefs.h"
16903 /* System header to define __stub macros and hopefully few prototypes,
16904 which can conflict with char $ac_func(); below. */
16905 #include <assert.h>
16906 /* Override any gcc2 internal prototype to avoid an error. */
16907 /* We use char because int might match the return type of a gcc2
16908 builtin and then its argument prototype would still apply. */
16913 /* The GNU C library defines this for functions which it implements
16914 to always fail with ENOSYS. Some functions are actually named
16915 something starting with __ and the normal name is an alias. */
16916 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16924 if { (eval echo configure
:16925: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16926 eval "ac_cv_func_$ac_func=yes"
16928 echo "configure: failed program was:" >&5
16929 cat conftest.
$ac_ext >&5
16931 eval "ac_cv_func_$ac_func=no"
16936 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16937 echo "$ac_t""yes" 1>&6
16938 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16939 cat >> confdefs.h
<<EOF
16940 #define $ac_tr_func 1
16944 echo "$ac_t""no" 1>&6
16949 echo $ac_n "checking for timezone variable in <time.h>""... $ac_c" 1>&6
16950 echo "configure:16951: checking for timezone variable in <time.h>" >&5
16951 if eval "test \"`echo '$''{'wx_cv_var_timezone'+set}'`\" = set"; then
16952 echo $ac_n "(cached) $ac_c" 1>&6
16955 cat > conftest.
$ac_ext <<EOF
16956 #line 16957 "configure"
16957 #include "confdefs.h"
16968 if { (eval echo configure
:16969: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16971 wx_cv_var_timezone
=timezone
16974 echo "configure: failed program was:" >&5
16975 cat conftest.
$ac_ext >&5
16978 cat > conftest.
$ac_ext <<EOF
16979 #line 16980 "configure"
16980 #include "confdefs.h"
16991 if { (eval echo configure
:16992: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16994 wx_cv_var_timezone
=_timezone
16997 echo "configure: failed program was:" >&5
16998 cat conftest.
$ac_ext >&5
17001 cat > conftest.
$ac_ext <<EOF
17002 #line 17003 "configure"
17003 #include "confdefs.h"
17014 if { (eval echo configure
:17015: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17017 wx_cv_var_timezone
=__timezone
17020 echo "configure: failed program was:" >&5
17021 cat conftest.
$ac_ext >&5
17024 if test "$USE_DOS" = 0 ; then
17025 { echo "configure: error: no timezone variable" 1>&2; exit 1; }
17043 echo "$ac_t""$wx_cv_var_timezone" 1>&6
17045 if test "x$wx_cv_var_timezone" != x
; then
17046 cat >> confdefs.h
<<EOF
17047 #define WX_TIMEZONE $wx_cv_var_timezone
17052 for ac_func
in localtime
17054 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17055 echo "configure:17056: checking for $ac_func" >&5
17056 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17057 echo $ac_n "(cached) $ac_c" 1>&6
17059 cat > conftest.
$ac_ext <<EOF
17060 #line 17061 "configure"
17061 #include "confdefs.h"
17062 /* System header to define __stub macros and hopefully few prototypes,
17063 which can conflict with char $ac_func(); below. */
17064 #include <assert.h>
17065 /* Override any gcc2 internal prototype to avoid an error. */
17066 /* We use char because int might match the return type of a gcc2
17067 builtin and then its argument prototype would still apply. */
17072 /* The GNU C library defines this for functions which it implements
17073 to always fail with ENOSYS. Some functions are actually named
17074 something starting with __ and the normal name is an alias. */
17075 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17083 if { (eval echo configure
:17084: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17085 eval "ac_cv_func_$ac_func=yes"
17087 echo "configure: failed program was:" >&5
17088 cat conftest.
$ac_ext >&5
17090 eval "ac_cv_func_$ac_func=no"
17095 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17096 echo "$ac_t""yes" 1>&6
17097 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17098 cat >> confdefs.h
<<EOF
17099 #define $ac_tr_func 1
17103 echo "$ac_t""no" 1>&6
17108 if test "$ac_cv_func_localtime" = "yes"; then
17109 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
17110 echo "configure:17111: checking for tm_gmtoff in struct tm" >&5
17111 if eval "test \"`echo '$''{'wx_cv_struct_tm_has_gmtoff'+set}'`\" = set"; then
17112 echo $ac_n "(cached) $ac_c" 1>&6
17115 cat > conftest.
$ac_ext <<EOF
17116 #line 17117 "configure"
17117 #include "confdefs.h"
17128 if { (eval echo configure
:17129: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17131 wx_cv_struct_tm_has_gmtoff
=yes
17134 echo "configure: failed program was:" >&5
17135 cat conftest.
$ac_ext >&5
17137 wx_cv_struct_tm_has_gmtoff
=no
17144 echo "$ac_t""$wx_cv_struct_tm_has_gmtoff" 1>&6
17147 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
17148 cat >> confdefs.h
<<\EOF
17149 #define WX_GMTOFF_IN_TM 1
17154 for ac_func
in gettimeofday ftime
17156 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17157 echo "configure:17158: checking for $ac_func" >&5
17158 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17159 echo $ac_n "(cached) $ac_c" 1>&6
17161 cat > conftest.
$ac_ext <<EOF
17162 #line 17163 "configure"
17163 #include "confdefs.h"
17164 /* System header to define __stub macros and hopefully few prototypes,
17165 which can conflict with char $ac_func(); below. */
17166 #include <assert.h>
17167 /* Override any gcc2 internal prototype to avoid an error. */
17168 /* We use char because int might match the return type of a gcc2
17169 builtin and then its argument prototype would still apply. */
17174 /* The GNU C library defines this for functions which it implements
17175 to always fail with ENOSYS. Some functions are actually named
17176 something starting with __ and the normal name is an alias. */
17177 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17185 if { (eval echo configure
:17186: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17187 eval "ac_cv_func_$ac_func=yes"
17189 echo "configure: failed program was:" >&5
17190 cat conftest.
$ac_ext >&5
17192 eval "ac_cv_func_$ac_func=no"
17197 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17198 echo "$ac_t""yes" 1>&6
17199 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17200 cat >> confdefs.h
<<EOF
17201 #define $ac_tr_func 1
17205 echo "$ac_t""no" 1>&6
17210 if test "$ac_cv_func_gettimeofday" = "yes"; then
17211 echo $ac_n "checking whether gettimeofday takes two arguments""... $ac_c" 1>&6
17212 echo "configure:17213: checking whether gettimeofday takes two arguments" >&5
17213 if eval "test \"`echo '$''{'wx_cv_func_gettimeofday_has_2_args'+set}'`\" = set"; then
17214 echo $ac_n "(cached) $ac_c" 1>&6
17219 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17220 ac_cpp
='$CXXCPP $CPPFLAGS'
17221 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17222 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17223 cross_compiling
=$ac_cv_prog_cxx_cross
17226 cat > conftest.
$ac_ext <<EOF
17227 #line 17228 "configure"
17228 #include "confdefs.h"
17230 #include <sys/time.h>
17231 #include <unistd.h>
17236 gettimeofday(&tv, NULL);
17240 if { (eval echo configure
:17241: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17242 wx_cv_func_gettimeofday_has_2_args
=yes
17244 echo "configure: failed program was:" >&5
17245 cat conftest.
$ac_ext >&5
17247 cat > conftest.
$ac_ext <<EOF
17248 #line 17249 "configure"
17249 #include "confdefs.h"
17251 #include <sys/time.h>
17252 #include <unistd.h>
17261 if { (eval echo configure
:17262: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17263 wx_cv_func_gettimeofday_has_2_args
=no
17265 echo "configure: failed program was:" >&5
17266 cat conftest.
$ac_ext >&5
17269 echo "configure: warning: failed to determine number of gettimeofday() arguments" 1>&2
17270 wx_cv_func_gettimeofday_has_2_args
=unknown
17279 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17280 ac_cpp
='$CPP $CPPFLAGS'
17281 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17282 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17283 cross_compiling
=$ac_cv_prog_cc_cross
17288 echo "$ac_t""$wx_cv_func_gettimeofday_has_2_args" 1>&6
17290 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
17291 cat >> confdefs.h
<<\EOF
17292 #define WX_GETTIMEOFDAY_NO_TZ 1
17298 cat >> confdefs.h
<<\EOF
17299 #define wxUSE_TIMEDATE 1
17302 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
17306 if test "$TOOLKIT" != "MSW"; then
17308 if test "$wxUSE_SOCKETS" = "yes"; then
17309 echo $ac_n "checking for socket""... $ac_c" 1>&6
17310 echo "configure:17311: checking for socket" >&5
17311 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
17312 echo $ac_n "(cached) $ac_c" 1>&6
17314 cat > conftest.
$ac_ext <<EOF
17315 #line 17316 "configure"
17316 #include "confdefs.h"
17317 /* System header to define __stub macros and hopefully few prototypes,
17318 which can conflict with char socket(); below. */
17319 #include <assert.h>
17320 /* Override any gcc2 internal prototype to avoid an error. */
17321 /* We use char because int might match the return type of a gcc2
17322 builtin and then its argument prototype would still apply. */
17327 /* The GNU C library defines this for functions which it implements
17328 to always fail with ENOSYS. Some functions are actually named
17329 something starting with __ and the normal name is an alias. */
17330 #if defined (__stub_socket) || defined (__stub___socket)
17338 if { (eval echo configure
:17339: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17340 eval "ac_cv_func_socket=yes"
17342 echo "configure: failed program was:" >&5
17343 cat conftest.
$ac_ext >&5
17345 eval "ac_cv_func_socket=no"
17350 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
17351 echo "$ac_t""yes" 1>&6
17354 echo "$ac_t""no" 1>&6
17355 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
17356 echo "configure:17357: checking for socket in -lsocket" >&5
17357 ac_lib_var
=`echo socket'_'socket | sed 'y%./+-%__p_%'`
17358 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17359 echo $ac_n "(cached) $ac_c" 1>&6
17361 ac_save_LIBS
="$LIBS"
17362 LIBS
="-lsocket $LIBS"
17363 cat > conftest.
$ac_ext <<EOF
17364 #line 17365 "configure"
17365 #include "confdefs.h"
17366 /* Override any gcc2 internal prototype to avoid an error. */
17367 /* We use char because int might match the return type of a gcc2
17368 builtin and then its argument prototype would still apply. */
17375 if { (eval echo configure
:17376: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17377 eval "ac_cv_lib_$ac_lib_var=yes"
17379 echo "configure: failed program was:" >&5
17380 cat conftest.
$ac_ext >&5
17382 eval "ac_cv_lib_$ac_lib_var=no"
17385 LIBS
="$ac_save_LIBS"
17388 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17389 echo "$ac_t""yes" 1>&6
17390 INET_LINK
="$INET_LINK -lsocket"
17392 echo "$ac_t""no" 1>&6
17394 echo "configure: warning: socket library not found - sockets will be disabled" 1>&2
17406 if test "$wxUSE_SOCKETS" = "yes" ; then
17407 echo $ac_n "checking what is the type of the third argument of getsockname""... $ac_c" 1>&6
17408 echo "configure:17409: checking what is the type of the third argument of getsockname" >&5
17409 if eval "test \"`echo '$''{'wx_cv_type_getsockname3'+set}'`\" = set"; then
17410 echo $ac_n "(cached) $ac_c" 1>&6
17415 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17416 ac_cpp
='$CXXCPP $CPPFLAGS'
17417 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17418 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17419 cross_compiling
=$ac_cv_prog_cxx_cross
17422 cat > conftest.
$ac_ext <<EOF
17423 #line 17424 "configure"
17424 #include "confdefs.h"
17426 #include <sys/types.h>
17427 #include <sys/socket.h>
17432 getsockname(0, 0, &len);
17436 if { (eval echo configure
:17437: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17438 wx_cv_type_getsockname3
=socklen_t
17440 echo "configure: failed program was:" >&5
17441 cat conftest.
$ac_ext >&5
17443 cat > conftest.
$ac_ext <<EOF
17444 #line 17445 "configure"
17445 #include "confdefs.h"
17447 #include <sys/types.h>
17448 #include <sys/socket.h>
17453 getsockname(0, 0, &len);
17457 if { (eval echo configure
:17458: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17459 wx_cv_type_getsockname3
=size_t
17461 echo "configure: failed program was:" >&5
17462 cat conftest.
$ac_ext >&5
17464 cat > conftest.
$ac_ext <<EOF
17465 #line 17466 "configure"
17466 #include "confdefs.h"
17468 #include <sys/types.h>
17469 #include <sys/socket.h>
17474 getsockname(0, 0, &len);
17478 if { (eval echo configure
:17479: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17480 wx_cv_type_getsockname3
=int
17482 echo "configure: failed program was:" >&5
17483 cat conftest.
$ac_ext >&5
17485 wx_cv_type_getsockname3
=unknown
17497 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17498 ac_cpp
='$CPP $CPPFLAGS'
17499 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17500 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17501 cross_compiling
=$ac_cv_prog_cc_cross
17506 echo "$ac_t""$wx_cv_type_getsockname3" 1>&6
17508 if test "$wx_cv_type_getsockname3" = "unknown"; then
17510 echo "configure: warning: Couldn't find socklen_t synonym for this system" 1>&2
17512 cat >> confdefs.h
<<EOF
17513 #define SOCKLEN_T $wx_cv_type_getsockname3
17520 if test "$wxUSE_SOCKETS" = "yes" ; then
17521 cat >> confdefs.h
<<\EOF
17522 #define wxUSE_SOCKETS 1
17525 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
17529 if test "$wxUSE_GUI" = "yes"; then
17531 if test "$TOOLKIT" = "MAC"; then
17532 echo "configure: warning: Joystick not yet supported under Mac OS X... disabled" 1>&2
17535 if test "$TOOLKIT" = "MOTIF"; then
17536 echo "configure: warning: Joystick not yet supported under Motif... disabled" 1>&2
17540 if test "$TOOLKIT" != "MSW"; then
17541 if test "$wxUSE_JOYSTICK" = "yes"; then
17542 for ac_hdr
in linux
/joystick.h
17544 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
17545 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
17546 echo "configure:17547: checking for $ac_hdr" >&5
17547 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17548 echo $ac_n "(cached) $ac_c" 1>&6
17550 cat > conftest.
$ac_ext <<EOF
17551 #line 17552 "configure"
17552 #include "confdefs.h"
17555 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17556 { (eval echo configure
:17557: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17557 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17558 if test -z "$ac_err"; then
17560 eval "ac_cv_header_$ac_safe=yes"
17563 echo "configure: failed program was:" >&5
17564 cat conftest.
$ac_ext >&5
17566 eval "ac_cv_header_$ac_safe=no"
17570 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17571 echo "$ac_t""yes" 1>&6
17572 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
17573 cat >> confdefs.h
<<EOF
17574 #define $ac_tr_hdr 1
17578 echo "$ac_t""no" 1>&6
17582 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
17584 echo "configure: warning: Joystick not supported by this system... disabled" 1>&2
17589 if test "$wxUSE_JOYSTICK" = "yes"; then
17590 cat >> confdefs.h
<<\EOF
17591 #define wxUSE_JOYSTICK 1
17594 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
17599 if test "$TOOLKIT" != "MSW"; then
17603 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
17604 if test "$USE_DARWIN" = 1; then
17607 for ac_func
in dlopen
17609 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17610 echo "configure:17611: checking for $ac_func" >&5
17611 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17612 echo $ac_n "(cached) $ac_c" 1>&6
17614 cat > conftest.
$ac_ext <<EOF
17615 #line 17616 "configure"
17616 #include "confdefs.h"
17617 /* System header to define __stub macros and hopefully few prototypes,
17618 which can conflict with char $ac_func(); below. */
17619 #include <assert.h>
17620 /* Override any gcc2 internal prototype to avoid an error. */
17621 /* We use char because int might match the return type of a gcc2
17622 builtin and then its argument prototype would still apply. */
17627 /* The GNU C library defines this for functions which it implements
17628 to always fail with ENOSYS. Some functions are actually named
17629 something starting with __ and the normal name is an alias. */
17630 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17638 if { (eval echo configure
:17639: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17640 eval "ac_cv_func_$ac_func=yes"
17642 echo "configure: failed program was:" >&5
17643 cat conftest.
$ac_ext >&5
17645 eval "ac_cv_func_$ac_func=no"
17650 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17651 echo "$ac_t""yes" 1>&6
17652 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17653 cat >> confdefs.h
<<EOF
17654 #define $ac_tr_func 1
17657 cat >> confdefs.h
<<\EOF
17658 #define HAVE_DLOPEN 1
17664 echo "$ac_t""no" 1>&6
17665 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
17666 echo "configure:17667: checking for dlopen in -ldl" >&5
17667 ac_lib_var
=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
17668 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17669 echo $ac_n "(cached) $ac_c" 1>&6
17671 ac_save_LIBS
="$LIBS"
17673 cat > conftest.
$ac_ext <<EOF
17674 #line 17675 "configure"
17675 #include "confdefs.h"
17676 /* Override any gcc2 internal prototype to avoid an error. */
17677 /* We use char because int might match the return type of a gcc2
17678 builtin and then its argument prototype would still apply. */
17685 if { (eval echo configure
:17686: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17687 eval "ac_cv_lib_$ac_lib_var=yes"
17689 echo "configure: failed program was:" >&5
17690 cat conftest.
$ac_ext >&5
17692 eval "ac_cv_lib_$ac_lib_var=no"
17695 LIBS
="$ac_save_LIBS"
17698 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17699 echo "$ac_t""yes" 1>&6
17701 cat >> confdefs.h
<<\EOF
17702 #define HAVE_DLOPEN 1
17706 DL_LINK
=" -ldl$DL_LINK"
17709 echo "$ac_t""no" 1>&6
17711 for ac_func
in shl_load
17713 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17714 echo "configure:17715: checking for $ac_func" >&5
17715 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17716 echo $ac_n "(cached) $ac_c" 1>&6
17718 cat > conftest.
$ac_ext <<EOF
17719 #line 17720 "configure"
17720 #include "confdefs.h"
17721 /* System header to define __stub macros and hopefully few prototypes,
17722 which can conflict with char $ac_func(); below. */
17723 #include <assert.h>
17724 /* Override any gcc2 internal prototype to avoid an error. */
17725 /* We use char because int might match the return type of a gcc2
17726 builtin and then its argument prototype would still apply. */
17731 /* The GNU C library defines this for functions which it implements
17732 to always fail with ENOSYS. Some functions are actually named
17733 something starting with __ and the normal name is an alias. */
17734 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17742 if { (eval echo configure
:17743: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17744 eval "ac_cv_func_$ac_func=yes"
17746 echo "configure: failed program was:" >&5
17747 cat conftest.
$ac_ext >&5
17749 eval "ac_cv_func_$ac_func=no"
17754 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17755 echo "$ac_t""yes" 1>&6
17756 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17757 cat >> confdefs.h
<<EOF
17758 #define $ac_tr_func 1
17761 cat >> confdefs.h
<<\EOF
17762 #define HAVE_SHL_LOAD 1
17768 echo "$ac_t""no" 1>&6
17769 echo $ac_n "checking for dld in -lshl_load""... $ac_c" 1>&6
17770 echo "configure:17771: checking for dld in -lshl_load" >&5
17771 ac_lib_var
=`echo shl_load'_'dld | sed 'y%./+-%__p_%'`
17772 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17773 echo $ac_n "(cached) $ac_c" 1>&6
17775 ac_save_LIBS
="$LIBS"
17776 LIBS
="-lshl_load $LIBS"
17777 cat > conftest.
$ac_ext <<EOF
17778 #line 17779 "configure"
17779 #include "confdefs.h"
17780 /* Override any gcc2 internal prototype to avoid an error. */
17781 /* We use char because int might match the return type of a gcc2
17782 builtin and then its argument prototype would still apply. */
17789 if { (eval echo configure
:17790: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17791 eval "ac_cv_lib_$ac_lib_var=yes"
17793 echo "configure: failed program was:" >&5
17794 cat conftest.
$ac_ext >&5
17796 eval "ac_cv_lib_$ac_lib_var=no"
17799 LIBS
="$ac_save_LIBS"
17802 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17803 echo "$ac_t""yes" 1>&6
17806 DL_LINK
=" -ldld$DL_LINK"
17809 echo "$ac_t""no" 1>&6
17824 if test "$HAVE_DL_FUNCS" = 1; then
17825 for ac_func
in dlerror
17827 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17828 echo "configure:17829: checking for $ac_func" >&5
17829 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17830 echo $ac_n "(cached) $ac_c" 1>&6
17832 cat > conftest.
$ac_ext <<EOF
17833 #line 17834 "configure"
17834 #include "confdefs.h"
17835 /* System header to define __stub macros and hopefully few prototypes,
17836 which can conflict with char $ac_func(); below. */
17837 #include <assert.h>
17838 /* Override any gcc2 internal prototype to avoid an error. */
17839 /* We use char because int might match the return type of a gcc2
17840 builtin and then its argument prototype would still apply. */
17845 /* The GNU C library defines this for functions which it implements
17846 to always fail with ENOSYS. Some functions are actually named
17847 something starting with __ and the normal name is an alias. */
17848 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17856 if { (eval echo configure
:17857: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17858 eval "ac_cv_func_$ac_func=yes"
17860 echo "configure: failed program was:" >&5
17861 cat conftest.
$ac_ext >&5
17863 eval "ac_cv_func_$ac_func=no"
17868 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17869 echo "$ac_t""yes" 1>&6
17870 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17871 cat >> confdefs.h
<<EOF
17872 #define $ac_tr_func 1
17874 cat >> confdefs.h
<<\EOF
17875 #define HAVE_DLERROR 1
17879 echo "$ac_t""no" 1>&6
17880 echo $ac_n "checking for dlerror in -ldl""... $ac_c" 1>&6
17881 echo "configure:17882: checking for dlerror in -ldl" >&5
17882 ac_lib_var
=`echo dl'_'dlerror | sed 'y%./+-%__p_%'`
17883 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17884 echo $ac_n "(cached) $ac_c" 1>&6
17886 ac_save_LIBS
="$LIBS"
17888 cat > conftest.
$ac_ext <<EOF
17889 #line 17890 "configure"
17890 #include "confdefs.h"
17891 /* Override any gcc2 internal prototype to avoid an error. */
17892 /* We use char because int might match the return type of a gcc2
17893 builtin and then its argument prototype would still apply. */
17900 if { (eval echo configure
:17901: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17902 eval "ac_cv_lib_$ac_lib_var=yes"
17904 echo "configure: failed program was:" >&5
17905 cat conftest.
$ac_ext >&5
17907 eval "ac_cv_lib_$ac_lib_var=no"
17910 LIBS
="$ac_save_LIBS"
17913 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17914 echo "$ac_t""yes" 1>&6
17915 cat >> confdefs.h
<<\EOF
17916 #define HAVE_DLERROR 1
17920 echo "$ac_t""no" 1>&6
17929 if test "$HAVE_DL_FUNCS" = 0; then
17930 if test "$HAVE_SHL_FUNCS" = 0; then
17931 if test "$USE_UNIX" = 1; then
17932 echo "configure: warning: Missing dynamic loading support, several features will be disabled" 1>&2
17933 wxUSE_DYNAMIC_LOADER
=no
17934 wxUSE_DYNLIB_CLASS
=no
17936 echo "configure: warning: Assuming wxLibrary class works on this platform" 1>&2
17943 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
17944 cat >> confdefs.h
<<\EOF
17945 #define wxUSE_DYNAMIC_LOADER 1
17948 elif test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
17949 cat >> confdefs.h
<<\EOF
17950 #define wxUSE_DYNLIB_CLASS 1
17956 if test "$wxUSE_FONTMAP" = "yes" ; then
17957 cat >> confdefs.h
<<\EOF
17958 #define wxUSE_FONTMAP 1
17963 if test "$wxUSE_UNICODE" = "yes" ; then
17964 cat >> confdefs.h
<<\EOF
17965 #define wxUSE_UNICODE 1
17970 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
17971 cat >> confdefs.h
<<\EOF
17972 #define wxUSE_EXPERIMENTAL_PRINTF 1
17980 if test "$wxUSE_ODBC" = "yes" ; then
17981 cat >> confdefs.h
<<\EOF
17982 #define wxUSE_ODBC 1
17985 WXODBCFLAG
="-D_IODBC_"
17986 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
17990 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
17991 cat >> confdefs.h
<<\EOF
17992 #define wxUSE_POSTSCRIPT 1
17997 cat >> confdefs.h
<<\EOF
17998 #define wxUSE_AFM_FOR_POSTSCRIPT 1
18002 cat >> confdefs.h
<<\EOF
18003 #define wxUSE_NORMALIZED_PS_FONTS 1
18008 if test "$wxUSE_CONSTRAINTS" = "yes"; then
18009 cat >> confdefs.h
<<\EOF
18010 #define wxUSE_CONSTRAINTS 1
18013 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
18016 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
18017 if test "$wxUSE_UNIVERSAL" = "yes"; then
18018 echo "configure: warning: MDI not yet supported for wxUNIVERSAL... disabled" 1>&2
18019 wxUSE_MDI_ARCHITECTURE
=no
18022 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
18023 cat >> confdefs.h
<<\EOF
18024 #define wxUSE_MDI_ARCHITECTURE 1
18027 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
18031 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
18032 cat >> confdefs.h
<<\EOF
18033 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
18036 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
18037 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
18038 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
18042 if test "$wxUSE_HELP" = "yes"; then
18043 cat >> confdefs.h
<<\EOF
18044 #define wxUSE_HELP 1
18047 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
18049 if test "$wxUSE_MSW" = 1; then
18050 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
18051 ac_safe
=`echo "htmlhelp.h" | sed 'y%./+-%__p_%'`
18052 echo $ac_n "checking for htmlhelp.h""... $ac_c" 1>&6
18053 echo "configure:18054: checking for htmlhelp.h" >&5
18054 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
18055 echo $ac_n "(cached) $ac_c" 1>&6
18057 cat > conftest.
$ac_ext <<EOF
18058 #line 18059 "configure"
18059 #include "confdefs.h"
18060 #include <htmlhelp.h>
18062 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
18063 { (eval echo configure
:18064: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
18064 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
18065 if test -z "$ac_err"; then
18067 eval "ac_cv_header_$ac_safe=yes"
18070 echo "configure: failed program was:" >&5
18071 cat conftest.
$ac_ext >&5
18073 eval "ac_cv_header_$ac_safe=no"
18077 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
18078 echo "$ac_t""yes" 1>&6
18080 cat >> confdefs.h
<<\EOF
18081 #define wxUSE_MS_HTML_HELP 1
18086 echo "$ac_t""no" 1>&6
18088 echo "configure: warning: MS HTML Help cannot be used without htmlhelp.h... disabled" 1>&2
18089 wxUSE_MS_HTML_HELP
=no
18096 if test "$wxUSE_WXHTML_HELP" = "yes"; then
18097 if test "$wxUSE_HTML" = "yes"; then
18098 cat >> confdefs.h
<<\EOF
18099 #define wxUSE_WXHTML_HELP 1
18103 echo "configure: warning: Cannot use wxHTML-based help without wxHTML so it won't be compiled" 1>&2
18104 wxUSE_WXHTML_HELP
=no
18109 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
18110 if test "$wxUSE_CONSTRAINTS" != "yes"; then
18111 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
18113 cat >> confdefs.h
<<\EOF
18114 #define wxUSE_PRINTING_ARCHITECTURE 1
18118 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
18121 if test "$wxUSE_PROLOGIO" = "yes" ; then
18122 cat >> confdefs.h
<<\EOF
18123 #define wxUSE_PROLOGIO 1
18128 if test "$wxUSE_RESOURCES" = "yes" ; then
18129 cat >> confdefs.h
<<\EOF
18130 #define wxUSE_RESOURCES 1
18133 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS resource"
18136 if test "$wxUSE_X_RESOURCES" = "yes"; then
18137 cat >> confdefs.h
<<\EOF
18138 #define wxUSE_X_RESOURCES 1
18144 if test "$wxUSE_MSW" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
18145 -o "$wxUSE_CLIPBOARD" = "yes" \
18146 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
18147 for ac_hdr
in ole2.h
18149 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
18150 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
18151 echo "configure:18152: checking for $ac_hdr" >&5
18152 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
18153 echo $ac_n "(cached) $ac_c" 1>&6
18155 cat > conftest.
$ac_ext <<EOF
18156 #line 18157 "configure"
18157 #include "confdefs.h"
18160 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
18161 { (eval echo configure
:18162: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
18162 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
18163 if test -z "$ac_err"; then
18165 eval "ac_cv_header_$ac_safe=yes"
18168 echo "configure: failed program was:" >&5
18169 cat conftest.
$ac_ext >&5
18171 eval "ac_cv_header_$ac_safe=no"
18175 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
18176 echo "$ac_t""yes" 1>&6
18177 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
18178 cat >> confdefs.h
<<EOF
18179 #define $ac_tr_hdr 1
18183 echo "$ac_t""no" 1>&6
18188 if test "$ac_cv_header_ole2_h" = "yes" ; then
18189 if test "$GCC" = yes ; then
18190 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
18191 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
18192 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
18193 cat >> confdefs.h
<<\EOF
18194 #define wxUSE_OLE 1
18200 cat >> confdefs.h
<<\EOF
18201 #define wxUSE_DATAOBJ 1
18205 echo "configure: warning: Some features disabled because OLE headers not found" 1>&2
18208 wxUSE_DRAG_AND_DROP
=no
18212 if test "$wxUSE_METAFILE" = "yes"; then
18213 cat >> confdefs.h
<<\EOF
18214 #define wxUSE_METAFILE 1
18218 cat >> confdefs.h
<<\EOF
18219 #define wxUSE_ENH_METAFILE 1
18225 if test "$wxUSE_IPC" = "yes"; then
18226 if test "$wxUSE_SOCKETS" != "yes"; then
18227 echo "configure: warning: wxWindows IPC classes require sockets... disabled" 1>&2
18230 cat >> confdefs.h
<<\EOF
18231 #define wxUSE_IPC 1
18236 if test "$wxUSE_CLIPBOARD" = "yes"; then
18237 cat >> confdefs.h
<<\EOF
18238 #define wxUSE_CLIPBOARD 1
18242 cat >> confdefs.h
<<\EOF
18243 #define wxUSE_DATAOBJ 1
18248 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
18249 if test "$wxUSE_GTK" = 1; then
18250 if test "$WXGTK12" != 1; then
18251 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2... disabled" 1>&2
18252 wxUSE_DRAG_AND_DROP
=no
18256 if test "$wxUSE_MOTIF" = 1; then
18257 echo "configure: warning: Drag and drop not yet supported under Motif... disabled" 1>&2
18258 wxUSE_DRAG_AND_DROP
=no
18261 if test "$wxUSE_MAC" = 1; then
18262 echo "configure: warning: Drag and drop not yet supported under Mac OS X... disabled" 1>&2
18263 wxUSE_DRAG_AND_DROP
=no
18266 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
18267 cat >> confdefs.h
<<\EOF
18268 #define wxUSE_DRAG_AND_DROP 1
18271 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
18276 if test "$wxUSE_SPLINES" = "yes" ; then
18277 cat >> confdefs.h
<<\EOF
18278 #define wxUSE_SPLINES 1
18285 if test "$wxUSE_CONTROLS" = "yes"; then
18289 if test "$wxUSE_ACCEL" = "yes"; then
18290 cat >> confdefs.h
<<\EOF
18291 #define wxUSE_ACCEL 1
18297 if test "$wxUSE_BUTTON" = "yes"; then
18298 cat >> confdefs.h
<<\EOF
18299 #define wxUSE_BUTTON 1
18305 if test "$wxUSE_BMPBUTTON" = "yes"; then
18306 cat >> confdefs.h
<<\EOF
18307 #define wxUSE_BMPBUTTON 1
18313 if test "$wxUSE_CALCTRL" = "yes"; then
18314 cat >> confdefs.h
<<\EOF
18315 #define wxUSE_CALENDARCTRL 1
18319 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
18322 if test "$wxUSE_CARET" = "yes"; then
18323 cat >> confdefs.h
<<\EOF
18324 #define wxUSE_CARET 1
18328 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
18331 if test "$wxUSE_COMBOBOX" = "yes"; then
18332 cat >> confdefs.h
<<\EOF
18333 #define wxUSE_COMBOBOX 1
18339 if test "$wxUSE_CHOICE" = "yes"; then
18340 cat >> confdefs.h
<<\EOF
18341 #define wxUSE_CHOICE 1
18347 if test "$wxUSE_CHECKBOX" = "yes"; then
18348 cat >> confdefs.h
<<\EOF
18349 #define wxUSE_CHECKBOX 1
18355 if test "$wxUSE_CHECKLST" = "yes"; then
18356 cat >> confdefs.h
<<\EOF
18357 #define wxUSE_CHECKLISTBOX 1
18361 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
18364 if test "$wxUSE_GAUGE" = "yes"; then
18365 cat >> confdefs.h
<<\EOF
18366 #define wxUSE_GAUGE 1
18372 if test "$wxUSE_NEW_GRID" = "yes"; then
18374 cat >> confdefs.h
<<\EOF
18375 #define wxUSE_NEW_GRID 1
18379 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS newgrid"
18382 if test "$wxUSE_GRID" = "yes"; then
18383 cat >> confdefs.h
<<\EOF
18384 #define wxUSE_GRID 1
18388 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
18391 if test "$wxUSE_IMAGLIST" = "yes"; then
18392 cat >> confdefs.h
<<\EOF
18393 #define wxUSE_IMAGLIST 1
18398 if test "$wxUSE_LISTBOX" = "yes"; then
18399 cat >> confdefs.h
<<\EOF
18400 #define wxUSE_LISTBOX 1
18406 if test "$wxUSE_LISTCTRL" = "yes"; then
18407 if test "$wxUSE_IMAGLIST" = "yes"; then
18408 cat >> confdefs.h
<<\EOF
18409 #define wxUSE_LISTCTRL 1
18413 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
18415 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
18419 if test "$wxUSE_NOTEBOOK" = "yes"; then
18420 cat >> confdefs.h
<<\EOF
18421 #define wxUSE_NOTEBOOK 1
18425 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
18428 if test "$wxUSE_PROPSHEET" = "yes"; then
18429 cat >> confdefs.h
<<\EOF
18430 #define wxUSE_PROPSHEET 1
18434 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS proplist"
18437 if test "$wxUSE_RADIOBOX" = "yes"; then
18438 cat >> confdefs.h
<<\EOF
18439 #define wxUSE_RADIOBOX 1
18445 if test "$wxUSE_RADIOBTN" = "yes"; then
18446 cat >> confdefs.h
<<\EOF
18447 #define wxUSE_RADIOBTN 1
18453 if test "$wxUSE_SASH" = "yes"; then
18454 cat >> confdefs.h
<<\EOF
18455 #define wxUSE_SASH 1
18458 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
18461 if test "$wxUSE_SCROLLBAR" = "yes"; then
18462 cat >> confdefs.h
<<\EOF
18463 #define wxUSE_SCROLLBAR 1
18467 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
18470 if test "$wxUSE_SLIDER" = "yes"; then
18471 cat >> confdefs.h
<<\EOF
18472 #define wxUSE_SLIDER 1
18478 if test "$wxUSE_SPINBTN" = "yes"; then
18479 cat >> confdefs.h
<<\EOF
18480 #define wxUSE_SPINBTN 1
18486 if test "$wxUSE_SPINCTRL" = "yes"; then
18487 cat >> confdefs.h
<<\EOF
18488 #define wxUSE_SPINCTRL 1
18494 if test "$wxUSE_SPLITTER" = "yes"; then
18495 cat >> confdefs.h
<<\EOF
18496 #define wxUSE_SPLITTER 1
18499 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
18502 if test "$wxUSE_STATBMP" = "yes"; then
18503 cat >> confdefs.h
<<\EOF
18504 #define wxUSE_STATBMP 1
18510 if test "$wxUSE_STATBOX" = "yes"; then
18511 cat >> confdefs.h
<<\EOF
18512 #define wxUSE_STATBOX 1
18518 if test "$wxUSE_STATTEXT" = "yes"; then
18519 cat >> confdefs.h
<<\EOF
18520 #define wxUSE_STATTEXT 1
18526 if test "$wxUSE_STATLINE" = "yes"; then
18527 if test "$wxUSE_WINE" = 1 ; then
18528 echo "configure: warning: wxStaticLine is not supported under WINE" 1>&2
18530 cat >> confdefs.h
<<\EOF
18531 #define wxUSE_STATLINE 1
18538 if test "$wxUSE_STATUSBAR" = "yes"; then
18539 cat >> confdefs.h
<<\EOF
18540 #define wxUSE_STATUSBAR 1
18545 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
18548 if test "$wxUSE_TABDIALOG" = "yes"; then
18549 cat >> confdefs.h
<<\EOF
18550 #define wxUSE_TAB_DIALOG 1
18553 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
18556 if test "$wxUSE_TEXTCTRL" = "yes"; then
18557 cat >> confdefs.h
<<\EOF
18558 #define wxUSE_TEXTCTRL 1
18562 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
18565 if test "$wxUSE_TOGGLEBTN" = "yes"; then
18566 if test "$wxUSE_MAC" = 1; then
18567 echo "configure: warning: Toggle button not yet supported under Mac OS X... disabled" 1>&2
18570 if test "$wxUSE_UNIVERSAL" = "yes"; then
18571 echo "configure: warning: Toggle button not yet supported under wxUNIVERSAL... disabled" 1>&2
18575 if test "$wxUSE_TOGGLEBTN" = "yes"; then
18576 cat >> confdefs.h
<<\EOF
18577 #define wxUSE_TOGGLEBTN 1
18584 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
18585 cat >> confdefs.h
<<\EOF
18586 #define wxUSE_TOOLBAR_SIMPLE 1
18589 wxUSE_TOOLBAR
="yes"
18593 if test "$wxUSE_TOOLBAR" = "yes"; then
18594 cat >> confdefs.h
<<\EOF
18595 #define wxUSE_TOOLBAR 1
18600 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
18601 wxUSE_TOOLBAR_NATIVE
="yes"
18604 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
18605 cat >> confdefs.h
<<\EOF
18606 #define wxUSE_TOOLBAR_NATIVE 1
18612 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
18615 if test "$wxUSE_TOOLTIPS" = "yes"; then
18616 if test "$wxUSE_MOTIF" = 1; then
18617 echo "configure: warning: wxTooltip not supported yet under Motif... disabled" 1>&2
18619 if test "$wxUSE_WINE" = 1; then
18620 echo "configure: warning: wxTooltip not supported under WINE... disabled" 1>&2
18622 if test "$wxUSE_UNIVERSAL" = "yes"; then
18623 echo "configure: warning: wxTooltip not supported yet in wxUNIVERSAL... disabled" 1>&2
18625 cat >> confdefs.h
<<\EOF
18626 #define wxUSE_TOOLTIPS 1
18634 if test "$wxUSE_TREECTRL" = "yes"; then
18635 if test "$wxUSE_IMAGLIST" = "yes"; then
18636 cat >> confdefs.h
<<\EOF
18637 #define wxUSE_TREECTRL 1
18641 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
18643 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
18647 if test "$wxUSE_POPUPWIN" = "yes"; then
18648 if test "$wxUSE_MAC" = 1; then
18649 echo "configure: warning: Popup window not yet supported under Mac OS X... disabled" 1>&2
18651 if test "$wxUSE_MOTIF" = 1; then
18652 echo "configure: warning: wxPopupWindow not yet supported under Motif... disabled" 1>&2
18654 cat >> confdefs.h
<<\EOF
18655 #define wxUSE_POPUPWIN 1
18664 if test "$wxUSE_TIPWINDOW" = "yes"; then
18665 cat >> confdefs.h
<<\EOF
18666 #define wxUSE_TIPWINDOW 1
18671 if test "$USES_CONTROLS" = 1; then
18672 cat >> confdefs.h
<<\EOF
18673 #define wxUSE_CONTROLS 1
18679 if test "$wxUSE_TREELAYOUT" = "yes"; then
18680 cat >> confdefs.h
<<\EOF
18681 #define wxUSE_TREELAYOUT 1
18684 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treelay"
18687 if test "$wxUSE_DRAGIMAGE" = "yes"; then
18688 cat >> confdefs.h
<<\EOF
18689 #define wxUSE_DRAGIMAGE 1
18692 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
18695 if test "$wxUSE_MENUS" = "yes"; then
18696 cat >> confdefs.h
<<\EOF
18697 #define wxUSE_MENUS 1
18700 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
18703 if test "$wxUSE_METAFILE" = "yes"; then
18704 cat >> confdefs.h
<<\EOF
18705 #define wxUSE_METAFILE 1
18710 if test "$wxUSE_MIMETYPE" = "yes"; then
18711 cat >> confdefs.h
<<\EOF
18712 #define wxUSE_MIMETYPE 1
18717 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
18718 cat >> confdefs.h
<<\EOF
18719 #define wxUSE_SYSTEM_OPTIONS 1
18724 if test "$wxUSE_MINIFRAME" = "yes"; then
18725 cat >> confdefs.h
<<\EOF
18726 #define wxUSE_MINIFRAME 1
18729 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
18732 if test "$wxUSE_HTML" = "yes"; then
18733 cat >> confdefs.h
<<\EOF
18734 #define wxUSE_HTML 1
18737 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html"
18740 if test "$wxUSE_VALIDATORS" = "yes"; then
18741 cat >> confdefs.h
<<\EOF
18742 #define wxUSE_VALIDATORS 1
18745 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
18748 if test "$wxUSE_PALETTE" = "yes" ; then
18749 cat >> confdefs.h
<<\EOF
18750 #define wxUSE_PALETTE 1
18755 if test "$wxUSE_IMAGE" = "yes" ; then
18756 cat >> confdefs.h
<<\EOF
18757 #define wxUSE_IMAGE 1
18762 if test "$wxUSE_GIF" = "yes" ; then
18763 cat >> confdefs.h
<<\EOF
18764 #define wxUSE_GIF 1
18769 if test "$wxUSE_PCX" = "yes" ; then
18770 cat >> confdefs.h
<<\EOF
18771 #define wxUSE_PCX 1
18776 if test "$wxUSE_PNM" = "yes" ; then
18777 cat >> confdefs.h
<<\EOF
18778 #define wxUSE_PNM 1
18783 if test "$wxUSE_XPM" = "yes" ; then
18784 cat >> confdefs.h
<<\EOF
18785 #define wxUSE_XPM 1
18791 if test "$wxUSE_CHOICEDLG" = "yes"; then
18792 cat >> confdefs.h
<<\EOF
18793 #define wxUSE_CHOICEDLG 1
18798 if test "$wxUSE_COLOURDLG" = "yes"; then
18799 cat >> confdefs.h
<<\EOF
18800 #define wxUSE_COLOURDLG 1
18805 if test "$wxUSE_FILEDLG" = "yes"; then
18806 cat >> confdefs.h
<<\EOF
18807 #define wxUSE_FILEDLG 1
18812 if test "$wxUSE_FINDREPLDLG" = "yes"; then
18813 cat >> confdefs.h
<<\EOF
18814 #define wxUSE_FINDREPLDLG 1
18819 if test "$wxUSE_FONTDLG" = "yes"; then
18820 cat >> confdefs.h
<<\EOF
18821 #define wxUSE_FONTDLG 1
18826 if test "$wxUSE_DIRDLG" = "yes"; then
18827 if test "$wxUSE_CONSTRAINTS" != "yes"; then
18828 echo "configure: warning: wxDirDialog requires constraints so it won't be compiled without them" 1>&2
18830 if test "$wxUSE_TREECTRL" != "yes"; then
18831 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
18833 cat >> confdefs.h
<<\EOF
18834 #define wxUSE_DIRDLG 1
18841 if test "$wxUSE_MSGDLG" = "yes"; then
18842 cat >> confdefs.h
<<\EOF
18843 #define wxUSE_MSGDLG 1
18848 if test "$wxUSE_NUMBERDLG" = "yes"; then
18849 cat >> confdefs.h
<<\EOF
18850 #define wxUSE_NUMBERDLG 1
18855 if test "$wxUSE_PROGRESSDLG" = "yes"; then
18856 if test "$wxUSE_CONSTRAINTS" != "yes"; then
18857 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
18859 cat >> confdefs.h
<<\EOF
18860 #define wxUSE_PROGRESSDLG 1
18866 if test "$wxUSE_SPLASH" = "yes"; then
18867 cat >> confdefs.h
<<\EOF
18868 #define wxUSE_SPLASH 1
18873 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
18874 if test "$wxUSE_CONSTRAINTS" != "yes"; then
18875 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
18877 cat >> confdefs.h
<<\EOF
18878 #define wxUSE_STARTUP_TIPS 1
18884 if test "$wxUSE_TEXTDLG" = "yes"; then
18885 cat >> confdefs.h
<<\EOF
18886 #define wxUSE_TEXTDLG 1
18891 if test "$wxUSE_WIZARDDLG" = "yes"; then
18892 cat >> confdefs.h
<<\EOF
18893 #define wxUSE_WIZARDDLG 1
18896 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
18900 if test "$cross_compiling" = "yes"; then
18903 OSINFO
=`uname -s -r -m`
18904 OSINFO
="\"$OSINFO\""
18907 cat >> confdefs.h
<<EOF
18908 #define WXWIN_OS_DESCRIPTION $OSINFO
18913 if test "x$prefix" != "xNONE"; then
18916 wxPREFIX
=$ac_default_prefix
18919 cat >> confdefs.h
<<EOF
18920 #define wxINSTALL_PREFIX "$wxPREFIX"
18927 if test "$wxUSE_MAC" = 1 ; then
18928 LDFLAGS
="$LDFLAGS -framework Carbon -framework System"
18932 LIBS
="$ZLIB_LINK$POSIX4_LINK$INET_LINK$WCHAR_LINK$THREADS_LINK$DL_LINK -lm$LIBS"
18934 if test "$wxUSE_GUI" = "yes"; then
18936 LIBS
=" $GUI_TK_LIBRARY$PNG_LINK$JPEG_LINK$TIFF_LINK$FREETYPE_LINK$LIBS"
18939 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS controls dialogs \
18940 drawing dynamic erase event exec font image \
18941 minimal richedit rotate widgets"
18943 CPPFLAGS
="$CPPFLAGS \$(EXTRADEFS) \$(APPEXTRADEFS)"
18945 SAMPLES_SUBDIRS
="console"
18949 INCLUDES
="-I\${top_builddir}/lib/wx/include/${TOOLCHAIN_NAME} -I\${top_srcdir}/include \
18950 $REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \
18951 $FREETYPE_INCLUDE $TOOLKIT_INCLUDE"
18953 if test "$wxUSE_GTK" = 1; then
18956 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
18959 if test "$GXX" = yes ; then
18960 CXXWARNINGS
="-Wall"
18962 if test "$wxUSE_NO_DEPS" = "no" ; then
18963 CFLAGS
="-MMD $CFLAGS"
18964 CXXFLAGS
="-MMD $CXXFLAGS"
18968 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE $INCLUDES"
18970 CFLAGS
=`echo $CFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
18971 CXXFLAGS
=`echo $CXXFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
18973 LDFLAGS
="$LDFLAGS$PROFILE"
18975 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
19061 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
19062 echo "configure:19063: checking whether ${MAKE-make} sets \${MAKE}" >&5
19063 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
19064 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
19065 echo $ac_n "(cached) $ac_c" 1>&6
19067 cat > conftestmake
<<\EOF
19069 @
echo 'ac_maketemp="${MAKE}"'
19071 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
19072 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
19073 if test -n "$ac_maketemp"; then
19074 eval ac_cv_prog_make_
${ac_make}_set
=yes
19076 eval ac_cv_prog_make_
${ac_make}_set
=no
19080 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
19081 echo "$ac_t""yes" 1>&6
19084 echo "$ac_t""no" 1>&6
19085 SET_MAKE
="MAKE=${MAKE-make}"
19089 if test -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
; then
19090 mv -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h setup.h
19095 if test "$wxUSE_GUI" = "yes"; then
19096 wx_cv_path_samplesubdirs
=$SAMPLES_SUBDIRS
19097 wx_cv_path_ifs
=$PATH_IFS
19098 wx_cv_program_ext
=$PROGRAM_EXT
19099 wx_cv_target_library
=$WX_TARGET_LIBRARY
19100 wx_cv_target_library_gl
=$WX_TARGET_LIBRARY_GL
19101 wx_cv_target_libtype
=$WX_TARGET_LIBRARY_TYPE
19102 export wx_cv_path_samplesubdirs wx_cv_path_ifs wx_cv_program_ext \
19103 wx_cv_target_library wx_cv_target_library_gl wx_cv_target_libtype
19104 subdirs
="demos samples utils contrib"
19109 cat > confcache
<<\EOF
19110 # This file is a shell script that caches the results of configure
19111 # tests run on this system so they can be shared between configure
19112 # scripts and configure runs. It is not useful on other systems.
19113 # If it contains results you don't want to keep, you may remove or edit it.
19115 # By default, configure uses ./config.cache as the cache file,
19116 # creating it if it does not exist already. You can give configure
19117 # the --cache-file=FILE option to use a different cache file; that is
19118 # what configure does when it calls configure scripts in
19119 # subdirectories, so they share the cache.
19120 # Giving --cache-file=/dev/null disables caching, for debugging configure.
19121 # config.status only pays attention to the cache file if you give it the
19122 # --recheck option to rerun configure.
19125 # The following way of writing the cache mishandles newlines in values,
19126 # but we know of no workaround that is simple, portable, and efficient.
19127 # So, don't put newlines in cache variables' values.
19128 # Ultrix sh set writes to stderr and can't be redirected directly,
19129 # and sets the high bit in the cache file unless we assign to the vars.
19131 case `(ac_space=' '; set | grep ac_space) 2>&1` in
19133 # `set' does not quote correctly, so add quotes (double-quote substitution
19134 # turns \\\\ into \\, and sed turns \\ into \).
19136 -e "s/'/'\\\\''/g" \
19137 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
19140 # `set' quotes correctly as required by POSIX, so do not add quotes.
19141 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
19144 if cmp -s $cache_file confcache
; then
19147 if test -w $cache_file; then
19148 echo "updating cache $cache_file"
19149 cat confcache
> $cache_file
19151 echo "not updating unwritable cache $cache_file"
19156 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
19158 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
19159 # Let make expand exec_prefix.
19160 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
19162 # Any assignment to VPATH causes Sun make to only execute
19163 # the first set of double-colon rules, so remove it if not needed.
19164 # If there is a colon in the path, we need to keep it.
19165 if test "x$srcdir" = x.
; then
19166 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
19169 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
19171 DEFS
=-DHAVE_CONFIG_H
19173 # Without the "./", some shells look in PATH for config.status.
19174 : ${CONFIG_STATUS=./config.status}
19176 echo creating
$CONFIG_STATUS
19177 rm -f $CONFIG_STATUS
19178 cat > $CONFIG_STATUS <<EOF
19180 # Generated automatically by configure.
19181 # Run this file to recreate the current configuration.
19182 # This directory was configured as follows,
19183 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19185 # $0 $ac_configure_args
19187 # Compiler output produced by configure, useful for debugging
19188 # configure, is in ./config.log if it exists.
19190 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
19193 case "\$ac_option" in
19194 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19195 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
19196 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
19197 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
19198 echo "$CONFIG_STATUS generated by autoconf version 2.13"
19200 -help | --help | --hel | --he | --h)
19201 echo "\$ac_cs_usage"; exit 0 ;;
19202 *) echo "\$ac_cs_usage"; exit 1 ;;
19206 ac_given_srcdir=$srcdir
19207 ac_given_INSTALL="$INSTALL"
19209 trap 'rm -fr `echo "
19215 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
19217 cat >> $CONFIG_STATUS <<EOF
19219 # Protect against being on the right side of a sed subst in config.status.
19220 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
19221 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
19225 s%@CFLAGS@%$CFLAGS%g
19226 s%@CPPFLAGS@%$CPPFLAGS%g
19227 s%@CXXFLAGS@%$CXXFLAGS%g
19228 s%@FFLAGS@%$FFLAGS%g
19230 s%@LDFLAGS@%$LDFLAGS%g
19232 s%@exec_prefix@%$exec_prefix%g
19233 s%@prefix@%$prefix%g
19234 s%@program_transform_name@%$program_transform_name%g
19235 s%@bindir@%$bindir%g
19236 s%@sbindir@%$sbindir%g
19237 s%@libexecdir@%$libexecdir%g
19238 s%@datadir@%$datadir%g
19239 s%@sysconfdir@%$sysconfdir%g
19240 s%@sharedstatedir@%$sharedstatedir%g
19241 s%@localstatedir@%$localstatedir%g
19242 s%@libdir@%$libdir%g
19243 s%@includedir@%$includedir%g
19244 s%@oldincludedir@%$oldincludedir%g
19245 s%@infodir@%$infodir%g
19246 s%@mandir@%$mandir%g
19248 s%@host_alias@%$host_alias%g
19249 s%@host_cpu@%$host_cpu%g
19250 s%@host_vendor@%$host_vendor%g
19251 s%@host_os@%$host_os%g
19252 s%@target@%$target%g
19253 s%@target_alias@%$target_alias%g
19254 s%@target_cpu@%$target_cpu%g
19255 s%@target_vendor@%$target_vendor%g
19256 s%@target_os@%$target_os%g
19258 s%@build_alias@%$build_alias%g
19259 s%@build_cpu@%$build_cpu%g
19260 s%@build_vendor@%$build_vendor%g
19261 s%@build_os@%$build_os%g
19265 s%@RANLIB@%$RANLIB%g
19267 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
19268 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
19269 s%@INSTALL_DATA@%$INSTALL_DATA%g
19273 s%@LEXLIB@%$LEXLIB%g
19275 s%@GTK_CONFIG_2_0@%$GTK_CONFIG_2_0%g
19276 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
19277 s%@GTK_LIBS@%$GTK_LIBS%g
19278 s%@GTK_CONFIG@%$GTK_CONFIG%g
19279 s%@X_CFLAGS@%$X_CFLAGS%g
19280 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
19281 s%@X_LIBS@%$X_LIBS%g
19282 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
19283 s%@RESCOMP@%$RESCOMP%g
19285 s%@CXXCPP@%$CXXCPP%g
19286 s%@LEX_STEM@%$LEX_STEM%g
19287 s%@PATH_IFS@%$PATH_IFS%g
19288 s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
19289 s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
19290 s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
19291 s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
19292 s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
19293 s%@WX_LIBRARY_IMPORTLIB@%$WX_LIBRARY_IMPORTLIB%g
19294 s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
19295 s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
19296 s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
19297 s%@PROGRAM_EXT@%$PROGRAM_EXT%g
19298 s%@WX_LIBRARY_NAME_STATIC_GL@%$WX_LIBRARY_NAME_STATIC_GL%g
19299 s%@WX_LIBRARY_NAME_SHARED_GL@%$WX_LIBRARY_NAME_SHARED_GL%g
19300 s%@WX_TARGET_LIBRARY_GL@%$WX_TARGET_LIBRARY_GL%g
19301 s%@WX_LIBRARY_LINK1_GL@%$WX_LIBRARY_LINK1_GL%g
19302 s%@WX_LIBRARY_LINK2_GL@%$WX_LIBRARY_LINK2_GL%g
19303 s%@WX_ALL@%$WX_ALL%g
19304 s%@WX_ALL_INSTALLED@%$WX_ALL_INSTALLED%g
19305 s%@SHARED_LD@%$SHARED_LD%g
19306 s%@PIC_FLAG@%$PIC_FLAG%g
19307 s%@CODE_GEN_FLAGS@%$CODE_GEN_FLAGS%g
19308 s%@CODE_GEN_FLAGS_CXX@%$CODE_GEN_FLAGS_CXX%g
19309 s%@SONAME_FLAGS@%$SONAME_FLAGS%g
19310 s%@SONAME_FLAGS_GL@%$SONAME_FLAGS_GL%g
19311 s%@WX_TARGET_LIBRARY_SONAME@%$WX_TARGET_LIBRARY_SONAME%g
19312 s%@WX_TARGET_LIBRARY_TYPE@%$WX_TARGET_LIBRARY_TYPE%g
19313 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
19314 s%@USE_GUI@%$USE_GUI%g
19315 s%@AFMINSTALL@%$AFMINSTALL%g
19316 s%@TOOLKIT@%$TOOLKIT%g
19317 s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
19318 s%@TOOLKIT_VPATH@%$TOOLKIT_VPATH%g
19319 s%@TOOLCHAIN_NAME@%$TOOLCHAIN_NAME%g
19320 s%@TOOLCHAIN_DEFS@%$TOOLCHAIN_DEFS%g
19321 s%@TOOLCHAIN_DLL_DEFS@%$TOOLCHAIN_DLL_DEFS%g
19322 s%@cross_compiling@%$cross_compiling%g
19323 s%@WXCONFIG_LIBS@%$WXCONFIG_LIBS%g
19324 s%@WXCONFIG_LIBS_GL@%$WXCONFIG_LIBS_GL%g
19325 s%@WXCONFIG_LIBS_STATIC@%$WXCONFIG_LIBS_STATIC%g
19326 s%@WXCONFIG_LIBS_STATIC_GL@%$WXCONFIG_LIBS_STATIC_GL%g
19327 s%@WXCONFIG_INCLUDE@%$WXCONFIG_INCLUDE%g
19328 s%@ALL_OBJECTS@%$ALL_OBJECTS%g
19329 s%@GUIDIST@%$GUIDIST%g
19330 s%@PORT_FILES@%$PORT_FILES%g
19331 s%@DISTDIR@%$DISTDIR%g
19332 s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
19333 s%@LDFLAGS_GL@%$LDFLAGS_GL%g
19334 s%@OPENGL_LIBS@%$OPENGL_LIBS%g
19335 s%@DMALLOC_LIBS@%$DMALLOC_LIBS%g
19336 s%@EXTRADEFS@%$EXTRADEFS%g
19337 s%@RESFLAGS@%$RESFLAGS%g
19338 s%@RESPROGRAMOBJ@%$RESPROGRAMOBJ%g
19339 s%@WX_RESOURCES_MACOSX@%$WX_RESOURCES_MACOSX%g
19340 s%@WX_RESOURCES_MACOSX_COMPILED@%$WX_RESOURCES_MACOSX_COMPILED%g
19341 s%@LIBWXMACRES@%$LIBWXMACRES%g
19342 s%@LIBWXMACRESCOMP@%$LIBWXMACRESCOMP%g
19343 s%@LIBWXMACRESWXCONFIG@%$LIBWXMACRESWXCONFIG%g
19344 s%@DLLTOOL@%$DLLTOOL%g
19348 s%@MAKEINFO@%$MAKEINFO%g
19349 s%@INSTALL_LIBRARY@%$INSTALL_LIBRARY%g
19350 s%@SET_MAKE@%$SET_MAKE%g
19351 s%@subdirs@%$subdirs%g
19356 cat >> $CONFIG_STATUS <<\EOF
19358 # Split the substitutions into bite-sized pieces for seds with
19359 # small command number limits, like on Digital OSF/1 and HP-UX.
19360 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
19361 ac_file
=1 # Number of current file.
19362 ac_beg
=1 # First line for current file.
19363 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
19366 while $ac_more_lines; do
19367 if test $ac_beg -gt 1; then
19368 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
19370 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
19372 if test ! -s conftest.s
$ac_file; then
19373 ac_more_lines
=false
19374 rm -f conftest.s
$ac_file
19376 if test -z "$ac_sed_cmds"; then
19377 ac_sed_cmds
="sed -f conftest.s$ac_file"
19379 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
19381 ac_file
=`expr $ac_file + 1`
19383 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
19386 if test -z "$ac_sed_cmds"; then
19391 cat >> $CONFIG_STATUS <<EOF
19393 CONFIG_FILES=\${CONFIG_FILES-"wx-config
19400 cat >> $CONFIG_STATUS <<\EOF
19401 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
19402 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
19404 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
19405 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
19406 *) ac_file_in
="${ac_file}.in" ;;
19409 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
19411 # Remove last slash and all that follows it. Not all systems have dirname.
19412 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
19413 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
19414 # The file is in a subdirectory.
19415 test ! -d "$ac_dir" && mkdir "$ac_dir"
19416 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
19417 # A "../" for each directory in $ac_dir_suffix.
19418 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
19420 ac_dir_suffix
= ac_dots
=
19423 case "$ac_given_srcdir" in
19425 if test -z "$ac_dots"; then top_srcdir
=.
19426 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
19427 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
19428 *) # Relative path.
19429 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
19430 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
19433 case "$ac_given_INSTALL" in
19434 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
19435 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
19438 echo creating
"$ac_file"
19440 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
19442 *Makefile
*) ac_comsub
="1i\\
19443 # $configure_input" ;;
19447 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
19449 s%@configure_input@%$configure_input%g
19450 s%@srcdir@%$srcdir%g
19451 s%@top_srcdir@%$top_srcdir%g
19452 s%@INSTALL@%$INSTALL%g
19453 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
19457 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
19458 # NAME is the cpp macro being defined and VALUE is the value it is being given.
19460 # ac_d sets the value in "#define NAME VALUE" lines.
19461 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
19462 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
19465 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
19466 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
19467 ac_uB
='\([ ]\)%\1#\2define\3'
19470 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
19471 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
19472 ac_eB
='$%\1#\2define\3'
19476 if test "${CONFIG_HEADERS+set}" != set; then
19478 cat >> $CONFIG_STATUS <<EOF
19479 CONFIG_HEADERS="setup.h:setup.h.in"
19481 cat >> $CONFIG_STATUS <<\EOF
19483 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
19484 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
19486 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
19487 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
19488 *) ac_file_in
="${ac_file}.in" ;;
19491 echo creating
$ac_file
19493 rm -f conftest.frag conftest.
in conftest.out
19494 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
19495 cat $ac_file_inputs > conftest.
in
19499 # Transform confdefs.h into a sed script conftest.vals that substitutes
19500 # the proper values into config.h.in to produce config.h. And first:
19501 # Protect against being on the right side of a sed subst in config.status.
19502 # Protect against being in an unquoted here document in config.status.
19503 rm -f conftest.vals
19504 cat > conftest.hdr
<<\EOF
19507 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
19511 sed -n -f conftest.hdr confdefs.h > conftest.vals
19514 # This sed command replaces #undef with comments. This is necessary, for
19515 # example, in the case of _POSIX_SOURCE, which is predefined and required
19516 # on some systems where configure will not decide to define it.
19517 cat >> conftest.vals <<\EOF
19518 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
19521 # Break up conftest.vals because some shells have a limit on
19522 # the size of here documents, and old seds have small limits too.
19524 rm -f conftest.tail
19527 ac_lines=`grep -c . conftest.vals
`
19528 # grep -c gives empty output for an empty file on some AIX systems.
19529 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
19530 # Write a limited-size here document to conftest.frag.
19531 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
19532 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
19534 sed -f conftest.frag conftest.in > conftest.out
19536 mv conftest.out conftest.in
19537 ' >> $CONFIG_STATUS
19538 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
19539 rm -f conftest.vals
19540 mv conftest.tail conftest.vals
19542 rm -f conftest.vals
19544 cat >> $CONFIG_STATUS <<\EOF
19545 rm -f conftest.frag conftest.h
19546 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
19547 cat conftest.in >> conftest.h
19549 if cmp -s $ac_file conftest.h 2>/dev/null; then
19550 echo "$ac_file is unchanged"
19553 # Remove last slash and all that follows it. Not all systems have dirname.
19554 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
19555 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
19556 # The file is in a subdirectory.
19557 test ! -d "$ac_dir" && mkdir "$ac_dir"
19560 mv conftest.h $ac_file
19565 cat >> $CONFIG_STATUS <<EOF
19567 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
19572 cat >> $CONFIG_STATUS <<\EOF
19574 if test ! -h wx-config; then
19576 mv wx-config wx${TOOLCHAIN_NAME}-config
19577 ${LN_S} wx${TOOLCHAIN_NAME}-config wx-config
19580 if test ! -d lib; then
19583 if test ! -d lib/wx; then
19586 if test ! -d lib/wx/include; then
19587 mkdir lib/wx/include
19589 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}; then
19590 mkdir lib/wx/include/${TOOLCHAIN_NAME}
19592 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}/wx; then
19593 mkdir lib/wx/include/${TOOLCHAIN_NAME}/wx
19595 if test -f setup.h; then
19596 mv -f setup.h lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h
19601 chmod +x $CONFIG_STATUS
19602 rm -fr confdefs* $ac_clean_files
19603 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
19605 if test "$no_recursion" != yes; then
19607 # Remove --cache-file and --srcdir arguments so they do not pile up.
19608 ac_sub_configure_args=
19610 for ac_arg in $ac_configure_args; do
19611 if test -n "$ac_prev"; then
19616 -cache-file | --cache-file | --cache-fil | --cache-fi \
19617 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
19618 ac_prev=cache_file ;;
19619 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
19620 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
19622 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
19624 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
19626 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
19630 for ac_config_dir in demos samples utils contrib; do
19632 # Do not complain, so a configure script can configure whichever
19633 # parts of a large source tree are present.
19634 if test ! -d $srcdir/$ac_config_dir; then
19638 echo configuring in $ac_config_dir
19643 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
19645 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
19653 # A "../" for each directory in /$ac_config_dir.
19654 ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
19657 .) # No --srcdir option. We are building in place.
19658 ac_sub_srcdir=$srcdir ;;
19659 /*) # Absolute path.
19660 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
19661 *) # Relative path.
19662 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
19665 # Check for guested configure; otherwise get Cygnus style configure.
19666 if test -f $ac_sub_srcdir/configure; then
19667 ac_sub_configure=$ac_sub_srcdir/configure
19668 elif test -f $ac_sub_srcdir/configure.in; then
19669 ac_sub_configure=$ac_configure
19671 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
19675 # The recursion is here.
19676 if test -n "$ac_sub_configure"; then
19678 # Make the cache file name correct relative to the subdirectory.
19679 case "$cache_file" in
19680 /*) ac_sub_cache_file=$cache_file ;;
19681 *) # Relative path.
19682 ac_sub_cache_file="$ac_dots$cache_file" ;;
19684 case "$ac_given_INSTALL" in
19685 [/$]*) INSTALL="$ac_given_INSTALL" ;;
19686 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
19689 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
19690 # The eval makes quoting arguments work.
19691 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
19694 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }