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-msw use MS-Windows"
73 --with-pm use OS/2 Presentation Manager"
75 --with-mgl use SciTech MGL"
77 --enable-gtk2 use GTK+ 2.0 if available (EXPERIMENTAL)"
79 --with-libpng use libpng (PNG image format)"
81 --with-libjpeg use libjpeg (JPEG file format)"
83 --with-libtiff use libtiff (TIFF file format)"
85 --with-freetype use freetype (font rasterizer)"
87 --with-opengl use OpenGL (or Mesa)"
89 --with-dmalloc use dmalloc library (www.letters.com/dmalloc)"
91 --with-regex enable support for wxRegEx class"
93 --with-zlib use zlib for LZW compression"
95 --with-odbc use the IODBC and wxODBC classes"
97 --enable-shared create shared library code"
99 --enable-soname set the DT_SONAME field in ELF shared libraries"
101 --enable-optimise create optimised code"
103 --enable-debug same as debug_flag and debug_info"
105 --enable-precomp enable use of precompiled headers (Mac OS X)"
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
1008 WX_MSW_VERSION
=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1042 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1044 ALL_TOOLKITS
="GTK MAC MGL MOTIF MSW PM WINE"
1049 DEFAULT_wxUSE_MOTIF
=0
1052 DEFAULT_wxUSE_WINE
=0
1054 DEFAULT_DEFAULT_wxUSE_GTK
=0
1055 DEFAULT_DEFAULT_wxUSE_MAC
=0
1056 DEFAULT_DEFAULT_wxUSE_MGL
=0
1057 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1058 DEFAULT_DEFAULT_wxUSE_MSW
=0
1059 DEFAULT_DEFAULT_wxUSE_PM
=0
1060 DEFAULT_DEFAULT_wxUSE_WINE
=0
1068 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1069 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1071 cat >> confdefs.h
<<\EOF
1078 cat >> confdefs.h
<<\EOF
1083 if test "x$TMP" = "xalpha"; then
1085 cat >> confdefs.h
<<\EOF
1090 if test "x$TMP" = "xia64"; then
1092 cat >> confdefs.h
<<\EOF
1097 DEFAULT_DEFAULT_wxUSE_GTK
=1
1099 *-*-irix5* | *-*-irix6* )
1102 cat >> confdefs.h
<<\EOF
1106 cat >> confdefs.h
<<\EOF
1110 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1116 cat >> confdefs.h
<<\EOF
1120 cat >> confdefs.h
<<\EOF
1121 #define __SOLARIS__ 1
1124 cat >> confdefs.h
<<\EOF
1128 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1129 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1135 cat >> confdefs.h
<<\EOF
1139 cat >> confdefs.h
<<\EOF
1143 cat >> confdefs.h
<<\EOF
1147 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1152 cat >> confdefs.h
<<\EOF
1153 #define __FREEBSD__ 1
1156 cat >> confdefs.h
<<\EOF
1160 DEFAULT_DEFAULT_wxUSE_GTK
=1
1165 cat >> confdefs.h
<<\EOF
1166 #define __FREEBSD__ 1
1169 cat >> confdefs.h
<<\EOF
1170 #define __OPENBSD__ 1
1173 DEFAULT_DEFAULT_wxUSE_GTK
=1
1178 cat >> confdefs.h
<<\EOF
1179 #define __FREEBSD__ 1
1182 cat >> confdefs.h
<<\EOF
1183 #define __NETBSD__ 1
1186 DEFAULT_DEFAULT_wxUSE_GTK
=1
1191 cat >> confdefs.h
<<\EOF
1195 cat >> confdefs.h
<<\EOF
1199 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1200 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1205 cat >> confdefs.h
<<\EOF
1209 cat >> confdefs.h
<<\EOF
1213 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1218 cat >> confdefs.h
<<\EOF
1222 cat >> confdefs.h
<<\EOF
1226 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1232 cat >> confdefs.h
<<\EOF
1236 cat >> confdefs.h
<<\EOF
1240 cat >> confdefs.h
<<\EOF
1244 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1247 *-*-cygwin* | *-*-mingw32* )
1251 cat >> confdefs.h
<<\EOF
1255 cat >> confdefs.h
<<\EOF
1259 cat >> confdefs.h
<<\EOF
1260 #define __WINDOWS__ 1
1263 cat >> confdefs.h
<<\EOF
1264 #define __GNUWIN32__ 1
1267 cat >> confdefs.h
<<\EOF
1271 cat >> confdefs.h
<<\EOF
1272 #define WINVER 0x0400
1277 DEFAULT_DEFAULT_wxUSE_MSW
=1
1280 *-pc-os2_emx | *-pc-os2-emx )
1281 cat >> confdefs.h
<<\EOF
1286 DEFAULT_DEFAULT_wxUSE_PM
=1
1293 cat >> confdefs.h
<<\EOF
1297 cat >> confdefs.h
<<\EOF
1298 #define __DARWIN__ 1
1301 cat >> confdefs.h
<<\EOF
1302 #define __POWERPC__ 1
1305 DEFAULT_DEFAULT_wxUSE_MAC
=1
1310 cat >> confdefs.h
<<\EOF
1317 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
1320 if test "$USE_UNIX" = 1 ; then
1322 cat >> confdefs.h
<<\EOF
1328 if test "$USE_LINUX" = 1; then
1329 echo $ac_n "checking for glibc 2.1 or later""... $ac_c" 1>&6
1330 echo "configure:1331: checking for glibc 2.1 or later" >&5
1331 if eval "test \"`echo '$''{'wx_lib_glibc21'+set}'`\" = set"; then
1332 echo $ac_n "(cached) $ac_c" 1>&6
1334 cat > conftest.
$ac_ext <<EOF
1335 #line 1336 "configure"
1336 #include "confdefs.h"
1337 #include <features.h>
1340 #if !__GLIBC_PREREQ(2, 1)
1346 if { (eval echo configure
:1347: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1352 echo "configure: failed program was:" >&5
1353 cat conftest.
$ac_ext >&5
1364 echo "$ac_t""$wx_lib_glibc21" 1>&6
1365 if test "$wx_lib_glibc21" = "yes"; then
1366 cat >> confdefs.h
<<\EOF
1367 #define wxHAVE_GLIBC2 1
1376 wx_arg_cache_file
="configarg.cache"
1377 echo "loading argument cache $wx_arg_cache_file"
1378 rm -f ${wx_arg_cache_file}.tmp
1379 touch ${wx_arg_cache_file}.tmp
1380 touch ${wx_arg_cache_file}
1384 if test $DEBUG_CONFIGURE = 1; then
1385 DEFAULT_wxUSE_UNIVERSAL
=no
1387 DEFAULT_wxUSE_THREADS
=yes
1389 DEFAULT_wxUSE_SHARED
=yes
1390 DEFAULT_wxUSE_SONAME
=no
1391 DEFAULT_wxUSE_OPTIMISE
=no
1392 DEFAULT_wxUSE_PROFILE
=no
1393 DEFAULT_wxUSE_NO_DEPS
=no
1394 DEFAULT_wxUSE_NO_RTTI
=yes
1395 DEFAULT_wxUSE_NO_EXCEPTIONS
=yes
1396 DEFAULT_wxUSE_PERMISSIVE
=no
1397 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1398 DEFAULT_wxUSE_DEBUG_INFO
=yes
1399 DEFAULT_wxUSE_DEBUG_GDB
=yes
1400 DEFAULT_wxUSE_MEM_TRACING
=no
1401 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1402 DEFAULT_wxUSE_DMALLOC
=no
1403 DEFAULT_wxUSE_PRECOMP
=yes
1404 DEFAULT_wxUSE_APPLE_IEEE
=no
1406 DEFAULT_wxUSE_LOG
=yes
1407 DEFAULT_wxUSE_LOGWINDOW
=no
1408 DEFAULT_wxUSE_LOGGUI
=no
1410 DEFAULT_wxUSE_GUI
=yes
1411 DEFAULT_wxUSE_CONTROLS
=no
1413 DEFAULT_wxUSE_REGEX
=no
1414 DEFAULT_wxUSE_ZLIB
=no
1415 DEFAULT_wxUSE_LIBPNG
=no
1416 DEFAULT_wxUSE_LIBJPEG
=no
1417 DEFAULT_wxUSE_LIBTIFF
=no
1418 DEFAULT_wxUSE_ODBC
=no
1419 DEFAULT_wxUSE_FREETYPE
=no
1420 DEFAULT_wxUSE_OPENGL
=no
1422 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
1423 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
1424 DEFAULT_wxUSE_STD_IOSTREAM
=no
1425 DEFAULT_wxUSE_CMDLINE_PARSER
=no
1426 DEFAULT_wxUSE_DATETIME
=no
1427 DEFAULT_wxUSE_TIMEDATE
=no
1428 DEFAULT_wxUSE_TIMER
=no
1429 DEFAULT_wxUSE_STOPWATCH
=no
1430 DEFAULT_wxUSE_FILE
=no
1431 DEFAULT_wxUSE_FFILE
=no
1432 DEFAULT_wxUSE_TEXTFILE
=no
1433 DEFAULT_wxUSE_WAVE
=no
1434 DEFAULT_wxUSE_INTL
=no
1435 DEFAULT_wxUSE_CONFIG
=no
1436 DEFAULT_wxUSE_FONTMAP
=no
1437 DEFAULT_wxUSE_STREAMS
=no
1438 DEFAULT_wxUSE_SOCKETS
=no
1439 DEFAULT_wxUSE_DIALUP_MANAGER
=no
1440 DEFAULT_wxUSE_SERIAL
=no
1441 DEFAULT_wxUSE_JOYSTICK
=no
1442 DEFAULT_wxUSE_DYNLIB_CLASS
=no
1443 DEFAULT_wxUSE_LONGLONG
=no
1444 DEFAULT_wxUSE_GEOMETRY
=no
1446 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
1447 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
1448 DEFAULT_wxUSE_POSTSCRIPT
=no
1450 DEFAULT_wxUSE_X_RESOURCES
=no
1451 DEFAULT_wxUSE_CLIPBOARD
=no
1452 DEFAULT_wxUSE_TOOLTIPS
=no
1453 DEFAULT_wxUSE_DRAG_AND_DROP
=no
1454 DEFAULT_wxUSE_DRAGIMAGE
=no
1455 DEFAULT_wxUSE_SPLINES
=no
1457 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
1458 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
1459 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
1461 DEFAULT_wxUSE_PROLOGIO
=no
1462 DEFAULT_wxUSE_RESOURCES
=no
1463 DEFAULT_wxUSE_CONSTRAINTS
=no
1464 DEFAULT_wxUSE_IPC
=no
1465 DEFAULT_wxUSE_HELP
=no
1466 DEFAULT_wxUSE_MS_HTML_HELP
=no
1467 DEFAULT_wxUSE_WXHTML_HELP
=no
1468 DEFAULT_wxUSE_TREELAYOUT
=no
1469 DEFAULT_wxUSE_METAFILE
=no
1470 DEFAULT_wxUSE_MIMETYPE
=no
1471 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
1473 DEFAULT_wxUSE_COMMONDLGS
=no
1474 DEFAULT_wxUSE_CHOICEDLG
=no
1475 DEFAULT_wxUSE_COLOURDLG
=no
1476 DEFAULT_wxUSE_DIRDLG
=no
1477 DEFAULT_wxUSE_FILEDLG
=no
1478 DEFAULT_wxUSE_FINDREPLDLG
=no
1479 DEFAULT_wxUSE_FONTDLG
=no
1480 DEFAULT_wxUSE_MSGDLG
=no
1481 DEFAULT_wxUSE_NUMBERDLG
=no
1482 DEFAULT_wxUSE_TEXTDLG
=no
1483 DEFAULT_wxUSE_SPLASH
=no
1484 DEFAULT_wxUSE_STARTUP_TIPS
=no
1485 DEFAULT_wxUSE_PROGRESSDLG
=no
1486 DEFAULT_wxUSE_WIZARDDLG
=no
1488 DEFAULT_wxUSE_MENUS
=no
1489 DEFAULT_wxUSE_MINIFRAME
=no
1490 DEFAULT_wxUSE_HTML
=no
1491 DEFAULT_wxUSE_FILESYSTEM
=no
1492 DEFAULT_wxUSE_FS_INET
=no
1493 DEFAULT_wxUSE_FS_ZIP
=no
1494 DEFAULT_wxUSE_BUSYINFO
=no
1495 DEFAULT_wxUSE_ZIPSTREAM
=no
1496 DEFAULT_wxUSE_VALIDATORS
=no
1498 DEFAULT_wxUSE_ACCEL
=no
1499 DEFAULT_wxUSE_BUTTON
=no
1500 DEFAULT_wxUSE_BMPBUTTON
=no
1501 DEFAULT_wxUSE_CALCTRL
=no
1502 DEFAULT_wxUSE_CARET
=no
1503 DEFAULT_wxUSE_CHECKBOX
=no
1504 DEFAULT_wxUSE_CHECKLST
=no
1505 DEFAULT_wxUSE_CHOICE
=no
1506 DEFAULT_wxUSE_COMBOBOX
=no
1507 DEFAULT_wxUSE_GAUGE
=no
1508 DEFAULT_wxUSE_GRID
=no
1509 DEFAULT_wxUSE_NEW_GRID
=no
1510 DEFAULT_wxUSE_IMAGLIST
=no
1511 DEFAULT_wxUSE_LISTBOX
=no
1512 DEFAULT_wxUSE_LISTCTRL
=no
1513 DEFAULT_wxUSE_NOTEBOOK
=no
1514 DEFAULT_wxUSE_PROPSHEET
=no
1515 DEFAULT_wxUSE_RADIOBOX
=no
1516 DEFAULT_wxUSE_RADIOBTN
=no
1517 DEFAULT_wxUSE_SASH
=no
1518 DEFAULT_wxUSE_SCROLLBAR
=no
1519 DEFAULT_wxUSE_SLIDER
=no
1520 DEFAULT_wxUSE_SPINBTN
=no
1521 DEFAULT_wxUSE_SPINCTRL
=no
1522 DEFAULT_wxUSE_SPLITTER
=no
1523 DEFAULT_wxUSE_STATBMP
=no
1524 DEFAULT_wxUSE_STATBOX
=no
1525 DEFAULT_wxUSE_STATLINE
=no
1526 DEFAULT_wxUSE_STATTEXT
=no
1527 DEFAULT_wxUSE_STATUSBAR
=yes
1528 DEFAULT_wxUSE_TABDIALOG
=no
1529 DEFAULT_wxUSE_TEXTCTRL
=no
1530 DEFAULT_wxUSE_TOGGLEBTN
=no
1531 DEFAULT_wxUSE_TOOLBAR
=no
1532 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
1533 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
1534 DEFAULT_wxUSE_TREECTRL
=no
1535 DEFAULT_wxUSE_POPUPWIN
=no
1537 DEFAULT_wxUSE_UNICODE
=no
1538 DEFAULT_wxUSE_WCSRTOMBS
=no
1540 DEFAULT_wxUSE_PALETTE
=no
1541 DEFAULT_wxUSE_IMAGE
=no
1542 DEFAULT_wxUSE_GIF
=no
1543 DEFAULT_wxUSE_PCX
=no
1544 DEFAULT_wxUSE_PNM
=no
1545 DEFAULT_wxUSE_XPM
=no
1547 DEFAULT_wxUSE_UNIVERSAL
=no
1549 DEFAULT_wxUSE_THREADS
=yes
1551 DEFAULT_wxUSE_SHARED
=yes
1552 DEFAULT_wxUSE_SONAME
=no
1553 DEFAULT_wxUSE_OPTIMISE
=yes
1554 DEFAULT_wxUSE_PROFILE
=no
1555 DEFAULT_wxUSE_NO_DEPS
=no
1556 DEFAULT_wxUSE_NO_RTTI
=yes
1557 DEFAULT_wxUSE_NO_EXCEPTIONS
=yes
1558 DEFAULT_wxUSE_PERMISSIVE
=no
1559 DEFAULT_wxUSE_DEBUG_FLAG
=no
1560 DEFAULT_wxUSE_DEBUG_INFO
=no
1561 DEFAULT_wxUSE_DEBUG_GDB
=no
1562 DEFAULT_wxUSE_MEM_TRACING
=no
1563 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1564 DEFAULT_wxUSE_DMALLOC
=no
1565 DEFAULT_wxUSE_PRECOMP
=yes
1566 DEFAULT_wxUSE_APPLE_IEEE
=yes
1568 DEFAULT_wxUSE_LOG
=yes
1569 DEFAULT_wxUSE_LOGWINDOW
=yes
1570 DEFAULT_wxUSE_LOGGUI
=yes
1572 DEFAULT_wxUSE_GUI
=yes
1574 DEFAULT_wxUSE_REGEX
=yes
1575 DEFAULT_wxUSE_ZLIB
=yes
1576 DEFAULT_wxUSE_LIBPNG
=yes
1577 DEFAULT_wxUSE_LIBJPEG
=yes
1578 DEFAULT_wxUSE_LIBTIFF
=yes
1579 DEFAULT_wxUSE_ODBC
=no
1580 DEFAULT_wxUSE_FREETYPE
=no
1581 DEFAULT_wxUSE_OPENGL
=no
1583 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
1584 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
1585 DEFAULT_wxUSE_STD_IOSTREAM
=no
1586 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
1587 DEFAULT_wxUSE_DATETIME
=yes
1588 DEFAULT_wxUSE_TIMEDATE
=no
1589 DEFAULT_wxUSE_TIMER
=yes
1590 DEFAULT_wxUSE_STOPWATCH
=yes
1591 DEFAULT_wxUSE_FILE
=yes
1592 DEFAULT_wxUSE_FFILE
=yes
1593 DEFAULT_wxUSE_TEXTFILE
=yes
1594 DEFAULT_wxUSE_WAVE
=no
1595 DEFAULT_wxUSE_INTL
=yes
1596 DEFAULT_wxUSE_CONFIG
=yes
1597 DEFAULT_wxUSE_FONTMAP
=yes
1598 DEFAULT_wxUSE_STREAMS
=yes
1599 DEFAULT_wxUSE_SOCKETS
=yes
1600 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
1601 DEFAULT_wxUSE_SERIAL
=yes
1602 DEFAULT_wxUSE_JOYSTICK
=yes
1603 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
1604 DEFAULT_wxUSE_LONGLONG
=yes
1605 DEFAULT_wxUSE_GEOMETRY
=yes
1607 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
1608 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
1609 DEFAULT_wxUSE_POSTSCRIPT
=yes
1611 DEFAULT_wxUSE_X_RESOURCES
=no
1612 DEFAULT_wxUSE_CLIPBOARD
=yes
1613 DEFAULT_wxUSE_TOOLTIPS
=yes
1614 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
1615 DEFAULT_wxUSE_DRAGIMAGE
=yes
1616 DEFAULT_wxUSE_SPLINES
=yes
1618 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
1619 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
1620 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
1622 DEFAULT_wxUSE_PROLOGIO
=yes
1623 DEFAULT_wxUSE_RESOURCES
=yes
1624 DEFAULT_wxUSE_CONSTRAINTS
=yes
1625 DEFAULT_wxUSE_IPC
=yes
1626 DEFAULT_wxUSE_HELP
=yes
1627 DEFAULT_wxUSE_MS_HTML_HELP
=yes
1628 DEFAULT_wxUSE_WXHTML_HELP
=yes
1629 DEFAULT_wxUSE_TREELAYOUT
=yes
1630 DEFAULT_wxUSE_METAFILE
=yes
1631 DEFAULT_wxUSE_MIMETYPE
=yes
1632 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
1634 DEFAULT_wxUSE_COMMONDLGS
=yes
1635 DEFAULT_wxUSE_CHOICEDLG
=yes
1636 DEFAULT_wxUSE_COLOURDLG
=yes
1637 DEFAULT_wxUSE_DIRDLG
=yes
1638 DEFAULT_wxUSE_FILEDLG
=yes
1639 DEFAULT_wxUSE_FINDREPLDLG
=yes
1640 DEFAULT_wxUSE_FONTDLG
=yes
1641 DEFAULT_wxUSE_MSGDLG
=yes
1642 DEFAULT_wxUSE_NUMBERDLG
=yes
1643 DEFAULT_wxUSE_TEXTDLG
=yes
1644 DEFAULT_wxUSE_SPLASH
=yes
1645 DEFAULT_wxUSE_STARTUP_TIPS
=yes
1646 DEFAULT_wxUSE_PROGRESSDLG
=yes
1647 DEFAULT_wxUSE_WIZARDDLG
=yes
1649 DEFAULT_wxUSE_MENUS
=yes
1650 DEFAULT_wxUSE_MINIFRAME
=yes
1651 DEFAULT_wxUSE_HTML
=yes
1652 DEFAULT_wxUSE_FILESYSTEM
=yes
1653 DEFAULT_wxUSE_FS_INET
=yes
1654 DEFAULT_wxUSE_FS_ZIP
=yes
1655 DEFAULT_wxUSE_BUSYINFO
=yes
1656 DEFAULT_wxUSE_ZIPSTREAM
=yes
1657 DEFAULT_wxUSE_VALIDATORS
=yes
1659 DEFAULT_wxUSE_ACCEL
=yes
1660 DEFAULT_wxUSE_BUTTON
=yes
1661 DEFAULT_wxUSE_BMPBUTTON
=yes
1662 DEFAULT_wxUSE_CALCTRL
=yes
1663 DEFAULT_wxUSE_CARET
=yes
1664 DEFAULT_wxUSE_CHECKBOX
=yes
1665 DEFAULT_wxUSE_CHECKLST
=yes
1666 DEFAULT_wxUSE_CHOICE
=yes
1667 DEFAULT_wxUSE_COMBOBOX
=yes
1668 DEFAULT_wxUSE_GAUGE
=yes
1669 DEFAULT_wxUSE_GRID
=yes
1670 DEFAULT_wxUSE_NEW_GRID
=yes
1671 DEFAULT_wxUSE_IMAGLIST
=yes
1672 DEFAULT_wxUSE_LISTBOX
=yes
1673 DEFAULT_wxUSE_LISTCTRL
=yes
1674 DEFAULT_wxUSE_NOTEBOOK
=yes
1675 DEFAULT_wxUSE_PROPSHEET
=yes
1676 DEFAULT_wxUSE_RADIOBOX
=yes
1677 DEFAULT_wxUSE_RADIOBTN
=yes
1678 DEFAULT_wxUSE_SASH
=yes
1679 DEFAULT_wxUSE_SCROLLBAR
=yes
1680 DEFAULT_wxUSE_SLIDER
=yes
1681 DEFAULT_wxUSE_SPINBTN
=yes
1682 DEFAULT_wxUSE_SPINCTRL
=yes
1683 DEFAULT_wxUSE_SPLITTER
=yes
1684 DEFAULT_wxUSE_STATBMP
=yes
1685 DEFAULT_wxUSE_STATBOX
=yes
1686 DEFAULT_wxUSE_STATLINE
=yes
1687 DEFAULT_wxUSE_STATTEXT
=yes
1688 DEFAULT_wxUSE_STATUSBAR
=yes
1689 DEFAULT_wxUSE_TABDIALOG
=no
1690 DEFAULT_wxUSE_TEXTCTRL
=yes
1691 DEFAULT_wxUSE_TOGGLEBTN
=yes
1692 DEFAULT_wxUSE_TOOLBAR
=yes
1693 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
1694 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
1695 DEFAULT_wxUSE_TREECTRL
=yes
1696 DEFAULT_wxUSE_POPUPWIN
=yes
1698 DEFAULT_wxUSE_UNICODE
=no
1699 DEFAULT_wxUSE_WCSRTOMBS
=no
1701 DEFAULT_wxUSE_PALETTE
=yes
1702 DEFAULT_wxUSE_IMAGE
=yes
1703 DEFAULT_wxUSE_GIF
=yes
1704 DEFAULT_wxUSE_PCX
=yes
1705 DEFAULT_wxUSE_PNM
=yes
1706 DEFAULT_wxUSE_XPM
=yes
1711 for toolkit
in `echo $ALL_TOOLKITS`; do
1712 LINE
=`grep "wxUSE_$toolkit" ${wx_arg_cache_file}`
1713 if test "x$LINE" != x
; then
1714 has_toolkit_in_cache
=1
1715 eval "DEFAULT_$LINE"
1716 eval "CACHE_$toolkit=1"
1722 echo $ac_n "checking for --enable-gui""... $ac_c" 1>&6
1723 echo "configure:1724: checking for --enable-gui" >&5
1725 # Check whether --enable-gui or --disable-gui was given.
1726 if test "${enable_gui+set}" = set; then
1727 enableval
="$enable_gui"
1729 if test "$enableval" = yes; then
1730 ac_cv_use_gui
='wxUSE_GUI=yes'
1732 ac_cv_use_gui
='wxUSE_GUI=no'
1737 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
1738 if test "x$LINE" != x
; then
1739 eval "DEFAULT_$LINE"
1744 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
1749 eval "$ac_cv_use_gui"
1750 if test "$no_cache" != 1; then
1751 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
1754 if test "$wxUSE_GUI" = yes; then
1755 echo "$ac_t""yes" 1>&6
1757 echo "$ac_t""no" 1>&6
1761 if test "$wxUSE_GUI" = "yes"; then
1764 echo $ac_n "checking for --enable-universal""... $ac_c" 1>&6
1765 echo "configure:1766: checking for --enable-universal" >&5
1767 # Check whether --enable-universal or --disable-universal was given.
1768 if test "${enable_universal+set}" = set; then
1769 enableval
="$enable_universal"
1771 if test "$enableval" = yes; then
1772 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
1774 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
1779 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
1780 if test "x$LINE" != x
; then
1781 eval "DEFAULT_$LINE"
1786 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
1791 eval "$ac_cv_use_universal"
1792 if test "$no_cache" != 1; then
1793 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
1796 if test "$wxUSE_UNIVERSAL" = yes; then
1797 echo "$ac_t""yes" 1>&6
1799 echo "$ac_t""no" 1>&6
1802 # Check whether --with-gtk or --without-gtk was given.
1803 if test "${with_gtk+set}" = set; then
1805 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
1808 # Check whether --with-motif or --without-motif was given.
1809 if test "${with_motif+set}" = set; then
1810 withval
="$with_motif"
1811 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
1814 # Check whether --with-mac or --without-mac was given.
1815 if test "${with_mac+set}" = set; then
1817 wxUSE_MAC
="$withval" TOOLKIT_GIVEN
=1
1820 # Check whether --with-wine or --without-wine was given.
1821 if test "${with_wine+set}" = set; then
1822 withval
="$with_wine"
1823 wxUSE_WINE
="$withval" CACHE_WINE
=1 TOOLKIT_GIVEN
=1
1826 # Check whether --with-msw or --without-msw was given.
1827 if test "${with_msw+set}" = set; then
1829 wxUSE_MSW
="$withval" CACHE_MSW TOOLKIT_GIVEN
=1
1832 # Check whether --with-pm or --without-pm was given.
1833 if test "${with_pm+set}" = set; then
1835 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
1838 # Check whether --with-mgl or --without-mgl was given.
1839 if test "${with_mgl+set}" = set; then
1841 wxUSE_MGL
="$withval" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
1845 # Check whether --enable-gtk2 or --disable-gtk2 was given.
1846 if test "${enable_gtk2+set}" = set; then
1847 enableval
="$enable_gtk2"
1855 echo $ac_n "checking for --with-libpng""... $ac_c" 1>&6
1856 echo "configure:1857: checking for --with-libpng" >&5
1858 # Check whether --with-libpng or --without-libpng was given.
1859 if test "${with_libpng+set}" = set; then
1860 withval
="$with_libpng"
1862 if test "$withval" = yes; then
1863 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
1864 elif test "$withval" = no
; then
1865 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
1866 elif test "$withval" = sys
; then
1867 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
1868 elif test "$withval" = builtin; then
1869 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
1871 { echo "configure: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" 1>&2; exit 1; }
1876 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
1877 if test "x$LINE" != x
; then
1878 eval "DEFAULT_$LINE"
1883 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
1888 eval "$ac_cv_use_libpng"
1889 if test "$no_cache" != 1; then
1890 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
1893 if test "$wxUSE_LIBPNG" = yes; then
1894 echo "$ac_t""yes" 1>&6
1895 elif test "$wxUSE_LIBPNG" = no
; then
1896 echo "$ac_t""no" 1>&6
1897 elif test "$wxUSE_LIBPNG" = sys
; then
1898 echo "$ac_t""system version" 1>&6
1899 elif test "$wxUSE_LIBPNG" = builtin; then
1900 echo "$ac_t""builtin version" 1>&6
1902 { echo "configure: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" 1>&2; exit 1; }
1906 echo $ac_n "checking for --with-libjpeg""... $ac_c" 1>&6
1907 echo "configure:1908: checking for --with-libjpeg" >&5
1909 # Check whether --with-libjpeg or --without-libjpeg was given.
1910 if test "${with_libjpeg+set}" = set; then
1911 withval
="$with_libjpeg"
1913 if test "$withval" = yes; then
1914 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
1915 elif test "$withval" = no
; then
1916 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
1917 elif test "$withval" = sys
; then
1918 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
1919 elif test "$withval" = builtin; then
1920 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
1922 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" 1>&2; exit 1; }
1927 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
1928 if test "x$LINE" != x
; then
1929 eval "DEFAULT_$LINE"
1934 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
1939 eval "$ac_cv_use_libjpeg"
1940 if test "$no_cache" != 1; then
1941 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
1944 if test "$wxUSE_LIBJPEG" = yes; then
1945 echo "$ac_t""yes" 1>&6
1946 elif test "$wxUSE_LIBJPEG" = no
; then
1947 echo "$ac_t""no" 1>&6
1948 elif test "$wxUSE_LIBJPEG" = sys
; then
1949 echo "$ac_t""system version" 1>&6
1950 elif test "$wxUSE_LIBJPEG" = builtin; then
1951 echo "$ac_t""builtin version" 1>&6
1953 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" 1>&2; exit 1; }
1957 echo $ac_n "checking for --with-libtiff""... $ac_c" 1>&6
1958 echo "configure:1959: checking for --with-libtiff" >&5
1960 # Check whether --with-libtiff or --without-libtiff was given.
1961 if test "${with_libtiff+set}" = set; then
1962 withval
="$with_libtiff"
1964 if test "$withval" = yes; then
1965 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
1966 elif test "$withval" = no
; then
1967 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
1968 elif test "$withval" = sys
; then
1969 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
1970 elif test "$withval" = builtin; then
1971 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
1973 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" 1>&2; exit 1; }
1978 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
1979 if test "x$LINE" != x
; then
1980 eval "DEFAULT_$LINE"
1985 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
1990 eval "$ac_cv_use_libtiff"
1991 if test "$no_cache" != 1; then
1992 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
1995 if test "$wxUSE_LIBTIFF" = yes; then
1996 echo "$ac_t""yes" 1>&6
1997 elif test "$wxUSE_LIBTIFF" = no
; then
1998 echo "$ac_t""no" 1>&6
1999 elif test "$wxUSE_LIBTIFF" = sys
; then
2000 echo "$ac_t""system version" 1>&6
2001 elif test "$wxUSE_LIBTIFF" = builtin; then
2002 echo "$ac_t""builtin version" 1>&6
2004 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2008 echo $ac_n "checking for --with-freetype""... $ac_c" 1>&6
2009 echo "configure:2010: checking for --with-freetype" >&5
2011 # Check whether --with-freetype or --without-freetype was given.
2012 if test "${with_freetype+set}" = set; then
2013 withval
="$with_freetype"
2015 if test "$withval" = yes; then
2016 ac_cv_use_freetype
='wxUSE_FREETYPE=yes'
2017 elif test "$withval" = no
; then
2018 ac_cv_use_freetype
='wxUSE_FREETYPE=no'
2019 elif test "$withval" = sys
; then
2020 ac_cv_use_freetype
='wxUSE_FREETYPE=sys'
2021 elif test "$withval" = builtin; then
2022 ac_cv_use_freetype
='wxUSE_FREETYPE=builtin'
2024 { echo "configure: error: Invalid value for --with-freetype: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2029 LINE
=`grep "wxUSE_FREETYPE" ${wx_arg_cache_file}`
2030 if test "x$LINE" != x
; then
2031 eval "DEFAULT_$LINE"
2036 ac_cv_use_freetype
='wxUSE_FREETYPE='$DEFAULT_wxUSE_FREETYPE
2041 eval "$ac_cv_use_freetype"
2042 if test "$no_cache" != 1; then
2043 echo $ac_cv_use_freetype >> ${wx_arg_cache_file}.tmp
2046 if test "$wxUSE_FREETYPE" = yes; then
2047 echo "$ac_t""yes" 1>&6
2048 elif test "$wxUSE_FREETYPE" = no
; then
2049 echo "$ac_t""no" 1>&6
2050 elif test "$wxUSE_FREETYPE" = sys
; then
2051 echo "$ac_t""system version" 1>&6
2052 elif test "$wxUSE_FREETYPE" = builtin; then
2053 echo "$ac_t""builtin version" 1>&6
2055 { echo "configure: error: Invalid value for --with-freetype: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2059 echo $ac_n "checking for --with-opengl""... $ac_c" 1>&6
2060 echo "configure:2061: checking for --with-opengl" >&5
2062 # Check whether --with-opengl or --without-opengl was given.
2063 if test "${with_opengl+set}" = set; then
2064 withval
="$with_opengl"
2066 if test "$withval" = yes; then
2067 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
2069 ac_cv_use_opengl
='wxUSE_OPENGL=no'
2074 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2075 if test "x$LINE" != x
; then
2076 eval "DEFAULT_$LINE"
2081 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
2086 eval "$ac_cv_use_opengl"
2087 if test "$no_cache" != 1; then
2088 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2091 if test "$wxUSE_OPENGL" = yes; then
2092 echo "$ac_t""yes" 1>&6
2094 echo "$ac_t""no" 1>&6
2101 echo $ac_n "checking for --with-dmalloc""... $ac_c" 1>&6
2102 echo "configure:2103: checking for --with-dmalloc" >&5
2104 # Check whether --with-dmalloc or --without-dmalloc was given.
2105 if test "${with_dmalloc+set}" = set; then
2106 withval
="$with_dmalloc"
2108 if test "$withval" = yes; then
2109 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
2111 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
2116 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2117 if test "x$LINE" != x
; then
2118 eval "DEFAULT_$LINE"
2123 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
2128 eval "$ac_cv_use_dmalloc"
2129 if test "$no_cache" != 1; then
2130 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2133 if test "$wxUSE_DMALLOC" = yes; then
2134 echo "$ac_t""yes" 1>&6
2136 echo "$ac_t""no" 1>&6
2140 echo $ac_n "checking for --with-regex""... $ac_c" 1>&6
2141 echo "configure:2142: checking for --with-regex" >&5
2143 # Check whether --with-regex or --without-regex was given.
2144 if test "${with_regex+set}" = set; then
2145 withval
="$with_regex"
2147 if test "$withval" = yes; then
2148 ac_cv_use_regex
='wxUSE_REGEX=yes'
2149 elif test "$withval" = no
; then
2150 ac_cv_use_regex
='wxUSE_REGEX=no'
2151 elif test "$withval" = sys
; then
2152 ac_cv_use_regex
='wxUSE_REGEX=sys'
2153 elif test "$withval" = builtin; then
2154 ac_cv_use_regex
='wxUSE_REGEX=builtin'
2156 { echo "configure: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2161 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
2162 if test "x$LINE" != x
; then
2163 eval "DEFAULT_$LINE"
2168 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
2173 eval "$ac_cv_use_regex"
2174 if test "$no_cache" != 1; then
2175 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
2178 if test "$wxUSE_REGEX" = yes; then
2179 echo "$ac_t""yes" 1>&6
2180 elif test "$wxUSE_REGEX" = no
; then
2181 echo "$ac_t""no" 1>&6
2182 elif test "$wxUSE_REGEX" = sys
; then
2183 echo "$ac_t""system version" 1>&6
2184 elif test "$wxUSE_REGEX" = builtin; then
2185 echo "$ac_t""builtin version" 1>&6
2187 { echo "configure: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2191 echo $ac_n "checking for --with-zlib""... $ac_c" 1>&6
2192 echo "configure:2193: checking for --with-zlib" >&5
2194 # Check whether --with-zlib or --without-zlib was given.
2195 if test "${with_zlib+set}" = set; then
2196 withval
="$with_zlib"
2198 if test "$withval" = yes; then
2199 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
2200 elif test "$withval" = no
; then
2201 ac_cv_use_zlib
='wxUSE_ZLIB=no'
2202 elif test "$withval" = sys
; then
2203 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
2204 elif test "$withval" = builtin; then
2205 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
2207 { echo "configure: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2212 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2213 if test "x$LINE" != x
; then
2214 eval "DEFAULT_$LINE"
2219 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
2224 eval "$ac_cv_use_zlib"
2225 if test "$no_cache" != 1; then
2226 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2229 if test "$wxUSE_ZLIB" = yes; then
2230 echo "$ac_t""yes" 1>&6
2231 elif test "$wxUSE_ZLIB" = no
; then
2232 echo "$ac_t""no" 1>&6
2233 elif test "$wxUSE_ZLIB" = sys
; then
2234 echo "$ac_t""system version" 1>&6
2235 elif test "$wxUSE_ZLIB" = builtin; then
2236 echo "$ac_t""builtin version" 1>&6
2238 { echo "configure: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2242 echo $ac_n "checking for --with-odbc""... $ac_c" 1>&6
2243 echo "configure:2244: checking for --with-odbc" >&5
2245 # Check whether --with-odbc or --without-odbc was given.
2246 if test "${with_odbc+set}" = set; then
2247 withval
="$with_odbc"
2249 if test "$withval" = yes; then
2250 ac_cv_use_odbc
='wxUSE_ODBC=yes'
2252 ac_cv_use_odbc
='wxUSE_ODBC=no'
2257 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
2258 if test "x$LINE" != x
; then
2259 eval "DEFAULT_$LINE"
2264 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
2269 eval "$ac_cv_use_odbc"
2270 if test "$no_cache" != 1; then
2271 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
2274 if test "$wxUSE_ODBC" = yes; then
2275 echo "$ac_t""yes" 1>&6
2277 echo "$ac_t""no" 1>&6
2283 echo $ac_n "checking for --enable-shared""... $ac_c" 1>&6
2284 echo "configure:2285: checking for --enable-shared" >&5
2286 # Check whether --enable-shared or --disable-shared was given.
2287 if test "${enable_shared+set}" = set; then
2288 enableval
="$enable_shared"
2290 if test "$enableval" = yes; then
2291 ac_cv_use_shared
='wxUSE_SHARED=yes'
2293 ac_cv_use_shared
='wxUSE_SHARED=no'
2298 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
2299 if test "x$LINE" != x
; then
2300 eval "DEFAULT_$LINE"
2305 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
2310 eval "$ac_cv_use_shared"
2311 if test "$no_cache" != 1; then
2312 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
2315 if test "$wxUSE_SHARED" = yes; then
2316 echo "$ac_t""yes" 1>&6
2318 echo "$ac_t""no" 1>&6
2322 echo $ac_n "checking for --enable-soname""... $ac_c" 1>&6
2323 echo "configure:2324: checking for --enable-soname" >&5
2325 # Check whether --enable-soname or --disable-soname was given.
2326 if test "${enable_soname+set}" = set; then
2327 enableval
="$enable_soname"
2329 if test "$enableval" = yes; then
2330 ac_cv_use_soname
='wxUSE_SONAME=yes'
2332 ac_cv_use_soname
='wxUSE_SONAME=no'
2337 LINE
=`grep "wxUSE_SONAME" ${wx_arg_cache_file}`
2338 if test "x$LINE" != x
; then
2339 eval "DEFAULT_$LINE"
2344 ac_cv_use_soname
='wxUSE_SONAME='$DEFAULT_wxUSE_SONAME
2349 eval "$ac_cv_use_soname"
2350 if test "$no_cache" != 1; then
2351 echo $ac_cv_use_soname >> ${wx_arg_cache_file}.tmp
2354 if test "$wxUSE_SONAME" = yes; then
2355 echo "$ac_t""yes" 1>&6
2357 echo "$ac_t""no" 1>&6
2361 echo $ac_n "checking for --enable-optimise""... $ac_c" 1>&6
2362 echo "configure:2363: checking for --enable-optimise" >&5
2364 # Check whether --enable-optimise or --disable-optimise was given.
2365 if test "${enable_optimise+set}" = set; then
2366 enableval
="$enable_optimise"
2368 if test "$enableval" = yes; then
2369 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
2371 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
2376 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
2377 if test "x$LINE" != x
; then
2378 eval "DEFAULT_$LINE"
2383 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
2388 eval "$ac_cv_use_optimise"
2389 if test "$no_cache" != 1; then
2390 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
2393 if test "$wxUSE_OPTIMISE" = yes; then
2394 echo "$ac_t""yes" 1>&6
2396 echo "$ac_t""no" 1>&6
2400 echo $ac_n "checking for --enable-debug""... $ac_c" 1>&6
2401 echo "configure:2402: checking for --enable-debug" >&5
2403 # Check whether --enable-debug or --disable-debug was given.
2404 if test "${enable_debug+set}" = set; then
2405 enableval
="$enable_debug"
2407 if test "$enableval" = yes; then
2408 ac_cv_use_debug
='wxUSE_DEBUG=yes'
2410 ac_cv_use_debug
='wxUSE_DEBUG=no'
2415 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
2416 if test "x$LINE" != x
; then
2417 eval "DEFAULT_$LINE"
2422 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
2427 eval "$ac_cv_use_debug"
2428 if test "$no_cache" != 1; then
2429 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
2432 if test "$wxUSE_DEBUG" = yes; then
2433 echo "$ac_t""yes" 1>&6
2435 echo "$ac_t""no" 1>&6
2440 echo $ac_n "checking for --enable-precomp""... $ac_c" 1>&6
2441 echo "configure:2442: checking for --enable-precomp" >&5
2443 # Check whether --enable-precomp or --disable-precomp was given.
2444 if test "${enable_precomp+set}" = set; then
2445 enableval
="$enable_precomp"
2447 if test "$enableval" = yes; then
2448 ac_cv_use_precomp
='wxUSE_PRECOMP=yes'
2450 ac_cv_use_precomp
='wxUSE_PRECOMP=no'
2455 LINE
=`grep "wxUSE_PRECOMP" ${wx_arg_cache_file}`
2456 if test "x$LINE" != x
; then
2457 eval "DEFAULT_$LINE"
2462 ac_cv_use_precomp
='wxUSE_PRECOMP='$DEFAULT_wxUSE_PRECOMP
2467 eval "$ac_cv_use_precomp"
2468 if test "$no_cache" != 1; then
2469 echo $ac_cv_use_precomp >> ${wx_arg_cache_file}.tmp
2472 if test "$wxUSE_PRECOMP" = yes; then
2473 echo "$ac_t""yes" 1>&6
2475 echo "$ac_t""no" 1>&6
2479 if test "$wxUSE_DEBUG" = "yes"; then
2480 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2481 DEFAULT_wxUSE_DEBUG_INFO
=yes
2482 elif test "$wxUSE_DEBUG" = "no"; then
2483 DEFAULT_wxUSE_DEBUG_FLAG
=no
2484 DEFAULT_wxUSE_DEBUG_INFO
=no
2488 echo $ac_n "checking for --enable-debug_flag""... $ac_c" 1>&6
2489 echo "configure:2490: checking for --enable-debug_flag" >&5
2491 # Check whether --enable-debug_flag or --disable-debug_flag was given.
2492 if test "${enable_debug_flag+set}" = set; then
2493 enableval
="$enable_debug_flag"
2495 if test "$enableval" = yes; then
2496 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
2498 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
2503 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
2504 if test "x$LINE" != x
; then
2505 eval "DEFAULT_$LINE"
2510 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
2515 eval "$ac_cv_use_debug_flag"
2516 if test "$no_cache" != 1; then
2517 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
2520 if test "$wxUSE_DEBUG_FLAG" = yes; then
2521 echo "$ac_t""yes" 1>&6
2523 echo "$ac_t""no" 1>&6
2527 echo $ac_n "checking for --enable-debug_info""... $ac_c" 1>&6
2528 echo "configure:2529: checking for --enable-debug_info" >&5
2530 # Check whether --enable-debug_info or --disable-debug_info was given.
2531 if test "${enable_debug_info+set}" = set; then
2532 enableval
="$enable_debug_info"
2534 if test "$enableval" = yes; then
2535 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
2537 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
2542 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
2543 if test "x$LINE" != x
; then
2544 eval "DEFAULT_$LINE"
2549 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
2554 eval "$ac_cv_use_debug_info"
2555 if test "$no_cache" != 1; then
2556 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
2559 if test "$wxUSE_DEBUG_INFO" = yes; then
2560 echo "$ac_t""yes" 1>&6
2562 echo "$ac_t""no" 1>&6
2566 echo $ac_n "checking for --enable-debug_gdb""... $ac_c" 1>&6
2567 echo "configure:2568: checking for --enable-debug_gdb" >&5
2569 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
2570 if test "${enable_debug_gdb+set}" = set; then
2571 enableval
="$enable_debug_gdb"
2573 if test "$enableval" = yes; then
2574 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
2576 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
2581 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
2582 if test "x$LINE" != x
; then
2583 eval "DEFAULT_$LINE"
2588 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
2593 eval "$ac_cv_use_debug_gdb"
2594 if test "$no_cache" != 1; then
2595 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
2598 if test "$wxUSE_DEBUG_GDB" = yes; then
2599 echo "$ac_t""yes" 1>&6
2601 echo "$ac_t""no" 1>&6
2605 echo $ac_n "checking for --enable-debug_cntxt""... $ac_c" 1>&6
2606 echo "configure:2607: checking for --enable-debug_cntxt" >&5
2608 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
2609 if test "${enable_debug_cntxt+set}" = set; then
2610 enableval
="$enable_debug_cntxt"
2612 if test "$enableval" = yes; then
2613 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
2615 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
2620 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2621 if test "x$LINE" != x
; then
2622 eval "DEFAULT_$LINE"
2627 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2632 eval "$ac_cv_use_debug_cntxt"
2633 if test "$no_cache" != 1; then
2634 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2637 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2638 echo "$ac_t""yes" 1>&6
2640 echo "$ac_t""no" 1>&6
2644 echo $ac_n "checking for --enable-mem_tracing""... $ac_c" 1>&6
2645 echo "configure:2646: checking for --enable-mem_tracing" >&5
2647 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2648 if test "${enable_mem_tracing+set}" = set; then
2649 enableval
="$enable_mem_tracing"
2651 if test "$enableval" = yes; then
2652 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
2654 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
2659 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2660 if test "x$LINE" != x
; then
2661 eval "DEFAULT_$LINE"
2666 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2671 eval "$ac_cv_use_mem_tracing"
2672 if test "$no_cache" != 1; then
2673 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2676 if test "$wxUSE_MEM_TRACING" = yes; then
2677 echo "$ac_t""yes" 1>&6
2679 echo "$ac_t""no" 1>&6
2683 echo $ac_n "checking for --enable-profile""... $ac_c" 1>&6
2684 echo "configure:2685: checking for --enable-profile" >&5
2686 # Check whether --enable-profile or --disable-profile was given.
2687 if test "${enable_profile+set}" = set; then
2688 enableval
="$enable_profile"
2690 if test "$enableval" = yes; then
2691 ac_cv_use_profile
='wxUSE_PROFILE=yes'
2693 ac_cv_use_profile
='wxUSE_PROFILE=no'
2698 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2699 if test "x$LINE" != x
; then
2700 eval "DEFAULT_$LINE"
2705 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2710 eval "$ac_cv_use_profile"
2711 if test "$no_cache" != 1; then
2712 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2715 if test "$wxUSE_PROFILE" = yes; then
2716 echo "$ac_t""yes" 1>&6
2718 echo "$ac_t""no" 1>&6
2722 echo $ac_n "checking for --enable-no_rtti""... $ac_c" 1>&6
2723 echo "configure:2724: checking for --enable-no_rtti" >&5
2725 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2726 if test "${enable_no_rtti+set}" = set; then
2727 enableval
="$enable_no_rtti"
2729 if test "$enableval" = yes; then
2730 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
2732 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
2737 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2738 if test "x$LINE" != x
; then
2739 eval "DEFAULT_$LINE"
2744 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2749 eval "$ac_cv_use_no_rtti"
2750 if test "$no_cache" != 1; then
2751 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2754 if test "$wxUSE_NO_RTTI" = yes; then
2755 echo "$ac_t""yes" 1>&6
2757 echo "$ac_t""no" 1>&6
2761 echo $ac_n "checking for --enable-no_exceptions""... $ac_c" 1>&6
2762 echo "configure:2763: checking for --enable-no_exceptions" >&5
2764 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2765 if test "${enable_no_exceptions+set}" = set; then
2766 enableval
="$enable_no_exceptions"
2768 if test "$enableval" = yes; then
2769 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
2771 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
2776 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2777 if test "x$LINE" != x
; then
2778 eval "DEFAULT_$LINE"
2783 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2788 eval "$ac_cv_use_no_exceptions"
2789 if test "$no_cache" != 1; then
2790 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2793 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2794 echo "$ac_t""yes" 1>&6
2796 echo "$ac_t""no" 1>&6
2800 echo $ac_n "checking for --enable-permissive""... $ac_c" 1>&6
2801 echo "configure:2802: checking for --enable-permissive" >&5
2803 # Check whether --enable-permissive or --disable-permissive was given.
2804 if test "${enable_permissive+set}" = set; then
2805 enableval
="$enable_permissive"
2807 if test "$enableval" = yes; then
2808 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
2810 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
2815 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2816 if test "x$LINE" != x
; then
2817 eval "DEFAULT_$LINE"
2822 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
2827 eval "$ac_cv_use_permissive"
2828 if test "$no_cache" != 1; then
2829 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
2832 if test "$wxUSE_PERMISSIVE" = yes; then
2833 echo "$ac_t""yes" 1>&6
2835 echo "$ac_t""no" 1>&6
2839 echo $ac_n "checking for --enable-no_deps""... $ac_c" 1>&6
2840 echo "configure:2841: checking for --enable-no_deps" >&5
2842 # Check whether --enable-no_deps or --disable-no_deps was given.
2843 if test "${enable_no_deps+set}" = set; then
2844 enableval
="$enable_no_deps"
2846 if test "$enableval" = yes; then
2847 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
2849 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
2854 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
2855 if test "x$LINE" != x
; then
2856 eval "DEFAULT_$LINE"
2861 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
2866 eval "$ac_cv_use_no_deps"
2867 if test "$no_cache" != 1; then
2868 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
2871 if test "$wxUSE_NO_DEPS" = yes; then
2872 echo "$ac_t""yes" 1>&6
2874 echo "$ac_t""no" 1>&6
2879 echo $ac_n "checking for --enable-compat20""... $ac_c" 1>&6
2880 echo "configure:2881: checking for --enable-compat20" >&5
2882 # Check whether --enable-compat20 or --disable-compat20 was given.
2883 if test "${enable_compat20+set}" = set; then
2884 enableval
="$enable_compat20"
2886 if test "$enableval" = yes; then
2887 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=yes'
2889 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=no'
2894 LINE
=`grep "WXWIN_COMPATIBILITY_2" ${wx_arg_cache_file}`
2895 if test "x$LINE" != x
; then
2896 eval "DEFAULT_$LINE"
2901 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2='$DEFAULT_WXWIN_COMPATIBILITY_2
2906 eval "$ac_cv_use_compat20"
2907 if test "$no_cache" != 1; then
2908 echo $ac_cv_use_compat20 >> ${wx_arg_cache_file}.tmp
2911 if test "$WXWIN_COMPATIBILITY_2" = yes; then
2912 echo "$ac_t""yes" 1>&6
2914 echo "$ac_t""no" 1>&6
2918 echo $ac_n "checking for --enable-compat22""... $ac_c" 1>&6
2919 echo "configure:2920: checking for --enable-compat22" >&5
2921 # Check whether --enable-compat22 or --disable-compat22 was given.
2922 if test "${enable_compat22+set}" = set; then
2923 enableval
="$enable_compat22"
2925 if test "$enableval" = yes; then
2926 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
2928 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
2933 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
2934 if test "x$LINE" != x
; then
2935 eval "DEFAULT_$LINE"
2940 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
2945 eval "$ac_cv_use_compat22"
2946 if test "$no_cache" != 1; then
2947 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
2950 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
2951 echo "$ac_t""yes" 1>&6
2953 echo "$ac_t""no" 1>&6
2959 echo $ac_n "checking for --enable-intl""... $ac_c" 1>&6
2960 echo "configure:2961: checking for --enable-intl" >&5
2962 # Check whether --enable-intl or --disable-intl was given.
2963 if test "${enable_intl+set}" = set; then
2964 enableval
="$enable_intl"
2966 if test "$enableval" = yes; then
2967 ac_cv_use_intl
='wxUSE_INTL=yes'
2969 ac_cv_use_intl
='wxUSE_INTL=no'
2974 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
2975 if test "x$LINE" != x
; then
2976 eval "DEFAULT_$LINE"
2981 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
2986 eval "$ac_cv_use_intl"
2987 if test "$no_cache" != 1; then
2988 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
2991 if test "$wxUSE_INTL" = yes; then
2992 echo "$ac_t""yes" 1>&6
2994 echo "$ac_t""no" 1>&6
2998 echo $ac_n "checking for --enable-config""... $ac_c" 1>&6
2999 echo "configure:3000: checking for --enable-config" >&5
3001 # Check whether --enable-config or --disable-config was given.
3002 if test "${enable_config+set}" = set; then
3003 enableval
="$enable_config"
3005 if test "$enableval" = yes; then
3006 ac_cv_use_config
='wxUSE_CONFIG=yes'
3008 ac_cv_use_config
='wxUSE_CONFIG=no'
3013 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
3014 if test "x$LINE" != x
; then
3015 eval "DEFAULT_$LINE"
3020 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
3025 eval "$ac_cv_use_config"
3026 if test "$no_cache" != 1; then
3027 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
3030 if test "$wxUSE_CONFIG" = yes; then
3031 echo "$ac_t""yes" 1>&6
3033 echo "$ac_t""no" 1>&6
3038 echo $ac_n "checking for --enable-sockets""... $ac_c" 1>&6
3039 echo "configure:3040: checking for --enable-sockets" >&5
3041 # Check whether --enable-sockets or --disable-sockets was given.
3042 if test "${enable_sockets+set}" = set; then
3043 enableval
="$enable_sockets"
3045 if test "$enableval" = yes; then
3046 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
3048 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
3053 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
3054 if test "x$LINE" != x
; then
3055 eval "DEFAULT_$LINE"
3060 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
3065 eval "$ac_cv_use_sockets"
3066 if test "$no_cache" != 1; then
3067 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
3070 if test "$wxUSE_SOCKETS" = yes; then
3071 echo "$ac_t""yes" 1>&6
3073 echo "$ac_t""no" 1>&6
3078 echo $ac_n "checking for --enable-ipc""... $ac_c" 1>&6
3079 echo "configure:3080: checking for --enable-ipc" >&5
3081 # Check whether --enable-ipc or --disable-ipc was given.
3082 if test "${enable_ipc+set}" = set; then
3083 enableval
="$enable_ipc"
3085 if test "$enableval" = yes; then
3086 ac_cv_use_ipc
='wxUSE_IPC=yes'
3088 ac_cv_use_ipc
='wxUSE_IPC=no'
3093 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
3094 if test "x$LINE" != x
; then
3095 eval "DEFAULT_$LINE"
3100 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
3105 eval "$ac_cv_use_ipc"
3106 if test "$no_cache" != 1; then
3107 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
3110 if test "$wxUSE_IPC" = yes; then
3111 echo "$ac_t""yes" 1>&6
3113 echo "$ac_t""no" 1>&6
3118 echo $ac_n "checking for --enable-cmdline""... $ac_c" 1>&6
3119 echo "configure:3120: checking for --enable-cmdline" >&5
3121 # Check whether --enable-cmdline or --disable-cmdline was given.
3122 if test "${enable_cmdline+set}" = set; then
3123 enableval
="$enable_cmdline"
3125 if test "$enableval" = yes; then
3126 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
3128 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
3133 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
3134 if test "x$LINE" != x
; then
3135 eval "DEFAULT_$LINE"
3140 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
3145 eval "$ac_cv_use_cmdline"
3146 if test "$no_cache" != 1; then
3147 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
3150 if test "$wxUSE_CMDLINE_PARSER" = yes; then
3151 echo "$ac_t""yes" 1>&6
3153 echo "$ac_t""no" 1>&6
3157 echo $ac_n "checking for --enable-datetime""... $ac_c" 1>&6
3158 echo "configure:3159: checking for --enable-datetime" >&5
3160 # Check whether --enable-datetime or --disable-datetime was given.
3161 if test "${enable_datetime+set}" = set; then
3162 enableval
="$enable_datetime"
3164 if test "$enableval" = yes; then
3165 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
3167 ac_cv_use_datetime
='wxUSE_DATETIME=no'
3172 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
3173 if test "x$LINE" != x
; then
3174 eval "DEFAULT_$LINE"
3179 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
3184 eval "$ac_cv_use_datetime"
3185 if test "$no_cache" != 1; then
3186 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
3189 if test "$wxUSE_DATETIME" = yes; then
3190 echo "$ac_t""yes" 1>&6
3192 echo "$ac_t""no" 1>&6
3196 echo $ac_n "checking for --enable-timedate""... $ac_c" 1>&6
3197 echo "configure:3198: checking for --enable-timedate" >&5
3199 # Check whether --enable-timedate or --disable-timedate was given.
3200 if test "${enable_timedate+set}" = set; then
3201 enableval
="$enable_timedate"
3203 if test "$enableval" = yes; then
3204 ac_cv_use_timedate
='wxUSE_TIMEDATE=yes'
3206 ac_cv_use_timedate
='wxUSE_TIMEDATE=no'
3211 LINE
=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}`
3212 if test "x$LINE" != x
; then
3213 eval "DEFAULT_$LINE"
3218 ac_cv_use_timedate
='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
3223 eval "$ac_cv_use_timedate"
3224 if test "$no_cache" != 1; then
3225 echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp
3228 if test "$wxUSE_TIMEDATE" = yes; then
3229 echo "$ac_t""yes" 1>&6
3231 echo "$ac_t""no" 1>&6
3235 echo $ac_n "checking for --enable-stopwatch""... $ac_c" 1>&6
3236 echo "configure:3237: checking for --enable-stopwatch" >&5
3238 # Check whether --enable-stopwatch or --disable-stopwatch was given.
3239 if test "${enable_stopwatch+set}" = set; then
3240 enableval
="$enable_stopwatch"
3242 if test "$enableval" = yes; then
3243 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
3245 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
3250 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
3251 if test "x$LINE" != x
; then
3252 eval "DEFAULT_$LINE"
3257 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
3262 eval "$ac_cv_use_stopwatch"
3263 if test "$no_cache" != 1; then
3264 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
3267 if test "$wxUSE_STOPWATCH" = yes; then
3268 echo "$ac_t""yes" 1>&6
3270 echo "$ac_t""no" 1>&6
3274 echo $ac_n "checking for --enable-dialupman""... $ac_c" 1>&6
3275 echo "configure:3276: checking for --enable-dialupman" >&5
3277 # Check whether --enable-dialupman or --disable-dialupman was given.
3278 if test "${enable_dialupman+set}" = set; then
3279 enableval
="$enable_dialupman"
3281 if test "$enableval" = yes; then
3282 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
3284 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
3289 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
3290 if test "x$LINE" != x
; then
3291 eval "DEFAULT_$LINE"
3296 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
3301 eval "$ac_cv_use_dialupman"
3302 if test "$no_cache" != 1; then
3303 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
3306 if test "$wxUSE_DIALUP_MANAGER" = yes; then
3307 echo "$ac_t""yes" 1>&6
3309 echo "$ac_t""no" 1>&6
3313 echo $ac_n "checking for --enable-apple_ieee""... $ac_c" 1>&6
3314 echo "configure:3315: checking for --enable-apple_ieee" >&5
3316 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
3317 if test "${enable_apple_ieee+set}" = set; then
3318 enableval
="$enable_apple_ieee"
3320 if test "$enableval" = yes; then
3321 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
3323 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
3328 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
3329 if test "x$LINE" != x
; then
3330 eval "DEFAULT_$LINE"
3335 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
3340 eval "$ac_cv_use_apple_ieee"
3341 if test "$no_cache" != 1; then
3342 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
3345 if test "$wxUSE_APPLE_IEEE" = yes; then
3346 echo "$ac_t""yes" 1>&6
3348 echo "$ac_t""no" 1>&6
3352 echo $ac_n "checking for --enable-timer""... $ac_c" 1>&6
3353 echo "configure:3354: checking for --enable-timer" >&5
3355 # Check whether --enable-timer or --disable-timer was given.
3356 if test "${enable_timer+set}" = set; then
3357 enableval
="$enable_timer"
3359 if test "$enableval" = yes; then
3360 ac_cv_use_timer
='wxUSE_TIMER=yes'
3362 ac_cv_use_timer
='wxUSE_TIMER=no'
3367 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
3368 if test "x$LINE" != x
; then
3369 eval "DEFAULT_$LINE"
3374 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
3379 eval "$ac_cv_use_timer"
3380 if test "$no_cache" != 1; then
3381 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
3384 if test "$wxUSE_TIMER" = yes; then
3385 echo "$ac_t""yes" 1>&6
3387 echo "$ac_t""no" 1>&6
3391 echo $ac_n "checking for --enable-wave""... $ac_c" 1>&6
3392 echo "configure:3393: checking for --enable-wave" >&5
3394 # Check whether --enable-wave or --disable-wave was given.
3395 if test "${enable_wave+set}" = set; then
3396 enableval
="$enable_wave"
3398 if test "$enableval" = yes; then
3399 ac_cv_use_wave
='wxUSE_WAVE=yes'
3401 ac_cv_use_wave
='wxUSE_WAVE=no'
3406 LINE
=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
3407 if test "x$LINE" != x
; then
3408 eval "DEFAULT_$LINE"
3413 ac_cv_use_wave
='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
3418 eval "$ac_cv_use_wave"
3419 if test "$no_cache" != 1; then
3420 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
3423 if test "$wxUSE_WAVE" = yes; then
3424 echo "$ac_t""yes" 1>&6
3426 echo "$ac_t""no" 1>&6
3430 echo $ac_n "checking for --enable-fraction""... $ac_c" 1>&6
3431 echo "configure:3432: checking for --enable-fraction" >&5
3433 # Check whether --enable-fraction or --disable-fraction was given.
3434 if test "${enable_fraction+set}" = set; then
3435 enableval
="$enable_fraction"
3437 if test "$enableval" = yes; then
3438 ac_cv_use_fraction
='wxUSE_FRACTION=yes'
3440 ac_cv_use_fraction
='wxUSE_FRACTION=no'
3445 LINE
=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
3446 if test "x$LINE" != x
; then
3447 eval "DEFAULT_$LINE"
3452 ac_cv_use_fraction
='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
3457 eval "$ac_cv_use_fraction"
3458 if test "$no_cache" != 1; then
3459 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
3462 if test "$wxUSE_FRACTION" = yes; then
3463 echo "$ac_t""yes" 1>&6
3465 echo "$ac_t""no" 1>&6
3469 echo $ac_n "checking for --enable-dynlib""... $ac_c" 1>&6
3470 echo "configure:3471: checking for --enable-dynlib" >&5
3472 # Check whether --enable-dynlib or --disable-dynlib was given.
3473 if test "${enable_dynlib+set}" = set; then
3474 enableval
="$enable_dynlib"
3476 if test "$enableval" = yes; then
3477 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
3479 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
3484 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
3485 if test "x$LINE" != x
; then
3486 eval "DEFAULT_$LINE"
3491 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
3496 eval "$ac_cv_use_dynlib"
3497 if test "$no_cache" != 1; then
3498 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
3501 if test "$wxUSE_DYNLIB_CLASS" = yes; then
3502 echo "$ac_t""yes" 1>&6
3504 echo "$ac_t""no" 1>&6
3508 echo $ac_n "checking for --enable-longlong""... $ac_c" 1>&6
3509 echo "configure:3510: checking for --enable-longlong" >&5
3511 # Check whether --enable-longlong or --disable-longlong was given.
3512 if test "${enable_longlong+set}" = set; then
3513 enableval
="$enable_longlong"
3515 if test "$enableval" = yes; then
3516 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
3518 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
3523 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
3524 if test "x$LINE" != x
; then
3525 eval "DEFAULT_$LINE"
3530 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
3535 eval "$ac_cv_use_longlong"
3536 if test "$no_cache" != 1; then
3537 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
3540 if test "$wxUSE_LONGLONG" = yes; then
3541 echo "$ac_t""yes" 1>&6
3543 echo "$ac_t""no" 1>&6
3547 echo $ac_n "checking for --enable-geometry""... $ac_c" 1>&6
3548 echo "configure:3549: checking for --enable-geometry" >&5
3550 # Check whether --enable-geometry or --disable-geometry was given.
3551 if test "${enable_geometry+set}" = set; then
3552 enableval
="$enable_geometry"
3554 if test "$enableval" = yes; then
3555 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
3557 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
3562 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
3563 if test "x$LINE" != x
; then
3564 eval "DEFAULT_$LINE"
3569 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
3574 eval "$ac_cv_use_geometry"
3575 if test "$no_cache" != 1; then
3576 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
3579 if test "$wxUSE_GEOMETRY" = yes; then
3580 echo "$ac_t""yes" 1>&6
3582 echo "$ac_t""no" 1>&6
3586 echo $ac_n "checking for --enable-log""... $ac_c" 1>&6
3587 echo "configure:3588: checking for --enable-log" >&5
3589 # Check whether --enable-log or --disable-log was given.
3590 if test "${enable_log+set}" = set; then
3591 enableval
="$enable_log"
3593 if test "$enableval" = yes; then
3594 ac_cv_use_log
='wxUSE_LOG=yes'
3596 ac_cv_use_log
='wxUSE_LOG=no'
3601 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
3602 if test "x$LINE" != x
; then
3603 eval "DEFAULT_$LINE"
3608 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
3613 eval "$ac_cv_use_log"
3614 if test "$no_cache" != 1; then
3615 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
3618 if test "$wxUSE_LOG" = yes; then
3619 echo "$ac_t""yes" 1>&6
3621 echo "$ac_t""no" 1>&6
3625 echo $ac_n "checking for --enable-streams""... $ac_c" 1>&6
3626 echo "configure:3627: checking for --enable-streams" >&5
3628 # Check whether --enable-streams or --disable-streams was given.
3629 if test "${enable_streams+set}" = set; then
3630 enableval
="$enable_streams"
3632 if test "$enableval" = yes; then
3633 ac_cv_use_streams
='wxUSE_STREAMS=yes'
3635 ac_cv_use_streams
='wxUSE_STREAMS=no'
3640 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
3641 if test "x$LINE" != x
; then
3642 eval "DEFAULT_$LINE"
3647 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
3652 eval "$ac_cv_use_streams"
3653 if test "$no_cache" != 1; then
3654 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
3657 if test "$wxUSE_STREAMS" = yes; then
3658 echo "$ac_t""yes" 1>&6
3660 echo "$ac_t""no" 1>&6
3664 echo $ac_n "checking for --enable-file""... $ac_c" 1>&6
3665 echo "configure:3666: checking for --enable-file" >&5
3667 # Check whether --enable-file or --disable-file was given.
3668 if test "${enable_file+set}" = set; then
3669 enableval
="$enable_file"
3671 if test "$enableval" = yes; then
3672 ac_cv_use_file
='wxUSE_FILE=yes'
3674 ac_cv_use_file
='wxUSE_FILE=no'
3679 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
3680 if test "x$LINE" != x
; then
3681 eval "DEFAULT_$LINE"
3686 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
3691 eval "$ac_cv_use_file"
3692 if test "$no_cache" != 1; then
3693 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
3696 if test "$wxUSE_FILE" = yes; then
3697 echo "$ac_t""yes" 1>&6
3699 echo "$ac_t""no" 1>&6
3703 echo $ac_n "checking for --enable-ffile""... $ac_c" 1>&6
3704 echo "configure:3705: checking for --enable-ffile" >&5
3706 # Check whether --enable-ffile or --disable-ffile was given.
3707 if test "${enable_ffile+set}" = set; then
3708 enableval
="$enable_ffile"
3710 if test "$enableval" = yes; then
3711 ac_cv_use_ffile
='wxUSE_FFILE=yes'
3713 ac_cv_use_ffile
='wxUSE_FFILE=no'
3718 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
3719 if test "x$LINE" != x
; then
3720 eval "DEFAULT_$LINE"
3725 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
3730 eval "$ac_cv_use_ffile"
3731 if test "$no_cache" != 1; then
3732 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
3735 if test "$wxUSE_FFILE" = yes; then
3736 echo "$ac_t""yes" 1>&6
3738 echo "$ac_t""no" 1>&6
3742 echo $ac_n "checking for --enable-textfile""... $ac_c" 1>&6
3743 echo "configure:3744: checking for --enable-textfile" >&5
3745 # Check whether --enable-textfile or --disable-textfile was given.
3746 if test "${enable_textfile+set}" = set; then
3747 enableval
="$enable_textfile"
3749 if test "$enableval" = yes; then
3750 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
3752 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
3757 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
3758 if test "x$LINE" != x
; then
3759 eval "DEFAULT_$LINE"
3764 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
3769 eval "$ac_cv_use_textfile"
3770 if test "$no_cache" != 1; then
3771 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
3774 if test "$wxUSE_TEXTFILE" = yes; then
3775 echo "$ac_t""yes" 1>&6
3777 echo "$ac_t""no" 1>&6
3781 echo $ac_n "checking for --enable-fontmap""... $ac_c" 1>&6
3782 echo "configure:3783: checking for --enable-fontmap" >&5
3784 # Check whether --enable-fontmap or --disable-fontmap was given.
3785 if test "${enable_fontmap+set}" = set; then
3786 enableval
="$enable_fontmap"
3788 if test "$enableval" = yes; then
3789 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
3791 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
3796 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
3797 if test "x$LINE" != x
; then
3798 eval "DEFAULT_$LINE"
3803 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
3808 eval "$ac_cv_use_fontmap"
3809 if test "$no_cache" != 1; then
3810 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
3813 if test "$wxUSE_FONTMAP" = yes; then
3814 echo "$ac_t""yes" 1>&6
3816 echo "$ac_t""no" 1>&6
3820 echo $ac_n "checking for --enable-unicode""... $ac_c" 1>&6
3821 echo "configure:3822: checking for --enable-unicode" >&5
3823 # Check whether --enable-unicode or --disable-unicode was given.
3824 if test "${enable_unicode+set}" = set; then
3825 enableval
="$enable_unicode"
3827 if test "$enableval" = yes; then
3828 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
3830 ac_cv_use_unicode
='wxUSE_UNICODE=no'
3835 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
3836 if test "x$LINE" != x
; then
3837 eval "DEFAULT_$LINE"
3842 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
3847 eval "$ac_cv_use_unicode"
3848 if test "$no_cache" != 1; then
3849 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
3852 if test "$wxUSE_UNICODE" = yes; then
3853 echo "$ac_t""yes" 1>&6
3855 echo "$ac_t""no" 1>&6
3859 echo $ac_n "checking for --enable-wxprintfv""... $ac_c" 1>&6
3860 echo "configure:3861: checking for --enable-wxprintfv" >&5
3862 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
3863 if test "${enable_wxprintfv+set}" = set; then
3864 enableval
="$enable_wxprintfv"
3866 if test "$enableval" = yes; then
3867 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
3869 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
3874 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
3875 if test "x$LINE" != x
; then
3876 eval "DEFAULT_$LINE"
3881 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
3886 eval "$ac_cv_use_wxprintfv"
3887 if test "$no_cache" != 1; then
3888 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
3891 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
3892 echo "$ac_t""yes" 1>&6
3894 echo "$ac_t""no" 1>&6
3898 echo $ac_n "checking for --enable-std_iostreams""... $ac_c" 1>&6
3899 echo "configure:3900: checking for --enable-std_iostreams" >&5
3901 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
3902 if test "${enable_std_iostreams+set}" = set; then
3903 enableval
="$enable_std_iostreams"
3905 if test "$enableval" = yes; then
3906 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
3908 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
3913 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
3914 if test "x$LINE" != x
; then
3915 eval "DEFAULT_$LINE"
3920 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
3925 eval "$ac_cv_use_std_iostreams"
3926 if test "$no_cache" != 1; then
3927 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
3930 if test "$wxUSE_STD_IOSTREAM" = yes; then
3931 echo "$ac_t""yes" 1>&6
3933 echo "$ac_t""no" 1>&6
3937 echo $ac_n "checking for --enable-filesystem""... $ac_c" 1>&6
3938 echo "configure:3939: checking for --enable-filesystem" >&5
3940 # Check whether --enable-filesystem or --disable-filesystem was given.
3941 if test "${enable_filesystem+set}" = set; then
3942 enableval
="$enable_filesystem"
3944 if test "$enableval" = yes; then
3945 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
3947 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
3952 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
3953 if test "x$LINE" != x
; then
3954 eval "DEFAULT_$LINE"
3959 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
3964 eval "$ac_cv_use_filesystem"
3965 if test "$no_cache" != 1; then
3966 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
3969 if test "$wxUSE_FILESYSTEM" = yes; then
3970 echo "$ac_t""yes" 1>&6
3972 echo "$ac_t""no" 1>&6
3976 echo $ac_n "checking for --enable-fs_inet""... $ac_c" 1>&6
3977 echo "configure:3978: checking for --enable-fs_inet" >&5
3979 # Check whether --enable-fs_inet or --disable-fs_inet was given.
3980 if test "${enable_fs_inet+set}" = set; then
3981 enableval
="$enable_fs_inet"
3983 if test "$enableval" = yes; then
3984 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
3986 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
3991 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
3992 if test "x$LINE" != x
; then
3993 eval "DEFAULT_$LINE"
3998 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
4003 eval "$ac_cv_use_fs_inet"
4004 if test "$no_cache" != 1; then
4005 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
4008 if test "$wxUSE_FS_INET" = yes; then
4009 echo "$ac_t""yes" 1>&6
4011 echo "$ac_t""no" 1>&6
4015 echo $ac_n "checking for --enable-fs_zip""... $ac_c" 1>&6
4016 echo "configure:4017: checking for --enable-fs_zip" >&5
4018 # Check whether --enable-fs_zip or --disable-fs_zip was given.
4019 if test "${enable_fs_zip+set}" = set; then
4020 enableval
="$enable_fs_zip"
4022 if test "$enableval" = yes; then
4023 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
4025 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
4030 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
4031 if test "x$LINE" != x
; then
4032 eval "DEFAULT_$LINE"
4037 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
4042 eval "$ac_cv_use_fs_zip"
4043 if test "$no_cache" != 1; then
4044 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
4047 if test "$wxUSE_FS_ZIP" = yes; then
4048 echo "$ac_t""yes" 1>&6
4050 echo "$ac_t""no" 1>&6
4054 echo $ac_n "checking for --enable-zipstream""... $ac_c" 1>&6
4055 echo "configure:4056: checking for --enable-zipstream" >&5
4057 # Check whether --enable-zipstream or --disable-zipstream was given.
4058 if test "${enable_zipstream+set}" = set; then
4059 enableval
="$enable_zipstream"
4061 if test "$enableval" = yes; then
4062 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
4064 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
4069 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
4070 if test "x$LINE" != x
; then
4071 eval "DEFAULT_$LINE"
4076 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
4081 eval "$ac_cv_use_zipstream"
4082 if test "$no_cache" != 1; then
4083 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
4086 if test "$wxUSE_ZIPSTREAM" = yes; then
4087 echo "$ac_t""yes" 1>&6
4089 echo "$ac_t""no" 1>&6
4094 echo $ac_n "checking for --enable-catch_segvs""... $ac_c" 1>&6
4095 echo "configure:4096: checking for --enable-catch_segvs" >&5
4097 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4098 if test "${enable_catch_segvs+set}" = set; then
4099 enableval
="$enable_catch_segvs"
4101 if test "$enableval" = yes; then
4102 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4104 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4109 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4110 if test "x$LINE" != x
; then
4111 eval "DEFAULT_$LINE"
4116 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4121 eval "$ac_cv_use_catch_segvs"
4122 if test "$no_cache" != 1; then
4123 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4126 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4127 echo "$ac_t""yes" 1>&6
4129 echo "$ac_t""no" 1>&6
4133 echo $ac_n "checking for --enable-snglinst""... $ac_c" 1>&6
4134 echo "configure:4135: checking for --enable-snglinst" >&5
4136 # Check whether --enable-snglinst or --disable-snglinst was given.
4137 if test "${enable_snglinst+set}" = set; then
4138 enableval
="$enable_snglinst"
4140 if test "$enableval" = yes; then
4141 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
4143 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
4148 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
4149 if test "x$LINE" != x
; then
4150 eval "DEFAULT_$LINE"
4155 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
4160 eval "$ac_cv_use_snglinst"
4161 if test "$no_cache" != 1; then
4162 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
4165 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
4166 echo "$ac_t""yes" 1>&6
4168 echo "$ac_t""no" 1>&6
4173 echo $ac_n "checking for --enable-mimetype""... $ac_c" 1>&6
4174 echo "configure:4175: checking for --enable-mimetype" >&5
4176 # Check whether --enable-mimetype or --disable-mimetype was given.
4177 if test "${enable_mimetype+set}" = set; then
4178 enableval
="$enable_mimetype"
4180 if test "$enableval" = yes; then
4181 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
4183 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
4188 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
4189 if test "x$LINE" != x
; then
4190 eval "DEFAULT_$LINE"
4195 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
4200 eval "$ac_cv_use_mimetype"
4201 if test "$no_cache" != 1; then
4202 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
4205 if test "$wxUSE_MIMETYPE" = yes; then
4206 echo "$ac_t""yes" 1>&6
4208 echo "$ac_t""no" 1>&6
4212 echo $ac_n "checking for --enable-system_options""... $ac_c" 1>&6
4213 echo "configure:4214: checking for --enable-system_options" >&5
4215 # Check whether --enable-system_options or --disable-system_options was given.
4216 if test "${enable_system_options+set}" = set; then
4217 enableval
="$enable_system_options"
4219 if test "$enableval" = yes; then
4220 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
4222 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
4227 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
4228 if test "x$LINE" != x
; then
4229 eval "DEFAULT_$LINE"
4234 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
4239 eval "$ac_cv_use_system_options"
4240 if test "$no_cache" != 1; then
4241 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
4244 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
4245 echo "$ac_t""yes" 1>&6
4247 echo "$ac_t""no" 1>&6
4253 echo $ac_n "checking for --enable-threads""... $ac_c" 1>&6
4254 echo "configure:4255: checking for --enable-threads" >&5
4256 # Check whether --enable-threads or --disable-threads was given.
4257 if test "${enable_threads+set}" = set; then
4258 enableval
="$enable_threads"
4260 if test "$enableval" = yes; then
4261 ac_cv_use_threads
='wxUSE_THREADS=yes'
4263 ac_cv_use_threads
='wxUSE_THREADS=no'
4268 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
4269 if test "x$LINE" != x
; then
4270 eval "DEFAULT_$LINE"
4275 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
4280 eval "$ac_cv_use_threads"
4281 if test "$no_cache" != 1; then
4282 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
4285 if test "$wxUSE_THREADS" = yes; then
4286 echo "$ac_t""yes" 1>&6
4288 echo "$ac_t""no" 1>&6
4292 echo $ac_n "checking for --enable-serial""... $ac_c" 1>&6
4293 echo "configure:4294: checking for --enable-serial" >&5
4295 # Check whether --enable-serial or --disable-serial was given.
4296 if test "${enable_serial+set}" = set; then
4297 enableval
="$enable_serial"
4299 if test "$enableval" = yes; then
4300 ac_cv_use_serial
='wxUSE_SERIAL=yes'
4302 ac_cv_use_serial
='wxUSE_SERIAL=no'
4307 LINE
=`grep "wxUSE_SERIAL" ${wx_arg_cache_file}`
4308 if test "x$LINE" != x
; then
4309 eval "DEFAULT_$LINE"
4314 ac_cv_use_serial
='wxUSE_SERIAL='$DEFAULT_wxUSE_SERIAL
4319 eval "$ac_cv_use_serial"
4320 if test "$no_cache" != 1; then
4321 echo $ac_cv_use_serial >> ${wx_arg_cache_file}.tmp
4324 if test "$wxUSE_SERIAL" = yes; then
4325 echo "$ac_t""yes" 1>&6
4327 echo "$ac_t""no" 1>&6
4331 if test "$wxUSE_GUI" = "yes"; then
4335 echo $ac_n "checking for --enable-docview""... $ac_c" 1>&6
4336 echo "configure:4337: checking for --enable-docview" >&5
4338 # Check whether --enable-docview or --disable-docview was given.
4339 if test "${enable_docview+set}" = set; then
4340 enableval
="$enable_docview"
4342 if test "$enableval" = yes; then
4343 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
4345 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
4350 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
4351 if test "x$LINE" != x
; then
4352 eval "DEFAULT_$LINE"
4357 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
4362 eval "$ac_cv_use_docview"
4363 if test "$no_cache" != 1; then
4364 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
4367 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
4368 echo "$ac_t""yes" 1>&6
4370 echo "$ac_t""no" 1>&6
4374 echo $ac_n "checking for --enable-help""... $ac_c" 1>&6
4375 echo "configure:4376: checking for --enable-help" >&5
4377 # Check whether --enable-help or --disable-help was given.
4378 if test "${enable_help+set}" = set; then
4379 enableval
="$enable_help"
4381 if test "$enableval" = yes; then
4382 ac_cv_use_help
='wxUSE_HELP=yes'
4384 ac_cv_use_help
='wxUSE_HELP=no'
4389 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
4390 if test "x$LINE" != x
; then
4391 eval "DEFAULT_$LINE"
4396 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
4401 eval "$ac_cv_use_help"
4402 if test "$no_cache" != 1; then
4403 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
4406 if test "$wxUSE_HELP" = yes; then
4407 echo "$ac_t""yes" 1>&6
4409 echo "$ac_t""no" 1>&6
4413 echo $ac_n "checking for --enable-mshtmlhelp""... $ac_c" 1>&6
4414 echo "configure:4415: checking for --enable-mshtmlhelp" >&5
4416 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
4417 if test "${enable_mshtmlhelp+set}" = set; then
4418 enableval
="$enable_mshtmlhelp"
4420 if test "$enableval" = yes; then
4421 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
4423 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
4428 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
4429 if test "x$LINE" != x
; then
4430 eval "DEFAULT_$LINE"
4435 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
4440 eval "$ac_cv_use_mshtmlhelp"
4441 if test "$no_cache" != 1; then
4442 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
4445 if test "$wxUSE_MS_HTML_HELP" = yes; then
4446 echo "$ac_t""yes" 1>&6
4448 echo "$ac_t""no" 1>&6
4452 echo $ac_n "checking for --enable-html""... $ac_c" 1>&6
4453 echo "configure:4454: checking for --enable-html" >&5
4455 # Check whether --enable-html or --disable-html was given.
4456 if test "${enable_html+set}" = set; then
4457 enableval
="$enable_html"
4459 if test "$enableval" = yes; then
4460 ac_cv_use_html
='wxUSE_HTML=yes'
4462 ac_cv_use_html
='wxUSE_HTML=no'
4467 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
4468 if test "x$LINE" != x
; then
4469 eval "DEFAULT_$LINE"
4474 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
4479 eval "$ac_cv_use_html"
4480 if test "$no_cache" != 1; then
4481 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
4484 if test "$wxUSE_HTML" = yes; then
4485 echo "$ac_t""yes" 1>&6
4487 echo "$ac_t""no" 1>&6
4491 echo $ac_n "checking for --enable-htmlhelp""... $ac_c" 1>&6
4492 echo "configure:4493: checking for --enable-htmlhelp" >&5
4494 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
4495 if test "${enable_htmlhelp+set}" = set; then
4496 enableval
="$enable_htmlhelp"
4498 if test "$enableval" = yes; then
4499 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
4501 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
4506 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
4507 if test "x$LINE" != x
; then
4508 eval "DEFAULT_$LINE"
4513 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
4518 eval "$ac_cv_use_htmlhelp"
4519 if test "$no_cache" != 1; then
4520 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
4523 if test "$wxUSE_WXHTML_HELP" = yes; then
4524 echo "$ac_t""yes" 1>&6
4526 echo "$ac_t""no" 1>&6
4530 echo $ac_n "checking for --enable-constraints""... $ac_c" 1>&6
4531 echo "configure:4532: checking for --enable-constraints" >&5
4533 # Check whether --enable-constraints or --disable-constraints was given.
4534 if test "${enable_constraints+set}" = set; then
4535 enableval
="$enable_constraints"
4537 if test "$enableval" = yes; then
4538 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
4540 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
4545 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
4546 if test "x$LINE" != x
; then
4547 eval "DEFAULT_$LINE"
4552 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
4557 eval "$ac_cv_use_constraints"
4558 if test "$no_cache" != 1; then
4559 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
4562 if test "$wxUSE_CONSTRAINTS" = yes; then
4563 echo "$ac_t""yes" 1>&6
4565 echo "$ac_t""no" 1>&6
4569 echo $ac_n "checking for --enable-printarch""... $ac_c" 1>&6
4570 echo "configure:4571: checking for --enable-printarch" >&5
4572 # Check whether --enable-printarch or --disable-printarch was given.
4573 if test "${enable_printarch+set}" = set; then
4574 enableval
="$enable_printarch"
4576 if test "$enableval" = yes; then
4577 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
4579 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
4584 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
4585 if test "x$LINE" != x
; then
4586 eval "DEFAULT_$LINE"
4591 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
4596 eval "$ac_cv_use_printarch"
4597 if test "$no_cache" != 1; then
4598 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
4601 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
4602 echo "$ac_t""yes" 1>&6
4604 echo "$ac_t""no" 1>&6
4608 echo $ac_n "checking for --enable-mdi""... $ac_c" 1>&6
4609 echo "configure:4610: checking for --enable-mdi" >&5
4611 # Check whether --enable-mdi or --disable-mdi was given.
4612 if test "${enable_mdi+set}" = set; then
4613 enableval
="$enable_mdi"
4615 if test "$enableval" = yes; then
4616 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=yes'
4618 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=no'
4623 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
4624 if test "x$LINE" != x
; then
4625 eval "DEFAULT_$LINE"
4630 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
4635 eval "$ac_cv_use_mdi"
4636 if test "$no_cache" != 1; then
4637 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
4640 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
4641 echo "$ac_t""yes" 1>&6
4643 echo "$ac_t""no" 1>&6
4647 echo $ac_n "checking for --enable-loggui""... $ac_c" 1>&6
4648 echo "configure:4649: checking for --enable-loggui" >&5
4650 # Check whether --enable-loggui or --disable-loggui was given.
4651 if test "${enable_loggui+set}" = set; then
4652 enableval
="$enable_loggui"
4654 if test "$enableval" = yes; then
4655 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
4657 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
4662 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
4663 if test "x$LINE" != x
; then
4664 eval "DEFAULT_$LINE"
4669 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
4674 eval "$ac_cv_use_loggui"
4675 if test "$no_cache" != 1; then
4676 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
4679 if test "$wxUSE_LOGGUI" = yes; then
4680 echo "$ac_t""yes" 1>&6
4682 echo "$ac_t""no" 1>&6
4686 echo $ac_n "checking for --enable-logwin""... $ac_c" 1>&6
4687 echo "configure:4688: checking for --enable-logwin" >&5
4689 # Check whether --enable-logwin or --disable-logwin was given.
4690 if test "${enable_logwin+set}" = set; then
4691 enableval
="$enable_logwin"
4693 if test "$enableval" = yes; then
4694 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
4696 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
4701 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
4702 if test "x$LINE" != x
; then
4703 eval "DEFAULT_$LINE"
4708 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
4713 eval "$ac_cv_use_logwin"
4714 if test "$no_cache" != 1; then
4715 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
4718 if test "$wxUSE_LOGWINDOW" = yes; then
4719 echo "$ac_t""yes" 1>&6
4721 echo "$ac_t""no" 1>&6
4726 echo $ac_n "checking for --enable-postscript""... $ac_c" 1>&6
4727 echo "configure:4728: checking for --enable-postscript" >&5
4729 # Check whether --enable-postscript or --disable-postscript was given.
4730 if test "${enable_postscript+set}" = set; then
4731 enableval
="$enable_postscript"
4733 if test "$enableval" = yes; then
4734 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
4736 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
4741 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
4742 if test "x$LINE" != x
; then
4743 eval "DEFAULT_$LINE"
4748 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
4753 eval "$ac_cv_use_postscript"
4754 if test "$no_cache" != 1; then
4755 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
4758 if test "$wxUSE_POSTSCRIPT" = yes; then
4759 echo "$ac_t""yes" 1>&6
4761 echo "$ac_t""no" 1>&6
4768 echo $ac_n "checking for --enable-prologio""... $ac_c" 1>&6
4769 echo "configure:4770: checking for --enable-prologio" >&5
4771 # Check whether --enable-prologio or --disable-prologio was given.
4772 if test "${enable_prologio+set}" = set; then
4773 enableval
="$enable_prologio"
4775 if test "$enableval" = yes; then
4776 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
4778 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
4783 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
4784 if test "x$LINE" != x
; then
4785 eval "DEFAULT_$LINE"
4790 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
4795 eval "$ac_cv_use_prologio"
4796 if test "$no_cache" != 1; then
4797 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
4800 if test "$wxUSE_PROLOGIO" = yes; then
4801 echo "$ac_t""yes" 1>&6
4803 echo "$ac_t""no" 1>&6
4807 echo $ac_n "checking for --enable-resources""... $ac_c" 1>&6
4808 echo "configure:4809: checking for --enable-resources" >&5
4810 # Check whether --enable-resources or --disable-resources was given.
4811 if test "${enable_resources+set}" = set; then
4812 enableval
="$enable_resources"
4814 if test "$enableval" = yes; then
4815 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
4817 ac_cv_use_resources
='wxUSE_RESOURCES=no'
4822 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
4823 if test "x$LINE" != x
; then
4824 eval "DEFAULT_$LINE"
4829 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
4834 eval "$ac_cv_use_resources"
4835 if test "$no_cache" != 1; then
4836 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
4839 if test "$wxUSE_RESOURCES" = yes; then
4840 echo "$ac_t""yes" 1>&6
4842 echo "$ac_t""no" 1>&6
4847 echo $ac_n "checking for --enable-xresources""... $ac_c" 1>&6
4848 echo "configure:4849: checking for --enable-xresources" >&5
4850 # Check whether --enable-xresources or --disable-xresources was given.
4851 if test "${enable_xresources+set}" = set; then
4852 enableval
="$enable_xresources"
4854 if test "$enableval" = yes; then
4855 ac_cv_use_xresources
='wxUSE_X_RESOURCES=yes'
4857 ac_cv_use_xresources
='wxUSE_X_RESOURCES=no'
4862 LINE
=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
4863 if test "x$LINE" != x
; then
4864 eval "DEFAULT_$LINE"
4869 ac_cv_use_xresources
='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
4874 eval "$ac_cv_use_xresources"
4875 if test "$no_cache" != 1; then
4876 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
4879 if test "$wxUSE_X_RESOURCES" = yes; then
4880 echo "$ac_t""yes" 1>&6
4882 echo "$ac_t""no" 1>&6
4888 echo $ac_n "checking for --enable-clipboard""... $ac_c" 1>&6
4889 echo "configure:4890: checking for --enable-clipboard" >&5
4891 # Check whether --enable-clipboard or --disable-clipboard was given.
4892 if test "${enable_clipboard+set}" = set; then
4893 enableval
="$enable_clipboard"
4895 if test "$enableval" = yes; then
4896 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
4898 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
4903 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
4904 if test "x$LINE" != x
; then
4905 eval "DEFAULT_$LINE"
4910 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
4915 eval "$ac_cv_use_clipboard"
4916 if test "$no_cache" != 1; then
4917 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
4920 if test "$wxUSE_CLIPBOARD" = yes; then
4921 echo "$ac_t""yes" 1>&6
4923 echo "$ac_t""no" 1>&6
4927 echo $ac_n "checking for --enable-dnd""... $ac_c" 1>&6
4928 echo "configure:4929: checking for --enable-dnd" >&5
4930 # Check whether --enable-dnd or --disable-dnd was given.
4931 if test "${enable_dnd+set}" = set; then
4932 enableval
="$enable_dnd"
4934 if test "$enableval" = yes; then
4935 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
4937 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
4942 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
4943 if test "x$LINE" != x
; then
4944 eval "DEFAULT_$LINE"
4949 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
4954 eval "$ac_cv_use_dnd"
4955 if test "$no_cache" != 1; then
4956 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
4959 if test "$wxUSE_DRAG_AND_DROP" = yes; then
4960 echo "$ac_t""yes" 1>&6
4962 echo "$ac_t""no" 1>&6
4966 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
4967 echo "configure:4968: checking for --enable-metafile" >&5
4969 # Check whether --enable-metafile or --disable-metafile was given.
4970 if test "${enable_metafile+set}" = set; then
4971 enableval
="$enable_metafile"
4973 if test "$enableval" = yes; then
4974 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
4976 ac_cv_use_metafile
='wxUSE_METAFILE=no'
4981 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
4982 if test "x$LINE" != x
; then
4983 eval "DEFAULT_$LINE"
4988 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
4993 eval "$ac_cv_use_metafile"
4994 if test "$no_cache" != 1; then
4995 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
4998 if test "$wxUSE_METAFILE" = yes; then
4999 echo "$ac_t""yes" 1>&6
5001 echo "$ac_t""no" 1>&6
5006 echo $ac_n "checking for --enable-treelayout""... $ac_c" 1>&6
5007 echo "configure:5008: checking for --enable-treelayout" >&5
5009 # Check whether --enable-treelayout or --disable-treelayout was given.
5010 if test "${enable_treelayout+set}" = set; then
5011 enableval
="$enable_treelayout"
5013 if test "$enableval" = yes; then
5014 ac_cv_use_treelayout
='wxUSE_TREELAYOUT=yes'
5016 ac_cv_use_treelayout
='wxUSE_TREELAYOUT=no'
5021 LINE
=`grep "wxUSE_TREELAYOUT" ${wx_arg_cache_file}`
5022 if test "x$LINE" != x
; then
5023 eval "DEFAULT_$LINE"
5028 ac_cv_use_treelayout
='wxUSE_TREELAYOUT='$DEFAULT_wxUSE_TREELAYOUT
5033 eval "$ac_cv_use_treelayout"
5034 if test "$no_cache" != 1; then
5035 echo $ac_cv_use_treelayout >> ${wx_arg_cache_file}.tmp
5038 if test "$wxUSE_TREELAYOUT" = yes; then
5039 echo "$ac_t""yes" 1>&6
5041 echo "$ac_t""no" 1>&6
5047 echo $ac_n "checking for --enable-controls""... $ac_c" 1>&6
5048 echo "configure:5049: checking for --enable-controls" >&5
5050 # Check whether --enable-controls or --disable-controls was given.
5051 if test "${enable_controls+set}" = set; then
5052 enableval
="$enable_controls"
5054 if test "$enableval" = yes; then
5055 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
5057 ac_cv_use_controls
='wxUSE_CONTROLS=no'
5062 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
5063 if test "x$LINE" != x
; then
5064 eval "DEFAULT_$LINE"
5069 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
5074 eval "$ac_cv_use_controls"
5075 if test "$no_cache" != 1; then
5076 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
5079 if test "$wxUSE_CONTROLS" = yes; then
5080 echo "$ac_t""yes" 1>&6
5082 echo "$ac_t""no" 1>&6
5086 if test "$wxUSE_CONTROLS" = "yes"; then
5087 DEFAULT_wxUSE_ACCEL
=yes
5088 DEFAULT_wxUSE_BMPBUTTON
=yes
5089 DEFAULT_wxUSE_BUTTON
=yes
5090 DEFAULT_wxUSE_CALCTRL
=no
5091 DEFAULT_wxUSE_CARET
=yes
5092 DEFAULT_wxUSE_COMBOBOX
=yes
5093 DEFAULT_wxUSE_CHECKBOX
=yes
5094 DEFAULT_wxUSE_CHECKLISTBOX
=yes
5095 DEFAULT_wxUSE_CHOICE
=yes
5096 DEFAULT_wxUSE_GAUGE
=yes
5097 DEFAULT_wxUSE_GRID
=yes
5098 DEFAULT_wxUSE_NEW_GRID
=yes
5099 DEFAULT_wxUSE_IMAGLIST
=yes
5100 DEFAULT_wxUSE_LISTBOX
=yes
5101 DEFAULT_wxUSE_LISTCTRL
=yes
5102 DEFAULT_wxUSE_NOTEBOOK
=yes
5103 DEFAULT_wxUSE_PROPSHEET
=yes
5104 DEFAULT_wxUSE_RADIOBOX
=yes
5105 DEFAULT_wxUSE_RADIOBTN
=yes
5106 DEFAULT_wxUSE_SASH
=yes
5107 DEFAULT_wxUSE_SCROLLBAR
=yes
5108 DEFAULT_wxUSE_SLIDER
=yes
5109 DEFAULT_wxUSE_SPINBTN
=yes
5110 DEFAULT_wxUSE_SPINCTRL
=yes
5111 DEFAULT_wxUSE_SPLITTER
=yes
5112 DEFAULT_wxUSE_STATBMP
=yes
5113 DEFAULT_wxUSE_STATBOX
=yes
5114 DEFAULT_wxUSE_STATLINE
=yes
5115 DEFAULT_wxUSE_STATUSBAR
=yes
5116 DEFAULT_wxUSE_TAB_DIALOG
=yes
5117 DEFAULT_wxUSE_TOGGLEBTN
=yes
5118 DEFAULT_wxUSE_TOOLBAR
=yes
5119 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
5120 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
5121 DEFAULT_wxUSE_TOOLTIPS
=yes
5122 DEFAULT_wxUSE_TREECTRL
=yes
5123 DEFAULT_wxUSE_POPUPWIN
=yes
5124 elif test "$wxUSE_CONTROLS" = "no"; then
5125 DEFAULT_wxUSE_ACCEL
=no
5126 DEFAULT_wxUSE_BMPBUTTON
=no
5127 DEFAULT_wxUSE_BUTTON
=no
5128 DEFAULT_wxUSE_CALCTRL
=no
5129 DEFAULT_wxUSE_CARET
=no
5130 DEFAULT_wxUSE_COMBOBOX
=no
5131 DEFAULT_wxUSE_CHECKBOX
=no
5132 DEFAULT_wxUSE_CHECKLISTBOX
=no
5133 DEFAULT_wxUSE_CHOICE
=no
5134 DEFAULT_wxUSE_GAUGE
=no
5135 DEFAULT_wxUSE_GRID
=no
5136 DEFAULT_wxUSE_NEW_GRID
=no
5137 DEFAULT_wxUSE_IMAGLIST
=no
5138 DEFAULT_wxUSE_LISTBOX
=no
5139 DEFAULT_wxUSE_LISTCTRL
=no
5140 DEFAULT_wxUSE_NOTEBOOK
=no
5141 DEFAULT_wxUSE_PROPSHEET
=no
5142 DEFAULT_wxUSE_RADIOBOX
=no
5143 DEFAULT_wxUSE_RADIOBTN
=no
5144 DEFAULT_wxUSE_SASH
=no
5145 DEFAULT_wxUSE_SCROLLBAR
=no
5146 DEFAULT_wxUSE_SLIDER
=no
5147 DEFAULT_wxUSE_SPINBTN
=no
5148 DEFAULT_wxUSE_SPINCTRL
=no
5149 DEFAULT_wxUSE_SPLITTER
=no
5150 DEFAULT_wxUSE_STATBMP
=no
5151 DEFAULT_wxUSE_STATBOX
=no
5152 DEFAULT_wxUSE_STATLINE
=no
5153 DEFAULT_wxUSE_STATUSBAR
=no
5154 DEFAULT_wxUSE_TAB_DIALOG
=no
5155 DEFAULT_wxUSE_TOGGLEBTN
=no
5156 DEFAULT_wxUSE_TOOLBAR
=no
5157 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
5158 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
5159 DEFAULT_wxUSE_TOOLTIPS
=no
5160 DEFAULT_wxUSE_TREECTRL
=no
5161 DEFAULT_wxUSE_POPUPWIN
=no
5165 echo $ac_n "checking for --enable-accel""... $ac_c" 1>&6
5166 echo "configure:5167: checking for --enable-accel" >&5
5168 # Check whether --enable-accel or --disable-accel was given.
5169 if test "${enable_accel+set}" = set; then
5170 enableval
="$enable_accel"
5172 if test "$enableval" = yes; then
5173 ac_cv_use_accel
='wxUSE_ACCEL=yes'
5175 ac_cv_use_accel
='wxUSE_ACCEL=no'
5180 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
5181 if test "x$LINE" != x
; then
5182 eval "DEFAULT_$LINE"
5187 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
5192 eval "$ac_cv_use_accel"
5193 if test "$no_cache" != 1; then
5194 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
5197 if test "$wxUSE_ACCEL" = yes; then
5198 echo "$ac_t""yes" 1>&6
5200 echo "$ac_t""no" 1>&6
5204 echo $ac_n "checking for --enable-button""... $ac_c" 1>&6
5205 echo "configure:5206: checking for --enable-button" >&5
5207 # Check whether --enable-button or --disable-button was given.
5208 if test "${enable_button+set}" = set; then
5209 enableval
="$enable_button"
5211 if test "$enableval" = yes; then
5212 ac_cv_use_button
='wxUSE_BUTTON=yes'
5214 ac_cv_use_button
='wxUSE_BUTTON=no'
5219 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
5220 if test "x$LINE" != x
; then
5221 eval "DEFAULT_$LINE"
5226 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
5231 eval "$ac_cv_use_button"
5232 if test "$no_cache" != 1; then
5233 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
5236 if test "$wxUSE_BUTTON" = yes; then
5237 echo "$ac_t""yes" 1>&6
5239 echo "$ac_t""no" 1>&6
5243 echo $ac_n "checking for --enable-bmpbutton""... $ac_c" 1>&6
5244 echo "configure:5245: checking for --enable-bmpbutton" >&5
5246 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
5247 if test "${enable_bmpbutton+set}" = set; then
5248 enableval
="$enable_bmpbutton"
5250 if test "$enableval" = yes; then
5251 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
5253 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
5258 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
5259 if test "x$LINE" != x
; then
5260 eval "DEFAULT_$LINE"
5265 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
5270 eval "$ac_cv_use_bmpbutton"
5271 if test "$no_cache" != 1; then
5272 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
5275 if test "$wxUSE_BMPBUTTON" = yes; then
5276 echo "$ac_t""yes" 1>&6
5278 echo "$ac_t""no" 1>&6
5282 echo $ac_n "checking for --enable-calendar""... $ac_c" 1>&6
5283 echo "configure:5284: checking for --enable-calendar" >&5
5285 # Check whether --enable-calendar or --disable-calendar was given.
5286 if test "${enable_calendar+set}" = set; then
5287 enableval
="$enable_calendar"
5289 if test "$enableval" = yes; then
5290 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
5292 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
5297 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
5298 if test "x$LINE" != x
; then
5299 eval "DEFAULT_$LINE"
5304 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
5309 eval "$ac_cv_use_calendar"
5310 if test "$no_cache" != 1; then
5311 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
5314 if test "$wxUSE_CALCTRL" = yes; then
5315 echo "$ac_t""yes" 1>&6
5317 echo "$ac_t""no" 1>&6
5321 echo $ac_n "checking for --enable-caret""... $ac_c" 1>&6
5322 echo "configure:5323: checking for --enable-caret" >&5
5324 # Check whether --enable-caret or --disable-caret was given.
5325 if test "${enable_caret+set}" = set; then
5326 enableval
="$enable_caret"
5328 if test "$enableval" = yes; then
5329 ac_cv_use_caret
='wxUSE_CARET=yes'
5331 ac_cv_use_caret
='wxUSE_CARET=no'
5336 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
5337 if test "x$LINE" != x
; then
5338 eval "DEFAULT_$LINE"
5343 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
5348 eval "$ac_cv_use_caret"
5349 if test "$no_cache" != 1; then
5350 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
5353 if test "$wxUSE_CARET" = yes; then
5354 echo "$ac_t""yes" 1>&6
5356 echo "$ac_t""no" 1>&6
5360 echo $ac_n "checking for --enable-checkbox""... $ac_c" 1>&6
5361 echo "configure:5362: checking for --enable-checkbox" >&5
5363 # Check whether --enable-checkbox or --disable-checkbox was given.
5364 if test "${enable_checkbox+set}" = set; then
5365 enableval
="$enable_checkbox"
5367 if test "$enableval" = yes; then
5368 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
5370 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
5375 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
5376 if test "x$LINE" != x
; then
5377 eval "DEFAULT_$LINE"
5382 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
5387 eval "$ac_cv_use_checkbox"
5388 if test "$no_cache" != 1; then
5389 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
5392 if test "$wxUSE_CHECKBOX" = yes; then
5393 echo "$ac_t""yes" 1>&6
5395 echo "$ac_t""no" 1>&6
5399 echo $ac_n "checking for --enable-checklst""... $ac_c" 1>&6
5400 echo "configure:5401: checking for --enable-checklst" >&5
5402 # Check whether --enable-checklst or --disable-checklst was given.
5403 if test "${enable_checklst+set}" = set; then
5404 enableval
="$enable_checklst"
5406 if test "$enableval" = yes; then
5407 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
5409 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
5414 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
5415 if test "x$LINE" != x
; then
5416 eval "DEFAULT_$LINE"
5421 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
5426 eval "$ac_cv_use_checklst"
5427 if test "$no_cache" != 1; then
5428 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
5431 if test "$wxUSE_CHECKLST" = yes; then
5432 echo "$ac_t""yes" 1>&6
5434 echo "$ac_t""no" 1>&6
5438 echo $ac_n "checking for --enable-choice""... $ac_c" 1>&6
5439 echo "configure:5440: checking for --enable-choice" >&5
5441 # Check whether --enable-choice or --disable-choice was given.
5442 if test "${enable_choice+set}" = set; then
5443 enableval
="$enable_choice"
5445 if test "$enableval" = yes; then
5446 ac_cv_use_choice
='wxUSE_CHOICE=yes'
5448 ac_cv_use_choice
='wxUSE_CHOICE=no'
5453 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
5454 if test "x$LINE" != x
; then
5455 eval "DEFAULT_$LINE"
5460 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
5465 eval "$ac_cv_use_choice"
5466 if test "$no_cache" != 1; then
5467 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
5470 if test "$wxUSE_CHOICE" = yes; then
5471 echo "$ac_t""yes" 1>&6
5473 echo "$ac_t""no" 1>&6
5477 echo $ac_n "checking for --enable-combobox""... $ac_c" 1>&6
5478 echo "configure:5479: checking for --enable-combobox" >&5
5480 # Check whether --enable-combobox or --disable-combobox was given.
5481 if test "${enable_combobox+set}" = set; then
5482 enableval
="$enable_combobox"
5484 if test "$enableval" = yes; then
5485 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
5487 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
5492 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
5493 if test "x$LINE" != x
; then
5494 eval "DEFAULT_$LINE"
5499 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
5504 eval "$ac_cv_use_combobox"
5505 if test "$no_cache" != 1; then
5506 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
5509 if test "$wxUSE_COMBOBOX" = yes; then
5510 echo "$ac_t""yes" 1>&6
5512 echo "$ac_t""no" 1>&6
5516 echo $ac_n "checking for --enable-gauge""... $ac_c" 1>&6
5517 echo "configure:5518: checking for --enable-gauge" >&5
5519 # Check whether --enable-gauge or --disable-gauge was given.
5520 if test "${enable_gauge+set}" = set; then
5521 enableval
="$enable_gauge"
5523 if test "$enableval" = yes; then
5524 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
5526 ac_cv_use_gauge
='wxUSE_GAUGE=no'
5531 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
5532 if test "x$LINE" != x
; then
5533 eval "DEFAULT_$LINE"
5538 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
5543 eval "$ac_cv_use_gauge"
5544 if test "$no_cache" != 1; then
5545 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
5548 if test "$wxUSE_GAUGE" = yes; then
5549 echo "$ac_t""yes" 1>&6
5551 echo "$ac_t""no" 1>&6
5555 echo $ac_n "checking for --enable-grid""... $ac_c" 1>&6
5556 echo "configure:5557: checking for --enable-grid" >&5
5558 # Check whether --enable-grid or --disable-grid was given.
5559 if test "${enable_grid+set}" = set; then
5560 enableval
="$enable_grid"
5562 if test "$enableval" = yes; then
5563 ac_cv_use_grid
='wxUSE_GRID=yes'
5565 ac_cv_use_grid
='wxUSE_GRID=no'
5570 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
5571 if test "x$LINE" != x
; then
5572 eval "DEFAULT_$LINE"
5577 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
5582 eval "$ac_cv_use_grid"
5583 if test "$no_cache" != 1; then
5584 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
5587 if test "$wxUSE_GRID" = yes; then
5588 echo "$ac_t""yes" 1>&6
5590 echo "$ac_t""no" 1>&6
5594 echo $ac_n "checking for --enable-newgrid""... $ac_c" 1>&6
5595 echo "configure:5596: checking for --enable-newgrid" >&5
5597 # Check whether --enable-newgrid or --disable-newgrid was given.
5598 if test "${enable_newgrid+set}" = set; then
5599 enableval
="$enable_newgrid"
5601 if test "$enableval" = yes; then
5602 ac_cv_use_newgrid
='wxUSE_NEW_GRID=yes'
5604 ac_cv_use_newgrid
='wxUSE_NEW_GRID=no'
5609 LINE
=`grep "wxUSE_NEW_GRID" ${wx_arg_cache_file}`
5610 if test "x$LINE" != x
; then
5611 eval "DEFAULT_$LINE"
5616 ac_cv_use_newgrid
='wxUSE_NEW_GRID='$DEFAULT_wxUSE_NEW_GRID
5621 eval "$ac_cv_use_newgrid"
5622 if test "$no_cache" != 1; then
5623 echo $ac_cv_use_newgrid >> ${wx_arg_cache_file}.tmp
5626 if test "$wxUSE_NEW_GRID" = yes; then
5627 echo "$ac_t""yes" 1>&6
5629 echo "$ac_t""no" 1>&6
5633 echo $ac_n "checking for --enable-imaglist""... $ac_c" 1>&6
5634 echo "configure:5635: checking for --enable-imaglist" >&5
5636 # Check whether --enable-imaglist or --disable-imaglist was given.
5637 if test "${enable_imaglist+set}" = set; then
5638 enableval
="$enable_imaglist"
5640 if test "$enableval" = yes; then
5641 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
5643 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
5648 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
5649 if test "x$LINE" != x
; then
5650 eval "DEFAULT_$LINE"
5655 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
5660 eval "$ac_cv_use_imaglist"
5661 if test "$no_cache" != 1; then
5662 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
5665 if test "$wxUSE_IMAGLIST" = yes; then
5666 echo "$ac_t""yes" 1>&6
5668 echo "$ac_t""no" 1>&6
5672 echo $ac_n "checking for --enable-listbox""... $ac_c" 1>&6
5673 echo "configure:5674: checking for --enable-listbox" >&5
5675 # Check whether --enable-listbox or --disable-listbox was given.
5676 if test "${enable_listbox+set}" = set; then
5677 enableval
="$enable_listbox"
5679 if test "$enableval" = yes; then
5680 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
5682 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
5687 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
5688 if test "x$LINE" != x
; then
5689 eval "DEFAULT_$LINE"
5694 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
5699 eval "$ac_cv_use_listbox"
5700 if test "$no_cache" != 1; then
5701 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
5704 if test "$wxUSE_LISTBOX" = yes; then
5705 echo "$ac_t""yes" 1>&6
5707 echo "$ac_t""no" 1>&6
5711 echo $ac_n "checking for --enable-listctrl""... $ac_c" 1>&6
5712 echo "configure:5713: checking for --enable-listctrl" >&5
5714 # Check whether --enable-listctrl or --disable-listctrl was given.
5715 if test "${enable_listctrl+set}" = set; then
5716 enableval
="$enable_listctrl"
5718 if test "$enableval" = yes; then
5719 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
5721 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
5726 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
5727 if test "x$LINE" != x
; then
5728 eval "DEFAULT_$LINE"
5733 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
5738 eval "$ac_cv_use_listctrl"
5739 if test "$no_cache" != 1; then
5740 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
5743 if test "$wxUSE_LISTCTRL" = yes; then
5744 echo "$ac_t""yes" 1>&6
5746 echo "$ac_t""no" 1>&6
5750 echo $ac_n "checking for --enable-notebook""... $ac_c" 1>&6
5751 echo "configure:5752: checking for --enable-notebook" >&5
5753 # Check whether --enable-notebook or --disable-notebook was given.
5754 if test "${enable_notebook+set}" = set; then
5755 enableval
="$enable_notebook"
5757 if test "$enableval" = yes; then
5758 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
5760 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
5765 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
5766 if test "x$LINE" != x
; then
5767 eval "DEFAULT_$LINE"
5772 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
5777 eval "$ac_cv_use_notebook"
5778 if test "$no_cache" != 1; then
5779 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
5782 if test "$wxUSE_NOTEBOOK" = yes; then
5783 echo "$ac_t""yes" 1>&6
5785 echo "$ac_t""no" 1>&6
5789 echo $ac_n "checking for --enable-propsheet""... $ac_c" 1>&6
5790 echo "configure:5791: checking for --enable-propsheet" >&5
5792 # Check whether --enable-propsheet or --disable-propsheet was given.
5793 if test "${enable_propsheet+set}" = set; then
5794 enableval
="$enable_propsheet"
5796 if test "$enableval" = yes; then
5797 ac_cv_use_propsheet
='wxUSE_PROPSHEET=yes'
5799 ac_cv_use_propsheet
='wxUSE_PROPSHEET=no'
5804 LINE
=`grep "wxUSE_PROPSHEET" ${wx_arg_cache_file}`
5805 if test "x$LINE" != x
; then
5806 eval "DEFAULT_$LINE"
5811 ac_cv_use_propsheet
='wxUSE_PROPSHEET='$DEFAULT_wxUSE_PROPSHEET
5816 eval "$ac_cv_use_propsheet"
5817 if test "$no_cache" != 1; then
5818 echo $ac_cv_use_propsheet >> ${wx_arg_cache_file}.tmp
5821 if test "$wxUSE_PROPSHEET" = yes; then
5822 echo "$ac_t""yes" 1>&6
5824 echo "$ac_t""no" 1>&6
5828 echo $ac_n "checking for --enable-radiobox""... $ac_c" 1>&6
5829 echo "configure:5830: checking for --enable-radiobox" >&5
5831 # Check whether --enable-radiobox or --disable-radiobox was given.
5832 if test "${enable_radiobox+set}" = set; then
5833 enableval
="$enable_radiobox"
5835 if test "$enableval" = yes; then
5836 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
5838 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
5843 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
5844 if test "x$LINE" != x
; then
5845 eval "DEFAULT_$LINE"
5850 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
5855 eval "$ac_cv_use_radiobox"
5856 if test "$no_cache" != 1; then
5857 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
5860 if test "$wxUSE_RADIOBOX" = yes; then
5861 echo "$ac_t""yes" 1>&6
5863 echo "$ac_t""no" 1>&6
5867 echo $ac_n "checking for --enable-radiobtn""... $ac_c" 1>&6
5868 echo "configure:5869: checking for --enable-radiobtn" >&5
5870 # Check whether --enable-radiobtn or --disable-radiobtn was given.
5871 if test "${enable_radiobtn+set}" = set; then
5872 enableval
="$enable_radiobtn"
5874 if test "$enableval" = yes; then
5875 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
5877 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
5882 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
5883 if test "x$LINE" != x
; then
5884 eval "DEFAULT_$LINE"
5889 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
5894 eval "$ac_cv_use_radiobtn"
5895 if test "$no_cache" != 1; then
5896 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
5899 if test "$wxUSE_RADIOBTN" = yes; then
5900 echo "$ac_t""yes" 1>&6
5902 echo "$ac_t""no" 1>&6
5906 echo $ac_n "checking for --enable-sash""... $ac_c" 1>&6
5907 echo "configure:5908: checking for --enable-sash" >&5
5909 # Check whether --enable-sash or --disable-sash was given.
5910 if test "${enable_sash+set}" = set; then
5911 enableval
="$enable_sash"
5913 if test "$enableval" = yes; then
5914 ac_cv_use_sash
='wxUSE_SASH=yes'
5916 ac_cv_use_sash
='wxUSE_SASH=no'
5921 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
5922 if test "x$LINE" != x
; then
5923 eval "DEFAULT_$LINE"
5928 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
5933 eval "$ac_cv_use_sash"
5934 if test "$no_cache" != 1; then
5935 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
5938 if test "$wxUSE_SASH" = yes; then
5939 echo "$ac_t""yes" 1>&6
5941 echo "$ac_t""no" 1>&6
5945 echo $ac_n "checking for --enable-scrollbar""... $ac_c" 1>&6
5946 echo "configure:5947: checking for --enable-scrollbar" >&5
5948 # Check whether --enable-scrollbar or --disable-scrollbar was given.
5949 if test "${enable_scrollbar+set}" = set; then
5950 enableval
="$enable_scrollbar"
5952 if test "$enableval" = yes; then
5953 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
5955 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
5960 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
5961 if test "x$LINE" != x
; then
5962 eval "DEFAULT_$LINE"
5967 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
5972 eval "$ac_cv_use_scrollbar"
5973 if test "$no_cache" != 1; then
5974 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
5977 if test "$wxUSE_SCROLLBAR" = yes; then
5978 echo "$ac_t""yes" 1>&6
5980 echo "$ac_t""no" 1>&6
5984 echo $ac_n "checking for --enable-slider""... $ac_c" 1>&6
5985 echo "configure:5986: checking for --enable-slider" >&5
5987 # Check whether --enable-slider or --disable-slider was given.
5988 if test "${enable_slider+set}" = set; then
5989 enableval
="$enable_slider"
5991 if test "$enableval" = yes; then
5992 ac_cv_use_slider
='wxUSE_SLIDER=yes'
5994 ac_cv_use_slider
='wxUSE_SLIDER=no'
5999 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
6000 if test "x$LINE" != x
; then
6001 eval "DEFAULT_$LINE"
6006 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
6011 eval "$ac_cv_use_slider"
6012 if test "$no_cache" != 1; then
6013 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
6016 if test "$wxUSE_SLIDER" = yes; then
6017 echo "$ac_t""yes" 1>&6
6019 echo "$ac_t""no" 1>&6
6023 echo $ac_n "checking for --enable-spinbtn""... $ac_c" 1>&6
6024 echo "configure:6025: checking for --enable-spinbtn" >&5
6026 # Check whether --enable-spinbtn or --disable-spinbtn was given.
6027 if test "${enable_spinbtn+set}" = set; then
6028 enableval
="$enable_spinbtn"
6030 if test "$enableval" = yes; then
6031 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
6033 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
6038 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
6039 if test "x$LINE" != x
; then
6040 eval "DEFAULT_$LINE"
6045 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
6050 eval "$ac_cv_use_spinbtn"
6051 if test "$no_cache" != 1; then
6052 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
6055 if test "$wxUSE_SPINBTN" = yes; then
6056 echo "$ac_t""yes" 1>&6
6058 echo "$ac_t""no" 1>&6
6062 echo $ac_n "checking for --enable-spinctrl""... $ac_c" 1>&6
6063 echo "configure:6064: checking for --enable-spinctrl" >&5
6065 # Check whether --enable-spinctrl or --disable-spinctrl was given.
6066 if test "${enable_spinctrl+set}" = set; then
6067 enableval
="$enable_spinctrl"
6069 if test "$enableval" = yes; then
6070 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
6072 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
6077 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
6078 if test "x$LINE" != x
; then
6079 eval "DEFAULT_$LINE"
6084 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
6089 eval "$ac_cv_use_spinctrl"
6090 if test "$no_cache" != 1; then
6091 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
6094 if test "$wxUSE_SPINCTRL" = yes; then
6095 echo "$ac_t""yes" 1>&6
6097 echo "$ac_t""no" 1>&6
6101 echo $ac_n "checking for --enable-splitter""... $ac_c" 1>&6
6102 echo "configure:6103: checking for --enable-splitter" >&5
6104 # Check whether --enable-splitter or --disable-splitter was given.
6105 if test "${enable_splitter+set}" = set; then
6106 enableval
="$enable_splitter"
6108 if test "$enableval" = yes; then
6109 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
6111 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
6116 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
6117 if test "x$LINE" != x
; then
6118 eval "DEFAULT_$LINE"
6123 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
6128 eval "$ac_cv_use_splitter"
6129 if test "$no_cache" != 1; then
6130 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
6133 if test "$wxUSE_SPLITTER" = yes; then
6134 echo "$ac_t""yes" 1>&6
6136 echo "$ac_t""no" 1>&6
6140 echo $ac_n "checking for --enable-statbmp""... $ac_c" 1>&6
6141 echo "configure:6142: checking for --enable-statbmp" >&5
6143 # Check whether --enable-statbmp or --disable-statbmp was given.
6144 if test "${enable_statbmp+set}" = set; then
6145 enableval
="$enable_statbmp"
6147 if test "$enableval" = yes; then
6148 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
6150 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
6155 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
6156 if test "x$LINE" != x
; then
6157 eval "DEFAULT_$LINE"
6162 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
6167 eval "$ac_cv_use_statbmp"
6168 if test "$no_cache" != 1; then
6169 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
6172 if test "$wxUSE_STATBMP" = yes; then
6173 echo "$ac_t""yes" 1>&6
6175 echo "$ac_t""no" 1>&6
6179 echo $ac_n "checking for --enable-statbox""... $ac_c" 1>&6
6180 echo "configure:6181: checking for --enable-statbox" >&5
6182 # Check whether --enable-statbox or --disable-statbox was given.
6183 if test "${enable_statbox+set}" = set; then
6184 enableval
="$enable_statbox"
6186 if test "$enableval" = yes; then
6187 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
6189 ac_cv_use_statbox
='wxUSE_STATBOX=no'
6194 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
6195 if test "x$LINE" != x
; then
6196 eval "DEFAULT_$LINE"
6201 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
6206 eval "$ac_cv_use_statbox"
6207 if test "$no_cache" != 1; then
6208 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
6211 if test "$wxUSE_STATBOX" = yes; then
6212 echo "$ac_t""yes" 1>&6
6214 echo "$ac_t""no" 1>&6
6218 echo $ac_n "checking for --enable-statline""... $ac_c" 1>&6
6219 echo "configure:6220: checking for --enable-statline" >&5
6221 # Check whether --enable-statline or --disable-statline was given.
6222 if test "${enable_statline+set}" = set; then
6223 enableval
="$enable_statline"
6225 if test "$enableval" = yes; then
6226 ac_cv_use_statline
='wxUSE_STATLINE=yes'
6228 ac_cv_use_statline
='wxUSE_STATLINE=no'
6233 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
6234 if test "x$LINE" != x
; then
6235 eval "DEFAULT_$LINE"
6240 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
6245 eval "$ac_cv_use_statline"
6246 if test "$no_cache" != 1; then
6247 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
6250 if test "$wxUSE_STATLINE" = yes; then
6251 echo "$ac_t""yes" 1>&6
6253 echo "$ac_t""no" 1>&6
6257 echo $ac_n "checking for --enable-stattext""... $ac_c" 1>&6
6258 echo "configure:6259: checking for --enable-stattext" >&5
6260 # Check whether --enable-stattext or --disable-stattext was given.
6261 if test "${enable_stattext+set}" = set; then
6262 enableval
="$enable_stattext"
6264 if test "$enableval" = yes; then
6265 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
6267 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
6272 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
6273 if test "x$LINE" != x
; then
6274 eval "DEFAULT_$LINE"
6279 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
6284 eval "$ac_cv_use_stattext"
6285 if test "$no_cache" != 1; then
6286 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
6289 if test "$wxUSE_STATTEXT" = yes; then
6290 echo "$ac_t""yes" 1>&6
6292 echo "$ac_t""no" 1>&6
6296 echo $ac_n "checking for --enable-statusbar""... $ac_c" 1>&6
6297 echo "configure:6298: checking for --enable-statusbar" >&5
6299 # Check whether --enable-statusbar or --disable-statusbar was given.
6300 if test "${enable_statusbar+set}" = set; then
6301 enableval
="$enable_statusbar"
6303 if test "$enableval" = yes; then
6304 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
6306 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
6311 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
6312 if test "x$LINE" != x
; then
6313 eval "DEFAULT_$LINE"
6318 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
6323 eval "$ac_cv_use_statusbar"
6324 if test "$no_cache" != 1; then
6325 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
6328 if test "$wxUSE_STATUSBAR" = yes; then
6329 echo "$ac_t""yes" 1>&6
6331 echo "$ac_t""no" 1>&6
6335 echo $ac_n "checking for --enable-tabdialog""... $ac_c" 1>&6
6336 echo "configure:6337: checking for --enable-tabdialog" >&5
6338 # Check whether --enable-tabdialog or --disable-tabdialog was given.
6339 if test "${enable_tabdialog+set}" = set; then
6340 enableval
="$enable_tabdialog"
6342 if test "$enableval" = yes; then
6343 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
6345 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
6350 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
6351 if test "x$LINE" != x
; then
6352 eval "DEFAULT_$LINE"
6357 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
6362 eval "$ac_cv_use_tabdialog"
6363 if test "$no_cache" != 1; then
6364 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
6367 if test "$wxUSE_TABDIALOG" = yes; then
6368 echo "$ac_t""yes" 1>&6
6370 echo "$ac_t""no" 1>&6
6374 echo $ac_n "checking for --enable-textctrl""... $ac_c" 1>&6
6375 echo "configure:6376: checking for --enable-textctrl" >&5
6377 # Check whether --enable-textctrl or --disable-textctrl was given.
6378 if test "${enable_textctrl+set}" = set; then
6379 enableval
="$enable_textctrl"
6381 if test "$enableval" = yes; then
6382 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
6384 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
6389 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
6390 if test "x$LINE" != x
; then
6391 eval "DEFAULT_$LINE"
6396 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
6401 eval "$ac_cv_use_textctrl"
6402 if test "$no_cache" != 1; then
6403 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
6406 if test "$wxUSE_TEXTCTRL" = yes; then
6407 echo "$ac_t""yes" 1>&6
6409 echo "$ac_t""no" 1>&6
6413 echo $ac_n "checking for --enable-togglebtn""... $ac_c" 1>&6
6414 echo "configure:6415: checking for --enable-togglebtn" >&5
6416 # Check whether --enable-togglebtn or --disable-togglebtn was given.
6417 if test "${enable_togglebtn+set}" = set; then
6418 enableval
="$enable_togglebtn"
6420 if test "$enableval" = yes; then
6421 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
6423 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
6428 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
6429 if test "x$LINE" != x
; then
6430 eval "DEFAULT_$LINE"
6435 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
6440 eval "$ac_cv_use_togglebtn"
6441 if test "$no_cache" != 1; then
6442 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
6445 if test "$wxUSE_TOGGLEBTN" = yes; then
6446 echo "$ac_t""yes" 1>&6
6448 echo "$ac_t""no" 1>&6
6452 echo $ac_n "checking for --enable-toolbar""... $ac_c" 1>&6
6453 echo "configure:6454: checking for --enable-toolbar" >&5
6455 # Check whether --enable-toolbar or --disable-toolbar was given.
6456 if test "${enable_toolbar+set}" = set; then
6457 enableval
="$enable_toolbar"
6459 if test "$enableval" = yes; then
6460 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
6462 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
6467 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
6468 if test "x$LINE" != x
; then
6469 eval "DEFAULT_$LINE"
6474 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
6479 eval "$ac_cv_use_toolbar"
6480 if test "$no_cache" != 1; then
6481 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
6484 if test "$wxUSE_TOOLBAR" = yes; then
6485 echo "$ac_t""yes" 1>&6
6487 echo "$ac_t""no" 1>&6
6491 echo $ac_n "checking for --enable-tbarnative""... $ac_c" 1>&6
6492 echo "configure:6493: checking for --enable-tbarnative" >&5
6494 # Check whether --enable-tbarnative or --disable-tbarnative was given.
6495 if test "${enable_tbarnative+set}" = set; then
6496 enableval
="$enable_tbarnative"
6498 if test "$enableval" = yes; then
6499 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
6501 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
6506 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
6507 if test "x$LINE" != x
; then
6508 eval "DEFAULT_$LINE"
6513 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
6518 eval "$ac_cv_use_tbarnative"
6519 if test "$no_cache" != 1; then
6520 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
6523 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
6524 echo "$ac_t""yes" 1>&6
6526 echo "$ac_t""no" 1>&6
6530 echo $ac_n "checking for --enable-tbarsmpl""... $ac_c" 1>&6
6531 echo "configure:6532: checking for --enable-tbarsmpl" >&5
6533 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
6534 if test "${enable_tbarsmpl+set}" = set; then
6535 enableval
="$enable_tbarsmpl"
6537 if test "$enableval" = yes; then
6538 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
6540 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
6545 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
6546 if test "x$LINE" != x
; then
6547 eval "DEFAULT_$LINE"
6552 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
6557 eval "$ac_cv_use_tbarsmpl"
6558 if test "$no_cache" != 1; then
6559 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
6562 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
6563 echo "$ac_t""yes" 1>&6
6565 echo "$ac_t""no" 1>&6
6569 echo $ac_n "checking for --enable-treectrl""... $ac_c" 1>&6
6570 echo "configure:6571: checking for --enable-treectrl" >&5
6572 # Check whether --enable-treectrl or --disable-treectrl was given.
6573 if test "${enable_treectrl+set}" = set; then
6574 enableval
="$enable_treectrl"
6576 if test "$enableval" = yes; then
6577 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
6579 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
6584 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
6585 if test "x$LINE" != x
; then
6586 eval "DEFAULT_$LINE"
6591 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
6596 eval "$ac_cv_use_treectrl"
6597 if test "$no_cache" != 1; then
6598 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
6601 if test "$wxUSE_TREECTRL" = yes; then
6602 echo "$ac_t""yes" 1>&6
6604 echo "$ac_t""no" 1>&6
6608 echo $ac_n "checking for --enable-popupwin""... $ac_c" 1>&6
6609 echo "configure:6610: checking for --enable-popupwin" >&5
6611 # Check whether --enable-popupwin or --disable-popupwin was given.
6612 if test "${enable_popupwin+set}" = set; then
6613 enableval
="$enable_popupwin"
6615 if test "$enableval" = yes; then
6616 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
6618 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
6623 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
6624 if test "x$LINE" != x
; then
6625 eval "DEFAULT_$LINE"
6630 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
6635 eval "$ac_cv_use_popupwin"
6636 if test "$no_cache" != 1; then
6637 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
6640 if test "$wxUSE_POPUPWIN" = yes; then
6641 echo "$ac_t""yes" 1>&6
6643 echo "$ac_t""no" 1>&6
6649 echo $ac_n "checking for --enable-commondlg""... $ac_c" 1>&6
6650 echo "configure:6651: checking for --enable-commondlg" >&5
6652 # Check whether --enable-commondlg or --disable-commondlg was given.
6653 if test "${enable_commondlg+set}" = set; then
6654 enableval
="$enable_commondlg"
6656 if test "$enableval" = yes; then
6657 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
6659 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
6664 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
6665 if test "x$LINE" != x
; then
6666 eval "DEFAULT_$LINE"
6671 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
6676 eval "$ac_cv_use_commondlg"
6677 if test "$no_cache" != 1; then
6678 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
6681 if test "$wxUSE_COMMONDLGS" = yes; then
6682 echo "$ac_t""yes" 1>&6
6684 echo "$ac_t""no" 1>&6
6688 echo $ac_n "checking for --enable-choicedlg""... $ac_c" 1>&6
6689 echo "configure:6690: checking for --enable-choicedlg" >&5
6691 # Check whether --enable-choicedlg or --disable-choicedlg was given.
6692 if test "${enable_choicedlg+set}" = set; then
6693 enableval
="$enable_choicedlg"
6695 if test "$enableval" = yes; then
6696 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
6698 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
6703 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
6704 if test "x$LINE" != x
; then
6705 eval "DEFAULT_$LINE"
6710 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
6715 eval "$ac_cv_use_choicedlg"
6716 if test "$no_cache" != 1; then
6717 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
6720 if test "$wxUSE_CHOICEDLG" = yes; then
6721 echo "$ac_t""yes" 1>&6
6723 echo "$ac_t""no" 1>&6
6727 echo $ac_n "checking for --enable-coldlg""... $ac_c" 1>&6
6728 echo "configure:6729: checking for --enable-coldlg" >&5
6730 # Check whether --enable-coldlg or --disable-coldlg was given.
6731 if test "${enable_coldlg+set}" = set; then
6732 enableval
="$enable_coldlg"
6734 if test "$enableval" = yes; then
6735 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
6737 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
6742 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
6743 if test "x$LINE" != x
; then
6744 eval "DEFAULT_$LINE"
6749 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
6754 eval "$ac_cv_use_coldlg"
6755 if test "$no_cache" != 1; then
6756 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
6759 if test "$wxUSE_COLOURDLG" = yes; then
6760 echo "$ac_t""yes" 1>&6
6762 echo "$ac_t""no" 1>&6
6766 echo $ac_n "checking for --enable-filedlg""... $ac_c" 1>&6
6767 echo "configure:6768: checking for --enable-filedlg" >&5
6769 # Check whether --enable-filedlg or --disable-filedlg was given.
6770 if test "${enable_filedlg+set}" = set; then
6771 enableval
="$enable_filedlg"
6773 if test "$enableval" = yes; then
6774 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
6776 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
6781 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
6782 if test "x$LINE" != x
; then
6783 eval "DEFAULT_$LINE"
6788 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
6793 eval "$ac_cv_use_filedlg"
6794 if test "$no_cache" != 1; then
6795 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
6798 if test "$wxUSE_FILEDLG" = yes; then
6799 echo "$ac_t""yes" 1>&6
6801 echo "$ac_t""no" 1>&6
6805 echo $ac_n "checking for --enable-filedlg""... $ac_c" 1>&6
6806 echo "configure:6807: checking for --enable-filedlg" >&5
6808 # Check whether --enable-filedlg or --disable-filedlg was given.
6809 if test "${enable_filedlg+set}" = set; then
6810 enableval
="$enable_filedlg"
6812 if test "$enableval" = yes; then
6813 ac_cv_use_filedlg
='wxUSE_FINDREPLDLG=yes'
6815 ac_cv_use_filedlg
='wxUSE_FINDREPLDLG=no'
6820 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
6821 if test "x$LINE" != x
; then
6822 eval "DEFAULT_$LINE"
6827 ac_cv_use_filedlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
6832 eval "$ac_cv_use_filedlg"
6833 if test "$no_cache" != 1; then
6834 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
6837 if test "$wxUSE_FINDREPLDLG" = yes; then
6838 echo "$ac_t""yes" 1>&6
6840 echo "$ac_t""no" 1>&6
6844 echo $ac_n "checking for --enable-fontdlg""... $ac_c" 1>&6
6845 echo "configure:6846: checking for --enable-fontdlg" >&5
6847 # Check whether --enable-fontdlg or --disable-fontdlg was given.
6848 if test "${enable_fontdlg+set}" = set; then
6849 enableval
="$enable_fontdlg"
6851 if test "$enableval" = yes; then
6852 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
6854 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
6859 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
6860 if test "x$LINE" != x
; then
6861 eval "DEFAULT_$LINE"
6866 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
6871 eval "$ac_cv_use_fontdlg"
6872 if test "$no_cache" != 1; then
6873 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
6876 if test "$wxUSE_FONTDLG" = yes; then
6877 echo "$ac_t""yes" 1>&6
6879 echo "$ac_t""no" 1>&6
6883 echo $ac_n "checking for --enable-dirdlg""... $ac_c" 1>&6
6884 echo "configure:6885: checking for --enable-dirdlg" >&5
6886 # Check whether --enable-dirdlg or --disable-dirdlg was given.
6887 if test "${enable_dirdlg+set}" = set; then
6888 enableval
="$enable_dirdlg"
6890 if test "$enableval" = yes; then
6891 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
6893 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
6898 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
6899 if test "x$LINE" != x
; then
6900 eval "DEFAULT_$LINE"
6905 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
6910 eval "$ac_cv_use_dirdlg"
6911 if test "$no_cache" != 1; then
6912 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
6915 if test "$wxUSE_DIRDLG" = yes; then
6916 echo "$ac_t""yes" 1>&6
6918 echo "$ac_t""no" 1>&6
6922 echo $ac_n "checking for --enable-msgdlg""... $ac_c" 1>&6
6923 echo "configure:6924: checking for --enable-msgdlg" >&5
6925 # Check whether --enable-msgdlg or --disable-msgdlg was given.
6926 if test "${enable_msgdlg+set}" = set; then
6927 enableval
="$enable_msgdlg"
6929 if test "$enableval" = yes; then
6930 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
6932 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
6937 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
6938 if test "x$LINE" != x
; then
6939 eval "DEFAULT_$LINE"
6944 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
6949 eval "$ac_cv_use_msgdlg"
6950 if test "$no_cache" != 1; then
6951 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
6954 if test "$wxUSE_MSGDLG" = yes; then
6955 echo "$ac_t""yes" 1>&6
6957 echo "$ac_t""no" 1>&6
6961 echo $ac_n "checking for --enable-numberdlg""... $ac_c" 1>&6
6962 echo "configure:6963: checking for --enable-numberdlg" >&5
6964 # Check whether --enable-numberdlg or --disable-numberdlg was given.
6965 if test "${enable_numberdlg+set}" = set; then
6966 enableval
="$enable_numberdlg"
6968 if test "$enableval" = yes; then
6969 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
6971 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
6976 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
6977 if test "x$LINE" != x
; then
6978 eval "DEFAULT_$LINE"
6983 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
6988 eval "$ac_cv_use_numberdlg"
6989 if test "$no_cache" != 1; then
6990 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
6993 if test "$wxUSE_NUMBERDLG" = yes; then
6994 echo "$ac_t""yes" 1>&6
6996 echo "$ac_t""no" 1>&6
7000 echo $ac_n "checking for --enable-splash""... $ac_c" 1>&6
7001 echo "configure:7002: checking for --enable-splash" >&5
7003 # Check whether --enable-splash or --disable-splash was given.
7004 if test "${enable_splash+set}" = set; then
7005 enableval
="$enable_splash"
7007 if test "$enableval" = yes; then
7008 ac_cv_use_splash
='wxUSE_SPLASH=yes'
7010 ac_cv_use_splash
='wxUSE_SPLASH=no'
7015 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
7016 if test "x$LINE" != x
; then
7017 eval "DEFAULT_$LINE"
7022 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
7027 eval "$ac_cv_use_splash"
7028 if test "$no_cache" != 1; then
7029 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
7032 if test "$wxUSE_SPLASH" = yes; then
7033 echo "$ac_t""yes" 1>&6
7035 echo "$ac_t""no" 1>&6
7039 echo $ac_n "checking for --enable-textdlg""... $ac_c" 1>&6
7040 echo "configure:7041: checking for --enable-textdlg" >&5
7042 # Check whether --enable-textdlg or --disable-textdlg was given.
7043 if test "${enable_textdlg+set}" = set; then
7044 enableval
="$enable_textdlg"
7046 if test "$enableval" = yes; then
7047 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
7049 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
7054 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
7055 if test "x$LINE" != x
; then
7056 eval "DEFAULT_$LINE"
7061 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
7066 eval "$ac_cv_use_textdlg"
7067 if test "$no_cache" != 1; then
7068 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
7071 if test "$wxUSE_TEXTDLG" = yes; then
7072 echo "$ac_t""yes" 1>&6
7074 echo "$ac_t""no" 1>&6
7078 echo $ac_n "checking for --enable-tipdlg""... $ac_c" 1>&6
7079 echo "configure:7080: checking for --enable-tipdlg" >&5
7081 # Check whether --enable-tipdlg or --disable-tipdlg was given.
7082 if test "${enable_tipdlg+set}" = set; then
7083 enableval
="$enable_tipdlg"
7085 if test "$enableval" = yes; then
7086 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
7088 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
7093 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
7094 if test "x$LINE" != x
; then
7095 eval "DEFAULT_$LINE"
7100 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
7105 eval "$ac_cv_use_tipdlg"
7106 if test "$no_cache" != 1; then
7107 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
7110 if test "$wxUSE_STARTUP_TIPS" = yes; then
7111 echo "$ac_t""yes" 1>&6
7113 echo "$ac_t""no" 1>&6
7117 echo $ac_n "checking for --enable-progressdlg""... $ac_c" 1>&6
7118 echo "configure:7119: checking for --enable-progressdlg" >&5
7120 # Check whether --enable-progressdlg or --disable-progressdlg was given.
7121 if test "${enable_progressdlg+set}" = set; then
7122 enableval
="$enable_progressdlg"
7124 if test "$enableval" = yes; then
7125 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
7127 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
7132 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
7133 if test "x$LINE" != x
; then
7134 eval "DEFAULT_$LINE"
7139 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
7144 eval "$ac_cv_use_progressdlg"
7145 if test "$no_cache" != 1; then
7146 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
7149 if test "$wxUSE_PROGRESSDLG" = yes; then
7150 echo "$ac_t""yes" 1>&6
7152 echo "$ac_t""no" 1>&6
7156 echo $ac_n "checking for --enable-wizarddlg""... $ac_c" 1>&6
7157 echo "configure:7158: checking for --enable-wizarddlg" >&5
7159 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
7160 if test "${enable_wizarddlg+set}" = set; then
7161 enableval
="$enable_wizarddlg"
7163 if test "$enableval" = yes; then
7164 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
7166 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
7171 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
7172 if test "x$LINE" != x
; then
7173 eval "DEFAULT_$LINE"
7178 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
7183 eval "$ac_cv_use_wizarddlg"
7184 if test "$no_cache" != 1; then
7185 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
7188 if test "$wxUSE_WIZARDDLG" = yes; then
7189 echo "$ac_t""yes" 1>&6
7191 echo "$ac_t""no" 1>&6
7197 echo $ac_n "checking for --enable-menus""... $ac_c" 1>&6
7198 echo "configure:7199: checking for --enable-menus" >&5
7200 # Check whether --enable-menus or --disable-menus was given.
7201 if test "${enable_menus+set}" = set; then
7202 enableval
="$enable_menus"
7204 if test "$enableval" = yes; then
7205 ac_cv_use_menus
='wxUSE_MENUS=yes'
7207 ac_cv_use_menus
='wxUSE_MENUS=no'
7212 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
7213 if test "x$LINE" != x
; then
7214 eval "DEFAULT_$LINE"
7219 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
7224 eval "$ac_cv_use_menus"
7225 if test "$no_cache" != 1; then
7226 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
7229 if test "$wxUSE_MENUS" = yes; then
7230 echo "$ac_t""yes" 1>&6
7232 echo "$ac_t""no" 1>&6
7236 echo $ac_n "checking for --enable-miniframe""... $ac_c" 1>&6
7237 echo "configure:7238: checking for --enable-miniframe" >&5
7239 # Check whether --enable-miniframe or --disable-miniframe was given.
7240 if test "${enable_miniframe+set}" = set; then
7241 enableval
="$enable_miniframe"
7243 if test "$enableval" = yes; then
7244 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
7246 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
7251 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
7252 if test "x$LINE" != x
; then
7253 eval "DEFAULT_$LINE"
7258 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
7263 eval "$ac_cv_use_miniframe"
7264 if test "$no_cache" != 1; then
7265 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
7268 if test "$wxUSE_MINIFRAME" = yes; then
7269 echo "$ac_t""yes" 1>&6
7271 echo "$ac_t""no" 1>&6
7275 echo $ac_n "checking for --enable-tooltips""... $ac_c" 1>&6
7276 echo "configure:7277: checking for --enable-tooltips" >&5
7278 # Check whether --enable-tooltips or --disable-tooltips was given.
7279 if test "${enable_tooltips+set}" = set; then
7280 enableval
="$enable_tooltips"
7282 if test "$enableval" = yes; then
7283 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
7285 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
7290 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
7291 if test "x$LINE" != x
; then
7292 eval "DEFAULT_$LINE"
7297 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
7302 eval "$ac_cv_use_tooltips"
7303 if test "$no_cache" != 1; then
7304 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
7307 if test "$wxUSE_TOOLTIPS" = yes; then
7308 echo "$ac_t""yes" 1>&6
7310 echo "$ac_t""no" 1>&6
7314 echo $ac_n "checking for --enable-splines""... $ac_c" 1>&6
7315 echo "configure:7316: checking for --enable-splines" >&5
7317 # Check whether --enable-splines or --disable-splines was given.
7318 if test "${enable_splines+set}" = set; then
7319 enableval
="$enable_splines"
7321 if test "$enableval" = yes; then
7322 ac_cv_use_splines
='wxUSE_SPLINES=yes'
7324 ac_cv_use_splines
='wxUSE_SPLINES=no'
7329 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
7330 if test "x$LINE" != x
; then
7331 eval "DEFAULT_$LINE"
7336 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
7341 eval "$ac_cv_use_splines"
7342 if test "$no_cache" != 1; then
7343 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
7346 if test "$wxUSE_SPLINES" = yes; then
7347 echo "$ac_t""yes" 1>&6
7349 echo "$ac_t""no" 1>&6
7353 echo $ac_n "checking for --enable-validators""... $ac_c" 1>&6
7354 echo "configure:7355: checking for --enable-validators" >&5
7356 # Check whether --enable-validators or --disable-validators was given.
7357 if test "${enable_validators+set}" = set; then
7358 enableval
="$enable_validators"
7360 if test "$enableval" = yes; then
7361 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
7363 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
7368 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
7369 if test "x$LINE" != x
; then
7370 eval "DEFAULT_$LINE"
7375 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
7380 eval "$ac_cv_use_validators"
7381 if test "$no_cache" != 1; then
7382 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
7385 if test "$wxUSE_VALIDATORS" = yes; then
7386 echo "$ac_t""yes" 1>&6
7388 echo "$ac_t""no" 1>&6
7392 echo $ac_n "checking for --enable-busyinfo""... $ac_c" 1>&6
7393 echo "configure:7394: checking for --enable-busyinfo" >&5
7395 # Check whether --enable-busyinfo or --disable-busyinfo was given.
7396 if test "${enable_busyinfo+set}" = set; then
7397 enableval
="$enable_busyinfo"
7399 if test "$enableval" = yes; then
7400 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
7402 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
7407 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
7408 if test "x$LINE" != x
; then
7409 eval "DEFAULT_$LINE"
7414 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
7419 eval "$ac_cv_use_busyinfo"
7420 if test "$no_cache" != 1; then
7421 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
7424 if test "$wxUSE_BUSYINFO" = yes; then
7425 echo "$ac_t""yes" 1>&6
7427 echo "$ac_t""no" 1>&6
7431 echo $ac_n "checking for --enable-joystick""... $ac_c" 1>&6
7432 echo "configure:7433: checking for --enable-joystick" >&5
7434 # Check whether --enable-joystick or --disable-joystick was given.
7435 if test "${enable_joystick+set}" = set; then
7436 enableval
="$enable_joystick"
7438 if test "$enableval" = yes; then
7439 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
7441 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
7446 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
7447 if test "x$LINE" != x
; then
7448 eval "DEFAULT_$LINE"
7453 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
7458 eval "$ac_cv_use_joystick"
7459 if test "$no_cache" != 1; then
7460 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
7463 if test "$wxUSE_JOYSTICK" = yes; then
7464 echo "$ac_t""yes" 1>&6
7466 echo "$ac_t""no" 1>&6
7470 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
7471 echo "configure:7472: checking for --enable-metafile" >&5
7473 # Check whether --enable-metafile or --disable-metafile was given.
7474 if test "${enable_metafile+set}" = set; then
7475 enableval
="$enable_metafile"
7477 if test "$enableval" = yes; then
7478 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
7480 ac_cv_use_metafile
='wxUSE_METAFILE=no'
7485 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7486 if test "x$LINE" != x
; then
7487 eval "DEFAULT_$LINE"
7492 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7497 eval "$ac_cv_use_metafile"
7498 if test "$no_cache" != 1; then
7499 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7502 if test "$wxUSE_METAFILE" = yes; then
7503 echo "$ac_t""yes" 1>&6
7505 echo "$ac_t""no" 1>&6
7509 echo $ac_n "checking for --enable-dragimage""... $ac_c" 1>&6
7510 echo "configure:7511: checking for --enable-dragimage" >&5
7512 # Check whether --enable-dragimage or --disable-dragimage was given.
7513 if test "${enable_dragimage+set}" = set; then
7514 enableval
="$enable_dragimage"
7516 if test "$enableval" = yes; then
7517 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
7519 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
7524 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
7525 if test "x$LINE" != x
; then
7526 eval "DEFAULT_$LINE"
7531 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
7536 eval "$ac_cv_use_dragimage"
7537 if test "$no_cache" != 1; then
7538 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
7541 if test "$wxUSE_DRAGIMAGE" = yes; then
7542 echo "$ac_t""yes" 1>&6
7544 echo "$ac_t""no" 1>&6
7550 echo $ac_n "checking for --enable-palette""... $ac_c" 1>&6
7551 echo "configure:7552: checking for --enable-palette" >&5
7553 # Check whether --enable-palette or --disable-palette was given.
7554 if test "${enable_palette+set}" = set; then
7555 enableval
="$enable_palette"
7557 if test "$enableval" = yes; then
7558 ac_cv_use_palette
='wxUSE_PALETTE=yes'
7560 ac_cv_use_palette
='wxUSE_PALETTE=no'
7565 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
7566 if test "x$LINE" != x
; then
7567 eval "DEFAULT_$LINE"
7572 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
7577 eval "$ac_cv_use_palette"
7578 if test "$no_cache" != 1; then
7579 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
7582 if test "$wxUSE_PALETTE" = yes; then
7583 echo "$ac_t""yes" 1>&6
7585 echo "$ac_t""no" 1>&6
7589 echo $ac_n "checking for --enable-image""... $ac_c" 1>&6
7590 echo "configure:7591: checking for --enable-image" >&5
7592 # Check whether --enable-image or --disable-image was given.
7593 if test "${enable_image+set}" = set; then
7594 enableval
="$enable_image"
7596 if test "$enableval" = yes; then
7597 ac_cv_use_image
='wxUSE_IMAGE=yes'
7599 ac_cv_use_image
='wxUSE_IMAGE=no'
7604 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
7605 if test "x$LINE" != x
; then
7606 eval "DEFAULT_$LINE"
7611 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
7616 eval "$ac_cv_use_image"
7617 if test "$no_cache" != 1; then
7618 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
7621 if test "$wxUSE_IMAGE" = yes; then
7622 echo "$ac_t""yes" 1>&6
7624 echo "$ac_t""no" 1>&6
7628 echo $ac_n "checking for --enable-gif""... $ac_c" 1>&6
7629 echo "configure:7630: checking for --enable-gif" >&5
7631 # Check whether --enable-gif or --disable-gif was given.
7632 if test "${enable_gif+set}" = set; then
7633 enableval
="$enable_gif"
7635 if test "$enableval" = yes; then
7636 ac_cv_use_gif
='wxUSE_GIF=yes'
7638 ac_cv_use_gif
='wxUSE_GIF=no'
7643 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
7644 if test "x$LINE" != x
; then
7645 eval "DEFAULT_$LINE"
7650 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
7655 eval "$ac_cv_use_gif"
7656 if test "$no_cache" != 1; then
7657 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
7660 if test "$wxUSE_GIF" = yes; then
7661 echo "$ac_t""yes" 1>&6
7663 echo "$ac_t""no" 1>&6
7667 echo $ac_n "checking for --enable-pcx""... $ac_c" 1>&6
7668 echo "configure:7669: checking for --enable-pcx" >&5
7670 # Check whether --enable-pcx or --disable-pcx was given.
7671 if test "${enable_pcx+set}" = set; then
7672 enableval
="$enable_pcx"
7674 if test "$enableval" = yes; then
7675 ac_cv_use_pcx
='wxUSE_PCX=yes'
7677 ac_cv_use_pcx
='wxUSE_PCX=no'
7682 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
7683 if test "x$LINE" != x
; then
7684 eval "DEFAULT_$LINE"
7689 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
7694 eval "$ac_cv_use_pcx"
7695 if test "$no_cache" != 1; then
7696 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
7699 if test "$wxUSE_PCX" = yes; then
7700 echo "$ac_t""yes" 1>&6
7702 echo "$ac_t""no" 1>&6
7706 echo $ac_n "checking for --enable-pnm""... $ac_c" 1>&6
7707 echo "configure:7708: checking for --enable-pnm" >&5
7709 # Check whether --enable-pnm or --disable-pnm was given.
7710 if test "${enable_pnm+set}" = set; then
7711 enableval
="$enable_pnm"
7713 if test "$enableval" = yes; then
7714 ac_cv_use_pnm
='wxUSE_PNM=yes'
7716 ac_cv_use_pnm
='wxUSE_PNM=no'
7721 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
7722 if test "x$LINE" != x
; then
7723 eval "DEFAULT_$LINE"
7728 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
7733 eval "$ac_cv_use_pnm"
7734 if test "$no_cache" != 1; then
7735 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
7738 if test "$wxUSE_PNM" = yes; then
7739 echo "$ac_t""yes" 1>&6
7741 echo "$ac_t""no" 1>&6
7745 echo $ac_n "checking for --enable-pnm""... $ac_c" 1>&6
7746 echo "configure:7747: checking for --enable-pnm" >&5
7748 # Check whether --enable-pnm or --disable-pnm was given.
7749 if test "${enable_pnm+set}" = set; then
7750 enableval
="$enable_pnm"
7752 if test "$enableval" = yes; then
7753 ac_cv_use_pnm
='wxUSE_XPM=yes'
7755 ac_cv_use_pnm
='wxUSE_XPM=no'
7760 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
7761 if test "x$LINE" != x
; then
7762 eval "DEFAULT_$LINE"
7767 ac_cv_use_pnm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
7772 eval "$ac_cv_use_pnm"
7773 if test "$no_cache" != 1; then
7774 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
7777 if test "$wxUSE_XPM" = yes; then
7778 echo "$ac_t""yes" 1>&6
7780 echo "$ac_t""no" 1>&6
7787 echo "saving argument cache $wx_arg_cache_file"
7788 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
7792 echo $ac_n "checking for toolkit""... $ac_c" 1>&6
7793 echo "configure:7794: checking for toolkit" >&5
7795 if test "$wxUSE_GUI" = "yes"; then
7797 if test "$USE_BEOS" = 1; then
7798 { echo "configure: error: BeOS GUI is not supported yet, use --disable-gui" 1>&2; exit 1; }
7801 if test "$TOOLKIT_GIVEN" = 1; then
7802 for toolkit
in `echo $ALL_TOOLKITS`; do
7804 eval "value=\$${var}"
7805 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
7808 for toolkit
in `echo $ALL_TOOLKITS`; do
7809 if test "$has_toolkit_in_cache" != 1; then
7810 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
7812 var
=DEFAULT_wxUSE_
$toolkit
7814 eval "wxUSE_$toolkit=\$${var}"
7818 NUM_TOOLKITS
=`expr ${wxUSE_GTK:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MAC:-0} \
7819 + ${wxUSE_WINE:-0} + ${wxUSE_MSW:-0} + ${wxUSE_MGL:-0}`
7822 *-pc-os2_emx | *-pc-os2-emx )
7823 # PATH_IFS is autodetected by OS/2's configure (usually ';')
7824 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
7833 case "$NUM_TOOLKITS" in
7837 { echo "configure: error: Please specify a toolkit - cannot determine the default for ${host}" 1>&2; exit 1; }
7840 { echo "configure: error: Please specify at most one toolkit (may be some are cached?)" 1>&2; exit 1; }
7843 for toolkit
in `echo $ALL_TOOLKITS`; do
7845 eval "value=\$${var}"
7846 if test "x$value" != x
; then
7847 cache_var
=CACHE_
$toolkit
7848 eval "cache=\$${cache_var}"
7849 if test "$cache" = 1; then
7850 echo "$var=$value" >> ${wx_arg_cache_file}
7852 if test "$value" = 1; then
7853 toolkit_echo
=`echo $toolkit | tr [A-Z] [a-z]`
7854 echo "$ac_t""$toolkit_echo" 1>&6
7860 echo "$ac_t""base ($host_alias hosted) only" 1>&6
7864 cat > confcache
<<\EOF
7865 # This file is a shell script that caches the results of configure
7866 # tests run on this system so they can be shared between configure
7867 # scripts and configure runs. It is not useful on other systems.
7868 # If it contains results you don't want to keep, you may remove or edit it.
7870 # By default, configure uses ./config.cache as the cache file,
7871 # creating it if it does not exist already. You can give configure
7872 # the --cache-file=FILE option to use a different cache file; that is
7873 # what configure does when it calls configure scripts in
7874 # subdirectories, so they share the cache.
7875 # Giving --cache-file=/dev/null disables caching, for debugging configure.
7876 # config.status only pays attention to the cache file if you give it the
7877 # --recheck option to rerun configure.
7880 # The following way of writing the cache mishandles newlines in values,
7881 # but we know of no workaround that is simple, portable, and efficient.
7882 # So, don't put newlines in cache variables' values.
7883 # Ultrix sh set writes to stderr and can't be redirected directly,
7884 # and sets the high bit in the cache file unless we assign to the vars.
7886 case `(ac_space=' '; set | grep ac_space) 2>&1` in
7888 # `set' does not quote correctly, so add quotes (double-quote substitution
7889 # turns \\\\ into \\, and sed turns \\ into \).
7891 -e "s/'/'\\\\''/g" \
7892 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
7895 # `set' quotes correctly as required by POSIX, so do not add quotes.
7896 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
7899 if cmp -s $cache_file confcache
; then
7902 if test -w $cache_file; then
7903 echo "updating cache $cache_file"
7904 cat confcache
> $cache_file
7906 echo "not updating unwritable cache $cache_file"
7912 if test "$build" != "$host" ; then
7913 if test "$USE_WIN32" = 1 ; then
7917 RANLIB
=$host_alias-ranlib
7918 DLLTOOL
=$host_alias-dlltool
7919 RESCOMP
=$host_alias-windres
7922 STRIP
=$host_alias-strip
7924 { echo "configure: error: $build_alias -> $host_alias cross compilation not supported yet." 1>&2; exit 1; }
7928 # Extract the first word of "gcc", so it can be a program name with args.
7929 set dummy gcc
; ac_word
=$2
7930 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7931 echo "configure:7932: checking for $ac_word" >&5
7932 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
7933 echo $ac_n "(cached) $ac_c" 1>&6
7935 if test -n "$CC"; then
7936 ac_cv_prog_CC
="$CC" # Let the user override the test.
7938 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7940 for ac_dir
in $ac_dummy; do
7941 test -z "$ac_dir" && ac_dir
=.
7942 if test -f $ac_dir/$ac_word; then
7951 if test -n "$CC"; then
7952 echo "$ac_t""$CC" 1>&6
7954 echo "$ac_t""no" 1>&6
7957 if test -z "$CC"; then
7958 # Extract the first word of "cc", so it can be a program name with args.
7959 set dummy cc
; ac_word
=$2
7960 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7961 echo "configure:7962: checking for $ac_word" >&5
7962 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
7963 echo $ac_n "(cached) $ac_c" 1>&6
7965 if test -n "$CC"; then
7966 ac_cv_prog_CC
="$CC" # Let the user override the test.
7968 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7971 for ac_dir
in $ac_dummy; do
7972 test -z "$ac_dir" && ac_dir
=.
7973 if test -f $ac_dir/$ac_word; then
7974 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
7975 ac_prog_rejected
=yes
7983 if test $ac_prog_rejected = yes; then
7984 # We found a bogon in the path, so make sure we never use it.
7985 set dummy
$ac_cv_prog_CC
7987 if test $# -gt 0; then
7988 # We chose a different compiler from the bogus one.
7989 # However, it has the same basename, so the bogon will be chosen
7990 # first if we set CC to just the basename; use the full file name.
7992 set dummy
"$ac_dir/$ac_word" "$@"
8000 if test -n "$CC"; then
8001 echo "$ac_t""$CC" 1>&6
8003 echo "$ac_t""no" 1>&6
8006 if test -z "$CC"; then
8007 case "`uname -s`" in
8009 # Extract the first word of "cl", so it can be a program name with args.
8010 set dummy cl
; ac_word
=$2
8011 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8012 echo "configure:8013: checking for $ac_word" >&5
8013 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8014 echo $ac_n "(cached) $ac_c" 1>&6
8016 if test -n "$CC"; then
8017 ac_cv_prog_CC
="$CC" # Let the user override the test.
8019 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8021 for ac_dir
in $ac_dummy; do
8022 test -z "$ac_dir" && ac_dir
=.
8023 if test -f $ac_dir/$ac_word; then
8032 if test -n "$CC"; then
8033 echo "$ac_t""$CC" 1>&6
8035 echo "$ac_t""no" 1>&6
8040 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
8043 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
8044 echo "configure:8045: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
8047 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8048 ac_cpp
='$CPP $CPPFLAGS'
8049 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8050 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8051 cross_compiling
=$ac_cv_prog_cc_cross
8053 cat > conftest.
$ac_ext << EOF
8055 #line 8056 "configure"
8056 #include "confdefs.h"
8060 if { (eval echo configure
:8061: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8061 ac_cv_prog_cc_works
=yes
8062 # If we can't run a trivial program, we are probably using a cross compiler.
8063 if (.
/conftest
; exit) 2>/dev
/null
; then
8064 ac_cv_prog_cc_cross
=no
8066 ac_cv_prog_cc_cross
=yes
8069 echo "configure: failed program was:" >&5
8070 cat conftest.
$ac_ext >&5
8071 ac_cv_prog_cc_works
=no
8075 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8076 ac_cpp
='$CPP $CPPFLAGS'
8077 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8078 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8079 cross_compiling
=$ac_cv_prog_cc_cross
8081 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
8082 if test $ac_cv_prog_cc_works = no
; then
8083 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
8085 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
8086 echo "configure:8087: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
8087 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
8088 cross_compiling
=$ac_cv_prog_cc_cross
8090 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
8091 echo "configure:8092: checking whether we are using GNU C" >&5
8092 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
8093 echo $ac_n "(cached) $ac_c" 1>&6
8095 cat > conftest.c
<<EOF
8100 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:8101: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
8107 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
8109 if test $ac_cv_prog_gcc = yes; then
8115 ac_test_CFLAGS
="${CFLAGS+set}"
8116 ac_save_CFLAGS
="$CFLAGS"
8118 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
8119 echo "configure:8120: checking whether ${CC-cc} accepts -g" >&5
8120 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
8121 echo $ac_n "(cached) $ac_c" 1>&6
8123 echo 'void f(){}' > conftest.c
8124 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
8133 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
8134 if test "$ac_test_CFLAGS" = set; then
8135 CFLAGS
="$ac_save_CFLAGS"
8136 elif test $ac_cv_prog_cc_g = yes; then
8137 if test "$GCC" = yes; then
8143 if test "$GCC" = yes; then
8151 CFLAGS
=`echo "$CFLAGS" | sed 's/-g//g'`
8153 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
8154 echo "configure:8155: checking how to run the C preprocessor" >&5
8155 # On Suns, sometimes $CPP names a directory.
8156 if test -n "$CPP" && test -d "$CPP"; then
8159 if test -z "$CPP"; then
8160 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
8161 echo $ac_n "(cached) $ac_c" 1>&6
8163 # This must be in double quotes, not single quotes, because CPP may get
8164 # substituted into the Makefile and "${CC-cc}" will confuse make.
8166 # On the NeXT, cc -E runs the code through the compiler's parser,
8167 # not just through cpp.
8168 cat > conftest.
$ac_ext <<EOF
8169 #line 8170 "configure"
8170 #include "confdefs.h"
8174 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8175 { (eval echo configure
:8176: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8176 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8177 if test -z "$ac_err"; then
8181 echo "configure: failed program was:" >&5
8182 cat conftest.
$ac_ext >&5
8184 CPP
="${CC-cc} -E -traditional-cpp"
8185 cat > conftest.
$ac_ext <<EOF
8186 #line 8187 "configure"
8187 #include "confdefs.h"
8191 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8192 { (eval echo configure
:8193: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8193 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8194 if test -z "$ac_err"; then
8198 echo "configure: failed program was:" >&5
8199 cat conftest.
$ac_ext >&5
8201 CPP
="${CC-cc} -nologo -E"
8202 cat > conftest.
$ac_ext <<EOF
8203 #line 8204 "configure"
8204 #include "confdefs.h"
8208 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8209 { (eval echo configure
:8210: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8210 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8211 if test -z "$ac_err"; then
8215 echo "configure: failed program was:" >&5
8216 cat conftest.
$ac_ext >&5
8225 ac_cv_prog_CPP
="$CPP"
8227 CPP
="$ac_cv_prog_CPP"
8229 ac_cv_prog_CPP
="$CPP"
8231 echo "$ac_t""$CPP" 1>&6
8233 if test $ac_cv_prog_gcc = yes; then
8234 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
8235 echo "configure:8236: checking whether ${CC-cc} needs -traditional" >&5
8236 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
8237 echo $ac_n "(cached) $ac_c" 1>&6
8239 ac_pattern
="Autoconf.*'x'"
8240 cat > conftest.
$ac_ext <<EOF
8241 #line 8242 "configure"
8242 #include "confdefs.h"
8246 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8247 egrep "$ac_pattern" >/dev
/null
2>&1; then
8249 ac_cv_prog_gcc_traditional
=yes
8252 ac_cv_prog_gcc_traditional
=no
8257 if test $ac_cv_prog_gcc_traditional = no
; then
8258 cat > conftest.
$ac_ext <<EOF
8259 #line 8260 "configure"
8260 #include "confdefs.h"
8264 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8265 egrep "$ac_pattern" >/dev
/null
2>&1; then
8267 ac_cv_prog_gcc_traditional
=yes
8274 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
8275 if test $ac_cv_prog_gcc_traditional = yes; then
8276 CC
="$CC -traditional"
8283 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8284 ac_cpp
='$CXXCPP $CPPFLAGS'
8285 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8286 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8287 cross_compiling
=$ac_cv_prog_cxx_cross
8290 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++ cl
8292 # Extract the first word of "$ac_prog", so it can be a program name with args.
8293 set dummy
$ac_prog; ac_word
=$2
8294 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8295 echo "configure:8296: checking for $ac_word" >&5
8296 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
8297 echo $ac_n "(cached) $ac_c" 1>&6
8299 if test -n "$CXX"; then
8300 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
8302 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8304 for ac_dir
in $ac_dummy; do
8305 test -z "$ac_dir" && ac_dir
=.
8306 if test -f $ac_dir/$ac_word; then
8307 ac_cv_prog_CXX
="$ac_prog"
8314 CXX
="$ac_cv_prog_CXX"
8315 if test -n "$CXX"; then
8316 echo "$ac_t""$CXX" 1>&6
8318 echo "$ac_t""no" 1>&6
8321 test -n "$CXX" && break
8323 test -n "$CXX" || CXX
="gcc"
8326 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
8327 echo "configure:8328: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
8330 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8331 ac_cpp
='$CXXCPP $CPPFLAGS'
8332 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8333 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8334 cross_compiling
=$ac_cv_prog_cxx_cross
8336 cat > conftest.
$ac_ext << EOF
8338 #line 8339 "configure"
8339 #include "confdefs.h"
8341 int main(){return(0);}
8343 if { (eval echo configure
:8344: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8344 ac_cv_prog_cxx_works
=yes
8345 # If we can't run a trivial program, we are probably using a cross compiler.
8346 if (.
/conftest
; exit) 2>/dev
/null
; then
8347 ac_cv_prog_cxx_cross
=no
8349 ac_cv_prog_cxx_cross
=yes
8352 echo "configure: failed program was:" >&5
8353 cat conftest.
$ac_ext >&5
8354 ac_cv_prog_cxx_works
=no
8358 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8359 ac_cpp
='$CXXCPP $CPPFLAGS'
8360 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8361 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8362 cross_compiling
=$ac_cv_prog_cxx_cross
8364 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
8365 if test $ac_cv_prog_cxx_works = no
; then
8366 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
8368 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
8369 echo "configure:8370: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
8370 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
8371 cross_compiling
=$ac_cv_prog_cxx_cross
8373 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
8374 echo "configure:8375: checking whether we are using GNU C++" >&5
8375 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
8376 echo $ac_n "(cached) $ac_c" 1>&6
8378 cat > conftest.C
<<EOF
8383 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:8384: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
8390 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
8392 if test $ac_cv_prog_gxx = yes; then
8398 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
8399 ac_save_CXXFLAGS
="$CXXFLAGS"
8401 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
8402 echo "configure:8403: checking whether ${CXX-g++} accepts -g" >&5
8403 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
8404 echo $ac_n "(cached) $ac_c" 1>&6
8406 echo 'void f(){}' > conftest.cc
8407 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
8408 ac_cv_prog_cxx_g
=yes
8416 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
8417 if test "$ac_test_CXXFLAGS" = set; then
8418 CXXFLAGS
="$ac_save_CXXFLAGS"
8419 elif test $ac_cv_prog_cxx_g = yes; then
8420 if test "$GXX" = yes; then
8426 if test "$GXX" = yes; then
8434 CXXFLAGS
=`echo "$CXXFLAGS" | sed 's/-g//g'`
8437 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8438 ac_cpp
='$CPP $CPPFLAGS'
8439 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8440 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8441 cross_compiling
=$ac_cv_prog_cc_cross
8444 # Extract the first word of "ranlib", so it can be a program name with args.
8445 set dummy ranlib
; ac_word
=$2
8446 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8447 echo "configure:8448: checking for $ac_word" >&5
8448 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
8449 echo $ac_n "(cached) $ac_c" 1>&6
8451 if test -n "$RANLIB"; then
8452 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
8454 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8456 for ac_dir
in $ac_dummy; do
8457 test -z "$ac_dir" && ac_dir
=.
8458 if test -f $ac_dir/$ac_word; then
8459 ac_cv_prog_RANLIB
="ranlib"
8464 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
8467 RANLIB
="$ac_cv_prog_RANLIB"
8468 if test -n "$RANLIB"; then
8469 echo "$ac_t""$RANLIB" 1>&6
8471 echo "$ac_t""no" 1>&6
8475 # Extract the first word of "ar", so it can be a program name with args.
8476 set dummy
ar; ac_word
=$2
8477 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8478 echo "configure:8479: checking for $ac_word" >&5
8479 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
8480 echo $ac_n "(cached) $ac_c" 1>&6
8482 if test -n "$AR"; then
8483 ac_cv_prog_AR
="$AR" # Let the user override the test.
8485 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8487 for ac_dir
in $ac_dummy; do
8488 test -z "$ac_dir" && ac_dir
=.
8489 if test -f $ac_dir/$ac_word; then
8495 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
8499 if test -n "$AR"; then
8500 echo "$ac_t""$AR" 1>&6
8502 echo "$ac_t""no" 1>&6
8506 # Find a good install program. We prefer a C program (faster),
8507 # so one script is as good as another. But avoid the broken or
8508 # incompatible versions:
8509 # SysV /etc/install, /usr/sbin/install
8510 # SunOS /usr/etc/install
8511 # IRIX /sbin/install
8513 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
8514 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
8515 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
8516 # ./install, which can be erroneously created by make from ./install.sh.
8517 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
8518 echo "configure:8519: checking for a BSD compatible install" >&5
8519 if test -z "$INSTALL"; then
8520 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
8521 echo $ac_n "(cached) $ac_c" 1>&6
8523 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
8524 for ac_dir
in $PATH; do
8525 # Account for people who put trailing slashes in PATH elements.
8527 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
8529 # OSF1 and SCO ODT 3.0 have their own names for install.
8530 # Don't use installbsd from OSF since it installs stuff as root
8532 for ac_prog
in ginstall scoinst
install; do
8533 if test -f $ac_dir/$ac_prog; then
8534 if test $ac_prog = install &&
8535 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
8536 # AIX install. It has an incompatible calling convention.
8539 ac_cv_path_install
="$ac_dir/$ac_prog -c"
8550 if test "${ac_cv_path_install+set}" = set; then
8551 INSTALL
="$ac_cv_path_install"
8553 # As a last resort, use the slow shell script. We don't cache a
8554 # path for INSTALL within a source directory, because that will
8555 # break other packages using the cache if that directory is
8556 # removed, or if the path is relative.
8557 INSTALL
="$ac_install_sh"
8560 echo "$ac_t""$INSTALL" 1>&6
8562 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
8563 # It thinks the first close brace ends the variable substitution.
8564 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
8566 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
8568 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
8573 INSTALL_PROGRAM
="cp -fp"
8574 INSTALL_DATA
="cp -fp"
8580 # Extract the first word of "strip", so it can be a program name with args.
8581 set dummy strip
; ac_word
=$2
8582 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8583 echo "configure:8584: checking for $ac_word" >&5
8584 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
8585 echo $ac_n "(cached) $ac_c" 1>&6
8587 if test -n "$STRIP"; then
8588 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
8590 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8592 for ac_dir
in $ac_dummy; do
8593 test -z "$ac_dir" && ac_dir
=.
8594 if test -f $ac_dir/$ac_word; then
8595 ac_cv_prog_STRIP
="strip"
8600 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
8603 STRIP
="$ac_cv_prog_STRIP"
8604 if test -n "$STRIP"; then
8605 echo "$ac_t""$STRIP" 1>&6
8607 echo "$ac_t""no" 1>&6
8611 echo $ac_n "checking make for VPATH support""... $ac_c" 1>&6
8612 echo "configure:8613: checking make for VPATH support" >&5
8613 cat - << EOF > confMake
8619 if test ! -d sub
; then
8622 echo dummy
> sub
/file
8623 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
8625 rm -f sub
/file check final_file confMake
8627 if test "$RESULT" = 0; then
8628 echo "$ac_t""yes" 1>&6
8630 echo "$ac_t""no" 1>&6
8631 { echo "configure: error:
8632 You need a make-utility that is able to use the variable
8634 If your version of make does not support VPATH correctly,
8635 please install GNU-make (possibly as gmake), and start
8636 configure with the following command:
8637 export MAKE=gmake; ./configure for sh-type shells
8638 setenv MAKE gmake; ./configure for csh-type shells
8639 Also please do remember to use gmake in this case every time
8640 you are trying to compile.
8644 for ac_prog
in 'bison -y' byacc
8646 # Extract the first word of "$ac_prog", so it can be a program name with args.
8647 set dummy
$ac_prog; ac_word
=$2
8648 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8649 echo "configure:8650: checking for $ac_word" >&5
8650 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
8651 echo $ac_n "(cached) $ac_c" 1>&6
8653 if test -n "$YACC"; then
8654 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
8656 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8658 for ac_dir
in $ac_dummy; do
8659 test -z "$ac_dir" && ac_dir
=.
8660 if test -f $ac_dir/$ac_word; then
8661 ac_cv_prog_YACC
="$ac_prog"
8668 YACC
="$ac_cv_prog_YACC"
8669 if test -n "$YACC"; then
8670 echo "$ac_t""$YACC" 1>&6
8672 echo "$ac_t""no" 1>&6
8675 test -n "$YACC" && break
8677 test -n "$YACC" || YACC
="yacc"
8680 # Extract the first word of "flex", so it can be a program name with args.
8681 set dummy flex
; ac_word
=$2
8682 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8683 echo "configure:8684: checking for $ac_word" >&5
8684 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
8685 echo $ac_n "(cached) $ac_c" 1>&6
8687 if test -n "$LEX"; then
8688 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
8690 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8692 for ac_dir
in $ac_dummy; do
8693 test -z "$ac_dir" && ac_dir
=.
8694 if test -f $ac_dir/$ac_word; then
8695 ac_cv_prog_LEX
="flex"
8700 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
8703 LEX
="$ac_cv_prog_LEX"
8704 if test -n "$LEX"; then
8705 echo "$ac_t""$LEX" 1>&6
8707 echo "$ac_t""no" 1>&6
8710 if test -z "$LEXLIB"
8716 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
8717 echo "configure:8718: checking for yywrap in -l$ac_lib" >&5
8718 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
8719 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8720 echo $ac_n "(cached) $ac_c" 1>&6
8722 ac_save_LIBS
="$LIBS"
8723 LIBS
="-l$ac_lib $LIBS"
8724 cat > conftest.
$ac_ext <<EOF
8725 #line 8726 "configure"
8726 #include "confdefs.h"
8727 /* Override any gcc2 internal prototype to avoid an error. */
8728 /* We use char because int might match the return type of a gcc2
8729 builtin and then its argument prototype would still apply. */
8736 if { (eval echo configure
:8737: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8738 eval "ac_cv_lib_$ac_lib_var=yes"
8740 echo "configure: failed program was:" >&5
8741 cat conftest.
$ac_ext >&5
8743 eval "ac_cv_lib_$ac_lib_var=no"
8746 LIBS
="$ac_save_LIBS"
8749 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8750 echo "$ac_t""yes" 1>&6
8753 echo "$ac_t""no" 1>&6
8759 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
8760 echo "configure:8761: checking whether ln -s works" >&5
8761 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
8762 echo $ac_n "(cached) $ac_c" 1>&6
8765 if ln -s X conftestdata
2>/dev
/null
8768 ac_cv_prog_LN_S
="ln -s"
8773 LN_S
="$ac_cv_prog_LN_S"
8774 if test "$ac_cv_prog_LN_S" = "ln -s"; then
8775 echo "$ac_t""yes" 1>&6
8777 echo "$ac_t""no" 1>&6
8783 /usr/local/include \
8785 /usr/Motif-1.2/include \
8786 /usr/Motif-2.1/include \
8788 /usr/include/Motif1.2 \
8789 /opt/xpm/include/X11 \
8790 /opt/GBxpm/include/ \
8791 /opt/GBxpm/X11/include/ \
8793 /usr/Motif1.2/include \
8795 /usr/openwin/include \
8799 /usr/X11R6/include \
8800 /usr/X11R6.4/include \
8801 /usr/X11R5/include \
8802 /usr/X11R4/include \
8804 /usr/include/X11R6 \
8805 /usr/include/X11R5 \
8806 /usr/include/X11R4 \
8808 /usr/local/X11R6/include \
8809 /usr/local/X11R5/include \
8810 /usr/local/X11R4/include \
8812 /usr/local/include/X11R6 \
8813 /usr/local/include/X11R5 \
8814 /usr/local/include/X11R4 \
8818 /usr/local/X11/include \
8819 /usr/local/include/X11 \
8823 /usr/XFree86/include/X11 \
8825 X:/XFree86/include \
8826 X:/XFree86/include/X11 \
8829 /usr/local/include/gtk \
8831 /usr/local/include/glib \
8834 /usr/local/include/qt \
8836 /usr/include/windows \
8838 /usr/local/include/wine \
8840 /usr/unsupported/include \
8841 /usr/athena/include \
8842 /usr/local/x11r5/include \
8843 /usr/lpp/Xamples/include \
8845 /usr/openwin/share/include \
8849 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
8852 cat > confcache
<<\EOF
8853 # This file is a shell script that caches the results of configure
8854 # tests run on this system so they can be shared between configure
8855 # scripts and configure runs. It is not useful on other systems.
8856 # If it contains results you don't want to keep, you may remove or edit it.
8858 # By default, configure uses ./config.cache as the cache file,
8859 # creating it if it does not exist already. You can give configure
8860 # the --cache-file=FILE option to use a different cache file; that is
8861 # what configure does when it calls configure scripts in
8862 # subdirectories, so they share the cache.
8863 # Giving --cache-file=/dev/null disables caching, for debugging configure.
8864 # config.status only pays attention to the cache file if you give it the
8865 # --recheck option to rerun configure.
8868 # The following way of writing the cache mishandles newlines in values,
8869 # but we know of no workaround that is simple, portable, and efficient.
8870 # So, don't put newlines in cache variables' values.
8871 # Ultrix sh set writes to stderr and can't be redirected directly,
8872 # and sets the high bit in the cache file unless we assign to the vars.
8874 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8876 # `set' does not quote correctly, so add quotes (double-quote substitution
8877 # turns \\\\ into \\, and sed turns \\ into \).
8879 -e "s/'/'\\\\''/g" \
8880 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
8883 # `set' quotes correctly as required by POSIX, so do not add quotes.
8884 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
8887 if cmp -s $cache_file confcache
; then
8890 if test -w $cache_file; then
8891 echo "updating cache $cache_file"
8892 cat confcache
> $cache_file
8894 echo "not updating unwritable cache $cache_file"
8903 if test "$wxUSE_REGEX" != "no"; then
8904 cat >> confdefs.h
<<\EOF
8905 #define wxUSE_REGEX 1
8909 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
8910 ac_safe
=`echo "regex.h" | sed 'y%./+-%__p_%'`
8911 echo $ac_n "checking for regex.h""... $ac_c" 1>&6
8912 echo "configure:8913: checking for regex.h" >&5
8913 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8914 echo $ac_n "(cached) $ac_c" 1>&6
8916 cat > conftest.
$ac_ext <<EOF
8917 #line 8918 "configure"
8918 #include "confdefs.h"
8921 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8922 { (eval echo configure
:8923: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8923 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8924 if test -z "$ac_err"; then
8926 eval "ac_cv_header_$ac_safe=yes"
8929 echo "configure: failed program was:" >&5
8930 cat conftest.
$ac_ext >&5
8932 eval "ac_cv_header_$ac_safe=no"
8936 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8937 echo "$ac_t""yes" 1>&6
8938 for ac_func
in regcomp
8940 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8941 echo "configure:8942: checking for $ac_func" >&5
8942 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8943 echo $ac_n "(cached) $ac_c" 1>&6
8945 cat > conftest.
$ac_ext <<EOF
8946 #line 8947 "configure"
8947 #include "confdefs.h"
8948 /* System header to define __stub macros and hopefully few prototypes,
8949 which can conflict with char $ac_func(); below. */
8951 /* Override any gcc2 internal prototype to avoid an error. */
8952 /* We use char because int might match the return type of a gcc2
8953 builtin and then its argument prototype would still apply. */
8958 /* The GNU C library defines this for functions which it implements
8959 to always fail with ENOSYS. Some functions are actually named
8960 something starting with __ and the normal name is an alias. */
8961 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8969 if { (eval echo configure
:8970: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8971 eval "ac_cv_func_$ac_func=yes"
8973 echo "configure: failed program was:" >&5
8974 cat conftest.
$ac_ext >&5
8976 eval "ac_cv_func_$ac_func=no"
8981 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8982 echo "$ac_t""yes" 1>&6
8983 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8984 cat >> confdefs.h
<<EOF
8985 #define $ac_tr_func 1
8989 echo "$ac_t""no" 1>&6
8994 echo "$ac_t""no" 1>&6
8998 if test "x$ac_cv_func_regcomp" != "xyes"; then
8999 if test "$wxUSE_REGEX" = "sys" ; then
9000 { echo "configure: error: system regex library not found! Use --with-regex to use built-in version" 1>&2; exit 1; }
9002 echo "configure: warning: system regex library not found, will use built-in instead" 1>&2
9010 if test "$wxUSE_REGEX" = "builtin" ; then
9011 REGEX_INCLUDE
="-I\${top_srcdir}/src/regex"
9018 if test "$wxUSE_ZLIB" != "no" ; then
9019 cat >> confdefs.h
<<\EOF
9020 #define wxUSE_ZLIB 1
9024 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
9025 ac_safe
=`echo "zlib.h" | sed 'y%./+-%__p_%'`
9026 echo $ac_n "checking for zlib.h""... $ac_c" 1>&6
9027 echo "configure:9028: checking for zlib.h" >&5
9028 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9029 echo $ac_n "(cached) $ac_c" 1>&6
9031 cat > conftest.
$ac_ext <<EOF
9032 #line 9033 "configure"
9033 #include "confdefs.h"
9036 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9037 { (eval echo configure
:9038: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9038 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9039 if test -z "$ac_err"; then
9041 eval "ac_cv_header_$ac_safe=yes"
9044 echo "configure: failed program was:" >&5
9045 cat conftest.
$ac_ext >&5
9047 eval "ac_cv_header_$ac_safe=no"
9051 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9052 echo "$ac_t""yes" 1>&6
9053 echo $ac_n "checking for deflate in -lz""... $ac_c" 1>&6
9054 echo "configure:9055: checking for deflate in -lz" >&5
9055 ac_lib_var
=`echo z'_'deflate | sed 'y%./+-%__p_%'`
9056 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9057 echo $ac_n "(cached) $ac_c" 1>&6
9059 ac_save_LIBS
="$LIBS"
9061 cat > conftest.
$ac_ext <<EOF
9062 #line 9063 "configure"
9063 #include "confdefs.h"
9064 /* Override any gcc2 internal prototype to avoid an error. */
9065 /* We use char because int might match the return type of a gcc2
9066 builtin and then its argument prototype would still apply. */
9073 if { (eval echo configure
:9074: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9075 eval "ac_cv_lib_$ac_lib_var=yes"
9077 echo "configure: failed program was:" >&5
9078 cat conftest.
$ac_ext >&5
9080 eval "ac_cv_lib_$ac_lib_var=no"
9083 LIBS
="$ac_save_LIBS"
9086 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9087 echo "$ac_t""yes" 1>&6
9090 echo "$ac_t""no" 1>&6
9094 echo "$ac_t""no" 1>&6
9098 if test "x$ZLIB_LINK" = "x" ; then
9099 if test "$wxUSE_ZLIB" = "sys" ; then
9100 { echo "configure: error: system zlib compression library not found! Use --with-zlib=builtin to use built-in version" 1>&2; exit 1; }
9102 echo "configure: warning: system zlib compression library not found, will use built-in instead" 1>&2
9110 if test "$wxUSE_ZLIB" = "builtin" ; then
9111 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
9118 if test "$wxUSE_LIBPNG" != "no" ; then
9119 cat >> confdefs.h
<<\EOF
9120 #define wxUSE_LIBPNG 1
9124 if test "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
9125 echo "configure: warning: system png library doesn't work without system zlib, will use built-in instead" 1>&2
9126 wxUSE_LIBPNG
=builtin
9129 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
9130 ac_safe
=`echo "png.h" | sed 'y%./+-%__p_%'`
9131 echo $ac_n "checking for png.h""... $ac_c" 1>&6
9132 echo "configure:9133: checking for png.h" >&5
9133 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9134 echo $ac_n "(cached) $ac_c" 1>&6
9136 cat > conftest.
$ac_ext <<EOF
9137 #line 9138 "configure"
9138 #include "confdefs.h"
9141 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9142 { (eval echo configure
:9143: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9143 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9144 if test -z "$ac_err"; then
9146 eval "ac_cv_header_$ac_safe=yes"
9149 echo "configure: failed program was:" >&5
9150 cat conftest.
$ac_ext >&5
9152 eval "ac_cv_header_$ac_safe=no"
9156 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9157 echo "$ac_t""yes" 1>&6
9158 echo $ac_n "checking for png_check_sig in -lpng""... $ac_c" 1>&6
9159 echo "configure:9160: checking for png_check_sig in -lpng" >&5
9160 ac_lib_var
=`echo png'_'png_check_sig | sed 'y%./+-%__p_%'`
9161 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9162 echo $ac_n "(cached) $ac_c" 1>&6
9164 ac_save_LIBS
="$LIBS"
9165 LIBS
="-lpng -lz -lm $LIBS"
9166 cat > conftest.
$ac_ext <<EOF
9167 #line 9168 "configure"
9168 #include "confdefs.h"
9169 /* Override any gcc2 internal prototype to avoid an error. */
9170 /* We use char because int might match the return type of a gcc2
9171 builtin and then its argument prototype would still apply. */
9172 char png_check_sig();
9178 if { (eval echo configure
:9179: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9180 eval "ac_cv_lib_$ac_lib_var=yes"
9182 echo "configure: failed program was:" >&5
9183 cat conftest.
$ac_ext >&5
9185 eval "ac_cv_lib_$ac_lib_var=no"
9188 LIBS
="$ac_save_LIBS"
9191 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9192 echo "$ac_t""yes" 1>&6
9195 echo "$ac_t""no" 1>&6
9200 echo "$ac_t""no" 1>&6
9204 if test "x$PNG_LINK" = "x" ; then
9205 if test "$wxUSE_LIBPNG" = "sys" ; then
9206 { echo "configure: error: system png library not found! Use --with-libpng=builtin to use built-in version" 1>&2; exit 1; }
9208 echo "configure: warning: system png library not found, will use built-in instead" 1>&2
9209 wxUSE_LIBPNG
=builtin
9216 if test "$wxUSE_LIBPNG" = "builtin" ; then
9217 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
9220 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
9226 if test "$wxUSE_LIBJPEG" != "no" ; then
9227 cat >> confdefs.h
<<\EOF
9228 #define wxUSE_LIBJPEG 1
9232 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
9233 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6
9234 echo "configure:9235: checking for jpeglib.h" >&5
9235 if eval "test \"`echo '$''{'ac_cv_header_jpeglib_h'+set}'`\" = set"; then
9236 echo $ac_n "(cached) $ac_c" 1>&6
9238 cat > conftest.
$ac_ext <<EOF
9239 #line 9240 "configure"
9240 #include "confdefs.h"
9242 #undef HAVE_STDLIB_H
9244 #include <jpeglib.h>
9251 if { (eval echo configure
:9252: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9253 ac_cv_header_jpeglib_h
=yes
9255 echo "configure: failed program was:" >&5
9256 cat conftest.
$ac_ext >&5
9258 ac_cv_header_jpeglib_h
=no
9265 echo "$ac_t""$ac_cv_header_jpeglib_h" 1>&6
9267 if test "$ac_cv_header_jpeglib_h" = "yes"; then
9268 echo $ac_n "checking for jpeg_read_header in -ljpeg""... $ac_c" 1>&6
9269 echo "configure:9270: checking for jpeg_read_header in -ljpeg" >&5
9270 ac_lib_var
=`echo jpeg'_'jpeg_read_header | sed 'y%./+-%__p_%'`
9271 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9272 echo $ac_n "(cached) $ac_c" 1>&6
9274 ac_save_LIBS
="$LIBS"
9276 cat > conftest.
$ac_ext <<EOF
9277 #line 9278 "configure"
9278 #include "confdefs.h"
9279 /* Override any gcc2 internal prototype to avoid an error. */
9280 /* We use char because int might match the return type of a gcc2
9281 builtin and then its argument prototype would still apply. */
9282 char jpeg_read_header();
9288 if { (eval echo configure
:9289: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9290 eval "ac_cv_lib_$ac_lib_var=yes"
9292 echo "configure: failed program was:" >&5
9293 cat conftest.
$ac_ext >&5
9295 eval "ac_cv_lib_$ac_lib_var=no"
9298 LIBS
="$ac_save_LIBS"
9301 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9302 echo "$ac_t""yes" 1>&6
9305 echo "$ac_t""no" 1>&6
9310 if test "x$JPEG_LINK" = "x" ; then
9311 if test "$wxUSE_LIBJPEG" = "sys" ; then
9312 { echo "configure: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" 1>&2; exit 1; }
9314 echo "configure: warning: system jpeg library not found, will use built-in instead" 1>&2
9315 wxUSE_LIBJPEG
=builtin
9322 if test "$wxUSE_LIBJPEG" = "builtin" ; then
9323 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
9330 if test "$wxUSE_LIBTIFF" != "no" ; then
9331 cat >> confdefs.h
<<\EOF
9332 #define wxUSE_LIBTIFF 1
9336 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
9337 ac_safe
=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
9338 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
9339 echo "configure:9340: checking for tiffio.h" >&5
9340 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9341 echo $ac_n "(cached) $ac_c" 1>&6
9343 cat > conftest.
$ac_ext <<EOF
9344 #line 9345 "configure"
9345 #include "confdefs.h"
9348 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9349 { (eval echo configure
:9350: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9350 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9351 if test -z "$ac_err"; then
9353 eval "ac_cv_header_$ac_safe=yes"
9356 echo "configure: failed program was:" >&5
9357 cat conftest.
$ac_ext >&5
9359 eval "ac_cv_header_$ac_safe=no"
9363 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9364 echo "$ac_t""yes" 1>&6
9365 echo $ac_n "checking for TIFFError in -ltiff""... $ac_c" 1>&6
9366 echo "configure:9367: checking for TIFFError in -ltiff" >&5
9367 ac_lib_var
=`echo tiff'_'TIFFError | sed 'y%./+-%__p_%'`
9368 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9369 echo $ac_n "(cached) $ac_c" 1>&6
9371 ac_save_LIBS
="$LIBS"
9372 LIBS
="-ltiff -lm $LIBS"
9373 cat > conftest.
$ac_ext <<EOF
9374 #line 9375 "configure"
9375 #include "confdefs.h"
9376 /* Override any gcc2 internal prototype to avoid an error. */
9377 /* We use char because int might match the return type of a gcc2
9378 builtin and then its argument prototype would still apply. */
9385 if { (eval echo configure
:9386: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9387 eval "ac_cv_lib_$ac_lib_var=yes"
9389 echo "configure: failed program was:" >&5
9390 cat conftest.
$ac_ext >&5
9392 eval "ac_cv_lib_$ac_lib_var=no"
9395 LIBS
="$ac_save_LIBS"
9398 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9399 echo "$ac_t""yes" 1>&6
9402 echo "$ac_t""no" 1>&6
9407 echo "$ac_t""no" 1>&6
9411 if test "x$TIFF_LINK" = "x" ; then
9412 if test "$wxUSE_LIBTIFF" = "sys" ; then
9413 { echo "configure: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" 1>&2; exit 1; }
9415 echo "configure: warning: system tiff library not found, will use built-in instead" 1>&2
9416 wxUSE_LIBTIFF
=builtin
9423 if test "$wxUSE_LIBTIFF" = "builtin" ; then
9424 TIFF_INCLUDE
="-I\${top_srcdir}/src/tiff"
9431 if test "$wxUSE_FREETYPE" != "no" ; then
9432 cat >> confdefs.h
<<\EOF
9433 #define wxUSE_FREETYPE 1
9437 if test "$wxUSE_FREETYPE" = "sys" -o "$wxUSE_FREETYPE" = "yes" ; then
9438 ac_safe
=`echo "freetype.h" | sed 'y%./+-%__p_%'`
9439 echo $ac_n "checking for freetype.h""... $ac_c" 1>&6
9440 echo "configure:9441: checking for freetype.h" >&5
9441 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9442 echo $ac_n "(cached) $ac_c" 1>&6
9444 cat > conftest.
$ac_ext <<EOF
9445 #line 9446 "configure"
9446 #include "confdefs.h"
9447 #include <freetype.h>
9449 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9450 { (eval echo configure
:9451: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9451 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9452 if test -z "$ac_err"; then
9454 eval "ac_cv_header_$ac_safe=yes"
9457 echo "configure: failed program was:" >&5
9458 cat conftest.
$ac_ext >&5
9460 eval "ac_cv_header_$ac_safe=no"
9464 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9465 echo "$ac_t""yes" 1>&6
9466 echo $ac_n "checking for FT_Render_Glyph in -lfreetype""... $ac_c" 1>&6
9467 echo "configure:9468: checking for FT_Render_Glyph in -lfreetype" >&5
9468 ac_lib_var
=`echo freetype'_'FT_Render_Glyph | sed 'y%./+-%__p_%'`
9469 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9470 echo $ac_n "(cached) $ac_c" 1>&6
9472 ac_save_LIBS
="$LIBS"
9473 LIBS
="-lfreetype -lm $LIBS"
9474 cat > conftest.
$ac_ext <<EOF
9475 #line 9476 "configure"
9476 #include "confdefs.h"
9477 /* Override any gcc2 internal prototype to avoid an error. */
9478 /* We use char because int might match the return type of a gcc2
9479 builtin and then its argument prototype would still apply. */
9480 char FT_Render_Glyph();
9486 if { (eval echo configure
:9487: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9488 eval "ac_cv_lib_$ac_lib_var=yes"
9490 echo "configure: failed program was:" >&5
9491 cat conftest.
$ac_ext >&5
9493 eval "ac_cv_lib_$ac_lib_var=no"
9496 LIBS
="$ac_save_LIBS"
9499 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9500 echo "$ac_t""yes" 1>&6
9501 FREETYPE_LINK
="-lfreetype"
9503 echo "$ac_t""no" 1>&6
9508 echo "$ac_t""no" 1>&6
9512 if test "x$FREETYPE_LINK" = "x" ; then
9513 if test "$wxUSE_FREETYPE" = "sys" ; then
9514 { echo "configure: error: system freetype library not found! Use --with-freetype=builtin to use built-in version" 1>&2; exit 1; }
9516 echo "configure: warning: system freetype library not found, will use built-in instead" 1>&2
9517 wxUSE_FREETYPE
=builtin
9524 if test "$wxUSE_FREETYPE" = "builtin" ; then
9525 FREETYPE_INCLUDE
="-I\${top_srcdir}/src/freetype"
9536 if test "$USE_WIN32" = 1 ; then
9537 for ac_hdr
in w32api.h
9539 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9540 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9541 echo "configure:9542: checking for $ac_hdr" >&5
9542 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9543 echo $ac_n "(cached) $ac_c" 1>&6
9545 cat > conftest.
$ac_ext <<EOF
9546 #line 9547 "configure"
9547 #include "confdefs.h"
9550 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9551 { (eval echo configure
:9552: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9552 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9553 if test -z "$ac_err"; then
9555 eval "ac_cv_header_$ac_safe=yes"
9558 echo "configure: failed program was:" >&5
9559 cat conftest.
$ac_ext >&5
9561 eval "ac_cv_header_$ac_safe=no"
9565 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9566 echo "$ac_t""yes" 1>&6
9567 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9568 cat >> confdefs.h
<<EOF
9569 #define $ac_tr_hdr 1
9573 echo "$ac_t""no" 1>&6
9577 ac_safe
=`echo "windows.h" | sed 'y%./+-%__p_%'`
9578 echo $ac_n "checking for windows.h""... $ac_c" 1>&6
9579 echo "configure:9580: checking for windows.h" >&5
9580 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9581 echo $ac_n "(cached) $ac_c" 1>&6
9583 cat > conftest.
$ac_ext <<EOF
9584 #line 9585 "configure"
9585 #include "confdefs.h"
9586 #include <windows.h>
9588 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9589 { (eval echo configure
:9590: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9590 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9591 if test -z "$ac_err"; then
9593 eval "ac_cv_header_$ac_safe=yes"
9596 echo "configure: failed program was:" >&5
9597 cat conftest.
$ac_ext >&5
9599 eval "ac_cv_header_$ac_safe=no"
9603 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9604 echo "$ac_t""yes" 1>&6
9607 echo "$ac_t""no" 1>&6
9609 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
9614 echo $ac_n "checking if w32api has good enough MSIE support""... $ac_c" 1>&6
9615 echo "configure:9616: checking if w32api has good enough MSIE support" >&5
9616 if eval "test \"`echo '$''{'wx_cv_w32api_win32_ie'+set}'`\" = set"; then
9617 echo $ac_n "(cached) $ac_c" 1>&6
9620 cat > conftest.
$ac_ext <<EOF
9621 #line 9622 "configure"
9622 #include "confdefs.h"
9626 #define wxCHECK_W32API_VERSION( major, minor ) \
9627 ( defined( __W32API_MAJOR_VERSION ) && defined( __W32API_MINOR_VERSION ) \
9628 && ( ( __W32API_MAJOR_VERSION > (major) ) \
9629 || ( __W32API_MAJOR_VERSION == (major) && __W32API_MINOR_VERSION >= (minor))))
9631 #if !wxCHECK_W32API_VERSION(1,1)
9632 #error You need w32api 1.1 or newer
9637 if { (eval echo configure
:9638: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9640 wx_cv_w32api_win32_ie
=yes
9643 echo "configure: failed program was:" >&5
9644 cat conftest.
$ac_ext >&5
9647 wx_cv_w32api_win32_ie
=no
9654 echo "$ac_t""$wx_cv_w32api_win32_ie" 1>&6
9655 if test "$wx_cv_w32api_win32_ie" = "yes" ; then
9656 CPPFLAGS
="$CPPFLAGS -D_WIN32_IE=0x400"
9659 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -ladvapi32 -lwsock32"
9663 LIBS
="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32"
9664 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
9667 if test "$wxUSE_ODBC" = "yes" ; then
9668 LIBS
="$LIBS -lodbc32 -lole32 -loleaut32"
9671 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
9672 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
9675 if test "$wxUSE_GUI" = "yes"; then
9684 if test "$wxUSE_MSW" = 1 ; then
9690 EXTRA_LIBS
="$EXTRA_LIBS -Wl,--subsystem,windows -mwindows"
9694 if test "$wxUSE_GTK" = 1; then
9695 echo $ac_n "checking for GTK+ version""... $ac_c" 1>&6
9696 echo "configure:9697: checking for GTK+ version" >&5
9698 gtk_version_cached
=1
9699 if eval "test \"`echo '$''{'wx_cv_lib_gtk'+set}'`\" = set"; then
9700 echo $ac_n "(cached) $ac_c" 1>&6
9703 gtk_version_cached
=0
9704 echo "$ac_t""""" 1>&6
9707 if test "x$wxUSE_GTK2" = "xyes"; then
9708 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
9709 if test "${with_gtk_prefix+set}" = set; then
9710 withval
="$with_gtk_prefix"
9711 gtk_config_prefix
="$withval"
9713 gtk_config_prefix
=""
9716 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
9717 if test "${with_gtk_exec_prefix+set}" = set; then
9718 withval
="$with_gtk_exec_prefix"
9719 gtk_config_exec_prefix
="$withval"
9721 gtk_config_exec_prefix
=""
9724 # Check whether --enable-gtktest or --disable-gtktest was given.
9725 if test "${enable_gtktest+set}" = set; then
9726 enableval
="$enable_gtktest"
9737 gtk_config_args
="$gtk_config_args gthread"
9742 if test x
$gtk_config_exec_prefix != x
; then
9743 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
9744 if test x
${GTK_CONFIG_2_0+set} != xset
; then
9745 GTK_CONFIG_2_0
=$gtk_config_exec_prefix/bin
/gtk
-config-2.0
9748 if test x
$gtk_config_prefix != x
; then
9749 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
9750 if test x
${GTK_CONFIG_2_0+set} != xset
; then
9751 GTK_CONFIG_2_0
=$gtk_config_prefix/bin
/gtk
-config-2.0
9755 # Extract the first word of "gtk-config-2.0", so it can be a program name with args.
9756 set dummy gtk
-config-2.0
; ac_word
=$2
9757 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9758 echo "configure:9759: checking for $ac_word" >&5
9759 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG_2_0'+set}'`\" = set"; then
9760 echo $ac_n "(cached) $ac_c" 1>&6
9762 case "$GTK_CONFIG_2_0" in
9764 ac_cv_path_GTK_CONFIG_2_0
="$GTK_CONFIG_2_0" # Let the user override the test with a path.
9767 ac_cv_path_GTK_CONFIG_2_0
="$GTK_CONFIG_2_0" # Let the user override the test with a dos path.
9770 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9772 for ac_dir
in $ac_dummy; do
9773 test -z "$ac_dir" && ac_dir
=.
9774 if test -f $ac_dir/$ac_word; then
9775 ac_cv_path_GTK_CONFIG_2_0
="$ac_dir/$ac_word"
9780 test -z "$ac_cv_path_GTK_CONFIG_2_0" && ac_cv_path_GTK_CONFIG_2_0
="no"
9784 GTK_CONFIG_2_0
="$ac_cv_path_GTK_CONFIG_2_0"
9785 if test -n "$GTK_CONFIG_2_0"; then
9786 echo "$ac_t""$GTK_CONFIG_2_0" 1>&6
9788 echo "$ac_t""no" 1>&6
9791 min_gtk_version
=1.3.1
9792 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
9793 echo "configure:9794: checking for GTK - version >= $min_gtk_version" >&5
9795 if test "$GTK_CONFIG_2_0" = "no" ; then
9798 GTK_CFLAGS
=`$GTK_CONFIG_2_0 $gtk_config_args --cflags`
9799 GTK_LIBS
=`$GTK_CONFIG_2_0 $gtk_config_args --libs`
9800 gtk_config_major_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
9801 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
9802 gtk_config_minor_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
9803 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
9804 gtk_config_micro_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
9805 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
9806 if test "x$enable_gtktest" = "xyes" ; then
9807 ac_save_CFLAGS
="$CFLAGS"
9808 ac_save_LIBS
="$LIBS"
9809 CFLAGS
="$CFLAGS $GTK_CFLAGS"
9810 LIBS
="$GTK_LIBS $LIBS"
9812 if test "$cross_compiling" = yes; then
9813 echo $ac_n "cross compiling; assumed OK... $ac_c"
9815 cat > conftest.
$ac_ext <<EOF
9816 #line 9817 "configure"
9817 #include "confdefs.h"
9819 #include <gtk/gtk.h>
9826 int major, minor, micro;
9829 system ("touch conf.gtktest");
9831 /* HP/UX 9 (%@#!) writes to sscanf strings */
9832 tmp_version = g_strdup("$min_gtk_version");
9833 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
9834 printf("%s, bad version string\n", "$min_gtk_version");
9838 if ((gtk_major_version != $gtk_config_major_version) ||
9839 (gtk_minor_version != $gtk_config_minor_version) ||
9840 (gtk_micro_version != $gtk_config_micro_version))
9842 printf("\n*** 'gtk-config-2.0 --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
9843 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
9844 gtk_major_version, gtk_minor_version, gtk_micro_version);
9845 printf ("*** was found! If gtk-config-2.0 was correct, then it is best\n");
9846 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
9847 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
9848 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
9849 printf("*** required on your system.\n");
9850 printf("*** If gtk-config-2.0 was wrong, set the environment variable GTK_CONFIG_2_0\n");
9851 printf("*** to point to the correct copy of gtk-config-2.0, and remove the file config.cache\n");
9852 printf("*** before re-running configure\n");
9854 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
9855 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
9856 (gtk_minor_version != GTK_MINOR_VERSION) ||
9857 (gtk_micro_version != GTK_MICRO_VERSION))
9859 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
9860 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
9861 printf("*** library (version %d.%d.%d)\n",
9862 gtk_major_version, gtk_minor_version, gtk_micro_version);
9864 #endif /* defined (GTK_MAJOR_VERSION) ... */
9867 if ((gtk_major_version > major) ||
9868 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
9869 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
9875 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
9876 gtk_major_version, gtk_minor_version, gtk_micro_version);
9877 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
9878 major, minor, micro);
9879 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
9881 printf("*** If you have already installed a sufficiently new version, this error\n");
9882 printf("*** probably means that the wrong copy of the gtk-config-2.0 shell script is\n");
9883 printf("*** being found. The easiest way to fix this is to remove the old version\n");
9884 printf("*** of GTK+, but you can also set the GTK_CONFIG_2_0 environment to point to the\n");
9885 printf("*** correct copy of gtk-config-2.0. (In this case, you will have to\n");
9886 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
9887 printf("*** so that the correct libraries are found at run-time))\n");
9894 if { (eval echo configure
:9895: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9898 echo "configure: failed program was:" >&5
9899 cat conftest.
$ac_ext >&5
9906 CFLAGS
="$ac_save_CFLAGS"
9907 LIBS
="$ac_save_LIBS"
9910 if test "x$no_gtk" = x
; then
9911 echo "$ac_t""yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" 1>&6
9914 echo "$ac_t""no" 1>&6
9915 if test "$GTK_CONFIG_2_0" = "no" ; then
9916 echo "*** The gtk-config-2.0 script installed by GTK could not be found"
9917 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
9918 echo "*** your path, or set the GTK_CONFIG_2_0 environment variable to the"
9919 echo "*** full path to gtk-config-2.0."
9921 if test -f conf.gtktest
; then
9924 echo "*** Could not run GTK test program, checking why..."
9925 CFLAGS
="$CFLAGS $GTK_CFLAGS"
9926 LIBS
="$LIBS $GTK_LIBS"
9927 cat > conftest.
$ac_ext <<EOF
9928 #line 9929 "configure"
9929 #include "confdefs.h"
9931 #include <gtk/gtk.h>
9935 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
9938 if { (eval echo configure
:9939: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9940 echo "*** The test program compiled, but did not run. This usually means"
9941 echo "*** that the run-time linker is not finding GTK or finding the wrong"
9942 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
9943 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
9944 echo "*** to the installed location Also, make sure you have run ldconfig if that"
9945 echo "*** is required on your system"
9947 echo "*** If you have an old version installed, it is best to remove it, although"
9948 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
9950 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
9951 echo "*** came with the system with the command"
9953 echo "*** rpm --erase --nodeps gtk gtk-devel"
9955 echo "configure: failed program was:" >&5
9956 cat conftest.
$ac_ext >&5
9958 echo "*** The test program failed to compile or link. See the file config.log for the"
9959 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
9960 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
9961 echo "*** may want to edit the gtk-config-2.0 script: $GTK_CONFIG_2_0"
9964 CFLAGS
="$ac_save_CFLAGS"
9965 LIBS
="$ac_save_LIBS"
9978 if test -z "$wx_cv_lib_gtk"; then
9980 if test x
$gtk_config_exec_prefix != x
; then
9981 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
9982 if test x
${GTK_CONFIG+set} != xset
; then
9983 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
9986 if test x
$gtk_config_prefix != x
; then
9987 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
9988 if test x
${GTK_CONFIG+set} != xset
; then
9989 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
9993 # Extract the first word of "gtk-config", so it can be a program name with args.
9994 set dummy gtk
-config; ac_word
=$2
9995 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9996 echo "configure:9997: checking for $ac_word" >&5
9997 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
9998 echo $ac_n "(cached) $ac_c" 1>&6
10000 case "$GTK_CONFIG" in
10002 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
10005 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
10008 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
10010 for ac_dir
in $ac_dummy; do
10011 test -z "$ac_dir" && ac_dir
=.
10012 if test -f $ac_dir/$ac_word; then
10013 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
10018 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
10022 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
10023 if test -n "$GTK_CONFIG"; then
10024 echo "$ac_t""$GTK_CONFIG" 1>&6
10026 echo "$ac_t""no" 1>&6
10029 min_gtk_version
=1.2.7
10030 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
10031 echo "configure:10032: checking for GTK - version >= $min_gtk_version" >&5
10033 if test "$GTK_CONFIG" != "no" ; then
10034 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
10035 GTK_LIBS
=`$GTK_CONFIG --libs gthread`
10036 ac_save_CFLAGS
="$CFLAGS"
10037 ac_save_LIBS
="$LIBS"
10038 CFLAGS
="$CFLAGS $GTK_CFLAGS"
10039 LIBS
="$LIBS $GTK_LIBS"
10040 if test "$cross_compiling" = yes; then
10041 echo $ac_n "cross compiling; assumed OK... $ac_c"
10043 cat > conftest.
$ac_ext <<EOF
10044 #line 10045 "configure"
10045 #include "confdefs.h"
10047 #include <gtk/gtk.h>
10048 #include <gtk/gtkfeatures.h>
10050 #include <stdlib.h>
10055 int major, minor, micro;
10057 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
10058 printf("%s, bad version string\n", "$min_gtk_version");
10062 if ((GTK_MAJOR_VERSION != gtk_major_version) ||
10063 (GTK_MINOR_VERSION != gtk_minor_version) ||
10064 (GTK_MICRO_VERSION != gtk_micro_version)) {
10065 printf("Headers vs. library version mismatch!\n");
10069 if (gtk_minor_version == 1) return FALSE;
10071 return !((gtk_major_version > major) ||
10072 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
10073 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
10077 if { (eval echo configure
:10078: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10081 echo "configure: failed program was:" >&5
10082 cat conftest.
$ac_ext >&5
10089 CFLAGS
="$ac_save_CFLAGS"
10090 LIBS
="$ac_save_LIBS"
10094 if test "x$no_gtk" = x
; then
10095 echo "$ac_t""yes" 1>&6
10096 wx_cv_lib_gtk
=1.2.7
10098 echo "$ac_t""no" 1>&6
10108 if test -z "$wx_cv_lib_gtk"; then
10110 if test x
$gtk_config_exec_prefix != x
; then
10111 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
10112 if test x
${GTK_CONFIG+set} != xset
; then
10113 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
10116 if test x
$gtk_config_prefix != x
; then
10117 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
10118 if test x
${GTK_CONFIG+set} != xset
; then
10119 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
10123 # Extract the first word of "gtk-config", so it can be a program name with args.
10124 set dummy gtk
-config; ac_word
=$2
10125 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
10126 echo "configure:10127: checking for $ac_word" >&5
10127 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
10128 echo $ac_n "(cached) $ac_c" 1>&6
10130 case "$GTK_CONFIG" in
10132 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
10135 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
10138 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
10140 for ac_dir
in $ac_dummy; do
10141 test -z "$ac_dir" && ac_dir
=.
10142 if test -f $ac_dir/$ac_word; then
10143 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
10148 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
10152 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
10153 if test -n "$GTK_CONFIG"; then
10154 echo "$ac_t""$GTK_CONFIG" 1>&6
10156 echo "$ac_t""no" 1>&6
10159 min_gtk_version
=1.2.3
10160 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
10161 echo "configure:10162: checking for GTK - version >= $min_gtk_version" >&5
10163 if test "$GTK_CONFIG" != "no" ; then
10164 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
10165 GTK_LIBS
=`$GTK_CONFIG --libs gthread`
10166 ac_save_CFLAGS
="$CFLAGS"
10167 ac_save_LIBS
="$LIBS"
10168 CFLAGS
="$CFLAGS $GTK_CFLAGS"
10169 LIBS
="$LIBS $GTK_LIBS"
10170 if test "$cross_compiling" = yes; then
10171 echo $ac_n "cross compiling; assumed OK... $ac_c"
10173 cat > conftest.
$ac_ext <<EOF
10174 #line 10175 "configure"
10175 #include "confdefs.h"
10177 #include <gtk/gtk.h>
10178 #include <gtk/gtkfeatures.h>
10180 #include <stdlib.h>
10185 int major, minor, micro;
10187 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
10188 printf("%s, bad version string\n", "$min_gtk_version");
10192 if ((GTK_MAJOR_VERSION != gtk_major_version) ||
10193 (GTK_MINOR_VERSION != gtk_minor_version) ||
10194 (GTK_MICRO_VERSION != gtk_micro_version)) {
10195 printf("Headers vs. library version mismatch!\n");
10199 if (gtk_minor_version == 1) return FALSE;
10201 return !((gtk_major_version > major) ||
10202 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
10203 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
10207 if { (eval echo configure
:10208: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10211 echo "configure: failed program was:" >&5
10212 cat conftest.
$ac_ext >&5
10219 CFLAGS
="$ac_save_CFLAGS"
10220 LIBS
="$ac_save_LIBS"
10224 if test "x$no_gtk" = x
; then
10225 echo "$ac_t""yes" 1>&6
10226 wx_cv_lib_gtk
=1.2.3
10228 echo "$ac_t""no" 1>&6
10238 if test -z "$wx_cv_lib_gtk"; then
10241 wx_cv_cflags_gtk
=$GTK_CFLAGS
10242 wx_cv_libs_gtk
=$GTK_LIBS
10249 if test "$gtk_version_cached" = 1; then
10250 echo "$ac_t""$wx_cv_lib_gtk" 1>&6
10253 case "$wx_cv_lib_gtk" in
10261 *) { echo "configure: error:
10262 Please check that gtk-config is in path, the directory
10263 where GTK+ libraries are installed (returned by
10264 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
10265 equivalent variable and GTK+ is version 1.2.3 or above.
10270 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
10271 GUI_TK_LIBRARY
="$wx_cv_libs_gtk"
10273 AFMINSTALL
=afminstall
10277 echo $ac_n "checking for gdk_im_open in -lgdk""... $ac_c" 1>&6
10278 echo "configure:10279: checking for gdk_im_open in -lgdk" >&5
10279 ac_lib_var
=`echo gdk'_'gdk_im_open | sed 'y%./+-%__p_%'`
10280 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10281 echo $ac_n "(cached) $ac_c" 1>&6
10283 ac_save_LIBS
="$LIBS"
10285 cat > conftest.
$ac_ext <<EOF
10286 #line 10287 "configure"
10287 #include "confdefs.h"
10288 /* Override any gcc2 internal prototype to avoid an error. */
10289 /* We use char because int might match the return type of a gcc2
10290 builtin and then its argument prototype would still apply. */
10291 char gdk_im_open();
10297 if { (eval echo configure
:10298: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10299 eval "ac_cv_lib_$ac_lib_var=yes"
10301 echo "configure: failed program was:" >&5
10302 cat conftest.
$ac_ext >&5
10304 eval "ac_cv_lib_$ac_lib_var=no"
10307 LIBS
="$ac_save_LIBS"
10310 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10311 echo "$ac_t""yes" 1>&6
10312 cat >> confdefs.h
<<\EOF
10317 echo "$ac_t""no" 1>&6
10322 if test "$wxUSE_MGL" = 1; then
10324 echo $ac_n "checking for SciTech MGL library""... $ac_c" 1>&6
10325 echo "configure:10326: checking for SciTech MGL library" >&5
10326 if test "x$MGL_ROOT" = x
; then
10327 echo "$ac_t""not found" 1>&6
10328 { echo "configure: error: Cannot find MGL library. Make sure MGL_ROOT is set." 1>&2; exit 1; }
10330 echo "$ac_t""$MGL_ROOT" 1>&6
10333 mgl_os
=linux
/gcc
/glibc
10336 if test "$wxUSE_DEBUG_FLAG" = yes ; then
10337 if test -f $MGL_ROOT/lib
/debug
/$mgl_os/libmgl.a
; then
10341 if test "x$mgl_lib_type" = x
; then
10342 if test -f $MGL_ROOT/lib
/release
/$mgl_os/libmgl.a
; then
10343 mgl_lib_type
=release
10345 { echo "configure: error: Cannot find MGL libraries, make sure they are compiled." 1>&2; exit 1; }
10349 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
10350 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
10352 AFMINSTALL
=afminstall
10357 if test "$wxUSE_WINE" = 1; then
10358 ac_safe
=`echo "windows.h" | sed 'y%./+-%__p_%'`
10359 echo $ac_n "checking for windows.h""... $ac_c" 1>&6
10360 echo "configure:10361: checking for windows.h" >&5
10361 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10362 echo $ac_n "(cached) $ac_c" 1>&6
10364 cat > conftest.
$ac_ext <<EOF
10365 #line 10366 "configure"
10366 #include "confdefs.h"
10367 #include <windows.h>
10369 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10370 { (eval echo configure
:10371: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10371 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10372 if test -z "$ac_err"; then
10374 eval "ac_cv_header_$ac_safe=yes"
10377 echo "configure: failed program was:" >&5
10378 cat conftest.
$ac_ext >&5
10380 eval "ac_cv_header_$ac_safe=no"
10384 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10385 echo "$ac_t""yes" 1>&6
10388 echo "$ac_t""no" 1>&6
10390 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
10396 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
10397 echo "configure:10398: checking for Xpm library" >&5
10400 for ac_dir
in $SEARCH_LIB;
10402 for ac_extension
in a so sl dylib
; do
10403 if test -f "$ac_dir/libXpm.$ac_extension"; then
10404 ac_find_libraries
=$ac_dir
10410 if test "$ac_find_libraries" != "" ; then
10411 GUI_TK_LIBRARY
="-L$ac_find_libraries"
10413 cat >> confdefs.h
<<\EOF
10414 #define wxHAVE_LIB_XPM 1
10417 echo "$ac_t""found at $ac_find_libraries" 1>&6
10419 echo "$ac_t""no" 1>&6
10420 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
10424 echo $ac_n "checking for Mesa library""... $ac_c" 1>&6
10425 echo "configure:10426: checking for Mesa library" >&5
10428 for ac_dir
in $SEARCH_LIB;
10430 for ac_extension
in a so sl dylib
; do
10431 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
10432 ac_find_libraries
=$ac_dir
10438 if test "$ac_find_libraries" != "" ; then
10439 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -L$ac_find_libraries"
10440 mesa_link
="-lMesaGL"
10441 echo "$ac_t""found at $ac_find_libraries" 1>&6
10443 { echo "configure: error: no" 1>&2; exit 1; }
10446 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lwine $mesa_link $xpm_link -lXxf86dga -lXxf86vm -lSM -lICE -lXext -lXmu -lX11 -lncurses"
10449 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXWINE__"
10452 if test "$wxUSE_MOTIF" = 1; then
10453 # If we find X, set shell vars x_includes and x_libraries to the
10454 # paths, otherwise set no_x=yes.
10455 # Uses ac_ vars as temps to allow command line to override cache and checks.
10456 # --without-x overrides everything else, but does not touch the cache.
10457 echo $ac_n "checking for X""... $ac_c" 1>&6
10458 echo "configure:10459: checking for X" >&5
10460 # Check whether --with-x or --without-x was given.
10461 if test "${with_x+set}" = set; then
10466 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10467 if test "x$with_x" = xno
; then
10468 # The user explicitly disabled X.
10471 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
10472 # Both variables are already set.
10475 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
10476 echo $ac_n "(cached) $ac_c" 1>&6
10478 # One or both of the vars are not set, and there is no cached value.
10479 ac_x_includes
=NO ac_x_libraries
=NO
10481 if mkdir conftestdir
; then
10483 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
10484 cat > Imakefile
<<'EOF'
10486 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
10488 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
10489 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
10490 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
10491 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10492 for ac_extension
in a so sl
; do
10493 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
10494 test -f $ac_im_libdir/libX11.
$ac_extension; then
10495 ac_im_usrlibdir
=$ac_im_libdir; break
10498 # Screen out bogus values from the imake configuration. They are
10499 # bogus both because they are the default anyway, and because
10500 # using them would break gcc on systems where it needs fixed includes.
10501 case "$ac_im_incroot" in
10503 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;;
10505 case "$ac_im_usrlibdir" in
10506 /usr
/lib
| /lib
) ;;
10507 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;;
10514 if test "$ac_x_includes" = NO
; then
10515 # Guess where to find include files, by looking for this one X11 .h file.
10516 test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
10518 # First, try using that file with no special directory specified.
10519 cat > conftest.
$ac_ext <<EOF
10520 #line 10521 "configure"
10521 #include "confdefs.h"
10522 #include <$x_direct_test_include>
10524 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10525 { (eval echo configure
:10526: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10526 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10527 if test -z "$ac_err"; then
10529 # We can compile using X headers with no special include directory.
10533 echo "configure: failed program was:" >&5
10534 cat conftest.
$ac_ext >&5
10536 # Look for the header file in a standard set of common directories.
10537 # Check X11 before X11Rn because it is often a symlink to the current release.
10540 /usr
/X
11R
6/include \
10541 /usr
/X
11R
5/include \
10542 /usr
/X
11R
4/include \
10545 /usr
/include
/X11R6 \
10546 /usr
/include
/X11R5 \
10547 /usr
/include
/X11R4 \
10549 /usr
/local
/X
11/include \
10550 /usr
/local
/X
11R
6/include \
10551 /usr
/local
/X
11R
5/include \
10552 /usr
/local
/X
11R
4/include \
10554 /usr
/local
/include
/X11 \
10555 /usr
/local
/include
/X11R6 \
10556 /usr
/local
/include
/X11R5 \
10557 /usr
/local
/include
/X11R4 \
10559 /usr
/X
386/include \
10560 /usr
/x
386/include \
10561 /usr
/XFree
86/include
/X11 \
10564 /usr
/local
/include \
10565 /usr
/unsupported
/include \
10566 /usr
/athena
/include \
10567 /usr
/local
/x
11r
5/include \
10568 /usr
/lpp
/Xamples
/include \
10570 /usr
/openwin
/include \
10571 /usr
/openwin
/share
/include \
10574 if test -r "$ac_dir/$x_direct_test_include"; then
10575 ac_x_includes
=$ac_dir
10581 fi # $ac_x_includes = NO
10583 if test "$ac_x_libraries" = NO
; then
10584 # Check for the libraries.
10586 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
10587 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
10589 # See if we find them without any special options.
10590 # Don't add to $LIBS permanently.
10591 ac_save_LIBS
="$LIBS"
10592 LIBS
="-l$x_direct_test_library $LIBS"
10593 cat > conftest.
$ac_ext <<EOF
10594 #line 10595 "configure"
10595 #include "confdefs.h"
10598 ${x_direct_test_function}()
10601 if { (eval echo configure
:10602: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10603 LIBS
="$ac_save_LIBS"
10604 # We can link X programs with no special library path.
10607 echo "configure: failed program was:" >&5
10608 cat conftest.
$ac_ext >&5
10610 LIBS
="$ac_save_LIBS"
10611 # First see if replacing the include by lib works.
10612 # Check X11 before X11Rn because it is often a symlink to the current release.
10613 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib/` \
10624 /usr
/local
/X
11/lib \
10625 /usr
/local
/X
11R
6/lib \
10626 /usr
/local
/X
11R
5/lib \
10627 /usr
/local
/X
11R
4/lib \
10629 /usr
/local
/lib
/X11 \
10630 /usr
/local
/lib
/X11R6 \
10631 /usr
/local
/lib
/X11R5 \
10632 /usr
/local
/lib
/X11R4 \
10636 /usr
/XFree
86/lib
/X11 \
10640 /usr
/unsupported
/lib \
10642 /usr
/local
/x
11r
5/lib \
10643 /usr
/lpp
/Xamples
/lib \
10647 /usr
/openwin
/share
/lib \
10650 for ac_extension
in a so sl
; do
10651 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
10652 ac_x_libraries
=$ac_dir
10659 fi # $ac_x_libraries = NO
10661 if test "$ac_x_includes" = NO
|| test "$ac_x_libraries" = NO
; then
10662 # Didn't find X anywhere. Cache the known absence of X.
10663 ac_cv_have_x
="have_x=no"
10665 # Record where we found X for the cache.
10666 ac_cv_have_x
="have_x=yes \
10667 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
10671 eval "$ac_cv_have_x"
10674 if test "$have_x" != yes; then
10675 echo "$ac_t""$have_x" 1>&6
10678 # If each of the values was on the command line, it overrides each guess.
10679 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
10680 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
10681 # Update the cache value to reflect the command line values.
10682 ac_cv_have_x
="have_x=yes \
10683 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
10684 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
10687 if test "$no_x" = yes; then
10688 # Not all programs may use this symbol, but it does not hurt to define it.
10689 cat >> confdefs.h
<<\EOF
10690 #define X_DISPLAY_MISSING 1
10693 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
10695 if test -n "$x_includes"; then
10696 X_CFLAGS
="$X_CFLAGS -I$x_includes"
10699 # It would also be nice to do this for all -L options, not just this one.
10700 if test -n "$x_libraries"; then
10701 X_LIBS
="$X_LIBS -L$x_libraries"
10702 # For Solaris; some versions of Sun CC require a space after -R and
10703 # others require no space. Words are not sufficient . . . .
10704 case "`(uname -sr) 2>/dev/null`" in
10706 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
10707 echo "configure:10708: checking whether -R must be followed by a space" >&5
10708 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
10709 cat > conftest.
$ac_ext <<EOF
10710 #line 10711 "configure"
10711 #include "confdefs.h"
10717 if { (eval echo configure
:10718: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10721 echo "configure: failed program was:" >&5
10722 cat conftest.
$ac_ext >&5
10727 if test $ac_R_nospace = yes; then
10728 echo "$ac_t""no" 1>&6
10729 X_LIBS
="$X_LIBS -R$x_libraries"
10731 LIBS
="$ac_xsave_LIBS -R $x_libraries"
10732 cat > conftest.
$ac_ext <<EOF
10733 #line 10734 "configure"
10734 #include "confdefs.h"
10740 if { (eval echo configure
:10741: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10744 echo "configure: failed program was:" >&5
10745 cat conftest.
$ac_ext >&5
10750 if test $ac_R_space = yes; then
10751 echo "$ac_t""yes" 1>&6
10752 X_LIBS
="$X_LIBS -R $x_libraries"
10754 echo "$ac_t""neither works" 1>&6
10757 LIBS
="$ac_xsave_LIBS"
10761 # Check for system-dependent libraries X programs must link with.
10762 # Do this before checking for the system-independent R6 libraries
10763 # (-lICE), since we may need -lsocket or whatever for X linking.
10765 if test "$ISC" = yes; then
10766 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
10768 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
10769 # libraries were built with DECnet support. And karl@cs.umb.edu says
10770 # the Alpha needs dnet_stub (dnet does not exist).
10771 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
10772 echo "configure:10773: checking for dnet_ntoa in -ldnet" >&5
10773 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
10774 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10775 echo $ac_n "(cached) $ac_c" 1>&6
10777 ac_save_LIBS
="$LIBS"
10778 LIBS
="-ldnet $LIBS"
10779 cat > conftest.
$ac_ext <<EOF
10780 #line 10781 "configure"
10781 #include "confdefs.h"
10782 /* Override any gcc2 internal prototype to avoid an error. */
10783 /* We use char because int might match the return type of a gcc2
10784 builtin and then its argument prototype would still apply. */
10791 if { (eval echo configure
:10792: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10793 eval "ac_cv_lib_$ac_lib_var=yes"
10795 echo "configure: failed program was:" >&5
10796 cat conftest.
$ac_ext >&5
10798 eval "ac_cv_lib_$ac_lib_var=no"
10801 LIBS
="$ac_save_LIBS"
10804 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10805 echo "$ac_t""yes" 1>&6
10806 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
10808 echo "$ac_t""no" 1>&6
10811 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
10812 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
10813 echo "configure:10814: checking for dnet_ntoa in -ldnet_stub" >&5
10814 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
10815 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10816 echo $ac_n "(cached) $ac_c" 1>&6
10818 ac_save_LIBS
="$LIBS"
10819 LIBS
="-ldnet_stub $LIBS"
10820 cat > conftest.
$ac_ext <<EOF
10821 #line 10822 "configure"
10822 #include "confdefs.h"
10823 /* Override any gcc2 internal prototype to avoid an error. */
10824 /* We use char because int might match the return type of a gcc2
10825 builtin and then its argument prototype would still apply. */
10832 if { (eval echo configure
:10833: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10834 eval "ac_cv_lib_$ac_lib_var=yes"
10836 echo "configure: failed program was:" >&5
10837 cat conftest.
$ac_ext >&5
10839 eval "ac_cv_lib_$ac_lib_var=no"
10842 LIBS
="$ac_save_LIBS"
10845 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10846 echo "$ac_t""yes" 1>&6
10847 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
10849 echo "$ac_t""no" 1>&6
10854 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
10855 # to get the SysV transport functions.
10856 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
10858 # The nsl library prevents programs from opening the X display
10859 # on Irix 5.2, according to dickey@clark.net.
10860 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
10861 echo "configure:10862: checking for gethostbyname" >&5
10862 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
10863 echo $ac_n "(cached) $ac_c" 1>&6
10865 cat > conftest.
$ac_ext <<EOF
10866 #line 10867 "configure"
10867 #include "confdefs.h"
10868 /* System header to define __stub macros and hopefully few prototypes,
10869 which can conflict with char gethostbyname(); below. */
10870 #include <assert.h>
10871 /* Override any gcc2 internal prototype to avoid an error. */
10872 /* We use char because int might match the return type of a gcc2
10873 builtin and then its argument prototype would still apply. */
10874 char gethostbyname();
10878 /* The GNU C library defines this for functions which it implements
10879 to always fail with ENOSYS. Some functions are actually named
10880 something starting with __ and the normal name is an alias. */
10881 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
10889 if { (eval echo configure
:10890: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10891 eval "ac_cv_func_gethostbyname=yes"
10893 echo "configure: failed program was:" >&5
10894 cat conftest.
$ac_ext >&5
10896 eval "ac_cv_func_gethostbyname=no"
10901 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
10902 echo "$ac_t""yes" 1>&6
10905 echo "$ac_t""no" 1>&6
10908 if test $ac_cv_func_gethostbyname = no
; then
10909 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
10910 echo "configure:10911: checking for gethostbyname in -lnsl" >&5
10911 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
10912 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10913 echo $ac_n "(cached) $ac_c" 1>&6
10915 ac_save_LIBS
="$LIBS"
10917 cat > conftest.
$ac_ext <<EOF
10918 #line 10919 "configure"
10919 #include "confdefs.h"
10920 /* Override any gcc2 internal prototype to avoid an error. */
10921 /* We use char because int might match the return type of a gcc2
10922 builtin and then its argument prototype would still apply. */
10923 char gethostbyname();
10929 if { (eval echo configure
:10930: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10931 eval "ac_cv_lib_$ac_lib_var=yes"
10933 echo "configure: failed program was:" >&5
10934 cat conftest.
$ac_ext >&5
10936 eval "ac_cv_lib_$ac_lib_var=no"
10939 LIBS
="$ac_save_LIBS"
10942 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10943 echo "$ac_t""yes" 1>&6
10944 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
10946 echo "$ac_t""no" 1>&6
10951 # lieder@skyler.mavd.honeywell.com says without -lsocket,
10952 # socket/setsockopt and other routines are undefined under SCO ODT
10953 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
10954 # on later versions), says simon@lia.di.epfl.ch: it contains
10955 # gethostby* variants that don't use the nameserver (or something).
10956 # -lsocket must be given before -lnsl if both are needed.
10957 # We assume that if connect needs -lnsl, so does gethostbyname.
10958 echo $ac_n "checking for connect""... $ac_c" 1>&6
10959 echo "configure:10960: checking for connect" >&5
10960 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
10961 echo $ac_n "(cached) $ac_c" 1>&6
10963 cat > conftest.
$ac_ext <<EOF
10964 #line 10965 "configure"
10965 #include "confdefs.h"
10966 /* System header to define __stub macros and hopefully few prototypes,
10967 which can conflict with char connect(); below. */
10968 #include <assert.h>
10969 /* Override any gcc2 internal prototype to avoid an error. */
10970 /* We use char because int might match the return type of a gcc2
10971 builtin and then its argument prototype would still apply. */
10976 /* The GNU C library defines this for functions which it implements
10977 to always fail with ENOSYS. Some functions are actually named
10978 something starting with __ and the normal name is an alias. */
10979 #if defined (__stub_connect) || defined (__stub___connect)
10987 if { (eval echo configure
:10988: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10989 eval "ac_cv_func_connect=yes"
10991 echo "configure: failed program was:" >&5
10992 cat conftest.
$ac_ext >&5
10994 eval "ac_cv_func_connect=no"
10999 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
11000 echo "$ac_t""yes" 1>&6
11003 echo "$ac_t""no" 1>&6
11006 if test $ac_cv_func_connect = no
; then
11007 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
11008 echo "configure:11009: checking for connect in -lsocket" >&5
11009 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
11010 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11011 echo $ac_n "(cached) $ac_c" 1>&6
11013 ac_save_LIBS
="$LIBS"
11014 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
11015 cat > conftest.
$ac_ext <<EOF
11016 #line 11017 "configure"
11017 #include "confdefs.h"
11018 /* Override any gcc2 internal prototype to avoid an error. */
11019 /* We use char because int might match the return type of a gcc2
11020 builtin and then its argument prototype would still apply. */
11027 if { (eval echo configure
:11028: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11029 eval "ac_cv_lib_$ac_lib_var=yes"
11031 echo "configure: failed program was:" >&5
11032 cat conftest.
$ac_ext >&5
11034 eval "ac_cv_lib_$ac_lib_var=no"
11037 LIBS
="$ac_save_LIBS"
11040 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11041 echo "$ac_t""yes" 1>&6
11042 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
11044 echo "$ac_t""no" 1>&6
11049 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
11050 echo $ac_n "checking for remove""... $ac_c" 1>&6
11051 echo "configure:11052: checking for remove" >&5
11052 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
11053 echo $ac_n "(cached) $ac_c" 1>&6
11055 cat > conftest.
$ac_ext <<EOF
11056 #line 11057 "configure"
11057 #include "confdefs.h"
11058 /* System header to define __stub macros and hopefully few prototypes,
11059 which can conflict with char remove(); below. */
11060 #include <assert.h>
11061 /* Override any gcc2 internal prototype to avoid an error. */
11062 /* We use char because int might match the return type of a gcc2
11063 builtin and then its argument prototype would still apply. */
11068 /* The GNU C library defines this for functions which it implements
11069 to always fail with ENOSYS. Some functions are actually named
11070 something starting with __ and the normal name is an alias. */
11071 #if defined (__stub_remove) || defined (__stub___remove)
11079 if { (eval echo configure
:11080: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11081 eval "ac_cv_func_remove=yes"
11083 echo "configure: failed program was:" >&5
11084 cat conftest.
$ac_ext >&5
11086 eval "ac_cv_func_remove=no"
11091 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
11092 echo "$ac_t""yes" 1>&6
11095 echo "$ac_t""no" 1>&6
11098 if test $ac_cv_func_remove = no
; then
11099 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
11100 echo "configure:11101: checking for remove in -lposix" >&5
11101 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
11102 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11103 echo $ac_n "(cached) $ac_c" 1>&6
11105 ac_save_LIBS
="$LIBS"
11106 LIBS
="-lposix $LIBS"
11107 cat > conftest.
$ac_ext <<EOF
11108 #line 11109 "configure"
11109 #include "confdefs.h"
11110 /* Override any gcc2 internal prototype to avoid an error. */
11111 /* We use char because int might match the return type of a gcc2
11112 builtin and then its argument prototype would still apply. */
11119 if { (eval echo configure
:11120: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11121 eval "ac_cv_lib_$ac_lib_var=yes"
11123 echo "configure: failed program was:" >&5
11124 cat conftest.
$ac_ext >&5
11126 eval "ac_cv_lib_$ac_lib_var=no"
11129 LIBS
="$ac_save_LIBS"
11132 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11133 echo "$ac_t""yes" 1>&6
11134 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
11136 echo "$ac_t""no" 1>&6
11141 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11142 echo $ac_n "checking for shmat""... $ac_c" 1>&6
11143 echo "configure:11144: checking for shmat" >&5
11144 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
11145 echo $ac_n "(cached) $ac_c" 1>&6
11147 cat > conftest.
$ac_ext <<EOF
11148 #line 11149 "configure"
11149 #include "confdefs.h"
11150 /* System header to define __stub macros and hopefully few prototypes,
11151 which can conflict with char shmat(); below. */
11152 #include <assert.h>
11153 /* Override any gcc2 internal prototype to avoid an error. */
11154 /* We use char because int might match the return type of a gcc2
11155 builtin and then its argument prototype would still apply. */
11160 /* The GNU C library defines this for functions which it implements
11161 to always fail with ENOSYS. Some functions are actually named
11162 something starting with __ and the normal name is an alias. */
11163 #if defined (__stub_shmat) || defined (__stub___shmat)
11171 if { (eval echo configure
:11172: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11173 eval "ac_cv_func_shmat=yes"
11175 echo "configure: failed program was:" >&5
11176 cat conftest.
$ac_ext >&5
11178 eval "ac_cv_func_shmat=no"
11183 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
11184 echo "$ac_t""yes" 1>&6
11187 echo "$ac_t""no" 1>&6
11190 if test $ac_cv_func_shmat = no
; then
11191 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
11192 echo "configure:11193: checking for shmat in -lipc" >&5
11193 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
11194 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11195 echo $ac_n "(cached) $ac_c" 1>&6
11197 ac_save_LIBS
="$LIBS"
11199 cat > conftest.
$ac_ext <<EOF
11200 #line 11201 "configure"
11201 #include "confdefs.h"
11202 /* Override any gcc2 internal prototype to avoid an error. */
11203 /* We use char because int might match the return type of a gcc2
11204 builtin and then its argument prototype would still apply. */
11211 if { (eval echo configure
:11212: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11213 eval "ac_cv_lib_$ac_lib_var=yes"
11215 echo "configure: failed program was:" >&5
11216 cat conftest.
$ac_ext >&5
11218 eval "ac_cv_lib_$ac_lib_var=no"
11221 LIBS
="$ac_save_LIBS"
11224 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11225 echo "$ac_t""yes" 1>&6
11226 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
11228 echo "$ac_t""no" 1>&6
11234 # Check for libraries that X11R6 Xt/Xaw programs need.
11235 ac_save_LDFLAGS
="$LDFLAGS"
11236 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
11237 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11238 # check for ICE first), but we must link in the order -lSM -lICE or
11239 # we get undefined symbols. So assume we have SM if we have ICE.
11240 # These have to be linked with before -lX11, unlike the other
11241 # libraries we check for below, so use a different variable.
11242 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
11243 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
11244 echo "configure:11245: checking for IceConnectionNumber in -lICE" >&5
11245 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
11246 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11247 echo $ac_n "(cached) $ac_c" 1>&6
11249 ac_save_LIBS
="$LIBS"
11250 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
11251 cat > conftest.
$ac_ext <<EOF
11252 #line 11253 "configure"
11253 #include "confdefs.h"
11254 /* Override any gcc2 internal prototype to avoid an error. */
11255 /* We use char because int might match the return type of a gcc2
11256 builtin and then its argument prototype would still apply. */
11257 char IceConnectionNumber();
11260 IceConnectionNumber()
11263 if { (eval echo configure
:11264: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11265 eval "ac_cv_lib_$ac_lib_var=yes"
11267 echo "configure: failed program was:" >&5
11268 cat conftest.
$ac_ext >&5
11270 eval "ac_cv_lib_$ac_lib_var=no"
11273 LIBS
="$ac_save_LIBS"
11276 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11277 echo "$ac_t""yes" 1>&6
11278 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
11280 echo "$ac_t""no" 1>&6
11283 LDFLAGS
="$ac_save_LDFLAGS"
11288 if test "$no_x" = "yes"; then
11289 { echo "configure: error: X11 not found" 1>&2; exit 1; }
11292 GUI_TK_LIBRARY
="$X_LIBS"
11293 TOOLKIT_INCLUDE
="$X_CFLAGS"
11294 AFMINSTALL
=afminstall
11295 COMPILED_X_PROGRAM
=0
11297 echo $ac_n "checking for Motif/Lesstif headers""... $ac_c" 1>&6
11298 echo "configure:11299: checking for Motif/Lesstif headers" >&5
11301 for ac_dir
in $SEARCH_INCLUDE;
11303 if test -f "$ac_dir/Xm/Xm.h"; then
11304 ac_find_includes
=$ac_dir
11309 if test "$ac_find_includes" != "" ; then
11310 echo "$ac_t""found $ac_find_includes" 1>&6
11312 cat > conftest.
$ac_ext <<EOF
11313 #line 11314 "configure"
11314 #include "confdefs.h"
11321 version = xmUseVersion;
11325 if { (eval echo configure
:11326: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11328 echo "$ac_t""found in default search path" 1>&6
11329 COMPILED_X_PROGRAM
=1
11332 echo "configure: failed program was:" >&5
11333 cat conftest.
$ac_ext >&5
11336 echo "$ac_t""no" 1>&6
11337 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
11344 if test "$COMPILED_X_PROGRAM" = 0; then
11345 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
11346 echo "configure:11347: checking for Motif/Lesstif library" >&5
11349 for ac_dir
in $SEARCH_LIB;
11351 for ac_extension
in a so sl dylib
; do
11352 if test -f "$ac_dir/libXm.$ac_extension"; then
11353 ac_find_libraries
=$ac_dir
11359 if test "$ac_find_libraries" != "" ; then
11361 ac_path_to_include
=$ac_find_includes
11362 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
11364 if test $result = 0; then
11365 ac_path_to_include
=""
11367 ac_path_to_include
="-I$ac_find_includes"
11371 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
11373 if test $result = 0; then
11376 ac_path_to_link
="-L$ac_find_libraries"
11380 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
11381 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE $ac_path_to_include"
11382 echo "$ac_t""found at $ac_find_libraries" 1>&6
11384 cat > conftest.
$ac_ext <<EOF
11385 #line 11386 "configure"
11386 #include "confdefs.h"
11393 version = xmUseVersion;
11397 if { (eval echo configure
:11398: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11400 echo "$ac_t""found in default search path" 1>&6
11401 COMPILED_X_PROGRAM
=1
11404 echo "configure: failed program was:" >&5
11405 cat conftest.
$ac_ext >&5
11408 echo "$ac_t""no" 1>&6
11409 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
11418 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
11419 echo "configure:11420: checking for Xpm library" >&5
11422 for ac_dir
in $SEARCH_LIB;
11424 for ac_extension
in a so sl dylib
; do
11425 if test -f "$ac_dir/libXpm.$ac_extension"; then
11426 ac_find_libraries
=$ac_dir
11432 if test "$ac_find_libraries" != "" ; then
11434 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
11436 if test $result = 0; then
11439 ac_path_to_link
="-L$ac_find_libraries"
11442 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
11444 cat >> confdefs.h
<<\EOF
11445 #define wxHAVE_LIB_XPM 1
11448 echo "$ac_t""found at $ac_find_libraries" 1>&6
11450 cat > conftest.
$ac_ext <<EOF
11451 #line 11452 "configure"
11452 #include "confdefs.h"
11454 #include <X11/xpm.h>
11459 version = XpmLibraryVersion();
11463 if { (eval echo configure
:11464: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11467 cat >> confdefs.h
<<\EOF
11468 #define wxHAVE_LIB_XPM 1
11471 echo "$ac_t""found in default search path" 1>&6
11472 COMPILED_X_PROGRAM
=0
11475 echo "configure: failed program was:" >&5
11476 cat conftest.
$ac_ext >&5
11479 echo "$ac_t""no" 1>&6
11480 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
11487 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm $xpm_link -lXmu -lXext -lXt -lX11"
11488 TOOLKIT_VPATH
="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo"
11493 if test "$wxUSE_MAC" = 1; then
11494 if test "$wxUSE_PRECOMP" = "yes"; then
11495 CPPFLAGS
="${CPPFLAGS} -cpp-precomp"
11497 CPPFLAGS
="${CPPFLAGS} -I/Developer/Headers/FlatCarbon -I\${top_srcdir}/src/mac/morefile"
11498 CFLAGS
="${CFLAGS} -fpascal-strings"
11499 CXXFLAGS
="${CXXFLAGS} -fpascal-strings"
11500 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -DTARGET_CARBON"
11502 TOOLKIT_VPATH
="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefile"
11507 if test "$wxUSE_PM" = 1; then
11512 if test "$TOOLKIT" = "PM" ; then
11515 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
11518 PORT_FILES
="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
11520 if test "$wxUSE_UNIVERSAL" = "yes"; then
11521 ALL_OBJECTS
="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
11522 PORT_FILES
="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
11523 TOOLKIT_VPATH
="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
11524 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
11527 ALL_OBJECTS
="\$(GUIOBJS)"
11530 ALL_OBJECTS
="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
11532 if test "$TOOLKIT" != "MSW"; then
11533 ALL_OBJECTS
="${ALL_OBJECTS} \$(UNIXOBJS)"
11536 if test "$wxUSE_HTML" = "yes"; then
11537 ALL_OBJECTS
="${ALL_OBJECTS} \$(HTMLOBJS)"
11540 if test "$TOOLKIT" != "MSW" -a "$wxUSE_ODBC" = "yes" ; then
11541 ALL_OBJECTS
="${ALL_OBJECTS} \$(IODBCOBJS)"
11543 if test "$wxUSE_LIBJPEG" = "builtin" ; then
11544 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
11546 if test "$wxUSE_LIBTIFF" = "builtin" ; then
11547 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
11549 if test "$wxUSE_LIBPNG" = "builtin" ; then
11550 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
11552 if test "$wxUSE_FREETYPE" = "builtin" ; then
11553 ALL_OBJECTS
="${ALL_OBJECTS} \$(FREETYPEOBJS)"
11556 RPM_FILES
="src/\$(TOOLKITDIR)/rpmfiles.lst"
11557 RPM_SPEC
="wx\$(TOOLKIT).spec"
11559 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
11560 DISTDIR
="wx\$(TOOLKIT)"
11566 if test "$USE_WIN32" = 1 ; then
11567 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_MSW_OBJS}"
11568 TOOLKIT_VPATH
="\${top_srcdir}/src/msw"
11572 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
11573 TOOLKIT_VPATH
="\${top_srcdir}/src/unix"
11576 PORT_FILES
="\${top_srcdir}/src/files.lst"
11577 RPM_FILES
="src/rpmfiles.lst"
11578 RPM_SPEC
="wxBase.spec"
11580 GUIDIST
="BASE_DIST"
11584 if test "$wxUSE_REGEX" = "builtin" ; then
11585 ALL_OBJECTS
="${ALL_OBJECTS} \$(REGEXOBJS)"
11587 if test "$wxUSE_ZLIB" = "builtin" ; then
11588 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
11591 if test "$wxUSE_OPENGL" = "yes"; then
11592 if test "$wxUSE_MAC" = 1; then
11593 OPENGL_LIBS
="-framework OpenGL -framework AGL"
11595 ac_safe
=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
11596 echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
11597 echo "configure:11598: checking for GL/gl.h" >&5
11598 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11599 echo $ac_n "(cached) $ac_c" 1>&6
11601 cat > conftest.
$ac_ext <<EOF
11602 #line 11603 "configure"
11603 #include "confdefs.h"
11606 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11607 { (eval echo configure
:11608: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11608 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11609 if test -z "$ac_err"; then
11611 eval "ac_cv_header_$ac_safe=yes"
11614 echo "configure: failed program was:" >&5
11615 cat conftest.
$ac_ext >&5
11617 eval "ac_cv_header_$ac_safe=no"
11621 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11622 echo "$ac_t""yes" 1>&6
11624 echo $ac_n "checking for glFlush in -lGL""... $ac_c" 1>&6
11625 echo "configure:11626: checking for glFlush in -lGL" >&5
11626 ac_lib_var
=`echo GL'_'glFlush | sed 'y%./+-%__p_%'`
11627 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11628 echo $ac_n "(cached) $ac_c" 1>&6
11630 ac_save_LIBS
="$LIBS"
11632 cat > conftest.
$ac_ext <<EOF
11633 #line 11634 "configure"
11634 #include "confdefs.h"
11635 /* Override any gcc2 internal prototype to avoid an error. */
11636 /* We use char because int might match the return type of a gcc2
11637 builtin and then its argument prototype would still apply. */
11644 if { (eval echo configure
:11645: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11646 eval "ac_cv_lib_$ac_lib_var=yes"
11648 echo "configure: failed program was:" >&5
11649 cat conftest.
$ac_ext >&5
11651 eval "ac_cv_lib_$ac_lib_var=no"
11654 LIBS
="$ac_save_LIBS"
11657 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11658 echo "$ac_t""yes" 1>&6
11660 OPENGL_LIBS
="-lGL -lGLU"
11663 echo "$ac_t""no" 1>&6
11665 echo $ac_n "checking for glFlush in -lMesaGL""... $ac_c" 1>&6
11666 echo "configure:11667: checking for glFlush in -lMesaGL" >&5
11667 ac_lib_var
=`echo MesaGL'_'glFlush | sed 'y%./+-%__p_%'`
11668 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11669 echo $ac_n "(cached) $ac_c" 1>&6
11671 ac_save_LIBS
="$LIBS"
11672 LIBS
="-lMesaGL $LIBS"
11673 cat > conftest.
$ac_ext <<EOF
11674 #line 11675 "configure"
11675 #include "confdefs.h"
11676 /* Override any gcc2 internal prototype to avoid an error. */
11677 /* We use char because int might match the return type of a gcc2
11678 builtin and then its argument prototype would still apply. */
11685 if { (eval echo configure
:11686: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11687 eval "ac_cv_lib_$ac_lib_var=yes"
11689 echo "configure: failed program was:" >&5
11690 cat conftest.
$ac_ext >&5
11692 eval "ac_cv_lib_$ac_lib_var=no"
11695 LIBS
="$ac_save_LIBS"
11698 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11699 echo "$ac_t""yes" 1>&6
11701 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
11704 echo "$ac_t""no" 1>&6
11712 echo "$ac_t""no" 1>&6
11716 if test "x$OPENGL_LIBS" = "x"; then
11717 { echo "configure: error: OpenGL libraries not available" 1>&2; exit 1; }
11721 if test "$wxUSE_OPENGL" = "yes"; then
11722 cat >> confdefs.h
<<\EOF
11723 #define wxUSE_OPENGL 1
11726 cat >> confdefs.h
<<\EOF
11727 #define wxUSE_GLCANVAS 1
11730 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl"
11734 if test -z "$TOOLKIT_VPATH" ; then
11735 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}"
11738 if test -n "$TOOLKIT" ; then
11739 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
11742 lib_unicode_suffix
=
11743 if test "$wxUSE_UNICODE" = "yes"; then
11744 lib_unicode_suffix
=u
11748 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
11752 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
11753 TOOLCHAIN_NAME_GL
="${TOOLKIT_DIR}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
11755 if test "$cross_compiling" = "yes"; then
11756 TOOLCHAIN_NAME
="${TOOLCHAIN_NAME}-${host_alias}"
11757 TOOLCHAIN_NAME_GL
="${TOOLCHAIN_NAME_GL}-${host_alias}"
11760 WX_LIBRARY
="wx_${TOOLCHAIN_NAME}"
11761 WX_LIBRARY_GL
="wx_${TOOLCHAIN_NAME_GL}"
11763 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
11764 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
11766 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
11767 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
11768 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
11769 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
11771 WX_RESOURCES_MACOSX
="lib${WX_LIBRARY}.rsrc"
11772 WX_RESOURCES_MACOSX_COMPILED
="lib${WX_LIBRARY}.r"
11775 *-*-cygwin* | *-*-mingw32* )
11779 if test "$cross_compiling" != "yes"; then
11780 WX_LIBRARY
="wxmsw${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
11781 WX_LIBRARY_GL
="wxmsw_gl${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
11782 WX_LIBRARY_NAME_SHARED
="${WX_LIBRARY}.${SO_SUFFIX}"
11783 WX_LIBRARY_NAME_SHARED_GL
="${WX_LIBRARY_GL}.${SO_SUFFIX}"
11788 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
11789 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY_GL}.a"
11791 WXCONFIG_LIBS
="-l${WX_LIBRARY}"
11793 if test "$wxUSE_OPENGL" = "yes"; then
11794 WXCONFIG_LIBS_GL
="-l${WX_LIBRARY_GL} $OPENGL_LIBS"
11799 if test "$wxUSE_SHARED" = "yes"; then
11801 if test "$wxUSE_OPENGL" = "yes"; then
11802 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
11803 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_LINK1} \$(build_libdir)/${WX_LIBRARY_LINK1_GL}"
11805 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
11806 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_LINK1}"
11809 if test "$GCC" = "yes"; then
11813 SHARED_LD
="${CXX} -shared -o"
11817 if test "$GCC" != "yes"; then
11818 LDFLAGS
="-L/usr/lib"
11820 SHARED_LD
="${CXX} -b -o"
11824 if test "$wxUSE_OPENGL" = "yes"; then
11825 WX_ALL_INSTALLED
="preinstall_gl"
11826 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
11828 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
11833 if test "$GCC" != "yes"; then
11834 echo $ac_n "checking for Intel compiler""... $ac_c" 1>&6
11835 echo "configure:11836: checking for Intel compiler" >&5
11836 if eval "test \"`echo '$''{'wx_cv_prog_icc'+set}'`\" = set"; then
11837 echo $ac_n "(cached) $ac_c" 1>&6
11840 cat > conftest.
$ac_ext <<EOF
11841 #line 11842 "configure"
11842 #include "confdefs.h"
11846 #ifndef __INTEL_COMPILER
11852 if { (eval echo configure
:11853: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11856 echo "configure: failed program was:" >&5
11857 cat conftest.
$ac_ext >&5
11866 echo "$ac_t""$wx_cv_prog_icc" 1>&6
11867 if test "$wx_cv_prog_icc" = "yes"; then
11872 if test "$wxUSE_SONAME" = "yes" ; then
11873 SONAME_FLAGS
="-Wl,-soname,${WX_LIBRARY_LINK1}"
11874 SONAME_FLAGS_GL
="-Wl,-soname,${WX_LIBRARY_LINK1_GL}"
11875 WX_TARGET_LIBRARY_SONAME
="-Wl,-soname,\$(TARGETLIB_LINK1)"
11880 if test "$GCC" = yes ; then
11881 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
11883 SHARED_LD
="${CXX} -G -o"
11885 SONAME_FLAGS
="-h ${WX_LIBRARY_NAME_SHARED}"
11886 SONAME_FLAGS_GL
="-h ${WX_LIBRARY_NAME_SHARED}"
11891 CFLAGS
="${CFLAGS} -fno-common"
11892 CXXFLAGS
="${CXXFLAGS} -fno-common"
11893 SHARED_LD
="${CXX} -dynamiclib -o"
11894 PIC_FLAG
="-dynamic -fPIC"
11898 SHARED_LD
="/usr/lpp/xlC/bin/makeC++SharedLib -p 0 -o"
11901 *-*-cygwin* | *-*-mingw32* )
11903 WX_LIBRARY_IMPORTLIB
="lib${WX_LIBRARY}.lib"
11905 WXCONFIG_LIBS
="${WX_LIBRARY_IMPORTLIB}"
11907 SHARED_LD
="${CXX} -shared -Wl,--out-implib,lib/${WX_LIBRARY_IMPORTLIB} -o"
11908 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -DWXUSINGDLL=1"
11909 WXMSW_DLL_DEFINES
="-UWXUSINGDLL -DWXMAKINGDLL=1 -D_DLL=1 -D_WINDLL=1"
11911 if test "$wxUSE_OPENGL" = "yes"; then
11912 WX_ALL_INSTALLED
="preinstall_gl"
11913 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
11915 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
11920 *-pc-os2_emx | *-pc-os2-emx )
11925 SHARED_LD
="${LD} -shared -o"
11928 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
11930 *-*-irix5* | *-*-irix6* | \
11937 { echo "configure: error: unknown system type $host." 1>&2; exit 1; }
11940 if test "x$WX_TARGET_LIBRARY" = "x"; then
11941 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
11942 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
11945 WX_TARGET_LIBRARY_TYPE
="so"
11948 if test "$wxUSE_SHARED" = "no"; then
11950 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
11951 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
11954 if test "$wxUSE_MAC" = 1; then
11955 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
11958 if test "$wxUSE_OPENGL" = "yes"; then
11959 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_gl"
11960 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
11962 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
11965 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
11966 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
11968 WX_TARGET_LIBRARY_TYPE
="a"
11971 if test "$wxUSE_MAC" = 1; then
11972 WX_ALL
="${WX_ALL} \$(build_libdir)/lib${WX_LIBRARY}.r"
11973 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_res"
11974 # Extract the first word of "Rez", so it can be a program name with args.
11975 set dummy Rez
; ac_word
=$2
11976 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
11977 echo "configure:11978: checking for $ac_word" >&5
11978 if eval "test \"`echo '$''{'ac_cv_prog_RESCOMP'+set}'`\" = set"; then
11979 echo $ac_n "(cached) $ac_c" 1>&6
11981 if test -n "$RESCOMP"; then
11982 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
11984 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
11986 for ac_dir
in $ac_dummy; do
11987 test -z "$ac_dir" && ac_dir
=.
11988 if test -f $ac_dir/$ac_word; then
11989 ac_cv_prog_RESCOMP
="Rez"
11994 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
11997 RESCOMP
="$ac_cv_prog_RESCOMP"
11998 if test -n "$RESCOMP"; then
11999 echo "$ac_t""$RESCOMP" 1>&6
12001 echo "$ac_t""no" 1>&6
12004 # Extract the first word of "Derez", so it can be a program name with args.
12005 set dummy Derez
; ac_word
=$2
12006 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
12007 echo "configure:12008: checking for $ac_word" >&5
12008 if eval "test \"`echo '$''{'ac_cv_prog_DEREZ'+set}'`\" = set"; then
12009 echo $ac_n "(cached) $ac_c" 1>&6
12011 if test -n "$DEREZ"; then
12012 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
12014 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
12016 for ac_dir
in $ac_dummy; do
12017 test -z "$ac_dir" && ac_dir
=.
12018 if test -f $ac_dir/$ac_word; then
12019 ac_cv_prog_DEREZ
="Derez"
12024 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/Derez"
12027 DEREZ
="$ac_cv_prog_DEREZ"
12028 if test -n "$DEREZ"; then
12029 echo "$ac_t""$DEREZ" 1>&6
12031 echo "$ac_t""no" 1>&6
12034 LIBWXMACRES
="\$(top_builddir)/lib/lib${WX_LIBRARY}.r"
12035 LIBWXMACRESCOMP
="\$(RESCOMP) Carbon.r -t APPL ${LIBWXMACRES} -o \$(BIN_PROGRAM)"
12036 LIBWXMACRESWXCONFIG
="${RESCOMP} Carbon.r -t APPL \${prefix}/lib/${WX_RESOURCES_MACOSX_COMPILED} -o"
12040 if test "$wxUSE_MAC" != 1; then
12041 for ac_hdr
in strings.h
12043 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12044 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12045 echo "configure:12046: checking for $ac_hdr" >&5
12046 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12047 echo $ac_n "(cached) $ac_c" 1>&6
12049 cat > conftest.
$ac_ext <<EOF
12050 #line 12051 "configure"
12051 #include "confdefs.h"
12054 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12055 { (eval echo configure
:12056: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12056 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12057 if test -z "$ac_err"; then
12059 eval "ac_cv_header_$ac_safe=yes"
12062 echo "configure: failed program was:" >&5
12063 cat conftest.
$ac_ext >&5
12065 eval "ac_cv_header_$ac_safe=no"
12069 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12070 echo "$ac_t""yes" 1>&6
12071 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12072 cat >> confdefs.h
<<EOF
12073 #define $ac_tr_hdr 1
12077 echo "$ac_t""no" 1>&6
12083 for ac_hdr
in stdlib.h
12085 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12086 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12087 echo "configure:12088: checking for $ac_hdr" >&5
12088 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12089 echo $ac_n "(cached) $ac_c" 1>&6
12091 cat > conftest.
$ac_ext <<EOF
12092 #line 12093 "configure"
12093 #include "confdefs.h"
12096 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12097 { (eval echo configure
:12098: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12098 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12099 if test -z "$ac_err"; then
12101 eval "ac_cv_header_$ac_safe=yes"
12104 echo "configure: failed program was:" >&5
12105 cat conftest.
$ac_ext >&5
12107 eval "ac_cv_header_$ac_safe=no"
12111 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12112 echo "$ac_t""yes" 1>&6
12113 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12114 cat >> confdefs.h
<<EOF
12115 #define $ac_tr_hdr 1
12119 echo "$ac_t""no" 1>&6
12123 for ac_hdr
in unistd.h
12125 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12126 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12127 echo "configure:12128: checking for $ac_hdr" >&5
12128 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12129 echo $ac_n "(cached) $ac_c" 1>&6
12131 cat > conftest.
$ac_ext <<EOF
12132 #line 12133 "configure"
12133 #include "confdefs.h"
12136 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12137 { (eval echo configure
:12138: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12138 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12139 if test -z "$ac_err"; then
12141 eval "ac_cv_header_$ac_safe=yes"
12144 echo "configure: failed program was:" >&5
12145 cat conftest.
$ac_ext >&5
12147 eval "ac_cv_header_$ac_safe=no"
12151 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12152 echo "$ac_t""yes" 1>&6
12153 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12154 cat >> confdefs.h
<<EOF
12155 #define $ac_tr_hdr 1
12159 echo "$ac_t""no" 1>&6
12163 for ac_hdr
in wchar.h
12165 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12166 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12167 echo "configure:12168: checking for $ac_hdr" >&5
12168 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12169 echo $ac_n "(cached) $ac_c" 1>&6
12171 cat > conftest.
$ac_ext <<EOF
12172 #line 12173 "configure"
12173 #include "confdefs.h"
12176 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12177 { (eval echo configure
:12178: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12178 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12179 if test -z "$ac_err"; then
12181 eval "ac_cv_header_$ac_safe=yes"
12184 echo "configure: failed program was:" >&5
12185 cat conftest.
$ac_ext >&5
12187 eval "ac_cv_header_$ac_safe=no"
12191 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12192 echo "$ac_t""yes" 1>&6
12193 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12194 cat >> confdefs.h
<<EOF
12195 #define $ac_tr_hdr 1
12199 echo "$ac_t""no" 1>&6
12203 for ac_hdr
in wcstr.h
12205 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12206 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12207 echo "configure:12208: checking for $ac_hdr" >&5
12208 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12209 echo $ac_n "(cached) $ac_c" 1>&6
12211 cat > conftest.
$ac_ext <<EOF
12212 #line 12213 "configure"
12213 #include "confdefs.h"
12216 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12217 { (eval echo configure
:12218: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12218 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12219 if test -z "$ac_err"; then
12221 eval "ac_cv_header_$ac_safe=yes"
12224 echo "configure: failed program was:" >&5
12225 cat conftest.
$ac_ext >&5
12227 eval "ac_cv_header_$ac_safe=no"
12231 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12232 echo "$ac_t""yes" 1>&6
12233 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12234 cat >> confdefs.h
<<EOF
12235 #define $ac_tr_hdr 1
12239 echo "$ac_t""no" 1>&6
12243 for ac_hdr
in fnmatch.h
12245 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12246 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12247 echo "configure:12248: checking for $ac_hdr" >&5
12248 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12249 echo $ac_n "(cached) $ac_c" 1>&6
12251 cat > conftest.
$ac_ext <<EOF
12252 #line 12253 "configure"
12253 #include "confdefs.h"
12256 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12257 { (eval echo configure
:12258: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12258 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12259 if test -z "$ac_err"; then
12261 eval "ac_cv_header_$ac_safe=yes"
12264 echo "configure: failed program was:" >&5
12265 cat conftest.
$ac_ext >&5
12267 eval "ac_cv_header_$ac_safe=no"
12271 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12272 echo "$ac_t""yes" 1>&6
12273 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12274 cat >> confdefs.h
<<EOF
12275 #define $ac_tr_hdr 1
12279 echo "$ac_t""no" 1>&6
12283 for ac_hdr
in iconv.h
12285 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12286 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12287 echo "configure:12288: checking for $ac_hdr" >&5
12288 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12289 echo $ac_n "(cached) $ac_c" 1>&6
12291 cat > conftest.
$ac_ext <<EOF
12292 #line 12293 "configure"
12293 #include "confdefs.h"
12296 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12297 { (eval echo configure
:12298: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12298 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12299 if test -z "$ac_err"; then
12301 eval "ac_cv_header_$ac_safe=yes"
12304 echo "configure: failed program was:" >&5
12305 cat conftest.
$ac_ext >&5
12307 eval "ac_cv_header_$ac_safe=no"
12311 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12312 echo "$ac_t""yes" 1>&6
12313 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12314 cat >> confdefs.h
<<EOF
12315 #define $ac_tr_hdr 1
12319 echo "$ac_t""no" 1>&6
12323 for ac_hdr
in langinfo.h
12325 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12326 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12327 echo "configure:12328: checking for $ac_hdr" >&5
12328 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12329 echo $ac_n "(cached) $ac_c" 1>&6
12331 cat > conftest.
$ac_ext <<EOF
12332 #line 12333 "configure"
12333 #include "confdefs.h"
12336 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12337 { (eval echo configure
:12338: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12338 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12339 if test -z "$ac_err"; then
12341 eval "ac_cv_header_$ac_safe=yes"
12344 echo "configure: failed program was:" >&5
12345 cat conftest.
$ac_ext >&5
12347 eval "ac_cv_header_$ac_safe=no"
12351 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12352 echo "$ac_t""yes" 1>&6
12353 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12354 cat >> confdefs.h
<<EOF
12355 #define $ac_tr_hdr 1
12359 echo "$ac_t""no" 1>&6
12364 if test "$wxUSE_GUI" = "yes"; then
12365 if test "$wxUSE_UNIX" = "yes"; then
12366 for ac_hdr
in X
11/XKBlib.h
12368 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12369 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12370 echo "configure:12371: checking for $ac_hdr" >&5
12371 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12372 echo $ac_n "(cached) $ac_c" 1>&6
12374 cat > conftest.
$ac_ext <<EOF
12375 #line 12376 "configure"
12376 #include "confdefs.h"
12379 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12380 { (eval echo configure
:12381: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12381 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12382 if test -z "$ac_err"; then
12384 eval "ac_cv_header_$ac_safe=yes"
12387 echo "configure: failed program was:" >&5
12388 cat conftest.
$ac_ext >&5
12390 eval "ac_cv_header_$ac_safe=no"
12394 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12395 echo "$ac_t""yes" 1>&6
12396 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12397 cat >> confdefs.h
<<EOF
12398 #define $ac_tr_hdr 1
12402 echo "$ac_t""no" 1>&6
12410 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
12411 echo "configure:12412: checking for ANSI C header files" >&5
12412 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
12413 echo $ac_n "(cached) $ac_c" 1>&6
12415 cat > conftest.
$ac_ext <<EOF
12416 #line 12417 "configure"
12417 #include "confdefs.h"
12418 #include <stdlib.h>
12419 #include <stdarg.h>
12420 #include <string.h>
12423 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12424 { (eval echo configure
:12425: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12425 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12426 if test -z "$ac_err"; then
12428 ac_cv_header_stdc
=yes
12431 echo "configure: failed program was:" >&5
12432 cat conftest.
$ac_ext >&5
12434 ac_cv_header_stdc
=no
12438 if test $ac_cv_header_stdc = yes; then
12439 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12440 cat > conftest.
$ac_ext <<EOF
12441 #line 12442 "configure"
12442 #include "confdefs.h"
12443 #include <string.h>
12445 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12446 egrep "memchr" >/dev
/null
2>&1; then
12450 ac_cv_header_stdc
=no
12456 if test $ac_cv_header_stdc = yes; then
12457 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12458 cat > conftest.
$ac_ext <<EOF
12459 #line 12460 "configure"
12460 #include "confdefs.h"
12461 #include <stdlib.h>
12463 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12464 egrep "free" >/dev
/null
2>&1; then
12468 ac_cv_header_stdc
=no
12474 if test $ac_cv_header_stdc = yes; then
12475 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12476 if test "$cross_compiling" = yes; then
12479 cat > conftest.
$ac_ext <<EOF
12480 #line 12481 "configure"
12481 #include "confdefs.h"
12483 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12484 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12485 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12486 int main () { int i; for (i = 0; i < 256; i++)
12487 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
12491 if { (eval echo configure
:12492: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12495 echo "configure: failed program was:" >&5
12496 cat conftest.
$ac_ext >&5
12498 ac_cv_header_stdc
=no
12506 echo "$ac_t""$ac_cv_header_stdc" 1>&6
12507 if test $ac_cv_header_stdc = yes; then
12508 cat >> confdefs.h
<<\EOF
12509 #define STDC_HEADERS 1
12514 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
12515 echo "configure:12516: checking for mode_t" >&5
12516 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
12517 echo $ac_n "(cached) $ac_c" 1>&6
12519 cat > conftest.
$ac_ext <<EOF
12520 #line 12521 "configure"
12521 #include "confdefs.h"
12522 #include <sys/types.h>
12524 #include <stdlib.h>
12525 #include <stddef.h>
12528 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12529 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
12531 ac_cv_type_mode_t
=yes
12534 ac_cv_type_mode_t
=no
12539 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
12540 if test $ac_cv_type_mode_t = no
; then
12541 cat >> confdefs.h
<<\EOF
12547 echo $ac_n "checking for off_t""... $ac_c" 1>&6
12548 echo "configure:12549: checking for off_t" >&5
12549 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
12550 echo $ac_n "(cached) $ac_c" 1>&6
12552 cat > conftest.
$ac_ext <<EOF
12553 #line 12554 "configure"
12554 #include "confdefs.h"
12555 #include <sys/types.h>
12557 #include <stdlib.h>
12558 #include <stddef.h>
12561 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12562 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
12564 ac_cv_type_off_t
=yes
12567 ac_cv_type_off_t
=no
12572 echo "$ac_t""$ac_cv_type_off_t" 1>&6
12573 if test $ac_cv_type_off_t = no
; then
12574 cat >> confdefs.h
<<\EOF
12580 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
12581 echo "configure:12582: checking for pid_t" >&5
12582 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
12583 echo $ac_n "(cached) $ac_c" 1>&6
12585 cat > conftest.
$ac_ext <<EOF
12586 #line 12587 "configure"
12587 #include "confdefs.h"
12588 #include <sys/types.h>
12590 #include <stdlib.h>
12591 #include <stddef.h>
12594 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12595 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
12597 ac_cv_type_pid_t
=yes
12600 ac_cv_type_pid_t
=no
12605 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
12606 if test $ac_cv_type_pid_t = no
; then
12607 cat >> confdefs.h
<<\EOF
12613 echo $ac_n "checking for size_t""... $ac_c" 1>&6
12614 echo "configure:12615: checking for size_t" >&5
12615 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
12616 echo $ac_n "(cached) $ac_c" 1>&6
12618 cat > conftest.
$ac_ext <<EOF
12619 #line 12620 "configure"
12620 #include "confdefs.h"
12621 #include <sys/types.h>
12623 #include <stdlib.h>
12624 #include <stddef.h>
12627 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12628 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
12630 ac_cv_type_size_t
=yes
12633 ac_cv_type_size_t
=no
12638 echo "$ac_t""$ac_cv_type_size_t" 1>&6
12639 if test $ac_cv_type_size_t = no
; then
12640 cat >> confdefs.h
<<\EOF
12641 #define size_t unsigned
12646 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
12647 echo "configure:12648: checking for uid_t in sys/types.h" >&5
12648 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
12649 echo $ac_n "(cached) $ac_c" 1>&6
12651 cat > conftest.
$ac_ext <<EOF
12652 #line 12653 "configure"
12653 #include "confdefs.h"
12654 #include <sys/types.h>
12656 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12657 egrep "uid_t" >/dev
/null
2>&1; then
12659 ac_cv_type_uid_t
=yes
12662 ac_cv_type_uid_t
=no
12668 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
12669 if test $ac_cv_type_uid_t = no
; then
12670 cat >> confdefs.h
<<\EOF
12674 cat >> confdefs.h
<<\EOF
12681 echo $ac_n "checking for wchar_t""... $ac_c" 1>&6
12682 echo "configure:12683: checking for wchar_t" >&5
12683 if eval "test \"`echo '$''{'wx_cv_type_wchar_t'+set}'`\" = set"; then
12684 echo $ac_n "(cached) $ac_c" 1>&6
12687 cat > conftest.
$ac_ext <<EOF
12688 #line 12689 "configure"
12689 #include "confdefs.h"
12695 ws = L"Hello, world!";
12699 if { (eval echo configure
:12700: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12701 wx_cv_type_wchar_t
=yes
12703 echo "configure: failed program was:" >&5
12704 cat conftest.
$ac_ext >&5
12706 wx_cv_type_wchar_t
=no
12713 echo "$ac_t""$wx_cv_type_wchar_t" 1>&6
12715 if test "$wx_cv_type_wchar_t" = "yes"; then
12716 cat >> confdefs.h
<<\EOF
12717 #define wxUSE_WCHAR_T 1
12724 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12725 ac_cpp
='$CXXCPP $CPPFLAGS'
12726 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12727 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12728 cross_compiling
=$ac_cv_prog_cxx_cross
12730 echo $ac_n "checking if size_t is unsigned int""... $ac_c" 1>&6
12731 echo "configure:12732: checking if size_t is unsigned int" >&5
12732 if eval "test \"`echo '$''{'wx_cv_size_t_is_uint'+set}'`\" = set"; then
12733 echo $ac_n "(cached) $ac_c" 1>&6
12735 cat > conftest.
$ac_ext <<EOF
12736 #line 12737 "configure"
12737 #include "confdefs.h"
12738 #include <stddef.h>
12743 struct Foo { void foo(size_t); void foo(unsigned int); };
12749 if { (eval echo configure
:12750: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12751 wx_cv_size_t_is_uint
=no
12753 echo "configure: failed program was:" >&5
12754 cat conftest.
$ac_ext >&5
12756 wx_cv_size_t_is_uint
=yes
12763 echo "$ac_t""$wx_cv_size_t_is_uint" 1>&6
12765 if test "$wx_cv_size_t_is_uint" = "yes"; then
12766 cat >> confdefs.h
<<\EOF
12767 #define wxSIZE_T_IS_UINT 1
12771 echo $ac_n "checking if size_t is unsigned long""... $ac_c" 1>&6
12772 echo "configure:12773: checking if size_t is unsigned long" >&5
12773 if eval "test \"`echo '$''{'wx_cv_size_t_is_ulong'+set}'`\" = set"; then
12774 echo $ac_n "(cached) $ac_c" 1>&6
12776 cat > conftest.
$ac_ext <<EOF
12777 #line 12778 "configure"
12778 #include "confdefs.h"
12779 #include <stddef.h>
12784 struct Foo { void foo(size_t); void foo(unsigned long); };
12790 if { (eval echo configure
:12791: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12792 wx_cv_size_t_is_ulong
=no
12794 echo "configure: failed program was:" >&5
12795 cat conftest.
$ac_ext >&5
12797 wx_cv_size_t_is_ulong
=yes
12804 echo "$ac_t""$wx_cv_size_t_is_ulong" 1>&6
12806 if test "$wx_cv_size_t_is_ulong" = "yes"; then
12807 cat >> confdefs.h
<<\EOF
12808 #define wxSIZE_T_IS_ULONG 1
12815 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12816 ac_cpp
='$CPP $CPPFLAGS'
12817 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12818 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12819 cross_compiling
=$ac_cv_prog_cc_cross
12823 echo $ac_n "checking for pw_gecos in struct passwd""... $ac_c" 1>&6
12824 echo "configure:12825: checking for pw_gecos in struct passwd" >&5
12825 if eval "test \"`echo '$''{'wx_cv_struct_pw_gecos'+set}'`\" = set"; then
12826 echo $ac_n "(cached) $ac_c" 1>&6
12829 cat > conftest.
$ac_ext <<EOF
12830 #line 12831 "configure"
12831 #include "confdefs.h"
12841 if { (eval echo configure
:12842: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12844 wx_cv_struct_pw_gecos
=yes
12847 echo "configure: failed program was:" >&5
12848 cat conftest.
$ac_ext >&5
12851 wx_cv_struct_pw_gecos
=no
12860 echo "$ac_t""$wx_cv_struct_pw_gecos" 1>&6
12862 if test "$wx_cv_struct_pw_gecos" = "yes"; then
12863 cat >> confdefs.h
<<\EOF
12864 #define HAVE_PW_GECOS 1
12870 echo $ac_n "checking for working const""... $ac_c" 1>&6
12871 echo "configure:12872: checking for working const" >&5
12872 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
12873 echo $ac_n "(cached) $ac_c" 1>&6
12875 cat > conftest.
$ac_ext <<EOF
12876 #line 12877 "configure"
12877 #include "confdefs.h"
12881 /* Ultrix mips cc rejects this. */
12882 typedef int charset[2]; const charset x;
12883 /* SunOS 4.1.1 cc rejects this. */
12884 char const *const *ccp;
12886 /* NEC SVR4.0.2 mips cc rejects this. */
12887 struct point {int x, y;};
12888 static struct point const zero = {0,0};
12889 /* AIX XL C 1.02.0.0 rejects this.
12890 It does not let you subtract one const X* pointer from another in an arm
12891 of an if-expression whose if-part is not a constant expression */
12892 const char *g = "string";
12893 ccp = &g + (g ? g-g : 0);
12894 /* HPUX 7.0 cc rejects these. */
12897 ccp = (char const *const *) p;
12898 { /* SCO 3.2v4 cc rejects this. */
12900 char const *s = 0 ? (char *) 0 : (char const *) 0;
12904 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
12905 int x[] = {25, 17};
12906 const int *foo = &x[0];
12909 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
12910 typedef const int *iptr;
12914 { /* AIX XL C 1.02.0.0 rejects this saying
12915 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
12916 struct s { int j; const int *ap[3]; };
12917 struct s *b; b->j = 5;
12919 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
12920 const int foo = 10;
12925 if { (eval echo configure
:12926: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12929 echo "configure: failed program was:" >&5
12930 cat conftest.
$ac_ext >&5
12937 echo "$ac_t""$ac_cv_c_const" 1>&6
12938 if test $ac_cv_c_const = no
; then
12939 cat >> confdefs.h
<<\EOF
12945 echo $ac_n "checking for inline""... $ac_c" 1>&6
12946 echo "configure:12947: checking for inline" >&5
12947 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
12948 echo $ac_n "(cached) $ac_c" 1>&6
12951 for ac_kw
in inline __inline__ __inline
; do
12952 cat > conftest.
$ac_ext <<EOF
12953 #line 12954 "configure"
12954 #include "confdefs.h"
12960 if { (eval echo configure
:12961: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12962 ac_cv_c_inline
=$ac_kw; break
12964 echo "configure: failed program was:" >&5
12965 cat conftest.
$ac_ext >&5
12972 echo "$ac_t""$ac_cv_c_inline" 1>&6
12973 case "$ac_cv_c_inline" in
12975 no
) cat >> confdefs.h
<<\EOF
12979 *) cat >> confdefs.h
<<EOF
12980 #define inline $ac_cv_c_inline
12986 echo $ac_n "checking size of char""... $ac_c" 1>&6
12987 echo "configure:12988: checking size of char" >&5
12988 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
12989 echo $ac_n "(cached) $ac_c" 1>&6
12991 if test "$cross_compiling" = yes; then
12992 ac_cv_sizeof_char
=1
12994 cat > conftest.
$ac_ext <<EOF
12995 #line 12996 "configure"
12996 #include "confdefs.h"
12998 #include <sys/types.h>
13001 FILE *f=fopen("conftestval", "w");
13003 fprintf(f, "%d\n", sizeof(char));
13007 if { (eval echo configure
:13008: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
13009 ac_cv_sizeof_char
=`cat conftestval`
13011 echo "configure: failed program was:" >&5
13012 cat conftest.
$ac_ext >&5
13014 ac_cv_sizeof_char
=0
13020 echo "$ac_t""$ac_cv_sizeof_char" 1>&6
13021 cat >> confdefs.h
<<EOF
13022 #define SIZEOF_CHAR $ac_cv_sizeof_char
13026 echo $ac_n "checking size of short""... $ac_c" 1>&6
13027 echo "configure:13028: checking size of short" >&5
13028 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
13029 echo $ac_n "(cached) $ac_c" 1>&6
13031 if test "$cross_compiling" = yes; then
13032 ac_cv_sizeof_short
=2
13034 cat > conftest.
$ac_ext <<EOF
13035 #line 13036 "configure"
13036 #include "confdefs.h"
13038 #include <sys/types.h>
13041 FILE *f=fopen("conftestval", "w");
13043 fprintf(f, "%d\n", sizeof(short));
13047 if { (eval echo configure
:13048: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
13049 ac_cv_sizeof_short
=`cat conftestval`
13051 echo "configure: failed program was:" >&5
13052 cat conftest.
$ac_ext >&5
13054 ac_cv_sizeof_short
=0
13060 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
13061 cat >> confdefs.h
<<EOF
13062 #define SIZEOF_SHORT $ac_cv_sizeof_short
13066 echo $ac_n "checking size of int *""... $ac_c" 1>&6
13067 echo "configure:13068: checking size of int *" >&5
13068 if eval "test \"`echo '$''{'ac_cv_sizeof_int_p'+set}'`\" = set"; then
13069 echo $ac_n "(cached) $ac_c" 1>&6
13071 if test "$cross_compiling" = yes; then
13072 ac_cv_sizeof_int_p
=4
13074 cat > conftest.
$ac_ext <<EOF
13075 #line 13076 "configure"
13076 #include "confdefs.h"
13078 #include <sys/types.h>
13081 FILE *f=fopen("conftestval", "w");
13083 fprintf(f, "%d\n", sizeof(int *));
13087 if { (eval echo configure
:13088: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
13089 ac_cv_sizeof_int_p
=`cat conftestval`
13091 echo "configure: failed program was:" >&5
13092 cat conftest.
$ac_ext >&5
13094 ac_cv_sizeof_int_p
=0
13100 echo "$ac_t""$ac_cv_sizeof_int_p" 1>&6
13101 cat >> confdefs.h
<<EOF
13102 #define SIZEOF_INT_P $ac_cv_sizeof_int_p
13106 echo $ac_n "checking size of int""... $ac_c" 1>&6
13107 echo "configure:13108: checking size of int" >&5
13108 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
13109 echo $ac_n "(cached) $ac_c" 1>&6
13111 if test "$cross_compiling" = yes; then
13114 cat > conftest.
$ac_ext <<EOF
13115 #line 13116 "configure"
13116 #include "confdefs.h"
13118 #include <sys/types.h>
13121 FILE *f=fopen("conftestval", "w");
13123 fprintf(f, "%d\n", sizeof(int));
13127 if { (eval echo configure
:13128: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
13129 ac_cv_sizeof_int
=`cat conftestval`
13131 echo "configure: failed program was:" >&5
13132 cat conftest.
$ac_ext >&5
13140 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
13141 cat >> confdefs.h
<<EOF
13142 #define SIZEOF_INT $ac_cv_sizeof_int
13146 echo $ac_n "checking size of long""... $ac_c" 1>&6
13147 echo "configure:13148: checking size of long" >&5
13148 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
13149 echo $ac_n "(cached) $ac_c" 1>&6
13151 if test "$cross_compiling" = yes; then
13152 ac_cv_sizeof_long
=4
13154 cat > conftest.
$ac_ext <<EOF
13155 #line 13156 "configure"
13156 #include "confdefs.h"
13158 #include <sys/types.h>
13161 FILE *f=fopen("conftestval", "w");
13163 fprintf(f, "%d\n", sizeof(long));
13167 if { (eval echo configure
:13168: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
13169 ac_cv_sizeof_long
=`cat conftestval`
13171 echo "configure: failed program was:" >&5
13172 cat conftest.
$ac_ext >&5
13174 ac_cv_sizeof_long
=0
13180 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
13181 cat >> confdefs.h
<<EOF
13182 #define SIZEOF_LONG $ac_cv_sizeof_long
13186 echo $ac_n "checking size of long long""... $ac_c" 1>&6
13187 echo "configure:13188: checking size of long long" >&5
13188 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
13189 echo $ac_n "(cached) $ac_c" 1>&6
13191 if test "$cross_compiling" = yes; then
13192 ac_cv_sizeof_long_long
=0
13194 cat > conftest.
$ac_ext <<EOF
13195 #line 13196 "configure"
13196 #include "confdefs.h"
13198 #include <sys/types.h>
13201 FILE *f=fopen("conftestval", "w");
13203 fprintf(f, "%d\n", sizeof(long long));
13207 if { (eval echo configure
:13208: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
13209 ac_cv_sizeof_long_long
=`cat conftestval`
13211 echo "configure: failed program was:" >&5
13212 cat conftest.
$ac_ext >&5
13214 ac_cv_sizeof_long_long
=0
13220 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
13221 cat >> confdefs.h
<<EOF
13222 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
13227 echo $ac_n "checking size of wchar_t""... $ac_c" 1>&6
13228 echo "configure:13229: checking size of wchar_t" >&5
13229 if eval "test \"`echo '$''{'wx_cv_sizeof_wchar_t'+set}'`\" = set"; then
13230 echo $ac_n "(cached) $ac_c" 1>&6
13233 if test "$cross_compiling" = yes; then
13234 wx_cv_sizeof_wchar_t
=4
13237 cat > conftest.
$ac_ext <<EOF
13238 #line 13239 "configure"
13239 #include "confdefs.h"
13241 #ifdef HAVE_WCHAR_H
13242 # include <wchar.h>
13244 #ifdef HAVE_STDLIB_H
13245 # include <stdlib.h>
13250 FILE *f=fopen("conftestval", "w");
13252 fprintf(f, "%i", sizeof(wchar_t));
13257 if { (eval echo configure
:13258: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
13259 wx_cv_sizeof_wchar_t
=`cat conftestval`
13261 echo "configure: failed program was:" >&5
13262 cat conftest.
$ac_ext >&5
13264 wx_cv_sizeof_wchar_t
=0
13272 echo "$ac_t""$wx_cv_sizeof_wchar_t" 1>&6
13274 cat >> confdefs.h
<<EOF
13275 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
13279 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
13280 echo "configure:13281: checking whether byte ordering is bigendian" >&5
13281 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
13282 echo $ac_n "(cached) $ac_c" 1>&6
13284 ac_cv_c_bigendian
=unknown
13285 # See if sys/param.h defines the BYTE_ORDER macro.
13286 cat > conftest.
$ac_ext <<EOF
13287 #line 13288 "configure"
13288 #include "confdefs.h"
13289 #include <sys/types.h>
13290 #include <sys/param.h>
13293 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
13294 bogus endian macros
13298 if { (eval echo configure
:13299: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13300 # It does; now see whether it defined to BIG_ENDIAN or not.
13301 cat > conftest.
$ac_ext <<EOF
13302 #line 13303 "configure"
13303 #include "confdefs.h"
13304 #include <sys/types.h>
13305 #include <sys/param.h>
13308 #if BYTE_ORDER != BIG_ENDIAN
13313 if { (eval echo configure
:13314: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13315 ac_cv_c_bigendian
=yes
13317 echo "configure: failed program was:" >&5
13318 cat conftest.
$ac_ext >&5
13320 ac_cv_c_bigendian
=no
13324 echo "configure: failed program was:" >&5
13325 cat conftest.
$ac_ext >&5
13328 if test $ac_cv_c_bigendian = unknown
; then
13329 if test "$cross_compiling" = yes; then
13330 ac_cv_c_bigendian
=unknown
13332 cat > conftest.
$ac_ext <<EOF
13333 #line 13334 "configure"
13334 #include "confdefs.h"
13336 /* Are we little or big endian? From Harbison&Steele. */
13340 char c[sizeof (long)];
13343 exit (u.c[sizeof (long) - 1] == 1);
13346 if { (eval echo configure
:13347: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
13348 ac_cv_c_bigendian
=no
13350 echo "configure: failed program was:" >&5
13351 cat conftest.
$ac_ext >&5
13353 ac_cv_c_bigendian
=yes
13361 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
13362 if test $ac_cv_c_bigendian = unknown
; then
13363 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
13365 if test $ac_cv_c_bigendian = yes; then
13366 cat >> confdefs.h
<<\EOF
13367 #define WORDS_BIGENDIAN 1
13373 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
13374 echo "configure:13375: checking how to run the C++ preprocessor" >&5
13375 if test -z "$CXXCPP"; then
13376 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
13377 echo $ac_n "(cached) $ac_c" 1>&6
13380 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13381 ac_cpp
='$CXXCPP $CPPFLAGS'
13382 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13383 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13384 cross_compiling
=$ac_cv_prog_cxx_cross
13385 CXXCPP
="${CXX-g++} -E"
13386 cat > conftest.
$ac_ext <<EOF
13387 #line 13388 "configure"
13388 #include "confdefs.h"
13389 #include <stdlib.h>
13391 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13392 { (eval echo configure
:13393: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13393 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13394 if test -z "$ac_err"; then
13398 echo "configure: failed program was:" >&5
13399 cat conftest.
$ac_ext >&5
13404 ac_cv_prog_CXXCPP
="$CXXCPP"
13406 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13407 ac_cpp
='$CXXCPP $CPPFLAGS'
13408 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13409 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13410 cross_compiling
=$ac_cv_prog_cxx_cross
13413 CXXCPP
="$ac_cv_prog_CXXCPP"
13414 echo "$ac_t""$CXXCPP" 1>&6
13417 if test "$cross_compiling" = "yes"; then
13418 cat >> confdefs.h
<<\EOF
13419 #define wxUSE_IOSTREAMH 1
13425 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13426 ac_cpp
='$CXXCPP $CPPFLAGS'
13427 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13428 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13429 cross_compiling
=$ac_cv_prog_cxx_cross
13432 for ac_hdr
in iostream
13434 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13435 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13436 echo "configure:13437: checking for $ac_hdr" >&5
13437 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13438 echo $ac_n "(cached) $ac_c" 1>&6
13440 cat > conftest.
$ac_ext <<EOF
13441 #line 13442 "configure"
13442 #include "confdefs.h"
13445 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13446 { (eval echo configure
:13447: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13447 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13448 if test -z "$ac_err"; then
13450 eval "ac_cv_header_$ac_safe=yes"
13453 echo "configure: failed program was:" >&5
13454 cat conftest.
$ac_ext >&5
13456 eval "ac_cv_header_$ac_safe=no"
13460 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13461 echo "$ac_t""yes" 1>&6
13462 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13463 cat >> confdefs.h
<<EOF
13464 #define $ac_tr_hdr 1
13468 echo "$ac_t""no" 1>&6
13473 if test "$ac_cv_header_iostream" = "yes" ; then
13476 cat >> confdefs.h
<<\EOF
13477 #define wxUSE_IOSTREAMH 1
13483 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13484 ac_cpp
='$CPP $CPPFLAGS'
13485 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13486 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13487 cross_compiling
=$ac_cv_prog_cc_cross
13493 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
13494 echo "configure:13495: checking if C++ compiler supports bool" >&5
13495 if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
13496 echo $ac_n "(cached) $ac_c" 1>&6
13501 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13502 ac_cpp
='$CXXCPP $CPPFLAGS'
13503 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13504 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13505 cross_compiling
=$ac_cv_prog_cxx_cross
13508 cat > conftest.
$ac_ext <<EOF
13509 #line 13510 "configure"
13510 #include "confdefs.h"
13521 if { (eval echo configure
:13522: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13527 echo "configure: failed program was:" >&5
13528 cat conftest.
$ac_ext >&5
13538 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13539 ac_cpp
='$CPP $CPPFLAGS'
13540 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13541 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13542 cross_compiling
=$ac_cv_prog_cc_cross
13547 echo "$ac_t""$wx_cv_cpp_bool" 1>&6
13549 if test "$wx_cv_cpp_bool" = "yes"; then
13550 cat >> confdefs.h
<<\EOF
13551 #define HAVE_BOOL 1
13558 echo $ac_n "checking for wcslen in -lc""... $ac_c" 1>&6
13559 echo "configure:13560: checking for wcslen in -lc" >&5
13560 ac_lib_var
=`echo c'_'wcslen | sed 'y%./+-%__p_%'`
13561 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13562 echo $ac_n "(cached) $ac_c" 1>&6
13564 ac_save_LIBS
="$LIBS"
13566 cat > conftest.
$ac_ext <<EOF
13567 #line 13568 "configure"
13568 #include "confdefs.h"
13569 /* Override any gcc2 internal prototype to avoid an error. */
13570 /* We use char because int might match the return type of a gcc2
13571 builtin and then its argument prototype would still apply. */
13578 if { (eval echo configure
:13579: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13580 eval "ac_cv_lib_$ac_lib_var=yes"
13582 echo "configure: failed program was:" >&5
13583 cat conftest.
$ac_ext >&5
13585 eval "ac_cv_lib_$ac_lib_var=no"
13588 LIBS
="$ac_save_LIBS"
13591 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13592 echo "$ac_t""yes" 1>&6
13594 cat >> confdefs.h
<<\EOF
13595 #define HAVE_WCSLEN 1
13601 echo "$ac_t""no" 1>&6
13603 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
13604 echo "configure:13605: checking for wcslen in -lw" >&5
13605 ac_lib_var
=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
13606 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13607 echo $ac_n "(cached) $ac_c" 1>&6
13609 ac_save_LIBS
="$LIBS"
13611 cat > conftest.
$ac_ext <<EOF
13612 #line 13613 "configure"
13613 #include "confdefs.h"
13614 /* Override any gcc2 internal prototype to avoid an error. */
13615 /* We use char because int might match the return type of a gcc2
13616 builtin and then its argument prototype would still apply. */
13623 if { (eval echo configure
:13624: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13625 eval "ac_cv_lib_$ac_lib_var=yes"
13627 echo "configure: failed program was:" >&5
13628 cat conftest.
$ac_ext >&5
13630 eval "ac_cv_lib_$ac_lib_var=no"
13633 LIBS
="$ac_save_LIBS"
13636 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13637 echo "$ac_t""yes" 1>&6
13639 cat >> confdefs.h
<<\EOF
13640 #define HAVE_WCSLEN 1
13646 echo "$ac_t""no" 1>&6
13648 echo $ac_n "checking for wcslen in -lmsvcrt""... $ac_c" 1>&6
13649 echo "configure:13650: checking for wcslen in -lmsvcrt" >&5
13650 ac_lib_var
=`echo msvcrt'_'wcslen | sed 'y%./+-%__p_%'`
13651 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13652 echo $ac_n "(cached) $ac_c" 1>&6
13654 ac_save_LIBS
="$LIBS"
13655 LIBS
="-lmsvcrt $LIBS"
13656 cat > conftest.
$ac_ext <<EOF
13657 #line 13658 "configure"
13658 #include "confdefs.h"
13659 /* Override any gcc2 internal prototype to avoid an error. */
13660 /* We use char because int might match the return type of a gcc2
13661 builtin and then its argument prototype would still apply. */
13668 if { (eval echo configure
:13669: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13670 eval "ac_cv_lib_$ac_lib_var=yes"
13672 echo "configure: failed program was:" >&5
13673 cat conftest.
$ac_ext >&5
13675 eval "ac_cv_lib_$ac_lib_var=no"
13678 LIBS
="$ac_save_LIBS"
13681 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13682 echo "$ac_t""yes" 1>&6
13684 cat >> confdefs.h
<<\EOF
13685 #define HAVE_WCSLEN 1
13691 echo "$ac_t""no" 1>&6
13701 for ac_func
in wcsrtombs
13703 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13704 echo "configure:13705: checking for $ac_func" >&5
13705 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13706 echo $ac_n "(cached) $ac_c" 1>&6
13708 cat > conftest.
$ac_ext <<EOF
13709 #line 13710 "configure"
13710 #include "confdefs.h"
13711 /* System header to define __stub macros and hopefully few prototypes,
13712 which can conflict with char $ac_func(); below. */
13713 #include <assert.h>
13714 /* Override any gcc2 internal prototype to avoid an error. */
13715 /* We use char because int might match the return type of a gcc2
13716 builtin and then its argument prototype would still apply. */
13721 /* The GNU C library defines this for functions which it implements
13722 to always fail with ENOSYS. Some functions are actually named
13723 something starting with __ and the normal name is an alias. */
13724 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13732 if { (eval echo configure
:13733: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13734 eval "ac_cv_func_$ac_func=yes"
13736 echo "configure: failed program was:" >&5
13737 cat conftest.
$ac_ext >&5
13739 eval "ac_cv_func_$ac_func=no"
13744 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13745 echo "$ac_t""yes" 1>&6
13746 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13747 cat >> confdefs.h
<<EOF
13748 #define $ac_tr_func 1
13752 echo "$ac_t""no" 1>&6
13757 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
13758 echo "configure:13759: checking for vprintf" >&5
13759 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
13760 echo $ac_n "(cached) $ac_c" 1>&6
13762 cat > conftest.
$ac_ext <<EOF
13763 #line 13764 "configure"
13764 #include "confdefs.h"
13765 /* System header to define __stub macros and hopefully few prototypes,
13766 which can conflict with char vprintf(); below. */
13767 #include <assert.h>
13768 /* Override any gcc2 internal prototype to avoid an error. */
13769 /* We use char because int might match the return type of a gcc2
13770 builtin and then its argument prototype would still apply. */
13775 /* The GNU C library defines this for functions which it implements
13776 to always fail with ENOSYS. Some functions are actually named
13777 something starting with __ and the normal name is an alias. */
13778 #if defined (__stub_vprintf) || defined (__stub___vprintf)
13786 if { (eval echo configure
:13787: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13788 eval "ac_cv_func_vprintf=yes"
13790 echo "configure: failed program was:" >&5
13791 cat conftest.
$ac_ext >&5
13793 eval "ac_cv_func_vprintf=no"
13798 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
13799 echo "$ac_t""yes" 1>&6
13800 cat >> confdefs.h
<<\EOF
13801 #define HAVE_VPRINTF 1
13805 echo "$ac_t""no" 1>&6
13808 if test "$ac_cv_func_vprintf" != yes; then
13809 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
13810 echo "configure:13811: checking for _doprnt" >&5
13811 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
13812 echo $ac_n "(cached) $ac_c" 1>&6
13814 cat > conftest.
$ac_ext <<EOF
13815 #line 13816 "configure"
13816 #include "confdefs.h"
13817 /* System header to define __stub macros and hopefully few prototypes,
13818 which can conflict with char _doprnt(); below. */
13819 #include <assert.h>
13820 /* Override any gcc2 internal prototype to avoid an error. */
13821 /* We use char because int might match the return type of a gcc2
13822 builtin and then its argument prototype would still apply. */
13827 /* The GNU C library defines this for functions which it implements
13828 to always fail with ENOSYS. Some functions are actually named
13829 something starting with __ and the normal name is an alias. */
13830 #if defined (__stub__doprnt) || defined (__stub____doprnt)
13838 if { (eval echo configure
:13839: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13840 eval "ac_cv_func__doprnt=yes"
13842 echo "configure: failed program was:" >&5
13843 cat conftest.
$ac_ext >&5
13845 eval "ac_cv_func__doprnt=no"
13850 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
13851 echo "$ac_t""yes" 1>&6
13852 cat >> confdefs.h
<<\EOF
13853 #define HAVE_DOPRNT 1
13857 echo "$ac_t""no" 1>&6
13867 echo $ac_n "checking for vsnprintf""... $ac_c" 1>&6
13868 echo "configure:13869: checking for vsnprintf" >&5
13869 if eval "test \"`echo '$''{'wx_cv_func_vsnprintf'+set}'`\" = set"; then
13870 echo $ac_n "(cached) $ac_c" 1>&6
13873 cat > conftest.
$ac_ext <<EOF
13874 #line 13875 "configure"
13875 #include "confdefs.h"
13878 #include <stdarg.h>
13882 int wx_test_vsnprintf(const char *, ...);
13884 wx_test_vsnprintf("%s");
13888 int wx_test_vsnprintf(const char *fmt, ...)
13893 va_start(argp, fmt);
13894 vsnprintf(s, 42, fmt, argp);
13899 if { (eval echo configure
:13900: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13902 wx_cv_func_vsnprintf
=yes
13905 echo "configure: failed program was:" >&5
13906 cat conftest.
$ac_ext >&5
13909 cat > conftest.
$ac_ext <<EOF
13910 #line 13911 "configure"
13911 #include "confdefs.h"
13914 #include <stdarg.h>
13918 int wx_test_vsnprintf(const char *, ...);
13920 wx_test_vsnprintf("%s");
13924 int wx_test_vsnprintf(const char *fmt, ...)
13929 va_start(argp, fmt);
13930 _vsnprintf(s, 42, fmt, argp);
13935 if { (eval echo configure
:13936: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13938 wx_cv_func_vsnprintf
=yes
13941 echo "configure: failed program was:" >&5
13942 cat conftest.
$ac_ext >&5
13945 wx_cv_func_vsnprintf
=no
13955 echo "$ac_t""$wx_cv_func_vsnprintf" 1>&6
13957 if test "$wx_cv_func_vsnprintf" = yes; then
13958 cat >> confdefs.h
<<\EOF
13959 #define HAVE_VSNPRINTF 1
13963 echo "configure: warning: unsafe function sprintf will be used instead of snprintf" 1>&2
13966 echo $ac_n "checking for vsscanf""... $ac_c" 1>&6
13967 echo "configure:13968: checking for vsscanf" >&5
13968 if eval "test \"`echo '$''{'wx_cv_func_vsscanf'+set}'`\" = set"; then
13969 echo $ac_n "(cached) $ac_c" 1>&6
13972 cat > conftest.
$ac_ext <<EOF
13973 #line 13974 "configure"
13974 #include "confdefs.h"
13977 #include <stdarg.h>
13981 int wx_test_vsscanf(const char *, ...);
13983 wx_test_vsscanf("%d");
13987 int wx_test_vsscanf(const char *fmt, ...)
13990 va_start(argp, fmt);
13991 vsscanf("42", fmt, argp);
13996 if { (eval echo configure
:13997: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13999 wx_cv_func_vsscanf
=yes
14002 echo "configure: failed program was:" >&5
14003 cat conftest.
$ac_ext >&5
14006 wx_cv_func_vsscanf
=no
14013 echo "$ac_t""$wx_cv_func_vsscanf" 1>&6
14015 if test "$wx_cv_func_vsscanf" = yes; then
14016 cat >> confdefs.h
<<\EOF
14017 #define HAVE_VSSCANF 1
14022 if test "$TOOLKIT" != "MSW"; then
14027 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14028 ac_cpp
='$CXXCPP $CPPFLAGS'
14029 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14030 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14031 cross_compiling
=$ac_cv_prog_cxx_cross
14033 echo $ac_n "checking if iconv() takes char**""... $ac_c" 1>&6
14034 echo "configure:14035: checking if iconv() takes char**" >&5
14035 if eval "test \"`echo '$''{'wx_cv_iconv_takes_char'+set}'`\" = set"; then
14036 echo $ac_n "(cached) $ac_c" 1>&6
14039 cat > conftest.
$ac_ext <<EOF
14040 #line 14041 "configure"
14041 #include "confdefs.h"
14045 char **inbuf, **outbuf;
14047 size_t insz, outsz;
14048 iconv(cd, inbuf, &insz, outbuf, &outsz);
14052 if { (eval echo configure
:14053: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14054 wx_cv_iconv_takes_char
=yes
14056 echo "configure: failed program was:" >&5
14057 cat conftest.
$ac_ext >&5
14059 wx_cv_iconv_takes_char
=no
14065 echo "$ac_t""$wx_cv_iconv_takes_char" 1>&6
14067 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14068 ac_cpp
='$CPP $CPPFLAGS'
14069 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14070 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14071 cross_compiling
=$ac_cv_prog_cc_cross
14073 if test "$wx_cv_iconv_takes_char" = yes ; then
14074 cat >> confdefs.h
<<\EOF
14075 #define WX_ICONV_TAKES_CHAR 1
14081 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
14082 for ac_func
in sigaction
14084 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14085 echo "configure:14086: checking for $ac_func" >&5
14086 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14087 echo $ac_n "(cached) $ac_c" 1>&6
14089 cat > conftest.
$ac_ext <<EOF
14090 #line 14091 "configure"
14091 #include "confdefs.h"
14092 /* System header to define __stub macros and hopefully few prototypes,
14093 which can conflict with char $ac_func(); below. */
14094 #include <assert.h>
14095 /* Override any gcc2 internal prototype to avoid an error. */
14096 /* We use char because int might match the return type of a gcc2
14097 builtin and then its argument prototype would still apply. */
14102 /* The GNU C library defines this for functions which it implements
14103 to always fail with ENOSYS. Some functions are actually named
14104 something starting with __ and the normal name is an alias. */
14105 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14113 if { (eval echo configure
:14114: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14115 eval "ac_cv_func_$ac_func=yes"
14117 echo "configure: failed program was:" >&5
14118 cat conftest.
$ac_ext >&5
14120 eval "ac_cv_func_$ac_func=no"
14125 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14126 echo "$ac_t""yes" 1>&6
14127 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14128 cat >> confdefs.h
<<EOF
14129 #define $ac_tr_func 1
14133 echo "$ac_t""no" 1>&6
14138 if test "$ac_cv_func_sigaction" = "no"; then
14139 echo "configure: warning: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" 1>&2
14140 wxUSE_ON_FATAL_EXCEPTION
=no
14143 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
14146 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14147 ac_cpp
='$CXXCPP $CPPFLAGS'
14148 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14149 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14150 cross_compiling
=$ac_cv_prog_cxx_cross
14153 echo $ac_n "checking for sa_handler type""... $ac_c" 1>&6
14154 echo "configure:14155: checking for sa_handler type" >&5
14155 if eval "test \"`echo '$''{'wx_cv_type_sa_handler'+set}'`\" = set"; then
14156 echo $ac_n "(cached) $ac_c" 1>&6
14159 cat > conftest.
$ac_ext <<EOF
14160 #line 14161 "configure"
14161 #include "confdefs.h"
14162 #include <signal.h>
14165 extern void testSigHandler(int);
14167 struct sigaction sa;
14168 sa.sa_handler = testSigHandler;
14172 if { (eval echo configure
:14173: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14175 wx_cv_type_sa_handler
=int
14178 echo "configure: failed program was:" >&5
14179 cat conftest.
$ac_ext >&5
14182 wx_cv_type_sa_handler
=void
14189 echo "$ac_t""$wx_cv_type_sa_handler" 1>&6
14192 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14193 ac_cpp
='$CPP $CPPFLAGS'
14194 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14195 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14196 cross_compiling
=$ac_cv_prog_cc_cross
14199 cat >> confdefs.h
<<EOF
14200 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
14206 for ac_func
in vfork
14208 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14209 echo "configure:14210: checking for $ac_func" >&5
14210 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14211 echo $ac_n "(cached) $ac_c" 1>&6
14213 cat > conftest.
$ac_ext <<EOF
14214 #line 14215 "configure"
14215 #include "confdefs.h"
14216 /* System header to define __stub macros and hopefully few prototypes,
14217 which can conflict with char $ac_func(); below. */
14218 #include <assert.h>
14219 /* Override any gcc2 internal prototype to avoid an error. */
14220 /* We use char because int might match the return type of a gcc2
14221 builtin and then its argument prototype would still apply. */
14226 /* The GNU C library defines this for functions which it implements
14227 to always fail with ENOSYS. Some functions are actually named
14228 something starting with __ and the normal name is an alias. */
14229 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14237 if { (eval echo configure
:14238: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14239 eval "ac_cv_func_$ac_func=yes"
14241 echo "configure: failed program was:" >&5
14242 cat conftest.
$ac_ext >&5
14244 eval "ac_cv_func_$ac_func=no"
14249 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14250 echo "$ac_t""yes" 1>&6
14251 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14252 cat >> confdefs.h
<<EOF
14253 #define $ac_tr_func 1
14257 echo "$ac_t""no" 1>&6
14262 echo $ac_n "checking for statfs""... $ac_c" 1>&6
14263 echo "configure:14264: checking for statfs" >&5
14264 if eval "test \"`echo '$''{'wx_cv_func_statfs'+set}'`\" = set"; then
14265 echo $ac_n "(cached) $ac_c" 1>&6
14267 cat > conftest.
$ac_ext <<EOF
14268 #line 14269 "configure"
14269 #include "confdefs.h"
14271 #if defined(__BSD__)
14272 #include <sys/param.h>
14273 #include <sys/mount.h>
14275 #include <sys/vfs.h>
14289 if { (eval echo configure
:14290: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14292 wx_cv_func_statfs
=yes
14295 echo "configure: failed program was:" >&5
14296 cat conftest.
$ac_ext >&5
14299 wx_cv_func_statfs
=no
14307 echo "$ac_t""$wx_cv_func_statfs" 1>&6
14309 if test "$wx_cv_func_statfs" = "yes"; then
14310 cat >> confdefs.h
<<\EOF
14311 #define HAVE_STATFS 1
14315 echo $ac_n "checking for statvfs""... $ac_c" 1>&6
14316 echo "configure:14317: checking for statvfs" >&5
14317 if eval "test \"`echo '$''{'wx_cv_func_statvfs'+set}'`\" = set"; then
14318 echo $ac_n "(cached) $ac_c" 1>&6
14320 cat > conftest.
$ac_ext <<EOF
14321 #line 14322 "configure"
14322 #include "confdefs.h"
14324 #include <sys/statvfs.h>
14337 if { (eval echo configure
:14338: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14340 wx_cv_func_statvfs
=yes
14343 echo "configure: failed program was:" >&5
14344 cat conftest.
$ac_ext >&5
14347 wx_cv_func_statvfs
=no
14355 echo "$ac_t""$wx_cv_func_statvfs" 1>&6
14357 if test "$wx_cv_func_statvfs" = "yes"; then
14358 cat >> confdefs.h
<<\EOF
14359 #define HAVE_STATVFS 1
14363 echo "configure: warning: wxGetDiskSpace() function won't work without statfs()" 1>&2
14367 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
14368 for ac_func
in fcntl flock
14370 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14371 echo "configure:14372: checking for $ac_func" >&5
14372 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14373 echo $ac_n "(cached) $ac_c" 1>&6
14375 cat > conftest.
$ac_ext <<EOF
14376 #line 14377 "configure"
14377 #include "confdefs.h"
14378 /* System header to define __stub macros and hopefully few prototypes,
14379 which can conflict with char $ac_func(); below. */
14380 #include <assert.h>
14381 /* Override any gcc2 internal prototype to avoid an error. */
14382 /* We use char because int might match the return type of a gcc2
14383 builtin and then its argument prototype would still apply. */
14388 /* The GNU C library defines this for functions which it implements
14389 to always fail with ENOSYS. Some functions are actually named
14390 something starting with __ and the normal name is an alias. */
14391 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14399 if { (eval echo configure
:14400: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14401 eval "ac_cv_func_$ac_func=yes"
14403 echo "configure: failed program was:" >&5
14404 cat conftest.
$ac_ext >&5
14406 eval "ac_cv_func_$ac_func=no"
14411 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14412 echo "$ac_t""yes" 1>&6
14413 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14414 cat >> confdefs.h
<<EOF
14415 #define $ac_tr_func 1
14419 echo "$ac_t""no" 1>&6
14424 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
14425 echo "configure: warning: wxSingleInstanceChecker not available" 1>&2
14426 wxUSE_SNGLINST_CHECKER
=no
14430 for ac_func
in timegm
14432 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14433 echo "configure:14434: checking for $ac_func" >&5
14434 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14435 echo $ac_n "(cached) $ac_c" 1>&6
14437 cat > conftest.
$ac_ext <<EOF
14438 #line 14439 "configure"
14439 #include "confdefs.h"
14440 /* System header to define __stub macros and hopefully few prototypes,
14441 which can conflict with char $ac_func(); below. */
14442 #include <assert.h>
14443 /* Override any gcc2 internal prototype to avoid an error. */
14444 /* We use char because int might match the return type of a gcc2
14445 builtin and then its argument prototype would still apply. */
14450 /* The GNU C library defines this for functions which it implements
14451 to always fail with ENOSYS. Some functions are actually named
14452 something starting with __ and the normal name is an alias. */
14453 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14461 if { (eval echo configure
:14462: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14463 eval "ac_cv_func_$ac_func=yes"
14465 echo "configure: failed program was:" >&5
14466 cat conftest.
$ac_ext >&5
14468 eval "ac_cv_func_$ac_func=no"
14473 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14474 echo "$ac_t""yes" 1>&6
14475 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14476 cat >> confdefs.h
<<EOF
14477 #define $ac_tr_func 1
14481 echo "$ac_t""no" 1>&6
14486 for ac_func
in putenv setenv
14488 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14489 echo "configure:14490: checking for $ac_func" >&5
14490 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14491 echo $ac_n "(cached) $ac_c" 1>&6
14493 cat > conftest.
$ac_ext <<EOF
14494 #line 14495 "configure"
14495 #include "confdefs.h"
14496 /* System header to define __stub macros and hopefully few prototypes,
14497 which can conflict with char $ac_func(); below. */
14498 #include <assert.h>
14499 /* Override any gcc2 internal prototype to avoid an error. */
14500 /* We use char because int might match the return type of a gcc2
14501 builtin and then its argument prototype would still apply. */
14506 /* The GNU C library defines this for functions which it implements
14507 to always fail with ENOSYS. Some functions are actually named
14508 something starting with __ and the normal name is an alias. */
14509 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14517 if { (eval echo configure
:14518: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14519 eval "ac_cv_func_$ac_func=yes"
14521 echo "configure: failed program was:" >&5
14522 cat conftest.
$ac_ext >&5
14524 eval "ac_cv_func_$ac_func=no"
14529 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14530 echo "$ac_t""yes" 1>&6
14531 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14532 cat >> confdefs.h
<<EOF
14533 #define $ac_tr_func 1
14537 echo "$ac_t""no" 1>&6
14542 HAVE_SOME_SLEEP_FUNC
=0
14543 if test "$USE_BEOS" = 1; then
14544 cat >> confdefs.h
<<\EOF
14545 #define HAVE_SLEEP 1
14548 HAVE_SOME_SLEEP_FUNC
=1
14551 if test "$USE_DARWIN" = 1; then
14552 cat >> confdefs.h
<<\EOF
14553 #define HAVE_USLEEP 1
14556 HAVE_SOME_SLEEP_FUNC
=1
14559 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
14561 for ac_func
in nanosleep
14563 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14564 echo "configure:14565: checking for $ac_func" >&5
14565 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14566 echo $ac_n "(cached) $ac_c" 1>&6
14568 cat > conftest.
$ac_ext <<EOF
14569 #line 14570 "configure"
14570 #include "confdefs.h"
14571 /* System header to define __stub macros and hopefully few prototypes,
14572 which can conflict with char $ac_func(); below. */
14573 #include <assert.h>
14574 /* Override any gcc2 internal prototype to avoid an error. */
14575 /* We use char because int might match the return type of a gcc2
14576 builtin and then its argument prototype would still apply. */
14581 /* The GNU C library defines this for functions which it implements
14582 to always fail with ENOSYS. Some functions are actually named
14583 something starting with __ and the normal name is an alias. */
14584 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14592 if { (eval echo configure
:14593: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14594 eval "ac_cv_func_$ac_func=yes"
14596 echo "configure: failed program was:" >&5
14597 cat conftest.
$ac_ext >&5
14599 eval "ac_cv_func_$ac_func=no"
14604 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14605 echo "$ac_t""yes" 1>&6
14606 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14607 cat >> confdefs.h
<<EOF
14608 #define $ac_tr_func 1
14610 cat >> confdefs.h
<<\EOF
14611 #define HAVE_NANOSLEEP 1
14615 echo "$ac_t""no" 1>&6
14616 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
14617 echo "configure:14618: checking for nanosleep in -lposix4" >&5
14618 ac_lib_var
=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
14619 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14620 echo $ac_n "(cached) $ac_c" 1>&6
14622 ac_save_LIBS
="$LIBS"
14623 LIBS
="-lposix4 $LIBS"
14624 cat > conftest.
$ac_ext <<EOF
14625 #line 14626 "configure"
14626 #include "confdefs.h"
14627 /* Override any gcc2 internal prototype to avoid an error. */
14628 /* We use char because int might match the return type of a gcc2
14629 builtin and then its argument prototype would still apply. */
14636 if { (eval echo configure
:14637: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14638 eval "ac_cv_lib_$ac_lib_var=yes"
14640 echo "configure: failed program was:" >&5
14641 cat conftest.
$ac_ext >&5
14643 eval "ac_cv_lib_$ac_lib_var=no"
14646 LIBS
="$ac_save_LIBS"
14649 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14650 echo "$ac_t""yes" 1>&6
14652 cat >> confdefs.h
<<\EOF
14653 #define HAVE_NANOSLEEP 1
14656 POSIX4_LINK
="-lposix4"
14659 echo "$ac_t""no" 1>&6
14661 for ac_func
in usleep
14663 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14664 echo "configure:14665: checking for $ac_func" >&5
14665 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14666 echo $ac_n "(cached) $ac_c" 1>&6
14668 cat > conftest.
$ac_ext <<EOF
14669 #line 14670 "configure"
14670 #include "confdefs.h"
14671 /* System header to define __stub macros and hopefully few prototypes,
14672 which can conflict with char $ac_func(); below. */
14673 #include <assert.h>
14674 /* Override any gcc2 internal prototype to avoid an error. */
14675 /* We use char because int might match the return type of a gcc2
14676 builtin and then its argument prototype would still apply. */
14681 /* The GNU C library defines this for functions which it implements
14682 to always fail with ENOSYS. Some functions are actually named
14683 something starting with __ and the normal name is an alias. */
14684 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14692 if { (eval echo configure
:14693: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14694 eval "ac_cv_func_$ac_func=yes"
14696 echo "configure: failed program was:" >&5
14697 cat conftest.
$ac_ext >&5
14699 eval "ac_cv_func_$ac_func=no"
14704 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14705 echo "$ac_t""yes" 1>&6
14706 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14707 cat >> confdefs.h
<<EOF
14708 #define $ac_tr_func 1
14710 cat >> confdefs.h
<<\EOF
14711 #define HAVE_USLEEP 1
14715 echo "$ac_t""no" 1>&6
14716 echo "configure: warning: wxSleep() function will not work" 1>&2
14732 for ac_func
in uname gethostname
14734 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14735 echo "configure:14736: checking for $ac_func" >&5
14736 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14737 echo $ac_n "(cached) $ac_c" 1>&6
14739 cat > conftest.
$ac_ext <<EOF
14740 #line 14741 "configure"
14741 #include "confdefs.h"
14742 /* System header to define __stub macros and hopefully few prototypes,
14743 which can conflict with char $ac_func(); below. */
14744 #include <assert.h>
14745 /* Override any gcc2 internal prototype to avoid an error. */
14746 /* We use char because int might match the return type of a gcc2
14747 builtin and then its argument prototype would still apply. */
14752 /* The GNU C library defines this for functions which it implements
14753 to always fail with ENOSYS. Some functions are actually named
14754 something starting with __ and the normal name is an alias. */
14755 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14763 if { (eval echo configure
:14764: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14765 eval "ac_cv_func_$ac_func=yes"
14767 echo "configure: failed program was:" >&5
14768 cat conftest.
$ac_ext >&5
14770 eval "ac_cv_func_$ac_func=no"
14775 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14776 echo "$ac_t""yes" 1>&6
14777 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14778 cat >> confdefs.h
<<EOF
14779 #define $ac_tr_func 1
14783 echo "$ac_t""no" 1>&6
14790 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14791 ac_cpp
='$CXXCPP $CPPFLAGS'
14792 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14793 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14794 cross_compiling
=$ac_cv_prog_cxx_cross
14797 for ac_func
in strtok_r
14799 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14800 echo "configure:14801: checking for $ac_func" >&5
14801 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14802 echo $ac_n "(cached) $ac_c" 1>&6
14804 cat > conftest.
$ac_ext <<EOF
14805 #line 14806 "configure"
14806 #include "confdefs.h"
14807 /* System header to define __stub macros and hopefully few prototypes,
14808 which can conflict with char $ac_func(); below. */
14809 #include <assert.h>
14810 /* Override any gcc2 internal prototype to avoid an error. */
14814 /* We use char because int might match the return type of a gcc2
14815 builtin and then its argument prototype would still apply. */
14820 /* The GNU C library defines this for functions which it implements
14821 to always fail with ENOSYS. Some functions are actually named
14822 something starting with __ and the normal name is an alias. */
14823 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14831 if { (eval echo configure
:14832: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14833 eval "ac_cv_func_$ac_func=yes"
14835 echo "configure: failed program was:" >&5
14836 cat conftest.
$ac_ext >&5
14838 eval "ac_cv_func_$ac_func=no"
14843 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14844 echo "$ac_t""yes" 1>&6
14845 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14846 cat >> confdefs.h
<<EOF
14847 #define $ac_tr_func 1
14851 echo "$ac_t""no" 1>&6
14857 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14858 ac_cpp
='$CPP $CPPFLAGS'
14859 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14860 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14861 cross_compiling
=$ac_cv_prog_cc_cross
14865 for ac_func
in inet_addr
14867 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14868 echo "configure:14869: checking for $ac_func" >&5
14869 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14870 echo $ac_n "(cached) $ac_c" 1>&6
14872 cat > conftest.
$ac_ext <<EOF
14873 #line 14874 "configure"
14874 #include "confdefs.h"
14875 /* System header to define __stub macros and hopefully few prototypes,
14876 which can conflict with char $ac_func(); below. */
14877 #include <assert.h>
14878 /* Override any gcc2 internal prototype to avoid an error. */
14879 /* We use char because int might match the return type of a gcc2
14880 builtin and then its argument prototype would still apply. */
14885 /* The GNU C library defines this for functions which it implements
14886 to always fail with ENOSYS. Some functions are actually named
14887 something starting with __ and the normal name is an alias. */
14888 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14896 if { (eval echo configure
:14897: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14898 eval "ac_cv_func_$ac_func=yes"
14900 echo "configure: failed program was:" >&5
14901 cat conftest.
$ac_ext >&5
14903 eval "ac_cv_func_$ac_func=no"
14908 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14909 echo "$ac_t""yes" 1>&6
14910 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14911 cat >> confdefs.h
<<EOF
14912 #define $ac_tr_func 1
14914 cat >> confdefs.h
<<\EOF
14915 #define HAVE_INET_ADDR 1
14919 echo "$ac_t""no" 1>&6
14920 echo $ac_n "checking for inet_addr in -lnsl""... $ac_c" 1>&6
14921 echo "configure:14922: checking for inet_addr in -lnsl" >&5
14922 ac_lib_var
=`echo nsl'_'inet_addr | sed 'y%./+-%__p_%'`
14923 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14924 echo $ac_n "(cached) $ac_c" 1>&6
14926 ac_save_LIBS
="$LIBS"
14928 cat > conftest.
$ac_ext <<EOF
14929 #line 14930 "configure"
14930 #include "confdefs.h"
14931 /* Override any gcc2 internal prototype to avoid an error. */
14932 /* We use char because int might match the return type of a gcc2
14933 builtin and then its argument prototype would still apply. */
14940 if { (eval echo configure
:14941: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14942 eval "ac_cv_lib_$ac_lib_var=yes"
14944 echo "configure: failed program was:" >&5
14945 cat conftest.
$ac_ext >&5
14947 eval "ac_cv_lib_$ac_lib_var=no"
14950 LIBS
="$ac_save_LIBS"
14953 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14954 echo "$ac_t""yes" 1>&6
14957 echo "$ac_t""no" 1>&6
14958 echo $ac_n "checking for inet_addr in -lresolv""... $ac_c" 1>&6
14959 echo "configure:14960: checking for inet_addr in -lresolv" >&5
14960 ac_lib_var
=`echo resolv'_'inet_addr | sed 'y%./+-%__p_%'`
14961 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14962 echo $ac_n "(cached) $ac_c" 1>&6
14964 ac_save_LIBS
="$LIBS"
14965 LIBS
="-lresolv $LIBS"
14966 cat > conftest.
$ac_ext <<EOF
14967 #line 14968 "configure"
14968 #include "confdefs.h"
14969 /* Override any gcc2 internal prototype to avoid an error. */
14970 /* We use char because int might match the return type of a gcc2
14971 builtin and then its argument prototype would still apply. */
14978 if { (eval echo configure
:14979: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14980 eval "ac_cv_lib_$ac_lib_var=yes"
14982 echo "configure: failed program was:" >&5
14983 cat conftest.
$ac_ext >&5
14985 eval "ac_cv_lib_$ac_lib_var=no"
14988 LIBS
="$ac_save_LIBS"
14991 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14992 echo "$ac_t""yes" 1>&6
14996 echo "$ac_t""no" 1>&6
15008 for ac_func
in inet_aton
15010 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15011 echo "configure:15012: checking for $ac_func" >&5
15012 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15013 echo $ac_n "(cached) $ac_c" 1>&6
15015 cat > conftest.
$ac_ext <<EOF
15016 #line 15017 "configure"
15017 #include "confdefs.h"
15018 /* System header to define __stub macros and hopefully few prototypes,
15019 which can conflict with char $ac_func(); below. */
15020 #include <assert.h>
15021 /* Override any gcc2 internal prototype to avoid an error. */
15022 /* We use char because int might match the return type of a gcc2
15023 builtin and then its argument prototype would still apply. */
15028 /* The GNU C library defines this for functions which it implements
15029 to always fail with ENOSYS. Some functions are actually named
15030 something starting with __ and the normal name is an alias. */
15031 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15039 if { (eval echo configure
:15040: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15041 eval "ac_cv_func_$ac_func=yes"
15043 echo "configure: failed program was:" >&5
15044 cat conftest.
$ac_ext >&5
15046 eval "ac_cv_func_$ac_func=no"
15051 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15052 echo "$ac_t""yes" 1>&6
15053 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15054 cat >> confdefs.h
<<EOF
15055 #define $ac_tr_func 1
15057 cat >> confdefs.h
<<\EOF
15058 #define HAVE_INET_ATON 1
15062 echo "$ac_t""no" 1>&6
15063 echo $ac_n "checking for inet_aton in -l$INET_LINK""... $ac_c" 1>&6
15064 echo "configure:15065: checking for inet_aton in -l$INET_LINK" >&5
15065 ac_lib_var
=`echo $INET_LINK'_'inet_aton | sed 'y%./+-%__p_%'`
15066 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15067 echo $ac_n "(cached) $ac_c" 1>&6
15069 ac_save_LIBS
="$LIBS"
15070 LIBS
="-l$INET_LINK $LIBS"
15071 cat > conftest.
$ac_ext <<EOF
15072 #line 15073 "configure"
15073 #include "confdefs.h"
15074 /* Override any gcc2 internal prototype to avoid an error. */
15075 /* We use char because int might match the return type of a gcc2
15076 builtin and then its argument prototype would still apply. */
15083 if { (eval echo configure
:15084: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15085 eval "ac_cv_lib_$ac_lib_var=yes"
15087 echo "configure: failed program was:" >&5
15088 cat conftest.
$ac_ext >&5
15090 eval "ac_cv_lib_$ac_lib_var=no"
15093 LIBS
="$ac_save_LIBS"
15096 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15097 echo "$ac_t""yes" 1>&6
15098 cat >> confdefs.h
<<\EOF
15099 #define HAVE_INET_ATON 1
15103 echo "$ac_t""no" 1>&6
15111 if test "x$INET_LINK" != "x"; then
15112 cat >> confdefs.h
<<\EOF
15113 #define HAVE_INET_ADDR 1
15116 INET_LINK
="-l$INET_LINK"
15122 cat > confcache
<<\EOF
15123 # This file is a shell script that caches the results of configure
15124 # tests run on this system so they can be shared between configure
15125 # scripts and configure runs. It is not useful on other systems.
15126 # If it contains results you don't want to keep, you may remove or edit it.
15128 # By default, configure uses ./config.cache as the cache file,
15129 # creating it if it does not exist already. You can give configure
15130 # the --cache-file=FILE option to use a different cache file; that is
15131 # what configure does when it calls configure scripts in
15132 # subdirectories, so they share the cache.
15133 # Giving --cache-file=/dev/null disables caching, for debugging configure.
15134 # config.status only pays attention to the cache file if you give it the
15135 # --recheck option to rerun configure.
15138 # The following way of writing the cache mishandles newlines in values,
15139 # but we know of no workaround that is simple, portable, and efficient.
15140 # So, don't put newlines in cache variables' values.
15141 # Ultrix sh set writes to stderr and can't be redirected directly,
15142 # and sets the high bit in the cache file unless we assign to the vars.
15144 case `(ac_space=' '; set | grep ac_space) 2>&1` in
15146 # `set' does not quote correctly, so add quotes (double-quote substitution
15147 # turns \\\\ into \\, and sed turns \\ into \).
15149 -e "s/'/'\\\\''/g" \
15150 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
15153 # `set' quotes correctly as required by POSIX, so do not add quotes.
15154 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
15157 if cmp -s $cache_file confcache
; then
15160 if test -w $cache_file; then
15161 echo "updating cache $cache_file"
15162 cat confcache
> $cache_file
15164 echo "not updating unwritable cache $cache_file"
15171 if test "$TOOLKIT" != "MSW"; then
15177 CODE_GEN_FLAGS_CXX
=
15179 if test "$wxUSE_THREADS" = "yes" ; then
15180 if test "$wxUSE_WINE" = 1 ; then
15181 echo "configure: warning: Threads are not supported under WINE" 1>&2
15183 elif test "$USE_BEOS" = 1; then
15184 echo "configure: warning: BeOS threads are not yet supported" 1>&2
15189 if test "$wxUSE_THREADS" = "yes" ; then
15191 if test "$USE_AIX" = 1; then
15192 THREADS_LIB
=pthreads
15194 THREADS_LIB
=pthread
15197 echo $ac_n "checking for pthread_create in -l$THREADS_LIB""... $ac_c" 1>&6
15198 echo "configure:15199: checking for pthread_create in -l$THREADS_LIB" >&5
15199 ac_lib_var
=`echo $THREADS_LIB'_'pthread_create | sed 'y%./+-%__p_%'`
15200 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15201 echo $ac_n "(cached) $ac_c" 1>&6
15203 ac_save_LIBS
="$LIBS"
15204 LIBS
="-l$THREADS_LIB $LIBS"
15205 cat > conftest.
$ac_ext <<EOF
15206 #line 15207 "configure"
15207 #include "confdefs.h"
15208 /* Override any gcc2 internal prototype to avoid an error. */
15209 /* We use char because int might match the return type of a gcc2
15210 builtin and then its argument prototype would still apply. */
15211 char pthread_create();
15217 if { (eval echo configure
:15218: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15219 eval "ac_cv_lib_$ac_lib_var=yes"
15221 echo "configure: failed program was:" >&5
15222 cat conftest.
$ac_ext >&5
15224 eval "ac_cv_lib_$ac_lib_var=no"
15227 LIBS
="$ac_save_LIBS"
15230 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15231 echo "$ac_t""yes" 1>&6
15233 THREADS_OBJ
="threadpsx.lo"
15234 THREADS_LINK
=$THREADS_LIB
15237 echo "$ac_t""no" 1>&6
15239 echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
15240 echo "configure:15241: checking for pthread_create in -lc_r" >&5
15241 ac_lib_var
=`echo c_r'_'pthread_create | sed 'y%./+-%__p_%'`
15242 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15243 echo $ac_n "(cached) $ac_c" 1>&6
15245 ac_save_LIBS
="$LIBS"
15247 cat > conftest.
$ac_ext <<EOF
15248 #line 15249 "configure"
15249 #include "confdefs.h"
15250 /* Override any gcc2 internal prototype to avoid an error. */
15251 /* We use char because int might match the return type of a gcc2
15252 builtin and then its argument prototype would still apply. */
15253 char pthread_create();
15259 if { (eval echo configure
:15260: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15261 eval "ac_cv_lib_$ac_lib_var=yes"
15263 echo "configure: failed program was:" >&5
15264 cat conftest.
$ac_ext >&5
15266 eval "ac_cv_lib_$ac_lib_var=no"
15269 LIBS
="$ac_save_LIBS"
15272 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15273 echo "$ac_t""yes" 1>&6
15275 THREADS_OBJ
="threadpsx.lo"
15279 echo "$ac_t""no" 1>&6
15281 ac_safe
=`echo "sys/prctl.h" | sed 'y%./+-%__p_%'`
15282 echo $ac_n "checking for sys/prctl.h""... $ac_c" 1>&6
15283 echo "configure:15284: checking for sys/prctl.h" >&5
15284 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15285 echo $ac_n "(cached) $ac_c" 1>&6
15287 cat > conftest.
$ac_ext <<EOF
15288 #line 15289 "configure"
15289 #include "confdefs.h"
15290 #include <sys/prctl.h>
15292 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15293 { (eval echo configure
:15294: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15294 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15295 if test -z "$ac_err"; then
15297 eval "ac_cv_header_$ac_safe=yes"
15300 echo "configure: failed program was:" >&5
15301 cat conftest.
$ac_ext >&5
15303 eval "ac_cv_header_$ac_safe=no"
15307 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15308 echo "$ac_t""yes" 1>&6
15310 THREADS_OBJ
="threadsgi.lo"
15313 echo "$ac_t""no" 1>&6
15323 if test -z "$THREADS_OBJ" ; then
15325 echo "configure: warning: No thread support on this system" 1>&2
15329 if test "$wxUSE_THREADS" = "yes" ; then
15330 for ac_func
in thr_setconcurrency
15332 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15333 echo "configure:15334: checking for $ac_func" >&5
15334 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15335 echo $ac_n "(cached) $ac_c" 1>&6
15337 cat > conftest.
$ac_ext <<EOF
15338 #line 15339 "configure"
15339 #include "confdefs.h"
15340 /* System header to define __stub macros and hopefully few prototypes,
15341 which can conflict with char $ac_func(); below. */
15342 #include <assert.h>
15343 /* Override any gcc2 internal prototype to avoid an error. */
15344 /* We use char because int might match the return type of a gcc2
15345 builtin and then its argument prototype would still apply. */
15350 /* The GNU C library defines this for functions which it implements
15351 to always fail with ENOSYS. Some functions are actually named
15352 something starting with __ and the normal name is an alias. */
15353 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15361 if { (eval echo configure
:15362: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15363 eval "ac_cv_func_$ac_func=yes"
15365 echo "configure: failed program was:" >&5
15366 cat conftest.
$ac_ext >&5
15368 eval "ac_cv_func_$ac_func=no"
15373 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15374 echo "$ac_t""yes" 1>&6
15375 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15376 cat >> confdefs.h
<<EOF
15377 #define $ac_tr_func 1
15381 echo "$ac_t""no" 1>&6
15387 for ac_hdr
in sched.h
15389 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
15390 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
15391 echo "configure:15392: checking for $ac_hdr" >&5
15392 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15393 echo $ac_n "(cached) $ac_c" 1>&6
15395 cat > conftest.
$ac_ext <<EOF
15396 #line 15397 "configure"
15397 #include "confdefs.h"
15400 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15401 { (eval echo configure
:15402: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15402 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15403 if test -z "$ac_err"; then
15405 eval "ac_cv_header_$ac_safe=yes"
15408 echo "configure: failed program was:" >&5
15409 cat conftest.
$ac_ext >&5
15411 eval "ac_cv_header_$ac_safe=no"
15415 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15416 echo "$ac_t""yes" 1>&6
15417 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
15418 cat >> confdefs.h
<<EOF
15419 #define $ac_tr_hdr 1
15423 echo "$ac_t""no" 1>&6
15428 echo $ac_n "checking for sched_yield in -l$THREADS_LINK""... $ac_c" 1>&6
15429 echo "configure:15430: checking for sched_yield in -l$THREADS_LINK" >&5
15430 ac_lib_var
=`echo $THREADS_LINK'_'sched_yield | sed 'y%./+-%__p_%'`
15431 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15432 echo $ac_n "(cached) $ac_c" 1>&6
15434 ac_save_LIBS
="$LIBS"
15435 LIBS
="-l$THREADS_LINK $LIBS"
15436 cat > conftest.
$ac_ext <<EOF
15437 #line 15438 "configure"
15438 #include "confdefs.h"
15439 /* Override any gcc2 internal prototype to avoid an error. */
15440 /* We use char because int might match the return type of a gcc2
15441 builtin and then its argument prototype would still apply. */
15442 char sched_yield();
15448 if { (eval echo configure
:15449: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15450 eval "ac_cv_lib_$ac_lib_var=yes"
15452 echo "configure: failed program was:" >&5
15453 cat conftest.
$ac_ext >&5
15455 eval "ac_cv_lib_$ac_lib_var=no"
15458 LIBS
="$ac_save_LIBS"
15461 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15462 echo "$ac_t""yes" 1>&6
15463 cat >> confdefs.h
<<\EOF
15464 #define HAVE_SCHED_YIELD 1
15468 echo "$ac_t""no" 1>&6
15469 echo $ac_n "checking for sched_yield in -lposix4""... $ac_c" 1>&6
15470 echo "configure:15471: checking for sched_yield in -lposix4" >&5
15471 ac_lib_var
=`echo posix4'_'sched_yield | sed 'y%./+-%__p_%'`
15472 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15473 echo $ac_n "(cached) $ac_c" 1>&6
15475 ac_save_LIBS
="$LIBS"
15476 LIBS
="-lposix4 $LIBS"
15477 cat > conftest.
$ac_ext <<EOF
15478 #line 15479 "configure"
15479 #include "confdefs.h"
15480 /* Override any gcc2 internal prototype to avoid an error. */
15481 /* We use char because int might match the return type of a gcc2
15482 builtin and then its argument prototype would still apply. */
15483 char sched_yield();
15489 if { (eval echo configure
:15490: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15491 eval "ac_cv_lib_$ac_lib_var=yes"
15493 echo "configure: failed program was:" >&5
15494 cat conftest.
$ac_ext >&5
15496 eval "ac_cv_lib_$ac_lib_var=no"
15499 LIBS
="$ac_save_LIBS"
15502 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15503 echo "$ac_t""yes" 1>&6
15504 cat >> confdefs.h
<<\EOF
15505 #define HAVE_SCHED_YIELD 1
15507 POSIX4_LINK
="-lposix4"
15509 echo "$ac_t""no" 1>&6
15510 echo "configure: warning: wxThread::Yield will not work properly" 1>&2
15519 echo $ac_n "checking for pthread_attr_getschedpolicy in -l$THREADS_LINK""... $ac_c" 1>&6
15520 echo "configure:15521: checking for pthread_attr_getschedpolicy in -l$THREADS_LINK" >&5
15521 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
15522 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15523 echo $ac_n "(cached) $ac_c" 1>&6
15525 ac_save_LIBS
="$LIBS"
15526 LIBS
="-l$THREADS_LINK $LIBS"
15527 cat > conftest.
$ac_ext <<EOF
15528 #line 15529 "configure"
15529 #include "confdefs.h"
15530 /* Override any gcc2 internal prototype to avoid an error. */
15531 /* We use char because int might match the return type of a gcc2
15532 builtin and then its argument prototype would still apply. */
15533 char pthread_attr_getschedpolicy();
15536 pthread_attr_getschedpolicy()
15539 if { (eval echo configure
:15540: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15541 eval "ac_cv_lib_$ac_lib_var=yes"
15543 echo "configure: failed program was:" >&5
15544 cat conftest.
$ac_ext >&5
15546 eval "ac_cv_lib_$ac_lib_var=no"
15549 LIBS
="$ac_save_LIBS"
15552 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15553 echo "$ac_t""yes" 1>&6
15554 echo $ac_n "checking for pthread_attr_setschedparam in -l$THREADS_LINK""... $ac_c" 1>&6
15555 echo "configure:15556: checking for pthread_attr_setschedparam in -l$THREADS_LINK" >&5
15556 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_setschedparam | sed 'y%./+-%__p_%'`
15557 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15558 echo $ac_n "(cached) $ac_c" 1>&6
15560 ac_save_LIBS
="$LIBS"
15561 LIBS
="-l$THREADS_LINK $LIBS"
15562 cat > conftest.
$ac_ext <<EOF
15563 #line 15564 "configure"
15564 #include "confdefs.h"
15565 /* Override any gcc2 internal prototype to avoid an error. */
15566 /* We use char because int might match the return type of a gcc2
15567 builtin and then its argument prototype would still apply. */
15568 char pthread_attr_setschedparam();
15571 pthread_attr_setschedparam()
15574 if { (eval echo configure
:15575: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15576 eval "ac_cv_lib_$ac_lib_var=yes"
15578 echo "configure: failed program was:" >&5
15579 cat conftest.
$ac_ext >&5
15581 eval "ac_cv_lib_$ac_lib_var=no"
15584 LIBS
="$ac_save_LIBS"
15587 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15588 echo "$ac_t""yes" 1>&6
15589 echo $ac_n "checking for sched_get_priority_max in -l$THREADS_LINK""... $ac_c" 1>&6
15590 echo "configure:15591: checking for sched_get_priority_max in -l$THREADS_LINK" >&5
15591 ac_lib_var
=`echo $THREADS_LINK'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
15592 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15593 echo $ac_n "(cached) $ac_c" 1>&6
15595 ac_save_LIBS
="$LIBS"
15596 LIBS
="-l$THREADS_LINK $LIBS"
15597 cat > conftest.
$ac_ext <<EOF
15598 #line 15599 "configure"
15599 #include "confdefs.h"
15600 /* Override any gcc2 internal prototype to avoid an error. */
15601 /* We use char because int might match the return type of a gcc2
15602 builtin and then its argument prototype would still apply. */
15603 char sched_get_priority_max();
15606 sched_get_priority_max()
15609 if { (eval echo configure
:15610: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15611 eval "ac_cv_lib_$ac_lib_var=yes"
15613 echo "configure: failed program was:" >&5
15614 cat conftest.
$ac_ext >&5
15616 eval "ac_cv_lib_$ac_lib_var=no"
15619 LIBS
="$ac_save_LIBS"
15622 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15623 echo "$ac_t""yes" 1>&6
15626 echo "$ac_t""no" 1>&6
15627 echo $ac_n "checking for sched_get_priority_max in -lposix4""... $ac_c" 1>&6
15628 echo "configure:15629: checking for sched_get_priority_max in -lposix4" >&5
15629 ac_lib_var
=`echo posix4'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
15630 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15631 echo $ac_n "(cached) $ac_c" 1>&6
15633 ac_save_LIBS
="$LIBS"
15634 LIBS
="-lposix4 $LIBS"
15635 cat > conftest.
$ac_ext <<EOF
15636 #line 15637 "configure"
15637 #include "confdefs.h"
15638 /* Override any gcc2 internal prototype to avoid an error. */
15639 /* We use char because int might match the return type of a gcc2
15640 builtin and then its argument prototype would still apply. */
15641 char sched_get_priority_max();
15644 sched_get_priority_max()
15647 if { (eval echo configure
:15648: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15649 eval "ac_cv_lib_$ac_lib_var=yes"
15651 echo "configure: failed program was:" >&5
15652 cat conftest.
$ac_ext >&5
15654 eval "ac_cv_lib_$ac_lib_var=no"
15657 LIBS
="$ac_save_LIBS"
15660 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15661 echo "$ac_t""yes" 1>&6
15664 POSIX4_LINK
="-lposix4"
15667 echo "$ac_t""no" 1>&6
15675 echo "$ac_t""no" 1>&6
15680 echo "$ac_t""no" 1>&6
15684 if test "$HAVE_PRIOR_FUNCS" = 1; then
15685 cat >> confdefs.h
<<\EOF
15686 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
15690 echo "configure: warning: Setting thread priority will not work" 1>&2
15693 echo $ac_n "checking for pthread_cancel in -l$THREADS_LINK""... $ac_c" 1>&6
15694 echo "configure:15695: checking for pthread_cancel in -l$THREADS_LINK" >&5
15695 ac_lib_var
=`echo $THREADS_LINK'_'pthread_cancel | 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
="-l$THREADS_LINK $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. */
15707 char pthread_cancel();
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
15728 cat >> confdefs.h
<<\EOF
15729 #define HAVE_PTHREAD_CANCEL 1
15733 echo "$ac_t""no" 1>&6
15734 echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
15738 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
15739 echo "configure:15740: checking for pthread_cleanup_push/pop" >&5
15740 if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
15741 echo $ac_n "(cached) $ac_c" 1>&6
15744 cat > conftest.
$ac_ext <<EOF
15745 #line 15746 "configure"
15746 #include "confdefs.h"
15747 #include <pthread.h>
15750 pthread_cleanup_push(NULL, NULL);
15751 pthread_cleanup_pop(0);
15755 if { (eval echo configure
:15756: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15758 wx_cv_func_pthread_cleanup_push
=yes
15761 echo "configure: failed program was:" >&5
15762 cat conftest.
$ac_ext >&5
15765 wx_cv_func_pthread_cleanup_push
=no
15772 echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
15774 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
15775 cat >> confdefs.h
<<\EOF
15776 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
15782 if test "x$wx_lib_glibc21" = "xyes"; then
15783 CPPFLAGS
="$CPPFLAGS -D_GNU_SOURCE"
15786 echo $ac_n "checking for pthread_mutexattr_t""... $ac_c" 1>&6
15787 echo "configure:15788: checking for pthread_mutexattr_t" >&5
15788 if eval "test \"`echo '$''{'wx_cv_type_pthread_mutexattr_t'+set}'`\" = set"; then
15789 echo $ac_n "(cached) $ac_c" 1>&6
15792 cat > conftest.
$ac_ext <<EOF
15793 #line 15794 "configure"
15794 #include "confdefs.h"
15795 #include <pthread.h>
15798 pthread_mutexattr_t attr;
15799 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
15803 if { (eval echo configure
:15804: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15806 wx_cv_type_pthread_mutexattr_t
=yes
15809 echo "configure: failed program was:" >&5
15810 cat conftest.
$ac_ext >&5
15813 wx_cv_type_pthread_mutexattr_t
=no
15821 echo "$ac_t""$wx_cv_type_pthread_mutexattr_t" 1>&6
15823 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
15824 cat >> confdefs.h
<<\EOF
15825 #define HAVE_PTHREAD_MUTEXATTR_T 1
15829 echo $ac_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER""... $ac_c" 1>&6
15830 echo "configure:15831: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
15831 if eval "test \"`echo '$''{'wx_cv_type_pthread_rec_mutex_init'+set}'`\" = set"; then
15832 echo $ac_n "(cached) $ac_c" 1>&6
15835 cat > conftest.
$ac_ext <<EOF
15836 #line 15837 "configure"
15837 #include "confdefs.h"
15838 #include <pthread.h>
15841 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
15845 if { (eval echo configure
:15846: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15848 wx_cv_type_pthread_rec_mutex_init
=yes
15851 echo "configure: failed program was:" >&5
15852 cat conftest.
$ac_ext >&5
15855 wx_cv_type_pthread_rec_mutex_init
=no
15863 echo "$ac_t""$wx_cv_type_pthread_rec_mutex_init" 1>&6
15864 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
15865 cat >> confdefs.h
<<\EOF
15866 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
15870 echo "configure: warning: wxMutex won't be recursive on this platform" 1>&2
15874 THREADS_LINK
="-l$THREADS_LINK"
15876 if test "$USE_SOLARIS" = "yes" -a "$GCC" != "yes"; then
15877 CPPFLAGS
="${CFLAGS} -mt"
15878 CXXFLAGS
="${CXXFLAGS} -mt"
15879 LDFLAGS
="${LDFLAGS} -mt"
15885 if test "$wxUSE_THREADS" = "yes"; then
15886 cat >> confdefs.h
<<\EOF
15887 #define wxUSE_THREADS 1
15891 if test "$USE_DARWIN" != 1; then
15892 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
15895 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
15897 if test "$ac_cv_func_strtok_r" = "yes"; then
15898 echo $ac_n "checking if -D_REENTRANT is needed""... $ac_c" 1>&6
15899 echo "configure:15900: checking if -D_REENTRANT is needed" >&5
15900 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
15901 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
15902 echo "$ac_t""yes" 1>&6
15904 echo "$ac_t""no" 1>&6
15909 if test "$WXGTK20" = 1 ; then
15910 cat >> confdefs.h
<<EOF
15911 #define __WXGTK20__ $WXGTK20
15917 if test "$WXGTK12" = 1 ; then
15918 cat >> confdefs.h
<<EOF
15919 #define __WXGTK12__ $WXGTK12
15924 if test "$WXGTK127" = 1 ; then
15925 cat >> confdefs.h
<<EOF
15926 #define __WXGTK127__ $WXGTK127
15933 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
15938 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
15939 wxUSE_DEBUG_INFO
=yes
15943 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
15944 cat >> confdefs.h
<<\EOF
15948 WXDEBUG_DEFINE
="-D__WXDEBUG__"
15950 if test "$wxUSE_GTK" = 1 ; then
15951 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
15955 if test "$wxUSE_MEM_TRACING" = "yes" ; then
15956 cat >> confdefs.h
<<\EOF
15957 #define wxUSE_MEMORY_TRACING 1
15960 cat >> confdefs.h
<<\EOF
15961 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
15964 cat >> confdefs.h
<<\EOF
15965 #define wxUSE_DEBUG_NEW_ALWAYS 1
15968 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
15971 if test "$wxUSE_DMALLOC" = "yes" ; then
15972 DMALLOC_LINK
="-ldmalloc"
15976 if test "$wxUSE_PROFILE" = "yes" ; then
15980 if test "$GCC" = yes ; then
15981 if test "$wxUSE_NO_RTTI" = "yes" ; then
15982 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
15984 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
15985 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
15987 if test "$wxUSE_PERMISSIVE" = "yes" ; then
15988 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
15990 if test "$wxUSE_NO_DEPS" = "no" ; then
15991 CFLAGS
="-MMD ${CFLAGS}"
15992 CXXFLAGS
="-MMD ${CXXFLAGS}"
15994 if test "$USE_WIN32" = 1 ; then
15995 # I'm not even really sure what this was ever added to solve,
15996 # but someone added it for mingw native builds, so I guess
15997 # they had a reason, right??
15998 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fno-pcc-struct-return"
16003 CXXFLAGS
=`echo "${CXXFLAGS}" | sed "s/\-O.//g" `
16004 CFLAGS
=`echo "${CFLAGS}" | sed "s/\-O.//g" `
16005 if test "$wxUSE_OPTIMISE" = "no" ; then
16008 if test "$GCC" = yes ; then
16011 i586
-*-*|i686
-*-* )
16012 OPTIMISE
="${OPTIMISE} "
16020 if test "$WXWIN_COMPATIBILITY_2" = "yes"; then
16021 cat >> confdefs.h
<<\EOF
16022 #define WXWIN_COMPATIBILITY_2 1
16026 WXWIN_COMPATIBILITY_2_2
="yes"
16029 if test "$WXWIN_COMPATIBILITY_2_2" = "yes"; then
16030 cat >> confdefs.h
<<\EOF
16031 #define WXWIN_COMPATIBILITY_2_2 1
16037 if test "$wxUSE_GUI" = "yes"; then
16038 cat >> confdefs.h
<<\EOF
16039 #define wxUSE_GUI 1
16044 cat >> confdefs.h
<<\EOF
16045 #define wxUSE_NOGUI 1
16051 if test "$wxUSE_UNIX" = "yes"; then
16052 cat >> confdefs.h
<<\EOF
16053 #define wxUSE_UNIX 1
16059 if test "$wxUSE_APPLE_IEEE" = "yes"; then
16060 cat >> confdefs.h
<<\EOF
16061 #define wxUSE_APPLE_IEEE 1
16066 if test "$wxUSE_TIMER" = "yes"; then
16067 cat >> confdefs.h
<<\EOF
16068 #define wxUSE_TIMER 1
16073 if test "$wxUSE_WAVE" = "yes"; then
16074 cat >> confdefs.h
<<\EOF
16075 #define wxUSE_WAVE 1
16080 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
16081 cat >> confdefs.h
<<\EOF
16082 #define wxUSE_CMDLINE_PARSER 1
16087 if test "$wxUSE_STOPWATCH" = "yes"; then
16088 cat >> confdefs.h
<<\EOF
16089 #define wxUSE_STOPWATCH 1
16094 if test "$wxUSE_DATETIME" = "yes"; then
16095 cat >> confdefs.h
<<\EOF
16096 #define wxUSE_DATETIME 1
16101 if test "$wxUSE_TIMEDATE" = "yes"; then
16102 cat >> confdefs.h
<<\EOF
16103 #define wxUSE_TIMEDATE 1
16108 if test "$wxUSE_FILE" = "yes"; then
16109 cat >> confdefs.h
<<\EOF
16110 #define wxUSE_FILE 1
16115 if test "$wxUSE_FFILE" = "yes"; then
16116 cat >> confdefs.h
<<\EOF
16117 #define wxUSE_FFILE 1
16122 if test "$wxUSE_FILESYSTEM" = "yes"; then
16123 cat >> confdefs.h
<<\EOF
16124 #define wxUSE_FILESYSTEM 1
16129 if test "$wxUSE_FS_INET" = "yes"; then
16130 cat >> confdefs.h
<<\EOF
16131 #define wxUSE_FS_INET 1
16136 if test "$wxUSE_FS_ZIP" = "yes"; then
16137 cat >> confdefs.h
<<\EOF
16138 #define wxUSE_FS_ZIP 1
16143 if test "$wxUSE_ZIPSTREAM" = "yes"; then
16144 cat >> confdefs.h
<<\EOF
16145 #define wxUSE_ZIPSTREAM 1
16150 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
16151 cat >> confdefs.h
<<\EOF
16152 #define wxUSE_ON_FATAL_EXCEPTION 1
16157 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
16158 cat >> confdefs.h
<<\EOF
16159 #define wxUSE_SNGLINST_CHECKER 1
16164 if test "$wxUSE_BUSYINFO" = "yes"; then
16165 cat >> confdefs.h
<<\EOF
16166 #define wxUSE_BUSYINFO 1
16171 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
16172 cat >> confdefs.h
<<\EOF
16173 #define wxUSE_STD_IOSTREAM 1
16178 if test "$wxUSE_TEXTFILE" = "yes"; then
16179 if test "$wxUSE_FILE" != "yes"; then
16180 echo "configure: warning: wxTextFile requires wxFile and it won't be compiled without it" 1>&2
16182 cat >> confdefs.h
<<\EOF
16183 #define wxUSE_TEXTFILE 1
16189 if test "$wxUSE_CONFIG" = "yes" ; then
16190 if test "$wxUSE_TEXTFILE" != "yes"; then
16191 echo "configure: warning: wxConfig requires wxTextFile and it won't be compiled without it" 1>&2
16193 cat >> confdefs.h
<<\EOF
16194 #define wxUSE_CONFIG 1
16197 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
16201 if test "$wxUSE_INTL" = "yes" ; then
16202 if test "$wxUSE_FILE" != "yes"; then
16203 echo "configure: warning: I18n code requires wxFile and it won't be compiled without it" 1>&2
16205 cat >> confdefs.h
<<\EOF
16206 #define wxUSE_INTL 1
16209 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
16210 GUIDIST
="$GUIDIST INTL_DIST"
16214 if test "$wxUSE_LOG" = "yes"; then
16215 cat >> confdefs.h
<<\EOF
16216 #define wxUSE_LOG 1
16220 if test "$wxUSE_LOGGUI" = "yes"; then
16221 cat >> confdefs.h
<<\EOF
16222 #define wxUSE_LOGGUI 1
16227 if test "$wxUSE_LOGWINDOW" = "yes"; then
16228 cat >> confdefs.h
<<\EOF
16229 #define wxUSE_LOGWINDOW 1
16235 if test "$wxUSE_LONGLONG" = "yes"; then
16236 cat >> confdefs.h
<<\EOF
16237 #define wxUSE_LONGLONG 1
16242 if test "$wxUSE_GEOMETRY" = "yes"; then
16243 cat >> confdefs.h
<<\EOF
16244 #define wxUSE_GEOMETRY 1
16249 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
16250 cat >> confdefs.h
<<\EOF
16251 #define wxUSE_DIALUP_MANAGER 1
16254 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
16257 if test "$wxUSE_STREAMS" = "yes" ; then
16258 cat >> confdefs.h
<<\EOF
16259 #define wxUSE_STREAMS 1
16265 if test "$wxUSE_DATETIME" = "yes"; then
16266 for ac_func
in strptime
16268 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16269 echo "configure:16270: checking for $ac_func" >&5
16270 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16271 echo $ac_n "(cached) $ac_c" 1>&6
16273 cat > conftest.
$ac_ext <<EOF
16274 #line 16275 "configure"
16275 #include "confdefs.h"
16276 /* System header to define __stub macros and hopefully few prototypes,
16277 which can conflict with char $ac_func(); below. */
16278 #include <assert.h>
16279 /* Override any gcc2 internal prototype to avoid an error. */
16280 /* We use char because int might match the return type of a gcc2
16281 builtin and then its argument prototype would still apply. */
16286 /* The GNU C library defines this for functions which it implements
16287 to always fail with ENOSYS. Some functions are actually named
16288 something starting with __ and the normal name is an alias. */
16289 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16297 if { (eval echo configure
:16298: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16299 eval "ac_cv_func_$ac_func=yes"
16301 echo "configure: failed program was:" >&5
16302 cat conftest.
$ac_ext >&5
16304 eval "ac_cv_func_$ac_func=no"
16309 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16310 echo "$ac_t""yes" 1>&6
16311 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16312 cat >> confdefs.h
<<EOF
16313 #define $ac_tr_func 1
16317 echo "$ac_t""no" 1>&6
16322 echo $ac_n "checking for timezone variable in <time.h>""... $ac_c" 1>&6
16323 echo "configure:16324: checking for timezone variable in <time.h>" >&5
16324 if eval "test \"`echo '$''{'wx_cv_var_timezone'+set}'`\" = set"; then
16325 echo $ac_n "(cached) $ac_c" 1>&6
16328 cat > conftest.
$ac_ext <<EOF
16329 #line 16330 "configure"
16330 #include "confdefs.h"
16341 if { (eval echo configure
:16342: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16344 wx_cv_var_timezone
=timezone
16347 echo "configure: failed program was:" >&5
16348 cat conftest.
$ac_ext >&5
16351 cat > conftest.
$ac_ext <<EOF
16352 #line 16353 "configure"
16353 #include "confdefs.h"
16364 if { (eval echo configure
:16365: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16367 wx_cv_var_timezone
=_timezone
16370 echo "configure: failed program was:" >&5
16371 cat conftest.
$ac_ext >&5
16374 cat > conftest.
$ac_ext <<EOF
16375 #line 16376 "configure"
16376 #include "confdefs.h"
16387 if { (eval echo configure
:16388: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16390 wx_cv_var_timezone
=__timezone
16393 echo "configure: failed program was:" >&5
16394 cat conftest.
$ac_ext >&5
16396 { echo "configure: error: no timezone variable" 1>&2; exit 1; }
16412 echo "$ac_t""$wx_cv_var_timezone" 1>&6
16414 cat >> confdefs.h
<<EOF
16415 #define WX_TIMEZONE $wx_cv_var_timezone
16419 for ac_func
in localtime
16421 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16422 echo "configure:16423: checking for $ac_func" >&5
16423 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16424 echo $ac_n "(cached) $ac_c" 1>&6
16426 cat > conftest.
$ac_ext <<EOF
16427 #line 16428 "configure"
16428 #include "confdefs.h"
16429 /* System header to define __stub macros and hopefully few prototypes,
16430 which can conflict with char $ac_func(); below. */
16431 #include <assert.h>
16432 /* Override any gcc2 internal prototype to avoid an error. */
16433 /* We use char because int might match the return type of a gcc2
16434 builtin and then its argument prototype would still apply. */
16439 /* The GNU C library defines this for functions which it implements
16440 to always fail with ENOSYS. Some functions are actually named
16441 something starting with __ and the normal name is an alias. */
16442 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16450 if { (eval echo configure
:16451: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16452 eval "ac_cv_func_$ac_func=yes"
16454 echo "configure: failed program was:" >&5
16455 cat conftest.
$ac_ext >&5
16457 eval "ac_cv_func_$ac_func=no"
16462 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16463 echo "$ac_t""yes" 1>&6
16464 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16465 cat >> confdefs.h
<<EOF
16466 #define $ac_tr_func 1
16470 echo "$ac_t""no" 1>&6
16475 if test "$ac_cv_func_localtime" = "yes"; then
16476 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
16477 echo "configure:16478: checking for tm_gmtoff in struct tm" >&5
16478 if eval "test \"`echo '$''{'wx_cv_struct_tm_has_gmtoff'+set}'`\" = set"; then
16479 echo $ac_n "(cached) $ac_c" 1>&6
16482 cat > conftest.
$ac_ext <<EOF
16483 #line 16484 "configure"
16484 #include "confdefs.h"
16495 if { (eval echo configure
:16496: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16498 wx_cv_struct_tm_has_gmtoff
=yes
16501 echo "configure: failed program was:" >&5
16502 cat conftest.
$ac_ext >&5
16504 wx_cv_struct_tm_has_gmtoff
=no
16511 echo "$ac_t""$wx_cv_struct_tm_has_gmtoff" 1>&6
16514 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
16515 cat >> confdefs.h
<<\EOF
16516 #define WX_GMTOFF_IN_TM 1
16521 for ac_func
in gettimeofday ftime
16523 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16524 echo "configure:16525: checking for $ac_func" >&5
16525 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16526 echo $ac_n "(cached) $ac_c" 1>&6
16528 cat > conftest.
$ac_ext <<EOF
16529 #line 16530 "configure"
16530 #include "confdefs.h"
16531 /* System header to define __stub macros and hopefully few prototypes,
16532 which can conflict with char $ac_func(); below. */
16533 #include <assert.h>
16534 /* Override any gcc2 internal prototype to avoid an error. */
16535 /* We use char because int might match the return type of a gcc2
16536 builtin and then its argument prototype would still apply. */
16541 /* The GNU C library defines this for functions which it implements
16542 to always fail with ENOSYS. Some functions are actually named
16543 something starting with __ and the normal name is an alias. */
16544 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16552 if { (eval echo configure
:16553: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16554 eval "ac_cv_func_$ac_func=yes"
16556 echo "configure: failed program was:" >&5
16557 cat conftest.
$ac_ext >&5
16559 eval "ac_cv_func_$ac_func=no"
16564 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16565 echo "$ac_t""yes" 1>&6
16566 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16567 cat >> confdefs.h
<<EOF
16568 #define $ac_tr_func 1
16572 echo "$ac_t""no" 1>&6
16577 if test "$ac_cv_func_gettimeofday" = "yes"; then
16578 echo $ac_n "checking whether gettimeofday takes two arguments""... $ac_c" 1>&6
16579 echo "configure:16580: checking whether gettimeofday takes two arguments" >&5
16580 if eval "test \"`echo '$''{'wx_cv_func_gettimeofday_has_2_args'+set}'`\" = set"; then
16581 echo $ac_n "(cached) $ac_c" 1>&6
16586 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16587 ac_cpp
='$CXXCPP $CPPFLAGS'
16588 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16589 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16590 cross_compiling
=$ac_cv_prog_cxx_cross
16593 cat > conftest.
$ac_ext <<EOF
16594 #line 16595 "configure"
16595 #include "confdefs.h"
16597 #include <sys/time.h>
16598 #include <unistd.h>
16603 gettimeofday(&tv, NULL);
16607 if { (eval echo configure
:16608: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16609 wx_cv_func_gettimeofday_has_2_args
=yes
16611 echo "configure: failed program was:" >&5
16612 cat conftest.
$ac_ext >&5
16614 cat > conftest.
$ac_ext <<EOF
16615 #line 16616 "configure"
16616 #include "confdefs.h"
16618 #include <sys/time.h>
16619 #include <unistd.h>
16628 if { (eval echo configure
:16629: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16630 wx_cv_func_gettimeofday_has_2_args
=no
16632 echo "configure: failed program was:" >&5
16633 cat conftest.
$ac_ext >&5
16636 echo "configure: warning: failed to determine number of gettimeofday() arguments" 1>&2
16637 wx_cv_func_gettimeofday_has_2_args
=unknown
16646 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16647 ac_cpp
='$CPP $CPPFLAGS'
16648 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16649 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16650 cross_compiling
=$ac_cv_prog_cc_cross
16655 echo "$ac_t""$wx_cv_func_gettimeofday_has_2_args" 1>&6
16657 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
16658 cat >> confdefs.h
<<\EOF
16659 #define WX_GETTIMEOFDAY_NO_TZ 1
16665 cat >> confdefs.h
<<\EOF
16666 #define wxUSE_TIMEDATE 1
16669 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
16673 if test "$TOOLKIT" != "MSW"; then
16675 if test "$wxUSE_SOCKETS" = "yes"; then
16676 echo $ac_n "checking for socket""... $ac_c" 1>&6
16677 echo "configure:16678: checking for socket" >&5
16678 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
16679 echo $ac_n "(cached) $ac_c" 1>&6
16681 cat > conftest.
$ac_ext <<EOF
16682 #line 16683 "configure"
16683 #include "confdefs.h"
16684 /* System header to define __stub macros and hopefully few prototypes,
16685 which can conflict with char socket(); below. */
16686 #include <assert.h>
16687 /* Override any gcc2 internal prototype to avoid an error. */
16688 /* We use char because int might match the return type of a gcc2
16689 builtin and then its argument prototype would still apply. */
16694 /* The GNU C library defines this for functions which it implements
16695 to always fail with ENOSYS. Some functions are actually named
16696 something starting with __ and the normal name is an alias. */
16697 #if defined (__stub_socket) || defined (__stub___socket)
16705 if { (eval echo configure
:16706: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16707 eval "ac_cv_func_socket=yes"
16709 echo "configure: failed program was:" >&5
16710 cat conftest.
$ac_ext >&5
16712 eval "ac_cv_func_socket=no"
16717 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
16718 echo "$ac_t""yes" 1>&6
16721 echo "$ac_t""no" 1>&6
16722 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
16723 echo "configure:16724: checking for socket in -lsocket" >&5
16724 ac_lib_var
=`echo socket'_'socket | sed 'y%./+-%__p_%'`
16725 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16726 echo $ac_n "(cached) $ac_c" 1>&6
16728 ac_save_LIBS
="$LIBS"
16729 LIBS
="-lsocket $LIBS"
16730 cat > conftest.
$ac_ext <<EOF
16731 #line 16732 "configure"
16732 #include "confdefs.h"
16733 /* Override any gcc2 internal prototype to avoid an error. */
16734 /* We use char because int might match the return type of a gcc2
16735 builtin and then its argument prototype would still apply. */
16742 if { (eval echo configure
:16743: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16744 eval "ac_cv_lib_$ac_lib_var=yes"
16746 echo "configure: failed program was:" >&5
16747 cat conftest.
$ac_ext >&5
16749 eval "ac_cv_lib_$ac_lib_var=no"
16752 LIBS
="$ac_save_LIBS"
16755 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16756 echo "$ac_t""yes" 1>&6
16757 INET_LINK
="$INET_LINK -lsocket"
16759 echo "$ac_t""no" 1>&6
16761 echo "configure: warning: socket library not found - sockets will be disabled" 1>&2
16773 if test "$wxUSE_SOCKETS" = "yes" ; then
16774 echo $ac_n "checking what is the type of the third argument of getsockname""... $ac_c" 1>&6
16775 echo "configure:16776: checking what is the type of the third argument of getsockname" >&5
16776 if eval "test \"`echo '$''{'wx_cv_type_getsockname3'+set}'`\" = set"; then
16777 echo $ac_n "(cached) $ac_c" 1>&6
16782 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16783 ac_cpp
='$CXXCPP $CPPFLAGS'
16784 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16785 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16786 cross_compiling
=$ac_cv_prog_cxx_cross
16789 cat > conftest.
$ac_ext <<EOF
16790 #line 16791 "configure"
16791 #include "confdefs.h"
16793 #include <sys/types.h>
16794 #include <sys/socket.h>
16799 getsockname(0, 0, &len);
16803 if { (eval echo configure
:16804: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16805 wx_cv_type_getsockname3
=socklen_t
16807 echo "configure: failed program was:" >&5
16808 cat conftest.
$ac_ext >&5
16810 cat > conftest.
$ac_ext <<EOF
16811 #line 16812 "configure"
16812 #include "confdefs.h"
16814 #include <sys/types.h>
16815 #include <sys/socket.h>
16820 getsockname(0, 0, &len);
16824 if { (eval echo configure
:16825: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16826 wx_cv_type_getsockname3
=size_t
16828 echo "configure: failed program was:" >&5
16829 cat conftest.
$ac_ext >&5
16831 cat > conftest.
$ac_ext <<EOF
16832 #line 16833 "configure"
16833 #include "confdefs.h"
16835 #include <sys/types.h>
16836 #include <sys/socket.h>
16841 getsockname(0, 0, &len);
16845 if { (eval echo configure
:16846: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16847 wx_cv_type_getsockname3
=int
16849 echo "configure: failed program was:" >&5
16850 cat conftest.
$ac_ext >&5
16852 wx_cv_type_getsockname3
=unknown
16864 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16865 ac_cpp
='$CPP $CPPFLAGS'
16866 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16867 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16868 cross_compiling
=$ac_cv_prog_cc_cross
16873 echo "$ac_t""$wx_cv_type_getsockname3" 1>&6
16875 if test "$wx_cv_type_getsockname3" = "unknown"; then
16877 echo "configure: warning: Couldn't find socklen_t synonym for this system" 1>&2
16879 cat >> confdefs.h
<<EOF
16880 #define SOCKLEN_T $wx_cv_type_getsockname3
16887 if test "$wxUSE_SOCKETS" = "yes" ; then
16888 cat >> confdefs.h
<<\EOF
16889 #define wxUSE_SOCKETS 1
16892 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
16896 if test "$wxUSE_GUI" = "yes"; then
16898 if test "$TOOLKIT" != "MSW"; then
16899 if test "$wxUSE_JOYSTICK" = "yes"; then
16900 for ac_hdr
in linux
/joystick.h
16902 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
16903 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
16904 echo "configure:16905: checking for $ac_hdr" >&5
16905 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
16906 echo $ac_n "(cached) $ac_c" 1>&6
16908 cat > conftest.
$ac_ext <<EOF
16909 #line 16910 "configure"
16910 #include "confdefs.h"
16913 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
16914 { (eval echo configure
:16915: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16915 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
16916 if test -z "$ac_err"; then
16918 eval "ac_cv_header_$ac_safe=yes"
16921 echo "configure: failed program was:" >&5
16922 cat conftest.
$ac_ext >&5
16924 eval "ac_cv_header_$ac_safe=no"
16928 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
16929 echo "$ac_t""yes" 1>&6
16930 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
16931 cat >> confdefs.h
<<EOF
16932 #define $ac_tr_hdr 1
16936 echo "$ac_t""no" 1>&6
16940 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
16942 echo "configure: warning: Joystick not supported by this system" 1>&2
16947 if test "$wxUSE_JOYSTICK" = "yes"; then
16948 cat >> confdefs.h
<<\EOF
16949 #define wxUSE_JOYSTICK 1
16952 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
16957 if test "$TOOLKIT" != "MSW"; then
16961 if test "$wxUSE_DYNLIB_CLASS" = "yes"; then
16962 if test "$USE_DARWIN" = 1; then
16965 for ac_func
in dlopen
16967 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16968 echo "configure:16969: checking for $ac_func" >&5
16969 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16970 echo $ac_n "(cached) $ac_c" 1>&6
16972 cat > conftest.
$ac_ext <<EOF
16973 #line 16974 "configure"
16974 #include "confdefs.h"
16975 /* System header to define __stub macros and hopefully few prototypes,
16976 which can conflict with char $ac_func(); below. */
16977 #include <assert.h>
16978 /* Override any gcc2 internal prototype to avoid an error. */
16979 /* We use char because int might match the return type of a gcc2
16980 builtin and then its argument prototype would still apply. */
16985 /* The GNU C library defines this for functions which it implements
16986 to always fail with ENOSYS. Some functions are actually named
16987 something starting with __ and the normal name is an alias. */
16988 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16996 if { (eval echo configure
:16997: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16998 eval "ac_cv_func_$ac_func=yes"
17000 echo "configure: failed program was:" >&5
17001 cat conftest.
$ac_ext >&5
17003 eval "ac_cv_func_$ac_func=no"
17008 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17009 echo "$ac_t""yes" 1>&6
17010 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17011 cat >> confdefs.h
<<EOF
17012 #define $ac_tr_func 1
17015 cat >> confdefs.h
<<\EOF
17016 #define HAVE_DLOPEN 1
17022 echo "$ac_t""no" 1>&6
17023 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
17024 echo "configure:17025: checking for dlopen in -ldl" >&5
17025 ac_lib_var
=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
17026 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17027 echo $ac_n "(cached) $ac_c" 1>&6
17029 ac_save_LIBS
="$LIBS"
17031 cat > conftest.
$ac_ext <<EOF
17032 #line 17033 "configure"
17033 #include "confdefs.h"
17034 /* Override any gcc2 internal prototype to avoid an error. */
17035 /* We use char because int might match the return type of a gcc2
17036 builtin and then its argument prototype would still apply. */
17043 if { (eval echo configure
:17044: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17045 eval "ac_cv_lib_$ac_lib_var=yes"
17047 echo "configure: failed program was:" >&5
17048 cat conftest.
$ac_ext >&5
17050 eval "ac_cv_lib_$ac_lib_var=no"
17053 LIBS
="$ac_save_LIBS"
17056 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17057 echo "$ac_t""yes" 1>&6
17059 cat >> confdefs.h
<<\EOF
17060 #define HAVE_DLOPEN 1
17067 echo "$ac_t""no" 1>&6
17069 for ac_func
in shl_load
17071 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17072 echo "configure:17073: checking for $ac_func" >&5
17073 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17074 echo $ac_n "(cached) $ac_c" 1>&6
17076 cat > conftest.
$ac_ext <<EOF
17077 #line 17078 "configure"
17078 #include "confdefs.h"
17079 /* System header to define __stub macros and hopefully few prototypes,
17080 which can conflict with char $ac_func(); below. */
17081 #include <assert.h>
17082 /* Override any gcc2 internal prototype to avoid an error. */
17083 /* We use char because int might match the return type of a gcc2
17084 builtin and then its argument prototype would still apply. */
17089 /* The GNU C library defines this for functions which it implements
17090 to always fail with ENOSYS. Some functions are actually named
17091 something starting with __ and the normal name is an alias. */
17092 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17100 if { (eval echo configure
:17101: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17102 eval "ac_cv_func_$ac_func=yes"
17104 echo "configure: failed program was:" >&5
17105 cat conftest.
$ac_ext >&5
17107 eval "ac_cv_func_$ac_func=no"
17112 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17113 echo "$ac_t""yes" 1>&6
17114 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17115 cat >> confdefs.h
<<EOF
17116 #define $ac_tr_func 1
17119 cat >> confdefs.h
<<\EOF
17120 #define HAVE_SHL_LOAD 1
17126 echo "$ac_t""no" 1>&6
17127 echo $ac_n "checking for dld in -lshl_load""... $ac_c" 1>&6
17128 echo "configure:17129: checking for dld in -lshl_load" >&5
17129 ac_lib_var
=`echo shl_load'_'dld | sed 'y%./+-%__p_%'`
17130 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17131 echo $ac_n "(cached) $ac_c" 1>&6
17133 ac_save_LIBS
="$LIBS"
17134 LIBS
="-lshl_load $LIBS"
17135 cat > conftest.
$ac_ext <<EOF
17136 #line 17137 "configure"
17137 #include "confdefs.h"
17138 /* Override any gcc2 internal prototype to avoid an error. */
17139 /* We use char because int might match the return type of a gcc2
17140 builtin and then its argument prototype would still apply. */
17147 if { (eval echo configure
:17148: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17149 eval "ac_cv_lib_$ac_lib_var=yes"
17151 echo "configure: failed program was:" >&5
17152 cat conftest.
$ac_ext >&5
17154 eval "ac_cv_lib_$ac_lib_var=no"
17157 LIBS
="$ac_save_LIBS"
17160 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17161 echo "$ac_t""yes" 1>&6
17167 echo "$ac_t""no" 1>&6
17182 if test "$HAVE_DL_FUNCS" = 1; then
17183 for ac_func
in dlerror
17185 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17186 echo "configure:17187: checking for $ac_func" >&5
17187 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17188 echo $ac_n "(cached) $ac_c" 1>&6
17190 cat > conftest.
$ac_ext <<EOF
17191 #line 17192 "configure"
17192 #include "confdefs.h"
17193 /* System header to define __stub macros and hopefully few prototypes,
17194 which can conflict with char $ac_func(); below. */
17195 #include <assert.h>
17196 /* Override any gcc2 internal prototype to avoid an error. */
17197 /* We use char because int might match the return type of a gcc2
17198 builtin and then its argument prototype would still apply. */
17203 /* The GNU C library defines this for functions which it implements
17204 to always fail with ENOSYS. Some functions are actually named
17205 something starting with __ and the normal name is an alias. */
17206 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17214 if { (eval echo configure
:17215: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17216 eval "ac_cv_func_$ac_func=yes"
17218 echo "configure: failed program was:" >&5
17219 cat conftest.
$ac_ext >&5
17221 eval "ac_cv_func_$ac_func=no"
17226 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17227 echo "$ac_t""yes" 1>&6
17228 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17229 cat >> confdefs.h
<<EOF
17230 #define $ac_tr_func 1
17232 cat >> confdefs.h
<<\EOF
17233 #define HAVE_DLERROR 1
17237 echo "$ac_t""no" 1>&6
17238 echo $ac_n "checking for dlerror in -ldl""... $ac_c" 1>&6
17239 echo "configure:17240: checking for dlerror in -ldl" >&5
17240 ac_lib_var
=`echo dl'_'dlerror | sed 'y%./+-%__p_%'`
17241 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17242 echo $ac_n "(cached) $ac_c" 1>&6
17244 ac_save_LIBS
="$LIBS"
17246 cat > conftest.
$ac_ext <<EOF
17247 #line 17248 "configure"
17248 #include "confdefs.h"
17249 /* Override any gcc2 internal prototype to avoid an error. */
17250 /* We use char because int might match the return type of a gcc2
17251 builtin and then its argument prototype would still apply. */
17258 if { (eval echo configure
:17259: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17260 eval "ac_cv_lib_$ac_lib_var=yes"
17262 echo "configure: failed program was:" >&5
17263 cat conftest.
$ac_ext >&5
17265 eval "ac_cv_lib_$ac_lib_var=no"
17268 LIBS
="$ac_save_LIBS"
17271 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17272 echo "$ac_t""yes" 1>&6
17273 cat >> confdefs.h
<<\EOF
17274 #define HAVE_DLERROR 1
17278 echo "$ac_t""no" 1>&6
17287 if test "$HAVE_DL_FUNCS" = 0; then
17288 if test "$HAVE_SHL_FUNCS" = 0; then
17289 if test "$USE_UNIX" = 1; then
17290 echo "configure: warning: Missing dynamic loading support, several features will be disabled" 1>&2
17291 wxUSE_DYNLIB_CLASS
=no
17293 echo "configure: warning: Assuming wxLibrary class works on this platform" 1>&2
17300 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
17301 cat >> confdefs.h
<<\EOF
17302 #define wxUSE_DYNLIB_CLASS 1
17311 if test "$wxUSE_FONTMAP" = "yes" ; then
17312 cat >> confdefs.h
<<\EOF
17313 #define wxUSE_FONTMAP 1
17318 if test "$wxUSE_UNICODE" = "yes" ; then
17319 cat >> confdefs.h
<<\EOF
17320 #define wxUSE_UNICODE 1
17325 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
17326 cat >> confdefs.h
<<\EOF
17327 #define wxUSE_EXPERIMENTAL_PRINTF 1
17333 if test "$wxUSE_SERIAL" = "yes" ; then
17334 cat >> confdefs.h
<<\EOF
17335 #define wxUSE_SERIAL 1
17342 if test "$wxUSE_ODBC" = "yes" ; then
17343 cat >> confdefs.h
<<\EOF
17344 #define wxUSE_ODBC 1
17347 WXODBCFLAG
="-D_IODBC_"
17348 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
17352 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
17353 cat >> confdefs.h
<<\EOF
17354 #define wxUSE_POSTSCRIPT 1
17359 cat >> confdefs.h
<<\EOF
17360 #define wxUSE_AFM_FOR_POSTSCRIPT 1
17364 cat >> confdefs.h
<<\EOF
17365 #define wxUSE_NORMALIZED_PS_FONTS 1
17370 if test "$wxUSE_CONSTRAINTS" = "yes"; then
17371 cat >> confdefs.h
<<\EOF
17372 #define wxUSE_CONSTRAINTS 1
17375 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
17378 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
17379 if test "$wxUSE_UNIVERSAL" = "yes"; then
17380 echo "configure: warning: MDI is not supported for wxUNIVERSAL yet... disabled" 1>&2
17381 wxUSE_MDI_ARCHITECTURE
=no
17384 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
17385 cat >> confdefs.h
<<\EOF
17386 #define wxUSE_MDI_ARCHITECTURE 1
17389 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
17393 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
17394 cat >> confdefs.h
<<\EOF
17395 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
17398 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
17399 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
17400 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
17404 if test "$wxUSE_HELP" = "yes"; then
17405 cat >> confdefs.h
<<\EOF
17406 #define wxUSE_HELP 1
17409 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
17411 if test "$wxUSE_MSW" = 1; then
17412 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
17413 ac_safe
=`echo "htmlhelp.h" | sed 'y%./+-%__p_%'`
17414 echo $ac_n "checking for htmlhelp.h""... $ac_c" 1>&6
17415 echo "configure:17416: checking for htmlhelp.h" >&5
17416 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17417 echo $ac_n "(cached) $ac_c" 1>&6
17419 cat > conftest.
$ac_ext <<EOF
17420 #line 17421 "configure"
17421 #include "confdefs.h"
17422 #include <htmlhelp.h>
17424 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17425 { (eval echo configure
:17426: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17426 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17427 if test -z "$ac_err"; then
17429 eval "ac_cv_header_$ac_safe=yes"
17432 echo "configure: failed program was:" >&5
17433 cat conftest.
$ac_ext >&5
17435 eval "ac_cv_header_$ac_safe=no"
17439 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17440 echo "$ac_t""yes" 1>&6
17442 cat >> confdefs.h
<<\EOF
17443 #define wxUSE_MS_HTML_HELP 1
17448 echo "$ac_t""no" 1>&6
17450 echo "configure: warning: MS HTML Help cannot be used without htmlhelp.h... disabled" 1>&2
17451 wxUSE_MS_HTML_HELP
=no
17458 if test "$wxUSE_WXHTML_HELP" = "yes"; then
17459 if test "$wxUSE_HTML" = "yes"; then
17460 cat >> confdefs.h
<<\EOF
17461 #define wxUSE_WXHTML_HELP 1
17465 echo "configure: warning: Cannot use wxHTML-based help without wxHTML so it won't be compiled" 1>&2
17466 wxUSE_WXHTML_HELP
=no
17471 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
17472 if test "$wxUSE_CONSTRAINTS" != "yes"; then
17473 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
17475 cat >> confdefs.h
<<\EOF
17476 #define wxUSE_PRINTING_ARCHITECTURE 1
17480 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
17483 if test "$wxUSE_PROLOGIO" = "yes" ; then
17484 cat >> confdefs.h
<<\EOF
17485 #define wxUSE_PROLOGIO 1
17490 if test "$wxUSE_RESOURCES" = "yes" ; then
17491 cat >> confdefs.h
<<\EOF
17492 #define wxUSE_RESOURCES 1
17495 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS resource"
17498 if test "$wxUSE_X_RESOURCES" = "yes"; then
17499 cat >> confdefs.h
<<\EOF
17500 #define wxUSE_X_RESOURCES 1
17506 if test "$wxUSE_MSW" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
17507 -o "$wxUSE_CLIPBOARD" = "yes" \
17508 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
17509 for ac_hdr
in ole2.h
17511 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
17512 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
17513 echo "configure:17514: checking for $ac_hdr" >&5
17514 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17515 echo $ac_n "(cached) $ac_c" 1>&6
17517 cat > conftest.
$ac_ext <<EOF
17518 #line 17519 "configure"
17519 #include "confdefs.h"
17522 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17523 { (eval echo configure
:17524: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17524 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17525 if test -z "$ac_err"; then
17527 eval "ac_cv_header_$ac_safe=yes"
17530 echo "configure: failed program was:" >&5
17531 cat conftest.
$ac_ext >&5
17533 eval "ac_cv_header_$ac_safe=no"
17537 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17538 echo "$ac_t""yes" 1>&6
17539 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
17540 cat >> confdefs.h
<<EOF
17541 #define $ac_tr_hdr 1
17545 echo "$ac_t""no" 1>&6
17550 if test "$ac_cv_header_ole2_h" = "yes" ; then
17551 if test "$GCC" = yes ; then
17552 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
17553 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
17554 LIBS
="$LIBS -lrpcrt4 -loleaut32 -lole32 -luuid"
17555 cat >> confdefs.h
<<\EOF
17556 #define wxUSE_OLE 1
17562 cat >> confdefs.h
<<\EOF
17563 #define wxUSE_DATAOBJ 1
17567 echo "configure: warning: Some features disabled because OLE headers not found" 1>&2
17570 wxUSE_DRAG_AND_DROP
=no
17574 if test "$wxUSE_METAFILE" = "yes"; then
17575 cat >> confdefs.h
<<\EOF
17576 #define wxUSE_METAFILE 1
17580 cat >> confdefs.h
<<\EOF
17581 #define wxUSE_ENH_METAFILE 1
17587 if test "$wxUSE_IPC" = "yes"; then
17588 if test "$wxUSE_SOCKETS" != "yes"; then
17589 echo "configure: warning: wxWindows IPC classes require sockets" 1>&2
17592 cat >> confdefs.h
<<\EOF
17593 #define wxUSE_IPC 1
17598 if test "$wxUSE_CLIPBOARD" = "yes"; then
17599 cat >> confdefs.h
<<\EOF
17600 #define wxUSE_CLIPBOARD 1
17604 cat >> confdefs.h
<<\EOF
17605 #define wxUSE_DATAOBJ 1
17610 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
17611 if test "$wxUSE_GTK" = 1; then
17612 if test "$WXGTK12" != 1; then
17613 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2" 1>&2
17614 wxUSE_DRAG_AND_DROP
=no
17618 if test "$wxUSE_MOTIF" = 1; then
17619 echo "configure: warning: Drag and drop is not yet supported under Motif" 1>&2
17620 wxUSE_DRAG_AND_DROP
=no
17623 if test "$wxUSE_MAC" = 1; then
17624 echo "configure: warning: Drag and drop is not yet supported under Mac OS X" 1>&2
17625 wxUSE_DRAG_AND_DROP
=no
17628 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
17629 cat >> confdefs.h
<<\EOF
17630 #define wxUSE_DRAG_AND_DROP 1
17633 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
17638 if test "$wxUSE_SPLINES" = "yes" ; then
17639 cat >> confdefs.h
<<\EOF
17640 #define wxUSE_SPLINES 1
17647 if test "$wxUSE_CONTROLS" = "yes"; then
17651 if test "$wxUSE_ACCEL" = "yes"; then
17652 cat >> confdefs.h
<<\EOF
17653 #define wxUSE_ACCEL 1
17659 if test "$wxUSE_BUTTON" = "yes"; then
17660 cat >> confdefs.h
<<\EOF
17661 #define wxUSE_BUTTON 1
17667 if test "$wxUSE_BMPBUTTON" = "yes"; then
17668 cat >> confdefs.h
<<\EOF
17669 #define wxUSE_BMPBUTTON 1
17675 if test "$wxUSE_CALCTRL" = "yes"; then
17676 cat >> confdefs.h
<<\EOF
17677 #define wxUSE_CALENDARCTRL 1
17681 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
17684 if test "$wxUSE_CARET" = "yes"; then
17685 cat >> confdefs.h
<<\EOF
17686 #define wxUSE_CARET 1
17690 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
17693 if test "$wxUSE_COMBOBOX" = "yes"; then
17694 cat >> confdefs.h
<<\EOF
17695 #define wxUSE_COMBOBOX 1
17701 if test "$wxUSE_CHOICE" = "yes"; then
17702 cat >> confdefs.h
<<\EOF
17703 #define wxUSE_CHOICE 1
17709 if test "$wxUSE_CHECKBOX" = "yes"; then
17710 cat >> confdefs.h
<<\EOF
17711 #define wxUSE_CHECKBOX 1
17717 if test "$wxUSE_CHECKLST" = "yes"; then
17718 cat >> confdefs.h
<<\EOF
17719 #define wxUSE_CHECKLISTBOX 1
17723 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
17726 if test "$wxUSE_GAUGE" = "yes"; then
17727 cat >> confdefs.h
<<\EOF
17728 #define wxUSE_GAUGE 1
17734 if test "$wxUSE_NEW_GRID" = "yes"; then
17736 cat >> confdefs.h
<<\EOF
17737 #define wxUSE_NEW_GRID 1
17741 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS newgrid"
17744 if test "$wxUSE_GRID" = "yes"; then
17745 cat >> confdefs.h
<<\EOF
17746 #define wxUSE_GRID 1
17750 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
17753 if test "$wxUSE_IMAGLIST" = "yes"; then
17754 cat >> confdefs.h
<<\EOF
17755 #define wxUSE_IMAGLIST 1
17760 if test "$wxUSE_LISTBOX" = "yes"; then
17761 cat >> confdefs.h
<<\EOF
17762 #define wxUSE_LISTBOX 1
17768 if test "$wxUSE_LISTCTRL" = "yes"; then
17769 if test "$wxUSE_IMAGLIST" = "yes"; then
17770 cat >> confdefs.h
<<\EOF
17771 #define wxUSE_LISTCTRL 1
17775 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
17777 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
17781 if test "$wxUSE_NOTEBOOK" = "yes"; then
17782 cat >> confdefs.h
<<\EOF
17783 #define wxUSE_NOTEBOOK 1
17787 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
17790 if test "$wxUSE_PROPSHEET" = "yes"; then
17791 cat >> confdefs.h
<<\EOF
17792 #define wxUSE_PROPSHEET 1
17796 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS proplist"
17799 if test "$wxUSE_RADIOBOX" = "yes"; then
17800 cat >> confdefs.h
<<\EOF
17801 #define wxUSE_RADIOBOX 1
17807 if test "$wxUSE_RADIOBTN" = "yes"; then
17808 cat >> confdefs.h
<<\EOF
17809 #define wxUSE_RADIOBTN 1
17815 if test "$wxUSE_SASH" = "yes"; then
17816 cat >> confdefs.h
<<\EOF
17817 #define wxUSE_SASH 1
17820 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
17823 if test "$wxUSE_SCROLLBAR" = "yes"; then
17824 cat >> confdefs.h
<<\EOF
17825 #define wxUSE_SCROLLBAR 1
17829 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
17832 if test "$wxUSE_SLIDER" = "yes"; then
17833 cat >> confdefs.h
<<\EOF
17834 #define wxUSE_SLIDER 1
17840 if test "$wxUSE_SPINBTN" = "yes"; then
17841 cat >> confdefs.h
<<\EOF
17842 #define wxUSE_SPINBTN 1
17848 if test "$wxUSE_SPINCTRL" = "yes"; then
17849 cat >> confdefs.h
<<\EOF
17850 #define wxUSE_SPINCTRL 1
17856 if test "$wxUSE_SPLITTER" = "yes"; then
17857 cat >> confdefs.h
<<\EOF
17858 #define wxUSE_SPLITTER 1
17861 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
17864 if test "$wxUSE_STATBMP" = "yes"; then
17865 cat >> confdefs.h
<<\EOF
17866 #define wxUSE_STATBMP 1
17872 if test "$wxUSE_STATBOX" = "yes"; then
17873 cat >> confdefs.h
<<\EOF
17874 #define wxUSE_STATBOX 1
17880 if test "$wxUSE_STATTEXT" = "yes"; then
17881 cat >> confdefs.h
<<\EOF
17882 #define wxUSE_STATTEXT 1
17888 if test "$wxUSE_STATLINE" = "yes"; then
17889 if test "$wxUSE_WINE" = 1 ; then
17890 echo "configure: warning: wxStaticLine is not supported under WINE" 1>&2
17892 cat >> confdefs.h
<<\EOF
17893 #define wxUSE_STATLINE 1
17900 if test "$wxUSE_STATUSBAR" = "yes"; then
17901 cat >> confdefs.h
<<\EOF
17902 #define wxUSE_STATUSBAR 1
17907 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
17910 if test "$wxUSE_TABDIALOG" = "yes"; then
17911 cat >> confdefs.h
<<\EOF
17912 #define wxUSE_TAB_DIALOG 1
17915 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
17918 if test "$wxUSE_TEXTCTRL" = "yes"; then
17919 cat >> confdefs.h
<<\EOF
17920 #define wxUSE_TEXTCTRL 1
17924 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
17927 if test "$wxUSE_TOGGLEBTN" = "yes"; then
17928 if test "$wxUSE_MAC" = 1 -o "$wxUSE_UNIVERSAL" = "yes"; then
17929 echo "configure: warning: Toggle button not yet supported under Mac OS X or wxUNIVERSAL... disabled" 1>&2
17933 if test "$wxUSE_TOGGLEBTN" = "yes"; then
17934 cat >> confdefs.h
<<\EOF
17935 #define wxUSE_TOGGLEBTN 1
17942 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
17943 cat >> confdefs.h
<<\EOF
17944 #define wxUSE_TOOLBAR_SIMPLE 1
17947 wxUSE_TOOLBAR
="yes"
17951 if test "$wxUSE_TOOLBAR" = "yes"; then
17952 cat >> confdefs.h
<<\EOF
17953 #define wxUSE_TOOLBAR 1
17958 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
17959 wxUSE_TOOLBAR_NATIVE
="yes"
17962 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
17963 cat >> confdefs.h
<<\EOF
17964 #define wxUSE_TOOLBAR_NATIVE 1
17970 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
17973 if test "$wxUSE_TOOLTIPS" = "yes"; then
17974 if test "$wxUSE_MOTIF" = 1; then
17975 echo "configure: warning: wxTooltip not supported yet under Motif" 1>&2
17977 if test "$wxUSE_WINE" = 1; then
17978 echo "configure: warning: wxTooltip not supported under WINE" 1>&2
17980 cat >> confdefs.h
<<\EOF
17981 #define wxUSE_TOOLTIPS 1
17988 if test "$wxUSE_TREECTRL" = "yes"; then
17989 if test "$wxUSE_IMAGLIST" = "yes"; then
17990 cat >> confdefs.h
<<\EOF
17991 #define wxUSE_TREECTRL 1
17995 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
17997 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
18001 if test "$wxUSE_POPUPWIN" = "yes"; then
18002 if test "$wxUSE_MAC" = 1; then
18003 echo "configure: warning: Popup window is not yet supported under Mac OS" 1>&2
18005 cat >> confdefs.h
<<\EOF
18006 #define wxUSE_POPUPWIN 1
18013 if test "$USES_CONTROLS" = 1; then
18014 cat >> confdefs.h
<<\EOF
18015 #define wxUSE_CONTROLS 1
18021 if test "$wxUSE_TREELAYOUT" = "yes"; then
18022 cat >> confdefs.h
<<\EOF
18023 #define wxUSE_TREELAYOUT 1
18026 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treelay"
18029 if test "$wxUSE_DRAGIMAGE" = "yes"; then
18030 cat >> confdefs.h
<<\EOF
18031 #define wxUSE_DRAGIMAGE 1
18034 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
18037 if test "$wxUSE_MENUS" = "yes"; then
18038 cat >> confdefs.h
<<\EOF
18039 #define wxUSE_MENUS 1
18042 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
18045 if test "$wxUSE_METAFILE" = "yes"; then
18046 cat >> confdefs.h
<<\EOF
18047 #define wxUSE_METAFILE 1
18052 if test "$wxUSE_MIMETYPE" = "yes"; then
18053 cat >> confdefs.h
<<\EOF
18054 #define wxUSE_MIMETYPE 1
18059 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
18060 cat >> confdefs.h
<<\EOF
18061 #define wxUSE_SYSTEM_OPTIONS 1
18066 if test "$wxUSE_MINIFRAME" = "yes"; then
18067 cat >> confdefs.h
<<\EOF
18068 #define wxUSE_MINIFRAME 1
18071 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
18074 if test "$wxUSE_HTML" = "yes"; then
18075 cat >> confdefs.h
<<\EOF
18076 #define wxUSE_HTML 1
18079 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html"
18082 if test "$wxUSE_VALIDATORS" = "yes"; then
18083 cat >> confdefs.h
<<\EOF
18084 #define wxUSE_VALIDATORS 1
18087 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
18090 if test "$wxUSE_PALETTE" = "yes" ; then
18091 cat >> confdefs.h
<<\EOF
18092 #define wxUSE_PALETTE 1
18097 if test "$wxUSE_IMAGE" = "yes" ; then
18098 cat >> confdefs.h
<<\EOF
18099 #define wxUSE_IMAGE 1
18104 if test "$wxUSE_GIF" = "yes" ; then
18105 cat >> confdefs.h
<<\EOF
18106 #define wxUSE_GIF 1
18111 if test "$wxUSE_PCX" = "yes" ; then
18112 cat >> confdefs.h
<<\EOF
18113 #define wxUSE_PCX 1
18118 if test "$wxUSE_PNM" = "yes" ; then
18119 cat >> confdefs.h
<<\EOF
18120 #define wxUSE_PNM 1
18125 if test "$wxUSE_XPM" = "yes" ; then
18126 cat >> confdefs.h
<<\EOF
18127 #define wxUSE_XPM 1
18133 if test "$wxUSE_CHOICEDLG" = "yes"; then
18134 cat >> confdefs.h
<<\EOF
18135 #define wxUSE_CHOICEDLG 1
18140 if test "$wxUSE_COLOURDLG" = "yes"; then
18141 cat >> confdefs.h
<<\EOF
18142 #define wxUSE_COLOURDLG 1
18147 if test "$wxUSE_FILEDLG" = "yes"; then
18148 cat >> confdefs.h
<<\EOF
18149 #define wxUSE_FILEDLG 1
18154 if test "$wxUSE_FINDREPLDLG" = "yes"; then
18155 cat >> confdefs.h
<<\EOF
18156 #define wxUSE_FINDREPLDLG 1
18161 if test "$wxUSE_FONTDLG" = "yes"; then
18162 cat >> confdefs.h
<<\EOF
18163 #define wxUSE_FONTDLG 1
18168 if test "$wxUSE_DIRDLG" = "yes"; then
18169 if test "$wxUSE_CONSTRAINTS" != "yes"; then
18170 echo "configure: warning: wxDirDialog requires constraints so it won't be compiled without them" 1>&2
18172 if test "$wxUSE_TREECTRL" != "yes"; then
18173 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
18175 cat >> confdefs.h
<<\EOF
18176 #define wxUSE_DIRDLG 1
18183 if test "$wxUSE_MSGDLG" = "yes"; then
18184 cat >> confdefs.h
<<\EOF
18185 #define wxUSE_MSGDLG 1
18190 if test "$wxUSE_NUMBERDLG" = "yes"; then
18191 cat >> confdefs.h
<<\EOF
18192 #define wxUSE_NUMBERDLG 1
18197 if test "$wxUSE_PROGRESSDLG" = "yes"; then
18198 if test "$wxUSE_CONSTRAINTS" != "yes"; then
18199 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
18201 cat >> confdefs.h
<<\EOF
18202 #define wxUSE_PROGRESSDLG 1
18208 if test "$wxUSE_SPLASH" = "yes"; then
18209 cat >> confdefs.h
<<\EOF
18210 #define wxUSE_SPLASH 1
18215 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
18216 if test "$wxUSE_CONSTRAINTS" != "yes"; then
18217 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
18219 cat >> confdefs.h
<<\EOF
18220 #define wxUSE_STARTUP_TIPS 1
18226 if test "$wxUSE_TEXTDLG" = "yes"; then
18227 cat >> confdefs.h
<<\EOF
18228 #define wxUSE_TEXTDLG 1
18233 if test "$wxUSE_WIZARDDLG" = "yes"; then
18234 cat >> confdefs.h
<<\EOF
18235 #define wxUSE_WIZARDDLG 1
18238 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
18242 if test "$cross_compiling" = "yes"; then
18245 OSINFO
=`uname -s -r -m`
18246 OSINFO
="\"$OSINFO\""
18249 cat >> confdefs.h
<<EOF
18250 #define WXWIN_OS_DESCRIPTION $OSINFO
18255 if test "x$prefix" != "xNONE"; then
18258 wxPREFIX
=$ac_default_prefix
18261 cat >> confdefs.h
<<EOF
18262 #define wxINSTALL_PREFIX "$wxPREFIX"
18267 GUILIBS
="$GUI_TK_LIBRARY $TOOLKIT_LINK"
18269 EXTRA_LIBS
="$EXTRA_LIBS $LIBS $POSIX4_LINK $INET_LINK $WCHAR_LINK $THREADS_LINK $DMALLOC_LINK $DL_LINK $ZLIB_LINK -lm"
18271 if test "$wxUSE_MAC" = 1 ; then
18272 EXTRA_LIBS
="$EXTRA_LIBS -framework Carbon -framework System"
18275 if test "$wxUSE_GUI" = "yes"; then
18276 EXTRA_LIBS
="$GUILIBS $PNG_LINK $JPEG_LINK $TIFF_LINK $FREETYPE_LINK $EXTRA_LIBS"
18279 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS controls dialogs \
18280 drawing dynamic erase event exec font image \
18281 minimal richedit rotate widgets"
18283 CPPFLAGS
="$CPPFLAGS \$(EXTRADEFS) \$(APPEXTRADEFS)"
18285 SAMPLES_SUBDIRS
="console"
18288 LD_LIBS
="\${top_builddir}/lib/${WX_LIBRARY_NAME_STATIC} $EXTRA_LIBS"
18290 INCLUDES
="-I\${top_builddir}/lib/wx/include/${TOOLCHAIN_NAME} -I\${top_srcdir}/include \
18291 $REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \
18292 $FREETYPE_INCLUDE $TOOLKIT_INCLUDE"
18294 if test "$wxUSE_GTK" = 1; then
18295 WXCONFIG_INCLUDE
=""
18297 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
18300 if test "$GXX" = yes ; then
18301 CXXWARNINGS
="-Wall"
18303 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE $INCLUDES"
18305 CFLAGS
=`echo $CFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
18306 CXXFLAGS
=`echo $CXXFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
18308 LDFLAGS
="$LDFLAGS $PROFILE"
18310 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
18397 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
18398 echo "configure:18399: checking whether ${MAKE-make} sets \${MAKE}" >&5
18399 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
18400 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
18401 echo $ac_n "(cached) $ac_c" 1>&6
18403 cat > conftestmake
<<\EOF
18405 @
echo 'ac_maketemp="${MAKE}"'
18407 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
18408 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
18409 if test -n "$ac_maketemp"; then
18410 eval ac_cv_prog_make_
${ac_make}_set
=yes
18412 eval ac_cv_prog_make_
${ac_make}_set
=no
18416 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
18417 echo "$ac_t""yes" 1>&6
18420 echo "$ac_t""no" 1>&6
18421 SET_MAKE
="MAKE=${MAKE-make}"
18425 if test -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
; then
18426 mv -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h setup.h
18431 if test "$wxUSE_GUI" = "yes"; then
18432 wx_cv_path_samplesubdirs
=$SAMPLES_SUBDIRS
18433 wx_cv_path_ifs
=$PATH_IFS
18434 wx_cv_program_ext
=$PROGRAM_EXT
18435 wx_cv_target_library
=$WX_TARGET_LIBRARY
18436 wx_cv_target_library_gl
=$WX_TARGET_LIBRARY_GL
18437 wx_cv_target_libtype
=$WX_TARGET_LIBRARY_TYPE
18438 export wx_cv_path_samplesubdirs wx_cv_path_ifs wx_cv_program_ext \
18439 wx_cv_target_library wx_cv_target_library_gl wx_cv_target_libtype
18440 subdirs
="demos samples utils contrib"
18445 cat > confcache
<<\EOF
18446 # This file is a shell script that caches the results of configure
18447 # tests run on this system so they can be shared between configure
18448 # scripts and configure runs. It is not useful on other systems.
18449 # If it contains results you don't want to keep, you may remove or edit it.
18451 # By default, configure uses ./config.cache as the cache file,
18452 # creating it if it does not exist already. You can give configure
18453 # the --cache-file=FILE option to use a different cache file; that is
18454 # what configure does when it calls configure scripts in
18455 # subdirectories, so they share the cache.
18456 # Giving --cache-file=/dev/null disables caching, for debugging configure.
18457 # config.status only pays attention to the cache file if you give it the
18458 # --recheck option to rerun configure.
18461 # The following way of writing the cache mishandles newlines in values,
18462 # but we know of no workaround that is simple, portable, and efficient.
18463 # So, don't put newlines in cache variables' values.
18464 # Ultrix sh set writes to stderr and can't be redirected directly,
18465 # and sets the high bit in the cache file unless we assign to the vars.
18467 case `(ac_space=' '; set | grep ac_space) 2>&1` in
18469 # `set' does not quote correctly, so add quotes (double-quote substitution
18470 # turns \\\\ into \\, and sed turns \\ into \).
18472 -e "s/'/'\\\\''/g" \
18473 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
18476 # `set' quotes correctly as required by POSIX, so do not add quotes.
18477 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
18480 if cmp -s $cache_file confcache
; then
18483 if test -w $cache_file; then
18484 echo "updating cache $cache_file"
18485 cat confcache
> $cache_file
18487 echo "not updating unwritable cache $cache_file"
18492 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
18494 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
18495 # Let make expand exec_prefix.
18496 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
18498 # Any assignment to VPATH causes Sun make to only execute
18499 # the first set of double-colon rules, so remove it if not needed.
18500 # If there is a colon in the path, we need to keep it.
18501 if test "x$srcdir" = x.
; then
18502 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
18505 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
18507 DEFS
=-DHAVE_CONFIG_H
18509 # Without the "./", some shells look in PATH for config.status.
18510 : ${CONFIG_STATUS=./config.status}
18512 echo creating
$CONFIG_STATUS
18513 rm -f $CONFIG_STATUS
18514 cat > $CONFIG_STATUS <<EOF
18516 # Generated automatically by configure.
18517 # Run this file to recreate the current configuration.
18518 # This directory was configured as follows,
18519 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18521 # $0 $ac_configure_args
18523 # Compiler output produced by configure, useful for debugging
18524 # configure, is in ./config.log if it exists.
18526 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
18529 case "\$ac_option" in
18530 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18531 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
18532 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
18533 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
18534 echo "$CONFIG_STATUS generated by autoconf version 2.13"
18536 -help | --help | --hel | --he | --h)
18537 echo "\$ac_cs_usage"; exit 0 ;;
18538 *) echo "\$ac_cs_usage"; exit 1 ;;
18542 ac_given_srcdir=$srcdir
18543 ac_given_INSTALL="$INSTALL"
18545 trap 'rm -fr `echo "
18551 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
18553 cat >> $CONFIG_STATUS <<EOF
18555 # Protect against being on the right side of a sed subst in config.status.
18556 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
18557 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
18561 s%@CFLAGS@%$CFLAGS%g
18562 s%@CPPFLAGS@%$CPPFLAGS%g
18563 s%@CXXFLAGS@%$CXXFLAGS%g
18564 s%@FFLAGS@%$FFLAGS%g
18566 s%@LDFLAGS@%$LDFLAGS%g
18568 s%@exec_prefix@%$exec_prefix%g
18569 s%@prefix@%$prefix%g
18570 s%@program_transform_name@%$program_transform_name%g
18571 s%@bindir@%$bindir%g
18572 s%@sbindir@%$sbindir%g
18573 s%@libexecdir@%$libexecdir%g
18574 s%@datadir@%$datadir%g
18575 s%@sysconfdir@%$sysconfdir%g
18576 s%@sharedstatedir@%$sharedstatedir%g
18577 s%@localstatedir@%$localstatedir%g
18578 s%@libdir@%$libdir%g
18579 s%@includedir@%$includedir%g
18580 s%@oldincludedir@%$oldincludedir%g
18581 s%@infodir@%$infodir%g
18582 s%@mandir@%$mandir%g
18584 s%@host_alias@%$host_alias%g
18585 s%@host_cpu@%$host_cpu%g
18586 s%@host_vendor@%$host_vendor%g
18587 s%@host_os@%$host_os%g
18588 s%@target@%$target%g
18589 s%@target_alias@%$target_alias%g
18590 s%@target_cpu@%$target_cpu%g
18591 s%@target_vendor@%$target_vendor%g
18592 s%@target_os@%$target_os%g
18594 s%@build_alias@%$build_alias%g
18595 s%@build_cpu@%$build_cpu%g
18596 s%@build_vendor@%$build_vendor%g
18597 s%@build_os@%$build_os%g
18601 s%@RANLIB@%$RANLIB%g
18603 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
18604 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
18605 s%@INSTALL_DATA@%$INSTALL_DATA%g
18609 s%@LEXLIB@%$LEXLIB%g
18611 s%@GTK_CONFIG_2_0@%$GTK_CONFIG_2_0%g
18612 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
18613 s%@GTK_LIBS@%$GTK_LIBS%g
18614 s%@GTK_CONFIG@%$GTK_CONFIG%g
18615 s%@X_CFLAGS@%$X_CFLAGS%g
18616 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
18617 s%@X_LIBS@%$X_LIBS%g
18618 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
18619 s%@RESCOMP@%$RESCOMP%g
18621 s%@CXXCPP@%$CXXCPP%g
18622 s%@LEX_STEM@%$LEX_STEM%g
18623 s%@PATH_IFS@%$PATH_IFS%g
18624 s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
18625 s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
18626 s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
18627 s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
18628 s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
18629 s%@WX_LIBRARY_IMPORTLIB@%$WX_LIBRARY_IMPORTLIB%g
18630 s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
18631 s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
18632 s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
18633 s%@PROGRAM_EXT@%$PROGRAM_EXT%g
18634 s%@WX_LIBRARY_NAME_STATIC_GL@%$WX_LIBRARY_NAME_STATIC_GL%g
18635 s%@WX_LIBRARY_NAME_SHARED_GL@%$WX_LIBRARY_NAME_SHARED_GL%g
18636 s%@WX_TARGET_LIBRARY_GL@%$WX_TARGET_LIBRARY_GL%g
18637 s%@WX_LIBRARY_LINK1_GL@%$WX_LIBRARY_LINK1_GL%g
18638 s%@WX_LIBRARY_LINK2_GL@%$WX_LIBRARY_LINK2_GL%g
18639 s%@WX_ALL@%$WX_ALL%g
18640 s%@WX_ALL_INSTALLED@%$WX_ALL_INSTALLED%g
18641 s%@SHARED_LD@%$SHARED_LD%g
18642 s%@PIC_FLAG@%$PIC_FLAG%g
18643 s%@CODE_GEN_FLAGS@%$CODE_GEN_FLAGS%g
18644 s%@CODE_GEN_FLAGS_CXX@%$CODE_GEN_FLAGS_CXX%g
18645 s%@SONAME_FLAGS@%$SONAME_FLAGS%g
18646 s%@SONAME_FLAGS_GL@%$SONAME_FLAGS_GL%g
18647 s%@WX_TARGET_LIBRARY_SONAME@%$WX_TARGET_LIBRARY_SONAME%g
18648 s%@WX_TARGET_LIBRARY_TYPE@%$WX_TARGET_LIBRARY_TYPE%g
18649 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
18650 s%@USE_GUI@%$USE_GUI%g
18651 s%@AFMINSTALL@%$AFMINSTALL%g
18652 s%@TOOLKIT@%$TOOLKIT%g
18653 s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
18654 s%@TOOLKIT_VPATH@%$TOOLKIT_VPATH%g
18655 s%@TOOLCHAIN_NAME@%$TOOLCHAIN_NAME%g
18656 s%@TOOLCHAIN_DEFS@%$TOOLCHAIN_DEFS%g
18657 s%@cross_compiling@%$cross_compiling%g
18658 s%@WXCONFIG_LIBS@%$WXCONFIG_LIBS%g
18659 s%@WXCONFIG_LIBS_GL@%$WXCONFIG_LIBS_GL%g
18660 s%@WXCONFIG_INCLUDE@%$WXCONFIG_INCLUDE%g
18661 s%@ALL_OBJECTS@%$ALL_OBJECTS%g
18662 s%@GUIDIST@%$GUIDIST%g
18663 s%@PORT_FILES@%$PORT_FILES%g
18664 s%@DISTDIR@%$DISTDIR%g
18665 s%@RPM_SPEC@%$RPM_SPEC%g
18666 s%@RPM_FILES@%$RPM_FILES%g
18667 s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
18668 s%@EXTRA_LIBS@%$EXTRA_LIBS%g
18669 s%@OPENGL_LIBS@%$OPENGL_LIBS%g
18670 s%@EXTRADEFS@%$EXTRADEFS%g
18671 s%@LD_LIBS@%$LD_LIBS%g
18672 s%@WXMSW_DLL_DEFINES@%$WXMSW_DLL_DEFINES%g
18673 s%@RESFLAGS@%$RESFLAGS%g
18674 s%@RESPROGRAMOBJ@%$RESPROGRAMOBJ%g
18675 s%@WX_RESOURCES_MACOSX@%$WX_RESOURCES_MACOSX%g
18676 s%@WX_RESOURCES_MACOSX_COMPILED@%$WX_RESOURCES_MACOSX_COMPILED%g
18677 s%@LIBWXMACRES@%$LIBWXMACRES%g
18678 s%@LIBWXMACRESCOMP@%$LIBWXMACRESCOMP%g
18679 s%@LIBWXMACRESWXCONFIG@%$LIBWXMACRESWXCONFIG%g
18680 s%@DLLTOOL@%$DLLTOOL%g
18684 s%@MAKEINFO@%$MAKEINFO%g
18685 s%@SET_MAKE@%$SET_MAKE%g
18686 s%@subdirs@%$subdirs%g
18691 cat >> $CONFIG_STATUS <<\EOF
18693 # Split the substitutions into bite-sized pieces for seds with
18694 # small command number limits, like on Digital OSF/1 and HP-UX.
18695 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
18696 ac_file
=1 # Number of current file.
18697 ac_beg
=1 # First line for current file.
18698 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
18701 while $ac_more_lines; do
18702 if test $ac_beg -gt 1; then
18703 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
18705 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
18707 if test ! -s conftest.s
$ac_file; then
18708 ac_more_lines
=false
18709 rm -f conftest.s
$ac_file
18711 if test -z "$ac_sed_cmds"; then
18712 ac_sed_cmds
="sed -f conftest.s$ac_file"
18714 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
18716 ac_file
=`expr $ac_file + 1`
18718 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
18721 if test -z "$ac_sed_cmds"; then
18726 cat >> $CONFIG_STATUS <<EOF
18728 CONFIG_FILES=\${CONFIG_FILES-"wx-config
18735 cat >> $CONFIG_STATUS <<\EOF
18736 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
18737 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
18739 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
18740 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
18741 *) ac_file_in
="${ac_file}.in" ;;
18744 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
18746 # Remove last slash and all that follows it. Not all systems have dirname.
18747 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
18748 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
18749 # The file is in a subdirectory.
18750 test ! -d "$ac_dir" && mkdir "$ac_dir"
18751 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
18752 # A "../" for each directory in $ac_dir_suffix.
18753 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
18755 ac_dir_suffix
= ac_dots
=
18758 case "$ac_given_srcdir" in
18760 if test -z "$ac_dots"; then top_srcdir
=.
18761 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
18762 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
18763 *) # Relative path.
18764 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
18765 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
18768 case "$ac_given_INSTALL" in
18769 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
18770 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
18773 echo creating
"$ac_file"
18775 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
18777 *Makefile
*) ac_comsub
="1i\\
18778 # $configure_input" ;;
18782 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
18784 s%@configure_input@%$configure_input%g
18785 s%@srcdir@%$srcdir%g
18786 s%@top_srcdir@%$top_srcdir%g
18787 s%@INSTALL@%$INSTALL%g
18788 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
18792 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
18793 # NAME is the cpp macro being defined and VALUE is the value it is being given.
18795 # ac_d sets the value in "#define NAME VALUE" lines.
18796 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
18797 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
18800 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
18801 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
18802 ac_uB
='\([ ]\)%\1#\2define\3'
18805 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
18806 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
18807 ac_eB
='$%\1#\2define\3'
18811 if test "${CONFIG_HEADERS+set}" != set; then
18813 cat >> $CONFIG_STATUS <<EOF
18814 CONFIG_HEADERS="setup.h:setup.h.in"
18816 cat >> $CONFIG_STATUS <<\EOF
18818 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
18819 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
18821 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
18822 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
18823 *) ac_file_in
="${ac_file}.in" ;;
18826 echo creating
$ac_file
18828 rm -f conftest.frag conftest.
in conftest.out
18829 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
18830 cat $ac_file_inputs > conftest.
in
18834 # Transform confdefs.h into a sed script conftest.vals that substitutes
18835 # the proper values into config.h.in to produce config.h. And first:
18836 # Protect against being on the right side of a sed subst in config.status.
18837 # Protect against being in an unquoted here document in config.status.
18838 rm -f conftest.vals
18839 cat > conftest.hdr
<<\EOF
18842 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
18846 sed -n -f conftest.hdr confdefs.h > conftest.vals
18849 # This sed command replaces #undef with comments. This is necessary, for
18850 # example, in the case of _POSIX_SOURCE, which is predefined and required
18851 # on some systems where configure will not decide to define it.
18852 cat >> conftest.vals <<\EOF
18853 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
18856 # Break up conftest.vals because some shells have a limit on
18857 # the size of here documents, and old seds have small limits too.
18859 rm -f conftest.tail
18862 ac_lines=`grep -c . conftest.vals
`
18863 # grep -c gives empty output for an empty file on some AIX systems.
18864 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
18865 # Write a limited-size here document to conftest.frag.
18866 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
18867 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
18869 sed -f conftest.frag conftest.in > conftest.out
18871 mv conftest.out conftest.in
18872 ' >> $CONFIG_STATUS
18873 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
18874 rm -f conftest.vals
18875 mv conftest.tail conftest.vals
18877 rm -f conftest.vals
18879 cat >> $CONFIG_STATUS <<\EOF
18880 rm -f conftest.frag conftest.h
18881 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
18882 cat conftest.in >> conftest.h
18884 if cmp -s $ac_file conftest.h 2>/dev/null; then
18885 echo "$ac_file is unchanged"
18888 # Remove last slash and all that follows it. Not all systems have dirname.
18889 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
18890 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
18891 # The file is in a subdirectory.
18892 test ! -d "$ac_dir" && mkdir "$ac_dir"
18895 mv conftest.h $ac_file
18900 cat >> $CONFIG_STATUS <<EOF
18902 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
18907 cat >> $CONFIG_STATUS <<\EOF
18909 if test ! -h wx-config; then
18911 mv wx-config wx${TOOLCHAIN_NAME}-config
18912 ${LN_S} wx${TOOLCHAIN_NAME}-config wx-config
18915 if test ! -d lib; then
18918 if test ! -d lib/wx; then
18921 if test ! -d lib/wx/include; then
18922 mkdir lib/wx/include
18924 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}; then
18925 mkdir lib/wx/include/${TOOLCHAIN_NAME}
18927 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}/wx; then
18928 mkdir lib/wx/include/${TOOLCHAIN_NAME}/wx
18930 if test -f setup.h; then
18931 mv -f setup.h lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h
18936 chmod +x $CONFIG_STATUS
18937 rm -fr confdefs* $ac_clean_files
18938 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
18940 if test "$no_recursion" != yes; then
18942 # Remove --cache-file and --srcdir arguments so they do not pile up.
18943 ac_sub_configure_args=
18945 for ac_arg in $ac_configure_args; do
18946 if test -n "$ac_prev"; then
18951 -cache-file | --cache-file | --cache-fil | --cache-fi \
18952 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
18953 ac_prev=cache_file ;;
18954 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
18955 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
18957 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
18959 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
18961 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
18965 for ac_config_dir in demos samples utils contrib; do
18967 # Do not complain, so a configure script can configure whichever
18968 # parts of a large source tree are present.
18969 if test ! -d $srcdir/$ac_config_dir; then
18973 echo configuring in $ac_config_dir
18978 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
18980 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
18988 # A "../" for each directory in /$ac_config_dir.
18989 ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
18992 .) # No --srcdir option. We are building in place.
18993 ac_sub_srcdir=$srcdir ;;
18994 /*) # Absolute path.
18995 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
18996 *) # Relative path.
18997 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
19000 # Check for guested configure; otherwise get Cygnus style configure.
19001 if test -f $ac_sub_srcdir/configure; then
19002 ac_sub_configure=$ac_sub_srcdir/configure
19003 elif test -f $ac_sub_srcdir/configure.in; then
19004 ac_sub_configure=$ac_configure
19006 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
19010 # The recursion is here.
19011 if test -n "$ac_sub_configure"; then
19013 # Make the cache file name correct relative to the subdirectory.
19014 case "$cache_file" in
19015 /*) ac_sub_cache_file=$cache_file ;;
19016 *) # Relative path.
19017 ac_sub_cache_file="$ac_dots$cache_file" ;;
19019 case "$ac_given_INSTALL" in
19020 [/$]*) INSTALL="$ac_given_INSTALL" ;;
19021 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
19024 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
19025 # The eval makes quoting arguments work.
19026 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
19029 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }