3 # From configure.in Id: configure.in
39 # Configure paths for GTK+
47 # Guess values for system-dependent variables and create Makefiles.
48 # Generated automatically using autoconf version 2.13
49 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
51 # This configure script is free software; the Free Software Foundation
52 # gives unlimited permission to copy, distribute and modify it.
56 ac_default_prefix
=/usr
/local
57 # Any additions from configure.in:
59 --enable-gui use GUI classes"
61 --enable-universal use wxWindows GUI controls instead of native ones"
65 --with-motif use Motif/Lesstif"
67 --with-mac use Mac OS X"
71 --with-cygwin use Cygwin for MS-Windows"
73 --with-mingw use GCC Minimal MS-Windows"
75 --with-pm use OS/2 Presentation Manager"
77 --with-mgl use SciTech MGL"
79 --enable-gtk2 use GTK+ 2.0 if available (EXPERIMENTAL)"
81 --with-libpng use libpng (PNG image format)"
83 --with-libjpeg use libjpeg (JPEG file format)"
85 --with-libtiff use libtiff (TIFF file format)"
87 --with-freetype use freetype (font rasterizer)"
89 --with-opengl use OpenGL (or Mesa)"
91 --with-dmalloc use dmalloc library (www.letters.com/dmalloc)"
93 --with-regex enable support for wxRegEx class"
95 --with-zlib use zlib for LZW compression"
97 --with-odbc use the IODBC and wxODBC classes"
99 --enable-shared create shared library code"
101 --enable-soname set the DT_SONAME field in ELF shared libraries"
103 --enable-optimise create optimised code"
105 --enable-debug same as debug_flag and debug_info"
107 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)"
109 --enable-debug_info create code with debugging information"
111 --enable-debug_gdb create code with extra GDB debugging information"
113 --enable-debug_cntxt use wxDebugContext"
115 --enable-mem_tracing create code with memory tracing"
117 --enable-profile create code with profiling information"
119 --enable-no_rtti create code without RTTI information"
121 --enable-no_exceptions create code without C++ exceptions handling"
123 --enable-permissive compile code disregarding strict ANSI"
125 --enable-no_deps create code without dependency information"
127 --enable-compat20 enable wxWindows 2.0 compatibility"
129 --enable-compat22 enable wxWindows 2.2 compatibility"
131 --enable-intl use internationalization system"
133 --enable-config use wxConfig (and derived) classes"
135 --enable-sockets use socket/network classes"
137 --enable-ipc use interprocess communication (wxSocket etc.)"
139 --enable-cmdline use wxCmdLineParser class"
141 --enable-datetime use wxDateTime class"
143 --enable-timedate use obsolete wxDate/wxTime classes"
145 --enable-stopwatch use wxStopWatch class"
147 --enable-dialupman use dialup network classes"
149 --enable-apple_ieee use the Apple IEEE codec"
151 --enable-timer use wxTimer class"
153 --enable-wave use wxWave class"
155 --enable-fraction use wxFraction class"
157 --enable-dynlib use wxLibrary class for DLL loading"
159 --enable-longlong use wxLongLong class"
161 --enable-geometry use geometry class"
163 --enable-log use logging system"
165 --enable-streams use wxStream etc classes"
167 --enable-file use wxFile classes"
169 --enable-ffile use wxFFile classes"
171 --enable-textfile use wxTextFile classes"
173 --enable-fontmap use font encodings conversion classes"
175 --enable-unicode compile wxString with Unicode support"
177 --enable-wxprintfv use wxWindows implementation of vprintf()"
179 --enable-std_iostreams use standard C++ stream classes"
181 --enable-filesystem use virtual file systems classes"
183 --enable-fs_inet use virtual HTTP/FTP filesystems"
185 --enable-fs_zip use virtual ZIP filesystems"
187 --enable-zipstream use wxZipInputStream"
189 --enable-catch_segvs catch signals and pass them to wxApp::OnFatalException"
191 --enable-snglinst use wxSingleInstanceChecker class"
193 --enable-mimetypes use wxMimeTypesManager"
195 --enable-sysoptions use wxSystemOptions"
197 --enable-threads use threads"
199 --enable-serial use class serialization"
201 --enable-docview use document view architecture"
203 --enable-help use help subsystem"
205 --enable-mshtmlhelp use MS HTML Help (win32)"
207 --enable-html use wxHTML sub-library"
209 --enable-htmlhelp use wxHTML-based help"
211 --enable-constraints use layout-constraints system"
213 --enable-printarch use printing architecture"
215 --enable-mdi use multiple document interface architecture"
217 --enable-loggui use standard GUI logger"
219 --enable-logwin use wxLogWindow"
221 --enable-postscript use wxPostscriptDC device context (default for gtk+)"
223 --enable-prologio use Prolog IO library"
225 --enable-resources use wxWindows resources"
227 --enable-xresources use X resources for save (default for gtk+)"
229 --enable-clipboard use wxClipboard classes"
231 --enable-dnd use Drag'n'Drop classes"
233 --enable-metafile use win32 metafiles"
235 --enable-treelayout use wxTreeLayout classes"
237 --enable-controls use all usual controls"
239 --enable-accel use accelerators"
241 --enable-button use wxButton class"
243 --enable-bmpbutton use wxBitmapButton class"
245 --enable-calendar use wxCalendarCtrl class"
247 --enable-caret use wxCaret class"
249 --enable-checkbox use wxCheckBox class"
251 --enable-checklst use wxCheckListBox (listbox with checkboxes) class"
253 --enable-choice use wxChoice class"
255 --enable-combobox use wxComboBox classes"
257 --enable-gauge use wxGauge class"
259 --enable-grid use wxGrid class"
261 --enable-newgrid use new wxGrid class"
263 --enable-imaglist use wxImageList class"
265 --enable-listbox use wxListBox class"
267 --enable-listctrl use wxListCtrl class"
269 --enable-notebook use wxNotebook class"
271 --enable-propsheet use wxPropertySheet class"
273 --enable-radiobox use wxRadioBox class"
275 --enable-radiobtn use wxRadioButton class"
277 --enable-sash use wxSashWindow class"
279 --enable-scrollbar use wxScrollBar class and scrollable windows"
281 --enable-slider use wxSlider class"
283 --enable-spinbtn use wxSpinButton class"
285 --enable-spinctrl use wxSpinCtrl class"
287 --enable-splitter use wxSplitterWindow class"
289 --enable-statbmp use wxStaticBitmap class"
291 --enable-statbox use wxStaticBox class"
293 --enable-statline use wxStaticLine class"
295 --enable-stattext use wxStaticText class"
297 --enable-statusbar use wxStatusBar class"
299 --enable-tabdialog use wxTabControl class"
301 --enable-textctrl use wxTextCtrl class"
303 --enable-togglebtn use wxToggleButton class"
305 --enable-toolbar use wxToolBar class"
307 --enable-tbarnative use native wxToolBar class"
309 --enable-tbarsmpl use wxToolBarSimple class"
311 --enable-treectrl use wxTreeCtrl class"
313 --enable-popupwin use wxPopUpWindow class"
315 --enable-commondlg use all common dialogs"
317 --enable-choicedlg use wxChoiceDialog"
319 --enable-coldlg use wxColourDialog"
321 --enable-filedlg use wxFileDialog"
323 --enable-finddlg use wxFindReplaceDialog"
325 --enable-fontdlg use wxFontDialog"
327 --enable-dirdlg use wxDirDialog"
329 --enable-msgdlg use wxMessageDialog"
331 --enable-numberdlg use wxNumberEntryDialog"
333 --enable-splash use wxSplashScreen"
335 --enable-textdlg use wxTextDialog"
337 --enable-tipdlg use startup tips"
339 --enable-progressdlg use wxProgressDialog"
341 --enable-wizarddlg use wxWizard"
343 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes"
345 --enable-miniframe use wxMiniFrame class"
347 --enable-tooltips use wxToolTip class"
349 --enable-splines use spline drawing code"
351 --enable-validators use wxValidator and derived classes"
353 --enable-busyinfo use wxBusyInfo"
355 --enable-joystick use wxJoystick (Linux only)"
357 --enable-metafiles use wxMetaFile (Windows only)"
359 --enable-dragimage use wxDragImage"
361 --enable-palette use wxPalette class"
363 --enable-image use wxImage class"
365 --enable-gif use gif images (GIF file format)"
367 --enable-pcx use pcx images (PCX file format)"
369 --enable-pnm use pnm images (PNM file format)"
371 --enable-xpm use xpm images (XPM file format)"
373 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
375 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
377 --disable-gtktest Do not try to compile and run a test GTK program"
379 --with-x use the X Window System"
381 # Initialize some variables set by options.
382 # The variables have the same names as the options, with
383 # dashes changed to underlines.
385 cache_file
=.
/config.cache
394 program_transform_name
=s
,x
,x
,
402 bindir
='${exec_prefix}/bin'
403 sbindir
='${exec_prefix}/sbin'
404 libexecdir
='${exec_prefix}/libexec'
405 datadir
='${prefix}/share'
406 sysconfdir
='${prefix}/etc'
407 sharedstatedir
='${prefix}/com'
408 localstatedir
='${prefix}/var'
409 libdir
='${exec_prefix}/lib'
410 includedir
='${prefix}/include'
411 oldincludedir
='/usr/include'
412 infodir
='${prefix}/info'
413 mandir
='${prefix}/man'
415 # Initialize some other variables.
418 SHELL
=${CONFIG_SHELL-/bin/sh}
419 # Maximum number of lines to put in a shell here document.
426 # If the previous option needs an argument, assign it.
427 if test -n "$ac_prev"; then
428 eval "$ac_prev=\$ac_option"
434 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
438 # Accept the important Cygnus configure options, so we can diagnose typos.
442 -bindir | --bindir | --bindi | --bind | --bin | --bi)
444 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
445 bindir
="$ac_optarg" ;;
447 -build | --build | --buil | --bui | --bu)
449 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
450 build
="$ac_optarg" ;;
452 -cache-file | --cache-file | --cache-fil | --cache-fi \
453 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
454 ac_prev
=cache_file
;;
455 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
456 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
457 cache_file
="$ac_optarg" ;;
459 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
461 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
463 datadir
="$ac_optarg" ;;
465 -disable-* | --disable-*)
466 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
467 # Reject names that are not valid shell variable names.
468 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
469 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
471 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
472 eval "enable_${ac_feature}=no" ;;
474 -enable-* | --enable-*)
475 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
476 # Reject names that are not valid shell variable names.
477 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
478 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
480 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
485 eval "enable_${ac_feature}='$ac_optarg'" ;;
487 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
488 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
489 | --exec | --exe | --ex)
490 ac_prev
=exec_prefix
;;
491 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
492 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
493 | --exec=* | --exe=* | --ex=*)
494 exec_prefix
="$ac_optarg" ;;
496 -gas | --gas | --ga | --g)
497 # Obsolete; use --with-gas.
500 -help | --help | --hel | --he)
501 # Omit some internal or obsolete options to make the list less imposing.
502 # This message is too long to be a string in the A/UX 3.1 sh.
504 Usage: configure [options] [host]
505 Options: [defaults in brackets after descriptions]
507 --cache-file=FILE cache test results in FILE
508 --help print this message
509 --no-create do not create output files
510 --quiet, --silent do not print \`checking...' messages
511 --version print the version of autoconf that created configure
512 Directory and file names:
513 --prefix=PREFIX install architecture-independent files in PREFIX
515 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
517 --bindir=DIR user executables in DIR [EPREFIX/bin]
518 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
519 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
520 --datadir=DIR read-only architecture-independent data in DIR
522 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
523 --sharedstatedir=DIR modifiable architecture-independent data in DIR
525 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
526 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
527 --includedir=DIR C header files in DIR [PREFIX/include]
528 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
529 --infodir=DIR info documentation in DIR [PREFIX/info]
530 --mandir=DIR man documentation in DIR [PREFIX/man]
531 --srcdir=DIR find the sources in DIR [configure dir or ..]
532 --program-prefix=PREFIX prepend PREFIX to installed program names
533 --program-suffix=SUFFIX append SUFFIX to installed program names
534 --program-transform-name=PROGRAM
535 run sed PROGRAM on installed program names
539 --build=BUILD configure for building on BUILD [BUILD=HOST]
540 --host=HOST configure for HOST [guessed]
541 --target=TARGET configure for TARGET [TARGET=HOST]
542 Features and packages:
543 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
544 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
545 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
546 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
547 --x-includes=DIR X include files are in DIR
548 --x-libraries=DIR X library files are in DIR
550 if test -n "$ac_help"; then
551 echo "--enable and --with options recognized:$ac_help"
555 -host | --host | --hos | --ho)
557 -host=* | --host=* | --hos=* | --ho=*)
560 -includedir | --includedir | --includedi | --included | --include \
561 | --includ | --inclu | --incl | --inc)
562 ac_prev
=includedir
;;
563 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
564 | --includ=* | --inclu=* | --incl=* | --inc=*)
565 includedir
="$ac_optarg" ;;
567 -infodir | --infodir | --infodi | --infod | --info | --inf)
569 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
570 infodir
="$ac_optarg" ;;
572 -libdir | --libdir | --libdi | --libd)
574 -libdir=* | --libdir=* | --libdi=* | --libd=*)
575 libdir
="$ac_optarg" ;;
577 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
578 | --libexe | --libex | --libe)
579 ac_prev
=libexecdir
;;
580 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
581 | --libexe=* | --libex=* | --libe=*)
582 libexecdir
="$ac_optarg" ;;
584 -localstatedir | --localstatedir | --localstatedi | --localstated \
585 | --localstate | --localstat | --localsta | --localst \
586 | --locals | --local | --loca | --loc | --lo)
587 ac_prev
=localstatedir
;;
588 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
589 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
590 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
591 localstatedir
="$ac_optarg" ;;
593 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
595 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
596 mandir
="$ac_optarg" ;;
599 # Obsolete; use --without-fp.
602 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
606 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
607 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
610 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
611 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
612 | --oldin | --oldi | --old | --ol | --o)
613 ac_prev
=oldincludedir
;;
614 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
615 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
616 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
617 oldincludedir
="$ac_optarg" ;;
619 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
621 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
622 prefix
="$ac_optarg" ;;
624 -program-prefix | --program-prefix | --program-prefi | --program-pref \
625 | --program-pre | --program-pr | --program-p)
626 ac_prev
=program_prefix
;;
627 -program-prefix=* | --program-prefix=* | --program-prefi=* \
628 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
629 program_prefix
="$ac_optarg" ;;
631 -program-suffix | --program-suffix | --program-suffi | --program-suff \
632 | --program-suf | --program-su | --program-s)
633 ac_prev
=program_suffix
;;
634 -program-suffix=* | --program-suffix=* | --program-suffi=* \
635 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
636 program_suffix
="$ac_optarg" ;;
638 -program-transform-name | --program-transform-name \
639 | --program-transform-nam | --program-transform-na \
640 | --program-transform-n | --program-transform- \
641 | --program-transform | --program-transfor \
642 | --program-transfo | --program-transf \
643 | --program-trans | --program-tran \
644 | --progr-tra | --program-tr | --program-t)
645 ac_prev
=program_transform_name
;;
646 -program-transform-name=* | --program-transform-name=* \
647 | --program-transform-nam=* | --program-transform-na=* \
648 | --program-transform-n=* | --program-transform-=* \
649 | --program-transform=* | --program-transfor=* \
650 | --program-transfo=* | --program-transf=* \
651 | --program-trans=* | --program-tran=* \
652 | --progr-tra=* | --program-tr=* | --program-t=*)
653 program_transform_name
="$ac_optarg" ;;
655 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
656 | -silent | --silent | --silen | --sile | --sil)
659 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
661 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
663 sbindir
="$ac_optarg" ;;
665 -sharedstatedir | --sharedstatedir | --sharedstatedi \
666 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
667 | --sharedst | --shareds | --shared | --share | --shar \
669 ac_prev
=sharedstatedir
;;
670 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
671 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
672 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
674 sharedstatedir
="$ac_optarg" ;;
676 -site | --site | --sit)
678 -site=* | --site=* | --sit=*)
681 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
683 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
684 srcdir
="$ac_optarg" ;;
686 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
687 | --syscon | --sysco | --sysc | --sys | --sy)
688 ac_prev
=sysconfdir
;;
689 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
690 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
691 sysconfdir
="$ac_optarg" ;;
693 -target | --target | --targe | --targ | --tar | --ta | --t)
695 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
696 target
="$ac_optarg" ;;
698 -v | -verbose | --verbose | --verbos | --verbo | --verb)
701 -version | --version | --versio | --versi | --vers)
702 echo "configure generated by autoconf version 2.13"
706 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
707 # Reject names that are not valid shell variable names.
708 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
709 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
711 ac_package
=`echo $ac_package| sed 's/-/_/g'`
716 eval "with_${ac_package}='$ac_optarg'" ;;
718 -without-* | --without-*)
719 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
720 # Reject names that are not valid shell variable names.
721 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
722 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
724 ac_package
=`echo $ac_package| sed 's/-/_/g'`
725 eval "with_${ac_package}=no" ;;
728 # Obsolete; use --with-x.
731 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
732 | --x-incl | --x-inc | --x-in | --x-i)
733 ac_prev
=x_includes
;;
734 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
735 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
736 x_includes
="$ac_optarg" ;;
738 -x-libraries | --x-libraries | --x-librarie | --x-librari \
739 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
740 ac_prev
=x_libraries
;;
741 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
742 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
743 x_libraries
="$ac_optarg" ;;
745 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
749 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
750 echo "configure: warning: $ac_option: invalid host type" 1>&2
752 if test "x$nonopt" != xNONE
; then
753 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
761 if test -n "$ac_prev"; then
762 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
765 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
767 # File descriptor usage:
770 # 2 errors and warnings
771 # 3 some systems may open it to /dev/tty
772 # 4 used on the Kubota Titan
773 # 6 checking for... messages and results
774 # 5 compiler messages saved in config.log
775 if test "$silent" = yes; then
783 This file contains any messages produced by compilers while
784 running configure, to aid debugging if configure makes a mistake.
787 # Strip out --no-create and --no-recursion so they do not pile up.
788 # Also quote any args containing shell metacharacters.
793 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
794 | --no-cr | --no-c) ;;
795 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
796 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
797 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
798 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
799 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
804 # Only set these to C if already set. These must not be set unconditionally
805 # because not all systems understand e.g. LANG=C (notably SCO).
806 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
807 # Non-C LC_CTYPE values break the ctype check.
808 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
809 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
810 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
811 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
813 # confdefs.h avoids OS command line length limits that DEFS can exceed.
814 rm -rf conftest
* confdefs.h
815 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
818 # A filename unique to this package, relative to the directory that
819 # configure is in, which we can look for to find out if srcdir is correct.
820 ac_unique_file
=wx
-config.
in
822 # Find the source files, if location was not specified.
823 if test -z "$srcdir"; then
824 ac_srcdir_defaulted
=yes
825 # Try the directory containing this script, then its parent.
827 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
828 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
830 if test ! -r $srcdir/$ac_unique_file; then
834 ac_srcdir_defaulted
=no
836 if test ! -r $srcdir/$ac_unique_file; then
837 if test "$ac_srcdir_defaulted" = yes; then
838 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
840 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
843 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
845 # Prefer explicitly selected file to automatically selected ones.
846 if test -z "$CONFIG_SITE"; then
847 if test "x$prefix" != xNONE
; then
848 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
850 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
853 for ac_site_file
in $CONFIG_SITE; do
854 if test -r "$ac_site_file"; then
855 echo "loading site script $ac_site_file"
860 if test -r "$cache_file"; then
861 echo "loading cache $cache_file"
864 echo "creating cache $cache_file"
869 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
870 ac_cpp
='$CPP $CPPFLAGS'
871 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
872 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
873 cross_compiling
=$ac_cv_prog_cc_cross
877 if (echo "testing\c"; echo 1,2,3) | grep c
>/dev
/null
; then
878 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
879 if (echo -n testing
; echo 1,2,3) | sed s
/-n/xn
/ | grep xn
>/dev
/null
; then
886 ac_n
= ac_c
='\c' ac_t
=
892 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
893 if test -f $ac_dir/install-sh; then
895 ac_install_sh
="$ac_aux_dir/install-sh -c"
897 elif test -f $ac_dir/install.sh
; then
899 ac_install_sh
="$ac_aux_dir/install.sh -c"
903 if test -z "$ac_aux_dir"; then
904 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
906 ac_config_guess
=$ac_aux_dir/config.guess
907 ac_config_sub
=$ac_aux_dir/config.sub
908 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
911 # Do some error checking and defaulting for the host and target type.
913 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
916 # 1. You are not allowed to specify --host, --target, and nonopt at the
918 # 2. Host defaults to nonopt.
919 # 3. If nonopt is not specified, then host defaults to the current host,
920 # as determined by config.guess.
921 # 4. Target and build default to nonopt.
922 # 5. If nonopt is not specified, then target and build default to host.
924 # The aliases save the names the user supplied, while $host etc.
925 # will get canonicalized.
926 case $host---$target---$nonopt in
927 NONE
---*---* | *---NONE---* | *---*---NONE) ;;
928 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
932 # Make sure we can run config.sub.
933 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
934 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
937 echo $ac_n "checking host system type""... $ac_c" 1>&6
938 echo "configure:939: checking host system type" >&5
941 case "$host_alias" in
945 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
946 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
948 *) host_alias
=$nonopt ;;
952 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
953 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
954 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
955 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
956 echo "$ac_t""$host" 1>&6
958 echo $ac_n "checking target system type""... $ac_c" 1>&6
959 echo "configure:960: checking target system type" >&5
962 case "$target_alias" in
965 NONE
) target_alias
=$host_alias ;;
966 *) target_alias
=$nonopt ;;
970 target
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
971 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
972 target_vendor
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
973 target_os
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
974 echo "$ac_t""$target" 1>&6
976 echo $ac_n "checking build system type""... $ac_c" 1>&6
977 echo "configure:978: checking build system type" >&5
980 case "$build_alias" in
983 NONE
) build_alias
=$host_alias ;;
984 *) build_alias
=$nonopt ;;
988 build
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
989 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
990 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
991 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
992 echo "$ac_t""$build" 1>&6
994 test "$host_alias" != "$target_alias" &&
995 test "$program_prefix$program_suffix$program_transform_name" = \
997 program_prefix
=${target_alias}-
1001 WX_MAJOR_VERSION_NUMBER
=2
1002 WX_MINOR_VERSION_NUMBER
=3
1005 WX_VERSION
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER.
$WX_RELEASE_NUMBER
1006 WX_RELEASE
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER
1041 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1043 ALL_TOOLKITS
="CYGWIN GTK MAC MGL MINGW MOTIF PM WINE"
1048 DEFAULT_wxUSE_MOTIF
=0
1051 DEFAULT_wxUSE_WINE
=0
1053 DEFAULT_DEFAULT_wxUSE_GTK
=0
1054 DEFAULT_DEFAULT_wxUSE_MAC
=0
1055 DEFAULT_DEFAULT_wxUSE_MGL
=0
1056 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1057 DEFAULT_DEFAULT_wxUSE_MSW
=0
1058 DEFAULT_DEFAULT_wxUSE_PM
=0
1059 DEFAULT_DEFAULT_wxUSE_WINE
=0
1067 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1068 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1070 cat >> confdefs.h
<<\EOF
1077 cat >> confdefs.h
<<\EOF
1082 if test "x$TMP" = "xalpha"; then
1084 cat >> confdefs.h
<<\EOF
1089 DEFAULT_DEFAULT_wxUSE_GTK
=1
1091 *-*-irix5* | *-*-irix6* )
1094 cat >> confdefs.h
<<\EOF
1098 cat >> confdefs.h
<<\EOF
1102 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1108 cat >> confdefs.h
<<\EOF
1112 cat >> confdefs.h
<<\EOF
1113 #define __SOLARIS__ 1
1116 cat >> confdefs.h
<<\EOF
1120 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1121 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1127 cat >> confdefs.h
<<\EOF
1131 cat >> confdefs.h
<<\EOF
1135 cat >> confdefs.h
<<\EOF
1139 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1144 cat >> confdefs.h
<<\EOF
1145 #define __FREEBSD__ 1
1148 cat >> confdefs.h
<<\EOF
1152 DEFAULT_DEFAULT_wxUSE_GTK
=1
1157 cat >> confdefs.h
<<\EOF
1158 #define __FREEBSD__ 1
1161 cat >> confdefs.h
<<\EOF
1162 #define __OPENBSD__ 1
1165 DEFAULT_DEFAULT_wxUSE_GTK
=1
1170 cat >> confdefs.h
<<\EOF
1171 #define __FREEBSD__ 1
1174 cat >> confdefs.h
<<\EOF
1175 #define __NETBSD__ 1
1178 DEFAULT_DEFAULT_wxUSE_GTK
=1
1183 cat >> confdefs.h
<<\EOF
1187 cat >> confdefs.h
<<\EOF
1191 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1192 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1197 cat >> confdefs.h
<<\EOF
1201 cat >> confdefs.h
<<\EOF
1205 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1210 cat >> confdefs.h
<<\EOF
1214 cat >> confdefs.h
<<\EOF
1218 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1224 cat >> confdefs.h
<<\EOF
1228 cat >> confdefs.h
<<\EOF
1232 cat >> confdefs.h
<<\EOF
1236 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1239 *-*-cygwin* | *-*-mingw32* )
1243 cat >> confdefs.h
<<\EOF
1247 cat >> confdefs.h
<<\EOF
1251 cat >> confdefs.h
<<\EOF
1252 #define __WINDOWS__ 1
1255 cat >> confdefs.h
<<\EOF
1256 #define __GNUWIN32__ 1
1259 cat >> confdefs.h
<<\EOF
1263 cat >> confdefs.h
<<\EOF
1264 #define WINVER 0x0400
1269 DEFAULT_DEFAULT_wxUSE_MSW
=1
1273 cat >> confdefs.h
<<\EOF
1278 DEFAULT_DEFAULT_wxUSE_PM
=1
1285 cat >> confdefs.h
<<\EOF
1289 cat >> confdefs.h
<<\EOF
1290 #define __DARWIN__ 1
1293 cat >> confdefs.h
<<\EOF
1294 #define __POWERPC__ 1
1297 DEFAULT_DEFAULT_wxUSE_MAC
=1
1302 cat >> confdefs.h
<<\EOF
1309 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
1312 if test "$USE_UNIX" = 1 ; then
1314 cat >> confdefs.h
<<\EOF
1320 if test "$USE_LINUX" = 1; then
1321 echo $ac_n "checking for glibc 2.1 or later""... $ac_c" 1>&6
1322 echo "configure:1323: checking for glibc 2.1 or later" >&5
1323 if eval "test \"`echo '$''{'wx_lib_glibc21'+set}'`\" = set"; then
1324 echo $ac_n "(cached) $ac_c" 1>&6
1326 cat > conftest.
$ac_ext <<EOF
1327 #line 1328 "configure"
1328 #include "confdefs.h"
1329 #include <features.h>
1332 #if !__GLIBC_PREREQ(2, 1)
1338 if { (eval echo configure
:1339: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1344 echo "configure: failed program was:" >&5
1345 cat conftest.
$ac_ext >&5
1356 echo "$ac_t""$wx_lib_glibc21" 1>&6
1357 if test "$wx_lib_glibc21" = "yes"; then
1358 cat >> confdefs.h
<<\EOF
1359 #define wxHAVE_GLIBC2 1
1368 wx_arg_cache_file
="configarg.cache"
1369 echo "loading argument cache $wx_arg_cache_file"
1370 rm -f ${wx_arg_cache_file}.tmp
1371 touch ${wx_arg_cache_file}.tmp
1372 touch ${wx_arg_cache_file}
1376 if test $DEBUG_CONFIGURE = 1; then
1377 DEFAULT_wxUSE_UNIVERSAL
=no
1379 DEFAULT_wxUSE_THREADS
=yes
1381 DEFAULT_wxUSE_SHARED
=yes
1382 DEFAULT_wxUSE_SONAME
=no
1383 DEFAULT_wxUSE_OPTIMISE
=no
1384 DEFAULT_wxUSE_PROFILE
=no
1385 DEFAULT_wxUSE_NO_DEPS
=no
1386 DEFAULT_wxUSE_NO_RTTI
=no
1387 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1388 DEFAULT_wxUSE_PERMISSIVE
=no
1389 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1390 DEFAULT_wxUSE_DEBUG_INFO
=yes
1391 DEFAULT_wxUSE_DEBUG_GDB
=yes
1392 DEFAULT_wxUSE_MEM_TRACING
=no
1393 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1394 DEFAULT_wxUSE_DMALLOC
=no
1395 DEFAULT_wxUSE_APPLE_IEEE
=no
1397 DEFAULT_wxUSE_LOG
=yes
1398 DEFAULT_wxUSE_LOGWINDOW
=no
1399 DEFAULT_wxUSE_LOGGUI
=no
1401 DEFAULT_wxUSE_GUI
=yes
1402 DEFAULT_wxUSE_CONTROLS
=no
1404 DEFAULT_wxUSE_REGEX
=no
1405 DEFAULT_wxUSE_ZLIB
=no
1406 DEFAULT_wxUSE_LIBPNG
=no
1407 DEFAULT_wxUSE_LIBJPEG
=no
1408 DEFAULT_wxUSE_LIBTIFF
=no
1409 DEFAULT_wxUSE_ODBC
=no
1410 DEFAULT_wxUSE_FREETYPE
=no
1411 DEFAULT_wxUSE_OPENGL
=no
1413 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
1414 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
1415 DEFAULT_wxUSE_STD_IOSTREAM
=no
1416 DEFAULT_wxUSE_CMDLINE_PARSER
=no
1417 DEFAULT_wxUSE_DATETIME
=no
1418 DEFAULT_wxUSE_TIMEDATE
=no
1419 DEFAULT_wxUSE_TIMER
=no
1420 DEFAULT_wxUSE_STOPWATCH
=no
1421 DEFAULT_wxUSE_FILE
=no
1422 DEFAULT_wxUSE_FFILE
=no
1423 DEFAULT_wxUSE_TEXTFILE
=no
1424 DEFAULT_wxUSE_WAVE
=no
1425 DEFAULT_wxUSE_INTL
=no
1426 DEFAULT_wxUSE_CONFIG
=no
1427 DEFAULT_wxUSE_FONTMAP
=no
1428 DEFAULT_wxUSE_STREAMS
=no
1429 DEFAULT_wxUSE_SOCKETS
=no
1430 DEFAULT_wxUSE_DIALUP_MANAGER
=no
1431 DEFAULT_wxUSE_SERIAL
=no
1432 DEFAULT_wxUSE_JOYSTICK
=no
1433 DEFAULT_wxUSE_DYNLIB_CLASS
=no
1434 DEFAULT_wxUSE_LONGLONG
=no
1435 DEFAULT_wxUSE_GEOMETRY
=no
1437 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
1438 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
1439 DEFAULT_wxUSE_POSTSCRIPT
=no
1441 DEFAULT_wxUSE_X_RESOURCES
=no
1442 DEFAULT_wxUSE_CLIPBOARD
=no
1443 DEFAULT_wxUSE_TOOLTIPS
=no
1444 DEFAULT_wxUSE_DRAG_AND_DROP
=no
1445 DEFAULT_wxUSE_DRAGIMAGE
=no
1446 DEFAULT_wxUSE_SPLINES
=no
1448 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
1449 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
1450 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
1452 DEFAULT_wxUSE_PROLOGIO
=no
1453 DEFAULT_wxUSE_RESOURCES
=no
1454 DEFAULT_wxUSE_CONSTRAINTS
=no
1455 DEFAULT_wxUSE_IPC
=no
1456 DEFAULT_wxUSE_HELP
=no
1457 DEFAULT_wxUSE_MS_HTML_HELP
=no
1458 DEFAULT_wxUSE_WXHTML_HELP
=no
1459 DEFAULT_wxUSE_TREELAYOUT
=no
1460 DEFAULT_wxUSE_METAFILE
=no
1461 DEFAULT_wxUSE_MIMETYPE
=no
1462 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
1464 DEFAULT_wxUSE_COMMONDLGS
=no
1465 DEFAULT_wxUSE_CHOICEDLG
=no
1466 DEFAULT_wxUSE_COLOURDLG
=no
1467 DEFAULT_wxUSE_DIRDLG
=no
1468 DEFAULT_wxUSE_FILEDLG
=no
1469 DEFAULT_wxUSE_FINDREPLDLG
=no
1470 DEFAULT_wxUSE_FONTDLG
=no
1471 DEFAULT_wxUSE_MSGDLG
=no
1472 DEFAULT_wxUSE_NUMBERDLG
=no
1473 DEFAULT_wxUSE_TEXTDLG
=no
1474 DEFAULT_wxUSE_SPLASH
=no
1475 DEFAULT_wxUSE_STARTUP_TIPS
=no
1476 DEFAULT_wxUSE_PROGRESSDLG
=no
1477 DEFAULT_wxUSE_WIZARDDLG
=no
1479 DEFAULT_wxUSE_MENUS
=no
1480 DEFAULT_wxUSE_MINIFRAME
=no
1481 DEFAULT_wxUSE_HTML
=no
1482 DEFAULT_wxUSE_FILESYSTEM
=no
1483 DEFAULT_wxUSE_FS_INET
=no
1484 DEFAULT_wxUSE_FS_ZIP
=no
1485 DEFAULT_wxUSE_BUSYINFO
=no
1486 DEFAULT_wxUSE_ZIPSTREAM
=no
1487 DEFAULT_wxUSE_VALIDATORS
=no
1489 DEFAULT_wxUSE_ACCEL
=no
1490 DEFAULT_wxUSE_BUTTON
=no
1491 DEFAULT_wxUSE_BMPBUTTON
=no
1492 DEFAULT_wxUSE_CALCTRL
=no
1493 DEFAULT_wxUSE_CARET
=no
1494 DEFAULT_wxUSE_CHECKBOX
=no
1495 DEFAULT_wxUSE_CHECKLST
=no
1496 DEFAULT_wxUSE_CHOICE
=no
1497 DEFAULT_wxUSE_COMBOBOX
=no
1498 DEFAULT_wxUSE_GAUGE
=no
1499 DEFAULT_wxUSE_GRID
=no
1500 DEFAULT_wxUSE_NEW_GRID
=no
1501 DEFAULT_wxUSE_IMAGLIST
=no
1502 DEFAULT_wxUSE_LISTBOX
=no
1503 DEFAULT_wxUSE_LISTCTRL
=no
1504 DEFAULT_wxUSE_NOTEBOOK
=no
1505 DEFAULT_wxUSE_PROPSHEET
=no
1506 DEFAULT_wxUSE_RADIOBOX
=no
1507 DEFAULT_wxUSE_RADIOBTN
=no
1508 DEFAULT_wxUSE_SASH
=no
1509 DEFAULT_wxUSE_SCROLLBAR
=no
1510 DEFAULT_wxUSE_SLIDER
=no
1511 DEFAULT_wxUSE_SPINBTN
=no
1512 DEFAULT_wxUSE_SPINCTRL
=no
1513 DEFAULT_wxUSE_SPLITTER
=no
1514 DEFAULT_wxUSE_STATBMP
=no
1515 DEFAULT_wxUSE_STATBOX
=no
1516 DEFAULT_wxUSE_STATLINE
=no
1517 DEFAULT_wxUSE_STATTEXT
=no
1518 DEFAULT_wxUSE_STATUSBAR
=yes
1519 DEFAULT_wxUSE_TABDIALOG
=no
1520 DEFAULT_wxUSE_TEXTCTRL
=no
1521 DEFAULT_wxUSE_TOGGLEBTN
=no
1522 DEFAULT_wxUSE_TOOLBAR
=no
1523 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
1524 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
1525 DEFAULT_wxUSE_TREECTRL
=no
1526 DEFAULT_wxUSE_POPUPWIN
=no
1528 DEFAULT_wxUSE_UNICODE
=no
1529 DEFAULT_wxUSE_WCSRTOMBS
=no
1531 DEFAULT_wxUSE_PALETTE
=no
1532 DEFAULT_wxUSE_IMAGE
=no
1533 DEFAULT_wxUSE_GIF
=no
1534 DEFAULT_wxUSE_PCX
=no
1535 DEFAULT_wxUSE_PNM
=no
1536 DEFAULT_wxUSE_XPM
=no
1538 DEFAULT_wxUSE_UNIVERSAL
=no
1540 DEFAULT_wxUSE_THREADS
=yes
1542 DEFAULT_wxUSE_SHARED
=yes
1543 DEFAULT_wxUSE_SONAME
=no
1544 DEFAULT_wxUSE_OPTIMISE
=yes
1545 DEFAULT_wxUSE_PROFILE
=no
1546 DEFAULT_wxUSE_NO_DEPS
=no
1547 DEFAULT_wxUSE_NO_RTTI
=no
1548 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1549 DEFAULT_wxUSE_PERMISSIVE
=no
1550 DEFAULT_wxUSE_DEBUG_FLAG
=no
1551 DEFAULT_wxUSE_DEBUG_INFO
=no
1552 DEFAULT_wxUSE_DEBUG_GDB
=no
1553 DEFAULT_wxUSE_MEM_TRACING
=no
1554 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1555 DEFAULT_wxUSE_DMALLOC
=no
1556 DEFAULT_wxUSE_APPLE_IEEE
=yes
1558 DEFAULT_wxUSE_LOG
=yes
1559 DEFAULT_wxUSE_LOGWINDOW
=yes
1560 DEFAULT_wxUSE_LOGGUI
=yes
1562 DEFAULT_wxUSE_GUI
=yes
1564 DEFAULT_wxUSE_REGEX
=yes
1565 DEFAULT_wxUSE_ZLIB
=yes
1566 DEFAULT_wxUSE_LIBPNG
=yes
1567 DEFAULT_wxUSE_LIBJPEG
=yes
1568 DEFAULT_wxUSE_LIBTIFF
=yes
1569 DEFAULT_wxUSE_ODBC
=no
1570 DEFAULT_wxUSE_FREETYPE
=no
1571 DEFAULT_wxUSE_OPENGL
=no
1573 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
1574 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
1575 DEFAULT_wxUSE_STD_IOSTREAM
=no
1576 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
1577 DEFAULT_wxUSE_DATETIME
=yes
1578 DEFAULT_wxUSE_TIMEDATE
=no
1579 DEFAULT_wxUSE_TIMER
=yes
1580 DEFAULT_wxUSE_STOPWATCH
=yes
1581 DEFAULT_wxUSE_FILE
=yes
1582 DEFAULT_wxUSE_FFILE
=yes
1583 DEFAULT_wxUSE_TEXTFILE
=yes
1584 DEFAULT_wxUSE_WAVE
=no
1585 DEFAULT_wxUSE_INTL
=yes
1586 DEFAULT_wxUSE_CONFIG
=yes
1587 DEFAULT_wxUSE_FONTMAP
=yes
1588 DEFAULT_wxUSE_STREAMS
=yes
1589 DEFAULT_wxUSE_SOCKETS
=yes
1590 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
1591 DEFAULT_wxUSE_SERIAL
=yes
1592 DEFAULT_wxUSE_JOYSTICK
=yes
1593 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
1594 DEFAULT_wxUSE_LONGLONG
=yes
1595 DEFAULT_wxUSE_GEOMETRY
=yes
1597 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
1598 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
1599 DEFAULT_wxUSE_POSTSCRIPT
=yes
1601 DEFAULT_wxUSE_X_RESOURCES
=no
1602 DEFAULT_wxUSE_CLIPBOARD
=yes
1603 DEFAULT_wxUSE_TOOLTIPS
=yes
1604 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
1605 DEFAULT_wxUSE_DRAGIMAGE
=yes
1606 DEFAULT_wxUSE_SPLINES
=yes
1608 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
1609 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
1610 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
1612 DEFAULT_wxUSE_PROLOGIO
=yes
1613 DEFAULT_wxUSE_RESOURCES
=yes
1614 DEFAULT_wxUSE_CONSTRAINTS
=yes
1615 DEFAULT_wxUSE_IPC
=yes
1616 DEFAULT_wxUSE_HELP
=yes
1617 DEFAULT_wxUSE_MS_HTML_HELP
=yes
1618 DEFAULT_wxUSE_WXHTML_HELP
=yes
1619 DEFAULT_wxUSE_TREELAYOUT
=yes
1620 DEFAULT_wxUSE_METAFILE
=yes
1621 DEFAULT_wxUSE_MIMETYPE
=yes
1622 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
1624 DEFAULT_wxUSE_COMMONDLGS
=yes
1625 DEFAULT_wxUSE_CHOICEDLG
=yes
1626 DEFAULT_wxUSE_COLOURDLG
=yes
1627 DEFAULT_wxUSE_DIRDLG
=yes
1628 DEFAULT_wxUSE_FILEDLG
=yes
1629 DEFAULT_wxUSE_FINDREPLDLG
=yes
1630 DEFAULT_wxUSE_FONTDLG
=yes
1631 DEFAULT_wxUSE_MSGDLG
=yes
1632 DEFAULT_wxUSE_NUMBERDLG
=yes
1633 DEFAULT_wxUSE_TEXTDLG
=yes
1634 DEFAULT_wxUSE_SPLASH
=yes
1635 DEFAULT_wxUSE_STARTUP_TIPS
=yes
1636 DEFAULT_wxUSE_PROGRESSDLG
=yes
1637 DEFAULT_wxUSE_WIZARDDLG
=yes
1639 DEFAULT_wxUSE_MENUS
=yes
1640 DEFAULT_wxUSE_MINIFRAME
=yes
1641 DEFAULT_wxUSE_HTML
=yes
1642 DEFAULT_wxUSE_FILESYSTEM
=yes
1643 DEFAULT_wxUSE_FS_INET
=yes
1644 DEFAULT_wxUSE_FS_ZIP
=yes
1645 DEFAULT_wxUSE_BUSYINFO
=yes
1646 DEFAULT_wxUSE_ZIPSTREAM
=yes
1647 DEFAULT_wxUSE_VALIDATORS
=yes
1649 DEFAULT_wxUSE_ACCEL
=yes
1650 DEFAULT_wxUSE_BUTTON
=yes
1651 DEFAULT_wxUSE_BMPBUTTON
=yes
1652 DEFAULT_wxUSE_CALCTRL
=yes
1653 DEFAULT_wxUSE_CARET
=yes
1654 DEFAULT_wxUSE_CHECKBOX
=yes
1655 DEFAULT_wxUSE_CHECKLST
=yes
1656 DEFAULT_wxUSE_CHOICE
=yes
1657 DEFAULT_wxUSE_COMBOBOX
=yes
1658 DEFAULT_wxUSE_GAUGE
=yes
1659 DEFAULT_wxUSE_GRID
=yes
1660 DEFAULT_wxUSE_NEW_GRID
=yes
1661 DEFAULT_wxUSE_IMAGLIST
=yes
1662 DEFAULT_wxUSE_LISTBOX
=yes
1663 DEFAULT_wxUSE_LISTCTRL
=yes
1664 DEFAULT_wxUSE_NOTEBOOK
=yes
1665 DEFAULT_wxUSE_PROPSHEET
=yes
1666 DEFAULT_wxUSE_RADIOBOX
=yes
1667 DEFAULT_wxUSE_RADIOBTN
=yes
1668 DEFAULT_wxUSE_SASH
=yes
1669 DEFAULT_wxUSE_SCROLLBAR
=yes
1670 DEFAULT_wxUSE_SLIDER
=yes
1671 DEFAULT_wxUSE_SPINBTN
=yes
1672 DEFAULT_wxUSE_SPINCTRL
=yes
1673 DEFAULT_wxUSE_SPLITTER
=yes
1674 DEFAULT_wxUSE_STATBMP
=yes
1675 DEFAULT_wxUSE_STATBOX
=yes
1676 DEFAULT_wxUSE_STATLINE
=yes
1677 DEFAULT_wxUSE_STATTEXT
=yes
1678 DEFAULT_wxUSE_STATUSBAR
=yes
1679 DEFAULT_wxUSE_TABDIALOG
=no
1680 DEFAULT_wxUSE_TEXTCTRL
=yes
1681 DEFAULT_wxUSE_TOGGLEBTN
=yes
1682 DEFAULT_wxUSE_TOOLBAR
=yes
1683 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
1684 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
1685 DEFAULT_wxUSE_TREECTRL
=yes
1686 DEFAULT_wxUSE_POPUPWIN
=yes
1688 DEFAULT_wxUSE_UNICODE
=no
1689 DEFAULT_wxUSE_WCSRTOMBS
=no
1691 DEFAULT_wxUSE_PALETTE
=yes
1692 DEFAULT_wxUSE_IMAGE
=yes
1693 DEFAULT_wxUSE_GIF
=yes
1694 DEFAULT_wxUSE_PCX
=yes
1695 DEFAULT_wxUSE_PNM
=yes
1696 DEFAULT_wxUSE_XPM
=yes
1701 for toolkit
in `echo $ALL_TOOLKITS`; do
1702 LINE
=`grep "wxUSE_$toolkit" ${wx_arg_cache_file}`
1703 if test "x$LINE" != x
; then
1704 has_toolkit_in_cache
=1
1705 eval "DEFAULT_$LINE"
1706 eval "CACHE_$toolkit=1"
1712 echo $ac_n "checking for --enable-gui""... $ac_c" 1>&6
1713 echo "configure:1714: checking for --enable-gui" >&5
1715 # Check whether --enable-gui or --disable-gui was given.
1716 if test "${enable_gui+set}" = set; then
1717 enableval
="$enable_gui"
1719 if test "$enableval" = yes; then
1720 ac_cv_use_gui
='wxUSE_GUI=yes'
1722 ac_cv_use_gui
='wxUSE_GUI=no'
1727 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
1728 if test "x$LINE" != x
; then
1729 eval "DEFAULT_$LINE"
1734 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
1739 eval "$ac_cv_use_gui"
1740 if test "$no_cache" != 1; then
1741 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
1744 if test "$wxUSE_GUI" = yes; then
1745 echo "$ac_t""yes" 1>&6
1747 echo "$ac_t""no" 1>&6
1751 if test "$wxUSE_GUI" = "yes"; then
1754 echo $ac_n "checking for --enable-universal""... $ac_c" 1>&6
1755 echo "configure:1756: checking for --enable-universal" >&5
1757 # Check whether --enable-universal or --disable-universal was given.
1758 if test "${enable_universal+set}" = set; then
1759 enableval
="$enable_universal"
1761 if test "$enableval" = yes; then
1762 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
1764 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
1769 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
1770 if test "x$LINE" != x
; then
1771 eval "DEFAULT_$LINE"
1776 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
1781 eval "$ac_cv_use_universal"
1782 if test "$no_cache" != 1; then
1783 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
1786 if test "$wxUSE_UNIVERSAL" = yes; then
1787 echo "$ac_t""yes" 1>&6
1789 echo "$ac_t""no" 1>&6
1792 # Check whether --with-gtk or --without-gtk was given.
1793 if test "${with_gtk+set}" = set; then
1795 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
1798 # Check whether --with-motif or --without-motif was given.
1799 if test "${with_motif+set}" = set; then
1800 withval
="$with_motif"
1801 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
1804 # Check whether --with-mac or --without-mac was given.
1805 if test "${with_mac+set}" = set; then
1807 wxUSE_MAC
="$withval" TOOLKIT_GIVEN
=1
1810 # Check whether --with-wine or --without-wine was given.
1811 if test "${with_wine+set}" = set; then
1812 withval
="$with_wine"
1813 wxUSE_WINE
="$withval" CACHE_WINE
=1 TOOLKIT_GIVEN
=1
1816 # Check whether --with-cygwin or --without-cygwin was given.
1817 if test "${with_cygwin+set}" = set; then
1818 withval
="$with_cygwin"
1819 wxUSE_CYGWIN
="$withval" CACHE_CYGWIN
=1 TOOLKIT_GIVEN
=1
1822 # Check whether --with-mingw or --without-mingw was given.
1823 if test "${with_mingw+set}" = set; then
1824 withval
="$with_mingw"
1825 wxUSE_MINGW
="$withval" CACHE_MINGW
=1 TOOLKIT_GIVEN
=1
1828 # Check whether --with-pm or --without-pm was given.
1829 if test "${with_pm+set}" = set; then
1831 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
1834 # Check whether --with-mgl or --without-mgl was given.
1835 if test "${with_mgl+set}" = set; then
1837 wxUSE_MGL
="$withval" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
1841 # Check whether --enable-gtk2 or --disable-gtk2 was given.
1842 if test "${enable_gtk2+set}" = set; then
1843 enableval
="$enable_gtk2"
1851 echo $ac_n "checking for --with-libpng""... $ac_c" 1>&6
1852 echo "configure:1853: checking for --with-libpng" >&5
1854 # Check whether --with-libpng or --without-libpng was given.
1855 if test "${with_libpng+set}" = set; then
1856 withval
="$with_libpng"
1858 if test "$withval" = yes; then
1859 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
1860 elif test "$withval" = no
; then
1861 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
1862 elif test "$withval" = sys
; then
1863 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
1865 { echo "configure: error: Invalid value for --with-libpng: should be yes, no or sys" 1>&2; exit 1; }
1870 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
1871 if test "x$LINE" != x
; then
1872 eval "DEFAULT_$LINE"
1877 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
1882 eval "$ac_cv_use_libpng"
1883 if test "$no_cache" != 1; then
1884 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
1887 if test "$wxUSE_LIBPNG" = yes; then
1888 echo "$ac_t""yes" 1>&6
1889 elif test "$wxUSE_LIBPNG" = no
; then
1890 echo "$ac_t""no" 1>&6
1891 elif test "$wxUSE_LIBPNG" = sys
; then
1892 echo "$ac_t""system version" 1>&6
1894 { echo "configure: error: Invalid value for --with-libpng: should be yes, no or sys" 1>&2; exit 1; }
1898 echo $ac_n "checking for --with-libjpeg""... $ac_c" 1>&6
1899 echo "configure:1900: checking for --with-libjpeg" >&5
1901 # Check whether --with-libjpeg or --without-libjpeg was given.
1902 if test "${with_libjpeg+set}" = set; then
1903 withval
="$with_libjpeg"
1905 if test "$withval" = yes; then
1906 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
1907 elif test "$withval" = no
; then
1908 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
1909 elif test "$withval" = sys
; then
1910 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
1912 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no or sys" 1>&2; exit 1; }
1917 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
1918 if test "x$LINE" != x
; then
1919 eval "DEFAULT_$LINE"
1924 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
1929 eval "$ac_cv_use_libjpeg"
1930 if test "$no_cache" != 1; then
1931 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
1934 if test "$wxUSE_LIBJPEG" = yes; then
1935 echo "$ac_t""yes" 1>&6
1936 elif test "$wxUSE_LIBJPEG" = no
; then
1937 echo "$ac_t""no" 1>&6
1938 elif test "$wxUSE_LIBJPEG" = sys
; then
1939 echo "$ac_t""system version" 1>&6
1941 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no or sys" 1>&2; exit 1; }
1945 echo $ac_n "checking for --with-libtiff""... $ac_c" 1>&6
1946 echo "configure:1947: checking for --with-libtiff" >&5
1948 # Check whether --with-libtiff or --without-libtiff was given.
1949 if test "${with_libtiff+set}" = set; then
1950 withval
="$with_libtiff"
1952 if test "$withval" = yes; then
1953 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
1954 elif test "$withval" = no
; then
1955 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
1956 elif test "$withval" = sys
; then
1957 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
1959 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no or sys" 1>&2; exit 1; }
1964 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
1965 if test "x$LINE" != x
; then
1966 eval "DEFAULT_$LINE"
1971 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
1976 eval "$ac_cv_use_libtiff"
1977 if test "$no_cache" != 1; then
1978 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
1981 if test "$wxUSE_LIBTIFF" = yes; then
1982 echo "$ac_t""yes" 1>&6
1983 elif test "$wxUSE_LIBTIFF" = no
; then
1984 echo "$ac_t""no" 1>&6
1985 elif test "$wxUSE_LIBTIFF" = sys
; then
1986 echo "$ac_t""system version" 1>&6
1988 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no or sys" 1>&2; exit 1; }
1992 echo $ac_n "checking for --with-freetype""... $ac_c" 1>&6
1993 echo "configure:1994: checking for --with-freetype" >&5
1995 # Check whether --with-freetype or --without-freetype was given.
1996 if test "${with_freetype+set}" = set; then
1997 withval
="$with_freetype"
1999 if test "$withval" = yes; then
2000 ac_cv_use_freetype
='wxUSE_FREETYPE=yes'
2001 elif test "$withval" = no
; then
2002 ac_cv_use_freetype
='wxUSE_FREETYPE=no'
2003 elif test "$withval" = sys
; then
2004 ac_cv_use_freetype
='wxUSE_FREETYPE=sys'
2006 { echo "configure: error: Invalid value for --with-freetype: should be yes, no or sys" 1>&2; exit 1; }
2011 LINE
=`grep "wxUSE_FREETYPE" ${wx_arg_cache_file}`
2012 if test "x$LINE" != x
; then
2013 eval "DEFAULT_$LINE"
2018 ac_cv_use_freetype
='wxUSE_FREETYPE='$DEFAULT_wxUSE_FREETYPE
2023 eval "$ac_cv_use_freetype"
2024 if test "$no_cache" != 1; then
2025 echo $ac_cv_use_freetype >> ${wx_arg_cache_file}.tmp
2028 if test "$wxUSE_FREETYPE" = yes; then
2029 echo "$ac_t""yes" 1>&6
2030 elif test "$wxUSE_FREETYPE" = no
; then
2031 echo "$ac_t""no" 1>&6
2032 elif test "$wxUSE_FREETYPE" = sys
; then
2033 echo "$ac_t""system version" 1>&6
2035 { echo "configure: error: Invalid value for --with-freetype: should be yes, no or sys" 1>&2; exit 1; }
2039 echo $ac_n "checking for --with-opengl""... $ac_c" 1>&6
2040 echo "configure:2041: checking for --with-opengl" >&5
2042 # Check whether --with-opengl or --without-opengl was given.
2043 if test "${with_opengl+set}" = set; then
2044 withval
="$with_opengl"
2046 if test "$withval" = yes; then
2047 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
2049 ac_cv_use_opengl
='wxUSE_OPENGL=no'
2054 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2055 if test "x$LINE" != x
; then
2056 eval "DEFAULT_$LINE"
2061 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
2066 eval "$ac_cv_use_opengl"
2067 if test "$no_cache" != 1; then
2068 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2071 if test "$wxUSE_OPENGL" = yes; then
2072 echo "$ac_t""yes" 1>&6
2074 echo "$ac_t""no" 1>&6
2081 echo $ac_n "checking for --with-dmalloc""... $ac_c" 1>&6
2082 echo "configure:2083: checking for --with-dmalloc" >&5
2084 # Check whether --with-dmalloc or --without-dmalloc was given.
2085 if test "${with_dmalloc+set}" = set; then
2086 withval
="$with_dmalloc"
2088 if test "$withval" = yes; then
2089 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
2091 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
2096 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2097 if test "x$LINE" != x
; then
2098 eval "DEFAULT_$LINE"
2103 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
2108 eval "$ac_cv_use_dmalloc"
2109 if test "$no_cache" != 1; then
2110 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2113 if test "$wxUSE_DMALLOC" = yes; then
2114 echo "$ac_t""yes" 1>&6
2116 echo "$ac_t""no" 1>&6
2120 echo $ac_n "checking for --with-regex""... $ac_c" 1>&6
2121 echo "configure:2122: checking for --with-regex" >&5
2123 # Check whether --with-regex or --without-regex was given.
2124 if test "${with_regex+set}" = set; then
2125 withval
="$with_regex"
2127 if test "$withval" = yes; then
2128 ac_cv_use_regex
='wxUSE_REGEX=yes'
2129 elif test "$withval" = no
; then
2130 ac_cv_use_regex
='wxUSE_REGEX=no'
2131 elif test "$withval" = sys
; then
2132 ac_cv_use_regex
='wxUSE_REGEX=sys'
2134 { echo "configure: error: Invalid value for --with-regex: should be yes, no or sys" 1>&2; exit 1; }
2139 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
2140 if test "x$LINE" != x
; then
2141 eval "DEFAULT_$LINE"
2146 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
2151 eval "$ac_cv_use_regex"
2152 if test "$no_cache" != 1; then
2153 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
2156 if test "$wxUSE_REGEX" = yes; then
2157 echo "$ac_t""yes" 1>&6
2158 elif test "$wxUSE_REGEX" = no
; then
2159 echo "$ac_t""no" 1>&6
2160 elif test "$wxUSE_REGEX" = sys
; then
2161 echo "$ac_t""system version" 1>&6
2163 { echo "configure: error: Invalid value for --with-regex: should be yes, no or sys" 1>&2; exit 1; }
2167 echo $ac_n "checking for --with-zlib""... $ac_c" 1>&6
2168 echo "configure:2169: checking for --with-zlib" >&5
2170 # Check whether --with-zlib or --without-zlib was given.
2171 if test "${with_zlib+set}" = set; then
2172 withval
="$with_zlib"
2174 if test "$withval" = yes; then
2175 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
2176 elif test "$withval" = no
; then
2177 ac_cv_use_zlib
='wxUSE_ZLIB=no'
2178 elif test "$withval" = sys
; then
2179 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
2181 { echo "configure: error: Invalid value for --with-zlib: should be yes, no or sys" 1>&2; exit 1; }
2186 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2187 if test "x$LINE" != x
; then
2188 eval "DEFAULT_$LINE"
2193 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
2198 eval "$ac_cv_use_zlib"
2199 if test "$no_cache" != 1; then
2200 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2203 if test "$wxUSE_ZLIB" = yes; then
2204 echo "$ac_t""yes" 1>&6
2205 elif test "$wxUSE_ZLIB" = no
; then
2206 echo "$ac_t""no" 1>&6
2207 elif test "$wxUSE_ZLIB" = sys
; then
2208 echo "$ac_t""system version" 1>&6
2210 { echo "configure: error: Invalid value for --with-zlib: should be yes, no or sys" 1>&2; exit 1; }
2214 echo $ac_n "checking for --with-odbc""... $ac_c" 1>&6
2215 echo "configure:2216: checking for --with-odbc" >&5
2217 # Check whether --with-odbc or --without-odbc was given.
2218 if test "${with_odbc+set}" = set; then
2219 withval
="$with_odbc"
2221 if test "$withval" = yes; then
2222 ac_cv_use_odbc
='wxUSE_ODBC=yes'
2224 ac_cv_use_odbc
='wxUSE_ODBC=no'
2229 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
2230 if test "x$LINE" != x
; then
2231 eval "DEFAULT_$LINE"
2236 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
2241 eval "$ac_cv_use_odbc"
2242 if test "$no_cache" != 1; then
2243 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
2246 if test "$wxUSE_ODBC" = yes; then
2247 echo "$ac_t""yes" 1>&6
2249 echo "$ac_t""no" 1>&6
2255 echo $ac_n "checking for --enable-shared""... $ac_c" 1>&6
2256 echo "configure:2257: checking for --enable-shared" >&5
2258 # Check whether --enable-shared or --disable-shared was given.
2259 if test "${enable_shared+set}" = set; then
2260 enableval
="$enable_shared"
2262 if test "$enableval" = yes; then
2263 ac_cv_use_shared
='wxUSE_SHARED=yes'
2265 ac_cv_use_shared
='wxUSE_SHARED=no'
2270 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
2271 if test "x$LINE" != x
; then
2272 eval "DEFAULT_$LINE"
2277 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
2282 eval "$ac_cv_use_shared"
2283 if test "$no_cache" != 1; then
2284 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
2287 if test "$wxUSE_SHARED" = yes; then
2288 echo "$ac_t""yes" 1>&6
2290 echo "$ac_t""no" 1>&6
2294 echo $ac_n "checking for --enable-soname""... $ac_c" 1>&6
2295 echo "configure:2296: checking for --enable-soname" >&5
2297 # Check whether --enable-soname or --disable-soname was given.
2298 if test "${enable_soname+set}" = set; then
2299 enableval
="$enable_soname"
2301 if test "$enableval" = yes; then
2302 ac_cv_use_soname
='wxUSE_SONAME=yes'
2304 ac_cv_use_soname
='wxUSE_SONAME=no'
2309 LINE
=`grep "wxUSE_SONAME" ${wx_arg_cache_file}`
2310 if test "x$LINE" != x
; then
2311 eval "DEFAULT_$LINE"
2316 ac_cv_use_soname
='wxUSE_SONAME='$DEFAULT_wxUSE_SONAME
2321 eval "$ac_cv_use_soname"
2322 if test "$no_cache" != 1; then
2323 echo $ac_cv_use_soname >> ${wx_arg_cache_file}.tmp
2326 if test "$wxUSE_SONAME" = yes; then
2327 echo "$ac_t""yes" 1>&6
2329 echo "$ac_t""no" 1>&6
2333 echo $ac_n "checking for --enable-optimise""... $ac_c" 1>&6
2334 echo "configure:2335: checking for --enable-optimise" >&5
2336 # Check whether --enable-optimise or --disable-optimise was given.
2337 if test "${enable_optimise+set}" = set; then
2338 enableval
="$enable_optimise"
2340 if test "$enableval" = yes; then
2341 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
2343 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
2348 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
2349 if test "x$LINE" != x
; then
2350 eval "DEFAULT_$LINE"
2355 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
2360 eval "$ac_cv_use_optimise"
2361 if test "$no_cache" != 1; then
2362 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
2365 if test "$wxUSE_OPTIMISE" = yes; then
2366 echo "$ac_t""yes" 1>&6
2368 echo "$ac_t""no" 1>&6
2372 echo $ac_n "checking for --enable-debug""... $ac_c" 1>&6
2373 echo "configure:2374: checking for --enable-debug" >&5
2375 # Check whether --enable-debug or --disable-debug was given.
2376 if test "${enable_debug+set}" = set; then
2377 enableval
="$enable_debug"
2379 if test "$enableval" = yes; then
2380 ac_cv_use_debug
='wxUSE_DEBUG=yes'
2382 ac_cv_use_debug
='wxUSE_DEBUG=no'
2387 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
2388 if test "x$LINE" != x
; then
2389 eval "DEFAULT_$LINE"
2394 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
2399 eval "$ac_cv_use_debug"
2400 if test "$no_cache" != 1; then
2401 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
2404 if test "$wxUSE_DEBUG" = yes; then
2405 echo "$ac_t""yes" 1>&6
2407 echo "$ac_t""no" 1>&6
2411 if test "$wxUSE_DEBUG" = "yes"; then
2412 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2413 DEFAULT_wxUSE_DEBUG_INFO
=yes
2414 elif test "$wxUSE_DEBUG" = "no"; then
2415 DEFAULT_wxUSE_DEBUG_FLAG
=no
2416 DEFAULT_wxUSE_DEBUG_INFO
=no
2420 echo $ac_n "checking for --enable-debug_flag""... $ac_c" 1>&6
2421 echo "configure:2422: checking for --enable-debug_flag" >&5
2423 # Check whether --enable-debug_flag or --disable-debug_flag was given.
2424 if test "${enable_debug_flag+set}" = set; then
2425 enableval
="$enable_debug_flag"
2427 if test "$enableval" = yes; then
2428 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
2430 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
2435 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
2436 if test "x$LINE" != x
; then
2437 eval "DEFAULT_$LINE"
2442 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
2447 eval "$ac_cv_use_debug_flag"
2448 if test "$no_cache" != 1; then
2449 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
2452 if test "$wxUSE_DEBUG_FLAG" = yes; then
2453 echo "$ac_t""yes" 1>&6
2455 echo "$ac_t""no" 1>&6
2459 echo $ac_n "checking for --enable-debug_info""... $ac_c" 1>&6
2460 echo "configure:2461: checking for --enable-debug_info" >&5
2462 # Check whether --enable-debug_info or --disable-debug_info was given.
2463 if test "${enable_debug_info+set}" = set; then
2464 enableval
="$enable_debug_info"
2466 if test "$enableval" = yes; then
2467 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
2469 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
2474 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
2475 if test "x$LINE" != x
; then
2476 eval "DEFAULT_$LINE"
2481 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
2486 eval "$ac_cv_use_debug_info"
2487 if test "$no_cache" != 1; then
2488 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
2491 if test "$wxUSE_DEBUG_INFO" = yes; then
2492 echo "$ac_t""yes" 1>&6
2494 echo "$ac_t""no" 1>&6
2498 echo $ac_n "checking for --enable-debug_gdb""... $ac_c" 1>&6
2499 echo "configure:2500: checking for --enable-debug_gdb" >&5
2501 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
2502 if test "${enable_debug_gdb+set}" = set; then
2503 enableval
="$enable_debug_gdb"
2505 if test "$enableval" = yes; then
2506 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
2508 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
2513 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
2514 if test "x$LINE" != x
; then
2515 eval "DEFAULT_$LINE"
2520 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
2525 eval "$ac_cv_use_debug_gdb"
2526 if test "$no_cache" != 1; then
2527 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
2530 if test "$wxUSE_DEBUG_GDB" = yes; then
2531 echo "$ac_t""yes" 1>&6
2533 echo "$ac_t""no" 1>&6
2537 echo $ac_n "checking for --enable-debug_cntxt""... $ac_c" 1>&6
2538 echo "configure:2539: checking for --enable-debug_cntxt" >&5
2540 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
2541 if test "${enable_debug_cntxt+set}" = set; then
2542 enableval
="$enable_debug_cntxt"
2544 if test "$enableval" = yes; then
2545 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
2547 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
2552 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2553 if test "x$LINE" != x
; then
2554 eval "DEFAULT_$LINE"
2559 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2564 eval "$ac_cv_use_debug_cntxt"
2565 if test "$no_cache" != 1; then
2566 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2569 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2570 echo "$ac_t""yes" 1>&6
2572 echo "$ac_t""no" 1>&6
2576 echo $ac_n "checking for --enable-mem_tracing""... $ac_c" 1>&6
2577 echo "configure:2578: checking for --enable-mem_tracing" >&5
2579 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2580 if test "${enable_mem_tracing+set}" = set; then
2581 enableval
="$enable_mem_tracing"
2583 if test "$enableval" = yes; then
2584 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
2586 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
2591 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2592 if test "x$LINE" != x
; then
2593 eval "DEFAULT_$LINE"
2598 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2603 eval "$ac_cv_use_mem_tracing"
2604 if test "$no_cache" != 1; then
2605 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2608 if test "$wxUSE_MEM_TRACING" = yes; then
2609 echo "$ac_t""yes" 1>&6
2611 echo "$ac_t""no" 1>&6
2615 echo $ac_n "checking for --enable-profile""... $ac_c" 1>&6
2616 echo "configure:2617: checking for --enable-profile" >&5
2618 # Check whether --enable-profile or --disable-profile was given.
2619 if test "${enable_profile+set}" = set; then
2620 enableval
="$enable_profile"
2622 if test "$enableval" = yes; then
2623 ac_cv_use_profile
='wxUSE_PROFILE=yes'
2625 ac_cv_use_profile
='wxUSE_PROFILE=no'
2630 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2631 if test "x$LINE" != x
; then
2632 eval "DEFAULT_$LINE"
2637 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2642 eval "$ac_cv_use_profile"
2643 if test "$no_cache" != 1; then
2644 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2647 if test "$wxUSE_PROFILE" = yes; then
2648 echo "$ac_t""yes" 1>&6
2650 echo "$ac_t""no" 1>&6
2654 echo $ac_n "checking for --enable-no_rtti""... $ac_c" 1>&6
2655 echo "configure:2656: checking for --enable-no_rtti" >&5
2657 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2658 if test "${enable_no_rtti+set}" = set; then
2659 enableval
="$enable_no_rtti"
2661 if test "$enableval" = yes; then
2662 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
2664 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
2669 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2670 if test "x$LINE" != x
; then
2671 eval "DEFAULT_$LINE"
2676 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2681 eval "$ac_cv_use_no_rtti"
2682 if test "$no_cache" != 1; then
2683 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2686 if test "$wxUSE_NO_RTTI" = yes; then
2687 echo "$ac_t""yes" 1>&6
2689 echo "$ac_t""no" 1>&6
2693 echo $ac_n "checking for --enable-no_exceptions""... $ac_c" 1>&6
2694 echo "configure:2695: checking for --enable-no_exceptions" >&5
2696 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2697 if test "${enable_no_exceptions+set}" = set; then
2698 enableval
="$enable_no_exceptions"
2700 if test "$enableval" = yes; then
2701 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
2703 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
2708 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2709 if test "x$LINE" != x
; then
2710 eval "DEFAULT_$LINE"
2715 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2720 eval "$ac_cv_use_no_exceptions"
2721 if test "$no_cache" != 1; then
2722 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2725 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2726 echo "$ac_t""yes" 1>&6
2728 echo "$ac_t""no" 1>&6
2732 echo $ac_n "checking for --enable-permissive""... $ac_c" 1>&6
2733 echo "configure:2734: checking for --enable-permissive" >&5
2735 # Check whether --enable-permissive or --disable-permissive was given.
2736 if test "${enable_permissive+set}" = set; then
2737 enableval
="$enable_permissive"
2739 if test "$enableval" = yes; then
2740 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
2742 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
2747 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2748 if test "x$LINE" != x
; then
2749 eval "DEFAULT_$LINE"
2754 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
2759 eval "$ac_cv_use_permissive"
2760 if test "$no_cache" != 1; then
2761 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
2764 if test "$wxUSE_PERMISSIVE" = yes; then
2765 echo "$ac_t""yes" 1>&6
2767 echo "$ac_t""no" 1>&6
2771 echo $ac_n "checking for --enable-no_deps""... $ac_c" 1>&6
2772 echo "configure:2773: checking for --enable-no_deps" >&5
2774 # Check whether --enable-no_deps or --disable-no_deps was given.
2775 if test "${enable_no_deps+set}" = set; then
2776 enableval
="$enable_no_deps"
2778 if test "$enableval" = yes; then
2779 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
2781 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
2786 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
2787 if test "x$LINE" != x
; then
2788 eval "DEFAULT_$LINE"
2793 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
2798 eval "$ac_cv_use_no_deps"
2799 if test "$no_cache" != 1; then
2800 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
2803 if test "$wxUSE_NO_DEPS" = yes; then
2804 echo "$ac_t""yes" 1>&6
2806 echo "$ac_t""no" 1>&6
2811 echo $ac_n "checking for --enable-compat20""... $ac_c" 1>&6
2812 echo "configure:2813: checking for --enable-compat20" >&5
2814 # Check whether --enable-compat20 or --disable-compat20 was given.
2815 if test "${enable_compat20+set}" = set; then
2816 enableval
="$enable_compat20"
2818 if test "$enableval" = yes; then
2819 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=yes'
2821 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=no'
2826 LINE
=`grep "WXWIN_COMPATIBILITY_2" ${wx_arg_cache_file}`
2827 if test "x$LINE" != x
; then
2828 eval "DEFAULT_$LINE"
2833 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2='$DEFAULT_WXWIN_COMPATIBILITY_2
2838 eval "$ac_cv_use_compat20"
2839 if test "$no_cache" != 1; then
2840 echo $ac_cv_use_compat20 >> ${wx_arg_cache_file}.tmp
2843 if test "$WXWIN_COMPATIBILITY_2" = yes; then
2844 echo "$ac_t""yes" 1>&6
2846 echo "$ac_t""no" 1>&6
2850 echo $ac_n "checking for --enable-compat22""... $ac_c" 1>&6
2851 echo "configure:2852: checking for --enable-compat22" >&5
2853 # Check whether --enable-compat22 or --disable-compat22 was given.
2854 if test "${enable_compat22+set}" = set; then
2855 enableval
="$enable_compat22"
2857 if test "$enableval" = yes; then
2858 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
2860 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
2865 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
2866 if test "x$LINE" != x
; then
2867 eval "DEFAULT_$LINE"
2872 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
2877 eval "$ac_cv_use_compat22"
2878 if test "$no_cache" != 1; then
2879 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
2882 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
2883 echo "$ac_t""yes" 1>&6
2885 echo "$ac_t""no" 1>&6
2891 echo $ac_n "checking for --enable-intl""... $ac_c" 1>&6
2892 echo "configure:2893: checking for --enable-intl" >&5
2894 # Check whether --enable-intl or --disable-intl was given.
2895 if test "${enable_intl+set}" = set; then
2896 enableval
="$enable_intl"
2898 if test "$enableval" = yes; then
2899 ac_cv_use_intl
='wxUSE_INTL=yes'
2901 ac_cv_use_intl
='wxUSE_INTL=no'
2906 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
2907 if test "x$LINE" != x
; then
2908 eval "DEFAULT_$LINE"
2913 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
2918 eval "$ac_cv_use_intl"
2919 if test "$no_cache" != 1; then
2920 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
2923 if test "$wxUSE_INTL" = yes; then
2924 echo "$ac_t""yes" 1>&6
2926 echo "$ac_t""no" 1>&6
2930 echo $ac_n "checking for --enable-config""... $ac_c" 1>&6
2931 echo "configure:2932: checking for --enable-config" >&5
2933 # Check whether --enable-config or --disable-config was given.
2934 if test "${enable_config+set}" = set; then
2935 enableval
="$enable_config"
2937 if test "$enableval" = yes; then
2938 ac_cv_use_config
='wxUSE_CONFIG=yes'
2940 ac_cv_use_config
='wxUSE_CONFIG=no'
2945 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
2946 if test "x$LINE" != x
; then
2947 eval "DEFAULT_$LINE"
2952 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
2957 eval "$ac_cv_use_config"
2958 if test "$no_cache" != 1; then
2959 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
2962 if test "$wxUSE_CONFIG" = yes; then
2963 echo "$ac_t""yes" 1>&6
2965 echo "$ac_t""no" 1>&6
2970 echo $ac_n "checking for --enable-sockets""... $ac_c" 1>&6
2971 echo "configure:2972: checking for --enable-sockets" >&5
2973 # Check whether --enable-sockets or --disable-sockets was given.
2974 if test "${enable_sockets+set}" = set; then
2975 enableval
="$enable_sockets"
2977 if test "$enableval" = yes; then
2978 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
2980 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
2985 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
2986 if test "x$LINE" != x
; then
2987 eval "DEFAULT_$LINE"
2992 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
2997 eval "$ac_cv_use_sockets"
2998 if test "$no_cache" != 1; then
2999 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
3002 if test "$wxUSE_SOCKETS" = yes; then
3003 echo "$ac_t""yes" 1>&6
3005 echo "$ac_t""no" 1>&6
3010 echo $ac_n "checking for --enable-ipc""... $ac_c" 1>&6
3011 echo "configure:3012: checking for --enable-ipc" >&5
3013 # Check whether --enable-ipc or --disable-ipc was given.
3014 if test "${enable_ipc+set}" = set; then
3015 enableval
="$enable_ipc"
3017 if test "$enableval" = yes; then
3018 ac_cv_use_ipc
='wxUSE_IPC=yes'
3020 ac_cv_use_ipc
='wxUSE_IPC=no'
3025 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
3026 if test "x$LINE" != x
; then
3027 eval "DEFAULT_$LINE"
3032 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
3037 eval "$ac_cv_use_ipc"
3038 if test "$no_cache" != 1; then
3039 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
3042 if test "$wxUSE_IPC" = yes; then
3043 echo "$ac_t""yes" 1>&6
3045 echo "$ac_t""no" 1>&6
3050 echo $ac_n "checking for --enable-cmdline""... $ac_c" 1>&6
3051 echo "configure:3052: checking for --enable-cmdline" >&5
3053 # Check whether --enable-cmdline or --disable-cmdline was given.
3054 if test "${enable_cmdline+set}" = set; then
3055 enableval
="$enable_cmdline"
3057 if test "$enableval" = yes; then
3058 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
3060 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
3065 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
3066 if test "x$LINE" != x
; then
3067 eval "DEFAULT_$LINE"
3072 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
3077 eval "$ac_cv_use_cmdline"
3078 if test "$no_cache" != 1; then
3079 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
3082 if test "$wxUSE_CMDLINE_PARSER" = yes; then
3083 echo "$ac_t""yes" 1>&6
3085 echo "$ac_t""no" 1>&6
3089 echo $ac_n "checking for --enable-datetime""... $ac_c" 1>&6
3090 echo "configure:3091: checking for --enable-datetime" >&5
3092 # Check whether --enable-datetime or --disable-datetime was given.
3093 if test "${enable_datetime+set}" = set; then
3094 enableval
="$enable_datetime"
3096 if test "$enableval" = yes; then
3097 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
3099 ac_cv_use_datetime
='wxUSE_DATETIME=no'
3104 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
3105 if test "x$LINE" != x
; then
3106 eval "DEFAULT_$LINE"
3111 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
3116 eval "$ac_cv_use_datetime"
3117 if test "$no_cache" != 1; then
3118 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
3121 if test "$wxUSE_DATETIME" = yes; then
3122 echo "$ac_t""yes" 1>&6
3124 echo "$ac_t""no" 1>&6
3128 echo $ac_n "checking for --enable-timedate""... $ac_c" 1>&6
3129 echo "configure:3130: checking for --enable-timedate" >&5
3131 # Check whether --enable-timedate or --disable-timedate was given.
3132 if test "${enable_timedate+set}" = set; then
3133 enableval
="$enable_timedate"
3135 if test "$enableval" = yes; then
3136 ac_cv_use_timedate
='wxUSE_TIMEDATE=yes'
3138 ac_cv_use_timedate
='wxUSE_TIMEDATE=no'
3143 LINE
=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}`
3144 if test "x$LINE" != x
; then
3145 eval "DEFAULT_$LINE"
3150 ac_cv_use_timedate
='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
3155 eval "$ac_cv_use_timedate"
3156 if test "$no_cache" != 1; then
3157 echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp
3160 if test "$wxUSE_TIMEDATE" = yes; then
3161 echo "$ac_t""yes" 1>&6
3163 echo "$ac_t""no" 1>&6
3167 echo $ac_n "checking for --enable-stopwatch""... $ac_c" 1>&6
3168 echo "configure:3169: checking for --enable-stopwatch" >&5
3170 # Check whether --enable-stopwatch or --disable-stopwatch was given.
3171 if test "${enable_stopwatch+set}" = set; then
3172 enableval
="$enable_stopwatch"
3174 if test "$enableval" = yes; then
3175 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
3177 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
3182 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
3183 if test "x$LINE" != x
; then
3184 eval "DEFAULT_$LINE"
3189 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
3194 eval "$ac_cv_use_stopwatch"
3195 if test "$no_cache" != 1; then
3196 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
3199 if test "$wxUSE_STOPWATCH" = yes; then
3200 echo "$ac_t""yes" 1>&6
3202 echo "$ac_t""no" 1>&6
3206 echo $ac_n "checking for --enable-dialupman""... $ac_c" 1>&6
3207 echo "configure:3208: checking for --enable-dialupman" >&5
3209 # Check whether --enable-dialupman or --disable-dialupman was given.
3210 if test "${enable_dialupman+set}" = set; then
3211 enableval
="$enable_dialupman"
3213 if test "$enableval" = yes; then
3214 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
3216 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
3221 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
3222 if test "x$LINE" != x
; then
3223 eval "DEFAULT_$LINE"
3228 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
3233 eval "$ac_cv_use_dialupman"
3234 if test "$no_cache" != 1; then
3235 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
3238 if test "$wxUSE_DIALUP_MANAGER" = yes; then
3239 echo "$ac_t""yes" 1>&6
3241 echo "$ac_t""no" 1>&6
3245 echo $ac_n "checking for --enable-apple_ieee""... $ac_c" 1>&6
3246 echo "configure:3247: checking for --enable-apple_ieee" >&5
3248 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
3249 if test "${enable_apple_ieee+set}" = set; then
3250 enableval
="$enable_apple_ieee"
3252 if test "$enableval" = yes; then
3253 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
3255 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
3260 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
3261 if test "x$LINE" != x
; then
3262 eval "DEFAULT_$LINE"
3267 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
3272 eval "$ac_cv_use_apple_ieee"
3273 if test "$no_cache" != 1; then
3274 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
3277 if test "$wxUSE_APPLE_IEEE" = yes; then
3278 echo "$ac_t""yes" 1>&6
3280 echo "$ac_t""no" 1>&6
3284 echo $ac_n "checking for --enable-timer""... $ac_c" 1>&6
3285 echo "configure:3286: checking for --enable-timer" >&5
3287 # Check whether --enable-timer or --disable-timer was given.
3288 if test "${enable_timer+set}" = set; then
3289 enableval
="$enable_timer"
3291 if test "$enableval" = yes; then
3292 ac_cv_use_timer
='wxUSE_TIMER=yes'
3294 ac_cv_use_timer
='wxUSE_TIMER=no'
3299 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
3300 if test "x$LINE" != x
; then
3301 eval "DEFAULT_$LINE"
3306 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
3311 eval "$ac_cv_use_timer"
3312 if test "$no_cache" != 1; then
3313 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
3316 if test "$wxUSE_TIMER" = yes; then
3317 echo "$ac_t""yes" 1>&6
3319 echo "$ac_t""no" 1>&6
3323 echo $ac_n "checking for --enable-wave""... $ac_c" 1>&6
3324 echo "configure:3325: checking for --enable-wave" >&5
3326 # Check whether --enable-wave or --disable-wave was given.
3327 if test "${enable_wave+set}" = set; then
3328 enableval
="$enable_wave"
3330 if test "$enableval" = yes; then
3331 ac_cv_use_wave
='wxUSE_WAVE=yes'
3333 ac_cv_use_wave
='wxUSE_WAVE=no'
3338 LINE
=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
3339 if test "x$LINE" != x
; then
3340 eval "DEFAULT_$LINE"
3345 ac_cv_use_wave
='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
3350 eval "$ac_cv_use_wave"
3351 if test "$no_cache" != 1; then
3352 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
3355 if test "$wxUSE_WAVE" = yes; then
3356 echo "$ac_t""yes" 1>&6
3358 echo "$ac_t""no" 1>&6
3362 echo $ac_n "checking for --enable-fraction""... $ac_c" 1>&6
3363 echo "configure:3364: checking for --enable-fraction" >&5
3365 # Check whether --enable-fraction or --disable-fraction was given.
3366 if test "${enable_fraction+set}" = set; then
3367 enableval
="$enable_fraction"
3369 if test "$enableval" = yes; then
3370 ac_cv_use_fraction
='wxUSE_FRACTION=yes'
3372 ac_cv_use_fraction
='wxUSE_FRACTION=no'
3377 LINE
=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
3378 if test "x$LINE" != x
; then
3379 eval "DEFAULT_$LINE"
3384 ac_cv_use_fraction
='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
3389 eval "$ac_cv_use_fraction"
3390 if test "$no_cache" != 1; then
3391 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
3394 if test "$wxUSE_FRACTION" = yes; then
3395 echo "$ac_t""yes" 1>&6
3397 echo "$ac_t""no" 1>&6
3401 echo $ac_n "checking for --enable-dynlib""... $ac_c" 1>&6
3402 echo "configure:3403: checking for --enable-dynlib" >&5
3404 # Check whether --enable-dynlib or --disable-dynlib was given.
3405 if test "${enable_dynlib+set}" = set; then
3406 enableval
="$enable_dynlib"
3408 if test "$enableval" = yes; then
3409 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
3411 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
3416 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
3417 if test "x$LINE" != x
; then
3418 eval "DEFAULT_$LINE"
3423 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
3428 eval "$ac_cv_use_dynlib"
3429 if test "$no_cache" != 1; then
3430 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
3433 if test "$wxUSE_DYNLIB_CLASS" = yes; then
3434 echo "$ac_t""yes" 1>&6
3436 echo "$ac_t""no" 1>&6
3440 echo $ac_n "checking for --enable-longlong""... $ac_c" 1>&6
3441 echo "configure:3442: checking for --enable-longlong" >&5
3443 # Check whether --enable-longlong or --disable-longlong was given.
3444 if test "${enable_longlong+set}" = set; then
3445 enableval
="$enable_longlong"
3447 if test "$enableval" = yes; then
3448 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
3450 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
3455 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
3456 if test "x$LINE" != x
; then
3457 eval "DEFAULT_$LINE"
3462 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
3467 eval "$ac_cv_use_longlong"
3468 if test "$no_cache" != 1; then
3469 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
3472 if test "$wxUSE_LONGLONG" = yes; then
3473 echo "$ac_t""yes" 1>&6
3475 echo "$ac_t""no" 1>&6
3479 echo $ac_n "checking for --enable-geometry""... $ac_c" 1>&6
3480 echo "configure:3481: checking for --enable-geometry" >&5
3482 # Check whether --enable-geometry or --disable-geometry was given.
3483 if test "${enable_geometry+set}" = set; then
3484 enableval
="$enable_geometry"
3486 if test "$enableval" = yes; then
3487 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
3489 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
3494 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
3495 if test "x$LINE" != x
; then
3496 eval "DEFAULT_$LINE"
3501 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
3506 eval "$ac_cv_use_geometry"
3507 if test "$no_cache" != 1; then
3508 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
3511 if test "$wxUSE_GEOMETRY" = yes; then
3512 echo "$ac_t""yes" 1>&6
3514 echo "$ac_t""no" 1>&6
3518 echo $ac_n "checking for --enable-log""... $ac_c" 1>&6
3519 echo "configure:3520: checking for --enable-log" >&5
3521 # Check whether --enable-log or --disable-log was given.
3522 if test "${enable_log+set}" = set; then
3523 enableval
="$enable_log"
3525 if test "$enableval" = yes; then
3526 ac_cv_use_log
='wxUSE_LOG=yes'
3528 ac_cv_use_log
='wxUSE_LOG=no'
3533 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
3534 if test "x$LINE" != x
; then
3535 eval "DEFAULT_$LINE"
3540 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
3545 eval "$ac_cv_use_log"
3546 if test "$no_cache" != 1; then
3547 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
3550 if test "$wxUSE_LOG" = yes; then
3551 echo "$ac_t""yes" 1>&6
3553 echo "$ac_t""no" 1>&6
3557 echo $ac_n "checking for --enable-streams""... $ac_c" 1>&6
3558 echo "configure:3559: checking for --enable-streams" >&5
3560 # Check whether --enable-streams or --disable-streams was given.
3561 if test "${enable_streams+set}" = set; then
3562 enableval
="$enable_streams"
3564 if test "$enableval" = yes; then
3565 ac_cv_use_streams
='wxUSE_STREAMS=yes'
3567 ac_cv_use_streams
='wxUSE_STREAMS=no'
3572 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
3573 if test "x$LINE" != x
; then
3574 eval "DEFAULT_$LINE"
3579 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
3584 eval "$ac_cv_use_streams"
3585 if test "$no_cache" != 1; then
3586 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
3589 if test "$wxUSE_STREAMS" = yes; then
3590 echo "$ac_t""yes" 1>&6
3592 echo "$ac_t""no" 1>&6
3596 echo $ac_n "checking for --enable-file""... $ac_c" 1>&6
3597 echo "configure:3598: checking for --enable-file" >&5
3599 # Check whether --enable-file or --disable-file was given.
3600 if test "${enable_file+set}" = set; then
3601 enableval
="$enable_file"
3603 if test "$enableval" = yes; then
3604 ac_cv_use_file
='wxUSE_FILE=yes'
3606 ac_cv_use_file
='wxUSE_FILE=no'
3611 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
3612 if test "x$LINE" != x
; then
3613 eval "DEFAULT_$LINE"
3618 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
3623 eval "$ac_cv_use_file"
3624 if test "$no_cache" != 1; then
3625 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
3628 if test "$wxUSE_FILE" = yes; then
3629 echo "$ac_t""yes" 1>&6
3631 echo "$ac_t""no" 1>&6
3635 echo $ac_n "checking for --enable-ffile""... $ac_c" 1>&6
3636 echo "configure:3637: checking for --enable-ffile" >&5
3638 # Check whether --enable-ffile or --disable-ffile was given.
3639 if test "${enable_ffile+set}" = set; then
3640 enableval
="$enable_ffile"
3642 if test "$enableval" = yes; then
3643 ac_cv_use_ffile
='wxUSE_FFILE=yes'
3645 ac_cv_use_ffile
='wxUSE_FFILE=no'
3650 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
3651 if test "x$LINE" != x
; then
3652 eval "DEFAULT_$LINE"
3657 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
3662 eval "$ac_cv_use_ffile"
3663 if test "$no_cache" != 1; then
3664 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
3667 if test "$wxUSE_FFILE" = yes; then
3668 echo "$ac_t""yes" 1>&6
3670 echo "$ac_t""no" 1>&6
3674 echo $ac_n "checking for --enable-textfile""... $ac_c" 1>&6
3675 echo "configure:3676: checking for --enable-textfile" >&5
3677 # Check whether --enable-textfile or --disable-textfile was given.
3678 if test "${enable_textfile+set}" = set; then
3679 enableval
="$enable_textfile"
3681 if test "$enableval" = yes; then
3682 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
3684 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
3689 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
3690 if test "x$LINE" != x
; then
3691 eval "DEFAULT_$LINE"
3696 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
3701 eval "$ac_cv_use_textfile"
3702 if test "$no_cache" != 1; then
3703 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
3706 if test "$wxUSE_TEXTFILE" = yes; then
3707 echo "$ac_t""yes" 1>&6
3709 echo "$ac_t""no" 1>&6
3713 echo $ac_n "checking for --enable-fontmap""... $ac_c" 1>&6
3714 echo "configure:3715: checking for --enable-fontmap" >&5
3716 # Check whether --enable-fontmap or --disable-fontmap was given.
3717 if test "${enable_fontmap+set}" = set; then
3718 enableval
="$enable_fontmap"
3720 if test "$enableval" = yes; then
3721 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
3723 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
3728 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
3729 if test "x$LINE" != x
; then
3730 eval "DEFAULT_$LINE"
3735 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
3740 eval "$ac_cv_use_fontmap"
3741 if test "$no_cache" != 1; then
3742 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
3745 if test "$wxUSE_FONTMAP" = yes; then
3746 echo "$ac_t""yes" 1>&6
3748 echo "$ac_t""no" 1>&6
3752 echo $ac_n "checking for --enable-unicode""... $ac_c" 1>&6
3753 echo "configure:3754: checking for --enable-unicode" >&5
3755 # Check whether --enable-unicode or --disable-unicode was given.
3756 if test "${enable_unicode+set}" = set; then
3757 enableval
="$enable_unicode"
3759 if test "$enableval" = yes; then
3760 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
3762 ac_cv_use_unicode
='wxUSE_UNICODE=no'
3767 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
3768 if test "x$LINE" != x
; then
3769 eval "DEFAULT_$LINE"
3774 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
3779 eval "$ac_cv_use_unicode"
3780 if test "$no_cache" != 1; then
3781 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
3784 if test "$wxUSE_UNICODE" = yes; then
3785 echo "$ac_t""yes" 1>&6
3787 echo "$ac_t""no" 1>&6
3791 echo $ac_n "checking for --enable-wxprintfv""... $ac_c" 1>&6
3792 echo "configure:3793: checking for --enable-wxprintfv" >&5
3794 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
3795 if test "${enable_wxprintfv+set}" = set; then
3796 enableval
="$enable_wxprintfv"
3798 if test "$enableval" = yes; then
3799 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
3801 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
3806 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
3807 if test "x$LINE" != x
; then
3808 eval "DEFAULT_$LINE"
3813 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
3818 eval "$ac_cv_use_wxprintfv"
3819 if test "$no_cache" != 1; then
3820 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
3823 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
3824 echo "$ac_t""yes" 1>&6
3826 echo "$ac_t""no" 1>&6
3830 echo $ac_n "checking for --enable-std_iostreams""... $ac_c" 1>&6
3831 echo "configure:3832: checking for --enable-std_iostreams" >&5
3833 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
3834 if test "${enable_std_iostreams+set}" = set; then
3835 enableval
="$enable_std_iostreams"
3837 if test "$enableval" = yes; then
3838 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
3840 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
3845 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
3846 if test "x$LINE" != x
; then
3847 eval "DEFAULT_$LINE"
3852 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
3857 eval "$ac_cv_use_std_iostreams"
3858 if test "$no_cache" != 1; then
3859 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
3862 if test "$wxUSE_STD_IOSTREAM" = yes; then
3863 echo "$ac_t""yes" 1>&6
3865 echo "$ac_t""no" 1>&6
3869 echo $ac_n "checking for --enable-filesystem""... $ac_c" 1>&6
3870 echo "configure:3871: checking for --enable-filesystem" >&5
3872 # Check whether --enable-filesystem or --disable-filesystem was given.
3873 if test "${enable_filesystem+set}" = set; then
3874 enableval
="$enable_filesystem"
3876 if test "$enableval" = yes; then
3877 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
3879 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
3884 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
3885 if test "x$LINE" != x
; then
3886 eval "DEFAULT_$LINE"
3891 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
3896 eval "$ac_cv_use_filesystem"
3897 if test "$no_cache" != 1; then
3898 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
3901 if test "$wxUSE_FILESYSTEM" = yes; then
3902 echo "$ac_t""yes" 1>&6
3904 echo "$ac_t""no" 1>&6
3908 echo $ac_n "checking for --enable-fs_inet""... $ac_c" 1>&6
3909 echo "configure:3910: checking for --enable-fs_inet" >&5
3911 # Check whether --enable-fs_inet or --disable-fs_inet was given.
3912 if test "${enable_fs_inet+set}" = set; then
3913 enableval
="$enable_fs_inet"
3915 if test "$enableval" = yes; then
3916 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
3918 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
3923 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
3924 if test "x$LINE" != x
; then
3925 eval "DEFAULT_$LINE"
3930 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
3935 eval "$ac_cv_use_fs_inet"
3936 if test "$no_cache" != 1; then
3937 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
3940 if test "$wxUSE_FS_INET" = yes; then
3941 echo "$ac_t""yes" 1>&6
3943 echo "$ac_t""no" 1>&6
3947 echo $ac_n "checking for --enable-fs_zip""... $ac_c" 1>&6
3948 echo "configure:3949: checking for --enable-fs_zip" >&5
3950 # Check whether --enable-fs_zip or --disable-fs_zip was given.
3951 if test "${enable_fs_zip+set}" = set; then
3952 enableval
="$enable_fs_zip"
3954 if test "$enableval" = yes; then
3955 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
3957 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
3962 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
3963 if test "x$LINE" != x
; then
3964 eval "DEFAULT_$LINE"
3969 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
3974 eval "$ac_cv_use_fs_zip"
3975 if test "$no_cache" != 1; then
3976 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
3979 if test "$wxUSE_FS_ZIP" = yes; then
3980 echo "$ac_t""yes" 1>&6
3982 echo "$ac_t""no" 1>&6
3986 echo $ac_n "checking for --enable-zipstream""... $ac_c" 1>&6
3987 echo "configure:3988: checking for --enable-zipstream" >&5
3989 # Check whether --enable-zipstream or --disable-zipstream was given.
3990 if test "${enable_zipstream+set}" = set; then
3991 enableval
="$enable_zipstream"
3993 if test "$enableval" = yes; then
3994 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
3996 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
4001 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
4002 if test "x$LINE" != x
; then
4003 eval "DEFAULT_$LINE"
4008 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
4013 eval "$ac_cv_use_zipstream"
4014 if test "$no_cache" != 1; then
4015 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
4018 if test "$wxUSE_ZIPSTREAM" = yes; then
4019 echo "$ac_t""yes" 1>&6
4021 echo "$ac_t""no" 1>&6
4026 echo $ac_n "checking for --enable-catch_segvs""... $ac_c" 1>&6
4027 echo "configure:4028: checking for --enable-catch_segvs" >&5
4029 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4030 if test "${enable_catch_segvs+set}" = set; then
4031 enableval
="$enable_catch_segvs"
4033 if test "$enableval" = yes; then
4034 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4036 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4041 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4042 if test "x$LINE" != x
; then
4043 eval "DEFAULT_$LINE"
4048 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4053 eval "$ac_cv_use_catch_segvs"
4054 if test "$no_cache" != 1; then
4055 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4058 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4059 echo "$ac_t""yes" 1>&6
4061 echo "$ac_t""no" 1>&6
4065 echo $ac_n "checking for --enable-snglinst""... $ac_c" 1>&6
4066 echo "configure:4067: checking for --enable-snglinst" >&5
4068 # Check whether --enable-snglinst or --disable-snglinst was given.
4069 if test "${enable_snglinst+set}" = set; then
4070 enableval
="$enable_snglinst"
4072 if test "$enableval" = yes; then
4073 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
4075 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
4080 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
4081 if test "x$LINE" != x
; then
4082 eval "DEFAULT_$LINE"
4087 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
4092 eval "$ac_cv_use_snglinst"
4093 if test "$no_cache" != 1; then
4094 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
4097 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
4098 echo "$ac_t""yes" 1>&6
4100 echo "$ac_t""no" 1>&6
4105 echo $ac_n "checking for --enable-mimetype""... $ac_c" 1>&6
4106 echo "configure:4107: checking for --enable-mimetype" >&5
4108 # Check whether --enable-mimetype or --disable-mimetype was given.
4109 if test "${enable_mimetype+set}" = set; then
4110 enableval
="$enable_mimetype"
4112 if test "$enableval" = yes; then
4113 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
4115 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
4120 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
4121 if test "x$LINE" != x
; then
4122 eval "DEFAULT_$LINE"
4127 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
4132 eval "$ac_cv_use_mimetype"
4133 if test "$no_cache" != 1; then
4134 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
4137 if test "$wxUSE_MIMETYPE" = yes; then
4138 echo "$ac_t""yes" 1>&6
4140 echo "$ac_t""no" 1>&6
4144 echo $ac_n "checking for --enable-system_options""... $ac_c" 1>&6
4145 echo "configure:4146: checking for --enable-system_options" >&5
4147 # Check whether --enable-system_options or --disable-system_options was given.
4148 if test "${enable_system_options+set}" = set; then
4149 enableval
="$enable_system_options"
4151 if test "$enableval" = yes; then
4152 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
4154 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
4159 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
4160 if test "x$LINE" != x
; then
4161 eval "DEFAULT_$LINE"
4166 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
4171 eval "$ac_cv_use_system_options"
4172 if test "$no_cache" != 1; then
4173 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
4176 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
4177 echo "$ac_t""yes" 1>&6
4179 echo "$ac_t""no" 1>&6
4185 echo $ac_n "checking for --enable-threads""... $ac_c" 1>&6
4186 echo "configure:4187: checking for --enable-threads" >&5
4188 # Check whether --enable-threads or --disable-threads was given.
4189 if test "${enable_threads+set}" = set; then
4190 enableval
="$enable_threads"
4192 if test "$enableval" = yes; then
4193 ac_cv_use_threads
='wxUSE_THREADS=yes'
4195 ac_cv_use_threads
='wxUSE_THREADS=no'
4200 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
4201 if test "x$LINE" != x
; then
4202 eval "DEFAULT_$LINE"
4207 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
4212 eval "$ac_cv_use_threads"
4213 if test "$no_cache" != 1; then
4214 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
4217 if test "$wxUSE_THREADS" = yes; then
4218 echo "$ac_t""yes" 1>&6
4220 echo "$ac_t""no" 1>&6
4224 echo $ac_n "checking for --enable-serial""... $ac_c" 1>&6
4225 echo "configure:4226: checking for --enable-serial" >&5
4227 # Check whether --enable-serial or --disable-serial was given.
4228 if test "${enable_serial+set}" = set; then
4229 enableval
="$enable_serial"
4231 if test "$enableval" = yes; then
4232 ac_cv_use_serial
='wxUSE_SERIAL=yes'
4234 ac_cv_use_serial
='wxUSE_SERIAL=no'
4239 LINE
=`grep "wxUSE_SERIAL" ${wx_arg_cache_file}`
4240 if test "x$LINE" != x
; then
4241 eval "DEFAULT_$LINE"
4246 ac_cv_use_serial
='wxUSE_SERIAL='$DEFAULT_wxUSE_SERIAL
4251 eval "$ac_cv_use_serial"
4252 if test "$no_cache" != 1; then
4253 echo $ac_cv_use_serial >> ${wx_arg_cache_file}.tmp
4256 if test "$wxUSE_SERIAL" = yes; then
4257 echo "$ac_t""yes" 1>&6
4259 echo "$ac_t""no" 1>&6
4263 if test "$wxUSE_GUI" = "yes"; then
4267 echo $ac_n "checking for --enable-docview""... $ac_c" 1>&6
4268 echo "configure:4269: checking for --enable-docview" >&5
4270 # Check whether --enable-docview or --disable-docview was given.
4271 if test "${enable_docview+set}" = set; then
4272 enableval
="$enable_docview"
4274 if test "$enableval" = yes; then
4275 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
4277 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
4282 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
4283 if test "x$LINE" != x
; then
4284 eval "DEFAULT_$LINE"
4289 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
4294 eval "$ac_cv_use_docview"
4295 if test "$no_cache" != 1; then
4296 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
4299 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
4300 echo "$ac_t""yes" 1>&6
4302 echo "$ac_t""no" 1>&6
4306 echo $ac_n "checking for --enable-help""... $ac_c" 1>&6
4307 echo "configure:4308: checking for --enable-help" >&5
4309 # Check whether --enable-help or --disable-help was given.
4310 if test "${enable_help+set}" = set; then
4311 enableval
="$enable_help"
4313 if test "$enableval" = yes; then
4314 ac_cv_use_help
='wxUSE_HELP=yes'
4316 ac_cv_use_help
='wxUSE_HELP=no'
4321 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
4322 if test "x$LINE" != x
; then
4323 eval "DEFAULT_$LINE"
4328 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
4333 eval "$ac_cv_use_help"
4334 if test "$no_cache" != 1; then
4335 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
4338 if test "$wxUSE_HELP" = yes; then
4339 echo "$ac_t""yes" 1>&6
4341 echo "$ac_t""no" 1>&6
4345 echo $ac_n "checking for --enable-mshtmlhelp""... $ac_c" 1>&6
4346 echo "configure:4347: checking for --enable-mshtmlhelp" >&5
4348 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
4349 if test "${enable_mshtmlhelp+set}" = set; then
4350 enableval
="$enable_mshtmlhelp"
4352 if test "$enableval" = yes; then
4353 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
4355 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
4360 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
4361 if test "x$LINE" != x
; then
4362 eval "DEFAULT_$LINE"
4367 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
4372 eval "$ac_cv_use_mshtmlhelp"
4373 if test "$no_cache" != 1; then
4374 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
4377 if test "$wxUSE_MS_HTML_HELP" = yes; then
4378 echo "$ac_t""yes" 1>&6
4380 echo "$ac_t""no" 1>&6
4384 echo $ac_n "checking for --enable-html""... $ac_c" 1>&6
4385 echo "configure:4386: checking for --enable-html" >&5
4387 # Check whether --enable-html or --disable-html was given.
4388 if test "${enable_html+set}" = set; then
4389 enableval
="$enable_html"
4391 if test "$enableval" = yes; then
4392 ac_cv_use_html
='wxUSE_HTML=yes'
4394 ac_cv_use_html
='wxUSE_HTML=no'
4399 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
4400 if test "x$LINE" != x
; then
4401 eval "DEFAULT_$LINE"
4406 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
4411 eval "$ac_cv_use_html"
4412 if test "$no_cache" != 1; then
4413 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
4416 if test "$wxUSE_HTML" = yes; then
4417 echo "$ac_t""yes" 1>&6
4419 echo "$ac_t""no" 1>&6
4423 echo $ac_n "checking for --enable-htmlhelp""... $ac_c" 1>&6
4424 echo "configure:4425: checking for --enable-htmlhelp" >&5
4426 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
4427 if test "${enable_htmlhelp+set}" = set; then
4428 enableval
="$enable_htmlhelp"
4430 if test "$enableval" = yes; then
4431 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
4433 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
4438 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
4439 if test "x$LINE" != x
; then
4440 eval "DEFAULT_$LINE"
4445 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
4450 eval "$ac_cv_use_htmlhelp"
4451 if test "$no_cache" != 1; then
4452 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
4455 if test "$wxUSE_WXHTML_HELP" = yes; then
4456 echo "$ac_t""yes" 1>&6
4458 echo "$ac_t""no" 1>&6
4462 echo $ac_n "checking for --enable-constraints""... $ac_c" 1>&6
4463 echo "configure:4464: checking for --enable-constraints" >&5
4465 # Check whether --enable-constraints or --disable-constraints was given.
4466 if test "${enable_constraints+set}" = set; then
4467 enableval
="$enable_constraints"
4469 if test "$enableval" = yes; then
4470 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
4472 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
4477 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
4478 if test "x$LINE" != x
; then
4479 eval "DEFAULT_$LINE"
4484 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
4489 eval "$ac_cv_use_constraints"
4490 if test "$no_cache" != 1; then
4491 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
4494 if test "$wxUSE_CONSTRAINTS" = yes; then
4495 echo "$ac_t""yes" 1>&6
4497 echo "$ac_t""no" 1>&6
4501 echo $ac_n "checking for --enable-printarch""... $ac_c" 1>&6
4502 echo "configure:4503: checking for --enable-printarch" >&5
4504 # Check whether --enable-printarch or --disable-printarch was given.
4505 if test "${enable_printarch+set}" = set; then
4506 enableval
="$enable_printarch"
4508 if test "$enableval" = yes; then
4509 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
4511 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
4516 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
4517 if test "x$LINE" != x
; then
4518 eval "DEFAULT_$LINE"
4523 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
4528 eval "$ac_cv_use_printarch"
4529 if test "$no_cache" != 1; then
4530 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
4533 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
4534 echo "$ac_t""yes" 1>&6
4536 echo "$ac_t""no" 1>&6
4540 echo $ac_n "checking for --enable-mdi""... $ac_c" 1>&6
4541 echo "configure:4542: checking for --enable-mdi" >&5
4543 # Check whether --enable-mdi or --disable-mdi was given.
4544 if test "${enable_mdi+set}" = set; then
4545 enableval
="$enable_mdi"
4547 if test "$enableval" = yes; then
4548 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=yes'
4550 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=no'
4555 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
4556 if test "x$LINE" != x
; then
4557 eval "DEFAULT_$LINE"
4562 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
4567 eval "$ac_cv_use_mdi"
4568 if test "$no_cache" != 1; then
4569 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
4572 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
4573 echo "$ac_t""yes" 1>&6
4575 echo "$ac_t""no" 1>&6
4579 echo $ac_n "checking for --enable-loggui""... $ac_c" 1>&6
4580 echo "configure:4581: checking for --enable-loggui" >&5
4582 # Check whether --enable-loggui or --disable-loggui was given.
4583 if test "${enable_loggui+set}" = set; then
4584 enableval
="$enable_loggui"
4586 if test "$enableval" = yes; then
4587 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
4589 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
4594 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
4595 if test "x$LINE" != x
; then
4596 eval "DEFAULT_$LINE"
4601 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
4606 eval "$ac_cv_use_loggui"
4607 if test "$no_cache" != 1; then
4608 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
4611 if test "$wxUSE_LOGGUI" = yes; then
4612 echo "$ac_t""yes" 1>&6
4614 echo "$ac_t""no" 1>&6
4618 echo $ac_n "checking for --enable-logwin""... $ac_c" 1>&6
4619 echo "configure:4620: checking for --enable-logwin" >&5
4621 # Check whether --enable-logwin or --disable-logwin was given.
4622 if test "${enable_logwin+set}" = set; then
4623 enableval
="$enable_logwin"
4625 if test "$enableval" = yes; then
4626 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
4628 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
4633 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
4634 if test "x$LINE" != x
; then
4635 eval "DEFAULT_$LINE"
4640 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
4645 eval "$ac_cv_use_logwin"
4646 if test "$no_cache" != 1; then
4647 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
4650 if test "$wxUSE_LOGWINDOW" = yes; then
4651 echo "$ac_t""yes" 1>&6
4653 echo "$ac_t""no" 1>&6
4658 echo $ac_n "checking for --enable-postscript""... $ac_c" 1>&6
4659 echo "configure:4660: checking for --enable-postscript" >&5
4661 # Check whether --enable-postscript or --disable-postscript was given.
4662 if test "${enable_postscript+set}" = set; then
4663 enableval
="$enable_postscript"
4665 if test "$enableval" = yes; then
4666 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
4668 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
4673 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
4674 if test "x$LINE" != x
; then
4675 eval "DEFAULT_$LINE"
4680 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
4685 eval "$ac_cv_use_postscript"
4686 if test "$no_cache" != 1; then
4687 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
4690 if test "$wxUSE_POSTSCRIPT" = yes; then
4691 echo "$ac_t""yes" 1>&6
4693 echo "$ac_t""no" 1>&6
4700 echo $ac_n "checking for --enable-prologio""... $ac_c" 1>&6
4701 echo "configure:4702: checking for --enable-prologio" >&5
4703 # Check whether --enable-prologio or --disable-prologio was given.
4704 if test "${enable_prologio+set}" = set; then
4705 enableval
="$enable_prologio"
4707 if test "$enableval" = yes; then
4708 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
4710 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
4715 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
4716 if test "x$LINE" != x
; then
4717 eval "DEFAULT_$LINE"
4722 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
4727 eval "$ac_cv_use_prologio"
4728 if test "$no_cache" != 1; then
4729 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
4732 if test "$wxUSE_PROLOGIO" = yes; then
4733 echo "$ac_t""yes" 1>&6
4735 echo "$ac_t""no" 1>&6
4739 echo $ac_n "checking for --enable-resources""... $ac_c" 1>&6
4740 echo "configure:4741: checking for --enable-resources" >&5
4742 # Check whether --enable-resources or --disable-resources was given.
4743 if test "${enable_resources+set}" = set; then
4744 enableval
="$enable_resources"
4746 if test "$enableval" = yes; then
4747 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
4749 ac_cv_use_resources
='wxUSE_RESOURCES=no'
4754 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
4755 if test "x$LINE" != x
; then
4756 eval "DEFAULT_$LINE"
4761 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
4766 eval "$ac_cv_use_resources"
4767 if test "$no_cache" != 1; then
4768 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
4771 if test "$wxUSE_RESOURCES" = yes; then
4772 echo "$ac_t""yes" 1>&6
4774 echo "$ac_t""no" 1>&6
4779 echo $ac_n "checking for --enable-xresources""... $ac_c" 1>&6
4780 echo "configure:4781: checking for --enable-xresources" >&5
4782 # Check whether --enable-xresources or --disable-xresources was given.
4783 if test "${enable_xresources+set}" = set; then
4784 enableval
="$enable_xresources"
4786 if test "$enableval" = yes; then
4787 ac_cv_use_xresources
='wxUSE_X_RESOURCES=yes'
4789 ac_cv_use_xresources
='wxUSE_X_RESOURCES=no'
4794 LINE
=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
4795 if test "x$LINE" != x
; then
4796 eval "DEFAULT_$LINE"
4801 ac_cv_use_xresources
='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
4806 eval "$ac_cv_use_xresources"
4807 if test "$no_cache" != 1; then
4808 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
4811 if test "$wxUSE_X_RESOURCES" = yes; then
4812 echo "$ac_t""yes" 1>&6
4814 echo "$ac_t""no" 1>&6
4820 echo $ac_n "checking for --enable-clipboard""... $ac_c" 1>&6
4821 echo "configure:4822: checking for --enable-clipboard" >&5
4823 # Check whether --enable-clipboard or --disable-clipboard was given.
4824 if test "${enable_clipboard+set}" = set; then
4825 enableval
="$enable_clipboard"
4827 if test "$enableval" = yes; then
4828 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
4830 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
4835 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
4836 if test "x$LINE" != x
; then
4837 eval "DEFAULT_$LINE"
4842 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
4847 eval "$ac_cv_use_clipboard"
4848 if test "$no_cache" != 1; then
4849 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
4852 if test "$wxUSE_CLIPBOARD" = yes; then
4853 echo "$ac_t""yes" 1>&6
4855 echo "$ac_t""no" 1>&6
4859 echo $ac_n "checking for --enable-dnd""... $ac_c" 1>&6
4860 echo "configure:4861: checking for --enable-dnd" >&5
4862 # Check whether --enable-dnd or --disable-dnd was given.
4863 if test "${enable_dnd+set}" = set; then
4864 enableval
="$enable_dnd"
4866 if test "$enableval" = yes; then
4867 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
4869 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
4874 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
4875 if test "x$LINE" != x
; then
4876 eval "DEFAULT_$LINE"
4881 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
4886 eval "$ac_cv_use_dnd"
4887 if test "$no_cache" != 1; then
4888 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
4891 if test "$wxUSE_DRAG_AND_DROP" = yes; then
4892 echo "$ac_t""yes" 1>&6
4894 echo "$ac_t""no" 1>&6
4898 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
4899 echo "configure:4900: checking for --enable-metafile" >&5
4901 # Check whether --enable-metafile or --disable-metafile was given.
4902 if test "${enable_metafile+set}" = set; then
4903 enableval
="$enable_metafile"
4905 if test "$enableval" = yes; then
4906 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
4908 ac_cv_use_metafile
='wxUSE_METAFILE=no'
4913 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
4914 if test "x$LINE" != x
; then
4915 eval "DEFAULT_$LINE"
4920 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
4925 eval "$ac_cv_use_metafile"
4926 if test "$no_cache" != 1; then
4927 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
4930 if test "$wxUSE_METAFILE" = yes; then
4931 echo "$ac_t""yes" 1>&6
4933 echo "$ac_t""no" 1>&6
4938 echo $ac_n "checking for --enable-treelayout""... $ac_c" 1>&6
4939 echo "configure:4940: checking for --enable-treelayout" >&5
4941 # Check whether --enable-treelayout or --disable-treelayout was given.
4942 if test "${enable_treelayout+set}" = set; then
4943 enableval
="$enable_treelayout"
4945 if test "$enableval" = yes; then
4946 ac_cv_use_treelayout
='wxUSE_TREELAYOUT=yes'
4948 ac_cv_use_treelayout
='wxUSE_TREELAYOUT=no'
4953 LINE
=`grep "wxUSE_TREELAYOUT" ${wx_arg_cache_file}`
4954 if test "x$LINE" != x
; then
4955 eval "DEFAULT_$LINE"
4960 ac_cv_use_treelayout
='wxUSE_TREELAYOUT='$DEFAULT_wxUSE_TREELAYOUT
4965 eval "$ac_cv_use_treelayout"
4966 if test "$no_cache" != 1; then
4967 echo $ac_cv_use_treelayout >> ${wx_arg_cache_file}.tmp
4970 if test "$wxUSE_TREELAYOUT" = yes; then
4971 echo "$ac_t""yes" 1>&6
4973 echo "$ac_t""no" 1>&6
4979 echo $ac_n "checking for --enable-controls""... $ac_c" 1>&6
4980 echo "configure:4981: checking for --enable-controls" >&5
4982 # Check whether --enable-controls or --disable-controls was given.
4983 if test "${enable_controls+set}" = set; then
4984 enableval
="$enable_controls"
4986 if test "$enableval" = yes; then
4987 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
4989 ac_cv_use_controls
='wxUSE_CONTROLS=no'
4994 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
4995 if test "x$LINE" != x
; then
4996 eval "DEFAULT_$LINE"
5001 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
5006 eval "$ac_cv_use_controls"
5007 if test "$no_cache" != 1; then
5008 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
5011 if test "$wxUSE_CONTROLS" = yes; then
5012 echo "$ac_t""yes" 1>&6
5014 echo "$ac_t""no" 1>&6
5018 if test "$wxUSE_CONTROLS" = "yes"; then
5019 DEFAULT_wxUSE_ACCEL
=yes
5020 DEFAULT_wxUSE_BMPBUTTON
=yes
5021 DEFAULT_wxUSE_BUTTON
=yes
5022 DEFAULT_wxUSE_CALCTRL
=no
5023 DEFAULT_wxUSE_CARET
=yes
5024 DEFAULT_wxUSE_COMBOBOX
=yes
5025 DEFAULT_wxUSE_CHECKBOX
=yes
5026 DEFAULT_wxUSE_CHECKLISTBOX
=yes
5027 DEFAULT_wxUSE_CHOICE
=yes
5028 DEFAULT_wxUSE_GAUGE
=yes
5029 DEFAULT_wxUSE_GRID
=yes
5030 DEFAULT_wxUSE_NEW_GRID
=yes
5031 DEFAULT_wxUSE_IMAGLIST
=yes
5032 DEFAULT_wxUSE_LISTBOX
=yes
5033 DEFAULT_wxUSE_LISTCTRL
=yes
5034 DEFAULT_wxUSE_NOTEBOOK
=yes
5035 DEFAULT_wxUSE_PROPSHEET
=yes
5036 DEFAULT_wxUSE_RADIOBOX
=yes
5037 DEFAULT_wxUSE_RADIOBTN
=yes
5038 DEFAULT_wxUSE_SASH
=yes
5039 DEFAULT_wxUSE_SCROLLBAR
=yes
5040 DEFAULT_wxUSE_SLIDER
=yes
5041 DEFAULT_wxUSE_SPINBTN
=yes
5042 DEFAULT_wxUSE_SPINCTRL
=yes
5043 DEFAULT_wxUSE_SPLITTER
=yes
5044 DEFAULT_wxUSE_STATBMP
=yes
5045 DEFAULT_wxUSE_STATBOX
=yes
5046 DEFAULT_wxUSE_STATLINE
=yes
5047 DEFAULT_wxUSE_STATUSBAR
=yes
5048 DEFAULT_wxUSE_TAB_DIALOG
=yes
5049 DEFAULT_wxUSE_TOGGLEBTN
=yes
5050 DEFAULT_wxUSE_TOOLBAR
=yes
5051 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
5052 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
5053 DEFAULT_wxUSE_TOOLTIPS
=yes
5054 DEFAULT_wxUSE_TREECTRL
=yes
5055 DEFAULT_wxUSE_POPUPWIN
=yes
5056 elif test "$wxUSE_CONTROLS" = "no"; then
5057 DEFAULT_wxUSE_ACCEL
=no
5058 DEFAULT_wxUSE_BMPBUTTON
=no
5059 DEFAULT_wxUSE_BUTTON
=no
5060 DEFAULT_wxUSE_CALCTRL
=no
5061 DEFAULT_wxUSE_CARET
=no
5062 DEFAULT_wxUSE_COMBOBOX
=no
5063 DEFAULT_wxUSE_CHECKBOX
=no
5064 DEFAULT_wxUSE_CHECKLISTBOX
=no
5065 DEFAULT_wxUSE_CHOICE
=no
5066 DEFAULT_wxUSE_GAUGE
=no
5067 DEFAULT_wxUSE_GRID
=no
5068 DEFAULT_wxUSE_NEW_GRID
=no
5069 DEFAULT_wxUSE_IMAGLIST
=no
5070 DEFAULT_wxUSE_LISTBOX
=no
5071 DEFAULT_wxUSE_LISTCTRL
=no
5072 DEFAULT_wxUSE_NOTEBOOK
=no
5073 DEFAULT_wxUSE_PROPSHEET
=no
5074 DEFAULT_wxUSE_RADIOBOX
=no
5075 DEFAULT_wxUSE_RADIOBTN
=no
5076 DEFAULT_wxUSE_SASH
=no
5077 DEFAULT_wxUSE_SCROLLBAR
=no
5078 DEFAULT_wxUSE_SLIDER
=no
5079 DEFAULT_wxUSE_SPINBTN
=no
5080 DEFAULT_wxUSE_SPINCTRL
=no
5081 DEFAULT_wxUSE_SPLITTER
=no
5082 DEFAULT_wxUSE_STATBMP
=no
5083 DEFAULT_wxUSE_STATBOX
=no
5084 DEFAULT_wxUSE_STATLINE
=no
5085 DEFAULT_wxUSE_STATUSBAR
=no
5086 DEFAULT_wxUSE_TAB_DIALOG
=no
5087 DEFAULT_wxUSE_TOGGLEBTN
=no
5088 DEFAULT_wxUSE_TOOLBAR
=no
5089 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
5090 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
5091 DEFAULT_wxUSE_TOOLTIPS
=no
5092 DEFAULT_wxUSE_TREECTRL
=no
5093 DEFAULT_wxUSE_POPUPWIN
=no
5097 echo $ac_n "checking for --enable-accel""... $ac_c" 1>&6
5098 echo "configure:5099: checking for --enable-accel" >&5
5100 # Check whether --enable-accel or --disable-accel was given.
5101 if test "${enable_accel+set}" = set; then
5102 enableval
="$enable_accel"
5104 if test "$enableval" = yes; then
5105 ac_cv_use_accel
='wxUSE_ACCEL=yes'
5107 ac_cv_use_accel
='wxUSE_ACCEL=no'
5112 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
5113 if test "x$LINE" != x
; then
5114 eval "DEFAULT_$LINE"
5119 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
5124 eval "$ac_cv_use_accel"
5125 if test "$no_cache" != 1; then
5126 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
5129 if test "$wxUSE_ACCEL" = yes; then
5130 echo "$ac_t""yes" 1>&6
5132 echo "$ac_t""no" 1>&6
5136 echo $ac_n "checking for --enable-button""... $ac_c" 1>&6
5137 echo "configure:5138: checking for --enable-button" >&5
5139 # Check whether --enable-button or --disable-button was given.
5140 if test "${enable_button+set}" = set; then
5141 enableval
="$enable_button"
5143 if test "$enableval" = yes; then
5144 ac_cv_use_button
='wxUSE_BUTTON=yes'
5146 ac_cv_use_button
='wxUSE_BUTTON=no'
5151 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
5152 if test "x$LINE" != x
; then
5153 eval "DEFAULT_$LINE"
5158 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
5163 eval "$ac_cv_use_button"
5164 if test "$no_cache" != 1; then
5165 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
5168 if test "$wxUSE_BUTTON" = yes; then
5169 echo "$ac_t""yes" 1>&6
5171 echo "$ac_t""no" 1>&6
5175 echo $ac_n "checking for --enable-bmpbutton""... $ac_c" 1>&6
5176 echo "configure:5177: checking for --enable-bmpbutton" >&5
5178 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
5179 if test "${enable_bmpbutton+set}" = set; then
5180 enableval
="$enable_bmpbutton"
5182 if test "$enableval" = yes; then
5183 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
5185 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
5190 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
5191 if test "x$LINE" != x
; then
5192 eval "DEFAULT_$LINE"
5197 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
5202 eval "$ac_cv_use_bmpbutton"
5203 if test "$no_cache" != 1; then
5204 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
5207 if test "$wxUSE_BMPBUTTON" = yes; then
5208 echo "$ac_t""yes" 1>&6
5210 echo "$ac_t""no" 1>&6
5214 echo $ac_n "checking for --enable-calendar""... $ac_c" 1>&6
5215 echo "configure:5216: checking for --enable-calendar" >&5
5217 # Check whether --enable-calendar or --disable-calendar was given.
5218 if test "${enable_calendar+set}" = set; then
5219 enableval
="$enable_calendar"
5221 if test "$enableval" = yes; then
5222 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
5224 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
5229 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
5230 if test "x$LINE" != x
; then
5231 eval "DEFAULT_$LINE"
5236 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
5241 eval "$ac_cv_use_calendar"
5242 if test "$no_cache" != 1; then
5243 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
5246 if test "$wxUSE_CALCTRL" = yes; then
5247 echo "$ac_t""yes" 1>&6
5249 echo "$ac_t""no" 1>&6
5253 echo $ac_n "checking for --enable-caret""... $ac_c" 1>&6
5254 echo "configure:5255: checking for --enable-caret" >&5
5256 # Check whether --enable-caret or --disable-caret was given.
5257 if test "${enable_caret+set}" = set; then
5258 enableval
="$enable_caret"
5260 if test "$enableval" = yes; then
5261 ac_cv_use_caret
='wxUSE_CARET=yes'
5263 ac_cv_use_caret
='wxUSE_CARET=no'
5268 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
5269 if test "x$LINE" != x
; then
5270 eval "DEFAULT_$LINE"
5275 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
5280 eval "$ac_cv_use_caret"
5281 if test "$no_cache" != 1; then
5282 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
5285 if test "$wxUSE_CARET" = yes; then
5286 echo "$ac_t""yes" 1>&6
5288 echo "$ac_t""no" 1>&6
5292 echo $ac_n "checking for --enable-checkbox""... $ac_c" 1>&6
5293 echo "configure:5294: checking for --enable-checkbox" >&5
5295 # Check whether --enable-checkbox or --disable-checkbox was given.
5296 if test "${enable_checkbox+set}" = set; then
5297 enableval
="$enable_checkbox"
5299 if test "$enableval" = yes; then
5300 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
5302 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
5307 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
5308 if test "x$LINE" != x
; then
5309 eval "DEFAULT_$LINE"
5314 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
5319 eval "$ac_cv_use_checkbox"
5320 if test "$no_cache" != 1; then
5321 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
5324 if test "$wxUSE_CHECKBOX" = yes; then
5325 echo "$ac_t""yes" 1>&6
5327 echo "$ac_t""no" 1>&6
5331 echo $ac_n "checking for --enable-checklst""... $ac_c" 1>&6
5332 echo "configure:5333: checking for --enable-checklst" >&5
5334 # Check whether --enable-checklst or --disable-checklst was given.
5335 if test "${enable_checklst+set}" = set; then
5336 enableval
="$enable_checklst"
5338 if test "$enableval" = yes; then
5339 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
5341 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
5346 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
5347 if test "x$LINE" != x
; then
5348 eval "DEFAULT_$LINE"
5353 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
5358 eval "$ac_cv_use_checklst"
5359 if test "$no_cache" != 1; then
5360 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
5363 if test "$wxUSE_CHECKLST" = yes; then
5364 echo "$ac_t""yes" 1>&6
5366 echo "$ac_t""no" 1>&6
5370 echo $ac_n "checking for --enable-choice""... $ac_c" 1>&6
5371 echo "configure:5372: checking for --enable-choice" >&5
5373 # Check whether --enable-choice or --disable-choice was given.
5374 if test "${enable_choice+set}" = set; then
5375 enableval
="$enable_choice"
5377 if test "$enableval" = yes; then
5378 ac_cv_use_choice
='wxUSE_CHOICE=yes'
5380 ac_cv_use_choice
='wxUSE_CHOICE=no'
5385 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
5386 if test "x$LINE" != x
; then
5387 eval "DEFAULT_$LINE"
5392 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
5397 eval "$ac_cv_use_choice"
5398 if test "$no_cache" != 1; then
5399 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
5402 if test "$wxUSE_CHOICE" = yes; then
5403 echo "$ac_t""yes" 1>&6
5405 echo "$ac_t""no" 1>&6
5409 echo $ac_n "checking for --enable-combobox""... $ac_c" 1>&6
5410 echo "configure:5411: checking for --enable-combobox" >&5
5412 # Check whether --enable-combobox or --disable-combobox was given.
5413 if test "${enable_combobox+set}" = set; then
5414 enableval
="$enable_combobox"
5416 if test "$enableval" = yes; then
5417 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
5419 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
5424 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
5425 if test "x$LINE" != x
; then
5426 eval "DEFAULT_$LINE"
5431 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
5436 eval "$ac_cv_use_combobox"
5437 if test "$no_cache" != 1; then
5438 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
5441 if test "$wxUSE_COMBOBOX" = yes; then
5442 echo "$ac_t""yes" 1>&6
5444 echo "$ac_t""no" 1>&6
5448 echo $ac_n "checking for --enable-gauge""... $ac_c" 1>&6
5449 echo "configure:5450: checking for --enable-gauge" >&5
5451 # Check whether --enable-gauge or --disable-gauge was given.
5452 if test "${enable_gauge+set}" = set; then
5453 enableval
="$enable_gauge"
5455 if test "$enableval" = yes; then
5456 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
5458 ac_cv_use_gauge
='wxUSE_GAUGE=no'
5463 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
5464 if test "x$LINE" != x
; then
5465 eval "DEFAULT_$LINE"
5470 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
5475 eval "$ac_cv_use_gauge"
5476 if test "$no_cache" != 1; then
5477 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
5480 if test "$wxUSE_GAUGE" = yes; then
5481 echo "$ac_t""yes" 1>&6
5483 echo "$ac_t""no" 1>&6
5487 echo $ac_n "checking for --enable-grid""... $ac_c" 1>&6
5488 echo "configure:5489: checking for --enable-grid" >&5
5490 # Check whether --enable-grid or --disable-grid was given.
5491 if test "${enable_grid+set}" = set; then
5492 enableval
="$enable_grid"
5494 if test "$enableval" = yes; then
5495 ac_cv_use_grid
='wxUSE_GRID=yes'
5497 ac_cv_use_grid
='wxUSE_GRID=no'
5502 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
5503 if test "x$LINE" != x
; then
5504 eval "DEFAULT_$LINE"
5509 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
5514 eval "$ac_cv_use_grid"
5515 if test "$no_cache" != 1; then
5516 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
5519 if test "$wxUSE_GRID" = yes; then
5520 echo "$ac_t""yes" 1>&6
5522 echo "$ac_t""no" 1>&6
5526 echo $ac_n "checking for --enable-newgrid""... $ac_c" 1>&6
5527 echo "configure:5528: checking for --enable-newgrid" >&5
5529 # Check whether --enable-newgrid or --disable-newgrid was given.
5530 if test "${enable_newgrid+set}" = set; then
5531 enableval
="$enable_newgrid"
5533 if test "$enableval" = yes; then
5534 ac_cv_use_newgrid
='wxUSE_NEW_GRID=yes'
5536 ac_cv_use_newgrid
='wxUSE_NEW_GRID=no'
5541 LINE
=`grep "wxUSE_NEW_GRID" ${wx_arg_cache_file}`
5542 if test "x$LINE" != x
; then
5543 eval "DEFAULT_$LINE"
5548 ac_cv_use_newgrid
='wxUSE_NEW_GRID='$DEFAULT_wxUSE_NEW_GRID
5553 eval "$ac_cv_use_newgrid"
5554 if test "$no_cache" != 1; then
5555 echo $ac_cv_use_newgrid >> ${wx_arg_cache_file}.tmp
5558 if test "$wxUSE_NEW_GRID" = yes; then
5559 echo "$ac_t""yes" 1>&6
5561 echo "$ac_t""no" 1>&6
5565 echo $ac_n "checking for --enable-imaglist""... $ac_c" 1>&6
5566 echo "configure:5567: checking for --enable-imaglist" >&5
5568 # Check whether --enable-imaglist or --disable-imaglist was given.
5569 if test "${enable_imaglist+set}" = set; then
5570 enableval
="$enable_imaglist"
5572 if test "$enableval" = yes; then
5573 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
5575 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
5580 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
5581 if test "x$LINE" != x
; then
5582 eval "DEFAULT_$LINE"
5587 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
5592 eval "$ac_cv_use_imaglist"
5593 if test "$no_cache" != 1; then
5594 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
5597 if test "$wxUSE_IMAGLIST" = yes; then
5598 echo "$ac_t""yes" 1>&6
5600 echo "$ac_t""no" 1>&6
5604 echo $ac_n "checking for --enable-listbox""... $ac_c" 1>&6
5605 echo "configure:5606: checking for --enable-listbox" >&5
5607 # Check whether --enable-listbox or --disable-listbox was given.
5608 if test "${enable_listbox+set}" = set; then
5609 enableval
="$enable_listbox"
5611 if test "$enableval" = yes; then
5612 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
5614 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
5619 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
5620 if test "x$LINE" != x
; then
5621 eval "DEFAULT_$LINE"
5626 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
5631 eval "$ac_cv_use_listbox"
5632 if test "$no_cache" != 1; then
5633 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
5636 if test "$wxUSE_LISTBOX" = yes; then
5637 echo "$ac_t""yes" 1>&6
5639 echo "$ac_t""no" 1>&6
5643 echo $ac_n "checking for --enable-listctrl""... $ac_c" 1>&6
5644 echo "configure:5645: checking for --enable-listctrl" >&5
5646 # Check whether --enable-listctrl or --disable-listctrl was given.
5647 if test "${enable_listctrl+set}" = set; then
5648 enableval
="$enable_listctrl"
5650 if test "$enableval" = yes; then
5651 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
5653 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
5658 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
5659 if test "x$LINE" != x
; then
5660 eval "DEFAULT_$LINE"
5665 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
5670 eval "$ac_cv_use_listctrl"
5671 if test "$no_cache" != 1; then
5672 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
5675 if test "$wxUSE_LISTCTRL" = yes; then
5676 echo "$ac_t""yes" 1>&6
5678 echo "$ac_t""no" 1>&6
5682 echo $ac_n "checking for --enable-notebook""... $ac_c" 1>&6
5683 echo "configure:5684: checking for --enable-notebook" >&5
5685 # Check whether --enable-notebook or --disable-notebook was given.
5686 if test "${enable_notebook+set}" = set; then
5687 enableval
="$enable_notebook"
5689 if test "$enableval" = yes; then
5690 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
5692 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
5697 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
5698 if test "x$LINE" != x
; then
5699 eval "DEFAULT_$LINE"
5704 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
5709 eval "$ac_cv_use_notebook"
5710 if test "$no_cache" != 1; then
5711 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
5714 if test "$wxUSE_NOTEBOOK" = yes; then
5715 echo "$ac_t""yes" 1>&6
5717 echo "$ac_t""no" 1>&6
5721 echo $ac_n "checking for --enable-propsheet""... $ac_c" 1>&6
5722 echo "configure:5723: checking for --enable-propsheet" >&5
5724 # Check whether --enable-propsheet or --disable-propsheet was given.
5725 if test "${enable_propsheet+set}" = set; then
5726 enableval
="$enable_propsheet"
5728 if test "$enableval" = yes; then
5729 ac_cv_use_propsheet
='wxUSE_PROPSHEET=yes'
5731 ac_cv_use_propsheet
='wxUSE_PROPSHEET=no'
5736 LINE
=`grep "wxUSE_PROPSHEET" ${wx_arg_cache_file}`
5737 if test "x$LINE" != x
; then
5738 eval "DEFAULT_$LINE"
5743 ac_cv_use_propsheet
='wxUSE_PROPSHEET='$DEFAULT_wxUSE_PROPSHEET
5748 eval "$ac_cv_use_propsheet"
5749 if test "$no_cache" != 1; then
5750 echo $ac_cv_use_propsheet >> ${wx_arg_cache_file}.tmp
5753 if test "$wxUSE_PROPSHEET" = yes; then
5754 echo "$ac_t""yes" 1>&6
5756 echo "$ac_t""no" 1>&6
5760 echo $ac_n "checking for --enable-radiobox""... $ac_c" 1>&6
5761 echo "configure:5762: checking for --enable-radiobox" >&5
5763 # Check whether --enable-radiobox or --disable-radiobox was given.
5764 if test "${enable_radiobox+set}" = set; then
5765 enableval
="$enable_radiobox"
5767 if test "$enableval" = yes; then
5768 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
5770 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
5775 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
5776 if test "x$LINE" != x
; then
5777 eval "DEFAULT_$LINE"
5782 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
5787 eval "$ac_cv_use_radiobox"
5788 if test "$no_cache" != 1; then
5789 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
5792 if test "$wxUSE_RADIOBOX" = yes; then
5793 echo "$ac_t""yes" 1>&6
5795 echo "$ac_t""no" 1>&6
5799 echo $ac_n "checking for --enable-radiobtn""... $ac_c" 1>&6
5800 echo "configure:5801: checking for --enable-radiobtn" >&5
5802 # Check whether --enable-radiobtn or --disable-radiobtn was given.
5803 if test "${enable_radiobtn+set}" = set; then
5804 enableval
="$enable_radiobtn"
5806 if test "$enableval" = yes; then
5807 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
5809 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
5814 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
5815 if test "x$LINE" != x
; then
5816 eval "DEFAULT_$LINE"
5821 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
5826 eval "$ac_cv_use_radiobtn"
5827 if test "$no_cache" != 1; then
5828 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
5831 if test "$wxUSE_RADIOBTN" = yes; then
5832 echo "$ac_t""yes" 1>&6
5834 echo "$ac_t""no" 1>&6
5838 echo $ac_n "checking for --enable-sash""... $ac_c" 1>&6
5839 echo "configure:5840: checking for --enable-sash" >&5
5841 # Check whether --enable-sash or --disable-sash was given.
5842 if test "${enable_sash+set}" = set; then
5843 enableval
="$enable_sash"
5845 if test "$enableval" = yes; then
5846 ac_cv_use_sash
='wxUSE_SASH=yes'
5848 ac_cv_use_sash
='wxUSE_SASH=no'
5853 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
5854 if test "x$LINE" != x
; then
5855 eval "DEFAULT_$LINE"
5860 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
5865 eval "$ac_cv_use_sash"
5866 if test "$no_cache" != 1; then
5867 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
5870 if test "$wxUSE_SASH" = yes; then
5871 echo "$ac_t""yes" 1>&6
5873 echo "$ac_t""no" 1>&6
5877 echo $ac_n "checking for --enable-scrollbar""... $ac_c" 1>&6
5878 echo "configure:5879: checking for --enable-scrollbar" >&5
5880 # Check whether --enable-scrollbar or --disable-scrollbar was given.
5881 if test "${enable_scrollbar+set}" = set; then
5882 enableval
="$enable_scrollbar"
5884 if test "$enableval" = yes; then
5885 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
5887 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
5892 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
5893 if test "x$LINE" != x
; then
5894 eval "DEFAULT_$LINE"
5899 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
5904 eval "$ac_cv_use_scrollbar"
5905 if test "$no_cache" != 1; then
5906 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
5909 if test "$wxUSE_SCROLLBAR" = yes; then
5910 echo "$ac_t""yes" 1>&6
5912 echo "$ac_t""no" 1>&6
5916 echo $ac_n "checking for --enable-slider""... $ac_c" 1>&6
5917 echo "configure:5918: checking for --enable-slider" >&5
5919 # Check whether --enable-slider or --disable-slider was given.
5920 if test "${enable_slider+set}" = set; then
5921 enableval
="$enable_slider"
5923 if test "$enableval" = yes; then
5924 ac_cv_use_slider
='wxUSE_SLIDER=yes'
5926 ac_cv_use_slider
='wxUSE_SLIDER=no'
5931 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
5932 if test "x$LINE" != x
; then
5933 eval "DEFAULT_$LINE"
5938 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
5943 eval "$ac_cv_use_slider"
5944 if test "$no_cache" != 1; then
5945 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
5948 if test "$wxUSE_SLIDER" = yes; then
5949 echo "$ac_t""yes" 1>&6
5951 echo "$ac_t""no" 1>&6
5955 echo $ac_n "checking for --enable-spinbtn""... $ac_c" 1>&6
5956 echo "configure:5957: checking for --enable-spinbtn" >&5
5958 # Check whether --enable-spinbtn or --disable-spinbtn was given.
5959 if test "${enable_spinbtn+set}" = set; then
5960 enableval
="$enable_spinbtn"
5962 if test "$enableval" = yes; then
5963 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
5965 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
5970 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
5971 if test "x$LINE" != x
; then
5972 eval "DEFAULT_$LINE"
5977 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
5982 eval "$ac_cv_use_spinbtn"
5983 if test "$no_cache" != 1; then
5984 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
5987 if test "$wxUSE_SPINBTN" = yes; then
5988 echo "$ac_t""yes" 1>&6
5990 echo "$ac_t""no" 1>&6
5994 echo $ac_n "checking for --enable-spinctrl""... $ac_c" 1>&6
5995 echo "configure:5996: checking for --enable-spinctrl" >&5
5997 # Check whether --enable-spinctrl or --disable-spinctrl was given.
5998 if test "${enable_spinctrl+set}" = set; then
5999 enableval
="$enable_spinctrl"
6001 if test "$enableval" = yes; then
6002 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
6004 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
6009 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
6010 if test "x$LINE" != x
; then
6011 eval "DEFAULT_$LINE"
6016 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
6021 eval "$ac_cv_use_spinctrl"
6022 if test "$no_cache" != 1; then
6023 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
6026 if test "$wxUSE_SPINCTRL" = yes; then
6027 echo "$ac_t""yes" 1>&6
6029 echo "$ac_t""no" 1>&6
6033 echo $ac_n "checking for --enable-splitter""... $ac_c" 1>&6
6034 echo "configure:6035: checking for --enable-splitter" >&5
6036 # Check whether --enable-splitter or --disable-splitter was given.
6037 if test "${enable_splitter+set}" = set; then
6038 enableval
="$enable_splitter"
6040 if test "$enableval" = yes; then
6041 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
6043 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
6048 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
6049 if test "x$LINE" != x
; then
6050 eval "DEFAULT_$LINE"
6055 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
6060 eval "$ac_cv_use_splitter"
6061 if test "$no_cache" != 1; then
6062 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
6065 if test "$wxUSE_SPLITTER" = yes; then
6066 echo "$ac_t""yes" 1>&6
6068 echo "$ac_t""no" 1>&6
6072 echo $ac_n "checking for --enable-statbmp""... $ac_c" 1>&6
6073 echo "configure:6074: checking for --enable-statbmp" >&5
6075 # Check whether --enable-statbmp or --disable-statbmp was given.
6076 if test "${enable_statbmp+set}" = set; then
6077 enableval
="$enable_statbmp"
6079 if test "$enableval" = yes; then
6080 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
6082 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
6087 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
6088 if test "x$LINE" != x
; then
6089 eval "DEFAULT_$LINE"
6094 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
6099 eval "$ac_cv_use_statbmp"
6100 if test "$no_cache" != 1; then
6101 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
6104 if test "$wxUSE_STATBMP" = yes; then
6105 echo "$ac_t""yes" 1>&6
6107 echo "$ac_t""no" 1>&6
6111 echo $ac_n "checking for --enable-statbox""... $ac_c" 1>&6
6112 echo "configure:6113: checking for --enable-statbox" >&5
6114 # Check whether --enable-statbox or --disable-statbox was given.
6115 if test "${enable_statbox+set}" = set; then
6116 enableval
="$enable_statbox"
6118 if test "$enableval" = yes; then
6119 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
6121 ac_cv_use_statbox
='wxUSE_STATBOX=no'
6126 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
6127 if test "x$LINE" != x
; then
6128 eval "DEFAULT_$LINE"
6133 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
6138 eval "$ac_cv_use_statbox"
6139 if test "$no_cache" != 1; then
6140 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
6143 if test "$wxUSE_STATBOX" = yes; then
6144 echo "$ac_t""yes" 1>&6
6146 echo "$ac_t""no" 1>&6
6150 echo $ac_n "checking for --enable-statline""... $ac_c" 1>&6
6151 echo "configure:6152: checking for --enable-statline" >&5
6153 # Check whether --enable-statline or --disable-statline was given.
6154 if test "${enable_statline+set}" = set; then
6155 enableval
="$enable_statline"
6157 if test "$enableval" = yes; then
6158 ac_cv_use_statline
='wxUSE_STATLINE=yes'
6160 ac_cv_use_statline
='wxUSE_STATLINE=no'
6165 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
6166 if test "x$LINE" != x
; then
6167 eval "DEFAULT_$LINE"
6172 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
6177 eval "$ac_cv_use_statline"
6178 if test "$no_cache" != 1; then
6179 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
6182 if test "$wxUSE_STATLINE" = yes; then
6183 echo "$ac_t""yes" 1>&6
6185 echo "$ac_t""no" 1>&6
6189 echo $ac_n "checking for --enable-stattext""... $ac_c" 1>&6
6190 echo "configure:6191: checking for --enable-stattext" >&5
6192 # Check whether --enable-stattext or --disable-stattext was given.
6193 if test "${enable_stattext+set}" = set; then
6194 enableval
="$enable_stattext"
6196 if test "$enableval" = yes; then
6197 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
6199 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
6204 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
6205 if test "x$LINE" != x
; then
6206 eval "DEFAULT_$LINE"
6211 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
6216 eval "$ac_cv_use_stattext"
6217 if test "$no_cache" != 1; then
6218 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
6221 if test "$wxUSE_STATTEXT" = yes; then
6222 echo "$ac_t""yes" 1>&6
6224 echo "$ac_t""no" 1>&6
6228 echo $ac_n "checking for --enable-statusbar""... $ac_c" 1>&6
6229 echo "configure:6230: checking for --enable-statusbar" >&5
6231 # Check whether --enable-statusbar or --disable-statusbar was given.
6232 if test "${enable_statusbar+set}" = set; then
6233 enableval
="$enable_statusbar"
6235 if test "$enableval" = yes; then
6236 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
6238 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
6243 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
6244 if test "x$LINE" != x
; then
6245 eval "DEFAULT_$LINE"
6250 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
6255 eval "$ac_cv_use_statusbar"
6256 if test "$no_cache" != 1; then
6257 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
6260 if test "$wxUSE_STATUSBAR" = yes; then
6261 echo "$ac_t""yes" 1>&6
6263 echo "$ac_t""no" 1>&6
6267 echo $ac_n "checking for --enable-tabdialog""... $ac_c" 1>&6
6268 echo "configure:6269: checking for --enable-tabdialog" >&5
6270 # Check whether --enable-tabdialog or --disable-tabdialog was given.
6271 if test "${enable_tabdialog+set}" = set; then
6272 enableval
="$enable_tabdialog"
6274 if test "$enableval" = yes; then
6275 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
6277 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
6282 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
6283 if test "x$LINE" != x
; then
6284 eval "DEFAULT_$LINE"
6289 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
6294 eval "$ac_cv_use_tabdialog"
6295 if test "$no_cache" != 1; then
6296 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
6299 if test "$wxUSE_TABDIALOG" = yes; then
6300 echo "$ac_t""yes" 1>&6
6302 echo "$ac_t""no" 1>&6
6306 echo $ac_n "checking for --enable-textctrl""... $ac_c" 1>&6
6307 echo "configure:6308: checking for --enable-textctrl" >&5
6309 # Check whether --enable-textctrl or --disable-textctrl was given.
6310 if test "${enable_textctrl+set}" = set; then
6311 enableval
="$enable_textctrl"
6313 if test "$enableval" = yes; then
6314 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
6316 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
6321 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
6322 if test "x$LINE" != x
; then
6323 eval "DEFAULT_$LINE"
6328 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
6333 eval "$ac_cv_use_textctrl"
6334 if test "$no_cache" != 1; then
6335 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
6338 if test "$wxUSE_TEXTCTRL" = yes; then
6339 echo "$ac_t""yes" 1>&6
6341 echo "$ac_t""no" 1>&6
6345 echo $ac_n "checking for --enable-togglebtn""... $ac_c" 1>&6
6346 echo "configure:6347: checking for --enable-togglebtn" >&5
6348 # Check whether --enable-togglebtn or --disable-togglebtn was given.
6349 if test "${enable_togglebtn+set}" = set; then
6350 enableval
="$enable_togglebtn"
6352 if test "$enableval" = yes; then
6353 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
6355 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
6360 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
6361 if test "x$LINE" != x
; then
6362 eval "DEFAULT_$LINE"
6367 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
6372 eval "$ac_cv_use_togglebtn"
6373 if test "$no_cache" != 1; then
6374 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
6377 if test "$wxUSE_TOGGLEBTN" = yes; then
6378 echo "$ac_t""yes" 1>&6
6380 echo "$ac_t""no" 1>&6
6384 echo $ac_n "checking for --enable-toolbar""... $ac_c" 1>&6
6385 echo "configure:6386: checking for --enable-toolbar" >&5
6387 # Check whether --enable-toolbar or --disable-toolbar was given.
6388 if test "${enable_toolbar+set}" = set; then
6389 enableval
="$enable_toolbar"
6391 if test "$enableval" = yes; then
6392 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
6394 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
6399 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
6400 if test "x$LINE" != x
; then
6401 eval "DEFAULT_$LINE"
6406 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
6411 eval "$ac_cv_use_toolbar"
6412 if test "$no_cache" != 1; then
6413 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
6416 if test "$wxUSE_TOOLBAR" = yes; then
6417 echo "$ac_t""yes" 1>&6
6419 echo "$ac_t""no" 1>&6
6423 echo $ac_n "checking for --enable-tbarnative""... $ac_c" 1>&6
6424 echo "configure:6425: checking for --enable-tbarnative" >&5
6426 # Check whether --enable-tbarnative or --disable-tbarnative was given.
6427 if test "${enable_tbarnative+set}" = set; then
6428 enableval
="$enable_tbarnative"
6430 if test "$enableval" = yes; then
6431 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
6433 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
6438 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
6439 if test "x$LINE" != x
; then
6440 eval "DEFAULT_$LINE"
6445 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
6450 eval "$ac_cv_use_tbarnative"
6451 if test "$no_cache" != 1; then
6452 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
6455 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
6456 echo "$ac_t""yes" 1>&6
6458 echo "$ac_t""no" 1>&6
6462 echo $ac_n "checking for --enable-tbarsmpl""... $ac_c" 1>&6
6463 echo "configure:6464: checking for --enable-tbarsmpl" >&5
6465 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
6466 if test "${enable_tbarsmpl+set}" = set; then
6467 enableval
="$enable_tbarsmpl"
6469 if test "$enableval" = yes; then
6470 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
6472 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
6477 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
6478 if test "x$LINE" != x
; then
6479 eval "DEFAULT_$LINE"
6484 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
6489 eval "$ac_cv_use_tbarsmpl"
6490 if test "$no_cache" != 1; then
6491 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
6494 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
6495 echo "$ac_t""yes" 1>&6
6497 echo "$ac_t""no" 1>&6
6501 echo $ac_n "checking for --enable-treectrl""... $ac_c" 1>&6
6502 echo "configure:6503: checking for --enable-treectrl" >&5
6504 # Check whether --enable-treectrl or --disable-treectrl was given.
6505 if test "${enable_treectrl+set}" = set; then
6506 enableval
="$enable_treectrl"
6508 if test "$enableval" = yes; then
6509 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
6511 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
6516 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
6517 if test "x$LINE" != x
; then
6518 eval "DEFAULT_$LINE"
6523 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
6528 eval "$ac_cv_use_treectrl"
6529 if test "$no_cache" != 1; then
6530 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
6533 if test "$wxUSE_TREECTRL" = yes; then
6534 echo "$ac_t""yes" 1>&6
6536 echo "$ac_t""no" 1>&6
6540 echo $ac_n "checking for --enable-popupwin""... $ac_c" 1>&6
6541 echo "configure:6542: checking for --enable-popupwin" >&5
6543 # Check whether --enable-popupwin or --disable-popupwin was given.
6544 if test "${enable_popupwin+set}" = set; then
6545 enableval
="$enable_popupwin"
6547 if test "$enableval" = yes; then
6548 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
6550 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
6555 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
6556 if test "x$LINE" != x
; then
6557 eval "DEFAULT_$LINE"
6562 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
6567 eval "$ac_cv_use_popupwin"
6568 if test "$no_cache" != 1; then
6569 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
6572 if test "$wxUSE_POPUPWIN" = yes; then
6573 echo "$ac_t""yes" 1>&6
6575 echo "$ac_t""no" 1>&6
6581 echo $ac_n "checking for --enable-commondlg""... $ac_c" 1>&6
6582 echo "configure:6583: checking for --enable-commondlg" >&5
6584 # Check whether --enable-commondlg or --disable-commondlg was given.
6585 if test "${enable_commondlg+set}" = set; then
6586 enableval
="$enable_commondlg"
6588 if test "$enableval" = yes; then
6589 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
6591 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
6596 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
6597 if test "x$LINE" != x
; then
6598 eval "DEFAULT_$LINE"
6603 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
6608 eval "$ac_cv_use_commondlg"
6609 if test "$no_cache" != 1; then
6610 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
6613 if test "$wxUSE_COMMONDLGS" = yes; then
6614 echo "$ac_t""yes" 1>&6
6616 echo "$ac_t""no" 1>&6
6620 echo $ac_n "checking for --enable-choicedlg""... $ac_c" 1>&6
6621 echo "configure:6622: checking for --enable-choicedlg" >&5
6623 # Check whether --enable-choicedlg or --disable-choicedlg was given.
6624 if test "${enable_choicedlg+set}" = set; then
6625 enableval
="$enable_choicedlg"
6627 if test "$enableval" = yes; then
6628 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
6630 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
6635 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
6636 if test "x$LINE" != x
; then
6637 eval "DEFAULT_$LINE"
6642 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
6647 eval "$ac_cv_use_choicedlg"
6648 if test "$no_cache" != 1; then
6649 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
6652 if test "$wxUSE_CHOICEDLG" = yes; then
6653 echo "$ac_t""yes" 1>&6
6655 echo "$ac_t""no" 1>&6
6659 echo $ac_n "checking for --enable-coldlg""... $ac_c" 1>&6
6660 echo "configure:6661: checking for --enable-coldlg" >&5
6662 # Check whether --enable-coldlg or --disable-coldlg was given.
6663 if test "${enable_coldlg+set}" = set; then
6664 enableval
="$enable_coldlg"
6666 if test "$enableval" = yes; then
6667 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
6669 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
6674 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
6675 if test "x$LINE" != x
; then
6676 eval "DEFAULT_$LINE"
6681 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
6686 eval "$ac_cv_use_coldlg"
6687 if test "$no_cache" != 1; then
6688 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
6691 if test "$wxUSE_COLOURDLG" = yes; then
6692 echo "$ac_t""yes" 1>&6
6694 echo "$ac_t""no" 1>&6
6698 echo $ac_n "checking for --enable-filedlg""... $ac_c" 1>&6
6699 echo "configure:6700: checking for --enable-filedlg" >&5
6701 # Check whether --enable-filedlg or --disable-filedlg was given.
6702 if test "${enable_filedlg+set}" = set; then
6703 enableval
="$enable_filedlg"
6705 if test "$enableval" = yes; then
6706 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
6708 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
6713 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
6714 if test "x$LINE" != x
; then
6715 eval "DEFAULT_$LINE"
6720 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
6725 eval "$ac_cv_use_filedlg"
6726 if test "$no_cache" != 1; then
6727 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
6730 if test "$wxUSE_FILEDLG" = yes; then
6731 echo "$ac_t""yes" 1>&6
6733 echo "$ac_t""no" 1>&6
6737 echo $ac_n "checking for --enable-filedlg""... $ac_c" 1>&6
6738 echo "configure:6739: checking for --enable-filedlg" >&5
6740 # Check whether --enable-filedlg or --disable-filedlg was given.
6741 if test "${enable_filedlg+set}" = set; then
6742 enableval
="$enable_filedlg"
6744 if test "$enableval" = yes; then
6745 ac_cv_use_filedlg
='wxUSE_FINDREPLDLG=yes'
6747 ac_cv_use_filedlg
='wxUSE_FINDREPLDLG=no'
6752 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
6753 if test "x$LINE" != x
; then
6754 eval "DEFAULT_$LINE"
6759 ac_cv_use_filedlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
6764 eval "$ac_cv_use_filedlg"
6765 if test "$no_cache" != 1; then
6766 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
6769 if test "$wxUSE_FINDREPLDLG" = yes; then
6770 echo "$ac_t""yes" 1>&6
6772 echo "$ac_t""no" 1>&6
6776 echo $ac_n "checking for --enable-fontdlg""... $ac_c" 1>&6
6777 echo "configure:6778: checking for --enable-fontdlg" >&5
6779 # Check whether --enable-fontdlg or --disable-fontdlg was given.
6780 if test "${enable_fontdlg+set}" = set; then
6781 enableval
="$enable_fontdlg"
6783 if test "$enableval" = yes; then
6784 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
6786 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
6791 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
6792 if test "x$LINE" != x
; then
6793 eval "DEFAULT_$LINE"
6798 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
6803 eval "$ac_cv_use_fontdlg"
6804 if test "$no_cache" != 1; then
6805 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
6808 if test "$wxUSE_FONTDLG" = yes; then
6809 echo "$ac_t""yes" 1>&6
6811 echo "$ac_t""no" 1>&6
6815 echo $ac_n "checking for --enable-dirdlg""... $ac_c" 1>&6
6816 echo "configure:6817: checking for --enable-dirdlg" >&5
6818 # Check whether --enable-dirdlg or --disable-dirdlg was given.
6819 if test "${enable_dirdlg+set}" = set; then
6820 enableval
="$enable_dirdlg"
6822 if test "$enableval" = yes; then
6823 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
6825 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
6830 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
6831 if test "x$LINE" != x
; then
6832 eval "DEFAULT_$LINE"
6837 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
6842 eval "$ac_cv_use_dirdlg"
6843 if test "$no_cache" != 1; then
6844 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
6847 if test "$wxUSE_DIRDLG" = yes; then
6848 echo "$ac_t""yes" 1>&6
6850 echo "$ac_t""no" 1>&6
6854 echo $ac_n "checking for --enable-msgdlg""... $ac_c" 1>&6
6855 echo "configure:6856: checking for --enable-msgdlg" >&5
6857 # Check whether --enable-msgdlg or --disable-msgdlg was given.
6858 if test "${enable_msgdlg+set}" = set; then
6859 enableval
="$enable_msgdlg"
6861 if test "$enableval" = yes; then
6862 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
6864 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
6869 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
6870 if test "x$LINE" != x
; then
6871 eval "DEFAULT_$LINE"
6876 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
6881 eval "$ac_cv_use_msgdlg"
6882 if test "$no_cache" != 1; then
6883 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
6886 if test "$wxUSE_MSGDLG" = yes; then
6887 echo "$ac_t""yes" 1>&6
6889 echo "$ac_t""no" 1>&6
6893 echo $ac_n "checking for --enable-numberdlg""... $ac_c" 1>&6
6894 echo "configure:6895: checking for --enable-numberdlg" >&5
6896 # Check whether --enable-numberdlg or --disable-numberdlg was given.
6897 if test "${enable_numberdlg+set}" = set; then
6898 enableval
="$enable_numberdlg"
6900 if test "$enableval" = yes; then
6901 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
6903 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
6908 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
6909 if test "x$LINE" != x
; then
6910 eval "DEFAULT_$LINE"
6915 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
6920 eval "$ac_cv_use_numberdlg"
6921 if test "$no_cache" != 1; then
6922 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
6925 if test "$wxUSE_NUMBERDLG" = yes; then
6926 echo "$ac_t""yes" 1>&6
6928 echo "$ac_t""no" 1>&6
6932 echo $ac_n "checking for --enable-splash""... $ac_c" 1>&6
6933 echo "configure:6934: checking for --enable-splash" >&5
6935 # Check whether --enable-splash or --disable-splash was given.
6936 if test "${enable_splash+set}" = set; then
6937 enableval
="$enable_splash"
6939 if test "$enableval" = yes; then
6940 ac_cv_use_splash
='wxUSE_SPLASH=yes'
6942 ac_cv_use_splash
='wxUSE_SPLASH=no'
6947 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
6948 if test "x$LINE" != x
; then
6949 eval "DEFAULT_$LINE"
6954 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
6959 eval "$ac_cv_use_splash"
6960 if test "$no_cache" != 1; then
6961 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
6964 if test "$wxUSE_SPLASH" = yes; then
6965 echo "$ac_t""yes" 1>&6
6967 echo "$ac_t""no" 1>&6
6971 echo $ac_n "checking for --enable-textdlg""... $ac_c" 1>&6
6972 echo "configure:6973: checking for --enable-textdlg" >&5
6974 # Check whether --enable-textdlg or --disable-textdlg was given.
6975 if test "${enable_textdlg+set}" = set; then
6976 enableval
="$enable_textdlg"
6978 if test "$enableval" = yes; then
6979 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
6981 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
6986 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
6987 if test "x$LINE" != x
; then
6988 eval "DEFAULT_$LINE"
6993 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
6998 eval "$ac_cv_use_textdlg"
6999 if test "$no_cache" != 1; then
7000 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
7003 if test "$wxUSE_TEXTDLG" = yes; then
7004 echo "$ac_t""yes" 1>&6
7006 echo "$ac_t""no" 1>&6
7010 echo $ac_n "checking for --enable-tipdlg""... $ac_c" 1>&6
7011 echo "configure:7012: checking for --enable-tipdlg" >&5
7013 # Check whether --enable-tipdlg or --disable-tipdlg was given.
7014 if test "${enable_tipdlg+set}" = set; then
7015 enableval
="$enable_tipdlg"
7017 if test "$enableval" = yes; then
7018 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
7020 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
7025 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
7026 if test "x$LINE" != x
; then
7027 eval "DEFAULT_$LINE"
7032 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
7037 eval "$ac_cv_use_tipdlg"
7038 if test "$no_cache" != 1; then
7039 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
7042 if test "$wxUSE_STARTUP_TIPS" = yes; then
7043 echo "$ac_t""yes" 1>&6
7045 echo "$ac_t""no" 1>&6
7049 echo $ac_n "checking for --enable-progressdlg""... $ac_c" 1>&6
7050 echo "configure:7051: checking for --enable-progressdlg" >&5
7052 # Check whether --enable-progressdlg or --disable-progressdlg was given.
7053 if test "${enable_progressdlg+set}" = set; then
7054 enableval
="$enable_progressdlg"
7056 if test "$enableval" = yes; then
7057 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
7059 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
7064 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
7065 if test "x$LINE" != x
; then
7066 eval "DEFAULT_$LINE"
7071 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
7076 eval "$ac_cv_use_progressdlg"
7077 if test "$no_cache" != 1; then
7078 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
7081 if test "$wxUSE_PROGRESSDLG" = yes; then
7082 echo "$ac_t""yes" 1>&6
7084 echo "$ac_t""no" 1>&6
7088 echo $ac_n "checking for --enable-wizarddlg""... $ac_c" 1>&6
7089 echo "configure:7090: checking for --enable-wizarddlg" >&5
7091 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
7092 if test "${enable_wizarddlg+set}" = set; then
7093 enableval
="$enable_wizarddlg"
7095 if test "$enableval" = yes; then
7096 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
7098 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
7103 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
7104 if test "x$LINE" != x
; then
7105 eval "DEFAULT_$LINE"
7110 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
7115 eval "$ac_cv_use_wizarddlg"
7116 if test "$no_cache" != 1; then
7117 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
7120 if test "$wxUSE_WIZARDDLG" = yes; then
7121 echo "$ac_t""yes" 1>&6
7123 echo "$ac_t""no" 1>&6
7129 echo $ac_n "checking for --enable-menus""... $ac_c" 1>&6
7130 echo "configure:7131: checking for --enable-menus" >&5
7132 # Check whether --enable-menus or --disable-menus was given.
7133 if test "${enable_menus+set}" = set; then
7134 enableval
="$enable_menus"
7136 if test "$enableval" = yes; then
7137 ac_cv_use_menus
='wxUSE_MENUS=yes'
7139 ac_cv_use_menus
='wxUSE_MENUS=no'
7144 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
7145 if test "x$LINE" != x
; then
7146 eval "DEFAULT_$LINE"
7151 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
7156 eval "$ac_cv_use_menus"
7157 if test "$no_cache" != 1; then
7158 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
7161 if test "$wxUSE_MENUS" = yes; then
7162 echo "$ac_t""yes" 1>&6
7164 echo "$ac_t""no" 1>&6
7168 echo $ac_n "checking for --enable-miniframe""... $ac_c" 1>&6
7169 echo "configure:7170: checking for --enable-miniframe" >&5
7171 # Check whether --enable-miniframe or --disable-miniframe was given.
7172 if test "${enable_miniframe+set}" = set; then
7173 enableval
="$enable_miniframe"
7175 if test "$enableval" = yes; then
7176 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
7178 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
7183 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
7184 if test "x$LINE" != x
; then
7185 eval "DEFAULT_$LINE"
7190 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
7195 eval "$ac_cv_use_miniframe"
7196 if test "$no_cache" != 1; then
7197 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
7200 if test "$wxUSE_MINIFRAME" = yes; then
7201 echo "$ac_t""yes" 1>&6
7203 echo "$ac_t""no" 1>&6
7207 echo $ac_n "checking for --enable-tooltips""... $ac_c" 1>&6
7208 echo "configure:7209: checking for --enable-tooltips" >&5
7210 # Check whether --enable-tooltips or --disable-tooltips was given.
7211 if test "${enable_tooltips+set}" = set; then
7212 enableval
="$enable_tooltips"
7214 if test "$enableval" = yes; then
7215 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
7217 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
7222 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
7223 if test "x$LINE" != x
; then
7224 eval "DEFAULT_$LINE"
7229 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
7234 eval "$ac_cv_use_tooltips"
7235 if test "$no_cache" != 1; then
7236 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
7239 if test "$wxUSE_TOOLTIPS" = yes; then
7240 echo "$ac_t""yes" 1>&6
7242 echo "$ac_t""no" 1>&6
7246 echo $ac_n "checking for --enable-splines""... $ac_c" 1>&6
7247 echo "configure:7248: checking for --enable-splines" >&5
7249 # Check whether --enable-splines or --disable-splines was given.
7250 if test "${enable_splines+set}" = set; then
7251 enableval
="$enable_splines"
7253 if test "$enableval" = yes; then
7254 ac_cv_use_splines
='wxUSE_SPLINES=yes'
7256 ac_cv_use_splines
='wxUSE_SPLINES=no'
7261 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
7262 if test "x$LINE" != x
; then
7263 eval "DEFAULT_$LINE"
7268 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
7273 eval "$ac_cv_use_splines"
7274 if test "$no_cache" != 1; then
7275 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
7278 if test "$wxUSE_SPLINES" = yes; then
7279 echo "$ac_t""yes" 1>&6
7281 echo "$ac_t""no" 1>&6
7285 echo $ac_n "checking for --enable-validators""... $ac_c" 1>&6
7286 echo "configure:7287: checking for --enable-validators" >&5
7288 # Check whether --enable-validators or --disable-validators was given.
7289 if test "${enable_validators+set}" = set; then
7290 enableval
="$enable_validators"
7292 if test "$enableval" = yes; then
7293 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
7295 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
7300 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
7301 if test "x$LINE" != x
; then
7302 eval "DEFAULT_$LINE"
7307 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
7312 eval "$ac_cv_use_validators"
7313 if test "$no_cache" != 1; then
7314 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
7317 if test "$wxUSE_VALIDATORS" = yes; then
7318 echo "$ac_t""yes" 1>&6
7320 echo "$ac_t""no" 1>&6
7324 echo $ac_n "checking for --enable-busyinfo""... $ac_c" 1>&6
7325 echo "configure:7326: checking for --enable-busyinfo" >&5
7327 # Check whether --enable-busyinfo or --disable-busyinfo was given.
7328 if test "${enable_busyinfo+set}" = set; then
7329 enableval
="$enable_busyinfo"
7331 if test "$enableval" = yes; then
7332 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
7334 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
7339 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
7340 if test "x$LINE" != x
; then
7341 eval "DEFAULT_$LINE"
7346 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
7351 eval "$ac_cv_use_busyinfo"
7352 if test "$no_cache" != 1; then
7353 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
7356 if test "$wxUSE_BUSYINFO" = yes; then
7357 echo "$ac_t""yes" 1>&6
7359 echo "$ac_t""no" 1>&6
7363 echo $ac_n "checking for --enable-joystick""... $ac_c" 1>&6
7364 echo "configure:7365: checking for --enable-joystick" >&5
7366 # Check whether --enable-joystick or --disable-joystick was given.
7367 if test "${enable_joystick+set}" = set; then
7368 enableval
="$enable_joystick"
7370 if test "$enableval" = yes; then
7371 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
7373 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
7378 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
7379 if test "x$LINE" != x
; then
7380 eval "DEFAULT_$LINE"
7385 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
7390 eval "$ac_cv_use_joystick"
7391 if test "$no_cache" != 1; then
7392 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
7395 if test "$wxUSE_JOYSTICK" = yes; then
7396 echo "$ac_t""yes" 1>&6
7398 echo "$ac_t""no" 1>&6
7402 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
7403 echo "configure:7404: checking for --enable-metafile" >&5
7405 # Check whether --enable-metafile or --disable-metafile was given.
7406 if test "${enable_metafile+set}" = set; then
7407 enableval
="$enable_metafile"
7409 if test "$enableval" = yes; then
7410 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
7412 ac_cv_use_metafile
='wxUSE_METAFILE=no'
7417 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7418 if test "x$LINE" != x
; then
7419 eval "DEFAULT_$LINE"
7424 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7429 eval "$ac_cv_use_metafile"
7430 if test "$no_cache" != 1; then
7431 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7434 if test "$wxUSE_METAFILE" = yes; then
7435 echo "$ac_t""yes" 1>&6
7437 echo "$ac_t""no" 1>&6
7441 echo $ac_n "checking for --enable-dragimage""... $ac_c" 1>&6
7442 echo "configure:7443: checking for --enable-dragimage" >&5
7444 # Check whether --enable-dragimage or --disable-dragimage was given.
7445 if test "${enable_dragimage+set}" = set; then
7446 enableval
="$enable_dragimage"
7448 if test "$enableval" = yes; then
7449 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
7451 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
7456 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
7457 if test "x$LINE" != x
; then
7458 eval "DEFAULT_$LINE"
7463 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
7468 eval "$ac_cv_use_dragimage"
7469 if test "$no_cache" != 1; then
7470 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
7473 if test "$wxUSE_DRAGIMAGE" = yes; then
7474 echo "$ac_t""yes" 1>&6
7476 echo "$ac_t""no" 1>&6
7482 echo $ac_n "checking for --enable-palette""... $ac_c" 1>&6
7483 echo "configure:7484: checking for --enable-palette" >&5
7485 # Check whether --enable-palette or --disable-palette was given.
7486 if test "${enable_palette+set}" = set; then
7487 enableval
="$enable_palette"
7489 if test "$enableval" = yes; then
7490 ac_cv_use_palette
='wxUSE_PALETTE=yes'
7492 ac_cv_use_palette
='wxUSE_PALETTE=no'
7497 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
7498 if test "x$LINE" != x
; then
7499 eval "DEFAULT_$LINE"
7504 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
7509 eval "$ac_cv_use_palette"
7510 if test "$no_cache" != 1; then
7511 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
7514 if test "$wxUSE_PALETTE" = yes; then
7515 echo "$ac_t""yes" 1>&6
7517 echo "$ac_t""no" 1>&6
7521 echo $ac_n "checking for --enable-image""... $ac_c" 1>&6
7522 echo "configure:7523: checking for --enable-image" >&5
7524 # Check whether --enable-image or --disable-image was given.
7525 if test "${enable_image+set}" = set; then
7526 enableval
="$enable_image"
7528 if test "$enableval" = yes; then
7529 ac_cv_use_image
='wxUSE_IMAGE=yes'
7531 ac_cv_use_image
='wxUSE_IMAGE=no'
7536 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
7537 if test "x$LINE" != x
; then
7538 eval "DEFAULT_$LINE"
7543 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
7548 eval "$ac_cv_use_image"
7549 if test "$no_cache" != 1; then
7550 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
7553 if test "$wxUSE_IMAGE" = yes; then
7554 echo "$ac_t""yes" 1>&6
7556 echo "$ac_t""no" 1>&6
7560 echo $ac_n "checking for --enable-gif""... $ac_c" 1>&6
7561 echo "configure:7562: checking for --enable-gif" >&5
7563 # Check whether --enable-gif or --disable-gif was given.
7564 if test "${enable_gif+set}" = set; then
7565 enableval
="$enable_gif"
7567 if test "$enableval" = yes; then
7568 ac_cv_use_gif
='wxUSE_GIF=yes'
7570 ac_cv_use_gif
='wxUSE_GIF=no'
7575 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
7576 if test "x$LINE" != x
; then
7577 eval "DEFAULT_$LINE"
7582 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
7587 eval "$ac_cv_use_gif"
7588 if test "$no_cache" != 1; then
7589 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
7592 if test "$wxUSE_GIF" = yes; then
7593 echo "$ac_t""yes" 1>&6
7595 echo "$ac_t""no" 1>&6
7599 echo $ac_n "checking for --enable-pcx""... $ac_c" 1>&6
7600 echo "configure:7601: checking for --enable-pcx" >&5
7602 # Check whether --enable-pcx or --disable-pcx was given.
7603 if test "${enable_pcx+set}" = set; then
7604 enableval
="$enable_pcx"
7606 if test "$enableval" = yes; then
7607 ac_cv_use_pcx
='wxUSE_PCX=yes'
7609 ac_cv_use_pcx
='wxUSE_PCX=no'
7614 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
7615 if test "x$LINE" != x
; then
7616 eval "DEFAULT_$LINE"
7621 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
7626 eval "$ac_cv_use_pcx"
7627 if test "$no_cache" != 1; then
7628 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
7631 if test "$wxUSE_PCX" = yes; then
7632 echo "$ac_t""yes" 1>&6
7634 echo "$ac_t""no" 1>&6
7638 echo $ac_n "checking for --enable-pnm""... $ac_c" 1>&6
7639 echo "configure:7640: checking for --enable-pnm" >&5
7641 # Check whether --enable-pnm or --disable-pnm was given.
7642 if test "${enable_pnm+set}" = set; then
7643 enableval
="$enable_pnm"
7645 if test "$enableval" = yes; then
7646 ac_cv_use_pnm
='wxUSE_PNM=yes'
7648 ac_cv_use_pnm
='wxUSE_PNM=no'
7653 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
7654 if test "x$LINE" != x
; then
7655 eval "DEFAULT_$LINE"
7660 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
7665 eval "$ac_cv_use_pnm"
7666 if test "$no_cache" != 1; then
7667 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
7670 if test "$wxUSE_PNM" = yes; then
7671 echo "$ac_t""yes" 1>&6
7673 echo "$ac_t""no" 1>&6
7677 echo $ac_n "checking for --enable-pnm""... $ac_c" 1>&6
7678 echo "configure:7679: checking for --enable-pnm" >&5
7680 # Check whether --enable-pnm or --disable-pnm was given.
7681 if test "${enable_pnm+set}" = set; then
7682 enableval
="$enable_pnm"
7684 if test "$enableval" = yes; then
7685 ac_cv_use_pnm
='wxUSE_XPM=yes'
7687 ac_cv_use_pnm
='wxUSE_XPM=no'
7692 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
7693 if test "x$LINE" != x
; then
7694 eval "DEFAULT_$LINE"
7699 ac_cv_use_pnm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
7704 eval "$ac_cv_use_pnm"
7705 if test "$no_cache" != 1; then
7706 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
7709 if test "$wxUSE_XPM" = yes; then
7710 echo "$ac_t""yes" 1>&6
7712 echo "$ac_t""no" 1>&6
7719 echo "saving argument cache $wx_arg_cache_file"
7720 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
7724 echo $ac_n "checking for toolkit""... $ac_c" 1>&6
7725 echo "configure:7726: checking for toolkit" >&5
7727 if test "$wxUSE_GUI" = "yes"; then
7729 if test "$USE_BEOS" = 1; then
7730 { echo "configure: error: BeOS GUI is not supported yet, use --disable-gui" 1>&2; exit 1; }
7733 if test "$TOOLKIT_GIVEN" = 1; then
7734 for toolkit
in `echo $ALL_TOOLKITS`; do
7736 eval "value=\$${var}"
7737 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
7740 for toolkit
in `echo $ALL_TOOLKITS`; do
7741 if test "$has_toolkit_in_cache" != 1; then
7742 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
7744 var
=DEFAULT_wxUSE_
$toolkit
7746 eval "wxUSE_$toolkit=\$${var}"
7750 NUM_TOOLKITS
=`expr ${wxUSE_GTK:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MAC:-0} \
7751 + ${wxUSE_WINE:-0} + ${wxUSE_MINGW:-0} + ${wxUSE_CYGWIN:-0} \
7756 # PATH_IFS is autodetected by OS/2's configure (usually ';')
7757 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
7766 case "$NUM_TOOLKITS" in
7770 { echo "configure: error: Please specify a toolkit - cannot determine the default for ${host}" 1>&2; exit 1; }
7773 { echo "configure: error: Please specify at most one toolkit (may be some are cached?)" 1>&2; exit 1; }
7776 for toolkit
in `echo $ALL_TOOLKITS`; do
7778 eval "value=\$${var}"
7779 if test "x$value" != x
; then
7780 cache_var
=CACHE_
$toolkit
7781 eval "cache=\$${cache_var}"
7782 if test "$cache" = 1; then
7783 echo "$var=$value" >> ${wx_arg_cache_file}
7785 if test "$value" = 1; then
7786 toolkit_echo
=`echo $toolkit | tr [A-Z] [a-z]`
7787 echo "$ac_t""$toolkit_echo" 1>&6
7793 echo "$ac_t""base ($host_alias hosted) only" 1>&6
7797 cat > confcache
<<\EOF
7798 # This file is a shell script that caches the results of configure
7799 # tests run on this system so they can be shared between configure
7800 # scripts and configure runs. It is not useful on other systems.
7801 # If it contains results you don't want to keep, you may remove or edit it.
7803 # By default, configure uses ./config.cache as the cache file,
7804 # creating it if it does not exist already. You can give configure
7805 # the --cache-file=FILE option to use a different cache file; that is
7806 # what configure does when it calls configure scripts in
7807 # subdirectories, so they share the cache.
7808 # Giving --cache-file=/dev/null disables caching, for debugging configure.
7809 # config.status only pays attention to the cache file if you give it the
7810 # --recheck option to rerun configure.
7813 # The following way of writing the cache mishandles newlines in values,
7814 # but we know of no workaround that is simple, portable, and efficient.
7815 # So, don't put newlines in cache variables' values.
7816 # Ultrix sh set writes to stderr and can't be redirected directly,
7817 # and sets the high bit in the cache file unless we assign to the vars.
7819 case `(ac_space=' '; set | grep ac_space) 2>&1` in
7821 # `set' does not quote correctly, so add quotes (double-quote substitution
7822 # turns \\\\ into \\, and sed turns \\ into \).
7824 -e "s/'/'\\\\''/g" \
7825 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
7828 # `set' quotes correctly as required by POSIX, so do not add quotes.
7829 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
7832 if cmp -s $cache_file confcache
; then
7835 if test -w $cache_file; then
7836 echo "updating cache $cache_file"
7837 cat confcache
> $cache_file
7839 echo "not updating unwritable cache $cache_file"
7845 if test "$build" != "$host" ; then
7846 if test "$USE_WIN32" = 1 ; then
7850 RANLIB
=$host_alias-ranlib
7851 DLLTOOL
=$host_alias-dlltool
7852 RESCOMP
=$host_alias-windres
7855 STRIP
=$host_alias-strip
7857 { echo "configure: error: $build_alias -> $host_alias cross compilation not supported yet." 1>&2; exit 1; }
7861 # Extract the first word of "gcc", so it can be a program name with args.
7862 set dummy gcc
; ac_word
=$2
7863 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7864 echo "configure:7865: checking for $ac_word" >&5
7865 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
7866 echo $ac_n "(cached) $ac_c" 1>&6
7868 if test -n "$CC"; then
7869 ac_cv_prog_CC
="$CC" # Let the user override the test.
7871 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7873 for ac_dir
in $ac_dummy; do
7874 test -z "$ac_dir" && ac_dir
=.
7875 if test -f $ac_dir/$ac_word; then
7884 if test -n "$CC"; then
7885 echo "$ac_t""$CC" 1>&6
7887 echo "$ac_t""no" 1>&6
7890 if test -z "$CC"; then
7891 # Extract the first word of "cc", so it can be a program name with args.
7892 set dummy cc
; ac_word
=$2
7893 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7894 echo "configure:7895: checking for $ac_word" >&5
7895 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
7896 echo $ac_n "(cached) $ac_c" 1>&6
7898 if test -n "$CC"; then
7899 ac_cv_prog_CC
="$CC" # Let the user override the test.
7901 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7904 for ac_dir
in $ac_dummy; do
7905 test -z "$ac_dir" && ac_dir
=.
7906 if test -f $ac_dir/$ac_word; then
7907 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
7908 ac_prog_rejected
=yes
7916 if test $ac_prog_rejected = yes; then
7917 # We found a bogon in the path, so make sure we never use it.
7918 set dummy
$ac_cv_prog_CC
7920 if test $# -gt 0; then
7921 # We chose a different compiler from the bogus one.
7922 # However, it has the same basename, so the bogon will be chosen
7923 # first if we set CC to just the basename; use the full file name.
7925 set dummy
"$ac_dir/$ac_word" "$@"
7933 if test -n "$CC"; then
7934 echo "$ac_t""$CC" 1>&6
7936 echo "$ac_t""no" 1>&6
7939 if test -z "$CC"; then
7940 case "`uname -s`" in
7942 # Extract the first word of "cl", so it can be a program name with args.
7943 set dummy cl
; ac_word
=$2
7944 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7945 echo "configure:7946: checking for $ac_word" >&5
7946 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
7947 echo $ac_n "(cached) $ac_c" 1>&6
7949 if test -n "$CC"; then
7950 ac_cv_prog_CC
="$CC" # Let the user override the test.
7952 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7954 for ac_dir
in $ac_dummy; do
7955 test -z "$ac_dir" && ac_dir
=.
7956 if test -f $ac_dir/$ac_word; then
7965 if test -n "$CC"; then
7966 echo "$ac_t""$CC" 1>&6
7968 echo "$ac_t""no" 1>&6
7973 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
7976 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
7977 echo "configure:7978: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
7980 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7981 ac_cpp
='$CPP $CPPFLAGS'
7982 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7983 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7984 cross_compiling
=$ac_cv_prog_cc_cross
7986 cat > conftest.
$ac_ext << EOF
7988 #line 7989 "configure"
7989 #include "confdefs.h"
7993 if { (eval echo configure
:7994: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7994 ac_cv_prog_cc_works
=yes
7995 # If we can't run a trivial program, we are probably using a cross compiler.
7996 if (.
/conftest
; exit) 2>/dev
/null
; then
7997 ac_cv_prog_cc_cross
=no
7999 ac_cv_prog_cc_cross
=yes
8002 echo "configure: failed program was:" >&5
8003 cat conftest.
$ac_ext >&5
8004 ac_cv_prog_cc_works
=no
8008 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8009 ac_cpp
='$CPP $CPPFLAGS'
8010 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8011 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8012 cross_compiling
=$ac_cv_prog_cc_cross
8014 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
8015 if test $ac_cv_prog_cc_works = no
; then
8016 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
8018 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
8019 echo "configure:8020: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
8020 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
8021 cross_compiling
=$ac_cv_prog_cc_cross
8023 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
8024 echo "configure:8025: checking whether we are using GNU C" >&5
8025 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
8026 echo $ac_n "(cached) $ac_c" 1>&6
8028 cat > conftest.c
<<EOF
8033 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:8034: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
8040 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
8042 if test $ac_cv_prog_gcc = yes; then
8048 ac_test_CFLAGS
="${CFLAGS+set}"
8049 ac_save_CFLAGS
="$CFLAGS"
8051 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
8052 echo "configure:8053: checking whether ${CC-cc} accepts -g" >&5
8053 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
8054 echo $ac_n "(cached) $ac_c" 1>&6
8056 echo 'void f(){}' > conftest.c
8057 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
8066 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
8067 if test "$ac_test_CFLAGS" = set; then
8068 CFLAGS
="$ac_save_CFLAGS"
8069 elif test $ac_cv_prog_cc_g = yes; then
8070 if test "$GCC" = yes; then
8076 if test "$GCC" = yes; then
8084 CFLAGS
=`echo "$CFLAGS" | sed 's/-g//g'`
8086 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
8087 echo "configure:8088: checking how to run the C preprocessor" >&5
8088 # On Suns, sometimes $CPP names a directory.
8089 if test -n "$CPP" && test -d "$CPP"; then
8092 if test -z "$CPP"; then
8093 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
8094 echo $ac_n "(cached) $ac_c" 1>&6
8096 # This must be in double quotes, not single quotes, because CPP may get
8097 # substituted into the Makefile and "${CC-cc}" will confuse make.
8099 # On the NeXT, cc -E runs the code through the compiler's parser,
8100 # not just through cpp.
8101 cat > conftest.
$ac_ext <<EOF
8102 #line 8103 "configure"
8103 #include "confdefs.h"
8107 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8108 { (eval echo configure
:8109: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8109 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8110 if test -z "$ac_err"; then
8114 echo "configure: failed program was:" >&5
8115 cat conftest.
$ac_ext >&5
8117 CPP
="${CC-cc} -E -traditional-cpp"
8118 cat > conftest.
$ac_ext <<EOF
8119 #line 8120 "configure"
8120 #include "confdefs.h"
8124 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8125 { (eval echo configure
:8126: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8126 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8127 if test -z "$ac_err"; then
8131 echo "configure: failed program was:" >&5
8132 cat conftest.
$ac_ext >&5
8134 CPP
="${CC-cc} -nologo -E"
8135 cat > conftest.
$ac_ext <<EOF
8136 #line 8137 "configure"
8137 #include "confdefs.h"
8141 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8142 { (eval echo configure
:8143: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8143 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8144 if test -z "$ac_err"; then
8148 echo "configure: failed program was:" >&5
8149 cat conftest.
$ac_ext >&5
8158 ac_cv_prog_CPP
="$CPP"
8160 CPP
="$ac_cv_prog_CPP"
8162 ac_cv_prog_CPP
="$CPP"
8164 echo "$ac_t""$CPP" 1>&6
8166 if test $ac_cv_prog_gcc = yes; then
8167 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
8168 echo "configure:8169: checking whether ${CC-cc} needs -traditional" >&5
8169 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
8170 echo $ac_n "(cached) $ac_c" 1>&6
8172 ac_pattern
="Autoconf.*'x'"
8173 cat > conftest.
$ac_ext <<EOF
8174 #line 8175 "configure"
8175 #include "confdefs.h"
8179 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8180 egrep "$ac_pattern" >/dev
/null
2>&1; then
8182 ac_cv_prog_gcc_traditional
=yes
8185 ac_cv_prog_gcc_traditional
=no
8190 if test $ac_cv_prog_gcc_traditional = no
; then
8191 cat > conftest.
$ac_ext <<EOF
8192 #line 8193 "configure"
8193 #include "confdefs.h"
8197 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8198 egrep "$ac_pattern" >/dev
/null
2>&1; then
8200 ac_cv_prog_gcc_traditional
=yes
8207 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
8208 if test $ac_cv_prog_gcc_traditional = yes; then
8209 CC
="$CC -traditional"
8216 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8217 ac_cpp
='$CXXCPP $CPPFLAGS'
8218 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8219 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8220 cross_compiling
=$ac_cv_prog_cxx_cross
8223 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++ cl
8225 # Extract the first word of "$ac_prog", so it can be a program name with args.
8226 set dummy
$ac_prog; ac_word
=$2
8227 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8228 echo "configure:8229: checking for $ac_word" >&5
8229 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
8230 echo $ac_n "(cached) $ac_c" 1>&6
8232 if test -n "$CXX"; then
8233 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
8235 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8237 for ac_dir
in $ac_dummy; do
8238 test -z "$ac_dir" && ac_dir
=.
8239 if test -f $ac_dir/$ac_word; then
8240 ac_cv_prog_CXX
="$ac_prog"
8247 CXX
="$ac_cv_prog_CXX"
8248 if test -n "$CXX"; then
8249 echo "$ac_t""$CXX" 1>&6
8251 echo "$ac_t""no" 1>&6
8254 test -n "$CXX" && break
8256 test -n "$CXX" || CXX
="gcc"
8259 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
8260 echo "configure:8261: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
8263 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8264 ac_cpp
='$CXXCPP $CPPFLAGS'
8265 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8266 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8267 cross_compiling
=$ac_cv_prog_cxx_cross
8269 cat > conftest.
$ac_ext << EOF
8271 #line 8272 "configure"
8272 #include "confdefs.h"
8274 int main(){return(0);}
8276 if { (eval echo configure
:8277: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8277 ac_cv_prog_cxx_works
=yes
8278 # If we can't run a trivial program, we are probably using a cross compiler.
8279 if (.
/conftest
; exit) 2>/dev
/null
; then
8280 ac_cv_prog_cxx_cross
=no
8282 ac_cv_prog_cxx_cross
=yes
8285 echo "configure: failed program was:" >&5
8286 cat conftest.
$ac_ext >&5
8287 ac_cv_prog_cxx_works
=no
8291 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8292 ac_cpp
='$CXXCPP $CPPFLAGS'
8293 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8294 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8295 cross_compiling
=$ac_cv_prog_cxx_cross
8297 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
8298 if test $ac_cv_prog_cxx_works = no
; then
8299 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
8301 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
8302 echo "configure:8303: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
8303 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
8304 cross_compiling
=$ac_cv_prog_cxx_cross
8306 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
8307 echo "configure:8308: checking whether we are using GNU C++" >&5
8308 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
8309 echo $ac_n "(cached) $ac_c" 1>&6
8311 cat > conftest.C
<<EOF
8316 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:8317: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
8323 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
8325 if test $ac_cv_prog_gxx = yes; then
8331 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
8332 ac_save_CXXFLAGS
="$CXXFLAGS"
8334 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
8335 echo "configure:8336: checking whether ${CXX-g++} accepts -g" >&5
8336 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
8337 echo $ac_n "(cached) $ac_c" 1>&6
8339 echo 'void f(){}' > conftest.cc
8340 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
8341 ac_cv_prog_cxx_g
=yes
8349 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
8350 if test "$ac_test_CXXFLAGS" = set; then
8351 CXXFLAGS
="$ac_save_CXXFLAGS"
8352 elif test $ac_cv_prog_cxx_g = yes; then
8353 if test "$GXX" = yes; then
8359 if test "$GXX" = yes; then
8367 CXXFLAGS
=`echo "$CXXFLAGS" | sed 's/-g//g'`
8370 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8371 ac_cpp
='$CPP $CPPFLAGS'
8372 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8373 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8374 cross_compiling
=$ac_cv_prog_cc_cross
8377 # Extract the first word of "ranlib", so it can be a program name with args.
8378 set dummy ranlib
; ac_word
=$2
8379 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8380 echo "configure:8381: checking for $ac_word" >&5
8381 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
8382 echo $ac_n "(cached) $ac_c" 1>&6
8384 if test -n "$RANLIB"; then
8385 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
8387 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8389 for ac_dir
in $ac_dummy; do
8390 test -z "$ac_dir" && ac_dir
=.
8391 if test -f $ac_dir/$ac_word; then
8392 ac_cv_prog_RANLIB
="ranlib"
8397 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
8400 RANLIB
="$ac_cv_prog_RANLIB"
8401 if test -n "$RANLIB"; then
8402 echo "$ac_t""$RANLIB" 1>&6
8404 echo "$ac_t""no" 1>&6
8408 # Extract the first word of "ar", so it can be a program name with args.
8409 set dummy
ar; ac_word
=$2
8410 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8411 echo "configure:8412: checking for $ac_word" >&5
8412 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
8413 echo $ac_n "(cached) $ac_c" 1>&6
8415 if test -n "$AR"; then
8416 ac_cv_prog_AR
="$AR" # Let the user override the test.
8418 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8420 for ac_dir
in $ac_dummy; do
8421 test -z "$ac_dir" && ac_dir
=.
8422 if test -f $ac_dir/$ac_word; then
8428 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
8432 if test -n "$AR"; then
8433 echo "$ac_t""$AR" 1>&6
8435 echo "$ac_t""no" 1>&6
8439 # Find a good install program. We prefer a C program (faster),
8440 # so one script is as good as another. But avoid the broken or
8441 # incompatible versions:
8442 # SysV /etc/install, /usr/sbin/install
8443 # SunOS /usr/etc/install
8444 # IRIX /sbin/install
8446 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
8447 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
8448 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
8449 # ./install, which can be erroneously created by make from ./install.sh.
8450 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
8451 echo "configure:8452: checking for a BSD compatible install" >&5
8452 if test -z "$INSTALL"; then
8453 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
8454 echo $ac_n "(cached) $ac_c" 1>&6
8456 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
8457 for ac_dir
in $PATH; do
8458 # Account for people who put trailing slashes in PATH elements.
8460 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
8462 # OSF1 and SCO ODT 3.0 have their own names for install.
8463 # Don't use installbsd from OSF since it installs stuff as root
8465 for ac_prog
in ginstall scoinst
install; do
8466 if test -f $ac_dir/$ac_prog; then
8467 if test $ac_prog = install &&
8468 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
8469 # AIX install. It has an incompatible calling convention.
8472 ac_cv_path_install
="$ac_dir/$ac_prog -c"
8483 if test "${ac_cv_path_install+set}" = set; then
8484 INSTALL
="$ac_cv_path_install"
8486 # As a last resort, use the slow shell script. We don't cache a
8487 # path for INSTALL within a source directory, because that will
8488 # break other packages using the cache if that directory is
8489 # removed, or if the path is relative.
8490 INSTALL
="$ac_install_sh"
8493 echo "$ac_t""$INSTALL" 1>&6
8495 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
8496 # It thinks the first close brace ends the variable substitution.
8497 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
8499 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
8501 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
8504 # Extract the first word of "strip", so it can be a program name with args.
8505 set dummy strip
; ac_word
=$2
8506 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8507 echo "configure:8508: checking for $ac_word" >&5
8508 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
8509 echo $ac_n "(cached) $ac_c" 1>&6
8511 if test -n "$STRIP"; then
8512 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
8514 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8516 for ac_dir
in $ac_dummy; do
8517 test -z "$ac_dir" && ac_dir
=.
8518 if test -f $ac_dir/$ac_word; then
8519 ac_cv_prog_STRIP
="strip"
8524 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
8527 STRIP
="$ac_cv_prog_STRIP"
8528 if test -n "$STRIP"; then
8529 echo "$ac_t""$STRIP" 1>&6
8531 echo "$ac_t""no" 1>&6
8535 echo $ac_n "checking make for VPATH support""... $ac_c" 1>&6
8536 echo "configure:8537: checking make for VPATH support" >&5
8537 cat - << EOF > confMake
8543 if test ! -d sub
; then
8546 echo dummy
> sub
/file
8547 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
8549 rm -f sub
/file check final_file confMake
8551 if test "$RESULT" = 0; then
8552 echo "$ac_t""yes" 1>&6
8554 echo "$ac_t""no" 1>&6
8555 { echo "configure: error:
8556 You need a make-utility that is able to use the variable
8558 If your version of make does not support VPATH correctly,
8559 please install GNU-make (possibly as gmake), and start
8560 configure with the following command:
8561 export MAKE=gmake; ./configure for sh-type shells
8562 setenv MAKE gmake; ./configure for csh-type shells
8563 Also please do remember to use gmake in this case every time
8564 you are trying to compile.
8568 for ac_prog
in 'bison -y' byacc
8570 # Extract the first word of "$ac_prog", so it can be a program name with args.
8571 set dummy
$ac_prog; ac_word
=$2
8572 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8573 echo "configure:8574: checking for $ac_word" >&5
8574 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
8575 echo $ac_n "(cached) $ac_c" 1>&6
8577 if test -n "$YACC"; then
8578 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
8580 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8582 for ac_dir
in $ac_dummy; do
8583 test -z "$ac_dir" && ac_dir
=.
8584 if test -f $ac_dir/$ac_word; then
8585 ac_cv_prog_YACC
="$ac_prog"
8592 YACC
="$ac_cv_prog_YACC"
8593 if test -n "$YACC"; then
8594 echo "$ac_t""$YACC" 1>&6
8596 echo "$ac_t""no" 1>&6
8599 test -n "$YACC" && break
8601 test -n "$YACC" || YACC
="yacc"
8604 # Extract the first word of "flex", so it can be a program name with args.
8605 set dummy flex
; ac_word
=$2
8606 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8607 echo "configure:8608: checking for $ac_word" >&5
8608 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
8609 echo $ac_n "(cached) $ac_c" 1>&6
8611 if test -n "$LEX"; then
8612 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
8614 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8616 for ac_dir
in $ac_dummy; do
8617 test -z "$ac_dir" && ac_dir
=.
8618 if test -f $ac_dir/$ac_word; then
8619 ac_cv_prog_LEX
="flex"
8624 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
8627 LEX
="$ac_cv_prog_LEX"
8628 if test -n "$LEX"; then
8629 echo "$ac_t""$LEX" 1>&6
8631 echo "$ac_t""no" 1>&6
8634 if test -z "$LEXLIB"
8640 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
8641 echo "configure:8642: checking for yywrap in -l$ac_lib" >&5
8642 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
8643 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8644 echo $ac_n "(cached) $ac_c" 1>&6
8646 ac_save_LIBS
="$LIBS"
8647 LIBS
="-l$ac_lib $LIBS"
8648 cat > conftest.
$ac_ext <<EOF
8649 #line 8650 "configure"
8650 #include "confdefs.h"
8651 /* Override any gcc2 internal prototype to avoid an error. */
8652 /* We use char because int might match the return type of a gcc2
8653 builtin and then its argument prototype would still apply. */
8660 if { (eval echo configure
:8661: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8662 eval "ac_cv_lib_$ac_lib_var=yes"
8664 echo "configure: failed program was:" >&5
8665 cat conftest.
$ac_ext >&5
8667 eval "ac_cv_lib_$ac_lib_var=no"
8670 LIBS
="$ac_save_LIBS"
8673 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8674 echo "$ac_t""yes" 1>&6
8677 echo "$ac_t""no" 1>&6
8683 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
8684 echo "configure:8685: checking whether ln -s works" >&5
8685 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
8686 echo $ac_n "(cached) $ac_c" 1>&6
8689 if ln -s X conftestdata
2>/dev
/null
8692 ac_cv_prog_LN_S
="ln -s"
8697 LN_S
="$ac_cv_prog_LN_S"
8698 if test "$ac_cv_prog_LN_S" = "ln -s"; then
8699 echo "$ac_t""yes" 1>&6
8701 echo "$ac_t""no" 1>&6
8707 /usr/local/include \
8709 /usr/Motif-1.2/include \
8710 /usr/Motif-2.1/include \
8712 /usr/include/Motif1.2 \
8713 /opt/xpm/include/X11 \
8714 /opt/GBxpm/include/ \
8715 /opt/GBxpm/X11/include/ \
8717 /usr/Motif1.2/include \
8719 /usr/openwin/include \
8723 /usr/X11R6/include \
8724 /usr/X11R6.4/include \
8725 /usr/X11R5/include \
8726 /usr/X11R4/include \
8728 /usr/include/X11R6 \
8729 /usr/include/X11R5 \
8730 /usr/include/X11R4 \
8732 /usr/local/X11R6/include \
8733 /usr/local/X11R5/include \
8734 /usr/local/X11R4/include \
8736 /usr/local/include/X11R6 \
8737 /usr/local/include/X11R5 \
8738 /usr/local/include/X11R4 \
8742 /usr/local/X11/include \
8743 /usr/local/include/X11 \
8747 /usr/XFree86/include/X11 \
8749 X:/XFree86/include \
8750 X:/XFree86/include/X11 \
8753 /usr/local/include/gtk \
8755 /usr/local/include/glib \
8758 /usr/local/include/qt \
8760 /usr/include/windows \
8762 /usr/local/include/wine \
8764 /usr/unsupported/include \
8765 /usr/athena/include \
8766 /usr/local/x11r5/include \
8767 /usr/lpp/Xamples/include \
8769 /usr/openwin/share/include \
8773 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
8776 cat > confcache
<<\EOF
8777 # This file is a shell script that caches the results of configure
8778 # tests run on this system so they can be shared between configure
8779 # scripts and configure runs. It is not useful on other systems.
8780 # If it contains results you don't want to keep, you may remove or edit it.
8782 # By default, configure uses ./config.cache as the cache file,
8783 # creating it if it does not exist already. You can give configure
8784 # the --cache-file=FILE option to use a different cache file; that is
8785 # what configure does when it calls configure scripts in
8786 # subdirectories, so they share the cache.
8787 # Giving --cache-file=/dev/null disables caching, for debugging configure.
8788 # config.status only pays attention to the cache file if you give it the
8789 # --recheck option to rerun configure.
8792 # The following way of writing the cache mishandles newlines in values,
8793 # but we know of no workaround that is simple, portable, and efficient.
8794 # So, don't put newlines in cache variables' values.
8795 # Ultrix sh set writes to stderr and can't be redirected directly,
8796 # and sets the high bit in the cache file unless we assign to the vars.
8798 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8800 # `set' does not quote correctly, so add quotes (double-quote substitution
8801 # turns \\\\ into \\, and sed turns \\ into \).
8803 -e "s/'/'\\\\''/g" \
8804 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
8807 # `set' quotes correctly as required by POSIX, so do not add quotes.
8808 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
8811 if cmp -s $cache_file confcache
; then
8814 if test -w $cache_file; then
8815 echo "updating cache $cache_file"
8816 cat confcache
> $cache_file
8818 echo "not updating unwritable cache $cache_file"
8826 if test "$wxUSE_REGEX" != "no"; then
8827 ac_safe
=`echo "regex.h" | sed 'y%./+-%__p_%'`
8828 echo $ac_n "checking for regex.h""... $ac_c" 1>&6
8829 echo "configure:8830: checking for regex.h" >&5
8830 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8831 echo $ac_n "(cached) $ac_c" 1>&6
8833 cat > conftest.
$ac_ext <<EOF
8834 #line 8835 "configure"
8835 #include "confdefs.h"
8838 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8839 { (eval echo configure
:8840: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8840 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8841 if test -z "$ac_err"; then
8843 eval "ac_cv_header_$ac_safe=yes"
8846 echo "configure: failed program was:" >&5
8847 cat conftest.
$ac_ext >&5
8849 eval "ac_cv_header_$ac_safe=no"
8853 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8854 echo "$ac_t""yes" 1>&6
8855 for ac_func
in regcomp
8857 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8858 echo "configure:8859: checking for $ac_func" >&5
8859 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8860 echo $ac_n "(cached) $ac_c" 1>&6
8862 cat > conftest.
$ac_ext <<EOF
8863 #line 8864 "configure"
8864 #include "confdefs.h"
8865 /* System header to define __stub macros and hopefully few prototypes,
8866 which can conflict with char $ac_func(); below. */
8868 /* Override any gcc2 internal prototype to avoid an error. */
8869 /* We use char because int might match the return type of a gcc2
8870 builtin and then its argument prototype would still apply. */
8875 /* The GNU C library defines this for functions which it implements
8876 to always fail with ENOSYS. Some functions are actually named
8877 something starting with __ and the normal name is an alias. */
8878 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8886 if { (eval echo configure
:8887: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8888 eval "ac_cv_func_$ac_func=yes"
8890 echo "configure: failed program was:" >&5
8891 cat conftest.
$ac_ext >&5
8893 eval "ac_cv_func_$ac_func=no"
8898 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8899 echo "$ac_t""yes" 1>&6
8900 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8901 cat >> confdefs.h
<<EOF
8902 #define $ac_tr_func 1
8906 echo "$ac_t""no" 1>&6
8911 echo "$ac_t""no" 1>&6
8915 if test "x$ac_cv_func_regcomp" != "xyes"; then
8916 if test "$wxUSE_REGEX" = "sys"; then
8917 { echo "configure: error: system regex library not found! Use --with-regex to use the built-in regex library." 1>&2; exit 1; }
8920 REGEX_INCLUDE
="-I\${top_srcdir}/src/regex"
8923 cat >> confdefs.h
<<\EOF
8924 #define wxUSE_REGEX 1
8936 if test "$USE_WIN32" = 1 ; then
8937 for ac_hdr
in w32api.h
8939 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8940 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8941 echo "configure:8942: checking for $ac_hdr" >&5
8942 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+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"
8950 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8951 { (eval echo configure
:8952: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8952 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8953 if test -z "$ac_err"; then
8955 eval "ac_cv_header_$ac_safe=yes"
8958 echo "configure: failed program was:" >&5
8959 cat conftest.
$ac_ext >&5
8961 eval "ac_cv_header_$ac_safe=no"
8965 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8966 echo "$ac_t""yes" 1>&6
8967 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8968 cat >> confdefs.h
<<EOF
8969 #define $ac_tr_hdr 1
8973 echo "$ac_t""no" 1>&6
8977 ac_safe
=`echo "windows.h" | sed 'y%./+-%__p_%'`
8978 echo $ac_n "checking for windows.h""... $ac_c" 1>&6
8979 echo "configure:8980: checking for windows.h" >&5
8980 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8981 echo $ac_n "(cached) $ac_c" 1>&6
8983 cat > conftest.
$ac_ext <<EOF
8984 #line 8985 "configure"
8985 #include "confdefs.h"
8986 #include <windows.h>
8988 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8989 { (eval echo configure
:8990: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8990 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8991 if test -z "$ac_err"; then
8993 eval "ac_cv_header_$ac_safe=yes"
8996 echo "configure: failed program was:" >&5
8997 cat conftest.
$ac_ext >&5
8999 eval "ac_cv_header_$ac_safe=no"
9003 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9004 echo "$ac_t""yes" 1>&6
9007 echo "$ac_t""no" 1>&6
9009 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
9014 echo $ac_n "checking if w32api has good enough MSIE support""... $ac_c" 1>&6
9015 echo "configure:9016: checking if w32api has good enough MSIE support" >&5
9016 if eval "test \"`echo '$''{'wx_cv_w32api_win_ie'+set}'`\" = set"; then
9017 echo $ac_n "(cached) $ac_c" 1>&6
9020 cat > conftest.
$ac_ext <<EOF
9021 #line 9022 "configure"
9022 #include "confdefs.h"
9026 #define wxCHECK_W32API_VERSION( major, minor ) \
9027 ( defined( __W32API_MAJOR_VERSION ) && defined( __W32API_MINOR_VERSION ) \
9028 && ( ( __W32API_MAJOR_VERSION > (major) ) \
9029 || ( __W32API_MAJOR_VERSION == (major) && __W32API_MINOR_VERSION >= (minor))))
9031 #if !wxCHECK_W32API_VERSION(1,1)
9032 #error You need w32api 1.1 or newer
9037 if { (eval echo configure
:9038: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9040 wx_cv_w32api_win_ie
=yes
9041 CPPFLAGS
="$CPPFLAGS -D_WIN_IE=0x400"
9044 echo "configure: failed program was:" >&5
9045 cat conftest.
$ac_ext >&5
9048 wx_cv_w32api_win_ie
=no
9055 echo "$ac_t""$wx_cv_w32api_win_ie" 1>&6
9057 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -ladvapi32 -lwsock32"
9059 if test "$wxUSE_CYGWIN" = 1; then
9060 LIBS
="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32"
9063 if test "$wxUSE_ODBC" = "yes" ; then
9064 LIBS
="$LIBS -lodbc32 -lole32 -loleaut32"
9067 if test "$wxUSE_MINGW" = 1; then
9068 LDFLAGS
="$LDFLAGS -mwindows"
9071 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
9072 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
9075 if test "$wxUSE_GUI" = "yes"; then
9084 if test "$wxUSE_CYGWIN" = 1 || test "$wxUSE_MINGW" = 1 ; then
9089 if test "$wxUSE_GTK" = 1; then
9090 echo $ac_n "checking for GTK+ version""... $ac_c" 1>&6
9091 echo "configure:9092: checking for GTK+ version" >&5
9093 gtk_version_cached
=1
9094 if eval "test \"`echo '$''{'wx_cv_lib_gtk'+set}'`\" = set"; then
9095 echo $ac_n "(cached) $ac_c" 1>&6
9098 gtk_version_cached
=0
9099 echo "$ac_t""""" 1>&6
9102 if test "x$wxUSE_GTK2" = "xyes"; then
9103 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
9104 if test "${with_gtk_prefix+set}" = set; then
9105 withval
="$with_gtk_prefix"
9106 gtk_config_prefix
="$withval"
9108 gtk_config_prefix
=""
9111 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
9112 if test "${with_gtk_exec_prefix+set}" = set; then
9113 withval
="$with_gtk_exec_prefix"
9114 gtk_config_exec_prefix
="$withval"
9116 gtk_config_exec_prefix
=""
9119 # Check whether --enable-gtktest or --disable-gtktest was given.
9120 if test "${enable_gtktest+set}" = set; then
9121 enableval
="$enable_gtktest"
9132 gtk_config_args
="$gtk_config_args gthread"
9137 if test x
$gtk_config_exec_prefix != x
; then
9138 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
9139 if test x
${GTK_CONFIG_2_0+set} != xset
; then
9140 GTK_CONFIG_2_0
=$gtk_config_exec_prefix/bin
/gtk
-config-2.0
9143 if test x
$gtk_config_prefix != x
; then
9144 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
9145 if test x
${GTK_CONFIG_2_0+set} != xset
; then
9146 GTK_CONFIG_2_0
=$gtk_config_prefix/bin
/gtk
-config-2.0
9150 # Extract the first word of "gtk-config-2.0", so it can be a program name with args.
9151 set dummy gtk
-config-2.0
; ac_word
=$2
9152 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9153 echo "configure:9154: checking for $ac_word" >&5
9154 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG_2_0'+set}'`\" = set"; then
9155 echo $ac_n "(cached) $ac_c" 1>&6
9157 case "$GTK_CONFIG_2_0" in
9159 ac_cv_path_GTK_CONFIG_2_0
="$GTK_CONFIG_2_0" # Let the user override the test with a path.
9162 ac_cv_path_GTK_CONFIG_2_0
="$GTK_CONFIG_2_0" # Let the user override the test with a dos path.
9165 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9167 for ac_dir
in $ac_dummy; do
9168 test -z "$ac_dir" && ac_dir
=.
9169 if test -f $ac_dir/$ac_word; then
9170 ac_cv_path_GTK_CONFIG_2_0
="$ac_dir/$ac_word"
9175 test -z "$ac_cv_path_GTK_CONFIG_2_0" && ac_cv_path_GTK_CONFIG_2_0
="no"
9179 GTK_CONFIG_2_0
="$ac_cv_path_GTK_CONFIG_2_0"
9180 if test -n "$GTK_CONFIG_2_0"; then
9181 echo "$ac_t""$GTK_CONFIG_2_0" 1>&6
9183 echo "$ac_t""no" 1>&6
9186 min_gtk_version
=1.3.1
9187 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
9188 echo "configure:9189: checking for GTK - version >= $min_gtk_version" >&5
9190 if test "$GTK_CONFIG_2_0" = "no" ; then
9193 GTK_CFLAGS
=`$GTK_CONFIG_2_0 $gtk_config_args --cflags`
9194 GTK_LIBS
=`$GTK_CONFIG_2_0 $gtk_config_args --libs`
9195 gtk_config_major_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
9196 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
9197 gtk_config_minor_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
9198 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
9199 gtk_config_micro_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
9200 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
9201 if test "x$enable_gtktest" = "xyes" ; then
9202 ac_save_CFLAGS
="$CFLAGS"
9203 ac_save_LIBS
="$LIBS"
9204 CFLAGS
="$CFLAGS $GTK_CFLAGS"
9205 LIBS
="$GTK_LIBS $LIBS"
9207 if test "$cross_compiling" = yes; then
9208 echo $ac_n "cross compiling; assumed OK... $ac_c"
9210 cat > conftest.
$ac_ext <<EOF
9211 #line 9212 "configure"
9212 #include "confdefs.h"
9214 #include <gtk/gtk.h>
9221 int major, minor, micro;
9224 system ("touch conf.gtktest");
9226 /* HP/UX 9 (%@#!) writes to sscanf strings */
9227 tmp_version = g_strdup("$min_gtk_version");
9228 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
9229 printf("%s, bad version string\n", "$min_gtk_version");
9233 if ((gtk_major_version != $gtk_config_major_version) ||
9234 (gtk_minor_version != $gtk_config_minor_version) ||
9235 (gtk_micro_version != $gtk_config_micro_version))
9237 printf("\n*** 'gtk-config-2.0 --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
9238 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
9239 gtk_major_version, gtk_minor_version, gtk_micro_version);
9240 printf ("*** was found! If gtk-config-2.0 was correct, then it is best\n");
9241 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
9242 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
9243 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
9244 printf("*** required on your system.\n");
9245 printf("*** If gtk-config-2.0 was wrong, set the environment variable GTK_CONFIG_2_0\n");
9246 printf("*** to point to the correct copy of gtk-config-2.0, and remove the file config.cache\n");
9247 printf("*** before re-running configure\n");
9249 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
9250 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
9251 (gtk_minor_version != GTK_MINOR_VERSION) ||
9252 (gtk_micro_version != GTK_MICRO_VERSION))
9254 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
9255 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
9256 printf("*** library (version %d.%d.%d)\n",
9257 gtk_major_version, gtk_minor_version, gtk_micro_version);
9259 #endif /* defined (GTK_MAJOR_VERSION) ... */
9262 if ((gtk_major_version > major) ||
9263 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
9264 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
9270 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
9271 gtk_major_version, gtk_minor_version, gtk_micro_version);
9272 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
9273 major, minor, micro);
9274 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
9276 printf("*** If you have already installed a sufficiently new version, this error\n");
9277 printf("*** probably means that the wrong copy of the gtk-config-2.0 shell script is\n");
9278 printf("*** being found. The easiest way to fix this is to remove the old version\n");
9279 printf("*** of GTK+, but you can also set the GTK_CONFIG_2_0 environment to point to the\n");
9280 printf("*** correct copy of gtk-config-2.0. (In this case, you will have to\n");
9281 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
9282 printf("*** so that the correct libraries are found at run-time))\n");
9289 if { (eval echo configure
:9290: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9293 echo "configure: failed program was:" >&5
9294 cat conftest.
$ac_ext >&5
9301 CFLAGS
="$ac_save_CFLAGS"
9302 LIBS
="$ac_save_LIBS"
9305 if test "x$no_gtk" = x
; then
9306 echo "$ac_t""yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" 1>&6
9309 echo "$ac_t""no" 1>&6
9310 if test "$GTK_CONFIG_2_0" = "no" ; then
9311 echo "*** The gtk-config-2.0 script installed by GTK could not be found"
9312 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
9313 echo "*** your path, or set the GTK_CONFIG_2_0 environment variable to the"
9314 echo "*** full path to gtk-config-2.0."
9316 if test -f conf.gtktest
; then
9319 echo "*** Could not run GTK test program, checking why..."
9320 CFLAGS
="$CFLAGS $GTK_CFLAGS"
9321 LIBS
="$LIBS $GTK_LIBS"
9322 cat > conftest.
$ac_ext <<EOF
9323 #line 9324 "configure"
9324 #include "confdefs.h"
9326 #include <gtk/gtk.h>
9330 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
9333 if { (eval echo configure
:9334: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9335 echo "*** The test program compiled, but did not run. This usually means"
9336 echo "*** that the run-time linker is not finding GTK or finding the wrong"
9337 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
9338 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
9339 echo "*** to the installed location Also, make sure you have run ldconfig if that"
9340 echo "*** is required on your system"
9342 echo "*** If you have an old version installed, it is best to remove it, although"
9343 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
9345 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
9346 echo "*** came with the system with the command"
9348 echo "*** rpm --erase --nodeps gtk gtk-devel"
9350 echo "configure: failed program was:" >&5
9351 cat conftest.
$ac_ext >&5
9353 echo "*** The test program failed to compile or link. See the file config.log for the"
9354 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
9355 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
9356 echo "*** may want to edit the gtk-config-2.0 script: $GTK_CONFIG_2_0"
9359 CFLAGS
="$ac_save_CFLAGS"
9360 LIBS
="$ac_save_LIBS"
9373 if test -z "$wx_cv_lib_gtk"; then
9375 if test x
$gtk_config_exec_prefix != x
; then
9376 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
9377 if test x
${GTK_CONFIG+set} != xset
; then
9378 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
9381 if test x
$gtk_config_prefix != x
; then
9382 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
9383 if test x
${GTK_CONFIG+set} != xset
; then
9384 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
9388 # Extract the first word of "gtk-config", so it can be a program name with args.
9389 set dummy gtk
-config; ac_word
=$2
9390 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9391 echo "configure:9392: checking for $ac_word" >&5
9392 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
9393 echo $ac_n "(cached) $ac_c" 1>&6
9395 case "$GTK_CONFIG" in
9397 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
9400 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
9403 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9405 for ac_dir
in $ac_dummy; do
9406 test -z "$ac_dir" && ac_dir
=.
9407 if test -f $ac_dir/$ac_word; then
9408 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
9413 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
9417 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
9418 if test -n "$GTK_CONFIG"; then
9419 echo "$ac_t""$GTK_CONFIG" 1>&6
9421 echo "$ac_t""no" 1>&6
9424 min_gtk_version
=1.2.7
9425 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
9426 echo "configure:9427: checking for GTK - version >= $min_gtk_version" >&5
9428 if test "$GTK_CONFIG" != "no" ; then
9429 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
9430 GTK_LIBS
=`$GTK_CONFIG --libs gthread`
9431 ac_save_CFLAGS
="$CFLAGS"
9432 ac_save_LIBS
="$LIBS"
9433 CFLAGS
="$CFLAGS $GTK_CFLAGS"
9434 LIBS
="$LIBS $GTK_LIBS"
9435 if test "$cross_compiling" = yes; then
9436 echo $ac_n "cross compiling; assumed OK... $ac_c"
9438 cat > conftest.
$ac_ext <<EOF
9439 #line 9440 "configure"
9440 #include "confdefs.h"
9442 #include <gtk/gtk.h>
9443 #include <gtk/gtkfeatures.h>
9450 int major, minor, micro;
9452 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
9453 printf("%s, bad version string\n", "$min_gtk_version");
9457 if ((GTK_MAJOR_VERSION != gtk_major_version) ||
9458 (GTK_MINOR_VERSION != gtk_minor_version) ||
9459 (GTK_MICRO_VERSION != gtk_micro_version)) {
9460 printf("Headers vs. library version mismatch!\n");
9464 if (gtk_minor_version == 1) return FALSE;
9466 return !((gtk_major_version > major) ||
9467 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
9468 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
9472 if { (eval echo configure
:9473: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9476 echo "configure: failed program was:" >&5
9477 cat conftest.
$ac_ext >&5
9484 CFLAGS
="$ac_save_CFLAGS"
9485 LIBS
="$ac_save_LIBS"
9489 if test "x$no_gtk" = x
; then
9490 echo "$ac_t""yes" 1>&6
9493 echo "$ac_t""no" 1>&6
9503 if test -z "$wx_cv_lib_gtk"; then
9505 if test x
$gtk_config_exec_prefix != x
; then
9506 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
9507 if test x
${GTK_CONFIG+set} != xset
; then
9508 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
9511 if test x
$gtk_config_prefix != x
; then
9512 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
9513 if test x
${GTK_CONFIG+set} != xset
; then
9514 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
9518 # Extract the first word of "gtk-config", so it can be a program name with args.
9519 set dummy gtk
-config; ac_word
=$2
9520 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9521 echo "configure:9522: checking for $ac_word" >&5
9522 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
9523 echo $ac_n "(cached) $ac_c" 1>&6
9525 case "$GTK_CONFIG" in
9527 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
9530 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
9533 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9535 for ac_dir
in $ac_dummy; do
9536 test -z "$ac_dir" && ac_dir
=.
9537 if test -f $ac_dir/$ac_word; then
9538 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
9543 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
9547 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
9548 if test -n "$GTK_CONFIG"; then
9549 echo "$ac_t""$GTK_CONFIG" 1>&6
9551 echo "$ac_t""no" 1>&6
9554 min_gtk_version
=1.2.3
9555 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
9556 echo "configure:9557: checking for GTK - version >= $min_gtk_version" >&5
9558 if test "$GTK_CONFIG" != "no" ; then
9559 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
9560 GTK_LIBS
=`$GTK_CONFIG --libs gthread`
9561 ac_save_CFLAGS
="$CFLAGS"
9562 ac_save_LIBS
="$LIBS"
9563 CFLAGS
="$CFLAGS $GTK_CFLAGS"
9564 LIBS
="$LIBS $GTK_LIBS"
9565 if test "$cross_compiling" = yes; then
9566 echo $ac_n "cross compiling; assumed OK... $ac_c"
9568 cat > conftest.
$ac_ext <<EOF
9569 #line 9570 "configure"
9570 #include "confdefs.h"
9572 #include <gtk/gtk.h>
9573 #include <gtk/gtkfeatures.h>
9580 int major, minor, micro;
9582 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
9583 printf("%s, bad version string\n", "$min_gtk_version");
9587 if ((GTK_MAJOR_VERSION != gtk_major_version) ||
9588 (GTK_MINOR_VERSION != gtk_minor_version) ||
9589 (GTK_MICRO_VERSION != gtk_micro_version)) {
9590 printf("Headers vs. library version mismatch!\n");
9594 if (gtk_minor_version == 1) return FALSE;
9596 return !((gtk_major_version > major) ||
9597 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
9598 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
9602 if { (eval echo configure
:9603: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9606 echo "configure: failed program was:" >&5
9607 cat conftest.
$ac_ext >&5
9614 CFLAGS
="$ac_save_CFLAGS"
9615 LIBS
="$ac_save_LIBS"
9619 if test "x$no_gtk" = x
; then
9620 echo "$ac_t""yes" 1>&6
9623 echo "$ac_t""no" 1>&6
9633 if test -z "$wx_cv_lib_gtk"; then
9636 wx_cv_cflags_gtk
=$GTK_CFLAGS
9637 wx_cv_libs_gtk
=$GTK_LIBS
9644 if test "$gtk_version_cached" = 1; then
9645 echo "$ac_t""$wx_cv_lib_gtk" 1>&6
9648 case "$wx_cv_lib_gtk" in
9656 *) { echo "configure: error:
9657 Please check that gtk-config is in path, the directory
9658 where GTK+ libraries are installed (returned by
9659 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
9660 equivalent variable and GTK+ is version 1.2.3 or above.
9665 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
9666 GUI_TK_LIBRARY
="$wx_cv_libs_gtk"
9668 AFMINSTALL
=afminstall
9672 echo $ac_n "checking for gdk_im_open in -lgdk""... $ac_c" 1>&6
9673 echo "configure:9674: checking for gdk_im_open in -lgdk" >&5
9674 ac_lib_var
=`echo gdk'_'gdk_im_open | sed 'y%./+-%__p_%'`
9675 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9676 echo $ac_n "(cached) $ac_c" 1>&6
9678 ac_save_LIBS
="$LIBS"
9680 cat > conftest.
$ac_ext <<EOF
9681 #line 9682 "configure"
9682 #include "confdefs.h"
9683 /* Override any gcc2 internal prototype to avoid an error. */
9684 /* We use char because int might match the return type of a gcc2
9685 builtin and then its argument prototype would still apply. */
9692 if { (eval echo configure
:9693: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9694 eval "ac_cv_lib_$ac_lib_var=yes"
9696 echo "configure: failed program was:" >&5
9697 cat conftest.
$ac_ext >&5
9699 eval "ac_cv_lib_$ac_lib_var=no"
9702 LIBS
="$ac_save_LIBS"
9705 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9706 echo "$ac_t""yes" 1>&6
9707 cat >> confdefs.h
<<\EOF
9712 echo "$ac_t""no" 1>&6
9717 if test "$wxUSE_MGL" = 1; then
9719 echo $ac_n "checking for SciTech MGL library""... $ac_c" 1>&6
9720 echo "configure:9721: checking for SciTech MGL library" >&5
9721 if test "x$MGL_ROOT" = x
; then
9722 echo "$ac_t""not found" 1>&6
9723 { echo "configure: error: Cannot find MGL library. Make sure MGL_ROOT is set." 1>&2; exit 1; }
9725 echo "$ac_t""$MGL_ROOT" 1>&6
9728 mgl_os
=linux
/gcc
/glibc
9731 if test "$wxUSE_DEBUG_FLAG" = yes ; then
9732 if test -f $MGL_ROOT/lib
/debug
/$mgl_os/libmgl.a
; then
9736 if test "x$mgl_lib_type" = x
; then
9737 if test -f $MGL_ROOT/lib
/release
/$mgl_os/libmgl.a
; then
9738 mgl_lib_type
=release
9740 { echo "configure: error: Cannot find MGL libraries, make sure they are compiled." 1>&2; exit 1; }
9744 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
9745 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
9747 AFMINSTALL
=afminstall
9752 if test "$wxUSE_WINE" = 1; then
9753 ac_safe
=`echo "windows.h" | sed 'y%./+-%__p_%'`
9754 echo $ac_n "checking for windows.h""... $ac_c" 1>&6
9755 echo "configure:9756: checking for windows.h" >&5
9756 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9757 echo $ac_n "(cached) $ac_c" 1>&6
9759 cat > conftest.
$ac_ext <<EOF
9760 #line 9761 "configure"
9761 #include "confdefs.h"
9762 #include <windows.h>
9764 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9765 { (eval echo configure
:9766: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9766 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9767 if test -z "$ac_err"; then
9769 eval "ac_cv_header_$ac_safe=yes"
9772 echo "configure: failed program was:" >&5
9773 cat conftest.
$ac_ext >&5
9775 eval "ac_cv_header_$ac_safe=no"
9779 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9780 echo "$ac_t""yes" 1>&6
9783 echo "$ac_t""no" 1>&6
9785 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
9791 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
9792 echo "configure:9793: checking for Xpm library" >&5
9795 for ac_dir
in $SEARCH_LIB;
9797 for ac_extension
in a so sl dylib
; do
9798 if test -f "$ac_dir/libXpm.$ac_extension"; then
9799 ac_find_libraries
=$ac_dir
9805 if test "$ac_find_libraries" != "" ; then
9806 GUI_TK_LIBRARY
="-L$ac_find_libraries"
9808 cat >> confdefs.h
<<\EOF
9809 #define wxHAVE_LIB_XPM 1
9812 echo "$ac_t""found at $ac_find_libraries" 1>&6
9814 echo "$ac_t""no" 1>&6
9815 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
9819 echo $ac_n "checking for Mesa library""... $ac_c" 1>&6
9820 echo "configure:9821: checking for Mesa library" >&5
9823 for ac_dir
in $SEARCH_LIB;
9825 for ac_extension
in a so sl dylib
; do
9826 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
9827 ac_find_libraries
=$ac_dir
9833 if test "$ac_find_libraries" != "" ; then
9834 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -L$ac_find_libraries"
9835 mesa_link
="-lMesaGL"
9836 echo "$ac_t""found at $ac_find_libraries" 1>&6
9838 { echo "configure: error: no" 1>&2; exit 1; }
9841 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lwine $mesa_link $xpm_link -lXxf86dga -lXxf86vm -lSM -lICE -lXext -lXmu -lX11 -lncurses"
9844 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXWINE__"
9848 # If we find X, set shell vars x_includes and x_libraries to the
9849 # paths, otherwise set no_x=yes.
9850 # Uses ac_ vars as temps to allow command line to override cache and checks.
9851 # --without-x overrides everything else, but does not touch the cache.
9852 echo $ac_n "checking for X""... $ac_c" 1>&6
9853 echo "configure:9854: checking for X" >&5
9855 # Check whether --with-x or --without-x was given.
9856 if test "${with_x+set}" = set; then
9861 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9862 if test "x$with_x" = xno
; then
9863 # The user explicitly disabled X.
9866 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
9867 # Both variables are already set.
9870 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
9871 echo $ac_n "(cached) $ac_c" 1>&6
9873 # One or both of the vars are not set, and there is no cached value.
9874 ac_x_includes
=NO ac_x_libraries
=NO
9876 if mkdir conftestdir
; then
9878 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
9879 cat > Imakefile
<<'EOF'
9881 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
9883 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
9884 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
9885 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
9886 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9887 for ac_extension
in a so sl
; do
9888 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
9889 test -f $ac_im_libdir/libX11.
$ac_extension; then
9890 ac_im_usrlibdir
=$ac_im_libdir; break
9893 # Screen out bogus values from the imake configuration. They are
9894 # bogus both because they are the default anyway, and because
9895 # using them would break gcc on systems where it needs fixed includes.
9896 case "$ac_im_incroot" in
9898 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;;
9900 case "$ac_im_usrlibdir" in
9902 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;;
9909 if test "$ac_x_includes" = NO
; then
9910 # Guess where to find include files, by looking for this one X11 .h file.
9911 test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
9913 # First, try using that file with no special directory specified.
9914 cat > conftest.
$ac_ext <<EOF
9915 #line 9916 "configure"
9916 #include "confdefs.h"
9917 #include <$x_direct_test_include>
9919 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9920 { (eval echo configure
:9921: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9921 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9922 if test -z "$ac_err"; then
9924 # We can compile using X headers with no special include directory.
9928 echo "configure: failed program was:" >&5
9929 cat conftest.
$ac_ext >&5
9931 # Look for the header file in a standard set of common directories.
9932 # Check X11 before X11Rn because it is often a symlink to the current release.
9935 /usr
/X
11R
6/include \
9936 /usr
/X
11R
5/include \
9937 /usr
/X
11R
4/include \
9940 /usr
/include
/X11R6 \
9941 /usr
/include
/X11R5 \
9942 /usr
/include
/X11R4 \
9944 /usr
/local
/X
11/include \
9945 /usr
/local
/X
11R
6/include \
9946 /usr
/local
/X
11R
5/include \
9947 /usr
/local
/X
11R
4/include \
9949 /usr
/local
/include
/X11 \
9950 /usr
/local
/include
/X11R6 \
9951 /usr
/local
/include
/X11R5 \
9952 /usr
/local
/include
/X11R4 \
9956 /usr
/XFree
86/include
/X11 \
9959 /usr
/local
/include \
9960 /usr
/unsupported
/include \
9961 /usr
/athena
/include \
9962 /usr
/local
/x
11r
5/include \
9963 /usr
/lpp
/Xamples
/include \
9965 /usr
/openwin
/include \
9966 /usr
/openwin
/share
/include \
9969 if test -r "$ac_dir/$x_direct_test_include"; then
9970 ac_x_includes
=$ac_dir
9976 fi # $ac_x_includes = NO
9978 if test "$ac_x_libraries" = NO
; then
9979 # Check for the libraries.
9981 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
9982 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
9984 # See if we find them without any special options.
9985 # Don't add to $LIBS permanently.
9986 ac_save_LIBS
="$LIBS"
9987 LIBS
="-l$x_direct_test_library $LIBS"
9988 cat > conftest.
$ac_ext <<EOF
9989 #line 9990 "configure"
9990 #include "confdefs.h"
9993 ${x_direct_test_function}()
9996 if { (eval echo configure
:9997: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9998 LIBS
="$ac_save_LIBS"
9999 # We can link X programs with no special library path.
10002 echo "configure: failed program was:" >&5
10003 cat conftest.
$ac_ext >&5
10005 LIBS
="$ac_save_LIBS"
10006 # First see if replacing the include by lib works.
10007 # Check X11 before X11Rn because it is often a symlink to the current release.
10008 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib/` \
10019 /usr
/local
/X
11/lib \
10020 /usr
/local
/X
11R
6/lib \
10021 /usr
/local
/X
11R
5/lib \
10022 /usr
/local
/X
11R
4/lib \
10024 /usr
/local
/lib
/X11 \
10025 /usr
/local
/lib
/X11R6 \
10026 /usr
/local
/lib
/X11R5 \
10027 /usr
/local
/lib
/X11R4 \
10031 /usr
/XFree
86/lib
/X11 \
10035 /usr
/unsupported
/lib \
10037 /usr
/local
/x
11r
5/lib \
10038 /usr
/lpp
/Xamples
/lib \
10042 /usr
/openwin
/share
/lib \
10045 for ac_extension
in a so sl
; do
10046 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
10047 ac_x_libraries
=$ac_dir
10054 fi # $ac_x_libraries = NO
10056 if test "$ac_x_includes" = NO
|| test "$ac_x_libraries" = NO
; then
10057 # Didn't find X anywhere. Cache the known absence of X.
10058 ac_cv_have_x
="have_x=no"
10060 # Record where we found X for the cache.
10061 ac_cv_have_x
="have_x=yes \
10062 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
10066 eval "$ac_cv_have_x"
10069 if test "$have_x" != yes; then
10070 echo "$ac_t""$have_x" 1>&6
10073 # If each of the values was on the command line, it overrides each guess.
10074 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
10075 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
10076 # Update the cache value to reflect the command line values.
10077 ac_cv_have_x
="have_x=yes \
10078 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
10079 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
10082 if test "$no_x" = yes; then
10083 # Not all programs may use this symbol, but it does not hurt to define it.
10084 cat >> confdefs.h
<<\EOF
10085 #define X_DISPLAY_MISSING 1
10088 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
10090 if test -n "$x_includes"; then
10091 X_CFLAGS
="$X_CFLAGS -I$x_includes"
10094 # It would also be nice to do this for all -L options, not just this one.
10095 if test -n "$x_libraries"; then
10096 X_LIBS
="$X_LIBS -L$x_libraries"
10097 # For Solaris; some versions of Sun CC require a space after -R and
10098 # others require no space. Words are not sufficient . . . .
10099 case "`(uname -sr) 2>/dev/null`" in
10101 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
10102 echo "configure:10103: checking whether -R must be followed by a space" >&5
10103 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
10104 cat > conftest.
$ac_ext <<EOF
10105 #line 10106 "configure"
10106 #include "confdefs.h"
10112 if { (eval echo configure
:10113: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10116 echo "configure: failed program was:" >&5
10117 cat conftest.
$ac_ext >&5
10122 if test $ac_R_nospace = yes; then
10123 echo "$ac_t""no" 1>&6
10124 X_LIBS
="$X_LIBS -R$x_libraries"
10126 LIBS
="$ac_xsave_LIBS -R $x_libraries"
10127 cat > conftest.
$ac_ext <<EOF
10128 #line 10129 "configure"
10129 #include "confdefs.h"
10135 if { (eval echo configure
:10136: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10139 echo "configure: failed program was:" >&5
10140 cat conftest.
$ac_ext >&5
10145 if test $ac_R_space = yes; then
10146 echo "$ac_t""yes" 1>&6
10147 X_LIBS
="$X_LIBS -R $x_libraries"
10149 echo "$ac_t""neither works" 1>&6
10152 LIBS
="$ac_xsave_LIBS"
10156 # Check for system-dependent libraries X programs must link with.
10157 # Do this before checking for the system-independent R6 libraries
10158 # (-lICE), since we may need -lsocket or whatever for X linking.
10160 if test "$ISC" = yes; then
10161 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
10163 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
10164 # libraries were built with DECnet support. And karl@cs.umb.edu says
10165 # the Alpha needs dnet_stub (dnet does not exist).
10166 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
10167 echo "configure:10168: checking for dnet_ntoa in -ldnet" >&5
10168 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
10169 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10170 echo $ac_n "(cached) $ac_c" 1>&6
10172 ac_save_LIBS
="$LIBS"
10173 LIBS
="-ldnet $LIBS"
10174 cat > conftest.
$ac_ext <<EOF
10175 #line 10176 "configure"
10176 #include "confdefs.h"
10177 /* Override any gcc2 internal prototype to avoid an error. */
10178 /* We use char because int might match the return type of a gcc2
10179 builtin and then its argument prototype would still apply. */
10186 if { (eval echo configure
:10187: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10188 eval "ac_cv_lib_$ac_lib_var=yes"
10190 echo "configure: failed program was:" >&5
10191 cat conftest.
$ac_ext >&5
10193 eval "ac_cv_lib_$ac_lib_var=no"
10196 LIBS
="$ac_save_LIBS"
10199 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10200 echo "$ac_t""yes" 1>&6
10201 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
10203 echo "$ac_t""no" 1>&6
10206 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
10207 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
10208 echo "configure:10209: checking for dnet_ntoa in -ldnet_stub" >&5
10209 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
10210 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10211 echo $ac_n "(cached) $ac_c" 1>&6
10213 ac_save_LIBS
="$LIBS"
10214 LIBS
="-ldnet_stub $LIBS"
10215 cat > conftest.
$ac_ext <<EOF
10216 #line 10217 "configure"
10217 #include "confdefs.h"
10218 /* Override any gcc2 internal prototype to avoid an error. */
10219 /* We use char because int might match the return type of a gcc2
10220 builtin and then its argument prototype would still apply. */
10227 if { (eval echo configure
:10228: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10229 eval "ac_cv_lib_$ac_lib_var=yes"
10231 echo "configure: failed program was:" >&5
10232 cat conftest.
$ac_ext >&5
10234 eval "ac_cv_lib_$ac_lib_var=no"
10237 LIBS
="$ac_save_LIBS"
10240 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10241 echo "$ac_t""yes" 1>&6
10242 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
10244 echo "$ac_t""no" 1>&6
10249 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
10250 # to get the SysV transport functions.
10251 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
10253 # The nsl library prevents programs from opening the X display
10254 # on Irix 5.2, according to dickey@clark.net.
10255 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
10256 echo "configure:10257: checking for gethostbyname" >&5
10257 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
10258 echo $ac_n "(cached) $ac_c" 1>&6
10260 cat > conftest.
$ac_ext <<EOF
10261 #line 10262 "configure"
10262 #include "confdefs.h"
10263 /* System header to define __stub macros and hopefully few prototypes,
10264 which can conflict with char gethostbyname(); below. */
10265 #include <assert.h>
10266 /* Override any gcc2 internal prototype to avoid an error. */
10267 /* We use char because int might match the return type of a gcc2
10268 builtin and then its argument prototype would still apply. */
10269 char gethostbyname();
10273 /* The GNU C library defines this for functions which it implements
10274 to always fail with ENOSYS. Some functions are actually named
10275 something starting with __ and the normal name is an alias. */
10276 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
10284 if { (eval echo configure
:10285: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10286 eval "ac_cv_func_gethostbyname=yes"
10288 echo "configure: failed program was:" >&5
10289 cat conftest.
$ac_ext >&5
10291 eval "ac_cv_func_gethostbyname=no"
10296 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
10297 echo "$ac_t""yes" 1>&6
10300 echo "$ac_t""no" 1>&6
10303 if test $ac_cv_func_gethostbyname = no
; then
10304 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
10305 echo "configure:10306: checking for gethostbyname in -lnsl" >&5
10306 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
10307 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10308 echo $ac_n "(cached) $ac_c" 1>&6
10310 ac_save_LIBS
="$LIBS"
10312 cat > conftest.
$ac_ext <<EOF
10313 #line 10314 "configure"
10314 #include "confdefs.h"
10315 /* Override any gcc2 internal prototype to avoid an error. */
10316 /* We use char because int might match the return type of a gcc2
10317 builtin and then its argument prototype would still apply. */
10318 char gethostbyname();
10324 if { (eval echo configure
:10325: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10326 eval "ac_cv_lib_$ac_lib_var=yes"
10328 echo "configure: failed program was:" >&5
10329 cat conftest.
$ac_ext >&5
10331 eval "ac_cv_lib_$ac_lib_var=no"
10334 LIBS
="$ac_save_LIBS"
10337 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10338 echo "$ac_t""yes" 1>&6
10339 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
10341 echo "$ac_t""no" 1>&6
10346 # lieder@skyler.mavd.honeywell.com says without -lsocket,
10347 # socket/setsockopt and other routines are undefined under SCO ODT
10348 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
10349 # on later versions), says simon@lia.di.epfl.ch: it contains
10350 # gethostby* variants that don't use the nameserver (or something).
10351 # -lsocket must be given before -lnsl if both are needed.
10352 # We assume that if connect needs -lnsl, so does gethostbyname.
10353 echo $ac_n "checking for connect""... $ac_c" 1>&6
10354 echo "configure:10355: checking for connect" >&5
10355 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
10356 echo $ac_n "(cached) $ac_c" 1>&6
10358 cat > conftest.
$ac_ext <<EOF
10359 #line 10360 "configure"
10360 #include "confdefs.h"
10361 /* System header to define __stub macros and hopefully few prototypes,
10362 which can conflict with char connect(); below. */
10363 #include <assert.h>
10364 /* Override any gcc2 internal prototype to avoid an error. */
10365 /* We use char because int might match the return type of a gcc2
10366 builtin and then its argument prototype would still apply. */
10371 /* The GNU C library defines this for functions which it implements
10372 to always fail with ENOSYS. Some functions are actually named
10373 something starting with __ and the normal name is an alias. */
10374 #if defined (__stub_connect) || defined (__stub___connect)
10382 if { (eval echo configure
:10383: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10384 eval "ac_cv_func_connect=yes"
10386 echo "configure: failed program was:" >&5
10387 cat conftest.
$ac_ext >&5
10389 eval "ac_cv_func_connect=no"
10394 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
10395 echo "$ac_t""yes" 1>&6
10398 echo "$ac_t""no" 1>&6
10401 if test $ac_cv_func_connect = no
; then
10402 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
10403 echo "configure:10404: checking for connect in -lsocket" >&5
10404 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
10405 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10406 echo $ac_n "(cached) $ac_c" 1>&6
10408 ac_save_LIBS
="$LIBS"
10409 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
10410 cat > conftest.
$ac_ext <<EOF
10411 #line 10412 "configure"
10412 #include "confdefs.h"
10413 /* Override any gcc2 internal prototype to avoid an error. */
10414 /* We use char because int might match the return type of a gcc2
10415 builtin and then its argument prototype would still apply. */
10422 if { (eval echo configure
:10423: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10424 eval "ac_cv_lib_$ac_lib_var=yes"
10426 echo "configure: failed program was:" >&5
10427 cat conftest.
$ac_ext >&5
10429 eval "ac_cv_lib_$ac_lib_var=no"
10432 LIBS
="$ac_save_LIBS"
10435 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10436 echo "$ac_t""yes" 1>&6
10437 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
10439 echo "$ac_t""no" 1>&6
10444 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
10445 echo $ac_n "checking for remove""... $ac_c" 1>&6
10446 echo "configure:10447: checking for remove" >&5
10447 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
10448 echo $ac_n "(cached) $ac_c" 1>&6
10450 cat > conftest.
$ac_ext <<EOF
10451 #line 10452 "configure"
10452 #include "confdefs.h"
10453 /* System header to define __stub macros and hopefully few prototypes,
10454 which can conflict with char remove(); below. */
10455 #include <assert.h>
10456 /* Override any gcc2 internal prototype to avoid an error. */
10457 /* We use char because int might match the return type of a gcc2
10458 builtin and then its argument prototype would still apply. */
10463 /* The GNU C library defines this for functions which it implements
10464 to always fail with ENOSYS. Some functions are actually named
10465 something starting with __ and the normal name is an alias. */
10466 #if defined (__stub_remove) || defined (__stub___remove)
10474 if { (eval echo configure
:10475: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10476 eval "ac_cv_func_remove=yes"
10478 echo "configure: failed program was:" >&5
10479 cat conftest.
$ac_ext >&5
10481 eval "ac_cv_func_remove=no"
10486 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
10487 echo "$ac_t""yes" 1>&6
10490 echo "$ac_t""no" 1>&6
10493 if test $ac_cv_func_remove = no
; then
10494 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
10495 echo "configure:10496: checking for remove in -lposix" >&5
10496 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
10497 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10498 echo $ac_n "(cached) $ac_c" 1>&6
10500 ac_save_LIBS
="$LIBS"
10501 LIBS
="-lposix $LIBS"
10502 cat > conftest.
$ac_ext <<EOF
10503 #line 10504 "configure"
10504 #include "confdefs.h"
10505 /* Override any gcc2 internal prototype to avoid an error. */
10506 /* We use char because int might match the return type of a gcc2
10507 builtin and then its argument prototype would still apply. */
10514 if { (eval echo configure
:10515: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10516 eval "ac_cv_lib_$ac_lib_var=yes"
10518 echo "configure: failed program was:" >&5
10519 cat conftest.
$ac_ext >&5
10521 eval "ac_cv_lib_$ac_lib_var=no"
10524 LIBS
="$ac_save_LIBS"
10527 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10528 echo "$ac_t""yes" 1>&6
10529 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
10531 echo "$ac_t""no" 1>&6
10536 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
10537 echo $ac_n "checking for shmat""... $ac_c" 1>&6
10538 echo "configure:10539: checking for shmat" >&5
10539 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
10540 echo $ac_n "(cached) $ac_c" 1>&6
10542 cat > conftest.
$ac_ext <<EOF
10543 #line 10544 "configure"
10544 #include "confdefs.h"
10545 /* System header to define __stub macros and hopefully few prototypes,
10546 which can conflict with char shmat(); below. */
10547 #include <assert.h>
10548 /* Override any gcc2 internal prototype to avoid an error. */
10549 /* We use char because int might match the return type of a gcc2
10550 builtin and then its argument prototype would still apply. */
10555 /* The GNU C library defines this for functions which it implements
10556 to always fail with ENOSYS. Some functions are actually named
10557 something starting with __ and the normal name is an alias. */
10558 #if defined (__stub_shmat) || defined (__stub___shmat)
10566 if { (eval echo configure
:10567: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10568 eval "ac_cv_func_shmat=yes"
10570 echo "configure: failed program was:" >&5
10571 cat conftest.
$ac_ext >&5
10573 eval "ac_cv_func_shmat=no"
10578 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
10579 echo "$ac_t""yes" 1>&6
10582 echo "$ac_t""no" 1>&6
10585 if test $ac_cv_func_shmat = no
; then
10586 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
10587 echo "configure:10588: checking for shmat in -lipc" >&5
10588 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
10589 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10590 echo $ac_n "(cached) $ac_c" 1>&6
10592 ac_save_LIBS
="$LIBS"
10594 cat > conftest.
$ac_ext <<EOF
10595 #line 10596 "configure"
10596 #include "confdefs.h"
10597 /* Override any gcc2 internal prototype to avoid an error. */
10598 /* We use char because int might match the return type of a gcc2
10599 builtin and then its argument prototype would still apply. */
10606 if { (eval echo configure
:10607: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10608 eval "ac_cv_lib_$ac_lib_var=yes"
10610 echo "configure: failed program was:" >&5
10611 cat conftest.
$ac_ext >&5
10613 eval "ac_cv_lib_$ac_lib_var=no"
10616 LIBS
="$ac_save_LIBS"
10619 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10620 echo "$ac_t""yes" 1>&6
10621 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
10623 echo "$ac_t""no" 1>&6
10629 # Check for libraries that X11R6 Xt/Xaw programs need.
10630 ac_save_LDFLAGS
="$LDFLAGS"
10631 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
10632 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
10633 # check for ICE first), but we must link in the order -lSM -lICE or
10634 # we get undefined symbols. So assume we have SM if we have ICE.
10635 # These have to be linked with before -lX11, unlike the other
10636 # libraries we check for below, so use a different variable.
10637 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
10638 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
10639 echo "configure:10640: checking for IceConnectionNumber in -lICE" >&5
10640 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
10641 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10642 echo $ac_n "(cached) $ac_c" 1>&6
10644 ac_save_LIBS
="$LIBS"
10645 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
10646 cat > conftest.
$ac_ext <<EOF
10647 #line 10648 "configure"
10648 #include "confdefs.h"
10649 /* Override any gcc2 internal prototype to avoid an error. */
10650 /* We use char because int might match the return type of a gcc2
10651 builtin and then its argument prototype would still apply. */
10652 char IceConnectionNumber();
10655 IceConnectionNumber()
10658 if { (eval echo configure
:10659: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10660 eval "ac_cv_lib_$ac_lib_var=yes"
10662 echo "configure: failed program was:" >&5
10663 cat conftest.
$ac_ext >&5
10665 eval "ac_cv_lib_$ac_lib_var=no"
10668 LIBS
="$ac_save_LIBS"
10671 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10672 echo "$ac_t""yes" 1>&6
10673 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
10675 echo "$ac_t""no" 1>&6
10678 LDFLAGS
="$ac_save_LDFLAGS"
10682 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
10683 LDFLAGS
="$LDFLAGS $X_LIBS"
10685 if test "$wxUSE_MOTIF" = 1; then
10686 if test "$no_x" = "yes"; then
10687 { echo "configure: error: X11 not found" 1>&2; exit 1; }
10690 GUI_TK_LIBRARY
="$X_LIBS"
10691 TOOLKIT_INCLUDE
="$X_CFLAGS"
10692 AFMINSTALL
=afminstall
10693 COMPILED_X_PROGRAM
=0
10695 echo $ac_n "checking for Motif/Lesstif headers""... $ac_c" 1>&6
10696 echo "configure:10697: checking for Motif/Lesstif headers" >&5
10699 for ac_dir
in $SEARCH_INCLUDE;
10701 if test -f "$ac_dir/Xm/Xm.h"; then
10702 ac_find_includes
=$ac_dir
10707 if test "$ac_find_includes" != "" ; then
10708 echo "$ac_t""found $ac_find_includes" 1>&6
10710 cat > conftest.
$ac_ext <<EOF
10711 #line 10712 "configure"
10712 #include "confdefs.h"
10719 version = xmUseVersion;
10723 if { (eval echo configure
:10724: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10726 echo "$ac_t""found in default search path" 1>&6
10727 COMPILED_X_PROGRAM
=1
10730 echo "configure: failed program was:" >&5
10731 cat conftest.
$ac_ext >&5
10734 echo "$ac_t""no" 1>&6
10735 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
10742 if test "$COMPILED_X_PROGRAM" = 0; then
10743 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
10744 echo "configure:10745: checking for Motif/Lesstif library" >&5
10747 for ac_dir
in $SEARCH_LIB;
10749 for ac_extension
in a so sl dylib
; do
10750 if test -f "$ac_dir/libXm.$ac_extension"; then
10751 ac_find_libraries
=$ac_dir
10757 if test "$ac_find_libraries" != "" ; then
10759 ac_path_to_include
=$ac_find_includes
10760 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
10762 if test $result = 0; then
10763 ac_path_to_include
=""
10765 ac_path_to_include
="-I$ac_find_includes"
10769 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
10771 if test $result = 0; then
10774 ac_path_to_link
="-L$ac_find_libraries"
10778 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
10779 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE $ac_path_to_include"
10780 echo "$ac_t""found at $ac_find_libraries" 1>&6
10782 cat > conftest.
$ac_ext <<EOF
10783 #line 10784 "configure"
10784 #include "confdefs.h"
10791 version = xmUseVersion;
10795 if { (eval echo configure
:10796: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10798 echo "$ac_t""found in default search path" 1>&6
10799 COMPILED_X_PROGRAM
=1
10802 echo "configure: failed program was:" >&5
10803 cat conftest.
$ac_ext >&5
10806 echo "$ac_t""no" 1>&6
10807 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
10816 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
10817 echo "configure:10818: checking for Xpm library" >&5
10820 for ac_dir
in $SEARCH_LIB;
10822 for ac_extension
in a so sl dylib
; do
10823 if test -f "$ac_dir/libXpm.$ac_extension"; then
10824 ac_find_libraries
=$ac_dir
10830 if test "$ac_find_libraries" != "" ; then
10832 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
10834 if test $result = 0; then
10837 ac_path_to_link
="-L$ac_find_libraries"
10840 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
10842 cat >> confdefs.h
<<\EOF
10843 #define wxHAVE_LIB_XPM 1
10846 echo "$ac_t""found at $ac_find_libraries" 1>&6
10848 cat > conftest.
$ac_ext <<EOF
10849 #line 10850 "configure"
10850 #include "confdefs.h"
10852 #include <X11/xpm.h>
10857 version = XpmLibraryVersion();
10861 if { (eval echo configure
:10862: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10865 cat >> confdefs.h
<<\EOF
10866 #define wxHAVE_LIB_XPM 1
10869 echo "$ac_t""found in default search path" 1>&6
10870 COMPILED_X_PROGRAM
=0
10873 echo "configure: failed program was:" >&5
10874 cat conftest.
$ac_ext >&5
10877 echo "$ac_t""no" 1>&6
10878 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
10885 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm $xpm_link -lXmu -lXext -lXt -lX11"
10886 TOOLKIT_VPATH
="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo"
10891 if test "$wxUSE_MAC" = 1; then
10892 CPPFLAGS
="${CPPFLAGS} -cpp-precomp"
10893 CFLAGS
="${CFLAGS} -fpascal-strings"
10894 CXXFLAGS
="${CXXFLAGS} -fpascal-strings"
10895 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -DTARGET_CARBON"
10901 if test "$wxUSE_PM" = 1; then
10906 if test "$TOOLKIT" = "PM" ; then
10909 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
10912 PORT_FILES
="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
10914 if test "$wxUSE_UNIVERSAL" = "yes"; then
10915 wxUSE_MDI_ARCHITECTURE
=no
10916 echo "configure: warning: MDI is not supported for wxUNIVERSAL yet... disabling" 1>&2
10918 ALL_OBJECTS
="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
10919 PORT_FILES
="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
10920 TOOLKIT_VPATH
="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
10921 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
10924 ALL_OBJECTS
="\$(GUIOBJS)"
10927 ALL_OBJECTS
="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
10929 if test "$TOOLKIT" != "MSW"; then
10930 ALL_OBJECTS
="${ALL_OBJECTS} \$(UNIXOBJS)"
10933 if test "$wxUSE_HTML" = "yes"; then
10934 ALL_OBJECTS
="${ALL_OBJECTS} \$(HTMLOBJS)"
10937 if test "$TOOLKIT" != "MSW" -a "$wxUSE_ODBC" = "yes" ; then
10938 ALL_OBJECTS
="${ALL_OBJECTS} \$(IODBCOBJS)"
10940 if test "$wxUSE_LIBJPEG" = "yes" ; then
10941 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
10943 if test "$wxUSE_LIBTIFF" = "yes" ; then
10944 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
10946 if test "$wxUSE_LIBPNG" = "yes" ; then
10947 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
10949 if test "$wxUSE_FREETYPE" = "yes" ; then
10950 ALL_OBJECTS
="${ALL_OBJECTS} \$(FREETYPEOBJS)"
10953 RPM_FILES
="src/\$(TOOLKITDIR)/rpmfiles.lst"
10954 RPM_SPEC
="wx\$(TOOLKIT).spec"
10956 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
10957 DISTDIR
="wx\$(TOOLKIT)"
10963 if test "$USE_WIN32" = 1 ; then
10964 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_MSW_OBJS}"
10965 TOOLKIT_VPATH
="\${top_srcdir}/src/msw"
10969 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
10970 TOOLKIT_VPATH
="\${top_srcdir}/src/unix"
10973 PORT_FILES
="\${top_srcdir}/src/files.lst"
10974 RPM_FILES
="src/rpmfiles.lst"
10975 RPM_SPEC
="wxBase.spec"
10977 GUIDIST
="BASE_DIST"
10981 if test "x$REGEX_INCLUDE" != "x" ; then
10982 ALL_OBJECTS
="${ALL_OBJECTS} \$(REGEXOBJS)"
10984 if test "$wxUSE_ZLIB" = "yes" ; then
10985 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
10988 if test "$wxUSE_OPENGL" = "yes"; then
10989 if test "$wxUSE_MAC" = 1; then
10990 cat >> confdefs.h
<<\EOF
10991 #define wxUSE_OPENGL 1
10994 cat >> confdefs.h
<<\EOF
10995 #define wxUSE_GLCANVAS 1
10998 OPENGL_LIBS
="-framework OpenGL -framework AGL"
10999 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl"
11001 ac_safe
=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
11002 echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
11003 echo "configure:11004: checking for GL/gl.h" >&5
11004 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11005 echo $ac_n "(cached) $ac_c" 1>&6
11007 cat > conftest.
$ac_ext <<EOF
11008 #line 11009 "configure"
11009 #include "confdefs.h"
11012 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11013 { (eval echo configure
:11014: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11014 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11015 if test -z "$ac_err"; then
11017 eval "ac_cv_header_$ac_safe=yes"
11020 echo "configure: failed program was:" >&5
11021 cat conftest.
$ac_ext >&5
11023 eval "ac_cv_header_$ac_safe=no"
11027 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11028 echo "$ac_t""yes" 1>&6
11030 cat >> confdefs.h
<<\EOF
11031 #define wxUSE_OPENGL 1
11034 cat >> confdefs.h
<<\EOF
11035 #define wxUSE_GLCANVAS 1
11038 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl"
11039 echo $ac_n "checking for glFlush in -lGL""... $ac_c" 1>&6
11040 echo "configure:11041: checking for glFlush in -lGL" >&5
11041 ac_lib_var
=`echo GL'_'glFlush | sed 'y%./+-%__p_%'`
11042 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11043 echo $ac_n "(cached) $ac_c" 1>&6
11045 ac_save_LIBS
="$LIBS"
11047 cat > conftest.
$ac_ext <<EOF
11048 #line 11049 "configure"
11049 #include "confdefs.h"
11050 /* Override any gcc2 internal prototype to avoid an error. */
11051 /* We use char because int might match the return type of a gcc2
11052 builtin and then its argument prototype would still apply. */
11059 if { (eval echo configure
:11060: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11061 eval "ac_cv_lib_$ac_lib_var=yes"
11063 echo "configure: failed program was:" >&5
11064 cat conftest.
$ac_ext >&5
11066 eval "ac_cv_lib_$ac_lib_var=no"
11069 LIBS
="$ac_save_LIBS"
11072 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11073 echo "$ac_t""yes" 1>&6
11075 OPENGL_LIBS
="-lGL -lGLU"
11078 echo "$ac_t""no" 1>&6
11080 echo $ac_n "checking for glFlush in -lMesaGL""... $ac_c" 1>&6
11081 echo "configure:11082: checking for glFlush in -lMesaGL" >&5
11082 ac_lib_var
=`echo MesaGL'_'glFlush | sed 'y%./+-%__p_%'`
11083 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11084 echo $ac_n "(cached) $ac_c" 1>&6
11086 ac_save_LIBS
="$LIBS"
11087 LIBS
="-lMesaGL $LIBS"
11088 cat > conftest.
$ac_ext <<EOF
11089 #line 11090 "configure"
11090 #include "confdefs.h"
11091 /* Override any gcc2 internal prototype to avoid an error. */
11092 /* We use char because int might match the return type of a gcc2
11093 builtin and then its argument prototype would still apply. */
11100 if { (eval echo configure
:11101: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11102 eval "ac_cv_lib_$ac_lib_var=yes"
11104 echo "configure: failed program was:" >&5
11105 cat conftest.
$ac_ext >&5
11107 eval "ac_cv_lib_$ac_lib_var=no"
11110 LIBS
="$ac_save_LIBS"
11113 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11114 echo "$ac_t""yes" 1>&6
11116 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
11119 echo "$ac_t""no" 1>&6
11127 echo "$ac_t""no" 1>&6
11134 if test -z "$TOOLKIT_VPATH" ; then
11135 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}"
11138 if test -n "$TOOLKIT" ; then
11139 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
11142 if test "$wxUSE_CYGWIN" = 1 ; then
11143 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
11147 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
11149 TOOLCHAIN_NAME
="${TOOLCHAIN_NAME}d"
11152 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${WIDGET_SET}${lib_debug_suffix}-${WX_RELEASE}"
11153 TOOLCHAIN_NAME_GL
="${TOOLKIT_DIR}${WIDGET_SET}${lib_debug_suffix}_gl-${WX_RELEASE}"
11155 if test "$cross_compiling" = "yes"; then
11156 TOOLCHAIN_NAME
="${TOOLCHAIN_NAME}-${host_alias}"
11157 TOOLCHAIN_NAME_GL
="${TOOLCHAIN_NAME_GL}-${host_alias}"
11160 WX_LIBRARY
="wx_${TOOLCHAIN_NAME}"
11161 WX_LIBRARY_GL
="wx_${TOOLCHAIN_NAME_GL}"
11163 WXCONFIG_LIBS
="-l${WX_LIBRARY}"
11165 if test "$wxUSE_OPENGL" = "yes"; then
11166 WXCONFIG_LIBS_GL
="-l${WX_LIBRARY_GL} $OPENGL_LIBS"
11169 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
11170 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY_GL}.a"
11172 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
11173 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
11175 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
11176 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
11177 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
11178 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
11180 WX_RESOURCES_MACOSX
="lib${WX_LIBRARY}.rsrc"
11184 if test "$wxUSE_SHARED" = "yes"; then
11186 if test "$wxUSE_OPENGL" = "yes"; then
11187 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
11188 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_LINK1} \$(build_libdir)/${WX_LIBRARY_LINK1_GL}"
11190 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
11191 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_LINK1}"
11194 if test "$GCC" = "yes"; then
11198 SHARED_LD
="${CXX} -shared -o"
11202 if test "$GCC" != "yes"; then
11203 LDFLAGS
="-L/usr/lib"
11205 SHARED_LD
="${CXX} -b -o"
11209 if test "$wxUSE_OPENGL" = "yes"; then
11210 WX_ALL_INSTALLED
="preinstall_gl"
11211 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
11213 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
11218 if test "$GCC" != "yes"; then
11219 echo $ac_n "checking for Intel compiler""... $ac_c" 1>&6
11220 echo "configure:11221: checking for Intel compiler" >&5
11221 if eval "test \"`echo '$''{'wx_cv_prog_icc'+set}'`\" = set"; then
11222 echo $ac_n "(cached) $ac_c" 1>&6
11225 cat > conftest.
$ac_ext <<EOF
11226 #line 11227 "configure"
11227 #include "confdefs.h"
11231 #ifndef __INTEL_COMPILER
11237 if { (eval echo configure
:11238: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11241 echo "configure: failed program was:" >&5
11242 cat conftest.
$ac_ext >&5
11251 echo "$ac_t""$wx_cv_prog_icc" 1>&6
11252 if test "$wx_cv_prog_icc" = "yes"; then
11257 if test "$wxUSE_SONAME" = "yes" ; then
11258 SONAME_FLAGS
="-Wl,-soname,${WX_LIBRARY_LINK1}"
11259 SONAME_FLAGS_GL
="-Wl,-soname,${WX_LIBRARY_LINK1_GL}"
11260 WX_TARGET_LIBRARY_SONAME
="-Wl,-soname,\$(TARGETLIB_LINK1)"
11265 if test "$GCC" = yes ; then
11266 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
11268 SHARED_LD
="${CXX} -G -o"
11270 SONAME_FLAGS
="-h ${WX_LIBRARY_NAME_SHARED}"
11271 SONAME_FLAGS_GL
="-h ${WX_LIBRARY_NAME_SHARED}"
11276 CFLAGS
="${CFLAGS} -fno-common"
11277 CXXFLAGS
="${CXXFLAGS} -fno-common"
11278 SHARED_LD
="${CXX} -dynamiclib -o"
11279 PIC_FLAG
="-dynamic -fPIC"
11283 SHARED_LD
="/usr/lpp/xlC/bin/makeC++SharedLib -p 0 -o"
11286 *-*-cygwin* | *-*-mingw32* )
11287 SHARED_LD
="${CXX} -shared -Wl,--out-implib,lib/${WX_LIBRARY_NAME_STATIC} -o"
11288 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -DWXUSINGDLL=1"
11289 WXMSW_DLL_DEFINES
="-UWXUSINGDLL -DWXMAKINGDLL=1 -D_DLL=1 -D_WINDLL=1"
11291 if test "$wxUSE_OPENGL" = "yes"; then
11292 WX_ALL_INSTALLED
="preinstall_gl"
11293 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
11295 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
11305 SHARED_LD
="${LD} -shared -o"
11308 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
11310 *-*-irix5* | *-*-irix6* | \
11317 { echo "configure: error: unknown system type $host." 1>&2; exit 1; }
11320 if test "x$WX_TARGET_LIBRARY" = "x"; then
11321 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
11322 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
11325 WX_TARGET_LIBRARY_TYPE
="so"
11328 if test "$wxUSE_SHARED" = "no"; then
11330 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
11331 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
11334 if test "$wxUSE_OPENGL" = "yes"; then
11335 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_gl"
11336 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
11338 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
11341 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
11342 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
11344 WX_TARGET_LIBRARY_TYPE
="a"
11347 if test "$wxUSE_MAC" = 1; then
11348 WX_ALL
="${WX_ALL} \$(build_libdir)/lib${WX_LIBRARY}.r"
11349 # Extract the first word of "Rez", so it can be a program name with args.
11350 set dummy Rez
; ac_word
=$2
11351 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
11352 echo "configure:11353: checking for $ac_word" >&5
11353 if eval "test \"`echo '$''{'ac_cv_prog_RESCOMP'+set}'`\" = set"; then
11354 echo $ac_n "(cached) $ac_c" 1>&6
11356 if test -n "$RESCOMP"; then
11357 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
11359 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
11361 for ac_dir
in $ac_dummy; do
11362 test -z "$ac_dir" && ac_dir
=.
11363 if test -f $ac_dir/$ac_word; then
11364 ac_cv_prog_RESCOMP
="Rez"
11369 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
11372 RESCOMP
="$ac_cv_prog_RESCOMP"
11373 if test -n "$RESCOMP"; then
11374 echo "$ac_t""$RESCOMP" 1>&6
11376 echo "$ac_t""no" 1>&6
11379 # Extract the first word of "Derez", so it can be a program name with args.
11380 set dummy Derez
; ac_word
=$2
11381 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
11382 echo "configure:11383: checking for $ac_word" >&5
11383 if eval "test \"`echo '$''{'ac_cv_prog_DEREZ'+set}'`\" = set"; then
11384 echo $ac_n "(cached) $ac_c" 1>&6
11386 if test -n "$DEREZ"; then
11387 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
11389 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
11391 for ac_dir
in $ac_dummy; do
11392 test -z "$ac_dir" && ac_dir
=.
11393 if test -f $ac_dir/$ac_word; then
11394 ac_cv_prog_DEREZ
="Derez"
11399 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/Derez"
11402 DEREZ
="$ac_cv_prog_DEREZ"
11403 if test -n "$DEREZ"; then
11404 echo "$ac_t""$DEREZ" 1>&6
11406 echo "$ac_t""no" 1>&6
11409 LIBWXMACRES
="\$(top_builddir)/lib/lib${WX_LIBRARY}.r"
11410 LIBWXMACRESCOMP
="\$(RESCOMP) Carbon.r -t APPL ${LIBWXMACRES} -o \$(BIN_PROGRAM)"
11414 for ac_hdr
in strings.h
11416 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11417 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11418 echo "configure:11419: checking for $ac_hdr" >&5
11419 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11420 echo $ac_n "(cached) $ac_c" 1>&6
11422 cat > conftest.
$ac_ext <<EOF
11423 #line 11424 "configure"
11424 #include "confdefs.h"
11427 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11428 { (eval echo configure
:11429: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11429 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11430 if test -z "$ac_err"; then
11432 eval "ac_cv_header_$ac_safe=yes"
11435 echo "configure: failed program was:" >&5
11436 cat conftest.
$ac_ext >&5
11438 eval "ac_cv_header_$ac_safe=no"
11442 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11443 echo "$ac_t""yes" 1>&6
11444 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11445 cat >> confdefs.h
<<EOF
11446 #define $ac_tr_hdr 1
11450 echo "$ac_t""no" 1>&6
11454 for ac_hdr
in stdlib.h
11456 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11457 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11458 echo "configure:11459: checking for $ac_hdr" >&5
11459 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11460 echo $ac_n "(cached) $ac_c" 1>&6
11462 cat > conftest.
$ac_ext <<EOF
11463 #line 11464 "configure"
11464 #include "confdefs.h"
11467 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11468 { (eval echo configure
:11469: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11469 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11470 if test -z "$ac_err"; then
11472 eval "ac_cv_header_$ac_safe=yes"
11475 echo "configure: failed program was:" >&5
11476 cat conftest.
$ac_ext >&5
11478 eval "ac_cv_header_$ac_safe=no"
11482 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11483 echo "$ac_t""yes" 1>&6
11484 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11485 cat >> confdefs.h
<<EOF
11486 #define $ac_tr_hdr 1
11490 echo "$ac_t""no" 1>&6
11494 for ac_hdr
in unistd.h
11496 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11497 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11498 echo "configure:11499: checking for $ac_hdr" >&5
11499 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11500 echo $ac_n "(cached) $ac_c" 1>&6
11502 cat > conftest.
$ac_ext <<EOF
11503 #line 11504 "configure"
11504 #include "confdefs.h"
11507 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11508 { (eval echo configure
:11509: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11509 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11510 if test -z "$ac_err"; then
11512 eval "ac_cv_header_$ac_safe=yes"
11515 echo "configure: failed program was:" >&5
11516 cat conftest.
$ac_ext >&5
11518 eval "ac_cv_header_$ac_safe=no"
11522 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11523 echo "$ac_t""yes" 1>&6
11524 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11525 cat >> confdefs.h
<<EOF
11526 #define $ac_tr_hdr 1
11530 echo "$ac_t""no" 1>&6
11534 for ac_hdr
in wchar.h
11536 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11537 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11538 echo "configure:11539: checking for $ac_hdr" >&5
11539 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11540 echo $ac_n "(cached) $ac_c" 1>&6
11542 cat > conftest.
$ac_ext <<EOF
11543 #line 11544 "configure"
11544 #include "confdefs.h"
11547 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11548 { (eval echo configure
:11549: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11549 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11550 if test -z "$ac_err"; then
11552 eval "ac_cv_header_$ac_safe=yes"
11555 echo "configure: failed program was:" >&5
11556 cat conftest.
$ac_ext >&5
11558 eval "ac_cv_header_$ac_safe=no"
11562 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11563 echo "$ac_t""yes" 1>&6
11564 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11565 cat >> confdefs.h
<<EOF
11566 #define $ac_tr_hdr 1
11570 echo "$ac_t""no" 1>&6
11574 for ac_hdr
in wcstr.h
11576 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11577 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11578 echo "configure:11579: checking for $ac_hdr" >&5
11579 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11580 echo $ac_n "(cached) $ac_c" 1>&6
11582 cat > conftest.
$ac_ext <<EOF
11583 #line 11584 "configure"
11584 #include "confdefs.h"
11587 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11588 { (eval echo configure
:11589: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11589 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11590 if test -z "$ac_err"; then
11592 eval "ac_cv_header_$ac_safe=yes"
11595 echo "configure: failed program was:" >&5
11596 cat conftest.
$ac_ext >&5
11598 eval "ac_cv_header_$ac_safe=no"
11602 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11603 echo "$ac_t""yes" 1>&6
11604 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11605 cat >> confdefs.h
<<EOF
11606 #define $ac_tr_hdr 1
11610 echo "$ac_t""no" 1>&6
11614 for ac_hdr
in fnmatch.h
11616 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11617 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11618 echo "configure:11619: checking for $ac_hdr" >&5
11619 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11620 echo $ac_n "(cached) $ac_c" 1>&6
11622 cat > conftest.
$ac_ext <<EOF
11623 #line 11624 "configure"
11624 #include "confdefs.h"
11627 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11628 { (eval echo configure
:11629: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11629 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11630 if test -z "$ac_err"; then
11632 eval "ac_cv_header_$ac_safe=yes"
11635 echo "configure: failed program was:" >&5
11636 cat conftest.
$ac_ext >&5
11638 eval "ac_cv_header_$ac_safe=no"
11642 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11643 echo "$ac_t""yes" 1>&6
11644 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11645 cat >> confdefs.h
<<EOF
11646 #define $ac_tr_hdr 1
11650 echo "$ac_t""no" 1>&6
11654 for ac_hdr
in iconv.h
11656 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11657 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11658 echo "configure:11659: checking for $ac_hdr" >&5
11659 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11660 echo $ac_n "(cached) $ac_c" 1>&6
11662 cat > conftest.
$ac_ext <<EOF
11663 #line 11664 "configure"
11664 #include "confdefs.h"
11667 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11668 { (eval echo configure
:11669: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11669 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11670 if test -z "$ac_err"; then
11672 eval "ac_cv_header_$ac_safe=yes"
11675 echo "configure: failed program was:" >&5
11676 cat conftest.
$ac_ext >&5
11678 eval "ac_cv_header_$ac_safe=no"
11682 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11683 echo "$ac_t""yes" 1>&6
11684 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11685 cat >> confdefs.h
<<EOF
11686 #define $ac_tr_hdr 1
11690 echo "$ac_t""no" 1>&6
11694 for ac_hdr
in langinfo.h
11696 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11697 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11698 echo "configure:11699: checking for $ac_hdr" >&5
11699 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11700 echo $ac_n "(cached) $ac_c" 1>&6
11702 cat > conftest.
$ac_ext <<EOF
11703 #line 11704 "configure"
11704 #include "confdefs.h"
11707 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11708 { (eval echo configure
:11709: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11709 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11710 if test -z "$ac_err"; then
11712 eval "ac_cv_header_$ac_safe=yes"
11715 echo "configure: failed program was:" >&5
11716 cat conftest.
$ac_ext >&5
11718 eval "ac_cv_header_$ac_safe=no"
11722 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11723 echo "$ac_t""yes" 1>&6
11724 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11725 cat >> confdefs.h
<<EOF
11726 #define $ac_tr_hdr 1
11730 echo "$ac_t""no" 1>&6
11735 if test "$wxUSE_GUI" = "yes"; then
11736 if test "$wxUSE_UNIX" = "yes"; then
11737 for ac_hdr
in X
11/XKBlib.h
11739 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11740 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11741 echo "configure:11742: checking for $ac_hdr" >&5
11742 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11743 echo $ac_n "(cached) $ac_c" 1>&6
11745 cat > conftest.
$ac_ext <<EOF
11746 #line 11747 "configure"
11747 #include "confdefs.h"
11750 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11751 { (eval echo configure
:11752: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11752 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11753 if test -z "$ac_err"; then
11755 eval "ac_cv_header_$ac_safe=yes"
11758 echo "configure: failed program was:" >&5
11759 cat conftest.
$ac_ext >&5
11761 eval "ac_cv_header_$ac_safe=no"
11765 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11766 echo "$ac_t""yes" 1>&6
11767 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11768 cat >> confdefs.h
<<EOF
11769 #define $ac_tr_hdr 1
11773 echo "$ac_t""no" 1>&6
11781 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
11782 echo "configure:11783: checking for ANSI C header files" >&5
11783 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
11784 echo $ac_n "(cached) $ac_c" 1>&6
11786 cat > conftest.
$ac_ext <<EOF
11787 #line 11788 "configure"
11788 #include "confdefs.h"
11789 #include <stdlib.h>
11790 #include <stdarg.h>
11791 #include <string.h>
11794 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11795 { (eval echo configure
:11796: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11796 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11797 if test -z "$ac_err"; then
11799 ac_cv_header_stdc
=yes
11802 echo "configure: failed program was:" >&5
11803 cat conftest.
$ac_ext >&5
11805 ac_cv_header_stdc
=no
11809 if test $ac_cv_header_stdc = yes; then
11810 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11811 cat > conftest.
$ac_ext <<EOF
11812 #line 11813 "configure"
11813 #include "confdefs.h"
11814 #include <string.h>
11816 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11817 egrep "memchr" >/dev
/null
2>&1; then
11821 ac_cv_header_stdc
=no
11827 if test $ac_cv_header_stdc = yes; then
11828 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
11829 cat > conftest.
$ac_ext <<EOF
11830 #line 11831 "configure"
11831 #include "confdefs.h"
11832 #include <stdlib.h>
11834 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11835 egrep "free" >/dev
/null
2>&1; then
11839 ac_cv_header_stdc
=no
11845 if test $ac_cv_header_stdc = yes; then
11846 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
11847 if test "$cross_compiling" = yes; then
11850 cat > conftest.
$ac_ext <<EOF
11851 #line 11852 "configure"
11852 #include "confdefs.h"
11854 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
11855 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
11856 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
11857 int main () { int i; for (i = 0; i < 256; i++)
11858 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
11862 if { (eval echo configure
:11863: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11866 echo "configure: failed program was:" >&5
11867 cat conftest.
$ac_ext >&5
11869 ac_cv_header_stdc
=no
11877 echo "$ac_t""$ac_cv_header_stdc" 1>&6
11878 if test $ac_cv_header_stdc = yes; then
11879 cat >> confdefs.h
<<\EOF
11880 #define STDC_HEADERS 1
11885 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
11886 echo "configure:11887: checking for mode_t" >&5
11887 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
11888 echo $ac_n "(cached) $ac_c" 1>&6
11890 cat > conftest.
$ac_ext <<EOF
11891 #line 11892 "configure"
11892 #include "confdefs.h"
11893 #include <sys/types.h>
11895 #include <stdlib.h>
11896 #include <stddef.h>
11899 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11900 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
11902 ac_cv_type_mode_t
=yes
11905 ac_cv_type_mode_t
=no
11910 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
11911 if test $ac_cv_type_mode_t = no
; then
11912 cat >> confdefs.h
<<\EOF
11918 echo $ac_n "checking for off_t""... $ac_c" 1>&6
11919 echo "configure:11920: checking for off_t" >&5
11920 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
11921 echo $ac_n "(cached) $ac_c" 1>&6
11923 cat > conftest.
$ac_ext <<EOF
11924 #line 11925 "configure"
11925 #include "confdefs.h"
11926 #include <sys/types.h>
11928 #include <stdlib.h>
11929 #include <stddef.h>
11932 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11933 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
11935 ac_cv_type_off_t
=yes
11938 ac_cv_type_off_t
=no
11943 echo "$ac_t""$ac_cv_type_off_t" 1>&6
11944 if test $ac_cv_type_off_t = no
; then
11945 cat >> confdefs.h
<<\EOF
11951 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
11952 echo "configure:11953: checking for pid_t" >&5
11953 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
11954 echo $ac_n "(cached) $ac_c" 1>&6
11956 cat > conftest.
$ac_ext <<EOF
11957 #line 11958 "configure"
11958 #include "confdefs.h"
11959 #include <sys/types.h>
11961 #include <stdlib.h>
11962 #include <stddef.h>
11965 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11966 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
11968 ac_cv_type_pid_t
=yes
11971 ac_cv_type_pid_t
=no
11976 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
11977 if test $ac_cv_type_pid_t = no
; then
11978 cat >> confdefs.h
<<\EOF
11984 echo $ac_n "checking for size_t""... $ac_c" 1>&6
11985 echo "configure:11986: checking for size_t" >&5
11986 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
11987 echo $ac_n "(cached) $ac_c" 1>&6
11989 cat > conftest.
$ac_ext <<EOF
11990 #line 11991 "configure"
11991 #include "confdefs.h"
11992 #include <sys/types.h>
11994 #include <stdlib.h>
11995 #include <stddef.h>
11998 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11999 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
12001 ac_cv_type_size_t
=yes
12004 ac_cv_type_size_t
=no
12009 echo "$ac_t""$ac_cv_type_size_t" 1>&6
12010 if test $ac_cv_type_size_t = no
; then
12011 cat >> confdefs.h
<<\EOF
12012 #define size_t unsigned
12017 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
12018 echo "configure:12019: checking for uid_t in sys/types.h" >&5
12019 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
12020 echo $ac_n "(cached) $ac_c" 1>&6
12022 cat > conftest.
$ac_ext <<EOF
12023 #line 12024 "configure"
12024 #include "confdefs.h"
12025 #include <sys/types.h>
12027 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12028 egrep "uid_t" >/dev
/null
2>&1; then
12030 ac_cv_type_uid_t
=yes
12033 ac_cv_type_uid_t
=no
12039 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
12040 if test $ac_cv_type_uid_t = no
; then
12041 cat >> confdefs.h
<<\EOF
12045 cat >> confdefs.h
<<\EOF
12052 echo $ac_n "checking for wchar_t""... $ac_c" 1>&6
12053 echo "configure:12054: checking for wchar_t" >&5
12054 if eval "test \"`echo '$''{'wx_cv_type_wchar_t'+set}'`\" = set"; then
12055 echo $ac_n "(cached) $ac_c" 1>&6
12058 cat > conftest.
$ac_ext <<EOF
12059 #line 12060 "configure"
12060 #include "confdefs.h"
12066 ws = L"Hello, world!";
12070 if { (eval echo configure
:12071: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12072 wx_cv_type_wchar_t
=yes
12074 echo "configure: failed program was:" >&5
12075 cat conftest.
$ac_ext >&5
12077 cat > conftest.
$ac_ext <<EOF
12078 #line 12079 "configure"
12079 #include "confdefs.h"
12080 #include <stdlib.h>
12085 ws = L"Hello, world!";
12089 if { (eval echo configure
:12090: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12091 wx_cv_type_wchar_t
=yes
12093 echo "configure: failed program was:" >&5
12094 cat conftest.
$ac_ext >&5
12096 wx_cv_type_wchar_t
=no
12105 echo "$ac_t""$wx_cv_type_wchar_t" 1>&6
12107 if test "$wx_cv_type_wchar_t" = "yes"; then
12108 cat >> confdefs.h
<<\EOF
12109 #define wxUSE_WCHAR_T 1
12116 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12117 ac_cpp
='$CXXCPP $CPPFLAGS'
12118 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12119 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12120 cross_compiling
=$ac_cv_prog_cxx_cross
12122 echo $ac_n "checking if size_t is unsigned int""... $ac_c" 1>&6
12123 echo "configure:12124: checking if size_t is unsigned int" >&5
12124 if eval "test \"`echo '$''{'wx_cv_size_t_is_uint'+set}'`\" = set"; then
12125 echo $ac_n "(cached) $ac_c" 1>&6
12127 cat > conftest.
$ac_ext <<EOF
12128 #line 12129 "configure"
12129 #include "confdefs.h"
12130 #include <stddef.h>
12135 struct Foo { void foo(size_t); void foo(unsigned int); };
12141 if { (eval echo configure
:12142: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12143 wx_cv_size_t_is_uint
=no
12145 echo "configure: failed program was:" >&5
12146 cat conftest.
$ac_ext >&5
12148 wx_cv_size_t_is_uint
=yes
12155 echo "$ac_t""$wx_cv_size_t_is_uint" 1>&6
12157 if test "$wx_cv_size_t_is_uint" = "yes"; then
12158 cat >> confdefs.h
<<\EOF
12159 #define wxSIZE_T_IS_UINT 1
12163 echo $ac_n "checking if size_t is unsigned long""... $ac_c" 1>&6
12164 echo "configure:12165: checking if size_t is unsigned long" >&5
12165 if eval "test \"`echo '$''{'wx_cv_size_t_is_ulong'+set}'`\" = set"; then
12166 echo $ac_n "(cached) $ac_c" 1>&6
12168 cat > conftest.
$ac_ext <<EOF
12169 #line 12170 "configure"
12170 #include "confdefs.h"
12171 #include <stddef.h>
12176 struct Foo { void foo(size_t); void foo(unsigned long); };
12182 if { (eval echo configure
:12183: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12184 wx_cv_size_t_is_ulong
=no
12186 echo "configure: failed program was:" >&5
12187 cat conftest.
$ac_ext >&5
12189 wx_cv_size_t_is_ulong
=yes
12196 echo "$ac_t""$wx_cv_size_t_is_ulong" 1>&6
12198 if test "$wx_cv_size_t_is_ulong" = "yes"; then
12199 cat >> confdefs.h
<<\EOF
12200 #define wxSIZE_T_IS_ULONG 1
12207 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12208 ac_cpp
='$CPP $CPPFLAGS'
12209 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12210 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12211 cross_compiling
=$ac_cv_prog_cc_cross
12215 echo $ac_n "checking for pw_gecos in struct passwd""... $ac_c" 1>&6
12216 echo "configure:12217: checking for pw_gecos in struct passwd" >&5
12217 if eval "test \"`echo '$''{'wx_cv_struct_pw_gecos'+set}'`\" = set"; then
12218 echo $ac_n "(cached) $ac_c" 1>&6
12221 cat > conftest.
$ac_ext <<EOF
12222 #line 12223 "configure"
12223 #include "confdefs.h"
12233 if { (eval echo configure
:12234: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12236 wx_cv_struct_pw_gecos
=yes
12239 echo "configure: failed program was:" >&5
12240 cat conftest.
$ac_ext >&5
12243 wx_cv_struct_pw_gecos
=no
12252 echo "$ac_t""$wx_cv_struct_pw_gecos" 1>&6
12254 if test "$wx_cv_struct_pw_gecos" = "yes"; then
12255 cat >> confdefs.h
<<\EOF
12256 #define HAVE_PW_GECOS 1
12262 echo $ac_n "checking for working const""... $ac_c" 1>&6
12263 echo "configure:12264: checking for working const" >&5
12264 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
12265 echo $ac_n "(cached) $ac_c" 1>&6
12267 cat > conftest.
$ac_ext <<EOF
12268 #line 12269 "configure"
12269 #include "confdefs.h"
12273 /* Ultrix mips cc rejects this. */
12274 typedef int charset[2]; const charset x;
12275 /* SunOS 4.1.1 cc rejects this. */
12276 char const *const *ccp;
12278 /* NEC SVR4.0.2 mips cc rejects this. */
12279 struct point {int x, y;};
12280 static struct point const zero = {0,0};
12281 /* AIX XL C 1.02.0.0 rejects this.
12282 It does not let you subtract one const X* pointer from another in an arm
12283 of an if-expression whose if-part is not a constant expression */
12284 const char *g = "string";
12285 ccp = &g + (g ? g-g : 0);
12286 /* HPUX 7.0 cc rejects these. */
12289 ccp = (char const *const *) p;
12290 { /* SCO 3.2v4 cc rejects this. */
12292 char const *s = 0 ? (char *) 0 : (char const *) 0;
12296 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
12297 int x[] = {25, 17};
12298 const int *foo = &x[0];
12301 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
12302 typedef const int *iptr;
12306 { /* AIX XL C 1.02.0.0 rejects this saying
12307 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
12308 struct s { int j; const int *ap[3]; };
12309 struct s *b; b->j = 5;
12311 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
12312 const int foo = 10;
12317 if { (eval echo configure
:12318: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12321 echo "configure: failed program was:" >&5
12322 cat conftest.
$ac_ext >&5
12329 echo "$ac_t""$ac_cv_c_const" 1>&6
12330 if test $ac_cv_c_const = no
; then
12331 cat >> confdefs.h
<<\EOF
12337 echo $ac_n "checking for inline""... $ac_c" 1>&6
12338 echo "configure:12339: checking for inline" >&5
12339 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
12340 echo $ac_n "(cached) $ac_c" 1>&6
12343 for ac_kw
in inline __inline__ __inline
; do
12344 cat > conftest.
$ac_ext <<EOF
12345 #line 12346 "configure"
12346 #include "confdefs.h"
12352 if { (eval echo configure
:12353: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12354 ac_cv_c_inline
=$ac_kw; break
12356 echo "configure: failed program was:" >&5
12357 cat conftest.
$ac_ext >&5
12364 echo "$ac_t""$ac_cv_c_inline" 1>&6
12365 case "$ac_cv_c_inline" in
12367 no
) cat >> confdefs.h
<<\EOF
12371 *) cat >> confdefs.h
<<EOF
12372 #define inline $ac_cv_c_inline
12378 echo $ac_n "checking size of char""... $ac_c" 1>&6
12379 echo "configure:12380: checking size of char" >&5
12380 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
12381 echo $ac_n "(cached) $ac_c" 1>&6
12383 if test "$cross_compiling" = yes; then
12384 ac_cv_sizeof_char
=1
12386 cat > conftest.
$ac_ext <<EOF
12387 #line 12388 "configure"
12388 #include "confdefs.h"
12390 #include <sys/types.h>
12393 FILE *f=fopen("conftestval", "w");
12395 fprintf(f, "%d\n", sizeof(char));
12399 if { (eval echo configure
:12400: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12401 ac_cv_sizeof_char
=`cat conftestval`
12403 echo "configure: failed program was:" >&5
12404 cat conftest.
$ac_ext >&5
12406 ac_cv_sizeof_char
=0
12412 echo "$ac_t""$ac_cv_sizeof_char" 1>&6
12413 cat >> confdefs.h
<<EOF
12414 #define SIZEOF_CHAR $ac_cv_sizeof_char
12418 echo $ac_n "checking size of short""... $ac_c" 1>&6
12419 echo "configure:12420: checking size of short" >&5
12420 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
12421 echo $ac_n "(cached) $ac_c" 1>&6
12423 if test "$cross_compiling" = yes; then
12424 ac_cv_sizeof_short
=2
12426 cat > conftest.
$ac_ext <<EOF
12427 #line 12428 "configure"
12428 #include "confdefs.h"
12430 #include <sys/types.h>
12433 FILE *f=fopen("conftestval", "w");
12435 fprintf(f, "%d\n", sizeof(short));
12439 if { (eval echo configure
:12440: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12441 ac_cv_sizeof_short
=`cat conftestval`
12443 echo "configure: failed program was:" >&5
12444 cat conftest.
$ac_ext >&5
12446 ac_cv_sizeof_short
=0
12452 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
12453 cat >> confdefs.h
<<EOF
12454 #define SIZEOF_SHORT $ac_cv_sizeof_short
12458 echo $ac_n "checking size of int *""... $ac_c" 1>&6
12459 echo "configure:12460: checking size of int *" >&5
12460 if eval "test \"`echo '$''{'ac_cv_sizeof_int_p'+set}'`\" = set"; then
12461 echo $ac_n "(cached) $ac_c" 1>&6
12463 if test "$cross_compiling" = yes; then
12464 ac_cv_sizeof_int_p
=4
12466 cat > conftest.
$ac_ext <<EOF
12467 #line 12468 "configure"
12468 #include "confdefs.h"
12470 #include <sys/types.h>
12473 FILE *f=fopen("conftestval", "w");
12475 fprintf(f, "%d\n", sizeof(int *));
12479 if { (eval echo configure
:12480: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12481 ac_cv_sizeof_int_p
=`cat conftestval`
12483 echo "configure: failed program was:" >&5
12484 cat conftest.
$ac_ext >&5
12486 ac_cv_sizeof_int_p
=0
12492 echo "$ac_t""$ac_cv_sizeof_int_p" 1>&6
12493 cat >> confdefs.h
<<EOF
12494 #define SIZEOF_INT_P $ac_cv_sizeof_int_p
12498 echo $ac_n "checking size of int""... $ac_c" 1>&6
12499 echo "configure:12500: checking size of int" >&5
12500 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
12501 echo $ac_n "(cached) $ac_c" 1>&6
12503 if test "$cross_compiling" = yes; then
12506 cat > conftest.
$ac_ext <<EOF
12507 #line 12508 "configure"
12508 #include "confdefs.h"
12510 #include <sys/types.h>
12513 FILE *f=fopen("conftestval", "w");
12515 fprintf(f, "%d\n", sizeof(int));
12519 if { (eval echo configure
:12520: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12521 ac_cv_sizeof_int
=`cat conftestval`
12523 echo "configure: failed program was:" >&5
12524 cat conftest.
$ac_ext >&5
12532 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
12533 cat >> confdefs.h
<<EOF
12534 #define SIZEOF_INT $ac_cv_sizeof_int
12538 echo $ac_n "checking size of long""... $ac_c" 1>&6
12539 echo "configure:12540: checking size of long" >&5
12540 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
12541 echo $ac_n "(cached) $ac_c" 1>&6
12543 if test "$cross_compiling" = yes; then
12544 ac_cv_sizeof_long
=4
12546 cat > conftest.
$ac_ext <<EOF
12547 #line 12548 "configure"
12548 #include "confdefs.h"
12550 #include <sys/types.h>
12553 FILE *f=fopen("conftestval", "w");
12555 fprintf(f, "%d\n", sizeof(long));
12559 if { (eval echo configure
:12560: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12561 ac_cv_sizeof_long
=`cat conftestval`
12563 echo "configure: failed program was:" >&5
12564 cat conftest.
$ac_ext >&5
12566 ac_cv_sizeof_long
=0
12572 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
12573 cat >> confdefs.h
<<EOF
12574 #define SIZEOF_LONG $ac_cv_sizeof_long
12578 echo $ac_n "checking size of long long""... $ac_c" 1>&6
12579 echo "configure:12580: checking size of long long" >&5
12580 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
12581 echo $ac_n "(cached) $ac_c" 1>&6
12583 if test "$cross_compiling" = yes; then
12584 ac_cv_sizeof_long_long
=0
12586 cat > conftest.
$ac_ext <<EOF
12587 #line 12588 "configure"
12588 #include "confdefs.h"
12590 #include <sys/types.h>
12593 FILE *f=fopen("conftestval", "w");
12595 fprintf(f, "%d\n", sizeof(long long));
12599 if { (eval echo configure
:12600: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12601 ac_cv_sizeof_long_long
=`cat conftestval`
12603 echo "configure: failed program was:" >&5
12604 cat conftest.
$ac_ext >&5
12606 ac_cv_sizeof_long_long
=0
12612 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
12613 cat >> confdefs.h
<<EOF
12614 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
12619 echo $ac_n "checking size of wchar_t""... $ac_c" 1>&6
12620 echo "configure:12621: checking size of wchar_t" >&5
12621 if eval "test \"`echo '$''{'wx_cv_sizeof_wchar_t'+set}'`\" = set"; then
12622 echo $ac_n "(cached) $ac_c" 1>&6
12625 if test "$cross_compiling" = yes; then
12626 wx_cv_sizeof_wchar_t
=4
12629 cat > conftest.
$ac_ext <<EOF
12630 #line 12631 "configure"
12631 #include "confdefs.h"
12633 #ifdef HAVE_WCHAR_H
12634 # include <wchar.h>
12636 #ifdef HAVE_STDLIB_H
12637 # include <stdlib.h>
12642 FILE *f=fopen("conftestval", "w");
12644 fprintf(f, "%i", sizeof(wchar_t));
12649 if { (eval echo configure
:12650: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12651 wx_cv_sizeof_wchar_t
=`cat conftestval`
12653 echo "configure: failed program was:" >&5
12654 cat conftest.
$ac_ext >&5
12656 wx_cv_sizeof_wchar_t
=0
12664 echo "$ac_t""$wx_cv_sizeof_wchar_t" 1>&6
12666 cat >> confdefs.h
<<EOF
12667 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
12671 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
12672 echo "configure:12673: checking whether byte ordering is bigendian" >&5
12673 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
12674 echo $ac_n "(cached) $ac_c" 1>&6
12676 ac_cv_c_bigendian
=unknown
12677 # See if sys/param.h defines the BYTE_ORDER macro.
12678 cat > conftest.
$ac_ext <<EOF
12679 #line 12680 "configure"
12680 #include "confdefs.h"
12681 #include <sys/types.h>
12682 #include <sys/param.h>
12685 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
12686 bogus endian macros
12690 if { (eval echo configure
:12691: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12692 # It does; now see whether it defined to BIG_ENDIAN or not.
12693 cat > conftest.
$ac_ext <<EOF
12694 #line 12695 "configure"
12695 #include "confdefs.h"
12696 #include <sys/types.h>
12697 #include <sys/param.h>
12700 #if BYTE_ORDER != BIG_ENDIAN
12705 if { (eval echo configure
:12706: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12707 ac_cv_c_bigendian
=yes
12709 echo "configure: failed program was:" >&5
12710 cat conftest.
$ac_ext >&5
12712 ac_cv_c_bigendian
=no
12716 echo "configure: failed program was:" >&5
12717 cat conftest.
$ac_ext >&5
12720 if test $ac_cv_c_bigendian = unknown
; then
12721 if test "$cross_compiling" = yes; then
12722 ac_cv_c_bigendian
=unknown
12724 cat > conftest.
$ac_ext <<EOF
12725 #line 12726 "configure"
12726 #include "confdefs.h"
12728 /* Are we little or big endian? From Harbison&Steele. */
12732 char c[sizeof (long)];
12735 exit (u.c[sizeof (long) - 1] == 1);
12738 if { (eval echo configure
:12739: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12740 ac_cv_c_bigendian
=no
12742 echo "configure: failed program was:" >&5
12743 cat conftest.
$ac_ext >&5
12745 ac_cv_c_bigendian
=yes
12753 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
12754 if test $ac_cv_c_bigendian = unknown
; then
12755 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
12757 if test $ac_cv_c_bigendian = yes; then
12758 cat >> confdefs.h
<<\EOF
12759 #define WORDS_BIGENDIAN 1
12765 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
12766 echo "configure:12767: checking how to run the C++ preprocessor" >&5
12767 if test -z "$CXXCPP"; then
12768 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
12769 echo $ac_n "(cached) $ac_c" 1>&6
12772 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12773 ac_cpp
='$CXXCPP $CPPFLAGS'
12774 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12775 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12776 cross_compiling
=$ac_cv_prog_cxx_cross
12777 CXXCPP
="${CXX-g++} -E"
12778 cat > conftest.
$ac_ext <<EOF
12779 #line 12780 "configure"
12780 #include "confdefs.h"
12781 #include <stdlib.h>
12783 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12784 { (eval echo configure
:12785: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12785 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12786 if test -z "$ac_err"; then
12790 echo "configure: failed program was:" >&5
12791 cat conftest.
$ac_ext >&5
12796 ac_cv_prog_CXXCPP
="$CXXCPP"
12798 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12799 ac_cpp
='$CXXCPP $CPPFLAGS'
12800 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12801 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12802 cross_compiling
=$ac_cv_prog_cxx_cross
12805 CXXCPP
="$ac_cv_prog_CXXCPP"
12806 echo "$ac_t""$CXXCPP" 1>&6
12809 if test "$cross_compiling" = "yes"; then
12810 cat >> confdefs.h
<<\EOF
12811 #define wxUSE_IOSTREAMH 1
12817 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12818 ac_cpp
='$CXXCPP $CPPFLAGS'
12819 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12820 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12821 cross_compiling
=$ac_cv_prog_cxx_cross
12824 for ac_hdr
in iostream
12826 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12827 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12828 echo "configure:12829: checking for $ac_hdr" >&5
12829 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12830 echo $ac_n "(cached) $ac_c" 1>&6
12832 cat > conftest.
$ac_ext <<EOF
12833 #line 12834 "configure"
12834 #include "confdefs.h"
12837 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12838 { (eval echo configure
:12839: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12839 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12840 if test -z "$ac_err"; then
12842 eval "ac_cv_header_$ac_safe=yes"
12845 echo "configure: failed program was:" >&5
12846 cat conftest.
$ac_ext >&5
12848 eval "ac_cv_header_$ac_safe=no"
12852 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12853 echo "$ac_t""yes" 1>&6
12854 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12855 cat >> confdefs.h
<<EOF
12856 #define $ac_tr_hdr 1
12860 echo "$ac_t""no" 1>&6
12865 if test "$ac_cv_header_iostream" = "yes" ; then
12868 cat >> confdefs.h
<<\EOF
12869 #define wxUSE_IOSTREAMH 1
12875 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12876 ac_cpp
='$CPP $CPPFLAGS'
12877 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12878 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12879 cross_compiling
=$ac_cv_prog_cc_cross
12885 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
12886 echo "configure:12887: checking if C++ compiler supports bool" >&5
12887 if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
12888 echo $ac_n "(cached) $ac_c" 1>&6
12893 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12894 ac_cpp
='$CXXCPP $CPPFLAGS'
12895 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12896 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12897 cross_compiling
=$ac_cv_prog_cxx_cross
12900 cat > conftest.
$ac_ext <<EOF
12901 #line 12902 "configure"
12902 #include "confdefs.h"
12913 if { (eval echo configure
:12914: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12919 echo "configure: failed program was:" >&5
12920 cat conftest.
$ac_ext >&5
12930 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12931 ac_cpp
='$CPP $CPPFLAGS'
12932 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12933 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12934 cross_compiling
=$ac_cv_prog_cc_cross
12939 echo "$ac_t""$wx_cv_cpp_bool" 1>&6
12941 if test "$wx_cv_cpp_bool" = "yes"; then
12942 cat >> confdefs.h
<<\EOF
12943 #define HAVE_BOOL 1
12950 echo $ac_n "checking for wcslen in -lc""... $ac_c" 1>&6
12951 echo "configure:12952: checking for wcslen in -lc" >&5
12952 ac_lib_var
=`echo c'_'wcslen | sed 'y%./+-%__p_%'`
12953 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12954 echo $ac_n "(cached) $ac_c" 1>&6
12956 ac_save_LIBS
="$LIBS"
12958 cat > conftest.
$ac_ext <<EOF
12959 #line 12960 "configure"
12960 #include "confdefs.h"
12961 /* Override any gcc2 internal prototype to avoid an error. */
12962 /* We use char because int might match the return type of a gcc2
12963 builtin and then its argument prototype would still apply. */
12970 if { (eval echo configure
:12971: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12972 eval "ac_cv_lib_$ac_lib_var=yes"
12974 echo "configure: failed program was:" >&5
12975 cat conftest.
$ac_ext >&5
12977 eval "ac_cv_lib_$ac_lib_var=no"
12980 LIBS
="$ac_save_LIBS"
12983 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12984 echo "$ac_t""yes" 1>&6
12986 cat >> confdefs.h
<<\EOF
12987 #define HAVE_WCSLEN 1
12993 echo "$ac_t""no" 1>&6
12995 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
12996 echo "configure:12997: checking for wcslen in -lw" >&5
12997 ac_lib_var
=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
12998 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12999 echo $ac_n "(cached) $ac_c" 1>&6
13001 ac_save_LIBS
="$LIBS"
13003 cat > conftest.
$ac_ext <<EOF
13004 #line 13005 "configure"
13005 #include "confdefs.h"
13006 /* Override any gcc2 internal prototype to avoid an error. */
13007 /* We use char because int might match the return type of a gcc2
13008 builtin and then its argument prototype would still apply. */
13015 if { (eval echo configure
:13016: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13017 eval "ac_cv_lib_$ac_lib_var=yes"
13019 echo "configure: failed program was:" >&5
13020 cat conftest.
$ac_ext >&5
13022 eval "ac_cv_lib_$ac_lib_var=no"
13025 LIBS
="$ac_save_LIBS"
13028 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13029 echo "$ac_t""yes" 1>&6
13031 cat >> confdefs.h
<<\EOF
13032 #define HAVE_WCSLEN 1
13038 echo "$ac_t""no" 1>&6
13040 echo $ac_n "checking for wcslen in -lmsvcrt""... $ac_c" 1>&6
13041 echo "configure:13042: checking for wcslen in -lmsvcrt" >&5
13042 ac_lib_var
=`echo msvcrt'_'wcslen | sed 'y%./+-%__p_%'`
13043 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13044 echo $ac_n "(cached) $ac_c" 1>&6
13046 ac_save_LIBS
="$LIBS"
13047 LIBS
="-lmsvcrt $LIBS"
13048 cat > conftest.
$ac_ext <<EOF
13049 #line 13050 "configure"
13050 #include "confdefs.h"
13051 /* Override any gcc2 internal prototype to avoid an error. */
13052 /* We use char because int might match the return type of a gcc2
13053 builtin and then its argument prototype would still apply. */
13060 if { (eval echo configure
:13061: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13062 eval "ac_cv_lib_$ac_lib_var=yes"
13064 echo "configure: failed program was:" >&5
13065 cat conftest.
$ac_ext >&5
13067 eval "ac_cv_lib_$ac_lib_var=no"
13070 LIBS
="$ac_save_LIBS"
13073 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13074 echo "$ac_t""yes" 1>&6
13076 cat >> confdefs.h
<<\EOF
13077 #define HAVE_WCSLEN 1
13083 echo "$ac_t""no" 1>&6
13093 for ac_func
in wcsrtombs
13095 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13096 echo "configure:13097: checking for $ac_func" >&5
13097 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13098 echo $ac_n "(cached) $ac_c" 1>&6
13100 cat > conftest.
$ac_ext <<EOF
13101 #line 13102 "configure"
13102 #include "confdefs.h"
13103 /* System header to define __stub macros and hopefully few prototypes,
13104 which can conflict with char $ac_func(); below. */
13105 #include <assert.h>
13106 /* Override any gcc2 internal prototype to avoid an error. */
13107 /* We use char because int might match the return type of a gcc2
13108 builtin and then its argument prototype would still apply. */
13113 /* The GNU C library defines this for functions which it implements
13114 to always fail with ENOSYS. Some functions are actually named
13115 something starting with __ and the normal name is an alias. */
13116 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13124 if { (eval echo configure
:13125: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13126 eval "ac_cv_func_$ac_func=yes"
13128 echo "configure: failed program was:" >&5
13129 cat conftest.
$ac_ext >&5
13131 eval "ac_cv_func_$ac_func=no"
13136 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13137 echo "$ac_t""yes" 1>&6
13138 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13139 cat >> confdefs.h
<<EOF
13140 #define $ac_tr_func 1
13144 echo "$ac_t""no" 1>&6
13149 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
13150 echo "configure:13151: checking for vprintf" >&5
13151 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
13152 echo $ac_n "(cached) $ac_c" 1>&6
13154 cat > conftest.
$ac_ext <<EOF
13155 #line 13156 "configure"
13156 #include "confdefs.h"
13157 /* System header to define __stub macros and hopefully few prototypes,
13158 which can conflict with char vprintf(); below. */
13159 #include <assert.h>
13160 /* Override any gcc2 internal prototype to avoid an error. */
13161 /* We use char because int might match the return type of a gcc2
13162 builtin and then its argument prototype would still apply. */
13167 /* The GNU C library defines this for functions which it implements
13168 to always fail with ENOSYS. Some functions are actually named
13169 something starting with __ and the normal name is an alias. */
13170 #if defined (__stub_vprintf) || defined (__stub___vprintf)
13178 if { (eval echo configure
:13179: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13180 eval "ac_cv_func_vprintf=yes"
13182 echo "configure: failed program was:" >&5
13183 cat conftest.
$ac_ext >&5
13185 eval "ac_cv_func_vprintf=no"
13190 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
13191 echo "$ac_t""yes" 1>&6
13192 cat >> confdefs.h
<<\EOF
13193 #define HAVE_VPRINTF 1
13197 echo "$ac_t""no" 1>&6
13200 if test "$ac_cv_func_vprintf" != yes; then
13201 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
13202 echo "configure:13203: checking for _doprnt" >&5
13203 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
13204 echo $ac_n "(cached) $ac_c" 1>&6
13206 cat > conftest.
$ac_ext <<EOF
13207 #line 13208 "configure"
13208 #include "confdefs.h"
13209 /* System header to define __stub macros and hopefully few prototypes,
13210 which can conflict with char _doprnt(); below. */
13211 #include <assert.h>
13212 /* Override any gcc2 internal prototype to avoid an error. */
13213 /* We use char because int might match the return type of a gcc2
13214 builtin and then its argument prototype would still apply. */
13219 /* The GNU C library defines this for functions which it implements
13220 to always fail with ENOSYS. Some functions are actually named
13221 something starting with __ and the normal name is an alias. */
13222 #if defined (__stub__doprnt) || defined (__stub____doprnt)
13230 if { (eval echo configure
:13231: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13232 eval "ac_cv_func__doprnt=yes"
13234 echo "configure: failed program was:" >&5
13235 cat conftest.
$ac_ext >&5
13237 eval "ac_cv_func__doprnt=no"
13242 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
13243 echo "$ac_t""yes" 1>&6
13244 cat >> confdefs.h
<<\EOF
13245 #define HAVE_DOPRNT 1
13249 echo "$ac_t""no" 1>&6
13259 echo $ac_n "checking for vsnprintf""... $ac_c" 1>&6
13260 echo "configure:13261: checking for vsnprintf" >&5
13261 if eval "test \"`echo '$''{'wx_cv_func_vsnprintf'+set}'`\" = set"; then
13262 echo $ac_n "(cached) $ac_c" 1>&6
13265 cat > conftest.
$ac_ext <<EOF
13266 #line 13267 "configure"
13267 #include "confdefs.h"
13270 #include <stdarg.h>
13274 int wx_test_vsnprintf(const char *, ...);
13276 wx_test_vsnprintf("%s");
13280 int wx_test_vsnprintf(const char *fmt, ...)
13285 va_start(argp, fmt);
13286 vsnprintf(s, 42, fmt, argp);
13291 if { (eval echo configure
:13292: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13294 wx_cv_func_vsnprintf
=yes
13297 echo "configure: failed program was:" >&5
13298 cat conftest.
$ac_ext >&5
13301 cat > conftest.
$ac_ext <<EOF
13302 #line 13303 "configure"
13303 #include "confdefs.h"
13306 #include <stdarg.h>
13310 int wx_test_vsnprintf(const char *, ...);
13312 wx_test_vsnprintf("%s");
13316 int wx_test_vsnprintf(const char *fmt, ...)
13321 va_start(argp, fmt);
13322 _vsnprintf(s, 42, fmt, argp);
13327 if { (eval echo configure
:13328: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13330 wx_cv_func_vsnprintf
=yes
13333 echo "configure: failed program was:" >&5
13334 cat conftest.
$ac_ext >&5
13337 wx_cv_func_vsnprintf
=no
13347 echo "$ac_t""$wx_cv_func_vsnprintf" 1>&6
13349 if test "$wx_cv_func_vsnprintf" = yes; then
13350 cat >> confdefs.h
<<\EOF
13351 #define HAVE_VSNPRINTF 1
13355 echo "configure: warning: unsafe function sprintf will be used instead of snprintf" 1>&2
13358 echo $ac_n "checking for vsscanf""... $ac_c" 1>&6
13359 echo "configure:13360: checking for vsscanf" >&5
13360 if eval "test \"`echo '$''{'wx_cv_func_vsscanf'+set}'`\" = set"; then
13361 echo $ac_n "(cached) $ac_c" 1>&6
13364 cat > conftest.
$ac_ext <<EOF
13365 #line 13366 "configure"
13366 #include "confdefs.h"
13369 #include <stdarg.h>
13373 int wx_test_vsscanf(const char *, ...);
13375 wx_test_vsscanf("%d");
13379 int wx_test_vsscanf(const char *fmt, ...)
13382 va_start(argp, fmt);
13383 vsscanf("42", fmt, argp);
13388 if { (eval echo configure
:13389: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13391 wx_cv_func_vsscanf
=yes
13394 echo "configure: failed program was:" >&5
13395 cat conftest.
$ac_ext >&5
13398 wx_cv_func_vsscanf
=no
13405 echo "$ac_t""$wx_cv_func_vsscanf" 1>&6
13407 if test "$wx_cv_func_vsscanf" = yes; then
13408 cat >> confdefs.h
<<\EOF
13409 #define HAVE_VSSCANF 1
13414 if test "$TOOLKIT" != "MSW"; then
13419 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13420 ac_cpp
='$CXXCPP $CPPFLAGS'
13421 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13422 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13423 cross_compiling
=$ac_cv_prog_cxx_cross
13425 echo $ac_n "checking if iconv() takes char**""... $ac_c" 1>&6
13426 echo "configure:13427: checking if iconv() takes char**" >&5
13427 if eval "test \"`echo '$''{'wx_cv_iconv_takes_char'+set}'`\" = set"; then
13428 echo $ac_n "(cached) $ac_c" 1>&6
13431 cat > conftest.
$ac_ext <<EOF
13432 #line 13433 "configure"
13433 #include "confdefs.h"
13437 char **inbuf, **outbuf;
13439 size_t insz, outsz;
13440 iconv(cd, inbuf, &insz, outbuf, &outsz);
13444 if { (eval echo configure
:13445: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13446 wx_cv_iconv_takes_char
=yes
13448 echo "configure: failed program was:" >&5
13449 cat conftest.
$ac_ext >&5
13451 wx_cv_iconv_takes_char
=no
13457 echo "$ac_t""$wx_cv_iconv_takes_char" 1>&6
13459 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13460 ac_cpp
='$CPP $CPPFLAGS'
13461 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13462 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13463 cross_compiling
=$ac_cv_prog_cc_cross
13465 if test "$wx_cv_iconv_takes_char" = yes ; then
13466 cat >> confdefs.h
<<\EOF
13467 #define WX_ICONV_TAKES_CHAR 1
13473 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
13474 for ac_func
in sigaction
13476 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13477 echo "configure:13478: checking for $ac_func" >&5
13478 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13479 echo $ac_n "(cached) $ac_c" 1>&6
13481 cat > conftest.
$ac_ext <<EOF
13482 #line 13483 "configure"
13483 #include "confdefs.h"
13484 /* System header to define __stub macros and hopefully few prototypes,
13485 which can conflict with char $ac_func(); below. */
13486 #include <assert.h>
13487 /* Override any gcc2 internal prototype to avoid an error. */
13488 /* We use char because int might match the return type of a gcc2
13489 builtin and then its argument prototype would still apply. */
13494 /* The GNU C library defines this for functions which it implements
13495 to always fail with ENOSYS. Some functions are actually named
13496 something starting with __ and the normal name is an alias. */
13497 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13505 if { (eval echo configure
:13506: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13507 eval "ac_cv_func_$ac_func=yes"
13509 echo "configure: failed program was:" >&5
13510 cat conftest.
$ac_ext >&5
13512 eval "ac_cv_func_$ac_func=no"
13517 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13518 echo "$ac_t""yes" 1>&6
13519 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13520 cat >> confdefs.h
<<EOF
13521 #define $ac_tr_func 1
13525 echo "$ac_t""no" 1>&6
13530 if test "$ac_cv_func_sigaction" = "no"; then
13531 echo "configure: warning: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" 1>&2
13532 wxUSE_ON_FATAL_EXCEPTION
=no
13535 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
13538 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13539 ac_cpp
='$CXXCPP $CPPFLAGS'
13540 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13541 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13542 cross_compiling
=$ac_cv_prog_cxx_cross
13545 echo $ac_n "checking for sa_handler type""... $ac_c" 1>&6
13546 echo "configure:13547: checking for sa_handler type" >&5
13547 if eval "test \"`echo '$''{'wx_cv_type_sa_handler'+set}'`\" = set"; then
13548 echo $ac_n "(cached) $ac_c" 1>&6
13551 cat > conftest.
$ac_ext <<EOF
13552 #line 13553 "configure"
13553 #include "confdefs.h"
13554 #include <signal.h>
13557 extern void testSigHandler(int);
13559 struct sigaction sa;
13560 sa.sa_handler = testSigHandler;
13564 if { (eval echo configure
:13565: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13567 wx_cv_type_sa_handler
=int
13570 echo "configure: failed program was:" >&5
13571 cat conftest.
$ac_ext >&5
13574 wx_cv_type_sa_handler
=void
13581 echo "$ac_t""$wx_cv_type_sa_handler" 1>&6
13584 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13585 ac_cpp
='$CPP $CPPFLAGS'
13586 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13587 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13588 cross_compiling
=$ac_cv_prog_cc_cross
13591 cat >> confdefs.h
<<EOF
13592 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
13598 for ac_func
in vfork
13600 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13601 echo "configure:13602: checking for $ac_func" >&5
13602 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13603 echo $ac_n "(cached) $ac_c" 1>&6
13605 cat > conftest.
$ac_ext <<EOF
13606 #line 13607 "configure"
13607 #include "confdefs.h"
13608 /* System header to define __stub macros and hopefully few prototypes,
13609 which can conflict with char $ac_func(); below. */
13610 #include <assert.h>
13611 /* Override any gcc2 internal prototype to avoid an error. */
13612 /* We use char because int might match the return type of a gcc2
13613 builtin and then its argument prototype would still apply. */
13618 /* The GNU C library defines this for functions which it implements
13619 to always fail with ENOSYS. Some functions are actually named
13620 something starting with __ and the normal name is an alias. */
13621 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13629 if { (eval echo configure
:13630: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13631 eval "ac_cv_func_$ac_func=yes"
13633 echo "configure: failed program was:" >&5
13634 cat conftest.
$ac_ext >&5
13636 eval "ac_cv_func_$ac_func=no"
13641 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13642 echo "$ac_t""yes" 1>&6
13643 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13644 cat >> confdefs.h
<<EOF
13645 #define $ac_tr_func 1
13649 echo "$ac_t""no" 1>&6
13654 echo $ac_n "checking for statfs""... $ac_c" 1>&6
13655 echo "configure:13656: checking for statfs" >&5
13656 if eval "test \"`echo '$''{'wx_cv_func_statfs'+set}'`\" = set"; then
13657 echo $ac_n "(cached) $ac_c" 1>&6
13659 cat > conftest.
$ac_ext <<EOF
13660 #line 13661 "configure"
13661 #include "confdefs.h"
13664 #include <sys/param.h>
13665 #include <sys/mount.h>
13667 #include <sys/vfs.h>
13681 if { (eval echo configure
:13682: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13684 wx_cv_func_statfs
=yes
13687 echo "configure: failed program was:" >&5
13688 cat conftest.
$ac_ext >&5
13691 wx_cv_func_statfs
=no
13699 echo "$ac_t""$wx_cv_func_statfs" 1>&6
13701 if test "$wx_cv_func_statfs" = "yes"; then
13702 cat >> confdefs.h
<<\EOF
13703 #define HAVE_STATFS 1
13707 echo "configure: warning: wxGetDiskSpace() function won't work without statfs()" 1>&2
13710 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
13711 for ac_func
in fcntl flock
13713 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13714 echo "configure:13715: checking for $ac_func" >&5
13715 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13716 echo $ac_n "(cached) $ac_c" 1>&6
13718 cat > conftest.
$ac_ext <<EOF
13719 #line 13720 "configure"
13720 #include "confdefs.h"
13721 /* System header to define __stub macros and hopefully few prototypes,
13722 which can conflict with char $ac_func(); below. */
13723 #include <assert.h>
13724 /* Override any gcc2 internal prototype to avoid an error. */
13725 /* We use char because int might match the return type of a gcc2
13726 builtin and then its argument prototype would still apply. */
13731 /* The GNU C library defines this for functions which it implements
13732 to always fail with ENOSYS. Some functions are actually named
13733 something starting with __ and the normal name is an alias. */
13734 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13742 if { (eval echo configure
:13743: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13744 eval "ac_cv_func_$ac_func=yes"
13746 echo "configure: failed program was:" >&5
13747 cat conftest.
$ac_ext >&5
13749 eval "ac_cv_func_$ac_func=no"
13754 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13755 echo "$ac_t""yes" 1>&6
13756 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13757 cat >> confdefs.h
<<EOF
13758 #define $ac_tr_func 1
13762 echo "$ac_t""no" 1>&6
13767 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
13768 echo "configure: warning: wxSingleInstanceChecker not available" 1>&2
13769 wxUSE_SNGLINST_CHECKER
=no
13773 for ac_func
in timegm
13775 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13776 echo "configure:13777: checking for $ac_func" >&5
13777 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13778 echo $ac_n "(cached) $ac_c" 1>&6
13780 cat > conftest.
$ac_ext <<EOF
13781 #line 13782 "configure"
13782 #include "confdefs.h"
13783 /* System header to define __stub macros and hopefully few prototypes,
13784 which can conflict with char $ac_func(); below. */
13785 #include <assert.h>
13786 /* Override any gcc2 internal prototype to avoid an error. */
13787 /* We use char because int might match the return type of a gcc2
13788 builtin and then its argument prototype would still apply. */
13793 /* The GNU C library defines this for functions which it implements
13794 to always fail with ENOSYS. Some functions are actually named
13795 something starting with __ and the normal name is an alias. */
13796 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13804 if { (eval echo configure
:13805: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13806 eval "ac_cv_func_$ac_func=yes"
13808 echo "configure: failed program was:" >&5
13809 cat conftest.
$ac_ext >&5
13811 eval "ac_cv_func_$ac_func=no"
13816 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13817 echo "$ac_t""yes" 1>&6
13818 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13819 cat >> confdefs.h
<<EOF
13820 #define $ac_tr_func 1
13824 echo "$ac_t""no" 1>&6
13829 for ac_func
in putenv setenv
13831 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13832 echo "configure:13833: checking for $ac_func" >&5
13833 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13834 echo $ac_n "(cached) $ac_c" 1>&6
13836 cat > conftest.
$ac_ext <<EOF
13837 #line 13838 "configure"
13838 #include "confdefs.h"
13839 /* System header to define __stub macros and hopefully few prototypes,
13840 which can conflict with char $ac_func(); below. */
13841 #include <assert.h>
13842 /* Override any gcc2 internal prototype to avoid an error. */
13843 /* We use char because int might match the return type of a gcc2
13844 builtin and then its argument prototype would still apply. */
13849 /* The GNU C library defines this for functions which it implements
13850 to always fail with ENOSYS. Some functions are actually named
13851 something starting with __ and the normal name is an alias. */
13852 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13860 if { (eval echo configure
:13861: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13862 eval "ac_cv_func_$ac_func=yes"
13864 echo "configure: failed program was:" >&5
13865 cat conftest.
$ac_ext >&5
13867 eval "ac_cv_func_$ac_func=no"
13872 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13873 echo "$ac_t""yes" 1>&6
13874 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13875 cat >> confdefs.h
<<EOF
13876 #define $ac_tr_func 1
13880 echo "$ac_t""no" 1>&6
13885 HAVE_SOME_SLEEP_FUNC
=0
13886 if test "$USE_BEOS" = 1; then
13887 cat >> confdefs.h
<<\EOF
13888 #define HAVE_SLEEP 1
13891 HAVE_SOME_SLEEP_FUNC
=1
13894 if test "$USE_DARWIN" = 1; then
13895 cat >> confdefs.h
<<\EOF
13896 #define HAVE_USLEEP 1
13899 HAVE_SOME_SLEEP_FUNC
=1
13902 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
13904 for ac_func
in nanosleep
13906 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13907 echo "configure:13908: checking for $ac_func" >&5
13908 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13909 echo $ac_n "(cached) $ac_c" 1>&6
13911 cat > conftest.
$ac_ext <<EOF
13912 #line 13913 "configure"
13913 #include "confdefs.h"
13914 /* System header to define __stub macros and hopefully few prototypes,
13915 which can conflict with char $ac_func(); below. */
13916 #include <assert.h>
13917 /* Override any gcc2 internal prototype to avoid an error. */
13918 /* We use char because int might match the return type of a gcc2
13919 builtin and then its argument prototype would still apply. */
13924 /* The GNU C library defines this for functions which it implements
13925 to always fail with ENOSYS. Some functions are actually named
13926 something starting with __ and the normal name is an alias. */
13927 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13935 if { (eval echo configure
:13936: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13937 eval "ac_cv_func_$ac_func=yes"
13939 echo "configure: failed program was:" >&5
13940 cat conftest.
$ac_ext >&5
13942 eval "ac_cv_func_$ac_func=no"
13947 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13948 echo "$ac_t""yes" 1>&6
13949 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13950 cat >> confdefs.h
<<EOF
13951 #define $ac_tr_func 1
13953 cat >> confdefs.h
<<\EOF
13954 #define HAVE_NANOSLEEP 1
13958 echo "$ac_t""no" 1>&6
13959 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
13960 echo "configure:13961: checking for nanosleep in -lposix4" >&5
13961 ac_lib_var
=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
13962 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13963 echo $ac_n "(cached) $ac_c" 1>&6
13965 ac_save_LIBS
="$LIBS"
13966 LIBS
="-lposix4 $LIBS"
13967 cat > conftest.
$ac_ext <<EOF
13968 #line 13969 "configure"
13969 #include "confdefs.h"
13970 /* Override any gcc2 internal prototype to avoid an error. */
13971 /* We use char because int might match the return type of a gcc2
13972 builtin and then its argument prototype would still apply. */
13979 if { (eval echo configure
:13980: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13981 eval "ac_cv_lib_$ac_lib_var=yes"
13983 echo "configure: failed program was:" >&5
13984 cat conftest.
$ac_ext >&5
13986 eval "ac_cv_lib_$ac_lib_var=no"
13989 LIBS
="$ac_save_LIBS"
13992 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13993 echo "$ac_t""yes" 1>&6
13995 cat >> confdefs.h
<<\EOF
13996 #define HAVE_NANOSLEEP 1
13999 POSIX4_LINK
="-lposix4"
14002 echo "$ac_t""no" 1>&6
14004 for ac_func
in usleep
14006 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14007 echo "configure:14008: checking for $ac_func" >&5
14008 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14009 echo $ac_n "(cached) $ac_c" 1>&6
14011 cat > conftest.
$ac_ext <<EOF
14012 #line 14013 "configure"
14013 #include "confdefs.h"
14014 /* System header to define __stub macros and hopefully few prototypes,
14015 which can conflict with char $ac_func(); below. */
14016 #include <assert.h>
14017 /* Override any gcc2 internal prototype to avoid an error. */
14018 /* We use char because int might match the return type of a gcc2
14019 builtin and then its argument prototype would still apply. */
14024 /* The GNU C library defines this for functions which it implements
14025 to always fail with ENOSYS. Some functions are actually named
14026 something starting with __ and the normal name is an alias. */
14027 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14035 if { (eval echo configure
:14036: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14037 eval "ac_cv_func_$ac_func=yes"
14039 echo "configure: failed program was:" >&5
14040 cat conftest.
$ac_ext >&5
14042 eval "ac_cv_func_$ac_func=no"
14047 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14048 echo "$ac_t""yes" 1>&6
14049 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14050 cat >> confdefs.h
<<EOF
14051 #define $ac_tr_func 1
14053 cat >> confdefs.h
<<\EOF
14054 #define HAVE_USLEEP 1
14058 echo "$ac_t""no" 1>&6
14059 echo "configure: warning: wxSleep() function will not work" 1>&2
14075 for ac_func
in uname gethostname
14077 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14078 echo "configure:14079: checking for $ac_func" >&5
14079 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14080 echo $ac_n "(cached) $ac_c" 1>&6
14082 cat > conftest.
$ac_ext <<EOF
14083 #line 14084 "configure"
14084 #include "confdefs.h"
14085 /* System header to define __stub macros and hopefully few prototypes,
14086 which can conflict with char $ac_func(); below. */
14087 #include <assert.h>
14088 /* Override any gcc2 internal prototype to avoid an error. */
14089 /* We use char because int might match the return type of a gcc2
14090 builtin and then its argument prototype would still apply. */
14095 /* The GNU C library defines this for functions which it implements
14096 to always fail with ENOSYS. Some functions are actually named
14097 something starting with __ and the normal name is an alias. */
14098 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14106 if { (eval echo configure
:14107: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14108 eval "ac_cv_func_$ac_func=yes"
14110 echo "configure: failed program was:" >&5
14111 cat conftest.
$ac_ext >&5
14113 eval "ac_cv_func_$ac_func=no"
14118 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14119 echo "$ac_t""yes" 1>&6
14120 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14121 cat >> confdefs.h
<<EOF
14122 #define $ac_tr_func 1
14126 echo "$ac_t""no" 1>&6
14133 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14134 ac_cpp
='$CXXCPP $CPPFLAGS'
14135 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14136 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14137 cross_compiling
=$ac_cv_prog_cxx_cross
14140 for ac_func
in strtok_r
14142 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14143 echo "configure:14144: checking for $ac_func" >&5
14144 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14145 echo $ac_n "(cached) $ac_c" 1>&6
14147 cat > conftest.
$ac_ext <<EOF
14148 #line 14149 "configure"
14149 #include "confdefs.h"
14150 /* System header to define __stub macros and hopefully few prototypes,
14151 which can conflict with char $ac_func(); below. */
14152 #include <assert.h>
14153 /* Override any gcc2 internal prototype to avoid an error. */
14157 /* We use char because int might match the return type of a gcc2
14158 builtin and then its argument prototype would still apply. */
14163 /* The GNU C library defines this for functions which it implements
14164 to always fail with ENOSYS. Some functions are actually named
14165 something starting with __ and the normal name is an alias. */
14166 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14174 if { (eval echo configure
:14175: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14176 eval "ac_cv_func_$ac_func=yes"
14178 echo "configure: failed program was:" >&5
14179 cat conftest.
$ac_ext >&5
14181 eval "ac_cv_func_$ac_func=no"
14186 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14187 echo "$ac_t""yes" 1>&6
14188 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14189 cat >> confdefs.h
<<EOF
14190 #define $ac_tr_func 1
14194 echo "$ac_t""no" 1>&6
14200 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14201 ac_cpp
='$CPP $CPPFLAGS'
14202 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14203 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14204 cross_compiling
=$ac_cv_prog_cc_cross
14208 for ac_func
in inet_addr
14210 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14211 echo "configure:14212: checking for $ac_func" >&5
14212 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14213 echo $ac_n "(cached) $ac_c" 1>&6
14215 cat > conftest.
$ac_ext <<EOF
14216 #line 14217 "configure"
14217 #include "confdefs.h"
14218 /* System header to define __stub macros and hopefully few prototypes,
14219 which can conflict with char $ac_func(); below. */
14220 #include <assert.h>
14221 /* Override any gcc2 internal prototype to avoid an error. */
14222 /* We use char because int might match the return type of a gcc2
14223 builtin and then its argument prototype would still apply. */
14228 /* The GNU C library defines this for functions which it implements
14229 to always fail with ENOSYS. Some functions are actually named
14230 something starting with __ and the normal name is an alias. */
14231 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14239 if { (eval echo configure
:14240: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14241 eval "ac_cv_func_$ac_func=yes"
14243 echo "configure: failed program was:" >&5
14244 cat conftest.
$ac_ext >&5
14246 eval "ac_cv_func_$ac_func=no"
14251 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14252 echo "$ac_t""yes" 1>&6
14253 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14254 cat >> confdefs.h
<<EOF
14255 #define $ac_tr_func 1
14257 cat >> confdefs.h
<<\EOF
14258 #define HAVE_INET_ADDR 1
14262 echo "$ac_t""no" 1>&6
14263 echo $ac_n "checking for inet_addr in -lnsl""... $ac_c" 1>&6
14264 echo "configure:14265: checking for inet_addr in -lnsl" >&5
14265 ac_lib_var
=`echo nsl'_'inet_addr | sed 'y%./+-%__p_%'`
14266 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14267 echo $ac_n "(cached) $ac_c" 1>&6
14269 ac_save_LIBS
="$LIBS"
14271 cat > conftest.
$ac_ext <<EOF
14272 #line 14273 "configure"
14273 #include "confdefs.h"
14274 /* Override any gcc2 internal prototype to avoid an error. */
14275 /* We use char because int might match the return type of a gcc2
14276 builtin and then its argument prototype would still apply. */
14283 if { (eval echo configure
:14284: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14285 eval "ac_cv_lib_$ac_lib_var=yes"
14287 echo "configure: failed program was:" >&5
14288 cat conftest.
$ac_ext >&5
14290 eval "ac_cv_lib_$ac_lib_var=no"
14293 LIBS
="$ac_save_LIBS"
14296 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14297 echo "$ac_t""yes" 1>&6
14300 echo "$ac_t""no" 1>&6
14301 echo $ac_n "checking for inet_addr in -lresolv""... $ac_c" 1>&6
14302 echo "configure:14303: checking for inet_addr in -lresolv" >&5
14303 ac_lib_var
=`echo resolv'_'inet_addr | sed 'y%./+-%__p_%'`
14304 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14305 echo $ac_n "(cached) $ac_c" 1>&6
14307 ac_save_LIBS
="$LIBS"
14308 LIBS
="-lresolv $LIBS"
14309 cat > conftest.
$ac_ext <<EOF
14310 #line 14311 "configure"
14311 #include "confdefs.h"
14312 /* Override any gcc2 internal prototype to avoid an error. */
14313 /* We use char because int might match the return type of a gcc2
14314 builtin and then its argument prototype would still apply. */
14321 if { (eval echo configure
:14322: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14323 eval "ac_cv_lib_$ac_lib_var=yes"
14325 echo "configure: failed program was:" >&5
14326 cat conftest.
$ac_ext >&5
14328 eval "ac_cv_lib_$ac_lib_var=no"
14331 LIBS
="$ac_save_LIBS"
14334 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14335 echo "$ac_t""yes" 1>&6
14339 echo "$ac_t""no" 1>&6
14351 for ac_func
in inet_aton
14353 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14354 echo "configure:14355: checking for $ac_func" >&5
14355 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14356 echo $ac_n "(cached) $ac_c" 1>&6
14358 cat > conftest.
$ac_ext <<EOF
14359 #line 14360 "configure"
14360 #include "confdefs.h"
14361 /* System header to define __stub macros and hopefully few prototypes,
14362 which can conflict with char $ac_func(); below. */
14363 #include <assert.h>
14364 /* Override any gcc2 internal prototype to avoid an error. */
14365 /* We use char because int might match the return type of a gcc2
14366 builtin and then its argument prototype would still apply. */
14371 /* The GNU C library defines this for functions which it implements
14372 to always fail with ENOSYS. Some functions are actually named
14373 something starting with __ and the normal name is an alias. */
14374 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14382 if { (eval echo configure
:14383: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14384 eval "ac_cv_func_$ac_func=yes"
14386 echo "configure: failed program was:" >&5
14387 cat conftest.
$ac_ext >&5
14389 eval "ac_cv_func_$ac_func=no"
14394 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14395 echo "$ac_t""yes" 1>&6
14396 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14397 cat >> confdefs.h
<<EOF
14398 #define $ac_tr_func 1
14400 cat >> confdefs.h
<<\EOF
14401 #define HAVE_INET_ATON 1
14405 echo "$ac_t""no" 1>&6
14406 echo $ac_n "checking for inet_aton in -l$INET_LINK""... $ac_c" 1>&6
14407 echo "configure:14408: checking for inet_aton in -l$INET_LINK" >&5
14408 ac_lib_var
=`echo $INET_LINK'_'inet_aton | sed 'y%./+-%__p_%'`
14409 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14410 echo $ac_n "(cached) $ac_c" 1>&6
14412 ac_save_LIBS
="$LIBS"
14413 LIBS
="-l$INET_LINK $LIBS"
14414 cat > conftest.
$ac_ext <<EOF
14415 #line 14416 "configure"
14416 #include "confdefs.h"
14417 /* Override any gcc2 internal prototype to avoid an error. */
14418 /* We use char because int might match the return type of a gcc2
14419 builtin and then its argument prototype would still apply. */
14426 if { (eval echo configure
:14427: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14428 eval "ac_cv_lib_$ac_lib_var=yes"
14430 echo "configure: failed program was:" >&5
14431 cat conftest.
$ac_ext >&5
14433 eval "ac_cv_lib_$ac_lib_var=no"
14436 LIBS
="$ac_save_LIBS"
14439 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14440 echo "$ac_t""yes" 1>&6
14441 cat >> confdefs.h
<<\EOF
14442 #define HAVE_INET_ATON 1
14446 echo "$ac_t""no" 1>&6
14454 if test "x$INET_LINK" != "x"; then
14455 cat >> confdefs.h
<<\EOF
14456 #define HAVE_INET_ADDR 1
14459 INET_LINK
="-l$INET_LINK"
14465 cat > confcache
<<\EOF
14466 # This file is a shell script that caches the results of configure
14467 # tests run on this system so they can be shared between configure
14468 # scripts and configure runs. It is not useful on other systems.
14469 # If it contains results you don't want to keep, you may remove or edit it.
14471 # By default, configure uses ./config.cache as the cache file,
14472 # creating it if it does not exist already. You can give configure
14473 # the --cache-file=FILE option to use a different cache file; that is
14474 # what configure does when it calls configure scripts in
14475 # subdirectories, so they share the cache.
14476 # Giving --cache-file=/dev/null disables caching, for debugging configure.
14477 # config.status only pays attention to the cache file if you give it the
14478 # --recheck option to rerun configure.
14481 # The following way of writing the cache mishandles newlines in values,
14482 # but we know of no workaround that is simple, portable, and efficient.
14483 # So, don't put newlines in cache variables' values.
14484 # Ultrix sh set writes to stderr and can't be redirected directly,
14485 # and sets the high bit in the cache file unless we assign to the vars.
14487 case `(ac_space=' '; set | grep ac_space) 2>&1` in
14489 # `set' does not quote correctly, so add quotes (double-quote substitution
14490 # turns \\\\ into \\, and sed turns \\ into \).
14492 -e "s/'/'\\\\''/g" \
14493 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
14496 # `set' quotes correctly as required by POSIX, so do not add quotes.
14497 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
14500 if cmp -s $cache_file confcache
; then
14503 if test -w $cache_file; then
14504 echo "updating cache $cache_file"
14505 cat confcache
> $cache_file
14507 echo "not updating unwritable cache $cache_file"
14514 if test "$TOOLKIT" != "MSW"; then
14520 CODE_GEN_FLAGS_CXX
=
14522 if test "$wxUSE_THREADS" = "yes" ; then
14523 if test "$wxUSE_WINE" = 1 ; then
14524 echo "configure: warning: Threads are not supported under WINE" 1>&2
14526 elif test "$USE_BEOS" = 1; then
14527 echo "configure: warning: BeOS threads are not yet supported" 1>&2
14532 if test "$wxUSE_THREADS" = "yes" ; then
14534 if test "$USE_AIX" = 1; then
14535 THREADS_LIB
=pthreads
14537 THREADS_LIB
=pthread
14540 echo $ac_n "checking for pthread_create in -l$THREADS_LIB""... $ac_c" 1>&6
14541 echo "configure:14542: checking for pthread_create in -l$THREADS_LIB" >&5
14542 ac_lib_var
=`echo $THREADS_LIB'_'pthread_create | sed 'y%./+-%__p_%'`
14543 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14544 echo $ac_n "(cached) $ac_c" 1>&6
14546 ac_save_LIBS
="$LIBS"
14547 LIBS
="-l$THREADS_LIB $LIBS"
14548 cat > conftest.
$ac_ext <<EOF
14549 #line 14550 "configure"
14550 #include "confdefs.h"
14551 /* Override any gcc2 internal prototype to avoid an error. */
14552 /* We use char because int might match the return type of a gcc2
14553 builtin and then its argument prototype would still apply. */
14554 char pthread_create();
14560 if { (eval echo configure
:14561: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14562 eval "ac_cv_lib_$ac_lib_var=yes"
14564 echo "configure: failed program was:" >&5
14565 cat conftest.
$ac_ext >&5
14567 eval "ac_cv_lib_$ac_lib_var=no"
14570 LIBS
="$ac_save_LIBS"
14573 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14574 echo "$ac_t""yes" 1>&6
14576 THREADS_OBJ
="threadpsx.lo"
14577 THREADS_LINK
=$THREADS_LIB
14580 echo "$ac_t""no" 1>&6
14582 echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
14583 echo "configure:14584: checking for pthread_create in -lc_r" >&5
14584 ac_lib_var
=`echo c_r'_'pthread_create | sed 'y%./+-%__p_%'`
14585 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14586 echo $ac_n "(cached) $ac_c" 1>&6
14588 ac_save_LIBS
="$LIBS"
14590 cat > conftest.
$ac_ext <<EOF
14591 #line 14592 "configure"
14592 #include "confdefs.h"
14593 /* Override any gcc2 internal prototype to avoid an error. */
14594 /* We use char because int might match the return type of a gcc2
14595 builtin and then its argument prototype would still apply. */
14596 char pthread_create();
14602 if { (eval echo configure
:14603: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14604 eval "ac_cv_lib_$ac_lib_var=yes"
14606 echo "configure: failed program was:" >&5
14607 cat conftest.
$ac_ext >&5
14609 eval "ac_cv_lib_$ac_lib_var=no"
14612 LIBS
="$ac_save_LIBS"
14615 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14616 echo "$ac_t""yes" 1>&6
14618 THREADS_OBJ
="threadpsx.lo"
14622 echo "$ac_t""no" 1>&6
14624 ac_safe
=`echo "sys/prctl.h" | sed 'y%./+-%__p_%'`
14625 echo $ac_n "checking for sys/prctl.h""... $ac_c" 1>&6
14626 echo "configure:14627: checking for sys/prctl.h" >&5
14627 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14628 echo $ac_n "(cached) $ac_c" 1>&6
14630 cat > conftest.
$ac_ext <<EOF
14631 #line 14632 "configure"
14632 #include "confdefs.h"
14633 #include <sys/prctl.h>
14635 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14636 { (eval echo configure
:14637: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14637 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14638 if test -z "$ac_err"; then
14640 eval "ac_cv_header_$ac_safe=yes"
14643 echo "configure: failed program was:" >&5
14644 cat conftest.
$ac_ext >&5
14646 eval "ac_cv_header_$ac_safe=no"
14650 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14651 echo "$ac_t""yes" 1>&6
14653 THREADS_OBJ
="threadsgi.lo"
14656 echo "$ac_t""no" 1>&6
14666 if test -z "$THREADS_OBJ" ; then
14668 echo "configure: warning: No thread support on this system" 1>&2
14672 if test "$wxUSE_THREADS" = "yes" ; then
14673 for ac_func
in thr_setconcurrency
14675 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14676 echo "configure:14677: checking for $ac_func" >&5
14677 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14678 echo $ac_n "(cached) $ac_c" 1>&6
14680 cat > conftest.
$ac_ext <<EOF
14681 #line 14682 "configure"
14682 #include "confdefs.h"
14683 /* System header to define __stub macros and hopefully few prototypes,
14684 which can conflict with char $ac_func(); below. */
14685 #include <assert.h>
14686 /* Override any gcc2 internal prototype to avoid an error. */
14687 /* We use char because int might match the return type of a gcc2
14688 builtin and then its argument prototype would still apply. */
14693 /* The GNU C library defines this for functions which it implements
14694 to always fail with ENOSYS. Some functions are actually named
14695 something starting with __ and the normal name is an alias. */
14696 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14704 if { (eval echo configure
:14705: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14706 eval "ac_cv_func_$ac_func=yes"
14708 echo "configure: failed program was:" >&5
14709 cat conftest.
$ac_ext >&5
14711 eval "ac_cv_func_$ac_func=no"
14716 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14717 echo "$ac_t""yes" 1>&6
14718 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14719 cat >> confdefs.h
<<EOF
14720 #define $ac_tr_func 1
14724 echo "$ac_t""no" 1>&6
14730 for ac_hdr
in sched.h
14732 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
14733 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
14734 echo "configure:14735: checking for $ac_hdr" >&5
14735 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14736 echo $ac_n "(cached) $ac_c" 1>&6
14738 cat > conftest.
$ac_ext <<EOF
14739 #line 14740 "configure"
14740 #include "confdefs.h"
14743 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14744 { (eval echo configure
:14745: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14745 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14746 if test -z "$ac_err"; then
14748 eval "ac_cv_header_$ac_safe=yes"
14751 echo "configure: failed program was:" >&5
14752 cat conftest.
$ac_ext >&5
14754 eval "ac_cv_header_$ac_safe=no"
14758 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14759 echo "$ac_t""yes" 1>&6
14760 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
14761 cat >> confdefs.h
<<EOF
14762 #define $ac_tr_hdr 1
14766 echo "$ac_t""no" 1>&6
14771 echo $ac_n "checking for sched_yield in -l$THREADS_LINK""... $ac_c" 1>&6
14772 echo "configure:14773: checking for sched_yield in -l$THREADS_LINK" >&5
14773 ac_lib_var
=`echo $THREADS_LINK'_'sched_yield | sed 'y%./+-%__p_%'`
14774 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14775 echo $ac_n "(cached) $ac_c" 1>&6
14777 ac_save_LIBS
="$LIBS"
14778 LIBS
="-l$THREADS_LINK $LIBS"
14779 cat > conftest.
$ac_ext <<EOF
14780 #line 14781 "configure"
14781 #include "confdefs.h"
14782 /* Override any gcc2 internal prototype to avoid an error. */
14783 /* We use char because int might match the return type of a gcc2
14784 builtin and then its argument prototype would still apply. */
14785 char sched_yield();
14791 if { (eval echo configure
:14792: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14793 eval "ac_cv_lib_$ac_lib_var=yes"
14795 echo "configure: failed program was:" >&5
14796 cat conftest.
$ac_ext >&5
14798 eval "ac_cv_lib_$ac_lib_var=no"
14801 LIBS
="$ac_save_LIBS"
14804 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14805 echo "$ac_t""yes" 1>&6
14806 cat >> confdefs.h
<<\EOF
14807 #define HAVE_SCHED_YIELD 1
14811 echo "$ac_t""no" 1>&6
14812 echo $ac_n "checking for sched_yield in -lposix4""... $ac_c" 1>&6
14813 echo "configure:14814: checking for sched_yield in -lposix4" >&5
14814 ac_lib_var
=`echo posix4'_'sched_yield | sed 'y%./+-%__p_%'`
14815 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14816 echo $ac_n "(cached) $ac_c" 1>&6
14818 ac_save_LIBS
="$LIBS"
14819 LIBS
="-lposix4 $LIBS"
14820 cat > conftest.
$ac_ext <<EOF
14821 #line 14822 "configure"
14822 #include "confdefs.h"
14823 /* Override any gcc2 internal prototype to avoid an error. */
14824 /* We use char because int might match the return type of a gcc2
14825 builtin and then its argument prototype would still apply. */
14826 char sched_yield();
14832 if { (eval echo configure
:14833: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14834 eval "ac_cv_lib_$ac_lib_var=yes"
14836 echo "configure: failed program was:" >&5
14837 cat conftest.
$ac_ext >&5
14839 eval "ac_cv_lib_$ac_lib_var=no"
14842 LIBS
="$ac_save_LIBS"
14845 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14846 echo "$ac_t""yes" 1>&6
14847 cat >> confdefs.h
<<\EOF
14848 #define HAVE_SCHED_YIELD 1
14850 POSIX4_LINK
="-lposix4"
14852 echo "$ac_t""no" 1>&6
14853 echo "configure: warning: wxThread::Yield will not work properly" 1>&2
14862 echo $ac_n "checking for pthread_attr_getschedpolicy in -l$THREADS_LINK""... $ac_c" 1>&6
14863 echo "configure:14864: checking for pthread_attr_getschedpolicy in -l$THREADS_LINK" >&5
14864 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
14865 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14866 echo $ac_n "(cached) $ac_c" 1>&6
14868 ac_save_LIBS
="$LIBS"
14869 LIBS
="-l$THREADS_LINK $LIBS"
14870 cat > conftest.
$ac_ext <<EOF
14871 #line 14872 "configure"
14872 #include "confdefs.h"
14873 /* Override any gcc2 internal prototype to avoid an error. */
14874 /* We use char because int might match the return type of a gcc2
14875 builtin and then its argument prototype would still apply. */
14876 char pthread_attr_getschedpolicy();
14879 pthread_attr_getschedpolicy()
14882 if { (eval echo configure
:14883: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14884 eval "ac_cv_lib_$ac_lib_var=yes"
14886 echo "configure: failed program was:" >&5
14887 cat conftest.
$ac_ext >&5
14889 eval "ac_cv_lib_$ac_lib_var=no"
14892 LIBS
="$ac_save_LIBS"
14895 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14896 echo "$ac_t""yes" 1>&6
14897 echo $ac_n "checking for pthread_attr_setschedparam in -l$THREADS_LINK""... $ac_c" 1>&6
14898 echo "configure:14899: checking for pthread_attr_setschedparam in -l$THREADS_LINK" >&5
14899 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_setschedparam | sed 'y%./+-%__p_%'`
14900 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14901 echo $ac_n "(cached) $ac_c" 1>&6
14903 ac_save_LIBS
="$LIBS"
14904 LIBS
="-l$THREADS_LINK $LIBS"
14905 cat > conftest.
$ac_ext <<EOF
14906 #line 14907 "configure"
14907 #include "confdefs.h"
14908 /* Override any gcc2 internal prototype to avoid an error. */
14909 /* We use char because int might match the return type of a gcc2
14910 builtin and then its argument prototype would still apply. */
14911 char pthread_attr_setschedparam();
14914 pthread_attr_setschedparam()
14917 if { (eval echo configure
:14918: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14919 eval "ac_cv_lib_$ac_lib_var=yes"
14921 echo "configure: failed program was:" >&5
14922 cat conftest.
$ac_ext >&5
14924 eval "ac_cv_lib_$ac_lib_var=no"
14927 LIBS
="$ac_save_LIBS"
14930 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14931 echo "$ac_t""yes" 1>&6
14932 echo $ac_n "checking for sched_get_priority_max in -l$THREADS_LINK""... $ac_c" 1>&6
14933 echo "configure:14934: checking for sched_get_priority_max in -l$THREADS_LINK" >&5
14934 ac_lib_var
=`echo $THREADS_LINK'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
14935 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14936 echo $ac_n "(cached) $ac_c" 1>&6
14938 ac_save_LIBS
="$LIBS"
14939 LIBS
="-l$THREADS_LINK $LIBS"
14940 cat > conftest.
$ac_ext <<EOF
14941 #line 14942 "configure"
14942 #include "confdefs.h"
14943 /* Override any gcc2 internal prototype to avoid an error. */
14944 /* We use char because int might match the return type of a gcc2
14945 builtin and then its argument prototype would still apply. */
14946 char sched_get_priority_max();
14949 sched_get_priority_max()
14952 if { (eval echo configure
:14953: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14954 eval "ac_cv_lib_$ac_lib_var=yes"
14956 echo "configure: failed program was:" >&5
14957 cat conftest.
$ac_ext >&5
14959 eval "ac_cv_lib_$ac_lib_var=no"
14962 LIBS
="$ac_save_LIBS"
14965 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14966 echo "$ac_t""yes" 1>&6
14969 echo "$ac_t""no" 1>&6
14970 echo $ac_n "checking for sched_get_priority_max in -lposix4""... $ac_c" 1>&6
14971 echo "configure:14972: checking for sched_get_priority_max in -lposix4" >&5
14972 ac_lib_var
=`echo posix4'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
14973 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14974 echo $ac_n "(cached) $ac_c" 1>&6
14976 ac_save_LIBS
="$LIBS"
14977 LIBS
="-lposix4 $LIBS"
14978 cat > conftest.
$ac_ext <<EOF
14979 #line 14980 "configure"
14980 #include "confdefs.h"
14981 /* Override any gcc2 internal prototype to avoid an error. */
14982 /* We use char because int might match the return type of a gcc2
14983 builtin and then its argument prototype would still apply. */
14984 char sched_get_priority_max();
14987 sched_get_priority_max()
14990 if { (eval echo configure
:14991: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14992 eval "ac_cv_lib_$ac_lib_var=yes"
14994 echo "configure: failed program was:" >&5
14995 cat conftest.
$ac_ext >&5
14997 eval "ac_cv_lib_$ac_lib_var=no"
15000 LIBS
="$ac_save_LIBS"
15003 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15004 echo "$ac_t""yes" 1>&6
15007 POSIX4_LINK
="-lposix4"
15010 echo "$ac_t""no" 1>&6
15018 echo "$ac_t""no" 1>&6
15023 echo "$ac_t""no" 1>&6
15027 if test "$HAVE_PRIOR_FUNCS" = 1; then
15028 cat >> confdefs.h
<<\EOF
15029 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
15033 echo "configure: warning: Setting thread priority will not work" 1>&2
15036 echo $ac_n "checking for pthread_cancel in -l$THREADS_LINK""... $ac_c" 1>&6
15037 echo "configure:15038: checking for pthread_cancel in -l$THREADS_LINK" >&5
15038 ac_lib_var
=`echo $THREADS_LINK'_'pthread_cancel | sed 'y%./+-%__p_%'`
15039 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15040 echo $ac_n "(cached) $ac_c" 1>&6
15042 ac_save_LIBS
="$LIBS"
15043 LIBS
="-l$THREADS_LINK $LIBS"
15044 cat > conftest.
$ac_ext <<EOF
15045 #line 15046 "configure"
15046 #include "confdefs.h"
15047 /* Override any gcc2 internal prototype to avoid an error. */
15048 /* We use char because int might match the return type of a gcc2
15049 builtin and then its argument prototype would still apply. */
15050 char pthread_cancel();
15056 if { (eval echo configure
:15057: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15058 eval "ac_cv_lib_$ac_lib_var=yes"
15060 echo "configure: failed program was:" >&5
15061 cat conftest.
$ac_ext >&5
15063 eval "ac_cv_lib_$ac_lib_var=no"
15066 LIBS
="$ac_save_LIBS"
15069 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15070 echo "$ac_t""yes" 1>&6
15071 cat >> confdefs.h
<<\EOF
15072 #define HAVE_PTHREAD_CANCEL 1
15076 echo "$ac_t""no" 1>&6
15077 echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
15081 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
15082 echo "configure:15083: checking for pthread_cleanup_push/pop" >&5
15083 if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
15084 echo $ac_n "(cached) $ac_c" 1>&6
15087 cat > conftest.
$ac_ext <<EOF
15088 #line 15089 "configure"
15089 #include "confdefs.h"
15090 #include <pthread.h>
15093 pthread_cleanup_push(NULL, NULL);
15094 pthread_cleanup_pop(0);
15098 if { (eval echo configure
:15099: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15101 wx_cv_func_pthread_cleanup_push
=yes
15104 echo "configure: failed program was:" >&5
15105 cat conftest.
$ac_ext >&5
15108 wx_cv_func_pthread_cleanup_push
=no
15115 echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
15117 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
15118 cat >> confdefs.h
<<\EOF
15119 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
15125 if test "x$wx_lib_glibc21" = "xyes"; then
15126 CPPFLAGS
="$CPPFLAGS -D_GNU_SOURCE"
15129 echo $ac_n "checking for pthread_mutexattr_t""... $ac_c" 1>&6
15130 echo "configure:15131: checking for pthread_mutexattr_t" >&5
15131 if eval "test \"`echo '$''{'wx_cv_type_pthread_mutexattr_t'+set}'`\" = set"; then
15132 echo $ac_n "(cached) $ac_c" 1>&6
15135 cat > conftest.
$ac_ext <<EOF
15136 #line 15137 "configure"
15137 #include "confdefs.h"
15138 #include <pthread.h>
15141 pthread_mutexattr_t attr;
15142 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
15146 if { (eval echo configure
:15147: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15149 wx_cv_type_pthread_mutexattr_t
=yes
15152 echo "configure: failed program was:" >&5
15153 cat conftest.
$ac_ext >&5
15156 wx_cv_type_pthread_mutexattr_t
=no
15164 echo "$ac_t""$wx_cv_type_pthread_mutexattr_t" 1>&6
15166 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
15167 cat >> confdefs.h
<<\EOF
15168 #define HAVE_PTHREAD_MUTEXATTR_T 1
15172 echo $ac_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER""... $ac_c" 1>&6
15173 echo "configure:15174: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
15174 if eval "test \"`echo '$''{'wx_cv_type_pthread_rec_mutex_init'+set}'`\" = set"; then
15175 echo $ac_n "(cached) $ac_c" 1>&6
15178 cat > conftest.
$ac_ext <<EOF
15179 #line 15180 "configure"
15180 #include "confdefs.h"
15181 #include <pthread.h>
15184 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
15188 if { (eval echo configure
:15189: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15191 wx_cv_type_pthread_rec_mutex_init
=yes
15194 echo "configure: failed program was:" >&5
15195 cat conftest.
$ac_ext >&5
15198 wx_cv_type_pthread_rec_mutex_init
=no
15206 echo "$ac_t""$wx_cv_type_pthread_rec_mutex_init" 1>&6
15207 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
15208 cat >> confdefs.h
<<\EOF
15209 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
15213 echo "configure: warning: wxMutex won't be recursive on this platform" 1>&2
15217 THREADS_LINK
="-l$THREADS_LINK"
15219 if test "$USE_SOLARIS" = "yes" -a "$GCC" != "yes"; then
15220 CPPFLAGS
="${CFLAGS} -mt"
15221 CXXFLAGS
="${CXXFLAGS} -mt"
15222 LDFLAGS
="${LDFLAGS} -mt"
15228 if test "$wxUSE_THREADS" = "yes"; then
15229 cat >> confdefs.h
<<\EOF
15230 #define wxUSE_THREADS 1
15234 if test "$USE_DARWIN" != 1; then
15235 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
15238 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
15240 if test "$ac_cv_func_strtok_r" = "yes"; then
15241 echo $ac_n "checking if -D_REENTRANT is needed""... $ac_c" 1>&6
15242 echo "configure:15243: checking if -D_REENTRANT is needed" >&5
15243 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
15244 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
15245 echo "$ac_t""yes" 1>&6
15247 echo "$ac_t""no" 1>&6
15252 if test "$WXGTK20" = 1 ; then
15253 cat >> confdefs.h
<<EOF
15254 #define __WXGTK20__ $WXGTK20
15260 if test "$WXGTK12" = 1 ; then
15261 cat >> confdefs.h
<<EOF
15262 #define __WXGTK12__ $WXGTK12
15267 if test "$WXGTK127" = 1 ; then
15268 cat >> confdefs.h
<<EOF
15269 #define __WXGTK127__ $WXGTK127
15276 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
15281 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
15282 wxUSE_DEBUG_INFO
=yes
15286 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
15287 cat >> confdefs.h
<<\EOF
15291 WXDEBUG_DEFINE
="-D__WXDEBUG__"
15293 if test "$wxUSE_GTK" = 1 ; then
15294 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
15298 if test "$wxUSE_MEM_TRACING" = "yes" ; then
15299 cat >> confdefs.h
<<\EOF
15300 #define wxUSE_MEMORY_TRACING 1
15303 cat >> confdefs.h
<<\EOF
15304 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
15307 cat >> confdefs.h
<<\EOF
15308 #define wxUSE_DEBUG_NEW_ALWAYS 1
15311 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
15314 if test "$wxUSE_DMALLOC" = "yes" ; then
15315 DMALLOC_LINK
="-ldmalloc"
15319 if test "$wxUSE_PROFILE" = "yes" ; then
15323 if test "$GCC" = yes ; then
15324 if test "$wxUSE_NO_RTTI" = "yes" ; then
15325 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
15327 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
15328 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
15330 if test "$wxUSE_PERMISSIVE" = "yes" ; then
15331 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
15333 if test "$wxUSE_NO_DEPS" = "no" ; then
15334 CFLAGS
="-MMD ${CFLAGS}"
15335 CXXFLAGS
="-MMD ${CXXFLAGS}"
15337 if test "$USE_WIN32" = 1 ; then
15338 # I'm not even really sure what this was ever added to solve,
15339 # but someone added it for mingw native builds, so I guess
15340 # they had a reason, right??
15341 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fno-pcc-struct-return"
15346 CXXFLAGS
=`echo "${CXXFLAGS}" | sed "s/\-O.//g" `
15347 CFLAGS
=`echo "${CFLAGS}" | sed "s/\-O.//g" `
15348 if test "$wxUSE_OPTIMISE" = "no" ; then
15351 if test "$GCC" = yes ; then
15354 i586
-*-*|i686
-*-* )
15355 OPTIMISE
="${OPTIMISE} "
15363 if test "$WXWIN_COMPATIBILITY_2" = "yes"; then
15364 cat >> confdefs.h
<<\EOF
15365 #define WXWIN_COMPATIBILITY_2 1
15369 WXWIN_COMPATIBILITY_2_2
="yes"
15372 if test "$WXWIN_COMPATIBILITY_2_2" = "yes"; then
15373 cat >> confdefs.h
<<\EOF
15374 #define WXWIN_COMPATIBILITY_2_2 1
15381 if test "$wxUSE_ZLIB" = "yes" -o "$wxUSE_ZLIB" = "sys" ; then
15382 cat >> confdefs.h
<<\EOF
15383 #define wxUSE_ZLIB 1
15386 if test "$wxUSE_ZLIB" = "yes" ; then
15387 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
15390 ac_safe
=`echo "zlib.h" | sed 'y%./+-%__p_%'`
15391 echo $ac_n "checking for zlib.h""... $ac_c" 1>&6
15392 echo "configure:15393: checking for zlib.h" >&5
15393 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15394 echo $ac_n "(cached) $ac_c" 1>&6
15396 cat > conftest.
$ac_ext <<EOF
15397 #line 15398 "configure"
15398 #include "confdefs.h"
15401 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15402 { (eval echo configure
:15403: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15403 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15404 if test -z "$ac_err"; then
15406 eval "ac_cv_header_$ac_safe=yes"
15409 echo "configure: failed program was:" >&5
15410 cat conftest.
$ac_ext >&5
15412 eval "ac_cv_header_$ac_safe=no"
15416 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15417 echo "$ac_t""yes" 1>&6
15418 echo $ac_n "checking for deflate in -lz""... $ac_c" 1>&6
15419 echo "configure:15420: checking for deflate in -lz" >&5
15420 ac_lib_var
=`echo z'_'deflate | sed 'y%./+-%__p_%'`
15421 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15422 echo $ac_n "(cached) $ac_c" 1>&6
15424 ac_save_LIBS
="$LIBS"
15426 cat > conftest.
$ac_ext <<EOF
15427 #line 15428 "configure"
15428 #include "confdefs.h"
15429 /* Override any gcc2 internal prototype to avoid an error. */
15430 /* We use char because int might match the return type of a gcc2
15431 builtin and then its argument prototype would still apply. */
15438 if { (eval echo configure
:15439: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15440 eval "ac_cv_lib_$ac_lib_var=yes"
15442 echo "configure: failed program was:" >&5
15443 cat conftest.
$ac_ext >&5
15445 eval "ac_cv_lib_$ac_lib_var=no"
15448 LIBS
="$ac_save_LIBS"
15451 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15452 echo "$ac_t""yes" 1>&6
15455 echo "$ac_t""no" 1>&6
15459 echo "$ac_t""no" 1>&6
15462 if test "x$ZLIB_LINK" = "x" ; then
15463 { echo "configure: error: system zlib compression library not found! Use --with-zlib=yes to use built-in zlib" 1>&2; exit 1; }
15469 if test "$wxUSE_LIBPNG" = "yes" -o "$wxUSE_LIBPNG" = "sys" ; then
15470 cat >> confdefs.h
<<\EOF
15471 #define wxUSE_LIBPNG 1
15474 if test "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
15475 echo "configure: warning: --with-libpng=sys doesn't work without --with-zlib=sys, will compile the built-in libpng instead" 1>&2
15479 if test "$wxUSE_LIBPNG" = "yes" ; then
15480 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
15483 ac_safe
=`echo "png.h" | sed 'y%./+-%__p_%'`
15484 echo $ac_n "checking for png.h""... $ac_c" 1>&6
15485 echo "configure:15486: checking for png.h" >&5
15486 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15487 echo $ac_n "(cached) $ac_c" 1>&6
15489 cat > conftest.
$ac_ext <<EOF
15490 #line 15491 "configure"
15491 #include "confdefs.h"
15494 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15495 { (eval echo configure
:15496: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15496 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15497 if test -z "$ac_err"; then
15499 eval "ac_cv_header_$ac_safe=yes"
15502 echo "configure: failed program was:" >&5
15503 cat conftest.
$ac_ext >&5
15505 eval "ac_cv_header_$ac_safe=no"
15509 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15510 echo "$ac_t""yes" 1>&6
15511 echo $ac_n "checking for png_check_sig in -lpng""... $ac_c" 1>&6
15512 echo "configure:15513: checking for png_check_sig in -lpng" >&5
15513 ac_lib_var
=`echo png'_'png_check_sig | sed 'y%./+-%__p_%'`
15514 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15515 echo $ac_n "(cached) $ac_c" 1>&6
15517 ac_save_LIBS
="$LIBS"
15518 LIBS
="-lpng -lz -lm $LIBS"
15519 cat > conftest.
$ac_ext <<EOF
15520 #line 15521 "configure"
15521 #include "confdefs.h"
15522 /* Override any gcc2 internal prototype to avoid an error. */
15523 /* We use char because int might match the return type of a gcc2
15524 builtin and then its argument prototype would still apply. */
15525 char png_check_sig();
15531 if { (eval echo configure
:15532: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15533 eval "ac_cv_lib_$ac_lib_var=yes"
15535 echo "configure: failed program was:" >&5
15536 cat conftest.
$ac_ext >&5
15538 eval "ac_cv_lib_$ac_lib_var=no"
15541 LIBS
="$ac_save_LIBS"
15544 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15545 echo "$ac_t""yes" 1>&6
15548 echo "$ac_t""no" 1>&6
15553 echo "$ac_t""no" 1>&6
15556 if test "x$PNG_LINK" = "x" ; then
15557 { echo "configure: error: system png library not found! Use --with-libpng=yes to use the built-in libpng" 1>&2; exit 1; }
15561 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
15565 if test "$wxUSE_LIBJPEG" = "yes" -o "$wxUSE_LIBJPEG" = "sys" ; then
15566 cat >> confdefs.h
<<\EOF
15567 #define wxUSE_LIBJPEG 1
15570 if test "$wxUSE_LIBJPEG" = "yes" ; then
15571 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
15574 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6
15575 echo "configure:15576: checking for jpeglib.h" >&5
15576 if eval "test \"`echo '$''{'ac_cv_header_jpeglib_h'+set}'`\" = set"; then
15577 echo $ac_n "(cached) $ac_c" 1>&6
15579 cat > conftest.
$ac_ext <<EOF
15580 #line 15581 "configure"
15581 #include "confdefs.h"
15583 #undef HAVE_STDLIB_H
15585 #include <jpeglib.h>
15592 if { (eval echo configure
:15593: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15594 ac_cv_header_jpeglib_h
=yes
15596 echo "configure: failed program was:" >&5
15597 cat conftest.
$ac_ext >&5
15599 ac_cv_header_jpeglib_h
=no
15606 echo "$ac_t""$ac_cv_header_jpeglib_h" 1>&6
15608 if test "$ac_cv_header_jpeglib_h" = "yes"; then
15609 echo $ac_n "checking for jpeg_read_header in -ljpeg""... $ac_c" 1>&6
15610 echo "configure:15611: checking for jpeg_read_header in -ljpeg" >&5
15611 ac_lib_var
=`echo jpeg'_'jpeg_read_header | sed 'y%./+-%__p_%'`
15612 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15613 echo $ac_n "(cached) $ac_c" 1>&6
15615 ac_save_LIBS
="$LIBS"
15616 LIBS
="-ljpeg $LIBS"
15617 cat > conftest.
$ac_ext <<EOF
15618 #line 15619 "configure"
15619 #include "confdefs.h"
15620 /* Override any gcc2 internal prototype to avoid an error. */
15621 /* We use char because int might match the return type of a gcc2
15622 builtin and then its argument prototype would still apply. */
15623 char jpeg_read_header();
15629 if { (eval echo configure
:15630: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15631 eval "ac_cv_lib_$ac_lib_var=yes"
15633 echo "configure: failed program was:" >&5
15634 cat conftest.
$ac_ext >&5
15636 eval "ac_cv_lib_$ac_lib_var=no"
15639 LIBS
="$ac_save_LIBS"
15642 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15643 echo "$ac_t""yes" 1>&6
15646 echo "$ac_t""no" 1>&6
15651 if test "x$JPEG_LINK" = "x" ; then
15652 { echo "configure: error: system jpeg library not found! Use --with-libjpeg=yes to use the built-in one" 1>&2; exit 1; }
15658 if test "$wxUSE_LIBTIFF" = "yes" -o "$wxUSE_LIBTIFF" = "sys" ; then
15659 cat >> confdefs.h
<<\EOF
15660 #define wxUSE_LIBTIFF 1
15663 if test "$wxUSE_LIBTIFF" = "yes" ; then
15664 TIFF_INCLUDE
="-I\${top_srcdir}/src/tiff"
15667 ac_safe
=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
15668 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
15669 echo "configure:15670: checking for tiffio.h" >&5
15670 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15671 echo $ac_n "(cached) $ac_c" 1>&6
15673 cat > conftest.
$ac_ext <<EOF
15674 #line 15675 "configure"
15675 #include "confdefs.h"
15676 #include <tiffio.h>
15678 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15679 { (eval echo configure
:15680: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15680 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15681 if test -z "$ac_err"; then
15683 eval "ac_cv_header_$ac_safe=yes"
15686 echo "configure: failed program was:" >&5
15687 cat conftest.
$ac_ext >&5
15689 eval "ac_cv_header_$ac_safe=no"
15693 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15694 echo "$ac_t""yes" 1>&6
15695 echo $ac_n "checking for TIFFError in -ltiff""... $ac_c" 1>&6
15696 echo "configure:15697: checking for TIFFError in -ltiff" >&5
15697 ac_lib_var
=`echo tiff'_'TIFFError | sed 'y%./+-%__p_%'`
15698 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15699 echo $ac_n "(cached) $ac_c" 1>&6
15701 ac_save_LIBS
="$LIBS"
15702 LIBS
="-ltiff -lm $LIBS"
15703 cat > conftest.
$ac_ext <<EOF
15704 #line 15705 "configure"
15705 #include "confdefs.h"
15706 /* Override any gcc2 internal prototype to avoid an error. */
15707 /* We use char because int might match the return type of a gcc2
15708 builtin and then its argument prototype would still apply. */
15715 if { (eval echo configure
:15716: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15717 eval "ac_cv_lib_$ac_lib_var=yes"
15719 echo "configure: failed program was:" >&5
15720 cat conftest.
$ac_ext >&5
15722 eval "ac_cv_lib_$ac_lib_var=no"
15725 LIBS
="$ac_save_LIBS"
15728 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15729 echo "$ac_t""yes" 1>&6
15732 echo "$ac_t""no" 1>&6
15736 echo "$ac_t""no" 1>&6
15739 if test "x$TIFF_LINK" = "x" ; then
15740 { echo "configure: error: system tiff library not found! Use --with-libtiff=yes to use the built-in one" 1>&2; exit 1; }
15746 if test "$wxUSE_FREETYPE" = "yes" -o "$wxUSE_FREETYPE" = "sys" ; then
15747 cat >> confdefs.h
<<\EOF
15748 #define wxUSE_FREETYPE 1
15751 if test "$wxUSE_FREETYPE" = "yes" ; then
15752 FREETYPE_INCLUDE
="-I\${top_srcdir}/src/freetype"
15755 ac_safe
=`echo "freetype.h" | sed 'y%./+-%__p_%'`
15756 echo $ac_n "checking for freetype.h""... $ac_c" 1>&6
15757 echo "configure:15758: checking for freetype.h" >&5
15758 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15759 echo $ac_n "(cached) $ac_c" 1>&6
15761 cat > conftest.
$ac_ext <<EOF
15762 #line 15763 "configure"
15763 #include "confdefs.h"
15764 #include <freetype.h>
15766 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15767 { (eval echo configure
:15768: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15768 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15769 if test -z "$ac_err"; then
15771 eval "ac_cv_header_$ac_safe=yes"
15774 echo "configure: failed program was:" >&5
15775 cat conftest.
$ac_ext >&5
15777 eval "ac_cv_header_$ac_safe=no"
15781 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15782 echo "$ac_t""yes" 1>&6
15783 echo $ac_n "checking for FT_Render_Glyph in -lfreetype""... $ac_c" 1>&6
15784 echo "configure:15785: checking for FT_Render_Glyph in -lfreetype" >&5
15785 ac_lib_var
=`echo freetype'_'FT_Render_Glyph | sed 'y%./+-%__p_%'`
15786 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15787 echo $ac_n "(cached) $ac_c" 1>&6
15789 ac_save_LIBS
="$LIBS"
15790 LIBS
="-lfreetype -lm $LIBS"
15791 cat > conftest.
$ac_ext <<EOF
15792 #line 15793 "configure"
15793 #include "confdefs.h"
15794 /* Override any gcc2 internal prototype to avoid an error. */
15795 /* We use char because int might match the return type of a gcc2
15796 builtin and then its argument prototype would still apply. */
15797 char FT_Render_Glyph();
15803 if { (eval echo configure
:15804: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15805 eval "ac_cv_lib_$ac_lib_var=yes"
15807 echo "configure: failed program was:" >&5
15808 cat conftest.
$ac_ext >&5
15810 eval "ac_cv_lib_$ac_lib_var=no"
15813 LIBS
="$ac_save_LIBS"
15816 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15817 echo "$ac_t""yes" 1>&6
15818 FREETYPE_LINK
="-lfreetype"
15820 echo "$ac_t""no" 1>&6
15825 echo "$ac_t""no" 1>&6
15828 if test "x$FREETYPE_LINK" = "x" ; then
15829 { echo "configure: error: system freetype library not found! Use --with-freetype=yes to use the built-in freetype" 1>&2; exit 1; }
15835 if test "$wxUSE_GUI" = "yes"; then
15836 cat >> confdefs.h
<<\EOF
15837 #define wxUSE_GUI 1
15842 cat >> confdefs.h
<<\EOF
15843 #define wxUSE_NOGUI 1
15849 if test "$wxUSE_UNIX" = "yes"; then
15850 cat >> confdefs.h
<<\EOF
15851 #define wxUSE_UNIX 1
15857 if test "$wxUSE_APPLE_IEEE" = "yes"; then
15858 cat >> confdefs.h
<<\EOF
15859 #define wxUSE_APPLE_IEEE 1
15864 if test "$wxUSE_TIMER" = "yes"; then
15865 cat >> confdefs.h
<<\EOF
15866 #define wxUSE_TIMER 1
15871 if test "$wxUSE_WAVE" = "yes"; then
15872 cat >> confdefs.h
<<\EOF
15873 #define wxUSE_WAVE 1
15878 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
15879 cat >> confdefs.h
<<\EOF
15880 #define wxUSE_CMDLINE_PARSER 1
15885 if test "$wxUSE_STOPWATCH" = "yes"; then
15886 cat >> confdefs.h
<<\EOF
15887 #define wxUSE_STOPWATCH 1
15892 if test "$wxUSE_DATETIME" = "yes"; then
15893 cat >> confdefs.h
<<\EOF
15894 #define wxUSE_DATETIME 1
15899 if test "$wxUSE_TIMEDATE" = "yes"; then
15900 cat >> confdefs.h
<<\EOF
15901 #define wxUSE_TIMEDATE 1
15906 if test "$wxUSE_FILE" = "yes"; then
15907 cat >> confdefs.h
<<\EOF
15908 #define wxUSE_FILE 1
15913 if test "$wxUSE_FFILE" = "yes"; then
15914 cat >> confdefs.h
<<\EOF
15915 #define wxUSE_FFILE 1
15920 if test "$wxUSE_FILESYSTEM" = "yes"; then
15921 cat >> confdefs.h
<<\EOF
15922 #define wxUSE_FILESYSTEM 1
15927 if test "$wxUSE_FS_INET" = "yes"; then
15928 cat >> confdefs.h
<<\EOF
15929 #define wxUSE_FS_INET 1
15934 if test "$wxUSE_FS_ZIP" = "yes"; then
15935 cat >> confdefs.h
<<\EOF
15936 #define wxUSE_FS_ZIP 1
15941 if test "$wxUSE_ZIPSTREAM" = "yes"; then
15942 cat >> confdefs.h
<<\EOF
15943 #define wxUSE_ZIPSTREAM 1
15948 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
15949 cat >> confdefs.h
<<\EOF
15950 #define wxUSE_ON_FATAL_EXCEPTION 1
15955 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
15956 cat >> confdefs.h
<<\EOF
15957 #define wxUSE_SNGLINST_CHECKER 1
15962 if test "$wxUSE_BUSYINFO" = "yes"; then
15963 cat >> confdefs.h
<<\EOF
15964 #define wxUSE_BUSYINFO 1
15969 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
15970 cat >> confdefs.h
<<\EOF
15971 #define wxUSE_STD_IOSTREAM 1
15976 if test "$wxUSE_TEXTFILE" = "yes"; then
15977 if test "$wxUSE_FILE" != "yes"; then
15978 echo "configure: warning: wxTextFile requires wxFile and it won't be compiled without it" 1>&2
15980 cat >> confdefs.h
<<\EOF
15981 #define wxUSE_TEXTFILE 1
15987 if test "$wxUSE_CONFIG" = "yes" ; then
15988 if test "$wxUSE_TEXTFILE" != "yes"; then
15989 echo "configure: warning: wxConfig requires wxTextFile and it won't be compiled without it" 1>&2
15991 cat >> confdefs.h
<<\EOF
15992 #define wxUSE_CONFIG 1
15995 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
15999 if test "$wxUSE_INTL" = "yes" ; then
16000 if test "$wxUSE_FILE" != "yes"; then
16001 echo "configure: warning: I18n code requires wxFile and it won't be compiled without it" 1>&2
16003 cat >> confdefs.h
<<\EOF
16004 #define wxUSE_INTL 1
16007 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
16008 GUIDIST
="$GUIDIST INTL_DIST"
16012 if test "$wxUSE_LOG" = "yes"; then
16013 cat >> confdefs.h
<<\EOF
16014 #define wxUSE_LOG 1
16018 if test "$wxUSE_LOGGUI" = "yes"; then
16019 cat >> confdefs.h
<<\EOF
16020 #define wxUSE_LOGGUI 1
16025 if test "$wxUSE_LOGWINDOW" = "yes"; then
16026 cat >> confdefs.h
<<\EOF
16027 #define wxUSE_LOGWINDOW 1
16033 if test "$wxUSE_LONGLONG" = "yes"; then
16034 cat >> confdefs.h
<<\EOF
16035 #define wxUSE_LONGLONG 1
16040 if test "$wxUSE_GEOMETRY" = "yes"; then
16041 cat >> confdefs.h
<<\EOF
16042 #define wxUSE_GEOMETRY 1
16047 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
16048 cat >> confdefs.h
<<\EOF
16049 #define wxUSE_DIALUP_MANAGER 1
16052 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
16055 if test "$wxUSE_STREAMS" = "yes" ; then
16056 cat >> confdefs.h
<<\EOF
16057 #define wxUSE_STREAMS 1
16063 if test "$wxUSE_DATETIME" = "yes"; then
16064 for ac_func
in strptime
16066 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16067 echo "configure:16068: checking for $ac_func" >&5
16068 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16069 echo $ac_n "(cached) $ac_c" 1>&6
16071 cat > conftest.
$ac_ext <<EOF
16072 #line 16073 "configure"
16073 #include "confdefs.h"
16074 /* System header to define __stub macros and hopefully few prototypes,
16075 which can conflict with char $ac_func(); below. */
16076 #include <assert.h>
16077 /* Override any gcc2 internal prototype to avoid an error. */
16078 /* We use char because int might match the return type of a gcc2
16079 builtin and then its argument prototype would still apply. */
16084 /* The GNU C library defines this for functions which it implements
16085 to always fail with ENOSYS. Some functions are actually named
16086 something starting with __ and the normal name is an alias. */
16087 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16095 if { (eval echo configure
:16096: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16097 eval "ac_cv_func_$ac_func=yes"
16099 echo "configure: failed program was:" >&5
16100 cat conftest.
$ac_ext >&5
16102 eval "ac_cv_func_$ac_func=no"
16107 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16108 echo "$ac_t""yes" 1>&6
16109 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16110 cat >> confdefs.h
<<EOF
16111 #define $ac_tr_func 1
16115 echo "$ac_t""no" 1>&6
16120 echo $ac_n "checking for timezone variable in <time.h>""... $ac_c" 1>&6
16121 echo "configure:16122: checking for timezone variable in <time.h>" >&5
16122 if eval "test \"`echo '$''{'wx_cv_var_timezone'+set}'`\" = set"; then
16123 echo $ac_n "(cached) $ac_c" 1>&6
16126 cat > conftest.
$ac_ext <<EOF
16127 #line 16128 "configure"
16128 #include "confdefs.h"
16139 if { (eval echo configure
:16140: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16142 wx_cv_var_timezone
=timezone
16145 echo "configure: failed program was:" >&5
16146 cat conftest.
$ac_ext >&5
16149 cat > conftest.
$ac_ext <<EOF
16150 #line 16151 "configure"
16151 #include "confdefs.h"
16162 if { (eval echo configure
:16163: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16165 wx_cv_var_timezone
=_timezone
16168 echo "configure: failed program was:" >&5
16169 cat conftest.
$ac_ext >&5
16172 cat > conftest.
$ac_ext <<EOF
16173 #line 16174 "configure"
16174 #include "confdefs.h"
16185 if { (eval echo configure
:16186: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16188 wx_cv_var_timezone
=__timezone
16191 echo "configure: failed program was:" >&5
16192 cat conftest.
$ac_ext >&5
16194 { echo "configure: error: no timezone variable" 1>&2; exit 1; }
16210 echo "$ac_t""$wx_cv_var_timezone" 1>&6
16212 cat >> confdefs.h
<<EOF
16213 #define WX_TIMEZONE $wx_cv_var_timezone
16217 for ac_func
in localtime
16219 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16220 echo "configure:16221: checking for $ac_func" >&5
16221 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16222 echo $ac_n "(cached) $ac_c" 1>&6
16224 cat > conftest.
$ac_ext <<EOF
16225 #line 16226 "configure"
16226 #include "confdefs.h"
16227 /* System header to define __stub macros and hopefully few prototypes,
16228 which can conflict with char $ac_func(); below. */
16229 #include <assert.h>
16230 /* Override any gcc2 internal prototype to avoid an error. */
16231 /* We use char because int might match the return type of a gcc2
16232 builtin and then its argument prototype would still apply. */
16237 /* The GNU C library defines this for functions which it implements
16238 to always fail with ENOSYS. Some functions are actually named
16239 something starting with __ and the normal name is an alias. */
16240 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16248 if { (eval echo configure
:16249: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16250 eval "ac_cv_func_$ac_func=yes"
16252 echo "configure: failed program was:" >&5
16253 cat conftest.
$ac_ext >&5
16255 eval "ac_cv_func_$ac_func=no"
16260 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16261 echo "$ac_t""yes" 1>&6
16262 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16263 cat >> confdefs.h
<<EOF
16264 #define $ac_tr_func 1
16268 echo "$ac_t""no" 1>&6
16273 if test "$ac_cv_func_localtime" = "yes"; then
16274 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
16275 echo "configure:16276: checking for tm_gmtoff in struct tm" >&5
16276 if eval "test \"`echo '$''{'wx_cv_struct_tm_has_gmtoff'+set}'`\" = set"; then
16277 echo $ac_n "(cached) $ac_c" 1>&6
16280 cat > conftest.
$ac_ext <<EOF
16281 #line 16282 "configure"
16282 #include "confdefs.h"
16293 if { (eval echo configure
:16294: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16296 wx_cv_struct_tm_has_gmtoff
=yes
16299 echo "configure: failed program was:" >&5
16300 cat conftest.
$ac_ext >&5
16302 wx_cv_struct_tm_has_gmtoff
=no
16309 echo "$ac_t""$wx_cv_struct_tm_has_gmtoff" 1>&6
16312 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
16313 cat >> confdefs.h
<<\EOF
16314 #define WX_GMTOFF_IN_TM 1
16319 for ac_func
in gettimeofday ftime
16321 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16322 echo "configure:16323: checking for $ac_func" >&5
16323 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16324 echo $ac_n "(cached) $ac_c" 1>&6
16326 cat > conftest.
$ac_ext <<EOF
16327 #line 16328 "configure"
16328 #include "confdefs.h"
16329 /* System header to define __stub macros and hopefully few prototypes,
16330 which can conflict with char $ac_func(); below. */
16331 #include <assert.h>
16332 /* Override any gcc2 internal prototype to avoid an error. */
16333 /* We use char because int might match the return type of a gcc2
16334 builtin and then its argument prototype would still apply. */
16339 /* The GNU C library defines this for functions which it implements
16340 to always fail with ENOSYS. Some functions are actually named
16341 something starting with __ and the normal name is an alias. */
16342 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16350 if { (eval echo configure
:16351: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16352 eval "ac_cv_func_$ac_func=yes"
16354 echo "configure: failed program was:" >&5
16355 cat conftest.
$ac_ext >&5
16357 eval "ac_cv_func_$ac_func=no"
16362 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16363 echo "$ac_t""yes" 1>&6
16364 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16365 cat >> confdefs.h
<<EOF
16366 #define $ac_tr_func 1
16370 echo "$ac_t""no" 1>&6
16375 if test "$ac_cv_func_gettimeofday" = "yes"; then
16376 echo $ac_n "checking whether gettimeofday takes two arguments""... $ac_c" 1>&6
16377 echo "configure:16378: checking whether gettimeofday takes two arguments" >&5
16378 if eval "test \"`echo '$''{'wx_cv_func_gettimeofday_has_2_args'+set}'`\" = set"; then
16379 echo $ac_n "(cached) $ac_c" 1>&6
16384 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16385 ac_cpp
='$CXXCPP $CPPFLAGS'
16386 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16387 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16388 cross_compiling
=$ac_cv_prog_cxx_cross
16391 cat > conftest.
$ac_ext <<EOF
16392 #line 16393 "configure"
16393 #include "confdefs.h"
16395 #include <sys/time.h>
16396 #include <unistd.h>
16401 gettimeofday(&tv, NULL);
16405 if { (eval echo configure
:16406: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16407 wx_cv_func_gettimeofday_has_2_args
=yes
16409 echo "configure: failed program was:" >&5
16410 cat conftest.
$ac_ext >&5
16412 cat > conftest.
$ac_ext <<EOF
16413 #line 16414 "configure"
16414 #include "confdefs.h"
16416 #include <sys/time.h>
16417 #include <unistd.h>
16426 if { (eval echo configure
:16427: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16428 wx_cv_func_gettimeofday_has_2_args
=no
16430 echo "configure: failed program was:" >&5
16431 cat conftest.
$ac_ext >&5
16434 echo "configure: warning: failed to determine number of gettimeofday() arguments" 1>&2
16435 wx_cv_func_gettimeofday_has_2_args
=unknown
16444 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16445 ac_cpp
='$CPP $CPPFLAGS'
16446 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16447 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16448 cross_compiling
=$ac_cv_prog_cc_cross
16453 echo "$ac_t""$wx_cv_func_gettimeofday_has_2_args" 1>&6
16455 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
16456 cat >> confdefs.h
<<\EOF
16457 #define WX_GETTIMEOFDAY_NO_TZ 1
16463 cat >> confdefs.h
<<\EOF
16464 #define wxUSE_TIMEDATE 1
16467 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
16471 if test "$TOOLKIT" != "MSW"; then
16473 if test "$wxUSE_SOCKETS" = "yes"; then
16474 echo $ac_n "checking for socket""... $ac_c" 1>&6
16475 echo "configure:16476: checking for socket" >&5
16476 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
16477 echo $ac_n "(cached) $ac_c" 1>&6
16479 cat > conftest.
$ac_ext <<EOF
16480 #line 16481 "configure"
16481 #include "confdefs.h"
16482 /* System header to define __stub macros and hopefully few prototypes,
16483 which can conflict with char socket(); below. */
16484 #include <assert.h>
16485 /* Override any gcc2 internal prototype to avoid an error. */
16486 /* We use char because int might match the return type of a gcc2
16487 builtin and then its argument prototype would still apply. */
16492 /* The GNU C library defines this for functions which it implements
16493 to always fail with ENOSYS. Some functions are actually named
16494 something starting with __ and the normal name is an alias. */
16495 #if defined (__stub_socket) || defined (__stub___socket)
16503 if { (eval echo configure
:16504: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16505 eval "ac_cv_func_socket=yes"
16507 echo "configure: failed program was:" >&5
16508 cat conftest.
$ac_ext >&5
16510 eval "ac_cv_func_socket=no"
16515 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
16516 echo "$ac_t""yes" 1>&6
16519 echo "$ac_t""no" 1>&6
16520 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
16521 echo "configure:16522: checking for socket in -lsocket" >&5
16522 ac_lib_var
=`echo socket'_'socket | sed 'y%./+-%__p_%'`
16523 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16524 echo $ac_n "(cached) $ac_c" 1>&6
16526 ac_save_LIBS
="$LIBS"
16527 LIBS
="-lsocket $LIBS"
16528 cat > conftest.
$ac_ext <<EOF
16529 #line 16530 "configure"
16530 #include "confdefs.h"
16531 /* Override any gcc2 internal prototype to avoid an error. */
16532 /* We use char because int might match the return type of a gcc2
16533 builtin and then its argument prototype would still apply. */
16540 if { (eval echo configure
:16541: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16542 eval "ac_cv_lib_$ac_lib_var=yes"
16544 echo "configure: failed program was:" >&5
16545 cat conftest.
$ac_ext >&5
16547 eval "ac_cv_lib_$ac_lib_var=no"
16550 LIBS
="$ac_save_LIBS"
16553 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16554 echo "$ac_t""yes" 1>&6
16555 INET_LINK
="$INET_LINK -lsocket"
16557 echo "$ac_t""no" 1>&6
16559 echo "configure: warning: socket library not found - sockets will be disabled" 1>&2
16571 if test "$wxUSE_SOCKETS" = "yes" ; then
16572 echo $ac_n "checking what is the type of the third argument of getsockname""... $ac_c" 1>&6
16573 echo "configure:16574: checking what is the type of the third argument of getsockname" >&5
16574 if eval "test \"`echo '$''{'wx_cv_type_getsockname3'+set}'`\" = set"; then
16575 echo $ac_n "(cached) $ac_c" 1>&6
16580 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16581 ac_cpp
='$CXXCPP $CPPFLAGS'
16582 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16583 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16584 cross_compiling
=$ac_cv_prog_cxx_cross
16587 cat > conftest.
$ac_ext <<EOF
16588 #line 16589 "configure"
16589 #include "confdefs.h"
16591 #include <sys/types.h>
16592 #include <sys/socket.h>
16597 getsockname(0, 0, &len);
16601 if { (eval echo configure
:16602: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16603 wx_cv_type_getsockname3
=socklen_t
16605 echo "configure: failed program was:" >&5
16606 cat conftest.
$ac_ext >&5
16608 cat > conftest.
$ac_ext <<EOF
16609 #line 16610 "configure"
16610 #include "confdefs.h"
16612 #include <sys/types.h>
16613 #include <sys/socket.h>
16618 getsockname(0, 0, &len);
16622 if { (eval echo configure
:16623: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16624 wx_cv_type_getsockname3
=size_t
16626 echo "configure: failed program was:" >&5
16627 cat conftest.
$ac_ext >&5
16629 cat > conftest.
$ac_ext <<EOF
16630 #line 16631 "configure"
16631 #include "confdefs.h"
16633 #include <sys/types.h>
16634 #include <sys/socket.h>
16639 getsockname(0, 0, &len);
16643 if { (eval echo configure
:16644: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16645 wx_cv_type_getsockname3
=int
16647 echo "configure: failed program was:" >&5
16648 cat conftest.
$ac_ext >&5
16650 wx_cv_type_getsockname3
=unknown
16662 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16663 ac_cpp
='$CPP $CPPFLAGS'
16664 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16665 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16666 cross_compiling
=$ac_cv_prog_cc_cross
16671 echo "$ac_t""$wx_cv_type_getsockname3" 1>&6
16673 if test "$wx_cv_type_getsockname3" = "unknown"; then
16675 echo "configure: warning: Couldn't find socklen_t synonym for this system" 1>&2
16677 cat >> confdefs.h
<<EOF
16678 #define SOCKLEN_T $wx_cv_type_getsockname3
16685 if test "$wxUSE_SOCKETS" = "yes" ; then
16686 cat >> confdefs.h
<<\EOF
16687 #define wxUSE_SOCKETS 1
16690 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
16694 if test "$wxUSE_GUI" = "yes"; then
16696 if test "$TOOLKIT" != "MSW"; then
16697 if test "$wxUSE_JOYSTICK" = "yes"; then
16698 for ac_hdr
in linux
/joystick.h
16700 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
16701 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
16702 echo "configure:16703: checking for $ac_hdr" >&5
16703 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
16704 echo $ac_n "(cached) $ac_c" 1>&6
16706 cat > conftest.
$ac_ext <<EOF
16707 #line 16708 "configure"
16708 #include "confdefs.h"
16711 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
16712 { (eval echo configure
:16713: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16713 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
16714 if test -z "$ac_err"; then
16716 eval "ac_cv_header_$ac_safe=yes"
16719 echo "configure: failed program was:" >&5
16720 cat conftest.
$ac_ext >&5
16722 eval "ac_cv_header_$ac_safe=no"
16726 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
16727 echo "$ac_t""yes" 1>&6
16728 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
16729 cat >> confdefs.h
<<EOF
16730 #define $ac_tr_hdr 1
16734 echo "$ac_t""no" 1>&6
16738 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
16740 echo "configure: warning: Joystick not supported by this system" 1>&2
16745 if test "$wxUSE_JOYSTICK" = "yes"; then
16746 cat >> confdefs.h
<<\EOF
16747 #define wxUSE_JOYSTICK 1
16750 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
16755 if test "$TOOLKIT" != "MSW"; then
16759 if test "$wxUSE_DYNLIB_CLASS" = "yes"; then
16760 if test "$USE_DARWIN" = 1; then
16763 for ac_func
in dlopen
16765 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16766 echo "configure:16767: checking for $ac_func" >&5
16767 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16768 echo $ac_n "(cached) $ac_c" 1>&6
16770 cat > conftest.
$ac_ext <<EOF
16771 #line 16772 "configure"
16772 #include "confdefs.h"
16773 /* System header to define __stub macros and hopefully few prototypes,
16774 which can conflict with char $ac_func(); below. */
16775 #include <assert.h>
16776 /* Override any gcc2 internal prototype to avoid an error. */
16777 /* We use char because int might match the return type of a gcc2
16778 builtin and then its argument prototype would still apply. */
16783 /* The GNU C library defines this for functions which it implements
16784 to always fail with ENOSYS. Some functions are actually named
16785 something starting with __ and the normal name is an alias. */
16786 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16794 if { (eval echo configure
:16795: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16796 eval "ac_cv_func_$ac_func=yes"
16798 echo "configure: failed program was:" >&5
16799 cat conftest.
$ac_ext >&5
16801 eval "ac_cv_func_$ac_func=no"
16806 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16807 echo "$ac_t""yes" 1>&6
16808 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16809 cat >> confdefs.h
<<EOF
16810 #define $ac_tr_func 1
16813 cat >> confdefs.h
<<\EOF
16814 #define HAVE_DLOPEN 1
16820 echo "$ac_t""no" 1>&6
16821 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
16822 echo "configure:16823: checking for dlopen in -ldl" >&5
16823 ac_lib_var
=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
16824 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16825 echo $ac_n "(cached) $ac_c" 1>&6
16827 ac_save_LIBS
="$LIBS"
16829 cat > conftest.
$ac_ext <<EOF
16830 #line 16831 "configure"
16831 #include "confdefs.h"
16832 /* Override any gcc2 internal prototype to avoid an error. */
16833 /* We use char because int might match the return type of a gcc2
16834 builtin and then its argument prototype would still apply. */
16841 if { (eval echo configure
:16842: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16843 eval "ac_cv_lib_$ac_lib_var=yes"
16845 echo "configure: failed program was:" >&5
16846 cat conftest.
$ac_ext >&5
16848 eval "ac_cv_lib_$ac_lib_var=no"
16851 LIBS
="$ac_save_LIBS"
16854 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16855 echo "$ac_t""yes" 1>&6
16857 cat >> confdefs.h
<<\EOF
16858 #define HAVE_DLOPEN 1
16865 echo "$ac_t""no" 1>&6
16867 for ac_func
in shl_load
16869 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16870 echo "configure:16871: checking for $ac_func" >&5
16871 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16872 echo $ac_n "(cached) $ac_c" 1>&6
16874 cat > conftest.
$ac_ext <<EOF
16875 #line 16876 "configure"
16876 #include "confdefs.h"
16877 /* System header to define __stub macros and hopefully few prototypes,
16878 which can conflict with char $ac_func(); below. */
16879 #include <assert.h>
16880 /* Override any gcc2 internal prototype to avoid an error. */
16881 /* We use char because int might match the return type of a gcc2
16882 builtin and then its argument prototype would still apply. */
16887 /* The GNU C library defines this for functions which it implements
16888 to always fail with ENOSYS. Some functions are actually named
16889 something starting with __ and the normal name is an alias. */
16890 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16898 if { (eval echo configure
:16899: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16900 eval "ac_cv_func_$ac_func=yes"
16902 echo "configure: failed program was:" >&5
16903 cat conftest.
$ac_ext >&5
16905 eval "ac_cv_func_$ac_func=no"
16910 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16911 echo "$ac_t""yes" 1>&6
16912 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16913 cat >> confdefs.h
<<EOF
16914 #define $ac_tr_func 1
16917 cat >> confdefs.h
<<\EOF
16918 #define HAVE_SHL_LOAD 1
16924 echo "$ac_t""no" 1>&6
16925 echo $ac_n "checking for dld in -lshl_load""... $ac_c" 1>&6
16926 echo "configure:16927: checking for dld in -lshl_load" >&5
16927 ac_lib_var
=`echo shl_load'_'dld | sed 'y%./+-%__p_%'`
16928 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16929 echo $ac_n "(cached) $ac_c" 1>&6
16931 ac_save_LIBS
="$LIBS"
16932 LIBS
="-lshl_load $LIBS"
16933 cat > conftest.
$ac_ext <<EOF
16934 #line 16935 "configure"
16935 #include "confdefs.h"
16936 /* Override any gcc2 internal prototype to avoid an error. */
16937 /* We use char because int might match the return type of a gcc2
16938 builtin and then its argument prototype would still apply. */
16945 if { (eval echo configure
:16946: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16947 eval "ac_cv_lib_$ac_lib_var=yes"
16949 echo "configure: failed program was:" >&5
16950 cat conftest.
$ac_ext >&5
16952 eval "ac_cv_lib_$ac_lib_var=no"
16955 LIBS
="$ac_save_LIBS"
16958 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16959 echo "$ac_t""yes" 1>&6
16965 echo "$ac_t""no" 1>&6
16980 if test "$HAVE_DL_FUNCS" = 1; then
16981 for ac_func
in dlerror
16983 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16984 echo "configure:16985: checking for $ac_func" >&5
16985 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16986 echo $ac_n "(cached) $ac_c" 1>&6
16988 cat > conftest.
$ac_ext <<EOF
16989 #line 16990 "configure"
16990 #include "confdefs.h"
16991 /* System header to define __stub macros and hopefully few prototypes,
16992 which can conflict with char $ac_func(); below. */
16993 #include <assert.h>
16994 /* Override any gcc2 internal prototype to avoid an error. */
16995 /* We use char because int might match the return type of a gcc2
16996 builtin and then its argument prototype would still apply. */
17001 /* The GNU C library defines this for functions which it implements
17002 to always fail with ENOSYS. Some functions are actually named
17003 something starting with __ and the normal name is an alias. */
17004 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17012 if { (eval echo configure
:17013: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17014 eval "ac_cv_func_$ac_func=yes"
17016 echo "configure: failed program was:" >&5
17017 cat conftest.
$ac_ext >&5
17019 eval "ac_cv_func_$ac_func=no"
17024 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17025 echo "$ac_t""yes" 1>&6
17026 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17027 cat >> confdefs.h
<<EOF
17028 #define $ac_tr_func 1
17030 cat >> confdefs.h
<<\EOF
17031 #define HAVE_DLERROR 1
17035 echo "$ac_t""no" 1>&6
17036 echo $ac_n "checking for dlerror in -ldl""... $ac_c" 1>&6
17037 echo "configure:17038: checking for dlerror in -ldl" >&5
17038 ac_lib_var
=`echo dl'_'dlerror | sed 'y%./+-%__p_%'`
17039 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17040 echo $ac_n "(cached) $ac_c" 1>&6
17042 ac_save_LIBS
="$LIBS"
17044 cat > conftest.
$ac_ext <<EOF
17045 #line 17046 "configure"
17046 #include "confdefs.h"
17047 /* Override any gcc2 internal prototype to avoid an error. */
17048 /* We use char because int might match the return type of a gcc2
17049 builtin and then its argument prototype would still apply. */
17056 if { (eval echo configure
:17057: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17058 eval "ac_cv_lib_$ac_lib_var=yes"
17060 echo "configure: failed program was:" >&5
17061 cat conftest.
$ac_ext >&5
17063 eval "ac_cv_lib_$ac_lib_var=no"
17066 LIBS
="$ac_save_LIBS"
17069 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17070 echo "$ac_t""yes" 1>&6
17071 cat >> confdefs.h
<<\EOF
17072 #define HAVE_DLERROR 1
17076 echo "$ac_t""no" 1>&6
17085 if test "$HAVE_DL_FUNCS" = 0; then
17086 if test "$HAVE_SHL_FUNCS" = 0; then
17087 if test "$USE_UNIX" = 1; then
17088 echo "configure: warning: Missing dynamic loading support, several features will be disabled" 1>&2
17089 wxUSE_DYNLIB_CLASS
=no
17091 echo "configure: warning: Assuming wxLibrary class works on this platform" 1>&2
17098 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
17099 cat >> confdefs.h
<<\EOF
17100 #define wxUSE_DYNLIB_CLASS 1
17109 if test "$wxUSE_FONTMAP" = "yes" ; then
17110 cat >> confdefs.h
<<\EOF
17111 #define wxUSE_FONTMAP 1
17116 if test "$wxUSE_UNICODE" = "yes" ; then
17117 cat >> confdefs.h
<<\EOF
17118 #define wxUSE_UNICODE 1
17123 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
17124 cat >> confdefs.h
<<\EOF
17125 #define wxUSE_EXPERIMENTAL_PRINTF 1
17131 if test "$wxUSE_SERIAL" = "yes" ; then
17132 cat >> confdefs.h
<<\EOF
17133 #define wxUSE_SERIAL 1
17140 if test "$wxUSE_ODBC" = "yes" ; then
17141 cat >> confdefs.h
<<\EOF
17142 #define wxUSE_ODBC 1
17145 WXODBCFLAG
="-D_IODBC_"
17146 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
17150 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
17151 cat >> confdefs.h
<<\EOF
17152 #define wxUSE_POSTSCRIPT 1
17157 cat >> confdefs.h
<<\EOF
17158 #define wxUSE_AFM_FOR_POSTSCRIPT 1
17162 cat >> confdefs.h
<<\EOF
17163 #define wxUSE_NORMALIZED_PS_FONTS 1
17168 if test "$wxUSE_CONSTRAINTS" = "yes"; then
17169 cat >> confdefs.h
<<\EOF
17170 #define wxUSE_CONSTRAINTS 1
17173 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
17176 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
17177 cat >> confdefs.h
<<\EOF
17178 #define wxUSE_MDI_ARCHITECTURE 1
17181 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
17184 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
17185 cat >> confdefs.h
<<\EOF
17186 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
17189 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
17190 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
17191 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
17195 if test "$wxUSE_HELP" = "yes"; then
17196 cat >> confdefs.h
<<\EOF
17197 #define wxUSE_HELP 1
17200 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
17202 if test "$USE_WIN32" = 1; then
17203 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
17204 ac_safe
=`echo "htmlhelp.h" | sed 'y%./+-%__p_%'`
17205 echo $ac_n "checking for htmlhelp.h""... $ac_c" 1>&6
17206 echo "configure:17207: checking for htmlhelp.h" >&5
17207 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17208 echo $ac_n "(cached) $ac_c" 1>&6
17210 cat > conftest.
$ac_ext <<EOF
17211 #line 17212 "configure"
17212 #include "confdefs.h"
17213 #include <htmlhelp.h>
17215 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17216 { (eval echo configure
:17217: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17217 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17218 if test -z "$ac_err"; then
17220 eval "ac_cv_header_$ac_safe=yes"
17223 echo "configure: failed program was:" >&5
17224 cat conftest.
$ac_ext >&5
17226 eval "ac_cv_header_$ac_safe=no"
17230 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17231 echo "$ac_t""yes" 1>&6
17233 cat >> confdefs.h
<<\EOF
17234 #define wxUSE_MS_HTML_HELP 1
17239 echo "$ac_t""no" 1>&6
17241 echo "configure: warning: MS HTML Help cannot be used without htmlhelp.h, disabled" 1>&2
17242 wxUSE_MS_HTML_HELP
=no
17249 if test "$wxUSE_WXHTML_HELP" = "yes"; then
17250 if test "$wxUSE_HTML" = "yes"; then
17251 cat >> confdefs.h
<<\EOF
17252 #define wxUSE_WXHTML_HELP 1
17256 echo "configure: warning: Cannot use wxHTML-based help without wxHTML so it won't be compiled" 1>&2
17257 wxUSE_WXHTML_HELP
=no
17262 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
17263 if test "$wxUSE_CONSTRAINTS" != "yes"; then
17264 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
17266 cat >> confdefs.h
<<\EOF
17267 #define wxUSE_PRINTING_ARCHITECTURE 1
17271 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
17274 if test "$wxUSE_PROLOGIO" = "yes" ; then
17275 cat >> confdefs.h
<<\EOF
17276 #define wxUSE_PROLOGIO 1
17281 if test "$wxUSE_RESOURCES" = "yes" ; then
17282 cat >> confdefs.h
<<\EOF
17283 #define wxUSE_RESOURCES 1
17286 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS resource"
17289 if test "$wxUSE_X_RESOURCES" = "yes"; then
17290 cat >> confdefs.h
<<\EOF
17291 #define wxUSE_X_RESOURCES 1
17297 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
17298 -o "$wxUSE_CLIPBOARD" = "yes" \
17299 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
17300 for ac_hdr
in ole2.h
17302 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
17303 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
17304 echo "configure:17305: checking for $ac_hdr" >&5
17305 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17306 echo $ac_n "(cached) $ac_c" 1>&6
17308 cat > conftest.
$ac_ext <<EOF
17309 #line 17310 "configure"
17310 #include "confdefs.h"
17313 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17314 { (eval echo configure
:17315: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17315 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17316 if test -z "$ac_err"; then
17318 eval "ac_cv_header_$ac_safe=yes"
17321 echo "configure: failed program was:" >&5
17322 cat conftest.
$ac_ext >&5
17324 eval "ac_cv_header_$ac_safe=no"
17328 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17329 echo "$ac_t""yes" 1>&6
17330 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
17331 cat >> confdefs.h
<<EOF
17332 #define $ac_tr_hdr 1
17336 echo "$ac_t""no" 1>&6
17341 if test "$ac_cv_header_ole2_h" = "yes" ; then
17342 if test "$GCC" = yes ; then
17343 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
17344 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
17345 LIBS
="$LIBS -lrpcrt4 -loleaut32 -lole32 -luuid"
17346 cat >> confdefs.h
<<\EOF
17347 #define wxUSE_OLE 1
17353 cat >> confdefs.h
<<\EOF
17354 #define wxUSE_DATAOBJ 1
17358 echo "configure: warning: Some features disabled because OLE headers not found" 1>&2
17361 wxUSE_DRAG_AND_DROP
=no
17365 if test "$wxUSE_METAFILE" = "yes"; then
17366 cat >> confdefs.h
<<\EOF
17367 #define wxUSE_METAFILE 1
17371 cat >> confdefs.h
<<\EOF
17372 #define wxUSE_ENH_METAFILE 1
17378 if test "$wxUSE_IPC" = "yes"; then
17379 if test "$wxUSE_SOCKETS" != "yes"; then
17380 echo "configure: warning: wxWindows IPC classes require sockets" 1>&2
17383 cat >> confdefs.h
<<\EOF
17384 #define wxUSE_IPC 1
17389 if test "$wxUSE_CLIPBOARD" = "yes"; then
17390 cat >> confdefs.h
<<\EOF
17391 #define wxUSE_CLIPBOARD 1
17395 cat >> confdefs.h
<<\EOF
17396 #define wxUSE_DATAOBJ 1
17401 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
17402 if test "$wxUSE_GTK" = 1; then
17403 if test "$WXGTK12" != 1; then
17404 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2" 1>&2
17405 wxUSE_DRAG_AND_DROP
=no
17409 if test "$wxUSE_MOTIF" = 1; then
17410 echo "configure: warning: Drag and drop is not yet supported under Motif" 1>&2
17411 wxUSE_DRAG_AND_DROP
=no
17414 if test "$wxUSE_MAC" = 1; then
17415 echo "configure: warning: Drag and drop is not yet supported under Mac OS X" 1>&2
17416 wxUSE_DRAG_AND_DROP
=no
17419 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
17420 cat >> confdefs.h
<<\EOF
17421 #define wxUSE_DRAG_AND_DROP 1
17424 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
17429 if test "$wxUSE_SPLINES" = "yes" ; then
17430 cat >> confdefs.h
<<\EOF
17431 #define wxUSE_SPLINES 1
17438 if test "$wxUSE_CONTROLS" = "yes"; then
17442 if test "$wxUSE_ACCEL" = "yes"; then
17443 cat >> confdefs.h
<<\EOF
17444 #define wxUSE_ACCEL 1
17450 if test "$wxUSE_BUTTON" = "yes"; then
17451 cat >> confdefs.h
<<\EOF
17452 #define wxUSE_BUTTON 1
17458 if test "$wxUSE_BMPBUTTON" = "yes"; then
17459 cat >> confdefs.h
<<\EOF
17460 #define wxUSE_BMPBUTTON 1
17466 if test "$wxUSE_CALCTRL" = "yes"; then
17467 cat >> confdefs.h
<<\EOF
17468 #define wxUSE_CALENDARCTRL 1
17472 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
17475 if test "$wxUSE_CARET" = "yes"; then
17476 cat >> confdefs.h
<<\EOF
17477 #define wxUSE_CARET 1
17481 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
17484 if test "$wxUSE_COMBOBOX" = "yes"; then
17485 cat >> confdefs.h
<<\EOF
17486 #define wxUSE_COMBOBOX 1
17492 if test "$wxUSE_CHOICE" = "yes"; then
17493 cat >> confdefs.h
<<\EOF
17494 #define wxUSE_CHOICE 1
17500 if test "$wxUSE_CHECKBOX" = "yes"; then
17501 cat >> confdefs.h
<<\EOF
17502 #define wxUSE_CHECKBOX 1
17508 if test "$wxUSE_CHECKLST" = "yes"; then
17509 cat >> confdefs.h
<<\EOF
17510 #define wxUSE_CHECKLISTBOX 1
17514 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
17517 if test "$wxUSE_GAUGE" = "yes"; then
17518 cat >> confdefs.h
<<\EOF
17519 #define wxUSE_GAUGE 1
17525 if test "$wxUSE_NEW_GRID" = "yes"; then
17527 cat >> confdefs.h
<<\EOF
17528 #define wxUSE_NEW_GRID 1
17532 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS newgrid"
17535 if test "$wxUSE_GRID" = "yes"; then
17536 cat >> confdefs.h
<<\EOF
17537 #define wxUSE_GRID 1
17541 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
17544 if test "$wxUSE_IMAGLIST" = "yes"; then
17545 cat >> confdefs.h
<<\EOF
17546 #define wxUSE_IMAGLIST 1
17551 if test "$wxUSE_LISTBOX" = "yes"; then
17552 cat >> confdefs.h
<<\EOF
17553 #define wxUSE_LISTBOX 1
17559 if test "$wxUSE_LISTCTRL" = "yes"; then
17560 if test "$wxUSE_IMAGLIST" = "yes"; then
17561 cat >> confdefs.h
<<\EOF
17562 #define wxUSE_LISTCTRL 1
17566 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
17568 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
17572 if test "$wxUSE_NOTEBOOK" = "yes"; then
17573 cat >> confdefs.h
<<\EOF
17574 #define wxUSE_NOTEBOOK 1
17578 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
17581 if test "$wxUSE_PROPSHEET" = "yes"; then
17582 cat >> confdefs.h
<<\EOF
17583 #define wxUSE_PROPSHEET 1
17587 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS proplist"
17590 if test "$wxUSE_RADIOBOX" = "yes"; then
17591 cat >> confdefs.h
<<\EOF
17592 #define wxUSE_RADIOBOX 1
17598 if test "$wxUSE_RADIOBTN" = "yes"; then
17599 cat >> confdefs.h
<<\EOF
17600 #define wxUSE_RADIOBTN 1
17606 if test "$wxUSE_SASH" = "yes"; then
17607 cat >> confdefs.h
<<\EOF
17608 #define wxUSE_SASH 1
17611 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
17614 if test "$wxUSE_SCROLLBAR" = "yes"; then
17615 cat >> confdefs.h
<<\EOF
17616 #define wxUSE_SCROLLBAR 1
17620 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
17623 if test "$wxUSE_SLIDER" = "yes"; then
17624 cat >> confdefs.h
<<\EOF
17625 #define wxUSE_SLIDER 1
17631 if test "$wxUSE_SPINBTN" = "yes"; then
17632 cat >> confdefs.h
<<\EOF
17633 #define wxUSE_SPINBTN 1
17639 if test "$wxUSE_SPINCTRL" = "yes"; then
17640 cat >> confdefs.h
<<\EOF
17641 #define wxUSE_SPINCTRL 1
17647 if test "$wxUSE_SPLITTER" = "yes"; then
17648 cat >> confdefs.h
<<\EOF
17649 #define wxUSE_SPLITTER 1
17652 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
17655 if test "$wxUSE_STATBMP" = "yes"; then
17656 cat >> confdefs.h
<<\EOF
17657 #define wxUSE_STATBMP 1
17663 if test "$wxUSE_STATBOX" = "yes"; then
17664 cat >> confdefs.h
<<\EOF
17665 #define wxUSE_STATBOX 1
17671 if test "$wxUSE_STATTEXT" = "yes"; then
17672 cat >> confdefs.h
<<\EOF
17673 #define wxUSE_STATTEXT 1
17679 if test "$wxUSE_STATLINE" = "yes"; then
17680 if test "$wxUSE_WINE" = 1 ; then
17681 echo "configure: warning: wxStaticLine is not supported under WINE" 1>&2
17683 cat >> confdefs.h
<<\EOF
17684 #define wxUSE_STATLINE 1
17691 if test "$wxUSE_STATUSBAR" = "yes"; then
17692 cat >> confdefs.h
<<\EOF
17693 #define wxUSE_STATUSBAR 1
17698 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
17701 if test "$wxUSE_TABDIALOG" = "yes"; then
17702 cat >> confdefs.h
<<\EOF
17703 #define wxUSE_TAB_DIALOG 1
17706 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
17709 if test "$wxUSE_TEXTCTRL" = "yes"; then
17710 cat >> confdefs.h
<<\EOF
17711 #define wxUSE_TEXTCTRL 1
17715 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
17718 if test "$wxUSE_TOGGLEBTN" = "yes"; then
17719 if test "$wxUSE_MAC" = 1; then
17720 echo "configure: warning: Toggle button is not yet supported under Mac OS X" 1>&2
17724 if test "$wxUSE_TOGGLEBTN" = "yes"; then
17725 cat >> confdefs.h
<<\EOF
17726 #define wxUSE_TOGGLEBTN 1
17733 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
17734 cat >> confdefs.h
<<\EOF
17735 #define wxUSE_TOOLBAR_SIMPLE 1
17738 wxUSE_TOOLBAR
="yes"
17742 if test "$wxUSE_TOOLBAR" = "yes"; then
17743 cat >> confdefs.h
<<\EOF
17744 #define wxUSE_TOOLBAR 1
17749 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
17750 wxUSE_TOOLBAR_NATIVE
="yes"
17753 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
17754 cat >> confdefs.h
<<\EOF
17755 #define wxUSE_TOOLBAR_NATIVE 1
17761 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
17764 if test "$wxUSE_TOOLTIPS" = "yes"; then
17765 if test "$wxUSE_MOTIF" = 1; then
17766 echo "configure: warning: wxTooltip not supported yet under Motif" 1>&2
17768 if test "$wxUSE_WINE" = 1; then
17769 echo "configure: warning: wxTooltip not supported under WINE" 1>&2
17771 cat >> confdefs.h
<<\EOF
17772 #define wxUSE_TOOLTIPS 1
17779 if test "$wxUSE_TREECTRL" = "yes"; then
17780 if test "$wxUSE_IMAGLIST" = "yes"; then
17781 cat >> confdefs.h
<<\EOF
17782 #define wxUSE_TREECTRL 1
17786 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
17788 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
17792 if test "$wxUSE_POPUPWIN" = "yes"; then
17793 if test "$wxUSE_MAC" = 1; then
17794 echo "configure: warning: Popup window is not yet supported under Mac OS" 1>&2
17796 cat >> confdefs.h
<<\EOF
17797 #define wxUSE_POPUPWIN 1
17804 if test "$USES_CONTROLS" = 1; then
17805 cat >> confdefs.h
<<\EOF
17806 #define wxUSE_CONTROLS 1
17812 if test "$wxUSE_TREELAYOUT" = "yes"; then
17813 cat >> confdefs.h
<<\EOF
17814 #define wxUSE_TREELAYOUT 1
17817 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treelay"
17820 if test "$wxUSE_DRAGIMAGE" = "yes"; then
17821 cat >> confdefs.h
<<\EOF
17822 #define wxUSE_DRAGIMAGE 1
17825 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
17828 if test "$wxUSE_MENUS" = "yes"; then
17829 cat >> confdefs.h
<<\EOF
17830 #define wxUSE_MENUS 1
17833 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
17836 if test "$wxUSE_METAFILE" = "yes"; then
17837 cat >> confdefs.h
<<\EOF
17838 #define wxUSE_METAFILE 1
17843 if test "$wxUSE_MIMETYPE" = "yes"; then
17844 cat >> confdefs.h
<<\EOF
17845 #define wxUSE_MIMETYPE 1
17850 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
17851 cat >> confdefs.h
<<\EOF
17852 #define wxUSE_SYSTEM_OPTIONS 1
17857 if test "$wxUSE_MINIFRAME" = "yes"; then
17858 cat >> confdefs.h
<<\EOF
17859 #define wxUSE_MINIFRAME 1
17862 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
17865 if test "$wxUSE_HTML" = "yes"; then
17866 cat >> confdefs.h
<<\EOF
17867 #define wxUSE_HTML 1
17870 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html"
17873 if test "$wxUSE_VALIDATORS" = "yes"; then
17874 cat >> confdefs.h
<<\EOF
17875 #define wxUSE_VALIDATORS 1
17878 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
17881 if test "$wxUSE_PALETTE" = "yes" ; then
17882 cat >> confdefs.h
<<\EOF
17883 #define wxUSE_PALETTE 1
17888 if test "$wxUSE_IMAGE" = "yes" ; then
17889 cat >> confdefs.h
<<\EOF
17890 #define wxUSE_IMAGE 1
17895 if test "$wxUSE_GIF" = "yes" ; then
17896 cat >> confdefs.h
<<\EOF
17897 #define wxUSE_GIF 1
17902 if test "$wxUSE_PCX" = "yes" ; then
17903 cat >> confdefs.h
<<\EOF
17904 #define wxUSE_PCX 1
17909 if test "$wxUSE_PNM" = "yes" ; then
17910 cat >> confdefs.h
<<\EOF
17911 #define wxUSE_PNM 1
17916 if test "$wxUSE_XPM" = "yes" ; then
17917 cat >> confdefs.h
<<\EOF
17918 #define wxUSE_XPM 1
17924 if test "$wxUSE_CHOICEDLG" = "yes"; then
17925 cat >> confdefs.h
<<\EOF
17926 #define wxUSE_CHOICEDLG 1
17931 if test "$wxUSE_COLOURDLG" = "yes"; then
17932 cat >> confdefs.h
<<\EOF
17933 #define wxUSE_COLOURDLG 1
17938 if test "$wxUSE_FILEDLG" = "yes"; then
17939 cat >> confdefs.h
<<\EOF
17940 #define wxUSE_FILEDLG 1
17945 if test "$wxUSE_FINDREPLDLG" = "yes"; then
17946 cat >> confdefs.h
<<\EOF
17947 #define wxUSE_FINDREPLDLG 1
17952 if test "$wxUSE_FONTDLG" = "yes"; then
17953 cat >> confdefs.h
<<\EOF
17954 #define wxUSE_FONTDLG 1
17959 if test "$wxUSE_DIRDLG" = "yes"; then
17960 if test "$wxUSE_CONSTRAINTS" != "yes"; then
17961 echo "configure: warning: wxDirDialog requires constraints so it won't be compiled without them" 1>&2
17963 if test "$wxUSE_TREECTRL" != "yes"; then
17964 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
17966 cat >> confdefs.h
<<\EOF
17967 #define wxUSE_DIRDLG 1
17974 if test "$wxUSE_MSGDLG" = "yes"; then
17975 cat >> confdefs.h
<<\EOF
17976 #define wxUSE_MSGDLG 1
17981 if test "$wxUSE_NUMBERDLG" = "yes"; then
17982 cat >> confdefs.h
<<\EOF
17983 #define wxUSE_NUMBERDLG 1
17988 if test "$wxUSE_PROGRESSDLG" = "yes"; then
17989 if test "$wxUSE_CONSTRAINTS" != "yes"; then
17990 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
17992 cat >> confdefs.h
<<\EOF
17993 #define wxUSE_PROGRESSDLG 1
17999 if test "$wxUSE_SPLASH" = "yes"; then
18000 cat >> confdefs.h
<<\EOF
18001 #define wxUSE_SPLASH 1
18006 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
18007 if test "$wxUSE_CONSTRAINTS" != "yes"; then
18008 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
18010 cat >> confdefs.h
<<\EOF
18011 #define wxUSE_STARTUP_TIPS 1
18017 if test "$wxUSE_TEXTDLG" = "yes"; then
18018 cat >> confdefs.h
<<\EOF
18019 #define wxUSE_TEXTDLG 1
18024 if test "$wxUSE_WIZARDDLG" = "yes"; then
18025 cat >> confdefs.h
<<\EOF
18026 #define wxUSE_WIZARDDLG 1
18029 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
18033 if test "$cross_compiling" = "yes"; then
18036 OSINFO
=`uname -s -r -m`
18037 OSINFO
="\"$OSINFO\""
18040 cat >> confdefs.h
<<EOF
18041 #define WXWIN_OS_DESCRIPTION $OSINFO
18046 if test "x$prefix" != "xNONE"; then
18049 wxPREFIX
=$ac_default_prefix
18052 cat >> confdefs.h
<<EOF
18053 #define wxINSTALL_PREFIX "$wxPREFIX"
18058 GUILIBS
="$GUI_TK_LIBRARY $TOOLKIT_LINK"
18060 EXTRA_LIBS
="$LIBS $POSIX4_LINK $INET_LINK $WCHAR_LINK $THREADS_LINK $DMALLOC_LINK $DL_LINK $ZLIB_LINK -lm"
18062 if test "$wxUSE_MAC" = 1 ; then
18063 EXTRA_LIBS
="$EXTRA_LIBS -framework Carbon -framework System"
18066 if test "$wxUSE_GUI" = "yes"; then
18067 EXTRA_LIBS
="$GUILIBS $PNG_LINK $JPEG_LINK $TIFF_LINK $FREETYPE_LINK $EXTRA_LIBS"
18070 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS controls dialogs \
18071 drawing dynamic erase event exec font image \
18072 minimal richedit rotate widgets"
18074 if test "$wxUSE_UNIVERSAL" = "yes" ; then
18075 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS univ"
18078 CPPFLAGS
="$CPPFLAGS \$(EXTRADEFS) \$(APPEXTRADEFS)"
18080 SAMPLES_SUBDIRS
="console"
18083 LD_LIBS
="\${top_builddir}/lib/${WX_LIBRARY_NAME_STATIC} $EXTRA_LIBS"
18085 INCLUDES
="-I. -I\${top_builddir}/lib/wx/include/${TOOLCHAIN_NAME} -I\${top_srcdir}/include \
18086 $REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \
18087 $FREETYPE_INCLUDE $TOOLKIT_INCLUDE"
18089 if test "$wxUSE_GTK" = 1; then
18090 WXCONFIG_INCLUDE
=""
18092 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
18095 if test "$GXX" = yes ; then
18096 CXXWARNINGS
="-Wall"
18098 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE $INCLUDES"
18100 CFLAGS
=`echo $CFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
18101 CXXFLAGS
=`echo $CXXFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
18103 LDFLAGS
="$LDFLAGS $PROFILE"
18105 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
18188 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
18189 echo "configure:18190: checking whether ${MAKE-make} sets \${MAKE}" >&5
18190 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
18191 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
18192 echo $ac_n "(cached) $ac_c" 1>&6
18194 cat > conftestmake
<<\EOF
18196 @
echo 'ac_maketemp="${MAKE}"'
18198 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
18199 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
18200 if test -n "$ac_maketemp"; then
18201 eval ac_cv_prog_make_
${ac_make}_set
=yes
18203 eval ac_cv_prog_make_
${ac_make}_set
=no
18207 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
18208 echo "$ac_t""yes" 1>&6
18211 echo "$ac_t""no" 1>&6
18212 SET_MAKE
="MAKE=${MAKE-make}"
18216 if test -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
; then
18217 mv -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h setup.h
18222 if test "$wxUSE_GUI" = "yes"; then
18223 wx_cv_path_samplesubdirs
=$SAMPLES_SUBDIRS
18224 wx_cv_path_ifs
=$PATH_IFS
18225 wx_cv_program_ext
=$PROGRAM_EXT
18226 wx_cv_target_library
=$WX_TARGET_LIBRARY
18227 wx_cv_target_library_gl
=$WX_TARGET_LIBRARY_GL
18228 wx_cv_target_libtype
=$WX_TARGET_LIBRARY_TYPE
18229 export wx_cv_path_samplesubdirs wx_cv_path_ifs wx_cv_program_ext \
18230 wx_cv_target_library wx_cv_target_library_gl wx_cv_target_libtype
18231 subdirs
="demos samples utils contrib"
18236 cat > confcache
<<\EOF
18237 # This file is a shell script that caches the results of configure
18238 # tests run on this system so they can be shared between configure
18239 # scripts and configure runs. It is not useful on other systems.
18240 # If it contains results you don't want to keep, you may remove or edit it.
18242 # By default, configure uses ./config.cache as the cache file,
18243 # creating it if it does not exist already. You can give configure
18244 # the --cache-file=FILE option to use a different cache file; that is
18245 # what configure does when it calls configure scripts in
18246 # subdirectories, so they share the cache.
18247 # Giving --cache-file=/dev/null disables caching, for debugging configure.
18248 # config.status only pays attention to the cache file if you give it the
18249 # --recheck option to rerun configure.
18252 # The following way of writing the cache mishandles newlines in values,
18253 # but we know of no workaround that is simple, portable, and efficient.
18254 # So, don't put newlines in cache variables' values.
18255 # Ultrix sh set writes to stderr and can't be redirected directly,
18256 # and sets the high bit in the cache file unless we assign to the vars.
18258 case `(ac_space=' '; set | grep ac_space) 2>&1` in
18260 # `set' does not quote correctly, so add quotes (double-quote substitution
18261 # turns \\\\ into \\, and sed turns \\ into \).
18263 -e "s/'/'\\\\''/g" \
18264 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
18267 # `set' quotes correctly as required by POSIX, so do not add quotes.
18268 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
18271 if cmp -s $cache_file confcache
; then
18274 if test -w $cache_file; then
18275 echo "updating cache $cache_file"
18276 cat confcache
> $cache_file
18278 echo "not updating unwritable cache $cache_file"
18283 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
18285 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
18286 # Let make expand exec_prefix.
18287 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
18289 # Any assignment to VPATH causes Sun make to only execute
18290 # the first set of double-colon rules, so remove it if not needed.
18291 # If there is a colon in the path, we need to keep it.
18292 if test "x$srcdir" = x.
; then
18293 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
18296 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
18298 DEFS
=-DHAVE_CONFIG_H
18300 # Without the "./", some shells look in PATH for config.status.
18301 : ${CONFIG_STATUS=./config.status}
18303 echo creating
$CONFIG_STATUS
18304 rm -f $CONFIG_STATUS
18305 cat > $CONFIG_STATUS <<EOF
18307 # Generated automatically by configure.
18308 # Run this file to recreate the current configuration.
18309 # This directory was configured as follows,
18310 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18312 # $0 $ac_configure_args
18314 # Compiler output produced by configure, useful for debugging
18315 # configure, is in ./config.log if it exists.
18317 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
18320 case "\$ac_option" in
18321 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18322 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
18323 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
18324 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
18325 echo "$CONFIG_STATUS generated by autoconf version 2.13"
18327 -help | --help | --hel | --he | --h)
18328 echo "\$ac_cs_usage"; exit 0 ;;
18329 *) echo "\$ac_cs_usage"; exit 1 ;;
18333 ac_given_srcdir=$srcdir
18334 ac_given_INSTALL="$INSTALL"
18336 trap 'rm -fr `echo "
18342 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
18344 cat >> $CONFIG_STATUS <<EOF
18346 # Protect against being on the right side of a sed subst in config.status.
18347 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
18348 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
18352 s%@CFLAGS@%$CFLAGS%g
18353 s%@CPPFLAGS@%$CPPFLAGS%g
18354 s%@CXXFLAGS@%$CXXFLAGS%g
18355 s%@FFLAGS@%$FFLAGS%g
18357 s%@LDFLAGS@%$LDFLAGS%g
18359 s%@exec_prefix@%$exec_prefix%g
18360 s%@prefix@%$prefix%g
18361 s%@program_transform_name@%$program_transform_name%g
18362 s%@bindir@%$bindir%g
18363 s%@sbindir@%$sbindir%g
18364 s%@libexecdir@%$libexecdir%g
18365 s%@datadir@%$datadir%g
18366 s%@sysconfdir@%$sysconfdir%g
18367 s%@sharedstatedir@%$sharedstatedir%g
18368 s%@localstatedir@%$localstatedir%g
18369 s%@libdir@%$libdir%g
18370 s%@includedir@%$includedir%g
18371 s%@oldincludedir@%$oldincludedir%g
18372 s%@infodir@%$infodir%g
18373 s%@mandir@%$mandir%g
18375 s%@host_alias@%$host_alias%g
18376 s%@host_cpu@%$host_cpu%g
18377 s%@host_vendor@%$host_vendor%g
18378 s%@host_os@%$host_os%g
18379 s%@target@%$target%g
18380 s%@target_alias@%$target_alias%g
18381 s%@target_cpu@%$target_cpu%g
18382 s%@target_vendor@%$target_vendor%g
18383 s%@target_os@%$target_os%g
18385 s%@build_alias@%$build_alias%g
18386 s%@build_cpu@%$build_cpu%g
18387 s%@build_vendor@%$build_vendor%g
18388 s%@build_os@%$build_os%g
18392 s%@RANLIB@%$RANLIB%g
18394 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
18395 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
18396 s%@INSTALL_DATA@%$INSTALL_DATA%g
18400 s%@LEXLIB@%$LEXLIB%g
18402 s%@GTK_CONFIG_2_0@%$GTK_CONFIG_2_0%g
18403 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
18404 s%@GTK_LIBS@%$GTK_LIBS%g
18405 s%@GTK_CONFIG@%$GTK_CONFIG%g
18406 s%@X_CFLAGS@%$X_CFLAGS%g
18407 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
18408 s%@X_LIBS@%$X_LIBS%g
18409 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
18410 s%@RESCOMP@%$RESCOMP%g
18412 s%@CXXCPP@%$CXXCPP%g
18413 s%@LEX_STEM@%$LEX_STEM%g
18414 s%@PATH_IFS@%$PATH_IFS%g
18415 s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
18416 s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
18417 s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
18418 s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
18419 s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
18420 s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
18421 s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
18422 s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
18423 s%@PROGRAM_EXT@%$PROGRAM_EXT%g
18424 s%@WX_LIBRARY_NAME_STATIC_GL@%$WX_LIBRARY_NAME_STATIC_GL%g
18425 s%@WX_LIBRARY_NAME_SHARED_GL@%$WX_LIBRARY_NAME_SHARED_GL%g
18426 s%@WX_TARGET_LIBRARY_GL@%$WX_TARGET_LIBRARY_GL%g
18427 s%@WX_LIBRARY_LINK1_GL@%$WX_LIBRARY_LINK1_GL%g
18428 s%@WX_LIBRARY_LINK2_GL@%$WX_LIBRARY_LINK2_GL%g
18429 s%@WX_ALL@%$WX_ALL%g
18430 s%@WX_ALL_INSTALLED@%$WX_ALL_INSTALLED%g
18431 s%@SHARED_LD@%$SHARED_LD%g
18432 s%@PIC_FLAG@%$PIC_FLAG%g
18433 s%@CODE_GEN_FLAGS@%$CODE_GEN_FLAGS%g
18434 s%@CODE_GEN_FLAGS_CXX@%$CODE_GEN_FLAGS_CXX%g
18435 s%@SONAME_FLAGS@%$SONAME_FLAGS%g
18436 s%@SONAME_FLAGS_GL@%$SONAME_FLAGS_GL%g
18437 s%@WX_TARGET_LIBRARY_SONAME@%$WX_TARGET_LIBRARY_SONAME%g
18438 s%@WX_TARGET_LIBRARY_TYPE@%$WX_TARGET_LIBRARY_TYPE%g
18439 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
18440 s%@USE_GUI@%$USE_GUI%g
18441 s%@AFMINSTALL@%$AFMINSTALL%g
18442 s%@TOOLKIT@%$TOOLKIT%g
18443 s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
18444 s%@TOOLKIT_VPATH@%$TOOLKIT_VPATH%g
18445 s%@TOOLCHAIN_NAME@%$TOOLCHAIN_NAME%g
18446 s%@TOOLCHAIN_DEFS@%$TOOLCHAIN_DEFS%g
18447 s%@cross_compiling@%$cross_compiling%g
18448 s%@WXCONFIG_LIBS@%$WXCONFIG_LIBS%g
18449 s%@WXCONFIG_LIBS_GL@%$WXCONFIG_LIBS_GL%g
18450 s%@WXCONFIG_INCLUDE@%$WXCONFIG_INCLUDE%g
18451 s%@ALL_OBJECTS@%$ALL_OBJECTS%g
18452 s%@GUIDIST@%$GUIDIST%g
18453 s%@PORT_FILES@%$PORT_FILES%g
18454 s%@DISTDIR@%$DISTDIR%g
18455 s%@RPM_SPEC@%$RPM_SPEC%g
18456 s%@RPM_FILES@%$RPM_FILES%g
18457 s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
18458 s%@EXTRA_LIBS@%$EXTRA_LIBS%g
18459 s%@OPENGL_LIBS@%$OPENGL_LIBS%g
18460 s%@EXTRADEFS@%$EXTRADEFS%g
18461 s%@LD_LIBS@%$LD_LIBS%g
18462 s%@WXMSW_DLL_DEFINES@%$WXMSW_DLL_DEFINES%g
18463 s%@RESFLAGS@%$RESFLAGS%g
18464 s%@RESPROGRAMOBJ@%$RESPROGRAMOBJ%g
18465 s%@WX_RESOURCES_MACOSX@%$WX_RESOURCES_MACOSX%g
18466 s%@LIBWXMACRES@%$LIBWXMACRES%g
18467 s%@LIBWXMACRESCOMP@%$LIBWXMACRESCOMP%g
18468 s%@DLLTOOL@%$DLLTOOL%g
18472 s%@MAKEINFO@%$MAKEINFO%g
18473 s%@SET_MAKE@%$SET_MAKE%g
18474 s%@subdirs@%$subdirs%g
18479 cat >> $CONFIG_STATUS <<\EOF
18481 # Split the substitutions into bite-sized pieces for seds with
18482 # small command number limits, like on Digital OSF/1 and HP-UX.
18483 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
18484 ac_file
=1 # Number of current file.
18485 ac_beg
=1 # First line for current file.
18486 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
18489 while $ac_more_lines; do
18490 if test $ac_beg -gt 1; then
18491 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
18493 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
18495 if test ! -s conftest.s
$ac_file; then
18496 ac_more_lines
=false
18497 rm -f conftest.s
$ac_file
18499 if test -z "$ac_sed_cmds"; then
18500 ac_sed_cmds
="sed -f conftest.s$ac_file"
18502 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
18504 ac_file
=`expr $ac_file + 1`
18506 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
18509 if test -z "$ac_sed_cmds"; then
18514 cat >> $CONFIG_STATUS <<EOF
18516 CONFIG_FILES=\${CONFIG_FILES-"wx-config
18523 cat >> $CONFIG_STATUS <<\EOF
18524 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
18525 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
18527 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
18528 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
18529 *) ac_file_in
="${ac_file}.in" ;;
18532 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
18534 # Remove last slash and all that follows it. Not all systems have dirname.
18535 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
18536 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
18537 # The file is in a subdirectory.
18538 test ! -d "$ac_dir" && mkdir "$ac_dir"
18539 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
18540 # A "../" for each directory in $ac_dir_suffix.
18541 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
18543 ac_dir_suffix
= ac_dots
=
18546 case "$ac_given_srcdir" in
18548 if test -z "$ac_dots"; then top_srcdir
=.
18549 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
18550 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
18551 *) # Relative path.
18552 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
18553 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
18556 case "$ac_given_INSTALL" in
18557 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
18558 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
18561 echo creating
"$ac_file"
18563 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
18565 *Makefile
*) ac_comsub
="1i\\
18566 # $configure_input" ;;
18570 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
18572 s%@configure_input@%$configure_input%g
18573 s%@srcdir@%$srcdir%g
18574 s%@top_srcdir@%$top_srcdir%g
18575 s%@INSTALL@%$INSTALL%g
18576 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
18580 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
18581 # NAME is the cpp macro being defined and VALUE is the value it is being given.
18583 # ac_d sets the value in "#define NAME VALUE" lines.
18584 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
18585 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
18588 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
18589 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
18590 ac_uB
='\([ ]\)%\1#\2define\3'
18593 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
18594 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
18595 ac_eB
='$%\1#\2define\3'
18599 if test "${CONFIG_HEADERS+set}" != set; then
18601 cat >> $CONFIG_STATUS <<EOF
18602 CONFIG_HEADERS="setup.h:setup.h.in"
18604 cat >> $CONFIG_STATUS <<\EOF
18606 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
18607 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
18609 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
18610 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
18611 *) ac_file_in
="${ac_file}.in" ;;
18614 echo creating
$ac_file
18616 rm -f conftest.frag conftest.
in conftest.out
18617 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
18618 cat $ac_file_inputs > conftest.
in
18622 # Transform confdefs.h into a sed script conftest.vals that substitutes
18623 # the proper values into config.h.in to produce config.h. And first:
18624 # Protect against being on the right side of a sed subst in config.status.
18625 # Protect against being in an unquoted here document in config.status.
18626 rm -f conftest.vals
18627 cat > conftest.hdr
<<\EOF
18630 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
18634 sed -n -f conftest.hdr confdefs.h > conftest.vals
18637 # This sed command replaces #undef with comments. This is necessary, for
18638 # example, in the case of _POSIX_SOURCE, which is predefined and required
18639 # on some systems where configure will not decide to define it.
18640 cat >> conftest.vals <<\EOF
18641 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
18644 # Break up conftest.vals because some shells have a limit on
18645 # the size of here documents, and old seds have small limits too.
18647 rm -f conftest.tail
18650 ac_lines=`grep -c . conftest.vals
`
18651 # grep -c gives empty output for an empty file on some AIX systems.
18652 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
18653 # Write a limited-size here document to conftest.frag.
18654 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
18655 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
18657 sed -f conftest.frag conftest.in > conftest.out
18659 mv conftest.out conftest.in
18660 ' >> $CONFIG_STATUS
18661 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
18662 rm -f conftest.vals
18663 mv conftest.tail conftest.vals
18665 rm -f conftest.vals
18667 cat >> $CONFIG_STATUS <<\EOF
18668 rm -f conftest.frag conftest.h
18669 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
18670 cat conftest.in >> conftest.h
18672 if cmp -s $ac_file conftest.h 2>/dev/null; then
18673 echo "$ac_file is unchanged"
18676 # Remove last slash and all that follows it. Not all systems have dirname.
18677 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
18678 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
18679 # The file is in a subdirectory.
18680 test ! -d "$ac_dir" && mkdir "$ac_dir"
18683 mv conftest.h $ac_file
18688 cat >> $CONFIG_STATUS <<EOF
18690 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
18695 cat >> $CONFIG_STATUS <<\EOF
18697 if test ! -L wx-config; then
18699 mv wx-config wx${TOOLCHAIN_NAME}-config
18700 ${LN_S} wx${TOOLCHAIN_NAME}-config wx-config
18703 if test ! -d lib; then
18706 if test ! -d lib/wx; then
18709 if test ! -d lib/wx/include; then
18710 mkdir lib/wx/include
18712 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}; then
18713 mkdir lib/wx/include/${TOOLCHAIN_NAME}
18715 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}/wx; then
18716 mkdir lib/wx/include/${TOOLCHAIN_NAME}/wx
18718 if test -f setup.h; then
18719 mv -f setup.h lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h
18724 chmod +x $CONFIG_STATUS
18725 rm -fr confdefs* $ac_clean_files
18726 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
18728 if test "$no_recursion" != yes; then
18730 # Remove --cache-file and --srcdir arguments so they do not pile up.
18731 ac_sub_configure_args=
18733 for ac_arg in $ac_configure_args; do
18734 if test -n "$ac_prev"; then
18739 -cache-file | --cache-file | --cache-fil | --cache-fi \
18740 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
18741 ac_prev=cache_file ;;
18742 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
18743 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
18745 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
18747 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
18749 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
18753 for ac_config_dir in demos samples utils contrib; do
18755 # Do not complain, so a configure script can configure whichever
18756 # parts of a large source tree are present.
18757 if test ! -d $srcdir/$ac_config_dir; then
18761 echo configuring in $ac_config_dir
18766 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
18768 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
18776 # A "../" for each directory in /$ac_config_dir.
18777 ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
18780 .) # No --srcdir option. We are building in place.
18781 ac_sub_srcdir=$srcdir ;;
18782 /*) # Absolute path.
18783 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
18784 *) # Relative path.
18785 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
18788 # Check for guested configure; otherwise get Cygnus style configure.
18789 if test -f $ac_sub_srcdir/configure; then
18790 ac_sub_configure=$ac_sub_srcdir/configure
18791 elif test -f $ac_sub_srcdir/configure.in; then
18792 ac_sub_configure=$ac_configure
18794 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
18798 # The recursion is here.
18799 if test -n "$ac_sub_configure"; then
18801 # Make the cache file name correct relative to the subdirectory.
18802 case "$cache_file" in
18803 /*) ac_sub_cache_file=$cache_file ;;
18804 *) # Relative path.
18805 ac_sub_cache_file="$ac_dots$cache_file" ;;
18807 case "$ac_given_INSTALL" in
18808 [/$]*) INSTALL="$ac_given_INSTALL" ;;
18809 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
18812 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
18813 # The eval makes quoting arguments work.
18814 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
18817 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }