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"
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-burnt_name create set name in shared library "
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 exceptions information"
123 --enable-permissive compile code disregarding strict ANSI"
125 --enable-no_deps create code without dependency information"
127 --enable-compat20 enable wxWin 2.0 compatibility"
129 --enable-compat22 enable wxWin 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-wcsrtombs use wcsrtombs instead of buggy (GNU libc1/Linux libc5) wcstombs"
179 --enable-wxprintfv use wxWindows implementation of vprintf()"
181 --enable-std_iostreams use standard C++ stream classes"
183 --enable-filesystem use virtual file systems classes"
185 --enable-fs_inet use virtual HTTP/FTP filesystems"
187 --enable-fs_zip use virtual ZIP filesystems"
189 --enable-zipstream use wxZipInputStream"
191 --enable-catch_segvs catch signals and pass them to wxApp::OnFatalException"
193 --enable-snglinst use wxSingleInstanceChecker class"
195 --enable-mimetypes use wxMimeTypesManager"
197 --enable-sysoptions use wxSystemOptions"
199 --enable-threads use threads"
201 --enable-serial use class serialization"
203 --enable-docview use document view architecture"
205 --enable-help use help subsystem"
207 --enable-mshtmlhelp use MS HTML Help (win32)"
209 --enable-html use wxHTML sub-library"
211 --enable-htmlhelp use wxHTML-based help"
213 --enable-constraints use layout-constraints system"
215 --enable-printarch use printing architecture"
217 --enable-mdi use multiple document interface architecture"
219 --enable-loggui use standard GUI logger"
221 --enable-logwin use wxLogWindow"
223 --enable-postscript use wxPostscriptDC device context (default for gtk+)"
225 --enable-prologio use Prolog IO library"
227 --enable-resources use wxWindows resources"
229 --enable-xresources use X resources for save (default for gtk+)"
231 --enable-clipboard use wxClipboard classes"
233 --enable-dnd use Drag'n'Drop classes"
235 --enable-metafile use win32 metafiles"
237 --enable-treelayout use wxTreeLayout classes"
239 --enable-controls use all usual controls"
241 --enable-accel use accelerators"
243 --enable-button use wxButton class"
245 --enable-bmpbutton use wxBitmapButton class"
247 --enable-calendar use wxCalendarCtrl class"
249 --enable-caret use wxCaret class"
251 --enable-checkbox use wxCheckBox class"
253 --enable-checklst use wxCheckListBox (listbox with checkboxes) class"
255 --enable-choice use wxChoice class"
257 --enable-combobox use wxComboBox classes"
259 --enable-gauge use wxGauge class"
261 --enable-grid use wxGrid class"
263 --enable-newgrid use new wxGrid class"
265 --enable-imaglist use wxImageList class"
267 --enable-listbox use wxListBox class"
269 --enable-listctrl use wxListCtrl class"
271 --enable-notebook use wxNotebook class"
273 --enable-propsheet use wxPropertySheet class"
275 --enable-radiobox use wxRadioBox class"
277 --enable-radiobtn use wxRadioButton class"
279 --enable-sash use wxSashWindow class"
281 --enable-scrollbar use wxScrollBar class and scrollable windows"
283 --enable-slider use wxSlider class"
285 --enable-spinbtn use wxSpinButton class"
287 --enable-spinctrl use wxSpinCtrl class"
289 --enable-splitter use wxSplitterWindow class"
291 --enable-statbmp use wxStaticBitmap class"
293 --enable-statbox use wxStaticBox class"
295 --enable-statline use wxStaticLine class"
297 --enable-stattext use wxStaticText class"
299 --enable-statusbar use wxStatusBar class"
301 --enable-tabdialog use wxTabControl class"
303 --enable-textctrl use wxTextCtrl class"
305 --enable-togglebtn use wxToggleButton class"
307 --enable-toolbar use wxToolBar class"
309 --enable-tbarnative use native wxToolBar class"
311 --enable-tbarsmpl use wxToolBarSimple class"
313 --enable-treectrl use wxTreeCtrl class"
315 --enable-popupwin use wxPopUpWindow class"
317 --enable-commondlg use common dialogs (wxDirDialog, wxProgressDialog, wxTextDialog, ...)"
319 --enable-choicedlg use wxChoiceDialog"
321 --enable-coldlg use wxColourDialog"
323 --enable-filedlg use wxFileDialog"
325 --enable-finddlg use wxFindReplaceDialog"
327 --enable-fontdlg use wxFontDialog"
329 --enable-dirdlg use wxDirDialog"
331 --enable-msgdlg use wxMessageDialog"
333 --enable-numberdlg use wxNumberEntryDialog"
335 --enable-splash use wxSplashScreen"
337 --enable-textdlg use wxTextDialog"
339 --enable-tipdlg use startup tips"
341 --enable-progressdlg use wxProgressDialog"
343 --enable-wizarddlg use wxWizard"
345 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes"
347 --enable-miniframe use wxMiniFrame class"
349 --enable-tooltips use wxToolTip class"
351 --enable-splines use spline drawing code"
353 --enable-validators use wxValidator and derived classes"
355 --enable-busyinfo use wxBusyInfo"
357 --enable-joystick compile in joystick support (Linux only)"
359 --enable-metafiles use wxMetaFile (Windows only)"
361 --enable-dragimage use wxDragImage"
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
1066 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1067 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1068 cat >> confdefs.h
<<\EOF
1075 cat >> confdefs.h
<<\EOF
1080 if test "x$TMP" = "xalpha"; then
1082 cat >> confdefs.h
<<\EOF
1087 DEFAULT_DEFAULT_wxUSE_GTK
=1
1089 *-*-irix5* | *-*-irix6* )
1092 cat >> confdefs.h
<<\EOF
1096 cat >> confdefs.h
<<\EOF
1100 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1106 cat >> confdefs.h
<<\EOF
1110 cat >> confdefs.h
<<\EOF
1111 #define __SOLARIS__ 1
1114 cat >> confdefs.h
<<\EOF
1118 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1119 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1125 cat >> confdefs.h
<<\EOF
1129 cat >> confdefs.h
<<\EOF
1133 cat >> confdefs.h
<<\EOF
1137 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1142 cat >> confdefs.h
<<\EOF
1143 #define __FREEBSD__ 1
1146 cat >> confdefs.h
<<\EOF
1150 DEFAULT_DEFAULT_wxUSE_GTK
=1
1155 cat >> confdefs.h
<<\EOF
1156 #define __FREEBSD__ 1
1159 cat >> confdefs.h
<<\EOF
1160 #define __OPENBSD__ 1
1163 DEFAULT_DEFAULT_wxUSE_GTK
=1
1168 cat >> confdefs.h
<<\EOF
1169 #define __FREEBSD__ 1
1172 cat >> confdefs.h
<<\EOF
1173 #define __NETBSD__ 1
1176 DEFAULT_DEFAULT_wxUSE_GTK
=1
1181 cat >> confdefs.h
<<\EOF
1185 cat >> confdefs.h
<<\EOF
1189 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1190 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1195 cat >> confdefs.h
<<\EOF
1199 cat >> confdefs.h
<<\EOF
1203 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1208 cat >> confdefs.h
<<\EOF
1212 cat >> confdefs.h
<<\EOF
1216 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1222 cat >> confdefs.h
<<\EOF
1226 cat >> confdefs.h
<<\EOF
1230 cat >> confdefs.h
<<\EOF
1234 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1237 *-*-cygwin* | *-*-mingw32* )
1240 cat >> confdefs.h
<<\EOF
1244 cat >> confdefs.h
<<\EOF
1248 cat >> confdefs.h
<<\EOF
1249 #define __WINDOWS__ 1
1252 cat >> confdefs.h
<<\EOF
1253 #define __GNUWIN32__ 1
1256 cat >> confdefs.h
<<\EOF
1260 cat >> confdefs.h
<<\EOF
1261 #define WINVER 0x0400
1265 DEFAULT_DEFAULT_wxUSE_MSW
=1
1269 cat >> confdefs.h
<<\EOF
1274 DEFAULT_DEFAULT_wxUSE_PM
=1
1280 cat >> confdefs.h
<<\EOF
1284 cat >> confdefs.h
<<\EOF
1285 #define __DARWIN__ 1
1288 cat >> confdefs.h
<<\EOF
1292 DEFAULT_DEFAULT_wxUSE_MAC
=1
1297 cat >> confdefs.h
<<\EOF
1304 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
1307 if test "$USE_UNIX" = 1 ; then
1309 cat >> confdefs.h
<<\EOF
1314 SRC_SUBDIRS
="$SRC_SUBDIRS unix"
1315 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS unix"
1318 if test "$USE_BEOS" = 1; then
1319 SRC_SUBDIRS
="$SRC_SUBDIRS be"
1320 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS be"
1327 wx_arg_cache_file
="configarg.cache"
1328 echo "loading argument cache $wx_arg_cache_file"
1329 rm -f ${wx_arg_cache_file}.tmp
1330 touch ${wx_arg_cache_file}.tmp
1331 touch ${wx_arg_cache_file}
1335 if test $DEBUG_CONFIGURE = 1; then
1336 DEFAULT_wxUSE_UNIVERSAL
=no
1338 DEFAULT_wxUSE_THREADS
=yes
1340 DEFAULT_wxUSE_SHARED
=yes
1341 DEFAULT_wxUSE_BURNT_NAME
=no
1342 DEFAULT_wxUSE_OPTIMISE
=no
1343 DEFAULT_wxUSE_PROFILE
=no
1344 DEFAULT_wxUSE_NO_DEPS
=no
1345 DEFAULT_wxUSE_NO_RTTI
=no
1346 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1347 DEFAULT_wxUSE_PERMISSIVE
=no
1348 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1349 DEFAULT_wxUSE_DEBUG_INFO
=yes
1350 DEFAULT_wxUSE_DEBUG_GDB
=yes
1351 DEFAULT_wxUSE_MEM_TRACING
=no
1352 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1353 DEFAULT_wxUSE_DMALLOC
=no
1354 DEFAULT_wxUSE_APPLE_IEEE
=no
1356 DEFAULT_wxUSE_LOG
=yes
1357 DEFAULT_wxUSE_LOGWINDOW
=no
1358 DEFAULT_wxUSE_LOGGUI
=no
1360 DEFAULT_wxUSE_GUI
=yes
1361 DEFAULT_wxUSE_CONTROLS
=no
1363 DEFAULT_wxUSE_REGEX
=no
1364 DEFAULT_wxUSE_ZLIB
=no
1365 DEFAULT_wxUSE_LIBPNG
=no
1366 DEFAULT_wxUSE_LIBJPEG
=no
1367 DEFAULT_wxUSE_LIBTIFF
=no
1368 DEFAULT_wxUSE_ODBC
=no
1369 DEFAULT_wxUSE_FREETYPE
=no
1370 DEFAULT_wxUSE_OPENGL
=no
1372 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
1373 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
1374 DEFAULT_wxUSE_STD_IOSTREAM
=no
1375 DEFAULT_wxUSE_CMDLINE_PARSER
=no
1376 DEFAULT_wxUSE_DATETIME
=no
1377 DEFAULT_wxUSE_TIMEDATE
=no
1378 DEFAULT_wxUSE_TIMER
=no
1379 DEFAULT_wxUSE_STOPWATCH
=no
1380 DEFAULT_wxUSE_FILE
=no
1381 DEFAULT_wxUSE_FFILE
=no
1382 DEFAULT_wxUSE_TEXTFILE
=no
1383 DEFAULT_wxUSE_WAVE
=no
1384 DEFAULT_wxUSE_INTL
=no
1385 DEFAULT_wxUSE_CONFIG
=no
1386 DEFAULT_wxUSE_FONTMAP
=no
1387 DEFAULT_wxUSE_STREAMS
=no
1388 DEFAULT_wxUSE_SOCKETS
=no
1389 DEFAULT_wxUSE_DIALUP_MANAGER
=no
1390 DEFAULT_wxUSE_SERIAL
=no
1391 DEFAULT_wxUSE_JOYSTICK
=no
1392 DEFAULT_wxUSE_DYNLIB_CLASS
=no
1393 DEFAULT_wxUSE_LONGLONG
=no
1394 DEFAULT_wxUSE_GEOMETRY
=no
1396 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
1397 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
1398 DEFAULT_wxUSE_POSTSCRIPT
=no
1400 DEFAULT_wxUSE_X_RESOURCES
=no
1401 DEFAULT_wxUSE_CLIPBOARD
=no
1402 DEFAULT_wxUSE_TOOLTIPS
=no
1403 DEFAULT_wxUSE_DRAG_AND_DROP
=no
1404 DEFAULT_wxUSE_DRAGIMAGE
=no
1405 DEFAULT_wxUSE_SPLINES
=no
1407 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
1408 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
1409 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
1411 DEFAULT_wxUSE_PROLOGIO
=no
1412 DEFAULT_wxUSE_RESOURCES
=no
1413 DEFAULT_wxUSE_CONSTRAINTS
=no
1414 DEFAULT_wxUSE_IPC
=no
1415 DEFAULT_wxUSE_HELP
=no
1416 DEFAULT_wxUSE_MS_HTML_HELP
=no
1417 DEFAULT_wxUSE_WXHTML_HELP
=no
1418 DEFAULT_wxUSE_TREELAYOUT
=no
1419 DEFAULT_wxUSE_METAFILE
=no
1420 DEFAULT_wxUSE_MIMETYPE
=no
1421 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
1423 DEFAULT_wxUSE_COMMONDLGS
=no
1424 DEFAULT_wxUSE_CHOICEDLG
=no
1425 DEFAULT_wxUSE_COLOURDLG
=no
1426 DEFAULT_wxUSE_DIRDLG
=no
1427 DEFAULT_wxUSE_FILEDLG
=no
1428 DEFAULT_wxUSE_FINDREPLDLG
=no
1429 DEFAULT_wxUSE_FONTDLG
=no
1430 DEFAULT_wxUSE_MSGDLG
=no
1431 DEFAULT_wxUSE_NUMBERDLG
=no
1432 DEFAULT_wxUSE_TEXTDLG
=no
1433 DEFAULT_wxUSE_SPLASH
=no
1434 DEFAULT_wxUSE_STARTUP_TIPS
=no
1435 DEFAULT_wxUSE_PROGRESSDLG
=no
1436 DEFAULT_wxUSE_WIZARDDLG
=no
1438 DEFAULT_wxUSE_MENUS
=no
1439 DEFAULT_wxUSE_MINIFRAME
=no
1440 DEFAULT_wxUSE_HTML
=no
1441 DEFAULT_wxUSE_FILESYSTEM
=no
1442 DEFAULT_wxUSE_FS_INET
=no
1443 DEFAULT_wxUSE_FS_ZIP
=no
1444 DEFAULT_wxUSE_BUSYINFO
=no
1445 DEFAULT_wxUSE_ZIPSTREAM
=no
1446 DEFAULT_wxUSE_VALIDATORS
=no
1448 DEFAULT_wxUSE_ACCEL
=no
1449 DEFAULT_wxUSE_BUTTON
=no
1450 DEFAULT_wxUSE_BMPBUTTON
=no
1451 DEFAULT_wxUSE_CALCTRL
=no
1452 DEFAULT_wxUSE_CARET
=no
1453 DEFAULT_wxUSE_CHECKBOX
=no
1454 DEFAULT_wxUSE_CHECKLST
=no
1455 DEFAULT_wxUSE_CHOICE
=no
1456 DEFAULT_wxUSE_COMBOBOX
=no
1457 DEFAULT_wxUSE_GAUGE
=no
1458 DEFAULT_wxUSE_GRID
=no
1459 DEFAULT_wxUSE_NEW_GRID
=no
1460 DEFAULT_wxUSE_IMAGLIST
=no
1461 DEFAULT_wxUSE_LISTBOX
=no
1462 DEFAULT_wxUSE_LISTCTRL
=no
1463 DEFAULT_wxUSE_NOTEBOOK
=no
1464 DEFAULT_wxUSE_PROPSHEET
=no
1465 DEFAULT_wxUSE_RADIOBOX
=no
1466 DEFAULT_wxUSE_RADIOBTN
=no
1467 DEFAULT_wxUSE_SASH
=no
1468 DEFAULT_wxUSE_SCROLLBAR
=no
1469 DEFAULT_wxUSE_SLIDER
=no
1470 DEFAULT_wxUSE_SPINBTN
=no
1471 DEFAULT_wxUSE_SPINCTRL
=no
1472 DEFAULT_wxUSE_SPLITTER
=no
1473 DEFAULT_wxUSE_STATBMP
=no
1474 DEFAULT_wxUSE_STATBOX
=no
1475 DEFAULT_wxUSE_STATLINE
=no
1476 DEFAULT_wxUSE_STATTEXT
=no
1477 DEFAULT_wxUSE_STATUSBAR
=yes
1478 DEFAULT_wxUSE_TABDIALOG
=no
1479 DEFAULT_wxUSE_TEXTCTRL
=no
1480 DEFAULT_wxUSE_TOGGLEBTN
=no
1481 DEFAULT_wxUSE_TOOLBAR
=no
1482 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
1483 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
1484 DEFAULT_wxUSE_TREECTRL
=no
1485 DEFAULT_wxUSE_POPUPWIN
=no
1487 DEFAULT_wxUSE_UNICODE
=no
1488 DEFAULT_wxUSE_WCSRTOMBS
=no
1490 DEFAULT_wxUSE_IMAGE
=no
1491 DEFAULT_wxUSE_GIF
=no
1492 DEFAULT_wxUSE_PCX
=no
1493 DEFAULT_wxUSE_PNM
=no
1494 DEFAULT_wxUSE_XPM
=no
1496 DEFAULT_wxUSE_UNIVERSAL
=no
1498 DEFAULT_wxUSE_THREADS
=yes
1500 DEFAULT_wxUSE_SHARED
=yes
1501 DEFAULT_wxUSE_BURNT_NAME
=no
1502 DEFAULT_wxUSE_OPTIMISE
=yes
1503 DEFAULT_wxUSE_PROFILE
=no
1504 DEFAULT_wxUSE_NO_DEPS
=no
1505 DEFAULT_wxUSE_NO_RTTI
=no
1506 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1507 DEFAULT_wxUSE_PERMISSIVE
=no
1508 DEFAULT_wxUSE_DEBUG_FLAG
=no
1509 DEFAULT_wxUSE_DEBUG_INFO
=no
1510 DEFAULT_wxUSE_DEBUG_GDB
=no
1511 DEFAULT_wxUSE_MEM_TRACING
=no
1512 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1513 DEFAULT_wxUSE_DMALLOC
=no
1514 DEFAULT_wxUSE_APPLE_IEEE
=yes
1516 DEFAULT_wxUSE_LOG
=yes
1517 DEFAULT_wxUSE_LOGWINDOW
=yes
1518 DEFAULT_wxUSE_LOGGUI
=yes
1520 DEFAULT_wxUSE_GUI
=yes
1522 DEFAULT_wxUSE_REGEX
=yes
1523 DEFAULT_wxUSE_ZLIB
=yes
1524 DEFAULT_wxUSE_LIBPNG
=yes
1525 DEFAULT_wxUSE_LIBJPEG
=yes
1526 DEFAULT_wxUSE_LIBTIFF
=yes
1527 DEFAULT_wxUSE_ODBC
=no
1528 DEFAULT_wxUSE_FREETYPE
=no
1529 DEFAULT_wxUSE_OPENGL
=no
1531 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
1532 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
1533 DEFAULT_wxUSE_STD_IOSTREAM
=no
1534 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
1535 DEFAULT_wxUSE_DATETIME
=yes
1536 DEFAULT_wxUSE_TIMEDATE
=no
1537 DEFAULT_wxUSE_TIMER
=yes
1538 DEFAULT_wxUSE_STOPWATCH
=yes
1539 DEFAULT_wxUSE_FILE
=yes
1540 DEFAULT_wxUSE_FFILE
=yes
1541 DEFAULT_wxUSE_TEXTFILE
=yes
1542 DEFAULT_wxUSE_WAVE
=no
1543 DEFAULT_wxUSE_INTL
=yes
1544 DEFAULT_wxUSE_CONFIG
=yes
1545 DEFAULT_wxUSE_FONTMAP
=yes
1546 DEFAULT_wxUSE_STREAMS
=yes
1547 DEFAULT_wxUSE_SOCKETS
=yes
1548 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
1549 DEFAULT_wxUSE_SERIAL
=yes
1550 DEFAULT_wxUSE_JOYSTICK
=yes
1551 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
1552 DEFAULT_wxUSE_LONGLONG
=yes
1553 DEFAULT_wxUSE_GEOMETRY
=yes
1555 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
1556 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
1557 DEFAULT_wxUSE_POSTSCRIPT
=yes
1559 DEFAULT_wxUSE_X_RESOURCES
=no
1560 DEFAULT_wxUSE_CLIPBOARD
=yes
1561 DEFAULT_wxUSE_TOOLTIPS
=yes
1562 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
1563 DEFAULT_wxUSE_DRAGIMAGE
=yes
1564 DEFAULT_wxUSE_SPLINES
=yes
1566 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
1567 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
1568 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
1570 DEFAULT_wxUSE_PROLOGIO
=yes
1571 DEFAULT_wxUSE_RESOURCES
=yes
1572 DEFAULT_wxUSE_CONSTRAINTS
=yes
1573 DEFAULT_wxUSE_IPC
=yes
1574 DEFAULT_wxUSE_HELP
=yes
1575 DEFAULT_wxUSE_MS_HTML_HELP
=yes
1576 DEFAULT_wxUSE_WXHTML_HELP
=yes
1577 DEFAULT_wxUSE_TREELAYOUT
=yes
1578 DEFAULT_wxUSE_METAFILE
=yes
1579 DEFAULT_wxUSE_MIMETYPE
=yes
1580 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
1582 DEFAULT_wxUSE_COMMONDLGS
=yes
1583 DEFAULT_wxUSE_CHOICEDLG
=yes
1584 DEFAULT_wxUSE_COLOURDLG
=yes
1585 DEFAULT_wxUSE_DIRDLG
=yes
1586 DEFAULT_wxUSE_FILEDLG
=yes
1587 DEFAULT_wxUSE_FINDREPLDLG
=yes
1588 DEFAULT_wxUSE_FONTDLG
=yes
1589 DEFAULT_wxUSE_MSGDLG
=yes
1590 DEFAULT_wxUSE_NUMBERDLG
=yes
1591 DEFAULT_wxUSE_TEXTDLG
=yes
1592 DEFAULT_wxUSE_SPLASH
=yes
1593 DEFAULT_wxUSE_STARTUP_TIPS
=yes
1594 DEFAULT_wxUSE_PROGRESSDLG
=yes
1595 DEFAULT_wxUSE_WIZARDDLG
=yes
1597 DEFAULT_wxUSE_MENUS
=yes
1598 DEFAULT_wxUSE_MINIFRAME
=yes
1599 DEFAULT_wxUSE_HTML
=yes
1600 DEFAULT_wxUSE_FILESYSTEM
=yes
1601 DEFAULT_wxUSE_FS_INET
=yes
1602 DEFAULT_wxUSE_FS_ZIP
=yes
1603 DEFAULT_wxUSE_BUSYINFO
=yes
1604 DEFAULT_wxUSE_ZIPSTREAM
=yes
1605 DEFAULT_wxUSE_VALIDATORS
=yes
1607 DEFAULT_wxUSE_ACCEL
=yes
1608 DEFAULT_wxUSE_BUTTON
=yes
1609 DEFAULT_wxUSE_BMPBUTTON
=yes
1610 DEFAULT_wxUSE_CALCTRL
=yes
1611 DEFAULT_wxUSE_CARET
=yes
1612 DEFAULT_wxUSE_CHECKBOX
=yes
1613 DEFAULT_wxUSE_CHECKLST
=yes
1614 DEFAULT_wxUSE_CHOICE
=yes
1615 DEFAULT_wxUSE_COMBOBOX
=yes
1616 DEFAULT_wxUSE_GAUGE
=yes
1617 DEFAULT_wxUSE_GRID
=yes
1618 DEFAULT_wxUSE_NEW_GRID
=yes
1619 DEFAULT_wxUSE_IMAGLIST
=yes
1620 DEFAULT_wxUSE_LISTBOX
=yes
1621 DEFAULT_wxUSE_LISTCTRL
=yes
1622 DEFAULT_wxUSE_NOTEBOOK
=yes
1623 DEFAULT_wxUSE_PROPSHEET
=yes
1624 DEFAULT_wxUSE_RADIOBOX
=yes
1625 DEFAULT_wxUSE_RADIOBTN
=yes
1626 DEFAULT_wxUSE_SASH
=yes
1627 DEFAULT_wxUSE_SCROLLBAR
=yes
1628 DEFAULT_wxUSE_SLIDER
=yes
1629 DEFAULT_wxUSE_SPINBTN
=yes
1630 DEFAULT_wxUSE_SPINCTRL
=yes
1631 DEFAULT_wxUSE_SPLITTER
=yes
1632 DEFAULT_wxUSE_STATBMP
=yes
1633 DEFAULT_wxUSE_STATBOX
=yes
1634 DEFAULT_wxUSE_STATLINE
=yes
1635 DEFAULT_wxUSE_STATTEXT
=yes
1636 DEFAULT_wxUSE_STATUSBAR
=yes
1637 DEFAULT_wxUSE_TABDIALOG
=no
1638 DEFAULT_wxUSE_TEXTCTRL
=yes
1639 DEFAULT_wxUSE_TOGGLEBTN
=yes
1640 DEFAULT_wxUSE_TOOLBAR
=yes
1641 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
1642 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
1643 DEFAULT_wxUSE_TREECTRL
=yes
1644 DEFAULT_wxUSE_POPUPWIN
=yes
1646 DEFAULT_wxUSE_UNICODE
=no
1647 DEFAULT_wxUSE_WCSRTOMBS
=no
1649 DEFAULT_wxUSE_IMAGE
=yes
1650 DEFAULT_wxUSE_GIF
=yes
1651 DEFAULT_wxUSE_PCX
=yes
1652 DEFAULT_wxUSE_PNM
=yes
1653 DEFAULT_wxUSE_XPM
=yes
1658 for toolkit
in `echo $ALL_TOOLKITS`; do
1659 LINE
=`grep "wxUSE_$toolkit" ${wx_arg_cache_file}`
1660 if test "x$LINE" != x
; then
1661 has_toolkit_in_cache
=1
1662 eval "DEFAULT_$LINE"
1663 eval "CACHE_$toolkit=1"
1669 echo $ac_n "checking for --enable-gui""... $ac_c" 1>&6
1670 echo "configure:1671: checking for --enable-gui" >&5
1672 # Check whether --enable-gui or --disable-gui was given.
1673 if test "${enable_gui+set}" = set; then
1674 enableval
="$enable_gui"
1676 if test "$enableval" = yes; then
1677 ac_cv_use_gui
='wxUSE_GUI=yes'
1679 ac_cv_use_gui
='wxUSE_GUI=no'
1684 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
1685 if test "x$LINE" != x
; then
1686 eval "DEFAULT_$LINE"
1691 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
1696 eval "$ac_cv_use_gui"
1697 if test "$no_cache" != 1; then
1698 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
1701 if test "$wxUSE_GUI" = yes; then
1702 echo "$ac_t""yes" 1>&6
1704 echo "$ac_t""no" 1>&6
1708 if test "$wxUSE_GUI" = "yes"; then
1711 echo $ac_n "checking for --enable-universal""... $ac_c" 1>&6
1712 echo "configure:1713: checking for --enable-universal" >&5
1714 # Check whether --enable-universal or --disable-universal was given.
1715 if test "${enable_universal+set}" = set; then
1716 enableval
="$enable_universal"
1718 if test "$enableval" = yes; then
1719 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
1721 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
1726 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
1727 if test "x$LINE" != x
; then
1728 eval "DEFAULT_$LINE"
1733 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
1738 eval "$ac_cv_use_universal"
1739 if test "$no_cache" != 1; then
1740 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
1743 if test "$wxUSE_UNIVERSAL" = yes; then
1744 echo "$ac_t""yes" 1>&6
1746 echo "$ac_t""no" 1>&6
1749 # Check whether --with-gtk or --without-gtk was given.
1750 if test "${with_gtk+set}" = set; then
1752 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
1755 # Check whether --with-motif or --without-motif was given.
1756 if test "${with_motif+set}" = set; then
1757 withval
="$with_motif"
1758 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
1761 # Check whether --with-mac or --without-mac was given.
1762 if test "${with_mac+set}" = set; then
1764 wxUSE_MAC
="$withval" TOOLKIT_GIVEN
=1
1767 # Check whether --with-wine or --without-wine was given.
1768 if test "${with_wine+set}" = set; then
1769 withval
="$with_wine"
1770 wxUSE_WINE
="$withval" CACHE_WINE
=1 TOOLKIT_GIVEN
=1
1773 # Check whether --with-cygwin or --without-cygwin was given.
1774 if test "${with_cygwin+set}" = set; then
1775 withval
="$with_cygwin"
1776 wxUSE_CYGWIN
="$withval" CACHE_CYGWIN
=1 TOOLKIT_GIVEN
=1
1779 # Check whether --with-mingw or --without-mingw was given.
1780 if test "${with_mingw+set}" = set; then
1781 withval
="$with_mingw"
1782 wxUSE_MINGW
="$withval" CACHE_MINGW
=1 TOOLKIT_GIVEN
=1
1785 # Check whether --with-pm or --without-pm was given.
1786 if test "${with_pm+set}" = set; then
1788 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
1791 # Check whether --with-mgl or --without-mgl was given.
1792 if test "${with_mgl+set}" = set; then
1794 wxUSE_MGL
="$withval" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
1798 # Check whether --enable-gtk2 or --disable-gtk2 was given.
1799 if test "${enable_gtk2+set}" = set; then
1800 enableval
="$enable_gtk2"
1808 echo $ac_n "checking for --with-libpng""... $ac_c" 1>&6
1809 echo "configure:1810: checking for --with-libpng" >&5
1811 # Check whether --with-libpng or --without-libpng was given.
1812 if test "${with_libpng+set}" = set; then
1813 withval
="$with_libpng"
1815 if test "$withval" = yes; then
1816 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
1817 elif test "$withval" = no
; then
1818 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
1819 elif test "$withval" = sys
; then
1820 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
1822 { echo "configure: error: Invalid value for --with-libpng: should be yes, no or sys" 1>&2; exit 1; }
1827 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
1828 if test "x$LINE" != x
; then
1829 eval "DEFAULT_$LINE"
1834 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
1839 eval "$ac_cv_use_libpng"
1840 if test "$no_cache" != 1; then
1841 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
1844 if test "$wxUSE_LIBPNG" = yes; then
1845 echo "$ac_t""yes" 1>&6
1846 elif test "$wxUSE_LIBPNG" = no
; then
1847 echo "$ac_t""no" 1>&6
1848 elif test "$wxUSE_LIBPNG" = sys
; then
1849 echo "$ac_t""system version" 1>&6
1851 { echo "configure: error: Invalid value for --with-libpng: should be yes, no or sys" 1>&2; exit 1; }
1855 echo $ac_n "checking for --with-libjpeg""... $ac_c" 1>&6
1856 echo "configure:1857: checking for --with-libjpeg" >&5
1858 # Check whether --with-libjpeg or --without-libjpeg was given.
1859 if test "${with_libjpeg+set}" = set; then
1860 withval
="$with_libjpeg"
1862 if test "$withval" = yes; then
1863 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
1864 elif test "$withval" = no
; then
1865 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
1866 elif test "$withval" = sys
; then
1867 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
1869 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no or sys" 1>&2; exit 1; }
1874 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
1875 if test "x$LINE" != x
; then
1876 eval "DEFAULT_$LINE"
1881 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
1886 eval "$ac_cv_use_libjpeg"
1887 if test "$no_cache" != 1; then
1888 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
1891 if test "$wxUSE_LIBJPEG" = yes; then
1892 echo "$ac_t""yes" 1>&6
1893 elif test "$wxUSE_LIBJPEG" = no
; then
1894 echo "$ac_t""no" 1>&6
1895 elif test "$wxUSE_LIBJPEG" = sys
; then
1896 echo "$ac_t""system version" 1>&6
1898 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no or sys" 1>&2; exit 1; }
1902 echo $ac_n "checking for --with-libtiff""... $ac_c" 1>&6
1903 echo "configure:1904: checking for --with-libtiff" >&5
1905 # Check whether --with-libtiff or --without-libtiff was given.
1906 if test "${with_libtiff+set}" = set; then
1907 withval
="$with_libtiff"
1909 if test "$withval" = yes; then
1910 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
1911 elif test "$withval" = no
; then
1912 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
1913 elif test "$withval" = sys
; then
1914 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
1916 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no or sys" 1>&2; exit 1; }
1921 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
1922 if test "x$LINE" != x
; then
1923 eval "DEFAULT_$LINE"
1928 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
1933 eval "$ac_cv_use_libtiff"
1934 if test "$no_cache" != 1; then
1935 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
1938 if test "$wxUSE_LIBTIFF" = yes; then
1939 echo "$ac_t""yes" 1>&6
1940 elif test "$wxUSE_LIBTIFF" = no
; then
1941 echo "$ac_t""no" 1>&6
1942 elif test "$wxUSE_LIBTIFF" = sys
; then
1943 echo "$ac_t""system version" 1>&6
1945 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no or sys" 1>&2; exit 1; }
1949 echo $ac_n "checking for --with-freetype""... $ac_c" 1>&6
1950 echo "configure:1951: checking for --with-freetype" >&5
1952 # Check whether --with-freetype or --without-freetype was given.
1953 if test "${with_freetype+set}" = set; then
1954 withval
="$with_freetype"
1956 if test "$withval" = yes; then
1957 ac_cv_use_freetype
='wxUSE_FREETYPE=yes'
1958 elif test "$withval" = no
; then
1959 ac_cv_use_freetype
='wxUSE_FREETYPE=no'
1960 elif test "$withval" = sys
; then
1961 ac_cv_use_freetype
='wxUSE_FREETYPE=sys'
1963 { echo "configure: error: Invalid value for --with-freetype: should be yes, no or sys" 1>&2; exit 1; }
1968 LINE
=`grep "wxUSE_FREETYPE" ${wx_arg_cache_file}`
1969 if test "x$LINE" != x
; then
1970 eval "DEFAULT_$LINE"
1975 ac_cv_use_freetype
='wxUSE_FREETYPE='$DEFAULT_wxUSE_FREETYPE
1980 eval "$ac_cv_use_freetype"
1981 if test "$no_cache" != 1; then
1982 echo $ac_cv_use_freetype >> ${wx_arg_cache_file}.tmp
1985 if test "$wxUSE_FREETYPE" = yes; then
1986 echo "$ac_t""yes" 1>&6
1987 elif test "$wxUSE_FREETYPE" = no
; then
1988 echo "$ac_t""no" 1>&6
1989 elif test "$wxUSE_FREETYPE" = sys
; then
1990 echo "$ac_t""system version" 1>&6
1992 { echo "configure: error: Invalid value for --with-freetype: should be yes, no or sys" 1>&2; exit 1; }
1996 echo $ac_n "checking for --with-opengl""... $ac_c" 1>&6
1997 echo "configure:1998: checking for --with-opengl" >&5
1999 # Check whether --with-opengl or --without-opengl was given.
2000 if test "${with_opengl+set}" = set; then
2001 withval
="$with_opengl"
2003 if test "$withval" = yes; then
2004 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
2006 ac_cv_use_opengl
='wxUSE_OPENGL=no'
2011 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2012 if test "x$LINE" != x
; then
2013 eval "DEFAULT_$LINE"
2018 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
2023 eval "$ac_cv_use_opengl"
2024 if test "$no_cache" != 1; then
2025 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2028 if test "$wxUSE_OPENGL" = yes; then
2029 echo "$ac_t""yes" 1>&6
2031 echo "$ac_t""no" 1>&6
2038 echo $ac_n "checking for --with-dmalloc""... $ac_c" 1>&6
2039 echo "configure:2040: checking for --with-dmalloc" >&5
2041 # Check whether --with-dmalloc or --without-dmalloc was given.
2042 if test "${with_dmalloc+set}" = set; then
2043 withval
="$with_dmalloc"
2045 if test "$withval" = yes; then
2046 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
2048 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
2053 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2054 if test "x$LINE" != x
; then
2055 eval "DEFAULT_$LINE"
2060 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
2065 eval "$ac_cv_use_dmalloc"
2066 if test "$no_cache" != 1; then
2067 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2070 if test "$wxUSE_DMALLOC" = yes; then
2071 echo "$ac_t""yes" 1>&6
2073 echo "$ac_t""no" 1>&6
2077 echo $ac_n "checking for --with-regex""... $ac_c" 1>&6
2078 echo "configure:2079: checking for --with-regex" >&5
2080 # Check whether --with-regex or --without-regex was given.
2081 if test "${with_regex+set}" = set; then
2082 withval
="$with_regex"
2084 if test "$withval" = yes; then
2085 ac_cv_use_regex
='wxUSE_REGEX=yes'
2086 elif test "$withval" = no
; then
2087 ac_cv_use_regex
='wxUSE_REGEX=no'
2088 elif test "$withval" = sys
; then
2089 ac_cv_use_regex
='wxUSE_REGEX=sys'
2091 { echo "configure: error: Invalid value for --with-regex: should be yes, no or sys" 1>&2; exit 1; }
2096 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
2097 if test "x$LINE" != x
; then
2098 eval "DEFAULT_$LINE"
2103 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
2108 eval "$ac_cv_use_regex"
2109 if test "$no_cache" != 1; then
2110 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
2113 if test "$wxUSE_REGEX" = yes; then
2114 echo "$ac_t""yes" 1>&6
2115 elif test "$wxUSE_REGEX" = no
; then
2116 echo "$ac_t""no" 1>&6
2117 elif test "$wxUSE_REGEX" = sys
; then
2118 echo "$ac_t""system version" 1>&6
2120 { echo "configure: error: Invalid value for --with-regex: should be yes, no or sys" 1>&2; exit 1; }
2124 echo $ac_n "checking for --with-zlib""... $ac_c" 1>&6
2125 echo "configure:2126: checking for --with-zlib" >&5
2127 # Check whether --with-zlib or --without-zlib was given.
2128 if test "${with_zlib+set}" = set; then
2129 withval
="$with_zlib"
2131 if test "$withval" = yes; then
2132 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
2133 elif test "$withval" = no
; then
2134 ac_cv_use_zlib
='wxUSE_ZLIB=no'
2135 elif test "$withval" = sys
; then
2136 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
2138 { echo "configure: error: Invalid value for --with-zlib: should be yes, no or sys" 1>&2; exit 1; }
2143 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2144 if test "x$LINE" != x
; then
2145 eval "DEFAULT_$LINE"
2150 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
2155 eval "$ac_cv_use_zlib"
2156 if test "$no_cache" != 1; then
2157 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2160 if test "$wxUSE_ZLIB" = yes; then
2161 echo "$ac_t""yes" 1>&6
2162 elif test "$wxUSE_ZLIB" = no
; then
2163 echo "$ac_t""no" 1>&6
2164 elif test "$wxUSE_ZLIB" = sys
; then
2165 echo "$ac_t""system version" 1>&6
2167 { echo "configure: error: Invalid value for --with-zlib: should be yes, no or sys" 1>&2; exit 1; }
2171 echo $ac_n "checking for --with-odbc""... $ac_c" 1>&6
2172 echo "configure:2173: checking for --with-odbc" >&5
2174 # Check whether --with-odbc or --without-odbc was given.
2175 if test "${with_odbc+set}" = set; then
2176 withval
="$with_odbc"
2178 if test "$withval" = yes; then
2179 ac_cv_use_odbc
='wxUSE_ODBC=yes'
2181 ac_cv_use_odbc
='wxUSE_ODBC=no'
2186 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
2187 if test "x$LINE" != x
; then
2188 eval "DEFAULT_$LINE"
2193 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
2198 eval "$ac_cv_use_odbc"
2199 if test "$no_cache" != 1; then
2200 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
2203 if test "$wxUSE_ODBC" = yes; then
2204 echo "$ac_t""yes" 1>&6
2206 echo "$ac_t""no" 1>&6
2213 echo $ac_n "checking for --enable-shared""... $ac_c" 1>&6
2214 echo "configure:2215: checking for --enable-shared" >&5
2216 # Check whether --enable-shared or --disable-shared was given.
2217 if test "${enable_shared+set}" = set; then
2218 enableval
="$enable_shared"
2220 if test "$enableval" = yes; then
2221 ac_cv_use_shared
='wxUSE_SHARED=yes'
2223 ac_cv_use_shared
='wxUSE_SHARED=no'
2228 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
2229 if test "x$LINE" != x
; then
2230 eval "DEFAULT_$LINE"
2235 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
2240 eval "$ac_cv_use_shared"
2241 if test "$no_cache" != 1; then
2242 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
2245 if test "$wxUSE_SHARED" = yes; then
2246 echo "$ac_t""yes" 1>&6
2248 echo "$ac_t""no" 1>&6
2252 echo $ac_n "checking for --enable-burnt_name""... $ac_c" 1>&6
2253 echo "configure:2254: checking for --enable-burnt_name" >&5
2255 # Check whether --enable-burnt_name or --disable-burnt_name was given.
2256 if test "${enable_burnt_name+set}" = set; then
2257 enableval
="$enable_burnt_name"
2259 if test "$enableval" = yes; then
2260 ac_cv_use_burnt_name
='wxUSE_BURNT_NAME=yes'
2262 ac_cv_use_burnt_name
='wxUSE_BURNT_NAME=no'
2267 LINE
=`grep "wxUSE_BURNT_NAME" ${wx_arg_cache_file}`
2268 if test "x$LINE" != x
; then
2269 eval "DEFAULT_$LINE"
2274 ac_cv_use_burnt_name
='wxUSE_BURNT_NAME='$DEFAULT_wxUSE_BURNT_NAME
2279 eval "$ac_cv_use_burnt_name"
2280 if test "$no_cache" != 1; then
2281 echo $ac_cv_use_burnt_name >> ${wx_arg_cache_file}.tmp
2284 if test "$wxUSE_BURNT_NAME" = yes; then
2285 echo "$ac_t""yes" 1>&6
2287 echo "$ac_t""no" 1>&6
2291 echo $ac_n "checking for --enable-optimise""... $ac_c" 1>&6
2292 echo "configure:2293: checking for --enable-optimise" >&5
2294 # Check whether --enable-optimise or --disable-optimise was given.
2295 if test "${enable_optimise+set}" = set; then
2296 enableval
="$enable_optimise"
2298 if test "$enableval" = yes; then
2299 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
2301 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
2306 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
2307 if test "x$LINE" != x
; then
2308 eval "DEFAULT_$LINE"
2313 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
2318 eval "$ac_cv_use_optimise"
2319 if test "$no_cache" != 1; then
2320 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
2323 if test "$wxUSE_OPTIMISE" = yes; then
2324 echo "$ac_t""yes" 1>&6
2326 echo "$ac_t""no" 1>&6
2330 echo $ac_n "checking for --enable-debug""... $ac_c" 1>&6
2331 echo "configure:2332: checking for --enable-debug" >&5
2333 # Check whether --enable-debug or --disable-debug was given.
2334 if test "${enable_debug+set}" = set; then
2335 enableval
="$enable_debug"
2337 if test "$enableval" = yes; then
2338 ac_cv_use_debug
='wxUSE_DEBUG=yes'
2340 ac_cv_use_debug
='wxUSE_DEBUG=no'
2345 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
2346 if test "x$LINE" != x
; then
2347 eval "DEFAULT_$LINE"
2352 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
2357 eval "$ac_cv_use_debug"
2358 if test "$no_cache" != 1; then
2359 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
2362 if test "$wxUSE_DEBUG" = yes; then
2363 echo "$ac_t""yes" 1>&6
2365 echo "$ac_t""no" 1>&6
2369 if test "$wxUSE_DEBUG" = "yes"; then
2370 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2371 DEFAULT_wxUSE_DEBUG_INFO
=yes
2372 elif test "$wxUSE_DEBUG" = "no"; then
2373 DEFAULT_wxUSE_DEBUG_FLAG
=no
2374 DEFAULT_wxUSE_DEBUG_INFO
=no
2378 echo $ac_n "checking for --enable-debug_flag""... $ac_c" 1>&6
2379 echo "configure:2380: checking for --enable-debug_flag" >&5
2381 # Check whether --enable-debug_flag or --disable-debug_flag was given.
2382 if test "${enable_debug_flag+set}" = set; then
2383 enableval
="$enable_debug_flag"
2385 if test "$enableval" = yes; then
2386 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
2388 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
2393 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
2394 if test "x$LINE" != x
; then
2395 eval "DEFAULT_$LINE"
2400 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
2405 eval "$ac_cv_use_debug_flag"
2406 if test "$no_cache" != 1; then
2407 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
2410 if test "$wxUSE_DEBUG_FLAG" = yes; then
2411 echo "$ac_t""yes" 1>&6
2413 echo "$ac_t""no" 1>&6
2417 echo $ac_n "checking for --enable-debug_info""... $ac_c" 1>&6
2418 echo "configure:2419: checking for --enable-debug_info" >&5
2420 # Check whether --enable-debug_info or --disable-debug_info was given.
2421 if test "${enable_debug_info+set}" = set; then
2422 enableval
="$enable_debug_info"
2424 if test "$enableval" = yes; then
2425 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
2427 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
2432 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
2433 if test "x$LINE" != x
; then
2434 eval "DEFAULT_$LINE"
2439 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
2444 eval "$ac_cv_use_debug_info"
2445 if test "$no_cache" != 1; then
2446 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
2449 if test "$wxUSE_DEBUG_INFO" = yes; then
2450 echo "$ac_t""yes" 1>&6
2452 echo "$ac_t""no" 1>&6
2456 echo $ac_n "checking for --enable-debug_gdb""... $ac_c" 1>&6
2457 echo "configure:2458: checking for --enable-debug_gdb" >&5
2459 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
2460 if test "${enable_debug_gdb+set}" = set; then
2461 enableval
="$enable_debug_gdb"
2463 if test "$enableval" = yes; then
2464 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
2466 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
2471 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
2472 if test "x$LINE" != x
; then
2473 eval "DEFAULT_$LINE"
2478 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
2483 eval "$ac_cv_use_debug_gdb"
2484 if test "$no_cache" != 1; then
2485 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
2488 if test "$wxUSE_DEBUG_GDB" = yes; then
2489 echo "$ac_t""yes" 1>&6
2491 echo "$ac_t""no" 1>&6
2495 echo $ac_n "checking for --enable-debug_cntxt""... $ac_c" 1>&6
2496 echo "configure:2497: checking for --enable-debug_cntxt" >&5
2498 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
2499 if test "${enable_debug_cntxt+set}" = set; then
2500 enableval
="$enable_debug_cntxt"
2502 if test "$enableval" = yes; then
2503 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
2505 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
2510 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2511 if test "x$LINE" != x
; then
2512 eval "DEFAULT_$LINE"
2517 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2522 eval "$ac_cv_use_debug_cntxt"
2523 if test "$no_cache" != 1; then
2524 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2527 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2528 echo "$ac_t""yes" 1>&6
2530 echo "$ac_t""no" 1>&6
2534 echo $ac_n "checking for --enable-mem_tracing""... $ac_c" 1>&6
2535 echo "configure:2536: checking for --enable-mem_tracing" >&5
2537 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2538 if test "${enable_mem_tracing+set}" = set; then
2539 enableval
="$enable_mem_tracing"
2541 if test "$enableval" = yes; then
2542 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
2544 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
2549 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2550 if test "x$LINE" != x
; then
2551 eval "DEFAULT_$LINE"
2556 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2561 eval "$ac_cv_use_mem_tracing"
2562 if test "$no_cache" != 1; then
2563 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2566 if test "$wxUSE_MEM_TRACING" = yes; then
2567 echo "$ac_t""yes" 1>&6
2569 echo "$ac_t""no" 1>&6
2573 echo $ac_n "checking for --enable-profile""... $ac_c" 1>&6
2574 echo "configure:2575: checking for --enable-profile" >&5
2576 # Check whether --enable-profile or --disable-profile was given.
2577 if test "${enable_profile+set}" = set; then
2578 enableval
="$enable_profile"
2580 if test "$enableval" = yes; then
2581 ac_cv_use_profile
='wxUSE_PROFILE=yes'
2583 ac_cv_use_profile
='wxUSE_PROFILE=no'
2588 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2589 if test "x$LINE" != x
; then
2590 eval "DEFAULT_$LINE"
2595 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2600 eval "$ac_cv_use_profile"
2601 if test "$no_cache" != 1; then
2602 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2605 if test "$wxUSE_PROFILE" = yes; then
2606 echo "$ac_t""yes" 1>&6
2608 echo "$ac_t""no" 1>&6
2612 echo $ac_n "checking for --enable-no_rtti""... $ac_c" 1>&6
2613 echo "configure:2614: checking for --enable-no_rtti" >&5
2615 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2616 if test "${enable_no_rtti+set}" = set; then
2617 enableval
="$enable_no_rtti"
2619 if test "$enableval" = yes; then
2620 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
2622 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
2627 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2628 if test "x$LINE" != x
; then
2629 eval "DEFAULT_$LINE"
2634 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2639 eval "$ac_cv_use_no_rtti"
2640 if test "$no_cache" != 1; then
2641 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2644 if test "$wxUSE_NO_RTTI" = yes; then
2645 echo "$ac_t""yes" 1>&6
2647 echo "$ac_t""no" 1>&6
2651 echo $ac_n "checking for --enable-no_exceptions""... $ac_c" 1>&6
2652 echo "configure:2653: checking for --enable-no_exceptions" >&5
2654 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2655 if test "${enable_no_exceptions+set}" = set; then
2656 enableval
="$enable_no_exceptions"
2658 if test "$enableval" = yes; then
2659 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
2661 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
2666 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2667 if test "x$LINE" != x
; then
2668 eval "DEFAULT_$LINE"
2673 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2678 eval "$ac_cv_use_no_exceptions"
2679 if test "$no_cache" != 1; then
2680 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2683 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2684 echo "$ac_t""yes" 1>&6
2686 echo "$ac_t""no" 1>&6
2690 echo $ac_n "checking for --enable-permissive""... $ac_c" 1>&6
2691 echo "configure:2692: checking for --enable-permissive" >&5
2693 # Check whether --enable-permissive or --disable-permissive was given.
2694 if test "${enable_permissive+set}" = set; then
2695 enableval
="$enable_permissive"
2697 if test "$enableval" = yes; then
2698 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
2700 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
2705 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2706 if test "x$LINE" != x
; then
2707 eval "DEFAULT_$LINE"
2712 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
2717 eval "$ac_cv_use_permissive"
2718 if test "$no_cache" != 1; then
2719 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
2722 if test "$wxUSE_PERMISSIVE" = yes; then
2723 echo "$ac_t""yes" 1>&6
2725 echo "$ac_t""no" 1>&6
2729 echo $ac_n "checking for --enable-no_deps""... $ac_c" 1>&6
2730 echo "configure:2731: checking for --enable-no_deps" >&5
2732 # Check whether --enable-no_deps or --disable-no_deps was given.
2733 if test "${enable_no_deps+set}" = set; then
2734 enableval
="$enable_no_deps"
2736 if test "$enableval" = yes; then
2737 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
2739 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
2744 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
2745 if test "x$LINE" != x
; then
2746 eval "DEFAULT_$LINE"
2751 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
2756 eval "$ac_cv_use_no_deps"
2757 if test "$no_cache" != 1; then
2758 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
2761 if test "$wxUSE_NO_DEPS" = yes; then
2762 echo "$ac_t""yes" 1>&6
2764 echo "$ac_t""no" 1>&6
2769 echo $ac_n "checking for --enable-compat20""... $ac_c" 1>&6
2770 echo "configure:2771: checking for --enable-compat20" >&5
2772 # Check whether --enable-compat20 or --disable-compat20 was given.
2773 if test "${enable_compat20+set}" = set; then
2774 enableval
="$enable_compat20"
2776 if test "$enableval" = yes; then
2777 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=yes'
2779 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=no'
2784 LINE
=`grep "WXWIN_COMPATIBILITY_2" ${wx_arg_cache_file}`
2785 if test "x$LINE" != x
; then
2786 eval "DEFAULT_$LINE"
2791 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2='$DEFAULT_WXWIN_COMPATIBILITY_2
2796 eval "$ac_cv_use_compat20"
2797 if test "$no_cache" != 1; then
2798 echo $ac_cv_use_compat20 >> ${wx_arg_cache_file}.tmp
2801 if test "$WXWIN_COMPATIBILITY_2" = yes; then
2802 echo "$ac_t""yes" 1>&6
2804 echo "$ac_t""no" 1>&6
2808 echo $ac_n "checking for --enable-compat22""... $ac_c" 1>&6
2809 echo "configure:2810: checking for --enable-compat22" >&5
2811 # Check whether --enable-compat22 or --disable-compat22 was given.
2812 if test "${enable_compat22+set}" = set; then
2813 enableval
="$enable_compat22"
2815 if test "$enableval" = yes; then
2816 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
2818 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
2823 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
2824 if test "x$LINE" != x
; then
2825 eval "DEFAULT_$LINE"
2830 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
2835 eval "$ac_cv_use_compat22"
2836 if test "$no_cache" != 1; then
2837 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
2840 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
2841 echo "$ac_t""yes" 1>&6
2843 echo "$ac_t""no" 1>&6
2849 echo $ac_n "checking for --enable-intl""... $ac_c" 1>&6
2850 echo "configure:2851: checking for --enable-intl" >&5
2852 # Check whether --enable-intl or --disable-intl was given.
2853 if test "${enable_intl+set}" = set; then
2854 enableval
="$enable_intl"
2856 if test "$enableval" = yes; then
2857 ac_cv_use_intl
='wxUSE_INTL=yes'
2859 ac_cv_use_intl
='wxUSE_INTL=no'
2864 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
2865 if test "x$LINE" != x
; then
2866 eval "DEFAULT_$LINE"
2871 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
2876 eval "$ac_cv_use_intl"
2877 if test "$no_cache" != 1; then
2878 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
2881 if test "$wxUSE_INTL" = yes; then
2882 echo "$ac_t""yes" 1>&6
2884 echo "$ac_t""no" 1>&6
2888 echo $ac_n "checking for --enable-config""... $ac_c" 1>&6
2889 echo "configure:2890: checking for --enable-config" >&5
2891 # Check whether --enable-config or --disable-config was given.
2892 if test "${enable_config+set}" = set; then
2893 enableval
="$enable_config"
2895 if test "$enableval" = yes; then
2896 ac_cv_use_config
='wxUSE_CONFIG=yes'
2898 ac_cv_use_config
='wxUSE_CONFIG=no'
2903 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
2904 if test "x$LINE" != x
; then
2905 eval "DEFAULT_$LINE"
2910 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
2915 eval "$ac_cv_use_config"
2916 if test "$no_cache" != 1; then
2917 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
2920 if test "$wxUSE_CONFIG" = yes; then
2921 echo "$ac_t""yes" 1>&6
2923 echo "$ac_t""no" 1>&6
2928 echo $ac_n "checking for --enable-sockets""... $ac_c" 1>&6
2929 echo "configure:2930: checking for --enable-sockets" >&5
2931 # Check whether --enable-sockets or --disable-sockets was given.
2932 if test "${enable_sockets+set}" = set; then
2933 enableval
="$enable_sockets"
2935 if test "$enableval" = yes; then
2936 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
2938 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
2943 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
2944 if test "x$LINE" != x
; then
2945 eval "DEFAULT_$LINE"
2950 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
2955 eval "$ac_cv_use_sockets"
2956 if test "$no_cache" != 1; then
2957 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
2960 if test "$wxUSE_SOCKETS" = yes; then
2961 echo "$ac_t""yes" 1>&6
2963 echo "$ac_t""no" 1>&6
2968 echo $ac_n "checking for --enable-ipc""... $ac_c" 1>&6
2969 echo "configure:2970: checking for --enable-ipc" >&5
2971 # Check whether --enable-ipc or --disable-ipc was given.
2972 if test "${enable_ipc+set}" = set; then
2973 enableval
="$enable_ipc"
2975 if test "$enableval" = yes; then
2976 ac_cv_use_ipc
='wxUSE_IPC=yes'
2978 ac_cv_use_ipc
='wxUSE_IPC=no'
2983 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
2984 if test "x$LINE" != x
; then
2985 eval "DEFAULT_$LINE"
2990 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
2995 eval "$ac_cv_use_ipc"
2996 if test "$no_cache" != 1; then
2997 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
3000 if test "$wxUSE_IPC" = yes; then
3001 echo "$ac_t""yes" 1>&6
3003 echo "$ac_t""no" 1>&6
3008 echo $ac_n "checking for --enable-cmdline""... $ac_c" 1>&6
3009 echo "configure:3010: checking for --enable-cmdline" >&5
3011 # Check whether --enable-cmdline or --disable-cmdline was given.
3012 if test "${enable_cmdline+set}" = set; then
3013 enableval
="$enable_cmdline"
3015 if test "$enableval" = yes; then
3016 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
3018 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
3023 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
3024 if test "x$LINE" != x
; then
3025 eval "DEFAULT_$LINE"
3030 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
3035 eval "$ac_cv_use_cmdline"
3036 if test "$no_cache" != 1; then
3037 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
3040 if test "$wxUSE_CMDLINE_PARSER" = yes; then
3041 echo "$ac_t""yes" 1>&6
3043 echo "$ac_t""no" 1>&6
3047 echo $ac_n "checking for --enable-datetime""... $ac_c" 1>&6
3048 echo "configure:3049: checking for --enable-datetime" >&5
3050 # Check whether --enable-datetime or --disable-datetime was given.
3051 if test "${enable_datetime+set}" = set; then
3052 enableval
="$enable_datetime"
3054 if test "$enableval" = yes; then
3055 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
3057 ac_cv_use_datetime
='wxUSE_DATETIME=no'
3062 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
3063 if test "x$LINE" != x
; then
3064 eval "DEFAULT_$LINE"
3069 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
3074 eval "$ac_cv_use_datetime"
3075 if test "$no_cache" != 1; then
3076 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
3079 if test "$wxUSE_DATETIME" = yes; then
3080 echo "$ac_t""yes" 1>&6
3082 echo "$ac_t""no" 1>&6
3086 echo $ac_n "checking for --enable-timedate""... $ac_c" 1>&6
3087 echo "configure:3088: checking for --enable-timedate" >&5
3089 # Check whether --enable-timedate or --disable-timedate was given.
3090 if test "${enable_timedate+set}" = set; then
3091 enableval
="$enable_timedate"
3093 if test "$enableval" = yes; then
3094 ac_cv_use_timedate
='wxUSE_TIMEDATE=yes'
3096 ac_cv_use_timedate
='wxUSE_TIMEDATE=no'
3101 LINE
=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}`
3102 if test "x$LINE" != x
; then
3103 eval "DEFAULT_$LINE"
3108 ac_cv_use_timedate
='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
3113 eval "$ac_cv_use_timedate"
3114 if test "$no_cache" != 1; then
3115 echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp
3118 if test "$wxUSE_TIMEDATE" = yes; then
3119 echo "$ac_t""yes" 1>&6
3121 echo "$ac_t""no" 1>&6
3125 echo $ac_n "checking for --enable-stopwatch""... $ac_c" 1>&6
3126 echo "configure:3127: checking for --enable-stopwatch" >&5
3128 # Check whether --enable-stopwatch or --disable-stopwatch was given.
3129 if test "${enable_stopwatch+set}" = set; then
3130 enableval
="$enable_stopwatch"
3132 if test "$enableval" = yes; then
3133 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
3135 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
3140 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
3141 if test "x$LINE" != x
; then
3142 eval "DEFAULT_$LINE"
3147 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
3152 eval "$ac_cv_use_stopwatch"
3153 if test "$no_cache" != 1; then
3154 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
3157 if test "$wxUSE_STOPWATCH" = yes; then
3158 echo "$ac_t""yes" 1>&6
3160 echo "$ac_t""no" 1>&6
3164 echo $ac_n "checking for --enable-dialupman""... $ac_c" 1>&6
3165 echo "configure:3166: checking for --enable-dialupman" >&5
3167 # Check whether --enable-dialupman or --disable-dialupman was given.
3168 if test "${enable_dialupman+set}" = set; then
3169 enableval
="$enable_dialupman"
3171 if test "$enableval" = yes; then
3172 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
3174 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
3179 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
3180 if test "x$LINE" != x
; then
3181 eval "DEFAULT_$LINE"
3186 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
3191 eval "$ac_cv_use_dialupman"
3192 if test "$no_cache" != 1; then
3193 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
3196 if test "$wxUSE_DIALUP_MANAGER" = yes; then
3197 echo "$ac_t""yes" 1>&6
3199 echo "$ac_t""no" 1>&6
3203 echo $ac_n "checking for --enable-apple_ieee""... $ac_c" 1>&6
3204 echo "configure:3205: checking for --enable-apple_ieee" >&5
3206 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
3207 if test "${enable_apple_ieee+set}" = set; then
3208 enableval
="$enable_apple_ieee"
3210 if test "$enableval" = yes; then
3211 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
3213 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
3218 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
3219 if test "x$LINE" != x
; then
3220 eval "DEFAULT_$LINE"
3225 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
3230 eval "$ac_cv_use_apple_ieee"
3231 if test "$no_cache" != 1; then
3232 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
3235 if test "$wxUSE_APPLE_IEEE" = yes; then
3236 echo "$ac_t""yes" 1>&6
3238 echo "$ac_t""no" 1>&6
3242 echo $ac_n "checking for --enable-timer""... $ac_c" 1>&6
3243 echo "configure:3244: checking for --enable-timer" >&5
3245 # Check whether --enable-timer or --disable-timer was given.
3246 if test "${enable_timer+set}" = set; then
3247 enableval
="$enable_timer"
3249 if test "$enableval" = yes; then
3250 ac_cv_use_timer
='wxUSE_TIMER=yes'
3252 ac_cv_use_timer
='wxUSE_TIMER=no'
3257 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
3258 if test "x$LINE" != x
; then
3259 eval "DEFAULT_$LINE"
3264 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
3269 eval "$ac_cv_use_timer"
3270 if test "$no_cache" != 1; then
3271 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
3274 if test "$wxUSE_TIMER" = yes; then
3275 echo "$ac_t""yes" 1>&6
3277 echo "$ac_t""no" 1>&6
3281 echo $ac_n "checking for --enable-wave""... $ac_c" 1>&6
3282 echo "configure:3283: checking for --enable-wave" >&5
3284 # Check whether --enable-wave or --disable-wave was given.
3285 if test "${enable_wave+set}" = set; then
3286 enableval
="$enable_wave"
3288 if test "$enableval" = yes; then
3289 ac_cv_use_wave
='wxUSE_WAVE=yes'
3291 ac_cv_use_wave
='wxUSE_WAVE=no'
3296 LINE
=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
3297 if test "x$LINE" != x
; then
3298 eval "DEFAULT_$LINE"
3303 ac_cv_use_wave
='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
3308 eval "$ac_cv_use_wave"
3309 if test "$no_cache" != 1; then
3310 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
3313 if test "$wxUSE_WAVE" = yes; then
3314 echo "$ac_t""yes" 1>&6
3316 echo "$ac_t""no" 1>&6
3320 echo $ac_n "checking for --enable-fraction""... $ac_c" 1>&6
3321 echo "configure:3322: checking for --enable-fraction" >&5
3323 # Check whether --enable-fraction or --disable-fraction was given.
3324 if test "${enable_fraction+set}" = set; then
3325 enableval
="$enable_fraction"
3327 if test "$enableval" = yes; then
3328 ac_cv_use_fraction
='wxUSE_FRACTION=yes'
3330 ac_cv_use_fraction
='wxUSE_FRACTION=no'
3335 LINE
=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
3336 if test "x$LINE" != x
; then
3337 eval "DEFAULT_$LINE"
3342 ac_cv_use_fraction
='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
3347 eval "$ac_cv_use_fraction"
3348 if test "$no_cache" != 1; then
3349 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
3352 if test "$wxUSE_FRACTION" = yes; then
3353 echo "$ac_t""yes" 1>&6
3355 echo "$ac_t""no" 1>&6
3359 echo $ac_n "checking for --enable-dynlib""... $ac_c" 1>&6
3360 echo "configure:3361: checking for --enable-dynlib" >&5
3362 # Check whether --enable-dynlib or --disable-dynlib was given.
3363 if test "${enable_dynlib+set}" = set; then
3364 enableval
="$enable_dynlib"
3366 if test "$enableval" = yes; then
3367 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
3369 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
3374 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
3375 if test "x$LINE" != x
; then
3376 eval "DEFAULT_$LINE"
3381 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
3386 eval "$ac_cv_use_dynlib"
3387 if test "$no_cache" != 1; then
3388 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
3391 if test "$wxUSE_DYNLIB_CLASS" = yes; then
3392 echo "$ac_t""yes" 1>&6
3394 echo "$ac_t""no" 1>&6
3398 echo $ac_n "checking for --enable-longlong""... $ac_c" 1>&6
3399 echo "configure:3400: checking for --enable-longlong" >&5
3401 # Check whether --enable-longlong or --disable-longlong was given.
3402 if test "${enable_longlong+set}" = set; then
3403 enableval
="$enable_longlong"
3405 if test "$enableval" = yes; then
3406 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
3408 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
3413 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
3414 if test "x$LINE" != x
; then
3415 eval "DEFAULT_$LINE"
3420 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
3425 eval "$ac_cv_use_longlong"
3426 if test "$no_cache" != 1; then
3427 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
3430 if test "$wxUSE_LONGLONG" = yes; then
3431 echo "$ac_t""yes" 1>&6
3433 echo "$ac_t""no" 1>&6
3437 echo $ac_n "checking for --enable-geometry""... $ac_c" 1>&6
3438 echo "configure:3439: checking for --enable-geometry" >&5
3440 # Check whether --enable-geometry or --disable-geometry was given.
3441 if test "${enable_geometry+set}" = set; then
3442 enableval
="$enable_geometry"
3444 if test "$enableval" = yes; then
3445 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
3447 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
3452 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
3453 if test "x$LINE" != x
; then
3454 eval "DEFAULT_$LINE"
3459 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
3464 eval "$ac_cv_use_geometry"
3465 if test "$no_cache" != 1; then
3466 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
3469 if test "$wxUSE_GEOMETRY" = yes; then
3470 echo "$ac_t""yes" 1>&6
3472 echo "$ac_t""no" 1>&6
3476 echo $ac_n "checking for --enable-log""... $ac_c" 1>&6
3477 echo "configure:3478: checking for --enable-log" >&5
3479 # Check whether --enable-log or --disable-log was given.
3480 if test "${enable_log+set}" = set; then
3481 enableval
="$enable_log"
3483 if test "$enableval" = yes; then
3484 ac_cv_use_log
='wxUSE_LOG=yes'
3486 ac_cv_use_log
='wxUSE_LOG=no'
3491 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
3492 if test "x$LINE" != x
; then
3493 eval "DEFAULT_$LINE"
3498 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
3503 eval "$ac_cv_use_log"
3504 if test "$no_cache" != 1; then
3505 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
3508 if test "$wxUSE_LOG" = yes; then
3509 echo "$ac_t""yes" 1>&6
3511 echo "$ac_t""no" 1>&6
3515 echo $ac_n "checking for --enable-streams""... $ac_c" 1>&6
3516 echo "configure:3517: checking for --enable-streams" >&5
3518 # Check whether --enable-streams or --disable-streams was given.
3519 if test "${enable_streams+set}" = set; then
3520 enableval
="$enable_streams"
3522 if test "$enableval" = yes; then
3523 ac_cv_use_streams
='wxUSE_STREAMS=yes'
3525 ac_cv_use_streams
='wxUSE_STREAMS=no'
3530 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
3531 if test "x$LINE" != x
; then
3532 eval "DEFAULT_$LINE"
3537 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
3542 eval "$ac_cv_use_streams"
3543 if test "$no_cache" != 1; then
3544 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
3547 if test "$wxUSE_STREAMS" = yes; then
3548 echo "$ac_t""yes" 1>&6
3550 echo "$ac_t""no" 1>&6
3554 echo $ac_n "checking for --enable-file""... $ac_c" 1>&6
3555 echo "configure:3556: checking for --enable-file" >&5
3557 # Check whether --enable-file or --disable-file was given.
3558 if test "${enable_file+set}" = set; then
3559 enableval
="$enable_file"
3561 if test "$enableval" = yes; then
3562 ac_cv_use_file
='wxUSE_FILE=yes'
3564 ac_cv_use_file
='wxUSE_FILE=no'
3569 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
3570 if test "x$LINE" != x
; then
3571 eval "DEFAULT_$LINE"
3576 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
3581 eval "$ac_cv_use_file"
3582 if test "$no_cache" != 1; then
3583 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
3586 if test "$wxUSE_FILE" = yes; then
3587 echo "$ac_t""yes" 1>&6
3589 echo "$ac_t""no" 1>&6
3593 echo $ac_n "checking for --enable-ffile""... $ac_c" 1>&6
3594 echo "configure:3595: checking for --enable-ffile" >&5
3596 # Check whether --enable-ffile or --disable-ffile was given.
3597 if test "${enable_ffile+set}" = set; then
3598 enableval
="$enable_ffile"
3600 if test "$enableval" = yes; then
3601 ac_cv_use_ffile
='wxUSE_FFILE=yes'
3603 ac_cv_use_ffile
='wxUSE_FFILE=no'
3608 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
3609 if test "x$LINE" != x
; then
3610 eval "DEFAULT_$LINE"
3615 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
3620 eval "$ac_cv_use_ffile"
3621 if test "$no_cache" != 1; then
3622 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
3625 if test "$wxUSE_FFILE" = yes; then
3626 echo "$ac_t""yes" 1>&6
3628 echo "$ac_t""no" 1>&6
3632 echo $ac_n "checking for --enable-textfile""... $ac_c" 1>&6
3633 echo "configure:3634: checking for --enable-textfile" >&5
3635 # Check whether --enable-textfile or --disable-textfile was given.
3636 if test "${enable_textfile+set}" = set; then
3637 enableval
="$enable_textfile"
3639 if test "$enableval" = yes; then
3640 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
3642 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
3647 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
3648 if test "x$LINE" != x
; then
3649 eval "DEFAULT_$LINE"
3654 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
3659 eval "$ac_cv_use_textfile"
3660 if test "$no_cache" != 1; then
3661 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
3664 if test "$wxUSE_TEXTFILE" = yes; then
3665 echo "$ac_t""yes" 1>&6
3667 echo "$ac_t""no" 1>&6
3671 echo $ac_n "checking for --enable-fontmap""... $ac_c" 1>&6
3672 echo "configure:3673: checking for --enable-fontmap" >&5
3674 # Check whether --enable-fontmap or --disable-fontmap was given.
3675 if test "${enable_fontmap+set}" = set; then
3676 enableval
="$enable_fontmap"
3678 if test "$enableval" = yes; then
3679 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
3681 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
3686 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
3687 if test "x$LINE" != x
; then
3688 eval "DEFAULT_$LINE"
3693 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
3698 eval "$ac_cv_use_fontmap"
3699 if test "$no_cache" != 1; then
3700 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
3703 if test "$wxUSE_FONTMAP" = yes; then
3704 echo "$ac_t""yes" 1>&6
3706 echo "$ac_t""no" 1>&6
3710 echo $ac_n "checking for --enable-unicode""... $ac_c" 1>&6
3711 echo "configure:3712: checking for --enable-unicode" >&5
3713 # Check whether --enable-unicode or --disable-unicode was given.
3714 if test "${enable_unicode+set}" = set; then
3715 enableval
="$enable_unicode"
3717 if test "$enableval" = yes; then
3718 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
3720 ac_cv_use_unicode
='wxUSE_UNICODE=no'
3725 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
3726 if test "x$LINE" != x
; then
3727 eval "DEFAULT_$LINE"
3732 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
3737 eval "$ac_cv_use_unicode"
3738 if test "$no_cache" != 1; then
3739 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
3742 if test "$wxUSE_UNICODE" = yes; then
3743 echo "$ac_t""yes" 1>&6
3745 echo "$ac_t""no" 1>&6
3749 echo $ac_n "checking for --enable-wcsrtombs""... $ac_c" 1>&6
3750 echo "configure:3751: checking for --enable-wcsrtombs" >&5
3752 # Check whether --enable-wcsrtombs or --disable-wcsrtombs was given.
3753 if test "${enable_wcsrtombs+set}" = set; then
3754 enableval
="$enable_wcsrtombs"
3756 if test "$enableval" = yes; then
3757 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS=yes'
3759 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS=no'
3764 LINE
=`grep "wxUSE_WCSRTOMBS" ${wx_arg_cache_file}`
3765 if test "x$LINE" != x
; then
3766 eval "DEFAULT_$LINE"
3771 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS='$DEFAULT_wxUSE_WCSRTOMBS
3776 eval "$ac_cv_use_wcsrtombs"
3777 if test "$no_cache" != 1; then
3778 echo $ac_cv_use_wcsrtombs >> ${wx_arg_cache_file}.tmp
3781 if test "$wxUSE_WCSRTOMBS" = yes; then
3782 echo "$ac_t""yes" 1>&6
3784 echo "$ac_t""no" 1>&6
3788 echo $ac_n "checking for --enable-wxprintfv""... $ac_c" 1>&6
3789 echo "configure:3790: checking for --enable-wxprintfv" >&5
3791 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
3792 if test "${enable_wxprintfv+set}" = set; then
3793 enableval
="$enable_wxprintfv"
3795 if test "$enableval" = yes; then
3796 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
3798 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
3803 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
3804 if test "x$LINE" != x
; then
3805 eval "DEFAULT_$LINE"
3810 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
3815 eval "$ac_cv_use_wxprintfv"
3816 if test "$no_cache" != 1; then
3817 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
3820 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
3821 echo "$ac_t""yes" 1>&6
3823 echo "$ac_t""no" 1>&6
3827 echo $ac_n "checking for --enable-std_iostreams""... $ac_c" 1>&6
3828 echo "configure:3829: checking for --enable-std_iostreams" >&5
3830 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
3831 if test "${enable_std_iostreams+set}" = set; then
3832 enableval
="$enable_std_iostreams"
3834 if test "$enableval" = yes; then
3835 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
3837 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
3842 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
3843 if test "x$LINE" != x
; then
3844 eval "DEFAULT_$LINE"
3849 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
3854 eval "$ac_cv_use_std_iostreams"
3855 if test "$no_cache" != 1; then
3856 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
3859 if test "$wxUSE_STD_IOSTREAM" = yes; then
3860 echo "$ac_t""yes" 1>&6
3862 echo "$ac_t""no" 1>&6
3866 echo $ac_n "checking for --enable-filesystem""... $ac_c" 1>&6
3867 echo "configure:3868: checking for --enable-filesystem" >&5
3869 # Check whether --enable-filesystem or --disable-filesystem was given.
3870 if test "${enable_filesystem+set}" = set; then
3871 enableval
="$enable_filesystem"
3873 if test "$enableval" = yes; then
3874 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
3876 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
3881 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
3882 if test "x$LINE" != x
; then
3883 eval "DEFAULT_$LINE"
3888 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
3893 eval "$ac_cv_use_filesystem"
3894 if test "$no_cache" != 1; then
3895 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
3898 if test "$wxUSE_FILESYSTEM" = yes; then
3899 echo "$ac_t""yes" 1>&6
3901 echo "$ac_t""no" 1>&6
3905 echo $ac_n "checking for --enable-fs_inet""... $ac_c" 1>&6
3906 echo "configure:3907: checking for --enable-fs_inet" >&5
3908 # Check whether --enable-fs_inet or --disable-fs_inet was given.
3909 if test "${enable_fs_inet+set}" = set; then
3910 enableval
="$enable_fs_inet"
3912 if test "$enableval" = yes; then
3913 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
3915 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
3920 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
3921 if test "x$LINE" != x
; then
3922 eval "DEFAULT_$LINE"
3927 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
3932 eval "$ac_cv_use_fs_inet"
3933 if test "$no_cache" != 1; then
3934 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
3937 if test "$wxUSE_FS_INET" = yes; then
3938 echo "$ac_t""yes" 1>&6
3940 echo "$ac_t""no" 1>&6
3944 echo $ac_n "checking for --enable-fs_zip""... $ac_c" 1>&6
3945 echo "configure:3946: checking for --enable-fs_zip" >&5
3947 # Check whether --enable-fs_zip or --disable-fs_zip was given.
3948 if test "${enable_fs_zip+set}" = set; then
3949 enableval
="$enable_fs_zip"
3951 if test "$enableval" = yes; then
3952 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
3954 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
3959 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
3960 if test "x$LINE" != x
; then
3961 eval "DEFAULT_$LINE"
3966 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
3971 eval "$ac_cv_use_fs_zip"
3972 if test "$no_cache" != 1; then
3973 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
3976 if test "$wxUSE_FS_ZIP" = yes; then
3977 echo "$ac_t""yes" 1>&6
3979 echo "$ac_t""no" 1>&6
3983 echo $ac_n "checking for --enable-zipstream""... $ac_c" 1>&6
3984 echo "configure:3985: checking for --enable-zipstream" >&5
3986 # Check whether --enable-zipstream or --disable-zipstream was given.
3987 if test "${enable_zipstream+set}" = set; then
3988 enableval
="$enable_zipstream"
3990 if test "$enableval" = yes; then
3991 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
3993 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
3998 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
3999 if test "x$LINE" != x
; then
4000 eval "DEFAULT_$LINE"
4005 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
4010 eval "$ac_cv_use_zipstream"
4011 if test "$no_cache" != 1; then
4012 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
4015 if test "$wxUSE_ZIPSTREAM" = yes; then
4016 echo "$ac_t""yes" 1>&6
4018 echo "$ac_t""no" 1>&6
4023 echo $ac_n "checking for --enable-catch_segvs""... $ac_c" 1>&6
4024 echo "configure:4025: checking for --enable-catch_segvs" >&5
4026 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4027 if test "${enable_catch_segvs+set}" = set; then
4028 enableval
="$enable_catch_segvs"
4030 if test "$enableval" = yes; then
4031 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4033 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4038 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4039 if test "x$LINE" != x
; then
4040 eval "DEFAULT_$LINE"
4045 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4050 eval "$ac_cv_use_catch_segvs"
4051 if test "$no_cache" != 1; then
4052 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4055 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4056 echo "$ac_t""yes" 1>&6
4058 echo "$ac_t""no" 1>&6
4062 echo $ac_n "checking for --enable-snglinst""... $ac_c" 1>&6
4063 echo "configure:4064: checking for --enable-snglinst" >&5
4065 # Check whether --enable-snglinst or --disable-snglinst was given.
4066 if test "${enable_snglinst+set}" = set; then
4067 enableval
="$enable_snglinst"
4069 if test "$enableval" = yes; then
4070 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
4072 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
4077 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
4078 if test "x$LINE" != x
; then
4079 eval "DEFAULT_$LINE"
4084 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
4089 eval "$ac_cv_use_snglinst"
4090 if test "$no_cache" != 1; then
4091 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
4094 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
4095 echo "$ac_t""yes" 1>&6
4097 echo "$ac_t""no" 1>&6
4102 echo $ac_n "checking for --enable-mimetype""... $ac_c" 1>&6
4103 echo "configure:4104: checking for --enable-mimetype" >&5
4105 # Check whether --enable-mimetype or --disable-mimetype was given.
4106 if test "${enable_mimetype+set}" = set; then
4107 enableval
="$enable_mimetype"
4109 if test "$enableval" = yes; then
4110 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
4112 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
4117 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
4118 if test "x$LINE" != x
; then
4119 eval "DEFAULT_$LINE"
4124 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
4129 eval "$ac_cv_use_mimetype"
4130 if test "$no_cache" != 1; then
4131 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
4134 if test "$wxUSE_MIMETYPE" = yes; then
4135 echo "$ac_t""yes" 1>&6
4137 echo "$ac_t""no" 1>&6
4141 echo $ac_n "checking for --enable-system_options""... $ac_c" 1>&6
4142 echo "configure:4143: checking for --enable-system_options" >&5
4144 # Check whether --enable-system_options or --disable-system_options was given.
4145 if test "${enable_system_options+set}" = set; then
4146 enableval
="$enable_system_options"
4148 if test "$enableval" = yes; then
4149 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
4151 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
4156 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
4157 if test "x$LINE" != x
; then
4158 eval "DEFAULT_$LINE"
4163 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
4168 eval "$ac_cv_use_system_options"
4169 if test "$no_cache" != 1; then
4170 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
4173 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
4174 echo "$ac_t""yes" 1>&6
4176 echo "$ac_t""no" 1>&6
4182 echo $ac_n "checking for --enable-threads""... $ac_c" 1>&6
4183 echo "configure:4184: checking for --enable-threads" >&5
4185 # Check whether --enable-threads or --disable-threads was given.
4186 if test "${enable_threads+set}" = set; then
4187 enableval
="$enable_threads"
4189 if test "$enableval" = yes; then
4190 ac_cv_use_threads
='wxUSE_THREADS=yes'
4192 ac_cv_use_threads
='wxUSE_THREADS=no'
4197 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
4198 if test "x$LINE" != x
; then
4199 eval "DEFAULT_$LINE"
4204 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
4209 eval "$ac_cv_use_threads"
4210 if test "$no_cache" != 1; then
4211 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
4214 if test "$wxUSE_THREADS" = yes; then
4215 echo "$ac_t""yes" 1>&6
4217 echo "$ac_t""no" 1>&6
4221 echo $ac_n "checking for --enable-serial""... $ac_c" 1>&6
4222 echo "configure:4223: checking for --enable-serial" >&5
4224 # Check whether --enable-serial or --disable-serial was given.
4225 if test "${enable_serial+set}" = set; then
4226 enableval
="$enable_serial"
4228 if test "$enableval" = yes; then
4229 ac_cv_use_serial
='wxUSE_SERIAL=yes'
4231 ac_cv_use_serial
='wxUSE_SERIAL=no'
4236 LINE
=`grep "wxUSE_SERIAL" ${wx_arg_cache_file}`
4237 if test "x$LINE" != x
; then
4238 eval "DEFAULT_$LINE"
4243 ac_cv_use_serial
='wxUSE_SERIAL='$DEFAULT_wxUSE_SERIAL
4248 eval "$ac_cv_use_serial"
4249 if test "$no_cache" != 1; then
4250 echo $ac_cv_use_serial >> ${wx_arg_cache_file}.tmp
4253 if test "$wxUSE_SERIAL" = yes; then
4254 echo "$ac_t""yes" 1>&6
4256 echo "$ac_t""no" 1>&6
4260 if test "$wxUSE_GUI" = "yes"; then
4264 echo $ac_n "checking for --enable-docview""... $ac_c" 1>&6
4265 echo "configure:4266: checking for --enable-docview" >&5
4267 # Check whether --enable-docview or --disable-docview was given.
4268 if test "${enable_docview+set}" = set; then
4269 enableval
="$enable_docview"
4271 if test "$enableval" = yes; then
4272 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
4274 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
4279 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
4280 if test "x$LINE" != x
; then
4281 eval "DEFAULT_$LINE"
4286 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
4291 eval "$ac_cv_use_docview"
4292 if test "$no_cache" != 1; then
4293 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
4296 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
4297 echo "$ac_t""yes" 1>&6
4299 echo "$ac_t""no" 1>&6
4303 echo $ac_n "checking for --enable-help""... $ac_c" 1>&6
4304 echo "configure:4305: checking for --enable-help" >&5
4306 # Check whether --enable-help or --disable-help was given.
4307 if test "${enable_help+set}" = set; then
4308 enableval
="$enable_help"
4310 if test "$enableval" = yes; then
4311 ac_cv_use_help
='wxUSE_HELP=yes'
4313 ac_cv_use_help
='wxUSE_HELP=no'
4318 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
4319 if test "x$LINE" != x
; then
4320 eval "DEFAULT_$LINE"
4325 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
4330 eval "$ac_cv_use_help"
4331 if test "$no_cache" != 1; then
4332 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
4335 if test "$wxUSE_HELP" = yes; then
4336 echo "$ac_t""yes" 1>&6
4338 echo "$ac_t""no" 1>&6
4342 echo $ac_n "checking for --enable-mshtmlhelp""... $ac_c" 1>&6
4343 echo "configure:4344: checking for --enable-mshtmlhelp" >&5
4345 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
4346 if test "${enable_mshtmlhelp+set}" = set; then
4347 enableval
="$enable_mshtmlhelp"
4349 if test "$enableval" = yes; then
4350 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
4352 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
4357 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
4358 if test "x$LINE" != x
; then
4359 eval "DEFAULT_$LINE"
4364 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
4369 eval "$ac_cv_use_mshtmlhelp"
4370 if test "$no_cache" != 1; then
4371 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
4374 if test "$wxUSE_MS_HTML_HELP" = yes; then
4375 echo "$ac_t""yes" 1>&6
4377 echo "$ac_t""no" 1>&6
4381 echo $ac_n "checking for --enable-html""... $ac_c" 1>&6
4382 echo "configure:4383: checking for --enable-html" >&5
4384 # Check whether --enable-html or --disable-html was given.
4385 if test "${enable_html+set}" = set; then
4386 enableval
="$enable_html"
4388 if test "$enableval" = yes; then
4389 ac_cv_use_html
='wxUSE_HTML=yes'
4391 ac_cv_use_html
='wxUSE_HTML=no'
4396 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
4397 if test "x$LINE" != x
; then
4398 eval "DEFAULT_$LINE"
4403 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
4408 eval "$ac_cv_use_html"
4409 if test "$no_cache" != 1; then
4410 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
4413 if test "$wxUSE_HTML" = yes; then
4414 echo "$ac_t""yes" 1>&6
4416 echo "$ac_t""no" 1>&6
4420 echo $ac_n "checking for --enable-htmlhelp""... $ac_c" 1>&6
4421 echo "configure:4422: checking for --enable-htmlhelp" >&5
4423 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
4424 if test "${enable_htmlhelp+set}" = set; then
4425 enableval
="$enable_htmlhelp"
4427 if test "$enableval" = yes; then
4428 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
4430 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
4435 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
4436 if test "x$LINE" != x
; then
4437 eval "DEFAULT_$LINE"
4442 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
4447 eval "$ac_cv_use_htmlhelp"
4448 if test "$no_cache" != 1; then
4449 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
4452 if test "$wxUSE_WXHTML_HELP" = yes; then
4453 echo "$ac_t""yes" 1>&6
4455 echo "$ac_t""no" 1>&6
4459 echo $ac_n "checking for --enable-constraints""... $ac_c" 1>&6
4460 echo "configure:4461: checking for --enable-constraints" >&5
4462 # Check whether --enable-constraints or --disable-constraints was given.
4463 if test "${enable_constraints+set}" = set; then
4464 enableval
="$enable_constraints"
4466 if test "$enableval" = yes; then
4467 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
4469 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
4474 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
4475 if test "x$LINE" != x
; then
4476 eval "DEFAULT_$LINE"
4481 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
4486 eval "$ac_cv_use_constraints"
4487 if test "$no_cache" != 1; then
4488 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
4491 if test "$wxUSE_CONSTRAINTS" = yes; then
4492 echo "$ac_t""yes" 1>&6
4494 echo "$ac_t""no" 1>&6
4498 echo $ac_n "checking for --enable-printarch""... $ac_c" 1>&6
4499 echo "configure:4500: checking for --enable-printarch" >&5
4501 # Check whether --enable-printarch or --disable-printarch was given.
4502 if test "${enable_printarch+set}" = set; then
4503 enableval
="$enable_printarch"
4505 if test "$enableval" = yes; then
4506 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
4508 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
4513 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
4514 if test "x$LINE" != x
; then
4515 eval "DEFAULT_$LINE"
4520 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
4525 eval "$ac_cv_use_printarch"
4526 if test "$no_cache" != 1; then
4527 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
4530 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
4531 echo "$ac_t""yes" 1>&6
4533 echo "$ac_t""no" 1>&6
4537 echo $ac_n "checking for --enable-mdi""... $ac_c" 1>&6
4538 echo "configure:4539: checking for --enable-mdi" >&5
4540 # Check whether --enable-mdi or --disable-mdi was given.
4541 if test "${enable_mdi+set}" = set; then
4542 enableval
="$enable_mdi"
4544 if test "$enableval" = yes; then
4545 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=yes'
4547 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=no'
4552 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
4553 if test "x$LINE" != x
; then
4554 eval "DEFAULT_$LINE"
4559 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
4564 eval "$ac_cv_use_mdi"
4565 if test "$no_cache" != 1; then
4566 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
4569 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
4570 echo "$ac_t""yes" 1>&6
4572 echo "$ac_t""no" 1>&6
4576 echo $ac_n "checking for --enable-loggui""... $ac_c" 1>&6
4577 echo "configure:4578: checking for --enable-loggui" >&5
4579 # Check whether --enable-loggui or --disable-loggui was given.
4580 if test "${enable_loggui+set}" = set; then
4581 enableval
="$enable_loggui"
4583 if test "$enableval" = yes; then
4584 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
4586 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
4591 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
4592 if test "x$LINE" != x
; then
4593 eval "DEFAULT_$LINE"
4598 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
4603 eval "$ac_cv_use_loggui"
4604 if test "$no_cache" != 1; then
4605 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
4608 if test "$wxUSE_LOGGUI" = yes; then
4609 echo "$ac_t""yes" 1>&6
4611 echo "$ac_t""no" 1>&6
4615 echo $ac_n "checking for --enable-logwin""... $ac_c" 1>&6
4616 echo "configure:4617: checking for --enable-logwin" >&5
4618 # Check whether --enable-logwin or --disable-logwin was given.
4619 if test "${enable_logwin+set}" = set; then
4620 enableval
="$enable_logwin"
4622 if test "$enableval" = yes; then
4623 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
4625 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
4630 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
4631 if test "x$LINE" != x
; then
4632 eval "DEFAULT_$LINE"
4637 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
4642 eval "$ac_cv_use_logwin"
4643 if test "$no_cache" != 1; then
4644 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
4647 if test "$wxUSE_LOGWINDOW" = yes; then
4648 echo "$ac_t""yes" 1>&6
4650 echo "$ac_t""no" 1>&6
4655 echo $ac_n "checking for --enable-postscript""... $ac_c" 1>&6
4656 echo "configure:4657: checking for --enable-postscript" >&5
4658 # Check whether --enable-postscript or --disable-postscript was given.
4659 if test "${enable_postscript+set}" = set; then
4660 enableval
="$enable_postscript"
4662 if test "$enableval" = yes; then
4663 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
4665 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
4670 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
4671 if test "x$LINE" != x
; then
4672 eval "DEFAULT_$LINE"
4677 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
4682 eval "$ac_cv_use_postscript"
4683 if test "$no_cache" != 1; then
4684 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
4687 if test "$wxUSE_POSTSCRIPT" = yes; then
4688 echo "$ac_t""yes" 1>&6
4690 echo "$ac_t""no" 1>&6
4697 echo $ac_n "checking for --enable-prologio""... $ac_c" 1>&6
4698 echo "configure:4699: checking for --enable-prologio" >&5
4700 # Check whether --enable-prologio or --disable-prologio was given.
4701 if test "${enable_prologio+set}" = set; then
4702 enableval
="$enable_prologio"
4704 if test "$enableval" = yes; then
4705 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
4707 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
4712 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
4713 if test "x$LINE" != x
; then
4714 eval "DEFAULT_$LINE"
4719 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
4724 eval "$ac_cv_use_prologio"
4725 if test "$no_cache" != 1; then
4726 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
4729 if test "$wxUSE_PROLOGIO" = yes; then
4730 echo "$ac_t""yes" 1>&6
4732 echo "$ac_t""no" 1>&6
4736 echo $ac_n "checking for --enable-resources""... $ac_c" 1>&6
4737 echo "configure:4738: checking for --enable-resources" >&5
4739 # Check whether --enable-resources or --disable-resources was given.
4740 if test "${enable_resources+set}" = set; then
4741 enableval
="$enable_resources"
4743 if test "$enableval" = yes; then
4744 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
4746 ac_cv_use_resources
='wxUSE_RESOURCES=no'
4751 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
4752 if test "x$LINE" != x
; then
4753 eval "DEFAULT_$LINE"
4758 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
4763 eval "$ac_cv_use_resources"
4764 if test "$no_cache" != 1; then
4765 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
4768 if test "$wxUSE_RESOURCES" = yes; then
4769 echo "$ac_t""yes" 1>&6
4771 echo "$ac_t""no" 1>&6
4776 echo $ac_n "checking for --enable-xresources""... $ac_c" 1>&6
4777 echo "configure:4778: checking for --enable-xresources" >&5
4779 # Check whether --enable-xresources or --disable-xresources was given.
4780 if test "${enable_xresources+set}" = set; then
4781 enableval
="$enable_xresources"
4783 if test "$enableval" = yes; then
4784 ac_cv_use_xresources
='wxUSE_X_RESOURCES=yes'
4786 ac_cv_use_xresources
='wxUSE_X_RESOURCES=no'
4791 LINE
=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
4792 if test "x$LINE" != x
; then
4793 eval "DEFAULT_$LINE"
4798 ac_cv_use_xresources
='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
4803 eval "$ac_cv_use_xresources"
4804 if test "$no_cache" != 1; then
4805 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
4808 if test "$wxUSE_X_RESOURCES" = yes; then
4809 echo "$ac_t""yes" 1>&6
4811 echo "$ac_t""no" 1>&6
4817 echo $ac_n "checking for --enable-clipboard""... $ac_c" 1>&6
4818 echo "configure:4819: checking for --enable-clipboard" >&5
4820 # Check whether --enable-clipboard or --disable-clipboard was given.
4821 if test "${enable_clipboard+set}" = set; then
4822 enableval
="$enable_clipboard"
4824 if test "$enableval" = yes; then
4825 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
4827 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
4832 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
4833 if test "x$LINE" != x
; then
4834 eval "DEFAULT_$LINE"
4839 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
4844 eval "$ac_cv_use_clipboard"
4845 if test "$no_cache" != 1; then
4846 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
4849 if test "$wxUSE_CLIPBOARD" = yes; then
4850 echo "$ac_t""yes" 1>&6
4852 echo "$ac_t""no" 1>&6
4856 echo $ac_n "checking for --enable-dnd""... $ac_c" 1>&6
4857 echo "configure:4858: checking for --enable-dnd" >&5
4859 # Check whether --enable-dnd or --disable-dnd was given.
4860 if test "${enable_dnd+set}" = set; then
4861 enableval
="$enable_dnd"
4863 if test "$enableval" = yes; then
4864 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
4866 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
4871 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
4872 if test "x$LINE" != x
; then
4873 eval "DEFAULT_$LINE"
4878 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
4883 eval "$ac_cv_use_dnd"
4884 if test "$no_cache" != 1; then
4885 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
4888 if test "$wxUSE_DRAG_AND_DROP" = yes; then
4889 echo "$ac_t""yes" 1>&6
4891 echo "$ac_t""no" 1>&6
4895 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
4896 echo "configure:4897: checking for --enable-metafile" >&5
4898 # Check whether --enable-metafile or --disable-metafile was given.
4899 if test "${enable_metafile+set}" = set; then
4900 enableval
="$enable_metafile"
4902 if test "$enableval" = yes; then
4903 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
4905 ac_cv_use_metafile
='wxUSE_METAFILE=no'
4910 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
4911 if test "x$LINE" != x
; then
4912 eval "DEFAULT_$LINE"
4917 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
4922 eval "$ac_cv_use_metafile"
4923 if test "$no_cache" != 1; then
4924 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
4927 if test "$wxUSE_METAFILE" = yes; then
4928 echo "$ac_t""yes" 1>&6
4930 echo "$ac_t""no" 1>&6
4935 echo $ac_n "checking for --enable-treelayout""... $ac_c" 1>&6
4936 echo "configure:4937: checking for --enable-treelayout" >&5
4938 # Check whether --enable-treelayout or --disable-treelayout was given.
4939 if test "${enable_treelayout+set}" = set; then
4940 enableval
="$enable_treelayout"
4942 if test "$enableval" = yes; then
4943 ac_cv_use_treelayout
='wxUSE_TREELAYOUT=yes'
4945 ac_cv_use_treelayout
='wxUSE_TREELAYOUT=no'
4950 LINE
=`grep "wxUSE_TREELAYOUT" ${wx_arg_cache_file}`
4951 if test "x$LINE" != x
; then
4952 eval "DEFAULT_$LINE"
4957 ac_cv_use_treelayout
='wxUSE_TREELAYOUT='$DEFAULT_wxUSE_TREELAYOUT
4962 eval "$ac_cv_use_treelayout"
4963 if test "$no_cache" != 1; then
4964 echo $ac_cv_use_treelayout >> ${wx_arg_cache_file}.tmp
4967 if test "$wxUSE_TREELAYOUT" = yes; then
4968 echo "$ac_t""yes" 1>&6
4970 echo "$ac_t""no" 1>&6
4976 echo $ac_n "checking for --enable-controls""... $ac_c" 1>&6
4977 echo "configure:4978: checking for --enable-controls" >&5
4979 # Check whether --enable-controls or --disable-controls was given.
4980 if test "${enable_controls+set}" = set; then
4981 enableval
="$enable_controls"
4983 if test "$enableval" = yes; then
4984 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
4986 ac_cv_use_controls
='wxUSE_CONTROLS=no'
4991 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
4992 if test "x$LINE" != x
; then
4993 eval "DEFAULT_$LINE"
4998 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
5003 eval "$ac_cv_use_controls"
5004 if test "$no_cache" != 1; then
5005 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
5008 if test "$wxUSE_CONTROLS" = yes; then
5009 echo "$ac_t""yes" 1>&6
5011 echo "$ac_t""no" 1>&6
5015 if test "$wxUSE_CONTROLS" = "yes"; then
5016 DEFAULT_wxUSE_ACCEL
=yes
5017 DEFAULT_wxUSE_BMPBUTTON
=yes
5018 DEFAULT_wxUSE_BUTTON
=yes
5019 DEFAULT_wxUSE_CALCTRL
=no
5020 DEFAULT_wxUSE_CARET
=yes
5021 DEFAULT_wxUSE_COMBOBOX
=yes
5022 DEFAULT_wxUSE_CHECKBOX
=yes
5023 DEFAULT_wxUSE_CHECKLISTBOX
=yes
5024 DEFAULT_wxUSE_CHOICE
=yes
5025 DEFAULT_wxUSE_GAUGE
=yes
5026 DEFAULT_wxUSE_GRID
=yes
5027 DEFAULT_wxUSE_NEW_GRID
=yes
5028 DEFAULT_wxUSE_IMAGLIST
=yes
5029 DEFAULT_wxUSE_LISTBOX
=yes
5030 DEFAULT_wxUSE_LISTCTRL
=yes
5031 DEFAULT_wxUSE_NOTEBOOK
=yes
5032 DEFAULT_wxUSE_PROPSHEET
=yes
5033 DEFAULT_wxUSE_RADIOBOX
=yes
5034 DEFAULT_wxUSE_RADIOBTN
=yes
5035 DEFAULT_wxUSE_SASH
=yes
5036 DEFAULT_wxUSE_SCROLLBAR
=yes
5037 DEFAULT_wxUSE_SLIDER
=yes
5038 DEFAULT_wxUSE_SPINBTN
=yes
5039 DEFAULT_wxUSE_SPINCTRL
=yes
5040 DEFAULT_wxUSE_SPLITTER
=yes
5041 DEFAULT_wxUSE_STATBMP
=yes
5042 DEFAULT_wxUSE_STATBOX
=yes
5043 DEFAULT_wxUSE_STATLINE
=yes
5044 DEFAULT_wxUSE_STATUSBAR
=yes
5045 DEFAULT_wxUSE_TAB_DIALOG
=yes
5046 DEFAULT_wxUSE_TOGGLEBTN
=yes
5047 DEFAULT_wxUSE_TOOLBAR
=yes
5048 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
5049 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
5050 DEFAULT_wxUSE_TOOLTIPS
=yes
5051 DEFAULT_wxUSE_TREECTRL
=yes
5052 DEFAULT_wxUSE_POPUPWIN
=yes
5053 elif test "$wxUSE_CONTROLS" = "no"; then
5054 DEFAULT_wxUSE_ACCEL
=no
5055 DEFAULT_wxUSE_BMPBUTTON
=no
5056 DEFAULT_wxUSE_BUTTON
=no
5057 DEFAULT_wxUSE_CALCTRL
=no
5058 DEFAULT_wxUSE_CARET
=no
5059 DEFAULT_wxUSE_COMBOBOX
=no
5060 DEFAULT_wxUSE_CHECKBOX
=no
5061 DEFAULT_wxUSE_CHECKLISTBOX
=no
5062 DEFAULT_wxUSE_CHOICE
=no
5063 DEFAULT_wxUSE_GAUGE
=no
5064 DEFAULT_wxUSE_GRID
=no
5065 DEFAULT_wxUSE_NEW_GRID
=no
5066 DEFAULT_wxUSE_IMAGLIST
=no
5067 DEFAULT_wxUSE_LISTBOX
=no
5068 DEFAULT_wxUSE_LISTCTRL
=no
5069 DEFAULT_wxUSE_NOTEBOOK
=no
5070 DEFAULT_wxUSE_PROPSHEET
=no
5071 DEFAULT_wxUSE_RADIOBOX
=no
5072 DEFAULT_wxUSE_RADIOBTN
=no
5073 DEFAULT_wxUSE_SASH
=no
5074 DEFAULT_wxUSE_SCROLLBAR
=no
5075 DEFAULT_wxUSE_SLIDER
=no
5076 DEFAULT_wxUSE_SPINBTN
=no
5077 DEFAULT_wxUSE_SPINCTRL
=no
5078 DEFAULT_wxUSE_SPLITTER
=no
5079 DEFAULT_wxUSE_STATBMP
=no
5080 DEFAULT_wxUSE_STATBOX
=no
5081 DEFAULT_wxUSE_STATLINE
=no
5082 DEFAULT_wxUSE_STATUSBAR
=no
5083 DEFAULT_wxUSE_TAB_DIALOG
=no
5084 DEFAULT_wxUSE_TOGGLEBTN
=no
5085 DEFAULT_wxUSE_TOOLBAR
=no
5086 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
5087 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
5088 DEFAULT_wxUSE_TOOLTIPS
=no
5089 DEFAULT_wxUSE_TREECTRL
=no
5090 DEFAULT_wxUSE_POPUPWIN
=no
5094 echo $ac_n "checking for --enable-accel""... $ac_c" 1>&6
5095 echo "configure:5096: checking for --enable-accel" >&5
5097 # Check whether --enable-accel or --disable-accel was given.
5098 if test "${enable_accel+set}" = set; then
5099 enableval
="$enable_accel"
5101 if test "$enableval" = yes; then
5102 ac_cv_use_accel
='wxUSE_ACCEL=yes'
5104 ac_cv_use_accel
='wxUSE_ACCEL=no'
5109 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
5110 if test "x$LINE" != x
; then
5111 eval "DEFAULT_$LINE"
5116 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
5121 eval "$ac_cv_use_accel"
5122 if test "$no_cache" != 1; then
5123 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
5126 if test "$wxUSE_ACCEL" = yes; then
5127 echo "$ac_t""yes" 1>&6
5129 echo "$ac_t""no" 1>&6
5133 echo $ac_n "checking for --enable-button""... $ac_c" 1>&6
5134 echo "configure:5135: checking for --enable-button" >&5
5136 # Check whether --enable-button or --disable-button was given.
5137 if test "${enable_button+set}" = set; then
5138 enableval
="$enable_button"
5140 if test "$enableval" = yes; then
5141 ac_cv_use_button
='wxUSE_BUTTON=yes'
5143 ac_cv_use_button
='wxUSE_BUTTON=no'
5148 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
5149 if test "x$LINE" != x
; then
5150 eval "DEFAULT_$LINE"
5155 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
5160 eval "$ac_cv_use_button"
5161 if test "$no_cache" != 1; then
5162 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
5165 if test "$wxUSE_BUTTON" = yes; then
5166 echo "$ac_t""yes" 1>&6
5168 echo "$ac_t""no" 1>&6
5172 echo $ac_n "checking for --enable-bmpbutton""... $ac_c" 1>&6
5173 echo "configure:5174: checking for --enable-bmpbutton" >&5
5175 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
5176 if test "${enable_bmpbutton+set}" = set; then
5177 enableval
="$enable_bmpbutton"
5179 if test "$enableval" = yes; then
5180 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
5182 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
5187 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
5188 if test "x$LINE" != x
; then
5189 eval "DEFAULT_$LINE"
5194 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
5199 eval "$ac_cv_use_bmpbutton"
5200 if test "$no_cache" != 1; then
5201 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
5204 if test "$wxUSE_BMPBUTTON" = yes; then
5205 echo "$ac_t""yes" 1>&6
5207 echo "$ac_t""no" 1>&6
5211 echo $ac_n "checking for --enable-calendar""... $ac_c" 1>&6
5212 echo "configure:5213: checking for --enable-calendar" >&5
5214 # Check whether --enable-calendar or --disable-calendar was given.
5215 if test "${enable_calendar+set}" = set; then
5216 enableval
="$enable_calendar"
5218 if test "$enableval" = yes; then
5219 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
5221 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
5226 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
5227 if test "x$LINE" != x
; then
5228 eval "DEFAULT_$LINE"
5233 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
5238 eval "$ac_cv_use_calendar"
5239 if test "$no_cache" != 1; then
5240 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
5243 if test "$wxUSE_CALCTRL" = yes; then
5244 echo "$ac_t""yes" 1>&6
5246 echo "$ac_t""no" 1>&6
5250 echo $ac_n "checking for --enable-caret""... $ac_c" 1>&6
5251 echo "configure:5252: checking for --enable-caret" >&5
5253 # Check whether --enable-caret or --disable-caret was given.
5254 if test "${enable_caret+set}" = set; then
5255 enableval
="$enable_caret"
5257 if test "$enableval" = yes; then
5258 ac_cv_use_caret
='wxUSE_CARET=yes'
5260 ac_cv_use_caret
='wxUSE_CARET=no'
5265 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
5266 if test "x$LINE" != x
; then
5267 eval "DEFAULT_$LINE"
5272 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
5277 eval "$ac_cv_use_caret"
5278 if test "$no_cache" != 1; then
5279 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
5282 if test "$wxUSE_CARET" = yes; then
5283 echo "$ac_t""yes" 1>&6
5285 echo "$ac_t""no" 1>&6
5289 echo $ac_n "checking for --enable-checkbox""... $ac_c" 1>&6
5290 echo "configure:5291: checking for --enable-checkbox" >&5
5292 # Check whether --enable-checkbox or --disable-checkbox was given.
5293 if test "${enable_checkbox+set}" = set; then
5294 enableval
="$enable_checkbox"
5296 if test "$enableval" = yes; then
5297 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
5299 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
5304 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
5305 if test "x$LINE" != x
; then
5306 eval "DEFAULT_$LINE"
5311 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
5316 eval "$ac_cv_use_checkbox"
5317 if test "$no_cache" != 1; then
5318 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
5321 if test "$wxUSE_CHECKBOX" = yes; then
5322 echo "$ac_t""yes" 1>&6
5324 echo "$ac_t""no" 1>&6
5328 echo $ac_n "checking for --enable-checklst""... $ac_c" 1>&6
5329 echo "configure:5330: checking for --enable-checklst" >&5
5331 # Check whether --enable-checklst or --disable-checklst was given.
5332 if test "${enable_checklst+set}" = set; then
5333 enableval
="$enable_checklst"
5335 if test "$enableval" = yes; then
5336 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
5338 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
5343 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
5344 if test "x$LINE" != x
; then
5345 eval "DEFAULT_$LINE"
5350 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
5355 eval "$ac_cv_use_checklst"
5356 if test "$no_cache" != 1; then
5357 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
5360 if test "$wxUSE_CHECKLST" = yes; then
5361 echo "$ac_t""yes" 1>&6
5363 echo "$ac_t""no" 1>&6
5367 echo $ac_n "checking for --enable-choice""... $ac_c" 1>&6
5368 echo "configure:5369: checking for --enable-choice" >&5
5370 # Check whether --enable-choice or --disable-choice was given.
5371 if test "${enable_choice+set}" = set; then
5372 enableval
="$enable_choice"
5374 if test "$enableval" = yes; then
5375 ac_cv_use_choice
='wxUSE_CHOICE=yes'
5377 ac_cv_use_choice
='wxUSE_CHOICE=no'
5382 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
5383 if test "x$LINE" != x
; then
5384 eval "DEFAULT_$LINE"
5389 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
5394 eval "$ac_cv_use_choice"
5395 if test "$no_cache" != 1; then
5396 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
5399 if test "$wxUSE_CHOICE" = yes; then
5400 echo "$ac_t""yes" 1>&6
5402 echo "$ac_t""no" 1>&6
5406 echo $ac_n "checking for --enable-combobox""... $ac_c" 1>&6
5407 echo "configure:5408: checking for --enable-combobox" >&5
5409 # Check whether --enable-combobox or --disable-combobox was given.
5410 if test "${enable_combobox+set}" = set; then
5411 enableval
="$enable_combobox"
5413 if test "$enableval" = yes; then
5414 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
5416 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
5421 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
5422 if test "x$LINE" != x
; then
5423 eval "DEFAULT_$LINE"
5428 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
5433 eval "$ac_cv_use_combobox"
5434 if test "$no_cache" != 1; then
5435 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
5438 if test "$wxUSE_COMBOBOX" = yes; then
5439 echo "$ac_t""yes" 1>&6
5441 echo "$ac_t""no" 1>&6
5445 echo $ac_n "checking for --enable-gauge""... $ac_c" 1>&6
5446 echo "configure:5447: checking for --enable-gauge" >&5
5448 # Check whether --enable-gauge or --disable-gauge was given.
5449 if test "${enable_gauge+set}" = set; then
5450 enableval
="$enable_gauge"
5452 if test "$enableval" = yes; then
5453 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
5455 ac_cv_use_gauge
='wxUSE_GAUGE=no'
5460 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
5461 if test "x$LINE" != x
; then
5462 eval "DEFAULT_$LINE"
5467 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
5472 eval "$ac_cv_use_gauge"
5473 if test "$no_cache" != 1; then
5474 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
5477 if test "$wxUSE_GAUGE" = yes; then
5478 echo "$ac_t""yes" 1>&6
5480 echo "$ac_t""no" 1>&6
5484 echo $ac_n "checking for --enable-grid""... $ac_c" 1>&6
5485 echo "configure:5486: checking for --enable-grid" >&5
5487 # Check whether --enable-grid or --disable-grid was given.
5488 if test "${enable_grid+set}" = set; then
5489 enableval
="$enable_grid"
5491 if test "$enableval" = yes; then
5492 ac_cv_use_grid
='wxUSE_GRID=yes'
5494 ac_cv_use_grid
='wxUSE_GRID=no'
5499 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
5500 if test "x$LINE" != x
; then
5501 eval "DEFAULT_$LINE"
5506 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
5511 eval "$ac_cv_use_grid"
5512 if test "$no_cache" != 1; then
5513 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
5516 if test "$wxUSE_GRID" = yes; then
5517 echo "$ac_t""yes" 1>&6
5519 echo "$ac_t""no" 1>&6
5523 echo $ac_n "checking for --enable-newgrid""... $ac_c" 1>&6
5524 echo "configure:5525: checking for --enable-newgrid" >&5
5526 # Check whether --enable-newgrid or --disable-newgrid was given.
5527 if test "${enable_newgrid+set}" = set; then
5528 enableval
="$enable_newgrid"
5530 if test "$enableval" = yes; then
5531 ac_cv_use_newgrid
='wxUSE_NEW_GRID=yes'
5533 ac_cv_use_newgrid
='wxUSE_NEW_GRID=no'
5538 LINE
=`grep "wxUSE_NEW_GRID" ${wx_arg_cache_file}`
5539 if test "x$LINE" != x
; then
5540 eval "DEFAULT_$LINE"
5545 ac_cv_use_newgrid
='wxUSE_NEW_GRID='$DEFAULT_wxUSE_NEW_GRID
5550 eval "$ac_cv_use_newgrid"
5551 if test "$no_cache" != 1; then
5552 echo $ac_cv_use_newgrid >> ${wx_arg_cache_file}.tmp
5555 if test "$wxUSE_NEW_GRID" = yes; then
5556 echo "$ac_t""yes" 1>&6
5558 echo "$ac_t""no" 1>&6
5562 echo $ac_n "checking for --enable-imaglist""... $ac_c" 1>&6
5563 echo "configure:5564: checking for --enable-imaglist" >&5
5565 # Check whether --enable-imaglist or --disable-imaglist was given.
5566 if test "${enable_imaglist+set}" = set; then
5567 enableval
="$enable_imaglist"
5569 if test "$enableval" = yes; then
5570 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
5572 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
5577 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
5578 if test "x$LINE" != x
; then
5579 eval "DEFAULT_$LINE"
5584 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
5589 eval "$ac_cv_use_imaglist"
5590 if test "$no_cache" != 1; then
5591 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
5594 if test "$wxUSE_IMAGLIST" = yes; then
5595 echo "$ac_t""yes" 1>&6
5597 echo "$ac_t""no" 1>&6
5601 echo $ac_n "checking for --enable-listbox""... $ac_c" 1>&6
5602 echo "configure:5603: checking for --enable-listbox" >&5
5604 # Check whether --enable-listbox or --disable-listbox was given.
5605 if test "${enable_listbox+set}" = set; then
5606 enableval
="$enable_listbox"
5608 if test "$enableval" = yes; then
5609 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
5611 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
5616 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
5617 if test "x$LINE" != x
; then
5618 eval "DEFAULT_$LINE"
5623 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
5628 eval "$ac_cv_use_listbox"
5629 if test "$no_cache" != 1; then
5630 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
5633 if test "$wxUSE_LISTBOX" = yes; then
5634 echo "$ac_t""yes" 1>&6
5636 echo "$ac_t""no" 1>&6
5640 echo $ac_n "checking for --enable-listctrl""... $ac_c" 1>&6
5641 echo "configure:5642: checking for --enable-listctrl" >&5
5643 # Check whether --enable-listctrl or --disable-listctrl was given.
5644 if test "${enable_listctrl+set}" = set; then
5645 enableval
="$enable_listctrl"
5647 if test "$enableval" = yes; then
5648 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
5650 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
5655 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
5656 if test "x$LINE" != x
; then
5657 eval "DEFAULT_$LINE"
5662 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
5667 eval "$ac_cv_use_listctrl"
5668 if test "$no_cache" != 1; then
5669 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
5672 if test "$wxUSE_LISTCTRL" = yes; then
5673 echo "$ac_t""yes" 1>&6
5675 echo "$ac_t""no" 1>&6
5679 echo $ac_n "checking for --enable-notebook""... $ac_c" 1>&6
5680 echo "configure:5681: checking for --enable-notebook" >&5
5682 # Check whether --enable-notebook or --disable-notebook was given.
5683 if test "${enable_notebook+set}" = set; then
5684 enableval
="$enable_notebook"
5686 if test "$enableval" = yes; then
5687 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
5689 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
5694 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
5695 if test "x$LINE" != x
; then
5696 eval "DEFAULT_$LINE"
5701 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
5706 eval "$ac_cv_use_notebook"
5707 if test "$no_cache" != 1; then
5708 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
5711 if test "$wxUSE_NOTEBOOK" = yes; then
5712 echo "$ac_t""yes" 1>&6
5714 echo "$ac_t""no" 1>&6
5718 echo $ac_n "checking for --enable-propsheet""... $ac_c" 1>&6
5719 echo "configure:5720: checking for --enable-propsheet" >&5
5721 # Check whether --enable-propsheet or --disable-propsheet was given.
5722 if test "${enable_propsheet+set}" = set; then
5723 enableval
="$enable_propsheet"
5725 if test "$enableval" = yes; then
5726 ac_cv_use_propsheet
='wxUSE_PROPSHEET=yes'
5728 ac_cv_use_propsheet
='wxUSE_PROPSHEET=no'
5733 LINE
=`grep "wxUSE_PROPSHEET" ${wx_arg_cache_file}`
5734 if test "x$LINE" != x
; then
5735 eval "DEFAULT_$LINE"
5740 ac_cv_use_propsheet
='wxUSE_PROPSHEET='$DEFAULT_wxUSE_PROPSHEET
5745 eval "$ac_cv_use_propsheet"
5746 if test "$no_cache" != 1; then
5747 echo $ac_cv_use_propsheet >> ${wx_arg_cache_file}.tmp
5750 if test "$wxUSE_PROPSHEET" = yes; then
5751 echo "$ac_t""yes" 1>&6
5753 echo "$ac_t""no" 1>&6
5757 echo $ac_n "checking for --enable-radiobox""... $ac_c" 1>&6
5758 echo "configure:5759: checking for --enable-radiobox" >&5
5760 # Check whether --enable-radiobox or --disable-radiobox was given.
5761 if test "${enable_radiobox+set}" = set; then
5762 enableval
="$enable_radiobox"
5764 if test "$enableval" = yes; then
5765 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
5767 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
5772 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
5773 if test "x$LINE" != x
; then
5774 eval "DEFAULT_$LINE"
5779 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
5784 eval "$ac_cv_use_radiobox"
5785 if test "$no_cache" != 1; then
5786 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
5789 if test "$wxUSE_RADIOBOX" = yes; then
5790 echo "$ac_t""yes" 1>&6
5792 echo "$ac_t""no" 1>&6
5796 echo $ac_n "checking for --enable-radiobtn""... $ac_c" 1>&6
5797 echo "configure:5798: checking for --enable-radiobtn" >&5
5799 # Check whether --enable-radiobtn or --disable-radiobtn was given.
5800 if test "${enable_radiobtn+set}" = set; then
5801 enableval
="$enable_radiobtn"
5803 if test "$enableval" = yes; then
5804 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
5806 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
5811 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
5812 if test "x$LINE" != x
; then
5813 eval "DEFAULT_$LINE"
5818 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
5823 eval "$ac_cv_use_radiobtn"
5824 if test "$no_cache" != 1; then
5825 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
5828 if test "$wxUSE_RADIOBTN" = yes; then
5829 echo "$ac_t""yes" 1>&6
5831 echo "$ac_t""no" 1>&6
5835 echo $ac_n "checking for --enable-sash""... $ac_c" 1>&6
5836 echo "configure:5837: checking for --enable-sash" >&5
5838 # Check whether --enable-sash or --disable-sash was given.
5839 if test "${enable_sash+set}" = set; then
5840 enableval
="$enable_sash"
5842 if test "$enableval" = yes; then
5843 ac_cv_use_sash
='wxUSE_SASH=yes'
5845 ac_cv_use_sash
='wxUSE_SASH=no'
5850 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
5851 if test "x$LINE" != x
; then
5852 eval "DEFAULT_$LINE"
5857 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
5862 eval "$ac_cv_use_sash"
5863 if test "$no_cache" != 1; then
5864 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
5867 if test "$wxUSE_SASH" = yes; then
5868 echo "$ac_t""yes" 1>&6
5870 echo "$ac_t""no" 1>&6
5874 echo $ac_n "checking for --enable-scrollbar""... $ac_c" 1>&6
5875 echo "configure:5876: checking for --enable-scrollbar" >&5
5877 # Check whether --enable-scrollbar or --disable-scrollbar was given.
5878 if test "${enable_scrollbar+set}" = set; then
5879 enableval
="$enable_scrollbar"
5881 if test "$enableval" = yes; then
5882 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
5884 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
5889 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
5890 if test "x$LINE" != x
; then
5891 eval "DEFAULT_$LINE"
5896 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
5901 eval "$ac_cv_use_scrollbar"
5902 if test "$no_cache" != 1; then
5903 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
5906 if test "$wxUSE_SCROLLBAR" = yes; then
5907 echo "$ac_t""yes" 1>&6
5909 echo "$ac_t""no" 1>&6
5913 echo $ac_n "checking for --enable-slider""... $ac_c" 1>&6
5914 echo "configure:5915: checking for --enable-slider" >&5
5916 # Check whether --enable-slider or --disable-slider was given.
5917 if test "${enable_slider+set}" = set; then
5918 enableval
="$enable_slider"
5920 if test "$enableval" = yes; then
5921 ac_cv_use_slider
='wxUSE_SLIDER=yes'
5923 ac_cv_use_slider
='wxUSE_SLIDER=no'
5928 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
5929 if test "x$LINE" != x
; then
5930 eval "DEFAULT_$LINE"
5935 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
5940 eval "$ac_cv_use_slider"
5941 if test "$no_cache" != 1; then
5942 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
5945 if test "$wxUSE_SLIDER" = yes; then
5946 echo "$ac_t""yes" 1>&6
5948 echo "$ac_t""no" 1>&6
5952 echo $ac_n "checking for --enable-spinbtn""... $ac_c" 1>&6
5953 echo "configure:5954: checking for --enable-spinbtn" >&5
5955 # Check whether --enable-spinbtn or --disable-spinbtn was given.
5956 if test "${enable_spinbtn+set}" = set; then
5957 enableval
="$enable_spinbtn"
5959 if test "$enableval" = yes; then
5960 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
5962 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
5967 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
5968 if test "x$LINE" != x
; then
5969 eval "DEFAULT_$LINE"
5974 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
5979 eval "$ac_cv_use_spinbtn"
5980 if test "$no_cache" != 1; then
5981 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
5984 if test "$wxUSE_SPINBTN" = yes; then
5985 echo "$ac_t""yes" 1>&6
5987 echo "$ac_t""no" 1>&6
5991 echo $ac_n "checking for --enable-spinctrl""... $ac_c" 1>&6
5992 echo "configure:5993: checking for --enable-spinctrl" >&5
5994 # Check whether --enable-spinctrl or --disable-spinctrl was given.
5995 if test "${enable_spinctrl+set}" = set; then
5996 enableval
="$enable_spinctrl"
5998 if test "$enableval" = yes; then
5999 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
6001 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
6006 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
6007 if test "x$LINE" != x
; then
6008 eval "DEFAULT_$LINE"
6013 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
6018 eval "$ac_cv_use_spinctrl"
6019 if test "$no_cache" != 1; then
6020 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
6023 if test "$wxUSE_SPINCTRL" = yes; then
6024 echo "$ac_t""yes" 1>&6
6026 echo "$ac_t""no" 1>&6
6030 echo $ac_n "checking for --enable-splitter""... $ac_c" 1>&6
6031 echo "configure:6032: checking for --enable-splitter" >&5
6033 # Check whether --enable-splitter or --disable-splitter was given.
6034 if test "${enable_splitter+set}" = set; then
6035 enableval
="$enable_splitter"
6037 if test "$enableval" = yes; then
6038 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
6040 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
6045 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
6046 if test "x$LINE" != x
; then
6047 eval "DEFAULT_$LINE"
6052 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
6057 eval "$ac_cv_use_splitter"
6058 if test "$no_cache" != 1; then
6059 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
6062 if test "$wxUSE_SPLITTER" = yes; then
6063 echo "$ac_t""yes" 1>&6
6065 echo "$ac_t""no" 1>&6
6069 echo $ac_n "checking for --enable-statbmp""... $ac_c" 1>&6
6070 echo "configure:6071: checking for --enable-statbmp" >&5
6072 # Check whether --enable-statbmp or --disable-statbmp was given.
6073 if test "${enable_statbmp+set}" = set; then
6074 enableval
="$enable_statbmp"
6076 if test "$enableval" = yes; then
6077 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
6079 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
6084 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
6085 if test "x$LINE" != x
; then
6086 eval "DEFAULT_$LINE"
6091 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
6096 eval "$ac_cv_use_statbmp"
6097 if test "$no_cache" != 1; then
6098 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
6101 if test "$wxUSE_STATBMP" = yes; then
6102 echo "$ac_t""yes" 1>&6
6104 echo "$ac_t""no" 1>&6
6108 echo $ac_n "checking for --enable-statbox""... $ac_c" 1>&6
6109 echo "configure:6110: checking for --enable-statbox" >&5
6111 # Check whether --enable-statbox or --disable-statbox was given.
6112 if test "${enable_statbox+set}" = set; then
6113 enableval
="$enable_statbox"
6115 if test "$enableval" = yes; then
6116 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
6118 ac_cv_use_statbox
='wxUSE_STATBOX=no'
6123 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
6124 if test "x$LINE" != x
; then
6125 eval "DEFAULT_$LINE"
6130 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
6135 eval "$ac_cv_use_statbox"
6136 if test "$no_cache" != 1; then
6137 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
6140 if test "$wxUSE_STATBOX" = yes; then
6141 echo "$ac_t""yes" 1>&6
6143 echo "$ac_t""no" 1>&6
6147 echo $ac_n "checking for --enable-statline""... $ac_c" 1>&6
6148 echo "configure:6149: checking for --enable-statline" >&5
6150 # Check whether --enable-statline or --disable-statline was given.
6151 if test "${enable_statline+set}" = set; then
6152 enableval
="$enable_statline"
6154 if test "$enableval" = yes; then
6155 ac_cv_use_statline
='wxUSE_STATLINE=yes'
6157 ac_cv_use_statline
='wxUSE_STATLINE=no'
6162 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
6163 if test "x$LINE" != x
; then
6164 eval "DEFAULT_$LINE"
6169 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
6174 eval "$ac_cv_use_statline"
6175 if test "$no_cache" != 1; then
6176 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
6179 if test "$wxUSE_STATLINE" = yes; then
6180 echo "$ac_t""yes" 1>&6
6182 echo "$ac_t""no" 1>&6
6186 echo $ac_n "checking for --enable-stattext""... $ac_c" 1>&6
6187 echo "configure:6188: checking for --enable-stattext" >&5
6189 # Check whether --enable-stattext or --disable-stattext was given.
6190 if test "${enable_stattext+set}" = set; then
6191 enableval
="$enable_stattext"
6193 if test "$enableval" = yes; then
6194 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
6196 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
6201 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
6202 if test "x$LINE" != x
; then
6203 eval "DEFAULT_$LINE"
6208 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
6213 eval "$ac_cv_use_stattext"
6214 if test "$no_cache" != 1; then
6215 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
6218 if test "$wxUSE_STATTEXT" = yes; then
6219 echo "$ac_t""yes" 1>&6
6221 echo "$ac_t""no" 1>&6
6225 echo $ac_n "checking for --enable-statusbar""... $ac_c" 1>&6
6226 echo "configure:6227: checking for --enable-statusbar" >&5
6228 # Check whether --enable-statusbar or --disable-statusbar was given.
6229 if test "${enable_statusbar+set}" = set; then
6230 enableval
="$enable_statusbar"
6232 if test "$enableval" = yes; then
6233 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
6235 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
6240 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
6241 if test "x$LINE" != x
; then
6242 eval "DEFAULT_$LINE"
6247 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
6252 eval "$ac_cv_use_statusbar"
6253 if test "$no_cache" != 1; then
6254 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
6257 if test "$wxUSE_STATUSBAR" = yes; then
6258 echo "$ac_t""yes" 1>&6
6260 echo "$ac_t""no" 1>&6
6264 echo $ac_n "checking for --enable-tabdialog""... $ac_c" 1>&6
6265 echo "configure:6266: checking for --enable-tabdialog" >&5
6267 # Check whether --enable-tabdialog or --disable-tabdialog was given.
6268 if test "${enable_tabdialog+set}" = set; then
6269 enableval
="$enable_tabdialog"
6271 if test "$enableval" = yes; then
6272 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
6274 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
6279 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
6280 if test "x$LINE" != x
; then
6281 eval "DEFAULT_$LINE"
6286 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
6291 eval "$ac_cv_use_tabdialog"
6292 if test "$no_cache" != 1; then
6293 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
6296 if test "$wxUSE_TABDIALOG" = yes; then
6297 echo "$ac_t""yes" 1>&6
6299 echo "$ac_t""no" 1>&6
6303 echo $ac_n "checking for --enable-textctrl""... $ac_c" 1>&6
6304 echo "configure:6305: checking for --enable-textctrl" >&5
6306 # Check whether --enable-textctrl or --disable-textctrl was given.
6307 if test "${enable_textctrl+set}" = set; then
6308 enableval
="$enable_textctrl"
6310 if test "$enableval" = yes; then
6311 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
6313 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
6318 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
6319 if test "x$LINE" != x
; then
6320 eval "DEFAULT_$LINE"
6325 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
6330 eval "$ac_cv_use_textctrl"
6331 if test "$no_cache" != 1; then
6332 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
6335 if test "$wxUSE_TEXTCTRL" = yes; then
6336 echo "$ac_t""yes" 1>&6
6338 echo "$ac_t""no" 1>&6
6342 echo $ac_n "checking for --enable-togglebtn""... $ac_c" 1>&6
6343 echo "configure:6344: checking for --enable-togglebtn" >&5
6345 # Check whether --enable-togglebtn or --disable-togglebtn was given.
6346 if test "${enable_togglebtn+set}" = set; then
6347 enableval
="$enable_togglebtn"
6349 if test "$enableval" = yes; then
6350 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
6352 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
6357 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
6358 if test "x$LINE" != x
; then
6359 eval "DEFAULT_$LINE"
6364 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
6369 eval "$ac_cv_use_togglebtn"
6370 if test "$no_cache" != 1; then
6371 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
6374 if test "$wxUSE_TOGGLEBTN" = yes; then
6375 echo "$ac_t""yes" 1>&6
6377 echo "$ac_t""no" 1>&6
6381 echo $ac_n "checking for --enable-toolbar""... $ac_c" 1>&6
6382 echo "configure:6383: checking for --enable-toolbar" >&5
6384 # Check whether --enable-toolbar or --disable-toolbar was given.
6385 if test "${enable_toolbar+set}" = set; then
6386 enableval
="$enable_toolbar"
6388 if test "$enableval" = yes; then
6389 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
6391 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
6396 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
6397 if test "x$LINE" != x
; then
6398 eval "DEFAULT_$LINE"
6403 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
6408 eval "$ac_cv_use_toolbar"
6409 if test "$no_cache" != 1; then
6410 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
6413 if test "$wxUSE_TOOLBAR" = yes; then
6414 echo "$ac_t""yes" 1>&6
6416 echo "$ac_t""no" 1>&6
6420 echo $ac_n "checking for --enable-tbarnative""... $ac_c" 1>&6
6421 echo "configure:6422: checking for --enable-tbarnative" >&5
6423 # Check whether --enable-tbarnative or --disable-tbarnative was given.
6424 if test "${enable_tbarnative+set}" = set; then
6425 enableval
="$enable_tbarnative"
6427 if test "$enableval" = yes; then
6428 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
6430 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
6435 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
6436 if test "x$LINE" != x
; then
6437 eval "DEFAULT_$LINE"
6442 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
6447 eval "$ac_cv_use_tbarnative"
6448 if test "$no_cache" != 1; then
6449 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
6452 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
6453 echo "$ac_t""yes" 1>&6
6455 echo "$ac_t""no" 1>&6
6459 echo $ac_n "checking for --enable-tbarsmpl""... $ac_c" 1>&6
6460 echo "configure:6461: checking for --enable-tbarsmpl" >&5
6462 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
6463 if test "${enable_tbarsmpl+set}" = set; then
6464 enableval
="$enable_tbarsmpl"
6466 if test "$enableval" = yes; then
6467 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
6469 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
6474 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
6475 if test "x$LINE" != x
; then
6476 eval "DEFAULT_$LINE"
6481 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
6486 eval "$ac_cv_use_tbarsmpl"
6487 if test "$no_cache" != 1; then
6488 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
6491 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
6492 echo "$ac_t""yes" 1>&6
6494 echo "$ac_t""no" 1>&6
6498 echo $ac_n "checking for --enable-treectrl""... $ac_c" 1>&6
6499 echo "configure:6500: checking for --enable-treectrl" >&5
6501 # Check whether --enable-treectrl or --disable-treectrl was given.
6502 if test "${enable_treectrl+set}" = set; then
6503 enableval
="$enable_treectrl"
6505 if test "$enableval" = yes; then
6506 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
6508 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
6513 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
6514 if test "x$LINE" != x
; then
6515 eval "DEFAULT_$LINE"
6520 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
6525 eval "$ac_cv_use_treectrl"
6526 if test "$no_cache" != 1; then
6527 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
6530 if test "$wxUSE_TREECTRL" = yes; then
6531 echo "$ac_t""yes" 1>&6
6533 echo "$ac_t""no" 1>&6
6537 echo $ac_n "checking for --enable-popupwin""... $ac_c" 1>&6
6538 echo "configure:6539: checking for --enable-popupwin" >&5
6540 # Check whether --enable-popupwin or --disable-popupwin was given.
6541 if test "${enable_popupwin+set}" = set; then
6542 enableval
="$enable_popupwin"
6544 if test "$enableval" = yes; then
6545 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
6547 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
6552 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
6553 if test "x$LINE" != x
; then
6554 eval "DEFAULT_$LINE"
6559 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
6564 eval "$ac_cv_use_popupwin"
6565 if test "$no_cache" != 1; then
6566 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
6569 if test "$wxUSE_POPUPWIN" = yes; then
6570 echo "$ac_t""yes" 1>&6
6572 echo "$ac_t""no" 1>&6
6578 echo $ac_n "checking for --enable-commondlg""... $ac_c" 1>&6
6579 echo "configure:6580: checking for --enable-commondlg" >&5
6581 # Check whether --enable-commondlg or --disable-commondlg was given.
6582 if test "${enable_commondlg+set}" = set; then
6583 enableval
="$enable_commondlg"
6585 if test "$enableval" = yes; then
6586 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
6588 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
6593 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
6594 if test "x$LINE" != x
; then
6595 eval "DEFAULT_$LINE"
6600 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
6605 eval "$ac_cv_use_commondlg"
6606 if test "$no_cache" != 1; then
6607 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
6610 if test "$wxUSE_COMMONDLGS" = yes; then
6611 echo "$ac_t""yes" 1>&6
6613 echo "$ac_t""no" 1>&6
6617 echo $ac_n "checking for --enable-choicedlg""... $ac_c" 1>&6
6618 echo "configure:6619: checking for --enable-choicedlg" >&5
6620 # Check whether --enable-choicedlg or --disable-choicedlg was given.
6621 if test "${enable_choicedlg+set}" = set; then
6622 enableval
="$enable_choicedlg"
6624 if test "$enableval" = yes; then
6625 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
6627 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
6632 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
6633 if test "x$LINE" != x
; then
6634 eval "DEFAULT_$LINE"
6639 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
6644 eval "$ac_cv_use_choicedlg"
6645 if test "$no_cache" != 1; then
6646 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
6649 if test "$wxUSE_CHOICEDLG" = yes; then
6650 echo "$ac_t""yes" 1>&6
6652 echo "$ac_t""no" 1>&6
6656 echo $ac_n "checking for --enable-coldlg""... $ac_c" 1>&6
6657 echo "configure:6658: checking for --enable-coldlg" >&5
6659 # Check whether --enable-coldlg or --disable-coldlg was given.
6660 if test "${enable_coldlg+set}" = set; then
6661 enableval
="$enable_coldlg"
6663 if test "$enableval" = yes; then
6664 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
6666 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
6671 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
6672 if test "x$LINE" != x
; then
6673 eval "DEFAULT_$LINE"
6678 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
6683 eval "$ac_cv_use_coldlg"
6684 if test "$no_cache" != 1; then
6685 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
6688 if test "$wxUSE_COLOURDLG" = yes; then
6689 echo "$ac_t""yes" 1>&6
6691 echo "$ac_t""no" 1>&6
6695 echo $ac_n "checking for --enable-filedlg""... $ac_c" 1>&6
6696 echo "configure:6697: checking for --enable-filedlg" >&5
6698 # Check whether --enable-filedlg or --disable-filedlg was given.
6699 if test "${enable_filedlg+set}" = set; then
6700 enableval
="$enable_filedlg"
6702 if test "$enableval" = yes; then
6703 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
6705 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
6710 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
6711 if test "x$LINE" != x
; then
6712 eval "DEFAULT_$LINE"
6717 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
6722 eval "$ac_cv_use_filedlg"
6723 if test "$no_cache" != 1; then
6724 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
6727 if test "$wxUSE_FILEDLG" = yes; then
6728 echo "$ac_t""yes" 1>&6
6730 echo "$ac_t""no" 1>&6
6734 echo $ac_n "checking for --enable-filedlg""... $ac_c" 1>&6
6735 echo "configure:6736: checking for --enable-filedlg" >&5
6737 # Check whether --enable-filedlg or --disable-filedlg was given.
6738 if test "${enable_filedlg+set}" = set; then
6739 enableval
="$enable_filedlg"
6741 if test "$enableval" = yes; then
6742 ac_cv_use_filedlg
='wxUSE_FINDREPLDLG=yes'
6744 ac_cv_use_filedlg
='wxUSE_FINDREPLDLG=no'
6749 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
6750 if test "x$LINE" != x
; then
6751 eval "DEFAULT_$LINE"
6756 ac_cv_use_filedlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
6761 eval "$ac_cv_use_filedlg"
6762 if test "$no_cache" != 1; then
6763 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
6766 if test "$wxUSE_FINDREPLDLG" = yes; then
6767 echo "$ac_t""yes" 1>&6
6769 echo "$ac_t""no" 1>&6
6773 echo $ac_n "checking for --enable-fontdlg""... $ac_c" 1>&6
6774 echo "configure:6775: checking for --enable-fontdlg" >&5
6776 # Check whether --enable-fontdlg or --disable-fontdlg was given.
6777 if test "${enable_fontdlg+set}" = set; then
6778 enableval
="$enable_fontdlg"
6780 if test "$enableval" = yes; then
6781 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
6783 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
6788 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
6789 if test "x$LINE" != x
; then
6790 eval "DEFAULT_$LINE"
6795 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
6800 eval "$ac_cv_use_fontdlg"
6801 if test "$no_cache" != 1; then
6802 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
6805 if test "$wxUSE_FONTDLG" = yes; then
6806 echo "$ac_t""yes" 1>&6
6808 echo "$ac_t""no" 1>&6
6812 echo $ac_n "checking for --enable-dirdlg""... $ac_c" 1>&6
6813 echo "configure:6814: checking for --enable-dirdlg" >&5
6815 # Check whether --enable-dirdlg or --disable-dirdlg was given.
6816 if test "${enable_dirdlg+set}" = set; then
6817 enableval
="$enable_dirdlg"
6819 if test "$enableval" = yes; then
6820 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
6822 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
6827 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
6828 if test "x$LINE" != x
; then
6829 eval "DEFAULT_$LINE"
6834 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
6839 eval "$ac_cv_use_dirdlg"
6840 if test "$no_cache" != 1; then
6841 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
6844 if test "$wxUSE_DIRDLG" = yes; then
6845 echo "$ac_t""yes" 1>&6
6847 echo "$ac_t""no" 1>&6
6851 echo $ac_n "checking for --enable-msgdlg""... $ac_c" 1>&6
6852 echo "configure:6853: checking for --enable-msgdlg" >&5
6854 # Check whether --enable-msgdlg or --disable-msgdlg was given.
6855 if test "${enable_msgdlg+set}" = set; then
6856 enableval
="$enable_msgdlg"
6858 if test "$enableval" = yes; then
6859 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
6861 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
6866 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
6867 if test "x$LINE" != x
; then
6868 eval "DEFAULT_$LINE"
6873 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
6878 eval "$ac_cv_use_msgdlg"
6879 if test "$no_cache" != 1; then
6880 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
6883 if test "$wxUSE_MSGDLG" = yes; then
6884 echo "$ac_t""yes" 1>&6
6886 echo "$ac_t""no" 1>&6
6890 echo $ac_n "checking for --enable-numberdlg""... $ac_c" 1>&6
6891 echo "configure:6892: checking for --enable-numberdlg" >&5
6893 # Check whether --enable-numberdlg or --disable-numberdlg was given.
6894 if test "${enable_numberdlg+set}" = set; then
6895 enableval
="$enable_numberdlg"
6897 if test "$enableval" = yes; then
6898 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
6900 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
6905 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
6906 if test "x$LINE" != x
; then
6907 eval "DEFAULT_$LINE"
6912 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
6917 eval "$ac_cv_use_numberdlg"
6918 if test "$no_cache" != 1; then
6919 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
6922 if test "$wxUSE_NUMBERDLG" = yes; then
6923 echo "$ac_t""yes" 1>&6
6925 echo "$ac_t""no" 1>&6
6929 echo $ac_n "checking for --enable-splash""... $ac_c" 1>&6
6930 echo "configure:6931: checking for --enable-splash" >&5
6932 # Check whether --enable-splash or --disable-splash was given.
6933 if test "${enable_splash+set}" = set; then
6934 enableval
="$enable_splash"
6936 if test "$enableval" = yes; then
6937 ac_cv_use_splash
='wxUSE_SPLASH=yes'
6939 ac_cv_use_splash
='wxUSE_SPLASH=no'
6944 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
6945 if test "x$LINE" != x
; then
6946 eval "DEFAULT_$LINE"
6951 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
6956 eval "$ac_cv_use_splash"
6957 if test "$no_cache" != 1; then
6958 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
6961 if test "$wxUSE_SPLASH" = yes; then
6962 echo "$ac_t""yes" 1>&6
6964 echo "$ac_t""no" 1>&6
6968 echo $ac_n "checking for --enable-textdlg""... $ac_c" 1>&6
6969 echo "configure:6970: checking for --enable-textdlg" >&5
6971 # Check whether --enable-textdlg or --disable-textdlg was given.
6972 if test "${enable_textdlg+set}" = set; then
6973 enableval
="$enable_textdlg"
6975 if test "$enableval" = yes; then
6976 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
6978 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
6983 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
6984 if test "x$LINE" != x
; then
6985 eval "DEFAULT_$LINE"
6990 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
6995 eval "$ac_cv_use_textdlg"
6996 if test "$no_cache" != 1; then
6997 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
7000 if test "$wxUSE_TEXTDLG" = yes; then
7001 echo "$ac_t""yes" 1>&6
7003 echo "$ac_t""no" 1>&6
7007 echo $ac_n "checking for --enable-tipdlg""... $ac_c" 1>&6
7008 echo "configure:7009: checking for --enable-tipdlg" >&5
7010 # Check whether --enable-tipdlg or --disable-tipdlg was given.
7011 if test "${enable_tipdlg+set}" = set; then
7012 enableval
="$enable_tipdlg"
7014 if test "$enableval" = yes; then
7015 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
7017 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
7022 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
7023 if test "x$LINE" != x
; then
7024 eval "DEFAULT_$LINE"
7029 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
7034 eval "$ac_cv_use_tipdlg"
7035 if test "$no_cache" != 1; then
7036 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
7039 if test "$wxUSE_STARTUP_TIPS" = yes; then
7040 echo "$ac_t""yes" 1>&6
7042 echo "$ac_t""no" 1>&6
7046 echo $ac_n "checking for --enable-progressdlg""... $ac_c" 1>&6
7047 echo "configure:7048: checking for --enable-progressdlg" >&5
7049 # Check whether --enable-progressdlg or --disable-progressdlg was given.
7050 if test "${enable_progressdlg+set}" = set; then
7051 enableval
="$enable_progressdlg"
7053 if test "$enableval" = yes; then
7054 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
7056 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
7061 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
7062 if test "x$LINE" != x
; then
7063 eval "DEFAULT_$LINE"
7068 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
7073 eval "$ac_cv_use_progressdlg"
7074 if test "$no_cache" != 1; then
7075 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
7078 if test "$wxUSE_PROGRESSDLG" = yes; then
7079 echo "$ac_t""yes" 1>&6
7081 echo "$ac_t""no" 1>&6
7085 echo $ac_n "checking for --enable-wizarddlg""... $ac_c" 1>&6
7086 echo "configure:7087: checking for --enable-wizarddlg" >&5
7088 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
7089 if test "${enable_wizarddlg+set}" = set; then
7090 enableval
="$enable_wizarddlg"
7092 if test "$enableval" = yes; then
7093 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
7095 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
7100 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
7101 if test "x$LINE" != x
; then
7102 eval "DEFAULT_$LINE"
7107 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
7112 eval "$ac_cv_use_wizarddlg"
7113 if test "$no_cache" != 1; then
7114 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
7117 if test "$wxUSE_WIZARDDLG" = yes; then
7118 echo "$ac_t""yes" 1>&6
7120 echo "$ac_t""no" 1>&6
7126 echo $ac_n "checking for --enable-menus""... $ac_c" 1>&6
7127 echo "configure:7128: checking for --enable-menus" >&5
7129 # Check whether --enable-menus or --disable-menus was given.
7130 if test "${enable_menus+set}" = set; then
7131 enableval
="$enable_menus"
7133 if test "$enableval" = yes; then
7134 ac_cv_use_menus
='wxUSE_MENUS=yes'
7136 ac_cv_use_menus
='wxUSE_MENUS=no'
7141 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
7142 if test "x$LINE" != x
; then
7143 eval "DEFAULT_$LINE"
7148 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
7153 eval "$ac_cv_use_menus"
7154 if test "$no_cache" != 1; then
7155 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
7158 if test "$wxUSE_MENUS" = yes; then
7159 echo "$ac_t""yes" 1>&6
7161 echo "$ac_t""no" 1>&6
7165 echo $ac_n "checking for --enable-miniframe""... $ac_c" 1>&6
7166 echo "configure:7167: checking for --enable-miniframe" >&5
7168 # Check whether --enable-miniframe or --disable-miniframe was given.
7169 if test "${enable_miniframe+set}" = set; then
7170 enableval
="$enable_miniframe"
7172 if test "$enableval" = yes; then
7173 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
7175 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
7180 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
7181 if test "x$LINE" != x
; then
7182 eval "DEFAULT_$LINE"
7187 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
7192 eval "$ac_cv_use_miniframe"
7193 if test "$no_cache" != 1; then
7194 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
7197 if test "$wxUSE_MINIFRAME" = yes; then
7198 echo "$ac_t""yes" 1>&6
7200 echo "$ac_t""no" 1>&6
7204 echo $ac_n "checking for --enable-tooltips""... $ac_c" 1>&6
7205 echo "configure:7206: checking for --enable-tooltips" >&5
7207 # Check whether --enable-tooltips or --disable-tooltips was given.
7208 if test "${enable_tooltips+set}" = set; then
7209 enableval
="$enable_tooltips"
7211 if test "$enableval" = yes; then
7212 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
7214 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
7219 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
7220 if test "x$LINE" != x
; then
7221 eval "DEFAULT_$LINE"
7226 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
7231 eval "$ac_cv_use_tooltips"
7232 if test "$no_cache" != 1; then
7233 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
7236 if test "$wxUSE_TOOLTIPS" = yes; then
7237 echo "$ac_t""yes" 1>&6
7239 echo "$ac_t""no" 1>&6
7243 echo $ac_n "checking for --enable-splines""... $ac_c" 1>&6
7244 echo "configure:7245: checking for --enable-splines" >&5
7246 # Check whether --enable-splines or --disable-splines was given.
7247 if test "${enable_splines+set}" = set; then
7248 enableval
="$enable_splines"
7250 if test "$enableval" = yes; then
7251 ac_cv_use_splines
='wxUSE_SPLINES=yes'
7253 ac_cv_use_splines
='wxUSE_SPLINES=no'
7258 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
7259 if test "x$LINE" != x
; then
7260 eval "DEFAULT_$LINE"
7265 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
7270 eval "$ac_cv_use_splines"
7271 if test "$no_cache" != 1; then
7272 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
7275 if test "$wxUSE_SPLINES" = yes; then
7276 echo "$ac_t""yes" 1>&6
7278 echo "$ac_t""no" 1>&6
7282 echo $ac_n "checking for --enable-validators""... $ac_c" 1>&6
7283 echo "configure:7284: checking for --enable-validators" >&5
7285 # Check whether --enable-validators or --disable-validators was given.
7286 if test "${enable_validators+set}" = set; then
7287 enableval
="$enable_validators"
7289 if test "$enableval" = yes; then
7290 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
7292 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
7297 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
7298 if test "x$LINE" != x
; then
7299 eval "DEFAULT_$LINE"
7304 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
7309 eval "$ac_cv_use_validators"
7310 if test "$no_cache" != 1; then
7311 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
7314 if test "$wxUSE_VALIDATORS" = yes; then
7315 echo "$ac_t""yes" 1>&6
7317 echo "$ac_t""no" 1>&6
7321 echo $ac_n "checking for --enable-busyinfo""... $ac_c" 1>&6
7322 echo "configure:7323: checking for --enable-busyinfo" >&5
7324 # Check whether --enable-busyinfo or --disable-busyinfo was given.
7325 if test "${enable_busyinfo+set}" = set; then
7326 enableval
="$enable_busyinfo"
7328 if test "$enableval" = yes; then
7329 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
7331 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
7336 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
7337 if test "x$LINE" != x
; then
7338 eval "DEFAULT_$LINE"
7343 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
7348 eval "$ac_cv_use_busyinfo"
7349 if test "$no_cache" != 1; then
7350 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
7353 if test "$wxUSE_BUSYINFO" = yes; then
7354 echo "$ac_t""yes" 1>&6
7356 echo "$ac_t""no" 1>&6
7360 echo $ac_n "checking for --enable-joystick""... $ac_c" 1>&6
7361 echo "configure:7362: checking for --enable-joystick" >&5
7363 # Check whether --enable-joystick or --disable-joystick was given.
7364 if test "${enable_joystick+set}" = set; then
7365 enableval
="$enable_joystick"
7367 if test "$enableval" = yes; then
7368 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
7370 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
7375 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
7376 if test "x$LINE" != x
; then
7377 eval "DEFAULT_$LINE"
7382 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
7387 eval "$ac_cv_use_joystick"
7388 if test "$no_cache" != 1; then
7389 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
7392 if test "$wxUSE_JOYSTICK" = yes; then
7393 echo "$ac_t""yes" 1>&6
7395 echo "$ac_t""no" 1>&6
7399 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
7400 echo "configure:7401: checking for --enable-metafile" >&5
7402 # Check whether --enable-metafile or --disable-metafile was given.
7403 if test "${enable_metafile+set}" = set; then
7404 enableval
="$enable_metafile"
7406 if test "$enableval" = yes; then
7407 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
7409 ac_cv_use_metafile
='wxUSE_METAFILE=no'
7414 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7415 if test "x$LINE" != x
; then
7416 eval "DEFAULT_$LINE"
7421 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7426 eval "$ac_cv_use_metafile"
7427 if test "$no_cache" != 1; then
7428 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7431 if test "$wxUSE_METAFILE" = yes; then
7432 echo "$ac_t""yes" 1>&6
7434 echo "$ac_t""no" 1>&6
7438 echo $ac_n "checking for --enable-dragimage""... $ac_c" 1>&6
7439 echo "configure:7440: checking for --enable-dragimage" >&5
7441 # Check whether --enable-dragimage or --disable-dragimage was given.
7442 if test "${enable_dragimage+set}" = set; then
7443 enableval
="$enable_dragimage"
7445 if test "$enableval" = yes; then
7446 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
7448 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
7453 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
7454 if test "x$LINE" != x
; then
7455 eval "DEFAULT_$LINE"
7460 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
7465 eval "$ac_cv_use_dragimage"
7466 if test "$no_cache" != 1; then
7467 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
7470 if test "$wxUSE_DRAGIMAGE" = yes; then
7471 echo "$ac_t""yes" 1>&6
7473 echo "$ac_t""no" 1>&6
7479 echo $ac_n "checking for --enable-image""... $ac_c" 1>&6
7480 echo "configure:7481: checking for --enable-image" >&5
7482 # Check whether --enable-image or --disable-image was given.
7483 if test "${enable_image+set}" = set; then
7484 enableval
="$enable_image"
7486 if test "$enableval" = yes; then
7487 ac_cv_use_image
='wxUSE_IMAGE=yes'
7489 ac_cv_use_image
='wxUSE_IMAGE=no'
7494 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
7495 if test "x$LINE" != x
; then
7496 eval "DEFAULT_$LINE"
7501 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
7506 eval "$ac_cv_use_image"
7507 if test "$no_cache" != 1; then
7508 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
7511 if test "$wxUSE_IMAGE" = yes; then
7512 echo "$ac_t""yes" 1>&6
7514 echo "$ac_t""no" 1>&6
7518 echo $ac_n "checking for --enable-gif""... $ac_c" 1>&6
7519 echo "configure:7520: checking for --enable-gif" >&5
7521 # Check whether --enable-gif or --disable-gif was given.
7522 if test "${enable_gif+set}" = set; then
7523 enableval
="$enable_gif"
7525 if test "$enableval" = yes; then
7526 ac_cv_use_gif
='wxUSE_GIF=yes'
7528 ac_cv_use_gif
='wxUSE_GIF=no'
7533 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
7534 if test "x$LINE" != x
; then
7535 eval "DEFAULT_$LINE"
7540 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
7545 eval "$ac_cv_use_gif"
7546 if test "$no_cache" != 1; then
7547 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
7550 if test "$wxUSE_GIF" = yes; then
7551 echo "$ac_t""yes" 1>&6
7553 echo "$ac_t""no" 1>&6
7557 echo $ac_n "checking for --enable-pcx""... $ac_c" 1>&6
7558 echo "configure:7559: checking for --enable-pcx" >&5
7560 # Check whether --enable-pcx or --disable-pcx was given.
7561 if test "${enable_pcx+set}" = set; then
7562 enableval
="$enable_pcx"
7564 if test "$enableval" = yes; then
7565 ac_cv_use_pcx
='wxUSE_PCX=yes'
7567 ac_cv_use_pcx
='wxUSE_PCX=no'
7572 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
7573 if test "x$LINE" != x
; then
7574 eval "DEFAULT_$LINE"
7579 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
7584 eval "$ac_cv_use_pcx"
7585 if test "$no_cache" != 1; then
7586 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
7589 if test "$wxUSE_PCX" = yes; then
7590 echo "$ac_t""yes" 1>&6
7592 echo "$ac_t""no" 1>&6
7596 echo $ac_n "checking for --enable-pnm""... $ac_c" 1>&6
7597 echo "configure:7598: checking for --enable-pnm" >&5
7599 # Check whether --enable-pnm or --disable-pnm was given.
7600 if test "${enable_pnm+set}" = set; then
7601 enableval
="$enable_pnm"
7603 if test "$enableval" = yes; then
7604 ac_cv_use_pnm
='wxUSE_PNM=yes'
7606 ac_cv_use_pnm
='wxUSE_PNM=no'
7611 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
7612 if test "x$LINE" != x
; then
7613 eval "DEFAULT_$LINE"
7618 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
7623 eval "$ac_cv_use_pnm"
7624 if test "$no_cache" != 1; then
7625 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
7628 if test "$wxUSE_PNM" = yes; then
7629 echo "$ac_t""yes" 1>&6
7631 echo "$ac_t""no" 1>&6
7635 echo $ac_n "checking for --enable-pnm""... $ac_c" 1>&6
7636 echo "configure:7637: checking for --enable-pnm" >&5
7638 # Check whether --enable-pnm or --disable-pnm was given.
7639 if test "${enable_pnm+set}" = set; then
7640 enableval
="$enable_pnm"
7642 if test "$enableval" = yes; then
7643 ac_cv_use_pnm
='wxUSE_XPM=yes'
7645 ac_cv_use_pnm
='wxUSE_XPM=no'
7650 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
7651 if test "x$LINE" != x
; then
7652 eval "DEFAULT_$LINE"
7657 ac_cv_use_pnm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
7662 eval "$ac_cv_use_pnm"
7663 if test "$no_cache" != 1; then
7664 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
7667 if test "$wxUSE_XPM" = yes; then
7668 echo "$ac_t""yes" 1>&6
7670 echo "$ac_t""no" 1>&6
7677 echo "saving argument cache $wx_arg_cache_file"
7678 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
7682 echo $ac_n "checking for toolkit""... $ac_c" 1>&6
7683 echo "configure:7684: checking for toolkit" >&5
7685 if test "$wxUSE_GUI" = "yes"; then
7687 if test "$USE_BEOS" = 1; then
7688 { echo "configure: error: BeOS GUI is not supported yet, use --disable-gui" 1>&2; exit 1; }
7691 if test "$TOOLKIT_GIVEN" = 1; then
7692 for toolkit
in `echo $ALL_TOOLKITS`; do
7694 eval "value=\$${var}"
7695 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
7698 for toolkit
in `echo $ALL_TOOLKITS`; do
7699 if test "$has_toolkit_in_cache" != 1; then
7700 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
7702 var
=DEFAULT_wxUSE_
$toolkit
7704 eval "wxUSE_$toolkit=\$${var}"
7708 NUM_TOOLKITS
=`expr ${wxUSE_GTK:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MAC:-0} + ${wxUSE_WINE:-0} + ${wxUSE_MINGW:-0} + ${wxUSE_CYGWIN:-0} + ${wxUSE_MGL:-0}`
7712 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
7713 # PATH_IFS is autodetected by OS/2's configure (usually ';')
7722 case "$NUM_TOOLKITS" in
7726 { echo "configure: error: Please specify a toolkit - cannot determine the default for ${host}" 1>&2; exit 1; }
7729 { echo "configure: error: Please specify at most one toolkit (may be some are cached?)" 1>&2; exit 1; }
7732 for toolkit
in `echo $ALL_TOOLKITS`; do
7734 eval "value=\$${var}"
7735 if test "x$value" != x
; then
7736 cache_var
=CACHE_
$toolkit
7737 eval "cache=\$${cache_var}"
7738 if test "$cache" = 1; then
7739 echo "$var=$value" >> ${wx_arg_cache_file}
7741 if test "$value" = 1; then
7742 toolkit_echo
=`echo $toolkit | tr [A-Z] [a-z]`
7743 echo "$ac_t""$toolkit_echo" 1>&6
7750 echo "$ac_t""base only" 1>&6
7754 cat > confcache
<<\EOF
7755 # This file is a shell script that caches the results of configure
7756 # tests run on this system so they can be shared between configure
7757 # scripts and configure runs. It is not useful on other systems.
7758 # If it contains results you don't want to keep, you may remove or edit it.
7760 # By default, configure uses ./config.cache as the cache file,
7761 # creating it if it does not exist already. You can give configure
7762 # the --cache-file=FILE option to use a different cache file; that is
7763 # what configure does when it calls configure scripts in
7764 # subdirectories, so they share the cache.
7765 # Giving --cache-file=/dev/null disables caching, for debugging configure.
7766 # config.status only pays attention to the cache file if you give it the
7767 # --recheck option to rerun configure.
7770 # The following way of writing the cache mishandles newlines in values,
7771 # but we know of no workaround that is simple, portable, and efficient.
7772 # So, don't put newlines in cache variables' values.
7773 # Ultrix sh set writes to stderr and can't be redirected directly,
7774 # and sets the high bit in the cache file unless we assign to the vars.
7776 case `(ac_space=' '; set | grep ac_space) 2>&1` in
7778 # `set' does not quote correctly, so add quotes (double-quote substitution
7779 # turns \\\\ into \\, and sed turns \\ into \).
7781 -e "s/'/'\\\\''/g" \
7782 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
7785 # `set' quotes correctly as required by POSIX, so do not add quotes.
7786 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
7789 if cmp -s $cache_file confcache
; then
7792 if test -w $cache_file; then
7793 echo "updating cache $cache_file"
7794 cat confcache
> $cache_file
7796 echo "not updating unwritable cache $cache_file"
7802 if test "$build" != "$host" ; then
7806 RANLIB
=$host_alias-ranlib
7807 DLLTOOL
=$host_alias-dlltool
7808 RESCOMP
=$host_alias-windres
7811 STRIP
=$host_alias-strip
7814 # Extract the first word of "gcc", so it can be a program name with args.
7815 set dummy gcc
; ac_word
=$2
7816 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7817 echo "configure:7818: checking for $ac_word" >&5
7818 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
7819 echo $ac_n "(cached) $ac_c" 1>&6
7821 if test -n "$CC"; then
7822 ac_cv_prog_CC
="$CC" # Let the user override the test.
7824 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7826 for ac_dir
in $ac_dummy; do
7827 test -z "$ac_dir" && ac_dir
=.
7828 if test -f $ac_dir/$ac_word; then
7837 if test -n "$CC"; then
7838 echo "$ac_t""$CC" 1>&6
7840 echo "$ac_t""no" 1>&6
7843 if test -z "$CC"; then
7844 # Extract the first word of "cc", so it can be a program name with args.
7845 set dummy cc
; ac_word
=$2
7846 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7847 echo "configure:7848: checking for $ac_word" >&5
7848 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
7849 echo $ac_n "(cached) $ac_c" 1>&6
7851 if test -n "$CC"; then
7852 ac_cv_prog_CC
="$CC" # Let the user override the test.
7854 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7857 for ac_dir
in $ac_dummy; do
7858 test -z "$ac_dir" && ac_dir
=.
7859 if test -f $ac_dir/$ac_word; then
7860 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
7861 ac_prog_rejected
=yes
7869 if test $ac_prog_rejected = yes; then
7870 # We found a bogon in the path, so make sure we never use it.
7871 set dummy
$ac_cv_prog_CC
7873 if test $# -gt 0; then
7874 # We chose a different compiler from the bogus one.
7875 # However, it has the same basename, so the bogon will be chosen
7876 # first if we set CC to just the basename; use the full file name.
7878 set dummy
"$ac_dir/$ac_word" "$@"
7886 if test -n "$CC"; then
7887 echo "$ac_t""$CC" 1>&6
7889 echo "$ac_t""no" 1>&6
7892 if test -z "$CC"; then
7893 case "`uname -s`" in
7895 # Extract the first word of "cl", so it can be a program name with args.
7896 set dummy cl
; ac_word
=$2
7897 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7898 echo "configure:7899: checking for $ac_word" >&5
7899 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
7900 echo $ac_n "(cached) $ac_c" 1>&6
7902 if test -n "$CC"; then
7903 ac_cv_prog_CC
="$CC" # Let the user override the test.
7905 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7907 for ac_dir
in $ac_dummy; do
7908 test -z "$ac_dir" && ac_dir
=.
7909 if test -f $ac_dir/$ac_word; then
7918 if test -n "$CC"; then
7919 echo "$ac_t""$CC" 1>&6
7921 echo "$ac_t""no" 1>&6
7926 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
7929 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
7930 echo "configure:7931: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
7933 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7934 ac_cpp
='$CPP $CPPFLAGS'
7935 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7936 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7937 cross_compiling
=$ac_cv_prog_cc_cross
7939 cat > conftest.
$ac_ext << EOF
7941 #line 7942 "configure"
7942 #include "confdefs.h"
7946 if { (eval echo configure
:7947: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7947 ac_cv_prog_cc_works
=yes
7948 # If we can't run a trivial program, we are probably using a cross compiler.
7949 if (.
/conftest
; exit) 2>/dev
/null
; then
7950 ac_cv_prog_cc_cross
=no
7952 ac_cv_prog_cc_cross
=yes
7955 echo "configure: failed program was:" >&5
7956 cat conftest.
$ac_ext >&5
7957 ac_cv_prog_cc_works
=no
7961 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7962 ac_cpp
='$CPP $CPPFLAGS'
7963 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7964 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7965 cross_compiling
=$ac_cv_prog_cc_cross
7967 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
7968 if test $ac_cv_prog_cc_works = no
; then
7969 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
7971 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
7972 echo "configure:7973: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
7973 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
7974 cross_compiling
=$ac_cv_prog_cc_cross
7976 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
7977 echo "configure:7978: checking whether we are using GNU C" >&5
7978 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
7979 echo $ac_n "(cached) $ac_c" 1>&6
7981 cat > conftest.c
<<EOF
7986 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:7987: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
7993 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
7995 if test $ac_cv_prog_gcc = yes; then
8001 ac_test_CFLAGS
="${CFLAGS+set}"
8002 ac_save_CFLAGS
="$CFLAGS"
8004 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
8005 echo "configure:8006: checking whether ${CC-cc} accepts -g" >&5
8006 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
8007 echo $ac_n "(cached) $ac_c" 1>&6
8009 echo 'void f(){}' > conftest.c
8010 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
8019 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
8020 if test "$ac_test_CFLAGS" = set; then
8021 CFLAGS
="$ac_save_CFLAGS"
8022 elif test $ac_cv_prog_cc_g = yes; then
8023 if test "$GCC" = yes; then
8029 if test "$GCC" = yes; then
8037 CFLAGS
=`echo "$CFLAGS" | sed 's/-g//g'`
8039 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
8040 echo "configure:8041: checking how to run the C preprocessor" >&5
8041 # On Suns, sometimes $CPP names a directory.
8042 if test -n "$CPP" && test -d "$CPP"; then
8045 if test -z "$CPP"; then
8046 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
8047 echo $ac_n "(cached) $ac_c" 1>&6
8049 # This must be in double quotes, not single quotes, because CPP may get
8050 # substituted into the Makefile and "${CC-cc}" will confuse make.
8052 # On the NeXT, cc -E runs the code through the compiler's parser,
8053 # not just through cpp.
8054 cat > conftest.
$ac_ext <<EOF
8055 #line 8056 "configure"
8056 #include "confdefs.h"
8060 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8061 { (eval echo configure
:8062: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8062 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8063 if test -z "$ac_err"; then
8067 echo "configure: failed program was:" >&5
8068 cat conftest.
$ac_ext >&5
8070 CPP
="${CC-cc} -E -traditional-cpp"
8071 cat > conftest.
$ac_ext <<EOF
8072 #line 8073 "configure"
8073 #include "confdefs.h"
8077 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8078 { (eval echo configure
:8079: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8079 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8080 if test -z "$ac_err"; then
8084 echo "configure: failed program was:" >&5
8085 cat conftest.
$ac_ext >&5
8087 CPP
="${CC-cc} -nologo -E"
8088 cat > conftest.
$ac_ext <<EOF
8089 #line 8090 "configure"
8090 #include "confdefs.h"
8094 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8095 { (eval echo configure
:8096: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8096 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8097 if test -z "$ac_err"; then
8101 echo "configure: failed program was:" >&5
8102 cat conftest.
$ac_ext >&5
8111 ac_cv_prog_CPP
="$CPP"
8113 CPP
="$ac_cv_prog_CPP"
8115 ac_cv_prog_CPP
="$CPP"
8117 echo "$ac_t""$CPP" 1>&6
8120 if test $ac_cv_prog_gcc = yes; then
8121 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
8122 echo "configure:8123: checking whether ${CC-cc} needs -traditional" >&5
8123 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
8124 echo $ac_n "(cached) $ac_c" 1>&6
8126 ac_pattern
="Autoconf.*'x'"
8127 cat > conftest.
$ac_ext <<EOF
8128 #line 8129 "configure"
8129 #include "confdefs.h"
8133 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8134 egrep "$ac_pattern" >/dev
/null
2>&1; then
8136 ac_cv_prog_gcc_traditional
=yes
8139 ac_cv_prog_gcc_traditional
=no
8144 if test $ac_cv_prog_gcc_traditional = no
; then
8145 cat > conftest.
$ac_ext <<EOF
8146 #line 8147 "configure"
8147 #include "confdefs.h"
8151 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8152 egrep "$ac_pattern" >/dev
/null
2>&1; then
8154 ac_cv_prog_gcc_traditional
=yes
8161 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
8162 if test $ac_cv_prog_gcc_traditional = yes; then
8163 CC
="$CC -traditional"
8170 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8171 ac_cpp
='$CXXCPP $CPPFLAGS'
8172 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8173 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8174 cross_compiling
=$ac_cv_prog_cxx_cross
8177 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++ cl
8179 # Extract the first word of "$ac_prog", so it can be a program name with args.
8180 set dummy
$ac_prog; ac_word
=$2
8181 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8182 echo "configure:8183: checking for $ac_word" >&5
8183 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
8184 echo $ac_n "(cached) $ac_c" 1>&6
8186 if test -n "$CXX"; then
8187 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
8189 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8191 for ac_dir
in $ac_dummy; do
8192 test -z "$ac_dir" && ac_dir
=.
8193 if test -f $ac_dir/$ac_word; then
8194 ac_cv_prog_CXX
="$ac_prog"
8201 CXX
="$ac_cv_prog_CXX"
8202 if test -n "$CXX"; then
8203 echo "$ac_t""$CXX" 1>&6
8205 echo "$ac_t""no" 1>&6
8208 test -n "$CXX" && break
8210 test -n "$CXX" || CXX
="gcc"
8213 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
8214 echo "configure:8215: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
8217 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8218 ac_cpp
='$CXXCPP $CPPFLAGS'
8219 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8220 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8221 cross_compiling
=$ac_cv_prog_cxx_cross
8223 cat > conftest.
$ac_ext << EOF
8225 #line 8226 "configure"
8226 #include "confdefs.h"
8228 int main(){return(0);}
8230 if { (eval echo configure
:8231: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8231 ac_cv_prog_cxx_works
=yes
8232 # If we can't run a trivial program, we are probably using a cross compiler.
8233 if (.
/conftest
; exit) 2>/dev
/null
; then
8234 ac_cv_prog_cxx_cross
=no
8236 ac_cv_prog_cxx_cross
=yes
8239 echo "configure: failed program was:" >&5
8240 cat conftest.
$ac_ext >&5
8241 ac_cv_prog_cxx_works
=no
8245 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8246 ac_cpp
='$CXXCPP $CPPFLAGS'
8247 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8248 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8249 cross_compiling
=$ac_cv_prog_cxx_cross
8251 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
8252 if test $ac_cv_prog_cxx_works = no
; then
8253 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
8255 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
8256 echo "configure:8257: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
8257 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
8258 cross_compiling
=$ac_cv_prog_cxx_cross
8260 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
8261 echo "configure:8262: checking whether we are using GNU C++" >&5
8262 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
8263 echo $ac_n "(cached) $ac_c" 1>&6
8265 cat > conftest.C
<<EOF
8270 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:8271: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
8277 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
8279 if test $ac_cv_prog_gxx = yes; then
8285 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
8286 ac_save_CXXFLAGS
="$CXXFLAGS"
8288 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
8289 echo "configure:8290: checking whether ${CXX-g++} accepts -g" >&5
8290 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
8291 echo $ac_n "(cached) $ac_c" 1>&6
8293 echo 'void f(){}' > conftest.cc
8294 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
8295 ac_cv_prog_cxx_g
=yes
8303 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
8304 if test "$ac_test_CXXFLAGS" = set; then
8305 CXXFLAGS
="$ac_save_CXXFLAGS"
8306 elif test $ac_cv_prog_cxx_g = yes; then
8307 if test "$GXX" = yes; then
8313 if test "$GXX" = yes; then
8321 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
8322 echo "configure:8323: checking how to run the C++ preprocessor" >&5
8323 if test -z "$CXXCPP"; then
8324 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
8325 echo $ac_n "(cached) $ac_c" 1>&6
8328 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8329 ac_cpp
='$CXXCPP $CPPFLAGS'
8330 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8331 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8332 cross_compiling
=$ac_cv_prog_cxx_cross
8333 CXXCPP
="${CXX-g++} -E"
8334 cat > conftest.
$ac_ext <<EOF
8335 #line 8336 "configure"
8336 #include "confdefs.h"
8339 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8340 { (eval echo configure
:8341: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8341 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8342 if test -z "$ac_err"; then
8346 echo "configure: failed program was:" >&5
8347 cat conftest.
$ac_ext >&5
8352 ac_cv_prog_CXXCPP
="$CXXCPP"
8354 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8355 ac_cpp
='$CXXCPP $CPPFLAGS'
8356 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8357 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8358 cross_compiling
=$ac_cv_prog_cxx_cross
8361 CXXCPP
="$ac_cv_prog_CXXCPP"
8362 echo "$ac_t""$CXXCPP" 1>&6
8365 CXXFLAGS
=`echo "$CXXFLAGS" | sed 's/-g//g'`
8368 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8369 ac_cpp
='$CPP $CPPFLAGS'
8370 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8371 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8372 cross_compiling
=$ac_cv_prog_cc_cross
8375 # Extract the first word of "ranlib", so it can be a program name with args.
8376 set dummy ranlib
; ac_word
=$2
8377 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8378 echo "configure:8379: checking for $ac_word" >&5
8379 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
8380 echo $ac_n "(cached) $ac_c" 1>&6
8382 if test -n "$RANLIB"; then
8383 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
8385 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8387 for ac_dir
in $ac_dummy; do
8388 test -z "$ac_dir" && ac_dir
=.
8389 if test -f $ac_dir/$ac_word; then
8390 ac_cv_prog_RANLIB
="ranlib"
8395 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
8398 RANLIB
="$ac_cv_prog_RANLIB"
8399 if test -n "$RANLIB"; then
8400 echo "$ac_t""$RANLIB" 1>&6
8402 echo "$ac_t""no" 1>&6
8406 # Extract the first word of "ar", so it can be a program name with args.
8407 set dummy
ar; ac_word
=$2
8408 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8409 echo "configure:8410: checking for $ac_word" >&5
8410 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
8411 echo $ac_n "(cached) $ac_c" 1>&6
8413 if test -n "$AR"; then
8414 ac_cv_prog_AR
="$AR" # Let the user override the test.
8416 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8418 for ac_dir
in $ac_dummy; do
8419 test -z "$ac_dir" && ac_dir
=.
8420 if test -f $ac_dir/$ac_word; then
8426 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
8430 if test -n "$AR"; then
8431 echo "$ac_t""$AR" 1>&6
8433 echo "$ac_t""no" 1>&6
8437 # Find a good install program. We prefer a C program (faster),
8438 # so one script is as good as another. But avoid the broken or
8439 # incompatible versions:
8440 # SysV /etc/install, /usr/sbin/install
8441 # SunOS /usr/etc/install
8442 # IRIX /sbin/install
8444 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
8445 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
8446 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
8447 # ./install, which can be erroneously created by make from ./install.sh.
8448 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
8449 echo "configure:8450: checking for a BSD compatible install" >&5
8450 if test -z "$INSTALL"; then
8451 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
8452 echo $ac_n "(cached) $ac_c" 1>&6
8454 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
8455 for ac_dir
in $PATH; do
8456 # Account for people who put trailing slashes in PATH elements.
8458 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
8460 # OSF1 and SCO ODT 3.0 have their own names for install.
8461 # Don't use installbsd from OSF since it installs stuff as root
8463 for ac_prog
in ginstall scoinst
install; do
8464 if test -f $ac_dir/$ac_prog; then
8465 if test $ac_prog = install &&
8466 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
8467 # AIX install. It has an incompatible calling convention.
8470 ac_cv_path_install
="$ac_dir/$ac_prog -c"
8481 if test "${ac_cv_path_install+set}" = set; then
8482 INSTALL
="$ac_cv_path_install"
8484 # As a last resort, use the slow shell script. We don't cache a
8485 # path for INSTALL within a source directory, because that will
8486 # break other packages using the cache if that directory is
8487 # removed, or if the path is relative.
8488 INSTALL
="$ac_install_sh"
8491 echo "$ac_t""$INSTALL" 1>&6
8493 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
8494 # It thinks the first close brace ends the variable substitution.
8495 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
8497 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
8499 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
8502 # Extract the first word of "strip", so it can be a program name with args.
8503 set dummy strip
; ac_word
=$2
8504 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8505 echo "configure:8506: checking for $ac_word" >&5
8506 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
8507 echo $ac_n "(cached) $ac_c" 1>&6
8509 if test -n "$STRIP"; then
8510 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
8512 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8514 for ac_dir
in $ac_dummy; do
8515 test -z "$ac_dir" && ac_dir
=.
8516 if test -f $ac_dir/$ac_word; then
8517 ac_cv_prog_STRIP
="strip"
8522 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
8525 STRIP
="$ac_cv_prog_STRIP"
8526 if test -n "$STRIP"; then
8527 echo "$ac_t""$STRIP" 1>&6
8529 echo "$ac_t""no" 1>&6
8533 echo $ac_n "checking make for VPATH support""... $ac_c" 1>&6
8534 echo "configure:8535: checking make for VPATH support" >&5
8535 cat - << EOF > confMake
8541 if test ! -d sub
; then
8544 echo dummy
> sub
/file
8545 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
8547 rm -f sub
/file check final_file confMake
8549 if test "$RESULT" = 0; then
8550 echo "$ac_t""yes" 1>&6
8552 echo "$ac_t""no" 1>&6
8553 { echo "configure: error:
8554 You need a make-utility that is able to use the variable
8556 If your version of make does not support VPATH correctly,
8557 please install GNU-make (possibly as gmake), and start
8558 configure with the following command:
8559 export MAKE=gmake; ./configure for sh-type shells
8560 setenv MAKE gmake; ./configure for csh-type shells
8561 Also please do remember to use gmake in this case every time
8562 you are trying to compile.
8566 for ac_prog
in 'bison -y' byacc
8568 # Extract the first word of "$ac_prog", so it can be a program name with args.
8569 set dummy
$ac_prog; ac_word
=$2
8570 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8571 echo "configure:8572: checking for $ac_word" >&5
8572 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
8573 echo $ac_n "(cached) $ac_c" 1>&6
8575 if test -n "$YACC"; then
8576 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
8578 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8580 for ac_dir
in $ac_dummy; do
8581 test -z "$ac_dir" && ac_dir
=.
8582 if test -f $ac_dir/$ac_word; then
8583 ac_cv_prog_YACC
="$ac_prog"
8590 YACC
="$ac_cv_prog_YACC"
8591 if test -n "$YACC"; then
8592 echo "$ac_t""$YACC" 1>&6
8594 echo "$ac_t""no" 1>&6
8597 test -n "$YACC" && break
8599 test -n "$YACC" || YACC
="yacc"
8602 # Extract the first word of "flex", so it can be a program name with args.
8603 set dummy flex
; ac_word
=$2
8604 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8605 echo "configure:8606: checking for $ac_word" >&5
8606 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
8607 echo $ac_n "(cached) $ac_c" 1>&6
8609 if test -n "$LEX"; then
8610 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
8612 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8614 for ac_dir
in $ac_dummy; do
8615 test -z "$ac_dir" && ac_dir
=.
8616 if test -f $ac_dir/$ac_word; then
8617 ac_cv_prog_LEX
="flex"
8622 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
8625 LEX
="$ac_cv_prog_LEX"
8626 if test -n "$LEX"; then
8627 echo "$ac_t""$LEX" 1>&6
8629 echo "$ac_t""no" 1>&6
8632 if test -z "$LEXLIB"
8638 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
8639 echo "configure:8640: checking for yywrap in -l$ac_lib" >&5
8640 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
8641 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8642 echo $ac_n "(cached) $ac_c" 1>&6
8644 ac_save_LIBS
="$LIBS"
8645 LIBS
="-l$ac_lib $LIBS"
8646 cat > conftest.
$ac_ext <<EOF
8647 #line 8648 "configure"
8648 #include "confdefs.h"
8649 /* Override any gcc2 internal prototype to avoid an error. */
8650 /* We use char because int might match the return type of a gcc2
8651 builtin and then its argument prototype would still apply. */
8658 if { (eval echo configure
:8659: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8660 eval "ac_cv_lib_$ac_lib_var=yes"
8662 echo "configure: failed program was:" >&5
8663 cat conftest.
$ac_ext >&5
8665 eval "ac_cv_lib_$ac_lib_var=no"
8668 LIBS
="$ac_save_LIBS"
8671 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8672 echo "$ac_t""yes" 1>&6
8675 echo "$ac_t""no" 1>&6
8681 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
8682 echo "configure:8683: checking whether ln -s works" >&5
8683 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
8684 echo $ac_n "(cached) $ac_c" 1>&6
8687 if ln -s X conftestdata
2>/dev
/null
8690 ac_cv_prog_LN_S
="ln -s"
8695 LN_S
="$ac_cv_prog_LN_S"
8696 if test "$ac_cv_prog_LN_S" = "ln -s"; then
8697 echo "$ac_t""yes" 1>&6
8699 echo "$ac_t""no" 1>&6
8705 /usr/local/include \
8707 /usr/Motif-1.2/include \
8708 /usr/Motif-2.1/include \
8710 /usr/include/Motif1.2 \
8711 /opt/xpm/include/X11 \
8712 /opt/GBxpm/include/ \
8713 /opt/GBxpm/X11/include/ \
8715 /usr/Motif1.2/include \
8717 /usr/openwin/include \
8721 /usr/X11R6/include \
8722 /usr/X11R6.4/include \
8723 /usr/X11R5/include \
8724 /usr/X11R4/include \
8726 /usr/include/X11R6 \
8727 /usr/include/X11R5 \
8728 /usr/include/X11R4 \
8730 /usr/local/X11R6/include \
8731 /usr/local/X11R5/include \
8732 /usr/local/X11R4/include \
8734 /usr/local/include/X11R6 \
8735 /usr/local/include/X11R5 \
8736 /usr/local/include/X11R4 \
8740 /usr/local/X11/include \
8741 /usr/local/include/X11 \
8745 /usr/XFree86/include/X11 \
8747 X:/XFree86/include \
8748 X:/XFree86/include/X11 \
8751 /usr/local/include/gtk \
8753 /usr/local/include/glib \
8756 /usr/local/include/qt \
8758 /usr/include/windows \
8760 /usr/local/include/wine \
8762 /usr/unsupported/include \
8763 /usr/athena/include \
8764 /usr/local/x11r5/include \
8765 /usr/lpp/Xamples/include \
8767 /usr/openwin/share/include \
8771 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
8774 cat > confcache
<<\EOF
8775 # This file is a shell script that caches the results of configure
8776 # tests run on this system so they can be shared between configure
8777 # scripts and configure runs. It is not useful on other systems.
8778 # If it contains results you don't want to keep, you may remove or edit it.
8780 # By default, configure uses ./config.cache as the cache file,
8781 # creating it if it does not exist already. You can give configure
8782 # the --cache-file=FILE option to use a different cache file; that is
8783 # what configure does when it calls configure scripts in
8784 # subdirectories, so they share the cache.
8785 # Giving --cache-file=/dev/null disables caching, for debugging configure.
8786 # config.status only pays attention to the cache file if you give it the
8787 # --recheck option to rerun configure.
8790 # The following way of writing the cache mishandles newlines in values,
8791 # but we know of no workaround that is simple, portable, and efficient.
8792 # So, don't put newlines in cache variables' values.
8793 # Ultrix sh set writes to stderr and can't be redirected directly,
8794 # and sets the high bit in the cache file unless we assign to the vars.
8796 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8798 # `set' does not quote correctly, so add quotes (double-quote substitution
8799 # turns \\\\ into \\, and sed turns \\ into \).
8801 -e "s/'/'\\\\''/g" \
8802 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
8805 # `set' quotes correctly as required by POSIX, so do not add quotes.
8806 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
8809 if cmp -s $cache_file confcache
; then
8812 if test -w $cache_file; then
8813 echo "updating cache $cache_file"
8814 cat confcache
> $cache_file
8816 echo "not updating unwritable cache $cache_file"
8824 if test "$wxUSE_REGEX" != "no"; then
8825 ac_safe
=`echo "regex.h" | sed 'y%./+-%__p_%'`
8826 echo $ac_n "checking for regex.h""... $ac_c" 1>&6
8827 echo "configure:8828: checking for regex.h" >&5
8828 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8829 echo $ac_n "(cached) $ac_c" 1>&6
8831 cat > conftest.
$ac_ext <<EOF
8832 #line 8833 "configure"
8833 #include "confdefs.h"
8836 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8837 { (eval echo configure
:8838: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8838 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8839 if test -z "$ac_err"; then
8841 eval "ac_cv_header_$ac_safe=yes"
8844 echo "configure: failed program was:" >&5
8845 cat conftest.
$ac_ext >&5
8847 eval "ac_cv_header_$ac_safe=no"
8851 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8852 echo "$ac_t""yes" 1>&6
8853 for ac_func
in regcomp
8855 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8856 echo "configure:8857: checking for $ac_func" >&5
8857 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8858 echo $ac_n "(cached) $ac_c" 1>&6
8860 cat > conftest.
$ac_ext <<EOF
8861 #line 8862 "configure"
8862 #include "confdefs.h"
8863 /* System header to define __stub macros and hopefully few prototypes,
8864 which can conflict with char $ac_func(); below. */
8866 /* Override any gcc2 internal prototype to avoid an error. */
8867 /* We use char because int might match the return type of a gcc2
8868 builtin and then its argument prototype would still apply. */
8873 /* The GNU C library defines this for functions which it implements
8874 to always fail with ENOSYS. Some functions are actually named
8875 something starting with __ and the normal name is an alias. */
8876 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8884 if { (eval echo configure
:8885: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8886 eval "ac_cv_func_$ac_func=yes"
8888 echo "configure: failed program was:" >&5
8889 cat conftest.
$ac_ext >&5
8891 eval "ac_cv_func_$ac_func=no"
8896 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8897 echo "$ac_t""yes" 1>&6
8898 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8899 cat >> confdefs.h
<<EOF
8900 #define $ac_tr_func 1
8904 echo "$ac_t""no" 1>&6
8909 echo "$ac_t""no" 1>&6
8913 if test "x$ac_cv_func_regcomp" != "xyes"; then
8914 if test "$wxUSE_REGEX" = "sys"; then
8915 { echo "configure: error: system regex library not found! Use --with-regex to use the built-in regex library." 1>&2; exit 1; }
8918 REGEX_INCLUDE
="-I\${top_srcdir}/src/regex"
8921 cat >> confdefs.h
<<\EOF
8922 #define wxUSE_REGEX 1
8930 if test "$wxUSE_GUI" = "yes"; then
8945 if test "$wxUSE_CYGWIN" = 1 || test "$wxUSE_MINGW" = 1 ; then
8946 ac_safe
=`echo "windows.h" | sed 'y%./+-%__p_%'`
8947 echo $ac_n "checking for windows.h""... $ac_c" 1>&6
8948 echo "configure:8949: checking for windows.h" >&5
8949 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8950 echo $ac_n "(cached) $ac_c" 1>&6
8952 cat > conftest.
$ac_ext <<EOF
8953 #line 8954 "configure"
8954 #include "confdefs.h"
8955 #include <windows.h>
8957 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8958 { (eval echo configure
:8959: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8959 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8960 if test -z "$ac_err"; then
8962 eval "ac_cv_header_$ac_safe=yes"
8965 echo "configure: failed program was:" >&5
8966 cat conftest.
$ac_ext >&5
8968 eval "ac_cv_header_$ac_safe=no"
8972 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8973 echo "$ac_t""yes" 1>&6
8976 echo "$ac_t""no" 1>&6
8978 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
8983 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS msw"
8985 LIBS
="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -ladvapi32 -lwsock32"
8987 if test "$wxUSE_ODBC" = "yes" ; then
8988 LIBS
="$LIBS -lodbc32 -lole32 -loleaut32"
8991 if test "$wxUSE_MINGW" = 1; then
8992 LDFLAGS
="$LDFLAGS -mwindows"
8998 RCINCSWITCH
="--include-dir"
8999 RCDEFSWITCH
="--define"
9000 RCPREPROCESSOR
="--preprocessor \"\$(CC) -c -E -xc-header -DRC_INVOKED\""
9003 RESFLAGS
="$RCPREPROCESSOR $RCINCSWITCH \$(top_srcdir)/include $RCINCSWITCH \$(top_srcdir)/\$(program_dir) $RCDEFSWITCH __WIN32__ $RCDEFSWITCH __WIN95__ $RCDEFSWITCH __GNUWIN32__"
9005 RESPROGRAM
="\$(RES_PROGRAM)"
9008 if test "$wxUSE_GTK" = 1; then
9009 echo $ac_n "checking for GTK+ version""... $ac_c" 1>&6
9010 echo "configure:9011: checking for GTK+ version" >&5
9012 gtk_version_cached
=1
9013 if eval "test \"`echo '$''{'wx_cv_lib_gtk'+set}'`\" = set"; then
9014 echo $ac_n "(cached) $ac_c" 1>&6
9017 gtk_version_cached
=0
9018 echo "$ac_t""""" 1>&6
9021 if test "x$wxUSE_GTK2" = "xyes"; then
9022 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
9023 if test "${with_gtk_prefix+set}" = set; then
9024 withval
="$with_gtk_prefix"
9025 gtk_config_prefix
="$withval"
9027 gtk_config_prefix
=""
9030 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
9031 if test "${with_gtk_exec_prefix+set}" = set; then
9032 withval
="$with_gtk_exec_prefix"
9033 gtk_config_exec_prefix
="$withval"
9035 gtk_config_exec_prefix
=""
9038 # Check whether --enable-gtktest or --disable-gtktest was given.
9039 if test "${enable_gtktest+set}" = set; then
9040 enableval
="$enable_gtktest"
9051 gtk_config_args
="$gtk_config_args gthread"
9056 if test x
$gtk_config_exec_prefix != x
; then
9057 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
9058 if test x
${GTK_CONFIG_2_0+set} != xset
; then
9059 GTK_CONFIG_2_0
=$gtk_config_exec_prefix/bin
/gtk
-config-2.0
9062 if test x
$gtk_config_prefix != x
; then
9063 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
9064 if test x
${GTK_CONFIG_2_0+set} != xset
; then
9065 GTK_CONFIG_2_0
=$gtk_config_prefix/bin
/gtk
-config-2.0
9069 # Extract the first word of "gtk-config-2.0", so it can be a program name with args.
9070 set dummy gtk
-config-2.0
; ac_word
=$2
9071 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9072 echo "configure:9073: checking for $ac_word" >&5
9073 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG_2_0'+set}'`\" = set"; then
9074 echo $ac_n "(cached) $ac_c" 1>&6
9076 case "$GTK_CONFIG_2_0" in
9078 ac_cv_path_GTK_CONFIG_2_0
="$GTK_CONFIG_2_0" # Let the user override the test with a path.
9081 ac_cv_path_GTK_CONFIG_2_0
="$GTK_CONFIG_2_0" # Let the user override the test with a dos path.
9084 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9086 for ac_dir
in $ac_dummy; do
9087 test -z "$ac_dir" && ac_dir
=.
9088 if test -f $ac_dir/$ac_word; then
9089 ac_cv_path_GTK_CONFIG_2_0
="$ac_dir/$ac_word"
9094 test -z "$ac_cv_path_GTK_CONFIG_2_0" && ac_cv_path_GTK_CONFIG_2_0
="no"
9098 GTK_CONFIG_2_0
="$ac_cv_path_GTK_CONFIG_2_0"
9099 if test -n "$GTK_CONFIG_2_0"; then
9100 echo "$ac_t""$GTK_CONFIG_2_0" 1>&6
9102 echo "$ac_t""no" 1>&6
9105 min_gtk_version
=1.3.1
9106 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
9107 echo "configure:9108: checking for GTK - version >= $min_gtk_version" >&5
9109 if test "$GTK_CONFIG_2_0" = "no" ; then
9112 GTK_CFLAGS
=`$GTK_CONFIG_2_0 $gtk_config_args --cflags`
9113 GTK_LIBS
=`$GTK_CONFIG_2_0 $gtk_config_args --libs`
9114 gtk_config_major_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
9115 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
9116 gtk_config_minor_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
9117 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
9118 gtk_config_micro_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
9119 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
9120 if test "x$enable_gtktest" = "xyes" ; then
9121 ac_save_CFLAGS
="$CFLAGS"
9122 ac_save_LIBS
="$LIBS"
9123 CFLAGS
="$CFLAGS $GTK_CFLAGS"
9124 LIBS
="$GTK_LIBS $LIBS"
9126 if test "$cross_compiling" = yes; then
9127 echo $ac_n "cross compiling; assumed OK... $ac_c"
9129 cat > conftest.
$ac_ext <<EOF
9130 #line 9131 "configure"
9131 #include "confdefs.h"
9133 #include <gtk/gtk.h>
9140 int major, minor, micro;
9143 system ("touch conf.gtktest");
9145 /* HP/UX 9 (%@#!) writes to sscanf strings */
9146 tmp_version = g_strdup("$min_gtk_version");
9147 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
9148 printf("%s, bad version string\n", "$min_gtk_version");
9152 if ((gtk_major_version != $gtk_config_major_version) ||
9153 (gtk_minor_version != $gtk_config_minor_version) ||
9154 (gtk_micro_version != $gtk_config_micro_version))
9156 printf("\n*** 'gtk-config-2.0 --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
9157 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
9158 gtk_major_version, gtk_minor_version, gtk_micro_version);
9159 printf ("*** was found! If gtk-config-2.0 was correct, then it is best\n");
9160 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
9161 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
9162 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
9163 printf("*** required on your system.\n");
9164 printf("*** If gtk-config-2.0 was wrong, set the environment variable GTK_CONFIG_2_0\n");
9165 printf("*** to point to the correct copy of gtk-config-2.0, and remove the file config.cache\n");
9166 printf("*** before re-running configure\n");
9168 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
9169 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
9170 (gtk_minor_version != GTK_MINOR_VERSION) ||
9171 (gtk_micro_version != GTK_MICRO_VERSION))
9173 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
9174 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
9175 printf("*** library (version %d.%d.%d)\n",
9176 gtk_major_version, gtk_minor_version, gtk_micro_version);
9178 #endif /* defined (GTK_MAJOR_VERSION) ... */
9181 if ((gtk_major_version > major) ||
9182 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
9183 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
9189 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
9190 gtk_major_version, gtk_minor_version, gtk_micro_version);
9191 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
9192 major, minor, micro);
9193 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
9195 printf("*** If you have already installed a sufficiently new version, this error\n");
9196 printf("*** probably means that the wrong copy of the gtk-config-2.0 shell script is\n");
9197 printf("*** being found. The easiest way to fix this is to remove the old version\n");
9198 printf("*** of GTK+, but you can also set the GTK_CONFIG_2_0 environment to point to the\n");
9199 printf("*** correct copy of gtk-config-2.0. (In this case, you will have to\n");
9200 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
9201 printf("*** so that the correct libraries are found at run-time))\n");
9208 if { (eval echo configure
:9209: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9212 echo "configure: failed program was:" >&5
9213 cat conftest.
$ac_ext >&5
9220 CFLAGS
="$ac_save_CFLAGS"
9221 LIBS
="$ac_save_LIBS"
9224 if test "x$no_gtk" = x
; then
9225 echo "$ac_t""yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" 1>&6
9228 echo "$ac_t""no" 1>&6
9229 if test "$GTK_CONFIG_2_0" = "no" ; then
9230 echo "*** The gtk-config-2.0 script installed by GTK could not be found"
9231 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
9232 echo "*** your path, or set the GTK_CONFIG_2_0 environment variable to the"
9233 echo "*** full path to gtk-config-2.0."
9235 if test -f conf.gtktest
; then
9238 echo "*** Could not run GTK test program, checking why..."
9239 CFLAGS
="$CFLAGS $GTK_CFLAGS"
9240 LIBS
="$LIBS $GTK_LIBS"
9241 cat > conftest.
$ac_ext <<EOF
9242 #line 9243 "configure"
9243 #include "confdefs.h"
9245 #include <gtk/gtk.h>
9249 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
9252 if { (eval echo configure
:9253: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9254 echo "*** The test program compiled, but did not run. This usually means"
9255 echo "*** that the run-time linker is not finding GTK or finding the wrong"
9256 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
9257 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
9258 echo "*** to the installed location Also, make sure you have run ldconfig if that"
9259 echo "*** is required on your system"
9261 echo "*** If you have an old version installed, it is best to remove it, although"
9262 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
9264 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
9265 echo "*** came with the system with the command"
9267 echo "*** rpm --erase --nodeps gtk gtk-devel"
9269 echo "configure: failed program was:" >&5
9270 cat conftest.
$ac_ext >&5
9272 echo "*** The test program failed to compile or link. See the file config.log for the"
9273 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
9274 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
9275 echo "*** may want to edit the gtk-config-2.0 script: $GTK_CONFIG_2_0"
9278 CFLAGS
="$ac_save_CFLAGS"
9279 LIBS
="$ac_save_LIBS"
9292 if test -z "$wx_cv_lib_gtk"; then
9294 if test x
$gtk_config_exec_prefix != x
; then
9295 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
9296 if test x
${GTK_CONFIG+set} != xset
; then
9297 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
9300 if test x
$gtk_config_prefix != x
; then
9301 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
9302 if test x
${GTK_CONFIG+set} != xset
; then
9303 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
9307 # Extract the first word of "gtk-config", so it can be a program name with args.
9308 set dummy gtk
-config; ac_word
=$2
9309 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9310 echo "configure:9311: checking for $ac_word" >&5
9311 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
9312 echo $ac_n "(cached) $ac_c" 1>&6
9314 case "$GTK_CONFIG" in
9316 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
9319 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
9322 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9324 for ac_dir
in $ac_dummy; do
9325 test -z "$ac_dir" && ac_dir
=.
9326 if test -f $ac_dir/$ac_word; then
9327 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
9332 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
9336 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
9337 if test -n "$GTK_CONFIG"; then
9338 echo "$ac_t""$GTK_CONFIG" 1>&6
9340 echo "$ac_t""no" 1>&6
9343 min_gtk_version
=1.2.7
9344 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
9345 echo "configure:9346: checking for GTK - version >= $min_gtk_version" >&5
9347 if test "$GTK_CONFIG" != "no" ; then
9348 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
9349 GTK_LIBS
=`$GTK_CONFIG --libs gthread`
9350 ac_save_CFLAGS
="$CFLAGS"
9351 ac_save_LIBS
="$LIBS"
9352 CFLAGS
="$CFLAGS $GTK_CFLAGS"
9353 LIBS
="$LIBS $GTK_LIBS"
9354 if test "$cross_compiling" = yes; then
9355 echo $ac_n "cross compiling; assumed OK... $ac_c"
9357 cat > conftest.
$ac_ext <<EOF
9358 #line 9359 "configure"
9359 #include "confdefs.h"
9361 #include <gtk/gtk.h>
9362 #include <gtk/gtkfeatures.h>
9369 int major, minor, micro;
9371 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
9372 printf("%s, bad version string\n", "$min_gtk_version");
9376 if ((GTK_MAJOR_VERSION != gtk_major_version) ||
9377 (GTK_MINOR_VERSION != gtk_minor_version) ||
9378 (GTK_MICRO_VERSION != gtk_micro_version)) {
9379 printf("Headers vs. library version mismatch!\n");
9383 if (gtk_minor_version == 1) return FALSE;
9385 return !((gtk_major_version > major) ||
9386 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
9387 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
9391 if { (eval echo configure
:9392: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9395 echo "configure: failed program was:" >&5
9396 cat conftest.
$ac_ext >&5
9403 CFLAGS
="$ac_save_CFLAGS"
9404 LIBS
="$ac_save_LIBS"
9408 if test "x$no_gtk" = x
; then
9409 echo "$ac_t""yes" 1>&6
9412 echo "$ac_t""no" 1>&6
9422 if test -z "$wx_cv_lib_gtk"; then
9424 if test x
$gtk_config_exec_prefix != x
; then
9425 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
9426 if test x
${GTK_CONFIG+set} != xset
; then
9427 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
9430 if test x
$gtk_config_prefix != x
; then
9431 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
9432 if test x
${GTK_CONFIG+set} != xset
; then
9433 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
9437 # Extract the first word of "gtk-config", so it can be a program name with args.
9438 set dummy gtk
-config; ac_word
=$2
9439 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9440 echo "configure:9441: checking for $ac_word" >&5
9441 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
9442 echo $ac_n "(cached) $ac_c" 1>&6
9444 case "$GTK_CONFIG" in
9446 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
9449 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
9452 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9454 for ac_dir
in $ac_dummy; do
9455 test -z "$ac_dir" && ac_dir
=.
9456 if test -f $ac_dir/$ac_word; then
9457 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
9462 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
9466 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
9467 if test -n "$GTK_CONFIG"; then
9468 echo "$ac_t""$GTK_CONFIG" 1>&6
9470 echo "$ac_t""no" 1>&6
9473 min_gtk_version
=1.2.3
9474 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
9475 echo "configure:9476: checking for GTK - version >= $min_gtk_version" >&5
9477 if test "$GTK_CONFIG" != "no" ; then
9478 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
9479 GTK_LIBS
=`$GTK_CONFIG --libs gthread`
9480 ac_save_CFLAGS
="$CFLAGS"
9481 ac_save_LIBS
="$LIBS"
9482 CFLAGS
="$CFLAGS $GTK_CFLAGS"
9483 LIBS
="$LIBS $GTK_LIBS"
9484 if test "$cross_compiling" = yes; then
9485 echo $ac_n "cross compiling; assumed OK... $ac_c"
9487 cat > conftest.
$ac_ext <<EOF
9488 #line 9489 "configure"
9489 #include "confdefs.h"
9491 #include <gtk/gtk.h>
9492 #include <gtk/gtkfeatures.h>
9499 int major, minor, micro;
9501 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
9502 printf("%s, bad version string\n", "$min_gtk_version");
9506 if ((GTK_MAJOR_VERSION != gtk_major_version) ||
9507 (GTK_MINOR_VERSION != gtk_minor_version) ||
9508 (GTK_MICRO_VERSION != gtk_micro_version)) {
9509 printf("Headers vs. library version mismatch!\n");
9513 if (gtk_minor_version == 1) return FALSE;
9515 return !((gtk_major_version > major) ||
9516 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
9517 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
9521 if { (eval echo configure
:9522: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9525 echo "configure: failed program was:" >&5
9526 cat conftest.
$ac_ext >&5
9533 CFLAGS
="$ac_save_CFLAGS"
9534 LIBS
="$ac_save_LIBS"
9538 if test "x$no_gtk" = x
; then
9539 echo "$ac_t""yes" 1>&6
9542 echo "$ac_t""no" 1>&6
9552 if test -z "$wx_cv_lib_gtk"; then
9555 wx_cv_cflags_gtk
=$GTK_CFLAGS
9556 wx_cv_libs_gtk
=$GTK_LIBS
9563 if test "$gtk_version_cached" = 1; then
9564 echo "$ac_t""$wx_cv_lib_gtk" 1>&6
9567 case "$wx_cv_lib_gtk" in
9575 *) { echo "configure: error:
9576 Please check that gtk-config is in path, the directory
9577 where GTK+ libraries are installed (returned by
9578 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
9579 equivalent variable and GTK+ is version 1.2.3 or above.
9584 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
9585 GUI_TK_LIBRARY
="$wx_cv_libs_gtk"
9587 AFMINSTALL
=afminstall
9591 echo $ac_n "checking for gdk_im_open in -lgdk""... $ac_c" 1>&6
9592 echo "configure:9593: checking for gdk_im_open in -lgdk" >&5
9593 ac_lib_var
=`echo gdk'_'gdk_im_open | sed 'y%./+-%__p_%'`
9594 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9595 echo $ac_n "(cached) $ac_c" 1>&6
9597 ac_save_LIBS
="$LIBS"
9599 cat > conftest.
$ac_ext <<EOF
9600 #line 9601 "configure"
9601 #include "confdefs.h"
9602 /* Override any gcc2 internal prototype to avoid an error. */
9603 /* We use char because int might match the return type of a gcc2
9604 builtin and then its argument prototype would still apply. */
9611 if { (eval echo configure
:9612: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9613 eval "ac_cv_lib_$ac_lib_var=yes"
9615 echo "configure: failed program was:" >&5
9616 cat conftest.
$ac_ext >&5
9618 eval "ac_cv_lib_$ac_lib_var=no"
9621 LIBS
="$ac_save_LIBS"
9624 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9625 echo "$ac_t""yes" 1>&6
9626 cat >> confdefs.h
<<\EOF
9631 echo "$ac_t""no" 1>&6
9636 if test "$wxUSE_MGL" = 1; then
9638 echo $ac_n "checking for SciTech MGL library""... $ac_c" 1>&6
9639 echo "configure:9640: checking for SciTech MGL library" >&5
9640 if test "x$MGL_ROOT" = x
; then
9641 echo "$ac_t""not found" 1>&6
9642 { echo "configure: error: Cannot find MGL library. Make sure MGL_ROOT is set." 1>&2; exit 1; }
9644 echo "$ac_t""$MGL_ROOT" 1>&6
9647 MGL_OS
=linux
/gcc
/glibc
9650 if test "$wxUSE_DEBUG_FLAG" = yes ; then
9651 if test -f $MGL_ROOT/lib
/debug
/$MGL_OS/libmgl.a
; then
9655 if test "x$MGL_LIB_TYPE" = x
; then
9656 if test -f $MGL_ROOT/lib
/release
/$MGL_OS/libmgl.a
; then
9657 MGL_LIB_TYPE
=release
9659 { echo "configure: error: Cannot find MGL libraries, make sure they are compiled." 1>&2; exit 1; }
9663 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
9664 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$MGL_LIB_TYPE/$MGL_OS -lmgl -lmglcpp -lpm"
9666 AFMINSTALL
=afminstall
9671 if test "$wxUSE_WINE" = 1; then
9672 echo $ac_n "checking for WINE includes""... $ac_c" 1>&6
9673 echo "configure:9674: checking for WINE includes" >&5
9676 for ac_dir
in $SEARCH_INCLUDE;
9678 if test -f "$ac_dir/windows.h"; then
9679 ac_find_includes
=$ac_dir
9684 if test "$ac_find_includes" != "" ; then
9685 echo "$ac_t""found $ac_find_includes" 1>&6
9686 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE -I$ac_find_includes"
9688 echo "$ac_t""no" 1>&6
9689 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
9693 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
9694 echo "configure:9695: checking for Xpm library" >&5
9697 for ac_dir
in $SEARCH_LIB;
9699 for ac_extension
in a so sl dylib
; do
9700 if test -f "$ac_dir/libXpm.$ac_extension"; then
9701 ac_find_libraries
=$ac_dir
9707 if test "$ac_find_libraries" != "" ; then
9708 GUI_TK_LIBRARY
="-L$ac_find_libraries"
9710 cat >> confdefs.h
<<\EOF
9711 #define wxHAVE_LIB_XPM 1
9714 echo "$ac_t""found at $ac_find_libraries" 1>&6
9716 echo "$ac_t""no" 1>&6
9717 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
9721 echo $ac_n "checking for Mesa library""... $ac_c" 1>&6
9722 echo "configure:9723: checking for Mesa library" >&5
9725 for ac_dir
in $SEARCH_LIB;
9727 for ac_extension
in a so sl dylib
; do
9728 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
9729 ac_find_libraries
=$ac_dir
9735 if test "$ac_find_libraries" != "" ; then
9736 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -L$ac_find_libraries"
9737 MESA_LINK
="-lMesaGL"
9738 echo "$ac_t""found at $ac_find_libraries" 1>&6
9740 { echo "configure: error: no" 1>&2; exit 1; }
9743 GUI_TK_LINK
="-lwine $MESA_LINK $XPM_LINK -lXxf86dga -lXxf86vm -lSM -lICE -lXext -lXmu -lX11 -lncurses"
9744 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GUI_TK_LINK"
9751 # If we find X, set shell vars x_includes and x_libraries to the
9752 # paths, otherwise set no_x=yes.
9753 # Uses ac_ vars as temps to allow command line to override cache and checks.
9754 # --without-x overrides everything else, but does not touch the cache.
9755 echo $ac_n "checking for X""... $ac_c" 1>&6
9756 echo "configure:9757: checking for X" >&5
9758 # Check whether --with-x or --without-x was given.
9759 if test "${with_x+set}" = set; then
9764 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9765 if test "x$with_x" = xno
; then
9766 # The user explicitly disabled X.
9769 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
9770 # Both variables are already set.
9773 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
9774 echo $ac_n "(cached) $ac_c" 1>&6
9776 # One or both of the vars are not set, and there is no cached value.
9777 ac_x_includes
=NO ac_x_libraries
=NO
9779 if mkdir conftestdir
; then
9781 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
9782 cat > Imakefile
<<'EOF'
9784 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
9786 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
9787 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
9788 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
9789 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9790 for ac_extension
in a so sl
; do
9791 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
9792 test -f $ac_im_libdir/libX11.
$ac_extension; then
9793 ac_im_usrlibdir
=$ac_im_libdir; break
9796 # Screen out bogus values from the imake configuration. They are
9797 # bogus both because they are the default anyway, and because
9798 # using them would break gcc on systems where it needs fixed includes.
9799 case "$ac_im_incroot" in
9801 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;;
9803 case "$ac_im_usrlibdir" in
9805 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;;
9812 if test "$ac_x_includes" = NO
; then
9813 # Guess where to find include files, by looking for this one X11 .h file.
9814 test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
9816 # First, try using that file with no special directory specified.
9817 cat > conftest.
$ac_ext <<EOF
9818 #line 9819 "configure"
9819 #include "confdefs.h"
9820 #include <$x_direct_test_include>
9822 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9823 { (eval echo configure
:9824: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9824 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9825 if test -z "$ac_err"; then
9827 # We can compile using X headers with no special include directory.
9831 echo "configure: failed program was:" >&5
9832 cat conftest.
$ac_ext >&5
9834 # Look for the header file in a standard set of common directories.
9835 # Check X11 before X11Rn because it is often a symlink to the current release.
9838 /usr
/X
11R
6/include \
9839 /usr
/X
11R
5/include \
9840 /usr
/X
11R
4/include \
9843 /usr
/include
/X11R6 \
9844 /usr
/include
/X11R5 \
9845 /usr
/include
/X11R4 \
9847 /usr
/local
/X
11/include \
9848 /usr
/local
/X
11R
6/include \
9849 /usr
/local
/X
11R
5/include \
9850 /usr
/local
/X
11R
4/include \
9852 /usr
/local
/include
/X11 \
9853 /usr
/local
/include
/X11R6 \
9854 /usr
/local
/include
/X11R5 \
9855 /usr
/local
/include
/X11R4 \
9859 /usr
/XFree
86/include
/X11 \
9862 /usr
/local
/include \
9863 /usr
/unsupported
/include \
9864 /usr
/athena
/include \
9865 /usr
/local
/x
11r
5/include \
9866 /usr
/lpp
/Xamples
/include \
9868 /usr
/openwin
/include \
9869 /usr
/openwin
/share
/include \
9872 if test -r "$ac_dir/$x_direct_test_include"; then
9873 ac_x_includes
=$ac_dir
9879 fi # $ac_x_includes = NO
9881 if test "$ac_x_libraries" = NO
; then
9882 # Check for the libraries.
9884 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
9885 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
9887 # See if we find them without any special options.
9888 # Don't add to $LIBS permanently.
9889 ac_save_LIBS
="$LIBS"
9890 LIBS
="-l$x_direct_test_library $LIBS"
9891 cat > conftest.
$ac_ext <<EOF
9892 #line 9893 "configure"
9893 #include "confdefs.h"
9896 ${x_direct_test_function}()
9899 if { (eval echo configure
:9900: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9901 LIBS
="$ac_save_LIBS"
9902 # We can link X programs with no special library path.
9905 echo "configure: failed program was:" >&5
9906 cat conftest.
$ac_ext >&5
9908 LIBS
="$ac_save_LIBS"
9909 # First see if replacing the include by lib works.
9910 # Check X11 before X11Rn because it is often a symlink to the current release.
9911 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib/` \
9922 /usr
/local
/X
11/lib \
9923 /usr
/local
/X
11R
6/lib \
9924 /usr
/local
/X
11R
5/lib \
9925 /usr
/local
/X
11R
4/lib \
9927 /usr
/local
/lib
/X11 \
9928 /usr
/local
/lib
/X11R6 \
9929 /usr
/local
/lib
/X11R5 \
9930 /usr
/local
/lib
/X11R4 \
9934 /usr
/XFree
86/lib
/X11 \
9938 /usr
/unsupported
/lib \
9940 /usr
/local
/x
11r
5/lib \
9941 /usr
/lpp
/Xamples
/lib \
9945 /usr
/openwin
/share
/lib \
9948 for ac_extension
in a so sl
; do
9949 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
9950 ac_x_libraries
=$ac_dir
9957 fi # $ac_x_libraries = NO
9959 if test "$ac_x_includes" = NO
|| test "$ac_x_libraries" = NO
; then
9960 # Didn't find X anywhere. Cache the known absence of X.
9961 ac_cv_have_x
="have_x=no"
9963 # Record where we found X for the cache.
9964 ac_cv_have_x
="have_x=yes \
9965 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
9969 eval "$ac_cv_have_x"
9972 if test "$have_x" != yes; then
9973 echo "$ac_t""$have_x" 1>&6
9976 # If each of the values was on the command line, it overrides each guess.
9977 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
9978 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
9979 # Update the cache value to reflect the command line values.
9980 ac_cv_have_x
="have_x=yes \
9981 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
9982 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
9985 if test "$no_x" = yes; then
9986 # Not all programs may use this symbol, but it does not hurt to define it.
9987 cat >> confdefs.h
<<\EOF
9988 #define X_DISPLAY_MISSING 1
9991 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
9993 if test -n "$x_includes"; then
9994 X_CFLAGS
="$X_CFLAGS -I$x_includes"
9997 # It would also be nice to do this for all -L options, not just this one.
9998 if test -n "$x_libraries"; then
9999 X_LIBS
="$X_LIBS -L$x_libraries"
10000 # For Solaris; some versions of Sun CC require a space after -R and
10001 # others require no space. Words are not sufficient . . . .
10002 case "`(uname -sr) 2>/dev/null`" in
10004 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
10005 echo "configure:10006: checking whether -R must be followed by a space" >&5
10006 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
10007 cat > conftest.
$ac_ext <<EOF
10008 #line 10009 "configure"
10009 #include "confdefs.h"
10015 if { (eval echo configure
:10016: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10019 echo "configure: failed program was:" >&5
10020 cat conftest.
$ac_ext >&5
10025 if test $ac_R_nospace = yes; then
10026 echo "$ac_t""no" 1>&6
10027 X_LIBS
="$X_LIBS -R$x_libraries"
10029 LIBS
="$ac_xsave_LIBS -R $x_libraries"
10030 cat > conftest.
$ac_ext <<EOF
10031 #line 10032 "configure"
10032 #include "confdefs.h"
10038 if { (eval echo configure
:10039: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10042 echo "configure: failed program was:" >&5
10043 cat conftest.
$ac_ext >&5
10048 if test $ac_R_space = yes; then
10049 echo "$ac_t""yes" 1>&6
10050 X_LIBS
="$X_LIBS -R $x_libraries"
10052 echo "$ac_t""neither works" 1>&6
10055 LIBS
="$ac_xsave_LIBS"
10059 # Check for system-dependent libraries X programs must link with.
10060 # Do this before checking for the system-independent R6 libraries
10061 # (-lICE), since we may need -lsocket or whatever for X linking.
10063 if test "$ISC" = yes; then
10064 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
10066 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
10067 # libraries were built with DECnet support. And karl@cs.umb.edu says
10068 # the Alpha needs dnet_stub (dnet does not exist).
10069 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
10070 echo "configure:10071: checking for dnet_ntoa in -ldnet" >&5
10071 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
10072 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10073 echo $ac_n "(cached) $ac_c" 1>&6
10075 ac_save_LIBS
="$LIBS"
10076 LIBS
="-ldnet $LIBS"
10077 cat > conftest.
$ac_ext <<EOF
10078 #line 10079 "configure"
10079 #include "confdefs.h"
10080 /* Override any gcc2 internal prototype to avoid an error. */
10081 /* We use char because int might match the return type of a gcc2
10082 builtin and then its argument prototype would still apply. */
10089 if { (eval echo configure
:10090: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10091 eval "ac_cv_lib_$ac_lib_var=yes"
10093 echo "configure: failed program was:" >&5
10094 cat conftest.
$ac_ext >&5
10096 eval "ac_cv_lib_$ac_lib_var=no"
10099 LIBS
="$ac_save_LIBS"
10102 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10103 echo "$ac_t""yes" 1>&6
10104 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
10106 echo "$ac_t""no" 1>&6
10109 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
10110 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
10111 echo "configure:10112: checking for dnet_ntoa in -ldnet_stub" >&5
10112 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
10113 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10114 echo $ac_n "(cached) $ac_c" 1>&6
10116 ac_save_LIBS
="$LIBS"
10117 LIBS
="-ldnet_stub $LIBS"
10118 cat > conftest.
$ac_ext <<EOF
10119 #line 10120 "configure"
10120 #include "confdefs.h"
10121 /* Override any gcc2 internal prototype to avoid an error. */
10122 /* We use char because int might match the return type of a gcc2
10123 builtin and then its argument prototype would still apply. */
10130 if { (eval echo configure
:10131: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10132 eval "ac_cv_lib_$ac_lib_var=yes"
10134 echo "configure: failed program was:" >&5
10135 cat conftest.
$ac_ext >&5
10137 eval "ac_cv_lib_$ac_lib_var=no"
10140 LIBS
="$ac_save_LIBS"
10143 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10144 echo "$ac_t""yes" 1>&6
10145 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
10147 echo "$ac_t""no" 1>&6
10152 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
10153 # to get the SysV transport functions.
10154 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
10156 # The nsl library prevents programs from opening the X display
10157 # on Irix 5.2, according to dickey@clark.net.
10158 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
10159 echo "configure:10160: checking for gethostbyname" >&5
10160 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
10161 echo $ac_n "(cached) $ac_c" 1>&6
10163 cat > conftest.
$ac_ext <<EOF
10164 #line 10165 "configure"
10165 #include "confdefs.h"
10166 /* System header to define __stub macros and hopefully few prototypes,
10167 which can conflict with char gethostbyname(); below. */
10168 #include <assert.h>
10169 /* Override any gcc2 internal prototype to avoid an error. */
10170 /* We use char because int might match the return type of a gcc2
10171 builtin and then its argument prototype would still apply. */
10172 char gethostbyname();
10176 /* The GNU C library defines this for functions which it implements
10177 to always fail with ENOSYS. Some functions are actually named
10178 something starting with __ and the normal name is an alias. */
10179 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
10187 if { (eval echo configure
:10188: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10189 eval "ac_cv_func_gethostbyname=yes"
10191 echo "configure: failed program was:" >&5
10192 cat conftest.
$ac_ext >&5
10194 eval "ac_cv_func_gethostbyname=no"
10199 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
10200 echo "$ac_t""yes" 1>&6
10203 echo "$ac_t""no" 1>&6
10206 if test $ac_cv_func_gethostbyname = no
; then
10207 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
10208 echo "configure:10209: checking for gethostbyname in -lnsl" >&5
10209 ac_lib_var
=`echo nsl'_'gethostbyname | 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"
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. */
10221 char gethostbyname();
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 -lnsl"
10244 echo "$ac_t""no" 1>&6
10249 # lieder@skyler.mavd.honeywell.com says without -lsocket,
10250 # socket/setsockopt and other routines are undefined under SCO ODT
10251 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
10252 # on later versions), says simon@lia.di.epfl.ch: it contains
10253 # gethostby* variants that don't use the nameserver (or something).
10254 # -lsocket must be given before -lnsl if both are needed.
10255 # We assume that if connect needs -lnsl, so does gethostbyname.
10256 echo $ac_n "checking for connect""... $ac_c" 1>&6
10257 echo "configure:10258: checking for connect" >&5
10258 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
10259 echo $ac_n "(cached) $ac_c" 1>&6
10261 cat > conftest.
$ac_ext <<EOF
10262 #line 10263 "configure"
10263 #include "confdefs.h"
10264 /* System header to define __stub macros and hopefully few prototypes,
10265 which can conflict with char connect(); below. */
10266 #include <assert.h>
10267 /* Override any gcc2 internal prototype to avoid an error. */
10268 /* We use char because int might match the return type of a gcc2
10269 builtin and then its argument prototype would still apply. */
10274 /* The GNU C library defines this for functions which it implements
10275 to always fail with ENOSYS. Some functions are actually named
10276 something starting with __ and the normal name is an alias. */
10277 #if defined (__stub_connect) || defined (__stub___connect)
10285 if { (eval echo configure
:10286: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10287 eval "ac_cv_func_connect=yes"
10289 echo "configure: failed program was:" >&5
10290 cat conftest.
$ac_ext >&5
10292 eval "ac_cv_func_connect=no"
10297 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
10298 echo "$ac_t""yes" 1>&6
10301 echo "$ac_t""no" 1>&6
10304 if test $ac_cv_func_connect = no
; then
10305 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
10306 echo "configure:10307: checking for connect in -lsocket" >&5
10307 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
10308 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10309 echo $ac_n "(cached) $ac_c" 1>&6
10311 ac_save_LIBS
="$LIBS"
10312 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
10313 cat > conftest.
$ac_ext <<EOF
10314 #line 10315 "configure"
10315 #include "confdefs.h"
10316 /* Override any gcc2 internal prototype to avoid an error. */
10317 /* We use char because int might match the return type of a gcc2
10318 builtin and then its argument prototype would still apply. */
10325 if { (eval echo configure
:10326: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10327 eval "ac_cv_lib_$ac_lib_var=yes"
10329 echo "configure: failed program was:" >&5
10330 cat conftest.
$ac_ext >&5
10332 eval "ac_cv_lib_$ac_lib_var=no"
10335 LIBS
="$ac_save_LIBS"
10338 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10339 echo "$ac_t""yes" 1>&6
10340 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
10342 echo "$ac_t""no" 1>&6
10347 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
10348 echo $ac_n "checking for remove""... $ac_c" 1>&6
10349 echo "configure:10350: checking for remove" >&5
10350 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
10351 echo $ac_n "(cached) $ac_c" 1>&6
10353 cat > conftest.
$ac_ext <<EOF
10354 #line 10355 "configure"
10355 #include "confdefs.h"
10356 /* System header to define __stub macros and hopefully few prototypes,
10357 which can conflict with char remove(); below. */
10358 #include <assert.h>
10359 /* Override any gcc2 internal prototype to avoid an error. */
10360 /* We use char because int might match the return type of a gcc2
10361 builtin and then its argument prototype would still apply. */
10366 /* The GNU C library defines this for functions which it implements
10367 to always fail with ENOSYS. Some functions are actually named
10368 something starting with __ and the normal name is an alias. */
10369 #if defined (__stub_remove) || defined (__stub___remove)
10377 if { (eval echo configure
:10378: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10379 eval "ac_cv_func_remove=yes"
10381 echo "configure: failed program was:" >&5
10382 cat conftest.
$ac_ext >&5
10384 eval "ac_cv_func_remove=no"
10389 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
10390 echo "$ac_t""yes" 1>&6
10393 echo "$ac_t""no" 1>&6
10396 if test $ac_cv_func_remove = no
; then
10397 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
10398 echo "configure:10399: checking for remove in -lposix" >&5
10399 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
10400 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10401 echo $ac_n "(cached) $ac_c" 1>&6
10403 ac_save_LIBS
="$LIBS"
10404 LIBS
="-lposix $LIBS"
10405 cat > conftest.
$ac_ext <<EOF
10406 #line 10407 "configure"
10407 #include "confdefs.h"
10408 /* Override any gcc2 internal prototype to avoid an error. */
10409 /* We use char because int might match the return type of a gcc2
10410 builtin and then its argument prototype would still apply. */
10417 if { (eval echo configure
:10418: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10419 eval "ac_cv_lib_$ac_lib_var=yes"
10421 echo "configure: failed program was:" >&5
10422 cat conftest.
$ac_ext >&5
10424 eval "ac_cv_lib_$ac_lib_var=no"
10427 LIBS
="$ac_save_LIBS"
10430 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10431 echo "$ac_t""yes" 1>&6
10432 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
10434 echo "$ac_t""no" 1>&6
10439 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
10440 echo $ac_n "checking for shmat""... $ac_c" 1>&6
10441 echo "configure:10442: checking for shmat" >&5
10442 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
10443 echo $ac_n "(cached) $ac_c" 1>&6
10445 cat > conftest.
$ac_ext <<EOF
10446 #line 10447 "configure"
10447 #include "confdefs.h"
10448 /* System header to define __stub macros and hopefully few prototypes,
10449 which can conflict with char shmat(); below. */
10450 #include <assert.h>
10451 /* Override any gcc2 internal prototype to avoid an error. */
10452 /* We use char because int might match the return type of a gcc2
10453 builtin and then its argument prototype would still apply. */
10458 /* The GNU C library defines this for functions which it implements
10459 to always fail with ENOSYS. Some functions are actually named
10460 something starting with __ and the normal name is an alias. */
10461 #if defined (__stub_shmat) || defined (__stub___shmat)
10469 if { (eval echo configure
:10470: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10471 eval "ac_cv_func_shmat=yes"
10473 echo "configure: failed program was:" >&5
10474 cat conftest.
$ac_ext >&5
10476 eval "ac_cv_func_shmat=no"
10481 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
10482 echo "$ac_t""yes" 1>&6
10485 echo "$ac_t""no" 1>&6
10488 if test $ac_cv_func_shmat = no
; then
10489 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
10490 echo "configure:10491: checking for shmat in -lipc" >&5
10491 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
10492 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10493 echo $ac_n "(cached) $ac_c" 1>&6
10495 ac_save_LIBS
="$LIBS"
10497 cat > conftest.
$ac_ext <<EOF
10498 #line 10499 "configure"
10499 #include "confdefs.h"
10500 /* Override any gcc2 internal prototype to avoid an error. */
10501 /* We use char because int might match the return type of a gcc2
10502 builtin and then its argument prototype would still apply. */
10509 if { (eval echo configure
:10510: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10511 eval "ac_cv_lib_$ac_lib_var=yes"
10513 echo "configure: failed program was:" >&5
10514 cat conftest.
$ac_ext >&5
10516 eval "ac_cv_lib_$ac_lib_var=no"
10519 LIBS
="$ac_save_LIBS"
10522 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10523 echo "$ac_t""yes" 1>&6
10524 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
10526 echo "$ac_t""no" 1>&6
10532 # Check for libraries that X11R6 Xt/Xaw programs need.
10533 ac_save_LDFLAGS
="$LDFLAGS"
10534 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
10535 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
10536 # check for ICE first), but we must link in the order -lSM -lICE or
10537 # we get undefined symbols. So assume we have SM if we have ICE.
10538 # These have to be linked with before -lX11, unlike the other
10539 # libraries we check for below, so use a different variable.
10540 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
10541 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
10542 echo "configure:10543: checking for IceConnectionNumber in -lICE" >&5
10543 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
10544 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10545 echo $ac_n "(cached) $ac_c" 1>&6
10547 ac_save_LIBS
="$LIBS"
10548 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
10549 cat > conftest.
$ac_ext <<EOF
10550 #line 10551 "configure"
10551 #include "confdefs.h"
10552 /* Override any gcc2 internal prototype to avoid an error. */
10553 /* We use char because int might match the return type of a gcc2
10554 builtin and then its argument prototype would still apply. */
10555 char IceConnectionNumber();
10558 IceConnectionNumber()
10561 if { (eval echo configure
:10562: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10563 eval "ac_cv_lib_$ac_lib_var=yes"
10565 echo "configure: failed program was:" >&5
10566 cat conftest.
$ac_ext >&5
10568 eval "ac_cv_lib_$ac_lib_var=no"
10571 LIBS
="$ac_save_LIBS"
10574 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10575 echo "$ac_t""yes" 1>&6
10576 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
10578 echo "$ac_t""no" 1>&6
10581 LDFLAGS
="$ac_save_LDFLAGS"
10585 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
10586 LDFLAGS
="$LDFLAGS $X_LIBS"
10588 if test "$wxUSE_MOTIF" = 1; then
10589 if test "$no_x" = "yes"; then
10590 { echo "configure: error: X11 not found" 1>&2; exit 1; }
10593 GUI_TK_LIBRARY
="$X_LIBS"
10594 TOOLKIT_INCLUDE
="$X_CFLAGS"
10596 AFMINSTALL
=afminstall
10599 COMPILED_X_PROGRAM
=0
10601 echo $ac_n "checking for Motif/Lesstif headers""... $ac_c" 1>&6
10602 echo "configure:10603: checking for Motif/Lesstif headers" >&5
10605 for ac_dir
in $SEARCH_INCLUDE;
10607 if test -f "$ac_dir/Xm/Xm.h"; then
10608 ac_find_includes
=$ac_dir
10613 if test "$ac_find_includes" != "" ; then
10614 echo "$ac_t""found $ac_find_includes" 1>&6
10616 cat > conftest.
$ac_ext <<EOF
10617 #line 10618 "configure"
10618 #include "confdefs.h"
10626 version = xmUseVersion;
10630 if { (eval echo configure
:10631: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10633 echo "$ac_t""found in default search path" 1>&6
10634 COMPILED_X_PROGRAM
=1
10637 echo "configure: failed program was:" >&5
10638 cat conftest.
$ac_ext >&5
10641 echo "$ac_t""no" 1>&6
10642 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
10649 if test "$COMPILED_X_PROGRAM" = 0; then
10650 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
10651 echo "configure:10652: checking for Motif/Lesstif library" >&5
10654 for ac_dir
in $SEARCH_LIB;
10656 for ac_extension
in a so sl dylib
; do
10657 if test -f "$ac_dir/libXm.$ac_extension"; then
10658 ac_find_libraries
=$ac_dir
10664 if test "$ac_find_libraries" != "" ; then
10666 ac_path_to_include
=$ac_find_includes
10667 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
10669 if test $result = 0; then
10670 ac_path_to_include
=""
10672 ac_path_to_include
="-I$ac_find_includes"
10676 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
10678 if test $result = 0; then
10681 ac_path_to_link
="-L$ac_find_libraries"
10685 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
10686 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE $ac_path_to_include"
10687 echo "$ac_t""found at $ac_find_libraries" 1>&6
10689 cat > conftest.
$ac_ext <<EOF
10690 #line 10691 "configure"
10691 #include "confdefs.h"
10699 version = xmUseVersion;
10703 if { (eval echo configure
:10704: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10706 echo "$ac_t""found in default search path" 1>&6
10707 COMPILED_X_PROGRAM
=1
10710 echo "configure: failed program was:" >&5
10711 cat conftest.
$ac_ext >&5
10714 echo "$ac_t""no" 1>&6
10715 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
10725 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
10726 echo "configure:10727: checking for Xpm library" >&5
10729 for ac_dir
in $SEARCH_LIB;
10731 for ac_extension
in a so sl dylib
; do
10732 if test -f "$ac_dir/libXpm.$ac_extension"; then
10733 ac_find_libraries
=$ac_dir
10739 if test "$ac_find_libraries" != "" ; then
10741 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
10743 if test $result = 0; then
10746 ac_path_to_link
="-L$ac_find_libraries"
10749 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
10751 cat >> confdefs.h
<<\EOF
10752 #define wxHAVE_LIB_XPM 1
10755 echo "$ac_t""found at $ac_find_libraries" 1>&6
10757 cat > conftest.
$ac_ext <<EOF
10758 #line 10759 "configure"
10759 #include "confdefs.h"
10761 #include <X11/xpm.h>
10767 version = XpmLibraryVersion();
10771 if { (eval echo configure
:10772: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10775 cat >> confdefs.h
<<\EOF
10776 #define wxHAVE_LIB_XPM 1
10779 echo "$ac_t""found in default search path" 1>&6
10780 COMPILED_X_PROGRAM
=0
10783 echo "configure: failed program was:" >&5
10784 cat conftest.
$ac_ext >&5
10787 echo "$ac_t""no" 1>&6
10788 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
10795 GUI_TK_LINK
="-lXm $XPM_LINK -lXmu -lXext -lXt -lX11"
10796 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GUI_TK_LINK"
10801 if test "$wxUSE_MAC" = 1; then
10806 if test "$wxUSE_PM" = 1; then
10811 if test "$TOOLKIT" != "PM" ; then
10812 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
10817 TOOLKIT_NAME
="${TOOLKIT_DIR}"
10819 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}"
10821 if test "$TOOLKIT_NAME" = "motif"; then
10822 TOOLKIT_VPATH
="${TOOLKIT_VPATH}${PATH_IFS}\${top_srcdir}/src/motif/xmcombo"
10825 if test "$wxUSE_UNIVERSAL" = "yes"; then
10826 TOOLKIT_NAME
="${TOOLKIT_NAME}univ"
10827 UNIV_VPATH
="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
10828 TOOLKIT_VPATH
="${UNIV_VPATH}${PATH_IFS}${TOOLKIT_VPATH}"
10831 SETUPH_DIR
="${TOOLKIT_DIR}"
10834 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
10835 TOOLKIT_NAME
="${TOOLKIT_NAME}d"
10838 TOOLKIT_DEF
="-D__WX${TOOLKIT}__"
10839 if test "$wxUSE_UNIVERSAL" = "yes"; then
10840 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WXUNIVERSAL__"
10843 WX_LIBRARY
="wx_${TOOLKIT_NAME}"
10845 if test "$wxUSE_UNIVERSAL" = "yes"; then
10846 ALL_OBJECTS
="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
10848 ALL_OBJECTS
="\$(GUIOBJS)"
10851 ALL_OBJECTS
="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
10853 if test "$TOOLKIT" != "MSW"; then
10854 ALL_OBJECTS
="${ALL_OBJECTS} \$(UNIXOBJS)"
10857 if test "$wxUSE_HTML" = "yes"; then
10858 ALL_OBJECTS
="${ALL_OBJECTS} \$(HTMLOBJS)"
10861 if test "$TOOLKIT" != "MSW"; then
10862 if test "$wxUSE_ODBC" = "yes" ; then
10863 ALL_OBJECTS
="${ALL_OBJECTS} \$(IODBCOBJS)"
10867 if test "x$REGEX_INCLUDE" != "x" ; then
10868 ALL_OBJECTS
="${ALL_OBJECTS} \$(REGEXOBJS)"
10871 if test "$wxUSE_LIBJPEG" = "yes" ; then
10872 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
10874 if test "$wxUSE_LIBTIFF" = "yes" ; then
10875 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
10877 if test "$wxUSE_LIBPNG" = "yes" ; then
10878 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
10880 if test "$wxUSE_ZLIB" = "yes" ; then
10881 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
10883 if test "$wxUSE_FREETYPE" = "yes" ; then
10884 ALL_OBJECTS
="${ALL_OBJECTS} \$(FREETYPEOBJS)"
10887 if test "$wxUSE_UNIVERSAL" = "yes"; then
10888 ALL_DEPFILES
="\$(GUI_LOWLEVEL_DEPS) \$(UNIVDEPS)"
10890 ALL_DEPFILES
="\$(GUIDEPS)"
10893 ALL_DEPFILES
="${ALL_DEPFILES} \$(COMMONDEPS) \$(GENERICDEPS)"
10895 if test "$TOOLKIT" != "MSW"; then
10896 ALL_DEPFILES
="${ALL_DEPFILES} \$(UNIXDEPS)"
10899 if test "$wxUSE_HTML" = "yes"; then
10900 ALL_DEPFILES
="${ALL_DEPFILES} \$(HTMLDEPS)"
10903 PORT_FILES
="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
10904 if test "$wxUSE_UNIVERSAL" = "yes"; then
10905 PORT_FILES
="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
10907 RPM_FILES
="src/\$(TOOLKITDIR)/rpmfiles.lst"
10908 RPM_SPEC
="wx\$(TOOLKIT).spec"
10910 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
10911 DISTDIR
="wx\$(TOOLKIT)"
10919 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
10920 TOOLKIT_NAME
="${TOOLKIT_DIR}d"
10922 TOOLKIT_NAME
="${TOOLKIT_DIR}"
10925 TOOLKIT_DEF
="-D__WXBASE__"
10927 ALL_OBJECTS
="\$(BASE_OBJS) \$(BASE_UNIX_OBJS)"
10928 ALL_DEPFILES
="\$(BASE_DEPS) \$(BASE_UNIX_DEPS)"
10930 if test "x$REGEX_INCLUDE" != "x" ; then
10931 ALL_OBJECTS
="${ALL_OBJECTS} \$(REGEXOBJS)"
10934 if test "$wxUSE_ZLIB" = "yes" ; then
10935 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
10938 WX_LIBRARY
="wx_${TOOLKIT_NAME}"
10940 PORT_FILES
="\${top_srcdir}/src/files.lst"
10941 RPM_FILES
="src/rpmfiles.lst"
10942 RPM_SPEC
="wxBase.spec"
10944 GUIDIST
="BASE_DIST"
10948 WX_LIBRARY_NAME
="lib${WX_LIBRARY}.la"
10949 WX_LIBRARY_NAME_GL
="lib${WX_LIBRARY}_gl.la"
10951 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
10952 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY}_gl.a"
10956 WX_LIBRARY_NAME_SHARED
="wx${WX_MAJOR_VERSION_NUMBER}${WX_MINOR_VERSION_NUMBER}_${WX_RELEASE_NUMBER}.dll"
10959 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}-${WX_RELEASE}.so.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
10960 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.so.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
10964 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}-${WX_RELEASE}.so.${WX_CURRENT}"
10965 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}-${WX_RELEASE}.so"
10966 WX_LIBRARY_LINK3
="lib${WX_LIBRARY}.so"
10967 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.so.${WX_CURRENT}"
10968 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.so"
10969 WX_LIBRARY_LINK3_GL
="lib${WX_LIBRARY}_gl.so"
10975 BURNT_LIBRARY_NAME
=
10976 WX_TARGET_LIBRARY_SONAME
=
10979 if test "$wxUSE_SHARED" = "yes"; then
10982 if test "$GCC" = yes ; then
10983 SHARED_LD
="${CXX} -shared -fPIC -o"
10986 LDFLAGS
="-L/usr/lib"
10988 SHARED_LD
="${CXX} -b -o"
10991 WX_LIBRARY_NAME_SHARED
="libwx_${TOOLKIT_NAME}.sl"
10992 WX_LIBRARY_NAME_SHARED_GL
="libwx_${TOOLKIT_NAME}_gl.sl"
10993 if test "$wxUSE_OPENGL" = "yes"; then
10994 WX_ALL_INSTALLED
="preinstall_gl"
10995 WX_ALL
="${WX_LIBRARY_NAME_SHARED} ${WX_LIBRARY_NAME_SHARED_GL}"
10997 WX_ALL
="${WX_LIBRARY_NAME_SHARED}"
11002 SHARED_LD
="${CXX} -shared -o"
11004 if test "$wxUSE_BURNT_NAME" = "yes" ; then
11005 BURNT_LIBRARY_NAME
="-Wl,-soname,${WX_LIBRARY_LINK1}"
11006 BURNT_LIBRARY_NAME_GL
="-Wl,-soname,${WX_LIBRARY_LINK1_GL}"
11007 WX_TARGET_LIBRARY_SONAME
="-Wl,-soname,\$(TARGETLIB_LINK1)"
11009 if test "$wxUSE_OPENGL" = "yes"; then
11010 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
11011 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
11013 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
11014 WX_ALL
="CREATE_LINKS"
11017 *-*-irix5* | *-*-irix6* )
11018 if test "$GCC" = yes ; then
11019 SHARED_LD
="${CXX} -shared -o"
11022 SHARED_LD
="${CXX} -shared -o"
11024 if test "$wxUSE_OPENGL" = "yes"; then
11025 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
11026 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
11028 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
11029 WX_ALL
="CREATE_LINKS"
11033 if test "$GCC" = yes ; then
11034 SHARED_LD
="${CXX} -shared -o"
11037 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
11039 SHARED_LD
="${CXX} -G -o"
11042 if test "$wxUSE_OPENGL" = "yes"; then
11043 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
11044 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
11046 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
11047 WX_ALL
="CREATE_LINKS"
11051 SHARED_LD
="${CXX} -shared -o"
11053 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
11054 WX_ALL
="CREATE_LINKS"
11056 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* )
11057 SHARED_LD
="${CXX} -shared -o"
11059 if test "$wxUSE_OPENGL" = "yes"; then
11060 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
11061 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
11063 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
11064 WX_ALL
="CREATE_LINKS"
11068 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__UNIX__ -D__DARWIN__ -D__POWERPC__"
11069 CFLAGS
="${CFLAGS} -fno-common"
11070 CPPFLAGS
="${CPPFLAGS} -fno-common"
11071 SHARED_LD
="${CXX} -dynamiclib -o"
11072 PIC_FLAG
="-dynamic -fPIC"
11073 if test "$wxUSE_OPENGL" = "yes"; then
11074 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
11075 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
11077 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
11078 WX_ALL
="CREATE_LINKS"
11080 if test "$wxUSE_MAC" = 1 ; then
11081 WX_ALL
="${WX_ALL} ./lib/lib${WX_LIBRARY}-${WX_RELEASE}.r"
11083 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}-${WX_RELEASE}.dylib.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
11084 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.dylib.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
11085 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}-${WX_RELEASE}.dylib.${WX_CURRENT}"
11086 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}-${WX_RELEASE}.dylib"
11087 WX_LIBRARY_LINK3
="lib${WX_LIBRARY}.dylib"
11088 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.dylib.${WX_CURRENT}"
11089 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.dylib"
11090 WX_LIBRARY_LINK3_GL
="lib${WX_LIBRARY}_gl.dylib"
11093 SHARED_LD
="${CXX} -shared -o"
11095 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
11096 WX_ALL
="CREATE_LINKS"
11099 SHARED_LD
="${CXX} -shared -o"
11101 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
11102 WX_ALL
="CREATE_LINKS"
11105 SHARED_LD
="${CXX} -shared -o"
11107 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
11108 WX_ALL
="CREATE_LINKS"
11111 SHARED_LD
="/usr/lpp/xlC/bin/makeC++SharedLib -p 0 -o"
11112 WX_ALL
=${WX_LIBRARY_NAME_SHARED}
11115 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
11116 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
11117 if test "$wxUSE_OPENGL" = "yes"; then
11118 WX_ALL_INSTALLED
="preinstall_gl"
11119 WX_ALL
="${WX_LIBRARY_NAME_STATIC} ${WX_LIBRARY_NAME_STATIC_GL}"
11121 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
11125 WX_LIBRARY_NAME_STATIC
="lib/libwx${WX_MAJOR_VERSION_NUMBER}${WX_MINOR_VERSION_NUMBER}_${WX_RELEASE_NUMBER}.a"
11126 SHARED_LD
="${CC} -shared -Wl,--out-implib,${WX_LIBRARY_NAME_STATIC} -o"
11127 TOOLKIT_DEF
="${TOOLKIT_DEF} -DWXUSINGDLL=1"
11128 WXMSW_DLL_DEFINES
="-UWXUSINGDLL -DWXMAKINGDLL=1 -D_DLL=1 -D_WINDLL=1"
11129 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
11130 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
11131 if test "$wxUSE_OPENGL" = "yes"; then
11132 WX_ALL_INSTALLED
="preinstall_gl"
11133 WX_ALL
="${WX_LIBRARY_NAME_SHARED} ${WX_LIBRARY_NAME_SHARED_GL}"
11135 WX_ALL
="${WX_LIBRARY_NAME_SHARED}"
11139 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
11140 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
11143 SHARED_LD
="${LD} -shared -o"
11145 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
11146 WX_ALL
="CREATE_LINKS"
11149 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
11152 if test "x$WX_TARGET_LIBRARY" = "x"; then
11153 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
11154 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
11156 WX_TARGET_LIBRARY_TYPE
="so"
11158 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
11159 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
11161 if test "$wxUSE_OPENGL" = "yes"; then
11162 WX_ALL_INSTALLED
="preinstall_gl"
11163 WX_ALL
="${WX_LIBRARY_NAME_STATIC} ${WX_LIBRARY_NAME_STATIC_GL}"
11165 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
11168 if test "$wxUSE_GUI" = "no"; then
11169 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
11172 WX_TARGET_LIBRARY_TYPE
="a"
11176 for ac_hdr
in strings.h
11178 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11179 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11180 echo "configure:11181: checking for $ac_hdr" >&5
11181 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11182 echo $ac_n "(cached) $ac_c" 1>&6
11184 cat > conftest.
$ac_ext <<EOF
11185 #line 11186 "configure"
11186 #include "confdefs.h"
11189 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11190 { (eval echo configure
:11191: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11191 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11192 if test -z "$ac_err"; then
11194 eval "ac_cv_header_$ac_safe=yes"
11197 echo "configure: failed program was:" >&5
11198 cat conftest.
$ac_ext >&5
11200 eval "ac_cv_header_$ac_safe=no"
11204 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11205 echo "$ac_t""yes" 1>&6
11206 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11207 cat >> confdefs.h
<<EOF
11208 #define $ac_tr_hdr 1
11212 echo "$ac_t""no" 1>&6
11216 for ac_hdr
in stdlib.h
11218 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11219 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11220 echo "configure:11221: checking for $ac_hdr" >&5
11221 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11222 echo $ac_n "(cached) $ac_c" 1>&6
11224 cat > conftest.
$ac_ext <<EOF
11225 #line 11226 "configure"
11226 #include "confdefs.h"
11229 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11230 { (eval echo configure
:11231: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11231 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11232 if test -z "$ac_err"; then
11234 eval "ac_cv_header_$ac_safe=yes"
11237 echo "configure: failed program was:" >&5
11238 cat conftest.
$ac_ext >&5
11240 eval "ac_cv_header_$ac_safe=no"
11244 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11245 echo "$ac_t""yes" 1>&6
11246 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11247 cat >> confdefs.h
<<EOF
11248 #define $ac_tr_hdr 1
11252 echo "$ac_t""no" 1>&6
11256 for ac_hdr
in unistd.h
11258 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11259 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11260 echo "configure:11261: checking for $ac_hdr" >&5
11261 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11262 echo $ac_n "(cached) $ac_c" 1>&6
11264 cat > conftest.
$ac_ext <<EOF
11265 #line 11266 "configure"
11266 #include "confdefs.h"
11269 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11270 { (eval echo configure
:11271: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11271 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11272 if test -z "$ac_err"; then
11274 eval "ac_cv_header_$ac_safe=yes"
11277 echo "configure: failed program was:" >&5
11278 cat conftest.
$ac_ext >&5
11280 eval "ac_cv_header_$ac_safe=no"
11284 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11285 echo "$ac_t""yes" 1>&6
11286 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11287 cat >> confdefs.h
<<EOF
11288 #define $ac_tr_hdr 1
11292 echo "$ac_t""no" 1>&6
11296 for ac_hdr
in wchar.h
11298 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11299 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11300 echo "configure:11301: checking for $ac_hdr" >&5
11301 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11302 echo $ac_n "(cached) $ac_c" 1>&6
11304 cat > conftest.
$ac_ext <<EOF
11305 #line 11306 "configure"
11306 #include "confdefs.h"
11309 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11310 { (eval echo configure
:11311: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11311 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11312 if test -z "$ac_err"; then
11314 eval "ac_cv_header_$ac_safe=yes"
11317 echo "configure: failed program was:" >&5
11318 cat conftest.
$ac_ext >&5
11320 eval "ac_cv_header_$ac_safe=no"
11324 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11325 echo "$ac_t""yes" 1>&6
11326 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11327 cat >> confdefs.h
<<EOF
11328 #define $ac_tr_hdr 1
11332 echo "$ac_t""no" 1>&6
11336 for ac_hdr
in wcstr.h
11338 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11339 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11340 echo "configure:11341: checking for $ac_hdr" >&5
11341 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11342 echo $ac_n "(cached) $ac_c" 1>&6
11344 cat > conftest.
$ac_ext <<EOF
11345 #line 11346 "configure"
11346 #include "confdefs.h"
11349 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11350 { (eval echo configure
:11351: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11351 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11352 if test -z "$ac_err"; then
11354 eval "ac_cv_header_$ac_safe=yes"
11357 echo "configure: failed program was:" >&5
11358 cat conftest.
$ac_ext >&5
11360 eval "ac_cv_header_$ac_safe=no"
11364 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11365 echo "$ac_t""yes" 1>&6
11366 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11367 cat >> confdefs.h
<<EOF
11368 #define $ac_tr_hdr 1
11372 echo "$ac_t""no" 1>&6
11376 for ac_hdr
in fnmatch.h
11378 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11379 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11380 echo "configure:11381: checking for $ac_hdr" >&5
11381 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11382 echo $ac_n "(cached) $ac_c" 1>&6
11384 cat > conftest.
$ac_ext <<EOF
11385 #line 11386 "configure"
11386 #include "confdefs.h"
11389 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11390 { (eval echo configure
:11391: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11391 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11392 if test -z "$ac_err"; then
11394 eval "ac_cv_header_$ac_safe=yes"
11397 echo "configure: failed program was:" >&5
11398 cat conftest.
$ac_ext >&5
11400 eval "ac_cv_header_$ac_safe=no"
11404 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11405 echo "$ac_t""yes" 1>&6
11406 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11407 cat >> confdefs.h
<<EOF
11408 #define $ac_tr_hdr 1
11412 echo "$ac_t""no" 1>&6
11416 for ac_hdr
in iconv.h
11418 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11419 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11420 echo "configure:11421: checking for $ac_hdr" >&5
11421 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11422 echo $ac_n "(cached) $ac_c" 1>&6
11424 cat > conftest.
$ac_ext <<EOF
11425 #line 11426 "configure"
11426 #include "confdefs.h"
11429 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11430 { (eval echo configure
:11431: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11431 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11432 if test -z "$ac_err"; then
11434 eval "ac_cv_header_$ac_safe=yes"
11437 echo "configure: failed program was:" >&5
11438 cat conftest.
$ac_ext >&5
11440 eval "ac_cv_header_$ac_safe=no"
11444 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11445 echo "$ac_t""yes" 1>&6
11446 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11447 cat >> confdefs.h
<<EOF
11448 #define $ac_tr_hdr 1
11452 echo "$ac_t""no" 1>&6
11456 for ac_hdr
in langinfo.h
11458 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11459 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11460 echo "configure:11461: checking for $ac_hdr" >&5
11461 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11462 echo $ac_n "(cached) $ac_c" 1>&6
11464 cat > conftest.
$ac_ext <<EOF
11465 #line 11466 "configure"
11466 #include "confdefs.h"
11469 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11470 { (eval echo configure
:11471: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11471 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11472 if test -z "$ac_err"; then
11474 eval "ac_cv_header_$ac_safe=yes"
11477 echo "configure: failed program was:" >&5
11478 cat conftest.
$ac_ext >&5
11480 eval "ac_cv_header_$ac_safe=no"
11484 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11485 echo "$ac_t""yes" 1>&6
11486 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11487 cat >> confdefs.h
<<EOF
11488 #define $ac_tr_hdr 1
11492 echo "$ac_t""no" 1>&6
11497 if test "$wxUSE_GUI" = "yes"; then
11498 if test "$wxUSE_UNIX" = "yes"; then
11499 for ac_hdr
in X
11/XKBlib.h
11501 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11502 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11503 echo "configure:11504: checking for $ac_hdr" >&5
11504 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11505 echo $ac_n "(cached) $ac_c" 1>&6
11507 cat > conftest.
$ac_ext <<EOF
11508 #line 11509 "configure"
11509 #include "confdefs.h"
11512 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11513 { (eval echo configure
:11514: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11514 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11515 if test -z "$ac_err"; then
11517 eval "ac_cv_header_$ac_safe=yes"
11520 echo "configure: failed program was:" >&5
11521 cat conftest.
$ac_ext >&5
11523 eval "ac_cv_header_$ac_safe=no"
11527 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11528 echo "$ac_t""yes" 1>&6
11529 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11530 cat >> confdefs.h
<<EOF
11531 #define $ac_tr_hdr 1
11535 echo "$ac_t""no" 1>&6
11542 if test "$USE_WIN32" = 1; then
11543 for ac_hdr
in w32api.h
11545 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11546 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11547 echo "configure:11548: checking for $ac_hdr" >&5
11548 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11549 echo $ac_n "(cached) $ac_c" 1>&6
11551 cat > conftest.
$ac_ext <<EOF
11552 #line 11553 "configure"
11553 #include "confdefs.h"
11556 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11557 { (eval echo configure
:11558: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11558 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11559 if test -z "$ac_err"; then
11561 eval "ac_cv_header_$ac_safe=yes"
11564 echo "configure: failed program was:" >&5
11565 cat conftest.
$ac_ext >&5
11567 eval "ac_cv_header_$ac_safe=no"
11571 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11572 echo "$ac_t""yes" 1>&6
11573 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11574 cat >> confdefs.h
<<EOF
11575 #define $ac_tr_hdr 1
11579 echo "$ac_t""no" 1>&6
11586 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
11587 echo "configure:11588: checking for ANSI C header files" >&5
11588 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
11589 echo $ac_n "(cached) $ac_c" 1>&6
11591 cat > conftest.
$ac_ext <<EOF
11592 #line 11593 "configure"
11593 #include "confdefs.h"
11594 #include <stdlib.h>
11595 #include <stdarg.h>
11596 #include <string.h>
11599 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11600 { (eval echo configure
:11601: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11601 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11602 if test -z "$ac_err"; then
11604 ac_cv_header_stdc
=yes
11607 echo "configure: failed program was:" >&5
11608 cat conftest.
$ac_ext >&5
11610 ac_cv_header_stdc
=no
11614 if test $ac_cv_header_stdc = yes; then
11615 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11616 cat > conftest.
$ac_ext <<EOF
11617 #line 11618 "configure"
11618 #include "confdefs.h"
11619 #include <string.h>
11621 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11622 egrep "memchr" >/dev
/null
2>&1; then
11626 ac_cv_header_stdc
=no
11632 if test $ac_cv_header_stdc = yes; then
11633 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
11634 cat > conftest.
$ac_ext <<EOF
11635 #line 11636 "configure"
11636 #include "confdefs.h"
11637 #include <stdlib.h>
11639 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11640 egrep "free" >/dev
/null
2>&1; then
11644 ac_cv_header_stdc
=no
11650 if test $ac_cv_header_stdc = yes; then
11651 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
11652 if test "$cross_compiling" = yes; then
11655 cat > conftest.
$ac_ext <<EOF
11656 #line 11657 "configure"
11657 #include "confdefs.h"
11659 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
11660 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
11661 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
11662 int main () { int i; for (i = 0; i < 256; i++)
11663 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
11667 if { (eval echo configure
:11668: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11671 echo "configure: failed program was:" >&5
11672 cat conftest.
$ac_ext >&5
11674 ac_cv_header_stdc
=no
11682 echo "$ac_t""$ac_cv_header_stdc" 1>&6
11683 if test $ac_cv_header_stdc = yes; then
11684 cat >> confdefs.h
<<\EOF
11685 #define STDC_HEADERS 1
11690 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
11691 echo "configure:11692: checking for mode_t" >&5
11692 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
11693 echo $ac_n "(cached) $ac_c" 1>&6
11695 cat > conftest.
$ac_ext <<EOF
11696 #line 11697 "configure"
11697 #include "confdefs.h"
11698 #include <sys/types.h>
11700 #include <stdlib.h>
11701 #include <stddef.h>
11704 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11705 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
11707 ac_cv_type_mode_t
=yes
11710 ac_cv_type_mode_t
=no
11715 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
11716 if test $ac_cv_type_mode_t = no
; then
11717 cat >> confdefs.h
<<\EOF
11723 echo $ac_n "checking for off_t""... $ac_c" 1>&6
11724 echo "configure:11725: checking for off_t" >&5
11725 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
11726 echo $ac_n "(cached) $ac_c" 1>&6
11728 cat > conftest.
$ac_ext <<EOF
11729 #line 11730 "configure"
11730 #include "confdefs.h"
11731 #include <sys/types.h>
11733 #include <stdlib.h>
11734 #include <stddef.h>
11737 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11738 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
11740 ac_cv_type_off_t
=yes
11743 ac_cv_type_off_t
=no
11748 echo "$ac_t""$ac_cv_type_off_t" 1>&6
11749 if test $ac_cv_type_off_t = no
; then
11750 cat >> confdefs.h
<<\EOF
11756 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
11757 echo "configure:11758: checking for pid_t" >&5
11758 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
11759 echo $ac_n "(cached) $ac_c" 1>&6
11761 cat > conftest.
$ac_ext <<EOF
11762 #line 11763 "configure"
11763 #include "confdefs.h"
11764 #include <sys/types.h>
11766 #include <stdlib.h>
11767 #include <stddef.h>
11770 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11771 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
11773 ac_cv_type_pid_t
=yes
11776 ac_cv_type_pid_t
=no
11781 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
11782 if test $ac_cv_type_pid_t = no
; then
11783 cat >> confdefs.h
<<\EOF
11789 echo $ac_n "checking for size_t""... $ac_c" 1>&6
11790 echo "configure:11791: checking for size_t" >&5
11791 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
11792 echo $ac_n "(cached) $ac_c" 1>&6
11794 cat > conftest.
$ac_ext <<EOF
11795 #line 11796 "configure"
11796 #include "confdefs.h"
11797 #include <sys/types.h>
11799 #include <stdlib.h>
11800 #include <stddef.h>
11803 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11804 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
11806 ac_cv_type_size_t
=yes
11809 ac_cv_type_size_t
=no
11814 echo "$ac_t""$ac_cv_type_size_t" 1>&6
11815 if test $ac_cv_type_size_t = no
; then
11816 cat >> confdefs.h
<<\EOF
11817 #define size_t unsigned
11822 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
11823 echo "configure:11824: checking for uid_t in sys/types.h" >&5
11824 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
11825 echo $ac_n "(cached) $ac_c" 1>&6
11827 cat > conftest.
$ac_ext <<EOF
11828 #line 11829 "configure"
11829 #include "confdefs.h"
11830 #include <sys/types.h>
11832 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11833 egrep "uid_t" >/dev
/null
2>&1; then
11835 ac_cv_type_uid_t
=yes
11838 ac_cv_type_uid_t
=no
11844 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
11845 if test $ac_cv_type_uid_t = no
; then
11846 cat >> confdefs.h
<<\EOF
11850 cat >> confdefs.h
<<\EOF
11857 echo $ac_n "checking for wchar_t""... $ac_c" 1>&6
11858 echo "configure:11859: checking for wchar_t" >&5
11859 if eval "test \"`echo '$''{'wx_cv_type_wchar_t'+set}'`\" = set"; then
11860 echo $ac_n "(cached) $ac_c" 1>&6
11863 cat > conftest.
$ac_ext <<EOF
11864 #line 11865 "configure"
11865 #include "confdefs.h"
11871 ws = L"Hello, world!";
11875 if { (eval echo configure
:11876: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11877 wx_cv_type_wchar_t
=yes
11879 echo "configure: failed program was:" >&5
11880 cat conftest.
$ac_ext >&5
11882 cat > conftest.
$ac_ext <<EOF
11883 #line 11884 "configure"
11884 #include "confdefs.h"
11885 #include <stdlib.h>
11890 ws = L"Hello, world!";
11894 if { (eval echo configure
:11895: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11896 wx_cv_type_wchar_t
=yes
11898 echo "configure: failed program was:" >&5
11899 cat conftest.
$ac_ext >&5
11901 wx_cv_type_wchar_t
=no
11910 echo "$ac_t""$wx_cv_type_wchar_t" 1>&6
11912 if test "$wx_cv_type_wchar_t" = "yes"; then
11913 cat >> confdefs.h
<<\EOF
11914 #define wxUSE_WCHAR_T 1
11921 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11922 ac_cpp
='$CXXCPP $CPPFLAGS'
11923 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11924 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11925 cross_compiling
=$ac_cv_prog_cxx_cross
11927 echo $ac_n "checking if size_t is unsigned int""... $ac_c" 1>&6
11928 echo "configure:11929: checking if size_t is unsigned int" >&5
11929 if eval "test \"`echo '$''{'wx_cv_size_t_is_uint'+set}'`\" = set"; then
11930 echo $ac_n "(cached) $ac_c" 1>&6
11932 cat > conftest.
$ac_ext <<EOF
11933 #line 11934 "configure"
11934 #include "confdefs.h"
11935 #include <stddef.h>
11940 struct Foo { void foo(size_t); void foo(unsigned int); };
11946 if { (eval echo configure
:11947: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11948 wx_cv_size_t_is_uint
=no
11950 echo "configure: failed program was:" >&5
11951 cat conftest.
$ac_ext >&5
11953 wx_cv_size_t_is_uint
=yes
11960 echo "$ac_t""$wx_cv_size_t_is_uint" 1>&6
11962 if test "$wx_cv_size_t_is_uint" = "yes"; then
11963 cat >> confdefs.h
<<\EOF
11964 #define wxSIZE_T_IS_UINT 1
11968 echo $ac_n "checking if size_t is unsigned long""... $ac_c" 1>&6
11969 echo "configure:11970: checking if size_t is unsigned long" >&5
11970 if eval "test \"`echo '$''{'wx_cv_size_t_is_ulong'+set}'`\" = set"; then
11971 echo $ac_n "(cached) $ac_c" 1>&6
11973 cat > conftest.
$ac_ext <<EOF
11974 #line 11975 "configure"
11975 #include "confdefs.h"
11976 #include <stddef.h>
11981 struct Foo { void foo(size_t); void foo(unsigned long); };
11987 if { (eval echo configure
:11988: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11989 wx_cv_size_t_is_ulong
=no
11991 echo "configure: failed program was:" >&5
11992 cat conftest.
$ac_ext >&5
11994 wx_cv_size_t_is_ulong
=yes
12001 echo "$ac_t""$wx_cv_size_t_is_ulong" 1>&6
12003 if test "$wx_cv_size_t_is_ulong" = "yes"; then
12004 cat >> confdefs.h
<<\EOF
12005 #define wxSIZE_T_IS_ULONG 1
12012 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12013 ac_cpp
='$CPP $CPPFLAGS'
12014 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12015 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12016 cross_compiling
=$ac_cv_prog_cc_cross
12020 echo $ac_n "checking for pw_gecos in struct passwd""... $ac_c" 1>&6
12021 echo "configure:12022: checking for pw_gecos in struct passwd" >&5
12022 if eval "test \"`echo '$''{'wx_cv_struct_pw_gecos'+set}'`\" = set"; then
12023 echo $ac_n "(cached) $ac_c" 1>&6
12026 cat > conftest.
$ac_ext <<EOF
12027 #line 12028 "configure"
12028 #include "confdefs.h"
12038 if { (eval echo configure
:12039: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12041 wx_cv_struct_pw_gecos
=yes
12044 echo "configure: failed program was:" >&5
12045 cat conftest.
$ac_ext >&5
12048 wx_cv_struct_pw_gecos
=no
12057 echo "$ac_t""$wx_cv_struct_pw_gecos" 1>&6
12059 if test "$wx_cv_struct_pw_gecos" = "yes"; then
12060 cat >> confdefs.h
<<\EOF
12061 #define HAVE_PW_GECOS 1
12067 echo $ac_n "checking for working const""... $ac_c" 1>&6
12068 echo "configure:12069: checking for working const" >&5
12069 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
12070 echo $ac_n "(cached) $ac_c" 1>&6
12072 cat > conftest.
$ac_ext <<EOF
12073 #line 12074 "configure"
12074 #include "confdefs.h"
12078 /* Ultrix mips cc rejects this. */
12079 typedef int charset[2]; const charset x;
12080 /* SunOS 4.1.1 cc rejects this. */
12081 char const *const *ccp;
12083 /* NEC SVR4.0.2 mips cc rejects this. */
12084 struct point {int x, y;};
12085 static struct point const zero = {0,0};
12086 /* AIX XL C 1.02.0.0 rejects this.
12087 It does not let you subtract one const X* pointer from another in an arm
12088 of an if-expression whose if-part is not a constant expression */
12089 const char *g = "string";
12090 ccp = &g + (g ? g-g : 0);
12091 /* HPUX 7.0 cc rejects these. */
12094 ccp = (char const *const *) p;
12095 { /* SCO 3.2v4 cc rejects this. */
12097 char const *s = 0 ? (char *) 0 : (char const *) 0;
12101 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
12102 int x[] = {25, 17};
12103 const int *foo = &x[0];
12106 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
12107 typedef const int *iptr;
12111 { /* AIX XL C 1.02.0.0 rejects this saying
12112 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
12113 struct s { int j; const int *ap[3]; };
12114 struct s *b; b->j = 5;
12116 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
12117 const int foo = 10;
12122 if { (eval echo configure
:12123: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12126 echo "configure: failed program was:" >&5
12127 cat conftest.
$ac_ext >&5
12134 echo "$ac_t""$ac_cv_c_const" 1>&6
12135 if test $ac_cv_c_const = no
; then
12136 cat >> confdefs.h
<<\EOF
12142 echo $ac_n "checking for inline""... $ac_c" 1>&6
12143 echo "configure:12144: checking for inline" >&5
12144 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
12145 echo $ac_n "(cached) $ac_c" 1>&6
12148 for ac_kw
in inline __inline__ __inline
; do
12149 cat > conftest.
$ac_ext <<EOF
12150 #line 12151 "configure"
12151 #include "confdefs.h"
12157 if { (eval echo configure
:12158: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12159 ac_cv_c_inline
=$ac_kw; break
12161 echo "configure: failed program was:" >&5
12162 cat conftest.
$ac_ext >&5
12169 echo "$ac_t""$ac_cv_c_inline" 1>&6
12170 case "$ac_cv_c_inline" in
12172 no
) cat >> confdefs.h
<<\EOF
12176 *) cat >> confdefs.h
<<EOF
12177 #define inline $ac_cv_c_inline
12183 echo $ac_n "checking size of char""... $ac_c" 1>&6
12184 echo "configure:12185: checking size of char" >&5
12185 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
12186 echo $ac_n "(cached) $ac_c" 1>&6
12188 if test "$cross_compiling" = yes; then
12189 ac_cv_sizeof_char
=1
12191 cat > conftest.
$ac_ext <<EOF
12192 #line 12193 "configure"
12193 #include "confdefs.h"
12197 FILE *f=fopen("conftestval", "w");
12199 fprintf(f, "%d\n", sizeof(char));
12203 if { (eval echo configure
:12204: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12205 ac_cv_sizeof_char
=`cat conftestval`
12207 echo "configure: failed program was:" >&5
12208 cat conftest.
$ac_ext >&5
12210 ac_cv_sizeof_char
=0
12216 echo "$ac_t""$ac_cv_sizeof_char" 1>&6
12217 cat >> confdefs.h
<<EOF
12218 #define SIZEOF_CHAR $ac_cv_sizeof_char
12222 echo $ac_n "checking size of short""... $ac_c" 1>&6
12223 echo "configure:12224: checking size of short" >&5
12224 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
12225 echo $ac_n "(cached) $ac_c" 1>&6
12227 if test "$cross_compiling" = yes; then
12228 ac_cv_sizeof_short
=2
12230 cat > conftest.
$ac_ext <<EOF
12231 #line 12232 "configure"
12232 #include "confdefs.h"
12236 FILE *f=fopen("conftestval", "w");
12238 fprintf(f, "%d\n", sizeof(short));
12242 if { (eval echo configure
:12243: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12244 ac_cv_sizeof_short
=`cat conftestval`
12246 echo "configure: failed program was:" >&5
12247 cat conftest.
$ac_ext >&5
12249 ac_cv_sizeof_short
=0
12255 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
12256 cat >> confdefs.h
<<EOF
12257 #define SIZEOF_SHORT $ac_cv_sizeof_short
12261 echo $ac_n "checking size of int *""... $ac_c" 1>&6
12262 echo "configure:12263: checking size of int *" >&5
12263 if eval "test \"`echo '$''{'ac_cv_sizeof_int_p'+set}'`\" = set"; then
12264 echo $ac_n "(cached) $ac_c" 1>&6
12266 if test "$cross_compiling" = yes; then
12267 ac_cv_sizeof_int_p
=4
12269 cat > conftest.
$ac_ext <<EOF
12270 #line 12271 "configure"
12271 #include "confdefs.h"
12275 FILE *f=fopen("conftestval", "w");
12277 fprintf(f, "%d\n", sizeof(int *));
12281 if { (eval echo configure
:12282: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12283 ac_cv_sizeof_int_p
=`cat conftestval`
12285 echo "configure: failed program was:" >&5
12286 cat conftest.
$ac_ext >&5
12288 ac_cv_sizeof_int_p
=0
12294 echo "$ac_t""$ac_cv_sizeof_int_p" 1>&6
12295 cat >> confdefs.h
<<EOF
12296 #define SIZEOF_INT_P $ac_cv_sizeof_int_p
12300 echo $ac_n "checking size of int""... $ac_c" 1>&6
12301 echo "configure:12302: checking size of int" >&5
12302 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
12303 echo $ac_n "(cached) $ac_c" 1>&6
12305 if test "$cross_compiling" = yes; then
12308 cat > conftest.
$ac_ext <<EOF
12309 #line 12310 "configure"
12310 #include "confdefs.h"
12314 FILE *f=fopen("conftestval", "w");
12316 fprintf(f, "%d\n", sizeof(int));
12320 if { (eval echo configure
:12321: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12322 ac_cv_sizeof_int
=`cat conftestval`
12324 echo "configure: failed program was:" >&5
12325 cat conftest.
$ac_ext >&5
12333 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
12334 cat >> confdefs.h
<<EOF
12335 #define SIZEOF_INT $ac_cv_sizeof_int
12339 echo $ac_n "checking size of long""... $ac_c" 1>&6
12340 echo "configure:12341: checking size of long" >&5
12341 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
12342 echo $ac_n "(cached) $ac_c" 1>&6
12344 if test "$cross_compiling" = yes; then
12345 ac_cv_sizeof_long
=4
12347 cat > conftest.
$ac_ext <<EOF
12348 #line 12349 "configure"
12349 #include "confdefs.h"
12353 FILE *f=fopen("conftestval", "w");
12355 fprintf(f, "%d\n", sizeof(long));
12359 if { (eval echo configure
:12360: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12361 ac_cv_sizeof_long
=`cat conftestval`
12363 echo "configure: failed program was:" >&5
12364 cat conftest.
$ac_ext >&5
12366 ac_cv_sizeof_long
=0
12372 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
12373 cat >> confdefs.h
<<EOF
12374 #define SIZEOF_LONG $ac_cv_sizeof_long
12378 echo $ac_n "checking size of long long""... $ac_c" 1>&6
12379 echo "configure:12380: checking size of long long" >&5
12380 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
12381 echo $ac_n "(cached) $ac_c" 1>&6
12383 if test "$cross_compiling" = yes; then
12384 ac_cv_sizeof_long_long
=0
12386 cat > conftest.
$ac_ext <<EOF
12387 #line 12388 "configure"
12388 #include "confdefs.h"
12392 FILE *f=fopen("conftestval", "w");
12394 fprintf(f, "%d\n", sizeof(long long));
12398 if { (eval echo configure
:12399: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12400 ac_cv_sizeof_long_long
=`cat conftestval`
12402 echo "configure: failed program was:" >&5
12403 cat conftest.
$ac_ext >&5
12405 ac_cv_sizeof_long_long
=0
12411 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
12412 cat >> confdefs.h
<<EOF
12413 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
12418 echo $ac_n "checking size of wchar_t""... $ac_c" 1>&6
12419 echo "configure:12420: checking size of wchar_t" >&5
12420 if eval "test \"`echo '$''{'wx_cv_sizeof_wchar_t'+set}'`\" = set"; then
12421 echo $ac_n "(cached) $ac_c" 1>&6
12424 if test "$cross_compiling" = yes; then
12425 wx_cv_sizeof_wchar_t
=4
12428 cat > conftest.
$ac_ext <<EOF
12429 #line 12430 "configure"
12430 #include "confdefs.h"
12432 #ifdef HAVE_WCHAR_H
12433 # include <wchar.h>
12435 #ifdef HAVE_STDLIB_H
12436 # include <stdlib.h>
12441 FILE *f=fopen("conftestval", "w");
12443 fprintf(f, "%i", sizeof(wchar_t));
12448 if { (eval echo configure
:12449: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12450 wx_cv_sizeof_wchar_t
=`cat conftestval`
12452 echo "configure: failed program was:" >&5
12453 cat conftest.
$ac_ext >&5
12455 wx_cv_sizeof_wchar_t
=0
12463 echo "$ac_t""$wx_cv_sizeof_wchar_t" 1>&6
12465 cat >> confdefs.h
<<EOF
12466 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
12470 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
12471 echo "configure:12472: checking whether byte ordering is bigendian" >&5
12472 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
12473 echo $ac_n "(cached) $ac_c" 1>&6
12475 ac_cv_c_bigendian
=unknown
12476 # See if sys/param.h defines the BYTE_ORDER macro.
12477 cat > conftest.
$ac_ext <<EOF
12478 #line 12479 "configure"
12479 #include "confdefs.h"
12480 #include <sys/types.h>
12481 #include <sys/param.h>
12484 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
12485 bogus endian macros
12489 if { (eval echo configure
:12490: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12491 # It does; now see whether it defined to BIG_ENDIAN or not.
12492 cat > conftest.
$ac_ext <<EOF
12493 #line 12494 "configure"
12494 #include "confdefs.h"
12495 #include <sys/types.h>
12496 #include <sys/param.h>
12499 #if BYTE_ORDER != BIG_ENDIAN
12504 if { (eval echo configure
:12505: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12506 ac_cv_c_bigendian
=yes
12508 echo "configure: failed program was:" >&5
12509 cat conftest.
$ac_ext >&5
12511 ac_cv_c_bigendian
=no
12515 echo "configure: failed program was:" >&5
12516 cat conftest.
$ac_ext >&5
12519 if test $ac_cv_c_bigendian = unknown
; then
12520 if test "$cross_compiling" = yes; then
12521 ac_cv_c_bigendian
=unknown
12523 cat > conftest.
$ac_ext <<EOF
12524 #line 12525 "configure"
12525 #include "confdefs.h"
12527 /* Are we little or big endian? From Harbison&Steele. */
12531 char c[sizeof (long)];
12534 exit (u.c[sizeof (long) - 1] == 1);
12537 if { (eval echo configure
:12538: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12539 ac_cv_c_bigendian
=no
12541 echo "configure: failed program was:" >&5
12542 cat conftest.
$ac_ext >&5
12544 ac_cv_c_bigendian
=yes
12552 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
12553 if test $ac_cv_c_bigendian = unknown
; then
12554 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
12556 if test $ac_cv_c_bigendian = yes; then
12557 cat >> confdefs.h
<<\EOF
12558 #define WORDS_BIGENDIAN 1
12565 if test "$cross_compiling" = "yes"; then
12566 cat >> confdefs.h
<<\EOF
12567 #define wxUSE_IOSTREAMH 1
12573 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12574 ac_cpp
='$CXXCPP $CPPFLAGS'
12575 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12576 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12577 cross_compiling
=$ac_cv_prog_cxx_cross
12580 for ac_hdr
in iostream
12582 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12583 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12584 echo "configure:12585: checking for $ac_hdr" >&5
12585 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12586 echo $ac_n "(cached) $ac_c" 1>&6
12588 cat > conftest.
$ac_ext <<EOF
12589 #line 12590 "configure"
12590 #include "confdefs.h"
12593 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12594 { (eval echo configure
:12595: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12595 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12596 if test -z "$ac_err"; then
12598 eval "ac_cv_header_$ac_safe=yes"
12601 echo "configure: failed program was:" >&5
12602 cat conftest.
$ac_ext >&5
12604 eval "ac_cv_header_$ac_safe=no"
12608 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12609 echo "$ac_t""yes" 1>&6
12610 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12611 cat >> confdefs.h
<<EOF
12612 #define $ac_tr_hdr 1
12616 echo "$ac_t""no" 1>&6
12621 if test "$ac_cv_header_iostream" = "yes" ; then
12624 cat >> confdefs.h
<<\EOF
12625 #define wxUSE_IOSTREAMH 1
12631 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12632 ac_cpp
='$CPP $CPPFLAGS'
12633 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12634 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12635 cross_compiling
=$ac_cv_prog_cc_cross
12641 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
12642 echo "configure:12643: checking if C++ compiler supports bool" >&5
12643 if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
12644 echo $ac_n "(cached) $ac_c" 1>&6
12649 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12650 ac_cpp
='$CXXCPP $CPPFLAGS'
12651 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12652 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12653 cross_compiling
=$ac_cv_prog_cxx_cross
12656 cat > conftest.
$ac_ext <<EOF
12657 #line 12658 "configure"
12658 #include "confdefs.h"
12669 if { (eval echo configure
:12670: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12675 echo "configure: failed program was:" >&5
12676 cat conftest.
$ac_ext >&5
12686 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12687 ac_cpp
='$CPP $CPPFLAGS'
12688 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12689 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12690 cross_compiling
=$ac_cv_prog_cc_cross
12695 echo "$ac_t""$wx_cv_cpp_bool" 1>&6
12697 if test "$wx_cv_cpp_bool" = "yes"; then
12698 cat >> confdefs.h
<<\EOF
12699 #define HAVE_BOOL 1
12706 echo $ac_n "checking for wcslen in -lc""... $ac_c" 1>&6
12707 echo "configure:12708: checking for wcslen in -lc" >&5
12708 ac_lib_var
=`echo c'_'wcslen | sed 'y%./+-%__p_%'`
12709 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12710 echo $ac_n "(cached) $ac_c" 1>&6
12712 ac_save_LIBS
="$LIBS"
12714 cat > conftest.
$ac_ext <<EOF
12715 #line 12716 "configure"
12716 #include "confdefs.h"
12717 /* Override any gcc2 internal prototype to avoid an error. */
12718 /* We use char because int might match the return type of a gcc2
12719 builtin and then its argument prototype would still apply. */
12726 if { (eval echo configure
:12727: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12728 eval "ac_cv_lib_$ac_lib_var=yes"
12730 echo "configure: failed program was:" >&5
12731 cat conftest.
$ac_ext >&5
12733 eval "ac_cv_lib_$ac_lib_var=no"
12736 LIBS
="$ac_save_LIBS"
12739 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12740 echo "$ac_t""yes" 1>&6
12742 cat >> confdefs.h
<<\EOF
12743 #define HAVE_WCSLEN 1
12749 echo "$ac_t""no" 1>&6
12751 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
12752 echo "configure:12753: checking for wcslen in -lw" >&5
12753 ac_lib_var
=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
12754 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12755 echo $ac_n "(cached) $ac_c" 1>&6
12757 ac_save_LIBS
="$LIBS"
12759 cat > conftest.
$ac_ext <<EOF
12760 #line 12761 "configure"
12761 #include "confdefs.h"
12762 /* Override any gcc2 internal prototype to avoid an error. */
12763 /* We use char because int might match the return type of a gcc2
12764 builtin and then its argument prototype would still apply. */
12771 if { (eval echo configure
:12772: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12773 eval "ac_cv_lib_$ac_lib_var=yes"
12775 echo "configure: failed program was:" >&5
12776 cat conftest.
$ac_ext >&5
12778 eval "ac_cv_lib_$ac_lib_var=no"
12781 LIBS
="$ac_save_LIBS"
12784 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12785 echo "$ac_t""yes" 1>&6
12787 cat >> confdefs.h
<<\EOF
12788 #define HAVE_WCSLEN 1
12794 echo "$ac_t""no" 1>&6
12796 echo $ac_n "checking for wcslen in -lmsvcrt""... $ac_c" 1>&6
12797 echo "configure:12798: checking for wcslen in -lmsvcrt" >&5
12798 ac_lib_var
=`echo msvcrt'_'wcslen | sed 'y%./+-%__p_%'`
12799 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12800 echo $ac_n "(cached) $ac_c" 1>&6
12802 ac_save_LIBS
="$LIBS"
12803 LIBS
="-lmsvcrt $LIBS"
12804 cat > conftest.
$ac_ext <<EOF
12805 #line 12806 "configure"
12806 #include "confdefs.h"
12807 /* Override any gcc2 internal prototype to avoid an error. */
12808 /* We use char because int might match the return type of a gcc2
12809 builtin and then its argument prototype would still apply. */
12816 if { (eval echo configure
:12817: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12818 eval "ac_cv_lib_$ac_lib_var=yes"
12820 echo "configure: failed program was:" >&5
12821 cat conftest.
$ac_ext >&5
12823 eval "ac_cv_lib_$ac_lib_var=no"
12826 LIBS
="$ac_save_LIBS"
12829 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12830 echo "$ac_t""yes" 1>&6
12832 cat >> confdefs.h
<<\EOF
12833 #define HAVE_WCSLEN 1
12839 echo "$ac_t""no" 1>&6
12849 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
12850 echo "configure:12851: checking for vprintf" >&5
12851 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
12852 echo $ac_n "(cached) $ac_c" 1>&6
12854 cat > conftest.
$ac_ext <<EOF
12855 #line 12856 "configure"
12856 #include "confdefs.h"
12857 /* System header to define __stub macros and hopefully few prototypes,
12858 which can conflict with char vprintf(); below. */
12859 #include <assert.h>
12860 /* Override any gcc2 internal prototype to avoid an error. */
12861 /* We use char because int might match the return type of a gcc2
12862 builtin and then its argument prototype would still apply. */
12867 /* The GNU C library defines this for functions which it implements
12868 to always fail with ENOSYS. Some functions are actually named
12869 something starting with __ and the normal name is an alias. */
12870 #if defined (__stub_vprintf) || defined (__stub___vprintf)
12878 if { (eval echo configure
:12879: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12880 eval "ac_cv_func_vprintf=yes"
12882 echo "configure: failed program was:" >&5
12883 cat conftest.
$ac_ext >&5
12885 eval "ac_cv_func_vprintf=no"
12890 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
12891 echo "$ac_t""yes" 1>&6
12892 cat >> confdefs.h
<<\EOF
12893 #define HAVE_VPRINTF 1
12897 echo "$ac_t""no" 1>&6
12900 if test "$ac_cv_func_vprintf" != yes; then
12901 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
12902 echo "configure:12903: checking for _doprnt" >&5
12903 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
12904 echo $ac_n "(cached) $ac_c" 1>&6
12906 cat > conftest.
$ac_ext <<EOF
12907 #line 12908 "configure"
12908 #include "confdefs.h"
12909 /* System header to define __stub macros and hopefully few prototypes,
12910 which can conflict with char _doprnt(); below. */
12911 #include <assert.h>
12912 /* Override any gcc2 internal prototype to avoid an error. */
12913 /* We use char because int might match the return type of a gcc2
12914 builtin and then its argument prototype would still apply. */
12919 /* The GNU C library defines this for functions which it implements
12920 to always fail with ENOSYS. Some functions are actually named
12921 something starting with __ and the normal name is an alias. */
12922 #if defined (__stub__doprnt) || defined (__stub____doprnt)
12930 if { (eval echo configure
:12931: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12932 eval "ac_cv_func__doprnt=yes"
12934 echo "configure: failed program was:" >&5
12935 cat conftest.
$ac_ext >&5
12937 eval "ac_cv_func__doprnt=no"
12942 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
12943 echo "$ac_t""yes" 1>&6
12944 cat >> confdefs.h
<<\EOF
12945 #define HAVE_DOPRNT 1
12949 echo "$ac_t""no" 1>&6
12960 echo $ac_n "checking for vsnprintf""... $ac_c" 1>&6
12961 echo "configure:12962: checking for vsnprintf" >&5
12962 if eval "test \"`echo '$''{'wx_cv_func_vsnprintf'+set}'`\" = set"; then
12963 echo $ac_n "(cached) $ac_c" 1>&6
12966 cat > conftest.
$ac_ext <<EOF
12967 #line 12968 "configure"
12968 #include "confdefs.h"
12971 #include <stdarg.h>
12975 int wx_test_vsnprintf(const char *, ...);
12977 wx_test_vsnprintf("%s");
12981 int wx_test_vsnprintf(const char *fmt, ...)
12986 va_start(argp, fmt);
12987 vsnprintf(s, 42, fmt, argp);
12992 if { (eval echo configure
:12993: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12995 wx_cv_func_vsnprintf
=yes
12998 echo "configure: failed program was:" >&5
12999 cat conftest.
$ac_ext >&5
13002 cat > conftest.
$ac_ext <<EOF
13003 #line 13004 "configure"
13004 #include "confdefs.h"
13007 #include <stdarg.h>
13011 int wx_test_vsnprintf(const char *, ...);
13013 wx_test_vsnprintf("%s");
13017 int wx_test_vsnprintf(const char *fmt, ...)
13022 va_start(argp, fmt);
13023 _vsnprintf(s, 42, fmt, argp);
13028 if { (eval echo configure
:13029: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13031 wx_cv_func_vsnprintf
=yes
13034 echo "configure: failed program was:" >&5
13035 cat conftest.
$ac_ext >&5
13038 wx_cv_func_vsnprintf
=no
13048 echo "$ac_t""$wx_cv_func_vsnprintf" 1>&6
13050 if test "$wx_cv_func_vsnprintf" = yes; then
13051 cat >> confdefs.h
<<\EOF
13052 #define HAVE_VSNPRINTF 1
13056 echo "configure: warning: unsafe function sprintf will be used instead of snprintf" 1>&2
13059 echo $ac_n "checking for vsscanf""... $ac_c" 1>&6
13060 echo "configure:13061: checking for vsscanf" >&5
13061 if eval "test \"`echo '$''{'wx_cv_func_vsscanf'+set}'`\" = set"; then
13062 echo $ac_n "(cached) $ac_c" 1>&6
13065 cat > conftest.
$ac_ext <<EOF
13066 #line 13067 "configure"
13067 #include "confdefs.h"
13070 #include <stdarg.h>
13074 int wx_test_vsscanf(const char *, ...);
13076 wx_test_vsscanf("%d");
13080 int wx_test_vsscanf(const char *fmt, ...)
13083 va_start(argp, fmt);
13084 vsscanf("42", fmt, argp);
13089 if { (eval echo configure
:13090: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13092 wx_cv_func_vsscanf
=yes
13095 echo "configure: failed program was:" >&5
13096 cat conftest.
$ac_ext >&5
13099 wx_cv_func_vsscanf
=no
13106 echo "$ac_t""$wx_cv_func_vsscanf" 1>&6
13108 if test "$wx_cv_func_vsscanf" = yes; then
13109 cat >> confdefs.h
<<\EOF
13110 #define HAVE_VSSCANF 1
13115 if test "$TOOLKIT" != "MSW"; then
13120 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13121 ac_cpp
='$CXXCPP $CPPFLAGS'
13122 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13123 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13124 cross_compiling
=$ac_cv_prog_cxx_cross
13126 echo $ac_n "checking if iconv() takes char**""... $ac_c" 1>&6
13127 echo "configure:13128: checking if iconv() takes char**" >&5
13128 if eval "test \"`echo '$''{'wx_cv_iconv_takes_char'+set}'`\" = set"; then
13129 echo $ac_n "(cached) $ac_c" 1>&6
13132 cat > conftest.
$ac_ext <<EOF
13133 #line 13134 "configure"
13134 #include "confdefs.h"
13138 char **inbuf, **outbuf;
13140 size_t insz, outsz;
13141 iconv(cd, inbuf, &insz, outbuf, &outsz);
13145 if { (eval echo configure
:13146: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13147 wx_cv_iconv_takes_char
=yes
13149 echo "configure: failed program was:" >&5
13150 cat conftest.
$ac_ext >&5
13152 wx_cv_iconv_takes_char
=no
13158 echo "$ac_t""$wx_cv_iconv_takes_char" 1>&6
13160 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13161 ac_cpp
='$CPP $CPPFLAGS'
13162 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13163 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13164 cross_compiling
=$ac_cv_prog_cc_cross
13166 if test "$wx_cv_iconv_takes_char" = yes ; then
13167 cat >> confdefs.h
<<\EOF
13168 #define WX_ICONV_TAKES_CHAR 1
13174 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
13175 for ac_func
in sigaction
13177 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13178 echo "configure:13179: checking for $ac_func" >&5
13179 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13180 echo $ac_n "(cached) $ac_c" 1>&6
13182 cat > conftest.
$ac_ext <<EOF
13183 #line 13184 "configure"
13184 #include "confdefs.h"
13185 /* System header to define __stub macros and hopefully few prototypes,
13186 which can conflict with char $ac_func(); below. */
13187 #include <assert.h>
13188 /* Override any gcc2 internal prototype to avoid an error. */
13189 /* We use char because int might match the return type of a gcc2
13190 builtin and then its argument prototype would still apply. */
13195 /* The GNU C library defines this for functions which it implements
13196 to always fail with ENOSYS. Some functions are actually named
13197 something starting with __ and the normal name is an alias. */
13198 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13206 if { (eval echo configure
:13207: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13208 eval "ac_cv_func_$ac_func=yes"
13210 echo "configure: failed program was:" >&5
13211 cat conftest.
$ac_ext >&5
13213 eval "ac_cv_func_$ac_func=no"
13218 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13219 echo "$ac_t""yes" 1>&6
13220 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13221 cat >> confdefs.h
<<EOF
13222 #define $ac_tr_func 1
13226 echo "$ac_t""no" 1>&6
13231 if test "$ac_cv_func_sigaction" = "no"; then
13232 echo "configure: warning: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" 1>&2
13233 wxUSE_ON_FATAL_EXCEPTION
=no
13236 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
13239 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13240 ac_cpp
='$CXXCPP $CPPFLAGS'
13241 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13242 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13243 cross_compiling
=$ac_cv_prog_cxx_cross
13246 echo $ac_n "checking for sa_handler type""... $ac_c" 1>&6
13247 echo "configure:13248: checking for sa_handler type" >&5
13248 if eval "test \"`echo '$''{'wx_cv_type_sa_handler'+set}'`\" = set"; then
13249 echo $ac_n "(cached) $ac_c" 1>&6
13252 cat > conftest.
$ac_ext <<EOF
13253 #line 13254 "configure"
13254 #include "confdefs.h"
13255 #include <signal.h>
13258 extern void testSigHandler(int);
13260 struct sigaction sa;
13261 sa.sa_handler = testSigHandler;
13265 if { (eval echo configure
:13266: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13268 wx_cv_type_sa_handler
=int
13271 echo "configure: failed program was:" >&5
13272 cat conftest.
$ac_ext >&5
13275 wx_cv_type_sa_handler
=void
13282 echo "$ac_t""$wx_cv_type_sa_handler" 1>&6
13285 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13286 ac_cpp
='$CPP $CPPFLAGS'
13287 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13288 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13289 cross_compiling
=$ac_cv_prog_cc_cross
13292 cat >> confdefs.h
<<EOF
13293 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
13299 for ac_func
in vfork
13301 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13302 echo "configure:13303: checking for $ac_func" >&5
13303 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13304 echo $ac_n "(cached) $ac_c" 1>&6
13306 cat > conftest.
$ac_ext <<EOF
13307 #line 13308 "configure"
13308 #include "confdefs.h"
13309 /* System header to define __stub macros and hopefully few prototypes,
13310 which can conflict with char $ac_func(); below. */
13311 #include <assert.h>
13312 /* Override any gcc2 internal prototype to avoid an error. */
13313 /* We use char because int might match the return type of a gcc2
13314 builtin and then its argument prototype would still apply. */
13319 /* The GNU C library defines this for functions which it implements
13320 to always fail with ENOSYS. Some functions are actually named
13321 something starting with __ and the normal name is an alias. */
13322 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13330 if { (eval echo configure
:13331: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13332 eval "ac_cv_func_$ac_func=yes"
13334 echo "configure: failed program was:" >&5
13335 cat conftest.
$ac_ext >&5
13337 eval "ac_cv_func_$ac_func=no"
13342 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13343 echo "$ac_t""yes" 1>&6
13344 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13345 cat >> confdefs.h
<<EOF
13346 #define $ac_tr_func 1
13350 echo "$ac_t""no" 1>&6
13355 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
13356 for ac_func
in fcntl flock
13358 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13359 echo "configure:13360: checking for $ac_func" >&5
13360 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13361 echo $ac_n "(cached) $ac_c" 1>&6
13363 cat > conftest.
$ac_ext <<EOF
13364 #line 13365 "configure"
13365 #include "confdefs.h"
13366 /* System header to define __stub macros and hopefully few prototypes,
13367 which can conflict with char $ac_func(); below. */
13368 #include <assert.h>
13369 /* Override any gcc2 internal prototype to avoid an error. */
13370 /* We use char because int might match the return type of a gcc2
13371 builtin and then its argument prototype would still apply. */
13376 /* The GNU C library defines this for functions which it implements
13377 to always fail with ENOSYS. Some functions are actually named
13378 something starting with __ and the normal name is an alias. */
13379 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13387 if { (eval echo configure
:13388: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13389 eval "ac_cv_func_$ac_func=yes"
13391 echo "configure: failed program was:" >&5
13392 cat conftest.
$ac_ext >&5
13394 eval "ac_cv_func_$ac_func=no"
13399 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13400 echo "$ac_t""yes" 1>&6
13401 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13402 cat >> confdefs.h
<<EOF
13403 #define $ac_tr_func 1
13407 echo "$ac_t""no" 1>&6
13412 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
13413 echo "configure: warning: wxSingleInstanceChecker not available" 1>&2
13414 wxUSE_SNGLINST_CHECKER
=no
13418 for ac_func
in timegm
13420 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13421 echo "configure:13422: checking for $ac_func" >&5
13422 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13423 echo $ac_n "(cached) $ac_c" 1>&6
13425 cat > conftest.
$ac_ext <<EOF
13426 #line 13427 "configure"
13427 #include "confdefs.h"
13428 /* System header to define __stub macros and hopefully few prototypes,
13429 which can conflict with char $ac_func(); below. */
13430 #include <assert.h>
13431 /* Override any gcc2 internal prototype to avoid an error. */
13432 /* We use char because int might match the return type of a gcc2
13433 builtin and then its argument prototype would still apply. */
13438 /* The GNU C library defines this for functions which it implements
13439 to always fail with ENOSYS. Some functions are actually named
13440 something starting with __ and the normal name is an alias. */
13441 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13449 if { (eval echo configure
:13450: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13451 eval "ac_cv_func_$ac_func=yes"
13453 echo "configure: failed program was:" >&5
13454 cat conftest.
$ac_ext >&5
13456 eval "ac_cv_func_$ac_func=no"
13461 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13462 echo "$ac_t""yes" 1>&6
13463 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13464 cat >> confdefs.h
<<EOF
13465 #define $ac_tr_func 1
13469 echo "$ac_t""no" 1>&6
13474 for ac_func
in putenv setenv
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 HAVE_SOME_SLEEP_FUNC
=0
13531 if test "$USE_BEOS" = 1; then
13532 cat >> confdefs.h
<<\EOF
13533 #define HAVE_SLEEP 1
13536 HAVE_SOME_SLEEP_FUNC
=1
13539 if test "$USE_DARWIN" = 1; then
13540 cat >> confdefs.h
<<\EOF
13541 #define HAVE_USLEEP 1
13544 HAVE_SOME_SLEEP_FUNC
=1
13547 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
13549 for ac_func
in nanosleep
13551 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13552 echo "configure:13553: checking for $ac_func" >&5
13553 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13554 echo $ac_n "(cached) $ac_c" 1>&6
13556 cat > conftest.
$ac_ext <<EOF
13557 #line 13558 "configure"
13558 #include "confdefs.h"
13559 /* System header to define __stub macros and hopefully few prototypes,
13560 which can conflict with char $ac_func(); below. */
13561 #include <assert.h>
13562 /* Override any gcc2 internal prototype to avoid an error. */
13563 /* We use char because int might match the return type of a gcc2
13564 builtin and then its argument prototype would still apply. */
13569 /* The GNU C library defines this for functions which it implements
13570 to always fail with ENOSYS. Some functions are actually named
13571 something starting with __ and the normal name is an alias. */
13572 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13580 if { (eval echo configure
:13581: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13582 eval "ac_cv_func_$ac_func=yes"
13584 echo "configure: failed program was:" >&5
13585 cat conftest.
$ac_ext >&5
13587 eval "ac_cv_func_$ac_func=no"
13592 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13593 echo "$ac_t""yes" 1>&6
13594 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13595 cat >> confdefs.h
<<EOF
13596 #define $ac_tr_func 1
13598 cat >> confdefs.h
<<\EOF
13599 #define HAVE_NANOSLEEP 1
13603 echo "$ac_t""no" 1>&6
13604 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
13605 echo "configure:13606: checking for nanosleep in -lposix4" >&5
13606 ac_lib_var
=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
13607 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13608 echo $ac_n "(cached) $ac_c" 1>&6
13610 ac_save_LIBS
="$LIBS"
13611 LIBS
="-lposix4 $LIBS"
13612 cat > conftest.
$ac_ext <<EOF
13613 #line 13614 "configure"
13614 #include "confdefs.h"
13615 /* Override any gcc2 internal prototype to avoid an error. */
13616 /* We use char because int might match the return type of a gcc2
13617 builtin and then its argument prototype would still apply. */
13624 if { (eval echo configure
:13625: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13626 eval "ac_cv_lib_$ac_lib_var=yes"
13628 echo "configure: failed program was:" >&5
13629 cat conftest.
$ac_ext >&5
13631 eval "ac_cv_lib_$ac_lib_var=no"
13634 LIBS
="$ac_save_LIBS"
13637 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13638 echo "$ac_t""yes" 1>&6
13640 cat >> confdefs.h
<<\EOF
13641 #define HAVE_NANOSLEEP 1
13644 POSIX4_LINK
="-lposix4"
13647 echo "$ac_t""no" 1>&6
13649 for ac_func
in usleep
13651 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13652 echo "configure:13653: checking for $ac_func" >&5
13653 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13654 echo $ac_n "(cached) $ac_c" 1>&6
13656 cat > conftest.
$ac_ext <<EOF
13657 #line 13658 "configure"
13658 #include "confdefs.h"
13659 /* System header to define __stub macros and hopefully few prototypes,
13660 which can conflict with char $ac_func(); below. */
13661 #include <assert.h>
13662 /* Override any gcc2 internal prototype to avoid an error. */
13663 /* We use char because int might match the return type of a gcc2
13664 builtin and then its argument prototype would still apply. */
13669 /* The GNU C library defines this for functions which it implements
13670 to always fail with ENOSYS. Some functions are actually named
13671 something starting with __ and the normal name is an alias. */
13672 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13680 if { (eval echo configure
:13681: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13682 eval "ac_cv_func_$ac_func=yes"
13684 echo "configure: failed program was:" >&5
13685 cat conftest.
$ac_ext >&5
13687 eval "ac_cv_func_$ac_func=no"
13692 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13693 echo "$ac_t""yes" 1>&6
13694 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13695 cat >> confdefs.h
<<EOF
13696 #define $ac_tr_func 1
13698 cat >> confdefs.h
<<\EOF
13699 #define HAVE_USLEEP 1
13703 echo "$ac_t""no" 1>&6
13704 echo "configure: warning: wxSleep() function will not work" 1>&2
13720 for ac_func
in uname gethostname
13722 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13723 echo "configure:13724: checking for $ac_func" >&5
13724 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13725 echo $ac_n "(cached) $ac_c" 1>&6
13727 cat > conftest.
$ac_ext <<EOF
13728 #line 13729 "configure"
13729 #include "confdefs.h"
13730 /* System header to define __stub macros and hopefully few prototypes,
13731 which can conflict with char $ac_func(); below. */
13732 #include <assert.h>
13733 /* Override any gcc2 internal prototype to avoid an error. */
13734 /* We use char because int might match the return type of a gcc2
13735 builtin and then its argument prototype would still apply. */
13740 /* The GNU C library defines this for functions which it implements
13741 to always fail with ENOSYS. Some functions are actually named
13742 something starting with __ and the normal name is an alias. */
13743 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13751 if { (eval echo configure
:13752: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13753 eval "ac_cv_func_$ac_func=yes"
13755 echo "configure: failed program was:" >&5
13756 cat conftest.
$ac_ext >&5
13758 eval "ac_cv_func_$ac_func=no"
13763 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13764 echo "$ac_t""yes" 1>&6
13765 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13766 cat >> confdefs.h
<<EOF
13767 #define $ac_tr_func 1
13771 echo "$ac_t""no" 1>&6
13778 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13779 ac_cpp
='$CXXCPP $CPPFLAGS'
13780 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13781 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13782 cross_compiling
=$ac_cv_prog_cxx_cross
13785 for ac_func
in strtok_r
13787 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13788 echo "configure:13789: checking for $ac_func" >&5
13789 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13790 echo $ac_n "(cached) $ac_c" 1>&6
13792 cat > conftest.
$ac_ext <<EOF
13793 #line 13794 "configure"
13794 #include "confdefs.h"
13795 /* System header to define __stub macros and hopefully few prototypes,
13796 which can conflict with char $ac_func(); below. */
13797 #include <assert.h>
13798 /* Override any gcc2 internal prototype to avoid an error. */
13802 /* We use char because int might match the return type of a gcc2
13803 builtin and then its argument prototype would still apply. */
13808 /* The GNU C library defines this for functions which it implements
13809 to always fail with ENOSYS. Some functions are actually named
13810 something starting with __ and the normal name is an alias. */
13811 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13819 if { (eval echo configure
:13820: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13821 eval "ac_cv_func_$ac_func=yes"
13823 echo "configure: failed program was:" >&5
13824 cat conftest.
$ac_ext >&5
13826 eval "ac_cv_func_$ac_func=no"
13831 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13832 echo "$ac_t""yes" 1>&6
13833 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13834 cat >> confdefs.h
<<EOF
13835 #define $ac_tr_func 1
13839 echo "$ac_t""no" 1>&6
13845 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13846 ac_cpp
='$CPP $CPPFLAGS'
13847 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13848 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13849 cross_compiling
=$ac_cv_prog_cc_cross
13853 for ac_func
in inet_addr
13855 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13856 echo "configure:13857: checking for $ac_func" >&5
13857 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13858 echo $ac_n "(cached) $ac_c" 1>&6
13860 cat > conftest.
$ac_ext <<EOF
13861 #line 13862 "configure"
13862 #include "confdefs.h"
13863 /* System header to define __stub macros and hopefully few prototypes,
13864 which can conflict with char $ac_func(); below. */
13865 #include <assert.h>
13866 /* Override any gcc2 internal prototype to avoid an error. */
13867 /* We use char because int might match the return type of a gcc2
13868 builtin and then its argument prototype would still apply. */
13873 /* The GNU C library defines this for functions which it implements
13874 to always fail with ENOSYS. Some functions are actually named
13875 something starting with __ and the normal name is an alias. */
13876 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13884 if { (eval echo configure
:13885: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13886 eval "ac_cv_func_$ac_func=yes"
13888 echo "configure: failed program was:" >&5
13889 cat conftest.
$ac_ext >&5
13891 eval "ac_cv_func_$ac_func=no"
13896 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13897 echo "$ac_t""yes" 1>&6
13898 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13899 cat >> confdefs.h
<<EOF
13900 #define $ac_tr_func 1
13902 cat >> confdefs.h
<<\EOF
13903 #define HAVE_INET_ADDR 1
13907 echo "$ac_t""no" 1>&6
13908 echo $ac_n "checking for inet_addr in -lnsl""... $ac_c" 1>&6
13909 echo "configure:13910: checking for inet_addr in -lnsl" >&5
13910 ac_lib_var
=`echo nsl'_'inet_addr | sed 'y%./+-%__p_%'`
13911 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13912 echo $ac_n "(cached) $ac_c" 1>&6
13914 ac_save_LIBS
="$LIBS"
13916 cat > conftest.
$ac_ext <<EOF
13917 #line 13918 "configure"
13918 #include "confdefs.h"
13919 /* Override any gcc2 internal prototype to avoid an error. */
13920 /* We use char because int might match the return type of a gcc2
13921 builtin and then its argument prototype would still apply. */
13928 if { (eval echo configure
:13929: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13930 eval "ac_cv_lib_$ac_lib_var=yes"
13932 echo "configure: failed program was:" >&5
13933 cat conftest.
$ac_ext >&5
13935 eval "ac_cv_lib_$ac_lib_var=no"
13938 LIBS
="$ac_save_LIBS"
13941 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13942 echo "$ac_t""yes" 1>&6
13945 echo "$ac_t""no" 1>&6
13946 echo $ac_n "checking for inet_addr in -lresolv""... $ac_c" 1>&6
13947 echo "configure:13948: checking for inet_addr in -lresolv" >&5
13948 ac_lib_var
=`echo resolv'_'inet_addr | sed 'y%./+-%__p_%'`
13949 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13950 echo $ac_n "(cached) $ac_c" 1>&6
13952 ac_save_LIBS
="$LIBS"
13953 LIBS
="-lresolv $LIBS"
13954 cat > conftest.
$ac_ext <<EOF
13955 #line 13956 "configure"
13956 #include "confdefs.h"
13957 /* Override any gcc2 internal prototype to avoid an error. */
13958 /* We use char because int might match the return type of a gcc2
13959 builtin and then its argument prototype would still apply. */
13966 if { (eval echo configure
:13967: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13968 eval "ac_cv_lib_$ac_lib_var=yes"
13970 echo "configure: failed program was:" >&5
13971 cat conftest.
$ac_ext >&5
13973 eval "ac_cv_lib_$ac_lib_var=no"
13976 LIBS
="$ac_save_LIBS"
13979 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13980 echo "$ac_t""yes" 1>&6
13984 echo "$ac_t""no" 1>&6
13996 for ac_func
in inet_aton
13998 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13999 echo "configure:14000: checking for $ac_func" >&5
14000 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14001 echo $ac_n "(cached) $ac_c" 1>&6
14003 cat > conftest.
$ac_ext <<EOF
14004 #line 14005 "configure"
14005 #include "confdefs.h"
14006 /* System header to define __stub macros and hopefully few prototypes,
14007 which can conflict with char $ac_func(); below. */
14008 #include <assert.h>
14009 /* Override any gcc2 internal prototype to avoid an error. */
14010 /* We use char because int might match the return type of a gcc2
14011 builtin and then its argument prototype would still apply. */
14016 /* The GNU C library defines this for functions which it implements
14017 to always fail with ENOSYS. Some functions are actually named
14018 something starting with __ and the normal name is an alias. */
14019 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14027 if { (eval echo configure
:14028: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14029 eval "ac_cv_func_$ac_func=yes"
14031 echo "configure: failed program was:" >&5
14032 cat conftest.
$ac_ext >&5
14034 eval "ac_cv_func_$ac_func=no"
14039 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14040 echo "$ac_t""yes" 1>&6
14041 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14042 cat >> confdefs.h
<<EOF
14043 #define $ac_tr_func 1
14045 cat >> confdefs.h
<<\EOF
14046 #define HAVE_INET_ATON 1
14050 echo "$ac_t""no" 1>&6
14051 echo $ac_n "checking for inet_aton in -l$INET_LINK""... $ac_c" 1>&6
14052 echo "configure:14053: checking for inet_aton in -l$INET_LINK" >&5
14053 ac_lib_var
=`echo $INET_LINK'_'inet_aton | sed 'y%./+-%__p_%'`
14054 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14055 echo $ac_n "(cached) $ac_c" 1>&6
14057 ac_save_LIBS
="$LIBS"
14058 LIBS
="-l$INET_LINK $LIBS"
14059 cat > conftest.
$ac_ext <<EOF
14060 #line 14061 "configure"
14061 #include "confdefs.h"
14062 /* Override any gcc2 internal prototype to avoid an error. */
14063 /* We use char because int might match the return type of a gcc2
14064 builtin and then its argument prototype would still apply. */
14071 if { (eval echo configure
:14072: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14073 eval "ac_cv_lib_$ac_lib_var=yes"
14075 echo "configure: failed program was:" >&5
14076 cat conftest.
$ac_ext >&5
14078 eval "ac_cv_lib_$ac_lib_var=no"
14081 LIBS
="$ac_save_LIBS"
14084 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14085 echo "$ac_t""yes" 1>&6
14086 cat >> confdefs.h
<<\EOF
14087 #define HAVE_INET_ATON 1
14091 echo "$ac_t""no" 1>&6
14099 if test "x$INET_LINK" != "x"; then
14100 cat >> confdefs.h
<<\EOF
14101 #define HAVE_INET_ADDR 1
14104 INET_LINK
="-l$INET_LINK"
14110 cat > confcache
<<\EOF
14111 # This file is a shell script that caches the results of configure
14112 # tests run on this system so they can be shared between configure
14113 # scripts and configure runs. It is not useful on other systems.
14114 # If it contains results you don't want to keep, you may remove or edit it.
14116 # By default, configure uses ./config.cache as the cache file,
14117 # creating it if it does not exist already. You can give configure
14118 # the --cache-file=FILE option to use a different cache file; that is
14119 # what configure does when it calls configure scripts in
14120 # subdirectories, so they share the cache.
14121 # Giving --cache-file=/dev/null disables caching, for debugging configure.
14122 # config.status only pays attention to the cache file if you give it the
14123 # --recheck option to rerun configure.
14126 # The following way of writing the cache mishandles newlines in values,
14127 # but we know of no workaround that is simple, portable, and efficient.
14128 # So, don't put newlines in cache variables' values.
14129 # Ultrix sh set writes to stderr and can't be redirected directly,
14130 # and sets the high bit in the cache file unless we assign to the vars.
14132 case `(ac_space=' '; set | grep ac_space) 2>&1` in
14134 # `set' does not quote correctly, so add quotes (double-quote substitution
14135 # turns \\\\ into \\, and sed turns \\ into \).
14137 -e "s/'/'\\\\''/g" \
14138 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
14141 # `set' quotes correctly as required by POSIX, so do not add quotes.
14142 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
14145 if cmp -s $cache_file confcache
; then
14148 if test -w $cache_file; then
14149 echo "updating cache $cache_file"
14150 cat confcache
> $cache_file
14152 echo "not updating unwritable cache $cache_file"
14159 if test "$TOOLKIT" != "MSW"; then
14165 if test "$wxUSE_THREADS" = "yes" ; then
14166 if test "$wxUSE_WINE" = 1 ; then
14167 echo "configure: warning: Threads are not supported under WINE" 1>&2
14169 elif test "$USE_BEOS" = 1; then
14170 echo "configure: warning: BeOS threads are not yet supported" 1>&2
14175 if test "$wxUSE_THREADS" = "yes" ; then
14177 if test "$USE_AIX" = 1; then
14178 THREADS_LIB
=pthreads
14180 THREADS_LIB
=pthread
14183 echo $ac_n "checking for pthread_create in -l$THREADS_LIB""... $ac_c" 1>&6
14184 echo "configure:14185: checking for pthread_create in -l$THREADS_LIB" >&5
14185 ac_lib_var
=`echo $THREADS_LIB'_'pthread_create | sed 'y%./+-%__p_%'`
14186 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14187 echo $ac_n "(cached) $ac_c" 1>&6
14189 ac_save_LIBS
="$LIBS"
14190 LIBS
="-l$THREADS_LIB $LIBS"
14191 cat > conftest.
$ac_ext <<EOF
14192 #line 14193 "configure"
14193 #include "confdefs.h"
14194 /* Override any gcc2 internal prototype to avoid an error. */
14195 /* We use char because int might match the return type of a gcc2
14196 builtin and then its argument prototype would still apply. */
14197 char pthread_create();
14203 if { (eval echo configure
:14204: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14205 eval "ac_cv_lib_$ac_lib_var=yes"
14207 echo "configure: failed program was:" >&5
14208 cat conftest.
$ac_ext >&5
14210 eval "ac_cv_lib_$ac_lib_var=no"
14213 LIBS
="$ac_save_LIBS"
14216 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14217 echo "$ac_t""yes" 1>&6
14219 THREADS_OBJ
="threadpsx.lo"
14220 THREADS_LINK
=$THREADS_LIB
14223 echo "$ac_t""no" 1>&6
14225 echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
14226 echo "configure:14227: checking for pthread_create in -lc_r" >&5
14227 ac_lib_var
=`echo c_r'_'pthread_create | sed 'y%./+-%__p_%'`
14228 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14229 echo $ac_n "(cached) $ac_c" 1>&6
14231 ac_save_LIBS
="$LIBS"
14233 cat > conftest.
$ac_ext <<EOF
14234 #line 14235 "configure"
14235 #include "confdefs.h"
14236 /* Override any gcc2 internal prototype to avoid an error. */
14237 /* We use char because int might match the return type of a gcc2
14238 builtin and then its argument prototype would still apply. */
14239 char pthread_create();
14245 if { (eval echo configure
:14246: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14247 eval "ac_cv_lib_$ac_lib_var=yes"
14249 echo "configure: failed program was:" >&5
14250 cat conftest.
$ac_ext >&5
14252 eval "ac_cv_lib_$ac_lib_var=no"
14255 LIBS
="$ac_save_LIBS"
14258 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14259 echo "$ac_t""yes" 1>&6
14261 THREADS_OBJ
="threadpsx.lo"
14265 echo "$ac_t""no" 1>&6
14267 ac_safe
=`echo "sys/prctl.h" | sed 'y%./+-%__p_%'`
14268 echo $ac_n "checking for sys/prctl.h""... $ac_c" 1>&6
14269 echo "configure:14270: checking for sys/prctl.h" >&5
14270 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14271 echo $ac_n "(cached) $ac_c" 1>&6
14273 cat > conftest.
$ac_ext <<EOF
14274 #line 14275 "configure"
14275 #include "confdefs.h"
14276 #include <sys/prctl.h>
14278 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14279 { (eval echo configure
:14280: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14280 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14281 if test -z "$ac_err"; then
14283 eval "ac_cv_header_$ac_safe=yes"
14286 echo "configure: failed program was:" >&5
14287 cat conftest.
$ac_ext >&5
14289 eval "ac_cv_header_$ac_safe=no"
14293 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14294 echo "$ac_t""yes" 1>&6
14296 THREADS_OBJ
="threadsgi.lo"
14299 echo "$ac_t""no" 1>&6
14309 if test -z "$THREADS_OBJ" ; then
14311 echo "configure: warning: No thread support on this system" 1>&2
14315 if test "$wxUSE_THREADS" = "yes" ; then
14316 for ac_func
in thr_setconcurrency
14318 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14319 echo "configure:14320: checking for $ac_func" >&5
14320 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14321 echo $ac_n "(cached) $ac_c" 1>&6
14323 cat > conftest.
$ac_ext <<EOF
14324 #line 14325 "configure"
14325 #include "confdefs.h"
14326 /* System header to define __stub macros and hopefully few prototypes,
14327 which can conflict with char $ac_func(); below. */
14328 #include <assert.h>
14329 /* Override any gcc2 internal prototype to avoid an error. */
14330 /* We use char because int might match the return type of a gcc2
14331 builtin and then its argument prototype would still apply. */
14336 /* The GNU C library defines this for functions which it implements
14337 to always fail with ENOSYS. Some functions are actually named
14338 something starting with __ and the normal name is an alias. */
14339 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14347 if { (eval echo configure
:14348: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14349 eval "ac_cv_func_$ac_func=yes"
14351 echo "configure: failed program was:" >&5
14352 cat conftest.
$ac_ext >&5
14354 eval "ac_cv_func_$ac_func=no"
14359 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14360 echo "$ac_t""yes" 1>&6
14361 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14362 cat >> confdefs.h
<<EOF
14363 #define $ac_tr_func 1
14367 echo "$ac_t""no" 1>&6
14373 for ac_hdr
in sched.h
14375 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
14376 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
14377 echo "configure:14378: checking for $ac_hdr" >&5
14378 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14379 echo $ac_n "(cached) $ac_c" 1>&6
14381 cat > conftest.
$ac_ext <<EOF
14382 #line 14383 "configure"
14383 #include "confdefs.h"
14386 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14387 { (eval echo configure
:14388: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14388 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14389 if test -z "$ac_err"; then
14391 eval "ac_cv_header_$ac_safe=yes"
14394 echo "configure: failed program was:" >&5
14395 cat conftest.
$ac_ext >&5
14397 eval "ac_cv_header_$ac_safe=no"
14401 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14402 echo "$ac_t""yes" 1>&6
14403 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
14404 cat >> confdefs.h
<<EOF
14405 #define $ac_tr_hdr 1
14409 echo "$ac_t""no" 1>&6
14414 echo $ac_n "checking for sched_yield in -l$THREADS_LINK""... $ac_c" 1>&6
14415 echo "configure:14416: checking for sched_yield in -l$THREADS_LINK" >&5
14416 ac_lib_var
=`echo $THREADS_LINK'_'sched_yield | sed 'y%./+-%__p_%'`
14417 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14418 echo $ac_n "(cached) $ac_c" 1>&6
14420 ac_save_LIBS
="$LIBS"
14421 LIBS
="-l$THREADS_LINK $LIBS"
14422 cat > conftest.
$ac_ext <<EOF
14423 #line 14424 "configure"
14424 #include "confdefs.h"
14425 /* Override any gcc2 internal prototype to avoid an error. */
14426 /* We use char because int might match the return type of a gcc2
14427 builtin and then its argument prototype would still apply. */
14428 char sched_yield();
14434 if { (eval echo configure
:14435: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14436 eval "ac_cv_lib_$ac_lib_var=yes"
14438 echo "configure: failed program was:" >&5
14439 cat conftest.
$ac_ext >&5
14441 eval "ac_cv_lib_$ac_lib_var=no"
14444 LIBS
="$ac_save_LIBS"
14447 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14448 echo "$ac_t""yes" 1>&6
14449 cat >> confdefs.h
<<\EOF
14450 #define HAVE_SCHED_YIELD 1
14454 echo "$ac_t""no" 1>&6
14455 echo $ac_n "checking for sched_yield in -lposix4""... $ac_c" 1>&6
14456 echo "configure:14457: checking for sched_yield in -lposix4" >&5
14457 ac_lib_var
=`echo posix4'_'sched_yield | sed 'y%./+-%__p_%'`
14458 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14459 echo $ac_n "(cached) $ac_c" 1>&6
14461 ac_save_LIBS
="$LIBS"
14462 LIBS
="-lposix4 $LIBS"
14463 cat > conftest.
$ac_ext <<EOF
14464 #line 14465 "configure"
14465 #include "confdefs.h"
14466 /* Override any gcc2 internal prototype to avoid an error. */
14467 /* We use char because int might match the return type of a gcc2
14468 builtin and then its argument prototype would still apply. */
14469 char sched_yield();
14475 if { (eval echo configure
:14476: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14477 eval "ac_cv_lib_$ac_lib_var=yes"
14479 echo "configure: failed program was:" >&5
14480 cat conftest.
$ac_ext >&5
14482 eval "ac_cv_lib_$ac_lib_var=no"
14485 LIBS
="$ac_save_LIBS"
14488 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14489 echo "$ac_t""yes" 1>&6
14490 cat >> confdefs.h
<<\EOF
14491 #define HAVE_SCHED_YIELD 1
14493 POSIX4_LINK
="-lposix4"
14495 echo "$ac_t""no" 1>&6
14496 echo "configure: warning: wxThread::Yield will not work properly" 1>&2
14505 echo $ac_n "checking for pthread_attr_getschedpolicy in -l$THREADS_LINK""... $ac_c" 1>&6
14506 echo "configure:14507: checking for pthread_attr_getschedpolicy in -l$THREADS_LINK" >&5
14507 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
14508 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14509 echo $ac_n "(cached) $ac_c" 1>&6
14511 ac_save_LIBS
="$LIBS"
14512 LIBS
="-l$THREADS_LINK $LIBS"
14513 cat > conftest.
$ac_ext <<EOF
14514 #line 14515 "configure"
14515 #include "confdefs.h"
14516 /* Override any gcc2 internal prototype to avoid an error. */
14517 /* We use char because int might match the return type of a gcc2
14518 builtin and then its argument prototype would still apply. */
14519 char pthread_attr_getschedpolicy();
14522 pthread_attr_getschedpolicy()
14525 if { (eval echo configure
:14526: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14527 eval "ac_cv_lib_$ac_lib_var=yes"
14529 echo "configure: failed program was:" >&5
14530 cat conftest.
$ac_ext >&5
14532 eval "ac_cv_lib_$ac_lib_var=no"
14535 LIBS
="$ac_save_LIBS"
14538 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14539 echo "$ac_t""yes" 1>&6
14540 echo $ac_n "checking for pthread_attr_setschedparam in -l$THREADS_LINK""... $ac_c" 1>&6
14541 echo "configure:14542: checking for pthread_attr_setschedparam in -l$THREADS_LINK" >&5
14542 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_setschedparam | 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_LINK $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_attr_setschedparam();
14557 pthread_attr_setschedparam()
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
14575 echo $ac_n "checking for sched_get_priority_max in -l$THREADS_LINK""... $ac_c" 1>&6
14576 echo "configure:14577: checking for sched_get_priority_max in -l$THREADS_LINK" >&5
14577 ac_lib_var
=`echo $THREADS_LINK'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
14578 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14579 echo $ac_n "(cached) $ac_c" 1>&6
14581 ac_save_LIBS
="$LIBS"
14582 LIBS
="-l$THREADS_LINK $LIBS"
14583 cat > conftest.
$ac_ext <<EOF
14584 #line 14585 "configure"
14585 #include "confdefs.h"
14586 /* Override any gcc2 internal prototype to avoid an error. */
14587 /* We use char because int might match the return type of a gcc2
14588 builtin and then its argument prototype would still apply. */
14589 char sched_get_priority_max();
14592 sched_get_priority_max()
14595 if { (eval echo configure
:14596: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14597 eval "ac_cv_lib_$ac_lib_var=yes"
14599 echo "configure: failed program was:" >&5
14600 cat conftest.
$ac_ext >&5
14602 eval "ac_cv_lib_$ac_lib_var=no"
14605 LIBS
="$ac_save_LIBS"
14608 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14609 echo "$ac_t""yes" 1>&6
14612 echo "$ac_t""no" 1>&6
14613 echo $ac_n "checking for sched_get_priority_max in -lposix4""... $ac_c" 1>&6
14614 echo "configure:14615: checking for sched_get_priority_max in -lposix4" >&5
14615 ac_lib_var
=`echo posix4'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
14616 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14617 echo $ac_n "(cached) $ac_c" 1>&6
14619 ac_save_LIBS
="$LIBS"
14620 LIBS
="-lposix4 $LIBS"
14621 cat > conftest.
$ac_ext <<EOF
14622 #line 14623 "configure"
14623 #include "confdefs.h"
14624 /* Override any gcc2 internal prototype to avoid an error. */
14625 /* We use char because int might match the return type of a gcc2
14626 builtin and then its argument prototype would still apply. */
14627 char sched_get_priority_max();
14630 sched_get_priority_max()
14633 if { (eval echo configure
:14634: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14635 eval "ac_cv_lib_$ac_lib_var=yes"
14637 echo "configure: failed program was:" >&5
14638 cat conftest.
$ac_ext >&5
14640 eval "ac_cv_lib_$ac_lib_var=no"
14643 LIBS
="$ac_save_LIBS"
14646 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14647 echo "$ac_t""yes" 1>&6
14650 POSIX4_LINK
="-lposix4"
14653 echo "$ac_t""no" 1>&6
14661 echo "$ac_t""no" 1>&6
14666 echo "$ac_t""no" 1>&6
14670 if test "$HAVE_PRIOR_FUNCS" = 1; then
14671 cat >> confdefs.h
<<\EOF
14672 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
14676 echo "configure: warning: Setting thread priority will not work" 1>&2
14679 echo $ac_n "checking for pthread_cancel in -l$THREADS_LINK""... $ac_c" 1>&6
14680 echo "configure:14681: checking for pthread_cancel in -l$THREADS_LINK" >&5
14681 ac_lib_var
=`echo $THREADS_LINK'_'pthread_cancel | sed 'y%./+-%__p_%'`
14682 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14683 echo $ac_n "(cached) $ac_c" 1>&6
14685 ac_save_LIBS
="$LIBS"
14686 LIBS
="-l$THREADS_LINK $LIBS"
14687 cat > conftest.
$ac_ext <<EOF
14688 #line 14689 "configure"
14689 #include "confdefs.h"
14690 /* Override any gcc2 internal prototype to avoid an error. */
14691 /* We use char because int might match the return type of a gcc2
14692 builtin and then its argument prototype would still apply. */
14693 char pthread_cancel();
14699 if { (eval echo configure
:14700: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14701 eval "ac_cv_lib_$ac_lib_var=yes"
14703 echo "configure: failed program was:" >&5
14704 cat conftest.
$ac_ext >&5
14706 eval "ac_cv_lib_$ac_lib_var=no"
14709 LIBS
="$ac_save_LIBS"
14712 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14713 echo "$ac_t""yes" 1>&6
14714 cat >> confdefs.h
<<\EOF
14715 #define HAVE_PTHREAD_CANCEL 1
14719 echo "$ac_t""no" 1>&6
14720 echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
14724 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
14725 echo "configure:14726: checking for pthread_cleanup_push/pop" >&5
14726 if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
14727 echo $ac_n "(cached) $ac_c" 1>&6
14730 cat > conftest.
$ac_ext <<EOF
14731 #line 14732 "configure"
14732 #include "confdefs.h"
14733 #include <pthread.h>
14736 pthread_cleanup_push(NULL, NULL);
14737 pthread_cleanup_pop(0);
14741 if { (eval echo configure
:14742: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14744 wx_cv_func_pthread_cleanup_push
=yes
14747 echo "configure: failed program was:" >&5
14748 cat conftest.
$ac_ext >&5
14751 wx_cv_func_pthread_cleanup_push
=no
14758 echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
14760 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
14761 cat >> confdefs.h
<<\EOF
14762 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
14768 if test "x$wx_lib_glibc21" = "xyes"; then
14769 CFLAGS
="$CFLAGS -D_XOPEN_SOURCE=500"
14772 echo $ac_n "checking for pthread_mutexattr_t""... $ac_c" 1>&6
14773 echo "configure:14774: checking for pthread_mutexattr_t" >&5
14774 if eval "test \"`echo '$''{'wx_cv_type_pthread_mutexattr_t'+set}'`\" = set"; then
14775 echo $ac_n "(cached) $ac_c" 1>&6
14778 cat > conftest.
$ac_ext <<EOF
14779 #line 14780 "configure"
14780 #include "confdefs.h"
14781 #include <pthread.h>
14784 pthread_mutexattr_t attr;
14785 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
14789 if { (eval echo configure
:14790: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14792 wx_cv_type_pthread_mutexattr_t
=yes
14795 echo "configure: failed program was:" >&5
14796 cat conftest.
$ac_ext >&5
14799 wx_cv_type_pthread_mutexattr_t
=no
14807 echo "$ac_t""$wx_cv_type_pthread_mutexattr_t" 1>&6
14809 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
14810 cat >> confdefs.h
<<\EOF
14811 #define HAVE_PTHREAD_MUTEXATTR_T 1
14815 echo $ac_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER""... $ac_c" 1>&6
14816 echo "configure:14817: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
14817 if eval "test \"`echo '$''{'wx_cv_type_pthread_rec_mutex_init'+set}'`\" = set"; then
14818 echo $ac_n "(cached) $ac_c" 1>&6
14821 cat > conftest.
$ac_ext <<EOF
14822 #line 14823 "configure"
14823 #include "confdefs.h"
14824 #include <pthread.h>
14827 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
14831 if { (eval echo configure
:14832: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14834 wx_cv_type_pthread_rec_mutex_init
=yes
14837 echo "configure: failed program was:" >&5
14838 cat conftest.
$ac_ext >&5
14841 wx_cv_type_pthread_rec_mutex_init
=no
14849 echo "$ac_t""$wx_cv_type_pthread_rec_mutex_init" 1>&6
14850 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
14851 cat >> confdefs.h
<<\EOF
14852 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
14856 echo "configure: warning: wxMutex won't be recursive on this platform" 1>&2
14860 THREADS_LINK
="-l$THREADS_LINK"
14862 if test "$USE_SOLARIS" = "yes" -a "$GCC" != "yes"; then
14863 CFLAGS
="${CFLAGS} -mt"
14864 CXXFLAGS
="${CXXFLAGS} -mt"
14865 LDFLAGS
="${LDFLAGS} -mt"
14871 if test "$wxUSE_THREADS" = "yes"; then
14872 cat >> confdefs.h
<<\EOF
14873 #define wxUSE_THREADS 1
14877 if test "$USE_DARWIN" != 1; then
14878 CFLAGS
="${CFLAGS} -D_REENTRANT"
14879 CXXFLAGS
="${CXXFLAGS} -D_REENTRANT"
14882 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
14884 if test "$ac_cv_func_strtok_r" = "yes"; then
14885 echo $ac_n "checking if -D_REENTRANT is needed""... $ac_c" 1>&6
14886 echo "configure:14887: checking if -D_REENTRANT is needed" >&5
14887 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
14888 CFLAGS
="${CFLAGS} -D_REENTRANT"
14889 CXXFLAGS
="${CXXFLAGS} -D_REENTRANT"
14890 echo "$ac_t""yes" 1>&6
14892 echo "$ac_t""no" 1>&6
14897 if test "$WXGTK20" = 1 ; then
14898 cat >> confdefs.h
<<EOF
14899 #define __WXGTK20__ $WXGTK20
14905 if test "$WXGTK12" = 1 ; then
14906 cat >> confdefs.h
<<EOF
14907 #define __WXGTK12__ $WXGTK12
14912 if test "$WXGTK127" = 1 ; then
14913 cat >> confdefs.h
<<EOF
14914 #define __WXGTK127__ $WXGTK127
14919 if test "$WXWINE" = 1 ; then
14920 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WXWINE__"
14923 if test "$wxUSE_MAC" = 1 ; then
14924 TOOLKIT_DEF
="${TOOLKIT_DEF} -DTARGET_CARBON"
14925 CFLAGS
="${CFLAGS} -fpascal-strings"
14926 CPPFLAGS
="${CPPFLAGS} -cpp-precomp -fpascal-strings"
14927 # Extract the first word of "Rez", so it can be a program name with args.
14928 set dummy Rez
; ac_word
=$2
14929 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
14930 echo "configure:14931: checking for $ac_word" >&5
14931 if eval "test \"`echo '$''{'ac_cv_prog_REZ'+set}'`\" = set"; then
14932 echo $ac_n "(cached) $ac_c" 1>&6
14934 if test -n "$REZ"; then
14935 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
14937 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
14939 for ac_dir
in $ac_dummy; do
14940 test -z "$ac_dir" && ac_dir
=.
14941 if test -f $ac_dir/$ac_word; then
14942 ac_cv_prog_REZ
="Rez"
14947 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
14950 REZ
="$ac_cv_prog_REZ"
14951 if test -n "$REZ"; then
14952 echo "$ac_t""$REZ" 1>&6
14954 echo "$ac_t""no" 1>&6
14957 # Extract the first word of "Derez", so it can be a program name with args.
14958 set dummy Derez
; ac_word
=$2
14959 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
14960 echo "configure:14961: checking for $ac_word" >&5
14961 if eval "test \"`echo '$''{'ac_cv_prog_DEREZ'+set}'`\" = set"; then
14962 echo $ac_n "(cached) $ac_c" 1>&6
14964 if test -n "$DEREZ"; then
14965 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
14967 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
14969 for ac_dir
in $ac_dummy; do
14970 test -z "$ac_dir" && ac_dir
=.
14971 if test -f $ac_dir/$ac_word; then
14972 ac_cv_prog_DEREZ
="Derez"
14977 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/Derez"
14980 DEREZ
="$ac_cv_prog_DEREZ"
14981 if test -n "$DEREZ"; then
14982 echo "$ac_t""$DEREZ" 1>&6
14984 echo "$ac_t""no" 1>&6
14988 REZFLAGS
="-d __UNIX__ -useDF"
14989 DEREZFLAGS
="Carbon.r -useDF"
14990 RESFLAGS
="Carbon.r -t APPL"
14991 LIBWXMACRES
="\$(LIBWX_MACRES)"
14992 LIBWXMACRESCOMP
="\$(LIBWX_MACRESCOMP)"
14995 if test "$wxUSE_CYGWIN" = 1 ; then
14996 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WIN95__"
15001 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
15006 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
15007 wxUSE_DEBUG_INFO
=yes
15011 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
15012 cat >> confdefs.h
<<\EOF
15016 WXDEBUG_DEFINE
="-D__WXDEBUG__"
15018 if test "$wxUSE_GTK" = 1 ; then
15019 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
15023 if test "$wxUSE_MEM_TRACING" = "yes" ; then
15024 cat >> confdefs.h
<<\EOF
15025 #define wxUSE_MEMORY_TRACING 1
15028 cat >> confdefs.h
<<\EOF
15029 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
15032 cat >> confdefs.h
<<\EOF
15033 #define wxUSE_DEBUG_NEW_ALWAYS 1
15036 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
15039 if test "$wxUSE_DMALLOC" = "yes" ; then
15040 DMALLOC_LINK
="-ldmalloc"
15044 if test "$wxUSE_PROFILE" = "yes" ; then
15050 CODE_GEN_FLAGS_CXX
=
15051 if test "$GCC" = yes ; then
15052 if test "$wxUSE_NO_RTTI" = "yes" ; then
15053 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS -fno-rtti"
15055 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
15056 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS -fno-exceptions"
15058 if test "$wxUSE_PERMISSIVE" = "yes" ; then
15059 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
15061 if test "$wxUSE_NO_DEPS" = "no" ; then
15062 DEP_INFO_FLAGS
="-MMD"
15067 CXXFLAGS
=`echo "${CXXFLAGS}" | sed "s/\-O.//g" `
15068 CFLAGS
=`echo "${CFLAGS}" | sed "s/\-O.//g" `
15069 if test "$wxUSE_OPTIMISE" = "no" ; then
15072 if test "$GCC" = yes ; then
15075 i586
-*-*|i686
-*-* )
15076 OPTIMISE
="${OPTIMISE} "
15084 if test "$WXWIN_COMPATIBILITY_2" = "yes"; then
15085 cat >> confdefs.h
<<\EOF
15086 #define WXWIN_COMPATIBILITY_2 1
15090 WXWIN_COMPATIBILITY_2_2
="yes"
15093 if test "$WXWIN_COMPATIBILITY_2_2" = "yes"; then
15094 cat >> confdefs.h
<<\EOF
15095 #define WXWIN_COMPATIBILITY_2_2 1
15102 if test "$wxUSE_ZLIB" = "yes" -o "$wxUSE_ZLIB" = "sys" ; then
15103 cat >> confdefs.h
<<\EOF
15104 #define wxUSE_ZLIB 1
15107 if test "$wxUSE_ZLIB" = "yes" ; then
15108 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
15111 ac_safe
=`echo "zlib.h" | sed 'y%./+-%__p_%'`
15112 echo $ac_n "checking for zlib.h""... $ac_c" 1>&6
15113 echo "configure:15114: checking for zlib.h" >&5
15114 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15115 echo $ac_n "(cached) $ac_c" 1>&6
15117 cat > conftest.
$ac_ext <<EOF
15118 #line 15119 "configure"
15119 #include "confdefs.h"
15122 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15123 { (eval echo configure
:15124: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15124 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15125 if test -z "$ac_err"; then
15127 eval "ac_cv_header_$ac_safe=yes"
15130 echo "configure: failed program was:" >&5
15131 cat conftest.
$ac_ext >&5
15133 eval "ac_cv_header_$ac_safe=no"
15137 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15138 echo "$ac_t""yes" 1>&6
15139 echo $ac_n "checking for deflate in -lz""... $ac_c" 1>&6
15140 echo "configure:15141: checking for deflate in -lz" >&5
15141 ac_lib_var
=`echo z'_'deflate | sed 'y%./+-%__p_%'`
15142 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15143 echo $ac_n "(cached) $ac_c" 1>&6
15145 ac_save_LIBS
="$LIBS"
15147 cat > conftest.
$ac_ext <<EOF
15148 #line 15149 "configure"
15149 #include "confdefs.h"
15150 /* Override any gcc2 internal prototype to avoid an error. */
15151 /* We use char because int might match the return type of a gcc2
15152 builtin and then its argument prototype would still apply. */
15159 if { (eval echo configure
:15160: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15161 eval "ac_cv_lib_$ac_lib_var=yes"
15163 echo "configure: failed program was:" >&5
15164 cat conftest.
$ac_ext >&5
15166 eval "ac_cv_lib_$ac_lib_var=no"
15169 LIBS
="$ac_save_LIBS"
15172 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15173 echo "$ac_t""yes" 1>&6
15176 echo "$ac_t""no" 1>&6
15180 echo "$ac_t""no" 1>&6
15183 if test "x$ZLIB_LINK" = "x" ; then
15184 { echo "configure: error: system zlib compression library not found! Use --with-zlib=yes to use built-in zlib" 1>&2; exit 1; }
15190 if test "$wxUSE_LIBPNG" = "yes" -o "$wxUSE_LIBPNG" = "sys" ; then
15191 cat >> confdefs.h
<<\EOF
15192 #define wxUSE_LIBPNG 1
15195 if test "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
15196 echo "configure: warning: --with-libpng=sys doesn't work without --with-zlib=sys, will compile the built-in libpng instead" 1>&2
15200 if test "$wxUSE_LIBPNG" = "yes" ; then
15201 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
15204 ac_safe
=`echo "png.h" | sed 'y%./+-%__p_%'`
15205 echo $ac_n "checking for png.h""... $ac_c" 1>&6
15206 echo "configure:15207: checking for png.h" >&5
15207 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15208 echo $ac_n "(cached) $ac_c" 1>&6
15210 cat > conftest.
$ac_ext <<EOF
15211 #line 15212 "configure"
15212 #include "confdefs.h"
15215 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15216 { (eval echo configure
:15217: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15217 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15218 if test -z "$ac_err"; then
15220 eval "ac_cv_header_$ac_safe=yes"
15223 echo "configure: failed program was:" >&5
15224 cat conftest.
$ac_ext >&5
15226 eval "ac_cv_header_$ac_safe=no"
15230 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15231 echo "$ac_t""yes" 1>&6
15232 echo $ac_n "checking for png_check_sig in -lpng""... $ac_c" 1>&6
15233 echo "configure:15234: checking for png_check_sig in -lpng" >&5
15234 ac_lib_var
=`echo png'_'png_check_sig | sed 'y%./+-%__p_%'`
15235 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15236 echo $ac_n "(cached) $ac_c" 1>&6
15238 ac_save_LIBS
="$LIBS"
15239 LIBS
="-lpng -lz -lm $LIBS"
15240 cat > conftest.
$ac_ext <<EOF
15241 #line 15242 "configure"
15242 #include "confdefs.h"
15243 /* Override any gcc2 internal prototype to avoid an error. */
15244 /* We use char because int might match the return type of a gcc2
15245 builtin and then its argument prototype would still apply. */
15246 char png_check_sig();
15252 if { (eval echo configure
:15253: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15254 eval "ac_cv_lib_$ac_lib_var=yes"
15256 echo "configure: failed program was:" >&5
15257 cat conftest.
$ac_ext >&5
15259 eval "ac_cv_lib_$ac_lib_var=no"
15262 LIBS
="$ac_save_LIBS"
15265 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15266 echo "$ac_t""yes" 1>&6
15269 echo "$ac_t""no" 1>&6
15274 echo "$ac_t""no" 1>&6
15277 if test "x$PNG_LINK" = "x" ; then
15278 { echo "configure: error: system png library not found! Use --with-libpng=yes to use the built-in libpng" 1>&2; exit 1; }
15282 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
15286 if test "$wxUSE_LIBJPEG" = "yes" -o "$wxUSE_LIBJPEG" = "sys" ; then
15287 cat >> confdefs.h
<<\EOF
15288 #define wxUSE_LIBJPEG 1
15291 if test "$wxUSE_LIBJPEG" = "yes" ; then
15292 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
15295 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6
15296 echo "configure:15297: checking for jpeglib.h" >&5
15297 if eval "test \"`echo '$''{'ac_cv_header_jpeglib_h'+set}'`\" = set"; then
15298 echo $ac_n "(cached) $ac_c" 1>&6
15300 cat > conftest.
$ac_ext <<EOF
15301 #line 15302 "configure"
15302 #include "confdefs.h"
15304 #undef HAVE_STDLIB_H
15306 #include <jpeglib.h>
15313 if { (eval echo configure
:15314: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15315 ac_cv_header_jpeglib_h
=yes
15317 echo "configure: failed program was:" >&5
15318 cat conftest.
$ac_ext >&5
15320 ac_cv_header_jpeglib_h
=no
15327 echo "$ac_t""$ac_cv_header_jpeglib_h" 1>&6
15329 if test "$ac_cv_header_jpeglib_h" = "yes"; then
15330 echo $ac_n "checking for jpeg_read_header in -ljpeg""... $ac_c" 1>&6
15331 echo "configure:15332: checking for jpeg_read_header in -ljpeg" >&5
15332 ac_lib_var
=`echo jpeg'_'jpeg_read_header | sed 'y%./+-%__p_%'`
15333 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15334 echo $ac_n "(cached) $ac_c" 1>&6
15336 ac_save_LIBS
="$LIBS"
15337 LIBS
="-ljpeg $LIBS"
15338 cat > conftest.
$ac_ext <<EOF
15339 #line 15340 "configure"
15340 #include "confdefs.h"
15341 /* Override any gcc2 internal prototype to avoid an error. */
15342 /* We use char because int might match the return type of a gcc2
15343 builtin and then its argument prototype would still apply. */
15344 char jpeg_read_header();
15350 if { (eval echo configure
:15351: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15352 eval "ac_cv_lib_$ac_lib_var=yes"
15354 echo "configure: failed program was:" >&5
15355 cat conftest.
$ac_ext >&5
15357 eval "ac_cv_lib_$ac_lib_var=no"
15360 LIBS
="$ac_save_LIBS"
15363 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15364 echo "$ac_t""yes" 1>&6
15367 echo "$ac_t""no" 1>&6
15372 if test "x$JPEG_LINK" = "x" ; then
15373 { echo "configure: error: system jpeg library not found! Use --with-libjpeg=yes to use the built-in one" 1>&2; exit 1; }
15379 if test "$wxUSE_LIBTIFF" = "yes" -o "$wxUSE_LIBTIFF" = "sys" ; then
15380 cat >> confdefs.h
<<\EOF
15381 #define wxUSE_LIBTIFF 1
15384 if test "$wxUSE_LIBTIFF" = "yes" ; then
15385 TIFF_INCLUDE
="-I\${top_srcdir}/src/tiff"
15388 ac_safe
=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
15389 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
15390 echo "configure:15391: checking for tiffio.h" >&5
15391 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15392 echo $ac_n "(cached) $ac_c" 1>&6
15394 cat > conftest.
$ac_ext <<EOF
15395 #line 15396 "configure"
15396 #include "confdefs.h"
15397 #include <tiffio.h>
15399 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15400 { (eval echo configure
:15401: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15401 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15402 if test -z "$ac_err"; then
15404 eval "ac_cv_header_$ac_safe=yes"
15407 echo "configure: failed program was:" >&5
15408 cat conftest.
$ac_ext >&5
15410 eval "ac_cv_header_$ac_safe=no"
15414 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15415 echo "$ac_t""yes" 1>&6
15416 echo $ac_n "checking for TIFFError in -ltiff""... $ac_c" 1>&6
15417 echo "configure:15418: checking for TIFFError in -ltiff" >&5
15418 ac_lib_var
=`echo tiff'_'TIFFError | sed 'y%./+-%__p_%'`
15419 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15420 echo $ac_n "(cached) $ac_c" 1>&6
15422 ac_save_LIBS
="$LIBS"
15423 LIBS
="-ltiff -lm $LIBS"
15424 cat > conftest.
$ac_ext <<EOF
15425 #line 15426 "configure"
15426 #include "confdefs.h"
15427 /* Override any gcc2 internal prototype to avoid an error. */
15428 /* We use char because int might match the return type of a gcc2
15429 builtin and then its argument prototype would still apply. */
15436 if { (eval echo configure
:15437: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15438 eval "ac_cv_lib_$ac_lib_var=yes"
15440 echo "configure: failed program was:" >&5
15441 cat conftest.
$ac_ext >&5
15443 eval "ac_cv_lib_$ac_lib_var=no"
15446 LIBS
="$ac_save_LIBS"
15449 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15450 echo "$ac_t""yes" 1>&6
15453 echo "$ac_t""no" 1>&6
15457 echo "$ac_t""no" 1>&6
15460 if test "x$TIFF_LINK" = "x" ; then
15461 { echo "configure: error: system tiff library not found! Use --with-libtiff=yes to use the built-in one" 1>&2; exit 1; }
15467 if test "$wxUSE_FREETYPE" = "yes" -o "$wxUSE_FREETYPE" = "sys" ; then
15468 cat >> confdefs.h
<<\EOF
15469 #define wxUSE_FREETYPE 1
15472 if test "$wxUSE_FREETYPE" = "yes" ; then
15473 FREETYPE_INCLUDE
="-I\${top_srcdir}/src/freetype"
15476 ac_safe
=`echo "freetype.h" | sed 'y%./+-%__p_%'`
15477 echo $ac_n "checking for freetype.h""... $ac_c" 1>&6
15478 echo "configure:15479: checking for freetype.h" >&5
15479 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15480 echo $ac_n "(cached) $ac_c" 1>&6
15482 cat > conftest.
$ac_ext <<EOF
15483 #line 15484 "configure"
15484 #include "confdefs.h"
15485 #include <freetype.h>
15487 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15488 { (eval echo configure
:15489: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15489 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15490 if test -z "$ac_err"; then
15492 eval "ac_cv_header_$ac_safe=yes"
15495 echo "configure: failed program was:" >&5
15496 cat conftest.
$ac_ext >&5
15498 eval "ac_cv_header_$ac_safe=no"
15502 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15503 echo "$ac_t""yes" 1>&6
15504 echo $ac_n "checking for FT_Render_Glyph in -lfreetype""... $ac_c" 1>&6
15505 echo "configure:15506: checking for FT_Render_Glyph in -lfreetype" >&5
15506 ac_lib_var
=`echo freetype'_'FT_Render_Glyph | sed 'y%./+-%__p_%'`
15507 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15508 echo $ac_n "(cached) $ac_c" 1>&6
15510 ac_save_LIBS
="$LIBS"
15511 LIBS
="-lfreetype -lm $LIBS"
15512 cat > conftest.
$ac_ext <<EOF
15513 #line 15514 "configure"
15514 #include "confdefs.h"
15515 /* Override any gcc2 internal prototype to avoid an error. */
15516 /* We use char because int might match the return type of a gcc2
15517 builtin and then its argument prototype would still apply. */
15518 char FT_Render_Glyph();
15524 if { (eval echo configure
:15525: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15526 eval "ac_cv_lib_$ac_lib_var=yes"
15528 echo "configure: failed program was:" >&5
15529 cat conftest.
$ac_ext >&5
15531 eval "ac_cv_lib_$ac_lib_var=no"
15534 LIBS
="$ac_save_LIBS"
15537 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15538 echo "$ac_t""yes" 1>&6
15539 FREETYPE_LINK
="-lfreetype"
15541 echo "$ac_t""no" 1>&6
15546 echo "$ac_t""no" 1>&6
15549 if test "x$FREETYPE_LINK" = "x" ; then
15550 { echo "configure: error: system freetype library not found! Use --with-freetype=yes to use the built-in freetype" 1>&2; exit 1; }
15555 if test "$wxUSE_OPENGL" = "yes"; then
15556 if test "$wxUSE_MAC" = 1; then
15557 cat >> confdefs.h
<<\EOF
15558 #define wxUSE_OPENGL 1
15561 cat >> confdefs.h
<<\EOF
15562 #define wxUSE_GLCANVAS 1
15565 OPENGL_LINK
="-framework OpenGL -framework AGL"
15566 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl"
15568 ac_safe
=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
15569 echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
15570 echo "configure:15571: checking for GL/gl.h" >&5
15571 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15572 echo $ac_n "(cached) $ac_c" 1>&6
15574 cat > conftest.
$ac_ext <<EOF
15575 #line 15576 "configure"
15576 #include "confdefs.h"
15579 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15580 { (eval echo configure
:15581: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15581 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15582 if test -z "$ac_err"; then
15584 eval "ac_cv_header_$ac_safe=yes"
15587 echo "configure: failed program was:" >&5
15588 cat conftest.
$ac_ext >&5
15590 eval "ac_cv_header_$ac_safe=no"
15594 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15595 echo "$ac_t""yes" 1>&6
15597 cat >> confdefs.h
<<\EOF
15598 #define wxUSE_OPENGL 1
15601 cat >> confdefs.h
<<\EOF
15602 #define wxUSE_GLCANVAS 1
15605 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl"
15606 echo $ac_n "checking for glFlush in -lGL""... $ac_c" 1>&6
15607 echo "configure:15608: checking for glFlush in -lGL" >&5
15608 ac_lib_var
=`echo GL'_'glFlush | sed 'y%./+-%__p_%'`
15609 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15610 echo $ac_n "(cached) $ac_c" 1>&6
15612 ac_save_LIBS
="$LIBS"
15614 cat > conftest.
$ac_ext <<EOF
15615 #line 15616 "configure"
15616 #include "confdefs.h"
15617 /* Override any gcc2 internal prototype to avoid an error. */
15618 /* We use char because int might match the return type of a gcc2
15619 builtin and then its argument prototype would still apply. */
15626 if { (eval echo configure
:15627: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15628 eval "ac_cv_lib_$ac_lib_var=yes"
15630 echo "configure: failed program was:" >&5
15631 cat conftest.
$ac_ext >&5
15633 eval "ac_cv_lib_$ac_lib_var=no"
15636 LIBS
="$ac_save_LIBS"
15639 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15640 echo "$ac_t""yes" 1>&6
15642 OPENGL_LINK
="-lGL -lGLU"
15645 echo "$ac_t""no" 1>&6
15647 echo $ac_n "checking for glFlush in -lMesaGL""... $ac_c" 1>&6
15648 echo "configure:15649: checking for glFlush in -lMesaGL" >&5
15649 ac_lib_var
=`echo MesaGL'_'glFlush | sed 'y%./+-%__p_%'`
15650 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15651 echo $ac_n "(cached) $ac_c" 1>&6
15653 ac_save_LIBS
="$LIBS"
15654 LIBS
="-lMesaGL $LIBS"
15655 cat > conftest.
$ac_ext <<EOF
15656 #line 15657 "configure"
15657 #include "confdefs.h"
15658 /* Override any gcc2 internal prototype to avoid an error. */
15659 /* We use char because int might match the return type of a gcc2
15660 builtin and then its argument prototype would still apply. */
15667 if { (eval echo configure
:15668: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15669 eval "ac_cv_lib_$ac_lib_var=yes"
15671 echo "configure: failed program was:" >&5
15672 cat conftest.
$ac_ext >&5
15674 eval "ac_cv_lib_$ac_lib_var=no"
15677 LIBS
="$ac_save_LIBS"
15680 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15681 echo "$ac_t""yes" 1>&6
15683 OPENGL_LINK
="-lMesaGL -lMesaGLU"
15686 echo "$ac_t""no" 1>&6
15694 echo "$ac_t""no" 1>&6
15702 if test "$wxUSE_GUI" = "yes"; then
15703 cat >> confdefs.h
<<\EOF
15704 #define wxUSE_GUI 1
15709 cat >> confdefs.h
<<\EOF
15710 #define wxUSE_NOGUI 1
15716 if test "$wxUSE_UNIX" = "yes"; then
15717 cat >> confdefs.h
<<\EOF
15718 #define wxUSE_UNIX 1
15724 if test "$wxUSE_APPLE_IEEE" = "yes"; then
15725 cat >> confdefs.h
<<\EOF
15726 #define wxUSE_APPLE_IEEE 1
15731 if test "$wxUSE_TIMER" = "yes"; then
15732 cat >> confdefs.h
<<\EOF
15733 #define wxUSE_TIMER 1
15738 if test "$wxUSE_WAVE" = "yes"; then
15739 cat >> confdefs.h
<<\EOF
15740 #define wxUSE_WAVE 1
15745 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
15746 cat >> confdefs.h
<<\EOF
15747 #define wxUSE_CMDLINE_PARSER 1
15752 if test "$wxUSE_STOPWATCH" = "yes"; then
15753 cat >> confdefs.h
<<\EOF
15754 #define wxUSE_STOPWATCH 1
15759 if test "$wxUSE_DATETIME" = "yes"; then
15760 cat >> confdefs.h
<<\EOF
15761 #define wxUSE_DATETIME 1
15766 if test "$wxUSE_TIMEDATE" = "yes"; then
15767 cat >> confdefs.h
<<\EOF
15768 #define wxUSE_TIMEDATE 1
15773 if test "$wxUSE_FILE" = "yes"; then
15774 cat >> confdefs.h
<<\EOF
15775 #define wxUSE_FILE 1
15780 if test "$wxUSE_FFILE" = "yes"; then
15781 cat >> confdefs.h
<<\EOF
15782 #define wxUSE_FFILE 1
15787 if test "$wxUSE_FILESYSTEM" = "yes"; then
15788 cat >> confdefs.h
<<\EOF
15789 #define wxUSE_FILESYSTEM 1
15794 if test "$wxUSE_FS_INET" = "yes"; then
15795 cat >> confdefs.h
<<\EOF
15796 #define wxUSE_FS_INET 1
15801 if test "$wxUSE_FS_ZIP" = "yes"; then
15802 cat >> confdefs.h
<<\EOF
15803 #define wxUSE_FS_ZIP 1
15808 if test "$wxUSE_ZIPSTREAM" = "yes"; then
15809 cat >> confdefs.h
<<\EOF
15810 #define wxUSE_ZIPSTREAM 1
15815 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
15816 cat >> confdefs.h
<<\EOF
15817 #define wxUSE_ON_FATAL_EXCEPTION 1
15822 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
15823 cat >> confdefs.h
<<\EOF
15824 #define wxUSE_SNGLINST_CHECKER 1
15829 if test "$wxUSE_BUSYINFO" = "yes"; then
15830 cat >> confdefs.h
<<\EOF
15831 #define wxUSE_BUSYINFO 1
15836 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
15837 cat >> confdefs.h
<<\EOF
15838 #define wxUSE_STD_IOSTREAM 1
15843 if test "$wxUSE_TEXTFILE" = "yes"; then
15844 if test "$wxUSE_FILE" != "yes"; then
15845 echo "configure: warning: wxTextFile requires wxFile and it won't be compiled without it" 1>&2
15847 cat >> confdefs.h
<<\EOF
15848 #define wxUSE_TEXTFILE 1
15854 if test "$wxUSE_CONFIG" = "yes" ; then
15855 if test "$wxUSE_TEXTFILE" != "yes"; then
15856 echo "configure: warning: wxConfig requires wxTextFile and it won't be compiled without it" 1>&2
15858 cat >> confdefs.h
<<\EOF
15859 #define wxUSE_CONFIG 1
15862 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
15866 if test "$wxUSE_INTL" = "yes" ; then
15867 if test "$wxUSE_FILE" != "yes"; then
15868 echo "configure: warning: I18n code requires wxFile and it won't be compiled without it" 1>&2
15870 cat >> confdefs.h
<<\EOF
15871 #define wxUSE_INTL 1
15874 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
15875 GUIDIST
="$GUIDIST INTL_DIST"
15879 if test "$wxUSE_LOG" = "yes"; then
15880 cat >> confdefs.h
<<\EOF
15881 #define wxUSE_LOG 1
15885 if test "$wxUSE_LOGGUI" = "yes"; then
15886 cat >> confdefs.h
<<\EOF
15887 #define wxUSE_LOGGUI 1
15892 if test "$wxUSE_LOGWINDOW" = "yes"; then
15893 cat >> confdefs.h
<<\EOF
15894 #define wxUSE_LOGWINDOW 1
15900 if test "$wxUSE_LONGLONG" = "yes"; then
15901 cat >> confdefs.h
<<\EOF
15902 #define wxUSE_LONGLONG 1
15907 if test "$wxUSE_GEOMETRY" = "yes"; then
15908 cat >> confdefs.h
<<\EOF
15909 #define wxUSE_GEOMETRY 1
15914 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
15915 cat >> confdefs.h
<<\EOF
15916 #define wxUSE_DIALUP_MANAGER 1
15919 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
15922 if test "$wxUSE_STREAMS" = "yes" ; then
15923 cat >> confdefs.h
<<\EOF
15924 #define wxUSE_STREAMS 1
15930 if test "$wxUSE_DATETIME" = "yes"; then
15931 for ac_func
in strptime
15933 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15934 echo "configure:15935: checking for $ac_func" >&5
15935 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15936 echo $ac_n "(cached) $ac_c" 1>&6
15938 cat > conftest.
$ac_ext <<EOF
15939 #line 15940 "configure"
15940 #include "confdefs.h"
15941 /* System header to define __stub macros and hopefully few prototypes,
15942 which can conflict with char $ac_func(); below. */
15943 #include <assert.h>
15944 /* Override any gcc2 internal prototype to avoid an error. */
15945 /* We use char because int might match the return type of a gcc2
15946 builtin and then its argument prototype would still apply. */
15951 /* The GNU C library defines this for functions which it implements
15952 to always fail with ENOSYS. Some functions are actually named
15953 something starting with __ and the normal name is an alias. */
15954 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15962 if { (eval echo configure
:15963: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15964 eval "ac_cv_func_$ac_func=yes"
15966 echo "configure: failed program was:" >&5
15967 cat conftest.
$ac_ext >&5
15969 eval "ac_cv_func_$ac_func=no"
15974 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15975 echo "$ac_t""yes" 1>&6
15976 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15977 cat >> confdefs.h
<<EOF
15978 #define $ac_tr_func 1
15982 echo "$ac_t""no" 1>&6
15987 echo $ac_n "checking for timezone variable in <time.h>""... $ac_c" 1>&6
15988 echo "configure:15989: checking for timezone variable in <time.h>" >&5
15989 if eval "test \"`echo '$''{'wx_cv_var_timezone'+set}'`\" = set"; then
15990 echo $ac_n "(cached) $ac_c" 1>&6
15993 cat > conftest.
$ac_ext <<EOF
15994 #line 15995 "configure"
15995 #include "confdefs.h"
16006 if { (eval echo configure
:16007: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16009 wx_cv_var_timezone
=timezone
16012 echo "configure: failed program was:" >&5
16013 cat conftest.
$ac_ext >&5
16016 cat > conftest.
$ac_ext <<EOF
16017 #line 16018 "configure"
16018 #include "confdefs.h"
16029 if { (eval echo configure
:16030: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16032 wx_cv_var_timezone
=_timezone
16035 echo "configure: failed program was:" >&5
16036 cat conftest.
$ac_ext >&5
16039 cat > conftest.
$ac_ext <<EOF
16040 #line 16041 "configure"
16041 #include "confdefs.h"
16052 if { (eval echo configure
:16053: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16055 wx_cv_var_timezone
=__timezone
16058 echo "configure: failed program was:" >&5
16059 cat conftest.
$ac_ext >&5
16061 { echo "configure: error: no timezone variable" 1>&2; exit 1; }
16077 echo "$ac_t""$wx_cv_var_timezone" 1>&6
16079 cat >> confdefs.h
<<EOF
16080 #define WX_TIMEZONE $wx_cv_var_timezone
16084 for ac_func
in localtime
16086 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16087 echo "configure:16088: checking for $ac_func" >&5
16088 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16089 echo $ac_n "(cached) $ac_c" 1>&6
16091 cat > conftest.
$ac_ext <<EOF
16092 #line 16093 "configure"
16093 #include "confdefs.h"
16094 /* System header to define __stub macros and hopefully few prototypes,
16095 which can conflict with char $ac_func(); below. */
16096 #include <assert.h>
16097 /* Override any gcc2 internal prototype to avoid an error. */
16098 /* We use char because int might match the return type of a gcc2
16099 builtin and then its argument prototype would still apply. */
16104 /* The GNU C library defines this for functions which it implements
16105 to always fail with ENOSYS. Some functions are actually named
16106 something starting with __ and the normal name is an alias. */
16107 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16115 if { (eval echo configure
:16116: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16117 eval "ac_cv_func_$ac_func=yes"
16119 echo "configure: failed program was:" >&5
16120 cat conftest.
$ac_ext >&5
16122 eval "ac_cv_func_$ac_func=no"
16127 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16128 echo "$ac_t""yes" 1>&6
16129 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16130 cat >> confdefs.h
<<EOF
16131 #define $ac_tr_func 1
16135 echo "$ac_t""no" 1>&6
16140 if test "$ac_cv_func_localtime" = "yes"; then
16141 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
16142 echo "configure:16143: checking for tm_gmtoff in struct tm" >&5
16143 if eval "test \"`echo '$''{'wx_cv_struct_tm_has_gmtoff'+set}'`\" = set"; then
16144 echo $ac_n "(cached) $ac_c" 1>&6
16147 cat > conftest.
$ac_ext <<EOF
16148 #line 16149 "configure"
16149 #include "confdefs.h"
16160 if { (eval echo configure
:16161: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16163 wx_cv_struct_tm_has_gmtoff
=yes
16166 echo "configure: failed program was:" >&5
16167 cat conftest.
$ac_ext >&5
16169 wx_cv_struct_tm_has_gmtoff
=no
16176 echo "$ac_t""$wx_cv_struct_tm_has_gmtoff" 1>&6
16179 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
16180 cat >> confdefs.h
<<\EOF
16181 #define WX_GMTOFF_IN_TM 1
16186 for ac_func
in gettimeofday ftime
16188 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16189 echo "configure:16190: checking for $ac_func" >&5
16190 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16191 echo $ac_n "(cached) $ac_c" 1>&6
16193 cat > conftest.
$ac_ext <<EOF
16194 #line 16195 "configure"
16195 #include "confdefs.h"
16196 /* System header to define __stub macros and hopefully few prototypes,
16197 which can conflict with char $ac_func(); below. */
16198 #include <assert.h>
16199 /* Override any gcc2 internal prototype to avoid an error. */
16200 /* We use char because int might match the return type of a gcc2
16201 builtin and then its argument prototype would still apply. */
16206 /* The GNU C library defines this for functions which it implements
16207 to always fail with ENOSYS. Some functions are actually named
16208 something starting with __ and the normal name is an alias. */
16209 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16217 if { (eval echo configure
:16218: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16219 eval "ac_cv_func_$ac_func=yes"
16221 echo "configure: failed program was:" >&5
16222 cat conftest.
$ac_ext >&5
16224 eval "ac_cv_func_$ac_func=no"
16229 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16230 echo "$ac_t""yes" 1>&6
16231 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16232 cat >> confdefs.h
<<EOF
16233 #define $ac_tr_func 1
16237 echo "$ac_t""no" 1>&6
16242 if test "$ac_cv_func_gettimeofday" = "yes"; then
16243 echo $ac_n "checking whether gettimeofday takes two arguments""... $ac_c" 1>&6
16244 echo "configure:16245: checking whether gettimeofday takes two arguments" >&5
16245 if eval "test \"`echo '$''{'wx_cv_func_gettimeofday_has_2_args'+set}'`\" = set"; then
16246 echo $ac_n "(cached) $ac_c" 1>&6
16251 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16252 ac_cpp
='$CXXCPP $CPPFLAGS'
16253 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16254 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16255 cross_compiling
=$ac_cv_prog_cxx_cross
16258 cat > conftest.
$ac_ext <<EOF
16259 #line 16260 "configure"
16260 #include "confdefs.h"
16262 #include <sys/time.h>
16263 #include <unistd.h>
16268 struct timezone tz;
16269 gettimeofday(&tv, &tz);
16273 if { (eval echo configure
:16274: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16275 wx_cv_func_gettimeofday_has_2_args
=yes
16277 echo "configure: failed program was:" >&5
16278 cat conftest.
$ac_ext >&5
16280 cat > conftest.
$ac_ext <<EOF
16281 #line 16282 "configure"
16282 #include "confdefs.h"
16284 #include <sys/time.h>
16285 #include <unistd.h>
16294 if { (eval echo configure
:16295: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16296 wx_cv_func_gettimeofday_has_2_args
=no
16298 echo "configure: failed program was:" >&5
16299 cat conftest.
$ac_ext >&5
16301 wx_cv_func_gettimeofday_has_2_args
=unknown
16309 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16310 ac_cpp
='$CPP $CPPFLAGS'
16311 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16312 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16313 cross_compiling
=$ac_cv_prog_cc_cross
16318 echo "$ac_t""$wx_cv_func_gettimeofday_has_2_args" 1>&6
16320 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
16321 cat >> confdefs.h
<<\EOF
16322 #define WX_GETTIMEOFDAY_NO_TZ 1
16328 cat >> confdefs.h
<<\EOF
16329 #define wxUSE_TIMEDATE 1
16332 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
16336 if test "$TOOLKIT" != "MSW"; then
16338 if test "$wxUSE_SOCKETS" = "yes"; then
16339 echo $ac_n "checking for socket""... $ac_c" 1>&6
16340 echo "configure:16341: checking for socket" >&5
16341 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
16342 echo $ac_n "(cached) $ac_c" 1>&6
16344 cat > conftest.
$ac_ext <<EOF
16345 #line 16346 "configure"
16346 #include "confdefs.h"
16347 /* System header to define __stub macros and hopefully few prototypes,
16348 which can conflict with char socket(); below. */
16349 #include <assert.h>
16350 /* Override any gcc2 internal prototype to avoid an error. */
16351 /* We use char because int might match the return type of a gcc2
16352 builtin and then its argument prototype would still apply. */
16357 /* The GNU C library defines this for functions which it implements
16358 to always fail with ENOSYS. Some functions are actually named
16359 something starting with __ and the normal name is an alias. */
16360 #if defined (__stub_socket) || defined (__stub___socket)
16368 if { (eval echo configure
:16369: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16370 eval "ac_cv_func_socket=yes"
16372 echo "configure: failed program was:" >&5
16373 cat conftest.
$ac_ext >&5
16375 eval "ac_cv_func_socket=no"
16380 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
16381 echo "$ac_t""yes" 1>&6
16384 echo "$ac_t""no" 1>&6
16385 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
16386 echo "configure:16387: checking for socket in -lsocket" >&5
16387 ac_lib_var
=`echo socket'_'socket | sed 'y%./+-%__p_%'`
16388 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16389 echo $ac_n "(cached) $ac_c" 1>&6
16391 ac_save_LIBS
="$LIBS"
16392 LIBS
="-lsocket $LIBS"
16393 cat > conftest.
$ac_ext <<EOF
16394 #line 16395 "configure"
16395 #include "confdefs.h"
16396 /* Override any gcc2 internal prototype to avoid an error. */
16397 /* We use char because int might match the return type of a gcc2
16398 builtin and then its argument prototype would still apply. */
16405 if { (eval echo configure
:16406: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16407 eval "ac_cv_lib_$ac_lib_var=yes"
16409 echo "configure: failed program was:" >&5
16410 cat conftest.
$ac_ext >&5
16412 eval "ac_cv_lib_$ac_lib_var=no"
16415 LIBS
="$ac_save_LIBS"
16418 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16419 echo "$ac_t""yes" 1>&6
16420 INET_LINK
="$INET_LINK -lsocket"
16422 echo "$ac_t""no" 1>&6
16424 echo "configure: warning: socket library not found - sockets will be disabled" 1>&2
16436 if test "$wxUSE_SOCKETS" = "yes" ; then
16437 echo $ac_n "checking what is the type of the third argument of getsockname""... $ac_c" 1>&6
16438 echo "configure:16439: checking what is the type of the third argument of getsockname" >&5
16439 if eval "test \"`echo '$''{'wx_cv_type_getsockname3'+set}'`\" = set"; then
16440 echo $ac_n "(cached) $ac_c" 1>&6
16445 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16446 ac_cpp
='$CXXCPP $CPPFLAGS'
16447 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16448 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16449 cross_compiling
=$ac_cv_prog_cxx_cross
16452 cat > conftest.
$ac_ext <<EOF
16453 #line 16454 "configure"
16454 #include "confdefs.h"
16456 #include <sys/types.h>
16457 #include <sys/socket.h>
16462 getsockname(0, 0, &len);
16466 if { (eval echo configure
:16467: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16468 wx_cv_type_getsockname3
=socklen_t
16470 echo "configure: failed program was:" >&5
16471 cat conftest.
$ac_ext >&5
16473 cat > conftest.
$ac_ext <<EOF
16474 #line 16475 "configure"
16475 #include "confdefs.h"
16477 #include <sys/types.h>
16478 #include <sys/socket.h>
16483 getsockname(0, 0, &len);
16487 if { (eval echo configure
:16488: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16489 wx_cv_type_getsockname3
=size_t
16491 echo "configure: failed program was:" >&5
16492 cat conftest.
$ac_ext >&5
16494 cat > conftest.
$ac_ext <<EOF
16495 #line 16496 "configure"
16496 #include "confdefs.h"
16498 #include <sys/types.h>
16499 #include <sys/socket.h>
16504 getsockname(0, 0, &len);
16508 if { (eval echo configure
:16509: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16510 wx_cv_type_getsockname3
=int
16512 echo "configure: failed program was:" >&5
16513 cat conftest.
$ac_ext >&5
16515 wx_cv_type_getsockname3
=unknown
16527 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16528 ac_cpp
='$CPP $CPPFLAGS'
16529 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16530 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16531 cross_compiling
=$ac_cv_prog_cc_cross
16536 echo "$ac_t""$wx_cv_type_getsockname3" 1>&6
16538 if test "$wx_cv_type_getsockname3" = "unknown"; then
16540 echo "configure: warning: Couldn't find socklen_t synonym for this system" 1>&2
16542 cat >> confdefs.h
<<EOF
16543 #define SOCKLEN_T $wx_cv_type_getsockname3
16551 if test "$wxUSE_SOCKETS" = "yes" ; then
16552 cat >> confdefs.h
<<\EOF
16553 #define wxUSE_SOCKETS 1
16556 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
16557 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS protocol"
16561 if test "$wxUSE_GUI" = "yes"; then
16563 if test "$TOOLKIT" != "MSW"; then
16565 if test "$wxUSE_JOYSTICK" = "yes"; then
16566 for ac_hdr
in linux
/joystick.h
16568 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
16569 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
16570 echo "configure:16571: checking for $ac_hdr" >&5
16571 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
16572 echo $ac_n "(cached) $ac_c" 1>&6
16574 cat > conftest.
$ac_ext <<EOF
16575 #line 16576 "configure"
16576 #include "confdefs.h"
16579 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
16580 { (eval echo configure
:16581: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16581 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
16582 if test -z "$ac_err"; then
16584 eval "ac_cv_header_$ac_safe=yes"
16587 echo "configure: failed program was:" >&5
16588 cat conftest.
$ac_ext >&5
16590 eval "ac_cv_header_$ac_safe=no"
16594 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
16595 echo "$ac_t""yes" 1>&6
16596 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
16597 cat >> confdefs.h
<<EOF
16598 #define $ac_tr_hdr 1
16602 echo "$ac_t""no" 1>&6
16606 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
16608 echo "configure: warning: Joystick not supported by this system" 1>&2
16614 if test "$wxUSE_JOYSTICK" = "yes"; then
16615 cat >> confdefs.h
<<\EOF
16616 #define wxUSE_JOYSTICK 1
16619 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
16625 if test "$TOOLKIT" != "MSW"; then
16629 if test "$wxUSE_DYNLIB_CLASS" = "yes"; then
16630 if test "$USE_DARWIN" = 1; then
16633 for ac_func
in dlopen
16635 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16636 echo "configure:16637: checking for $ac_func" >&5
16637 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16638 echo $ac_n "(cached) $ac_c" 1>&6
16640 cat > conftest.
$ac_ext <<EOF
16641 #line 16642 "configure"
16642 #include "confdefs.h"
16643 /* System header to define __stub macros and hopefully few prototypes,
16644 which can conflict with char $ac_func(); below. */
16645 #include <assert.h>
16646 /* Override any gcc2 internal prototype to avoid an error. */
16647 /* We use char because int might match the return type of a gcc2
16648 builtin and then its argument prototype would still apply. */
16653 /* The GNU C library defines this for functions which it implements
16654 to always fail with ENOSYS. Some functions are actually named
16655 something starting with __ and the normal name is an alias. */
16656 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16664 if { (eval echo configure
:16665: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16666 eval "ac_cv_func_$ac_func=yes"
16668 echo "configure: failed program was:" >&5
16669 cat conftest.
$ac_ext >&5
16671 eval "ac_cv_func_$ac_func=no"
16676 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16677 echo "$ac_t""yes" 1>&6
16678 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16679 cat >> confdefs.h
<<EOF
16680 #define $ac_tr_func 1
16683 cat >> confdefs.h
<<\EOF
16684 #define HAVE_DLOPEN 1
16690 echo "$ac_t""no" 1>&6
16691 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
16692 echo "configure:16693: checking for dlopen in -ldl" >&5
16693 ac_lib_var
=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
16694 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16695 echo $ac_n "(cached) $ac_c" 1>&6
16697 ac_save_LIBS
="$LIBS"
16699 cat > conftest.
$ac_ext <<EOF
16700 #line 16701 "configure"
16701 #include "confdefs.h"
16702 /* Override any gcc2 internal prototype to avoid an error. */
16703 /* We use char because int might match the return type of a gcc2
16704 builtin and then its argument prototype would still apply. */
16711 if { (eval echo configure
:16712: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16713 eval "ac_cv_lib_$ac_lib_var=yes"
16715 echo "configure: failed program was:" >&5
16716 cat conftest.
$ac_ext >&5
16718 eval "ac_cv_lib_$ac_lib_var=no"
16721 LIBS
="$ac_save_LIBS"
16724 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16725 echo "$ac_t""yes" 1>&6
16727 cat >> confdefs.h
<<\EOF
16728 #define HAVE_DLOPEN 1
16735 echo "$ac_t""no" 1>&6
16737 for ac_func
in shl_load
16739 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16740 echo "configure:16741: checking for $ac_func" >&5
16741 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16742 echo $ac_n "(cached) $ac_c" 1>&6
16744 cat > conftest.
$ac_ext <<EOF
16745 #line 16746 "configure"
16746 #include "confdefs.h"
16747 /* System header to define __stub macros and hopefully few prototypes,
16748 which can conflict with char $ac_func(); below. */
16749 #include <assert.h>
16750 /* Override any gcc2 internal prototype to avoid an error. */
16751 /* We use char because int might match the return type of a gcc2
16752 builtin and then its argument prototype would still apply. */
16757 /* The GNU C library defines this for functions which it implements
16758 to always fail with ENOSYS. Some functions are actually named
16759 something starting with __ and the normal name is an alias. */
16760 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16768 if { (eval echo configure
:16769: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16770 eval "ac_cv_func_$ac_func=yes"
16772 echo "configure: failed program was:" >&5
16773 cat conftest.
$ac_ext >&5
16775 eval "ac_cv_func_$ac_func=no"
16780 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16781 echo "$ac_t""yes" 1>&6
16782 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16783 cat >> confdefs.h
<<EOF
16784 #define $ac_tr_func 1
16787 cat >> confdefs.h
<<\EOF
16788 #define HAVE_SHL_LOAD 1
16794 echo "$ac_t""no" 1>&6
16795 echo $ac_n "checking for dld in -lshl_load""... $ac_c" 1>&6
16796 echo "configure:16797: checking for dld in -lshl_load" >&5
16797 ac_lib_var
=`echo shl_load'_'dld | sed 'y%./+-%__p_%'`
16798 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16799 echo $ac_n "(cached) $ac_c" 1>&6
16801 ac_save_LIBS
="$LIBS"
16802 LIBS
="-lshl_load $LIBS"
16803 cat > conftest.
$ac_ext <<EOF
16804 #line 16805 "configure"
16805 #include "confdefs.h"
16806 /* Override any gcc2 internal prototype to avoid an error. */
16807 /* We use char because int might match the return type of a gcc2
16808 builtin and then its argument prototype would still apply. */
16815 if { (eval echo configure
:16816: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16817 eval "ac_cv_lib_$ac_lib_var=yes"
16819 echo "configure: failed program was:" >&5
16820 cat conftest.
$ac_ext >&5
16822 eval "ac_cv_lib_$ac_lib_var=no"
16825 LIBS
="$ac_save_LIBS"
16828 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16829 echo "$ac_t""yes" 1>&6
16835 echo "$ac_t""no" 1>&6
16850 if test "$HAVE_DL_FUNCS" = 1; then
16851 for ac_func
in dlerror
16853 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16854 echo "configure:16855: checking for $ac_func" >&5
16855 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16856 echo $ac_n "(cached) $ac_c" 1>&6
16858 cat > conftest.
$ac_ext <<EOF
16859 #line 16860 "configure"
16860 #include "confdefs.h"
16861 /* System header to define __stub macros and hopefully few prototypes,
16862 which can conflict with char $ac_func(); below. */
16863 #include <assert.h>
16864 /* Override any gcc2 internal prototype to avoid an error. */
16865 /* We use char because int might match the return type of a gcc2
16866 builtin and then its argument prototype would still apply. */
16871 /* The GNU C library defines this for functions which it implements
16872 to always fail with ENOSYS. Some functions are actually named
16873 something starting with __ and the normal name is an alias. */
16874 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16882 if { (eval echo configure
:16883: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16884 eval "ac_cv_func_$ac_func=yes"
16886 echo "configure: failed program was:" >&5
16887 cat conftest.
$ac_ext >&5
16889 eval "ac_cv_func_$ac_func=no"
16894 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16895 echo "$ac_t""yes" 1>&6
16896 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16897 cat >> confdefs.h
<<EOF
16898 #define $ac_tr_func 1
16900 cat >> confdefs.h
<<\EOF
16901 #define HAVE_DLERROR 1
16905 echo "$ac_t""no" 1>&6
16906 echo $ac_n "checking for dlerror in -ldl""... $ac_c" 1>&6
16907 echo "configure:16908: checking for dlerror in -ldl" >&5
16908 ac_lib_var
=`echo dl'_'dlerror | sed 'y%./+-%__p_%'`
16909 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16910 echo $ac_n "(cached) $ac_c" 1>&6
16912 ac_save_LIBS
="$LIBS"
16914 cat > conftest.
$ac_ext <<EOF
16915 #line 16916 "configure"
16916 #include "confdefs.h"
16917 /* Override any gcc2 internal prototype to avoid an error. */
16918 /* We use char because int might match the return type of a gcc2
16919 builtin and then its argument prototype would still apply. */
16926 if { (eval echo configure
:16927: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16928 eval "ac_cv_lib_$ac_lib_var=yes"
16930 echo "configure: failed program was:" >&5
16931 cat conftest.
$ac_ext >&5
16933 eval "ac_cv_lib_$ac_lib_var=no"
16936 LIBS
="$ac_save_LIBS"
16939 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16940 echo "$ac_t""yes" 1>&6
16941 cat >> confdefs.h
<<\EOF
16942 #define HAVE_DLERROR 1
16946 echo "$ac_t""no" 1>&6
16955 if test "$HAVE_DL_FUNCS" = 0; then
16956 if test "$HAVE_SHL_FUNCS" = 0; then
16957 if test "$USE_UNIX" = 1; then
16958 echo "configure: warning: Missing dynamic loading support, several features will be disabled" 1>&2
16959 wxUSE_DYNLIB_CLASS
=no
16961 echo "configure: warning: Assuming wxLibrary class works on this platform" 1>&2
16969 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
16970 cat >> confdefs.h
<<\EOF
16971 #define wxUSE_DYNLIB_CLASS 1
16980 if test "$wxUSE_FONTMAP" = "yes" ; then
16981 cat >> confdefs.h
<<\EOF
16982 #define wxUSE_FONTMAP 1
16987 if test "$wxUSE_UNICODE" = "yes" ; then
16988 cat >> confdefs.h
<<\EOF
16989 #define wxUSE_UNICODE 1
16994 if test "$wxUSE_WCSRTOMBS" = "yes" ; then
16995 cat >> confdefs.h
<<\EOF
16996 #define wxUSE_WCSRTOMBS 1
17001 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
17002 cat >> confdefs.h
<<\EOF
17003 #define wxUSE_EXPERIMENTAL_PRINTF 1
17009 if test "$wxUSE_SERIAL" = "yes" ; then
17010 cat >> confdefs.h
<<\EOF
17011 #define wxUSE_SERIAL 1
17018 if test "$wxUSE_ODBC" = "yes" ; then
17019 cat >> confdefs.h
<<\EOF
17020 #define wxUSE_ODBC 1
17023 WXODBCFLAG
="-D_IODBC_"
17024 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
17028 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
17029 cat >> confdefs.h
<<\EOF
17030 #define wxUSE_POSTSCRIPT 1
17035 cat >> confdefs.h
<<\EOF
17036 #define wxUSE_AFM_FOR_POSTSCRIPT 1
17040 cat >> confdefs.h
<<\EOF
17041 #define wxUSE_NORMALIZED_PS_FONTS 1
17046 if test "$wxUSE_CONSTRAINTS" = "yes"; then
17047 cat >> confdefs.h
<<\EOF
17048 #define wxUSE_CONSTRAINTS 1
17051 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
17054 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
17055 cat >> confdefs.h
<<\EOF
17056 #define wxUSE_MDI_ARCHITECTURE 1
17059 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
17062 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
17063 cat >> confdefs.h
<<\EOF
17064 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
17067 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
17068 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
17069 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
17073 if test "$wxUSE_HELP" = "yes"; then
17074 cat >> confdefs.h
<<\EOF
17075 #define wxUSE_HELP 1
17078 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
17080 if test "$USE_WIN32" = 1; then
17081 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
17082 ac_safe
=`echo "htmlhelp.h" | sed 'y%./+-%__p_%'`
17083 echo $ac_n "checking for htmlhelp.h""... $ac_c" 1>&6
17084 echo "configure:17085: checking for htmlhelp.h" >&5
17085 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17086 echo $ac_n "(cached) $ac_c" 1>&6
17088 cat > conftest.
$ac_ext <<EOF
17089 #line 17090 "configure"
17090 #include "confdefs.h"
17091 #include <htmlhelp.h>
17093 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17094 { (eval echo configure
:17095: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17095 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17096 if test -z "$ac_err"; then
17098 eval "ac_cv_header_$ac_safe=yes"
17101 echo "configure: failed program was:" >&5
17102 cat conftest.
$ac_ext >&5
17104 eval "ac_cv_header_$ac_safe=no"
17108 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17109 echo "$ac_t""yes" 1>&6
17111 cat >> confdefs.h
<<\EOF
17112 #define wxUSE_MS_HTML_HELP 1
17117 echo "$ac_t""no" 1>&6
17119 echo "configure: warning: MS HTML Help cannot be used without htmlhelp.h so it won't be compiled without it" 1>&2
17120 wxUSE_MS_HTML_HELP
=no
17127 if test "$wxUSE_WXHTML_HELP" = "yes"; then
17128 if test "$wxUSE_HTML" = "yes"; then
17129 cat >> confdefs.h
<<\EOF
17130 #define wxUSE_WXHTML_HELP 1
17134 echo "configure: warning: Cannot use wxHTML-based help without wxHTML so it won't be compiled" 1>&2
17135 wxUSE_WXHTML_HELP
=no
17140 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
17141 if test "$wxUSE_CONSTRAINTS" != "yes"; then
17142 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
17144 cat >> confdefs.h
<<\EOF
17145 #define wxUSE_PRINTING_ARCHITECTURE 1
17149 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
17152 if test "$wxUSE_PROLOGIO" = "yes" ; then
17153 cat >> confdefs.h
<<\EOF
17154 #define wxUSE_PROLOGIO 1
17159 if test "$wxUSE_RESOURCES" = "yes" ; then
17160 cat >> confdefs.h
<<\EOF
17161 #define wxUSE_RESOURCES 1
17164 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS resource"
17167 if test "$wxUSE_X_RESOURCES" = "yes"; then
17168 cat >> confdefs.h
<<\EOF
17169 #define wxUSE_X_RESOURCES 1
17175 if test "$wxUSE_IPC" = "yes"; then
17176 if test "$wxUSE_SOCKETS" != "yes"; then
17177 echo "configure: warning: wxWindows IPC classes require sockets" 1>&2
17180 cat >> confdefs.h
<<\EOF
17181 #define wxUSE_IPC 1
17186 if test "$wxUSE_CLIPBOARD" = "yes"; then
17187 cat >> confdefs.h
<<\EOF
17188 #define wxUSE_CLIPBOARD 1
17191 cat >> confdefs.h
<<\EOF
17192 #define wxUSE_DATAOBJ 1
17197 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
17198 if test "$wxUSE_GTK" = 1; then
17199 if test "$WXGTK12" != 1; then
17200 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2" 1>&2
17201 wxUSE_DRAG_AND_DROP
=no
17205 if test "$wxUSE_MOTIF" = 1; then
17206 echo "configure: warning: Drag and drop is not yet supported under Motif" 1>&2
17207 wxUSE_DRAG_AND_DROP
=no
17210 if test "$wxUSE_MAC" = 1; then
17211 echo "configure: warning: Drag and drop is not yet supported under Mac OS X" 1>&2
17212 wxUSE_DRAG_AND_DROP
=no
17215 if test "$USE_WIN32" = 1; then
17217 for ac_hdr
in ole2.h
17219 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
17220 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
17221 echo "configure:17222: checking for $ac_hdr" >&5
17222 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17223 echo $ac_n "(cached) $ac_c" 1>&6
17225 cat > conftest.
$ac_ext <<EOF
17226 #line 17227 "configure"
17227 #include "confdefs.h"
17230 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17231 { (eval echo configure
:17232: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17232 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17233 if test -z "$ac_err"; then
17235 eval "ac_cv_header_$ac_safe=yes"
17238 echo "configure: failed program was:" >&5
17239 cat conftest.
$ac_ext >&5
17241 eval "ac_cv_header_$ac_safe=no"
17245 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17246 echo "$ac_t""yes" 1>&6
17247 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
17248 cat >> confdefs.h
<<EOF
17249 #define $ac_tr_hdr 1
17253 echo "$ac_t""no" 1>&6
17258 if test "$ac_cv_header_ole2_h" = "yes" ; then
17259 if test "$GCC" = yes ; then
17260 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
17261 ALL_DEPFILES
="$ALL_DEPFILES \$(OLEDEPS)"
17262 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
17263 LIBS
="$LIBS -lrpcrt4 -loleaut32 -lole32 -luuid"
17264 cat >> confdefs.h
<<\EOF
17265 #define wxUSE_OLE 1
17269 if test "$wxUSE_METAFILE" = "yes"; then
17270 cat >> confdefs.h
<<\EOF
17271 #define wxUSE_METAFILE 1
17274 cat >> confdefs.h
<<\EOF
17275 #define wxUSE_ENH_METAFILE 1
17281 echo "configure: warning: Drag and drop disabled because OLE headers not found" 1>&2
17282 wxUSE_DRAG_AND_DROP
=no
17286 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
17287 cat >> confdefs.h
<<\EOF
17288 #define wxUSE_DRAG_AND_DROP 1
17291 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
17296 if test "$wxUSE_SPLINES" = "yes" ; then
17297 cat >> confdefs.h
<<\EOF
17298 #define wxUSE_SPLINES 1
17305 if test "$wxUSE_CONTROLS" = "yes"; then
17309 if test "$wxUSE_ACCEL" = "yes"; then
17310 cat >> confdefs.h
<<\EOF
17311 #define wxUSE_ACCEL 1
17317 if test "$wxUSE_BUTTON" = "yes"; then
17318 cat >> confdefs.h
<<\EOF
17319 #define wxUSE_BUTTON 1
17325 if test "$wxUSE_BMPBUTTON" = "yes"; then
17326 cat >> confdefs.h
<<\EOF
17327 #define wxUSE_BMPBUTTON 1
17333 if test "$wxUSE_CALCTRL" = "yes"; then
17334 cat >> confdefs.h
<<\EOF
17335 #define wxUSE_CALENDARCTRL 1
17339 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
17342 if test "$wxUSE_CARET" = "yes"; then
17343 cat >> confdefs.h
<<\EOF
17344 #define wxUSE_CARET 1
17348 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
17351 if test "$wxUSE_COMBOBOX" = "yes"; then
17352 cat >> confdefs.h
<<\EOF
17353 #define wxUSE_COMBOBOX 1
17359 if test "$wxUSE_CHOICE" = "yes"; then
17360 cat >> confdefs.h
<<\EOF
17361 #define wxUSE_CHOICE 1
17367 if test "$wxUSE_CHECKBOX" = "yes"; then
17368 cat >> confdefs.h
<<\EOF
17369 #define wxUSE_CHECKBOX 1
17375 if test "$wxUSE_CHECKLST" = "yes"; then
17376 cat >> confdefs.h
<<\EOF
17377 #define wxUSE_CHECKLISTBOX 1
17381 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
17384 if test "$wxUSE_GAUGE" = "yes"; then
17385 cat >> confdefs.h
<<\EOF
17386 #define wxUSE_GAUGE 1
17392 if test "$wxUSE_NEW_GRID" = "yes"; then
17394 cat >> confdefs.h
<<\EOF
17395 #define wxUSE_NEW_GRID 1
17399 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS newgrid"
17402 if test "$wxUSE_GRID" = "yes"; then
17403 cat >> confdefs.h
<<\EOF
17404 #define wxUSE_GRID 1
17408 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
17411 if test "$wxUSE_IMAGLIST" = "yes"; then
17412 cat >> confdefs.h
<<\EOF
17413 #define wxUSE_IMAGLIST 1
17418 if test "$wxUSE_LISTBOX" = "yes"; then
17419 cat >> confdefs.h
<<\EOF
17420 #define wxUSE_LISTBOX 1
17426 if test "$wxUSE_LISTCTRL" = "yes"; then
17427 if test "$wxUSE_IMAGLIST" = "yes"; then
17428 cat >> confdefs.h
<<\EOF
17429 #define wxUSE_LISTCTRL 1
17433 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
17435 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
17439 if test "$wxUSE_NOTEBOOK" = "yes"; then
17440 cat >> confdefs.h
<<\EOF
17441 #define wxUSE_NOTEBOOK 1
17445 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
17448 if test "$wxUSE_PROPSHEET" = "yes"; then
17449 cat >> confdefs.h
<<\EOF
17450 #define wxUSE_PROPSHEET 1
17454 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS proplist"
17457 if test "$wxUSE_RADIOBOX" = "yes"; then
17458 cat >> confdefs.h
<<\EOF
17459 #define wxUSE_RADIOBOX 1
17465 if test "$wxUSE_RADIOBTN" = "yes"; then
17466 cat >> confdefs.h
<<\EOF
17467 #define wxUSE_RADIOBTN 1
17473 if test "$wxUSE_SASH" = "yes"; then
17474 cat >> confdefs.h
<<\EOF
17475 #define wxUSE_SASH 1
17478 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
17481 if test "$wxUSE_SCROLLBAR" = "yes"; then
17482 cat >> confdefs.h
<<\EOF
17483 #define wxUSE_SCROLLBAR 1
17487 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
17490 if test "$wxUSE_SLIDER" = "yes"; then
17491 cat >> confdefs.h
<<\EOF
17492 #define wxUSE_SLIDER 1
17498 if test "$wxUSE_SPINBTN" = "yes"; then
17499 cat >> confdefs.h
<<\EOF
17500 #define wxUSE_SPINBTN 1
17506 if test "$wxUSE_SPINCTRL" = "yes"; then
17507 cat >> confdefs.h
<<\EOF
17508 #define wxUSE_SPINCTRL 1
17514 if test "$wxUSE_SPLITTER" = "yes"; then
17515 cat >> confdefs.h
<<\EOF
17516 #define wxUSE_SPLITTER 1
17519 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
17522 if test "$wxUSE_STATBMP" = "yes"; then
17523 cat >> confdefs.h
<<\EOF
17524 #define wxUSE_STATBMP 1
17530 if test "$wxUSE_STATBOX" = "yes"; then
17531 cat >> confdefs.h
<<\EOF
17532 #define wxUSE_STATBOX 1
17538 if test "$wxUSE_STATTEXT" = "yes"; then
17539 cat >> confdefs.h
<<\EOF
17540 #define wxUSE_STATTEXT 1
17546 if test "$wxUSE_STATLINE" = "yes"; then
17547 if test "$wxUSE_WINE" = 1 ; then
17548 echo "configure: warning: wxStaticLine is not supported under WINE" 1>&2
17550 cat >> confdefs.h
<<\EOF
17551 #define wxUSE_STATLINE 1
17558 if test "$wxUSE_STATUSBAR" = "yes"; then
17559 cat >> confdefs.h
<<\EOF
17560 #define wxUSE_STATUSBAR 1
17565 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
17568 if test "$wxUSE_TABDIALOG" = "yes"; then
17569 cat >> confdefs.h
<<\EOF
17570 #define wxUSE_TAB_DIALOG 1
17573 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
17576 if test "$wxUSE_TEXTCTRL" = "yes"; then
17577 cat >> confdefs.h
<<\EOF
17578 #define wxUSE_TEXTCTRL 1
17582 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
17585 if test "$wxUSE_TOGGLEBTN" = "yes"; then
17586 if test "$wxUSE_MAC" = 1; then
17587 echo "configure: warning: Toggle button is not yet supported under Mac OS X" 1>&2
17591 if test "$wxUSE_TOGGLEBTN" = "yes"; then
17592 cat >> confdefs.h
<<\EOF
17593 #define wxUSE_TOGGLEBTN 1
17600 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
17601 cat >> confdefs.h
<<\EOF
17602 #define wxUSE_TOOLBAR_SIMPLE 1
17605 wxUSE_TOOLBAR
="yes"
17609 if test "$wxUSE_TOOLBAR" = "yes"; then
17610 cat >> confdefs.h
<<\EOF
17611 #define wxUSE_TOOLBAR 1
17616 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
17617 wxUSE_TOOLBAR_NATIVE
="yes"
17620 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
17621 cat >> confdefs.h
<<\EOF
17622 #define wxUSE_TOOLBAR_NATIVE 1
17628 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
17631 if test "$wxUSE_TOOLTIPS" = "yes"; then
17632 if test "$wxUSE_MOTIF" = 1; then
17633 echo "configure: warning: wxTooltip not supported yet under Motif" 1>&2
17635 if test "$wxUSE_WINE" = 1; then
17636 echo "configure: warning: wxTooltip not supported under WINE" 1>&2
17638 cat >> confdefs.h
<<\EOF
17639 #define wxUSE_TOOLTIPS 1
17646 if test "$wxUSE_TREECTRL" = "yes"; then
17647 if test "$wxUSE_IMAGLIST" = "yes"; then
17648 cat >> confdefs.h
<<\EOF
17649 #define wxUSE_TREECTRL 1
17653 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
17655 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
17659 if test "$wxUSE_POPUPWIN" = "yes"; then
17660 if test "$wxUSE_MAC" = 1; then
17661 echo "configure: warning: Popup window is not yet supported under Mac OS" 1>&2
17663 cat >> confdefs.h
<<\EOF
17664 #define wxUSE_POPUPWIN 1
17671 if test "$USES_CONTROLS" = 1; then
17672 cat >> confdefs.h
<<\EOF
17673 #define wxUSE_CONTROLS 1
17679 if test "$wxUSE_TREELAYOUT" = "yes"; then
17680 cat >> confdefs.h
<<\EOF
17681 #define wxUSE_TREELAYOUT 1
17684 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treelay"
17687 if test "$wxUSE_DRAGIMAGE" = "yes"; then
17688 cat >> confdefs.h
<<\EOF
17689 #define wxUSE_DRAGIMAGE 1
17692 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
17695 if test "$wxUSE_MENUS" = "yes"; then
17696 cat >> confdefs.h
<<\EOF
17697 #define wxUSE_MENUS 1
17700 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
17703 if test "$wxUSE_METAFILE" = "yes"; then
17704 cat >> confdefs.h
<<\EOF
17705 #define wxUSE_METAFILE 1
17710 if test "$wxUSE_MIMETYPE" = "yes"; then
17711 cat >> confdefs.h
<<\EOF
17712 #define wxUSE_MIMETYPE 1
17717 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
17718 cat >> confdefs.h
<<\EOF
17719 #define wxUSE_SYSTEM_OPTIONS 1
17724 if test "$wxUSE_MINIFRAME" = "yes"; then
17725 cat >> confdefs.h
<<\EOF
17726 #define wxUSE_MINIFRAME 1
17729 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
17732 if test "$wxUSE_HTML" = "yes"; then
17733 cat >> confdefs.h
<<\EOF
17734 #define wxUSE_HTML 1
17737 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html"
17738 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS html"
17741 if test "$wxUSE_VALIDATORS" = "yes"; then
17742 cat >> confdefs.h
<<\EOF
17743 #define wxUSE_VALIDATORS 1
17746 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
17749 if test "$wxUSE_IMAGE" = "yes" ; then
17750 cat >> confdefs.h
<<\EOF
17751 #define wxUSE_IMAGE 1
17756 if test "$wxUSE_GIF" = "yes" ; then
17757 cat >> confdefs.h
<<\EOF
17758 #define wxUSE_GIF 1
17763 if test "$wxUSE_PCX" = "yes" ; then
17764 cat >> confdefs.h
<<\EOF
17765 #define wxUSE_PCX 1
17770 if test "$wxUSE_PNM" = "yes" ; then
17771 cat >> confdefs.h
<<\EOF
17772 #define wxUSE_PNM 1
17777 if test "$wxUSE_XPM" = "yes" ; then
17778 cat >> confdefs.h
<<\EOF
17779 #define wxUSE_XPM 1
17785 if test "$wxUSE_CHOICEDLG" = "yes"; then
17786 cat >> confdefs.h
<<\EOF
17787 #define wxUSE_CHOICEDLG 1
17792 if test "$wxUSE_COLOURDLG" = "yes"; then
17793 cat >> confdefs.h
<<\EOF
17794 #define wxUSE_COLOURDLG 1
17799 if test "$wxUSE_FILEDLG" = "yes"; then
17800 cat >> confdefs.h
<<\EOF
17801 #define wxUSE_FILEDLG 1
17806 if test "$wxUSE_FINDREPLDLG" = "yes"; then
17807 cat >> confdefs.h
<<\EOF
17808 #define wxUSE_FINDREPLDLG 1
17813 if test "$wxUSE_FONTDLG" = "yes"; then
17814 cat >> confdefs.h
<<\EOF
17815 #define wxUSE_FONTDLG 1
17820 if test "$wxUSE_DIRDLG" = "yes"; then
17821 if test "$wxUSE_CONSTRAINTS" != "yes"; then
17822 echo "configure: warning: wxDirDialog requires constraints so it won't be compiled without them" 1>&2
17824 if test "$wxUSE_TREECTRL" != "yes"; then
17825 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
17827 cat >> confdefs.h
<<\EOF
17828 #define wxUSE_DIRDLG 1
17835 if test "$wxUSE_MSGDLG" = "yes"; then
17836 cat >> confdefs.h
<<\EOF
17837 #define wxUSE_MSGDLG 1
17842 if test "$wxUSE_NUMBERDLG" = "yes"; then
17843 cat >> confdefs.h
<<\EOF
17844 #define wxUSE_NUMBERDLG 1
17849 if test "$wxUSE_PROGRESSDLG" = "yes"; then
17850 if test "$wxUSE_CONSTRAINTS" != "yes"; then
17851 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
17853 cat >> confdefs.h
<<\EOF
17854 #define wxUSE_PROGRESSDLG 1
17860 if test "$wxUSE_SPLASH" = "yes"; then
17861 cat >> confdefs.h
<<\EOF
17862 #define wxUSE_SPLASH 1
17867 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
17868 if test "$wxUSE_CONSTRAINTS" != "yes"; then
17869 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
17871 cat >> confdefs.h
<<\EOF
17872 #define wxUSE_STARTUP_TIPS 1
17878 if test "$wxUSE_TEXTDLG" = "yes"; then
17879 cat >> confdefs.h
<<\EOF
17880 #define wxUSE_TEXTDLG 1
17885 if test "$wxUSE_WIZARDDLG" = "yes"; then
17886 cat >> confdefs.h
<<\EOF
17887 #define wxUSE_WIZARDDLG 1
17890 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
17894 if test "$cross_compiling" = "yes"; then
17897 OSINFO
=`uname -s -r -m`
17898 OSINFO
="\"$OSINFO\""
17901 cat >> confdefs.h
<<EOF
17902 #define WXWIN_OS_DESCRIPTION $OSINFO
17907 GUILIBS
="$GUI_TK_LIBRARY $TOOLKIT_LINK"
17908 OPENGL_LIBS
="$OPENGL_LINK"
17910 EXTRA_LIBS
="$LIBS $POSIX4_LINK $INET_LINK $WCHAR_LINK $THREADS_LINK $DMALLOC_LINK $DL_LINK $ZLIB_LINK -lm"
17911 if test "$wxUSE_MAC" = 1 ; then
17912 EXTRA_LIBS
="$EXTRA_LIBS -framework Carbon -framework System"
17914 if test "$wxUSE_GUI" = "yes"; then
17915 EXTRA_LIBS
="$GUILIBS $PNG_LINK $JPEG_LINK $TIFF_LINK $FREETYPE_LINK $EXTRA_LIBS"
17918 LD_LIBS
="\${top_builddir}/lib/${WX_LIBRARY_NAME_STATIC} $EXTRA_LIBS"
17920 INCLUDES
="-I. -I\${top_builddir}/include -I\${top_srcdir}/include \
17921 $REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \
17922 $FREETYPE_INCLUDE $TOOLKIT_INCLUDE"
17924 if test "$wxUSE_GTK" = 1; then
17925 WXCONFIG_INCLUDE
=""
17927 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
17930 if test "$GXX" = yes ; then
17931 CXXWARNINGS
="-Wall"
17933 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE $INCLUDES"
17935 CFLAGS
=`echo $CFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
17936 CXXFLAGS
=`echo $CXXFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
17938 LDFLAGS
="$LDFLAGS $PROFILE"
17940 if test "$wxUSE_GUI" = "yes"; then
17942 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS controls dialogs \
17943 drawing dynamic erase event exec font image \
17944 minimal richedit rotate widgets"
17946 if test "$wxUSE_UNIVERSAL" = "yes" ; then
17947 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS univ"
17950 CPPFLAGS
="$CPPFLAGS \$(EXTRADEFS) \$(APPEXTRADEFS)"
17952 SAMPLES_SUBDIRS
="console"
17955 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
18051 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
18052 echo "configure:18053: checking whether ${MAKE-make} sets \${MAKE}" >&5
18053 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
18054 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
18055 echo $ac_n "(cached) $ac_c" 1>&6
18057 cat > conftestmake
<<\EOF
18059 @
echo 'ac_maketemp="${MAKE}"'
18061 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
18062 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
18063 if test -n "$ac_maketemp"; then
18064 eval ac_cv_prog_make_
${ac_make}_set
=yes
18066 eval ac_cv_prog_make_
${ac_make}_set
=no
18070 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
18071 echo "$ac_t""yes" 1>&6
18074 echo "$ac_t""no" 1>&6
18075 SET_MAKE
="MAKE=${MAKE-make}"
18079 if test -d include
; then
18080 if test -d include
/wx
; then
18081 if test -d include
/wx
/${SETUPH_DIR}; then
18082 if test -f include
/wx
/${SETUPH_DIR}/setup.h
; then
18083 mv -f include
/wx
/${SETUPH_DIR}/setup.h setup.h
18091 if test "$wxUSE_GUI" = "yes"; then
18092 wx_cv_path_samplesubdirs
=$SAMPLES_SUBDIRS
18093 wx_cv_path_ifs
=$PATH_IFS
18094 wx_cv_program_ext
=$PROGRAM_EXT
18095 wx_cv_target_library
=$WX_TARGET_LIBRARY
18096 wx_cv_target_library_gl
=$WX_TARGET_LIBRARY_GL
18097 wx_cv_target_libtype
=$WX_TARGET_LIBRARY_TYPE
18098 export wx_cv_path_samplesubdirs wx_cv_path_ifs wx_cv_program_ext \
18099 wx_cv_target_library wx_cv_target_library_gl wx_cv_target_libtype
18100 subdirs
="demos samples utils contrib"
18105 cat > confcache
<<\EOF
18106 # This file is a shell script that caches the results of configure
18107 # tests run on this system so they can be shared between configure
18108 # scripts and configure runs. It is not useful on other systems.
18109 # If it contains results you don't want to keep, you may remove or edit it.
18111 # By default, configure uses ./config.cache as the cache file,
18112 # creating it if it does not exist already. You can give configure
18113 # the --cache-file=FILE option to use a different cache file; that is
18114 # what configure does when it calls configure scripts in
18115 # subdirectories, so they share the cache.
18116 # Giving --cache-file=/dev/null disables caching, for debugging configure.
18117 # config.status only pays attention to the cache file if you give it the
18118 # --recheck option to rerun configure.
18121 # The following way of writing the cache mishandles newlines in values,
18122 # but we know of no workaround that is simple, portable, and efficient.
18123 # So, don't put newlines in cache variables' values.
18124 # Ultrix sh set writes to stderr and can't be redirected directly,
18125 # and sets the high bit in the cache file unless we assign to the vars.
18127 case `(ac_space=' '; set | grep ac_space) 2>&1` in
18129 # `set' does not quote correctly, so add quotes (double-quote substitution
18130 # turns \\\\ into \\, and sed turns \\ into \).
18132 -e "s/'/'\\\\''/g" \
18133 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
18136 # `set' quotes correctly as required by POSIX, so do not add quotes.
18137 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
18140 if cmp -s $cache_file confcache
; then
18143 if test -w $cache_file; then
18144 echo "updating cache $cache_file"
18145 cat confcache
> $cache_file
18147 echo "not updating unwritable cache $cache_file"
18152 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
18154 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
18155 # Let make expand exec_prefix.
18156 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
18158 # Any assignment to VPATH causes Sun make to only execute
18159 # the first set of double-colon rules, so remove it if not needed.
18160 # If there is a colon in the path, we need to keep it.
18161 if test "x$srcdir" = x.
; then
18162 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
18165 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
18167 DEFS
=-DHAVE_CONFIG_H
18169 # Without the "./", some shells look in PATH for config.status.
18170 : ${CONFIG_STATUS=./config.status}
18172 echo creating
$CONFIG_STATUS
18173 rm -f $CONFIG_STATUS
18174 cat > $CONFIG_STATUS <<EOF
18176 # Generated automatically by configure.
18177 # Run this file to recreate the current configuration.
18178 # This directory was configured as follows,
18179 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18181 # $0 $ac_configure_args
18183 # Compiler output produced by configure, useful for debugging
18184 # configure, is in ./config.log if it exists.
18186 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
18189 case "\$ac_option" in
18190 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18191 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
18192 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
18193 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
18194 echo "$CONFIG_STATUS generated by autoconf version 2.13"
18196 -help | --help | --hel | --he | --h)
18197 echo "\$ac_cs_usage"; exit 0 ;;
18198 *) echo "\$ac_cs_usage"; exit 1 ;;
18202 ac_given_srcdir=$srcdir
18203 ac_given_INSTALL="$INSTALL"
18205 trap 'rm -fr `echo "
18211 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
18213 cat >> $CONFIG_STATUS <<EOF
18215 # Protect against being on the right side of a sed subst in config.status.
18216 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
18217 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
18221 s%@CFLAGS@%$CFLAGS%g
18222 s%@CPPFLAGS@%$CPPFLAGS%g
18223 s%@CXXFLAGS@%$CXXFLAGS%g
18224 s%@FFLAGS@%$FFLAGS%g
18226 s%@LDFLAGS@%$LDFLAGS%g
18228 s%@exec_prefix@%$exec_prefix%g
18229 s%@prefix@%$prefix%g
18230 s%@program_transform_name@%$program_transform_name%g
18231 s%@bindir@%$bindir%g
18232 s%@sbindir@%$sbindir%g
18233 s%@libexecdir@%$libexecdir%g
18234 s%@datadir@%$datadir%g
18235 s%@sysconfdir@%$sysconfdir%g
18236 s%@sharedstatedir@%$sharedstatedir%g
18237 s%@localstatedir@%$localstatedir%g
18238 s%@libdir@%$libdir%g
18239 s%@includedir@%$includedir%g
18240 s%@oldincludedir@%$oldincludedir%g
18241 s%@infodir@%$infodir%g
18242 s%@mandir@%$mandir%g
18244 s%@host_alias@%$host_alias%g
18245 s%@host_cpu@%$host_cpu%g
18246 s%@host_vendor@%$host_vendor%g
18247 s%@host_os@%$host_os%g
18248 s%@target@%$target%g
18249 s%@target_alias@%$target_alias%g
18250 s%@target_cpu@%$target_cpu%g
18251 s%@target_vendor@%$target_vendor%g
18252 s%@target_os@%$target_os%g
18254 s%@build_alias@%$build_alias%g
18255 s%@build_cpu@%$build_cpu%g
18256 s%@build_vendor@%$build_vendor%g
18257 s%@build_os@%$build_os%g
18261 s%@CXXCPP@%$CXXCPP%g
18262 s%@RANLIB@%$RANLIB%g
18264 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
18265 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
18266 s%@INSTALL_DATA@%$INSTALL_DATA%g
18270 s%@LEXLIB@%$LEXLIB%g
18272 s%@GTK_CONFIG_2_0@%$GTK_CONFIG_2_0%g
18273 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
18274 s%@GTK_LIBS@%$GTK_LIBS%g
18275 s%@GTK_CONFIG@%$GTK_CONFIG%g
18276 s%@X_CFLAGS@%$X_CFLAGS%g
18277 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
18278 s%@X_LIBS@%$X_LIBS%g
18279 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
18282 s%@LEX_STEM@%$LEX_STEM%g
18283 s%@PATH_IFS@%$PATH_IFS%g
18284 s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
18285 s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
18286 s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
18287 s%@WX_LIBRARY_NAME@%$WX_LIBRARY_NAME%g
18288 s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
18289 s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
18290 s%@WX_LIBRARY@%$WX_LIBRARY%g
18291 s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
18292 s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
18293 s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
18294 s%@WX_LIBRARY_LINK3@%$WX_LIBRARY_LINK3%g
18295 s%@PROGRAM_EXT@%$PROGRAM_EXT%g
18296 s%@WX_LIBRARY_NAME_GL@%$WX_LIBRARY_NAME_GL%g
18297 s%@WX_LIBRARY_NAME_STATIC_GL@%$WX_LIBRARY_NAME_STATIC_GL%g
18298 s%@WX_LIBRARY_NAME_SHARED_GL@%$WX_LIBRARY_NAME_SHARED_GL%g
18299 s%@WX_LIBRARY_GL@%$WX_LIBRARY_GL%g
18300 s%@WX_TARGET_LIBRARY_GL@%$WX_TARGET_LIBRARY_GL%g
18301 s%@WX_LIBRARY_LINK1_GL@%$WX_LIBRARY_LINK1_GL%g
18302 s%@WX_LIBRARY_LINK2_GL@%$WX_LIBRARY_LINK2_GL%g
18303 s%@WX_LIBRARY_LINK3_GL@%$WX_LIBRARY_LINK3_GL%g
18304 s%@WX_ALL@%$WX_ALL%g
18305 s%@WX_ALL_INSTALLED@%$WX_ALL_INSTALLED%g
18306 s%@SHARED_LD@%$SHARED_LD%g
18307 s%@PIC_FLAG@%$PIC_FLAG%g
18308 s%@DEP_INFO_FLAGS@%$DEP_INFO_FLAGS%g
18309 s%@CODE_GEN_FLAGS@%$CODE_GEN_FLAGS%g
18310 s%@CODE_GEN_FLAGS_CXX@%$CODE_GEN_FLAGS_CXX%g
18311 s%@BURNT_LIBRARY_NAME@%$BURNT_LIBRARY_NAME%g
18312 s%@BURNT_LIBRARY_NAME_GL@%$BURNT_LIBRARY_NAME_GL%g
18313 s%@WX_TARGET_LIBRARY_SONAME@%$WX_TARGET_LIBRARY_SONAME%g
18314 s%@WX_TARGET_LIBRARY_TYPE@%$WX_TARGET_LIBRARY_TYPE%g
18315 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
18316 s%@USE_GUI@%$USE_GUI%g
18317 s%@AFMINSTALL@%$AFMINSTALL%g
18318 s%@SETUPH_DIR@%$SETUPH_DIR%g
18319 s%@TOOLKIT@%$TOOLKIT%g
18320 s%@TOOLKIT_DEF@%$TOOLKIT_DEF%g
18321 s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
18322 s%@TOOLKIT_NAME@%$TOOLKIT_NAME%g
18323 s%@TOOLKIT_INCLUDE@%$TOOLKIT_INCLUDE%g
18324 s%@TOOLKIT_VPATH@%$TOOLKIT_VPATH%g
18325 s%@WXCONFIG_INCLUDE@%$WXCONFIG_INCLUDE%g
18326 s%@ALL_OBJECTS@%$ALL_OBJECTS%g
18327 s%@ALL_DEPFILES@%$ALL_DEPFILES%g
18328 s%@GUIDIST@%$GUIDIST%g
18329 s%@PORT_FILES@%$PORT_FILES%g
18330 s%@DISTDIR@%$DISTDIR%g
18331 s%@RPM_SPEC@%$RPM_SPEC%g
18332 s%@RPM_FILES@%$RPM_FILES%g
18333 s%@SRC_SUBDIRS@%$SRC_SUBDIRS%g
18334 s%@INCLUDE_SUBDIRS@%$INCLUDE_SUBDIRS%g
18335 s%@UTILS_SUBDIRS@%$UTILS_SUBDIRS%g
18336 s%@DOCS_SUBDIRS@%$DOCS_SUBDIRS%g
18337 s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
18338 s%@USER_SUBDIRS@%$USER_SUBDIRS%g
18339 s%@EXTRA_LIBS@%$EXTRA_LIBS%g
18340 s%@OPENGL_LIBS@%$OPENGL_LIBS%g
18341 s%@EXTRADEFS@%$EXTRADEFS%g
18342 s%@LD_LIBS@%$LD_LIBS%g
18343 s%@WXMSW_DLL_DEFINES@%$WXMSW_DLL_DEFINES%g
18344 s%@RCINPUTSWITCH@%$RCINPUTSWITCH%g
18345 s%@RCOUTPUTSWITCH@%$RCOUTPUTSWITCH%g
18346 s%@RESPROGRAM@%$RESPROGRAM%g
18347 s%@RESCOMP@%$RESCOMP%g
18348 s%@RESFLAGS@%$RESFLAGS%g
18349 s%@REZFLAGS@%$REZFLAGS%g
18350 s%@DEREZFLAGS@%$DEREZFLAGS%g
18351 s%@LIBWXMACRES@%$LIBWXMACRES%g
18352 s%@LIBWXMACRESCOMP@%$LIBWXMACRESCOMP%g
18353 s%@DLLTOOL@%$DLLTOOL%g
18357 s%@MAKEINFO@%$MAKEINFO%g
18358 s%@SET_MAKE@%$SET_MAKE%g
18359 s%@subdirs@%$subdirs%g
18364 cat >> $CONFIG_STATUS <<\EOF
18366 # Split the substitutions into bite-sized pieces for seds with
18367 # small command number limits, like on Digital OSF/1 and HP-UX.
18368 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
18369 ac_file
=1 # Number of current file.
18370 ac_beg
=1 # First line for current file.
18371 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
18374 while $ac_more_lines; do
18375 if test $ac_beg -gt 1; then
18376 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
18378 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
18380 if test ! -s conftest.s
$ac_file; then
18381 ac_more_lines
=false
18382 rm -f conftest.s
$ac_file
18384 if test -z "$ac_sed_cmds"; then
18385 ac_sed_cmds
="sed -f conftest.s$ac_file"
18387 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
18389 ac_file
=`expr $ac_file + 1`
18391 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
18394 if test -z "$ac_sed_cmds"; then
18399 cat >> $CONFIG_STATUS <<EOF
18401 CONFIG_FILES=\${CONFIG_FILES-"wx-config
18408 cat >> $CONFIG_STATUS <<\EOF
18409 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
18410 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
18412 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
18413 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
18414 *) ac_file_in
="${ac_file}.in" ;;
18417 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
18419 # Remove last slash and all that follows it. Not all systems have dirname.
18420 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
18421 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
18422 # The file is in a subdirectory.
18423 test ! -d "$ac_dir" && mkdir "$ac_dir"
18424 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
18425 # A "../" for each directory in $ac_dir_suffix.
18426 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
18428 ac_dir_suffix
= ac_dots
=
18431 case "$ac_given_srcdir" in
18433 if test -z "$ac_dots"; then top_srcdir
=.
18434 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
18435 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
18436 *) # Relative path.
18437 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
18438 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
18441 case "$ac_given_INSTALL" in
18442 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
18443 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
18446 echo creating
"$ac_file"
18448 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
18450 *Makefile
*) ac_comsub
="1i\\
18451 # $configure_input" ;;
18455 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
18457 s%@configure_input@%$configure_input%g
18458 s%@srcdir@%$srcdir%g
18459 s%@top_srcdir@%$top_srcdir%g
18460 s%@INSTALL@%$INSTALL%g
18461 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
18465 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
18466 # NAME is the cpp macro being defined and VALUE is the value it is being given.
18468 # ac_d sets the value in "#define NAME VALUE" lines.
18469 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
18470 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
18473 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
18474 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
18475 ac_uB
='\([ ]\)%\1#\2define\3'
18478 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
18479 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
18480 ac_eB
='$%\1#\2define\3'
18484 if test "${CONFIG_HEADERS+set}" != set; then
18486 cat >> $CONFIG_STATUS <<EOF
18487 CONFIG_HEADERS="setup.h:setup.h.in"
18489 cat >> $CONFIG_STATUS <<\EOF
18491 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
18492 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
18494 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
18495 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
18496 *) ac_file_in
="${ac_file}.in" ;;
18499 echo creating
$ac_file
18501 rm -f conftest.frag conftest.
in conftest.out
18502 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
18503 cat $ac_file_inputs > conftest.
in
18507 # Transform confdefs.h into a sed script conftest.vals that substitutes
18508 # the proper values into config.h.in to produce config.h. And first:
18509 # Protect against being on the right side of a sed subst in config.status.
18510 # Protect against being in an unquoted here document in config.status.
18511 rm -f conftest.vals
18512 cat > conftest.hdr
<<\EOF
18515 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
18519 sed -n -f conftest.hdr confdefs.h > conftest.vals
18522 # This sed command replaces #undef with comments. This is necessary, for
18523 # example, in the case of _POSIX_SOURCE, which is predefined and required
18524 # on some systems where configure will not decide to define it.
18525 cat >> conftest.vals <<\EOF
18526 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
18529 # Break up conftest.vals because some shells have a limit on
18530 # the size of here documents, and old seds have small limits too.
18532 rm -f conftest.tail
18535 ac_lines=`grep -c . conftest.vals
`
18536 # grep -c gives empty output for an empty file on some AIX systems.
18537 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
18538 # Write a limited-size here document to conftest.frag.
18539 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
18540 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
18542 sed -f conftest.frag conftest.in > conftest.out
18544 mv conftest.out conftest.in
18545 ' >> $CONFIG_STATUS
18546 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
18547 rm -f conftest.vals
18548 mv conftest.tail conftest.vals
18550 rm -f conftest.vals
18552 cat >> $CONFIG_STATUS <<\EOF
18553 rm -f conftest.frag conftest.h
18554 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
18555 cat conftest.in >> conftest.h
18557 if cmp -s $ac_file conftest.h 2>/dev/null; then
18558 echo "$ac_file is unchanged"
18561 # Remove last slash and all that follows it. Not all systems have dirname.
18562 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
18563 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
18564 # The file is in a subdirectory.
18565 test ! -d "$ac_dir" && mkdir "$ac_dir"
18568 mv conftest.h $ac_file
18573 cat >> $CONFIG_STATUS <<EOF
18575 SETUPH_DIR="${SETUPH_DIR}"
18576 TOOLKIT_NAME="${TOOLKIT_NAME}"
18581 cat >> $CONFIG_STATUS <<\EOF
18583 if test ! -f wx${TOOLKIT_NAME}-config; then
18585 mv wx-config wx${TOOLKIT_NAME}-config
18586 ${LN_S} wx${TOOLKIT_NAME}-config wx-config
18590 if test ! -d lib; then
18593 if test ! -d lib/wx; then
18596 if test ! -d lib/wx/include; then
18597 mkdir lib/wx/include
18599 if test ! -d lib/wx/include/wx; then
18600 mkdir lib/wx/include/wx
18602 if test ! -d lib/wx/include/wx/${TOOLKIT_NAME}; then
18603 mkdir lib/wx/include/wx/${TOOLKIT_NAME}
18605 if test -f setup.h; then
18606 cp -fp setup.h lib/wx/include/wx/${TOOLKIT_NAME}/setup.h
18610 if test ! -d include; then
18613 if test ! -d include/wx; then
18616 if test ! -d include/wx/${SETUPH_DIR}; then
18617 mkdir include/wx/${SETUPH_DIR}
18619 if test -f setup.h; then
18620 cp -fp setup.h include/wx/${SETUPH_DIR}/setup.h
18626 chmod +x $CONFIG_STATUS
18627 rm -fr confdefs* $ac_clean_files
18628 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
18630 if test "$no_recursion" != yes; then
18632 # Remove --cache-file and --srcdir arguments so they do not pile up.
18633 ac_sub_configure_args=
18635 for ac_arg in $ac_configure_args; do
18636 if test -n "$ac_prev"; then
18641 -cache-file | --cache-file | --cache-fil | --cache-fi \
18642 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
18643 ac_prev=cache_file ;;
18644 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
18645 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
18647 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
18649 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
18651 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
18655 for ac_config_dir in demos samples utils contrib; do
18657 # Do not complain, so a configure script can configure whichever
18658 # parts of a large source tree are present.
18659 if test ! -d $srcdir/$ac_config_dir; then
18663 echo configuring in $ac_config_dir
18668 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
18670 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
18678 # A "../" for each directory in /$ac_config_dir.
18679 ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
18682 .) # No --srcdir option. We are building in place.
18683 ac_sub_srcdir=$srcdir ;;
18684 /*) # Absolute path.
18685 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
18686 *) # Relative path.
18687 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
18690 # Check for guested configure; otherwise get Cygnus style configure.
18691 if test -f $ac_sub_srcdir/configure; then
18692 ac_sub_configure=$ac_sub_srcdir/configure
18693 elif test -f $ac_sub_srcdir/configure.in; then
18694 ac_sub_configure=$ac_configure
18696 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
18700 # The recursion is here.
18701 if test -n "$ac_sub_configure"; then
18703 # Make the cache file name correct relative to the subdirectory.
18704 case "$cache_file" in
18705 /*) ac_sub_cache_file=$cache_file ;;
18706 *) # Relative path.
18707 ac_sub_cache_file="$ac_dots$cache_file" ;;
18709 case "$ac_given_INSTALL" in
18710 [/$]*) INSTALL="$ac_given_INSTALL" ;;
18711 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
18714 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
18715 # The eval makes quoting arguments work.
18716 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
18719 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }