3 # From configure.in Id: configure.in
39 # Configure paths for GTK+
47 # Guess values for system-dependent variables and create Makefiles.
48 # Generated automatically using autoconf version 2.13
49 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
51 # This configure script is free software; the Free Software Foundation
52 # gives unlimited permission to copy, distribute and modify it.
56 ac_default_prefix
=/usr
/local
57 # Any additions from configure.in:
59 --enable-gui use GUI classes"
61 --enable-universal use wxWindows GUI controls instead of native ones"
65 --with-motif use Motif/Lesstif"
67 --with-mac use Mac OS X"
71 --with-cygwin use Cygwin for MS-Windows"
73 --with-mingw use GCC Minimal MS-Windows"
75 --with-pm use OS/2 Presentation Manager"
77 --with-mgl use SciTech MGL"
79 --enable-gtk2 use GTK+ 2.0 if available (EXPERIMENTAL)"
81 --with-libpng use libpng (PNG image format)"
83 --with-libjpeg use libjpeg (JPEG file format)"
85 --with-libtiff use libtiff (TIFF file format)"
87 --with-freetype use freetype (font rasterizer)"
89 --with-opengl use OpenGL (or Mesa)"
91 --with-dmalloc use dmalloc library (www.letters.com/dmalloc)"
93 --with-regex enable support for wxRegEx class"
95 --with-zlib use zlib for LZW compression"
97 --with-odbc use the IODBC and wxODBC classes"
99 --enable-shared create shared library code"
101 --enable-soname set the DT_SONAME field in ELF shared libraries"
103 --enable-optimise create optimised code"
105 --enable-debug same as debug_flag and debug_info"
107 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)"
109 --enable-debug_info create code with debugging information"
111 --enable-debug_gdb create code with extra GDB debugging information"
113 --enable-debug_cntxt use wxDebugContext"
115 --enable-mem_tracing create code with memory tracing"
117 --enable-profile create code with profiling information"
119 --enable-no_rtti create code without RTTI information"
121 --enable-no_exceptions create code without C++ exceptions handling"
123 --enable-permissive compile code disregarding strict ANSI"
125 --enable-no_deps create code without dependency information"
127 --enable-compat20 enable wxWindows 2.0 compatibility"
129 --enable-compat22 enable wxWindows 2.2 compatibility"
131 --enable-intl use internationalization system"
133 --enable-config use wxConfig (and derived) classes"
135 --enable-sockets use socket/network classes"
137 --enable-ipc use interprocess communication (wxSocket etc.)"
139 --enable-cmdline use wxCmdLineParser class"
141 --enable-datetime use wxDateTime class"
143 --enable-timedate use obsolete wxDate/wxTime classes"
145 --enable-stopwatch use wxStopWatch class"
147 --enable-dialupman use dialup network classes"
149 --enable-apple_ieee use the Apple IEEE codec"
151 --enable-timer use wxTimer class"
153 --enable-wave use wxWave class"
155 --enable-fraction use wxFraction class"
157 --enable-dynlib use wxLibrary class for DLL loading"
159 --enable-longlong use wxLongLong class"
161 --enable-geometry use geometry class"
163 --enable-log use logging system"
165 --enable-streams use wxStream etc classes"
167 --enable-file use wxFile classes"
169 --enable-ffile use wxFFile classes"
171 --enable-textfile use wxTextFile classes"
173 --enable-fontmap use font encodings conversion classes"
175 --enable-unicode compile wxString with Unicode support"
177 --enable-wxprintfv use wxWindows implementation of vprintf()"
179 --enable-std_iostreams use standard C++ stream classes"
181 --enable-filesystem use virtual file systems classes"
183 --enable-fs_inet use virtual HTTP/FTP filesystems"
185 --enable-fs_zip use virtual ZIP filesystems"
187 --enable-zipstream use wxZipInputStream"
189 --enable-catch_segvs catch signals and pass them to wxApp::OnFatalException"
191 --enable-snglinst use wxSingleInstanceChecker class"
193 --enable-mimetypes use wxMimeTypesManager"
195 --enable-sysoptions use wxSystemOptions"
197 --enable-threads use threads"
199 --enable-serial use class serialization"
201 --enable-docview use document view architecture"
203 --enable-help use help subsystem"
205 --enable-mshtmlhelp use MS HTML Help (win32)"
207 --enable-html use wxHTML sub-library"
209 --enable-htmlhelp use wxHTML-based help"
211 --enable-constraints use layout-constraints system"
213 --enable-printarch use printing architecture"
215 --enable-mdi use multiple document interface architecture"
217 --enable-loggui use standard GUI logger"
219 --enable-logwin use wxLogWindow"
221 --enable-postscript use wxPostscriptDC device context (default for gtk+)"
223 --enable-prologio use Prolog IO library"
225 --enable-resources use wxWindows resources"
227 --enable-xresources use X resources for save (default for gtk+)"
229 --enable-clipboard use wxClipboard classes"
231 --enable-dnd use Drag'n'Drop classes"
233 --enable-metafile use win32 metafiles"
235 --enable-treelayout use wxTreeLayout classes"
237 --enable-controls use all usual controls"
239 --enable-accel use accelerators"
241 --enable-button use wxButton class"
243 --enable-bmpbutton use wxBitmapButton class"
245 --enable-calendar use wxCalendarCtrl class"
247 --enable-caret use wxCaret class"
249 --enable-checkbox use wxCheckBox class"
251 --enable-checklst use wxCheckListBox (listbox with checkboxes) class"
253 --enable-choice use wxChoice class"
255 --enable-combobox use wxComboBox classes"
257 --enable-gauge use wxGauge class"
259 --enable-grid use wxGrid class"
261 --enable-newgrid use new wxGrid class"
263 --enable-imaglist use wxImageList class"
265 --enable-listbox use wxListBox class"
267 --enable-listctrl use wxListCtrl class"
269 --enable-notebook use wxNotebook class"
271 --enable-propsheet use wxPropertySheet class"
273 --enable-radiobox use wxRadioBox class"
275 --enable-radiobtn use wxRadioButton class"
277 --enable-sash use wxSashWindow class"
279 --enable-scrollbar use wxScrollBar class and scrollable windows"
281 --enable-slider use wxSlider class"
283 --enable-spinbtn use wxSpinButton class"
285 --enable-spinctrl use wxSpinCtrl class"
287 --enable-splitter use wxSplitterWindow class"
289 --enable-statbmp use wxStaticBitmap class"
291 --enable-statbox use wxStaticBox class"
293 --enable-statline use wxStaticLine class"
295 --enable-stattext use wxStaticText class"
297 --enable-statusbar use wxStatusBar class"
299 --enable-tabdialog use wxTabControl class"
301 --enable-textctrl use wxTextCtrl class"
303 --enable-togglebtn use wxToggleButton class"
305 --enable-toolbar use wxToolBar class"
307 --enable-tbarnative use native wxToolBar class"
309 --enable-tbarsmpl use wxToolBarSimple class"
311 --enable-treectrl use wxTreeCtrl class"
313 --enable-popupwin use wxPopUpWindow class"
315 --enable-commondlg use all common dialogs"
317 --enable-choicedlg use wxChoiceDialog"
319 --enable-coldlg use wxColourDialog"
321 --enable-filedlg use wxFileDialog"
323 --enable-finddlg use wxFindReplaceDialog"
325 --enable-fontdlg use wxFontDialog"
327 --enable-dirdlg use wxDirDialog"
329 --enable-msgdlg use wxMessageDialog"
331 --enable-numberdlg use wxNumberEntryDialog"
333 --enable-splash use wxSplashScreen"
335 --enable-textdlg use wxTextDialog"
337 --enable-tipdlg use startup tips"
339 --enable-progressdlg use wxProgressDialog"
341 --enable-wizarddlg use wxWizard"
343 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes"
345 --enable-miniframe use wxMiniFrame class"
347 --enable-tooltips use wxToolTip class"
349 --enable-splines use spline drawing code"
351 --enable-validators use wxValidator and derived classes"
353 --enable-busyinfo use wxBusyInfo"
355 --enable-joystick use wxJoystick (Linux only)"
357 --enable-metafiles use wxMetaFile (Windows only)"
359 --enable-dragimage use wxDragImage"
361 --enable-palette use wxPalette class"
363 --enable-image use wxImage class"
365 --enable-gif use gif images (GIF file format)"
367 --enable-pcx use pcx images (PCX file format)"
369 --enable-pnm use pnm images (PNM file format)"
371 --enable-xpm use xpm images (XPM file format)"
373 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
375 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
377 --disable-gtktest Do not try to compile and run a test GTK program"
379 --with-x use the X Window System"
381 # Initialize some variables set by options.
382 # The variables have the same names as the options, with
383 # dashes changed to underlines.
385 cache_file
=.
/config.cache
394 program_transform_name
=s
,x
,x
,
402 bindir
='${exec_prefix}/bin'
403 sbindir
='${exec_prefix}/sbin'
404 libexecdir
='${exec_prefix}/libexec'
405 datadir
='${prefix}/share'
406 sysconfdir
='${prefix}/etc'
407 sharedstatedir
='${prefix}/com'
408 localstatedir
='${prefix}/var'
409 libdir
='${exec_prefix}/lib'
410 includedir
='${prefix}/include'
411 oldincludedir
='/usr/include'
412 infodir
='${prefix}/info'
413 mandir
='${prefix}/man'
415 # Initialize some other variables.
418 SHELL
=${CONFIG_SHELL-/bin/sh}
419 # Maximum number of lines to put in a shell here document.
426 # If the previous option needs an argument, assign it.
427 if test -n "$ac_prev"; then
428 eval "$ac_prev=\$ac_option"
434 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
438 # Accept the important Cygnus configure options, so we can diagnose typos.
442 -bindir | --bindir | --bindi | --bind | --bin | --bi)
444 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
445 bindir
="$ac_optarg" ;;
447 -build | --build | --buil | --bui | --bu)
449 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
450 build
="$ac_optarg" ;;
452 -cache-file | --cache-file | --cache-fil | --cache-fi \
453 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
454 ac_prev
=cache_file
;;
455 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
456 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
457 cache_file
="$ac_optarg" ;;
459 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
461 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
463 datadir
="$ac_optarg" ;;
465 -disable-* | --disable-*)
466 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
467 # Reject names that are not valid shell variable names.
468 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
469 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
471 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
472 eval "enable_${ac_feature}=no" ;;
474 -enable-* | --enable-*)
475 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
476 # Reject names that are not valid shell variable names.
477 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
478 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
480 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
485 eval "enable_${ac_feature}='$ac_optarg'" ;;
487 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
488 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
489 | --exec | --exe | --ex)
490 ac_prev
=exec_prefix
;;
491 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
492 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
493 | --exec=* | --exe=* | --ex=*)
494 exec_prefix
="$ac_optarg" ;;
496 -gas | --gas | --ga | --g)
497 # Obsolete; use --with-gas.
500 -help | --help | --hel | --he)
501 # Omit some internal or obsolete options to make the list less imposing.
502 # This message is too long to be a string in the A/UX 3.1 sh.
504 Usage: configure [options] [host]
505 Options: [defaults in brackets after descriptions]
507 --cache-file=FILE cache test results in FILE
508 --help print this message
509 --no-create do not create output files
510 --quiet, --silent do not print \`checking...' messages
511 --version print the version of autoconf that created configure
512 Directory and file names:
513 --prefix=PREFIX install architecture-independent files in PREFIX
515 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
517 --bindir=DIR user executables in DIR [EPREFIX/bin]
518 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
519 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
520 --datadir=DIR read-only architecture-independent data in DIR
522 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
523 --sharedstatedir=DIR modifiable architecture-independent data in DIR
525 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
526 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
527 --includedir=DIR C header files in DIR [PREFIX/include]
528 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
529 --infodir=DIR info documentation in DIR [PREFIX/info]
530 --mandir=DIR man documentation in DIR [PREFIX/man]
531 --srcdir=DIR find the sources in DIR [configure dir or ..]
532 --program-prefix=PREFIX prepend PREFIX to installed program names
533 --program-suffix=SUFFIX append SUFFIX to installed program names
534 --program-transform-name=PROGRAM
535 run sed PROGRAM on installed program names
539 --build=BUILD configure for building on BUILD [BUILD=HOST]
540 --host=HOST configure for HOST [guessed]
541 --target=TARGET configure for TARGET [TARGET=HOST]
542 Features and packages:
543 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
544 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
545 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
546 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
547 --x-includes=DIR X include files are in DIR
548 --x-libraries=DIR X library files are in DIR
550 if test -n "$ac_help"; then
551 echo "--enable and --with options recognized:$ac_help"
555 -host | --host | --hos | --ho)
557 -host=* | --host=* | --hos=* | --ho=*)
560 -includedir | --includedir | --includedi | --included | --include \
561 | --includ | --inclu | --incl | --inc)
562 ac_prev
=includedir
;;
563 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
564 | --includ=* | --inclu=* | --incl=* | --inc=*)
565 includedir
="$ac_optarg" ;;
567 -infodir | --infodir | --infodi | --infod | --info | --inf)
569 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
570 infodir
="$ac_optarg" ;;
572 -libdir | --libdir | --libdi | --libd)
574 -libdir=* | --libdir=* | --libdi=* | --libd=*)
575 libdir
="$ac_optarg" ;;
577 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
578 | --libexe | --libex | --libe)
579 ac_prev
=libexecdir
;;
580 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
581 | --libexe=* | --libex=* | --libe=*)
582 libexecdir
="$ac_optarg" ;;
584 -localstatedir | --localstatedir | --localstatedi | --localstated \
585 | --localstate | --localstat | --localsta | --localst \
586 | --locals | --local | --loca | --loc | --lo)
587 ac_prev
=localstatedir
;;
588 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
589 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
590 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
591 localstatedir
="$ac_optarg" ;;
593 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
595 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
596 mandir
="$ac_optarg" ;;
599 # Obsolete; use --without-fp.
602 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
606 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
607 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
610 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
611 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
612 | --oldin | --oldi | --old | --ol | --o)
613 ac_prev
=oldincludedir
;;
614 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
615 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
616 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
617 oldincludedir
="$ac_optarg" ;;
619 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
621 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
622 prefix
="$ac_optarg" ;;
624 -program-prefix | --program-prefix | --program-prefi | --program-pref \
625 | --program-pre | --program-pr | --program-p)
626 ac_prev
=program_prefix
;;
627 -program-prefix=* | --program-prefix=* | --program-prefi=* \
628 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
629 program_prefix
="$ac_optarg" ;;
631 -program-suffix | --program-suffix | --program-suffi | --program-suff \
632 | --program-suf | --program-su | --program-s)
633 ac_prev
=program_suffix
;;
634 -program-suffix=* | --program-suffix=* | --program-suffi=* \
635 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
636 program_suffix
="$ac_optarg" ;;
638 -program-transform-name | --program-transform-name \
639 | --program-transform-nam | --program-transform-na \
640 | --program-transform-n | --program-transform- \
641 | --program-transform | --program-transfor \
642 | --program-transfo | --program-transf \
643 | --program-trans | --program-tran \
644 | --progr-tra | --program-tr | --program-t)
645 ac_prev
=program_transform_name
;;
646 -program-transform-name=* | --program-transform-name=* \
647 | --program-transform-nam=* | --program-transform-na=* \
648 | --program-transform-n=* | --program-transform-=* \
649 | --program-transform=* | --program-transfor=* \
650 | --program-transfo=* | --program-transf=* \
651 | --program-trans=* | --program-tran=* \
652 | --progr-tra=* | --program-tr=* | --program-t=*)
653 program_transform_name
="$ac_optarg" ;;
655 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
656 | -silent | --silent | --silen | --sile | --sil)
659 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
661 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
663 sbindir
="$ac_optarg" ;;
665 -sharedstatedir | --sharedstatedir | --sharedstatedi \
666 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
667 | --sharedst | --shareds | --shared | --share | --shar \
669 ac_prev
=sharedstatedir
;;
670 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
671 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
672 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
674 sharedstatedir
="$ac_optarg" ;;
676 -site | --site | --sit)
678 -site=* | --site=* | --sit=*)
681 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
683 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
684 srcdir
="$ac_optarg" ;;
686 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
687 | --syscon | --sysco | --sysc | --sys | --sy)
688 ac_prev
=sysconfdir
;;
689 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
690 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
691 sysconfdir
="$ac_optarg" ;;
693 -target | --target | --targe | --targ | --tar | --ta | --t)
695 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
696 target
="$ac_optarg" ;;
698 -v | -verbose | --verbose | --verbos | --verbo | --verb)
701 -version | --version | --versio | --versi | --vers)
702 echo "configure generated by autoconf version 2.13"
706 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
707 # Reject names that are not valid shell variable names.
708 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
709 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
711 ac_package
=`echo $ac_package| sed 's/-/_/g'`
716 eval "with_${ac_package}='$ac_optarg'" ;;
718 -without-* | --without-*)
719 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
720 # Reject names that are not valid shell variable names.
721 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
722 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
724 ac_package
=`echo $ac_package| sed 's/-/_/g'`
725 eval "with_${ac_package}=no" ;;
728 # Obsolete; use --with-x.
731 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
732 | --x-incl | --x-inc | --x-in | --x-i)
733 ac_prev
=x_includes
;;
734 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
735 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
736 x_includes
="$ac_optarg" ;;
738 -x-libraries | --x-libraries | --x-librarie | --x-librari \
739 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
740 ac_prev
=x_libraries
;;
741 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
742 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
743 x_libraries
="$ac_optarg" ;;
745 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
749 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
750 echo "configure: warning: $ac_option: invalid host type" 1>&2
752 if test "x$nonopt" != xNONE
; then
753 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
761 if test -n "$ac_prev"; then
762 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
765 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
767 # File descriptor usage:
770 # 2 errors and warnings
771 # 3 some systems may open it to /dev/tty
772 # 4 used on the Kubota Titan
773 # 6 checking for... messages and results
774 # 5 compiler messages saved in config.log
775 if test "$silent" = yes; then
783 This file contains any messages produced by compilers while
784 running configure, to aid debugging if configure makes a mistake.
787 # Strip out --no-create and --no-recursion so they do not pile up.
788 # Also quote any args containing shell metacharacters.
793 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
794 | --no-cr | --no-c) ;;
795 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
796 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
797 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
798 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
799 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
804 # Only set these to C if already set. These must not be set unconditionally
805 # because not all systems understand e.g. LANG=C (notably SCO).
806 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
807 # Non-C LC_CTYPE values break the ctype check.
808 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
809 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
810 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
811 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
813 # confdefs.h avoids OS command line length limits that DEFS can exceed.
814 rm -rf conftest
* confdefs.h
815 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
818 # A filename unique to this package, relative to the directory that
819 # configure is in, which we can look for to find out if srcdir is correct.
820 ac_unique_file
=wx
-config.
in
822 # Find the source files, if location was not specified.
823 if test -z "$srcdir"; then
824 ac_srcdir_defaulted
=yes
825 # Try the directory containing this script, then its parent.
827 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
828 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
830 if test ! -r $srcdir/$ac_unique_file; then
834 ac_srcdir_defaulted
=no
836 if test ! -r $srcdir/$ac_unique_file; then
837 if test "$ac_srcdir_defaulted" = yes; then
838 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
840 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
843 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
845 # Prefer explicitly selected file to automatically selected ones.
846 if test -z "$CONFIG_SITE"; then
847 if test "x$prefix" != xNONE
; then
848 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
850 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
853 for ac_site_file
in $CONFIG_SITE; do
854 if test -r "$ac_site_file"; then
855 echo "loading site script $ac_site_file"
860 if test -r "$cache_file"; then
861 echo "loading cache $cache_file"
864 echo "creating cache $cache_file"
869 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
870 ac_cpp
='$CPP $CPPFLAGS'
871 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
872 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
873 cross_compiling
=$ac_cv_prog_cc_cross
877 if (echo "testing\c"; echo 1,2,3) | grep c
>/dev
/null
; then
878 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
879 if (echo -n testing
; echo 1,2,3) | sed s
/-n/xn
/ | grep xn
>/dev
/null
; then
886 ac_n
= ac_c
='\c' ac_t
=
892 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
893 if test -f $ac_dir/install-sh; then
895 ac_install_sh
="$ac_aux_dir/install-sh -c"
897 elif test -f $ac_dir/install.sh
; then
899 ac_install_sh
="$ac_aux_dir/install.sh -c"
903 if test -z "$ac_aux_dir"; then
904 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
906 ac_config_guess
=$ac_aux_dir/config.guess
907 ac_config_sub
=$ac_aux_dir/config.sub
908 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
911 # Do some error checking and defaulting for the host and target type.
913 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
916 # 1. You are not allowed to specify --host, --target, and nonopt at the
918 # 2. Host defaults to nonopt.
919 # 3. If nonopt is not specified, then host defaults to the current host,
920 # as determined by config.guess.
921 # 4. Target and build default to nonopt.
922 # 5. If nonopt is not specified, then target and build default to host.
924 # The aliases save the names the user supplied, while $host etc.
925 # will get canonicalized.
926 case $host---$target---$nonopt in
927 NONE
---*---* | *---NONE---* | *---*---NONE) ;;
928 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
932 # Make sure we can run config.sub.
933 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
934 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
937 echo $ac_n "checking host system type""... $ac_c" 1>&6
938 echo "configure:939: checking host system type" >&5
941 case "$host_alias" in
945 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
946 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
948 *) host_alias
=$nonopt ;;
952 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
953 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
954 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
955 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
956 echo "$ac_t""$host" 1>&6
958 echo $ac_n "checking target system type""... $ac_c" 1>&6
959 echo "configure:960: checking target system type" >&5
962 case "$target_alias" in
965 NONE
) target_alias
=$host_alias ;;
966 *) target_alias
=$nonopt ;;
970 target
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
971 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
972 target_vendor
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
973 target_os
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
974 echo "$ac_t""$target" 1>&6
976 echo $ac_n "checking build system type""... $ac_c" 1>&6
977 echo "configure:978: checking build system type" >&5
980 case "$build_alias" in
983 NONE
) build_alias
=$host_alias ;;
984 *) build_alias
=$nonopt ;;
988 build
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
989 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
990 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
991 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
992 echo "$ac_t""$build" 1>&6
994 test "$host_alias" != "$target_alias" &&
995 test "$program_prefix$program_suffix$program_transform_name" = \
997 program_prefix
=${target_alias}-
1001 WX_MAJOR_VERSION_NUMBER
=2
1002 WX_MINOR_VERSION_NUMBER
=3
1005 WX_VERSION
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER.
$WX_RELEASE_NUMBER
1006 WX_RELEASE
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER
1041 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1043 ALL_TOOLKITS
="CYGWIN GTK MAC MGL MINGW MOTIF PM WINE"
1048 DEFAULT_wxUSE_MOTIF
=0
1051 DEFAULT_wxUSE_WINE
=0
1053 DEFAULT_DEFAULT_wxUSE_GTK
=0
1054 DEFAULT_DEFAULT_wxUSE_MAC
=0
1055 DEFAULT_DEFAULT_wxUSE_MGL
=0
1056 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1057 DEFAULT_DEFAULT_wxUSE_MSW
=0
1058 DEFAULT_DEFAULT_wxUSE_PM
=0
1059 DEFAULT_DEFAULT_wxUSE_WINE
=0
1067 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1068 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1070 cat >> confdefs.h
<<\EOF
1077 cat >> confdefs.h
<<\EOF
1082 if test "x$TMP" = "xalpha"; then
1084 cat >> confdefs.h
<<\EOF
1089 DEFAULT_DEFAULT_wxUSE_GTK
=1
1091 *-*-irix5* | *-*-irix6* )
1094 cat >> confdefs.h
<<\EOF
1098 cat >> confdefs.h
<<\EOF
1102 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1108 cat >> confdefs.h
<<\EOF
1112 cat >> confdefs.h
<<\EOF
1113 #define __SOLARIS__ 1
1116 cat >> confdefs.h
<<\EOF
1120 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1121 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1127 cat >> confdefs.h
<<\EOF
1131 cat >> confdefs.h
<<\EOF
1135 cat >> confdefs.h
<<\EOF
1139 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1144 cat >> confdefs.h
<<\EOF
1145 #define __FREEBSD__ 1
1148 cat >> confdefs.h
<<\EOF
1152 DEFAULT_DEFAULT_wxUSE_GTK
=1
1157 cat >> confdefs.h
<<\EOF
1158 #define __FREEBSD__ 1
1161 cat >> confdefs.h
<<\EOF
1162 #define __OPENBSD__ 1
1165 DEFAULT_DEFAULT_wxUSE_GTK
=1
1170 cat >> confdefs.h
<<\EOF
1171 #define __FREEBSD__ 1
1174 cat >> confdefs.h
<<\EOF
1175 #define __NETBSD__ 1
1178 DEFAULT_DEFAULT_wxUSE_GTK
=1
1183 cat >> confdefs.h
<<\EOF
1187 cat >> confdefs.h
<<\EOF
1191 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1192 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1197 cat >> confdefs.h
<<\EOF
1201 cat >> confdefs.h
<<\EOF
1205 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1210 cat >> confdefs.h
<<\EOF
1214 cat >> confdefs.h
<<\EOF
1218 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1224 cat >> confdefs.h
<<\EOF
1228 cat >> confdefs.h
<<\EOF
1232 cat >> confdefs.h
<<\EOF
1236 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1239 *-*-cygwin* | *-*-mingw32* )
1243 cat >> confdefs.h
<<\EOF
1247 cat >> confdefs.h
<<\EOF
1251 cat >> confdefs.h
<<\EOF
1252 #define __WINDOWS__ 1
1255 cat >> confdefs.h
<<\EOF
1256 #define __GNUWIN32__ 1
1259 cat >> confdefs.h
<<\EOF
1263 cat >> confdefs.h
<<\EOF
1264 #define WINVER 0x0400
1269 DEFAULT_DEFAULT_wxUSE_MSW
=1
1273 cat >> confdefs.h
<<\EOF
1278 DEFAULT_DEFAULT_wxUSE_PM
=1
1285 cat >> confdefs.h
<<\EOF
1289 cat >> confdefs.h
<<\EOF
1290 #define __DARWIN__ 1
1293 cat >> confdefs.h
<<\EOF
1294 #define __POWERPC__ 1
1297 DEFAULT_DEFAULT_wxUSE_MAC
=1
1302 cat >> confdefs.h
<<\EOF
1309 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
1312 if test "$USE_UNIX" = 1 ; then
1314 cat >> confdefs.h
<<\EOF
1320 if test "$USE_LINUX" = 1; then
1321 echo $ac_n "checking for glibc 2.1 or later""... $ac_c" 1>&6
1322 echo "configure:1323: checking for glibc 2.1 or later" >&5
1323 if eval "test \"`echo '$''{'wx_lib_glibc21'+set}'`\" = set"; then
1324 echo $ac_n "(cached) $ac_c" 1>&6
1326 cat > conftest.
$ac_ext <<EOF
1327 #line 1328 "configure"
1328 #include "confdefs.h"
1329 #include <features.h>
1332 #if !__GLIBC_PREREQ(2, 1)
1338 if { (eval echo configure
:1339: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1344 echo "configure: failed program was:" >&5
1345 cat conftest.
$ac_ext >&5
1356 echo "$ac_t""$wx_lib_glibc21" 1>&6
1357 if test "$wx_lib_glibc21" = "yes"; then
1358 cat >> confdefs.h
<<\EOF
1359 #define wxHAVE_GLIBC2 1
1368 wx_arg_cache_file
="configarg.cache"
1369 echo "loading argument cache $wx_arg_cache_file"
1370 rm -f ${wx_arg_cache_file}.tmp
1371 touch ${wx_arg_cache_file}.tmp
1372 touch ${wx_arg_cache_file}
1376 if test $DEBUG_CONFIGURE = 1; then
1377 DEFAULT_wxUSE_UNIVERSAL
=no
1379 DEFAULT_wxUSE_THREADS
=yes
1381 DEFAULT_wxUSE_SHARED
=yes
1382 DEFAULT_wxUSE_SONAME
=no
1383 DEFAULT_wxUSE_OPTIMISE
=no
1384 DEFAULT_wxUSE_PROFILE
=no
1385 DEFAULT_wxUSE_NO_DEPS
=no
1386 DEFAULT_wxUSE_NO_RTTI
=no
1387 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1388 DEFAULT_wxUSE_PERMISSIVE
=no
1389 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1390 DEFAULT_wxUSE_DEBUG_INFO
=yes
1391 DEFAULT_wxUSE_DEBUG_GDB
=yes
1392 DEFAULT_wxUSE_MEM_TRACING
=no
1393 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1394 DEFAULT_wxUSE_DMALLOC
=no
1395 DEFAULT_wxUSE_APPLE_IEEE
=no
1397 DEFAULT_wxUSE_LOG
=yes
1398 DEFAULT_wxUSE_LOGWINDOW
=no
1399 DEFAULT_wxUSE_LOGGUI
=no
1401 DEFAULT_wxUSE_GUI
=yes
1402 DEFAULT_wxUSE_CONTROLS
=no
1404 DEFAULT_wxUSE_REGEX
=no
1405 DEFAULT_wxUSE_ZLIB
=no
1406 DEFAULT_wxUSE_LIBPNG
=no
1407 DEFAULT_wxUSE_LIBJPEG
=no
1408 DEFAULT_wxUSE_LIBTIFF
=no
1409 DEFAULT_wxUSE_ODBC
=no
1410 DEFAULT_wxUSE_FREETYPE
=no
1411 DEFAULT_wxUSE_OPENGL
=no
1413 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
1414 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
1415 DEFAULT_wxUSE_STD_IOSTREAM
=no
1416 DEFAULT_wxUSE_CMDLINE_PARSER
=no
1417 DEFAULT_wxUSE_DATETIME
=no
1418 DEFAULT_wxUSE_TIMEDATE
=no
1419 DEFAULT_wxUSE_TIMER
=no
1420 DEFAULT_wxUSE_STOPWATCH
=no
1421 DEFAULT_wxUSE_FILE
=no
1422 DEFAULT_wxUSE_FFILE
=no
1423 DEFAULT_wxUSE_TEXTFILE
=no
1424 DEFAULT_wxUSE_WAVE
=no
1425 DEFAULT_wxUSE_INTL
=no
1426 DEFAULT_wxUSE_CONFIG
=no
1427 DEFAULT_wxUSE_FONTMAP
=no
1428 DEFAULT_wxUSE_STREAMS
=no
1429 DEFAULT_wxUSE_SOCKETS
=no
1430 DEFAULT_wxUSE_DIALUP_MANAGER
=no
1431 DEFAULT_wxUSE_SERIAL
=no
1432 DEFAULT_wxUSE_JOYSTICK
=no
1433 DEFAULT_wxUSE_DYNLIB_CLASS
=no
1434 DEFAULT_wxUSE_LONGLONG
=no
1435 DEFAULT_wxUSE_GEOMETRY
=no
1437 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
1438 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
1439 DEFAULT_wxUSE_POSTSCRIPT
=no
1441 DEFAULT_wxUSE_X_RESOURCES
=no
1442 DEFAULT_wxUSE_CLIPBOARD
=no
1443 DEFAULT_wxUSE_TOOLTIPS
=no
1444 DEFAULT_wxUSE_DRAG_AND_DROP
=no
1445 DEFAULT_wxUSE_DRAGIMAGE
=no
1446 DEFAULT_wxUSE_SPLINES
=no
1448 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
1449 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
1450 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
1452 DEFAULT_wxUSE_PROLOGIO
=no
1453 DEFAULT_wxUSE_RESOURCES
=no
1454 DEFAULT_wxUSE_CONSTRAINTS
=no
1455 DEFAULT_wxUSE_IPC
=no
1456 DEFAULT_wxUSE_HELP
=no
1457 DEFAULT_wxUSE_MS_HTML_HELP
=no
1458 DEFAULT_wxUSE_WXHTML_HELP
=no
1459 DEFAULT_wxUSE_TREELAYOUT
=no
1460 DEFAULT_wxUSE_METAFILE
=no
1461 DEFAULT_wxUSE_MIMETYPE
=no
1462 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
1464 DEFAULT_wxUSE_COMMONDLGS
=no
1465 DEFAULT_wxUSE_CHOICEDLG
=no
1466 DEFAULT_wxUSE_COLOURDLG
=no
1467 DEFAULT_wxUSE_DIRDLG
=no
1468 DEFAULT_wxUSE_FILEDLG
=no
1469 DEFAULT_wxUSE_FINDREPLDLG
=no
1470 DEFAULT_wxUSE_FONTDLG
=no
1471 DEFAULT_wxUSE_MSGDLG
=no
1472 DEFAULT_wxUSE_NUMBERDLG
=no
1473 DEFAULT_wxUSE_TEXTDLG
=no
1474 DEFAULT_wxUSE_SPLASH
=no
1475 DEFAULT_wxUSE_STARTUP_TIPS
=no
1476 DEFAULT_wxUSE_PROGRESSDLG
=no
1477 DEFAULT_wxUSE_WIZARDDLG
=no
1479 DEFAULT_wxUSE_MENUS
=no
1480 DEFAULT_wxUSE_MINIFRAME
=no
1481 DEFAULT_wxUSE_HTML
=no
1482 DEFAULT_wxUSE_FILESYSTEM
=no
1483 DEFAULT_wxUSE_FS_INET
=no
1484 DEFAULT_wxUSE_FS_ZIP
=no
1485 DEFAULT_wxUSE_BUSYINFO
=no
1486 DEFAULT_wxUSE_ZIPSTREAM
=no
1487 DEFAULT_wxUSE_VALIDATORS
=no
1489 DEFAULT_wxUSE_ACCEL
=no
1490 DEFAULT_wxUSE_BUTTON
=no
1491 DEFAULT_wxUSE_BMPBUTTON
=no
1492 DEFAULT_wxUSE_CALCTRL
=no
1493 DEFAULT_wxUSE_CARET
=no
1494 DEFAULT_wxUSE_CHECKBOX
=no
1495 DEFAULT_wxUSE_CHECKLST
=no
1496 DEFAULT_wxUSE_CHOICE
=no
1497 DEFAULT_wxUSE_COMBOBOX
=no
1498 DEFAULT_wxUSE_GAUGE
=no
1499 DEFAULT_wxUSE_GRID
=no
1500 DEFAULT_wxUSE_NEW_GRID
=no
1501 DEFAULT_wxUSE_IMAGLIST
=no
1502 DEFAULT_wxUSE_LISTBOX
=no
1503 DEFAULT_wxUSE_LISTCTRL
=no
1504 DEFAULT_wxUSE_NOTEBOOK
=no
1505 DEFAULT_wxUSE_PROPSHEET
=no
1506 DEFAULT_wxUSE_RADIOBOX
=no
1507 DEFAULT_wxUSE_RADIOBTN
=no
1508 DEFAULT_wxUSE_SASH
=no
1509 DEFAULT_wxUSE_SCROLLBAR
=no
1510 DEFAULT_wxUSE_SLIDER
=no
1511 DEFAULT_wxUSE_SPINBTN
=no
1512 DEFAULT_wxUSE_SPINCTRL
=no
1513 DEFAULT_wxUSE_SPLITTER
=no
1514 DEFAULT_wxUSE_STATBMP
=no
1515 DEFAULT_wxUSE_STATBOX
=no
1516 DEFAULT_wxUSE_STATLINE
=no
1517 DEFAULT_wxUSE_STATTEXT
=no
1518 DEFAULT_wxUSE_STATUSBAR
=yes
1519 DEFAULT_wxUSE_TABDIALOG
=no
1520 DEFAULT_wxUSE_TEXTCTRL
=no
1521 DEFAULT_wxUSE_TOGGLEBTN
=no
1522 DEFAULT_wxUSE_TOOLBAR
=no
1523 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
1524 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
1525 DEFAULT_wxUSE_TREECTRL
=no
1526 DEFAULT_wxUSE_POPUPWIN
=no
1528 DEFAULT_wxUSE_UNICODE
=no
1529 DEFAULT_wxUSE_WCSRTOMBS
=no
1531 DEFAULT_wxUSE_PALETTE
=no
1532 DEFAULT_wxUSE_IMAGE
=no
1533 DEFAULT_wxUSE_GIF
=no
1534 DEFAULT_wxUSE_PCX
=no
1535 DEFAULT_wxUSE_PNM
=no
1536 DEFAULT_wxUSE_XPM
=no
1538 DEFAULT_wxUSE_UNIVERSAL
=no
1540 DEFAULT_wxUSE_THREADS
=yes
1542 DEFAULT_wxUSE_SHARED
=yes
1543 DEFAULT_wxUSE_SONAME
=no
1544 DEFAULT_wxUSE_OPTIMISE
=yes
1545 DEFAULT_wxUSE_PROFILE
=no
1546 DEFAULT_wxUSE_NO_DEPS
=no
1547 DEFAULT_wxUSE_NO_RTTI
=no
1548 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1549 DEFAULT_wxUSE_PERMISSIVE
=no
1550 DEFAULT_wxUSE_DEBUG_FLAG
=no
1551 DEFAULT_wxUSE_DEBUG_INFO
=no
1552 DEFAULT_wxUSE_DEBUG_GDB
=no
1553 DEFAULT_wxUSE_MEM_TRACING
=no
1554 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1555 DEFAULT_wxUSE_DMALLOC
=no
1556 DEFAULT_wxUSE_APPLE_IEEE
=yes
1558 DEFAULT_wxUSE_LOG
=yes
1559 DEFAULT_wxUSE_LOGWINDOW
=yes
1560 DEFAULT_wxUSE_LOGGUI
=yes
1562 DEFAULT_wxUSE_GUI
=yes
1564 DEFAULT_wxUSE_REGEX
=yes
1565 DEFAULT_wxUSE_ZLIB
=yes
1566 DEFAULT_wxUSE_LIBPNG
=yes
1567 DEFAULT_wxUSE_LIBJPEG
=yes
1568 DEFAULT_wxUSE_LIBTIFF
=yes
1569 DEFAULT_wxUSE_ODBC
=no
1570 DEFAULT_wxUSE_FREETYPE
=no
1571 DEFAULT_wxUSE_OPENGL
=no
1573 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
1574 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
1575 DEFAULT_wxUSE_STD_IOSTREAM
=no
1576 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
1577 DEFAULT_wxUSE_DATETIME
=yes
1578 DEFAULT_wxUSE_TIMEDATE
=no
1579 DEFAULT_wxUSE_TIMER
=yes
1580 DEFAULT_wxUSE_STOPWATCH
=yes
1581 DEFAULT_wxUSE_FILE
=yes
1582 DEFAULT_wxUSE_FFILE
=yes
1583 DEFAULT_wxUSE_TEXTFILE
=yes
1584 DEFAULT_wxUSE_WAVE
=no
1585 DEFAULT_wxUSE_INTL
=yes
1586 DEFAULT_wxUSE_CONFIG
=yes
1587 DEFAULT_wxUSE_FONTMAP
=yes
1588 DEFAULT_wxUSE_STREAMS
=yes
1589 DEFAULT_wxUSE_SOCKETS
=yes
1590 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
1591 DEFAULT_wxUSE_SERIAL
=yes
1592 DEFAULT_wxUSE_JOYSTICK
=yes
1593 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
1594 DEFAULT_wxUSE_LONGLONG
=yes
1595 DEFAULT_wxUSE_GEOMETRY
=yes
1597 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
1598 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
1599 DEFAULT_wxUSE_POSTSCRIPT
=yes
1601 DEFAULT_wxUSE_X_RESOURCES
=no
1602 DEFAULT_wxUSE_CLIPBOARD
=yes
1603 DEFAULT_wxUSE_TOOLTIPS
=yes
1604 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
1605 DEFAULT_wxUSE_DRAGIMAGE
=yes
1606 DEFAULT_wxUSE_SPLINES
=yes
1608 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
1609 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
1610 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
1612 DEFAULT_wxUSE_PROLOGIO
=yes
1613 DEFAULT_wxUSE_RESOURCES
=yes
1614 DEFAULT_wxUSE_CONSTRAINTS
=yes
1615 DEFAULT_wxUSE_IPC
=yes
1616 DEFAULT_wxUSE_HELP
=yes
1617 DEFAULT_wxUSE_MS_HTML_HELP
=yes
1618 DEFAULT_wxUSE_WXHTML_HELP
=yes
1619 DEFAULT_wxUSE_TREELAYOUT
=yes
1620 DEFAULT_wxUSE_METAFILE
=yes
1621 DEFAULT_wxUSE_MIMETYPE
=yes
1622 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
1624 DEFAULT_wxUSE_COMMONDLGS
=yes
1625 DEFAULT_wxUSE_CHOICEDLG
=yes
1626 DEFAULT_wxUSE_COLOURDLG
=yes
1627 DEFAULT_wxUSE_DIRDLG
=yes
1628 DEFAULT_wxUSE_FILEDLG
=yes
1629 DEFAULT_wxUSE_FINDREPLDLG
=yes
1630 DEFAULT_wxUSE_FONTDLG
=yes
1631 DEFAULT_wxUSE_MSGDLG
=yes
1632 DEFAULT_wxUSE_NUMBERDLG
=yes
1633 DEFAULT_wxUSE_TEXTDLG
=yes
1634 DEFAULT_wxUSE_SPLASH
=yes
1635 DEFAULT_wxUSE_STARTUP_TIPS
=yes
1636 DEFAULT_wxUSE_PROGRESSDLG
=yes
1637 DEFAULT_wxUSE_WIZARDDLG
=yes
1639 DEFAULT_wxUSE_MENUS
=yes
1640 DEFAULT_wxUSE_MINIFRAME
=yes
1641 DEFAULT_wxUSE_HTML
=yes
1642 DEFAULT_wxUSE_FILESYSTEM
=yes
1643 DEFAULT_wxUSE_FS_INET
=yes
1644 DEFAULT_wxUSE_FS_ZIP
=yes
1645 DEFAULT_wxUSE_BUSYINFO
=yes
1646 DEFAULT_wxUSE_ZIPSTREAM
=yes
1647 DEFAULT_wxUSE_VALIDATORS
=yes
1649 DEFAULT_wxUSE_ACCEL
=yes
1650 DEFAULT_wxUSE_BUTTON
=yes
1651 DEFAULT_wxUSE_BMPBUTTON
=yes
1652 DEFAULT_wxUSE_CALCTRL
=yes
1653 DEFAULT_wxUSE_CARET
=yes
1654 DEFAULT_wxUSE_CHECKBOX
=yes
1655 DEFAULT_wxUSE_CHECKLST
=yes
1656 DEFAULT_wxUSE_CHOICE
=yes
1657 DEFAULT_wxUSE_COMBOBOX
=yes
1658 DEFAULT_wxUSE_GAUGE
=yes
1659 DEFAULT_wxUSE_GRID
=yes
1660 DEFAULT_wxUSE_NEW_GRID
=yes
1661 DEFAULT_wxUSE_IMAGLIST
=yes
1662 DEFAULT_wxUSE_LISTBOX
=yes
1663 DEFAULT_wxUSE_LISTCTRL
=yes
1664 DEFAULT_wxUSE_NOTEBOOK
=yes
1665 DEFAULT_wxUSE_PROPSHEET
=yes
1666 DEFAULT_wxUSE_RADIOBOX
=yes
1667 DEFAULT_wxUSE_RADIOBTN
=yes
1668 DEFAULT_wxUSE_SASH
=yes
1669 DEFAULT_wxUSE_SCROLLBAR
=yes
1670 DEFAULT_wxUSE_SLIDER
=yes
1671 DEFAULT_wxUSE_SPINBTN
=yes
1672 DEFAULT_wxUSE_SPINCTRL
=yes
1673 DEFAULT_wxUSE_SPLITTER
=yes
1674 DEFAULT_wxUSE_STATBMP
=yes
1675 DEFAULT_wxUSE_STATBOX
=yes
1676 DEFAULT_wxUSE_STATLINE
=yes
1677 DEFAULT_wxUSE_STATTEXT
=yes
1678 DEFAULT_wxUSE_STATUSBAR
=yes
1679 DEFAULT_wxUSE_TABDIALOG
=no
1680 DEFAULT_wxUSE_TEXTCTRL
=yes
1681 DEFAULT_wxUSE_TOGGLEBTN
=yes
1682 DEFAULT_wxUSE_TOOLBAR
=yes
1683 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
1684 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
1685 DEFAULT_wxUSE_TREECTRL
=yes
1686 DEFAULT_wxUSE_POPUPWIN
=yes
1688 DEFAULT_wxUSE_UNICODE
=no
1689 DEFAULT_wxUSE_WCSRTOMBS
=no
1691 DEFAULT_wxUSE_PALETTE
=yes
1692 DEFAULT_wxUSE_IMAGE
=yes
1693 DEFAULT_wxUSE_GIF
=yes
1694 DEFAULT_wxUSE_PCX
=yes
1695 DEFAULT_wxUSE_PNM
=yes
1696 DEFAULT_wxUSE_XPM
=yes
1701 for toolkit
in `echo $ALL_TOOLKITS`; do
1702 LINE
=`grep "wxUSE_$toolkit" ${wx_arg_cache_file}`
1703 if test "x$LINE" != x
; then
1704 has_toolkit_in_cache
=1
1705 eval "DEFAULT_$LINE"
1706 eval "CACHE_$toolkit=1"
1712 echo $ac_n "checking for --enable-gui""... $ac_c" 1>&6
1713 echo "configure:1714: checking for --enable-gui" >&5
1715 # Check whether --enable-gui or --disable-gui was given.
1716 if test "${enable_gui+set}" = set; then
1717 enableval
="$enable_gui"
1719 if test "$enableval" = yes; then
1720 ac_cv_use_gui
='wxUSE_GUI=yes'
1722 ac_cv_use_gui
='wxUSE_GUI=no'
1727 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
1728 if test "x$LINE" != x
; then
1729 eval "DEFAULT_$LINE"
1734 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
1739 eval "$ac_cv_use_gui"
1740 if test "$no_cache" != 1; then
1741 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
1744 if test "$wxUSE_GUI" = yes; then
1745 echo "$ac_t""yes" 1>&6
1747 echo "$ac_t""no" 1>&6
1751 if test "$wxUSE_GUI" = "yes"; then
1754 echo $ac_n "checking for --enable-universal""... $ac_c" 1>&6
1755 echo "configure:1756: checking for --enable-universal" >&5
1757 # Check whether --enable-universal or --disable-universal was given.
1758 if test "${enable_universal+set}" = set; then
1759 enableval
="$enable_universal"
1761 if test "$enableval" = yes; then
1762 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
1764 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
1769 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
1770 if test "x$LINE" != x
; then
1771 eval "DEFAULT_$LINE"
1776 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
1781 eval "$ac_cv_use_universal"
1782 if test "$no_cache" != 1; then
1783 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
1786 if test "$wxUSE_UNIVERSAL" = yes; then
1787 echo "$ac_t""yes" 1>&6
1789 echo "$ac_t""no" 1>&6
1792 # Check whether --with-gtk or --without-gtk was given.
1793 if test "${with_gtk+set}" = set; then
1795 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
1798 # Check whether --with-motif or --without-motif was given.
1799 if test "${with_motif+set}" = set; then
1800 withval
="$with_motif"
1801 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
1804 # Check whether --with-mac or --without-mac was given.
1805 if test "${with_mac+set}" = set; then
1807 wxUSE_MAC
="$withval" TOOLKIT_GIVEN
=1
1810 # Check whether --with-wine or --without-wine was given.
1811 if test "${with_wine+set}" = set; then
1812 withval
="$with_wine"
1813 wxUSE_WINE
="$withval" CACHE_WINE
=1 TOOLKIT_GIVEN
=1
1816 # Check whether --with-cygwin or --without-cygwin was given.
1817 if test "${with_cygwin+set}" = set; then
1818 withval
="$with_cygwin"
1819 wxUSE_CYGWIN
="$withval" CACHE_CYGWIN
=1 TOOLKIT_GIVEN
=1
1822 # Check whether --with-mingw or --without-mingw was given.
1823 if test "${with_mingw+set}" = set; then
1824 withval
="$with_mingw"
1825 wxUSE_MINGW
="$withval" CACHE_MINGW
=1 TOOLKIT_GIVEN
=1
1828 # Check whether --with-pm or --without-pm was given.
1829 if test "${with_pm+set}" = set; then
1831 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
1834 # Check whether --with-mgl or --without-mgl was given.
1835 if test "${with_mgl+set}" = set; then
1837 wxUSE_MGL
="$withval" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
1841 # Check whether --enable-gtk2 or --disable-gtk2 was given.
1842 if test "${enable_gtk2+set}" = set; then
1843 enableval
="$enable_gtk2"
1851 echo $ac_n "checking for --with-libpng""... $ac_c" 1>&6
1852 echo "configure:1853: checking for --with-libpng" >&5
1854 # Check whether --with-libpng or --without-libpng was given.
1855 if test "${with_libpng+set}" = set; then
1856 withval
="$with_libpng"
1858 if test "$withval" = yes; then
1859 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
1860 elif test "$withval" = no
; then
1861 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
1862 elif test "$withval" = sys
; then
1863 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
1865 { echo "configure: error: Invalid value for --with-libpng: should be yes, no or sys" 1>&2; exit 1; }
1870 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
1871 if test "x$LINE" != x
; then
1872 eval "DEFAULT_$LINE"
1877 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
1882 eval "$ac_cv_use_libpng"
1883 if test "$no_cache" != 1; then
1884 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
1887 if test "$wxUSE_LIBPNG" = yes; then
1888 echo "$ac_t""yes" 1>&6
1889 elif test "$wxUSE_LIBPNG" = no
; then
1890 echo "$ac_t""no" 1>&6
1891 elif test "$wxUSE_LIBPNG" = sys
; then
1892 echo "$ac_t""system version" 1>&6
1894 { echo "configure: error: Invalid value for --with-libpng: should be yes, no or sys" 1>&2; exit 1; }
1898 echo $ac_n "checking for --with-libjpeg""... $ac_c" 1>&6
1899 echo "configure:1900: checking for --with-libjpeg" >&5
1901 # Check whether --with-libjpeg or --without-libjpeg was given.
1902 if test "${with_libjpeg+set}" = set; then
1903 withval
="$with_libjpeg"
1905 if test "$withval" = yes; then
1906 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
1907 elif test "$withval" = no
; then
1908 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
1909 elif test "$withval" = sys
; then
1910 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
1912 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no or sys" 1>&2; exit 1; }
1917 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
1918 if test "x$LINE" != x
; then
1919 eval "DEFAULT_$LINE"
1924 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
1929 eval "$ac_cv_use_libjpeg"
1930 if test "$no_cache" != 1; then
1931 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
1934 if test "$wxUSE_LIBJPEG" = yes; then
1935 echo "$ac_t""yes" 1>&6
1936 elif test "$wxUSE_LIBJPEG" = no
; then
1937 echo "$ac_t""no" 1>&6
1938 elif test "$wxUSE_LIBJPEG" = sys
; then
1939 echo "$ac_t""system version" 1>&6
1941 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no or sys" 1>&2; exit 1; }
1945 echo $ac_n "checking for --with-libtiff""... $ac_c" 1>&6
1946 echo "configure:1947: checking for --with-libtiff" >&5
1948 # Check whether --with-libtiff or --without-libtiff was given.
1949 if test "${with_libtiff+set}" = set; then
1950 withval
="$with_libtiff"
1952 if test "$withval" = yes; then
1953 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
1954 elif test "$withval" = no
; then
1955 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
1956 elif test "$withval" = sys
; then
1957 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
1959 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no or sys" 1>&2; exit 1; }
1964 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
1965 if test "x$LINE" != x
; then
1966 eval "DEFAULT_$LINE"
1971 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
1976 eval "$ac_cv_use_libtiff"
1977 if test "$no_cache" != 1; then
1978 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
1981 if test "$wxUSE_LIBTIFF" = yes; then
1982 echo "$ac_t""yes" 1>&6
1983 elif test "$wxUSE_LIBTIFF" = no
; then
1984 echo "$ac_t""no" 1>&6
1985 elif test "$wxUSE_LIBTIFF" = sys
; then
1986 echo "$ac_t""system version" 1>&6
1988 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no or sys" 1>&2; exit 1; }
1992 echo $ac_n "checking for --with-freetype""... $ac_c" 1>&6
1993 echo "configure:1994: checking for --with-freetype" >&5
1995 # Check whether --with-freetype or --without-freetype was given.
1996 if test "${with_freetype+set}" = set; then
1997 withval
="$with_freetype"
1999 if test "$withval" = yes; then
2000 ac_cv_use_freetype
='wxUSE_FREETYPE=yes'
2001 elif test "$withval" = no
; then
2002 ac_cv_use_freetype
='wxUSE_FREETYPE=no'
2003 elif test "$withval" = sys
; then
2004 ac_cv_use_freetype
='wxUSE_FREETYPE=sys'
2006 { echo "configure: error: Invalid value for --with-freetype: should be yes, no or sys" 1>&2; exit 1; }
2011 LINE
=`grep "wxUSE_FREETYPE" ${wx_arg_cache_file}`
2012 if test "x$LINE" != x
; then
2013 eval "DEFAULT_$LINE"
2018 ac_cv_use_freetype
='wxUSE_FREETYPE='$DEFAULT_wxUSE_FREETYPE
2023 eval "$ac_cv_use_freetype"
2024 if test "$no_cache" != 1; then
2025 echo $ac_cv_use_freetype >> ${wx_arg_cache_file}.tmp
2028 if test "$wxUSE_FREETYPE" = yes; then
2029 echo "$ac_t""yes" 1>&6
2030 elif test "$wxUSE_FREETYPE" = no
; then
2031 echo "$ac_t""no" 1>&6
2032 elif test "$wxUSE_FREETYPE" = sys
; then
2033 echo "$ac_t""system version" 1>&6
2035 { echo "configure: error: Invalid value for --with-freetype: should be yes, no or sys" 1>&2; exit 1; }
2039 echo $ac_n "checking for --with-opengl""... $ac_c" 1>&6
2040 echo "configure:2041: checking for --with-opengl" >&5
2042 # Check whether --with-opengl or --without-opengl was given.
2043 if test "${with_opengl+set}" = set; then
2044 withval
="$with_opengl"
2046 if test "$withval" = yes; then
2047 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
2049 ac_cv_use_opengl
='wxUSE_OPENGL=no'
2054 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2055 if test "x$LINE" != x
; then
2056 eval "DEFAULT_$LINE"
2061 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
2066 eval "$ac_cv_use_opengl"
2067 if test "$no_cache" != 1; then
2068 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2071 if test "$wxUSE_OPENGL" = yes; then
2072 echo "$ac_t""yes" 1>&6
2074 echo "$ac_t""no" 1>&6
2081 echo $ac_n "checking for --with-dmalloc""... $ac_c" 1>&6
2082 echo "configure:2083: checking for --with-dmalloc" >&5
2084 # Check whether --with-dmalloc or --without-dmalloc was given.
2085 if test "${with_dmalloc+set}" = set; then
2086 withval
="$with_dmalloc"
2088 if test "$withval" = yes; then
2089 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
2091 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
2096 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2097 if test "x$LINE" != x
; then
2098 eval "DEFAULT_$LINE"
2103 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
2108 eval "$ac_cv_use_dmalloc"
2109 if test "$no_cache" != 1; then
2110 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2113 if test "$wxUSE_DMALLOC" = yes; then
2114 echo "$ac_t""yes" 1>&6
2116 echo "$ac_t""no" 1>&6
2120 echo $ac_n "checking for --with-regex""... $ac_c" 1>&6
2121 echo "configure:2122: checking for --with-regex" >&5
2123 # Check whether --with-regex or --without-regex was given.
2124 if test "${with_regex+set}" = set; then
2125 withval
="$with_regex"
2127 if test "$withval" = yes; then
2128 ac_cv_use_regex
='wxUSE_REGEX=yes'
2129 elif test "$withval" = no
; then
2130 ac_cv_use_regex
='wxUSE_REGEX=no'
2131 elif test "$withval" = sys
; then
2132 ac_cv_use_regex
='wxUSE_REGEX=sys'
2134 { echo "configure: error: Invalid value for --with-regex: should be yes, no or sys" 1>&2; exit 1; }
2139 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
2140 if test "x$LINE" != x
; then
2141 eval "DEFAULT_$LINE"
2146 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
2151 eval "$ac_cv_use_regex"
2152 if test "$no_cache" != 1; then
2153 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
2156 if test "$wxUSE_REGEX" = yes; then
2157 echo "$ac_t""yes" 1>&6
2158 elif test "$wxUSE_REGEX" = no
; then
2159 echo "$ac_t""no" 1>&6
2160 elif test "$wxUSE_REGEX" = sys
; then
2161 echo "$ac_t""system version" 1>&6
2163 { echo "configure: error: Invalid value for --with-regex: should be yes, no or sys" 1>&2; exit 1; }
2167 echo $ac_n "checking for --with-zlib""... $ac_c" 1>&6
2168 echo "configure:2169: checking for --with-zlib" >&5
2170 # Check whether --with-zlib or --without-zlib was given.
2171 if test "${with_zlib+set}" = set; then
2172 withval
="$with_zlib"
2174 if test "$withval" = yes; then
2175 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
2176 elif test "$withval" = no
; then
2177 ac_cv_use_zlib
='wxUSE_ZLIB=no'
2178 elif test "$withval" = sys
; then
2179 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
2181 { echo "configure: error: Invalid value for --with-zlib: should be yes, no or sys" 1>&2; exit 1; }
2186 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2187 if test "x$LINE" != x
; then
2188 eval "DEFAULT_$LINE"
2193 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
2198 eval "$ac_cv_use_zlib"
2199 if test "$no_cache" != 1; then
2200 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2203 if test "$wxUSE_ZLIB" = yes; then
2204 echo "$ac_t""yes" 1>&6
2205 elif test "$wxUSE_ZLIB" = no
; then
2206 echo "$ac_t""no" 1>&6
2207 elif test "$wxUSE_ZLIB" = sys
; then
2208 echo "$ac_t""system version" 1>&6
2210 { echo "configure: error: Invalid value for --with-zlib: should be yes, no or sys" 1>&2; exit 1; }
2214 echo $ac_n "checking for --with-odbc""... $ac_c" 1>&6
2215 echo "configure:2216: checking for --with-odbc" >&5
2217 # Check whether --with-odbc or --without-odbc was given.
2218 if test "${with_odbc+set}" = set; then
2219 withval
="$with_odbc"
2221 if test "$withval" = yes; then
2222 ac_cv_use_odbc
='wxUSE_ODBC=yes'
2224 ac_cv_use_odbc
='wxUSE_ODBC=no'
2229 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
2230 if test "x$LINE" != x
; then
2231 eval "DEFAULT_$LINE"
2236 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
2241 eval "$ac_cv_use_odbc"
2242 if test "$no_cache" != 1; then
2243 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
2246 if test "$wxUSE_ODBC" = yes; then
2247 echo "$ac_t""yes" 1>&6
2249 echo "$ac_t""no" 1>&6
2256 echo $ac_n "checking for --enable-shared""... $ac_c" 1>&6
2257 echo "configure:2258: checking for --enable-shared" >&5
2259 # Check whether --enable-shared or --disable-shared was given.
2260 if test "${enable_shared+set}" = set; then
2261 enableval
="$enable_shared"
2263 if test "$enableval" = yes; then
2264 ac_cv_use_shared
='wxUSE_SHARED=yes'
2266 ac_cv_use_shared
='wxUSE_SHARED=no'
2271 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
2272 if test "x$LINE" != x
; then
2273 eval "DEFAULT_$LINE"
2278 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
2283 eval "$ac_cv_use_shared"
2284 if test "$no_cache" != 1; then
2285 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
2288 if test "$wxUSE_SHARED" = yes; then
2289 echo "$ac_t""yes" 1>&6
2291 echo "$ac_t""no" 1>&6
2295 echo $ac_n "checking for --enable-soname""... $ac_c" 1>&6
2296 echo "configure:2297: checking for --enable-soname" >&5
2298 # Check whether --enable-soname or --disable-soname was given.
2299 if test "${enable_soname+set}" = set; then
2300 enableval
="$enable_soname"
2302 if test "$enableval" = yes; then
2303 ac_cv_use_soname
='wxUSE_SONAME=yes'
2305 ac_cv_use_soname
='wxUSE_SONAME=no'
2310 LINE
=`grep "wxUSE_SONAME" ${wx_arg_cache_file}`
2311 if test "x$LINE" != x
; then
2312 eval "DEFAULT_$LINE"
2317 ac_cv_use_soname
='wxUSE_SONAME='$DEFAULT_wxUSE_SONAME
2322 eval "$ac_cv_use_soname"
2323 if test "$no_cache" != 1; then
2324 echo $ac_cv_use_soname >> ${wx_arg_cache_file}.tmp
2327 if test "$wxUSE_SONAME" = yes; then
2328 echo "$ac_t""yes" 1>&6
2330 echo "$ac_t""no" 1>&6
2334 echo $ac_n "checking for --enable-optimise""... $ac_c" 1>&6
2335 echo "configure:2336: checking for --enable-optimise" >&5
2337 # Check whether --enable-optimise or --disable-optimise was given.
2338 if test "${enable_optimise+set}" = set; then
2339 enableval
="$enable_optimise"
2341 if test "$enableval" = yes; then
2342 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
2344 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
2349 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
2350 if test "x$LINE" != x
; then
2351 eval "DEFAULT_$LINE"
2356 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
2361 eval "$ac_cv_use_optimise"
2362 if test "$no_cache" != 1; then
2363 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
2366 if test "$wxUSE_OPTIMISE" = yes; then
2367 echo "$ac_t""yes" 1>&6
2369 echo "$ac_t""no" 1>&6
2373 echo $ac_n "checking for --enable-debug""... $ac_c" 1>&6
2374 echo "configure:2375: checking for --enable-debug" >&5
2376 # Check whether --enable-debug or --disable-debug was given.
2377 if test "${enable_debug+set}" = set; then
2378 enableval
="$enable_debug"
2380 if test "$enableval" = yes; then
2381 ac_cv_use_debug
='wxUSE_DEBUG=yes'
2383 ac_cv_use_debug
='wxUSE_DEBUG=no'
2388 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
2389 if test "x$LINE" != x
; then
2390 eval "DEFAULT_$LINE"
2395 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
2400 eval "$ac_cv_use_debug"
2401 if test "$no_cache" != 1; then
2402 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
2405 if test "$wxUSE_DEBUG" = yes; then
2406 echo "$ac_t""yes" 1>&6
2408 echo "$ac_t""no" 1>&6
2412 if test "$wxUSE_DEBUG" = "yes"; then
2413 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2414 DEFAULT_wxUSE_DEBUG_INFO
=yes
2415 elif test "$wxUSE_DEBUG" = "no"; then
2416 DEFAULT_wxUSE_DEBUG_FLAG
=no
2417 DEFAULT_wxUSE_DEBUG_INFO
=no
2421 echo $ac_n "checking for --enable-debug_flag""... $ac_c" 1>&6
2422 echo "configure:2423: checking for --enable-debug_flag" >&5
2424 # Check whether --enable-debug_flag or --disable-debug_flag was given.
2425 if test "${enable_debug_flag+set}" = set; then
2426 enableval
="$enable_debug_flag"
2428 if test "$enableval" = yes; then
2429 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
2431 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
2436 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
2437 if test "x$LINE" != x
; then
2438 eval "DEFAULT_$LINE"
2443 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
2448 eval "$ac_cv_use_debug_flag"
2449 if test "$no_cache" != 1; then
2450 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
2453 if test "$wxUSE_DEBUG_FLAG" = yes; then
2454 echo "$ac_t""yes" 1>&6
2456 echo "$ac_t""no" 1>&6
2460 echo $ac_n "checking for --enable-debug_info""... $ac_c" 1>&6
2461 echo "configure:2462: checking for --enable-debug_info" >&5
2463 # Check whether --enable-debug_info or --disable-debug_info was given.
2464 if test "${enable_debug_info+set}" = set; then
2465 enableval
="$enable_debug_info"
2467 if test "$enableval" = yes; then
2468 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
2470 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
2475 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
2476 if test "x$LINE" != x
; then
2477 eval "DEFAULT_$LINE"
2482 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
2487 eval "$ac_cv_use_debug_info"
2488 if test "$no_cache" != 1; then
2489 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
2492 if test "$wxUSE_DEBUG_INFO" = yes; then
2493 echo "$ac_t""yes" 1>&6
2495 echo "$ac_t""no" 1>&6
2499 echo $ac_n "checking for --enable-debug_gdb""... $ac_c" 1>&6
2500 echo "configure:2501: checking for --enable-debug_gdb" >&5
2502 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
2503 if test "${enable_debug_gdb+set}" = set; then
2504 enableval
="$enable_debug_gdb"
2506 if test "$enableval" = yes; then
2507 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
2509 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
2514 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
2515 if test "x$LINE" != x
; then
2516 eval "DEFAULT_$LINE"
2521 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
2526 eval "$ac_cv_use_debug_gdb"
2527 if test "$no_cache" != 1; then
2528 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
2531 if test "$wxUSE_DEBUG_GDB" = yes; then
2532 echo "$ac_t""yes" 1>&6
2534 echo "$ac_t""no" 1>&6
2538 echo $ac_n "checking for --enable-debug_cntxt""... $ac_c" 1>&6
2539 echo "configure:2540: checking for --enable-debug_cntxt" >&5
2541 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
2542 if test "${enable_debug_cntxt+set}" = set; then
2543 enableval
="$enable_debug_cntxt"
2545 if test "$enableval" = yes; then
2546 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
2548 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
2553 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2554 if test "x$LINE" != x
; then
2555 eval "DEFAULT_$LINE"
2560 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2565 eval "$ac_cv_use_debug_cntxt"
2566 if test "$no_cache" != 1; then
2567 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2570 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2571 echo "$ac_t""yes" 1>&6
2573 echo "$ac_t""no" 1>&6
2577 echo $ac_n "checking for --enable-mem_tracing""... $ac_c" 1>&6
2578 echo "configure:2579: checking for --enable-mem_tracing" >&5
2580 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2581 if test "${enable_mem_tracing+set}" = set; then
2582 enableval
="$enable_mem_tracing"
2584 if test "$enableval" = yes; then
2585 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
2587 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
2592 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2593 if test "x$LINE" != x
; then
2594 eval "DEFAULT_$LINE"
2599 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2604 eval "$ac_cv_use_mem_tracing"
2605 if test "$no_cache" != 1; then
2606 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2609 if test "$wxUSE_MEM_TRACING" = yes; then
2610 echo "$ac_t""yes" 1>&6
2612 echo "$ac_t""no" 1>&6
2616 echo $ac_n "checking for --enable-profile""... $ac_c" 1>&6
2617 echo "configure:2618: checking for --enable-profile" >&5
2619 # Check whether --enable-profile or --disable-profile was given.
2620 if test "${enable_profile+set}" = set; then
2621 enableval
="$enable_profile"
2623 if test "$enableval" = yes; then
2624 ac_cv_use_profile
='wxUSE_PROFILE=yes'
2626 ac_cv_use_profile
='wxUSE_PROFILE=no'
2631 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2632 if test "x$LINE" != x
; then
2633 eval "DEFAULT_$LINE"
2638 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2643 eval "$ac_cv_use_profile"
2644 if test "$no_cache" != 1; then
2645 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2648 if test "$wxUSE_PROFILE" = yes; then
2649 echo "$ac_t""yes" 1>&6
2651 echo "$ac_t""no" 1>&6
2655 echo $ac_n "checking for --enable-no_rtti""... $ac_c" 1>&6
2656 echo "configure:2657: checking for --enable-no_rtti" >&5
2658 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2659 if test "${enable_no_rtti+set}" = set; then
2660 enableval
="$enable_no_rtti"
2662 if test "$enableval" = yes; then
2663 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
2665 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
2670 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2671 if test "x$LINE" != x
; then
2672 eval "DEFAULT_$LINE"
2677 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2682 eval "$ac_cv_use_no_rtti"
2683 if test "$no_cache" != 1; then
2684 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2687 if test "$wxUSE_NO_RTTI" = yes; then
2688 echo "$ac_t""yes" 1>&6
2690 echo "$ac_t""no" 1>&6
2694 echo $ac_n "checking for --enable-no_exceptions""... $ac_c" 1>&6
2695 echo "configure:2696: checking for --enable-no_exceptions" >&5
2697 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2698 if test "${enable_no_exceptions+set}" = set; then
2699 enableval
="$enable_no_exceptions"
2701 if test "$enableval" = yes; then
2702 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
2704 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
2709 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2710 if test "x$LINE" != x
; then
2711 eval "DEFAULT_$LINE"
2716 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2721 eval "$ac_cv_use_no_exceptions"
2722 if test "$no_cache" != 1; then
2723 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2726 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2727 echo "$ac_t""yes" 1>&6
2729 echo "$ac_t""no" 1>&6
2733 echo $ac_n "checking for --enable-permissive""... $ac_c" 1>&6
2734 echo "configure:2735: checking for --enable-permissive" >&5
2736 # Check whether --enable-permissive or --disable-permissive was given.
2737 if test "${enable_permissive+set}" = set; then
2738 enableval
="$enable_permissive"
2740 if test "$enableval" = yes; then
2741 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
2743 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
2748 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2749 if test "x$LINE" != x
; then
2750 eval "DEFAULT_$LINE"
2755 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
2760 eval "$ac_cv_use_permissive"
2761 if test "$no_cache" != 1; then
2762 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
2765 if test "$wxUSE_PERMISSIVE" = yes; then
2766 echo "$ac_t""yes" 1>&6
2768 echo "$ac_t""no" 1>&6
2772 echo $ac_n "checking for --enable-no_deps""... $ac_c" 1>&6
2773 echo "configure:2774: checking for --enable-no_deps" >&5
2775 # Check whether --enable-no_deps or --disable-no_deps was given.
2776 if test "${enable_no_deps+set}" = set; then
2777 enableval
="$enable_no_deps"
2779 if test "$enableval" = yes; then
2780 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
2782 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
2787 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
2788 if test "x$LINE" != x
; then
2789 eval "DEFAULT_$LINE"
2794 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
2799 eval "$ac_cv_use_no_deps"
2800 if test "$no_cache" != 1; then
2801 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
2804 if test "$wxUSE_NO_DEPS" = yes; then
2805 echo "$ac_t""yes" 1>&6
2807 echo "$ac_t""no" 1>&6
2812 echo $ac_n "checking for --enable-compat20""... $ac_c" 1>&6
2813 echo "configure:2814: checking for --enable-compat20" >&5
2815 # Check whether --enable-compat20 or --disable-compat20 was given.
2816 if test "${enable_compat20+set}" = set; then
2817 enableval
="$enable_compat20"
2819 if test "$enableval" = yes; then
2820 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=yes'
2822 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=no'
2827 LINE
=`grep "WXWIN_COMPATIBILITY_2" ${wx_arg_cache_file}`
2828 if test "x$LINE" != x
; then
2829 eval "DEFAULT_$LINE"
2834 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2='$DEFAULT_WXWIN_COMPATIBILITY_2
2839 eval "$ac_cv_use_compat20"
2840 if test "$no_cache" != 1; then
2841 echo $ac_cv_use_compat20 >> ${wx_arg_cache_file}.tmp
2844 if test "$WXWIN_COMPATIBILITY_2" = yes; then
2845 echo "$ac_t""yes" 1>&6
2847 echo "$ac_t""no" 1>&6
2851 echo $ac_n "checking for --enable-compat22""... $ac_c" 1>&6
2852 echo "configure:2853: checking for --enable-compat22" >&5
2854 # Check whether --enable-compat22 or --disable-compat22 was given.
2855 if test "${enable_compat22+set}" = set; then
2856 enableval
="$enable_compat22"
2858 if test "$enableval" = yes; then
2859 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
2861 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
2866 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
2867 if test "x$LINE" != x
; then
2868 eval "DEFAULT_$LINE"
2873 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
2878 eval "$ac_cv_use_compat22"
2879 if test "$no_cache" != 1; then
2880 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
2883 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
2884 echo "$ac_t""yes" 1>&6
2886 echo "$ac_t""no" 1>&6
2892 echo $ac_n "checking for --enable-intl""... $ac_c" 1>&6
2893 echo "configure:2894: checking for --enable-intl" >&5
2895 # Check whether --enable-intl or --disable-intl was given.
2896 if test "${enable_intl+set}" = set; then
2897 enableval
="$enable_intl"
2899 if test "$enableval" = yes; then
2900 ac_cv_use_intl
='wxUSE_INTL=yes'
2902 ac_cv_use_intl
='wxUSE_INTL=no'
2907 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
2908 if test "x$LINE" != x
; then
2909 eval "DEFAULT_$LINE"
2914 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
2919 eval "$ac_cv_use_intl"
2920 if test "$no_cache" != 1; then
2921 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
2924 if test "$wxUSE_INTL" = yes; then
2925 echo "$ac_t""yes" 1>&6
2927 echo "$ac_t""no" 1>&6
2931 echo $ac_n "checking for --enable-config""... $ac_c" 1>&6
2932 echo "configure:2933: checking for --enable-config" >&5
2934 # Check whether --enable-config or --disable-config was given.
2935 if test "${enable_config+set}" = set; then
2936 enableval
="$enable_config"
2938 if test "$enableval" = yes; then
2939 ac_cv_use_config
='wxUSE_CONFIG=yes'
2941 ac_cv_use_config
='wxUSE_CONFIG=no'
2946 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
2947 if test "x$LINE" != x
; then
2948 eval "DEFAULT_$LINE"
2953 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
2958 eval "$ac_cv_use_config"
2959 if test "$no_cache" != 1; then
2960 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
2963 if test "$wxUSE_CONFIG" = yes; then
2964 echo "$ac_t""yes" 1>&6
2966 echo "$ac_t""no" 1>&6
2971 echo $ac_n "checking for --enable-sockets""... $ac_c" 1>&6
2972 echo "configure:2973: checking for --enable-sockets" >&5
2974 # Check whether --enable-sockets or --disable-sockets was given.
2975 if test "${enable_sockets+set}" = set; then
2976 enableval
="$enable_sockets"
2978 if test "$enableval" = yes; then
2979 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
2981 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
2986 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
2987 if test "x$LINE" != x
; then
2988 eval "DEFAULT_$LINE"
2993 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
2998 eval "$ac_cv_use_sockets"
2999 if test "$no_cache" != 1; then
3000 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
3003 if test "$wxUSE_SOCKETS" = yes; then
3004 echo "$ac_t""yes" 1>&6
3006 echo "$ac_t""no" 1>&6
3011 echo $ac_n "checking for --enable-ipc""... $ac_c" 1>&6
3012 echo "configure:3013: checking for --enable-ipc" >&5
3014 # Check whether --enable-ipc or --disable-ipc was given.
3015 if test "${enable_ipc+set}" = set; then
3016 enableval
="$enable_ipc"
3018 if test "$enableval" = yes; then
3019 ac_cv_use_ipc
='wxUSE_IPC=yes'
3021 ac_cv_use_ipc
='wxUSE_IPC=no'
3026 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
3027 if test "x$LINE" != x
; then
3028 eval "DEFAULT_$LINE"
3033 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
3038 eval "$ac_cv_use_ipc"
3039 if test "$no_cache" != 1; then
3040 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
3043 if test "$wxUSE_IPC" = yes; then
3044 echo "$ac_t""yes" 1>&6
3046 echo "$ac_t""no" 1>&6
3051 echo $ac_n "checking for --enable-cmdline""... $ac_c" 1>&6
3052 echo "configure:3053: checking for --enable-cmdline" >&5
3054 # Check whether --enable-cmdline or --disable-cmdline was given.
3055 if test "${enable_cmdline+set}" = set; then
3056 enableval
="$enable_cmdline"
3058 if test "$enableval" = yes; then
3059 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
3061 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
3066 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
3067 if test "x$LINE" != x
; then
3068 eval "DEFAULT_$LINE"
3073 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
3078 eval "$ac_cv_use_cmdline"
3079 if test "$no_cache" != 1; then
3080 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
3083 if test "$wxUSE_CMDLINE_PARSER" = yes; then
3084 echo "$ac_t""yes" 1>&6
3086 echo "$ac_t""no" 1>&6
3090 echo $ac_n "checking for --enable-datetime""... $ac_c" 1>&6
3091 echo "configure:3092: checking for --enable-datetime" >&5
3093 # Check whether --enable-datetime or --disable-datetime was given.
3094 if test "${enable_datetime+set}" = set; then
3095 enableval
="$enable_datetime"
3097 if test "$enableval" = yes; then
3098 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
3100 ac_cv_use_datetime
='wxUSE_DATETIME=no'
3105 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
3106 if test "x$LINE" != x
; then
3107 eval "DEFAULT_$LINE"
3112 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
3117 eval "$ac_cv_use_datetime"
3118 if test "$no_cache" != 1; then
3119 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
3122 if test "$wxUSE_DATETIME" = yes; then
3123 echo "$ac_t""yes" 1>&6
3125 echo "$ac_t""no" 1>&6
3129 echo $ac_n "checking for --enable-timedate""... $ac_c" 1>&6
3130 echo "configure:3131: checking for --enable-timedate" >&5
3132 # Check whether --enable-timedate or --disable-timedate was given.
3133 if test "${enable_timedate+set}" = set; then
3134 enableval
="$enable_timedate"
3136 if test "$enableval" = yes; then
3137 ac_cv_use_timedate
='wxUSE_TIMEDATE=yes'
3139 ac_cv_use_timedate
='wxUSE_TIMEDATE=no'
3144 LINE
=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}`
3145 if test "x$LINE" != x
; then
3146 eval "DEFAULT_$LINE"
3151 ac_cv_use_timedate
='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
3156 eval "$ac_cv_use_timedate"
3157 if test "$no_cache" != 1; then
3158 echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp
3161 if test "$wxUSE_TIMEDATE" = yes; then
3162 echo "$ac_t""yes" 1>&6
3164 echo "$ac_t""no" 1>&6
3168 echo $ac_n "checking for --enable-stopwatch""... $ac_c" 1>&6
3169 echo "configure:3170: checking for --enable-stopwatch" >&5
3171 # Check whether --enable-stopwatch or --disable-stopwatch was given.
3172 if test "${enable_stopwatch+set}" = set; then
3173 enableval
="$enable_stopwatch"
3175 if test "$enableval" = yes; then
3176 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
3178 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
3183 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
3184 if test "x$LINE" != x
; then
3185 eval "DEFAULT_$LINE"
3190 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
3195 eval "$ac_cv_use_stopwatch"
3196 if test "$no_cache" != 1; then
3197 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
3200 if test "$wxUSE_STOPWATCH" = yes; then
3201 echo "$ac_t""yes" 1>&6
3203 echo "$ac_t""no" 1>&6
3207 echo $ac_n "checking for --enable-dialupman""... $ac_c" 1>&6
3208 echo "configure:3209: checking for --enable-dialupman" >&5
3210 # Check whether --enable-dialupman or --disable-dialupman was given.
3211 if test "${enable_dialupman+set}" = set; then
3212 enableval
="$enable_dialupman"
3214 if test "$enableval" = yes; then
3215 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
3217 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
3222 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
3223 if test "x$LINE" != x
; then
3224 eval "DEFAULT_$LINE"
3229 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
3234 eval "$ac_cv_use_dialupman"
3235 if test "$no_cache" != 1; then
3236 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
3239 if test "$wxUSE_DIALUP_MANAGER" = yes; then
3240 echo "$ac_t""yes" 1>&6
3242 echo "$ac_t""no" 1>&6
3246 echo $ac_n "checking for --enable-apple_ieee""... $ac_c" 1>&6
3247 echo "configure:3248: checking for --enable-apple_ieee" >&5
3249 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
3250 if test "${enable_apple_ieee+set}" = set; then
3251 enableval
="$enable_apple_ieee"
3253 if test "$enableval" = yes; then
3254 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
3256 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
3261 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
3262 if test "x$LINE" != x
; then
3263 eval "DEFAULT_$LINE"
3268 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
3273 eval "$ac_cv_use_apple_ieee"
3274 if test "$no_cache" != 1; then
3275 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
3278 if test "$wxUSE_APPLE_IEEE" = yes; then
3279 echo "$ac_t""yes" 1>&6
3281 echo "$ac_t""no" 1>&6
3285 echo $ac_n "checking for --enable-timer""... $ac_c" 1>&6
3286 echo "configure:3287: checking for --enable-timer" >&5
3288 # Check whether --enable-timer or --disable-timer was given.
3289 if test "${enable_timer+set}" = set; then
3290 enableval
="$enable_timer"
3292 if test "$enableval" = yes; then
3293 ac_cv_use_timer
='wxUSE_TIMER=yes'
3295 ac_cv_use_timer
='wxUSE_TIMER=no'
3300 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
3301 if test "x$LINE" != x
; then
3302 eval "DEFAULT_$LINE"
3307 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
3312 eval "$ac_cv_use_timer"
3313 if test "$no_cache" != 1; then
3314 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
3317 if test "$wxUSE_TIMER" = yes; then
3318 echo "$ac_t""yes" 1>&6
3320 echo "$ac_t""no" 1>&6
3324 echo $ac_n "checking for --enable-wave""... $ac_c" 1>&6
3325 echo "configure:3326: checking for --enable-wave" >&5
3327 # Check whether --enable-wave or --disable-wave was given.
3328 if test "${enable_wave+set}" = set; then
3329 enableval
="$enable_wave"
3331 if test "$enableval" = yes; then
3332 ac_cv_use_wave
='wxUSE_WAVE=yes'
3334 ac_cv_use_wave
='wxUSE_WAVE=no'
3339 LINE
=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
3340 if test "x$LINE" != x
; then
3341 eval "DEFAULT_$LINE"
3346 ac_cv_use_wave
='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
3351 eval "$ac_cv_use_wave"
3352 if test "$no_cache" != 1; then
3353 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
3356 if test "$wxUSE_WAVE" = yes; then
3357 echo "$ac_t""yes" 1>&6
3359 echo "$ac_t""no" 1>&6
3363 echo $ac_n "checking for --enable-fraction""... $ac_c" 1>&6
3364 echo "configure:3365: checking for --enable-fraction" >&5
3366 # Check whether --enable-fraction or --disable-fraction was given.
3367 if test "${enable_fraction+set}" = set; then
3368 enableval
="$enable_fraction"
3370 if test "$enableval" = yes; then
3371 ac_cv_use_fraction
='wxUSE_FRACTION=yes'
3373 ac_cv_use_fraction
='wxUSE_FRACTION=no'
3378 LINE
=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
3379 if test "x$LINE" != x
; then
3380 eval "DEFAULT_$LINE"
3385 ac_cv_use_fraction
='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
3390 eval "$ac_cv_use_fraction"
3391 if test "$no_cache" != 1; then
3392 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
3395 if test "$wxUSE_FRACTION" = yes; then
3396 echo "$ac_t""yes" 1>&6
3398 echo "$ac_t""no" 1>&6
3402 echo $ac_n "checking for --enable-dynlib""... $ac_c" 1>&6
3403 echo "configure:3404: checking for --enable-dynlib" >&5
3405 # Check whether --enable-dynlib or --disable-dynlib was given.
3406 if test "${enable_dynlib+set}" = set; then
3407 enableval
="$enable_dynlib"
3409 if test "$enableval" = yes; then
3410 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
3412 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
3417 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
3418 if test "x$LINE" != x
; then
3419 eval "DEFAULT_$LINE"
3424 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
3429 eval "$ac_cv_use_dynlib"
3430 if test "$no_cache" != 1; then
3431 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
3434 if test "$wxUSE_DYNLIB_CLASS" = yes; then
3435 echo "$ac_t""yes" 1>&6
3437 echo "$ac_t""no" 1>&6
3441 echo $ac_n "checking for --enable-longlong""... $ac_c" 1>&6
3442 echo "configure:3443: checking for --enable-longlong" >&5
3444 # Check whether --enable-longlong or --disable-longlong was given.
3445 if test "${enable_longlong+set}" = set; then
3446 enableval
="$enable_longlong"
3448 if test "$enableval" = yes; then
3449 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
3451 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
3456 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
3457 if test "x$LINE" != x
; then
3458 eval "DEFAULT_$LINE"
3463 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
3468 eval "$ac_cv_use_longlong"
3469 if test "$no_cache" != 1; then
3470 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
3473 if test "$wxUSE_LONGLONG" = yes; then
3474 echo "$ac_t""yes" 1>&6
3476 echo "$ac_t""no" 1>&6
3480 echo $ac_n "checking for --enable-geometry""... $ac_c" 1>&6
3481 echo "configure:3482: checking for --enable-geometry" >&5
3483 # Check whether --enable-geometry or --disable-geometry was given.
3484 if test "${enable_geometry+set}" = set; then
3485 enableval
="$enable_geometry"
3487 if test "$enableval" = yes; then
3488 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
3490 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
3495 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
3496 if test "x$LINE" != x
; then
3497 eval "DEFAULT_$LINE"
3502 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
3507 eval "$ac_cv_use_geometry"
3508 if test "$no_cache" != 1; then
3509 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
3512 if test "$wxUSE_GEOMETRY" = yes; then
3513 echo "$ac_t""yes" 1>&6
3515 echo "$ac_t""no" 1>&6
3519 echo $ac_n "checking for --enable-log""... $ac_c" 1>&6
3520 echo "configure:3521: checking for --enable-log" >&5
3522 # Check whether --enable-log or --disable-log was given.
3523 if test "${enable_log+set}" = set; then
3524 enableval
="$enable_log"
3526 if test "$enableval" = yes; then
3527 ac_cv_use_log
='wxUSE_LOG=yes'
3529 ac_cv_use_log
='wxUSE_LOG=no'
3534 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
3535 if test "x$LINE" != x
; then
3536 eval "DEFAULT_$LINE"
3541 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
3546 eval "$ac_cv_use_log"
3547 if test "$no_cache" != 1; then
3548 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
3551 if test "$wxUSE_LOG" = yes; then
3552 echo "$ac_t""yes" 1>&6
3554 echo "$ac_t""no" 1>&6
3558 echo $ac_n "checking for --enable-streams""... $ac_c" 1>&6
3559 echo "configure:3560: checking for --enable-streams" >&5
3561 # Check whether --enable-streams or --disable-streams was given.
3562 if test "${enable_streams+set}" = set; then
3563 enableval
="$enable_streams"
3565 if test "$enableval" = yes; then
3566 ac_cv_use_streams
='wxUSE_STREAMS=yes'
3568 ac_cv_use_streams
='wxUSE_STREAMS=no'
3573 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
3574 if test "x$LINE" != x
; then
3575 eval "DEFAULT_$LINE"
3580 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
3585 eval "$ac_cv_use_streams"
3586 if test "$no_cache" != 1; then
3587 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
3590 if test "$wxUSE_STREAMS" = yes; then
3591 echo "$ac_t""yes" 1>&6
3593 echo "$ac_t""no" 1>&6
3597 echo $ac_n "checking for --enable-file""... $ac_c" 1>&6
3598 echo "configure:3599: checking for --enable-file" >&5
3600 # Check whether --enable-file or --disable-file was given.
3601 if test "${enable_file+set}" = set; then
3602 enableval
="$enable_file"
3604 if test "$enableval" = yes; then
3605 ac_cv_use_file
='wxUSE_FILE=yes'
3607 ac_cv_use_file
='wxUSE_FILE=no'
3612 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
3613 if test "x$LINE" != x
; then
3614 eval "DEFAULT_$LINE"
3619 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
3624 eval "$ac_cv_use_file"
3625 if test "$no_cache" != 1; then
3626 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
3629 if test "$wxUSE_FILE" = yes; then
3630 echo "$ac_t""yes" 1>&6
3632 echo "$ac_t""no" 1>&6
3636 echo $ac_n "checking for --enable-ffile""... $ac_c" 1>&6
3637 echo "configure:3638: checking for --enable-ffile" >&5
3639 # Check whether --enable-ffile or --disable-ffile was given.
3640 if test "${enable_ffile+set}" = set; then
3641 enableval
="$enable_ffile"
3643 if test "$enableval" = yes; then
3644 ac_cv_use_ffile
='wxUSE_FFILE=yes'
3646 ac_cv_use_ffile
='wxUSE_FFILE=no'
3651 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
3652 if test "x$LINE" != x
; then
3653 eval "DEFAULT_$LINE"
3658 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
3663 eval "$ac_cv_use_ffile"
3664 if test "$no_cache" != 1; then
3665 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
3668 if test "$wxUSE_FFILE" = yes; then
3669 echo "$ac_t""yes" 1>&6
3671 echo "$ac_t""no" 1>&6
3675 echo $ac_n "checking for --enable-textfile""... $ac_c" 1>&6
3676 echo "configure:3677: checking for --enable-textfile" >&5
3678 # Check whether --enable-textfile or --disable-textfile was given.
3679 if test "${enable_textfile+set}" = set; then
3680 enableval
="$enable_textfile"
3682 if test "$enableval" = yes; then
3683 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
3685 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
3690 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
3691 if test "x$LINE" != x
; then
3692 eval "DEFAULT_$LINE"
3697 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
3702 eval "$ac_cv_use_textfile"
3703 if test "$no_cache" != 1; then
3704 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
3707 if test "$wxUSE_TEXTFILE" = yes; then
3708 echo "$ac_t""yes" 1>&6
3710 echo "$ac_t""no" 1>&6
3714 echo $ac_n "checking for --enable-fontmap""... $ac_c" 1>&6
3715 echo "configure:3716: checking for --enable-fontmap" >&5
3717 # Check whether --enable-fontmap or --disable-fontmap was given.
3718 if test "${enable_fontmap+set}" = set; then
3719 enableval
="$enable_fontmap"
3721 if test "$enableval" = yes; then
3722 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
3724 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
3729 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
3730 if test "x$LINE" != x
; then
3731 eval "DEFAULT_$LINE"
3736 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
3741 eval "$ac_cv_use_fontmap"
3742 if test "$no_cache" != 1; then
3743 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
3746 if test "$wxUSE_FONTMAP" = yes; then
3747 echo "$ac_t""yes" 1>&6
3749 echo "$ac_t""no" 1>&6
3753 echo $ac_n "checking for --enable-unicode""... $ac_c" 1>&6
3754 echo "configure:3755: checking for --enable-unicode" >&5
3756 # Check whether --enable-unicode or --disable-unicode was given.
3757 if test "${enable_unicode+set}" = set; then
3758 enableval
="$enable_unicode"
3760 if test "$enableval" = yes; then
3761 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
3763 ac_cv_use_unicode
='wxUSE_UNICODE=no'
3768 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
3769 if test "x$LINE" != x
; then
3770 eval "DEFAULT_$LINE"
3775 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
3780 eval "$ac_cv_use_unicode"
3781 if test "$no_cache" != 1; then
3782 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
3785 if test "$wxUSE_UNICODE" = yes; then
3786 echo "$ac_t""yes" 1>&6
3788 echo "$ac_t""no" 1>&6
3792 echo $ac_n "checking for --enable-wxprintfv""... $ac_c" 1>&6
3793 echo "configure:3794: checking for --enable-wxprintfv" >&5
3795 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
3796 if test "${enable_wxprintfv+set}" = set; then
3797 enableval
="$enable_wxprintfv"
3799 if test "$enableval" = yes; then
3800 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
3802 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
3807 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
3808 if test "x$LINE" != x
; then
3809 eval "DEFAULT_$LINE"
3814 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
3819 eval "$ac_cv_use_wxprintfv"
3820 if test "$no_cache" != 1; then
3821 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
3824 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
3825 echo "$ac_t""yes" 1>&6
3827 echo "$ac_t""no" 1>&6
3831 echo $ac_n "checking for --enable-std_iostreams""... $ac_c" 1>&6
3832 echo "configure:3833: checking for --enable-std_iostreams" >&5
3834 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
3835 if test "${enable_std_iostreams+set}" = set; then
3836 enableval
="$enable_std_iostreams"
3838 if test "$enableval" = yes; then
3839 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
3841 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
3846 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
3847 if test "x$LINE" != x
; then
3848 eval "DEFAULT_$LINE"
3853 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
3858 eval "$ac_cv_use_std_iostreams"
3859 if test "$no_cache" != 1; then
3860 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
3863 if test "$wxUSE_STD_IOSTREAM" = yes; then
3864 echo "$ac_t""yes" 1>&6
3866 echo "$ac_t""no" 1>&6
3870 echo $ac_n "checking for --enable-filesystem""... $ac_c" 1>&6
3871 echo "configure:3872: checking for --enable-filesystem" >&5
3873 # Check whether --enable-filesystem or --disable-filesystem was given.
3874 if test "${enable_filesystem+set}" = set; then
3875 enableval
="$enable_filesystem"
3877 if test "$enableval" = yes; then
3878 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
3880 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
3885 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
3886 if test "x$LINE" != x
; then
3887 eval "DEFAULT_$LINE"
3892 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
3897 eval "$ac_cv_use_filesystem"
3898 if test "$no_cache" != 1; then
3899 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
3902 if test "$wxUSE_FILESYSTEM" = yes; then
3903 echo "$ac_t""yes" 1>&6
3905 echo "$ac_t""no" 1>&6
3909 echo $ac_n "checking for --enable-fs_inet""... $ac_c" 1>&6
3910 echo "configure:3911: checking for --enable-fs_inet" >&5
3912 # Check whether --enable-fs_inet or --disable-fs_inet was given.
3913 if test "${enable_fs_inet+set}" = set; then
3914 enableval
="$enable_fs_inet"
3916 if test "$enableval" = yes; then
3917 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
3919 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
3924 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
3925 if test "x$LINE" != x
; then
3926 eval "DEFAULT_$LINE"
3931 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
3936 eval "$ac_cv_use_fs_inet"
3937 if test "$no_cache" != 1; then
3938 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
3941 if test "$wxUSE_FS_INET" = yes; then
3942 echo "$ac_t""yes" 1>&6
3944 echo "$ac_t""no" 1>&6
3948 echo $ac_n "checking for --enable-fs_zip""... $ac_c" 1>&6
3949 echo "configure:3950: checking for --enable-fs_zip" >&5
3951 # Check whether --enable-fs_zip or --disable-fs_zip was given.
3952 if test "${enable_fs_zip+set}" = set; then
3953 enableval
="$enable_fs_zip"
3955 if test "$enableval" = yes; then
3956 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
3958 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
3963 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
3964 if test "x$LINE" != x
; then
3965 eval "DEFAULT_$LINE"
3970 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
3975 eval "$ac_cv_use_fs_zip"
3976 if test "$no_cache" != 1; then
3977 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
3980 if test "$wxUSE_FS_ZIP" = yes; then
3981 echo "$ac_t""yes" 1>&6
3983 echo "$ac_t""no" 1>&6
3987 echo $ac_n "checking for --enable-zipstream""... $ac_c" 1>&6
3988 echo "configure:3989: checking for --enable-zipstream" >&5
3990 # Check whether --enable-zipstream or --disable-zipstream was given.
3991 if test "${enable_zipstream+set}" = set; then
3992 enableval
="$enable_zipstream"
3994 if test "$enableval" = yes; then
3995 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
3997 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
4002 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
4003 if test "x$LINE" != x
; then
4004 eval "DEFAULT_$LINE"
4009 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
4014 eval "$ac_cv_use_zipstream"
4015 if test "$no_cache" != 1; then
4016 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
4019 if test "$wxUSE_ZIPSTREAM" = yes; then
4020 echo "$ac_t""yes" 1>&6
4022 echo "$ac_t""no" 1>&6
4027 echo $ac_n "checking for --enable-catch_segvs""... $ac_c" 1>&6
4028 echo "configure:4029: checking for --enable-catch_segvs" >&5
4030 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4031 if test "${enable_catch_segvs+set}" = set; then
4032 enableval
="$enable_catch_segvs"
4034 if test "$enableval" = yes; then
4035 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4037 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4042 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4043 if test "x$LINE" != x
; then
4044 eval "DEFAULT_$LINE"
4049 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4054 eval "$ac_cv_use_catch_segvs"
4055 if test "$no_cache" != 1; then
4056 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4059 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4060 echo "$ac_t""yes" 1>&6
4062 echo "$ac_t""no" 1>&6
4066 echo $ac_n "checking for --enable-snglinst""... $ac_c" 1>&6
4067 echo "configure:4068: checking for --enable-snglinst" >&5
4069 # Check whether --enable-snglinst or --disable-snglinst was given.
4070 if test "${enable_snglinst+set}" = set; then
4071 enableval
="$enable_snglinst"
4073 if test "$enableval" = yes; then
4074 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
4076 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
4081 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
4082 if test "x$LINE" != x
; then
4083 eval "DEFAULT_$LINE"
4088 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
4093 eval "$ac_cv_use_snglinst"
4094 if test "$no_cache" != 1; then
4095 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
4098 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
4099 echo "$ac_t""yes" 1>&6
4101 echo "$ac_t""no" 1>&6
4106 echo $ac_n "checking for --enable-mimetype""... $ac_c" 1>&6
4107 echo "configure:4108: checking for --enable-mimetype" >&5
4109 # Check whether --enable-mimetype or --disable-mimetype was given.
4110 if test "${enable_mimetype+set}" = set; then
4111 enableval
="$enable_mimetype"
4113 if test "$enableval" = yes; then
4114 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
4116 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
4121 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
4122 if test "x$LINE" != x
; then
4123 eval "DEFAULT_$LINE"
4128 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
4133 eval "$ac_cv_use_mimetype"
4134 if test "$no_cache" != 1; then
4135 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
4138 if test "$wxUSE_MIMETYPE" = yes; then
4139 echo "$ac_t""yes" 1>&6
4141 echo "$ac_t""no" 1>&6
4145 echo $ac_n "checking for --enable-system_options""... $ac_c" 1>&6
4146 echo "configure:4147: checking for --enable-system_options" >&5
4148 # Check whether --enable-system_options or --disable-system_options was given.
4149 if test "${enable_system_options+set}" = set; then
4150 enableval
="$enable_system_options"
4152 if test "$enableval" = yes; then
4153 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
4155 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
4160 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
4161 if test "x$LINE" != x
; then
4162 eval "DEFAULT_$LINE"
4167 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
4172 eval "$ac_cv_use_system_options"
4173 if test "$no_cache" != 1; then
4174 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
4177 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
4178 echo "$ac_t""yes" 1>&6
4180 echo "$ac_t""no" 1>&6
4186 echo $ac_n "checking for --enable-threads""... $ac_c" 1>&6
4187 echo "configure:4188: checking for --enable-threads" >&5
4189 # Check whether --enable-threads or --disable-threads was given.
4190 if test "${enable_threads+set}" = set; then
4191 enableval
="$enable_threads"
4193 if test "$enableval" = yes; then
4194 ac_cv_use_threads
='wxUSE_THREADS=yes'
4196 ac_cv_use_threads
='wxUSE_THREADS=no'
4201 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
4202 if test "x$LINE" != x
; then
4203 eval "DEFAULT_$LINE"
4208 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
4213 eval "$ac_cv_use_threads"
4214 if test "$no_cache" != 1; then
4215 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
4218 if test "$wxUSE_THREADS" = yes; then
4219 echo "$ac_t""yes" 1>&6
4221 echo "$ac_t""no" 1>&6
4225 echo $ac_n "checking for --enable-serial""... $ac_c" 1>&6
4226 echo "configure:4227: checking for --enable-serial" >&5
4228 # Check whether --enable-serial or --disable-serial was given.
4229 if test "${enable_serial+set}" = set; then
4230 enableval
="$enable_serial"
4232 if test "$enableval" = yes; then
4233 ac_cv_use_serial
='wxUSE_SERIAL=yes'
4235 ac_cv_use_serial
='wxUSE_SERIAL=no'
4240 LINE
=`grep "wxUSE_SERIAL" ${wx_arg_cache_file}`
4241 if test "x$LINE" != x
; then
4242 eval "DEFAULT_$LINE"
4247 ac_cv_use_serial
='wxUSE_SERIAL='$DEFAULT_wxUSE_SERIAL
4252 eval "$ac_cv_use_serial"
4253 if test "$no_cache" != 1; then
4254 echo $ac_cv_use_serial >> ${wx_arg_cache_file}.tmp
4257 if test "$wxUSE_SERIAL" = yes; then
4258 echo "$ac_t""yes" 1>&6
4260 echo "$ac_t""no" 1>&6
4264 if test "$wxUSE_GUI" = "yes"; then
4268 echo $ac_n "checking for --enable-docview""... $ac_c" 1>&6
4269 echo "configure:4270: checking for --enable-docview" >&5
4271 # Check whether --enable-docview or --disable-docview was given.
4272 if test "${enable_docview+set}" = set; then
4273 enableval
="$enable_docview"
4275 if test "$enableval" = yes; then
4276 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
4278 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
4283 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
4284 if test "x$LINE" != x
; then
4285 eval "DEFAULT_$LINE"
4290 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
4295 eval "$ac_cv_use_docview"
4296 if test "$no_cache" != 1; then
4297 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
4300 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
4301 echo "$ac_t""yes" 1>&6
4303 echo "$ac_t""no" 1>&6
4307 echo $ac_n "checking for --enable-help""... $ac_c" 1>&6
4308 echo "configure:4309: checking for --enable-help" >&5
4310 # Check whether --enable-help or --disable-help was given.
4311 if test "${enable_help+set}" = set; then
4312 enableval
="$enable_help"
4314 if test "$enableval" = yes; then
4315 ac_cv_use_help
='wxUSE_HELP=yes'
4317 ac_cv_use_help
='wxUSE_HELP=no'
4322 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
4323 if test "x$LINE" != x
; then
4324 eval "DEFAULT_$LINE"
4329 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
4334 eval "$ac_cv_use_help"
4335 if test "$no_cache" != 1; then
4336 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
4339 if test "$wxUSE_HELP" = yes; then
4340 echo "$ac_t""yes" 1>&6
4342 echo "$ac_t""no" 1>&6
4346 echo $ac_n "checking for --enable-mshtmlhelp""... $ac_c" 1>&6
4347 echo "configure:4348: checking for --enable-mshtmlhelp" >&5
4349 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
4350 if test "${enable_mshtmlhelp+set}" = set; then
4351 enableval
="$enable_mshtmlhelp"
4353 if test "$enableval" = yes; then
4354 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
4356 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
4361 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
4362 if test "x$LINE" != x
; then
4363 eval "DEFAULT_$LINE"
4368 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
4373 eval "$ac_cv_use_mshtmlhelp"
4374 if test "$no_cache" != 1; then
4375 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
4378 if test "$wxUSE_MS_HTML_HELP" = yes; then
4379 echo "$ac_t""yes" 1>&6
4381 echo "$ac_t""no" 1>&6
4385 echo $ac_n "checking for --enable-html""... $ac_c" 1>&6
4386 echo "configure:4387: checking for --enable-html" >&5
4388 # Check whether --enable-html or --disable-html was given.
4389 if test "${enable_html+set}" = set; then
4390 enableval
="$enable_html"
4392 if test "$enableval" = yes; then
4393 ac_cv_use_html
='wxUSE_HTML=yes'
4395 ac_cv_use_html
='wxUSE_HTML=no'
4400 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
4401 if test "x$LINE" != x
; then
4402 eval "DEFAULT_$LINE"
4407 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
4412 eval "$ac_cv_use_html"
4413 if test "$no_cache" != 1; then
4414 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
4417 if test "$wxUSE_HTML" = yes; then
4418 echo "$ac_t""yes" 1>&6
4420 echo "$ac_t""no" 1>&6
4424 echo $ac_n "checking for --enable-htmlhelp""... $ac_c" 1>&6
4425 echo "configure:4426: checking for --enable-htmlhelp" >&5
4427 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
4428 if test "${enable_htmlhelp+set}" = set; then
4429 enableval
="$enable_htmlhelp"
4431 if test "$enableval" = yes; then
4432 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
4434 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
4439 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
4440 if test "x$LINE" != x
; then
4441 eval "DEFAULT_$LINE"
4446 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
4451 eval "$ac_cv_use_htmlhelp"
4452 if test "$no_cache" != 1; then
4453 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
4456 if test "$wxUSE_WXHTML_HELP" = yes; then
4457 echo "$ac_t""yes" 1>&6
4459 echo "$ac_t""no" 1>&6
4463 echo $ac_n "checking for --enable-constraints""... $ac_c" 1>&6
4464 echo "configure:4465: checking for --enable-constraints" >&5
4466 # Check whether --enable-constraints or --disable-constraints was given.
4467 if test "${enable_constraints+set}" = set; then
4468 enableval
="$enable_constraints"
4470 if test "$enableval" = yes; then
4471 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
4473 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
4478 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
4479 if test "x$LINE" != x
; then
4480 eval "DEFAULT_$LINE"
4485 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
4490 eval "$ac_cv_use_constraints"
4491 if test "$no_cache" != 1; then
4492 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
4495 if test "$wxUSE_CONSTRAINTS" = yes; then
4496 echo "$ac_t""yes" 1>&6
4498 echo "$ac_t""no" 1>&6
4502 echo $ac_n "checking for --enable-printarch""... $ac_c" 1>&6
4503 echo "configure:4504: checking for --enable-printarch" >&5
4505 # Check whether --enable-printarch or --disable-printarch was given.
4506 if test "${enable_printarch+set}" = set; then
4507 enableval
="$enable_printarch"
4509 if test "$enableval" = yes; then
4510 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
4512 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
4517 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
4518 if test "x$LINE" != x
; then
4519 eval "DEFAULT_$LINE"
4524 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
4529 eval "$ac_cv_use_printarch"
4530 if test "$no_cache" != 1; then
4531 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
4534 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
4535 echo "$ac_t""yes" 1>&6
4537 echo "$ac_t""no" 1>&6
4541 echo $ac_n "checking for --enable-mdi""... $ac_c" 1>&6
4542 echo "configure:4543: checking for --enable-mdi" >&5
4544 # Check whether --enable-mdi or --disable-mdi was given.
4545 if test "${enable_mdi+set}" = set; then
4546 enableval
="$enable_mdi"
4548 if test "$enableval" = yes; then
4549 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=yes'
4551 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=no'
4556 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
4557 if test "x$LINE" != x
; then
4558 eval "DEFAULT_$LINE"
4563 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
4568 eval "$ac_cv_use_mdi"
4569 if test "$no_cache" != 1; then
4570 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
4573 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
4574 echo "$ac_t""yes" 1>&6
4576 echo "$ac_t""no" 1>&6
4580 echo $ac_n "checking for --enable-loggui""... $ac_c" 1>&6
4581 echo "configure:4582: checking for --enable-loggui" >&5
4583 # Check whether --enable-loggui or --disable-loggui was given.
4584 if test "${enable_loggui+set}" = set; then
4585 enableval
="$enable_loggui"
4587 if test "$enableval" = yes; then
4588 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
4590 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
4595 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
4596 if test "x$LINE" != x
; then
4597 eval "DEFAULT_$LINE"
4602 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
4607 eval "$ac_cv_use_loggui"
4608 if test "$no_cache" != 1; then
4609 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
4612 if test "$wxUSE_LOGGUI" = yes; then
4613 echo "$ac_t""yes" 1>&6
4615 echo "$ac_t""no" 1>&6
4619 echo $ac_n "checking for --enable-logwin""... $ac_c" 1>&6
4620 echo "configure:4621: checking for --enable-logwin" >&5
4622 # Check whether --enable-logwin or --disable-logwin was given.
4623 if test "${enable_logwin+set}" = set; then
4624 enableval
="$enable_logwin"
4626 if test "$enableval" = yes; then
4627 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
4629 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
4634 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
4635 if test "x$LINE" != x
; then
4636 eval "DEFAULT_$LINE"
4641 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
4646 eval "$ac_cv_use_logwin"
4647 if test "$no_cache" != 1; then
4648 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
4651 if test "$wxUSE_LOGWINDOW" = yes; then
4652 echo "$ac_t""yes" 1>&6
4654 echo "$ac_t""no" 1>&6
4659 echo $ac_n "checking for --enable-postscript""... $ac_c" 1>&6
4660 echo "configure:4661: checking for --enable-postscript" >&5
4662 # Check whether --enable-postscript or --disable-postscript was given.
4663 if test "${enable_postscript+set}" = set; then
4664 enableval
="$enable_postscript"
4666 if test "$enableval" = yes; then
4667 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
4669 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
4674 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
4675 if test "x$LINE" != x
; then
4676 eval "DEFAULT_$LINE"
4681 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
4686 eval "$ac_cv_use_postscript"
4687 if test "$no_cache" != 1; then
4688 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
4691 if test "$wxUSE_POSTSCRIPT" = yes; then
4692 echo "$ac_t""yes" 1>&6
4694 echo "$ac_t""no" 1>&6
4701 echo $ac_n "checking for --enable-prologio""... $ac_c" 1>&6
4702 echo "configure:4703: checking for --enable-prologio" >&5
4704 # Check whether --enable-prologio or --disable-prologio was given.
4705 if test "${enable_prologio+set}" = set; then
4706 enableval
="$enable_prologio"
4708 if test "$enableval" = yes; then
4709 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
4711 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
4716 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
4717 if test "x$LINE" != x
; then
4718 eval "DEFAULT_$LINE"
4723 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
4728 eval "$ac_cv_use_prologio"
4729 if test "$no_cache" != 1; then
4730 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
4733 if test "$wxUSE_PROLOGIO" = yes; then
4734 echo "$ac_t""yes" 1>&6
4736 echo "$ac_t""no" 1>&6
4740 echo $ac_n "checking for --enable-resources""... $ac_c" 1>&6
4741 echo "configure:4742: checking for --enable-resources" >&5
4743 # Check whether --enable-resources or --disable-resources was given.
4744 if test "${enable_resources+set}" = set; then
4745 enableval
="$enable_resources"
4747 if test "$enableval" = yes; then
4748 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
4750 ac_cv_use_resources
='wxUSE_RESOURCES=no'
4755 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
4756 if test "x$LINE" != x
; then
4757 eval "DEFAULT_$LINE"
4762 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
4767 eval "$ac_cv_use_resources"
4768 if test "$no_cache" != 1; then
4769 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
4772 if test "$wxUSE_RESOURCES" = yes; then
4773 echo "$ac_t""yes" 1>&6
4775 echo "$ac_t""no" 1>&6
4780 echo $ac_n "checking for --enable-xresources""... $ac_c" 1>&6
4781 echo "configure:4782: checking for --enable-xresources" >&5
4783 # Check whether --enable-xresources or --disable-xresources was given.
4784 if test "${enable_xresources+set}" = set; then
4785 enableval
="$enable_xresources"
4787 if test "$enableval" = yes; then
4788 ac_cv_use_xresources
='wxUSE_X_RESOURCES=yes'
4790 ac_cv_use_xresources
='wxUSE_X_RESOURCES=no'
4795 LINE
=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
4796 if test "x$LINE" != x
; then
4797 eval "DEFAULT_$LINE"
4802 ac_cv_use_xresources
='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
4807 eval "$ac_cv_use_xresources"
4808 if test "$no_cache" != 1; then
4809 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
4812 if test "$wxUSE_X_RESOURCES" = yes; then
4813 echo "$ac_t""yes" 1>&6
4815 echo "$ac_t""no" 1>&6
4821 echo $ac_n "checking for --enable-clipboard""... $ac_c" 1>&6
4822 echo "configure:4823: checking for --enable-clipboard" >&5
4824 # Check whether --enable-clipboard or --disable-clipboard was given.
4825 if test "${enable_clipboard+set}" = set; then
4826 enableval
="$enable_clipboard"
4828 if test "$enableval" = yes; then
4829 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
4831 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
4836 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
4837 if test "x$LINE" != x
; then
4838 eval "DEFAULT_$LINE"
4843 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
4848 eval "$ac_cv_use_clipboard"
4849 if test "$no_cache" != 1; then
4850 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
4853 if test "$wxUSE_CLIPBOARD" = yes; then
4854 echo "$ac_t""yes" 1>&6
4856 echo "$ac_t""no" 1>&6
4860 echo $ac_n "checking for --enable-dnd""... $ac_c" 1>&6
4861 echo "configure:4862: checking for --enable-dnd" >&5
4863 # Check whether --enable-dnd or --disable-dnd was given.
4864 if test "${enable_dnd+set}" = set; then
4865 enableval
="$enable_dnd"
4867 if test "$enableval" = yes; then
4868 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
4870 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
4875 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
4876 if test "x$LINE" != x
; then
4877 eval "DEFAULT_$LINE"
4882 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
4887 eval "$ac_cv_use_dnd"
4888 if test "$no_cache" != 1; then
4889 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
4892 if test "$wxUSE_DRAG_AND_DROP" = yes; then
4893 echo "$ac_t""yes" 1>&6
4895 echo "$ac_t""no" 1>&6
4899 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
4900 echo "configure:4901: checking for --enable-metafile" >&5
4902 # Check whether --enable-metafile or --disable-metafile was given.
4903 if test "${enable_metafile+set}" = set; then
4904 enableval
="$enable_metafile"
4906 if test "$enableval" = yes; then
4907 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
4909 ac_cv_use_metafile
='wxUSE_METAFILE=no'
4914 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
4915 if test "x$LINE" != x
; then
4916 eval "DEFAULT_$LINE"
4921 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
4926 eval "$ac_cv_use_metafile"
4927 if test "$no_cache" != 1; then
4928 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
4931 if test "$wxUSE_METAFILE" = yes; then
4932 echo "$ac_t""yes" 1>&6
4934 echo "$ac_t""no" 1>&6
4939 echo $ac_n "checking for --enable-treelayout""... $ac_c" 1>&6
4940 echo "configure:4941: checking for --enable-treelayout" >&5
4942 # Check whether --enable-treelayout or --disable-treelayout was given.
4943 if test "${enable_treelayout+set}" = set; then
4944 enableval
="$enable_treelayout"
4946 if test "$enableval" = yes; then
4947 ac_cv_use_treelayout
='wxUSE_TREELAYOUT=yes'
4949 ac_cv_use_treelayout
='wxUSE_TREELAYOUT=no'
4954 LINE
=`grep "wxUSE_TREELAYOUT" ${wx_arg_cache_file}`
4955 if test "x$LINE" != x
; then
4956 eval "DEFAULT_$LINE"
4961 ac_cv_use_treelayout
='wxUSE_TREELAYOUT='$DEFAULT_wxUSE_TREELAYOUT
4966 eval "$ac_cv_use_treelayout"
4967 if test "$no_cache" != 1; then
4968 echo $ac_cv_use_treelayout >> ${wx_arg_cache_file}.tmp
4971 if test "$wxUSE_TREELAYOUT" = yes; then
4972 echo "$ac_t""yes" 1>&6
4974 echo "$ac_t""no" 1>&6
4980 echo $ac_n "checking for --enable-controls""... $ac_c" 1>&6
4981 echo "configure:4982: checking for --enable-controls" >&5
4983 # Check whether --enable-controls or --disable-controls was given.
4984 if test "${enable_controls+set}" = set; then
4985 enableval
="$enable_controls"
4987 if test "$enableval" = yes; then
4988 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
4990 ac_cv_use_controls
='wxUSE_CONTROLS=no'
4995 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
4996 if test "x$LINE" != x
; then
4997 eval "DEFAULT_$LINE"
5002 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
5007 eval "$ac_cv_use_controls"
5008 if test "$no_cache" != 1; then
5009 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
5012 if test "$wxUSE_CONTROLS" = yes; then
5013 echo "$ac_t""yes" 1>&6
5015 echo "$ac_t""no" 1>&6
5019 if test "$wxUSE_CONTROLS" = "yes"; then
5020 DEFAULT_wxUSE_ACCEL
=yes
5021 DEFAULT_wxUSE_BMPBUTTON
=yes
5022 DEFAULT_wxUSE_BUTTON
=yes
5023 DEFAULT_wxUSE_CALCTRL
=no
5024 DEFAULT_wxUSE_CARET
=yes
5025 DEFAULT_wxUSE_COMBOBOX
=yes
5026 DEFAULT_wxUSE_CHECKBOX
=yes
5027 DEFAULT_wxUSE_CHECKLISTBOX
=yes
5028 DEFAULT_wxUSE_CHOICE
=yes
5029 DEFAULT_wxUSE_GAUGE
=yes
5030 DEFAULT_wxUSE_GRID
=yes
5031 DEFAULT_wxUSE_NEW_GRID
=yes
5032 DEFAULT_wxUSE_IMAGLIST
=yes
5033 DEFAULT_wxUSE_LISTBOX
=yes
5034 DEFAULT_wxUSE_LISTCTRL
=yes
5035 DEFAULT_wxUSE_NOTEBOOK
=yes
5036 DEFAULT_wxUSE_PROPSHEET
=yes
5037 DEFAULT_wxUSE_RADIOBOX
=yes
5038 DEFAULT_wxUSE_RADIOBTN
=yes
5039 DEFAULT_wxUSE_SASH
=yes
5040 DEFAULT_wxUSE_SCROLLBAR
=yes
5041 DEFAULT_wxUSE_SLIDER
=yes
5042 DEFAULT_wxUSE_SPINBTN
=yes
5043 DEFAULT_wxUSE_SPINCTRL
=yes
5044 DEFAULT_wxUSE_SPLITTER
=yes
5045 DEFAULT_wxUSE_STATBMP
=yes
5046 DEFAULT_wxUSE_STATBOX
=yes
5047 DEFAULT_wxUSE_STATLINE
=yes
5048 DEFAULT_wxUSE_STATUSBAR
=yes
5049 DEFAULT_wxUSE_TAB_DIALOG
=yes
5050 DEFAULT_wxUSE_TOGGLEBTN
=yes
5051 DEFAULT_wxUSE_TOOLBAR
=yes
5052 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
5053 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
5054 DEFAULT_wxUSE_TOOLTIPS
=yes
5055 DEFAULT_wxUSE_TREECTRL
=yes
5056 DEFAULT_wxUSE_POPUPWIN
=yes
5057 elif test "$wxUSE_CONTROLS" = "no"; then
5058 DEFAULT_wxUSE_ACCEL
=no
5059 DEFAULT_wxUSE_BMPBUTTON
=no
5060 DEFAULT_wxUSE_BUTTON
=no
5061 DEFAULT_wxUSE_CALCTRL
=no
5062 DEFAULT_wxUSE_CARET
=no
5063 DEFAULT_wxUSE_COMBOBOX
=no
5064 DEFAULT_wxUSE_CHECKBOX
=no
5065 DEFAULT_wxUSE_CHECKLISTBOX
=no
5066 DEFAULT_wxUSE_CHOICE
=no
5067 DEFAULT_wxUSE_GAUGE
=no
5068 DEFAULT_wxUSE_GRID
=no
5069 DEFAULT_wxUSE_NEW_GRID
=no
5070 DEFAULT_wxUSE_IMAGLIST
=no
5071 DEFAULT_wxUSE_LISTBOX
=no
5072 DEFAULT_wxUSE_LISTCTRL
=no
5073 DEFAULT_wxUSE_NOTEBOOK
=no
5074 DEFAULT_wxUSE_PROPSHEET
=no
5075 DEFAULT_wxUSE_RADIOBOX
=no
5076 DEFAULT_wxUSE_RADIOBTN
=no
5077 DEFAULT_wxUSE_SASH
=no
5078 DEFAULT_wxUSE_SCROLLBAR
=no
5079 DEFAULT_wxUSE_SLIDER
=no
5080 DEFAULT_wxUSE_SPINBTN
=no
5081 DEFAULT_wxUSE_SPINCTRL
=no
5082 DEFAULT_wxUSE_SPLITTER
=no
5083 DEFAULT_wxUSE_STATBMP
=no
5084 DEFAULT_wxUSE_STATBOX
=no
5085 DEFAULT_wxUSE_STATLINE
=no
5086 DEFAULT_wxUSE_STATUSBAR
=no
5087 DEFAULT_wxUSE_TAB_DIALOG
=no
5088 DEFAULT_wxUSE_TOGGLEBTN
=no
5089 DEFAULT_wxUSE_TOOLBAR
=no
5090 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
5091 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
5092 DEFAULT_wxUSE_TOOLTIPS
=no
5093 DEFAULT_wxUSE_TREECTRL
=no
5094 DEFAULT_wxUSE_POPUPWIN
=no
5098 echo $ac_n "checking for --enable-accel""... $ac_c" 1>&6
5099 echo "configure:5100: checking for --enable-accel" >&5
5101 # Check whether --enable-accel or --disable-accel was given.
5102 if test "${enable_accel+set}" = set; then
5103 enableval
="$enable_accel"
5105 if test "$enableval" = yes; then
5106 ac_cv_use_accel
='wxUSE_ACCEL=yes'
5108 ac_cv_use_accel
='wxUSE_ACCEL=no'
5113 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
5114 if test "x$LINE" != x
; then
5115 eval "DEFAULT_$LINE"
5120 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
5125 eval "$ac_cv_use_accel"
5126 if test "$no_cache" != 1; then
5127 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
5130 if test "$wxUSE_ACCEL" = yes; then
5131 echo "$ac_t""yes" 1>&6
5133 echo "$ac_t""no" 1>&6
5137 echo $ac_n "checking for --enable-button""... $ac_c" 1>&6
5138 echo "configure:5139: checking for --enable-button" >&5
5140 # Check whether --enable-button or --disable-button was given.
5141 if test "${enable_button+set}" = set; then
5142 enableval
="$enable_button"
5144 if test "$enableval" = yes; then
5145 ac_cv_use_button
='wxUSE_BUTTON=yes'
5147 ac_cv_use_button
='wxUSE_BUTTON=no'
5152 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
5153 if test "x$LINE" != x
; then
5154 eval "DEFAULT_$LINE"
5159 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
5164 eval "$ac_cv_use_button"
5165 if test "$no_cache" != 1; then
5166 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
5169 if test "$wxUSE_BUTTON" = yes; then
5170 echo "$ac_t""yes" 1>&6
5172 echo "$ac_t""no" 1>&6
5176 echo $ac_n "checking for --enable-bmpbutton""... $ac_c" 1>&6
5177 echo "configure:5178: checking for --enable-bmpbutton" >&5
5179 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
5180 if test "${enable_bmpbutton+set}" = set; then
5181 enableval
="$enable_bmpbutton"
5183 if test "$enableval" = yes; then
5184 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
5186 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
5191 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
5192 if test "x$LINE" != x
; then
5193 eval "DEFAULT_$LINE"
5198 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
5203 eval "$ac_cv_use_bmpbutton"
5204 if test "$no_cache" != 1; then
5205 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
5208 if test "$wxUSE_BMPBUTTON" = yes; then
5209 echo "$ac_t""yes" 1>&6
5211 echo "$ac_t""no" 1>&6
5215 echo $ac_n "checking for --enable-calendar""... $ac_c" 1>&6
5216 echo "configure:5217: checking for --enable-calendar" >&5
5218 # Check whether --enable-calendar or --disable-calendar was given.
5219 if test "${enable_calendar+set}" = set; then
5220 enableval
="$enable_calendar"
5222 if test "$enableval" = yes; then
5223 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
5225 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
5230 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
5231 if test "x$LINE" != x
; then
5232 eval "DEFAULT_$LINE"
5237 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
5242 eval "$ac_cv_use_calendar"
5243 if test "$no_cache" != 1; then
5244 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
5247 if test "$wxUSE_CALCTRL" = yes; then
5248 echo "$ac_t""yes" 1>&6
5250 echo "$ac_t""no" 1>&6
5254 echo $ac_n "checking for --enable-caret""... $ac_c" 1>&6
5255 echo "configure:5256: checking for --enable-caret" >&5
5257 # Check whether --enable-caret or --disable-caret was given.
5258 if test "${enable_caret+set}" = set; then
5259 enableval
="$enable_caret"
5261 if test "$enableval" = yes; then
5262 ac_cv_use_caret
='wxUSE_CARET=yes'
5264 ac_cv_use_caret
='wxUSE_CARET=no'
5269 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
5270 if test "x$LINE" != x
; then
5271 eval "DEFAULT_$LINE"
5276 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
5281 eval "$ac_cv_use_caret"
5282 if test "$no_cache" != 1; then
5283 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
5286 if test "$wxUSE_CARET" = yes; then
5287 echo "$ac_t""yes" 1>&6
5289 echo "$ac_t""no" 1>&6
5293 echo $ac_n "checking for --enable-checkbox""... $ac_c" 1>&6
5294 echo "configure:5295: checking for --enable-checkbox" >&5
5296 # Check whether --enable-checkbox or --disable-checkbox was given.
5297 if test "${enable_checkbox+set}" = set; then
5298 enableval
="$enable_checkbox"
5300 if test "$enableval" = yes; then
5301 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
5303 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
5308 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
5309 if test "x$LINE" != x
; then
5310 eval "DEFAULT_$LINE"
5315 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
5320 eval "$ac_cv_use_checkbox"
5321 if test "$no_cache" != 1; then
5322 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
5325 if test "$wxUSE_CHECKBOX" = yes; then
5326 echo "$ac_t""yes" 1>&6
5328 echo "$ac_t""no" 1>&6
5332 echo $ac_n "checking for --enable-checklst""... $ac_c" 1>&6
5333 echo "configure:5334: checking for --enable-checklst" >&5
5335 # Check whether --enable-checklst or --disable-checklst was given.
5336 if test "${enable_checklst+set}" = set; then
5337 enableval
="$enable_checklst"
5339 if test "$enableval" = yes; then
5340 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
5342 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
5347 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
5348 if test "x$LINE" != x
; then
5349 eval "DEFAULT_$LINE"
5354 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
5359 eval "$ac_cv_use_checklst"
5360 if test "$no_cache" != 1; then
5361 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
5364 if test "$wxUSE_CHECKLST" = yes; then
5365 echo "$ac_t""yes" 1>&6
5367 echo "$ac_t""no" 1>&6
5371 echo $ac_n "checking for --enable-choice""... $ac_c" 1>&6
5372 echo "configure:5373: checking for --enable-choice" >&5
5374 # Check whether --enable-choice or --disable-choice was given.
5375 if test "${enable_choice+set}" = set; then
5376 enableval
="$enable_choice"
5378 if test "$enableval" = yes; then
5379 ac_cv_use_choice
='wxUSE_CHOICE=yes'
5381 ac_cv_use_choice
='wxUSE_CHOICE=no'
5386 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
5387 if test "x$LINE" != x
; then
5388 eval "DEFAULT_$LINE"
5393 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
5398 eval "$ac_cv_use_choice"
5399 if test "$no_cache" != 1; then
5400 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
5403 if test "$wxUSE_CHOICE" = yes; then
5404 echo "$ac_t""yes" 1>&6
5406 echo "$ac_t""no" 1>&6
5410 echo $ac_n "checking for --enable-combobox""... $ac_c" 1>&6
5411 echo "configure:5412: checking for --enable-combobox" >&5
5413 # Check whether --enable-combobox or --disable-combobox was given.
5414 if test "${enable_combobox+set}" = set; then
5415 enableval
="$enable_combobox"
5417 if test "$enableval" = yes; then
5418 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
5420 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
5425 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
5426 if test "x$LINE" != x
; then
5427 eval "DEFAULT_$LINE"
5432 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
5437 eval "$ac_cv_use_combobox"
5438 if test "$no_cache" != 1; then
5439 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
5442 if test "$wxUSE_COMBOBOX" = yes; then
5443 echo "$ac_t""yes" 1>&6
5445 echo "$ac_t""no" 1>&6
5449 echo $ac_n "checking for --enable-gauge""... $ac_c" 1>&6
5450 echo "configure:5451: checking for --enable-gauge" >&5
5452 # Check whether --enable-gauge or --disable-gauge was given.
5453 if test "${enable_gauge+set}" = set; then
5454 enableval
="$enable_gauge"
5456 if test "$enableval" = yes; then
5457 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
5459 ac_cv_use_gauge
='wxUSE_GAUGE=no'
5464 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
5465 if test "x$LINE" != x
; then
5466 eval "DEFAULT_$LINE"
5471 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
5476 eval "$ac_cv_use_gauge"
5477 if test "$no_cache" != 1; then
5478 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
5481 if test "$wxUSE_GAUGE" = yes; then
5482 echo "$ac_t""yes" 1>&6
5484 echo "$ac_t""no" 1>&6
5488 echo $ac_n "checking for --enable-grid""... $ac_c" 1>&6
5489 echo "configure:5490: checking for --enable-grid" >&5
5491 # Check whether --enable-grid or --disable-grid was given.
5492 if test "${enable_grid+set}" = set; then
5493 enableval
="$enable_grid"
5495 if test "$enableval" = yes; then
5496 ac_cv_use_grid
='wxUSE_GRID=yes'
5498 ac_cv_use_grid
='wxUSE_GRID=no'
5503 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
5504 if test "x$LINE" != x
; then
5505 eval "DEFAULT_$LINE"
5510 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
5515 eval "$ac_cv_use_grid"
5516 if test "$no_cache" != 1; then
5517 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
5520 if test "$wxUSE_GRID" = yes; then
5521 echo "$ac_t""yes" 1>&6
5523 echo "$ac_t""no" 1>&6
5527 echo $ac_n "checking for --enable-newgrid""... $ac_c" 1>&6
5528 echo "configure:5529: checking for --enable-newgrid" >&5
5530 # Check whether --enable-newgrid or --disable-newgrid was given.
5531 if test "${enable_newgrid+set}" = set; then
5532 enableval
="$enable_newgrid"
5534 if test "$enableval" = yes; then
5535 ac_cv_use_newgrid
='wxUSE_NEW_GRID=yes'
5537 ac_cv_use_newgrid
='wxUSE_NEW_GRID=no'
5542 LINE
=`grep "wxUSE_NEW_GRID" ${wx_arg_cache_file}`
5543 if test "x$LINE" != x
; then
5544 eval "DEFAULT_$LINE"
5549 ac_cv_use_newgrid
='wxUSE_NEW_GRID='$DEFAULT_wxUSE_NEW_GRID
5554 eval "$ac_cv_use_newgrid"
5555 if test "$no_cache" != 1; then
5556 echo $ac_cv_use_newgrid >> ${wx_arg_cache_file}.tmp
5559 if test "$wxUSE_NEW_GRID" = yes; then
5560 echo "$ac_t""yes" 1>&6
5562 echo "$ac_t""no" 1>&6
5566 echo $ac_n "checking for --enable-imaglist""... $ac_c" 1>&6
5567 echo "configure:5568: checking for --enable-imaglist" >&5
5569 # Check whether --enable-imaglist or --disable-imaglist was given.
5570 if test "${enable_imaglist+set}" = set; then
5571 enableval
="$enable_imaglist"
5573 if test "$enableval" = yes; then
5574 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
5576 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
5581 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
5582 if test "x$LINE" != x
; then
5583 eval "DEFAULT_$LINE"
5588 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
5593 eval "$ac_cv_use_imaglist"
5594 if test "$no_cache" != 1; then
5595 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
5598 if test "$wxUSE_IMAGLIST" = yes; then
5599 echo "$ac_t""yes" 1>&6
5601 echo "$ac_t""no" 1>&6
5605 echo $ac_n "checking for --enable-listbox""... $ac_c" 1>&6
5606 echo "configure:5607: checking for --enable-listbox" >&5
5608 # Check whether --enable-listbox or --disable-listbox was given.
5609 if test "${enable_listbox+set}" = set; then
5610 enableval
="$enable_listbox"
5612 if test "$enableval" = yes; then
5613 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
5615 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
5620 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
5621 if test "x$LINE" != x
; then
5622 eval "DEFAULT_$LINE"
5627 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
5632 eval "$ac_cv_use_listbox"
5633 if test "$no_cache" != 1; then
5634 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
5637 if test "$wxUSE_LISTBOX" = yes; then
5638 echo "$ac_t""yes" 1>&6
5640 echo "$ac_t""no" 1>&6
5644 echo $ac_n "checking for --enable-listctrl""... $ac_c" 1>&6
5645 echo "configure:5646: checking for --enable-listctrl" >&5
5647 # Check whether --enable-listctrl or --disable-listctrl was given.
5648 if test "${enable_listctrl+set}" = set; then
5649 enableval
="$enable_listctrl"
5651 if test "$enableval" = yes; then
5652 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
5654 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
5659 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
5660 if test "x$LINE" != x
; then
5661 eval "DEFAULT_$LINE"
5666 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
5671 eval "$ac_cv_use_listctrl"
5672 if test "$no_cache" != 1; then
5673 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
5676 if test "$wxUSE_LISTCTRL" = yes; then
5677 echo "$ac_t""yes" 1>&6
5679 echo "$ac_t""no" 1>&6
5683 echo $ac_n "checking for --enable-notebook""... $ac_c" 1>&6
5684 echo "configure:5685: checking for --enable-notebook" >&5
5686 # Check whether --enable-notebook or --disable-notebook was given.
5687 if test "${enable_notebook+set}" = set; then
5688 enableval
="$enable_notebook"
5690 if test "$enableval" = yes; then
5691 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
5693 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
5698 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
5699 if test "x$LINE" != x
; then
5700 eval "DEFAULT_$LINE"
5705 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
5710 eval "$ac_cv_use_notebook"
5711 if test "$no_cache" != 1; then
5712 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
5715 if test "$wxUSE_NOTEBOOK" = yes; then
5716 echo "$ac_t""yes" 1>&6
5718 echo "$ac_t""no" 1>&6
5722 echo $ac_n "checking for --enable-propsheet""... $ac_c" 1>&6
5723 echo "configure:5724: checking for --enable-propsheet" >&5
5725 # Check whether --enable-propsheet or --disable-propsheet was given.
5726 if test "${enable_propsheet+set}" = set; then
5727 enableval
="$enable_propsheet"
5729 if test "$enableval" = yes; then
5730 ac_cv_use_propsheet
='wxUSE_PROPSHEET=yes'
5732 ac_cv_use_propsheet
='wxUSE_PROPSHEET=no'
5737 LINE
=`grep "wxUSE_PROPSHEET" ${wx_arg_cache_file}`
5738 if test "x$LINE" != x
; then
5739 eval "DEFAULT_$LINE"
5744 ac_cv_use_propsheet
='wxUSE_PROPSHEET='$DEFAULT_wxUSE_PROPSHEET
5749 eval "$ac_cv_use_propsheet"
5750 if test "$no_cache" != 1; then
5751 echo $ac_cv_use_propsheet >> ${wx_arg_cache_file}.tmp
5754 if test "$wxUSE_PROPSHEET" = yes; then
5755 echo "$ac_t""yes" 1>&6
5757 echo "$ac_t""no" 1>&6
5761 echo $ac_n "checking for --enable-radiobox""... $ac_c" 1>&6
5762 echo "configure:5763: checking for --enable-radiobox" >&5
5764 # Check whether --enable-radiobox or --disable-radiobox was given.
5765 if test "${enable_radiobox+set}" = set; then
5766 enableval
="$enable_radiobox"
5768 if test "$enableval" = yes; then
5769 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
5771 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
5776 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
5777 if test "x$LINE" != x
; then
5778 eval "DEFAULT_$LINE"
5783 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
5788 eval "$ac_cv_use_radiobox"
5789 if test "$no_cache" != 1; then
5790 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
5793 if test "$wxUSE_RADIOBOX" = yes; then
5794 echo "$ac_t""yes" 1>&6
5796 echo "$ac_t""no" 1>&6
5800 echo $ac_n "checking for --enable-radiobtn""... $ac_c" 1>&6
5801 echo "configure:5802: checking for --enable-radiobtn" >&5
5803 # Check whether --enable-radiobtn or --disable-radiobtn was given.
5804 if test "${enable_radiobtn+set}" = set; then
5805 enableval
="$enable_radiobtn"
5807 if test "$enableval" = yes; then
5808 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
5810 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
5815 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
5816 if test "x$LINE" != x
; then
5817 eval "DEFAULT_$LINE"
5822 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
5827 eval "$ac_cv_use_radiobtn"
5828 if test "$no_cache" != 1; then
5829 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
5832 if test "$wxUSE_RADIOBTN" = yes; then
5833 echo "$ac_t""yes" 1>&6
5835 echo "$ac_t""no" 1>&6
5839 echo $ac_n "checking for --enable-sash""... $ac_c" 1>&6
5840 echo "configure:5841: checking for --enable-sash" >&5
5842 # Check whether --enable-sash or --disable-sash was given.
5843 if test "${enable_sash+set}" = set; then
5844 enableval
="$enable_sash"
5846 if test "$enableval" = yes; then
5847 ac_cv_use_sash
='wxUSE_SASH=yes'
5849 ac_cv_use_sash
='wxUSE_SASH=no'
5854 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
5855 if test "x$LINE" != x
; then
5856 eval "DEFAULT_$LINE"
5861 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
5866 eval "$ac_cv_use_sash"
5867 if test "$no_cache" != 1; then
5868 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
5871 if test "$wxUSE_SASH" = yes; then
5872 echo "$ac_t""yes" 1>&6
5874 echo "$ac_t""no" 1>&6
5878 echo $ac_n "checking for --enable-scrollbar""... $ac_c" 1>&6
5879 echo "configure:5880: checking for --enable-scrollbar" >&5
5881 # Check whether --enable-scrollbar or --disable-scrollbar was given.
5882 if test "${enable_scrollbar+set}" = set; then
5883 enableval
="$enable_scrollbar"
5885 if test "$enableval" = yes; then
5886 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
5888 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
5893 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
5894 if test "x$LINE" != x
; then
5895 eval "DEFAULT_$LINE"
5900 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
5905 eval "$ac_cv_use_scrollbar"
5906 if test "$no_cache" != 1; then
5907 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
5910 if test "$wxUSE_SCROLLBAR" = yes; then
5911 echo "$ac_t""yes" 1>&6
5913 echo "$ac_t""no" 1>&6
5917 echo $ac_n "checking for --enable-slider""... $ac_c" 1>&6
5918 echo "configure:5919: checking for --enable-slider" >&5
5920 # Check whether --enable-slider or --disable-slider was given.
5921 if test "${enable_slider+set}" = set; then
5922 enableval
="$enable_slider"
5924 if test "$enableval" = yes; then
5925 ac_cv_use_slider
='wxUSE_SLIDER=yes'
5927 ac_cv_use_slider
='wxUSE_SLIDER=no'
5932 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
5933 if test "x$LINE" != x
; then
5934 eval "DEFAULT_$LINE"
5939 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
5944 eval "$ac_cv_use_slider"
5945 if test "$no_cache" != 1; then
5946 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
5949 if test "$wxUSE_SLIDER" = yes; then
5950 echo "$ac_t""yes" 1>&6
5952 echo "$ac_t""no" 1>&6
5956 echo $ac_n "checking for --enable-spinbtn""... $ac_c" 1>&6
5957 echo "configure:5958: checking for --enable-spinbtn" >&5
5959 # Check whether --enable-spinbtn or --disable-spinbtn was given.
5960 if test "${enable_spinbtn+set}" = set; then
5961 enableval
="$enable_spinbtn"
5963 if test "$enableval" = yes; then
5964 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
5966 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
5971 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
5972 if test "x$LINE" != x
; then
5973 eval "DEFAULT_$LINE"
5978 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
5983 eval "$ac_cv_use_spinbtn"
5984 if test "$no_cache" != 1; then
5985 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
5988 if test "$wxUSE_SPINBTN" = yes; then
5989 echo "$ac_t""yes" 1>&6
5991 echo "$ac_t""no" 1>&6
5995 echo $ac_n "checking for --enable-spinctrl""... $ac_c" 1>&6
5996 echo "configure:5997: checking for --enable-spinctrl" >&5
5998 # Check whether --enable-spinctrl or --disable-spinctrl was given.
5999 if test "${enable_spinctrl+set}" = set; then
6000 enableval
="$enable_spinctrl"
6002 if test "$enableval" = yes; then
6003 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
6005 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
6010 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
6011 if test "x$LINE" != x
; then
6012 eval "DEFAULT_$LINE"
6017 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
6022 eval "$ac_cv_use_spinctrl"
6023 if test "$no_cache" != 1; then
6024 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
6027 if test "$wxUSE_SPINCTRL" = yes; then
6028 echo "$ac_t""yes" 1>&6
6030 echo "$ac_t""no" 1>&6
6034 echo $ac_n "checking for --enable-splitter""... $ac_c" 1>&6
6035 echo "configure:6036: checking for --enable-splitter" >&5
6037 # Check whether --enable-splitter or --disable-splitter was given.
6038 if test "${enable_splitter+set}" = set; then
6039 enableval
="$enable_splitter"
6041 if test "$enableval" = yes; then
6042 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
6044 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
6049 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
6050 if test "x$LINE" != x
; then
6051 eval "DEFAULT_$LINE"
6056 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
6061 eval "$ac_cv_use_splitter"
6062 if test "$no_cache" != 1; then
6063 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
6066 if test "$wxUSE_SPLITTER" = yes; then
6067 echo "$ac_t""yes" 1>&6
6069 echo "$ac_t""no" 1>&6
6073 echo $ac_n "checking for --enable-statbmp""... $ac_c" 1>&6
6074 echo "configure:6075: checking for --enable-statbmp" >&5
6076 # Check whether --enable-statbmp or --disable-statbmp was given.
6077 if test "${enable_statbmp+set}" = set; then
6078 enableval
="$enable_statbmp"
6080 if test "$enableval" = yes; then
6081 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
6083 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
6088 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
6089 if test "x$LINE" != x
; then
6090 eval "DEFAULT_$LINE"
6095 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
6100 eval "$ac_cv_use_statbmp"
6101 if test "$no_cache" != 1; then
6102 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
6105 if test "$wxUSE_STATBMP" = yes; then
6106 echo "$ac_t""yes" 1>&6
6108 echo "$ac_t""no" 1>&6
6112 echo $ac_n "checking for --enable-statbox""... $ac_c" 1>&6
6113 echo "configure:6114: checking for --enable-statbox" >&5
6115 # Check whether --enable-statbox or --disable-statbox was given.
6116 if test "${enable_statbox+set}" = set; then
6117 enableval
="$enable_statbox"
6119 if test "$enableval" = yes; then
6120 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
6122 ac_cv_use_statbox
='wxUSE_STATBOX=no'
6127 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
6128 if test "x$LINE" != x
; then
6129 eval "DEFAULT_$LINE"
6134 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
6139 eval "$ac_cv_use_statbox"
6140 if test "$no_cache" != 1; then
6141 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
6144 if test "$wxUSE_STATBOX" = yes; then
6145 echo "$ac_t""yes" 1>&6
6147 echo "$ac_t""no" 1>&6
6151 echo $ac_n "checking for --enable-statline""... $ac_c" 1>&6
6152 echo "configure:6153: checking for --enable-statline" >&5
6154 # Check whether --enable-statline or --disable-statline was given.
6155 if test "${enable_statline+set}" = set; then
6156 enableval
="$enable_statline"
6158 if test "$enableval" = yes; then
6159 ac_cv_use_statline
='wxUSE_STATLINE=yes'
6161 ac_cv_use_statline
='wxUSE_STATLINE=no'
6166 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
6167 if test "x$LINE" != x
; then
6168 eval "DEFAULT_$LINE"
6173 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
6178 eval "$ac_cv_use_statline"
6179 if test "$no_cache" != 1; then
6180 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
6183 if test "$wxUSE_STATLINE" = yes; then
6184 echo "$ac_t""yes" 1>&6
6186 echo "$ac_t""no" 1>&6
6190 echo $ac_n "checking for --enable-stattext""... $ac_c" 1>&6
6191 echo "configure:6192: checking for --enable-stattext" >&5
6193 # Check whether --enable-stattext or --disable-stattext was given.
6194 if test "${enable_stattext+set}" = set; then
6195 enableval
="$enable_stattext"
6197 if test "$enableval" = yes; then
6198 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
6200 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
6205 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
6206 if test "x$LINE" != x
; then
6207 eval "DEFAULT_$LINE"
6212 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
6217 eval "$ac_cv_use_stattext"
6218 if test "$no_cache" != 1; then
6219 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
6222 if test "$wxUSE_STATTEXT" = yes; then
6223 echo "$ac_t""yes" 1>&6
6225 echo "$ac_t""no" 1>&6
6229 echo $ac_n "checking for --enable-statusbar""... $ac_c" 1>&6
6230 echo "configure:6231: checking for --enable-statusbar" >&5
6232 # Check whether --enable-statusbar or --disable-statusbar was given.
6233 if test "${enable_statusbar+set}" = set; then
6234 enableval
="$enable_statusbar"
6236 if test "$enableval" = yes; then
6237 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
6239 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
6244 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
6245 if test "x$LINE" != x
; then
6246 eval "DEFAULT_$LINE"
6251 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
6256 eval "$ac_cv_use_statusbar"
6257 if test "$no_cache" != 1; then
6258 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
6261 if test "$wxUSE_STATUSBAR" = yes; then
6262 echo "$ac_t""yes" 1>&6
6264 echo "$ac_t""no" 1>&6
6268 echo $ac_n "checking for --enable-tabdialog""... $ac_c" 1>&6
6269 echo "configure:6270: checking for --enable-tabdialog" >&5
6271 # Check whether --enable-tabdialog or --disable-tabdialog was given.
6272 if test "${enable_tabdialog+set}" = set; then
6273 enableval
="$enable_tabdialog"
6275 if test "$enableval" = yes; then
6276 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
6278 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
6283 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
6284 if test "x$LINE" != x
; then
6285 eval "DEFAULT_$LINE"
6290 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
6295 eval "$ac_cv_use_tabdialog"
6296 if test "$no_cache" != 1; then
6297 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
6300 if test "$wxUSE_TABDIALOG" = yes; then
6301 echo "$ac_t""yes" 1>&6
6303 echo "$ac_t""no" 1>&6
6307 echo $ac_n "checking for --enable-textctrl""... $ac_c" 1>&6
6308 echo "configure:6309: checking for --enable-textctrl" >&5
6310 # Check whether --enable-textctrl or --disable-textctrl was given.
6311 if test "${enable_textctrl+set}" = set; then
6312 enableval
="$enable_textctrl"
6314 if test "$enableval" = yes; then
6315 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
6317 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
6322 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
6323 if test "x$LINE" != x
; then
6324 eval "DEFAULT_$LINE"
6329 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
6334 eval "$ac_cv_use_textctrl"
6335 if test "$no_cache" != 1; then
6336 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
6339 if test "$wxUSE_TEXTCTRL" = yes; then
6340 echo "$ac_t""yes" 1>&6
6342 echo "$ac_t""no" 1>&6
6346 echo $ac_n "checking for --enable-togglebtn""... $ac_c" 1>&6
6347 echo "configure:6348: checking for --enable-togglebtn" >&5
6349 # Check whether --enable-togglebtn or --disable-togglebtn was given.
6350 if test "${enable_togglebtn+set}" = set; then
6351 enableval
="$enable_togglebtn"
6353 if test "$enableval" = yes; then
6354 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
6356 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
6361 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
6362 if test "x$LINE" != x
; then
6363 eval "DEFAULT_$LINE"
6368 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
6373 eval "$ac_cv_use_togglebtn"
6374 if test "$no_cache" != 1; then
6375 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
6378 if test "$wxUSE_TOGGLEBTN" = yes; then
6379 echo "$ac_t""yes" 1>&6
6381 echo "$ac_t""no" 1>&6
6385 echo $ac_n "checking for --enable-toolbar""... $ac_c" 1>&6
6386 echo "configure:6387: checking for --enable-toolbar" >&5
6388 # Check whether --enable-toolbar or --disable-toolbar was given.
6389 if test "${enable_toolbar+set}" = set; then
6390 enableval
="$enable_toolbar"
6392 if test "$enableval" = yes; then
6393 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
6395 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
6400 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
6401 if test "x$LINE" != x
; then
6402 eval "DEFAULT_$LINE"
6407 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
6412 eval "$ac_cv_use_toolbar"
6413 if test "$no_cache" != 1; then
6414 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
6417 if test "$wxUSE_TOOLBAR" = yes; then
6418 echo "$ac_t""yes" 1>&6
6420 echo "$ac_t""no" 1>&6
6424 echo $ac_n "checking for --enable-tbarnative""... $ac_c" 1>&6
6425 echo "configure:6426: checking for --enable-tbarnative" >&5
6427 # Check whether --enable-tbarnative or --disable-tbarnative was given.
6428 if test "${enable_tbarnative+set}" = set; then
6429 enableval
="$enable_tbarnative"
6431 if test "$enableval" = yes; then
6432 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
6434 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
6439 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
6440 if test "x$LINE" != x
; then
6441 eval "DEFAULT_$LINE"
6446 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
6451 eval "$ac_cv_use_tbarnative"
6452 if test "$no_cache" != 1; then
6453 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
6456 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
6457 echo "$ac_t""yes" 1>&6
6459 echo "$ac_t""no" 1>&6
6463 echo $ac_n "checking for --enable-tbarsmpl""... $ac_c" 1>&6
6464 echo "configure:6465: checking for --enable-tbarsmpl" >&5
6466 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
6467 if test "${enable_tbarsmpl+set}" = set; then
6468 enableval
="$enable_tbarsmpl"
6470 if test "$enableval" = yes; then
6471 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
6473 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
6478 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
6479 if test "x$LINE" != x
; then
6480 eval "DEFAULT_$LINE"
6485 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
6490 eval "$ac_cv_use_tbarsmpl"
6491 if test "$no_cache" != 1; then
6492 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
6495 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
6496 echo "$ac_t""yes" 1>&6
6498 echo "$ac_t""no" 1>&6
6502 echo $ac_n "checking for --enable-treectrl""... $ac_c" 1>&6
6503 echo "configure:6504: checking for --enable-treectrl" >&5
6505 # Check whether --enable-treectrl or --disable-treectrl was given.
6506 if test "${enable_treectrl+set}" = set; then
6507 enableval
="$enable_treectrl"
6509 if test "$enableval" = yes; then
6510 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
6512 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
6517 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
6518 if test "x$LINE" != x
; then
6519 eval "DEFAULT_$LINE"
6524 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
6529 eval "$ac_cv_use_treectrl"
6530 if test "$no_cache" != 1; then
6531 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
6534 if test "$wxUSE_TREECTRL" = yes; then
6535 echo "$ac_t""yes" 1>&6
6537 echo "$ac_t""no" 1>&6
6541 echo $ac_n "checking for --enable-popupwin""... $ac_c" 1>&6
6542 echo "configure:6543: checking for --enable-popupwin" >&5
6544 # Check whether --enable-popupwin or --disable-popupwin was given.
6545 if test "${enable_popupwin+set}" = set; then
6546 enableval
="$enable_popupwin"
6548 if test "$enableval" = yes; then
6549 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
6551 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
6556 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
6557 if test "x$LINE" != x
; then
6558 eval "DEFAULT_$LINE"
6563 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
6568 eval "$ac_cv_use_popupwin"
6569 if test "$no_cache" != 1; then
6570 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
6573 if test "$wxUSE_POPUPWIN" = yes; then
6574 echo "$ac_t""yes" 1>&6
6576 echo "$ac_t""no" 1>&6
6582 echo $ac_n "checking for --enable-commondlg""... $ac_c" 1>&6
6583 echo "configure:6584: checking for --enable-commondlg" >&5
6585 # Check whether --enable-commondlg or --disable-commondlg was given.
6586 if test "${enable_commondlg+set}" = set; then
6587 enableval
="$enable_commondlg"
6589 if test "$enableval" = yes; then
6590 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
6592 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
6597 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
6598 if test "x$LINE" != x
; then
6599 eval "DEFAULT_$LINE"
6604 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
6609 eval "$ac_cv_use_commondlg"
6610 if test "$no_cache" != 1; then
6611 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
6614 if test "$wxUSE_COMMONDLGS" = yes; then
6615 echo "$ac_t""yes" 1>&6
6617 echo "$ac_t""no" 1>&6
6621 echo $ac_n "checking for --enable-choicedlg""... $ac_c" 1>&6
6622 echo "configure:6623: checking for --enable-choicedlg" >&5
6624 # Check whether --enable-choicedlg or --disable-choicedlg was given.
6625 if test "${enable_choicedlg+set}" = set; then
6626 enableval
="$enable_choicedlg"
6628 if test "$enableval" = yes; then
6629 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
6631 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
6636 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
6637 if test "x$LINE" != x
; then
6638 eval "DEFAULT_$LINE"
6643 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
6648 eval "$ac_cv_use_choicedlg"
6649 if test "$no_cache" != 1; then
6650 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
6653 if test "$wxUSE_CHOICEDLG" = yes; then
6654 echo "$ac_t""yes" 1>&6
6656 echo "$ac_t""no" 1>&6
6660 echo $ac_n "checking for --enable-coldlg""... $ac_c" 1>&6
6661 echo "configure:6662: checking for --enable-coldlg" >&5
6663 # Check whether --enable-coldlg or --disable-coldlg was given.
6664 if test "${enable_coldlg+set}" = set; then
6665 enableval
="$enable_coldlg"
6667 if test "$enableval" = yes; then
6668 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
6670 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
6675 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
6676 if test "x$LINE" != x
; then
6677 eval "DEFAULT_$LINE"
6682 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
6687 eval "$ac_cv_use_coldlg"
6688 if test "$no_cache" != 1; then
6689 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
6692 if test "$wxUSE_COLOURDLG" = yes; then
6693 echo "$ac_t""yes" 1>&6
6695 echo "$ac_t""no" 1>&6
6699 echo $ac_n "checking for --enable-filedlg""... $ac_c" 1>&6
6700 echo "configure:6701: checking for --enable-filedlg" >&5
6702 # Check whether --enable-filedlg or --disable-filedlg was given.
6703 if test "${enable_filedlg+set}" = set; then
6704 enableval
="$enable_filedlg"
6706 if test "$enableval" = yes; then
6707 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
6709 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
6714 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
6715 if test "x$LINE" != x
; then
6716 eval "DEFAULT_$LINE"
6721 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
6726 eval "$ac_cv_use_filedlg"
6727 if test "$no_cache" != 1; then
6728 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
6731 if test "$wxUSE_FILEDLG" = yes; then
6732 echo "$ac_t""yes" 1>&6
6734 echo "$ac_t""no" 1>&6
6738 echo $ac_n "checking for --enable-filedlg""... $ac_c" 1>&6
6739 echo "configure:6740: checking for --enable-filedlg" >&5
6741 # Check whether --enable-filedlg or --disable-filedlg was given.
6742 if test "${enable_filedlg+set}" = set; then
6743 enableval
="$enable_filedlg"
6745 if test "$enableval" = yes; then
6746 ac_cv_use_filedlg
='wxUSE_FINDREPLDLG=yes'
6748 ac_cv_use_filedlg
='wxUSE_FINDREPLDLG=no'
6753 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
6754 if test "x$LINE" != x
; then
6755 eval "DEFAULT_$LINE"
6760 ac_cv_use_filedlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
6765 eval "$ac_cv_use_filedlg"
6766 if test "$no_cache" != 1; then
6767 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
6770 if test "$wxUSE_FINDREPLDLG" = yes; then
6771 echo "$ac_t""yes" 1>&6
6773 echo "$ac_t""no" 1>&6
6777 echo $ac_n "checking for --enable-fontdlg""... $ac_c" 1>&6
6778 echo "configure:6779: checking for --enable-fontdlg" >&5
6780 # Check whether --enable-fontdlg or --disable-fontdlg was given.
6781 if test "${enable_fontdlg+set}" = set; then
6782 enableval
="$enable_fontdlg"
6784 if test "$enableval" = yes; then
6785 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
6787 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
6792 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
6793 if test "x$LINE" != x
; then
6794 eval "DEFAULT_$LINE"
6799 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
6804 eval "$ac_cv_use_fontdlg"
6805 if test "$no_cache" != 1; then
6806 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
6809 if test "$wxUSE_FONTDLG" = yes; then
6810 echo "$ac_t""yes" 1>&6
6812 echo "$ac_t""no" 1>&6
6816 echo $ac_n "checking for --enable-dirdlg""... $ac_c" 1>&6
6817 echo "configure:6818: checking for --enable-dirdlg" >&5
6819 # Check whether --enable-dirdlg or --disable-dirdlg was given.
6820 if test "${enable_dirdlg+set}" = set; then
6821 enableval
="$enable_dirdlg"
6823 if test "$enableval" = yes; then
6824 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
6826 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
6831 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
6832 if test "x$LINE" != x
; then
6833 eval "DEFAULT_$LINE"
6838 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
6843 eval "$ac_cv_use_dirdlg"
6844 if test "$no_cache" != 1; then
6845 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
6848 if test "$wxUSE_DIRDLG" = yes; then
6849 echo "$ac_t""yes" 1>&6
6851 echo "$ac_t""no" 1>&6
6855 echo $ac_n "checking for --enable-msgdlg""... $ac_c" 1>&6
6856 echo "configure:6857: checking for --enable-msgdlg" >&5
6858 # Check whether --enable-msgdlg or --disable-msgdlg was given.
6859 if test "${enable_msgdlg+set}" = set; then
6860 enableval
="$enable_msgdlg"
6862 if test "$enableval" = yes; then
6863 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
6865 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
6870 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
6871 if test "x$LINE" != x
; then
6872 eval "DEFAULT_$LINE"
6877 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
6882 eval "$ac_cv_use_msgdlg"
6883 if test "$no_cache" != 1; then
6884 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
6887 if test "$wxUSE_MSGDLG" = yes; then
6888 echo "$ac_t""yes" 1>&6
6890 echo "$ac_t""no" 1>&6
6894 echo $ac_n "checking for --enable-numberdlg""... $ac_c" 1>&6
6895 echo "configure:6896: checking for --enable-numberdlg" >&5
6897 # Check whether --enable-numberdlg or --disable-numberdlg was given.
6898 if test "${enable_numberdlg+set}" = set; then
6899 enableval
="$enable_numberdlg"
6901 if test "$enableval" = yes; then
6902 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
6904 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
6909 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
6910 if test "x$LINE" != x
; then
6911 eval "DEFAULT_$LINE"
6916 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
6921 eval "$ac_cv_use_numberdlg"
6922 if test "$no_cache" != 1; then
6923 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
6926 if test "$wxUSE_NUMBERDLG" = yes; then
6927 echo "$ac_t""yes" 1>&6
6929 echo "$ac_t""no" 1>&6
6933 echo $ac_n "checking for --enable-splash""... $ac_c" 1>&6
6934 echo "configure:6935: checking for --enable-splash" >&5
6936 # Check whether --enable-splash or --disable-splash was given.
6937 if test "${enable_splash+set}" = set; then
6938 enableval
="$enable_splash"
6940 if test "$enableval" = yes; then
6941 ac_cv_use_splash
='wxUSE_SPLASH=yes'
6943 ac_cv_use_splash
='wxUSE_SPLASH=no'
6948 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
6949 if test "x$LINE" != x
; then
6950 eval "DEFAULT_$LINE"
6955 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
6960 eval "$ac_cv_use_splash"
6961 if test "$no_cache" != 1; then
6962 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
6965 if test "$wxUSE_SPLASH" = yes; then
6966 echo "$ac_t""yes" 1>&6
6968 echo "$ac_t""no" 1>&6
6972 echo $ac_n "checking for --enable-textdlg""... $ac_c" 1>&6
6973 echo "configure:6974: checking for --enable-textdlg" >&5
6975 # Check whether --enable-textdlg or --disable-textdlg was given.
6976 if test "${enable_textdlg+set}" = set; then
6977 enableval
="$enable_textdlg"
6979 if test "$enableval" = yes; then
6980 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
6982 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
6987 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
6988 if test "x$LINE" != x
; then
6989 eval "DEFAULT_$LINE"
6994 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
6999 eval "$ac_cv_use_textdlg"
7000 if test "$no_cache" != 1; then
7001 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
7004 if test "$wxUSE_TEXTDLG" = yes; then
7005 echo "$ac_t""yes" 1>&6
7007 echo "$ac_t""no" 1>&6
7011 echo $ac_n "checking for --enable-tipdlg""... $ac_c" 1>&6
7012 echo "configure:7013: checking for --enable-tipdlg" >&5
7014 # Check whether --enable-tipdlg or --disable-tipdlg was given.
7015 if test "${enable_tipdlg+set}" = set; then
7016 enableval
="$enable_tipdlg"
7018 if test "$enableval" = yes; then
7019 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
7021 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
7026 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
7027 if test "x$LINE" != x
; then
7028 eval "DEFAULT_$LINE"
7033 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
7038 eval "$ac_cv_use_tipdlg"
7039 if test "$no_cache" != 1; then
7040 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
7043 if test "$wxUSE_STARTUP_TIPS" = yes; then
7044 echo "$ac_t""yes" 1>&6
7046 echo "$ac_t""no" 1>&6
7050 echo $ac_n "checking for --enable-progressdlg""... $ac_c" 1>&6
7051 echo "configure:7052: checking for --enable-progressdlg" >&5
7053 # Check whether --enable-progressdlg or --disable-progressdlg was given.
7054 if test "${enable_progressdlg+set}" = set; then
7055 enableval
="$enable_progressdlg"
7057 if test "$enableval" = yes; then
7058 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
7060 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
7065 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
7066 if test "x$LINE" != x
; then
7067 eval "DEFAULT_$LINE"
7072 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
7077 eval "$ac_cv_use_progressdlg"
7078 if test "$no_cache" != 1; then
7079 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
7082 if test "$wxUSE_PROGRESSDLG" = yes; then
7083 echo "$ac_t""yes" 1>&6
7085 echo "$ac_t""no" 1>&6
7089 echo $ac_n "checking for --enable-wizarddlg""... $ac_c" 1>&6
7090 echo "configure:7091: checking for --enable-wizarddlg" >&5
7092 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
7093 if test "${enable_wizarddlg+set}" = set; then
7094 enableval
="$enable_wizarddlg"
7096 if test "$enableval" = yes; then
7097 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
7099 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
7104 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
7105 if test "x$LINE" != x
; then
7106 eval "DEFAULT_$LINE"
7111 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
7116 eval "$ac_cv_use_wizarddlg"
7117 if test "$no_cache" != 1; then
7118 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
7121 if test "$wxUSE_WIZARDDLG" = yes; then
7122 echo "$ac_t""yes" 1>&6
7124 echo "$ac_t""no" 1>&6
7130 echo $ac_n "checking for --enable-menus""... $ac_c" 1>&6
7131 echo "configure:7132: checking for --enable-menus" >&5
7133 # Check whether --enable-menus or --disable-menus was given.
7134 if test "${enable_menus+set}" = set; then
7135 enableval
="$enable_menus"
7137 if test "$enableval" = yes; then
7138 ac_cv_use_menus
='wxUSE_MENUS=yes'
7140 ac_cv_use_menus
='wxUSE_MENUS=no'
7145 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
7146 if test "x$LINE" != x
; then
7147 eval "DEFAULT_$LINE"
7152 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
7157 eval "$ac_cv_use_menus"
7158 if test "$no_cache" != 1; then
7159 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
7162 if test "$wxUSE_MENUS" = yes; then
7163 echo "$ac_t""yes" 1>&6
7165 echo "$ac_t""no" 1>&6
7169 echo $ac_n "checking for --enable-miniframe""... $ac_c" 1>&6
7170 echo "configure:7171: checking for --enable-miniframe" >&5
7172 # Check whether --enable-miniframe or --disable-miniframe was given.
7173 if test "${enable_miniframe+set}" = set; then
7174 enableval
="$enable_miniframe"
7176 if test "$enableval" = yes; then
7177 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
7179 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
7184 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
7185 if test "x$LINE" != x
; then
7186 eval "DEFAULT_$LINE"
7191 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
7196 eval "$ac_cv_use_miniframe"
7197 if test "$no_cache" != 1; then
7198 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
7201 if test "$wxUSE_MINIFRAME" = yes; then
7202 echo "$ac_t""yes" 1>&6
7204 echo "$ac_t""no" 1>&6
7208 echo $ac_n "checking for --enable-tooltips""... $ac_c" 1>&6
7209 echo "configure:7210: checking for --enable-tooltips" >&5
7211 # Check whether --enable-tooltips or --disable-tooltips was given.
7212 if test "${enable_tooltips+set}" = set; then
7213 enableval
="$enable_tooltips"
7215 if test "$enableval" = yes; then
7216 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
7218 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
7223 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
7224 if test "x$LINE" != x
; then
7225 eval "DEFAULT_$LINE"
7230 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
7235 eval "$ac_cv_use_tooltips"
7236 if test "$no_cache" != 1; then
7237 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
7240 if test "$wxUSE_TOOLTIPS" = yes; then
7241 echo "$ac_t""yes" 1>&6
7243 echo "$ac_t""no" 1>&6
7247 echo $ac_n "checking for --enable-splines""... $ac_c" 1>&6
7248 echo "configure:7249: checking for --enable-splines" >&5
7250 # Check whether --enable-splines or --disable-splines was given.
7251 if test "${enable_splines+set}" = set; then
7252 enableval
="$enable_splines"
7254 if test "$enableval" = yes; then
7255 ac_cv_use_splines
='wxUSE_SPLINES=yes'
7257 ac_cv_use_splines
='wxUSE_SPLINES=no'
7262 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
7263 if test "x$LINE" != x
; then
7264 eval "DEFAULT_$LINE"
7269 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
7274 eval "$ac_cv_use_splines"
7275 if test "$no_cache" != 1; then
7276 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
7279 if test "$wxUSE_SPLINES" = yes; then
7280 echo "$ac_t""yes" 1>&6
7282 echo "$ac_t""no" 1>&6
7286 echo $ac_n "checking for --enable-validators""... $ac_c" 1>&6
7287 echo "configure:7288: checking for --enable-validators" >&5
7289 # Check whether --enable-validators or --disable-validators was given.
7290 if test "${enable_validators+set}" = set; then
7291 enableval
="$enable_validators"
7293 if test "$enableval" = yes; then
7294 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
7296 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
7301 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
7302 if test "x$LINE" != x
; then
7303 eval "DEFAULT_$LINE"
7308 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
7313 eval "$ac_cv_use_validators"
7314 if test "$no_cache" != 1; then
7315 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
7318 if test "$wxUSE_VALIDATORS" = yes; then
7319 echo "$ac_t""yes" 1>&6
7321 echo "$ac_t""no" 1>&6
7325 echo $ac_n "checking for --enable-busyinfo""... $ac_c" 1>&6
7326 echo "configure:7327: checking for --enable-busyinfo" >&5
7328 # Check whether --enable-busyinfo or --disable-busyinfo was given.
7329 if test "${enable_busyinfo+set}" = set; then
7330 enableval
="$enable_busyinfo"
7332 if test "$enableval" = yes; then
7333 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
7335 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
7340 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
7341 if test "x$LINE" != x
; then
7342 eval "DEFAULT_$LINE"
7347 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
7352 eval "$ac_cv_use_busyinfo"
7353 if test "$no_cache" != 1; then
7354 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
7357 if test "$wxUSE_BUSYINFO" = yes; then
7358 echo "$ac_t""yes" 1>&6
7360 echo "$ac_t""no" 1>&6
7364 echo $ac_n "checking for --enable-joystick""... $ac_c" 1>&6
7365 echo "configure:7366: checking for --enable-joystick" >&5
7367 # Check whether --enable-joystick or --disable-joystick was given.
7368 if test "${enable_joystick+set}" = set; then
7369 enableval
="$enable_joystick"
7371 if test "$enableval" = yes; then
7372 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
7374 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
7379 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
7380 if test "x$LINE" != x
; then
7381 eval "DEFAULT_$LINE"
7386 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
7391 eval "$ac_cv_use_joystick"
7392 if test "$no_cache" != 1; then
7393 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
7396 if test "$wxUSE_JOYSTICK" = yes; then
7397 echo "$ac_t""yes" 1>&6
7399 echo "$ac_t""no" 1>&6
7403 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
7404 echo "configure:7405: checking for --enable-metafile" >&5
7406 # Check whether --enable-metafile or --disable-metafile was given.
7407 if test "${enable_metafile+set}" = set; then
7408 enableval
="$enable_metafile"
7410 if test "$enableval" = yes; then
7411 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
7413 ac_cv_use_metafile
='wxUSE_METAFILE=no'
7418 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7419 if test "x$LINE" != x
; then
7420 eval "DEFAULT_$LINE"
7425 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7430 eval "$ac_cv_use_metafile"
7431 if test "$no_cache" != 1; then
7432 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7435 if test "$wxUSE_METAFILE" = yes; then
7436 echo "$ac_t""yes" 1>&6
7438 echo "$ac_t""no" 1>&6
7442 echo $ac_n "checking for --enable-dragimage""... $ac_c" 1>&6
7443 echo "configure:7444: checking for --enable-dragimage" >&5
7445 # Check whether --enable-dragimage or --disable-dragimage was given.
7446 if test "${enable_dragimage+set}" = set; then
7447 enableval
="$enable_dragimage"
7449 if test "$enableval" = yes; then
7450 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
7452 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
7457 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
7458 if test "x$LINE" != x
; then
7459 eval "DEFAULT_$LINE"
7464 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
7469 eval "$ac_cv_use_dragimage"
7470 if test "$no_cache" != 1; then
7471 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
7474 if test "$wxUSE_DRAGIMAGE" = yes; then
7475 echo "$ac_t""yes" 1>&6
7477 echo "$ac_t""no" 1>&6
7483 echo $ac_n "checking for --enable-palette""... $ac_c" 1>&6
7484 echo "configure:7485: checking for --enable-palette" >&5
7486 # Check whether --enable-palette or --disable-palette was given.
7487 if test "${enable_palette+set}" = set; then
7488 enableval
="$enable_palette"
7490 if test "$enableval" = yes; then
7491 ac_cv_use_palette
='wxUSE_PALETTE=yes'
7493 ac_cv_use_palette
='wxUSE_PALETTE=no'
7498 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
7499 if test "x$LINE" != x
; then
7500 eval "DEFAULT_$LINE"
7505 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
7510 eval "$ac_cv_use_palette"
7511 if test "$no_cache" != 1; then
7512 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
7515 if test "$wxUSE_PALETTE" = yes; then
7516 echo "$ac_t""yes" 1>&6
7518 echo "$ac_t""no" 1>&6
7522 echo $ac_n "checking for --enable-image""... $ac_c" 1>&6
7523 echo "configure:7524: checking for --enable-image" >&5
7525 # Check whether --enable-image or --disable-image was given.
7526 if test "${enable_image+set}" = set; then
7527 enableval
="$enable_image"
7529 if test "$enableval" = yes; then
7530 ac_cv_use_image
='wxUSE_IMAGE=yes'
7532 ac_cv_use_image
='wxUSE_IMAGE=no'
7537 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
7538 if test "x$LINE" != x
; then
7539 eval "DEFAULT_$LINE"
7544 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
7549 eval "$ac_cv_use_image"
7550 if test "$no_cache" != 1; then
7551 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
7554 if test "$wxUSE_IMAGE" = yes; then
7555 echo "$ac_t""yes" 1>&6
7557 echo "$ac_t""no" 1>&6
7561 echo $ac_n "checking for --enable-gif""... $ac_c" 1>&6
7562 echo "configure:7563: checking for --enable-gif" >&5
7564 # Check whether --enable-gif or --disable-gif was given.
7565 if test "${enable_gif+set}" = set; then
7566 enableval
="$enable_gif"
7568 if test "$enableval" = yes; then
7569 ac_cv_use_gif
='wxUSE_GIF=yes'
7571 ac_cv_use_gif
='wxUSE_GIF=no'
7576 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
7577 if test "x$LINE" != x
; then
7578 eval "DEFAULT_$LINE"
7583 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
7588 eval "$ac_cv_use_gif"
7589 if test "$no_cache" != 1; then
7590 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
7593 if test "$wxUSE_GIF" = yes; then
7594 echo "$ac_t""yes" 1>&6
7596 echo "$ac_t""no" 1>&6
7600 echo $ac_n "checking for --enable-pcx""... $ac_c" 1>&6
7601 echo "configure:7602: checking for --enable-pcx" >&5
7603 # Check whether --enable-pcx or --disable-pcx was given.
7604 if test "${enable_pcx+set}" = set; then
7605 enableval
="$enable_pcx"
7607 if test "$enableval" = yes; then
7608 ac_cv_use_pcx
='wxUSE_PCX=yes'
7610 ac_cv_use_pcx
='wxUSE_PCX=no'
7615 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
7616 if test "x$LINE" != x
; then
7617 eval "DEFAULT_$LINE"
7622 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
7627 eval "$ac_cv_use_pcx"
7628 if test "$no_cache" != 1; then
7629 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
7632 if test "$wxUSE_PCX" = yes; then
7633 echo "$ac_t""yes" 1>&6
7635 echo "$ac_t""no" 1>&6
7639 echo $ac_n "checking for --enable-pnm""... $ac_c" 1>&6
7640 echo "configure:7641: checking for --enable-pnm" >&5
7642 # Check whether --enable-pnm or --disable-pnm was given.
7643 if test "${enable_pnm+set}" = set; then
7644 enableval
="$enable_pnm"
7646 if test "$enableval" = yes; then
7647 ac_cv_use_pnm
='wxUSE_PNM=yes'
7649 ac_cv_use_pnm
='wxUSE_PNM=no'
7654 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
7655 if test "x$LINE" != x
; then
7656 eval "DEFAULT_$LINE"
7661 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
7666 eval "$ac_cv_use_pnm"
7667 if test "$no_cache" != 1; then
7668 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
7671 if test "$wxUSE_PNM" = yes; then
7672 echo "$ac_t""yes" 1>&6
7674 echo "$ac_t""no" 1>&6
7678 echo $ac_n "checking for --enable-pnm""... $ac_c" 1>&6
7679 echo "configure:7680: checking for --enable-pnm" >&5
7681 # Check whether --enable-pnm or --disable-pnm was given.
7682 if test "${enable_pnm+set}" = set; then
7683 enableval
="$enable_pnm"
7685 if test "$enableval" = yes; then
7686 ac_cv_use_pnm
='wxUSE_XPM=yes'
7688 ac_cv_use_pnm
='wxUSE_XPM=no'
7693 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
7694 if test "x$LINE" != x
; then
7695 eval "DEFAULT_$LINE"
7700 ac_cv_use_pnm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
7705 eval "$ac_cv_use_pnm"
7706 if test "$no_cache" != 1; then
7707 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
7710 if test "$wxUSE_XPM" = yes; then
7711 echo "$ac_t""yes" 1>&6
7713 echo "$ac_t""no" 1>&6
7720 echo "saving argument cache $wx_arg_cache_file"
7721 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
7725 echo $ac_n "checking for toolkit""... $ac_c" 1>&6
7726 echo "configure:7727: checking for toolkit" >&5
7728 if test "$wxUSE_GUI" = "yes"; then
7730 if test "$USE_BEOS" = 1; then
7731 { echo "configure: error: BeOS GUI is not supported yet, use --disable-gui" 1>&2; exit 1; }
7734 if test "$TOOLKIT_GIVEN" = 1; then
7735 for toolkit
in `echo $ALL_TOOLKITS`; do
7737 eval "value=\$${var}"
7738 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
7741 for toolkit
in `echo $ALL_TOOLKITS`; do
7742 if test "$has_toolkit_in_cache" != 1; then
7743 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
7745 var
=DEFAULT_wxUSE_
$toolkit
7747 eval "wxUSE_$toolkit=\$${var}"
7751 NUM_TOOLKITS
=`expr ${wxUSE_GTK:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MAC:-0} \
7752 + ${wxUSE_WINE:-0} + ${wxUSE_MINGW:-0} + ${wxUSE_CYGWIN:-0} \
7757 # PATH_IFS is autodetected by OS/2's configure (usually ';')
7758 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
7767 case "$NUM_TOOLKITS" in
7771 { echo "configure: error: Please specify a toolkit - cannot determine the default for ${host}" 1>&2; exit 1; }
7774 { echo "configure: error: Please specify at most one toolkit (may be some are cached?)" 1>&2; exit 1; }
7777 for toolkit
in `echo $ALL_TOOLKITS`; do
7779 eval "value=\$${var}"
7780 if test "x$value" != x
; then
7781 cache_var
=CACHE_
$toolkit
7782 eval "cache=\$${cache_var}"
7783 if test "$cache" = 1; then
7784 echo "$var=$value" >> ${wx_arg_cache_file}
7786 if test "$value" = 1; then
7787 toolkit_echo
=`echo $toolkit | tr [A-Z] [a-z]`
7788 echo "$ac_t""$toolkit_echo" 1>&6
7794 echo "$ac_t""base ($host_alias hosted) only" 1>&6
7798 cat > confcache
<<\EOF
7799 # This file is a shell script that caches the results of configure
7800 # tests run on this system so they can be shared between configure
7801 # scripts and configure runs. It is not useful on other systems.
7802 # If it contains results you don't want to keep, you may remove or edit it.
7804 # By default, configure uses ./config.cache as the cache file,
7805 # creating it if it does not exist already. You can give configure
7806 # the --cache-file=FILE option to use a different cache file; that is
7807 # what configure does when it calls configure scripts in
7808 # subdirectories, so they share the cache.
7809 # Giving --cache-file=/dev/null disables caching, for debugging configure.
7810 # config.status only pays attention to the cache file if you give it the
7811 # --recheck option to rerun configure.
7814 # The following way of writing the cache mishandles newlines in values,
7815 # but we know of no workaround that is simple, portable, and efficient.
7816 # So, don't put newlines in cache variables' values.
7817 # Ultrix sh set writes to stderr and can't be redirected directly,
7818 # and sets the high bit in the cache file unless we assign to the vars.
7820 case `(ac_space=' '; set | grep ac_space) 2>&1` in
7822 # `set' does not quote correctly, so add quotes (double-quote substitution
7823 # turns \\\\ into \\, and sed turns \\ into \).
7825 -e "s/'/'\\\\''/g" \
7826 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
7829 # `set' quotes correctly as required by POSIX, so do not add quotes.
7830 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
7833 if cmp -s $cache_file confcache
; then
7836 if test -w $cache_file; then
7837 echo "updating cache $cache_file"
7838 cat confcache
> $cache_file
7840 echo "not updating unwritable cache $cache_file"
7846 if test "$build" != "$host" ; then
7847 if test "$USE_WIN32" = 1 ; then
7851 RANLIB
=$host_alias-ranlib
7852 DLLTOOL
=$host_alias-dlltool
7853 RESCOMP
=$host_alias-windres
7856 STRIP
=$host_alias-strip
7858 { echo "configure: error: $build_alias -> $host_alias cross compilation not supported yet." 1>&2; exit 1; }
7862 # Extract the first word of "gcc", so it can be a program name with args.
7863 set dummy gcc
; ac_word
=$2
7864 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7865 echo "configure:7866: checking for $ac_word" >&5
7866 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
7867 echo $ac_n "(cached) $ac_c" 1>&6
7869 if test -n "$CC"; then
7870 ac_cv_prog_CC
="$CC" # Let the user override the test.
7872 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7874 for ac_dir
in $ac_dummy; do
7875 test -z "$ac_dir" && ac_dir
=.
7876 if test -f $ac_dir/$ac_word; then
7885 if test -n "$CC"; then
7886 echo "$ac_t""$CC" 1>&6
7888 echo "$ac_t""no" 1>&6
7891 if test -z "$CC"; then
7892 # Extract the first word of "cc", so it can be a program name with args.
7893 set dummy cc
; ac_word
=$2
7894 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7895 echo "configure:7896: checking for $ac_word" >&5
7896 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
7897 echo $ac_n "(cached) $ac_c" 1>&6
7899 if test -n "$CC"; then
7900 ac_cv_prog_CC
="$CC" # Let the user override the test.
7902 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7905 for ac_dir
in $ac_dummy; do
7906 test -z "$ac_dir" && ac_dir
=.
7907 if test -f $ac_dir/$ac_word; then
7908 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
7909 ac_prog_rejected
=yes
7917 if test $ac_prog_rejected = yes; then
7918 # We found a bogon in the path, so make sure we never use it.
7919 set dummy
$ac_cv_prog_CC
7921 if test $# -gt 0; then
7922 # We chose a different compiler from the bogus one.
7923 # However, it has the same basename, so the bogon will be chosen
7924 # first if we set CC to just the basename; use the full file name.
7926 set dummy
"$ac_dir/$ac_word" "$@"
7934 if test -n "$CC"; then
7935 echo "$ac_t""$CC" 1>&6
7937 echo "$ac_t""no" 1>&6
7940 if test -z "$CC"; then
7941 case "`uname -s`" in
7943 # Extract the first word of "cl", so it can be a program name with args.
7944 set dummy cl
; ac_word
=$2
7945 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7946 echo "configure:7947: checking for $ac_word" >&5
7947 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
7948 echo $ac_n "(cached) $ac_c" 1>&6
7950 if test -n "$CC"; then
7951 ac_cv_prog_CC
="$CC" # Let the user override the test.
7953 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7955 for ac_dir
in $ac_dummy; do
7956 test -z "$ac_dir" && ac_dir
=.
7957 if test -f $ac_dir/$ac_word; then
7966 if test -n "$CC"; then
7967 echo "$ac_t""$CC" 1>&6
7969 echo "$ac_t""no" 1>&6
7974 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
7977 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
7978 echo "configure:7979: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
7981 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7982 ac_cpp
='$CPP $CPPFLAGS'
7983 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7984 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7985 cross_compiling
=$ac_cv_prog_cc_cross
7987 cat > conftest.
$ac_ext << EOF
7989 #line 7990 "configure"
7990 #include "confdefs.h"
7994 if { (eval echo configure
:7995: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7995 ac_cv_prog_cc_works
=yes
7996 # If we can't run a trivial program, we are probably using a cross compiler.
7997 if (.
/conftest
; exit) 2>/dev
/null
; then
7998 ac_cv_prog_cc_cross
=no
8000 ac_cv_prog_cc_cross
=yes
8003 echo "configure: failed program was:" >&5
8004 cat conftest.
$ac_ext >&5
8005 ac_cv_prog_cc_works
=no
8009 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8010 ac_cpp
='$CPP $CPPFLAGS'
8011 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8012 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8013 cross_compiling
=$ac_cv_prog_cc_cross
8015 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
8016 if test $ac_cv_prog_cc_works = no
; then
8017 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
8019 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
8020 echo "configure:8021: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
8021 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
8022 cross_compiling
=$ac_cv_prog_cc_cross
8024 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
8025 echo "configure:8026: checking whether we are using GNU C" >&5
8026 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
8027 echo $ac_n "(cached) $ac_c" 1>&6
8029 cat > conftest.c
<<EOF
8034 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:8035: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
8041 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
8043 if test $ac_cv_prog_gcc = yes; then
8049 ac_test_CFLAGS
="${CFLAGS+set}"
8050 ac_save_CFLAGS
="$CFLAGS"
8052 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
8053 echo "configure:8054: checking whether ${CC-cc} accepts -g" >&5
8054 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
8055 echo $ac_n "(cached) $ac_c" 1>&6
8057 echo 'void f(){}' > conftest.c
8058 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
8067 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
8068 if test "$ac_test_CFLAGS" = set; then
8069 CFLAGS
="$ac_save_CFLAGS"
8070 elif test $ac_cv_prog_cc_g = yes; then
8071 if test "$GCC" = yes; then
8077 if test "$GCC" = yes; then
8085 CFLAGS
=`echo "$CFLAGS" | sed 's/-g//g'`
8087 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
8088 echo "configure:8089: checking how to run the C preprocessor" >&5
8089 # On Suns, sometimes $CPP names a directory.
8090 if test -n "$CPP" && test -d "$CPP"; then
8093 if test -z "$CPP"; then
8094 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
8095 echo $ac_n "(cached) $ac_c" 1>&6
8097 # This must be in double quotes, not single quotes, because CPP may get
8098 # substituted into the Makefile and "${CC-cc}" will confuse make.
8100 # On the NeXT, cc -E runs the code through the compiler's parser,
8101 # not just through cpp.
8102 cat > conftest.
$ac_ext <<EOF
8103 #line 8104 "configure"
8104 #include "confdefs.h"
8108 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8109 { (eval echo configure
:8110: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8110 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8111 if test -z "$ac_err"; then
8115 echo "configure: failed program was:" >&5
8116 cat conftest.
$ac_ext >&5
8118 CPP
="${CC-cc} -E -traditional-cpp"
8119 cat > conftest.
$ac_ext <<EOF
8120 #line 8121 "configure"
8121 #include "confdefs.h"
8125 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8126 { (eval echo configure
:8127: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8127 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8128 if test -z "$ac_err"; then
8132 echo "configure: failed program was:" >&5
8133 cat conftest.
$ac_ext >&5
8135 CPP
="${CC-cc} -nologo -E"
8136 cat > conftest.
$ac_ext <<EOF
8137 #line 8138 "configure"
8138 #include "confdefs.h"
8142 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8143 { (eval echo configure
:8144: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8144 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8145 if test -z "$ac_err"; then
8149 echo "configure: failed program was:" >&5
8150 cat conftest.
$ac_ext >&5
8159 ac_cv_prog_CPP
="$CPP"
8161 CPP
="$ac_cv_prog_CPP"
8163 ac_cv_prog_CPP
="$CPP"
8165 echo "$ac_t""$CPP" 1>&6
8167 if test $ac_cv_prog_gcc = yes; then
8168 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
8169 echo "configure:8170: checking whether ${CC-cc} needs -traditional" >&5
8170 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
8171 echo $ac_n "(cached) $ac_c" 1>&6
8173 ac_pattern
="Autoconf.*'x'"
8174 cat > conftest.
$ac_ext <<EOF
8175 #line 8176 "configure"
8176 #include "confdefs.h"
8180 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8181 egrep "$ac_pattern" >/dev
/null
2>&1; then
8183 ac_cv_prog_gcc_traditional
=yes
8186 ac_cv_prog_gcc_traditional
=no
8191 if test $ac_cv_prog_gcc_traditional = no
; then
8192 cat > conftest.
$ac_ext <<EOF
8193 #line 8194 "configure"
8194 #include "confdefs.h"
8198 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8199 egrep "$ac_pattern" >/dev
/null
2>&1; then
8201 ac_cv_prog_gcc_traditional
=yes
8208 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
8209 if test $ac_cv_prog_gcc_traditional = yes; then
8210 CC
="$CC -traditional"
8217 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8218 ac_cpp
='$CXXCPP $CPPFLAGS'
8219 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8220 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8221 cross_compiling
=$ac_cv_prog_cxx_cross
8224 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++ cl
8226 # Extract the first word of "$ac_prog", so it can be a program name with args.
8227 set dummy
$ac_prog; ac_word
=$2
8228 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8229 echo "configure:8230: checking for $ac_word" >&5
8230 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
8231 echo $ac_n "(cached) $ac_c" 1>&6
8233 if test -n "$CXX"; then
8234 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
8236 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8238 for ac_dir
in $ac_dummy; do
8239 test -z "$ac_dir" && ac_dir
=.
8240 if test -f $ac_dir/$ac_word; then
8241 ac_cv_prog_CXX
="$ac_prog"
8248 CXX
="$ac_cv_prog_CXX"
8249 if test -n "$CXX"; then
8250 echo "$ac_t""$CXX" 1>&6
8252 echo "$ac_t""no" 1>&6
8255 test -n "$CXX" && break
8257 test -n "$CXX" || CXX
="gcc"
8260 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
8261 echo "configure:8262: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
8264 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8265 ac_cpp
='$CXXCPP $CPPFLAGS'
8266 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8267 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8268 cross_compiling
=$ac_cv_prog_cxx_cross
8270 cat > conftest.
$ac_ext << EOF
8272 #line 8273 "configure"
8273 #include "confdefs.h"
8275 int main(){return(0);}
8277 if { (eval echo configure
:8278: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8278 ac_cv_prog_cxx_works
=yes
8279 # If we can't run a trivial program, we are probably using a cross compiler.
8280 if (.
/conftest
; exit) 2>/dev
/null
; then
8281 ac_cv_prog_cxx_cross
=no
8283 ac_cv_prog_cxx_cross
=yes
8286 echo "configure: failed program was:" >&5
8287 cat conftest.
$ac_ext >&5
8288 ac_cv_prog_cxx_works
=no
8292 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8293 ac_cpp
='$CXXCPP $CPPFLAGS'
8294 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8295 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8296 cross_compiling
=$ac_cv_prog_cxx_cross
8298 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
8299 if test $ac_cv_prog_cxx_works = no
; then
8300 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
8302 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
8303 echo "configure:8304: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
8304 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
8305 cross_compiling
=$ac_cv_prog_cxx_cross
8307 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
8308 echo "configure:8309: checking whether we are using GNU C++" >&5
8309 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
8310 echo $ac_n "(cached) $ac_c" 1>&6
8312 cat > conftest.C
<<EOF
8317 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:8318: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
8324 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
8326 if test $ac_cv_prog_gxx = yes; then
8332 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
8333 ac_save_CXXFLAGS
="$CXXFLAGS"
8335 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
8336 echo "configure:8337: checking whether ${CXX-g++} accepts -g" >&5
8337 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
8338 echo $ac_n "(cached) $ac_c" 1>&6
8340 echo 'void f(){}' > conftest.cc
8341 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
8342 ac_cv_prog_cxx_g
=yes
8350 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
8351 if test "$ac_test_CXXFLAGS" = set; then
8352 CXXFLAGS
="$ac_save_CXXFLAGS"
8353 elif test $ac_cv_prog_cxx_g = yes; then
8354 if test "$GXX" = yes; then
8360 if test "$GXX" = yes; then
8368 CXXFLAGS
=`echo "$CXXFLAGS" | sed 's/-g//g'`
8371 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8372 ac_cpp
='$CPP $CPPFLAGS'
8373 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8374 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8375 cross_compiling
=$ac_cv_prog_cc_cross
8378 # Extract the first word of "ranlib", so it can be a program name with args.
8379 set dummy ranlib
; ac_word
=$2
8380 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8381 echo "configure:8382: checking for $ac_word" >&5
8382 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
8383 echo $ac_n "(cached) $ac_c" 1>&6
8385 if test -n "$RANLIB"; then
8386 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
8388 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8390 for ac_dir
in $ac_dummy; do
8391 test -z "$ac_dir" && ac_dir
=.
8392 if test -f $ac_dir/$ac_word; then
8393 ac_cv_prog_RANLIB
="ranlib"
8398 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
8401 RANLIB
="$ac_cv_prog_RANLIB"
8402 if test -n "$RANLIB"; then
8403 echo "$ac_t""$RANLIB" 1>&6
8405 echo "$ac_t""no" 1>&6
8409 # Extract the first word of "ar", so it can be a program name with args.
8410 set dummy
ar; ac_word
=$2
8411 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8412 echo "configure:8413: checking for $ac_word" >&5
8413 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
8414 echo $ac_n "(cached) $ac_c" 1>&6
8416 if test -n "$AR"; then
8417 ac_cv_prog_AR
="$AR" # Let the user override the test.
8419 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8421 for ac_dir
in $ac_dummy; do
8422 test -z "$ac_dir" && ac_dir
=.
8423 if test -f $ac_dir/$ac_word; then
8429 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
8433 if test -n "$AR"; then
8434 echo "$ac_t""$AR" 1>&6
8436 echo "$ac_t""no" 1>&6
8440 # Find a good install program. We prefer a C program (faster),
8441 # so one script is as good as another. But avoid the broken or
8442 # incompatible versions:
8443 # SysV /etc/install, /usr/sbin/install
8444 # SunOS /usr/etc/install
8445 # IRIX /sbin/install
8447 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
8448 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
8449 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
8450 # ./install, which can be erroneously created by make from ./install.sh.
8451 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
8452 echo "configure:8453: checking for a BSD compatible install" >&5
8453 if test -z "$INSTALL"; then
8454 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
8455 echo $ac_n "(cached) $ac_c" 1>&6
8457 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
8458 for ac_dir
in $PATH; do
8459 # Account for people who put trailing slashes in PATH elements.
8461 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
8463 # OSF1 and SCO ODT 3.0 have their own names for install.
8464 # Don't use installbsd from OSF since it installs stuff as root
8466 for ac_prog
in ginstall scoinst
install; do
8467 if test -f $ac_dir/$ac_prog; then
8468 if test $ac_prog = install &&
8469 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
8470 # AIX install. It has an incompatible calling convention.
8473 ac_cv_path_install
="$ac_dir/$ac_prog -c"
8484 if test "${ac_cv_path_install+set}" = set; then
8485 INSTALL
="$ac_cv_path_install"
8487 # As a last resort, use the slow shell script. We don't cache a
8488 # path for INSTALL within a source directory, because that will
8489 # break other packages using the cache if that directory is
8490 # removed, or if the path is relative.
8491 INSTALL
="$ac_install_sh"
8494 echo "$ac_t""$INSTALL" 1>&6
8496 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
8497 # It thinks the first close brace ends the variable substitution.
8498 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
8500 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
8502 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
8505 # Extract the first word of "strip", so it can be a program name with args.
8506 set dummy strip
; ac_word
=$2
8507 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8508 echo "configure:8509: checking for $ac_word" >&5
8509 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
8510 echo $ac_n "(cached) $ac_c" 1>&6
8512 if test -n "$STRIP"; then
8513 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
8515 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8517 for ac_dir
in $ac_dummy; do
8518 test -z "$ac_dir" && ac_dir
=.
8519 if test -f $ac_dir/$ac_word; then
8520 ac_cv_prog_STRIP
="strip"
8525 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
8528 STRIP
="$ac_cv_prog_STRIP"
8529 if test -n "$STRIP"; then
8530 echo "$ac_t""$STRIP" 1>&6
8532 echo "$ac_t""no" 1>&6
8536 echo $ac_n "checking make for VPATH support""... $ac_c" 1>&6
8537 echo "configure:8538: checking make for VPATH support" >&5
8538 cat - << EOF > confMake
8544 if test ! -d sub
; then
8547 echo dummy
> sub
/file
8548 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
8550 rm -f sub
/file check final_file confMake
8552 if test "$RESULT" = 0; then
8553 echo "$ac_t""yes" 1>&6
8555 echo "$ac_t""no" 1>&6
8556 { echo "configure: error:
8557 You need a make-utility that is able to use the variable
8559 If your version of make does not support VPATH correctly,
8560 please install GNU-make (possibly as gmake), and start
8561 configure with the following command:
8562 export MAKE=gmake; ./configure for sh-type shells
8563 setenv MAKE gmake; ./configure for csh-type shells
8564 Also please do remember to use gmake in this case every time
8565 you are trying to compile.
8569 for ac_prog
in 'bison -y' byacc
8571 # Extract the first word of "$ac_prog", so it can be a program name with args.
8572 set dummy
$ac_prog; ac_word
=$2
8573 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8574 echo "configure:8575: checking for $ac_word" >&5
8575 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
8576 echo $ac_n "(cached) $ac_c" 1>&6
8578 if test -n "$YACC"; then
8579 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
8581 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8583 for ac_dir
in $ac_dummy; do
8584 test -z "$ac_dir" && ac_dir
=.
8585 if test -f $ac_dir/$ac_word; then
8586 ac_cv_prog_YACC
="$ac_prog"
8593 YACC
="$ac_cv_prog_YACC"
8594 if test -n "$YACC"; then
8595 echo "$ac_t""$YACC" 1>&6
8597 echo "$ac_t""no" 1>&6
8600 test -n "$YACC" && break
8602 test -n "$YACC" || YACC
="yacc"
8605 # Extract the first word of "flex", so it can be a program name with args.
8606 set dummy flex
; ac_word
=$2
8607 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8608 echo "configure:8609: checking for $ac_word" >&5
8609 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
8610 echo $ac_n "(cached) $ac_c" 1>&6
8612 if test -n "$LEX"; then
8613 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
8615 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8617 for ac_dir
in $ac_dummy; do
8618 test -z "$ac_dir" && ac_dir
=.
8619 if test -f $ac_dir/$ac_word; then
8620 ac_cv_prog_LEX
="flex"
8625 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
8628 LEX
="$ac_cv_prog_LEX"
8629 if test -n "$LEX"; then
8630 echo "$ac_t""$LEX" 1>&6
8632 echo "$ac_t""no" 1>&6
8635 if test -z "$LEXLIB"
8641 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
8642 echo "configure:8643: checking for yywrap in -l$ac_lib" >&5
8643 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
8644 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8645 echo $ac_n "(cached) $ac_c" 1>&6
8647 ac_save_LIBS
="$LIBS"
8648 LIBS
="-l$ac_lib $LIBS"
8649 cat > conftest.
$ac_ext <<EOF
8650 #line 8651 "configure"
8651 #include "confdefs.h"
8652 /* Override any gcc2 internal prototype to avoid an error. */
8653 /* We use char because int might match the return type of a gcc2
8654 builtin and then its argument prototype would still apply. */
8661 if { (eval echo configure
:8662: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8663 eval "ac_cv_lib_$ac_lib_var=yes"
8665 echo "configure: failed program was:" >&5
8666 cat conftest.
$ac_ext >&5
8668 eval "ac_cv_lib_$ac_lib_var=no"
8671 LIBS
="$ac_save_LIBS"
8674 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8675 echo "$ac_t""yes" 1>&6
8678 echo "$ac_t""no" 1>&6
8684 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
8685 echo "configure:8686: checking whether ln -s works" >&5
8686 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
8687 echo $ac_n "(cached) $ac_c" 1>&6
8690 if ln -s X conftestdata
2>/dev
/null
8693 ac_cv_prog_LN_S
="ln -s"
8698 LN_S
="$ac_cv_prog_LN_S"
8699 if test "$ac_cv_prog_LN_S" = "ln -s"; then
8700 echo "$ac_t""yes" 1>&6
8702 echo "$ac_t""no" 1>&6
8708 /usr/local/include \
8710 /usr/Motif-1.2/include \
8711 /usr/Motif-2.1/include \
8713 /usr/include/Motif1.2 \
8714 /opt/xpm/include/X11 \
8715 /opt/GBxpm/include/ \
8716 /opt/GBxpm/X11/include/ \
8718 /usr/Motif1.2/include \
8720 /usr/openwin/include \
8724 /usr/X11R6/include \
8725 /usr/X11R6.4/include \
8726 /usr/X11R5/include \
8727 /usr/X11R4/include \
8729 /usr/include/X11R6 \
8730 /usr/include/X11R5 \
8731 /usr/include/X11R4 \
8733 /usr/local/X11R6/include \
8734 /usr/local/X11R5/include \
8735 /usr/local/X11R4/include \
8737 /usr/local/include/X11R6 \
8738 /usr/local/include/X11R5 \
8739 /usr/local/include/X11R4 \
8743 /usr/local/X11/include \
8744 /usr/local/include/X11 \
8748 /usr/XFree86/include/X11 \
8750 X:/XFree86/include \
8751 X:/XFree86/include/X11 \
8754 /usr/local/include/gtk \
8756 /usr/local/include/glib \
8759 /usr/local/include/qt \
8761 /usr/include/windows \
8763 /usr/local/include/wine \
8765 /usr/unsupported/include \
8766 /usr/athena/include \
8767 /usr/local/x11r5/include \
8768 /usr/lpp/Xamples/include \
8770 /usr/openwin/share/include \
8774 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
8777 cat > confcache
<<\EOF
8778 # This file is a shell script that caches the results of configure
8779 # tests run on this system so they can be shared between configure
8780 # scripts and configure runs. It is not useful on other systems.
8781 # If it contains results you don't want to keep, you may remove or edit it.
8783 # By default, configure uses ./config.cache as the cache file,
8784 # creating it if it does not exist already. You can give configure
8785 # the --cache-file=FILE option to use a different cache file; that is
8786 # what configure does when it calls configure scripts in
8787 # subdirectories, so they share the cache.
8788 # Giving --cache-file=/dev/null disables caching, for debugging configure.
8789 # config.status only pays attention to the cache file if you give it the
8790 # --recheck option to rerun configure.
8793 # The following way of writing the cache mishandles newlines in values,
8794 # but we know of no workaround that is simple, portable, and efficient.
8795 # So, don't put newlines in cache variables' values.
8796 # Ultrix sh set writes to stderr and can't be redirected directly,
8797 # and sets the high bit in the cache file unless we assign to the vars.
8799 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8801 # `set' does not quote correctly, so add quotes (double-quote substitution
8802 # turns \\\\ into \\, and sed turns \\ into \).
8804 -e "s/'/'\\\\''/g" \
8805 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
8808 # `set' quotes correctly as required by POSIX, so do not add quotes.
8809 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
8812 if cmp -s $cache_file confcache
; then
8815 if test -w $cache_file; then
8816 echo "updating cache $cache_file"
8817 cat confcache
> $cache_file
8819 echo "not updating unwritable cache $cache_file"
8827 if test "$wxUSE_REGEX" != "no"; then
8828 ac_safe
=`echo "regex.h" | sed 'y%./+-%__p_%'`
8829 echo $ac_n "checking for regex.h""... $ac_c" 1>&6
8830 echo "configure:8831: checking for regex.h" >&5
8831 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8832 echo $ac_n "(cached) $ac_c" 1>&6
8834 cat > conftest.
$ac_ext <<EOF
8835 #line 8836 "configure"
8836 #include "confdefs.h"
8839 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8840 { (eval echo configure
:8841: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8841 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8842 if test -z "$ac_err"; then
8844 eval "ac_cv_header_$ac_safe=yes"
8847 echo "configure: failed program was:" >&5
8848 cat conftest.
$ac_ext >&5
8850 eval "ac_cv_header_$ac_safe=no"
8854 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8855 echo "$ac_t""yes" 1>&6
8856 for ac_func
in regcomp
8858 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8859 echo "configure:8860: checking for $ac_func" >&5
8860 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8861 echo $ac_n "(cached) $ac_c" 1>&6
8863 cat > conftest.
$ac_ext <<EOF
8864 #line 8865 "configure"
8865 #include "confdefs.h"
8866 /* System header to define __stub macros and hopefully few prototypes,
8867 which can conflict with char $ac_func(); below. */
8869 /* Override any gcc2 internal prototype to avoid an error. */
8870 /* We use char because int might match the return type of a gcc2
8871 builtin and then its argument prototype would still apply. */
8876 /* The GNU C library defines this for functions which it implements
8877 to always fail with ENOSYS. Some functions are actually named
8878 something starting with __ and the normal name is an alias. */
8879 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8887 if { (eval echo configure
:8888: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8889 eval "ac_cv_func_$ac_func=yes"
8891 echo "configure: failed program was:" >&5
8892 cat conftest.
$ac_ext >&5
8894 eval "ac_cv_func_$ac_func=no"
8899 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8900 echo "$ac_t""yes" 1>&6
8901 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8902 cat >> confdefs.h
<<EOF
8903 #define $ac_tr_func 1
8907 echo "$ac_t""no" 1>&6
8912 echo "$ac_t""no" 1>&6
8916 if test "x$ac_cv_func_regcomp" != "xyes"; then
8917 if test "$wxUSE_REGEX" = "sys"; then
8918 { echo "configure: error: system regex library not found! Use --with-regex to use the built-in regex library." 1>&2; exit 1; }
8921 REGEX_INCLUDE
="-I\${top_srcdir}/src/regex"
8924 cat >> confdefs.h
<<\EOF
8925 #define wxUSE_REGEX 1
8937 if test "$USE_WIN32" = 1 ; then
8938 for ac_hdr
in w32api.h
8940 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8941 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8942 echo "configure:8943: checking for $ac_hdr" >&5
8943 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8944 echo $ac_n "(cached) $ac_c" 1>&6
8946 cat > conftest.
$ac_ext <<EOF
8947 #line 8948 "configure"
8948 #include "confdefs.h"
8951 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8952 { (eval echo configure
:8953: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8953 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8954 if test -z "$ac_err"; then
8956 eval "ac_cv_header_$ac_safe=yes"
8959 echo "configure: failed program was:" >&5
8960 cat conftest.
$ac_ext >&5
8962 eval "ac_cv_header_$ac_safe=no"
8966 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8967 echo "$ac_t""yes" 1>&6
8968 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8969 cat >> confdefs.h
<<EOF
8970 #define $ac_tr_hdr 1
8974 echo "$ac_t""no" 1>&6
8978 ac_safe
=`echo "windows.h" | sed 'y%./+-%__p_%'`
8979 echo $ac_n "checking for windows.h""... $ac_c" 1>&6
8980 echo "configure:8981: checking for windows.h" >&5
8981 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8982 echo $ac_n "(cached) $ac_c" 1>&6
8984 cat > conftest.
$ac_ext <<EOF
8985 #line 8986 "configure"
8986 #include "confdefs.h"
8987 #include <windows.h>
8989 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8990 { (eval echo configure
:8991: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8991 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8992 if test -z "$ac_err"; then
8994 eval "ac_cv_header_$ac_safe=yes"
8997 echo "configure: failed program was:" >&5
8998 cat conftest.
$ac_ext >&5
9000 eval "ac_cv_header_$ac_safe=no"
9004 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9005 echo "$ac_t""yes" 1>&6
9008 echo "$ac_t""no" 1>&6
9010 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
9015 echo $ac_n "checking if w32api has good enough MSIE support""... $ac_c" 1>&6
9016 echo "configure:9017: checking if w32api has good enough MSIE support" >&5
9017 if eval "test \"`echo '$''{'wx_cv_w32api_win_ie'+set}'`\" = set"; then
9018 echo $ac_n "(cached) $ac_c" 1>&6
9021 cat > conftest.
$ac_ext <<EOF
9022 #line 9023 "configure"
9023 #include "confdefs.h"
9027 #define wxCHECK_W32API_VERSION( major, minor ) \
9028 ( defined( __W32API_MAJOR_VERSION ) && defined( __W32API_MINOR_VERSION ) \
9029 && ( ( __W32API_MAJOR_VERSION > (major) ) \
9030 || ( __W32API_MAJOR_VERSION == (major) && __W32API_MINOR_VERSION >= (minor))))
9032 #if !wxCHECK_W32API_VERSION(1,1)
9033 #error You need w32api 1.1 or newer
9038 if { (eval echo configure
:9039: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9041 wx_cv_w32api_win_ie
=yes
9042 CPPFLAGS
="$CPPFLAGS -D_WIN_IE=0x400"
9045 echo "configure: failed program was:" >&5
9046 cat conftest.
$ac_ext >&5
9049 wx_cv_w32api_win_ie
=no
9056 echo "$ac_t""$wx_cv_w32api_win_ie" 1>&6
9058 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -ladvapi32 -lwsock32"
9060 if test "$wxUSE_CYGWIN" = 1; then
9061 LIBS
="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32"
9064 if test "$wxUSE_ODBC" = "yes" ; then
9065 LIBS
="$LIBS -lodbc32 -lole32 -loleaut32"
9068 if test "$wxUSE_MINGW" = 1; then
9069 LDFLAGS
="$LDFLAGS -mwindows"
9072 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
9073 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
9076 if test "$wxUSE_GUI" = "yes"; then
9085 if test "$wxUSE_CYGWIN" = 1 || test "$wxUSE_MINGW" = 1 ; then
9090 if test "$wxUSE_GTK" = 1; then
9091 echo $ac_n "checking for GTK+ version""... $ac_c" 1>&6
9092 echo "configure:9093: checking for GTK+ version" >&5
9094 gtk_version_cached
=1
9095 if eval "test \"`echo '$''{'wx_cv_lib_gtk'+set}'`\" = set"; then
9096 echo $ac_n "(cached) $ac_c" 1>&6
9099 gtk_version_cached
=0
9100 echo "$ac_t""""" 1>&6
9103 if test "x$wxUSE_GTK2" = "xyes"; then
9104 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
9105 if test "${with_gtk_prefix+set}" = set; then
9106 withval
="$with_gtk_prefix"
9107 gtk_config_prefix
="$withval"
9109 gtk_config_prefix
=""
9112 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
9113 if test "${with_gtk_exec_prefix+set}" = set; then
9114 withval
="$with_gtk_exec_prefix"
9115 gtk_config_exec_prefix
="$withval"
9117 gtk_config_exec_prefix
=""
9120 # Check whether --enable-gtktest or --disable-gtktest was given.
9121 if test "${enable_gtktest+set}" = set; then
9122 enableval
="$enable_gtktest"
9133 gtk_config_args
="$gtk_config_args gthread"
9138 if test x
$gtk_config_exec_prefix != x
; then
9139 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
9140 if test x
${GTK_CONFIG_2_0+set} != xset
; then
9141 GTK_CONFIG_2_0
=$gtk_config_exec_prefix/bin
/gtk
-config-2.0
9144 if test x
$gtk_config_prefix != x
; then
9145 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
9146 if test x
${GTK_CONFIG_2_0+set} != xset
; then
9147 GTK_CONFIG_2_0
=$gtk_config_prefix/bin
/gtk
-config-2.0
9151 # Extract the first word of "gtk-config-2.0", so it can be a program name with args.
9152 set dummy gtk
-config-2.0
; ac_word
=$2
9153 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9154 echo "configure:9155: checking for $ac_word" >&5
9155 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG_2_0'+set}'`\" = set"; then
9156 echo $ac_n "(cached) $ac_c" 1>&6
9158 case "$GTK_CONFIG_2_0" in
9160 ac_cv_path_GTK_CONFIG_2_0
="$GTK_CONFIG_2_0" # Let the user override the test with a path.
9163 ac_cv_path_GTK_CONFIG_2_0
="$GTK_CONFIG_2_0" # Let the user override the test with a dos path.
9166 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9168 for ac_dir
in $ac_dummy; do
9169 test -z "$ac_dir" && ac_dir
=.
9170 if test -f $ac_dir/$ac_word; then
9171 ac_cv_path_GTK_CONFIG_2_0
="$ac_dir/$ac_word"
9176 test -z "$ac_cv_path_GTK_CONFIG_2_0" && ac_cv_path_GTK_CONFIG_2_0
="no"
9180 GTK_CONFIG_2_0
="$ac_cv_path_GTK_CONFIG_2_0"
9181 if test -n "$GTK_CONFIG_2_0"; then
9182 echo "$ac_t""$GTK_CONFIG_2_0" 1>&6
9184 echo "$ac_t""no" 1>&6
9187 min_gtk_version
=1.3.1
9188 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
9189 echo "configure:9190: checking for GTK - version >= $min_gtk_version" >&5
9191 if test "$GTK_CONFIG_2_0" = "no" ; then
9194 GTK_CFLAGS
=`$GTK_CONFIG_2_0 $gtk_config_args --cflags`
9195 GTK_LIBS
=`$GTK_CONFIG_2_0 $gtk_config_args --libs`
9196 gtk_config_major_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
9197 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
9198 gtk_config_minor_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
9199 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
9200 gtk_config_micro_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
9201 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
9202 if test "x$enable_gtktest" = "xyes" ; then
9203 ac_save_CFLAGS
="$CFLAGS"
9204 ac_save_LIBS
="$LIBS"
9205 CFLAGS
="$CFLAGS $GTK_CFLAGS"
9206 LIBS
="$GTK_LIBS $LIBS"
9208 if test "$cross_compiling" = yes; then
9209 echo $ac_n "cross compiling; assumed OK... $ac_c"
9211 cat > conftest.
$ac_ext <<EOF
9212 #line 9213 "configure"
9213 #include "confdefs.h"
9215 #include <gtk/gtk.h>
9222 int major, minor, micro;
9225 system ("touch conf.gtktest");
9227 /* HP/UX 9 (%@#!) writes to sscanf strings */
9228 tmp_version = g_strdup("$min_gtk_version");
9229 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
9230 printf("%s, bad version string\n", "$min_gtk_version");
9234 if ((gtk_major_version != $gtk_config_major_version) ||
9235 (gtk_minor_version != $gtk_config_minor_version) ||
9236 (gtk_micro_version != $gtk_config_micro_version))
9238 printf("\n*** 'gtk-config-2.0 --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
9239 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
9240 gtk_major_version, gtk_minor_version, gtk_micro_version);
9241 printf ("*** was found! If gtk-config-2.0 was correct, then it is best\n");
9242 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
9243 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
9244 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
9245 printf("*** required on your system.\n");
9246 printf("*** If gtk-config-2.0 was wrong, set the environment variable GTK_CONFIG_2_0\n");
9247 printf("*** to point to the correct copy of gtk-config-2.0, and remove the file config.cache\n");
9248 printf("*** before re-running configure\n");
9250 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
9251 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
9252 (gtk_minor_version != GTK_MINOR_VERSION) ||
9253 (gtk_micro_version != GTK_MICRO_VERSION))
9255 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
9256 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
9257 printf("*** library (version %d.%d.%d)\n",
9258 gtk_major_version, gtk_minor_version, gtk_micro_version);
9260 #endif /* defined (GTK_MAJOR_VERSION) ... */
9263 if ((gtk_major_version > major) ||
9264 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
9265 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
9271 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
9272 gtk_major_version, gtk_minor_version, gtk_micro_version);
9273 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
9274 major, minor, micro);
9275 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
9277 printf("*** If you have already installed a sufficiently new version, this error\n");
9278 printf("*** probably means that the wrong copy of the gtk-config-2.0 shell script is\n");
9279 printf("*** being found. The easiest way to fix this is to remove the old version\n");
9280 printf("*** of GTK+, but you can also set the GTK_CONFIG_2_0 environment to point to the\n");
9281 printf("*** correct copy of gtk-config-2.0. (In this case, you will have to\n");
9282 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
9283 printf("*** so that the correct libraries are found at run-time))\n");
9290 if { (eval echo configure
:9291: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9294 echo "configure: failed program was:" >&5
9295 cat conftest.
$ac_ext >&5
9302 CFLAGS
="$ac_save_CFLAGS"
9303 LIBS
="$ac_save_LIBS"
9306 if test "x$no_gtk" = x
; then
9307 echo "$ac_t""yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" 1>&6
9310 echo "$ac_t""no" 1>&6
9311 if test "$GTK_CONFIG_2_0" = "no" ; then
9312 echo "*** The gtk-config-2.0 script installed by GTK could not be found"
9313 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
9314 echo "*** your path, or set the GTK_CONFIG_2_0 environment variable to the"
9315 echo "*** full path to gtk-config-2.0."
9317 if test -f conf.gtktest
; then
9320 echo "*** Could not run GTK test program, checking why..."
9321 CFLAGS
="$CFLAGS $GTK_CFLAGS"
9322 LIBS
="$LIBS $GTK_LIBS"
9323 cat > conftest.
$ac_ext <<EOF
9324 #line 9325 "configure"
9325 #include "confdefs.h"
9327 #include <gtk/gtk.h>
9331 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
9334 if { (eval echo configure
:9335: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9336 echo "*** The test program compiled, but did not run. This usually means"
9337 echo "*** that the run-time linker is not finding GTK or finding the wrong"
9338 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
9339 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
9340 echo "*** to the installed location Also, make sure you have run ldconfig if that"
9341 echo "*** is required on your system"
9343 echo "*** If you have an old version installed, it is best to remove it, although"
9344 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
9346 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
9347 echo "*** came with the system with the command"
9349 echo "*** rpm --erase --nodeps gtk gtk-devel"
9351 echo "configure: failed program was:" >&5
9352 cat conftest.
$ac_ext >&5
9354 echo "*** The test program failed to compile or link. See the file config.log for the"
9355 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
9356 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
9357 echo "*** may want to edit the gtk-config-2.0 script: $GTK_CONFIG_2_0"
9360 CFLAGS
="$ac_save_CFLAGS"
9361 LIBS
="$ac_save_LIBS"
9374 if test -z "$wx_cv_lib_gtk"; then
9376 if test x
$gtk_config_exec_prefix != x
; then
9377 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
9378 if test x
${GTK_CONFIG+set} != xset
; then
9379 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
9382 if test x
$gtk_config_prefix != x
; then
9383 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
9384 if test x
${GTK_CONFIG+set} != xset
; then
9385 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
9389 # Extract the first word of "gtk-config", so it can be a program name with args.
9390 set dummy gtk
-config; ac_word
=$2
9391 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9392 echo "configure:9393: checking for $ac_word" >&5
9393 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
9394 echo $ac_n "(cached) $ac_c" 1>&6
9396 case "$GTK_CONFIG" in
9398 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
9401 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
9404 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9406 for ac_dir
in $ac_dummy; do
9407 test -z "$ac_dir" && ac_dir
=.
9408 if test -f $ac_dir/$ac_word; then
9409 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
9414 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
9418 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
9419 if test -n "$GTK_CONFIG"; then
9420 echo "$ac_t""$GTK_CONFIG" 1>&6
9422 echo "$ac_t""no" 1>&6
9425 min_gtk_version
=1.2.7
9426 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
9427 echo "configure:9428: checking for GTK - version >= $min_gtk_version" >&5
9429 if test "$GTK_CONFIG" != "no" ; then
9430 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
9431 GTK_LIBS
=`$GTK_CONFIG --libs gthread`
9432 ac_save_CFLAGS
="$CFLAGS"
9433 ac_save_LIBS
="$LIBS"
9434 CFLAGS
="$CFLAGS $GTK_CFLAGS"
9435 LIBS
="$LIBS $GTK_LIBS"
9436 if test "$cross_compiling" = yes; then
9437 echo $ac_n "cross compiling; assumed OK... $ac_c"
9439 cat > conftest.
$ac_ext <<EOF
9440 #line 9441 "configure"
9441 #include "confdefs.h"
9443 #include <gtk/gtk.h>
9444 #include <gtk/gtkfeatures.h>
9451 int major, minor, micro;
9453 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
9454 printf("%s, bad version string\n", "$min_gtk_version");
9458 if ((GTK_MAJOR_VERSION != gtk_major_version) ||
9459 (GTK_MINOR_VERSION != gtk_minor_version) ||
9460 (GTK_MICRO_VERSION != gtk_micro_version)) {
9461 printf("Headers vs. library version mismatch!\n");
9465 if (gtk_minor_version == 1) return FALSE;
9467 return !((gtk_major_version > major) ||
9468 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
9469 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
9473 if { (eval echo configure
:9474: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9477 echo "configure: failed program was:" >&5
9478 cat conftest.
$ac_ext >&5
9485 CFLAGS
="$ac_save_CFLAGS"
9486 LIBS
="$ac_save_LIBS"
9490 if test "x$no_gtk" = x
; then
9491 echo "$ac_t""yes" 1>&6
9494 echo "$ac_t""no" 1>&6
9504 if test -z "$wx_cv_lib_gtk"; then
9506 if test x
$gtk_config_exec_prefix != x
; then
9507 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
9508 if test x
${GTK_CONFIG+set} != xset
; then
9509 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
9512 if test x
$gtk_config_prefix != x
; then
9513 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
9514 if test x
${GTK_CONFIG+set} != xset
; then
9515 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
9519 # Extract the first word of "gtk-config", so it can be a program name with args.
9520 set dummy gtk
-config; ac_word
=$2
9521 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9522 echo "configure:9523: checking for $ac_word" >&5
9523 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
9524 echo $ac_n "(cached) $ac_c" 1>&6
9526 case "$GTK_CONFIG" in
9528 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
9531 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
9534 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9536 for ac_dir
in $ac_dummy; do
9537 test -z "$ac_dir" && ac_dir
=.
9538 if test -f $ac_dir/$ac_word; then
9539 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
9544 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
9548 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
9549 if test -n "$GTK_CONFIG"; then
9550 echo "$ac_t""$GTK_CONFIG" 1>&6
9552 echo "$ac_t""no" 1>&6
9555 min_gtk_version
=1.2.3
9556 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
9557 echo "configure:9558: checking for GTK - version >= $min_gtk_version" >&5
9559 if test "$GTK_CONFIG" != "no" ; then
9560 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
9561 GTK_LIBS
=`$GTK_CONFIG --libs gthread`
9562 ac_save_CFLAGS
="$CFLAGS"
9563 ac_save_LIBS
="$LIBS"
9564 CFLAGS
="$CFLAGS $GTK_CFLAGS"
9565 LIBS
="$LIBS $GTK_LIBS"
9566 if test "$cross_compiling" = yes; then
9567 echo $ac_n "cross compiling; assumed OK... $ac_c"
9569 cat > conftest.
$ac_ext <<EOF
9570 #line 9571 "configure"
9571 #include "confdefs.h"
9573 #include <gtk/gtk.h>
9574 #include <gtk/gtkfeatures.h>
9581 int major, minor, micro;
9583 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
9584 printf("%s, bad version string\n", "$min_gtk_version");
9588 if ((GTK_MAJOR_VERSION != gtk_major_version) ||
9589 (GTK_MINOR_VERSION != gtk_minor_version) ||
9590 (GTK_MICRO_VERSION != gtk_micro_version)) {
9591 printf("Headers vs. library version mismatch!\n");
9595 if (gtk_minor_version == 1) return FALSE;
9597 return !((gtk_major_version > major) ||
9598 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
9599 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
9603 if { (eval echo configure
:9604: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9607 echo "configure: failed program was:" >&5
9608 cat conftest.
$ac_ext >&5
9615 CFLAGS
="$ac_save_CFLAGS"
9616 LIBS
="$ac_save_LIBS"
9620 if test "x$no_gtk" = x
; then
9621 echo "$ac_t""yes" 1>&6
9624 echo "$ac_t""no" 1>&6
9634 if test -z "$wx_cv_lib_gtk"; then
9637 wx_cv_cflags_gtk
=$GTK_CFLAGS
9638 wx_cv_libs_gtk
=$GTK_LIBS
9645 if test "$gtk_version_cached" = 1; then
9646 echo "$ac_t""$wx_cv_lib_gtk" 1>&6
9649 case "$wx_cv_lib_gtk" in
9657 *) { echo "configure: error:
9658 Please check that gtk-config is in path, the directory
9659 where GTK+ libraries are installed (returned by
9660 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
9661 equivalent variable and GTK+ is version 1.2.3 or above.
9666 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
9667 GUI_TK_LIBRARY
="$wx_cv_libs_gtk"
9669 AFMINSTALL
=afminstall
9673 echo $ac_n "checking for gdk_im_open in -lgdk""... $ac_c" 1>&6
9674 echo "configure:9675: checking for gdk_im_open in -lgdk" >&5
9675 ac_lib_var
=`echo gdk'_'gdk_im_open | sed 'y%./+-%__p_%'`
9676 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9677 echo $ac_n "(cached) $ac_c" 1>&6
9679 ac_save_LIBS
="$LIBS"
9681 cat > conftest.
$ac_ext <<EOF
9682 #line 9683 "configure"
9683 #include "confdefs.h"
9684 /* Override any gcc2 internal prototype to avoid an error. */
9685 /* We use char because int might match the return type of a gcc2
9686 builtin and then its argument prototype would still apply. */
9693 if { (eval echo configure
:9694: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9695 eval "ac_cv_lib_$ac_lib_var=yes"
9697 echo "configure: failed program was:" >&5
9698 cat conftest.
$ac_ext >&5
9700 eval "ac_cv_lib_$ac_lib_var=no"
9703 LIBS
="$ac_save_LIBS"
9706 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9707 echo "$ac_t""yes" 1>&6
9708 cat >> confdefs.h
<<\EOF
9713 echo "$ac_t""no" 1>&6
9718 if test "$wxUSE_MGL" = 1; then
9720 echo $ac_n "checking for SciTech MGL library""... $ac_c" 1>&6
9721 echo "configure:9722: checking for SciTech MGL library" >&5
9722 if test "x$MGL_ROOT" = x
; then
9723 echo "$ac_t""not found" 1>&6
9724 { echo "configure: error: Cannot find MGL library. Make sure MGL_ROOT is set." 1>&2; exit 1; }
9726 echo "$ac_t""$MGL_ROOT" 1>&6
9729 mgl_os
=linux
/gcc
/glibc
9732 if test "$wxUSE_DEBUG_FLAG" = yes ; then
9733 if test -f $MGL_ROOT/lib
/debug
/$mgl_os/libmgl.a
; then
9737 if test "x$mgl_lib_type" = x
; then
9738 if test -f $MGL_ROOT/lib
/release
/$mgl_os/libmgl.a
; then
9739 mgl_lib_type
=release
9741 { echo "configure: error: Cannot find MGL libraries, make sure they are compiled." 1>&2; exit 1; }
9745 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
9746 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
9748 AFMINSTALL
=afminstall
9753 if test "$wxUSE_WINE" = 1; then
9754 ac_safe
=`echo "windows.h" | sed 'y%./+-%__p_%'`
9755 echo $ac_n "checking for windows.h""... $ac_c" 1>&6
9756 echo "configure:9757: checking for windows.h" >&5
9757 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9758 echo $ac_n "(cached) $ac_c" 1>&6
9760 cat > conftest.
$ac_ext <<EOF
9761 #line 9762 "configure"
9762 #include "confdefs.h"
9763 #include <windows.h>
9765 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9766 { (eval echo configure
:9767: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9767 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9768 if test -z "$ac_err"; then
9770 eval "ac_cv_header_$ac_safe=yes"
9773 echo "configure: failed program was:" >&5
9774 cat conftest.
$ac_ext >&5
9776 eval "ac_cv_header_$ac_safe=no"
9780 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9781 echo "$ac_t""yes" 1>&6
9784 echo "$ac_t""no" 1>&6
9786 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
9792 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
9793 echo "configure:9794: checking for Xpm library" >&5
9796 for ac_dir
in $SEARCH_LIB;
9798 for ac_extension
in a so sl dylib
; do
9799 if test -f "$ac_dir/libXpm.$ac_extension"; then
9800 ac_find_libraries
=$ac_dir
9806 if test "$ac_find_libraries" != "" ; then
9807 GUI_TK_LIBRARY
="-L$ac_find_libraries"
9809 cat >> confdefs.h
<<\EOF
9810 #define wxHAVE_LIB_XPM 1
9813 echo "$ac_t""found at $ac_find_libraries" 1>&6
9815 echo "$ac_t""no" 1>&6
9816 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
9820 echo $ac_n "checking for Mesa library""... $ac_c" 1>&6
9821 echo "configure:9822: checking for Mesa library" >&5
9824 for ac_dir
in $SEARCH_LIB;
9826 for ac_extension
in a so sl dylib
; do
9827 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
9828 ac_find_libraries
=$ac_dir
9834 if test "$ac_find_libraries" != "" ; then
9835 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -L$ac_find_libraries"
9836 mesa_link
="-lMesaGL"
9837 echo "$ac_t""found at $ac_find_libraries" 1>&6
9839 { echo "configure: error: no" 1>&2; exit 1; }
9842 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lwine $mesa_link $xpm_link -lXxf86dga -lXxf86vm -lSM -lICE -lXext -lXmu -lX11 -lncurses"
9845 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXWINE__"
9849 # If we find X, set shell vars x_includes and x_libraries to the
9850 # paths, otherwise set no_x=yes.
9851 # Uses ac_ vars as temps to allow command line to override cache and checks.
9852 # --without-x overrides everything else, but does not touch the cache.
9853 echo $ac_n "checking for X""... $ac_c" 1>&6
9854 echo "configure:9855: checking for X" >&5
9856 # Check whether --with-x or --without-x was given.
9857 if test "${with_x+set}" = set; then
9862 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9863 if test "x$with_x" = xno
; then
9864 # The user explicitly disabled X.
9867 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
9868 # Both variables are already set.
9871 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
9872 echo $ac_n "(cached) $ac_c" 1>&6
9874 # One or both of the vars are not set, and there is no cached value.
9875 ac_x_includes
=NO ac_x_libraries
=NO
9877 if mkdir conftestdir
; then
9879 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
9880 cat > Imakefile
<<'EOF'
9882 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
9884 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
9885 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
9886 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
9887 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9888 for ac_extension
in a so sl
; do
9889 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
9890 test -f $ac_im_libdir/libX11.
$ac_extension; then
9891 ac_im_usrlibdir
=$ac_im_libdir; break
9894 # Screen out bogus values from the imake configuration. They are
9895 # bogus both because they are the default anyway, and because
9896 # using them would break gcc on systems where it needs fixed includes.
9897 case "$ac_im_incroot" in
9899 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;;
9901 case "$ac_im_usrlibdir" in
9903 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;;
9910 if test "$ac_x_includes" = NO
; then
9911 # Guess where to find include files, by looking for this one X11 .h file.
9912 test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
9914 # First, try using that file with no special directory specified.
9915 cat > conftest.
$ac_ext <<EOF
9916 #line 9917 "configure"
9917 #include "confdefs.h"
9918 #include <$x_direct_test_include>
9920 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9921 { (eval echo configure
:9922: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9922 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9923 if test -z "$ac_err"; then
9925 # We can compile using X headers with no special include directory.
9929 echo "configure: failed program was:" >&5
9930 cat conftest.
$ac_ext >&5
9932 # Look for the header file in a standard set of common directories.
9933 # Check X11 before X11Rn because it is often a symlink to the current release.
9936 /usr
/X
11R
6/include \
9937 /usr
/X
11R
5/include \
9938 /usr
/X
11R
4/include \
9941 /usr
/include
/X11R6 \
9942 /usr
/include
/X11R5 \
9943 /usr
/include
/X11R4 \
9945 /usr
/local
/X
11/include \
9946 /usr
/local
/X
11R
6/include \
9947 /usr
/local
/X
11R
5/include \
9948 /usr
/local
/X
11R
4/include \
9950 /usr
/local
/include
/X11 \
9951 /usr
/local
/include
/X11R6 \
9952 /usr
/local
/include
/X11R5 \
9953 /usr
/local
/include
/X11R4 \
9957 /usr
/XFree
86/include
/X11 \
9960 /usr
/local
/include \
9961 /usr
/unsupported
/include \
9962 /usr
/athena
/include \
9963 /usr
/local
/x
11r
5/include \
9964 /usr
/lpp
/Xamples
/include \
9966 /usr
/openwin
/include \
9967 /usr
/openwin
/share
/include \
9970 if test -r "$ac_dir/$x_direct_test_include"; then
9971 ac_x_includes
=$ac_dir
9977 fi # $ac_x_includes = NO
9979 if test "$ac_x_libraries" = NO
; then
9980 # Check for the libraries.
9982 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
9983 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
9985 # See if we find them without any special options.
9986 # Don't add to $LIBS permanently.
9987 ac_save_LIBS
="$LIBS"
9988 LIBS
="-l$x_direct_test_library $LIBS"
9989 cat > conftest.
$ac_ext <<EOF
9990 #line 9991 "configure"
9991 #include "confdefs.h"
9994 ${x_direct_test_function}()
9997 if { (eval echo configure
:9998: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9999 LIBS
="$ac_save_LIBS"
10000 # We can link X programs with no special library path.
10003 echo "configure: failed program was:" >&5
10004 cat conftest.
$ac_ext >&5
10006 LIBS
="$ac_save_LIBS"
10007 # First see if replacing the include by lib works.
10008 # Check X11 before X11Rn because it is often a symlink to the current release.
10009 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib/` \
10020 /usr
/local
/X
11/lib \
10021 /usr
/local
/X
11R
6/lib \
10022 /usr
/local
/X
11R
5/lib \
10023 /usr
/local
/X
11R
4/lib \
10025 /usr
/local
/lib
/X11 \
10026 /usr
/local
/lib
/X11R6 \
10027 /usr
/local
/lib
/X11R5 \
10028 /usr
/local
/lib
/X11R4 \
10032 /usr
/XFree
86/lib
/X11 \
10036 /usr
/unsupported
/lib \
10038 /usr
/local
/x
11r
5/lib \
10039 /usr
/lpp
/Xamples
/lib \
10043 /usr
/openwin
/share
/lib \
10046 for ac_extension
in a so sl
; do
10047 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
10048 ac_x_libraries
=$ac_dir
10055 fi # $ac_x_libraries = NO
10057 if test "$ac_x_includes" = NO
|| test "$ac_x_libraries" = NO
; then
10058 # Didn't find X anywhere. Cache the known absence of X.
10059 ac_cv_have_x
="have_x=no"
10061 # Record where we found X for the cache.
10062 ac_cv_have_x
="have_x=yes \
10063 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
10067 eval "$ac_cv_have_x"
10070 if test "$have_x" != yes; then
10071 echo "$ac_t""$have_x" 1>&6
10074 # If each of the values was on the command line, it overrides each guess.
10075 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
10076 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
10077 # Update the cache value to reflect the command line values.
10078 ac_cv_have_x
="have_x=yes \
10079 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
10080 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
10083 if test "$no_x" = yes; then
10084 # Not all programs may use this symbol, but it does not hurt to define it.
10085 cat >> confdefs.h
<<\EOF
10086 #define X_DISPLAY_MISSING 1
10089 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
10091 if test -n "$x_includes"; then
10092 X_CFLAGS
="$X_CFLAGS -I$x_includes"
10095 # It would also be nice to do this for all -L options, not just this one.
10096 if test -n "$x_libraries"; then
10097 X_LIBS
="$X_LIBS -L$x_libraries"
10098 # For Solaris; some versions of Sun CC require a space after -R and
10099 # others require no space. Words are not sufficient . . . .
10100 case "`(uname -sr) 2>/dev/null`" in
10102 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
10103 echo "configure:10104: checking whether -R must be followed by a space" >&5
10104 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
10105 cat > conftest.
$ac_ext <<EOF
10106 #line 10107 "configure"
10107 #include "confdefs.h"
10113 if { (eval echo configure
:10114: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10117 echo "configure: failed program was:" >&5
10118 cat conftest.
$ac_ext >&5
10123 if test $ac_R_nospace = yes; then
10124 echo "$ac_t""no" 1>&6
10125 X_LIBS
="$X_LIBS -R$x_libraries"
10127 LIBS
="$ac_xsave_LIBS -R $x_libraries"
10128 cat > conftest.
$ac_ext <<EOF
10129 #line 10130 "configure"
10130 #include "confdefs.h"
10136 if { (eval echo configure
:10137: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10140 echo "configure: failed program was:" >&5
10141 cat conftest.
$ac_ext >&5
10146 if test $ac_R_space = yes; then
10147 echo "$ac_t""yes" 1>&6
10148 X_LIBS
="$X_LIBS -R $x_libraries"
10150 echo "$ac_t""neither works" 1>&6
10153 LIBS
="$ac_xsave_LIBS"
10157 # Check for system-dependent libraries X programs must link with.
10158 # Do this before checking for the system-independent R6 libraries
10159 # (-lICE), since we may need -lsocket or whatever for X linking.
10161 if test "$ISC" = yes; then
10162 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
10164 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
10165 # libraries were built with DECnet support. And karl@cs.umb.edu says
10166 # the Alpha needs dnet_stub (dnet does not exist).
10167 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
10168 echo "configure:10169: checking for dnet_ntoa in -ldnet" >&5
10169 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
10170 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10171 echo $ac_n "(cached) $ac_c" 1>&6
10173 ac_save_LIBS
="$LIBS"
10174 LIBS
="-ldnet $LIBS"
10175 cat > conftest.
$ac_ext <<EOF
10176 #line 10177 "configure"
10177 #include "confdefs.h"
10178 /* Override any gcc2 internal prototype to avoid an error. */
10179 /* We use char because int might match the return type of a gcc2
10180 builtin and then its argument prototype would still apply. */
10187 if { (eval echo configure
:10188: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10189 eval "ac_cv_lib_$ac_lib_var=yes"
10191 echo "configure: failed program was:" >&5
10192 cat conftest.
$ac_ext >&5
10194 eval "ac_cv_lib_$ac_lib_var=no"
10197 LIBS
="$ac_save_LIBS"
10200 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10201 echo "$ac_t""yes" 1>&6
10202 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
10204 echo "$ac_t""no" 1>&6
10207 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
10208 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
10209 echo "configure:10210: checking for dnet_ntoa in -ldnet_stub" >&5
10210 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
10211 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10212 echo $ac_n "(cached) $ac_c" 1>&6
10214 ac_save_LIBS
="$LIBS"
10215 LIBS
="-ldnet_stub $LIBS"
10216 cat > conftest.
$ac_ext <<EOF
10217 #line 10218 "configure"
10218 #include "confdefs.h"
10219 /* Override any gcc2 internal prototype to avoid an error. */
10220 /* We use char because int might match the return type of a gcc2
10221 builtin and then its argument prototype would still apply. */
10228 if { (eval echo configure
:10229: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10230 eval "ac_cv_lib_$ac_lib_var=yes"
10232 echo "configure: failed program was:" >&5
10233 cat conftest.
$ac_ext >&5
10235 eval "ac_cv_lib_$ac_lib_var=no"
10238 LIBS
="$ac_save_LIBS"
10241 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10242 echo "$ac_t""yes" 1>&6
10243 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
10245 echo "$ac_t""no" 1>&6
10250 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
10251 # to get the SysV transport functions.
10252 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
10254 # The nsl library prevents programs from opening the X display
10255 # on Irix 5.2, according to dickey@clark.net.
10256 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
10257 echo "configure:10258: checking for gethostbyname" >&5
10258 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
10259 echo $ac_n "(cached) $ac_c" 1>&6
10261 cat > conftest.
$ac_ext <<EOF
10262 #line 10263 "configure"
10263 #include "confdefs.h"
10264 /* System header to define __stub macros and hopefully few prototypes,
10265 which can conflict with char gethostbyname(); below. */
10266 #include <assert.h>
10267 /* Override any gcc2 internal prototype to avoid an error. */
10268 /* We use char because int might match the return type of a gcc2
10269 builtin and then its argument prototype would still apply. */
10270 char gethostbyname();
10274 /* The GNU C library defines this for functions which it implements
10275 to always fail with ENOSYS. Some functions are actually named
10276 something starting with __ and the normal name is an alias. */
10277 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
10285 if { (eval echo configure
:10286: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10287 eval "ac_cv_func_gethostbyname=yes"
10289 echo "configure: failed program was:" >&5
10290 cat conftest.
$ac_ext >&5
10292 eval "ac_cv_func_gethostbyname=no"
10297 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
10298 echo "$ac_t""yes" 1>&6
10301 echo "$ac_t""no" 1>&6
10304 if test $ac_cv_func_gethostbyname = no
; then
10305 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
10306 echo "configure:10307: checking for gethostbyname in -lnsl" >&5
10307 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
10308 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10309 echo $ac_n "(cached) $ac_c" 1>&6
10311 ac_save_LIBS
="$LIBS"
10313 cat > conftest.
$ac_ext <<EOF
10314 #line 10315 "configure"
10315 #include "confdefs.h"
10316 /* Override any gcc2 internal prototype to avoid an error. */
10317 /* We use char because int might match the return type of a gcc2
10318 builtin and then its argument prototype would still apply. */
10319 char gethostbyname();
10325 if { (eval echo configure
:10326: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10327 eval "ac_cv_lib_$ac_lib_var=yes"
10329 echo "configure: failed program was:" >&5
10330 cat conftest.
$ac_ext >&5
10332 eval "ac_cv_lib_$ac_lib_var=no"
10335 LIBS
="$ac_save_LIBS"
10338 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10339 echo "$ac_t""yes" 1>&6
10340 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
10342 echo "$ac_t""no" 1>&6
10347 # lieder@skyler.mavd.honeywell.com says without -lsocket,
10348 # socket/setsockopt and other routines are undefined under SCO ODT
10349 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
10350 # on later versions), says simon@lia.di.epfl.ch: it contains
10351 # gethostby* variants that don't use the nameserver (or something).
10352 # -lsocket must be given before -lnsl if both are needed.
10353 # We assume that if connect needs -lnsl, so does gethostbyname.
10354 echo $ac_n "checking for connect""... $ac_c" 1>&6
10355 echo "configure:10356: checking for connect" >&5
10356 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
10357 echo $ac_n "(cached) $ac_c" 1>&6
10359 cat > conftest.
$ac_ext <<EOF
10360 #line 10361 "configure"
10361 #include "confdefs.h"
10362 /* System header to define __stub macros and hopefully few prototypes,
10363 which can conflict with char connect(); below. */
10364 #include <assert.h>
10365 /* Override any gcc2 internal prototype to avoid an error. */
10366 /* We use char because int might match the return type of a gcc2
10367 builtin and then its argument prototype would still apply. */
10372 /* The GNU C library defines this for functions which it implements
10373 to always fail with ENOSYS. Some functions are actually named
10374 something starting with __ and the normal name is an alias. */
10375 #if defined (__stub_connect) || defined (__stub___connect)
10383 if { (eval echo configure
:10384: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10385 eval "ac_cv_func_connect=yes"
10387 echo "configure: failed program was:" >&5
10388 cat conftest.
$ac_ext >&5
10390 eval "ac_cv_func_connect=no"
10395 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
10396 echo "$ac_t""yes" 1>&6
10399 echo "$ac_t""no" 1>&6
10402 if test $ac_cv_func_connect = no
; then
10403 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
10404 echo "configure:10405: checking for connect in -lsocket" >&5
10405 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
10406 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10407 echo $ac_n "(cached) $ac_c" 1>&6
10409 ac_save_LIBS
="$LIBS"
10410 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
10411 cat > conftest.
$ac_ext <<EOF
10412 #line 10413 "configure"
10413 #include "confdefs.h"
10414 /* Override any gcc2 internal prototype to avoid an error. */
10415 /* We use char because int might match the return type of a gcc2
10416 builtin and then its argument prototype would still apply. */
10423 if { (eval echo configure
:10424: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10425 eval "ac_cv_lib_$ac_lib_var=yes"
10427 echo "configure: failed program was:" >&5
10428 cat conftest.
$ac_ext >&5
10430 eval "ac_cv_lib_$ac_lib_var=no"
10433 LIBS
="$ac_save_LIBS"
10436 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10437 echo "$ac_t""yes" 1>&6
10438 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
10440 echo "$ac_t""no" 1>&6
10445 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
10446 echo $ac_n "checking for remove""... $ac_c" 1>&6
10447 echo "configure:10448: checking for remove" >&5
10448 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
10449 echo $ac_n "(cached) $ac_c" 1>&6
10451 cat > conftest.
$ac_ext <<EOF
10452 #line 10453 "configure"
10453 #include "confdefs.h"
10454 /* System header to define __stub macros and hopefully few prototypes,
10455 which can conflict with char remove(); below. */
10456 #include <assert.h>
10457 /* Override any gcc2 internal prototype to avoid an error. */
10458 /* We use char because int might match the return type of a gcc2
10459 builtin and then its argument prototype would still apply. */
10464 /* The GNU C library defines this for functions which it implements
10465 to always fail with ENOSYS. Some functions are actually named
10466 something starting with __ and the normal name is an alias. */
10467 #if defined (__stub_remove) || defined (__stub___remove)
10475 if { (eval echo configure
:10476: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10477 eval "ac_cv_func_remove=yes"
10479 echo "configure: failed program was:" >&5
10480 cat conftest.
$ac_ext >&5
10482 eval "ac_cv_func_remove=no"
10487 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
10488 echo "$ac_t""yes" 1>&6
10491 echo "$ac_t""no" 1>&6
10494 if test $ac_cv_func_remove = no
; then
10495 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
10496 echo "configure:10497: checking for remove in -lposix" >&5
10497 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
10498 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10499 echo $ac_n "(cached) $ac_c" 1>&6
10501 ac_save_LIBS
="$LIBS"
10502 LIBS
="-lposix $LIBS"
10503 cat > conftest.
$ac_ext <<EOF
10504 #line 10505 "configure"
10505 #include "confdefs.h"
10506 /* Override any gcc2 internal prototype to avoid an error. */
10507 /* We use char because int might match the return type of a gcc2
10508 builtin and then its argument prototype would still apply. */
10515 if { (eval echo configure
:10516: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10517 eval "ac_cv_lib_$ac_lib_var=yes"
10519 echo "configure: failed program was:" >&5
10520 cat conftest.
$ac_ext >&5
10522 eval "ac_cv_lib_$ac_lib_var=no"
10525 LIBS
="$ac_save_LIBS"
10528 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10529 echo "$ac_t""yes" 1>&6
10530 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
10532 echo "$ac_t""no" 1>&6
10537 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
10538 echo $ac_n "checking for shmat""... $ac_c" 1>&6
10539 echo "configure:10540: checking for shmat" >&5
10540 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
10541 echo $ac_n "(cached) $ac_c" 1>&6
10543 cat > conftest.
$ac_ext <<EOF
10544 #line 10545 "configure"
10545 #include "confdefs.h"
10546 /* System header to define __stub macros and hopefully few prototypes,
10547 which can conflict with char shmat(); below. */
10548 #include <assert.h>
10549 /* Override any gcc2 internal prototype to avoid an error. */
10550 /* We use char because int might match the return type of a gcc2
10551 builtin and then its argument prototype would still apply. */
10556 /* The GNU C library defines this for functions which it implements
10557 to always fail with ENOSYS. Some functions are actually named
10558 something starting with __ and the normal name is an alias. */
10559 #if defined (__stub_shmat) || defined (__stub___shmat)
10567 if { (eval echo configure
:10568: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10569 eval "ac_cv_func_shmat=yes"
10571 echo "configure: failed program was:" >&5
10572 cat conftest.
$ac_ext >&5
10574 eval "ac_cv_func_shmat=no"
10579 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
10580 echo "$ac_t""yes" 1>&6
10583 echo "$ac_t""no" 1>&6
10586 if test $ac_cv_func_shmat = no
; then
10587 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
10588 echo "configure:10589: checking for shmat in -lipc" >&5
10589 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
10590 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10591 echo $ac_n "(cached) $ac_c" 1>&6
10593 ac_save_LIBS
="$LIBS"
10595 cat > conftest.
$ac_ext <<EOF
10596 #line 10597 "configure"
10597 #include "confdefs.h"
10598 /* Override any gcc2 internal prototype to avoid an error. */
10599 /* We use char because int might match the return type of a gcc2
10600 builtin and then its argument prototype would still apply. */
10607 if { (eval echo configure
:10608: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10609 eval "ac_cv_lib_$ac_lib_var=yes"
10611 echo "configure: failed program was:" >&5
10612 cat conftest.
$ac_ext >&5
10614 eval "ac_cv_lib_$ac_lib_var=no"
10617 LIBS
="$ac_save_LIBS"
10620 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10621 echo "$ac_t""yes" 1>&6
10622 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
10624 echo "$ac_t""no" 1>&6
10630 # Check for libraries that X11R6 Xt/Xaw programs need.
10631 ac_save_LDFLAGS
="$LDFLAGS"
10632 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
10633 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
10634 # check for ICE first), but we must link in the order -lSM -lICE or
10635 # we get undefined symbols. So assume we have SM if we have ICE.
10636 # These have to be linked with before -lX11, unlike the other
10637 # libraries we check for below, so use a different variable.
10638 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
10639 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
10640 echo "configure:10641: checking for IceConnectionNumber in -lICE" >&5
10641 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
10642 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10643 echo $ac_n "(cached) $ac_c" 1>&6
10645 ac_save_LIBS
="$LIBS"
10646 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
10647 cat > conftest.
$ac_ext <<EOF
10648 #line 10649 "configure"
10649 #include "confdefs.h"
10650 /* Override any gcc2 internal prototype to avoid an error. */
10651 /* We use char because int might match the return type of a gcc2
10652 builtin and then its argument prototype would still apply. */
10653 char IceConnectionNumber();
10656 IceConnectionNumber()
10659 if { (eval echo configure
:10660: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10661 eval "ac_cv_lib_$ac_lib_var=yes"
10663 echo "configure: failed program was:" >&5
10664 cat conftest.
$ac_ext >&5
10666 eval "ac_cv_lib_$ac_lib_var=no"
10669 LIBS
="$ac_save_LIBS"
10672 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10673 echo "$ac_t""yes" 1>&6
10674 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
10676 echo "$ac_t""no" 1>&6
10679 LDFLAGS
="$ac_save_LDFLAGS"
10683 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
10684 LDFLAGS
="$LDFLAGS $X_LIBS"
10686 if test "$wxUSE_MOTIF" = 1; then
10687 if test "$no_x" = "yes"; then
10688 { echo "configure: error: X11 not found" 1>&2; exit 1; }
10691 GUI_TK_LIBRARY
="$X_LIBS"
10692 TOOLKIT_INCLUDE
="$X_CFLAGS"
10693 AFMINSTALL
=afminstall
10694 COMPILED_X_PROGRAM
=0
10696 echo $ac_n "checking for Motif/Lesstif headers""... $ac_c" 1>&6
10697 echo "configure:10698: checking for Motif/Lesstif headers" >&5
10700 for ac_dir
in $SEARCH_INCLUDE;
10702 if test -f "$ac_dir/Xm/Xm.h"; then
10703 ac_find_includes
=$ac_dir
10708 if test "$ac_find_includes" != "" ; then
10709 echo "$ac_t""found $ac_find_includes" 1>&6
10711 cat > conftest.
$ac_ext <<EOF
10712 #line 10713 "configure"
10713 #include "confdefs.h"
10720 version = xmUseVersion;
10724 if { (eval echo configure
:10725: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10727 echo "$ac_t""found in default search path" 1>&6
10728 COMPILED_X_PROGRAM
=1
10731 echo "configure: failed program was:" >&5
10732 cat conftest.
$ac_ext >&5
10735 echo "$ac_t""no" 1>&6
10736 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
10743 if test "$COMPILED_X_PROGRAM" = 0; then
10744 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
10745 echo "configure:10746: checking for Motif/Lesstif library" >&5
10748 for ac_dir
in $SEARCH_LIB;
10750 for ac_extension
in a so sl dylib
; do
10751 if test -f "$ac_dir/libXm.$ac_extension"; then
10752 ac_find_libraries
=$ac_dir
10758 if test "$ac_find_libraries" != "" ; then
10760 ac_path_to_include
=$ac_find_includes
10761 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
10763 if test $result = 0; then
10764 ac_path_to_include
=""
10766 ac_path_to_include
="-I$ac_find_includes"
10770 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
10772 if test $result = 0; then
10775 ac_path_to_link
="-L$ac_find_libraries"
10779 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
10780 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE $ac_path_to_include"
10781 echo "$ac_t""found at $ac_find_libraries" 1>&6
10783 cat > conftest.
$ac_ext <<EOF
10784 #line 10785 "configure"
10785 #include "confdefs.h"
10792 version = xmUseVersion;
10796 if { (eval echo configure
:10797: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10799 echo "$ac_t""found in default search path" 1>&6
10800 COMPILED_X_PROGRAM
=1
10803 echo "configure: failed program was:" >&5
10804 cat conftest.
$ac_ext >&5
10807 echo "$ac_t""no" 1>&6
10808 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
10817 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
10818 echo "configure:10819: checking for Xpm library" >&5
10821 for ac_dir
in $SEARCH_LIB;
10823 for ac_extension
in a so sl dylib
; do
10824 if test -f "$ac_dir/libXpm.$ac_extension"; then
10825 ac_find_libraries
=$ac_dir
10831 if test "$ac_find_libraries" != "" ; then
10833 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
10835 if test $result = 0; then
10838 ac_path_to_link
="-L$ac_find_libraries"
10841 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
10843 cat >> confdefs.h
<<\EOF
10844 #define wxHAVE_LIB_XPM 1
10847 echo "$ac_t""found at $ac_find_libraries" 1>&6
10849 cat > conftest.
$ac_ext <<EOF
10850 #line 10851 "configure"
10851 #include "confdefs.h"
10853 #include <X11/xpm.h>
10858 version = XpmLibraryVersion();
10862 if { (eval echo configure
:10863: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10866 cat >> confdefs.h
<<\EOF
10867 #define wxHAVE_LIB_XPM 1
10870 echo "$ac_t""found in default search path" 1>&6
10871 COMPILED_X_PROGRAM
=0
10874 echo "configure: failed program was:" >&5
10875 cat conftest.
$ac_ext >&5
10878 echo "$ac_t""no" 1>&6
10879 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
10886 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm $xpm_link -lXmu -lXext -lXt -lX11"
10887 TOOLKIT_VPATH
="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo"
10892 if test "$wxUSE_MAC" = 1; then
10893 CPPFLAGS
="${CPPFLAGS} -cpp-precomp"
10894 CFLAGS
="${CFLAGS} -fpascal-strings"
10895 CXXFLAGS
="${CXXFLAGS} -fpascal-strings"
10896 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -DTARGET_CARBON"
10902 if test "$wxUSE_PM" = 1; then
10907 if test "$TOOLKIT" = "PM" ; then
10910 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
10913 PORT_FILES
="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
10915 if test "$wxUSE_UNIVERSAL" = "yes"; then
10916 ALL_OBJECTS
="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
10917 PORT_FILES
="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
10918 TOOLKIT_VPATH
="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
10919 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
10922 ALL_OBJECTS
="\$(GUIOBJS)"
10925 ALL_OBJECTS
="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
10927 if test "$TOOLKIT" != "MSW"; then
10928 ALL_OBJECTS
="${ALL_OBJECTS} \$(UNIXOBJS)"
10931 if test "$wxUSE_HTML" = "yes"; then
10932 ALL_OBJECTS
="${ALL_OBJECTS} \$(HTMLOBJS)"
10935 if test "$TOOLKIT" != "MSW" -a "$wxUSE_ODBC" = "yes" ; then
10936 ALL_OBJECTS
="${ALL_OBJECTS} \$(IODBCOBJS)"
10938 if test "$wxUSE_LIBJPEG" = "yes" ; then
10939 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
10941 if test "$wxUSE_LIBTIFF" = "yes" ; then
10942 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
10944 if test "$wxUSE_LIBPNG" = "yes" ; then
10945 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
10947 if test "$wxUSE_FREETYPE" = "yes" ; then
10948 ALL_OBJECTS
="${ALL_OBJECTS} \$(FREETYPEOBJS)"
10951 RPM_FILES
="src/\$(TOOLKITDIR)/rpmfiles.lst"
10952 RPM_SPEC
="wx\$(TOOLKIT).spec"
10954 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
10955 DISTDIR
="wx\$(TOOLKIT)"
10961 if test "$USE_WIN32" = 1 ; then
10962 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_MSW_OBJS}"
10963 TOOLKIT_VPATH
="\${top_srcdir}/src/msw"
10967 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
10968 TOOLKIT_VPATH
="\${top_srcdir}/src/unix"
10971 PORT_FILES
="\${top_srcdir}/src/files.lst"
10972 RPM_FILES
="src/rpmfiles.lst"
10973 RPM_SPEC
="wxBase.spec"
10975 GUIDIST
="BASE_DIST"
10979 if test "x$REGEX_INCLUDE" != "x" ; then
10980 ALL_OBJECTS
="${ALL_OBJECTS} \$(REGEXOBJS)"
10982 if test "$wxUSE_ZLIB" = "yes" ; then
10983 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
10986 if test "$wxUSE_OPENGL" = "yes"; then
10987 if test "$wxUSE_MAC" = 1; then
10988 cat >> confdefs.h
<<\EOF
10989 #define wxUSE_OPENGL 1
10992 cat >> confdefs.h
<<\EOF
10993 #define wxUSE_GLCANVAS 1
10996 OPENGL_LIBS
="-framework OpenGL -framework AGL"
10997 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl"
10999 ac_safe
=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
11000 echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
11001 echo "configure:11002: checking for GL/gl.h" >&5
11002 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11003 echo $ac_n "(cached) $ac_c" 1>&6
11005 cat > conftest.
$ac_ext <<EOF
11006 #line 11007 "configure"
11007 #include "confdefs.h"
11010 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11011 { (eval echo configure
:11012: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11012 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11013 if test -z "$ac_err"; then
11015 eval "ac_cv_header_$ac_safe=yes"
11018 echo "configure: failed program was:" >&5
11019 cat conftest.
$ac_ext >&5
11021 eval "ac_cv_header_$ac_safe=no"
11025 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11026 echo "$ac_t""yes" 1>&6
11028 cat >> confdefs.h
<<\EOF
11029 #define wxUSE_OPENGL 1
11032 cat >> confdefs.h
<<\EOF
11033 #define wxUSE_GLCANVAS 1
11036 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl"
11037 echo $ac_n "checking for glFlush in -lGL""... $ac_c" 1>&6
11038 echo "configure:11039: checking for glFlush in -lGL" >&5
11039 ac_lib_var
=`echo GL'_'glFlush | sed 'y%./+-%__p_%'`
11040 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11041 echo $ac_n "(cached) $ac_c" 1>&6
11043 ac_save_LIBS
="$LIBS"
11045 cat > conftest.
$ac_ext <<EOF
11046 #line 11047 "configure"
11047 #include "confdefs.h"
11048 /* Override any gcc2 internal prototype to avoid an error. */
11049 /* We use char because int might match the return type of a gcc2
11050 builtin and then its argument prototype would still apply. */
11057 if { (eval echo configure
:11058: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11059 eval "ac_cv_lib_$ac_lib_var=yes"
11061 echo "configure: failed program was:" >&5
11062 cat conftest.
$ac_ext >&5
11064 eval "ac_cv_lib_$ac_lib_var=no"
11067 LIBS
="$ac_save_LIBS"
11070 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11071 echo "$ac_t""yes" 1>&6
11073 OPENGL_LIBS
="-lGL -lGLU"
11076 echo "$ac_t""no" 1>&6
11078 echo $ac_n "checking for glFlush in -lMesaGL""... $ac_c" 1>&6
11079 echo "configure:11080: checking for glFlush in -lMesaGL" >&5
11080 ac_lib_var
=`echo MesaGL'_'glFlush | sed 'y%./+-%__p_%'`
11081 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11082 echo $ac_n "(cached) $ac_c" 1>&6
11084 ac_save_LIBS
="$LIBS"
11085 LIBS
="-lMesaGL $LIBS"
11086 cat > conftest.
$ac_ext <<EOF
11087 #line 11088 "configure"
11088 #include "confdefs.h"
11089 /* Override any gcc2 internal prototype to avoid an error. */
11090 /* We use char because int might match the return type of a gcc2
11091 builtin and then its argument prototype would still apply. */
11098 if { (eval echo configure
:11099: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11100 eval "ac_cv_lib_$ac_lib_var=yes"
11102 echo "configure: failed program was:" >&5
11103 cat conftest.
$ac_ext >&5
11105 eval "ac_cv_lib_$ac_lib_var=no"
11108 LIBS
="$ac_save_LIBS"
11111 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11112 echo "$ac_t""yes" 1>&6
11114 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
11117 echo "$ac_t""no" 1>&6
11125 echo "$ac_t""no" 1>&6
11132 if test -z "$TOOLKIT_VPATH" ; then
11133 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}"
11136 if test -n "$TOOLKIT" ; then
11137 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
11140 if test "$wxUSE_CYGWIN" = 1 ; then
11141 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
11145 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
11147 TOOLCHAIN_NAME
="${TOOLCHAIN_NAME}d"
11150 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${WIDGET_SET}${lib_debug_suffix}-${WX_RELEASE}"
11151 TOOLCHAIN_NAME_GL
="${TOOLKIT_DIR}${WIDGET_SET}${lib_debug_suffix}_gl-${WX_RELEASE}"
11153 if test "$cross_compiling" = "yes"; then
11154 TOOLCHAIN_NAME
="${TOOLCHAIN_NAME}-${host_alias}"
11155 TOOLCHAIN_NAME_GL
="${TOOLCHAIN_NAME_GL}-${host_alias}"
11158 WX_LIBRARY
="wx_${TOOLCHAIN_NAME}"
11159 WX_LIBRARY_GL
="wx_${TOOLCHAIN_NAME_GL}"
11161 WXCONFIG_LIBS
="-l${WX_LIBRARY}"
11163 if test "$wxUSE_OPENGL" = "yes"; then
11164 WXCONFIG_LIBS_GL
="-l${WX_LIBRARY_GL} $OPENGL_LIBS"
11167 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
11168 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY_GL}.a"
11170 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
11171 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
11173 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
11174 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
11175 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
11176 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
11178 WX_RESOURCES_MACOSX
="lib${WX_LIBRARY}.rsrc"
11182 if test "$wxUSE_SHARED" = "yes"; then
11184 if test "$wxUSE_OPENGL" = "yes"; then
11185 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
11186 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_LINK1} \$(build_libdir)/${WX_LIBRARY_LINK1_GL}"
11188 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
11189 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_LINK1}"
11192 if test "$GCC" = "yes"; then
11196 SHARED_LD
="${CXX} -shared -o"
11200 if test "$GCC" != "yes"; then
11201 LDFLAGS
="-L/usr/lib"
11203 SHARED_LD
="${CXX} -b -o"
11207 if test "$wxUSE_OPENGL" = "yes"; then
11208 WX_ALL_INSTALLED
="preinstall_gl"
11209 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
11211 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
11216 if test "$GCC" != "yes"; then
11217 echo $ac_n "checking for Intel compiler""... $ac_c" 1>&6
11218 echo "configure:11219: checking for Intel compiler" >&5
11219 if eval "test \"`echo '$''{'wx_cv_prog_icc'+set}'`\" = set"; then
11220 echo $ac_n "(cached) $ac_c" 1>&6
11223 cat > conftest.
$ac_ext <<EOF
11224 #line 11225 "configure"
11225 #include "confdefs.h"
11229 #ifndef __INTEL_COMPILER
11235 if { (eval echo configure
:11236: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11239 echo "configure: failed program was:" >&5
11240 cat conftest.
$ac_ext >&5
11249 echo "$ac_t""$wx_cv_prog_icc" 1>&6
11250 if test "$wx_cv_prog_icc" = "yes"; then
11255 if test "$wxUSE_SONAME" = "yes" ; then
11256 SONAME_FLAGS
="-Wl,-soname,${WX_LIBRARY_LINK1}"
11257 SONAME_FLAGS_GL
="-Wl,-soname,${WX_LIBRARY_LINK1_GL}"
11258 WX_TARGET_LIBRARY_SONAME
="-Wl,-soname,\$(TARGETLIB_LINK1)"
11263 if test "$GCC" = yes ; then
11264 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
11266 SHARED_LD
="${CXX} -G -o"
11268 SONAME_FLAGS
="-h ${WX_LIBRARY_NAME_SHARED}"
11269 SONAME_FLAGS_GL
="-h ${WX_LIBRARY_NAME_SHARED}"
11274 CFLAGS
="${CFLAGS} -fno-common"
11275 CXXFLAGS
="${CXXFLAGS} -fno-common"
11276 SHARED_LD
="${CXX} -dynamiclib -o"
11277 PIC_FLAG
="-dynamic -fPIC"
11281 SHARED_LD
="/usr/lpp/xlC/bin/makeC++SharedLib -p 0 -o"
11284 *-*-cygwin* | *-*-mingw32* )
11285 SHARED_LD
="${CXX} -shared -Wl,--out-implib,lib/${WX_LIBRARY_NAME_STATIC} -o"
11286 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -DWXUSINGDLL=1"
11287 WXMSW_DLL_DEFINES
="-UWXUSINGDLL -DWXMAKINGDLL=1 -D_DLL=1 -D_WINDLL=1"
11289 if test "$wxUSE_OPENGL" = "yes"; then
11290 WX_ALL_INSTALLED
="preinstall_gl"
11291 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
11293 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
11303 SHARED_LD
="${LD} -shared -o"
11306 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
11308 *-*-irix5* | *-*-irix6* | \
11315 { echo "configure: error: unknown system type $host." 1>&2; exit 1; }
11318 if test "x$WX_TARGET_LIBRARY" = "x"; then
11319 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
11320 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
11323 WX_TARGET_LIBRARY_TYPE
="so"
11326 if test "$wxUSE_SHARED" = "no"; then
11328 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
11329 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
11332 if test "$wxUSE_OPENGL" = "yes"; then
11333 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_gl"
11334 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
11336 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
11339 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
11340 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
11342 WX_TARGET_LIBRARY_TYPE
="a"
11345 if test "$wxUSE_MAC" = 1; then
11346 WX_ALL
="${WX_ALL} \$(build_libdir)/lib${WX_LIBRARY}.r"
11347 # Extract the first word of "Rez", so it can be a program name with args.
11348 set dummy Rez
; ac_word
=$2
11349 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
11350 echo "configure:11351: checking for $ac_word" >&5
11351 if eval "test \"`echo '$''{'ac_cv_prog_RESCOMP'+set}'`\" = set"; then
11352 echo $ac_n "(cached) $ac_c" 1>&6
11354 if test -n "$RESCOMP"; then
11355 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
11357 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
11359 for ac_dir
in $ac_dummy; do
11360 test -z "$ac_dir" && ac_dir
=.
11361 if test -f $ac_dir/$ac_word; then
11362 ac_cv_prog_RESCOMP
="Rez"
11367 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
11370 RESCOMP
="$ac_cv_prog_RESCOMP"
11371 if test -n "$RESCOMP"; then
11372 echo "$ac_t""$RESCOMP" 1>&6
11374 echo "$ac_t""no" 1>&6
11377 # Extract the first word of "Derez", so it can be a program name with args.
11378 set dummy Derez
; ac_word
=$2
11379 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
11380 echo "configure:11381: checking for $ac_word" >&5
11381 if eval "test \"`echo '$''{'ac_cv_prog_DEREZ'+set}'`\" = set"; then
11382 echo $ac_n "(cached) $ac_c" 1>&6
11384 if test -n "$DEREZ"; then
11385 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
11387 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
11389 for ac_dir
in $ac_dummy; do
11390 test -z "$ac_dir" && ac_dir
=.
11391 if test -f $ac_dir/$ac_word; then
11392 ac_cv_prog_DEREZ
="Derez"
11397 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/Derez"
11400 DEREZ
="$ac_cv_prog_DEREZ"
11401 if test -n "$DEREZ"; then
11402 echo "$ac_t""$DEREZ" 1>&6
11404 echo "$ac_t""no" 1>&6
11407 LIBWXMACRES
="\$(top_builddir)/lib/lib${WX_LIBRARY}.r"
11408 LIBWXMACRESCOMP
="\$(RESCOMP) Carbon.r -t APPL ${LIBWXMACRES} -o \$(BIN_PROGRAM)"
11412 for ac_hdr
in strings.h
11414 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11415 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11416 echo "configure:11417: checking for $ac_hdr" >&5
11417 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11418 echo $ac_n "(cached) $ac_c" 1>&6
11420 cat > conftest.
$ac_ext <<EOF
11421 #line 11422 "configure"
11422 #include "confdefs.h"
11425 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11426 { (eval echo configure
:11427: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11427 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11428 if test -z "$ac_err"; then
11430 eval "ac_cv_header_$ac_safe=yes"
11433 echo "configure: failed program was:" >&5
11434 cat conftest.
$ac_ext >&5
11436 eval "ac_cv_header_$ac_safe=no"
11440 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11441 echo "$ac_t""yes" 1>&6
11442 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11443 cat >> confdefs.h
<<EOF
11444 #define $ac_tr_hdr 1
11448 echo "$ac_t""no" 1>&6
11452 for ac_hdr
in stdlib.h
11454 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11455 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11456 echo "configure:11457: checking for $ac_hdr" >&5
11457 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11458 echo $ac_n "(cached) $ac_c" 1>&6
11460 cat > conftest.
$ac_ext <<EOF
11461 #line 11462 "configure"
11462 #include "confdefs.h"
11465 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11466 { (eval echo configure
:11467: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11467 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11468 if test -z "$ac_err"; then
11470 eval "ac_cv_header_$ac_safe=yes"
11473 echo "configure: failed program was:" >&5
11474 cat conftest.
$ac_ext >&5
11476 eval "ac_cv_header_$ac_safe=no"
11480 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11481 echo "$ac_t""yes" 1>&6
11482 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11483 cat >> confdefs.h
<<EOF
11484 #define $ac_tr_hdr 1
11488 echo "$ac_t""no" 1>&6
11492 for ac_hdr
in unistd.h
11494 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11495 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11496 echo "configure:11497: checking for $ac_hdr" >&5
11497 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11498 echo $ac_n "(cached) $ac_c" 1>&6
11500 cat > conftest.
$ac_ext <<EOF
11501 #line 11502 "configure"
11502 #include "confdefs.h"
11505 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11506 { (eval echo configure
:11507: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11507 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11508 if test -z "$ac_err"; then
11510 eval "ac_cv_header_$ac_safe=yes"
11513 echo "configure: failed program was:" >&5
11514 cat conftest.
$ac_ext >&5
11516 eval "ac_cv_header_$ac_safe=no"
11520 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11521 echo "$ac_t""yes" 1>&6
11522 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11523 cat >> confdefs.h
<<EOF
11524 #define $ac_tr_hdr 1
11528 echo "$ac_t""no" 1>&6
11532 for ac_hdr
in wchar.h
11534 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11535 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11536 echo "configure:11537: checking for $ac_hdr" >&5
11537 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11538 echo $ac_n "(cached) $ac_c" 1>&6
11540 cat > conftest.
$ac_ext <<EOF
11541 #line 11542 "configure"
11542 #include "confdefs.h"
11545 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11546 { (eval echo configure
:11547: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11547 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11548 if test -z "$ac_err"; then
11550 eval "ac_cv_header_$ac_safe=yes"
11553 echo "configure: failed program was:" >&5
11554 cat conftest.
$ac_ext >&5
11556 eval "ac_cv_header_$ac_safe=no"
11560 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11561 echo "$ac_t""yes" 1>&6
11562 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11563 cat >> confdefs.h
<<EOF
11564 #define $ac_tr_hdr 1
11568 echo "$ac_t""no" 1>&6
11572 for ac_hdr
in wcstr.h
11574 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11575 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11576 echo "configure:11577: checking for $ac_hdr" >&5
11577 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11578 echo $ac_n "(cached) $ac_c" 1>&6
11580 cat > conftest.
$ac_ext <<EOF
11581 #line 11582 "configure"
11582 #include "confdefs.h"
11585 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11586 { (eval echo configure
:11587: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11587 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11588 if test -z "$ac_err"; then
11590 eval "ac_cv_header_$ac_safe=yes"
11593 echo "configure: failed program was:" >&5
11594 cat conftest.
$ac_ext >&5
11596 eval "ac_cv_header_$ac_safe=no"
11600 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11601 echo "$ac_t""yes" 1>&6
11602 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11603 cat >> confdefs.h
<<EOF
11604 #define $ac_tr_hdr 1
11608 echo "$ac_t""no" 1>&6
11612 for ac_hdr
in fnmatch.h
11614 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11615 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11616 echo "configure:11617: checking for $ac_hdr" >&5
11617 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11618 echo $ac_n "(cached) $ac_c" 1>&6
11620 cat > conftest.
$ac_ext <<EOF
11621 #line 11622 "configure"
11622 #include "confdefs.h"
11625 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11626 { (eval echo configure
:11627: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11627 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11628 if test -z "$ac_err"; then
11630 eval "ac_cv_header_$ac_safe=yes"
11633 echo "configure: failed program was:" >&5
11634 cat conftest.
$ac_ext >&5
11636 eval "ac_cv_header_$ac_safe=no"
11640 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11641 echo "$ac_t""yes" 1>&6
11642 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11643 cat >> confdefs.h
<<EOF
11644 #define $ac_tr_hdr 1
11648 echo "$ac_t""no" 1>&6
11652 for ac_hdr
in iconv.h
11654 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11655 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11656 echo "configure:11657: checking for $ac_hdr" >&5
11657 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11658 echo $ac_n "(cached) $ac_c" 1>&6
11660 cat > conftest.
$ac_ext <<EOF
11661 #line 11662 "configure"
11662 #include "confdefs.h"
11665 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11666 { (eval echo configure
:11667: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11667 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11668 if test -z "$ac_err"; then
11670 eval "ac_cv_header_$ac_safe=yes"
11673 echo "configure: failed program was:" >&5
11674 cat conftest.
$ac_ext >&5
11676 eval "ac_cv_header_$ac_safe=no"
11680 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11681 echo "$ac_t""yes" 1>&6
11682 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11683 cat >> confdefs.h
<<EOF
11684 #define $ac_tr_hdr 1
11688 echo "$ac_t""no" 1>&6
11692 for ac_hdr
in langinfo.h
11694 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11695 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11696 echo "configure:11697: checking for $ac_hdr" >&5
11697 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11698 echo $ac_n "(cached) $ac_c" 1>&6
11700 cat > conftest.
$ac_ext <<EOF
11701 #line 11702 "configure"
11702 #include "confdefs.h"
11705 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11706 { (eval echo configure
:11707: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11707 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11708 if test -z "$ac_err"; then
11710 eval "ac_cv_header_$ac_safe=yes"
11713 echo "configure: failed program was:" >&5
11714 cat conftest.
$ac_ext >&5
11716 eval "ac_cv_header_$ac_safe=no"
11720 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11721 echo "$ac_t""yes" 1>&6
11722 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11723 cat >> confdefs.h
<<EOF
11724 #define $ac_tr_hdr 1
11728 echo "$ac_t""no" 1>&6
11733 if test "$wxUSE_GUI" = "yes"; then
11734 if test "$wxUSE_UNIX" = "yes"; then
11735 for ac_hdr
in X
11/XKBlib.h
11737 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11738 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11739 echo "configure:11740: checking for $ac_hdr" >&5
11740 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11741 echo $ac_n "(cached) $ac_c" 1>&6
11743 cat > conftest.
$ac_ext <<EOF
11744 #line 11745 "configure"
11745 #include "confdefs.h"
11748 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11749 { (eval echo configure
:11750: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11750 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11751 if test -z "$ac_err"; then
11753 eval "ac_cv_header_$ac_safe=yes"
11756 echo "configure: failed program was:" >&5
11757 cat conftest.
$ac_ext >&5
11759 eval "ac_cv_header_$ac_safe=no"
11763 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11764 echo "$ac_t""yes" 1>&6
11765 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11766 cat >> confdefs.h
<<EOF
11767 #define $ac_tr_hdr 1
11771 echo "$ac_t""no" 1>&6
11779 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
11780 echo "configure:11781: checking for ANSI C header files" >&5
11781 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
11782 echo $ac_n "(cached) $ac_c" 1>&6
11784 cat > conftest.
$ac_ext <<EOF
11785 #line 11786 "configure"
11786 #include "confdefs.h"
11787 #include <stdlib.h>
11788 #include <stdarg.h>
11789 #include <string.h>
11792 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11793 { (eval echo configure
:11794: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11794 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11795 if test -z "$ac_err"; then
11797 ac_cv_header_stdc
=yes
11800 echo "configure: failed program was:" >&5
11801 cat conftest.
$ac_ext >&5
11803 ac_cv_header_stdc
=no
11807 if test $ac_cv_header_stdc = yes; then
11808 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11809 cat > conftest.
$ac_ext <<EOF
11810 #line 11811 "configure"
11811 #include "confdefs.h"
11812 #include <string.h>
11814 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11815 egrep "memchr" >/dev
/null
2>&1; then
11819 ac_cv_header_stdc
=no
11825 if test $ac_cv_header_stdc = yes; then
11826 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
11827 cat > conftest.
$ac_ext <<EOF
11828 #line 11829 "configure"
11829 #include "confdefs.h"
11830 #include <stdlib.h>
11832 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11833 egrep "free" >/dev
/null
2>&1; then
11837 ac_cv_header_stdc
=no
11843 if test $ac_cv_header_stdc = yes; then
11844 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
11845 if test "$cross_compiling" = yes; then
11848 cat > conftest.
$ac_ext <<EOF
11849 #line 11850 "configure"
11850 #include "confdefs.h"
11852 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
11853 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
11854 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
11855 int main () { int i; for (i = 0; i < 256; i++)
11856 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
11860 if { (eval echo configure
:11861: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11864 echo "configure: failed program was:" >&5
11865 cat conftest.
$ac_ext >&5
11867 ac_cv_header_stdc
=no
11875 echo "$ac_t""$ac_cv_header_stdc" 1>&6
11876 if test $ac_cv_header_stdc = yes; then
11877 cat >> confdefs.h
<<\EOF
11878 #define STDC_HEADERS 1
11883 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
11884 echo "configure:11885: checking for mode_t" >&5
11885 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
11886 echo $ac_n "(cached) $ac_c" 1>&6
11888 cat > conftest.
$ac_ext <<EOF
11889 #line 11890 "configure"
11890 #include "confdefs.h"
11891 #include <sys/types.h>
11893 #include <stdlib.h>
11894 #include <stddef.h>
11897 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11898 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
11900 ac_cv_type_mode_t
=yes
11903 ac_cv_type_mode_t
=no
11908 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
11909 if test $ac_cv_type_mode_t = no
; then
11910 cat >> confdefs.h
<<\EOF
11916 echo $ac_n "checking for off_t""... $ac_c" 1>&6
11917 echo "configure:11918: checking for off_t" >&5
11918 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
11919 echo $ac_n "(cached) $ac_c" 1>&6
11921 cat > conftest.
$ac_ext <<EOF
11922 #line 11923 "configure"
11923 #include "confdefs.h"
11924 #include <sys/types.h>
11926 #include <stdlib.h>
11927 #include <stddef.h>
11930 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11931 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
11933 ac_cv_type_off_t
=yes
11936 ac_cv_type_off_t
=no
11941 echo "$ac_t""$ac_cv_type_off_t" 1>&6
11942 if test $ac_cv_type_off_t = no
; then
11943 cat >> confdefs.h
<<\EOF
11949 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
11950 echo "configure:11951: checking for pid_t" >&5
11951 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
11952 echo $ac_n "(cached) $ac_c" 1>&6
11954 cat > conftest.
$ac_ext <<EOF
11955 #line 11956 "configure"
11956 #include "confdefs.h"
11957 #include <sys/types.h>
11959 #include <stdlib.h>
11960 #include <stddef.h>
11963 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11964 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
11966 ac_cv_type_pid_t
=yes
11969 ac_cv_type_pid_t
=no
11974 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
11975 if test $ac_cv_type_pid_t = no
; then
11976 cat >> confdefs.h
<<\EOF
11982 echo $ac_n "checking for size_t""... $ac_c" 1>&6
11983 echo "configure:11984: checking for size_t" >&5
11984 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
11985 echo $ac_n "(cached) $ac_c" 1>&6
11987 cat > conftest.
$ac_ext <<EOF
11988 #line 11989 "configure"
11989 #include "confdefs.h"
11990 #include <sys/types.h>
11992 #include <stdlib.h>
11993 #include <stddef.h>
11996 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11997 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
11999 ac_cv_type_size_t
=yes
12002 ac_cv_type_size_t
=no
12007 echo "$ac_t""$ac_cv_type_size_t" 1>&6
12008 if test $ac_cv_type_size_t = no
; then
12009 cat >> confdefs.h
<<\EOF
12010 #define size_t unsigned
12015 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
12016 echo "configure:12017: checking for uid_t in sys/types.h" >&5
12017 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
12018 echo $ac_n "(cached) $ac_c" 1>&6
12020 cat > conftest.
$ac_ext <<EOF
12021 #line 12022 "configure"
12022 #include "confdefs.h"
12023 #include <sys/types.h>
12025 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12026 egrep "uid_t" >/dev
/null
2>&1; then
12028 ac_cv_type_uid_t
=yes
12031 ac_cv_type_uid_t
=no
12037 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
12038 if test $ac_cv_type_uid_t = no
; then
12039 cat >> confdefs.h
<<\EOF
12043 cat >> confdefs.h
<<\EOF
12050 echo $ac_n "checking for wchar_t""... $ac_c" 1>&6
12051 echo "configure:12052: checking for wchar_t" >&5
12052 if eval "test \"`echo '$''{'wx_cv_type_wchar_t'+set}'`\" = set"; then
12053 echo $ac_n "(cached) $ac_c" 1>&6
12056 cat > conftest.
$ac_ext <<EOF
12057 #line 12058 "configure"
12058 #include "confdefs.h"
12064 ws = L"Hello, world!";
12068 if { (eval echo configure
:12069: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12070 wx_cv_type_wchar_t
=yes
12072 echo "configure: failed program was:" >&5
12073 cat conftest.
$ac_ext >&5
12075 cat > conftest.
$ac_ext <<EOF
12076 #line 12077 "configure"
12077 #include "confdefs.h"
12078 #include <stdlib.h>
12083 ws = L"Hello, world!";
12087 if { (eval echo configure
:12088: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12089 wx_cv_type_wchar_t
=yes
12091 echo "configure: failed program was:" >&5
12092 cat conftest.
$ac_ext >&5
12094 wx_cv_type_wchar_t
=no
12103 echo "$ac_t""$wx_cv_type_wchar_t" 1>&6
12105 if test "$wx_cv_type_wchar_t" = "yes"; then
12106 cat >> confdefs.h
<<\EOF
12107 #define wxUSE_WCHAR_T 1
12114 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12115 ac_cpp
='$CXXCPP $CPPFLAGS'
12116 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12117 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12118 cross_compiling
=$ac_cv_prog_cxx_cross
12120 echo $ac_n "checking if size_t is unsigned int""... $ac_c" 1>&6
12121 echo "configure:12122: checking if size_t is unsigned int" >&5
12122 if eval "test \"`echo '$''{'wx_cv_size_t_is_uint'+set}'`\" = set"; then
12123 echo $ac_n "(cached) $ac_c" 1>&6
12125 cat > conftest.
$ac_ext <<EOF
12126 #line 12127 "configure"
12127 #include "confdefs.h"
12128 #include <stddef.h>
12133 struct Foo { void foo(size_t); void foo(unsigned int); };
12139 if { (eval echo configure
:12140: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12141 wx_cv_size_t_is_uint
=no
12143 echo "configure: failed program was:" >&5
12144 cat conftest.
$ac_ext >&5
12146 wx_cv_size_t_is_uint
=yes
12153 echo "$ac_t""$wx_cv_size_t_is_uint" 1>&6
12155 if test "$wx_cv_size_t_is_uint" = "yes"; then
12156 cat >> confdefs.h
<<\EOF
12157 #define wxSIZE_T_IS_UINT 1
12161 echo $ac_n "checking if size_t is unsigned long""... $ac_c" 1>&6
12162 echo "configure:12163: checking if size_t is unsigned long" >&5
12163 if eval "test \"`echo '$''{'wx_cv_size_t_is_ulong'+set}'`\" = set"; then
12164 echo $ac_n "(cached) $ac_c" 1>&6
12166 cat > conftest.
$ac_ext <<EOF
12167 #line 12168 "configure"
12168 #include "confdefs.h"
12169 #include <stddef.h>
12174 struct Foo { void foo(size_t); void foo(unsigned long); };
12180 if { (eval echo configure
:12181: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12182 wx_cv_size_t_is_ulong
=no
12184 echo "configure: failed program was:" >&5
12185 cat conftest.
$ac_ext >&5
12187 wx_cv_size_t_is_ulong
=yes
12194 echo "$ac_t""$wx_cv_size_t_is_ulong" 1>&6
12196 if test "$wx_cv_size_t_is_ulong" = "yes"; then
12197 cat >> confdefs.h
<<\EOF
12198 #define wxSIZE_T_IS_ULONG 1
12205 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12206 ac_cpp
='$CPP $CPPFLAGS'
12207 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12208 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12209 cross_compiling
=$ac_cv_prog_cc_cross
12213 echo $ac_n "checking for pw_gecos in struct passwd""... $ac_c" 1>&6
12214 echo "configure:12215: checking for pw_gecos in struct passwd" >&5
12215 if eval "test \"`echo '$''{'wx_cv_struct_pw_gecos'+set}'`\" = set"; then
12216 echo $ac_n "(cached) $ac_c" 1>&6
12219 cat > conftest.
$ac_ext <<EOF
12220 #line 12221 "configure"
12221 #include "confdefs.h"
12231 if { (eval echo configure
:12232: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12234 wx_cv_struct_pw_gecos
=yes
12237 echo "configure: failed program was:" >&5
12238 cat conftest.
$ac_ext >&5
12241 wx_cv_struct_pw_gecos
=no
12250 echo "$ac_t""$wx_cv_struct_pw_gecos" 1>&6
12252 if test "$wx_cv_struct_pw_gecos" = "yes"; then
12253 cat >> confdefs.h
<<\EOF
12254 #define HAVE_PW_GECOS 1
12260 echo $ac_n "checking for working const""... $ac_c" 1>&6
12261 echo "configure:12262: checking for working const" >&5
12262 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
12263 echo $ac_n "(cached) $ac_c" 1>&6
12265 cat > conftest.
$ac_ext <<EOF
12266 #line 12267 "configure"
12267 #include "confdefs.h"
12271 /* Ultrix mips cc rejects this. */
12272 typedef int charset[2]; const charset x;
12273 /* SunOS 4.1.1 cc rejects this. */
12274 char const *const *ccp;
12276 /* NEC SVR4.0.2 mips cc rejects this. */
12277 struct point {int x, y;};
12278 static struct point const zero = {0,0};
12279 /* AIX XL C 1.02.0.0 rejects this.
12280 It does not let you subtract one const X* pointer from another in an arm
12281 of an if-expression whose if-part is not a constant expression */
12282 const char *g = "string";
12283 ccp = &g + (g ? g-g : 0);
12284 /* HPUX 7.0 cc rejects these. */
12287 ccp = (char const *const *) p;
12288 { /* SCO 3.2v4 cc rejects this. */
12290 char const *s = 0 ? (char *) 0 : (char const *) 0;
12294 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
12295 int x[] = {25, 17};
12296 const int *foo = &x[0];
12299 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
12300 typedef const int *iptr;
12304 { /* AIX XL C 1.02.0.0 rejects this saying
12305 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
12306 struct s { int j; const int *ap[3]; };
12307 struct s *b; b->j = 5;
12309 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
12310 const int foo = 10;
12315 if { (eval echo configure
:12316: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12319 echo "configure: failed program was:" >&5
12320 cat conftest.
$ac_ext >&5
12327 echo "$ac_t""$ac_cv_c_const" 1>&6
12328 if test $ac_cv_c_const = no
; then
12329 cat >> confdefs.h
<<\EOF
12335 echo $ac_n "checking for inline""... $ac_c" 1>&6
12336 echo "configure:12337: checking for inline" >&5
12337 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
12338 echo $ac_n "(cached) $ac_c" 1>&6
12341 for ac_kw
in inline __inline__ __inline
; do
12342 cat > conftest.
$ac_ext <<EOF
12343 #line 12344 "configure"
12344 #include "confdefs.h"
12350 if { (eval echo configure
:12351: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12352 ac_cv_c_inline
=$ac_kw; break
12354 echo "configure: failed program was:" >&5
12355 cat conftest.
$ac_ext >&5
12362 echo "$ac_t""$ac_cv_c_inline" 1>&6
12363 case "$ac_cv_c_inline" in
12365 no
) cat >> confdefs.h
<<\EOF
12369 *) cat >> confdefs.h
<<EOF
12370 #define inline $ac_cv_c_inline
12376 echo $ac_n "checking size of char""... $ac_c" 1>&6
12377 echo "configure:12378: checking size of char" >&5
12378 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
12379 echo $ac_n "(cached) $ac_c" 1>&6
12381 if test "$cross_compiling" = yes; then
12382 ac_cv_sizeof_char
=1
12384 cat > conftest.
$ac_ext <<EOF
12385 #line 12386 "configure"
12386 #include "confdefs.h"
12388 #include <sys/types.h>
12391 FILE *f=fopen("conftestval", "w");
12393 fprintf(f, "%d\n", sizeof(char));
12397 if { (eval echo configure
:12398: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12399 ac_cv_sizeof_char
=`cat conftestval`
12401 echo "configure: failed program was:" >&5
12402 cat conftest.
$ac_ext >&5
12404 ac_cv_sizeof_char
=0
12410 echo "$ac_t""$ac_cv_sizeof_char" 1>&6
12411 cat >> confdefs.h
<<EOF
12412 #define SIZEOF_CHAR $ac_cv_sizeof_char
12416 echo $ac_n "checking size of short""... $ac_c" 1>&6
12417 echo "configure:12418: checking size of short" >&5
12418 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
12419 echo $ac_n "(cached) $ac_c" 1>&6
12421 if test "$cross_compiling" = yes; then
12422 ac_cv_sizeof_short
=2
12424 cat > conftest.
$ac_ext <<EOF
12425 #line 12426 "configure"
12426 #include "confdefs.h"
12428 #include <sys/types.h>
12431 FILE *f=fopen("conftestval", "w");
12433 fprintf(f, "%d\n", sizeof(short));
12437 if { (eval echo configure
:12438: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12439 ac_cv_sizeof_short
=`cat conftestval`
12441 echo "configure: failed program was:" >&5
12442 cat conftest.
$ac_ext >&5
12444 ac_cv_sizeof_short
=0
12450 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
12451 cat >> confdefs.h
<<EOF
12452 #define SIZEOF_SHORT $ac_cv_sizeof_short
12456 echo $ac_n "checking size of int *""... $ac_c" 1>&6
12457 echo "configure:12458: checking size of int *" >&5
12458 if eval "test \"`echo '$''{'ac_cv_sizeof_int_p'+set}'`\" = set"; then
12459 echo $ac_n "(cached) $ac_c" 1>&6
12461 if test "$cross_compiling" = yes; then
12462 ac_cv_sizeof_int_p
=4
12464 cat > conftest.
$ac_ext <<EOF
12465 #line 12466 "configure"
12466 #include "confdefs.h"
12468 #include <sys/types.h>
12471 FILE *f=fopen("conftestval", "w");
12473 fprintf(f, "%d\n", sizeof(int *));
12477 if { (eval echo configure
:12478: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12479 ac_cv_sizeof_int_p
=`cat conftestval`
12481 echo "configure: failed program was:" >&5
12482 cat conftest.
$ac_ext >&5
12484 ac_cv_sizeof_int_p
=0
12490 echo "$ac_t""$ac_cv_sizeof_int_p" 1>&6
12491 cat >> confdefs.h
<<EOF
12492 #define SIZEOF_INT_P $ac_cv_sizeof_int_p
12496 echo $ac_n "checking size of int""... $ac_c" 1>&6
12497 echo "configure:12498: checking size of int" >&5
12498 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
12499 echo $ac_n "(cached) $ac_c" 1>&6
12501 if test "$cross_compiling" = yes; then
12504 cat > conftest.
$ac_ext <<EOF
12505 #line 12506 "configure"
12506 #include "confdefs.h"
12508 #include <sys/types.h>
12511 FILE *f=fopen("conftestval", "w");
12513 fprintf(f, "%d\n", sizeof(int));
12517 if { (eval echo configure
:12518: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12519 ac_cv_sizeof_int
=`cat conftestval`
12521 echo "configure: failed program was:" >&5
12522 cat conftest.
$ac_ext >&5
12530 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
12531 cat >> confdefs.h
<<EOF
12532 #define SIZEOF_INT $ac_cv_sizeof_int
12536 echo $ac_n "checking size of long""... $ac_c" 1>&6
12537 echo "configure:12538: checking size of long" >&5
12538 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
12539 echo $ac_n "(cached) $ac_c" 1>&6
12541 if test "$cross_compiling" = yes; then
12542 ac_cv_sizeof_long
=4
12544 cat > conftest.
$ac_ext <<EOF
12545 #line 12546 "configure"
12546 #include "confdefs.h"
12548 #include <sys/types.h>
12551 FILE *f=fopen("conftestval", "w");
12553 fprintf(f, "%d\n", sizeof(long));
12557 if { (eval echo configure
:12558: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12559 ac_cv_sizeof_long
=`cat conftestval`
12561 echo "configure: failed program was:" >&5
12562 cat conftest.
$ac_ext >&5
12564 ac_cv_sizeof_long
=0
12570 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
12571 cat >> confdefs.h
<<EOF
12572 #define SIZEOF_LONG $ac_cv_sizeof_long
12576 echo $ac_n "checking size of long long""... $ac_c" 1>&6
12577 echo "configure:12578: checking size of long long" >&5
12578 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
12579 echo $ac_n "(cached) $ac_c" 1>&6
12581 if test "$cross_compiling" = yes; then
12582 ac_cv_sizeof_long_long
=0
12584 cat > conftest.
$ac_ext <<EOF
12585 #line 12586 "configure"
12586 #include "confdefs.h"
12588 #include <sys/types.h>
12591 FILE *f=fopen("conftestval", "w");
12593 fprintf(f, "%d\n", sizeof(long long));
12597 if { (eval echo configure
:12598: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12599 ac_cv_sizeof_long_long
=`cat conftestval`
12601 echo "configure: failed program was:" >&5
12602 cat conftest.
$ac_ext >&5
12604 ac_cv_sizeof_long_long
=0
12610 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
12611 cat >> confdefs.h
<<EOF
12612 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
12617 echo $ac_n "checking size of wchar_t""... $ac_c" 1>&6
12618 echo "configure:12619: checking size of wchar_t" >&5
12619 if eval "test \"`echo '$''{'wx_cv_sizeof_wchar_t'+set}'`\" = set"; then
12620 echo $ac_n "(cached) $ac_c" 1>&6
12623 if test "$cross_compiling" = yes; then
12624 wx_cv_sizeof_wchar_t
=4
12627 cat > conftest.
$ac_ext <<EOF
12628 #line 12629 "configure"
12629 #include "confdefs.h"
12631 #ifdef HAVE_WCHAR_H
12632 # include <wchar.h>
12634 #ifdef HAVE_STDLIB_H
12635 # include <stdlib.h>
12640 FILE *f=fopen("conftestval", "w");
12642 fprintf(f, "%i", sizeof(wchar_t));
12647 if { (eval echo configure
:12648: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12649 wx_cv_sizeof_wchar_t
=`cat conftestval`
12651 echo "configure: failed program was:" >&5
12652 cat conftest.
$ac_ext >&5
12654 wx_cv_sizeof_wchar_t
=0
12662 echo "$ac_t""$wx_cv_sizeof_wchar_t" 1>&6
12664 cat >> confdefs.h
<<EOF
12665 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
12669 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
12670 echo "configure:12671: checking whether byte ordering is bigendian" >&5
12671 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
12672 echo $ac_n "(cached) $ac_c" 1>&6
12674 ac_cv_c_bigendian
=unknown
12675 # See if sys/param.h defines the BYTE_ORDER macro.
12676 cat > conftest.
$ac_ext <<EOF
12677 #line 12678 "configure"
12678 #include "confdefs.h"
12679 #include <sys/types.h>
12680 #include <sys/param.h>
12683 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
12684 bogus endian macros
12688 if { (eval echo configure
:12689: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12690 # It does; now see whether it defined to BIG_ENDIAN or not.
12691 cat > conftest.
$ac_ext <<EOF
12692 #line 12693 "configure"
12693 #include "confdefs.h"
12694 #include <sys/types.h>
12695 #include <sys/param.h>
12698 #if BYTE_ORDER != BIG_ENDIAN
12703 if { (eval echo configure
:12704: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12705 ac_cv_c_bigendian
=yes
12707 echo "configure: failed program was:" >&5
12708 cat conftest.
$ac_ext >&5
12710 ac_cv_c_bigendian
=no
12714 echo "configure: failed program was:" >&5
12715 cat conftest.
$ac_ext >&5
12718 if test $ac_cv_c_bigendian = unknown
; then
12719 if test "$cross_compiling" = yes; then
12720 ac_cv_c_bigendian
=unknown
12722 cat > conftest.
$ac_ext <<EOF
12723 #line 12724 "configure"
12724 #include "confdefs.h"
12726 /* Are we little or big endian? From Harbison&Steele. */
12730 char c[sizeof (long)];
12733 exit (u.c[sizeof (long) - 1] == 1);
12736 if { (eval echo configure
:12737: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12738 ac_cv_c_bigendian
=no
12740 echo "configure: failed program was:" >&5
12741 cat conftest.
$ac_ext >&5
12743 ac_cv_c_bigendian
=yes
12751 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
12752 if test $ac_cv_c_bigendian = unknown
; then
12753 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
12755 if test $ac_cv_c_bigendian = yes; then
12756 cat >> confdefs.h
<<\EOF
12757 #define WORDS_BIGENDIAN 1
12763 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
12764 echo "configure:12765: checking how to run the C++ preprocessor" >&5
12765 if test -z "$CXXCPP"; then
12766 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
12767 echo $ac_n "(cached) $ac_c" 1>&6
12770 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12771 ac_cpp
='$CXXCPP $CPPFLAGS'
12772 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12773 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12774 cross_compiling
=$ac_cv_prog_cxx_cross
12775 CXXCPP
="${CXX-g++} -E"
12776 cat > conftest.
$ac_ext <<EOF
12777 #line 12778 "configure"
12778 #include "confdefs.h"
12779 #include <stdlib.h>
12781 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12782 { (eval echo configure
:12783: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12783 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12784 if test -z "$ac_err"; then
12788 echo "configure: failed program was:" >&5
12789 cat conftest.
$ac_ext >&5
12794 ac_cv_prog_CXXCPP
="$CXXCPP"
12796 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12797 ac_cpp
='$CXXCPP $CPPFLAGS'
12798 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12799 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12800 cross_compiling
=$ac_cv_prog_cxx_cross
12803 CXXCPP
="$ac_cv_prog_CXXCPP"
12804 echo "$ac_t""$CXXCPP" 1>&6
12807 if test "$cross_compiling" = "yes"; then
12808 cat >> confdefs.h
<<\EOF
12809 #define wxUSE_IOSTREAMH 1
12815 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12816 ac_cpp
='$CXXCPP $CPPFLAGS'
12817 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12818 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12819 cross_compiling
=$ac_cv_prog_cxx_cross
12822 for ac_hdr
in iostream
12824 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12825 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12826 echo "configure:12827: checking for $ac_hdr" >&5
12827 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12828 echo $ac_n "(cached) $ac_c" 1>&6
12830 cat > conftest.
$ac_ext <<EOF
12831 #line 12832 "configure"
12832 #include "confdefs.h"
12835 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12836 { (eval echo configure
:12837: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12837 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12838 if test -z "$ac_err"; then
12840 eval "ac_cv_header_$ac_safe=yes"
12843 echo "configure: failed program was:" >&5
12844 cat conftest.
$ac_ext >&5
12846 eval "ac_cv_header_$ac_safe=no"
12850 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12851 echo "$ac_t""yes" 1>&6
12852 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12853 cat >> confdefs.h
<<EOF
12854 #define $ac_tr_hdr 1
12858 echo "$ac_t""no" 1>&6
12863 if test "$ac_cv_header_iostream" = "yes" ; then
12866 cat >> confdefs.h
<<\EOF
12867 #define wxUSE_IOSTREAMH 1
12873 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12874 ac_cpp
='$CPP $CPPFLAGS'
12875 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12876 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12877 cross_compiling
=$ac_cv_prog_cc_cross
12883 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
12884 echo "configure:12885: checking if C++ compiler supports bool" >&5
12885 if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
12886 echo $ac_n "(cached) $ac_c" 1>&6
12891 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12892 ac_cpp
='$CXXCPP $CPPFLAGS'
12893 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12894 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12895 cross_compiling
=$ac_cv_prog_cxx_cross
12898 cat > conftest.
$ac_ext <<EOF
12899 #line 12900 "configure"
12900 #include "confdefs.h"
12911 if { (eval echo configure
:12912: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12917 echo "configure: failed program was:" >&5
12918 cat conftest.
$ac_ext >&5
12928 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12929 ac_cpp
='$CPP $CPPFLAGS'
12930 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12931 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12932 cross_compiling
=$ac_cv_prog_cc_cross
12937 echo "$ac_t""$wx_cv_cpp_bool" 1>&6
12939 if test "$wx_cv_cpp_bool" = "yes"; then
12940 cat >> confdefs.h
<<\EOF
12941 #define HAVE_BOOL 1
12948 echo $ac_n "checking for wcslen in -lc""... $ac_c" 1>&6
12949 echo "configure:12950: checking for wcslen in -lc" >&5
12950 ac_lib_var
=`echo c'_'wcslen | sed 'y%./+-%__p_%'`
12951 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12952 echo $ac_n "(cached) $ac_c" 1>&6
12954 ac_save_LIBS
="$LIBS"
12956 cat > conftest.
$ac_ext <<EOF
12957 #line 12958 "configure"
12958 #include "confdefs.h"
12959 /* Override any gcc2 internal prototype to avoid an error. */
12960 /* We use char because int might match the return type of a gcc2
12961 builtin and then its argument prototype would still apply. */
12968 if { (eval echo configure
:12969: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12970 eval "ac_cv_lib_$ac_lib_var=yes"
12972 echo "configure: failed program was:" >&5
12973 cat conftest.
$ac_ext >&5
12975 eval "ac_cv_lib_$ac_lib_var=no"
12978 LIBS
="$ac_save_LIBS"
12981 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12982 echo "$ac_t""yes" 1>&6
12984 cat >> confdefs.h
<<\EOF
12985 #define HAVE_WCSLEN 1
12991 echo "$ac_t""no" 1>&6
12993 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
12994 echo "configure:12995: checking for wcslen in -lw" >&5
12995 ac_lib_var
=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
12996 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12997 echo $ac_n "(cached) $ac_c" 1>&6
12999 ac_save_LIBS
="$LIBS"
13001 cat > conftest.
$ac_ext <<EOF
13002 #line 13003 "configure"
13003 #include "confdefs.h"
13004 /* Override any gcc2 internal prototype to avoid an error. */
13005 /* We use char because int might match the return type of a gcc2
13006 builtin and then its argument prototype would still apply. */
13013 if { (eval echo configure
:13014: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13015 eval "ac_cv_lib_$ac_lib_var=yes"
13017 echo "configure: failed program was:" >&5
13018 cat conftest.
$ac_ext >&5
13020 eval "ac_cv_lib_$ac_lib_var=no"
13023 LIBS
="$ac_save_LIBS"
13026 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13027 echo "$ac_t""yes" 1>&6
13029 cat >> confdefs.h
<<\EOF
13030 #define HAVE_WCSLEN 1
13036 echo "$ac_t""no" 1>&6
13038 echo $ac_n "checking for wcslen in -lmsvcrt""... $ac_c" 1>&6
13039 echo "configure:13040: checking for wcslen in -lmsvcrt" >&5
13040 ac_lib_var
=`echo msvcrt'_'wcslen | sed 'y%./+-%__p_%'`
13041 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13042 echo $ac_n "(cached) $ac_c" 1>&6
13044 ac_save_LIBS
="$LIBS"
13045 LIBS
="-lmsvcrt $LIBS"
13046 cat > conftest.
$ac_ext <<EOF
13047 #line 13048 "configure"
13048 #include "confdefs.h"
13049 /* Override any gcc2 internal prototype to avoid an error. */
13050 /* We use char because int might match the return type of a gcc2
13051 builtin and then its argument prototype would still apply. */
13058 if { (eval echo configure
:13059: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13060 eval "ac_cv_lib_$ac_lib_var=yes"
13062 echo "configure: failed program was:" >&5
13063 cat conftest.
$ac_ext >&5
13065 eval "ac_cv_lib_$ac_lib_var=no"
13068 LIBS
="$ac_save_LIBS"
13071 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13072 echo "$ac_t""yes" 1>&6
13074 cat >> confdefs.h
<<\EOF
13075 #define HAVE_WCSLEN 1
13081 echo "$ac_t""no" 1>&6
13091 for ac_func
in wcsrtombs
13093 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13094 echo "configure:13095: checking for $ac_func" >&5
13095 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13096 echo $ac_n "(cached) $ac_c" 1>&6
13098 cat > conftest.
$ac_ext <<EOF
13099 #line 13100 "configure"
13100 #include "confdefs.h"
13101 /* System header to define __stub macros and hopefully few prototypes,
13102 which can conflict with char $ac_func(); below. */
13103 #include <assert.h>
13104 /* Override any gcc2 internal prototype to avoid an error. */
13105 /* We use char because int might match the return type of a gcc2
13106 builtin and then its argument prototype would still apply. */
13111 /* The GNU C library defines this for functions which it implements
13112 to always fail with ENOSYS. Some functions are actually named
13113 something starting with __ and the normal name is an alias. */
13114 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13122 if { (eval echo configure
:13123: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13124 eval "ac_cv_func_$ac_func=yes"
13126 echo "configure: failed program was:" >&5
13127 cat conftest.
$ac_ext >&5
13129 eval "ac_cv_func_$ac_func=no"
13134 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13135 echo "$ac_t""yes" 1>&6
13136 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13137 cat >> confdefs.h
<<EOF
13138 #define $ac_tr_func 1
13142 echo "$ac_t""no" 1>&6
13147 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
13148 echo "configure:13149: checking for vprintf" >&5
13149 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
13150 echo $ac_n "(cached) $ac_c" 1>&6
13152 cat > conftest.
$ac_ext <<EOF
13153 #line 13154 "configure"
13154 #include "confdefs.h"
13155 /* System header to define __stub macros and hopefully few prototypes,
13156 which can conflict with char vprintf(); below. */
13157 #include <assert.h>
13158 /* Override any gcc2 internal prototype to avoid an error. */
13159 /* We use char because int might match the return type of a gcc2
13160 builtin and then its argument prototype would still apply. */
13165 /* The GNU C library defines this for functions which it implements
13166 to always fail with ENOSYS. Some functions are actually named
13167 something starting with __ and the normal name is an alias. */
13168 #if defined (__stub_vprintf) || defined (__stub___vprintf)
13176 if { (eval echo configure
:13177: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13178 eval "ac_cv_func_vprintf=yes"
13180 echo "configure: failed program was:" >&5
13181 cat conftest.
$ac_ext >&5
13183 eval "ac_cv_func_vprintf=no"
13188 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
13189 echo "$ac_t""yes" 1>&6
13190 cat >> confdefs.h
<<\EOF
13191 #define HAVE_VPRINTF 1
13195 echo "$ac_t""no" 1>&6
13198 if test "$ac_cv_func_vprintf" != yes; then
13199 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
13200 echo "configure:13201: checking for _doprnt" >&5
13201 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
13202 echo $ac_n "(cached) $ac_c" 1>&6
13204 cat > conftest.
$ac_ext <<EOF
13205 #line 13206 "configure"
13206 #include "confdefs.h"
13207 /* System header to define __stub macros and hopefully few prototypes,
13208 which can conflict with char _doprnt(); below. */
13209 #include <assert.h>
13210 /* Override any gcc2 internal prototype to avoid an error. */
13211 /* We use char because int might match the return type of a gcc2
13212 builtin and then its argument prototype would still apply. */
13217 /* The GNU C library defines this for functions which it implements
13218 to always fail with ENOSYS. Some functions are actually named
13219 something starting with __ and the normal name is an alias. */
13220 #if defined (__stub__doprnt) || defined (__stub____doprnt)
13228 if { (eval echo configure
:13229: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13230 eval "ac_cv_func__doprnt=yes"
13232 echo "configure: failed program was:" >&5
13233 cat conftest.
$ac_ext >&5
13235 eval "ac_cv_func__doprnt=no"
13240 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
13241 echo "$ac_t""yes" 1>&6
13242 cat >> confdefs.h
<<\EOF
13243 #define HAVE_DOPRNT 1
13247 echo "$ac_t""no" 1>&6
13257 echo $ac_n "checking for vsnprintf""... $ac_c" 1>&6
13258 echo "configure:13259: checking for vsnprintf" >&5
13259 if eval "test \"`echo '$''{'wx_cv_func_vsnprintf'+set}'`\" = set"; then
13260 echo $ac_n "(cached) $ac_c" 1>&6
13263 cat > conftest.
$ac_ext <<EOF
13264 #line 13265 "configure"
13265 #include "confdefs.h"
13268 #include <stdarg.h>
13272 int wx_test_vsnprintf(const char *, ...);
13274 wx_test_vsnprintf("%s");
13278 int wx_test_vsnprintf(const char *fmt, ...)
13283 va_start(argp, fmt);
13284 vsnprintf(s, 42, fmt, argp);
13289 if { (eval echo configure
:13290: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13292 wx_cv_func_vsnprintf
=yes
13295 echo "configure: failed program was:" >&5
13296 cat conftest.
$ac_ext >&5
13299 cat > conftest.
$ac_ext <<EOF
13300 #line 13301 "configure"
13301 #include "confdefs.h"
13304 #include <stdarg.h>
13308 int wx_test_vsnprintf(const char *, ...);
13310 wx_test_vsnprintf("%s");
13314 int wx_test_vsnprintf(const char *fmt, ...)
13319 va_start(argp, fmt);
13320 _vsnprintf(s, 42, fmt, argp);
13325 if { (eval echo configure
:13326: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13328 wx_cv_func_vsnprintf
=yes
13331 echo "configure: failed program was:" >&5
13332 cat conftest.
$ac_ext >&5
13335 wx_cv_func_vsnprintf
=no
13345 echo "$ac_t""$wx_cv_func_vsnprintf" 1>&6
13347 if test "$wx_cv_func_vsnprintf" = yes; then
13348 cat >> confdefs.h
<<\EOF
13349 #define HAVE_VSNPRINTF 1
13353 echo "configure: warning: unsafe function sprintf will be used instead of snprintf" 1>&2
13356 echo $ac_n "checking for vsscanf""... $ac_c" 1>&6
13357 echo "configure:13358: checking for vsscanf" >&5
13358 if eval "test \"`echo '$''{'wx_cv_func_vsscanf'+set}'`\" = set"; then
13359 echo $ac_n "(cached) $ac_c" 1>&6
13362 cat > conftest.
$ac_ext <<EOF
13363 #line 13364 "configure"
13364 #include "confdefs.h"
13367 #include <stdarg.h>
13371 int wx_test_vsscanf(const char *, ...);
13373 wx_test_vsscanf("%d");
13377 int wx_test_vsscanf(const char *fmt, ...)
13380 va_start(argp, fmt);
13381 vsscanf("42", fmt, argp);
13386 if { (eval echo configure
:13387: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13389 wx_cv_func_vsscanf
=yes
13392 echo "configure: failed program was:" >&5
13393 cat conftest.
$ac_ext >&5
13396 wx_cv_func_vsscanf
=no
13403 echo "$ac_t""$wx_cv_func_vsscanf" 1>&6
13405 if test "$wx_cv_func_vsscanf" = yes; then
13406 cat >> confdefs.h
<<\EOF
13407 #define HAVE_VSSCANF 1
13412 if test "$TOOLKIT" != "MSW"; then
13417 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13418 ac_cpp
='$CXXCPP $CPPFLAGS'
13419 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13420 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13421 cross_compiling
=$ac_cv_prog_cxx_cross
13423 echo $ac_n "checking if iconv() takes char**""... $ac_c" 1>&6
13424 echo "configure:13425: checking if iconv() takes char**" >&5
13425 if eval "test \"`echo '$''{'wx_cv_iconv_takes_char'+set}'`\" = set"; then
13426 echo $ac_n "(cached) $ac_c" 1>&6
13429 cat > conftest.
$ac_ext <<EOF
13430 #line 13431 "configure"
13431 #include "confdefs.h"
13435 char **inbuf, **outbuf;
13437 size_t insz, outsz;
13438 iconv(cd, inbuf, &insz, outbuf, &outsz);
13442 if { (eval echo configure
:13443: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13444 wx_cv_iconv_takes_char
=yes
13446 echo "configure: failed program was:" >&5
13447 cat conftest.
$ac_ext >&5
13449 wx_cv_iconv_takes_char
=no
13455 echo "$ac_t""$wx_cv_iconv_takes_char" 1>&6
13457 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13458 ac_cpp
='$CPP $CPPFLAGS'
13459 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13460 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13461 cross_compiling
=$ac_cv_prog_cc_cross
13463 if test "$wx_cv_iconv_takes_char" = yes ; then
13464 cat >> confdefs.h
<<\EOF
13465 #define WX_ICONV_TAKES_CHAR 1
13471 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
13472 for ac_func
in sigaction
13474 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13475 echo "configure:13476: checking for $ac_func" >&5
13476 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13477 echo $ac_n "(cached) $ac_c" 1>&6
13479 cat > conftest.
$ac_ext <<EOF
13480 #line 13481 "configure"
13481 #include "confdefs.h"
13482 /* System header to define __stub macros and hopefully few prototypes,
13483 which can conflict with char $ac_func(); below. */
13484 #include <assert.h>
13485 /* Override any gcc2 internal prototype to avoid an error. */
13486 /* We use char because int might match the return type of a gcc2
13487 builtin and then its argument prototype would still apply. */
13492 /* The GNU C library defines this for functions which it implements
13493 to always fail with ENOSYS. Some functions are actually named
13494 something starting with __ and the normal name is an alias. */
13495 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13503 if { (eval echo configure
:13504: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13505 eval "ac_cv_func_$ac_func=yes"
13507 echo "configure: failed program was:" >&5
13508 cat conftest.
$ac_ext >&5
13510 eval "ac_cv_func_$ac_func=no"
13515 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13516 echo "$ac_t""yes" 1>&6
13517 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13518 cat >> confdefs.h
<<EOF
13519 #define $ac_tr_func 1
13523 echo "$ac_t""no" 1>&6
13528 if test "$ac_cv_func_sigaction" = "no"; then
13529 echo "configure: warning: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" 1>&2
13530 wxUSE_ON_FATAL_EXCEPTION
=no
13533 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
13536 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13537 ac_cpp
='$CXXCPP $CPPFLAGS'
13538 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13539 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13540 cross_compiling
=$ac_cv_prog_cxx_cross
13543 echo $ac_n "checking for sa_handler type""... $ac_c" 1>&6
13544 echo "configure:13545: checking for sa_handler type" >&5
13545 if eval "test \"`echo '$''{'wx_cv_type_sa_handler'+set}'`\" = set"; then
13546 echo $ac_n "(cached) $ac_c" 1>&6
13549 cat > conftest.
$ac_ext <<EOF
13550 #line 13551 "configure"
13551 #include "confdefs.h"
13552 #include <signal.h>
13555 extern void testSigHandler(int);
13557 struct sigaction sa;
13558 sa.sa_handler = testSigHandler;
13562 if { (eval echo configure
:13563: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13565 wx_cv_type_sa_handler
=int
13568 echo "configure: failed program was:" >&5
13569 cat conftest.
$ac_ext >&5
13572 wx_cv_type_sa_handler
=void
13579 echo "$ac_t""$wx_cv_type_sa_handler" 1>&6
13582 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13583 ac_cpp
='$CPP $CPPFLAGS'
13584 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13585 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13586 cross_compiling
=$ac_cv_prog_cc_cross
13589 cat >> confdefs.h
<<EOF
13590 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
13596 for ac_func
in vfork
13598 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13599 echo "configure:13600: checking for $ac_func" >&5
13600 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13601 echo $ac_n "(cached) $ac_c" 1>&6
13603 cat > conftest.
$ac_ext <<EOF
13604 #line 13605 "configure"
13605 #include "confdefs.h"
13606 /* System header to define __stub macros and hopefully few prototypes,
13607 which can conflict with char $ac_func(); below. */
13608 #include <assert.h>
13609 /* Override any gcc2 internal prototype to avoid an error. */
13610 /* We use char because int might match the return type of a gcc2
13611 builtin and then its argument prototype would still apply. */
13616 /* The GNU C library defines this for functions which it implements
13617 to always fail with ENOSYS. Some functions are actually named
13618 something starting with __ and the normal name is an alias. */
13619 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13627 if { (eval echo configure
:13628: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13629 eval "ac_cv_func_$ac_func=yes"
13631 echo "configure: failed program was:" >&5
13632 cat conftest.
$ac_ext >&5
13634 eval "ac_cv_func_$ac_func=no"
13639 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13640 echo "$ac_t""yes" 1>&6
13641 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13642 cat >> confdefs.h
<<EOF
13643 #define $ac_tr_func 1
13647 echo "$ac_t""no" 1>&6
13652 echo $ac_n "checking for statfs""... $ac_c" 1>&6
13653 echo "configure:13654: checking for statfs" >&5
13654 if eval "test \"`echo '$''{'wx_cv_func_statfs'+set}'`\" = set"; then
13655 echo $ac_n "(cached) $ac_c" 1>&6
13657 cat > conftest.
$ac_ext <<EOF
13658 #line 13659 "configure"
13659 #include "confdefs.h"
13662 #include <sys/param.h>
13663 #include <sys/mount.h>
13665 #include <sys/vfs.h>
13679 if { (eval echo configure
:13680: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13682 wx_cv_func_statfs
=yes
13685 echo "configure: failed program was:" >&5
13686 cat conftest.
$ac_ext >&5
13689 wx_cv_func_statfs
=no
13697 echo "$ac_t""$wx_cv_func_statfs" 1>&6
13699 if test "$wx_cv_func_statfs" = "yes"; then
13700 cat >> confdefs.h
<<\EOF
13701 #define HAVE_STATFS 1
13705 echo "configure: warning: wxGetDiskSpace() function won't work without statfs()" 1>&2
13708 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
13709 for ac_func
in fcntl flock
13711 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13712 echo "configure:13713: checking for $ac_func" >&5
13713 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13714 echo $ac_n "(cached) $ac_c" 1>&6
13716 cat > conftest.
$ac_ext <<EOF
13717 #line 13718 "configure"
13718 #include "confdefs.h"
13719 /* System header to define __stub macros and hopefully few prototypes,
13720 which can conflict with char $ac_func(); below. */
13721 #include <assert.h>
13722 /* Override any gcc2 internal prototype to avoid an error. */
13723 /* We use char because int might match the return type of a gcc2
13724 builtin and then its argument prototype would still apply. */
13729 /* The GNU C library defines this for functions which it implements
13730 to always fail with ENOSYS. Some functions are actually named
13731 something starting with __ and the normal name is an alias. */
13732 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13740 if { (eval echo configure
:13741: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13742 eval "ac_cv_func_$ac_func=yes"
13744 echo "configure: failed program was:" >&5
13745 cat conftest.
$ac_ext >&5
13747 eval "ac_cv_func_$ac_func=no"
13752 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13753 echo "$ac_t""yes" 1>&6
13754 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13755 cat >> confdefs.h
<<EOF
13756 #define $ac_tr_func 1
13760 echo "$ac_t""no" 1>&6
13765 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
13766 echo "configure: warning: wxSingleInstanceChecker not available" 1>&2
13767 wxUSE_SNGLINST_CHECKER
=no
13771 for ac_func
in timegm
13773 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13774 echo "configure:13775: checking for $ac_func" >&5
13775 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13776 echo $ac_n "(cached) $ac_c" 1>&6
13778 cat > conftest.
$ac_ext <<EOF
13779 #line 13780 "configure"
13780 #include "confdefs.h"
13781 /* System header to define __stub macros and hopefully few prototypes,
13782 which can conflict with char $ac_func(); below. */
13783 #include <assert.h>
13784 /* Override any gcc2 internal prototype to avoid an error. */
13785 /* We use char because int might match the return type of a gcc2
13786 builtin and then its argument prototype would still apply. */
13791 /* The GNU C library defines this for functions which it implements
13792 to always fail with ENOSYS. Some functions are actually named
13793 something starting with __ and the normal name is an alias. */
13794 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13802 if { (eval echo configure
:13803: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13804 eval "ac_cv_func_$ac_func=yes"
13806 echo "configure: failed program was:" >&5
13807 cat conftest.
$ac_ext >&5
13809 eval "ac_cv_func_$ac_func=no"
13814 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13815 echo "$ac_t""yes" 1>&6
13816 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13817 cat >> confdefs.h
<<EOF
13818 #define $ac_tr_func 1
13822 echo "$ac_t""no" 1>&6
13827 for ac_func
in putenv setenv
13829 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13830 echo "configure:13831: checking for $ac_func" >&5
13831 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13832 echo $ac_n "(cached) $ac_c" 1>&6
13834 cat > conftest.
$ac_ext <<EOF
13835 #line 13836 "configure"
13836 #include "confdefs.h"
13837 /* System header to define __stub macros and hopefully few prototypes,
13838 which can conflict with char $ac_func(); below. */
13839 #include <assert.h>
13840 /* Override any gcc2 internal prototype to avoid an error. */
13841 /* We use char because int might match the return type of a gcc2
13842 builtin and then its argument prototype would still apply. */
13847 /* The GNU C library defines this for functions which it implements
13848 to always fail with ENOSYS. Some functions are actually named
13849 something starting with __ and the normal name is an alias. */
13850 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13858 if { (eval echo configure
:13859: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13860 eval "ac_cv_func_$ac_func=yes"
13862 echo "configure: failed program was:" >&5
13863 cat conftest.
$ac_ext >&5
13865 eval "ac_cv_func_$ac_func=no"
13870 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13871 echo "$ac_t""yes" 1>&6
13872 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13873 cat >> confdefs.h
<<EOF
13874 #define $ac_tr_func 1
13878 echo "$ac_t""no" 1>&6
13883 HAVE_SOME_SLEEP_FUNC
=0
13884 if test "$USE_BEOS" = 1; then
13885 cat >> confdefs.h
<<\EOF
13886 #define HAVE_SLEEP 1
13889 HAVE_SOME_SLEEP_FUNC
=1
13892 if test "$USE_DARWIN" = 1; then
13893 cat >> confdefs.h
<<\EOF
13894 #define HAVE_USLEEP 1
13897 HAVE_SOME_SLEEP_FUNC
=1
13900 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
13902 for ac_func
in nanosleep
13904 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13905 echo "configure:13906: checking for $ac_func" >&5
13906 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13907 echo $ac_n "(cached) $ac_c" 1>&6
13909 cat > conftest.
$ac_ext <<EOF
13910 #line 13911 "configure"
13911 #include "confdefs.h"
13912 /* System header to define __stub macros and hopefully few prototypes,
13913 which can conflict with char $ac_func(); below. */
13914 #include <assert.h>
13915 /* Override any gcc2 internal prototype to avoid an error. */
13916 /* We use char because int might match the return type of a gcc2
13917 builtin and then its argument prototype would still apply. */
13922 /* The GNU C library defines this for functions which it implements
13923 to always fail with ENOSYS. Some functions are actually named
13924 something starting with __ and the normal name is an alias. */
13925 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13933 if { (eval echo configure
:13934: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13935 eval "ac_cv_func_$ac_func=yes"
13937 echo "configure: failed program was:" >&5
13938 cat conftest.
$ac_ext >&5
13940 eval "ac_cv_func_$ac_func=no"
13945 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13946 echo "$ac_t""yes" 1>&6
13947 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13948 cat >> confdefs.h
<<EOF
13949 #define $ac_tr_func 1
13951 cat >> confdefs.h
<<\EOF
13952 #define HAVE_NANOSLEEP 1
13956 echo "$ac_t""no" 1>&6
13957 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
13958 echo "configure:13959: checking for nanosleep in -lposix4" >&5
13959 ac_lib_var
=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
13960 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13961 echo $ac_n "(cached) $ac_c" 1>&6
13963 ac_save_LIBS
="$LIBS"
13964 LIBS
="-lposix4 $LIBS"
13965 cat > conftest.
$ac_ext <<EOF
13966 #line 13967 "configure"
13967 #include "confdefs.h"
13968 /* Override any gcc2 internal prototype to avoid an error. */
13969 /* We use char because int might match the return type of a gcc2
13970 builtin and then its argument prototype would still apply. */
13977 if { (eval echo configure
:13978: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13979 eval "ac_cv_lib_$ac_lib_var=yes"
13981 echo "configure: failed program was:" >&5
13982 cat conftest.
$ac_ext >&5
13984 eval "ac_cv_lib_$ac_lib_var=no"
13987 LIBS
="$ac_save_LIBS"
13990 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13991 echo "$ac_t""yes" 1>&6
13993 cat >> confdefs.h
<<\EOF
13994 #define HAVE_NANOSLEEP 1
13997 POSIX4_LINK
="-lposix4"
14000 echo "$ac_t""no" 1>&6
14002 for ac_func
in usleep
14004 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14005 echo "configure:14006: checking for $ac_func" >&5
14006 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14007 echo $ac_n "(cached) $ac_c" 1>&6
14009 cat > conftest.
$ac_ext <<EOF
14010 #line 14011 "configure"
14011 #include "confdefs.h"
14012 /* System header to define __stub macros and hopefully few prototypes,
14013 which can conflict with char $ac_func(); below. */
14014 #include <assert.h>
14015 /* Override any gcc2 internal prototype to avoid an error. */
14016 /* We use char because int might match the return type of a gcc2
14017 builtin and then its argument prototype would still apply. */
14022 /* The GNU C library defines this for functions which it implements
14023 to always fail with ENOSYS. Some functions are actually named
14024 something starting with __ and the normal name is an alias. */
14025 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14033 if { (eval echo configure
:14034: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14035 eval "ac_cv_func_$ac_func=yes"
14037 echo "configure: failed program was:" >&5
14038 cat conftest.
$ac_ext >&5
14040 eval "ac_cv_func_$ac_func=no"
14045 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14046 echo "$ac_t""yes" 1>&6
14047 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14048 cat >> confdefs.h
<<EOF
14049 #define $ac_tr_func 1
14051 cat >> confdefs.h
<<\EOF
14052 #define HAVE_USLEEP 1
14056 echo "$ac_t""no" 1>&6
14057 echo "configure: warning: wxSleep() function will not work" 1>&2
14073 for ac_func
in uname gethostname
14075 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14076 echo "configure:14077: checking for $ac_func" >&5
14077 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14078 echo $ac_n "(cached) $ac_c" 1>&6
14080 cat > conftest.
$ac_ext <<EOF
14081 #line 14082 "configure"
14082 #include "confdefs.h"
14083 /* System header to define __stub macros and hopefully few prototypes,
14084 which can conflict with char $ac_func(); below. */
14085 #include <assert.h>
14086 /* Override any gcc2 internal prototype to avoid an error. */
14087 /* We use char because int might match the return type of a gcc2
14088 builtin and then its argument prototype would still apply. */
14093 /* The GNU C library defines this for functions which it implements
14094 to always fail with ENOSYS. Some functions are actually named
14095 something starting with __ and the normal name is an alias. */
14096 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14104 if { (eval echo configure
:14105: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14106 eval "ac_cv_func_$ac_func=yes"
14108 echo "configure: failed program was:" >&5
14109 cat conftest.
$ac_ext >&5
14111 eval "ac_cv_func_$ac_func=no"
14116 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14117 echo "$ac_t""yes" 1>&6
14118 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14119 cat >> confdefs.h
<<EOF
14120 #define $ac_tr_func 1
14124 echo "$ac_t""no" 1>&6
14131 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14132 ac_cpp
='$CXXCPP $CPPFLAGS'
14133 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14134 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14135 cross_compiling
=$ac_cv_prog_cxx_cross
14138 for ac_func
in strtok_r
14140 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14141 echo "configure:14142: checking for $ac_func" >&5
14142 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14143 echo $ac_n "(cached) $ac_c" 1>&6
14145 cat > conftest.
$ac_ext <<EOF
14146 #line 14147 "configure"
14147 #include "confdefs.h"
14148 /* System header to define __stub macros and hopefully few prototypes,
14149 which can conflict with char $ac_func(); below. */
14150 #include <assert.h>
14151 /* Override any gcc2 internal prototype to avoid an error. */
14155 /* We use char because int might match the return type of a gcc2
14156 builtin and then its argument prototype would still apply. */
14161 /* The GNU C library defines this for functions which it implements
14162 to always fail with ENOSYS. Some functions are actually named
14163 something starting with __ and the normal name is an alias. */
14164 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14172 if { (eval echo configure
:14173: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14174 eval "ac_cv_func_$ac_func=yes"
14176 echo "configure: failed program was:" >&5
14177 cat conftest.
$ac_ext >&5
14179 eval "ac_cv_func_$ac_func=no"
14184 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14185 echo "$ac_t""yes" 1>&6
14186 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14187 cat >> confdefs.h
<<EOF
14188 #define $ac_tr_func 1
14192 echo "$ac_t""no" 1>&6
14198 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14199 ac_cpp
='$CPP $CPPFLAGS'
14200 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14201 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14202 cross_compiling
=$ac_cv_prog_cc_cross
14206 for ac_func
in inet_addr
14208 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14209 echo "configure:14210: checking for $ac_func" >&5
14210 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14211 echo $ac_n "(cached) $ac_c" 1>&6
14213 cat > conftest.
$ac_ext <<EOF
14214 #line 14215 "configure"
14215 #include "confdefs.h"
14216 /* System header to define __stub macros and hopefully few prototypes,
14217 which can conflict with char $ac_func(); below. */
14218 #include <assert.h>
14219 /* Override any gcc2 internal prototype to avoid an error. */
14220 /* We use char because int might match the return type of a gcc2
14221 builtin and then its argument prototype would still apply. */
14226 /* The GNU C library defines this for functions which it implements
14227 to always fail with ENOSYS. Some functions are actually named
14228 something starting with __ and the normal name is an alias. */
14229 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14237 if { (eval echo configure
:14238: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14239 eval "ac_cv_func_$ac_func=yes"
14241 echo "configure: failed program was:" >&5
14242 cat conftest.
$ac_ext >&5
14244 eval "ac_cv_func_$ac_func=no"
14249 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14250 echo "$ac_t""yes" 1>&6
14251 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14252 cat >> confdefs.h
<<EOF
14253 #define $ac_tr_func 1
14255 cat >> confdefs.h
<<\EOF
14256 #define HAVE_INET_ADDR 1
14260 echo "$ac_t""no" 1>&6
14261 echo $ac_n "checking for inet_addr in -lnsl""... $ac_c" 1>&6
14262 echo "configure:14263: checking for inet_addr in -lnsl" >&5
14263 ac_lib_var
=`echo nsl'_'inet_addr | sed 'y%./+-%__p_%'`
14264 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14265 echo $ac_n "(cached) $ac_c" 1>&6
14267 ac_save_LIBS
="$LIBS"
14269 cat > conftest.
$ac_ext <<EOF
14270 #line 14271 "configure"
14271 #include "confdefs.h"
14272 /* Override any gcc2 internal prototype to avoid an error. */
14273 /* We use char because int might match the return type of a gcc2
14274 builtin and then its argument prototype would still apply. */
14281 if { (eval echo configure
:14282: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14283 eval "ac_cv_lib_$ac_lib_var=yes"
14285 echo "configure: failed program was:" >&5
14286 cat conftest.
$ac_ext >&5
14288 eval "ac_cv_lib_$ac_lib_var=no"
14291 LIBS
="$ac_save_LIBS"
14294 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14295 echo "$ac_t""yes" 1>&6
14298 echo "$ac_t""no" 1>&6
14299 echo $ac_n "checking for inet_addr in -lresolv""... $ac_c" 1>&6
14300 echo "configure:14301: checking for inet_addr in -lresolv" >&5
14301 ac_lib_var
=`echo resolv'_'inet_addr | sed 'y%./+-%__p_%'`
14302 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14303 echo $ac_n "(cached) $ac_c" 1>&6
14305 ac_save_LIBS
="$LIBS"
14306 LIBS
="-lresolv $LIBS"
14307 cat > conftest.
$ac_ext <<EOF
14308 #line 14309 "configure"
14309 #include "confdefs.h"
14310 /* Override any gcc2 internal prototype to avoid an error. */
14311 /* We use char because int might match the return type of a gcc2
14312 builtin and then its argument prototype would still apply. */
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_lib_$ac_lib_var=yes"
14323 echo "configure: failed program was:" >&5
14324 cat conftest.
$ac_ext >&5
14326 eval "ac_cv_lib_$ac_lib_var=no"
14329 LIBS
="$ac_save_LIBS"
14332 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14333 echo "$ac_t""yes" 1>&6
14337 echo "$ac_t""no" 1>&6
14349 for ac_func
in inet_aton
14351 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14352 echo "configure:14353: checking for $ac_func" >&5
14353 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14354 echo $ac_n "(cached) $ac_c" 1>&6
14356 cat > conftest.
$ac_ext <<EOF
14357 #line 14358 "configure"
14358 #include "confdefs.h"
14359 /* System header to define __stub macros and hopefully few prototypes,
14360 which can conflict with char $ac_func(); below. */
14361 #include <assert.h>
14362 /* Override any gcc2 internal prototype to avoid an error. */
14363 /* We use char because int might match the return type of a gcc2
14364 builtin and then its argument prototype would still apply. */
14369 /* The GNU C library defines this for functions which it implements
14370 to always fail with ENOSYS. Some functions are actually named
14371 something starting with __ and the normal name is an alias. */
14372 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14380 if { (eval echo configure
:14381: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14382 eval "ac_cv_func_$ac_func=yes"
14384 echo "configure: failed program was:" >&5
14385 cat conftest.
$ac_ext >&5
14387 eval "ac_cv_func_$ac_func=no"
14392 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14393 echo "$ac_t""yes" 1>&6
14394 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14395 cat >> confdefs.h
<<EOF
14396 #define $ac_tr_func 1
14398 cat >> confdefs.h
<<\EOF
14399 #define HAVE_INET_ATON 1
14403 echo "$ac_t""no" 1>&6
14404 echo $ac_n "checking for inet_aton in -l$INET_LINK""... $ac_c" 1>&6
14405 echo "configure:14406: checking for inet_aton in -l$INET_LINK" >&5
14406 ac_lib_var
=`echo $INET_LINK'_'inet_aton | sed 'y%./+-%__p_%'`
14407 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14408 echo $ac_n "(cached) $ac_c" 1>&6
14410 ac_save_LIBS
="$LIBS"
14411 LIBS
="-l$INET_LINK $LIBS"
14412 cat > conftest.
$ac_ext <<EOF
14413 #line 14414 "configure"
14414 #include "confdefs.h"
14415 /* Override any gcc2 internal prototype to avoid an error. */
14416 /* We use char because int might match the return type of a gcc2
14417 builtin and then its argument prototype would still apply. */
14424 if { (eval echo configure
:14425: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14426 eval "ac_cv_lib_$ac_lib_var=yes"
14428 echo "configure: failed program was:" >&5
14429 cat conftest.
$ac_ext >&5
14431 eval "ac_cv_lib_$ac_lib_var=no"
14434 LIBS
="$ac_save_LIBS"
14437 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14438 echo "$ac_t""yes" 1>&6
14439 cat >> confdefs.h
<<\EOF
14440 #define HAVE_INET_ATON 1
14444 echo "$ac_t""no" 1>&6
14452 if test "x$INET_LINK" != "x"; then
14453 cat >> confdefs.h
<<\EOF
14454 #define HAVE_INET_ADDR 1
14457 INET_LINK
="-l$INET_LINK"
14463 cat > confcache
<<\EOF
14464 # This file is a shell script that caches the results of configure
14465 # tests run on this system so they can be shared between configure
14466 # scripts and configure runs. It is not useful on other systems.
14467 # If it contains results you don't want to keep, you may remove or edit it.
14469 # By default, configure uses ./config.cache as the cache file,
14470 # creating it if it does not exist already. You can give configure
14471 # the --cache-file=FILE option to use a different cache file; that is
14472 # what configure does when it calls configure scripts in
14473 # subdirectories, so they share the cache.
14474 # Giving --cache-file=/dev/null disables caching, for debugging configure.
14475 # config.status only pays attention to the cache file if you give it the
14476 # --recheck option to rerun configure.
14479 # The following way of writing the cache mishandles newlines in values,
14480 # but we know of no workaround that is simple, portable, and efficient.
14481 # So, don't put newlines in cache variables' values.
14482 # Ultrix sh set writes to stderr and can't be redirected directly,
14483 # and sets the high bit in the cache file unless we assign to the vars.
14485 case `(ac_space=' '; set | grep ac_space) 2>&1` in
14487 # `set' does not quote correctly, so add quotes (double-quote substitution
14488 # turns \\\\ into \\, and sed turns \\ into \).
14490 -e "s/'/'\\\\''/g" \
14491 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
14494 # `set' quotes correctly as required by POSIX, so do not add quotes.
14495 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
14498 if cmp -s $cache_file confcache
; then
14501 if test -w $cache_file; then
14502 echo "updating cache $cache_file"
14503 cat confcache
> $cache_file
14505 echo "not updating unwritable cache $cache_file"
14512 if test "$TOOLKIT" != "MSW"; then
14518 CODE_GEN_FLAGS_CXX
=
14520 if test "$wxUSE_THREADS" = "yes" ; then
14521 if test "$wxUSE_WINE" = 1 ; then
14522 echo "configure: warning: Threads are not supported under WINE" 1>&2
14524 elif test "$USE_BEOS" = 1; then
14525 echo "configure: warning: BeOS threads are not yet supported" 1>&2
14530 if test "$wxUSE_THREADS" = "yes" ; then
14532 if test "$USE_AIX" = 1; then
14533 THREADS_LIB
=pthreads
14535 THREADS_LIB
=pthread
14538 echo $ac_n "checking for pthread_create in -l$THREADS_LIB""... $ac_c" 1>&6
14539 echo "configure:14540: checking for pthread_create in -l$THREADS_LIB" >&5
14540 ac_lib_var
=`echo $THREADS_LIB'_'pthread_create | sed 'y%./+-%__p_%'`
14541 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14542 echo $ac_n "(cached) $ac_c" 1>&6
14544 ac_save_LIBS
="$LIBS"
14545 LIBS
="-l$THREADS_LIB $LIBS"
14546 cat > conftest.
$ac_ext <<EOF
14547 #line 14548 "configure"
14548 #include "confdefs.h"
14549 /* Override any gcc2 internal prototype to avoid an error. */
14550 /* We use char because int might match the return type of a gcc2
14551 builtin and then its argument prototype would still apply. */
14552 char pthread_create();
14558 if { (eval echo configure
:14559: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14560 eval "ac_cv_lib_$ac_lib_var=yes"
14562 echo "configure: failed program was:" >&5
14563 cat conftest.
$ac_ext >&5
14565 eval "ac_cv_lib_$ac_lib_var=no"
14568 LIBS
="$ac_save_LIBS"
14571 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14572 echo "$ac_t""yes" 1>&6
14574 THREADS_OBJ
="threadpsx.lo"
14575 THREADS_LINK
=$THREADS_LIB
14578 echo "$ac_t""no" 1>&6
14580 echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
14581 echo "configure:14582: checking for pthread_create in -lc_r" >&5
14582 ac_lib_var
=`echo c_r'_'pthread_create | sed 'y%./+-%__p_%'`
14583 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14584 echo $ac_n "(cached) $ac_c" 1>&6
14586 ac_save_LIBS
="$LIBS"
14588 cat > conftest.
$ac_ext <<EOF
14589 #line 14590 "configure"
14590 #include "confdefs.h"
14591 /* Override any gcc2 internal prototype to avoid an error. */
14592 /* We use char because int might match the return type of a gcc2
14593 builtin and then its argument prototype would still apply. */
14594 char pthread_create();
14600 if { (eval echo configure
:14601: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14602 eval "ac_cv_lib_$ac_lib_var=yes"
14604 echo "configure: failed program was:" >&5
14605 cat conftest.
$ac_ext >&5
14607 eval "ac_cv_lib_$ac_lib_var=no"
14610 LIBS
="$ac_save_LIBS"
14613 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14614 echo "$ac_t""yes" 1>&6
14616 THREADS_OBJ
="threadpsx.lo"
14620 echo "$ac_t""no" 1>&6
14622 ac_safe
=`echo "sys/prctl.h" | sed 'y%./+-%__p_%'`
14623 echo $ac_n "checking for sys/prctl.h""... $ac_c" 1>&6
14624 echo "configure:14625: checking for sys/prctl.h" >&5
14625 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14626 echo $ac_n "(cached) $ac_c" 1>&6
14628 cat > conftest.
$ac_ext <<EOF
14629 #line 14630 "configure"
14630 #include "confdefs.h"
14631 #include <sys/prctl.h>
14633 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14634 { (eval echo configure
:14635: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14635 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14636 if test -z "$ac_err"; then
14638 eval "ac_cv_header_$ac_safe=yes"
14641 echo "configure: failed program was:" >&5
14642 cat conftest.
$ac_ext >&5
14644 eval "ac_cv_header_$ac_safe=no"
14648 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14649 echo "$ac_t""yes" 1>&6
14651 THREADS_OBJ
="threadsgi.lo"
14654 echo "$ac_t""no" 1>&6
14664 if test -z "$THREADS_OBJ" ; then
14666 echo "configure: warning: No thread support on this system" 1>&2
14670 if test "$wxUSE_THREADS" = "yes" ; then
14671 for ac_func
in thr_setconcurrency
14673 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14674 echo "configure:14675: checking for $ac_func" >&5
14675 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14676 echo $ac_n "(cached) $ac_c" 1>&6
14678 cat > conftest.
$ac_ext <<EOF
14679 #line 14680 "configure"
14680 #include "confdefs.h"
14681 /* System header to define __stub macros and hopefully few prototypes,
14682 which can conflict with char $ac_func(); below. */
14683 #include <assert.h>
14684 /* Override any gcc2 internal prototype to avoid an error. */
14685 /* We use char because int might match the return type of a gcc2
14686 builtin and then its argument prototype would still apply. */
14691 /* The GNU C library defines this for functions which it implements
14692 to always fail with ENOSYS. Some functions are actually named
14693 something starting with __ and the normal name is an alias. */
14694 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14702 if { (eval echo configure
:14703: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14704 eval "ac_cv_func_$ac_func=yes"
14706 echo "configure: failed program was:" >&5
14707 cat conftest.
$ac_ext >&5
14709 eval "ac_cv_func_$ac_func=no"
14714 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14715 echo "$ac_t""yes" 1>&6
14716 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14717 cat >> confdefs.h
<<EOF
14718 #define $ac_tr_func 1
14722 echo "$ac_t""no" 1>&6
14728 for ac_hdr
in sched.h
14730 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
14731 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
14732 echo "configure:14733: checking for $ac_hdr" >&5
14733 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14734 echo $ac_n "(cached) $ac_c" 1>&6
14736 cat > conftest.
$ac_ext <<EOF
14737 #line 14738 "configure"
14738 #include "confdefs.h"
14741 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14742 { (eval echo configure
:14743: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14743 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14744 if test -z "$ac_err"; then
14746 eval "ac_cv_header_$ac_safe=yes"
14749 echo "configure: failed program was:" >&5
14750 cat conftest.
$ac_ext >&5
14752 eval "ac_cv_header_$ac_safe=no"
14756 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14757 echo "$ac_t""yes" 1>&6
14758 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
14759 cat >> confdefs.h
<<EOF
14760 #define $ac_tr_hdr 1
14764 echo "$ac_t""no" 1>&6
14769 echo $ac_n "checking for sched_yield in -l$THREADS_LINK""... $ac_c" 1>&6
14770 echo "configure:14771: checking for sched_yield in -l$THREADS_LINK" >&5
14771 ac_lib_var
=`echo $THREADS_LINK'_'sched_yield | sed 'y%./+-%__p_%'`
14772 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14773 echo $ac_n "(cached) $ac_c" 1>&6
14775 ac_save_LIBS
="$LIBS"
14776 LIBS
="-l$THREADS_LINK $LIBS"
14777 cat > conftest.
$ac_ext <<EOF
14778 #line 14779 "configure"
14779 #include "confdefs.h"
14780 /* Override any gcc2 internal prototype to avoid an error. */
14781 /* We use char because int might match the return type of a gcc2
14782 builtin and then its argument prototype would still apply. */
14783 char sched_yield();
14789 if { (eval echo configure
:14790: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14791 eval "ac_cv_lib_$ac_lib_var=yes"
14793 echo "configure: failed program was:" >&5
14794 cat conftest.
$ac_ext >&5
14796 eval "ac_cv_lib_$ac_lib_var=no"
14799 LIBS
="$ac_save_LIBS"
14802 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14803 echo "$ac_t""yes" 1>&6
14804 cat >> confdefs.h
<<\EOF
14805 #define HAVE_SCHED_YIELD 1
14809 echo "$ac_t""no" 1>&6
14810 echo $ac_n "checking for sched_yield in -lposix4""... $ac_c" 1>&6
14811 echo "configure:14812: checking for sched_yield in -lposix4" >&5
14812 ac_lib_var
=`echo posix4'_'sched_yield | sed 'y%./+-%__p_%'`
14813 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14814 echo $ac_n "(cached) $ac_c" 1>&6
14816 ac_save_LIBS
="$LIBS"
14817 LIBS
="-lposix4 $LIBS"
14818 cat > conftest.
$ac_ext <<EOF
14819 #line 14820 "configure"
14820 #include "confdefs.h"
14821 /* Override any gcc2 internal prototype to avoid an error. */
14822 /* We use char because int might match the return type of a gcc2
14823 builtin and then its argument prototype would still apply. */
14824 char sched_yield();
14830 if { (eval echo configure
:14831: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14832 eval "ac_cv_lib_$ac_lib_var=yes"
14834 echo "configure: failed program was:" >&5
14835 cat conftest.
$ac_ext >&5
14837 eval "ac_cv_lib_$ac_lib_var=no"
14840 LIBS
="$ac_save_LIBS"
14843 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14844 echo "$ac_t""yes" 1>&6
14845 cat >> confdefs.h
<<\EOF
14846 #define HAVE_SCHED_YIELD 1
14848 POSIX4_LINK
="-lposix4"
14850 echo "$ac_t""no" 1>&6
14851 echo "configure: warning: wxThread::Yield will not work properly" 1>&2
14860 echo $ac_n "checking for pthread_attr_getschedpolicy in -l$THREADS_LINK""... $ac_c" 1>&6
14861 echo "configure:14862: checking for pthread_attr_getschedpolicy in -l$THREADS_LINK" >&5
14862 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
14863 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14864 echo $ac_n "(cached) $ac_c" 1>&6
14866 ac_save_LIBS
="$LIBS"
14867 LIBS
="-l$THREADS_LINK $LIBS"
14868 cat > conftest.
$ac_ext <<EOF
14869 #line 14870 "configure"
14870 #include "confdefs.h"
14871 /* Override any gcc2 internal prototype to avoid an error. */
14872 /* We use char because int might match the return type of a gcc2
14873 builtin and then its argument prototype would still apply. */
14874 char pthread_attr_getschedpolicy();
14877 pthread_attr_getschedpolicy()
14880 if { (eval echo configure
:14881: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14882 eval "ac_cv_lib_$ac_lib_var=yes"
14884 echo "configure: failed program was:" >&5
14885 cat conftest.
$ac_ext >&5
14887 eval "ac_cv_lib_$ac_lib_var=no"
14890 LIBS
="$ac_save_LIBS"
14893 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14894 echo "$ac_t""yes" 1>&6
14895 echo $ac_n "checking for pthread_attr_setschedparam in -l$THREADS_LINK""... $ac_c" 1>&6
14896 echo "configure:14897: checking for pthread_attr_setschedparam in -l$THREADS_LINK" >&5
14897 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_setschedparam | sed 'y%./+-%__p_%'`
14898 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14899 echo $ac_n "(cached) $ac_c" 1>&6
14901 ac_save_LIBS
="$LIBS"
14902 LIBS
="-l$THREADS_LINK $LIBS"
14903 cat > conftest.
$ac_ext <<EOF
14904 #line 14905 "configure"
14905 #include "confdefs.h"
14906 /* Override any gcc2 internal prototype to avoid an error. */
14907 /* We use char because int might match the return type of a gcc2
14908 builtin and then its argument prototype would still apply. */
14909 char pthread_attr_setschedparam();
14912 pthread_attr_setschedparam()
14915 if { (eval echo configure
:14916: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14917 eval "ac_cv_lib_$ac_lib_var=yes"
14919 echo "configure: failed program was:" >&5
14920 cat conftest.
$ac_ext >&5
14922 eval "ac_cv_lib_$ac_lib_var=no"
14925 LIBS
="$ac_save_LIBS"
14928 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14929 echo "$ac_t""yes" 1>&6
14930 echo $ac_n "checking for sched_get_priority_max in -l$THREADS_LINK""... $ac_c" 1>&6
14931 echo "configure:14932: checking for sched_get_priority_max in -l$THREADS_LINK" >&5
14932 ac_lib_var
=`echo $THREADS_LINK'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
14933 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14934 echo $ac_n "(cached) $ac_c" 1>&6
14936 ac_save_LIBS
="$LIBS"
14937 LIBS
="-l$THREADS_LINK $LIBS"
14938 cat > conftest.
$ac_ext <<EOF
14939 #line 14940 "configure"
14940 #include "confdefs.h"
14941 /* Override any gcc2 internal prototype to avoid an error. */
14942 /* We use char because int might match the return type of a gcc2
14943 builtin and then its argument prototype would still apply. */
14944 char sched_get_priority_max();
14947 sched_get_priority_max()
14950 if { (eval echo configure
:14951: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14952 eval "ac_cv_lib_$ac_lib_var=yes"
14954 echo "configure: failed program was:" >&5
14955 cat conftest.
$ac_ext >&5
14957 eval "ac_cv_lib_$ac_lib_var=no"
14960 LIBS
="$ac_save_LIBS"
14963 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14964 echo "$ac_t""yes" 1>&6
14967 echo "$ac_t""no" 1>&6
14968 echo $ac_n "checking for sched_get_priority_max in -lposix4""... $ac_c" 1>&6
14969 echo "configure:14970: checking for sched_get_priority_max in -lposix4" >&5
14970 ac_lib_var
=`echo posix4'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
14971 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14972 echo $ac_n "(cached) $ac_c" 1>&6
14974 ac_save_LIBS
="$LIBS"
14975 LIBS
="-lposix4 $LIBS"
14976 cat > conftest.
$ac_ext <<EOF
14977 #line 14978 "configure"
14978 #include "confdefs.h"
14979 /* Override any gcc2 internal prototype to avoid an error. */
14980 /* We use char because int might match the return type of a gcc2
14981 builtin and then its argument prototype would still apply. */
14982 char sched_get_priority_max();
14985 sched_get_priority_max()
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_lib_$ac_lib_var=yes"
14992 echo "configure: failed program was:" >&5
14993 cat conftest.
$ac_ext >&5
14995 eval "ac_cv_lib_$ac_lib_var=no"
14998 LIBS
="$ac_save_LIBS"
15001 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15002 echo "$ac_t""yes" 1>&6
15005 POSIX4_LINK
="-lposix4"
15008 echo "$ac_t""no" 1>&6
15016 echo "$ac_t""no" 1>&6
15021 echo "$ac_t""no" 1>&6
15025 if test "$HAVE_PRIOR_FUNCS" = 1; then
15026 cat >> confdefs.h
<<\EOF
15027 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
15031 echo "configure: warning: Setting thread priority will not work" 1>&2
15034 echo $ac_n "checking for pthread_cancel in -l$THREADS_LINK""... $ac_c" 1>&6
15035 echo "configure:15036: checking for pthread_cancel in -l$THREADS_LINK" >&5
15036 ac_lib_var
=`echo $THREADS_LINK'_'pthread_cancel | sed 'y%./+-%__p_%'`
15037 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15038 echo $ac_n "(cached) $ac_c" 1>&6
15040 ac_save_LIBS
="$LIBS"
15041 LIBS
="-l$THREADS_LINK $LIBS"
15042 cat > conftest.
$ac_ext <<EOF
15043 #line 15044 "configure"
15044 #include "confdefs.h"
15045 /* Override any gcc2 internal prototype to avoid an error. */
15046 /* We use char because int might match the return type of a gcc2
15047 builtin and then its argument prototype would still apply. */
15048 char pthread_cancel();
15054 if { (eval echo configure
:15055: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15056 eval "ac_cv_lib_$ac_lib_var=yes"
15058 echo "configure: failed program was:" >&5
15059 cat conftest.
$ac_ext >&5
15061 eval "ac_cv_lib_$ac_lib_var=no"
15064 LIBS
="$ac_save_LIBS"
15067 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15068 echo "$ac_t""yes" 1>&6
15069 cat >> confdefs.h
<<\EOF
15070 #define HAVE_PTHREAD_CANCEL 1
15074 echo "$ac_t""no" 1>&6
15075 echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
15079 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
15080 echo "configure:15081: checking for pthread_cleanup_push/pop" >&5
15081 if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
15082 echo $ac_n "(cached) $ac_c" 1>&6
15085 cat > conftest.
$ac_ext <<EOF
15086 #line 15087 "configure"
15087 #include "confdefs.h"
15088 #include <pthread.h>
15091 pthread_cleanup_push(NULL, NULL);
15092 pthread_cleanup_pop(0);
15096 if { (eval echo configure
:15097: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15099 wx_cv_func_pthread_cleanup_push
=yes
15102 echo "configure: failed program was:" >&5
15103 cat conftest.
$ac_ext >&5
15106 wx_cv_func_pthread_cleanup_push
=no
15113 echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
15115 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
15116 cat >> confdefs.h
<<\EOF
15117 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
15123 if test "x$wx_lib_glibc21" = "xyes"; then
15124 CPPFLAGS
="$CPPFLAGS -D_GNU_SOURCE"
15127 echo $ac_n "checking for pthread_mutexattr_t""... $ac_c" 1>&6
15128 echo "configure:15129: checking for pthread_mutexattr_t" >&5
15129 if eval "test \"`echo '$''{'wx_cv_type_pthread_mutexattr_t'+set}'`\" = set"; then
15130 echo $ac_n "(cached) $ac_c" 1>&6
15133 cat > conftest.
$ac_ext <<EOF
15134 #line 15135 "configure"
15135 #include "confdefs.h"
15136 #include <pthread.h>
15139 pthread_mutexattr_t attr;
15140 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
15144 if { (eval echo configure
:15145: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15147 wx_cv_type_pthread_mutexattr_t
=yes
15150 echo "configure: failed program was:" >&5
15151 cat conftest.
$ac_ext >&5
15154 wx_cv_type_pthread_mutexattr_t
=no
15162 echo "$ac_t""$wx_cv_type_pthread_mutexattr_t" 1>&6
15164 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
15165 cat >> confdefs.h
<<\EOF
15166 #define HAVE_PTHREAD_MUTEXATTR_T 1
15170 echo $ac_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER""... $ac_c" 1>&6
15171 echo "configure:15172: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
15172 if eval "test \"`echo '$''{'wx_cv_type_pthread_rec_mutex_init'+set}'`\" = set"; then
15173 echo $ac_n "(cached) $ac_c" 1>&6
15176 cat > conftest.
$ac_ext <<EOF
15177 #line 15178 "configure"
15178 #include "confdefs.h"
15179 #include <pthread.h>
15182 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
15186 if { (eval echo configure
:15187: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15189 wx_cv_type_pthread_rec_mutex_init
=yes
15192 echo "configure: failed program was:" >&5
15193 cat conftest.
$ac_ext >&5
15196 wx_cv_type_pthread_rec_mutex_init
=no
15204 echo "$ac_t""$wx_cv_type_pthread_rec_mutex_init" 1>&6
15205 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
15206 cat >> confdefs.h
<<\EOF
15207 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
15211 echo "configure: warning: wxMutex won't be recursive on this platform" 1>&2
15215 THREADS_LINK
="-l$THREADS_LINK"
15217 if test "$USE_SOLARIS" = "yes" -a "$GCC" != "yes"; then
15218 CPPFLAGS
="${CFLAGS} -mt"
15219 CXXFLAGS
="${CXXFLAGS} -mt"
15220 LDFLAGS
="${LDFLAGS} -mt"
15226 if test "$wxUSE_THREADS" = "yes"; then
15227 cat >> confdefs.h
<<\EOF
15228 #define wxUSE_THREADS 1
15232 if test "$USE_DARWIN" != 1; then
15233 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
15236 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
15238 if test "$ac_cv_func_strtok_r" = "yes"; then
15239 echo $ac_n "checking if -D_REENTRANT is needed""... $ac_c" 1>&6
15240 echo "configure:15241: checking if -D_REENTRANT is needed" >&5
15241 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
15242 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
15243 echo "$ac_t""yes" 1>&6
15245 echo "$ac_t""no" 1>&6
15250 if test "$WXGTK20" = 1 ; then
15251 cat >> confdefs.h
<<EOF
15252 #define __WXGTK20__ $WXGTK20
15258 if test "$WXGTK12" = 1 ; then
15259 cat >> confdefs.h
<<EOF
15260 #define __WXGTK12__ $WXGTK12
15265 if test "$WXGTK127" = 1 ; then
15266 cat >> confdefs.h
<<EOF
15267 #define __WXGTK127__ $WXGTK127
15274 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
15279 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
15280 wxUSE_DEBUG_INFO
=yes
15284 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
15285 cat >> confdefs.h
<<\EOF
15289 WXDEBUG_DEFINE
="-D__WXDEBUG__"
15291 if test "$wxUSE_GTK" = 1 ; then
15292 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
15296 if test "$wxUSE_MEM_TRACING" = "yes" ; then
15297 cat >> confdefs.h
<<\EOF
15298 #define wxUSE_MEMORY_TRACING 1
15301 cat >> confdefs.h
<<\EOF
15302 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
15305 cat >> confdefs.h
<<\EOF
15306 #define wxUSE_DEBUG_NEW_ALWAYS 1
15309 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
15312 if test "$wxUSE_DMALLOC" = "yes" ; then
15313 DMALLOC_LINK
="-ldmalloc"
15317 if test "$wxUSE_PROFILE" = "yes" ; then
15321 if test "$GCC" = yes ; then
15322 if test "$wxUSE_NO_RTTI" = "yes" ; then
15323 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
15325 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
15326 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
15328 if test "$wxUSE_PERMISSIVE" = "yes" ; then
15329 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
15331 if test "$wxUSE_NO_DEPS" = "no" ; then
15332 CFLAGS
="-MMD ${CFLAGS}"
15333 CXXFLAGS
="-MMD ${CXXFLAGS}"
15335 if test "$USE_WIN32" = 1 ; then
15336 # I'm not even really sure what this was ever added to solve,
15337 # but someone added it for mingw native builds, so I guess
15338 # they had a reason, right??
15339 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fno-pcc-struct-return"
15344 CXXFLAGS
=`echo "${CXXFLAGS}" | sed "s/\-O.//g" `
15345 CFLAGS
=`echo "${CFLAGS}" | sed "s/\-O.//g" `
15346 if test "$wxUSE_OPTIMISE" = "no" ; then
15349 if test "$GCC" = yes ; then
15352 i586
-*-*|i686
-*-* )
15353 OPTIMISE
="${OPTIMISE} "
15361 if test "$WXWIN_COMPATIBILITY_2" = "yes"; then
15362 cat >> confdefs.h
<<\EOF
15363 #define WXWIN_COMPATIBILITY_2 1
15367 WXWIN_COMPATIBILITY_2_2
="yes"
15370 if test "$WXWIN_COMPATIBILITY_2_2" = "yes"; then
15371 cat >> confdefs.h
<<\EOF
15372 #define WXWIN_COMPATIBILITY_2_2 1
15379 if test "$wxUSE_ZLIB" = "yes" -o "$wxUSE_ZLIB" = "sys" ; then
15380 cat >> confdefs.h
<<\EOF
15381 #define wxUSE_ZLIB 1
15384 if test "$wxUSE_ZLIB" = "yes" ; then
15385 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
15388 ac_safe
=`echo "zlib.h" | sed 'y%./+-%__p_%'`
15389 echo $ac_n "checking for zlib.h""... $ac_c" 1>&6
15390 echo "configure:15391: checking for zlib.h" >&5
15391 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15392 echo $ac_n "(cached) $ac_c" 1>&6
15394 cat > conftest.
$ac_ext <<EOF
15395 #line 15396 "configure"
15396 #include "confdefs.h"
15399 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15400 { (eval echo configure
:15401: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15401 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15402 if test -z "$ac_err"; then
15404 eval "ac_cv_header_$ac_safe=yes"
15407 echo "configure: failed program was:" >&5
15408 cat conftest.
$ac_ext >&5
15410 eval "ac_cv_header_$ac_safe=no"
15414 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15415 echo "$ac_t""yes" 1>&6
15416 echo $ac_n "checking for deflate in -lz""... $ac_c" 1>&6
15417 echo "configure:15418: checking for deflate in -lz" >&5
15418 ac_lib_var
=`echo z'_'deflate | sed 'y%./+-%__p_%'`
15419 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15420 echo $ac_n "(cached) $ac_c" 1>&6
15422 ac_save_LIBS
="$LIBS"
15424 cat > conftest.
$ac_ext <<EOF
15425 #line 15426 "configure"
15426 #include "confdefs.h"
15427 /* Override any gcc2 internal prototype to avoid an error. */
15428 /* We use char because int might match the return type of a gcc2
15429 builtin and then its argument prototype would still apply. */
15436 if { (eval echo configure
:15437: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15438 eval "ac_cv_lib_$ac_lib_var=yes"
15440 echo "configure: failed program was:" >&5
15441 cat conftest.
$ac_ext >&5
15443 eval "ac_cv_lib_$ac_lib_var=no"
15446 LIBS
="$ac_save_LIBS"
15449 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15450 echo "$ac_t""yes" 1>&6
15453 echo "$ac_t""no" 1>&6
15457 echo "$ac_t""no" 1>&6
15460 if test "x$ZLIB_LINK" = "x" ; then
15461 { echo "configure: error: system zlib compression library not found! Use --with-zlib=yes to use built-in zlib" 1>&2; exit 1; }
15467 if test "$wxUSE_LIBPNG" = "yes" -o "$wxUSE_LIBPNG" = "sys" ; then
15468 cat >> confdefs.h
<<\EOF
15469 #define wxUSE_LIBPNG 1
15472 if test "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
15473 echo "configure: warning: --with-libpng=sys doesn't work without --with-zlib=sys, will compile the built-in libpng instead" 1>&2
15477 if test "$wxUSE_LIBPNG" = "yes" ; then
15478 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
15481 ac_safe
=`echo "png.h" | sed 'y%./+-%__p_%'`
15482 echo $ac_n "checking for png.h""... $ac_c" 1>&6
15483 echo "configure:15484: checking for png.h" >&5
15484 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15485 echo $ac_n "(cached) $ac_c" 1>&6
15487 cat > conftest.
$ac_ext <<EOF
15488 #line 15489 "configure"
15489 #include "confdefs.h"
15492 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15493 { (eval echo configure
:15494: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15494 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15495 if test -z "$ac_err"; then
15497 eval "ac_cv_header_$ac_safe=yes"
15500 echo "configure: failed program was:" >&5
15501 cat conftest.
$ac_ext >&5
15503 eval "ac_cv_header_$ac_safe=no"
15507 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15508 echo "$ac_t""yes" 1>&6
15509 echo $ac_n "checking for png_check_sig in -lpng""... $ac_c" 1>&6
15510 echo "configure:15511: checking for png_check_sig in -lpng" >&5
15511 ac_lib_var
=`echo png'_'png_check_sig | 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"
15516 LIBS
="-lpng -lz -lm $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. */
15523 char png_check_sig();
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
15551 echo "$ac_t""no" 1>&6
15554 if test "x$PNG_LINK" = "x" ; then
15555 { echo "configure: error: system png library not found! Use --with-libpng=yes to use the built-in libpng" 1>&2; exit 1; }
15559 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
15563 if test "$wxUSE_LIBJPEG" = "yes" -o "$wxUSE_LIBJPEG" = "sys" ; then
15564 cat >> confdefs.h
<<\EOF
15565 #define wxUSE_LIBJPEG 1
15568 if test "$wxUSE_LIBJPEG" = "yes" ; then
15569 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
15572 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6
15573 echo "configure:15574: checking for jpeglib.h" >&5
15574 if eval "test \"`echo '$''{'ac_cv_header_jpeglib_h'+set}'`\" = set"; then
15575 echo $ac_n "(cached) $ac_c" 1>&6
15577 cat > conftest.
$ac_ext <<EOF
15578 #line 15579 "configure"
15579 #include "confdefs.h"
15581 #undef HAVE_STDLIB_H
15583 #include <jpeglib.h>
15590 if { (eval echo configure
:15591: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15592 ac_cv_header_jpeglib_h
=yes
15594 echo "configure: failed program was:" >&5
15595 cat conftest.
$ac_ext >&5
15597 ac_cv_header_jpeglib_h
=no
15604 echo "$ac_t""$ac_cv_header_jpeglib_h" 1>&6
15606 if test "$ac_cv_header_jpeglib_h" = "yes"; then
15607 echo $ac_n "checking for jpeg_read_header in -ljpeg""... $ac_c" 1>&6
15608 echo "configure:15609: checking for jpeg_read_header in -ljpeg" >&5
15609 ac_lib_var
=`echo jpeg'_'jpeg_read_header | sed 'y%./+-%__p_%'`
15610 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15611 echo $ac_n "(cached) $ac_c" 1>&6
15613 ac_save_LIBS
="$LIBS"
15614 LIBS
="-ljpeg $LIBS"
15615 cat > conftest.
$ac_ext <<EOF
15616 #line 15617 "configure"
15617 #include "confdefs.h"
15618 /* Override any gcc2 internal prototype to avoid an error. */
15619 /* We use char because int might match the return type of a gcc2
15620 builtin and then its argument prototype would still apply. */
15621 char jpeg_read_header();
15627 if { (eval echo configure
:15628: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15629 eval "ac_cv_lib_$ac_lib_var=yes"
15631 echo "configure: failed program was:" >&5
15632 cat conftest.
$ac_ext >&5
15634 eval "ac_cv_lib_$ac_lib_var=no"
15637 LIBS
="$ac_save_LIBS"
15640 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15641 echo "$ac_t""yes" 1>&6
15644 echo "$ac_t""no" 1>&6
15649 if test "x$JPEG_LINK" = "x" ; then
15650 { echo "configure: error: system jpeg library not found! Use --with-libjpeg=yes to use the built-in one" 1>&2; exit 1; }
15656 if test "$wxUSE_LIBTIFF" = "yes" -o "$wxUSE_LIBTIFF" = "sys" ; then
15657 cat >> confdefs.h
<<\EOF
15658 #define wxUSE_LIBTIFF 1
15661 if test "$wxUSE_LIBTIFF" = "yes" ; then
15662 TIFF_INCLUDE
="-I\${top_srcdir}/src/tiff"
15665 ac_safe
=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
15666 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
15667 echo "configure:15668: checking for tiffio.h" >&5
15668 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15669 echo $ac_n "(cached) $ac_c" 1>&6
15671 cat > conftest.
$ac_ext <<EOF
15672 #line 15673 "configure"
15673 #include "confdefs.h"
15674 #include <tiffio.h>
15676 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15677 { (eval echo configure
:15678: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15678 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15679 if test -z "$ac_err"; then
15681 eval "ac_cv_header_$ac_safe=yes"
15684 echo "configure: failed program was:" >&5
15685 cat conftest.
$ac_ext >&5
15687 eval "ac_cv_header_$ac_safe=no"
15691 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15692 echo "$ac_t""yes" 1>&6
15693 echo $ac_n "checking for TIFFError in -ltiff""... $ac_c" 1>&6
15694 echo "configure:15695: checking for TIFFError in -ltiff" >&5
15695 ac_lib_var
=`echo tiff'_'TIFFError | sed 'y%./+-%__p_%'`
15696 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15697 echo $ac_n "(cached) $ac_c" 1>&6
15699 ac_save_LIBS
="$LIBS"
15700 LIBS
="-ltiff -lm $LIBS"
15701 cat > conftest.
$ac_ext <<EOF
15702 #line 15703 "configure"
15703 #include "confdefs.h"
15704 /* Override any gcc2 internal prototype to avoid an error. */
15705 /* We use char because int might match the return type of a gcc2
15706 builtin and then its argument prototype would still apply. */
15713 if { (eval echo configure
:15714: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15715 eval "ac_cv_lib_$ac_lib_var=yes"
15717 echo "configure: failed program was:" >&5
15718 cat conftest.
$ac_ext >&5
15720 eval "ac_cv_lib_$ac_lib_var=no"
15723 LIBS
="$ac_save_LIBS"
15726 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15727 echo "$ac_t""yes" 1>&6
15730 echo "$ac_t""no" 1>&6
15734 echo "$ac_t""no" 1>&6
15737 if test "x$TIFF_LINK" = "x" ; then
15738 { echo "configure: error: system tiff library not found! Use --with-libtiff=yes to use the built-in one" 1>&2; exit 1; }
15744 if test "$wxUSE_FREETYPE" = "yes" -o "$wxUSE_FREETYPE" = "sys" ; then
15745 cat >> confdefs.h
<<\EOF
15746 #define wxUSE_FREETYPE 1
15749 if test "$wxUSE_FREETYPE" = "yes" ; then
15750 FREETYPE_INCLUDE
="-I\${top_srcdir}/src/freetype"
15753 ac_safe
=`echo "freetype.h" | sed 'y%./+-%__p_%'`
15754 echo $ac_n "checking for freetype.h""... $ac_c" 1>&6
15755 echo "configure:15756: checking for freetype.h" >&5
15756 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15757 echo $ac_n "(cached) $ac_c" 1>&6
15759 cat > conftest.
$ac_ext <<EOF
15760 #line 15761 "configure"
15761 #include "confdefs.h"
15762 #include <freetype.h>
15764 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15765 { (eval echo configure
:15766: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15766 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15767 if test -z "$ac_err"; then
15769 eval "ac_cv_header_$ac_safe=yes"
15772 echo "configure: failed program was:" >&5
15773 cat conftest.
$ac_ext >&5
15775 eval "ac_cv_header_$ac_safe=no"
15779 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15780 echo "$ac_t""yes" 1>&6
15781 echo $ac_n "checking for FT_Render_Glyph in -lfreetype""... $ac_c" 1>&6
15782 echo "configure:15783: checking for FT_Render_Glyph in -lfreetype" >&5
15783 ac_lib_var
=`echo freetype'_'FT_Render_Glyph | sed 'y%./+-%__p_%'`
15784 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15785 echo $ac_n "(cached) $ac_c" 1>&6
15787 ac_save_LIBS
="$LIBS"
15788 LIBS
="-lfreetype -lm $LIBS"
15789 cat > conftest.
$ac_ext <<EOF
15790 #line 15791 "configure"
15791 #include "confdefs.h"
15792 /* Override any gcc2 internal prototype to avoid an error. */
15793 /* We use char because int might match the return type of a gcc2
15794 builtin and then its argument prototype would still apply. */
15795 char FT_Render_Glyph();
15801 if { (eval echo configure
:15802: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15803 eval "ac_cv_lib_$ac_lib_var=yes"
15805 echo "configure: failed program was:" >&5
15806 cat conftest.
$ac_ext >&5
15808 eval "ac_cv_lib_$ac_lib_var=no"
15811 LIBS
="$ac_save_LIBS"
15814 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15815 echo "$ac_t""yes" 1>&6
15816 FREETYPE_LINK
="-lfreetype"
15818 echo "$ac_t""no" 1>&6
15823 echo "$ac_t""no" 1>&6
15826 if test "x$FREETYPE_LINK" = "x" ; then
15827 { echo "configure: error: system freetype library not found! Use --with-freetype=yes to use the built-in freetype" 1>&2; exit 1; }
15833 if test "$wxUSE_GUI" = "yes"; then
15834 cat >> confdefs.h
<<\EOF
15835 #define wxUSE_GUI 1
15840 cat >> confdefs.h
<<\EOF
15841 #define wxUSE_NOGUI 1
15847 if test "$wxUSE_UNIX" = "yes"; then
15848 cat >> confdefs.h
<<\EOF
15849 #define wxUSE_UNIX 1
15855 if test "$wxUSE_APPLE_IEEE" = "yes"; then
15856 cat >> confdefs.h
<<\EOF
15857 #define wxUSE_APPLE_IEEE 1
15862 if test "$wxUSE_TIMER" = "yes"; then
15863 cat >> confdefs.h
<<\EOF
15864 #define wxUSE_TIMER 1
15869 if test "$wxUSE_WAVE" = "yes"; then
15870 cat >> confdefs.h
<<\EOF
15871 #define wxUSE_WAVE 1
15876 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
15877 cat >> confdefs.h
<<\EOF
15878 #define wxUSE_CMDLINE_PARSER 1
15883 if test "$wxUSE_STOPWATCH" = "yes"; then
15884 cat >> confdefs.h
<<\EOF
15885 #define wxUSE_STOPWATCH 1
15890 if test "$wxUSE_DATETIME" = "yes"; then
15891 cat >> confdefs.h
<<\EOF
15892 #define wxUSE_DATETIME 1
15897 if test "$wxUSE_TIMEDATE" = "yes"; then
15898 cat >> confdefs.h
<<\EOF
15899 #define wxUSE_TIMEDATE 1
15904 if test "$wxUSE_FILE" = "yes"; then
15905 cat >> confdefs.h
<<\EOF
15906 #define wxUSE_FILE 1
15911 if test "$wxUSE_FFILE" = "yes"; then
15912 cat >> confdefs.h
<<\EOF
15913 #define wxUSE_FFILE 1
15918 if test "$wxUSE_FILESYSTEM" = "yes"; then
15919 cat >> confdefs.h
<<\EOF
15920 #define wxUSE_FILESYSTEM 1
15925 if test "$wxUSE_FS_INET" = "yes"; then
15926 cat >> confdefs.h
<<\EOF
15927 #define wxUSE_FS_INET 1
15932 if test "$wxUSE_FS_ZIP" = "yes"; then
15933 cat >> confdefs.h
<<\EOF
15934 #define wxUSE_FS_ZIP 1
15939 if test "$wxUSE_ZIPSTREAM" = "yes"; then
15940 cat >> confdefs.h
<<\EOF
15941 #define wxUSE_ZIPSTREAM 1
15946 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
15947 cat >> confdefs.h
<<\EOF
15948 #define wxUSE_ON_FATAL_EXCEPTION 1
15953 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
15954 cat >> confdefs.h
<<\EOF
15955 #define wxUSE_SNGLINST_CHECKER 1
15960 if test "$wxUSE_BUSYINFO" = "yes"; then
15961 cat >> confdefs.h
<<\EOF
15962 #define wxUSE_BUSYINFO 1
15967 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
15968 cat >> confdefs.h
<<\EOF
15969 #define wxUSE_STD_IOSTREAM 1
15974 if test "$wxUSE_TEXTFILE" = "yes"; then
15975 if test "$wxUSE_FILE" != "yes"; then
15976 echo "configure: warning: wxTextFile requires wxFile and it won't be compiled without it" 1>&2
15978 cat >> confdefs.h
<<\EOF
15979 #define wxUSE_TEXTFILE 1
15985 if test "$wxUSE_CONFIG" = "yes" ; then
15986 if test "$wxUSE_TEXTFILE" != "yes"; then
15987 echo "configure: warning: wxConfig requires wxTextFile and it won't be compiled without it" 1>&2
15989 cat >> confdefs.h
<<\EOF
15990 #define wxUSE_CONFIG 1
15993 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
15997 if test "$wxUSE_INTL" = "yes" ; then
15998 if test "$wxUSE_FILE" != "yes"; then
15999 echo "configure: warning: I18n code requires wxFile and it won't be compiled without it" 1>&2
16001 cat >> confdefs.h
<<\EOF
16002 #define wxUSE_INTL 1
16005 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
16006 GUIDIST
="$GUIDIST INTL_DIST"
16010 if test "$wxUSE_LOG" = "yes"; then
16011 cat >> confdefs.h
<<\EOF
16012 #define wxUSE_LOG 1
16016 if test "$wxUSE_LOGGUI" = "yes"; then
16017 cat >> confdefs.h
<<\EOF
16018 #define wxUSE_LOGGUI 1
16023 if test "$wxUSE_LOGWINDOW" = "yes"; then
16024 cat >> confdefs.h
<<\EOF
16025 #define wxUSE_LOGWINDOW 1
16031 if test "$wxUSE_LONGLONG" = "yes"; then
16032 cat >> confdefs.h
<<\EOF
16033 #define wxUSE_LONGLONG 1
16038 if test "$wxUSE_GEOMETRY" = "yes"; then
16039 cat >> confdefs.h
<<\EOF
16040 #define wxUSE_GEOMETRY 1
16045 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
16046 cat >> confdefs.h
<<\EOF
16047 #define wxUSE_DIALUP_MANAGER 1
16050 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
16053 if test "$wxUSE_STREAMS" = "yes" ; then
16054 cat >> confdefs.h
<<\EOF
16055 #define wxUSE_STREAMS 1
16061 if test "$wxUSE_DATETIME" = "yes"; then
16062 for ac_func
in strptime
16064 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16065 echo "configure:16066: checking for $ac_func" >&5
16066 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16067 echo $ac_n "(cached) $ac_c" 1>&6
16069 cat > conftest.
$ac_ext <<EOF
16070 #line 16071 "configure"
16071 #include "confdefs.h"
16072 /* System header to define __stub macros and hopefully few prototypes,
16073 which can conflict with char $ac_func(); below. */
16074 #include <assert.h>
16075 /* Override any gcc2 internal prototype to avoid an error. */
16076 /* We use char because int might match the return type of a gcc2
16077 builtin and then its argument prototype would still apply. */
16082 /* The GNU C library defines this for functions which it implements
16083 to always fail with ENOSYS. Some functions are actually named
16084 something starting with __ and the normal name is an alias. */
16085 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16093 if { (eval echo configure
:16094: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16095 eval "ac_cv_func_$ac_func=yes"
16097 echo "configure: failed program was:" >&5
16098 cat conftest.
$ac_ext >&5
16100 eval "ac_cv_func_$ac_func=no"
16105 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16106 echo "$ac_t""yes" 1>&6
16107 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16108 cat >> confdefs.h
<<EOF
16109 #define $ac_tr_func 1
16113 echo "$ac_t""no" 1>&6
16118 echo $ac_n "checking for timezone variable in <time.h>""... $ac_c" 1>&6
16119 echo "configure:16120: checking for timezone variable in <time.h>" >&5
16120 if eval "test \"`echo '$''{'wx_cv_var_timezone'+set}'`\" = set"; then
16121 echo $ac_n "(cached) $ac_c" 1>&6
16124 cat > conftest.
$ac_ext <<EOF
16125 #line 16126 "configure"
16126 #include "confdefs.h"
16137 if { (eval echo configure
:16138: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16140 wx_cv_var_timezone
=timezone
16143 echo "configure: failed program was:" >&5
16144 cat conftest.
$ac_ext >&5
16147 cat > conftest.
$ac_ext <<EOF
16148 #line 16149 "configure"
16149 #include "confdefs.h"
16160 if { (eval echo configure
:16161: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16163 wx_cv_var_timezone
=_timezone
16166 echo "configure: failed program was:" >&5
16167 cat conftest.
$ac_ext >&5
16170 cat > conftest.
$ac_ext <<EOF
16171 #line 16172 "configure"
16172 #include "confdefs.h"
16183 if { (eval echo configure
:16184: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16186 wx_cv_var_timezone
=__timezone
16189 echo "configure: failed program was:" >&5
16190 cat conftest.
$ac_ext >&5
16192 { echo "configure: error: no timezone variable" 1>&2; exit 1; }
16208 echo "$ac_t""$wx_cv_var_timezone" 1>&6
16210 cat >> confdefs.h
<<EOF
16211 #define WX_TIMEZONE $wx_cv_var_timezone
16215 for ac_func
in localtime
16217 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16218 echo "configure:16219: checking for $ac_func" >&5
16219 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16220 echo $ac_n "(cached) $ac_c" 1>&6
16222 cat > conftest.
$ac_ext <<EOF
16223 #line 16224 "configure"
16224 #include "confdefs.h"
16225 /* System header to define __stub macros and hopefully few prototypes,
16226 which can conflict with char $ac_func(); below. */
16227 #include <assert.h>
16228 /* Override any gcc2 internal prototype to avoid an error. */
16229 /* We use char because int might match the return type of a gcc2
16230 builtin and then its argument prototype would still apply. */
16235 /* The GNU C library defines this for functions which it implements
16236 to always fail with ENOSYS. Some functions are actually named
16237 something starting with __ and the normal name is an alias. */
16238 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16246 if { (eval echo configure
:16247: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16248 eval "ac_cv_func_$ac_func=yes"
16250 echo "configure: failed program was:" >&5
16251 cat conftest.
$ac_ext >&5
16253 eval "ac_cv_func_$ac_func=no"
16258 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16259 echo "$ac_t""yes" 1>&6
16260 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16261 cat >> confdefs.h
<<EOF
16262 #define $ac_tr_func 1
16266 echo "$ac_t""no" 1>&6
16271 if test "$ac_cv_func_localtime" = "yes"; then
16272 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
16273 echo "configure:16274: checking for tm_gmtoff in struct tm" >&5
16274 if eval "test \"`echo '$''{'wx_cv_struct_tm_has_gmtoff'+set}'`\" = set"; then
16275 echo $ac_n "(cached) $ac_c" 1>&6
16278 cat > conftest.
$ac_ext <<EOF
16279 #line 16280 "configure"
16280 #include "confdefs.h"
16291 if { (eval echo configure
:16292: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16294 wx_cv_struct_tm_has_gmtoff
=yes
16297 echo "configure: failed program was:" >&5
16298 cat conftest.
$ac_ext >&5
16300 wx_cv_struct_tm_has_gmtoff
=no
16307 echo "$ac_t""$wx_cv_struct_tm_has_gmtoff" 1>&6
16310 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
16311 cat >> confdefs.h
<<\EOF
16312 #define WX_GMTOFF_IN_TM 1
16317 for ac_func
in gettimeofday ftime
16319 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16320 echo "configure:16321: checking for $ac_func" >&5
16321 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16322 echo $ac_n "(cached) $ac_c" 1>&6
16324 cat > conftest.
$ac_ext <<EOF
16325 #line 16326 "configure"
16326 #include "confdefs.h"
16327 /* System header to define __stub macros and hopefully few prototypes,
16328 which can conflict with char $ac_func(); below. */
16329 #include <assert.h>
16330 /* Override any gcc2 internal prototype to avoid an error. */
16331 /* We use char because int might match the return type of a gcc2
16332 builtin and then its argument prototype would still apply. */
16337 /* The GNU C library defines this for functions which it implements
16338 to always fail with ENOSYS. Some functions are actually named
16339 something starting with __ and the normal name is an alias. */
16340 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16348 if { (eval echo configure
:16349: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16350 eval "ac_cv_func_$ac_func=yes"
16352 echo "configure: failed program was:" >&5
16353 cat conftest.
$ac_ext >&5
16355 eval "ac_cv_func_$ac_func=no"
16360 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16361 echo "$ac_t""yes" 1>&6
16362 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16363 cat >> confdefs.h
<<EOF
16364 #define $ac_tr_func 1
16368 echo "$ac_t""no" 1>&6
16373 if test "$ac_cv_func_gettimeofday" = "yes"; then
16374 echo $ac_n "checking whether gettimeofday takes two arguments""... $ac_c" 1>&6
16375 echo "configure:16376: checking whether gettimeofday takes two arguments" >&5
16376 if eval "test \"`echo '$''{'wx_cv_func_gettimeofday_has_2_args'+set}'`\" = set"; then
16377 echo $ac_n "(cached) $ac_c" 1>&6
16382 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16383 ac_cpp
='$CXXCPP $CPPFLAGS'
16384 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16385 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16386 cross_compiling
=$ac_cv_prog_cxx_cross
16389 cat > conftest.
$ac_ext <<EOF
16390 #line 16391 "configure"
16391 #include "confdefs.h"
16393 #include <sys/time.h>
16394 #include <unistd.h>
16399 gettimeofday(&tv, NULL);
16403 if { (eval echo configure
:16404: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16405 wx_cv_func_gettimeofday_has_2_args
=yes
16407 echo "configure: failed program was:" >&5
16408 cat conftest.
$ac_ext >&5
16410 cat > conftest.
$ac_ext <<EOF
16411 #line 16412 "configure"
16412 #include "confdefs.h"
16414 #include <sys/time.h>
16415 #include <unistd.h>
16424 if { (eval echo configure
:16425: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16426 wx_cv_func_gettimeofday_has_2_args
=no
16428 echo "configure: failed program was:" >&5
16429 cat conftest.
$ac_ext >&5
16432 echo "configure: warning: failed to determine number of gettimeofday() arguments" 1>&2
16433 wx_cv_func_gettimeofday_has_2_args
=unknown
16442 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16443 ac_cpp
='$CPP $CPPFLAGS'
16444 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16445 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16446 cross_compiling
=$ac_cv_prog_cc_cross
16451 echo "$ac_t""$wx_cv_func_gettimeofday_has_2_args" 1>&6
16453 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
16454 cat >> confdefs.h
<<\EOF
16455 #define WX_GETTIMEOFDAY_NO_TZ 1
16461 cat >> confdefs.h
<<\EOF
16462 #define wxUSE_TIMEDATE 1
16465 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
16469 if test "$TOOLKIT" != "MSW"; then
16471 if test "$wxUSE_SOCKETS" = "yes"; then
16472 echo $ac_n "checking for socket""... $ac_c" 1>&6
16473 echo "configure:16474: checking for socket" >&5
16474 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
16475 echo $ac_n "(cached) $ac_c" 1>&6
16477 cat > conftest.
$ac_ext <<EOF
16478 #line 16479 "configure"
16479 #include "confdefs.h"
16480 /* System header to define __stub macros and hopefully few prototypes,
16481 which can conflict with char socket(); below. */
16482 #include <assert.h>
16483 /* Override any gcc2 internal prototype to avoid an error. */
16484 /* We use char because int might match the return type of a gcc2
16485 builtin and then its argument prototype would still apply. */
16490 /* The GNU C library defines this for functions which it implements
16491 to always fail with ENOSYS. Some functions are actually named
16492 something starting with __ and the normal name is an alias. */
16493 #if defined (__stub_socket) || defined (__stub___socket)
16501 if { (eval echo configure
:16502: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16503 eval "ac_cv_func_socket=yes"
16505 echo "configure: failed program was:" >&5
16506 cat conftest.
$ac_ext >&5
16508 eval "ac_cv_func_socket=no"
16513 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
16514 echo "$ac_t""yes" 1>&6
16517 echo "$ac_t""no" 1>&6
16518 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
16519 echo "configure:16520: checking for socket in -lsocket" >&5
16520 ac_lib_var
=`echo socket'_'socket | sed 'y%./+-%__p_%'`
16521 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16522 echo $ac_n "(cached) $ac_c" 1>&6
16524 ac_save_LIBS
="$LIBS"
16525 LIBS
="-lsocket $LIBS"
16526 cat > conftest.
$ac_ext <<EOF
16527 #line 16528 "configure"
16528 #include "confdefs.h"
16529 /* Override any gcc2 internal prototype to avoid an error. */
16530 /* We use char because int might match the return type of a gcc2
16531 builtin and then its argument prototype would still apply. */
16538 if { (eval echo configure
:16539: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16540 eval "ac_cv_lib_$ac_lib_var=yes"
16542 echo "configure: failed program was:" >&5
16543 cat conftest.
$ac_ext >&5
16545 eval "ac_cv_lib_$ac_lib_var=no"
16548 LIBS
="$ac_save_LIBS"
16551 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16552 echo "$ac_t""yes" 1>&6
16553 INET_LINK
="$INET_LINK -lsocket"
16555 echo "$ac_t""no" 1>&6
16557 echo "configure: warning: socket library not found - sockets will be disabled" 1>&2
16569 if test "$wxUSE_SOCKETS" = "yes" ; then
16570 echo $ac_n "checking what is the type of the third argument of getsockname""... $ac_c" 1>&6
16571 echo "configure:16572: checking what is the type of the third argument of getsockname" >&5
16572 if eval "test \"`echo '$''{'wx_cv_type_getsockname3'+set}'`\" = set"; then
16573 echo $ac_n "(cached) $ac_c" 1>&6
16578 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16579 ac_cpp
='$CXXCPP $CPPFLAGS'
16580 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16581 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16582 cross_compiling
=$ac_cv_prog_cxx_cross
16585 cat > conftest.
$ac_ext <<EOF
16586 #line 16587 "configure"
16587 #include "confdefs.h"
16589 #include <sys/types.h>
16590 #include <sys/socket.h>
16595 getsockname(0, 0, &len);
16599 if { (eval echo configure
:16600: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16601 wx_cv_type_getsockname3
=socklen_t
16603 echo "configure: failed program was:" >&5
16604 cat conftest.
$ac_ext >&5
16606 cat > conftest.
$ac_ext <<EOF
16607 #line 16608 "configure"
16608 #include "confdefs.h"
16610 #include <sys/types.h>
16611 #include <sys/socket.h>
16616 getsockname(0, 0, &len);
16620 if { (eval echo configure
:16621: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16622 wx_cv_type_getsockname3
=size_t
16624 echo "configure: failed program was:" >&5
16625 cat conftest.
$ac_ext >&5
16627 cat > conftest.
$ac_ext <<EOF
16628 #line 16629 "configure"
16629 #include "confdefs.h"
16631 #include <sys/types.h>
16632 #include <sys/socket.h>
16637 getsockname(0, 0, &len);
16641 if { (eval echo configure
:16642: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16643 wx_cv_type_getsockname3
=int
16645 echo "configure: failed program was:" >&5
16646 cat conftest.
$ac_ext >&5
16648 wx_cv_type_getsockname3
=unknown
16660 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16661 ac_cpp
='$CPP $CPPFLAGS'
16662 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16663 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16664 cross_compiling
=$ac_cv_prog_cc_cross
16669 echo "$ac_t""$wx_cv_type_getsockname3" 1>&6
16671 if test "$wx_cv_type_getsockname3" = "unknown"; then
16673 echo "configure: warning: Couldn't find socklen_t synonym for this system" 1>&2
16675 cat >> confdefs.h
<<EOF
16676 #define SOCKLEN_T $wx_cv_type_getsockname3
16683 if test "$wxUSE_SOCKETS" = "yes" ; then
16684 cat >> confdefs.h
<<\EOF
16685 #define wxUSE_SOCKETS 1
16688 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
16692 if test "$wxUSE_GUI" = "yes"; then
16694 if test "$TOOLKIT" != "MSW"; then
16695 if test "$wxUSE_JOYSTICK" = "yes"; then
16696 for ac_hdr
in linux
/joystick.h
16698 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
16699 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
16700 echo "configure:16701: checking for $ac_hdr" >&5
16701 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
16702 echo $ac_n "(cached) $ac_c" 1>&6
16704 cat > conftest.
$ac_ext <<EOF
16705 #line 16706 "configure"
16706 #include "confdefs.h"
16709 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
16710 { (eval echo configure
:16711: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16711 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
16712 if test -z "$ac_err"; then
16714 eval "ac_cv_header_$ac_safe=yes"
16717 echo "configure: failed program was:" >&5
16718 cat conftest.
$ac_ext >&5
16720 eval "ac_cv_header_$ac_safe=no"
16724 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
16725 echo "$ac_t""yes" 1>&6
16726 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
16727 cat >> confdefs.h
<<EOF
16728 #define $ac_tr_hdr 1
16732 echo "$ac_t""no" 1>&6
16736 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
16738 echo "configure: warning: Joystick not supported by this system" 1>&2
16743 if test "$wxUSE_JOYSTICK" = "yes"; then
16744 cat >> confdefs.h
<<\EOF
16745 #define wxUSE_JOYSTICK 1
16748 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
16753 if test "$TOOLKIT" != "MSW"; then
16757 if test "$wxUSE_DYNLIB_CLASS" = "yes"; then
16758 if test "$USE_DARWIN" = 1; then
16761 for ac_func
in dlopen
16763 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16764 echo "configure:16765: checking for $ac_func" >&5
16765 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16766 echo $ac_n "(cached) $ac_c" 1>&6
16768 cat > conftest.
$ac_ext <<EOF
16769 #line 16770 "configure"
16770 #include "confdefs.h"
16771 /* System header to define __stub macros and hopefully few prototypes,
16772 which can conflict with char $ac_func(); below. */
16773 #include <assert.h>
16774 /* Override any gcc2 internal prototype to avoid an error. */
16775 /* We use char because int might match the return type of a gcc2
16776 builtin and then its argument prototype would still apply. */
16781 /* The GNU C library defines this for functions which it implements
16782 to always fail with ENOSYS. Some functions are actually named
16783 something starting with __ and the normal name is an alias. */
16784 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16792 if { (eval echo configure
:16793: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16794 eval "ac_cv_func_$ac_func=yes"
16796 echo "configure: failed program was:" >&5
16797 cat conftest.
$ac_ext >&5
16799 eval "ac_cv_func_$ac_func=no"
16804 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16805 echo "$ac_t""yes" 1>&6
16806 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16807 cat >> confdefs.h
<<EOF
16808 #define $ac_tr_func 1
16811 cat >> confdefs.h
<<\EOF
16812 #define HAVE_DLOPEN 1
16818 echo "$ac_t""no" 1>&6
16819 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
16820 echo "configure:16821: checking for dlopen in -ldl" >&5
16821 ac_lib_var
=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
16822 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16823 echo $ac_n "(cached) $ac_c" 1>&6
16825 ac_save_LIBS
="$LIBS"
16827 cat > conftest.
$ac_ext <<EOF
16828 #line 16829 "configure"
16829 #include "confdefs.h"
16830 /* Override any gcc2 internal prototype to avoid an error. */
16831 /* We use char because int might match the return type of a gcc2
16832 builtin and then its argument prototype would still apply. */
16839 if { (eval echo configure
:16840: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16841 eval "ac_cv_lib_$ac_lib_var=yes"
16843 echo "configure: failed program was:" >&5
16844 cat conftest.
$ac_ext >&5
16846 eval "ac_cv_lib_$ac_lib_var=no"
16849 LIBS
="$ac_save_LIBS"
16852 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16853 echo "$ac_t""yes" 1>&6
16855 cat >> confdefs.h
<<\EOF
16856 #define HAVE_DLOPEN 1
16863 echo "$ac_t""no" 1>&6
16865 for ac_func
in shl_load
16867 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16868 echo "configure:16869: checking for $ac_func" >&5
16869 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16870 echo $ac_n "(cached) $ac_c" 1>&6
16872 cat > conftest.
$ac_ext <<EOF
16873 #line 16874 "configure"
16874 #include "confdefs.h"
16875 /* System header to define __stub macros and hopefully few prototypes,
16876 which can conflict with char $ac_func(); below. */
16877 #include <assert.h>
16878 /* Override any gcc2 internal prototype to avoid an error. */
16879 /* We use char because int might match the return type of a gcc2
16880 builtin and then its argument prototype would still apply. */
16885 /* The GNU C library defines this for functions which it implements
16886 to always fail with ENOSYS. Some functions are actually named
16887 something starting with __ and the normal name is an alias. */
16888 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16896 if { (eval echo configure
:16897: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16898 eval "ac_cv_func_$ac_func=yes"
16900 echo "configure: failed program was:" >&5
16901 cat conftest.
$ac_ext >&5
16903 eval "ac_cv_func_$ac_func=no"
16908 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16909 echo "$ac_t""yes" 1>&6
16910 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16911 cat >> confdefs.h
<<EOF
16912 #define $ac_tr_func 1
16915 cat >> confdefs.h
<<\EOF
16916 #define HAVE_SHL_LOAD 1
16922 echo "$ac_t""no" 1>&6
16923 echo $ac_n "checking for dld in -lshl_load""... $ac_c" 1>&6
16924 echo "configure:16925: checking for dld in -lshl_load" >&5
16925 ac_lib_var
=`echo shl_load'_'dld | sed 'y%./+-%__p_%'`
16926 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16927 echo $ac_n "(cached) $ac_c" 1>&6
16929 ac_save_LIBS
="$LIBS"
16930 LIBS
="-lshl_load $LIBS"
16931 cat > conftest.
$ac_ext <<EOF
16932 #line 16933 "configure"
16933 #include "confdefs.h"
16934 /* Override any gcc2 internal prototype to avoid an error. */
16935 /* We use char because int might match the return type of a gcc2
16936 builtin and then its argument prototype would still apply. */
16943 if { (eval echo configure
:16944: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16945 eval "ac_cv_lib_$ac_lib_var=yes"
16947 echo "configure: failed program was:" >&5
16948 cat conftest.
$ac_ext >&5
16950 eval "ac_cv_lib_$ac_lib_var=no"
16953 LIBS
="$ac_save_LIBS"
16956 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16957 echo "$ac_t""yes" 1>&6
16963 echo "$ac_t""no" 1>&6
16978 if test "$HAVE_DL_FUNCS" = 1; then
16979 for ac_func
in dlerror
16981 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16982 echo "configure:16983: checking for $ac_func" >&5
16983 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16984 echo $ac_n "(cached) $ac_c" 1>&6
16986 cat > conftest.
$ac_ext <<EOF
16987 #line 16988 "configure"
16988 #include "confdefs.h"
16989 /* System header to define __stub macros and hopefully few prototypes,
16990 which can conflict with char $ac_func(); below. */
16991 #include <assert.h>
16992 /* Override any gcc2 internal prototype to avoid an error. */
16993 /* We use char because int might match the return type of a gcc2
16994 builtin and then its argument prototype would still apply. */
16999 /* The GNU C library defines this for functions which it implements
17000 to always fail with ENOSYS. Some functions are actually named
17001 something starting with __ and the normal name is an alias. */
17002 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17010 if { (eval echo configure
:17011: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17012 eval "ac_cv_func_$ac_func=yes"
17014 echo "configure: failed program was:" >&5
17015 cat conftest.
$ac_ext >&5
17017 eval "ac_cv_func_$ac_func=no"
17022 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17023 echo "$ac_t""yes" 1>&6
17024 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17025 cat >> confdefs.h
<<EOF
17026 #define $ac_tr_func 1
17028 cat >> confdefs.h
<<\EOF
17029 #define HAVE_DLERROR 1
17033 echo "$ac_t""no" 1>&6
17034 echo $ac_n "checking for dlerror in -ldl""... $ac_c" 1>&6
17035 echo "configure:17036: checking for dlerror in -ldl" >&5
17036 ac_lib_var
=`echo dl'_'dlerror | sed 'y%./+-%__p_%'`
17037 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17038 echo $ac_n "(cached) $ac_c" 1>&6
17040 ac_save_LIBS
="$LIBS"
17042 cat > conftest.
$ac_ext <<EOF
17043 #line 17044 "configure"
17044 #include "confdefs.h"
17045 /* Override any gcc2 internal prototype to avoid an error. */
17046 /* We use char because int might match the return type of a gcc2
17047 builtin and then its argument prototype would still apply. */
17054 if { (eval echo configure
:17055: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17056 eval "ac_cv_lib_$ac_lib_var=yes"
17058 echo "configure: failed program was:" >&5
17059 cat conftest.
$ac_ext >&5
17061 eval "ac_cv_lib_$ac_lib_var=no"
17064 LIBS
="$ac_save_LIBS"
17067 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17068 echo "$ac_t""yes" 1>&6
17069 cat >> confdefs.h
<<\EOF
17070 #define HAVE_DLERROR 1
17074 echo "$ac_t""no" 1>&6
17083 if test "$HAVE_DL_FUNCS" = 0; then
17084 if test "$HAVE_SHL_FUNCS" = 0; then
17085 if test "$USE_UNIX" = 1; then
17086 echo "configure: warning: Missing dynamic loading support, several features will be disabled" 1>&2
17087 wxUSE_DYNLIB_CLASS
=no
17089 echo "configure: warning: Assuming wxLibrary class works on this platform" 1>&2
17096 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
17097 cat >> confdefs.h
<<\EOF
17098 #define wxUSE_DYNLIB_CLASS 1
17107 if test "$wxUSE_FONTMAP" = "yes" ; then
17108 cat >> confdefs.h
<<\EOF
17109 #define wxUSE_FONTMAP 1
17114 if test "$wxUSE_UNICODE" = "yes" ; then
17115 cat >> confdefs.h
<<\EOF
17116 #define wxUSE_UNICODE 1
17121 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
17122 cat >> confdefs.h
<<\EOF
17123 #define wxUSE_EXPERIMENTAL_PRINTF 1
17129 if test "$wxUSE_SERIAL" = "yes" ; then
17130 cat >> confdefs.h
<<\EOF
17131 #define wxUSE_SERIAL 1
17138 if test "$wxUSE_ODBC" = "yes" ; then
17139 cat >> confdefs.h
<<\EOF
17140 #define wxUSE_ODBC 1
17143 WXODBCFLAG
="-D_IODBC_"
17144 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
17148 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
17149 cat >> confdefs.h
<<\EOF
17150 #define wxUSE_POSTSCRIPT 1
17155 cat >> confdefs.h
<<\EOF
17156 #define wxUSE_AFM_FOR_POSTSCRIPT 1
17160 cat >> confdefs.h
<<\EOF
17161 #define wxUSE_NORMALIZED_PS_FONTS 1
17166 if test "$wxUSE_CONSTRAINTS" = "yes"; then
17167 cat >> confdefs.h
<<\EOF
17168 #define wxUSE_CONSTRAINTS 1
17171 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
17174 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
17175 cat >> confdefs.h
<<\EOF
17176 #define wxUSE_MDI_ARCHITECTURE 1
17179 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
17182 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
17183 cat >> confdefs.h
<<\EOF
17184 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
17187 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
17188 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
17189 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
17193 if test "$wxUSE_HELP" = "yes"; then
17194 cat >> confdefs.h
<<\EOF
17195 #define wxUSE_HELP 1
17198 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
17200 if test "$USE_WIN32" = 1; then
17201 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
17202 ac_safe
=`echo "htmlhelp.h" | sed 'y%./+-%__p_%'`
17203 echo $ac_n "checking for htmlhelp.h""... $ac_c" 1>&6
17204 echo "configure:17205: checking for htmlhelp.h" >&5
17205 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17206 echo $ac_n "(cached) $ac_c" 1>&6
17208 cat > conftest.
$ac_ext <<EOF
17209 #line 17210 "configure"
17210 #include "confdefs.h"
17211 #include <htmlhelp.h>
17213 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17214 { (eval echo configure
:17215: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17215 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17216 if test -z "$ac_err"; then
17218 eval "ac_cv_header_$ac_safe=yes"
17221 echo "configure: failed program was:" >&5
17222 cat conftest.
$ac_ext >&5
17224 eval "ac_cv_header_$ac_safe=no"
17228 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17229 echo "$ac_t""yes" 1>&6
17231 cat >> confdefs.h
<<\EOF
17232 #define wxUSE_MS_HTML_HELP 1
17237 echo "$ac_t""no" 1>&6
17239 echo "configure: warning: MS HTML Help cannot be used without htmlhelp.h, disabled" 1>&2
17240 wxUSE_MS_HTML_HELP
=no
17247 if test "$wxUSE_WXHTML_HELP" = "yes"; then
17248 if test "$wxUSE_HTML" = "yes"; then
17249 cat >> confdefs.h
<<\EOF
17250 #define wxUSE_WXHTML_HELP 1
17254 echo "configure: warning: Cannot use wxHTML-based help without wxHTML so it won't be compiled" 1>&2
17255 wxUSE_WXHTML_HELP
=no
17260 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
17261 if test "$wxUSE_CONSTRAINTS" != "yes"; then
17262 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
17264 cat >> confdefs.h
<<\EOF
17265 #define wxUSE_PRINTING_ARCHITECTURE 1
17269 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
17272 if test "$wxUSE_PROLOGIO" = "yes" ; then
17273 cat >> confdefs.h
<<\EOF
17274 #define wxUSE_PROLOGIO 1
17279 if test "$wxUSE_RESOURCES" = "yes" ; then
17280 cat >> confdefs.h
<<\EOF
17281 #define wxUSE_RESOURCES 1
17284 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS resource"
17287 if test "$wxUSE_X_RESOURCES" = "yes"; then
17288 cat >> confdefs.h
<<\EOF
17289 #define wxUSE_X_RESOURCES 1
17295 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
17296 -o "$wxUSE_CLIPBOARD" = "yes" \
17297 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
17298 for ac_hdr
in ole2.h
17300 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
17301 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
17302 echo "configure:17303: checking for $ac_hdr" >&5
17303 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17304 echo $ac_n "(cached) $ac_c" 1>&6
17306 cat > conftest.
$ac_ext <<EOF
17307 #line 17308 "configure"
17308 #include "confdefs.h"
17311 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17312 { (eval echo configure
:17313: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17313 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17314 if test -z "$ac_err"; then
17316 eval "ac_cv_header_$ac_safe=yes"
17319 echo "configure: failed program was:" >&5
17320 cat conftest.
$ac_ext >&5
17322 eval "ac_cv_header_$ac_safe=no"
17326 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17327 echo "$ac_t""yes" 1>&6
17328 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
17329 cat >> confdefs.h
<<EOF
17330 #define $ac_tr_hdr 1
17334 echo "$ac_t""no" 1>&6
17339 if test "$ac_cv_header_ole2_h" = "yes" ; then
17340 if test "$GCC" = yes ; then
17341 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
17342 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
17343 LIBS
="$LIBS -lrpcrt4 -loleaut32 -lole32 -luuid"
17344 cat >> confdefs.h
<<\EOF
17345 #define wxUSE_OLE 1
17351 cat >> confdefs.h
<<\EOF
17352 #define wxUSE_DATAOBJ 1
17356 echo "configure: warning: Some features disabled because OLE headers not found" 1>&2
17359 wxUSE_DRAG_AND_DROP
=no
17363 if test "$wxUSE_METAFILE" = "yes"; then
17364 cat >> confdefs.h
<<\EOF
17365 #define wxUSE_METAFILE 1
17369 cat >> confdefs.h
<<\EOF
17370 #define wxUSE_ENH_METAFILE 1
17376 if test "$wxUSE_IPC" = "yes"; then
17377 if test "$wxUSE_SOCKETS" != "yes"; then
17378 echo "configure: warning: wxWindows IPC classes require sockets" 1>&2
17381 cat >> confdefs.h
<<\EOF
17382 #define wxUSE_IPC 1
17387 if test "$wxUSE_CLIPBOARD" = "yes"; then
17388 cat >> confdefs.h
<<\EOF
17389 #define wxUSE_CLIPBOARD 1
17393 cat >> confdefs.h
<<\EOF
17394 #define wxUSE_DATAOBJ 1
17399 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
17400 if test "$wxUSE_GTK" = 1; then
17401 if test "$WXGTK12" != 1; then
17402 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2" 1>&2
17403 wxUSE_DRAG_AND_DROP
=no
17407 if test "$wxUSE_MOTIF" = 1; then
17408 echo "configure: warning: Drag and drop is not yet supported under Motif" 1>&2
17409 wxUSE_DRAG_AND_DROP
=no
17412 if test "$wxUSE_MAC" = 1; then
17413 echo "configure: warning: Drag and drop is not yet supported under Mac OS X" 1>&2
17414 wxUSE_DRAG_AND_DROP
=no
17417 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
17418 cat >> confdefs.h
<<\EOF
17419 #define wxUSE_DRAG_AND_DROP 1
17422 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
17427 if test "$wxUSE_SPLINES" = "yes" ; then
17428 cat >> confdefs.h
<<\EOF
17429 #define wxUSE_SPLINES 1
17436 if test "$wxUSE_CONTROLS" = "yes"; then
17440 if test "$wxUSE_ACCEL" = "yes"; then
17441 cat >> confdefs.h
<<\EOF
17442 #define wxUSE_ACCEL 1
17448 if test "$wxUSE_BUTTON" = "yes"; then
17449 cat >> confdefs.h
<<\EOF
17450 #define wxUSE_BUTTON 1
17456 if test "$wxUSE_BMPBUTTON" = "yes"; then
17457 cat >> confdefs.h
<<\EOF
17458 #define wxUSE_BMPBUTTON 1
17464 if test "$wxUSE_CALCTRL" = "yes"; then
17465 cat >> confdefs.h
<<\EOF
17466 #define wxUSE_CALENDARCTRL 1
17470 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
17473 if test "$wxUSE_CARET" = "yes"; then
17474 cat >> confdefs.h
<<\EOF
17475 #define wxUSE_CARET 1
17479 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
17482 if test "$wxUSE_COMBOBOX" = "yes"; then
17483 cat >> confdefs.h
<<\EOF
17484 #define wxUSE_COMBOBOX 1
17490 if test "$wxUSE_CHOICE" = "yes"; then
17491 cat >> confdefs.h
<<\EOF
17492 #define wxUSE_CHOICE 1
17498 if test "$wxUSE_CHECKBOX" = "yes"; then
17499 cat >> confdefs.h
<<\EOF
17500 #define wxUSE_CHECKBOX 1
17506 if test "$wxUSE_CHECKLST" = "yes"; then
17507 cat >> confdefs.h
<<\EOF
17508 #define wxUSE_CHECKLISTBOX 1
17512 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
17515 if test "$wxUSE_GAUGE" = "yes"; then
17516 cat >> confdefs.h
<<\EOF
17517 #define wxUSE_GAUGE 1
17523 if test "$wxUSE_NEW_GRID" = "yes"; then
17525 cat >> confdefs.h
<<\EOF
17526 #define wxUSE_NEW_GRID 1
17530 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS newgrid"
17533 if test "$wxUSE_GRID" = "yes"; then
17534 cat >> confdefs.h
<<\EOF
17535 #define wxUSE_GRID 1
17539 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
17542 if test "$wxUSE_IMAGLIST" = "yes"; then
17543 cat >> confdefs.h
<<\EOF
17544 #define wxUSE_IMAGLIST 1
17549 if test "$wxUSE_LISTBOX" = "yes"; then
17550 cat >> confdefs.h
<<\EOF
17551 #define wxUSE_LISTBOX 1
17557 if test "$wxUSE_LISTCTRL" = "yes"; then
17558 if test "$wxUSE_IMAGLIST" = "yes"; then
17559 cat >> confdefs.h
<<\EOF
17560 #define wxUSE_LISTCTRL 1
17564 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
17566 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
17570 if test "$wxUSE_NOTEBOOK" = "yes"; then
17571 cat >> confdefs.h
<<\EOF
17572 #define wxUSE_NOTEBOOK 1
17576 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
17579 if test "$wxUSE_PROPSHEET" = "yes"; then
17580 cat >> confdefs.h
<<\EOF
17581 #define wxUSE_PROPSHEET 1
17585 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS proplist"
17588 if test "$wxUSE_RADIOBOX" = "yes"; then
17589 cat >> confdefs.h
<<\EOF
17590 #define wxUSE_RADIOBOX 1
17596 if test "$wxUSE_RADIOBTN" = "yes"; then
17597 cat >> confdefs.h
<<\EOF
17598 #define wxUSE_RADIOBTN 1
17604 if test "$wxUSE_SASH" = "yes"; then
17605 cat >> confdefs.h
<<\EOF
17606 #define wxUSE_SASH 1
17609 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
17612 if test "$wxUSE_SCROLLBAR" = "yes"; then
17613 cat >> confdefs.h
<<\EOF
17614 #define wxUSE_SCROLLBAR 1
17618 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
17621 if test "$wxUSE_SLIDER" = "yes"; then
17622 cat >> confdefs.h
<<\EOF
17623 #define wxUSE_SLIDER 1
17629 if test "$wxUSE_SPINBTN" = "yes"; then
17630 cat >> confdefs.h
<<\EOF
17631 #define wxUSE_SPINBTN 1
17637 if test "$wxUSE_SPINCTRL" = "yes"; then
17638 cat >> confdefs.h
<<\EOF
17639 #define wxUSE_SPINCTRL 1
17645 if test "$wxUSE_SPLITTER" = "yes"; then
17646 cat >> confdefs.h
<<\EOF
17647 #define wxUSE_SPLITTER 1
17650 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
17653 if test "$wxUSE_STATBMP" = "yes"; then
17654 cat >> confdefs.h
<<\EOF
17655 #define wxUSE_STATBMP 1
17661 if test "$wxUSE_STATBOX" = "yes"; then
17662 cat >> confdefs.h
<<\EOF
17663 #define wxUSE_STATBOX 1
17669 if test "$wxUSE_STATTEXT" = "yes"; then
17670 cat >> confdefs.h
<<\EOF
17671 #define wxUSE_STATTEXT 1
17677 if test "$wxUSE_STATLINE" = "yes"; then
17678 if test "$wxUSE_WINE" = 1 ; then
17679 echo "configure: warning: wxStaticLine is not supported under WINE" 1>&2
17681 cat >> confdefs.h
<<\EOF
17682 #define wxUSE_STATLINE 1
17689 if test "$wxUSE_STATUSBAR" = "yes"; then
17690 cat >> confdefs.h
<<\EOF
17691 #define wxUSE_STATUSBAR 1
17696 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
17699 if test "$wxUSE_TABDIALOG" = "yes"; then
17700 cat >> confdefs.h
<<\EOF
17701 #define wxUSE_TAB_DIALOG 1
17704 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
17707 if test "$wxUSE_TEXTCTRL" = "yes"; then
17708 cat >> confdefs.h
<<\EOF
17709 #define wxUSE_TEXTCTRL 1
17713 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
17716 if test "$wxUSE_TOGGLEBTN" = "yes"; then
17717 if test "$wxUSE_MAC" = 1; then
17718 echo "configure: warning: Toggle button is not yet supported under Mac OS X" 1>&2
17722 if test "$wxUSE_TOGGLEBTN" = "yes"; then
17723 cat >> confdefs.h
<<\EOF
17724 #define wxUSE_TOGGLEBTN 1
17731 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
17732 cat >> confdefs.h
<<\EOF
17733 #define wxUSE_TOOLBAR_SIMPLE 1
17736 wxUSE_TOOLBAR
="yes"
17740 if test "$wxUSE_TOOLBAR" = "yes"; then
17741 cat >> confdefs.h
<<\EOF
17742 #define wxUSE_TOOLBAR 1
17747 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
17748 wxUSE_TOOLBAR_NATIVE
="yes"
17751 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
17752 cat >> confdefs.h
<<\EOF
17753 #define wxUSE_TOOLBAR_NATIVE 1
17759 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
17762 if test "$wxUSE_TOOLTIPS" = "yes"; then
17763 if test "$wxUSE_MOTIF" = 1; then
17764 echo "configure: warning: wxTooltip not supported yet under Motif" 1>&2
17766 if test "$wxUSE_WINE" = 1; then
17767 echo "configure: warning: wxTooltip not supported under WINE" 1>&2
17769 cat >> confdefs.h
<<\EOF
17770 #define wxUSE_TOOLTIPS 1
17777 if test "$wxUSE_TREECTRL" = "yes"; then
17778 if test "$wxUSE_IMAGLIST" = "yes"; then
17779 cat >> confdefs.h
<<\EOF
17780 #define wxUSE_TREECTRL 1
17784 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
17786 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
17790 if test "$wxUSE_POPUPWIN" = "yes"; then
17791 if test "$wxUSE_MAC" = 1; then
17792 echo "configure: warning: Popup window is not yet supported under Mac OS" 1>&2
17794 cat >> confdefs.h
<<\EOF
17795 #define wxUSE_POPUPWIN 1
17802 if test "$USES_CONTROLS" = 1; then
17803 cat >> confdefs.h
<<\EOF
17804 #define wxUSE_CONTROLS 1
17810 if test "$wxUSE_TREELAYOUT" = "yes"; then
17811 cat >> confdefs.h
<<\EOF
17812 #define wxUSE_TREELAYOUT 1
17815 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treelay"
17818 if test "$wxUSE_DRAGIMAGE" = "yes"; then
17819 cat >> confdefs.h
<<\EOF
17820 #define wxUSE_DRAGIMAGE 1
17823 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
17826 if test "$wxUSE_MENUS" = "yes"; then
17827 cat >> confdefs.h
<<\EOF
17828 #define wxUSE_MENUS 1
17831 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
17834 if test "$wxUSE_METAFILE" = "yes"; then
17835 cat >> confdefs.h
<<\EOF
17836 #define wxUSE_METAFILE 1
17841 if test "$wxUSE_MIMETYPE" = "yes"; then
17842 cat >> confdefs.h
<<\EOF
17843 #define wxUSE_MIMETYPE 1
17848 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
17849 cat >> confdefs.h
<<\EOF
17850 #define wxUSE_SYSTEM_OPTIONS 1
17855 if test "$wxUSE_MINIFRAME" = "yes"; then
17856 cat >> confdefs.h
<<\EOF
17857 #define wxUSE_MINIFRAME 1
17860 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
17863 if test "$wxUSE_HTML" = "yes"; then
17864 cat >> confdefs.h
<<\EOF
17865 #define wxUSE_HTML 1
17868 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html"
17871 if test "$wxUSE_VALIDATORS" = "yes"; then
17872 cat >> confdefs.h
<<\EOF
17873 #define wxUSE_VALIDATORS 1
17876 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
17879 if test "$wxUSE_PALETTE" = "yes" ; then
17880 cat >> confdefs.h
<<\EOF
17881 #define wxUSE_PALETTE 1
17886 if test "$wxUSE_IMAGE" = "yes" ; then
17887 cat >> confdefs.h
<<\EOF
17888 #define wxUSE_IMAGE 1
17893 if test "$wxUSE_GIF" = "yes" ; then
17894 cat >> confdefs.h
<<\EOF
17895 #define wxUSE_GIF 1
17900 if test "$wxUSE_PCX" = "yes" ; then
17901 cat >> confdefs.h
<<\EOF
17902 #define wxUSE_PCX 1
17907 if test "$wxUSE_PNM" = "yes" ; then
17908 cat >> confdefs.h
<<\EOF
17909 #define wxUSE_PNM 1
17914 if test "$wxUSE_XPM" = "yes" ; then
17915 cat >> confdefs.h
<<\EOF
17916 #define wxUSE_XPM 1
17922 if test "$wxUSE_CHOICEDLG" = "yes"; then
17923 cat >> confdefs.h
<<\EOF
17924 #define wxUSE_CHOICEDLG 1
17929 if test "$wxUSE_COLOURDLG" = "yes"; then
17930 cat >> confdefs.h
<<\EOF
17931 #define wxUSE_COLOURDLG 1
17936 if test "$wxUSE_FILEDLG" = "yes"; then
17937 cat >> confdefs.h
<<\EOF
17938 #define wxUSE_FILEDLG 1
17943 if test "$wxUSE_FINDREPLDLG" = "yes"; then
17944 cat >> confdefs.h
<<\EOF
17945 #define wxUSE_FINDREPLDLG 1
17950 if test "$wxUSE_FONTDLG" = "yes"; then
17951 cat >> confdefs.h
<<\EOF
17952 #define wxUSE_FONTDLG 1
17957 if test "$wxUSE_DIRDLG" = "yes"; then
17958 if test "$wxUSE_CONSTRAINTS" != "yes"; then
17959 echo "configure: warning: wxDirDialog requires constraints so it won't be compiled without them" 1>&2
17961 if test "$wxUSE_TREECTRL" != "yes"; then
17962 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
17964 cat >> confdefs.h
<<\EOF
17965 #define wxUSE_DIRDLG 1
17972 if test "$wxUSE_MSGDLG" = "yes"; then
17973 cat >> confdefs.h
<<\EOF
17974 #define wxUSE_MSGDLG 1
17979 if test "$wxUSE_NUMBERDLG" = "yes"; then
17980 cat >> confdefs.h
<<\EOF
17981 #define wxUSE_NUMBERDLG 1
17986 if test "$wxUSE_PROGRESSDLG" = "yes"; then
17987 if test "$wxUSE_CONSTRAINTS" != "yes"; then
17988 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
17990 cat >> confdefs.h
<<\EOF
17991 #define wxUSE_PROGRESSDLG 1
17997 if test "$wxUSE_SPLASH" = "yes"; then
17998 cat >> confdefs.h
<<\EOF
17999 #define wxUSE_SPLASH 1
18004 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
18005 if test "$wxUSE_CONSTRAINTS" != "yes"; then
18006 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
18008 cat >> confdefs.h
<<\EOF
18009 #define wxUSE_STARTUP_TIPS 1
18015 if test "$wxUSE_TEXTDLG" = "yes"; then
18016 cat >> confdefs.h
<<\EOF
18017 #define wxUSE_TEXTDLG 1
18022 if test "$wxUSE_WIZARDDLG" = "yes"; then
18023 cat >> confdefs.h
<<\EOF
18024 #define wxUSE_WIZARDDLG 1
18027 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
18031 if test "$cross_compiling" = "yes"; then
18034 OSINFO
=`uname -s -r -m`
18035 OSINFO
="\"$OSINFO\""
18038 cat >> confdefs.h
<<EOF
18039 #define WXWIN_OS_DESCRIPTION $OSINFO
18044 if test "x$prefix" != "xNONE"; then
18047 wxPREFIX
=$ac_default_prefix
18050 cat >> confdefs.h
<<EOF
18051 #define wxINSTALL_PREFIX "$wxPREFIX"
18056 GUILIBS
="$GUI_TK_LIBRARY $TOOLKIT_LINK"
18058 EXTRA_LIBS
="$LIBS $POSIX4_LINK $INET_LINK $WCHAR_LINK $THREADS_LINK $DMALLOC_LINK $DL_LINK $ZLIB_LINK -lm"
18060 if test "$wxUSE_MAC" = 1 ; then
18061 EXTRA_LIBS
="$EXTRA_LIBS -framework Carbon -framework System"
18064 if test "$wxUSE_GUI" = "yes"; then
18065 EXTRA_LIBS
="$GUILIBS $PNG_LINK $JPEG_LINK $TIFF_LINK $FREETYPE_LINK $EXTRA_LIBS"
18068 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS controls dialogs \
18069 drawing dynamic erase event exec font image \
18070 minimal richedit rotate widgets"
18072 if test "$wxUSE_UNIVERSAL" = "yes" ; then
18073 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS univ"
18076 CPPFLAGS
="$CPPFLAGS \$(EXTRADEFS) \$(APPEXTRADEFS)"
18078 SAMPLES_SUBDIRS
="console"
18081 LD_LIBS
="\${top_builddir}/lib/${WX_LIBRARY_NAME_STATIC} $EXTRA_LIBS"
18083 INCLUDES
="-I. -I\${top_builddir}/lib/wx/include/${TOOLCHAIN_NAME} -I\${top_srcdir}/include \
18084 $REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \
18085 $FREETYPE_INCLUDE $TOOLKIT_INCLUDE"
18087 if test "$wxUSE_GTK" = 1; then
18088 WXCONFIG_INCLUDE
=""
18090 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
18093 if test "$GXX" = yes ; then
18094 CXXWARNINGS
="-Wall"
18096 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE $INCLUDES"
18098 CFLAGS
=`echo $CFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
18099 CXXFLAGS
=`echo $CXXFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
18101 LDFLAGS
="$LDFLAGS $PROFILE"
18103 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
18186 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
18187 echo "configure:18188: checking whether ${MAKE-make} sets \${MAKE}" >&5
18188 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
18189 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
18190 echo $ac_n "(cached) $ac_c" 1>&6
18192 cat > conftestmake
<<\EOF
18194 @
echo 'ac_maketemp="${MAKE}"'
18196 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
18197 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
18198 if test -n "$ac_maketemp"; then
18199 eval ac_cv_prog_make_
${ac_make}_set
=yes
18201 eval ac_cv_prog_make_
${ac_make}_set
=no
18205 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
18206 echo "$ac_t""yes" 1>&6
18209 echo "$ac_t""no" 1>&6
18210 SET_MAKE
="MAKE=${MAKE-make}"
18214 if test -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
; then
18215 mv -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h setup.h
18220 if test "$wxUSE_GUI" = "yes"; then
18221 wx_cv_path_samplesubdirs
=$SAMPLES_SUBDIRS
18222 wx_cv_path_ifs
=$PATH_IFS
18223 wx_cv_program_ext
=$PROGRAM_EXT
18224 wx_cv_target_library
=$WX_TARGET_LIBRARY
18225 wx_cv_target_library_gl
=$WX_TARGET_LIBRARY_GL
18226 wx_cv_target_libtype
=$WX_TARGET_LIBRARY_TYPE
18227 export wx_cv_path_samplesubdirs wx_cv_path_ifs wx_cv_program_ext \
18228 wx_cv_target_library wx_cv_target_library_gl wx_cv_target_libtype
18229 subdirs
="demos samples utils contrib"
18234 cat > confcache
<<\EOF
18235 # This file is a shell script that caches the results of configure
18236 # tests run on this system so they can be shared between configure
18237 # scripts and configure runs. It is not useful on other systems.
18238 # If it contains results you don't want to keep, you may remove or edit it.
18240 # By default, configure uses ./config.cache as the cache file,
18241 # creating it if it does not exist already. You can give configure
18242 # the --cache-file=FILE option to use a different cache file; that is
18243 # what configure does when it calls configure scripts in
18244 # subdirectories, so they share the cache.
18245 # Giving --cache-file=/dev/null disables caching, for debugging configure.
18246 # config.status only pays attention to the cache file if you give it the
18247 # --recheck option to rerun configure.
18250 # The following way of writing the cache mishandles newlines in values,
18251 # but we know of no workaround that is simple, portable, and efficient.
18252 # So, don't put newlines in cache variables' values.
18253 # Ultrix sh set writes to stderr and can't be redirected directly,
18254 # and sets the high bit in the cache file unless we assign to the vars.
18256 case `(ac_space=' '; set | grep ac_space) 2>&1` in
18258 # `set' does not quote correctly, so add quotes (double-quote substitution
18259 # turns \\\\ into \\, and sed turns \\ into \).
18261 -e "s/'/'\\\\''/g" \
18262 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
18265 # `set' quotes correctly as required by POSIX, so do not add quotes.
18266 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
18269 if cmp -s $cache_file confcache
; then
18272 if test -w $cache_file; then
18273 echo "updating cache $cache_file"
18274 cat confcache
> $cache_file
18276 echo "not updating unwritable cache $cache_file"
18281 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
18283 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
18284 # Let make expand exec_prefix.
18285 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
18287 # Any assignment to VPATH causes Sun make to only execute
18288 # the first set of double-colon rules, so remove it if not needed.
18289 # If there is a colon in the path, we need to keep it.
18290 if test "x$srcdir" = x.
; then
18291 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
18294 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
18296 DEFS
=-DHAVE_CONFIG_H
18298 # Without the "./", some shells look in PATH for config.status.
18299 : ${CONFIG_STATUS=./config.status}
18301 echo creating
$CONFIG_STATUS
18302 rm -f $CONFIG_STATUS
18303 cat > $CONFIG_STATUS <<EOF
18305 # Generated automatically by configure.
18306 # Run this file to recreate the current configuration.
18307 # This directory was configured as follows,
18308 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18310 # $0 $ac_configure_args
18312 # Compiler output produced by configure, useful for debugging
18313 # configure, is in ./config.log if it exists.
18315 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
18318 case "\$ac_option" in
18319 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18320 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
18321 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
18322 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
18323 echo "$CONFIG_STATUS generated by autoconf version 2.13"
18325 -help | --help | --hel | --he | --h)
18326 echo "\$ac_cs_usage"; exit 0 ;;
18327 *) echo "\$ac_cs_usage"; exit 1 ;;
18331 ac_given_srcdir=$srcdir
18332 ac_given_INSTALL="$INSTALL"
18334 trap 'rm -fr `echo "
18340 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
18342 cat >> $CONFIG_STATUS <<EOF
18344 # Protect against being on the right side of a sed subst in config.status.
18345 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
18346 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
18350 s%@CFLAGS@%$CFLAGS%g
18351 s%@CPPFLAGS@%$CPPFLAGS%g
18352 s%@CXXFLAGS@%$CXXFLAGS%g
18353 s%@FFLAGS@%$FFLAGS%g
18355 s%@LDFLAGS@%$LDFLAGS%g
18357 s%@exec_prefix@%$exec_prefix%g
18358 s%@prefix@%$prefix%g
18359 s%@program_transform_name@%$program_transform_name%g
18360 s%@bindir@%$bindir%g
18361 s%@sbindir@%$sbindir%g
18362 s%@libexecdir@%$libexecdir%g
18363 s%@datadir@%$datadir%g
18364 s%@sysconfdir@%$sysconfdir%g
18365 s%@sharedstatedir@%$sharedstatedir%g
18366 s%@localstatedir@%$localstatedir%g
18367 s%@libdir@%$libdir%g
18368 s%@includedir@%$includedir%g
18369 s%@oldincludedir@%$oldincludedir%g
18370 s%@infodir@%$infodir%g
18371 s%@mandir@%$mandir%g
18373 s%@host_alias@%$host_alias%g
18374 s%@host_cpu@%$host_cpu%g
18375 s%@host_vendor@%$host_vendor%g
18376 s%@host_os@%$host_os%g
18377 s%@target@%$target%g
18378 s%@target_alias@%$target_alias%g
18379 s%@target_cpu@%$target_cpu%g
18380 s%@target_vendor@%$target_vendor%g
18381 s%@target_os@%$target_os%g
18383 s%@build_alias@%$build_alias%g
18384 s%@build_cpu@%$build_cpu%g
18385 s%@build_vendor@%$build_vendor%g
18386 s%@build_os@%$build_os%g
18390 s%@RANLIB@%$RANLIB%g
18392 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
18393 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
18394 s%@INSTALL_DATA@%$INSTALL_DATA%g
18398 s%@LEXLIB@%$LEXLIB%g
18400 s%@GTK_CONFIG_2_0@%$GTK_CONFIG_2_0%g
18401 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
18402 s%@GTK_LIBS@%$GTK_LIBS%g
18403 s%@GTK_CONFIG@%$GTK_CONFIG%g
18404 s%@X_CFLAGS@%$X_CFLAGS%g
18405 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
18406 s%@X_LIBS@%$X_LIBS%g
18407 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
18408 s%@RESCOMP@%$RESCOMP%g
18410 s%@CXXCPP@%$CXXCPP%g
18411 s%@LEX_STEM@%$LEX_STEM%g
18412 s%@PATH_IFS@%$PATH_IFS%g
18413 s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
18414 s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
18415 s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
18416 s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
18417 s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
18418 s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
18419 s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
18420 s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
18421 s%@PROGRAM_EXT@%$PROGRAM_EXT%g
18422 s%@WX_LIBRARY_NAME_STATIC_GL@%$WX_LIBRARY_NAME_STATIC_GL%g
18423 s%@WX_LIBRARY_NAME_SHARED_GL@%$WX_LIBRARY_NAME_SHARED_GL%g
18424 s%@WX_TARGET_LIBRARY_GL@%$WX_TARGET_LIBRARY_GL%g
18425 s%@WX_LIBRARY_LINK1_GL@%$WX_LIBRARY_LINK1_GL%g
18426 s%@WX_LIBRARY_LINK2_GL@%$WX_LIBRARY_LINK2_GL%g
18427 s%@WX_ALL@%$WX_ALL%g
18428 s%@WX_ALL_INSTALLED@%$WX_ALL_INSTALLED%g
18429 s%@SHARED_LD@%$SHARED_LD%g
18430 s%@PIC_FLAG@%$PIC_FLAG%g
18431 s%@CODE_GEN_FLAGS@%$CODE_GEN_FLAGS%g
18432 s%@CODE_GEN_FLAGS_CXX@%$CODE_GEN_FLAGS_CXX%g
18433 s%@SONAME_FLAGS@%$SONAME_FLAGS%g
18434 s%@SONAME_FLAGS_GL@%$SONAME_FLAGS_GL%g
18435 s%@WX_TARGET_LIBRARY_SONAME@%$WX_TARGET_LIBRARY_SONAME%g
18436 s%@WX_TARGET_LIBRARY_TYPE@%$WX_TARGET_LIBRARY_TYPE%g
18437 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
18438 s%@USE_GUI@%$USE_GUI%g
18439 s%@AFMINSTALL@%$AFMINSTALL%g
18440 s%@TOOLKIT@%$TOOLKIT%g
18441 s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
18442 s%@TOOLKIT_VPATH@%$TOOLKIT_VPATH%g
18443 s%@TOOLCHAIN_NAME@%$TOOLCHAIN_NAME%g
18444 s%@TOOLCHAIN_DEFS@%$TOOLCHAIN_DEFS%g
18445 s%@cross_compiling@%$cross_compiling%g
18446 s%@WXCONFIG_LIBS@%$WXCONFIG_LIBS%g
18447 s%@WXCONFIG_LIBS_GL@%$WXCONFIG_LIBS_GL%g
18448 s%@WXCONFIG_INCLUDE@%$WXCONFIG_INCLUDE%g
18449 s%@ALL_OBJECTS@%$ALL_OBJECTS%g
18450 s%@GUIDIST@%$GUIDIST%g
18451 s%@PORT_FILES@%$PORT_FILES%g
18452 s%@DISTDIR@%$DISTDIR%g
18453 s%@RPM_SPEC@%$RPM_SPEC%g
18454 s%@RPM_FILES@%$RPM_FILES%g
18455 s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
18456 s%@EXTRA_LIBS@%$EXTRA_LIBS%g
18457 s%@OPENGL_LIBS@%$OPENGL_LIBS%g
18458 s%@EXTRADEFS@%$EXTRADEFS%g
18459 s%@LD_LIBS@%$LD_LIBS%g
18460 s%@WXMSW_DLL_DEFINES@%$WXMSW_DLL_DEFINES%g
18461 s%@RESFLAGS@%$RESFLAGS%g
18462 s%@RESPROGRAMOBJ@%$RESPROGRAMOBJ%g
18463 s%@WX_RESOURCES_MACOSX@%$WX_RESOURCES_MACOSX%g
18464 s%@LIBWXMACRES@%$LIBWXMACRES%g
18465 s%@LIBWXMACRESCOMP@%$LIBWXMACRESCOMP%g
18466 s%@DLLTOOL@%$DLLTOOL%g
18470 s%@MAKEINFO@%$MAKEINFO%g
18471 s%@SET_MAKE@%$SET_MAKE%g
18472 s%@subdirs@%$subdirs%g
18477 cat >> $CONFIG_STATUS <<\EOF
18479 # Split the substitutions into bite-sized pieces for seds with
18480 # small command number limits, like on Digital OSF/1 and HP-UX.
18481 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
18482 ac_file
=1 # Number of current file.
18483 ac_beg
=1 # First line for current file.
18484 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
18487 while $ac_more_lines; do
18488 if test $ac_beg -gt 1; then
18489 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
18491 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
18493 if test ! -s conftest.s
$ac_file; then
18494 ac_more_lines
=false
18495 rm -f conftest.s
$ac_file
18497 if test -z "$ac_sed_cmds"; then
18498 ac_sed_cmds
="sed -f conftest.s$ac_file"
18500 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
18502 ac_file
=`expr $ac_file + 1`
18504 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
18507 if test -z "$ac_sed_cmds"; then
18512 cat >> $CONFIG_STATUS <<EOF
18514 CONFIG_FILES=\${CONFIG_FILES-"wx-config
18521 cat >> $CONFIG_STATUS <<\EOF
18522 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
18523 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
18525 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
18526 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
18527 *) ac_file_in
="${ac_file}.in" ;;
18530 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
18532 # Remove last slash and all that follows it. Not all systems have dirname.
18533 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
18534 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
18535 # The file is in a subdirectory.
18536 test ! -d "$ac_dir" && mkdir "$ac_dir"
18537 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
18538 # A "../" for each directory in $ac_dir_suffix.
18539 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
18541 ac_dir_suffix
= ac_dots
=
18544 case "$ac_given_srcdir" in
18546 if test -z "$ac_dots"; then top_srcdir
=.
18547 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
18548 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
18549 *) # Relative path.
18550 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
18551 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
18554 case "$ac_given_INSTALL" in
18555 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
18556 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
18559 echo creating
"$ac_file"
18561 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
18563 *Makefile
*) ac_comsub
="1i\\
18564 # $configure_input" ;;
18568 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
18570 s%@configure_input@%$configure_input%g
18571 s%@srcdir@%$srcdir%g
18572 s%@top_srcdir@%$top_srcdir%g
18573 s%@INSTALL@%$INSTALL%g
18574 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
18578 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
18579 # NAME is the cpp macro being defined and VALUE is the value it is being given.
18581 # ac_d sets the value in "#define NAME VALUE" lines.
18582 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
18583 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
18586 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
18587 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
18588 ac_uB
='\([ ]\)%\1#\2define\3'
18591 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
18592 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
18593 ac_eB
='$%\1#\2define\3'
18597 if test "${CONFIG_HEADERS+set}" != set; then
18599 cat >> $CONFIG_STATUS <<EOF
18600 CONFIG_HEADERS="setup.h:setup.h.in"
18602 cat >> $CONFIG_STATUS <<\EOF
18604 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
18605 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
18607 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
18608 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
18609 *) ac_file_in
="${ac_file}.in" ;;
18612 echo creating
$ac_file
18614 rm -f conftest.frag conftest.
in conftest.out
18615 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
18616 cat $ac_file_inputs > conftest.
in
18620 # Transform confdefs.h into a sed script conftest.vals that substitutes
18621 # the proper values into config.h.in to produce config.h. And first:
18622 # Protect against being on the right side of a sed subst in config.status.
18623 # Protect against being in an unquoted here document in config.status.
18624 rm -f conftest.vals
18625 cat > conftest.hdr
<<\EOF
18628 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
18632 sed -n -f conftest.hdr confdefs.h > conftest.vals
18635 # This sed command replaces #undef with comments. This is necessary, for
18636 # example, in the case of _POSIX_SOURCE, which is predefined and required
18637 # on some systems where configure will not decide to define it.
18638 cat >> conftest.vals <<\EOF
18639 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
18642 # Break up conftest.vals because some shells have a limit on
18643 # the size of here documents, and old seds have small limits too.
18645 rm -f conftest.tail
18648 ac_lines=`grep -c . conftest.vals
`
18649 # grep -c gives empty output for an empty file on some AIX systems.
18650 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
18651 # Write a limited-size here document to conftest.frag.
18652 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
18653 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
18655 sed -f conftest.frag conftest.in > conftest.out
18657 mv conftest.out conftest.in
18658 ' >> $CONFIG_STATUS
18659 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
18660 rm -f conftest.vals
18661 mv conftest.tail conftest.vals
18663 rm -f conftest.vals
18665 cat >> $CONFIG_STATUS <<\EOF
18666 rm -f conftest.frag conftest.h
18667 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
18668 cat conftest.in >> conftest.h
18670 if cmp -s $ac_file conftest.h 2>/dev/null; then
18671 echo "$ac_file is unchanged"
18674 # Remove last slash and all that follows it. Not all systems have dirname.
18675 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
18676 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
18677 # The file is in a subdirectory.
18678 test ! -d "$ac_dir" && mkdir "$ac_dir"
18681 mv conftest.h $ac_file
18686 cat >> $CONFIG_STATUS <<EOF
18688 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
18693 cat >> $CONFIG_STATUS <<\EOF
18695 if test ! -L wx-config; then
18697 mv wx-config wx${TOOLCHAIN_NAME}-config
18698 ${LN_S} wx${TOOLCHAIN_NAME}-config wx-config
18701 if test ! -d lib; then
18704 if test ! -d lib/wx; then
18707 if test ! -d lib/wx/include; then
18708 mkdir lib/wx/include
18710 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}; then
18711 mkdir lib/wx/include/${TOOLCHAIN_NAME}
18713 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}/wx; then
18714 mkdir lib/wx/include/${TOOLCHAIN_NAME}/wx
18716 if test -f setup.h; then
18717 mv -f setup.h lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h
18722 chmod +x $CONFIG_STATUS
18723 rm -fr confdefs* $ac_clean_files
18724 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
18726 if test "$no_recursion" != yes; then
18728 # Remove --cache-file and --srcdir arguments so they do not pile up.
18729 ac_sub_configure_args=
18731 for ac_arg in $ac_configure_args; do
18732 if test -n "$ac_prev"; then
18737 -cache-file | --cache-file | --cache-fil | --cache-fi \
18738 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
18739 ac_prev=cache_file ;;
18740 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
18741 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
18743 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
18745 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
18747 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
18751 for ac_config_dir in demos samples utils contrib; do
18753 # Do not complain, so a configure script can configure whichever
18754 # parts of a large source tree are present.
18755 if test ! -d $srcdir/$ac_config_dir; then
18759 echo configuring in $ac_config_dir
18764 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
18766 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
18774 # A "../" for each directory in /$ac_config_dir.
18775 ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
18778 .) # No --srcdir option. We are building in place.
18779 ac_sub_srcdir=$srcdir ;;
18780 /*) # Absolute path.
18781 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
18782 *) # Relative path.
18783 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
18786 # Check for guested configure; otherwise get Cygnus style configure.
18787 if test -f $ac_sub_srcdir/configure; then
18788 ac_sub_configure=$ac_sub_srcdir/configure
18789 elif test -f $ac_sub_srcdir/configure.in; then
18790 ac_sub_configure=$ac_configure
18792 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
18796 # The recursion is here.
18797 if test -n "$ac_sub_configure"; then
18799 # Make the cache file name correct relative to the subdirectory.
18800 case "$cache_file" in
18801 /*) ac_sub_cache_file=$cache_file ;;
18802 *) # Relative path.
18803 ac_sub_cache_file="$ac_dots$cache_file" ;;
18805 case "$ac_given_INSTALL" in
18806 [/$]*) INSTALL="$ac_given_INSTALL" ;;
18807 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
18810 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
18811 # The eval makes quoting arguments work.
18812 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
18815 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }