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-mslu use MS Layer for Unicode on Windows 9x (win32 only)"
182 --enable-wxprintfv use wxWindows implementation of vprintf()"
184 --enable-std_iostreams use standard C++ stream classes"
186 --enable-filesystem use virtual file systems classes"
188 --enable-fs_inet use virtual HTTP/FTP filesystems"
190 --enable-fs_zip use virtual ZIP filesystems"
192 --enable-zipstream use wxZipInputStream"
194 --enable-catch_segvs catch signals and pass them to wxApp::OnFatalException"
196 --enable-snglinst use wxSingleInstanceChecker class"
198 --enable-mimetype use wxMimeTypesManager"
200 --enable-sysoptions use wxSystemOptions"
202 --enable-threads use threads"
204 --enable-docview use document view architecture"
206 --enable-help use help subsystem"
208 --enable-mshtmlhelp use MS HTML Help (win32)"
210 --enable-html use wxHTML sub-library"
212 --enable-htmlhelp use wxHTML-based help"
214 --enable-constraints use layout-constraints system"
216 --enable-printarch use printing architecture"
218 --enable-mdi use multiple document interface architecture"
220 --enable-loggui use standard GUI logger"
222 --enable-logwin use wxLogWindow"
224 --enable-logdialog use wxLogDialog"
226 --enable-postscript use wxPostscriptDC device context (default for gtk+)"
228 --enable-prologio use Prolog IO library"
230 --enable-resources use wxWindows resources"
232 --enable-xresources use X resources for save (default for gtk+)"
234 --enable-clipboard use wxClipboard classes"
236 --enable-dnd use Drag'n'Drop classes"
238 --enable-metafile use win32 metafiles"
240 --enable-treelayout use wxTreeLayout classes"
242 --enable-controls use all usual controls"
244 --enable-accel use accelerators"
246 --enable-button use wxButton class"
248 --enable-bmpbutton use wxBitmapButton class"
250 --enable-calendar use wxCalendarCtrl class"
252 --enable-caret use wxCaret class"
254 --enable-checkbox use wxCheckBox class"
256 --enable-checklst use wxCheckListBox (listbox with checkboxes) class"
258 --enable-choice use wxChoice class"
260 --enable-combobox use wxComboBox classes"
262 --enable-gauge use wxGauge class"
264 --enable-grid use wxGrid class"
266 --enable-newgrid use new wxGrid class"
268 --enable-imaglist use wxImageList class"
270 --enable-listbox use wxListBox class"
272 --enable-listctrl use wxListCtrl class"
274 --enable-notebook use wxNotebook class"
276 --enable-propsheet use wxPropertySheet class"
278 --enable-radiobox use wxRadioBox class"
280 --enable-radiobtn use wxRadioButton class"
282 --enable-sash use wxSashWindow class"
284 --enable-scrollbar use wxScrollBar class and scrollable windows"
286 --enable-slider use wxSlider class"
288 --enable-spinbtn use wxSpinButton class"
290 --enable-spinctrl use wxSpinCtrl class"
292 --enable-splitter use wxSplitterWindow class"
294 --enable-statbmp use wxStaticBitmap class"
296 --enable-statbox use wxStaticBox class"
298 --enable-statline use wxStaticLine class"
300 --enable-stattext use wxStaticText class"
302 --enable-statusbar use wxStatusBar class"
304 --enable-tabdialog use wxTabControl class"
306 --enable-textctrl use wxTextCtrl class"
308 --enable-togglebtn use wxToggleButton class"
310 --enable-toolbar use wxToolBar class"
312 --enable-tbarnative use native wxToolBar class"
314 --enable-tbarsmpl use wxToolBarSimple class"
316 --enable-treectrl use wxTreeCtrl class"
318 --enable-tipwindow use wxTipWindow class"
320 --enable-popupwin use wxPopUpWindow class"
322 --enable-commondlg use all common dialogs"
324 --enable-choicedlg use wxChoiceDialog"
326 --enable-coldlg use wxColourDialog"
328 --enable-filedlg use wxFileDialog"
330 --enable-finddlg use wxFindReplaceDialog"
332 --enable-fontdlg use wxFontDialog"
334 --enable-dirdlg use wxDirDialog"
336 --enable-msgdlg use wxMessageDialog"
338 --enable-numberdlg use wxNumberEntryDialog"
340 --enable-splash use wxSplashScreen"
342 --enable-textdlg use wxTextDialog"
344 --enable-tipdlg use startup tips"
346 --enable-progressdlg use wxProgressDialog"
348 --enable-wizarddlg use wxWizard"
350 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes"
352 --enable-miniframe use wxMiniFrame class"
354 --enable-tooltips use wxToolTip class"
356 --enable-splines use spline drawing code"
358 --enable-validators use wxValidator and derived classes"
360 --enable-busyinfo use wxBusyInfo"
362 --enable-joystick use wxJoystick (Linux only)"
364 --enable-metafiles use wxMetaFile (Windows only)"
366 --enable-dragimage use wxDragImage"
368 --enable-palette use wxPalette class"
370 --enable-image use wxImage class"
372 --enable-gif use gif images (GIF file format)"
374 --enable-pcx use pcx images (PCX file format)"
376 --enable-pnm use pnm images (PNM file format)"
378 --enable-xpm use xpm images (XPM file format)"
380 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
382 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
384 --disable-gtktest Do not try to compile and run a test GTK program"
386 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
388 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
390 --disable-gtktest Do not try to compile and run a test GTK program"
392 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
394 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
396 --disable-gtktest Do not try to compile and run a test GTK program"
398 --with-x use the X Window System"
400 # Initialize some variables set by options.
401 # The variables have the same names as the options, with
402 # dashes changed to underlines.
404 cache_file
=.
/config.cache
413 program_transform_name
=s
,x
,x
,
421 bindir
='${exec_prefix}/bin'
422 sbindir
='${exec_prefix}/sbin'
423 libexecdir
='${exec_prefix}/libexec'
424 datadir
='${prefix}/share'
425 sysconfdir
='${prefix}/etc'
426 sharedstatedir
='${prefix}/com'
427 localstatedir
='${prefix}/var'
428 libdir
='${exec_prefix}/lib'
429 includedir
='${prefix}/include'
430 oldincludedir
='/usr/include'
431 infodir
='${prefix}/info'
432 mandir
='${prefix}/man'
434 # Initialize some other variables.
437 SHELL
=${CONFIG_SHELL-/bin/sh}
438 # Maximum number of lines to put in a shell here document.
445 # If the previous option needs an argument, assign it.
446 if test -n "$ac_prev"; then
447 eval "$ac_prev=\$ac_option"
453 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
457 # Accept the important Cygnus configure options, so we can diagnose typos.
461 -bindir | --bindir | --bindi | --bind | --bin | --bi)
463 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
464 bindir
="$ac_optarg" ;;
466 -build | --build | --buil | --bui | --bu)
468 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
469 build
="$ac_optarg" ;;
471 -cache-file | --cache-file | --cache-fil | --cache-fi \
472 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
473 ac_prev
=cache_file
;;
474 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
475 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
476 cache_file
="$ac_optarg" ;;
478 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
480 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
482 datadir
="$ac_optarg" ;;
484 -disable-* | --disable-*)
485 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
486 # Reject names that are not valid shell variable names.
487 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
488 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
490 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
491 eval "enable_${ac_feature}=no" ;;
493 -enable-* | --enable-*)
494 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
495 # Reject names that are not valid shell variable names.
496 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
497 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
499 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
504 eval "enable_${ac_feature}='$ac_optarg'" ;;
506 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
507 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
508 | --exec | --exe | --ex)
509 ac_prev
=exec_prefix
;;
510 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
511 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
512 | --exec=* | --exe=* | --ex=*)
513 exec_prefix
="$ac_optarg" ;;
515 -gas | --gas | --ga | --g)
516 # Obsolete; use --with-gas.
519 -help | --help | --hel | --he)
520 # Omit some internal or obsolete options to make the list less imposing.
521 # This message is too long to be a string in the A/UX 3.1 sh.
523 Usage: configure [options] [host]
524 Options: [defaults in brackets after descriptions]
526 --cache-file=FILE cache test results in FILE
527 --help print this message
528 --no-create do not create output files
529 --quiet, --silent do not print \`checking...' messages
530 --version print the version of autoconf that created configure
531 Directory and file names:
532 --prefix=PREFIX install architecture-independent files in PREFIX
534 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
536 --bindir=DIR user executables in DIR [EPREFIX/bin]
537 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
538 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
539 --datadir=DIR read-only architecture-independent data in DIR
541 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
542 --sharedstatedir=DIR modifiable architecture-independent data in DIR
544 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
545 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
546 --includedir=DIR C header files in DIR [PREFIX/include]
547 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
548 --infodir=DIR info documentation in DIR [PREFIX/info]
549 --mandir=DIR man documentation in DIR [PREFIX/man]
550 --srcdir=DIR find the sources in DIR [configure dir or ..]
551 --program-prefix=PREFIX prepend PREFIX to installed program names
552 --program-suffix=SUFFIX append SUFFIX to installed program names
553 --program-transform-name=PROGRAM
554 run sed PROGRAM on installed program names
558 --build=BUILD configure for building on BUILD [BUILD=HOST]
559 --host=HOST configure for HOST [guessed]
560 --target=TARGET configure for TARGET [TARGET=HOST]
561 Features and packages:
562 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
563 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
564 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
565 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
566 --x-includes=DIR X include files are in DIR
567 --x-libraries=DIR X library files are in DIR
569 if test -n "$ac_help"; then
570 echo "--enable and --with options recognized:$ac_help"
574 -host | --host | --hos | --ho)
576 -host=* | --host=* | --hos=* | --ho=*)
579 -includedir | --includedir | --includedi | --included | --include \
580 | --includ | --inclu | --incl | --inc)
581 ac_prev
=includedir
;;
582 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
583 | --includ=* | --inclu=* | --incl=* | --inc=*)
584 includedir
="$ac_optarg" ;;
586 -infodir | --infodir | --infodi | --infod | --info | --inf)
588 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
589 infodir
="$ac_optarg" ;;
591 -libdir | --libdir | --libdi | --libd)
593 -libdir=* | --libdir=* | --libdi=* | --libd=*)
594 libdir
="$ac_optarg" ;;
596 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
597 | --libexe | --libex | --libe)
598 ac_prev
=libexecdir
;;
599 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
600 | --libexe=* | --libex=* | --libe=*)
601 libexecdir
="$ac_optarg" ;;
603 -localstatedir | --localstatedir | --localstatedi | --localstated \
604 | --localstate | --localstat | --localsta | --localst \
605 | --locals | --local | --loca | --loc | --lo)
606 ac_prev
=localstatedir
;;
607 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
608 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
609 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
610 localstatedir
="$ac_optarg" ;;
612 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
614 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
615 mandir
="$ac_optarg" ;;
618 # Obsolete; use --without-fp.
621 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
625 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
626 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
629 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
630 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
631 | --oldin | --oldi | --old | --ol | --o)
632 ac_prev
=oldincludedir
;;
633 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
634 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
635 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
636 oldincludedir
="$ac_optarg" ;;
638 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
640 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
641 prefix
="$ac_optarg" ;;
643 -program-prefix | --program-prefix | --program-prefi | --program-pref \
644 | --program-pre | --program-pr | --program-p)
645 ac_prev
=program_prefix
;;
646 -program-prefix=* | --program-prefix=* | --program-prefi=* \
647 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
648 program_prefix
="$ac_optarg" ;;
650 -program-suffix | --program-suffix | --program-suffi | --program-suff \
651 | --program-suf | --program-su | --program-s)
652 ac_prev
=program_suffix
;;
653 -program-suffix=* | --program-suffix=* | --program-suffi=* \
654 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
655 program_suffix
="$ac_optarg" ;;
657 -program-transform-name | --program-transform-name \
658 | --program-transform-nam | --program-transform-na \
659 | --program-transform-n | --program-transform- \
660 | --program-transform | --program-transfor \
661 | --program-transfo | --program-transf \
662 | --program-trans | --program-tran \
663 | --progr-tra | --program-tr | --program-t)
664 ac_prev
=program_transform_name
;;
665 -program-transform-name=* | --program-transform-name=* \
666 | --program-transform-nam=* | --program-transform-na=* \
667 | --program-transform-n=* | --program-transform-=* \
668 | --program-transform=* | --program-transfor=* \
669 | --program-transfo=* | --program-transf=* \
670 | --program-trans=* | --program-tran=* \
671 | --progr-tra=* | --program-tr=* | --program-t=*)
672 program_transform_name
="$ac_optarg" ;;
674 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
675 | -silent | --silent | --silen | --sile | --sil)
678 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
680 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
682 sbindir
="$ac_optarg" ;;
684 -sharedstatedir | --sharedstatedir | --sharedstatedi \
685 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
686 | --sharedst | --shareds | --shared | --share | --shar \
688 ac_prev
=sharedstatedir
;;
689 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
690 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
691 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
693 sharedstatedir
="$ac_optarg" ;;
695 -site | --site | --sit)
697 -site=* | --site=* | --sit=*)
700 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
702 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
703 srcdir
="$ac_optarg" ;;
705 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
706 | --syscon | --sysco | --sysc | --sys | --sy)
707 ac_prev
=sysconfdir
;;
708 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
709 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
710 sysconfdir
="$ac_optarg" ;;
712 -target | --target | --targe | --targ | --tar | --ta | --t)
714 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
715 target
="$ac_optarg" ;;
717 -v | -verbose | --verbose | --verbos | --verbo | --verb)
720 -version | --version | --versio | --versi | --vers)
721 echo "configure generated by autoconf version 2.13"
725 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
726 # Reject names that are not valid shell variable names.
727 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
728 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
730 ac_package
=`echo $ac_package| sed 's/-/_/g'`
735 eval "with_${ac_package}='$ac_optarg'" ;;
737 -without-* | --without-*)
738 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
739 # Reject names that are not valid shell variable names.
740 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
741 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
743 ac_package
=`echo $ac_package| sed 's/-/_/g'`
744 eval "with_${ac_package}=no" ;;
747 # Obsolete; use --with-x.
750 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
751 | --x-incl | --x-inc | --x-in | --x-i)
752 ac_prev
=x_includes
;;
753 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
754 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
755 x_includes
="$ac_optarg" ;;
757 -x-libraries | --x-libraries | --x-librarie | --x-librari \
758 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
759 ac_prev
=x_libraries
;;
760 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
761 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
762 x_libraries
="$ac_optarg" ;;
764 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
768 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
769 echo "configure: warning: $ac_option: invalid host type" 1>&2
771 if test "x$nonopt" != xNONE
; then
772 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
780 if test -n "$ac_prev"; then
781 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
784 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
786 # File descriptor usage:
789 # 2 errors and warnings
790 # 3 some systems may open it to /dev/tty
791 # 4 used on the Kubota Titan
792 # 6 checking for... messages and results
793 # 5 compiler messages saved in config.log
794 if test "$silent" = yes; then
802 This file contains any messages produced by compilers while
803 running configure, to aid debugging if configure makes a mistake.
806 # Strip out --no-create and --no-recursion so they do not pile up.
807 # Also quote any args containing shell metacharacters.
812 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
813 | --no-cr | --no-c) ;;
814 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
815 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
816 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
817 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
818 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
823 # Only set these to C if already set. These must not be set unconditionally
824 # because not all systems understand e.g. LANG=C (notably SCO).
825 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
826 # Non-C LC_CTYPE values break the ctype check.
827 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
828 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
829 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
830 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
832 # confdefs.h avoids OS command line length limits that DEFS can exceed.
833 rm -rf conftest
* confdefs.h
834 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
837 # A filename unique to this package, relative to the directory that
838 # configure is in, which we can look for to find out if srcdir is correct.
839 ac_unique_file
=wx
-config.
in
841 # Find the source files, if location was not specified.
842 if test -z "$srcdir"; then
843 ac_srcdir_defaulted
=yes
844 # Try the directory containing this script, then its parent.
846 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
847 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
849 if test ! -r $srcdir/$ac_unique_file; then
853 ac_srcdir_defaulted
=no
855 if test ! -r $srcdir/$ac_unique_file; then
856 if test "$ac_srcdir_defaulted" = yes; then
857 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
859 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
862 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
864 # Prefer explicitly selected file to automatically selected ones.
865 if test -z "$CONFIG_SITE"; then
866 if test "x$prefix" != xNONE
; then
867 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
869 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
872 for ac_site_file
in $CONFIG_SITE; do
873 if test -r "$ac_site_file"; then
874 echo "loading site script $ac_site_file"
879 if test -r "$cache_file"; then
880 echo "loading cache $cache_file"
883 echo "creating cache $cache_file"
888 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
889 ac_cpp
='$CPP $CPPFLAGS'
890 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
891 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
892 cross_compiling
=$ac_cv_prog_cc_cross
896 if (echo "testing\c"; echo 1,2,3) | grep c
>/dev
/null
; then
897 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
898 if (echo -n testing
; echo 1,2,3) | sed s
/-n/xn
/ | grep xn
>/dev
/null
; then
905 ac_n
= ac_c
='\c' ac_t
=
911 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
912 if test -f $ac_dir/install-sh; then
914 ac_install_sh
="$ac_aux_dir/install-sh -c"
916 elif test -f $ac_dir/install.sh
; then
918 ac_install_sh
="$ac_aux_dir/install.sh -c"
922 if test -z "$ac_aux_dir"; then
923 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
925 ac_config_guess
=$ac_aux_dir/config.guess
926 ac_config_sub
=$ac_aux_dir/config.sub
927 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
930 # Do some error checking and defaulting for the host and target type.
932 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
935 # 1. You are not allowed to specify --host, --target, and nonopt at the
937 # 2. Host defaults to nonopt.
938 # 3. If nonopt is not specified, then host defaults to the current host,
939 # as determined by config.guess.
940 # 4. Target and build default to nonopt.
941 # 5. If nonopt is not specified, then target and build default to host.
943 # The aliases save the names the user supplied, while $host etc.
944 # will get canonicalized.
945 case $host---$target---$nonopt in
946 NONE
---*---* | *---NONE---* | *---*---NONE) ;;
947 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
951 # Make sure we can run config.sub.
952 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
953 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
956 echo $ac_n "checking host system type""... $ac_c" 1>&6
957 echo "configure:958: checking host system type" >&5
960 case "$host_alias" in
964 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
965 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
967 *) host_alias
=$nonopt ;;
971 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
972 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
973 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
974 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
975 echo "$ac_t""$host" 1>&6
977 echo $ac_n "checking target system type""... $ac_c" 1>&6
978 echo "configure:979: checking target system type" >&5
981 case "$target_alias" in
984 NONE
) target_alias
=$host_alias ;;
985 *) target_alias
=$nonopt ;;
989 target
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
990 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
991 target_vendor
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
992 target_os
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
993 echo "$ac_t""$target" 1>&6
995 echo $ac_n "checking build system type""... $ac_c" 1>&6
996 echo "configure:997: checking build system type" >&5
999 case "$build_alias" in
1002 NONE
) build_alias
=$host_alias ;;
1003 *) build_alias
=$nonopt ;;
1007 build
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
1008 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1009 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1010 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1011 echo "$ac_t""$build" 1>&6
1013 test "$host_alias" != "$target_alias" &&
1014 test "$program_prefix$program_suffix$program_transform_name" = \
1016 program_prefix
=${target_alias}-
1020 WX_MAJOR_VERSION_NUMBER
=2
1021 WX_MINOR_VERSION_NUMBER
=3
1024 WX_VERSION
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER.
$WX_RELEASE_NUMBER
1025 WX_RELEASE
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER
1027 WX_MSW_VERSION
=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1061 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1063 CPP_MT_FLAG
=-D_REENTRANT
1065 ALL_TOOLKITS
="GTK MAC MGL MICROWIN MOTIF MSW PM WINE"
1070 DEFAULT_wxUSE_MICROWIN
=0
1071 DEFAULT_wxUSE_MOTIF
=0
1074 DEFAULT_wxUSE_WINE
=0
1076 DEFAULT_DEFAULT_wxUSE_GTK
=0
1077 DEFAULT_DEFAULT_wxUSE_MAC
=0
1078 DEFAULT_DEFAULT_wxUSE_MGL
=0
1079 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
1080 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1081 DEFAULT_DEFAULT_wxUSE_MSW
=0
1082 DEFAULT_DEFAULT_wxUSE_PM
=0
1083 DEFAULT_DEFAULT_wxUSE_WINE
=0
1091 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1092 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1094 cat >> confdefs.h
<<\EOF
1101 cat >> confdefs.h
<<\EOF
1106 if test "x$TMP" = "xalpha"; then
1108 cat >> confdefs.h
<<\EOF
1113 DEFAULT_DEFAULT_wxUSE_GTK
=1
1115 *-*-irix5* | *-*-irix6* )
1118 cat >> confdefs.h
<<\EOF
1122 cat >> confdefs.h
<<\EOF
1126 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1132 cat >> confdefs.h
<<\EOF
1136 cat >> confdefs.h
<<\EOF
1137 #define __SOLARIS__ 1
1140 cat >> confdefs.h
<<\EOF
1144 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1145 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1151 cat >> confdefs.h
<<\EOF
1155 cat >> confdefs.h
<<\EOF
1159 cat >> confdefs.h
<<\EOF
1163 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1168 CPP_MT_FLAG
=-D_THREAD_SAFE
1169 cat >> confdefs.h
<<\EOF
1170 #define __FREEBSD__ 1
1173 cat >> confdefs.h
<<\EOF
1177 DEFAULT_DEFAULT_wxUSE_GTK
=1
1182 cat >> confdefs.h
<<\EOF
1183 #define __FREEBSD__ 1
1186 cat >> confdefs.h
<<\EOF
1187 #define __OPENBSD__ 1
1190 DEFAULT_DEFAULT_wxUSE_GTK
=1
1195 cat >> confdefs.h
<<\EOF
1196 #define __FREEBSD__ 1
1199 cat >> confdefs.h
<<\EOF
1200 #define __NETBSD__ 1
1203 DEFAULT_DEFAULT_wxUSE_GTK
=1
1208 cat >> confdefs.h
<<\EOF
1212 cat >> confdefs.h
<<\EOF
1216 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1217 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1222 cat >> confdefs.h
<<\EOF
1226 cat >> confdefs.h
<<\EOF
1230 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1235 cat >> confdefs.h
<<\EOF
1239 cat >> confdefs.h
<<\EOF
1243 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1249 cat >> confdefs.h
<<\EOF
1253 cat >> confdefs.h
<<\EOF
1257 cat >> confdefs.h
<<\EOF
1261 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1264 *-*-cygwin* | *-*-mingw32* )
1268 cat >> confdefs.h
<<\EOF
1272 cat >> confdefs.h
<<\EOF
1276 cat >> confdefs.h
<<\EOF
1277 #define __WINDOWS__ 1
1280 cat >> confdefs.h
<<\EOF
1281 #define __GNUWIN32__ 1
1284 cat >> confdefs.h
<<\EOF
1288 cat >> confdefs.h
<<\EOF
1289 #define WINVER 0x0400
1294 DEFAULT_DEFAULT_wxUSE_MSW
=1
1300 cat >> confdefs.h
<<\EOF
1305 DEFAULT_DEFAULT_wxUSE_MGL
=1
1306 DEFAULT_DEFAULT_wxUSE_SHARED
=0
1309 *-pc-os2_emx | *-pc-os2-emx )
1310 cat >> confdefs.h
<<\EOF
1315 DEFAULT_DEFAULT_wxUSE_PM
=1
1323 cat >> confdefs.h
<<\EOF
1327 cat >> confdefs.h
<<\EOF
1328 #define __DARWIN__ 1
1331 cat >> confdefs.h
<<\EOF
1332 #define __POWERPC__ 1
1335 DEFAULT_DEFAULT_wxUSE_MAC
=1
1340 cat >> confdefs.h
<<\EOF
1347 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
1350 if test "$USE_UNIX" = 1 ; then
1352 cat >> confdefs.h
<<\EOF
1358 if test "$USE_LINUX" = 1; then
1359 echo $ac_n "checking for glibc 2.1 or later""... $ac_c" 1>&6
1360 echo "configure:1361: checking for glibc 2.1 or later" >&5
1361 if eval "test \"`echo '$''{'wx_lib_glibc21'+set}'`\" = set"; then
1362 echo $ac_n "(cached) $ac_c" 1>&6
1365 cat > conftest.
$ac_ext <<EOF
1366 #line 1367 "configure"
1367 #include "confdefs.h"
1368 #include <features.h>
1371 #if !__GLIBC_PREREQ(2, 1)
1377 if { (eval echo configure
:1378: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1383 echo "configure: failed program was:" >&5
1384 cat conftest.
$ac_ext >&5
1395 echo "$ac_t""$wx_lib_glibc21" 1>&6
1396 if test "$wx_lib_glibc21" = "yes"; then
1397 cat >> confdefs.h
<<\EOF
1398 #define wxHAVE_GLIBC2 1
1407 wx_arg_cache_file
="configarg.cache"
1408 echo "loading argument cache $wx_arg_cache_file"
1409 rm -f ${wx_arg_cache_file}.tmp
1410 touch ${wx_arg_cache_file}.tmp
1411 touch ${wx_arg_cache_file}
1415 if test $DEBUG_CONFIGURE = 1; then
1416 DEFAULT_wxUSE_UNIVERSAL
=no
1418 DEFAULT_wxUSE_THREADS
=yes
1420 DEFAULT_wxUSE_SHARED
=yes
1421 DEFAULT_wxUSE_SONAME
=no
1422 DEFAULT_wxUSE_OPTIMISE
=no
1423 DEFAULT_wxUSE_PROFILE
=no
1424 DEFAULT_wxUSE_NO_DEPS
=no
1425 DEFAULT_wxUSE_NO_RTTI
=yes
1426 DEFAULT_wxUSE_NO_EXCEPTIONS
=yes
1427 DEFAULT_wxUSE_PERMISSIVE
=no
1428 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1429 DEFAULT_wxUSE_DEBUG_INFO
=yes
1430 DEFAULT_wxUSE_DEBUG_GDB
=yes
1431 DEFAULT_wxUSE_MEM_TRACING
=no
1432 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1433 DEFAULT_wxUSE_DMALLOC
=no
1434 DEFAULT_wxUSE_PRECOMP
=yes
1435 DEFAULT_wxUSE_APPLE_IEEE
=no
1437 DEFAULT_wxUSE_LOG
=yes
1438 DEFAULT_wxUSE_LOGWINDOW
=no
1439 DEFAULT_wxUSE_LOGGUI
=no
1440 DEFAULT_wxUSE_LOGDIALOG
=no
1442 DEFAULT_wxUSE_GUI
=yes
1443 DEFAULT_wxUSE_CONTROLS
=no
1445 DEFAULT_wxUSE_REGEX
=no
1446 DEFAULT_wxUSE_ZLIB
=no
1447 DEFAULT_wxUSE_LIBPNG
=no
1448 DEFAULT_wxUSE_LIBJPEG
=no
1449 DEFAULT_wxUSE_LIBTIFF
=no
1450 DEFAULT_wxUSE_ODBC
=no
1451 DEFAULT_wxUSE_FREETYPE
=no
1452 DEFAULT_wxUSE_OPENGL
=no
1454 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
1455 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
1456 DEFAULT_wxUSE_STD_IOSTREAM
=no
1457 DEFAULT_wxUSE_CMDLINE_PARSER
=no
1458 DEFAULT_wxUSE_DATETIME
=no
1459 DEFAULT_wxUSE_TIMEDATE
=no
1460 DEFAULT_wxUSE_TIMER
=no
1461 DEFAULT_wxUSE_STOPWATCH
=no
1462 DEFAULT_wxUSE_FILE
=no
1463 DEFAULT_wxUSE_FFILE
=no
1464 DEFAULT_wxUSE_TEXTBUFFER
=no
1465 DEFAULT_wxUSE_TEXTFILE
=no
1466 DEFAULT_wxUSE_WAVE
=no
1467 DEFAULT_wxUSE_INTL
=no
1468 DEFAULT_wxUSE_CONFIG
=no
1469 DEFAULT_wxUSE_FONTMAP
=no
1470 DEFAULT_wxUSE_STREAMS
=no
1471 DEFAULT_wxUSE_SOCKETS
=no
1472 DEFAULT_wxUSE_DIALUP_MANAGER
=no
1473 DEFAULT_wxUSE_JOYSTICK
=no
1474 DEFAULT_wxUSE_DYNLIB_CLASS
=no
1475 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
1476 DEFAULT_wxUSE_LONGLONG
=no
1477 DEFAULT_wxUSE_GEOMETRY
=no
1479 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
1480 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
1481 DEFAULT_wxUSE_POSTSCRIPT
=no
1483 DEFAULT_wxUSE_X_RESOURCES
=no
1484 DEFAULT_wxUSE_CLIPBOARD
=no
1485 DEFAULT_wxUSE_TOOLTIPS
=no
1486 DEFAULT_wxUSE_DRAG_AND_DROP
=no
1487 DEFAULT_wxUSE_DRAGIMAGE
=no
1488 DEFAULT_wxUSE_SPLINES
=no
1490 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
1491 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
1492 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
1494 DEFAULT_wxUSE_PROLOGIO
=no
1495 DEFAULT_wxUSE_RESOURCES
=no
1496 DEFAULT_wxUSE_CONSTRAINTS
=no
1497 DEFAULT_wxUSE_IPC
=no
1498 DEFAULT_wxUSE_HELP
=no
1499 DEFAULT_wxUSE_MS_HTML_HELP
=no
1500 DEFAULT_wxUSE_WXHTML_HELP
=no
1501 DEFAULT_wxUSE_TREELAYOUT
=no
1502 DEFAULT_wxUSE_METAFILE
=no
1503 DEFAULT_wxUSE_MIMETYPE
=no
1504 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
1506 DEFAULT_wxUSE_COMMONDLGS
=no
1507 DEFAULT_wxUSE_CHOICEDLG
=no
1508 DEFAULT_wxUSE_COLOURDLG
=no
1509 DEFAULT_wxUSE_DIRDLG
=no
1510 DEFAULT_wxUSE_FILEDLG
=no
1511 DEFAULT_wxUSE_FINDREPLDLG
=no
1512 DEFAULT_wxUSE_FONTDLG
=no
1513 DEFAULT_wxUSE_MSGDLG
=no
1514 DEFAULT_wxUSE_NUMBERDLG
=no
1515 DEFAULT_wxUSE_TEXTDLG
=no
1516 DEFAULT_wxUSE_SPLASH
=no
1517 DEFAULT_wxUSE_STARTUP_TIPS
=no
1518 DEFAULT_wxUSE_PROGRESSDLG
=no
1519 DEFAULT_wxUSE_WIZARDDLG
=no
1521 DEFAULT_wxUSE_MENUS
=no
1522 DEFAULT_wxUSE_MINIFRAME
=no
1523 DEFAULT_wxUSE_HTML
=no
1524 DEFAULT_wxUSE_FILESYSTEM
=no
1525 DEFAULT_wxUSE_FS_INET
=no
1526 DEFAULT_wxUSE_FS_ZIP
=no
1527 DEFAULT_wxUSE_BUSYINFO
=no
1528 DEFAULT_wxUSE_ZIPSTREAM
=no
1529 DEFAULT_wxUSE_VALIDATORS
=no
1531 DEFAULT_wxUSE_ACCEL
=no
1532 DEFAULT_wxUSE_BUTTON
=no
1533 DEFAULT_wxUSE_BMPBUTTON
=no
1534 DEFAULT_wxUSE_CALCTRL
=no
1535 DEFAULT_wxUSE_CARET
=no
1536 DEFAULT_wxUSE_CHECKBOX
=no
1537 DEFAULT_wxUSE_CHECKLST
=no
1538 DEFAULT_wxUSE_CHOICE
=no
1539 DEFAULT_wxUSE_COMBOBOX
=no
1540 DEFAULT_wxUSE_GAUGE
=no
1541 DEFAULT_wxUSE_GRID
=no
1542 DEFAULT_wxUSE_NEW_GRID
=no
1543 DEFAULT_wxUSE_IMAGLIST
=no
1544 DEFAULT_wxUSE_LISTBOX
=no
1545 DEFAULT_wxUSE_LISTCTRL
=no
1546 DEFAULT_wxUSE_NOTEBOOK
=no
1547 DEFAULT_wxUSE_PROPSHEET
=no
1548 DEFAULT_wxUSE_RADIOBOX
=no
1549 DEFAULT_wxUSE_RADIOBTN
=no
1550 DEFAULT_wxUSE_SASH
=no
1551 DEFAULT_wxUSE_SCROLLBAR
=no
1552 DEFAULT_wxUSE_SLIDER
=no
1553 DEFAULT_wxUSE_SPINBTN
=no
1554 DEFAULT_wxUSE_SPINCTRL
=no
1555 DEFAULT_wxUSE_SPLITTER
=no
1556 DEFAULT_wxUSE_STATBMP
=no
1557 DEFAULT_wxUSE_STATBOX
=no
1558 DEFAULT_wxUSE_STATLINE
=no
1559 DEFAULT_wxUSE_STATTEXT
=no
1560 DEFAULT_wxUSE_STATUSBAR
=yes
1561 DEFAULT_wxUSE_TABDIALOG
=no
1562 DEFAULT_wxUSE_TEXTCTRL
=no
1563 DEFAULT_wxUSE_TOGGLEBTN
=no
1564 DEFAULT_wxUSE_TOOLBAR
=no
1565 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
1566 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
1567 DEFAULT_wxUSE_TREECTRL
=no
1568 DEFAULT_wxUSE_POPUPWIN
=no
1569 DEFAULT_wxUSE_TIPWINDOW
=no
1571 DEFAULT_wxUSE_UNICODE
=no
1572 DEFAULT_wxUSE_UNICODE_MSLU
=no
1573 DEFAULT_wxUSE_WCSRTOMBS
=no
1575 DEFAULT_wxUSE_PALETTE
=no
1576 DEFAULT_wxUSE_IMAGE
=no
1577 DEFAULT_wxUSE_GIF
=no
1578 DEFAULT_wxUSE_PCX
=no
1579 DEFAULT_wxUSE_PNM
=no
1580 DEFAULT_wxUSE_XPM
=no
1582 DEFAULT_wxUSE_UNIVERSAL
=no
1584 DEFAULT_wxUSE_THREADS
=yes
1586 DEFAULT_wxUSE_SHARED
=yes
1587 DEFAULT_wxUSE_SONAME
=no
1588 DEFAULT_wxUSE_OPTIMISE
=yes
1589 DEFAULT_wxUSE_PROFILE
=no
1590 DEFAULT_wxUSE_NO_DEPS
=no
1591 DEFAULT_wxUSE_NO_RTTI
=yes
1592 DEFAULT_wxUSE_NO_EXCEPTIONS
=yes
1593 DEFAULT_wxUSE_PERMISSIVE
=no
1594 DEFAULT_wxUSE_DEBUG_FLAG
=no
1595 DEFAULT_wxUSE_DEBUG_INFO
=no
1596 DEFAULT_wxUSE_DEBUG_GDB
=no
1597 DEFAULT_wxUSE_MEM_TRACING
=no
1598 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1599 DEFAULT_wxUSE_DMALLOC
=no
1600 DEFAULT_wxUSE_PRECOMP
=yes
1601 DEFAULT_wxUSE_APPLE_IEEE
=yes
1603 DEFAULT_wxUSE_LOG
=yes
1604 DEFAULT_wxUSE_LOGWINDOW
=yes
1605 DEFAULT_wxUSE_LOGGUI
=yes
1606 DEFAULT_wxUSE_LOGDIALOG
=yes
1608 DEFAULT_wxUSE_GUI
=yes
1610 DEFAULT_wxUSE_REGEX
=yes
1611 DEFAULT_wxUSE_ZLIB
=yes
1612 DEFAULT_wxUSE_LIBPNG
=yes
1613 DEFAULT_wxUSE_LIBJPEG
=yes
1614 DEFAULT_wxUSE_LIBTIFF
=yes
1615 DEFAULT_wxUSE_ODBC
=no
1616 DEFAULT_wxUSE_FREETYPE
=no
1617 DEFAULT_wxUSE_OPENGL
=no
1619 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
1620 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
1621 DEFAULT_wxUSE_STD_IOSTREAM
=no
1622 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
1623 DEFAULT_wxUSE_DATETIME
=yes
1624 DEFAULT_wxUSE_TIMEDATE
=no
1625 DEFAULT_wxUSE_TIMER
=yes
1626 DEFAULT_wxUSE_STOPWATCH
=yes
1627 DEFAULT_wxUSE_FILE
=yes
1628 DEFAULT_wxUSE_FFILE
=yes
1629 DEFAULT_wxUSE_TEXTBUFFER
=yes
1630 DEFAULT_wxUSE_TEXTFILE
=yes
1631 DEFAULT_wxUSE_WAVE
=no
1632 DEFAULT_wxUSE_INTL
=yes
1633 DEFAULT_wxUSE_CONFIG
=yes
1634 DEFAULT_wxUSE_FONTMAP
=yes
1635 DEFAULT_wxUSE_STREAMS
=yes
1636 DEFAULT_wxUSE_SOCKETS
=yes
1637 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
1638 DEFAULT_wxUSE_JOYSTICK
=yes
1639 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
1640 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
1641 DEFAULT_wxUSE_LONGLONG
=yes
1642 DEFAULT_wxUSE_GEOMETRY
=yes
1644 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
1645 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
1646 DEFAULT_wxUSE_POSTSCRIPT
=yes
1648 DEFAULT_wxUSE_X_RESOURCES
=no
1649 DEFAULT_wxUSE_CLIPBOARD
=yes
1650 DEFAULT_wxUSE_TOOLTIPS
=yes
1651 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
1652 DEFAULT_wxUSE_DRAGIMAGE
=yes
1653 DEFAULT_wxUSE_SPLINES
=yes
1655 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
1656 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
1657 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
1659 DEFAULT_wxUSE_PROLOGIO
=yes
1660 DEFAULT_wxUSE_RESOURCES
=yes
1661 DEFAULT_wxUSE_CONSTRAINTS
=yes
1662 DEFAULT_wxUSE_IPC
=yes
1663 DEFAULT_wxUSE_HELP
=yes
1664 DEFAULT_wxUSE_MS_HTML_HELP
=yes
1665 DEFAULT_wxUSE_WXHTML_HELP
=yes
1666 DEFAULT_wxUSE_TREELAYOUT
=yes
1667 DEFAULT_wxUSE_METAFILE
=yes
1668 DEFAULT_wxUSE_MIMETYPE
=yes
1669 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
1671 DEFAULT_wxUSE_COMMONDLGS
=yes
1672 DEFAULT_wxUSE_CHOICEDLG
=yes
1673 DEFAULT_wxUSE_COLOURDLG
=yes
1674 DEFAULT_wxUSE_DIRDLG
=yes
1675 DEFAULT_wxUSE_FILEDLG
=yes
1676 DEFAULT_wxUSE_FINDREPLDLG
=yes
1677 DEFAULT_wxUSE_FONTDLG
=yes
1678 DEFAULT_wxUSE_MSGDLG
=yes
1679 DEFAULT_wxUSE_NUMBERDLG
=yes
1680 DEFAULT_wxUSE_TEXTDLG
=yes
1681 DEFAULT_wxUSE_SPLASH
=yes
1682 DEFAULT_wxUSE_STARTUP_TIPS
=yes
1683 DEFAULT_wxUSE_PROGRESSDLG
=yes
1684 DEFAULT_wxUSE_WIZARDDLG
=yes
1686 DEFAULT_wxUSE_MENUS
=yes
1687 DEFAULT_wxUSE_MINIFRAME
=yes
1688 DEFAULT_wxUSE_HTML
=yes
1689 DEFAULT_wxUSE_FILESYSTEM
=yes
1690 DEFAULT_wxUSE_FS_INET
=yes
1691 DEFAULT_wxUSE_FS_ZIP
=yes
1692 DEFAULT_wxUSE_BUSYINFO
=yes
1693 DEFAULT_wxUSE_ZIPSTREAM
=yes
1694 DEFAULT_wxUSE_VALIDATORS
=yes
1696 DEFAULT_wxUSE_ACCEL
=yes
1697 DEFAULT_wxUSE_BUTTON
=yes
1698 DEFAULT_wxUSE_BMPBUTTON
=yes
1699 DEFAULT_wxUSE_CALCTRL
=yes
1700 DEFAULT_wxUSE_CARET
=yes
1701 DEFAULT_wxUSE_CHECKBOX
=yes
1702 DEFAULT_wxUSE_CHECKLST
=yes
1703 DEFAULT_wxUSE_CHOICE
=yes
1704 DEFAULT_wxUSE_COMBOBOX
=yes
1705 DEFAULT_wxUSE_GAUGE
=yes
1706 DEFAULT_wxUSE_GRID
=yes
1707 DEFAULT_wxUSE_NEW_GRID
=yes
1708 DEFAULT_wxUSE_IMAGLIST
=yes
1709 DEFAULT_wxUSE_LISTBOX
=yes
1710 DEFAULT_wxUSE_LISTCTRL
=yes
1711 DEFAULT_wxUSE_NOTEBOOK
=yes
1712 DEFAULT_wxUSE_PROPSHEET
=yes
1713 DEFAULT_wxUSE_RADIOBOX
=yes
1714 DEFAULT_wxUSE_RADIOBTN
=yes
1715 DEFAULT_wxUSE_SASH
=yes
1716 DEFAULT_wxUSE_SCROLLBAR
=yes
1717 DEFAULT_wxUSE_SLIDER
=yes
1718 DEFAULT_wxUSE_SPINBTN
=yes
1719 DEFAULT_wxUSE_SPINCTRL
=yes
1720 DEFAULT_wxUSE_SPLITTER
=yes
1721 DEFAULT_wxUSE_STATBMP
=yes
1722 DEFAULT_wxUSE_STATBOX
=yes
1723 DEFAULT_wxUSE_STATLINE
=yes
1724 DEFAULT_wxUSE_STATTEXT
=yes
1725 DEFAULT_wxUSE_STATUSBAR
=yes
1726 DEFAULT_wxUSE_TABDIALOG
=no
1727 DEFAULT_wxUSE_TEXTCTRL
=yes
1728 DEFAULT_wxUSE_TOGGLEBTN
=yes
1729 DEFAULT_wxUSE_TOOLBAR
=yes
1730 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
1731 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
1732 DEFAULT_wxUSE_TREECTRL
=yes
1733 DEFAULT_wxUSE_POPUPWIN
=yes
1734 DEFAULT_wxUSE_TIPWINDOW
=yes
1736 DEFAULT_wxUSE_UNICODE
=no
1737 DEFAULT_wxUSE_UNICODE_MSLU
=yes
1738 DEFAULT_wxUSE_WCSRTOMBS
=no
1740 DEFAULT_wxUSE_PALETTE
=yes
1741 DEFAULT_wxUSE_IMAGE
=yes
1742 DEFAULT_wxUSE_GIF
=yes
1743 DEFAULT_wxUSE_PCX
=yes
1744 DEFAULT_wxUSE_PNM
=yes
1745 DEFAULT_wxUSE_XPM
=yes
1750 for toolkit
in `echo $ALL_TOOLKITS`; do
1751 LINE
=`grep "wxUSE_$toolkit" ${wx_arg_cache_file}`
1752 if test "x$LINE" != x
; then
1753 has_toolkit_in_cache
=1
1754 eval "DEFAULT_$LINE"
1755 eval "CACHE_$toolkit=1"
1761 echo $ac_n "checking for --enable-gui""... $ac_c" 1>&6
1762 echo "configure:1763: checking for --enable-gui" >&5
1764 # Check whether --enable-gui or --disable-gui was given.
1765 if test "${enable_gui+set}" = set; then
1766 enableval
="$enable_gui"
1768 if test "$enableval" = yes; then
1769 ac_cv_use_gui
='wxUSE_GUI=yes'
1771 ac_cv_use_gui
='wxUSE_GUI=no'
1776 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
1777 if test "x$LINE" != x
; then
1778 eval "DEFAULT_$LINE"
1783 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
1788 eval "$ac_cv_use_gui"
1789 if test "$no_cache" != 1; then
1790 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
1793 if test "$wxUSE_GUI" = yes; then
1794 echo "$ac_t""yes" 1>&6
1796 echo "$ac_t""no" 1>&6
1800 if test "$wxUSE_GUI" = "yes"; then
1803 echo $ac_n "checking for --enable-universal""... $ac_c" 1>&6
1804 echo "configure:1805: checking for --enable-universal" >&5
1806 # Check whether --enable-universal or --disable-universal was given.
1807 if test "${enable_universal+set}" = set; then
1808 enableval
="$enable_universal"
1810 if test "$enableval" = yes; then
1811 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
1813 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
1818 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
1819 if test "x$LINE" != x
; then
1820 eval "DEFAULT_$LINE"
1825 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
1830 eval "$ac_cv_use_universal"
1831 if test "$no_cache" != 1; then
1832 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
1835 if test "$wxUSE_UNIVERSAL" = yes; then
1836 echo "$ac_t""yes" 1>&6
1838 echo "$ac_t""no" 1>&6
1841 # Check whether --with-gtk or --without-gtk was given.
1842 if test "${with_gtk+set}" = set; then
1844 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
1847 # Check whether --with-motif or --without-motif was given.
1848 if test "${with_motif+set}" = set; then
1849 withval
="$with_motif"
1850 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
1853 # Check whether --with-mac or --without-mac was given.
1854 if test "${with_mac+set}" = set; then
1856 wxUSE_MAC
="$withval" TOOLKIT_GIVEN
=1
1859 # Check whether --with-wine or --without-wine was given.
1860 if test "${with_wine+set}" = set; then
1861 withval
="$with_wine"
1862 wxUSE_WINE
="$withval" CACHE_WINE
=1 TOOLKIT_GIVEN
=1
1865 # Check whether --with-msw or --without-msw was given.
1866 if test "${with_msw+set}" = set; then
1868 wxUSE_MSW
="$withval" CACHE_MSW TOOLKIT_GIVEN
=1
1871 # Check whether --with-pm or --without-pm was given.
1872 if test "${with_pm+set}" = set; then
1874 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
1877 # Check whether --with-mgl or --without-mgl was given.
1878 if test "${with_mgl+set}" = set; then
1880 wxUSE_MGL
="$withval" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
1883 # Check whether --with-microwin or --without-microwin was given.
1884 if test "${with_microwin+set}" = set; then
1885 withval
="$with_microwin"
1886 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
1890 # Check whether --enable-gtk2 or --disable-gtk2 was given.
1891 if test "${enable_gtk2+set}" = set; then
1892 enableval
="$enable_gtk2"
1900 echo $ac_n "checking for --with-libpng""... $ac_c" 1>&6
1901 echo "configure:1902: checking for --with-libpng" >&5
1903 # Check whether --with-libpng or --without-libpng was given.
1904 if test "${with_libpng+set}" = set; then
1905 withval
="$with_libpng"
1907 if test "$withval" = yes; then
1908 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
1909 elif test "$withval" = no
; then
1910 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
1911 elif test "$withval" = sys
; then
1912 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
1913 elif test "$withval" = builtin; then
1914 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
1916 { echo "configure: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" 1>&2; exit 1; }
1921 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
1922 if test "x$LINE" != x
; then
1923 eval "DEFAULT_$LINE"
1928 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
1933 eval "$ac_cv_use_libpng"
1934 if test "$no_cache" != 1; then
1935 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
1938 if test "$wxUSE_LIBPNG" = yes; then
1939 echo "$ac_t""yes" 1>&6
1940 elif test "$wxUSE_LIBPNG" = no
; then
1941 echo "$ac_t""no" 1>&6
1942 elif test "$wxUSE_LIBPNG" = sys
; then
1943 echo "$ac_t""system version" 1>&6
1944 elif test "$wxUSE_LIBPNG" = builtin; then
1945 echo "$ac_t""builtin version" 1>&6
1947 { echo "configure: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" 1>&2; exit 1; }
1951 echo $ac_n "checking for --with-libjpeg""... $ac_c" 1>&6
1952 echo "configure:1953: checking for --with-libjpeg" >&5
1954 # Check whether --with-libjpeg or --without-libjpeg was given.
1955 if test "${with_libjpeg+set}" = set; then
1956 withval
="$with_libjpeg"
1958 if test "$withval" = yes; then
1959 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
1960 elif test "$withval" = no
; then
1961 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
1962 elif test "$withval" = sys
; then
1963 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
1964 elif test "$withval" = builtin; then
1965 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
1967 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" 1>&2; exit 1; }
1972 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
1973 if test "x$LINE" != x
; then
1974 eval "DEFAULT_$LINE"
1979 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
1984 eval "$ac_cv_use_libjpeg"
1985 if test "$no_cache" != 1; then
1986 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
1989 if test "$wxUSE_LIBJPEG" = yes; then
1990 echo "$ac_t""yes" 1>&6
1991 elif test "$wxUSE_LIBJPEG" = no
; then
1992 echo "$ac_t""no" 1>&6
1993 elif test "$wxUSE_LIBJPEG" = sys
; then
1994 echo "$ac_t""system version" 1>&6
1995 elif test "$wxUSE_LIBJPEG" = builtin; then
1996 echo "$ac_t""builtin version" 1>&6
1998 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2002 echo $ac_n "checking for --with-libtiff""... $ac_c" 1>&6
2003 echo "configure:2004: checking for --with-libtiff" >&5
2005 # Check whether --with-libtiff or --without-libtiff was given.
2006 if test "${with_libtiff+set}" = set; then
2007 withval
="$with_libtiff"
2009 if test "$withval" = yes; then
2010 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
2011 elif test "$withval" = no
; then
2012 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
2013 elif test "$withval" = sys
; then
2014 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
2015 elif test "$withval" = builtin; then
2016 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
2018 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2023 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2024 if test "x$LINE" != x
; then
2025 eval "DEFAULT_$LINE"
2030 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2035 eval "$ac_cv_use_libtiff"
2036 if test "$no_cache" != 1; then
2037 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2040 if test "$wxUSE_LIBTIFF" = yes; then
2041 echo "$ac_t""yes" 1>&6
2042 elif test "$wxUSE_LIBTIFF" = no
; then
2043 echo "$ac_t""no" 1>&6
2044 elif test "$wxUSE_LIBTIFF" = sys
; then
2045 echo "$ac_t""system version" 1>&6
2046 elif test "$wxUSE_LIBTIFF" = builtin; then
2047 echo "$ac_t""builtin version" 1>&6
2049 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2053 echo $ac_n "checking for --with-freetype""... $ac_c" 1>&6
2054 echo "configure:2055: checking for --with-freetype" >&5
2056 # Check whether --with-freetype or --without-freetype was given.
2057 if test "${with_freetype+set}" = set; then
2058 withval
="$with_freetype"
2060 if test "$withval" = yes; then
2061 ac_cv_use_freetype
='wxUSE_FREETYPE=yes'
2062 elif test "$withval" = no
; then
2063 ac_cv_use_freetype
='wxUSE_FREETYPE=no'
2064 elif test "$withval" = sys
; then
2065 ac_cv_use_freetype
='wxUSE_FREETYPE=sys'
2066 elif test "$withval" = builtin; then
2067 ac_cv_use_freetype
='wxUSE_FREETYPE=builtin'
2069 { echo "configure: error: Invalid value for --with-freetype: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2074 LINE
=`grep "wxUSE_FREETYPE" ${wx_arg_cache_file}`
2075 if test "x$LINE" != x
; then
2076 eval "DEFAULT_$LINE"
2081 ac_cv_use_freetype
='wxUSE_FREETYPE='$DEFAULT_wxUSE_FREETYPE
2086 eval "$ac_cv_use_freetype"
2087 if test "$no_cache" != 1; then
2088 echo $ac_cv_use_freetype >> ${wx_arg_cache_file}.tmp
2091 if test "$wxUSE_FREETYPE" = yes; then
2092 echo "$ac_t""yes" 1>&6
2093 elif test "$wxUSE_FREETYPE" = no
; then
2094 echo "$ac_t""no" 1>&6
2095 elif test "$wxUSE_FREETYPE" = sys
; then
2096 echo "$ac_t""system version" 1>&6
2097 elif test "$wxUSE_FREETYPE" = builtin; then
2098 echo "$ac_t""builtin version" 1>&6
2100 { echo "configure: error: Invalid value for --with-freetype: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2104 echo $ac_n "checking for --with-opengl""... $ac_c" 1>&6
2105 echo "configure:2106: checking for --with-opengl" >&5
2107 # Check whether --with-opengl or --without-opengl was given.
2108 if test "${with_opengl+set}" = set; then
2109 withval
="$with_opengl"
2111 if test "$withval" = yes; then
2112 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
2114 ac_cv_use_opengl
='wxUSE_OPENGL=no'
2119 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2120 if test "x$LINE" != x
; then
2121 eval "DEFAULT_$LINE"
2126 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
2131 eval "$ac_cv_use_opengl"
2132 if test "$no_cache" != 1; then
2133 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2136 if test "$wxUSE_OPENGL" = yes; then
2137 echo "$ac_t""yes" 1>&6
2139 echo "$ac_t""no" 1>&6
2146 echo $ac_n "checking for --with-dmalloc""... $ac_c" 1>&6
2147 echo "configure:2148: checking for --with-dmalloc" >&5
2149 # Check whether --with-dmalloc or --without-dmalloc was given.
2150 if test "${with_dmalloc+set}" = set; then
2151 withval
="$with_dmalloc"
2153 if test "$withval" = yes; then
2154 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
2156 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
2161 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2162 if test "x$LINE" != x
; then
2163 eval "DEFAULT_$LINE"
2168 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
2173 eval "$ac_cv_use_dmalloc"
2174 if test "$no_cache" != 1; then
2175 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2178 if test "$wxUSE_DMALLOC" = yes; then
2179 echo "$ac_t""yes" 1>&6
2181 echo "$ac_t""no" 1>&6
2185 echo $ac_n "checking for --with-regex""... $ac_c" 1>&6
2186 echo "configure:2187: checking for --with-regex" >&5
2188 # Check whether --with-regex or --without-regex was given.
2189 if test "${with_regex+set}" = set; then
2190 withval
="$with_regex"
2192 if test "$withval" = yes; then
2193 ac_cv_use_regex
='wxUSE_REGEX=yes'
2194 elif test "$withval" = no
; then
2195 ac_cv_use_regex
='wxUSE_REGEX=no'
2196 elif test "$withval" = sys
; then
2197 ac_cv_use_regex
='wxUSE_REGEX=sys'
2198 elif test "$withval" = builtin; then
2199 ac_cv_use_regex
='wxUSE_REGEX=builtin'
2201 { echo "configure: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2206 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
2207 if test "x$LINE" != x
; then
2208 eval "DEFAULT_$LINE"
2213 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
2218 eval "$ac_cv_use_regex"
2219 if test "$no_cache" != 1; then
2220 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
2223 if test "$wxUSE_REGEX" = yes; then
2224 echo "$ac_t""yes" 1>&6
2225 elif test "$wxUSE_REGEX" = no
; then
2226 echo "$ac_t""no" 1>&6
2227 elif test "$wxUSE_REGEX" = sys
; then
2228 echo "$ac_t""system version" 1>&6
2229 elif test "$wxUSE_REGEX" = builtin; then
2230 echo "$ac_t""builtin version" 1>&6
2232 { echo "configure: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2236 echo $ac_n "checking for --with-zlib""... $ac_c" 1>&6
2237 echo "configure:2238: checking for --with-zlib" >&5
2239 # Check whether --with-zlib or --without-zlib was given.
2240 if test "${with_zlib+set}" = set; then
2241 withval
="$with_zlib"
2243 if test "$withval" = yes; then
2244 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
2245 elif test "$withval" = no
; then
2246 ac_cv_use_zlib
='wxUSE_ZLIB=no'
2247 elif test "$withval" = sys
; then
2248 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
2249 elif test "$withval" = builtin; then
2250 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
2252 { echo "configure: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2257 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2258 if test "x$LINE" != x
; then
2259 eval "DEFAULT_$LINE"
2264 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
2269 eval "$ac_cv_use_zlib"
2270 if test "$no_cache" != 1; then
2271 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2274 if test "$wxUSE_ZLIB" = yes; then
2275 echo "$ac_t""yes" 1>&6
2276 elif test "$wxUSE_ZLIB" = no
; then
2277 echo "$ac_t""no" 1>&6
2278 elif test "$wxUSE_ZLIB" = sys
; then
2279 echo "$ac_t""system version" 1>&6
2280 elif test "$wxUSE_ZLIB" = builtin; then
2281 echo "$ac_t""builtin version" 1>&6
2283 { echo "configure: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2287 echo $ac_n "checking for --with-odbc""... $ac_c" 1>&6
2288 echo "configure:2289: checking for --with-odbc" >&5
2290 # Check whether --with-odbc or --without-odbc was given.
2291 if test "${with_odbc+set}" = set; then
2292 withval
="$with_odbc"
2294 if test "$withval" = yes; then
2295 ac_cv_use_odbc
='wxUSE_ODBC=yes'
2297 ac_cv_use_odbc
='wxUSE_ODBC=no'
2302 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
2303 if test "x$LINE" != x
; then
2304 eval "DEFAULT_$LINE"
2309 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
2314 eval "$ac_cv_use_odbc"
2315 if test "$no_cache" != 1; then
2316 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
2319 if test "$wxUSE_ODBC" = yes; then
2320 echo "$ac_t""yes" 1>&6
2322 echo "$ac_t""no" 1>&6
2328 echo $ac_n "checking for --enable-shared""... $ac_c" 1>&6
2329 echo "configure:2330: checking for --enable-shared" >&5
2331 # Check whether --enable-shared or --disable-shared was given.
2332 if test "${enable_shared+set}" = set; then
2333 enableval
="$enable_shared"
2335 if test "$enableval" = yes; then
2336 ac_cv_use_shared
='wxUSE_SHARED=yes'
2338 ac_cv_use_shared
='wxUSE_SHARED=no'
2343 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
2344 if test "x$LINE" != x
; then
2345 eval "DEFAULT_$LINE"
2350 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
2355 eval "$ac_cv_use_shared"
2356 if test "$no_cache" != 1; then
2357 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
2360 if test "$wxUSE_SHARED" = yes; then
2361 echo "$ac_t""yes" 1>&6
2363 echo "$ac_t""no" 1>&6
2367 echo $ac_n "checking for --enable-soname""... $ac_c" 1>&6
2368 echo "configure:2369: checking for --enable-soname" >&5
2370 # Check whether --enable-soname or --disable-soname was given.
2371 if test "${enable_soname+set}" = set; then
2372 enableval
="$enable_soname"
2374 if test "$enableval" = yes; then
2375 ac_cv_use_soname
='wxUSE_SONAME=yes'
2377 ac_cv_use_soname
='wxUSE_SONAME=no'
2382 LINE
=`grep "wxUSE_SONAME" ${wx_arg_cache_file}`
2383 if test "x$LINE" != x
; then
2384 eval "DEFAULT_$LINE"
2389 ac_cv_use_soname
='wxUSE_SONAME='$DEFAULT_wxUSE_SONAME
2394 eval "$ac_cv_use_soname"
2395 if test "$no_cache" != 1; then
2396 echo $ac_cv_use_soname >> ${wx_arg_cache_file}.tmp
2399 if test "$wxUSE_SONAME" = yes; then
2400 echo "$ac_t""yes" 1>&6
2402 echo "$ac_t""no" 1>&6
2406 echo $ac_n "checking for --enable-optimise""... $ac_c" 1>&6
2407 echo "configure:2408: checking for --enable-optimise" >&5
2409 # Check whether --enable-optimise or --disable-optimise was given.
2410 if test "${enable_optimise+set}" = set; then
2411 enableval
="$enable_optimise"
2413 if test "$enableval" = yes; then
2414 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
2416 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
2421 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
2422 if test "x$LINE" != x
; then
2423 eval "DEFAULT_$LINE"
2428 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
2433 eval "$ac_cv_use_optimise"
2434 if test "$no_cache" != 1; then
2435 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
2438 if test "$wxUSE_OPTIMISE" = yes; then
2439 echo "$ac_t""yes" 1>&6
2441 echo "$ac_t""no" 1>&6
2445 echo $ac_n "checking for --enable-debug""... $ac_c" 1>&6
2446 echo "configure:2447: checking for --enable-debug" >&5
2448 # Check whether --enable-debug or --disable-debug was given.
2449 if test "${enable_debug+set}" = set; then
2450 enableval
="$enable_debug"
2452 if test "$enableval" = yes; then
2453 ac_cv_use_debug
='wxUSE_DEBUG=yes'
2455 ac_cv_use_debug
='wxUSE_DEBUG=no'
2460 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
2461 if test "x$LINE" != x
; then
2462 eval "DEFAULT_$LINE"
2467 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
2472 eval "$ac_cv_use_debug"
2473 if test "$no_cache" != 1; then
2474 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
2477 if test "$wxUSE_DEBUG" = yes; then
2478 echo "$ac_t""yes" 1>&6
2480 echo "$ac_t""no" 1>&6
2485 echo $ac_n "checking for --enable-precomp""... $ac_c" 1>&6
2486 echo "configure:2487: checking for --enable-precomp" >&5
2488 # Check whether --enable-precomp or --disable-precomp was given.
2489 if test "${enable_precomp+set}" = set; then
2490 enableval
="$enable_precomp"
2492 if test "$enableval" = yes; then
2493 ac_cv_use_precomp
='wxUSE_PRECOMP=yes'
2495 ac_cv_use_precomp
='wxUSE_PRECOMP=no'
2500 LINE
=`grep "wxUSE_PRECOMP" ${wx_arg_cache_file}`
2501 if test "x$LINE" != x
; then
2502 eval "DEFAULT_$LINE"
2507 ac_cv_use_precomp
='wxUSE_PRECOMP='$DEFAULT_wxUSE_PRECOMP
2512 eval "$ac_cv_use_precomp"
2513 if test "$no_cache" != 1; then
2514 echo $ac_cv_use_precomp >> ${wx_arg_cache_file}.tmp
2517 if test "$wxUSE_PRECOMP" = yes; then
2518 echo "$ac_t""yes" 1>&6
2520 echo "$ac_t""no" 1>&6
2524 if test "$wxUSE_DEBUG" = "yes"; then
2525 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2526 DEFAULT_wxUSE_DEBUG_INFO
=yes
2527 elif test "$wxUSE_DEBUG" = "no"; then
2528 DEFAULT_wxUSE_DEBUG_FLAG
=no
2529 DEFAULT_wxUSE_DEBUG_INFO
=no
2533 echo $ac_n "checking for --enable-debug_flag""... $ac_c" 1>&6
2534 echo "configure:2535: checking for --enable-debug_flag" >&5
2536 # Check whether --enable-debug_flag or --disable-debug_flag was given.
2537 if test "${enable_debug_flag+set}" = set; then
2538 enableval
="$enable_debug_flag"
2540 if test "$enableval" = yes; then
2541 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
2543 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
2548 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
2549 if test "x$LINE" != x
; then
2550 eval "DEFAULT_$LINE"
2555 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
2560 eval "$ac_cv_use_debug_flag"
2561 if test "$no_cache" != 1; then
2562 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
2565 if test "$wxUSE_DEBUG_FLAG" = yes; then
2566 echo "$ac_t""yes" 1>&6
2568 echo "$ac_t""no" 1>&6
2572 echo $ac_n "checking for --enable-debug_info""... $ac_c" 1>&6
2573 echo "configure:2574: checking for --enable-debug_info" >&5
2575 # Check whether --enable-debug_info or --disable-debug_info was given.
2576 if test "${enable_debug_info+set}" = set; then
2577 enableval
="$enable_debug_info"
2579 if test "$enableval" = yes; then
2580 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
2582 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
2587 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
2588 if test "x$LINE" != x
; then
2589 eval "DEFAULT_$LINE"
2594 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
2599 eval "$ac_cv_use_debug_info"
2600 if test "$no_cache" != 1; then
2601 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
2604 if test "$wxUSE_DEBUG_INFO" = yes; then
2605 echo "$ac_t""yes" 1>&6
2607 echo "$ac_t""no" 1>&6
2611 echo $ac_n "checking for --enable-debug_gdb""... $ac_c" 1>&6
2612 echo "configure:2613: checking for --enable-debug_gdb" >&5
2614 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
2615 if test "${enable_debug_gdb+set}" = set; then
2616 enableval
="$enable_debug_gdb"
2618 if test "$enableval" = yes; then
2619 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
2621 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
2626 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
2627 if test "x$LINE" != x
; then
2628 eval "DEFAULT_$LINE"
2633 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
2638 eval "$ac_cv_use_debug_gdb"
2639 if test "$no_cache" != 1; then
2640 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
2643 if test "$wxUSE_DEBUG_GDB" = yes; then
2644 echo "$ac_t""yes" 1>&6
2646 echo "$ac_t""no" 1>&6
2650 echo $ac_n "checking for --enable-debug_cntxt""... $ac_c" 1>&6
2651 echo "configure:2652: checking for --enable-debug_cntxt" >&5
2653 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
2654 if test "${enable_debug_cntxt+set}" = set; then
2655 enableval
="$enable_debug_cntxt"
2657 if test "$enableval" = yes; then
2658 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
2660 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
2665 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2666 if test "x$LINE" != x
; then
2667 eval "DEFAULT_$LINE"
2672 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2677 eval "$ac_cv_use_debug_cntxt"
2678 if test "$no_cache" != 1; then
2679 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2682 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2683 echo "$ac_t""yes" 1>&6
2685 echo "$ac_t""no" 1>&6
2689 echo $ac_n "checking for --enable-mem_tracing""... $ac_c" 1>&6
2690 echo "configure:2691: checking for --enable-mem_tracing" >&5
2692 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2693 if test "${enable_mem_tracing+set}" = set; then
2694 enableval
="$enable_mem_tracing"
2696 if test "$enableval" = yes; then
2697 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
2699 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
2704 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2705 if test "x$LINE" != x
; then
2706 eval "DEFAULT_$LINE"
2711 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2716 eval "$ac_cv_use_mem_tracing"
2717 if test "$no_cache" != 1; then
2718 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2721 if test "$wxUSE_MEM_TRACING" = yes; then
2722 echo "$ac_t""yes" 1>&6
2724 echo "$ac_t""no" 1>&6
2728 echo $ac_n "checking for --enable-profile""... $ac_c" 1>&6
2729 echo "configure:2730: checking for --enable-profile" >&5
2731 # Check whether --enable-profile or --disable-profile was given.
2732 if test "${enable_profile+set}" = set; then
2733 enableval
="$enable_profile"
2735 if test "$enableval" = yes; then
2736 ac_cv_use_profile
='wxUSE_PROFILE=yes'
2738 ac_cv_use_profile
='wxUSE_PROFILE=no'
2743 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2744 if test "x$LINE" != x
; then
2745 eval "DEFAULT_$LINE"
2750 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2755 eval "$ac_cv_use_profile"
2756 if test "$no_cache" != 1; then
2757 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2760 if test "$wxUSE_PROFILE" = yes; then
2761 echo "$ac_t""yes" 1>&6
2763 echo "$ac_t""no" 1>&6
2767 echo $ac_n "checking for --enable-no_rtti""... $ac_c" 1>&6
2768 echo "configure:2769: checking for --enable-no_rtti" >&5
2770 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2771 if test "${enable_no_rtti+set}" = set; then
2772 enableval
="$enable_no_rtti"
2774 if test "$enableval" = yes; then
2775 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
2777 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
2782 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2783 if test "x$LINE" != x
; then
2784 eval "DEFAULT_$LINE"
2789 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2794 eval "$ac_cv_use_no_rtti"
2795 if test "$no_cache" != 1; then
2796 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2799 if test "$wxUSE_NO_RTTI" = yes; then
2800 echo "$ac_t""yes" 1>&6
2802 echo "$ac_t""no" 1>&6
2806 echo $ac_n "checking for --enable-no_exceptions""... $ac_c" 1>&6
2807 echo "configure:2808: checking for --enable-no_exceptions" >&5
2809 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2810 if test "${enable_no_exceptions+set}" = set; then
2811 enableval
="$enable_no_exceptions"
2813 if test "$enableval" = yes; then
2814 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
2816 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
2821 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2822 if test "x$LINE" != x
; then
2823 eval "DEFAULT_$LINE"
2828 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2833 eval "$ac_cv_use_no_exceptions"
2834 if test "$no_cache" != 1; then
2835 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2838 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2839 echo "$ac_t""yes" 1>&6
2841 echo "$ac_t""no" 1>&6
2845 echo $ac_n "checking for --enable-permissive""... $ac_c" 1>&6
2846 echo "configure:2847: checking for --enable-permissive" >&5
2848 # Check whether --enable-permissive or --disable-permissive was given.
2849 if test "${enable_permissive+set}" = set; then
2850 enableval
="$enable_permissive"
2852 if test "$enableval" = yes; then
2853 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
2855 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
2860 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2861 if test "x$LINE" != x
; then
2862 eval "DEFAULT_$LINE"
2867 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
2872 eval "$ac_cv_use_permissive"
2873 if test "$no_cache" != 1; then
2874 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
2877 if test "$wxUSE_PERMISSIVE" = yes; then
2878 echo "$ac_t""yes" 1>&6
2880 echo "$ac_t""no" 1>&6
2884 echo $ac_n "checking for --enable-no_deps""... $ac_c" 1>&6
2885 echo "configure:2886: checking for --enable-no_deps" >&5
2887 # Check whether --enable-no_deps or --disable-no_deps was given.
2888 if test "${enable_no_deps+set}" = set; then
2889 enableval
="$enable_no_deps"
2891 if test "$enableval" = yes; then
2892 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
2894 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
2899 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
2900 if test "x$LINE" != x
; then
2901 eval "DEFAULT_$LINE"
2906 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
2911 eval "$ac_cv_use_no_deps"
2912 if test "$no_cache" != 1; then
2913 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
2916 if test "$wxUSE_NO_DEPS" = yes; then
2917 echo "$ac_t""yes" 1>&6
2919 echo "$ac_t""no" 1>&6
2924 echo $ac_n "checking for --enable-compat20""... $ac_c" 1>&6
2925 echo "configure:2926: checking for --enable-compat20" >&5
2927 # Check whether --enable-compat20 or --disable-compat20 was given.
2928 if test "${enable_compat20+set}" = set; then
2929 enableval
="$enable_compat20"
2931 if test "$enableval" = yes; then
2932 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=yes'
2934 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=no'
2939 LINE
=`grep "WXWIN_COMPATIBILITY_2" ${wx_arg_cache_file}`
2940 if test "x$LINE" != x
; then
2941 eval "DEFAULT_$LINE"
2946 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2='$DEFAULT_WXWIN_COMPATIBILITY_2
2951 eval "$ac_cv_use_compat20"
2952 if test "$no_cache" != 1; then
2953 echo $ac_cv_use_compat20 >> ${wx_arg_cache_file}.tmp
2956 if test "$WXWIN_COMPATIBILITY_2" = yes; then
2957 echo "$ac_t""yes" 1>&6
2959 echo "$ac_t""no" 1>&6
2963 echo $ac_n "checking for --enable-compat22""... $ac_c" 1>&6
2964 echo "configure:2965: checking for --enable-compat22" >&5
2966 # Check whether --enable-compat22 or --disable-compat22 was given.
2967 if test "${enable_compat22+set}" = set; then
2968 enableval
="$enable_compat22"
2970 if test "$enableval" = yes; then
2971 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
2973 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
2978 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
2979 if test "x$LINE" != x
; then
2980 eval "DEFAULT_$LINE"
2985 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
2990 eval "$ac_cv_use_compat22"
2991 if test "$no_cache" != 1; then
2992 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
2995 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
2996 echo "$ac_t""yes" 1>&6
2998 echo "$ac_t""no" 1>&6
3004 echo $ac_n "checking for --enable-intl""... $ac_c" 1>&6
3005 echo "configure:3006: checking for --enable-intl" >&5
3007 # Check whether --enable-intl or --disable-intl was given.
3008 if test "${enable_intl+set}" = set; then
3009 enableval
="$enable_intl"
3011 if test "$enableval" = yes; then
3012 ac_cv_use_intl
='wxUSE_INTL=yes'
3014 ac_cv_use_intl
='wxUSE_INTL=no'
3019 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
3020 if test "x$LINE" != x
; then
3021 eval "DEFAULT_$LINE"
3026 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
3031 eval "$ac_cv_use_intl"
3032 if test "$no_cache" != 1; then
3033 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
3036 if test "$wxUSE_INTL" = yes; then
3037 echo "$ac_t""yes" 1>&6
3039 echo "$ac_t""no" 1>&6
3043 echo $ac_n "checking for --enable-config""... $ac_c" 1>&6
3044 echo "configure:3045: checking for --enable-config" >&5
3046 # Check whether --enable-config or --disable-config was given.
3047 if test "${enable_config+set}" = set; then
3048 enableval
="$enable_config"
3050 if test "$enableval" = yes; then
3051 ac_cv_use_config
='wxUSE_CONFIG=yes'
3053 ac_cv_use_config
='wxUSE_CONFIG=no'
3058 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
3059 if test "x$LINE" != x
; then
3060 eval "DEFAULT_$LINE"
3065 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
3070 eval "$ac_cv_use_config"
3071 if test "$no_cache" != 1; then
3072 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
3075 if test "$wxUSE_CONFIG" = yes; then
3076 echo "$ac_t""yes" 1>&6
3078 echo "$ac_t""no" 1>&6
3083 echo $ac_n "checking for --enable-sockets""... $ac_c" 1>&6
3084 echo "configure:3085: checking for --enable-sockets" >&5
3086 # Check whether --enable-sockets or --disable-sockets was given.
3087 if test "${enable_sockets+set}" = set; then
3088 enableval
="$enable_sockets"
3090 if test "$enableval" = yes; then
3091 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
3093 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
3098 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
3099 if test "x$LINE" != x
; then
3100 eval "DEFAULT_$LINE"
3105 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
3110 eval "$ac_cv_use_sockets"
3111 if test "$no_cache" != 1; then
3112 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
3115 if test "$wxUSE_SOCKETS" = yes; then
3116 echo "$ac_t""yes" 1>&6
3118 echo "$ac_t""no" 1>&6
3123 echo $ac_n "checking for --enable-ipc""... $ac_c" 1>&6
3124 echo "configure:3125: checking for --enable-ipc" >&5
3126 # Check whether --enable-ipc or --disable-ipc was given.
3127 if test "${enable_ipc+set}" = set; then
3128 enableval
="$enable_ipc"
3130 if test "$enableval" = yes; then
3131 ac_cv_use_ipc
='wxUSE_IPC=yes'
3133 ac_cv_use_ipc
='wxUSE_IPC=no'
3138 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
3139 if test "x$LINE" != x
; then
3140 eval "DEFAULT_$LINE"
3145 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
3150 eval "$ac_cv_use_ipc"
3151 if test "$no_cache" != 1; then
3152 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
3155 if test "$wxUSE_IPC" = yes; then
3156 echo "$ac_t""yes" 1>&6
3158 echo "$ac_t""no" 1>&6
3163 echo $ac_n "checking for --enable-cmdline""... $ac_c" 1>&6
3164 echo "configure:3165: checking for --enable-cmdline" >&5
3166 # Check whether --enable-cmdline or --disable-cmdline was given.
3167 if test "${enable_cmdline+set}" = set; then
3168 enableval
="$enable_cmdline"
3170 if test "$enableval" = yes; then
3171 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
3173 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
3178 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
3179 if test "x$LINE" != x
; then
3180 eval "DEFAULT_$LINE"
3185 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
3190 eval "$ac_cv_use_cmdline"
3191 if test "$no_cache" != 1; then
3192 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
3195 if test "$wxUSE_CMDLINE_PARSER" = yes; then
3196 echo "$ac_t""yes" 1>&6
3198 echo "$ac_t""no" 1>&6
3202 echo $ac_n "checking for --enable-datetime""... $ac_c" 1>&6
3203 echo "configure:3204: checking for --enable-datetime" >&5
3205 # Check whether --enable-datetime or --disable-datetime was given.
3206 if test "${enable_datetime+set}" = set; then
3207 enableval
="$enable_datetime"
3209 if test "$enableval" = yes; then
3210 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
3212 ac_cv_use_datetime
='wxUSE_DATETIME=no'
3217 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
3218 if test "x$LINE" != x
; then
3219 eval "DEFAULT_$LINE"
3224 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
3229 eval "$ac_cv_use_datetime"
3230 if test "$no_cache" != 1; then
3231 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
3234 if test "$wxUSE_DATETIME" = yes; then
3235 echo "$ac_t""yes" 1>&6
3237 echo "$ac_t""no" 1>&6
3241 echo $ac_n "checking for --enable-timedate""... $ac_c" 1>&6
3242 echo "configure:3243: checking for --enable-timedate" >&5
3244 # Check whether --enable-timedate or --disable-timedate was given.
3245 if test "${enable_timedate+set}" = set; then
3246 enableval
="$enable_timedate"
3248 if test "$enableval" = yes; then
3249 ac_cv_use_timedate
='wxUSE_TIMEDATE=yes'
3251 ac_cv_use_timedate
='wxUSE_TIMEDATE=no'
3256 LINE
=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}`
3257 if test "x$LINE" != x
; then
3258 eval "DEFAULT_$LINE"
3263 ac_cv_use_timedate
='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
3268 eval "$ac_cv_use_timedate"
3269 if test "$no_cache" != 1; then
3270 echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp
3273 if test "$wxUSE_TIMEDATE" = yes; then
3274 echo "$ac_t""yes" 1>&6
3276 echo "$ac_t""no" 1>&6
3280 echo $ac_n "checking for --enable-stopwatch""... $ac_c" 1>&6
3281 echo "configure:3282: checking for --enable-stopwatch" >&5
3283 # Check whether --enable-stopwatch or --disable-stopwatch was given.
3284 if test "${enable_stopwatch+set}" = set; then
3285 enableval
="$enable_stopwatch"
3287 if test "$enableval" = yes; then
3288 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
3290 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
3295 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
3296 if test "x$LINE" != x
; then
3297 eval "DEFAULT_$LINE"
3302 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
3307 eval "$ac_cv_use_stopwatch"
3308 if test "$no_cache" != 1; then
3309 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
3312 if test "$wxUSE_STOPWATCH" = yes; then
3313 echo "$ac_t""yes" 1>&6
3315 echo "$ac_t""no" 1>&6
3319 echo $ac_n "checking for --enable-dialupman""... $ac_c" 1>&6
3320 echo "configure:3321: checking for --enable-dialupman" >&5
3322 # Check whether --enable-dialupman or --disable-dialupman was given.
3323 if test "${enable_dialupman+set}" = set; then
3324 enableval
="$enable_dialupman"
3326 if test "$enableval" = yes; then
3327 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
3329 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
3334 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
3335 if test "x$LINE" != x
; then
3336 eval "DEFAULT_$LINE"
3341 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
3346 eval "$ac_cv_use_dialupman"
3347 if test "$no_cache" != 1; then
3348 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
3351 if test "$wxUSE_DIALUP_MANAGER" = yes; then
3352 echo "$ac_t""yes" 1>&6
3354 echo "$ac_t""no" 1>&6
3358 echo $ac_n "checking for --enable-apple_ieee""... $ac_c" 1>&6
3359 echo "configure:3360: checking for --enable-apple_ieee" >&5
3361 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
3362 if test "${enable_apple_ieee+set}" = set; then
3363 enableval
="$enable_apple_ieee"
3365 if test "$enableval" = yes; then
3366 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
3368 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
3373 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
3374 if test "x$LINE" != x
; then
3375 eval "DEFAULT_$LINE"
3380 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
3385 eval "$ac_cv_use_apple_ieee"
3386 if test "$no_cache" != 1; then
3387 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
3390 if test "$wxUSE_APPLE_IEEE" = yes; then
3391 echo "$ac_t""yes" 1>&6
3393 echo "$ac_t""no" 1>&6
3397 echo $ac_n "checking for --enable-timer""... $ac_c" 1>&6
3398 echo "configure:3399: checking for --enable-timer" >&5
3400 # Check whether --enable-timer or --disable-timer was given.
3401 if test "${enable_timer+set}" = set; then
3402 enableval
="$enable_timer"
3404 if test "$enableval" = yes; then
3405 ac_cv_use_timer
='wxUSE_TIMER=yes'
3407 ac_cv_use_timer
='wxUSE_TIMER=no'
3412 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
3413 if test "x$LINE" != x
; then
3414 eval "DEFAULT_$LINE"
3419 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
3424 eval "$ac_cv_use_timer"
3425 if test "$no_cache" != 1; then
3426 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
3429 if test "$wxUSE_TIMER" = yes; then
3430 echo "$ac_t""yes" 1>&6
3432 echo "$ac_t""no" 1>&6
3436 echo $ac_n "checking for --enable-wave""... $ac_c" 1>&6
3437 echo "configure:3438: checking for --enable-wave" >&5
3439 # Check whether --enable-wave or --disable-wave was given.
3440 if test "${enable_wave+set}" = set; then
3441 enableval
="$enable_wave"
3443 if test "$enableval" = yes; then
3444 ac_cv_use_wave
='wxUSE_WAVE=yes'
3446 ac_cv_use_wave
='wxUSE_WAVE=no'
3451 LINE
=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
3452 if test "x$LINE" != x
; then
3453 eval "DEFAULT_$LINE"
3458 ac_cv_use_wave
='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
3463 eval "$ac_cv_use_wave"
3464 if test "$no_cache" != 1; then
3465 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
3468 if test "$wxUSE_WAVE" = yes; then
3469 echo "$ac_t""yes" 1>&6
3471 echo "$ac_t""no" 1>&6
3475 echo $ac_n "checking for --enable-fraction""... $ac_c" 1>&6
3476 echo "configure:3477: checking for --enable-fraction" >&5
3478 # Check whether --enable-fraction or --disable-fraction was given.
3479 if test "${enable_fraction+set}" = set; then
3480 enableval
="$enable_fraction"
3482 if test "$enableval" = yes; then
3483 ac_cv_use_fraction
='wxUSE_FRACTION=yes'
3485 ac_cv_use_fraction
='wxUSE_FRACTION=no'
3490 LINE
=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
3491 if test "x$LINE" != x
; then
3492 eval "DEFAULT_$LINE"
3497 ac_cv_use_fraction
='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
3502 eval "$ac_cv_use_fraction"
3503 if test "$no_cache" != 1; then
3504 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
3507 if test "$wxUSE_FRACTION" = yes; then
3508 echo "$ac_t""yes" 1>&6
3510 echo "$ac_t""no" 1>&6
3514 echo $ac_n "checking for --enable-dynlib""... $ac_c" 1>&6
3515 echo "configure:3516: checking for --enable-dynlib" >&5
3517 # Check whether --enable-dynlib or --disable-dynlib was given.
3518 if test "${enable_dynlib+set}" = set; then
3519 enableval
="$enable_dynlib"
3521 if test "$enableval" = yes; then
3522 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
3524 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
3529 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
3530 if test "x$LINE" != x
; then
3531 eval "DEFAULT_$LINE"
3536 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
3541 eval "$ac_cv_use_dynlib"
3542 if test "$no_cache" != 1; then
3543 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
3546 if test "$wxUSE_DYNLIB_CLASS" = yes; then
3547 echo "$ac_t""yes" 1>&6
3549 echo "$ac_t""no" 1>&6
3553 echo $ac_n "checking for --enable-dynamicloader""... $ac_c" 1>&6
3554 echo "configure:3555: checking for --enable-dynamicloader" >&5
3556 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
3557 if test "${enable_dynamicloader+set}" = set; then
3558 enableval
="$enable_dynamicloader"
3560 if test "$enableval" = yes; then
3561 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
3563 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
3568 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
3569 if test "x$LINE" != x
; then
3570 eval "DEFAULT_$LINE"
3575 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
3580 eval "$ac_cv_use_dynamicloader"
3581 if test "$no_cache" != 1; then
3582 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
3585 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
3586 echo "$ac_t""yes" 1>&6
3588 echo "$ac_t""no" 1>&6
3592 echo $ac_n "checking for --enable-longlong""... $ac_c" 1>&6
3593 echo "configure:3594: checking for --enable-longlong" >&5
3595 # Check whether --enable-longlong or --disable-longlong was given.
3596 if test "${enable_longlong+set}" = set; then
3597 enableval
="$enable_longlong"
3599 if test "$enableval" = yes; then
3600 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
3602 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
3607 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
3608 if test "x$LINE" != x
; then
3609 eval "DEFAULT_$LINE"
3614 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
3619 eval "$ac_cv_use_longlong"
3620 if test "$no_cache" != 1; then
3621 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
3624 if test "$wxUSE_LONGLONG" = yes; then
3625 echo "$ac_t""yes" 1>&6
3627 echo "$ac_t""no" 1>&6
3631 echo $ac_n "checking for --enable-geometry""... $ac_c" 1>&6
3632 echo "configure:3633: checking for --enable-geometry" >&5
3634 # Check whether --enable-geometry or --disable-geometry was given.
3635 if test "${enable_geometry+set}" = set; then
3636 enableval
="$enable_geometry"
3638 if test "$enableval" = yes; then
3639 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
3641 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
3646 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
3647 if test "x$LINE" != x
; then
3648 eval "DEFAULT_$LINE"
3653 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
3658 eval "$ac_cv_use_geometry"
3659 if test "$no_cache" != 1; then
3660 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
3663 if test "$wxUSE_GEOMETRY" = yes; then
3664 echo "$ac_t""yes" 1>&6
3666 echo "$ac_t""no" 1>&6
3670 echo $ac_n "checking for --enable-log""... $ac_c" 1>&6
3671 echo "configure:3672: checking for --enable-log" >&5
3673 # Check whether --enable-log or --disable-log was given.
3674 if test "${enable_log+set}" = set; then
3675 enableval
="$enable_log"
3677 if test "$enableval" = yes; then
3678 ac_cv_use_log
='wxUSE_LOG=yes'
3680 ac_cv_use_log
='wxUSE_LOG=no'
3685 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
3686 if test "x$LINE" != x
; then
3687 eval "DEFAULT_$LINE"
3692 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
3697 eval "$ac_cv_use_log"
3698 if test "$no_cache" != 1; then
3699 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
3702 if test "$wxUSE_LOG" = yes; then
3703 echo "$ac_t""yes" 1>&6
3705 echo "$ac_t""no" 1>&6
3709 echo $ac_n "checking for --enable-streams""... $ac_c" 1>&6
3710 echo "configure:3711: checking for --enable-streams" >&5
3712 # Check whether --enable-streams or --disable-streams was given.
3713 if test "${enable_streams+set}" = set; then
3714 enableval
="$enable_streams"
3716 if test "$enableval" = yes; then
3717 ac_cv_use_streams
='wxUSE_STREAMS=yes'
3719 ac_cv_use_streams
='wxUSE_STREAMS=no'
3724 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
3725 if test "x$LINE" != x
; then
3726 eval "DEFAULT_$LINE"
3731 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
3736 eval "$ac_cv_use_streams"
3737 if test "$no_cache" != 1; then
3738 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
3741 if test "$wxUSE_STREAMS" = yes; then
3742 echo "$ac_t""yes" 1>&6
3744 echo "$ac_t""no" 1>&6
3748 echo $ac_n "checking for --enable-file""... $ac_c" 1>&6
3749 echo "configure:3750: checking for --enable-file" >&5
3751 # Check whether --enable-file or --disable-file was given.
3752 if test "${enable_file+set}" = set; then
3753 enableval
="$enable_file"
3755 if test "$enableval" = yes; then
3756 ac_cv_use_file
='wxUSE_FILE=yes'
3758 ac_cv_use_file
='wxUSE_FILE=no'
3763 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
3764 if test "x$LINE" != x
; then
3765 eval "DEFAULT_$LINE"
3770 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
3775 eval "$ac_cv_use_file"
3776 if test "$no_cache" != 1; then
3777 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
3780 if test "$wxUSE_FILE" = yes; then
3781 echo "$ac_t""yes" 1>&6
3783 echo "$ac_t""no" 1>&6
3787 echo $ac_n "checking for --enable-ffile""... $ac_c" 1>&6
3788 echo "configure:3789: checking for --enable-ffile" >&5
3790 # Check whether --enable-ffile or --disable-ffile was given.
3791 if test "${enable_ffile+set}" = set; then
3792 enableval
="$enable_ffile"
3794 if test "$enableval" = yes; then
3795 ac_cv_use_ffile
='wxUSE_FFILE=yes'
3797 ac_cv_use_ffile
='wxUSE_FFILE=no'
3802 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
3803 if test "x$LINE" != x
; then
3804 eval "DEFAULT_$LINE"
3809 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
3814 eval "$ac_cv_use_ffile"
3815 if test "$no_cache" != 1; then
3816 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
3819 if test "$wxUSE_FFILE" = yes; then
3820 echo "$ac_t""yes" 1>&6
3822 echo "$ac_t""no" 1>&6
3826 echo $ac_n "checking for --enable-textbuf""... $ac_c" 1>&6
3827 echo "configure:3828: checking for --enable-textbuf" >&5
3829 # Check whether --enable-textbuf or --disable-textbuf was given.
3830 if test "${enable_textbuf+set}" = set; then
3831 enableval
="$enable_textbuf"
3833 if test "$enableval" = yes; then
3834 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
3836 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
3841 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
3842 if test "x$LINE" != x
; then
3843 eval "DEFAULT_$LINE"
3848 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
3853 eval "$ac_cv_use_textbuf"
3854 if test "$no_cache" != 1; then
3855 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
3858 if test "$wxUSE_TEXTBUFFER" = yes; then
3859 echo "$ac_t""yes" 1>&6
3861 echo "$ac_t""no" 1>&6
3865 echo $ac_n "checking for --enable-textfile""... $ac_c" 1>&6
3866 echo "configure:3867: checking for --enable-textfile" >&5
3868 # Check whether --enable-textfile or --disable-textfile was given.
3869 if test "${enable_textfile+set}" = set; then
3870 enableval
="$enable_textfile"
3872 if test "$enableval" = yes; then
3873 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
3875 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
3880 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
3881 if test "x$LINE" != x
; then
3882 eval "DEFAULT_$LINE"
3887 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
3892 eval "$ac_cv_use_textfile"
3893 if test "$no_cache" != 1; then
3894 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
3897 if test "$wxUSE_TEXTFILE" = yes; then
3898 echo "$ac_t""yes" 1>&6
3900 echo "$ac_t""no" 1>&6
3904 echo $ac_n "checking for --enable-fontmap""... $ac_c" 1>&6
3905 echo "configure:3906: checking for --enable-fontmap" >&5
3907 # Check whether --enable-fontmap or --disable-fontmap was given.
3908 if test "${enable_fontmap+set}" = set; then
3909 enableval
="$enable_fontmap"
3911 if test "$enableval" = yes; then
3912 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
3914 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
3919 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
3920 if test "x$LINE" != x
; then
3921 eval "DEFAULT_$LINE"
3926 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
3931 eval "$ac_cv_use_fontmap"
3932 if test "$no_cache" != 1; then
3933 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
3936 if test "$wxUSE_FONTMAP" = yes; then
3937 echo "$ac_t""yes" 1>&6
3939 echo "$ac_t""no" 1>&6
3943 echo $ac_n "checking for --enable-unicode""... $ac_c" 1>&6
3944 echo "configure:3945: checking for --enable-unicode" >&5
3946 # Check whether --enable-unicode or --disable-unicode was given.
3947 if test "${enable_unicode+set}" = set; then
3948 enableval
="$enable_unicode"
3950 if test "$enableval" = yes; then
3951 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
3953 ac_cv_use_unicode
='wxUSE_UNICODE=no'
3958 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
3959 if test "x$LINE" != x
; then
3960 eval "DEFAULT_$LINE"
3965 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
3970 eval "$ac_cv_use_unicode"
3971 if test "$no_cache" != 1; then
3972 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
3975 if test "$wxUSE_UNICODE" = yes; then
3976 echo "$ac_t""yes" 1>&6
3978 echo "$ac_t""no" 1>&6
3982 echo $ac_n "checking for --enable-mslu""... $ac_c" 1>&6
3983 echo "configure:3984: checking for --enable-mslu" >&5
3985 # Check whether --enable-mslu or --disable-mslu was given.
3986 if test "${enable_mslu+set}" = set; then
3987 enableval
="$enable_mslu"
3989 if test "$enableval" = yes; then
3990 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
3992 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
3997 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
3998 if test "x$LINE" != x
; then
3999 eval "DEFAULT_$LINE"
4004 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
4009 eval "$ac_cv_use_mslu"
4010 if test "$no_cache" != 1; then
4011 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
4014 if test "$wxUSE_UNICODE_MSLU" = yes; then
4015 echo "$ac_t""yes" 1>&6
4017 echo "$ac_t""no" 1>&6
4021 echo $ac_n "checking for --enable-wxprintfv""... $ac_c" 1>&6
4022 echo "configure:4023: checking for --enable-wxprintfv" >&5
4024 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
4025 if test "${enable_wxprintfv+set}" = set; then
4026 enableval
="$enable_wxprintfv"
4028 if test "$enableval" = yes; then
4029 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
4031 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
4036 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
4037 if test "x$LINE" != x
; then
4038 eval "DEFAULT_$LINE"
4043 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
4048 eval "$ac_cv_use_wxprintfv"
4049 if test "$no_cache" != 1; then
4050 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
4053 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
4054 echo "$ac_t""yes" 1>&6
4056 echo "$ac_t""no" 1>&6
4060 echo $ac_n "checking for --enable-std_iostreams""... $ac_c" 1>&6
4061 echo "configure:4062: checking for --enable-std_iostreams" >&5
4063 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
4064 if test "${enable_std_iostreams+set}" = set; then
4065 enableval
="$enable_std_iostreams"
4067 if test "$enableval" = yes; then
4068 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
4070 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
4075 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
4076 if test "x$LINE" != x
; then
4077 eval "DEFAULT_$LINE"
4082 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
4087 eval "$ac_cv_use_std_iostreams"
4088 if test "$no_cache" != 1; then
4089 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
4092 if test "$wxUSE_STD_IOSTREAM" = yes; then
4093 echo "$ac_t""yes" 1>&6
4095 echo "$ac_t""no" 1>&6
4099 echo $ac_n "checking for --enable-filesystem""... $ac_c" 1>&6
4100 echo "configure:4101: checking for --enable-filesystem" >&5
4102 # Check whether --enable-filesystem or --disable-filesystem was given.
4103 if test "${enable_filesystem+set}" = set; then
4104 enableval
="$enable_filesystem"
4106 if test "$enableval" = yes; then
4107 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
4109 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
4114 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
4115 if test "x$LINE" != x
; then
4116 eval "DEFAULT_$LINE"
4121 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
4126 eval "$ac_cv_use_filesystem"
4127 if test "$no_cache" != 1; then
4128 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
4131 if test "$wxUSE_FILESYSTEM" = yes; then
4132 echo "$ac_t""yes" 1>&6
4134 echo "$ac_t""no" 1>&6
4138 echo $ac_n "checking for --enable-fs_inet""... $ac_c" 1>&6
4139 echo "configure:4140: checking for --enable-fs_inet" >&5
4141 # Check whether --enable-fs_inet or --disable-fs_inet was given.
4142 if test "${enable_fs_inet+set}" = set; then
4143 enableval
="$enable_fs_inet"
4145 if test "$enableval" = yes; then
4146 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
4148 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
4153 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
4154 if test "x$LINE" != x
; then
4155 eval "DEFAULT_$LINE"
4160 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
4165 eval "$ac_cv_use_fs_inet"
4166 if test "$no_cache" != 1; then
4167 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
4170 if test "$wxUSE_FS_INET" = yes; then
4171 echo "$ac_t""yes" 1>&6
4173 echo "$ac_t""no" 1>&6
4177 echo $ac_n "checking for --enable-fs_zip""... $ac_c" 1>&6
4178 echo "configure:4179: checking for --enable-fs_zip" >&5
4180 # Check whether --enable-fs_zip or --disable-fs_zip was given.
4181 if test "${enable_fs_zip+set}" = set; then
4182 enableval
="$enable_fs_zip"
4184 if test "$enableval" = yes; then
4185 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
4187 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
4192 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
4193 if test "x$LINE" != x
; then
4194 eval "DEFAULT_$LINE"
4199 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
4204 eval "$ac_cv_use_fs_zip"
4205 if test "$no_cache" != 1; then
4206 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
4209 if test "$wxUSE_FS_ZIP" = yes; then
4210 echo "$ac_t""yes" 1>&6
4212 echo "$ac_t""no" 1>&6
4216 echo $ac_n "checking for --enable-zipstream""... $ac_c" 1>&6
4217 echo "configure:4218: checking for --enable-zipstream" >&5
4219 # Check whether --enable-zipstream or --disable-zipstream was given.
4220 if test "${enable_zipstream+set}" = set; then
4221 enableval
="$enable_zipstream"
4223 if test "$enableval" = yes; then
4224 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
4226 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
4231 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
4232 if test "x$LINE" != x
; then
4233 eval "DEFAULT_$LINE"
4238 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
4243 eval "$ac_cv_use_zipstream"
4244 if test "$no_cache" != 1; then
4245 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
4248 if test "$wxUSE_ZIPSTREAM" = yes; then
4249 echo "$ac_t""yes" 1>&6
4251 echo "$ac_t""no" 1>&6
4256 echo $ac_n "checking for --enable-catch_segvs""... $ac_c" 1>&6
4257 echo "configure:4258: checking for --enable-catch_segvs" >&5
4259 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4260 if test "${enable_catch_segvs+set}" = set; then
4261 enableval
="$enable_catch_segvs"
4263 if test "$enableval" = yes; then
4264 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4266 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4271 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4272 if test "x$LINE" != x
; then
4273 eval "DEFAULT_$LINE"
4278 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4283 eval "$ac_cv_use_catch_segvs"
4284 if test "$no_cache" != 1; then
4285 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4288 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4289 echo "$ac_t""yes" 1>&6
4291 echo "$ac_t""no" 1>&6
4295 echo $ac_n "checking for --enable-snglinst""... $ac_c" 1>&6
4296 echo "configure:4297: checking for --enable-snglinst" >&5
4298 # Check whether --enable-snglinst or --disable-snglinst was given.
4299 if test "${enable_snglinst+set}" = set; then
4300 enableval
="$enable_snglinst"
4302 if test "$enableval" = yes; then
4303 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
4305 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
4310 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
4311 if test "x$LINE" != x
; then
4312 eval "DEFAULT_$LINE"
4317 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
4322 eval "$ac_cv_use_snglinst"
4323 if test "$no_cache" != 1; then
4324 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
4327 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
4328 echo "$ac_t""yes" 1>&6
4330 echo "$ac_t""no" 1>&6
4335 echo $ac_n "checking for --enable-mimetype""... $ac_c" 1>&6
4336 echo "configure:4337: checking for --enable-mimetype" >&5
4338 # Check whether --enable-mimetype or --disable-mimetype was given.
4339 if test "${enable_mimetype+set}" = set; then
4340 enableval
="$enable_mimetype"
4342 if test "$enableval" = yes; then
4343 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
4345 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
4350 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
4351 if test "x$LINE" != x
; then
4352 eval "DEFAULT_$LINE"
4357 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
4362 eval "$ac_cv_use_mimetype"
4363 if test "$no_cache" != 1; then
4364 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
4367 if test "$wxUSE_MIMETYPE" = yes; then
4368 echo "$ac_t""yes" 1>&6
4370 echo "$ac_t""no" 1>&6
4374 echo $ac_n "checking for --enable-system_options""... $ac_c" 1>&6
4375 echo "configure:4376: checking for --enable-system_options" >&5
4377 # Check whether --enable-system_options or --disable-system_options was given.
4378 if test "${enable_system_options+set}" = set; then
4379 enableval
="$enable_system_options"
4381 if test "$enableval" = yes; then
4382 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
4384 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
4389 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
4390 if test "x$LINE" != x
; then
4391 eval "DEFAULT_$LINE"
4396 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
4401 eval "$ac_cv_use_system_options"
4402 if test "$no_cache" != 1; then
4403 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
4406 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
4407 echo "$ac_t""yes" 1>&6
4409 echo "$ac_t""no" 1>&6
4415 echo $ac_n "checking for --enable-threads""... $ac_c" 1>&6
4416 echo "configure:4417: checking for --enable-threads" >&5
4418 # Check whether --enable-threads or --disable-threads was given.
4419 if test "${enable_threads+set}" = set; then
4420 enableval
="$enable_threads"
4422 if test "$enableval" = yes; then
4423 ac_cv_use_threads
='wxUSE_THREADS=yes'
4425 ac_cv_use_threads
='wxUSE_THREADS=no'
4430 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
4431 if test "x$LINE" != x
; then
4432 eval "DEFAULT_$LINE"
4437 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
4442 eval "$ac_cv_use_threads"
4443 if test "$no_cache" != 1; then
4444 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
4447 if test "$wxUSE_THREADS" = yes; then
4448 echo "$ac_t""yes" 1>&6
4450 echo "$ac_t""no" 1>&6
4454 if test "$wxUSE_GUI" = "yes"; then
4458 echo $ac_n "checking for --enable-docview""... $ac_c" 1>&6
4459 echo "configure:4460: checking for --enable-docview" >&5
4461 # Check whether --enable-docview or --disable-docview was given.
4462 if test "${enable_docview+set}" = set; then
4463 enableval
="$enable_docview"
4465 if test "$enableval" = yes; then
4466 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
4468 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
4473 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
4474 if test "x$LINE" != x
; then
4475 eval "DEFAULT_$LINE"
4480 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
4485 eval "$ac_cv_use_docview"
4486 if test "$no_cache" != 1; then
4487 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
4490 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
4491 echo "$ac_t""yes" 1>&6
4493 echo "$ac_t""no" 1>&6
4497 echo $ac_n "checking for --enable-help""... $ac_c" 1>&6
4498 echo "configure:4499: checking for --enable-help" >&5
4500 # Check whether --enable-help or --disable-help was given.
4501 if test "${enable_help+set}" = set; then
4502 enableval
="$enable_help"
4504 if test "$enableval" = yes; then
4505 ac_cv_use_help
='wxUSE_HELP=yes'
4507 ac_cv_use_help
='wxUSE_HELP=no'
4512 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
4513 if test "x$LINE" != x
; then
4514 eval "DEFAULT_$LINE"
4519 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
4524 eval "$ac_cv_use_help"
4525 if test "$no_cache" != 1; then
4526 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
4529 if test "$wxUSE_HELP" = yes; then
4530 echo "$ac_t""yes" 1>&6
4532 echo "$ac_t""no" 1>&6
4536 echo $ac_n "checking for --enable-mshtmlhelp""... $ac_c" 1>&6
4537 echo "configure:4538: checking for --enable-mshtmlhelp" >&5
4539 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
4540 if test "${enable_mshtmlhelp+set}" = set; then
4541 enableval
="$enable_mshtmlhelp"
4543 if test "$enableval" = yes; then
4544 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
4546 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
4551 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
4552 if test "x$LINE" != x
; then
4553 eval "DEFAULT_$LINE"
4558 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
4563 eval "$ac_cv_use_mshtmlhelp"
4564 if test "$no_cache" != 1; then
4565 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
4568 if test "$wxUSE_MS_HTML_HELP" = yes; then
4569 echo "$ac_t""yes" 1>&6
4571 echo "$ac_t""no" 1>&6
4575 echo $ac_n "checking for --enable-html""... $ac_c" 1>&6
4576 echo "configure:4577: checking for --enable-html" >&5
4578 # Check whether --enable-html or --disable-html was given.
4579 if test "${enable_html+set}" = set; then
4580 enableval
="$enable_html"
4582 if test "$enableval" = yes; then
4583 ac_cv_use_html
='wxUSE_HTML=yes'
4585 ac_cv_use_html
='wxUSE_HTML=no'
4590 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
4591 if test "x$LINE" != x
; then
4592 eval "DEFAULT_$LINE"
4597 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
4602 eval "$ac_cv_use_html"
4603 if test "$no_cache" != 1; then
4604 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
4607 if test "$wxUSE_HTML" = yes; then
4608 echo "$ac_t""yes" 1>&6
4610 echo "$ac_t""no" 1>&6
4614 echo $ac_n "checking for --enable-htmlhelp""... $ac_c" 1>&6
4615 echo "configure:4616: checking for --enable-htmlhelp" >&5
4617 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
4618 if test "${enable_htmlhelp+set}" = set; then
4619 enableval
="$enable_htmlhelp"
4621 if test "$enableval" = yes; then
4622 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
4624 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
4629 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
4630 if test "x$LINE" != x
; then
4631 eval "DEFAULT_$LINE"
4636 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
4641 eval "$ac_cv_use_htmlhelp"
4642 if test "$no_cache" != 1; then
4643 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
4646 if test "$wxUSE_WXHTML_HELP" = yes; then
4647 echo "$ac_t""yes" 1>&6
4649 echo "$ac_t""no" 1>&6
4653 echo $ac_n "checking for --enable-constraints""... $ac_c" 1>&6
4654 echo "configure:4655: checking for --enable-constraints" >&5
4656 # Check whether --enable-constraints or --disable-constraints was given.
4657 if test "${enable_constraints+set}" = set; then
4658 enableval
="$enable_constraints"
4660 if test "$enableval" = yes; then
4661 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
4663 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
4668 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
4669 if test "x$LINE" != x
; then
4670 eval "DEFAULT_$LINE"
4675 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
4680 eval "$ac_cv_use_constraints"
4681 if test "$no_cache" != 1; then
4682 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
4685 if test "$wxUSE_CONSTRAINTS" = yes; then
4686 echo "$ac_t""yes" 1>&6
4688 echo "$ac_t""no" 1>&6
4692 echo $ac_n "checking for --enable-printarch""... $ac_c" 1>&6
4693 echo "configure:4694: checking for --enable-printarch" >&5
4695 # Check whether --enable-printarch or --disable-printarch was given.
4696 if test "${enable_printarch+set}" = set; then
4697 enableval
="$enable_printarch"
4699 if test "$enableval" = yes; then
4700 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
4702 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
4707 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
4708 if test "x$LINE" != x
; then
4709 eval "DEFAULT_$LINE"
4714 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
4719 eval "$ac_cv_use_printarch"
4720 if test "$no_cache" != 1; then
4721 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
4724 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
4725 echo "$ac_t""yes" 1>&6
4727 echo "$ac_t""no" 1>&6
4731 echo $ac_n "checking for --enable-mdi""... $ac_c" 1>&6
4732 echo "configure:4733: checking for --enable-mdi" >&5
4734 # Check whether --enable-mdi or --disable-mdi was given.
4735 if test "${enable_mdi+set}" = set; then
4736 enableval
="$enable_mdi"
4738 if test "$enableval" = yes; then
4739 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=yes'
4741 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=no'
4746 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
4747 if test "x$LINE" != x
; then
4748 eval "DEFAULT_$LINE"
4753 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
4758 eval "$ac_cv_use_mdi"
4759 if test "$no_cache" != 1; then
4760 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
4763 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
4764 echo "$ac_t""yes" 1>&6
4766 echo "$ac_t""no" 1>&6
4770 echo $ac_n "checking for --enable-loggui""... $ac_c" 1>&6
4771 echo "configure:4772: checking for --enable-loggui" >&5
4773 # Check whether --enable-loggui or --disable-loggui was given.
4774 if test "${enable_loggui+set}" = set; then
4775 enableval
="$enable_loggui"
4777 if test "$enableval" = yes; then
4778 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
4780 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
4785 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
4786 if test "x$LINE" != x
; then
4787 eval "DEFAULT_$LINE"
4792 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
4797 eval "$ac_cv_use_loggui"
4798 if test "$no_cache" != 1; then
4799 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
4802 if test "$wxUSE_LOGGUI" = yes; then
4803 echo "$ac_t""yes" 1>&6
4805 echo "$ac_t""no" 1>&6
4809 echo $ac_n "checking for --enable-logwin""... $ac_c" 1>&6
4810 echo "configure:4811: checking for --enable-logwin" >&5
4812 # Check whether --enable-logwin or --disable-logwin was given.
4813 if test "${enable_logwin+set}" = set; then
4814 enableval
="$enable_logwin"
4816 if test "$enableval" = yes; then
4817 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
4819 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
4824 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
4825 if test "x$LINE" != x
; then
4826 eval "DEFAULT_$LINE"
4831 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
4836 eval "$ac_cv_use_logwin"
4837 if test "$no_cache" != 1; then
4838 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
4841 if test "$wxUSE_LOGWINDOW" = yes; then
4842 echo "$ac_t""yes" 1>&6
4844 echo "$ac_t""no" 1>&6
4848 echo $ac_n "checking for --enable-logdialog""... $ac_c" 1>&6
4849 echo "configure:4850: checking for --enable-logdialog" >&5
4851 # Check whether --enable-logdialog or --disable-logdialog was given.
4852 if test "${enable_logdialog+set}" = set; then
4853 enableval
="$enable_logdialog"
4855 if test "$enableval" = yes; then
4856 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
4858 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
4863 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
4864 if test "x$LINE" != x
; then
4865 eval "DEFAULT_$LINE"
4870 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
4875 eval "$ac_cv_use_logdialog"
4876 if test "$no_cache" != 1; then
4877 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
4880 if test "$wxUSE_LOGDIALOG" = yes; then
4881 echo "$ac_t""yes" 1>&6
4883 echo "$ac_t""no" 1>&6
4888 echo $ac_n "checking for --enable-postscript""... $ac_c" 1>&6
4889 echo "configure:4890: checking for --enable-postscript" >&5
4891 # Check whether --enable-postscript or --disable-postscript was given.
4892 if test "${enable_postscript+set}" = set; then
4893 enableval
="$enable_postscript"
4895 if test "$enableval" = yes; then
4896 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
4898 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
4903 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
4904 if test "x$LINE" != x
; then
4905 eval "DEFAULT_$LINE"
4910 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
4915 eval "$ac_cv_use_postscript"
4916 if test "$no_cache" != 1; then
4917 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
4920 if test "$wxUSE_POSTSCRIPT" = yes; then
4921 echo "$ac_t""yes" 1>&6
4923 echo "$ac_t""no" 1>&6
4930 echo $ac_n "checking for --enable-prologio""... $ac_c" 1>&6
4931 echo "configure:4932: checking for --enable-prologio" >&5
4933 # Check whether --enable-prologio or --disable-prologio was given.
4934 if test "${enable_prologio+set}" = set; then
4935 enableval
="$enable_prologio"
4937 if test "$enableval" = yes; then
4938 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
4940 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
4945 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
4946 if test "x$LINE" != x
; then
4947 eval "DEFAULT_$LINE"
4952 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
4957 eval "$ac_cv_use_prologio"
4958 if test "$no_cache" != 1; then
4959 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
4962 if test "$wxUSE_PROLOGIO" = yes; then
4963 echo "$ac_t""yes" 1>&6
4965 echo "$ac_t""no" 1>&6
4969 echo $ac_n "checking for --enable-resources""... $ac_c" 1>&6
4970 echo "configure:4971: checking for --enable-resources" >&5
4972 # Check whether --enable-resources or --disable-resources was given.
4973 if test "${enable_resources+set}" = set; then
4974 enableval
="$enable_resources"
4976 if test "$enableval" = yes; then
4977 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
4979 ac_cv_use_resources
='wxUSE_RESOURCES=no'
4984 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
4985 if test "x$LINE" != x
; then
4986 eval "DEFAULT_$LINE"
4991 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
4996 eval "$ac_cv_use_resources"
4997 if test "$no_cache" != 1; then
4998 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
5001 if test "$wxUSE_RESOURCES" = yes; then
5002 echo "$ac_t""yes" 1>&6
5004 echo "$ac_t""no" 1>&6
5009 echo $ac_n "checking for --enable-xresources""... $ac_c" 1>&6
5010 echo "configure:5011: checking for --enable-xresources" >&5
5012 # Check whether --enable-xresources or --disable-xresources was given.
5013 if test "${enable_xresources+set}" = set; then
5014 enableval
="$enable_xresources"
5016 if test "$enableval" = yes; then
5017 ac_cv_use_xresources
='wxUSE_X_RESOURCES=yes'
5019 ac_cv_use_xresources
='wxUSE_X_RESOURCES=no'
5024 LINE
=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
5025 if test "x$LINE" != x
; then
5026 eval "DEFAULT_$LINE"
5031 ac_cv_use_xresources
='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
5036 eval "$ac_cv_use_xresources"
5037 if test "$no_cache" != 1; then
5038 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
5041 if test "$wxUSE_X_RESOURCES" = yes; then
5042 echo "$ac_t""yes" 1>&6
5044 echo "$ac_t""no" 1>&6
5050 echo $ac_n "checking for --enable-clipboard""... $ac_c" 1>&6
5051 echo "configure:5052: checking for --enable-clipboard" >&5
5053 # Check whether --enable-clipboard or --disable-clipboard was given.
5054 if test "${enable_clipboard+set}" = set; then
5055 enableval
="$enable_clipboard"
5057 if test "$enableval" = yes; then
5058 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
5060 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
5065 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
5066 if test "x$LINE" != x
; then
5067 eval "DEFAULT_$LINE"
5072 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
5077 eval "$ac_cv_use_clipboard"
5078 if test "$no_cache" != 1; then
5079 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
5082 if test "$wxUSE_CLIPBOARD" = yes; then
5083 echo "$ac_t""yes" 1>&6
5085 echo "$ac_t""no" 1>&6
5089 echo $ac_n "checking for --enable-dnd""... $ac_c" 1>&6
5090 echo "configure:5091: checking for --enable-dnd" >&5
5092 # Check whether --enable-dnd or --disable-dnd was given.
5093 if test "${enable_dnd+set}" = set; then
5094 enableval
="$enable_dnd"
5096 if test "$enableval" = yes; then
5097 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
5099 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
5104 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
5105 if test "x$LINE" != x
; then
5106 eval "DEFAULT_$LINE"
5111 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
5116 eval "$ac_cv_use_dnd"
5117 if test "$no_cache" != 1; then
5118 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
5121 if test "$wxUSE_DRAG_AND_DROP" = yes; then
5122 echo "$ac_t""yes" 1>&6
5124 echo "$ac_t""no" 1>&6
5128 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
5129 echo "configure:5130: checking for --enable-metafile" >&5
5131 # Check whether --enable-metafile or --disable-metafile was given.
5132 if test "${enable_metafile+set}" = set; then
5133 enableval
="$enable_metafile"
5135 if test "$enableval" = yes; then
5136 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
5138 ac_cv_use_metafile
='wxUSE_METAFILE=no'
5143 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
5144 if test "x$LINE" != x
; then
5145 eval "DEFAULT_$LINE"
5150 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
5155 eval "$ac_cv_use_metafile"
5156 if test "$no_cache" != 1; then
5157 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
5160 if test "$wxUSE_METAFILE" = yes; then
5161 echo "$ac_t""yes" 1>&6
5163 echo "$ac_t""no" 1>&6
5168 echo $ac_n "checking for --enable-treelayout""... $ac_c" 1>&6
5169 echo "configure:5170: checking for --enable-treelayout" >&5
5171 # Check whether --enable-treelayout or --disable-treelayout was given.
5172 if test "${enable_treelayout+set}" = set; then
5173 enableval
="$enable_treelayout"
5175 if test "$enableval" = yes; then
5176 ac_cv_use_treelayout
='wxUSE_TREELAYOUT=yes'
5178 ac_cv_use_treelayout
='wxUSE_TREELAYOUT=no'
5183 LINE
=`grep "wxUSE_TREELAYOUT" ${wx_arg_cache_file}`
5184 if test "x$LINE" != x
; then
5185 eval "DEFAULT_$LINE"
5190 ac_cv_use_treelayout
='wxUSE_TREELAYOUT='$DEFAULT_wxUSE_TREELAYOUT
5195 eval "$ac_cv_use_treelayout"
5196 if test "$no_cache" != 1; then
5197 echo $ac_cv_use_treelayout >> ${wx_arg_cache_file}.tmp
5200 if test "$wxUSE_TREELAYOUT" = yes; then
5201 echo "$ac_t""yes" 1>&6
5203 echo "$ac_t""no" 1>&6
5209 echo $ac_n "checking for --enable-controls""... $ac_c" 1>&6
5210 echo "configure:5211: checking for --enable-controls" >&5
5212 # Check whether --enable-controls or --disable-controls was given.
5213 if test "${enable_controls+set}" = set; then
5214 enableval
="$enable_controls"
5216 if test "$enableval" = yes; then
5217 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
5219 ac_cv_use_controls
='wxUSE_CONTROLS=no'
5224 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
5225 if test "x$LINE" != x
; then
5226 eval "DEFAULT_$LINE"
5231 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
5236 eval "$ac_cv_use_controls"
5237 if test "$no_cache" != 1; then
5238 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
5241 if test "$wxUSE_CONTROLS" = yes; then
5242 echo "$ac_t""yes" 1>&6
5244 echo "$ac_t""no" 1>&6
5248 if test "$wxUSE_CONTROLS" = "yes"; then
5249 DEFAULT_wxUSE_ACCEL
=yes
5250 DEFAULT_wxUSE_BMPBUTTON
=yes
5251 DEFAULT_wxUSE_BUTTON
=yes
5252 DEFAULT_wxUSE_CALCTRL
=no
5253 DEFAULT_wxUSE_CARET
=yes
5254 DEFAULT_wxUSE_COMBOBOX
=yes
5255 DEFAULT_wxUSE_CHECKBOX
=yes
5256 DEFAULT_wxUSE_CHECKLISTBOX
=yes
5257 DEFAULT_wxUSE_CHOICE
=yes
5258 DEFAULT_wxUSE_GAUGE
=yes
5259 DEFAULT_wxUSE_GRID
=yes
5260 DEFAULT_wxUSE_NEW_GRID
=yes
5261 DEFAULT_wxUSE_IMAGLIST
=yes
5262 DEFAULT_wxUSE_LISTBOX
=yes
5263 DEFAULT_wxUSE_LISTCTRL
=yes
5264 DEFAULT_wxUSE_NOTEBOOK
=yes
5265 DEFAULT_wxUSE_PROPSHEET
=yes
5266 DEFAULT_wxUSE_RADIOBOX
=yes
5267 DEFAULT_wxUSE_RADIOBTN
=yes
5268 DEFAULT_wxUSE_SASH
=yes
5269 DEFAULT_wxUSE_SCROLLBAR
=yes
5270 DEFAULT_wxUSE_SLIDER
=yes
5271 DEFAULT_wxUSE_SPINBTN
=yes
5272 DEFAULT_wxUSE_SPINCTRL
=yes
5273 DEFAULT_wxUSE_SPLITTER
=yes
5274 DEFAULT_wxUSE_STATBMP
=yes
5275 DEFAULT_wxUSE_STATBOX
=yes
5276 DEFAULT_wxUSE_STATLINE
=yes
5277 DEFAULT_wxUSE_STATUSBAR
=yes
5278 DEFAULT_wxUSE_TAB_DIALOG
=yes
5279 DEFAULT_wxUSE_TOGGLEBTN
=yes
5280 DEFAULT_wxUSE_TOOLBAR
=yes
5281 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
5282 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
5283 DEFAULT_wxUSE_TOOLTIPS
=yes
5284 DEFAULT_wxUSE_TREECTRL
=yes
5285 DEFAULT_wxUSE_POPUPWIN
=yes
5286 DEFAULT_wxUSE_TIPWINDOW
=yes
5287 elif test "$wxUSE_CONTROLS" = "no"; then
5288 DEFAULT_wxUSE_ACCEL
=no
5289 DEFAULT_wxUSE_BMPBUTTON
=no
5290 DEFAULT_wxUSE_BUTTON
=no
5291 DEFAULT_wxUSE_CALCTRL
=no
5292 DEFAULT_wxUSE_CARET
=no
5293 DEFAULT_wxUSE_COMBOBOX
=no
5294 DEFAULT_wxUSE_CHECKBOX
=no
5295 DEFAULT_wxUSE_CHECKLISTBOX
=no
5296 DEFAULT_wxUSE_CHOICE
=no
5297 DEFAULT_wxUSE_GAUGE
=no
5298 DEFAULT_wxUSE_GRID
=no
5299 DEFAULT_wxUSE_NEW_GRID
=no
5300 DEFAULT_wxUSE_IMAGLIST
=no
5301 DEFAULT_wxUSE_LISTBOX
=no
5302 DEFAULT_wxUSE_LISTCTRL
=no
5303 DEFAULT_wxUSE_NOTEBOOK
=no
5304 DEFAULT_wxUSE_PROPSHEET
=no
5305 DEFAULT_wxUSE_RADIOBOX
=no
5306 DEFAULT_wxUSE_RADIOBTN
=no
5307 DEFAULT_wxUSE_SASH
=no
5308 DEFAULT_wxUSE_SCROLLBAR
=no
5309 DEFAULT_wxUSE_SLIDER
=no
5310 DEFAULT_wxUSE_SPINBTN
=no
5311 DEFAULT_wxUSE_SPINCTRL
=no
5312 DEFAULT_wxUSE_SPLITTER
=no
5313 DEFAULT_wxUSE_STATBMP
=no
5314 DEFAULT_wxUSE_STATBOX
=no
5315 DEFAULT_wxUSE_STATLINE
=no
5316 DEFAULT_wxUSE_STATUSBAR
=no
5317 DEFAULT_wxUSE_TAB_DIALOG
=no
5318 DEFAULT_wxUSE_TOGGLEBTN
=no
5319 DEFAULT_wxUSE_TOOLBAR
=no
5320 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
5321 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
5322 DEFAULT_wxUSE_TOOLTIPS
=no
5323 DEFAULT_wxUSE_TREECTRL
=no
5324 DEFAULT_wxUSE_POPUPWIN
=no
5325 DEFAULT_wxUSE_TIPWINDOW
=no
5329 echo $ac_n "checking for --enable-accel""... $ac_c" 1>&6
5330 echo "configure:5331: checking for --enable-accel" >&5
5332 # Check whether --enable-accel or --disable-accel was given.
5333 if test "${enable_accel+set}" = set; then
5334 enableval
="$enable_accel"
5336 if test "$enableval" = yes; then
5337 ac_cv_use_accel
='wxUSE_ACCEL=yes'
5339 ac_cv_use_accel
='wxUSE_ACCEL=no'
5344 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
5345 if test "x$LINE" != x
; then
5346 eval "DEFAULT_$LINE"
5351 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
5356 eval "$ac_cv_use_accel"
5357 if test "$no_cache" != 1; then
5358 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
5361 if test "$wxUSE_ACCEL" = yes; then
5362 echo "$ac_t""yes" 1>&6
5364 echo "$ac_t""no" 1>&6
5368 echo $ac_n "checking for --enable-button""... $ac_c" 1>&6
5369 echo "configure:5370: checking for --enable-button" >&5
5371 # Check whether --enable-button or --disable-button was given.
5372 if test "${enable_button+set}" = set; then
5373 enableval
="$enable_button"
5375 if test "$enableval" = yes; then
5376 ac_cv_use_button
='wxUSE_BUTTON=yes'
5378 ac_cv_use_button
='wxUSE_BUTTON=no'
5383 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
5384 if test "x$LINE" != x
; then
5385 eval "DEFAULT_$LINE"
5390 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
5395 eval "$ac_cv_use_button"
5396 if test "$no_cache" != 1; then
5397 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
5400 if test "$wxUSE_BUTTON" = yes; then
5401 echo "$ac_t""yes" 1>&6
5403 echo "$ac_t""no" 1>&6
5407 echo $ac_n "checking for --enable-bmpbutton""... $ac_c" 1>&6
5408 echo "configure:5409: checking for --enable-bmpbutton" >&5
5410 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
5411 if test "${enable_bmpbutton+set}" = set; then
5412 enableval
="$enable_bmpbutton"
5414 if test "$enableval" = yes; then
5415 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
5417 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
5422 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
5423 if test "x$LINE" != x
; then
5424 eval "DEFAULT_$LINE"
5429 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
5434 eval "$ac_cv_use_bmpbutton"
5435 if test "$no_cache" != 1; then
5436 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
5439 if test "$wxUSE_BMPBUTTON" = yes; then
5440 echo "$ac_t""yes" 1>&6
5442 echo "$ac_t""no" 1>&6
5446 echo $ac_n "checking for --enable-calendar""... $ac_c" 1>&6
5447 echo "configure:5448: checking for --enable-calendar" >&5
5449 # Check whether --enable-calendar or --disable-calendar was given.
5450 if test "${enable_calendar+set}" = set; then
5451 enableval
="$enable_calendar"
5453 if test "$enableval" = yes; then
5454 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
5456 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
5461 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
5462 if test "x$LINE" != x
; then
5463 eval "DEFAULT_$LINE"
5468 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
5473 eval "$ac_cv_use_calendar"
5474 if test "$no_cache" != 1; then
5475 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
5478 if test "$wxUSE_CALCTRL" = yes; then
5479 echo "$ac_t""yes" 1>&6
5481 echo "$ac_t""no" 1>&6
5485 echo $ac_n "checking for --enable-caret""... $ac_c" 1>&6
5486 echo "configure:5487: checking for --enable-caret" >&5
5488 # Check whether --enable-caret or --disable-caret was given.
5489 if test "${enable_caret+set}" = set; then
5490 enableval
="$enable_caret"
5492 if test "$enableval" = yes; then
5493 ac_cv_use_caret
='wxUSE_CARET=yes'
5495 ac_cv_use_caret
='wxUSE_CARET=no'
5500 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
5501 if test "x$LINE" != x
; then
5502 eval "DEFAULT_$LINE"
5507 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
5512 eval "$ac_cv_use_caret"
5513 if test "$no_cache" != 1; then
5514 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
5517 if test "$wxUSE_CARET" = yes; then
5518 echo "$ac_t""yes" 1>&6
5520 echo "$ac_t""no" 1>&6
5524 echo $ac_n "checking for --enable-checkbox""... $ac_c" 1>&6
5525 echo "configure:5526: checking for --enable-checkbox" >&5
5527 # Check whether --enable-checkbox or --disable-checkbox was given.
5528 if test "${enable_checkbox+set}" = set; then
5529 enableval
="$enable_checkbox"
5531 if test "$enableval" = yes; then
5532 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
5534 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
5539 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
5540 if test "x$LINE" != x
; then
5541 eval "DEFAULT_$LINE"
5546 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
5551 eval "$ac_cv_use_checkbox"
5552 if test "$no_cache" != 1; then
5553 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
5556 if test "$wxUSE_CHECKBOX" = yes; then
5557 echo "$ac_t""yes" 1>&6
5559 echo "$ac_t""no" 1>&6
5563 echo $ac_n "checking for --enable-checklst""... $ac_c" 1>&6
5564 echo "configure:5565: checking for --enable-checklst" >&5
5566 # Check whether --enable-checklst or --disable-checklst was given.
5567 if test "${enable_checklst+set}" = set; then
5568 enableval
="$enable_checklst"
5570 if test "$enableval" = yes; then
5571 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
5573 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
5578 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
5579 if test "x$LINE" != x
; then
5580 eval "DEFAULT_$LINE"
5585 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
5590 eval "$ac_cv_use_checklst"
5591 if test "$no_cache" != 1; then
5592 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
5595 if test "$wxUSE_CHECKLST" = yes; then
5596 echo "$ac_t""yes" 1>&6
5598 echo "$ac_t""no" 1>&6
5602 echo $ac_n "checking for --enable-choice""... $ac_c" 1>&6
5603 echo "configure:5604: checking for --enable-choice" >&5
5605 # Check whether --enable-choice or --disable-choice was given.
5606 if test "${enable_choice+set}" = set; then
5607 enableval
="$enable_choice"
5609 if test "$enableval" = yes; then
5610 ac_cv_use_choice
='wxUSE_CHOICE=yes'
5612 ac_cv_use_choice
='wxUSE_CHOICE=no'
5617 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
5618 if test "x$LINE" != x
; then
5619 eval "DEFAULT_$LINE"
5624 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
5629 eval "$ac_cv_use_choice"
5630 if test "$no_cache" != 1; then
5631 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
5634 if test "$wxUSE_CHOICE" = yes; then
5635 echo "$ac_t""yes" 1>&6
5637 echo "$ac_t""no" 1>&6
5641 echo $ac_n "checking for --enable-combobox""... $ac_c" 1>&6
5642 echo "configure:5643: checking for --enable-combobox" >&5
5644 # Check whether --enable-combobox or --disable-combobox was given.
5645 if test "${enable_combobox+set}" = set; then
5646 enableval
="$enable_combobox"
5648 if test "$enableval" = yes; then
5649 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
5651 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
5656 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
5657 if test "x$LINE" != x
; then
5658 eval "DEFAULT_$LINE"
5663 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
5668 eval "$ac_cv_use_combobox"
5669 if test "$no_cache" != 1; then
5670 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
5673 if test "$wxUSE_COMBOBOX" = yes; then
5674 echo "$ac_t""yes" 1>&6
5676 echo "$ac_t""no" 1>&6
5680 echo $ac_n "checking for --enable-gauge""... $ac_c" 1>&6
5681 echo "configure:5682: checking for --enable-gauge" >&5
5683 # Check whether --enable-gauge or --disable-gauge was given.
5684 if test "${enable_gauge+set}" = set; then
5685 enableval
="$enable_gauge"
5687 if test "$enableval" = yes; then
5688 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
5690 ac_cv_use_gauge
='wxUSE_GAUGE=no'
5695 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
5696 if test "x$LINE" != x
; then
5697 eval "DEFAULT_$LINE"
5702 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
5707 eval "$ac_cv_use_gauge"
5708 if test "$no_cache" != 1; then
5709 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
5712 if test "$wxUSE_GAUGE" = yes; then
5713 echo "$ac_t""yes" 1>&6
5715 echo "$ac_t""no" 1>&6
5719 echo $ac_n "checking for --enable-grid""... $ac_c" 1>&6
5720 echo "configure:5721: checking for --enable-grid" >&5
5722 # Check whether --enable-grid or --disable-grid was given.
5723 if test "${enable_grid+set}" = set; then
5724 enableval
="$enable_grid"
5726 if test "$enableval" = yes; then
5727 ac_cv_use_grid
='wxUSE_GRID=yes'
5729 ac_cv_use_grid
='wxUSE_GRID=no'
5734 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
5735 if test "x$LINE" != x
; then
5736 eval "DEFAULT_$LINE"
5741 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
5746 eval "$ac_cv_use_grid"
5747 if test "$no_cache" != 1; then
5748 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
5751 if test "$wxUSE_GRID" = yes; then
5752 echo "$ac_t""yes" 1>&6
5754 echo "$ac_t""no" 1>&6
5758 echo $ac_n "checking for --enable-newgrid""... $ac_c" 1>&6
5759 echo "configure:5760: checking for --enable-newgrid" >&5
5761 # Check whether --enable-newgrid or --disable-newgrid was given.
5762 if test "${enable_newgrid+set}" = set; then
5763 enableval
="$enable_newgrid"
5765 if test "$enableval" = yes; then
5766 ac_cv_use_newgrid
='wxUSE_NEW_GRID=yes'
5768 ac_cv_use_newgrid
='wxUSE_NEW_GRID=no'
5773 LINE
=`grep "wxUSE_NEW_GRID" ${wx_arg_cache_file}`
5774 if test "x$LINE" != x
; then
5775 eval "DEFAULT_$LINE"
5780 ac_cv_use_newgrid
='wxUSE_NEW_GRID='$DEFAULT_wxUSE_NEW_GRID
5785 eval "$ac_cv_use_newgrid"
5786 if test "$no_cache" != 1; then
5787 echo $ac_cv_use_newgrid >> ${wx_arg_cache_file}.tmp
5790 if test "$wxUSE_NEW_GRID" = yes; then
5791 echo "$ac_t""yes" 1>&6
5793 echo "$ac_t""no" 1>&6
5797 echo $ac_n "checking for --enable-imaglist""... $ac_c" 1>&6
5798 echo "configure:5799: checking for --enable-imaglist" >&5
5800 # Check whether --enable-imaglist or --disable-imaglist was given.
5801 if test "${enable_imaglist+set}" = set; then
5802 enableval
="$enable_imaglist"
5804 if test "$enableval" = yes; then
5805 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
5807 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
5812 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
5813 if test "x$LINE" != x
; then
5814 eval "DEFAULT_$LINE"
5819 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
5824 eval "$ac_cv_use_imaglist"
5825 if test "$no_cache" != 1; then
5826 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
5829 if test "$wxUSE_IMAGLIST" = yes; then
5830 echo "$ac_t""yes" 1>&6
5832 echo "$ac_t""no" 1>&6
5836 echo $ac_n "checking for --enable-listbox""... $ac_c" 1>&6
5837 echo "configure:5838: checking for --enable-listbox" >&5
5839 # Check whether --enable-listbox or --disable-listbox was given.
5840 if test "${enable_listbox+set}" = set; then
5841 enableval
="$enable_listbox"
5843 if test "$enableval" = yes; then
5844 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
5846 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
5851 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
5852 if test "x$LINE" != x
; then
5853 eval "DEFAULT_$LINE"
5858 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
5863 eval "$ac_cv_use_listbox"
5864 if test "$no_cache" != 1; then
5865 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
5868 if test "$wxUSE_LISTBOX" = yes; then
5869 echo "$ac_t""yes" 1>&6
5871 echo "$ac_t""no" 1>&6
5875 echo $ac_n "checking for --enable-listctrl""... $ac_c" 1>&6
5876 echo "configure:5877: checking for --enable-listctrl" >&5
5878 # Check whether --enable-listctrl or --disable-listctrl was given.
5879 if test "${enable_listctrl+set}" = set; then
5880 enableval
="$enable_listctrl"
5882 if test "$enableval" = yes; then
5883 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
5885 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
5890 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
5891 if test "x$LINE" != x
; then
5892 eval "DEFAULT_$LINE"
5897 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
5902 eval "$ac_cv_use_listctrl"
5903 if test "$no_cache" != 1; then
5904 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
5907 if test "$wxUSE_LISTCTRL" = yes; then
5908 echo "$ac_t""yes" 1>&6
5910 echo "$ac_t""no" 1>&6
5914 echo $ac_n "checking for --enable-notebook""... $ac_c" 1>&6
5915 echo "configure:5916: checking for --enable-notebook" >&5
5917 # Check whether --enable-notebook or --disable-notebook was given.
5918 if test "${enable_notebook+set}" = set; then
5919 enableval
="$enable_notebook"
5921 if test "$enableval" = yes; then
5922 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
5924 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
5929 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
5930 if test "x$LINE" != x
; then
5931 eval "DEFAULT_$LINE"
5936 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
5941 eval "$ac_cv_use_notebook"
5942 if test "$no_cache" != 1; then
5943 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
5946 if test "$wxUSE_NOTEBOOK" = yes; then
5947 echo "$ac_t""yes" 1>&6
5949 echo "$ac_t""no" 1>&6
5953 echo $ac_n "checking for --enable-propsheet""... $ac_c" 1>&6
5954 echo "configure:5955: checking for --enable-propsheet" >&5
5956 # Check whether --enable-propsheet or --disable-propsheet was given.
5957 if test "${enable_propsheet+set}" = set; then
5958 enableval
="$enable_propsheet"
5960 if test "$enableval" = yes; then
5961 ac_cv_use_propsheet
='wxUSE_PROPSHEET=yes'
5963 ac_cv_use_propsheet
='wxUSE_PROPSHEET=no'
5968 LINE
=`grep "wxUSE_PROPSHEET" ${wx_arg_cache_file}`
5969 if test "x$LINE" != x
; then
5970 eval "DEFAULT_$LINE"
5975 ac_cv_use_propsheet
='wxUSE_PROPSHEET='$DEFAULT_wxUSE_PROPSHEET
5980 eval "$ac_cv_use_propsheet"
5981 if test "$no_cache" != 1; then
5982 echo $ac_cv_use_propsheet >> ${wx_arg_cache_file}.tmp
5985 if test "$wxUSE_PROPSHEET" = yes; then
5986 echo "$ac_t""yes" 1>&6
5988 echo "$ac_t""no" 1>&6
5992 echo $ac_n "checking for --enable-radiobox""... $ac_c" 1>&6
5993 echo "configure:5994: checking for --enable-radiobox" >&5
5995 # Check whether --enable-radiobox or --disable-radiobox was given.
5996 if test "${enable_radiobox+set}" = set; then
5997 enableval
="$enable_radiobox"
5999 if test "$enableval" = yes; then
6000 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
6002 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
6007 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
6008 if test "x$LINE" != x
; then
6009 eval "DEFAULT_$LINE"
6014 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
6019 eval "$ac_cv_use_radiobox"
6020 if test "$no_cache" != 1; then
6021 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
6024 if test "$wxUSE_RADIOBOX" = yes; then
6025 echo "$ac_t""yes" 1>&6
6027 echo "$ac_t""no" 1>&6
6031 echo $ac_n "checking for --enable-radiobtn""... $ac_c" 1>&6
6032 echo "configure:6033: checking for --enable-radiobtn" >&5
6034 # Check whether --enable-radiobtn or --disable-radiobtn was given.
6035 if test "${enable_radiobtn+set}" = set; then
6036 enableval
="$enable_radiobtn"
6038 if test "$enableval" = yes; then
6039 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
6041 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
6046 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
6047 if test "x$LINE" != x
; then
6048 eval "DEFAULT_$LINE"
6053 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
6058 eval "$ac_cv_use_radiobtn"
6059 if test "$no_cache" != 1; then
6060 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
6063 if test "$wxUSE_RADIOBTN" = yes; then
6064 echo "$ac_t""yes" 1>&6
6066 echo "$ac_t""no" 1>&6
6070 echo $ac_n "checking for --enable-sash""... $ac_c" 1>&6
6071 echo "configure:6072: checking for --enable-sash" >&5
6073 # Check whether --enable-sash or --disable-sash was given.
6074 if test "${enable_sash+set}" = set; then
6075 enableval
="$enable_sash"
6077 if test "$enableval" = yes; then
6078 ac_cv_use_sash
='wxUSE_SASH=yes'
6080 ac_cv_use_sash
='wxUSE_SASH=no'
6085 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
6086 if test "x$LINE" != x
; then
6087 eval "DEFAULT_$LINE"
6092 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
6097 eval "$ac_cv_use_sash"
6098 if test "$no_cache" != 1; then
6099 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
6102 if test "$wxUSE_SASH" = yes; then
6103 echo "$ac_t""yes" 1>&6
6105 echo "$ac_t""no" 1>&6
6109 echo $ac_n "checking for --enable-scrollbar""... $ac_c" 1>&6
6110 echo "configure:6111: checking for --enable-scrollbar" >&5
6112 # Check whether --enable-scrollbar or --disable-scrollbar was given.
6113 if test "${enable_scrollbar+set}" = set; then
6114 enableval
="$enable_scrollbar"
6116 if test "$enableval" = yes; then
6117 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
6119 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
6124 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
6125 if test "x$LINE" != x
; then
6126 eval "DEFAULT_$LINE"
6131 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
6136 eval "$ac_cv_use_scrollbar"
6137 if test "$no_cache" != 1; then
6138 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
6141 if test "$wxUSE_SCROLLBAR" = yes; then
6142 echo "$ac_t""yes" 1>&6
6144 echo "$ac_t""no" 1>&6
6148 echo $ac_n "checking for --enable-slider""... $ac_c" 1>&6
6149 echo "configure:6150: checking for --enable-slider" >&5
6151 # Check whether --enable-slider or --disable-slider was given.
6152 if test "${enable_slider+set}" = set; then
6153 enableval
="$enable_slider"
6155 if test "$enableval" = yes; then
6156 ac_cv_use_slider
='wxUSE_SLIDER=yes'
6158 ac_cv_use_slider
='wxUSE_SLIDER=no'
6163 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
6164 if test "x$LINE" != x
; then
6165 eval "DEFAULT_$LINE"
6170 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
6175 eval "$ac_cv_use_slider"
6176 if test "$no_cache" != 1; then
6177 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
6180 if test "$wxUSE_SLIDER" = yes; then
6181 echo "$ac_t""yes" 1>&6
6183 echo "$ac_t""no" 1>&6
6187 echo $ac_n "checking for --enable-spinbtn""... $ac_c" 1>&6
6188 echo "configure:6189: checking for --enable-spinbtn" >&5
6190 # Check whether --enable-spinbtn or --disable-spinbtn was given.
6191 if test "${enable_spinbtn+set}" = set; then
6192 enableval
="$enable_spinbtn"
6194 if test "$enableval" = yes; then
6195 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
6197 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
6202 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
6203 if test "x$LINE" != x
; then
6204 eval "DEFAULT_$LINE"
6209 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
6214 eval "$ac_cv_use_spinbtn"
6215 if test "$no_cache" != 1; then
6216 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
6219 if test "$wxUSE_SPINBTN" = yes; then
6220 echo "$ac_t""yes" 1>&6
6222 echo "$ac_t""no" 1>&6
6226 echo $ac_n "checking for --enable-spinctrl""... $ac_c" 1>&6
6227 echo "configure:6228: checking for --enable-spinctrl" >&5
6229 # Check whether --enable-spinctrl or --disable-spinctrl was given.
6230 if test "${enable_spinctrl+set}" = set; then
6231 enableval
="$enable_spinctrl"
6233 if test "$enableval" = yes; then
6234 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
6236 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
6241 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
6242 if test "x$LINE" != x
; then
6243 eval "DEFAULT_$LINE"
6248 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
6253 eval "$ac_cv_use_spinctrl"
6254 if test "$no_cache" != 1; then
6255 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
6258 if test "$wxUSE_SPINCTRL" = yes; then
6259 echo "$ac_t""yes" 1>&6
6261 echo "$ac_t""no" 1>&6
6265 echo $ac_n "checking for --enable-splitter""... $ac_c" 1>&6
6266 echo "configure:6267: checking for --enable-splitter" >&5
6268 # Check whether --enable-splitter or --disable-splitter was given.
6269 if test "${enable_splitter+set}" = set; then
6270 enableval
="$enable_splitter"
6272 if test "$enableval" = yes; then
6273 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
6275 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
6280 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
6281 if test "x$LINE" != x
; then
6282 eval "DEFAULT_$LINE"
6287 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
6292 eval "$ac_cv_use_splitter"
6293 if test "$no_cache" != 1; then
6294 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
6297 if test "$wxUSE_SPLITTER" = yes; then
6298 echo "$ac_t""yes" 1>&6
6300 echo "$ac_t""no" 1>&6
6304 echo $ac_n "checking for --enable-statbmp""... $ac_c" 1>&6
6305 echo "configure:6306: checking for --enable-statbmp" >&5
6307 # Check whether --enable-statbmp or --disable-statbmp was given.
6308 if test "${enable_statbmp+set}" = set; then
6309 enableval
="$enable_statbmp"
6311 if test "$enableval" = yes; then
6312 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
6314 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
6319 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
6320 if test "x$LINE" != x
; then
6321 eval "DEFAULT_$LINE"
6326 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
6331 eval "$ac_cv_use_statbmp"
6332 if test "$no_cache" != 1; then
6333 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
6336 if test "$wxUSE_STATBMP" = yes; then
6337 echo "$ac_t""yes" 1>&6
6339 echo "$ac_t""no" 1>&6
6343 echo $ac_n "checking for --enable-statbox""... $ac_c" 1>&6
6344 echo "configure:6345: checking for --enable-statbox" >&5
6346 # Check whether --enable-statbox or --disable-statbox was given.
6347 if test "${enable_statbox+set}" = set; then
6348 enableval
="$enable_statbox"
6350 if test "$enableval" = yes; then
6351 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
6353 ac_cv_use_statbox
='wxUSE_STATBOX=no'
6358 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
6359 if test "x$LINE" != x
; then
6360 eval "DEFAULT_$LINE"
6365 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
6370 eval "$ac_cv_use_statbox"
6371 if test "$no_cache" != 1; then
6372 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
6375 if test "$wxUSE_STATBOX" = yes; then
6376 echo "$ac_t""yes" 1>&6
6378 echo "$ac_t""no" 1>&6
6382 echo $ac_n "checking for --enable-statline""... $ac_c" 1>&6
6383 echo "configure:6384: checking for --enable-statline" >&5
6385 # Check whether --enable-statline or --disable-statline was given.
6386 if test "${enable_statline+set}" = set; then
6387 enableval
="$enable_statline"
6389 if test "$enableval" = yes; then
6390 ac_cv_use_statline
='wxUSE_STATLINE=yes'
6392 ac_cv_use_statline
='wxUSE_STATLINE=no'
6397 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
6398 if test "x$LINE" != x
; then
6399 eval "DEFAULT_$LINE"
6404 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
6409 eval "$ac_cv_use_statline"
6410 if test "$no_cache" != 1; then
6411 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
6414 if test "$wxUSE_STATLINE" = yes; then
6415 echo "$ac_t""yes" 1>&6
6417 echo "$ac_t""no" 1>&6
6421 echo $ac_n "checking for --enable-stattext""... $ac_c" 1>&6
6422 echo "configure:6423: checking for --enable-stattext" >&5
6424 # Check whether --enable-stattext or --disable-stattext was given.
6425 if test "${enable_stattext+set}" = set; then
6426 enableval
="$enable_stattext"
6428 if test "$enableval" = yes; then
6429 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
6431 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
6436 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
6437 if test "x$LINE" != x
; then
6438 eval "DEFAULT_$LINE"
6443 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
6448 eval "$ac_cv_use_stattext"
6449 if test "$no_cache" != 1; then
6450 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
6453 if test "$wxUSE_STATTEXT" = yes; then
6454 echo "$ac_t""yes" 1>&6
6456 echo "$ac_t""no" 1>&6
6460 echo $ac_n "checking for --enable-statusbar""... $ac_c" 1>&6
6461 echo "configure:6462: checking for --enable-statusbar" >&5
6463 # Check whether --enable-statusbar or --disable-statusbar was given.
6464 if test "${enable_statusbar+set}" = set; then
6465 enableval
="$enable_statusbar"
6467 if test "$enableval" = yes; then
6468 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
6470 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
6475 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
6476 if test "x$LINE" != x
; then
6477 eval "DEFAULT_$LINE"
6482 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
6487 eval "$ac_cv_use_statusbar"
6488 if test "$no_cache" != 1; then
6489 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
6492 if test "$wxUSE_STATUSBAR" = yes; then
6493 echo "$ac_t""yes" 1>&6
6495 echo "$ac_t""no" 1>&6
6499 echo $ac_n "checking for --enable-tabdialog""... $ac_c" 1>&6
6500 echo "configure:6501: checking for --enable-tabdialog" >&5
6502 # Check whether --enable-tabdialog or --disable-tabdialog was given.
6503 if test "${enable_tabdialog+set}" = set; then
6504 enableval
="$enable_tabdialog"
6506 if test "$enableval" = yes; then
6507 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
6509 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
6514 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
6515 if test "x$LINE" != x
; then
6516 eval "DEFAULT_$LINE"
6521 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
6526 eval "$ac_cv_use_tabdialog"
6527 if test "$no_cache" != 1; then
6528 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
6531 if test "$wxUSE_TABDIALOG" = yes; then
6532 echo "$ac_t""yes" 1>&6
6534 echo "$ac_t""no" 1>&6
6538 echo $ac_n "checking for --enable-textctrl""... $ac_c" 1>&6
6539 echo "configure:6540: checking for --enable-textctrl" >&5
6541 # Check whether --enable-textctrl or --disable-textctrl was given.
6542 if test "${enable_textctrl+set}" = set; then
6543 enableval
="$enable_textctrl"
6545 if test "$enableval" = yes; then
6546 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
6548 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
6553 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
6554 if test "x$LINE" != x
; then
6555 eval "DEFAULT_$LINE"
6560 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
6565 eval "$ac_cv_use_textctrl"
6566 if test "$no_cache" != 1; then
6567 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
6570 if test "$wxUSE_TEXTCTRL" = yes; then
6571 echo "$ac_t""yes" 1>&6
6573 echo "$ac_t""no" 1>&6
6577 echo $ac_n "checking for --enable-togglebtn""... $ac_c" 1>&6
6578 echo "configure:6579: checking for --enable-togglebtn" >&5
6580 # Check whether --enable-togglebtn or --disable-togglebtn was given.
6581 if test "${enable_togglebtn+set}" = set; then
6582 enableval
="$enable_togglebtn"
6584 if test "$enableval" = yes; then
6585 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
6587 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
6592 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
6593 if test "x$LINE" != x
; then
6594 eval "DEFAULT_$LINE"
6599 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
6604 eval "$ac_cv_use_togglebtn"
6605 if test "$no_cache" != 1; then
6606 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
6609 if test "$wxUSE_TOGGLEBTN" = yes; then
6610 echo "$ac_t""yes" 1>&6
6612 echo "$ac_t""no" 1>&6
6616 echo $ac_n "checking for --enable-toolbar""... $ac_c" 1>&6
6617 echo "configure:6618: checking for --enable-toolbar" >&5
6619 # Check whether --enable-toolbar or --disable-toolbar was given.
6620 if test "${enable_toolbar+set}" = set; then
6621 enableval
="$enable_toolbar"
6623 if test "$enableval" = yes; then
6624 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
6626 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
6631 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
6632 if test "x$LINE" != x
; then
6633 eval "DEFAULT_$LINE"
6638 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
6643 eval "$ac_cv_use_toolbar"
6644 if test "$no_cache" != 1; then
6645 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
6648 if test "$wxUSE_TOOLBAR" = yes; then
6649 echo "$ac_t""yes" 1>&6
6651 echo "$ac_t""no" 1>&6
6655 echo $ac_n "checking for --enable-tbarnative""... $ac_c" 1>&6
6656 echo "configure:6657: checking for --enable-tbarnative" >&5
6658 # Check whether --enable-tbarnative or --disable-tbarnative was given.
6659 if test "${enable_tbarnative+set}" = set; then
6660 enableval
="$enable_tbarnative"
6662 if test "$enableval" = yes; then
6663 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
6665 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
6670 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
6671 if test "x$LINE" != x
; then
6672 eval "DEFAULT_$LINE"
6677 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
6682 eval "$ac_cv_use_tbarnative"
6683 if test "$no_cache" != 1; then
6684 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
6687 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
6688 echo "$ac_t""yes" 1>&6
6690 echo "$ac_t""no" 1>&6
6694 echo $ac_n "checking for --enable-tbarsmpl""... $ac_c" 1>&6
6695 echo "configure:6696: checking for --enable-tbarsmpl" >&5
6697 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
6698 if test "${enable_tbarsmpl+set}" = set; then
6699 enableval
="$enable_tbarsmpl"
6701 if test "$enableval" = yes; then
6702 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
6704 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
6709 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
6710 if test "x$LINE" != x
; then
6711 eval "DEFAULT_$LINE"
6716 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
6721 eval "$ac_cv_use_tbarsmpl"
6722 if test "$no_cache" != 1; then
6723 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
6726 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
6727 echo "$ac_t""yes" 1>&6
6729 echo "$ac_t""no" 1>&6
6733 echo $ac_n "checking for --enable-treectrl""... $ac_c" 1>&6
6734 echo "configure:6735: checking for --enable-treectrl" >&5
6736 # Check whether --enable-treectrl or --disable-treectrl was given.
6737 if test "${enable_treectrl+set}" = set; then
6738 enableval
="$enable_treectrl"
6740 if test "$enableval" = yes; then
6741 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
6743 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
6748 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
6749 if test "x$LINE" != x
; then
6750 eval "DEFAULT_$LINE"
6755 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
6760 eval "$ac_cv_use_treectrl"
6761 if test "$no_cache" != 1; then
6762 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
6765 if test "$wxUSE_TREECTRL" = yes; then
6766 echo "$ac_t""yes" 1>&6
6768 echo "$ac_t""no" 1>&6
6772 echo $ac_n "checking for --enable-tipwindow""... $ac_c" 1>&6
6773 echo "configure:6774: checking for --enable-tipwindow" >&5
6775 # Check whether --enable-tipwindow or --disable-tipwindow was given.
6776 if test "${enable_tipwindow+set}" = set; then
6777 enableval
="$enable_tipwindow"
6779 if test "$enableval" = yes; then
6780 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
6782 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
6787 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
6788 if test "x$LINE" != x
; then
6789 eval "DEFAULT_$LINE"
6794 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
6799 eval "$ac_cv_use_tipwindow"
6800 if test "$no_cache" != 1; then
6801 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
6804 if test "$wxUSE_TIPWINDOW" = yes; then
6805 echo "$ac_t""yes" 1>&6
6807 echo "$ac_t""no" 1>&6
6811 echo $ac_n "checking for --enable-popupwin""... $ac_c" 1>&6
6812 echo "configure:6813: checking for --enable-popupwin" >&5
6814 # Check whether --enable-popupwin or --disable-popupwin was given.
6815 if test "${enable_popupwin+set}" = set; then
6816 enableval
="$enable_popupwin"
6818 if test "$enableval" = yes; then
6819 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
6821 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
6826 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
6827 if test "x$LINE" != x
; then
6828 eval "DEFAULT_$LINE"
6833 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
6838 eval "$ac_cv_use_popupwin"
6839 if test "$no_cache" != 1; then
6840 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
6843 if test "$wxUSE_POPUPWIN" = yes; then
6844 echo "$ac_t""yes" 1>&6
6846 echo "$ac_t""no" 1>&6
6852 echo $ac_n "checking for --enable-commondlg""... $ac_c" 1>&6
6853 echo "configure:6854: checking for --enable-commondlg" >&5
6855 # Check whether --enable-commondlg or --disable-commondlg was given.
6856 if test "${enable_commondlg+set}" = set; then
6857 enableval
="$enable_commondlg"
6859 if test "$enableval" = yes; then
6860 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
6862 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
6867 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
6868 if test "x$LINE" != x
; then
6869 eval "DEFAULT_$LINE"
6874 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
6879 eval "$ac_cv_use_commondlg"
6880 if test "$no_cache" != 1; then
6881 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
6884 if test "$wxUSE_COMMONDLGS" = yes; then
6885 echo "$ac_t""yes" 1>&6
6887 echo "$ac_t""no" 1>&6
6891 echo $ac_n "checking for --enable-choicedlg""... $ac_c" 1>&6
6892 echo "configure:6893: checking for --enable-choicedlg" >&5
6894 # Check whether --enable-choicedlg or --disable-choicedlg was given.
6895 if test "${enable_choicedlg+set}" = set; then
6896 enableval
="$enable_choicedlg"
6898 if test "$enableval" = yes; then
6899 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
6901 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
6906 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
6907 if test "x$LINE" != x
; then
6908 eval "DEFAULT_$LINE"
6913 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
6918 eval "$ac_cv_use_choicedlg"
6919 if test "$no_cache" != 1; then
6920 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
6923 if test "$wxUSE_CHOICEDLG" = yes; then
6924 echo "$ac_t""yes" 1>&6
6926 echo "$ac_t""no" 1>&6
6930 echo $ac_n "checking for --enable-coldlg""... $ac_c" 1>&6
6931 echo "configure:6932: checking for --enable-coldlg" >&5
6933 # Check whether --enable-coldlg or --disable-coldlg was given.
6934 if test "${enable_coldlg+set}" = set; then
6935 enableval
="$enable_coldlg"
6937 if test "$enableval" = yes; then
6938 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
6940 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
6945 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
6946 if test "x$LINE" != x
; then
6947 eval "DEFAULT_$LINE"
6952 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
6957 eval "$ac_cv_use_coldlg"
6958 if test "$no_cache" != 1; then
6959 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
6962 if test "$wxUSE_COLOURDLG" = yes; then
6963 echo "$ac_t""yes" 1>&6
6965 echo "$ac_t""no" 1>&6
6969 echo $ac_n "checking for --enable-filedlg""... $ac_c" 1>&6
6970 echo "configure:6971: checking for --enable-filedlg" >&5
6972 # Check whether --enable-filedlg or --disable-filedlg was given.
6973 if test "${enable_filedlg+set}" = set; then
6974 enableval
="$enable_filedlg"
6976 if test "$enableval" = yes; then
6977 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
6979 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
6984 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
6985 if test "x$LINE" != x
; then
6986 eval "DEFAULT_$LINE"
6991 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
6996 eval "$ac_cv_use_filedlg"
6997 if test "$no_cache" != 1; then
6998 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
7001 if test "$wxUSE_FILEDLG" = yes; then
7002 echo "$ac_t""yes" 1>&6
7004 echo "$ac_t""no" 1>&6
7008 echo $ac_n "checking for --enable-finddlg""... $ac_c" 1>&6
7009 echo "configure:7010: checking for --enable-finddlg" >&5
7011 # Check whether --enable-finddlg or --disable-finddlg was given.
7012 if test "${enable_finddlg+set}" = set; then
7013 enableval
="$enable_finddlg"
7015 if test "$enableval" = yes; then
7016 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
7018 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
7023 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
7024 if test "x$LINE" != x
; then
7025 eval "DEFAULT_$LINE"
7030 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
7035 eval "$ac_cv_use_finddlg"
7036 if test "$no_cache" != 1; then
7037 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
7040 if test "$wxUSE_FINDREPLDLG" = yes; then
7041 echo "$ac_t""yes" 1>&6
7043 echo "$ac_t""no" 1>&6
7047 echo $ac_n "checking for --enable-fontdlg""... $ac_c" 1>&6
7048 echo "configure:7049: checking for --enable-fontdlg" >&5
7050 # Check whether --enable-fontdlg or --disable-fontdlg was given.
7051 if test "${enable_fontdlg+set}" = set; then
7052 enableval
="$enable_fontdlg"
7054 if test "$enableval" = yes; then
7055 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
7057 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
7062 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
7063 if test "x$LINE" != x
; then
7064 eval "DEFAULT_$LINE"
7069 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
7074 eval "$ac_cv_use_fontdlg"
7075 if test "$no_cache" != 1; then
7076 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
7079 if test "$wxUSE_FONTDLG" = yes; then
7080 echo "$ac_t""yes" 1>&6
7082 echo "$ac_t""no" 1>&6
7086 echo $ac_n "checking for --enable-dirdlg""... $ac_c" 1>&6
7087 echo "configure:7088: checking for --enable-dirdlg" >&5
7089 # Check whether --enable-dirdlg or --disable-dirdlg was given.
7090 if test "${enable_dirdlg+set}" = set; then
7091 enableval
="$enable_dirdlg"
7093 if test "$enableval" = yes; then
7094 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
7096 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
7101 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
7102 if test "x$LINE" != x
; then
7103 eval "DEFAULT_$LINE"
7108 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
7113 eval "$ac_cv_use_dirdlg"
7114 if test "$no_cache" != 1; then
7115 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
7118 if test "$wxUSE_DIRDLG" = yes; then
7119 echo "$ac_t""yes" 1>&6
7121 echo "$ac_t""no" 1>&6
7125 echo $ac_n "checking for --enable-msgdlg""... $ac_c" 1>&6
7126 echo "configure:7127: checking for --enable-msgdlg" >&5
7128 # Check whether --enable-msgdlg or --disable-msgdlg was given.
7129 if test "${enable_msgdlg+set}" = set; then
7130 enableval
="$enable_msgdlg"
7132 if test "$enableval" = yes; then
7133 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
7135 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
7140 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
7141 if test "x$LINE" != x
; then
7142 eval "DEFAULT_$LINE"
7147 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
7152 eval "$ac_cv_use_msgdlg"
7153 if test "$no_cache" != 1; then
7154 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
7157 if test "$wxUSE_MSGDLG" = yes; then
7158 echo "$ac_t""yes" 1>&6
7160 echo "$ac_t""no" 1>&6
7164 echo $ac_n "checking for --enable-numberdlg""... $ac_c" 1>&6
7165 echo "configure:7166: checking for --enable-numberdlg" >&5
7167 # Check whether --enable-numberdlg or --disable-numberdlg was given.
7168 if test "${enable_numberdlg+set}" = set; then
7169 enableval
="$enable_numberdlg"
7171 if test "$enableval" = yes; then
7172 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
7174 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
7179 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
7180 if test "x$LINE" != x
; then
7181 eval "DEFAULT_$LINE"
7186 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
7191 eval "$ac_cv_use_numberdlg"
7192 if test "$no_cache" != 1; then
7193 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
7196 if test "$wxUSE_NUMBERDLG" = yes; then
7197 echo "$ac_t""yes" 1>&6
7199 echo "$ac_t""no" 1>&6
7203 echo $ac_n "checking for --enable-splash""... $ac_c" 1>&6
7204 echo "configure:7205: checking for --enable-splash" >&5
7206 # Check whether --enable-splash or --disable-splash was given.
7207 if test "${enable_splash+set}" = set; then
7208 enableval
="$enable_splash"
7210 if test "$enableval" = yes; then
7211 ac_cv_use_splash
='wxUSE_SPLASH=yes'
7213 ac_cv_use_splash
='wxUSE_SPLASH=no'
7218 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
7219 if test "x$LINE" != x
; then
7220 eval "DEFAULT_$LINE"
7225 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
7230 eval "$ac_cv_use_splash"
7231 if test "$no_cache" != 1; then
7232 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
7235 if test "$wxUSE_SPLASH" = yes; then
7236 echo "$ac_t""yes" 1>&6
7238 echo "$ac_t""no" 1>&6
7242 echo $ac_n "checking for --enable-textdlg""... $ac_c" 1>&6
7243 echo "configure:7244: checking for --enable-textdlg" >&5
7245 # Check whether --enable-textdlg or --disable-textdlg was given.
7246 if test "${enable_textdlg+set}" = set; then
7247 enableval
="$enable_textdlg"
7249 if test "$enableval" = yes; then
7250 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
7252 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
7257 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
7258 if test "x$LINE" != x
; then
7259 eval "DEFAULT_$LINE"
7264 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
7269 eval "$ac_cv_use_textdlg"
7270 if test "$no_cache" != 1; then
7271 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
7274 if test "$wxUSE_TEXTDLG" = yes; then
7275 echo "$ac_t""yes" 1>&6
7277 echo "$ac_t""no" 1>&6
7281 echo $ac_n "checking for --enable-tipdlg""... $ac_c" 1>&6
7282 echo "configure:7283: checking for --enable-tipdlg" >&5
7284 # Check whether --enable-tipdlg or --disable-tipdlg was given.
7285 if test "${enable_tipdlg+set}" = set; then
7286 enableval
="$enable_tipdlg"
7288 if test "$enableval" = yes; then
7289 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
7291 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
7296 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
7297 if test "x$LINE" != x
; then
7298 eval "DEFAULT_$LINE"
7303 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
7308 eval "$ac_cv_use_tipdlg"
7309 if test "$no_cache" != 1; then
7310 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
7313 if test "$wxUSE_STARTUP_TIPS" = yes; then
7314 echo "$ac_t""yes" 1>&6
7316 echo "$ac_t""no" 1>&6
7320 echo $ac_n "checking for --enable-progressdlg""... $ac_c" 1>&6
7321 echo "configure:7322: checking for --enable-progressdlg" >&5
7323 # Check whether --enable-progressdlg or --disable-progressdlg was given.
7324 if test "${enable_progressdlg+set}" = set; then
7325 enableval
="$enable_progressdlg"
7327 if test "$enableval" = yes; then
7328 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
7330 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
7335 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
7336 if test "x$LINE" != x
; then
7337 eval "DEFAULT_$LINE"
7342 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
7347 eval "$ac_cv_use_progressdlg"
7348 if test "$no_cache" != 1; then
7349 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
7352 if test "$wxUSE_PROGRESSDLG" = yes; then
7353 echo "$ac_t""yes" 1>&6
7355 echo "$ac_t""no" 1>&6
7359 echo $ac_n "checking for --enable-wizarddlg""... $ac_c" 1>&6
7360 echo "configure:7361: checking for --enable-wizarddlg" >&5
7362 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
7363 if test "${enable_wizarddlg+set}" = set; then
7364 enableval
="$enable_wizarddlg"
7366 if test "$enableval" = yes; then
7367 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
7369 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
7374 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
7375 if test "x$LINE" != x
; then
7376 eval "DEFAULT_$LINE"
7381 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
7386 eval "$ac_cv_use_wizarddlg"
7387 if test "$no_cache" != 1; then
7388 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
7391 if test "$wxUSE_WIZARDDLG" = yes; then
7392 echo "$ac_t""yes" 1>&6
7394 echo "$ac_t""no" 1>&6
7400 echo $ac_n "checking for --enable-menus""... $ac_c" 1>&6
7401 echo "configure:7402: checking for --enable-menus" >&5
7403 # Check whether --enable-menus or --disable-menus was given.
7404 if test "${enable_menus+set}" = set; then
7405 enableval
="$enable_menus"
7407 if test "$enableval" = yes; then
7408 ac_cv_use_menus
='wxUSE_MENUS=yes'
7410 ac_cv_use_menus
='wxUSE_MENUS=no'
7415 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
7416 if test "x$LINE" != x
; then
7417 eval "DEFAULT_$LINE"
7422 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
7427 eval "$ac_cv_use_menus"
7428 if test "$no_cache" != 1; then
7429 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
7432 if test "$wxUSE_MENUS" = yes; then
7433 echo "$ac_t""yes" 1>&6
7435 echo "$ac_t""no" 1>&6
7439 echo $ac_n "checking for --enable-miniframe""... $ac_c" 1>&6
7440 echo "configure:7441: checking for --enable-miniframe" >&5
7442 # Check whether --enable-miniframe or --disable-miniframe was given.
7443 if test "${enable_miniframe+set}" = set; then
7444 enableval
="$enable_miniframe"
7446 if test "$enableval" = yes; then
7447 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
7449 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
7454 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
7455 if test "x$LINE" != x
; then
7456 eval "DEFAULT_$LINE"
7461 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
7466 eval "$ac_cv_use_miniframe"
7467 if test "$no_cache" != 1; then
7468 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
7471 if test "$wxUSE_MINIFRAME" = yes; then
7472 echo "$ac_t""yes" 1>&6
7474 echo "$ac_t""no" 1>&6
7478 echo $ac_n "checking for --enable-tooltips""... $ac_c" 1>&6
7479 echo "configure:7480: checking for --enable-tooltips" >&5
7481 # Check whether --enable-tooltips or --disable-tooltips was given.
7482 if test "${enable_tooltips+set}" = set; then
7483 enableval
="$enable_tooltips"
7485 if test "$enableval" = yes; then
7486 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
7488 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
7493 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
7494 if test "x$LINE" != x
; then
7495 eval "DEFAULT_$LINE"
7500 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
7505 eval "$ac_cv_use_tooltips"
7506 if test "$no_cache" != 1; then
7507 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
7510 if test "$wxUSE_TOOLTIPS" = yes; then
7511 echo "$ac_t""yes" 1>&6
7513 echo "$ac_t""no" 1>&6
7517 echo $ac_n "checking for --enable-splines""... $ac_c" 1>&6
7518 echo "configure:7519: checking for --enable-splines" >&5
7520 # Check whether --enable-splines or --disable-splines was given.
7521 if test "${enable_splines+set}" = set; then
7522 enableval
="$enable_splines"
7524 if test "$enableval" = yes; then
7525 ac_cv_use_splines
='wxUSE_SPLINES=yes'
7527 ac_cv_use_splines
='wxUSE_SPLINES=no'
7532 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
7533 if test "x$LINE" != x
; then
7534 eval "DEFAULT_$LINE"
7539 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
7544 eval "$ac_cv_use_splines"
7545 if test "$no_cache" != 1; then
7546 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
7549 if test "$wxUSE_SPLINES" = yes; then
7550 echo "$ac_t""yes" 1>&6
7552 echo "$ac_t""no" 1>&6
7556 echo $ac_n "checking for --enable-validators""... $ac_c" 1>&6
7557 echo "configure:7558: checking for --enable-validators" >&5
7559 # Check whether --enable-validators or --disable-validators was given.
7560 if test "${enable_validators+set}" = set; then
7561 enableval
="$enable_validators"
7563 if test "$enableval" = yes; then
7564 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
7566 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
7571 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
7572 if test "x$LINE" != x
; then
7573 eval "DEFAULT_$LINE"
7578 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
7583 eval "$ac_cv_use_validators"
7584 if test "$no_cache" != 1; then
7585 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
7588 if test "$wxUSE_VALIDATORS" = yes; then
7589 echo "$ac_t""yes" 1>&6
7591 echo "$ac_t""no" 1>&6
7595 echo $ac_n "checking for --enable-busyinfo""... $ac_c" 1>&6
7596 echo "configure:7597: checking for --enable-busyinfo" >&5
7598 # Check whether --enable-busyinfo or --disable-busyinfo was given.
7599 if test "${enable_busyinfo+set}" = set; then
7600 enableval
="$enable_busyinfo"
7602 if test "$enableval" = yes; then
7603 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
7605 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
7610 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
7611 if test "x$LINE" != x
; then
7612 eval "DEFAULT_$LINE"
7617 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
7622 eval "$ac_cv_use_busyinfo"
7623 if test "$no_cache" != 1; then
7624 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
7627 if test "$wxUSE_BUSYINFO" = yes; then
7628 echo "$ac_t""yes" 1>&6
7630 echo "$ac_t""no" 1>&6
7634 echo $ac_n "checking for --enable-joystick""... $ac_c" 1>&6
7635 echo "configure:7636: checking for --enable-joystick" >&5
7637 # Check whether --enable-joystick or --disable-joystick was given.
7638 if test "${enable_joystick+set}" = set; then
7639 enableval
="$enable_joystick"
7641 if test "$enableval" = yes; then
7642 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
7644 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
7649 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
7650 if test "x$LINE" != x
; then
7651 eval "DEFAULT_$LINE"
7656 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
7661 eval "$ac_cv_use_joystick"
7662 if test "$no_cache" != 1; then
7663 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
7666 if test "$wxUSE_JOYSTICK" = yes; then
7667 echo "$ac_t""yes" 1>&6
7669 echo "$ac_t""no" 1>&6
7673 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
7674 echo "configure:7675: checking for --enable-metafile" >&5
7676 # Check whether --enable-metafile or --disable-metafile was given.
7677 if test "${enable_metafile+set}" = set; then
7678 enableval
="$enable_metafile"
7680 if test "$enableval" = yes; then
7681 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
7683 ac_cv_use_metafile
='wxUSE_METAFILE=no'
7688 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7689 if test "x$LINE" != x
; then
7690 eval "DEFAULT_$LINE"
7695 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7700 eval "$ac_cv_use_metafile"
7701 if test "$no_cache" != 1; then
7702 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7705 if test "$wxUSE_METAFILE" = yes; then
7706 echo "$ac_t""yes" 1>&6
7708 echo "$ac_t""no" 1>&6
7712 echo $ac_n "checking for --enable-dragimage""... $ac_c" 1>&6
7713 echo "configure:7714: checking for --enable-dragimage" >&5
7715 # Check whether --enable-dragimage or --disable-dragimage was given.
7716 if test "${enable_dragimage+set}" = set; then
7717 enableval
="$enable_dragimage"
7719 if test "$enableval" = yes; then
7720 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
7722 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
7727 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
7728 if test "x$LINE" != x
; then
7729 eval "DEFAULT_$LINE"
7734 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
7739 eval "$ac_cv_use_dragimage"
7740 if test "$no_cache" != 1; then
7741 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
7744 if test "$wxUSE_DRAGIMAGE" = yes; then
7745 echo "$ac_t""yes" 1>&6
7747 echo "$ac_t""no" 1>&6
7753 echo $ac_n "checking for --enable-palette""... $ac_c" 1>&6
7754 echo "configure:7755: checking for --enable-palette" >&5
7756 # Check whether --enable-palette or --disable-palette was given.
7757 if test "${enable_palette+set}" = set; then
7758 enableval
="$enable_palette"
7760 if test "$enableval" = yes; then
7761 ac_cv_use_palette
='wxUSE_PALETTE=yes'
7763 ac_cv_use_palette
='wxUSE_PALETTE=no'
7768 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
7769 if test "x$LINE" != x
; then
7770 eval "DEFAULT_$LINE"
7775 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
7780 eval "$ac_cv_use_palette"
7781 if test "$no_cache" != 1; then
7782 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
7785 if test "$wxUSE_PALETTE" = yes; then
7786 echo "$ac_t""yes" 1>&6
7788 echo "$ac_t""no" 1>&6
7792 echo $ac_n "checking for --enable-image""... $ac_c" 1>&6
7793 echo "configure:7794: checking for --enable-image" >&5
7795 # Check whether --enable-image or --disable-image was given.
7796 if test "${enable_image+set}" = set; then
7797 enableval
="$enable_image"
7799 if test "$enableval" = yes; then
7800 ac_cv_use_image
='wxUSE_IMAGE=yes'
7802 ac_cv_use_image
='wxUSE_IMAGE=no'
7807 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
7808 if test "x$LINE" != x
; then
7809 eval "DEFAULT_$LINE"
7814 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
7819 eval "$ac_cv_use_image"
7820 if test "$no_cache" != 1; then
7821 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
7824 if test "$wxUSE_IMAGE" = yes; then
7825 echo "$ac_t""yes" 1>&6
7827 echo "$ac_t""no" 1>&6
7831 echo $ac_n "checking for --enable-gif""... $ac_c" 1>&6
7832 echo "configure:7833: checking for --enable-gif" >&5
7834 # Check whether --enable-gif or --disable-gif was given.
7835 if test "${enable_gif+set}" = set; then
7836 enableval
="$enable_gif"
7838 if test "$enableval" = yes; then
7839 ac_cv_use_gif
='wxUSE_GIF=yes'
7841 ac_cv_use_gif
='wxUSE_GIF=no'
7846 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
7847 if test "x$LINE" != x
; then
7848 eval "DEFAULT_$LINE"
7853 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
7858 eval "$ac_cv_use_gif"
7859 if test "$no_cache" != 1; then
7860 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
7863 if test "$wxUSE_GIF" = yes; then
7864 echo "$ac_t""yes" 1>&6
7866 echo "$ac_t""no" 1>&6
7870 echo $ac_n "checking for --enable-pcx""... $ac_c" 1>&6
7871 echo "configure:7872: checking for --enable-pcx" >&5
7873 # Check whether --enable-pcx or --disable-pcx was given.
7874 if test "${enable_pcx+set}" = set; then
7875 enableval
="$enable_pcx"
7877 if test "$enableval" = yes; then
7878 ac_cv_use_pcx
='wxUSE_PCX=yes'
7880 ac_cv_use_pcx
='wxUSE_PCX=no'
7885 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
7886 if test "x$LINE" != x
; then
7887 eval "DEFAULT_$LINE"
7892 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
7897 eval "$ac_cv_use_pcx"
7898 if test "$no_cache" != 1; then
7899 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
7902 if test "$wxUSE_PCX" = yes; then
7903 echo "$ac_t""yes" 1>&6
7905 echo "$ac_t""no" 1>&6
7909 echo $ac_n "checking for --enable-pnm""... $ac_c" 1>&6
7910 echo "configure:7911: checking for --enable-pnm" >&5
7912 # Check whether --enable-pnm or --disable-pnm was given.
7913 if test "${enable_pnm+set}" = set; then
7914 enableval
="$enable_pnm"
7916 if test "$enableval" = yes; then
7917 ac_cv_use_pnm
='wxUSE_PNM=yes'
7919 ac_cv_use_pnm
='wxUSE_PNM=no'
7924 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
7925 if test "x$LINE" != x
; then
7926 eval "DEFAULT_$LINE"
7931 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
7936 eval "$ac_cv_use_pnm"
7937 if test "$no_cache" != 1; then
7938 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
7941 if test "$wxUSE_PNM" = yes; then
7942 echo "$ac_t""yes" 1>&6
7944 echo "$ac_t""no" 1>&6
7948 echo $ac_n "checking for --enable-xpm""... $ac_c" 1>&6
7949 echo "configure:7950: checking for --enable-xpm" >&5
7951 # Check whether --enable-xpm or --disable-xpm was given.
7952 if test "${enable_xpm+set}" = set; then
7953 enableval
="$enable_xpm"
7955 if test "$enableval" = yes; then
7956 ac_cv_use_xpm
='wxUSE_XPM=yes'
7958 ac_cv_use_xpm
='wxUSE_XPM=no'
7963 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
7964 if test "x$LINE" != x
; then
7965 eval "DEFAULT_$LINE"
7970 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
7975 eval "$ac_cv_use_xpm"
7976 if test "$no_cache" != 1; then
7977 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
7980 if test "$wxUSE_XPM" = yes; then
7981 echo "$ac_t""yes" 1>&6
7983 echo "$ac_t""no" 1>&6
7990 echo "saving argument cache $wx_arg_cache_file"
7991 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
7995 echo $ac_n "checking for toolkit""... $ac_c" 1>&6
7996 echo "configure:7997: checking for toolkit" >&5
7998 if test "$wxUSE_GUI" = "yes"; then
8000 if test "$USE_BEOS" = 1; then
8001 { echo "configure: error: BeOS GUI is not supported yet, use --disable-gui" 1>&2; exit 1; }
8004 if test "$TOOLKIT_GIVEN" = 1; then
8005 for toolkit
in `echo $ALL_TOOLKITS`; do
8007 eval "value=\$${var}"
8008 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
8011 for toolkit
in `echo $ALL_TOOLKITS`; do
8012 if test "$has_toolkit_in_cache" != 1; then
8013 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
8015 var
=DEFAULT_wxUSE_
$toolkit
8017 eval "wxUSE_$toolkit=\$${var}"
8021 NUM_TOOLKITS
=`expr ${wxUSE_GTK:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MAC:-0} \
8022 + ${wxUSE_WINE:-0} + ${wxUSE_MSW:-0} + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0}`
8025 *-pc-os2_emx | *-pc-os2-emx )
8026 # PATH_IFS is autodetected by OS/2's configure (usually ';')
8027 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
8036 case "$NUM_TOOLKITS" in
8040 { echo "configure: error: Please specify a toolkit - cannot determine the default for ${host}" 1>&2; exit 1; }
8043 { echo "configure: error: Please specify at most one toolkit (may be some are cached?)" 1>&2; exit 1; }
8046 for toolkit
in `echo $ALL_TOOLKITS`; do
8048 eval "value=\$${var}"
8049 if test "x$value" != x
; then
8050 cache_var
=CACHE_
$toolkit
8051 eval "cache=\$${cache_var}"
8052 if test "$cache" = 1; then
8053 echo "$var=$value" >> ${wx_arg_cache_file}
8055 if test "$value" = 1; then
8056 toolkit_echo
=`echo $toolkit | tr [A-Z] [a-z]`
8057 echo "$ac_t""$toolkit_echo" 1>&6
8063 echo "$ac_t""base ($host_alias hosted) only" 1>&6
8067 cat > confcache
<<\EOF
8068 # This file is a shell script that caches the results of configure
8069 # tests run on this system so they can be shared between configure
8070 # scripts and configure runs. It is not useful on other systems.
8071 # If it contains results you don't want to keep, you may remove or edit it.
8073 # By default, configure uses ./config.cache as the cache file,
8074 # creating it if it does not exist already. You can give configure
8075 # the --cache-file=FILE option to use a different cache file; that is
8076 # what configure does when it calls configure scripts in
8077 # subdirectories, so they share the cache.
8078 # Giving --cache-file=/dev/null disables caching, for debugging configure.
8079 # config.status only pays attention to the cache file if you give it the
8080 # --recheck option to rerun configure.
8083 # The following way of writing the cache mishandles newlines in values,
8084 # but we know of no workaround that is simple, portable, and efficient.
8085 # So, don't put newlines in cache variables' values.
8086 # Ultrix sh set writes to stderr and can't be redirected directly,
8087 # and sets the high bit in the cache file unless we assign to the vars.
8089 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8091 # `set' does not quote correctly, so add quotes (double-quote substitution
8092 # turns \\\\ into \\, and sed turns \\ into \).
8094 -e "s/'/'\\\\''/g" \
8095 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
8098 # `set' quotes correctly as required by POSIX, so do not add quotes.
8099 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
8102 if cmp -s $cache_file confcache
; then
8105 if test -w $cache_file; then
8106 echo "updating cache $cache_file"
8107 cat confcache
> $cache_file
8109 echo "not updating unwritable cache $cache_file"
8115 if test "$build" != "$host" ; then
8116 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 ; then
8120 RANLIB
=$host_alias-ranlib
8121 DLLTOOL
=$host_alias-dlltool
8122 RESCOMP
=$host_alias-windres
8125 STRIP
=$host_alias-strip
8127 { echo "configure: error: $build_alias -> $host_alias cross compilation not supported yet." 1>&2; exit 1; }
8131 # Extract the first word of "gcc", so it can be a program name with args.
8132 set dummy gcc
; ac_word
=$2
8133 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8134 echo "configure:8135: checking for $ac_word" >&5
8135 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8136 echo $ac_n "(cached) $ac_c" 1>&6
8138 if test -n "$CC"; then
8139 ac_cv_prog_CC
="$CC" # Let the user override the test.
8141 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8143 for ac_dir
in $ac_dummy; do
8144 test -z "$ac_dir" && ac_dir
=.
8145 if test -f $ac_dir/$ac_word; then
8154 if test -n "$CC"; then
8155 echo "$ac_t""$CC" 1>&6
8157 echo "$ac_t""no" 1>&6
8160 if test -z "$CC"; then
8161 # Extract the first word of "cc", so it can be a program name with args.
8162 set dummy cc
; ac_word
=$2
8163 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8164 echo "configure:8165: checking for $ac_word" >&5
8165 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8166 echo $ac_n "(cached) $ac_c" 1>&6
8168 if test -n "$CC"; then
8169 ac_cv_prog_CC
="$CC" # Let the user override the test.
8171 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8174 for ac_dir
in $ac_dummy; do
8175 test -z "$ac_dir" && ac_dir
=.
8176 if test -f $ac_dir/$ac_word; then
8177 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
8178 ac_prog_rejected
=yes
8186 if test $ac_prog_rejected = yes; then
8187 # We found a bogon in the path, so make sure we never use it.
8188 set dummy
$ac_cv_prog_CC
8190 if test $# -gt 0; then
8191 # We chose a different compiler from the bogus one.
8192 # However, it has the same basename, so the bogon will be chosen
8193 # first if we set CC to just the basename; use the full file name.
8195 set dummy
"$ac_dir/$ac_word" "$@"
8203 if test -n "$CC"; then
8204 echo "$ac_t""$CC" 1>&6
8206 echo "$ac_t""no" 1>&6
8209 if test -z "$CC"; then
8210 case "`uname -s`" in
8212 # Extract the first word of "cl", so it can be a program name with args.
8213 set dummy cl
; ac_word
=$2
8214 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8215 echo "configure:8216: checking for $ac_word" >&5
8216 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8217 echo $ac_n "(cached) $ac_c" 1>&6
8219 if test -n "$CC"; then
8220 ac_cv_prog_CC
="$CC" # Let the user override the test.
8222 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8224 for ac_dir
in $ac_dummy; do
8225 test -z "$ac_dir" && ac_dir
=.
8226 if test -f $ac_dir/$ac_word; then
8235 if test -n "$CC"; then
8236 echo "$ac_t""$CC" 1>&6
8238 echo "$ac_t""no" 1>&6
8243 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
8246 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
8247 echo "configure:8248: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
8250 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8251 ac_cpp
='$CPP $CPPFLAGS'
8252 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8253 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8254 cross_compiling
=$ac_cv_prog_cc_cross
8256 cat > conftest.
$ac_ext << EOF
8258 #line 8259 "configure"
8259 #include "confdefs.h"
8263 if { (eval echo configure
:8264: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8264 ac_cv_prog_cc_works
=yes
8265 # If we can't run a trivial program, we are probably using a cross compiler.
8266 if (.
/conftest
; exit) 2>/dev
/null
; then
8267 ac_cv_prog_cc_cross
=no
8269 ac_cv_prog_cc_cross
=yes
8272 echo "configure: failed program was:" >&5
8273 cat conftest.
$ac_ext >&5
8274 ac_cv_prog_cc_works
=no
8278 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8279 ac_cpp
='$CPP $CPPFLAGS'
8280 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8281 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8282 cross_compiling
=$ac_cv_prog_cc_cross
8284 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
8285 if test $ac_cv_prog_cc_works = no
; then
8286 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
8288 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
8289 echo "configure:8290: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
8290 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
8291 cross_compiling
=$ac_cv_prog_cc_cross
8293 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
8294 echo "configure:8295: checking whether we are using GNU C" >&5
8295 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
8296 echo $ac_n "(cached) $ac_c" 1>&6
8298 cat > conftest.c
<<EOF
8303 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:8304: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
8310 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
8312 if test $ac_cv_prog_gcc = yes; then
8318 ac_test_CFLAGS
="${CFLAGS+set}"
8319 ac_save_CFLAGS
="$CFLAGS"
8321 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
8322 echo "configure:8323: checking whether ${CC-cc} accepts -g" >&5
8323 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
8324 echo $ac_n "(cached) $ac_c" 1>&6
8326 echo 'void f(){}' > conftest.c
8327 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
8336 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
8337 if test "$ac_test_CFLAGS" = set; then
8338 CFLAGS
="$ac_save_CFLAGS"
8339 elif test $ac_cv_prog_cc_g = yes; then
8340 if test "$GCC" = yes; then
8346 if test "$GCC" = yes; then
8354 CFLAGS
=`echo "$CFLAGS" | sed 's/-g//g'`
8356 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
8357 echo "configure:8358: checking how to run the C preprocessor" >&5
8358 # On Suns, sometimes $CPP names a directory.
8359 if test -n "$CPP" && test -d "$CPP"; then
8362 if test -z "$CPP"; then
8363 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
8364 echo $ac_n "(cached) $ac_c" 1>&6
8366 # This must be in double quotes, not single quotes, because CPP may get
8367 # substituted into the Makefile and "${CC-cc}" will confuse make.
8369 # On the NeXT, cc -E runs the code through the compiler's parser,
8370 # not just through cpp.
8371 cat > conftest.
$ac_ext <<EOF
8372 #line 8373 "configure"
8373 #include "confdefs.h"
8377 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8378 { (eval echo configure
:8379: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8379 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8380 if test -z "$ac_err"; then
8384 echo "configure: failed program was:" >&5
8385 cat conftest.
$ac_ext >&5
8387 CPP
="${CC-cc} -E -traditional-cpp"
8388 cat > conftest.
$ac_ext <<EOF
8389 #line 8390 "configure"
8390 #include "confdefs.h"
8394 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8395 { (eval echo configure
:8396: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8396 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8397 if test -z "$ac_err"; then
8401 echo "configure: failed program was:" >&5
8402 cat conftest.
$ac_ext >&5
8404 CPP
="${CC-cc} -nologo -E"
8405 cat > conftest.
$ac_ext <<EOF
8406 #line 8407 "configure"
8407 #include "confdefs.h"
8411 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8412 { (eval echo configure
:8413: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8413 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8414 if test -z "$ac_err"; then
8418 echo "configure: failed program was:" >&5
8419 cat conftest.
$ac_ext >&5
8428 ac_cv_prog_CPP
="$CPP"
8430 CPP
="$ac_cv_prog_CPP"
8432 ac_cv_prog_CPP
="$CPP"
8434 echo "$ac_t""$CPP" 1>&6
8436 if test $ac_cv_prog_gcc = yes; then
8437 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
8438 echo "configure:8439: checking whether ${CC-cc} needs -traditional" >&5
8439 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
8440 echo $ac_n "(cached) $ac_c" 1>&6
8442 ac_pattern
="Autoconf.*'x'"
8443 cat > conftest.
$ac_ext <<EOF
8444 #line 8445 "configure"
8445 #include "confdefs.h"
8449 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8450 egrep "$ac_pattern" >/dev
/null
2>&1; then
8452 ac_cv_prog_gcc_traditional
=yes
8455 ac_cv_prog_gcc_traditional
=no
8460 if test $ac_cv_prog_gcc_traditional = no
; then
8461 cat > conftest.
$ac_ext <<EOF
8462 #line 8463 "configure"
8463 #include "confdefs.h"
8467 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8468 egrep "$ac_pattern" >/dev
/null
2>&1; then
8470 ac_cv_prog_gcc_traditional
=yes
8477 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
8478 if test $ac_cv_prog_gcc_traditional = yes; then
8479 CC
="$CC -traditional"
8486 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8487 ac_cpp
='$CXXCPP $CPPFLAGS'
8488 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8489 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8490 cross_compiling
=$ac_cv_prog_cxx_cross
8493 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++ cl
8495 # Extract the first word of "$ac_prog", so it can be a program name with args.
8496 set dummy
$ac_prog; ac_word
=$2
8497 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8498 echo "configure:8499: checking for $ac_word" >&5
8499 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
8500 echo $ac_n "(cached) $ac_c" 1>&6
8502 if test -n "$CXX"; then
8503 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
8505 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8507 for ac_dir
in $ac_dummy; do
8508 test -z "$ac_dir" && ac_dir
=.
8509 if test -f $ac_dir/$ac_word; then
8510 ac_cv_prog_CXX
="$ac_prog"
8517 CXX
="$ac_cv_prog_CXX"
8518 if test -n "$CXX"; then
8519 echo "$ac_t""$CXX" 1>&6
8521 echo "$ac_t""no" 1>&6
8524 test -n "$CXX" && break
8526 test -n "$CXX" || CXX
="gcc"
8529 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
8530 echo "configure:8531: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
8533 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8534 ac_cpp
='$CXXCPP $CPPFLAGS'
8535 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8536 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8537 cross_compiling
=$ac_cv_prog_cxx_cross
8539 cat > conftest.
$ac_ext << EOF
8541 #line 8542 "configure"
8542 #include "confdefs.h"
8544 int main(){return(0);}
8546 if { (eval echo configure
:8547: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8547 ac_cv_prog_cxx_works
=yes
8548 # If we can't run a trivial program, we are probably using a cross compiler.
8549 if (.
/conftest
; exit) 2>/dev
/null
; then
8550 ac_cv_prog_cxx_cross
=no
8552 ac_cv_prog_cxx_cross
=yes
8555 echo "configure: failed program was:" >&5
8556 cat conftest.
$ac_ext >&5
8557 ac_cv_prog_cxx_works
=no
8561 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8562 ac_cpp
='$CXXCPP $CPPFLAGS'
8563 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8564 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8565 cross_compiling
=$ac_cv_prog_cxx_cross
8567 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
8568 if test $ac_cv_prog_cxx_works = no
; then
8569 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
8571 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
8572 echo "configure:8573: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
8573 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
8574 cross_compiling
=$ac_cv_prog_cxx_cross
8576 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
8577 echo "configure:8578: checking whether we are using GNU C++" >&5
8578 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
8579 echo $ac_n "(cached) $ac_c" 1>&6
8581 cat > conftest.C
<<EOF
8586 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:8587: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
8593 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
8595 if test $ac_cv_prog_gxx = yes; then
8601 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
8602 ac_save_CXXFLAGS
="$CXXFLAGS"
8604 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
8605 echo "configure:8606: checking whether ${CXX-g++} accepts -g" >&5
8606 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
8607 echo $ac_n "(cached) $ac_c" 1>&6
8609 echo 'void f(){}' > conftest.cc
8610 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
8611 ac_cv_prog_cxx_g
=yes
8619 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
8620 if test "$ac_test_CXXFLAGS" = set; then
8621 CXXFLAGS
="$ac_save_CXXFLAGS"
8622 elif test $ac_cv_prog_cxx_g = yes; then
8623 if test "$GXX" = yes; then
8629 if test "$GXX" = yes; then
8637 CXXFLAGS
=`echo "$CXXFLAGS" | sed 's/-g//g'`
8640 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8641 ac_cpp
='$CPP $CPPFLAGS'
8642 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8643 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8644 cross_compiling
=$ac_cv_prog_cc_cross
8647 # Extract the first word of "ranlib", so it can be a program name with args.
8648 set dummy ranlib
; ac_word
=$2
8649 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8650 echo "configure:8651: checking for $ac_word" >&5
8651 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
8652 echo $ac_n "(cached) $ac_c" 1>&6
8654 if test -n "$RANLIB"; then
8655 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
8657 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8659 for ac_dir
in $ac_dummy; do
8660 test -z "$ac_dir" && ac_dir
=.
8661 if test -f $ac_dir/$ac_word; then
8662 ac_cv_prog_RANLIB
="ranlib"
8667 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
8670 RANLIB
="$ac_cv_prog_RANLIB"
8671 if test -n "$RANLIB"; then
8672 echo "$ac_t""$RANLIB" 1>&6
8674 echo "$ac_t""no" 1>&6
8678 # Extract the first word of "ar", so it can be a program name with args.
8679 set dummy
ar; ac_word
=$2
8680 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8681 echo "configure:8682: checking for $ac_word" >&5
8682 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
8683 echo $ac_n "(cached) $ac_c" 1>&6
8685 if test -n "$AR"; then
8686 ac_cv_prog_AR
="$AR" # Let the user override the test.
8688 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8690 for ac_dir
in $ac_dummy; do
8691 test -z "$ac_dir" && ac_dir
=.
8692 if test -f $ac_dir/$ac_word; then
8698 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
8702 if test -n "$AR"; then
8703 echo "$ac_t""$AR" 1>&6
8705 echo "$ac_t""no" 1>&6
8709 # Find a good install program. We prefer a C program (faster),
8710 # so one script is as good as another. But avoid the broken or
8711 # incompatible versions:
8712 # SysV /etc/install, /usr/sbin/install
8713 # SunOS /usr/etc/install
8714 # IRIX /sbin/install
8716 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
8717 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
8718 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
8719 # ./install, which can be erroneously created by make from ./install.sh.
8720 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
8721 echo "configure:8722: checking for a BSD compatible install" >&5
8722 if test -z "$INSTALL"; then
8723 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
8724 echo $ac_n "(cached) $ac_c" 1>&6
8726 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
8727 for ac_dir
in $PATH; do
8728 # Account for people who put trailing slashes in PATH elements.
8730 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
8732 # OSF1 and SCO ODT 3.0 have their own names for install.
8733 # Don't use installbsd from OSF since it installs stuff as root
8735 for ac_prog
in ginstall scoinst
install; do
8736 if test -f $ac_dir/$ac_prog; then
8737 if test $ac_prog = install &&
8738 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
8739 # AIX install. It has an incompatible calling convention.
8742 ac_cv_path_install
="$ac_dir/$ac_prog -c"
8753 if test "${ac_cv_path_install+set}" = set; then
8754 INSTALL
="$ac_cv_path_install"
8756 # As a last resort, use the slow shell script. We don't cache a
8757 # path for INSTALL within a source directory, because that will
8758 # break other packages using the cache if that directory is
8759 # removed, or if the path is relative.
8760 INSTALL
="$ac_install_sh"
8763 echo "$ac_t""$INSTALL" 1>&6
8765 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
8766 # It thinks the first close brace ends the variable substitution.
8767 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
8769 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
8771 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
8776 INSTALL_PROGRAM
="cp -fp"
8777 INSTALL_DATA
="cp -fp"
8783 # Extract the first word of "strip", so it can be a program name with args.
8784 set dummy strip
; ac_word
=$2
8785 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8786 echo "configure:8787: checking for $ac_word" >&5
8787 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
8788 echo $ac_n "(cached) $ac_c" 1>&6
8790 if test -n "$STRIP"; then
8791 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
8793 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8795 for ac_dir
in $ac_dummy; do
8796 test -z "$ac_dir" && ac_dir
=.
8797 if test -f $ac_dir/$ac_word; then
8798 ac_cv_prog_STRIP
="strip"
8803 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
8806 STRIP
="$ac_cv_prog_STRIP"
8807 if test -n "$STRIP"; then
8808 echo "$ac_t""$STRIP" 1>&6
8810 echo "$ac_t""no" 1>&6
8814 echo $ac_n "checking make for VPATH support""... $ac_c" 1>&6
8815 echo "configure:8816: checking make for VPATH support" >&5
8816 cat - << EOF > confMake
8822 if test ! -d sub
; then
8825 echo dummy
> sub
/file
8826 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
8828 rm -f sub
/file check final_file confMake
8830 if test "$RESULT" = 0; then
8831 echo "$ac_t""yes" 1>&6
8833 echo "$ac_t""no" 1>&6
8834 { echo "configure: error:
8835 You need a make-utility that is able to use the variable
8837 If your version of make does not support VPATH correctly,
8838 please install GNU-make (possibly as gmake), and start
8839 configure with the following command:
8840 export MAKE=gmake; ./configure for sh-type shells
8841 setenv MAKE gmake; ./configure for csh-type shells
8842 Also please do remember to use gmake in this case every time
8843 you are trying to compile.
8847 for ac_prog
in 'bison -y' byacc
8849 # Extract the first word of "$ac_prog", so it can be a program name with args.
8850 set dummy
$ac_prog; ac_word
=$2
8851 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8852 echo "configure:8853: checking for $ac_word" >&5
8853 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
8854 echo $ac_n "(cached) $ac_c" 1>&6
8856 if test -n "$YACC"; then
8857 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
8859 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8861 for ac_dir
in $ac_dummy; do
8862 test -z "$ac_dir" && ac_dir
=.
8863 if test -f $ac_dir/$ac_word; then
8864 ac_cv_prog_YACC
="$ac_prog"
8871 YACC
="$ac_cv_prog_YACC"
8872 if test -n "$YACC"; then
8873 echo "$ac_t""$YACC" 1>&6
8875 echo "$ac_t""no" 1>&6
8878 test -n "$YACC" && break
8880 test -n "$YACC" || YACC
="yacc"
8883 # Extract the first word of "flex", so it can be a program name with args.
8884 set dummy flex
; ac_word
=$2
8885 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8886 echo "configure:8887: checking for $ac_word" >&5
8887 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
8888 echo $ac_n "(cached) $ac_c" 1>&6
8890 if test -n "$LEX"; then
8891 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
8893 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8895 for ac_dir
in $ac_dummy; do
8896 test -z "$ac_dir" && ac_dir
=.
8897 if test -f $ac_dir/$ac_word; then
8898 ac_cv_prog_LEX
="flex"
8903 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
8906 LEX
="$ac_cv_prog_LEX"
8907 if test -n "$LEX"; then
8908 echo "$ac_t""$LEX" 1>&6
8910 echo "$ac_t""no" 1>&6
8913 if test -z "$LEXLIB"
8919 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
8920 echo "configure:8921: checking for yywrap in -l$ac_lib" >&5
8921 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
8922 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8923 echo $ac_n "(cached) $ac_c" 1>&6
8925 ac_save_LIBS
="$LIBS"
8926 LIBS
="-l$ac_lib $LIBS"
8927 cat > conftest.
$ac_ext <<EOF
8928 #line 8929 "configure"
8929 #include "confdefs.h"
8930 /* Override any gcc2 internal prototype to avoid an error. */
8931 /* We use char because int might match the return type of a gcc2
8932 builtin and then its argument prototype would still apply. */
8939 if { (eval echo configure
:8940: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8941 eval "ac_cv_lib_$ac_lib_var=yes"
8943 echo "configure: failed program was:" >&5
8944 cat conftest.
$ac_ext >&5
8946 eval "ac_cv_lib_$ac_lib_var=no"
8949 LIBS
="$ac_save_LIBS"
8952 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8953 echo "$ac_t""yes" 1>&6
8956 echo "$ac_t""no" 1>&6
8962 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
8963 echo "configure:8964: checking whether ln -s works" >&5
8964 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
8965 echo $ac_n "(cached) $ac_c" 1>&6
8968 if ln -s X conftestdata
2>/dev
/null
8971 ac_cv_prog_LN_S
="ln -s"
8976 LN_S
="$ac_cv_prog_LN_S"
8977 if test "$ac_cv_prog_LN_S" = "ln -s"; then
8978 echo "$ac_t""yes" 1>&6
8980 echo "$ac_t""no" 1>&6
8986 /usr/local/include \
8988 /usr/Motif-1.2/include \
8989 /usr/Motif-2.1/include \
8991 /usr/include/Motif1.2 \
8992 /opt/xpm/include/X11 \
8993 /opt/GBxpm/include/ \
8994 /opt/GBxpm/X11/include/ \
8996 /usr/Motif1.2/include \
8998 /usr/openwin/include \
9002 /usr/X11R6/include \
9003 /usr/X11R6.4/include \
9004 /usr/X11R5/include \
9005 /usr/X11R4/include \
9007 /usr/include/X11R6 \
9008 /usr/include/X11R5 \
9009 /usr/include/X11R4 \
9011 /usr/local/X11R6/include \
9012 /usr/local/X11R5/include \
9013 /usr/local/X11R4/include \
9015 /usr/local/include/X11R6 \
9016 /usr/local/include/X11R5 \
9017 /usr/local/include/X11R4 \
9021 /usr/local/X11/include \
9022 /usr/local/include/X11 \
9026 /usr/XFree86/include/X11 \
9028 X:/XFree86/include \
9029 X:/XFree86/include/X11 \
9032 /usr/local/include/gtk \
9034 /usr/local/include/glib \
9037 /usr/local/include/qt \
9039 /usr/include/windows \
9041 /usr/local/include/wine \
9043 /usr/unsupported/include \
9044 /usr/athena/include \
9045 /usr/local/x11r5/include \
9046 /usr/lpp/Xamples/include \
9048 /usr/openwin/share/include \
9052 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
9055 cat > confcache
<<\EOF
9056 # This file is a shell script that caches the results of configure
9057 # tests run on this system so they can be shared between configure
9058 # scripts and configure runs. It is not useful on other systems.
9059 # If it contains results you don't want to keep, you may remove or edit it.
9061 # By default, configure uses ./config.cache as the cache file,
9062 # creating it if it does not exist already. You can give configure
9063 # the --cache-file=FILE option to use a different cache file; that is
9064 # what configure does when it calls configure scripts in
9065 # subdirectories, so they share the cache.
9066 # Giving --cache-file=/dev/null disables caching, for debugging configure.
9067 # config.status only pays attention to the cache file if you give it the
9068 # --recheck option to rerun configure.
9071 # The following way of writing the cache mishandles newlines in values,
9072 # but we know of no workaround that is simple, portable, and efficient.
9073 # So, don't put newlines in cache variables' values.
9074 # Ultrix sh set writes to stderr and can't be redirected directly,
9075 # and sets the high bit in the cache file unless we assign to the vars.
9077 case `(ac_space=' '; set | grep ac_space) 2>&1` in
9079 # `set' does not quote correctly, so add quotes (double-quote substitution
9080 # turns \\\\ into \\, and sed turns \\ into \).
9082 -e "s/'/'\\\\''/g" \
9083 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
9086 # `set' quotes correctly as required by POSIX, so do not add quotes.
9087 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
9090 if cmp -s $cache_file confcache
; then
9093 if test -w $cache_file; then
9094 echo "updating cache $cache_file"
9095 cat confcache
> $cache_file
9097 echo "not updating unwritable cache $cache_file"
9106 if test "$wxUSE_REGEX" != "no"; then
9107 cat >> confdefs.h
<<\EOF
9108 #define wxUSE_REGEX 1
9112 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
9113 ac_safe
=`echo "regex.h" | sed 'y%./+-%__p_%'`
9114 echo $ac_n "checking for regex.h""... $ac_c" 1>&6
9115 echo "configure:9116: checking for regex.h" >&5
9116 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9117 echo $ac_n "(cached) $ac_c" 1>&6
9119 cat > conftest.
$ac_ext <<EOF
9120 #line 9121 "configure"
9121 #include "confdefs.h"
9124 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9125 { (eval echo configure
:9126: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9126 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9127 if test -z "$ac_err"; then
9129 eval "ac_cv_header_$ac_safe=yes"
9132 echo "configure: failed program was:" >&5
9133 cat conftest.
$ac_ext >&5
9135 eval "ac_cv_header_$ac_safe=no"
9139 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9140 echo "$ac_t""yes" 1>&6
9141 for ac_func
in regcomp
9143 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9144 echo "configure:9145: checking for $ac_func" >&5
9145 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9146 echo $ac_n "(cached) $ac_c" 1>&6
9148 cat > conftest.
$ac_ext <<EOF
9149 #line 9150 "configure"
9150 #include "confdefs.h"
9151 /* System header to define __stub macros and hopefully few prototypes,
9152 which can conflict with char $ac_func(); below. */
9154 /* Override any gcc2 internal prototype to avoid an error. */
9155 /* We use char because int might match the return type of a gcc2
9156 builtin and then its argument prototype would still apply. */
9161 /* The GNU C library defines this for functions which it implements
9162 to always fail with ENOSYS. Some functions are actually named
9163 something starting with __ and the normal name is an alias. */
9164 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9172 if { (eval echo configure
:9173: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9174 eval "ac_cv_func_$ac_func=yes"
9176 echo "configure: failed program was:" >&5
9177 cat conftest.
$ac_ext >&5
9179 eval "ac_cv_func_$ac_func=no"
9184 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9185 echo "$ac_t""yes" 1>&6
9186 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9187 cat >> confdefs.h
<<EOF
9188 #define $ac_tr_func 1
9192 echo "$ac_t""no" 1>&6
9197 echo "$ac_t""no" 1>&6
9201 if test "x$ac_cv_func_regcomp" != "xyes"; then
9202 if test "$wxUSE_REGEX" = "sys" ; then
9203 { echo "configure: error: system regex library not found! Use --with-regex to use built-in version" 1>&2; exit 1; }
9205 echo "configure: warning: system regex library not found, will use built-in instead" 1>&2
9213 if test "$wxUSE_REGEX" = "builtin" ; then
9214 REGEX_INCLUDE
="-I\${top_srcdir}/src/regex"
9221 if test "$wxUSE_ZLIB" != "no" ; then
9222 cat >> confdefs.h
<<\EOF
9223 #define wxUSE_ZLIB 1
9227 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
9228 ac_safe
=`echo "zlib.h" | sed 'y%./+-%__p_%'`
9229 echo $ac_n "checking for zlib.h""... $ac_c" 1>&6
9230 echo "configure:9231: checking for zlib.h" >&5
9231 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9232 echo $ac_n "(cached) $ac_c" 1>&6
9234 cat > conftest.
$ac_ext <<EOF
9235 #line 9236 "configure"
9236 #include "confdefs.h"
9239 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9240 { (eval echo configure
:9241: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9241 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9242 if test -z "$ac_err"; then
9244 eval "ac_cv_header_$ac_safe=yes"
9247 echo "configure: failed program was:" >&5
9248 cat conftest.
$ac_ext >&5
9250 eval "ac_cv_header_$ac_safe=no"
9254 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9255 echo "$ac_t""yes" 1>&6
9256 echo $ac_n "checking for deflate in -lz""... $ac_c" 1>&6
9257 echo "configure:9258: checking for deflate in -lz" >&5
9258 ac_lib_var
=`echo z'_'deflate | sed 'y%./+-%__p_%'`
9259 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9260 echo $ac_n "(cached) $ac_c" 1>&6
9262 ac_save_LIBS
="$LIBS"
9264 cat > conftest.
$ac_ext <<EOF
9265 #line 9266 "configure"
9266 #include "confdefs.h"
9267 /* Override any gcc2 internal prototype to avoid an error. */
9268 /* We use char because int might match the return type of a gcc2
9269 builtin and then its argument prototype would still apply. */
9276 if { (eval echo configure
:9277: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9278 eval "ac_cv_lib_$ac_lib_var=yes"
9280 echo "configure: failed program was:" >&5
9281 cat conftest.
$ac_ext >&5
9283 eval "ac_cv_lib_$ac_lib_var=no"
9286 LIBS
="$ac_save_LIBS"
9289 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9290 echo "$ac_t""yes" 1>&6
9293 echo "$ac_t""no" 1>&6
9297 echo "$ac_t""no" 1>&6
9301 if test "x$ZLIB_LINK" = "x" ; then
9302 if test "$wxUSE_ZLIB" = "sys" ; then
9303 { echo "configure: error: system zlib compression library not found! Use --with-zlib=builtin to use built-in version" 1>&2; exit 1; }
9305 echo "configure: warning: system zlib compression library not found, will use built-in instead" 1>&2
9313 if test "$wxUSE_ZLIB" = "builtin" ; then
9314 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
9321 if test "$wxUSE_LIBPNG" != "no" ; then
9322 cat >> confdefs.h
<<\EOF
9323 #define wxUSE_LIBPNG 1
9327 if test "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
9328 echo "configure: warning: system png library doesn't work without system zlib, will use built-in instead" 1>&2
9329 wxUSE_LIBPNG
=builtin
9332 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
9333 ac_safe
=`echo "png.h" | sed 'y%./+-%__p_%'`
9334 echo $ac_n "checking for png.h""... $ac_c" 1>&6
9335 echo "configure:9336: checking for png.h" >&5
9336 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9337 echo $ac_n "(cached) $ac_c" 1>&6
9339 cat > conftest.
$ac_ext <<EOF
9340 #line 9341 "configure"
9341 #include "confdefs.h"
9344 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9345 { (eval echo configure
:9346: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9346 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9347 if test -z "$ac_err"; then
9349 eval "ac_cv_header_$ac_safe=yes"
9352 echo "configure: failed program was:" >&5
9353 cat conftest.
$ac_ext >&5
9355 eval "ac_cv_header_$ac_safe=no"
9359 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9360 echo "$ac_t""yes" 1>&6
9361 echo $ac_n "checking for png_check_sig in -lpng""... $ac_c" 1>&6
9362 echo "configure:9363: checking for png_check_sig in -lpng" >&5
9363 ac_lib_var
=`echo png'_'png_check_sig | sed 'y%./+-%__p_%'`
9364 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9365 echo $ac_n "(cached) $ac_c" 1>&6
9367 ac_save_LIBS
="$LIBS"
9368 LIBS
="-lpng -lz -lm $LIBS"
9369 cat > conftest.
$ac_ext <<EOF
9370 #line 9371 "configure"
9371 #include "confdefs.h"
9372 /* Override any gcc2 internal prototype to avoid an error. */
9373 /* We use char because int might match the return type of a gcc2
9374 builtin and then its argument prototype would still apply. */
9375 char png_check_sig();
9381 if { (eval echo configure
:9382: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9383 eval "ac_cv_lib_$ac_lib_var=yes"
9385 echo "configure: failed program was:" >&5
9386 cat conftest.
$ac_ext >&5
9388 eval "ac_cv_lib_$ac_lib_var=no"
9391 LIBS
="$ac_save_LIBS"
9394 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9395 echo "$ac_t""yes" 1>&6
9398 echo "$ac_t""no" 1>&6
9403 echo "$ac_t""no" 1>&6
9407 if test "x$PNG_LINK" = "x" ; then
9408 if test "$wxUSE_LIBPNG" = "sys" ; then
9409 { echo "configure: error: system png library not found! Use --with-libpng=builtin to use built-in version" 1>&2; exit 1; }
9411 echo "configure: warning: system png library not found, will use built-in instead" 1>&2
9412 wxUSE_LIBPNG
=builtin
9419 if test "$wxUSE_LIBPNG" = "builtin" ; then
9420 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
9423 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
9429 if test "$wxUSE_LIBJPEG" != "no" ; then
9430 cat >> confdefs.h
<<\EOF
9431 #define wxUSE_LIBJPEG 1
9435 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
9436 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6
9437 echo "configure:9438: checking for jpeglib.h" >&5
9438 if eval "test \"`echo '$''{'ac_cv_header_jpeglib_h'+set}'`\" = set"; then
9439 echo $ac_n "(cached) $ac_c" 1>&6
9441 cat > conftest.
$ac_ext <<EOF
9442 #line 9443 "configure"
9443 #include "confdefs.h"
9445 #undef HAVE_STDLIB_H
9447 #include <jpeglib.h>
9454 if { (eval echo configure
:9455: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9456 ac_cv_header_jpeglib_h
=yes
9458 echo "configure: failed program was:" >&5
9459 cat conftest.
$ac_ext >&5
9461 ac_cv_header_jpeglib_h
=no
9468 echo "$ac_t""$ac_cv_header_jpeglib_h" 1>&6
9470 if test "$ac_cv_header_jpeglib_h" = "yes"; then
9471 echo $ac_n "checking for jpeg_read_header in -ljpeg""... $ac_c" 1>&6
9472 echo "configure:9473: checking for jpeg_read_header in -ljpeg" >&5
9473 ac_lib_var
=`echo jpeg'_'jpeg_read_header | sed 'y%./+-%__p_%'`
9474 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9475 echo $ac_n "(cached) $ac_c" 1>&6
9477 ac_save_LIBS
="$LIBS"
9479 cat > conftest.
$ac_ext <<EOF
9480 #line 9481 "configure"
9481 #include "confdefs.h"
9482 /* Override any gcc2 internal prototype to avoid an error. */
9483 /* We use char because int might match the return type of a gcc2
9484 builtin and then its argument prototype would still apply. */
9485 char jpeg_read_header();
9491 if { (eval echo configure
:9492: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9493 eval "ac_cv_lib_$ac_lib_var=yes"
9495 echo "configure: failed program was:" >&5
9496 cat conftest.
$ac_ext >&5
9498 eval "ac_cv_lib_$ac_lib_var=no"
9501 LIBS
="$ac_save_LIBS"
9504 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9505 echo "$ac_t""yes" 1>&6
9508 echo "$ac_t""no" 1>&6
9513 if test "x$JPEG_LINK" = "x" ; then
9514 if test "$wxUSE_LIBJPEG" = "sys" ; then
9515 { echo "configure: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" 1>&2; exit 1; }
9517 echo "configure: warning: system jpeg library not found, will use built-in instead" 1>&2
9518 wxUSE_LIBJPEG
=builtin
9525 if test "$wxUSE_LIBJPEG" = "builtin" ; then
9526 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
9533 if test "$wxUSE_LIBTIFF" != "no" ; then
9534 cat >> confdefs.h
<<\EOF
9535 #define wxUSE_LIBTIFF 1
9539 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
9540 ac_safe
=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
9541 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
9542 echo "configure:9543: checking for tiffio.h" >&5
9543 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9544 echo $ac_n "(cached) $ac_c" 1>&6
9546 cat > conftest.
$ac_ext <<EOF
9547 #line 9548 "configure"
9548 #include "confdefs.h"
9551 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9552 { (eval echo configure
:9553: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9553 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9554 if test -z "$ac_err"; then
9556 eval "ac_cv_header_$ac_safe=yes"
9559 echo "configure: failed program was:" >&5
9560 cat conftest.
$ac_ext >&5
9562 eval "ac_cv_header_$ac_safe=no"
9566 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9567 echo "$ac_t""yes" 1>&6
9568 echo $ac_n "checking for TIFFError in -ltiff""... $ac_c" 1>&6
9569 echo "configure:9570: checking for TIFFError in -ltiff" >&5
9570 ac_lib_var
=`echo tiff'_'TIFFError | sed 'y%./+-%__p_%'`
9571 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9572 echo $ac_n "(cached) $ac_c" 1>&6
9574 ac_save_LIBS
="$LIBS"
9575 LIBS
="-ltiff -lm $LIBS"
9576 cat > conftest.
$ac_ext <<EOF
9577 #line 9578 "configure"
9578 #include "confdefs.h"
9579 /* Override any gcc2 internal prototype to avoid an error. */
9580 /* We use char because int might match the return type of a gcc2
9581 builtin and then its argument prototype would still apply. */
9588 if { (eval echo configure
:9589: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9590 eval "ac_cv_lib_$ac_lib_var=yes"
9592 echo "configure: failed program was:" >&5
9593 cat conftest.
$ac_ext >&5
9595 eval "ac_cv_lib_$ac_lib_var=no"
9598 LIBS
="$ac_save_LIBS"
9601 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9602 echo "$ac_t""yes" 1>&6
9605 echo "$ac_t""no" 1>&6
9610 echo "$ac_t""no" 1>&6
9614 if test "x$TIFF_LINK" = "x" ; then
9615 if test "$wxUSE_LIBTIFF" = "sys" ; then
9616 { echo "configure: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" 1>&2; exit 1; }
9618 echo "configure: warning: system tiff library not found, will use built-in instead" 1>&2
9619 wxUSE_LIBTIFF
=builtin
9626 if test "$wxUSE_LIBTIFF" = "builtin" ; then
9627 TIFF_INCLUDE
="-I\${top_srcdir}/src/tiff"
9634 if test "$wxUSE_FREETYPE" != "no" ; then
9635 cat >> confdefs.h
<<\EOF
9636 #define wxUSE_FREETYPE 1
9640 if test "$wxUSE_FREETYPE" = "sys" -o "$wxUSE_FREETYPE" = "yes" ; then
9641 ac_safe
=`echo "freetype.h" | sed 'y%./+-%__p_%'`
9642 echo $ac_n "checking for freetype.h""... $ac_c" 1>&6
9643 echo "configure:9644: checking for freetype.h" >&5
9644 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9645 echo $ac_n "(cached) $ac_c" 1>&6
9647 cat > conftest.
$ac_ext <<EOF
9648 #line 9649 "configure"
9649 #include "confdefs.h"
9650 #include <freetype.h>
9652 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9653 { (eval echo configure
:9654: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9654 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9655 if test -z "$ac_err"; then
9657 eval "ac_cv_header_$ac_safe=yes"
9660 echo "configure: failed program was:" >&5
9661 cat conftest.
$ac_ext >&5
9663 eval "ac_cv_header_$ac_safe=no"
9667 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9668 echo "$ac_t""yes" 1>&6
9669 echo $ac_n "checking for FT_Render_Glyph in -lfreetype""... $ac_c" 1>&6
9670 echo "configure:9671: checking for FT_Render_Glyph in -lfreetype" >&5
9671 ac_lib_var
=`echo freetype'_'FT_Render_Glyph | sed 'y%./+-%__p_%'`
9672 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9673 echo $ac_n "(cached) $ac_c" 1>&6
9675 ac_save_LIBS
="$LIBS"
9676 LIBS
="-lfreetype -lm $LIBS"
9677 cat > conftest.
$ac_ext <<EOF
9678 #line 9679 "configure"
9679 #include "confdefs.h"
9680 /* Override any gcc2 internal prototype to avoid an error. */
9681 /* We use char because int might match the return type of a gcc2
9682 builtin and then its argument prototype would still apply. */
9683 char FT_Render_Glyph();
9689 if { (eval echo configure
:9690: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9691 eval "ac_cv_lib_$ac_lib_var=yes"
9693 echo "configure: failed program was:" >&5
9694 cat conftest.
$ac_ext >&5
9696 eval "ac_cv_lib_$ac_lib_var=no"
9699 LIBS
="$ac_save_LIBS"
9702 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9703 echo "$ac_t""yes" 1>&6
9704 FREETYPE_LINK
=" -lfreetype"
9706 echo "$ac_t""no" 1>&6
9711 echo "$ac_t""no" 1>&6
9715 if test "x$FREETYPE_LINK" = "x" ; then
9716 if test "$wxUSE_FREETYPE" = "sys" ; then
9717 { echo "configure: error: system freetype library not found! Use --with-freetype=builtin to use built-in version" 1>&2; exit 1; }
9719 echo "configure: warning: system freetype library not found, will use built-in instead" 1>&2
9720 wxUSE_FREETYPE
=builtin
9727 if test "$wxUSE_FREETYPE" = "builtin" ; then
9728 FREETYPE_INCLUDE
="-I\${top_srcdir}/src/freetype"
9739 if test "$USE_WIN32" = 1 ; then
9740 for ac_hdr
in w32api.h
9742 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9743 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9744 echo "configure:9745: checking for $ac_hdr" >&5
9745 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9746 echo $ac_n "(cached) $ac_c" 1>&6
9748 cat > conftest.
$ac_ext <<EOF
9749 #line 9750 "configure"
9750 #include "confdefs.h"
9753 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9754 { (eval echo configure
:9755: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9755 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9756 if test -z "$ac_err"; then
9758 eval "ac_cv_header_$ac_safe=yes"
9761 echo "configure: failed program was:" >&5
9762 cat conftest.
$ac_ext >&5
9764 eval "ac_cv_header_$ac_safe=no"
9768 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9769 echo "$ac_t""yes" 1>&6
9770 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9771 cat >> confdefs.h
<<EOF
9772 #define $ac_tr_hdr 1
9776 echo "$ac_t""no" 1>&6
9780 ac_safe
=`echo "windows.h" | sed 'y%./+-%__p_%'`
9781 echo $ac_n "checking for windows.h""... $ac_c" 1>&6
9782 echo "configure:9783: checking for windows.h" >&5
9783 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9784 echo $ac_n "(cached) $ac_c" 1>&6
9786 cat > conftest.
$ac_ext <<EOF
9787 #line 9788 "configure"
9788 #include "confdefs.h"
9789 #include <windows.h>
9791 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9792 { (eval echo configure
:9793: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9793 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9794 if test -z "$ac_err"; then
9796 eval "ac_cv_header_$ac_safe=yes"
9799 echo "configure: failed program was:" >&5
9800 cat conftest.
$ac_ext >&5
9802 eval "ac_cv_header_$ac_safe=no"
9806 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9807 echo "$ac_t""yes" 1>&6
9810 echo "$ac_t""no" 1>&6
9812 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
9817 echo $ac_n "checking if w32api has good enough MSIE support""... $ac_c" 1>&6
9818 echo "configure:9819: checking if w32api has good enough MSIE support" >&5
9819 if eval "test \"`echo '$''{'wx_cv_w32api_win32_ie'+set}'`\" = set"; then
9820 echo $ac_n "(cached) $ac_c" 1>&6
9823 cat > conftest.
$ac_ext <<EOF
9824 #line 9825 "configure"
9825 #include "confdefs.h"
9829 #define wxCHECK_W32API_VERSION( major, minor ) \
9830 ( defined( __W32API_MAJOR_VERSION ) && defined( __W32API_MINOR_VERSION ) \
9831 && ( ( __W32API_MAJOR_VERSION > (major) ) \
9832 || ( __W32API_MAJOR_VERSION == (major) && __W32API_MINOR_VERSION >= (minor))))
9834 #if !wxCHECK_W32API_VERSION(1,1)
9835 #error You need w32api 1.1 or newer
9840 if { (eval echo configure
:9841: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9843 wx_cv_w32api_win32_ie
=yes
9846 echo "configure: failed program was:" >&5
9847 cat conftest.
$ac_ext >&5
9850 wx_cv_w32api_win32_ie
=no
9857 echo "$ac_t""$wx_cv_w32api_win32_ie" 1>&6
9858 if test "$wx_cv_w32api_win32_ie" = "yes" ; then
9859 CPPFLAGS
="$CPPFLAGS -D_WIN32_IE=0x400"
9862 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -ladvapi32 -lwsock32"
9866 LIBS
="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32"
9867 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
9870 if test "$wxUSE_ODBC" = "yes" ; then
9871 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
9874 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
9875 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
9878 if test "$wxUSE_GUI" = "yes"; then
9887 if test "$wxUSE_MSW" = 1 ; then
9893 LDFLAGS
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
9897 if test "$wxUSE_GTK" = 1; then
9898 echo $ac_n "checking for GTK+ version""... $ac_c" 1>&6
9899 echo "configure:9900: checking for GTK+ version" >&5
9901 gtk_version_cached
=1
9902 if eval "test \"`echo '$''{'wx_cv_lib_gtk'+set}'`\" = set"; then
9903 echo $ac_n "(cached) $ac_c" 1>&6
9906 gtk_version_cached
=0
9910 if test "$wxUSE_THREADS" = "yes"; then
9915 if test "x$wxUSE_GTK2" = "xyes"; then
9916 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
9917 if test "${with_gtk_prefix+set}" = set; then
9918 withval
="$with_gtk_prefix"
9919 gtk_config_prefix
="$withval"
9921 gtk_config_prefix
=""
9924 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
9925 if test "${with_gtk_exec_prefix+set}" = set; then
9926 withval
="$with_gtk_exec_prefix"
9927 gtk_config_exec_prefix
="$withval"
9929 gtk_config_exec_prefix
=""
9932 # Check whether --enable-gtktest or --disable-gtktest was given.
9933 if test "${enable_gtktest+set}" = set; then
9934 enableval
="$enable_gtktest"
9941 for module
in .
$GTK_MODULES
9945 gtk_config_args
="$gtk_config_args gthread"
9950 if test x
$gtk_config_exec_prefix != x
; then
9951 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
9952 if test x
${GTK_CONFIG_2_0+set} != xset
; then
9953 GTK_CONFIG_2_0
=$gtk_config_exec_prefix/bin
/gtk
-config-2.0
9956 if test x
$gtk_config_prefix != x
; then
9957 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
9958 if test x
${GTK_CONFIG_2_0+set} != xset
; then
9959 GTK_CONFIG_2_0
=$gtk_config_prefix/bin
/gtk
-config-2.0
9963 # Extract the first word of "gtk-config-2.0", so it can be a program name with args.
9964 set dummy gtk
-config-2.0
; ac_word
=$2
9965 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9966 echo "configure:9967: checking for $ac_word" >&5
9967 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG_2_0'+set}'`\" = set"; then
9968 echo $ac_n "(cached) $ac_c" 1>&6
9970 case "$GTK_CONFIG_2_0" in
9972 ac_cv_path_GTK_CONFIG_2_0
="$GTK_CONFIG_2_0" # Let the user override the test with a path.
9975 ac_cv_path_GTK_CONFIG_2_0
="$GTK_CONFIG_2_0" # Let the user override the test with a dos path.
9978 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9980 for ac_dir
in $ac_dummy; do
9981 test -z "$ac_dir" && ac_dir
=.
9982 if test -f $ac_dir/$ac_word; then
9983 ac_cv_path_GTK_CONFIG_2_0
="$ac_dir/$ac_word"
9988 test -z "$ac_cv_path_GTK_CONFIG_2_0" && ac_cv_path_GTK_CONFIG_2_0
="no"
9992 GTK_CONFIG_2_0
="$ac_cv_path_GTK_CONFIG_2_0"
9993 if test -n "$GTK_CONFIG_2_0"; then
9994 echo "$ac_t""$GTK_CONFIG_2_0" 1>&6
9996 echo "$ac_t""no" 1>&6
9999 min_gtk_version
=1.3.1
10000 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
10001 echo "configure:10002: checking for GTK - version >= $min_gtk_version" >&5
10003 if test "$GTK_CONFIG_2_0" = "no" ; then
10006 GTK_CFLAGS
=`$GTK_CONFIG_2_0 $gtk_config_args --cflags`
10007 GTK_LIBS
=`$GTK_CONFIG_2_0 $gtk_config_args --libs`
10008 gtk_config_major_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
10009 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
10010 gtk_config_minor_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
10011 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
10012 gtk_config_micro_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
10013 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
10014 if test "x$enable_gtktest" = "xyes" ; then
10015 ac_save_CFLAGS
="$CFLAGS"
10016 ac_save_LIBS
="$LIBS"
10017 CFLAGS
="$CFLAGS $GTK_CFLAGS"
10018 LIBS
="$GTK_LIBS $LIBS"
10020 if test "$cross_compiling" = yes; then
10021 echo $ac_n "cross compiling; assumed OK... $ac_c"
10023 cat > conftest.
$ac_ext <<EOF
10024 #line 10025 "configure"
10025 #include "confdefs.h"
10027 #include <gtk/gtk.h>
10029 #include <stdlib.h>
10034 int major, minor, micro;
10037 system ("touch conf.gtktest");
10039 /* HP/UX 9 (%@#!) writes to sscanf strings */
10040 tmp_version = g_strdup("$min_gtk_version");
10041 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
10042 printf("%s, bad version string\n", "$min_gtk_version");
10046 if ((gtk_major_version != $gtk_config_major_version) ||
10047 (gtk_minor_version != $gtk_config_minor_version) ||
10048 (gtk_micro_version != $gtk_config_micro_version))
10050 printf("\n*** 'gtk-config-2.0 --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
10051 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
10052 gtk_major_version, gtk_minor_version, gtk_micro_version);
10053 printf ("*** was found! If gtk-config-2.0 was correct, then it is best\n");
10054 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
10055 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
10056 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
10057 printf("*** required on your system.\n");
10058 printf("*** If gtk-config-2.0 was wrong, set the environment variable GTK_CONFIG_2_0\n");
10059 printf("*** to point to the correct copy of gtk-config-2.0, and remove the file config.cache\n");
10060 printf("*** before re-running configure\n");
10062 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
10063 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
10064 (gtk_minor_version != GTK_MINOR_VERSION) ||
10065 (gtk_micro_version != GTK_MICRO_VERSION))
10067 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
10068 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
10069 printf("*** library (version %d.%d.%d)\n",
10070 gtk_major_version, gtk_minor_version, gtk_micro_version);
10072 #endif /* defined (GTK_MAJOR_VERSION) ... */
10075 if ((gtk_major_version > major) ||
10076 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
10077 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
10083 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
10084 gtk_major_version, gtk_minor_version, gtk_micro_version);
10085 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
10086 major, minor, micro);
10087 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
10089 printf("*** If you have already installed a sufficiently new version, this error\n");
10090 printf("*** probably means that the wrong copy of the gtk-config-2.0 shell script is\n");
10091 printf("*** being found. The easiest way to fix this is to remove the old version\n");
10092 printf("*** of GTK+, but you can also set the GTK_CONFIG_2_0 environment to point to the\n");
10093 printf("*** correct copy of gtk-config-2.0. (In this case, you will have to\n");
10094 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
10095 printf("*** so that the correct libraries are found at run-time))\n");
10102 if { (eval echo configure
:10103: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10106 echo "configure: failed program was:" >&5
10107 cat conftest.
$ac_ext >&5
10114 CFLAGS
="$ac_save_CFLAGS"
10115 LIBS
="$ac_save_LIBS"
10118 if test "x$no_gtk" = x
; then
10119 echo "$ac_t""yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" 1>&6
10122 echo "$ac_t""no" 1>&6
10123 if test "$GTK_CONFIG_2_0" = "no" ; then
10124 echo "*** The gtk-config-2.0 script installed by GTK could not be found"
10125 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
10126 echo "*** your path, or set the GTK_CONFIG_2_0 environment variable to the"
10127 echo "*** full path to gtk-config-2.0."
10129 if test -f conf.gtktest
; then
10132 echo "*** Could not run GTK test program, checking why..."
10133 CFLAGS
="$CFLAGS $GTK_CFLAGS"
10134 LIBS
="$LIBS $GTK_LIBS"
10135 cat > conftest.
$ac_ext <<EOF
10136 #line 10137 "configure"
10137 #include "confdefs.h"
10139 #include <gtk/gtk.h>
10143 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
10146 if { (eval echo configure
:10147: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10148 echo "*** The test program compiled, but did not run. This usually means"
10149 echo "*** that the run-time linker is not finding GTK or finding the wrong"
10150 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
10151 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
10152 echo "*** to the installed location Also, make sure you have run ldconfig if that"
10153 echo "*** is required on your system"
10155 echo "*** If you have an old version installed, it is best to remove it, although"
10156 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
10158 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
10159 echo "*** came with the system with the command"
10161 echo "*** rpm --erase --nodeps gtk gtk-devel"
10163 echo "configure: failed program was:" >&5
10164 cat conftest.
$ac_ext >&5
10166 echo "*** The test program failed to compile or link. See the file config.log for the"
10167 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
10168 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
10169 echo "*** may want to edit the gtk-config-2.0 script: $GTK_CONFIG_2_0"
10172 CFLAGS
="$ac_save_CFLAGS"
10173 LIBS
="$ac_save_LIBS"
10186 if test -z "$wx_cv_lib_gtk"; then
10187 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
10188 if test "${with_gtk_prefix+set}" = set; then
10189 withval
="$with_gtk_prefix"
10190 gtk_config_prefix
="$withval"
10192 gtk_config_prefix
=""
10195 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
10196 if test "${with_gtk_exec_prefix+set}" = set; then
10197 withval
="$with_gtk_exec_prefix"
10198 gtk_config_exec_prefix
="$withval"
10200 gtk_config_exec_prefix
=""
10203 # Check whether --enable-gtktest or --disable-gtktest was given.
10204 if test "${enable_gtktest+set}" = set; then
10205 enableval
="$enable_gtktest"
10212 for module
in .
$GTK_MODULES
10216 gtk_config_args
="$gtk_config_args gthread"
10221 if test x
$gtk_config_exec_prefix != x
; then
10222 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
10223 if test x
${GTK_CONFIG+set} != xset
; then
10224 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
10227 if test x
$gtk_config_prefix != x
; then
10228 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
10229 if test x
${GTK_CONFIG+set} != xset
; then
10230 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
10234 # Extract the first word of "gtk-config", so it can be a program name with args.
10235 set dummy gtk
-config; ac_word
=$2
10236 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
10237 echo "configure:10238: checking for $ac_word" >&5
10238 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
10239 echo $ac_n "(cached) $ac_c" 1>&6
10241 case "$GTK_CONFIG" in
10243 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
10246 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
10249 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
10251 for ac_dir
in $ac_dummy; do
10252 test -z "$ac_dir" && ac_dir
=.
10253 if test -f $ac_dir/$ac_word; then
10254 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
10259 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
10263 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
10264 if test -n "$GTK_CONFIG"; then
10265 echo "$ac_t""$GTK_CONFIG" 1>&6
10267 echo "$ac_t""no" 1>&6
10270 min_gtk_version
=1.2.7
10271 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
10272 echo "configure:10273: checking for GTK - version >= $min_gtk_version" >&5
10274 if test "$GTK_CONFIG" = "no" ; then
10277 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
10278 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
10279 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
10280 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
10281 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
10282 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
10283 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
10284 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
10285 if test "x$enable_gtktest" = "xyes" ; then
10286 ac_save_CFLAGS
="$CFLAGS"
10287 ac_save_LIBS
="$LIBS"
10288 CFLAGS
="$CFLAGS $GTK_CFLAGS"
10289 LIBS
="$GTK_LIBS $LIBS"
10291 if test "$cross_compiling" = yes; then
10292 echo $ac_n "cross compiling; assumed OK... $ac_c"
10294 cat > conftest.
$ac_ext <<EOF
10295 #line 10296 "configure"
10296 #include "confdefs.h"
10298 #include <gtk/gtk.h>
10300 #include <stdlib.h>
10305 int major, minor, micro;
10308 system ("touch conf.gtktest");
10310 /* HP/UX 9 (%@#!) writes to sscanf strings */
10311 tmp_version = g_strdup("$min_gtk_version");
10312 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
10313 printf("%s, bad version string\n", "$min_gtk_version");
10317 if ((gtk_major_version != $gtk_config_major_version) ||
10318 (gtk_minor_version != $gtk_config_minor_version) ||
10319 (gtk_micro_version != $gtk_config_micro_version))
10321 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
10322 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
10323 gtk_major_version, gtk_minor_version, gtk_micro_version);
10324 printf ("*** was found! If gtk-config was correct, then it is best\n");
10325 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
10326 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
10327 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
10328 printf("*** required on your system.\n");
10329 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
10330 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
10331 printf("*** before re-running configure\n");
10333 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
10334 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
10335 (gtk_minor_version != GTK_MINOR_VERSION) ||
10336 (gtk_micro_version != GTK_MICRO_VERSION))
10338 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
10339 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
10340 printf("*** library (version %d.%d.%d)\n",
10341 gtk_major_version, gtk_minor_version, gtk_micro_version);
10343 #endif /* defined (GTK_MAJOR_VERSION) ... */
10346 if ((gtk_major_version > major) ||
10347 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
10348 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
10354 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
10355 gtk_major_version, gtk_minor_version, gtk_micro_version);
10356 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
10357 major, minor, micro);
10358 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
10360 printf("*** If you have already installed a sufficiently new version, this error\n");
10361 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
10362 printf("*** being found. The easiest way to fix this is to remove the old version\n");
10363 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
10364 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
10365 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
10366 printf("*** so that the correct libraries are found at run-time))\n");
10373 if { (eval echo configure
:10374: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10377 echo "configure: failed program was:" >&5
10378 cat conftest.
$ac_ext >&5
10385 CFLAGS
="$ac_save_CFLAGS"
10386 LIBS
="$ac_save_LIBS"
10389 if test "x$no_gtk" = x
; then
10390 echo "$ac_t""yes" 1>&6
10391 wx_cv_lib_gtk
=1.2.7
10393 echo "$ac_t""no" 1>&6
10394 if test "$GTK_CONFIG" = "no" ; then
10395 echo "*** The gtk-config script installed by GTK could not be found"
10396 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
10397 echo "*** your path, or set the GTK_CONFIG environment variable to the"
10398 echo "*** full path to gtk-config."
10400 if test -f conf.gtktest
; then
10403 echo "*** Could not run GTK test program, checking why..."
10404 CFLAGS
="$CFLAGS $GTK_CFLAGS"
10405 LIBS
="$LIBS $GTK_LIBS"
10406 cat > conftest.
$ac_ext <<EOF
10407 #line 10408 "configure"
10408 #include "confdefs.h"
10410 #include <gtk/gtk.h>
10414 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
10417 if { (eval echo configure
:10418: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10419 echo "*** The test program compiled, but did not run. This usually means"
10420 echo "*** that the run-time linker is not finding GTK or finding the wrong"
10421 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
10422 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
10423 echo "*** to the installed location Also, make sure you have run ldconfig if that"
10424 echo "*** is required on your system"
10426 echo "*** If you have an old version installed, it is best to remove it, although"
10427 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
10429 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
10430 echo "*** came with the system with the command"
10432 echo "*** rpm --erase --nodeps gtk gtk-devel"
10434 echo "configure: failed program was:" >&5
10435 cat conftest.
$ac_ext >&5
10437 echo "*** The test program failed to compile or link. See the file config.log for the"
10438 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
10439 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
10440 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
10443 CFLAGS
="$ac_save_CFLAGS"
10444 LIBS
="$ac_save_LIBS"
10457 if test -z "$wx_cv_lib_gtk"; then
10458 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
10459 if test "${with_gtk_prefix+set}" = set; then
10460 withval
="$with_gtk_prefix"
10461 gtk_config_prefix
="$withval"
10463 gtk_config_prefix
=""
10466 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
10467 if test "${with_gtk_exec_prefix+set}" = set; then
10468 withval
="$with_gtk_exec_prefix"
10469 gtk_config_exec_prefix
="$withval"
10471 gtk_config_exec_prefix
=""
10474 # Check whether --enable-gtktest or --disable-gtktest was given.
10475 if test "${enable_gtktest+set}" = set; then
10476 enableval
="$enable_gtktest"
10483 for module
in .
$GTK_MODULES
10487 gtk_config_args
="$gtk_config_args gthread"
10492 if test x
$gtk_config_exec_prefix != x
; then
10493 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
10494 if test x
${GTK_CONFIG+set} != xset
; then
10495 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
10498 if test x
$gtk_config_prefix != x
; then
10499 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
10500 if test x
${GTK_CONFIG+set} != xset
; then
10501 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
10505 # Extract the first word of "gtk-config", so it can be a program name with args.
10506 set dummy gtk
-config; ac_word
=$2
10507 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
10508 echo "configure:10509: checking for $ac_word" >&5
10509 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
10510 echo $ac_n "(cached) $ac_c" 1>&6
10512 case "$GTK_CONFIG" in
10514 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
10517 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
10520 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
10522 for ac_dir
in $ac_dummy; do
10523 test -z "$ac_dir" && ac_dir
=.
10524 if test -f $ac_dir/$ac_word; then
10525 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
10530 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
10534 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
10535 if test -n "$GTK_CONFIG"; then
10536 echo "$ac_t""$GTK_CONFIG" 1>&6
10538 echo "$ac_t""no" 1>&6
10541 min_gtk_version
=1.2.3
10542 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
10543 echo "configure:10544: checking for GTK - version >= $min_gtk_version" >&5
10545 if test "$GTK_CONFIG" = "no" ; then
10548 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
10549 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
10550 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
10551 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
10552 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
10553 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
10554 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
10555 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
10556 if test "x$enable_gtktest" = "xyes" ; then
10557 ac_save_CFLAGS
="$CFLAGS"
10558 ac_save_LIBS
="$LIBS"
10559 CFLAGS
="$CFLAGS $GTK_CFLAGS"
10560 LIBS
="$GTK_LIBS $LIBS"
10562 if test "$cross_compiling" = yes; then
10563 echo $ac_n "cross compiling; assumed OK... $ac_c"
10565 cat > conftest.
$ac_ext <<EOF
10566 #line 10567 "configure"
10567 #include "confdefs.h"
10569 #include <gtk/gtk.h>
10571 #include <stdlib.h>
10576 int major, minor, micro;
10579 system ("touch conf.gtktest");
10581 /* HP/UX 9 (%@#!) writes to sscanf strings */
10582 tmp_version = g_strdup("$min_gtk_version");
10583 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
10584 printf("%s, bad version string\n", "$min_gtk_version");
10588 if ((gtk_major_version != $gtk_config_major_version) ||
10589 (gtk_minor_version != $gtk_config_minor_version) ||
10590 (gtk_micro_version != $gtk_config_micro_version))
10592 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
10593 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
10594 gtk_major_version, gtk_minor_version, gtk_micro_version);
10595 printf ("*** was found! If gtk-config was correct, then it is best\n");
10596 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
10597 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
10598 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
10599 printf("*** required on your system.\n");
10600 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
10601 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
10602 printf("*** before re-running configure\n");
10604 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
10605 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
10606 (gtk_minor_version != GTK_MINOR_VERSION) ||
10607 (gtk_micro_version != GTK_MICRO_VERSION))
10609 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
10610 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
10611 printf("*** library (version %d.%d.%d)\n",
10612 gtk_major_version, gtk_minor_version, gtk_micro_version);
10614 #endif /* defined (GTK_MAJOR_VERSION) ... */
10617 if ((gtk_major_version > major) ||
10618 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
10619 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
10625 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
10626 gtk_major_version, gtk_minor_version, gtk_micro_version);
10627 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
10628 major, minor, micro);
10629 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
10631 printf("*** If you have already installed a sufficiently new version, this error\n");
10632 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
10633 printf("*** being found. The easiest way to fix this is to remove the old version\n");
10634 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
10635 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
10636 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
10637 printf("*** so that the correct libraries are found at run-time))\n");
10644 if { (eval echo configure
:10645: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10648 echo "configure: failed program was:" >&5
10649 cat conftest.
$ac_ext >&5
10656 CFLAGS
="$ac_save_CFLAGS"
10657 LIBS
="$ac_save_LIBS"
10660 if test "x$no_gtk" = x
; then
10661 echo "$ac_t""yes" 1>&6
10662 wx_cv_lib_gtk
=1.2.3
10664 echo "$ac_t""no" 1>&6
10665 if test "$GTK_CONFIG" = "no" ; then
10666 echo "*** The gtk-config script installed by GTK could not be found"
10667 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
10668 echo "*** your path, or set the GTK_CONFIG environment variable to the"
10669 echo "*** full path to gtk-config."
10671 if test -f conf.gtktest
; then
10674 echo "*** Could not run GTK test program, checking why..."
10675 CFLAGS
="$CFLAGS $GTK_CFLAGS"
10676 LIBS
="$LIBS $GTK_LIBS"
10677 cat > conftest.
$ac_ext <<EOF
10678 #line 10679 "configure"
10679 #include "confdefs.h"
10681 #include <gtk/gtk.h>
10685 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
10688 if { (eval echo configure
:10689: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10690 echo "*** The test program compiled, but did not run. This usually means"
10691 echo "*** that the run-time linker is not finding GTK or finding the wrong"
10692 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
10693 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
10694 echo "*** to the installed location Also, make sure you have run ldconfig if that"
10695 echo "*** is required on your system"
10697 echo "*** If you have an old version installed, it is best to remove it, although"
10698 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
10700 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
10701 echo "*** came with the system with the command"
10703 echo "*** rpm --erase --nodeps gtk gtk-devel"
10705 echo "configure: failed program was:" >&5
10706 cat conftest.
$ac_ext >&5
10708 echo "*** The test program failed to compile or link. See the file config.log for the"
10709 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
10710 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
10711 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
10714 CFLAGS
="$ac_save_CFLAGS"
10715 LIBS
="$ac_save_LIBS"
10728 if test -z "$wx_cv_lib_gtk"; then
10731 wx_cv_cflags_gtk
=$GTK_CFLAGS
10732 wx_cv_libs_gtk
=$GTK_LIBS
10739 if test "$gtk_version_cached" = 1; then
10740 echo "$ac_t""$wx_cv_lib_gtk" 1>&6
10743 case "$wx_cv_lib_gtk" in
10751 *) { echo "configure: error:
10752 Please check that gtk-config is in path, the directory
10753 where GTK+ libraries are installed (returned by
10754 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
10755 equivalent variable and GTK+ is version 1.2.3 or above.
10760 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
10761 GUI_TK_LIBRARY
="$wx_cv_libs_gtk"
10763 AFMINSTALL
=afminstall
10767 echo $ac_n "checking for gdk_im_open in -lgdk""... $ac_c" 1>&6
10768 echo "configure:10769: checking for gdk_im_open in -lgdk" >&5
10769 ac_lib_var
=`echo gdk'_'gdk_im_open | sed 'y%./+-%__p_%'`
10770 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10771 echo $ac_n "(cached) $ac_c" 1>&6
10773 ac_save_LIBS
="$LIBS"
10775 cat > conftest.
$ac_ext <<EOF
10776 #line 10777 "configure"
10777 #include "confdefs.h"
10778 /* Override any gcc2 internal prototype to avoid an error. */
10779 /* We use char because int might match the return type of a gcc2
10780 builtin and then its argument prototype would still apply. */
10781 char gdk_im_open();
10787 if { (eval echo configure
:10788: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10789 eval "ac_cv_lib_$ac_lib_var=yes"
10791 echo "configure: failed program was:" >&5
10792 cat conftest.
$ac_ext >&5
10794 eval "ac_cv_lib_$ac_lib_var=no"
10797 LIBS
="$ac_save_LIBS"
10800 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10801 echo "$ac_t""yes" 1>&6
10802 cat >> confdefs.h
<<\EOF
10807 echo "$ac_t""no" 1>&6
10812 if test "$wxUSE_MGL" = 1; then
10813 echo $ac_n "checking for SciTech MGL library""... $ac_c" 1>&6
10814 echo "configure:10815: checking for SciTech MGL library" >&5
10815 if test "x$MGL_ROOT" = x
; then
10816 echo "$ac_t""not found" 1>&6
10817 { echo "configure: error: Cannot find MGL library. Make sure MGL_ROOT is set." 1>&2; exit 1; }
10819 echo "$ac_t""$MGL_ROOT" 1>&6
10824 mgl_os
=linux
/gcc
/glibc
10830 { echo "configure: error: This system type ${host} is not yet supported by wxMGL." 1>&2; exit 1; }
10835 if test "$wxUSE_DEBUG_FLAG" = yes ; then
10836 if test -f $MGL_ROOT/lib
/debug
/$mgl_os/libmgl.a
-o \
10837 -f $MGL_ROOT/lib
/debug
/$mgl_os/libmgl.so
; then
10841 if test "x$mgl_lib_type" = x
; then
10842 if test -f $MGL_ROOT/lib
/release
/$mgl_os/libmgl.a
-o \
10843 -f $MGL_ROOT/lib
/release
/$mgl_os/libmgl.so
; then
10844 mgl_lib_type
=release
10846 { echo "configure: error: Cannot find MGL libraries, make sure they are compiled." 1>&2; exit 1; }
10850 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
10851 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
10853 AFMINSTALL
=afminstall
10858 if test "$wxUSE_MICROWIN" = 1; then
10859 echo $ac_n "checking for MicroWindows""... $ac_c" 1>&6
10860 echo "configure:10861: checking for MicroWindows" >&5
10861 if test "x$MICROWINDOWS" = x
; then
10862 echo "$ac_t""not found" 1>&6
10863 { echo "configure: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." 1>&2; exit 1; }
10865 echo "$ac_t""$MICROWINDOWS" 1>&6
10868 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
10869 echo "$ac_t""MicroWindows' libraries found." 1>&6
10871 { echo "configure: error: Cannot find MicroWindows libraries, make sure they are compiled." 1>&2; exit 1; }
10874 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
10875 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
10877 AFMINSTALL
=afminstall
10879 GUIDIST
=MICROWIN_DIST
10881 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__ -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
10884 if test "$wxUSE_WINE" = 1; then
10885 ac_safe
=`echo "windows.h" | sed 'y%./+-%__p_%'`
10886 echo $ac_n "checking for windows.h""... $ac_c" 1>&6
10887 echo "configure:10888: checking for windows.h" >&5
10888 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10889 echo $ac_n "(cached) $ac_c" 1>&6
10891 cat > conftest.
$ac_ext <<EOF
10892 #line 10893 "configure"
10893 #include "confdefs.h"
10894 #include <windows.h>
10896 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10897 { (eval echo configure
:10898: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10898 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10899 if test -z "$ac_err"; then
10901 eval "ac_cv_header_$ac_safe=yes"
10904 echo "configure: failed program was:" >&5
10905 cat conftest.
$ac_ext >&5
10907 eval "ac_cv_header_$ac_safe=no"
10911 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10912 echo "$ac_t""yes" 1>&6
10915 echo "$ac_t""no" 1>&6
10917 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
10923 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
10924 echo "configure:10925: checking for Xpm library" >&5
10927 for ac_dir
in $SEARCH_LIB;
10929 for ac_extension
in a so sl dylib
; do
10930 if test -f "$ac_dir/libXpm.$ac_extension"; then
10931 ac_find_libraries
=$ac_dir
10937 if test "$ac_find_libraries" != "" ; then
10938 GUI_TK_LIBRARY
="-L$ac_find_libraries"
10940 cat >> confdefs.h
<<\EOF
10941 #define wxHAVE_LIB_XPM 1
10944 echo "$ac_t""found at $ac_find_libraries" 1>&6
10946 echo "$ac_t""no" 1>&6
10947 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
10951 echo $ac_n "checking for Mesa library""... $ac_c" 1>&6
10952 echo "configure:10953: checking for Mesa library" >&5
10955 for ac_dir
in $SEARCH_LIB;
10957 for ac_extension
in a so sl dylib
; do
10958 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
10959 ac_find_libraries
=$ac_dir
10965 if test "$ac_find_libraries" != "" ; then
10966 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -L$ac_find_libraries"
10967 mesa_link
=" -lMesaGL"
10968 echo "$ac_t""found at $ac_find_libraries" 1>&6
10970 { echo "configure: error: no" 1>&2; exit 1; }
10973 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lwine$mesa_link$xpm_link -lXxf86dga -lXxf86vm -lSM -lICE -lXext -lXmu -lX11 -lncurses"
10976 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXWINE__"
10979 if test "$wxUSE_MOTIF" = 1; then
10980 # If we find X, set shell vars x_includes and x_libraries to the
10981 # paths, otherwise set no_x=yes.
10982 # Uses ac_ vars as temps to allow command line to override cache and checks.
10983 # --without-x overrides everything else, but does not touch the cache.
10984 echo $ac_n "checking for X""... $ac_c" 1>&6
10985 echo "configure:10986: checking for X" >&5
10987 # Check whether --with-x or --without-x was given.
10988 if test "${with_x+set}" = set; then
10993 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10994 if test "x$with_x" = xno
; then
10995 # The user explicitly disabled X.
10998 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
10999 # Both variables are already set.
11002 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
11003 echo $ac_n "(cached) $ac_c" 1>&6
11005 # One or both of the vars are not set, and there is no cached value.
11006 ac_x_includes
=NO ac_x_libraries
=NO
11008 if mkdir conftestdir
; then
11010 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
11011 cat > Imakefile
<<'EOF'
11013 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
11015 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
11016 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
11017 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
11018 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
11019 for ac_extension
in a so sl
; do
11020 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
11021 test -f $ac_im_libdir/libX11.
$ac_extension; then
11022 ac_im_usrlibdir
=$ac_im_libdir; break
11025 # Screen out bogus values from the imake configuration. They are
11026 # bogus both because they are the default anyway, and because
11027 # using them would break gcc on systems where it needs fixed includes.
11028 case "$ac_im_incroot" in
11030 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;;
11032 case "$ac_im_usrlibdir" in
11033 /usr
/lib
| /lib
) ;;
11034 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;;
11041 if test "$ac_x_includes" = NO
; then
11042 # Guess where to find include files, by looking for this one X11 .h file.
11043 test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
11045 # First, try using that file with no special directory specified.
11046 cat > conftest.
$ac_ext <<EOF
11047 #line 11048 "configure"
11048 #include "confdefs.h"
11049 #include <$x_direct_test_include>
11051 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11052 { (eval echo configure
:11053: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11053 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11054 if test -z "$ac_err"; then
11056 # We can compile using X headers with no special include directory.
11060 echo "configure: failed program was:" >&5
11061 cat conftest.
$ac_ext >&5
11063 # Look for the header file in a standard set of common directories.
11064 # Check X11 before X11Rn because it is often a symlink to the current release.
11067 /usr
/X
11R
6/include \
11068 /usr
/X
11R
5/include \
11069 /usr
/X
11R
4/include \
11072 /usr
/include
/X11R6 \
11073 /usr
/include
/X11R5 \
11074 /usr
/include
/X11R4 \
11076 /usr
/local
/X
11/include \
11077 /usr
/local
/X
11R
6/include \
11078 /usr
/local
/X
11R
5/include \
11079 /usr
/local
/X
11R
4/include \
11081 /usr
/local
/include
/X11 \
11082 /usr
/local
/include
/X11R6 \
11083 /usr
/local
/include
/X11R5 \
11084 /usr
/local
/include
/X11R4 \
11086 /usr
/X
386/include \
11087 /usr
/x
386/include \
11088 /usr
/XFree
86/include
/X11 \
11091 /usr
/local
/include \
11092 /usr
/unsupported
/include \
11093 /usr
/athena
/include \
11094 /usr
/local
/x
11r
5/include \
11095 /usr
/lpp
/Xamples
/include \
11097 /usr
/openwin
/include \
11098 /usr
/openwin
/share
/include \
11101 if test -r "$ac_dir/$x_direct_test_include"; then
11102 ac_x_includes
=$ac_dir
11108 fi # $ac_x_includes = NO
11110 if test "$ac_x_libraries" = NO
; then
11111 # Check for the libraries.
11113 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
11114 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
11116 # See if we find them without any special options.
11117 # Don't add to $LIBS permanently.
11118 ac_save_LIBS
="$LIBS"
11119 LIBS
="-l$x_direct_test_library $LIBS"
11120 cat > conftest.
$ac_ext <<EOF
11121 #line 11122 "configure"
11122 #include "confdefs.h"
11125 ${x_direct_test_function}()
11128 if { (eval echo configure
:11129: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11130 LIBS
="$ac_save_LIBS"
11131 # We can link X programs with no special library path.
11134 echo "configure: failed program was:" >&5
11135 cat conftest.
$ac_ext >&5
11137 LIBS
="$ac_save_LIBS"
11138 # First see if replacing the include by lib works.
11139 # Check X11 before X11Rn because it is often a symlink to the current release.
11140 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib/` \
11151 /usr
/local
/X
11/lib \
11152 /usr
/local
/X
11R
6/lib \
11153 /usr
/local
/X
11R
5/lib \
11154 /usr
/local
/X
11R
4/lib \
11156 /usr
/local
/lib
/X11 \
11157 /usr
/local
/lib
/X11R6 \
11158 /usr
/local
/lib
/X11R5 \
11159 /usr
/local
/lib
/X11R4 \
11163 /usr
/XFree
86/lib
/X11 \
11167 /usr
/unsupported
/lib \
11169 /usr
/local
/x
11r
5/lib \
11170 /usr
/lpp
/Xamples
/lib \
11174 /usr
/openwin
/share
/lib \
11177 for ac_extension
in a so sl
; do
11178 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
11179 ac_x_libraries
=$ac_dir
11186 fi # $ac_x_libraries = NO
11188 if test "$ac_x_includes" = NO
|| test "$ac_x_libraries" = NO
; then
11189 # Didn't find X anywhere. Cache the known absence of X.
11190 ac_cv_have_x
="have_x=no"
11192 # Record where we found X for the cache.
11193 ac_cv_have_x
="have_x=yes \
11194 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
11198 eval "$ac_cv_have_x"
11201 if test "$have_x" != yes; then
11202 echo "$ac_t""$have_x" 1>&6
11205 # If each of the values was on the command line, it overrides each guess.
11206 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
11207 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
11208 # Update the cache value to reflect the command line values.
11209 ac_cv_have_x
="have_x=yes \
11210 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
11211 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
11214 if test "$no_x" = yes; then
11215 # Not all programs may use this symbol, but it does not hurt to define it.
11216 cat >> confdefs.h
<<\EOF
11217 #define X_DISPLAY_MISSING 1
11220 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
11222 if test -n "$x_includes"; then
11223 X_CFLAGS
="$X_CFLAGS -I$x_includes"
11226 # It would also be nice to do this for all -L options, not just this one.
11227 if test -n "$x_libraries"; then
11228 X_LIBS
="$X_LIBS -L$x_libraries"
11229 # For Solaris; some versions of Sun CC require a space after -R and
11230 # others require no space. Words are not sufficient . . . .
11231 case "`(uname -sr) 2>/dev/null`" in
11233 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
11234 echo "configure:11235: checking whether -R must be followed by a space" >&5
11235 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
11236 cat > conftest.
$ac_ext <<EOF
11237 #line 11238 "configure"
11238 #include "confdefs.h"
11244 if { (eval echo configure
:11245: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11248 echo "configure: failed program was:" >&5
11249 cat conftest.
$ac_ext >&5
11254 if test $ac_R_nospace = yes; then
11255 echo "$ac_t""no" 1>&6
11256 X_LIBS
="$X_LIBS -R$x_libraries"
11258 LIBS
="$ac_xsave_LIBS -R $x_libraries"
11259 cat > conftest.
$ac_ext <<EOF
11260 #line 11261 "configure"
11261 #include "confdefs.h"
11267 if { (eval echo configure
:11268: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11271 echo "configure: failed program was:" >&5
11272 cat conftest.
$ac_ext >&5
11277 if test $ac_R_space = yes; then
11278 echo "$ac_t""yes" 1>&6
11279 X_LIBS
="$X_LIBS -R $x_libraries"
11281 echo "$ac_t""neither works" 1>&6
11284 LIBS
="$ac_xsave_LIBS"
11288 # Check for system-dependent libraries X programs must link with.
11289 # Do this before checking for the system-independent R6 libraries
11290 # (-lICE), since we may need -lsocket or whatever for X linking.
11292 if test "$ISC" = yes; then
11293 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
11295 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
11296 # libraries were built with DECnet support. And karl@cs.umb.edu says
11297 # the Alpha needs dnet_stub (dnet does not exist).
11298 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
11299 echo "configure:11300: checking for dnet_ntoa in -ldnet" >&5
11300 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
11301 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11302 echo $ac_n "(cached) $ac_c" 1>&6
11304 ac_save_LIBS
="$LIBS"
11305 LIBS
="-ldnet $LIBS"
11306 cat > conftest.
$ac_ext <<EOF
11307 #line 11308 "configure"
11308 #include "confdefs.h"
11309 /* Override any gcc2 internal prototype to avoid an error. */
11310 /* We use char because int might match the return type of a gcc2
11311 builtin and then its argument prototype would still apply. */
11318 if { (eval echo configure
:11319: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11320 eval "ac_cv_lib_$ac_lib_var=yes"
11322 echo "configure: failed program was:" >&5
11323 cat conftest.
$ac_ext >&5
11325 eval "ac_cv_lib_$ac_lib_var=no"
11328 LIBS
="$ac_save_LIBS"
11331 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11332 echo "$ac_t""yes" 1>&6
11333 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
11335 echo "$ac_t""no" 1>&6
11338 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
11339 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
11340 echo "configure:11341: checking for dnet_ntoa in -ldnet_stub" >&5
11341 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
11342 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11343 echo $ac_n "(cached) $ac_c" 1>&6
11345 ac_save_LIBS
="$LIBS"
11346 LIBS
="-ldnet_stub $LIBS"
11347 cat > conftest.
$ac_ext <<EOF
11348 #line 11349 "configure"
11349 #include "confdefs.h"
11350 /* Override any gcc2 internal prototype to avoid an error. */
11351 /* We use char because int might match the return type of a gcc2
11352 builtin and then its argument prototype would still apply. */
11359 if { (eval echo configure
:11360: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11361 eval "ac_cv_lib_$ac_lib_var=yes"
11363 echo "configure: failed program was:" >&5
11364 cat conftest.
$ac_ext >&5
11366 eval "ac_cv_lib_$ac_lib_var=no"
11369 LIBS
="$ac_save_LIBS"
11372 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11373 echo "$ac_t""yes" 1>&6
11374 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
11376 echo "$ac_t""no" 1>&6
11381 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
11382 # to get the SysV transport functions.
11383 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
11385 # The nsl library prevents programs from opening the X display
11386 # on Irix 5.2, according to dickey@clark.net.
11387 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
11388 echo "configure:11389: checking for gethostbyname" >&5
11389 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
11390 echo $ac_n "(cached) $ac_c" 1>&6
11392 cat > conftest.
$ac_ext <<EOF
11393 #line 11394 "configure"
11394 #include "confdefs.h"
11395 /* System header to define __stub macros and hopefully few prototypes,
11396 which can conflict with char gethostbyname(); below. */
11397 #include <assert.h>
11398 /* Override any gcc2 internal prototype to avoid an error. */
11399 /* We use char because int might match the return type of a gcc2
11400 builtin and then its argument prototype would still apply. */
11401 char gethostbyname();
11405 /* The GNU C library defines this for functions which it implements
11406 to always fail with ENOSYS. Some functions are actually named
11407 something starting with __ and the normal name is an alias. */
11408 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
11416 if { (eval echo configure
:11417: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11418 eval "ac_cv_func_gethostbyname=yes"
11420 echo "configure: failed program was:" >&5
11421 cat conftest.
$ac_ext >&5
11423 eval "ac_cv_func_gethostbyname=no"
11428 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
11429 echo "$ac_t""yes" 1>&6
11432 echo "$ac_t""no" 1>&6
11435 if test $ac_cv_func_gethostbyname = no
; then
11436 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
11437 echo "configure:11438: checking for gethostbyname in -lnsl" >&5
11438 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
11439 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11440 echo $ac_n "(cached) $ac_c" 1>&6
11442 ac_save_LIBS
="$LIBS"
11444 cat > conftest.
$ac_ext <<EOF
11445 #line 11446 "configure"
11446 #include "confdefs.h"
11447 /* Override any gcc2 internal prototype to avoid an error. */
11448 /* We use char because int might match the return type of a gcc2
11449 builtin and then its argument prototype would still apply. */
11450 char gethostbyname();
11456 if { (eval echo configure
:11457: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11458 eval "ac_cv_lib_$ac_lib_var=yes"
11460 echo "configure: failed program was:" >&5
11461 cat conftest.
$ac_ext >&5
11463 eval "ac_cv_lib_$ac_lib_var=no"
11466 LIBS
="$ac_save_LIBS"
11469 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11470 echo "$ac_t""yes" 1>&6
11471 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
11473 echo "$ac_t""no" 1>&6
11478 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11479 # socket/setsockopt and other routines are undefined under SCO ODT
11480 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11481 # on later versions), says simon@lia.di.epfl.ch: it contains
11482 # gethostby* variants that don't use the nameserver (or something).
11483 # -lsocket must be given before -lnsl if both are needed.
11484 # We assume that if connect needs -lnsl, so does gethostbyname.
11485 echo $ac_n "checking for connect""... $ac_c" 1>&6
11486 echo "configure:11487: checking for connect" >&5
11487 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
11488 echo $ac_n "(cached) $ac_c" 1>&6
11490 cat > conftest.
$ac_ext <<EOF
11491 #line 11492 "configure"
11492 #include "confdefs.h"
11493 /* System header to define __stub macros and hopefully few prototypes,
11494 which can conflict with char connect(); below. */
11495 #include <assert.h>
11496 /* Override any gcc2 internal prototype to avoid an error. */
11497 /* We use char because int might match the return type of a gcc2
11498 builtin and then its argument prototype would still apply. */
11503 /* The GNU C library defines this for functions which it implements
11504 to always fail with ENOSYS. Some functions are actually named
11505 something starting with __ and the normal name is an alias. */
11506 #if defined (__stub_connect) || defined (__stub___connect)
11514 if { (eval echo configure
:11515: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11516 eval "ac_cv_func_connect=yes"
11518 echo "configure: failed program was:" >&5
11519 cat conftest.
$ac_ext >&5
11521 eval "ac_cv_func_connect=no"
11526 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
11527 echo "$ac_t""yes" 1>&6
11530 echo "$ac_t""no" 1>&6
11533 if test $ac_cv_func_connect = no
; then
11534 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
11535 echo "configure:11536: checking for connect in -lsocket" >&5
11536 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
11537 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11538 echo $ac_n "(cached) $ac_c" 1>&6
11540 ac_save_LIBS
="$LIBS"
11541 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
11542 cat > conftest.
$ac_ext <<EOF
11543 #line 11544 "configure"
11544 #include "confdefs.h"
11545 /* Override any gcc2 internal prototype to avoid an error. */
11546 /* We use char because int might match the return type of a gcc2
11547 builtin and then its argument prototype would still apply. */
11554 if { (eval echo configure
:11555: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11556 eval "ac_cv_lib_$ac_lib_var=yes"
11558 echo "configure: failed program was:" >&5
11559 cat conftest.
$ac_ext >&5
11561 eval "ac_cv_lib_$ac_lib_var=no"
11564 LIBS
="$ac_save_LIBS"
11567 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11568 echo "$ac_t""yes" 1>&6
11569 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
11571 echo "$ac_t""no" 1>&6
11576 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
11577 echo $ac_n "checking for remove""... $ac_c" 1>&6
11578 echo "configure:11579: checking for remove" >&5
11579 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
11580 echo $ac_n "(cached) $ac_c" 1>&6
11582 cat > conftest.
$ac_ext <<EOF
11583 #line 11584 "configure"
11584 #include "confdefs.h"
11585 /* System header to define __stub macros and hopefully few prototypes,
11586 which can conflict with char remove(); below. */
11587 #include <assert.h>
11588 /* Override any gcc2 internal prototype to avoid an error. */
11589 /* We use char because int might match the return type of a gcc2
11590 builtin and then its argument prototype would still apply. */
11595 /* The GNU C library defines this for functions which it implements
11596 to always fail with ENOSYS. Some functions are actually named
11597 something starting with __ and the normal name is an alias. */
11598 #if defined (__stub_remove) || defined (__stub___remove)
11606 if { (eval echo configure
:11607: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11608 eval "ac_cv_func_remove=yes"
11610 echo "configure: failed program was:" >&5
11611 cat conftest.
$ac_ext >&5
11613 eval "ac_cv_func_remove=no"
11618 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
11619 echo "$ac_t""yes" 1>&6
11622 echo "$ac_t""no" 1>&6
11625 if test $ac_cv_func_remove = no
; then
11626 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
11627 echo "configure:11628: checking for remove in -lposix" >&5
11628 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
11629 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11630 echo $ac_n "(cached) $ac_c" 1>&6
11632 ac_save_LIBS
="$LIBS"
11633 LIBS
="-lposix $LIBS"
11634 cat > conftest.
$ac_ext <<EOF
11635 #line 11636 "configure"
11636 #include "confdefs.h"
11637 /* Override any gcc2 internal prototype to avoid an error. */
11638 /* We use char because int might match the return type of a gcc2
11639 builtin and then its argument prototype would still apply. */
11646 if { (eval echo configure
:11647: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11648 eval "ac_cv_lib_$ac_lib_var=yes"
11650 echo "configure: failed program was:" >&5
11651 cat conftest.
$ac_ext >&5
11653 eval "ac_cv_lib_$ac_lib_var=no"
11656 LIBS
="$ac_save_LIBS"
11659 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11660 echo "$ac_t""yes" 1>&6
11661 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
11663 echo "$ac_t""no" 1>&6
11668 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11669 echo $ac_n "checking for shmat""... $ac_c" 1>&6
11670 echo "configure:11671: checking for shmat" >&5
11671 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
11672 echo $ac_n "(cached) $ac_c" 1>&6
11674 cat > conftest.
$ac_ext <<EOF
11675 #line 11676 "configure"
11676 #include "confdefs.h"
11677 /* System header to define __stub macros and hopefully few prototypes,
11678 which can conflict with char shmat(); below. */
11679 #include <assert.h>
11680 /* Override any gcc2 internal prototype to avoid an error. */
11681 /* We use char because int might match the return type of a gcc2
11682 builtin and then its argument prototype would still apply. */
11687 /* The GNU C library defines this for functions which it implements
11688 to always fail with ENOSYS. Some functions are actually named
11689 something starting with __ and the normal name is an alias. */
11690 #if defined (__stub_shmat) || defined (__stub___shmat)
11698 if { (eval echo configure
:11699: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11700 eval "ac_cv_func_shmat=yes"
11702 echo "configure: failed program was:" >&5
11703 cat conftest.
$ac_ext >&5
11705 eval "ac_cv_func_shmat=no"
11710 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
11711 echo "$ac_t""yes" 1>&6
11714 echo "$ac_t""no" 1>&6
11717 if test $ac_cv_func_shmat = no
; then
11718 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
11719 echo "configure:11720: checking for shmat in -lipc" >&5
11720 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
11721 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11722 echo $ac_n "(cached) $ac_c" 1>&6
11724 ac_save_LIBS
="$LIBS"
11726 cat > conftest.
$ac_ext <<EOF
11727 #line 11728 "configure"
11728 #include "confdefs.h"
11729 /* Override any gcc2 internal prototype to avoid an error. */
11730 /* We use char because int might match the return type of a gcc2
11731 builtin and then its argument prototype would still apply. */
11738 if { (eval echo configure
:11739: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11740 eval "ac_cv_lib_$ac_lib_var=yes"
11742 echo "configure: failed program was:" >&5
11743 cat conftest.
$ac_ext >&5
11745 eval "ac_cv_lib_$ac_lib_var=no"
11748 LIBS
="$ac_save_LIBS"
11751 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11752 echo "$ac_t""yes" 1>&6
11753 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
11755 echo "$ac_t""no" 1>&6
11761 # Check for libraries that X11R6 Xt/Xaw programs need.
11762 ac_save_LDFLAGS
="$LDFLAGS"
11763 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
11764 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11765 # check for ICE first), but we must link in the order -lSM -lICE or
11766 # we get undefined symbols. So assume we have SM if we have ICE.
11767 # These have to be linked with before -lX11, unlike the other
11768 # libraries we check for below, so use a different variable.
11769 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
11770 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
11771 echo "configure:11772: checking for IceConnectionNumber in -lICE" >&5
11772 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
11773 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11774 echo $ac_n "(cached) $ac_c" 1>&6
11776 ac_save_LIBS
="$LIBS"
11777 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
11778 cat > conftest.
$ac_ext <<EOF
11779 #line 11780 "configure"
11780 #include "confdefs.h"
11781 /* Override any gcc2 internal prototype to avoid an error. */
11782 /* We use char because int might match the return type of a gcc2
11783 builtin and then its argument prototype would still apply. */
11784 char IceConnectionNumber();
11787 IceConnectionNumber()
11790 if { (eval echo configure
:11791: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11792 eval "ac_cv_lib_$ac_lib_var=yes"
11794 echo "configure: failed program was:" >&5
11795 cat conftest.
$ac_ext >&5
11797 eval "ac_cv_lib_$ac_lib_var=no"
11800 LIBS
="$ac_save_LIBS"
11803 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11804 echo "$ac_t""yes" 1>&6
11805 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
11807 echo "$ac_t""no" 1>&6
11810 LDFLAGS
="$ac_save_LDFLAGS"
11815 if test "$no_x" = "yes"; then
11816 { echo "configure: error: X11 not found" 1>&2; exit 1; }
11819 GUI_TK_LIBRARY
="$X_LIBS"
11820 TOOLKIT_INCLUDE
="$X_CFLAGS"
11821 AFMINSTALL
=afminstall
11822 COMPILED_X_PROGRAM
=0
11824 echo $ac_n "checking for Motif/Lesstif headers""... $ac_c" 1>&6
11825 echo "configure:11826: checking for Motif/Lesstif headers" >&5
11828 for ac_dir
in $SEARCH_INCLUDE;
11830 if test -f "$ac_dir/Xm/Xm.h"; then
11831 ac_find_includes
=$ac_dir
11836 if test "$ac_find_includes" != "" ; then
11837 echo "$ac_t""found $ac_find_includes" 1>&6
11839 cat > conftest.
$ac_ext <<EOF
11840 #line 11841 "configure"
11841 #include "confdefs.h"
11848 version = xmUseVersion;
11852 if { (eval echo configure
:11853: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11855 echo "$ac_t""found in default search path" 1>&6
11856 COMPILED_X_PROGRAM
=1
11859 echo "configure: failed program was:" >&5
11860 cat conftest.
$ac_ext >&5
11863 echo "$ac_t""no" 1>&6
11864 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
11871 if test "$COMPILED_X_PROGRAM" = 0; then
11872 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
11873 echo "configure:11874: checking for Motif/Lesstif library" >&5
11876 for ac_dir
in $SEARCH_LIB;
11878 for ac_extension
in a so sl dylib
; do
11879 if test -f "$ac_dir/libXm.$ac_extension"; then
11880 ac_find_libraries
=$ac_dir
11886 if test "$ac_find_libraries" != "" ; then
11888 ac_path_to_include
=$ac_find_includes
11889 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
11891 if test $result = 0; then
11892 ac_path_to_include
=""
11894 ac_path_to_include
=" -I$ac_find_includes"
11898 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
11900 if test $result = 0; then
11903 ac_path_to_link
=" -L$ac_find_libraries"
11907 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
11908 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
11909 echo "$ac_t""found at $ac_find_libraries" 1>&6
11911 cat > conftest.
$ac_ext <<EOF
11912 #line 11913 "configure"
11913 #include "confdefs.h"
11920 version = xmUseVersion;
11924 if { (eval echo configure
:11925: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11927 echo "$ac_t""found in default search path" 1>&6
11928 COMPILED_X_PROGRAM
=1
11931 echo "configure: failed program was:" >&5
11932 cat conftest.
$ac_ext >&5
11935 echo "$ac_t""no" 1>&6
11936 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
11945 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
11946 echo "configure:11947: checking for Xpm library" >&5
11949 for ac_dir
in $SEARCH_LIB;
11951 for ac_extension
in a so sl dylib
; do
11952 if test -f "$ac_dir/libXpm.$ac_extension"; then
11953 ac_find_libraries
=$ac_dir
11959 if test "$ac_find_libraries" != "" ; then
11961 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
11963 if test $result = 0; then
11966 ac_path_to_link
=" -L$ac_find_libraries"
11969 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
11971 cat >> confdefs.h
<<\EOF
11972 #define wxHAVE_LIB_XPM 1
11975 echo "$ac_t""found at $ac_find_libraries" 1>&6
11977 cat > conftest.
$ac_ext <<EOF
11978 #line 11979 "configure"
11979 #include "confdefs.h"
11981 #include <X11/xpm.h>
11986 version = XpmLibraryVersion();
11990 if { (eval echo configure
:11991: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11994 cat >> confdefs.h
<<\EOF
11995 #define wxHAVE_LIB_XPM 1
11998 echo "$ac_t""found in default search path" 1>&6
11999 COMPILED_X_PROGRAM
=0
12002 echo "configure: failed program was:" >&5
12003 cat conftest.
$ac_ext >&5
12006 echo "$ac_t""no" 1>&6
12007 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
12014 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm$xpm_link -lXmu -lXext -lXt -lX11"
12015 TOOLKIT_VPATH
="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo"
12020 if test "$wxUSE_MAC" = 1; then
12021 if test "$wxUSE_PRECOMP" = "yes"; then
12022 CPPFLAGS
="$CPPFLAGS -cpp-precomp"
12024 CPPFLAGS
="$CPPFLAGS -I/Developer/Headers/FlatCarbon -I\${top_srcdir}/src/mac/morefile"
12025 CFLAGS
="$CFLAGS -fpascal-strings"
12026 CXXFLAGS
="$CXXFLAGS -fpascal-strings"
12027 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS -DTARGET_CARBON"
12029 TOOLKIT_VPATH
="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefile"
12034 if test "$wxUSE_PM" = 1; then
12039 if test "$TOOLKIT" = "PM" ; then
12042 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
12045 PORT_FILES
="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
12047 if test "$wxUSE_UNIVERSAL" = "yes"; then
12048 ALL_OBJECTS
="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
12049 PORT_FILES
="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
12050 TOOLKIT_VPATH
="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
12051 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
12054 ALL_OBJECTS
="\$(GUIOBJS)"
12057 ALL_OBJECTS
="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
12059 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
12060 ALL_OBJECTS
="${ALL_OBJECTS} \$(UNIXOBJS)"
12063 if test "$wxUSE_HTML" = "yes"; then
12064 ALL_OBJECTS
="${ALL_OBJECTS} \$(HTMLOBJS)"
12067 if test "$TOOLKIT" != "MSW" -a "$wxUSE_ODBC" = "yes" ; then
12068 ALL_OBJECTS
="${ALL_OBJECTS} \$(IODBCOBJS)"
12070 if test "$wxUSE_LIBJPEG" = "builtin" ; then
12071 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
12073 if test "$wxUSE_LIBTIFF" = "builtin" ; then
12074 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
12076 if test "$wxUSE_LIBPNG" = "builtin" ; then
12077 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
12079 if test "$wxUSE_FREETYPE" = "builtin" ; then
12080 ALL_OBJECTS
="${ALL_OBJECTS} \$(FREETYPEOBJS)"
12083 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
12084 DISTDIR
="wx\$(TOOLKIT)"
12090 if test "$USE_WIN32" = 1 ; then
12091 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_MSW_OBJS}"
12092 TOOLKIT_VPATH
="\${top_srcdir}/src/msw"
12096 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
12097 TOOLKIT_VPATH
="\${top_srcdir}/src/unix"
12100 PORT_FILES
="\${top_srcdir}/src/files.lst"
12102 GUIDIST
="BASE_DIST"
12106 if test "$wxUSE_REGEX" = "builtin" ; then
12107 ALL_OBJECTS
="${ALL_OBJECTS} \$(REGEXOBJS)"
12109 if test "$wxUSE_ZLIB" = "builtin" ; then
12110 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
12113 if test "$wxUSE_OPENGL" = "yes"; then
12114 if test "$wxUSE_MAC" = 1; then
12115 OPENGL_LIBS
="-framework OpenGL -framework AGL"
12118 ac_safe
=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
12119 echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
12120 echo "configure:12121: checking for GL/gl.h" >&5
12121 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12122 echo $ac_n "(cached) $ac_c" 1>&6
12124 cat > conftest.
$ac_ext <<EOF
12125 #line 12126 "configure"
12126 #include "confdefs.h"
12129 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12130 { (eval echo configure
:12131: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12131 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12132 if test -z "$ac_err"; then
12134 eval "ac_cv_header_$ac_safe=yes"
12137 echo "configure: failed program was:" >&5
12138 cat conftest.
$ac_ext >&5
12140 eval "ac_cv_header_$ac_safe=no"
12144 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12145 echo "$ac_t""yes" 1>&6
12147 echo $ac_n "checking for -lGL""... $ac_c" 1>&6
12148 echo "configure:12149: checking for -lGL" >&5
12151 for ac_dir
in $SEARCH_LIB;
12153 for ac_extension
in a so sl dylib
; do
12154 if test -f "$ac_dir/libGL.$ac_extension"; then
12155 ac_find_libraries
=$ac_dir
12161 if test "$ac_find_libraries" != "" ; then
12163 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
12165 if test $result = 0; then
12168 ac_path_to_link
=" -L$ac_find_libraries"
12171 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
12172 OPENGL_LIBS
="-lGL -lGLU"
12173 echo "$ac_t""yes" 1>&6
12175 echo "$ac_t""no" 1>&6
12176 echo $ac_n "checking for -lMesaGL""... $ac_c" 1>&6
12177 echo "configure:12178: checking for -lMesaGL" >&5
12180 for ac_dir
in $SEARCH_LIB;
12182 for ac_extension
in a so sl dylib
; do
12183 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
12184 ac_find_libraries
=$ac_dir
12190 if test "$ac_find_libraries" != "" ; then
12192 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
12194 if test $result = 0; then
12197 ac_path_to_link
=" -L$ac_find_libraries"
12200 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
12201 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
12202 echo "$ac_t""yes" 1>&6
12204 echo "$ac_t""no" 1>&6
12209 echo "$ac_t""no" 1>&6
12214 # AC_CHECK_HEADER(GL/gl.h,
12216 # AC_CHECK_LIB(GL, glFlush,
12218 # OPENGL_LIBS="-lGL -lGLU"
12221 # AC_CHECK_LIB(MesaGL, glFlush,
12223 # OPENGL_LIBS="-lMesaGL -lMesaGLU"
12231 if test "x$OPENGL_LIBS" = "x"; then
12232 { echo "configure: error: OpenGL libraries not available" 1>&2; exit 1; }
12236 if test "$wxUSE_OPENGL" = "yes"; then
12237 cat >> confdefs.h
<<\EOF
12238 #define wxUSE_OPENGL 1
12241 cat >> confdefs.h
<<\EOF
12242 #define wxUSE_GLCANVAS 1
12245 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl"
12249 if test -z "$TOOLKIT_VPATH" ; then
12250 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}"
12253 if test -n "$TOOLKIT" ; then
12254 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
12257 lib_unicode_suffix
=
12258 if test "$wxUSE_UNICODE" = "yes"; then
12259 lib_unicode_suffix
=u
12263 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
12267 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
12268 TOOLCHAIN_NAME_GL
="${TOOLKIT_DIR}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
12270 if test "$cross_compiling" = "yes"; then
12271 TOOLCHAIN_NAME
="${TOOLCHAIN_NAME}-${host_alias}"
12272 TOOLCHAIN_NAME_GL
="${TOOLCHAIN_NAME_GL}-${host_alias}"
12275 WX_LIBRARY
="wx_${TOOLCHAIN_NAME}"
12276 WX_LIBRARY_GL
="wx_${TOOLCHAIN_NAME_GL}"
12278 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
12279 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
12281 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
12282 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
12283 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
12284 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
12286 WX_RESOURCES_MACOSX
="lib${WX_LIBRARY}.rsrc"
12287 WX_RESOURCES_MACOSX_COMPILED
="lib${WX_LIBRARY}.r"
12290 *-*-cygwin* | *-*-mingw32* )
12294 if test "$cross_compiling" != "yes"; then
12295 WX_LIBRARY
="wxmsw${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
12296 WX_LIBRARY_GL
="wxmsw_gl${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
12297 WX_LIBRARY_NAME_SHARED
="${WX_LIBRARY}.${SO_SUFFIX}"
12298 WX_LIBRARY_NAME_SHARED_GL
="${WX_LIBRARY_GL}.${SO_SUFFIX}"
12300 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}"
12301 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
12306 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
12307 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY_GL}.a"
12309 WXCONFIG_LIBS
="-l${WX_LIBRARY}"
12310 WXCONFIG_LIBS_STATIC
="lib${WX_LIBRARY}.a"
12312 if test "$wxUSE_OPENGL" = "yes"; then
12313 WXCONFIG_LIBS_GL
="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
12314 WXCONFIG_LIBS_STATIC_GL
="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
12319 if test "$wxUSE_SHARED" = "yes"; then
12321 if test "$wxUSE_OPENGL" = "yes"; then
12322 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
12323 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_LINK1} \$(build_libdir)/${WX_LIBRARY_LINK1_GL}"
12325 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
12326 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_LINK1}"
12329 if test "$GCC" = "yes"; then
12333 SHARED_LD
="${CXX} -shared -o"
12337 if test "$GCC" != "yes"; then
12338 LDFLAGS
="$LDFLAGS -L/usr/lib"
12340 SHARED_LD
="${CXX} -b -o"
12344 if test "$wxUSE_OPENGL" = "yes"; then
12345 WX_ALL_INSTALLED
="preinstall_gl"
12346 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
12348 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
12353 if test "$GCC" != "yes"; then
12354 echo $ac_n "checking for Intel compiler""... $ac_c" 1>&6
12355 echo "configure:12356: checking for Intel compiler" >&5
12356 if eval "test \"`echo '$''{'wx_cv_prog_icc'+set}'`\" = set"; then
12357 echo $ac_n "(cached) $ac_c" 1>&6
12360 cat > conftest.
$ac_ext <<EOF
12361 #line 12362 "configure"
12362 #include "confdefs.h"
12366 #ifndef __INTEL_COMPILER
12372 if { (eval echo configure
:12373: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12376 echo "configure: failed program was:" >&5
12377 cat conftest.
$ac_ext >&5
12386 echo "$ac_t""$wx_cv_prog_icc" 1>&6
12387 if test "$wx_cv_prog_icc" = "yes"; then
12392 if test "$wxUSE_SONAME" = "yes" ; then
12393 SONAME_FLAGS
="-Wl,-soname,${WX_LIBRARY_LINK1}"
12394 SONAME_FLAGS_GL
="-Wl,-soname,${WX_LIBRARY_LINK1_GL}"
12395 WX_TARGET_LIBRARY_SONAME
="-Wl,-soname,\$(TARGETLIB_LINK1)"
12400 if test "$GCC" = yes ; then
12401 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
12403 SHARED_LD
="${CXX} -G -o"
12405 SONAME_FLAGS
="-h ${WX_LIBRARY_NAME_SHARED}"
12406 SONAME_FLAGS_GL
="-h ${WX_LIBRARY_NAME_SHARED}"
12411 CFLAGS
="$CFLAGS -fno-common -DDYLIB_INIT"
12412 CXXFLAGS
="$CXXFLAGS -fno-common -DDYLIB_INIT"
12413 SHARED_LD
="$CXX -dynamiclib -init _wxWindowsDylibInit -o"
12414 PIC_FLAG
="-dynamic -fPIC"
12418 SHARED_LD
="/usr/lpp/xlC/bin/makeC++SharedLib -p 0 -o"
12421 *-*-cygwin* | *-*-mingw32* )
12423 WX_LIBRARY_IMPORTLIB
="${WX_LIBRARY_NAME_SHARED}.a"
12425 SHARED_LD
="${CXX} -shared -Wl,--out-implib,lib/${WX_LIBRARY_IMPORTLIB} -o"
12426 TOOLCHAIN_DLL_DEFS
="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
12428 PIC_FLAG
="-UWXUSINGDLL -DWXMAKINGDLL=1 -D_DLL=1 -D_WINDLL=1"
12430 if test "$wxUSE_OPENGL" = "yes"; then
12431 WX_ALL_INSTALLED
="preinstall_gl"
12432 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
12434 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
12438 *-pc-os2_emx | *-pc-os2-emx )
12443 SHARED_LD
="${LD} -shared -o"
12446 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
12448 *-*-irix5* | *-*-irix6* | \
12455 { echo "configure: error: unknown system type $host." 1>&2; exit 1; }
12458 if test "x$WX_TARGET_LIBRARY" = "x"; then
12459 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
12460 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
12463 WX_TARGET_LIBRARY_TYPE
="so"
12464 INSTALL_LIBRARY
='$(INSTALL_PROGRAM)'
12467 if test "$wxUSE_SHARED" = "no"; then
12469 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
12470 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
12473 if test "$wxUSE_MAC" = 1; then
12474 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
12477 if test "$wxUSE_OPENGL" = "yes"; then
12478 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_gl"
12479 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
12481 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
12484 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
12485 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
12487 WX_TARGET_LIBRARY_TYPE
="a"
12488 INSTALL_LIBRARY
='$(INSTALL_DATA)'
12491 if test "$wxUSE_MAC" = 1; then
12492 WX_ALL
="${WX_ALL} \$(build_libdir)/lib${WX_LIBRARY}.r"
12493 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_res"
12494 # Extract the first word of "Rez", so it can be a program name with args.
12495 set dummy Rez
; ac_word
=$2
12496 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
12497 echo "configure:12498: checking for $ac_word" >&5
12498 if eval "test \"`echo '$''{'ac_cv_prog_RESCOMP'+set}'`\" = set"; then
12499 echo $ac_n "(cached) $ac_c" 1>&6
12501 if test -n "$RESCOMP"; then
12502 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
12504 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
12506 for ac_dir
in $ac_dummy; do
12507 test -z "$ac_dir" && ac_dir
=.
12508 if test -f $ac_dir/$ac_word; then
12509 ac_cv_prog_RESCOMP
="Rez"
12514 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
12517 RESCOMP
="$ac_cv_prog_RESCOMP"
12518 if test -n "$RESCOMP"; then
12519 echo "$ac_t""$RESCOMP" 1>&6
12521 echo "$ac_t""no" 1>&6
12524 # Extract the first word of "DeRez", so it can be a program name with args.
12525 set dummy DeRez
; ac_word
=$2
12526 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
12527 echo "configure:12528: checking for $ac_word" >&5
12528 if eval "test \"`echo '$''{'ac_cv_prog_DEREZ'+set}'`\" = set"; then
12529 echo $ac_n "(cached) $ac_c" 1>&6
12531 if test -n "$DEREZ"; then
12532 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
12534 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
12536 for ac_dir
in $ac_dummy; do
12537 test -z "$ac_dir" && ac_dir
=.
12538 if test -f $ac_dir/$ac_word; then
12539 ac_cv_prog_DEREZ
="DeRez"
12544 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
12547 DEREZ
="$ac_cv_prog_DEREZ"
12548 if test -n "$DEREZ"; then
12549 echo "$ac_t""$DEREZ" 1>&6
12551 echo "$ac_t""no" 1>&6
12554 LIBWXMACRES
="\$(top_builddir)/lib/lib${WX_LIBRARY}.r"
12555 LIBWXMACRESCOMP
="\$(RESCOMP) Carbon.r -t APPL ${LIBWXMACRES} -o \$(BIN_PROGRAM)"
12556 LIBWXMACRESWXCONFIG
="${RESCOMP} Carbon.r -t APPL \${prefix}/lib/${WX_RESOURCES_MACOSX_COMPILED} -o"
12560 if test "$wxUSE_MAC" != 1; then
12561 for ac_hdr
in strings.h
12563 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12564 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12565 echo "configure:12566: checking for $ac_hdr" >&5
12566 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12567 echo $ac_n "(cached) $ac_c" 1>&6
12569 cat > conftest.
$ac_ext <<EOF
12570 #line 12571 "configure"
12571 #include "confdefs.h"
12574 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12575 { (eval echo configure
:12576: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12576 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12577 if test -z "$ac_err"; then
12579 eval "ac_cv_header_$ac_safe=yes"
12582 echo "configure: failed program was:" >&5
12583 cat conftest.
$ac_ext >&5
12585 eval "ac_cv_header_$ac_safe=no"
12589 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12590 echo "$ac_t""yes" 1>&6
12591 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12592 cat >> confdefs.h
<<EOF
12593 #define $ac_tr_hdr 1
12597 echo "$ac_t""no" 1>&6
12603 for ac_hdr
in stdlib.h
12605 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12606 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12607 echo "configure:12608: checking for $ac_hdr" >&5
12608 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12609 echo $ac_n "(cached) $ac_c" 1>&6
12611 cat > conftest.
$ac_ext <<EOF
12612 #line 12613 "configure"
12613 #include "confdefs.h"
12616 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12617 { (eval echo configure
:12618: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12618 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12619 if test -z "$ac_err"; then
12621 eval "ac_cv_header_$ac_safe=yes"
12624 echo "configure: failed program was:" >&5
12625 cat conftest.
$ac_ext >&5
12627 eval "ac_cv_header_$ac_safe=no"
12631 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12632 echo "$ac_t""yes" 1>&6
12633 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12634 cat >> confdefs.h
<<EOF
12635 #define $ac_tr_hdr 1
12639 echo "$ac_t""no" 1>&6
12643 for ac_hdr
in malloc.h
12645 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12646 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12647 echo "configure:12648: checking for $ac_hdr" >&5
12648 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12649 echo $ac_n "(cached) $ac_c" 1>&6
12651 cat > conftest.
$ac_ext <<EOF
12652 #line 12653 "configure"
12653 #include "confdefs.h"
12656 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12657 { (eval echo configure
:12658: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12658 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12659 if test -z "$ac_err"; then
12661 eval "ac_cv_header_$ac_safe=yes"
12664 echo "configure: failed program was:" >&5
12665 cat conftest.
$ac_ext >&5
12667 eval "ac_cv_header_$ac_safe=no"
12671 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12672 echo "$ac_t""yes" 1>&6
12673 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12674 cat >> confdefs.h
<<EOF
12675 #define $ac_tr_hdr 1
12679 echo "$ac_t""no" 1>&6
12683 for ac_hdr
in unistd.h
12685 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12686 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12687 echo "configure:12688: checking for $ac_hdr" >&5
12688 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12689 echo $ac_n "(cached) $ac_c" 1>&6
12691 cat > conftest.
$ac_ext <<EOF
12692 #line 12693 "configure"
12693 #include "confdefs.h"
12696 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12697 { (eval echo configure
:12698: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12698 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12699 if test -z "$ac_err"; then
12701 eval "ac_cv_header_$ac_safe=yes"
12704 echo "configure: failed program was:" >&5
12705 cat conftest.
$ac_ext >&5
12707 eval "ac_cv_header_$ac_safe=no"
12711 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12712 echo "$ac_t""yes" 1>&6
12713 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12714 cat >> confdefs.h
<<EOF
12715 #define $ac_tr_hdr 1
12719 echo "$ac_t""no" 1>&6
12723 for ac_hdr
in wchar.h
12725 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12726 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12727 echo "configure:12728: checking for $ac_hdr" >&5
12728 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12729 echo $ac_n "(cached) $ac_c" 1>&6
12731 cat > conftest.
$ac_ext <<EOF
12732 #line 12733 "configure"
12733 #include "confdefs.h"
12736 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12737 { (eval echo configure
:12738: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12738 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12739 if test -z "$ac_err"; then
12741 eval "ac_cv_header_$ac_safe=yes"
12744 echo "configure: failed program was:" >&5
12745 cat conftest.
$ac_ext >&5
12747 eval "ac_cv_header_$ac_safe=no"
12751 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12752 echo "$ac_t""yes" 1>&6
12753 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12754 cat >> confdefs.h
<<EOF
12755 #define $ac_tr_hdr 1
12759 echo "$ac_t""no" 1>&6
12763 for ac_hdr
in wcstr.h
12765 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12766 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12767 echo "configure:12768: checking for $ac_hdr" >&5
12768 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12769 echo $ac_n "(cached) $ac_c" 1>&6
12771 cat > conftest.
$ac_ext <<EOF
12772 #line 12773 "configure"
12773 #include "confdefs.h"
12776 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12777 { (eval echo configure
:12778: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12778 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12779 if test -z "$ac_err"; then
12781 eval "ac_cv_header_$ac_safe=yes"
12784 echo "configure: failed program was:" >&5
12785 cat conftest.
$ac_ext >&5
12787 eval "ac_cv_header_$ac_safe=no"
12791 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12792 echo "$ac_t""yes" 1>&6
12793 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12794 cat >> confdefs.h
<<EOF
12795 #define $ac_tr_hdr 1
12799 echo "$ac_t""no" 1>&6
12803 for ac_hdr
in wctype.h
12805 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12806 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12807 echo "configure:12808: checking for $ac_hdr" >&5
12808 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12809 echo $ac_n "(cached) $ac_c" 1>&6
12811 cat > conftest.
$ac_ext <<EOF
12812 #line 12813 "configure"
12813 #include "confdefs.h"
12816 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12817 { (eval echo configure
:12818: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12818 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12819 if test -z "$ac_err"; then
12821 eval "ac_cv_header_$ac_safe=yes"
12824 echo "configure: failed program was:" >&5
12825 cat conftest.
$ac_ext >&5
12827 eval "ac_cv_header_$ac_safe=no"
12831 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12832 echo "$ac_t""yes" 1>&6
12833 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12834 cat >> confdefs.h
<<EOF
12835 #define $ac_tr_hdr 1
12839 echo "$ac_t""no" 1>&6
12843 for ac_hdr
in fnmatch.h
12845 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12846 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12847 echo "configure:12848: checking for $ac_hdr" >&5
12848 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12849 echo $ac_n "(cached) $ac_c" 1>&6
12851 cat > conftest.
$ac_ext <<EOF
12852 #line 12853 "configure"
12853 #include "confdefs.h"
12856 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12857 { (eval echo configure
:12858: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12858 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12859 if test -z "$ac_err"; then
12861 eval "ac_cv_header_$ac_safe=yes"
12864 echo "configure: failed program was:" >&5
12865 cat conftest.
$ac_ext >&5
12867 eval "ac_cv_header_$ac_safe=no"
12871 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12872 echo "$ac_t""yes" 1>&6
12873 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12874 cat >> confdefs.h
<<EOF
12875 #define $ac_tr_hdr 1
12879 echo "$ac_t""no" 1>&6
12883 for ac_hdr
in iconv.h
12885 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12886 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12887 echo "configure:12888: checking for $ac_hdr" >&5
12888 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12889 echo $ac_n "(cached) $ac_c" 1>&6
12891 cat > conftest.
$ac_ext <<EOF
12892 #line 12893 "configure"
12893 #include "confdefs.h"
12896 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12897 { (eval echo configure
:12898: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12898 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12899 if test -z "$ac_err"; then
12901 eval "ac_cv_header_$ac_safe=yes"
12904 echo "configure: failed program was:" >&5
12905 cat conftest.
$ac_ext >&5
12907 eval "ac_cv_header_$ac_safe=no"
12911 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12912 echo "$ac_t""yes" 1>&6
12913 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12914 cat >> confdefs.h
<<EOF
12915 #define $ac_tr_hdr 1
12919 echo "$ac_t""no" 1>&6
12923 for ac_hdr
in langinfo.h
12925 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12926 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12927 echo "configure:12928: checking for $ac_hdr" >&5
12928 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12929 echo $ac_n "(cached) $ac_c" 1>&6
12931 cat > conftest.
$ac_ext <<EOF
12932 #line 12933 "configure"
12933 #include "confdefs.h"
12936 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12937 { (eval echo configure
:12938: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12938 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12939 if test -z "$ac_err"; then
12941 eval "ac_cv_header_$ac_safe=yes"
12944 echo "configure: failed program was:" >&5
12945 cat conftest.
$ac_ext >&5
12947 eval "ac_cv_header_$ac_safe=no"
12951 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12952 echo "$ac_t""yes" 1>&6
12953 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12954 cat >> confdefs.h
<<EOF
12955 #define $ac_tr_hdr 1
12959 echo "$ac_t""no" 1>&6
12964 if test "$wxUSE_GUI" = "yes"; then
12965 if test "$wxUSE_UNIX" = "yes"; then
12966 for ac_hdr
in X
11/XKBlib.h
12968 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12969 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12970 echo "configure:12971: checking for $ac_hdr" >&5
12971 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12972 echo $ac_n "(cached) $ac_c" 1>&6
12974 cat > conftest.
$ac_ext <<EOF
12975 #line 12976 "configure"
12976 #include "confdefs.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 eval "ac_cv_header_$ac_safe=yes"
12987 echo "configure: failed program was:" >&5
12988 cat conftest.
$ac_ext >&5
12990 eval "ac_cv_header_$ac_safe=no"
12994 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12995 echo "$ac_t""yes" 1>&6
12996 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12997 cat >> confdefs.h
<<EOF
12998 #define $ac_tr_hdr 1
13002 echo "$ac_t""no" 1>&6
13010 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
13011 echo "configure:13012: checking for ANSI C header files" >&5
13012 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
13013 echo $ac_n "(cached) $ac_c" 1>&6
13015 cat > conftest.
$ac_ext <<EOF
13016 #line 13017 "configure"
13017 #include "confdefs.h"
13018 #include <stdlib.h>
13019 #include <stdarg.h>
13020 #include <string.h>
13023 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13024 { (eval echo configure
:13025: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13025 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13026 if test -z "$ac_err"; then
13028 ac_cv_header_stdc
=yes
13031 echo "configure: failed program was:" >&5
13032 cat conftest.
$ac_ext >&5
13034 ac_cv_header_stdc
=no
13038 if test $ac_cv_header_stdc = yes; then
13039 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
13040 cat > conftest.
$ac_ext <<EOF
13041 #line 13042 "configure"
13042 #include "confdefs.h"
13043 #include <string.h>
13045 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13046 egrep "memchr" >/dev
/null
2>&1; then
13050 ac_cv_header_stdc
=no
13056 if test $ac_cv_header_stdc = yes; then
13057 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
13058 cat > conftest.
$ac_ext <<EOF
13059 #line 13060 "configure"
13060 #include "confdefs.h"
13061 #include <stdlib.h>
13063 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13064 egrep "free" >/dev
/null
2>&1; then
13068 ac_cv_header_stdc
=no
13074 if test $ac_cv_header_stdc = yes; then
13075 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
13076 if test "$cross_compiling" = yes; then
13079 cat > conftest.
$ac_ext <<EOF
13080 #line 13081 "configure"
13081 #include "confdefs.h"
13083 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
13084 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
13085 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
13086 int main () { int i; for (i = 0; i < 256; i++)
13087 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
13091 if { (eval echo configure
:13092: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
13095 echo "configure: failed program was:" >&5
13096 cat conftest.
$ac_ext >&5
13098 ac_cv_header_stdc
=no
13106 echo "$ac_t""$ac_cv_header_stdc" 1>&6
13107 if test $ac_cv_header_stdc = yes; then
13108 cat >> confdefs.h
<<\EOF
13109 #define STDC_HEADERS 1
13114 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
13115 echo "configure:13116: checking for mode_t" >&5
13116 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
13117 echo $ac_n "(cached) $ac_c" 1>&6
13119 cat > conftest.
$ac_ext <<EOF
13120 #line 13121 "configure"
13121 #include "confdefs.h"
13122 #include <sys/types.h>
13124 #include <stdlib.h>
13125 #include <stddef.h>
13128 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13129 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
13131 ac_cv_type_mode_t
=yes
13134 ac_cv_type_mode_t
=no
13139 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
13140 if test $ac_cv_type_mode_t = no
; then
13141 cat >> confdefs.h
<<\EOF
13147 echo $ac_n "checking for off_t""... $ac_c" 1>&6
13148 echo "configure:13149: checking for off_t" >&5
13149 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
13150 echo $ac_n "(cached) $ac_c" 1>&6
13152 cat > conftest.
$ac_ext <<EOF
13153 #line 13154 "configure"
13154 #include "confdefs.h"
13155 #include <sys/types.h>
13157 #include <stdlib.h>
13158 #include <stddef.h>
13161 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13162 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
13164 ac_cv_type_off_t
=yes
13167 ac_cv_type_off_t
=no
13172 echo "$ac_t""$ac_cv_type_off_t" 1>&6
13173 if test $ac_cv_type_off_t = no
; then
13174 cat >> confdefs.h
<<\EOF
13180 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
13181 echo "configure:13182: checking for pid_t" >&5
13182 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
13183 echo $ac_n "(cached) $ac_c" 1>&6
13185 cat > conftest.
$ac_ext <<EOF
13186 #line 13187 "configure"
13187 #include "confdefs.h"
13188 #include <sys/types.h>
13190 #include <stdlib.h>
13191 #include <stddef.h>
13194 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13195 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
13197 ac_cv_type_pid_t
=yes
13200 ac_cv_type_pid_t
=no
13205 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
13206 if test $ac_cv_type_pid_t = no
; then
13207 cat >> confdefs.h
<<\EOF
13213 echo $ac_n "checking for size_t""... $ac_c" 1>&6
13214 echo "configure:13215: checking for size_t" >&5
13215 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
13216 echo $ac_n "(cached) $ac_c" 1>&6
13218 cat > conftest.
$ac_ext <<EOF
13219 #line 13220 "configure"
13220 #include "confdefs.h"
13221 #include <sys/types.h>
13223 #include <stdlib.h>
13224 #include <stddef.h>
13227 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13228 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
13230 ac_cv_type_size_t
=yes
13233 ac_cv_type_size_t
=no
13238 echo "$ac_t""$ac_cv_type_size_t" 1>&6
13239 if test $ac_cv_type_size_t = no
; then
13240 cat >> confdefs.h
<<\EOF
13241 #define size_t unsigned
13246 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
13247 echo "configure:13248: checking for uid_t in sys/types.h" >&5
13248 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
13249 echo $ac_n "(cached) $ac_c" 1>&6
13251 cat > conftest.
$ac_ext <<EOF
13252 #line 13253 "configure"
13253 #include "confdefs.h"
13254 #include <sys/types.h>
13256 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13257 egrep "uid_t" >/dev
/null
2>&1; then
13259 ac_cv_type_uid_t
=yes
13262 ac_cv_type_uid_t
=no
13268 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
13269 if test $ac_cv_type_uid_t = no
; then
13270 cat >> confdefs.h
<<\EOF
13274 cat >> confdefs.h
<<\EOF
13281 echo $ac_n "checking for wchar_t""... $ac_c" 1>&6
13282 echo "configure:13283: checking for wchar_t" >&5
13283 if eval "test \"`echo '$''{'wx_cv_type_wchar_t'+set}'`\" = set"; then
13284 echo $ac_n "(cached) $ac_c" 1>&6
13287 cat > conftest.
$ac_ext <<EOF
13288 #line 13289 "configure"
13289 #include "confdefs.h"
13291 #ifdef HAVE_WCHAR_H
13293 # include <stddef.h>
13295 # include <wchar.h>
13297 #ifdef HAVE_STDLIB_H
13298 # include <stdlib.h>
13305 ws = L"Hello, world!";
13309 if { (eval echo configure
:13310: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13311 wx_cv_type_wchar_t
=yes
13313 echo "configure: failed program was:" >&5
13314 cat conftest.
$ac_ext >&5
13316 wx_cv_type_wchar_t
=no
13323 echo "$ac_t""$wx_cv_type_wchar_t" 1>&6
13325 if test "$wx_cv_type_wchar_t" = "yes"; then
13326 cat >> confdefs.h
<<\EOF
13327 #define wxUSE_WCHAR_T 1
13334 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13335 ac_cpp
='$CXXCPP $CPPFLAGS'
13336 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13337 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13338 cross_compiling
=$ac_cv_prog_cxx_cross
13340 echo $ac_n "checking if size_t is unsigned int""... $ac_c" 1>&6
13341 echo "configure:13342: checking if size_t is unsigned int" >&5
13342 if eval "test \"`echo '$''{'wx_cv_size_t_is_uint'+set}'`\" = set"; then
13343 echo $ac_n "(cached) $ac_c" 1>&6
13345 cat > conftest.
$ac_ext <<EOF
13346 #line 13347 "configure"
13347 #include "confdefs.h"
13348 #include <stddef.h>
13353 struct Foo { void foo(size_t); void foo(unsigned int); };
13359 if { (eval echo configure
:13360: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13361 wx_cv_size_t_is_uint
=no
13363 echo "configure: failed program was:" >&5
13364 cat conftest.
$ac_ext >&5
13366 wx_cv_size_t_is_uint
=yes
13373 echo "$ac_t""$wx_cv_size_t_is_uint" 1>&6
13375 if test "$wx_cv_size_t_is_uint" = "yes"; then
13376 cat >> confdefs.h
<<\EOF
13377 #define wxSIZE_T_IS_UINT 1
13381 echo $ac_n "checking if size_t is unsigned long""... $ac_c" 1>&6
13382 echo "configure:13383: checking if size_t is unsigned long" >&5
13383 if eval "test \"`echo '$''{'wx_cv_size_t_is_ulong'+set}'`\" = set"; then
13384 echo $ac_n "(cached) $ac_c" 1>&6
13386 cat > conftest.
$ac_ext <<EOF
13387 #line 13388 "configure"
13388 #include "confdefs.h"
13389 #include <stddef.h>
13394 struct Foo { void foo(size_t); void foo(unsigned long); };
13400 if { (eval echo configure
:13401: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13402 wx_cv_size_t_is_ulong
=no
13404 echo "configure: failed program was:" >&5
13405 cat conftest.
$ac_ext >&5
13407 wx_cv_size_t_is_ulong
=yes
13414 echo "$ac_t""$wx_cv_size_t_is_ulong" 1>&6
13416 if test "$wx_cv_size_t_is_ulong" = "yes"; then
13417 cat >> confdefs.h
<<\EOF
13418 #define wxSIZE_T_IS_ULONG 1
13425 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13426 ac_cpp
='$CPP $CPPFLAGS'
13427 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13428 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13429 cross_compiling
=$ac_cv_prog_cc_cross
13433 echo $ac_n "checking for pw_gecos in struct passwd""... $ac_c" 1>&6
13434 echo "configure:13435: checking for pw_gecos in struct passwd" >&5
13435 if eval "test \"`echo '$''{'wx_cv_struct_pw_gecos'+set}'`\" = set"; then
13436 echo $ac_n "(cached) $ac_c" 1>&6
13439 cat > conftest.
$ac_ext <<EOF
13440 #line 13441 "configure"
13441 #include "confdefs.h"
13451 if { (eval echo configure
:13452: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13454 wx_cv_struct_pw_gecos
=yes
13457 echo "configure: failed program was:" >&5
13458 cat conftest.
$ac_ext >&5
13461 wx_cv_struct_pw_gecos
=no
13470 echo "$ac_t""$wx_cv_struct_pw_gecos" 1>&6
13472 if test "$wx_cv_struct_pw_gecos" = "yes"; then
13473 cat >> confdefs.h
<<\EOF
13474 #define HAVE_PW_GECOS 1
13480 echo $ac_n "checking for working const""... $ac_c" 1>&6
13481 echo "configure:13482: checking for working const" >&5
13482 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
13483 echo $ac_n "(cached) $ac_c" 1>&6
13485 cat > conftest.
$ac_ext <<EOF
13486 #line 13487 "configure"
13487 #include "confdefs.h"
13491 /* Ultrix mips cc rejects this. */
13492 typedef int charset[2]; const charset x;
13493 /* SunOS 4.1.1 cc rejects this. */
13494 char const *const *ccp;
13496 /* NEC SVR4.0.2 mips cc rejects this. */
13497 struct point {int x, y;};
13498 static struct point const zero = {0,0};
13499 /* AIX XL C 1.02.0.0 rejects this.
13500 It does not let you subtract one const X* pointer from another in an arm
13501 of an if-expression whose if-part is not a constant expression */
13502 const char *g = "string";
13503 ccp = &g + (g ? g-g : 0);
13504 /* HPUX 7.0 cc rejects these. */
13507 ccp = (char const *const *) p;
13508 { /* SCO 3.2v4 cc rejects this. */
13510 char const *s = 0 ? (char *) 0 : (char const *) 0;
13514 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
13515 int x[] = {25, 17};
13516 const int *foo = &x[0];
13519 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
13520 typedef const int *iptr;
13524 { /* AIX XL C 1.02.0.0 rejects this saying
13525 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
13526 struct s { int j; const int *ap[3]; };
13527 struct s *b; b->j = 5;
13529 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
13530 const int foo = 10;
13535 if { (eval echo configure
:13536: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13539 echo "configure: failed program was:" >&5
13540 cat conftest.
$ac_ext >&5
13547 echo "$ac_t""$ac_cv_c_const" 1>&6
13548 if test $ac_cv_c_const = no
; then
13549 cat >> confdefs.h
<<\EOF
13555 echo $ac_n "checking for inline""... $ac_c" 1>&6
13556 echo "configure:13557: checking for inline" >&5
13557 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
13558 echo $ac_n "(cached) $ac_c" 1>&6
13561 for ac_kw
in inline __inline__ __inline
; do
13562 cat > conftest.
$ac_ext <<EOF
13563 #line 13564 "configure"
13564 #include "confdefs.h"
13570 if { (eval echo configure
:13571: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13572 ac_cv_c_inline
=$ac_kw; break
13574 echo "configure: failed program was:" >&5
13575 cat conftest.
$ac_ext >&5
13582 echo "$ac_t""$ac_cv_c_inline" 1>&6
13583 case "$ac_cv_c_inline" in
13585 no
) cat >> confdefs.h
<<\EOF
13589 *) cat >> confdefs.h
<<EOF
13590 #define inline $ac_cv_c_inline
13596 echo $ac_n "checking size of char""... $ac_c" 1>&6
13597 echo "configure:13598: checking size of char" >&5
13598 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
13599 echo $ac_n "(cached) $ac_c" 1>&6
13601 if test "$cross_compiling" = yes; then
13602 ac_cv_sizeof_char
=1
13604 cat > conftest.
$ac_ext <<EOF
13605 #line 13606 "configure"
13606 #include "confdefs.h"
13610 FILE *f=fopen("conftestval", "w");
13612 fprintf(f, "%d\n", sizeof(char));
13616 if { (eval echo configure
:13617: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
13618 ac_cv_sizeof_char
=`cat conftestval`
13620 echo "configure: failed program was:" >&5
13621 cat conftest.
$ac_ext >&5
13623 ac_cv_sizeof_char
=0
13629 echo "$ac_t""$ac_cv_sizeof_char" 1>&6
13630 cat >> confdefs.h
<<EOF
13631 #define SIZEOF_CHAR $ac_cv_sizeof_char
13635 echo $ac_n "checking size of short""... $ac_c" 1>&6
13636 echo "configure:13637: checking size of short" >&5
13637 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
13638 echo $ac_n "(cached) $ac_c" 1>&6
13640 if test "$cross_compiling" = yes; then
13641 ac_cv_sizeof_short
=2
13643 cat > conftest.
$ac_ext <<EOF
13644 #line 13645 "configure"
13645 #include "confdefs.h"
13649 FILE *f=fopen("conftestval", "w");
13651 fprintf(f, "%d\n", sizeof(short));
13655 if { (eval echo configure
:13656: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
13657 ac_cv_sizeof_short
=`cat conftestval`
13659 echo "configure: failed program was:" >&5
13660 cat conftest.
$ac_ext >&5
13662 ac_cv_sizeof_short
=0
13668 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
13669 cat >> confdefs.h
<<EOF
13670 #define SIZEOF_SHORT $ac_cv_sizeof_short
13674 echo $ac_n "checking size of int *""... $ac_c" 1>&6
13675 echo "configure:13676: checking size of int *" >&5
13676 if eval "test \"`echo '$''{'ac_cv_sizeof_int_p'+set}'`\" = set"; then
13677 echo $ac_n "(cached) $ac_c" 1>&6
13679 if test "$cross_compiling" = yes; then
13680 ac_cv_sizeof_int_p
=4
13682 cat > conftest.
$ac_ext <<EOF
13683 #line 13684 "configure"
13684 #include "confdefs.h"
13688 FILE *f=fopen("conftestval", "w");
13690 fprintf(f, "%d\n", sizeof(int *));
13694 if { (eval echo configure
:13695: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
13696 ac_cv_sizeof_int_p
=`cat conftestval`
13698 echo "configure: failed program was:" >&5
13699 cat conftest.
$ac_ext >&5
13701 ac_cv_sizeof_int_p
=0
13707 echo "$ac_t""$ac_cv_sizeof_int_p" 1>&6
13708 cat >> confdefs.h
<<EOF
13709 #define SIZEOF_INT_P $ac_cv_sizeof_int_p
13713 echo $ac_n "checking size of int""... $ac_c" 1>&6
13714 echo "configure:13715: checking size of int" >&5
13715 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
13716 echo $ac_n "(cached) $ac_c" 1>&6
13718 if test "$cross_compiling" = yes; then
13721 cat > conftest.
$ac_ext <<EOF
13722 #line 13723 "configure"
13723 #include "confdefs.h"
13727 FILE *f=fopen("conftestval", "w");
13729 fprintf(f, "%d\n", sizeof(int));
13733 if { (eval echo configure
:13734: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
13735 ac_cv_sizeof_int
=`cat conftestval`
13737 echo "configure: failed program was:" >&5
13738 cat conftest.
$ac_ext >&5
13746 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
13747 cat >> confdefs.h
<<EOF
13748 #define SIZEOF_INT $ac_cv_sizeof_int
13752 echo $ac_n "checking size of long""... $ac_c" 1>&6
13753 echo "configure:13754: checking size of long" >&5
13754 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
13755 echo $ac_n "(cached) $ac_c" 1>&6
13757 if test "$cross_compiling" = yes; then
13758 ac_cv_sizeof_long
=4
13760 cat > conftest.
$ac_ext <<EOF
13761 #line 13762 "configure"
13762 #include "confdefs.h"
13766 FILE *f=fopen("conftestval", "w");
13768 fprintf(f, "%d\n", sizeof(long));
13772 if { (eval echo configure
:13773: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
13774 ac_cv_sizeof_long
=`cat conftestval`
13776 echo "configure: failed program was:" >&5
13777 cat conftest.
$ac_ext >&5
13779 ac_cv_sizeof_long
=0
13785 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
13786 cat >> confdefs.h
<<EOF
13787 #define SIZEOF_LONG $ac_cv_sizeof_long
13791 echo $ac_n "checking size of long long""... $ac_c" 1>&6
13792 echo "configure:13793: checking size of long long" >&5
13793 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
13794 echo $ac_n "(cached) $ac_c" 1>&6
13796 if test "$cross_compiling" = yes; then
13797 ac_cv_sizeof_long_long
=0
13799 cat > conftest.
$ac_ext <<EOF
13800 #line 13801 "configure"
13801 #include "confdefs.h"
13805 FILE *f=fopen("conftestval", "w");
13807 fprintf(f, "%d\n", sizeof(long long));
13811 if { (eval echo configure
:13812: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
13813 ac_cv_sizeof_long_long
=`cat conftestval`
13815 echo "configure: failed program was:" >&5
13816 cat conftest.
$ac_ext >&5
13818 ac_cv_sizeof_long_long
=0
13824 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
13825 cat >> confdefs.h
<<EOF
13826 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
13831 echo $ac_n "checking size of wchar_t""... $ac_c" 1>&6
13832 echo "configure:13833: checking size of wchar_t" >&5
13833 if eval "test \"`echo '$''{'wx_cv_sizeof_wchar_t'+set}'`\" = set"; then
13834 echo $ac_n "(cached) $ac_c" 1>&6
13837 if test "$cross_compiling" = yes; then
13838 wx_cv_sizeof_wchar_t
=4
13841 cat > conftest.
$ac_ext <<EOF
13842 #line 13843 "configure"
13843 #include "confdefs.h"
13845 #ifdef HAVE_WCHAR_H
13847 # include <stddef.h>
13849 # include <wchar.h>
13851 #ifdef HAVE_STDLIB_H
13852 # include <stdlib.h>
13857 FILE *f=fopen("conftestval", "w");
13859 fprintf(f, "%i", sizeof(wchar_t));
13864 if { (eval echo configure
:13865: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
13866 wx_cv_sizeof_wchar_t
=`cat conftestval`
13868 echo "configure: failed program was:" >&5
13869 cat conftest.
$ac_ext >&5
13871 wx_cv_sizeof_wchar_t
=0
13879 echo "$ac_t""$wx_cv_sizeof_wchar_t" 1>&6
13881 cat >> confdefs.h
<<EOF
13882 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
13886 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
13887 echo "configure:13888: checking whether byte ordering is bigendian" >&5
13888 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
13889 echo $ac_n "(cached) $ac_c" 1>&6
13891 ac_cv_c_bigendian
=unknown
13892 # See if sys/param.h defines the BYTE_ORDER macro.
13893 cat > conftest.
$ac_ext <<EOF
13894 #line 13895 "configure"
13895 #include "confdefs.h"
13896 #include <sys/types.h>
13897 #include <sys/param.h>
13900 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
13901 bogus endian macros
13905 if { (eval echo configure
:13906: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13907 # It does; now see whether it defined to BIG_ENDIAN or not.
13908 cat > conftest.
$ac_ext <<EOF
13909 #line 13910 "configure"
13910 #include "confdefs.h"
13911 #include <sys/types.h>
13912 #include <sys/param.h>
13915 #if BYTE_ORDER != BIG_ENDIAN
13920 if { (eval echo configure
:13921: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13922 ac_cv_c_bigendian
=yes
13924 echo "configure: failed program was:" >&5
13925 cat conftest.
$ac_ext >&5
13927 ac_cv_c_bigendian
=no
13931 echo "configure: failed program was:" >&5
13932 cat conftest.
$ac_ext >&5
13935 if test $ac_cv_c_bigendian = unknown
; then
13936 if test "$cross_compiling" = yes; then
13937 ac_cv_c_bigendian
=unknown
13939 cat > conftest.
$ac_ext <<EOF
13940 #line 13941 "configure"
13941 #include "confdefs.h"
13943 /* Are we little or big endian? From Harbison&Steele. */
13947 char c[sizeof (long)];
13950 exit (u.c[sizeof (long) - 1] == 1);
13953 if { (eval echo configure
:13954: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
13955 ac_cv_c_bigendian
=no
13957 echo "configure: failed program was:" >&5
13958 cat conftest.
$ac_ext >&5
13960 ac_cv_c_bigendian
=yes
13968 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
13969 if test $ac_cv_c_bigendian = unknown
; then
13970 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
13972 if test $ac_cv_c_bigendian = yes; then
13973 cat >> confdefs.h
<<\EOF
13974 #define WORDS_BIGENDIAN 1
13980 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
13981 echo "configure:13982: checking how to run the C++ preprocessor" >&5
13982 if test -z "$CXXCPP"; then
13983 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
13984 echo $ac_n "(cached) $ac_c" 1>&6
13987 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13988 ac_cpp
='$CXXCPP $CPPFLAGS'
13989 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13990 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13991 cross_compiling
=$ac_cv_prog_cxx_cross
13992 CXXCPP
="${CXX-g++} -E"
13993 cat > conftest.
$ac_ext <<EOF
13994 #line 13995 "configure"
13995 #include "confdefs.h"
13996 #include <stdlib.h>
13998 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13999 { (eval echo configure
:14000: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14000 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14001 if test -z "$ac_err"; then
14005 echo "configure: failed program was:" >&5
14006 cat conftest.
$ac_ext >&5
14011 ac_cv_prog_CXXCPP
="$CXXCPP"
14013 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14014 ac_cpp
='$CXXCPP $CPPFLAGS'
14015 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14016 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14017 cross_compiling
=$ac_cv_prog_cxx_cross
14020 CXXCPP
="$ac_cv_prog_CXXCPP"
14021 echo "$ac_t""$CXXCPP" 1>&6
14024 if test "$cross_compiling" = "yes"; then
14025 cat >> confdefs.h
<<\EOF
14026 #define wxUSE_IOSTREAMH 1
14032 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14033 ac_cpp
='$CXXCPP $CPPFLAGS'
14034 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14035 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14036 cross_compiling
=$ac_cv_prog_cxx_cross
14039 for ac_hdr
in iostream
14041 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
14042 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
14043 echo "configure:14044: checking for $ac_hdr" >&5
14044 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14045 echo $ac_n "(cached) $ac_c" 1>&6
14047 cat > conftest.
$ac_ext <<EOF
14048 #line 14049 "configure"
14049 #include "confdefs.h"
14052 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14053 { (eval echo configure
:14054: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14054 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14055 if test -z "$ac_err"; then
14057 eval "ac_cv_header_$ac_safe=yes"
14060 echo "configure: failed program was:" >&5
14061 cat conftest.
$ac_ext >&5
14063 eval "ac_cv_header_$ac_safe=no"
14067 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14068 echo "$ac_t""yes" 1>&6
14069 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
14070 cat >> confdefs.h
<<EOF
14071 #define $ac_tr_hdr 1
14075 echo "$ac_t""no" 1>&6
14080 if test "$ac_cv_header_iostream" = "yes" ; then
14083 cat >> confdefs.h
<<\EOF
14084 #define wxUSE_IOSTREAMH 1
14090 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14091 ac_cpp
='$CPP $CPPFLAGS'
14092 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14093 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14094 cross_compiling
=$ac_cv_prog_cc_cross
14100 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
14101 echo "configure:14102: checking if C++ compiler supports bool" >&5
14102 if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
14103 echo $ac_n "(cached) $ac_c" 1>&6
14108 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14109 ac_cpp
='$CXXCPP $CPPFLAGS'
14110 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14111 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14112 cross_compiling
=$ac_cv_prog_cxx_cross
14115 cat > conftest.
$ac_ext <<EOF
14116 #line 14117 "configure"
14117 #include "confdefs.h"
14128 if { (eval echo configure
:14129: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14134 echo "configure: failed program was:" >&5
14135 cat conftest.
$ac_ext >&5
14145 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14146 ac_cpp
='$CPP $CPPFLAGS'
14147 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14148 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14149 cross_compiling
=$ac_cv_prog_cc_cross
14154 echo "$ac_t""$wx_cv_cpp_bool" 1>&6
14156 if test "$wx_cv_cpp_bool" = "yes"; then
14157 cat >> confdefs.h
<<\EOF
14158 #define HAVE_BOOL 1
14165 echo $ac_n "checking for wcslen in -lc""... $ac_c" 1>&6
14166 echo "configure:14167: checking for wcslen in -lc" >&5
14167 ac_lib_var
=`echo c'_'wcslen | sed 'y%./+-%__p_%'`
14168 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14169 echo $ac_n "(cached) $ac_c" 1>&6
14171 ac_save_LIBS
="$LIBS"
14173 cat > conftest.
$ac_ext <<EOF
14174 #line 14175 "configure"
14175 #include "confdefs.h"
14176 /* Override any gcc2 internal prototype to avoid an error. */
14177 /* We use char because int might match the return type of a gcc2
14178 builtin and then its argument prototype would still apply. */
14185 if { (eval echo configure
:14186: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14187 eval "ac_cv_lib_$ac_lib_var=yes"
14189 echo "configure: failed program was:" >&5
14190 cat conftest.
$ac_ext >&5
14192 eval "ac_cv_lib_$ac_lib_var=no"
14195 LIBS
="$ac_save_LIBS"
14198 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14199 echo "$ac_t""yes" 1>&6
14201 cat >> confdefs.h
<<\EOF
14202 #define HAVE_WCSLEN 1
14208 echo "$ac_t""no" 1>&6
14210 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
14211 echo "configure:14212: checking for wcslen in -lw" >&5
14212 ac_lib_var
=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
14213 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14214 echo $ac_n "(cached) $ac_c" 1>&6
14216 ac_save_LIBS
="$LIBS"
14218 cat > conftest.
$ac_ext <<EOF
14219 #line 14220 "configure"
14220 #include "confdefs.h"
14221 /* Override any gcc2 internal prototype to avoid an error. */
14222 /* We use char because int might match the return type of a gcc2
14223 builtin and then its argument prototype would still apply. */
14230 if { (eval echo configure
:14231: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14232 eval "ac_cv_lib_$ac_lib_var=yes"
14234 echo "configure: failed program was:" >&5
14235 cat conftest.
$ac_ext >&5
14237 eval "ac_cv_lib_$ac_lib_var=no"
14240 LIBS
="$ac_save_LIBS"
14243 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14244 echo "$ac_t""yes" 1>&6
14246 cat >> confdefs.h
<<\EOF
14247 #define HAVE_WCSLEN 1
14253 echo "$ac_t""no" 1>&6
14255 echo $ac_n "checking for wcslen in -lmsvcrt""... $ac_c" 1>&6
14256 echo "configure:14257: checking for wcslen in -lmsvcrt" >&5
14257 ac_lib_var
=`echo msvcrt'_'wcslen | sed 'y%./+-%__p_%'`
14258 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14259 echo $ac_n "(cached) $ac_c" 1>&6
14261 ac_save_LIBS
="$LIBS"
14262 LIBS
="-lmsvcrt $LIBS"
14263 cat > conftest.
$ac_ext <<EOF
14264 #line 14265 "configure"
14265 #include "confdefs.h"
14266 /* Override any gcc2 internal prototype to avoid an error. */
14267 /* We use char because int might match the return type of a gcc2
14268 builtin and then its argument prototype would still apply. */
14275 if { (eval echo configure
:14276: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14277 eval "ac_cv_lib_$ac_lib_var=yes"
14279 echo "configure: failed program was:" >&5
14280 cat conftest.
$ac_ext >&5
14282 eval "ac_cv_lib_$ac_lib_var=no"
14285 LIBS
="$ac_save_LIBS"
14288 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14289 echo "$ac_t""yes" 1>&6
14291 cat >> confdefs.h
<<\EOF
14292 #define HAVE_WCSLEN 1
14298 echo "$ac_t""no" 1>&6
14308 for ac_func
in wcsrtombs
14310 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14311 echo "configure:14312: checking for $ac_func" >&5
14312 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14313 echo $ac_n "(cached) $ac_c" 1>&6
14315 cat > conftest.
$ac_ext <<EOF
14316 #line 14317 "configure"
14317 #include "confdefs.h"
14318 /* System header to define __stub macros and hopefully few prototypes,
14319 which can conflict with char $ac_func(); below. */
14320 #include <assert.h>
14321 /* Override any gcc2 internal prototype to avoid an error. */
14322 /* We use char because int might match the return type of a gcc2
14323 builtin and then its argument prototype would still apply. */
14328 /* The GNU C library defines this for functions which it implements
14329 to always fail with ENOSYS. Some functions are actually named
14330 something starting with __ and the normal name is an alias. */
14331 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14339 if { (eval echo configure
:14340: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14341 eval "ac_cv_func_$ac_func=yes"
14343 echo "configure: failed program was:" >&5
14344 cat conftest.
$ac_ext >&5
14346 eval "ac_cv_func_$ac_func=no"
14351 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14352 echo "$ac_t""yes" 1>&6
14353 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14354 cat >> confdefs.h
<<EOF
14355 #define $ac_tr_func 1
14359 echo "$ac_t""no" 1>&6
14364 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
14365 echo "configure:14366: checking for vprintf" >&5
14366 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
14367 echo $ac_n "(cached) $ac_c" 1>&6
14369 cat > conftest.
$ac_ext <<EOF
14370 #line 14371 "configure"
14371 #include "confdefs.h"
14372 /* System header to define __stub macros and hopefully few prototypes,
14373 which can conflict with char vprintf(); below. */
14374 #include <assert.h>
14375 /* Override any gcc2 internal prototype to avoid an error. */
14376 /* We use char because int might match the return type of a gcc2
14377 builtin and then its argument prototype would still apply. */
14382 /* The GNU C library defines this for functions which it implements
14383 to always fail with ENOSYS. Some functions are actually named
14384 something starting with __ and the normal name is an alias. */
14385 #if defined (__stub_vprintf) || defined (__stub___vprintf)
14393 if { (eval echo configure
:14394: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14395 eval "ac_cv_func_vprintf=yes"
14397 echo "configure: failed program was:" >&5
14398 cat conftest.
$ac_ext >&5
14400 eval "ac_cv_func_vprintf=no"
14405 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
14406 echo "$ac_t""yes" 1>&6
14407 cat >> confdefs.h
<<\EOF
14408 #define HAVE_VPRINTF 1
14412 echo "$ac_t""no" 1>&6
14415 if test "$ac_cv_func_vprintf" != yes; then
14416 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
14417 echo "configure:14418: checking for _doprnt" >&5
14418 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
14419 echo $ac_n "(cached) $ac_c" 1>&6
14421 cat > conftest.
$ac_ext <<EOF
14422 #line 14423 "configure"
14423 #include "confdefs.h"
14424 /* System header to define __stub macros and hopefully few prototypes,
14425 which can conflict with char _doprnt(); below. */
14426 #include <assert.h>
14427 /* Override any gcc2 internal prototype to avoid an error. */
14428 /* We use char because int might match the return type of a gcc2
14429 builtin and then its argument prototype would still apply. */
14434 /* The GNU C library defines this for functions which it implements
14435 to always fail with ENOSYS. Some functions are actually named
14436 something starting with __ and the normal name is an alias. */
14437 #if defined (__stub__doprnt) || defined (__stub____doprnt)
14445 if { (eval echo configure
:14446: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14447 eval "ac_cv_func__doprnt=yes"
14449 echo "configure: failed program was:" >&5
14450 cat conftest.
$ac_ext >&5
14452 eval "ac_cv_func__doprnt=no"
14457 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
14458 echo "$ac_t""yes" 1>&6
14459 cat >> confdefs.h
<<\EOF
14460 #define HAVE_DOPRNT 1
14464 echo "$ac_t""no" 1>&6
14474 echo $ac_n "checking for vsnprintf""... $ac_c" 1>&6
14475 echo "configure:14476: checking for vsnprintf" >&5
14476 if eval "test \"`echo '$''{'wx_cv_func_vsnprintf'+set}'`\" = set"; then
14477 echo $ac_n "(cached) $ac_c" 1>&6
14480 cat > conftest.
$ac_ext <<EOF
14481 #line 14482 "configure"
14482 #include "confdefs.h"
14485 #include <stdarg.h>
14489 int wx_test_vsnprintf(const char *, ...);
14491 wx_test_vsnprintf("%s");
14495 int wx_test_vsnprintf(const char *fmt, ...)
14500 va_start(argp, fmt);
14501 vsnprintf(s, 42, fmt, argp);
14506 if { (eval echo configure
:14507: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14509 wx_cv_func_vsnprintf
=yes
14512 echo "configure: failed program was:" >&5
14513 cat conftest.
$ac_ext >&5
14516 cat > conftest.
$ac_ext <<EOF
14517 #line 14518 "configure"
14518 #include "confdefs.h"
14521 #include <stdarg.h>
14525 int wx_test_vsnprintf(const char *, ...);
14527 wx_test_vsnprintf("%s");
14531 int wx_test_vsnprintf(const char *fmt, ...)
14536 va_start(argp, fmt);
14537 _vsnprintf(s, 42, fmt, argp);
14542 if { (eval echo configure
:14543: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14545 wx_cv_func_vsnprintf
=yes
14548 echo "configure: failed program was:" >&5
14549 cat conftest.
$ac_ext >&5
14552 wx_cv_func_vsnprintf
=no
14562 echo "$ac_t""$wx_cv_func_vsnprintf" 1>&6
14564 if test "$wx_cv_func_vsnprintf" = yes; then
14565 cat >> confdefs.h
<<\EOF
14566 #define HAVE_VSNPRINTF 1
14570 echo "configure: warning: unsafe function vsprintf will be used instead of vsnprintf" 1>&2
14573 echo $ac_n "checking for vsscanf""... $ac_c" 1>&6
14574 echo "configure:14575: checking for vsscanf" >&5
14575 if eval "test \"`echo '$''{'wx_cv_func_vsscanf'+set}'`\" = set"; then
14576 echo $ac_n "(cached) $ac_c" 1>&6
14579 cat > conftest.
$ac_ext <<EOF
14580 #line 14581 "configure"
14581 #include "confdefs.h"
14584 #include <stdarg.h>
14588 int wx_test_vsscanf(const char *, ...);
14590 wx_test_vsscanf("%d");
14594 int wx_test_vsscanf(const char *fmt, ...)
14597 va_start(argp, fmt);
14598 vsscanf("42", fmt, argp);
14603 if { (eval echo configure
:14604: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14606 wx_cv_func_vsscanf
=yes
14609 echo "configure: failed program was:" >&5
14610 cat conftest.
$ac_ext >&5
14613 wx_cv_func_vsscanf
=no
14620 echo "$ac_t""$wx_cv_func_vsscanf" 1>&6
14622 if test "$wx_cv_func_vsscanf" = yes; then
14623 cat >> confdefs.h
<<\EOF
14624 #define HAVE_VSSCANF 1
14629 if test "$TOOLKIT" != "MSW"; then
14634 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14635 ac_cpp
='$CXXCPP $CPPFLAGS'
14636 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14637 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14638 cross_compiling
=$ac_cv_prog_cxx_cross
14640 echo $ac_n "checking if iconv() takes char**""... $ac_c" 1>&6
14641 echo "configure:14642: checking if iconv() takes char**" >&5
14642 if eval "test \"`echo '$''{'wx_cv_iconv_takes_char'+set}'`\" = set"; then
14643 echo $ac_n "(cached) $ac_c" 1>&6
14646 cat > conftest.
$ac_ext <<EOF
14647 #line 14648 "configure"
14648 #include "confdefs.h"
14652 char **inbuf, **outbuf;
14654 size_t insz, outsz;
14655 iconv(cd, inbuf, &insz, outbuf, &outsz);
14659 if { (eval echo configure
:14660: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14661 wx_cv_iconv_takes_char
=yes
14663 echo "configure: failed program was:" >&5
14664 cat conftest.
$ac_ext >&5
14666 wx_cv_iconv_takes_char
=no
14672 echo "$ac_t""$wx_cv_iconv_takes_char" 1>&6
14674 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14675 ac_cpp
='$CPP $CPPFLAGS'
14676 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14677 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14678 cross_compiling
=$ac_cv_prog_cc_cross
14680 if test "$wx_cv_iconv_takes_char" = yes ; then
14681 cat >> confdefs.h
<<\EOF
14682 #define WX_ICONV_TAKES_CHAR 1
14688 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
14689 for ac_func
in sigaction
14691 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14692 echo "configure:14693: checking for $ac_func" >&5
14693 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14694 echo $ac_n "(cached) $ac_c" 1>&6
14696 cat > conftest.
$ac_ext <<EOF
14697 #line 14698 "configure"
14698 #include "confdefs.h"
14699 /* System header to define __stub macros and hopefully few prototypes,
14700 which can conflict with char $ac_func(); below. */
14701 #include <assert.h>
14702 /* Override any gcc2 internal prototype to avoid an error. */
14703 /* We use char because int might match the return type of a gcc2
14704 builtin and then its argument prototype would still apply. */
14709 /* The GNU C library defines this for functions which it implements
14710 to always fail with ENOSYS. Some functions are actually named
14711 something starting with __ and the normal name is an alias. */
14712 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14720 if { (eval echo configure
:14721: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14722 eval "ac_cv_func_$ac_func=yes"
14724 echo "configure: failed program was:" >&5
14725 cat conftest.
$ac_ext >&5
14727 eval "ac_cv_func_$ac_func=no"
14732 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14733 echo "$ac_t""yes" 1>&6
14734 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14735 cat >> confdefs.h
<<EOF
14736 #define $ac_tr_func 1
14740 echo "$ac_t""no" 1>&6
14745 if test "$ac_cv_func_sigaction" = "no"; then
14746 echo "configure: warning: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" 1>&2
14747 wxUSE_ON_FATAL_EXCEPTION
=no
14750 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
14753 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14754 ac_cpp
='$CXXCPP $CPPFLAGS'
14755 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14756 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14757 cross_compiling
=$ac_cv_prog_cxx_cross
14760 echo $ac_n "checking for sa_handler type""... $ac_c" 1>&6
14761 echo "configure:14762: checking for sa_handler type" >&5
14762 if eval "test \"`echo '$''{'wx_cv_type_sa_handler'+set}'`\" = set"; then
14763 echo $ac_n "(cached) $ac_c" 1>&6
14766 cat > conftest.
$ac_ext <<EOF
14767 #line 14768 "configure"
14768 #include "confdefs.h"
14769 #include <signal.h>
14772 extern void testSigHandler(int);
14774 struct sigaction sa;
14775 sa.sa_handler = testSigHandler;
14779 if { (eval echo configure
:14780: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14782 wx_cv_type_sa_handler
=int
14785 echo "configure: failed program was:" >&5
14786 cat conftest.
$ac_ext >&5
14789 wx_cv_type_sa_handler
=void
14796 echo "$ac_t""$wx_cv_type_sa_handler" 1>&6
14799 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14800 ac_cpp
='$CPP $CPPFLAGS'
14801 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14802 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14803 cross_compiling
=$ac_cv_prog_cc_cross
14806 cat >> confdefs.h
<<EOF
14807 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
14813 for ac_func
in vfork
14815 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14816 echo "configure:14817: checking for $ac_func" >&5
14817 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14818 echo $ac_n "(cached) $ac_c" 1>&6
14820 cat > conftest.
$ac_ext <<EOF
14821 #line 14822 "configure"
14822 #include "confdefs.h"
14823 /* System header to define __stub macros and hopefully few prototypes,
14824 which can conflict with char $ac_func(); below. */
14825 #include <assert.h>
14826 /* Override any gcc2 internal prototype to avoid an error. */
14827 /* We use char because int might match the return type of a gcc2
14828 builtin and then its argument prototype would still apply. */
14833 /* The GNU C library defines this for functions which it implements
14834 to always fail with ENOSYS. Some functions are actually named
14835 something starting with __ and the normal name is an alias. */
14836 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14844 if { (eval echo configure
:14845: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14846 eval "ac_cv_func_$ac_func=yes"
14848 echo "configure: failed program was:" >&5
14849 cat conftest.
$ac_ext >&5
14851 eval "ac_cv_func_$ac_func=no"
14856 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14857 echo "$ac_t""yes" 1>&6
14858 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14859 cat >> confdefs.h
<<EOF
14860 #define $ac_tr_func 1
14864 echo "$ac_t""no" 1>&6
14869 for ac_func
in mkstemp mktemp
14871 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14872 echo "configure:14873: checking for $ac_func" >&5
14873 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14874 echo $ac_n "(cached) $ac_c" 1>&6
14876 cat > conftest.
$ac_ext <<EOF
14877 #line 14878 "configure"
14878 #include "confdefs.h"
14879 /* System header to define __stub macros and hopefully few prototypes,
14880 which can conflict with char $ac_func(); below. */
14881 #include <assert.h>
14882 /* Override any gcc2 internal prototype to avoid an error. */
14883 /* We use char because int might match the return type of a gcc2
14884 builtin and then its argument prototype would still apply. */
14889 /* The GNU C library defines this for functions which it implements
14890 to always fail with ENOSYS. Some functions are actually named
14891 something starting with __ and the normal name is an alias. */
14892 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14900 if { (eval echo configure
:14901: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14902 eval "ac_cv_func_$ac_func=yes"
14904 echo "configure: failed program was:" >&5
14905 cat conftest.
$ac_ext >&5
14907 eval "ac_cv_func_$ac_func=no"
14912 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14913 echo "$ac_t""yes" 1>&6
14914 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14915 cat >> confdefs.h
<<EOF
14916 #define $ac_tr_func 1
14920 echo "$ac_t""no" 1>&6
14925 echo $ac_n "checking for statfs""... $ac_c" 1>&6
14926 echo "configure:14927: checking for statfs" >&5
14927 if eval "test \"`echo '$''{'wx_cv_func_statfs'+set}'`\" = set"; then
14928 echo $ac_n "(cached) $ac_c" 1>&6
14930 cat > conftest.
$ac_ext <<EOF
14931 #line 14932 "configure"
14932 #include "confdefs.h"
14934 #if defined(__BSD__)
14935 #include <sys/param.h>
14936 #include <sys/mount.h>
14938 #include <sys/vfs.h>
14952 if { (eval echo configure
:14953: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14955 wx_cv_func_statfs
=yes
14958 echo "configure: failed program was:" >&5
14959 cat conftest.
$ac_ext >&5
14962 wx_cv_func_statfs
=no
14970 echo "$ac_t""$wx_cv_func_statfs" 1>&6
14972 if test "$wx_cv_func_statfs" = "yes"; then
14973 cat >> confdefs.h
<<\EOF
14974 #define HAVE_STATFS 1
14978 echo $ac_n "checking for statvfs""... $ac_c" 1>&6
14979 echo "configure:14980: checking for statvfs" >&5
14980 if eval "test \"`echo '$''{'wx_cv_func_statvfs'+set}'`\" = set"; then
14981 echo $ac_n "(cached) $ac_c" 1>&6
14983 cat > conftest.
$ac_ext <<EOF
14984 #line 14985 "configure"
14985 #include "confdefs.h"
14987 #include <sys/statvfs.h>
15000 if { (eval echo configure
:15001: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15003 wx_cv_func_statvfs
=yes
15006 echo "configure: failed program was:" >&5
15007 cat conftest.
$ac_ext >&5
15010 wx_cv_func_statvfs
=no
15018 echo "$ac_t""$wx_cv_func_statvfs" 1>&6
15020 if test "$wx_cv_func_statvfs" = "yes"; then
15021 cat >> confdefs.h
<<\EOF
15022 #define HAVE_STATVFS 1
15026 echo "configure: warning: wxGetDiskSpace() function won't work without statfs()" 1>&2
15030 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
15031 for ac_func
in fcntl flock
15033 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15034 echo "configure:15035: checking for $ac_func" >&5
15035 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15036 echo $ac_n "(cached) $ac_c" 1>&6
15038 cat > conftest.
$ac_ext <<EOF
15039 #line 15040 "configure"
15040 #include "confdefs.h"
15041 /* System header to define __stub macros and hopefully few prototypes,
15042 which can conflict with char $ac_func(); below. */
15043 #include <assert.h>
15044 /* Override any gcc2 internal prototype to avoid an error. */
15045 /* We use char because int might match the return type of a gcc2
15046 builtin and then its argument prototype would still apply. */
15051 /* The GNU C library defines this for functions which it implements
15052 to always fail with ENOSYS. Some functions are actually named
15053 something starting with __ and the normal name is an alias. */
15054 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15062 if { (eval echo configure
:15063: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15064 eval "ac_cv_func_$ac_func=yes"
15066 echo "configure: failed program was:" >&5
15067 cat conftest.
$ac_ext >&5
15069 eval "ac_cv_func_$ac_func=no"
15074 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15075 echo "$ac_t""yes" 1>&6
15076 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15077 cat >> confdefs.h
<<EOF
15078 #define $ac_tr_func 1
15082 echo "$ac_t""no" 1>&6
15087 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
15088 echo "configure: warning: wxSingleInstanceChecker not available" 1>&2
15089 wxUSE_SNGLINST_CHECKER
=no
15093 for ac_func
in timegm
15095 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15096 echo "configure:15097: checking for $ac_func" >&5
15097 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15098 echo $ac_n "(cached) $ac_c" 1>&6
15100 cat > conftest.
$ac_ext <<EOF
15101 #line 15102 "configure"
15102 #include "confdefs.h"
15103 /* System header to define __stub macros and hopefully few prototypes,
15104 which can conflict with char $ac_func(); below. */
15105 #include <assert.h>
15106 /* Override any gcc2 internal prototype to avoid an error. */
15107 /* We use char because int might match the return type of a gcc2
15108 builtin and then its argument prototype would still apply. */
15113 /* The GNU C library defines this for functions which it implements
15114 to always fail with ENOSYS. Some functions are actually named
15115 something starting with __ and the normal name is an alias. */
15116 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15124 if { (eval echo configure
:15125: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15126 eval "ac_cv_func_$ac_func=yes"
15128 echo "configure: failed program was:" >&5
15129 cat conftest.
$ac_ext >&5
15131 eval "ac_cv_func_$ac_func=no"
15136 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15137 echo "$ac_t""yes" 1>&6
15138 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15139 cat >> confdefs.h
<<EOF
15140 #define $ac_tr_func 1
15144 echo "$ac_t""no" 1>&6
15149 for ac_func
in putenv setenv
15151 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15152 echo "configure:15153: checking for $ac_func" >&5
15153 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15154 echo $ac_n "(cached) $ac_c" 1>&6
15156 cat > conftest.
$ac_ext <<EOF
15157 #line 15158 "configure"
15158 #include "confdefs.h"
15159 /* System header to define __stub macros and hopefully few prototypes,
15160 which can conflict with char $ac_func(); below. */
15161 #include <assert.h>
15162 /* Override any gcc2 internal prototype to avoid an error. */
15163 /* We use char because int might match the return type of a gcc2
15164 builtin and then its argument prototype would still apply. */
15169 /* The GNU C library defines this for functions which it implements
15170 to always fail with ENOSYS. Some functions are actually named
15171 something starting with __ and the normal name is an alias. */
15172 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15180 if { (eval echo configure
:15181: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15182 eval "ac_cv_func_$ac_func=yes"
15184 echo "configure: failed program was:" >&5
15185 cat conftest.
$ac_ext >&5
15187 eval "ac_cv_func_$ac_func=no"
15192 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15193 echo "$ac_t""yes" 1>&6
15194 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15195 cat >> confdefs.h
<<EOF
15196 #define $ac_tr_func 1
15200 echo "$ac_t""no" 1>&6
15205 HAVE_SOME_SLEEP_FUNC
=0
15206 if test "$USE_BEOS" = 1; then
15207 cat >> confdefs.h
<<\EOF
15208 #define HAVE_SLEEP 1
15211 HAVE_SOME_SLEEP_FUNC
=1
15214 if test "$USE_DARWIN" = 1; then
15215 cat >> confdefs.h
<<\EOF
15216 #define HAVE_USLEEP 1
15219 HAVE_SOME_SLEEP_FUNC
=1
15222 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
15224 for ac_func
in nanosleep
15226 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15227 echo "configure:15228: checking for $ac_func" >&5
15228 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15229 echo $ac_n "(cached) $ac_c" 1>&6
15231 cat > conftest.
$ac_ext <<EOF
15232 #line 15233 "configure"
15233 #include "confdefs.h"
15234 /* System header to define __stub macros and hopefully few prototypes,
15235 which can conflict with char $ac_func(); below. */
15236 #include <assert.h>
15237 /* Override any gcc2 internal prototype to avoid an error. */
15238 /* We use char because int might match the return type of a gcc2
15239 builtin and then its argument prototype would still apply. */
15244 /* The GNU C library defines this for functions which it implements
15245 to always fail with ENOSYS. Some functions are actually named
15246 something starting with __ and the normal name is an alias. */
15247 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
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_func_$ac_func=yes"
15259 echo "configure: failed program was:" >&5
15260 cat conftest.
$ac_ext >&5
15262 eval "ac_cv_func_$ac_func=no"
15267 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15268 echo "$ac_t""yes" 1>&6
15269 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15270 cat >> confdefs.h
<<EOF
15271 #define $ac_tr_func 1
15273 cat >> confdefs.h
<<\EOF
15274 #define HAVE_NANOSLEEP 1
15278 echo "$ac_t""no" 1>&6
15279 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
15280 echo "configure:15281: checking for nanosleep in -lposix4" >&5
15281 ac_lib_var
=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
15282 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15283 echo $ac_n "(cached) $ac_c" 1>&6
15285 ac_save_LIBS
="$LIBS"
15286 LIBS
="-lposix4 $LIBS"
15287 cat > conftest.
$ac_ext <<EOF
15288 #line 15289 "configure"
15289 #include "confdefs.h"
15290 /* Override any gcc2 internal prototype to avoid an error. */
15291 /* We use char because int might match the return type of a gcc2
15292 builtin and then its argument prototype would still apply. */
15299 if { (eval echo configure
:15300: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15301 eval "ac_cv_lib_$ac_lib_var=yes"
15303 echo "configure: failed program was:" >&5
15304 cat conftest.
$ac_ext >&5
15306 eval "ac_cv_lib_$ac_lib_var=no"
15309 LIBS
="$ac_save_LIBS"
15312 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15313 echo "$ac_t""yes" 1>&6
15315 cat >> confdefs.h
<<\EOF
15316 #define HAVE_NANOSLEEP 1
15319 POSIX4_LINK
=" -lposix4"
15322 echo "$ac_t""no" 1>&6
15324 for ac_func
in usleep
15326 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15327 echo "configure:15328: checking for $ac_func" >&5
15328 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15329 echo $ac_n "(cached) $ac_c" 1>&6
15331 cat > conftest.
$ac_ext <<EOF
15332 #line 15333 "configure"
15333 #include "confdefs.h"
15334 /* System header to define __stub macros and hopefully few prototypes,
15335 which can conflict with char $ac_func(); below. */
15336 #include <assert.h>
15337 /* Override any gcc2 internal prototype to avoid an error. */
15338 /* We use char because int might match the return type of a gcc2
15339 builtin and then its argument prototype would still apply. */
15344 /* The GNU C library defines this for functions which it implements
15345 to always fail with ENOSYS. Some functions are actually named
15346 something starting with __ and the normal name is an alias. */
15347 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15355 if { (eval echo configure
:15356: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15357 eval "ac_cv_func_$ac_func=yes"
15359 echo "configure: failed program was:" >&5
15360 cat conftest.
$ac_ext >&5
15362 eval "ac_cv_func_$ac_func=no"
15367 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15368 echo "$ac_t""yes" 1>&6
15369 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15370 cat >> confdefs.h
<<EOF
15371 #define $ac_tr_func 1
15373 cat >> confdefs.h
<<\EOF
15374 #define HAVE_USLEEP 1
15378 echo "$ac_t""no" 1>&6
15379 echo "configure: warning: wxSleep() function will not work" 1>&2
15395 for ac_func
in uname gethostname
15397 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15398 echo "configure:15399: checking for $ac_func" >&5
15399 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15400 echo $ac_n "(cached) $ac_c" 1>&6
15402 cat > conftest.
$ac_ext <<EOF
15403 #line 15404 "configure"
15404 #include "confdefs.h"
15405 /* System header to define __stub macros and hopefully few prototypes,
15406 which can conflict with char $ac_func(); below. */
15407 #include <assert.h>
15408 /* Override any gcc2 internal prototype to avoid an error. */
15409 /* We use char because int might match the return type of a gcc2
15410 builtin and then its argument prototype would still apply. */
15415 /* The GNU C library defines this for functions which it implements
15416 to always fail with ENOSYS. Some functions are actually named
15417 something starting with __ and the normal name is an alias. */
15418 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15426 if { (eval echo configure
:15427: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15428 eval "ac_cv_func_$ac_func=yes"
15430 echo "configure: failed program was:" >&5
15431 cat conftest.
$ac_ext >&5
15433 eval "ac_cv_func_$ac_func=no"
15438 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15439 echo "$ac_t""yes" 1>&6
15440 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15441 cat >> confdefs.h
<<EOF
15442 #define $ac_tr_func 1
15446 echo "$ac_t""no" 1>&6
15453 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15454 ac_cpp
='$CXXCPP $CPPFLAGS'
15455 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15456 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15457 cross_compiling
=$ac_cv_prog_cxx_cross
15460 for ac_func
in strtok_r
15462 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15463 echo "configure:15464: checking for $ac_func" >&5
15464 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15465 echo $ac_n "(cached) $ac_c" 1>&6
15467 cat > conftest.
$ac_ext <<EOF
15468 #line 15469 "configure"
15469 #include "confdefs.h"
15470 /* System header to define __stub macros and hopefully few prototypes,
15471 which can conflict with char $ac_func(); below. */
15472 #include <assert.h>
15473 /* Override any gcc2 internal prototype to avoid an error. */
15477 /* We use char because int might match the return type of a gcc2
15478 builtin and then its argument prototype would still apply. */
15483 /* The GNU C library defines this for functions which it implements
15484 to always fail with ENOSYS. Some functions are actually named
15485 something starting with __ and the normal name is an alias. */
15486 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15494 if { (eval echo configure
:15495: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15496 eval "ac_cv_func_$ac_func=yes"
15498 echo "configure: failed program was:" >&5
15499 cat conftest.
$ac_ext >&5
15501 eval "ac_cv_func_$ac_func=no"
15506 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15507 echo "$ac_t""yes" 1>&6
15508 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15509 cat >> confdefs.h
<<EOF
15510 #define $ac_tr_func 1
15514 echo "$ac_t""no" 1>&6
15520 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15521 ac_cpp
='$CPP $CPPFLAGS'
15522 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15523 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15524 cross_compiling
=$ac_cv_prog_cc_cross
15528 for ac_func
in inet_addr
15530 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15531 echo "configure:15532: checking for $ac_func" >&5
15532 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15533 echo $ac_n "(cached) $ac_c" 1>&6
15535 cat > conftest.
$ac_ext <<EOF
15536 #line 15537 "configure"
15537 #include "confdefs.h"
15538 /* System header to define __stub macros and hopefully few prototypes,
15539 which can conflict with char $ac_func(); below. */
15540 #include <assert.h>
15541 /* Override any gcc2 internal prototype to avoid an error. */
15542 /* We use char because int might match the return type of a gcc2
15543 builtin and then its argument prototype would still apply. */
15548 /* The GNU C library defines this for functions which it implements
15549 to always fail with ENOSYS. Some functions are actually named
15550 something starting with __ and the normal name is an alias. */
15551 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15559 if { (eval echo configure
:15560: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15561 eval "ac_cv_func_$ac_func=yes"
15563 echo "configure: failed program was:" >&5
15564 cat conftest.
$ac_ext >&5
15566 eval "ac_cv_func_$ac_func=no"
15571 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15572 echo "$ac_t""yes" 1>&6
15573 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15574 cat >> confdefs.h
<<EOF
15575 #define $ac_tr_func 1
15577 cat >> confdefs.h
<<\EOF
15578 #define HAVE_INET_ADDR 1
15582 echo "$ac_t""no" 1>&6
15583 echo $ac_n "checking for inet_addr in -lnsl""... $ac_c" 1>&6
15584 echo "configure:15585: checking for inet_addr in -lnsl" >&5
15585 ac_lib_var
=`echo nsl'_'inet_addr | sed 'y%./+-%__p_%'`
15586 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15587 echo $ac_n "(cached) $ac_c" 1>&6
15589 ac_save_LIBS
="$LIBS"
15591 cat > conftest.
$ac_ext <<EOF
15592 #line 15593 "configure"
15593 #include "confdefs.h"
15594 /* Override any gcc2 internal prototype to avoid an error. */
15595 /* We use char because int might match the return type of a gcc2
15596 builtin and then its argument prototype would still apply. */
15603 if { (eval echo configure
:15604: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15605 eval "ac_cv_lib_$ac_lib_var=yes"
15607 echo "configure: failed program was:" >&5
15608 cat conftest.
$ac_ext >&5
15610 eval "ac_cv_lib_$ac_lib_var=no"
15613 LIBS
="$ac_save_LIBS"
15616 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15617 echo "$ac_t""yes" 1>&6
15620 echo "$ac_t""no" 1>&6
15621 echo $ac_n "checking for inet_addr in -lresolv""... $ac_c" 1>&6
15622 echo "configure:15623: checking for inet_addr in -lresolv" >&5
15623 ac_lib_var
=`echo resolv'_'inet_addr | sed 'y%./+-%__p_%'`
15624 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15625 echo $ac_n "(cached) $ac_c" 1>&6
15627 ac_save_LIBS
="$LIBS"
15628 LIBS
="-lresolv $LIBS"
15629 cat > conftest.
$ac_ext <<EOF
15630 #line 15631 "configure"
15631 #include "confdefs.h"
15632 /* Override any gcc2 internal prototype to avoid an error. */
15633 /* We use char because int might match the return type of a gcc2
15634 builtin and then its argument prototype would still apply. */
15641 if { (eval echo configure
:15642: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15643 eval "ac_cv_lib_$ac_lib_var=yes"
15645 echo "configure: failed program was:" >&5
15646 cat conftest.
$ac_ext >&5
15648 eval "ac_cv_lib_$ac_lib_var=no"
15651 LIBS
="$ac_save_LIBS"
15654 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15655 echo "$ac_t""yes" 1>&6
15659 echo "$ac_t""no" 1>&6
15671 for ac_func
in inet_aton
15673 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15674 echo "configure:15675: checking for $ac_func" >&5
15675 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15676 echo $ac_n "(cached) $ac_c" 1>&6
15678 cat > conftest.
$ac_ext <<EOF
15679 #line 15680 "configure"
15680 #include "confdefs.h"
15681 /* System header to define __stub macros and hopefully few prototypes,
15682 which can conflict with char $ac_func(); below. */
15683 #include <assert.h>
15684 /* Override any gcc2 internal prototype to avoid an error. */
15685 /* We use char because int might match the return type of a gcc2
15686 builtin and then its argument prototype would still apply. */
15691 /* The GNU C library defines this for functions which it implements
15692 to always fail with ENOSYS. Some functions are actually named
15693 something starting with __ and the normal name is an alias. */
15694 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
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_func_$ac_func=yes"
15706 echo "configure: failed program was:" >&5
15707 cat conftest.
$ac_ext >&5
15709 eval "ac_cv_func_$ac_func=no"
15714 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15715 echo "$ac_t""yes" 1>&6
15716 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15717 cat >> confdefs.h
<<EOF
15718 #define $ac_tr_func 1
15720 cat >> confdefs.h
<<\EOF
15721 #define HAVE_INET_ATON 1
15725 echo "$ac_t""no" 1>&6
15726 echo $ac_n "checking for inet_aton in -l$INET_LINK""... $ac_c" 1>&6
15727 echo "configure:15728: checking for inet_aton in -l$INET_LINK" >&5
15728 ac_lib_var
=`echo $INET_LINK'_'inet_aton | sed 'y%./+-%__p_%'`
15729 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15730 echo $ac_n "(cached) $ac_c" 1>&6
15732 ac_save_LIBS
="$LIBS"
15733 LIBS
="-l$INET_LINK $LIBS"
15734 cat > conftest.
$ac_ext <<EOF
15735 #line 15736 "configure"
15736 #include "confdefs.h"
15737 /* Override any gcc2 internal prototype to avoid an error. */
15738 /* We use char because int might match the return type of a gcc2
15739 builtin and then its argument prototype would still apply. */
15746 if { (eval echo configure
:15747: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15748 eval "ac_cv_lib_$ac_lib_var=yes"
15750 echo "configure: failed program was:" >&5
15751 cat conftest.
$ac_ext >&5
15753 eval "ac_cv_lib_$ac_lib_var=no"
15756 LIBS
="$ac_save_LIBS"
15759 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15760 echo "$ac_t""yes" 1>&6
15761 cat >> confdefs.h
<<\EOF
15762 #define HAVE_INET_ATON 1
15766 echo "$ac_t""no" 1>&6
15774 if test "x$INET_LINK" != "x"; then
15775 cat >> confdefs.h
<<\EOF
15776 #define HAVE_INET_ADDR 1
15779 INET_LINK
=" -l$INET_LINK"
15785 cat > confcache
<<\EOF
15786 # This file is a shell script that caches the results of configure
15787 # tests run on this system so they can be shared between configure
15788 # scripts and configure runs. It is not useful on other systems.
15789 # If it contains results you don't want to keep, you may remove or edit it.
15791 # By default, configure uses ./config.cache as the cache file,
15792 # creating it if it does not exist already. You can give configure
15793 # the --cache-file=FILE option to use a different cache file; that is
15794 # what configure does when it calls configure scripts in
15795 # subdirectories, so they share the cache.
15796 # Giving --cache-file=/dev/null disables caching, for debugging configure.
15797 # config.status only pays attention to the cache file if you give it the
15798 # --recheck option to rerun configure.
15801 # The following way of writing the cache mishandles newlines in values,
15802 # but we know of no workaround that is simple, portable, and efficient.
15803 # So, don't put newlines in cache variables' values.
15804 # Ultrix sh set writes to stderr and can't be redirected directly,
15805 # and sets the high bit in the cache file unless we assign to the vars.
15807 case `(ac_space=' '; set | grep ac_space) 2>&1` in
15809 # `set' does not quote correctly, so add quotes (double-quote substitution
15810 # turns \\\\ into \\, and sed turns \\ into \).
15812 -e "s/'/'\\\\''/g" \
15813 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
15816 # `set' quotes correctly as required by POSIX, so do not add quotes.
15817 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
15820 if cmp -s $cache_file confcache
; then
15823 if test -w $cache_file; then
15824 echo "updating cache $cache_file"
15825 cat confcache
> $cache_file
15827 echo "not updating unwritable cache $cache_file"
15834 if test "$TOOLKIT" != "MSW"; then
15840 CODE_GEN_FLAGS_CXX
=
15842 if test "$wxUSE_THREADS" = "yes" ; then
15843 if test "$wxUSE_WINE" = 1 ; then
15844 echo "configure: warning: Threads are not supported under WINE... disabled" 1>&2
15846 elif test "$USE_BEOS" = 1; then
15847 echo "configure: warning: BeOS threads are not yet supported... disabled" 1>&2
15852 if test "$wxUSE_THREADS" = "yes" ; then
15854 if test "$USE_AIX" = 1; then
15855 THREADS_LIB
=pthreads
15857 THREADS_LIB
=pthread
15860 echo $ac_n "checking for pthread_create in -l$THREADS_LIB""... $ac_c" 1>&6
15861 echo "configure:15862: checking for pthread_create in -l$THREADS_LIB" >&5
15862 ac_lib_var
=`echo $THREADS_LIB'_'pthread_create | sed 'y%./+-%__p_%'`
15863 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15864 echo $ac_n "(cached) $ac_c" 1>&6
15866 ac_save_LIBS
="$LIBS"
15867 LIBS
="-l$THREADS_LIB $LIBS"
15868 cat > conftest.
$ac_ext <<EOF
15869 #line 15870 "configure"
15870 #include "confdefs.h"
15871 /* Override any gcc2 internal prototype to avoid an error. */
15872 /* We use char because int might match the return type of a gcc2
15873 builtin and then its argument prototype would still apply. */
15874 char pthread_create();
15880 if { (eval echo configure
:15881: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15882 eval "ac_cv_lib_$ac_lib_var=yes"
15884 echo "configure: failed program was:" >&5
15885 cat conftest.
$ac_ext >&5
15887 eval "ac_cv_lib_$ac_lib_var=no"
15890 LIBS
="$ac_save_LIBS"
15893 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15894 echo "$ac_t""yes" 1>&6
15896 THREADS_OBJ
="threadpsx.lo"
15897 THREADS_LINK
=$THREADS_LIB
15900 echo "$ac_t""no" 1>&6
15902 echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
15903 echo "configure:15904: checking for pthread_create in -lc_r" >&5
15904 ac_lib_var
=`echo c_r'_'pthread_create | sed 'y%./+-%__p_%'`
15905 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15906 echo $ac_n "(cached) $ac_c" 1>&6
15908 ac_save_LIBS
="$LIBS"
15910 cat > conftest.
$ac_ext <<EOF
15911 #line 15912 "configure"
15912 #include "confdefs.h"
15913 /* Override any gcc2 internal prototype to avoid an error. */
15914 /* We use char because int might match the return type of a gcc2
15915 builtin and then its argument prototype would still apply. */
15916 char pthread_create();
15922 if { (eval echo configure
:15923: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15924 eval "ac_cv_lib_$ac_lib_var=yes"
15926 echo "configure: failed program was:" >&5
15927 cat conftest.
$ac_ext >&5
15929 eval "ac_cv_lib_$ac_lib_var=no"
15932 LIBS
="$ac_save_LIBS"
15935 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15936 echo "$ac_t""yes" 1>&6
15938 THREADS_OBJ
="threadpsx.lo"
15942 echo "$ac_t""no" 1>&6
15944 ac_safe
=`echo "sys/prctl.h" | sed 'y%./+-%__p_%'`
15945 echo $ac_n "checking for sys/prctl.h""... $ac_c" 1>&6
15946 echo "configure:15947: checking for sys/prctl.h" >&5
15947 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15948 echo $ac_n "(cached) $ac_c" 1>&6
15950 cat > conftest.
$ac_ext <<EOF
15951 #line 15952 "configure"
15952 #include "confdefs.h"
15953 #include <sys/prctl.h>
15955 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15956 { (eval echo configure
:15957: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15957 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15958 if test -z "$ac_err"; then
15960 eval "ac_cv_header_$ac_safe=yes"
15963 echo "configure: failed program was:" >&5
15964 cat conftest.
$ac_ext >&5
15966 eval "ac_cv_header_$ac_safe=no"
15970 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15971 echo "$ac_t""yes" 1>&6
15973 THREADS_OBJ
="threadsgi.lo"
15976 echo "$ac_t""no" 1>&6
15986 if test -z "$THREADS_OBJ" ; then
15988 echo "configure: warning: No thread support on this system... disabled" 1>&2
15992 if test "$wxUSE_THREADS" = "yes" ; then
15993 for ac_func
in thr_setconcurrency
15995 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15996 echo "configure:15997: checking for $ac_func" >&5
15997 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15998 echo $ac_n "(cached) $ac_c" 1>&6
16000 cat > conftest.
$ac_ext <<EOF
16001 #line 16002 "configure"
16002 #include "confdefs.h"
16003 /* System header to define __stub macros and hopefully few prototypes,
16004 which can conflict with char $ac_func(); below. */
16005 #include <assert.h>
16006 /* Override any gcc2 internal prototype to avoid an error. */
16007 /* We use char because int might match the return type of a gcc2
16008 builtin and then its argument prototype would still apply. */
16013 /* The GNU C library defines this for functions which it implements
16014 to always fail with ENOSYS. Some functions are actually named
16015 something starting with __ and the normal name is an alias. */
16016 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16024 if { (eval echo configure
:16025: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16026 eval "ac_cv_func_$ac_func=yes"
16028 echo "configure: failed program was:" >&5
16029 cat conftest.
$ac_ext >&5
16031 eval "ac_cv_func_$ac_func=no"
16036 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16037 echo "$ac_t""yes" 1>&6
16038 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16039 cat >> confdefs.h
<<EOF
16040 #define $ac_tr_func 1
16044 echo "$ac_t""no" 1>&6
16050 for ac_hdr
in sched.h
16052 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
16053 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
16054 echo "configure:16055: checking for $ac_hdr" >&5
16055 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
16056 echo $ac_n "(cached) $ac_c" 1>&6
16058 cat > conftest.
$ac_ext <<EOF
16059 #line 16060 "configure"
16060 #include "confdefs.h"
16063 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
16064 { (eval echo configure
:16065: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16065 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
16066 if test -z "$ac_err"; then
16068 eval "ac_cv_header_$ac_safe=yes"
16071 echo "configure: failed program was:" >&5
16072 cat conftest.
$ac_ext >&5
16074 eval "ac_cv_header_$ac_safe=no"
16078 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
16079 echo "$ac_t""yes" 1>&6
16080 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
16081 cat >> confdefs.h
<<EOF
16082 #define $ac_tr_hdr 1
16086 echo "$ac_t""no" 1>&6
16091 echo $ac_n "checking for sched_yield in -l$THREADS_LINK""... $ac_c" 1>&6
16092 echo "configure:16093: checking for sched_yield in -l$THREADS_LINK" >&5
16093 ac_lib_var
=`echo $THREADS_LINK'_'sched_yield | sed 'y%./+-%__p_%'`
16094 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16095 echo $ac_n "(cached) $ac_c" 1>&6
16097 ac_save_LIBS
="$LIBS"
16098 LIBS
="-l$THREADS_LINK $LIBS"
16099 cat > conftest.
$ac_ext <<EOF
16100 #line 16101 "configure"
16101 #include "confdefs.h"
16102 /* Override any gcc2 internal prototype to avoid an error. */
16103 /* We use char because int might match the return type of a gcc2
16104 builtin and then its argument prototype would still apply. */
16105 char sched_yield();
16111 if { (eval echo configure
:16112: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16113 eval "ac_cv_lib_$ac_lib_var=yes"
16115 echo "configure: failed program was:" >&5
16116 cat conftest.
$ac_ext >&5
16118 eval "ac_cv_lib_$ac_lib_var=no"
16121 LIBS
="$ac_save_LIBS"
16124 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16125 echo "$ac_t""yes" 1>&6
16126 cat >> confdefs.h
<<\EOF
16127 #define HAVE_SCHED_YIELD 1
16131 echo "$ac_t""no" 1>&6
16132 echo $ac_n "checking for sched_yield in -lposix4""... $ac_c" 1>&6
16133 echo "configure:16134: checking for sched_yield in -lposix4" >&5
16134 ac_lib_var
=`echo posix4'_'sched_yield | sed 'y%./+-%__p_%'`
16135 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16136 echo $ac_n "(cached) $ac_c" 1>&6
16138 ac_save_LIBS
="$LIBS"
16139 LIBS
="-lposix4 $LIBS"
16140 cat > conftest.
$ac_ext <<EOF
16141 #line 16142 "configure"
16142 #include "confdefs.h"
16143 /* Override any gcc2 internal prototype to avoid an error. */
16144 /* We use char because int might match the return type of a gcc2
16145 builtin and then its argument prototype would still apply. */
16146 char sched_yield();
16152 if { (eval echo configure
:16153: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16154 eval "ac_cv_lib_$ac_lib_var=yes"
16156 echo "configure: failed program was:" >&5
16157 cat conftest.
$ac_ext >&5
16159 eval "ac_cv_lib_$ac_lib_var=no"
16162 LIBS
="$ac_save_LIBS"
16165 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16166 echo "$ac_t""yes" 1>&6
16167 cat >> confdefs.h
<<\EOF
16168 #define HAVE_SCHED_YIELD 1
16170 POSIX4_LINK
=" -lposix4"
16172 echo "$ac_t""no" 1>&6
16173 echo "configure: warning: wxThread::Yield will not work properly" 1>&2
16182 echo $ac_n "checking for pthread_attr_getschedpolicy in -l$THREADS_LINK""... $ac_c" 1>&6
16183 echo "configure:16184: checking for pthread_attr_getschedpolicy in -l$THREADS_LINK" >&5
16184 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
16185 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16186 echo $ac_n "(cached) $ac_c" 1>&6
16188 ac_save_LIBS
="$LIBS"
16189 LIBS
="-l$THREADS_LINK $LIBS"
16190 cat > conftest.
$ac_ext <<EOF
16191 #line 16192 "configure"
16192 #include "confdefs.h"
16193 /* Override any gcc2 internal prototype to avoid an error. */
16194 /* We use char because int might match the return type of a gcc2
16195 builtin and then its argument prototype would still apply. */
16196 char pthread_attr_getschedpolicy();
16199 pthread_attr_getschedpolicy()
16202 if { (eval echo configure
:16203: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16204 eval "ac_cv_lib_$ac_lib_var=yes"
16206 echo "configure: failed program was:" >&5
16207 cat conftest.
$ac_ext >&5
16209 eval "ac_cv_lib_$ac_lib_var=no"
16212 LIBS
="$ac_save_LIBS"
16215 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16216 echo "$ac_t""yes" 1>&6
16217 echo $ac_n "checking for pthread_attr_setschedparam in -l$THREADS_LINK""... $ac_c" 1>&6
16218 echo "configure:16219: checking for pthread_attr_setschedparam in -l$THREADS_LINK" >&5
16219 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_setschedparam | sed 'y%./+-%__p_%'`
16220 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16221 echo $ac_n "(cached) $ac_c" 1>&6
16223 ac_save_LIBS
="$LIBS"
16224 LIBS
="-l$THREADS_LINK $LIBS"
16225 cat > conftest.
$ac_ext <<EOF
16226 #line 16227 "configure"
16227 #include "confdefs.h"
16228 /* Override any gcc2 internal prototype to avoid an error. */
16229 /* We use char because int might match the return type of a gcc2
16230 builtin and then its argument prototype would still apply. */
16231 char pthread_attr_setschedparam();
16234 pthread_attr_setschedparam()
16237 if { (eval echo configure
:16238: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16239 eval "ac_cv_lib_$ac_lib_var=yes"
16241 echo "configure: failed program was:" >&5
16242 cat conftest.
$ac_ext >&5
16244 eval "ac_cv_lib_$ac_lib_var=no"
16247 LIBS
="$ac_save_LIBS"
16250 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16251 echo "$ac_t""yes" 1>&6
16252 echo $ac_n "checking for sched_get_priority_max in -l$THREADS_LINK""... $ac_c" 1>&6
16253 echo "configure:16254: checking for sched_get_priority_max in -l$THREADS_LINK" >&5
16254 ac_lib_var
=`echo $THREADS_LINK'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
16255 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16256 echo $ac_n "(cached) $ac_c" 1>&6
16258 ac_save_LIBS
="$LIBS"
16259 LIBS
="-l$THREADS_LINK $LIBS"
16260 cat > conftest.
$ac_ext <<EOF
16261 #line 16262 "configure"
16262 #include "confdefs.h"
16263 /* Override any gcc2 internal prototype to avoid an error. */
16264 /* We use char because int might match the return type of a gcc2
16265 builtin and then its argument prototype would still apply. */
16266 char sched_get_priority_max();
16269 sched_get_priority_max()
16272 if { (eval echo configure
:16273: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16274 eval "ac_cv_lib_$ac_lib_var=yes"
16276 echo "configure: failed program was:" >&5
16277 cat conftest.
$ac_ext >&5
16279 eval "ac_cv_lib_$ac_lib_var=no"
16282 LIBS
="$ac_save_LIBS"
16285 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16286 echo "$ac_t""yes" 1>&6
16289 echo "$ac_t""no" 1>&6
16290 echo $ac_n "checking for sched_get_priority_max in -lposix4""... $ac_c" 1>&6
16291 echo "configure:16292: checking for sched_get_priority_max in -lposix4" >&5
16292 ac_lib_var
=`echo posix4'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
16293 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16294 echo $ac_n "(cached) $ac_c" 1>&6
16296 ac_save_LIBS
="$LIBS"
16297 LIBS
="-lposix4 $LIBS"
16298 cat > conftest.
$ac_ext <<EOF
16299 #line 16300 "configure"
16300 #include "confdefs.h"
16301 /* Override any gcc2 internal prototype to avoid an error. */
16302 /* We use char because int might match the return type of a gcc2
16303 builtin and then its argument prototype would still apply. */
16304 char sched_get_priority_max();
16307 sched_get_priority_max()
16310 if { (eval echo configure
:16311: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16312 eval "ac_cv_lib_$ac_lib_var=yes"
16314 echo "configure: failed program was:" >&5
16315 cat conftest.
$ac_ext >&5
16317 eval "ac_cv_lib_$ac_lib_var=no"
16320 LIBS
="$ac_save_LIBS"
16323 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16324 echo "$ac_t""yes" 1>&6
16327 POSIX4_LINK
=" -lposix4"
16330 echo "$ac_t""no" 1>&6
16338 echo "$ac_t""no" 1>&6
16343 echo "$ac_t""no" 1>&6
16347 if test "$HAVE_PRIOR_FUNCS" = 1; then
16348 cat >> confdefs.h
<<\EOF
16349 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
16353 echo "configure: warning: Setting thread priority will not work" 1>&2
16356 echo $ac_n "checking for pthread_cancel in -l$THREADS_LINK""... $ac_c" 1>&6
16357 echo "configure:16358: checking for pthread_cancel in -l$THREADS_LINK" >&5
16358 ac_lib_var
=`echo $THREADS_LINK'_'pthread_cancel | sed 'y%./+-%__p_%'`
16359 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16360 echo $ac_n "(cached) $ac_c" 1>&6
16362 ac_save_LIBS
="$LIBS"
16363 LIBS
="-l$THREADS_LINK $LIBS"
16364 cat > conftest.
$ac_ext <<EOF
16365 #line 16366 "configure"
16366 #include "confdefs.h"
16367 /* Override any gcc2 internal prototype to avoid an error. */
16368 /* We use char because int might match the return type of a gcc2
16369 builtin and then its argument prototype would still apply. */
16370 char pthread_cancel();
16376 if { (eval echo configure
:16377: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16378 eval "ac_cv_lib_$ac_lib_var=yes"
16380 echo "configure: failed program was:" >&5
16381 cat conftest.
$ac_ext >&5
16383 eval "ac_cv_lib_$ac_lib_var=no"
16386 LIBS
="$ac_save_LIBS"
16389 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16390 echo "$ac_t""yes" 1>&6
16391 cat >> confdefs.h
<<\EOF
16392 #define HAVE_PTHREAD_CANCEL 1
16396 echo "$ac_t""no" 1>&6
16397 echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
16401 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
16402 echo "configure:16403: checking for pthread_cleanup_push/pop" >&5
16403 if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
16404 echo $ac_n "(cached) $ac_c" 1>&6
16407 cat > conftest.
$ac_ext <<EOF
16408 #line 16409 "configure"
16409 #include "confdefs.h"
16410 #include <pthread.h>
16413 pthread_cleanup_push(NULL, NULL);
16414 pthread_cleanup_pop(0);
16418 if { (eval echo configure
:16419: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16421 wx_cv_func_pthread_cleanup_push
=yes
16424 echo "configure: failed program was:" >&5
16425 cat conftest.
$ac_ext >&5
16428 wx_cv_func_pthread_cleanup_push
=no
16435 echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
16437 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
16438 cat >> confdefs.h
<<\EOF
16439 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
16445 if test "x$wx_lib_glibc21" = "xyes"; then
16446 CPPFLAGS
="$CPPFLAGS -D_GNU_SOURCE"
16449 echo $ac_n "checking for pthread_mutexattr_t""... $ac_c" 1>&6
16450 echo "configure:16451: checking for pthread_mutexattr_t" >&5
16451 if eval "test \"`echo '$''{'wx_cv_type_pthread_mutexattr_t'+set}'`\" = set"; then
16452 echo $ac_n "(cached) $ac_c" 1>&6
16455 cat > conftest.
$ac_ext <<EOF
16456 #line 16457 "configure"
16457 #include "confdefs.h"
16458 #include <pthread.h>
16461 pthread_mutexattr_t attr;
16462 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
16466 if { (eval echo configure
:16467: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16469 wx_cv_type_pthread_mutexattr_t
=yes
16472 echo "configure: failed program was:" >&5
16473 cat conftest.
$ac_ext >&5
16476 wx_cv_type_pthread_mutexattr_t
=no
16484 echo "$ac_t""$wx_cv_type_pthread_mutexattr_t" 1>&6
16486 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
16487 cat >> confdefs.h
<<\EOF
16488 #define HAVE_PTHREAD_MUTEXATTR_T 1
16492 echo $ac_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER""... $ac_c" 1>&6
16493 echo "configure:16494: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
16494 if eval "test \"`echo '$''{'wx_cv_type_pthread_rec_mutex_init'+set}'`\" = set"; then
16495 echo $ac_n "(cached) $ac_c" 1>&6
16498 cat > conftest.
$ac_ext <<EOF
16499 #line 16500 "configure"
16500 #include "confdefs.h"
16501 #include <pthread.h>
16504 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
16508 if { (eval echo configure
:16509: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16511 wx_cv_type_pthread_rec_mutex_init
=yes
16514 echo "configure: failed program was:" >&5
16515 cat conftest.
$ac_ext >&5
16518 wx_cv_type_pthread_rec_mutex_init
=no
16526 echo "$ac_t""$wx_cv_type_pthread_rec_mutex_init" 1>&6
16527 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
16528 cat >> confdefs.h
<<\EOF
16529 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
16533 echo "configure: warning: wxMutex won't be recursive on this platform" 1>&2
16537 THREADS_LINK
=" -l$THREADS_LINK"
16539 if test "$USE_SOLARIS" = "yes" -a "$GCC" != "yes"; then
16540 CPPFLAGS
="$CFLAGS -mt"
16541 CXXFLAGS
="$CXXFLAGS -mt"
16542 LDFLAGS
="$LDFLAGS -mt"
16548 if test "$wxUSE_THREADS" = "yes"; then
16549 cat >> confdefs.h
<<\EOF
16550 #define wxUSE_THREADS 1
16554 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS $CPP_MT_FLAG"
16556 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
16558 if test "$ac_cv_func_strtok_r" = "yes"; then
16559 echo $ac_n "checking if -D_REENTRANT is needed""... $ac_c" 1>&6
16560 echo "configure:16561: checking if -D_REENTRANT is needed" >&5
16561 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
16562 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
16563 echo "$ac_t""yes" 1>&6
16565 echo "$ac_t""no" 1>&6
16570 if test "$WXGTK20" = 1 ; then
16571 cat >> confdefs.h
<<EOF
16572 #define __WXGTK20__ $WXGTK20
16578 if test "$WXGTK12" = 1 ; then
16579 cat >> confdefs.h
<<EOF
16580 #define __WXGTK12__ $WXGTK12
16585 if test "$WXGTK127" = 1 ; then
16586 cat >> confdefs.h
<<EOF
16587 #define __WXGTK127__ $WXGTK127
16594 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
16599 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
16600 wxUSE_DEBUG_INFO
=yes
16604 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
16605 cat >> confdefs.h
<<\EOF
16609 WXDEBUG_DEFINE
="-D__WXDEBUG__"
16611 if test "$wxUSE_GTK" = 1 ; then
16612 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
16616 if test "$wxUSE_MEM_TRACING" = "yes" ; then
16617 cat >> confdefs.h
<<\EOF
16618 #define wxUSE_MEMORY_TRACING 1
16621 cat >> confdefs.h
<<\EOF
16622 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
16625 cat >> confdefs.h
<<\EOF
16626 #define wxUSE_DEBUG_NEW_ALWAYS 1
16629 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
16632 if test "$wxUSE_DMALLOC" = "yes" ; then
16633 DMALLOC_LIBS
="-ldmalloc"
16637 if test "$wxUSE_PROFILE" = "yes" ; then
16641 if test "$GCC" = "yes" ; then
16642 if test "$wxUSE_NO_RTTI" = "yes" ; then
16643 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
16645 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
16646 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
16648 if test "$wxUSE_PERMISSIVE" = "yes" ; then
16649 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
16651 if test "$USE_WIN32" = 1 ; then
16652 # I'm not even really sure what this was ever added to solve,
16653 # but someone added it for mingw native builds, so I guess
16654 # they had a reason, right??
16655 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fno-pcc-struct-return"
16660 CXXFLAGS
=`echo "${CXXFLAGS}" | sed "s/\-O.//g" `
16661 CFLAGS
=`echo "${CFLAGS}" | sed "s/\-O.//g" `
16662 if test "$wxUSE_OPTIMISE" = "no" ; then
16665 if test "$GCC" = yes ; then
16668 i586
-*-*|i686
-*-* )
16669 OPTIMISE
="${OPTIMISE} "
16677 if test "$WXWIN_COMPATIBILITY_2" = "yes"; then
16678 cat >> confdefs.h
<<\EOF
16679 #define WXWIN_COMPATIBILITY_2 1
16683 WXWIN_COMPATIBILITY_2_2
="yes"
16686 if test "$WXWIN_COMPATIBILITY_2_2" = "yes"; then
16687 cat >> confdefs.h
<<\EOF
16688 #define WXWIN_COMPATIBILITY_2_2 1
16694 if test "$wxUSE_GUI" = "yes"; then
16695 cat >> confdefs.h
<<\EOF
16696 #define wxUSE_GUI 1
16701 cat >> confdefs.h
<<\EOF
16702 #define wxUSE_NOGUI 1
16708 if test "$wxUSE_UNIX" = "yes"; then
16709 cat >> confdefs.h
<<\EOF
16710 #define wxUSE_UNIX 1
16716 if test "$wxUSE_APPLE_IEEE" = "yes"; then
16717 cat >> confdefs.h
<<\EOF
16718 #define wxUSE_APPLE_IEEE 1
16723 if test "$wxUSE_TIMER" = "yes"; then
16724 cat >> confdefs.h
<<\EOF
16725 #define wxUSE_TIMER 1
16730 if test "$wxUSE_WAVE" = "yes"; then
16731 cat >> confdefs.h
<<\EOF
16732 #define wxUSE_WAVE 1
16737 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
16738 cat >> confdefs.h
<<\EOF
16739 #define wxUSE_CMDLINE_PARSER 1
16744 if test "$wxUSE_STOPWATCH" = "yes"; then
16745 cat >> confdefs.h
<<\EOF
16746 #define wxUSE_STOPWATCH 1
16751 if test "$wxUSE_DATETIME" = "yes"; then
16752 cat >> confdefs.h
<<\EOF
16753 #define wxUSE_DATETIME 1
16758 if test "$wxUSE_TIMEDATE" = "yes"; then
16759 cat >> confdefs.h
<<\EOF
16760 #define wxUSE_TIMEDATE 1
16765 if test "$wxUSE_FILE" = "yes"; then
16766 cat >> confdefs.h
<<\EOF
16767 #define wxUSE_FILE 1
16772 if test "$wxUSE_FFILE" = "yes"; then
16773 cat >> confdefs.h
<<\EOF
16774 #define wxUSE_FFILE 1
16779 if test "$wxUSE_FILESYSTEM" = "yes"; then
16780 cat >> confdefs.h
<<\EOF
16781 #define wxUSE_FILESYSTEM 1
16786 if test "$wxUSE_FS_INET" = "yes"; then
16787 cat >> confdefs.h
<<\EOF
16788 #define wxUSE_FS_INET 1
16793 if test "$wxUSE_FS_ZIP" = "yes"; then
16794 cat >> confdefs.h
<<\EOF
16795 #define wxUSE_FS_ZIP 1
16800 if test "$wxUSE_ZIPSTREAM" = "yes"; then
16801 cat >> confdefs.h
<<\EOF
16802 #define wxUSE_ZIPSTREAM 1
16807 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
16808 cat >> confdefs.h
<<\EOF
16809 #define wxUSE_ON_FATAL_EXCEPTION 1
16814 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
16815 cat >> confdefs.h
<<\EOF
16816 #define wxUSE_SNGLINST_CHECKER 1
16821 if test "$wxUSE_BUSYINFO" = "yes"; then
16822 cat >> confdefs.h
<<\EOF
16823 #define wxUSE_BUSYINFO 1
16828 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
16829 cat >> confdefs.h
<<\EOF
16830 #define wxUSE_STD_IOSTREAM 1
16835 if test "$wxUSE_TEXTBUFFER" = "yes"; then
16836 cat >> confdefs.h
<<\EOF
16837 #define wxUSE_TEXTBUFFER 1
16842 if test "$wxUSE_TEXTFILE" = "yes"; then
16843 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
16844 echo "configure: warning: wxTextFile requires wxFile and wxTextBuffer... disabled" 1>&2
16846 cat >> confdefs.h
<<\EOF
16847 #define wxUSE_TEXTFILE 1
16853 if test "$wxUSE_CONFIG" = "yes" ; then
16854 if test "$wxUSE_TEXTFILE" != "yes"; then
16855 echo "configure: warning: wxConfig requires wxTextFile... disabled" 1>&2
16857 cat >> confdefs.h
<<\EOF
16858 #define wxUSE_CONFIG 1
16861 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
16865 if test "$wxUSE_INTL" = "yes" ; then
16866 if test "$wxUSE_FILE" != "yes"; then
16867 echo "configure: warning: I18n code requires wxFile... disabled" 1>&2
16869 cat >> confdefs.h
<<\EOF
16870 #define wxUSE_INTL 1
16873 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
16874 GUIDIST
="$GUIDIST INTL_DIST"
16878 if test "$wxUSE_LOG" = "yes"; then
16879 cat >> confdefs.h
<<\EOF
16880 #define wxUSE_LOG 1
16884 if test "$wxUSE_LOGGUI" = "yes"; then
16885 cat >> confdefs.h
<<\EOF
16886 #define wxUSE_LOGGUI 1
16891 if test "$wxUSE_LOGWINDOW" = "yes"; then
16892 cat >> confdefs.h
<<\EOF
16893 #define wxUSE_LOGWINDOW 1
16898 if test "$wxUSE_LOGDIALOG" = "yes"; then
16899 cat >> confdefs.h
<<\EOF
16900 #define wxUSE_LOG_DIALOG 1
16906 if test "$wxUSE_LONGLONG" = "yes"; then
16907 cat >> confdefs.h
<<\EOF
16908 #define wxUSE_LONGLONG 1
16913 if test "$wxUSE_GEOMETRY" = "yes"; then
16914 cat >> confdefs.h
<<\EOF
16915 #define wxUSE_GEOMETRY 1
16920 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
16921 cat >> confdefs.h
<<\EOF
16922 #define wxUSE_DIALUP_MANAGER 1
16925 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
16928 if test "$wxUSE_STREAMS" = "yes" ; then
16929 cat >> confdefs.h
<<\EOF
16930 #define wxUSE_STREAMS 1
16936 if test "$wxUSE_DATETIME" = "yes"; then
16937 for ac_func
in strptime
16939 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16940 echo "configure:16941: checking for $ac_func" >&5
16941 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16942 echo $ac_n "(cached) $ac_c" 1>&6
16944 cat > conftest.
$ac_ext <<EOF
16945 #line 16946 "configure"
16946 #include "confdefs.h"
16947 /* System header to define __stub macros and hopefully few prototypes,
16948 which can conflict with char $ac_func(); below. */
16949 #include <assert.h>
16950 /* Override any gcc2 internal prototype to avoid an error. */
16951 /* We use char because int might match the return type of a gcc2
16952 builtin and then its argument prototype would still apply. */
16957 /* The GNU C library defines this for functions which it implements
16958 to always fail with ENOSYS. Some functions are actually named
16959 something starting with __ and the normal name is an alias. */
16960 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16968 if { (eval echo configure
:16969: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16970 eval "ac_cv_func_$ac_func=yes"
16972 echo "configure: failed program was:" >&5
16973 cat conftest.
$ac_ext >&5
16975 eval "ac_cv_func_$ac_func=no"
16980 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16981 echo "$ac_t""yes" 1>&6
16982 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16983 cat >> confdefs.h
<<EOF
16984 #define $ac_tr_func 1
16988 echo "$ac_t""no" 1>&6
16993 echo $ac_n "checking for timezone variable in <time.h>""... $ac_c" 1>&6
16994 echo "configure:16995: checking for timezone variable in <time.h>" >&5
16995 if eval "test \"`echo '$''{'wx_cv_var_timezone'+set}'`\" = set"; then
16996 echo $ac_n "(cached) $ac_c" 1>&6
16999 cat > conftest.
$ac_ext <<EOF
17000 #line 17001 "configure"
17001 #include "confdefs.h"
17012 if { (eval echo configure
:17013: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17015 wx_cv_var_timezone
=timezone
17018 echo "configure: failed program was:" >&5
17019 cat conftest.
$ac_ext >&5
17022 cat > conftest.
$ac_ext <<EOF
17023 #line 17024 "configure"
17024 #include "confdefs.h"
17035 if { (eval echo configure
:17036: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17038 wx_cv_var_timezone
=_timezone
17041 echo "configure: failed program was:" >&5
17042 cat conftest.
$ac_ext >&5
17045 cat > conftest.
$ac_ext <<EOF
17046 #line 17047 "configure"
17047 #include "confdefs.h"
17058 if { (eval echo configure
:17059: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17061 wx_cv_var_timezone
=__timezone
17064 echo "configure: failed program was:" >&5
17065 cat conftest.
$ac_ext >&5
17068 if test "$USE_DOS" = 0 ; then
17069 { echo "configure: error: no timezone variable" 1>&2; exit 1; }
17087 echo "$ac_t""$wx_cv_var_timezone" 1>&6
17089 if test "x$wx_cv_var_timezone" != x
; then
17090 cat >> confdefs.h
<<EOF
17091 #define WX_TIMEZONE $wx_cv_var_timezone
17096 for ac_func
in localtime
17098 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17099 echo "configure:17100: checking for $ac_func" >&5
17100 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17101 echo $ac_n "(cached) $ac_c" 1>&6
17103 cat > conftest.
$ac_ext <<EOF
17104 #line 17105 "configure"
17105 #include "confdefs.h"
17106 /* System header to define __stub macros and hopefully few prototypes,
17107 which can conflict with char $ac_func(); below. */
17108 #include <assert.h>
17109 /* Override any gcc2 internal prototype to avoid an error. */
17110 /* We use char because int might match the return type of a gcc2
17111 builtin and then its argument prototype would still apply. */
17116 /* The GNU C library defines this for functions which it implements
17117 to always fail with ENOSYS. Some functions are actually named
17118 something starting with __ and the normal name is an alias. */
17119 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17127 if { (eval echo configure
:17128: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17129 eval "ac_cv_func_$ac_func=yes"
17131 echo "configure: failed program was:" >&5
17132 cat conftest.
$ac_ext >&5
17134 eval "ac_cv_func_$ac_func=no"
17139 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17140 echo "$ac_t""yes" 1>&6
17141 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17142 cat >> confdefs.h
<<EOF
17143 #define $ac_tr_func 1
17147 echo "$ac_t""no" 1>&6
17152 if test "$ac_cv_func_localtime" = "yes"; then
17153 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
17154 echo "configure:17155: checking for tm_gmtoff in struct tm" >&5
17155 if eval "test \"`echo '$''{'wx_cv_struct_tm_has_gmtoff'+set}'`\" = set"; then
17156 echo $ac_n "(cached) $ac_c" 1>&6
17159 cat > conftest.
$ac_ext <<EOF
17160 #line 17161 "configure"
17161 #include "confdefs.h"
17172 if { (eval echo configure
:17173: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17175 wx_cv_struct_tm_has_gmtoff
=yes
17178 echo "configure: failed program was:" >&5
17179 cat conftest.
$ac_ext >&5
17181 wx_cv_struct_tm_has_gmtoff
=no
17188 echo "$ac_t""$wx_cv_struct_tm_has_gmtoff" 1>&6
17191 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
17192 cat >> confdefs.h
<<\EOF
17193 #define WX_GMTOFF_IN_TM 1
17198 for ac_func
in gettimeofday ftime
17200 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17201 echo "configure:17202: checking for $ac_func" >&5
17202 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17203 echo $ac_n "(cached) $ac_c" 1>&6
17205 cat > conftest.
$ac_ext <<EOF
17206 #line 17207 "configure"
17207 #include "confdefs.h"
17208 /* System header to define __stub macros and hopefully few prototypes,
17209 which can conflict with char $ac_func(); below. */
17210 #include <assert.h>
17211 /* Override any gcc2 internal prototype to avoid an error. */
17212 /* We use char because int might match the return type of a gcc2
17213 builtin and then its argument prototype would still apply. */
17218 /* The GNU C library defines this for functions which it implements
17219 to always fail with ENOSYS. Some functions are actually named
17220 something starting with __ and the normal name is an alias. */
17221 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17229 if { (eval echo configure
:17230: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17231 eval "ac_cv_func_$ac_func=yes"
17233 echo "configure: failed program was:" >&5
17234 cat conftest.
$ac_ext >&5
17236 eval "ac_cv_func_$ac_func=no"
17241 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17242 echo "$ac_t""yes" 1>&6
17243 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17244 cat >> confdefs.h
<<EOF
17245 #define $ac_tr_func 1
17249 echo "$ac_t""no" 1>&6
17254 if test "$ac_cv_func_gettimeofday" = "yes"; then
17255 echo $ac_n "checking whether gettimeofday takes two arguments""... $ac_c" 1>&6
17256 echo "configure:17257: checking whether gettimeofday takes two arguments" >&5
17257 if eval "test \"`echo '$''{'wx_cv_func_gettimeofday_has_2_args'+set}'`\" = set"; then
17258 echo $ac_n "(cached) $ac_c" 1>&6
17263 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17264 ac_cpp
='$CXXCPP $CPPFLAGS'
17265 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17266 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17267 cross_compiling
=$ac_cv_prog_cxx_cross
17270 cat > conftest.
$ac_ext <<EOF
17271 #line 17272 "configure"
17272 #include "confdefs.h"
17274 #include <sys/time.h>
17275 #include <unistd.h>
17280 gettimeofday(&tv, NULL);
17284 if { (eval echo configure
:17285: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17286 wx_cv_func_gettimeofday_has_2_args
=yes
17288 echo "configure: failed program was:" >&5
17289 cat conftest.
$ac_ext >&5
17291 cat > conftest.
$ac_ext <<EOF
17292 #line 17293 "configure"
17293 #include "confdefs.h"
17295 #include <sys/time.h>
17296 #include <unistd.h>
17305 if { (eval echo configure
:17306: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17307 wx_cv_func_gettimeofday_has_2_args
=no
17309 echo "configure: failed program was:" >&5
17310 cat conftest.
$ac_ext >&5
17313 echo "configure: warning: failed to determine number of gettimeofday() arguments" 1>&2
17314 wx_cv_func_gettimeofday_has_2_args
=unknown
17323 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17324 ac_cpp
='$CPP $CPPFLAGS'
17325 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17326 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17327 cross_compiling
=$ac_cv_prog_cc_cross
17332 echo "$ac_t""$wx_cv_func_gettimeofday_has_2_args" 1>&6
17334 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
17335 cat >> confdefs.h
<<\EOF
17336 #define WX_GETTIMEOFDAY_NO_TZ 1
17342 cat >> confdefs.h
<<\EOF
17343 #define wxUSE_TIMEDATE 1
17346 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
17350 if test "$TOOLKIT" != "MSW"; then
17352 if test "$wxUSE_SOCKETS" = "yes"; then
17353 echo $ac_n "checking for socket""... $ac_c" 1>&6
17354 echo "configure:17355: checking for socket" >&5
17355 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
17356 echo $ac_n "(cached) $ac_c" 1>&6
17358 cat > conftest.
$ac_ext <<EOF
17359 #line 17360 "configure"
17360 #include "confdefs.h"
17361 /* System header to define __stub macros and hopefully few prototypes,
17362 which can conflict with char socket(); below. */
17363 #include <assert.h>
17364 /* Override any gcc2 internal prototype to avoid an error. */
17365 /* We use char because int might match the return type of a gcc2
17366 builtin and then its argument prototype would still apply. */
17371 /* The GNU C library defines this for functions which it implements
17372 to always fail with ENOSYS. Some functions are actually named
17373 something starting with __ and the normal name is an alias. */
17374 #if defined (__stub_socket) || defined (__stub___socket)
17382 if { (eval echo configure
:17383: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17384 eval "ac_cv_func_socket=yes"
17386 echo "configure: failed program was:" >&5
17387 cat conftest.
$ac_ext >&5
17389 eval "ac_cv_func_socket=no"
17394 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
17395 echo "$ac_t""yes" 1>&6
17398 echo "$ac_t""no" 1>&6
17399 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
17400 echo "configure:17401: checking for socket in -lsocket" >&5
17401 ac_lib_var
=`echo socket'_'socket | sed 'y%./+-%__p_%'`
17402 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17403 echo $ac_n "(cached) $ac_c" 1>&6
17405 ac_save_LIBS
="$LIBS"
17406 LIBS
="-lsocket $LIBS"
17407 cat > conftest.
$ac_ext <<EOF
17408 #line 17409 "configure"
17409 #include "confdefs.h"
17410 /* Override any gcc2 internal prototype to avoid an error. */
17411 /* We use char because int might match the return type of a gcc2
17412 builtin and then its argument prototype would still apply. */
17419 if { (eval echo configure
:17420: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17421 eval "ac_cv_lib_$ac_lib_var=yes"
17423 echo "configure: failed program was:" >&5
17424 cat conftest.
$ac_ext >&5
17426 eval "ac_cv_lib_$ac_lib_var=no"
17429 LIBS
="$ac_save_LIBS"
17432 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17433 echo "$ac_t""yes" 1>&6
17434 INET_LINK
="$INET_LINK -lsocket"
17436 echo "$ac_t""no" 1>&6
17438 echo "configure: warning: socket library not found - sockets will be disabled" 1>&2
17450 if test "$wxUSE_SOCKETS" = "yes" ; then
17451 echo $ac_n "checking what is the type of the third argument of getsockname""... $ac_c" 1>&6
17452 echo "configure:17453: checking what is the type of the third argument of getsockname" >&5
17453 if eval "test \"`echo '$''{'wx_cv_type_getsockname3'+set}'`\" = set"; then
17454 echo $ac_n "(cached) $ac_c" 1>&6
17459 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17460 ac_cpp
='$CXXCPP $CPPFLAGS'
17461 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17462 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17463 cross_compiling
=$ac_cv_prog_cxx_cross
17466 cat > conftest.
$ac_ext <<EOF
17467 #line 17468 "configure"
17468 #include "confdefs.h"
17470 #include <sys/types.h>
17471 #include <sys/socket.h>
17476 getsockname(0, 0, &len);
17480 if { (eval echo configure
:17481: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17482 wx_cv_type_getsockname3
=socklen_t
17484 echo "configure: failed program was:" >&5
17485 cat conftest.
$ac_ext >&5
17487 cat > conftest.
$ac_ext <<EOF
17488 #line 17489 "configure"
17489 #include "confdefs.h"
17491 #include <sys/types.h>
17492 #include <sys/socket.h>
17497 getsockname(0, 0, &len);
17501 if { (eval echo configure
:17502: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17503 wx_cv_type_getsockname3
=size_t
17505 echo "configure: failed program was:" >&5
17506 cat conftest.
$ac_ext >&5
17508 cat > conftest.
$ac_ext <<EOF
17509 #line 17510 "configure"
17510 #include "confdefs.h"
17512 #include <sys/types.h>
17513 #include <sys/socket.h>
17518 getsockname(0, 0, &len);
17522 if { (eval echo configure
:17523: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17524 wx_cv_type_getsockname3
=int
17526 echo "configure: failed program was:" >&5
17527 cat conftest.
$ac_ext >&5
17529 wx_cv_type_getsockname3
=unknown
17541 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17542 ac_cpp
='$CPP $CPPFLAGS'
17543 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17544 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17545 cross_compiling
=$ac_cv_prog_cc_cross
17550 echo "$ac_t""$wx_cv_type_getsockname3" 1>&6
17552 if test "$wx_cv_type_getsockname3" = "unknown"; then
17554 echo "configure: warning: Couldn't find socklen_t synonym for this system" 1>&2
17556 cat >> confdefs.h
<<EOF
17557 #define SOCKLEN_T $wx_cv_type_getsockname3
17564 if test "$wxUSE_SOCKETS" = "yes" ; then
17565 cat >> confdefs.h
<<\EOF
17566 #define wxUSE_SOCKETS 1
17569 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
17573 if test "$wxUSE_GUI" = "yes"; then
17575 if test "$TOOLKIT" = "MAC"; then
17576 echo "configure: warning: Joystick not yet supported under Mac OS X... disabled" 1>&2
17579 if test "$TOOLKIT" = "MOTIF"; then
17580 echo "configure: warning: Joystick not yet supported under Motif... disabled" 1>&2
17584 if test "$TOOLKIT" != "MSW"; then
17585 if test "$wxUSE_JOYSTICK" = "yes"; then
17586 for ac_hdr
in linux
/joystick.h
17588 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
17589 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
17590 echo "configure:17591: checking for $ac_hdr" >&5
17591 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17592 echo $ac_n "(cached) $ac_c" 1>&6
17594 cat > conftest.
$ac_ext <<EOF
17595 #line 17596 "configure"
17596 #include "confdefs.h"
17599 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17600 { (eval echo configure
:17601: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17601 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17602 if test -z "$ac_err"; then
17604 eval "ac_cv_header_$ac_safe=yes"
17607 echo "configure: failed program was:" >&5
17608 cat conftest.
$ac_ext >&5
17610 eval "ac_cv_header_$ac_safe=no"
17614 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17615 echo "$ac_t""yes" 1>&6
17616 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
17617 cat >> confdefs.h
<<EOF
17618 #define $ac_tr_hdr 1
17622 echo "$ac_t""no" 1>&6
17626 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
17628 echo "configure: warning: Joystick not supported by this system... disabled" 1>&2
17633 if test "$wxUSE_JOYSTICK" = "yes"; then
17634 cat >> confdefs.h
<<\EOF
17635 #define wxUSE_JOYSTICK 1
17638 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
17643 if test "$TOOLKIT" != "MSW"; then
17647 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
17648 if test "$USE_DARWIN" = 1; then
17651 for ac_func
in dlopen
17653 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17654 echo "configure:17655: checking for $ac_func" >&5
17655 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17656 echo $ac_n "(cached) $ac_c" 1>&6
17658 cat > conftest.
$ac_ext <<EOF
17659 #line 17660 "configure"
17660 #include "confdefs.h"
17661 /* System header to define __stub macros and hopefully few prototypes,
17662 which can conflict with char $ac_func(); below. */
17663 #include <assert.h>
17664 /* Override any gcc2 internal prototype to avoid an error. */
17665 /* We use char because int might match the return type of a gcc2
17666 builtin and then its argument prototype would still apply. */
17671 /* The GNU C library defines this for functions which it implements
17672 to always fail with ENOSYS. Some functions are actually named
17673 something starting with __ and the normal name is an alias. */
17674 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17682 if { (eval echo configure
:17683: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17684 eval "ac_cv_func_$ac_func=yes"
17686 echo "configure: failed program was:" >&5
17687 cat conftest.
$ac_ext >&5
17689 eval "ac_cv_func_$ac_func=no"
17694 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17695 echo "$ac_t""yes" 1>&6
17696 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17697 cat >> confdefs.h
<<EOF
17698 #define $ac_tr_func 1
17701 cat >> confdefs.h
<<\EOF
17702 #define HAVE_DLOPEN 1
17708 echo "$ac_t""no" 1>&6
17709 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
17710 echo "configure:17711: checking for dlopen in -ldl" >&5
17711 ac_lib_var
=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
17712 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17713 echo $ac_n "(cached) $ac_c" 1>&6
17715 ac_save_LIBS
="$LIBS"
17717 cat > conftest.
$ac_ext <<EOF
17718 #line 17719 "configure"
17719 #include "confdefs.h"
17720 /* Override any gcc2 internal prototype to avoid an error. */
17721 /* We use char because int might match the return type of a gcc2
17722 builtin and then its argument prototype would still apply. */
17729 if { (eval echo configure
:17730: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17731 eval "ac_cv_lib_$ac_lib_var=yes"
17733 echo "configure: failed program was:" >&5
17734 cat conftest.
$ac_ext >&5
17736 eval "ac_cv_lib_$ac_lib_var=no"
17739 LIBS
="$ac_save_LIBS"
17742 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17743 echo "$ac_t""yes" 1>&6
17745 cat >> confdefs.h
<<\EOF
17746 #define HAVE_DLOPEN 1
17750 DL_LINK
=" -ldl$DL_LINK"
17753 echo "$ac_t""no" 1>&6
17755 for ac_func
in shl_load
17757 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17758 echo "configure:17759: checking for $ac_func" >&5
17759 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17760 echo $ac_n "(cached) $ac_c" 1>&6
17762 cat > conftest.
$ac_ext <<EOF
17763 #line 17764 "configure"
17764 #include "confdefs.h"
17765 /* System header to define __stub macros and hopefully few prototypes,
17766 which can conflict with char $ac_func(); below. */
17767 #include <assert.h>
17768 /* Override any gcc2 internal prototype to avoid an error. */
17769 /* We use char because int might match the return type of a gcc2
17770 builtin and then its argument prototype would still apply. */
17775 /* The GNU C library defines this for functions which it implements
17776 to always fail with ENOSYS. Some functions are actually named
17777 something starting with __ and the normal name is an alias. */
17778 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17786 if { (eval echo configure
:17787: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17788 eval "ac_cv_func_$ac_func=yes"
17790 echo "configure: failed program was:" >&5
17791 cat conftest.
$ac_ext >&5
17793 eval "ac_cv_func_$ac_func=no"
17798 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17799 echo "$ac_t""yes" 1>&6
17800 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17801 cat >> confdefs.h
<<EOF
17802 #define $ac_tr_func 1
17805 cat >> confdefs.h
<<\EOF
17806 #define HAVE_SHL_LOAD 1
17812 echo "$ac_t""no" 1>&6
17813 echo $ac_n "checking for dld in -lshl_load""... $ac_c" 1>&6
17814 echo "configure:17815: checking for dld in -lshl_load" >&5
17815 ac_lib_var
=`echo shl_load'_'dld | sed 'y%./+-%__p_%'`
17816 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17817 echo $ac_n "(cached) $ac_c" 1>&6
17819 ac_save_LIBS
="$LIBS"
17820 LIBS
="-lshl_load $LIBS"
17821 cat > conftest.
$ac_ext <<EOF
17822 #line 17823 "configure"
17823 #include "confdefs.h"
17824 /* Override any gcc2 internal prototype to avoid an error. */
17825 /* We use char because int might match the return type of a gcc2
17826 builtin and then its argument prototype would still apply. */
17833 if { (eval echo configure
:17834: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17835 eval "ac_cv_lib_$ac_lib_var=yes"
17837 echo "configure: failed program was:" >&5
17838 cat conftest.
$ac_ext >&5
17840 eval "ac_cv_lib_$ac_lib_var=no"
17843 LIBS
="$ac_save_LIBS"
17846 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17847 echo "$ac_t""yes" 1>&6
17850 DL_LINK
=" -ldld$DL_LINK"
17853 echo "$ac_t""no" 1>&6
17868 if test "$HAVE_DL_FUNCS" = 1; then
17869 for ac_func
in dlerror
17871 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17872 echo "configure:17873: checking for $ac_func" >&5
17873 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17874 echo $ac_n "(cached) $ac_c" 1>&6
17876 cat > conftest.
$ac_ext <<EOF
17877 #line 17878 "configure"
17878 #include "confdefs.h"
17879 /* System header to define __stub macros and hopefully few prototypes,
17880 which can conflict with char $ac_func(); below. */
17881 #include <assert.h>
17882 /* Override any gcc2 internal prototype to avoid an error. */
17883 /* We use char because int might match the return type of a gcc2
17884 builtin and then its argument prototype would still apply. */
17889 /* The GNU C library defines this for functions which it implements
17890 to always fail with ENOSYS. Some functions are actually named
17891 something starting with __ and the normal name is an alias. */
17892 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
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_func_$ac_func=yes"
17904 echo "configure: failed program was:" >&5
17905 cat conftest.
$ac_ext >&5
17907 eval "ac_cv_func_$ac_func=no"
17912 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17913 echo "$ac_t""yes" 1>&6
17914 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17915 cat >> confdefs.h
<<EOF
17916 #define $ac_tr_func 1
17918 cat >> confdefs.h
<<\EOF
17919 #define HAVE_DLERROR 1
17923 echo "$ac_t""no" 1>&6
17924 echo $ac_n "checking for dlerror in -ldl""... $ac_c" 1>&6
17925 echo "configure:17926: checking for dlerror in -ldl" >&5
17926 ac_lib_var
=`echo dl'_'dlerror | sed 'y%./+-%__p_%'`
17927 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17928 echo $ac_n "(cached) $ac_c" 1>&6
17930 ac_save_LIBS
="$LIBS"
17932 cat > conftest.
$ac_ext <<EOF
17933 #line 17934 "configure"
17934 #include "confdefs.h"
17935 /* Override any gcc2 internal prototype to avoid an error. */
17936 /* We use char because int might match the return type of a gcc2
17937 builtin and then its argument prototype would still apply. */
17944 if { (eval echo configure
:17945: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17946 eval "ac_cv_lib_$ac_lib_var=yes"
17948 echo "configure: failed program was:" >&5
17949 cat conftest.
$ac_ext >&5
17951 eval "ac_cv_lib_$ac_lib_var=no"
17954 LIBS
="$ac_save_LIBS"
17957 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17958 echo "$ac_t""yes" 1>&6
17959 cat >> confdefs.h
<<\EOF
17960 #define HAVE_DLERROR 1
17964 echo "$ac_t""no" 1>&6
17973 if test "$HAVE_DL_FUNCS" = 0; then
17974 if test "$HAVE_SHL_FUNCS" = 0; then
17975 if test "$USE_UNIX" = 1; then
17976 echo "configure: warning: Missing dynamic loading support, several features will be disabled" 1>&2
17977 wxUSE_DYNAMIC_LOADER
=no
17978 wxUSE_DYNLIB_CLASS
=no
17980 echo "configure: warning: Assuming wxLibrary class works on this platform" 1>&2
17987 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
17988 cat >> confdefs.h
<<\EOF
17989 #define wxUSE_DYNAMIC_LOADER 1
17992 elif test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
17993 cat >> confdefs.h
<<\EOF
17994 #define wxUSE_DYNLIB_CLASS 1
18000 if test "$wxUSE_FONTMAP" = "yes" ; then
18001 cat >> confdefs.h
<<\EOF
18002 #define wxUSE_FONTMAP 1
18007 if test "$wxUSE_UNICODE" = "yes" ; then
18008 cat >> confdefs.h
<<\EOF
18009 #define wxUSE_UNICODE 1
18013 if test "$wxUSE_MSW" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
18014 echo $ac_n "checking for main in -lunicows""... $ac_c" 1>&6
18015 echo "configure:18016: checking for main in -lunicows" >&5
18016 ac_lib_var
=`echo unicows'_'main | sed 'y%./+-%__p_%'`
18017 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18018 echo $ac_n "(cached) $ac_c" 1>&6
18020 ac_save_LIBS
="$LIBS"
18021 LIBS
="-lunicows $LIBS"
18022 cat > conftest.
$ac_ext <<EOF
18023 #line 18024 "configure"
18024 #include "confdefs.h"
18030 if { (eval echo configure
:18031: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18032 eval "ac_cv_lib_$ac_lib_var=yes"
18034 echo "configure: failed program was:" >&5
18035 cat conftest.
$ac_ext >&5
18037 eval "ac_cv_lib_$ac_lib_var=no"
18040 LIBS
="$ac_save_LIBS"
18043 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18044 echo "$ac_t""yes" 1>&6
18046 cat >> confdefs.h
<<\EOF
18047 #define wxUSE_UNICODE_MSLU 1
18052 echo "$ac_t""no" 1>&6
18054 echo "configure: warning: Compiler doesn't support MSLU (libunicows.a), disabled.
18055 Applications will only run on Windows NT/2000/XP!" 1>&2
18056 wxUSE_UNICODE_MSLU
=no
18063 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
18064 cat >> confdefs.h
<<\EOF
18065 #define wxUSE_EXPERIMENTAL_PRINTF 1
18073 if test "$wxUSE_ODBC" = "yes" ; then
18074 cat >> confdefs.h
<<\EOF
18075 #define wxUSE_ODBC 1
18078 WXODBCFLAG
="-D_IODBC_"
18079 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
18083 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
18084 cat >> confdefs.h
<<\EOF
18085 #define wxUSE_POSTSCRIPT 1
18090 cat >> confdefs.h
<<\EOF
18091 #define wxUSE_AFM_FOR_POSTSCRIPT 1
18095 cat >> confdefs.h
<<\EOF
18096 #define wxUSE_NORMALIZED_PS_FONTS 1
18101 if test "$wxUSE_CONSTRAINTS" = "yes"; then
18102 cat >> confdefs.h
<<\EOF
18103 #define wxUSE_CONSTRAINTS 1
18106 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
18109 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
18110 if test "$wxUSE_UNIVERSAL" = "yes"; then
18111 echo "configure: warning: MDI not yet supported for wxUNIVERSAL... disabled" 1>&2
18112 wxUSE_MDI_ARCHITECTURE
=no
18115 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
18116 cat >> confdefs.h
<<\EOF
18117 #define wxUSE_MDI_ARCHITECTURE 1
18120 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
18124 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
18125 cat >> confdefs.h
<<\EOF
18126 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
18129 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
18130 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
18131 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
18135 if test "$wxUSE_HELP" = "yes"; then
18136 cat >> confdefs.h
<<\EOF
18137 #define wxUSE_HELP 1
18140 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
18142 if test "$wxUSE_MSW" = 1; then
18143 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
18144 ac_safe
=`echo "htmlhelp.h" | sed 'y%./+-%__p_%'`
18145 echo $ac_n "checking for htmlhelp.h""... $ac_c" 1>&6
18146 echo "configure:18147: checking for htmlhelp.h" >&5
18147 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
18148 echo $ac_n "(cached) $ac_c" 1>&6
18150 cat > conftest.
$ac_ext <<EOF
18151 #line 18152 "configure"
18152 #include "confdefs.h"
18153 #include <htmlhelp.h>
18155 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
18156 { (eval echo configure
:18157: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
18157 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
18158 if test -z "$ac_err"; then
18160 eval "ac_cv_header_$ac_safe=yes"
18163 echo "configure: failed program was:" >&5
18164 cat conftest.
$ac_ext >&5
18166 eval "ac_cv_header_$ac_safe=no"
18170 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
18171 echo "$ac_t""yes" 1>&6
18173 cat >> confdefs.h
<<\EOF
18174 #define wxUSE_MS_HTML_HELP 1
18179 echo "$ac_t""no" 1>&6
18181 echo "configure: warning: MS HTML Help cannot be used without htmlhelp.h... disabled" 1>&2
18182 wxUSE_MS_HTML_HELP
=no
18189 if test "$wxUSE_WXHTML_HELP" = "yes"; then
18190 if test "$wxUSE_HTML" = "yes"; then
18191 cat >> confdefs.h
<<\EOF
18192 #define wxUSE_WXHTML_HELP 1
18196 echo "configure: warning: Cannot use wxHTML-based help without wxHTML so it won't be compiled" 1>&2
18197 wxUSE_WXHTML_HELP
=no
18202 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
18203 if test "$wxUSE_CONSTRAINTS" != "yes"; then
18204 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
18206 cat >> confdefs.h
<<\EOF
18207 #define wxUSE_PRINTING_ARCHITECTURE 1
18211 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
18214 if test "$wxUSE_PROLOGIO" = "yes" ; then
18215 cat >> confdefs.h
<<\EOF
18216 #define wxUSE_PROLOGIO 1
18221 if test "$wxUSE_RESOURCES" = "yes" ; then
18222 cat >> confdefs.h
<<\EOF
18223 #define wxUSE_RESOURCES 1
18226 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS resource"
18229 if test "$wxUSE_X_RESOURCES" = "yes"; then
18230 cat >> confdefs.h
<<\EOF
18231 #define wxUSE_X_RESOURCES 1
18237 if test "$wxUSE_MSW" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
18238 -o "$wxUSE_CLIPBOARD" = "yes" \
18239 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
18240 for ac_hdr
in ole2.h
18242 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
18243 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
18244 echo "configure:18245: checking for $ac_hdr" >&5
18245 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
18246 echo $ac_n "(cached) $ac_c" 1>&6
18248 cat > conftest.
$ac_ext <<EOF
18249 #line 18250 "configure"
18250 #include "confdefs.h"
18253 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
18254 { (eval echo configure
:18255: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
18255 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
18256 if test -z "$ac_err"; then
18258 eval "ac_cv_header_$ac_safe=yes"
18261 echo "configure: failed program was:" >&5
18262 cat conftest.
$ac_ext >&5
18264 eval "ac_cv_header_$ac_safe=no"
18268 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
18269 echo "$ac_t""yes" 1>&6
18270 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
18271 cat >> confdefs.h
<<EOF
18272 #define $ac_tr_hdr 1
18276 echo "$ac_t""no" 1>&6
18281 if test "$ac_cv_header_ole2_h" = "yes" ; then
18282 if test "$GCC" = yes ; then
18283 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
18284 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
18285 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
18286 cat >> confdefs.h
<<\EOF
18287 #define wxUSE_OLE 1
18293 cat >> confdefs.h
<<\EOF
18294 #define wxUSE_DATAOBJ 1
18298 echo "configure: warning: Some features disabled because OLE headers not found" 1>&2
18301 wxUSE_DRAG_AND_DROP
=no
18305 if test "$wxUSE_METAFILE" = "yes"; then
18306 cat >> confdefs.h
<<\EOF
18307 #define wxUSE_METAFILE 1
18311 cat >> confdefs.h
<<\EOF
18312 #define wxUSE_ENH_METAFILE 1
18318 if test "$wxUSE_IPC" = "yes"; then
18319 if test "$wxUSE_SOCKETS" != "yes"; then
18320 echo "configure: warning: wxWindows IPC classes require sockets... disabled" 1>&2
18323 cat >> confdefs.h
<<\EOF
18324 #define wxUSE_IPC 1
18329 if test "$wxUSE_CLIPBOARD" = "yes"; then
18330 cat >> confdefs.h
<<\EOF
18331 #define wxUSE_CLIPBOARD 1
18335 cat >> confdefs.h
<<\EOF
18336 #define wxUSE_DATAOBJ 1
18341 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
18342 if test "$wxUSE_GTK" = 1; then
18343 if test "$WXGTK12" != 1; then
18344 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2... disabled" 1>&2
18345 wxUSE_DRAG_AND_DROP
=no
18349 if test "$wxUSE_MOTIF" = 1; then
18350 echo "configure: warning: Drag and drop not yet supported under Motif... disabled" 1>&2
18351 wxUSE_DRAG_AND_DROP
=no
18354 if test "$wxUSE_MAC" = 1; then
18355 echo "configure: warning: Drag and drop not yet supported under Mac OS X... disabled" 1>&2
18356 wxUSE_DRAG_AND_DROP
=no
18359 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
18360 cat >> confdefs.h
<<\EOF
18361 #define wxUSE_DRAG_AND_DROP 1
18364 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
18369 if test "$wxUSE_SPLINES" = "yes" ; then
18370 cat >> confdefs.h
<<\EOF
18371 #define wxUSE_SPLINES 1
18378 if test "$wxUSE_CONTROLS" = "yes"; then
18382 if test "$wxUSE_ACCEL" = "yes"; then
18383 cat >> confdefs.h
<<\EOF
18384 #define wxUSE_ACCEL 1
18390 if test "$wxUSE_BUTTON" = "yes"; then
18391 cat >> confdefs.h
<<\EOF
18392 #define wxUSE_BUTTON 1
18398 if test "$wxUSE_BMPBUTTON" = "yes"; then
18399 cat >> confdefs.h
<<\EOF
18400 #define wxUSE_BMPBUTTON 1
18406 if test "$wxUSE_CALCTRL" = "yes"; then
18407 cat >> confdefs.h
<<\EOF
18408 #define wxUSE_CALENDARCTRL 1
18412 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
18415 if test "$wxUSE_CARET" = "yes"; then
18416 cat >> confdefs.h
<<\EOF
18417 #define wxUSE_CARET 1
18421 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
18424 if test "$wxUSE_COMBOBOX" = "yes"; then
18425 cat >> confdefs.h
<<\EOF
18426 #define wxUSE_COMBOBOX 1
18432 if test "$wxUSE_CHOICE" = "yes"; then
18433 cat >> confdefs.h
<<\EOF
18434 #define wxUSE_CHOICE 1
18440 if test "$wxUSE_CHECKBOX" = "yes"; then
18441 cat >> confdefs.h
<<\EOF
18442 #define wxUSE_CHECKBOX 1
18448 if test "$wxUSE_CHECKLST" = "yes"; then
18449 cat >> confdefs.h
<<\EOF
18450 #define wxUSE_CHECKLISTBOX 1
18454 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
18457 if test "$wxUSE_GAUGE" = "yes"; then
18458 cat >> confdefs.h
<<\EOF
18459 #define wxUSE_GAUGE 1
18465 if test "$wxUSE_NEW_GRID" = "yes"; then
18467 cat >> confdefs.h
<<\EOF
18468 #define wxUSE_NEW_GRID 1
18472 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS newgrid"
18475 if test "$wxUSE_GRID" = "yes"; then
18476 cat >> confdefs.h
<<\EOF
18477 #define wxUSE_GRID 1
18481 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
18484 if test "$wxUSE_IMAGLIST" = "yes"; then
18485 cat >> confdefs.h
<<\EOF
18486 #define wxUSE_IMAGLIST 1
18491 if test "$wxUSE_LISTBOX" = "yes"; then
18492 cat >> confdefs.h
<<\EOF
18493 #define wxUSE_LISTBOX 1
18499 if test "$wxUSE_LISTCTRL" = "yes"; then
18500 if test "$wxUSE_IMAGLIST" = "yes"; then
18501 cat >> confdefs.h
<<\EOF
18502 #define wxUSE_LISTCTRL 1
18506 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
18508 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
18512 if test "$wxUSE_NOTEBOOK" = "yes"; then
18513 cat >> confdefs.h
<<\EOF
18514 #define wxUSE_NOTEBOOK 1
18518 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
18521 if test "$wxUSE_PROPSHEET" = "yes"; then
18522 cat >> confdefs.h
<<\EOF
18523 #define wxUSE_PROPSHEET 1
18527 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS proplist"
18530 if test "$wxUSE_RADIOBOX" = "yes"; then
18531 cat >> confdefs.h
<<\EOF
18532 #define wxUSE_RADIOBOX 1
18538 if test "$wxUSE_RADIOBTN" = "yes"; then
18539 cat >> confdefs.h
<<\EOF
18540 #define wxUSE_RADIOBTN 1
18546 if test "$wxUSE_SASH" = "yes"; then
18547 cat >> confdefs.h
<<\EOF
18548 #define wxUSE_SASH 1
18551 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
18554 if test "$wxUSE_SCROLLBAR" = "yes"; then
18555 cat >> confdefs.h
<<\EOF
18556 #define wxUSE_SCROLLBAR 1
18560 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
18563 if test "$wxUSE_SLIDER" = "yes"; then
18564 cat >> confdefs.h
<<\EOF
18565 #define wxUSE_SLIDER 1
18571 if test "$wxUSE_SPINBTN" = "yes"; then
18572 cat >> confdefs.h
<<\EOF
18573 #define wxUSE_SPINBTN 1
18579 if test "$wxUSE_SPINCTRL" = "yes"; then
18580 cat >> confdefs.h
<<\EOF
18581 #define wxUSE_SPINCTRL 1
18587 if test "$wxUSE_SPLITTER" = "yes"; then
18588 cat >> confdefs.h
<<\EOF
18589 #define wxUSE_SPLITTER 1
18592 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
18595 if test "$wxUSE_STATBMP" = "yes"; then
18596 cat >> confdefs.h
<<\EOF
18597 #define wxUSE_STATBMP 1
18603 if test "$wxUSE_STATBOX" = "yes"; then
18604 cat >> confdefs.h
<<\EOF
18605 #define wxUSE_STATBOX 1
18611 if test "$wxUSE_STATTEXT" = "yes"; then
18612 cat >> confdefs.h
<<\EOF
18613 #define wxUSE_STATTEXT 1
18619 if test "$wxUSE_STATLINE" = "yes"; then
18620 if test "$wxUSE_WINE" = 1 ; then
18621 echo "configure: warning: wxStaticLine is not supported under WINE" 1>&2
18623 cat >> confdefs.h
<<\EOF
18624 #define wxUSE_STATLINE 1
18631 if test "$wxUSE_STATUSBAR" = "yes"; then
18632 cat >> confdefs.h
<<\EOF
18633 #define wxUSE_STATUSBAR 1
18638 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
18641 if test "$wxUSE_TABDIALOG" = "yes"; then
18642 cat >> confdefs.h
<<\EOF
18643 #define wxUSE_TAB_DIALOG 1
18646 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
18649 if test "$wxUSE_TEXTCTRL" = "yes"; then
18650 cat >> confdefs.h
<<\EOF
18651 #define wxUSE_TEXTCTRL 1
18655 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
18658 if test "$wxUSE_TOGGLEBTN" = "yes"; then
18659 if test "$wxUSE_MAC" = 1; then
18660 echo "configure: warning: Toggle button not yet supported under Mac OS X... disabled" 1>&2
18663 if test "$wxUSE_UNIVERSAL" = "yes"; then
18664 echo "configure: warning: Toggle button not yet supported under wxUNIVERSAL... disabled" 1>&2
18668 if test "$wxUSE_TOGGLEBTN" = "yes"; then
18669 cat >> confdefs.h
<<\EOF
18670 #define wxUSE_TOGGLEBTN 1
18677 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
18678 cat >> confdefs.h
<<\EOF
18679 #define wxUSE_TOOLBAR_SIMPLE 1
18682 wxUSE_TOOLBAR
="yes"
18686 if test "$wxUSE_TOOLBAR" = "yes"; then
18687 cat >> confdefs.h
<<\EOF
18688 #define wxUSE_TOOLBAR 1
18693 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
18694 wxUSE_TOOLBAR_NATIVE
="yes"
18697 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
18698 cat >> confdefs.h
<<\EOF
18699 #define wxUSE_TOOLBAR_NATIVE 1
18705 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
18708 if test "$wxUSE_TOOLTIPS" = "yes"; then
18709 if test "$wxUSE_MOTIF" = 1; then
18710 echo "configure: warning: wxTooltip not supported yet under Motif... disabled" 1>&2
18712 if test "$wxUSE_WINE" = 1; then
18713 echo "configure: warning: wxTooltip not supported under WINE... disabled" 1>&2
18715 if test "$wxUSE_UNIVERSAL" = "yes"; then
18716 echo "configure: warning: wxTooltip not supported yet in wxUNIVERSAL... disabled" 1>&2
18718 cat >> confdefs.h
<<\EOF
18719 #define wxUSE_TOOLTIPS 1
18727 if test "$wxUSE_TREECTRL" = "yes"; then
18728 if test "$wxUSE_IMAGLIST" = "yes"; then
18729 cat >> confdefs.h
<<\EOF
18730 #define wxUSE_TREECTRL 1
18734 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
18736 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
18740 if test "$wxUSE_POPUPWIN" = "yes"; then
18741 if test "$wxUSE_MAC" = 1; then
18742 echo "configure: warning: Popup window not yet supported under Mac OS X... disabled" 1>&2
18744 if test "$wxUSE_MOTIF" = 1; then
18745 echo "configure: warning: wxPopupWindow not yet supported under Motif... disabled" 1>&2
18747 cat >> confdefs.h
<<\EOF
18748 #define wxUSE_POPUPWIN 1
18757 if test "$wxUSE_TIPWINDOW" = "yes"; then
18758 cat >> confdefs.h
<<\EOF
18759 #define wxUSE_TIPWINDOW 1
18764 if test "$USES_CONTROLS" = 1; then
18765 cat >> confdefs.h
<<\EOF
18766 #define wxUSE_CONTROLS 1
18772 if test "$wxUSE_TREELAYOUT" = "yes"; then
18773 cat >> confdefs.h
<<\EOF
18774 #define wxUSE_TREELAYOUT 1
18777 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treelay"
18780 if test "$wxUSE_DRAGIMAGE" = "yes"; then
18781 cat >> confdefs.h
<<\EOF
18782 #define wxUSE_DRAGIMAGE 1
18785 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
18788 if test "$wxUSE_MENUS" = "yes"; then
18789 cat >> confdefs.h
<<\EOF
18790 #define wxUSE_MENUS 1
18793 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
18796 if test "$wxUSE_METAFILE" = "yes"; then
18797 cat >> confdefs.h
<<\EOF
18798 #define wxUSE_METAFILE 1
18803 if test "$wxUSE_MIMETYPE" = "yes"; then
18804 cat >> confdefs.h
<<\EOF
18805 #define wxUSE_MIMETYPE 1
18810 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
18811 cat >> confdefs.h
<<\EOF
18812 #define wxUSE_SYSTEM_OPTIONS 1
18817 if test "$wxUSE_MINIFRAME" = "yes"; then
18818 cat >> confdefs.h
<<\EOF
18819 #define wxUSE_MINIFRAME 1
18822 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
18825 if test "$wxUSE_HTML" = "yes"; then
18826 cat >> confdefs.h
<<\EOF
18827 #define wxUSE_HTML 1
18830 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html"
18833 if test "$wxUSE_VALIDATORS" = "yes"; then
18834 cat >> confdefs.h
<<\EOF
18835 #define wxUSE_VALIDATORS 1
18838 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
18841 if test "$wxUSE_PALETTE" = "yes" ; then
18842 cat >> confdefs.h
<<\EOF
18843 #define wxUSE_PALETTE 1
18848 if test "$wxUSE_IMAGE" = "yes" ; then
18849 cat >> confdefs.h
<<\EOF
18850 #define wxUSE_IMAGE 1
18855 if test "$wxUSE_GIF" = "yes" ; then
18856 cat >> confdefs.h
<<\EOF
18857 #define wxUSE_GIF 1
18862 if test "$wxUSE_PCX" = "yes" ; then
18863 cat >> confdefs.h
<<\EOF
18864 #define wxUSE_PCX 1
18869 if test "$wxUSE_PNM" = "yes" ; then
18870 cat >> confdefs.h
<<\EOF
18871 #define wxUSE_PNM 1
18876 if test "$wxUSE_XPM" = "yes" ; then
18877 cat >> confdefs.h
<<\EOF
18878 #define wxUSE_XPM 1
18883 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
18884 LIBS
=" -lunicows $LIBS"
18888 if test "$wxUSE_CHOICEDLG" = "yes"; then
18889 cat >> confdefs.h
<<\EOF
18890 #define wxUSE_CHOICEDLG 1
18895 if test "$wxUSE_COLOURDLG" = "yes"; then
18896 cat >> confdefs.h
<<\EOF
18897 #define wxUSE_COLOURDLG 1
18902 if test "$wxUSE_FILEDLG" = "yes"; then
18903 cat >> confdefs.h
<<\EOF
18904 #define wxUSE_FILEDLG 1
18909 if test "$wxUSE_FINDREPLDLG" = "yes"; then
18910 cat >> confdefs.h
<<\EOF
18911 #define wxUSE_FINDREPLDLG 1
18916 if test "$wxUSE_FONTDLG" = "yes"; then
18917 cat >> confdefs.h
<<\EOF
18918 #define wxUSE_FONTDLG 1
18923 if test "$wxUSE_DIRDLG" = "yes"; then
18924 if test "$wxUSE_CONSTRAINTS" != "yes"; then
18925 echo "configure: warning: wxDirDialog requires constraints so it won't be compiled without them" 1>&2
18927 if test "$wxUSE_TREECTRL" != "yes"; then
18928 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
18930 cat >> confdefs.h
<<\EOF
18931 #define wxUSE_DIRDLG 1
18938 if test "$wxUSE_MSGDLG" = "yes"; then
18939 cat >> confdefs.h
<<\EOF
18940 #define wxUSE_MSGDLG 1
18945 if test "$wxUSE_NUMBERDLG" = "yes"; then
18946 cat >> confdefs.h
<<\EOF
18947 #define wxUSE_NUMBERDLG 1
18952 if test "$wxUSE_PROGRESSDLG" = "yes"; then
18953 if test "$wxUSE_CONSTRAINTS" != "yes"; then
18954 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
18956 cat >> confdefs.h
<<\EOF
18957 #define wxUSE_PROGRESSDLG 1
18963 if test "$wxUSE_SPLASH" = "yes"; then
18964 cat >> confdefs.h
<<\EOF
18965 #define wxUSE_SPLASH 1
18970 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
18971 if test "$wxUSE_CONSTRAINTS" != "yes"; then
18972 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
18974 cat >> confdefs.h
<<\EOF
18975 #define wxUSE_STARTUP_TIPS 1
18981 if test "$wxUSE_TEXTDLG" = "yes"; then
18982 cat >> confdefs.h
<<\EOF
18983 #define wxUSE_TEXTDLG 1
18988 if test "$wxUSE_WIZARDDLG" = "yes"; then
18989 cat >> confdefs.h
<<\EOF
18990 #define wxUSE_WIZARDDLG 1
18993 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
18997 if test "$cross_compiling" = "yes"; then
19000 OSINFO
=`uname -s -r -m`
19001 OSINFO
="\"$OSINFO\""
19004 cat >> confdefs.h
<<EOF
19005 #define WXWIN_OS_DESCRIPTION $OSINFO
19010 if test "x$prefix" != "xNONE"; then
19013 wxPREFIX
=$ac_default_prefix
19016 cat >> confdefs.h
<<EOF
19017 #define wxINSTALL_PREFIX "$wxPREFIX"
19024 if test "$wxUSE_MAC" = 1 ; then
19025 LDFLAGS
="$LDFLAGS -framework Carbon -framework System"
19029 LIBS
="$ZLIB_LINK$POSIX4_LINK$INET_LINK$WCHAR_LINK$THREADS_LINK$DL_LINK -lm$LIBS"
19031 if test "$wxUSE_GUI" = "yes"; then
19033 LIBS
=" $GUI_TK_LIBRARY$PNG_LINK$JPEG_LINK$TIFF_LINK$FREETYPE_LINK$LIBS"
19036 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS controls dialogs \
19037 drawing dynamic erase event exec font image \
19038 minimal richedit rotate widgets"
19040 CPPFLAGS
="$CPPFLAGS \$(EXTRADEFS) \$(APPEXTRADEFS)"
19042 SAMPLES_SUBDIRS
="console"
19046 INCLUDES
="-I\${top_builddir}/lib/wx/include/${TOOLCHAIN_NAME} -I\${top_srcdir}/include \
19047 $REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \
19048 $FREETYPE_INCLUDE $TOOLKIT_INCLUDE"
19050 if test "$wxUSE_GTK" = 1; then
19053 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
19056 if test "$GXX" = yes ; then
19057 CXXWARNINGS
="-Wall"
19059 if test "$wxUSE_NO_DEPS" = "no" ; then
19060 CFLAGS
="-MMD $CFLAGS"
19061 CXXFLAGS
="-MMD $CXXFLAGS"
19065 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE $INCLUDES"
19067 CFLAGS
=`echo $CFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
19068 CXXFLAGS
=`echo $CXXFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
19070 LDFLAGS
="$LDFLAGS$PROFILE"
19072 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
19158 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
19159 echo "configure:19160: checking whether ${MAKE-make} sets \${MAKE}" >&5
19160 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
19161 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
19162 echo $ac_n "(cached) $ac_c" 1>&6
19164 cat > conftestmake
<<\EOF
19166 @
echo 'ac_maketemp="${MAKE}"'
19168 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
19169 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
19170 if test -n "$ac_maketemp"; then
19171 eval ac_cv_prog_make_
${ac_make}_set
=yes
19173 eval ac_cv_prog_make_
${ac_make}_set
=no
19177 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
19178 echo "$ac_t""yes" 1>&6
19181 echo "$ac_t""no" 1>&6
19182 SET_MAKE
="MAKE=${MAKE-make}"
19186 if test -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
; then
19187 mv -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h setup.h
19192 if test "$wxUSE_GUI" = "yes"; then
19193 wx_cv_path_samplesubdirs
=$SAMPLES_SUBDIRS
19194 wx_cv_path_ifs
=$PATH_IFS
19195 wx_cv_program_ext
=$PROGRAM_EXT
19196 wx_cv_target_library
=$WX_TARGET_LIBRARY
19197 wx_cv_target_library_gl
=$WX_TARGET_LIBRARY_GL
19198 wx_cv_target_libtype
=$WX_TARGET_LIBRARY_TYPE
19199 export wx_cv_path_samplesubdirs wx_cv_path_ifs wx_cv_program_ext \
19200 wx_cv_target_library wx_cv_target_library_gl wx_cv_target_libtype
19201 subdirs
="demos samples utils contrib"
19206 cat > confcache
<<\EOF
19207 # This file is a shell script that caches the results of configure
19208 # tests run on this system so they can be shared between configure
19209 # scripts and configure runs. It is not useful on other systems.
19210 # If it contains results you don't want to keep, you may remove or edit it.
19212 # By default, configure uses ./config.cache as the cache file,
19213 # creating it if it does not exist already. You can give configure
19214 # the --cache-file=FILE option to use a different cache file; that is
19215 # what configure does when it calls configure scripts in
19216 # subdirectories, so they share the cache.
19217 # Giving --cache-file=/dev/null disables caching, for debugging configure.
19218 # config.status only pays attention to the cache file if you give it the
19219 # --recheck option to rerun configure.
19222 # The following way of writing the cache mishandles newlines in values,
19223 # but we know of no workaround that is simple, portable, and efficient.
19224 # So, don't put newlines in cache variables' values.
19225 # Ultrix sh set writes to stderr and can't be redirected directly,
19226 # and sets the high bit in the cache file unless we assign to the vars.
19228 case `(ac_space=' '; set | grep ac_space) 2>&1` in
19230 # `set' does not quote correctly, so add quotes (double-quote substitution
19231 # turns \\\\ into \\, and sed turns \\ into \).
19233 -e "s/'/'\\\\''/g" \
19234 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
19237 # `set' quotes correctly as required by POSIX, so do not add quotes.
19238 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
19241 if cmp -s $cache_file confcache
; then
19244 if test -w $cache_file; then
19245 echo "updating cache $cache_file"
19246 cat confcache
> $cache_file
19248 echo "not updating unwritable cache $cache_file"
19253 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
19255 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
19256 # Let make expand exec_prefix.
19257 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
19259 # Any assignment to VPATH causes Sun make to only execute
19260 # the first set of double-colon rules, so remove it if not needed.
19261 # If there is a colon in the path, we need to keep it.
19262 if test "x$srcdir" = x.
; then
19263 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
19266 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
19268 DEFS
=-DHAVE_CONFIG_H
19270 # Without the "./", some shells look in PATH for config.status.
19271 : ${CONFIG_STATUS=./config.status}
19273 echo creating
$CONFIG_STATUS
19274 rm -f $CONFIG_STATUS
19275 cat > $CONFIG_STATUS <<EOF
19277 # Generated automatically by configure.
19278 # Run this file to recreate the current configuration.
19279 # This directory was configured as follows,
19280 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19282 # $0 $ac_configure_args
19284 # Compiler output produced by configure, useful for debugging
19285 # configure, is in ./config.log if it exists.
19287 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
19290 case "\$ac_option" in
19291 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19292 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
19293 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
19294 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
19295 echo "$CONFIG_STATUS generated by autoconf version 2.13"
19297 -help | --help | --hel | --he | --h)
19298 echo "\$ac_cs_usage"; exit 0 ;;
19299 *) echo "\$ac_cs_usage"; exit 1 ;;
19303 ac_given_srcdir=$srcdir
19304 ac_given_INSTALL="$INSTALL"
19306 trap 'rm -fr `echo "
19312 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
19314 cat >> $CONFIG_STATUS <<EOF
19316 # Protect against being on the right side of a sed subst in config.status.
19317 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
19318 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
19322 s%@CFLAGS@%$CFLAGS%g
19323 s%@CPPFLAGS@%$CPPFLAGS%g
19324 s%@CXXFLAGS@%$CXXFLAGS%g
19325 s%@FFLAGS@%$FFLAGS%g
19327 s%@LDFLAGS@%$LDFLAGS%g
19329 s%@exec_prefix@%$exec_prefix%g
19330 s%@prefix@%$prefix%g
19331 s%@program_transform_name@%$program_transform_name%g
19332 s%@bindir@%$bindir%g
19333 s%@sbindir@%$sbindir%g
19334 s%@libexecdir@%$libexecdir%g
19335 s%@datadir@%$datadir%g
19336 s%@sysconfdir@%$sysconfdir%g
19337 s%@sharedstatedir@%$sharedstatedir%g
19338 s%@localstatedir@%$localstatedir%g
19339 s%@libdir@%$libdir%g
19340 s%@includedir@%$includedir%g
19341 s%@oldincludedir@%$oldincludedir%g
19342 s%@infodir@%$infodir%g
19343 s%@mandir@%$mandir%g
19345 s%@host_alias@%$host_alias%g
19346 s%@host_cpu@%$host_cpu%g
19347 s%@host_vendor@%$host_vendor%g
19348 s%@host_os@%$host_os%g
19349 s%@target@%$target%g
19350 s%@target_alias@%$target_alias%g
19351 s%@target_cpu@%$target_cpu%g
19352 s%@target_vendor@%$target_vendor%g
19353 s%@target_os@%$target_os%g
19355 s%@build_alias@%$build_alias%g
19356 s%@build_cpu@%$build_cpu%g
19357 s%@build_vendor@%$build_vendor%g
19358 s%@build_os@%$build_os%g
19362 s%@RANLIB@%$RANLIB%g
19364 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
19365 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
19366 s%@INSTALL_DATA@%$INSTALL_DATA%g
19370 s%@LEXLIB@%$LEXLIB%g
19372 s%@GTK_CONFIG_2_0@%$GTK_CONFIG_2_0%g
19373 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
19374 s%@GTK_LIBS@%$GTK_LIBS%g
19375 s%@GTK_CONFIG@%$GTK_CONFIG%g
19376 s%@X_CFLAGS@%$X_CFLAGS%g
19377 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
19378 s%@X_LIBS@%$X_LIBS%g
19379 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
19380 s%@RESCOMP@%$RESCOMP%g
19382 s%@CXXCPP@%$CXXCPP%g
19383 s%@LEX_STEM@%$LEX_STEM%g
19384 s%@PATH_IFS@%$PATH_IFS%g
19385 s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
19386 s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
19387 s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
19388 s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
19389 s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
19390 s%@WX_LIBRARY_IMPORTLIB@%$WX_LIBRARY_IMPORTLIB%g
19391 s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
19392 s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
19393 s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
19394 s%@PROGRAM_EXT@%$PROGRAM_EXT%g
19395 s%@WX_LIBRARY_NAME_STATIC_GL@%$WX_LIBRARY_NAME_STATIC_GL%g
19396 s%@WX_LIBRARY_NAME_SHARED_GL@%$WX_LIBRARY_NAME_SHARED_GL%g
19397 s%@WX_TARGET_LIBRARY_GL@%$WX_TARGET_LIBRARY_GL%g
19398 s%@WX_LIBRARY_LINK1_GL@%$WX_LIBRARY_LINK1_GL%g
19399 s%@WX_LIBRARY_LINK2_GL@%$WX_LIBRARY_LINK2_GL%g
19400 s%@WX_ALL@%$WX_ALL%g
19401 s%@WX_ALL_INSTALLED@%$WX_ALL_INSTALLED%g
19402 s%@SHARED_LD@%$SHARED_LD%g
19403 s%@PIC_FLAG@%$PIC_FLAG%g
19404 s%@CODE_GEN_FLAGS@%$CODE_GEN_FLAGS%g
19405 s%@CODE_GEN_FLAGS_CXX@%$CODE_GEN_FLAGS_CXX%g
19406 s%@SONAME_FLAGS@%$SONAME_FLAGS%g
19407 s%@SONAME_FLAGS_GL@%$SONAME_FLAGS_GL%g
19408 s%@WX_TARGET_LIBRARY_SONAME@%$WX_TARGET_LIBRARY_SONAME%g
19409 s%@WX_TARGET_LIBRARY_TYPE@%$WX_TARGET_LIBRARY_TYPE%g
19410 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
19411 s%@USE_GUI@%$USE_GUI%g
19412 s%@AFMINSTALL@%$AFMINSTALL%g
19413 s%@TOOLKIT@%$TOOLKIT%g
19414 s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
19415 s%@TOOLKIT_VPATH@%$TOOLKIT_VPATH%g
19416 s%@TOOLCHAIN_NAME@%$TOOLCHAIN_NAME%g
19417 s%@TOOLCHAIN_DEFS@%$TOOLCHAIN_DEFS%g
19418 s%@TOOLCHAIN_DLL_DEFS@%$TOOLCHAIN_DLL_DEFS%g
19419 s%@cross_compiling@%$cross_compiling%g
19420 s%@WXCONFIG_LIBS@%$WXCONFIG_LIBS%g
19421 s%@WXCONFIG_LIBS_GL@%$WXCONFIG_LIBS_GL%g
19422 s%@WXCONFIG_LIBS_STATIC@%$WXCONFIG_LIBS_STATIC%g
19423 s%@WXCONFIG_LIBS_STATIC_GL@%$WXCONFIG_LIBS_STATIC_GL%g
19424 s%@WXCONFIG_INCLUDE@%$WXCONFIG_INCLUDE%g
19425 s%@ALL_OBJECTS@%$ALL_OBJECTS%g
19426 s%@GUIDIST@%$GUIDIST%g
19427 s%@PORT_FILES@%$PORT_FILES%g
19428 s%@DISTDIR@%$DISTDIR%g
19429 s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
19430 s%@LDFLAGS_GL@%$LDFLAGS_GL%g
19431 s%@OPENGL_LIBS@%$OPENGL_LIBS%g
19432 s%@DMALLOC_LIBS@%$DMALLOC_LIBS%g
19433 s%@EXTRADEFS@%$EXTRADEFS%g
19434 s%@RESFLAGS@%$RESFLAGS%g
19435 s%@RESPROGRAMOBJ@%$RESPROGRAMOBJ%g
19436 s%@WX_RESOURCES_MACOSX@%$WX_RESOURCES_MACOSX%g
19437 s%@WX_RESOURCES_MACOSX_COMPILED@%$WX_RESOURCES_MACOSX_COMPILED%g
19438 s%@LIBWXMACRES@%$LIBWXMACRES%g
19439 s%@LIBWXMACRESCOMP@%$LIBWXMACRESCOMP%g
19440 s%@LIBWXMACRESWXCONFIG@%$LIBWXMACRESWXCONFIG%g
19441 s%@DLLTOOL@%$DLLTOOL%g
19445 s%@MAKEINFO@%$MAKEINFO%g
19446 s%@INSTALL_LIBRARY@%$INSTALL_LIBRARY%g
19447 s%@SET_MAKE@%$SET_MAKE%g
19448 s%@subdirs@%$subdirs%g
19453 cat >> $CONFIG_STATUS <<\EOF
19455 # Split the substitutions into bite-sized pieces for seds with
19456 # small command number limits, like on Digital OSF/1 and HP-UX.
19457 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
19458 ac_file
=1 # Number of current file.
19459 ac_beg
=1 # First line for current file.
19460 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
19463 while $ac_more_lines; do
19464 if test $ac_beg -gt 1; then
19465 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
19467 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
19469 if test ! -s conftest.s
$ac_file; then
19470 ac_more_lines
=false
19471 rm -f conftest.s
$ac_file
19473 if test -z "$ac_sed_cmds"; then
19474 ac_sed_cmds
="sed -f conftest.s$ac_file"
19476 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
19478 ac_file
=`expr $ac_file + 1`
19480 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
19483 if test -z "$ac_sed_cmds"; then
19488 cat >> $CONFIG_STATUS <<EOF
19490 CONFIG_FILES=\${CONFIG_FILES-"wx-config
19497 cat >> $CONFIG_STATUS <<\EOF
19498 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
19499 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
19501 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
19502 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
19503 *) ac_file_in
="${ac_file}.in" ;;
19506 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
19508 # Remove last slash and all that follows it. Not all systems have dirname.
19509 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
19510 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
19511 # The file is in a subdirectory.
19512 test ! -d "$ac_dir" && mkdir "$ac_dir"
19513 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
19514 # A "../" for each directory in $ac_dir_suffix.
19515 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
19517 ac_dir_suffix
= ac_dots
=
19520 case "$ac_given_srcdir" in
19522 if test -z "$ac_dots"; then top_srcdir
=.
19523 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
19524 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
19525 *) # Relative path.
19526 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
19527 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
19530 case "$ac_given_INSTALL" in
19531 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
19532 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
19535 echo creating
"$ac_file"
19537 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
19539 *Makefile
*) ac_comsub
="1i\\
19540 # $configure_input" ;;
19544 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
19546 s%@configure_input@%$configure_input%g
19547 s%@srcdir@%$srcdir%g
19548 s%@top_srcdir@%$top_srcdir%g
19549 s%@INSTALL@%$INSTALL%g
19550 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
19554 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
19555 # NAME is the cpp macro being defined and VALUE is the value it is being given.
19557 # ac_d sets the value in "#define NAME VALUE" lines.
19558 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
19559 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
19562 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
19563 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
19564 ac_uB
='\([ ]\)%\1#\2define\3'
19567 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
19568 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
19569 ac_eB
='$%\1#\2define\3'
19573 if test "${CONFIG_HEADERS+set}" != set; then
19575 cat >> $CONFIG_STATUS <<EOF
19576 CONFIG_HEADERS="setup.h:setup.h.in"
19578 cat >> $CONFIG_STATUS <<\EOF
19580 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
19581 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
19583 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
19584 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
19585 *) ac_file_in
="${ac_file}.in" ;;
19588 echo creating
$ac_file
19590 rm -f conftest.frag conftest.
in conftest.out
19591 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
19592 cat $ac_file_inputs > conftest.
in
19596 # Transform confdefs.h into a sed script conftest.vals that substitutes
19597 # the proper values into config.h.in to produce config.h. And first:
19598 # Protect against being on the right side of a sed subst in config.status.
19599 # Protect against being in an unquoted here document in config.status.
19600 rm -f conftest.vals
19601 cat > conftest.hdr
<<\EOF
19604 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
19608 sed -n -f conftest.hdr confdefs.h > conftest.vals
19611 # This sed command replaces #undef with comments. This is necessary, for
19612 # example, in the case of _POSIX_SOURCE, which is predefined and required
19613 # on some systems where configure will not decide to define it.
19614 cat >> conftest.vals <<\EOF
19615 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
19618 # Break up conftest.vals because some shells have a limit on
19619 # the size of here documents, and old seds have small limits too.
19621 rm -f conftest.tail
19624 ac_lines=`grep -c . conftest.vals
`
19625 # grep -c gives empty output for an empty file on some AIX systems.
19626 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
19627 # Write a limited-size here document to conftest.frag.
19628 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
19629 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
19631 sed -f conftest.frag conftest.in > conftest.out
19633 mv conftest.out conftest.in
19634 ' >> $CONFIG_STATUS
19635 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
19636 rm -f conftest.vals
19637 mv conftest.tail conftest.vals
19639 rm -f conftest.vals
19641 cat >> $CONFIG_STATUS <<\EOF
19642 rm -f conftest.frag conftest.h
19643 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
19644 cat conftest.in >> conftest.h
19646 if cmp -s $ac_file conftest.h 2>/dev/null; then
19647 echo "$ac_file is unchanged"
19650 # Remove last slash and all that follows it. Not all systems have dirname.
19651 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
19652 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
19653 # The file is in a subdirectory.
19654 test ! -d "$ac_dir" && mkdir "$ac_dir"
19657 mv conftest.h $ac_file
19662 cat >> $CONFIG_STATUS <<EOF
19664 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
19669 cat >> $CONFIG_STATUS <<\EOF
19671 if test ! -h wx-config; then
19673 mv wx-config wx${TOOLCHAIN_NAME}-config
19674 ${LN_S} wx${TOOLCHAIN_NAME}-config wx-config
19677 if test ! -d lib; then
19680 if test ! -d lib/wx; then
19683 if test ! -d lib/wx/include; then
19684 mkdir lib/wx/include
19686 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}; then
19687 mkdir lib/wx/include/${TOOLCHAIN_NAME}
19689 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}/wx; then
19690 mkdir lib/wx/include/${TOOLCHAIN_NAME}/wx
19692 if test -f setup.h; then
19693 mv -f setup.h lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h
19698 chmod +x $CONFIG_STATUS
19699 rm -fr confdefs* $ac_clean_files
19700 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
19702 if test "$no_recursion" != yes; then
19704 # Remove --cache-file and --srcdir arguments so they do not pile up.
19705 ac_sub_configure_args=
19707 for ac_arg in $ac_configure_args; do
19708 if test -n "$ac_prev"; then
19713 -cache-file | --cache-file | --cache-fil | --cache-fi \
19714 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
19715 ac_prev=cache_file ;;
19716 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
19717 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
19719 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
19721 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
19723 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
19727 for ac_config_dir in demos samples utils contrib; do
19729 # Do not complain, so a configure script can configure whichever
19730 # parts of a large source tree are present.
19731 if test ! -d $srcdir/$ac_config_dir; then
19735 echo configuring in $ac_config_dir
19740 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
19742 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
19750 # A "../" for each directory in /$ac_config_dir.
19751 ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
19754 .) # No --srcdir option. We are building in place.
19755 ac_sub_srcdir=$srcdir ;;
19756 /*) # Absolute path.
19757 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
19758 *) # Relative path.
19759 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
19762 # Check for guested configure; otherwise get Cygnus style configure.
19763 if test -f $ac_sub_srcdir/configure; then
19764 ac_sub_configure=$ac_sub_srcdir/configure
19765 elif test -f $ac_sub_srcdir/configure.in; then
19766 ac_sub_configure=$ac_configure
19768 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
19772 # The recursion is here.
19773 if test -n "$ac_sub_configure"; then
19775 # Make the cache file name correct relative to the subdirectory.
19776 case "$cache_file" in
19777 /*) ac_sub_cache_file=$cache_file ;;
19778 *) # Relative path.
19779 ac_sub_cache_file="$ac_dots$cache_file" ;;
19781 case "$ac_given_INSTALL" in
19782 [/$]*) INSTALL="$ac_given_INSTALL" ;;
19783 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
19786 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
19787 # The eval makes quoting arguments work.
19788 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
19791 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }