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-dynamicloader use (new) wxDynamicLibrary class"
158 --enable-longlong use wxLongLong class"
160 --enable-geometry use geometry class"
162 --enable-log use logging system"
164 --enable-streams use wxStream etc classes"
166 --enable-file use wxFile classes"
168 --enable-ffile use wxFFile classes"
170 --enable-textbuf use wxTextBuffer class"
172 --enable-textfile use wxTextFile class"
174 --enable-fontmap use font encodings conversion classes"
176 --enable-unicode compile wxString with Unicode support"
178 --enable-wxprintfv use wxWindows implementation of vprintf()"
180 --enable-std_iostreams use standard C++ stream classes"
182 --enable-filesystem use virtual file systems classes"
184 --enable-fs_inet use virtual HTTP/FTP filesystems"
186 --enable-fs_zip use virtual ZIP filesystems"
188 --enable-zipstream use wxZipInputStream"
190 --enable-catch_segvs catch signals and pass them to wxApp::OnFatalException"
192 --enable-snglinst use wxSingleInstanceChecker class"
194 --enable-mimetype use wxMimeTypesManager"
196 --enable-sysoptions use wxSystemOptions"
198 --enable-threads use threads"
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
1057 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1059 CPP_MT_FLAG
=-D_REENTRANT
1061 ALL_TOOLKITS
="GTK MAC MGL MOTIF MSW PM WINE"
1066 DEFAULT_wxUSE_MOTIF
=0
1069 DEFAULT_wxUSE_WINE
=0
1071 DEFAULT_DEFAULT_wxUSE_GTK
=0
1072 DEFAULT_DEFAULT_wxUSE_MAC
=0
1073 DEFAULT_DEFAULT_wxUSE_MGL
=0
1074 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1075 DEFAULT_DEFAULT_wxUSE_MSW
=0
1076 DEFAULT_DEFAULT_wxUSE_PM
=0
1077 DEFAULT_DEFAULT_wxUSE_WINE
=0
1085 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1086 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1088 cat >> confdefs.h
<<\EOF
1095 cat >> confdefs.h
<<\EOF
1100 if test "x$TMP" = "xalpha"; then
1102 cat >> confdefs.h
<<\EOF
1107 DEFAULT_DEFAULT_wxUSE_GTK
=1
1109 *-*-irix5* | *-*-irix6* )
1112 cat >> confdefs.h
<<\EOF
1116 cat >> confdefs.h
<<\EOF
1120 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1126 cat >> confdefs.h
<<\EOF
1130 cat >> confdefs.h
<<\EOF
1131 #define __SOLARIS__ 1
1134 cat >> confdefs.h
<<\EOF
1138 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1139 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1145 cat >> confdefs.h
<<\EOF
1149 cat >> confdefs.h
<<\EOF
1153 cat >> confdefs.h
<<\EOF
1157 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1162 CPP_MT_FLAG
=-D_THREAD_SAFE
1163 cat >> confdefs.h
<<\EOF
1164 #define __FREEBSD__ 1
1167 cat >> confdefs.h
<<\EOF
1171 DEFAULT_DEFAULT_wxUSE_GTK
=1
1176 cat >> confdefs.h
<<\EOF
1177 #define __FREEBSD__ 1
1180 cat >> confdefs.h
<<\EOF
1181 #define __OPENBSD__ 1
1184 DEFAULT_DEFAULT_wxUSE_GTK
=1
1189 cat >> confdefs.h
<<\EOF
1190 #define __FREEBSD__ 1
1193 cat >> confdefs.h
<<\EOF
1194 #define __NETBSD__ 1
1197 DEFAULT_DEFAULT_wxUSE_GTK
=1
1202 cat >> confdefs.h
<<\EOF
1206 cat >> confdefs.h
<<\EOF
1210 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1211 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1216 cat >> confdefs.h
<<\EOF
1220 cat >> confdefs.h
<<\EOF
1224 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1229 cat >> confdefs.h
<<\EOF
1233 cat >> confdefs.h
<<\EOF
1237 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1243 cat >> confdefs.h
<<\EOF
1247 cat >> confdefs.h
<<\EOF
1251 cat >> confdefs.h
<<\EOF
1255 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1258 *-*-cygwin* | *-*-mingw32* )
1262 cat >> confdefs.h
<<\EOF
1266 cat >> confdefs.h
<<\EOF
1270 cat >> confdefs.h
<<\EOF
1271 #define __WINDOWS__ 1
1274 cat >> confdefs.h
<<\EOF
1275 #define __GNUWIN32__ 1
1278 cat >> confdefs.h
<<\EOF
1282 cat >> confdefs.h
<<\EOF
1283 #define WINVER 0x0400
1288 DEFAULT_DEFAULT_wxUSE_MSW
=1
1294 cat >> confdefs.h
<<\EOF
1299 DEFAULT_DEFAULT_wxUSE_MGL
=1
1300 DEFAULT_DEFAULT_wxUSE_SHARED
=0
1303 *-pc-os2_emx | *-pc-os2-emx )
1304 cat >> confdefs.h
<<\EOF
1309 DEFAULT_DEFAULT_wxUSE_PM
=1
1317 cat >> confdefs.h
<<\EOF
1321 cat >> confdefs.h
<<\EOF
1322 #define __DARWIN__ 1
1325 cat >> confdefs.h
<<\EOF
1326 #define __POWERPC__ 1
1329 DEFAULT_DEFAULT_wxUSE_MAC
=1
1334 cat >> confdefs.h
<<\EOF
1341 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
1344 if test "$USE_UNIX" = 1 ; then
1346 cat >> confdefs.h
<<\EOF
1352 if test "$USE_LINUX" = 1; then
1353 echo $ac_n "checking for glibc 2.1 or later""... $ac_c" 1>&6
1354 echo "configure:1355: checking for glibc 2.1 or later" >&5
1355 if eval "test \"`echo '$''{'wx_lib_glibc21'+set}'`\" = set"; then
1356 echo $ac_n "(cached) $ac_c" 1>&6
1358 cat > conftest.
$ac_ext <<EOF
1359 #line 1360 "configure"
1360 #include "confdefs.h"
1361 #include <features.h>
1364 #if !__GLIBC_PREREQ(2, 1)
1370 if { (eval echo configure
:1371: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1376 echo "configure: failed program was:" >&5
1377 cat conftest.
$ac_ext >&5
1388 echo "$ac_t""$wx_lib_glibc21" 1>&6
1389 if test "$wx_lib_glibc21" = "yes"; then
1390 cat >> confdefs.h
<<\EOF
1391 #define wxHAVE_GLIBC2 1
1400 wx_arg_cache_file
="configarg.cache"
1401 echo "loading argument cache $wx_arg_cache_file"
1402 rm -f ${wx_arg_cache_file}.tmp
1403 touch ${wx_arg_cache_file}.tmp
1404 touch ${wx_arg_cache_file}
1408 if test $DEBUG_CONFIGURE = 1; then
1409 DEFAULT_wxUSE_UNIVERSAL
=no
1411 DEFAULT_wxUSE_THREADS
=yes
1413 DEFAULT_wxUSE_SHARED
=yes
1414 DEFAULT_wxUSE_SONAME
=no
1415 DEFAULT_wxUSE_OPTIMISE
=no
1416 DEFAULT_wxUSE_PROFILE
=no
1417 DEFAULT_wxUSE_NO_DEPS
=no
1418 DEFAULT_wxUSE_NO_RTTI
=yes
1419 DEFAULT_wxUSE_NO_EXCEPTIONS
=yes
1420 DEFAULT_wxUSE_PERMISSIVE
=no
1421 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1422 DEFAULT_wxUSE_DEBUG_INFO
=yes
1423 DEFAULT_wxUSE_DEBUG_GDB
=yes
1424 DEFAULT_wxUSE_MEM_TRACING
=no
1425 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1426 DEFAULT_wxUSE_DMALLOC
=no
1427 DEFAULT_wxUSE_PRECOMP
=yes
1428 DEFAULT_wxUSE_APPLE_IEEE
=no
1430 DEFAULT_wxUSE_LOG
=yes
1431 DEFAULT_wxUSE_LOGWINDOW
=no
1432 DEFAULT_wxUSE_LOGGUI
=no
1433 DEFAULT_wxUSE_LOGDIALOG
=no
1435 DEFAULT_wxUSE_GUI
=yes
1436 DEFAULT_wxUSE_CONTROLS
=no
1438 DEFAULT_wxUSE_REGEX
=no
1439 DEFAULT_wxUSE_ZLIB
=no
1440 DEFAULT_wxUSE_LIBPNG
=no
1441 DEFAULT_wxUSE_LIBJPEG
=no
1442 DEFAULT_wxUSE_LIBTIFF
=no
1443 DEFAULT_wxUSE_ODBC
=no
1444 DEFAULT_wxUSE_FREETYPE
=no
1445 DEFAULT_wxUSE_OPENGL
=no
1447 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
1448 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
1449 DEFAULT_wxUSE_STD_IOSTREAM
=no
1450 DEFAULT_wxUSE_CMDLINE_PARSER
=no
1451 DEFAULT_wxUSE_DATETIME
=no
1452 DEFAULT_wxUSE_TIMEDATE
=no
1453 DEFAULT_wxUSE_TIMER
=no
1454 DEFAULT_wxUSE_STOPWATCH
=no
1455 DEFAULT_wxUSE_FILE
=no
1456 DEFAULT_wxUSE_FFILE
=no
1457 DEFAULT_wxUSE_TEXTBUFFER
=no
1458 DEFAULT_wxUSE_TEXTFILE
=no
1459 DEFAULT_wxUSE_WAVE
=no
1460 DEFAULT_wxUSE_INTL
=no
1461 DEFAULT_wxUSE_CONFIG
=no
1462 DEFAULT_wxUSE_FONTMAP
=no
1463 DEFAULT_wxUSE_STREAMS
=no
1464 DEFAULT_wxUSE_SOCKETS
=no
1465 DEFAULT_wxUSE_DIALUP_MANAGER
=no
1466 DEFAULT_wxUSE_JOYSTICK
=no
1467 DEFAULT_wxUSE_DYNLIB_CLASS
=no
1468 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
1469 DEFAULT_wxUSE_LONGLONG
=no
1470 DEFAULT_wxUSE_GEOMETRY
=no
1472 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
1473 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
1474 DEFAULT_wxUSE_POSTSCRIPT
=no
1476 DEFAULT_wxUSE_X_RESOURCES
=no
1477 DEFAULT_wxUSE_CLIPBOARD
=no
1478 DEFAULT_wxUSE_TOOLTIPS
=no
1479 DEFAULT_wxUSE_DRAG_AND_DROP
=no
1480 DEFAULT_wxUSE_DRAGIMAGE
=no
1481 DEFAULT_wxUSE_SPLINES
=no
1483 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
1484 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
1485 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
1487 DEFAULT_wxUSE_PROLOGIO
=no
1488 DEFAULT_wxUSE_RESOURCES
=no
1489 DEFAULT_wxUSE_CONSTRAINTS
=no
1490 DEFAULT_wxUSE_IPC
=no
1491 DEFAULT_wxUSE_HELP
=no
1492 DEFAULT_wxUSE_MS_HTML_HELP
=no
1493 DEFAULT_wxUSE_WXHTML_HELP
=no
1494 DEFAULT_wxUSE_TREELAYOUT
=no
1495 DEFAULT_wxUSE_METAFILE
=no
1496 DEFAULT_wxUSE_MIMETYPE
=no
1497 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
1499 DEFAULT_wxUSE_COMMONDLGS
=no
1500 DEFAULT_wxUSE_CHOICEDLG
=no
1501 DEFAULT_wxUSE_COLOURDLG
=no
1502 DEFAULT_wxUSE_DIRDLG
=no
1503 DEFAULT_wxUSE_FILEDLG
=no
1504 DEFAULT_wxUSE_FINDREPLDLG
=no
1505 DEFAULT_wxUSE_FONTDLG
=no
1506 DEFAULT_wxUSE_MSGDLG
=no
1507 DEFAULT_wxUSE_NUMBERDLG
=no
1508 DEFAULT_wxUSE_TEXTDLG
=no
1509 DEFAULT_wxUSE_SPLASH
=no
1510 DEFAULT_wxUSE_STARTUP_TIPS
=no
1511 DEFAULT_wxUSE_PROGRESSDLG
=no
1512 DEFAULT_wxUSE_WIZARDDLG
=no
1514 DEFAULT_wxUSE_MENUS
=no
1515 DEFAULT_wxUSE_MINIFRAME
=no
1516 DEFAULT_wxUSE_HTML
=no
1517 DEFAULT_wxUSE_FILESYSTEM
=no
1518 DEFAULT_wxUSE_FS_INET
=no
1519 DEFAULT_wxUSE_FS_ZIP
=no
1520 DEFAULT_wxUSE_BUSYINFO
=no
1521 DEFAULT_wxUSE_ZIPSTREAM
=no
1522 DEFAULT_wxUSE_VALIDATORS
=no
1524 DEFAULT_wxUSE_ACCEL
=no
1525 DEFAULT_wxUSE_BUTTON
=no
1526 DEFAULT_wxUSE_BMPBUTTON
=no
1527 DEFAULT_wxUSE_CALCTRL
=no
1528 DEFAULT_wxUSE_CARET
=no
1529 DEFAULT_wxUSE_CHECKBOX
=no
1530 DEFAULT_wxUSE_CHECKLST
=no
1531 DEFAULT_wxUSE_CHOICE
=no
1532 DEFAULT_wxUSE_COMBOBOX
=no
1533 DEFAULT_wxUSE_GAUGE
=no
1534 DEFAULT_wxUSE_GRID
=no
1535 DEFAULT_wxUSE_NEW_GRID
=no
1536 DEFAULT_wxUSE_IMAGLIST
=no
1537 DEFAULT_wxUSE_LISTBOX
=no
1538 DEFAULT_wxUSE_LISTCTRL
=no
1539 DEFAULT_wxUSE_NOTEBOOK
=no
1540 DEFAULT_wxUSE_PROPSHEET
=no
1541 DEFAULT_wxUSE_RADIOBOX
=no
1542 DEFAULT_wxUSE_RADIOBTN
=no
1543 DEFAULT_wxUSE_SASH
=no
1544 DEFAULT_wxUSE_SCROLLBAR
=no
1545 DEFAULT_wxUSE_SLIDER
=no
1546 DEFAULT_wxUSE_SPINBTN
=no
1547 DEFAULT_wxUSE_SPINCTRL
=no
1548 DEFAULT_wxUSE_SPLITTER
=no
1549 DEFAULT_wxUSE_STATBMP
=no
1550 DEFAULT_wxUSE_STATBOX
=no
1551 DEFAULT_wxUSE_STATLINE
=no
1552 DEFAULT_wxUSE_STATTEXT
=no
1553 DEFAULT_wxUSE_STATUSBAR
=yes
1554 DEFAULT_wxUSE_TABDIALOG
=no
1555 DEFAULT_wxUSE_TEXTCTRL
=no
1556 DEFAULT_wxUSE_TOGGLEBTN
=no
1557 DEFAULT_wxUSE_TOOLBAR
=no
1558 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
1559 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
1560 DEFAULT_wxUSE_TREECTRL
=no
1561 DEFAULT_wxUSE_POPUPWIN
=no
1562 DEFAULT_wxUSE_TIPWINDOW
=no
1564 DEFAULT_wxUSE_UNICODE
=no
1565 DEFAULT_wxUSE_WCSRTOMBS
=no
1567 DEFAULT_wxUSE_PALETTE
=no
1568 DEFAULT_wxUSE_IMAGE
=no
1569 DEFAULT_wxUSE_GIF
=no
1570 DEFAULT_wxUSE_PCX
=no
1571 DEFAULT_wxUSE_PNM
=no
1572 DEFAULT_wxUSE_XPM
=no
1574 DEFAULT_wxUSE_UNIVERSAL
=no
1576 DEFAULT_wxUSE_THREADS
=yes
1578 DEFAULT_wxUSE_SHARED
=yes
1579 DEFAULT_wxUSE_SONAME
=no
1580 DEFAULT_wxUSE_OPTIMISE
=yes
1581 DEFAULT_wxUSE_PROFILE
=no
1582 DEFAULT_wxUSE_NO_DEPS
=no
1583 DEFAULT_wxUSE_NO_RTTI
=yes
1584 DEFAULT_wxUSE_NO_EXCEPTIONS
=yes
1585 DEFAULT_wxUSE_PERMISSIVE
=no
1586 DEFAULT_wxUSE_DEBUG_FLAG
=no
1587 DEFAULT_wxUSE_DEBUG_INFO
=no
1588 DEFAULT_wxUSE_DEBUG_GDB
=no
1589 DEFAULT_wxUSE_MEM_TRACING
=no
1590 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1591 DEFAULT_wxUSE_DMALLOC
=no
1592 DEFAULT_wxUSE_PRECOMP
=yes
1593 DEFAULT_wxUSE_APPLE_IEEE
=yes
1595 DEFAULT_wxUSE_LOG
=yes
1596 DEFAULT_wxUSE_LOGWINDOW
=yes
1597 DEFAULT_wxUSE_LOGGUI
=yes
1598 DEFAULT_wxUSE_LOGDIALOG
=yes
1600 DEFAULT_wxUSE_GUI
=yes
1602 DEFAULT_wxUSE_REGEX
=yes
1603 DEFAULT_wxUSE_ZLIB
=yes
1604 DEFAULT_wxUSE_LIBPNG
=yes
1605 DEFAULT_wxUSE_LIBJPEG
=yes
1606 DEFAULT_wxUSE_LIBTIFF
=yes
1607 DEFAULT_wxUSE_ODBC
=no
1608 DEFAULT_wxUSE_FREETYPE
=no
1609 DEFAULT_wxUSE_OPENGL
=no
1611 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
1612 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
1613 DEFAULT_wxUSE_STD_IOSTREAM
=no
1614 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
1615 DEFAULT_wxUSE_DATETIME
=yes
1616 DEFAULT_wxUSE_TIMEDATE
=no
1617 DEFAULT_wxUSE_TIMER
=yes
1618 DEFAULT_wxUSE_STOPWATCH
=yes
1619 DEFAULT_wxUSE_FILE
=yes
1620 DEFAULT_wxUSE_FFILE
=yes
1621 DEFAULT_wxUSE_TEXTBUFFER
=yes
1622 DEFAULT_wxUSE_TEXTFILE
=yes
1623 DEFAULT_wxUSE_WAVE
=no
1624 DEFAULT_wxUSE_INTL
=yes
1625 DEFAULT_wxUSE_CONFIG
=yes
1626 DEFAULT_wxUSE_FONTMAP
=yes
1627 DEFAULT_wxUSE_STREAMS
=yes
1628 DEFAULT_wxUSE_SOCKETS
=yes
1629 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
1630 DEFAULT_wxUSE_JOYSTICK
=yes
1631 DEFAULT_wxUSE_DYNLIB_CLASS
=no
1632 DEFAULT_wxUSE_DYNAMIC_LOADER
=yes
1633 DEFAULT_wxUSE_LONGLONG
=yes
1634 DEFAULT_wxUSE_GEOMETRY
=yes
1636 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
1637 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
1638 DEFAULT_wxUSE_POSTSCRIPT
=yes
1640 DEFAULT_wxUSE_X_RESOURCES
=no
1641 DEFAULT_wxUSE_CLIPBOARD
=yes
1642 DEFAULT_wxUSE_TOOLTIPS
=yes
1643 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
1644 DEFAULT_wxUSE_DRAGIMAGE
=yes
1645 DEFAULT_wxUSE_SPLINES
=yes
1647 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
1648 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
1649 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
1651 DEFAULT_wxUSE_PROLOGIO
=yes
1652 DEFAULT_wxUSE_RESOURCES
=yes
1653 DEFAULT_wxUSE_CONSTRAINTS
=yes
1654 DEFAULT_wxUSE_IPC
=yes
1655 DEFAULT_wxUSE_HELP
=yes
1656 DEFAULT_wxUSE_MS_HTML_HELP
=yes
1657 DEFAULT_wxUSE_WXHTML_HELP
=yes
1658 DEFAULT_wxUSE_TREELAYOUT
=yes
1659 DEFAULT_wxUSE_METAFILE
=yes
1660 DEFAULT_wxUSE_MIMETYPE
=yes
1661 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
1663 DEFAULT_wxUSE_COMMONDLGS
=yes
1664 DEFAULT_wxUSE_CHOICEDLG
=yes
1665 DEFAULT_wxUSE_COLOURDLG
=yes
1666 DEFAULT_wxUSE_DIRDLG
=yes
1667 DEFAULT_wxUSE_FILEDLG
=yes
1668 DEFAULT_wxUSE_FINDREPLDLG
=yes
1669 DEFAULT_wxUSE_FONTDLG
=yes
1670 DEFAULT_wxUSE_MSGDLG
=yes
1671 DEFAULT_wxUSE_NUMBERDLG
=yes
1672 DEFAULT_wxUSE_TEXTDLG
=yes
1673 DEFAULT_wxUSE_SPLASH
=yes
1674 DEFAULT_wxUSE_STARTUP_TIPS
=yes
1675 DEFAULT_wxUSE_PROGRESSDLG
=yes
1676 DEFAULT_wxUSE_WIZARDDLG
=yes
1678 DEFAULT_wxUSE_MENUS
=yes
1679 DEFAULT_wxUSE_MINIFRAME
=yes
1680 DEFAULT_wxUSE_HTML
=yes
1681 DEFAULT_wxUSE_FILESYSTEM
=yes
1682 DEFAULT_wxUSE_FS_INET
=yes
1683 DEFAULT_wxUSE_FS_ZIP
=yes
1684 DEFAULT_wxUSE_BUSYINFO
=yes
1685 DEFAULT_wxUSE_ZIPSTREAM
=yes
1686 DEFAULT_wxUSE_VALIDATORS
=yes
1688 DEFAULT_wxUSE_ACCEL
=yes
1689 DEFAULT_wxUSE_BUTTON
=yes
1690 DEFAULT_wxUSE_BMPBUTTON
=yes
1691 DEFAULT_wxUSE_CALCTRL
=yes
1692 DEFAULT_wxUSE_CARET
=yes
1693 DEFAULT_wxUSE_CHECKBOX
=yes
1694 DEFAULT_wxUSE_CHECKLST
=yes
1695 DEFAULT_wxUSE_CHOICE
=yes
1696 DEFAULT_wxUSE_COMBOBOX
=yes
1697 DEFAULT_wxUSE_GAUGE
=yes
1698 DEFAULT_wxUSE_GRID
=yes
1699 DEFAULT_wxUSE_NEW_GRID
=yes
1700 DEFAULT_wxUSE_IMAGLIST
=yes
1701 DEFAULT_wxUSE_LISTBOX
=yes
1702 DEFAULT_wxUSE_LISTCTRL
=yes
1703 DEFAULT_wxUSE_NOTEBOOK
=yes
1704 DEFAULT_wxUSE_PROPSHEET
=yes
1705 DEFAULT_wxUSE_RADIOBOX
=yes
1706 DEFAULT_wxUSE_RADIOBTN
=yes
1707 DEFAULT_wxUSE_SASH
=yes
1708 DEFAULT_wxUSE_SCROLLBAR
=yes
1709 DEFAULT_wxUSE_SLIDER
=yes
1710 DEFAULT_wxUSE_SPINBTN
=yes
1711 DEFAULT_wxUSE_SPINCTRL
=yes
1712 DEFAULT_wxUSE_SPLITTER
=yes
1713 DEFAULT_wxUSE_STATBMP
=yes
1714 DEFAULT_wxUSE_STATBOX
=yes
1715 DEFAULT_wxUSE_STATLINE
=yes
1716 DEFAULT_wxUSE_STATTEXT
=yes
1717 DEFAULT_wxUSE_STATUSBAR
=yes
1718 DEFAULT_wxUSE_TABDIALOG
=no
1719 DEFAULT_wxUSE_TEXTCTRL
=yes
1720 DEFAULT_wxUSE_TOGGLEBTN
=yes
1721 DEFAULT_wxUSE_TOOLBAR
=yes
1722 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
1723 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
1724 DEFAULT_wxUSE_TREECTRL
=yes
1725 DEFAULT_wxUSE_POPUPWIN
=yes
1726 DEFAULT_wxUSE_TIPWINDOW
=yes
1728 DEFAULT_wxUSE_UNICODE
=no
1729 DEFAULT_wxUSE_WCSRTOMBS
=no
1731 DEFAULT_wxUSE_PALETTE
=yes
1732 DEFAULT_wxUSE_IMAGE
=yes
1733 DEFAULT_wxUSE_GIF
=yes
1734 DEFAULT_wxUSE_PCX
=yes
1735 DEFAULT_wxUSE_PNM
=yes
1736 DEFAULT_wxUSE_XPM
=yes
1741 for toolkit
in `echo $ALL_TOOLKITS`; do
1742 LINE
=`grep "wxUSE_$toolkit" ${wx_arg_cache_file}`
1743 if test "x$LINE" != x
; then
1744 has_toolkit_in_cache
=1
1745 eval "DEFAULT_$LINE"
1746 eval "CACHE_$toolkit=1"
1752 echo $ac_n "checking for --enable-gui""... $ac_c" 1>&6
1753 echo "configure:1754: checking for --enable-gui" >&5
1755 # Check whether --enable-gui or --disable-gui was given.
1756 if test "${enable_gui+set}" = set; then
1757 enableval
="$enable_gui"
1759 if test "$enableval" = yes; then
1760 ac_cv_use_gui
='wxUSE_GUI=yes'
1762 ac_cv_use_gui
='wxUSE_GUI=no'
1767 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
1768 if test "x$LINE" != x
; then
1769 eval "DEFAULT_$LINE"
1774 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
1779 eval "$ac_cv_use_gui"
1780 if test "$no_cache" != 1; then
1781 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
1784 if test "$wxUSE_GUI" = yes; then
1785 echo "$ac_t""yes" 1>&6
1787 echo "$ac_t""no" 1>&6
1791 if test "$wxUSE_GUI" = "yes"; then
1794 echo $ac_n "checking for --enable-universal""... $ac_c" 1>&6
1795 echo "configure:1796: checking for --enable-universal" >&5
1797 # Check whether --enable-universal or --disable-universal was given.
1798 if test "${enable_universal+set}" = set; then
1799 enableval
="$enable_universal"
1801 if test "$enableval" = yes; then
1802 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
1804 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
1809 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
1810 if test "x$LINE" != x
; then
1811 eval "DEFAULT_$LINE"
1816 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
1821 eval "$ac_cv_use_universal"
1822 if test "$no_cache" != 1; then
1823 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
1826 if test "$wxUSE_UNIVERSAL" = yes; then
1827 echo "$ac_t""yes" 1>&6
1829 echo "$ac_t""no" 1>&6
1832 # Check whether --with-gtk or --without-gtk was given.
1833 if test "${with_gtk+set}" = set; then
1835 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
1838 # Check whether --with-motif or --without-motif was given.
1839 if test "${with_motif+set}" = set; then
1840 withval
="$with_motif"
1841 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
1844 # Check whether --with-mac or --without-mac was given.
1845 if test "${with_mac+set}" = set; then
1847 wxUSE_MAC
="$withval" TOOLKIT_GIVEN
=1
1850 # Check whether --with-wine or --without-wine was given.
1851 if test "${with_wine+set}" = set; then
1852 withval
="$with_wine"
1853 wxUSE_WINE
="$withval" CACHE_WINE
=1 TOOLKIT_GIVEN
=1
1856 # Check whether --with-msw or --without-msw was given.
1857 if test "${with_msw+set}" = set; then
1859 wxUSE_MSW
="$withval" CACHE_MSW TOOLKIT_GIVEN
=1
1862 # Check whether --with-pm or --without-pm was given.
1863 if test "${with_pm+set}" = set; then
1865 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
1868 # Check whether --with-mgl or --without-mgl was given.
1869 if test "${with_mgl+set}" = set; then
1871 wxUSE_MGL
="$withval" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
1875 # Check whether --enable-gtk2 or --disable-gtk2 was given.
1876 if test "${enable_gtk2+set}" = set; then
1877 enableval
="$enable_gtk2"
1885 echo $ac_n "checking for --with-libpng""... $ac_c" 1>&6
1886 echo "configure:1887: checking for --with-libpng" >&5
1888 # Check whether --with-libpng or --without-libpng was given.
1889 if test "${with_libpng+set}" = set; then
1890 withval
="$with_libpng"
1892 if test "$withval" = yes; then
1893 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
1894 elif test "$withval" = no
; then
1895 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
1896 elif test "$withval" = sys
; then
1897 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
1898 elif test "$withval" = builtin; then
1899 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
1901 { echo "configure: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" 1>&2; exit 1; }
1906 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
1907 if test "x$LINE" != x
; then
1908 eval "DEFAULT_$LINE"
1913 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
1918 eval "$ac_cv_use_libpng"
1919 if test "$no_cache" != 1; then
1920 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
1923 if test "$wxUSE_LIBPNG" = yes; then
1924 echo "$ac_t""yes" 1>&6
1925 elif test "$wxUSE_LIBPNG" = no
; then
1926 echo "$ac_t""no" 1>&6
1927 elif test "$wxUSE_LIBPNG" = sys
; then
1928 echo "$ac_t""system version" 1>&6
1929 elif test "$wxUSE_LIBPNG" = builtin; then
1930 echo "$ac_t""builtin version" 1>&6
1932 { echo "configure: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" 1>&2; exit 1; }
1936 echo $ac_n "checking for --with-libjpeg""... $ac_c" 1>&6
1937 echo "configure:1938: checking for --with-libjpeg" >&5
1939 # Check whether --with-libjpeg or --without-libjpeg was given.
1940 if test "${with_libjpeg+set}" = set; then
1941 withval
="$with_libjpeg"
1943 if test "$withval" = yes; then
1944 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
1945 elif test "$withval" = no
; then
1946 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
1947 elif test "$withval" = sys
; then
1948 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
1949 elif test "$withval" = builtin; then
1950 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
1952 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" 1>&2; exit 1; }
1957 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
1958 if test "x$LINE" != x
; then
1959 eval "DEFAULT_$LINE"
1964 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
1969 eval "$ac_cv_use_libjpeg"
1970 if test "$no_cache" != 1; then
1971 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
1974 if test "$wxUSE_LIBJPEG" = yes; then
1975 echo "$ac_t""yes" 1>&6
1976 elif test "$wxUSE_LIBJPEG" = no
; then
1977 echo "$ac_t""no" 1>&6
1978 elif test "$wxUSE_LIBJPEG" = sys
; then
1979 echo "$ac_t""system version" 1>&6
1980 elif test "$wxUSE_LIBJPEG" = builtin; then
1981 echo "$ac_t""builtin version" 1>&6
1983 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" 1>&2; exit 1; }
1987 echo $ac_n "checking for --with-libtiff""... $ac_c" 1>&6
1988 echo "configure:1989: checking for --with-libtiff" >&5
1990 # Check whether --with-libtiff or --without-libtiff was given.
1991 if test "${with_libtiff+set}" = set; then
1992 withval
="$with_libtiff"
1994 if test "$withval" = yes; then
1995 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
1996 elif test "$withval" = no
; then
1997 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
1998 elif test "$withval" = sys
; then
1999 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
2000 elif test "$withval" = builtin; then
2001 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
2003 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2008 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2009 if test "x$LINE" != x
; then
2010 eval "DEFAULT_$LINE"
2015 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2020 eval "$ac_cv_use_libtiff"
2021 if test "$no_cache" != 1; then
2022 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2025 if test "$wxUSE_LIBTIFF" = yes; then
2026 echo "$ac_t""yes" 1>&6
2027 elif test "$wxUSE_LIBTIFF" = no
; then
2028 echo "$ac_t""no" 1>&6
2029 elif test "$wxUSE_LIBTIFF" = sys
; then
2030 echo "$ac_t""system version" 1>&6
2031 elif test "$wxUSE_LIBTIFF" = builtin; then
2032 echo "$ac_t""builtin version" 1>&6
2034 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2038 echo $ac_n "checking for --with-freetype""... $ac_c" 1>&6
2039 echo "configure:2040: checking for --with-freetype" >&5
2041 # Check whether --with-freetype or --without-freetype was given.
2042 if test "${with_freetype+set}" = set; then
2043 withval
="$with_freetype"
2045 if test "$withval" = yes; then
2046 ac_cv_use_freetype
='wxUSE_FREETYPE=yes'
2047 elif test "$withval" = no
; then
2048 ac_cv_use_freetype
='wxUSE_FREETYPE=no'
2049 elif test "$withval" = sys
; then
2050 ac_cv_use_freetype
='wxUSE_FREETYPE=sys'
2051 elif test "$withval" = builtin; then
2052 ac_cv_use_freetype
='wxUSE_FREETYPE=builtin'
2054 { echo "configure: error: Invalid value for --with-freetype: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2059 LINE
=`grep "wxUSE_FREETYPE" ${wx_arg_cache_file}`
2060 if test "x$LINE" != x
; then
2061 eval "DEFAULT_$LINE"
2066 ac_cv_use_freetype
='wxUSE_FREETYPE='$DEFAULT_wxUSE_FREETYPE
2071 eval "$ac_cv_use_freetype"
2072 if test "$no_cache" != 1; then
2073 echo $ac_cv_use_freetype >> ${wx_arg_cache_file}.tmp
2076 if test "$wxUSE_FREETYPE" = yes; then
2077 echo "$ac_t""yes" 1>&6
2078 elif test "$wxUSE_FREETYPE" = no
; then
2079 echo "$ac_t""no" 1>&6
2080 elif test "$wxUSE_FREETYPE" = sys
; then
2081 echo "$ac_t""system version" 1>&6
2082 elif test "$wxUSE_FREETYPE" = builtin; then
2083 echo "$ac_t""builtin version" 1>&6
2085 { echo "configure: error: Invalid value for --with-freetype: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2089 echo $ac_n "checking for --with-opengl""... $ac_c" 1>&6
2090 echo "configure:2091: checking for --with-opengl" >&5
2092 # Check whether --with-opengl or --without-opengl was given.
2093 if test "${with_opengl+set}" = set; then
2094 withval
="$with_opengl"
2096 if test "$withval" = yes; then
2097 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
2099 ac_cv_use_opengl
='wxUSE_OPENGL=no'
2104 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2105 if test "x$LINE" != x
; then
2106 eval "DEFAULT_$LINE"
2111 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
2116 eval "$ac_cv_use_opengl"
2117 if test "$no_cache" != 1; then
2118 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2121 if test "$wxUSE_OPENGL" = yes; then
2122 echo "$ac_t""yes" 1>&6
2124 echo "$ac_t""no" 1>&6
2131 echo $ac_n "checking for --with-dmalloc""... $ac_c" 1>&6
2132 echo "configure:2133: checking for --with-dmalloc" >&5
2134 # Check whether --with-dmalloc or --without-dmalloc was given.
2135 if test "${with_dmalloc+set}" = set; then
2136 withval
="$with_dmalloc"
2138 if test "$withval" = yes; then
2139 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
2141 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
2146 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2147 if test "x$LINE" != x
; then
2148 eval "DEFAULT_$LINE"
2153 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
2158 eval "$ac_cv_use_dmalloc"
2159 if test "$no_cache" != 1; then
2160 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2163 if test "$wxUSE_DMALLOC" = yes; then
2164 echo "$ac_t""yes" 1>&6
2166 echo "$ac_t""no" 1>&6
2170 echo $ac_n "checking for --with-regex""... $ac_c" 1>&6
2171 echo "configure:2172: checking for --with-regex" >&5
2173 # Check whether --with-regex or --without-regex was given.
2174 if test "${with_regex+set}" = set; then
2175 withval
="$with_regex"
2177 if test "$withval" = yes; then
2178 ac_cv_use_regex
='wxUSE_REGEX=yes'
2179 elif test "$withval" = no
; then
2180 ac_cv_use_regex
='wxUSE_REGEX=no'
2181 elif test "$withval" = sys
; then
2182 ac_cv_use_regex
='wxUSE_REGEX=sys'
2183 elif test "$withval" = builtin; then
2184 ac_cv_use_regex
='wxUSE_REGEX=builtin'
2186 { echo "configure: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2191 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
2192 if test "x$LINE" != x
; then
2193 eval "DEFAULT_$LINE"
2198 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
2203 eval "$ac_cv_use_regex"
2204 if test "$no_cache" != 1; then
2205 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
2208 if test "$wxUSE_REGEX" = yes; then
2209 echo "$ac_t""yes" 1>&6
2210 elif test "$wxUSE_REGEX" = no
; then
2211 echo "$ac_t""no" 1>&6
2212 elif test "$wxUSE_REGEX" = sys
; then
2213 echo "$ac_t""system version" 1>&6
2214 elif test "$wxUSE_REGEX" = builtin; then
2215 echo "$ac_t""builtin version" 1>&6
2217 { echo "configure: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2221 echo $ac_n "checking for --with-zlib""... $ac_c" 1>&6
2222 echo "configure:2223: checking for --with-zlib" >&5
2224 # Check whether --with-zlib or --without-zlib was given.
2225 if test "${with_zlib+set}" = set; then
2226 withval
="$with_zlib"
2228 if test "$withval" = yes; then
2229 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
2230 elif test "$withval" = no
; then
2231 ac_cv_use_zlib
='wxUSE_ZLIB=no'
2232 elif test "$withval" = sys
; then
2233 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
2234 elif test "$withval" = builtin; then
2235 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
2237 { echo "configure: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2242 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2243 if test "x$LINE" != x
; then
2244 eval "DEFAULT_$LINE"
2249 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
2254 eval "$ac_cv_use_zlib"
2255 if test "$no_cache" != 1; then
2256 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2259 if test "$wxUSE_ZLIB" = yes; then
2260 echo "$ac_t""yes" 1>&6
2261 elif test "$wxUSE_ZLIB" = no
; then
2262 echo "$ac_t""no" 1>&6
2263 elif test "$wxUSE_ZLIB" = sys
; then
2264 echo "$ac_t""system version" 1>&6
2265 elif test "$wxUSE_ZLIB" = builtin; then
2266 echo "$ac_t""builtin version" 1>&6
2268 { echo "configure: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2272 echo $ac_n "checking for --with-odbc""... $ac_c" 1>&6
2273 echo "configure:2274: checking for --with-odbc" >&5
2275 # Check whether --with-odbc or --without-odbc was given.
2276 if test "${with_odbc+set}" = set; then
2277 withval
="$with_odbc"
2279 if test "$withval" = yes; then
2280 ac_cv_use_odbc
='wxUSE_ODBC=yes'
2282 ac_cv_use_odbc
='wxUSE_ODBC=no'
2287 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
2288 if test "x$LINE" != x
; then
2289 eval "DEFAULT_$LINE"
2294 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
2299 eval "$ac_cv_use_odbc"
2300 if test "$no_cache" != 1; then
2301 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
2304 if test "$wxUSE_ODBC" = yes; then
2305 echo "$ac_t""yes" 1>&6
2307 echo "$ac_t""no" 1>&6
2313 echo $ac_n "checking for --enable-shared""... $ac_c" 1>&6
2314 echo "configure:2315: checking for --enable-shared" >&5
2316 # Check whether --enable-shared or --disable-shared was given.
2317 if test "${enable_shared+set}" = set; then
2318 enableval
="$enable_shared"
2320 if test "$enableval" = yes; then
2321 ac_cv_use_shared
='wxUSE_SHARED=yes'
2323 ac_cv_use_shared
='wxUSE_SHARED=no'
2328 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
2329 if test "x$LINE" != x
; then
2330 eval "DEFAULT_$LINE"
2335 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
2340 eval "$ac_cv_use_shared"
2341 if test "$no_cache" != 1; then
2342 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
2345 if test "$wxUSE_SHARED" = yes; then
2346 echo "$ac_t""yes" 1>&6
2348 echo "$ac_t""no" 1>&6
2352 echo $ac_n "checking for --enable-soname""... $ac_c" 1>&6
2353 echo "configure:2354: checking for --enable-soname" >&5
2355 # Check whether --enable-soname or --disable-soname was given.
2356 if test "${enable_soname+set}" = set; then
2357 enableval
="$enable_soname"
2359 if test "$enableval" = yes; then
2360 ac_cv_use_soname
='wxUSE_SONAME=yes'
2362 ac_cv_use_soname
='wxUSE_SONAME=no'
2367 LINE
=`grep "wxUSE_SONAME" ${wx_arg_cache_file}`
2368 if test "x$LINE" != x
; then
2369 eval "DEFAULT_$LINE"
2374 ac_cv_use_soname
='wxUSE_SONAME='$DEFAULT_wxUSE_SONAME
2379 eval "$ac_cv_use_soname"
2380 if test "$no_cache" != 1; then
2381 echo $ac_cv_use_soname >> ${wx_arg_cache_file}.tmp
2384 if test "$wxUSE_SONAME" = yes; then
2385 echo "$ac_t""yes" 1>&6
2387 echo "$ac_t""no" 1>&6
2391 echo $ac_n "checking for --enable-optimise""... $ac_c" 1>&6
2392 echo "configure:2393: checking for --enable-optimise" >&5
2394 # Check whether --enable-optimise or --disable-optimise was given.
2395 if test "${enable_optimise+set}" = set; then
2396 enableval
="$enable_optimise"
2398 if test "$enableval" = yes; then
2399 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
2401 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
2406 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
2407 if test "x$LINE" != x
; then
2408 eval "DEFAULT_$LINE"
2413 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
2418 eval "$ac_cv_use_optimise"
2419 if test "$no_cache" != 1; then
2420 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
2423 if test "$wxUSE_OPTIMISE" = yes; then
2424 echo "$ac_t""yes" 1>&6
2426 echo "$ac_t""no" 1>&6
2430 echo $ac_n "checking for --enable-debug""... $ac_c" 1>&6
2431 echo "configure:2432: checking for --enable-debug" >&5
2433 # Check whether --enable-debug or --disable-debug was given.
2434 if test "${enable_debug+set}" = set; then
2435 enableval
="$enable_debug"
2437 if test "$enableval" = yes; then
2438 ac_cv_use_debug
='wxUSE_DEBUG=yes'
2440 ac_cv_use_debug
='wxUSE_DEBUG=no'
2445 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
2446 if test "x$LINE" != x
; then
2447 eval "DEFAULT_$LINE"
2452 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
2457 eval "$ac_cv_use_debug"
2458 if test "$no_cache" != 1; then
2459 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
2462 if test "$wxUSE_DEBUG" = yes; then
2463 echo "$ac_t""yes" 1>&6
2465 echo "$ac_t""no" 1>&6
2470 echo $ac_n "checking for --enable-precomp""... $ac_c" 1>&6
2471 echo "configure:2472: checking for --enable-precomp" >&5
2473 # Check whether --enable-precomp or --disable-precomp was given.
2474 if test "${enable_precomp+set}" = set; then
2475 enableval
="$enable_precomp"
2477 if test "$enableval" = yes; then
2478 ac_cv_use_precomp
='wxUSE_PRECOMP=yes'
2480 ac_cv_use_precomp
='wxUSE_PRECOMP=no'
2485 LINE
=`grep "wxUSE_PRECOMP" ${wx_arg_cache_file}`
2486 if test "x$LINE" != x
; then
2487 eval "DEFAULT_$LINE"
2492 ac_cv_use_precomp
='wxUSE_PRECOMP='$DEFAULT_wxUSE_PRECOMP
2497 eval "$ac_cv_use_precomp"
2498 if test "$no_cache" != 1; then
2499 echo $ac_cv_use_precomp >> ${wx_arg_cache_file}.tmp
2502 if test "$wxUSE_PRECOMP" = yes; then
2503 echo "$ac_t""yes" 1>&6
2505 echo "$ac_t""no" 1>&6
2509 if test "$wxUSE_DEBUG" = "yes"; then
2510 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2511 DEFAULT_wxUSE_DEBUG_INFO
=yes
2512 elif test "$wxUSE_DEBUG" = "no"; then
2513 DEFAULT_wxUSE_DEBUG_FLAG
=no
2514 DEFAULT_wxUSE_DEBUG_INFO
=no
2518 echo $ac_n "checking for --enable-debug_flag""... $ac_c" 1>&6
2519 echo "configure:2520: checking for --enable-debug_flag" >&5
2521 # Check whether --enable-debug_flag or --disable-debug_flag was given.
2522 if test "${enable_debug_flag+set}" = set; then
2523 enableval
="$enable_debug_flag"
2525 if test "$enableval" = yes; then
2526 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
2528 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
2533 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
2534 if test "x$LINE" != x
; then
2535 eval "DEFAULT_$LINE"
2540 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
2545 eval "$ac_cv_use_debug_flag"
2546 if test "$no_cache" != 1; then
2547 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
2550 if test "$wxUSE_DEBUG_FLAG" = yes; then
2551 echo "$ac_t""yes" 1>&6
2553 echo "$ac_t""no" 1>&6
2557 echo $ac_n "checking for --enable-debug_info""... $ac_c" 1>&6
2558 echo "configure:2559: checking for --enable-debug_info" >&5
2560 # Check whether --enable-debug_info or --disable-debug_info was given.
2561 if test "${enable_debug_info+set}" = set; then
2562 enableval
="$enable_debug_info"
2564 if test "$enableval" = yes; then
2565 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
2567 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
2572 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
2573 if test "x$LINE" != x
; then
2574 eval "DEFAULT_$LINE"
2579 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
2584 eval "$ac_cv_use_debug_info"
2585 if test "$no_cache" != 1; then
2586 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
2589 if test "$wxUSE_DEBUG_INFO" = yes; then
2590 echo "$ac_t""yes" 1>&6
2592 echo "$ac_t""no" 1>&6
2596 echo $ac_n "checking for --enable-debug_gdb""... $ac_c" 1>&6
2597 echo "configure:2598: checking for --enable-debug_gdb" >&5
2599 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
2600 if test "${enable_debug_gdb+set}" = set; then
2601 enableval
="$enable_debug_gdb"
2603 if test "$enableval" = yes; then
2604 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
2606 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
2611 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
2612 if test "x$LINE" != x
; then
2613 eval "DEFAULT_$LINE"
2618 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
2623 eval "$ac_cv_use_debug_gdb"
2624 if test "$no_cache" != 1; then
2625 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
2628 if test "$wxUSE_DEBUG_GDB" = yes; then
2629 echo "$ac_t""yes" 1>&6
2631 echo "$ac_t""no" 1>&6
2635 echo $ac_n "checking for --enable-debug_cntxt""... $ac_c" 1>&6
2636 echo "configure:2637: checking for --enable-debug_cntxt" >&5
2638 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
2639 if test "${enable_debug_cntxt+set}" = set; then
2640 enableval
="$enable_debug_cntxt"
2642 if test "$enableval" = yes; then
2643 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
2645 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
2650 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2651 if test "x$LINE" != x
; then
2652 eval "DEFAULT_$LINE"
2657 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2662 eval "$ac_cv_use_debug_cntxt"
2663 if test "$no_cache" != 1; then
2664 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2667 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2668 echo "$ac_t""yes" 1>&6
2670 echo "$ac_t""no" 1>&6
2674 echo $ac_n "checking for --enable-mem_tracing""... $ac_c" 1>&6
2675 echo "configure:2676: checking for --enable-mem_tracing" >&5
2677 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2678 if test "${enable_mem_tracing+set}" = set; then
2679 enableval
="$enable_mem_tracing"
2681 if test "$enableval" = yes; then
2682 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
2684 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
2689 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2690 if test "x$LINE" != x
; then
2691 eval "DEFAULT_$LINE"
2696 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2701 eval "$ac_cv_use_mem_tracing"
2702 if test "$no_cache" != 1; then
2703 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2706 if test "$wxUSE_MEM_TRACING" = yes; then
2707 echo "$ac_t""yes" 1>&6
2709 echo "$ac_t""no" 1>&6
2713 echo $ac_n "checking for --enable-profile""... $ac_c" 1>&6
2714 echo "configure:2715: checking for --enable-profile" >&5
2716 # Check whether --enable-profile or --disable-profile was given.
2717 if test "${enable_profile+set}" = set; then
2718 enableval
="$enable_profile"
2720 if test "$enableval" = yes; then
2721 ac_cv_use_profile
='wxUSE_PROFILE=yes'
2723 ac_cv_use_profile
='wxUSE_PROFILE=no'
2728 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2729 if test "x$LINE" != x
; then
2730 eval "DEFAULT_$LINE"
2735 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2740 eval "$ac_cv_use_profile"
2741 if test "$no_cache" != 1; then
2742 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2745 if test "$wxUSE_PROFILE" = yes; then
2746 echo "$ac_t""yes" 1>&6
2748 echo "$ac_t""no" 1>&6
2752 echo $ac_n "checking for --enable-no_rtti""... $ac_c" 1>&6
2753 echo "configure:2754: checking for --enable-no_rtti" >&5
2755 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2756 if test "${enable_no_rtti+set}" = set; then
2757 enableval
="$enable_no_rtti"
2759 if test "$enableval" = yes; then
2760 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
2762 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
2767 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2768 if test "x$LINE" != x
; then
2769 eval "DEFAULT_$LINE"
2774 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2779 eval "$ac_cv_use_no_rtti"
2780 if test "$no_cache" != 1; then
2781 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2784 if test "$wxUSE_NO_RTTI" = yes; then
2785 echo "$ac_t""yes" 1>&6
2787 echo "$ac_t""no" 1>&6
2791 echo $ac_n "checking for --enable-no_exceptions""... $ac_c" 1>&6
2792 echo "configure:2793: checking for --enable-no_exceptions" >&5
2794 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2795 if test "${enable_no_exceptions+set}" = set; then
2796 enableval
="$enable_no_exceptions"
2798 if test "$enableval" = yes; then
2799 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
2801 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
2806 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2807 if test "x$LINE" != x
; then
2808 eval "DEFAULT_$LINE"
2813 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2818 eval "$ac_cv_use_no_exceptions"
2819 if test "$no_cache" != 1; then
2820 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2823 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2824 echo "$ac_t""yes" 1>&6
2826 echo "$ac_t""no" 1>&6
2830 echo $ac_n "checking for --enable-permissive""... $ac_c" 1>&6
2831 echo "configure:2832: checking for --enable-permissive" >&5
2833 # Check whether --enable-permissive or --disable-permissive was given.
2834 if test "${enable_permissive+set}" = set; then
2835 enableval
="$enable_permissive"
2837 if test "$enableval" = yes; then
2838 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
2840 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
2845 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2846 if test "x$LINE" != x
; then
2847 eval "DEFAULT_$LINE"
2852 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
2857 eval "$ac_cv_use_permissive"
2858 if test "$no_cache" != 1; then
2859 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
2862 if test "$wxUSE_PERMISSIVE" = yes; then
2863 echo "$ac_t""yes" 1>&6
2865 echo "$ac_t""no" 1>&6
2869 echo $ac_n "checking for --enable-no_deps""... $ac_c" 1>&6
2870 echo "configure:2871: checking for --enable-no_deps" >&5
2872 # Check whether --enable-no_deps or --disable-no_deps was given.
2873 if test "${enable_no_deps+set}" = set; then
2874 enableval
="$enable_no_deps"
2876 if test "$enableval" = yes; then
2877 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
2879 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
2884 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
2885 if test "x$LINE" != x
; then
2886 eval "DEFAULT_$LINE"
2891 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
2896 eval "$ac_cv_use_no_deps"
2897 if test "$no_cache" != 1; then
2898 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
2901 if test "$wxUSE_NO_DEPS" = yes; then
2902 echo "$ac_t""yes" 1>&6
2904 echo "$ac_t""no" 1>&6
2909 echo $ac_n "checking for --enable-compat20""... $ac_c" 1>&6
2910 echo "configure:2911: checking for --enable-compat20" >&5
2912 # Check whether --enable-compat20 or --disable-compat20 was given.
2913 if test "${enable_compat20+set}" = set; then
2914 enableval
="$enable_compat20"
2916 if test "$enableval" = yes; then
2917 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=yes'
2919 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=no'
2924 LINE
=`grep "WXWIN_COMPATIBILITY_2" ${wx_arg_cache_file}`
2925 if test "x$LINE" != x
; then
2926 eval "DEFAULT_$LINE"
2931 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2='$DEFAULT_WXWIN_COMPATIBILITY_2
2936 eval "$ac_cv_use_compat20"
2937 if test "$no_cache" != 1; then
2938 echo $ac_cv_use_compat20 >> ${wx_arg_cache_file}.tmp
2941 if test "$WXWIN_COMPATIBILITY_2" = yes; then
2942 echo "$ac_t""yes" 1>&6
2944 echo "$ac_t""no" 1>&6
2948 echo $ac_n "checking for --enable-compat22""... $ac_c" 1>&6
2949 echo "configure:2950: checking for --enable-compat22" >&5
2951 # Check whether --enable-compat22 or --disable-compat22 was given.
2952 if test "${enable_compat22+set}" = set; then
2953 enableval
="$enable_compat22"
2955 if test "$enableval" = yes; then
2956 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
2958 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
2963 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
2964 if test "x$LINE" != x
; then
2965 eval "DEFAULT_$LINE"
2970 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
2975 eval "$ac_cv_use_compat22"
2976 if test "$no_cache" != 1; then
2977 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
2980 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
2981 echo "$ac_t""yes" 1>&6
2983 echo "$ac_t""no" 1>&6
2989 echo $ac_n "checking for --enable-intl""... $ac_c" 1>&6
2990 echo "configure:2991: checking for --enable-intl" >&5
2992 # Check whether --enable-intl or --disable-intl was given.
2993 if test "${enable_intl+set}" = set; then
2994 enableval
="$enable_intl"
2996 if test "$enableval" = yes; then
2997 ac_cv_use_intl
='wxUSE_INTL=yes'
2999 ac_cv_use_intl
='wxUSE_INTL=no'
3004 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
3005 if test "x$LINE" != x
; then
3006 eval "DEFAULT_$LINE"
3011 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
3016 eval "$ac_cv_use_intl"
3017 if test "$no_cache" != 1; then
3018 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
3021 if test "$wxUSE_INTL" = yes; then
3022 echo "$ac_t""yes" 1>&6
3024 echo "$ac_t""no" 1>&6
3028 echo $ac_n "checking for --enable-config""... $ac_c" 1>&6
3029 echo "configure:3030: checking for --enable-config" >&5
3031 # Check whether --enable-config or --disable-config was given.
3032 if test "${enable_config+set}" = set; then
3033 enableval
="$enable_config"
3035 if test "$enableval" = yes; then
3036 ac_cv_use_config
='wxUSE_CONFIG=yes'
3038 ac_cv_use_config
='wxUSE_CONFIG=no'
3043 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
3044 if test "x$LINE" != x
; then
3045 eval "DEFAULT_$LINE"
3050 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
3055 eval "$ac_cv_use_config"
3056 if test "$no_cache" != 1; then
3057 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
3060 if test "$wxUSE_CONFIG" = yes; then
3061 echo "$ac_t""yes" 1>&6
3063 echo "$ac_t""no" 1>&6
3068 echo $ac_n "checking for --enable-sockets""... $ac_c" 1>&6
3069 echo "configure:3070: checking for --enable-sockets" >&5
3071 # Check whether --enable-sockets or --disable-sockets was given.
3072 if test "${enable_sockets+set}" = set; then
3073 enableval
="$enable_sockets"
3075 if test "$enableval" = yes; then
3076 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
3078 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
3083 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
3084 if test "x$LINE" != x
; then
3085 eval "DEFAULT_$LINE"
3090 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
3095 eval "$ac_cv_use_sockets"
3096 if test "$no_cache" != 1; then
3097 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
3100 if test "$wxUSE_SOCKETS" = yes; then
3101 echo "$ac_t""yes" 1>&6
3103 echo "$ac_t""no" 1>&6
3108 echo $ac_n "checking for --enable-ipc""... $ac_c" 1>&6
3109 echo "configure:3110: checking for --enable-ipc" >&5
3111 # Check whether --enable-ipc or --disable-ipc was given.
3112 if test "${enable_ipc+set}" = set; then
3113 enableval
="$enable_ipc"
3115 if test "$enableval" = yes; then
3116 ac_cv_use_ipc
='wxUSE_IPC=yes'
3118 ac_cv_use_ipc
='wxUSE_IPC=no'
3123 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
3124 if test "x$LINE" != x
; then
3125 eval "DEFAULT_$LINE"
3130 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
3135 eval "$ac_cv_use_ipc"
3136 if test "$no_cache" != 1; then
3137 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
3140 if test "$wxUSE_IPC" = yes; then
3141 echo "$ac_t""yes" 1>&6
3143 echo "$ac_t""no" 1>&6
3148 echo $ac_n "checking for --enable-cmdline""... $ac_c" 1>&6
3149 echo "configure:3150: checking for --enable-cmdline" >&5
3151 # Check whether --enable-cmdline or --disable-cmdline was given.
3152 if test "${enable_cmdline+set}" = set; then
3153 enableval
="$enable_cmdline"
3155 if test "$enableval" = yes; then
3156 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
3158 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
3163 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
3164 if test "x$LINE" != x
; then
3165 eval "DEFAULT_$LINE"
3170 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
3175 eval "$ac_cv_use_cmdline"
3176 if test "$no_cache" != 1; then
3177 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
3180 if test "$wxUSE_CMDLINE_PARSER" = yes; then
3181 echo "$ac_t""yes" 1>&6
3183 echo "$ac_t""no" 1>&6
3187 echo $ac_n "checking for --enable-datetime""... $ac_c" 1>&6
3188 echo "configure:3189: checking for --enable-datetime" >&5
3190 # Check whether --enable-datetime or --disable-datetime was given.
3191 if test "${enable_datetime+set}" = set; then
3192 enableval
="$enable_datetime"
3194 if test "$enableval" = yes; then
3195 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
3197 ac_cv_use_datetime
='wxUSE_DATETIME=no'
3202 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
3203 if test "x$LINE" != x
; then
3204 eval "DEFAULT_$LINE"
3209 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
3214 eval "$ac_cv_use_datetime"
3215 if test "$no_cache" != 1; then
3216 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
3219 if test "$wxUSE_DATETIME" = yes; then
3220 echo "$ac_t""yes" 1>&6
3222 echo "$ac_t""no" 1>&6
3226 echo $ac_n "checking for --enable-timedate""... $ac_c" 1>&6
3227 echo "configure:3228: checking for --enable-timedate" >&5
3229 # Check whether --enable-timedate or --disable-timedate was given.
3230 if test "${enable_timedate+set}" = set; then
3231 enableval
="$enable_timedate"
3233 if test "$enableval" = yes; then
3234 ac_cv_use_timedate
='wxUSE_TIMEDATE=yes'
3236 ac_cv_use_timedate
='wxUSE_TIMEDATE=no'
3241 LINE
=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}`
3242 if test "x$LINE" != x
; then
3243 eval "DEFAULT_$LINE"
3248 ac_cv_use_timedate
='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
3253 eval "$ac_cv_use_timedate"
3254 if test "$no_cache" != 1; then
3255 echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp
3258 if test "$wxUSE_TIMEDATE" = yes; then
3259 echo "$ac_t""yes" 1>&6
3261 echo "$ac_t""no" 1>&6
3265 echo $ac_n "checking for --enable-stopwatch""... $ac_c" 1>&6
3266 echo "configure:3267: checking for --enable-stopwatch" >&5
3268 # Check whether --enable-stopwatch or --disable-stopwatch was given.
3269 if test "${enable_stopwatch+set}" = set; then
3270 enableval
="$enable_stopwatch"
3272 if test "$enableval" = yes; then
3273 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
3275 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
3280 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
3281 if test "x$LINE" != x
; then
3282 eval "DEFAULT_$LINE"
3287 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
3292 eval "$ac_cv_use_stopwatch"
3293 if test "$no_cache" != 1; then
3294 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
3297 if test "$wxUSE_STOPWATCH" = yes; then
3298 echo "$ac_t""yes" 1>&6
3300 echo "$ac_t""no" 1>&6
3304 echo $ac_n "checking for --enable-dialupman""... $ac_c" 1>&6
3305 echo "configure:3306: checking for --enable-dialupman" >&5
3307 # Check whether --enable-dialupman or --disable-dialupman was given.
3308 if test "${enable_dialupman+set}" = set; then
3309 enableval
="$enable_dialupman"
3311 if test "$enableval" = yes; then
3312 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
3314 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
3319 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
3320 if test "x$LINE" != x
; then
3321 eval "DEFAULT_$LINE"
3326 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
3331 eval "$ac_cv_use_dialupman"
3332 if test "$no_cache" != 1; then
3333 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
3336 if test "$wxUSE_DIALUP_MANAGER" = yes; then
3337 echo "$ac_t""yes" 1>&6
3339 echo "$ac_t""no" 1>&6
3343 echo $ac_n "checking for --enable-apple_ieee""... $ac_c" 1>&6
3344 echo "configure:3345: checking for --enable-apple_ieee" >&5
3346 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
3347 if test "${enable_apple_ieee+set}" = set; then
3348 enableval
="$enable_apple_ieee"
3350 if test "$enableval" = yes; then
3351 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
3353 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
3358 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
3359 if test "x$LINE" != x
; then
3360 eval "DEFAULT_$LINE"
3365 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
3370 eval "$ac_cv_use_apple_ieee"
3371 if test "$no_cache" != 1; then
3372 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
3375 if test "$wxUSE_APPLE_IEEE" = yes; then
3376 echo "$ac_t""yes" 1>&6
3378 echo "$ac_t""no" 1>&6
3382 echo $ac_n "checking for --enable-timer""... $ac_c" 1>&6
3383 echo "configure:3384: checking for --enable-timer" >&5
3385 # Check whether --enable-timer or --disable-timer was given.
3386 if test "${enable_timer+set}" = set; then
3387 enableval
="$enable_timer"
3389 if test "$enableval" = yes; then
3390 ac_cv_use_timer
='wxUSE_TIMER=yes'
3392 ac_cv_use_timer
='wxUSE_TIMER=no'
3397 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
3398 if test "x$LINE" != x
; then
3399 eval "DEFAULT_$LINE"
3404 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
3409 eval "$ac_cv_use_timer"
3410 if test "$no_cache" != 1; then
3411 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
3414 if test "$wxUSE_TIMER" = yes; then
3415 echo "$ac_t""yes" 1>&6
3417 echo "$ac_t""no" 1>&6
3421 echo $ac_n "checking for --enable-wave""... $ac_c" 1>&6
3422 echo "configure:3423: checking for --enable-wave" >&5
3424 # Check whether --enable-wave or --disable-wave was given.
3425 if test "${enable_wave+set}" = set; then
3426 enableval
="$enable_wave"
3428 if test "$enableval" = yes; then
3429 ac_cv_use_wave
='wxUSE_WAVE=yes'
3431 ac_cv_use_wave
='wxUSE_WAVE=no'
3436 LINE
=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
3437 if test "x$LINE" != x
; then
3438 eval "DEFAULT_$LINE"
3443 ac_cv_use_wave
='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
3448 eval "$ac_cv_use_wave"
3449 if test "$no_cache" != 1; then
3450 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
3453 if test "$wxUSE_WAVE" = yes; then
3454 echo "$ac_t""yes" 1>&6
3456 echo "$ac_t""no" 1>&6
3460 echo $ac_n "checking for --enable-fraction""... $ac_c" 1>&6
3461 echo "configure:3462: checking for --enable-fraction" >&5
3463 # Check whether --enable-fraction or --disable-fraction was given.
3464 if test "${enable_fraction+set}" = set; then
3465 enableval
="$enable_fraction"
3467 if test "$enableval" = yes; then
3468 ac_cv_use_fraction
='wxUSE_FRACTION=yes'
3470 ac_cv_use_fraction
='wxUSE_FRACTION=no'
3475 LINE
=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
3476 if test "x$LINE" != x
; then
3477 eval "DEFAULT_$LINE"
3482 ac_cv_use_fraction
='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
3487 eval "$ac_cv_use_fraction"
3488 if test "$no_cache" != 1; then
3489 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
3492 if test "$wxUSE_FRACTION" = yes; then
3493 echo "$ac_t""yes" 1>&6
3495 echo "$ac_t""no" 1>&6
3499 echo $ac_n "checking for --enable-dynlib""... $ac_c" 1>&6
3500 echo "configure:3501: checking for --enable-dynlib" >&5
3502 # Check whether --enable-dynlib or --disable-dynlib was given.
3503 if test "${enable_dynlib+set}" = set; then
3504 enableval
="$enable_dynlib"
3506 if test "$enableval" = yes; then
3507 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
3509 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
3514 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
3515 if test "x$LINE" != x
; then
3516 eval "DEFAULT_$LINE"
3521 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
3526 eval "$ac_cv_use_dynlib"
3527 if test "$no_cache" != 1; then
3528 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
3531 if test "$wxUSE_DYNLIB_CLASS" = yes; then
3532 echo "$ac_t""yes" 1>&6
3534 echo "$ac_t""no" 1>&6
3538 echo $ac_n "checking for --enable-dynamicloader""... $ac_c" 1>&6
3539 echo "configure:3540: checking for --enable-dynamicloader" >&5
3541 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
3542 if test "${enable_dynamicloader+set}" = set; then
3543 enableval
="$enable_dynamicloader"
3545 if test "$enableval" = yes; then
3546 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
3548 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
3553 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
3554 if test "x$LINE" != x
; then
3555 eval "DEFAULT_$LINE"
3560 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
3565 eval "$ac_cv_use_dynamicloader"
3566 if test "$no_cache" != 1; then
3567 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
3570 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
3571 echo "$ac_t""yes" 1>&6
3573 echo "$ac_t""no" 1>&6
3577 echo $ac_n "checking for --enable-longlong""... $ac_c" 1>&6
3578 echo "configure:3579: checking for --enable-longlong" >&5
3580 # Check whether --enable-longlong or --disable-longlong was given.
3581 if test "${enable_longlong+set}" = set; then
3582 enableval
="$enable_longlong"
3584 if test "$enableval" = yes; then
3585 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
3587 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
3592 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
3593 if test "x$LINE" != x
; then
3594 eval "DEFAULT_$LINE"
3599 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
3604 eval "$ac_cv_use_longlong"
3605 if test "$no_cache" != 1; then
3606 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
3609 if test "$wxUSE_LONGLONG" = yes; then
3610 echo "$ac_t""yes" 1>&6
3612 echo "$ac_t""no" 1>&6
3616 echo $ac_n "checking for --enable-geometry""... $ac_c" 1>&6
3617 echo "configure:3618: checking for --enable-geometry" >&5
3619 # Check whether --enable-geometry or --disable-geometry was given.
3620 if test "${enable_geometry+set}" = set; then
3621 enableval
="$enable_geometry"
3623 if test "$enableval" = yes; then
3624 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
3626 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
3631 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
3632 if test "x$LINE" != x
; then
3633 eval "DEFAULT_$LINE"
3638 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
3643 eval "$ac_cv_use_geometry"
3644 if test "$no_cache" != 1; then
3645 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
3648 if test "$wxUSE_GEOMETRY" = yes; then
3649 echo "$ac_t""yes" 1>&6
3651 echo "$ac_t""no" 1>&6
3655 echo $ac_n "checking for --enable-log""... $ac_c" 1>&6
3656 echo "configure:3657: checking for --enable-log" >&5
3658 # Check whether --enable-log or --disable-log was given.
3659 if test "${enable_log+set}" = set; then
3660 enableval
="$enable_log"
3662 if test "$enableval" = yes; then
3663 ac_cv_use_log
='wxUSE_LOG=yes'
3665 ac_cv_use_log
='wxUSE_LOG=no'
3670 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
3671 if test "x$LINE" != x
; then
3672 eval "DEFAULT_$LINE"
3677 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
3682 eval "$ac_cv_use_log"
3683 if test "$no_cache" != 1; then
3684 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
3687 if test "$wxUSE_LOG" = yes; then
3688 echo "$ac_t""yes" 1>&6
3690 echo "$ac_t""no" 1>&6
3694 echo $ac_n "checking for --enable-streams""... $ac_c" 1>&6
3695 echo "configure:3696: checking for --enable-streams" >&5
3697 # Check whether --enable-streams or --disable-streams was given.
3698 if test "${enable_streams+set}" = set; then
3699 enableval
="$enable_streams"
3701 if test "$enableval" = yes; then
3702 ac_cv_use_streams
='wxUSE_STREAMS=yes'
3704 ac_cv_use_streams
='wxUSE_STREAMS=no'
3709 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
3710 if test "x$LINE" != x
; then
3711 eval "DEFAULT_$LINE"
3716 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
3721 eval "$ac_cv_use_streams"
3722 if test "$no_cache" != 1; then
3723 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
3726 if test "$wxUSE_STREAMS" = yes; then
3727 echo "$ac_t""yes" 1>&6
3729 echo "$ac_t""no" 1>&6
3733 echo $ac_n "checking for --enable-file""... $ac_c" 1>&6
3734 echo "configure:3735: checking for --enable-file" >&5
3736 # Check whether --enable-file or --disable-file was given.
3737 if test "${enable_file+set}" = set; then
3738 enableval
="$enable_file"
3740 if test "$enableval" = yes; then
3741 ac_cv_use_file
='wxUSE_FILE=yes'
3743 ac_cv_use_file
='wxUSE_FILE=no'
3748 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
3749 if test "x$LINE" != x
; then
3750 eval "DEFAULT_$LINE"
3755 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
3760 eval "$ac_cv_use_file"
3761 if test "$no_cache" != 1; then
3762 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
3765 if test "$wxUSE_FILE" = yes; then
3766 echo "$ac_t""yes" 1>&6
3768 echo "$ac_t""no" 1>&6
3772 echo $ac_n "checking for --enable-ffile""... $ac_c" 1>&6
3773 echo "configure:3774: checking for --enable-ffile" >&5
3775 # Check whether --enable-ffile or --disable-ffile was given.
3776 if test "${enable_ffile+set}" = set; then
3777 enableval
="$enable_ffile"
3779 if test "$enableval" = yes; then
3780 ac_cv_use_ffile
='wxUSE_FFILE=yes'
3782 ac_cv_use_ffile
='wxUSE_FFILE=no'
3787 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
3788 if test "x$LINE" != x
; then
3789 eval "DEFAULT_$LINE"
3794 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
3799 eval "$ac_cv_use_ffile"
3800 if test "$no_cache" != 1; then
3801 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
3804 if test "$wxUSE_FFILE" = yes; then
3805 echo "$ac_t""yes" 1>&6
3807 echo "$ac_t""no" 1>&6
3811 echo $ac_n "checking for --enable-textbuf""... $ac_c" 1>&6
3812 echo "configure:3813: checking for --enable-textbuf" >&5
3814 # Check whether --enable-textbuf or --disable-textbuf was given.
3815 if test "${enable_textbuf+set}" = set; then
3816 enableval
="$enable_textbuf"
3818 if test "$enableval" = yes; then
3819 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
3821 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
3826 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
3827 if test "x$LINE" != x
; then
3828 eval "DEFAULT_$LINE"
3833 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
3838 eval "$ac_cv_use_textbuf"
3839 if test "$no_cache" != 1; then
3840 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
3843 if test "$wxUSE_TEXTBUFFER" = yes; then
3844 echo "$ac_t""yes" 1>&6
3846 echo "$ac_t""no" 1>&6
3850 echo $ac_n "checking for --enable-textfile""... $ac_c" 1>&6
3851 echo "configure:3852: checking for --enable-textfile" >&5
3853 # Check whether --enable-textfile or --disable-textfile was given.
3854 if test "${enable_textfile+set}" = set; then
3855 enableval
="$enable_textfile"
3857 if test "$enableval" = yes; then
3858 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
3860 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
3865 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
3866 if test "x$LINE" != x
; then
3867 eval "DEFAULT_$LINE"
3872 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
3877 eval "$ac_cv_use_textfile"
3878 if test "$no_cache" != 1; then
3879 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
3882 if test "$wxUSE_TEXTFILE" = yes; then
3883 echo "$ac_t""yes" 1>&6
3885 echo "$ac_t""no" 1>&6
3889 echo $ac_n "checking for --enable-fontmap""... $ac_c" 1>&6
3890 echo "configure:3891: checking for --enable-fontmap" >&5
3892 # Check whether --enable-fontmap or --disable-fontmap was given.
3893 if test "${enable_fontmap+set}" = set; then
3894 enableval
="$enable_fontmap"
3896 if test "$enableval" = yes; then
3897 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
3899 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
3904 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
3905 if test "x$LINE" != x
; then
3906 eval "DEFAULT_$LINE"
3911 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
3916 eval "$ac_cv_use_fontmap"
3917 if test "$no_cache" != 1; then
3918 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
3921 if test "$wxUSE_FONTMAP" = yes; then
3922 echo "$ac_t""yes" 1>&6
3924 echo "$ac_t""no" 1>&6
3928 echo $ac_n "checking for --enable-unicode""... $ac_c" 1>&6
3929 echo "configure:3930: checking for --enable-unicode" >&5
3931 # Check whether --enable-unicode or --disable-unicode was given.
3932 if test "${enable_unicode+set}" = set; then
3933 enableval
="$enable_unicode"
3935 if test "$enableval" = yes; then
3936 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
3938 ac_cv_use_unicode
='wxUSE_UNICODE=no'
3943 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
3944 if test "x$LINE" != x
; then
3945 eval "DEFAULT_$LINE"
3950 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
3955 eval "$ac_cv_use_unicode"
3956 if test "$no_cache" != 1; then
3957 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
3960 if test "$wxUSE_UNICODE" = yes; then
3961 echo "$ac_t""yes" 1>&6
3963 echo "$ac_t""no" 1>&6
3967 echo $ac_n "checking for --enable-wxprintfv""... $ac_c" 1>&6
3968 echo "configure:3969: checking for --enable-wxprintfv" >&5
3970 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
3971 if test "${enable_wxprintfv+set}" = set; then
3972 enableval
="$enable_wxprintfv"
3974 if test "$enableval" = yes; then
3975 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
3977 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
3982 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
3983 if test "x$LINE" != x
; then
3984 eval "DEFAULT_$LINE"
3989 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
3994 eval "$ac_cv_use_wxprintfv"
3995 if test "$no_cache" != 1; then
3996 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
3999 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
4000 echo "$ac_t""yes" 1>&6
4002 echo "$ac_t""no" 1>&6
4006 echo $ac_n "checking for --enable-std_iostreams""... $ac_c" 1>&6
4007 echo "configure:4008: checking for --enable-std_iostreams" >&5
4009 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
4010 if test "${enable_std_iostreams+set}" = set; then
4011 enableval
="$enable_std_iostreams"
4013 if test "$enableval" = yes; then
4014 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
4016 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
4021 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
4022 if test "x$LINE" != x
; then
4023 eval "DEFAULT_$LINE"
4028 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
4033 eval "$ac_cv_use_std_iostreams"
4034 if test "$no_cache" != 1; then
4035 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
4038 if test "$wxUSE_STD_IOSTREAM" = yes; then
4039 echo "$ac_t""yes" 1>&6
4041 echo "$ac_t""no" 1>&6
4045 echo $ac_n "checking for --enable-filesystem""... $ac_c" 1>&6
4046 echo "configure:4047: checking for --enable-filesystem" >&5
4048 # Check whether --enable-filesystem or --disable-filesystem was given.
4049 if test "${enable_filesystem+set}" = set; then
4050 enableval
="$enable_filesystem"
4052 if test "$enableval" = yes; then
4053 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
4055 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
4060 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
4061 if test "x$LINE" != x
; then
4062 eval "DEFAULT_$LINE"
4067 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
4072 eval "$ac_cv_use_filesystem"
4073 if test "$no_cache" != 1; then
4074 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
4077 if test "$wxUSE_FILESYSTEM" = yes; then
4078 echo "$ac_t""yes" 1>&6
4080 echo "$ac_t""no" 1>&6
4084 echo $ac_n "checking for --enable-fs_inet""... $ac_c" 1>&6
4085 echo "configure:4086: checking for --enable-fs_inet" >&5
4087 # Check whether --enable-fs_inet or --disable-fs_inet was given.
4088 if test "${enable_fs_inet+set}" = set; then
4089 enableval
="$enable_fs_inet"
4091 if test "$enableval" = yes; then
4092 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
4094 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
4099 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
4100 if test "x$LINE" != x
; then
4101 eval "DEFAULT_$LINE"
4106 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
4111 eval "$ac_cv_use_fs_inet"
4112 if test "$no_cache" != 1; then
4113 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
4116 if test "$wxUSE_FS_INET" = yes; then
4117 echo "$ac_t""yes" 1>&6
4119 echo "$ac_t""no" 1>&6
4123 echo $ac_n "checking for --enable-fs_zip""... $ac_c" 1>&6
4124 echo "configure:4125: checking for --enable-fs_zip" >&5
4126 # Check whether --enable-fs_zip or --disable-fs_zip was given.
4127 if test "${enable_fs_zip+set}" = set; then
4128 enableval
="$enable_fs_zip"
4130 if test "$enableval" = yes; then
4131 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
4133 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
4138 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
4139 if test "x$LINE" != x
; then
4140 eval "DEFAULT_$LINE"
4145 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
4150 eval "$ac_cv_use_fs_zip"
4151 if test "$no_cache" != 1; then
4152 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
4155 if test "$wxUSE_FS_ZIP" = yes; then
4156 echo "$ac_t""yes" 1>&6
4158 echo "$ac_t""no" 1>&6
4162 echo $ac_n "checking for --enable-zipstream""... $ac_c" 1>&6
4163 echo "configure:4164: checking for --enable-zipstream" >&5
4165 # Check whether --enable-zipstream or --disable-zipstream was given.
4166 if test "${enable_zipstream+set}" = set; then
4167 enableval
="$enable_zipstream"
4169 if test "$enableval" = yes; then
4170 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
4172 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
4177 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
4178 if test "x$LINE" != x
; then
4179 eval "DEFAULT_$LINE"
4184 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
4189 eval "$ac_cv_use_zipstream"
4190 if test "$no_cache" != 1; then
4191 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
4194 if test "$wxUSE_ZIPSTREAM" = yes; then
4195 echo "$ac_t""yes" 1>&6
4197 echo "$ac_t""no" 1>&6
4202 echo $ac_n "checking for --enable-catch_segvs""... $ac_c" 1>&6
4203 echo "configure:4204: checking for --enable-catch_segvs" >&5
4205 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4206 if test "${enable_catch_segvs+set}" = set; then
4207 enableval
="$enable_catch_segvs"
4209 if test "$enableval" = yes; then
4210 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4212 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4217 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4218 if test "x$LINE" != x
; then
4219 eval "DEFAULT_$LINE"
4224 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4229 eval "$ac_cv_use_catch_segvs"
4230 if test "$no_cache" != 1; then
4231 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4234 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4235 echo "$ac_t""yes" 1>&6
4237 echo "$ac_t""no" 1>&6
4241 echo $ac_n "checking for --enable-snglinst""... $ac_c" 1>&6
4242 echo "configure:4243: checking for --enable-snglinst" >&5
4244 # Check whether --enable-snglinst or --disable-snglinst was given.
4245 if test "${enable_snglinst+set}" = set; then
4246 enableval
="$enable_snglinst"
4248 if test "$enableval" = yes; then
4249 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
4251 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
4256 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
4257 if test "x$LINE" != x
; then
4258 eval "DEFAULT_$LINE"
4263 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
4268 eval "$ac_cv_use_snglinst"
4269 if test "$no_cache" != 1; then
4270 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
4273 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
4274 echo "$ac_t""yes" 1>&6
4276 echo "$ac_t""no" 1>&6
4281 echo $ac_n "checking for --enable-mimetype""... $ac_c" 1>&6
4282 echo "configure:4283: checking for --enable-mimetype" >&5
4284 # Check whether --enable-mimetype or --disable-mimetype was given.
4285 if test "${enable_mimetype+set}" = set; then
4286 enableval
="$enable_mimetype"
4288 if test "$enableval" = yes; then
4289 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
4291 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
4296 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
4297 if test "x$LINE" != x
; then
4298 eval "DEFAULT_$LINE"
4303 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
4308 eval "$ac_cv_use_mimetype"
4309 if test "$no_cache" != 1; then
4310 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
4313 if test "$wxUSE_MIMETYPE" = yes; then
4314 echo "$ac_t""yes" 1>&6
4316 echo "$ac_t""no" 1>&6
4320 echo $ac_n "checking for --enable-system_options""... $ac_c" 1>&6
4321 echo "configure:4322: checking for --enable-system_options" >&5
4323 # Check whether --enable-system_options or --disable-system_options was given.
4324 if test "${enable_system_options+set}" = set; then
4325 enableval
="$enable_system_options"
4327 if test "$enableval" = yes; then
4328 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
4330 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
4335 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
4336 if test "x$LINE" != x
; then
4337 eval "DEFAULT_$LINE"
4342 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
4347 eval "$ac_cv_use_system_options"
4348 if test "$no_cache" != 1; then
4349 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
4352 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
4353 echo "$ac_t""yes" 1>&6
4355 echo "$ac_t""no" 1>&6
4361 echo $ac_n "checking for --enable-threads""... $ac_c" 1>&6
4362 echo "configure:4363: checking for --enable-threads" >&5
4364 # Check whether --enable-threads or --disable-threads was given.
4365 if test "${enable_threads+set}" = set; then
4366 enableval
="$enable_threads"
4368 if test "$enableval" = yes; then
4369 ac_cv_use_threads
='wxUSE_THREADS=yes'
4371 ac_cv_use_threads
='wxUSE_THREADS=no'
4376 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
4377 if test "x$LINE" != x
; then
4378 eval "DEFAULT_$LINE"
4383 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
4388 eval "$ac_cv_use_threads"
4389 if test "$no_cache" != 1; then
4390 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
4393 if test "$wxUSE_THREADS" = yes; then
4394 echo "$ac_t""yes" 1>&6
4396 echo "$ac_t""no" 1>&6
4400 if test "$wxUSE_GUI" = "yes"; then
4404 echo $ac_n "checking for --enable-docview""... $ac_c" 1>&6
4405 echo "configure:4406: checking for --enable-docview" >&5
4407 # Check whether --enable-docview or --disable-docview was given.
4408 if test "${enable_docview+set}" = set; then
4409 enableval
="$enable_docview"
4411 if test "$enableval" = yes; then
4412 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
4414 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
4419 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
4420 if test "x$LINE" != x
; then
4421 eval "DEFAULT_$LINE"
4426 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
4431 eval "$ac_cv_use_docview"
4432 if test "$no_cache" != 1; then
4433 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
4436 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
4437 echo "$ac_t""yes" 1>&6
4439 echo "$ac_t""no" 1>&6
4443 echo $ac_n "checking for --enable-help""... $ac_c" 1>&6
4444 echo "configure:4445: checking for --enable-help" >&5
4446 # Check whether --enable-help or --disable-help was given.
4447 if test "${enable_help+set}" = set; then
4448 enableval
="$enable_help"
4450 if test "$enableval" = yes; then
4451 ac_cv_use_help
='wxUSE_HELP=yes'
4453 ac_cv_use_help
='wxUSE_HELP=no'
4458 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
4459 if test "x$LINE" != x
; then
4460 eval "DEFAULT_$LINE"
4465 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
4470 eval "$ac_cv_use_help"
4471 if test "$no_cache" != 1; then
4472 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
4475 if test "$wxUSE_HELP" = yes; then
4476 echo "$ac_t""yes" 1>&6
4478 echo "$ac_t""no" 1>&6
4482 echo $ac_n "checking for --enable-mshtmlhelp""... $ac_c" 1>&6
4483 echo "configure:4484: checking for --enable-mshtmlhelp" >&5
4485 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
4486 if test "${enable_mshtmlhelp+set}" = set; then
4487 enableval
="$enable_mshtmlhelp"
4489 if test "$enableval" = yes; then
4490 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
4492 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
4497 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
4498 if test "x$LINE" != x
; then
4499 eval "DEFAULT_$LINE"
4504 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
4509 eval "$ac_cv_use_mshtmlhelp"
4510 if test "$no_cache" != 1; then
4511 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
4514 if test "$wxUSE_MS_HTML_HELP" = yes; then
4515 echo "$ac_t""yes" 1>&6
4517 echo "$ac_t""no" 1>&6
4521 echo $ac_n "checking for --enable-html""... $ac_c" 1>&6
4522 echo "configure:4523: checking for --enable-html" >&5
4524 # Check whether --enable-html or --disable-html was given.
4525 if test "${enable_html+set}" = set; then
4526 enableval
="$enable_html"
4528 if test "$enableval" = yes; then
4529 ac_cv_use_html
='wxUSE_HTML=yes'
4531 ac_cv_use_html
='wxUSE_HTML=no'
4536 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
4537 if test "x$LINE" != x
; then
4538 eval "DEFAULT_$LINE"
4543 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
4548 eval "$ac_cv_use_html"
4549 if test "$no_cache" != 1; then
4550 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
4553 if test "$wxUSE_HTML" = yes; then
4554 echo "$ac_t""yes" 1>&6
4556 echo "$ac_t""no" 1>&6
4560 echo $ac_n "checking for --enable-htmlhelp""... $ac_c" 1>&6
4561 echo "configure:4562: checking for --enable-htmlhelp" >&5
4563 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
4564 if test "${enable_htmlhelp+set}" = set; then
4565 enableval
="$enable_htmlhelp"
4567 if test "$enableval" = yes; then
4568 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
4570 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
4575 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
4576 if test "x$LINE" != x
; then
4577 eval "DEFAULT_$LINE"
4582 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
4587 eval "$ac_cv_use_htmlhelp"
4588 if test "$no_cache" != 1; then
4589 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
4592 if test "$wxUSE_WXHTML_HELP" = yes; then
4593 echo "$ac_t""yes" 1>&6
4595 echo "$ac_t""no" 1>&6
4599 echo $ac_n "checking for --enable-constraints""... $ac_c" 1>&6
4600 echo "configure:4601: checking for --enable-constraints" >&5
4602 # Check whether --enable-constraints or --disable-constraints was given.
4603 if test "${enable_constraints+set}" = set; then
4604 enableval
="$enable_constraints"
4606 if test "$enableval" = yes; then
4607 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
4609 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
4614 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
4615 if test "x$LINE" != x
; then
4616 eval "DEFAULT_$LINE"
4621 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
4626 eval "$ac_cv_use_constraints"
4627 if test "$no_cache" != 1; then
4628 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
4631 if test "$wxUSE_CONSTRAINTS" = yes; then
4632 echo "$ac_t""yes" 1>&6
4634 echo "$ac_t""no" 1>&6
4638 echo $ac_n "checking for --enable-printarch""... $ac_c" 1>&6
4639 echo "configure:4640: checking for --enable-printarch" >&5
4641 # Check whether --enable-printarch or --disable-printarch was given.
4642 if test "${enable_printarch+set}" = set; then
4643 enableval
="$enable_printarch"
4645 if test "$enableval" = yes; then
4646 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
4648 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
4653 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
4654 if test "x$LINE" != x
; then
4655 eval "DEFAULT_$LINE"
4660 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
4665 eval "$ac_cv_use_printarch"
4666 if test "$no_cache" != 1; then
4667 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
4670 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
4671 echo "$ac_t""yes" 1>&6
4673 echo "$ac_t""no" 1>&6
4677 echo $ac_n "checking for --enable-mdi""... $ac_c" 1>&6
4678 echo "configure:4679: checking for --enable-mdi" >&5
4680 # Check whether --enable-mdi or --disable-mdi was given.
4681 if test "${enable_mdi+set}" = set; then
4682 enableval
="$enable_mdi"
4684 if test "$enableval" = yes; then
4685 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=yes'
4687 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=no'
4692 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
4693 if test "x$LINE" != x
; then
4694 eval "DEFAULT_$LINE"
4699 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
4704 eval "$ac_cv_use_mdi"
4705 if test "$no_cache" != 1; then
4706 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
4709 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
4710 echo "$ac_t""yes" 1>&6
4712 echo "$ac_t""no" 1>&6
4716 echo $ac_n "checking for --enable-loggui""... $ac_c" 1>&6
4717 echo "configure:4718: checking for --enable-loggui" >&5
4719 # Check whether --enable-loggui or --disable-loggui was given.
4720 if test "${enable_loggui+set}" = set; then
4721 enableval
="$enable_loggui"
4723 if test "$enableval" = yes; then
4724 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
4726 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
4731 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
4732 if test "x$LINE" != x
; then
4733 eval "DEFAULT_$LINE"
4738 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
4743 eval "$ac_cv_use_loggui"
4744 if test "$no_cache" != 1; then
4745 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
4748 if test "$wxUSE_LOGGUI" = yes; then
4749 echo "$ac_t""yes" 1>&6
4751 echo "$ac_t""no" 1>&6
4755 echo $ac_n "checking for --enable-logwin""... $ac_c" 1>&6
4756 echo "configure:4757: checking for --enable-logwin" >&5
4758 # Check whether --enable-logwin or --disable-logwin was given.
4759 if test "${enable_logwin+set}" = set; then
4760 enableval
="$enable_logwin"
4762 if test "$enableval" = yes; then
4763 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
4765 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
4770 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
4771 if test "x$LINE" != x
; then
4772 eval "DEFAULT_$LINE"
4777 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
4782 eval "$ac_cv_use_logwin"
4783 if test "$no_cache" != 1; then
4784 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
4787 if test "$wxUSE_LOGWINDOW" = yes; then
4788 echo "$ac_t""yes" 1>&6
4790 echo "$ac_t""no" 1>&6
4794 echo $ac_n "checking for --enable-logdialog""... $ac_c" 1>&6
4795 echo "configure:4796: checking for --enable-logdialog" >&5
4797 # Check whether --enable-logdialog or --disable-logdialog was given.
4798 if test "${enable_logdialog+set}" = set; then
4799 enableval
="$enable_logdialog"
4801 if test "$enableval" = yes; then
4802 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
4804 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
4809 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
4810 if test "x$LINE" != x
; then
4811 eval "DEFAULT_$LINE"
4816 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
4821 eval "$ac_cv_use_logdialog"
4822 if test "$no_cache" != 1; then
4823 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
4826 if test "$wxUSE_LOGDIALOG" = yes; then
4827 echo "$ac_t""yes" 1>&6
4829 echo "$ac_t""no" 1>&6
4834 echo $ac_n "checking for --enable-postscript""... $ac_c" 1>&6
4835 echo "configure:4836: checking for --enable-postscript" >&5
4837 # Check whether --enable-postscript or --disable-postscript was given.
4838 if test "${enable_postscript+set}" = set; then
4839 enableval
="$enable_postscript"
4841 if test "$enableval" = yes; then
4842 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
4844 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
4849 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
4850 if test "x$LINE" != x
; then
4851 eval "DEFAULT_$LINE"
4856 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
4861 eval "$ac_cv_use_postscript"
4862 if test "$no_cache" != 1; then
4863 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
4866 if test "$wxUSE_POSTSCRIPT" = yes; then
4867 echo "$ac_t""yes" 1>&6
4869 echo "$ac_t""no" 1>&6
4876 echo $ac_n "checking for --enable-prologio""... $ac_c" 1>&6
4877 echo "configure:4878: checking for --enable-prologio" >&5
4879 # Check whether --enable-prologio or --disable-prologio was given.
4880 if test "${enable_prologio+set}" = set; then
4881 enableval
="$enable_prologio"
4883 if test "$enableval" = yes; then
4884 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
4886 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
4891 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
4892 if test "x$LINE" != x
; then
4893 eval "DEFAULT_$LINE"
4898 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
4903 eval "$ac_cv_use_prologio"
4904 if test "$no_cache" != 1; then
4905 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
4908 if test "$wxUSE_PROLOGIO" = yes; then
4909 echo "$ac_t""yes" 1>&6
4911 echo "$ac_t""no" 1>&6
4915 echo $ac_n "checking for --enable-resources""... $ac_c" 1>&6
4916 echo "configure:4917: checking for --enable-resources" >&5
4918 # Check whether --enable-resources or --disable-resources was given.
4919 if test "${enable_resources+set}" = set; then
4920 enableval
="$enable_resources"
4922 if test "$enableval" = yes; then
4923 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
4925 ac_cv_use_resources
='wxUSE_RESOURCES=no'
4930 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
4931 if test "x$LINE" != x
; then
4932 eval "DEFAULT_$LINE"
4937 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
4942 eval "$ac_cv_use_resources"
4943 if test "$no_cache" != 1; then
4944 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
4947 if test "$wxUSE_RESOURCES" = yes; then
4948 echo "$ac_t""yes" 1>&6
4950 echo "$ac_t""no" 1>&6
4955 echo $ac_n "checking for --enable-xresources""... $ac_c" 1>&6
4956 echo "configure:4957: checking for --enable-xresources" >&5
4958 # Check whether --enable-xresources or --disable-xresources was given.
4959 if test "${enable_xresources+set}" = set; then
4960 enableval
="$enable_xresources"
4962 if test "$enableval" = yes; then
4963 ac_cv_use_xresources
='wxUSE_X_RESOURCES=yes'
4965 ac_cv_use_xresources
='wxUSE_X_RESOURCES=no'
4970 LINE
=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
4971 if test "x$LINE" != x
; then
4972 eval "DEFAULT_$LINE"
4977 ac_cv_use_xresources
='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
4982 eval "$ac_cv_use_xresources"
4983 if test "$no_cache" != 1; then
4984 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
4987 if test "$wxUSE_X_RESOURCES" = yes; then
4988 echo "$ac_t""yes" 1>&6
4990 echo "$ac_t""no" 1>&6
4996 echo $ac_n "checking for --enable-clipboard""... $ac_c" 1>&6
4997 echo "configure:4998: checking for --enable-clipboard" >&5
4999 # Check whether --enable-clipboard or --disable-clipboard was given.
5000 if test "${enable_clipboard+set}" = set; then
5001 enableval
="$enable_clipboard"
5003 if test "$enableval" = yes; then
5004 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
5006 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
5011 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
5012 if test "x$LINE" != x
; then
5013 eval "DEFAULT_$LINE"
5018 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
5023 eval "$ac_cv_use_clipboard"
5024 if test "$no_cache" != 1; then
5025 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
5028 if test "$wxUSE_CLIPBOARD" = yes; then
5029 echo "$ac_t""yes" 1>&6
5031 echo "$ac_t""no" 1>&6
5035 echo $ac_n "checking for --enable-dnd""... $ac_c" 1>&6
5036 echo "configure:5037: checking for --enable-dnd" >&5
5038 # Check whether --enable-dnd or --disable-dnd was given.
5039 if test "${enable_dnd+set}" = set; then
5040 enableval
="$enable_dnd"
5042 if test "$enableval" = yes; then
5043 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
5045 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
5050 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
5051 if test "x$LINE" != x
; then
5052 eval "DEFAULT_$LINE"
5057 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
5062 eval "$ac_cv_use_dnd"
5063 if test "$no_cache" != 1; then
5064 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
5067 if test "$wxUSE_DRAG_AND_DROP" = yes; then
5068 echo "$ac_t""yes" 1>&6
5070 echo "$ac_t""no" 1>&6
5074 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
5075 echo "configure:5076: checking for --enable-metafile" >&5
5077 # Check whether --enable-metafile or --disable-metafile was given.
5078 if test "${enable_metafile+set}" = set; then
5079 enableval
="$enable_metafile"
5081 if test "$enableval" = yes; then
5082 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
5084 ac_cv_use_metafile
='wxUSE_METAFILE=no'
5089 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
5090 if test "x$LINE" != x
; then
5091 eval "DEFAULT_$LINE"
5096 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
5101 eval "$ac_cv_use_metafile"
5102 if test "$no_cache" != 1; then
5103 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
5106 if test "$wxUSE_METAFILE" = yes; then
5107 echo "$ac_t""yes" 1>&6
5109 echo "$ac_t""no" 1>&6
5114 echo $ac_n "checking for --enable-treelayout""... $ac_c" 1>&6
5115 echo "configure:5116: checking for --enable-treelayout" >&5
5117 # Check whether --enable-treelayout or --disable-treelayout was given.
5118 if test "${enable_treelayout+set}" = set; then
5119 enableval
="$enable_treelayout"
5121 if test "$enableval" = yes; then
5122 ac_cv_use_treelayout
='wxUSE_TREELAYOUT=yes'
5124 ac_cv_use_treelayout
='wxUSE_TREELAYOUT=no'
5129 LINE
=`grep "wxUSE_TREELAYOUT" ${wx_arg_cache_file}`
5130 if test "x$LINE" != x
; then
5131 eval "DEFAULT_$LINE"
5136 ac_cv_use_treelayout
='wxUSE_TREELAYOUT='$DEFAULT_wxUSE_TREELAYOUT
5141 eval "$ac_cv_use_treelayout"
5142 if test "$no_cache" != 1; then
5143 echo $ac_cv_use_treelayout >> ${wx_arg_cache_file}.tmp
5146 if test "$wxUSE_TREELAYOUT" = yes; then
5147 echo "$ac_t""yes" 1>&6
5149 echo "$ac_t""no" 1>&6
5155 echo $ac_n "checking for --enable-controls""... $ac_c" 1>&6
5156 echo "configure:5157: checking for --enable-controls" >&5
5158 # Check whether --enable-controls or --disable-controls was given.
5159 if test "${enable_controls+set}" = set; then
5160 enableval
="$enable_controls"
5162 if test "$enableval" = yes; then
5163 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
5165 ac_cv_use_controls
='wxUSE_CONTROLS=no'
5170 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
5171 if test "x$LINE" != x
; then
5172 eval "DEFAULT_$LINE"
5177 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
5182 eval "$ac_cv_use_controls"
5183 if test "$no_cache" != 1; then
5184 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
5187 if test "$wxUSE_CONTROLS" = yes; then
5188 echo "$ac_t""yes" 1>&6
5190 echo "$ac_t""no" 1>&6
5194 if test "$wxUSE_CONTROLS" = "yes"; then
5195 DEFAULT_wxUSE_ACCEL
=yes
5196 DEFAULT_wxUSE_BMPBUTTON
=yes
5197 DEFAULT_wxUSE_BUTTON
=yes
5198 DEFAULT_wxUSE_CALCTRL
=no
5199 DEFAULT_wxUSE_CARET
=yes
5200 DEFAULT_wxUSE_COMBOBOX
=yes
5201 DEFAULT_wxUSE_CHECKBOX
=yes
5202 DEFAULT_wxUSE_CHECKLISTBOX
=yes
5203 DEFAULT_wxUSE_CHOICE
=yes
5204 DEFAULT_wxUSE_GAUGE
=yes
5205 DEFAULT_wxUSE_GRID
=yes
5206 DEFAULT_wxUSE_NEW_GRID
=yes
5207 DEFAULT_wxUSE_IMAGLIST
=yes
5208 DEFAULT_wxUSE_LISTBOX
=yes
5209 DEFAULT_wxUSE_LISTCTRL
=yes
5210 DEFAULT_wxUSE_NOTEBOOK
=yes
5211 DEFAULT_wxUSE_PROPSHEET
=yes
5212 DEFAULT_wxUSE_RADIOBOX
=yes
5213 DEFAULT_wxUSE_RADIOBTN
=yes
5214 DEFAULT_wxUSE_SASH
=yes
5215 DEFAULT_wxUSE_SCROLLBAR
=yes
5216 DEFAULT_wxUSE_SLIDER
=yes
5217 DEFAULT_wxUSE_SPINBTN
=yes
5218 DEFAULT_wxUSE_SPINCTRL
=yes
5219 DEFAULT_wxUSE_SPLITTER
=yes
5220 DEFAULT_wxUSE_STATBMP
=yes
5221 DEFAULT_wxUSE_STATBOX
=yes
5222 DEFAULT_wxUSE_STATLINE
=yes
5223 DEFAULT_wxUSE_STATUSBAR
=yes
5224 DEFAULT_wxUSE_TAB_DIALOG
=yes
5225 DEFAULT_wxUSE_TOGGLEBTN
=yes
5226 DEFAULT_wxUSE_TOOLBAR
=yes
5227 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
5228 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
5229 DEFAULT_wxUSE_TOOLTIPS
=yes
5230 DEFAULT_wxUSE_TREECTRL
=yes
5231 DEFAULT_wxUSE_POPUPWIN
=yes
5232 DEFAULT_wxUSE_TIPWINDOW
=yes
5233 elif test "$wxUSE_CONTROLS" = "no"; then
5234 DEFAULT_wxUSE_ACCEL
=no
5235 DEFAULT_wxUSE_BMPBUTTON
=no
5236 DEFAULT_wxUSE_BUTTON
=no
5237 DEFAULT_wxUSE_CALCTRL
=no
5238 DEFAULT_wxUSE_CARET
=no
5239 DEFAULT_wxUSE_COMBOBOX
=no
5240 DEFAULT_wxUSE_CHECKBOX
=no
5241 DEFAULT_wxUSE_CHECKLISTBOX
=no
5242 DEFAULT_wxUSE_CHOICE
=no
5243 DEFAULT_wxUSE_GAUGE
=no
5244 DEFAULT_wxUSE_GRID
=no
5245 DEFAULT_wxUSE_NEW_GRID
=no
5246 DEFAULT_wxUSE_IMAGLIST
=no
5247 DEFAULT_wxUSE_LISTBOX
=no
5248 DEFAULT_wxUSE_LISTCTRL
=no
5249 DEFAULT_wxUSE_NOTEBOOK
=no
5250 DEFAULT_wxUSE_PROPSHEET
=no
5251 DEFAULT_wxUSE_RADIOBOX
=no
5252 DEFAULT_wxUSE_RADIOBTN
=no
5253 DEFAULT_wxUSE_SASH
=no
5254 DEFAULT_wxUSE_SCROLLBAR
=no
5255 DEFAULT_wxUSE_SLIDER
=no
5256 DEFAULT_wxUSE_SPINBTN
=no
5257 DEFAULT_wxUSE_SPINCTRL
=no
5258 DEFAULT_wxUSE_SPLITTER
=no
5259 DEFAULT_wxUSE_STATBMP
=no
5260 DEFAULT_wxUSE_STATBOX
=no
5261 DEFAULT_wxUSE_STATLINE
=no
5262 DEFAULT_wxUSE_STATUSBAR
=no
5263 DEFAULT_wxUSE_TAB_DIALOG
=no
5264 DEFAULT_wxUSE_TOGGLEBTN
=no
5265 DEFAULT_wxUSE_TOOLBAR
=no
5266 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
5267 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
5268 DEFAULT_wxUSE_TOOLTIPS
=no
5269 DEFAULT_wxUSE_TREECTRL
=no
5270 DEFAULT_wxUSE_POPUPWIN
=no
5271 DEFAULT_wxUSE_TIPWINDOW
=no
5275 echo $ac_n "checking for --enable-accel""... $ac_c" 1>&6
5276 echo "configure:5277: checking for --enable-accel" >&5
5278 # Check whether --enable-accel or --disable-accel was given.
5279 if test "${enable_accel+set}" = set; then
5280 enableval
="$enable_accel"
5282 if test "$enableval" = yes; then
5283 ac_cv_use_accel
='wxUSE_ACCEL=yes'
5285 ac_cv_use_accel
='wxUSE_ACCEL=no'
5290 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
5291 if test "x$LINE" != x
; then
5292 eval "DEFAULT_$LINE"
5297 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
5302 eval "$ac_cv_use_accel"
5303 if test "$no_cache" != 1; then
5304 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
5307 if test "$wxUSE_ACCEL" = yes; then
5308 echo "$ac_t""yes" 1>&6
5310 echo "$ac_t""no" 1>&6
5314 echo $ac_n "checking for --enable-button""... $ac_c" 1>&6
5315 echo "configure:5316: checking for --enable-button" >&5
5317 # Check whether --enable-button or --disable-button was given.
5318 if test "${enable_button+set}" = set; then
5319 enableval
="$enable_button"
5321 if test "$enableval" = yes; then
5322 ac_cv_use_button
='wxUSE_BUTTON=yes'
5324 ac_cv_use_button
='wxUSE_BUTTON=no'
5329 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
5330 if test "x$LINE" != x
; then
5331 eval "DEFAULT_$LINE"
5336 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
5341 eval "$ac_cv_use_button"
5342 if test "$no_cache" != 1; then
5343 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
5346 if test "$wxUSE_BUTTON" = yes; then
5347 echo "$ac_t""yes" 1>&6
5349 echo "$ac_t""no" 1>&6
5353 echo $ac_n "checking for --enable-bmpbutton""... $ac_c" 1>&6
5354 echo "configure:5355: checking for --enable-bmpbutton" >&5
5356 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
5357 if test "${enable_bmpbutton+set}" = set; then
5358 enableval
="$enable_bmpbutton"
5360 if test "$enableval" = yes; then
5361 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
5363 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
5368 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
5369 if test "x$LINE" != x
; then
5370 eval "DEFAULT_$LINE"
5375 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
5380 eval "$ac_cv_use_bmpbutton"
5381 if test "$no_cache" != 1; then
5382 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
5385 if test "$wxUSE_BMPBUTTON" = yes; then
5386 echo "$ac_t""yes" 1>&6
5388 echo "$ac_t""no" 1>&6
5392 echo $ac_n "checking for --enable-calendar""... $ac_c" 1>&6
5393 echo "configure:5394: checking for --enable-calendar" >&5
5395 # Check whether --enable-calendar or --disable-calendar was given.
5396 if test "${enable_calendar+set}" = set; then
5397 enableval
="$enable_calendar"
5399 if test "$enableval" = yes; then
5400 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
5402 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
5407 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
5408 if test "x$LINE" != x
; then
5409 eval "DEFAULT_$LINE"
5414 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
5419 eval "$ac_cv_use_calendar"
5420 if test "$no_cache" != 1; then
5421 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
5424 if test "$wxUSE_CALCTRL" = yes; then
5425 echo "$ac_t""yes" 1>&6
5427 echo "$ac_t""no" 1>&6
5431 echo $ac_n "checking for --enable-caret""... $ac_c" 1>&6
5432 echo "configure:5433: checking for --enable-caret" >&5
5434 # Check whether --enable-caret or --disable-caret was given.
5435 if test "${enable_caret+set}" = set; then
5436 enableval
="$enable_caret"
5438 if test "$enableval" = yes; then
5439 ac_cv_use_caret
='wxUSE_CARET=yes'
5441 ac_cv_use_caret
='wxUSE_CARET=no'
5446 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
5447 if test "x$LINE" != x
; then
5448 eval "DEFAULT_$LINE"
5453 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
5458 eval "$ac_cv_use_caret"
5459 if test "$no_cache" != 1; then
5460 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
5463 if test "$wxUSE_CARET" = yes; then
5464 echo "$ac_t""yes" 1>&6
5466 echo "$ac_t""no" 1>&6
5470 echo $ac_n "checking for --enable-checkbox""... $ac_c" 1>&6
5471 echo "configure:5472: checking for --enable-checkbox" >&5
5473 # Check whether --enable-checkbox or --disable-checkbox was given.
5474 if test "${enable_checkbox+set}" = set; then
5475 enableval
="$enable_checkbox"
5477 if test "$enableval" = yes; then
5478 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
5480 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
5485 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
5486 if test "x$LINE" != x
; then
5487 eval "DEFAULT_$LINE"
5492 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
5497 eval "$ac_cv_use_checkbox"
5498 if test "$no_cache" != 1; then
5499 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
5502 if test "$wxUSE_CHECKBOX" = yes; then
5503 echo "$ac_t""yes" 1>&6
5505 echo "$ac_t""no" 1>&6
5509 echo $ac_n "checking for --enable-checklst""... $ac_c" 1>&6
5510 echo "configure:5511: checking for --enable-checklst" >&5
5512 # Check whether --enable-checklst or --disable-checklst was given.
5513 if test "${enable_checklst+set}" = set; then
5514 enableval
="$enable_checklst"
5516 if test "$enableval" = yes; then
5517 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
5519 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
5524 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
5525 if test "x$LINE" != x
; then
5526 eval "DEFAULT_$LINE"
5531 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
5536 eval "$ac_cv_use_checklst"
5537 if test "$no_cache" != 1; then
5538 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
5541 if test "$wxUSE_CHECKLST" = yes; then
5542 echo "$ac_t""yes" 1>&6
5544 echo "$ac_t""no" 1>&6
5548 echo $ac_n "checking for --enable-choice""... $ac_c" 1>&6
5549 echo "configure:5550: checking for --enable-choice" >&5
5551 # Check whether --enable-choice or --disable-choice was given.
5552 if test "${enable_choice+set}" = set; then
5553 enableval
="$enable_choice"
5555 if test "$enableval" = yes; then
5556 ac_cv_use_choice
='wxUSE_CHOICE=yes'
5558 ac_cv_use_choice
='wxUSE_CHOICE=no'
5563 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
5564 if test "x$LINE" != x
; then
5565 eval "DEFAULT_$LINE"
5570 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
5575 eval "$ac_cv_use_choice"
5576 if test "$no_cache" != 1; then
5577 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
5580 if test "$wxUSE_CHOICE" = yes; then
5581 echo "$ac_t""yes" 1>&6
5583 echo "$ac_t""no" 1>&6
5587 echo $ac_n "checking for --enable-combobox""... $ac_c" 1>&6
5588 echo "configure:5589: checking for --enable-combobox" >&5
5590 # Check whether --enable-combobox or --disable-combobox was given.
5591 if test "${enable_combobox+set}" = set; then
5592 enableval
="$enable_combobox"
5594 if test "$enableval" = yes; then
5595 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
5597 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
5602 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
5603 if test "x$LINE" != x
; then
5604 eval "DEFAULT_$LINE"
5609 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
5614 eval "$ac_cv_use_combobox"
5615 if test "$no_cache" != 1; then
5616 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
5619 if test "$wxUSE_COMBOBOX" = yes; then
5620 echo "$ac_t""yes" 1>&6
5622 echo "$ac_t""no" 1>&6
5626 echo $ac_n "checking for --enable-gauge""... $ac_c" 1>&6
5627 echo "configure:5628: checking for --enable-gauge" >&5
5629 # Check whether --enable-gauge or --disable-gauge was given.
5630 if test "${enable_gauge+set}" = set; then
5631 enableval
="$enable_gauge"
5633 if test "$enableval" = yes; then
5634 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
5636 ac_cv_use_gauge
='wxUSE_GAUGE=no'
5641 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
5642 if test "x$LINE" != x
; then
5643 eval "DEFAULT_$LINE"
5648 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
5653 eval "$ac_cv_use_gauge"
5654 if test "$no_cache" != 1; then
5655 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
5658 if test "$wxUSE_GAUGE" = yes; then
5659 echo "$ac_t""yes" 1>&6
5661 echo "$ac_t""no" 1>&6
5665 echo $ac_n "checking for --enable-grid""... $ac_c" 1>&6
5666 echo "configure:5667: checking for --enable-grid" >&5
5668 # Check whether --enable-grid or --disable-grid was given.
5669 if test "${enable_grid+set}" = set; then
5670 enableval
="$enable_grid"
5672 if test "$enableval" = yes; then
5673 ac_cv_use_grid
='wxUSE_GRID=yes'
5675 ac_cv_use_grid
='wxUSE_GRID=no'
5680 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
5681 if test "x$LINE" != x
; then
5682 eval "DEFAULT_$LINE"
5687 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
5692 eval "$ac_cv_use_grid"
5693 if test "$no_cache" != 1; then
5694 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
5697 if test "$wxUSE_GRID" = yes; then
5698 echo "$ac_t""yes" 1>&6
5700 echo "$ac_t""no" 1>&6
5704 echo $ac_n "checking for --enable-newgrid""... $ac_c" 1>&6
5705 echo "configure:5706: checking for --enable-newgrid" >&5
5707 # Check whether --enable-newgrid or --disable-newgrid was given.
5708 if test "${enable_newgrid+set}" = set; then
5709 enableval
="$enable_newgrid"
5711 if test "$enableval" = yes; then
5712 ac_cv_use_newgrid
='wxUSE_NEW_GRID=yes'
5714 ac_cv_use_newgrid
='wxUSE_NEW_GRID=no'
5719 LINE
=`grep "wxUSE_NEW_GRID" ${wx_arg_cache_file}`
5720 if test "x$LINE" != x
; then
5721 eval "DEFAULT_$LINE"
5726 ac_cv_use_newgrid
='wxUSE_NEW_GRID='$DEFAULT_wxUSE_NEW_GRID
5731 eval "$ac_cv_use_newgrid"
5732 if test "$no_cache" != 1; then
5733 echo $ac_cv_use_newgrid >> ${wx_arg_cache_file}.tmp
5736 if test "$wxUSE_NEW_GRID" = yes; then
5737 echo "$ac_t""yes" 1>&6
5739 echo "$ac_t""no" 1>&6
5743 echo $ac_n "checking for --enable-imaglist""... $ac_c" 1>&6
5744 echo "configure:5745: checking for --enable-imaglist" >&5
5746 # Check whether --enable-imaglist or --disable-imaglist was given.
5747 if test "${enable_imaglist+set}" = set; then
5748 enableval
="$enable_imaglist"
5750 if test "$enableval" = yes; then
5751 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
5753 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
5758 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
5759 if test "x$LINE" != x
; then
5760 eval "DEFAULT_$LINE"
5765 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
5770 eval "$ac_cv_use_imaglist"
5771 if test "$no_cache" != 1; then
5772 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
5775 if test "$wxUSE_IMAGLIST" = yes; then
5776 echo "$ac_t""yes" 1>&6
5778 echo "$ac_t""no" 1>&6
5782 echo $ac_n "checking for --enable-listbox""... $ac_c" 1>&6
5783 echo "configure:5784: checking for --enable-listbox" >&5
5785 # Check whether --enable-listbox or --disable-listbox was given.
5786 if test "${enable_listbox+set}" = set; then
5787 enableval
="$enable_listbox"
5789 if test "$enableval" = yes; then
5790 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
5792 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
5797 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
5798 if test "x$LINE" != x
; then
5799 eval "DEFAULT_$LINE"
5804 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
5809 eval "$ac_cv_use_listbox"
5810 if test "$no_cache" != 1; then
5811 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
5814 if test "$wxUSE_LISTBOX" = yes; then
5815 echo "$ac_t""yes" 1>&6
5817 echo "$ac_t""no" 1>&6
5821 echo $ac_n "checking for --enable-listctrl""... $ac_c" 1>&6
5822 echo "configure:5823: checking for --enable-listctrl" >&5
5824 # Check whether --enable-listctrl or --disable-listctrl was given.
5825 if test "${enable_listctrl+set}" = set; then
5826 enableval
="$enable_listctrl"
5828 if test "$enableval" = yes; then
5829 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
5831 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
5836 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
5837 if test "x$LINE" != x
; then
5838 eval "DEFAULT_$LINE"
5843 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
5848 eval "$ac_cv_use_listctrl"
5849 if test "$no_cache" != 1; then
5850 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
5853 if test "$wxUSE_LISTCTRL" = yes; then
5854 echo "$ac_t""yes" 1>&6
5856 echo "$ac_t""no" 1>&6
5860 echo $ac_n "checking for --enable-notebook""... $ac_c" 1>&6
5861 echo "configure:5862: checking for --enable-notebook" >&5
5863 # Check whether --enable-notebook or --disable-notebook was given.
5864 if test "${enable_notebook+set}" = set; then
5865 enableval
="$enable_notebook"
5867 if test "$enableval" = yes; then
5868 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
5870 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
5875 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
5876 if test "x$LINE" != x
; then
5877 eval "DEFAULT_$LINE"
5882 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
5887 eval "$ac_cv_use_notebook"
5888 if test "$no_cache" != 1; then
5889 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
5892 if test "$wxUSE_NOTEBOOK" = yes; then
5893 echo "$ac_t""yes" 1>&6
5895 echo "$ac_t""no" 1>&6
5899 echo $ac_n "checking for --enable-propsheet""... $ac_c" 1>&6
5900 echo "configure:5901: checking for --enable-propsheet" >&5
5902 # Check whether --enable-propsheet or --disable-propsheet was given.
5903 if test "${enable_propsheet+set}" = set; then
5904 enableval
="$enable_propsheet"
5906 if test "$enableval" = yes; then
5907 ac_cv_use_propsheet
='wxUSE_PROPSHEET=yes'
5909 ac_cv_use_propsheet
='wxUSE_PROPSHEET=no'
5914 LINE
=`grep "wxUSE_PROPSHEET" ${wx_arg_cache_file}`
5915 if test "x$LINE" != x
; then
5916 eval "DEFAULT_$LINE"
5921 ac_cv_use_propsheet
='wxUSE_PROPSHEET='$DEFAULT_wxUSE_PROPSHEET
5926 eval "$ac_cv_use_propsheet"
5927 if test "$no_cache" != 1; then
5928 echo $ac_cv_use_propsheet >> ${wx_arg_cache_file}.tmp
5931 if test "$wxUSE_PROPSHEET" = yes; then
5932 echo "$ac_t""yes" 1>&6
5934 echo "$ac_t""no" 1>&6
5938 echo $ac_n "checking for --enable-radiobox""... $ac_c" 1>&6
5939 echo "configure:5940: checking for --enable-radiobox" >&5
5941 # Check whether --enable-radiobox or --disable-radiobox was given.
5942 if test "${enable_radiobox+set}" = set; then
5943 enableval
="$enable_radiobox"
5945 if test "$enableval" = yes; then
5946 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
5948 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
5953 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
5954 if test "x$LINE" != x
; then
5955 eval "DEFAULT_$LINE"
5960 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
5965 eval "$ac_cv_use_radiobox"
5966 if test "$no_cache" != 1; then
5967 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
5970 if test "$wxUSE_RADIOBOX" = yes; then
5971 echo "$ac_t""yes" 1>&6
5973 echo "$ac_t""no" 1>&6
5977 echo $ac_n "checking for --enable-radiobtn""... $ac_c" 1>&6
5978 echo "configure:5979: checking for --enable-radiobtn" >&5
5980 # Check whether --enable-radiobtn or --disable-radiobtn was given.
5981 if test "${enable_radiobtn+set}" = set; then
5982 enableval
="$enable_radiobtn"
5984 if test "$enableval" = yes; then
5985 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
5987 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
5992 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
5993 if test "x$LINE" != x
; then
5994 eval "DEFAULT_$LINE"
5999 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
6004 eval "$ac_cv_use_radiobtn"
6005 if test "$no_cache" != 1; then
6006 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
6009 if test "$wxUSE_RADIOBTN" = yes; then
6010 echo "$ac_t""yes" 1>&6
6012 echo "$ac_t""no" 1>&6
6016 echo $ac_n "checking for --enable-sash""... $ac_c" 1>&6
6017 echo "configure:6018: checking for --enable-sash" >&5
6019 # Check whether --enable-sash or --disable-sash was given.
6020 if test "${enable_sash+set}" = set; then
6021 enableval
="$enable_sash"
6023 if test "$enableval" = yes; then
6024 ac_cv_use_sash
='wxUSE_SASH=yes'
6026 ac_cv_use_sash
='wxUSE_SASH=no'
6031 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
6032 if test "x$LINE" != x
; then
6033 eval "DEFAULT_$LINE"
6038 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
6043 eval "$ac_cv_use_sash"
6044 if test "$no_cache" != 1; then
6045 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
6048 if test "$wxUSE_SASH" = yes; then
6049 echo "$ac_t""yes" 1>&6
6051 echo "$ac_t""no" 1>&6
6055 echo $ac_n "checking for --enable-scrollbar""... $ac_c" 1>&6
6056 echo "configure:6057: checking for --enable-scrollbar" >&5
6058 # Check whether --enable-scrollbar or --disable-scrollbar was given.
6059 if test "${enable_scrollbar+set}" = set; then
6060 enableval
="$enable_scrollbar"
6062 if test "$enableval" = yes; then
6063 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
6065 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
6070 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
6071 if test "x$LINE" != x
; then
6072 eval "DEFAULT_$LINE"
6077 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
6082 eval "$ac_cv_use_scrollbar"
6083 if test "$no_cache" != 1; then
6084 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
6087 if test "$wxUSE_SCROLLBAR" = yes; then
6088 echo "$ac_t""yes" 1>&6
6090 echo "$ac_t""no" 1>&6
6094 echo $ac_n "checking for --enable-slider""... $ac_c" 1>&6
6095 echo "configure:6096: checking for --enable-slider" >&5
6097 # Check whether --enable-slider or --disable-slider was given.
6098 if test "${enable_slider+set}" = set; then
6099 enableval
="$enable_slider"
6101 if test "$enableval" = yes; then
6102 ac_cv_use_slider
='wxUSE_SLIDER=yes'
6104 ac_cv_use_slider
='wxUSE_SLIDER=no'
6109 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
6110 if test "x$LINE" != x
; then
6111 eval "DEFAULT_$LINE"
6116 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
6121 eval "$ac_cv_use_slider"
6122 if test "$no_cache" != 1; then
6123 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
6126 if test "$wxUSE_SLIDER" = yes; then
6127 echo "$ac_t""yes" 1>&6
6129 echo "$ac_t""no" 1>&6
6133 echo $ac_n "checking for --enable-spinbtn""... $ac_c" 1>&6
6134 echo "configure:6135: checking for --enable-spinbtn" >&5
6136 # Check whether --enable-spinbtn or --disable-spinbtn was given.
6137 if test "${enable_spinbtn+set}" = set; then
6138 enableval
="$enable_spinbtn"
6140 if test "$enableval" = yes; then
6141 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
6143 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
6148 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
6149 if test "x$LINE" != x
; then
6150 eval "DEFAULT_$LINE"
6155 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
6160 eval "$ac_cv_use_spinbtn"
6161 if test "$no_cache" != 1; then
6162 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
6165 if test "$wxUSE_SPINBTN" = yes; then
6166 echo "$ac_t""yes" 1>&6
6168 echo "$ac_t""no" 1>&6
6172 echo $ac_n "checking for --enable-spinctrl""... $ac_c" 1>&6
6173 echo "configure:6174: checking for --enable-spinctrl" >&5
6175 # Check whether --enable-spinctrl or --disable-spinctrl was given.
6176 if test "${enable_spinctrl+set}" = set; then
6177 enableval
="$enable_spinctrl"
6179 if test "$enableval" = yes; then
6180 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
6182 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
6187 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
6188 if test "x$LINE" != x
; then
6189 eval "DEFAULT_$LINE"
6194 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
6199 eval "$ac_cv_use_spinctrl"
6200 if test "$no_cache" != 1; then
6201 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
6204 if test "$wxUSE_SPINCTRL" = yes; then
6205 echo "$ac_t""yes" 1>&6
6207 echo "$ac_t""no" 1>&6
6211 echo $ac_n "checking for --enable-splitter""... $ac_c" 1>&6
6212 echo "configure:6213: checking for --enable-splitter" >&5
6214 # Check whether --enable-splitter or --disable-splitter was given.
6215 if test "${enable_splitter+set}" = set; then
6216 enableval
="$enable_splitter"
6218 if test "$enableval" = yes; then
6219 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
6221 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
6226 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
6227 if test "x$LINE" != x
; then
6228 eval "DEFAULT_$LINE"
6233 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
6238 eval "$ac_cv_use_splitter"
6239 if test "$no_cache" != 1; then
6240 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
6243 if test "$wxUSE_SPLITTER" = yes; then
6244 echo "$ac_t""yes" 1>&6
6246 echo "$ac_t""no" 1>&6
6250 echo $ac_n "checking for --enable-statbmp""... $ac_c" 1>&6
6251 echo "configure:6252: checking for --enable-statbmp" >&5
6253 # Check whether --enable-statbmp or --disable-statbmp was given.
6254 if test "${enable_statbmp+set}" = set; then
6255 enableval
="$enable_statbmp"
6257 if test "$enableval" = yes; then
6258 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
6260 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
6265 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
6266 if test "x$LINE" != x
; then
6267 eval "DEFAULT_$LINE"
6272 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
6277 eval "$ac_cv_use_statbmp"
6278 if test "$no_cache" != 1; then
6279 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
6282 if test "$wxUSE_STATBMP" = yes; then
6283 echo "$ac_t""yes" 1>&6
6285 echo "$ac_t""no" 1>&6
6289 echo $ac_n "checking for --enable-statbox""... $ac_c" 1>&6
6290 echo "configure:6291: checking for --enable-statbox" >&5
6292 # Check whether --enable-statbox or --disable-statbox was given.
6293 if test "${enable_statbox+set}" = set; then
6294 enableval
="$enable_statbox"
6296 if test "$enableval" = yes; then
6297 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
6299 ac_cv_use_statbox
='wxUSE_STATBOX=no'
6304 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
6305 if test "x$LINE" != x
; then
6306 eval "DEFAULT_$LINE"
6311 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
6316 eval "$ac_cv_use_statbox"
6317 if test "$no_cache" != 1; then
6318 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
6321 if test "$wxUSE_STATBOX" = yes; then
6322 echo "$ac_t""yes" 1>&6
6324 echo "$ac_t""no" 1>&6
6328 echo $ac_n "checking for --enable-statline""... $ac_c" 1>&6
6329 echo "configure:6330: checking for --enable-statline" >&5
6331 # Check whether --enable-statline or --disable-statline was given.
6332 if test "${enable_statline+set}" = set; then
6333 enableval
="$enable_statline"
6335 if test "$enableval" = yes; then
6336 ac_cv_use_statline
='wxUSE_STATLINE=yes'
6338 ac_cv_use_statline
='wxUSE_STATLINE=no'
6343 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
6344 if test "x$LINE" != x
; then
6345 eval "DEFAULT_$LINE"
6350 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
6355 eval "$ac_cv_use_statline"
6356 if test "$no_cache" != 1; then
6357 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
6360 if test "$wxUSE_STATLINE" = yes; then
6361 echo "$ac_t""yes" 1>&6
6363 echo "$ac_t""no" 1>&6
6367 echo $ac_n "checking for --enable-stattext""... $ac_c" 1>&6
6368 echo "configure:6369: checking for --enable-stattext" >&5
6370 # Check whether --enable-stattext or --disable-stattext was given.
6371 if test "${enable_stattext+set}" = set; then
6372 enableval
="$enable_stattext"
6374 if test "$enableval" = yes; then
6375 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
6377 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
6382 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
6383 if test "x$LINE" != x
; then
6384 eval "DEFAULT_$LINE"
6389 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
6394 eval "$ac_cv_use_stattext"
6395 if test "$no_cache" != 1; then
6396 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
6399 if test "$wxUSE_STATTEXT" = yes; then
6400 echo "$ac_t""yes" 1>&6
6402 echo "$ac_t""no" 1>&6
6406 echo $ac_n "checking for --enable-statusbar""... $ac_c" 1>&6
6407 echo "configure:6408: checking for --enable-statusbar" >&5
6409 # Check whether --enable-statusbar or --disable-statusbar was given.
6410 if test "${enable_statusbar+set}" = set; then
6411 enableval
="$enable_statusbar"
6413 if test "$enableval" = yes; then
6414 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
6416 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
6421 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
6422 if test "x$LINE" != x
; then
6423 eval "DEFAULT_$LINE"
6428 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
6433 eval "$ac_cv_use_statusbar"
6434 if test "$no_cache" != 1; then
6435 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
6438 if test "$wxUSE_STATUSBAR" = yes; then
6439 echo "$ac_t""yes" 1>&6
6441 echo "$ac_t""no" 1>&6
6445 echo $ac_n "checking for --enable-tabdialog""... $ac_c" 1>&6
6446 echo "configure:6447: checking for --enable-tabdialog" >&5
6448 # Check whether --enable-tabdialog or --disable-tabdialog was given.
6449 if test "${enable_tabdialog+set}" = set; then
6450 enableval
="$enable_tabdialog"
6452 if test "$enableval" = yes; then
6453 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
6455 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
6460 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
6461 if test "x$LINE" != x
; then
6462 eval "DEFAULT_$LINE"
6467 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
6472 eval "$ac_cv_use_tabdialog"
6473 if test "$no_cache" != 1; then
6474 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
6477 if test "$wxUSE_TABDIALOG" = yes; then
6478 echo "$ac_t""yes" 1>&6
6480 echo "$ac_t""no" 1>&6
6484 echo $ac_n "checking for --enable-textctrl""... $ac_c" 1>&6
6485 echo "configure:6486: checking for --enable-textctrl" >&5
6487 # Check whether --enable-textctrl or --disable-textctrl was given.
6488 if test "${enable_textctrl+set}" = set; then
6489 enableval
="$enable_textctrl"
6491 if test "$enableval" = yes; then
6492 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
6494 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
6499 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
6500 if test "x$LINE" != x
; then
6501 eval "DEFAULT_$LINE"
6506 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
6511 eval "$ac_cv_use_textctrl"
6512 if test "$no_cache" != 1; then
6513 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
6516 if test "$wxUSE_TEXTCTRL" = yes; then
6517 echo "$ac_t""yes" 1>&6
6519 echo "$ac_t""no" 1>&6
6523 echo $ac_n "checking for --enable-togglebtn""... $ac_c" 1>&6
6524 echo "configure:6525: checking for --enable-togglebtn" >&5
6526 # Check whether --enable-togglebtn or --disable-togglebtn was given.
6527 if test "${enable_togglebtn+set}" = set; then
6528 enableval
="$enable_togglebtn"
6530 if test "$enableval" = yes; then
6531 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
6533 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
6538 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
6539 if test "x$LINE" != x
; then
6540 eval "DEFAULT_$LINE"
6545 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
6550 eval "$ac_cv_use_togglebtn"
6551 if test "$no_cache" != 1; then
6552 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
6555 if test "$wxUSE_TOGGLEBTN" = yes; then
6556 echo "$ac_t""yes" 1>&6
6558 echo "$ac_t""no" 1>&6
6562 echo $ac_n "checking for --enable-toolbar""... $ac_c" 1>&6
6563 echo "configure:6564: checking for --enable-toolbar" >&5
6565 # Check whether --enable-toolbar or --disable-toolbar was given.
6566 if test "${enable_toolbar+set}" = set; then
6567 enableval
="$enable_toolbar"
6569 if test "$enableval" = yes; then
6570 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
6572 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
6577 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
6578 if test "x$LINE" != x
; then
6579 eval "DEFAULT_$LINE"
6584 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
6589 eval "$ac_cv_use_toolbar"
6590 if test "$no_cache" != 1; then
6591 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
6594 if test "$wxUSE_TOOLBAR" = yes; then
6595 echo "$ac_t""yes" 1>&6
6597 echo "$ac_t""no" 1>&6
6601 echo $ac_n "checking for --enable-tbarnative""... $ac_c" 1>&6
6602 echo "configure:6603: checking for --enable-tbarnative" >&5
6604 # Check whether --enable-tbarnative or --disable-tbarnative was given.
6605 if test "${enable_tbarnative+set}" = set; then
6606 enableval
="$enable_tbarnative"
6608 if test "$enableval" = yes; then
6609 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
6611 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
6616 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
6617 if test "x$LINE" != x
; then
6618 eval "DEFAULT_$LINE"
6623 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
6628 eval "$ac_cv_use_tbarnative"
6629 if test "$no_cache" != 1; then
6630 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
6633 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
6634 echo "$ac_t""yes" 1>&6
6636 echo "$ac_t""no" 1>&6
6640 echo $ac_n "checking for --enable-tbarsmpl""... $ac_c" 1>&6
6641 echo "configure:6642: checking for --enable-tbarsmpl" >&5
6643 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
6644 if test "${enable_tbarsmpl+set}" = set; then
6645 enableval
="$enable_tbarsmpl"
6647 if test "$enableval" = yes; then
6648 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
6650 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
6655 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
6656 if test "x$LINE" != x
; then
6657 eval "DEFAULT_$LINE"
6662 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
6667 eval "$ac_cv_use_tbarsmpl"
6668 if test "$no_cache" != 1; then
6669 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
6672 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
6673 echo "$ac_t""yes" 1>&6
6675 echo "$ac_t""no" 1>&6
6679 echo $ac_n "checking for --enable-treectrl""... $ac_c" 1>&6
6680 echo "configure:6681: checking for --enable-treectrl" >&5
6682 # Check whether --enable-treectrl or --disable-treectrl was given.
6683 if test "${enable_treectrl+set}" = set; then
6684 enableval
="$enable_treectrl"
6686 if test "$enableval" = yes; then
6687 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
6689 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
6694 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
6695 if test "x$LINE" != x
; then
6696 eval "DEFAULT_$LINE"
6701 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
6706 eval "$ac_cv_use_treectrl"
6707 if test "$no_cache" != 1; then
6708 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
6711 if test "$wxUSE_TREECTRL" = yes; then
6712 echo "$ac_t""yes" 1>&6
6714 echo "$ac_t""no" 1>&6
6718 echo $ac_n "checking for --enable-tipwindow""... $ac_c" 1>&6
6719 echo "configure:6720: checking for --enable-tipwindow" >&5
6721 # Check whether --enable-tipwindow or --disable-tipwindow was given.
6722 if test "${enable_tipwindow+set}" = set; then
6723 enableval
="$enable_tipwindow"
6725 if test "$enableval" = yes; then
6726 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
6728 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
6733 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
6734 if test "x$LINE" != x
; then
6735 eval "DEFAULT_$LINE"
6740 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
6745 eval "$ac_cv_use_tipwindow"
6746 if test "$no_cache" != 1; then
6747 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
6750 if test "$wxUSE_TIPWINDOW" = yes; then
6751 echo "$ac_t""yes" 1>&6
6753 echo "$ac_t""no" 1>&6
6757 echo $ac_n "checking for --enable-popupwin""... $ac_c" 1>&6
6758 echo "configure:6759: checking for --enable-popupwin" >&5
6760 # Check whether --enable-popupwin or --disable-popupwin was given.
6761 if test "${enable_popupwin+set}" = set; then
6762 enableval
="$enable_popupwin"
6764 if test "$enableval" = yes; then
6765 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
6767 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
6772 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
6773 if test "x$LINE" != x
; then
6774 eval "DEFAULT_$LINE"
6779 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
6784 eval "$ac_cv_use_popupwin"
6785 if test "$no_cache" != 1; then
6786 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
6789 if test "$wxUSE_POPUPWIN" = yes; then
6790 echo "$ac_t""yes" 1>&6
6792 echo "$ac_t""no" 1>&6
6798 echo $ac_n "checking for --enable-commondlg""... $ac_c" 1>&6
6799 echo "configure:6800: checking for --enable-commondlg" >&5
6801 # Check whether --enable-commondlg or --disable-commondlg was given.
6802 if test "${enable_commondlg+set}" = set; then
6803 enableval
="$enable_commondlg"
6805 if test "$enableval" = yes; then
6806 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
6808 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
6813 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
6814 if test "x$LINE" != x
; then
6815 eval "DEFAULT_$LINE"
6820 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
6825 eval "$ac_cv_use_commondlg"
6826 if test "$no_cache" != 1; then
6827 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
6830 if test "$wxUSE_COMMONDLGS" = yes; then
6831 echo "$ac_t""yes" 1>&6
6833 echo "$ac_t""no" 1>&6
6837 echo $ac_n "checking for --enable-choicedlg""... $ac_c" 1>&6
6838 echo "configure:6839: checking for --enable-choicedlg" >&5
6840 # Check whether --enable-choicedlg or --disable-choicedlg was given.
6841 if test "${enable_choicedlg+set}" = set; then
6842 enableval
="$enable_choicedlg"
6844 if test "$enableval" = yes; then
6845 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
6847 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
6852 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
6853 if test "x$LINE" != x
; then
6854 eval "DEFAULT_$LINE"
6859 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
6864 eval "$ac_cv_use_choicedlg"
6865 if test "$no_cache" != 1; then
6866 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
6869 if test "$wxUSE_CHOICEDLG" = yes; then
6870 echo "$ac_t""yes" 1>&6
6872 echo "$ac_t""no" 1>&6
6876 echo $ac_n "checking for --enable-coldlg""... $ac_c" 1>&6
6877 echo "configure:6878: checking for --enable-coldlg" >&5
6879 # Check whether --enable-coldlg or --disable-coldlg was given.
6880 if test "${enable_coldlg+set}" = set; then
6881 enableval
="$enable_coldlg"
6883 if test "$enableval" = yes; then
6884 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
6886 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
6891 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
6892 if test "x$LINE" != x
; then
6893 eval "DEFAULT_$LINE"
6898 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
6903 eval "$ac_cv_use_coldlg"
6904 if test "$no_cache" != 1; then
6905 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
6908 if test "$wxUSE_COLOURDLG" = yes; then
6909 echo "$ac_t""yes" 1>&6
6911 echo "$ac_t""no" 1>&6
6915 echo $ac_n "checking for --enable-filedlg""... $ac_c" 1>&6
6916 echo "configure:6917: checking for --enable-filedlg" >&5
6918 # Check whether --enable-filedlg or --disable-filedlg was given.
6919 if test "${enable_filedlg+set}" = set; then
6920 enableval
="$enable_filedlg"
6922 if test "$enableval" = yes; then
6923 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
6925 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
6930 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
6931 if test "x$LINE" != x
; then
6932 eval "DEFAULT_$LINE"
6937 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
6942 eval "$ac_cv_use_filedlg"
6943 if test "$no_cache" != 1; then
6944 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
6947 if test "$wxUSE_FILEDLG" = yes; then
6948 echo "$ac_t""yes" 1>&6
6950 echo "$ac_t""no" 1>&6
6954 echo $ac_n "checking for --enable-finddlg""... $ac_c" 1>&6
6955 echo "configure:6956: checking for --enable-finddlg" >&5
6957 # Check whether --enable-finddlg or --disable-finddlg was given.
6958 if test "${enable_finddlg+set}" = set; then
6959 enableval
="$enable_finddlg"
6961 if test "$enableval" = yes; then
6962 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
6964 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
6969 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
6970 if test "x$LINE" != x
; then
6971 eval "DEFAULT_$LINE"
6976 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
6981 eval "$ac_cv_use_finddlg"
6982 if test "$no_cache" != 1; then
6983 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
6986 if test "$wxUSE_FINDREPLDLG" = yes; then
6987 echo "$ac_t""yes" 1>&6
6989 echo "$ac_t""no" 1>&6
6993 echo $ac_n "checking for --enable-fontdlg""... $ac_c" 1>&6
6994 echo "configure:6995: checking for --enable-fontdlg" >&5
6996 # Check whether --enable-fontdlg or --disable-fontdlg was given.
6997 if test "${enable_fontdlg+set}" = set; then
6998 enableval
="$enable_fontdlg"
7000 if test "$enableval" = yes; then
7001 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
7003 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
7008 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
7009 if test "x$LINE" != x
; then
7010 eval "DEFAULT_$LINE"
7015 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
7020 eval "$ac_cv_use_fontdlg"
7021 if test "$no_cache" != 1; then
7022 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
7025 if test "$wxUSE_FONTDLG" = yes; then
7026 echo "$ac_t""yes" 1>&6
7028 echo "$ac_t""no" 1>&6
7032 echo $ac_n "checking for --enable-dirdlg""... $ac_c" 1>&6
7033 echo "configure:7034: checking for --enable-dirdlg" >&5
7035 # Check whether --enable-dirdlg or --disable-dirdlg was given.
7036 if test "${enable_dirdlg+set}" = set; then
7037 enableval
="$enable_dirdlg"
7039 if test "$enableval" = yes; then
7040 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
7042 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
7047 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
7048 if test "x$LINE" != x
; then
7049 eval "DEFAULT_$LINE"
7054 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
7059 eval "$ac_cv_use_dirdlg"
7060 if test "$no_cache" != 1; then
7061 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
7064 if test "$wxUSE_DIRDLG" = yes; then
7065 echo "$ac_t""yes" 1>&6
7067 echo "$ac_t""no" 1>&6
7071 echo $ac_n "checking for --enable-msgdlg""... $ac_c" 1>&6
7072 echo "configure:7073: checking for --enable-msgdlg" >&5
7074 # Check whether --enable-msgdlg or --disable-msgdlg was given.
7075 if test "${enable_msgdlg+set}" = set; then
7076 enableval
="$enable_msgdlg"
7078 if test "$enableval" = yes; then
7079 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
7081 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
7086 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
7087 if test "x$LINE" != x
; then
7088 eval "DEFAULT_$LINE"
7093 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
7098 eval "$ac_cv_use_msgdlg"
7099 if test "$no_cache" != 1; then
7100 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
7103 if test "$wxUSE_MSGDLG" = yes; then
7104 echo "$ac_t""yes" 1>&6
7106 echo "$ac_t""no" 1>&6
7110 echo $ac_n "checking for --enable-numberdlg""... $ac_c" 1>&6
7111 echo "configure:7112: checking for --enable-numberdlg" >&5
7113 # Check whether --enable-numberdlg or --disable-numberdlg was given.
7114 if test "${enable_numberdlg+set}" = set; then
7115 enableval
="$enable_numberdlg"
7117 if test "$enableval" = yes; then
7118 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
7120 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
7125 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
7126 if test "x$LINE" != x
; then
7127 eval "DEFAULT_$LINE"
7132 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
7137 eval "$ac_cv_use_numberdlg"
7138 if test "$no_cache" != 1; then
7139 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
7142 if test "$wxUSE_NUMBERDLG" = yes; then
7143 echo "$ac_t""yes" 1>&6
7145 echo "$ac_t""no" 1>&6
7149 echo $ac_n "checking for --enable-splash""... $ac_c" 1>&6
7150 echo "configure:7151: checking for --enable-splash" >&5
7152 # Check whether --enable-splash or --disable-splash was given.
7153 if test "${enable_splash+set}" = set; then
7154 enableval
="$enable_splash"
7156 if test "$enableval" = yes; then
7157 ac_cv_use_splash
='wxUSE_SPLASH=yes'
7159 ac_cv_use_splash
='wxUSE_SPLASH=no'
7164 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
7165 if test "x$LINE" != x
; then
7166 eval "DEFAULT_$LINE"
7171 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
7176 eval "$ac_cv_use_splash"
7177 if test "$no_cache" != 1; then
7178 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
7181 if test "$wxUSE_SPLASH" = yes; then
7182 echo "$ac_t""yes" 1>&6
7184 echo "$ac_t""no" 1>&6
7188 echo $ac_n "checking for --enable-textdlg""... $ac_c" 1>&6
7189 echo "configure:7190: checking for --enable-textdlg" >&5
7191 # Check whether --enable-textdlg or --disable-textdlg was given.
7192 if test "${enable_textdlg+set}" = set; then
7193 enableval
="$enable_textdlg"
7195 if test "$enableval" = yes; then
7196 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
7198 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
7203 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
7204 if test "x$LINE" != x
; then
7205 eval "DEFAULT_$LINE"
7210 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
7215 eval "$ac_cv_use_textdlg"
7216 if test "$no_cache" != 1; then
7217 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
7220 if test "$wxUSE_TEXTDLG" = yes; then
7221 echo "$ac_t""yes" 1>&6
7223 echo "$ac_t""no" 1>&6
7227 echo $ac_n "checking for --enable-tipdlg""... $ac_c" 1>&6
7228 echo "configure:7229: checking for --enable-tipdlg" >&5
7230 # Check whether --enable-tipdlg or --disable-tipdlg was given.
7231 if test "${enable_tipdlg+set}" = set; then
7232 enableval
="$enable_tipdlg"
7234 if test "$enableval" = yes; then
7235 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
7237 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
7242 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
7243 if test "x$LINE" != x
; then
7244 eval "DEFAULT_$LINE"
7249 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
7254 eval "$ac_cv_use_tipdlg"
7255 if test "$no_cache" != 1; then
7256 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
7259 if test "$wxUSE_STARTUP_TIPS" = yes; then
7260 echo "$ac_t""yes" 1>&6
7262 echo "$ac_t""no" 1>&6
7266 echo $ac_n "checking for --enable-progressdlg""... $ac_c" 1>&6
7267 echo "configure:7268: checking for --enable-progressdlg" >&5
7269 # Check whether --enable-progressdlg or --disable-progressdlg was given.
7270 if test "${enable_progressdlg+set}" = set; then
7271 enableval
="$enable_progressdlg"
7273 if test "$enableval" = yes; then
7274 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
7276 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
7281 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
7282 if test "x$LINE" != x
; then
7283 eval "DEFAULT_$LINE"
7288 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
7293 eval "$ac_cv_use_progressdlg"
7294 if test "$no_cache" != 1; then
7295 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
7298 if test "$wxUSE_PROGRESSDLG" = yes; then
7299 echo "$ac_t""yes" 1>&6
7301 echo "$ac_t""no" 1>&6
7305 echo $ac_n "checking for --enable-wizarddlg""... $ac_c" 1>&6
7306 echo "configure:7307: checking for --enable-wizarddlg" >&5
7308 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
7309 if test "${enable_wizarddlg+set}" = set; then
7310 enableval
="$enable_wizarddlg"
7312 if test "$enableval" = yes; then
7313 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
7315 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
7320 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
7321 if test "x$LINE" != x
; then
7322 eval "DEFAULT_$LINE"
7327 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
7332 eval "$ac_cv_use_wizarddlg"
7333 if test "$no_cache" != 1; then
7334 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
7337 if test "$wxUSE_WIZARDDLG" = yes; then
7338 echo "$ac_t""yes" 1>&6
7340 echo "$ac_t""no" 1>&6
7346 echo $ac_n "checking for --enable-menus""... $ac_c" 1>&6
7347 echo "configure:7348: checking for --enable-menus" >&5
7349 # Check whether --enable-menus or --disable-menus was given.
7350 if test "${enable_menus+set}" = set; then
7351 enableval
="$enable_menus"
7353 if test "$enableval" = yes; then
7354 ac_cv_use_menus
='wxUSE_MENUS=yes'
7356 ac_cv_use_menus
='wxUSE_MENUS=no'
7361 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
7362 if test "x$LINE" != x
; then
7363 eval "DEFAULT_$LINE"
7368 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
7373 eval "$ac_cv_use_menus"
7374 if test "$no_cache" != 1; then
7375 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
7378 if test "$wxUSE_MENUS" = yes; then
7379 echo "$ac_t""yes" 1>&6
7381 echo "$ac_t""no" 1>&6
7385 echo $ac_n "checking for --enable-miniframe""... $ac_c" 1>&6
7386 echo "configure:7387: checking for --enable-miniframe" >&5
7388 # Check whether --enable-miniframe or --disable-miniframe was given.
7389 if test "${enable_miniframe+set}" = set; then
7390 enableval
="$enable_miniframe"
7392 if test "$enableval" = yes; then
7393 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
7395 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
7400 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
7401 if test "x$LINE" != x
; then
7402 eval "DEFAULT_$LINE"
7407 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
7412 eval "$ac_cv_use_miniframe"
7413 if test "$no_cache" != 1; then
7414 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
7417 if test "$wxUSE_MINIFRAME" = yes; then
7418 echo "$ac_t""yes" 1>&6
7420 echo "$ac_t""no" 1>&6
7424 echo $ac_n "checking for --enable-tooltips""... $ac_c" 1>&6
7425 echo "configure:7426: checking for --enable-tooltips" >&5
7427 # Check whether --enable-tooltips or --disable-tooltips was given.
7428 if test "${enable_tooltips+set}" = set; then
7429 enableval
="$enable_tooltips"
7431 if test "$enableval" = yes; then
7432 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
7434 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
7439 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
7440 if test "x$LINE" != x
; then
7441 eval "DEFAULT_$LINE"
7446 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
7451 eval "$ac_cv_use_tooltips"
7452 if test "$no_cache" != 1; then
7453 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
7456 if test "$wxUSE_TOOLTIPS" = yes; then
7457 echo "$ac_t""yes" 1>&6
7459 echo "$ac_t""no" 1>&6
7463 echo $ac_n "checking for --enable-splines""... $ac_c" 1>&6
7464 echo "configure:7465: checking for --enable-splines" >&5
7466 # Check whether --enable-splines or --disable-splines was given.
7467 if test "${enable_splines+set}" = set; then
7468 enableval
="$enable_splines"
7470 if test "$enableval" = yes; then
7471 ac_cv_use_splines
='wxUSE_SPLINES=yes'
7473 ac_cv_use_splines
='wxUSE_SPLINES=no'
7478 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
7479 if test "x$LINE" != x
; then
7480 eval "DEFAULT_$LINE"
7485 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
7490 eval "$ac_cv_use_splines"
7491 if test "$no_cache" != 1; then
7492 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
7495 if test "$wxUSE_SPLINES" = yes; then
7496 echo "$ac_t""yes" 1>&6
7498 echo "$ac_t""no" 1>&6
7502 echo $ac_n "checking for --enable-validators""... $ac_c" 1>&6
7503 echo "configure:7504: checking for --enable-validators" >&5
7505 # Check whether --enable-validators or --disable-validators was given.
7506 if test "${enable_validators+set}" = set; then
7507 enableval
="$enable_validators"
7509 if test "$enableval" = yes; then
7510 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
7512 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
7517 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
7518 if test "x$LINE" != x
; then
7519 eval "DEFAULT_$LINE"
7524 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
7529 eval "$ac_cv_use_validators"
7530 if test "$no_cache" != 1; then
7531 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
7534 if test "$wxUSE_VALIDATORS" = yes; then
7535 echo "$ac_t""yes" 1>&6
7537 echo "$ac_t""no" 1>&6
7541 echo $ac_n "checking for --enable-busyinfo""... $ac_c" 1>&6
7542 echo "configure:7543: checking for --enable-busyinfo" >&5
7544 # Check whether --enable-busyinfo or --disable-busyinfo was given.
7545 if test "${enable_busyinfo+set}" = set; then
7546 enableval
="$enable_busyinfo"
7548 if test "$enableval" = yes; then
7549 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
7551 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
7556 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
7557 if test "x$LINE" != x
; then
7558 eval "DEFAULT_$LINE"
7563 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
7568 eval "$ac_cv_use_busyinfo"
7569 if test "$no_cache" != 1; then
7570 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
7573 if test "$wxUSE_BUSYINFO" = yes; then
7574 echo "$ac_t""yes" 1>&6
7576 echo "$ac_t""no" 1>&6
7580 echo $ac_n "checking for --enable-joystick""... $ac_c" 1>&6
7581 echo "configure:7582: checking for --enable-joystick" >&5
7583 # Check whether --enable-joystick or --disable-joystick was given.
7584 if test "${enable_joystick+set}" = set; then
7585 enableval
="$enable_joystick"
7587 if test "$enableval" = yes; then
7588 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
7590 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
7595 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
7596 if test "x$LINE" != x
; then
7597 eval "DEFAULT_$LINE"
7602 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
7607 eval "$ac_cv_use_joystick"
7608 if test "$no_cache" != 1; then
7609 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
7612 if test "$wxUSE_JOYSTICK" = yes; then
7613 echo "$ac_t""yes" 1>&6
7615 echo "$ac_t""no" 1>&6
7619 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
7620 echo "configure:7621: checking for --enable-metafile" >&5
7622 # Check whether --enable-metafile or --disable-metafile was given.
7623 if test "${enable_metafile+set}" = set; then
7624 enableval
="$enable_metafile"
7626 if test "$enableval" = yes; then
7627 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
7629 ac_cv_use_metafile
='wxUSE_METAFILE=no'
7634 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7635 if test "x$LINE" != x
; then
7636 eval "DEFAULT_$LINE"
7641 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7646 eval "$ac_cv_use_metafile"
7647 if test "$no_cache" != 1; then
7648 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7651 if test "$wxUSE_METAFILE" = yes; then
7652 echo "$ac_t""yes" 1>&6
7654 echo "$ac_t""no" 1>&6
7658 echo $ac_n "checking for --enable-dragimage""... $ac_c" 1>&6
7659 echo "configure:7660: checking for --enable-dragimage" >&5
7661 # Check whether --enable-dragimage or --disable-dragimage was given.
7662 if test "${enable_dragimage+set}" = set; then
7663 enableval
="$enable_dragimage"
7665 if test "$enableval" = yes; then
7666 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
7668 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
7673 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
7674 if test "x$LINE" != x
; then
7675 eval "DEFAULT_$LINE"
7680 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
7685 eval "$ac_cv_use_dragimage"
7686 if test "$no_cache" != 1; then
7687 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
7690 if test "$wxUSE_DRAGIMAGE" = yes; then
7691 echo "$ac_t""yes" 1>&6
7693 echo "$ac_t""no" 1>&6
7699 echo $ac_n "checking for --enable-palette""... $ac_c" 1>&6
7700 echo "configure:7701: checking for --enable-palette" >&5
7702 # Check whether --enable-palette or --disable-palette was given.
7703 if test "${enable_palette+set}" = set; then
7704 enableval
="$enable_palette"
7706 if test "$enableval" = yes; then
7707 ac_cv_use_palette
='wxUSE_PALETTE=yes'
7709 ac_cv_use_palette
='wxUSE_PALETTE=no'
7714 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
7715 if test "x$LINE" != x
; then
7716 eval "DEFAULT_$LINE"
7721 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
7726 eval "$ac_cv_use_palette"
7727 if test "$no_cache" != 1; then
7728 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
7731 if test "$wxUSE_PALETTE" = yes; then
7732 echo "$ac_t""yes" 1>&6
7734 echo "$ac_t""no" 1>&6
7738 echo $ac_n "checking for --enable-image""... $ac_c" 1>&6
7739 echo "configure:7740: checking for --enable-image" >&5
7741 # Check whether --enable-image or --disable-image was given.
7742 if test "${enable_image+set}" = set; then
7743 enableval
="$enable_image"
7745 if test "$enableval" = yes; then
7746 ac_cv_use_image
='wxUSE_IMAGE=yes'
7748 ac_cv_use_image
='wxUSE_IMAGE=no'
7753 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
7754 if test "x$LINE" != x
; then
7755 eval "DEFAULT_$LINE"
7760 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
7765 eval "$ac_cv_use_image"
7766 if test "$no_cache" != 1; then
7767 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
7770 if test "$wxUSE_IMAGE" = yes; then
7771 echo "$ac_t""yes" 1>&6
7773 echo "$ac_t""no" 1>&6
7777 echo $ac_n "checking for --enable-gif""... $ac_c" 1>&6
7778 echo "configure:7779: checking for --enable-gif" >&5
7780 # Check whether --enable-gif or --disable-gif was given.
7781 if test "${enable_gif+set}" = set; then
7782 enableval
="$enable_gif"
7784 if test "$enableval" = yes; then
7785 ac_cv_use_gif
='wxUSE_GIF=yes'
7787 ac_cv_use_gif
='wxUSE_GIF=no'
7792 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
7793 if test "x$LINE" != x
; then
7794 eval "DEFAULT_$LINE"
7799 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
7804 eval "$ac_cv_use_gif"
7805 if test "$no_cache" != 1; then
7806 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
7809 if test "$wxUSE_GIF" = yes; then
7810 echo "$ac_t""yes" 1>&6
7812 echo "$ac_t""no" 1>&6
7816 echo $ac_n "checking for --enable-pcx""... $ac_c" 1>&6
7817 echo "configure:7818: checking for --enable-pcx" >&5
7819 # Check whether --enable-pcx or --disable-pcx was given.
7820 if test "${enable_pcx+set}" = set; then
7821 enableval
="$enable_pcx"
7823 if test "$enableval" = yes; then
7824 ac_cv_use_pcx
='wxUSE_PCX=yes'
7826 ac_cv_use_pcx
='wxUSE_PCX=no'
7831 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
7832 if test "x$LINE" != x
; then
7833 eval "DEFAULT_$LINE"
7838 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
7843 eval "$ac_cv_use_pcx"
7844 if test "$no_cache" != 1; then
7845 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
7848 if test "$wxUSE_PCX" = yes; then
7849 echo "$ac_t""yes" 1>&6
7851 echo "$ac_t""no" 1>&6
7855 echo $ac_n "checking for --enable-pnm""... $ac_c" 1>&6
7856 echo "configure:7857: checking for --enable-pnm" >&5
7858 # Check whether --enable-pnm or --disable-pnm was given.
7859 if test "${enable_pnm+set}" = set; then
7860 enableval
="$enable_pnm"
7862 if test "$enableval" = yes; then
7863 ac_cv_use_pnm
='wxUSE_PNM=yes'
7865 ac_cv_use_pnm
='wxUSE_PNM=no'
7870 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
7871 if test "x$LINE" != x
; then
7872 eval "DEFAULT_$LINE"
7877 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
7882 eval "$ac_cv_use_pnm"
7883 if test "$no_cache" != 1; then
7884 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
7887 if test "$wxUSE_PNM" = yes; then
7888 echo "$ac_t""yes" 1>&6
7890 echo "$ac_t""no" 1>&6
7894 echo $ac_n "checking for --enable-xpm""... $ac_c" 1>&6
7895 echo "configure:7896: checking for --enable-xpm" >&5
7897 # Check whether --enable-xpm or --disable-xpm was given.
7898 if test "${enable_xpm+set}" = set; then
7899 enableval
="$enable_xpm"
7901 if test "$enableval" = yes; then
7902 ac_cv_use_xpm
='wxUSE_XPM=yes'
7904 ac_cv_use_xpm
='wxUSE_XPM=no'
7909 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
7910 if test "x$LINE" != x
; then
7911 eval "DEFAULT_$LINE"
7916 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
7921 eval "$ac_cv_use_xpm"
7922 if test "$no_cache" != 1; then
7923 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
7926 if test "$wxUSE_XPM" = yes; then
7927 echo "$ac_t""yes" 1>&6
7929 echo "$ac_t""no" 1>&6
7936 echo "saving argument cache $wx_arg_cache_file"
7937 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
7941 echo $ac_n "checking for toolkit""... $ac_c" 1>&6
7942 echo "configure:7943: checking for toolkit" >&5
7944 if test "$wxUSE_GUI" = "yes"; then
7946 if test "$USE_BEOS" = 1; then
7947 { echo "configure: error: BeOS GUI is not supported yet, use --disable-gui" 1>&2; exit 1; }
7950 if test "$TOOLKIT_GIVEN" = 1; then
7951 for toolkit
in `echo $ALL_TOOLKITS`; do
7953 eval "value=\$${var}"
7954 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
7957 for toolkit
in `echo $ALL_TOOLKITS`; do
7958 if test "$has_toolkit_in_cache" != 1; then
7959 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
7961 var
=DEFAULT_wxUSE_
$toolkit
7963 eval "wxUSE_$toolkit=\$${var}"
7967 NUM_TOOLKITS
=`expr ${wxUSE_GTK:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MAC:-0} \
7968 + ${wxUSE_WINE:-0} + ${wxUSE_MSW:-0} + ${wxUSE_MGL:-0}`
7971 *-pc-os2_emx | *-pc-os2-emx )
7972 # PATH_IFS is autodetected by OS/2's configure (usually ';')
7973 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
7982 case "$NUM_TOOLKITS" in
7986 { echo "configure: error: Please specify a toolkit - cannot determine the default for ${host}" 1>&2; exit 1; }
7989 { echo "configure: error: Please specify at most one toolkit (may be some are cached?)" 1>&2; exit 1; }
7992 for toolkit
in `echo $ALL_TOOLKITS`; do
7994 eval "value=\$${var}"
7995 if test "x$value" != x
; then
7996 cache_var
=CACHE_
$toolkit
7997 eval "cache=\$${cache_var}"
7998 if test "$cache" = 1; then
7999 echo "$var=$value" >> ${wx_arg_cache_file}
8001 if test "$value" = 1; then
8002 toolkit_echo
=`echo $toolkit | tr [A-Z] [a-z]`
8003 echo "$ac_t""$toolkit_echo" 1>&6
8009 echo "$ac_t""base ($host_alias hosted) only" 1>&6
8013 cat > confcache
<<\EOF
8014 # This file is a shell script that caches the results of configure
8015 # tests run on this system so they can be shared between configure
8016 # scripts and configure runs. It is not useful on other systems.
8017 # If it contains results you don't want to keep, you may remove or edit it.
8019 # By default, configure uses ./config.cache as the cache file,
8020 # creating it if it does not exist already. You can give configure
8021 # the --cache-file=FILE option to use a different cache file; that is
8022 # what configure does when it calls configure scripts in
8023 # subdirectories, so they share the cache.
8024 # Giving --cache-file=/dev/null disables caching, for debugging configure.
8025 # config.status only pays attention to the cache file if you give it the
8026 # --recheck option to rerun configure.
8029 # The following way of writing the cache mishandles newlines in values,
8030 # but we know of no workaround that is simple, portable, and efficient.
8031 # So, don't put newlines in cache variables' values.
8032 # Ultrix sh set writes to stderr and can't be redirected directly,
8033 # and sets the high bit in the cache file unless we assign to the vars.
8035 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8037 # `set' does not quote correctly, so add quotes (double-quote substitution
8038 # turns \\\\ into \\, and sed turns \\ into \).
8040 -e "s/'/'\\\\''/g" \
8041 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
8044 # `set' quotes correctly as required by POSIX, so do not add quotes.
8045 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
8048 if cmp -s $cache_file confcache
; then
8051 if test -w $cache_file; then
8052 echo "updating cache $cache_file"
8053 cat confcache
> $cache_file
8055 echo "not updating unwritable cache $cache_file"
8061 if test "$build" != "$host" ; then
8062 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 ; then
8066 RANLIB
=$host_alias-ranlib
8067 DLLTOOL
=$host_alias-dlltool
8068 RESCOMP
=$host_alias-windres
8071 STRIP
=$host_alias-strip
8073 { echo "configure: error: $build_alias -> $host_alias cross compilation not supported yet." 1>&2; exit 1; }
8077 # Extract the first word of "gcc", so it can be a program name with args.
8078 set dummy gcc
; ac_word
=$2
8079 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8080 echo "configure:8081: checking for $ac_word" >&5
8081 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8082 echo $ac_n "(cached) $ac_c" 1>&6
8084 if test -n "$CC"; then
8085 ac_cv_prog_CC
="$CC" # Let the user override the test.
8087 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8089 for ac_dir
in $ac_dummy; do
8090 test -z "$ac_dir" && ac_dir
=.
8091 if test -f $ac_dir/$ac_word; then
8100 if test -n "$CC"; then
8101 echo "$ac_t""$CC" 1>&6
8103 echo "$ac_t""no" 1>&6
8106 if test -z "$CC"; then
8107 # Extract the first word of "cc", so it can be a program name with args.
8108 set dummy cc
; ac_word
=$2
8109 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8110 echo "configure:8111: checking for $ac_word" >&5
8111 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8112 echo $ac_n "(cached) $ac_c" 1>&6
8114 if test -n "$CC"; then
8115 ac_cv_prog_CC
="$CC" # Let the user override the test.
8117 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8120 for ac_dir
in $ac_dummy; do
8121 test -z "$ac_dir" && ac_dir
=.
8122 if test -f $ac_dir/$ac_word; then
8123 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
8124 ac_prog_rejected
=yes
8132 if test $ac_prog_rejected = yes; then
8133 # We found a bogon in the path, so make sure we never use it.
8134 set dummy
$ac_cv_prog_CC
8136 if test $# -gt 0; then
8137 # We chose a different compiler from the bogus one.
8138 # However, it has the same basename, so the bogon will be chosen
8139 # first if we set CC to just the basename; use the full file name.
8141 set dummy
"$ac_dir/$ac_word" "$@"
8149 if test -n "$CC"; then
8150 echo "$ac_t""$CC" 1>&6
8152 echo "$ac_t""no" 1>&6
8155 if test -z "$CC"; then
8156 case "`uname -s`" in
8158 # Extract the first word of "cl", so it can be a program name with args.
8159 set dummy cl
; ac_word
=$2
8160 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8161 echo "configure:8162: checking for $ac_word" >&5
8162 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8163 echo $ac_n "(cached) $ac_c" 1>&6
8165 if test -n "$CC"; then
8166 ac_cv_prog_CC
="$CC" # Let the user override the test.
8168 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8170 for ac_dir
in $ac_dummy; do
8171 test -z "$ac_dir" && ac_dir
=.
8172 if test -f $ac_dir/$ac_word; then
8181 if test -n "$CC"; then
8182 echo "$ac_t""$CC" 1>&6
8184 echo "$ac_t""no" 1>&6
8189 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
8192 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
8193 echo "configure:8194: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
8196 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8197 ac_cpp
='$CPP $CPPFLAGS'
8198 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8199 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8200 cross_compiling
=$ac_cv_prog_cc_cross
8202 cat > conftest.
$ac_ext << EOF
8204 #line 8205 "configure"
8205 #include "confdefs.h"
8209 if { (eval echo configure
:8210: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8210 ac_cv_prog_cc_works
=yes
8211 # If we can't run a trivial program, we are probably using a cross compiler.
8212 if (.
/conftest
; exit) 2>/dev
/null
; then
8213 ac_cv_prog_cc_cross
=no
8215 ac_cv_prog_cc_cross
=yes
8218 echo "configure: failed program was:" >&5
8219 cat conftest.
$ac_ext >&5
8220 ac_cv_prog_cc_works
=no
8224 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8225 ac_cpp
='$CPP $CPPFLAGS'
8226 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8227 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8228 cross_compiling
=$ac_cv_prog_cc_cross
8230 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
8231 if test $ac_cv_prog_cc_works = no
; then
8232 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
8234 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
8235 echo "configure:8236: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
8236 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
8237 cross_compiling
=$ac_cv_prog_cc_cross
8239 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
8240 echo "configure:8241: checking whether we are using GNU C" >&5
8241 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
8242 echo $ac_n "(cached) $ac_c" 1>&6
8244 cat > conftest.c
<<EOF
8249 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:8250: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
8256 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
8258 if test $ac_cv_prog_gcc = yes; then
8264 ac_test_CFLAGS
="${CFLAGS+set}"
8265 ac_save_CFLAGS
="$CFLAGS"
8267 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
8268 echo "configure:8269: checking whether ${CC-cc} accepts -g" >&5
8269 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
8270 echo $ac_n "(cached) $ac_c" 1>&6
8272 echo 'void f(){}' > conftest.c
8273 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
8282 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
8283 if test "$ac_test_CFLAGS" = set; then
8284 CFLAGS
="$ac_save_CFLAGS"
8285 elif test $ac_cv_prog_cc_g = yes; then
8286 if test "$GCC" = yes; then
8292 if test "$GCC" = yes; then
8300 CFLAGS
=`echo "$CFLAGS" | sed 's/-g//g'`
8302 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
8303 echo "configure:8304: checking how to run the C preprocessor" >&5
8304 # On Suns, sometimes $CPP names a directory.
8305 if test -n "$CPP" && test -d "$CPP"; then
8308 if test -z "$CPP"; then
8309 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
8310 echo $ac_n "(cached) $ac_c" 1>&6
8312 # This must be in double quotes, not single quotes, because CPP may get
8313 # substituted into the Makefile and "${CC-cc}" will confuse make.
8315 # On the NeXT, cc -E runs the code through the compiler's parser,
8316 # not just through cpp.
8317 cat > conftest.
$ac_ext <<EOF
8318 #line 8319 "configure"
8319 #include "confdefs.h"
8323 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8324 { (eval echo configure
:8325: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8325 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8326 if test -z "$ac_err"; then
8330 echo "configure: failed program was:" >&5
8331 cat conftest.
$ac_ext >&5
8333 CPP
="${CC-cc} -E -traditional-cpp"
8334 cat > conftest.
$ac_ext <<EOF
8335 #line 8336 "configure"
8336 #include "confdefs.h"
8340 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8341 { (eval echo configure
:8342: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8342 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8343 if test -z "$ac_err"; then
8347 echo "configure: failed program was:" >&5
8348 cat conftest.
$ac_ext >&5
8350 CPP
="${CC-cc} -nologo -E"
8351 cat > conftest.
$ac_ext <<EOF
8352 #line 8353 "configure"
8353 #include "confdefs.h"
8357 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8358 { (eval echo configure
:8359: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8359 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8360 if test -z "$ac_err"; then
8364 echo "configure: failed program was:" >&5
8365 cat conftest.
$ac_ext >&5
8374 ac_cv_prog_CPP
="$CPP"
8376 CPP
="$ac_cv_prog_CPP"
8378 ac_cv_prog_CPP
="$CPP"
8380 echo "$ac_t""$CPP" 1>&6
8382 if test $ac_cv_prog_gcc = yes; then
8383 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
8384 echo "configure:8385: checking whether ${CC-cc} needs -traditional" >&5
8385 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
8386 echo $ac_n "(cached) $ac_c" 1>&6
8388 ac_pattern
="Autoconf.*'x'"
8389 cat > conftest.
$ac_ext <<EOF
8390 #line 8391 "configure"
8391 #include "confdefs.h"
8395 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8396 egrep "$ac_pattern" >/dev
/null
2>&1; then
8398 ac_cv_prog_gcc_traditional
=yes
8401 ac_cv_prog_gcc_traditional
=no
8406 if test $ac_cv_prog_gcc_traditional = no
; then
8407 cat > conftest.
$ac_ext <<EOF
8408 #line 8409 "configure"
8409 #include "confdefs.h"
8413 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8414 egrep "$ac_pattern" >/dev
/null
2>&1; then
8416 ac_cv_prog_gcc_traditional
=yes
8423 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
8424 if test $ac_cv_prog_gcc_traditional = yes; then
8425 CC
="$CC -traditional"
8432 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8433 ac_cpp
='$CXXCPP $CPPFLAGS'
8434 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8435 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8436 cross_compiling
=$ac_cv_prog_cxx_cross
8439 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++ cl
8441 # Extract the first word of "$ac_prog", so it can be a program name with args.
8442 set dummy
$ac_prog; ac_word
=$2
8443 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8444 echo "configure:8445: checking for $ac_word" >&5
8445 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
8446 echo $ac_n "(cached) $ac_c" 1>&6
8448 if test -n "$CXX"; then
8449 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
8451 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8453 for ac_dir
in $ac_dummy; do
8454 test -z "$ac_dir" && ac_dir
=.
8455 if test -f $ac_dir/$ac_word; then
8456 ac_cv_prog_CXX
="$ac_prog"
8463 CXX
="$ac_cv_prog_CXX"
8464 if test -n "$CXX"; then
8465 echo "$ac_t""$CXX" 1>&6
8467 echo "$ac_t""no" 1>&6
8470 test -n "$CXX" && break
8472 test -n "$CXX" || CXX
="gcc"
8475 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
8476 echo "configure:8477: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
8479 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8480 ac_cpp
='$CXXCPP $CPPFLAGS'
8481 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8482 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8483 cross_compiling
=$ac_cv_prog_cxx_cross
8485 cat > conftest.
$ac_ext << EOF
8487 #line 8488 "configure"
8488 #include "confdefs.h"
8490 int main(){return(0);}
8492 if { (eval echo configure
:8493: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8493 ac_cv_prog_cxx_works
=yes
8494 # If we can't run a trivial program, we are probably using a cross compiler.
8495 if (.
/conftest
; exit) 2>/dev
/null
; then
8496 ac_cv_prog_cxx_cross
=no
8498 ac_cv_prog_cxx_cross
=yes
8501 echo "configure: failed program was:" >&5
8502 cat conftest.
$ac_ext >&5
8503 ac_cv_prog_cxx_works
=no
8507 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8508 ac_cpp
='$CXXCPP $CPPFLAGS'
8509 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8510 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8511 cross_compiling
=$ac_cv_prog_cxx_cross
8513 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
8514 if test $ac_cv_prog_cxx_works = no
; then
8515 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
8517 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
8518 echo "configure:8519: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
8519 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
8520 cross_compiling
=$ac_cv_prog_cxx_cross
8522 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
8523 echo "configure:8524: checking whether we are using GNU C++" >&5
8524 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
8525 echo $ac_n "(cached) $ac_c" 1>&6
8527 cat > conftest.C
<<EOF
8532 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:8533: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
8539 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
8541 if test $ac_cv_prog_gxx = yes; then
8547 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
8548 ac_save_CXXFLAGS
="$CXXFLAGS"
8550 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
8551 echo "configure:8552: checking whether ${CXX-g++} accepts -g" >&5
8552 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
8553 echo $ac_n "(cached) $ac_c" 1>&6
8555 echo 'void f(){}' > conftest.cc
8556 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
8557 ac_cv_prog_cxx_g
=yes
8565 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
8566 if test "$ac_test_CXXFLAGS" = set; then
8567 CXXFLAGS
="$ac_save_CXXFLAGS"
8568 elif test $ac_cv_prog_cxx_g = yes; then
8569 if test "$GXX" = yes; then
8575 if test "$GXX" = yes; then
8583 CXXFLAGS
=`echo "$CXXFLAGS" | sed 's/-g//g'`
8586 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8587 ac_cpp
='$CPP $CPPFLAGS'
8588 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8589 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8590 cross_compiling
=$ac_cv_prog_cc_cross
8593 # Extract the first word of "ranlib", so it can be a program name with args.
8594 set dummy ranlib
; ac_word
=$2
8595 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8596 echo "configure:8597: checking for $ac_word" >&5
8597 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
8598 echo $ac_n "(cached) $ac_c" 1>&6
8600 if test -n "$RANLIB"; then
8601 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
8603 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8605 for ac_dir
in $ac_dummy; do
8606 test -z "$ac_dir" && ac_dir
=.
8607 if test -f $ac_dir/$ac_word; then
8608 ac_cv_prog_RANLIB
="ranlib"
8613 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
8616 RANLIB
="$ac_cv_prog_RANLIB"
8617 if test -n "$RANLIB"; then
8618 echo "$ac_t""$RANLIB" 1>&6
8620 echo "$ac_t""no" 1>&6
8624 # Extract the first word of "ar", so it can be a program name with args.
8625 set dummy
ar; ac_word
=$2
8626 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8627 echo "configure:8628: checking for $ac_word" >&5
8628 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
8629 echo $ac_n "(cached) $ac_c" 1>&6
8631 if test -n "$AR"; then
8632 ac_cv_prog_AR
="$AR" # Let the user override the test.
8634 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8636 for ac_dir
in $ac_dummy; do
8637 test -z "$ac_dir" && ac_dir
=.
8638 if test -f $ac_dir/$ac_word; then
8644 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
8648 if test -n "$AR"; then
8649 echo "$ac_t""$AR" 1>&6
8651 echo "$ac_t""no" 1>&6
8655 # Find a good install program. We prefer a C program (faster),
8656 # so one script is as good as another. But avoid the broken or
8657 # incompatible versions:
8658 # SysV /etc/install, /usr/sbin/install
8659 # SunOS /usr/etc/install
8660 # IRIX /sbin/install
8662 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
8663 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
8664 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
8665 # ./install, which can be erroneously created by make from ./install.sh.
8666 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
8667 echo "configure:8668: checking for a BSD compatible install" >&5
8668 if test -z "$INSTALL"; then
8669 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
8670 echo $ac_n "(cached) $ac_c" 1>&6
8672 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
8673 for ac_dir
in $PATH; do
8674 # Account for people who put trailing slashes in PATH elements.
8676 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
8678 # OSF1 and SCO ODT 3.0 have their own names for install.
8679 # Don't use installbsd from OSF since it installs stuff as root
8681 for ac_prog
in ginstall scoinst
install; do
8682 if test -f $ac_dir/$ac_prog; then
8683 if test $ac_prog = install &&
8684 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
8685 # AIX install. It has an incompatible calling convention.
8688 ac_cv_path_install
="$ac_dir/$ac_prog -c"
8699 if test "${ac_cv_path_install+set}" = set; then
8700 INSTALL
="$ac_cv_path_install"
8702 # As a last resort, use the slow shell script. We don't cache a
8703 # path for INSTALL within a source directory, because that will
8704 # break other packages using the cache if that directory is
8705 # removed, or if the path is relative.
8706 INSTALL
="$ac_install_sh"
8709 echo "$ac_t""$INSTALL" 1>&6
8711 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
8712 # It thinks the first close brace ends the variable substitution.
8713 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
8715 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
8717 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
8722 INSTALL_PROGRAM
="cp -fp"
8723 INSTALL_DATA
="cp -fp"
8729 # Extract the first word of "strip", so it can be a program name with args.
8730 set dummy strip
; ac_word
=$2
8731 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8732 echo "configure:8733: checking for $ac_word" >&5
8733 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
8734 echo $ac_n "(cached) $ac_c" 1>&6
8736 if test -n "$STRIP"; then
8737 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
8739 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8741 for ac_dir
in $ac_dummy; do
8742 test -z "$ac_dir" && ac_dir
=.
8743 if test -f $ac_dir/$ac_word; then
8744 ac_cv_prog_STRIP
="strip"
8749 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
8752 STRIP
="$ac_cv_prog_STRIP"
8753 if test -n "$STRIP"; then
8754 echo "$ac_t""$STRIP" 1>&6
8756 echo "$ac_t""no" 1>&6
8760 echo $ac_n "checking make for VPATH support""... $ac_c" 1>&6
8761 echo "configure:8762: checking make for VPATH support" >&5
8762 cat - << EOF > confMake
8768 if test ! -d sub
; then
8771 echo dummy
> sub
/file
8772 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
8774 rm -f sub
/file check final_file confMake
8776 if test "$RESULT" = 0; then
8777 echo "$ac_t""yes" 1>&6
8779 echo "$ac_t""no" 1>&6
8780 { echo "configure: error:
8781 You need a make-utility that is able to use the variable
8783 If your version of make does not support VPATH correctly,
8784 please install GNU-make (possibly as gmake), and start
8785 configure with the following command:
8786 export MAKE=gmake; ./configure for sh-type shells
8787 setenv MAKE gmake; ./configure for csh-type shells
8788 Also please do remember to use gmake in this case every time
8789 you are trying to compile.
8793 for ac_prog
in 'bison -y' byacc
8795 # Extract the first word of "$ac_prog", so it can be a program name with args.
8796 set dummy
$ac_prog; ac_word
=$2
8797 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8798 echo "configure:8799: checking for $ac_word" >&5
8799 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
8800 echo $ac_n "(cached) $ac_c" 1>&6
8802 if test -n "$YACC"; then
8803 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
8805 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8807 for ac_dir
in $ac_dummy; do
8808 test -z "$ac_dir" && ac_dir
=.
8809 if test -f $ac_dir/$ac_word; then
8810 ac_cv_prog_YACC
="$ac_prog"
8817 YACC
="$ac_cv_prog_YACC"
8818 if test -n "$YACC"; then
8819 echo "$ac_t""$YACC" 1>&6
8821 echo "$ac_t""no" 1>&6
8824 test -n "$YACC" && break
8826 test -n "$YACC" || YACC
="yacc"
8829 # Extract the first word of "flex", so it can be a program name with args.
8830 set dummy flex
; ac_word
=$2
8831 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8832 echo "configure:8833: checking for $ac_word" >&5
8833 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
8834 echo $ac_n "(cached) $ac_c" 1>&6
8836 if test -n "$LEX"; then
8837 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
8839 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8841 for ac_dir
in $ac_dummy; do
8842 test -z "$ac_dir" && ac_dir
=.
8843 if test -f $ac_dir/$ac_word; then
8844 ac_cv_prog_LEX
="flex"
8849 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
8852 LEX
="$ac_cv_prog_LEX"
8853 if test -n "$LEX"; then
8854 echo "$ac_t""$LEX" 1>&6
8856 echo "$ac_t""no" 1>&6
8859 if test -z "$LEXLIB"
8865 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
8866 echo "configure:8867: checking for yywrap in -l$ac_lib" >&5
8867 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
8868 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8869 echo $ac_n "(cached) $ac_c" 1>&6
8871 ac_save_LIBS
="$LIBS"
8872 LIBS
="-l$ac_lib $LIBS"
8873 cat > conftest.
$ac_ext <<EOF
8874 #line 8875 "configure"
8875 #include "confdefs.h"
8876 /* Override any gcc2 internal prototype to avoid an error. */
8877 /* We use char because int might match the return type of a gcc2
8878 builtin and then its argument prototype would still apply. */
8885 if { (eval echo configure
:8886: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8887 eval "ac_cv_lib_$ac_lib_var=yes"
8889 echo "configure: failed program was:" >&5
8890 cat conftest.
$ac_ext >&5
8892 eval "ac_cv_lib_$ac_lib_var=no"
8895 LIBS
="$ac_save_LIBS"
8898 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8899 echo "$ac_t""yes" 1>&6
8902 echo "$ac_t""no" 1>&6
8908 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
8909 echo "configure:8910: checking whether ln -s works" >&5
8910 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
8911 echo $ac_n "(cached) $ac_c" 1>&6
8914 if ln -s X conftestdata
2>/dev
/null
8917 ac_cv_prog_LN_S
="ln -s"
8922 LN_S
="$ac_cv_prog_LN_S"
8923 if test "$ac_cv_prog_LN_S" = "ln -s"; then
8924 echo "$ac_t""yes" 1>&6
8926 echo "$ac_t""no" 1>&6
8932 /usr/local/include \
8934 /usr/Motif-1.2/include \
8935 /usr/Motif-2.1/include \
8937 /usr/include/Motif1.2 \
8938 /opt/xpm/include/X11 \
8939 /opt/GBxpm/include/ \
8940 /opt/GBxpm/X11/include/ \
8942 /usr/Motif1.2/include \
8944 /usr/openwin/include \
8948 /usr/X11R6/include \
8949 /usr/X11R6.4/include \
8950 /usr/X11R5/include \
8951 /usr/X11R4/include \
8953 /usr/include/X11R6 \
8954 /usr/include/X11R5 \
8955 /usr/include/X11R4 \
8957 /usr/local/X11R6/include \
8958 /usr/local/X11R5/include \
8959 /usr/local/X11R4/include \
8961 /usr/local/include/X11R6 \
8962 /usr/local/include/X11R5 \
8963 /usr/local/include/X11R4 \
8967 /usr/local/X11/include \
8968 /usr/local/include/X11 \
8972 /usr/XFree86/include/X11 \
8974 X:/XFree86/include \
8975 X:/XFree86/include/X11 \
8978 /usr/local/include/gtk \
8980 /usr/local/include/glib \
8983 /usr/local/include/qt \
8985 /usr/include/windows \
8987 /usr/local/include/wine \
8989 /usr/unsupported/include \
8990 /usr/athena/include \
8991 /usr/local/x11r5/include \
8992 /usr/lpp/Xamples/include \
8994 /usr/openwin/share/include \
8998 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
9001 cat > confcache
<<\EOF
9002 # This file is a shell script that caches the results of configure
9003 # tests run on this system so they can be shared between configure
9004 # scripts and configure runs. It is not useful on other systems.
9005 # If it contains results you don't want to keep, you may remove or edit it.
9007 # By default, configure uses ./config.cache as the cache file,
9008 # creating it if it does not exist already. You can give configure
9009 # the --cache-file=FILE option to use a different cache file; that is
9010 # what configure does when it calls configure scripts in
9011 # subdirectories, so they share the cache.
9012 # Giving --cache-file=/dev/null disables caching, for debugging configure.
9013 # config.status only pays attention to the cache file if you give it the
9014 # --recheck option to rerun configure.
9017 # The following way of writing the cache mishandles newlines in values,
9018 # but we know of no workaround that is simple, portable, and efficient.
9019 # So, don't put newlines in cache variables' values.
9020 # Ultrix sh set writes to stderr and can't be redirected directly,
9021 # and sets the high bit in the cache file unless we assign to the vars.
9023 case `(ac_space=' '; set | grep ac_space) 2>&1` in
9025 # `set' does not quote correctly, so add quotes (double-quote substitution
9026 # turns \\\\ into \\, and sed turns \\ into \).
9028 -e "s/'/'\\\\''/g" \
9029 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
9032 # `set' quotes correctly as required by POSIX, so do not add quotes.
9033 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
9036 if cmp -s $cache_file confcache
; then
9039 if test -w $cache_file; then
9040 echo "updating cache $cache_file"
9041 cat confcache
> $cache_file
9043 echo "not updating unwritable cache $cache_file"
9052 if test "$wxUSE_REGEX" != "no"; then
9053 cat >> confdefs.h
<<\EOF
9054 #define wxUSE_REGEX 1
9058 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
9059 ac_safe
=`echo "regex.h" | sed 'y%./+-%__p_%'`
9060 echo $ac_n "checking for regex.h""... $ac_c" 1>&6
9061 echo "configure:9062: checking for regex.h" >&5
9062 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9063 echo $ac_n "(cached) $ac_c" 1>&6
9065 cat > conftest.
$ac_ext <<EOF
9066 #line 9067 "configure"
9067 #include "confdefs.h"
9070 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9071 { (eval echo configure
:9072: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9072 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9073 if test -z "$ac_err"; then
9075 eval "ac_cv_header_$ac_safe=yes"
9078 echo "configure: failed program was:" >&5
9079 cat conftest.
$ac_ext >&5
9081 eval "ac_cv_header_$ac_safe=no"
9085 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9086 echo "$ac_t""yes" 1>&6
9087 for ac_func
in regcomp
9089 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9090 echo "configure:9091: checking for $ac_func" >&5
9091 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9092 echo $ac_n "(cached) $ac_c" 1>&6
9094 cat > conftest.
$ac_ext <<EOF
9095 #line 9096 "configure"
9096 #include "confdefs.h"
9097 /* System header to define __stub macros and hopefully few prototypes,
9098 which can conflict with char $ac_func(); below. */
9100 /* Override any gcc2 internal prototype to avoid an error. */
9101 /* We use char because int might match the return type of a gcc2
9102 builtin and then its argument prototype would still apply. */
9107 /* The GNU C library defines this for functions which it implements
9108 to always fail with ENOSYS. Some functions are actually named
9109 something starting with __ and the normal name is an alias. */
9110 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9118 if { (eval echo configure
:9119: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9120 eval "ac_cv_func_$ac_func=yes"
9122 echo "configure: failed program was:" >&5
9123 cat conftest.
$ac_ext >&5
9125 eval "ac_cv_func_$ac_func=no"
9130 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9131 echo "$ac_t""yes" 1>&6
9132 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9133 cat >> confdefs.h
<<EOF
9134 #define $ac_tr_func 1
9138 echo "$ac_t""no" 1>&6
9143 echo "$ac_t""no" 1>&6
9147 if test "x$ac_cv_func_regcomp" != "xyes"; then
9148 if test "$wxUSE_REGEX" = "sys" ; then
9149 { echo "configure: error: system regex library not found! Use --with-regex to use built-in version" 1>&2; exit 1; }
9151 echo "configure: warning: system regex library not found, will use built-in instead" 1>&2
9159 if test "$wxUSE_REGEX" = "builtin" ; then
9160 REGEX_INCLUDE
="-I\${top_srcdir}/src/regex"
9167 if test "$wxUSE_ZLIB" != "no" ; then
9168 cat >> confdefs.h
<<\EOF
9169 #define wxUSE_ZLIB 1
9173 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
9174 ac_safe
=`echo "zlib.h" | sed 'y%./+-%__p_%'`
9175 echo $ac_n "checking for zlib.h""... $ac_c" 1>&6
9176 echo "configure:9177: checking for zlib.h" >&5
9177 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9178 echo $ac_n "(cached) $ac_c" 1>&6
9180 cat > conftest.
$ac_ext <<EOF
9181 #line 9182 "configure"
9182 #include "confdefs.h"
9185 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9186 { (eval echo configure
:9187: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9187 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9188 if test -z "$ac_err"; then
9190 eval "ac_cv_header_$ac_safe=yes"
9193 echo "configure: failed program was:" >&5
9194 cat conftest.
$ac_ext >&5
9196 eval "ac_cv_header_$ac_safe=no"
9200 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9201 echo "$ac_t""yes" 1>&6
9202 echo $ac_n "checking for deflate in -lz""... $ac_c" 1>&6
9203 echo "configure:9204: checking for deflate in -lz" >&5
9204 ac_lib_var
=`echo z'_'deflate | sed 'y%./+-%__p_%'`
9205 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9206 echo $ac_n "(cached) $ac_c" 1>&6
9208 ac_save_LIBS
="$LIBS"
9210 cat > conftest.
$ac_ext <<EOF
9211 #line 9212 "configure"
9212 #include "confdefs.h"
9213 /* Override any gcc2 internal prototype to avoid an error. */
9214 /* We use char because int might match the return type of a gcc2
9215 builtin and then its argument prototype would still apply. */
9222 if { (eval echo configure
:9223: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9224 eval "ac_cv_lib_$ac_lib_var=yes"
9226 echo "configure: failed program was:" >&5
9227 cat conftest.
$ac_ext >&5
9229 eval "ac_cv_lib_$ac_lib_var=no"
9232 LIBS
="$ac_save_LIBS"
9235 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9236 echo "$ac_t""yes" 1>&6
9239 echo "$ac_t""no" 1>&6
9243 echo "$ac_t""no" 1>&6
9247 if test "x$ZLIB_LINK" = "x" ; then
9248 if test "$wxUSE_ZLIB" = "sys" ; then
9249 { echo "configure: error: system zlib compression library not found! Use --with-zlib=builtin to use built-in version" 1>&2; exit 1; }
9251 echo "configure: warning: system zlib compression library not found, will use built-in instead" 1>&2
9259 if test "$wxUSE_ZLIB" = "builtin" ; then
9260 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
9267 if test "$wxUSE_LIBPNG" != "no" ; then
9268 cat >> confdefs.h
<<\EOF
9269 #define wxUSE_LIBPNG 1
9273 if test "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
9274 echo "configure: warning: system png library doesn't work without system zlib, will use built-in instead" 1>&2
9275 wxUSE_LIBPNG
=builtin
9278 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
9279 ac_safe
=`echo "png.h" | sed 'y%./+-%__p_%'`
9280 echo $ac_n "checking for png.h""... $ac_c" 1>&6
9281 echo "configure:9282: checking for png.h" >&5
9282 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9283 echo $ac_n "(cached) $ac_c" 1>&6
9285 cat > conftest.
$ac_ext <<EOF
9286 #line 9287 "configure"
9287 #include "confdefs.h"
9290 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9291 { (eval echo configure
:9292: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9292 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9293 if test -z "$ac_err"; then
9295 eval "ac_cv_header_$ac_safe=yes"
9298 echo "configure: failed program was:" >&5
9299 cat conftest.
$ac_ext >&5
9301 eval "ac_cv_header_$ac_safe=no"
9305 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9306 echo "$ac_t""yes" 1>&6
9307 echo $ac_n "checking for png_check_sig in -lpng""... $ac_c" 1>&6
9308 echo "configure:9309: checking for png_check_sig in -lpng" >&5
9309 ac_lib_var
=`echo png'_'png_check_sig | sed 'y%./+-%__p_%'`
9310 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9311 echo $ac_n "(cached) $ac_c" 1>&6
9313 ac_save_LIBS
="$LIBS"
9314 LIBS
="-lpng -lz -lm $LIBS"
9315 cat > conftest.
$ac_ext <<EOF
9316 #line 9317 "configure"
9317 #include "confdefs.h"
9318 /* Override any gcc2 internal prototype to avoid an error. */
9319 /* We use char because int might match the return type of a gcc2
9320 builtin and then its argument prototype would still apply. */
9321 char png_check_sig();
9327 if { (eval echo configure
:9328: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9329 eval "ac_cv_lib_$ac_lib_var=yes"
9331 echo "configure: failed program was:" >&5
9332 cat conftest.
$ac_ext >&5
9334 eval "ac_cv_lib_$ac_lib_var=no"
9337 LIBS
="$ac_save_LIBS"
9340 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9341 echo "$ac_t""yes" 1>&6
9344 echo "$ac_t""no" 1>&6
9349 echo "$ac_t""no" 1>&6
9353 if test "x$PNG_LINK" = "x" ; then
9354 if test "$wxUSE_LIBPNG" = "sys" ; then
9355 { echo "configure: error: system png library not found! Use --with-libpng=builtin to use built-in version" 1>&2; exit 1; }
9357 echo "configure: warning: system png library not found, will use built-in instead" 1>&2
9358 wxUSE_LIBPNG
=builtin
9365 if test "$wxUSE_LIBPNG" = "builtin" ; then
9366 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
9369 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
9375 if test "$wxUSE_LIBJPEG" != "no" ; then
9376 cat >> confdefs.h
<<\EOF
9377 #define wxUSE_LIBJPEG 1
9381 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
9382 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6
9383 echo "configure:9384: checking for jpeglib.h" >&5
9384 if eval "test \"`echo '$''{'ac_cv_header_jpeglib_h'+set}'`\" = set"; then
9385 echo $ac_n "(cached) $ac_c" 1>&6
9387 cat > conftest.
$ac_ext <<EOF
9388 #line 9389 "configure"
9389 #include "confdefs.h"
9391 #undef HAVE_STDLIB_H
9393 #include <jpeglib.h>
9400 if { (eval echo configure
:9401: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9402 ac_cv_header_jpeglib_h
=yes
9404 echo "configure: failed program was:" >&5
9405 cat conftest.
$ac_ext >&5
9407 ac_cv_header_jpeglib_h
=no
9414 echo "$ac_t""$ac_cv_header_jpeglib_h" 1>&6
9416 if test "$ac_cv_header_jpeglib_h" = "yes"; then
9417 echo $ac_n "checking for jpeg_read_header in -ljpeg""... $ac_c" 1>&6
9418 echo "configure:9419: checking for jpeg_read_header in -ljpeg" >&5
9419 ac_lib_var
=`echo jpeg'_'jpeg_read_header | sed 'y%./+-%__p_%'`
9420 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9421 echo $ac_n "(cached) $ac_c" 1>&6
9423 ac_save_LIBS
="$LIBS"
9425 cat > conftest.
$ac_ext <<EOF
9426 #line 9427 "configure"
9427 #include "confdefs.h"
9428 /* Override any gcc2 internal prototype to avoid an error. */
9429 /* We use char because int might match the return type of a gcc2
9430 builtin and then its argument prototype would still apply. */
9431 char jpeg_read_header();
9437 if { (eval echo configure
:9438: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9439 eval "ac_cv_lib_$ac_lib_var=yes"
9441 echo "configure: failed program was:" >&5
9442 cat conftest.
$ac_ext >&5
9444 eval "ac_cv_lib_$ac_lib_var=no"
9447 LIBS
="$ac_save_LIBS"
9450 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9451 echo "$ac_t""yes" 1>&6
9454 echo "$ac_t""no" 1>&6
9459 if test "x$JPEG_LINK" = "x" ; then
9460 if test "$wxUSE_LIBJPEG" = "sys" ; then
9461 { echo "configure: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" 1>&2; exit 1; }
9463 echo "configure: warning: system jpeg library not found, will use built-in instead" 1>&2
9464 wxUSE_LIBJPEG
=builtin
9471 if test "$wxUSE_LIBJPEG" = "builtin" ; then
9472 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
9479 if test "$wxUSE_LIBTIFF" != "no" ; then
9480 cat >> confdefs.h
<<\EOF
9481 #define wxUSE_LIBTIFF 1
9485 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
9486 ac_safe
=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
9487 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
9488 echo "configure:9489: checking for tiffio.h" >&5
9489 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9490 echo $ac_n "(cached) $ac_c" 1>&6
9492 cat > conftest.
$ac_ext <<EOF
9493 #line 9494 "configure"
9494 #include "confdefs.h"
9497 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9498 { (eval echo configure
:9499: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9499 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9500 if test -z "$ac_err"; then
9502 eval "ac_cv_header_$ac_safe=yes"
9505 echo "configure: failed program was:" >&5
9506 cat conftest.
$ac_ext >&5
9508 eval "ac_cv_header_$ac_safe=no"
9512 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9513 echo "$ac_t""yes" 1>&6
9514 echo $ac_n "checking for TIFFError in -ltiff""... $ac_c" 1>&6
9515 echo "configure:9516: checking for TIFFError in -ltiff" >&5
9516 ac_lib_var
=`echo tiff'_'TIFFError | sed 'y%./+-%__p_%'`
9517 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9518 echo $ac_n "(cached) $ac_c" 1>&6
9520 ac_save_LIBS
="$LIBS"
9521 LIBS
="-ltiff -lm $LIBS"
9522 cat > conftest.
$ac_ext <<EOF
9523 #line 9524 "configure"
9524 #include "confdefs.h"
9525 /* Override any gcc2 internal prototype to avoid an error. */
9526 /* We use char because int might match the return type of a gcc2
9527 builtin and then its argument prototype would still apply. */
9534 if { (eval echo configure
:9535: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9536 eval "ac_cv_lib_$ac_lib_var=yes"
9538 echo "configure: failed program was:" >&5
9539 cat conftest.
$ac_ext >&5
9541 eval "ac_cv_lib_$ac_lib_var=no"
9544 LIBS
="$ac_save_LIBS"
9547 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9548 echo "$ac_t""yes" 1>&6
9551 echo "$ac_t""no" 1>&6
9556 echo "$ac_t""no" 1>&6
9560 if test "x$TIFF_LINK" = "x" ; then
9561 if test "$wxUSE_LIBTIFF" = "sys" ; then
9562 { echo "configure: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" 1>&2; exit 1; }
9564 echo "configure: warning: system tiff library not found, will use built-in instead" 1>&2
9565 wxUSE_LIBTIFF
=builtin
9572 if test "$wxUSE_LIBTIFF" = "builtin" ; then
9573 TIFF_INCLUDE
="-I\${top_srcdir}/src/tiff"
9580 if test "$wxUSE_FREETYPE" != "no" ; then
9581 cat >> confdefs.h
<<\EOF
9582 #define wxUSE_FREETYPE 1
9586 if test "$wxUSE_FREETYPE" = "sys" -o "$wxUSE_FREETYPE" = "yes" ; then
9587 ac_safe
=`echo "freetype.h" | sed 'y%./+-%__p_%'`
9588 echo $ac_n "checking for freetype.h""... $ac_c" 1>&6
9589 echo "configure:9590: checking for freetype.h" >&5
9590 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9591 echo $ac_n "(cached) $ac_c" 1>&6
9593 cat > conftest.
$ac_ext <<EOF
9594 #line 9595 "configure"
9595 #include "confdefs.h"
9596 #include <freetype.h>
9598 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9599 { (eval echo configure
:9600: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9600 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9601 if test -z "$ac_err"; then
9603 eval "ac_cv_header_$ac_safe=yes"
9606 echo "configure: failed program was:" >&5
9607 cat conftest.
$ac_ext >&5
9609 eval "ac_cv_header_$ac_safe=no"
9613 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9614 echo "$ac_t""yes" 1>&6
9615 echo $ac_n "checking for FT_Render_Glyph in -lfreetype""... $ac_c" 1>&6
9616 echo "configure:9617: checking for FT_Render_Glyph in -lfreetype" >&5
9617 ac_lib_var
=`echo freetype'_'FT_Render_Glyph | sed 'y%./+-%__p_%'`
9618 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9619 echo $ac_n "(cached) $ac_c" 1>&6
9621 ac_save_LIBS
="$LIBS"
9622 LIBS
="-lfreetype -lm $LIBS"
9623 cat > conftest.
$ac_ext <<EOF
9624 #line 9625 "configure"
9625 #include "confdefs.h"
9626 /* Override any gcc2 internal prototype to avoid an error. */
9627 /* We use char because int might match the return type of a gcc2
9628 builtin and then its argument prototype would still apply. */
9629 char FT_Render_Glyph();
9635 if { (eval echo configure
:9636: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9637 eval "ac_cv_lib_$ac_lib_var=yes"
9639 echo "configure: failed program was:" >&5
9640 cat conftest.
$ac_ext >&5
9642 eval "ac_cv_lib_$ac_lib_var=no"
9645 LIBS
="$ac_save_LIBS"
9648 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9649 echo "$ac_t""yes" 1>&6
9650 FREETYPE_LINK
=" -lfreetype"
9652 echo "$ac_t""no" 1>&6
9657 echo "$ac_t""no" 1>&6
9661 if test "x$FREETYPE_LINK" = "x" ; then
9662 if test "$wxUSE_FREETYPE" = "sys" ; then
9663 { echo "configure: error: system freetype library not found! Use --with-freetype=builtin to use built-in version" 1>&2; exit 1; }
9665 echo "configure: warning: system freetype library not found, will use built-in instead" 1>&2
9666 wxUSE_FREETYPE
=builtin
9673 if test "$wxUSE_FREETYPE" = "builtin" ; then
9674 FREETYPE_INCLUDE
="-I\${top_srcdir}/src/freetype"
9685 if test "$USE_WIN32" = 1 ; then
9686 for ac_hdr
in w32api.h
9688 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9689 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9690 echo "configure:9691: checking for $ac_hdr" >&5
9691 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9692 echo $ac_n "(cached) $ac_c" 1>&6
9694 cat > conftest.
$ac_ext <<EOF
9695 #line 9696 "configure"
9696 #include "confdefs.h"
9699 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9700 { (eval echo configure
:9701: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9701 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9702 if test -z "$ac_err"; then
9704 eval "ac_cv_header_$ac_safe=yes"
9707 echo "configure: failed program was:" >&5
9708 cat conftest.
$ac_ext >&5
9710 eval "ac_cv_header_$ac_safe=no"
9714 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9715 echo "$ac_t""yes" 1>&6
9716 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9717 cat >> confdefs.h
<<EOF
9718 #define $ac_tr_hdr 1
9722 echo "$ac_t""no" 1>&6
9726 ac_safe
=`echo "windows.h" | sed 'y%./+-%__p_%'`
9727 echo $ac_n "checking for windows.h""... $ac_c" 1>&6
9728 echo "configure:9729: checking for windows.h" >&5
9729 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9730 echo $ac_n "(cached) $ac_c" 1>&6
9732 cat > conftest.
$ac_ext <<EOF
9733 #line 9734 "configure"
9734 #include "confdefs.h"
9735 #include <windows.h>
9737 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9738 { (eval echo configure
:9739: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9739 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9740 if test -z "$ac_err"; then
9742 eval "ac_cv_header_$ac_safe=yes"
9745 echo "configure: failed program was:" >&5
9746 cat conftest.
$ac_ext >&5
9748 eval "ac_cv_header_$ac_safe=no"
9752 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9753 echo "$ac_t""yes" 1>&6
9756 echo "$ac_t""no" 1>&6
9758 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
9763 echo $ac_n "checking if w32api has good enough MSIE support""... $ac_c" 1>&6
9764 echo "configure:9765: checking if w32api has good enough MSIE support" >&5
9765 if eval "test \"`echo '$''{'wx_cv_w32api_win32_ie'+set}'`\" = set"; then
9766 echo $ac_n "(cached) $ac_c" 1>&6
9769 cat > conftest.
$ac_ext <<EOF
9770 #line 9771 "configure"
9771 #include "confdefs.h"
9775 #define wxCHECK_W32API_VERSION( major, minor ) \
9776 ( defined( __W32API_MAJOR_VERSION ) && defined( __W32API_MINOR_VERSION ) \
9777 && ( ( __W32API_MAJOR_VERSION > (major) ) \
9778 || ( __W32API_MAJOR_VERSION == (major) && __W32API_MINOR_VERSION >= (minor))))
9780 #if !wxCHECK_W32API_VERSION(1,1)
9781 #error You need w32api 1.1 or newer
9786 if { (eval echo configure
:9787: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9789 wx_cv_w32api_win32_ie
=yes
9792 echo "configure: failed program was:" >&5
9793 cat conftest.
$ac_ext >&5
9796 wx_cv_w32api_win32_ie
=no
9803 echo "$ac_t""$wx_cv_w32api_win32_ie" 1>&6
9804 if test "$wx_cv_w32api_win32_ie" = "yes" ; then
9805 CPPFLAGS
="$CPPFLAGS -D_WIN32_IE=0x400"
9808 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -ladvapi32 -lwsock32"
9812 LIBS
="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32"
9813 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
9816 if test "$wxUSE_ODBC" = "yes" ; then
9817 LIBS
=" -lodbc32 -lole32 -loleaut32$LIBS"
9820 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
9821 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
9824 if test "$wxUSE_GUI" = "yes"; then
9833 if test "$wxUSE_MSW" = 1 ; then
9839 LDFLAGS
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
9843 if test "$wxUSE_GTK" = 1; then
9844 echo $ac_n "checking for GTK+ version""... $ac_c" 1>&6
9845 echo "configure:9846: checking for GTK+ version" >&5
9847 gtk_version_cached
=1
9848 if eval "test \"`echo '$''{'wx_cv_lib_gtk'+set}'`\" = set"; then
9849 echo $ac_n "(cached) $ac_c" 1>&6
9852 gtk_version_cached
=0
9856 if test "$wxUSE_THREADS" = "yes"; then
9861 if test "x$wxUSE_GTK2" = "xyes"; then
9862 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
9863 if test "${with_gtk_prefix+set}" = set; then
9864 withval
="$with_gtk_prefix"
9865 gtk_config_prefix
="$withval"
9867 gtk_config_prefix
=""
9870 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
9871 if test "${with_gtk_exec_prefix+set}" = set; then
9872 withval
="$with_gtk_exec_prefix"
9873 gtk_config_exec_prefix
="$withval"
9875 gtk_config_exec_prefix
=""
9878 # Check whether --enable-gtktest or --disable-gtktest was given.
9879 if test "${enable_gtktest+set}" = set; then
9880 enableval
="$enable_gtktest"
9887 for module
in .
$GTK_MODULES
9891 gtk_config_args
="$gtk_config_args gthread"
9896 if test x
$gtk_config_exec_prefix != x
; then
9897 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
9898 if test x
${GTK_CONFIG_2_0+set} != xset
; then
9899 GTK_CONFIG_2_0
=$gtk_config_exec_prefix/bin
/gtk
-config-2.0
9902 if test x
$gtk_config_prefix != x
; then
9903 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
9904 if test x
${GTK_CONFIG_2_0+set} != xset
; then
9905 GTK_CONFIG_2_0
=$gtk_config_prefix/bin
/gtk
-config-2.0
9909 # Extract the first word of "gtk-config-2.0", so it can be a program name with args.
9910 set dummy gtk
-config-2.0
; ac_word
=$2
9911 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9912 echo "configure:9913: checking for $ac_word" >&5
9913 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG_2_0'+set}'`\" = set"; then
9914 echo $ac_n "(cached) $ac_c" 1>&6
9916 case "$GTK_CONFIG_2_0" in
9918 ac_cv_path_GTK_CONFIG_2_0
="$GTK_CONFIG_2_0" # Let the user override the test with a path.
9921 ac_cv_path_GTK_CONFIG_2_0
="$GTK_CONFIG_2_0" # Let the user override the test with a dos path.
9924 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9926 for ac_dir
in $ac_dummy; do
9927 test -z "$ac_dir" && ac_dir
=.
9928 if test -f $ac_dir/$ac_word; then
9929 ac_cv_path_GTK_CONFIG_2_0
="$ac_dir/$ac_word"
9934 test -z "$ac_cv_path_GTK_CONFIG_2_0" && ac_cv_path_GTK_CONFIG_2_0
="no"
9938 GTK_CONFIG_2_0
="$ac_cv_path_GTK_CONFIG_2_0"
9939 if test -n "$GTK_CONFIG_2_0"; then
9940 echo "$ac_t""$GTK_CONFIG_2_0" 1>&6
9942 echo "$ac_t""no" 1>&6
9945 min_gtk_version
=1.3.1
9946 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
9947 echo "configure:9948: checking for GTK - version >= $min_gtk_version" >&5
9949 if test "$GTK_CONFIG_2_0" = "no" ; then
9952 GTK_CFLAGS
=`$GTK_CONFIG_2_0 $gtk_config_args --cflags`
9953 GTK_LIBS
=`$GTK_CONFIG_2_0 $gtk_config_args --libs`
9954 gtk_config_major_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
9955 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
9956 gtk_config_minor_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
9957 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
9958 gtk_config_micro_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
9959 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
9960 if test "x$enable_gtktest" = "xyes" ; then
9961 ac_save_CFLAGS
="$CFLAGS"
9962 ac_save_LIBS
="$LIBS"
9963 CFLAGS
="$CFLAGS $GTK_CFLAGS"
9964 LIBS
="$GTK_LIBS $LIBS"
9966 if test "$cross_compiling" = yes; then
9967 echo $ac_n "cross compiling; assumed OK... $ac_c"
9969 cat > conftest.
$ac_ext <<EOF
9970 #line 9971 "configure"
9971 #include "confdefs.h"
9973 #include <gtk/gtk.h>
9980 int major, minor, micro;
9983 system ("touch conf.gtktest");
9985 /* HP/UX 9 (%@#!) writes to sscanf strings */
9986 tmp_version = g_strdup("$min_gtk_version");
9987 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
9988 printf("%s, bad version string\n", "$min_gtk_version");
9992 if ((gtk_major_version != $gtk_config_major_version) ||
9993 (gtk_minor_version != $gtk_config_minor_version) ||
9994 (gtk_micro_version != $gtk_config_micro_version))
9996 printf("\n*** 'gtk-config-2.0 --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
9997 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
9998 gtk_major_version, gtk_minor_version, gtk_micro_version);
9999 printf ("*** was found! If gtk-config-2.0 was correct, then it is best\n");
10000 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
10001 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
10002 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
10003 printf("*** required on your system.\n");
10004 printf("*** If gtk-config-2.0 was wrong, set the environment variable GTK_CONFIG_2_0\n");
10005 printf("*** to point to the correct copy of gtk-config-2.0, and remove the file config.cache\n");
10006 printf("*** before re-running configure\n");
10008 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
10009 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
10010 (gtk_minor_version != GTK_MINOR_VERSION) ||
10011 (gtk_micro_version != GTK_MICRO_VERSION))
10013 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
10014 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
10015 printf("*** library (version %d.%d.%d)\n",
10016 gtk_major_version, gtk_minor_version, gtk_micro_version);
10018 #endif /* defined (GTK_MAJOR_VERSION) ... */
10021 if ((gtk_major_version > major) ||
10022 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
10023 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
10029 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
10030 gtk_major_version, gtk_minor_version, gtk_micro_version);
10031 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
10032 major, minor, micro);
10033 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
10035 printf("*** If you have already installed a sufficiently new version, this error\n");
10036 printf("*** probably means that the wrong copy of the gtk-config-2.0 shell script is\n");
10037 printf("*** being found. The easiest way to fix this is to remove the old version\n");
10038 printf("*** of GTK+, but you can also set the GTK_CONFIG_2_0 environment to point to the\n");
10039 printf("*** correct copy of gtk-config-2.0. (In this case, you will have to\n");
10040 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
10041 printf("*** so that the correct libraries are found at run-time))\n");
10048 if { (eval echo configure
:10049: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10052 echo "configure: failed program was:" >&5
10053 cat conftest.
$ac_ext >&5
10060 CFLAGS
="$ac_save_CFLAGS"
10061 LIBS
="$ac_save_LIBS"
10064 if test "x$no_gtk" = x
; then
10065 echo "$ac_t""yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" 1>&6
10068 echo "$ac_t""no" 1>&6
10069 if test "$GTK_CONFIG_2_0" = "no" ; then
10070 echo "*** The gtk-config-2.0 script installed by GTK could not be found"
10071 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
10072 echo "*** your path, or set the GTK_CONFIG_2_0 environment variable to the"
10073 echo "*** full path to gtk-config-2.0."
10075 if test -f conf.gtktest
; then
10078 echo "*** Could not run GTK test program, checking why..."
10079 CFLAGS
="$CFLAGS $GTK_CFLAGS"
10080 LIBS
="$LIBS $GTK_LIBS"
10081 cat > conftest.
$ac_ext <<EOF
10082 #line 10083 "configure"
10083 #include "confdefs.h"
10085 #include <gtk/gtk.h>
10089 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
10092 if { (eval echo configure
:10093: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10094 echo "*** The test program compiled, but did not run. This usually means"
10095 echo "*** that the run-time linker is not finding GTK or finding the wrong"
10096 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
10097 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
10098 echo "*** to the installed location Also, make sure you have run ldconfig if that"
10099 echo "*** is required on your system"
10101 echo "*** If you have an old version installed, it is best to remove it, although"
10102 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
10104 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
10105 echo "*** came with the system with the command"
10107 echo "*** rpm --erase --nodeps gtk gtk-devel"
10109 echo "configure: failed program was:" >&5
10110 cat conftest.
$ac_ext >&5
10112 echo "*** The test program failed to compile or link. See the file config.log for the"
10113 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
10114 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
10115 echo "*** may want to edit the gtk-config-2.0 script: $GTK_CONFIG_2_0"
10118 CFLAGS
="$ac_save_CFLAGS"
10119 LIBS
="$ac_save_LIBS"
10132 if test -z "$wx_cv_lib_gtk"; then
10133 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
10134 if test "${with_gtk_prefix+set}" = set; then
10135 withval
="$with_gtk_prefix"
10136 gtk_config_prefix
="$withval"
10138 gtk_config_prefix
=""
10141 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
10142 if test "${with_gtk_exec_prefix+set}" = set; then
10143 withval
="$with_gtk_exec_prefix"
10144 gtk_config_exec_prefix
="$withval"
10146 gtk_config_exec_prefix
=""
10149 # Check whether --enable-gtktest or --disable-gtktest was given.
10150 if test "${enable_gtktest+set}" = set; then
10151 enableval
="$enable_gtktest"
10158 for module
in .
$GTK_MODULES
10162 gtk_config_args
="$gtk_config_args gthread"
10167 if test x
$gtk_config_exec_prefix != x
; then
10168 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
10169 if test x
${GTK_CONFIG+set} != xset
; then
10170 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
10173 if test x
$gtk_config_prefix != x
; then
10174 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
10175 if test x
${GTK_CONFIG+set} != xset
; then
10176 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
10180 # Extract the first word of "gtk-config", so it can be a program name with args.
10181 set dummy gtk
-config; ac_word
=$2
10182 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
10183 echo "configure:10184: checking for $ac_word" >&5
10184 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
10185 echo $ac_n "(cached) $ac_c" 1>&6
10187 case "$GTK_CONFIG" in
10189 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
10192 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
10195 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
10197 for ac_dir
in $ac_dummy; do
10198 test -z "$ac_dir" && ac_dir
=.
10199 if test -f $ac_dir/$ac_word; then
10200 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
10205 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
10209 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
10210 if test -n "$GTK_CONFIG"; then
10211 echo "$ac_t""$GTK_CONFIG" 1>&6
10213 echo "$ac_t""no" 1>&6
10216 min_gtk_version
=1.2.7
10217 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
10218 echo "configure:10219: checking for GTK - version >= $min_gtk_version" >&5
10220 if test "$GTK_CONFIG" = "no" ; then
10223 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
10224 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
10225 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
10226 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
10227 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
10228 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
10229 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
10230 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
10231 if test "x$enable_gtktest" = "xyes" ; then
10232 ac_save_CFLAGS
="$CFLAGS"
10233 ac_save_LIBS
="$LIBS"
10234 CFLAGS
="$CFLAGS $GTK_CFLAGS"
10235 LIBS
="$GTK_LIBS $LIBS"
10237 if test "$cross_compiling" = yes; then
10238 echo $ac_n "cross compiling; assumed OK... $ac_c"
10240 cat > conftest.
$ac_ext <<EOF
10241 #line 10242 "configure"
10242 #include "confdefs.h"
10244 #include <gtk/gtk.h>
10246 #include <stdlib.h>
10251 int major, minor, micro;
10254 system ("touch conf.gtktest");
10256 /* HP/UX 9 (%@#!) writes to sscanf strings */
10257 tmp_version = g_strdup("$min_gtk_version");
10258 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
10259 printf("%s, bad version string\n", "$min_gtk_version");
10263 if ((gtk_major_version != $gtk_config_major_version) ||
10264 (gtk_minor_version != $gtk_config_minor_version) ||
10265 (gtk_micro_version != $gtk_config_micro_version))
10267 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
10268 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
10269 gtk_major_version, gtk_minor_version, gtk_micro_version);
10270 printf ("*** was found! If gtk-config was correct, then it is best\n");
10271 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
10272 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
10273 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
10274 printf("*** required on your system.\n");
10275 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
10276 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
10277 printf("*** before re-running configure\n");
10279 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
10280 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
10281 (gtk_minor_version != GTK_MINOR_VERSION) ||
10282 (gtk_micro_version != GTK_MICRO_VERSION))
10284 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
10285 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
10286 printf("*** library (version %d.%d.%d)\n",
10287 gtk_major_version, gtk_minor_version, gtk_micro_version);
10289 #endif /* defined (GTK_MAJOR_VERSION) ... */
10292 if ((gtk_major_version > major) ||
10293 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
10294 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
10300 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
10301 gtk_major_version, gtk_minor_version, gtk_micro_version);
10302 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
10303 major, minor, micro);
10304 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
10306 printf("*** If you have already installed a sufficiently new version, this error\n");
10307 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
10308 printf("*** being found. The easiest way to fix this is to remove the old version\n");
10309 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
10310 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
10311 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
10312 printf("*** so that the correct libraries are found at run-time))\n");
10319 if { (eval echo configure
:10320: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10323 echo "configure: failed program was:" >&5
10324 cat conftest.
$ac_ext >&5
10331 CFLAGS
="$ac_save_CFLAGS"
10332 LIBS
="$ac_save_LIBS"
10335 if test "x$no_gtk" = x
; then
10336 echo "$ac_t""yes" 1>&6
10337 wx_cv_lib_gtk
=1.2.7
10339 echo "$ac_t""no" 1>&6
10340 if test "$GTK_CONFIG" = "no" ; then
10341 echo "*** The gtk-config script installed by GTK could not be found"
10342 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
10343 echo "*** your path, or set the GTK_CONFIG environment variable to the"
10344 echo "*** full path to gtk-config."
10346 if test -f conf.gtktest
; then
10349 echo "*** Could not run GTK test program, checking why..."
10350 CFLAGS
="$CFLAGS $GTK_CFLAGS"
10351 LIBS
="$LIBS $GTK_LIBS"
10352 cat > conftest.
$ac_ext <<EOF
10353 #line 10354 "configure"
10354 #include "confdefs.h"
10356 #include <gtk/gtk.h>
10360 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
10363 if { (eval echo configure
:10364: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10365 echo "*** The test program compiled, but did not run. This usually means"
10366 echo "*** that the run-time linker is not finding GTK or finding the wrong"
10367 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
10368 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
10369 echo "*** to the installed location Also, make sure you have run ldconfig if that"
10370 echo "*** is required on your system"
10372 echo "*** If you have an old version installed, it is best to remove it, although"
10373 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
10375 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
10376 echo "*** came with the system with the command"
10378 echo "*** rpm --erase --nodeps gtk gtk-devel"
10380 echo "configure: failed program was:" >&5
10381 cat conftest.
$ac_ext >&5
10383 echo "*** The test program failed to compile or link. See the file config.log for the"
10384 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
10385 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
10386 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
10389 CFLAGS
="$ac_save_CFLAGS"
10390 LIBS
="$ac_save_LIBS"
10403 if test -z "$wx_cv_lib_gtk"; then
10404 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
10405 if test "${with_gtk_prefix+set}" = set; then
10406 withval
="$with_gtk_prefix"
10407 gtk_config_prefix
="$withval"
10409 gtk_config_prefix
=""
10412 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
10413 if test "${with_gtk_exec_prefix+set}" = set; then
10414 withval
="$with_gtk_exec_prefix"
10415 gtk_config_exec_prefix
="$withval"
10417 gtk_config_exec_prefix
=""
10420 # Check whether --enable-gtktest or --disable-gtktest was given.
10421 if test "${enable_gtktest+set}" = set; then
10422 enableval
="$enable_gtktest"
10429 for module
in .
$GTK_MODULES
10433 gtk_config_args
="$gtk_config_args gthread"
10438 if test x
$gtk_config_exec_prefix != x
; then
10439 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
10440 if test x
${GTK_CONFIG+set} != xset
; then
10441 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
10444 if test x
$gtk_config_prefix != x
; then
10445 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
10446 if test x
${GTK_CONFIG+set} != xset
; then
10447 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
10451 # Extract the first word of "gtk-config", so it can be a program name with args.
10452 set dummy gtk
-config; ac_word
=$2
10453 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
10454 echo "configure:10455: checking for $ac_word" >&5
10455 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
10456 echo $ac_n "(cached) $ac_c" 1>&6
10458 case "$GTK_CONFIG" in
10460 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
10463 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
10466 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
10468 for ac_dir
in $ac_dummy; do
10469 test -z "$ac_dir" && ac_dir
=.
10470 if test -f $ac_dir/$ac_word; then
10471 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
10476 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
10480 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
10481 if test -n "$GTK_CONFIG"; then
10482 echo "$ac_t""$GTK_CONFIG" 1>&6
10484 echo "$ac_t""no" 1>&6
10487 min_gtk_version
=1.2.3
10488 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
10489 echo "configure:10490: checking for GTK - version >= $min_gtk_version" >&5
10491 if test "$GTK_CONFIG" = "no" ; then
10494 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
10495 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
10496 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
10497 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
10498 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
10499 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
10500 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
10501 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
10502 if test "x$enable_gtktest" = "xyes" ; then
10503 ac_save_CFLAGS
="$CFLAGS"
10504 ac_save_LIBS
="$LIBS"
10505 CFLAGS
="$CFLAGS $GTK_CFLAGS"
10506 LIBS
="$GTK_LIBS $LIBS"
10508 if test "$cross_compiling" = yes; then
10509 echo $ac_n "cross compiling; assumed OK... $ac_c"
10511 cat > conftest.
$ac_ext <<EOF
10512 #line 10513 "configure"
10513 #include "confdefs.h"
10515 #include <gtk/gtk.h>
10517 #include <stdlib.h>
10522 int major, minor, micro;
10525 system ("touch conf.gtktest");
10527 /* HP/UX 9 (%@#!) writes to sscanf strings */
10528 tmp_version = g_strdup("$min_gtk_version");
10529 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
10530 printf("%s, bad version string\n", "$min_gtk_version");
10534 if ((gtk_major_version != $gtk_config_major_version) ||
10535 (gtk_minor_version != $gtk_config_minor_version) ||
10536 (gtk_micro_version != $gtk_config_micro_version))
10538 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
10539 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
10540 gtk_major_version, gtk_minor_version, gtk_micro_version);
10541 printf ("*** was found! If gtk-config was correct, then it is best\n");
10542 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
10543 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
10544 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
10545 printf("*** required on your system.\n");
10546 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
10547 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
10548 printf("*** before re-running configure\n");
10550 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
10551 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
10552 (gtk_minor_version != GTK_MINOR_VERSION) ||
10553 (gtk_micro_version != GTK_MICRO_VERSION))
10555 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
10556 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
10557 printf("*** library (version %d.%d.%d)\n",
10558 gtk_major_version, gtk_minor_version, gtk_micro_version);
10560 #endif /* defined (GTK_MAJOR_VERSION) ... */
10563 if ((gtk_major_version > major) ||
10564 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
10565 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
10571 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
10572 gtk_major_version, gtk_minor_version, gtk_micro_version);
10573 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
10574 major, minor, micro);
10575 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
10577 printf("*** If you have already installed a sufficiently new version, this error\n");
10578 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
10579 printf("*** being found. The easiest way to fix this is to remove the old version\n");
10580 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
10581 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
10582 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
10583 printf("*** so that the correct libraries are found at run-time))\n");
10590 if { (eval echo configure
:10591: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10594 echo "configure: failed program was:" >&5
10595 cat conftest.
$ac_ext >&5
10602 CFLAGS
="$ac_save_CFLAGS"
10603 LIBS
="$ac_save_LIBS"
10606 if test "x$no_gtk" = x
; then
10607 echo "$ac_t""yes" 1>&6
10608 wx_cv_lib_gtk
=1.2.3
10610 echo "$ac_t""no" 1>&6
10611 if test "$GTK_CONFIG" = "no" ; then
10612 echo "*** The gtk-config script installed by GTK could not be found"
10613 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
10614 echo "*** your path, or set the GTK_CONFIG environment variable to the"
10615 echo "*** full path to gtk-config."
10617 if test -f conf.gtktest
; then
10620 echo "*** Could not run GTK test program, checking why..."
10621 CFLAGS
="$CFLAGS $GTK_CFLAGS"
10622 LIBS
="$LIBS $GTK_LIBS"
10623 cat > conftest.
$ac_ext <<EOF
10624 #line 10625 "configure"
10625 #include "confdefs.h"
10627 #include <gtk/gtk.h>
10631 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
10634 if { (eval echo configure
:10635: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10636 echo "*** The test program compiled, but did not run. This usually means"
10637 echo "*** that the run-time linker is not finding GTK or finding the wrong"
10638 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
10639 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
10640 echo "*** to the installed location Also, make sure you have run ldconfig if that"
10641 echo "*** is required on your system"
10643 echo "*** If you have an old version installed, it is best to remove it, although"
10644 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
10646 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
10647 echo "*** came with the system with the command"
10649 echo "*** rpm --erase --nodeps gtk gtk-devel"
10651 echo "configure: failed program was:" >&5
10652 cat conftest.
$ac_ext >&5
10654 echo "*** The test program failed to compile or link. See the file config.log for the"
10655 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
10656 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
10657 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
10660 CFLAGS
="$ac_save_CFLAGS"
10661 LIBS
="$ac_save_LIBS"
10674 if test -z "$wx_cv_lib_gtk"; then
10677 wx_cv_cflags_gtk
=$GTK_CFLAGS
10678 wx_cv_libs_gtk
=$GTK_LIBS
10685 if test "$gtk_version_cached" = 1; then
10686 echo "$ac_t""$wx_cv_lib_gtk" 1>&6
10689 case "$wx_cv_lib_gtk" in
10697 *) { echo "configure: error:
10698 Please check that gtk-config is in path, the directory
10699 where GTK+ libraries are installed (returned by
10700 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
10701 equivalent variable and GTK+ is version 1.2.3 or above.
10706 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
10707 GUI_TK_LIBRARY
="$wx_cv_libs_gtk"
10709 AFMINSTALL
=afminstall
10713 echo $ac_n "checking for gdk_im_open in -lgdk""... $ac_c" 1>&6
10714 echo "configure:10715: checking for gdk_im_open in -lgdk" >&5
10715 ac_lib_var
=`echo gdk'_'gdk_im_open | sed 'y%./+-%__p_%'`
10716 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10717 echo $ac_n "(cached) $ac_c" 1>&6
10719 ac_save_LIBS
="$LIBS"
10721 cat > conftest.
$ac_ext <<EOF
10722 #line 10723 "configure"
10723 #include "confdefs.h"
10724 /* Override any gcc2 internal prototype to avoid an error. */
10725 /* We use char because int might match the return type of a gcc2
10726 builtin and then its argument prototype would still apply. */
10727 char gdk_im_open();
10733 if { (eval echo configure
:10734: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10735 eval "ac_cv_lib_$ac_lib_var=yes"
10737 echo "configure: failed program was:" >&5
10738 cat conftest.
$ac_ext >&5
10740 eval "ac_cv_lib_$ac_lib_var=no"
10743 LIBS
="$ac_save_LIBS"
10746 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10747 echo "$ac_t""yes" 1>&6
10748 cat >> confdefs.h
<<\EOF
10753 echo "$ac_t""no" 1>&6
10758 if test "$wxUSE_MGL" = 1; then
10759 echo $ac_n "checking for SciTech MGL library""... $ac_c" 1>&6
10760 echo "configure:10761: checking for SciTech MGL library" >&5
10761 if test "x$MGL_ROOT" = x
; then
10762 echo "$ac_t""not found" 1>&6
10763 { echo "configure: error: Cannot find MGL library. Make sure MGL_ROOT is set." 1>&2; exit 1; }
10765 echo "$ac_t""$MGL_ROOT" 1>&6
10770 mgl_os
=linux
/gcc
/glibc
10776 { echo "configure: error: This system type ${host} is not yet supported by wxMGL." 1>&2; exit 1; }
10781 if test "$wxUSE_DEBUG_FLAG" = yes ; then
10782 if test -f $MGL_ROOT/lib
/debug
/$mgl_os/libmgl.a
-o \
10783 -f $MGL_ROOT/lib
/debug
/$mgl_os/libmgl.so
; then
10787 if test "x$mgl_lib_type" = x
; then
10788 if test -f $MGL_ROOT/lib
/release
/$mgl_os/libmgl.a
-o \
10789 -f $MGL_ROOT/lib
/release
/$mgl_os/libmgl.so
; then
10790 mgl_lib_type
=release
10792 { echo "configure: error: Cannot find MGL libraries, make sure they are compiled." 1>&2; exit 1; }
10796 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
10797 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
10799 AFMINSTALL
=afminstall
10804 if test "$wxUSE_WINE" = 1; then
10805 ac_safe
=`echo "windows.h" | sed 'y%./+-%__p_%'`
10806 echo $ac_n "checking for windows.h""... $ac_c" 1>&6
10807 echo "configure:10808: checking for windows.h" >&5
10808 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10809 echo $ac_n "(cached) $ac_c" 1>&6
10811 cat > conftest.
$ac_ext <<EOF
10812 #line 10813 "configure"
10813 #include "confdefs.h"
10814 #include <windows.h>
10816 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10817 { (eval echo configure
:10818: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10818 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10819 if test -z "$ac_err"; then
10821 eval "ac_cv_header_$ac_safe=yes"
10824 echo "configure: failed program was:" >&5
10825 cat conftest.
$ac_ext >&5
10827 eval "ac_cv_header_$ac_safe=no"
10831 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10832 echo "$ac_t""yes" 1>&6
10835 echo "$ac_t""no" 1>&6
10837 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
10843 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
10844 echo "configure:10845: checking for Xpm library" >&5
10847 for ac_dir
in $SEARCH_LIB;
10849 for ac_extension
in a so sl dylib
; do
10850 if test -f "$ac_dir/libXpm.$ac_extension"; then
10851 ac_find_libraries
=$ac_dir
10857 if test "$ac_find_libraries" != "" ; then
10858 GUI_TK_LIBRARY
="-L$ac_find_libraries"
10860 cat >> confdefs.h
<<\EOF
10861 #define wxHAVE_LIB_XPM 1
10864 echo "$ac_t""found at $ac_find_libraries" 1>&6
10866 echo "$ac_t""no" 1>&6
10867 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
10871 echo $ac_n "checking for Mesa library""... $ac_c" 1>&6
10872 echo "configure:10873: checking for Mesa library" >&5
10875 for ac_dir
in $SEARCH_LIB;
10877 for ac_extension
in a so sl dylib
; do
10878 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
10879 ac_find_libraries
=$ac_dir
10885 if test "$ac_find_libraries" != "" ; then
10886 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -L$ac_find_libraries"
10887 mesa_link
=" -lMesaGL"
10888 echo "$ac_t""found at $ac_find_libraries" 1>&6
10890 { echo "configure: error: no" 1>&2; exit 1; }
10893 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lwine$mesa_link$xpm_link -lXxf86dga -lXxf86vm -lSM -lICE -lXext -lXmu -lX11 -lncurses"
10896 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXWINE__"
10899 if test "$wxUSE_MOTIF" = 1; then
10900 # If we find X, set shell vars x_includes and x_libraries to the
10901 # paths, otherwise set no_x=yes.
10902 # Uses ac_ vars as temps to allow command line to override cache and checks.
10903 # --without-x overrides everything else, but does not touch the cache.
10904 echo $ac_n "checking for X""... $ac_c" 1>&6
10905 echo "configure:10906: checking for X" >&5
10907 # Check whether --with-x or --without-x was given.
10908 if test "${with_x+set}" = set; then
10913 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10914 if test "x$with_x" = xno
; then
10915 # The user explicitly disabled X.
10918 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
10919 # Both variables are already set.
10922 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
10923 echo $ac_n "(cached) $ac_c" 1>&6
10925 # One or both of the vars are not set, and there is no cached value.
10926 ac_x_includes
=NO ac_x_libraries
=NO
10928 if mkdir conftestdir
; then
10930 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
10931 cat > Imakefile
<<'EOF'
10933 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
10935 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
10936 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
10937 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
10938 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10939 for ac_extension
in a so sl
; do
10940 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
10941 test -f $ac_im_libdir/libX11.
$ac_extension; then
10942 ac_im_usrlibdir
=$ac_im_libdir; break
10945 # Screen out bogus values from the imake configuration. They are
10946 # bogus both because they are the default anyway, and because
10947 # using them would break gcc on systems where it needs fixed includes.
10948 case "$ac_im_incroot" in
10950 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;;
10952 case "$ac_im_usrlibdir" in
10953 /usr
/lib
| /lib
) ;;
10954 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;;
10961 if test "$ac_x_includes" = NO
; then
10962 # Guess where to find include files, by looking for this one X11 .h file.
10963 test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
10965 # First, try using that file with no special directory specified.
10966 cat > conftest.
$ac_ext <<EOF
10967 #line 10968 "configure"
10968 #include "confdefs.h"
10969 #include <$x_direct_test_include>
10971 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10972 { (eval echo configure
:10973: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10973 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10974 if test -z "$ac_err"; then
10976 # We can compile using X headers with no special include directory.
10980 echo "configure: failed program was:" >&5
10981 cat conftest.
$ac_ext >&5
10983 # Look for the header file in a standard set of common directories.
10984 # Check X11 before X11Rn because it is often a symlink to the current release.
10987 /usr
/X
11R
6/include \
10988 /usr
/X
11R
5/include \
10989 /usr
/X
11R
4/include \
10992 /usr
/include
/X11R6 \
10993 /usr
/include
/X11R5 \
10994 /usr
/include
/X11R4 \
10996 /usr
/local
/X
11/include \
10997 /usr
/local
/X
11R
6/include \
10998 /usr
/local
/X
11R
5/include \
10999 /usr
/local
/X
11R
4/include \
11001 /usr
/local
/include
/X11 \
11002 /usr
/local
/include
/X11R6 \
11003 /usr
/local
/include
/X11R5 \
11004 /usr
/local
/include
/X11R4 \
11006 /usr
/X
386/include \
11007 /usr
/x
386/include \
11008 /usr
/XFree
86/include
/X11 \
11011 /usr
/local
/include \
11012 /usr
/unsupported
/include \
11013 /usr
/athena
/include \
11014 /usr
/local
/x
11r
5/include \
11015 /usr
/lpp
/Xamples
/include \
11017 /usr
/openwin
/include \
11018 /usr
/openwin
/share
/include \
11021 if test -r "$ac_dir/$x_direct_test_include"; then
11022 ac_x_includes
=$ac_dir
11028 fi # $ac_x_includes = NO
11030 if test "$ac_x_libraries" = NO
; then
11031 # Check for the libraries.
11033 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
11034 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
11036 # See if we find them without any special options.
11037 # Don't add to $LIBS permanently.
11038 ac_save_LIBS
="$LIBS"
11039 LIBS
="-l$x_direct_test_library $LIBS"
11040 cat > conftest.
$ac_ext <<EOF
11041 #line 11042 "configure"
11042 #include "confdefs.h"
11045 ${x_direct_test_function}()
11048 if { (eval echo configure
:11049: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11050 LIBS
="$ac_save_LIBS"
11051 # We can link X programs with no special library path.
11054 echo "configure: failed program was:" >&5
11055 cat conftest.
$ac_ext >&5
11057 LIBS
="$ac_save_LIBS"
11058 # First see if replacing the include by lib works.
11059 # Check X11 before X11Rn because it is often a symlink to the current release.
11060 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib/` \
11071 /usr
/local
/X
11/lib \
11072 /usr
/local
/X
11R
6/lib \
11073 /usr
/local
/X
11R
5/lib \
11074 /usr
/local
/X
11R
4/lib \
11076 /usr
/local
/lib
/X11 \
11077 /usr
/local
/lib
/X11R6 \
11078 /usr
/local
/lib
/X11R5 \
11079 /usr
/local
/lib
/X11R4 \
11083 /usr
/XFree
86/lib
/X11 \
11087 /usr
/unsupported
/lib \
11089 /usr
/local
/x
11r
5/lib \
11090 /usr
/lpp
/Xamples
/lib \
11094 /usr
/openwin
/share
/lib \
11097 for ac_extension
in a so sl
; do
11098 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
11099 ac_x_libraries
=$ac_dir
11106 fi # $ac_x_libraries = NO
11108 if test "$ac_x_includes" = NO
|| test "$ac_x_libraries" = NO
; then
11109 # Didn't find X anywhere. Cache the known absence of X.
11110 ac_cv_have_x
="have_x=no"
11112 # Record where we found X for the cache.
11113 ac_cv_have_x
="have_x=yes \
11114 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
11118 eval "$ac_cv_have_x"
11121 if test "$have_x" != yes; then
11122 echo "$ac_t""$have_x" 1>&6
11125 # If each of the values was on the command line, it overrides each guess.
11126 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
11127 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
11128 # Update the cache value to reflect the command line values.
11129 ac_cv_have_x
="have_x=yes \
11130 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
11131 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
11134 if test "$no_x" = yes; then
11135 # Not all programs may use this symbol, but it does not hurt to define it.
11136 cat >> confdefs.h
<<\EOF
11137 #define X_DISPLAY_MISSING 1
11140 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
11142 if test -n "$x_includes"; then
11143 X_CFLAGS
="$X_CFLAGS -I$x_includes"
11146 # It would also be nice to do this for all -L options, not just this one.
11147 if test -n "$x_libraries"; then
11148 X_LIBS
="$X_LIBS -L$x_libraries"
11149 # For Solaris; some versions of Sun CC require a space after -R and
11150 # others require no space. Words are not sufficient . . . .
11151 case "`(uname -sr) 2>/dev/null`" in
11153 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
11154 echo "configure:11155: checking whether -R must be followed by a space" >&5
11155 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
11156 cat > conftest.
$ac_ext <<EOF
11157 #line 11158 "configure"
11158 #include "confdefs.h"
11164 if { (eval echo configure
:11165: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11168 echo "configure: failed program was:" >&5
11169 cat conftest.
$ac_ext >&5
11174 if test $ac_R_nospace = yes; then
11175 echo "$ac_t""no" 1>&6
11176 X_LIBS
="$X_LIBS -R$x_libraries"
11178 LIBS
="$ac_xsave_LIBS -R $x_libraries"
11179 cat > conftest.
$ac_ext <<EOF
11180 #line 11181 "configure"
11181 #include "confdefs.h"
11187 if { (eval echo configure
:11188: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11191 echo "configure: failed program was:" >&5
11192 cat conftest.
$ac_ext >&5
11197 if test $ac_R_space = yes; then
11198 echo "$ac_t""yes" 1>&6
11199 X_LIBS
="$X_LIBS -R $x_libraries"
11201 echo "$ac_t""neither works" 1>&6
11204 LIBS
="$ac_xsave_LIBS"
11208 # Check for system-dependent libraries X programs must link with.
11209 # Do this before checking for the system-independent R6 libraries
11210 # (-lICE), since we may need -lsocket or whatever for X linking.
11212 if test "$ISC" = yes; then
11213 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
11215 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
11216 # libraries were built with DECnet support. And karl@cs.umb.edu says
11217 # the Alpha needs dnet_stub (dnet does not exist).
11218 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
11219 echo "configure:11220: checking for dnet_ntoa in -ldnet" >&5
11220 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
11221 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11222 echo $ac_n "(cached) $ac_c" 1>&6
11224 ac_save_LIBS
="$LIBS"
11225 LIBS
="-ldnet $LIBS"
11226 cat > conftest.
$ac_ext <<EOF
11227 #line 11228 "configure"
11228 #include "confdefs.h"
11229 /* Override any gcc2 internal prototype to avoid an error. */
11230 /* We use char because int might match the return type of a gcc2
11231 builtin and then its argument prototype would still apply. */
11238 if { (eval echo configure
:11239: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11240 eval "ac_cv_lib_$ac_lib_var=yes"
11242 echo "configure: failed program was:" >&5
11243 cat conftest.
$ac_ext >&5
11245 eval "ac_cv_lib_$ac_lib_var=no"
11248 LIBS
="$ac_save_LIBS"
11251 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11252 echo "$ac_t""yes" 1>&6
11253 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
11255 echo "$ac_t""no" 1>&6
11258 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
11259 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
11260 echo "configure:11261: checking for dnet_ntoa in -ldnet_stub" >&5
11261 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
11262 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11263 echo $ac_n "(cached) $ac_c" 1>&6
11265 ac_save_LIBS
="$LIBS"
11266 LIBS
="-ldnet_stub $LIBS"
11267 cat > conftest.
$ac_ext <<EOF
11268 #line 11269 "configure"
11269 #include "confdefs.h"
11270 /* Override any gcc2 internal prototype to avoid an error. */
11271 /* We use char because int might match the return type of a gcc2
11272 builtin and then its argument prototype would still apply. */
11279 if { (eval echo configure
:11280: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11281 eval "ac_cv_lib_$ac_lib_var=yes"
11283 echo "configure: failed program was:" >&5
11284 cat conftest.
$ac_ext >&5
11286 eval "ac_cv_lib_$ac_lib_var=no"
11289 LIBS
="$ac_save_LIBS"
11292 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11293 echo "$ac_t""yes" 1>&6
11294 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
11296 echo "$ac_t""no" 1>&6
11301 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
11302 # to get the SysV transport functions.
11303 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
11305 # The nsl library prevents programs from opening the X display
11306 # on Irix 5.2, according to dickey@clark.net.
11307 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
11308 echo "configure:11309: checking for gethostbyname" >&5
11309 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
11310 echo $ac_n "(cached) $ac_c" 1>&6
11312 cat > conftest.
$ac_ext <<EOF
11313 #line 11314 "configure"
11314 #include "confdefs.h"
11315 /* System header to define __stub macros and hopefully few prototypes,
11316 which can conflict with char gethostbyname(); below. */
11317 #include <assert.h>
11318 /* Override any gcc2 internal prototype to avoid an error. */
11319 /* We use char because int might match the return type of a gcc2
11320 builtin and then its argument prototype would still apply. */
11321 char gethostbyname();
11325 /* The GNU C library defines this for functions which it implements
11326 to always fail with ENOSYS. Some functions are actually named
11327 something starting with __ and the normal name is an alias. */
11328 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
11336 if { (eval echo configure
:11337: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11338 eval "ac_cv_func_gethostbyname=yes"
11340 echo "configure: failed program was:" >&5
11341 cat conftest.
$ac_ext >&5
11343 eval "ac_cv_func_gethostbyname=no"
11348 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
11349 echo "$ac_t""yes" 1>&6
11352 echo "$ac_t""no" 1>&6
11355 if test $ac_cv_func_gethostbyname = no
; then
11356 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
11357 echo "configure:11358: checking for gethostbyname in -lnsl" >&5
11358 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
11359 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11360 echo $ac_n "(cached) $ac_c" 1>&6
11362 ac_save_LIBS
="$LIBS"
11364 cat > conftest.
$ac_ext <<EOF
11365 #line 11366 "configure"
11366 #include "confdefs.h"
11367 /* Override any gcc2 internal prototype to avoid an error. */
11368 /* We use char because int might match the return type of a gcc2
11369 builtin and then its argument prototype would still apply. */
11370 char gethostbyname();
11376 if { (eval echo configure
:11377: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11378 eval "ac_cv_lib_$ac_lib_var=yes"
11380 echo "configure: failed program was:" >&5
11381 cat conftest.
$ac_ext >&5
11383 eval "ac_cv_lib_$ac_lib_var=no"
11386 LIBS
="$ac_save_LIBS"
11389 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11390 echo "$ac_t""yes" 1>&6
11391 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
11393 echo "$ac_t""no" 1>&6
11398 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11399 # socket/setsockopt and other routines are undefined under SCO ODT
11400 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11401 # on later versions), says simon@lia.di.epfl.ch: it contains
11402 # gethostby* variants that don't use the nameserver (or something).
11403 # -lsocket must be given before -lnsl if both are needed.
11404 # We assume that if connect needs -lnsl, so does gethostbyname.
11405 echo $ac_n "checking for connect""... $ac_c" 1>&6
11406 echo "configure:11407: checking for connect" >&5
11407 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
11408 echo $ac_n "(cached) $ac_c" 1>&6
11410 cat > conftest.
$ac_ext <<EOF
11411 #line 11412 "configure"
11412 #include "confdefs.h"
11413 /* System header to define __stub macros and hopefully few prototypes,
11414 which can conflict with char connect(); below. */
11415 #include <assert.h>
11416 /* Override any gcc2 internal prototype to avoid an error. */
11417 /* We use char because int might match the return type of a gcc2
11418 builtin and then its argument prototype would still apply. */
11423 /* The GNU C library defines this for functions which it implements
11424 to always fail with ENOSYS. Some functions are actually named
11425 something starting with __ and the normal name is an alias. */
11426 #if defined (__stub_connect) || defined (__stub___connect)
11434 if { (eval echo configure
:11435: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11436 eval "ac_cv_func_connect=yes"
11438 echo "configure: failed program was:" >&5
11439 cat conftest.
$ac_ext >&5
11441 eval "ac_cv_func_connect=no"
11446 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
11447 echo "$ac_t""yes" 1>&6
11450 echo "$ac_t""no" 1>&6
11453 if test $ac_cv_func_connect = no
; then
11454 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
11455 echo "configure:11456: checking for connect in -lsocket" >&5
11456 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
11457 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11458 echo $ac_n "(cached) $ac_c" 1>&6
11460 ac_save_LIBS
="$LIBS"
11461 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
11462 cat > conftest.
$ac_ext <<EOF
11463 #line 11464 "configure"
11464 #include "confdefs.h"
11465 /* Override any gcc2 internal prototype to avoid an error. */
11466 /* We use char because int might match the return type of a gcc2
11467 builtin and then its argument prototype would still apply. */
11474 if { (eval echo configure
:11475: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11476 eval "ac_cv_lib_$ac_lib_var=yes"
11478 echo "configure: failed program was:" >&5
11479 cat conftest.
$ac_ext >&5
11481 eval "ac_cv_lib_$ac_lib_var=no"
11484 LIBS
="$ac_save_LIBS"
11487 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11488 echo "$ac_t""yes" 1>&6
11489 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
11491 echo "$ac_t""no" 1>&6
11496 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
11497 echo $ac_n "checking for remove""... $ac_c" 1>&6
11498 echo "configure:11499: checking for remove" >&5
11499 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
11500 echo $ac_n "(cached) $ac_c" 1>&6
11502 cat > conftest.
$ac_ext <<EOF
11503 #line 11504 "configure"
11504 #include "confdefs.h"
11505 /* System header to define __stub macros and hopefully few prototypes,
11506 which can conflict with char remove(); below. */
11507 #include <assert.h>
11508 /* Override any gcc2 internal prototype to avoid an error. */
11509 /* We use char because int might match the return type of a gcc2
11510 builtin and then its argument prototype would still apply. */
11515 /* The GNU C library defines this for functions which it implements
11516 to always fail with ENOSYS. Some functions are actually named
11517 something starting with __ and the normal name is an alias. */
11518 #if defined (__stub_remove) || defined (__stub___remove)
11526 if { (eval echo configure
:11527: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11528 eval "ac_cv_func_remove=yes"
11530 echo "configure: failed program was:" >&5
11531 cat conftest.
$ac_ext >&5
11533 eval "ac_cv_func_remove=no"
11538 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
11539 echo "$ac_t""yes" 1>&6
11542 echo "$ac_t""no" 1>&6
11545 if test $ac_cv_func_remove = no
; then
11546 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
11547 echo "configure:11548: checking for remove in -lposix" >&5
11548 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
11549 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11550 echo $ac_n "(cached) $ac_c" 1>&6
11552 ac_save_LIBS
="$LIBS"
11553 LIBS
="-lposix $LIBS"
11554 cat > conftest.
$ac_ext <<EOF
11555 #line 11556 "configure"
11556 #include "confdefs.h"
11557 /* Override any gcc2 internal prototype to avoid an error. */
11558 /* We use char because int might match the return type of a gcc2
11559 builtin and then its argument prototype would still apply. */
11566 if { (eval echo configure
:11567: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11568 eval "ac_cv_lib_$ac_lib_var=yes"
11570 echo "configure: failed program was:" >&5
11571 cat conftest.
$ac_ext >&5
11573 eval "ac_cv_lib_$ac_lib_var=no"
11576 LIBS
="$ac_save_LIBS"
11579 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11580 echo "$ac_t""yes" 1>&6
11581 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
11583 echo "$ac_t""no" 1>&6
11588 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11589 echo $ac_n "checking for shmat""... $ac_c" 1>&6
11590 echo "configure:11591: checking for shmat" >&5
11591 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
11592 echo $ac_n "(cached) $ac_c" 1>&6
11594 cat > conftest.
$ac_ext <<EOF
11595 #line 11596 "configure"
11596 #include "confdefs.h"
11597 /* System header to define __stub macros and hopefully few prototypes,
11598 which can conflict with char shmat(); below. */
11599 #include <assert.h>
11600 /* Override any gcc2 internal prototype to avoid an error. */
11601 /* We use char because int might match the return type of a gcc2
11602 builtin and then its argument prototype would still apply. */
11607 /* The GNU C library defines this for functions which it implements
11608 to always fail with ENOSYS. Some functions are actually named
11609 something starting with __ and the normal name is an alias. */
11610 #if defined (__stub_shmat) || defined (__stub___shmat)
11618 if { (eval echo configure
:11619: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11620 eval "ac_cv_func_shmat=yes"
11622 echo "configure: failed program was:" >&5
11623 cat conftest.
$ac_ext >&5
11625 eval "ac_cv_func_shmat=no"
11630 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
11631 echo "$ac_t""yes" 1>&6
11634 echo "$ac_t""no" 1>&6
11637 if test $ac_cv_func_shmat = no
; then
11638 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
11639 echo "configure:11640: checking for shmat in -lipc" >&5
11640 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
11641 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11642 echo $ac_n "(cached) $ac_c" 1>&6
11644 ac_save_LIBS
="$LIBS"
11646 cat > conftest.
$ac_ext <<EOF
11647 #line 11648 "configure"
11648 #include "confdefs.h"
11649 /* Override any gcc2 internal prototype to avoid an error. */
11650 /* We use char because int might match the return type of a gcc2
11651 builtin and then its argument prototype would still apply. */
11658 if { (eval echo configure
:11659: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11660 eval "ac_cv_lib_$ac_lib_var=yes"
11662 echo "configure: failed program was:" >&5
11663 cat conftest.
$ac_ext >&5
11665 eval "ac_cv_lib_$ac_lib_var=no"
11668 LIBS
="$ac_save_LIBS"
11671 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11672 echo "$ac_t""yes" 1>&6
11673 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
11675 echo "$ac_t""no" 1>&6
11681 # Check for libraries that X11R6 Xt/Xaw programs need.
11682 ac_save_LDFLAGS
="$LDFLAGS"
11683 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
11684 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11685 # check for ICE first), but we must link in the order -lSM -lICE or
11686 # we get undefined symbols. So assume we have SM if we have ICE.
11687 # These have to be linked with before -lX11, unlike the other
11688 # libraries we check for below, so use a different variable.
11689 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
11690 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
11691 echo "configure:11692: checking for IceConnectionNumber in -lICE" >&5
11692 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
11693 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11694 echo $ac_n "(cached) $ac_c" 1>&6
11696 ac_save_LIBS
="$LIBS"
11697 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
11698 cat > conftest.
$ac_ext <<EOF
11699 #line 11700 "configure"
11700 #include "confdefs.h"
11701 /* Override any gcc2 internal prototype to avoid an error. */
11702 /* We use char because int might match the return type of a gcc2
11703 builtin and then its argument prototype would still apply. */
11704 char IceConnectionNumber();
11707 IceConnectionNumber()
11710 if { (eval echo configure
:11711: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11712 eval "ac_cv_lib_$ac_lib_var=yes"
11714 echo "configure: failed program was:" >&5
11715 cat conftest.
$ac_ext >&5
11717 eval "ac_cv_lib_$ac_lib_var=no"
11720 LIBS
="$ac_save_LIBS"
11723 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11724 echo "$ac_t""yes" 1>&6
11725 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
11727 echo "$ac_t""no" 1>&6
11730 LDFLAGS
="$ac_save_LDFLAGS"
11735 if test "$no_x" = "yes"; then
11736 { echo "configure: error: X11 not found" 1>&2; exit 1; }
11739 GUI_TK_LIBRARY
="$X_LIBS"
11740 TOOLKIT_INCLUDE
="$X_CFLAGS"
11741 AFMINSTALL
=afminstall
11742 COMPILED_X_PROGRAM
=0
11744 echo $ac_n "checking for Motif/Lesstif headers""... $ac_c" 1>&6
11745 echo "configure:11746: checking for Motif/Lesstif headers" >&5
11748 for ac_dir
in $SEARCH_INCLUDE;
11750 if test -f "$ac_dir/Xm/Xm.h"; then
11751 ac_find_includes
=$ac_dir
11756 if test "$ac_find_includes" != "" ; then
11757 echo "$ac_t""found $ac_find_includes" 1>&6
11759 cat > conftest.
$ac_ext <<EOF
11760 #line 11761 "configure"
11761 #include "confdefs.h"
11768 version = xmUseVersion;
11772 if { (eval echo configure
:11773: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11775 echo "$ac_t""found in default search path" 1>&6
11776 COMPILED_X_PROGRAM
=1
11779 echo "configure: failed program was:" >&5
11780 cat conftest.
$ac_ext >&5
11783 echo "$ac_t""no" 1>&6
11784 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
11791 if test "$COMPILED_X_PROGRAM" = 0; then
11792 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
11793 echo "configure:11794: checking for Motif/Lesstif library" >&5
11796 for ac_dir
in $SEARCH_LIB;
11798 for ac_extension
in a so sl dylib
; do
11799 if test -f "$ac_dir/libXm.$ac_extension"; then
11800 ac_find_libraries
=$ac_dir
11806 if test "$ac_find_libraries" != "" ; then
11808 ac_path_to_include
=$ac_find_includes
11809 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
11811 if test $result = 0; then
11812 ac_path_to_include
=""
11814 ac_path_to_include
=" -I$ac_find_includes"
11818 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
11820 if test $result = 0; then
11823 ac_path_to_link
=" -L$ac_find_libraries"
11827 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
11828 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
11829 echo "$ac_t""found at $ac_find_libraries" 1>&6
11831 cat > conftest.
$ac_ext <<EOF
11832 #line 11833 "configure"
11833 #include "confdefs.h"
11840 version = xmUseVersion;
11844 if { (eval echo configure
:11845: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11847 echo "$ac_t""found in default search path" 1>&6
11848 COMPILED_X_PROGRAM
=1
11851 echo "configure: failed program was:" >&5
11852 cat conftest.
$ac_ext >&5
11855 echo "$ac_t""no" 1>&6
11856 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
11865 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
11866 echo "configure:11867: checking for Xpm library" >&5
11869 for ac_dir
in $SEARCH_LIB;
11871 for ac_extension
in a so sl dylib
; do
11872 if test -f "$ac_dir/libXpm.$ac_extension"; then
11873 ac_find_libraries
=$ac_dir
11879 if test "$ac_find_libraries" != "" ; then
11881 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
11883 if test $result = 0; then
11886 ac_path_to_link
=" -L$ac_find_libraries"
11889 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
11891 cat >> confdefs.h
<<\EOF
11892 #define wxHAVE_LIB_XPM 1
11895 echo "$ac_t""found at $ac_find_libraries" 1>&6
11897 cat > conftest.
$ac_ext <<EOF
11898 #line 11899 "configure"
11899 #include "confdefs.h"
11901 #include <X11/xpm.h>
11906 version = XpmLibraryVersion();
11910 if { (eval echo configure
:11911: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11914 cat >> confdefs.h
<<\EOF
11915 #define wxHAVE_LIB_XPM 1
11918 echo "$ac_t""found in default search path" 1>&6
11919 COMPILED_X_PROGRAM
=0
11922 echo "configure: failed program was:" >&5
11923 cat conftest.
$ac_ext >&5
11926 echo "$ac_t""no" 1>&6
11927 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
11934 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm$xpm_link -lXmu -lXext -lXt -lX11"
11935 TOOLKIT_VPATH
="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo"
11940 if test "$wxUSE_MAC" = 1; then
11941 if test "$wxUSE_PRECOMP" = "yes"; then
11942 CPPFLAGS
="$CPPFLAGS -cpp-precomp"
11944 CPPFLAGS
="$CPPFLAGS -I/Developer/Headers/FlatCarbon -I\${top_srcdir}/src/mac/morefile"
11945 CFLAGS
="$CFLAGS -fpascal-strings"
11946 CXXFLAGS
="$CXXFLAGS -fpascal-strings"
11947 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS -DTARGET_CARBON"
11949 TOOLKIT_VPATH
="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefile"
11954 if test "$wxUSE_PM" = 1; then
11959 if test "$TOOLKIT" = "PM" ; then
11962 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
11965 PORT_FILES
="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
11967 if test "$wxUSE_UNIVERSAL" = "yes"; then
11968 ALL_OBJECTS
="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
11969 PORT_FILES
="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
11970 TOOLKIT_VPATH
="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
11971 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
11974 ALL_OBJECTS
="\$(GUIOBJS)"
11977 ALL_OBJECTS
="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
11979 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
11980 ALL_OBJECTS
="${ALL_OBJECTS} \$(UNIXOBJS)"
11983 if test "$wxUSE_HTML" = "yes"; then
11984 ALL_OBJECTS
="${ALL_OBJECTS} \$(HTMLOBJS)"
11987 if test "$TOOLKIT" != "MSW" -a "$wxUSE_ODBC" = "yes" ; then
11988 ALL_OBJECTS
="${ALL_OBJECTS} \$(IODBCOBJS)"
11990 if test "$wxUSE_LIBJPEG" = "builtin" ; then
11991 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
11993 if test "$wxUSE_LIBTIFF" = "builtin" ; then
11994 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
11996 if test "$wxUSE_LIBPNG" = "builtin" ; then
11997 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
11999 if test "$wxUSE_FREETYPE" = "builtin" ; then
12000 ALL_OBJECTS
="${ALL_OBJECTS} \$(FREETYPEOBJS)"
12003 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
12004 DISTDIR
="wx\$(TOOLKIT)"
12010 if test "$USE_WIN32" = 1 ; then
12011 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_MSW_OBJS}"
12012 TOOLKIT_VPATH
="\${top_srcdir}/src/msw"
12016 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
12017 TOOLKIT_VPATH
="\${top_srcdir}/src/unix"
12020 PORT_FILES
="\${top_srcdir}/src/files.lst"
12022 GUIDIST
="BASE_DIST"
12026 if test "$wxUSE_REGEX" = "builtin" ; then
12027 ALL_OBJECTS
="${ALL_OBJECTS} \$(REGEXOBJS)"
12029 if test "$wxUSE_ZLIB" = "builtin" ; then
12030 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
12033 if test "$wxUSE_OPENGL" = "yes"; then
12034 if test "$wxUSE_MAC" = 1; then
12035 OPENGL_LIBS
="-framework OpenGL -framework AGL"
12038 ac_safe
=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
12039 echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
12040 echo "configure:12041: checking for GL/gl.h" >&5
12041 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12042 echo $ac_n "(cached) $ac_c" 1>&6
12044 cat > conftest.
$ac_ext <<EOF
12045 #line 12046 "configure"
12046 #include "confdefs.h"
12049 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12050 { (eval echo configure
:12051: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12051 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12052 if test -z "$ac_err"; then
12054 eval "ac_cv_header_$ac_safe=yes"
12057 echo "configure: failed program was:" >&5
12058 cat conftest.
$ac_ext >&5
12060 eval "ac_cv_header_$ac_safe=no"
12064 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12065 echo "$ac_t""yes" 1>&6
12067 echo $ac_n "checking for -lGL""... $ac_c" 1>&6
12068 echo "configure:12069: checking for -lGL" >&5
12071 for ac_dir
in $SEARCH_LIB;
12073 for ac_extension
in a so sl dylib
; do
12074 if test -f "$ac_dir/libGL.$ac_extension"; then
12075 ac_find_libraries
=$ac_dir
12081 if test "$ac_find_libraries" != "" ; then
12083 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
12085 if test $result = 0; then
12088 ac_path_to_link
=" -L$ac_find_libraries"
12091 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
12092 OPENGL_LIBS
="-lGL -lGLU"
12093 echo "$ac_t""yes" 1>&6
12095 echo "$ac_t""no" 1>&6
12096 echo $ac_n "checking for -lMesaGL""... $ac_c" 1>&6
12097 echo "configure:12098: checking for -lMesaGL" >&5
12100 for ac_dir
in $SEARCH_LIB;
12102 for ac_extension
in a so sl dylib
; do
12103 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
12104 ac_find_libraries
=$ac_dir
12110 if test "$ac_find_libraries" != "" ; then
12112 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
12114 if test $result = 0; then
12117 ac_path_to_link
=" -L$ac_find_libraries"
12120 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
12121 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
12122 echo "$ac_t""yes" 1>&6
12124 echo "$ac_t""no" 1>&6
12129 echo "$ac_t""no" 1>&6
12134 # AC_CHECK_HEADER(GL/gl.h,
12136 # AC_CHECK_LIB(GL, glFlush,
12138 # OPENGL_LIBS="-lGL -lGLU"
12141 # AC_CHECK_LIB(MesaGL, glFlush,
12143 # OPENGL_LIBS="-lMesaGL -lMesaGLU"
12151 if test "x$OPENGL_LIBS" = "x"; then
12152 { echo "configure: error: OpenGL libraries not available" 1>&2; exit 1; }
12156 if test "$wxUSE_OPENGL" = "yes"; then
12157 cat >> confdefs.h
<<\EOF
12158 #define wxUSE_OPENGL 1
12161 cat >> confdefs.h
<<\EOF
12162 #define wxUSE_GLCANVAS 1
12165 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl"
12169 if test -z "$TOOLKIT_VPATH" ; then
12170 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}"
12173 if test -n "$TOOLKIT" ; then
12174 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
12177 lib_unicode_suffix
=
12178 if test "$wxUSE_UNICODE" = "yes"; then
12179 lib_unicode_suffix
=u
12183 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
12187 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
12188 TOOLCHAIN_NAME_GL
="${TOOLKIT_DIR}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
12190 if test "$cross_compiling" = "yes"; then
12191 TOOLCHAIN_NAME
="${TOOLCHAIN_NAME}-${host_alias}"
12192 TOOLCHAIN_NAME_GL
="${TOOLCHAIN_NAME_GL}-${host_alias}"
12195 WX_LIBRARY
="wx_${TOOLCHAIN_NAME}"
12196 WX_LIBRARY_GL
="wx_${TOOLCHAIN_NAME_GL}"
12198 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
12199 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
12201 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
12202 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
12203 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
12204 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
12206 WX_RESOURCES_MACOSX
="lib${WX_LIBRARY}.rsrc"
12207 WX_RESOURCES_MACOSX_COMPILED
="lib${WX_LIBRARY}.r"
12210 *-*-cygwin* | *-*-mingw32* )
12214 if test "$cross_compiling" != "yes"; then
12215 WX_LIBRARY
="wxmsw${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
12216 WX_LIBRARY_GL
="wxmsw_gl${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
12217 WX_LIBRARY_NAME_SHARED
="${WX_LIBRARY}.${SO_SUFFIX}"
12218 WX_LIBRARY_NAME_SHARED_GL
="${WX_LIBRARY_GL}.${SO_SUFFIX}"
12220 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}"
12221 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
12226 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
12227 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY_GL}.a"
12229 WXCONFIG_LIBS
="-l${WX_LIBRARY}"
12230 WXCONFIG_LIBS_STATIC
="lib${WX_LIBRARY}.a"
12232 if test "$wxUSE_OPENGL" = "yes"; then
12233 WXCONFIG_LIBS_GL
="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
12234 WXCONFIG_LIBS_STATIC_GL
="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
12239 if test "$wxUSE_SHARED" = "yes"; then
12241 if test "$wxUSE_OPENGL" = "yes"; then
12242 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
12243 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_LINK1} \$(build_libdir)/${WX_LIBRARY_LINK1_GL}"
12245 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
12246 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_LINK1}"
12249 if test "$GCC" = "yes"; then
12253 SHARED_LD
="${CXX} -shared -o"
12257 if test "$GCC" != "yes"; then
12258 LDFLAGS
="$LDFLAGS -L/usr/lib"
12260 SHARED_LD
="${CXX} -b -o"
12264 if test "$wxUSE_OPENGL" = "yes"; then
12265 WX_ALL_INSTALLED
="preinstall_gl"
12266 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
12268 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
12273 if test "$GCC" != "yes"; then
12274 echo $ac_n "checking for Intel compiler""... $ac_c" 1>&6
12275 echo "configure:12276: checking for Intel compiler" >&5
12276 if eval "test \"`echo '$''{'wx_cv_prog_icc'+set}'`\" = set"; then
12277 echo $ac_n "(cached) $ac_c" 1>&6
12280 cat > conftest.
$ac_ext <<EOF
12281 #line 12282 "configure"
12282 #include "confdefs.h"
12286 #ifndef __INTEL_COMPILER
12292 if { (eval echo configure
:12293: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12296 echo "configure: failed program was:" >&5
12297 cat conftest.
$ac_ext >&5
12306 echo "$ac_t""$wx_cv_prog_icc" 1>&6
12307 if test "$wx_cv_prog_icc" = "yes"; then
12312 if test "$wxUSE_SONAME" = "yes" ; then
12313 SONAME_FLAGS
="-Wl,-soname,${WX_LIBRARY_LINK1}"
12314 SONAME_FLAGS_GL
="-Wl,-soname,${WX_LIBRARY_LINK1_GL}"
12315 WX_TARGET_LIBRARY_SONAME
="-Wl,-soname,\$(TARGETLIB_LINK1)"
12320 if test "$GCC" = yes ; then
12321 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
12323 SHARED_LD
="${CXX} -G -o"
12325 SONAME_FLAGS
="-h ${WX_LIBRARY_NAME_SHARED}"
12326 SONAME_FLAGS_GL
="-h ${WX_LIBRARY_NAME_SHARED}"
12331 CFLAGS
="$CFLAGS -fno-common -DDYLIB_INIT"
12332 CXXFLAGS
="$CXXFLAGS -fno-common -DDYLIB_INIT"
12333 SHARED_LD
="$CXX -dynamiclib -init _wxWindowsDylibInit -o"
12334 PIC_FLAG
="-dynamic -fPIC"
12338 SHARED_LD
="/usr/lpp/xlC/bin/makeC++SharedLib -p 0 -o"
12341 *-*-cygwin* | *-*-mingw32* )
12343 WX_LIBRARY_IMPORTLIB
="${WX_LIBRARY_NAME_SHARED}.a"
12345 SHARED_LD
="${CXX} -shared -Wl,--out-implib,lib/${WX_LIBRARY_IMPORTLIB} -o"
12346 TOOLCHAIN_DLL_DEFS
="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
12348 PIC_FLAG
="-UWXUSINGDLL -DWXMAKINGDLL=1 -D_DLL=1 -D_WINDLL=1"
12350 if test "$wxUSE_OPENGL" = "yes"; then
12351 WX_ALL_INSTALLED
="preinstall_gl"
12352 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
12354 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
12358 *-pc-os2_emx | *-pc-os2-emx )
12363 SHARED_LD
="${LD} -shared -o"
12366 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
12368 *-*-irix5* | *-*-irix6* | \
12375 { echo "configure: error: unknown system type $host." 1>&2; exit 1; }
12378 if test "x$WX_TARGET_LIBRARY" = "x"; then
12379 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
12380 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
12383 WX_TARGET_LIBRARY_TYPE
="so"
12384 INSTALL_LIBRARY
='$(INSTALL_PROGRAM)'
12387 if test "$wxUSE_SHARED" = "no"; then
12389 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
12390 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
12393 if test "$wxUSE_MAC" = 1; then
12394 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
12397 if test "$wxUSE_OPENGL" = "yes"; then
12398 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_gl"
12399 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
12401 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
12404 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
12405 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
12407 WX_TARGET_LIBRARY_TYPE
="a"
12408 INSTALL_LIBRARY
='$(INSTALL_DATA)'
12411 if test "$wxUSE_MAC" = 1; then
12412 WX_ALL
="${WX_ALL} \$(build_libdir)/lib${WX_LIBRARY}.r"
12413 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_res"
12414 # Extract the first word of "Rez", so it can be a program name with args.
12415 set dummy Rez
; ac_word
=$2
12416 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
12417 echo "configure:12418: checking for $ac_word" >&5
12418 if eval "test \"`echo '$''{'ac_cv_prog_RESCOMP'+set}'`\" = set"; then
12419 echo $ac_n "(cached) $ac_c" 1>&6
12421 if test -n "$RESCOMP"; then
12422 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
12424 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
12426 for ac_dir
in $ac_dummy; do
12427 test -z "$ac_dir" && ac_dir
=.
12428 if test -f $ac_dir/$ac_word; then
12429 ac_cv_prog_RESCOMP
="Rez"
12434 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
12437 RESCOMP
="$ac_cv_prog_RESCOMP"
12438 if test -n "$RESCOMP"; then
12439 echo "$ac_t""$RESCOMP" 1>&6
12441 echo "$ac_t""no" 1>&6
12444 # Extract the first word of "DeRez", so it can be a program name with args.
12445 set dummy DeRez
; ac_word
=$2
12446 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
12447 echo "configure:12448: checking for $ac_word" >&5
12448 if eval "test \"`echo '$''{'ac_cv_prog_DEREZ'+set}'`\" = set"; then
12449 echo $ac_n "(cached) $ac_c" 1>&6
12451 if test -n "$DEREZ"; then
12452 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
12454 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
12456 for ac_dir
in $ac_dummy; do
12457 test -z "$ac_dir" && ac_dir
=.
12458 if test -f $ac_dir/$ac_word; then
12459 ac_cv_prog_DEREZ
="DeRez"
12464 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
12467 DEREZ
="$ac_cv_prog_DEREZ"
12468 if test -n "$DEREZ"; then
12469 echo "$ac_t""$DEREZ" 1>&6
12471 echo "$ac_t""no" 1>&6
12474 LIBWXMACRES
="\$(top_builddir)/lib/lib${WX_LIBRARY}.r"
12475 LIBWXMACRESCOMP
="\$(RESCOMP) Carbon.r -t APPL ${LIBWXMACRES} -o \$(BIN_PROGRAM)"
12476 LIBWXMACRESWXCONFIG
="${RESCOMP} Carbon.r -t APPL \${prefix}/lib/${WX_RESOURCES_MACOSX_COMPILED} -o"
12480 if test "$wxUSE_MAC" != 1; then
12481 for ac_hdr
in strings.h
12483 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12484 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12485 echo "configure:12486: checking for $ac_hdr" >&5
12486 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12487 echo $ac_n "(cached) $ac_c" 1>&6
12489 cat > conftest.
$ac_ext <<EOF
12490 #line 12491 "configure"
12491 #include "confdefs.h"
12494 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12495 { (eval echo configure
:12496: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12496 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12497 if test -z "$ac_err"; then
12499 eval "ac_cv_header_$ac_safe=yes"
12502 echo "configure: failed program was:" >&5
12503 cat conftest.
$ac_ext >&5
12505 eval "ac_cv_header_$ac_safe=no"
12509 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12510 echo "$ac_t""yes" 1>&6
12511 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12512 cat >> confdefs.h
<<EOF
12513 #define $ac_tr_hdr 1
12517 echo "$ac_t""no" 1>&6
12523 for ac_hdr
in stdlib.h
12525 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12526 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12527 echo "configure:12528: checking for $ac_hdr" >&5
12528 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12529 echo $ac_n "(cached) $ac_c" 1>&6
12531 cat > conftest.
$ac_ext <<EOF
12532 #line 12533 "configure"
12533 #include "confdefs.h"
12536 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12537 { (eval echo configure
:12538: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12538 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12539 if test -z "$ac_err"; then
12541 eval "ac_cv_header_$ac_safe=yes"
12544 echo "configure: failed program was:" >&5
12545 cat conftest.
$ac_ext >&5
12547 eval "ac_cv_header_$ac_safe=no"
12551 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12552 echo "$ac_t""yes" 1>&6
12553 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12554 cat >> confdefs.h
<<EOF
12555 #define $ac_tr_hdr 1
12559 echo "$ac_t""no" 1>&6
12563 for ac_hdr
in malloc.h
12565 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12566 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12567 echo "configure:12568: checking for $ac_hdr" >&5
12568 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12569 echo $ac_n "(cached) $ac_c" 1>&6
12571 cat > conftest.
$ac_ext <<EOF
12572 #line 12573 "configure"
12573 #include "confdefs.h"
12576 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12577 { (eval echo configure
:12578: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12578 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12579 if test -z "$ac_err"; then
12581 eval "ac_cv_header_$ac_safe=yes"
12584 echo "configure: failed program was:" >&5
12585 cat conftest.
$ac_ext >&5
12587 eval "ac_cv_header_$ac_safe=no"
12591 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12592 echo "$ac_t""yes" 1>&6
12593 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12594 cat >> confdefs.h
<<EOF
12595 #define $ac_tr_hdr 1
12599 echo "$ac_t""no" 1>&6
12603 for ac_hdr
in unistd.h
12605 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12606 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12607 echo "configure:12608: checking for $ac_hdr" >&5
12608 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12609 echo $ac_n "(cached) $ac_c" 1>&6
12611 cat > conftest.
$ac_ext <<EOF
12612 #line 12613 "configure"
12613 #include "confdefs.h"
12616 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12617 { (eval echo configure
:12618: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12618 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12619 if test -z "$ac_err"; then
12621 eval "ac_cv_header_$ac_safe=yes"
12624 echo "configure: failed program was:" >&5
12625 cat conftest.
$ac_ext >&5
12627 eval "ac_cv_header_$ac_safe=no"
12631 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12632 echo "$ac_t""yes" 1>&6
12633 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12634 cat >> confdefs.h
<<EOF
12635 #define $ac_tr_hdr 1
12639 echo "$ac_t""no" 1>&6
12643 for ac_hdr
in wchar.h
12645 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12646 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12647 echo "configure:12648: checking for $ac_hdr" >&5
12648 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12649 echo $ac_n "(cached) $ac_c" 1>&6
12651 cat > conftest.
$ac_ext <<EOF
12652 #line 12653 "configure"
12653 #include "confdefs.h"
12656 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12657 { (eval echo configure
:12658: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12658 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12659 if test -z "$ac_err"; then
12661 eval "ac_cv_header_$ac_safe=yes"
12664 echo "configure: failed program was:" >&5
12665 cat conftest.
$ac_ext >&5
12667 eval "ac_cv_header_$ac_safe=no"
12671 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12672 echo "$ac_t""yes" 1>&6
12673 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12674 cat >> confdefs.h
<<EOF
12675 #define $ac_tr_hdr 1
12679 echo "$ac_t""no" 1>&6
12683 for ac_hdr
in wcstr.h
12685 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12686 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12687 echo "configure:12688: checking for $ac_hdr" >&5
12688 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12689 echo $ac_n "(cached) $ac_c" 1>&6
12691 cat > conftest.
$ac_ext <<EOF
12692 #line 12693 "configure"
12693 #include "confdefs.h"
12696 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12697 { (eval echo configure
:12698: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12698 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12699 if test -z "$ac_err"; then
12701 eval "ac_cv_header_$ac_safe=yes"
12704 echo "configure: failed program was:" >&5
12705 cat conftest.
$ac_ext >&5
12707 eval "ac_cv_header_$ac_safe=no"
12711 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12712 echo "$ac_t""yes" 1>&6
12713 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12714 cat >> confdefs.h
<<EOF
12715 #define $ac_tr_hdr 1
12719 echo "$ac_t""no" 1>&6
12723 for ac_hdr
in wctype.h
12725 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12726 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12727 echo "configure:12728: checking for $ac_hdr" >&5
12728 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12729 echo $ac_n "(cached) $ac_c" 1>&6
12731 cat > conftest.
$ac_ext <<EOF
12732 #line 12733 "configure"
12733 #include "confdefs.h"
12736 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12737 { (eval echo configure
:12738: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12738 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12739 if test -z "$ac_err"; then
12741 eval "ac_cv_header_$ac_safe=yes"
12744 echo "configure: failed program was:" >&5
12745 cat conftest.
$ac_ext >&5
12747 eval "ac_cv_header_$ac_safe=no"
12751 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12752 echo "$ac_t""yes" 1>&6
12753 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12754 cat >> confdefs.h
<<EOF
12755 #define $ac_tr_hdr 1
12759 echo "$ac_t""no" 1>&6
12763 for ac_hdr
in fnmatch.h
12765 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12766 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12767 echo "configure:12768: checking for $ac_hdr" >&5
12768 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12769 echo $ac_n "(cached) $ac_c" 1>&6
12771 cat > conftest.
$ac_ext <<EOF
12772 #line 12773 "configure"
12773 #include "confdefs.h"
12776 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12777 { (eval echo configure
:12778: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12778 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12779 if test -z "$ac_err"; then
12781 eval "ac_cv_header_$ac_safe=yes"
12784 echo "configure: failed program was:" >&5
12785 cat conftest.
$ac_ext >&5
12787 eval "ac_cv_header_$ac_safe=no"
12791 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12792 echo "$ac_t""yes" 1>&6
12793 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12794 cat >> confdefs.h
<<EOF
12795 #define $ac_tr_hdr 1
12799 echo "$ac_t""no" 1>&6
12803 for ac_hdr
in iconv.h
12805 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12806 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12807 echo "configure:12808: checking for $ac_hdr" >&5
12808 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12809 echo $ac_n "(cached) $ac_c" 1>&6
12811 cat > conftest.
$ac_ext <<EOF
12812 #line 12813 "configure"
12813 #include "confdefs.h"
12816 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12817 { (eval echo configure
:12818: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12818 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12819 if test -z "$ac_err"; then
12821 eval "ac_cv_header_$ac_safe=yes"
12824 echo "configure: failed program was:" >&5
12825 cat conftest.
$ac_ext >&5
12827 eval "ac_cv_header_$ac_safe=no"
12831 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12832 echo "$ac_t""yes" 1>&6
12833 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12834 cat >> confdefs.h
<<EOF
12835 #define $ac_tr_hdr 1
12839 echo "$ac_t""no" 1>&6
12843 for ac_hdr
in langinfo.h
12845 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12846 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12847 echo "configure:12848: checking for $ac_hdr" >&5
12848 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12849 echo $ac_n "(cached) $ac_c" 1>&6
12851 cat > conftest.
$ac_ext <<EOF
12852 #line 12853 "configure"
12853 #include "confdefs.h"
12856 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12857 { (eval echo configure
:12858: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12858 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12859 if test -z "$ac_err"; then
12861 eval "ac_cv_header_$ac_safe=yes"
12864 echo "configure: failed program was:" >&5
12865 cat conftest.
$ac_ext >&5
12867 eval "ac_cv_header_$ac_safe=no"
12871 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12872 echo "$ac_t""yes" 1>&6
12873 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12874 cat >> confdefs.h
<<EOF
12875 #define $ac_tr_hdr 1
12879 echo "$ac_t""no" 1>&6
12884 if test "$wxUSE_GUI" = "yes"; then
12885 if test "$wxUSE_UNIX" = "yes"; then
12886 for ac_hdr
in X
11/XKBlib.h
12888 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12889 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12890 echo "configure:12891: checking for $ac_hdr" >&5
12891 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12892 echo $ac_n "(cached) $ac_c" 1>&6
12894 cat > conftest.
$ac_ext <<EOF
12895 #line 12896 "configure"
12896 #include "confdefs.h"
12899 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12900 { (eval echo configure
:12901: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12901 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12902 if test -z "$ac_err"; then
12904 eval "ac_cv_header_$ac_safe=yes"
12907 echo "configure: failed program was:" >&5
12908 cat conftest.
$ac_ext >&5
12910 eval "ac_cv_header_$ac_safe=no"
12914 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12915 echo "$ac_t""yes" 1>&6
12916 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12917 cat >> confdefs.h
<<EOF
12918 #define $ac_tr_hdr 1
12922 echo "$ac_t""no" 1>&6
12930 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
12931 echo "configure:12932: checking for ANSI C header files" >&5
12932 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
12933 echo $ac_n "(cached) $ac_c" 1>&6
12935 cat > conftest.
$ac_ext <<EOF
12936 #line 12937 "configure"
12937 #include "confdefs.h"
12938 #include <stdlib.h>
12939 #include <stdarg.h>
12940 #include <string.h>
12943 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12944 { (eval echo configure
:12945: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12945 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12946 if test -z "$ac_err"; then
12948 ac_cv_header_stdc
=yes
12951 echo "configure: failed program was:" >&5
12952 cat conftest.
$ac_ext >&5
12954 ac_cv_header_stdc
=no
12958 if test $ac_cv_header_stdc = yes; then
12959 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12960 cat > conftest.
$ac_ext <<EOF
12961 #line 12962 "configure"
12962 #include "confdefs.h"
12963 #include <string.h>
12965 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12966 egrep "memchr" >/dev
/null
2>&1; then
12970 ac_cv_header_stdc
=no
12976 if test $ac_cv_header_stdc = yes; then
12977 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12978 cat > conftest.
$ac_ext <<EOF
12979 #line 12980 "configure"
12980 #include "confdefs.h"
12981 #include <stdlib.h>
12983 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12984 egrep "free" >/dev
/null
2>&1; then
12988 ac_cv_header_stdc
=no
12994 if test $ac_cv_header_stdc = yes; then
12995 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12996 if test "$cross_compiling" = yes; then
12999 cat > conftest.
$ac_ext <<EOF
13000 #line 13001 "configure"
13001 #include "confdefs.h"
13003 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
13004 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
13005 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
13006 int main () { int i; for (i = 0; i < 256; i++)
13007 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
13011 if { (eval echo configure
:13012: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
13015 echo "configure: failed program was:" >&5
13016 cat conftest.
$ac_ext >&5
13018 ac_cv_header_stdc
=no
13026 echo "$ac_t""$ac_cv_header_stdc" 1>&6
13027 if test $ac_cv_header_stdc = yes; then
13028 cat >> confdefs.h
<<\EOF
13029 #define STDC_HEADERS 1
13034 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
13035 echo "configure:13036: checking for mode_t" >&5
13036 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
13037 echo $ac_n "(cached) $ac_c" 1>&6
13039 cat > conftest.
$ac_ext <<EOF
13040 #line 13041 "configure"
13041 #include "confdefs.h"
13042 #include <sys/types.h>
13044 #include <stdlib.h>
13045 #include <stddef.h>
13048 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13049 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
13051 ac_cv_type_mode_t
=yes
13054 ac_cv_type_mode_t
=no
13059 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
13060 if test $ac_cv_type_mode_t = no
; then
13061 cat >> confdefs.h
<<\EOF
13067 echo $ac_n "checking for off_t""... $ac_c" 1>&6
13068 echo "configure:13069: checking for off_t" >&5
13069 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
13070 echo $ac_n "(cached) $ac_c" 1>&6
13072 cat > conftest.
$ac_ext <<EOF
13073 #line 13074 "configure"
13074 #include "confdefs.h"
13075 #include <sys/types.h>
13077 #include <stdlib.h>
13078 #include <stddef.h>
13081 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13082 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
13084 ac_cv_type_off_t
=yes
13087 ac_cv_type_off_t
=no
13092 echo "$ac_t""$ac_cv_type_off_t" 1>&6
13093 if test $ac_cv_type_off_t = no
; then
13094 cat >> confdefs.h
<<\EOF
13100 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
13101 echo "configure:13102: checking for pid_t" >&5
13102 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
13103 echo $ac_n "(cached) $ac_c" 1>&6
13105 cat > conftest.
$ac_ext <<EOF
13106 #line 13107 "configure"
13107 #include "confdefs.h"
13108 #include <sys/types.h>
13110 #include <stdlib.h>
13111 #include <stddef.h>
13114 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13115 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
13117 ac_cv_type_pid_t
=yes
13120 ac_cv_type_pid_t
=no
13125 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
13126 if test $ac_cv_type_pid_t = no
; then
13127 cat >> confdefs.h
<<\EOF
13133 echo $ac_n "checking for size_t""... $ac_c" 1>&6
13134 echo "configure:13135: checking for size_t" >&5
13135 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
13136 echo $ac_n "(cached) $ac_c" 1>&6
13138 cat > conftest.
$ac_ext <<EOF
13139 #line 13140 "configure"
13140 #include "confdefs.h"
13141 #include <sys/types.h>
13143 #include <stdlib.h>
13144 #include <stddef.h>
13147 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13148 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
13150 ac_cv_type_size_t
=yes
13153 ac_cv_type_size_t
=no
13158 echo "$ac_t""$ac_cv_type_size_t" 1>&6
13159 if test $ac_cv_type_size_t = no
; then
13160 cat >> confdefs.h
<<\EOF
13161 #define size_t unsigned
13166 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
13167 echo "configure:13168: checking for uid_t in sys/types.h" >&5
13168 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
13169 echo $ac_n "(cached) $ac_c" 1>&6
13171 cat > conftest.
$ac_ext <<EOF
13172 #line 13173 "configure"
13173 #include "confdefs.h"
13174 #include <sys/types.h>
13176 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13177 egrep "uid_t" >/dev
/null
2>&1; then
13179 ac_cv_type_uid_t
=yes
13182 ac_cv_type_uid_t
=no
13188 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
13189 if test $ac_cv_type_uid_t = no
; then
13190 cat >> confdefs.h
<<\EOF
13194 cat >> confdefs.h
<<\EOF
13201 echo $ac_n "checking for wchar_t""... $ac_c" 1>&6
13202 echo "configure:13203: checking for wchar_t" >&5
13203 if eval "test \"`echo '$''{'wx_cv_type_wchar_t'+set}'`\" = set"; then
13204 echo $ac_n "(cached) $ac_c" 1>&6
13207 cat > conftest.
$ac_ext <<EOF
13208 #line 13209 "configure"
13209 #include "confdefs.h"
13211 #ifdef HAVE_WCHAR_H
13213 # include <stddef.h>
13215 # include <wchar.h>
13217 #ifdef HAVE_STDLIB_H
13218 # include <stdlib.h>
13225 ws = L"Hello, world!";
13229 if { (eval echo configure
:13230: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13231 wx_cv_type_wchar_t
=yes
13233 echo "configure: failed program was:" >&5
13234 cat conftest.
$ac_ext >&5
13236 wx_cv_type_wchar_t
=no
13243 echo "$ac_t""$wx_cv_type_wchar_t" 1>&6
13245 if test "$wx_cv_type_wchar_t" = "yes"; then
13246 cat >> confdefs.h
<<\EOF
13247 #define wxUSE_WCHAR_T 1
13254 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13255 ac_cpp
='$CXXCPP $CPPFLAGS'
13256 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13257 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13258 cross_compiling
=$ac_cv_prog_cxx_cross
13260 echo $ac_n "checking if size_t is unsigned int""... $ac_c" 1>&6
13261 echo "configure:13262: checking if size_t is unsigned int" >&5
13262 if eval "test \"`echo '$''{'wx_cv_size_t_is_uint'+set}'`\" = set"; then
13263 echo $ac_n "(cached) $ac_c" 1>&6
13265 cat > conftest.
$ac_ext <<EOF
13266 #line 13267 "configure"
13267 #include "confdefs.h"
13268 #include <stddef.h>
13273 struct Foo { void foo(size_t); void foo(unsigned int); };
13279 if { (eval echo configure
:13280: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13281 wx_cv_size_t_is_uint
=no
13283 echo "configure: failed program was:" >&5
13284 cat conftest.
$ac_ext >&5
13286 wx_cv_size_t_is_uint
=yes
13293 echo "$ac_t""$wx_cv_size_t_is_uint" 1>&6
13295 if test "$wx_cv_size_t_is_uint" = "yes"; then
13296 cat >> confdefs.h
<<\EOF
13297 #define wxSIZE_T_IS_UINT 1
13301 echo $ac_n "checking if size_t is unsigned long""... $ac_c" 1>&6
13302 echo "configure:13303: checking if size_t is unsigned long" >&5
13303 if eval "test \"`echo '$''{'wx_cv_size_t_is_ulong'+set}'`\" = set"; then
13304 echo $ac_n "(cached) $ac_c" 1>&6
13306 cat > conftest.
$ac_ext <<EOF
13307 #line 13308 "configure"
13308 #include "confdefs.h"
13309 #include <stddef.h>
13314 struct Foo { void foo(size_t); void foo(unsigned long); };
13320 if { (eval echo configure
:13321: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13322 wx_cv_size_t_is_ulong
=no
13324 echo "configure: failed program was:" >&5
13325 cat conftest.
$ac_ext >&5
13327 wx_cv_size_t_is_ulong
=yes
13334 echo "$ac_t""$wx_cv_size_t_is_ulong" 1>&6
13336 if test "$wx_cv_size_t_is_ulong" = "yes"; then
13337 cat >> confdefs.h
<<\EOF
13338 #define wxSIZE_T_IS_ULONG 1
13345 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13346 ac_cpp
='$CPP $CPPFLAGS'
13347 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13348 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13349 cross_compiling
=$ac_cv_prog_cc_cross
13353 echo $ac_n "checking for pw_gecos in struct passwd""... $ac_c" 1>&6
13354 echo "configure:13355: checking for pw_gecos in struct passwd" >&5
13355 if eval "test \"`echo '$''{'wx_cv_struct_pw_gecos'+set}'`\" = set"; then
13356 echo $ac_n "(cached) $ac_c" 1>&6
13359 cat > conftest.
$ac_ext <<EOF
13360 #line 13361 "configure"
13361 #include "confdefs.h"
13371 if { (eval echo configure
:13372: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13374 wx_cv_struct_pw_gecos
=yes
13377 echo "configure: failed program was:" >&5
13378 cat conftest.
$ac_ext >&5
13381 wx_cv_struct_pw_gecos
=no
13390 echo "$ac_t""$wx_cv_struct_pw_gecos" 1>&6
13392 if test "$wx_cv_struct_pw_gecos" = "yes"; then
13393 cat >> confdefs.h
<<\EOF
13394 #define HAVE_PW_GECOS 1
13400 echo $ac_n "checking for working const""... $ac_c" 1>&6
13401 echo "configure:13402: checking for working const" >&5
13402 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
13403 echo $ac_n "(cached) $ac_c" 1>&6
13405 cat > conftest.
$ac_ext <<EOF
13406 #line 13407 "configure"
13407 #include "confdefs.h"
13411 /* Ultrix mips cc rejects this. */
13412 typedef int charset[2]; const charset x;
13413 /* SunOS 4.1.1 cc rejects this. */
13414 char const *const *ccp;
13416 /* NEC SVR4.0.2 mips cc rejects this. */
13417 struct point {int x, y;};
13418 static struct point const zero = {0,0};
13419 /* AIX XL C 1.02.0.0 rejects this.
13420 It does not let you subtract one const X* pointer from another in an arm
13421 of an if-expression whose if-part is not a constant expression */
13422 const char *g = "string";
13423 ccp = &g + (g ? g-g : 0);
13424 /* HPUX 7.0 cc rejects these. */
13427 ccp = (char const *const *) p;
13428 { /* SCO 3.2v4 cc rejects this. */
13430 char const *s = 0 ? (char *) 0 : (char const *) 0;
13434 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
13435 int x[] = {25, 17};
13436 const int *foo = &x[0];
13439 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
13440 typedef const int *iptr;
13444 { /* AIX XL C 1.02.0.0 rejects this saying
13445 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
13446 struct s { int j; const int *ap[3]; };
13447 struct s *b; b->j = 5;
13449 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
13450 const int foo = 10;
13455 if { (eval echo configure
:13456: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13459 echo "configure: failed program was:" >&5
13460 cat conftest.
$ac_ext >&5
13467 echo "$ac_t""$ac_cv_c_const" 1>&6
13468 if test $ac_cv_c_const = no
; then
13469 cat >> confdefs.h
<<\EOF
13475 echo $ac_n "checking for inline""... $ac_c" 1>&6
13476 echo "configure:13477: checking for inline" >&5
13477 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
13478 echo $ac_n "(cached) $ac_c" 1>&6
13481 for ac_kw
in inline __inline__ __inline
; do
13482 cat > conftest.
$ac_ext <<EOF
13483 #line 13484 "configure"
13484 #include "confdefs.h"
13490 if { (eval echo configure
:13491: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13492 ac_cv_c_inline
=$ac_kw; break
13494 echo "configure: failed program was:" >&5
13495 cat conftest.
$ac_ext >&5
13502 echo "$ac_t""$ac_cv_c_inline" 1>&6
13503 case "$ac_cv_c_inline" in
13505 no
) cat >> confdefs.h
<<\EOF
13509 *) cat >> confdefs.h
<<EOF
13510 #define inline $ac_cv_c_inline
13516 echo $ac_n "checking size of char""... $ac_c" 1>&6
13517 echo "configure:13518: checking size of char" >&5
13518 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
13519 echo $ac_n "(cached) $ac_c" 1>&6
13521 if test "$cross_compiling" = yes; then
13522 ac_cv_sizeof_char
=1
13524 cat > conftest.
$ac_ext <<EOF
13525 #line 13526 "configure"
13526 #include "confdefs.h"
13528 #include <sys/types.h>
13531 FILE *f=fopen("conftestval", "w");
13533 fprintf(f, "%d\n", sizeof(char));
13537 if { (eval echo configure
:13538: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
13539 ac_cv_sizeof_char
=`cat conftestval`
13541 echo "configure: failed program was:" >&5
13542 cat conftest.
$ac_ext >&5
13544 ac_cv_sizeof_char
=0
13550 echo "$ac_t""$ac_cv_sizeof_char" 1>&6
13551 cat >> confdefs.h
<<EOF
13552 #define SIZEOF_CHAR $ac_cv_sizeof_char
13556 echo $ac_n "checking size of short""... $ac_c" 1>&6
13557 echo "configure:13558: checking size of short" >&5
13558 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
13559 echo $ac_n "(cached) $ac_c" 1>&6
13561 if test "$cross_compiling" = yes; then
13562 ac_cv_sizeof_short
=2
13564 cat > conftest.
$ac_ext <<EOF
13565 #line 13566 "configure"
13566 #include "confdefs.h"
13568 #include <sys/types.h>
13571 FILE *f=fopen("conftestval", "w");
13573 fprintf(f, "%d\n", sizeof(short));
13577 if { (eval echo configure
:13578: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
13579 ac_cv_sizeof_short
=`cat conftestval`
13581 echo "configure: failed program was:" >&5
13582 cat conftest.
$ac_ext >&5
13584 ac_cv_sizeof_short
=0
13590 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
13591 cat >> confdefs.h
<<EOF
13592 #define SIZEOF_SHORT $ac_cv_sizeof_short
13596 echo $ac_n "checking size of int *""... $ac_c" 1>&6
13597 echo "configure:13598: checking size of int *" >&5
13598 if eval "test \"`echo '$''{'ac_cv_sizeof_int_p'+set}'`\" = set"; then
13599 echo $ac_n "(cached) $ac_c" 1>&6
13601 if test "$cross_compiling" = yes; then
13602 ac_cv_sizeof_int_p
=4
13604 cat > conftest.
$ac_ext <<EOF
13605 #line 13606 "configure"
13606 #include "confdefs.h"
13608 #include <sys/types.h>
13611 FILE *f=fopen("conftestval", "w");
13613 fprintf(f, "%d\n", sizeof(int *));
13617 if { (eval echo configure
:13618: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
13619 ac_cv_sizeof_int_p
=`cat conftestval`
13621 echo "configure: failed program was:" >&5
13622 cat conftest.
$ac_ext >&5
13624 ac_cv_sizeof_int_p
=0
13630 echo "$ac_t""$ac_cv_sizeof_int_p" 1>&6
13631 cat >> confdefs.h
<<EOF
13632 #define SIZEOF_INT_P $ac_cv_sizeof_int_p
13636 echo $ac_n "checking size of int""... $ac_c" 1>&6
13637 echo "configure:13638: checking size of int" >&5
13638 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
13639 echo $ac_n "(cached) $ac_c" 1>&6
13641 if test "$cross_compiling" = yes; then
13644 cat > conftest.
$ac_ext <<EOF
13645 #line 13646 "configure"
13646 #include "confdefs.h"
13648 #include <sys/types.h>
13651 FILE *f=fopen("conftestval", "w");
13653 fprintf(f, "%d\n", sizeof(int));
13657 if { (eval echo configure
:13658: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
13659 ac_cv_sizeof_int
=`cat conftestval`
13661 echo "configure: failed program was:" >&5
13662 cat conftest.
$ac_ext >&5
13670 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
13671 cat >> confdefs.h
<<EOF
13672 #define SIZEOF_INT $ac_cv_sizeof_int
13676 echo $ac_n "checking size of long""... $ac_c" 1>&6
13677 echo "configure:13678: checking size of long" >&5
13678 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
13679 echo $ac_n "(cached) $ac_c" 1>&6
13681 if test "$cross_compiling" = yes; then
13682 ac_cv_sizeof_long
=4
13684 cat > conftest.
$ac_ext <<EOF
13685 #line 13686 "configure"
13686 #include "confdefs.h"
13688 #include <sys/types.h>
13691 FILE *f=fopen("conftestval", "w");
13693 fprintf(f, "%d\n", sizeof(long));
13697 if { (eval echo configure
:13698: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
13699 ac_cv_sizeof_long
=`cat conftestval`
13701 echo "configure: failed program was:" >&5
13702 cat conftest.
$ac_ext >&5
13704 ac_cv_sizeof_long
=0
13710 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
13711 cat >> confdefs.h
<<EOF
13712 #define SIZEOF_LONG $ac_cv_sizeof_long
13716 echo $ac_n "checking size of long long""... $ac_c" 1>&6
13717 echo "configure:13718: checking size of long long" >&5
13718 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
13719 echo $ac_n "(cached) $ac_c" 1>&6
13721 if test "$cross_compiling" = yes; then
13722 ac_cv_sizeof_long_long
=0
13724 cat > conftest.
$ac_ext <<EOF
13725 #line 13726 "configure"
13726 #include "confdefs.h"
13728 #include <sys/types.h>
13731 FILE *f=fopen("conftestval", "w");
13733 fprintf(f, "%d\n", sizeof(long long));
13737 if { (eval echo configure
:13738: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
13739 ac_cv_sizeof_long_long
=`cat conftestval`
13741 echo "configure: failed program was:" >&5
13742 cat conftest.
$ac_ext >&5
13744 ac_cv_sizeof_long_long
=0
13750 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
13751 cat >> confdefs.h
<<EOF
13752 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
13757 echo $ac_n "checking size of wchar_t""... $ac_c" 1>&6
13758 echo "configure:13759: checking size of wchar_t" >&5
13759 if eval "test \"`echo '$''{'wx_cv_sizeof_wchar_t'+set}'`\" = set"; then
13760 echo $ac_n "(cached) $ac_c" 1>&6
13763 if test "$cross_compiling" = yes; then
13764 wx_cv_sizeof_wchar_t
=4
13767 cat > conftest.
$ac_ext <<EOF
13768 #line 13769 "configure"
13769 #include "confdefs.h"
13771 #ifdef HAVE_WCHAR_H
13773 # include <stddef.h>
13775 # include <wchar.h>
13777 #ifdef HAVE_STDLIB_H
13778 # include <stdlib.h>
13783 FILE *f=fopen("conftestval", "w");
13785 fprintf(f, "%i", sizeof(wchar_t));
13790 if { (eval echo configure
:13791: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
13792 wx_cv_sizeof_wchar_t
=`cat conftestval`
13794 echo "configure: failed program was:" >&5
13795 cat conftest.
$ac_ext >&5
13797 wx_cv_sizeof_wchar_t
=0
13805 echo "$ac_t""$wx_cv_sizeof_wchar_t" 1>&6
13807 cat >> confdefs.h
<<EOF
13808 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
13812 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
13813 echo "configure:13814: checking whether byte ordering is bigendian" >&5
13814 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
13815 echo $ac_n "(cached) $ac_c" 1>&6
13817 ac_cv_c_bigendian
=unknown
13818 # See if sys/param.h defines the BYTE_ORDER macro.
13819 cat > conftest.
$ac_ext <<EOF
13820 #line 13821 "configure"
13821 #include "confdefs.h"
13822 #include <sys/types.h>
13823 #include <sys/param.h>
13826 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
13827 bogus endian macros
13831 if { (eval echo configure
:13832: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13833 # It does; now see whether it defined to BIG_ENDIAN or not.
13834 cat > conftest.
$ac_ext <<EOF
13835 #line 13836 "configure"
13836 #include "confdefs.h"
13837 #include <sys/types.h>
13838 #include <sys/param.h>
13841 #if BYTE_ORDER != BIG_ENDIAN
13846 if { (eval echo configure
:13847: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13848 ac_cv_c_bigendian
=yes
13850 echo "configure: failed program was:" >&5
13851 cat conftest.
$ac_ext >&5
13853 ac_cv_c_bigendian
=no
13857 echo "configure: failed program was:" >&5
13858 cat conftest.
$ac_ext >&5
13861 if test $ac_cv_c_bigendian = unknown
; then
13862 if test "$cross_compiling" = yes; then
13863 ac_cv_c_bigendian
=unknown
13865 cat > conftest.
$ac_ext <<EOF
13866 #line 13867 "configure"
13867 #include "confdefs.h"
13869 /* Are we little or big endian? From Harbison&Steele. */
13873 char c[sizeof (long)];
13876 exit (u.c[sizeof (long) - 1] == 1);
13879 if { (eval echo configure
:13880: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
13881 ac_cv_c_bigendian
=no
13883 echo "configure: failed program was:" >&5
13884 cat conftest.
$ac_ext >&5
13886 ac_cv_c_bigendian
=yes
13894 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
13895 if test $ac_cv_c_bigendian = unknown
; then
13896 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
13898 if test $ac_cv_c_bigendian = yes; then
13899 cat >> confdefs.h
<<\EOF
13900 #define WORDS_BIGENDIAN 1
13906 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
13907 echo "configure:13908: checking how to run the C++ preprocessor" >&5
13908 if test -z "$CXXCPP"; then
13909 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
13910 echo $ac_n "(cached) $ac_c" 1>&6
13913 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13914 ac_cpp
='$CXXCPP $CPPFLAGS'
13915 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13916 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13917 cross_compiling
=$ac_cv_prog_cxx_cross
13918 CXXCPP
="${CXX-g++} -E"
13919 cat > conftest.
$ac_ext <<EOF
13920 #line 13921 "configure"
13921 #include "confdefs.h"
13922 #include <stdlib.h>
13924 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13925 { (eval echo configure
:13926: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13926 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13927 if test -z "$ac_err"; then
13931 echo "configure: failed program was:" >&5
13932 cat conftest.
$ac_ext >&5
13937 ac_cv_prog_CXXCPP
="$CXXCPP"
13939 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13940 ac_cpp
='$CXXCPP $CPPFLAGS'
13941 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13942 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13943 cross_compiling
=$ac_cv_prog_cxx_cross
13946 CXXCPP
="$ac_cv_prog_CXXCPP"
13947 echo "$ac_t""$CXXCPP" 1>&6
13950 if test "$cross_compiling" = "yes"; then
13951 cat >> confdefs.h
<<\EOF
13952 #define wxUSE_IOSTREAMH 1
13958 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13959 ac_cpp
='$CXXCPP $CPPFLAGS'
13960 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13961 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13962 cross_compiling
=$ac_cv_prog_cxx_cross
13965 for ac_hdr
in iostream
13967 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13968 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13969 echo "configure:13970: checking for $ac_hdr" >&5
13970 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13971 echo $ac_n "(cached) $ac_c" 1>&6
13973 cat > conftest.
$ac_ext <<EOF
13974 #line 13975 "configure"
13975 #include "confdefs.h"
13978 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13979 { (eval echo configure
:13980: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13980 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13981 if test -z "$ac_err"; then
13983 eval "ac_cv_header_$ac_safe=yes"
13986 echo "configure: failed program was:" >&5
13987 cat conftest.
$ac_ext >&5
13989 eval "ac_cv_header_$ac_safe=no"
13993 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13994 echo "$ac_t""yes" 1>&6
13995 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13996 cat >> confdefs.h
<<EOF
13997 #define $ac_tr_hdr 1
14001 echo "$ac_t""no" 1>&6
14006 if test "$ac_cv_header_iostream" = "yes" ; then
14009 cat >> confdefs.h
<<\EOF
14010 #define wxUSE_IOSTREAMH 1
14016 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14017 ac_cpp
='$CPP $CPPFLAGS'
14018 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14019 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14020 cross_compiling
=$ac_cv_prog_cc_cross
14026 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
14027 echo "configure:14028: checking if C++ compiler supports bool" >&5
14028 if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
14029 echo $ac_n "(cached) $ac_c" 1>&6
14034 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14035 ac_cpp
='$CXXCPP $CPPFLAGS'
14036 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14037 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14038 cross_compiling
=$ac_cv_prog_cxx_cross
14041 cat > conftest.
$ac_ext <<EOF
14042 #line 14043 "configure"
14043 #include "confdefs.h"
14054 if { (eval echo configure
:14055: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14060 echo "configure: failed program was:" >&5
14061 cat conftest.
$ac_ext >&5
14071 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14072 ac_cpp
='$CPP $CPPFLAGS'
14073 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14074 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14075 cross_compiling
=$ac_cv_prog_cc_cross
14080 echo "$ac_t""$wx_cv_cpp_bool" 1>&6
14082 if test "$wx_cv_cpp_bool" = "yes"; then
14083 cat >> confdefs.h
<<\EOF
14084 #define HAVE_BOOL 1
14091 echo $ac_n "checking for wcslen in -lc""... $ac_c" 1>&6
14092 echo "configure:14093: checking for wcslen in -lc" >&5
14093 ac_lib_var
=`echo c'_'wcslen | sed 'y%./+-%__p_%'`
14094 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14095 echo $ac_n "(cached) $ac_c" 1>&6
14097 ac_save_LIBS
="$LIBS"
14099 cat > conftest.
$ac_ext <<EOF
14100 #line 14101 "configure"
14101 #include "confdefs.h"
14102 /* Override any gcc2 internal prototype to avoid an error. */
14103 /* We use char because int might match the return type of a gcc2
14104 builtin and then its argument prototype would still apply. */
14111 if { (eval echo configure
:14112: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14113 eval "ac_cv_lib_$ac_lib_var=yes"
14115 echo "configure: failed program was:" >&5
14116 cat conftest.
$ac_ext >&5
14118 eval "ac_cv_lib_$ac_lib_var=no"
14121 LIBS
="$ac_save_LIBS"
14124 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14125 echo "$ac_t""yes" 1>&6
14127 cat >> confdefs.h
<<\EOF
14128 #define HAVE_WCSLEN 1
14134 echo "$ac_t""no" 1>&6
14136 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
14137 echo "configure:14138: checking for wcslen in -lw" >&5
14138 ac_lib_var
=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
14139 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14140 echo $ac_n "(cached) $ac_c" 1>&6
14142 ac_save_LIBS
="$LIBS"
14144 cat > conftest.
$ac_ext <<EOF
14145 #line 14146 "configure"
14146 #include "confdefs.h"
14147 /* Override any gcc2 internal prototype to avoid an error. */
14148 /* We use char because int might match the return type of a gcc2
14149 builtin and then its argument prototype would still apply. */
14156 if { (eval echo configure
:14157: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14158 eval "ac_cv_lib_$ac_lib_var=yes"
14160 echo "configure: failed program was:" >&5
14161 cat conftest.
$ac_ext >&5
14163 eval "ac_cv_lib_$ac_lib_var=no"
14166 LIBS
="$ac_save_LIBS"
14169 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14170 echo "$ac_t""yes" 1>&6
14172 cat >> confdefs.h
<<\EOF
14173 #define HAVE_WCSLEN 1
14179 echo "$ac_t""no" 1>&6
14181 echo $ac_n "checking for wcslen in -lmsvcrt""... $ac_c" 1>&6
14182 echo "configure:14183: checking for wcslen in -lmsvcrt" >&5
14183 ac_lib_var
=`echo msvcrt'_'wcslen | sed 'y%./+-%__p_%'`
14184 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14185 echo $ac_n "(cached) $ac_c" 1>&6
14187 ac_save_LIBS
="$LIBS"
14188 LIBS
="-lmsvcrt $LIBS"
14189 cat > conftest.
$ac_ext <<EOF
14190 #line 14191 "configure"
14191 #include "confdefs.h"
14192 /* Override any gcc2 internal prototype to avoid an error. */
14193 /* We use char because int might match the return type of a gcc2
14194 builtin and then its argument prototype would still apply. */
14201 if { (eval echo configure
:14202: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14203 eval "ac_cv_lib_$ac_lib_var=yes"
14205 echo "configure: failed program was:" >&5
14206 cat conftest.
$ac_ext >&5
14208 eval "ac_cv_lib_$ac_lib_var=no"
14211 LIBS
="$ac_save_LIBS"
14214 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14215 echo "$ac_t""yes" 1>&6
14217 cat >> confdefs.h
<<\EOF
14218 #define HAVE_WCSLEN 1
14224 echo "$ac_t""no" 1>&6
14234 for ac_func
in wcsrtombs
14236 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14237 echo "configure:14238: checking for $ac_func" >&5
14238 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14239 echo $ac_n "(cached) $ac_c" 1>&6
14241 cat > conftest.
$ac_ext <<EOF
14242 #line 14243 "configure"
14243 #include "confdefs.h"
14244 /* System header to define __stub macros and hopefully few prototypes,
14245 which can conflict with char $ac_func(); below. */
14246 #include <assert.h>
14247 /* Override any gcc2 internal prototype to avoid an error. */
14248 /* We use char because int might match the return type of a gcc2
14249 builtin and then its argument prototype would still apply. */
14254 /* The GNU C library defines this for functions which it implements
14255 to always fail with ENOSYS. Some functions are actually named
14256 something starting with __ and the normal name is an alias. */
14257 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14265 if { (eval echo configure
:14266: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14267 eval "ac_cv_func_$ac_func=yes"
14269 echo "configure: failed program was:" >&5
14270 cat conftest.
$ac_ext >&5
14272 eval "ac_cv_func_$ac_func=no"
14277 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14278 echo "$ac_t""yes" 1>&6
14279 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14280 cat >> confdefs.h
<<EOF
14281 #define $ac_tr_func 1
14285 echo "$ac_t""no" 1>&6
14290 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
14291 echo "configure:14292: checking for vprintf" >&5
14292 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
14293 echo $ac_n "(cached) $ac_c" 1>&6
14295 cat > conftest.
$ac_ext <<EOF
14296 #line 14297 "configure"
14297 #include "confdefs.h"
14298 /* System header to define __stub macros and hopefully few prototypes,
14299 which can conflict with char vprintf(); below. */
14300 #include <assert.h>
14301 /* Override any gcc2 internal prototype to avoid an error. */
14302 /* We use char because int might match the return type of a gcc2
14303 builtin and then its argument prototype would still apply. */
14308 /* The GNU C library defines this for functions which it implements
14309 to always fail with ENOSYS. Some functions are actually named
14310 something starting with __ and the normal name is an alias. */
14311 #if defined (__stub_vprintf) || defined (__stub___vprintf)
14319 if { (eval echo configure
:14320: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14321 eval "ac_cv_func_vprintf=yes"
14323 echo "configure: failed program was:" >&5
14324 cat conftest.
$ac_ext >&5
14326 eval "ac_cv_func_vprintf=no"
14331 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
14332 echo "$ac_t""yes" 1>&6
14333 cat >> confdefs.h
<<\EOF
14334 #define HAVE_VPRINTF 1
14338 echo "$ac_t""no" 1>&6
14341 if test "$ac_cv_func_vprintf" != yes; then
14342 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
14343 echo "configure:14344: checking for _doprnt" >&5
14344 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
14345 echo $ac_n "(cached) $ac_c" 1>&6
14347 cat > conftest.
$ac_ext <<EOF
14348 #line 14349 "configure"
14349 #include "confdefs.h"
14350 /* System header to define __stub macros and hopefully few prototypes,
14351 which can conflict with char _doprnt(); below. */
14352 #include <assert.h>
14353 /* Override any gcc2 internal prototype to avoid an error. */
14354 /* We use char because int might match the return type of a gcc2
14355 builtin and then its argument prototype would still apply. */
14360 /* The GNU C library defines this for functions which it implements
14361 to always fail with ENOSYS. Some functions are actually named
14362 something starting with __ and the normal name is an alias. */
14363 #if defined (__stub__doprnt) || defined (__stub____doprnt)
14371 if { (eval echo configure
:14372: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14373 eval "ac_cv_func__doprnt=yes"
14375 echo "configure: failed program was:" >&5
14376 cat conftest.
$ac_ext >&5
14378 eval "ac_cv_func__doprnt=no"
14383 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
14384 echo "$ac_t""yes" 1>&6
14385 cat >> confdefs.h
<<\EOF
14386 #define HAVE_DOPRNT 1
14390 echo "$ac_t""no" 1>&6
14400 echo $ac_n "checking for vsnprintf""... $ac_c" 1>&6
14401 echo "configure:14402: checking for vsnprintf" >&5
14402 if eval "test \"`echo '$''{'wx_cv_func_vsnprintf'+set}'`\" = set"; then
14403 echo $ac_n "(cached) $ac_c" 1>&6
14406 cat > conftest.
$ac_ext <<EOF
14407 #line 14408 "configure"
14408 #include "confdefs.h"
14411 #include <stdarg.h>
14415 int wx_test_vsnprintf(const char *, ...);
14417 wx_test_vsnprintf("%s");
14421 int wx_test_vsnprintf(const char *fmt, ...)
14426 va_start(argp, fmt);
14427 vsnprintf(s, 42, fmt, argp);
14432 if { (eval echo configure
:14433: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14435 wx_cv_func_vsnprintf
=yes
14438 echo "configure: failed program was:" >&5
14439 cat conftest.
$ac_ext >&5
14442 cat > conftest.
$ac_ext <<EOF
14443 #line 14444 "configure"
14444 #include "confdefs.h"
14447 #include <stdarg.h>
14451 int wx_test_vsnprintf(const char *, ...);
14453 wx_test_vsnprintf("%s");
14457 int wx_test_vsnprintf(const char *fmt, ...)
14462 va_start(argp, fmt);
14463 _vsnprintf(s, 42, fmt, argp);
14468 if { (eval echo configure
:14469: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14471 wx_cv_func_vsnprintf
=yes
14474 echo "configure: failed program was:" >&5
14475 cat conftest.
$ac_ext >&5
14478 wx_cv_func_vsnprintf
=no
14488 echo "$ac_t""$wx_cv_func_vsnprintf" 1>&6
14490 if test "$wx_cv_func_vsnprintf" = yes; then
14491 cat >> confdefs.h
<<\EOF
14492 #define HAVE_VSNPRINTF 1
14496 echo "configure: warning: unsafe function vsprintf will be used instead of vsnprintf" 1>&2
14499 echo $ac_n "checking for vsscanf""... $ac_c" 1>&6
14500 echo "configure:14501: checking for vsscanf" >&5
14501 if eval "test \"`echo '$''{'wx_cv_func_vsscanf'+set}'`\" = set"; then
14502 echo $ac_n "(cached) $ac_c" 1>&6
14505 cat > conftest.
$ac_ext <<EOF
14506 #line 14507 "configure"
14507 #include "confdefs.h"
14510 #include <stdarg.h>
14514 int wx_test_vsscanf(const char *, ...);
14516 wx_test_vsscanf("%d");
14520 int wx_test_vsscanf(const char *fmt, ...)
14523 va_start(argp, fmt);
14524 vsscanf("42", fmt, argp);
14529 if { (eval echo configure
:14530: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14532 wx_cv_func_vsscanf
=yes
14535 echo "configure: failed program was:" >&5
14536 cat conftest.
$ac_ext >&5
14539 wx_cv_func_vsscanf
=no
14546 echo "$ac_t""$wx_cv_func_vsscanf" 1>&6
14548 if test "$wx_cv_func_vsscanf" = yes; then
14549 cat >> confdefs.h
<<\EOF
14550 #define HAVE_VSSCANF 1
14555 if test "$TOOLKIT" != "MSW"; then
14560 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14561 ac_cpp
='$CXXCPP $CPPFLAGS'
14562 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14563 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14564 cross_compiling
=$ac_cv_prog_cxx_cross
14566 echo $ac_n "checking if iconv() takes char**""... $ac_c" 1>&6
14567 echo "configure:14568: checking if iconv() takes char**" >&5
14568 if eval "test \"`echo '$''{'wx_cv_iconv_takes_char'+set}'`\" = set"; then
14569 echo $ac_n "(cached) $ac_c" 1>&6
14572 cat > conftest.
$ac_ext <<EOF
14573 #line 14574 "configure"
14574 #include "confdefs.h"
14578 char **inbuf, **outbuf;
14580 size_t insz, outsz;
14581 iconv(cd, inbuf, &insz, outbuf, &outsz);
14585 if { (eval echo configure
:14586: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14587 wx_cv_iconv_takes_char
=yes
14589 echo "configure: failed program was:" >&5
14590 cat conftest.
$ac_ext >&5
14592 wx_cv_iconv_takes_char
=no
14598 echo "$ac_t""$wx_cv_iconv_takes_char" 1>&6
14600 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14601 ac_cpp
='$CPP $CPPFLAGS'
14602 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14603 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14604 cross_compiling
=$ac_cv_prog_cc_cross
14606 if test "$wx_cv_iconv_takes_char" = yes ; then
14607 cat >> confdefs.h
<<\EOF
14608 #define WX_ICONV_TAKES_CHAR 1
14614 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
14615 for ac_func
in sigaction
14617 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14618 echo "configure:14619: checking for $ac_func" >&5
14619 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14620 echo $ac_n "(cached) $ac_c" 1>&6
14622 cat > conftest.
$ac_ext <<EOF
14623 #line 14624 "configure"
14624 #include "confdefs.h"
14625 /* System header to define __stub macros and hopefully few prototypes,
14626 which can conflict with char $ac_func(); below. */
14627 #include <assert.h>
14628 /* Override any gcc2 internal prototype to avoid an error. */
14629 /* We use char because int might match the return type of a gcc2
14630 builtin and then its argument prototype would still apply. */
14635 /* The GNU C library defines this for functions which it implements
14636 to always fail with ENOSYS. Some functions are actually named
14637 something starting with __ and the normal name is an alias. */
14638 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14646 if { (eval echo configure
:14647: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14648 eval "ac_cv_func_$ac_func=yes"
14650 echo "configure: failed program was:" >&5
14651 cat conftest.
$ac_ext >&5
14653 eval "ac_cv_func_$ac_func=no"
14658 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14659 echo "$ac_t""yes" 1>&6
14660 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14661 cat >> confdefs.h
<<EOF
14662 #define $ac_tr_func 1
14666 echo "$ac_t""no" 1>&6
14671 if test "$ac_cv_func_sigaction" = "no"; then
14672 echo "configure: warning: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" 1>&2
14673 wxUSE_ON_FATAL_EXCEPTION
=no
14676 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
14679 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14680 ac_cpp
='$CXXCPP $CPPFLAGS'
14681 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14682 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14683 cross_compiling
=$ac_cv_prog_cxx_cross
14686 echo $ac_n "checking for sa_handler type""... $ac_c" 1>&6
14687 echo "configure:14688: checking for sa_handler type" >&5
14688 if eval "test \"`echo '$''{'wx_cv_type_sa_handler'+set}'`\" = set"; then
14689 echo $ac_n "(cached) $ac_c" 1>&6
14692 cat > conftest.
$ac_ext <<EOF
14693 #line 14694 "configure"
14694 #include "confdefs.h"
14695 #include <signal.h>
14698 extern void testSigHandler(int);
14700 struct sigaction sa;
14701 sa.sa_handler = testSigHandler;
14705 if { (eval echo configure
:14706: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14708 wx_cv_type_sa_handler
=int
14711 echo "configure: failed program was:" >&5
14712 cat conftest.
$ac_ext >&5
14715 wx_cv_type_sa_handler
=void
14722 echo "$ac_t""$wx_cv_type_sa_handler" 1>&6
14725 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14726 ac_cpp
='$CPP $CPPFLAGS'
14727 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14728 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14729 cross_compiling
=$ac_cv_prog_cc_cross
14732 cat >> confdefs.h
<<EOF
14733 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
14739 for ac_func
in vfork
14741 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14742 echo "configure:14743: checking for $ac_func" >&5
14743 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14744 echo $ac_n "(cached) $ac_c" 1>&6
14746 cat > conftest.
$ac_ext <<EOF
14747 #line 14748 "configure"
14748 #include "confdefs.h"
14749 /* System header to define __stub macros and hopefully few prototypes,
14750 which can conflict with char $ac_func(); below. */
14751 #include <assert.h>
14752 /* Override any gcc2 internal prototype to avoid an error. */
14753 /* We use char because int might match the return type of a gcc2
14754 builtin and then its argument prototype would still apply. */
14759 /* The GNU C library defines this for functions which it implements
14760 to always fail with ENOSYS. Some functions are actually named
14761 something starting with __ and the normal name is an alias. */
14762 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14770 if { (eval echo configure
:14771: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14772 eval "ac_cv_func_$ac_func=yes"
14774 echo "configure: failed program was:" >&5
14775 cat conftest.
$ac_ext >&5
14777 eval "ac_cv_func_$ac_func=no"
14782 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14783 echo "$ac_t""yes" 1>&6
14784 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14785 cat >> confdefs.h
<<EOF
14786 #define $ac_tr_func 1
14790 echo "$ac_t""no" 1>&6
14795 for ac_func
in mkstemp mktemp
14797 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14798 echo "configure:14799: checking for $ac_func" >&5
14799 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14800 echo $ac_n "(cached) $ac_c" 1>&6
14802 cat > conftest.
$ac_ext <<EOF
14803 #line 14804 "configure"
14804 #include "confdefs.h"
14805 /* System header to define __stub macros and hopefully few prototypes,
14806 which can conflict with char $ac_func(); below. */
14807 #include <assert.h>
14808 /* Override any gcc2 internal prototype to avoid an error. */
14809 /* We use char because int might match the return type of a gcc2
14810 builtin and then its argument prototype would still apply. */
14815 /* The GNU C library defines this for functions which it implements
14816 to always fail with ENOSYS. Some functions are actually named
14817 something starting with __ and the normal name is an alias. */
14818 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14826 if { (eval echo configure
:14827: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14828 eval "ac_cv_func_$ac_func=yes"
14830 echo "configure: failed program was:" >&5
14831 cat conftest.
$ac_ext >&5
14833 eval "ac_cv_func_$ac_func=no"
14838 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14839 echo "$ac_t""yes" 1>&6
14840 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14841 cat >> confdefs.h
<<EOF
14842 #define $ac_tr_func 1
14846 echo "$ac_t""no" 1>&6
14851 echo $ac_n "checking for statfs""... $ac_c" 1>&6
14852 echo "configure:14853: checking for statfs" >&5
14853 if eval "test \"`echo '$''{'wx_cv_func_statfs'+set}'`\" = set"; then
14854 echo $ac_n "(cached) $ac_c" 1>&6
14856 cat > conftest.
$ac_ext <<EOF
14857 #line 14858 "configure"
14858 #include "confdefs.h"
14860 #if defined(__BSD__)
14861 #include <sys/param.h>
14862 #include <sys/mount.h>
14864 #include <sys/vfs.h>
14878 if { (eval echo configure
:14879: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14881 wx_cv_func_statfs
=yes
14884 echo "configure: failed program was:" >&5
14885 cat conftest.
$ac_ext >&5
14888 wx_cv_func_statfs
=no
14896 echo "$ac_t""$wx_cv_func_statfs" 1>&6
14898 if test "$wx_cv_func_statfs" = "yes"; then
14899 cat >> confdefs.h
<<\EOF
14900 #define HAVE_STATFS 1
14904 echo $ac_n "checking for statvfs""... $ac_c" 1>&6
14905 echo "configure:14906: checking for statvfs" >&5
14906 if eval "test \"`echo '$''{'wx_cv_func_statvfs'+set}'`\" = set"; then
14907 echo $ac_n "(cached) $ac_c" 1>&6
14909 cat > conftest.
$ac_ext <<EOF
14910 #line 14911 "configure"
14911 #include "confdefs.h"
14913 #include <sys/statvfs.h>
14926 if { (eval echo configure
:14927: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14929 wx_cv_func_statvfs
=yes
14932 echo "configure: failed program was:" >&5
14933 cat conftest.
$ac_ext >&5
14936 wx_cv_func_statvfs
=no
14944 echo "$ac_t""$wx_cv_func_statvfs" 1>&6
14946 if test "$wx_cv_func_statvfs" = "yes"; then
14947 cat >> confdefs.h
<<\EOF
14948 #define HAVE_STATVFS 1
14952 echo "configure: warning: wxGetDiskSpace() function won't work without statfs()" 1>&2
14956 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
14957 for ac_func
in fcntl flock
14959 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14960 echo "configure:14961: checking for $ac_func" >&5
14961 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14962 echo $ac_n "(cached) $ac_c" 1>&6
14964 cat > conftest.
$ac_ext <<EOF
14965 #line 14966 "configure"
14966 #include "confdefs.h"
14967 /* System header to define __stub macros and hopefully few prototypes,
14968 which can conflict with char $ac_func(); below. */
14969 #include <assert.h>
14970 /* Override any gcc2 internal prototype to avoid an error. */
14971 /* We use char because int might match the return type of a gcc2
14972 builtin and then its argument prototype would still apply. */
14977 /* The GNU C library defines this for functions which it implements
14978 to always fail with ENOSYS. Some functions are actually named
14979 something starting with __ and the normal name is an alias. */
14980 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14988 if { (eval echo configure
:14989: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14990 eval "ac_cv_func_$ac_func=yes"
14992 echo "configure: failed program was:" >&5
14993 cat conftest.
$ac_ext >&5
14995 eval "ac_cv_func_$ac_func=no"
15000 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15001 echo "$ac_t""yes" 1>&6
15002 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15003 cat >> confdefs.h
<<EOF
15004 #define $ac_tr_func 1
15008 echo "$ac_t""no" 1>&6
15013 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
15014 echo "configure: warning: wxSingleInstanceChecker not available" 1>&2
15015 wxUSE_SNGLINST_CHECKER
=no
15019 for ac_func
in timegm
15021 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15022 echo "configure:15023: checking for $ac_func" >&5
15023 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15024 echo $ac_n "(cached) $ac_c" 1>&6
15026 cat > conftest.
$ac_ext <<EOF
15027 #line 15028 "configure"
15028 #include "confdefs.h"
15029 /* System header to define __stub macros and hopefully few prototypes,
15030 which can conflict with char $ac_func(); below. */
15031 #include <assert.h>
15032 /* Override any gcc2 internal prototype to avoid an error. */
15033 /* We use char because int might match the return type of a gcc2
15034 builtin and then its argument prototype would still apply. */
15039 /* The GNU C library defines this for functions which it implements
15040 to always fail with ENOSYS. Some functions are actually named
15041 something starting with __ and the normal name is an alias. */
15042 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15050 if { (eval echo configure
:15051: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15052 eval "ac_cv_func_$ac_func=yes"
15054 echo "configure: failed program was:" >&5
15055 cat conftest.
$ac_ext >&5
15057 eval "ac_cv_func_$ac_func=no"
15062 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15063 echo "$ac_t""yes" 1>&6
15064 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15065 cat >> confdefs.h
<<EOF
15066 #define $ac_tr_func 1
15070 echo "$ac_t""no" 1>&6
15075 for ac_func
in putenv setenv
15077 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15078 echo "configure:15079: checking for $ac_func" >&5
15079 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15080 echo $ac_n "(cached) $ac_c" 1>&6
15082 cat > conftest.
$ac_ext <<EOF
15083 #line 15084 "configure"
15084 #include "confdefs.h"
15085 /* System header to define __stub macros and hopefully few prototypes,
15086 which can conflict with char $ac_func(); below. */
15087 #include <assert.h>
15088 /* Override any gcc2 internal prototype to avoid an error. */
15089 /* We use char because int might match the return type of a gcc2
15090 builtin and then its argument prototype would still apply. */
15095 /* The GNU C library defines this for functions which it implements
15096 to always fail with ENOSYS. Some functions are actually named
15097 something starting with __ and the normal name is an alias. */
15098 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15106 if { (eval echo configure
:15107: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15108 eval "ac_cv_func_$ac_func=yes"
15110 echo "configure: failed program was:" >&5
15111 cat conftest.
$ac_ext >&5
15113 eval "ac_cv_func_$ac_func=no"
15118 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15119 echo "$ac_t""yes" 1>&6
15120 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15121 cat >> confdefs.h
<<EOF
15122 #define $ac_tr_func 1
15126 echo "$ac_t""no" 1>&6
15131 HAVE_SOME_SLEEP_FUNC
=0
15132 if test "$USE_BEOS" = 1; then
15133 cat >> confdefs.h
<<\EOF
15134 #define HAVE_SLEEP 1
15137 HAVE_SOME_SLEEP_FUNC
=1
15140 if test "$USE_DARWIN" = 1; then
15141 cat >> confdefs.h
<<\EOF
15142 #define HAVE_USLEEP 1
15145 HAVE_SOME_SLEEP_FUNC
=1
15148 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
15150 for ac_func
in nanosleep
15152 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15153 echo "configure:15154: checking for $ac_func" >&5
15154 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15155 echo $ac_n "(cached) $ac_c" 1>&6
15157 cat > conftest.
$ac_ext <<EOF
15158 #line 15159 "configure"
15159 #include "confdefs.h"
15160 /* System header to define __stub macros and hopefully few prototypes,
15161 which can conflict with char $ac_func(); below. */
15162 #include <assert.h>
15163 /* Override any gcc2 internal prototype to avoid an error. */
15164 /* We use char because int might match the return type of a gcc2
15165 builtin and then its argument prototype would still apply. */
15170 /* The GNU C library defines this for functions which it implements
15171 to always fail with ENOSYS. Some functions are actually named
15172 something starting with __ and the normal name is an alias. */
15173 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15181 if { (eval echo configure
:15182: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15183 eval "ac_cv_func_$ac_func=yes"
15185 echo "configure: failed program was:" >&5
15186 cat conftest.
$ac_ext >&5
15188 eval "ac_cv_func_$ac_func=no"
15193 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15194 echo "$ac_t""yes" 1>&6
15195 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15196 cat >> confdefs.h
<<EOF
15197 #define $ac_tr_func 1
15199 cat >> confdefs.h
<<\EOF
15200 #define HAVE_NANOSLEEP 1
15204 echo "$ac_t""no" 1>&6
15205 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
15206 echo "configure:15207: checking for nanosleep in -lposix4" >&5
15207 ac_lib_var
=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
15208 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15209 echo $ac_n "(cached) $ac_c" 1>&6
15211 ac_save_LIBS
="$LIBS"
15212 LIBS
="-lposix4 $LIBS"
15213 cat > conftest.
$ac_ext <<EOF
15214 #line 15215 "configure"
15215 #include "confdefs.h"
15216 /* Override any gcc2 internal prototype to avoid an error. */
15217 /* We use char because int might match the return type of a gcc2
15218 builtin and then its argument prototype would still apply. */
15225 if { (eval echo configure
:15226: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15227 eval "ac_cv_lib_$ac_lib_var=yes"
15229 echo "configure: failed program was:" >&5
15230 cat conftest.
$ac_ext >&5
15232 eval "ac_cv_lib_$ac_lib_var=no"
15235 LIBS
="$ac_save_LIBS"
15238 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15239 echo "$ac_t""yes" 1>&6
15241 cat >> confdefs.h
<<\EOF
15242 #define HAVE_NANOSLEEP 1
15245 POSIX4_LINK
=" -lposix4"
15248 echo "$ac_t""no" 1>&6
15250 for ac_func
in usleep
15252 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15253 echo "configure:15254: checking for $ac_func" >&5
15254 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15255 echo $ac_n "(cached) $ac_c" 1>&6
15257 cat > conftest.
$ac_ext <<EOF
15258 #line 15259 "configure"
15259 #include "confdefs.h"
15260 /* System header to define __stub macros and hopefully few prototypes,
15261 which can conflict with char $ac_func(); below. */
15262 #include <assert.h>
15263 /* Override any gcc2 internal prototype to avoid an error. */
15264 /* We use char because int might match the return type of a gcc2
15265 builtin and then its argument prototype would still apply. */
15270 /* The GNU C library defines this for functions which it implements
15271 to always fail with ENOSYS. Some functions are actually named
15272 something starting with __ and the normal name is an alias. */
15273 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15281 if { (eval echo configure
:15282: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15283 eval "ac_cv_func_$ac_func=yes"
15285 echo "configure: failed program was:" >&5
15286 cat conftest.
$ac_ext >&5
15288 eval "ac_cv_func_$ac_func=no"
15293 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15294 echo "$ac_t""yes" 1>&6
15295 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15296 cat >> confdefs.h
<<EOF
15297 #define $ac_tr_func 1
15299 cat >> confdefs.h
<<\EOF
15300 #define HAVE_USLEEP 1
15304 echo "$ac_t""no" 1>&6
15305 echo "configure: warning: wxSleep() function will not work" 1>&2
15321 for ac_func
in uname gethostname
15323 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15324 echo "configure:15325: checking for $ac_func" >&5
15325 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15326 echo $ac_n "(cached) $ac_c" 1>&6
15328 cat > conftest.
$ac_ext <<EOF
15329 #line 15330 "configure"
15330 #include "confdefs.h"
15331 /* System header to define __stub macros and hopefully few prototypes,
15332 which can conflict with char $ac_func(); below. */
15333 #include <assert.h>
15334 /* Override any gcc2 internal prototype to avoid an error. */
15335 /* We use char because int might match the return type of a gcc2
15336 builtin and then its argument prototype would still apply. */
15341 /* The GNU C library defines this for functions which it implements
15342 to always fail with ENOSYS. Some functions are actually named
15343 something starting with __ and the normal name is an alias. */
15344 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15352 if { (eval echo configure
:15353: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15354 eval "ac_cv_func_$ac_func=yes"
15356 echo "configure: failed program was:" >&5
15357 cat conftest.
$ac_ext >&5
15359 eval "ac_cv_func_$ac_func=no"
15364 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15365 echo "$ac_t""yes" 1>&6
15366 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15367 cat >> confdefs.h
<<EOF
15368 #define $ac_tr_func 1
15372 echo "$ac_t""no" 1>&6
15379 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15380 ac_cpp
='$CXXCPP $CPPFLAGS'
15381 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15382 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15383 cross_compiling
=$ac_cv_prog_cxx_cross
15386 for ac_func
in strtok_r
15388 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15389 echo "configure:15390: checking for $ac_func" >&5
15390 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15391 echo $ac_n "(cached) $ac_c" 1>&6
15393 cat > conftest.
$ac_ext <<EOF
15394 #line 15395 "configure"
15395 #include "confdefs.h"
15396 /* System header to define __stub macros and hopefully few prototypes,
15397 which can conflict with char $ac_func(); below. */
15398 #include <assert.h>
15399 /* Override any gcc2 internal prototype to avoid an error. */
15403 /* We use char because int might match the return type of a gcc2
15404 builtin and then its argument prototype would still apply. */
15409 /* The GNU C library defines this for functions which it implements
15410 to always fail with ENOSYS. Some functions are actually named
15411 something starting with __ and the normal name is an alias. */
15412 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15420 if { (eval echo configure
:15421: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15422 eval "ac_cv_func_$ac_func=yes"
15424 echo "configure: failed program was:" >&5
15425 cat conftest.
$ac_ext >&5
15427 eval "ac_cv_func_$ac_func=no"
15432 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15433 echo "$ac_t""yes" 1>&6
15434 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15435 cat >> confdefs.h
<<EOF
15436 #define $ac_tr_func 1
15440 echo "$ac_t""no" 1>&6
15446 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15447 ac_cpp
='$CPP $CPPFLAGS'
15448 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15449 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15450 cross_compiling
=$ac_cv_prog_cc_cross
15454 for ac_func
in inet_addr
15456 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15457 echo "configure:15458: checking for $ac_func" >&5
15458 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15459 echo $ac_n "(cached) $ac_c" 1>&6
15461 cat > conftest.
$ac_ext <<EOF
15462 #line 15463 "configure"
15463 #include "confdefs.h"
15464 /* System header to define __stub macros and hopefully few prototypes,
15465 which can conflict with char $ac_func(); below. */
15466 #include <assert.h>
15467 /* Override any gcc2 internal prototype to avoid an error. */
15468 /* We use char because int might match the return type of a gcc2
15469 builtin and then its argument prototype would still apply. */
15474 /* The GNU C library defines this for functions which it implements
15475 to always fail with ENOSYS. Some functions are actually named
15476 something starting with __ and the normal name is an alias. */
15477 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15485 if { (eval echo configure
:15486: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15487 eval "ac_cv_func_$ac_func=yes"
15489 echo "configure: failed program was:" >&5
15490 cat conftest.
$ac_ext >&5
15492 eval "ac_cv_func_$ac_func=no"
15497 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15498 echo "$ac_t""yes" 1>&6
15499 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15500 cat >> confdefs.h
<<EOF
15501 #define $ac_tr_func 1
15503 cat >> confdefs.h
<<\EOF
15504 #define HAVE_INET_ADDR 1
15508 echo "$ac_t""no" 1>&6
15509 echo $ac_n "checking for inet_addr in -lnsl""... $ac_c" 1>&6
15510 echo "configure:15511: checking for inet_addr in -lnsl" >&5
15511 ac_lib_var
=`echo nsl'_'inet_addr | sed 'y%./+-%__p_%'`
15512 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15513 echo $ac_n "(cached) $ac_c" 1>&6
15515 ac_save_LIBS
="$LIBS"
15517 cat > conftest.
$ac_ext <<EOF
15518 #line 15519 "configure"
15519 #include "confdefs.h"
15520 /* Override any gcc2 internal prototype to avoid an error. */
15521 /* We use char because int might match the return type of a gcc2
15522 builtin and then its argument prototype would still apply. */
15529 if { (eval echo configure
:15530: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15531 eval "ac_cv_lib_$ac_lib_var=yes"
15533 echo "configure: failed program was:" >&5
15534 cat conftest.
$ac_ext >&5
15536 eval "ac_cv_lib_$ac_lib_var=no"
15539 LIBS
="$ac_save_LIBS"
15542 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15543 echo "$ac_t""yes" 1>&6
15546 echo "$ac_t""no" 1>&6
15547 echo $ac_n "checking for inet_addr in -lresolv""... $ac_c" 1>&6
15548 echo "configure:15549: checking for inet_addr in -lresolv" >&5
15549 ac_lib_var
=`echo resolv'_'inet_addr | sed 'y%./+-%__p_%'`
15550 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15551 echo $ac_n "(cached) $ac_c" 1>&6
15553 ac_save_LIBS
="$LIBS"
15554 LIBS
="-lresolv $LIBS"
15555 cat > conftest.
$ac_ext <<EOF
15556 #line 15557 "configure"
15557 #include "confdefs.h"
15558 /* Override any gcc2 internal prototype to avoid an error. */
15559 /* We use char because int might match the return type of a gcc2
15560 builtin and then its argument prototype would still apply. */
15567 if { (eval echo configure
:15568: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15569 eval "ac_cv_lib_$ac_lib_var=yes"
15571 echo "configure: failed program was:" >&5
15572 cat conftest.
$ac_ext >&5
15574 eval "ac_cv_lib_$ac_lib_var=no"
15577 LIBS
="$ac_save_LIBS"
15580 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15581 echo "$ac_t""yes" 1>&6
15585 echo "$ac_t""no" 1>&6
15597 for ac_func
in inet_aton
15599 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15600 echo "configure:15601: checking for $ac_func" >&5
15601 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15602 echo $ac_n "(cached) $ac_c" 1>&6
15604 cat > conftest.
$ac_ext <<EOF
15605 #line 15606 "configure"
15606 #include "confdefs.h"
15607 /* System header to define __stub macros and hopefully few prototypes,
15608 which can conflict with char $ac_func(); below. */
15609 #include <assert.h>
15610 /* Override any gcc2 internal prototype to avoid an error. */
15611 /* We use char because int might match the return type of a gcc2
15612 builtin and then its argument prototype would still apply. */
15617 /* The GNU C library defines this for functions which it implements
15618 to always fail with ENOSYS. Some functions are actually named
15619 something starting with __ and the normal name is an alias. */
15620 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15628 if { (eval echo configure
:15629: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15630 eval "ac_cv_func_$ac_func=yes"
15632 echo "configure: failed program was:" >&5
15633 cat conftest.
$ac_ext >&5
15635 eval "ac_cv_func_$ac_func=no"
15640 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15641 echo "$ac_t""yes" 1>&6
15642 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15643 cat >> confdefs.h
<<EOF
15644 #define $ac_tr_func 1
15646 cat >> confdefs.h
<<\EOF
15647 #define HAVE_INET_ATON 1
15651 echo "$ac_t""no" 1>&6
15652 echo $ac_n "checking for inet_aton in -l$INET_LINK""... $ac_c" 1>&6
15653 echo "configure:15654: checking for inet_aton in -l$INET_LINK" >&5
15654 ac_lib_var
=`echo $INET_LINK'_'inet_aton | sed 'y%./+-%__p_%'`
15655 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15656 echo $ac_n "(cached) $ac_c" 1>&6
15658 ac_save_LIBS
="$LIBS"
15659 LIBS
="-l$INET_LINK $LIBS"
15660 cat > conftest.
$ac_ext <<EOF
15661 #line 15662 "configure"
15662 #include "confdefs.h"
15663 /* Override any gcc2 internal prototype to avoid an error. */
15664 /* We use char because int might match the return type of a gcc2
15665 builtin and then its argument prototype would still apply. */
15672 if { (eval echo configure
:15673: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15674 eval "ac_cv_lib_$ac_lib_var=yes"
15676 echo "configure: failed program was:" >&5
15677 cat conftest.
$ac_ext >&5
15679 eval "ac_cv_lib_$ac_lib_var=no"
15682 LIBS
="$ac_save_LIBS"
15685 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15686 echo "$ac_t""yes" 1>&6
15687 cat >> confdefs.h
<<\EOF
15688 #define HAVE_INET_ATON 1
15692 echo "$ac_t""no" 1>&6
15700 if test "x$INET_LINK" != "x"; then
15701 cat >> confdefs.h
<<\EOF
15702 #define HAVE_INET_ADDR 1
15705 INET_LINK
=" -l$INET_LINK"
15711 cat > confcache
<<\EOF
15712 # This file is a shell script that caches the results of configure
15713 # tests run on this system so they can be shared between configure
15714 # scripts and configure runs. It is not useful on other systems.
15715 # If it contains results you don't want to keep, you may remove or edit it.
15717 # By default, configure uses ./config.cache as the cache file,
15718 # creating it if it does not exist already. You can give configure
15719 # the --cache-file=FILE option to use a different cache file; that is
15720 # what configure does when it calls configure scripts in
15721 # subdirectories, so they share the cache.
15722 # Giving --cache-file=/dev/null disables caching, for debugging configure.
15723 # config.status only pays attention to the cache file if you give it the
15724 # --recheck option to rerun configure.
15727 # The following way of writing the cache mishandles newlines in values,
15728 # but we know of no workaround that is simple, portable, and efficient.
15729 # So, don't put newlines in cache variables' values.
15730 # Ultrix sh set writes to stderr and can't be redirected directly,
15731 # and sets the high bit in the cache file unless we assign to the vars.
15733 case `(ac_space=' '; set | grep ac_space) 2>&1` in
15735 # `set' does not quote correctly, so add quotes (double-quote substitution
15736 # turns \\\\ into \\, and sed turns \\ into \).
15738 -e "s/'/'\\\\''/g" \
15739 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
15742 # `set' quotes correctly as required by POSIX, so do not add quotes.
15743 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
15746 if cmp -s $cache_file confcache
; then
15749 if test -w $cache_file; then
15750 echo "updating cache $cache_file"
15751 cat confcache
> $cache_file
15753 echo "not updating unwritable cache $cache_file"
15760 if test "$TOOLKIT" != "MSW"; then
15766 CODE_GEN_FLAGS_CXX
=
15768 if test "$wxUSE_THREADS" = "yes" ; then
15769 if test "$wxUSE_WINE" = 1 ; then
15770 echo "configure: warning: Threads are not supported under WINE... disabled" 1>&2
15772 elif test "$USE_BEOS" = 1; then
15773 echo "configure: warning: BeOS threads are not yet supported... disabled" 1>&2
15778 if test "$wxUSE_THREADS" = "yes" ; then
15780 if test "$USE_AIX" = 1; then
15781 THREADS_LIB
=pthreads
15783 THREADS_LIB
=pthread
15786 echo $ac_n "checking for pthread_create in -l$THREADS_LIB""... $ac_c" 1>&6
15787 echo "configure:15788: checking for pthread_create in -l$THREADS_LIB" >&5
15788 ac_lib_var
=`echo $THREADS_LIB'_'pthread_create | sed 'y%./+-%__p_%'`
15789 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15790 echo $ac_n "(cached) $ac_c" 1>&6
15792 ac_save_LIBS
="$LIBS"
15793 LIBS
="-l$THREADS_LIB $LIBS"
15794 cat > conftest.
$ac_ext <<EOF
15795 #line 15796 "configure"
15796 #include "confdefs.h"
15797 /* Override any gcc2 internal prototype to avoid an error. */
15798 /* We use char because int might match the return type of a gcc2
15799 builtin and then its argument prototype would still apply. */
15800 char pthread_create();
15806 if { (eval echo configure
:15807: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15808 eval "ac_cv_lib_$ac_lib_var=yes"
15810 echo "configure: failed program was:" >&5
15811 cat conftest.
$ac_ext >&5
15813 eval "ac_cv_lib_$ac_lib_var=no"
15816 LIBS
="$ac_save_LIBS"
15819 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15820 echo "$ac_t""yes" 1>&6
15822 THREADS_OBJ
="threadpsx.lo"
15823 THREADS_LINK
=$THREADS_LIB
15826 echo "$ac_t""no" 1>&6
15828 echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
15829 echo "configure:15830: checking for pthread_create in -lc_r" >&5
15830 ac_lib_var
=`echo c_r'_'pthread_create | sed 'y%./+-%__p_%'`
15831 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15832 echo $ac_n "(cached) $ac_c" 1>&6
15834 ac_save_LIBS
="$LIBS"
15836 cat > conftest.
$ac_ext <<EOF
15837 #line 15838 "configure"
15838 #include "confdefs.h"
15839 /* Override any gcc2 internal prototype to avoid an error. */
15840 /* We use char because int might match the return type of a gcc2
15841 builtin and then its argument prototype would still apply. */
15842 char pthread_create();
15848 if { (eval echo configure
:15849: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15850 eval "ac_cv_lib_$ac_lib_var=yes"
15852 echo "configure: failed program was:" >&5
15853 cat conftest.
$ac_ext >&5
15855 eval "ac_cv_lib_$ac_lib_var=no"
15858 LIBS
="$ac_save_LIBS"
15861 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15862 echo "$ac_t""yes" 1>&6
15864 THREADS_OBJ
="threadpsx.lo"
15868 echo "$ac_t""no" 1>&6
15870 ac_safe
=`echo "sys/prctl.h" | sed 'y%./+-%__p_%'`
15871 echo $ac_n "checking for sys/prctl.h""... $ac_c" 1>&6
15872 echo "configure:15873: checking for sys/prctl.h" >&5
15873 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15874 echo $ac_n "(cached) $ac_c" 1>&6
15876 cat > conftest.
$ac_ext <<EOF
15877 #line 15878 "configure"
15878 #include "confdefs.h"
15879 #include <sys/prctl.h>
15881 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15882 { (eval echo configure
:15883: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15883 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15884 if test -z "$ac_err"; then
15886 eval "ac_cv_header_$ac_safe=yes"
15889 echo "configure: failed program was:" >&5
15890 cat conftest.
$ac_ext >&5
15892 eval "ac_cv_header_$ac_safe=no"
15896 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15897 echo "$ac_t""yes" 1>&6
15899 THREADS_OBJ
="threadsgi.lo"
15902 echo "$ac_t""no" 1>&6
15912 if test -z "$THREADS_OBJ" ; then
15914 echo "configure: warning: No thread support on this system... disabled" 1>&2
15918 if test "$wxUSE_THREADS" = "yes" ; then
15919 for ac_func
in thr_setconcurrency
15921 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15922 echo "configure:15923: checking for $ac_func" >&5
15923 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15924 echo $ac_n "(cached) $ac_c" 1>&6
15926 cat > conftest.
$ac_ext <<EOF
15927 #line 15928 "configure"
15928 #include "confdefs.h"
15929 /* System header to define __stub macros and hopefully few prototypes,
15930 which can conflict with char $ac_func(); below. */
15931 #include <assert.h>
15932 /* Override any gcc2 internal prototype to avoid an error. */
15933 /* We use char because int might match the return type of a gcc2
15934 builtin and then its argument prototype would still apply. */
15939 /* The GNU C library defines this for functions which it implements
15940 to always fail with ENOSYS. Some functions are actually named
15941 something starting with __ and the normal name is an alias. */
15942 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15950 if { (eval echo configure
:15951: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15952 eval "ac_cv_func_$ac_func=yes"
15954 echo "configure: failed program was:" >&5
15955 cat conftest.
$ac_ext >&5
15957 eval "ac_cv_func_$ac_func=no"
15962 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15963 echo "$ac_t""yes" 1>&6
15964 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15965 cat >> confdefs.h
<<EOF
15966 #define $ac_tr_func 1
15970 echo "$ac_t""no" 1>&6
15976 for ac_hdr
in sched.h
15978 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
15979 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
15980 echo "configure:15981: checking for $ac_hdr" >&5
15981 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15982 echo $ac_n "(cached) $ac_c" 1>&6
15984 cat > conftest.
$ac_ext <<EOF
15985 #line 15986 "configure"
15986 #include "confdefs.h"
15989 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15990 { (eval echo configure
:15991: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15991 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15992 if test -z "$ac_err"; then
15994 eval "ac_cv_header_$ac_safe=yes"
15997 echo "configure: failed program was:" >&5
15998 cat conftest.
$ac_ext >&5
16000 eval "ac_cv_header_$ac_safe=no"
16004 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
16005 echo "$ac_t""yes" 1>&6
16006 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
16007 cat >> confdefs.h
<<EOF
16008 #define $ac_tr_hdr 1
16012 echo "$ac_t""no" 1>&6
16017 echo $ac_n "checking for sched_yield in -l$THREADS_LINK""... $ac_c" 1>&6
16018 echo "configure:16019: checking for sched_yield in -l$THREADS_LINK" >&5
16019 ac_lib_var
=`echo $THREADS_LINK'_'sched_yield | sed 'y%./+-%__p_%'`
16020 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16021 echo $ac_n "(cached) $ac_c" 1>&6
16023 ac_save_LIBS
="$LIBS"
16024 LIBS
="-l$THREADS_LINK $LIBS"
16025 cat > conftest.
$ac_ext <<EOF
16026 #line 16027 "configure"
16027 #include "confdefs.h"
16028 /* Override any gcc2 internal prototype to avoid an error. */
16029 /* We use char because int might match the return type of a gcc2
16030 builtin and then its argument prototype would still apply. */
16031 char sched_yield();
16037 if { (eval echo configure
:16038: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16039 eval "ac_cv_lib_$ac_lib_var=yes"
16041 echo "configure: failed program was:" >&5
16042 cat conftest.
$ac_ext >&5
16044 eval "ac_cv_lib_$ac_lib_var=no"
16047 LIBS
="$ac_save_LIBS"
16050 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16051 echo "$ac_t""yes" 1>&6
16052 cat >> confdefs.h
<<\EOF
16053 #define HAVE_SCHED_YIELD 1
16057 echo "$ac_t""no" 1>&6
16058 echo $ac_n "checking for sched_yield in -lposix4""... $ac_c" 1>&6
16059 echo "configure:16060: checking for sched_yield in -lposix4" >&5
16060 ac_lib_var
=`echo posix4'_'sched_yield | sed 'y%./+-%__p_%'`
16061 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16062 echo $ac_n "(cached) $ac_c" 1>&6
16064 ac_save_LIBS
="$LIBS"
16065 LIBS
="-lposix4 $LIBS"
16066 cat > conftest.
$ac_ext <<EOF
16067 #line 16068 "configure"
16068 #include "confdefs.h"
16069 /* Override any gcc2 internal prototype to avoid an error. */
16070 /* We use char because int might match the return type of a gcc2
16071 builtin and then its argument prototype would still apply. */
16072 char sched_yield();
16078 if { (eval echo configure
:16079: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16080 eval "ac_cv_lib_$ac_lib_var=yes"
16082 echo "configure: failed program was:" >&5
16083 cat conftest.
$ac_ext >&5
16085 eval "ac_cv_lib_$ac_lib_var=no"
16088 LIBS
="$ac_save_LIBS"
16091 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16092 echo "$ac_t""yes" 1>&6
16093 cat >> confdefs.h
<<\EOF
16094 #define HAVE_SCHED_YIELD 1
16096 POSIX4_LINK
=" -lposix4"
16098 echo "$ac_t""no" 1>&6
16099 echo "configure: warning: wxThread::Yield will not work properly" 1>&2
16108 echo $ac_n "checking for pthread_attr_getschedpolicy in -l$THREADS_LINK""... $ac_c" 1>&6
16109 echo "configure:16110: checking for pthread_attr_getschedpolicy in -l$THREADS_LINK" >&5
16110 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
16111 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16112 echo $ac_n "(cached) $ac_c" 1>&6
16114 ac_save_LIBS
="$LIBS"
16115 LIBS
="-l$THREADS_LINK $LIBS"
16116 cat > conftest.
$ac_ext <<EOF
16117 #line 16118 "configure"
16118 #include "confdefs.h"
16119 /* Override any gcc2 internal prototype to avoid an error. */
16120 /* We use char because int might match the return type of a gcc2
16121 builtin and then its argument prototype would still apply. */
16122 char pthread_attr_getschedpolicy();
16125 pthread_attr_getschedpolicy()
16128 if { (eval echo configure
:16129: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16130 eval "ac_cv_lib_$ac_lib_var=yes"
16132 echo "configure: failed program was:" >&5
16133 cat conftest.
$ac_ext >&5
16135 eval "ac_cv_lib_$ac_lib_var=no"
16138 LIBS
="$ac_save_LIBS"
16141 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16142 echo "$ac_t""yes" 1>&6
16143 echo $ac_n "checking for pthread_attr_setschedparam in -l$THREADS_LINK""... $ac_c" 1>&6
16144 echo "configure:16145: checking for pthread_attr_setschedparam in -l$THREADS_LINK" >&5
16145 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_setschedparam | sed 'y%./+-%__p_%'`
16146 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16147 echo $ac_n "(cached) $ac_c" 1>&6
16149 ac_save_LIBS
="$LIBS"
16150 LIBS
="-l$THREADS_LINK $LIBS"
16151 cat > conftest.
$ac_ext <<EOF
16152 #line 16153 "configure"
16153 #include "confdefs.h"
16154 /* Override any gcc2 internal prototype to avoid an error. */
16155 /* We use char because int might match the return type of a gcc2
16156 builtin and then its argument prototype would still apply. */
16157 char pthread_attr_setschedparam();
16160 pthread_attr_setschedparam()
16163 if { (eval echo configure
:16164: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16165 eval "ac_cv_lib_$ac_lib_var=yes"
16167 echo "configure: failed program was:" >&5
16168 cat conftest.
$ac_ext >&5
16170 eval "ac_cv_lib_$ac_lib_var=no"
16173 LIBS
="$ac_save_LIBS"
16176 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16177 echo "$ac_t""yes" 1>&6
16178 echo $ac_n "checking for sched_get_priority_max in -l$THREADS_LINK""... $ac_c" 1>&6
16179 echo "configure:16180: checking for sched_get_priority_max in -l$THREADS_LINK" >&5
16180 ac_lib_var
=`echo $THREADS_LINK'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
16181 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16182 echo $ac_n "(cached) $ac_c" 1>&6
16184 ac_save_LIBS
="$LIBS"
16185 LIBS
="-l$THREADS_LINK $LIBS"
16186 cat > conftest.
$ac_ext <<EOF
16187 #line 16188 "configure"
16188 #include "confdefs.h"
16189 /* Override any gcc2 internal prototype to avoid an error. */
16190 /* We use char because int might match the return type of a gcc2
16191 builtin and then its argument prototype would still apply. */
16192 char sched_get_priority_max();
16195 sched_get_priority_max()
16198 if { (eval echo configure
:16199: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16200 eval "ac_cv_lib_$ac_lib_var=yes"
16202 echo "configure: failed program was:" >&5
16203 cat conftest.
$ac_ext >&5
16205 eval "ac_cv_lib_$ac_lib_var=no"
16208 LIBS
="$ac_save_LIBS"
16211 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16212 echo "$ac_t""yes" 1>&6
16215 echo "$ac_t""no" 1>&6
16216 echo $ac_n "checking for sched_get_priority_max in -lposix4""... $ac_c" 1>&6
16217 echo "configure:16218: checking for sched_get_priority_max in -lposix4" >&5
16218 ac_lib_var
=`echo posix4'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
16219 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16220 echo $ac_n "(cached) $ac_c" 1>&6
16222 ac_save_LIBS
="$LIBS"
16223 LIBS
="-lposix4 $LIBS"
16224 cat > conftest.
$ac_ext <<EOF
16225 #line 16226 "configure"
16226 #include "confdefs.h"
16227 /* Override any gcc2 internal prototype to avoid an error. */
16228 /* We use char because int might match the return type of a gcc2
16229 builtin and then its argument prototype would still apply. */
16230 char sched_get_priority_max();
16233 sched_get_priority_max()
16236 if { (eval echo configure
:16237: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16238 eval "ac_cv_lib_$ac_lib_var=yes"
16240 echo "configure: failed program was:" >&5
16241 cat conftest.
$ac_ext >&5
16243 eval "ac_cv_lib_$ac_lib_var=no"
16246 LIBS
="$ac_save_LIBS"
16249 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16250 echo "$ac_t""yes" 1>&6
16253 POSIX4_LINK
=" -lposix4"
16256 echo "$ac_t""no" 1>&6
16264 echo "$ac_t""no" 1>&6
16269 echo "$ac_t""no" 1>&6
16273 if test "$HAVE_PRIOR_FUNCS" = 1; then
16274 cat >> confdefs.h
<<\EOF
16275 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
16279 echo "configure: warning: Setting thread priority will not work" 1>&2
16282 echo $ac_n "checking for pthread_cancel in -l$THREADS_LINK""... $ac_c" 1>&6
16283 echo "configure:16284: checking for pthread_cancel in -l$THREADS_LINK" >&5
16284 ac_lib_var
=`echo $THREADS_LINK'_'pthread_cancel | sed 'y%./+-%__p_%'`
16285 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16286 echo $ac_n "(cached) $ac_c" 1>&6
16288 ac_save_LIBS
="$LIBS"
16289 LIBS
="-l$THREADS_LINK $LIBS"
16290 cat > conftest.
$ac_ext <<EOF
16291 #line 16292 "configure"
16292 #include "confdefs.h"
16293 /* Override any gcc2 internal prototype to avoid an error. */
16294 /* We use char because int might match the return type of a gcc2
16295 builtin and then its argument prototype would still apply. */
16296 char pthread_cancel();
16302 if { (eval echo configure
:16303: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16304 eval "ac_cv_lib_$ac_lib_var=yes"
16306 echo "configure: failed program was:" >&5
16307 cat conftest.
$ac_ext >&5
16309 eval "ac_cv_lib_$ac_lib_var=no"
16312 LIBS
="$ac_save_LIBS"
16315 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16316 echo "$ac_t""yes" 1>&6
16317 cat >> confdefs.h
<<\EOF
16318 #define HAVE_PTHREAD_CANCEL 1
16322 echo "$ac_t""no" 1>&6
16323 echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
16327 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
16328 echo "configure:16329: checking for pthread_cleanup_push/pop" >&5
16329 if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
16330 echo $ac_n "(cached) $ac_c" 1>&6
16333 cat > conftest.
$ac_ext <<EOF
16334 #line 16335 "configure"
16335 #include "confdefs.h"
16336 #include <pthread.h>
16339 pthread_cleanup_push(NULL, NULL);
16340 pthread_cleanup_pop(0);
16344 if { (eval echo configure
:16345: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16347 wx_cv_func_pthread_cleanup_push
=yes
16350 echo "configure: failed program was:" >&5
16351 cat conftest.
$ac_ext >&5
16354 wx_cv_func_pthread_cleanup_push
=no
16361 echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
16363 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
16364 cat >> confdefs.h
<<\EOF
16365 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
16371 if test "x$wx_lib_glibc21" = "xyes"; then
16372 CPPFLAGS
="$CPPFLAGS -D_GNU_SOURCE"
16375 echo $ac_n "checking for pthread_mutexattr_t""... $ac_c" 1>&6
16376 echo "configure:16377: checking for pthread_mutexattr_t" >&5
16377 if eval "test \"`echo '$''{'wx_cv_type_pthread_mutexattr_t'+set}'`\" = set"; then
16378 echo $ac_n "(cached) $ac_c" 1>&6
16381 cat > conftest.
$ac_ext <<EOF
16382 #line 16383 "configure"
16383 #include "confdefs.h"
16384 #include <pthread.h>
16387 pthread_mutexattr_t attr;
16388 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
16392 if { (eval echo configure
:16393: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16395 wx_cv_type_pthread_mutexattr_t
=yes
16398 echo "configure: failed program was:" >&5
16399 cat conftest.
$ac_ext >&5
16402 wx_cv_type_pthread_mutexattr_t
=no
16410 echo "$ac_t""$wx_cv_type_pthread_mutexattr_t" 1>&6
16412 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
16413 cat >> confdefs.h
<<\EOF
16414 #define HAVE_PTHREAD_MUTEXATTR_T 1
16418 echo $ac_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER""... $ac_c" 1>&6
16419 echo "configure:16420: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
16420 if eval "test \"`echo '$''{'wx_cv_type_pthread_rec_mutex_init'+set}'`\" = set"; then
16421 echo $ac_n "(cached) $ac_c" 1>&6
16424 cat > conftest.
$ac_ext <<EOF
16425 #line 16426 "configure"
16426 #include "confdefs.h"
16427 #include <pthread.h>
16430 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
16434 if { (eval echo configure
:16435: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16437 wx_cv_type_pthread_rec_mutex_init
=yes
16440 echo "configure: failed program was:" >&5
16441 cat conftest.
$ac_ext >&5
16444 wx_cv_type_pthread_rec_mutex_init
=no
16452 echo "$ac_t""$wx_cv_type_pthread_rec_mutex_init" 1>&6
16453 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
16454 cat >> confdefs.h
<<\EOF
16455 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
16459 echo "configure: warning: wxMutex won't be recursive on this platform" 1>&2
16463 THREADS_LINK
=" -l$THREADS_LINK"
16465 if test "$USE_SOLARIS" = "yes" -a "$GCC" != "yes"; then
16466 CPPFLAGS
="$CFLAGS -mt"
16467 CXXFLAGS
="$CXXFLAGS -mt"
16468 LDFLAGS
="$LDFLAGS -mt"
16474 if test "$wxUSE_THREADS" = "yes"; then
16475 cat >> confdefs.h
<<\EOF
16476 #define wxUSE_THREADS 1
16480 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS $CPP_MT_FLAG"
16482 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
16484 if test "$ac_cv_func_strtok_r" = "yes"; then
16485 echo $ac_n "checking if -D_REENTRANT is needed""... $ac_c" 1>&6
16486 echo "configure:16487: checking if -D_REENTRANT is needed" >&5
16487 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
16488 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
16489 echo "$ac_t""yes" 1>&6
16491 echo "$ac_t""no" 1>&6
16496 if test "$WXGTK20" = 1 ; then
16497 cat >> confdefs.h
<<EOF
16498 #define __WXGTK20__ $WXGTK20
16504 if test "$WXGTK12" = 1 ; then
16505 cat >> confdefs.h
<<EOF
16506 #define __WXGTK12__ $WXGTK12
16511 if test "$WXGTK127" = 1 ; then
16512 cat >> confdefs.h
<<EOF
16513 #define __WXGTK127__ $WXGTK127
16520 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
16525 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
16526 wxUSE_DEBUG_INFO
=yes
16530 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
16531 cat >> confdefs.h
<<\EOF
16535 WXDEBUG_DEFINE
="-D__WXDEBUG__"
16537 if test "$wxUSE_GTK" = 1 ; then
16538 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
16542 if test "$wxUSE_MEM_TRACING" = "yes" ; then
16543 cat >> confdefs.h
<<\EOF
16544 #define wxUSE_MEMORY_TRACING 1
16547 cat >> confdefs.h
<<\EOF
16548 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
16551 cat >> confdefs.h
<<\EOF
16552 #define wxUSE_DEBUG_NEW_ALWAYS 1
16555 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
16558 if test "$wxUSE_DMALLOC" = "yes" ; then
16559 DMALLOC_LIBS
="-ldmalloc"
16563 if test "$wxUSE_PROFILE" = "yes" ; then
16567 if test "$GCC" = "yes" ; then
16568 if test "$wxUSE_NO_RTTI" = "yes" ; then
16569 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
16571 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
16572 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
16574 if test "$wxUSE_PERMISSIVE" = "yes" ; then
16575 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
16577 if test "$USE_WIN32" = 1 ; then
16578 # I'm not even really sure what this was ever added to solve,
16579 # but someone added it for mingw native builds, so I guess
16580 # they had a reason, right??
16581 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fno-pcc-struct-return"
16586 CXXFLAGS
=`echo "${CXXFLAGS}" | sed "s/\-O.//g" `
16587 CFLAGS
=`echo "${CFLAGS}" | sed "s/\-O.//g" `
16588 if test "$wxUSE_OPTIMISE" = "no" ; then
16591 if test "$GCC" = yes ; then
16594 i586
-*-*|i686
-*-* )
16595 OPTIMISE
="${OPTIMISE} "
16603 if test "$WXWIN_COMPATIBILITY_2" = "yes"; then
16604 cat >> confdefs.h
<<\EOF
16605 #define WXWIN_COMPATIBILITY_2 1
16609 WXWIN_COMPATIBILITY_2_2
="yes"
16612 if test "$WXWIN_COMPATIBILITY_2_2" = "yes"; then
16613 cat >> confdefs.h
<<\EOF
16614 #define WXWIN_COMPATIBILITY_2_2 1
16620 if test "$wxUSE_GUI" = "yes"; then
16621 cat >> confdefs.h
<<\EOF
16622 #define wxUSE_GUI 1
16627 cat >> confdefs.h
<<\EOF
16628 #define wxUSE_NOGUI 1
16634 if test "$wxUSE_UNIX" = "yes"; then
16635 cat >> confdefs.h
<<\EOF
16636 #define wxUSE_UNIX 1
16642 if test "$wxUSE_APPLE_IEEE" = "yes"; then
16643 cat >> confdefs.h
<<\EOF
16644 #define wxUSE_APPLE_IEEE 1
16649 if test "$wxUSE_TIMER" = "yes"; then
16650 cat >> confdefs.h
<<\EOF
16651 #define wxUSE_TIMER 1
16656 if test "$wxUSE_WAVE" = "yes"; then
16657 cat >> confdefs.h
<<\EOF
16658 #define wxUSE_WAVE 1
16663 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
16664 cat >> confdefs.h
<<\EOF
16665 #define wxUSE_CMDLINE_PARSER 1
16670 if test "$wxUSE_STOPWATCH" = "yes"; then
16671 cat >> confdefs.h
<<\EOF
16672 #define wxUSE_STOPWATCH 1
16677 if test "$wxUSE_DATETIME" = "yes"; then
16678 cat >> confdefs.h
<<\EOF
16679 #define wxUSE_DATETIME 1
16684 if test "$wxUSE_TIMEDATE" = "yes"; then
16685 cat >> confdefs.h
<<\EOF
16686 #define wxUSE_TIMEDATE 1
16691 if test "$wxUSE_FILE" = "yes"; then
16692 cat >> confdefs.h
<<\EOF
16693 #define wxUSE_FILE 1
16698 if test "$wxUSE_FFILE" = "yes"; then
16699 cat >> confdefs.h
<<\EOF
16700 #define wxUSE_FFILE 1
16705 if test "$wxUSE_FILESYSTEM" = "yes"; then
16706 cat >> confdefs.h
<<\EOF
16707 #define wxUSE_FILESYSTEM 1
16712 if test "$wxUSE_FS_INET" = "yes"; then
16713 cat >> confdefs.h
<<\EOF
16714 #define wxUSE_FS_INET 1
16719 if test "$wxUSE_FS_ZIP" = "yes"; then
16720 cat >> confdefs.h
<<\EOF
16721 #define wxUSE_FS_ZIP 1
16726 if test "$wxUSE_ZIPSTREAM" = "yes"; then
16727 cat >> confdefs.h
<<\EOF
16728 #define wxUSE_ZIPSTREAM 1
16733 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
16734 cat >> confdefs.h
<<\EOF
16735 #define wxUSE_ON_FATAL_EXCEPTION 1
16740 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
16741 cat >> confdefs.h
<<\EOF
16742 #define wxUSE_SNGLINST_CHECKER 1
16747 if test "$wxUSE_BUSYINFO" = "yes"; then
16748 cat >> confdefs.h
<<\EOF
16749 #define wxUSE_BUSYINFO 1
16754 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
16755 cat >> confdefs.h
<<\EOF
16756 #define wxUSE_STD_IOSTREAM 1
16761 if test "$wxUSE_TEXTBUFFER" = "yes"; then
16762 cat >> confdefs.h
<<\EOF
16763 #define wxUSE_TEXTBUFFER 1
16768 if test "$wxUSE_TEXTFILE" = "yes"; then
16769 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
16770 echo "configure: warning: wxTextFile requires wxFile and wxTextBuffer... disabled" 1>&2
16772 cat >> confdefs.h
<<\EOF
16773 #define wxUSE_TEXTFILE 1
16779 if test "$wxUSE_CONFIG" = "yes" ; then
16780 if test "$wxUSE_TEXTFILE" != "yes"; then
16781 echo "configure: warning: wxConfig requires wxTextFile... disabled" 1>&2
16783 cat >> confdefs.h
<<\EOF
16784 #define wxUSE_CONFIG 1
16787 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
16791 if test "$wxUSE_INTL" = "yes" ; then
16792 if test "$wxUSE_FILE" != "yes"; then
16793 echo "configure: warning: I18n code requires wxFile... disabled" 1>&2
16795 cat >> confdefs.h
<<\EOF
16796 #define wxUSE_INTL 1
16799 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
16800 GUIDIST
="$GUIDIST INTL_DIST"
16804 if test "$wxUSE_LOG" = "yes"; then
16805 cat >> confdefs.h
<<\EOF
16806 #define wxUSE_LOG 1
16810 if test "$wxUSE_LOGGUI" = "yes"; then
16811 cat >> confdefs.h
<<\EOF
16812 #define wxUSE_LOGGUI 1
16817 if test "$wxUSE_LOGWINDOW" = "yes"; then
16818 cat >> confdefs.h
<<\EOF
16819 #define wxUSE_LOGWINDOW 1
16824 if test "$wxUSE_LOGDIALOG" = "yes"; then
16825 cat >> confdefs.h
<<\EOF
16826 #define wxUSE_LOG_DIALOG 1
16832 if test "$wxUSE_LONGLONG" = "yes"; then
16833 cat >> confdefs.h
<<\EOF
16834 #define wxUSE_LONGLONG 1
16839 if test "$wxUSE_GEOMETRY" = "yes"; then
16840 cat >> confdefs.h
<<\EOF
16841 #define wxUSE_GEOMETRY 1
16846 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
16847 cat >> confdefs.h
<<\EOF
16848 #define wxUSE_DIALUP_MANAGER 1
16851 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
16854 if test "$wxUSE_STREAMS" = "yes" ; then
16855 cat >> confdefs.h
<<\EOF
16856 #define wxUSE_STREAMS 1
16862 if test "$wxUSE_DATETIME" = "yes"; then
16863 for ac_func
in strptime
16865 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16866 echo "configure:16867: checking for $ac_func" >&5
16867 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16868 echo $ac_n "(cached) $ac_c" 1>&6
16870 cat > conftest.
$ac_ext <<EOF
16871 #line 16872 "configure"
16872 #include "confdefs.h"
16873 /* System header to define __stub macros and hopefully few prototypes,
16874 which can conflict with char $ac_func(); below. */
16875 #include <assert.h>
16876 /* Override any gcc2 internal prototype to avoid an error. */
16877 /* We use char because int might match the return type of a gcc2
16878 builtin and then its argument prototype would still apply. */
16883 /* The GNU C library defines this for functions which it implements
16884 to always fail with ENOSYS. Some functions are actually named
16885 something starting with __ and the normal name is an alias. */
16886 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16894 if { (eval echo configure
:16895: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16896 eval "ac_cv_func_$ac_func=yes"
16898 echo "configure: failed program was:" >&5
16899 cat conftest.
$ac_ext >&5
16901 eval "ac_cv_func_$ac_func=no"
16906 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16907 echo "$ac_t""yes" 1>&6
16908 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16909 cat >> confdefs.h
<<EOF
16910 #define $ac_tr_func 1
16914 echo "$ac_t""no" 1>&6
16919 echo $ac_n "checking for timezone variable in <time.h>""... $ac_c" 1>&6
16920 echo "configure:16921: checking for timezone variable in <time.h>" >&5
16921 if eval "test \"`echo '$''{'wx_cv_var_timezone'+set}'`\" = set"; then
16922 echo $ac_n "(cached) $ac_c" 1>&6
16925 cat > conftest.
$ac_ext <<EOF
16926 #line 16927 "configure"
16927 #include "confdefs.h"
16938 if { (eval echo configure
:16939: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16941 wx_cv_var_timezone
=timezone
16944 echo "configure: failed program was:" >&5
16945 cat conftest.
$ac_ext >&5
16948 cat > conftest.
$ac_ext <<EOF
16949 #line 16950 "configure"
16950 #include "confdefs.h"
16961 if { (eval echo configure
:16962: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16964 wx_cv_var_timezone
=_timezone
16967 echo "configure: failed program was:" >&5
16968 cat conftest.
$ac_ext >&5
16971 cat > conftest.
$ac_ext <<EOF
16972 #line 16973 "configure"
16973 #include "confdefs.h"
16984 if { (eval echo configure
:16985: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16987 wx_cv_var_timezone
=__timezone
16990 echo "configure: failed program was:" >&5
16991 cat conftest.
$ac_ext >&5
16994 if test "$USE_DOS" = 0 ; then
16995 { echo "configure: error: no timezone variable" 1>&2; exit 1; }
17013 echo "$ac_t""$wx_cv_var_timezone" 1>&6
17015 if test "x$wx_cv_var_timezone" != x
; then
17016 cat >> confdefs.h
<<EOF
17017 #define WX_TIMEZONE $wx_cv_var_timezone
17022 for ac_func
in localtime
17024 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17025 echo "configure:17026: checking for $ac_func" >&5
17026 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17027 echo $ac_n "(cached) $ac_c" 1>&6
17029 cat > conftest.
$ac_ext <<EOF
17030 #line 17031 "configure"
17031 #include "confdefs.h"
17032 /* System header to define __stub macros and hopefully few prototypes,
17033 which can conflict with char $ac_func(); below. */
17034 #include <assert.h>
17035 /* Override any gcc2 internal prototype to avoid an error. */
17036 /* We use char because int might match the return type of a gcc2
17037 builtin and then its argument prototype would still apply. */
17042 /* The GNU C library defines this for functions which it implements
17043 to always fail with ENOSYS. Some functions are actually named
17044 something starting with __ and the normal name is an alias. */
17045 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17053 if { (eval echo configure
:17054: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17055 eval "ac_cv_func_$ac_func=yes"
17057 echo "configure: failed program was:" >&5
17058 cat conftest.
$ac_ext >&5
17060 eval "ac_cv_func_$ac_func=no"
17065 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17066 echo "$ac_t""yes" 1>&6
17067 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17068 cat >> confdefs.h
<<EOF
17069 #define $ac_tr_func 1
17073 echo "$ac_t""no" 1>&6
17078 if test "$ac_cv_func_localtime" = "yes"; then
17079 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
17080 echo "configure:17081: checking for tm_gmtoff in struct tm" >&5
17081 if eval "test \"`echo '$''{'wx_cv_struct_tm_has_gmtoff'+set}'`\" = set"; then
17082 echo $ac_n "(cached) $ac_c" 1>&6
17085 cat > conftest.
$ac_ext <<EOF
17086 #line 17087 "configure"
17087 #include "confdefs.h"
17098 if { (eval echo configure
:17099: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17101 wx_cv_struct_tm_has_gmtoff
=yes
17104 echo "configure: failed program was:" >&5
17105 cat conftest.
$ac_ext >&5
17107 wx_cv_struct_tm_has_gmtoff
=no
17114 echo "$ac_t""$wx_cv_struct_tm_has_gmtoff" 1>&6
17117 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
17118 cat >> confdefs.h
<<\EOF
17119 #define WX_GMTOFF_IN_TM 1
17124 for ac_func
in gettimeofday ftime
17126 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17127 echo "configure:17128: checking for $ac_func" >&5
17128 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17129 echo $ac_n "(cached) $ac_c" 1>&6
17131 cat > conftest.
$ac_ext <<EOF
17132 #line 17133 "configure"
17133 #include "confdefs.h"
17134 /* System header to define __stub macros and hopefully few prototypes,
17135 which can conflict with char $ac_func(); below. */
17136 #include <assert.h>
17137 /* Override any gcc2 internal prototype to avoid an error. */
17138 /* We use char because int might match the return type of a gcc2
17139 builtin and then its argument prototype would still apply. */
17144 /* The GNU C library defines this for functions which it implements
17145 to always fail with ENOSYS. Some functions are actually named
17146 something starting with __ and the normal name is an alias. */
17147 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17155 if { (eval echo configure
:17156: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17157 eval "ac_cv_func_$ac_func=yes"
17159 echo "configure: failed program was:" >&5
17160 cat conftest.
$ac_ext >&5
17162 eval "ac_cv_func_$ac_func=no"
17167 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17168 echo "$ac_t""yes" 1>&6
17169 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17170 cat >> confdefs.h
<<EOF
17171 #define $ac_tr_func 1
17175 echo "$ac_t""no" 1>&6
17180 if test "$ac_cv_func_gettimeofday" = "yes"; then
17181 echo $ac_n "checking whether gettimeofday takes two arguments""... $ac_c" 1>&6
17182 echo "configure:17183: checking whether gettimeofday takes two arguments" >&5
17183 if eval "test \"`echo '$''{'wx_cv_func_gettimeofday_has_2_args'+set}'`\" = set"; then
17184 echo $ac_n "(cached) $ac_c" 1>&6
17189 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17190 ac_cpp
='$CXXCPP $CPPFLAGS'
17191 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17192 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17193 cross_compiling
=$ac_cv_prog_cxx_cross
17196 cat > conftest.
$ac_ext <<EOF
17197 #line 17198 "configure"
17198 #include "confdefs.h"
17200 #include <sys/time.h>
17201 #include <unistd.h>
17206 gettimeofday(&tv, NULL);
17210 if { (eval echo configure
:17211: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17212 wx_cv_func_gettimeofday_has_2_args
=yes
17214 echo "configure: failed program was:" >&5
17215 cat conftest.
$ac_ext >&5
17217 cat > conftest.
$ac_ext <<EOF
17218 #line 17219 "configure"
17219 #include "confdefs.h"
17221 #include <sys/time.h>
17222 #include <unistd.h>
17231 if { (eval echo configure
:17232: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17233 wx_cv_func_gettimeofday_has_2_args
=no
17235 echo "configure: failed program was:" >&5
17236 cat conftest.
$ac_ext >&5
17239 echo "configure: warning: failed to determine number of gettimeofday() arguments" 1>&2
17240 wx_cv_func_gettimeofday_has_2_args
=unknown
17249 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17250 ac_cpp
='$CPP $CPPFLAGS'
17251 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17252 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17253 cross_compiling
=$ac_cv_prog_cc_cross
17258 echo "$ac_t""$wx_cv_func_gettimeofday_has_2_args" 1>&6
17260 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
17261 cat >> confdefs.h
<<\EOF
17262 #define WX_GETTIMEOFDAY_NO_TZ 1
17268 cat >> confdefs.h
<<\EOF
17269 #define wxUSE_TIMEDATE 1
17272 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
17276 if test "$TOOLKIT" != "MSW"; then
17278 if test "$wxUSE_SOCKETS" = "yes"; then
17279 echo $ac_n "checking for socket""... $ac_c" 1>&6
17280 echo "configure:17281: checking for socket" >&5
17281 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
17282 echo $ac_n "(cached) $ac_c" 1>&6
17284 cat > conftest.
$ac_ext <<EOF
17285 #line 17286 "configure"
17286 #include "confdefs.h"
17287 /* System header to define __stub macros and hopefully few prototypes,
17288 which can conflict with char socket(); below. */
17289 #include <assert.h>
17290 /* Override any gcc2 internal prototype to avoid an error. */
17291 /* We use char because int might match the return type of a gcc2
17292 builtin and then its argument prototype would still apply. */
17297 /* The GNU C library defines this for functions which it implements
17298 to always fail with ENOSYS. Some functions are actually named
17299 something starting with __ and the normal name is an alias. */
17300 #if defined (__stub_socket) || defined (__stub___socket)
17308 if { (eval echo configure
:17309: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17310 eval "ac_cv_func_socket=yes"
17312 echo "configure: failed program was:" >&5
17313 cat conftest.
$ac_ext >&5
17315 eval "ac_cv_func_socket=no"
17320 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
17321 echo "$ac_t""yes" 1>&6
17324 echo "$ac_t""no" 1>&6
17325 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
17326 echo "configure:17327: checking for socket in -lsocket" >&5
17327 ac_lib_var
=`echo socket'_'socket | sed 'y%./+-%__p_%'`
17328 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17329 echo $ac_n "(cached) $ac_c" 1>&6
17331 ac_save_LIBS
="$LIBS"
17332 LIBS
="-lsocket $LIBS"
17333 cat > conftest.
$ac_ext <<EOF
17334 #line 17335 "configure"
17335 #include "confdefs.h"
17336 /* Override any gcc2 internal prototype to avoid an error. */
17337 /* We use char because int might match the return type of a gcc2
17338 builtin and then its argument prototype would still apply. */
17345 if { (eval echo configure
:17346: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17347 eval "ac_cv_lib_$ac_lib_var=yes"
17349 echo "configure: failed program was:" >&5
17350 cat conftest.
$ac_ext >&5
17352 eval "ac_cv_lib_$ac_lib_var=no"
17355 LIBS
="$ac_save_LIBS"
17358 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17359 echo "$ac_t""yes" 1>&6
17360 INET_LINK
="$INET_LINK -lsocket"
17362 echo "$ac_t""no" 1>&6
17364 echo "configure: warning: socket library not found - sockets will be disabled" 1>&2
17376 if test "$wxUSE_SOCKETS" = "yes" ; then
17377 echo $ac_n "checking what is the type of the third argument of getsockname""... $ac_c" 1>&6
17378 echo "configure:17379: checking what is the type of the third argument of getsockname" >&5
17379 if eval "test \"`echo '$''{'wx_cv_type_getsockname3'+set}'`\" = set"; then
17380 echo $ac_n "(cached) $ac_c" 1>&6
17385 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17386 ac_cpp
='$CXXCPP $CPPFLAGS'
17387 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17388 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17389 cross_compiling
=$ac_cv_prog_cxx_cross
17392 cat > conftest.
$ac_ext <<EOF
17393 #line 17394 "configure"
17394 #include "confdefs.h"
17396 #include <sys/types.h>
17397 #include <sys/socket.h>
17402 getsockname(0, 0, &len);
17406 if { (eval echo configure
:17407: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17408 wx_cv_type_getsockname3
=socklen_t
17410 echo "configure: failed program was:" >&5
17411 cat conftest.
$ac_ext >&5
17413 cat > conftest.
$ac_ext <<EOF
17414 #line 17415 "configure"
17415 #include "confdefs.h"
17417 #include <sys/types.h>
17418 #include <sys/socket.h>
17423 getsockname(0, 0, &len);
17427 if { (eval echo configure
:17428: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17429 wx_cv_type_getsockname3
=size_t
17431 echo "configure: failed program was:" >&5
17432 cat conftest.
$ac_ext >&5
17434 cat > conftest.
$ac_ext <<EOF
17435 #line 17436 "configure"
17436 #include "confdefs.h"
17438 #include <sys/types.h>
17439 #include <sys/socket.h>
17444 getsockname(0, 0, &len);
17448 if { (eval echo configure
:17449: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17450 wx_cv_type_getsockname3
=int
17452 echo "configure: failed program was:" >&5
17453 cat conftest.
$ac_ext >&5
17455 wx_cv_type_getsockname3
=unknown
17467 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17468 ac_cpp
='$CPP $CPPFLAGS'
17469 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17470 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17471 cross_compiling
=$ac_cv_prog_cc_cross
17476 echo "$ac_t""$wx_cv_type_getsockname3" 1>&6
17478 if test "$wx_cv_type_getsockname3" = "unknown"; then
17480 echo "configure: warning: Couldn't find socklen_t synonym for this system" 1>&2
17482 cat >> confdefs.h
<<EOF
17483 #define SOCKLEN_T $wx_cv_type_getsockname3
17490 if test "$wxUSE_SOCKETS" = "yes" ; then
17491 cat >> confdefs.h
<<\EOF
17492 #define wxUSE_SOCKETS 1
17495 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
17499 if test "$wxUSE_GUI" = "yes"; then
17501 if test "$TOOLKIT" = "MAC"; then
17502 echo "configure: warning: Joystick not yet supported under Mac OS X... disabled" 1>&2
17505 if test "$TOOLKIT" = "MOTIF"; then
17506 echo "configure: warning: Joystick not yet supported under Motif... disabled" 1>&2
17510 if test "$TOOLKIT" != "MSW"; then
17511 if test "$wxUSE_JOYSTICK" = "yes"; then
17512 for ac_hdr
in linux
/joystick.h
17514 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
17515 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
17516 echo "configure:17517: checking for $ac_hdr" >&5
17517 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17518 echo $ac_n "(cached) $ac_c" 1>&6
17520 cat > conftest.
$ac_ext <<EOF
17521 #line 17522 "configure"
17522 #include "confdefs.h"
17525 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17526 { (eval echo configure
:17527: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17527 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17528 if test -z "$ac_err"; then
17530 eval "ac_cv_header_$ac_safe=yes"
17533 echo "configure: failed program was:" >&5
17534 cat conftest.
$ac_ext >&5
17536 eval "ac_cv_header_$ac_safe=no"
17540 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17541 echo "$ac_t""yes" 1>&6
17542 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
17543 cat >> confdefs.h
<<EOF
17544 #define $ac_tr_hdr 1
17548 echo "$ac_t""no" 1>&6
17552 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
17554 echo "configure: warning: Joystick not supported by this system... disabled" 1>&2
17559 if test "$wxUSE_JOYSTICK" = "yes"; then
17560 cat >> confdefs.h
<<\EOF
17561 #define wxUSE_JOYSTICK 1
17564 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
17569 if test "$TOOLKIT" != "MSW"; then
17573 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
17574 if test "$USE_DARWIN" = 1; then
17577 for ac_func
in dlopen
17579 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17580 echo "configure:17581: checking for $ac_func" >&5
17581 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17582 echo $ac_n "(cached) $ac_c" 1>&6
17584 cat > conftest.
$ac_ext <<EOF
17585 #line 17586 "configure"
17586 #include "confdefs.h"
17587 /* System header to define __stub macros and hopefully few prototypes,
17588 which can conflict with char $ac_func(); below. */
17589 #include <assert.h>
17590 /* Override any gcc2 internal prototype to avoid an error. */
17591 /* We use char because int might match the return type of a gcc2
17592 builtin and then its argument prototype would still apply. */
17597 /* The GNU C library defines this for functions which it implements
17598 to always fail with ENOSYS. Some functions are actually named
17599 something starting with __ and the normal name is an alias. */
17600 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17608 if { (eval echo configure
:17609: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17610 eval "ac_cv_func_$ac_func=yes"
17612 echo "configure: failed program was:" >&5
17613 cat conftest.
$ac_ext >&5
17615 eval "ac_cv_func_$ac_func=no"
17620 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17621 echo "$ac_t""yes" 1>&6
17622 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17623 cat >> confdefs.h
<<EOF
17624 #define $ac_tr_func 1
17627 cat >> confdefs.h
<<\EOF
17628 #define HAVE_DLOPEN 1
17634 echo "$ac_t""no" 1>&6
17635 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
17636 echo "configure:17637: checking for dlopen in -ldl" >&5
17637 ac_lib_var
=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
17638 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17639 echo $ac_n "(cached) $ac_c" 1>&6
17641 ac_save_LIBS
="$LIBS"
17643 cat > conftest.
$ac_ext <<EOF
17644 #line 17645 "configure"
17645 #include "confdefs.h"
17646 /* Override any gcc2 internal prototype to avoid an error. */
17647 /* We use char because int might match the return type of a gcc2
17648 builtin and then its argument prototype would still apply. */
17655 if { (eval echo configure
:17656: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17657 eval "ac_cv_lib_$ac_lib_var=yes"
17659 echo "configure: failed program was:" >&5
17660 cat conftest.
$ac_ext >&5
17662 eval "ac_cv_lib_$ac_lib_var=no"
17665 LIBS
="$ac_save_LIBS"
17668 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17669 echo "$ac_t""yes" 1>&6
17671 cat >> confdefs.h
<<\EOF
17672 #define HAVE_DLOPEN 1
17676 DL_LINK
=" -ldl$DL_LINK"
17679 echo "$ac_t""no" 1>&6
17681 for ac_func
in shl_load
17683 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17684 echo "configure:17685: checking for $ac_func" >&5
17685 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17686 echo $ac_n "(cached) $ac_c" 1>&6
17688 cat > conftest.
$ac_ext <<EOF
17689 #line 17690 "configure"
17690 #include "confdefs.h"
17691 /* System header to define __stub macros and hopefully few prototypes,
17692 which can conflict with char $ac_func(); below. */
17693 #include <assert.h>
17694 /* Override any gcc2 internal prototype to avoid an error. */
17695 /* We use char because int might match the return type of a gcc2
17696 builtin and then its argument prototype would still apply. */
17701 /* The GNU C library defines this for functions which it implements
17702 to always fail with ENOSYS. Some functions are actually named
17703 something starting with __ and the normal name is an alias. */
17704 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17712 if { (eval echo configure
:17713: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17714 eval "ac_cv_func_$ac_func=yes"
17716 echo "configure: failed program was:" >&5
17717 cat conftest.
$ac_ext >&5
17719 eval "ac_cv_func_$ac_func=no"
17724 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17725 echo "$ac_t""yes" 1>&6
17726 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17727 cat >> confdefs.h
<<EOF
17728 #define $ac_tr_func 1
17731 cat >> confdefs.h
<<\EOF
17732 #define HAVE_SHL_LOAD 1
17738 echo "$ac_t""no" 1>&6
17739 echo $ac_n "checking for dld in -lshl_load""... $ac_c" 1>&6
17740 echo "configure:17741: checking for dld in -lshl_load" >&5
17741 ac_lib_var
=`echo shl_load'_'dld | sed 'y%./+-%__p_%'`
17742 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17743 echo $ac_n "(cached) $ac_c" 1>&6
17745 ac_save_LIBS
="$LIBS"
17746 LIBS
="-lshl_load $LIBS"
17747 cat > conftest.
$ac_ext <<EOF
17748 #line 17749 "configure"
17749 #include "confdefs.h"
17750 /* Override any gcc2 internal prototype to avoid an error. */
17751 /* We use char because int might match the return type of a gcc2
17752 builtin and then its argument prototype would still apply. */
17759 if { (eval echo configure
:17760: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17761 eval "ac_cv_lib_$ac_lib_var=yes"
17763 echo "configure: failed program was:" >&5
17764 cat conftest.
$ac_ext >&5
17766 eval "ac_cv_lib_$ac_lib_var=no"
17769 LIBS
="$ac_save_LIBS"
17772 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17773 echo "$ac_t""yes" 1>&6
17776 DL_LINK
=" -ldld$DL_LINK"
17779 echo "$ac_t""no" 1>&6
17794 if test "$HAVE_DL_FUNCS" = 1; then
17795 for ac_func
in dlerror
17797 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17798 echo "configure:17799: checking for $ac_func" >&5
17799 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17800 echo $ac_n "(cached) $ac_c" 1>&6
17802 cat > conftest.
$ac_ext <<EOF
17803 #line 17804 "configure"
17804 #include "confdefs.h"
17805 /* System header to define __stub macros and hopefully few prototypes,
17806 which can conflict with char $ac_func(); below. */
17807 #include <assert.h>
17808 /* Override any gcc2 internal prototype to avoid an error. */
17809 /* We use char because int might match the return type of a gcc2
17810 builtin and then its argument prototype would still apply. */
17815 /* The GNU C library defines this for functions which it implements
17816 to always fail with ENOSYS. Some functions are actually named
17817 something starting with __ and the normal name is an alias. */
17818 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17826 if { (eval echo configure
:17827: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17828 eval "ac_cv_func_$ac_func=yes"
17830 echo "configure: failed program was:" >&5
17831 cat conftest.
$ac_ext >&5
17833 eval "ac_cv_func_$ac_func=no"
17838 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17839 echo "$ac_t""yes" 1>&6
17840 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17841 cat >> confdefs.h
<<EOF
17842 #define $ac_tr_func 1
17844 cat >> confdefs.h
<<\EOF
17845 #define HAVE_DLERROR 1
17849 echo "$ac_t""no" 1>&6
17850 echo $ac_n "checking for dlerror in -ldl""... $ac_c" 1>&6
17851 echo "configure:17852: checking for dlerror in -ldl" >&5
17852 ac_lib_var
=`echo dl'_'dlerror | sed 'y%./+-%__p_%'`
17853 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17854 echo $ac_n "(cached) $ac_c" 1>&6
17856 ac_save_LIBS
="$LIBS"
17858 cat > conftest.
$ac_ext <<EOF
17859 #line 17860 "configure"
17860 #include "confdefs.h"
17861 /* Override any gcc2 internal prototype to avoid an error. */
17862 /* We use char because int might match the return type of a gcc2
17863 builtin and then its argument prototype would still apply. */
17870 if { (eval echo configure
:17871: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17872 eval "ac_cv_lib_$ac_lib_var=yes"
17874 echo "configure: failed program was:" >&5
17875 cat conftest.
$ac_ext >&5
17877 eval "ac_cv_lib_$ac_lib_var=no"
17880 LIBS
="$ac_save_LIBS"
17883 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17884 echo "$ac_t""yes" 1>&6
17885 cat >> confdefs.h
<<\EOF
17886 #define HAVE_DLERROR 1
17890 echo "$ac_t""no" 1>&6
17899 if test "$HAVE_DL_FUNCS" = 0; then
17900 if test "$HAVE_SHL_FUNCS" = 0; then
17901 if test "$USE_UNIX" = 1; then
17902 echo "configure: warning: Missing dynamic loading support, several features will be disabled" 1>&2
17903 wxUSE_DYNAMIC_LOADER
=no
17904 wxUSE_DYNLIB_CLASS
=no
17906 echo "configure: warning: Assuming wxLibrary class works on this platform" 1>&2
17913 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
17914 cat >> confdefs.h
<<\EOF
17915 #define wxUSE_DYNAMIC_LOADER 1
17918 elif test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
17919 cat >> confdefs.h
<<\EOF
17920 #define wxUSE_DYNLIB_CLASS 1
17926 if test "$wxUSE_FONTMAP" = "yes" ; then
17927 cat >> confdefs.h
<<\EOF
17928 #define wxUSE_FONTMAP 1
17933 if test "$wxUSE_UNICODE" = "yes" ; then
17934 cat >> confdefs.h
<<\EOF
17935 #define wxUSE_UNICODE 1
17940 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
17941 cat >> confdefs.h
<<\EOF
17942 #define wxUSE_EXPERIMENTAL_PRINTF 1
17950 if test "$wxUSE_ODBC" = "yes" ; then
17951 cat >> confdefs.h
<<\EOF
17952 #define wxUSE_ODBC 1
17955 WXODBCFLAG
="-D_IODBC_"
17956 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
17960 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
17961 cat >> confdefs.h
<<\EOF
17962 #define wxUSE_POSTSCRIPT 1
17967 cat >> confdefs.h
<<\EOF
17968 #define wxUSE_AFM_FOR_POSTSCRIPT 1
17972 cat >> confdefs.h
<<\EOF
17973 #define wxUSE_NORMALIZED_PS_FONTS 1
17978 if test "$wxUSE_CONSTRAINTS" = "yes"; then
17979 cat >> confdefs.h
<<\EOF
17980 #define wxUSE_CONSTRAINTS 1
17983 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
17986 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
17987 if test "$wxUSE_UNIVERSAL" = "yes"; then
17988 echo "configure: warning: MDI not yet supported for wxUNIVERSAL... disabled" 1>&2
17989 wxUSE_MDI_ARCHITECTURE
=no
17992 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
17993 cat >> confdefs.h
<<\EOF
17994 #define wxUSE_MDI_ARCHITECTURE 1
17997 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
18001 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
18002 cat >> confdefs.h
<<\EOF
18003 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
18006 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
18007 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
18008 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
18012 if test "$wxUSE_HELP" = "yes"; then
18013 cat >> confdefs.h
<<\EOF
18014 #define wxUSE_HELP 1
18017 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
18019 if test "$wxUSE_MSW" = 1; then
18020 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
18021 ac_safe
=`echo "htmlhelp.h" | sed 'y%./+-%__p_%'`
18022 echo $ac_n "checking for htmlhelp.h""... $ac_c" 1>&6
18023 echo "configure:18024: checking for htmlhelp.h" >&5
18024 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
18025 echo $ac_n "(cached) $ac_c" 1>&6
18027 cat > conftest.
$ac_ext <<EOF
18028 #line 18029 "configure"
18029 #include "confdefs.h"
18030 #include <htmlhelp.h>
18032 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
18033 { (eval echo configure
:18034: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
18034 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
18035 if test -z "$ac_err"; then
18037 eval "ac_cv_header_$ac_safe=yes"
18040 echo "configure: failed program was:" >&5
18041 cat conftest.
$ac_ext >&5
18043 eval "ac_cv_header_$ac_safe=no"
18047 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
18048 echo "$ac_t""yes" 1>&6
18050 cat >> confdefs.h
<<\EOF
18051 #define wxUSE_MS_HTML_HELP 1
18056 echo "$ac_t""no" 1>&6
18058 echo "configure: warning: MS HTML Help cannot be used without htmlhelp.h... disabled" 1>&2
18059 wxUSE_MS_HTML_HELP
=no
18066 if test "$wxUSE_WXHTML_HELP" = "yes"; then
18067 if test "$wxUSE_HTML" = "yes"; then
18068 cat >> confdefs.h
<<\EOF
18069 #define wxUSE_WXHTML_HELP 1
18073 echo "configure: warning: Cannot use wxHTML-based help without wxHTML so it won't be compiled" 1>&2
18074 wxUSE_WXHTML_HELP
=no
18079 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
18080 if test "$wxUSE_CONSTRAINTS" != "yes"; then
18081 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
18083 cat >> confdefs.h
<<\EOF
18084 #define wxUSE_PRINTING_ARCHITECTURE 1
18088 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
18091 if test "$wxUSE_PROLOGIO" = "yes" ; then
18092 cat >> confdefs.h
<<\EOF
18093 #define wxUSE_PROLOGIO 1
18098 if test "$wxUSE_RESOURCES" = "yes" ; then
18099 cat >> confdefs.h
<<\EOF
18100 #define wxUSE_RESOURCES 1
18103 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS resource"
18106 if test "$wxUSE_X_RESOURCES" = "yes"; then
18107 cat >> confdefs.h
<<\EOF
18108 #define wxUSE_X_RESOURCES 1
18114 if test "$wxUSE_MSW" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
18115 -o "$wxUSE_CLIPBOARD" = "yes" \
18116 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
18117 for ac_hdr
in ole2.h
18119 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
18120 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
18121 echo "configure:18122: checking for $ac_hdr" >&5
18122 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
18123 echo $ac_n "(cached) $ac_c" 1>&6
18125 cat > conftest.
$ac_ext <<EOF
18126 #line 18127 "configure"
18127 #include "confdefs.h"
18130 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
18131 { (eval echo configure
:18132: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
18132 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
18133 if test -z "$ac_err"; then
18135 eval "ac_cv_header_$ac_safe=yes"
18138 echo "configure: failed program was:" >&5
18139 cat conftest.
$ac_ext >&5
18141 eval "ac_cv_header_$ac_safe=no"
18145 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
18146 echo "$ac_t""yes" 1>&6
18147 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
18148 cat >> confdefs.h
<<EOF
18149 #define $ac_tr_hdr 1
18153 echo "$ac_t""no" 1>&6
18158 if test "$ac_cv_header_ole2_h" = "yes" ; then
18159 if test "$GCC" = yes ; then
18160 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
18161 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
18162 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
18163 cat >> confdefs.h
<<\EOF
18164 #define wxUSE_OLE 1
18170 cat >> confdefs.h
<<\EOF
18171 #define wxUSE_DATAOBJ 1
18175 echo "configure: warning: Some features disabled because OLE headers not found" 1>&2
18178 wxUSE_DRAG_AND_DROP
=no
18182 if test "$wxUSE_METAFILE" = "yes"; then
18183 cat >> confdefs.h
<<\EOF
18184 #define wxUSE_METAFILE 1
18188 cat >> confdefs.h
<<\EOF
18189 #define wxUSE_ENH_METAFILE 1
18195 if test "$wxUSE_IPC" = "yes"; then
18196 if test "$wxUSE_SOCKETS" != "yes"; then
18197 echo "configure: warning: wxWindows IPC classes require sockets... disabled" 1>&2
18200 cat >> confdefs.h
<<\EOF
18201 #define wxUSE_IPC 1
18206 if test "$wxUSE_CLIPBOARD" = "yes"; then
18207 cat >> confdefs.h
<<\EOF
18208 #define wxUSE_CLIPBOARD 1
18212 cat >> confdefs.h
<<\EOF
18213 #define wxUSE_DATAOBJ 1
18218 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
18219 if test "$wxUSE_GTK" = 1; then
18220 if test "$WXGTK12" != 1; then
18221 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2... disabled" 1>&2
18222 wxUSE_DRAG_AND_DROP
=no
18226 if test "$wxUSE_MOTIF" = 1; then
18227 echo "configure: warning: Drag and drop not yet supported under Motif... disabled" 1>&2
18228 wxUSE_DRAG_AND_DROP
=no
18231 if test "$wxUSE_MAC" = 1; then
18232 echo "configure: warning: Drag and drop not yet supported under Mac OS X... disabled" 1>&2
18233 wxUSE_DRAG_AND_DROP
=no
18236 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
18237 cat >> confdefs.h
<<\EOF
18238 #define wxUSE_DRAG_AND_DROP 1
18241 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
18246 if test "$wxUSE_SPLINES" = "yes" ; then
18247 cat >> confdefs.h
<<\EOF
18248 #define wxUSE_SPLINES 1
18255 if test "$wxUSE_CONTROLS" = "yes"; then
18259 if test "$wxUSE_ACCEL" = "yes"; then
18260 cat >> confdefs.h
<<\EOF
18261 #define wxUSE_ACCEL 1
18267 if test "$wxUSE_BUTTON" = "yes"; then
18268 cat >> confdefs.h
<<\EOF
18269 #define wxUSE_BUTTON 1
18275 if test "$wxUSE_BMPBUTTON" = "yes"; then
18276 cat >> confdefs.h
<<\EOF
18277 #define wxUSE_BMPBUTTON 1
18283 if test "$wxUSE_CALCTRL" = "yes"; then
18284 cat >> confdefs.h
<<\EOF
18285 #define wxUSE_CALENDARCTRL 1
18289 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
18292 if test "$wxUSE_CARET" = "yes"; then
18293 cat >> confdefs.h
<<\EOF
18294 #define wxUSE_CARET 1
18298 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
18301 if test "$wxUSE_COMBOBOX" = "yes"; then
18302 cat >> confdefs.h
<<\EOF
18303 #define wxUSE_COMBOBOX 1
18309 if test "$wxUSE_CHOICE" = "yes"; then
18310 cat >> confdefs.h
<<\EOF
18311 #define wxUSE_CHOICE 1
18317 if test "$wxUSE_CHECKBOX" = "yes"; then
18318 cat >> confdefs.h
<<\EOF
18319 #define wxUSE_CHECKBOX 1
18325 if test "$wxUSE_CHECKLST" = "yes"; then
18326 cat >> confdefs.h
<<\EOF
18327 #define wxUSE_CHECKLISTBOX 1
18331 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
18334 if test "$wxUSE_GAUGE" = "yes"; then
18335 cat >> confdefs.h
<<\EOF
18336 #define wxUSE_GAUGE 1
18342 if test "$wxUSE_NEW_GRID" = "yes"; then
18344 cat >> confdefs.h
<<\EOF
18345 #define wxUSE_NEW_GRID 1
18349 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS newgrid"
18352 if test "$wxUSE_GRID" = "yes"; then
18353 cat >> confdefs.h
<<\EOF
18354 #define wxUSE_GRID 1
18358 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
18361 if test "$wxUSE_IMAGLIST" = "yes"; then
18362 cat >> confdefs.h
<<\EOF
18363 #define wxUSE_IMAGLIST 1
18368 if test "$wxUSE_LISTBOX" = "yes"; then
18369 cat >> confdefs.h
<<\EOF
18370 #define wxUSE_LISTBOX 1
18376 if test "$wxUSE_LISTCTRL" = "yes"; then
18377 if test "$wxUSE_IMAGLIST" = "yes"; then
18378 cat >> confdefs.h
<<\EOF
18379 #define wxUSE_LISTCTRL 1
18383 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
18385 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
18389 if test "$wxUSE_NOTEBOOK" = "yes"; then
18390 cat >> confdefs.h
<<\EOF
18391 #define wxUSE_NOTEBOOK 1
18395 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
18398 if test "$wxUSE_PROPSHEET" = "yes"; then
18399 cat >> confdefs.h
<<\EOF
18400 #define wxUSE_PROPSHEET 1
18404 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS proplist"
18407 if test "$wxUSE_RADIOBOX" = "yes"; then
18408 cat >> confdefs.h
<<\EOF
18409 #define wxUSE_RADIOBOX 1
18415 if test "$wxUSE_RADIOBTN" = "yes"; then
18416 cat >> confdefs.h
<<\EOF
18417 #define wxUSE_RADIOBTN 1
18423 if test "$wxUSE_SASH" = "yes"; then
18424 cat >> confdefs.h
<<\EOF
18425 #define wxUSE_SASH 1
18428 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
18431 if test "$wxUSE_SCROLLBAR" = "yes"; then
18432 cat >> confdefs.h
<<\EOF
18433 #define wxUSE_SCROLLBAR 1
18437 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
18440 if test "$wxUSE_SLIDER" = "yes"; then
18441 cat >> confdefs.h
<<\EOF
18442 #define wxUSE_SLIDER 1
18448 if test "$wxUSE_SPINBTN" = "yes"; then
18449 cat >> confdefs.h
<<\EOF
18450 #define wxUSE_SPINBTN 1
18456 if test "$wxUSE_SPINCTRL" = "yes"; then
18457 cat >> confdefs.h
<<\EOF
18458 #define wxUSE_SPINCTRL 1
18464 if test "$wxUSE_SPLITTER" = "yes"; then
18465 cat >> confdefs.h
<<\EOF
18466 #define wxUSE_SPLITTER 1
18469 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
18472 if test "$wxUSE_STATBMP" = "yes"; then
18473 cat >> confdefs.h
<<\EOF
18474 #define wxUSE_STATBMP 1
18480 if test "$wxUSE_STATBOX" = "yes"; then
18481 cat >> confdefs.h
<<\EOF
18482 #define wxUSE_STATBOX 1
18488 if test "$wxUSE_STATTEXT" = "yes"; then
18489 cat >> confdefs.h
<<\EOF
18490 #define wxUSE_STATTEXT 1
18496 if test "$wxUSE_STATLINE" = "yes"; then
18497 if test "$wxUSE_WINE" = 1 ; then
18498 echo "configure: warning: wxStaticLine is not supported under WINE" 1>&2
18500 cat >> confdefs.h
<<\EOF
18501 #define wxUSE_STATLINE 1
18508 if test "$wxUSE_STATUSBAR" = "yes"; then
18509 cat >> confdefs.h
<<\EOF
18510 #define wxUSE_STATUSBAR 1
18515 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
18518 if test "$wxUSE_TABDIALOG" = "yes"; then
18519 cat >> confdefs.h
<<\EOF
18520 #define wxUSE_TAB_DIALOG 1
18523 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
18526 if test "$wxUSE_TEXTCTRL" = "yes"; then
18527 cat >> confdefs.h
<<\EOF
18528 #define wxUSE_TEXTCTRL 1
18532 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
18535 if test "$wxUSE_TOGGLEBTN" = "yes"; then
18536 if test "$wxUSE_MAC" = 1; then
18537 echo "configure: warning: Toggle button not yet supported under Mac OS X... disabled" 1>&2
18540 if test "$wxUSE_UNIVERSAL" = "yes"; then
18541 echo "configure: warning: Toggle button not yet supported under wxUNIVERSAL... disabled" 1>&2
18545 if test "$wxUSE_TOGGLEBTN" = "yes"; then
18546 cat >> confdefs.h
<<\EOF
18547 #define wxUSE_TOGGLEBTN 1
18554 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
18555 cat >> confdefs.h
<<\EOF
18556 #define wxUSE_TOOLBAR_SIMPLE 1
18559 wxUSE_TOOLBAR
="yes"
18563 if test "$wxUSE_TOOLBAR" = "yes"; then
18564 cat >> confdefs.h
<<\EOF
18565 #define wxUSE_TOOLBAR 1
18570 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
18571 wxUSE_TOOLBAR_NATIVE
="yes"
18574 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
18575 cat >> confdefs.h
<<\EOF
18576 #define wxUSE_TOOLBAR_NATIVE 1
18582 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
18585 if test "$wxUSE_TOOLTIPS" = "yes"; then
18586 if test "$wxUSE_MOTIF" = 1; then
18587 echo "configure: warning: wxTooltip not supported yet under Motif... disabled" 1>&2
18589 if test "$wxUSE_WINE" = 1; then
18590 echo "configure: warning: wxTooltip not supported under WINE... disabled" 1>&2
18592 if test "$wxUSE_UNIVERSAL" = "yes"; then
18593 echo "configure: warning: wxTooltip not supported yet in wxUNIVERSAL... disabled" 1>&2
18595 cat >> confdefs.h
<<\EOF
18596 #define wxUSE_TOOLTIPS 1
18604 if test "$wxUSE_TREECTRL" = "yes"; then
18605 if test "$wxUSE_IMAGLIST" = "yes"; then
18606 cat >> confdefs.h
<<\EOF
18607 #define wxUSE_TREECTRL 1
18611 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
18613 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
18617 if test "$wxUSE_POPUPWIN" = "yes"; then
18618 if test "$wxUSE_MAC" = 1; then
18619 echo "configure: warning: Popup window not yet supported under Mac OS X... disabled" 1>&2
18621 if test "$wxUSE_MOTIF" = 1; then
18622 echo "configure: warning: wxPopupWindow not yet supported under Motif... disabled" 1>&2
18624 cat >> confdefs.h
<<\EOF
18625 #define wxUSE_POPUPWIN 1
18634 if test "$wxUSE_TIPWINDOW" = "yes"; then
18635 cat >> confdefs.h
<<\EOF
18636 #define wxUSE_TIPWINDOW 1
18641 if test "$USES_CONTROLS" = 1; then
18642 cat >> confdefs.h
<<\EOF
18643 #define wxUSE_CONTROLS 1
18649 if test "$wxUSE_TREELAYOUT" = "yes"; then
18650 cat >> confdefs.h
<<\EOF
18651 #define wxUSE_TREELAYOUT 1
18654 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treelay"
18657 if test "$wxUSE_DRAGIMAGE" = "yes"; then
18658 cat >> confdefs.h
<<\EOF
18659 #define wxUSE_DRAGIMAGE 1
18662 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
18665 if test "$wxUSE_MENUS" = "yes"; then
18666 cat >> confdefs.h
<<\EOF
18667 #define wxUSE_MENUS 1
18670 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
18673 if test "$wxUSE_METAFILE" = "yes"; then
18674 cat >> confdefs.h
<<\EOF
18675 #define wxUSE_METAFILE 1
18680 if test "$wxUSE_MIMETYPE" = "yes"; then
18681 cat >> confdefs.h
<<\EOF
18682 #define wxUSE_MIMETYPE 1
18687 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
18688 cat >> confdefs.h
<<\EOF
18689 #define wxUSE_SYSTEM_OPTIONS 1
18694 if test "$wxUSE_MINIFRAME" = "yes"; then
18695 cat >> confdefs.h
<<\EOF
18696 #define wxUSE_MINIFRAME 1
18699 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
18702 if test "$wxUSE_HTML" = "yes"; then
18703 cat >> confdefs.h
<<\EOF
18704 #define wxUSE_HTML 1
18707 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html"
18710 if test "$wxUSE_VALIDATORS" = "yes"; then
18711 cat >> confdefs.h
<<\EOF
18712 #define wxUSE_VALIDATORS 1
18715 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
18718 if test "$wxUSE_PALETTE" = "yes" ; then
18719 cat >> confdefs.h
<<\EOF
18720 #define wxUSE_PALETTE 1
18725 if test "$wxUSE_IMAGE" = "yes" ; then
18726 cat >> confdefs.h
<<\EOF
18727 #define wxUSE_IMAGE 1
18732 if test "$wxUSE_GIF" = "yes" ; then
18733 cat >> confdefs.h
<<\EOF
18734 #define wxUSE_GIF 1
18739 if test "$wxUSE_PCX" = "yes" ; then
18740 cat >> confdefs.h
<<\EOF
18741 #define wxUSE_PCX 1
18746 if test "$wxUSE_PNM" = "yes" ; then
18747 cat >> confdefs.h
<<\EOF
18748 #define wxUSE_PNM 1
18753 if test "$wxUSE_XPM" = "yes" ; then
18754 cat >> confdefs.h
<<\EOF
18755 #define wxUSE_XPM 1
18761 if test "$wxUSE_CHOICEDLG" = "yes"; then
18762 cat >> confdefs.h
<<\EOF
18763 #define wxUSE_CHOICEDLG 1
18768 if test "$wxUSE_COLOURDLG" = "yes"; then
18769 cat >> confdefs.h
<<\EOF
18770 #define wxUSE_COLOURDLG 1
18775 if test "$wxUSE_FILEDLG" = "yes"; then
18776 cat >> confdefs.h
<<\EOF
18777 #define wxUSE_FILEDLG 1
18782 if test "$wxUSE_FINDREPLDLG" = "yes"; then
18783 cat >> confdefs.h
<<\EOF
18784 #define wxUSE_FINDREPLDLG 1
18789 if test "$wxUSE_FONTDLG" = "yes"; then
18790 cat >> confdefs.h
<<\EOF
18791 #define wxUSE_FONTDLG 1
18796 if test "$wxUSE_DIRDLG" = "yes"; then
18797 if test "$wxUSE_CONSTRAINTS" != "yes"; then
18798 echo "configure: warning: wxDirDialog requires constraints so it won't be compiled without them" 1>&2
18800 if test "$wxUSE_TREECTRL" != "yes"; then
18801 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
18803 cat >> confdefs.h
<<\EOF
18804 #define wxUSE_DIRDLG 1
18811 if test "$wxUSE_MSGDLG" = "yes"; then
18812 cat >> confdefs.h
<<\EOF
18813 #define wxUSE_MSGDLG 1
18818 if test "$wxUSE_NUMBERDLG" = "yes"; then
18819 cat >> confdefs.h
<<\EOF
18820 #define wxUSE_NUMBERDLG 1
18825 if test "$wxUSE_PROGRESSDLG" = "yes"; then
18826 if test "$wxUSE_CONSTRAINTS" != "yes"; then
18827 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
18829 cat >> confdefs.h
<<\EOF
18830 #define wxUSE_PROGRESSDLG 1
18836 if test "$wxUSE_SPLASH" = "yes"; then
18837 cat >> confdefs.h
<<\EOF
18838 #define wxUSE_SPLASH 1
18843 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
18844 if test "$wxUSE_CONSTRAINTS" != "yes"; then
18845 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
18847 cat >> confdefs.h
<<\EOF
18848 #define wxUSE_STARTUP_TIPS 1
18854 if test "$wxUSE_TEXTDLG" = "yes"; then
18855 cat >> confdefs.h
<<\EOF
18856 #define wxUSE_TEXTDLG 1
18861 if test "$wxUSE_WIZARDDLG" = "yes"; then
18862 cat >> confdefs.h
<<\EOF
18863 #define wxUSE_WIZARDDLG 1
18866 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
18870 if test "$cross_compiling" = "yes"; then
18873 OSINFO
=`uname -s -r -m`
18874 OSINFO
="\"$OSINFO\""
18877 cat >> confdefs.h
<<EOF
18878 #define WXWIN_OS_DESCRIPTION $OSINFO
18883 if test "x$prefix" != "xNONE"; then
18886 wxPREFIX
=$ac_default_prefix
18889 cat >> confdefs.h
<<EOF
18890 #define wxINSTALL_PREFIX "$wxPREFIX"
18897 if test "$wxUSE_MAC" = 1 ; then
18898 LDFLAGS
="$LDFLAGS -framework Carbon -framework System"
18902 LIBS
="$ZLIB_LINK$POSIX4_LINK$INET_LINK$WCHAR_LINK$THREADS_LINK$DL_LINK -lm$LIBS"
18904 if test "$wxUSE_GUI" = "yes"; then
18906 LIBS
=" $GUI_TK_LIBRARY$PNG_LINK$JPEG_LINK$TIFF_LINK$FREETYPE_LINK$LIBS"
18909 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS controls dialogs \
18910 drawing dynamic erase event exec font image \
18911 minimal richedit rotate widgets"
18913 CPPFLAGS
="$CPPFLAGS \$(EXTRADEFS) \$(APPEXTRADEFS)"
18915 SAMPLES_SUBDIRS
="console"
18919 INCLUDES
="-I\${top_builddir}/lib/wx/include/${TOOLCHAIN_NAME} -I\${top_srcdir}/include \
18920 $REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \
18921 $FREETYPE_INCLUDE $TOOLKIT_INCLUDE"
18923 if test "$wxUSE_GTK" = 1; then
18926 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
18929 if test "$GXX" = yes ; then
18930 CXXWARNINGS
="-Wall"
18932 if test "$wxUSE_NO_DEPS" = "no" ; then
18933 CFLAGS
="-MMD $CFLAGS"
18934 CXXFLAGS
="-MMD $CXXFLAGS"
18938 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG$PROFILE $OPTIMISE $INCLUDES"
18940 CFLAGS
=`echo $CFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
18941 CXXFLAGS
=`echo $CXXFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
18943 LDFLAGS
="$LDFLAGS$PROFILE"
18945 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
19031 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
19032 echo "configure:19033: checking whether ${MAKE-make} sets \${MAKE}" >&5
19033 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
19034 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
19035 echo $ac_n "(cached) $ac_c" 1>&6
19037 cat > conftestmake
<<\EOF
19039 @
echo 'ac_maketemp="${MAKE}"'
19041 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
19042 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
19043 if test -n "$ac_maketemp"; then
19044 eval ac_cv_prog_make_
${ac_make}_set
=yes
19046 eval ac_cv_prog_make_
${ac_make}_set
=no
19050 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
19051 echo "$ac_t""yes" 1>&6
19054 echo "$ac_t""no" 1>&6
19055 SET_MAKE
="MAKE=${MAKE-make}"
19059 if test -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
; then
19060 mv -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h setup.h
19065 if test "$wxUSE_GUI" = "yes"; then
19066 wx_cv_path_samplesubdirs
=$SAMPLES_SUBDIRS
19067 wx_cv_path_ifs
=$PATH_IFS
19068 wx_cv_program_ext
=$PROGRAM_EXT
19069 wx_cv_target_library
=$WX_TARGET_LIBRARY
19070 wx_cv_target_library_gl
=$WX_TARGET_LIBRARY_GL
19071 wx_cv_target_libtype
=$WX_TARGET_LIBRARY_TYPE
19072 export wx_cv_path_samplesubdirs wx_cv_path_ifs wx_cv_program_ext \
19073 wx_cv_target_library wx_cv_target_library_gl wx_cv_target_libtype
19074 subdirs
="demos samples utils contrib"
19079 cat > confcache
<<\EOF
19080 # This file is a shell script that caches the results of configure
19081 # tests run on this system so they can be shared between configure
19082 # scripts and configure runs. It is not useful on other systems.
19083 # If it contains results you don't want to keep, you may remove or edit it.
19085 # By default, configure uses ./config.cache as the cache file,
19086 # creating it if it does not exist already. You can give configure
19087 # the --cache-file=FILE option to use a different cache file; that is
19088 # what configure does when it calls configure scripts in
19089 # subdirectories, so they share the cache.
19090 # Giving --cache-file=/dev/null disables caching, for debugging configure.
19091 # config.status only pays attention to the cache file if you give it the
19092 # --recheck option to rerun configure.
19095 # The following way of writing the cache mishandles newlines in values,
19096 # but we know of no workaround that is simple, portable, and efficient.
19097 # So, don't put newlines in cache variables' values.
19098 # Ultrix sh set writes to stderr and can't be redirected directly,
19099 # and sets the high bit in the cache file unless we assign to the vars.
19101 case `(ac_space=' '; set | grep ac_space) 2>&1` in
19103 # `set' does not quote correctly, so add quotes (double-quote substitution
19104 # turns \\\\ into \\, and sed turns \\ into \).
19106 -e "s/'/'\\\\''/g" \
19107 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
19110 # `set' quotes correctly as required by POSIX, so do not add quotes.
19111 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
19114 if cmp -s $cache_file confcache
; then
19117 if test -w $cache_file; then
19118 echo "updating cache $cache_file"
19119 cat confcache
> $cache_file
19121 echo "not updating unwritable cache $cache_file"
19126 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
19128 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
19129 # Let make expand exec_prefix.
19130 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
19132 # Any assignment to VPATH causes Sun make to only execute
19133 # the first set of double-colon rules, so remove it if not needed.
19134 # If there is a colon in the path, we need to keep it.
19135 if test "x$srcdir" = x.
; then
19136 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
19139 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
19141 DEFS
=-DHAVE_CONFIG_H
19143 # Without the "./", some shells look in PATH for config.status.
19144 : ${CONFIG_STATUS=./config.status}
19146 echo creating
$CONFIG_STATUS
19147 rm -f $CONFIG_STATUS
19148 cat > $CONFIG_STATUS <<EOF
19150 # Generated automatically by configure.
19151 # Run this file to recreate the current configuration.
19152 # This directory was configured as follows,
19153 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19155 # $0 $ac_configure_args
19157 # Compiler output produced by configure, useful for debugging
19158 # configure, is in ./config.log if it exists.
19160 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
19163 case "\$ac_option" in
19164 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19165 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
19166 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
19167 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
19168 echo "$CONFIG_STATUS generated by autoconf version 2.13"
19170 -help | --help | --hel | --he | --h)
19171 echo "\$ac_cs_usage"; exit 0 ;;
19172 *) echo "\$ac_cs_usage"; exit 1 ;;
19176 ac_given_srcdir=$srcdir
19177 ac_given_INSTALL="$INSTALL"
19179 trap 'rm -fr `echo "
19185 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
19187 cat >> $CONFIG_STATUS <<EOF
19189 # Protect against being on the right side of a sed subst in config.status.
19190 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
19191 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
19195 s%@CFLAGS@%$CFLAGS%g
19196 s%@CPPFLAGS@%$CPPFLAGS%g
19197 s%@CXXFLAGS@%$CXXFLAGS%g
19198 s%@FFLAGS@%$FFLAGS%g
19200 s%@LDFLAGS@%$LDFLAGS%g
19202 s%@exec_prefix@%$exec_prefix%g
19203 s%@prefix@%$prefix%g
19204 s%@program_transform_name@%$program_transform_name%g
19205 s%@bindir@%$bindir%g
19206 s%@sbindir@%$sbindir%g
19207 s%@libexecdir@%$libexecdir%g
19208 s%@datadir@%$datadir%g
19209 s%@sysconfdir@%$sysconfdir%g
19210 s%@sharedstatedir@%$sharedstatedir%g
19211 s%@localstatedir@%$localstatedir%g
19212 s%@libdir@%$libdir%g
19213 s%@includedir@%$includedir%g
19214 s%@oldincludedir@%$oldincludedir%g
19215 s%@infodir@%$infodir%g
19216 s%@mandir@%$mandir%g
19218 s%@host_alias@%$host_alias%g
19219 s%@host_cpu@%$host_cpu%g
19220 s%@host_vendor@%$host_vendor%g
19221 s%@host_os@%$host_os%g
19222 s%@target@%$target%g
19223 s%@target_alias@%$target_alias%g
19224 s%@target_cpu@%$target_cpu%g
19225 s%@target_vendor@%$target_vendor%g
19226 s%@target_os@%$target_os%g
19228 s%@build_alias@%$build_alias%g
19229 s%@build_cpu@%$build_cpu%g
19230 s%@build_vendor@%$build_vendor%g
19231 s%@build_os@%$build_os%g
19235 s%@RANLIB@%$RANLIB%g
19237 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
19238 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
19239 s%@INSTALL_DATA@%$INSTALL_DATA%g
19243 s%@LEXLIB@%$LEXLIB%g
19245 s%@GTK_CONFIG_2_0@%$GTK_CONFIG_2_0%g
19246 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
19247 s%@GTK_LIBS@%$GTK_LIBS%g
19248 s%@GTK_CONFIG@%$GTK_CONFIG%g
19249 s%@X_CFLAGS@%$X_CFLAGS%g
19250 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
19251 s%@X_LIBS@%$X_LIBS%g
19252 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
19253 s%@RESCOMP@%$RESCOMP%g
19255 s%@CXXCPP@%$CXXCPP%g
19256 s%@LEX_STEM@%$LEX_STEM%g
19257 s%@PATH_IFS@%$PATH_IFS%g
19258 s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
19259 s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
19260 s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
19261 s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
19262 s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
19263 s%@WX_LIBRARY_IMPORTLIB@%$WX_LIBRARY_IMPORTLIB%g
19264 s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
19265 s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
19266 s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
19267 s%@PROGRAM_EXT@%$PROGRAM_EXT%g
19268 s%@WX_LIBRARY_NAME_STATIC_GL@%$WX_LIBRARY_NAME_STATIC_GL%g
19269 s%@WX_LIBRARY_NAME_SHARED_GL@%$WX_LIBRARY_NAME_SHARED_GL%g
19270 s%@WX_TARGET_LIBRARY_GL@%$WX_TARGET_LIBRARY_GL%g
19271 s%@WX_LIBRARY_LINK1_GL@%$WX_LIBRARY_LINK1_GL%g
19272 s%@WX_LIBRARY_LINK2_GL@%$WX_LIBRARY_LINK2_GL%g
19273 s%@WX_ALL@%$WX_ALL%g
19274 s%@WX_ALL_INSTALLED@%$WX_ALL_INSTALLED%g
19275 s%@SHARED_LD@%$SHARED_LD%g
19276 s%@PIC_FLAG@%$PIC_FLAG%g
19277 s%@CODE_GEN_FLAGS@%$CODE_GEN_FLAGS%g
19278 s%@CODE_GEN_FLAGS_CXX@%$CODE_GEN_FLAGS_CXX%g
19279 s%@SONAME_FLAGS@%$SONAME_FLAGS%g
19280 s%@SONAME_FLAGS_GL@%$SONAME_FLAGS_GL%g
19281 s%@WX_TARGET_LIBRARY_SONAME@%$WX_TARGET_LIBRARY_SONAME%g
19282 s%@WX_TARGET_LIBRARY_TYPE@%$WX_TARGET_LIBRARY_TYPE%g
19283 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
19284 s%@USE_GUI@%$USE_GUI%g
19285 s%@AFMINSTALL@%$AFMINSTALL%g
19286 s%@TOOLKIT@%$TOOLKIT%g
19287 s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
19288 s%@TOOLKIT_VPATH@%$TOOLKIT_VPATH%g
19289 s%@TOOLCHAIN_NAME@%$TOOLCHAIN_NAME%g
19290 s%@TOOLCHAIN_DEFS@%$TOOLCHAIN_DEFS%g
19291 s%@TOOLCHAIN_DLL_DEFS@%$TOOLCHAIN_DLL_DEFS%g
19292 s%@cross_compiling@%$cross_compiling%g
19293 s%@WXCONFIG_LIBS@%$WXCONFIG_LIBS%g
19294 s%@WXCONFIG_LIBS_GL@%$WXCONFIG_LIBS_GL%g
19295 s%@WXCONFIG_LIBS_STATIC@%$WXCONFIG_LIBS_STATIC%g
19296 s%@WXCONFIG_LIBS_STATIC_GL@%$WXCONFIG_LIBS_STATIC_GL%g
19297 s%@WXCONFIG_INCLUDE@%$WXCONFIG_INCLUDE%g
19298 s%@ALL_OBJECTS@%$ALL_OBJECTS%g
19299 s%@GUIDIST@%$GUIDIST%g
19300 s%@PORT_FILES@%$PORT_FILES%g
19301 s%@DISTDIR@%$DISTDIR%g
19302 s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
19303 s%@LDFLAGS_GL@%$LDFLAGS_GL%g
19304 s%@OPENGL_LIBS@%$OPENGL_LIBS%g
19305 s%@DMALLOC_LIBS@%$DMALLOC_LIBS%g
19306 s%@EXTRADEFS@%$EXTRADEFS%g
19307 s%@RESFLAGS@%$RESFLAGS%g
19308 s%@RESPROGRAMOBJ@%$RESPROGRAMOBJ%g
19309 s%@WX_RESOURCES_MACOSX@%$WX_RESOURCES_MACOSX%g
19310 s%@WX_RESOURCES_MACOSX_COMPILED@%$WX_RESOURCES_MACOSX_COMPILED%g
19311 s%@LIBWXMACRES@%$LIBWXMACRES%g
19312 s%@LIBWXMACRESCOMP@%$LIBWXMACRESCOMP%g
19313 s%@LIBWXMACRESWXCONFIG@%$LIBWXMACRESWXCONFIG%g
19314 s%@DLLTOOL@%$DLLTOOL%g
19318 s%@MAKEINFO@%$MAKEINFO%g
19319 s%@INSTALL_LIBRARY@%$INSTALL_LIBRARY%g
19320 s%@SET_MAKE@%$SET_MAKE%g
19321 s%@subdirs@%$subdirs%g
19326 cat >> $CONFIG_STATUS <<\EOF
19328 # Split the substitutions into bite-sized pieces for seds with
19329 # small command number limits, like on Digital OSF/1 and HP-UX.
19330 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
19331 ac_file
=1 # Number of current file.
19332 ac_beg
=1 # First line for current file.
19333 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
19336 while $ac_more_lines; do
19337 if test $ac_beg -gt 1; then
19338 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
19340 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
19342 if test ! -s conftest.s
$ac_file; then
19343 ac_more_lines
=false
19344 rm -f conftest.s
$ac_file
19346 if test -z "$ac_sed_cmds"; then
19347 ac_sed_cmds
="sed -f conftest.s$ac_file"
19349 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
19351 ac_file
=`expr $ac_file + 1`
19353 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
19356 if test -z "$ac_sed_cmds"; then
19361 cat >> $CONFIG_STATUS <<EOF
19363 CONFIG_FILES=\${CONFIG_FILES-"wx-config
19370 cat >> $CONFIG_STATUS <<\EOF
19371 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
19372 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
19374 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
19375 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
19376 *) ac_file_in
="${ac_file}.in" ;;
19379 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
19381 # Remove last slash and all that follows it. Not all systems have dirname.
19382 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
19383 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
19384 # The file is in a subdirectory.
19385 test ! -d "$ac_dir" && mkdir "$ac_dir"
19386 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
19387 # A "../" for each directory in $ac_dir_suffix.
19388 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
19390 ac_dir_suffix
= ac_dots
=
19393 case "$ac_given_srcdir" in
19395 if test -z "$ac_dots"; then top_srcdir
=.
19396 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
19397 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
19398 *) # Relative path.
19399 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
19400 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
19403 case "$ac_given_INSTALL" in
19404 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
19405 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
19408 echo creating
"$ac_file"
19410 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
19412 *Makefile
*) ac_comsub
="1i\\
19413 # $configure_input" ;;
19417 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
19419 s%@configure_input@%$configure_input%g
19420 s%@srcdir@%$srcdir%g
19421 s%@top_srcdir@%$top_srcdir%g
19422 s%@INSTALL@%$INSTALL%g
19423 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
19427 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
19428 # NAME is the cpp macro being defined and VALUE is the value it is being given.
19430 # ac_d sets the value in "#define NAME VALUE" lines.
19431 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
19432 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
19435 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
19436 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
19437 ac_uB
='\([ ]\)%\1#\2define\3'
19440 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
19441 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
19442 ac_eB
='$%\1#\2define\3'
19446 if test "${CONFIG_HEADERS+set}" != set; then
19448 cat >> $CONFIG_STATUS <<EOF
19449 CONFIG_HEADERS="setup.h:setup.h.in"
19451 cat >> $CONFIG_STATUS <<\EOF
19453 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
19454 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
19456 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
19457 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
19458 *) ac_file_in
="${ac_file}.in" ;;
19461 echo creating
$ac_file
19463 rm -f conftest.frag conftest.
in conftest.out
19464 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
19465 cat $ac_file_inputs > conftest.
in
19469 # Transform confdefs.h into a sed script conftest.vals that substitutes
19470 # the proper values into config.h.in to produce config.h. And first:
19471 # Protect against being on the right side of a sed subst in config.status.
19472 # Protect against being in an unquoted here document in config.status.
19473 rm -f conftest.vals
19474 cat > conftest.hdr
<<\EOF
19477 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
19481 sed -n -f conftest.hdr confdefs.h > conftest.vals
19484 # This sed command replaces #undef with comments. This is necessary, for
19485 # example, in the case of _POSIX_SOURCE, which is predefined and required
19486 # on some systems where configure will not decide to define it.
19487 cat >> conftest.vals <<\EOF
19488 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
19491 # Break up conftest.vals because some shells have a limit on
19492 # the size of here documents, and old seds have small limits too.
19494 rm -f conftest.tail
19497 ac_lines=`grep -c . conftest.vals
`
19498 # grep -c gives empty output for an empty file on some AIX systems.
19499 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
19500 # Write a limited-size here document to conftest.frag.
19501 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
19502 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
19504 sed -f conftest.frag conftest.in > conftest.out
19506 mv conftest.out conftest.in
19507 ' >> $CONFIG_STATUS
19508 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
19509 rm -f conftest.vals
19510 mv conftest.tail conftest.vals
19512 rm -f conftest.vals
19514 cat >> $CONFIG_STATUS <<\EOF
19515 rm -f conftest.frag conftest.h
19516 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
19517 cat conftest.in >> conftest.h
19519 if cmp -s $ac_file conftest.h 2>/dev/null; then
19520 echo "$ac_file is unchanged"
19523 # Remove last slash and all that follows it. Not all systems have dirname.
19524 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
19525 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
19526 # The file is in a subdirectory.
19527 test ! -d "$ac_dir" && mkdir "$ac_dir"
19530 mv conftest.h $ac_file
19535 cat >> $CONFIG_STATUS <<EOF
19537 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
19542 cat >> $CONFIG_STATUS <<\EOF
19544 if test ! -h wx-config; then
19546 mv wx-config wx${TOOLCHAIN_NAME}-config
19547 ${LN_S} wx${TOOLCHAIN_NAME}-config wx-config
19550 if test ! -d lib; then
19553 if test ! -d lib/wx; then
19556 if test ! -d lib/wx/include; then
19557 mkdir lib/wx/include
19559 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}; then
19560 mkdir lib/wx/include/${TOOLCHAIN_NAME}
19562 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}/wx; then
19563 mkdir lib/wx/include/${TOOLCHAIN_NAME}/wx
19565 if test -f setup.h; then
19566 mv -f setup.h lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h
19571 chmod +x $CONFIG_STATUS
19572 rm -fr confdefs* $ac_clean_files
19573 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
19575 if test "$no_recursion" != yes; then
19577 # Remove --cache-file and --srcdir arguments so they do not pile up.
19578 ac_sub_configure_args=
19580 for ac_arg in $ac_configure_args; do
19581 if test -n "$ac_prev"; then
19586 -cache-file | --cache-file | --cache-fil | --cache-fi \
19587 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
19588 ac_prev=cache_file ;;
19589 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
19590 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
19592 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
19594 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
19596 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
19600 for ac_config_dir in demos samples utils contrib; do
19602 # Do not complain, so a configure script can configure whichever
19603 # parts of a large source tree are present.
19604 if test ! -d $srcdir/$ac_config_dir; then
19608 echo configuring in $ac_config_dir
19613 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
19615 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
19623 # A "../" for each directory in /$ac_config_dir.
19624 ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
19627 .) # No --srcdir option. We are building in place.
19628 ac_sub_srcdir=$srcdir ;;
19629 /*) # Absolute path.
19630 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
19631 *) # Relative path.
19632 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
19635 # Check for guested configure; otherwise get Cygnus style configure.
19636 if test -f $ac_sub_srcdir/configure; then
19637 ac_sub_configure=$ac_sub_srcdir/configure
19638 elif test -f $ac_sub_srcdir/configure.in; then
19639 ac_sub_configure=$ac_configure
19641 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
19645 # The recursion is here.
19646 if test -n "$ac_sub_configure"; then
19648 # Make the cache file name correct relative to the subdirectory.
19649 case "$cache_file" in
19650 /*) ac_sub_cache_file=$cache_file ;;
19651 *) # Relative path.
19652 ac_sub_cache_file="$ac_dots$cache_file" ;;
19654 case "$ac_given_INSTALL" in
19655 [/$]*) INSTALL="$ac_given_INSTALL" ;;
19656 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
19659 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
19660 # The eval makes quoting arguments work.
19661 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
19664 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }