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 --enable-gtk2 use GTK+ 2.0 if available (EXPERIMENTAL)"
76 --with-libpng use libpng (PNG image format)"
78 --with-libjpeg use libjpeg (JPEG file format)"
80 --with-libtiff use libtiff (TIFF file format)"
82 --with-freetype use freetype (font rasterizer)"
84 --with-opengl use OpenGL (or Mesa)"
86 --with-dmalloc use dmalloc library (http://dmalloc.com/)"
88 --with-regex enable support for wxRegEx class"
90 --with-zlib use zlib for LZW compression"
92 --with-odbc use the IODBC and wxODBC classes"
94 --enable-shared create shared library code"
96 --enable-soname set the DT_SONAME field in ELF shared libraries"
98 --enable-optimise create optimised code"
100 --enable-debug same as debug_flag and debug_info"
102 --enable-precomp enable use of precompiled headers (Mac OS X)"
104 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)"
106 --enable-debug_info create code with debugging information"
108 --enable-debug_gdb create code with extra GDB debugging information"
110 --enable-debug_cntxt use wxDebugContext"
112 --enable-mem_tracing create code with memory tracing"
114 --enable-profile create code with profiling information"
116 --enable-no_rtti create code without RTTI information"
118 --enable-no_exceptions create code without C++ exceptions handling"
120 --enable-permissive compile code disregarding strict ANSI"
122 --enable-no_deps create code without dependency information"
124 --enable-compat20 enable wxWindows 2.0 compatibility"
126 --enable-compat22 enable wxWindows 2.2 compatibility"
128 --enable-intl use internationalization system"
130 --enable-config use wxConfig (and derived) classes"
132 --enable-sockets use socket/network classes"
134 --enable-ipc use interprocess communication (wxSocket etc.)"
136 --enable-cmdline use wxCmdLineParser class"
138 --enable-datetime use wxDateTime class"
140 --enable-timedate use obsolete wxDate/wxTime classes"
142 --enable-stopwatch use wxStopWatch class"
144 --enable-dialupman use dialup network classes"
146 --enable-apple_ieee use the Apple IEEE codec"
148 --enable-timer use wxTimer class"
150 --enable-wave use wxWave class"
152 --enable-fraction use wxFraction class"
154 --enable-dynlib use wxLibrary class for DLL loading"
156 --enable-longlong use wxLongLong class"
158 --enable-geometry use geometry class"
160 --enable-log use logging system"
162 --enable-streams use wxStream etc classes"
164 --enable-file use wxFile classes"
166 --enable-ffile use wxFFile classes"
168 --enable-textbuf use wxTextBuffer class"
170 --enable-textfile use wxTextFile class"
172 --enable-fontmap use font encodings conversion classes"
174 --enable-unicode compile wxString with Unicode support"
176 --enable-wxprintfv use wxWindows implementation of vprintf()"
178 --enable-std_iostreams use standard C++ stream classes"
180 --enable-filesystem use virtual file systems classes"
182 --enable-fs_inet use virtual HTTP/FTP filesystems"
184 --enable-fs_zip use virtual ZIP filesystems"
186 --enable-zipstream use wxZipInputStream"
188 --enable-catch_segvs catch signals and pass them to wxApp::OnFatalException"
190 --enable-snglinst use wxSingleInstanceChecker class"
192 --enable-mimetype use wxMimeTypesManager"
194 --enable-sysoptions use wxSystemOptions"
196 --enable-threads use threads"
198 --enable-serial use class serialization"
200 --enable-docview use document view architecture"
202 --enable-help use help subsystem"
204 --enable-mshtmlhelp use MS HTML Help (win32)"
206 --enable-html use wxHTML sub-library"
208 --enable-htmlhelp use wxHTML-based help"
210 --enable-constraints use layout-constraints system"
212 --enable-printarch use printing architecture"
214 --enable-mdi use multiple document interface architecture"
216 --enable-loggui use standard GUI logger"
218 --enable-logwin use wxLogWindow"
220 --enable-logdialog use wxLogDialog"
222 --enable-postscript use wxPostscriptDC device context (default for gtk+)"
224 --enable-prologio use Prolog IO library"
226 --enable-resources use wxWindows resources"
228 --enable-xresources use X resources for save (default for gtk+)"
230 --enable-clipboard use wxClipboard classes"
232 --enable-dnd use Drag'n'Drop classes"
234 --enable-metafile use win32 metafiles"
236 --enable-treelayout use wxTreeLayout classes"
238 --enable-controls use all usual controls"
240 --enable-accel use accelerators"
242 --enable-button use wxButton class"
244 --enable-bmpbutton use wxBitmapButton class"
246 --enable-calendar use wxCalendarCtrl class"
248 --enable-caret use wxCaret class"
250 --enable-checkbox use wxCheckBox class"
252 --enable-checklst use wxCheckListBox (listbox with checkboxes) class"
254 --enable-choice use wxChoice class"
256 --enable-combobox use wxComboBox classes"
258 --enable-gauge use wxGauge class"
260 --enable-grid use wxGrid class"
262 --enable-newgrid use new wxGrid class"
264 --enable-imaglist use wxImageList class"
266 --enable-listbox use wxListBox class"
268 --enable-listctrl use wxListCtrl class"
270 --enable-notebook use wxNotebook class"
272 --enable-propsheet use wxPropertySheet class"
274 --enable-radiobox use wxRadioBox class"
276 --enable-radiobtn use wxRadioButton class"
278 --enable-sash use wxSashWindow class"
280 --enable-scrollbar use wxScrollBar class and scrollable windows"
282 --enable-slider use wxSlider class"
284 --enable-spinbtn use wxSpinButton class"
286 --enable-spinctrl use wxSpinCtrl class"
288 --enable-splitter use wxSplitterWindow class"
290 --enable-statbmp use wxStaticBitmap class"
292 --enable-statbox use wxStaticBox class"
294 --enable-statline use wxStaticLine class"
296 --enable-stattext use wxStaticText class"
298 --enable-statusbar use wxStatusBar class"
300 --enable-tabdialog use wxTabControl class"
302 --enable-textctrl use wxTextCtrl class"
304 --enable-togglebtn use wxToggleButton class"
306 --enable-toolbar use wxToolBar class"
308 --enable-tbarnative use native wxToolBar class"
310 --enable-tbarsmpl use wxToolBarSimple class"
312 --enable-treectrl use wxTreeCtrl class"
314 --enable-tipwindow use wxTipWindow class"
316 --enable-popupwin use wxPopUpWindow class"
318 --enable-commondlg use all common dialogs"
320 --enable-choicedlg use wxChoiceDialog"
322 --enable-coldlg use wxColourDialog"
324 --enable-filedlg use wxFileDialog"
326 --enable-finddlg use wxFindReplaceDialog"
328 --enable-fontdlg use wxFontDialog"
330 --enable-dirdlg use wxDirDialog"
332 --enable-msgdlg use wxMessageDialog"
334 --enable-numberdlg use wxNumberEntryDialog"
336 --enable-splash use wxSplashScreen"
338 --enable-textdlg use wxTextDialog"
340 --enable-tipdlg use startup tips"
342 --enable-progressdlg use wxProgressDialog"
344 --enable-wizarddlg use wxWizard"
346 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes"
348 --enable-miniframe use wxMiniFrame class"
350 --enable-tooltips use wxToolTip class"
352 --enable-splines use spline drawing code"
354 --enable-validators use wxValidator and derived classes"
356 --enable-busyinfo use wxBusyInfo"
358 --enable-joystick use wxJoystick (Linux only)"
360 --enable-metafiles use wxMetaFile (Windows only)"
362 --enable-dragimage use wxDragImage"
364 --enable-palette use wxPalette class"
366 --enable-image use wxImage class"
368 --enable-gif use gif images (GIF file format)"
370 --enable-pcx use pcx images (PCX file format)"
372 --enable-pnm use pnm images (PNM file format)"
374 --enable-xpm use xpm images (XPM file format)"
376 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
378 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
380 --disable-gtktest Do not try to compile and run a test GTK program"
382 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
384 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
386 --disable-gtktest Do not try to compile and run a test GTK program"
388 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
390 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
392 --disable-gtktest Do not try to compile and run a test GTK program"
394 --with-x use the X Window System"
396 # Initialize some variables set by options.
397 # The variables have the same names as the options, with
398 # dashes changed to underlines.
400 cache_file
=.
/config.cache
409 program_transform_name
=s
,x
,x
,
417 bindir
='${exec_prefix}/bin'
418 sbindir
='${exec_prefix}/sbin'
419 libexecdir
='${exec_prefix}/libexec'
420 datadir
='${prefix}/share'
421 sysconfdir
='${prefix}/etc'
422 sharedstatedir
='${prefix}/com'
423 localstatedir
='${prefix}/var'
424 libdir
='${exec_prefix}/lib'
425 includedir
='${prefix}/include'
426 oldincludedir
='/usr/include'
427 infodir
='${prefix}/info'
428 mandir
='${prefix}/man'
430 # Initialize some other variables.
433 SHELL
=${CONFIG_SHELL-/bin/sh}
434 # Maximum number of lines to put in a shell here document.
441 # If the previous option needs an argument, assign it.
442 if test -n "$ac_prev"; then
443 eval "$ac_prev=\$ac_option"
449 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
453 # Accept the important Cygnus configure options, so we can diagnose typos.
457 -bindir | --bindir | --bindi | --bind | --bin | --bi)
459 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
460 bindir
="$ac_optarg" ;;
462 -build | --build | --buil | --bui | --bu)
464 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
465 build
="$ac_optarg" ;;
467 -cache-file | --cache-file | --cache-fil | --cache-fi \
468 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
469 ac_prev
=cache_file
;;
470 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
471 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
472 cache_file
="$ac_optarg" ;;
474 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
476 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
478 datadir
="$ac_optarg" ;;
480 -disable-* | --disable-*)
481 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
482 # Reject names that are not valid shell variable names.
483 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
484 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
486 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
487 eval "enable_${ac_feature}=no" ;;
489 -enable-* | --enable-*)
490 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
491 # Reject names that are not valid shell variable names.
492 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
493 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
495 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
500 eval "enable_${ac_feature}='$ac_optarg'" ;;
502 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
503 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
504 | --exec | --exe | --ex)
505 ac_prev
=exec_prefix
;;
506 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
507 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
508 | --exec=* | --exe=* | --ex=*)
509 exec_prefix
="$ac_optarg" ;;
511 -gas | --gas | --ga | --g)
512 # Obsolete; use --with-gas.
515 -help | --help | --hel | --he)
516 # Omit some internal or obsolete options to make the list less imposing.
517 # This message is too long to be a string in the A/UX 3.1 sh.
519 Usage: configure [options] [host]
520 Options: [defaults in brackets after descriptions]
522 --cache-file=FILE cache test results in FILE
523 --help print this message
524 --no-create do not create output files
525 --quiet, --silent do not print \`checking...' messages
526 --version print the version of autoconf that created configure
527 Directory and file names:
528 --prefix=PREFIX install architecture-independent files in PREFIX
530 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
532 --bindir=DIR user executables in DIR [EPREFIX/bin]
533 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
534 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
535 --datadir=DIR read-only architecture-independent data in DIR
537 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
538 --sharedstatedir=DIR modifiable architecture-independent data in DIR
540 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
541 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
542 --includedir=DIR C header files in DIR [PREFIX/include]
543 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
544 --infodir=DIR info documentation in DIR [PREFIX/info]
545 --mandir=DIR man documentation in DIR [PREFIX/man]
546 --srcdir=DIR find the sources in DIR [configure dir or ..]
547 --program-prefix=PREFIX prepend PREFIX to installed program names
548 --program-suffix=SUFFIX append SUFFIX to installed program names
549 --program-transform-name=PROGRAM
550 run sed PROGRAM on installed program names
554 --build=BUILD configure for building on BUILD [BUILD=HOST]
555 --host=HOST configure for HOST [guessed]
556 --target=TARGET configure for TARGET [TARGET=HOST]
557 Features and packages:
558 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
559 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
560 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
561 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
562 --x-includes=DIR X include files are in DIR
563 --x-libraries=DIR X library files are in DIR
565 if test -n "$ac_help"; then
566 echo "--enable and --with options recognized:$ac_help"
570 -host | --host | --hos | --ho)
572 -host=* | --host=* | --hos=* | --ho=*)
575 -includedir | --includedir | --includedi | --included | --include \
576 | --includ | --inclu | --incl | --inc)
577 ac_prev
=includedir
;;
578 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
579 | --includ=* | --inclu=* | --incl=* | --inc=*)
580 includedir
="$ac_optarg" ;;
582 -infodir | --infodir | --infodi | --infod | --info | --inf)
584 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
585 infodir
="$ac_optarg" ;;
587 -libdir | --libdir | --libdi | --libd)
589 -libdir=* | --libdir=* | --libdi=* | --libd=*)
590 libdir
="$ac_optarg" ;;
592 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
593 | --libexe | --libex | --libe)
594 ac_prev
=libexecdir
;;
595 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
596 | --libexe=* | --libex=* | --libe=*)
597 libexecdir
="$ac_optarg" ;;
599 -localstatedir | --localstatedir | --localstatedi | --localstated \
600 | --localstate | --localstat | --localsta | --localst \
601 | --locals | --local | --loca | --loc | --lo)
602 ac_prev
=localstatedir
;;
603 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
604 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
605 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
606 localstatedir
="$ac_optarg" ;;
608 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
610 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
611 mandir
="$ac_optarg" ;;
614 # Obsolete; use --without-fp.
617 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
621 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
622 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
625 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
626 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
627 | --oldin | --oldi | --old | --ol | --o)
628 ac_prev
=oldincludedir
;;
629 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
630 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
631 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
632 oldincludedir
="$ac_optarg" ;;
634 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
636 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
637 prefix
="$ac_optarg" ;;
639 -program-prefix | --program-prefix | --program-prefi | --program-pref \
640 | --program-pre | --program-pr | --program-p)
641 ac_prev
=program_prefix
;;
642 -program-prefix=* | --program-prefix=* | --program-prefi=* \
643 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
644 program_prefix
="$ac_optarg" ;;
646 -program-suffix | --program-suffix | --program-suffi | --program-suff \
647 | --program-suf | --program-su | --program-s)
648 ac_prev
=program_suffix
;;
649 -program-suffix=* | --program-suffix=* | --program-suffi=* \
650 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
651 program_suffix
="$ac_optarg" ;;
653 -program-transform-name | --program-transform-name \
654 | --program-transform-nam | --program-transform-na \
655 | --program-transform-n | --program-transform- \
656 | --program-transform | --program-transfor \
657 | --program-transfo | --program-transf \
658 | --program-trans | --program-tran \
659 | --progr-tra | --program-tr | --program-t)
660 ac_prev
=program_transform_name
;;
661 -program-transform-name=* | --program-transform-name=* \
662 | --program-transform-nam=* | --program-transform-na=* \
663 | --program-transform-n=* | --program-transform-=* \
664 | --program-transform=* | --program-transfor=* \
665 | --program-transfo=* | --program-transf=* \
666 | --program-trans=* | --program-tran=* \
667 | --progr-tra=* | --program-tr=* | --program-t=*)
668 program_transform_name
="$ac_optarg" ;;
670 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
671 | -silent | --silent | --silen | --sile | --sil)
674 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
676 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
678 sbindir
="$ac_optarg" ;;
680 -sharedstatedir | --sharedstatedir | --sharedstatedi \
681 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
682 | --sharedst | --shareds | --shared | --share | --shar \
684 ac_prev
=sharedstatedir
;;
685 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
686 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
687 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
689 sharedstatedir
="$ac_optarg" ;;
691 -site | --site | --sit)
693 -site=* | --site=* | --sit=*)
696 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
698 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
699 srcdir
="$ac_optarg" ;;
701 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
702 | --syscon | --sysco | --sysc | --sys | --sy)
703 ac_prev
=sysconfdir
;;
704 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
705 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
706 sysconfdir
="$ac_optarg" ;;
708 -target | --target | --targe | --targ | --tar | --ta | --t)
710 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
711 target
="$ac_optarg" ;;
713 -v | -verbose | --verbose | --verbos | --verbo | --verb)
716 -version | --version | --versio | --versi | --vers)
717 echo "configure generated by autoconf version 2.13"
721 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
722 # Reject names that are not valid shell variable names.
723 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
724 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
726 ac_package
=`echo $ac_package| sed 's/-/_/g'`
731 eval "with_${ac_package}='$ac_optarg'" ;;
733 -without-* | --without-*)
734 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
735 # Reject names that are not valid shell variable names.
736 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
737 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
739 ac_package
=`echo $ac_package| sed 's/-/_/g'`
740 eval "with_${ac_package}=no" ;;
743 # Obsolete; use --with-x.
746 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
747 | --x-incl | --x-inc | --x-in | --x-i)
748 ac_prev
=x_includes
;;
749 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
750 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
751 x_includes
="$ac_optarg" ;;
753 -x-libraries | --x-libraries | --x-librarie | --x-librari \
754 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
755 ac_prev
=x_libraries
;;
756 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
757 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
758 x_libraries
="$ac_optarg" ;;
760 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
764 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
765 echo "configure: warning: $ac_option: invalid host type" 1>&2
767 if test "x$nonopt" != xNONE
; then
768 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
776 if test -n "$ac_prev"; then
777 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
780 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
782 # File descriptor usage:
785 # 2 errors and warnings
786 # 3 some systems may open it to /dev/tty
787 # 4 used on the Kubota Titan
788 # 6 checking for... messages and results
789 # 5 compiler messages saved in config.log
790 if test "$silent" = yes; then
798 This file contains any messages produced by compilers while
799 running configure, to aid debugging if configure makes a mistake.
802 # Strip out --no-create and --no-recursion so they do not pile up.
803 # Also quote any args containing shell metacharacters.
808 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
809 | --no-cr | --no-c) ;;
810 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
811 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
812 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
813 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
814 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
819 # Only set these to C if already set. These must not be set unconditionally
820 # because not all systems understand e.g. LANG=C (notably SCO).
821 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
822 # Non-C LC_CTYPE values break the ctype check.
823 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
824 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
825 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
826 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
828 # confdefs.h avoids OS command line length limits that DEFS can exceed.
829 rm -rf conftest
* confdefs.h
830 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
833 # A filename unique to this package, relative to the directory that
834 # configure is in, which we can look for to find out if srcdir is correct.
835 ac_unique_file
=wx
-config.
in
837 # Find the source files, if location was not specified.
838 if test -z "$srcdir"; then
839 ac_srcdir_defaulted
=yes
840 # Try the directory containing this script, then its parent.
842 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
843 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
845 if test ! -r $srcdir/$ac_unique_file; then
849 ac_srcdir_defaulted
=no
851 if test ! -r $srcdir/$ac_unique_file; then
852 if test "$ac_srcdir_defaulted" = yes; then
853 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
855 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
858 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
860 # Prefer explicitly selected file to automatically selected ones.
861 if test -z "$CONFIG_SITE"; then
862 if test "x$prefix" != xNONE
; then
863 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
865 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
868 for ac_site_file
in $CONFIG_SITE; do
869 if test -r "$ac_site_file"; then
870 echo "loading site script $ac_site_file"
875 if test -r "$cache_file"; then
876 echo "loading cache $cache_file"
879 echo "creating cache $cache_file"
884 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
885 ac_cpp
='$CPP $CPPFLAGS'
886 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
887 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
888 cross_compiling
=$ac_cv_prog_cc_cross
892 if (echo "testing\c"; echo 1,2,3) | grep c
>/dev
/null
; then
893 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
894 if (echo -n testing
; echo 1,2,3) | sed s
/-n/xn
/ | grep xn
>/dev
/null
; then
901 ac_n
= ac_c
='\c' ac_t
=
907 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
908 if test -f $ac_dir/install-sh; then
910 ac_install_sh
="$ac_aux_dir/install-sh -c"
912 elif test -f $ac_dir/install.sh
; then
914 ac_install_sh
="$ac_aux_dir/install.sh -c"
918 if test -z "$ac_aux_dir"; then
919 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
921 ac_config_guess
=$ac_aux_dir/config.guess
922 ac_config_sub
=$ac_aux_dir/config.sub
923 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
926 # Do some error checking and defaulting for the host and target type.
928 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
931 # 1. You are not allowed to specify --host, --target, and nonopt at the
933 # 2. Host defaults to nonopt.
934 # 3. If nonopt is not specified, then host defaults to the current host,
935 # as determined by config.guess.
936 # 4. Target and build default to nonopt.
937 # 5. If nonopt is not specified, then target and build default to host.
939 # The aliases save the names the user supplied, while $host etc.
940 # will get canonicalized.
941 case $host---$target---$nonopt in
942 NONE
---*---* | *---NONE---* | *---*---NONE) ;;
943 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
947 # Make sure we can run config.sub.
948 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
949 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
952 echo $ac_n "checking host system type""... $ac_c" 1>&6
953 echo "configure:954: checking host system type" >&5
956 case "$host_alias" in
960 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
961 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
963 *) host_alias
=$nonopt ;;
967 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
968 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
969 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
970 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
971 echo "$ac_t""$host" 1>&6
973 echo $ac_n "checking target system type""... $ac_c" 1>&6
974 echo "configure:975: checking target system type" >&5
977 case "$target_alias" in
980 NONE
) target_alias
=$host_alias ;;
981 *) target_alias
=$nonopt ;;
985 target
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
986 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
987 target_vendor
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
988 target_os
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
989 echo "$ac_t""$target" 1>&6
991 echo $ac_n "checking build system type""... $ac_c" 1>&6
992 echo "configure:993: checking build system type" >&5
995 case "$build_alias" in
998 NONE
) build_alias
=$host_alias ;;
999 *) build_alias
=$nonopt ;;
1003 build
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
1004 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1005 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1006 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1007 echo "$ac_t""$build" 1>&6
1009 test "$host_alias" != "$target_alias" &&
1010 test "$program_prefix$program_suffix$program_transform_name" = \
1012 program_prefix
=${target_alias}-
1016 WX_MAJOR_VERSION_NUMBER
=2
1017 WX_MINOR_VERSION_NUMBER
=3
1020 WX_VERSION
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER.
$WX_RELEASE_NUMBER
1021 WX_RELEASE
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER
1023 WX_MSW_VERSION
=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1056 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1058 CPP_MT_FLAG
=-D_REENTRANT
1060 ALL_TOOLKITS
="GTK MAC MGL MOTIF MSW PM WINE"
1065 DEFAULT_wxUSE_MOTIF
=0
1068 DEFAULT_wxUSE_WINE
=0
1070 DEFAULT_DEFAULT_wxUSE_GTK
=0
1071 DEFAULT_DEFAULT_wxUSE_MAC
=0
1072 DEFAULT_DEFAULT_wxUSE_MGL
=0
1073 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1074 DEFAULT_DEFAULT_wxUSE_MSW
=0
1075 DEFAULT_DEFAULT_wxUSE_PM
=0
1076 DEFAULT_DEFAULT_wxUSE_WINE
=0
1084 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1085 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1087 cat >> confdefs.h
<<\EOF
1094 cat >> confdefs.h
<<\EOF
1099 if test "x$TMP" = "xalpha"; then
1101 cat >> confdefs.h
<<\EOF
1106 DEFAULT_DEFAULT_wxUSE_GTK
=1
1108 *-*-irix5* | *-*-irix6* )
1111 cat >> confdefs.h
<<\EOF
1115 cat >> confdefs.h
<<\EOF
1119 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1125 cat >> confdefs.h
<<\EOF
1129 cat >> confdefs.h
<<\EOF
1130 #define __SOLARIS__ 1
1133 cat >> confdefs.h
<<\EOF
1137 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1138 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1144 cat >> confdefs.h
<<\EOF
1148 cat >> confdefs.h
<<\EOF
1152 cat >> confdefs.h
<<\EOF
1156 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1161 CPP_MT_FLAG
=-D_THREAD_SAFE
1162 cat >> confdefs.h
<<\EOF
1163 #define __FREEBSD__ 1
1166 cat >> confdefs.h
<<\EOF
1170 DEFAULT_DEFAULT_wxUSE_GTK
=1
1175 cat >> confdefs.h
<<\EOF
1176 #define __FREEBSD__ 1
1179 cat >> confdefs.h
<<\EOF
1180 #define __OPENBSD__ 1
1183 DEFAULT_DEFAULT_wxUSE_GTK
=1
1188 cat >> confdefs.h
<<\EOF
1189 #define __FREEBSD__ 1
1192 cat >> confdefs.h
<<\EOF
1193 #define __NETBSD__ 1
1196 DEFAULT_DEFAULT_wxUSE_GTK
=1
1201 cat >> confdefs.h
<<\EOF
1205 cat >> confdefs.h
<<\EOF
1209 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1210 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1215 cat >> confdefs.h
<<\EOF
1219 cat >> confdefs.h
<<\EOF
1223 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1228 cat >> confdefs.h
<<\EOF
1232 cat >> confdefs.h
<<\EOF
1236 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1242 cat >> confdefs.h
<<\EOF
1246 cat >> confdefs.h
<<\EOF
1250 cat >> confdefs.h
<<\EOF
1254 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1257 *-*-cygwin* | *-*-mingw32* )
1261 cat >> confdefs.h
<<\EOF
1265 cat >> confdefs.h
<<\EOF
1269 cat >> confdefs.h
<<\EOF
1270 #define __WINDOWS__ 1
1273 cat >> confdefs.h
<<\EOF
1274 #define __GNUWIN32__ 1
1277 cat >> confdefs.h
<<\EOF
1281 cat >> confdefs.h
<<\EOF
1282 #define WINVER 0x0400
1287 DEFAULT_DEFAULT_wxUSE_MSW
=1
1290 *-pc-os2_emx | *-pc-os2-emx )
1291 cat >> confdefs.h
<<\EOF
1296 DEFAULT_DEFAULT_wxUSE_PM
=1
1304 cat >> confdefs.h
<<\EOF
1308 cat >> confdefs.h
<<\EOF
1309 #define __DARWIN__ 1
1312 cat >> confdefs.h
<<\EOF
1313 #define __POWERPC__ 1
1316 DEFAULT_DEFAULT_wxUSE_MAC
=1
1321 cat >> confdefs.h
<<\EOF
1328 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
1331 if test "$USE_UNIX" = 1 ; then
1333 cat >> confdefs.h
<<\EOF
1339 if test "$USE_LINUX" = 1; then
1340 echo $ac_n "checking for glibc 2.1 or later""... $ac_c" 1>&6
1341 echo "configure:1342: checking for glibc 2.1 or later" >&5
1342 if eval "test \"`echo '$''{'wx_lib_glibc21'+set}'`\" = set"; then
1343 echo $ac_n "(cached) $ac_c" 1>&6
1345 cat > conftest.
$ac_ext <<EOF
1346 #line 1347 "configure"
1347 #include "confdefs.h"
1348 #include <features.h>
1351 #if !__GLIBC_PREREQ(2, 1)
1357 if { (eval echo configure
:1358: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1363 echo "configure: failed program was:" >&5
1364 cat conftest.
$ac_ext >&5
1375 echo "$ac_t""$wx_lib_glibc21" 1>&6
1376 if test "$wx_lib_glibc21" = "yes"; then
1377 cat >> confdefs.h
<<\EOF
1378 #define wxHAVE_GLIBC2 1
1387 wx_arg_cache_file
="configarg.cache"
1388 echo "loading argument cache $wx_arg_cache_file"
1389 rm -f ${wx_arg_cache_file}.tmp
1390 touch ${wx_arg_cache_file}.tmp
1391 touch ${wx_arg_cache_file}
1395 if test $DEBUG_CONFIGURE = 1; then
1396 DEFAULT_wxUSE_UNIVERSAL
=no
1398 DEFAULT_wxUSE_THREADS
=yes
1400 DEFAULT_wxUSE_SHARED
=yes
1401 DEFAULT_wxUSE_SONAME
=no
1402 DEFAULT_wxUSE_OPTIMISE
=no
1403 DEFAULT_wxUSE_PROFILE
=no
1404 DEFAULT_wxUSE_NO_DEPS
=no
1405 DEFAULT_wxUSE_NO_RTTI
=yes
1406 DEFAULT_wxUSE_NO_EXCEPTIONS
=yes
1407 DEFAULT_wxUSE_PERMISSIVE
=no
1408 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1409 DEFAULT_wxUSE_DEBUG_INFO
=yes
1410 DEFAULT_wxUSE_DEBUG_GDB
=yes
1411 DEFAULT_wxUSE_MEM_TRACING
=no
1412 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1413 DEFAULT_wxUSE_DMALLOC
=no
1414 DEFAULT_wxUSE_PRECOMP
=yes
1415 DEFAULT_wxUSE_APPLE_IEEE
=no
1417 DEFAULT_wxUSE_LOG
=yes
1418 DEFAULT_wxUSE_LOGWINDOW
=no
1419 DEFAULT_wxUSE_LOGGUI
=no
1420 DEFAULT_wxUSE_LOGDIALOG
=no
1422 DEFAULT_wxUSE_GUI
=yes
1423 DEFAULT_wxUSE_CONTROLS
=no
1425 DEFAULT_wxUSE_REGEX
=no
1426 DEFAULT_wxUSE_ZLIB
=no
1427 DEFAULT_wxUSE_LIBPNG
=no
1428 DEFAULT_wxUSE_LIBJPEG
=no
1429 DEFAULT_wxUSE_LIBTIFF
=no
1430 DEFAULT_wxUSE_ODBC
=no
1431 DEFAULT_wxUSE_FREETYPE
=no
1432 DEFAULT_wxUSE_OPENGL
=no
1434 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
1435 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
1436 DEFAULT_wxUSE_STD_IOSTREAM
=no
1437 DEFAULT_wxUSE_CMDLINE_PARSER
=no
1438 DEFAULT_wxUSE_DATETIME
=no
1439 DEFAULT_wxUSE_TIMEDATE
=no
1440 DEFAULT_wxUSE_TIMER
=no
1441 DEFAULT_wxUSE_STOPWATCH
=no
1442 DEFAULT_wxUSE_FILE
=no
1443 DEFAULT_wxUSE_FFILE
=no
1444 DEFAULT_wxUSE_TEXTBUFFER
=no
1445 DEFAULT_wxUSE_TEXTFILE
=no
1446 DEFAULT_wxUSE_WAVE
=no
1447 DEFAULT_wxUSE_INTL
=no
1448 DEFAULT_wxUSE_CONFIG
=no
1449 DEFAULT_wxUSE_FONTMAP
=no
1450 DEFAULT_wxUSE_STREAMS
=no
1451 DEFAULT_wxUSE_SOCKETS
=no
1452 DEFAULT_wxUSE_DIALUP_MANAGER
=no
1453 DEFAULT_wxUSE_SERIAL
=no
1454 DEFAULT_wxUSE_JOYSTICK
=no
1455 DEFAULT_wxUSE_DYNLIB_CLASS
=no
1456 DEFAULT_wxUSE_LONGLONG
=no
1457 DEFAULT_wxUSE_GEOMETRY
=no
1459 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
1460 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
1461 DEFAULT_wxUSE_POSTSCRIPT
=no
1463 DEFAULT_wxUSE_X_RESOURCES
=no
1464 DEFAULT_wxUSE_CLIPBOARD
=no
1465 DEFAULT_wxUSE_TOOLTIPS
=no
1466 DEFAULT_wxUSE_DRAG_AND_DROP
=no
1467 DEFAULT_wxUSE_DRAGIMAGE
=no
1468 DEFAULT_wxUSE_SPLINES
=no
1470 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
1471 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
1472 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
1474 DEFAULT_wxUSE_PROLOGIO
=no
1475 DEFAULT_wxUSE_RESOURCES
=no
1476 DEFAULT_wxUSE_CONSTRAINTS
=no
1477 DEFAULT_wxUSE_IPC
=no
1478 DEFAULT_wxUSE_HELP
=no
1479 DEFAULT_wxUSE_MS_HTML_HELP
=no
1480 DEFAULT_wxUSE_WXHTML_HELP
=no
1481 DEFAULT_wxUSE_TREELAYOUT
=no
1482 DEFAULT_wxUSE_METAFILE
=no
1483 DEFAULT_wxUSE_MIMETYPE
=no
1484 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
1486 DEFAULT_wxUSE_COMMONDLGS
=no
1487 DEFAULT_wxUSE_CHOICEDLG
=no
1488 DEFAULT_wxUSE_COLOURDLG
=no
1489 DEFAULT_wxUSE_DIRDLG
=no
1490 DEFAULT_wxUSE_FILEDLG
=no
1491 DEFAULT_wxUSE_FINDREPLDLG
=no
1492 DEFAULT_wxUSE_FONTDLG
=no
1493 DEFAULT_wxUSE_MSGDLG
=no
1494 DEFAULT_wxUSE_NUMBERDLG
=no
1495 DEFAULT_wxUSE_TEXTDLG
=no
1496 DEFAULT_wxUSE_SPLASH
=no
1497 DEFAULT_wxUSE_STARTUP_TIPS
=no
1498 DEFAULT_wxUSE_PROGRESSDLG
=no
1499 DEFAULT_wxUSE_WIZARDDLG
=no
1501 DEFAULT_wxUSE_MENUS
=no
1502 DEFAULT_wxUSE_MINIFRAME
=no
1503 DEFAULT_wxUSE_HTML
=no
1504 DEFAULT_wxUSE_FILESYSTEM
=no
1505 DEFAULT_wxUSE_FS_INET
=no
1506 DEFAULT_wxUSE_FS_ZIP
=no
1507 DEFAULT_wxUSE_BUSYINFO
=no
1508 DEFAULT_wxUSE_ZIPSTREAM
=no
1509 DEFAULT_wxUSE_VALIDATORS
=no
1511 DEFAULT_wxUSE_ACCEL
=no
1512 DEFAULT_wxUSE_BUTTON
=no
1513 DEFAULT_wxUSE_BMPBUTTON
=no
1514 DEFAULT_wxUSE_CALCTRL
=no
1515 DEFAULT_wxUSE_CARET
=no
1516 DEFAULT_wxUSE_CHECKBOX
=no
1517 DEFAULT_wxUSE_CHECKLST
=no
1518 DEFAULT_wxUSE_CHOICE
=no
1519 DEFAULT_wxUSE_COMBOBOX
=no
1520 DEFAULT_wxUSE_GAUGE
=no
1521 DEFAULT_wxUSE_GRID
=no
1522 DEFAULT_wxUSE_NEW_GRID
=no
1523 DEFAULT_wxUSE_IMAGLIST
=no
1524 DEFAULT_wxUSE_LISTBOX
=no
1525 DEFAULT_wxUSE_LISTCTRL
=no
1526 DEFAULT_wxUSE_NOTEBOOK
=no
1527 DEFAULT_wxUSE_PROPSHEET
=no
1528 DEFAULT_wxUSE_RADIOBOX
=no
1529 DEFAULT_wxUSE_RADIOBTN
=no
1530 DEFAULT_wxUSE_SASH
=no
1531 DEFAULT_wxUSE_SCROLLBAR
=no
1532 DEFAULT_wxUSE_SLIDER
=no
1533 DEFAULT_wxUSE_SPINBTN
=no
1534 DEFAULT_wxUSE_SPINCTRL
=no
1535 DEFAULT_wxUSE_SPLITTER
=no
1536 DEFAULT_wxUSE_STATBMP
=no
1537 DEFAULT_wxUSE_STATBOX
=no
1538 DEFAULT_wxUSE_STATLINE
=no
1539 DEFAULT_wxUSE_STATTEXT
=no
1540 DEFAULT_wxUSE_STATUSBAR
=yes
1541 DEFAULT_wxUSE_TABDIALOG
=no
1542 DEFAULT_wxUSE_TEXTCTRL
=no
1543 DEFAULT_wxUSE_TOGGLEBTN
=no
1544 DEFAULT_wxUSE_TOOLBAR
=no
1545 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
1546 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
1547 DEFAULT_wxUSE_TREECTRL
=no
1548 DEFAULT_wxUSE_POPUPWIN
=no
1549 DEFAULT_wxUSE_TIPWINDOW
=no
1551 DEFAULT_wxUSE_UNICODE
=no
1552 DEFAULT_wxUSE_WCSRTOMBS
=no
1554 DEFAULT_wxUSE_PALETTE
=no
1555 DEFAULT_wxUSE_IMAGE
=no
1556 DEFAULT_wxUSE_GIF
=no
1557 DEFAULT_wxUSE_PCX
=no
1558 DEFAULT_wxUSE_PNM
=no
1559 DEFAULT_wxUSE_XPM
=no
1561 DEFAULT_wxUSE_UNIVERSAL
=no
1563 DEFAULT_wxUSE_THREADS
=yes
1565 DEFAULT_wxUSE_SHARED
=yes
1566 DEFAULT_wxUSE_SONAME
=no
1567 DEFAULT_wxUSE_OPTIMISE
=yes
1568 DEFAULT_wxUSE_PROFILE
=no
1569 DEFAULT_wxUSE_NO_DEPS
=no
1570 DEFAULT_wxUSE_NO_RTTI
=yes
1571 DEFAULT_wxUSE_NO_EXCEPTIONS
=yes
1572 DEFAULT_wxUSE_PERMISSIVE
=no
1573 DEFAULT_wxUSE_DEBUG_FLAG
=no
1574 DEFAULT_wxUSE_DEBUG_INFO
=no
1575 DEFAULT_wxUSE_DEBUG_GDB
=no
1576 DEFAULT_wxUSE_MEM_TRACING
=no
1577 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1578 DEFAULT_wxUSE_DMALLOC
=no
1579 DEFAULT_wxUSE_PRECOMP
=yes
1580 DEFAULT_wxUSE_APPLE_IEEE
=yes
1582 DEFAULT_wxUSE_LOG
=yes
1583 DEFAULT_wxUSE_LOGWINDOW
=yes
1584 DEFAULT_wxUSE_LOGGUI
=yes
1585 DEFAULT_wxUSE_LOGDIALOG
=yes
1587 DEFAULT_wxUSE_GUI
=yes
1589 DEFAULT_wxUSE_REGEX
=yes
1590 DEFAULT_wxUSE_ZLIB
=yes
1591 DEFAULT_wxUSE_LIBPNG
=yes
1592 DEFAULT_wxUSE_LIBJPEG
=yes
1593 DEFAULT_wxUSE_LIBTIFF
=yes
1594 DEFAULT_wxUSE_ODBC
=no
1595 DEFAULT_wxUSE_FREETYPE
=no
1596 DEFAULT_wxUSE_OPENGL
=no
1598 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
1599 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
1600 DEFAULT_wxUSE_STD_IOSTREAM
=no
1601 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
1602 DEFAULT_wxUSE_DATETIME
=yes
1603 DEFAULT_wxUSE_TIMEDATE
=no
1604 DEFAULT_wxUSE_TIMER
=yes
1605 DEFAULT_wxUSE_STOPWATCH
=yes
1606 DEFAULT_wxUSE_FILE
=yes
1607 DEFAULT_wxUSE_FFILE
=yes
1608 DEFAULT_wxUSE_TEXTBUFFER
=yes
1609 DEFAULT_wxUSE_TEXTFILE
=yes
1610 DEFAULT_wxUSE_WAVE
=no
1611 DEFAULT_wxUSE_INTL
=yes
1612 DEFAULT_wxUSE_CONFIG
=yes
1613 DEFAULT_wxUSE_FONTMAP
=yes
1614 DEFAULT_wxUSE_STREAMS
=yes
1615 DEFAULT_wxUSE_SOCKETS
=yes
1616 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
1617 DEFAULT_wxUSE_SERIAL
=yes
1618 DEFAULT_wxUSE_JOYSTICK
=yes
1619 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
1620 DEFAULT_wxUSE_LONGLONG
=yes
1621 DEFAULT_wxUSE_GEOMETRY
=yes
1623 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
1624 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
1625 DEFAULT_wxUSE_POSTSCRIPT
=yes
1627 DEFAULT_wxUSE_X_RESOURCES
=no
1628 DEFAULT_wxUSE_CLIPBOARD
=yes
1629 DEFAULT_wxUSE_TOOLTIPS
=yes
1630 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
1631 DEFAULT_wxUSE_DRAGIMAGE
=yes
1632 DEFAULT_wxUSE_SPLINES
=yes
1634 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
1635 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
1636 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
1638 DEFAULT_wxUSE_PROLOGIO
=yes
1639 DEFAULT_wxUSE_RESOURCES
=yes
1640 DEFAULT_wxUSE_CONSTRAINTS
=yes
1641 DEFAULT_wxUSE_IPC
=yes
1642 DEFAULT_wxUSE_HELP
=yes
1643 DEFAULT_wxUSE_MS_HTML_HELP
=yes
1644 DEFAULT_wxUSE_WXHTML_HELP
=yes
1645 DEFAULT_wxUSE_TREELAYOUT
=yes
1646 DEFAULT_wxUSE_METAFILE
=yes
1647 DEFAULT_wxUSE_MIMETYPE
=yes
1648 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
1650 DEFAULT_wxUSE_COMMONDLGS
=yes
1651 DEFAULT_wxUSE_CHOICEDLG
=yes
1652 DEFAULT_wxUSE_COLOURDLG
=yes
1653 DEFAULT_wxUSE_DIRDLG
=yes
1654 DEFAULT_wxUSE_FILEDLG
=yes
1655 DEFAULT_wxUSE_FINDREPLDLG
=yes
1656 DEFAULT_wxUSE_FONTDLG
=yes
1657 DEFAULT_wxUSE_MSGDLG
=yes
1658 DEFAULT_wxUSE_NUMBERDLG
=yes
1659 DEFAULT_wxUSE_TEXTDLG
=yes
1660 DEFAULT_wxUSE_SPLASH
=yes
1661 DEFAULT_wxUSE_STARTUP_TIPS
=yes
1662 DEFAULT_wxUSE_PROGRESSDLG
=yes
1663 DEFAULT_wxUSE_WIZARDDLG
=yes
1665 DEFAULT_wxUSE_MENUS
=yes
1666 DEFAULT_wxUSE_MINIFRAME
=yes
1667 DEFAULT_wxUSE_HTML
=yes
1668 DEFAULT_wxUSE_FILESYSTEM
=yes
1669 DEFAULT_wxUSE_FS_INET
=yes
1670 DEFAULT_wxUSE_FS_ZIP
=yes
1671 DEFAULT_wxUSE_BUSYINFO
=yes
1672 DEFAULT_wxUSE_ZIPSTREAM
=yes
1673 DEFAULT_wxUSE_VALIDATORS
=yes
1675 DEFAULT_wxUSE_ACCEL
=yes
1676 DEFAULT_wxUSE_BUTTON
=yes
1677 DEFAULT_wxUSE_BMPBUTTON
=yes
1678 DEFAULT_wxUSE_CALCTRL
=yes
1679 DEFAULT_wxUSE_CARET
=yes
1680 DEFAULT_wxUSE_CHECKBOX
=yes
1681 DEFAULT_wxUSE_CHECKLST
=yes
1682 DEFAULT_wxUSE_CHOICE
=yes
1683 DEFAULT_wxUSE_COMBOBOX
=yes
1684 DEFAULT_wxUSE_GAUGE
=yes
1685 DEFAULT_wxUSE_GRID
=yes
1686 DEFAULT_wxUSE_NEW_GRID
=yes
1687 DEFAULT_wxUSE_IMAGLIST
=yes
1688 DEFAULT_wxUSE_LISTBOX
=yes
1689 DEFAULT_wxUSE_LISTCTRL
=yes
1690 DEFAULT_wxUSE_NOTEBOOK
=yes
1691 DEFAULT_wxUSE_PROPSHEET
=yes
1692 DEFAULT_wxUSE_RADIOBOX
=yes
1693 DEFAULT_wxUSE_RADIOBTN
=yes
1694 DEFAULT_wxUSE_SASH
=yes
1695 DEFAULT_wxUSE_SCROLLBAR
=yes
1696 DEFAULT_wxUSE_SLIDER
=yes
1697 DEFAULT_wxUSE_SPINBTN
=yes
1698 DEFAULT_wxUSE_SPINCTRL
=yes
1699 DEFAULT_wxUSE_SPLITTER
=yes
1700 DEFAULT_wxUSE_STATBMP
=yes
1701 DEFAULT_wxUSE_STATBOX
=yes
1702 DEFAULT_wxUSE_STATLINE
=yes
1703 DEFAULT_wxUSE_STATTEXT
=yes
1704 DEFAULT_wxUSE_STATUSBAR
=yes
1705 DEFAULT_wxUSE_TABDIALOG
=no
1706 DEFAULT_wxUSE_TEXTCTRL
=yes
1707 DEFAULT_wxUSE_TOGGLEBTN
=yes
1708 DEFAULT_wxUSE_TOOLBAR
=yes
1709 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
1710 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
1711 DEFAULT_wxUSE_TREECTRL
=yes
1712 DEFAULT_wxUSE_POPUPWIN
=yes
1713 DEFAULT_wxUSE_TIPWINDOW
=yes
1715 DEFAULT_wxUSE_UNICODE
=no
1716 DEFAULT_wxUSE_WCSRTOMBS
=no
1718 DEFAULT_wxUSE_PALETTE
=yes
1719 DEFAULT_wxUSE_IMAGE
=yes
1720 DEFAULT_wxUSE_GIF
=yes
1721 DEFAULT_wxUSE_PCX
=yes
1722 DEFAULT_wxUSE_PNM
=yes
1723 DEFAULT_wxUSE_XPM
=yes
1728 for toolkit
in `echo $ALL_TOOLKITS`; do
1729 LINE
=`grep "wxUSE_$toolkit" ${wx_arg_cache_file}`
1730 if test "x$LINE" != x
; then
1731 has_toolkit_in_cache
=1
1732 eval "DEFAULT_$LINE"
1733 eval "CACHE_$toolkit=1"
1739 echo $ac_n "checking for --enable-gui""... $ac_c" 1>&6
1740 echo "configure:1741: checking for --enable-gui" >&5
1742 # Check whether --enable-gui or --disable-gui was given.
1743 if test "${enable_gui+set}" = set; then
1744 enableval
="$enable_gui"
1746 if test "$enableval" = yes; then
1747 ac_cv_use_gui
='wxUSE_GUI=yes'
1749 ac_cv_use_gui
='wxUSE_GUI=no'
1754 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
1755 if test "x$LINE" != x
; then
1756 eval "DEFAULT_$LINE"
1761 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
1766 eval "$ac_cv_use_gui"
1767 if test "$no_cache" != 1; then
1768 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
1771 if test "$wxUSE_GUI" = yes; then
1772 echo "$ac_t""yes" 1>&6
1774 echo "$ac_t""no" 1>&6
1778 if test "$wxUSE_GUI" = "yes"; then
1781 echo $ac_n "checking for --enable-universal""... $ac_c" 1>&6
1782 echo "configure:1783: checking for --enable-universal" >&5
1784 # Check whether --enable-universal or --disable-universal was given.
1785 if test "${enable_universal+set}" = set; then
1786 enableval
="$enable_universal"
1788 if test "$enableval" = yes; then
1789 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
1791 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
1796 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
1797 if test "x$LINE" != x
; then
1798 eval "DEFAULT_$LINE"
1803 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
1808 eval "$ac_cv_use_universal"
1809 if test "$no_cache" != 1; then
1810 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
1813 if test "$wxUSE_UNIVERSAL" = yes; then
1814 echo "$ac_t""yes" 1>&6
1816 echo "$ac_t""no" 1>&6
1819 # Check whether --with-gtk or --without-gtk was given.
1820 if test "${with_gtk+set}" = set; then
1822 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
1825 # Check whether --with-motif or --without-motif was given.
1826 if test "${with_motif+set}" = set; then
1827 withval
="$with_motif"
1828 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
1831 # Check whether --with-mac or --without-mac was given.
1832 if test "${with_mac+set}" = set; then
1834 wxUSE_MAC
="$withval" TOOLKIT_GIVEN
=1
1837 # Check whether --with-wine or --without-wine was given.
1838 if test "${with_wine+set}" = set; then
1839 withval
="$with_wine"
1840 wxUSE_WINE
="$withval" CACHE_WINE
=1 TOOLKIT_GIVEN
=1
1843 # Check whether --with-msw or --without-msw was given.
1844 if test "${with_msw+set}" = set; then
1846 wxUSE_MSW
="$withval" CACHE_MSW TOOLKIT_GIVEN
=1
1849 # Check whether --with-pm or --without-pm was given.
1850 if test "${with_pm+set}" = set; then
1852 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
1855 # Check whether --with-mgl or --without-mgl was given.
1856 if test "${with_mgl+set}" = set; then
1858 wxUSE_MGL
="$withval" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
1862 # Check whether --enable-gtk2 or --disable-gtk2 was given.
1863 if test "${enable_gtk2+set}" = set; then
1864 enableval
="$enable_gtk2"
1872 echo $ac_n "checking for --with-libpng""... $ac_c" 1>&6
1873 echo "configure:1874: checking for --with-libpng" >&5
1875 # Check whether --with-libpng or --without-libpng was given.
1876 if test "${with_libpng+set}" = set; then
1877 withval
="$with_libpng"
1879 if test "$withval" = yes; then
1880 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
1881 elif test "$withval" = no
; then
1882 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
1883 elif test "$withval" = sys
; then
1884 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
1885 elif test "$withval" = builtin; then
1886 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
1888 { echo "configure: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" 1>&2; exit 1; }
1893 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
1894 if test "x$LINE" != x
; then
1895 eval "DEFAULT_$LINE"
1900 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
1905 eval "$ac_cv_use_libpng"
1906 if test "$no_cache" != 1; then
1907 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
1910 if test "$wxUSE_LIBPNG" = yes; then
1911 echo "$ac_t""yes" 1>&6
1912 elif test "$wxUSE_LIBPNG" = no
; then
1913 echo "$ac_t""no" 1>&6
1914 elif test "$wxUSE_LIBPNG" = sys
; then
1915 echo "$ac_t""system version" 1>&6
1916 elif test "$wxUSE_LIBPNG" = builtin; then
1917 echo "$ac_t""builtin version" 1>&6
1919 { echo "configure: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" 1>&2; exit 1; }
1923 echo $ac_n "checking for --with-libjpeg""... $ac_c" 1>&6
1924 echo "configure:1925: checking for --with-libjpeg" >&5
1926 # Check whether --with-libjpeg or --without-libjpeg was given.
1927 if test "${with_libjpeg+set}" = set; then
1928 withval
="$with_libjpeg"
1930 if test "$withval" = yes; then
1931 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
1932 elif test "$withval" = no
; then
1933 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
1934 elif test "$withval" = sys
; then
1935 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
1936 elif test "$withval" = builtin; then
1937 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
1939 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" 1>&2; exit 1; }
1944 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
1945 if test "x$LINE" != x
; then
1946 eval "DEFAULT_$LINE"
1951 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
1956 eval "$ac_cv_use_libjpeg"
1957 if test "$no_cache" != 1; then
1958 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
1961 if test "$wxUSE_LIBJPEG" = yes; then
1962 echo "$ac_t""yes" 1>&6
1963 elif test "$wxUSE_LIBJPEG" = no
; then
1964 echo "$ac_t""no" 1>&6
1965 elif test "$wxUSE_LIBJPEG" = sys
; then
1966 echo "$ac_t""system version" 1>&6
1967 elif test "$wxUSE_LIBJPEG" = builtin; then
1968 echo "$ac_t""builtin version" 1>&6
1970 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" 1>&2; exit 1; }
1974 echo $ac_n "checking for --with-libtiff""... $ac_c" 1>&6
1975 echo "configure:1976: checking for --with-libtiff" >&5
1977 # Check whether --with-libtiff or --without-libtiff was given.
1978 if test "${with_libtiff+set}" = set; then
1979 withval
="$with_libtiff"
1981 if test "$withval" = yes; then
1982 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
1983 elif test "$withval" = no
; then
1984 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
1985 elif test "$withval" = sys
; then
1986 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
1987 elif test "$withval" = builtin; then
1988 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
1990 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" 1>&2; exit 1; }
1995 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
1996 if test "x$LINE" != x
; then
1997 eval "DEFAULT_$LINE"
2002 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2007 eval "$ac_cv_use_libtiff"
2008 if test "$no_cache" != 1; then
2009 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2012 if test "$wxUSE_LIBTIFF" = yes; then
2013 echo "$ac_t""yes" 1>&6
2014 elif test "$wxUSE_LIBTIFF" = no
; then
2015 echo "$ac_t""no" 1>&6
2016 elif test "$wxUSE_LIBTIFF" = sys
; then
2017 echo "$ac_t""system version" 1>&6
2018 elif test "$wxUSE_LIBTIFF" = builtin; then
2019 echo "$ac_t""builtin version" 1>&6
2021 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2025 echo $ac_n "checking for --with-freetype""... $ac_c" 1>&6
2026 echo "configure:2027: checking for --with-freetype" >&5
2028 # Check whether --with-freetype or --without-freetype was given.
2029 if test "${with_freetype+set}" = set; then
2030 withval
="$with_freetype"
2032 if test "$withval" = yes; then
2033 ac_cv_use_freetype
='wxUSE_FREETYPE=yes'
2034 elif test "$withval" = no
; then
2035 ac_cv_use_freetype
='wxUSE_FREETYPE=no'
2036 elif test "$withval" = sys
; then
2037 ac_cv_use_freetype
='wxUSE_FREETYPE=sys'
2038 elif test "$withval" = builtin; then
2039 ac_cv_use_freetype
='wxUSE_FREETYPE=builtin'
2041 { echo "configure: error: Invalid value for --with-freetype: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2046 LINE
=`grep "wxUSE_FREETYPE" ${wx_arg_cache_file}`
2047 if test "x$LINE" != x
; then
2048 eval "DEFAULT_$LINE"
2053 ac_cv_use_freetype
='wxUSE_FREETYPE='$DEFAULT_wxUSE_FREETYPE
2058 eval "$ac_cv_use_freetype"
2059 if test "$no_cache" != 1; then
2060 echo $ac_cv_use_freetype >> ${wx_arg_cache_file}.tmp
2063 if test "$wxUSE_FREETYPE" = yes; then
2064 echo "$ac_t""yes" 1>&6
2065 elif test "$wxUSE_FREETYPE" = no
; then
2066 echo "$ac_t""no" 1>&6
2067 elif test "$wxUSE_FREETYPE" = sys
; then
2068 echo "$ac_t""system version" 1>&6
2069 elif test "$wxUSE_FREETYPE" = builtin; then
2070 echo "$ac_t""builtin version" 1>&6
2072 { echo "configure: error: Invalid value for --with-freetype: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2076 echo $ac_n "checking for --with-opengl""... $ac_c" 1>&6
2077 echo "configure:2078: checking for --with-opengl" >&5
2079 # Check whether --with-opengl or --without-opengl was given.
2080 if test "${with_opengl+set}" = set; then
2081 withval
="$with_opengl"
2083 if test "$withval" = yes; then
2084 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
2086 ac_cv_use_opengl
='wxUSE_OPENGL=no'
2091 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2092 if test "x$LINE" != x
; then
2093 eval "DEFAULT_$LINE"
2098 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
2103 eval "$ac_cv_use_opengl"
2104 if test "$no_cache" != 1; then
2105 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2108 if test "$wxUSE_OPENGL" = yes; then
2109 echo "$ac_t""yes" 1>&6
2111 echo "$ac_t""no" 1>&6
2118 echo $ac_n "checking for --with-dmalloc""... $ac_c" 1>&6
2119 echo "configure:2120: checking for --with-dmalloc" >&5
2121 # Check whether --with-dmalloc or --without-dmalloc was given.
2122 if test "${with_dmalloc+set}" = set; then
2123 withval
="$with_dmalloc"
2125 if test "$withval" = yes; then
2126 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
2128 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
2133 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2134 if test "x$LINE" != x
; then
2135 eval "DEFAULT_$LINE"
2140 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
2145 eval "$ac_cv_use_dmalloc"
2146 if test "$no_cache" != 1; then
2147 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2150 if test "$wxUSE_DMALLOC" = yes; then
2151 echo "$ac_t""yes" 1>&6
2153 echo "$ac_t""no" 1>&6
2157 echo $ac_n "checking for --with-regex""... $ac_c" 1>&6
2158 echo "configure:2159: checking for --with-regex" >&5
2160 # Check whether --with-regex or --without-regex was given.
2161 if test "${with_regex+set}" = set; then
2162 withval
="$with_regex"
2164 if test "$withval" = yes; then
2165 ac_cv_use_regex
='wxUSE_REGEX=yes'
2166 elif test "$withval" = no
; then
2167 ac_cv_use_regex
='wxUSE_REGEX=no'
2168 elif test "$withval" = sys
; then
2169 ac_cv_use_regex
='wxUSE_REGEX=sys'
2170 elif test "$withval" = builtin; then
2171 ac_cv_use_regex
='wxUSE_REGEX=builtin'
2173 { echo "configure: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2178 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
2179 if test "x$LINE" != x
; then
2180 eval "DEFAULT_$LINE"
2185 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
2190 eval "$ac_cv_use_regex"
2191 if test "$no_cache" != 1; then
2192 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
2195 if test "$wxUSE_REGEX" = yes; then
2196 echo "$ac_t""yes" 1>&6
2197 elif test "$wxUSE_REGEX" = no
; then
2198 echo "$ac_t""no" 1>&6
2199 elif test "$wxUSE_REGEX" = sys
; then
2200 echo "$ac_t""system version" 1>&6
2201 elif test "$wxUSE_REGEX" = builtin; then
2202 echo "$ac_t""builtin version" 1>&6
2204 { echo "configure: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2208 echo $ac_n "checking for --with-zlib""... $ac_c" 1>&6
2209 echo "configure:2210: checking for --with-zlib" >&5
2211 # Check whether --with-zlib or --without-zlib was given.
2212 if test "${with_zlib+set}" = set; then
2213 withval
="$with_zlib"
2215 if test "$withval" = yes; then
2216 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
2217 elif test "$withval" = no
; then
2218 ac_cv_use_zlib
='wxUSE_ZLIB=no'
2219 elif test "$withval" = sys
; then
2220 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
2221 elif test "$withval" = builtin; then
2222 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
2224 { echo "configure: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2229 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2230 if test "x$LINE" != x
; then
2231 eval "DEFAULT_$LINE"
2236 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
2241 eval "$ac_cv_use_zlib"
2242 if test "$no_cache" != 1; then
2243 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2246 if test "$wxUSE_ZLIB" = yes; then
2247 echo "$ac_t""yes" 1>&6
2248 elif test "$wxUSE_ZLIB" = no
; then
2249 echo "$ac_t""no" 1>&6
2250 elif test "$wxUSE_ZLIB" = sys
; then
2251 echo "$ac_t""system version" 1>&6
2252 elif test "$wxUSE_ZLIB" = builtin; then
2253 echo "$ac_t""builtin version" 1>&6
2255 { echo "configure: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2259 echo $ac_n "checking for --with-odbc""... $ac_c" 1>&6
2260 echo "configure:2261: checking for --with-odbc" >&5
2262 # Check whether --with-odbc or --without-odbc was given.
2263 if test "${with_odbc+set}" = set; then
2264 withval
="$with_odbc"
2266 if test "$withval" = yes; then
2267 ac_cv_use_odbc
='wxUSE_ODBC=yes'
2269 ac_cv_use_odbc
='wxUSE_ODBC=no'
2274 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
2275 if test "x$LINE" != x
; then
2276 eval "DEFAULT_$LINE"
2281 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
2286 eval "$ac_cv_use_odbc"
2287 if test "$no_cache" != 1; then
2288 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
2291 if test "$wxUSE_ODBC" = yes; then
2292 echo "$ac_t""yes" 1>&6
2294 echo "$ac_t""no" 1>&6
2300 echo $ac_n "checking for --enable-shared""... $ac_c" 1>&6
2301 echo "configure:2302: checking for --enable-shared" >&5
2303 # Check whether --enable-shared or --disable-shared was given.
2304 if test "${enable_shared+set}" = set; then
2305 enableval
="$enable_shared"
2307 if test "$enableval" = yes; then
2308 ac_cv_use_shared
='wxUSE_SHARED=yes'
2310 ac_cv_use_shared
='wxUSE_SHARED=no'
2315 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
2316 if test "x$LINE" != x
; then
2317 eval "DEFAULT_$LINE"
2322 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
2327 eval "$ac_cv_use_shared"
2328 if test "$no_cache" != 1; then
2329 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
2332 if test "$wxUSE_SHARED" = yes; then
2333 echo "$ac_t""yes" 1>&6
2335 echo "$ac_t""no" 1>&6
2339 echo $ac_n "checking for --enable-soname""... $ac_c" 1>&6
2340 echo "configure:2341: checking for --enable-soname" >&5
2342 # Check whether --enable-soname or --disable-soname was given.
2343 if test "${enable_soname+set}" = set; then
2344 enableval
="$enable_soname"
2346 if test "$enableval" = yes; then
2347 ac_cv_use_soname
='wxUSE_SONAME=yes'
2349 ac_cv_use_soname
='wxUSE_SONAME=no'
2354 LINE
=`grep "wxUSE_SONAME" ${wx_arg_cache_file}`
2355 if test "x$LINE" != x
; then
2356 eval "DEFAULT_$LINE"
2361 ac_cv_use_soname
='wxUSE_SONAME='$DEFAULT_wxUSE_SONAME
2366 eval "$ac_cv_use_soname"
2367 if test "$no_cache" != 1; then
2368 echo $ac_cv_use_soname >> ${wx_arg_cache_file}.tmp
2371 if test "$wxUSE_SONAME" = yes; then
2372 echo "$ac_t""yes" 1>&6
2374 echo "$ac_t""no" 1>&6
2378 echo $ac_n "checking for --enable-optimise""... $ac_c" 1>&6
2379 echo "configure:2380: checking for --enable-optimise" >&5
2381 # Check whether --enable-optimise or --disable-optimise was given.
2382 if test "${enable_optimise+set}" = set; then
2383 enableval
="$enable_optimise"
2385 if test "$enableval" = yes; then
2386 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
2388 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
2393 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
2394 if test "x$LINE" != x
; then
2395 eval "DEFAULT_$LINE"
2400 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
2405 eval "$ac_cv_use_optimise"
2406 if test "$no_cache" != 1; then
2407 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
2410 if test "$wxUSE_OPTIMISE" = yes; then
2411 echo "$ac_t""yes" 1>&6
2413 echo "$ac_t""no" 1>&6
2417 echo $ac_n "checking for --enable-debug""... $ac_c" 1>&6
2418 echo "configure:2419: checking for --enable-debug" >&5
2420 # Check whether --enable-debug or --disable-debug was given.
2421 if test "${enable_debug+set}" = set; then
2422 enableval
="$enable_debug"
2424 if test "$enableval" = yes; then
2425 ac_cv_use_debug
='wxUSE_DEBUG=yes'
2427 ac_cv_use_debug
='wxUSE_DEBUG=no'
2432 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
2433 if test "x$LINE" != x
; then
2434 eval "DEFAULT_$LINE"
2439 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
2444 eval "$ac_cv_use_debug"
2445 if test "$no_cache" != 1; then
2446 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
2449 if test "$wxUSE_DEBUG" = yes; then
2450 echo "$ac_t""yes" 1>&6
2452 echo "$ac_t""no" 1>&6
2457 echo $ac_n "checking for --enable-precomp""... $ac_c" 1>&6
2458 echo "configure:2459: checking for --enable-precomp" >&5
2460 # Check whether --enable-precomp or --disable-precomp was given.
2461 if test "${enable_precomp+set}" = set; then
2462 enableval
="$enable_precomp"
2464 if test "$enableval" = yes; then
2465 ac_cv_use_precomp
='wxUSE_PRECOMP=yes'
2467 ac_cv_use_precomp
='wxUSE_PRECOMP=no'
2472 LINE
=`grep "wxUSE_PRECOMP" ${wx_arg_cache_file}`
2473 if test "x$LINE" != x
; then
2474 eval "DEFAULT_$LINE"
2479 ac_cv_use_precomp
='wxUSE_PRECOMP='$DEFAULT_wxUSE_PRECOMP
2484 eval "$ac_cv_use_precomp"
2485 if test "$no_cache" != 1; then
2486 echo $ac_cv_use_precomp >> ${wx_arg_cache_file}.tmp
2489 if test "$wxUSE_PRECOMP" = yes; then
2490 echo "$ac_t""yes" 1>&6
2492 echo "$ac_t""no" 1>&6
2496 if test "$wxUSE_DEBUG" = "yes"; then
2497 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2498 DEFAULT_wxUSE_DEBUG_INFO
=yes
2499 elif test "$wxUSE_DEBUG" = "no"; then
2500 DEFAULT_wxUSE_DEBUG_FLAG
=no
2501 DEFAULT_wxUSE_DEBUG_INFO
=no
2505 echo $ac_n "checking for --enable-debug_flag""... $ac_c" 1>&6
2506 echo "configure:2507: checking for --enable-debug_flag" >&5
2508 # Check whether --enable-debug_flag or --disable-debug_flag was given.
2509 if test "${enable_debug_flag+set}" = set; then
2510 enableval
="$enable_debug_flag"
2512 if test "$enableval" = yes; then
2513 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
2515 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
2520 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
2521 if test "x$LINE" != x
; then
2522 eval "DEFAULT_$LINE"
2527 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
2532 eval "$ac_cv_use_debug_flag"
2533 if test "$no_cache" != 1; then
2534 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
2537 if test "$wxUSE_DEBUG_FLAG" = yes; then
2538 echo "$ac_t""yes" 1>&6
2540 echo "$ac_t""no" 1>&6
2544 echo $ac_n "checking for --enable-debug_info""... $ac_c" 1>&6
2545 echo "configure:2546: checking for --enable-debug_info" >&5
2547 # Check whether --enable-debug_info or --disable-debug_info was given.
2548 if test "${enable_debug_info+set}" = set; then
2549 enableval
="$enable_debug_info"
2551 if test "$enableval" = yes; then
2552 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
2554 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
2559 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
2560 if test "x$LINE" != x
; then
2561 eval "DEFAULT_$LINE"
2566 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
2571 eval "$ac_cv_use_debug_info"
2572 if test "$no_cache" != 1; then
2573 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
2576 if test "$wxUSE_DEBUG_INFO" = yes; then
2577 echo "$ac_t""yes" 1>&6
2579 echo "$ac_t""no" 1>&6
2583 echo $ac_n "checking for --enable-debug_gdb""... $ac_c" 1>&6
2584 echo "configure:2585: checking for --enable-debug_gdb" >&5
2586 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
2587 if test "${enable_debug_gdb+set}" = set; then
2588 enableval
="$enable_debug_gdb"
2590 if test "$enableval" = yes; then
2591 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
2593 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
2598 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
2599 if test "x$LINE" != x
; then
2600 eval "DEFAULT_$LINE"
2605 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
2610 eval "$ac_cv_use_debug_gdb"
2611 if test "$no_cache" != 1; then
2612 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
2615 if test "$wxUSE_DEBUG_GDB" = yes; then
2616 echo "$ac_t""yes" 1>&6
2618 echo "$ac_t""no" 1>&6
2622 echo $ac_n "checking for --enable-debug_cntxt""... $ac_c" 1>&6
2623 echo "configure:2624: checking for --enable-debug_cntxt" >&5
2625 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
2626 if test "${enable_debug_cntxt+set}" = set; then
2627 enableval
="$enable_debug_cntxt"
2629 if test "$enableval" = yes; then
2630 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
2632 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
2637 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2638 if test "x$LINE" != x
; then
2639 eval "DEFAULT_$LINE"
2644 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2649 eval "$ac_cv_use_debug_cntxt"
2650 if test "$no_cache" != 1; then
2651 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2654 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2655 echo "$ac_t""yes" 1>&6
2657 echo "$ac_t""no" 1>&6
2661 echo $ac_n "checking for --enable-mem_tracing""... $ac_c" 1>&6
2662 echo "configure:2663: checking for --enable-mem_tracing" >&5
2664 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2665 if test "${enable_mem_tracing+set}" = set; then
2666 enableval
="$enable_mem_tracing"
2668 if test "$enableval" = yes; then
2669 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
2671 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
2676 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2677 if test "x$LINE" != x
; then
2678 eval "DEFAULT_$LINE"
2683 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2688 eval "$ac_cv_use_mem_tracing"
2689 if test "$no_cache" != 1; then
2690 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2693 if test "$wxUSE_MEM_TRACING" = yes; then
2694 echo "$ac_t""yes" 1>&6
2696 echo "$ac_t""no" 1>&6
2700 echo $ac_n "checking for --enable-profile""... $ac_c" 1>&6
2701 echo "configure:2702: checking for --enable-profile" >&5
2703 # Check whether --enable-profile or --disable-profile was given.
2704 if test "${enable_profile+set}" = set; then
2705 enableval
="$enable_profile"
2707 if test "$enableval" = yes; then
2708 ac_cv_use_profile
='wxUSE_PROFILE=yes'
2710 ac_cv_use_profile
='wxUSE_PROFILE=no'
2715 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2716 if test "x$LINE" != x
; then
2717 eval "DEFAULT_$LINE"
2722 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2727 eval "$ac_cv_use_profile"
2728 if test "$no_cache" != 1; then
2729 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2732 if test "$wxUSE_PROFILE" = yes; then
2733 echo "$ac_t""yes" 1>&6
2735 echo "$ac_t""no" 1>&6
2739 echo $ac_n "checking for --enable-no_rtti""... $ac_c" 1>&6
2740 echo "configure:2741: checking for --enable-no_rtti" >&5
2742 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2743 if test "${enable_no_rtti+set}" = set; then
2744 enableval
="$enable_no_rtti"
2746 if test "$enableval" = yes; then
2747 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
2749 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
2754 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2755 if test "x$LINE" != x
; then
2756 eval "DEFAULT_$LINE"
2761 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2766 eval "$ac_cv_use_no_rtti"
2767 if test "$no_cache" != 1; then
2768 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2771 if test "$wxUSE_NO_RTTI" = yes; then
2772 echo "$ac_t""yes" 1>&6
2774 echo "$ac_t""no" 1>&6
2778 echo $ac_n "checking for --enable-no_exceptions""... $ac_c" 1>&6
2779 echo "configure:2780: checking for --enable-no_exceptions" >&5
2781 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2782 if test "${enable_no_exceptions+set}" = set; then
2783 enableval
="$enable_no_exceptions"
2785 if test "$enableval" = yes; then
2786 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
2788 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
2793 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2794 if test "x$LINE" != x
; then
2795 eval "DEFAULT_$LINE"
2800 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2805 eval "$ac_cv_use_no_exceptions"
2806 if test "$no_cache" != 1; then
2807 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2810 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2811 echo "$ac_t""yes" 1>&6
2813 echo "$ac_t""no" 1>&6
2817 echo $ac_n "checking for --enable-permissive""... $ac_c" 1>&6
2818 echo "configure:2819: checking for --enable-permissive" >&5
2820 # Check whether --enable-permissive or --disable-permissive was given.
2821 if test "${enable_permissive+set}" = set; then
2822 enableval
="$enable_permissive"
2824 if test "$enableval" = yes; then
2825 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
2827 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
2832 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2833 if test "x$LINE" != x
; then
2834 eval "DEFAULT_$LINE"
2839 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
2844 eval "$ac_cv_use_permissive"
2845 if test "$no_cache" != 1; then
2846 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
2849 if test "$wxUSE_PERMISSIVE" = yes; then
2850 echo "$ac_t""yes" 1>&6
2852 echo "$ac_t""no" 1>&6
2856 echo $ac_n "checking for --enable-no_deps""... $ac_c" 1>&6
2857 echo "configure:2858: checking for --enable-no_deps" >&5
2859 # Check whether --enable-no_deps or --disable-no_deps was given.
2860 if test "${enable_no_deps+set}" = set; then
2861 enableval
="$enable_no_deps"
2863 if test "$enableval" = yes; then
2864 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
2866 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
2871 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
2872 if test "x$LINE" != x
; then
2873 eval "DEFAULT_$LINE"
2878 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
2883 eval "$ac_cv_use_no_deps"
2884 if test "$no_cache" != 1; then
2885 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
2888 if test "$wxUSE_NO_DEPS" = yes; then
2889 echo "$ac_t""yes" 1>&6
2891 echo "$ac_t""no" 1>&6
2896 echo $ac_n "checking for --enable-compat20""... $ac_c" 1>&6
2897 echo "configure:2898: checking for --enable-compat20" >&5
2899 # Check whether --enable-compat20 or --disable-compat20 was given.
2900 if test "${enable_compat20+set}" = set; then
2901 enableval
="$enable_compat20"
2903 if test "$enableval" = yes; then
2904 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=yes'
2906 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=no'
2911 LINE
=`grep "WXWIN_COMPATIBILITY_2" ${wx_arg_cache_file}`
2912 if test "x$LINE" != x
; then
2913 eval "DEFAULT_$LINE"
2918 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2='$DEFAULT_WXWIN_COMPATIBILITY_2
2923 eval "$ac_cv_use_compat20"
2924 if test "$no_cache" != 1; then
2925 echo $ac_cv_use_compat20 >> ${wx_arg_cache_file}.tmp
2928 if test "$WXWIN_COMPATIBILITY_2" = yes; then
2929 echo "$ac_t""yes" 1>&6
2931 echo "$ac_t""no" 1>&6
2935 echo $ac_n "checking for --enable-compat22""... $ac_c" 1>&6
2936 echo "configure:2937: checking for --enable-compat22" >&5
2938 # Check whether --enable-compat22 or --disable-compat22 was given.
2939 if test "${enable_compat22+set}" = set; then
2940 enableval
="$enable_compat22"
2942 if test "$enableval" = yes; then
2943 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
2945 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
2950 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
2951 if test "x$LINE" != x
; then
2952 eval "DEFAULT_$LINE"
2957 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
2962 eval "$ac_cv_use_compat22"
2963 if test "$no_cache" != 1; then
2964 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
2967 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
2968 echo "$ac_t""yes" 1>&6
2970 echo "$ac_t""no" 1>&6
2976 echo $ac_n "checking for --enable-intl""... $ac_c" 1>&6
2977 echo "configure:2978: checking for --enable-intl" >&5
2979 # Check whether --enable-intl or --disable-intl was given.
2980 if test "${enable_intl+set}" = set; then
2981 enableval
="$enable_intl"
2983 if test "$enableval" = yes; then
2984 ac_cv_use_intl
='wxUSE_INTL=yes'
2986 ac_cv_use_intl
='wxUSE_INTL=no'
2991 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
2992 if test "x$LINE" != x
; then
2993 eval "DEFAULT_$LINE"
2998 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
3003 eval "$ac_cv_use_intl"
3004 if test "$no_cache" != 1; then
3005 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
3008 if test "$wxUSE_INTL" = yes; then
3009 echo "$ac_t""yes" 1>&6
3011 echo "$ac_t""no" 1>&6
3015 echo $ac_n "checking for --enable-config""... $ac_c" 1>&6
3016 echo "configure:3017: checking for --enable-config" >&5
3018 # Check whether --enable-config or --disable-config was given.
3019 if test "${enable_config+set}" = set; then
3020 enableval
="$enable_config"
3022 if test "$enableval" = yes; then
3023 ac_cv_use_config
='wxUSE_CONFIG=yes'
3025 ac_cv_use_config
='wxUSE_CONFIG=no'
3030 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
3031 if test "x$LINE" != x
; then
3032 eval "DEFAULT_$LINE"
3037 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
3042 eval "$ac_cv_use_config"
3043 if test "$no_cache" != 1; then
3044 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
3047 if test "$wxUSE_CONFIG" = yes; then
3048 echo "$ac_t""yes" 1>&6
3050 echo "$ac_t""no" 1>&6
3055 echo $ac_n "checking for --enable-sockets""... $ac_c" 1>&6
3056 echo "configure:3057: checking for --enable-sockets" >&5
3058 # Check whether --enable-sockets or --disable-sockets was given.
3059 if test "${enable_sockets+set}" = set; then
3060 enableval
="$enable_sockets"
3062 if test "$enableval" = yes; then
3063 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
3065 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
3070 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
3071 if test "x$LINE" != x
; then
3072 eval "DEFAULT_$LINE"
3077 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
3082 eval "$ac_cv_use_sockets"
3083 if test "$no_cache" != 1; then
3084 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
3087 if test "$wxUSE_SOCKETS" = yes; then
3088 echo "$ac_t""yes" 1>&6
3090 echo "$ac_t""no" 1>&6
3095 echo $ac_n "checking for --enable-ipc""... $ac_c" 1>&6
3096 echo "configure:3097: checking for --enable-ipc" >&5
3098 # Check whether --enable-ipc or --disable-ipc was given.
3099 if test "${enable_ipc+set}" = set; then
3100 enableval
="$enable_ipc"
3102 if test "$enableval" = yes; then
3103 ac_cv_use_ipc
='wxUSE_IPC=yes'
3105 ac_cv_use_ipc
='wxUSE_IPC=no'
3110 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
3111 if test "x$LINE" != x
; then
3112 eval "DEFAULT_$LINE"
3117 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
3122 eval "$ac_cv_use_ipc"
3123 if test "$no_cache" != 1; then
3124 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
3127 if test "$wxUSE_IPC" = yes; then
3128 echo "$ac_t""yes" 1>&6
3130 echo "$ac_t""no" 1>&6
3135 echo $ac_n "checking for --enable-cmdline""... $ac_c" 1>&6
3136 echo "configure:3137: checking for --enable-cmdline" >&5
3138 # Check whether --enable-cmdline or --disable-cmdline was given.
3139 if test "${enable_cmdline+set}" = set; then
3140 enableval
="$enable_cmdline"
3142 if test "$enableval" = yes; then
3143 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
3145 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
3150 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
3151 if test "x$LINE" != x
; then
3152 eval "DEFAULT_$LINE"
3157 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
3162 eval "$ac_cv_use_cmdline"
3163 if test "$no_cache" != 1; then
3164 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
3167 if test "$wxUSE_CMDLINE_PARSER" = yes; then
3168 echo "$ac_t""yes" 1>&6
3170 echo "$ac_t""no" 1>&6
3174 echo $ac_n "checking for --enable-datetime""... $ac_c" 1>&6
3175 echo "configure:3176: checking for --enable-datetime" >&5
3177 # Check whether --enable-datetime or --disable-datetime was given.
3178 if test "${enable_datetime+set}" = set; then
3179 enableval
="$enable_datetime"
3181 if test "$enableval" = yes; then
3182 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
3184 ac_cv_use_datetime
='wxUSE_DATETIME=no'
3189 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
3190 if test "x$LINE" != x
; then
3191 eval "DEFAULT_$LINE"
3196 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
3201 eval "$ac_cv_use_datetime"
3202 if test "$no_cache" != 1; then
3203 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
3206 if test "$wxUSE_DATETIME" = yes; then
3207 echo "$ac_t""yes" 1>&6
3209 echo "$ac_t""no" 1>&6
3213 echo $ac_n "checking for --enable-timedate""... $ac_c" 1>&6
3214 echo "configure:3215: checking for --enable-timedate" >&5
3216 # Check whether --enable-timedate or --disable-timedate was given.
3217 if test "${enable_timedate+set}" = set; then
3218 enableval
="$enable_timedate"
3220 if test "$enableval" = yes; then
3221 ac_cv_use_timedate
='wxUSE_TIMEDATE=yes'
3223 ac_cv_use_timedate
='wxUSE_TIMEDATE=no'
3228 LINE
=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}`
3229 if test "x$LINE" != x
; then
3230 eval "DEFAULT_$LINE"
3235 ac_cv_use_timedate
='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
3240 eval "$ac_cv_use_timedate"
3241 if test "$no_cache" != 1; then
3242 echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp
3245 if test "$wxUSE_TIMEDATE" = yes; then
3246 echo "$ac_t""yes" 1>&6
3248 echo "$ac_t""no" 1>&6
3252 echo $ac_n "checking for --enable-stopwatch""... $ac_c" 1>&6
3253 echo "configure:3254: checking for --enable-stopwatch" >&5
3255 # Check whether --enable-stopwatch or --disable-stopwatch was given.
3256 if test "${enable_stopwatch+set}" = set; then
3257 enableval
="$enable_stopwatch"
3259 if test "$enableval" = yes; then
3260 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
3262 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
3267 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
3268 if test "x$LINE" != x
; then
3269 eval "DEFAULT_$LINE"
3274 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
3279 eval "$ac_cv_use_stopwatch"
3280 if test "$no_cache" != 1; then
3281 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
3284 if test "$wxUSE_STOPWATCH" = yes; then
3285 echo "$ac_t""yes" 1>&6
3287 echo "$ac_t""no" 1>&6
3291 echo $ac_n "checking for --enable-dialupman""... $ac_c" 1>&6
3292 echo "configure:3293: checking for --enable-dialupman" >&5
3294 # Check whether --enable-dialupman or --disable-dialupman was given.
3295 if test "${enable_dialupman+set}" = set; then
3296 enableval
="$enable_dialupman"
3298 if test "$enableval" = yes; then
3299 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
3301 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
3306 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
3307 if test "x$LINE" != x
; then
3308 eval "DEFAULT_$LINE"
3313 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
3318 eval "$ac_cv_use_dialupman"
3319 if test "$no_cache" != 1; then
3320 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
3323 if test "$wxUSE_DIALUP_MANAGER" = yes; then
3324 echo "$ac_t""yes" 1>&6
3326 echo "$ac_t""no" 1>&6
3330 echo $ac_n "checking for --enable-apple_ieee""... $ac_c" 1>&6
3331 echo "configure:3332: checking for --enable-apple_ieee" >&5
3333 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
3334 if test "${enable_apple_ieee+set}" = set; then
3335 enableval
="$enable_apple_ieee"
3337 if test "$enableval" = yes; then
3338 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
3340 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
3345 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
3346 if test "x$LINE" != x
; then
3347 eval "DEFAULT_$LINE"
3352 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
3357 eval "$ac_cv_use_apple_ieee"
3358 if test "$no_cache" != 1; then
3359 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
3362 if test "$wxUSE_APPLE_IEEE" = yes; then
3363 echo "$ac_t""yes" 1>&6
3365 echo "$ac_t""no" 1>&6
3369 echo $ac_n "checking for --enable-timer""... $ac_c" 1>&6
3370 echo "configure:3371: checking for --enable-timer" >&5
3372 # Check whether --enable-timer or --disable-timer was given.
3373 if test "${enable_timer+set}" = set; then
3374 enableval
="$enable_timer"
3376 if test "$enableval" = yes; then
3377 ac_cv_use_timer
='wxUSE_TIMER=yes'
3379 ac_cv_use_timer
='wxUSE_TIMER=no'
3384 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
3385 if test "x$LINE" != x
; then
3386 eval "DEFAULT_$LINE"
3391 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
3396 eval "$ac_cv_use_timer"
3397 if test "$no_cache" != 1; then
3398 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
3401 if test "$wxUSE_TIMER" = yes; then
3402 echo "$ac_t""yes" 1>&6
3404 echo "$ac_t""no" 1>&6
3408 echo $ac_n "checking for --enable-wave""... $ac_c" 1>&6
3409 echo "configure:3410: checking for --enable-wave" >&5
3411 # Check whether --enable-wave or --disable-wave was given.
3412 if test "${enable_wave+set}" = set; then
3413 enableval
="$enable_wave"
3415 if test "$enableval" = yes; then
3416 ac_cv_use_wave
='wxUSE_WAVE=yes'
3418 ac_cv_use_wave
='wxUSE_WAVE=no'
3423 LINE
=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
3424 if test "x$LINE" != x
; then
3425 eval "DEFAULT_$LINE"
3430 ac_cv_use_wave
='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
3435 eval "$ac_cv_use_wave"
3436 if test "$no_cache" != 1; then
3437 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
3440 if test "$wxUSE_WAVE" = yes; then
3441 echo "$ac_t""yes" 1>&6
3443 echo "$ac_t""no" 1>&6
3447 echo $ac_n "checking for --enable-fraction""... $ac_c" 1>&6
3448 echo "configure:3449: checking for --enable-fraction" >&5
3450 # Check whether --enable-fraction or --disable-fraction was given.
3451 if test "${enable_fraction+set}" = set; then
3452 enableval
="$enable_fraction"
3454 if test "$enableval" = yes; then
3455 ac_cv_use_fraction
='wxUSE_FRACTION=yes'
3457 ac_cv_use_fraction
='wxUSE_FRACTION=no'
3462 LINE
=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
3463 if test "x$LINE" != x
; then
3464 eval "DEFAULT_$LINE"
3469 ac_cv_use_fraction
='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
3474 eval "$ac_cv_use_fraction"
3475 if test "$no_cache" != 1; then
3476 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
3479 if test "$wxUSE_FRACTION" = yes; then
3480 echo "$ac_t""yes" 1>&6
3482 echo "$ac_t""no" 1>&6
3486 echo $ac_n "checking for --enable-dynlib""... $ac_c" 1>&6
3487 echo "configure:3488: checking for --enable-dynlib" >&5
3489 # Check whether --enable-dynlib or --disable-dynlib was given.
3490 if test "${enable_dynlib+set}" = set; then
3491 enableval
="$enable_dynlib"
3493 if test "$enableval" = yes; then
3494 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
3496 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
3501 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
3502 if test "x$LINE" != x
; then
3503 eval "DEFAULT_$LINE"
3508 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
3513 eval "$ac_cv_use_dynlib"
3514 if test "$no_cache" != 1; then
3515 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
3518 if test "$wxUSE_DYNLIB_CLASS" = yes; then
3519 echo "$ac_t""yes" 1>&6
3521 echo "$ac_t""no" 1>&6
3525 echo $ac_n "checking for --enable-longlong""... $ac_c" 1>&6
3526 echo "configure:3527: checking for --enable-longlong" >&5
3528 # Check whether --enable-longlong or --disable-longlong was given.
3529 if test "${enable_longlong+set}" = set; then
3530 enableval
="$enable_longlong"
3532 if test "$enableval" = yes; then
3533 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
3535 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
3540 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
3541 if test "x$LINE" != x
; then
3542 eval "DEFAULT_$LINE"
3547 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
3552 eval "$ac_cv_use_longlong"
3553 if test "$no_cache" != 1; then
3554 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
3557 if test "$wxUSE_LONGLONG" = yes; then
3558 echo "$ac_t""yes" 1>&6
3560 echo "$ac_t""no" 1>&6
3564 echo $ac_n "checking for --enable-geometry""... $ac_c" 1>&6
3565 echo "configure:3566: checking for --enable-geometry" >&5
3567 # Check whether --enable-geometry or --disable-geometry was given.
3568 if test "${enable_geometry+set}" = set; then
3569 enableval
="$enable_geometry"
3571 if test "$enableval" = yes; then
3572 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
3574 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
3579 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
3580 if test "x$LINE" != x
; then
3581 eval "DEFAULT_$LINE"
3586 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
3591 eval "$ac_cv_use_geometry"
3592 if test "$no_cache" != 1; then
3593 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
3596 if test "$wxUSE_GEOMETRY" = yes; then
3597 echo "$ac_t""yes" 1>&6
3599 echo "$ac_t""no" 1>&6
3603 echo $ac_n "checking for --enable-log""... $ac_c" 1>&6
3604 echo "configure:3605: checking for --enable-log" >&5
3606 # Check whether --enable-log or --disable-log was given.
3607 if test "${enable_log+set}" = set; then
3608 enableval
="$enable_log"
3610 if test "$enableval" = yes; then
3611 ac_cv_use_log
='wxUSE_LOG=yes'
3613 ac_cv_use_log
='wxUSE_LOG=no'
3618 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
3619 if test "x$LINE" != x
; then
3620 eval "DEFAULT_$LINE"
3625 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
3630 eval "$ac_cv_use_log"
3631 if test "$no_cache" != 1; then
3632 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
3635 if test "$wxUSE_LOG" = yes; then
3636 echo "$ac_t""yes" 1>&6
3638 echo "$ac_t""no" 1>&6
3642 echo $ac_n "checking for --enable-streams""... $ac_c" 1>&6
3643 echo "configure:3644: checking for --enable-streams" >&5
3645 # Check whether --enable-streams or --disable-streams was given.
3646 if test "${enable_streams+set}" = set; then
3647 enableval
="$enable_streams"
3649 if test "$enableval" = yes; then
3650 ac_cv_use_streams
='wxUSE_STREAMS=yes'
3652 ac_cv_use_streams
='wxUSE_STREAMS=no'
3657 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
3658 if test "x$LINE" != x
; then
3659 eval "DEFAULT_$LINE"
3664 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
3669 eval "$ac_cv_use_streams"
3670 if test "$no_cache" != 1; then
3671 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
3674 if test "$wxUSE_STREAMS" = yes; then
3675 echo "$ac_t""yes" 1>&6
3677 echo "$ac_t""no" 1>&6
3681 echo $ac_n "checking for --enable-file""... $ac_c" 1>&6
3682 echo "configure:3683: checking for --enable-file" >&5
3684 # Check whether --enable-file or --disable-file was given.
3685 if test "${enable_file+set}" = set; then
3686 enableval
="$enable_file"
3688 if test "$enableval" = yes; then
3689 ac_cv_use_file
='wxUSE_FILE=yes'
3691 ac_cv_use_file
='wxUSE_FILE=no'
3696 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
3697 if test "x$LINE" != x
; then
3698 eval "DEFAULT_$LINE"
3703 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
3708 eval "$ac_cv_use_file"
3709 if test "$no_cache" != 1; then
3710 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
3713 if test "$wxUSE_FILE" = yes; then
3714 echo "$ac_t""yes" 1>&6
3716 echo "$ac_t""no" 1>&6
3720 echo $ac_n "checking for --enable-ffile""... $ac_c" 1>&6
3721 echo "configure:3722: checking for --enable-ffile" >&5
3723 # Check whether --enable-ffile or --disable-ffile was given.
3724 if test "${enable_ffile+set}" = set; then
3725 enableval
="$enable_ffile"
3727 if test "$enableval" = yes; then
3728 ac_cv_use_ffile
='wxUSE_FFILE=yes'
3730 ac_cv_use_ffile
='wxUSE_FFILE=no'
3735 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
3736 if test "x$LINE" != x
; then
3737 eval "DEFAULT_$LINE"
3742 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
3747 eval "$ac_cv_use_ffile"
3748 if test "$no_cache" != 1; then
3749 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
3752 if test "$wxUSE_FFILE" = yes; then
3753 echo "$ac_t""yes" 1>&6
3755 echo "$ac_t""no" 1>&6
3759 echo $ac_n "checking for --enable-textbuf""... $ac_c" 1>&6
3760 echo "configure:3761: checking for --enable-textbuf" >&5
3762 # Check whether --enable-textbuf or --disable-textbuf was given.
3763 if test "${enable_textbuf+set}" = set; then
3764 enableval
="$enable_textbuf"
3766 if test "$enableval" = yes; then
3767 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
3769 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
3774 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
3775 if test "x$LINE" != x
; then
3776 eval "DEFAULT_$LINE"
3781 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
3786 eval "$ac_cv_use_textbuf"
3787 if test "$no_cache" != 1; then
3788 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
3791 if test "$wxUSE_TEXTBUFFER" = yes; then
3792 echo "$ac_t""yes" 1>&6
3794 echo "$ac_t""no" 1>&6
3798 echo $ac_n "checking for --enable-textfile""... $ac_c" 1>&6
3799 echo "configure:3800: checking for --enable-textfile" >&5
3801 # Check whether --enable-textfile or --disable-textfile was given.
3802 if test "${enable_textfile+set}" = set; then
3803 enableval
="$enable_textfile"
3805 if test "$enableval" = yes; then
3806 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
3808 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
3813 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
3814 if test "x$LINE" != x
; then
3815 eval "DEFAULT_$LINE"
3820 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
3825 eval "$ac_cv_use_textfile"
3826 if test "$no_cache" != 1; then
3827 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
3830 if test "$wxUSE_TEXTFILE" = yes; then
3831 echo "$ac_t""yes" 1>&6
3833 echo "$ac_t""no" 1>&6
3837 echo $ac_n "checking for --enable-fontmap""... $ac_c" 1>&6
3838 echo "configure:3839: checking for --enable-fontmap" >&5
3840 # Check whether --enable-fontmap or --disable-fontmap was given.
3841 if test "${enable_fontmap+set}" = set; then
3842 enableval
="$enable_fontmap"
3844 if test "$enableval" = yes; then
3845 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
3847 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
3852 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
3853 if test "x$LINE" != x
; then
3854 eval "DEFAULT_$LINE"
3859 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
3864 eval "$ac_cv_use_fontmap"
3865 if test "$no_cache" != 1; then
3866 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
3869 if test "$wxUSE_FONTMAP" = yes; then
3870 echo "$ac_t""yes" 1>&6
3872 echo "$ac_t""no" 1>&6
3876 echo $ac_n "checking for --enable-unicode""... $ac_c" 1>&6
3877 echo "configure:3878: checking for --enable-unicode" >&5
3879 # Check whether --enable-unicode or --disable-unicode was given.
3880 if test "${enable_unicode+set}" = set; then
3881 enableval
="$enable_unicode"
3883 if test "$enableval" = yes; then
3884 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
3886 ac_cv_use_unicode
='wxUSE_UNICODE=no'
3891 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
3892 if test "x$LINE" != x
; then
3893 eval "DEFAULT_$LINE"
3898 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
3903 eval "$ac_cv_use_unicode"
3904 if test "$no_cache" != 1; then
3905 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
3908 if test "$wxUSE_UNICODE" = yes; then
3909 echo "$ac_t""yes" 1>&6
3911 echo "$ac_t""no" 1>&6
3915 echo $ac_n "checking for --enable-wxprintfv""... $ac_c" 1>&6
3916 echo "configure:3917: checking for --enable-wxprintfv" >&5
3918 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
3919 if test "${enable_wxprintfv+set}" = set; then
3920 enableval
="$enable_wxprintfv"
3922 if test "$enableval" = yes; then
3923 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
3925 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
3930 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
3931 if test "x$LINE" != x
; then
3932 eval "DEFAULT_$LINE"
3937 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
3942 eval "$ac_cv_use_wxprintfv"
3943 if test "$no_cache" != 1; then
3944 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
3947 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
3948 echo "$ac_t""yes" 1>&6
3950 echo "$ac_t""no" 1>&6
3954 echo $ac_n "checking for --enable-std_iostreams""... $ac_c" 1>&6
3955 echo "configure:3956: checking for --enable-std_iostreams" >&5
3957 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
3958 if test "${enable_std_iostreams+set}" = set; then
3959 enableval
="$enable_std_iostreams"
3961 if test "$enableval" = yes; then
3962 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
3964 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
3969 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
3970 if test "x$LINE" != x
; then
3971 eval "DEFAULT_$LINE"
3976 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
3981 eval "$ac_cv_use_std_iostreams"
3982 if test "$no_cache" != 1; then
3983 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
3986 if test "$wxUSE_STD_IOSTREAM" = yes; then
3987 echo "$ac_t""yes" 1>&6
3989 echo "$ac_t""no" 1>&6
3993 echo $ac_n "checking for --enable-filesystem""... $ac_c" 1>&6
3994 echo "configure:3995: checking for --enable-filesystem" >&5
3996 # Check whether --enable-filesystem or --disable-filesystem was given.
3997 if test "${enable_filesystem+set}" = set; then
3998 enableval
="$enable_filesystem"
4000 if test "$enableval" = yes; then
4001 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
4003 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
4008 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
4009 if test "x$LINE" != x
; then
4010 eval "DEFAULT_$LINE"
4015 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
4020 eval "$ac_cv_use_filesystem"
4021 if test "$no_cache" != 1; then
4022 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
4025 if test "$wxUSE_FILESYSTEM" = yes; then
4026 echo "$ac_t""yes" 1>&6
4028 echo "$ac_t""no" 1>&6
4032 echo $ac_n "checking for --enable-fs_inet""... $ac_c" 1>&6
4033 echo "configure:4034: checking for --enable-fs_inet" >&5
4035 # Check whether --enable-fs_inet or --disable-fs_inet was given.
4036 if test "${enable_fs_inet+set}" = set; then
4037 enableval
="$enable_fs_inet"
4039 if test "$enableval" = yes; then
4040 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
4042 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
4047 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
4048 if test "x$LINE" != x
; then
4049 eval "DEFAULT_$LINE"
4054 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
4059 eval "$ac_cv_use_fs_inet"
4060 if test "$no_cache" != 1; then
4061 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
4064 if test "$wxUSE_FS_INET" = yes; then
4065 echo "$ac_t""yes" 1>&6
4067 echo "$ac_t""no" 1>&6
4071 echo $ac_n "checking for --enable-fs_zip""... $ac_c" 1>&6
4072 echo "configure:4073: checking for --enable-fs_zip" >&5
4074 # Check whether --enable-fs_zip or --disable-fs_zip was given.
4075 if test "${enable_fs_zip+set}" = set; then
4076 enableval
="$enable_fs_zip"
4078 if test "$enableval" = yes; then
4079 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
4081 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
4086 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
4087 if test "x$LINE" != x
; then
4088 eval "DEFAULT_$LINE"
4093 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
4098 eval "$ac_cv_use_fs_zip"
4099 if test "$no_cache" != 1; then
4100 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
4103 if test "$wxUSE_FS_ZIP" = yes; then
4104 echo "$ac_t""yes" 1>&6
4106 echo "$ac_t""no" 1>&6
4110 echo $ac_n "checking for --enable-zipstream""... $ac_c" 1>&6
4111 echo "configure:4112: checking for --enable-zipstream" >&5
4113 # Check whether --enable-zipstream or --disable-zipstream was given.
4114 if test "${enable_zipstream+set}" = set; then
4115 enableval
="$enable_zipstream"
4117 if test "$enableval" = yes; then
4118 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
4120 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
4125 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
4126 if test "x$LINE" != x
; then
4127 eval "DEFAULT_$LINE"
4132 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
4137 eval "$ac_cv_use_zipstream"
4138 if test "$no_cache" != 1; then
4139 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
4142 if test "$wxUSE_ZIPSTREAM" = yes; then
4143 echo "$ac_t""yes" 1>&6
4145 echo "$ac_t""no" 1>&6
4150 echo $ac_n "checking for --enable-catch_segvs""... $ac_c" 1>&6
4151 echo "configure:4152: checking for --enable-catch_segvs" >&5
4153 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4154 if test "${enable_catch_segvs+set}" = set; then
4155 enableval
="$enable_catch_segvs"
4157 if test "$enableval" = yes; then
4158 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4160 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4165 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4166 if test "x$LINE" != x
; then
4167 eval "DEFAULT_$LINE"
4172 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4177 eval "$ac_cv_use_catch_segvs"
4178 if test "$no_cache" != 1; then
4179 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4182 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4183 echo "$ac_t""yes" 1>&6
4185 echo "$ac_t""no" 1>&6
4189 echo $ac_n "checking for --enable-snglinst""... $ac_c" 1>&6
4190 echo "configure:4191: checking for --enable-snglinst" >&5
4192 # Check whether --enable-snglinst or --disable-snglinst was given.
4193 if test "${enable_snglinst+set}" = set; then
4194 enableval
="$enable_snglinst"
4196 if test "$enableval" = yes; then
4197 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
4199 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
4204 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
4205 if test "x$LINE" != x
; then
4206 eval "DEFAULT_$LINE"
4211 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
4216 eval "$ac_cv_use_snglinst"
4217 if test "$no_cache" != 1; then
4218 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
4221 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
4222 echo "$ac_t""yes" 1>&6
4224 echo "$ac_t""no" 1>&6
4229 echo $ac_n "checking for --enable-mimetype""... $ac_c" 1>&6
4230 echo "configure:4231: checking for --enable-mimetype" >&5
4232 # Check whether --enable-mimetype or --disable-mimetype was given.
4233 if test "${enable_mimetype+set}" = set; then
4234 enableval
="$enable_mimetype"
4236 if test "$enableval" = yes; then
4237 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
4239 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
4244 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
4245 if test "x$LINE" != x
; then
4246 eval "DEFAULT_$LINE"
4251 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
4256 eval "$ac_cv_use_mimetype"
4257 if test "$no_cache" != 1; then
4258 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
4261 if test "$wxUSE_MIMETYPE" = yes; then
4262 echo "$ac_t""yes" 1>&6
4264 echo "$ac_t""no" 1>&6
4268 echo $ac_n "checking for --enable-system_options""... $ac_c" 1>&6
4269 echo "configure:4270: checking for --enable-system_options" >&5
4271 # Check whether --enable-system_options or --disable-system_options was given.
4272 if test "${enable_system_options+set}" = set; then
4273 enableval
="$enable_system_options"
4275 if test "$enableval" = yes; then
4276 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
4278 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
4283 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
4284 if test "x$LINE" != x
; then
4285 eval "DEFAULT_$LINE"
4290 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
4295 eval "$ac_cv_use_system_options"
4296 if test "$no_cache" != 1; then
4297 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
4300 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
4301 echo "$ac_t""yes" 1>&6
4303 echo "$ac_t""no" 1>&6
4309 echo $ac_n "checking for --enable-threads""... $ac_c" 1>&6
4310 echo "configure:4311: checking for --enable-threads" >&5
4312 # Check whether --enable-threads or --disable-threads was given.
4313 if test "${enable_threads+set}" = set; then
4314 enableval
="$enable_threads"
4316 if test "$enableval" = yes; then
4317 ac_cv_use_threads
='wxUSE_THREADS=yes'
4319 ac_cv_use_threads
='wxUSE_THREADS=no'
4324 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
4325 if test "x$LINE" != x
; then
4326 eval "DEFAULT_$LINE"
4331 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
4336 eval "$ac_cv_use_threads"
4337 if test "$no_cache" != 1; then
4338 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
4341 if test "$wxUSE_THREADS" = yes; then
4342 echo "$ac_t""yes" 1>&6
4344 echo "$ac_t""no" 1>&6
4348 echo $ac_n "checking for --enable-serial""... $ac_c" 1>&6
4349 echo "configure:4350: checking for --enable-serial" >&5
4351 # Check whether --enable-serial or --disable-serial was given.
4352 if test "${enable_serial+set}" = set; then
4353 enableval
="$enable_serial"
4355 if test "$enableval" = yes; then
4356 ac_cv_use_serial
='wxUSE_SERIAL=yes'
4358 ac_cv_use_serial
='wxUSE_SERIAL=no'
4363 LINE
=`grep "wxUSE_SERIAL" ${wx_arg_cache_file}`
4364 if test "x$LINE" != x
; then
4365 eval "DEFAULT_$LINE"
4370 ac_cv_use_serial
='wxUSE_SERIAL='$DEFAULT_wxUSE_SERIAL
4375 eval "$ac_cv_use_serial"
4376 if test "$no_cache" != 1; then
4377 echo $ac_cv_use_serial >> ${wx_arg_cache_file}.tmp
4380 if test "$wxUSE_SERIAL" = yes; then
4381 echo "$ac_t""yes" 1>&6
4383 echo "$ac_t""no" 1>&6
4387 if test "$wxUSE_GUI" = "yes"; then
4391 echo $ac_n "checking for --enable-docview""... $ac_c" 1>&6
4392 echo "configure:4393: checking for --enable-docview" >&5
4394 # Check whether --enable-docview or --disable-docview was given.
4395 if test "${enable_docview+set}" = set; then
4396 enableval
="$enable_docview"
4398 if test "$enableval" = yes; then
4399 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
4401 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
4406 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
4407 if test "x$LINE" != x
; then
4408 eval "DEFAULT_$LINE"
4413 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
4418 eval "$ac_cv_use_docview"
4419 if test "$no_cache" != 1; then
4420 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
4423 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
4424 echo "$ac_t""yes" 1>&6
4426 echo "$ac_t""no" 1>&6
4430 echo $ac_n "checking for --enable-help""... $ac_c" 1>&6
4431 echo "configure:4432: checking for --enable-help" >&5
4433 # Check whether --enable-help or --disable-help was given.
4434 if test "${enable_help+set}" = set; then
4435 enableval
="$enable_help"
4437 if test "$enableval" = yes; then
4438 ac_cv_use_help
='wxUSE_HELP=yes'
4440 ac_cv_use_help
='wxUSE_HELP=no'
4445 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
4446 if test "x$LINE" != x
; then
4447 eval "DEFAULT_$LINE"
4452 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
4457 eval "$ac_cv_use_help"
4458 if test "$no_cache" != 1; then
4459 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
4462 if test "$wxUSE_HELP" = yes; then
4463 echo "$ac_t""yes" 1>&6
4465 echo "$ac_t""no" 1>&6
4469 echo $ac_n "checking for --enable-mshtmlhelp""... $ac_c" 1>&6
4470 echo "configure:4471: checking for --enable-mshtmlhelp" >&5
4472 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
4473 if test "${enable_mshtmlhelp+set}" = set; then
4474 enableval
="$enable_mshtmlhelp"
4476 if test "$enableval" = yes; then
4477 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
4479 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
4484 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
4485 if test "x$LINE" != x
; then
4486 eval "DEFAULT_$LINE"
4491 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
4496 eval "$ac_cv_use_mshtmlhelp"
4497 if test "$no_cache" != 1; then
4498 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
4501 if test "$wxUSE_MS_HTML_HELP" = yes; then
4502 echo "$ac_t""yes" 1>&6
4504 echo "$ac_t""no" 1>&6
4508 echo $ac_n "checking for --enable-html""... $ac_c" 1>&6
4509 echo "configure:4510: checking for --enable-html" >&5
4511 # Check whether --enable-html or --disable-html was given.
4512 if test "${enable_html+set}" = set; then
4513 enableval
="$enable_html"
4515 if test "$enableval" = yes; then
4516 ac_cv_use_html
='wxUSE_HTML=yes'
4518 ac_cv_use_html
='wxUSE_HTML=no'
4523 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
4524 if test "x$LINE" != x
; then
4525 eval "DEFAULT_$LINE"
4530 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
4535 eval "$ac_cv_use_html"
4536 if test "$no_cache" != 1; then
4537 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
4540 if test "$wxUSE_HTML" = yes; then
4541 echo "$ac_t""yes" 1>&6
4543 echo "$ac_t""no" 1>&6
4547 echo $ac_n "checking for --enable-htmlhelp""... $ac_c" 1>&6
4548 echo "configure:4549: checking for --enable-htmlhelp" >&5
4550 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
4551 if test "${enable_htmlhelp+set}" = set; then
4552 enableval
="$enable_htmlhelp"
4554 if test "$enableval" = yes; then
4555 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
4557 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
4562 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
4563 if test "x$LINE" != x
; then
4564 eval "DEFAULT_$LINE"
4569 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
4574 eval "$ac_cv_use_htmlhelp"
4575 if test "$no_cache" != 1; then
4576 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
4579 if test "$wxUSE_WXHTML_HELP" = yes; then
4580 echo "$ac_t""yes" 1>&6
4582 echo "$ac_t""no" 1>&6
4586 echo $ac_n "checking for --enable-constraints""... $ac_c" 1>&6
4587 echo "configure:4588: checking for --enable-constraints" >&5
4589 # Check whether --enable-constraints or --disable-constraints was given.
4590 if test "${enable_constraints+set}" = set; then
4591 enableval
="$enable_constraints"
4593 if test "$enableval" = yes; then
4594 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
4596 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
4601 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
4602 if test "x$LINE" != x
; then
4603 eval "DEFAULT_$LINE"
4608 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
4613 eval "$ac_cv_use_constraints"
4614 if test "$no_cache" != 1; then
4615 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
4618 if test "$wxUSE_CONSTRAINTS" = yes; then
4619 echo "$ac_t""yes" 1>&6
4621 echo "$ac_t""no" 1>&6
4625 echo $ac_n "checking for --enable-printarch""... $ac_c" 1>&6
4626 echo "configure:4627: checking for --enable-printarch" >&5
4628 # Check whether --enable-printarch or --disable-printarch was given.
4629 if test "${enable_printarch+set}" = set; then
4630 enableval
="$enable_printarch"
4632 if test "$enableval" = yes; then
4633 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
4635 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
4640 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
4641 if test "x$LINE" != x
; then
4642 eval "DEFAULT_$LINE"
4647 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
4652 eval "$ac_cv_use_printarch"
4653 if test "$no_cache" != 1; then
4654 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
4657 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
4658 echo "$ac_t""yes" 1>&6
4660 echo "$ac_t""no" 1>&6
4664 echo $ac_n "checking for --enable-mdi""... $ac_c" 1>&6
4665 echo "configure:4666: checking for --enable-mdi" >&5
4667 # Check whether --enable-mdi or --disable-mdi was given.
4668 if test "${enable_mdi+set}" = set; then
4669 enableval
="$enable_mdi"
4671 if test "$enableval" = yes; then
4672 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=yes'
4674 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=no'
4679 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
4680 if test "x$LINE" != x
; then
4681 eval "DEFAULT_$LINE"
4686 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
4691 eval "$ac_cv_use_mdi"
4692 if test "$no_cache" != 1; then
4693 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
4696 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
4697 echo "$ac_t""yes" 1>&6
4699 echo "$ac_t""no" 1>&6
4703 echo $ac_n "checking for --enable-loggui""... $ac_c" 1>&6
4704 echo "configure:4705: checking for --enable-loggui" >&5
4706 # Check whether --enable-loggui or --disable-loggui was given.
4707 if test "${enable_loggui+set}" = set; then
4708 enableval
="$enable_loggui"
4710 if test "$enableval" = yes; then
4711 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
4713 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
4718 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
4719 if test "x$LINE" != x
; then
4720 eval "DEFAULT_$LINE"
4725 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
4730 eval "$ac_cv_use_loggui"
4731 if test "$no_cache" != 1; then
4732 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
4735 if test "$wxUSE_LOGGUI" = yes; then
4736 echo "$ac_t""yes" 1>&6
4738 echo "$ac_t""no" 1>&6
4742 echo $ac_n "checking for --enable-logwin""... $ac_c" 1>&6
4743 echo "configure:4744: checking for --enable-logwin" >&5
4745 # Check whether --enable-logwin or --disable-logwin was given.
4746 if test "${enable_logwin+set}" = set; then
4747 enableval
="$enable_logwin"
4749 if test "$enableval" = yes; then
4750 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
4752 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
4757 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
4758 if test "x$LINE" != x
; then
4759 eval "DEFAULT_$LINE"
4764 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
4769 eval "$ac_cv_use_logwin"
4770 if test "$no_cache" != 1; then
4771 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
4774 if test "$wxUSE_LOGWINDOW" = yes; then
4775 echo "$ac_t""yes" 1>&6
4777 echo "$ac_t""no" 1>&6
4781 echo $ac_n "checking for --enable-logdialog""... $ac_c" 1>&6
4782 echo "configure:4783: checking for --enable-logdialog" >&5
4784 # Check whether --enable-logdialog or --disable-logdialog was given.
4785 if test "${enable_logdialog+set}" = set; then
4786 enableval
="$enable_logdialog"
4788 if test "$enableval" = yes; then
4789 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
4791 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
4796 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
4797 if test "x$LINE" != x
; then
4798 eval "DEFAULT_$LINE"
4803 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
4808 eval "$ac_cv_use_logdialog"
4809 if test "$no_cache" != 1; then
4810 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
4813 if test "$wxUSE_LOGDIALOG" = yes; then
4814 echo "$ac_t""yes" 1>&6
4816 echo "$ac_t""no" 1>&6
4821 echo $ac_n "checking for --enable-postscript""... $ac_c" 1>&6
4822 echo "configure:4823: checking for --enable-postscript" >&5
4824 # Check whether --enable-postscript or --disable-postscript was given.
4825 if test "${enable_postscript+set}" = set; then
4826 enableval
="$enable_postscript"
4828 if test "$enableval" = yes; then
4829 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
4831 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
4836 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
4837 if test "x$LINE" != x
; then
4838 eval "DEFAULT_$LINE"
4843 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
4848 eval "$ac_cv_use_postscript"
4849 if test "$no_cache" != 1; then
4850 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
4853 if test "$wxUSE_POSTSCRIPT" = yes; then
4854 echo "$ac_t""yes" 1>&6
4856 echo "$ac_t""no" 1>&6
4863 echo $ac_n "checking for --enable-prologio""... $ac_c" 1>&6
4864 echo "configure:4865: checking for --enable-prologio" >&5
4866 # Check whether --enable-prologio or --disable-prologio was given.
4867 if test "${enable_prologio+set}" = set; then
4868 enableval
="$enable_prologio"
4870 if test "$enableval" = yes; then
4871 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
4873 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
4878 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
4879 if test "x$LINE" != x
; then
4880 eval "DEFAULT_$LINE"
4885 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
4890 eval "$ac_cv_use_prologio"
4891 if test "$no_cache" != 1; then
4892 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
4895 if test "$wxUSE_PROLOGIO" = yes; then
4896 echo "$ac_t""yes" 1>&6
4898 echo "$ac_t""no" 1>&6
4902 echo $ac_n "checking for --enable-resources""... $ac_c" 1>&6
4903 echo "configure:4904: checking for --enable-resources" >&5
4905 # Check whether --enable-resources or --disable-resources was given.
4906 if test "${enable_resources+set}" = set; then
4907 enableval
="$enable_resources"
4909 if test "$enableval" = yes; then
4910 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
4912 ac_cv_use_resources
='wxUSE_RESOURCES=no'
4917 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
4918 if test "x$LINE" != x
; then
4919 eval "DEFAULT_$LINE"
4924 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
4929 eval "$ac_cv_use_resources"
4930 if test "$no_cache" != 1; then
4931 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
4934 if test "$wxUSE_RESOURCES" = yes; then
4935 echo "$ac_t""yes" 1>&6
4937 echo "$ac_t""no" 1>&6
4942 echo $ac_n "checking for --enable-xresources""... $ac_c" 1>&6
4943 echo "configure:4944: checking for --enable-xresources" >&5
4945 # Check whether --enable-xresources or --disable-xresources was given.
4946 if test "${enable_xresources+set}" = set; then
4947 enableval
="$enable_xresources"
4949 if test "$enableval" = yes; then
4950 ac_cv_use_xresources
='wxUSE_X_RESOURCES=yes'
4952 ac_cv_use_xresources
='wxUSE_X_RESOURCES=no'
4957 LINE
=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
4958 if test "x$LINE" != x
; then
4959 eval "DEFAULT_$LINE"
4964 ac_cv_use_xresources
='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
4969 eval "$ac_cv_use_xresources"
4970 if test "$no_cache" != 1; then
4971 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
4974 if test "$wxUSE_X_RESOURCES" = yes; then
4975 echo "$ac_t""yes" 1>&6
4977 echo "$ac_t""no" 1>&6
4983 echo $ac_n "checking for --enable-clipboard""... $ac_c" 1>&6
4984 echo "configure:4985: checking for --enable-clipboard" >&5
4986 # Check whether --enable-clipboard or --disable-clipboard was given.
4987 if test "${enable_clipboard+set}" = set; then
4988 enableval
="$enable_clipboard"
4990 if test "$enableval" = yes; then
4991 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
4993 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
4998 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
4999 if test "x$LINE" != x
; then
5000 eval "DEFAULT_$LINE"
5005 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
5010 eval "$ac_cv_use_clipboard"
5011 if test "$no_cache" != 1; then
5012 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
5015 if test "$wxUSE_CLIPBOARD" = yes; then
5016 echo "$ac_t""yes" 1>&6
5018 echo "$ac_t""no" 1>&6
5022 echo $ac_n "checking for --enable-dnd""... $ac_c" 1>&6
5023 echo "configure:5024: checking for --enable-dnd" >&5
5025 # Check whether --enable-dnd or --disable-dnd was given.
5026 if test "${enable_dnd+set}" = set; then
5027 enableval
="$enable_dnd"
5029 if test "$enableval" = yes; then
5030 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
5032 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
5037 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
5038 if test "x$LINE" != x
; then
5039 eval "DEFAULT_$LINE"
5044 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
5049 eval "$ac_cv_use_dnd"
5050 if test "$no_cache" != 1; then
5051 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
5054 if test "$wxUSE_DRAG_AND_DROP" = yes; then
5055 echo "$ac_t""yes" 1>&6
5057 echo "$ac_t""no" 1>&6
5061 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
5062 echo "configure:5063: checking for --enable-metafile" >&5
5064 # Check whether --enable-metafile or --disable-metafile was given.
5065 if test "${enable_metafile+set}" = set; then
5066 enableval
="$enable_metafile"
5068 if test "$enableval" = yes; then
5069 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
5071 ac_cv_use_metafile
='wxUSE_METAFILE=no'
5076 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
5077 if test "x$LINE" != x
; then
5078 eval "DEFAULT_$LINE"
5083 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
5088 eval "$ac_cv_use_metafile"
5089 if test "$no_cache" != 1; then
5090 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
5093 if test "$wxUSE_METAFILE" = yes; then
5094 echo "$ac_t""yes" 1>&6
5096 echo "$ac_t""no" 1>&6
5101 echo $ac_n "checking for --enable-treelayout""... $ac_c" 1>&6
5102 echo "configure:5103: checking for --enable-treelayout" >&5
5104 # Check whether --enable-treelayout or --disable-treelayout was given.
5105 if test "${enable_treelayout+set}" = set; then
5106 enableval
="$enable_treelayout"
5108 if test "$enableval" = yes; then
5109 ac_cv_use_treelayout
='wxUSE_TREELAYOUT=yes'
5111 ac_cv_use_treelayout
='wxUSE_TREELAYOUT=no'
5116 LINE
=`grep "wxUSE_TREELAYOUT" ${wx_arg_cache_file}`
5117 if test "x$LINE" != x
; then
5118 eval "DEFAULT_$LINE"
5123 ac_cv_use_treelayout
='wxUSE_TREELAYOUT='$DEFAULT_wxUSE_TREELAYOUT
5128 eval "$ac_cv_use_treelayout"
5129 if test "$no_cache" != 1; then
5130 echo $ac_cv_use_treelayout >> ${wx_arg_cache_file}.tmp
5133 if test "$wxUSE_TREELAYOUT" = yes; then
5134 echo "$ac_t""yes" 1>&6
5136 echo "$ac_t""no" 1>&6
5142 echo $ac_n "checking for --enable-controls""... $ac_c" 1>&6
5143 echo "configure:5144: checking for --enable-controls" >&5
5145 # Check whether --enable-controls or --disable-controls was given.
5146 if test "${enable_controls+set}" = set; then
5147 enableval
="$enable_controls"
5149 if test "$enableval" = yes; then
5150 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
5152 ac_cv_use_controls
='wxUSE_CONTROLS=no'
5157 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
5158 if test "x$LINE" != x
; then
5159 eval "DEFAULT_$LINE"
5164 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
5169 eval "$ac_cv_use_controls"
5170 if test "$no_cache" != 1; then
5171 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
5174 if test "$wxUSE_CONTROLS" = yes; then
5175 echo "$ac_t""yes" 1>&6
5177 echo "$ac_t""no" 1>&6
5181 if test "$wxUSE_CONTROLS" = "yes"; then
5182 DEFAULT_wxUSE_ACCEL
=yes
5183 DEFAULT_wxUSE_BMPBUTTON
=yes
5184 DEFAULT_wxUSE_BUTTON
=yes
5185 DEFAULT_wxUSE_CALCTRL
=no
5186 DEFAULT_wxUSE_CARET
=yes
5187 DEFAULT_wxUSE_COMBOBOX
=yes
5188 DEFAULT_wxUSE_CHECKBOX
=yes
5189 DEFAULT_wxUSE_CHECKLISTBOX
=yes
5190 DEFAULT_wxUSE_CHOICE
=yes
5191 DEFAULT_wxUSE_GAUGE
=yes
5192 DEFAULT_wxUSE_GRID
=yes
5193 DEFAULT_wxUSE_NEW_GRID
=yes
5194 DEFAULT_wxUSE_IMAGLIST
=yes
5195 DEFAULT_wxUSE_LISTBOX
=yes
5196 DEFAULT_wxUSE_LISTCTRL
=yes
5197 DEFAULT_wxUSE_NOTEBOOK
=yes
5198 DEFAULT_wxUSE_PROPSHEET
=yes
5199 DEFAULT_wxUSE_RADIOBOX
=yes
5200 DEFAULT_wxUSE_RADIOBTN
=yes
5201 DEFAULT_wxUSE_SASH
=yes
5202 DEFAULT_wxUSE_SCROLLBAR
=yes
5203 DEFAULT_wxUSE_SLIDER
=yes
5204 DEFAULT_wxUSE_SPINBTN
=yes
5205 DEFAULT_wxUSE_SPINCTRL
=yes
5206 DEFAULT_wxUSE_SPLITTER
=yes
5207 DEFAULT_wxUSE_STATBMP
=yes
5208 DEFAULT_wxUSE_STATBOX
=yes
5209 DEFAULT_wxUSE_STATLINE
=yes
5210 DEFAULT_wxUSE_STATUSBAR
=yes
5211 DEFAULT_wxUSE_TAB_DIALOG
=yes
5212 DEFAULT_wxUSE_TOGGLEBTN
=yes
5213 DEFAULT_wxUSE_TOOLBAR
=yes
5214 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
5215 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
5216 DEFAULT_wxUSE_TOOLTIPS
=yes
5217 DEFAULT_wxUSE_TREECTRL
=yes
5218 DEFAULT_wxUSE_POPUPWIN
=yes
5219 DEFAULT_wxUSE_TIPWINDOW
=yes
5220 elif test "$wxUSE_CONTROLS" = "no"; then
5221 DEFAULT_wxUSE_ACCEL
=no
5222 DEFAULT_wxUSE_BMPBUTTON
=no
5223 DEFAULT_wxUSE_BUTTON
=no
5224 DEFAULT_wxUSE_CALCTRL
=no
5225 DEFAULT_wxUSE_CARET
=no
5226 DEFAULT_wxUSE_COMBOBOX
=no
5227 DEFAULT_wxUSE_CHECKBOX
=no
5228 DEFAULT_wxUSE_CHECKLISTBOX
=no
5229 DEFAULT_wxUSE_CHOICE
=no
5230 DEFAULT_wxUSE_GAUGE
=no
5231 DEFAULT_wxUSE_GRID
=no
5232 DEFAULT_wxUSE_NEW_GRID
=no
5233 DEFAULT_wxUSE_IMAGLIST
=no
5234 DEFAULT_wxUSE_LISTBOX
=no
5235 DEFAULT_wxUSE_LISTCTRL
=no
5236 DEFAULT_wxUSE_NOTEBOOK
=no
5237 DEFAULT_wxUSE_PROPSHEET
=no
5238 DEFAULT_wxUSE_RADIOBOX
=no
5239 DEFAULT_wxUSE_RADIOBTN
=no
5240 DEFAULT_wxUSE_SASH
=no
5241 DEFAULT_wxUSE_SCROLLBAR
=no
5242 DEFAULT_wxUSE_SLIDER
=no
5243 DEFAULT_wxUSE_SPINBTN
=no
5244 DEFAULT_wxUSE_SPINCTRL
=no
5245 DEFAULT_wxUSE_SPLITTER
=no
5246 DEFAULT_wxUSE_STATBMP
=no
5247 DEFAULT_wxUSE_STATBOX
=no
5248 DEFAULT_wxUSE_STATLINE
=no
5249 DEFAULT_wxUSE_STATUSBAR
=no
5250 DEFAULT_wxUSE_TAB_DIALOG
=no
5251 DEFAULT_wxUSE_TOGGLEBTN
=no
5252 DEFAULT_wxUSE_TOOLBAR
=no
5253 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
5254 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
5255 DEFAULT_wxUSE_TOOLTIPS
=no
5256 DEFAULT_wxUSE_TREECTRL
=no
5257 DEFAULT_wxUSE_POPUPWIN
=no
5258 DEFAULT_wxUSE_TIPWINDOW
=no
5262 echo $ac_n "checking for --enable-accel""... $ac_c" 1>&6
5263 echo "configure:5264: checking for --enable-accel" >&5
5265 # Check whether --enable-accel or --disable-accel was given.
5266 if test "${enable_accel+set}" = set; then
5267 enableval
="$enable_accel"
5269 if test "$enableval" = yes; then
5270 ac_cv_use_accel
='wxUSE_ACCEL=yes'
5272 ac_cv_use_accel
='wxUSE_ACCEL=no'
5277 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
5278 if test "x$LINE" != x
; then
5279 eval "DEFAULT_$LINE"
5284 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
5289 eval "$ac_cv_use_accel"
5290 if test "$no_cache" != 1; then
5291 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
5294 if test "$wxUSE_ACCEL" = yes; then
5295 echo "$ac_t""yes" 1>&6
5297 echo "$ac_t""no" 1>&6
5301 echo $ac_n "checking for --enable-button""... $ac_c" 1>&6
5302 echo "configure:5303: checking for --enable-button" >&5
5304 # Check whether --enable-button or --disable-button was given.
5305 if test "${enable_button+set}" = set; then
5306 enableval
="$enable_button"
5308 if test "$enableval" = yes; then
5309 ac_cv_use_button
='wxUSE_BUTTON=yes'
5311 ac_cv_use_button
='wxUSE_BUTTON=no'
5316 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
5317 if test "x$LINE" != x
; then
5318 eval "DEFAULT_$LINE"
5323 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
5328 eval "$ac_cv_use_button"
5329 if test "$no_cache" != 1; then
5330 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
5333 if test "$wxUSE_BUTTON" = yes; then
5334 echo "$ac_t""yes" 1>&6
5336 echo "$ac_t""no" 1>&6
5340 echo $ac_n "checking for --enable-bmpbutton""... $ac_c" 1>&6
5341 echo "configure:5342: checking for --enable-bmpbutton" >&5
5343 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
5344 if test "${enable_bmpbutton+set}" = set; then
5345 enableval
="$enable_bmpbutton"
5347 if test "$enableval" = yes; then
5348 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
5350 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
5355 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
5356 if test "x$LINE" != x
; then
5357 eval "DEFAULT_$LINE"
5362 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
5367 eval "$ac_cv_use_bmpbutton"
5368 if test "$no_cache" != 1; then
5369 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
5372 if test "$wxUSE_BMPBUTTON" = yes; then
5373 echo "$ac_t""yes" 1>&6
5375 echo "$ac_t""no" 1>&6
5379 echo $ac_n "checking for --enable-calendar""... $ac_c" 1>&6
5380 echo "configure:5381: checking for --enable-calendar" >&5
5382 # Check whether --enable-calendar or --disable-calendar was given.
5383 if test "${enable_calendar+set}" = set; then
5384 enableval
="$enable_calendar"
5386 if test "$enableval" = yes; then
5387 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
5389 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
5394 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
5395 if test "x$LINE" != x
; then
5396 eval "DEFAULT_$LINE"
5401 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
5406 eval "$ac_cv_use_calendar"
5407 if test "$no_cache" != 1; then
5408 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
5411 if test "$wxUSE_CALCTRL" = yes; then
5412 echo "$ac_t""yes" 1>&6
5414 echo "$ac_t""no" 1>&6
5418 echo $ac_n "checking for --enable-caret""... $ac_c" 1>&6
5419 echo "configure:5420: checking for --enable-caret" >&5
5421 # Check whether --enable-caret or --disable-caret was given.
5422 if test "${enable_caret+set}" = set; then
5423 enableval
="$enable_caret"
5425 if test "$enableval" = yes; then
5426 ac_cv_use_caret
='wxUSE_CARET=yes'
5428 ac_cv_use_caret
='wxUSE_CARET=no'
5433 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
5434 if test "x$LINE" != x
; then
5435 eval "DEFAULT_$LINE"
5440 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
5445 eval "$ac_cv_use_caret"
5446 if test "$no_cache" != 1; then
5447 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
5450 if test "$wxUSE_CARET" = yes; then
5451 echo "$ac_t""yes" 1>&6
5453 echo "$ac_t""no" 1>&6
5457 echo $ac_n "checking for --enable-checkbox""... $ac_c" 1>&6
5458 echo "configure:5459: checking for --enable-checkbox" >&5
5460 # Check whether --enable-checkbox or --disable-checkbox was given.
5461 if test "${enable_checkbox+set}" = set; then
5462 enableval
="$enable_checkbox"
5464 if test "$enableval" = yes; then
5465 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
5467 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
5472 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
5473 if test "x$LINE" != x
; then
5474 eval "DEFAULT_$LINE"
5479 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
5484 eval "$ac_cv_use_checkbox"
5485 if test "$no_cache" != 1; then
5486 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
5489 if test "$wxUSE_CHECKBOX" = yes; then
5490 echo "$ac_t""yes" 1>&6
5492 echo "$ac_t""no" 1>&6
5496 echo $ac_n "checking for --enable-checklst""... $ac_c" 1>&6
5497 echo "configure:5498: checking for --enable-checklst" >&5
5499 # Check whether --enable-checklst or --disable-checklst was given.
5500 if test "${enable_checklst+set}" = set; then
5501 enableval
="$enable_checklst"
5503 if test "$enableval" = yes; then
5504 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
5506 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
5511 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
5512 if test "x$LINE" != x
; then
5513 eval "DEFAULT_$LINE"
5518 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
5523 eval "$ac_cv_use_checklst"
5524 if test "$no_cache" != 1; then
5525 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
5528 if test "$wxUSE_CHECKLST" = yes; then
5529 echo "$ac_t""yes" 1>&6
5531 echo "$ac_t""no" 1>&6
5535 echo $ac_n "checking for --enable-choice""... $ac_c" 1>&6
5536 echo "configure:5537: checking for --enable-choice" >&5
5538 # Check whether --enable-choice or --disable-choice was given.
5539 if test "${enable_choice+set}" = set; then
5540 enableval
="$enable_choice"
5542 if test "$enableval" = yes; then
5543 ac_cv_use_choice
='wxUSE_CHOICE=yes'
5545 ac_cv_use_choice
='wxUSE_CHOICE=no'
5550 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
5551 if test "x$LINE" != x
; then
5552 eval "DEFAULT_$LINE"
5557 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
5562 eval "$ac_cv_use_choice"
5563 if test "$no_cache" != 1; then
5564 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
5567 if test "$wxUSE_CHOICE" = yes; then
5568 echo "$ac_t""yes" 1>&6
5570 echo "$ac_t""no" 1>&6
5574 echo $ac_n "checking for --enable-combobox""... $ac_c" 1>&6
5575 echo "configure:5576: checking for --enable-combobox" >&5
5577 # Check whether --enable-combobox or --disable-combobox was given.
5578 if test "${enable_combobox+set}" = set; then
5579 enableval
="$enable_combobox"
5581 if test "$enableval" = yes; then
5582 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
5584 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
5589 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
5590 if test "x$LINE" != x
; then
5591 eval "DEFAULT_$LINE"
5596 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
5601 eval "$ac_cv_use_combobox"
5602 if test "$no_cache" != 1; then
5603 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
5606 if test "$wxUSE_COMBOBOX" = yes; then
5607 echo "$ac_t""yes" 1>&6
5609 echo "$ac_t""no" 1>&6
5613 echo $ac_n "checking for --enable-gauge""... $ac_c" 1>&6
5614 echo "configure:5615: checking for --enable-gauge" >&5
5616 # Check whether --enable-gauge or --disable-gauge was given.
5617 if test "${enable_gauge+set}" = set; then
5618 enableval
="$enable_gauge"
5620 if test "$enableval" = yes; then
5621 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
5623 ac_cv_use_gauge
='wxUSE_GAUGE=no'
5628 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
5629 if test "x$LINE" != x
; then
5630 eval "DEFAULT_$LINE"
5635 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
5640 eval "$ac_cv_use_gauge"
5641 if test "$no_cache" != 1; then
5642 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
5645 if test "$wxUSE_GAUGE" = yes; then
5646 echo "$ac_t""yes" 1>&6
5648 echo "$ac_t""no" 1>&6
5652 echo $ac_n "checking for --enable-grid""... $ac_c" 1>&6
5653 echo "configure:5654: checking for --enable-grid" >&5
5655 # Check whether --enable-grid or --disable-grid was given.
5656 if test "${enable_grid+set}" = set; then
5657 enableval
="$enable_grid"
5659 if test "$enableval" = yes; then
5660 ac_cv_use_grid
='wxUSE_GRID=yes'
5662 ac_cv_use_grid
='wxUSE_GRID=no'
5667 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
5668 if test "x$LINE" != x
; then
5669 eval "DEFAULT_$LINE"
5674 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
5679 eval "$ac_cv_use_grid"
5680 if test "$no_cache" != 1; then
5681 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
5684 if test "$wxUSE_GRID" = yes; then
5685 echo "$ac_t""yes" 1>&6
5687 echo "$ac_t""no" 1>&6
5691 echo $ac_n "checking for --enable-newgrid""... $ac_c" 1>&6
5692 echo "configure:5693: checking for --enable-newgrid" >&5
5694 # Check whether --enable-newgrid or --disable-newgrid was given.
5695 if test "${enable_newgrid+set}" = set; then
5696 enableval
="$enable_newgrid"
5698 if test "$enableval" = yes; then
5699 ac_cv_use_newgrid
='wxUSE_NEW_GRID=yes'
5701 ac_cv_use_newgrid
='wxUSE_NEW_GRID=no'
5706 LINE
=`grep "wxUSE_NEW_GRID" ${wx_arg_cache_file}`
5707 if test "x$LINE" != x
; then
5708 eval "DEFAULT_$LINE"
5713 ac_cv_use_newgrid
='wxUSE_NEW_GRID='$DEFAULT_wxUSE_NEW_GRID
5718 eval "$ac_cv_use_newgrid"
5719 if test "$no_cache" != 1; then
5720 echo $ac_cv_use_newgrid >> ${wx_arg_cache_file}.tmp
5723 if test "$wxUSE_NEW_GRID" = yes; then
5724 echo "$ac_t""yes" 1>&6
5726 echo "$ac_t""no" 1>&6
5730 echo $ac_n "checking for --enable-imaglist""... $ac_c" 1>&6
5731 echo "configure:5732: checking for --enable-imaglist" >&5
5733 # Check whether --enable-imaglist or --disable-imaglist was given.
5734 if test "${enable_imaglist+set}" = set; then
5735 enableval
="$enable_imaglist"
5737 if test "$enableval" = yes; then
5738 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
5740 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
5745 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
5746 if test "x$LINE" != x
; then
5747 eval "DEFAULT_$LINE"
5752 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
5757 eval "$ac_cv_use_imaglist"
5758 if test "$no_cache" != 1; then
5759 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
5762 if test "$wxUSE_IMAGLIST" = yes; then
5763 echo "$ac_t""yes" 1>&6
5765 echo "$ac_t""no" 1>&6
5769 echo $ac_n "checking for --enable-listbox""... $ac_c" 1>&6
5770 echo "configure:5771: checking for --enable-listbox" >&5
5772 # Check whether --enable-listbox or --disable-listbox was given.
5773 if test "${enable_listbox+set}" = set; then
5774 enableval
="$enable_listbox"
5776 if test "$enableval" = yes; then
5777 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
5779 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
5784 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
5785 if test "x$LINE" != x
; then
5786 eval "DEFAULT_$LINE"
5791 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
5796 eval "$ac_cv_use_listbox"
5797 if test "$no_cache" != 1; then
5798 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
5801 if test "$wxUSE_LISTBOX" = yes; then
5802 echo "$ac_t""yes" 1>&6
5804 echo "$ac_t""no" 1>&6
5808 echo $ac_n "checking for --enable-listctrl""... $ac_c" 1>&6
5809 echo "configure:5810: checking for --enable-listctrl" >&5
5811 # Check whether --enable-listctrl or --disable-listctrl was given.
5812 if test "${enable_listctrl+set}" = set; then
5813 enableval
="$enable_listctrl"
5815 if test "$enableval" = yes; then
5816 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
5818 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
5823 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
5824 if test "x$LINE" != x
; then
5825 eval "DEFAULT_$LINE"
5830 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
5835 eval "$ac_cv_use_listctrl"
5836 if test "$no_cache" != 1; then
5837 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
5840 if test "$wxUSE_LISTCTRL" = yes; then
5841 echo "$ac_t""yes" 1>&6
5843 echo "$ac_t""no" 1>&6
5847 echo $ac_n "checking for --enable-notebook""... $ac_c" 1>&6
5848 echo "configure:5849: checking for --enable-notebook" >&5
5850 # Check whether --enable-notebook or --disable-notebook was given.
5851 if test "${enable_notebook+set}" = set; then
5852 enableval
="$enable_notebook"
5854 if test "$enableval" = yes; then
5855 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
5857 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
5862 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
5863 if test "x$LINE" != x
; then
5864 eval "DEFAULT_$LINE"
5869 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
5874 eval "$ac_cv_use_notebook"
5875 if test "$no_cache" != 1; then
5876 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
5879 if test "$wxUSE_NOTEBOOK" = yes; then
5880 echo "$ac_t""yes" 1>&6
5882 echo "$ac_t""no" 1>&6
5886 echo $ac_n "checking for --enable-propsheet""... $ac_c" 1>&6
5887 echo "configure:5888: checking for --enable-propsheet" >&5
5889 # Check whether --enable-propsheet or --disable-propsheet was given.
5890 if test "${enable_propsheet+set}" = set; then
5891 enableval
="$enable_propsheet"
5893 if test "$enableval" = yes; then
5894 ac_cv_use_propsheet
='wxUSE_PROPSHEET=yes'
5896 ac_cv_use_propsheet
='wxUSE_PROPSHEET=no'
5901 LINE
=`grep "wxUSE_PROPSHEET" ${wx_arg_cache_file}`
5902 if test "x$LINE" != x
; then
5903 eval "DEFAULT_$LINE"
5908 ac_cv_use_propsheet
='wxUSE_PROPSHEET='$DEFAULT_wxUSE_PROPSHEET
5913 eval "$ac_cv_use_propsheet"
5914 if test "$no_cache" != 1; then
5915 echo $ac_cv_use_propsheet >> ${wx_arg_cache_file}.tmp
5918 if test "$wxUSE_PROPSHEET" = yes; then
5919 echo "$ac_t""yes" 1>&6
5921 echo "$ac_t""no" 1>&6
5925 echo $ac_n "checking for --enable-radiobox""... $ac_c" 1>&6
5926 echo "configure:5927: checking for --enable-radiobox" >&5
5928 # Check whether --enable-radiobox or --disable-radiobox was given.
5929 if test "${enable_radiobox+set}" = set; then
5930 enableval
="$enable_radiobox"
5932 if test "$enableval" = yes; then
5933 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
5935 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
5940 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
5941 if test "x$LINE" != x
; then
5942 eval "DEFAULT_$LINE"
5947 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
5952 eval "$ac_cv_use_radiobox"
5953 if test "$no_cache" != 1; then
5954 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
5957 if test "$wxUSE_RADIOBOX" = yes; then
5958 echo "$ac_t""yes" 1>&6
5960 echo "$ac_t""no" 1>&6
5964 echo $ac_n "checking for --enable-radiobtn""... $ac_c" 1>&6
5965 echo "configure:5966: checking for --enable-radiobtn" >&5
5967 # Check whether --enable-radiobtn or --disable-radiobtn was given.
5968 if test "${enable_radiobtn+set}" = set; then
5969 enableval
="$enable_radiobtn"
5971 if test "$enableval" = yes; then
5972 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
5974 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
5979 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
5980 if test "x$LINE" != x
; then
5981 eval "DEFAULT_$LINE"
5986 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
5991 eval "$ac_cv_use_radiobtn"
5992 if test "$no_cache" != 1; then
5993 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
5996 if test "$wxUSE_RADIOBTN" = yes; then
5997 echo "$ac_t""yes" 1>&6
5999 echo "$ac_t""no" 1>&6
6003 echo $ac_n "checking for --enable-sash""... $ac_c" 1>&6
6004 echo "configure:6005: checking for --enable-sash" >&5
6006 # Check whether --enable-sash or --disable-sash was given.
6007 if test "${enable_sash+set}" = set; then
6008 enableval
="$enable_sash"
6010 if test "$enableval" = yes; then
6011 ac_cv_use_sash
='wxUSE_SASH=yes'
6013 ac_cv_use_sash
='wxUSE_SASH=no'
6018 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
6019 if test "x$LINE" != x
; then
6020 eval "DEFAULT_$LINE"
6025 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
6030 eval "$ac_cv_use_sash"
6031 if test "$no_cache" != 1; then
6032 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
6035 if test "$wxUSE_SASH" = yes; then
6036 echo "$ac_t""yes" 1>&6
6038 echo "$ac_t""no" 1>&6
6042 echo $ac_n "checking for --enable-scrollbar""... $ac_c" 1>&6
6043 echo "configure:6044: checking for --enable-scrollbar" >&5
6045 # Check whether --enable-scrollbar or --disable-scrollbar was given.
6046 if test "${enable_scrollbar+set}" = set; then
6047 enableval
="$enable_scrollbar"
6049 if test "$enableval" = yes; then
6050 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
6052 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
6057 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
6058 if test "x$LINE" != x
; then
6059 eval "DEFAULT_$LINE"
6064 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
6069 eval "$ac_cv_use_scrollbar"
6070 if test "$no_cache" != 1; then
6071 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
6074 if test "$wxUSE_SCROLLBAR" = yes; then
6075 echo "$ac_t""yes" 1>&6
6077 echo "$ac_t""no" 1>&6
6081 echo $ac_n "checking for --enable-slider""... $ac_c" 1>&6
6082 echo "configure:6083: checking for --enable-slider" >&5
6084 # Check whether --enable-slider or --disable-slider was given.
6085 if test "${enable_slider+set}" = set; then
6086 enableval
="$enable_slider"
6088 if test "$enableval" = yes; then
6089 ac_cv_use_slider
='wxUSE_SLIDER=yes'
6091 ac_cv_use_slider
='wxUSE_SLIDER=no'
6096 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
6097 if test "x$LINE" != x
; then
6098 eval "DEFAULT_$LINE"
6103 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
6108 eval "$ac_cv_use_slider"
6109 if test "$no_cache" != 1; then
6110 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
6113 if test "$wxUSE_SLIDER" = yes; then
6114 echo "$ac_t""yes" 1>&6
6116 echo "$ac_t""no" 1>&6
6120 echo $ac_n "checking for --enable-spinbtn""... $ac_c" 1>&6
6121 echo "configure:6122: checking for --enable-spinbtn" >&5
6123 # Check whether --enable-spinbtn or --disable-spinbtn was given.
6124 if test "${enable_spinbtn+set}" = set; then
6125 enableval
="$enable_spinbtn"
6127 if test "$enableval" = yes; then
6128 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
6130 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
6135 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
6136 if test "x$LINE" != x
; then
6137 eval "DEFAULT_$LINE"
6142 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
6147 eval "$ac_cv_use_spinbtn"
6148 if test "$no_cache" != 1; then
6149 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
6152 if test "$wxUSE_SPINBTN" = yes; then
6153 echo "$ac_t""yes" 1>&6
6155 echo "$ac_t""no" 1>&6
6159 echo $ac_n "checking for --enable-spinctrl""... $ac_c" 1>&6
6160 echo "configure:6161: checking for --enable-spinctrl" >&5
6162 # Check whether --enable-spinctrl or --disable-spinctrl was given.
6163 if test "${enable_spinctrl+set}" = set; then
6164 enableval
="$enable_spinctrl"
6166 if test "$enableval" = yes; then
6167 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
6169 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
6174 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
6175 if test "x$LINE" != x
; then
6176 eval "DEFAULT_$LINE"
6181 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
6186 eval "$ac_cv_use_spinctrl"
6187 if test "$no_cache" != 1; then
6188 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
6191 if test "$wxUSE_SPINCTRL" = yes; then
6192 echo "$ac_t""yes" 1>&6
6194 echo "$ac_t""no" 1>&6
6198 echo $ac_n "checking for --enable-splitter""... $ac_c" 1>&6
6199 echo "configure:6200: checking for --enable-splitter" >&5
6201 # Check whether --enable-splitter or --disable-splitter was given.
6202 if test "${enable_splitter+set}" = set; then
6203 enableval
="$enable_splitter"
6205 if test "$enableval" = yes; then
6206 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
6208 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
6213 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
6214 if test "x$LINE" != x
; then
6215 eval "DEFAULT_$LINE"
6220 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
6225 eval "$ac_cv_use_splitter"
6226 if test "$no_cache" != 1; then
6227 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
6230 if test "$wxUSE_SPLITTER" = yes; then
6231 echo "$ac_t""yes" 1>&6
6233 echo "$ac_t""no" 1>&6
6237 echo $ac_n "checking for --enable-statbmp""... $ac_c" 1>&6
6238 echo "configure:6239: checking for --enable-statbmp" >&5
6240 # Check whether --enable-statbmp or --disable-statbmp was given.
6241 if test "${enable_statbmp+set}" = set; then
6242 enableval
="$enable_statbmp"
6244 if test "$enableval" = yes; then
6245 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
6247 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
6252 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
6253 if test "x$LINE" != x
; then
6254 eval "DEFAULT_$LINE"
6259 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
6264 eval "$ac_cv_use_statbmp"
6265 if test "$no_cache" != 1; then
6266 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
6269 if test "$wxUSE_STATBMP" = yes; then
6270 echo "$ac_t""yes" 1>&6
6272 echo "$ac_t""no" 1>&6
6276 echo $ac_n "checking for --enable-statbox""... $ac_c" 1>&6
6277 echo "configure:6278: checking for --enable-statbox" >&5
6279 # Check whether --enable-statbox or --disable-statbox was given.
6280 if test "${enable_statbox+set}" = set; then
6281 enableval
="$enable_statbox"
6283 if test "$enableval" = yes; then
6284 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
6286 ac_cv_use_statbox
='wxUSE_STATBOX=no'
6291 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
6292 if test "x$LINE" != x
; then
6293 eval "DEFAULT_$LINE"
6298 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
6303 eval "$ac_cv_use_statbox"
6304 if test "$no_cache" != 1; then
6305 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
6308 if test "$wxUSE_STATBOX" = yes; then
6309 echo "$ac_t""yes" 1>&6
6311 echo "$ac_t""no" 1>&6
6315 echo $ac_n "checking for --enable-statline""... $ac_c" 1>&6
6316 echo "configure:6317: checking for --enable-statline" >&5
6318 # Check whether --enable-statline or --disable-statline was given.
6319 if test "${enable_statline+set}" = set; then
6320 enableval
="$enable_statline"
6322 if test "$enableval" = yes; then
6323 ac_cv_use_statline
='wxUSE_STATLINE=yes'
6325 ac_cv_use_statline
='wxUSE_STATLINE=no'
6330 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
6331 if test "x$LINE" != x
; then
6332 eval "DEFAULT_$LINE"
6337 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
6342 eval "$ac_cv_use_statline"
6343 if test "$no_cache" != 1; then
6344 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
6347 if test "$wxUSE_STATLINE" = yes; then
6348 echo "$ac_t""yes" 1>&6
6350 echo "$ac_t""no" 1>&6
6354 echo $ac_n "checking for --enable-stattext""... $ac_c" 1>&6
6355 echo "configure:6356: checking for --enable-stattext" >&5
6357 # Check whether --enable-stattext or --disable-stattext was given.
6358 if test "${enable_stattext+set}" = set; then
6359 enableval
="$enable_stattext"
6361 if test "$enableval" = yes; then
6362 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
6364 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
6369 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
6370 if test "x$LINE" != x
; then
6371 eval "DEFAULT_$LINE"
6376 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
6381 eval "$ac_cv_use_stattext"
6382 if test "$no_cache" != 1; then
6383 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
6386 if test "$wxUSE_STATTEXT" = yes; then
6387 echo "$ac_t""yes" 1>&6
6389 echo "$ac_t""no" 1>&6
6393 echo $ac_n "checking for --enable-statusbar""... $ac_c" 1>&6
6394 echo "configure:6395: checking for --enable-statusbar" >&5
6396 # Check whether --enable-statusbar or --disable-statusbar was given.
6397 if test "${enable_statusbar+set}" = set; then
6398 enableval
="$enable_statusbar"
6400 if test "$enableval" = yes; then
6401 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
6403 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
6408 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
6409 if test "x$LINE" != x
; then
6410 eval "DEFAULT_$LINE"
6415 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
6420 eval "$ac_cv_use_statusbar"
6421 if test "$no_cache" != 1; then
6422 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
6425 if test "$wxUSE_STATUSBAR" = yes; then
6426 echo "$ac_t""yes" 1>&6
6428 echo "$ac_t""no" 1>&6
6432 echo $ac_n "checking for --enable-tabdialog""... $ac_c" 1>&6
6433 echo "configure:6434: checking for --enable-tabdialog" >&5
6435 # Check whether --enable-tabdialog or --disable-tabdialog was given.
6436 if test "${enable_tabdialog+set}" = set; then
6437 enableval
="$enable_tabdialog"
6439 if test "$enableval" = yes; then
6440 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
6442 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
6447 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
6448 if test "x$LINE" != x
; then
6449 eval "DEFAULT_$LINE"
6454 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
6459 eval "$ac_cv_use_tabdialog"
6460 if test "$no_cache" != 1; then
6461 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
6464 if test "$wxUSE_TABDIALOG" = yes; then
6465 echo "$ac_t""yes" 1>&6
6467 echo "$ac_t""no" 1>&6
6471 echo $ac_n "checking for --enable-textctrl""... $ac_c" 1>&6
6472 echo "configure:6473: checking for --enable-textctrl" >&5
6474 # Check whether --enable-textctrl or --disable-textctrl was given.
6475 if test "${enable_textctrl+set}" = set; then
6476 enableval
="$enable_textctrl"
6478 if test "$enableval" = yes; then
6479 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
6481 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
6486 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
6487 if test "x$LINE" != x
; then
6488 eval "DEFAULT_$LINE"
6493 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
6498 eval "$ac_cv_use_textctrl"
6499 if test "$no_cache" != 1; then
6500 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
6503 if test "$wxUSE_TEXTCTRL" = yes; then
6504 echo "$ac_t""yes" 1>&6
6506 echo "$ac_t""no" 1>&6
6510 echo $ac_n "checking for --enable-togglebtn""... $ac_c" 1>&6
6511 echo "configure:6512: checking for --enable-togglebtn" >&5
6513 # Check whether --enable-togglebtn or --disable-togglebtn was given.
6514 if test "${enable_togglebtn+set}" = set; then
6515 enableval
="$enable_togglebtn"
6517 if test "$enableval" = yes; then
6518 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
6520 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
6525 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
6526 if test "x$LINE" != x
; then
6527 eval "DEFAULT_$LINE"
6532 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
6537 eval "$ac_cv_use_togglebtn"
6538 if test "$no_cache" != 1; then
6539 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
6542 if test "$wxUSE_TOGGLEBTN" = yes; then
6543 echo "$ac_t""yes" 1>&6
6545 echo "$ac_t""no" 1>&6
6549 echo $ac_n "checking for --enable-toolbar""... $ac_c" 1>&6
6550 echo "configure:6551: checking for --enable-toolbar" >&5
6552 # Check whether --enable-toolbar or --disable-toolbar was given.
6553 if test "${enable_toolbar+set}" = set; then
6554 enableval
="$enable_toolbar"
6556 if test "$enableval" = yes; then
6557 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
6559 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
6564 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
6565 if test "x$LINE" != x
; then
6566 eval "DEFAULT_$LINE"
6571 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
6576 eval "$ac_cv_use_toolbar"
6577 if test "$no_cache" != 1; then
6578 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
6581 if test "$wxUSE_TOOLBAR" = yes; then
6582 echo "$ac_t""yes" 1>&6
6584 echo "$ac_t""no" 1>&6
6588 echo $ac_n "checking for --enable-tbarnative""... $ac_c" 1>&6
6589 echo "configure:6590: checking for --enable-tbarnative" >&5
6591 # Check whether --enable-tbarnative or --disable-tbarnative was given.
6592 if test "${enable_tbarnative+set}" = set; then
6593 enableval
="$enable_tbarnative"
6595 if test "$enableval" = yes; then
6596 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
6598 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
6603 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
6604 if test "x$LINE" != x
; then
6605 eval "DEFAULT_$LINE"
6610 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
6615 eval "$ac_cv_use_tbarnative"
6616 if test "$no_cache" != 1; then
6617 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
6620 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
6621 echo "$ac_t""yes" 1>&6
6623 echo "$ac_t""no" 1>&6
6627 echo $ac_n "checking for --enable-tbarsmpl""... $ac_c" 1>&6
6628 echo "configure:6629: checking for --enable-tbarsmpl" >&5
6630 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
6631 if test "${enable_tbarsmpl+set}" = set; then
6632 enableval
="$enable_tbarsmpl"
6634 if test "$enableval" = yes; then
6635 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
6637 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
6642 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
6643 if test "x$LINE" != x
; then
6644 eval "DEFAULT_$LINE"
6649 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
6654 eval "$ac_cv_use_tbarsmpl"
6655 if test "$no_cache" != 1; then
6656 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
6659 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
6660 echo "$ac_t""yes" 1>&6
6662 echo "$ac_t""no" 1>&6
6666 echo $ac_n "checking for --enable-treectrl""... $ac_c" 1>&6
6667 echo "configure:6668: checking for --enable-treectrl" >&5
6669 # Check whether --enable-treectrl or --disable-treectrl was given.
6670 if test "${enable_treectrl+set}" = set; then
6671 enableval
="$enable_treectrl"
6673 if test "$enableval" = yes; then
6674 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
6676 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
6681 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
6682 if test "x$LINE" != x
; then
6683 eval "DEFAULT_$LINE"
6688 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
6693 eval "$ac_cv_use_treectrl"
6694 if test "$no_cache" != 1; then
6695 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
6698 if test "$wxUSE_TREECTRL" = yes; then
6699 echo "$ac_t""yes" 1>&6
6701 echo "$ac_t""no" 1>&6
6705 echo $ac_n "checking for --enable-tipwindow""... $ac_c" 1>&6
6706 echo "configure:6707: checking for --enable-tipwindow" >&5
6708 # Check whether --enable-tipwindow or --disable-tipwindow was given.
6709 if test "${enable_tipwindow+set}" = set; then
6710 enableval
="$enable_tipwindow"
6712 if test "$enableval" = yes; then
6713 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
6715 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
6720 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
6721 if test "x$LINE" != x
; then
6722 eval "DEFAULT_$LINE"
6727 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
6732 eval "$ac_cv_use_tipwindow"
6733 if test "$no_cache" != 1; then
6734 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
6737 if test "$wxUSE_TIPWINDOW" = yes; then
6738 echo "$ac_t""yes" 1>&6
6740 echo "$ac_t""no" 1>&6
6744 echo $ac_n "checking for --enable-popupwin""... $ac_c" 1>&6
6745 echo "configure:6746: checking for --enable-popupwin" >&5
6747 # Check whether --enable-popupwin or --disable-popupwin was given.
6748 if test "${enable_popupwin+set}" = set; then
6749 enableval
="$enable_popupwin"
6751 if test "$enableval" = yes; then
6752 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
6754 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
6759 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
6760 if test "x$LINE" != x
; then
6761 eval "DEFAULT_$LINE"
6766 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
6771 eval "$ac_cv_use_popupwin"
6772 if test "$no_cache" != 1; then
6773 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
6776 if test "$wxUSE_POPUPWIN" = yes; then
6777 echo "$ac_t""yes" 1>&6
6779 echo "$ac_t""no" 1>&6
6785 echo $ac_n "checking for --enable-commondlg""... $ac_c" 1>&6
6786 echo "configure:6787: checking for --enable-commondlg" >&5
6788 # Check whether --enable-commondlg or --disable-commondlg was given.
6789 if test "${enable_commondlg+set}" = set; then
6790 enableval
="$enable_commondlg"
6792 if test "$enableval" = yes; then
6793 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
6795 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
6800 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
6801 if test "x$LINE" != x
; then
6802 eval "DEFAULT_$LINE"
6807 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
6812 eval "$ac_cv_use_commondlg"
6813 if test "$no_cache" != 1; then
6814 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
6817 if test "$wxUSE_COMMONDLGS" = yes; then
6818 echo "$ac_t""yes" 1>&6
6820 echo "$ac_t""no" 1>&6
6824 echo $ac_n "checking for --enable-choicedlg""... $ac_c" 1>&6
6825 echo "configure:6826: checking for --enable-choicedlg" >&5
6827 # Check whether --enable-choicedlg or --disable-choicedlg was given.
6828 if test "${enable_choicedlg+set}" = set; then
6829 enableval
="$enable_choicedlg"
6831 if test "$enableval" = yes; then
6832 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
6834 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
6839 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
6840 if test "x$LINE" != x
; then
6841 eval "DEFAULT_$LINE"
6846 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
6851 eval "$ac_cv_use_choicedlg"
6852 if test "$no_cache" != 1; then
6853 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
6856 if test "$wxUSE_CHOICEDLG" = yes; then
6857 echo "$ac_t""yes" 1>&6
6859 echo "$ac_t""no" 1>&6
6863 echo $ac_n "checking for --enable-coldlg""... $ac_c" 1>&6
6864 echo "configure:6865: checking for --enable-coldlg" >&5
6866 # Check whether --enable-coldlg or --disable-coldlg was given.
6867 if test "${enable_coldlg+set}" = set; then
6868 enableval
="$enable_coldlg"
6870 if test "$enableval" = yes; then
6871 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
6873 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
6878 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
6879 if test "x$LINE" != x
; then
6880 eval "DEFAULT_$LINE"
6885 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
6890 eval "$ac_cv_use_coldlg"
6891 if test "$no_cache" != 1; then
6892 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
6895 if test "$wxUSE_COLOURDLG" = yes; then
6896 echo "$ac_t""yes" 1>&6
6898 echo "$ac_t""no" 1>&6
6902 echo $ac_n "checking for --enable-filedlg""... $ac_c" 1>&6
6903 echo "configure:6904: checking for --enable-filedlg" >&5
6905 # Check whether --enable-filedlg or --disable-filedlg was given.
6906 if test "${enable_filedlg+set}" = set; then
6907 enableval
="$enable_filedlg"
6909 if test "$enableval" = yes; then
6910 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
6912 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
6917 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
6918 if test "x$LINE" != x
; then
6919 eval "DEFAULT_$LINE"
6924 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
6929 eval "$ac_cv_use_filedlg"
6930 if test "$no_cache" != 1; then
6931 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
6934 if test "$wxUSE_FILEDLG" = yes; then
6935 echo "$ac_t""yes" 1>&6
6937 echo "$ac_t""no" 1>&6
6941 echo $ac_n "checking for --enable-finddlg""... $ac_c" 1>&6
6942 echo "configure:6943: checking for --enable-finddlg" >&5
6944 # Check whether --enable-finddlg or --disable-finddlg was given.
6945 if test "${enable_finddlg+set}" = set; then
6946 enableval
="$enable_finddlg"
6948 if test "$enableval" = yes; then
6949 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
6951 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
6956 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
6957 if test "x$LINE" != x
; then
6958 eval "DEFAULT_$LINE"
6963 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
6968 eval "$ac_cv_use_finddlg"
6969 if test "$no_cache" != 1; then
6970 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
6973 if test "$wxUSE_FINDREPLDLG" = yes; then
6974 echo "$ac_t""yes" 1>&6
6976 echo "$ac_t""no" 1>&6
6980 echo $ac_n "checking for --enable-fontdlg""... $ac_c" 1>&6
6981 echo "configure:6982: checking for --enable-fontdlg" >&5
6983 # Check whether --enable-fontdlg or --disable-fontdlg was given.
6984 if test "${enable_fontdlg+set}" = set; then
6985 enableval
="$enable_fontdlg"
6987 if test "$enableval" = yes; then
6988 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
6990 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
6995 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
6996 if test "x$LINE" != x
; then
6997 eval "DEFAULT_$LINE"
7002 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
7007 eval "$ac_cv_use_fontdlg"
7008 if test "$no_cache" != 1; then
7009 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
7012 if test "$wxUSE_FONTDLG" = yes; then
7013 echo "$ac_t""yes" 1>&6
7015 echo "$ac_t""no" 1>&6
7019 echo $ac_n "checking for --enable-dirdlg""... $ac_c" 1>&6
7020 echo "configure:7021: checking for --enable-dirdlg" >&5
7022 # Check whether --enable-dirdlg or --disable-dirdlg was given.
7023 if test "${enable_dirdlg+set}" = set; then
7024 enableval
="$enable_dirdlg"
7026 if test "$enableval" = yes; then
7027 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
7029 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
7034 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
7035 if test "x$LINE" != x
; then
7036 eval "DEFAULT_$LINE"
7041 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
7046 eval "$ac_cv_use_dirdlg"
7047 if test "$no_cache" != 1; then
7048 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
7051 if test "$wxUSE_DIRDLG" = yes; then
7052 echo "$ac_t""yes" 1>&6
7054 echo "$ac_t""no" 1>&6
7058 echo $ac_n "checking for --enable-msgdlg""... $ac_c" 1>&6
7059 echo "configure:7060: checking for --enable-msgdlg" >&5
7061 # Check whether --enable-msgdlg or --disable-msgdlg was given.
7062 if test "${enable_msgdlg+set}" = set; then
7063 enableval
="$enable_msgdlg"
7065 if test "$enableval" = yes; then
7066 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
7068 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
7073 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
7074 if test "x$LINE" != x
; then
7075 eval "DEFAULT_$LINE"
7080 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
7085 eval "$ac_cv_use_msgdlg"
7086 if test "$no_cache" != 1; then
7087 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
7090 if test "$wxUSE_MSGDLG" = yes; then
7091 echo "$ac_t""yes" 1>&6
7093 echo "$ac_t""no" 1>&6
7097 echo $ac_n "checking for --enable-numberdlg""... $ac_c" 1>&6
7098 echo "configure:7099: checking for --enable-numberdlg" >&5
7100 # Check whether --enable-numberdlg or --disable-numberdlg was given.
7101 if test "${enable_numberdlg+set}" = set; then
7102 enableval
="$enable_numberdlg"
7104 if test "$enableval" = yes; then
7105 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
7107 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
7112 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
7113 if test "x$LINE" != x
; then
7114 eval "DEFAULT_$LINE"
7119 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
7124 eval "$ac_cv_use_numberdlg"
7125 if test "$no_cache" != 1; then
7126 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
7129 if test "$wxUSE_NUMBERDLG" = yes; then
7130 echo "$ac_t""yes" 1>&6
7132 echo "$ac_t""no" 1>&6
7136 echo $ac_n "checking for --enable-splash""... $ac_c" 1>&6
7137 echo "configure:7138: checking for --enable-splash" >&5
7139 # Check whether --enable-splash or --disable-splash was given.
7140 if test "${enable_splash+set}" = set; then
7141 enableval
="$enable_splash"
7143 if test "$enableval" = yes; then
7144 ac_cv_use_splash
='wxUSE_SPLASH=yes'
7146 ac_cv_use_splash
='wxUSE_SPLASH=no'
7151 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
7152 if test "x$LINE" != x
; then
7153 eval "DEFAULT_$LINE"
7158 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
7163 eval "$ac_cv_use_splash"
7164 if test "$no_cache" != 1; then
7165 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
7168 if test "$wxUSE_SPLASH" = yes; then
7169 echo "$ac_t""yes" 1>&6
7171 echo "$ac_t""no" 1>&6
7175 echo $ac_n "checking for --enable-textdlg""... $ac_c" 1>&6
7176 echo "configure:7177: checking for --enable-textdlg" >&5
7178 # Check whether --enable-textdlg or --disable-textdlg was given.
7179 if test "${enable_textdlg+set}" = set; then
7180 enableval
="$enable_textdlg"
7182 if test "$enableval" = yes; then
7183 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
7185 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
7190 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
7191 if test "x$LINE" != x
; then
7192 eval "DEFAULT_$LINE"
7197 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
7202 eval "$ac_cv_use_textdlg"
7203 if test "$no_cache" != 1; then
7204 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
7207 if test "$wxUSE_TEXTDLG" = yes; then
7208 echo "$ac_t""yes" 1>&6
7210 echo "$ac_t""no" 1>&6
7214 echo $ac_n "checking for --enable-tipdlg""... $ac_c" 1>&6
7215 echo "configure:7216: checking for --enable-tipdlg" >&5
7217 # Check whether --enable-tipdlg or --disable-tipdlg was given.
7218 if test "${enable_tipdlg+set}" = set; then
7219 enableval
="$enable_tipdlg"
7221 if test "$enableval" = yes; then
7222 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
7224 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
7229 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
7230 if test "x$LINE" != x
; then
7231 eval "DEFAULT_$LINE"
7236 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
7241 eval "$ac_cv_use_tipdlg"
7242 if test "$no_cache" != 1; then
7243 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
7246 if test "$wxUSE_STARTUP_TIPS" = yes; then
7247 echo "$ac_t""yes" 1>&6
7249 echo "$ac_t""no" 1>&6
7253 echo $ac_n "checking for --enable-progressdlg""... $ac_c" 1>&6
7254 echo "configure:7255: checking for --enable-progressdlg" >&5
7256 # Check whether --enable-progressdlg or --disable-progressdlg was given.
7257 if test "${enable_progressdlg+set}" = set; then
7258 enableval
="$enable_progressdlg"
7260 if test "$enableval" = yes; then
7261 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
7263 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
7268 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
7269 if test "x$LINE" != x
; then
7270 eval "DEFAULT_$LINE"
7275 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
7280 eval "$ac_cv_use_progressdlg"
7281 if test "$no_cache" != 1; then
7282 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
7285 if test "$wxUSE_PROGRESSDLG" = yes; then
7286 echo "$ac_t""yes" 1>&6
7288 echo "$ac_t""no" 1>&6
7292 echo $ac_n "checking for --enable-wizarddlg""... $ac_c" 1>&6
7293 echo "configure:7294: checking for --enable-wizarddlg" >&5
7295 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
7296 if test "${enable_wizarddlg+set}" = set; then
7297 enableval
="$enable_wizarddlg"
7299 if test "$enableval" = yes; then
7300 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
7302 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
7307 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
7308 if test "x$LINE" != x
; then
7309 eval "DEFAULT_$LINE"
7314 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
7319 eval "$ac_cv_use_wizarddlg"
7320 if test "$no_cache" != 1; then
7321 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
7324 if test "$wxUSE_WIZARDDLG" = yes; then
7325 echo "$ac_t""yes" 1>&6
7327 echo "$ac_t""no" 1>&6
7333 echo $ac_n "checking for --enable-menus""... $ac_c" 1>&6
7334 echo "configure:7335: checking for --enable-menus" >&5
7336 # Check whether --enable-menus or --disable-menus was given.
7337 if test "${enable_menus+set}" = set; then
7338 enableval
="$enable_menus"
7340 if test "$enableval" = yes; then
7341 ac_cv_use_menus
='wxUSE_MENUS=yes'
7343 ac_cv_use_menus
='wxUSE_MENUS=no'
7348 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
7349 if test "x$LINE" != x
; then
7350 eval "DEFAULT_$LINE"
7355 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
7360 eval "$ac_cv_use_menus"
7361 if test "$no_cache" != 1; then
7362 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
7365 if test "$wxUSE_MENUS" = yes; then
7366 echo "$ac_t""yes" 1>&6
7368 echo "$ac_t""no" 1>&6
7372 echo $ac_n "checking for --enable-miniframe""... $ac_c" 1>&6
7373 echo "configure:7374: checking for --enable-miniframe" >&5
7375 # Check whether --enable-miniframe or --disable-miniframe was given.
7376 if test "${enable_miniframe+set}" = set; then
7377 enableval
="$enable_miniframe"
7379 if test "$enableval" = yes; then
7380 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
7382 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
7387 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
7388 if test "x$LINE" != x
; then
7389 eval "DEFAULT_$LINE"
7394 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
7399 eval "$ac_cv_use_miniframe"
7400 if test "$no_cache" != 1; then
7401 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
7404 if test "$wxUSE_MINIFRAME" = yes; then
7405 echo "$ac_t""yes" 1>&6
7407 echo "$ac_t""no" 1>&6
7411 echo $ac_n "checking for --enable-tooltips""... $ac_c" 1>&6
7412 echo "configure:7413: checking for --enable-tooltips" >&5
7414 # Check whether --enable-tooltips or --disable-tooltips was given.
7415 if test "${enable_tooltips+set}" = set; then
7416 enableval
="$enable_tooltips"
7418 if test "$enableval" = yes; then
7419 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
7421 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
7426 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
7427 if test "x$LINE" != x
; then
7428 eval "DEFAULT_$LINE"
7433 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
7438 eval "$ac_cv_use_tooltips"
7439 if test "$no_cache" != 1; then
7440 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
7443 if test "$wxUSE_TOOLTIPS" = yes; then
7444 echo "$ac_t""yes" 1>&6
7446 echo "$ac_t""no" 1>&6
7450 echo $ac_n "checking for --enable-splines""... $ac_c" 1>&6
7451 echo "configure:7452: checking for --enable-splines" >&5
7453 # Check whether --enable-splines or --disable-splines was given.
7454 if test "${enable_splines+set}" = set; then
7455 enableval
="$enable_splines"
7457 if test "$enableval" = yes; then
7458 ac_cv_use_splines
='wxUSE_SPLINES=yes'
7460 ac_cv_use_splines
='wxUSE_SPLINES=no'
7465 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
7466 if test "x$LINE" != x
; then
7467 eval "DEFAULT_$LINE"
7472 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
7477 eval "$ac_cv_use_splines"
7478 if test "$no_cache" != 1; then
7479 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
7482 if test "$wxUSE_SPLINES" = yes; then
7483 echo "$ac_t""yes" 1>&6
7485 echo "$ac_t""no" 1>&6
7489 echo $ac_n "checking for --enable-validators""... $ac_c" 1>&6
7490 echo "configure:7491: checking for --enable-validators" >&5
7492 # Check whether --enable-validators or --disable-validators was given.
7493 if test "${enable_validators+set}" = set; then
7494 enableval
="$enable_validators"
7496 if test "$enableval" = yes; then
7497 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
7499 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
7504 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
7505 if test "x$LINE" != x
; then
7506 eval "DEFAULT_$LINE"
7511 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
7516 eval "$ac_cv_use_validators"
7517 if test "$no_cache" != 1; then
7518 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
7521 if test "$wxUSE_VALIDATORS" = yes; then
7522 echo "$ac_t""yes" 1>&6
7524 echo "$ac_t""no" 1>&6
7528 echo $ac_n "checking for --enable-busyinfo""... $ac_c" 1>&6
7529 echo "configure:7530: checking for --enable-busyinfo" >&5
7531 # Check whether --enable-busyinfo or --disable-busyinfo was given.
7532 if test "${enable_busyinfo+set}" = set; then
7533 enableval
="$enable_busyinfo"
7535 if test "$enableval" = yes; then
7536 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
7538 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
7543 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
7544 if test "x$LINE" != x
; then
7545 eval "DEFAULT_$LINE"
7550 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
7555 eval "$ac_cv_use_busyinfo"
7556 if test "$no_cache" != 1; then
7557 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
7560 if test "$wxUSE_BUSYINFO" = yes; then
7561 echo "$ac_t""yes" 1>&6
7563 echo "$ac_t""no" 1>&6
7567 echo $ac_n "checking for --enable-joystick""... $ac_c" 1>&6
7568 echo "configure:7569: checking for --enable-joystick" >&5
7570 # Check whether --enable-joystick or --disable-joystick was given.
7571 if test "${enable_joystick+set}" = set; then
7572 enableval
="$enable_joystick"
7574 if test "$enableval" = yes; then
7575 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
7577 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
7582 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
7583 if test "x$LINE" != x
; then
7584 eval "DEFAULT_$LINE"
7589 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
7594 eval "$ac_cv_use_joystick"
7595 if test "$no_cache" != 1; then
7596 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
7599 if test "$wxUSE_JOYSTICK" = yes; then
7600 echo "$ac_t""yes" 1>&6
7602 echo "$ac_t""no" 1>&6
7606 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
7607 echo "configure:7608: checking for --enable-metafile" >&5
7609 # Check whether --enable-metafile or --disable-metafile was given.
7610 if test "${enable_metafile+set}" = set; then
7611 enableval
="$enable_metafile"
7613 if test "$enableval" = yes; then
7614 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
7616 ac_cv_use_metafile
='wxUSE_METAFILE=no'
7621 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7622 if test "x$LINE" != x
; then
7623 eval "DEFAULT_$LINE"
7628 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7633 eval "$ac_cv_use_metafile"
7634 if test "$no_cache" != 1; then
7635 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7638 if test "$wxUSE_METAFILE" = yes; then
7639 echo "$ac_t""yes" 1>&6
7641 echo "$ac_t""no" 1>&6
7645 echo $ac_n "checking for --enable-dragimage""... $ac_c" 1>&6
7646 echo "configure:7647: checking for --enable-dragimage" >&5
7648 # Check whether --enable-dragimage or --disable-dragimage was given.
7649 if test "${enable_dragimage+set}" = set; then
7650 enableval
="$enable_dragimage"
7652 if test "$enableval" = yes; then
7653 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
7655 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
7660 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
7661 if test "x$LINE" != x
; then
7662 eval "DEFAULT_$LINE"
7667 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
7672 eval "$ac_cv_use_dragimage"
7673 if test "$no_cache" != 1; then
7674 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
7677 if test "$wxUSE_DRAGIMAGE" = yes; then
7678 echo "$ac_t""yes" 1>&6
7680 echo "$ac_t""no" 1>&6
7686 echo $ac_n "checking for --enable-palette""... $ac_c" 1>&6
7687 echo "configure:7688: checking for --enable-palette" >&5
7689 # Check whether --enable-palette or --disable-palette was given.
7690 if test "${enable_palette+set}" = set; then
7691 enableval
="$enable_palette"
7693 if test "$enableval" = yes; then
7694 ac_cv_use_palette
='wxUSE_PALETTE=yes'
7696 ac_cv_use_palette
='wxUSE_PALETTE=no'
7701 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
7702 if test "x$LINE" != x
; then
7703 eval "DEFAULT_$LINE"
7708 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
7713 eval "$ac_cv_use_palette"
7714 if test "$no_cache" != 1; then
7715 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
7718 if test "$wxUSE_PALETTE" = yes; then
7719 echo "$ac_t""yes" 1>&6
7721 echo "$ac_t""no" 1>&6
7725 echo $ac_n "checking for --enable-image""... $ac_c" 1>&6
7726 echo "configure:7727: checking for --enable-image" >&5
7728 # Check whether --enable-image or --disable-image was given.
7729 if test "${enable_image+set}" = set; then
7730 enableval
="$enable_image"
7732 if test "$enableval" = yes; then
7733 ac_cv_use_image
='wxUSE_IMAGE=yes'
7735 ac_cv_use_image
='wxUSE_IMAGE=no'
7740 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
7741 if test "x$LINE" != x
; then
7742 eval "DEFAULT_$LINE"
7747 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
7752 eval "$ac_cv_use_image"
7753 if test "$no_cache" != 1; then
7754 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
7757 if test "$wxUSE_IMAGE" = yes; then
7758 echo "$ac_t""yes" 1>&6
7760 echo "$ac_t""no" 1>&6
7764 echo $ac_n "checking for --enable-gif""... $ac_c" 1>&6
7765 echo "configure:7766: checking for --enable-gif" >&5
7767 # Check whether --enable-gif or --disable-gif was given.
7768 if test "${enable_gif+set}" = set; then
7769 enableval
="$enable_gif"
7771 if test "$enableval" = yes; then
7772 ac_cv_use_gif
='wxUSE_GIF=yes'
7774 ac_cv_use_gif
='wxUSE_GIF=no'
7779 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
7780 if test "x$LINE" != x
; then
7781 eval "DEFAULT_$LINE"
7786 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
7791 eval "$ac_cv_use_gif"
7792 if test "$no_cache" != 1; then
7793 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
7796 if test "$wxUSE_GIF" = yes; then
7797 echo "$ac_t""yes" 1>&6
7799 echo "$ac_t""no" 1>&6
7803 echo $ac_n "checking for --enable-pcx""... $ac_c" 1>&6
7804 echo "configure:7805: checking for --enable-pcx" >&5
7806 # Check whether --enable-pcx or --disable-pcx was given.
7807 if test "${enable_pcx+set}" = set; then
7808 enableval
="$enable_pcx"
7810 if test "$enableval" = yes; then
7811 ac_cv_use_pcx
='wxUSE_PCX=yes'
7813 ac_cv_use_pcx
='wxUSE_PCX=no'
7818 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
7819 if test "x$LINE" != x
; then
7820 eval "DEFAULT_$LINE"
7825 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
7830 eval "$ac_cv_use_pcx"
7831 if test "$no_cache" != 1; then
7832 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
7835 if test "$wxUSE_PCX" = yes; then
7836 echo "$ac_t""yes" 1>&6
7838 echo "$ac_t""no" 1>&6
7842 echo $ac_n "checking for --enable-pnm""... $ac_c" 1>&6
7843 echo "configure:7844: checking for --enable-pnm" >&5
7845 # Check whether --enable-pnm or --disable-pnm was given.
7846 if test "${enable_pnm+set}" = set; then
7847 enableval
="$enable_pnm"
7849 if test "$enableval" = yes; then
7850 ac_cv_use_pnm
='wxUSE_PNM=yes'
7852 ac_cv_use_pnm
='wxUSE_PNM=no'
7857 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
7858 if test "x$LINE" != x
; then
7859 eval "DEFAULT_$LINE"
7864 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
7869 eval "$ac_cv_use_pnm"
7870 if test "$no_cache" != 1; then
7871 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
7874 if test "$wxUSE_PNM" = yes; then
7875 echo "$ac_t""yes" 1>&6
7877 echo "$ac_t""no" 1>&6
7881 echo $ac_n "checking for --enable-xpm""... $ac_c" 1>&6
7882 echo "configure:7883: checking for --enable-xpm" >&5
7884 # Check whether --enable-xpm or --disable-xpm was given.
7885 if test "${enable_xpm+set}" = set; then
7886 enableval
="$enable_xpm"
7888 if test "$enableval" = yes; then
7889 ac_cv_use_xpm
='wxUSE_XPM=yes'
7891 ac_cv_use_xpm
='wxUSE_XPM=no'
7896 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
7897 if test "x$LINE" != x
; then
7898 eval "DEFAULT_$LINE"
7903 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
7908 eval "$ac_cv_use_xpm"
7909 if test "$no_cache" != 1; then
7910 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
7913 if test "$wxUSE_XPM" = yes; then
7914 echo "$ac_t""yes" 1>&6
7916 echo "$ac_t""no" 1>&6
7923 echo "saving argument cache $wx_arg_cache_file"
7924 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
7928 echo $ac_n "checking for toolkit""... $ac_c" 1>&6
7929 echo "configure:7930: checking for toolkit" >&5
7931 if test "$wxUSE_GUI" = "yes"; then
7933 if test "$USE_BEOS" = 1; then
7934 { echo "configure: error: BeOS GUI is not supported yet, use --disable-gui" 1>&2; exit 1; }
7937 if test "$TOOLKIT_GIVEN" = 1; then
7938 for toolkit
in `echo $ALL_TOOLKITS`; do
7940 eval "value=\$${var}"
7941 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
7944 for toolkit
in `echo $ALL_TOOLKITS`; do
7945 if test "$has_toolkit_in_cache" != 1; then
7946 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
7948 var
=DEFAULT_wxUSE_
$toolkit
7950 eval "wxUSE_$toolkit=\$${var}"
7954 NUM_TOOLKITS
=`expr ${wxUSE_GTK:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MAC:-0} \
7955 + ${wxUSE_WINE:-0} + ${wxUSE_MSW:-0} + ${wxUSE_MGL:-0}`
7958 *-pc-os2_emx | *-pc-os2-emx )
7959 # PATH_IFS is autodetected by OS/2's configure (usually ';')
7960 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
7969 case "$NUM_TOOLKITS" in
7973 { echo "configure: error: Please specify a toolkit - cannot determine the default for ${host}" 1>&2; exit 1; }
7976 { echo "configure: error: Please specify at most one toolkit (may be some are cached?)" 1>&2; exit 1; }
7979 for toolkit
in `echo $ALL_TOOLKITS`; do
7981 eval "value=\$${var}"
7982 if test "x$value" != x
; then
7983 cache_var
=CACHE_
$toolkit
7984 eval "cache=\$${cache_var}"
7985 if test "$cache" = 1; then
7986 echo "$var=$value" >> ${wx_arg_cache_file}
7988 if test "$value" = 1; then
7989 toolkit_echo
=`echo $toolkit | tr [A-Z] [a-z]`
7990 echo "$ac_t""$toolkit_echo" 1>&6
7996 echo "$ac_t""base ($host_alias hosted) only" 1>&6
8000 cat > confcache
<<\EOF
8001 # This file is a shell script that caches the results of configure
8002 # tests run on this system so they can be shared between configure
8003 # scripts and configure runs. It is not useful on other systems.
8004 # If it contains results you don't want to keep, you may remove or edit it.
8006 # By default, configure uses ./config.cache as the cache file,
8007 # creating it if it does not exist already. You can give configure
8008 # the --cache-file=FILE option to use a different cache file; that is
8009 # what configure does when it calls configure scripts in
8010 # subdirectories, so they share the cache.
8011 # Giving --cache-file=/dev/null disables caching, for debugging configure.
8012 # config.status only pays attention to the cache file if you give it the
8013 # --recheck option to rerun configure.
8016 # The following way of writing the cache mishandles newlines in values,
8017 # but we know of no workaround that is simple, portable, and efficient.
8018 # So, don't put newlines in cache variables' values.
8019 # Ultrix sh set writes to stderr and can't be redirected directly,
8020 # and sets the high bit in the cache file unless we assign to the vars.
8022 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8024 # `set' does not quote correctly, so add quotes (double-quote substitution
8025 # turns \\\\ into \\, and sed turns \\ into \).
8027 -e "s/'/'\\\\''/g" \
8028 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
8031 # `set' quotes correctly as required by POSIX, so do not add quotes.
8032 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
8035 if cmp -s $cache_file confcache
; then
8038 if test -w $cache_file; then
8039 echo "updating cache $cache_file"
8040 cat confcache
> $cache_file
8042 echo "not updating unwritable cache $cache_file"
8048 if test "$build" != "$host" ; then
8049 if test "$USE_WIN32" = 1 ; then
8053 RANLIB
=$host_alias-ranlib
8054 DLLTOOL
=$host_alias-dlltool
8055 RESCOMP
=$host_alias-windres
8058 STRIP
=$host_alias-strip
8060 { echo "configure: error: $build_alias -> $host_alias cross compilation not supported yet." 1>&2; exit 1; }
8064 # Extract the first word of "gcc", so it can be a program name with args.
8065 set dummy gcc
; ac_word
=$2
8066 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8067 echo "configure:8068: checking for $ac_word" >&5
8068 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8069 echo $ac_n "(cached) $ac_c" 1>&6
8071 if test -n "$CC"; then
8072 ac_cv_prog_CC
="$CC" # Let the user override the test.
8074 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8076 for ac_dir
in $ac_dummy; do
8077 test -z "$ac_dir" && ac_dir
=.
8078 if test -f $ac_dir/$ac_word; then
8087 if test -n "$CC"; then
8088 echo "$ac_t""$CC" 1>&6
8090 echo "$ac_t""no" 1>&6
8093 if test -z "$CC"; then
8094 # Extract the first word of "cc", so it can be a program name with args.
8095 set dummy cc
; ac_word
=$2
8096 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8097 echo "configure:8098: checking for $ac_word" >&5
8098 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8099 echo $ac_n "(cached) $ac_c" 1>&6
8101 if test -n "$CC"; then
8102 ac_cv_prog_CC
="$CC" # Let the user override the test.
8104 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8107 for ac_dir
in $ac_dummy; do
8108 test -z "$ac_dir" && ac_dir
=.
8109 if test -f $ac_dir/$ac_word; then
8110 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
8111 ac_prog_rejected
=yes
8119 if test $ac_prog_rejected = yes; then
8120 # We found a bogon in the path, so make sure we never use it.
8121 set dummy
$ac_cv_prog_CC
8123 if test $# -gt 0; then
8124 # We chose a different compiler from the bogus one.
8125 # However, it has the same basename, so the bogon will be chosen
8126 # first if we set CC to just the basename; use the full file name.
8128 set dummy
"$ac_dir/$ac_word" "$@"
8136 if test -n "$CC"; then
8137 echo "$ac_t""$CC" 1>&6
8139 echo "$ac_t""no" 1>&6
8142 if test -z "$CC"; then
8143 case "`uname -s`" in
8145 # Extract the first word of "cl", so it can be a program name with args.
8146 set dummy cl
; ac_word
=$2
8147 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8148 echo "configure:8149: checking for $ac_word" >&5
8149 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8150 echo $ac_n "(cached) $ac_c" 1>&6
8152 if test -n "$CC"; then
8153 ac_cv_prog_CC
="$CC" # Let the user override the test.
8155 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8157 for ac_dir
in $ac_dummy; do
8158 test -z "$ac_dir" && ac_dir
=.
8159 if test -f $ac_dir/$ac_word; then
8168 if test -n "$CC"; then
8169 echo "$ac_t""$CC" 1>&6
8171 echo "$ac_t""no" 1>&6
8176 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
8179 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
8180 echo "configure:8181: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
8183 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8184 ac_cpp
='$CPP $CPPFLAGS'
8185 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8186 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8187 cross_compiling
=$ac_cv_prog_cc_cross
8189 cat > conftest.
$ac_ext << EOF
8191 #line 8192 "configure"
8192 #include "confdefs.h"
8196 if { (eval echo configure
:8197: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8197 ac_cv_prog_cc_works
=yes
8198 # If we can't run a trivial program, we are probably using a cross compiler.
8199 if (.
/conftest
; exit) 2>/dev
/null
; then
8200 ac_cv_prog_cc_cross
=no
8202 ac_cv_prog_cc_cross
=yes
8205 echo "configure: failed program was:" >&5
8206 cat conftest.
$ac_ext >&5
8207 ac_cv_prog_cc_works
=no
8211 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8212 ac_cpp
='$CPP $CPPFLAGS'
8213 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8214 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8215 cross_compiling
=$ac_cv_prog_cc_cross
8217 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
8218 if test $ac_cv_prog_cc_works = no
; then
8219 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
8221 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
8222 echo "configure:8223: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
8223 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
8224 cross_compiling
=$ac_cv_prog_cc_cross
8226 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
8227 echo "configure:8228: checking whether we are using GNU C" >&5
8228 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
8229 echo $ac_n "(cached) $ac_c" 1>&6
8231 cat > conftest.c
<<EOF
8236 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:8237: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
8243 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
8245 if test $ac_cv_prog_gcc = yes; then
8251 ac_test_CFLAGS
="${CFLAGS+set}"
8252 ac_save_CFLAGS
="$CFLAGS"
8254 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
8255 echo "configure:8256: checking whether ${CC-cc} accepts -g" >&5
8256 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
8257 echo $ac_n "(cached) $ac_c" 1>&6
8259 echo 'void f(){}' > conftest.c
8260 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
8269 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
8270 if test "$ac_test_CFLAGS" = set; then
8271 CFLAGS
="$ac_save_CFLAGS"
8272 elif test $ac_cv_prog_cc_g = yes; then
8273 if test "$GCC" = yes; then
8279 if test "$GCC" = yes; then
8287 CFLAGS
=`echo "$CFLAGS" | sed 's/-g//g'`
8289 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
8290 echo "configure:8291: checking how to run the C preprocessor" >&5
8291 # On Suns, sometimes $CPP names a directory.
8292 if test -n "$CPP" && test -d "$CPP"; then
8295 if test -z "$CPP"; then
8296 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
8297 echo $ac_n "(cached) $ac_c" 1>&6
8299 # This must be in double quotes, not single quotes, because CPP may get
8300 # substituted into the Makefile and "${CC-cc}" will confuse make.
8302 # On the NeXT, cc -E runs the code through the compiler's parser,
8303 # not just through cpp.
8304 cat > conftest.
$ac_ext <<EOF
8305 #line 8306 "configure"
8306 #include "confdefs.h"
8310 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8311 { (eval echo configure
:8312: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8312 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8313 if test -z "$ac_err"; then
8317 echo "configure: failed program was:" >&5
8318 cat conftest.
$ac_ext >&5
8320 CPP
="${CC-cc} -E -traditional-cpp"
8321 cat > conftest.
$ac_ext <<EOF
8322 #line 8323 "configure"
8323 #include "confdefs.h"
8327 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8328 { (eval echo configure
:8329: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8329 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8330 if test -z "$ac_err"; then
8334 echo "configure: failed program was:" >&5
8335 cat conftest.
$ac_ext >&5
8337 CPP
="${CC-cc} -nologo -E"
8338 cat > conftest.
$ac_ext <<EOF
8339 #line 8340 "configure"
8340 #include "confdefs.h"
8344 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8345 { (eval echo configure
:8346: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8346 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8347 if test -z "$ac_err"; then
8351 echo "configure: failed program was:" >&5
8352 cat conftest.
$ac_ext >&5
8361 ac_cv_prog_CPP
="$CPP"
8363 CPP
="$ac_cv_prog_CPP"
8365 ac_cv_prog_CPP
="$CPP"
8367 echo "$ac_t""$CPP" 1>&6
8369 if test $ac_cv_prog_gcc = yes; then
8370 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
8371 echo "configure:8372: checking whether ${CC-cc} needs -traditional" >&5
8372 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
8373 echo $ac_n "(cached) $ac_c" 1>&6
8375 ac_pattern
="Autoconf.*'x'"
8376 cat > conftest.
$ac_ext <<EOF
8377 #line 8378 "configure"
8378 #include "confdefs.h"
8382 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8383 egrep "$ac_pattern" >/dev
/null
2>&1; then
8385 ac_cv_prog_gcc_traditional
=yes
8388 ac_cv_prog_gcc_traditional
=no
8393 if test $ac_cv_prog_gcc_traditional = no
; then
8394 cat > conftest.
$ac_ext <<EOF
8395 #line 8396 "configure"
8396 #include "confdefs.h"
8400 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8401 egrep "$ac_pattern" >/dev
/null
2>&1; then
8403 ac_cv_prog_gcc_traditional
=yes
8410 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
8411 if test $ac_cv_prog_gcc_traditional = yes; then
8412 CC
="$CC -traditional"
8419 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8420 ac_cpp
='$CXXCPP $CPPFLAGS'
8421 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8422 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8423 cross_compiling
=$ac_cv_prog_cxx_cross
8426 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++ cl
8428 # Extract the first word of "$ac_prog", so it can be a program name with args.
8429 set dummy
$ac_prog; ac_word
=$2
8430 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8431 echo "configure:8432: checking for $ac_word" >&5
8432 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
8433 echo $ac_n "(cached) $ac_c" 1>&6
8435 if test -n "$CXX"; then
8436 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
8438 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8440 for ac_dir
in $ac_dummy; do
8441 test -z "$ac_dir" && ac_dir
=.
8442 if test -f $ac_dir/$ac_word; then
8443 ac_cv_prog_CXX
="$ac_prog"
8450 CXX
="$ac_cv_prog_CXX"
8451 if test -n "$CXX"; then
8452 echo "$ac_t""$CXX" 1>&6
8454 echo "$ac_t""no" 1>&6
8457 test -n "$CXX" && break
8459 test -n "$CXX" || CXX
="gcc"
8462 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
8463 echo "configure:8464: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
8466 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8467 ac_cpp
='$CXXCPP $CPPFLAGS'
8468 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8469 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8470 cross_compiling
=$ac_cv_prog_cxx_cross
8472 cat > conftest.
$ac_ext << EOF
8474 #line 8475 "configure"
8475 #include "confdefs.h"
8477 int main(){return(0);}
8479 if { (eval echo configure
:8480: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8480 ac_cv_prog_cxx_works
=yes
8481 # If we can't run a trivial program, we are probably using a cross compiler.
8482 if (.
/conftest
; exit) 2>/dev
/null
; then
8483 ac_cv_prog_cxx_cross
=no
8485 ac_cv_prog_cxx_cross
=yes
8488 echo "configure: failed program was:" >&5
8489 cat conftest.
$ac_ext >&5
8490 ac_cv_prog_cxx_works
=no
8494 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8495 ac_cpp
='$CXXCPP $CPPFLAGS'
8496 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8497 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8498 cross_compiling
=$ac_cv_prog_cxx_cross
8500 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
8501 if test $ac_cv_prog_cxx_works = no
; then
8502 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
8504 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
8505 echo "configure:8506: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
8506 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
8507 cross_compiling
=$ac_cv_prog_cxx_cross
8509 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
8510 echo "configure:8511: checking whether we are using GNU C++" >&5
8511 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
8512 echo $ac_n "(cached) $ac_c" 1>&6
8514 cat > conftest.C
<<EOF
8519 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:8520: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
8526 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
8528 if test $ac_cv_prog_gxx = yes; then
8534 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
8535 ac_save_CXXFLAGS
="$CXXFLAGS"
8537 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
8538 echo "configure:8539: checking whether ${CXX-g++} accepts -g" >&5
8539 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
8540 echo $ac_n "(cached) $ac_c" 1>&6
8542 echo 'void f(){}' > conftest.cc
8543 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
8544 ac_cv_prog_cxx_g
=yes
8552 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
8553 if test "$ac_test_CXXFLAGS" = set; then
8554 CXXFLAGS
="$ac_save_CXXFLAGS"
8555 elif test $ac_cv_prog_cxx_g = yes; then
8556 if test "$GXX" = yes; then
8562 if test "$GXX" = yes; then
8570 CXXFLAGS
=`echo "$CXXFLAGS" | sed 's/-g//g'`
8573 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8574 ac_cpp
='$CPP $CPPFLAGS'
8575 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8576 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8577 cross_compiling
=$ac_cv_prog_cc_cross
8580 # Extract the first word of "ranlib", so it can be a program name with args.
8581 set dummy ranlib
; ac_word
=$2
8582 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8583 echo "configure:8584: checking for $ac_word" >&5
8584 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
8585 echo $ac_n "(cached) $ac_c" 1>&6
8587 if test -n "$RANLIB"; then
8588 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
8590 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8592 for ac_dir
in $ac_dummy; do
8593 test -z "$ac_dir" && ac_dir
=.
8594 if test -f $ac_dir/$ac_word; then
8595 ac_cv_prog_RANLIB
="ranlib"
8600 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
8603 RANLIB
="$ac_cv_prog_RANLIB"
8604 if test -n "$RANLIB"; then
8605 echo "$ac_t""$RANLIB" 1>&6
8607 echo "$ac_t""no" 1>&6
8611 # Extract the first word of "ar", so it can be a program name with args.
8612 set dummy
ar; ac_word
=$2
8613 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8614 echo "configure:8615: checking for $ac_word" >&5
8615 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
8616 echo $ac_n "(cached) $ac_c" 1>&6
8618 if test -n "$AR"; then
8619 ac_cv_prog_AR
="$AR" # Let the user override the test.
8621 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8623 for ac_dir
in $ac_dummy; do
8624 test -z "$ac_dir" && ac_dir
=.
8625 if test -f $ac_dir/$ac_word; then
8631 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
8635 if test -n "$AR"; then
8636 echo "$ac_t""$AR" 1>&6
8638 echo "$ac_t""no" 1>&6
8642 # Find a good install program. We prefer a C program (faster),
8643 # so one script is as good as another. But avoid the broken or
8644 # incompatible versions:
8645 # SysV /etc/install, /usr/sbin/install
8646 # SunOS /usr/etc/install
8647 # IRIX /sbin/install
8649 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
8650 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
8651 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
8652 # ./install, which can be erroneously created by make from ./install.sh.
8653 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
8654 echo "configure:8655: checking for a BSD compatible install" >&5
8655 if test -z "$INSTALL"; then
8656 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
8657 echo $ac_n "(cached) $ac_c" 1>&6
8659 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
8660 for ac_dir
in $PATH; do
8661 # Account for people who put trailing slashes in PATH elements.
8663 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
8665 # OSF1 and SCO ODT 3.0 have their own names for install.
8666 # Don't use installbsd from OSF since it installs stuff as root
8668 for ac_prog
in ginstall scoinst
install; do
8669 if test -f $ac_dir/$ac_prog; then
8670 if test $ac_prog = install &&
8671 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
8672 # AIX install. It has an incompatible calling convention.
8675 ac_cv_path_install
="$ac_dir/$ac_prog -c"
8686 if test "${ac_cv_path_install+set}" = set; then
8687 INSTALL
="$ac_cv_path_install"
8689 # As a last resort, use the slow shell script. We don't cache a
8690 # path for INSTALL within a source directory, because that will
8691 # break other packages using the cache if that directory is
8692 # removed, or if the path is relative.
8693 INSTALL
="$ac_install_sh"
8696 echo "$ac_t""$INSTALL" 1>&6
8698 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
8699 # It thinks the first close brace ends the variable substitution.
8700 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
8702 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
8704 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
8709 INSTALL_PROGRAM
="cp -fp"
8710 INSTALL_DATA
="cp -fp"
8716 # Extract the first word of "strip", so it can be a program name with args.
8717 set dummy strip
; ac_word
=$2
8718 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8719 echo "configure:8720: checking for $ac_word" >&5
8720 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
8721 echo $ac_n "(cached) $ac_c" 1>&6
8723 if test -n "$STRIP"; then
8724 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
8726 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8728 for ac_dir
in $ac_dummy; do
8729 test -z "$ac_dir" && ac_dir
=.
8730 if test -f $ac_dir/$ac_word; then
8731 ac_cv_prog_STRIP
="strip"
8736 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
8739 STRIP
="$ac_cv_prog_STRIP"
8740 if test -n "$STRIP"; then
8741 echo "$ac_t""$STRIP" 1>&6
8743 echo "$ac_t""no" 1>&6
8747 echo $ac_n "checking make for VPATH support""... $ac_c" 1>&6
8748 echo "configure:8749: checking make for VPATH support" >&5
8749 cat - << EOF > confMake
8755 if test ! -d sub
; then
8758 echo dummy
> sub
/file
8759 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
8761 rm -f sub
/file check final_file confMake
8763 if test "$RESULT" = 0; then
8764 echo "$ac_t""yes" 1>&6
8766 echo "$ac_t""no" 1>&6
8767 { echo "configure: error:
8768 You need a make-utility that is able to use the variable
8770 If your version of make does not support VPATH correctly,
8771 please install GNU-make (possibly as gmake), and start
8772 configure with the following command:
8773 export MAKE=gmake; ./configure for sh-type shells
8774 setenv MAKE gmake; ./configure for csh-type shells
8775 Also please do remember to use gmake in this case every time
8776 you are trying to compile.
8780 for ac_prog
in 'bison -y' byacc
8782 # Extract the first word of "$ac_prog", so it can be a program name with args.
8783 set dummy
$ac_prog; ac_word
=$2
8784 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8785 echo "configure:8786: checking for $ac_word" >&5
8786 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
8787 echo $ac_n "(cached) $ac_c" 1>&6
8789 if test -n "$YACC"; then
8790 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
8792 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8794 for ac_dir
in $ac_dummy; do
8795 test -z "$ac_dir" && ac_dir
=.
8796 if test -f $ac_dir/$ac_word; then
8797 ac_cv_prog_YACC
="$ac_prog"
8804 YACC
="$ac_cv_prog_YACC"
8805 if test -n "$YACC"; then
8806 echo "$ac_t""$YACC" 1>&6
8808 echo "$ac_t""no" 1>&6
8811 test -n "$YACC" && break
8813 test -n "$YACC" || YACC
="yacc"
8816 # Extract the first word of "flex", so it can be a program name with args.
8817 set dummy flex
; ac_word
=$2
8818 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8819 echo "configure:8820: checking for $ac_word" >&5
8820 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
8821 echo $ac_n "(cached) $ac_c" 1>&6
8823 if test -n "$LEX"; then
8824 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
8826 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8828 for ac_dir
in $ac_dummy; do
8829 test -z "$ac_dir" && ac_dir
=.
8830 if test -f $ac_dir/$ac_word; then
8831 ac_cv_prog_LEX
="flex"
8836 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
8839 LEX
="$ac_cv_prog_LEX"
8840 if test -n "$LEX"; then
8841 echo "$ac_t""$LEX" 1>&6
8843 echo "$ac_t""no" 1>&6
8846 if test -z "$LEXLIB"
8852 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
8853 echo "configure:8854: checking for yywrap in -l$ac_lib" >&5
8854 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
8855 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8856 echo $ac_n "(cached) $ac_c" 1>&6
8858 ac_save_LIBS
="$LIBS"
8859 LIBS
="-l$ac_lib $LIBS"
8860 cat > conftest.
$ac_ext <<EOF
8861 #line 8862 "configure"
8862 #include "confdefs.h"
8863 /* Override any gcc2 internal prototype to avoid an error. */
8864 /* We use char because int might match the return type of a gcc2
8865 builtin and then its argument prototype would still apply. */
8872 if { (eval echo configure
:8873: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8874 eval "ac_cv_lib_$ac_lib_var=yes"
8876 echo "configure: failed program was:" >&5
8877 cat conftest.
$ac_ext >&5
8879 eval "ac_cv_lib_$ac_lib_var=no"
8882 LIBS
="$ac_save_LIBS"
8885 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8886 echo "$ac_t""yes" 1>&6
8889 echo "$ac_t""no" 1>&6
8895 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
8896 echo "configure:8897: checking whether ln -s works" >&5
8897 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
8898 echo $ac_n "(cached) $ac_c" 1>&6
8901 if ln -s X conftestdata
2>/dev
/null
8904 ac_cv_prog_LN_S
="ln -s"
8909 LN_S
="$ac_cv_prog_LN_S"
8910 if test "$ac_cv_prog_LN_S" = "ln -s"; then
8911 echo "$ac_t""yes" 1>&6
8913 echo "$ac_t""no" 1>&6
8919 /usr/local/include \
8921 /usr/Motif-1.2/include \
8922 /usr/Motif-2.1/include \
8924 /usr/include/Motif1.2 \
8925 /opt/xpm/include/X11 \
8926 /opt/GBxpm/include/ \
8927 /opt/GBxpm/X11/include/ \
8929 /usr/Motif1.2/include \
8931 /usr/openwin/include \
8935 /usr/X11R6/include \
8936 /usr/X11R6.4/include \
8937 /usr/X11R5/include \
8938 /usr/X11R4/include \
8940 /usr/include/X11R6 \
8941 /usr/include/X11R5 \
8942 /usr/include/X11R4 \
8944 /usr/local/X11R6/include \
8945 /usr/local/X11R5/include \
8946 /usr/local/X11R4/include \
8948 /usr/local/include/X11R6 \
8949 /usr/local/include/X11R5 \
8950 /usr/local/include/X11R4 \
8954 /usr/local/X11/include \
8955 /usr/local/include/X11 \
8959 /usr/XFree86/include/X11 \
8961 X:/XFree86/include \
8962 X:/XFree86/include/X11 \
8965 /usr/local/include/gtk \
8967 /usr/local/include/glib \
8970 /usr/local/include/qt \
8972 /usr/include/windows \
8974 /usr/local/include/wine \
8976 /usr/unsupported/include \
8977 /usr/athena/include \
8978 /usr/local/x11r5/include \
8979 /usr/lpp/Xamples/include \
8981 /usr/openwin/share/include \
8985 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
8988 cat > confcache
<<\EOF
8989 # This file is a shell script that caches the results of configure
8990 # tests run on this system so they can be shared between configure
8991 # scripts and configure runs. It is not useful on other systems.
8992 # If it contains results you don't want to keep, you may remove or edit it.
8994 # By default, configure uses ./config.cache as the cache file,
8995 # creating it if it does not exist already. You can give configure
8996 # the --cache-file=FILE option to use a different cache file; that is
8997 # what configure does when it calls configure scripts in
8998 # subdirectories, so they share the cache.
8999 # Giving --cache-file=/dev/null disables caching, for debugging configure.
9000 # config.status only pays attention to the cache file if you give it the
9001 # --recheck option to rerun configure.
9004 # The following way of writing the cache mishandles newlines in values,
9005 # but we know of no workaround that is simple, portable, and efficient.
9006 # So, don't put newlines in cache variables' values.
9007 # Ultrix sh set writes to stderr and can't be redirected directly,
9008 # and sets the high bit in the cache file unless we assign to the vars.
9010 case `(ac_space=' '; set | grep ac_space) 2>&1` in
9012 # `set' does not quote correctly, so add quotes (double-quote substitution
9013 # turns \\\\ into \\, and sed turns \\ into \).
9015 -e "s/'/'\\\\''/g" \
9016 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
9019 # `set' quotes correctly as required by POSIX, so do not add quotes.
9020 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
9023 if cmp -s $cache_file confcache
; then
9026 if test -w $cache_file; then
9027 echo "updating cache $cache_file"
9028 cat confcache
> $cache_file
9030 echo "not updating unwritable cache $cache_file"
9039 if test "$wxUSE_REGEX" != "no"; then
9040 cat >> confdefs.h
<<\EOF
9041 #define wxUSE_REGEX 1
9045 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
9046 ac_safe
=`echo "regex.h" | sed 'y%./+-%__p_%'`
9047 echo $ac_n "checking for regex.h""... $ac_c" 1>&6
9048 echo "configure:9049: checking for regex.h" >&5
9049 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9050 echo $ac_n "(cached) $ac_c" 1>&6
9052 cat > conftest.
$ac_ext <<EOF
9053 #line 9054 "configure"
9054 #include "confdefs.h"
9057 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9058 { (eval echo configure
:9059: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9059 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9060 if test -z "$ac_err"; then
9062 eval "ac_cv_header_$ac_safe=yes"
9065 echo "configure: failed program was:" >&5
9066 cat conftest.
$ac_ext >&5
9068 eval "ac_cv_header_$ac_safe=no"
9072 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9073 echo "$ac_t""yes" 1>&6
9074 for ac_func
in regcomp
9076 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9077 echo "configure:9078: checking for $ac_func" >&5
9078 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9079 echo $ac_n "(cached) $ac_c" 1>&6
9081 cat > conftest.
$ac_ext <<EOF
9082 #line 9083 "configure"
9083 #include "confdefs.h"
9084 /* System header to define __stub macros and hopefully few prototypes,
9085 which can conflict with char $ac_func(); below. */
9087 /* Override any gcc2 internal prototype to avoid an error. */
9088 /* We use char because int might match the return type of a gcc2
9089 builtin and then its argument prototype would still apply. */
9094 /* The GNU C library defines this for functions which it implements
9095 to always fail with ENOSYS. Some functions are actually named
9096 something starting with __ and the normal name is an alias. */
9097 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9105 if { (eval echo configure
:9106: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9107 eval "ac_cv_func_$ac_func=yes"
9109 echo "configure: failed program was:" >&5
9110 cat conftest.
$ac_ext >&5
9112 eval "ac_cv_func_$ac_func=no"
9117 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9118 echo "$ac_t""yes" 1>&6
9119 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9120 cat >> confdefs.h
<<EOF
9121 #define $ac_tr_func 1
9125 echo "$ac_t""no" 1>&6
9130 echo "$ac_t""no" 1>&6
9134 if test "x$ac_cv_func_regcomp" != "xyes"; then
9135 if test "$wxUSE_REGEX" = "sys" ; then
9136 { echo "configure: error: system regex library not found! Use --with-regex to use built-in version" 1>&2; exit 1; }
9138 echo "configure: warning: system regex library not found, will use built-in instead" 1>&2
9146 if test "$wxUSE_REGEX" = "builtin" ; then
9147 REGEX_INCLUDE
="-I\${top_srcdir}/src/regex"
9154 if test "$wxUSE_ZLIB" != "no" ; then
9155 cat >> confdefs.h
<<\EOF
9156 #define wxUSE_ZLIB 1
9160 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
9161 ac_safe
=`echo "zlib.h" | sed 'y%./+-%__p_%'`
9162 echo $ac_n "checking for zlib.h""... $ac_c" 1>&6
9163 echo "configure:9164: checking for zlib.h" >&5
9164 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9165 echo $ac_n "(cached) $ac_c" 1>&6
9167 cat > conftest.
$ac_ext <<EOF
9168 #line 9169 "configure"
9169 #include "confdefs.h"
9172 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9173 { (eval echo configure
:9174: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9174 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9175 if test -z "$ac_err"; then
9177 eval "ac_cv_header_$ac_safe=yes"
9180 echo "configure: failed program was:" >&5
9181 cat conftest.
$ac_ext >&5
9183 eval "ac_cv_header_$ac_safe=no"
9187 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9188 echo "$ac_t""yes" 1>&6
9189 echo $ac_n "checking for deflate in -lz""... $ac_c" 1>&6
9190 echo "configure:9191: checking for deflate in -lz" >&5
9191 ac_lib_var
=`echo z'_'deflate | sed 'y%./+-%__p_%'`
9192 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9193 echo $ac_n "(cached) $ac_c" 1>&6
9195 ac_save_LIBS
="$LIBS"
9197 cat > conftest.
$ac_ext <<EOF
9198 #line 9199 "configure"
9199 #include "confdefs.h"
9200 /* Override any gcc2 internal prototype to avoid an error. */
9201 /* We use char because int might match the return type of a gcc2
9202 builtin and then its argument prototype would still apply. */
9209 if { (eval echo configure
:9210: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9211 eval "ac_cv_lib_$ac_lib_var=yes"
9213 echo "configure: failed program was:" >&5
9214 cat conftest.
$ac_ext >&5
9216 eval "ac_cv_lib_$ac_lib_var=no"
9219 LIBS
="$ac_save_LIBS"
9222 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9223 echo "$ac_t""yes" 1>&6
9226 echo "$ac_t""no" 1>&6
9230 echo "$ac_t""no" 1>&6
9234 if test "x$ZLIB_LINK" = "x" ; then
9235 if test "$wxUSE_ZLIB" = "sys" ; then
9236 { echo "configure: error: system zlib compression library not found! Use --with-zlib=builtin to use built-in version" 1>&2; exit 1; }
9238 echo "configure: warning: system zlib compression library not found, will use built-in instead" 1>&2
9246 if test "$wxUSE_ZLIB" = "builtin" ; then
9247 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
9254 if test "$wxUSE_LIBPNG" != "no" ; then
9255 cat >> confdefs.h
<<\EOF
9256 #define wxUSE_LIBPNG 1
9260 if test "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
9261 echo "configure: warning: system png library doesn't work without system zlib, will use built-in instead" 1>&2
9262 wxUSE_LIBPNG
=builtin
9265 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
9266 ac_safe
=`echo "png.h" | sed 'y%./+-%__p_%'`
9267 echo $ac_n "checking for png.h""... $ac_c" 1>&6
9268 echo "configure:9269: checking for png.h" >&5
9269 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9270 echo $ac_n "(cached) $ac_c" 1>&6
9272 cat > conftest.
$ac_ext <<EOF
9273 #line 9274 "configure"
9274 #include "confdefs.h"
9277 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9278 { (eval echo configure
:9279: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9279 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9280 if test -z "$ac_err"; then
9282 eval "ac_cv_header_$ac_safe=yes"
9285 echo "configure: failed program was:" >&5
9286 cat conftest.
$ac_ext >&5
9288 eval "ac_cv_header_$ac_safe=no"
9292 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9293 echo "$ac_t""yes" 1>&6
9294 echo $ac_n "checking for png_check_sig in -lpng""... $ac_c" 1>&6
9295 echo "configure:9296: checking for png_check_sig in -lpng" >&5
9296 ac_lib_var
=`echo png'_'png_check_sig | sed 'y%./+-%__p_%'`
9297 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9298 echo $ac_n "(cached) $ac_c" 1>&6
9300 ac_save_LIBS
="$LIBS"
9301 LIBS
="-lpng -lz -lm $LIBS"
9302 cat > conftest.
$ac_ext <<EOF
9303 #line 9304 "configure"
9304 #include "confdefs.h"
9305 /* Override any gcc2 internal prototype to avoid an error. */
9306 /* We use char because int might match the return type of a gcc2
9307 builtin and then its argument prototype would still apply. */
9308 char png_check_sig();
9314 if { (eval echo configure
:9315: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9316 eval "ac_cv_lib_$ac_lib_var=yes"
9318 echo "configure: failed program was:" >&5
9319 cat conftest.
$ac_ext >&5
9321 eval "ac_cv_lib_$ac_lib_var=no"
9324 LIBS
="$ac_save_LIBS"
9327 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9328 echo "$ac_t""yes" 1>&6
9331 echo "$ac_t""no" 1>&6
9336 echo "$ac_t""no" 1>&6
9340 if test "x$PNG_LINK" = "x" ; then
9341 if test "$wxUSE_LIBPNG" = "sys" ; then
9342 { echo "configure: error: system png library not found! Use --with-libpng=builtin to use built-in version" 1>&2; exit 1; }
9344 echo "configure: warning: system png library not found, will use built-in instead" 1>&2
9345 wxUSE_LIBPNG
=builtin
9352 if test "$wxUSE_LIBPNG" = "builtin" ; then
9353 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
9356 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
9362 if test "$wxUSE_LIBJPEG" != "no" ; then
9363 cat >> confdefs.h
<<\EOF
9364 #define wxUSE_LIBJPEG 1
9368 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
9369 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6
9370 echo "configure:9371: checking for jpeglib.h" >&5
9371 if eval "test \"`echo '$''{'ac_cv_header_jpeglib_h'+set}'`\" = set"; then
9372 echo $ac_n "(cached) $ac_c" 1>&6
9374 cat > conftest.
$ac_ext <<EOF
9375 #line 9376 "configure"
9376 #include "confdefs.h"
9378 #undef HAVE_STDLIB_H
9380 #include <jpeglib.h>
9387 if { (eval echo configure
:9388: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9389 ac_cv_header_jpeglib_h
=yes
9391 echo "configure: failed program was:" >&5
9392 cat conftest.
$ac_ext >&5
9394 ac_cv_header_jpeglib_h
=no
9401 echo "$ac_t""$ac_cv_header_jpeglib_h" 1>&6
9403 if test "$ac_cv_header_jpeglib_h" = "yes"; then
9404 echo $ac_n "checking for jpeg_read_header in -ljpeg""... $ac_c" 1>&6
9405 echo "configure:9406: checking for jpeg_read_header in -ljpeg" >&5
9406 ac_lib_var
=`echo jpeg'_'jpeg_read_header | sed 'y%./+-%__p_%'`
9407 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9408 echo $ac_n "(cached) $ac_c" 1>&6
9410 ac_save_LIBS
="$LIBS"
9412 cat > conftest.
$ac_ext <<EOF
9413 #line 9414 "configure"
9414 #include "confdefs.h"
9415 /* Override any gcc2 internal prototype to avoid an error. */
9416 /* We use char because int might match the return type of a gcc2
9417 builtin and then its argument prototype would still apply. */
9418 char jpeg_read_header();
9424 if { (eval echo configure
:9425: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9426 eval "ac_cv_lib_$ac_lib_var=yes"
9428 echo "configure: failed program was:" >&5
9429 cat conftest.
$ac_ext >&5
9431 eval "ac_cv_lib_$ac_lib_var=no"
9434 LIBS
="$ac_save_LIBS"
9437 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9438 echo "$ac_t""yes" 1>&6
9441 echo "$ac_t""no" 1>&6
9446 if test "x$JPEG_LINK" = "x" ; then
9447 if test "$wxUSE_LIBJPEG" = "sys" ; then
9448 { echo "configure: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" 1>&2; exit 1; }
9450 echo "configure: warning: system jpeg library not found, will use built-in instead" 1>&2
9451 wxUSE_LIBJPEG
=builtin
9458 if test "$wxUSE_LIBJPEG" = "builtin" ; then
9459 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
9466 if test "$wxUSE_LIBTIFF" != "no" ; then
9467 cat >> confdefs.h
<<\EOF
9468 #define wxUSE_LIBTIFF 1
9472 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
9473 ac_safe
=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
9474 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
9475 echo "configure:9476: checking for tiffio.h" >&5
9476 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9477 echo $ac_n "(cached) $ac_c" 1>&6
9479 cat > conftest.
$ac_ext <<EOF
9480 #line 9481 "configure"
9481 #include "confdefs.h"
9484 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9485 { (eval echo configure
:9486: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9486 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9487 if test -z "$ac_err"; then
9489 eval "ac_cv_header_$ac_safe=yes"
9492 echo "configure: failed program was:" >&5
9493 cat conftest.
$ac_ext >&5
9495 eval "ac_cv_header_$ac_safe=no"
9499 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9500 echo "$ac_t""yes" 1>&6
9501 echo $ac_n "checking for TIFFError in -ltiff""... $ac_c" 1>&6
9502 echo "configure:9503: checking for TIFFError in -ltiff" >&5
9503 ac_lib_var
=`echo tiff'_'TIFFError | sed 'y%./+-%__p_%'`
9504 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9505 echo $ac_n "(cached) $ac_c" 1>&6
9507 ac_save_LIBS
="$LIBS"
9508 LIBS
="-ltiff -lm $LIBS"
9509 cat > conftest.
$ac_ext <<EOF
9510 #line 9511 "configure"
9511 #include "confdefs.h"
9512 /* Override any gcc2 internal prototype to avoid an error. */
9513 /* We use char because int might match the return type of a gcc2
9514 builtin and then its argument prototype would still apply. */
9521 if { (eval echo configure
:9522: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9523 eval "ac_cv_lib_$ac_lib_var=yes"
9525 echo "configure: failed program was:" >&5
9526 cat conftest.
$ac_ext >&5
9528 eval "ac_cv_lib_$ac_lib_var=no"
9531 LIBS
="$ac_save_LIBS"
9534 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9535 echo "$ac_t""yes" 1>&6
9538 echo "$ac_t""no" 1>&6
9543 echo "$ac_t""no" 1>&6
9547 if test "x$TIFF_LINK" = "x" ; then
9548 if test "$wxUSE_LIBTIFF" = "sys" ; then
9549 { echo "configure: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" 1>&2; exit 1; }
9551 echo "configure: warning: system tiff library not found, will use built-in instead" 1>&2
9552 wxUSE_LIBTIFF
=builtin
9559 if test "$wxUSE_LIBTIFF" = "builtin" ; then
9560 TIFF_INCLUDE
="-I\${top_srcdir}/src/tiff"
9567 if test "$wxUSE_FREETYPE" != "no" ; then
9568 cat >> confdefs.h
<<\EOF
9569 #define wxUSE_FREETYPE 1
9573 if test "$wxUSE_FREETYPE" = "sys" -o "$wxUSE_FREETYPE" = "yes" ; then
9574 ac_safe
=`echo "freetype.h" | sed 'y%./+-%__p_%'`
9575 echo $ac_n "checking for freetype.h""... $ac_c" 1>&6
9576 echo "configure:9577: checking for freetype.h" >&5
9577 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9578 echo $ac_n "(cached) $ac_c" 1>&6
9580 cat > conftest.
$ac_ext <<EOF
9581 #line 9582 "configure"
9582 #include "confdefs.h"
9583 #include <freetype.h>
9585 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9586 { (eval echo configure
:9587: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9587 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9588 if test -z "$ac_err"; then
9590 eval "ac_cv_header_$ac_safe=yes"
9593 echo "configure: failed program was:" >&5
9594 cat conftest.
$ac_ext >&5
9596 eval "ac_cv_header_$ac_safe=no"
9600 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9601 echo "$ac_t""yes" 1>&6
9602 echo $ac_n "checking for FT_Render_Glyph in -lfreetype""... $ac_c" 1>&6
9603 echo "configure:9604: checking for FT_Render_Glyph in -lfreetype" >&5
9604 ac_lib_var
=`echo freetype'_'FT_Render_Glyph | sed 'y%./+-%__p_%'`
9605 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9606 echo $ac_n "(cached) $ac_c" 1>&6
9608 ac_save_LIBS
="$LIBS"
9609 LIBS
="-lfreetype -lm $LIBS"
9610 cat > conftest.
$ac_ext <<EOF
9611 #line 9612 "configure"
9612 #include "confdefs.h"
9613 /* Override any gcc2 internal prototype to avoid an error. */
9614 /* We use char because int might match the return type of a gcc2
9615 builtin and then its argument prototype would still apply. */
9616 char FT_Render_Glyph();
9622 if { (eval echo configure
:9623: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9624 eval "ac_cv_lib_$ac_lib_var=yes"
9626 echo "configure: failed program was:" >&5
9627 cat conftest.
$ac_ext >&5
9629 eval "ac_cv_lib_$ac_lib_var=no"
9632 LIBS
="$ac_save_LIBS"
9635 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9636 echo "$ac_t""yes" 1>&6
9637 FREETYPE_LINK
=" -lfreetype"
9639 echo "$ac_t""no" 1>&6
9644 echo "$ac_t""no" 1>&6
9648 if test "x$FREETYPE_LINK" = "x" ; then
9649 if test "$wxUSE_FREETYPE" = "sys" ; then
9650 { echo "configure: error: system freetype library not found! Use --with-freetype=builtin to use built-in version" 1>&2; exit 1; }
9652 echo "configure: warning: system freetype library not found, will use built-in instead" 1>&2
9653 wxUSE_FREETYPE
=builtin
9660 if test "$wxUSE_FREETYPE" = "builtin" ; then
9661 FREETYPE_INCLUDE
="-I\${top_srcdir}/src/freetype"
9672 if test "$USE_WIN32" = 1 ; then
9673 for ac_hdr
in w32api.h
9675 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9676 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9677 echo "configure:9678: checking for $ac_hdr" >&5
9678 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9679 echo $ac_n "(cached) $ac_c" 1>&6
9681 cat > conftest.
$ac_ext <<EOF
9682 #line 9683 "configure"
9683 #include "confdefs.h"
9686 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9687 { (eval echo configure
:9688: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9688 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9689 if test -z "$ac_err"; then
9691 eval "ac_cv_header_$ac_safe=yes"
9694 echo "configure: failed program was:" >&5
9695 cat conftest.
$ac_ext >&5
9697 eval "ac_cv_header_$ac_safe=no"
9701 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9702 echo "$ac_t""yes" 1>&6
9703 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9704 cat >> confdefs.h
<<EOF
9705 #define $ac_tr_hdr 1
9709 echo "$ac_t""no" 1>&6
9713 ac_safe
=`echo "windows.h" | sed 'y%./+-%__p_%'`
9714 echo $ac_n "checking for windows.h""... $ac_c" 1>&6
9715 echo "configure:9716: checking for windows.h" >&5
9716 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9717 echo $ac_n "(cached) $ac_c" 1>&6
9719 cat > conftest.
$ac_ext <<EOF
9720 #line 9721 "configure"
9721 #include "confdefs.h"
9722 #include <windows.h>
9724 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9725 { (eval echo configure
:9726: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9726 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9727 if test -z "$ac_err"; then
9729 eval "ac_cv_header_$ac_safe=yes"
9732 echo "configure: failed program was:" >&5
9733 cat conftest.
$ac_ext >&5
9735 eval "ac_cv_header_$ac_safe=no"
9739 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9740 echo "$ac_t""yes" 1>&6
9743 echo "$ac_t""no" 1>&6
9745 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
9750 echo $ac_n "checking if w32api has good enough MSIE support""... $ac_c" 1>&6
9751 echo "configure:9752: checking if w32api has good enough MSIE support" >&5
9752 if eval "test \"`echo '$''{'wx_cv_w32api_win32_ie'+set}'`\" = set"; then
9753 echo $ac_n "(cached) $ac_c" 1>&6
9756 cat > conftest.
$ac_ext <<EOF
9757 #line 9758 "configure"
9758 #include "confdefs.h"
9762 #define wxCHECK_W32API_VERSION( major, minor ) \
9763 ( defined( __W32API_MAJOR_VERSION ) && defined( __W32API_MINOR_VERSION ) \
9764 && ( ( __W32API_MAJOR_VERSION > (major) ) \
9765 || ( __W32API_MAJOR_VERSION == (major) && __W32API_MINOR_VERSION >= (minor))))
9767 #if !wxCHECK_W32API_VERSION(1,1)
9768 #error You need w32api 1.1 or newer
9773 if { (eval echo configure
:9774: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9776 wx_cv_w32api_win32_ie
=yes
9779 echo "configure: failed program was:" >&5
9780 cat conftest.
$ac_ext >&5
9783 wx_cv_w32api_win32_ie
=no
9790 echo "$ac_t""$wx_cv_w32api_win32_ie" 1>&6
9791 if test "$wx_cv_w32api_win32_ie" = "yes" ; then
9792 CPPFLAGS
="$CPPFLAGS -D_WIN32_IE=0x400"
9795 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -ladvapi32 -lwsock32"
9799 LIBS
="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32"
9800 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
9803 if test "$wxUSE_ODBC" = "yes" ; then
9804 LIBS
=" -lodbc32 -lole32 -loleaut32$LIBS"
9807 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
9808 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
9811 if test "$wxUSE_GUI" = "yes"; then
9820 if test "$wxUSE_MSW" = 1 ; then
9826 LDFLAGS
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
9830 if test "$wxUSE_GTK" = 1; then
9831 echo $ac_n "checking for GTK+ version""... $ac_c" 1>&6
9832 echo "configure:9833: checking for GTK+ version" >&5
9834 gtk_version_cached
=1
9835 if eval "test \"`echo '$''{'wx_cv_lib_gtk'+set}'`\" = set"; then
9836 echo $ac_n "(cached) $ac_c" 1>&6
9839 gtk_version_cached
=0
9843 if test "$wxUSE_THREADS" = "yes"; then
9848 if test "x$wxUSE_GTK2" = "xyes"; then
9849 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
9850 if test "${with_gtk_prefix+set}" = set; then
9851 withval
="$with_gtk_prefix"
9852 gtk_config_prefix
="$withval"
9854 gtk_config_prefix
=""
9857 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
9858 if test "${with_gtk_exec_prefix+set}" = set; then
9859 withval
="$with_gtk_exec_prefix"
9860 gtk_config_exec_prefix
="$withval"
9862 gtk_config_exec_prefix
=""
9865 # Check whether --enable-gtktest or --disable-gtktest was given.
9866 if test "${enable_gtktest+set}" = set; then
9867 enableval
="$enable_gtktest"
9874 for module
in .
$GTK_MODULES
9878 gtk_config_args
="$gtk_config_args gthread"
9883 if test x
$gtk_config_exec_prefix != x
; then
9884 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
9885 if test x
${GTK_CONFIG_2_0+set} != xset
; then
9886 GTK_CONFIG_2_0
=$gtk_config_exec_prefix/bin
/gtk
-config-2.0
9889 if test x
$gtk_config_prefix != x
; then
9890 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
9891 if test x
${GTK_CONFIG_2_0+set} != xset
; then
9892 GTK_CONFIG_2_0
=$gtk_config_prefix/bin
/gtk
-config-2.0
9896 # Extract the first word of "gtk-config-2.0", so it can be a program name with args.
9897 set dummy gtk
-config-2.0
; ac_word
=$2
9898 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9899 echo "configure:9900: checking for $ac_word" >&5
9900 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG_2_0'+set}'`\" = set"; then
9901 echo $ac_n "(cached) $ac_c" 1>&6
9903 case "$GTK_CONFIG_2_0" in
9905 ac_cv_path_GTK_CONFIG_2_0
="$GTK_CONFIG_2_0" # Let the user override the test with a path.
9908 ac_cv_path_GTK_CONFIG_2_0
="$GTK_CONFIG_2_0" # Let the user override the test with a dos path.
9911 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9913 for ac_dir
in $ac_dummy; do
9914 test -z "$ac_dir" && ac_dir
=.
9915 if test -f $ac_dir/$ac_word; then
9916 ac_cv_path_GTK_CONFIG_2_0
="$ac_dir/$ac_word"
9921 test -z "$ac_cv_path_GTK_CONFIG_2_0" && ac_cv_path_GTK_CONFIG_2_0
="no"
9925 GTK_CONFIG_2_0
="$ac_cv_path_GTK_CONFIG_2_0"
9926 if test -n "$GTK_CONFIG_2_0"; then
9927 echo "$ac_t""$GTK_CONFIG_2_0" 1>&6
9929 echo "$ac_t""no" 1>&6
9932 min_gtk_version
=1.3.1
9933 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
9934 echo "configure:9935: checking for GTK - version >= $min_gtk_version" >&5
9936 if test "$GTK_CONFIG_2_0" = "no" ; then
9939 GTK_CFLAGS
=`$GTK_CONFIG_2_0 $gtk_config_args --cflags`
9940 GTK_LIBS
=`$GTK_CONFIG_2_0 $gtk_config_args --libs`
9941 gtk_config_major_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
9942 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
9943 gtk_config_minor_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
9944 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
9945 gtk_config_micro_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
9946 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
9947 if test "x$enable_gtktest" = "xyes" ; then
9948 ac_save_CFLAGS
="$CFLAGS"
9949 ac_save_LIBS
="$LIBS"
9950 CFLAGS
="$CFLAGS $GTK_CFLAGS"
9951 LIBS
="$GTK_LIBS $LIBS"
9953 if test "$cross_compiling" = yes; then
9954 echo $ac_n "cross compiling; assumed OK... $ac_c"
9956 cat > conftest.
$ac_ext <<EOF
9957 #line 9958 "configure"
9958 #include "confdefs.h"
9960 #include <gtk/gtk.h>
9967 int major, minor, micro;
9970 system ("touch conf.gtktest");
9972 /* HP/UX 9 (%@#!) writes to sscanf strings */
9973 tmp_version = g_strdup("$min_gtk_version");
9974 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
9975 printf("%s, bad version string\n", "$min_gtk_version");
9979 if ((gtk_major_version != $gtk_config_major_version) ||
9980 (gtk_minor_version != $gtk_config_minor_version) ||
9981 (gtk_micro_version != $gtk_config_micro_version))
9983 printf("\n*** 'gtk-config-2.0 --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
9984 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
9985 gtk_major_version, gtk_minor_version, gtk_micro_version);
9986 printf ("*** was found! If gtk-config-2.0 was correct, then it is best\n");
9987 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
9988 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
9989 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
9990 printf("*** required on your system.\n");
9991 printf("*** If gtk-config-2.0 was wrong, set the environment variable GTK_CONFIG_2_0\n");
9992 printf("*** to point to the correct copy of gtk-config-2.0, and remove the file config.cache\n");
9993 printf("*** before re-running configure\n");
9995 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
9996 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
9997 (gtk_minor_version != GTK_MINOR_VERSION) ||
9998 (gtk_micro_version != GTK_MICRO_VERSION))
10000 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
10001 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
10002 printf("*** library (version %d.%d.%d)\n",
10003 gtk_major_version, gtk_minor_version, gtk_micro_version);
10005 #endif /* defined (GTK_MAJOR_VERSION) ... */
10008 if ((gtk_major_version > major) ||
10009 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
10010 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
10016 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
10017 gtk_major_version, gtk_minor_version, gtk_micro_version);
10018 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
10019 major, minor, micro);
10020 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
10022 printf("*** If you have already installed a sufficiently new version, this error\n");
10023 printf("*** probably means that the wrong copy of the gtk-config-2.0 shell script is\n");
10024 printf("*** being found. The easiest way to fix this is to remove the old version\n");
10025 printf("*** of GTK+, but you can also set the GTK_CONFIG_2_0 environment to point to the\n");
10026 printf("*** correct copy of gtk-config-2.0. (In this case, you will have to\n");
10027 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
10028 printf("*** so that the correct libraries are found at run-time))\n");
10035 if { (eval echo configure
:10036: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10039 echo "configure: failed program was:" >&5
10040 cat conftest.
$ac_ext >&5
10047 CFLAGS
="$ac_save_CFLAGS"
10048 LIBS
="$ac_save_LIBS"
10051 if test "x$no_gtk" = x
; then
10052 echo "$ac_t""yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" 1>&6
10055 echo "$ac_t""no" 1>&6
10056 if test "$GTK_CONFIG_2_0" = "no" ; then
10057 echo "*** The gtk-config-2.0 script installed by GTK could not be found"
10058 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
10059 echo "*** your path, or set the GTK_CONFIG_2_0 environment variable to the"
10060 echo "*** full path to gtk-config-2.0."
10062 if test -f conf.gtktest
; then
10065 echo "*** Could not run GTK test program, checking why..."
10066 CFLAGS
="$CFLAGS $GTK_CFLAGS"
10067 LIBS
="$LIBS $GTK_LIBS"
10068 cat > conftest.
$ac_ext <<EOF
10069 #line 10070 "configure"
10070 #include "confdefs.h"
10072 #include <gtk/gtk.h>
10076 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
10079 if { (eval echo configure
:10080: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10081 echo "*** The test program compiled, but did not run. This usually means"
10082 echo "*** that the run-time linker is not finding GTK or finding the wrong"
10083 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
10084 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
10085 echo "*** to the installed location Also, make sure you have run ldconfig if that"
10086 echo "*** is required on your system"
10088 echo "*** If you have an old version installed, it is best to remove it, although"
10089 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
10091 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
10092 echo "*** came with the system with the command"
10094 echo "*** rpm --erase --nodeps gtk gtk-devel"
10096 echo "configure: failed program was:" >&5
10097 cat conftest.
$ac_ext >&5
10099 echo "*** The test program failed to compile or link. See the file config.log for the"
10100 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
10101 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
10102 echo "*** may want to edit the gtk-config-2.0 script: $GTK_CONFIG_2_0"
10105 CFLAGS
="$ac_save_CFLAGS"
10106 LIBS
="$ac_save_LIBS"
10119 if test -z "$wx_cv_lib_gtk"; then
10120 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
10121 if test "${with_gtk_prefix+set}" = set; then
10122 withval
="$with_gtk_prefix"
10123 gtk_config_prefix
="$withval"
10125 gtk_config_prefix
=""
10128 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
10129 if test "${with_gtk_exec_prefix+set}" = set; then
10130 withval
="$with_gtk_exec_prefix"
10131 gtk_config_exec_prefix
="$withval"
10133 gtk_config_exec_prefix
=""
10136 # Check whether --enable-gtktest or --disable-gtktest was given.
10137 if test "${enable_gtktest+set}" = set; then
10138 enableval
="$enable_gtktest"
10145 for module
in .
$GTK_MODULES
10149 gtk_config_args
="$gtk_config_args gthread"
10154 if test x
$gtk_config_exec_prefix != x
; then
10155 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
10156 if test x
${GTK_CONFIG+set} != xset
; then
10157 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
10160 if test x
$gtk_config_prefix != x
; then
10161 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
10162 if test x
${GTK_CONFIG+set} != xset
; then
10163 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
10167 # Extract the first word of "gtk-config", so it can be a program name with args.
10168 set dummy gtk
-config; ac_word
=$2
10169 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
10170 echo "configure:10171: checking for $ac_word" >&5
10171 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
10172 echo $ac_n "(cached) $ac_c" 1>&6
10174 case "$GTK_CONFIG" in
10176 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
10179 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
10182 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
10184 for ac_dir
in $ac_dummy; do
10185 test -z "$ac_dir" && ac_dir
=.
10186 if test -f $ac_dir/$ac_word; then
10187 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
10192 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
10196 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
10197 if test -n "$GTK_CONFIG"; then
10198 echo "$ac_t""$GTK_CONFIG" 1>&6
10200 echo "$ac_t""no" 1>&6
10203 min_gtk_version
=1.2.7
10204 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
10205 echo "configure:10206: checking for GTK - version >= $min_gtk_version" >&5
10207 if test "$GTK_CONFIG" = "no" ; then
10210 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
10211 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
10212 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
10213 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
10214 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
10215 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
10216 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
10217 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
10218 if test "x$enable_gtktest" = "xyes" ; then
10219 ac_save_CFLAGS
="$CFLAGS"
10220 ac_save_LIBS
="$LIBS"
10221 CFLAGS
="$CFLAGS $GTK_CFLAGS"
10222 LIBS
="$GTK_LIBS $LIBS"
10224 if test "$cross_compiling" = yes; then
10225 echo $ac_n "cross compiling; assumed OK... $ac_c"
10227 cat > conftest.
$ac_ext <<EOF
10228 #line 10229 "configure"
10229 #include "confdefs.h"
10231 #include <gtk/gtk.h>
10233 #include <stdlib.h>
10238 int major, minor, micro;
10241 system ("touch conf.gtktest");
10243 /* HP/UX 9 (%@#!) writes to sscanf strings */
10244 tmp_version = g_strdup("$min_gtk_version");
10245 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
10246 printf("%s, bad version string\n", "$min_gtk_version");
10250 if ((gtk_major_version != $gtk_config_major_version) ||
10251 (gtk_minor_version != $gtk_config_minor_version) ||
10252 (gtk_micro_version != $gtk_config_micro_version))
10254 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
10255 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
10256 gtk_major_version, gtk_minor_version, gtk_micro_version);
10257 printf ("*** was found! If gtk-config was correct, then it is best\n");
10258 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
10259 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
10260 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
10261 printf("*** required on your system.\n");
10262 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
10263 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
10264 printf("*** before re-running configure\n");
10266 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
10267 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
10268 (gtk_minor_version != GTK_MINOR_VERSION) ||
10269 (gtk_micro_version != GTK_MICRO_VERSION))
10271 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
10272 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
10273 printf("*** library (version %d.%d.%d)\n",
10274 gtk_major_version, gtk_minor_version, gtk_micro_version);
10276 #endif /* defined (GTK_MAJOR_VERSION) ... */
10279 if ((gtk_major_version > major) ||
10280 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
10281 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
10287 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
10288 gtk_major_version, gtk_minor_version, gtk_micro_version);
10289 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
10290 major, minor, micro);
10291 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
10293 printf("*** If you have already installed a sufficiently new version, this error\n");
10294 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
10295 printf("*** being found. The easiest way to fix this is to remove the old version\n");
10296 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
10297 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
10298 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
10299 printf("*** so that the correct libraries are found at run-time))\n");
10306 if { (eval echo configure
:10307: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10310 echo "configure: failed program was:" >&5
10311 cat conftest.
$ac_ext >&5
10318 CFLAGS
="$ac_save_CFLAGS"
10319 LIBS
="$ac_save_LIBS"
10322 if test "x$no_gtk" = x
; then
10323 echo "$ac_t""yes" 1>&6
10324 wx_cv_lib_gtk
=1.2.7
10326 echo "$ac_t""no" 1>&6
10327 if test "$GTK_CONFIG" = "no" ; then
10328 echo "*** The gtk-config script installed by GTK could not be found"
10329 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
10330 echo "*** your path, or set the GTK_CONFIG environment variable to the"
10331 echo "*** full path to gtk-config."
10333 if test -f conf.gtktest
; then
10336 echo "*** Could not run GTK test program, checking why..."
10337 CFLAGS
="$CFLAGS $GTK_CFLAGS"
10338 LIBS
="$LIBS $GTK_LIBS"
10339 cat > conftest.
$ac_ext <<EOF
10340 #line 10341 "configure"
10341 #include "confdefs.h"
10343 #include <gtk/gtk.h>
10347 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
10350 if { (eval echo configure
:10351: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10352 echo "*** The test program compiled, but did not run. This usually means"
10353 echo "*** that the run-time linker is not finding GTK or finding the wrong"
10354 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
10355 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
10356 echo "*** to the installed location Also, make sure you have run ldconfig if that"
10357 echo "*** is required on your system"
10359 echo "*** If you have an old version installed, it is best to remove it, although"
10360 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
10362 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
10363 echo "*** came with the system with the command"
10365 echo "*** rpm --erase --nodeps gtk gtk-devel"
10367 echo "configure: failed program was:" >&5
10368 cat conftest.
$ac_ext >&5
10370 echo "*** The test program failed to compile or link. See the file config.log for the"
10371 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
10372 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
10373 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
10376 CFLAGS
="$ac_save_CFLAGS"
10377 LIBS
="$ac_save_LIBS"
10390 if test -z "$wx_cv_lib_gtk"; then
10391 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
10392 if test "${with_gtk_prefix+set}" = set; then
10393 withval
="$with_gtk_prefix"
10394 gtk_config_prefix
="$withval"
10396 gtk_config_prefix
=""
10399 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
10400 if test "${with_gtk_exec_prefix+set}" = set; then
10401 withval
="$with_gtk_exec_prefix"
10402 gtk_config_exec_prefix
="$withval"
10404 gtk_config_exec_prefix
=""
10407 # Check whether --enable-gtktest or --disable-gtktest was given.
10408 if test "${enable_gtktest+set}" = set; then
10409 enableval
="$enable_gtktest"
10416 for module
in .
$GTK_MODULES
10420 gtk_config_args
="$gtk_config_args gthread"
10425 if test x
$gtk_config_exec_prefix != x
; then
10426 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
10427 if test x
${GTK_CONFIG+set} != xset
; then
10428 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
10431 if test x
$gtk_config_prefix != x
; then
10432 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
10433 if test x
${GTK_CONFIG+set} != xset
; then
10434 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
10438 # Extract the first word of "gtk-config", so it can be a program name with args.
10439 set dummy gtk
-config; ac_word
=$2
10440 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
10441 echo "configure:10442: checking for $ac_word" >&5
10442 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
10443 echo $ac_n "(cached) $ac_c" 1>&6
10445 case "$GTK_CONFIG" in
10447 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
10450 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
10453 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
10455 for ac_dir
in $ac_dummy; do
10456 test -z "$ac_dir" && ac_dir
=.
10457 if test -f $ac_dir/$ac_word; then
10458 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
10463 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
10467 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
10468 if test -n "$GTK_CONFIG"; then
10469 echo "$ac_t""$GTK_CONFIG" 1>&6
10471 echo "$ac_t""no" 1>&6
10474 min_gtk_version
=1.2.3
10475 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
10476 echo "configure:10477: checking for GTK - version >= $min_gtk_version" >&5
10478 if test "$GTK_CONFIG" = "no" ; then
10481 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
10482 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
10483 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
10484 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
10485 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
10486 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
10487 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
10488 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
10489 if test "x$enable_gtktest" = "xyes" ; then
10490 ac_save_CFLAGS
="$CFLAGS"
10491 ac_save_LIBS
="$LIBS"
10492 CFLAGS
="$CFLAGS $GTK_CFLAGS"
10493 LIBS
="$GTK_LIBS $LIBS"
10495 if test "$cross_compiling" = yes; then
10496 echo $ac_n "cross compiling; assumed OK... $ac_c"
10498 cat > conftest.
$ac_ext <<EOF
10499 #line 10500 "configure"
10500 #include "confdefs.h"
10502 #include <gtk/gtk.h>
10504 #include <stdlib.h>
10509 int major, minor, micro;
10512 system ("touch conf.gtktest");
10514 /* HP/UX 9 (%@#!) writes to sscanf strings */
10515 tmp_version = g_strdup("$min_gtk_version");
10516 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
10517 printf("%s, bad version string\n", "$min_gtk_version");
10521 if ((gtk_major_version != $gtk_config_major_version) ||
10522 (gtk_minor_version != $gtk_config_minor_version) ||
10523 (gtk_micro_version != $gtk_config_micro_version))
10525 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
10526 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
10527 gtk_major_version, gtk_minor_version, gtk_micro_version);
10528 printf ("*** was found! If gtk-config was correct, then it is best\n");
10529 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
10530 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
10531 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
10532 printf("*** required on your system.\n");
10533 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
10534 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
10535 printf("*** before re-running configure\n");
10537 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
10538 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
10539 (gtk_minor_version != GTK_MINOR_VERSION) ||
10540 (gtk_micro_version != GTK_MICRO_VERSION))
10542 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
10543 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
10544 printf("*** library (version %d.%d.%d)\n",
10545 gtk_major_version, gtk_minor_version, gtk_micro_version);
10547 #endif /* defined (GTK_MAJOR_VERSION) ... */
10550 if ((gtk_major_version > major) ||
10551 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
10552 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
10558 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
10559 gtk_major_version, gtk_minor_version, gtk_micro_version);
10560 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
10561 major, minor, micro);
10562 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
10564 printf("*** If you have already installed a sufficiently new version, this error\n");
10565 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
10566 printf("*** being found. The easiest way to fix this is to remove the old version\n");
10567 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
10568 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
10569 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
10570 printf("*** so that the correct libraries are found at run-time))\n");
10577 if { (eval echo configure
:10578: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10581 echo "configure: failed program was:" >&5
10582 cat conftest.
$ac_ext >&5
10589 CFLAGS
="$ac_save_CFLAGS"
10590 LIBS
="$ac_save_LIBS"
10593 if test "x$no_gtk" = x
; then
10594 echo "$ac_t""yes" 1>&6
10595 wx_cv_lib_gtk
=1.2.3
10597 echo "$ac_t""no" 1>&6
10598 if test "$GTK_CONFIG" = "no" ; then
10599 echo "*** The gtk-config script installed by GTK could not be found"
10600 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
10601 echo "*** your path, or set the GTK_CONFIG environment variable to the"
10602 echo "*** full path to gtk-config."
10604 if test -f conf.gtktest
; then
10607 echo "*** Could not run GTK test program, checking why..."
10608 CFLAGS
="$CFLAGS $GTK_CFLAGS"
10609 LIBS
="$LIBS $GTK_LIBS"
10610 cat > conftest.
$ac_ext <<EOF
10611 #line 10612 "configure"
10612 #include "confdefs.h"
10614 #include <gtk/gtk.h>
10618 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
10621 if { (eval echo configure
:10622: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10623 echo "*** The test program compiled, but did not run. This usually means"
10624 echo "*** that the run-time linker is not finding GTK or finding the wrong"
10625 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
10626 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
10627 echo "*** to the installed location Also, make sure you have run ldconfig if that"
10628 echo "*** is required on your system"
10630 echo "*** If you have an old version installed, it is best to remove it, although"
10631 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
10633 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
10634 echo "*** came with the system with the command"
10636 echo "*** rpm --erase --nodeps gtk gtk-devel"
10638 echo "configure: failed program was:" >&5
10639 cat conftest.
$ac_ext >&5
10641 echo "*** The test program failed to compile or link. See the file config.log for the"
10642 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
10643 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
10644 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
10647 CFLAGS
="$ac_save_CFLAGS"
10648 LIBS
="$ac_save_LIBS"
10661 if test -z "$wx_cv_lib_gtk"; then
10664 wx_cv_cflags_gtk
=$GTK_CFLAGS
10665 wx_cv_libs_gtk
=$GTK_LIBS
10672 if test "$gtk_version_cached" = 1; then
10673 echo "$ac_t""$wx_cv_lib_gtk" 1>&6
10676 case "$wx_cv_lib_gtk" in
10684 *) { echo "configure: error:
10685 Please check that gtk-config is in path, the directory
10686 where GTK+ libraries are installed (returned by
10687 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
10688 equivalent variable and GTK+ is version 1.2.3 or above.
10693 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
10694 GUI_TK_LIBRARY
="$wx_cv_libs_gtk"
10696 AFMINSTALL
=afminstall
10700 echo $ac_n "checking for gdk_im_open in -lgdk""... $ac_c" 1>&6
10701 echo "configure:10702: checking for gdk_im_open in -lgdk" >&5
10702 ac_lib_var
=`echo gdk'_'gdk_im_open | sed 'y%./+-%__p_%'`
10703 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10704 echo $ac_n "(cached) $ac_c" 1>&6
10706 ac_save_LIBS
="$LIBS"
10708 cat > conftest.
$ac_ext <<EOF
10709 #line 10710 "configure"
10710 #include "confdefs.h"
10711 /* Override any gcc2 internal prototype to avoid an error. */
10712 /* We use char because int might match the return type of a gcc2
10713 builtin and then its argument prototype would still apply. */
10714 char gdk_im_open();
10720 if { (eval echo configure
:10721: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10722 eval "ac_cv_lib_$ac_lib_var=yes"
10724 echo "configure: failed program was:" >&5
10725 cat conftest.
$ac_ext >&5
10727 eval "ac_cv_lib_$ac_lib_var=no"
10730 LIBS
="$ac_save_LIBS"
10733 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10734 echo "$ac_t""yes" 1>&6
10735 cat >> confdefs.h
<<\EOF
10740 echo "$ac_t""no" 1>&6
10745 if test "$wxUSE_MGL" = 1; then
10747 echo $ac_n "checking for SciTech MGL library""... $ac_c" 1>&6
10748 echo "configure:10749: checking for SciTech MGL library" >&5
10749 if test "x$MGL_ROOT" = x
; then
10750 echo "$ac_t""not found" 1>&6
10751 { echo "configure: error: Cannot find MGL library. Make sure MGL_ROOT is set." 1>&2; exit 1; }
10753 echo "$ac_t""$MGL_ROOT" 1>&6
10756 mgl_os
=linux
/gcc
/glibc
10759 if test "$wxUSE_DEBUG_FLAG" = yes ; then
10760 if test -f $MGL_ROOT/lib
/debug
/$mgl_os/libmgl.a
-o \
10761 -f $MGL_ROOT/lib
/debug
/$mgl_os/libmgl.so
; then
10765 if test "x$mgl_lib_type" = x
; then
10766 if test -f $MGL_ROOT/lib
/release
/$mgl_os/libmgl.a
-o \
10767 -f $MGL_ROOT/lib
/release
/$mgl_os/libmgl.so
; then
10768 mgl_lib_type
=release
10770 { echo "configure: error: Cannot find MGL libraries, make sure they are compiled." 1>&2; exit 1; }
10774 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
10775 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
10777 AFMINSTALL
=afminstall
10782 if test "$wxUSE_WINE" = 1; then
10783 ac_safe
=`echo "windows.h" | sed 'y%./+-%__p_%'`
10784 echo $ac_n "checking for windows.h""... $ac_c" 1>&6
10785 echo "configure:10786: checking for windows.h" >&5
10786 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10787 echo $ac_n "(cached) $ac_c" 1>&6
10789 cat > conftest.
$ac_ext <<EOF
10790 #line 10791 "configure"
10791 #include "confdefs.h"
10792 #include <windows.h>
10794 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10795 { (eval echo configure
:10796: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10796 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10797 if test -z "$ac_err"; then
10799 eval "ac_cv_header_$ac_safe=yes"
10802 echo "configure: failed program was:" >&5
10803 cat conftest.
$ac_ext >&5
10805 eval "ac_cv_header_$ac_safe=no"
10809 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10810 echo "$ac_t""yes" 1>&6
10813 echo "$ac_t""no" 1>&6
10815 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
10821 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
10822 echo "configure:10823: checking for Xpm library" >&5
10825 for ac_dir
in $SEARCH_LIB;
10827 for ac_extension
in a so sl dylib
; do
10828 if test -f "$ac_dir/libXpm.$ac_extension"; then
10829 ac_find_libraries
=$ac_dir
10835 if test "$ac_find_libraries" != "" ; then
10836 GUI_TK_LIBRARY
="-L$ac_find_libraries"
10838 cat >> confdefs.h
<<\EOF
10839 #define wxHAVE_LIB_XPM 1
10842 echo "$ac_t""found at $ac_find_libraries" 1>&6
10844 echo "$ac_t""no" 1>&6
10845 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
10849 echo $ac_n "checking for Mesa library""... $ac_c" 1>&6
10850 echo "configure:10851: checking for Mesa library" >&5
10853 for ac_dir
in $SEARCH_LIB;
10855 for ac_extension
in a so sl dylib
; do
10856 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
10857 ac_find_libraries
=$ac_dir
10863 if test "$ac_find_libraries" != "" ; then
10864 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -L$ac_find_libraries"
10865 mesa_link
=" -lMesaGL"
10866 echo "$ac_t""found at $ac_find_libraries" 1>&6
10868 { echo "configure: error: no" 1>&2; exit 1; }
10871 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lwine$mesa_link$xpm_link -lXxf86dga -lXxf86vm -lSM -lICE -lXext -lXmu -lX11 -lncurses"
10874 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXWINE__"
10877 if test "$wxUSE_MOTIF" = 1; then
10878 # If we find X, set shell vars x_includes and x_libraries to the
10879 # paths, otherwise set no_x=yes.
10880 # Uses ac_ vars as temps to allow command line to override cache and checks.
10881 # --without-x overrides everything else, but does not touch the cache.
10882 echo $ac_n "checking for X""... $ac_c" 1>&6
10883 echo "configure:10884: checking for X" >&5
10885 # Check whether --with-x or --without-x was given.
10886 if test "${with_x+set}" = set; then
10891 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10892 if test "x$with_x" = xno
; then
10893 # The user explicitly disabled X.
10896 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
10897 # Both variables are already set.
10900 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
10901 echo $ac_n "(cached) $ac_c" 1>&6
10903 # One or both of the vars are not set, and there is no cached value.
10904 ac_x_includes
=NO ac_x_libraries
=NO
10906 if mkdir conftestdir
; then
10908 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
10909 cat > Imakefile
<<'EOF'
10911 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
10913 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
10914 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
10915 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
10916 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10917 for ac_extension
in a so sl
; do
10918 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
10919 test -f $ac_im_libdir/libX11.
$ac_extension; then
10920 ac_im_usrlibdir
=$ac_im_libdir; break
10923 # Screen out bogus values from the imake configuration. They are
10924 # bogus both because they are the default anyway, and because
10925 # using them would break gcc on systems where it needs fixed includes.
10926 case "$ac_im_incroot" in
10928 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;;
10930 case "$ac_im_usrlibdir" in
10931 /usr
/lib
| /lib
) ;;
10932 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;;
10939 if test "$ac_x_includes" = NO
; then
10940 # Guess where to find include files, by looking for this one X11 .h file.
10941 test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
10943 # First, try using that file with no special directory specified.
10944 cat > conftest.
$ac_ext <<EOF
10945 #line 10946 "configure"
10946 #include "confdefs.h"
10947 #include <$x_direct_test_include>
10949 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10950 { (eval echo configure
:10951: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10951 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10952 if test -z "$ac_err"; then
10954 # We can compile using X headers with no special include directory.
10958 echo "configure: failed program was:" >&5
10959 cat conftest.
$ac_ext >&5
10961 # Look for the header file in a standard set of common directories.
10962 # Check X11 before X11Rn because it is often a symlink to the current release.
10965 /usr
/X
11R
6/include \
10966 /usr
/X
11R
5/include \
10967 /usr
/X
11R
4/include \
10970 /usr
/include
/X11R6 \
10971 /usr
/include
/X11R5 \
10972 /usr
/include
/X11R4 \
10974 /usr
/local
/X
11/include \
10975 /usr
/local
/X
11R
6/include \
10976 /usr
/local
/X
11R
5/include \
10977 /usr
/local
/X
11R
4/include \
10979 /usr
/local
/include
/X11 \
10980 /usr
/local
/include
/X11R6 \
10981 /usr
/local
/include
/X11R5 \
10982 /usr
/local
/include
/X11R4 \
10984 /usr
/X
386/include \
10985 /usr
/x
386/include \
10986 /usr
/XFree
86/include
/X11 \
10989 /usr
/local
/include \
10990 /usr
/unsupported
/include \
10991 /usr
/athena
/include \
10992 /usr
/local
/x
11r
5/include \
10993 /usr
/lpp
/Xamples
/include \
10995 /usr
/openwin
/include \
10996 /usr
/openwin
/share
/include \
10999 if test -r "$ac_dir/$x_direct_test_include"; then
11000 ac_x_includes
=$ac_dir
11006 fi # $ac_x_includes = NO
11008 if test "$ac_x_libraries" = NO
; then
11009 # Check for the libraries.
11011 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
11012 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
11014 # See if we find them without any special options.
11015 # Don't add to $LIBS permanently.
11016 ac_save_LIBS
="$LIBS"
11017 LIBS
="-l$x_direct_test_library $LIBS"
11018 cat > conftest.
$ac_ext <<EOF
11019 #line 11020 "configure"
11020 #include "confdefs.h"
11023 ${x_direct_test_function}()
11026 if { (eval echo configure
:11027: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11028 LIBS
="$ac_save_LIBS"
11029 # We can link X programs with no special library path.
11032 echo "configure: failed program was:" >&5
11033 cat conftest.
$ac_ext >&5
11035 LIBS
="$ac_save_LIBS"
11036 # First see if replacing the include by lib works.
11037 # Check X11 before X11Rn because it is often a symlink to the current release.
11038 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib/` \
11049 /usr
/local
/X
11/lib \
11050 /usr
/local
/X
11R
6/lib \
11051 /usr
/local
/X
11R
5/lib \
11052 /usr
/local
/X
11R
4/lib \
11054 /usr
/local
/lib
/X11 \
11055 /usr
/local
/lib
/X11R6 \
11056 /usr
/local
/lib
/X11R5 \
11057 /usr
/local
/lib
/X11R4 \
11061 /usr
/XFree
86/lib
/X11 \
11065 /usr
/unsupported
/lib \
11067 /usr
/local
/x
11r
5/lib \
11068 /usr
/lpp
/Xamples
/lib \
11072 /usr
/openwin
/share
/lib \
11075 for ac_extension
in a so sl
; do
11076 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
11077 ac_x_libraries
=$ac_dir
11084 fi # $ac_x_libraries = NO
11086 if test "$ac_x_includes" = NO
|| test "$ac_x_libraries" = NO
; then
11087 # Didn't find X anywhere. Cache the known absence of X.
11088 ac_cv_have_x
="have_x=no"
11090 # Record where we found X for the cache.
11091 ac_cv_have_x
="have_x=yes \
11092 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
11096 eval "$ac_cv_have_x"
11099 if test "$have_x" != yes; then
11100 echo "$ac_t""$have_x" 1>&6
11103 # If each of the values was on the command line, it overrides each guess.
11104 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
11105 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
11106 # Update the cache value to reflect the command line values.
11107 ac_cv_have_x
="have_x=yes \
11108 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
11109 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
11112 if test "$no_x" = yes; then
11113 # Not all programs may use this symbol, but it does not hurt to define it.
11114 cat >> confdefs.h
<<\EOF
11115 #define X_DISPLAY_MISSING 1
11118 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
11120 if test -n "$x_includes"; then
11121 X_CFLAGS
="$X_CFLAGS -I$x_includes"
11124 # It would also be nice to do this for all -L options, not just this one.
11125 if test -n "$x_libraries"; then
11126 X_LIBS
="$X_LIBS -L$x_libraries"
11127 # For Solaris; some versions of Sun CC require a space after -R and
11128 # others require no space. Words are not sufficient . . . .
11129 case "`(uname -sr) 2>/dev/null`" in
11131 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
11132 echo "configure:11133: checking whether -R must be followed by a space" >&5
11133 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
11134 cat > conftest.
$ac_ext <<EOF
11135 #line 11136 "configure"
11136 #include "confdefs.h"
11142 if { (eval echo configure
:11143: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11146 echo "configure: failed program was:" >&5
11147 cat conftest.
$ac_ext >&5
11152 if test $ac_R_nospace = yes; then
11153 echo "$ac_t""no" 1>&6
11154 X_LIBS
="$X_LIBS -R$x_libraries"
11156 LIBS
="$ac_xsave_LIBS -R $x_libraries"
11157 cat > conftest.
$ac_ext <<EOF
11158 #line 11159 "configure"
11159 #include "confdefs.h"
11165 if { (eval echo configure
:11166: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11169 echo "configure: failed program was:" >&5
11170 cat conftest.
$ac_ext >&5
11175 if test $ac_R_space = yes; then
11176 echo "$ac_t""yes" 1>&6
11177 X_LIBS
="$X_LIBS -R $x_libraries"
11179 echo "$ac_t""neither works" 1>&6
11182 LIBS
="$ac_xsave_LIBS"
11186 # Check for system-dependent libraries X programs must link with.
11187 # Do this before checking for the system-independent R6 libraries
11188 # (-lICE), since we may need -lsocket or whatever for X linking.
11190 if test "$ISC" = yes; then
11191 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
11193 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
11194 # libraries were built with DECnet support. And karl@cs.umb.edu says
11195 # the Alpha needs dnet_stub (dnet does not exist).
11196 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
11197 echo "configure:11198: checking for dnet_ntoa in -ldnet" >&5
11198 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
11199 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11200 echo $ac_n "(cached) $ac_c" 1>&6
11202 ac_save_LIBS
="$LIBS"
11203 LIBS
="-ldnet $LIBS"
11204 cat > conftest.
$ac_ext <<EOF
11205 #line 11206 "configure"
11206 #include "confdefs.h"
11207 /* Override any gcc2 internal prototype to avoid an error. */
11208 /* We use char because int might match the return type of a gcc2
11209 builtin and then its argument prototype would still apply. */
11216 if { (eval echo configure
:11217: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11218 eval "ac_cv_lib_$ac_lib_var=yes"
11220 echo "configure: failed program was:" >&5
11221 cat conftest.
$ac_ext >&5
11223 eval "ac_cv_lib_$ac_lib_var=no"
11226 LIBS
="$ac_save_LIBS"
11229 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11230 echo "$ac_t""yes" 1>&6
11231 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
11233 echo "$ac_t""no" 1>&6
11236 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
11237 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
11238 echo "configure:11239: checking for dnet_ntoa in -ldnet_stub" >&5
11239 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
11240 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11241 echo $ac_n "(cached) $ac_c" 1>&6
11243 ac_save_LIBS
="$LIBS"
11244 LIBS
="-ldnet_stub $LIBS"
11245 cat > conftest.
$ac_ext <<EOF
11246 #line 11247 "configure"
11247 #include "confdefs.h"
11248 /* Override any gcc2 internal prototype to avoid an error. */
11249 /* We use char because int might match the return type of a gcc2
11250 builtin and then its argument prototype would still apply. */
11257 if { (eval echo configure
:11258: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11259 eval "ac_cv_lib_$ac_lib_var=yes"
11261 echo "configure: failed program was:" >&5
11262 cat conftest.
$ac_ext >&5
11264 eval "ac_cv_lib_$ac_lib_var=no"
11267 LIBS
="$ac_save_LIBS"
11270 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11271 echo "$ac_t""yes" 1>&6
11272 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
11274 echo "$ac_t""no" 1>&6
11279 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
11280 # to get the SysV transport functions.
11281 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
11283 # The nsl library prevents programs from opening the X display
11284 # on Irix 5.2, according to dickey@clark.net.
11285 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
11286 echo "configure:11287: checking for gethostbyname" >&5
11287 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
11288 echo $ac_n "(cached) $ac_c" 1>&6
11290 cat > conftest.
$ac_ext <<EOF
11291 #line 11292 "configure"
11292 #include "confdefs.h"
11293 /* System header to define __stub macros and hopefully few prototypes,
11294 which can conflict with char gethostbyname(); below. */
11295 #include <assert.h>
11296 /* Override any gcc2 internal prototype to avoid an error. */
11297 /* We use char because int might match the return type of a gcc2
11298 builtin and then its argument prototype would still apply. */
11299 char gethostbyname();
11303 /* The GNU C library defines this for functions which it implements
11304 to always fail with ENOSYS. Some functions are actually named
11305 something starting with __ and the normal name is an alias. */
11306 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
11314 if { (eval echo configure
:11315: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11316 eval "ac_cv_func_gethostbyname=yes"
11318 echo "configure: failed program was:" >&5
11319 cat conftest.
$ac_ext >&5
11321 eval "ac_cv_func_gethostbyname=no"
11326 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
11327 echo "$ac_t""yes" 1>&6
11330 echo "$ac_t""no" 1>&6
11333 if test $ac_cv_func_gethostbyname = no
; then
11334 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
11335 echo "configure:11336: checking for gethostbyname in -lnsl" >&5
11336 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
11337 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11338 echo $ac_n "(cached) $ac_c" 1>&6
11340 ac_save_LIBS
="$LIBS"
11342 cat > conftest.
$ac_ext <<EOF
11343 #line 11344 "configure"
11344 #include "confdefs.h"
11345 /* Override any gcc2 internal prototype to avoid an error. */
11346 /* We use char because int might match the return type of a gcc2
11347 builtin and then its argument prototype would still apply. */
11348 char gethostbyname();
11354 if { (eval echo configure
:11355: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11356 eval "ac_cv_lib_$ac_lib_var=yes"
11358 echo "configure: failed program was:" >&5
11359 cat conftest.
$ac_ext >&5
11361 eval "ac_cv_lib_$ac_lib_var=no"
11364 LIBS
="$ac_save_LIBS"
11367 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11368 echo "$ac_t""yes" 1>&6
11369 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
11371 echo "$ac_t""no" 1>&6
11376 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11377 # socket/setsockopt and other routines are undefined under SCO ODT
11378 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11379 # on later versions), says simon@lia.di.epfl.ch: it contains
11380 # gethostby* variants that don't use the nameserver (or something).
11381 # -lsocket must be given before -lnsl if both are needed.
11382 # We assume that if connect needs -lnsl, so does gethostbyname.
11383 echo $ac_n "checking for connect""... $ac_c" 1>&6
11384 echo "configure:11385: checking for connect" >&5
11385 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
11386 echo $ac_n "(cached) $ac_c" 1>&6
11388 cat > conftest.
$ac_ext <<EOF
11389 #line 11390 "configure"
11390 #include "confdefs.h"
11391 /* System header to define __stub macros and hopefully few prototypes,
11392 which can conflict with char connect(); below. */
11393 #include <assert.h>
11394 /* Override any gcc2 internal prototype to avoid an error. */
11395 /* We use char because int might match the return type of a gcc2
11396 builtin and then its argument prototype would still apply. */
11401 /* The GNU C library defines this for functions which it implements
11402 to always fail with ENOSYS. Some functions are actually named
11403 something starting with __ and the normal name is an alias. */
11404 #if defined (__stub_connect) || defined (__stub___connect)
11412 if { (eval echo configure
:11413: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11414 eval "ac_cv_func_connect=yes"
11416 echo "configure: failed program was:" >&5
11417 cat conftest.
$ac_ext >&5
11419 eval "ac_cv_func_connect=no"
11424 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
11425 echo "$ac_t""yes" 1>&6
11428 echo "$ac_t""no" 1>&6
11431 if test $ac_cv_func_connect = no
; then
11432 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
11433 echo "configure:11434: checking for connect in -lsocket" >&5
11434 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
11435 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11436 echo $ac_n "(cached) $ac_c" 1>&6
11438 ac_save_LIBS
="$LIBS"
11439 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
11440 cat > conftest.
$ac_ext <<EOF
11441 #line 11442 "configure"
11442 #include "confdefs.h"
11443 /* Override any gcc2 internal prototype to avoid an error. */
11444 /* We use char because int might match the return type of a gcc2
11445 builtin and then its argument prototype would still apply. */
11452 if { (eval echo configure
:11453: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11454 eval "ac_cv_lib_$ac_lib_var=yes"
11456 echo "configure: failed program was:" >&5
11457 cat conftest.
$ac_ext >&5
11459 eval "ac_cv_lib_$ac_lib_var=no"
11462 LIBS
="$ac_save_LIBS"
11465 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11466 echo "$ac_t""yes" 1>&6
11467 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
11469 echo "$ac_t""no" 1>&6
11474 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
11475 echo $ac_n "checking for remove""... $ac_c" 1>&6
11476 echo "configure:11477: checking for remove" >&5
11477 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
11478 echo $ac_n "(cached) $ac_c" 1>&6
11480 cat > conftest.
$ac_ext <<EOF
11481 #line 11482 "configure"
11482 #include "confdefs.h"
11483 /* System header to define __stub macros and hopefully few prototypes,
11484 which can conflict with char remove(); below. */
11485 #include <assert.h>
11486 /* Override any gcc2 internal prototype to avoid an error. */
11487 /* We use char because int might match the return type of a gcc2
11488 builtin and then its argument prototype would still apply. */
11493 /* The GNU C library defines this for functions which it implements
11494 to always fail with ENOSYS. Some functions are actually named
11495 something starting with __ and the normal name is an alias. */
11496 #if defined (__stub_remove) || defined (__stub___remove)
11504 if { (eval echo configure
:11505: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11506 eval "ac_cv_func_remove=yes"
11508 echo "configure: failed program was:" >&5
11509 cat conftest.
$ac_ext >&5
11511 eval "ac_cv_func_remove=no"
11516 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
11517 echo "$ac_t""yes" 1>&6
11520 echo "$ac_t""no" 1>&6
11523 if test $ac_cv_func_remove = no
; then
11524 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
11525 echo "configure:11526: checking for remove in -lposix" >&5
11526 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
11527 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11528 echo $ac_n "(cached) $ac_c" 1>&6
11530 ac_save_LIBS
="$LIBS"
11531 LIBS
="-lposix $LIBS"
11532 cat > conftest.
$ac_ext <<EOF
11533 #line 11534 "configure"
11534 #include "confdefs.h"
11535 /* Override any gcc2 internal prototype to avoid an error. */
11536 /* We use char because int might match the return type of a gcc2
11537 builtin and then its argument prototype would still apply. */
11544 if { (eval echo configure
:11545: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11546 eval "ac_cv_lib_$ac_lib_var=yes"
11548 echo "configure: failed program was:" >&5
11549 cat conftest.
$ac_ext >&5
11551 eval "ac_cv_lib_$ac_lib_var=no"
11554 LIBS
="$ac_save_LIBS"
11557 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11558 echo "$ac_t""yes" 1>&6
11559 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
11561 echo "$ac_t""no" 1>&6
11566 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11567 echo $ac_n "checking for shmat""... $ac_c" 1>&6
11568 echo "configure:11569: checking for shmat" >&5
11569 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
11570 echo $ac_n "(cached) $ac_c" 1>&6
11572 cat > conftest.
$ac_ext <<EOF
11573 #line 11574 "configure"
11574 #include "confdefs.h"
11575 /* System header to define __stub macros and hopefully few prototypes,
11576 which can conflict with char shmat(); below. */
11577 #include <assert.h>
11578 /* Override any gcc2 internal prototype to avoid an error. */
11579 /* We use char because int might match the return type of a gcc2
11580 builtin and then its argument prototype would still apply. */
11585 /* The GNU C library defines this for functions which it implements
11586 to always fail with ENOSYS. Some functions are actually named
11587 something starting with __ and the normal name is an alias. */
11588 #if defined (__stub_shmat) || defined (__stub___shmat)
11596 if { (eval echo configure
:11597: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11598 eval "ac_cv_func_shmat=yes"
11600 echo "configure: failed program was:" >&5
11601 cat conftest.
$ac_ext >&5
11603 eval "ac_cv_func_shmat=no"
11608 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
11609 echo "$ac_t""yes" 1>&6
11612 echo "$ac_t""no" 1>&6
11615 if test $ac_cv_func_shmat = no
; then
11616 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
11617 echo "configure:11618: checking for shmat in -lipc" >&5
11618 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
11619 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11620 echo $ac_n "(cached) $ac_c" 1>&6
11622 ac_save_LIBS
="$LIBS"
11624 cat > conftest.
$ac_ext <<EOF
11625 #line 11626 "configure"
11626 #include "confdefs.h"
11627 /* Override any gcc2 internal prototype to avoid an error. */
11628 /* We use char because int might match the return type of a gcc2
11629 builtin and then its argument prototype would still apply. */
11636 if { (eval echo configure
:11637: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11638 eval "ac_cv_lib_$ac_lib_var=yes"
11640 echo "configure: failed program was:" >&5
11641 cat conftest.
$ac_ext >&5
11643 eval "ac_cv_lib_$ac_lib_var=no"
11646 LIBS
="$ac_save_LIBS"
11649 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11650 echo "$ac_t""yes" 1>&6
11651 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
11653 echo "$ac_t""no" 1>&6
11659 # Check for libraries that X11R6 Xt/Xaw programs need.
11660 ac_save_LDFLAGS
="$LDFLAGS"
11661 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
11662 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11663 # check for ICE first), but we must link in the order -lSM -lICE or
11664 # we get undefined symbols. So assume we have SM if we have ICE.
11665 # These have to be linked with before -lX11, unlike the other
11666 # libraries we check for below, so use a different variable.
11667 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
11668 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
11669 echo "configure:11670: checking for IceConnectionNumber in -lICE" >&5
11670 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
11671 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11672 echo $ac_n "(cached) $ac_c" 1>&6
11674 ac_save_LIBS
="$LIBS"
11675 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
11676 cat > conftest.
$ac_ext <<EOF
11677 #line 11678 "configure"
11678 #include "confdefs.h"
11679 /* Override any gcc2 internal prototype to avoid an error. */
11680 /* We use char because int might match the return type of a gcc2
11681 builtin and then its argument prototype would still apply. */
11682 char IceConnectionNumber();
11685 IceConnectionNumber()
11688 if { (eval echo configure
:11689: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11690 eval "ac_cv_lib_$ac_lib_var=yes"
11692 echo "configure: failed program was:" >&5
11693 cat conftest.
$ac_ext >&5
11695 eval "ac_cv_lib_$ac_lib_var=no"
11698 LIBS
="$ac_save_LIBS"
11701 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11702 echo "$ac_t""yes" 1>&6
11703 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
11705 echo "$ac_t""no" 1>&6
11708 LDFLAGS
="$ac_save_LDFLAGS"
11713 if test "$no_x" = "yes"; then
11714 { echo "configure: error: X11 not found" 1>&2; exit 1; }
11717 GUI_TK_LIBRARY
="$X_LIBS"
11718 TOOLKIT_INCLUDE
="$X_CFLAGS"
11719 AFMINSTALL
=afminstall
11720 COMPILED_X_PROGRAM
=0
11722 echo $ac_n "checking for Motif/Lesstif headers""... $ac_c" 1>&6
11723 echo "configure:11724: checking for Motif/Lesstif headers" >&5
11726 for ac_dir
in $SEARCH_INCLUDE;
11728 if test -f "$ac_dir/Xm/Xm.h"; then
11729 ac_find_includes
=$ac_dir
11734 if test "$ac_find_includes" != "" ; then
11735 echo "$ac_t""found $ac_find_includes" 1>&6
11737 cat > conftest.
$ac_ext <<EOF
11738 #line 11739 "configure"
11739 #include "confdefs.h"
11746 version = xmUseVersion;
11750 if { (eval echo configure
:11751: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11753 echo "$ac_t""found in default search path" 1>&6
11754 COMPILED_X_PROGRAM
=1
11757 echo "configure: failed program was:" >&5
11758 cat conftest.
$ac_ext >&5
11761 echo "$ac_t""no" 1>&6
11762 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
11769 if test "$COMPILED_X_PROGRAM" = 0; then
11770 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
11771 echo "configure:11772: checking for Motif/Lesstif library" >&5
11774 for ac_dir
in $SEARCH_LIB;
11776 for ac_extension
in a so sl dylib
; do
11777 if test -f "$ac_dir/libXm.$ac_extension"; then
11778 ac_find_libraries
=$ac_dir
11784 if test "$ac_find_libraries" != "" ; then
11786 ac_path_to_include
=$ac_find_includes
11787 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
11789 if test $result = 0; then
11790 ac_path_to_include
=""
11792 ac_path_to_include
=" -I$ac_find_includes"
11796 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
11798 if test $result = 0; then
11801 ac_path_to_link
=" -L$ac_find_libraries"
11805 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
11806 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
11807 echo "$ac_t""found at $ac_find_libraries" 1>&6
11809 cat > conftest.
$ac_ext <<EOF
11810 #line 11811 "configure"
11811 #include "confdefs.h"
11818 version = xmUseVersion;
11822 if { (eval echo configure
:11823: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11825 echo "$ac_t""found in default search path" 1>&6
11826 COMPILED_X_PROGRAM
=1
11829 echo "configure: failed program was:" >&5
11830 cat conftest.
$ac_ext >&5
11833 echo "$ac_t""no" 1>&6
11834 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
11843 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
11844 echo "configure:11845: checking for Xpm library" >&5
11847 for ac_dir
in $SEARCH_LIB;
11849 for ac_extension
in a so sl dylib
; do
11850 if test -f "$ac_dir/libXpm.$ac_extension"; then
11851 ac_find_libraries
=$ac_dir
11857 if test "$ac_find_libraries" != "" ; then
11859 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
11861 if test $result = 0; then
11864 ac_path_to_link
=" -L$ac_find_libraries"
11867 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
11869 cat >> confdefs.h
<<\EOF
11870 #define wxHAVE_LIB_XPM 1
11873 echo "$ac_t""found at $ac_find_libraries" 1>&6
11875 cat > conftest.
$ac_ext <<EOF
11876 #line 11877 "configure"
11877 #include "confdefs.h"
11879 #include <X11/xpm.h>
11884 version = XpmLibraryVersion();
11888 if { (eval echo configure
:11889: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11892 cat >> confdefs.h
<<\EOF
11893 #define wxHAVE_LIB_XPM 1
11896 echo "$ac_t""found in default search path" 1>&6
11897 COMPILED_X_PROGRAM
=0
11900 echo "configure: failed program was:" >&5
11901 cat conftest.
$ac_ext >&5
11904 echo "$ac_t""no" 1>&6
11905 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
11912 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm$xpm_link -lXmu -lXext -lXt -lX11"
11913 TOOLKIT_VPATH
="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo"
11918 if test "$wxUSE_MAC" = 1; then
11919 if test "$wxUSE_PRECOMP" = "yes"; then
11920 CPPFLAGS
="$CPPFLAGS -cpp-precomp"
11922 CPPFLAGS
="$CPPFLAGS -I/Developer/Headers/FlatCarbon -I\${top_srcdir}/src/mac/morefile"
11923 CFLAGS
="$CFLAGS -fpascal-strings"
11924 CXXFLAGS
="$CXXFLAGS -fpascal-strings"
11925 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS -DTARGET_CARBON"
11927 TOOLKIT_VPATH
="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefile"
11932 if test "$wxUSE_PM" = 1; then
11937 if test "$TOOLKIT" = "PM" ; then
11940 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
11943 PORT_FILES
="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
11945 if test "$wxUSE_UNIVERSAL" = "yes"; then
11946 ALL_OBJECTS
="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
11947 PORT_FILES
="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
11948 TOOLKIT_VPATH
="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
11949 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
11952 ALL_OBJECTS
="\$(GUIOBJS)"
11955 ALL_OBJECTS
="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
11957 if test "$TOOLKIT" != "MSW"; then
11958 ALL_OBJECTS
="${ALL_OBJECTS} \$(UNIXOBJS)"
11961 if test "$wxUSE_HTML" = "yes"; then
11962 ALL_OBJECTS
="${ALL_OBJECTS} \$(HTMLOBJS)"
11965 if test "$TOOLKIT" != "MSW" -a "$wxUSE_ODBC" = "yes" ; then
11966 ALL_OBJECTS
="${ALL_OBJECTS} \$(IODBCOBJS)"
11968 if test "$wxUSE_LIBJPEG" = "builtin" ; then
11969 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
11971 if test "$wxUSE_LIBTIFF" = "builtin" ; then
11972 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
11974 if test "$wxUSE_LIBPNG" = "builtin" ; then
11975 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
11977 if test "$wxUSE_FREETYPE" = "builtin" ; then
11978 ALL_OBJECTS
="${ALL_OBJECTS} \$(FREETYPEOBJS)"
11981 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
11982 DISTDIR
="wx\$(TOOLKIT)"
11988 if test "$USE_WIN32" = 1 ; then
11989 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_MSW_OBJS}"
11990 TOOLKIT_VPATH
="\${top_srcdir}/src/msw"
11994 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
11995 TOOLKIT_VPATH
="\${top_srcdir}/src/unix"
11998 PORT_FILES
="\${top_srcdir}/src/files.lst"
12000 GUIDIST
="BASE_DIST"
12004 if test "$wxUSE_REGEX" = "builtin" ; then
12005 ALL_OBJECTS
="${ALL_OBJECTS} \$(REGEXOBJS)"
12007 if test "$wxUSE_ZLIB" = "builtin" ; then
12008 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
12011 if test "$wxUSE_OPENGL" = "yes"; then
12012 if test "$wxUSE_MAC" = 1; then
12013 OPENGL_LIBS
="-framework OpenGL -framework AGL"
12016 ac_safe
=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
12017 echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
12018 echo "configure:12019: checking for GL/gl.h" >&5
12019 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12020 echo $ac_n "(cached) $ac_c" 1>&6
12022 cat > conftest.
$ac_ext <<EOF
12023 #line 12024 "configure"
12024 #include "confdefs.h"
12027 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12028 { (eval echo configure
:12029: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12029 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12030 if test -z "$ac_err"; then
12032 eval "ac_cv_header_$ac_safe=yes"
12035 echo "configure: failed program was:" >&5
12036 cat conftest.
$ac_ext >&5
12038 eval "ac_cv_header_$ac_safe=no"
12042 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12043 echo "$ac_t""yes" 1>&6
12045 echo $ac_n "checking for -lGL""... $ac_c" 1>&6
12046 echo "configure:12047: checking for -lGL" >&5
12049 for ac_dir
in $SEARCH_LIB;
12051 for ac_extension
in a so sl dylib
; do
12052 if test -f "$ac_dir/libGL.$ac_extension"; then
12053 ac_find_libraries
=$ac_dir
12059 if test "$ac_find_libraries" != "" ; then
12061 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
12063 if test $result = 0; then
12066 ac_path_to_link
=" -L$ac_find_libraries"
12069 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
12070 OPENGL_LIBS
="-lGL -lGLU"
12071 echo "$ac_t""yes" 1>&6
12073 echo "$ac_t""no" 1>&6
12074 echo $ac_n "checking for -lMesaGL""... $ac_c" 1>&6
12075 echo "configure:12076: checking for -lMesaGL" >&5
12078 for ac_dir
in $SEARCH_LIB;
12080 for ac_extension
in a so sl dylib
; do
12081 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
12082 ac_find_libraries
=$ac_dir
12088 if test "$ac_find_libraries" != "" ; then
12090 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
12092 if test $result = 0; then
12095 ac_path_to_link
=" -L$ac_find_libraries"
12098 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
12099 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
12100 echo "$ac_t""yes" 1>&6
12102 echo "$ac_t""no" 1>&6
12107 echo "$ac_t""no" 1>&6
12112 # AC_CHECK_HEADER(GL/gl.h,
12114 # AC_CHECK_LIB(GL, glFlush,
12116 # OPENGL_LIBS="-lGL -lGLU"
12119 # AC_CHECK_LIB(MesaGL, glFlush,
12121 # OPENGL_LIBS="-lMesaGL -lMesaGLU"
12129 if test "x$OPENGL_LIBS" = "x"; then
12130 { echo "configure: error: OpenGL libraries not available" 1>&2; exit 1; }
12134 if test "$wxUSE_OPENGL" = "yes"; then
12135 cat >> confdefs.h
<<\EOF
12136 #define wxUSE_OPENGL 1
12139 cat >> confdefs.h
<<\EOF
12140 #define wxUSE_GLCANVAS 1
12143 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl"
12147 if test -z "$TOOLKIT_VPATH" ; then
12148 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}"
12151 if test -n "$TOOLKIT" ; then
12152 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
12155 lib_unicode_suffix
=
12156 if test "$wxUSE_UNICODE" = "yes"; then
12157 lib_unicode_suffix
=u
12161 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
12165 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
12166 TOOLCHAIN_NAME_GL
="${TOOLKIT_DIR}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
12168 if test "$cross_compiling" = "yes"; then
12169 TOOLCHAIN_NAME
="${TOOLCHAIN_NAME}-${host_alias}"
12170 TOOLCHAIN_NAME_GL
="${TOOLCHAIN_NAME_GL}-${host_alias}"
12173 WX_LIBRARY
="wx_${TOOLCHAIN_NAME}"
12174 WX_LIBRARY_GL
="wx_${TOOLCHAIN_NAME_GL}"
12176 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
12177 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
12179 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
12180 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
12181 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
12182 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
12184 WX_RESOURCES_MACOSX
="lib${WX_LIBRARY}.rsrc"
12185 WX_RESOURCES_MACOSX_COMPILED
="lib${WX_LIBRARY}.r"
12188 *-*-cygwin* | *-*-mingw32* )
12192 if test "$cross_compiling" != "yes"; then
12193 WX_LIBRARY
="wxmsw${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
12194 WX_LIBRARY_GL
="wxmsw_gl${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
12195 WX_LIBRARY_NAME_SHARED
="${WX_LIBRARY}.${SO_SUFFIX}"
12196 WX_LIBRARY_NAME_SHARED_GL
="${WX_LIBRARY_GL}.${SO_SUFFIX}"
12198 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}"
12199 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
12204 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
12205 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY_GL}.a"
12207 WXCONFIG_LIBS
="-l${WX_LIBRARY}"
12208 WXCONFIG_LIBS_STATIC
="lib${WX_LIBRARY}.a"
12210 if test "$wxUSE_OPENGL" = "yes"; then
12211 WXCONFIG_LIBS_GL
="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
12212 WXCONFIG_LIBS_STATIC_GL
="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
12217 if test "$wxUSE_SHARED" = "yes"; then
12219 if test "$wxUSE_OPENGL" = "yes"; then
12220 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
12221 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_LINK1} \$(build_libdir)/${WX_LIBRARY_LINK1_GL}"
12223 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
12224 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_LINK1}"
12227 if test "$GCC" = "yes"; then
12231 SHARED_LD
="${CXX} -shared -o"
12235 if test "$GCC" != "yes"; then
12236 LDFLAGS
="$LDFLAGS -L/usr/lib"
12238 SHARED_LD
="${CXX} -b -o"
12242 if test "$wxUSE_OPENGL" = "yes"; then
12243 WX_ALL_INSTALLED
="preinstall_gl"
12244 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
12246 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
12251 if test "$GCC" != "yes"; then
12252 echo $ac_n "checking for Intel compiler""... $ac_c" 1>&6
12253 echo "configure:12254: checking for Intel compiler" >&5
12254 if eval "test \"`echo '$''{'wx_cv_prog_icc'+set}'`\" = set"; then
12255 echo $ac_n "(cached) $ac_c" 1>&6
12258 cat > conftest.
$ac_ext <<EOF
12259 #line 12260 "configure"
12260 #include "confdefs.h"
12264 #ifndef __INTEL_COMPILER
12270 if { (eval echo configure
:12271: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12274 echo "configure: failed program was:" >&5
12275 cat conftest.
$ac_ext >&5
12284 echo "$ac_t""$wx_cv_prog_icc" 1>&6
12285 if test "$wx_cv_prog_icc" = "yes"; then
12290 if test "$wxUSE_SONAME" = "yes" ; then
12291 SONAME_FLAGS
="-Wl,-soname,${WX_LIBRARY_LINK1}"
12292 SONAME_FLAGS_GL
="-Wl,-soname,${WX_LIBRARY_LINK1_GL}"
12293 WX_TARGET_LIBRARY_SONAME
="-Wl,-soname,\$(TARGETLIB_LINK1)"
12298 if test "$GCC" = yes ; then
12299 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
12301 SHARED_LD
="${CXX} -G -o"
12303 SONAME_FLAGS
="-h ${WX_LIBRARY_NAME_SHARED}"
12304 SONAME_FLAGS_GL
="-h ${WX_LIBRARY_NAME_SHARED}"
12309 CFLAGS
="$CFLAGS -fno-common -DDYLIB_INIT"
12310 CXXFLAGS
="$CXXFLAGS -fno-common -DDYLIB_INIT"
12311 SHARED_LD
="$CXX -dynamiclib -init _wxWindowsDylibInit -o"
12312 PIC_FLAG
="-dynamic -fPIC"
12316 SHARED_LD
="/usr/lpp/xlC/bin/makeC++SharedLib -p 0 -o"
12319 *-*-cygwin* | *-*-mingw32* )
12321 WX_LIBRARY_IMPORTLIB
="${WX_LIBRARY_NAME_SHARED}.a"
12323 SHARED_LD
="${CXX} -shared -Wl,--out-implib,lib/${WX_LIBRARY_IMPORTLIB} -o"
12324 TOOLCHAIN_DLL_DEFS
="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
12326 PIC_FLAG
="-UWXUSINGDLL -DWXMAKINGDLL=1 -D_DLL=1 -D_WINDLL=1"
12328 if test "$wxUSE_OPENGL" = "yes"; then
12329 WX_ALL_INSTALLED
="preinstall_gl"
12330 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
12332 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
12336 *-pc-os2_emx | *-pc-os2-emx )
12341 SHARED_LD
="${LD} -shared -o"
12344 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
12346 *-*-irix5* | *-*-irix6* | \
12353 { echo "configure: error: unknown system type $host." 1>&2; exit 1; }
12356 if test "x$WX_TARGET_LIBRARY" = "x"; then
12357 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
12358 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
12361 WX_TARGET_LIBRARY_TYPE
="so"
12362 INSTALL_LIBRARY
='$(INSTALL_PROGRAM)'
12365 if test "$wxUSE_SHARED" = "no"; then
12367 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
12368 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
12371 if test "$wxUSE_MAC" = 1; then
12372 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
12375 if test "$wxUSE_OPENGL" = "yes"; then
12376 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_gl"
12377 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
12379 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
12382 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
12383 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
12385 WX_TARGET_LIBRARY_TYPE
="a"
12386 INSTALL_LIBRARY
='$(INSTALL_DATA)'
12389 if test "$wxUSE_MAC" = 1; then
12390 WX_ALL
="${WX_ALL} \$(build_libdir)/lib${WX_LIBRARY}.r"
12391 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_res"
12392 # Extract the first word of "Rez", so it can be a program name with args.
12393 set dummy Rez
; ac_word
=$2
12394 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
12395 echo "configure:12396: checking for $ac_word" >&5
12396 if eval "test \"`echo '$''{'ac_cv_prog_RESCOMP'+set}'`\" = set"; then
12397 echo $ac_n "(cached) $ac_c" 1>&6
12399 if test -n "$RESCOMP"; then
12400 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
12402 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
12404 for ac_dir
in $ac_dummy; do
12405 test -z "$ac_dir" && ac_dir
=.
12406 if test -f $ac_dir/$ac_word; then
12407 ac_cv_prog_RESCOMP
="Rez"
12412 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
12415 RESCOMP
="$ac_cv_prog_RESCOMP"
12416 if test -n "$RESCOMP"; then
12417 echo "$ac_t""$RESCOMP" 1>&6
12419 echo "$ac_t""no" 1>&6
12422 # Extract the first word of "DeRez", so it can be a program name with args.
12423 set dummy DeRez
; ac_word
=$2
12424 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
12425 echo "configure:12426: checking for $ac_word" >&5
12426 if eval "test \"`echo '$''{'ac_cv_prog_DEREZ'+set}'`\" = set"; then
12427 echo $ac_n "(cached) $ac_c" 1>&6
12429 if test -n "$DEREZ"; then
12430 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
12432 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
12434 for ac_dir
in $ac_dummy; do
12435 test -z "$ac_dir" && ac_dir
=.
12436 if test -f $ac_dir/$ac_word; then
12437 ac_cv_prog_DEREZ
="DeRez"
12442 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
12445 DEREZ
="$ac_cv_prog_DEREZ"
12446 if test -n "$DEREZ"; then
12447 echo "$ac_t""$DEREZ" 1>&6
12449 echo "$ac_t""no" 1>&6
12452 LIBWXMACRES
="\$(top_builddir)/lib/lib${WX_LIBRARY}.r"
12453 LIBWXMACRESCOMP
="\$(RESCOMP) Carbon.r -t APPL ${LIBWXMACRES} -o \$(BIN_PROGRAM)"
12454 LIBWXMACRESWXCONFIG
="${RESCOMP} Carbon.r -t APPL \${prefix}/lib/${WX_RESOURCES_MACOSX_COMPILED} -o"
12458 if test "$wxUSE_MAC" != 1; then
12459 for ac_hdr
in strings.h
12461 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12462 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12463 echo "configure:12464: checking for $ac_hdr" >&5
12464 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12465 echo $ac_n "(cached) $ac_c" 1>&6
12467 cat > conftest.
$ac_ext <<EOF
12468 #line 12469 "configure"
12469 #include "confdefs.h"
12472 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12473 { (eval echo configure
:12474: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12474 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12475 if test -z "$ac_err"; then
12477 eval "ac_cv_header_$ac_safe=yes"
12480 echo "configure: failed program was:" >&5
12481 cat conftest.
$ac_ext >&5
12483 eval "ac_cv_header_$ac_safe=no"
12487 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12488 echo "$ac_t""yes" 1>&6
12489 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12490 cat >> confdefs.h
<<EOF
12491 #define $ac_tr_hdr 1
12495 echo "$ac_t""no" 1>&6
12501 for ac_hdr
in stdlib.h
12503 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12504 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12505 echo "configure:12506: checking for $ac_hdr" >&5
12506 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12507 echo $ac_n "(cached) $ac_c" 1>&6
12509 cat > conftest.
$ac_ext <<EOF
12510 #line 12511 "configure"
12511 #include "confdefs.h"
12514 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12515 { (eval echo configure
:12516: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12516 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12517 if test -z "$ac_err"; then
12519 eval "ac_cv_header_$ac_safe=yes"
12522 echo "configure: failed program was:" >&5
12523 cat conftest.
$ac_ext >&5
12525 eval "ac_cv_header_$ac_safe=no"
12529 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12530 echo "$ac_t""yes" 1>&6
12531 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12532 cat >> confdefs.h
<<EOF
12533 #define $ac_tr_hdr 1
12537 echo "$ac_t""no" 1>&6
12541 for ac_hdr
in malloc.h
12543 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12544 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12545 echo "configure:12546: checking for $ac_hdr" >&5
12546 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12547 echo $ac_n "(cached) $ac_c" 1>&6
12549 cat > conftest.
$ac_ext <<EOF
12550 #line 12551 "configure"
12551 #include "confdefs.h"
12554 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12555 { (eval echo configure
:12556: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12556 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12557 if test -z "$ac_err"; then
12559 eval "ac_cv_header_$ac_safe=yes"
12562 echo "configure: failed program was:" >&5
12563 cat conftest.
$ac_ext >&5
12565 eval "ac_cv_header_$ac_safe=no"
12569 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12570 echo "$ac_t""yes" 1>&6
12571 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12572 cat >> confdefs.h
<<EOF
12573 #define $ac_tr_hdr 1
12577 echo "$ac_t""no" 1>&6
12581 for ac_hdr
in unistd.h
12583 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12584 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12585 echo "configure:12586: checking for $ac_hdr" >&5
12586 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12587 echo $ac_n "(cached) $ac_c" 1>&6
12589 cat > conftest.
$ac_ext <<EOF
12590 #line 12591 "configure"
12591 #include "confdefs.h"
12594 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12595 { (eval echo configure
:12596: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12596 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12597 if test -z "$ac_err"; then
12599 eval "ac_cv_header_$ac_safe=yes"
12602 echo "configure: failed program was:" >&5
12603 cat conftest.
$ac_ext >&5
12605 eval "ac_cv_header_$ac_safe=no"
12609 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12610 echo "$ac_t""yes" 1>&6
12611 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12612 cat >> confdefs.h
<<EOF
12613 #define $ac_tr_hdr 1
12617 echo "$ac_t""no" 1>&6
12621 for ac_hdr
in wchar.h
12623 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12624 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12625 echo "configure:12626: checking for $ac_hdr" >&5
12626 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12627 echo $ac_n "(cached) $ac_c" 1>&6
12629 cat > conftest.
$ac_ext <<EOF
12630 #line 12631 "configure"
12631 #include "confdefs.h"
12634 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12635 { (eval echo configure
:12636: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12636 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12637 if test -z "$ac_err"; then
12639 eval "ac_cv_header_$ac_safe=yes"
12642 echo "configure: failed program was:" >&5
12643 cat conftest.
$ac_ext >&5
12645 eval "ac_cv_header_$ac_safe=no"
12649 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12650 echo "$ac_t""yes" 1>&6
12651 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12652 cat >> confdefs.h
<<EOF
12653 #define $ac_tr_hdr 1
12657 echo "$ac_t""no" 1>&6
12661 for ac_hdr
in wcstr.h
12663 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12664 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12665 echo "configure:12666: checking for $ac_hdr" >&5
12666 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12667 echo $ac_n "(cached) $ac_c" 1>&6
12669 cat > conftest.
$ac_ext <<EOF
12670 #line 12671 "configure"
12671 #include "confdefs.h"
12674 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12675 { (eval echo configure
:12676: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12676 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12677 if test -z "$ac_err"; then
12679 eval "ac_cv_header_$ac_safe=yes"
12682 echo "configure: failed program was:" >&5
12683 cat conftest.
$ac_ext >&5
12685 eval "ac_cv_header_$ac_safe=no"
12689 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12690 echo "$ac_t""yes" 1>&6
12691 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12692 cat >> confdefs.h
<<EOF
12693 #define $ac_tr_hdr 1
12697 echo "$ac_t""no" 1>&6
12701 for ac_hdr
in wctype.h
12703 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12704 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12705 echo "configure:12706: checking for $ac_hdr" >&5
12706 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12707 echo $ac_n "(cached) $ac_c" 1>&6
12709 cat > conftest.
$ac_ext <<EOF
12710 #line 12711 "configure"
12711 #include "confdefs.h"
12714 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12715 { (eval echo configure
:12716: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12716 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12717 if test -z "$ac_err"; then
12719 eval "ac_cv_header_$ac_safe=yes"
12722 echo "configure: failed program was:" >&5
12723 cat conftest.
$ac_ext >&5
12725 eval "ac_cv_header_$ac_safe=no"
12729 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12730 echo "$ac_t""yes" 1>&6
12731 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12732 cat >> confdefs.h
<<EOF
12733 #define $ac_tr_hdr 1
12737 echo "$ac_t""no" 1>&6
12741 for ac_hdr
in fnmatch.h
12743 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12744 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12745 echo "configure:12746: checking for $ac_hdr" >&5
12746 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12747 echo $ac_n "(cached) $ac_c" 1>&6
12749 cat > conftest.
$ac_ext <<EOF
12750 #line 12751 "configure"
12751 #include "confdefs.h"
12754 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12755 { (eval echo configure
:12756: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12756 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12757 if test -z "$ac_err"; then
12759 eval "ac_cv_header_$ac_safe=yes"
12762 echo "configure: failed program was:" >&5
12763 cat conftest.
$ac_ext >&5
12765 eval "ac_cv_header_$ac_safe=no"
12769 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12770 echo "$ac_t""yes" 1>&6
12771 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12772 cat >> confdefs.h
<<EOF
12773 #define $ac_tr_hdr 1
12777 echo "$ac_t""no" 1>&6
12781 for ac_hdr
in iconv.h
12783 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12784 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12785 echo "configure:12786: checking for $ac_hdr" >&5
12786 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12787 echo $ac_n "(cached) $ac_c" 1>&6
12789 cat > conftest.
$ac_ext <<EOF
12790 #line 12791 "configure"
12791 #include "confdefs.h"
12794 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12795 { (eval echo configure
:12796: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12796 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12797 if test -z "$ac_err"; then
12799 eval "ac_cv_header_$ac_safe=yes"
12802 echo "configure: failed program was:" >&5
12803 cat conftest.
$ac_ext >&5
12805 eval "ac_cv_header_$ac_safe=no"
12809 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12810 echo "$ac_t""yes" 1>&6
12811 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12812 cat >> confdefs.h
<<EOF
12813 #define $ac_tr_hdr 1
12817 echo "$ac_t""no" 1>&6
12821 for ac_hdr
in langinfo.h
12823 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12824 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12825 echo "configure:12826: checking for $ac_hdr" >&5
12826 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12827 echo $ac_n "(cached) $ac_c" 1>&6
12829 cat > conftest.
$ac_ext <<EOF
12830 #line 12831 "configure"
12831 #include "confdefs.h"
12834 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12835 { (eval echo configure
:12836: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12836 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12837 if test -z "$ac_err"; then
12839 eval "ac_cv_header_$ac_safe=yes"
12842 echo "configure: failed program was:" >&5
12843 cat conftest.
$ac_ext >&5
12845 eval "ac_cv_header_$ac_safe=no"
12849 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12850 echo "$ac_t""yes" 1>&6
12851 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12852 cat >> confdefs.h
<<EOF
12853 #define $ac_tr_hdr 1
12857 echo "$ac_t""no" 1>&6
12862 if test "$wxUSE_GUI" = "yes"; then
12863 if test "$wxUSE_UNIX" = "yes"; then
12864 for ac_hdr
in X
11/XKBlib.h
12866 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12867 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12868 echo "configure:12869: checking for $ac_hdr" >&5
12869 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12870 echo $ac_n "(cached) $ac_c" 1>&6
12872 cat > conftest.
$ac_ext <<EOF
12873 #line 12874 "configure"
12874 #include "confdefs.h"
12877 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12878 { (eval echo configure
:12879: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12879 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12880 if test -z "$ac_err"; then
12882 eval "ac_cv_header_$ac_safe=yes"
12885 echo "configure: failed program was:" >&5
12886 cat conftest.
$ac_ext >&5
12888 eval "ac_cv_header_$ac_safe=no"
12892 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12893 echo "$ac_t""yes" 1>&6
12894 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12895 cat >> confdefs.h
<<EOF
12896 #define $ac_tr_hdr 1
12900 echo "$ac_t""no" 1>&6
12908 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
12909 echo "configure:12910: checking for ANSI C header files" >&5
12910 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
12911 echo $ac_n "(cached) $ac_c" 1>&6
12913 cat > conftest.
$ac_ext <<EOF
12914 #line 12915 "configure"
12915 #include "confdefs.h"
12916 #include <stdlib.h>
12917 #include <stdarg.h>
12918 #include <string.h>
12921 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12922 { (eval echo configure
:12923: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12923 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12924 if test -z "$ac_err"; then
12926 ac_cv_header_stdc
=yes
12929 echo "configure: failed program was:" >&5
12930 cat conftest.
$ac_ext >&5
12932 ac_cv_header_stdc
=no
12936 if test $ac_cv_header_stdc = yes; then
12937 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12938 cat > conftest.
$ac_ext <<EOF
12939 #line 12940 "configure"
12940 #include "confdefs.h"
12941 #include <string.h>
12943 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12944 egrep "memchr" >/dev
/null
2>&1; then
12948 ac_cv_header_stdc
=no
12954 if test $ac_cv_header_stdc = yes; then
12955 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12956 cat > conftest.
$ac_ext <<EOF
12957 #line 12958 "configure"
12958 #include "confdefs.h"
12959 #include <stdlib.h>
12961 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12962 egrep "free" >/dev
/null
2>&1; then
12966 ac_cv_header_stdc
=no
12972 if test $ac_cv_header_stdc = yes; then
12973 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12974 if test "$cross_compiling" = yes; then
12977 cat > conftest.
$ac_ext <<EOF
12978 #line 12979 "configure"
12979 #include "confdefs.h"
12981 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12982 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12983 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12984 int main () { int i; for (i = 0; i < 256; i++)
12985 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
12989 if { (eval echo configure
:12990: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12993 echo "configure: failed program was:" >&5
12994 cat conftest.
$ac_ext >&5
12996 ac_cv_header_stdc
=no
13004 echo "$ac_t""$ac_cv_header_stdc" 1>&6
13005 if test $ac_cv_header_stdc = yes; then
13006 cat >> confdefs.h
<<\EOF
13007 #define STDC_HEADERS 1
13012 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
13013 echo "configure:13014: checking for mode_t" >&5
13014 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
13015 echo $ac_n "(cached) $ac_c" 1>&6
13017 cat > conftest.
$ac_ext <<EOF
13018 #line 13019 "configure"
13019 #include "confdefs.h"
13020 #include <sys/types.h>
13022 #include <stdlib.h>
13023 #include <stddef.h>
13026 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13027 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
13029 ac_cv_type_mode_t
=yes
13032 ac_cv_type_mode_t
=no
13037 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
13038 if test $ac_cv_type_mode_t = no
; then
13039 cat >> confdefs.h
<<\EOF
13045 echo $ac_n "checking for off_t""... $ac_c" 1>&6
13046 echo "configure:13047: checking for off_t" >&5
13047 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
13048 echo $ac_n "(cached) $ac_c" 1>&6
13050 cat > conftest.
$ac_ext <<EOF
13051 #line 13052 "configure"
13052 #include "confdefs.h"
13053 #include <sys/types.h>
13055 #include <stdlib.h>
13056 #include <stddef.h>
13059 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13060 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
13062 ac_cv_type_off_t
=yes
13065 ac_cv_type_off_t
=no
13070 echo "$ac_t""$ac_cv_type_off_t" 1>&6
13071 if test $ac_cv_type_off_t = no
; then
13072 cat >> confdefs.h
<<\EOF
13078 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
13079 echo "configure:13080: checking for pid_t" >&5
13080 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
13081 echo $ac_n "(cached) $ac_c" 1>&6
13083 cat > conftest.
$ac_ext <<EOF
13084 #line 13085 "configure"
13085 #include "confdefs.h"
13086 #include <sys/types.h>
13088 #include <stdlib.h>
13089 #include <stddef.h>
13092 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13093 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
13095 ac_cv_type_pid_t
=yes
13098 ac_cv_type_pid_t
=no
13103 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
13104 if test $ac_cv_type_pid_t = no
; then
13105 cat >> confdefs.h
<<\EOF
13111 echo $ac_n "checking for size_t""... $ac_c" 1>&6
13112 echo "configure:13113: checking for size_t" >&5
13113 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
13114 echo $ac_n "(cached) $ac_c" 1>&6
13116 cat > conftest.
$ac_ext <<EOF
13117 #line 13118 "configure"
13118 #include "confdefs.h"
13119 #include <sys/types.h>
13121 #include <stdlib.h>
13122 #include <stddef.h>
13125 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13126 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
13128 ac_cv_type_size_t
=yes
13131 ac_cv_type_size_t
=no
13136 echo "$ac_t""$ac_cv_type_size_t" 1>&6
13137 if test $ac_cv_type_size_t = no
; then
13138 cat >> confdefs.h
<<\EOF
13139 #define size_t unsigned
13144 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
13145 echo "configure:13146: checking for uid_t in sys/types.h" >&5
13146 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
13147 echo $ac_n "(cached) $ac_c" 1>&6
13149 cat > conftest.
$ac_ext <<EOF
13150 #line 13151 "configure"
13151 #include "confdefs.h"
13152 #include <sys/types.h>
13154 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13155 egrep "uid_t" >/dev
/null
2>&1; then
13157 ac_cv_type_uid_t
=yes
13160 ac_cv_type_uid_t
=no
13166 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
13167 if test $ac_cv_type_uid_t = no
; then
13168 cat >> confdefs.h
<<\EOF
13172 cat >> confdefs.h
<<\EOF
13179 echo $ac_n "checking for wchar_t""... $ac_c" 1>&6
13180 echo "configure:13181: checking for wchar_t" >&5
13181 if eval "test \"`echo '$''{'wx_cv_type_wchar_t'+set}'`\" = set"; then
13182 echo $ac_n "(cached) $ac_c" 1>&6
13185 cat > conftest.
$ac_ext <<EOF
13186 #line 13187 "configure"
13187 #include "confdefs.h"
13189 #ifdef HAVE_WCHAR_H
13191 # include <stddef.h>
13193 # include <wchar.h>
13195 #ifdef HAVE_STDLIB_H
13196 # include <stdlib.h>
13203 ws = L"Hello, world!";
13207 if { (eval echo configure
:13208: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13209 wx_cv_type_wchar_t
=yes
13211 echo "configure: failed program was:" >&5
13212 cat conftest.
$ac_ext >&5
13214 wx_cv_type_wchar_t
=no
13221 echo "$ac_t""$wx_cv_type_wchar_t" 1>&6
13223 if test "$wx_cv_type_wchar_t" = "yes"; then
13224 cat >> confdefs.h
<<\EOF
13225 #define wxUSE_WCHAR_T 1
13232 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13233 ac_cpp
='$CXXCPP $CPPFLAGS'
13234 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13235 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13236 cross_compiling
=$ac_cv_prog_cxx_cross
13238 echo $ac_n "checking if size_t is unsigned int""... $ac_c" 1>&6
13239 echo "configure:13240: checking if size_t is unsigned int" >&5
13240 if eval "test \"`echo '$''{'wx_cv_size_t_is_uint'+set}'`\" = set"; then
13241 echo $ac_n "(cached) $ac_c" 1>&6
13243 cat > conftest.
$ac_ext <<EOF
13244 #line 13245 "configure"
13245 #include "confdefs.h"
13246 #include <stddef.h>
13251 struct Foo { void foo(size_t); void foo(unsigned int); };
13257 if { (eval echo configure
:13258: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13259 wx_cv_size_t_is_uint
=no
13261 echo "configure: failed program was:" >&5
13262 cat conftest.
$ac_ext >&5
13264 wx_cv_size_t_is_uint
=yes
13271 echo "$ac_t""$wx_cv_size_t_is_uint" 1>&6
13273 if test "$wx_cv_size_t_is_uint" = "yes"; then
13274 cat >> confdefs.h
<<\EOF
13275 #define wxSIZE_T_IS_UINT 1
13279 echo $ac_n "checking if size_t is unsigned long""... $ac_c" 1>&6
13280 echo "configure:13281: checking if size_t is unsigned long" >&5
13281 if eval "test \"`echo '$''{'wx_cv_size_t_is_ulong'+set}'`\" = set"; then
13282 echo $ac_n "(cached) $ac_c" 1>&6
13284 cat > conftest.
$ac_ext <<EOF
13285 #line 13286 "configure"
13286 #include "confdefs.h"
13287 #include <stddef.h>
13292 struct Foo { void foo(size_t); void foo(unsigned long); };
13298 if { (eval echo configure
:13299: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13300 wx_cv_size_t_is_ulong
=no
13302 echo "configure: failed program was:" >&5
13303 cat conftest.
$ac_ext >&5
13305 wx_cv_size_t_is_ulong
=yes
13312 echo "$ac_t""$wx_cv_size_t_is_ulong" 1>&6
13314 if test "$wx_cv_size_t_is_ulong" = "yes"; then
13315 cat >> confdefs.h
<<\EOF
13316 #define wxSIZE_T_IS_ULONG 1
13323 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13324 ac_cpp
='$CPP $CPPFLAGS'
13325 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13326 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13327 cross_compiling
=$ac_cv_prog_cc_cross
13331 echo $ac_n "checking for pw_gecos in struct passwd""... $ac_c" 1>&6
13332 echo "configure:13333: checking for pw_gecos in struct passwd" >&5
13333 if eval "test \"`echo '$''{'wx_cv_struct_pw_gecos'+set}'`\" = set"; then
13334 echo $ac_n "(cached) $ac_c" 1>&6
13337 cat > conftest.
$ac_ext <<EOF
13338 #line 13339 "configure"
13339 #include "confdefs.h"
13349 if { (eval echo configure
:13350: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13352 wx_cv_struct_pw_gecos
=yes
13355 echo "configure: failed program was:" >&5
13356 cat conftest.
$ac_ext >&5
13359 wx_cv_struct_pw_gecos
=no
13368 echo "$ac_t""$wx_cv_struct_pw_gecos" 1>&6
13370 if test "$wx_cv_struct_pw_gecos" = "yes"; then
13371 cat >> confdefs.h
<<\EOF
13372 #define HAVE_PW_GECOS 1
13378 echo $ac_n "checking for working const""... $ac_c" 1>&6
13379 echo "configure:13380: checking for working const" >&5
13380 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
13381 echo $ac_n "(cached) $ac_c" 1>&6
13383 cat > conftest.
$ac_ext <<EOF
13384 #line 13385 "configure"
13385 #include "confdefs.h"
13389 /* Ultrix mips cc rejects this. */
13390 typedef int charset[2]; const charset x;
13391 /* SunOS 4.1.1 cc rejects this. */
13392 char const *const *ccp;
13394 /* NEC SVR4.0.2 mips cc rejects this. */
13395 struct point {int x, y;};
13396 static struct point const zero = {0,0};
13397 /* AIX XL C 1.02.0.0 rejects this.
13398 It does not let you subtract one const X* pointer from another in an arm
13399 of an if-expression whose if-part is not a constant expression */
13400 const char *g = "string";
13401 ccp = &g + (g ? g-g : 0);
13402 /* HPUX 7.0 cc rejects these. */
13405 ccp = (char const *const *) p;
13406 { /* SCO 3.2v4 cc rejects this. */
13408 char const *s = 0 ? (char *) 0 : (char const *) 0;
13412 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
13413 int x[] = {25, 17};
13414 const int *foo = &x[0];
13417 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
13418 typedef const int *iptr;
13422 { /* AIX XL C 1.02.0.0 rejects this saying
13423 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
13424 struct s { int j; const int *ap[3]; };
13425 struct s *b; b->j = 5;
13427 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
13428 const int foo = 10;
13433 if { (eval echo configure
:13434: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13437 echo "configure: failed program was:" >&5
13438 cat conftest.
$ac_ext >&5
13445 echo "$ac_t""$ac_cv_c_const" 1>&6
13446 if test $ac_cv_c_const = no
; then
13447 cat >> confdefs.h
<<\EOF
13453 echo $ac_n "checking for inline""... $ac_c" 1>&6
13454 echo "configure:13455: checking for inline" >&5
13455 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
13456 echo $ac_n "(cached) $ac_c" 1>&6
13459 for ac_kw
in inline __inline__ __inline
; do
13460 cat > conftest.
$ac_ext <<EOF
13461 #line 13462 "configure"
13462 #include "confdefs.h"
13468 if { (eval echo configure
:13469: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13470 ac_cv_c_inline
=$ac_kw; break
13472 echo "configure: failed program was:" >&5
13473 cat conftest.
$ac_ext >&5
13480 echo "$ac_t""$ac_cv_c_inline" 1>&6
13481 case "$ac_cv_c_inline" in
13483 no
) cat >> confdefs.h
<<\EOF
13487 *) cat >> confdefs.h
<<EOF
13488 #define inline $ac_cv_c_inline
13494 echo $ac_n "checking size of char""... $ac_c" 1>&6
13495 echo "configure:13496: checking size of char" >&5
13496 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
13497 echo $ac_n "(cached) $ac_c" 1>&6
13499 if test "$cross_compiling" = yes; then
13500 ac_cv_sizeof_char
=1
13502 cat > conftest.
$ac_ext <<EOF
13503 #line 13504 "configure"
13504 #include "confdefs.h"
13508 FILE *f=fopen("conftestval", "w");
13510 fprintf(f, "%d\n", sizeof(char));
13514 if { (eval echo configure
:13515: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
13516 ac_cv_sizeof_char
=`cat conftestval`
13518 echo "configure: failed program was:" >&5
13519 cat conftest.
$ac_ext >&5
13521 ac_cv_sizeof_char
=0
13527 echo "$ac_t""$ac_cv_sizeof_char" 1>&6
13528 cat >> confdefs.h
<<EOF
13529 #define SIZEOF_CHAR $ac_cv_sizeof_char
13533 echo $ac_n "checking size of short""... $ac_c" 1>&6
13534 echo "configure:13535: checking size of short" >&5
13535 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
13536 echo $ac_n "(cached) $ac_c" 1>&6
13538 if test "$cross_compiling" = yes; then
13539 ac_cv_sizeof_short
=2
13541 cat > conftest.
$ac_ext <<EOF
13542 #line 13543 "configure"
13543 #include "confdefs.h"
13547 FILE *f=fopen("conftestval", "w");
13549 fprintf(f, "%d\n", sizeof(short));
13553 if { (eval echo configure
:13554: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
13555 ac_cv_sizeof_short
=`cat conftestval`
13557 echo "configure: failed program was:" >&5
13558 cat conftest.
$ac_ext >&5
13560 ac_cv_sizeof_short
=0
13566 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
13567 cat >> confdefs.h
<<EOF
13568 #define SIZEOF_SHORT $ac_cv_sizeof_short
13572 echo $ac_n "checking size of int *""... $ac_c" 1>&6
13573 echo "configure:13574: checking size of int *" >&5
13574 if eval "test \"`echo '$''{'ac_cv_sizeof_int_p'+set}'`\" = set"; then
13575 echo $ac_n "(cached) $ac_c" 1>&6
13577 if test "$cross_compiling" = yes; then
13578 ac_cv_sizeof_int_p
=4
13580 cat > conftest.
$ac_ext <<EOF
13581 #line 13582 "configure"
13582 #include "confdefs.h"
13586 FILE *f=fopen("conftestval", "w");
13588 fprintf(f, "%d\n", sizeof(int *));
13592 if { (eval echo configure
:13593: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
13594 ac_cv_sizeof_int_p
=`cat conftestval`
13596 echo "configure: failed program was:" >&5
13597 cat conftest.
$ac_ext >&5
13599 ac_cv_sizeof_int_p
=0
13605 echo "$ac_t""$ac_cv_sizeof_int_p" 1>&6
13606 cat >> confdefs.h
<<EOF
13607 #define SIZEOF_INT_P $ac_cv_sizeof_int_p
13611 echo $ac_n "checking size of int""... $ac_c" 1>&6
13612 echo "configure:13613: checking size of int" >&5
13613 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
13614 echo $ac_n "(cached) $ac_c" 1>&6
13616 if test "$cross_compiling" = yes; then
13619 cat > conftest.
$ac_ext <<EOF
13620 #line 13621 "configure"
13621 #include "confdefs.h"
13625 FILE *f=fopen("conftestval", "w");
13627 fprintf(f, "%d\n", sizeof(int));
13631 if { (eval echo configure
:13632: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
13633 ac_cv_sizeof_int
=`cat conftestval`
13635 echo "configure: failed program was:" >&5
13636 cat conftest.
$ac_ext >&5
13644 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
13645 cat >> confdefs.h
<<EOF
13646 #define SIZEOF_INT $ac_cv_sizeof_int
13650 echo $ac_n "checking size of long""... $ac_c" 1>&6
13651 echo "configure:13652: checking size of long" >&5
13652 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
13653 echo $ac_n "(cached) $ac_c" 1>&6
13655 if test "$cross_compiling" = yes; then
13656 ac_cv_sizeof_long
=4
13658 cat > conftest.
$ac_ext <<EOF
13659 #line 13660 "configure"
13660 #include "confdefs.h"
13664 FILE *f=fopen("conftestval", "w");
13666 fprintf(f, "%d\n", sizeof(long));
13670 if { (eval echo configure
:13671: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
13672 ac_cv_sizeof_long
=`cat conftestval`
13674 echo "configure: failed program was:" >&5
13675 cat conftest.
$ac_ext >&5
13677 ac_cv_sizeof_long
=0
13683 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
13684 cat >> confdefs.h
<<EOF
13685 #define SIZEOF_LONG $ac_cv_sizeof_long
13689 echo $ac_n "checking size of long long""... $ac_c" 1>&6
13690 echo "configure:13691: checking size of long long" >&5
13691 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
13692 echo $ac_n "(cached) $ac_c" 1>&6
13694 if test "$cross_compiling" = yes; then
13695 ac_cv_sizeof_long_long
=0
13697 cat > conftest.
$ac_ext <<EOF
13698 #line 13699 "configure"
13699 #include "confdefs.h"
13703 FILE *f=fopen("conftestval", "w");
13705 fprintf(f, "%d\n", sizeof(long long));
13709 if { (eval echo configure
:13710: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
13711 ac_cv_sizeof_long_long
=`cat conftestval`
13713 echo "configure: failed program was:" >&5
13714 cat conftest.
$ac_ext >&5
13716 ac_cv_sizeof_long_long
=0
13722 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
13723 cat >> confdefs.h
<<EOF
13724 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
13729 echo $ac_n "checking size of wchar_t""... $ac_c" 1>&6
13730 echo "configure:13731: checking size of wchar_t" >&5
13731 if eval "test \"`echo '$''{'wx_cv_sizeof_wchar_t'+set}'`\" = set"; then
13732 echo $ac_n "(cached) $ac_c" 1>&6
13735 if test "$cross_compiling" = yes; then
13736 wx_cv_sizeof_wchar_t
=4
13739 cat > conftest.
$ac_ext <<EOF
13740 #line 13741 "configure"
13741 #include "confdefs.h"
13743 #ifdef HAVE_WCHAR_H
13745 # include <stddef.h>
13747 # include <wchar.h>
13749 #ifdef HAVE_STDLIB_H
13750 # include <stdlib.h>
13755 FILE *f=fopen("conftestval", "w");
13757 fprintf(f, "%i", sizeof(wchar_t));
13762 if { (eval echo configure
:13763: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
13764 wx_cv_sizeof_wchar_t
=`cat conftestval`
13766 echo "configure: failed program was:" >&5
13767 cat conftest.
$ac_ext >&5
13769 wx_cv_sizeof_wchar_t
=0
13777 echo "$ac_t""$wx_cv_sizeof_wchar_t" 1>&6
13779 cat >> confdefs.h
<<EOF
13780 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
13784 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
13785 echo "configure:13786: checking whether byte ordering is bigendian" >&5
13786 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
13787 echo $ac_n "(cached) $ac_c" 1>&6
13789 ac_cv_c_bigendian
=unknown
13790 # See if sys/param.h defines the BYTE_ORDER macro.
13791 cat > conftest.
$ac_ext <<EOF
13792 #line 13793 "configure"
13793 #include "confdefs.h"
13794 #include <sys/types.h>
13795 #include <sys/param.h>
13798 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
13799 bogus endian macros
13803 if { (eval echo configure
:13804: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13805 # It does; now see whether it defined to BIG_ENDIAN or not.
13806 cat > conftest.
$ac_ext <<EOF
13807 #line 13808 "configure"
13808 #include "confdefs.h"
13809 #include <sys/types.h>
13810 #include <sys/param.h>
13813 #if BYTE_ORDER != BIG_ENDIAN
13818 if { (eval echo configure
:13819: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13820 ac_cv_c_bigendian
=yes
13822 echo "configure: failed program was:" >&5
13823 cat conftest.
$ac_ext >&5
13825 ac_cv_c_bigendian
=no
13829 echo "configure: failed program was:" >&5
13830 cat conftest.
$ac_ext >&5
13833 if test $ac_cv_c_bigendian = unknown
; then
13834 if test "$cross_compiling" = yes; then
13835 ac_cv_c_bigendian
=unknown
13837 cat > conftest.
$ac_ext <<EOF
13838 #line 13839 "configure"
13839 #include "confdefs.h"
13841 /* Are we little or big endian? From Harbison&Steele. */
13845 char c[sizeof (long)];
13848 exit (u.c[sizeof (long) - 1] == 1);
13851 if { (eval echo configure
:13852: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
13853 ac_cv_c_bigendian
=no
13855 echo "configure: failed program was:" >&5
13856 cat conftest.
$ac_ext >&5
13858 ac_cv_c_bigendian
=yes
13866 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
13867 if test $ac_cv_c_bigendian = unknown
; then
13868 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
13870 if test $ac_cv_c_bigendian = yes; then
13871 cat >> confdefs.h
<<\EOF
13872 #define WORDS_BIGENDIAN 1
13878 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
13879 echo "configure:13880: checking how to run the C++ preprocessor" >&5
13880 if test -z "$CXXCPP"; then
13881 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
13882 echo $ac_n "(cached) $ac_c" 1>&6
13885 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13886 ac_cpp
='$CXXCPP $CPPFLAGS'
13887 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13888 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13889 cross_compiling
=$ac_cv_prog_cxx_cross
13890 CXXCPP
="${CXX-g++} -E"
13891 cat > conftest.
$ac_ext <<EOF
13892 #line 13893 "configure"
13893 #include "confdefs.h"
13894 #include <stdlib.h>
13896 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13897 { (eval echo configure
:13898: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13898 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13899 if test -z "$ac_err"; then
13903 echo "configure: failed program was:" >&5
13904 cat conftest.
$ac_ext >&5
13909 ac_cv_prog_CXXCPP
="$CXXCPP"
13911 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13912 ac_cpp
='$CXXCPP $CPPFLAGS'
13913 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13914 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13915 cross_compiling
=$ac_cv_prog_cxx_cross
13918 CXXCPP
="$ac_cv_prog_CXXCPP"
13919 echo "$ac_t""$CXXCPP" 1>&6
13922 if test "$cross_compiling" = "yes"; then
13923 cat >> confdefs.h
<<\EOF
13924 #define wxUSE_IOSTREAMH 1
13930 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13931 ac_cpp
='$CXXCPP $CPPFLAGS'
13932 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13933 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13934 cross_compiling
=$ac_cv_prog_cxx_cross
13937 for ac_hdr
in iostream
13939 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13940 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13941 echo "configure:13942: checking for $ac_hdr" >&5
13942 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13943 echo $ac_n "(cached) $ac_c" 1>&6
13945 cat > conftest.
$ac_ext <<EOF
13946 #line 13947 "configure"
13947 #include "confdefs.h"
13950 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13951 { (eval echo configure
:13952: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13952 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13953 if test -z "$ac_err"; then
13955 eval "ac_cv_header_$ac_safe=yes"
13958 echo "configure: failed program was:" >&5
13959 cat conftest.
$ac_ext >&5
13961 eval "ac_cv_header_$ac_safe=no"
13965 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13966 echo "$ac_t""yes" 1>&6
13967 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13968 cat >> confdefs.h
<<EOF
13969 #define $ac_tr_hdr 1
13973 echo "$ac_t""no" 1>&6
13978 if test "$ac_cv_header_iostream" = "yes" ; then
13981 cat >> confdefs.h
<<\EOF
13982 #define wxUSE_IOSTREAMH 1
13988 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13989 ac_cpp
='$CPP $CPPFLAGS'
13990 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13991 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13992 cross_compiling
=$ac_cv_prog_cc_cross
13998 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
13999 echo "configure:14000: checking if C++ compiler supports bool" >&5
14000 if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
14001 echo $ac_n "(cached) $ac_c" 1>&6
14006 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14007 ac_cpp
='$CXXCPP $CPPFLAGS'
14008 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14009 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14010 cross_compiling
=$ac_cv_prog_cxx_cross
14013 cat > conftest.
$ac_ext <<EOF
14014 #line 14015 "configure"
14015 #include "confdefs.h"
14026 if { (eval echo configure
:14027: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14032 echo "configure: failed program was:" >&5
14033 cat conftest.
$ac_ext >&5
14043 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14044 ac_cpp
='$CPP $CPPFLAGS'
14045 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14046 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14047 cross_compiling
=$ac_cv_prog_cc_cross
14052 echo "$ac_t""$wx_cv_cpp_bool" 1>&6
14054 if test "$wx_cv_cpp_bool" = "yes"; then
14055 cat >> confdefs.h
<<\EOF
14056 #define HAVE_BOOL 1
14063 echo $ac_n "checking for wcslen in -lc""... $ac_c" 1>&6
14064 echo "configure:14065: checking for wcslen in -lc" >&5
14065 ac_lib_var
=`echo c'_'wcslen | sed 'y%./+-%__p_%'`
14066 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14067 echo $ac_n "(cached) $ac_c" 1>&6
14069 ac_save_LIBS
="$LIBS"
14071 cat > conftest.
$ac_ext <<EOF
14072 #line 14073 "configure"
14073 #include "confdefs.h"
14074 /* Override any gcc2 internal prototype to avoid an error. */
14075 /* We use char because int might match the return type of a gcc2
14076 builtin and then its argument prototype would still apply. */
14083 if { (eval echo configure
:14084: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14085 eval "ac_cv_lib_$ac_lib_var=yes"
14087 echo "configure: failed program was:" >&5
14088 cat conftest.
$ac_ext >&5
14090 eval "ac_cv_lib_$ac_lib_var=no"
14093 LIBS
="$ac_save_LIBS"
14096 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14097 echo "$ac_t""yes" 1>&6
14099 cat >> confdefs.h
<<\EOF
14100 #define HAVE_WCSLEN 1
14106 echo "$ac_t""no" 1>&6
14108 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
14109 echo "configure:14110: checking for wcslen in -lw" >&5
14110 ac_lib_var
=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
14111 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14112 echo $ac_n "(cached) $ac_c" 1>&6
14114 ac_save_LIBS
="$LIBS"
14116 cat > conftest.
$ac_ext <<EOF
14117 #line 14118 "configure"
14118 #include "confdefs.h"
14119 /* Override any gcc2 internal prototype to avoid an error. */
14120 /* We use char because int might match the return type of a gcc2
14121 builtin and then its argument prototype would still apply. */
14128 if { (eval echo configure
:14129: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14130 eval "ac_cv_lib_$ac_lib_var=yes"
14132 echo "configure: failed program was:" >&5
14133 cat conftest.
$ac_ext >&5
14135 eval "ac_cv_lib_$ac_lib_var=no"
14138 LIBS
="$ac_save_LIBS"
14141 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14142 echo "$ac_t""yes" 1>&6
14144 cat >> confdefs.h
<<\EOF
14145 #define HAVE_WCSLEN 1
14151 echo "$ac_t""no" 1>&6
14153 echo $ac_n "checking for wcslen in -lmsvcrt""... $ac_c" 1>&6
14154 echo "configure:14155: checking for wcslen in -lmsvcrt" >&5
14155 ac_lib_var
=`echo msvcrt'_'wcslen | sed 'y%./+-%__p_%'`
14156 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14157 echo $ac_n "(cached) $ac_c" 1>&6
14159 ac_save_LIBS
="$LIBS"
14160 LIBS
="-lmsvcrt $LIBS"
14161 cat > conftest.
$ac_ext <<EOF
14162 #line 14163 "configure"
14163 #include "confdefs.h"
14164 /* Override any gcc2 internal prototype to avoid an error. */
14165 /* We use char because int might match the return type of a gcc2
14166 builtin and then its argument prototype would still apply. */
14173 if { (eval echo configure
:14174: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14175 eval "ac_cv_lib_$ac_lib_var=yes"
14177 echo "configure: failed program was:" >&5
14178 cat conftest.
$ac_ext >&5
14180 eval "ac_cv_lib_$ac_lib_var=no"
14183 LIBS
="$ac_save_LIBS"
14186 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14187 echo "$ac_t""yes" 1>&6
14189 cat >> confdefs.h
<<\EOF
14190 #define HAVE_WCSLEN 1
14196 echo "$ac_t""no" 1>&6
14206 for ac_func
in wcsrtombs
14208 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14209 echo "configure:14210: checking for $ac_func" >&5
14210 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14211 echo $ac_n "(cached) $ac_c" 1>&6
14213 cat > conftest.
$ac_ext <<EOF
14214 #line 14215 "configure"
14215 #include "confdefs.h"
14216 /* System header to define __stub macros and hopefully few prototypes,
14217 which can conflict with char $ac_func(); below. */
14218 #include <assert.h>
14219 /* Override any gcc2 internal prototype to avoid an error. */
14220 /* We use char because int might match the return type of a gcc2
14221 builtin and then its argument prototype would still apply. */
14226 /* The GNU C library defines this for functions which it implements
14227 to always fail with ENOSYS. Some functions are actually named
14228 something starting with __ and the normal name is an alias. */
14229 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14237 if { (eval echo configure
:14238: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14239 eval "ac_cv_func_$ac_func=yes"
14241 echo "configure: failed program was:" >&5
14242 cat conftest.
$ac_ext >&5
14244 eval "ac_cv_func_$ac_func=no"
14249 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14250 echo "$ac_t""yes" 1>&6
14251 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14252 cat >> confdefs.h
<<EOF
14253 #define $ac_tr_func 1
14257 echo "$ac_t""no" 1>&6
14262 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
14263 echo "configure:14264: checking for vprintf" >&5
14264 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
14265 echo $ac_n "(cached) $ac_c" 1>&6
14267 cat > conftest.
$ac_ext <<EOF
14268 #line 14269 "configure"
14269 #include "confdefs.h"
14270 /* System header to define __stub macros and hopefully few prototypes,
14271 which can conflict with char vprintf(); below. */
14272 #include <assert.h>
14273 /* Override any gcc2 internal prototype to avoid an error. */
14274 /* We use char because int might match the return type of a gcc2
14275 builtin and then its argument prototype would still apply. */
14280 /* The GNU C library defines this for functions which it implements
14281 to always fail with ENOSYS. Some functions are actually named
14282 something starting with __ and the normal name is an alias. */
14283 #if defined (__stub_vprintf) || defined (__stub___vprintf)
14291 if { (eval echo configure
:14292: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14293 eval "ac_cv_func_vprintf=yes"
14295 echo "configure: failed program was:" >&5
14296 cat conftest.
$ac_ext >&5
14298 eval "ac_cv_func_vprintf=no"
14303 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
14304 echo "$ac_t""yes" 1>&6
14305 cat >> confdefs.h
<<\EOF
14306 #define HAVE_VPRINTF 1
14310 echo "$ac_t""no" 1>&6
14313 if test "$ac_cv_func_vprintf" != yes; then
14314 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
14315 echo "configure:14316: checking for _doprnt" >&5
14316 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
14317 echo $ac_n "(cached) $ac_c" 1>&6
14319 cat > conftest.
$ac_ext <<EOF
14320 #line 14321 "configure"
14321 #include "confdefs.h"
14322 /* System header to define __stub macros and hopefully few prototypes,
14323 which can conflict with char _doprnt(); below. */
14324 #include <assert.h>
14325 /* Override any gcc2 internal prototype to avoid an error. */
14326 /* We use char because int might match the return type of a gcc2
14327 builtin and then its argument prototype would still apply. */
14332 /* The GNU C library defines this for functions which it implements
14333 to always fail with ENOSYS. Some functions are actually named
14334 something starting with __ and the normal name is an alias. */
14335 #if defined (__stub__doprnt) || defined (__stub____doprnt)
14343 if { (eval echo configure
:14344: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14345 eval "ac_cv_func__doprnt=yes"
14347 echo "configure: failed program was:" >&5
14348 cat conftest.
$ac_ext >&5
14350 eval "ac_cv_func__doprnt=no"
14355 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
14356 echo "$ac_t""yes" 1>&6
14357 cat >> confdefs.h
<<\EOF
14358 #define HAVE_DOPRNT 1
14362 echo "$ac_t""no" 1>&6
14372 echo $ac_n "checking for vsnprintf""... $ac_c" 1>&6
14373 echo "configure:14374: checking for vsnprintf" >&5
14374 if eval "test \"`echo '$''{'wx_cv_func_vsnprintf'+set}'`\" = set"; then
14375 echo $ac_n "(cached) $ac_c" 1>&6
14378 cat > conftest.
$ac_ext <<EOF
14379 #line 14380 "configure"
14380 #include "confdefs.h"
14383 #include <stdarg.h>
14387 int wx_test_vsnprintf(const char *, ...);
14389 wx_test_vsnprintf("%s");
14393 int wx_test_vsnprintf(const char *fmt, ...)
14398 va_start(argp, fmt);
14399 vsnprintf(s, 42, fmt, argp);
14404 if { (eval echo configure
:14405: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14407 wx_cv_func_vsnprintf
=yes
14410 echo "configure: failed program was:" >&5
14411 cat conftest.
$ac_ext >&5
14414 cat > conftest.
$ac_ext <<EOF
14415 #line 14416 "configure"
14416 #include "confdefs.h"
14419 #include <stdarg.h>
14423 int wx_test_vsnprintf(const char *, ...);
14425 wx_test_vsnprintf("%s");
14429 int wx_test_vsnprintf(const char *fmt, ...)
14434 va_start(argp, fmt);
14435 _vsnprintf(s, 42, fmt, argp);
14440 if { (eval echo configure
:14441: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14443 wx_cv_func_vsnprintf
=yes
14446 echo "configure: failed program was:" >&5
14447 cat conftest.
$ac_ext >&5
14450 wx_cv_func_vsnprintf
=no
14460 echo "$ac_t""$wx_cv_func_vsnprintf" 1>&6
14462 if test "$wx_cv_func_vsnprintf" = yes; then
14463 cat >> confdefs.h
<<\EOF
14464 #define HAVE_VSNPRINTF 1
14468 echo "configure: warning: unsafe function sprintf will be used instead of snprintf" 1>&2
14471 echo $ac_n "checking for vsscanf""... $ac_c" 1>&6
14472 echo "configure:14473: checking for vsscanf" >&5
14473 if eval "test \"`echo '$''{'wx_cv_func_vsscanf'+set}'`\" = set"; then
14474 echo $ac_n "(cached) $ac_c" 1>&6
14477 cat > conftest.
$ac_ext <<EOF
14478 #line 14479 "configure"
14479 #include "confdefs.h"
14482 #include <stdarg.h>
14486 int wx_test_vsscanf(const char *, ...);
14488 wx_test_vsscanf("%d");
14492 int wx_test_vsscanf(const char *fmt, ...)
14495 va_start(argp, fmt);
14496 vsscanf("42", fmt, argp);
14501 if { (eval echo configure
:14502: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14504 wx_cv_func_vsscanf
=yes
14507 echo "configure: failed program was:" >&5
14508 cat conftest.
$ac_ext >&5
14511 wx_cv_func_vsscanf
=no
14518 echo "$ac_t""$wx_cv_func_vsscanf" 1>&6
14520 if test "$wx_cv_func_vsscanf" = yes; then
14521 cat >> confdefs.h
<<\EOF
14522 #define HAVE_VSSCANF 1
14527 if test "$TOOLKIT" != "MSW"; then
14532 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14533 ac_cpp
='$CXXCPP $CPPFLAGS'
14534 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14535 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14536 cross_compiling
=$ac_cv_prog_cxx_cross
14538 echo $ac_n "checking if iconv() takes char**""... $ac_c" 1>&6
14539 echo "configure:14540: checking if iconv() takes char**" >&5
14540 if eval "test \"`echo '$''{'wx_cv_iconv_takes_char'+set}'`\" = set"; then
14541 echo $ac_n "(cached) $ac_c" 1>&6
14544 cat > conftest.
$ac_ext <<EOF
14545 #line 14546 "configure"
14546 #include "confdefs.h"
14550 char **inbuf, **outbuf;
14552 size_t insz, outsz;
14553 iconv(cd, inbuf, &insz, outbuf, &outsz);
14557 if { (eval echo configure
:14558: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14559 wx_cv_iconv_takes_char
=yes
14561 echo "configure: failed program was:" >&5
14562 cat conftest.
$ac_ext >&5
14564 wx_cv_iconv_takes_char
=no
14570 echo "$ac_t""$wx_cv_iconv_takes_char" 1>&6
14572 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14573 ac_cpp
='$CPP $CPPFLAGS'
14574 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14575 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14576 cross_compiling
=$ac_cv_prog_cc_cross
14578 if test "$wx_cv_iconv_takes_char" = yes ; then
14579 cat >> confdefs.h
<<\EOF
14580 #define WX_ICONV_TAKES_CHAR 1
14586 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
14587 for ac_func
in sigaction
14589 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14590 echo "configure:14591: checking for $ac_func" >&5
14591 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14592 echo $ac_n "(cached) $ac_c" 1>&6
14594 cat > conftest.
$ac_ext <<EOF
14595 #line 14596 "configure"
14596 #include "confdefs.h"
14597 /* System header to define __stub macros and hopefully few prototypes,
14598 which can conflict with char $ac_func(); below. */
14599 #include <assert.h>
14600 /* Override any gcc2 internal prototype to avoid an error. */
14601 /* We use char because int might match the return type of a gcc2
14602 builtin and then its argument prototype would still apply. */
14607 /* The GNU C library defines this for functions which it implements
14608 to always fail with ENOSYS. Some functions are actually named
14609 something starting with __ and the normal name is an alias. */
14610 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14618 if { (eval echo configure
:14619: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14620 eval "ac_cv_func_$ac_func=yes"
14622 echo "configure: failed program was:" >&5
14623 cat conftest.
$ac_ext >&5
14625 eval "ac_cv_func_$ac_func=no"
14630 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14631 echo "$ac_t""yes" 1>&6
14632 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14633 cat >> confdefs.h
<<EOF
14634 #define $ac_tr_func 1
14638 echo "$ac_t""no" 1>&6
14643 if test "$ac_cv_func_sigaction" = "no"; then
14644 echo "configure: warning: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" 1>&2
14645 wxUSE_ON_FATAL_EXCEPTION
=no
14648 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
14651 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14652 ac_cpp
='$CXXCPP $CPPFLAGS'
14653 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14654 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14655 cross_compiling
=$ac_cv_prog_cxx_cross
14658 echo $ac_n "checking for sa_handler type""... $ac_c" 1>&6
14659 echo "configure:14660: checking for sa_handler type" >&5
14660 if eval "test \"`echo '$''{'wx_cv_type_sa_handler'+set}'`\" = set"; then
14661 echo $ac_n "(cached) $ac_c" 1>&6
14664 cat > conftest.
$ac_ext <<EOF
14665 #line 14666 "configure"
14666 #include "confdefs.h"
14667 #include <signal.h>
14670 extern void testSigHandler(int);
14672 struct sigaction sa;
14673 sa.sa_handler = testSigHandler;
14677 if { (eval echo configure
:14678: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14680 wx_cv_type_sa_handler
=int
14683 echo "configure: failed program was:" >&5
14684 cat conftest.
$ac_ext >&5
14687 wx_cv_type_sa_handler
=void
14694 echo "$ac_t""$wx_cv_type_sa_handler" 1>&6
14697 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14698 ac_cpp
='$CPP $CPPFLAGS'
14699 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14700 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14701 cross_compiling
=$ac_cv_prog_cc_cross
14704 cat >> confdefs.h
<<EOF
14705 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
14711 for ac_func
in vfork
14713 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14714 echo "configure:14715: checking for $ac_func" >&5
14715 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14716 echo $ac_n "(cached) $ac_c" 1>&6
14718 cat > conftest.
$ac_ext <<EOF
14719 #line 14720 "configure"
14720 #include "confdefs.h"
14721 /* System header to define __stub macros and hopefully few prototypes,
14722 which can conflict with char $ac_func(); below. */
14723 #include <assert.h>
14724 /* Override any gcc2 internal prototype to avoid an error. */
14725 /* We use char because int might match the return type of a gcc2
14726 builtin and then its argument prototype would still apply. */
14731 /* The GNU C library defines this for functions which it implements
14732 to always fail with ENOSYS. Some functions are actually named
14733 something starting with __ and the normal name is an alias. */
14734 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14742 if { (eval echo configure
:14743: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14744 eval "ac_cv_func_$ac_func=yes"
14746 echo "configure: failed program was:" >&5
14747 cat conftest.
$ac_ext >&5
14749 eval "ac_cv_func_$ac_func=no"
14754 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14755 echo "$ac_t""yes" 1>&6
14756 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14757 cat >> confdefs.h
<<EOF
14758 #define $ac_tr_func 1
14762 echo "$ac_t""no" 1>&6
14767 for ac_func
in mkstemp mktemp
14769 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14770 echo "configure:14771: checking for $ac_func" >&5
14771 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14772 echo $ac_n "(cached) $ac_c" 1>&6
14774 cat > conftest.
$ac_ext <<EOF
14775 #line 14776 "configure"
14776 #include "confdefs.h"
14777 /* System header to define __stub macros and hopefully few prototypes,
14778 which can conflict with char $ac_func(); below. */
14779 #include <assert.h>
14780 /* Override any gcc2 internal prototype to avoid an error. */
14781 /* We use char because int might match the return type of a gcc2
14782 builtin and then its argument prototype would still apply. */
14787 /* The GNU C library defines this for functions which it implements
14788 to always fail with ENOSYS. Some functions are actually named
14789 something starting with __ and the normal name is an alias. */
14790 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14798 if { (eval echo configure
:14799: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14800 eval "ac_cv_func_$ac_func=yes"
14802 echo "configure: failed program was:" >&5
14803 cat conftest.
$ac_ext >&5
14805 eval "ac_cv_func_$ac_func=no"
14810 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14811 echo "$ac_t""yes" 1>&6
14812 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14813 cat >> confdefs.h
<<EOF
14814 #define $ac_tr_func 1
14818 echo "$ac_t""no" 1>&6
14823 echo $ac_n "checking for statfs""... $ac_c" 1>&6
14824 echo "configure:14825: checking for statfs" >&5
14825 if eval "test \"`echo '$''{'wx_cv_func_statfs'+set}'`\" = set"; then
14826 echo $ac_n "(cached) $ac_c" 1>&6
14828 cat > conftest.
$ac_ext <<EOF
14829 #line 14830 "configure"
14830 #include "confdefs.h"
14832 #if defined(__BSD__)
14833 #include <sys/param.h>
14834 #include <sys/mount.h>
14836 #include <sys/vfs.h>
14850 if { (eval echo configure
:14851: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14853 wx_cv_func_statfs
=yes
14856 echo "configure: failed program was:" >&5
14857 cat conftest.
$ac_ext >&5
14860 wx_cv_func_statfs
=no
14868 echo "$ac_t""$wx_cv_func_statfs" 1>&6
14870 if test "$wx_cv_func_statfs" = "yes"; then
14871 cat >> confdefs.h
<<\EOF
14872 #define HAVE_STATFS 1
14876 echo $ac_n "checking for statvfs""... $ac_c" 1>&6
14877 echo "configure:14878: checking for statvfs" >&5
14878 if eval "test \"`echo '$''{'wx_cv_func_statvfs'+set}'`\" = set"; then
14879 echo $ac_n "(cached) $ac_c" 1>&6
14881 cat > conftest.
$ac_ext <<EOF
14882 #line 14883 "configure"
14883 #include "confdefs.h"
14885 #include <sys/statvfs.h>
14898 if { (eval echo configure
:14899: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14901 wx_cv_func_statvfs
=yes
14904 echo "configure: failed program was:" >&5
14905 cat conftest.
$ac_ext >&5
14908 wx_cv_func_statvfs
=no
14916 echo "$ac_t""$wx_cv_func_statvfs" 1>&6
14918 if test "$wx_cv_func_statvfs" = "yes"; then
14919 cat >> confdefs.h
<<\EOF
14920 #define HAVE_STATVFS 1
14924 echo "configure: warning: wxGetDiskSpace() function won't work without statfs()" 1>&2
14928 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
14929 for ac_func
in fcntl flock
14931 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14932 echo "configure:14933: checking for $ac_func" >&5
14933 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14934 echo $ac_n "(cached) $ac_c" 1>&6
14936 cat > conftest.
$ac_ext <<EOF
14937 #line 14938 "configure"
14938 #include "confdefs.h"
14939 /* System header to define __stub macros and hopefully few prototypes,
14940 which can conflict with char $ac_func(); below. */
14941 #include <assert.h>
14942 /* Override any gcc2 internal prototype to avoid an error. */
14943 /* We use char because int might match the return type of a gcc2
14944 builtin and then its argument prototype would still apply. */
14949 /* The GNU C library defines this for functions which it implements
14950 to always fail with ENOSYS. Some functions are actually named
14951 something starting with __ and the normal name is an alias. */
14952 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14960 if { (eval echo configure
:14961: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14962 eval "ac_cv_func_$ac_func=yes"
14964 echo "configure: failed program was:" >&5
14965 cat conftest.
$ac_ext >&5
14967 eval "ac_cv_func_$ac_func=no"
14972 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14973 echo "$ac_t""yes" 1>&6
14974 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14975 cat >> confdefs.h
<<EOF
14976 #define $ac_tr_func 1
14980 echo "$ac_t""no" 1>&6
14985 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
14986 echo "configure: warning: wxSingleInstanceChecker not available" 1>&2
14987 wxUSE_SNGLINST_CHECKER
=no
14991 for ac_func
in timegm
14993 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14994 echo "configure:14995: checking for $ac_func" >&5
14995 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14996 echo $ac_n "(cached) $ac_c" 1>&6
14998 cat > conftest.
$ac_ext <<EOF
14999 #line 15000 "configure"
15000 #include "confdefs.h"
15001 /* System header to define __stub macros and hopefully few prototypes,
15002 which can conflict with char $ac_func(); below. */
15003 #include <assert.h>
15004 /* Override any gcc2 internal prototype to avoid an error. */
15005 /* We use char because int might match the return type of a gcc2
15006 builtin and then its argument prototype would still apply. */
15011 /* The GNU C library defines this for functions which it implements
15012 to always fail with ENOSYS. Some functions are actually named
15013 something starting with __ and the normal name is an alias. */
15014 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15022 if { (eval echo configure
:15023: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15024 eval "ac_cv_func_$ac_func=yes"
15026 echo "configure: failed program was:" >&5
15027 cat conftest.
$ac_ext >&5
15029 eval "ac_cv_func_$ac_func=no"
15034 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15035 echo "$ac_t""yes" 1>&6
15036 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15037 cat >> confdefs.h
<<EOF
15038 #define $ac_tr_func 1
15042 echo "$ac_t""no" 1>&6
15047 for ac_func
in putenv setenv
15049 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15050 echo "configure:15051: checking for $ac_func" >&5
15051 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15052 echo $ac_n "(cached) $ac_c" 1>&6
15054 cat > conftest.
$ac_ext <<EOF
15055 #line 15056 "configure"
15056 #include "confdefs.h"
15057 /* System header to define __stub macros and hopefully few prototypes,
15058 which can conflict with char $ac_func(); below. */
15059 #include <assert.h>
15060 /* Override any gcc2 internal prototype to avoid an error. */
15061 /* We use char because int might match the return type of a gcc2
15062 builtin and then its argument prototype would still apply. */
15067 /* The GNU C library defines this for functions which it implements
15068 to always fail with ENOSYS. Some functions are actually named
15069 something starting with __ and the normal name is an alias. */
15070 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15078 if { (eval echo configure
:15079: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15080 eval "ac_cv_func_$ac_func=yes"
15082 echo "configure: failed program was:" >&5
15083 cat conftest.
$ac_ext >&5
15085 eval "ac_cv_func_$ac_func=no"
15090 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15091 echo "$ac_t""yes" 1>&6
15092 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15093 cat >> confdefs.h
<<EOF
15094 #define $ac_tr_func 1
15098 echo "$ac_t""no" 1>&6
15103 HAVE_SOME_SLEEP_FUNC
=0
15104 if test "$USE_BEOS" = 1; then
15105 cat >> confdefs.h
<<\EOF
15106 #define HAVE_SLEEP 1
15109 HAVE_SOME_SLEEP_FUNC
=1
15112 if test "$USE_DARWIN" = 1; then
15113 cat >> confdefs.h
<<\EOF
15114 #define HAVE_USLEEP 1
15117 HAVE_SOME_SLEEP_FUNC
=1
15120 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
15122 for ac_func
in nanosleep
15124 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15125 echo "configure:15126: checking for $ac_func" >&5
15126 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15127 echo $ac_n "(cached) $ac_c" 1>&6
15129 cat > conftest.
$ac_ext <<EOF
15130 #line 15131 "configure"
15131 #include "confdefs.h"
15132 /* System header to define __stub macros and hopefully few prototypes,
15133 which can conflict with char $ac_func(); below. */
15134 #include <assert.h>
15135 /* Override any gcc2 internal prototype to avoid an error. */
15136 /* We use char because int might match the return type of a gcc2
15137 builtin and then its argument prototype would still apply. */
15142 /* The GNU C library defines this for functions which it implements
15143 to always fail with ENOSYS. Some functions are actually named
15144 something starting with __ and the normal name is an alias. */
15145 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15153 if { (eval echo configure
:15154: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15155 eval "ac_cv_func_$ac_func=yes"
15157 echo "configure: failed program was:" >&5
15158 cat conftest.
$ac_ext >&5
15160 eval "ac_cv_func_$ac_func=no"
15165 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15166 echo "$ac_t""yes" 1>&6
15167 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15168 cat >> confdefs.h
<<EOF
15169 #define $ac_tr_func 1
15171 cat >> confdefs.h
<<\EOF
15172 #define HAVE_NANOSLEEP 1
15176 echo "$ac_t""no" 1>&6
15177 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
15178 echo "configure:15179: checking for nanosleep in -lposix4" >&5
15179 ac_lib_var
=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
15180 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15181 echo $ac_n "(cached) $ac_c" 1>&6
15183 ac_save_LIBS
="$LIBS"
15184 LIBS
="-lposix4 $LIBS"
15185 cat > conftest.
$ac_ext <<EOF
15186 #line 15187 "configure"
15187 #include "confdefs.h"
15188 /* Override any gcc2 internal prototype to avoid an error. */
15189 /* We use char because int might match the return type of a gcc2
15190 builtin and then its argument prototype would still apply. */
15197 if { (eval echo configure
:15198: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15199 eval "ac_cv_lib_$ac_lib_var=yes"
15201 echo "configure: failed program was:" >&5
15202 cat conftest.
$ac_ext >&5
15204 eval "ac_cv_lib_$ac_lib_var=no"
15207 LIBS
="$ac_save_LIBS"
15210 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15211 echo "$ac_t""yes" 1>&6
15213 cat >> confdefs.h
<<\EOF
15214 #define HAVE_NANOSLEEP 1
15217 POSIX4_LINK
=" -lposix4"
15220 echo "$ac_t""no" 1>&6
15222 for ac_func
in usleep
15224 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15225 echo "configure:15226: checking for $ac_func" >&5
15226 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15227 echo $ac_n "(cached) $ac_c" 1>&6
15229 cat > conftest.
$ac_ext <<EOF
15230 #line 15231 "configure"
15231 #include "confdefs.h"
15232 /* System header to define __stub macros and hopefully few prototypes,
15233 which can conflict with char $ac_func(); below. */
15234 #include <assert.h>
15235 /* Override any gcc2 internal prototype to avoid an error. */
15236 /* We use char because int might match the return type of a gcc2
15237 builtin and then its argument prototype would still apply. */
15242 /* The GNU C library defines this for functions which it implements
15243 to always fail with ENOSYS. Some functions are actually named
15244 something starting with __ and the normal name is an alias. */
15245 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15253 if { (eval echo configure
:15254: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15255 eval "ac_cv_func_$ac_func=yes"
15257 echo "configure: failed program was:" >&5
15258 cat conftest.
$ac_ext >&5
15260 eval "ac_cv_func_$ac_func=no"
15265 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15266 echo "$ac_t""yes" 1>&6
15267 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15268 cat >> confdefs.h
<<EOF
15269 #define $ac_tr_func 1
15271 cat >> confdefs.h
<<\EOF
15272 #define HAVE_USLEEP 1
15276 echo "$ac_t""no" 1>&6
15277 echo "configure: warning: wxSleep() function will not work" 1>&2
15293 for ac_func
in uname gethostname
15295 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15296 echo "configure:15297: checking for $ac_func" >&5
15297 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15298 echo $ac_n "(cached) $ac_c" 1>&6
15300 cat > conftest.
$ac_ext <<EOF
15301 #line 15302 "configure"
15302 #include "confdefs.h"
15303 /* System header to define __stub macros and hopefully few prototypes,
15304 which can conflict with char $ac_func(); below. */
15305 #include <assert.h>
15306 /* Override any gcc2 internal prototype to avoid an error. */
15307 /* We use char because int might match the return type of a gcc2
15308 builtin and then its argument prototype would still apply. */
15313 /* The GNU C library defines this for functions which it implements
15314 to always fail with ENOSYS. Some functions are actually named
15315 something starting with __ and the normal name is an alias. */
15316 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15324 if { (eval echo configure
:15325: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15326 eval "ac_cv_func_$ac_func=yes"
15328 echo "configure: failed program was:" >&5
15329 cat conftest.
$ac_ext >&5
15331 eval "ac_cv_func_$ac_func=no"
15336 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15337 echo "$ac_t""yes" 1>&6
15338 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15339 cat >> confdefs.h
<<EOF
15340 #define $ac_tr_func 1
15344 echo "$ac_t""no" 1>&6
15351 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15352 ac_cpp
='$CXXCPP $CPPFLAGS'
15353 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15354 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15355 cross_compiling
=$ac_cv_prog_cxx_cross
15358 for ac_func
in strtok_r
15360 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15361 echo "configure:15362: checking for $ac_func" >&5
15362 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15363 echo $ac_n "(cached) $ac_c" 1>&6
15365 cat > conftest.
$ac_ext <<EOF
15366 #line 15367 "configure"
15367 #include "confdefs.h"
15368 /* System header to define __stub macros and hopefully few prototypes,
15369 which can conflict with char $ac_func(); below. */
15370 #include <assert.h>
15371 /* Override any gcc2 internal prototype to avoid an error. */
15375 /* We use char because int might match the return type of a gcc2
15376 builtin and then its argument prototype would still apply. */
15381 /* The GNU C library defines this for functions which it implements
15382 to always fail with ENOSYS. Some functions are actually named
15383 something starting with __ and the normal name is an alias. */
15384 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15392 if { (eval echo configure
:15393: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15394 eval "ac_cv_func_$ac_func=yes"
15396 echo "configure: failed program was:" >&5
15397 cat conftest.
$ac_ext >&5
15399 eval "ac_cv_func_$ac_func=no"
15404 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15405 echo "$ac_t""yes" 1>&6
15406 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15407 cat >> confdefs.h
<<EOF
15408 #define $ac_tr_func 1
15412 echo "$ac_t""no" 1>&6
15418 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15419 ac_cpp
='$CPP $CPPFLAGS'
15420 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15421 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15422 cross_compiling
=$ac_cv_prog_cc_cross
15426 for ac_func
in inet_addr
15428 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15429 echo "configure:15430: checking for $ac_func" >&5
15430 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15431 echo $ac_n "(cached) $ac_c" 1>&6
15433 cat > conftest.
$ac_ext <<EOF
15434 #line 15435 "configure"
15435 #include "confdefs.h"
15436 /* System header to define __stub macros and hopefully few prototypes,
15437 which can conflict with char $ac_func(); below. */
15438 #include <assert.h>
15439 /* Override any gcc2 internal prototype to avoid an error. */
15440 /* We use char because int might match the return type of a gcc2
15441 builtin and then its argument prototype would still apply. */
15446 /* The GNU C library defines this for functions which it implements
15447 to always fail with ENOSYS. Some functions are actually named
15448 something starting with __ and the normal name is an alias. */
15449 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15457 if { (eval echo configure
:15458: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15459 eval "ac_cv_func_$ac_func=yes"
15461 echo "configure: failed program was:" >&5
15462 cat conftest.
$ac_ext >&5
15464 eval "ac_cv_func_$ac_func=no"
15469 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15470 echo "$ac_t""yes" 1>&6
15471 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15472 cat >> confdefs.h
<<EOF
15473 #define $ac_tr_func 1
15475 cat >> confdefs.h
<<\EOF
15476 #define HAVE_INET_ADDR 1
15480 echo "$ac_t""no" 1>&6
15481 echo $ac_n "checking for inet_addr in -lnsl""... $ac_c" 1>&6
15482 echo "configure:15483: checking for inet_addr in -lnsl" >&5
15483 ac_lib_var
=`echo nsl'_'inet_addr | sed 'y%./+-%__p_%'`
15484 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15485 echo $ac_n "(cached) $ac_c" 1>&6
15487 ac_save_LIBS
="$LIBS"
15489 cat > conftest.
$ac_ext <<EOF
15490 #line 15491 "configure"
15491 #include "confdefs.h"
15492 /* Override any gcc2 internal prototype to avoid an error. */
15493 /* We use char because int might match the return type of a gcc2
15494 builtin and then its argument prototype would still apply. */
15501 if { (eval echo configure
:15502: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15503 eval "ac_cv_lib_$ac_lib_var=yes"
15505 echo "configure: failed program was:" >&5
15506 cat conftest.
$ac_ext >&5
15508 eval "ac_cv_lib_$ac_lib_var=no"
15511 LIBS
="$ac_save_LIBS"
15514 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15515 echo "$ac_t""yes" 1>&6
15518 echo "$ac_t""no" 1>&6
15519 echo $ac_n "checking for inet_addr in -lresolv""... $ac_c" 1>&6
15520 echo "configure:15521: checking for inet_addr in -lresolv" >&5
15521 ac_lib_var
=`echo resolv'_'inet_addr | sed 'y%./+-%__p_%'`
15522 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15523 echo $ac_n "(cached) $ac_c" 1>&6
15525 ac_save_LIBS
="$LIBS"
15526 LIBS
="-lresolv $LIBS"
15527 cat > conftest.
$ac_ext <<EOF
15528 #line 15529 "configure"
15529 #include "confdefs.h"
15530 /* Override any gcc2 internal prototype to avoid an error. */
15531 /* We use char because int might match the return type of a gcc2
15532 builtin and then its argument prototype would still apply. */
15539 if { (eval echo configure
:15540: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15541 eval "ac_cv_lib_$ac_lib_var=yes"
15543 echo "configure: failed program was:" >&5
15544 cat conftest.
$ac_ext >&5
15546 eval "ac_cv_lib_$ac_lib_var=no"
15549 LIBS
="$ac_save_LIBS"
15552 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15553 echo "$ac_t""yes" 1>&6
15557 echo "$ac_t""no" 1>&6
15569 for ac_func
in inet_aton
15571 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15572 echo "configure:15573: checking for $ac_func" >&5
15573 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15574 echo $ac_n "(cached) $ac_c" 1>&6
15576 cat > conftest.
$ac_ext <<EOF
15577 #line 15578 "configure"
15578 #include "confdefs.h"
15579 /* System header to define __stub macros and hopefully few prototypes,
15580 which can conflict with char $ac_func(); below. */
15581 #include <assert.h>
15582 /* Override any gcc2 internal prototype to avoid an error. */
15583 /* We use char because int might match the return type of a gcc2
15584 builtin and then its argument prototype would still apply. */
15589 /* The GNU C library defines this for functions which it implements
15590 to always fail with ENOSYS. Some functions are actually named
15591 something starting with __ and the normal name is an alias. */
15592 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15600 if { (eval echo configure
:15601: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15602 eval "ac_cv_func_$ac_func=yes"
15604 echo "configure: failed program was:" >&5
15605 cat conftest.
$ac_ext >&5
15607 eval "ac_cv_func_$ac_func=no"
15612 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15613 echo "$ac_t""yes" 1>&6
15614 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15615 cat >> confdefs.h
<<EOF
15616 #define $ac_tr_func 1
15618 cat >> confdefs.h
<<\EOF
15619 #define HAVE_INET_ATON 1
15623 echo "$ac_t""no" 1>&6
15624 echo $ac_n "checking for inet_aton in -l$INET_LINK""... $ac_c" 1>&6
15625 echo "configure:15626: checking for inet_aton in -l$INET_LINK" >&5
15626 ac_lib_var
=`echo $INET_LINK'_'inet_aton | sed 'y%./+-%__p_%'`
15627 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15628 echo $ac_n "(cached) $ac_c" 1>&6
15630 ac_save_LIBS
="$LIBS"
15631 LIBS
="-l$INET_LINK $LIBS"
15632 cat > conftest.
$ac_ext <<EOF
15633 #line 15634 "configure"
15634 #include "confdefs.h"
15635 /* Override any gcc2 internal prototype to avoid an error. */
15636 /* We use char because int might match the return type of a gcc2
15637 builtin and then its argument prototype would still apply. */
15644 if { (eval echo configure
:15645: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15646 eval "ac_cv_lib_$ac_lib_var=yes"
15648 echo "configure: failed program was:" >&5
15649 cat conftest.
$ac_ext >&5
15651 eval "ac_cv_lib_$ac_lib_var=no"
15654 LIBS
="$ac_save_LIBS"
15657 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15658 echo "$ac_t""yes" 1>&6
15659 cat >> confdefs.h
<<\EOF
15660 #define HAVE_INET_ATON 1
15664 echo "$ac_t""no" 1>&6
15672 if test "x$INET_LINK" != "x"; then
15673 cat >> confdefs.h
<<\EOF
15674 #define HAVE_INET_ADDR 1
15677 INET_LINK
=" -l$INET_LINK"
15683 cat > confcache
<<\EOF
15684 # This file is a shell script that caches the results of configure
15685 # tests run on this system so they can be shared between configure
15686 # scripts and configure runs. It is not useful on other systems.
15687 # If it contains results you don't want to keep, you may remove or edit it.
15689 # By default, configure uses ./config.cache as the cache file,
15690 # creating it if it does not exist already. You can give configure
15691 # the --cache-file=FILE option to use a different cache file; that is
15692 # what configure does when it calls configure scripts in
15693 # subdirectories, so they share the cache.
15694 # Giving --cache-file=/dev/null disables caching, for debugging configure.
15695 # config.status only pays attention to the cache file if you give it the
15696 # --recheck option to rerun configure.
15699 # The following way of writing the cache mishandles newlines in values,
15700 # but we know of no workaround that is simple, portable, and efficient.
15701 # So, don't put newlines in cache variables' values.
15702 # Ultrix sh set writes to stderr and can't be redirected directly,
15703 # and sets the high bit in the cache file unless we assign to the vars.
15705 case `(ac_space=' '; set | grep ac_space) 2>&1` in
15707 # `set' does not quote correctly, so add quotes (double-quote substitution
15708 # turns \\\\ into \\, and sed turns \\ into \).
15710 -e "s/'/'\\\\''/g" \
15711 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
15714 # `set' quotes correctly as required by POSIX, so do not add quotes.
15715 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
15718 if cmp -s $cache_file confcache
; then
15721 if test -w $cache_file; then
15722 echo "updating cache $cache_file"
15723 cat confcache
> $cache_file
15725 echo "not updating unwritable cache $cache_file"
15732 if test "$TOOLKIT" != "MSW"; then
15738 CODE_GEN_FLAGS_CXX
=
15740 if test "$wxUSE_THREADS" = "yes" ; then
15741 if test "$wxUSE_WINE" = 1 ; then
15742 echo "configure: warning: Threads are not supported under WINE... disabled" 1>&2
15744 elif test "$USE_BEOS" = 1; then
15745 echo "configure: warning: BeOS threads are not yet supported... disabled" 1>&2
15750 if test "$wxUSE_THREADS" = "yes" ; then
15752 if test "$USE_AIX" = 1; then
15753 THREADS_LIB
=pthreads
15755 THREADS_LIB
=pthread
15758 echo $ac_n "checking for pthread_create in -l$THREADS_LIB""... $ac_c" 1>&6
15759 echo "configure:15760: checking for pthread_create in -l$THREADS_LIB" >&5
15760 ac_lib_var
=`echo $THREADS_LIB'_'pthread_create | sed 'y%./+-%__p_%'`
15761 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15762 echo $ac_n "(cached) $ac_c" 1>&6
15764 ac_save_LIBS
="$LIBS"
15765 LIBS
="-l$THREADS_LIB $LIBS"
15766 cat > conftest.
$ac_ext <<EOF
15767 #line 15768 "configure"
15768 #include "confdefs.h"
15769 /* Override any gcc2 internal prototype to avoid an error. */
15770 /* We use char because int might match the return type of a gcc2
15771 builtin and then its argument prototype would still apply. */
15772 char pthread_create();
15778 if { (eval echo configure
:15779: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15780 eval "ac_cv_lib_$ac_lib_var=yes"
15782 echo "configure: failed program was:" >&5
15783 cat conftest.
$ac_ext >&5
15785 eval "ac_cv_lib_$ac_lib_var=no"
15788 LIBS
="$ac_save_LIBS"
15791 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15792 echo "$ac_t""yes" 1>&6
15794 THREADS_OBJ
="threadpsx.lo"
15795 THREADS_LINK
=$THREADS_LIB
15798 echo "$ac_t""no" 1>&6
15800 echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
15801 echo "configure:15802: checking for pthread_create in -lc_r" >&5
15802 ac_lib_var
=`echo c_r'_'pthread_create | sed 'y%./+-%__p_%'`
15803 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15804 echo $ac_n "(cached) $ac_c" 1>&6
15806 ac_save_LIBS
="$LIBS"
15808 cat > conftest.
$ac_ext <<EOF
15809 #line 15810 "configure"
15810 #include "confdefs.h"
15811 /* Override any gcc2 internal prototype to avoid an error. */
15812 /* We use char because int might match the return type of a gcc2
15813 builtin and then its argument prototype would still apply. */
15814 char pthread_create();
15820 if { (eval echo configure
:15821: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15822 eval "ac_cv_lib_$ac_lib_var=yes"
15824 echo "configure: failed program was:" >&5
15825 cat conftest.
$ac_ext >&5
15827 eval "ac_cv_lib_$ac_lib_var=no"
15830 LIBS
="$ac_save_LIBS"
15833 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15834 echo "$ac_t""yes" 1>&6
15836 THREADS_OBJ
="threadpsx.lo"
15840 echo "$ac_t""no" 1>&6
15842 ac_safe
=`echo "sys/prctl.h" | sed 'y%./+-%__p_%'`
15843 echo $ac_n "checking for sys/prctl.h""... $ac_c" 1>&6
15844 echo "configure:15845: checking for sys/prctl.h" >&5
15845 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15846 echo $ac_n "(cached) $ac_c" 1>&6
15848 cat > conftest.
$ac_ext <<EOF
15849 #line 15850 "configure"
15850 #include "confdefs.h"
15851 #include <sys/prctl.h>
15853 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15854 { (eval echo configure
:15855: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15855 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15856 if test -z "$ac_err"; then
15858 eval "ac_cv_header_$ac_safe=yes"
15861 echo "configure: failed program was:" >&5
15862 cat conftest.
$ac_ext >&5
15864 eval "ac_cv_header_$ac_safe=no"
15868 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15869 echo "$ac_t""yes" 1>&6
15871 THREADS_OBJ
="threadsgi.lo"
15874 echo "$ac_t""no" 1>&6
15884 if test -z "$THREADS_OBJ" ; then
15886 echo "configure: warning: No thread support on this system... disabled" 1>&2
15890 if test "$wxUSE_THREADS" = "yes" ; then
15891 for ac_func
in thr_setconcurrency
15893 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15894 echo "configure:15895: checking for $ac_func" >&5
15895 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15896 echo $ac_n "(cached) $ac_c" 1>&6
15898 cat > conftest.
$ac_ext <<EOF
15899 #line 15900 "configure"
15900 #include "confdefs.h"
15901 /* System header to define __stub macros and hopefully few prototypes,
15902 which can conflict with char $ac_func(); below. */
15903 #include <assert.h>
15904 /* Override any gcc2 internal prototype to avoid an error. */
15905 /* We use char because int might match the return type of a gcc2
15906 builtin and then its argument prototype would still apply. */
15911 /* The GNU C library defines this for functions which it implements
15912 to always fail with ENOSYS. Some functions are actually named
15913 something starting with __ and the normal name is an alias. */
15914 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
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_func_$ac_func=yes"
15926 echo "configure: failed program was:" >&5
15927 cat conftest.
$ac_ext >&5
15929 eval "ac_cv_func_$ac_func=no"
15934 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15935 echo "$ac_t""yes" 1>&6
15936 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15937 cat >> confdefs.h
<<EOF
15938 #define $ac_tr_func 1
15942 echo "$ac_t""no" 1>&6
15948 for ac_hdr
in sched.h
15950 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
15951 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
15952 echo "configure:15953: checking for $ac_hdr" >&5
15953 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15954 echo $ac_n "(cached) $ac_c" 1>&6
15956 cat > conftest.
$ac_ext <<EOF
15957 #line 15958 "configure"
15958 #include "confdefs.h"
15961 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15962 { (eval echo configure
:15963: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15963 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15964 if test -z "$ac_err"; then
15966 eval "ac_cv_header_$ac_safe=yes"
15969 echo "configure: failed program was:" >&5
15970 cat conftest.
$ac_ext >&5
15972 eval "ac_cv_header_$ac_safe=no"
15976 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15977 echo "$ac_t""yes" 1>&6
15978 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
15979 cat >> confdefs.h
<<EOF
15980 #define $ac_tr_hdr 1
15984 echo "$ac_t""no" 1>&6
15989 echo $ac_n "checking for sched_yield in -l$THREADS_LINK""... $ac_c" 1>&6
15990 echo "configure:15991: checking for sched_yield in -l$THREADS_LINK" >&5
15991 ac_lib_var
=`echo $THREADS_LINK'_'sched_yield | sed 'y%./+-%__p_%'`
15992 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15993 echo $ac_n "(cached) $ac_c" 1>&6
15995 ac_save_LIBS
="$LIBS"
15996 LIBS
="-l$THREADS_LINK $LIBS"
15997 cat > conftest.
$ac_ext <<EOF
15998 #line 15999 "configure"
15999 #include "confdefs.h"
16000 /* Override any gcc2 internal prototype to avoid an error. */
16001 /* We use char because int might match the return type of a gcc2
16002 builtin and then its argument prototype would still apply. */
16003 char sched_yield();
16009 if { (eval echo configure
:16010: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16011 eval "ac_cv_lib_$ac_lib_var=yes"
16013 echo "configure: failed program was:" >&5
16014 cat conftest.
$ac_ext >&5
16016 eval "ac_cv_lib_$ac_lib_var=no"
16019 LIBS
="$ac_save_LIBS"
16022 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16023 echo "$ac_t""yes" 1>&6
16024 cat >> confdefs.h
<<\EOF
16025 #define HAVE_SCHED_YIELD 1
16029 echo "$ac_t""no" 1>&6
16030 echo $ac_n "checking for sched_yield in -lposix4""... $ac_c" 1>&6
16031 echo "configure:16032: checking for sched_yield in -lposix4" >&5
16032 ac_lib_var
=`echo posix4'_'sched_yield | sed 'y%./+-%__p_%'`
16033 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16034 echo $ac_n "(cached) $ac_c" 1>&6
16036 ac_save_LIBS
="$LIBS"
16037 LIBS
="-lposix4 $LIBS"
16038 cat > conftest.
$ac_ext <<EOF
16039 #line 16040 "configure"
16040 #include "confdefs.h"
16041 /* Override any gcc2 internal prototype to avoid an error. */
16042 /* We use char because int might match the return type of a gcc2
16043 builtin and then its argument prototype would still apply. */
16044 char sched_yield();
16050 if { (eval echo configure
:16051: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16052 eval "ac_cv_lib_$ac_lib_var=yes"
16054 echo "configure: failed program was:" >&5
16055 cat conftest.
$ac_ext >&5
16057 eval "ac_cv_lib_$ac_lib_var=no"
16060 LIBS
="$ac_save_LIBS"
16063 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16064 echo "$ac_t""yes" 1>&6
16065 cat >> confdefs.h
<<\EOF
16066 #define HAVE_SCHED_YIELD 1
16068 POSIX4_LINK
=" -lposix4"
16070 echo "$ac_t""no" 1>&6
16071 echo "configure: warning: wxThread::Yield will not work properly" 1>&2
16080 echo $ac_n "checking for pthread_attr_getschedpolicy in -l$THREADS_LINK""... $ac_c" 1>&6
16081 echo "configure:16082: checking for pthread_attr_getschedpolicy in -l$THREADS_LINK" >&5
16082 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
16083 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16084 echo $ac_n "(cached) $ac_c" 1>&6
16086 ac_save_LIBS
="$LIBS"
16087 LIBS
="-l$THREADS_LINK $LIBS"
16088 cat > conftest.
$ac_ext <<EOF
16089 #line 16090 "configure"
16090 #include "confdefs.h"
16091 /* Override any gcc2 internal prototype to avoid an error. */
16092 /* We use char because int might match the return type of a gcc2
16093 builtin and then its argument prototype would still apply. */
16094 char pthread_attr_getschedpolicy();
16097 pthread_attr_getschedpolicy()
16100 if { (eval echo configure
:16101: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16102 eval "ac_cv_lib_$ac_lib_var=yes"
16104 echo "configure: failed program was:" >&5
16105 cat conftest.
$ac_ext >&5
16107 eval "ac_cv_lib_$ac_lib_var=no"
16110 LIBS
="$ac_save_LIBS"
16113 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16114 echo "$ac_t""yes" 1>&6
16115 echo $ac_n "checking for pthread_attr_setschedparam in -l$THREADS_LINK""... $ac_c" 1>&6
16116 echo "configure:16117: checking for pthread_attr_setschedparam in -l$THREADS_LINK" >&5
16117 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_setschedparam | sed 'y%./+-%__p_%'`
16118 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16119 echo $ac_n "(cached) $ac_c" 1>&6
16121 ac_save_LIBS
="$LIBS"
16122 LIBS
="-l$THREADS_LINK $LIBS"
16123 cat > conftest.
$ac_ext <<EOF
16124 #line 16125 "configure"
16125 #include "confdefs.h"
16126 /* Override any gcc2 internal prototype to avoid an error. */
16127 /* We use char because int might match the return type of a gcc2
16128 builtin and then its argument prototype would still apply. */
16129 char pthread_attr_setschedparam();
16132 pthread_attr_setschedparam()
16135 if { (eval echo configure
:16136: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16137 eval "ac_cv_lib_$ac_lib_var=yes"
16139 echo "configure: failed program was:" >&5
16140 cat conftest.
$ac_ext >&5
16142 eval "ac_cv_lib_$ac_lib_var=no"
16145 LIBS
="$ac_save_LIBS"
16148 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16149 echo "$ac_t""yes" 1>&6
16150 echo $ac_n "checking for sched_get_priority_max in -l$THREADS_LINK""... $ac_c" 1>&6
16151 echo "configure:16152: checking for sched_get_priority_max in -l$THREADS_LINK" >&5
16152 ac_lib_var
=`echo $THREADS_LINK'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
16153 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16154 echo $ac_n "(cached) $ac_c" 1>&6
16156 ac_save_LIBS
="$LIBS"
16157 LIBS
="-l$THREADS_LINK $LIBS"
16158 cat > conftest.
$ac_ext <<EOF
16159 #line 16160 "configure"
16160 #include "confdefs.h"
16161 /* Override any gcc2 internal prototype to avoid an error. */
16162 /* We use char because int might match the return type of a gcc2
16163 builtin and then its argument prototype would still apply. */
16164 char sched_get_priority_max();
16167 sched_get_priority_max()
16170 if { (eval echo configure
:16171: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16172 eval "ac_cv_lib_$ac_lib_var=yes"
16174 echo "configure: failed program was:" >&5
16175 cat conftest.
$ac_ext >&5
16177 eval "ac_cv_lib_$ac_lib_var=no"
16180 LIBS
="$ac_save_LIBS"
16183 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16184 echo "$ac_t""yes" 1>&6
16187 echo "$ac_t""no" 1>&6
16188 echo $ac_n "checking for sched_get_priority_max in -lposix4""... $ac_c" 1>&6
16189 echo "configure:16190: checking for sched_get_priority_max in -lposix4" >&5
16190 ac_lib_var
=`echo posix4'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
16191 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16192 echo $ac_n "(cached) $ac_c" 1>&6
16194 ac_save_LIBS
="$LIBS"
16195 LIBS
="-lposix4 $LIBS"
16196 cat > conftest.
$ac_ext <<EOF
16197 #line 16198 "configure"
16198 #include "confdefs.h"
16199 /* Override any gcc2 internal prototype to avoid an error. */
16200 /* We use char because int might match the return type of a gcc2
16201 builtin and then its argument prototype would still apply. */
16202 char sched_get_priority_max();
16205 sched_get_priority_max()
16208 if { (eval echo configure
:16209: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16210 eval "ac_cv_lib_$ac_lib_var=yes"
16212 echo "configure: failed program was:" >&5
16213 cat conftest.
$ac_ext >&5
16215 eval "ac_cv_lib_$ac_lib_var=no"
16218 LIBS
="$ac_save_LIBS"
16221 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16222 echo "$ac_t""yes" 1>&6
16225 POSIX4_LINK
=" -lposix4"
16228 echo "$ac_t""no" 1>&6
16236 echo "$ac_t""no" 1>&6
16241 echo "$ac_t""no" 1>&6
16245 if test "$HAVE_PRIOR_FUNCS" = 1; then
16246 cat >> confdefs.h
<<\EOF
16247 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
16251 echo "configure: warning: Setting thread priority will not work" 1>&2
16254 echo $ac_n "checking for pthread_cancel in -l$THREADS_LINK""... $ac_c" 1>&6
16255 echo "configure:16256: checking for pthread_cancel in -l$THREADS_LINK" >&5
16256 ac_lib_var
=`echo $THREADS_LINK'_'pthread_cancel | sed 'y%./+-%__p_%'`
16257 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16258 echo $ac_n "(cached) $ac_c" 1>&6
16260 ac_save_LIBS
="$LIBS"
16261 LIBS
="-l$THREADS_LINK $LIBS"
16262 cat > conftest.
$ac_ext <<EOF
16263 #line 16264 "configure"
16264 #include "confdefs.h"
16265 /* Override any gcc2 internal prototype to avoid an error. */
16266 /* We use char because int might match the return type of a gcc2
16267 builtin and then its argument prototype would still apply. */
16268 char pthread_cancel();
16274 if { (eval echo configure
:16275: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16276 eval "ac_cv_lib_$ac_lib_var=yes"
16278 echo "configure: failed program was:" >&5
16279 cat conftest.
$ac_ext >&5
16281 eval "ac_cv_lib_$ac_lib_var=no"
16284 LIBS
="$ac_save_LIBS"
16287 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16288 echo "$ac_t""yes" 1>&6
16289 cat >> confdefs.h
<<\EOF
16290 #define HAVE_PTHREAD_CANCEL 1
16294 echo "$ac_t""no" 1>&6
16295 echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
16299 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
16300 echo "configure:16301: checking for pthread_cleanup_push/pop" >&5
16301 if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
16302 echo $ac_n "(cached) $ac_c" 1>&6
16305 cat > conftest.
$ac_ext <<EOF
16306 #line 16307 "configure"
16307 #include "confdefs.h"
16308 #include <pthread.h>
16311 pthread_cleanup_push(NULL, NULL);
16312 pthread_cleanup_pop(0);
16316 if { (eval echo configure
:16317: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16319 wx_cv_func_pthread_cleanup_push
=yes
16322 echo "configure: failed program was:" >&5
16323 cat conftest.
$ac_ext >&5
16326 wx_cv_func_pthread_cleanup_push
=no
16333 echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
16335 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
16336 cat >> confdefs.h
<<\EOF
16337 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
16343 if test "x$wx_lib_glibc21" = "xyes"; then
16344 CPPFLAGS
="$CPPFLAGS -D_GNU_SOURCE"
16347 echo $ac_n "checking for pthread_mutexattr_t""... $ac_c" 1>&6
16348 echo "configure:16349: checking for pthread_mutexattr_t" >&5
16349 if eval "test \"`echo '$''{'wx_cv_type_pthread_mutexattr_t'+set}'`\" = set"; then
16350 echo $ac_n "(cached) $ac_c" 1>&6
16353 cat > conftest.
$ac_ext <<EOF
16354 #line 16355 "configure"
16355 #include "confdefs.h"
16356 #include <pthread.h>
16359 pthread_mutexattr_t attr;
16360 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
16364 if { (eval echo configure
:16365: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16367 wx_cv_type_pthread_mutexattr_t
=yes
16370 echo "configure: failed program was:" >&5
16371 cat conftest.
$ac_ext >&5
16374 wx_cv_type_pthread_mutexattr_t
=no
16382 echo "$ac_t""$wx_cv_type_pthread_mutexattr_t" 1>&6
16384 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
16385 cat >> confdefs.h
<<\EOF
16386 #define HAVE_PTHREAD_MUTEXATTR_T 1
16390 echo $ac_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER""... $ac_c" 1>&6
16391 echo "configure:16392: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
16392 if eval "test \"`echo '$''{'wx_cv_type_pthread_rec_mutex_init'+set}'`\" = set"; then
16393 echo $ac_n "(cached) $ac_c" 1>&6
16396 cat > conftest.
$ac_ext <<EOF
16397 #line 16398 "configure"
16398 #include "confdefs.h"
16399 #include <pthread.h>
16402 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
16406 if { (eval echo configure
:16407: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16409 wx_cv_type_pthread_rec_mutex_init
=yes
16412 echo "configure: failed program was:" >&5
16413 cat conftest.
$ac_ext >&5
16416 wx_cv_type_pthread_rec_mutex_init
=no
16424 echo "$ac_t""$wx_cv_type_pthread_rec_mutex_init" 1>&6
16425 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
16426 cat >> confdefs.h
<<\EOF
16427 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
16431 echo "configure: warning: wxMutex won't be recursive on this platform" 1>&2
16435 THREADS_LINK
=" -l$THREADS_LINK"
16437 if test "$USE_SOLARIS" = "yes" -a "$GCC" != "yes"; then
16438 CPPFLAGS
="$CFLAGS -mt"
16439 CXXFLAGS
="$CXXFLAGS -mt"
16440 LDFLAGS
="$LDFLAGS -mt"
16446 if test "$wxUSE_THREADS" = "yes"; then
16447 cat >> confdefs.h
<<\EOF
16448 #define wxUSE_THREADS 1
16452 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS $CPP_MT_FLAG"
16454 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
16456 if test "$ac_cv_func_strtok_r" = "yes"; then
16457 echo $ac_n "checking if -D_REENTRANT is needed""... $ac_c" 1>&6
16458 echo "configure:16459: checking if -D_REENTRANT is needed" >&5
16459 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
16460 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
16461 echo "$ac_t""yes" 1>&6
16463 echo "$ac_t""no" 1>&6
16468 if test "$WXGTK20" = 1 ; then
16469 cat >> confdefs.h
<<EOF
16470 #define __WXGTK20__ $WXGTK20
16476 if test "$WXGTK12" = 1 ; then
16477 cat >> confdefs.h
<<EOF
16478 #define __WXGTK12__ $WXGTK12
16483 if test "$WXGTK127" = 1 ; then
16484 cat >> confdefs.h
<<EOF
16485 #define __WXGTK127__ $WXGTK127
16492 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
16497 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
16498 wxUSE_DEBUG_INFO
=yes
16502 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
16503 cat >> confdefs.h
<<\EOF
16507 WXDEBUG_DEFINE
="-D__WXDEBUG__"
16509 if test "$wxUSE_GTK" = 1 ; then
16510 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
16514 if test "$wxUSE_MEM_TRACING" = "yes" ; then
16515 cat >> confdefs.h
<<\EOF
16516 #define wxUSE_MEMORY_TRACING 1
16519 cat >> confdefs.h
<<\EOF
16520 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
16523 cat >> confdefs.h
<<\EOF
16524 #define wxUSE_DEBUG_NEW_ALWAYS 1
16527 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
16530 if test "$wxUSE_DMALLOC" = "yes" ; then
16531 DMALLOC_LIBS
="-ldmalloc"
16535 if test "$wxUSE_PROFILE" = "yes" ; then
16539 if test "$GCC" = "yes" ; then
16540 if test "$wxUSE_NO_RTTI" = "yes" ; then
16541 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
16543 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
16544 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
16546 if test "$wxUSE_PERMISSIVE" = "yes" ; then
16547 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
16549 if test "$USE_WIN32" = 1 ; then
16550 # I'm not even really sure what this was ever added to solve,
16551 # but someone added it for mingw native builds, so I guess
16552 # they had a reason, right??
16553 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fno-pcc-struct-return"
16558 CXXFLAGS
=`echo "${CXXFLAGS}" | sed "s/\-O.//g" `
16559 CFLAGS
=`echo "${CFLAGS}" | sed "s/\-O.//g" `
16560 if test "$wxUSE_OPTIMISE" = "no" ; then
16563 if test "$GCC" = yes ; then
16566 i586
-*-*|i686
-*-* )
16567 OPTIMISE
="${OPTIMISE} "
16575 if test "$WXWIN_COMPATIBILITY_2" = "yes"; then
16576 cat >> confdefs.h
<<\EOF
16577 #define WXWIN_COMPATIBILITY_2 1
16581 WXWIN_COMPATIBILITY_2_2
="yes"
16584 if test "$WXWIN_COMPATIBILITY_2_2" = "yes"; then
16585 cat >> confdefs.h
<<\EOF
16586 #define WXWIN_COMPATIBILITY_2_2 1
16592 if test "$wxUSE_GUI" = "yes"; then
16593 cat >> confdefs.h
<<\EOF
16594 #define wxUSE_GUI 1
16599 cat >> confdefs.h
<<\EOF
16600 #define wxUSE_NOGUI 1
16606 if test "$wxUSE_UNIX" = "yes"; then
16607 cat >> confdefs.h
<<\EOF
16608 #define wxUSE_UNIX 1
16614 if test "$wxUSE_APPLE_IEEE" = "yes"; then
16615 cat >> confdefs.h
<<\EOF
16616 #define wxUSE_APPLE_IEEE 1
16621 if test "$wxUSE_TIMER" = "yes"; then
16622 cat >> confdefs.h
<<\EOF
16623 #define wxUSE_TIMER 1
16628 if test "$wxUSE_WAVE" = "yes"; then
16629 cat >> confdefs.h
<<\EOF
16630 #define wxUSE_WAVE 1
16635 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
16636 cat >> confdefs.h
<<\EOF
16637 #define wxUSE_CMDLINE_PARSER 1
16642 if test "$wxUSE_STOPWATCH" = "yes"; then
16643 cat >> confdefs.h
<<\EOF
16644 #define wxUSE_STOPWATCH 1
16649 if test "$wxUSE_DATETIME" = "yes"; then
16650 cat >> confdefs.h
<<\EOF
16651 #define wxUSE_DATETIME 1
16656 if test "$wxUSE_TIMEDATE" = "yes"; then
16657 cat >> confdefs.h
<<\EOF
16658 #define wxUSE_TIMEDATE 1
16663 if test "$wxUSE_FILE" = "yes"; then
16664 cat >> confdefs.h
<<\EOF
16665 #define wxUSE_FILE 1
16670 if test "$wxUSE_FFILE" = "yes"; then
16671 cat >> confdefs.h
<<\EOF
16672 #define wxUSE_FFILE 1
16677 if test "$wxUSE_FILESYSTEM" = "yes"; then
16678 cat >> confdefs.h
<<\EOF
16679 #define wxUSE_FILESYSTEM 1
16684 if test "$wxUSE_FS_INET" = "yes"; then
16685 cat >> confdefs.h
<<\EOF
16686 #define wxUSE_FS_INET 1
16691 if test "$wxUSE_FS_ZIP" = "yes"; then
16692 cat >> confdefs.h
<<\EOF
16693 #define wxUSE_FS_ZIP 1
16698 if test "$wxUSE_ZIPSTREAM" = "yes"; then
16699 cat >> confdefs.h
<<\EOF
16700 #define wxUSE_ZIPSTREAM 1
16705 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
16706 cat >> confdefs.h
<<\EOF
16707 #define wxUSE_ON_FATAL_EXCEPTION 1
16712 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
16713 cat >> confdefs.h
<<\EOF
16714 #define wxUSE_SNGLINST_CHECKER 1
16719 if test "$wxUSE_BUSYINFO" = "yes"; then
16720 cat >> confdefs.h
<<\EOF
16721 #define wxUSE_BUSYINFO 1
16726 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
16727 cat >> confdefs.h
<<\EOF
16728 #define wxUSE_STD_IOSTREAM 1
16733 if test "$wxUSE_TEXTBUFFER" = "yes"; then
16734 cat >> confdefs.h
<<\EOF
16735 #define wxUSE_TEXTBUFFER 1
16740 if test "$wxUSE_TEXTFILE" = "yes"; then
16741 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
16742 echo "configure: warning: wxTextFile requires wxFile and wxTextBuffer... disabled" 1>&2
16744 cat >> confdefs.h
<<\EOF
16745 #define wxUSE_TEXTFILE 1
16751 if test "$wxUSE_CONFIG" = "yes" ; then
16752 if test "$wxUSE_TEXTFILE" != "yes"; then
16753 echo "configure: warning: wxConfig requires wxTextFile... disabled" 1>&2
16755 cat >> confdefs.h
<<\EOF
16756 #define wxUSE_CONFIG 1
16759 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
16763 if test "$wxUSE_INTL" = "yes" ; then
16764 if test "$wxUSE_FILE" != "yes"; then
16765 echo "configure: warning: I18n code requires wxFile... disabled" 1>&2
16767 cat >> confdefs.h
<<\EOF
16768 #define wxUSE_INTL 1
16771 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
16772 GUIDIST
="$GUIDIST INTL_DIST"
16776 if test "$wxUSE_LOG" = "yes"; then
16777 cat >> confdefs.h
<<\EOF
16778 #define wxUSE_LOG 1
16782 if test "$wxUSE_LOGGUI" = "yes"; then
16783 cat >> confdefs.h
<<\EOF
16784 #define wxUSE_LOGGUI 1
16789 if test "$wxUSE_LOGWINDOW" = "yes"; then
16790 cat >> confdefs.h
<<\EOF
16791 #define wxUSE_LOGWINDOW 1
16796 if test "$wxUSE_LOGDIALOG" = "yes"; then
16797 cat >> confdefs.h
<<\EOF
16798 #define wxUSE_LOG_DIALOG 1
16804 if test "$wxUSE_LONGLONG" = "yes"; then
16805 cat >> confdefs.h
<<\EOF
16806 #define wxUSE_LONGLONG 1
16811 if test "$wxUSE_GEOMETRY" = "yes"; then
16812 cat >> confdefs.h
<<\EOF
16813 #define wxUSE_GEOMETRY 1
16818 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
16819 cat >> confdefs.h
<<\EOF
16820 #define wxUSE_DIALUP_MANAGER 1
16823 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
16826 if test "$wxUSE_STREAMS" = "yes" ; then
16827 cat >> confdefs.h
<<\EOF
16828 #define wxUSE_STREAMS 1
16834 if test "$wxUSE_DATETIME" = "yes"; then
16835 for ac_func
in strptime
16837 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16838 echo "configure:16839: checking for $ac_func" >&5
16839 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16840 echo $ac_n "(cached) $ac_c" 1>&6
16842 cat > conftest.
$ac_ext <<EOF
16843 #line 16844 "configure"
16844 #include "confdefs.h"
16845 /* System header to define __stub macros and hopefully few prototypes,
16846 which can conflict with char $ac_func(); below. */
16847 #include <assert.h>
16848 /* Override any gcc2 internal prototype to avoid an error. */
16849 /* We use char because int might match the return type of a gcc2
16850 builtin and then its argument prototype would still apply. */
16855 /* The GNU C library defines this for functions which it implements
16856 to always fail with ENOSYS. Some functions are actually named
16857 something starting with __ and the normal name is an alias. */
16858 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16866 if { (eval echo configure
:16867: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16868 eval "ac_cv_func_$ac_func=yes"
16870 echo "configure: failed program was:" >&5
16871 cat conftest.
$ac_ext >&5
16873 eval "ac_cv_func_$ac_func=no"
16878 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16879 echo "$ac_t""yes" 1>&6
16880 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16881 cat >> confdefs.h
<<EOF
16882 #define $ac_tr_func 1
16886 echo "$ac_t""no" 1>&6
16891 echo $ac_n "checking for timezone variable in <time.h>""... $ac_c" 1>&6
16892 echo "configure:16893: checking for timezone variable in <time.h>" >&5
16893 if eval "test \"`echo '$''{'wx_cv_var_timezone'+set}'`\" = set"; then
16894 echo $ac_n "(cached) $ac_c" 1>&6
16897 cat > conftest.
$ac_ext <<EOF
16898 #line 16899 "configure"
16899 #include "confdefs.h"
16910 if { (eval echo configure
:16911: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16913 wx_cv_var_timezone
=timezone
16916 echo "configure: failed program was:" >&5
16917 cat conftest.
$ac_ext >&5
16920 cat > conftest.
$ac_ext <<EOF
16921 #line 16922 "configure"
16922 #include "confdefs.h"
16933 if { (eval echo configure
:16934: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16936 wx_cv_var_timezone
=_timezone
16939 echo "configure: failed program was:" >&5
16940 cat conftest.
$ac_ext >&5
16943 cat > conftest.
$ac_ext <<EOF
16944 #line 16945 "configure"
16945 #include "confdefs.h"
16956 if { (eval echo configure
:16957: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16959 wx_cv_var_timezone
=__timezone
16962 echo "configure: failed program was:" >&5
16963 cat conftest.
$ac_ext >&5
16965 { echo "configure: error: no timezone variable" 1>&2; exit 1; }
16981 echo "$ac_t""$wx_cv_var_timezone" 1>&6
16983 cat >> confdefs.h
<<EOF
16984 #define WX_TIMEZONE $wx_cv_var_timezone
16988 for ac_func
in localtime
16990 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16991 echo "configure:16992: checking for $ac_func" >&5
16992 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16993 echo $ac_n "(cached) $ac_c" 1>&6
16995 cat > conftest.
$ac_ext <<EOF
16996 #line 16997 "configure"
16997 #include "confdefs.h"
16998 /* System header to define __stub macros and hopefully few prototypes,
16999 which can conflict with char $ac_func(); below. */
17000 #include <assert.h>
17001 /* Override any gcc2 internal prototype to avoid an error. */
17002 /* We use char because int might match the return type of a gcc2
17003 builtin and then its argument prototype would still apply. */
17008 /* The GNU C library defines this for functions which it implements
17009 to always fail with ENOSYS. Some functions are actually named
17010 something starting with __ and the normal name is an alias. */
17011 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17019 if { (eval echo configure
:17020: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17021 eval "ac_cv_func_$ac_func=yes"
17023 echo "configure: failed program was:" >&5
17024 cat conftest.
$ac_ext >&5
17026 eval "ac_cv_func_$ac_func=no"
17031 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17032 echo "$ac_t""yes" 1>&6
17033 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17034 cat >> confdefs.h
<<EOF
17035 #define $ac_tr_func 1
17039 echo "$ac_t""no" 1>&6
17044 if test "$ac_cv_func_localtime" = "yes"; then
17045 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
17046 echo "configure:17047: checking for tm_gmtoff in struct tm" >&5
17047 if eval "test \"`echo '$''{'wx_cv_struct_tm_has_gmtoff'+set}'`\" = set"; then
17048 echo $ac_n "(cached) $ac_c" 1>&6
17051 cat > conftest.
$ac_ext <<EOF
17052 #line 17053 "configure"
17053 #include "confdefs.h"
17064 if { (eval echo configure
:17065: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17067 wx_cv_struct_tm_has_gmtoff
=yes
17070 echo "configure: failed program was:" >&5
17071 cat conftest.
$ac_ext >&5
17073 wx_cv_struct_tm_has_gmtoff
=no
17080 echo "$ac_t""$wx_cv_struct_tm_has_gmtoff" 1>&6
17083 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
17084 cat >> confdefs.h
<<\EOF
17085 #define WX_GMTOFF_IN_TM 1
17090 for ac_func
in gettimeofday ftime
17092 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17093 echo "configure:17094: checking for $ac_func" >&5
17094 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17095 echo $ac_n "(cached) $ac_c" 1>&6
17097 cat > conftest.
$ac_ext <<EOF
17098 #line 17099 "configure"
17099 #include "confdefs.h"
17100 /* System header to define __stub macros and hopefully few prototypes,
17101 which can conflict with char $ac_func(); below. */
17102 #include <assert.h>
17103 /* Override any gcc2 internal prototype to avoid an error. */
17104 /* We use char because int might match the return type of a gcc2
17105 builtin and then its argument prototype would still apply. */
17110 /* The GNU C library defines this for functions which it implements
17111 to always fail with ENOSYS. Some functions are actually named
17112 something starting with __ and the normal name is an alias. */
17113 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17121 if { (eval echo configure
:17122: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17123 eval "ac_cv_func_$ac_func=yes"
17125 echo "configure: failed program was:" >&5
17126 cat conftest.
$ac_ext >&5
17128 eval "ac_cv_func_$ac_func=no"
17133 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17134 echo "$ac_t""yes" 1>&6
17135 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17136 cat >> confdefs.h
<<EOF
17137 #define $ac_tr_func 1
17141 echo "$ac_t""no" 1>&6
17146 if test "$ac_cv_func_gettimeofday" = "yes"; then
17147 echo $ac_n "checking whether gettimeofday takes two arguments""... $ac_c" 1>&6
17148 echo "configure:17149: checking whether gettimeofday takes two arguments" >&5
17149 if eval "test \"`echo '$''{'wx_cv_func_gettimeofday_has_2_args'+set}'`\" = set"; then
17150 echo $ac_n "(cached) $ac_c" 1>&6
17155 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17156 ac_cpp
='$CXXCPP $CPPFLAGS'
17157 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17158 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17159 cross_compiling
=$ac_cv_prog_cxx_cross
17162 cat > conftest.
$ac_ext <<EOF
17163 #line 17164 "configure"
17164 #include "confdefs.h"
17166 #include <sys/time.h>
17167 #include <unistd.h>
17172 gettimeofday(&tv, NULL);
17176 if { (eval echo configure
:17177: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17178 wx_cv_func_gettimeofday_has_2_args
=yes
17180 echo "configure: failed program was:" >&5
17181 cat conftest.
$ac_ext >&5
17183 cat > conftest.
$ac_ext <<EOF
17184 #line 17185 "configure"
17185 #include "confdefs.h"
17187 #include <sys/time.h>
17188 #include <unistd.h>
17197 if { (eval echo configure
:17198: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17199 wx_cv_func_gettimeofday_has_2_args
=no
17201 echo "configure: failed program was:" >&5
17202 cat conftest.
$ac_ext >&5
17205 echo "configure: warning: failed to determine number of gettimeofday() arguments" 1>&2
17206 wx_cv_func_gettimeofday_has_2_args
=unknown
17215 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17216 ac_cpp
='$CPP $CPPFLAGS'
17217 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17218 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17219 cross_compiling
=$ac_cv_prog_cc_cross
17224 echo "$ac_t""$wx_cv_func_gettimeofday_has_2_args" 1>&6
17226 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
17227 cat >> confdefs.h
<<\EOF
17228 #define WX_GETTIMEOFDAY_NO_TZ 1
17234 cat >> confdefs.h
<<\EOF
17235 #define wxUSE_TIMEDATE 1
17238 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
17242 if test "$TOOLKIT" != "MSW"; then
17244 if test "$wxUSE_SOCKETS" = "yes"; then
17245 echo $ac_n "checking for socket""... $ac_c" 1>&6
17246 echo "configure:17247: checking for socket" >&5
17247 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
17248 echo $ac_n "(cached) $ac_c" 1>&6
17250 cat > conftest.
$ac_ext <<EOF
17251 #line 17252 "configure"
17252 #include "confdefs.h"
17253 /* System header to define __stub macros and hopefully few prototypes,
17254 which can conflict with char socket(); below. */
17255 #include <assert.h>
17256 /* Override any gcc2 internal prototype to avoid an error. */
17257 /* We use char because int might match the return type of a gcc2
17258 builtin and then its argument prototype would still apply. */
17263 /* The GNU C library defines this for functions which it implements
17264 to always fail with ENOSYS. Some functions are actually named
17265 something starting with __ and the normal name is an alias. */
17266 #if defined (__stub_socket) || defined (__stub___socket)
17274 if { (eval echo configure
:17275: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17276 eval "ac_cv_func_socket=yes"
17278 echo "configure: failed program was:" >&5
17279 cat conftest.
$ac_ext >&5
17281 eval "ac_cv_func_socket=no"
17286 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
17287 echo "$ac_t""yes" 1>&6
17290 echo "$ac_t""no" 1>&6
17291 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
17292 echo "configure:17293: checking for socket in -lsocket" >&5
17293 ac_lib_var
=`echo socket'_'socket | sed 'y%./+-%__p_%'`
17294 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17295 echo $ac_n "(cached) $ac_c" 1>&6
17297 ac_save_LIBS
="$LIBS"
17298 LIBS
="-lsocket $LIBS"
17299 cat > conftest.
$ac_ext <<EOF
17300 #line 17301 "configure"
17301 #include "confdefs.h"
17302 /* Override any gcc2 internal prototype to avoid an error. */
17303 /* We use char because int might match the return type of a gcc2
17304 builtin and then its argument prototype would still apply. */
17311 if { (eval echo configure
:17312: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17313 eval "ac_cv_lib_$ac_lib_var=yes"
17315 echo "configure: failed program was:" >&5
17316 cat conftest.
$ac_ext >&5
17318 eval "ac_cv_lib_$ac_lib_var=no"
17321 LIBS
="$ac_save_LIBS"
17324 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17325 echo "$ac_t""yes" 1>&6
17326 INET_LINK
="$INET_LINK -lsocket"
17328 echo "$ac_t""no" 1>&6
17330 echo "configure: warning: socket library not found - sockets will be disabled" 1>&2
17342 if test "$wxUSE_SOCKETS" = "yes" ; then
17343 echo $ac_n "checking what is the type of the third argument of getsockname""... $ac_c" 1>&6
17344 echo "configure:17345: checking what is the type of the third argument of getsockname" >&5
17345 if eval "test \"`echo '$''{'wx_cv_type_getsockname3'+set}'`\" = set"; then
17346 echo $ac_n "(cached) $ac_c" 1>&6
17351 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17352 ac_cpp
='$CXXCPP $CPPFLAGS'
17353 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17354 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17355 cross_compiling
=$ac_cv_prog_cxx_cross
17358 cat > conftest.
$ac_ext <<EOF
17359 #line 17360 "configure"
17360 #include "confdefs.h"
17362 #include <sys/types.h>
17363 #include <sys/socket.h>
17368 getsockname(0, 0, &len);
17372 if { (eval echo configure
:17373: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17374 wx_cv_type_getsockname3
=socklen_t
17376 echo "configure: failed program was:" >&5
17377 cat conftest.
$ac_ext >&5
17379 cat > conftest.
$ac_ext <<EOF
17380 #line 17381 "configure"
17381 #include "confdefs.h"
17383 #include <sys/types.h>
17384 #include <sys/socket.h>
17389 getsockname(0, 0, &len);
17393 if { (eval echo configure
:17394: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17395 wx_cv_type_getsockname3
=size_t
17397 echo "configure: failed program was:" >&5
17398 cat conftest.
$ac_ext >&5
17400 cat > conftest.
$ac_ext <<EOF
17401 #line 17402 "configure"
17402 #include "confdefs.h"
17404 #include <sys/types.h>
17405 #include <sys/socket.h>
17410 getsockname(0, 0, &len);
17414 if { (eval echo configure
:17415: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17416 wx_cv_type_getsockname3
=int
17418 echo "configure: failed program was:" >&5
17419 cat conftest.
$ac_ext >&5
17421 wx_cv_type_getsockname3
=unknown
17433 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17434 ac_cpp
='$CPP $CPPFLAGS'
17435 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17436 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17437 cross_compiling
=$ac_cv_prog_cc_cross
17442 echo "$ac_t""$wx_cv_type_getsockname3" 1>&6
17444 if test "$wx_cv_type_getsockname3" = "unknown"; then
17446 echo "configure: warning: Couldn't find socklen_t synonym for this system" 1>&2
17448 cat >> confdefs.h
<<EOF
17449 #define SOCKLEN_T $wx_cv_type_getsockname3
17456 if test "$wxUSE_SOCKETS" = "yes" ; then
17457 cat >> confdefs.h
<<\EOF
17458 #define wxUSE_SOCKETS 1
17461 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
17465 if test "$wxUSE_GUI" = "yes"; then
17467 if test "$TOOLKIT" = "MAC"; then
17468 echo "configure: warning: Joystick not yet supported under Mac OS X... disabled" 1>&2
17471 if test "$TOOLKIT" = "MOTIF"; then
17472 echo "configure: warning: Joystick not yet supported under Motif... disabled" 1>&2
17476 if test "$TOOLKIT" != "MSW"; then
17477 if test "$wxUSE_JOYSTICK" = "yes"; then
17478 for ac_hdr
in linux
/joystick.h
17480 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
17481 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
17482 echo "configure:17483: checking for $ac_hdr" >&5
17483 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17484 echo $ac_n "(cached) $ac_c" 1>&6
17486 cat > conftest.
$ac_ext <<EOF
17487 #line 17488 "configure"
17488 #include "confdefs.h"
17491 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17492 { (eval echo configure
:17493: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17493 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17494 if test -z "$ac_err"; then
17496 eval "ac_cv_header_$ac_safe=yes"
17499 echo "configure: failed program was:" >&5
17500 cat conftest.
$ac_ext >&5
17502 eval "ac_cv_header_$ac_safe=no"
17506 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17507 echo "$ac_t""yes" 1>&6
17508 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
17509 cat >> confdefs.h
<<EOF
17510 #define $ac_tr_hdr 1
17514 echo "$ac_t""no" 1>&6
17518 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
17520 echo "configure: warning: Joystick not supported by this system... disabled" 1>&2
17525 if test "$wxUSE_JOYSTICK" = "yes"; then
17526 cat >> confdefs.h
<<\EOF
17527 #define wxUSE_JOYSTICK 1
17530 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
17535 if test "$TOOLKIT" != "MSW"; then
17539 if test "$wxUSE_DYNLIB_CLASS" = "yes"; then
17540 if test "$USE_DARWIN" = 1; then
17543 for ac_func
in dlopen
17545 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17546 echo "configure:17547: checking for $ac_func" >&5
17547 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17548 echo $ac_n "(cached) $ac_c" 1>&6
17550 cat > conftest.
$ac_ext <<EOF
17551 #line 17552 "configure"
17552 #include "confdefs.h"
17553 /* System header to define __stub macros and hopefully few prototypes,
17554 which can conflict with char $ac_func(); below. */
17555 #include <assert.h>
17556 /* Override any gcc2 internal prototype to avoid an error. */
17557 /* We use char because int might match the return type of a gcc2
17558 builtin and then its argument prototype would still apply. */
17563 /* The GNU C library defines this for functions which it implements
17564 to always fail with ENOSYS. Some functions are actually named
17565 something starting with __ and the normal name is an alias. */
17566 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17574 if { (eval echo configure
:17575: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17576 eval "ac_cv_func_$ac_func=yes"
17578 echo "configure: failed program was:" >&5
17579 cat conftest.
$ac_ext >&5
17581 eval "ac_cv_func_$ac_func=no"
17586 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17587 echo "$ac_t""yes" 1>&6
17588 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17589 cat >> confdefs.h
<<EOF
17590 #define $ac_tr_func 1
17593 cat >> confdefs.h
<<\EOF
17594 #define HAVE_DLOPEN 1
17600 echo "$ac_t""no" 1>&6
17601 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
17602 echo "configure:17603: checking for dlopen in -ldl" >&5
17603 ac_lib_var
=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
17604 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17605 echo $ac_n "(cached) $ac_c" 1>&6
17607 ac_save_LIBS
="$LIBS"
17609 cat > conftest.
$ac_ext <<EOF
17610 #line 17611 "configure"
17611 #include "confdefs.h"
17612 /* Override any gcc2 internal prototype to avoid an error. */
17613 /* We use char because int might match the return type of a gcc2
17614 builtin and then its argument prototype would still apply. */
17621 if { (eval echo configure
:17622: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17623 eval "ac_cv_lib_$ac_lib_var=yes"
17625 echo "configure: failed program was:" >&5
17626 cat conftest.
$ac_ext >&5
17628 eval "ac_cv_lib_$ac_lib_var=no"
17631 LIBS
="$ac_save_LIBS"
17634 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17635 echo "$ac_t""yes" 1>&6
17637 cat >> confdefs.h
<<\EOF
17638 #define HAVE_DLOPEN 1
17642 DL_LINK
=" -ldl$DL_LINK"
17645 echo "$ac_t""no" 1>&6
17647 for ac_func
in shl_load
17649 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17650 echo "configure:17651: checking for $ac_func" >&5
17651 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17652 echo $ac_n "(cached) $ac_c" 1>&6
17654 cat > conftest.
$ac_ext <<EOF
17655 #line 17656 "configure"
17656 #include "confdefs.h"
17657 /* System header to define __stub macros and hopefully few prototypes,
17658 which can conflict with char $ac_func(); below. */
17659 #include <assert.h>
17660 /* Override any gcc2 internal prototype to avoid an error. */
17661 /* We use char because int might match the return type of a gcc2
17662 builtin and then its argument prototype would still apply. */
17667 /* The GNU C library defines this for functions which it implements
17668 to always fail with ENOSYS. Some functions are actually named
17669 something starting with __ and the normal name is an alias. */
17670 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17678 if { (eval echo configure
:17679: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17680 eval "ac_cv_func_$ac_func=yes"
17682 echo "configure: failed program was:" >&5
17683 cat conftest.
$ac_ext >&5
17685 eval "ac_cv_func_$ac_func=no"
17690 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17691 echo "$ac_t""yes" 1>&6
17692 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17693 cat >> confdefs.h
<<EOF
17694 #define $ac_tr_func 1
17697 cat >> confdefs.h
<<\EOF
17698 #define HAVE_SHL_LOAD 1
17704 echo "$ac_t""no" 1>&6
17705 echo $ac_n "checking for dld in -lshl_load""... $ac_c" 1>&6
17706 echo "configure:17707: checking for dld in -lshl_load" >&5
17707 ac_lib_var
=`echo shl_load'_'dld | sed 'y%./+-%__p_%'`
17708 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17709 echo $ac_n "(cached) $ac_c" 1>&6
17711 ac_save_LIBS
="$LIBS"
17712 LIBS
="-lshl_load $LIBS"
17713 cat > conftest.
$ac_ext <<EOF
17714 #line 17715 "configure"
17715 #include "confdefs.h"
17716 /* Override any gcc2 internal prototype to avoid an error. */
17717 /* We use char because int might match the return type of a gcc2
17718 builtin and then its argument prototype would still apply. */
17725 if { (eval echo configure
:17726: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17727 eval "ac_cv_lib_$ac_lib_var=yes"
17729 echo "configure: failed program was:" >&5
17730 cat conftest.
$ac_ext >&5
17732 eval "ac_cv_lib_$ac_lib_var=no"
17735 LIBS
="$ac_save_LIBS"
17738 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17739 echo "$ac_t""yes" 1>&6
17742 DL_LINK
=" -ldld$DL_LINK"
17745 echo "$ac_t""no" 1>&6
17760 if test "$HAVE_DL_FUNCS" = 1; then
17761 for ac_func
in dlerror
17763 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17764 echo "configure:17765: checking for $ac_func" >&5
17765 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17766 echo $ac_n "(cached) $ac_c" 1>&6
17768 cat > conftest.
$ac_ext <<EOF
17769 #line 17770 "configure"
17770 #include "confdefs.h"
17771 /* System header to define __stub macros and hopefully few prototypes,
17772 which can conflict with char $ac_func(); below. */
17773 #include <assert.h>
17774 /* Override any gcc2 internal prototype to avoid an error. */
17775 /* We use char because int might match the return type of a gcc2
17776 builtin and then its argument prototype would still apply. */
17781 /* The GNU C library defines this for functions which it implements
17782 to always fail with ENOSYS. Some functions are actually named
17783 something starting with __ and the normal name is an alias. */
17784 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17792 if { (eval echo configure
:17793: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17794 eval "ac_cv_func_$ac_func=yes"
17796 echo "configure: failed program was:" >&5
17797 cat conftest.
$ac_ext >&5
17799 eval "ac_cv_func_$ac_func=no"
17804 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17805 echo "$ac_t""yes" 1>&6
17806 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17807 cat >> confdefs.h
<<EOF
17808 #define $ac_tr_func 1
17810 cat >> confdefs.h
<<\EOF
17811 #define HAVE_DLERROR 1
17815 echo "$ac_t""no" 1>&6
17816 echo $ac_n "checking for dlerror in -ldl""... $ac_c" 1>&6
17817 echo "configure:17818: checking for dlerror in -ldl" >&5
17818 ac_lib_var
=`echo dl'_'dlerror | sed 'y%./+-%__p_%'`
17819 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17820 echo $ac_n "(cached) $ac_c" 1>&6
17822 ac_save_LIBS
="$LIBS"
17824 cat > conftest.
$ac_ext <<EOF
17825 #line 17826 "configure"
17826 #include "confdefs.h"
17827 /* Override any gcc2 internal prototype to avoid an error. */
17828 /* We use char because int might match the return type of a gcc2
17829 builtin and then its argument prototype would still apply. */
17836 if { (eval echo configure
:17837: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17838 eval "ac_cv_lib_$ac_lib_var=yes"
17840 echo "configure: failed program was:" >&5
17841 cat conftest.
$ac_ext >&5
17843 eval "ac_cv_lib_$ac_lib_var=no"
17846 LIBS
="$ac_save_LIBS"
17849 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17850 echo "$ac_t""yes" 1>&6
17851 cat >> confdefs.h
<<\EOF
17852 #define HAVE_DLERROR 1
17856 echo "$ac_t""no" 1>&6
17865 if test "$HAVE_DL_FUNCS" = 0; then
17866 if test "$HAVE_SHL_FUNCS" = 0; then
17867 if test "$USE_UNIX" = 1; then
17868 echo "configure: warning: Missing dynamic loading support, several features will be disabled" 1>&2
17869 wxUSE_DYNLIB_CLASS
=no
17871 echo "configure: warning: Assuming wxLibrary class works on this platform" 1>&2
17878 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
17879 cat >> confdefs.h
<<\EOF
17880 #define wxUSE_DYNLIB_CLASS 1
17889 if test "$wxUSE_FONTMAP" = "yes" ; then
17890 cat >> confdefs.h
<<\EOF
17891 #define wxUSE_FONTMAP 1
17896 if test "$wxUSE_UNICODE" = "yes" ; then
17897 cat >> confdefs.h
<<\EOF
17898 #define wxUSE_UNICODE 1
17903 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
17904 cat >> confdefs.h
<<\EOF
17905 #define wxUSE_EXPERIMENTAL_PRINTF 1
17911 if test "$wxUSE_SERIAL" = "yes" ; then
17912 cat >> confdefs.h
<<\EOF
17913 #define wxUSE_SERIAL 1
17920 if test "$wxUSE_ODBC" = "yes" ; then
17921 cat >> confdefs.h
<<\EOF
17922 #define wxUSE_ODBC 1
17925 WXODBCFLAG
="-D_IODBC_"
17926 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
17930 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
17931 cat >> confdefs.h
<<\EOF
17932 #define wxUSE_POSTSCRIPT 1
17937 cat >> confdefs.h
<<\EOF
17938 #define wxUSE_AFM_FOR_POSTSCRIPT 1
17942 cat >> confdefs.h
<<\EOF
17943 #define wxUSE_NORMALIZED_PS_FONTS 1
17948 if test "$wxUSE_CONSTRAINTS" = "yes"; then
17949 cat >> confdefs.h
<<\EOF
17950 #define wxUSE_CONSTRAINTS 1
17953 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
17956 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
17957 if test "$wxUSE_UNIVERSAL" = "yes"; then
17958 echo "configure: warning: MDI not yet supported for wxUNIVERSAL... disabled" 1>&2
17959 wxUSE_MDI_ARCHITECTURE
=no
17962 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
17963 cat >> confdefs.h
<<\EOF
17964 #define wxUSE_MDI_ARCHITECTURE 1
17967 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
17971 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
17972 cat >> confdefs.h
<<\EOF
17973 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
17976 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
17977 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
17978 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
17982 if test "$wxUSE_HELP" = "yes"; then
17983 cat >> confdefs.h
<<\EOF
17984 #define wxUSE_HELP 1
17987 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
17989 if test "$wxUSE_MSW" = 1; then
17990 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
17991 ac_safe
=`echo "htmlhelp.h" | sed 'y%./+-%__p_%'`
17992 echo $ac_n "checking for htmlhelp.h""... $ac_c" 1>&6
17993 echo "configure:17994: checking for htmlhelp.h" >&5
17994 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17995 echo $ac_n "(cached) $ac_c" 1>&6
17997 cat > conftest.
$ac_ext <<EOF
17998 #line 17999 "configure"
17999 #include "confdefs.h"
18000 #include <htmlhelp.h>
18002 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
18003 { (eval echo configure
:18004: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
18004 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
18005 if test -z "$ac_err"; then
18007 eval "ac_cv_header_$ac_safe=yes"
18010 echo "configure: failed program was:" >&5
18011 cat conftest.
$ac_ext >&5
18013 eval "ac_cv_header_$ac_safe=no"
18017 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
18018 echo "$ac_t""yes" 1>&6
18020 cat >> confdefs.h
<<\EOF
18021 #define wxUSE_MS_HTML_HELP 1
18026 echo "$ac_t""no" 1>&6
18028 echo "configure: warning: MS HTML Help cannot be used without htmlhelp.h... disabled" 1>&2
18029 wxUSE_MS_HTML_HELP
=no
18036 if test "$wxUSE_WXHTML_HELP" = "yes"; then
18037 if test "$wxUSE_HTML" = "yes"; then
18038 cat >> confdefs.h
<<\EOF
18039 #define wxUSE_WXHTML_HELP 1
18043 echo "configure: warning: Cannot use wxHTML-based help without wxHTML so it won't be compiled" 1>&2
18044 wxUSE_WXHTML_HELP
=no
18049 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
18050 if test "$wxUSE_CONSTRAINTS" != "yes"; then
18051 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
18053 cat >> confdefs.h
<<\EOF
18054 #define wxUSE_PRINTING_ARCHITECTURE 1
18058 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
18061 if test "$wxUSE_PROLOGIO" = "yes" ; then
18062 cat >> confdefs.h
<<\EOF
18063 #define wxUSE_PROLOGIO 1
18068 if test "$wxUSE_RESOURCES" = "yes" ; then
18069 cat >> confdefs.h
<<\EOF
18070 #define wxUSE_RESOURCES 1
18073 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS resource"
18076 if test "$wxUSE_X_RESOURCES" = "yes"; then
18077 cat >> confdefs.h
<<\EOF
18078 #define wxUSE_X_RESOURCES 1
18084 if test "$wxUSE_MSW" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
18085 -o "$wxUSE_CLIPBOARD" = "yes" \
18086 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
18087 for ac_hdr
in ole2.h
18089 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
18090 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
18091 echo "configure:18092: checking for $ac_hdr" >&5
18092 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
18093 echo $ac_n "(cached) $ac_c" 1>&6
18095 cat > conftest.
$ac_ext <<EOF
18096 #line 18097 "configure"
18097 #include "confdefs.h"
18100 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
18101 { (eval echo configure
:18102: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
18102 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
18103 if test -z "$ac_err"; then
18105 eval "ac_cv_header_$ac_safe=yes"
18108 echo "configure: failed program was:" >&5
18109 cat conftest.
$ac_ext >&5
18111 eval "ac_cv_header_$ac_safe=no"
18115 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
18116 echo "$ac_t""yes" 1>&6
18117 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
18118 cat >> confdefs.h
<<EOF
18119 #define $ac_tr_hdr 1
18123 echo "$ac_t""no" 1>&6
18128 if test "$ac_cv_header_ole2_h" = "yes" ; then
18129 if test "$GCC" = yes ; then
18130 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
18131 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
18132 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
18133 cat >> confdefs.h
<<\EOF
18134 #define wxUSE_OLE 1
18140 cat >> confdefs.h
<<\EOF
18141 #define wxUSE_DATAOBJ 1
18145 echo "configure: warning: Some features disabled because OLE headers not found" 1>&2
18148 wxUSE_DRAG_AND_DROP
=no
18152 if test "$wxUSE_METAFILE" = "yes"; then
18153 cat >> confdefs.h
<<\EOF
18154 #define wxUSE_METAFILE 1
18158 cat >> confdefs.h
<<\EOF
18159 #define wxUSE_ENH_METAFILE 1
18165 if test "$wxUSE_IPC" = "yes"; then
18166 if test "$wxUSE_SOCKETS" != "yes"; then
18167 echo "configure: warning: wxWindows IPC classes require sockets... disabled" 1>&2
18170 cat >> confdefs.h
<<\EOF
18171 #define wxUSE_IPC 1
18176 if test "$wxUSE_CLIPBOARD" = "yes"; then
18177 cat >> confdefs.h
<<\EOF
18178 #define wxUSE_CLIPBOARD 1
18182 cat >> confdefs.h
<<\EOF
18183 #define wxUSE_DATAOBJ 1
18188 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
18189 if test "$wxUSE_GTK" = 1; then
18190 if test "$WXGTK12" != 1; then
18191 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2... disabled" 1>&2
18192 wxUSE_DRAG_AND_DROP
=no
18196 if test "$wxUSE_MOTIF" = 1; then
18197 echo "configure: warning: Drag and drop not yet supported under Motif... disabled" 1>&2
18198 wxUSE_DRAG_AND_DROP
=no
18201 if test "$wxUSE_MAC" = 1; then
18202 echo "configure: warning: Drag and drop not yet supported under Mac OS X... disabled" 1>&2
18203 wxUSE_DRAG_AND_DROP
=no
18206 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
18207 cat >> confdefs.h
<<\EOF
18208 #define wxUSE_DRAG_AND_DROP 1
18211 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
18216 if test "$wxUSE_SPLINES" = "yes" ; then
18217 cat >> confdefs.h
<<\EOF
18218 #define wxUSE_SPLINES 1
18225 if test "$wxUSE_CONTROLS" = "yes"; then
18229 if test "$wxUSE_ACCEL" = "yes"; then
18230 cat >> confdefs.h
<<\EOF
18231 #define wxUSE_ACCEL 1
18237 if test "$wxUSE_BUTTON" = "yes"; then
18238 cat >> confdefs.h
<<\EOF
18239 #define wxUSE_BUTTON 1
18245 if test "$wxUSE_BMPBUTTON" = "yes"; then
18246 cat >> confdefs.h
<<\EOF
18247 #define wxUSE_BMPBUTTON 1
18253 if test "$wxUSE_CALCTRL" = "yes"; then
18254 cat >> confdefs.h
<<\EOF
18255 #define wxUSE_CALENDARCTRL 1
18259 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
18262 if test "$wxUSE_CARET" = "yes"; then
18263 cat >> confdefs.h
<<\EOF
18264 #define wxUSE_CARET 1
18268 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
18271 if test "$wxUSE_COMBOBOX" = "yes"; then
18272 cat >> confdefs.h
<<\EOF
18273 #define wxUSE_COMBOBOX 1
18279 if test "$wxUSE_CHOICE" = "yes"; then
18280 cat >> confdefs.h
<<\EOF
18281 #define wxUSE_CHOICE 1
18287 if test "$wxUSE_CHECKBOX" = "yes"; then
18288 cat >> confdefs.h
<<\EOF
18289 #define wxUSE_CHECKBOX 1
18295 if test "$wxUSE_CHECKLST" = "yes"; then
18296 cat >> confdefs.h
<<\EOF
18297 #define wxUSE_CHECKLISTBOX 1
18301 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
18304 if test "$wxUSE_GAUGE" = "yes"; then
18305 cat >> confdefs.h
<<\EOF
18306 #define wxUSE_GAUGE 1
18312 if test "$wxUSE_NEW_GRID" = "yes"; then
18314 cat >> confdefs.h
<<\EOF
18315 #define wxUSE_NEW_GRID 1
18319 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS newgrid"
18322 if test "$wxUSE_GRID" = "yes"; then
18323 cat >> confdefs.h
<<\EOF
18324 #define wxUSE_GRID 1
18328 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
18331 if test "$wxUSE_IMAGLIST" = "yes"; then
18332 cat >> confdefs.h
<<\EOF
18333 #define wxUSE_IMAGLIST 1
18338 if test "$wxUSE_LISTBOX" = "yes"; then
18339 cat >> confdefs.h
<<\EOF
18340 #define wxUSE_LISTBOX 1
18346 if test "$wxUSE_LISTCTRL" = "yes"; then
18347 if test "$wxUSE_IMAGLIST" = "yes"; then
18348 cat >> confdefs.h
<<\EOF
18349 #define wxUSE_LISTCTRL 1
18353 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
18355 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
18359 if test "$wxUSE_NOTEBOOK" = "yes"; then
18360 cat >> confdefs.h
<<\EOF
18361 #define wxUSE_NOTEBOOK 1
18365 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
18368 if test "$wxUSE_PROPSHEET" = "yes"; then
18369 cat >> confdefs.h
<<\EOF
18370 #define wxUSE_PROPSHEET 1
18374 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS proplist"
18377 if test "$wxUSE_RADIOBOX" = "yes"; then
18378 cat >> confdefs.h
<<\EOF
18379 #define wxUSE_RADIOBOX 1
18385 if test "$wxUSE_RADIOBTN" = "yes"; then
18386 cat >> confdefs.h
<<\EOF
18387 #define wxUSE_RADIOBTN 1
18393 if test "$wxUSE_SASH" = "yes"; then
18394 cat >> confdefs.h
<<\EOF
18395 #define wxUSE_SASH 1
18398 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
18401 if test "$wxUSE_SCROLLBAR" = "yes"; then
18402 cat >> confdefs.h
<<\EOF
18403 #define wxUSE_SCROLLBAR 1
18407 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
18410 if test "$wxUSE_SLIDER" = "yes"; then
18411 cat >> confdefs.h
<<\EOF
18412 #define wxUSE_SLIDER 1
18418 if test "$wxUSE_SPINBTN" = "yes"; then
18419 cat >> confdefs.h
<<\EOF
18420 #define wxUSE_SPINBTN 1
18426 if test "$wxUSE_SPINCTRL" = "yes"; then
18427 cat >> confdefs.h
<<\EOF
18428 #define wxUSE_SPINCTRL 1
18434 if test "$wxUSE_SPLITTER" = "yes"; then
18435 cat >> confdefs.h
<<\EOF
18436 #define wxUSE_SPLITTER 1
18439 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
18442 if test "$wxUSE_STATBMP" = "yes"; then
18443 cat >> confdefs.h
<<\EOF
18444 #define wxUSE_STATBMP 1
18450 if test "$wxUSE_STATBOX" = "yes"; then
18451 cat >> confdefs.h
<<\EOF
18452 #define wxUSE_STATBOX 1
18458 if test "$wxUSE_STATTEXT" = "yes"; then
18459 cat >> confdefs.h
<<\EOF
18460 #define wxUSE_STATTEXT 1
18466 if test "$wxUSE_STATLINE" = "yes"; then
18467 if test "$wxUSE_WINE" = 1 ; then
18468 echo "configure: warning: wxStaticLine is not supported under WINE" 1>&2
18470 cat >> confdefs.h
<<\EOF
18471 #define wxUSE_STATLINE 1
18478 if test "$wxUSE_STATUSBAR" = "yes"; then
18479 cat >> confdefs.h
<<\EOF
18480 #define wxUSE_STATUSBAR 1
18485 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
18488 if test "$wxUSE_TABDIALOG" = "yes"; then
18489 cat >> confdefs.h
<<\EOF
18490 #define wxUSE_TAB_DIALOG 1
18493 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
18496 if test "$wxUSE_TEXTCTRL" = "yes"; then
18497 cat >> confdefs.h
<<\EOF
18498 #define wxUSE_TEXTCTRL 1
18502 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
18505 if test "$wxUSE_TOGGLEBTN" = "yes"; then
18506 if test "$wxUSE_MAC" = 1; then
18507 echo "configure: warning: Toggle button not yet supported under Mac OS X... disabled" 1>&2
18510 if test "$wxUSE_UNIVERSAL" = "yes"; then
18511 echo "configure: warning: Toggle button not yet supported under wxUNIVERSAL... disabled" 1>&2
18515 if test "$wxUSE_TOGGLEBTN" = "yes"; then
18516 cat >> confdefs.h
<<\EOF
18517 #define wxUSE_TOGGLEBTN 1
18524 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
18525 cat >> confdefs.h
<<\EOF
18526 #define wxUSE_TOOLBAR_SIMPLE 1
18529 wxUSE_TOOLBAR
="yes"
18533 if test "$wxUSE_TOOLBAR" = "yes"; then
18534 cat >> confdefs.h
<<\EOF
18535 #define wxUSE_TOOLBAR 1
18540 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
18541 wxUSE_TOOLBAR_NATIVE
="yes"
18544 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
18545 cat >> confdefs.h
<<\EOF
18546 #define wxUSE_TOOLBAR_NATIVE 1
18552 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
18555 if test "$wxUSE_TOOLTIPS" = "yes"; then
18556 if test "$wxUSE_MOTIF" = 1; then
18557 echo "configure: warning: wxTooltip not supported yet under Motif... disabled" 1>&2
18559 if test "$wxUSE_WINE" = 1; then
18560 echo "configure: warning: wxTooltip not supported under WINE... disabled" 1>&2
18562 if test "$wxUSE_UNIVERSAL" = "yes"; then
18563 echo "configure: warning: wxTooltip not supported yet in wxUNIVERSAL... disabled" 1>&2
18565 cat >> confdefs.h
<<\EOF
18566 #define wxUSE_TOOLTIPS 1
18574 if test "$wxUSE_TREECTRL" = "yes"; then
18575 if test "$wxUSE_IMAGLIST" = "yes"; then
18576 cat >> confdefs.h
<<\EOF
18577 #define wxUSE_TREECTRL 1
18581 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
18583 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
18587 if test "$wxUSE_POPUPWIN" = "yes"; then
18588 if test "$wxUSE_MAC" = 1; then
18589 echo "configure: warning: Popup window not yet supported under Mac OS X... disabled" 1>&2
18591 if test "$wxUSE_MOTIF" = 1; then
18592 echo "configure: warning: wxPopupWindow not yet supported under Motif... disabled" 1>&2
18594 cat >> confdefs.h
<<\EOF
18595 #define wxUSE_POPUPWIN 1
18604 if test "$wxUSE_TIPWINDOW" = "yes"; then
18605 cat >> confdefs.h
<<\EOF
18606 #define wxUSE_TIPWINDOW 1
18611 if test "$USES_CONTROLS" = 1; then
18612 cat >> confdefs.h
<<\EOF
18613 #define wxUSE_CONTROLS 1
18619 if test "$wxUSE_TREELAYOUT" = "yes"; then
18620 cat >> confdefs.h
<<\EOF
18621 #define wxUSE_TREELAYOUT 1
18624 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treelay"
18627 if test "$wxUSE_DRAGIMAGE" = "yes"; then
18628 cat >> confdefs.h
<<\EOF
18629 #define wxUSE_DRAGIMAGE 1
18632 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
18635 if test "$wxUSE_MENUS" = "yes"; then
18636 cat >> confdefs.h
<<\EOF
18637 #define wxUSE_MENUS 1
18640 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
18643 if test "$wxUSE_METAFILE" = "yes"; then
18644 cat >> confdefs.h
<<\EOF
18645 #define wxUSE_METAFILE 1
18650 if test "$wxUSE_MIMETYPE" = "yes"; then
18651 cat >> confdefs.h
<<\EOF
18652 #define wxUSE_MIMETYPE 1
18657 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
18658 cat >> confdefs.h
<<\EOF
18659 #define wxUSE_SYSTEM_OPTIONS 1
18664 if test "$wxUSE_MINIFRAME" = "yes"; then
18665 cat >> confdefs.h
<<\EOF
18666 #define wxUSE_MINIFRAME 1
18669 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
18672 if test "$wxUSE_HTML" = "yes"; then
18673 cat >> confdefs.h
<<\EOF
18674 #define wxUSE_HTML 1
18677 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html"
18680 if test "$wxUSE_VALIDATORS" = "yes"; then
18681 cat >> confdefs.h
<<\EOF
18682 #define wxUSE_VALIDATORS 1
18685 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
18688 if test "$wxUSE_PALETTE" = "yes" ; then
18689 cat >> confdefs.h
<<\EOF
18690 #define wxUSE_PALETTE 1
18695 if test "$wxUSE_IMAGE" = "yes" ; then
18696 cat >> confdefs.h
<<\EOF
18697 #define wxUSE_IMAGE 1
18702 if test "$wxUSE_GIF" = "yes" ; then
18703 cat >> confdefs.h
<<\EOF
18704 #define wxUSE_GIF 1
18709 if test "$wxUSE_PCX" = "yes" ; then
18710 cat >> confdefs.h
<<\EOF
18711 #define wxUSE_PCX 1
18716 if test "$wxUSE_PNM" = "yes" ; then
18717 cat >> confdefs.h
<<\EOF
18718 #define wxUSE_PNM 1
18723 if test "$wxUSE_XPM" = "yes" ; then
18724 cat >> confdefs.h
<<\EOF
18725 #define wxUSE_XPM 1
18731 if test "$wxUSE_CHOICEDLG" = "yes"; then
18732 cat >> confdefs.h
<<\EOF
18733 #define wxUSE_CHOICEDLG 1
18738 if test "$wxUSE_COLOURDLG" = "yes"; then
18739 cat >> confdefs.h
<<\EOF
18740 #define wxUSE_COLOURDLG 1
18745 if test "$wxUSE_FILEDLG" = "yes"; then
18746 cat >> confdefs.h
<<\EOF
18747 #define wxUSE_FILEDLG 1
18752 if test "$wxUSE_FINDREPLDLG" = "yes"; then
18753 cat >> confdefs.h
<<\EOF
18754 #define wxUSE_FINDREPLDLG 1
18759 if test "$wxUSE_FONTDLG" = "yes"; then
18760 cat >> confdefs.h
<<\EOF
18761 #define wxUSE_FONTDLG 1
18766 if test "$wxUSE_DIRDLG" = "yes"; then
18767 if test "$wxUSE_CONSTRAINTS" != "yes"; then
18768 echo "configure: warning: wxDirDialog requires constraints so it won't be compiled without them" 1>&2
18770 if test "$wxUSE_TREECTRL" != "yes"; then
18771 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
18773 cat >> confdefs.h
<<\EOF
18774 #define wxUSE_DIRDLG 1
18781 if test "$wxUSE_MSGDLG" = "yes"; then
18782 cat >> confdefs.h
<<\EOF
18783 #define wxUSE_MSGDLG 1
18788 if test "$wxUSE_NUMBERDLG" = "yes"; then
18789 cat >> confdefs.h
<<\EOF
18790 #define wxUSE_NUMBERDLG 1
18795 if test "$wxUSE_PROGRESSDLG" = "yes"; then
18796 if test "$wxUSE_CONSTRAINTS" != "yes"; then
18797 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
18799 cat >> confdefs.h
<<\EOF
18800 #define wxUSE_PROGRESSDLG 1
18806 if test "$wxUSE_SPLASH" = "yes"; then
18807 cat >> confdefs.h
<<\EOF
18808 #define wxUSE_SPLASH 1
18813 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
18814 if test "$wxUSE_CONSTRAINTS" != "yes"; then
18815 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
18817 cat >> confdefs.h
<<\EOF
18818 #define wxUSE_STARTUP_TIPS 1
18824 if test "$wxUSE_TEXTDLG" = "yes"; then
18825 cat >> confdefs.h
<<\EOF
18826 #define wxUSE_TEXTDLG 1
18831 if test "$wxUSE_WIZARDDLG" = "yes"; then
18832 cat >> confdefs.h
<<\EOF
18833 #define wxUSE_WIZARDDLG 1
18836 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
18840 if test "$cross_compiling" = "yes"; then
18843 OSINFO
=`uname -s -r -m`
18844 OSINFO
="\"$OSINFO\""
18847 cat >> confdefs.h
<<EOF
18848 #define WXWIN_OS_DESCRIPTION $OSINFO
18853 if test "x$prefix" != "xNONE"; then
18856 wxPREFIX
=$ac_default_prefix
18859 cat >> confdefs.h
<<EOF
18860 #define wxINSTALL_PREFIX "$wxPREFIX"
18867 if test "$wxUSE_MAC" = 1 ; then
18868 LDFLAGS
="$LDFLAGS -framework Carbon -framework System"
18872 LIBS
="$ZLIB_LINK$POSIX4_LINK$INET_LINK$WCHAR_LINK$THREADS_LINK$DL_LINK -lm$LIBS"
18874 if test "$wxUSE_GUI" = "yes"; then
18876 LIBS
=" $GUI_TK_LIBRARY$PNG_LINK$JPEG_LINK$TIFF_LINK$FREETYPE_LINK$LIBS"
18879 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS controls dialogs \
18880 drawing dynamic erase event exec font image \
18881 minimal richedit rotate widgets"
18883 CPPFLAGS
="$CPPFLAGS \$(EXTRADEFS) \$(APPEXTRADEFS)"
18885 SAMPLES_SUBDIRS
="console"
18889 INCLUDES
="-I\${top_builddir}/lib/wx/include/${TOOLCHAIN_NAME} -I\${top_srcdir}/include \
18890 $REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \
18891 $FREETYPE_INCLUDE $TOOLKIT_INCLUDE"
18893 if test "$wxUSE_GTK" = 1; then
18896 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
18899 if test "$GXX" = yes ; then
18900 CXXWARNINGS
="-Wall"
18902 if test "$wxUSE_NO_DEPS" = "no" ; then
18903 CFLAGS
="-MMD $CFLAGS"
18904 CXXFLAGS
="-MMD $CXXFLAGS"
18908 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG$PROFILE $OPTIMISE $INCLUDES"
18910 CFLAGS
=`echo $CFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
18911 CXXFLAGS
=`echo $CXXFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
18913 LDFLAGS
="$LDFLAGS$PROFILE"
18915 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
19001 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
19002 echo "configure:19003: checking whether ${MAKE-make} sets \${MAKE}" >&5
19003 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
19004 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
19005 echo $ac_n "(cached) $ac_c" 1>&6
19007 cat > conftestmake
<<\EOF
19009 @
echo 'ac_maketemp="${MAKE}"'
19011 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
19012 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
19013 if test -n "$ac_maketemp"; then
19014 eval ac_cv_prog_make_
${ac_make}_set
=yes
19016 eval ac_cv_prog_make_
${ac_make}_set
=no
19020 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
19021 echo "$ac_t""yes" 1>&6
19024 echo "$ac_t""no" 1>&6
19025 SET_MAKE
="MAKE=${MAKE-make}"
19029 if test -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
; then
19030 mv -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h setup.h
19035 if test "$wxUSE_GUI" = "yes"; then
19036 wx_cv_path_samplesubdirs
=$SAMPLES_SUBDIRS
19037 wx_cv_path_ifs
=$PATH_IFS
19038 wx_cv_program_ext
=$PROGRAM_EXT
19039 wx_cv_target_library
=$WX_TARGET_LIBRARY
19040 wx_cv_target_library_gl
=$WX_TARGET_LIBRARY_GL
19041 wx_cv_target_libtype
=$WX_TARGET_LIBRARY_TYPE
19042 export wx_cv_path_samplesubdirs wx_cv_path_ifs wx_cv_program_ext \
19043 wx_cv_target_library wx_cv_target_library_gl wx_cv_target_libtype
19044 subdirs
="demos samples utils contrib"
19049 cat > confcache
<<\EOF
19050 # This file is a shell script that caches the results of configure
19051 # tests run on this system so they can be shared between configure
19052 # scripts and configure runs. It is not useful on other systems.
19053 # If it contains results you don't want to keep, you may remove or edit it.
19055 # By default, configure uses ./config.cache as the cache file,
19056 # creating it if it does not exist already. You can give configure
19057 # the --cache-file=FILE option to use a different cache file; that is
19058 # what configure does when it calls configure scripts in
19059 # subdirectories, so they share the cache.
19060 # Giving --cache-file=/dev/null disables caching, for debugging configure.
19061 # config.status only pays attention to the cache file if you give it the
19062 # --recheck option to rerun configure.
19065 # The following way of writing the cache mishandles newlines in values,
19066 # but we know of no workaround that is simple, portable, and efficient.
19067 # So, don't put newlines in cache variables' values.
19068 # Ultrix sh set writes to stderr and can't be redirected directly,
19069 # and sets the high bit in the cache file unless we assign to the vars.
19071 case `(ac_space=' '; set | grep ac_space) 2>&1` in
19073 # `set' does not quote correctly, so add quotes (double-quote substitution
19074 # turns \\\\ into \\, and sed turns \\ into \).
19076 -e "s/'/'\\\\''/g" \
19077 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
19080 # `set' quotes correctly as required by POSIX, so do not add quotes.
19081 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
19084 if cmp -s $cache_file confcache
; then
19087 if test -w $cache_file; then
19088 echo "updating cache $cache_file"
19089 cat confcache
> $cache_file
19091 echo "not updating unwritable cache $cache_file"
19096 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
19098 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
19099 # Let make expand exec_prefix.
19100 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
19102 # Any assignment to VPATH causes Sun make to only execute
19103 # the first set of double-colon rules, so remove it if not needed.
19104 # If there is a colon in the path, we need to keep it.
19105 if test "x$srcdir" = x.
; then
19106 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
19109 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
19111 DEFS
=-DHAVE_CONFIG_H
19113 # Without the "./", some shells look in PATH for config.status.
19114 : ${CONFIG_STATUS=./config.status}
19116 echo creating
$CONFIG_STATUS
19117 rm -f $CONFIG_STATUS
19118 cat > $CONFIG_STATUS <<EOF
19120 # Generated automatically by configure.
19121 # Run this file to recreate the current configuration.
19122 # This directory was configured as follows,
19123 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19125 # $0 $ac_configure_args
19127 # Compiler output produced by configure, useful for debugging
19128 # configure, is in ./config.log if it exists.
19130 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
19133 case "\$ac_option" in
19134 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19135 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
19136 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
19137 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
19138 echo "$CONFIG_STATUS generated by autoconf version 2.13"
19140 -help | --help | --hel | --he | --h)
19141 echo "\$ac_cs_usage"; exit 0 ;;
19142 *) echo "\$ac_cs_usage"; exit 1 ;;
19146 ac_given_srcdir=$srcdir
19147 ac_given_INSTALL="$INSTALL"
19149 trap 'rm -fr `echo "
19155 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
19157 cat >> $CONFIG_STATUS <<EOF
19159 # Protect against being on the right side of a sed subst in config.status.
19160 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
19161 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
19165 s%@CFLAGS@%$CFLAGS%g
19166 s%@CPPFLAGS@%$CPPFLAGS%g
19167 s%@CXXFLAGS@%$CXXFLAGS%g
19168 s%@FFLAGS@%$FFLAGS%g
19170 s%@LDFLAGS@%$LDFLAGS%g
19172 s%@exec_prefix@%$exec_prefix%g
19173 s%@prefix@%$prefix%g
19174 s%@program_transform_name@%$program_transform_name%g
19175 s%@bindir@%$bindir%g
19176 s%@sbindir@%$sbindir%g
19177 s%@libexecdir@%$libexecdir%g
19178 s%@datadir@%$datadir%g
19179 s%@sysconfdir@%$sysconfdir%g
19180 s%@sharedstatedir@%$sharedstatedir%g
19181 s%@localstatedir@%$localstatedir%g
19182 s%@libdir@%$libdir%g
19183 s%@includedir@%$includedir%g
19184 s%@oldincludedir@%$oldincludedir%g
19185 s%@infodir@%$infodir%g
19186 s%@mandir@%$mandir%g
19188 s%@host_alias@%$host_alias%g
19189 s%@host_cpu@%$host_cpu%g
19190 s%@host_vendor@%$host_vendor%g
19191 s%@host_os@%$host_os%g
19192 s%@target@%$target%g
19193 s%@target_alias@%$target_alias%g
19194 s%@target_cpu@%$target_cpu%g
19195 s%@target_vendor@%$target_vendor%g
19196 s%@target_os@%$target_os%g
19198 s%@build_alias@%$build_alias%g
19199 s%@build_cpu@%$build_cpu%g
19200 s%@build_vendor@%$build_vendor%g
19201 s%@build_os@%$build_os%g
19205 s%@RANLIB@%$RANLIB%g
19207 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
19208 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
19209 s%@INSTALL_DATA@%$INSTALL_DATA%g
19213 s%@LEXLIB@%$LEXLIB%g
19215 s%@GTK_CONFIG_2_0@%$GTK_CONFIG_2_0%g
19216 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
19217 s%@GTK_LIBS@%$GTK_LIBS%g
19218 s%@GTK_CONFIG@%$GTK_CONFIG%g
19219 s%@X_CFLAGS@%$X_CFLAGS%g
19220 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
19221 s%@X_LIBS@%$X_LIBS%g
19222 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
19223 s%@RESCOMP@%$RESCOMP%g
19225 s%@CXXCPP@%$CXXCPP%g
19226 s%@LEX_STEM@%$LEX_STEM%g
19227 s%@PATH_IFS@%$PATH_IFS%g
19228 s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
19229 s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
19230 s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
19231 s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
19232 s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
19233 s%@WX_LIBRARY_IMPORTLIB@%$WX_LIBRARY_IMPORTLIB%g
19234 s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
19235 s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
19236 s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
19237 s%@PROGRAM_EXT@%$PROGRAM_EXT%g
19238 s%@WX_LIBRARY_NAME_STATIC_GL@%$WX_LIBRARY_NAME_STATIC_GL%g
19239 s%@WX_LIBRARY_NAME_SHARED_GL@%$WX_LIBRARY_NAME_SHARED_GL%g
19240 s%@WX_TARGET_LIBRARY_GL@%$WX_TARGET_LIBRARY_GL%g
19241 s%@WX_LIBRARY_LINK1_GL@%$WX_LIBRARY_LINK1_GL%g
19242 s%@WX_LIBRARY_LINK2_GL@%$WX_LIBRARY_LINK2_GL%g
19243 s%@WX_ALL@%$WX_ALL%g
19244 s%@WX_ALL_INSTALLED@%$WX_ALL_INSTALLED%g
19245 s%@SHARED_LD@%$SHARED_LD%g
19246 s%@PIC_FLAG@%$PIC_FLAG%g
19247 s%@CODE_GEN_FLAGS@%$CODE_GEN_FLAGS%g
19248 s%@CODE_GEN_FLAGS_CXX@%$CODE_GEN_FLAGS_CXX%g
19249 s%@SONAME_FLAGS@%$SONAME_FLAGS%g
19250 s%@SONAME_FLAGS_GL@%$SONAME_FLAGS_GL%g
19251 s%@WX_TARGET_LIBRARY_SONAME@%$WX_TARGET_LIBRARY_SONAME%g
19252 s%@WX_TARGET_LIBRARY_TYPE@%$WX_TARGET_LIBRARY_TYPE%g
19253 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
19254 s%@USE_GUI@%$USE_GUI%g
19255 s%@AFMINSTALL@%$AFMINSTALL%g
19256 s%@TOOLKIT@%$TOOLKIT%g
19257 s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
19258 s%@TOOLKIT_VPATH@%$TOOLKIT_VPATH%g
19259 s%@TOOLCHAIN_NAME@%$TOOLCHAIN_NAME%g
19260 s%@TOOLCHAIN_DEFS@%$TOOLCHAIN_DEFS%g
19261 s%@TOOLCHAIN_DLL_DEFS@%$TOOLCHAIN_DLL_DEFS%g
19262 s%@cross_compiling@%$cross_compiling%g
19263 s%@WXCONFIG_LIBS@%$WXCONFIG_LIBS%g
19264 s%@WXCONFIG_LIBS_GL@%$WXCONFIG_LIBS_GL%g
19265 s%@WXCONFIG_LIBS_STATIC@%$WXCONFIG_LIBS_STATIC%g
19266 s%@WXCONFIG_LIBS_STATIC_GL@%$WXCONFIG_LIBS_STATIC_GL%g
19267 s%@WXCONFIG_INCLUDE@%$WXCONFIG_INCLUDE%g
19268 s%@ALL_OBJECTS@%$ALL_OBJECTS%g
19269 s%@GUIDIST@%$GUIDIST%g
19270 s%@PORT_FILES@%$PORT_FILES%g
19271 s%@DISTDIR@%$DISTDIR%g
19272 s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
19273 s%@LDFLAGS_GL@%$LDFLAGS_GL%g
19274 s%@OPENGL_LIBS@%$OPENGL_LIBS%g
19275 s%@DMALLOC_LIBS@%$DMALLOC_LIBS%g
19276 s%@EXTRADEFS@%$EXTRADEFS%g
19277 s%@RESFLAGS@%$RESFLAGS%g
19278 s%@RESPROGRAMOBJ@%$RESPROGRAMOBJ%g
19279 s%@WX_RESOURCES_MACOSX@%$WX_RESOURCES_MACOSX%g
19280 s%@WX_RESOURCES_MACOSX_COMPILED@%$WX_RESOURCES_MACOSX_COMPILED%g
19281 s%@LIBWXMACRES@%$LIBWXMACRES%g
19282 s%@LIBWXMACRESCOMP@%$LIBWXMACRESCOMP%g
19283 s%@LIBWXMACRESWXCONFIG@%$LIBWXMACRESWXCONFIG%g
19284 s%@DLLTOOL@%$DLLTOOL%g
19288 s%@MAKEINFO@%$MAKEINFO%g
19289 s%@INSTALL_LIBRARY@%$INSTALL_LIBRARY%g
19290 s%@SET_MAKE@%$SET_MAKE%g
19291 s%@subdirs@%$subdirs%g
19296 cat >> $CONFIG_STATUS <<\EOF
19298 # Split the substitutions into bite-sized pieces for seds with
19299 # small command number limits, like on Digital OSF/1 and HP-UX.
19300 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
19301 ac_file
=1 # Number of current file.
19302 ac_beg
=1 # First line for current file.
19303 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
19306 while $ac_more_lines; do
19307 if test $ac_beg -gt 1; then
19308 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
19310 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
19312 if test ! -s conftest.s
$ac_file; then
19313 ac_more_lines
=false
19314 rm -f conftest.s
$ac_file
19316 if test -z "$ac_sed_cmds"; then
19317 ac_sed_cmds
="sed -f conftest.s$ac_file"
19319 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
19321 ac_file
=`expr $ac_file + 1`
19323 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
19326 if test -z "$ac_sed_cmds"; then
19331 cat >> $CONFIG_STATUS <<EOF
19333 CONFIG_FILES=\${CONFIG_FILES-"wx-config
19340 cat >> $CONFIG_STATUS <<\EOF
19341 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
19342 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
19344 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
19345 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
19346 *) ac_file_in
="${ac_file}.in" ;;
19349 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
19351 # Remove last slash and all that follows it. Not all systems have dirname.
19352 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
19353 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
19354 # The file is in a subdirectory.
19355 test ! -d "$ac_dir" && mkdir "$ac_dir"
19356 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
19357 # A "../" for each directory in $ac_dir_suffix.
19358 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
19360 ac_dir_suffix
= ac_dots
=
19363 case "$ac_given_srcdir" in
19365 if test -z "$ac_dots"; then top_srcdir
=.
19366 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
19367 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
19368 *) # Relative path.
19369 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
19370 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
19373 case "$ac_given_INSTALL" in
19374 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
19375 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
19378 echo creating
"$ac_file"
19380 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
19382 *Makefile
*) ac_comsub
="1i\\
19383 # $configure_input" ;;
19387 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
19389 s%@configure_input@%$configure_input%g
19390 s%@srcdir@%$srcdir%g
19391 s%@top_srcdir@%$top_srcdir%g
19392 s%@INSTALL@%$INSTALL%g
19393 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
19397 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
19398 # NAME is the cpp macro being defined and VALUE is the value it is being given.
19400 # ac_d sets the value in "#define NAME VALUE" lines.
19401 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
19402 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
19405 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
19406 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
19407 ac_uB
='\([ ]\)%\1#\2define\3'
19410 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
19411 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
19412 ac_eB
='$%\1#\2define\3'
19416 if test "${CONFIG_HEADERS+set}" != set; then
19418 cat >> $CONFIG_STATUS <<EOF
19419 CONFIG_HEADERS="setup.h:setup.h.in"
19421 cat >> $CONFIG_STATUS <<\EOF
19423 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
19424 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
19426 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
19427 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
19428 *) ac_file_in
="${ac_file}.in" ;;
19431 echo creating
$ac_file
19433 rm -f conftest.frag conftest.
in conftest.out
19434 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
19435 cat $ac_file_inputs > conftest.
in
19439 # Transform confdefs.h into a sed script conftest.vals that substitutes
19440 # the proper values into config.h.in to produce config.h. And first:
19441 # Protect against being on the right side of a sed subst in config.status.
19442 # Protect against being in an unquoted here document in config.status.
19443 rm -f conftest.vals
19444 cat > conftest.hdr
<<\EOF
19447 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
19451 sed -n -f conftest.hdr confdefs.h > conftest.vals
19454 # This sed command replaces #undef with comments. This is necessary, for
19455 # example, in the case of _POSIX_SOURCE, which is predefined and required
19456 # on some systems where configure will not decide to define it.
19457 cat >> conftest.vals <<\EOF
19458 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
19461 # Break up conftest.vals because some shells have a limit on
19462 # the size of here documents, and old seds have small limits too.
19464 rm -f conftest.tail
19467 ac_lines=`grep -c . conftest.vals
`
19468 # grep -c gives empty output for an empty file on some AIX systems.
19469 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
19470 # Write a limited-size here document to conftest.frag.
19471 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
19472 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
19474 sed -f conftest.frag conftest.in > conftest.out
19476 mv conftest.out conftest.in
19477 ' >> $CONFIG_STATUS
19478 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
19479 rm -f conftest.vals
19480 mv conftest.tail conftest.vals
19482 rm -f conftest.vals
19484 cat >> $CONFIG_STATUS <<\EOF
19485 rm -f conftest.frag conftest.h
19486 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
19487 cat conftest.in >> conftest.h
19489 if cmp -s $ac_file conftest.h 2>/dev/null; then
19490 echo "$ac_file is unchanged"
19493 # Remove last slash and all that follows it. Not all systems have dirname.
19494 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
19495 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
19496 # The file is in a subdirectory.
19497 test ! -d "$ac_dir" && mkdir "$ac_dir"
19500 mv conftest.h $ac_file
19505 cat >> $CONFIG_STATUS <<EOF
19507 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
19512 cat >> $CONFIG_STATUS <<\EOF
19514 if test ! -h wx-config; then
19516 mv wx-config wx${TOOLCHAIN_NAME}-config
19517 ${LN_S} wx${TOOLCHAIN_NAME}-config wx-config
19520 if test ! -d lib; then
19523 if test ! -d lib/wx; then
19526 if test ! -d lib/wx/include; then
19527 mkdir lib/wx/include
19529 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}; then
19530 mkdir lib/wx/include/${TOOLCHAIN_NAME}
19532 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}/wx; then
19533 mkdir lib/wx/include/${TOOLCHAIN_NAME}/wx
19535 if test -f setup.h; then
19536 mv -f setup.h lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h
19541 chmod +x $CONFIG_STATUS
19542 rm -fr confdefs* $ac_clean_files
19543 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
19545 if test "$no_recursion" != yes; then
19547 # Remove --cache-file and --srcdir arguments so they do not pile up.
19548 ac_sub_configure_args=
19550 for ac_arg in $ac_configure_args; do
19551 if test -n "$ac_prev"; then
19556 -cache-file | --cache-file | --cache-fil | --cache-fi \
19557 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
19558 ac_prev=cache_file ;;
19559 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
19560 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
19562 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
19564 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
19566 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
19570 for ac_config_dir in demos samples utils contrib; do
19572 # Do not complain, so a configure script can configure whichever
19573 # parts of a large source tree are present.
19574 if test ! -d $srcdir/$ac_config_dir; then
19578 echo configuring in $ac_config_dir
19583 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
19585 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
19593 # A "../" for each directory in /$ac_config_dir.
19594 ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
19597 .) # No --srcdir option. We are building in place.
19598 ac_sub_srcdir=$srcdir ;;
19599 /*) # Absolute path.
19600 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
19601 *) # Relative path.
19602 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
19605 # Check for guested configure; otherwise get Cygnus style configure.
19606 if test -f $ac_sub_srcdir/configure; then
19607 ac_sub_configure=$ac_sub_srcdir/configure
19608 elif test -f $ac_sub_srcdir/configure.in; then
19609 ac_sub_configure=$ac_configure
19611 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
19615 # The recursion is here.
19616 if test -n "$ac_sub_configure"; then
19618 # Make the cache file name correct relative to the subdirectory.
19619 case "$cache_file" in
19620 /*) ac_sub_cache_file=$cache_file ;;
19621 *) # Relative path.
19622 ac_sub_cache_file="$ac_dots$cache_file" ;;
19624 case "$ac_given_INSTALL" in
19625 [/$]*) INSTALL="$ac_given_INSTALL" ;;
19626 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
19629 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
19630 # The eval makes quoting arguments work.
19631 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
19634 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }