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-zlib use zlib for LZW compression"
95 --with-odbc use the IODBC and wxODBC classes"
97 --enable-shared create shared library code"
99 --enable-burnt_name create set name in shared library "
101 --enable-optimise create optimised code"
103 --enable-debug same as debug_flag and debug_info"
105 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)"
107 --enable-debug_info create code with debugging information"
109 --enable-debug_gdb create code with extra GDB debugging information"
111 --enable-debug_cntxt use wxDebugContext"
113 --enable-mem_tracing create code with memory tracing"
115 --enable-profile create code with profiling information"
117 --enable-no_rtti create code without RTTI information"
119 --enable-no_exceptions create code without exceptions information"
121 --enable-permissive compile code disregarding strict ANSI"
123 --enable-no_deps create code without dependency information"
125 --enable-compat20 enable wxWin 2.0 compatibility"
127 --enable-compat22 enable wxWin 2.2 compatibility"
129 --enable-intl use internationalization system"
131 --enable-config use wxConfig (and derived) classes"
133 --enable-sockets use socket/network classes"
135 --enable-ipc use interprocess communication (wxSocket etc.)"
137 --enable-cmdline use wxCmdLineParser class"
139 --enable-datetime use wxDateTime class"
141 --enable-timedate use obsolete wxDate/wxTime classes"
143 --enable-stopwatch use wxStopWatch class"
145 --enable-dialupman use dialup network classes"
147 --enable-apple_ieee use the Apple IEEE codec"
149 --enable-timer use wxTimer class"
151 --enable-wave use wxWave class"
153 --enable-fraction use wxFraction class"
155 --enable-dynlib use wxLibrary class for DLL loading"
157 --enable-longlong use wxLongLong class"
159 --enable-geometry use geometry class"
161 --enable-log use logging system"
163 --enable-streams use wxStream etc classes"
165 --enable-file use wxFile classes"
167 --enable-ffile use wxFFile classes"
169 --enable-textfile use wxTextFile classes"
171 --enable-fontmap use font encodings conversion classes"
173 --enable-unicode compile wxString with Unicode support"
175 --enable-wcsrtombs use wcsrtombs instead of buggy (GNU libc1/Linux libc5) wcstombs"
177 --enable-wxprintfv use wxWindows implementation of vprintf()"
179 --enable-std_iostreams use standard C++ stream classes"
181 --enable-filesystem use virtual file systems classes"
183 --enable-fs_inet use virtual HTTP/FTP filesystems"
185 --enable-fs_zip use virtual ZIP filesystems"
187 --enable-zipstream use wxZipInputStream"
189 --enable-catch_segvs catch signals and pass them to wxApp::OnFatalException"
191 --enable-snglinst use wxSingleInstanceChecker class"
193 --enable-mimetypes use wxMimeTypesManager"
195 --enable-threads use threads"
197 --enable-serial use class serialization"
199 --enable-docview use document view architecture"
201 --enable-help use help (using external browser at present)"
203 --enable-constraints use layout-constraints system"
205 --enable-printarch use printing architecture"
207 --enable-mdi use multiple document interface architecture"
209 --enable-loggui use standard GUI logger"
211 --enable-logwin use wxLogWindow"
213 --enable-postscript use wxPostscriptDC device context (default for gtk+)"
215 --enable-prologio use Prolog IO library"
217 --enable-resources use wxWindows resources"
219 --enable-xresources use X resources for save (default for gtk+)"
221 --enable-clipboard use wxClipboard classes"
223 --enable-dnd use Drag'n'Drop classes"
225 --enable-metafile use win32 metafiles"
227 --enable-wxtree make wxTree library"
229 --enable-controls use all usual controls"
231 --enable-accel use accelerators"
233 --enable-button use wxButton class"
235 --enable-bmpbutton use wxBitmapButton class"
237 --enable-calendar use wxCalendarCtrl class"
239 --enable-caret use wxCaret class"
241 --enable-checkbox use wxCheckBox class"
243 --enable-checklst use wxCheckListBox (listbox with checkboxes) class"
245 --enable-choice use wxChoice class"
247 --enable-combobox use wxComboBox classes"
249 --enable-gauge use wxGauge class"
251 --enable-grid use wxGrid class"
253 --enable-newgrid use new wxGrid class"
255 --enable-imaglist use wxImageList class"
257 --enable-listbox use wxListBox class"
259 --enable-listctrl use wxListCtrl class"
261 --enable-notebook use wxNotebook class"
263 --enable-radiobox use wxRadioBox class"
265 --enable-radiobtn use wxRadioButton class"
267 --enable-sash use wxSashWindow class"
269 --enable-scrollbar use wxScrollBar class and scrollable windows"
271 --enable-slider use wxSlider class"
273 --enable-spinbtn use wxSpinButton class"
275 --enable-spinctrl use wxSpinCtrl class"
277 --enable-splitter use wxSplitterWindow class"
279 --enable-statbmp use wxStaticBitmap class"
281 --enable-statbox use wxStaticBox class"
283 --enable-statline use wxStaticLine class"
285 --enable-stattext use wxStaticText class"
287 --enable-statusbar use wxStatusBar class"
289 --enable-tabdialog use wxTabControl class"
291 --enable-textctrl use wxTextCtrl class"
293 --enable-togglebtn use wxToggleButton class"
295 --enable-toolbar use wxToolBar class"
297 --enable-tbarnative use native wxToolBar class"
299 --enable-tbarsmpl use wxToolBarSimple class"
301 --enable-treectrl use wxTreeCtrl class"
303 --enable-commondlg use common dialogs (wxDirDialog, wxProgressDialog, wxTextDialog, ...)"
305 --enable-choicedlg use wxChoiceDialog"
307 --enable-coldlg use wxColourDialog"
309 --enable-filedlg use wxFileDialog"
311 --enable-fontdlg use wxFontDialog"
313 --enable-dirdlg use wxDirDialog"
315 --enable-msgdlg use wxMessageDialog"
317 --enable-numberdlg use wxNumberEntryDialog"
319 --enable-textdlg use wxTextDialog"
321 --enable-tipdlg use startup tips"
323 --enable-progressdlg use wxProgressDialog"
325 --enable-wizarddlg use wxWizard"
327 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes"
329 --enable-miniframe use wxMiniFrame class"
331 --enable-html use wxHTML sub-library"
333 --enable-tooltips use wxToolTip class"
335 --enable-splines use spline drawing code"
337 --enable-validators use wxValidator and derived classes"
339 --enable-busyinfo use wxBusyInfo"
341 --enable-joystick compile in joystick support (Linux only)"
343 --enable-metafiles use wxMetaFile (Windows only)"
345 --enable-dragimage use wxDragImage"
347 --enable-image use wxImage class"
349 --enable-gif use gif images (GIF file format)"
351 --enable-pcx use pcx images (PCX file format)"
353 --enable-pnm use pnm images (PNM file format)"
355 --enable-xpm use xpm images (XPM file format)"
357 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
359 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
361 --disable-gtktest Do not try to compile and run a test GTK program"
363 --with-x use the X Window System"
365 # Initialize some variables set by options.
366 # The variables have the same names as the options, with
367 # dashes changed to underlines.
369 cache_file
=.
/config.cache
378 program_transform_name
=s
,x
,x
,
386 bindir
='${exec_prefix}/bin'
387 sbindir
='${exec_prefix}/sbin'
388 libexecdir
='${exec_prefix}/libexec'
389 datadir
='${prefix}/share'
390 sysconfdir
='${prefix}/etc'
391 sharedstatedir
='${prefix}/com'
392 localstatedir
='${prefix}/var'
393 libdir
='${exec_prefix}/lib'
394 includedir
='${prefix}/include'
395 oldincludedir
='/usr/include'
396 infodir
='${prefix}/info'
397 mandir
='${prefix}/man'
399 # Initialize some other variables.
402 SHELL
=${CONFIG_SHELL-/bin/sh}
403 # Maximum number of lines to put in a shell here document.
410 # If the previous option needs an argument, assign it.
411 if test -n "$ac_prev"; then
412 eval "$ac_prev=\$ac_option"
418 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
422 # Accept the important Cygnus configure options, so we can diagnose typos.
426 -bindir | --bindir | --bindi | --bind | --bin | --bi)
428 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
429 bindir
="$ac_optarg" ;;
431 -build | --build | --buil | --bui | --bu)
433 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
434 build
="$ac_optarg" ;;
436 -cache-file | --cache-file | --cache-fil | --cache-fi \
437 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
438 ac_prev
=cache_file
;;
439 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
440 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
441 cache_file
="$ac_optarg" ;;
443 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
445 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
447 datadir
="$ac_optarg" ;;
449 -disable-* | --disable-*)
450 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
451 # Reject names that are not valid shell variable names.
452 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
453 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
455 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
456 eval "enable_${ac_feature}=no" ;;
458 -enable-* | --enable-*)
459 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
460 # Reject names that are not valid shell variable names.
461 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
462 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
464 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
469 eval "enable_${ac_feature}='$ac_optarg'" ;;
471 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
472 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
473 | --exec | --exe | --ex)
474 ac_prev
=exec_prefix
;;
475 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
476 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
477 | --exec=* | --exe=* | --ex=*)
478 exec_prefix
="$ac_optarg" ;;
480 -gas | --gas | --ga | --g)
481 # Obsolete; use --with-gas.
484 -help | --help | --hel | --he)
485 # Omit some internal or obsolete options to make the list less imposing.
486 # This message is too long to be a string in the A/UX 3.1 sh.
488 Usage: configure [options] [host]
489 Options: [defaults in brackets after descriptions]
491 --cache-file=FILE cache test results in FILE
492 --help print this message
493 --no-create do not create output files
494 --quiet, --silent do not print \`checking...' messages
495 --version print the version of autoconf that created configure
496 Directory and file names:
497 --prefix=PREFIX install architecture-independent files in PREFIX
499 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
501 --bindir=DIR user executables in DIR [EPREFIX/bin]
502 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
503 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
504 --datadir=DIR read-only architecture-independent data in DIR
506 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
507 --sharedstatedir=DIR modifiable architecture-independent data in DIR
509 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
510 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
511 --includedir=DIR C header files in DIR [PREFIX/include]
512 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
513 --infodir=DIR info documentation in DIR [PREFIX/info]
514 --mandir=DIR man documentation in DIR [PREFIX/man]
515 --srcdir=DIR find the sources in DIR [configure dir or ..]
516 --program-prefix=PREFIX prepend PREFIX to installed program names
517 --program-suffix=SUFFIX append SUFFIX to installed program names
518 --program-transform-name=PROGRAM
519 run sed PROGRAM on installed program names
523 --build=BUILD configure for building on BUILD [BUILD=HOST]
524 --host=HOST configure for HOST [guessed]
525 --target=TARGET configure for TARGET [TARGET=HOST]
526 Features and packages:
527 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
528 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
529 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
530 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
531 --x-includes=DIR X include files are in DIR
532 --x-libraries=DIR X library files are in DIR
534 if test -n "$ac_help"; then
535 echo "--enable and --with options recognized:$ac_help"
539 -host | --host | --hos | --ho)
541 -host=* | --host=* | --hos=* | --ho=*)
544 -includedir | --includedir | --includedi | --included | --include \
545 | --includ | --inclu | --incl | --inc)
546 ac_prev
=includedir
;;
547 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
548 | --includ=* | --inclu=* | --incl=* | --inc=*)
549 includedir
="$ac_optarg" ;;
551 -infodir | --infodir | --infodi | --infod | --info | --inf)
553 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
554 infodir
="$ac_optarg" ;;
556 -libdir | --libdir | --libdi | --libd)
558 -libdir=* | --libdir=* | --libdi=* | --libd=*)
559 libdir
="$ac_optarg" ;;
561 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
562 | --libexe | --libex | --libe)
563 ac_prev
=libexecdir
;;
564 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
565 | --libexe=* | --libex=* | --libe=*)
566 libexecdir
="$ac_optarg" ;;
568 -localstatedir | --localstatedir | --localstatedi | --localstated \
569 | --localstate | --localstat | --localsta | --localst \
570 | --locals | --local | --loca | --loc | --lo)
571 ac_prev
=localstatedir
;;
572 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
573 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
574 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
575 localstatedir
="$ac_optarg" ;;
577 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
579 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
580 mandir
="$ac_optarg" ;;
583 # Obsolete; use --without-fp.
586 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
590 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
591 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
594 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
595 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
596 | --oldin | --oldi | --old | --ol | --o)
597 ac_prev
=oldincludedir
;;
598 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
599 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
600 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
601 oldincludedir
="$ac_optarg" ;;
603 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
605 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
606 prefix
="$ac_optarg" ;;
608 -program-prefix | --program-prefix | --program-prefi | --program-pref \
609 | --program-pre | --program-pr | --program-p)
610 ac_prev
=program_prefix
;;
611 -program-prefix=* | --program-prefix=* | --program-prefi=* \
612 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
613 program_prefix
="$ac_optarg" ;;
615 -program-suffix | --program-suffix | --program-suffi | --program-suff \
616 | --program-suf | --program-su | --program-s)
617 ac_prev
=program_suffix
;;
618 -program-suffix=* | --program-suffix=* | --program-suffi=* \
619 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
620 program_suffix
="$ac_optarg" ;;
622 -program-transform-name | --program-transform-name \
623 | --program-transform-nam | --program-transform-na \
624 | --program-transform-n | --program-transform- \
625 | --program-transform | --program-transfor \
626 | --program-transfo | --program-transf \
627 | --program-trans | --program-tran \
628 | --progr-tra | --program-tr | --program-t)
629 ac_prev
=program_transform_name
;;
630 -program-transform-name=* | --program-transform-name=* \
631 | --program-transform-nam=* | --program-transform-na=* \
632 | --program-transform-n=* | --program-transform-=* \
633 | --program-transform=* | --program-transfor=* \
634 | --program-transfo=* | --program-transf=* \
635 | --program-trans=* | --program-tran=* \
636 | --progr-tra=* | --program-tr=* | --program-t=*)
637 program_transform_name
="$ac_optarg" ;;
639 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
640 | -silent | --silent | --silen | --sile | --sil)
643 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
645 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
647 sbindir
="$ac_optarg" ;;
649 -sharedstatedir | --sharedstatedir | --sharedstatedi \
650 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
651 | --sharedst | --shareds | --shared | --share | --shar \
653 ac_prev
=sharedstatedir
;;
654 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
655 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
656 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
658 sharedstatedir
="$ac_optarg" ;;
660 -site | --site | --sit)
662 -site=* | --site=* | --sit=*)
665 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
667 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
668 srcdir
="$ac_optarg" ;;
670 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
671 | --syscon | --sysco | --sysc | --sys | --sy)
672 ac_prev
=sysconfdir
;;
673 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
674 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
675 sysconfdir
="$ac_optarg" ;;
677 -target | --target | --targe | --targ | --tar | --ta | --t)
679 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
680 target
="$ac_optarg" ;;
682 -v | -verbose | --verbose | --verbos | --verbo | --verb)
685 -version | --version | --versio | --versi | --vers)
686 echo "configure generated by autoconf version 2.13"
690 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
691 # Reject names that are not valid shell variable names.
692 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
693 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
695 ac_package
=`echo $ac_package| sed 's/-/_/g'`
700 eval "with_${ac_package}='$ac_optarg'" ;;
702 -without-* | --without-*)
703 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
704 # Reject names that are not valid shell variable names.
705 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
706 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
708 ac_package
=`echo $ac_package| sed 's/-/_/g'`
709 eval "with_${ac_package}=no" ;;
712 # Obsolete; use --with-x.
715 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
716 | --x-incl | --x-inc | --x-in | --x-i)
717 ac_prev
=x_includes
;;
718 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
719 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
720 x_includes
="$ac_optarg" ;;
722 -x-libraries | --x-libraries | --x-librarie | --x-librari \
723 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
724 ac_prev
=x_libraries
;;
725 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
726 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
727 x_libraries
="$ac_optarg" ;;
729 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
733 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
734 echo "configure: warning: $ac_option: invalid host type" 1>&2
736 if test "x$nonopt" != xNONE
; then
737 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
745 if test -n "$ac_prev"; then
746 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
749 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
751 # File descriptor usage:
754 # 2 errors and warnings
755 # 3 some systems may open it to /dev/tty
756 # 4 used on the Kubota Titan
757 # 6 checking for... messages and results
758 # 5 compiler messages saved in config.log
759 if test "$silent" = yes; then
767 This file contains any messages produced by compilers while
768 running configure, to aid debugging if configure makes a mistake.
771 # Strip out --no-create and --no-recursion so they do not pile up.
772 # Also quote any args containing shell metacharacters.
777 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
778 | --no-cr | --no-c) ;;
779 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
780 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
781 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
782 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
783 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
788 # Only set these to C if already set. These must not be set unconditionally
789 # because not all systems understand e.g. LANG=C (notably SCO).
790 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
791 # Non-C LC_CTYPE values break the ctype check.
792 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
793 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
794 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
795 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
797 # confdefs.h avoids OS command line length limits that DEFS can exceed.
798 rm -rf conftest
* confdefs.h
799 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
802 # A filename unique to this package, relative to the directory that
803 # configure is in, which we can look for to find out if srcdir is correct.
804 ac_unique_file
=wx
-config.
in
806 # Find the source files, if location was not specified.
807 if test -z "$srcdir"; then
808 ac_srcdir_defaulted
=yes
809 # Try the directory containing this script, then its parent.
811 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
812 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
814 if test ! -r $srcdir/$ac_unique_file; then
818 ac_srcdir_defaulted
=no
820 if test ! -r $srcdir/$ac_unique_file; then
821 if test "$ac_srcdir_defaulted" = yes; then
822 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
824 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
827 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
829 # Prefer explicitly selected file to automatically selected ones.
830 if test -z "$CONFIG_SITE"; then
831 if test "x$prefix" != xNONE
; then
832 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
834 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
837 for ac_site_file
in $CONFIG_SITE; do
838 if test -r "$ac_site_file"; then
839 echo "loading site script $ac_site_file"
844 if test -r "$cache_file"; then
845 echo "loading cache $cache_file"
848 echo "creating cache $cache_file"
853 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
854 ac_cpp
='$CPP $CPPFLAGS'
855 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
856 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
857 cross_compiling
=$ac_cv_prog_cc_cross
861 if (echo "testing\c"; echo 1,2,3) | grep c
>/dev
/null
; then
862 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
863 if (echo -n testing
; echo 1,2,3) | sed s
/-n/xn
/ | grep xn
>/dev
/null
; then
870 ac_n
= ac_c
='\c' ac_t
=
876 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
877 if test -f $ac_dir/install-sh; then
879 ac_install_sh
="$ac_aux_dir/install-sh -c"
881 elif test -f $ac_dir/install.sh
; then
883 ac_install_sh
="$ac_aux_dir/install.sh -c"
887 if test -z "$ac_aux_dir"; then
888 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
890 ac_config_guess
=$ac_aux_dir/config.guess
891 ac_config_sub
=$ac_aux_dir/config.sub
892 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
895 # Do some error checking and defaulting for the host and target type.
897 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
900 # 1. You are not allowed to specify --host, --target, and nonopt at the
902 # 2. Host defaults to nonopt.
903 # 3. If nonopt is not specified, then host defaults to the current host,
904 # as determined by config.guess.
905 # 4. Target and build default to nonopt.
906 # 5. If nonopt is not specified, then target and build default to host.
908 # The aliases save the names the user supplied, while $host etc.
909 # will get canonicalized.
910 case $host---$target---$nonopt in
911 NONE
---*---* | *---NONE---* | *---*---NONE) ;;
912 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
916 # Make sure we can run config.sub.
917 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
918 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
921 echo $ac_n "checking host system type""... $ac_c" 1>&6
922 echo "configure:923: checking host system type" >&5
925 case "$host_alias" in
929 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
930 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
932 *) host_alias
=$nonopt ;;
936 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
937 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
938 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
939 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
940 echo "$ac_t""$host" 1>&6
942 echo $ac_n "checking target system type""... $ac_c" 1>&6
943 echo "configure:944: checking target system type" >&5
946 case "$target_alias" in
949 NONE
) target_alias
=$host_alias ;;
950 *) target_alias
=$nonopt ;;
954 target
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
955 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
956 target_vendor
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
957 target_os
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
958 echo "$ac_t""$target" 1>&6
960 echo $ac_n "checking build system type""... $ac_c" 1>&6
961 echo "configure:962: checking build system type" >&5
964 case "$build_alias" in
967 NONE
) build_alias
=$host_alias ;;
968 *) build_alias
=$nonopt ;;
972 build
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
973 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
974 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
975 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
976 echo "$ac_t""$build" 1>&6
978 test "$host_alias" != "$target_alias" &&
979 test "$program_prefix$program_suffix$program_transform_name" = \
981 program_prefix
=${target_alias}-
985 WX_MAJOR_VERSION_NUMBER
=2
986 WX_MINOR_VERSION_NUMBER
=3
989 WX_VERSION
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER.
$WX_RELEASE_NUMBER
990 WX_RELEASE
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER
1024 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1026 ALL_TOOLKITS
="CYGWIN GTK MAC MGL MINGW MOTIF PM WINE"
1031 DEFAULT_wxUSE_MOTIF
=0
1034 DEFAULT_wxUSE_WINE
=0
1036 DEFAULT_DEFAULT_wxUSE_GTK
=0
1037 DEFAULT_DEFAULT_wxUSE_MAC
=0
1038 DEFAULT_DEFAULT_wxUSE_MGL
=0
1039 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1040 DEFAULT_DEFAULT_wxUSE_MSW
=0
1041 DEFAULT_DEFAULT_wxUSE_PM
=0
1042 DEFAULT_DEFAULT_wxUSE_WINE
=0
1049 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1050 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1051 cat >> confdefs.h
<<\EOF
1058 cat >> confdefs.h
<<\EOF
1063 if test "x$TMP" = "xalpha"; then
1065 cat >> confdefs.h
<<\EOF
1070 DEFAULT_DEFAULT_wxUSE_GTK
=1
1072 *-*-irix5* | *-*-irix6* )
1075 cat >> confdefs.h
<<\EOF
1079 cat >> confdefs.h
<<\EOF
1083 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1089 cat >> confdefs.h
<<\EOF
1093 cat >> confdefs.h
<<\EOF
1094 #define __SOLARIS__ 1
1097 cat >> confdefs.h
<<\EOF
1101 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1102 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1108 cat >> confdefs.h
<<\EOF
1112 cat >> confdefs.h
<<\EOF
1116 cat >> confdefs.h
<<\EOF
1120 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1125 cat >> confdefs.h
<<\EOF
1126 #define __FREEBSD__ 1
1129 cat >> confdefs.h
<<\EOF
1133 DEFAULT_DEFAULT_wxUSE_GTK
=1
1138 cat >> confdefs.h
<<\EOF
1139 #define __FREEBSD__ 1
1142 cat >> confdefs.h
<<\EOF
1143 #define __OPENBSD__ 1
1146 DEFAULT_DEFAULT_wxUSE_GTK
=1
1151 cat >> confdefs.h
<<\EOF
1152 #define __FREEBSD__ 1
1155 cat >> confdefs.h
<<\EOF
1156 #define __NETBSD__ 1
1159 DEFAULT_DEFAULT_wxUSE_GTK
=1
1164 cat >> confdefs.h
<<\EOF
1168 cat >> confdefs.h
<<\EOF
1172 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1173 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1178 cat >> confdefs.h
<<\EOF
1182 cat >> confdefs.h
<<\EOF
1186 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1191 cat >> confdefs.h
<<\EOF
1195 cat >> confdefs.h
<<\EOF
1199 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1205 cat >> confdefs.h
<<\EOF
1209 cat >> confdefs.h
<<\EOF
1213 cat >> confdefs.h
<<\EOF
1217 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1220 *-*-cygwin* | *-*-mingw32* )
1223 cat >> confdefs.h
<<\EOF
1227 cat >> confdefs.h
<<\EOF
1231 cat >> confdefs.h
<<\EOF
1232 #define __WINDOWS__ 1
1235 cat >> confdefs.h
<<\EOF
1236 #define __GNUWIN32__ 1
1239 cat >> confdefs.h
<<\EOF
1243 cat >> confdefs.h
<<\EOF
1244 #define WINVER 0x0400
1248 DEFAULT_DEFAULT_wxUSE_MSW
=1
1252 cat >> confdefs.h
<<\EOF
1257 DEFAULT_DEFAULT_wxUSE_PM
=1
1263 cat >> confdefs.h
<<\EOF
1267 cat >> confdefs.h
<<\EOF
1271 cat >> confdefs.h
<<\EOF
1275 DEFAULT_DEFAULT_wxUSE_MAC
=1
1280 cat >> confdefs.h
<<\EOF
1287 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
1290 if test "$USE_UNIX" = 1 ; then
1292 cat >> confdefs.h
<<\EOF
1297 SRC_SUBDIRS
="$SRC_SUBDIRS unix"
1298 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS unix"
1301 if test "$USE_BEOS" = 1; then
1302 SRC_SUBDIRS
="$SRC_SUBDIRS be"
1303 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS be"
1306 if test "$USE_LINUX" = 1; then
1307 echo $ac_n "checking for gettext in -lc""... $ac_c" 1>&6
1308 echo "configure:1309: checking for gettext in -lc" >&5
1309 ac_lib_var
=`echo c'_'gettext | sed 'y%./+-%__p_%'`
1310 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1311 echo $ac_n "(cached) $ac_c" 1>&6
1313 ac_save_LIBS
="$LIBS"
1315 cat > conftest.
$ac_ext <<EOF
1316 #line 1317 "configure"
1317 #include "confdefs.h"
1318 /* Override any gcc2 internal prototype to avoid an error. */
1319 /* We use char because int might match the return type of a gcc2
1320 builtin and then its argument prototype would still apply. */
1327 if { (eval echo configure
:1328: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
1329 eval "ac_cv_lib_$ac_lib_var=yes"
1331 echo "configure: failed program was:" >&5
1332 cat conftest.
$ac_ext >&5
1334 eval "ac_cv_lib_$ac_lib_var=no"
1337 LIBS
="$ac_save_LIBS"
1340 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1341 echo "$ac_t""yes" 1>&6
1342 cat >> confdefs.h
<<\EOF
1343 #define wxHAVE_GLIBC2 1
1347 echo "$ac_t""no" 1>&6
1355 wx_arg_cache_file
="configarg.cache"
1356 echo "loading argument cache $wx_arg_cache_file"
1357 rm -f ${wx_arg_cache_file}.tmp
1358 touch ${wx_arg_cache_file}.tmp
1359 touch ${wx_arg_cache_file}
1363 if test $DEBUG_CONFIGURE = 1; then
1364 DEFAULT_wxUSE_UNIVERSAL
=no
1366 DEFAULT_wxUSE_THREADS
=yes
1368 DEFAULT_wxUSE_SHARED
=yes
1369 DEFAULT_wxUSE_BURNT_NAME
=no
1370 DEFAULT_wxUSE_OPTIMISE
=no
1371 DEFAULT_wxUSE_PROFILE
=no
1372 DEFAULT_wxUSE_NO_DEPS
=no
1373 DEFAULT_wxUSE_NO_RTTI
=no
1374 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1375 DEFAULT_wxUSE_PERMISSIVE
=no
1376 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1377 DEFAULT_wxUSE_DEBUG_INFO
=yes
1378 DEFAULT_wxUSE_DEBUG_GDB
=yes
1379 DEFAULT_wxUSE_MEM_TRACING
=no
1380 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1381 DEFAULT_wxUSE_DMALLOC
=no
1382 DEFAULT_wxUSE_APPLE_IEEE
=no
1384 DEFAULT_wxUSE_LOG
=yes
1385 DEFAULT_wxUSE_LOGWINDOW
=no
1386 DEFAULT_wxUSE_LOGGUI
=no
1388 DEFAULT_wxUSE_GUI
=yes
1389 DEFAULT_wxUSE_CONTROLS
=no
1391 DEFAULT_wxUSE_ZLIB
=no
1392 DEFAULT_wxUSE_LIBPNG
=no
1393 DEFAULT_wxUSE_LIBJPEG
=no
1394 DEFAULT_wxUSE_LIBTIFF
=no
1395 DEFAULT_wxUSE_ODBC
=no
1396 DEFAULT_wxUSE_FREETYPE
=no
1397 DEFAULT_wxUSE_OPENGL
=no
1399 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
1400 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
1401 DEFAULT_wxUSE_STD_IOSTREAM
=no
1402 DEFAULT_wxUSE_CMDLINE_PARSER
=no
1403 DEFAULT_wxUSE_DATETIME
=no
1404 DEFAULT_wxUSE_TIMEDATE
=no
1405 DEFAULT_wxUSE_TIMER
=no
1406 DEFAULT_wxUSE_STOPWATCH
=no
1407 DEFAULT_wxUSE_FILE
=no
1408 DEFAULT_wxUSE_FFILE
=no
1409 DEFAULT_wxUSE_TEXTFILE
=no
1410 DEFAULT_wxUSE_WAVE
=no
1411 DEFAULT_wxUSE_INTL
=no
1412 DEFAULT_wxUSE_CONFIG
=no
1413 DEFAULT_wxUSE_FONTMAP
=no
1414 DEFAULT_wxUSE_STREAMS
=no
1415 DEFAULT_wxUSE_SOCKETS
=no
1416 DEFAULT_wxUSE_DIALUP_MANAGER
=no
1417 DEFAULT_wxUSE_SERIAL
=no
1418 DEFAULT_wxUSE_JOYSTICK
=no
1419 DEFAULT_wxUSE_DYNLIB_CLASS
=no
1420 DEFAULT_wxUSE_LONGLONG
=no
1421 DEFAULT_wxUSE_GEOMETRY
=no
1423 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
1424 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
1425 DEFAULT_wxUSE_POSTSCRIPT
=no
1427 DEFAULT_wxUSE_X_RESOURCES
=no
1428 DEFAULT_wxUSE_CLIPBOARD
=no
1429 DEFAULT_wxUSE_TOOLTIPS
=no
1430 DEFAULT_wxUSE_DRAG_AND_DROP
=no
1431 DEFAULT_wxUSE_DRAGIMAGE
=no
1432 DEFAULT_wxUSE_SPLINES
=no
1434 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
1435 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
1436 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
1438 DEFAULT_wxUSE_PROLOGIO
=no
1439 DEFAULT_wxUSE_RESOURCES
=no
1440 DEFAULT_wxUSE_CONSTRAINTS
=no
1441 DEFAULT_wxUSE_IPC
=no
1442 DEFAULT_wxUSE_HELP
=no
1443 DEFAULT_wxUSE_WXTREE
=no
1444 DEFAULT_wxUSE_METAFILE
=no
1445 DEFAULT_wxUSE_MIMETYPE
=no
1447 DEFAULT_wxUSE_COMMONDLGS
=no
1448 DEFAULT_wxUSE_CHOICEDLG
=no
1449 DEFAULT_wxUSE_COLOURDLG
=no
1450 DEFAULT_wxUSE_DIRDLG
=no
1451 DEFAULT_wxUSE_FILEDLG
=no
1452 DEFAULT_wxUSE_FONTDLG
=no
1453 DEFAULT_wxUSE_MSGDLG
=no
1454 DEFAULT_wxUSE_NUMBERDLG
=no
1455 DEFAULT_wxUSE_TEXTDLG
=no
1456 DEFAULT_wxUSE_STARTUP_TIPS
=no
1457 DEFAULT_wxUSE_PROGRESSDLG
=no
1458 DEFAULT_wxUSE_WIZARDDLG
=no
1460 DEFAULT_wxUSE_MENUS
=no
1461 DEFAULT_wxUSE_MINIFRAME
=no
1462 DEFAULT_wxUSE_HTML
=no
1463 DEFAULT_wxUSE_FILESYSTEM
=no
1464 DEFAULT_wxUSE_FS_INET
=no
1465 DEFAULT_wxUSE_FS_ZIP
=no
1466 DEFAULT_wxUSE_BUSYINFO
=no
1467 DEFAULT_wxUSE_ZIPSTREAM
=no
1468 DEFAULT_wxUSE_VALIDATORS
=no
1470 DEFAULT_wxUSE_ACCEL
=no
1471 DEFAULT_wxUSE_BUTTON
=no
1472 DEFAULT_wxUSE_BMPBUTTON
=no
1473 DEFAULT_wxUSE_CALCTRL
=no
1474 DEFAULT_wxUSE_CARET
=no
1475 DEFAULT_wxUSE_CHECKBOX
=no
1476 DEFAULT_wxUSE_CHECKLST
=no
1477 DEFAULT_wxUSE_CHOICE
=no
1478 DEFAULT_wxUSE_COMBOBOX
=no
1479 DEFAULT_wxUSE_GAUGE
=no
1480 DEFAULT_wxUSE_GRID
=no
1481 DEFAULT_wxUSE_NEW_GRID
=no
1482 DEFAULT_wxUSE_IMAGLIST
=no
1483 DEFAULT_wxUSE_LISTBOX
=no
1484 DEFAULT_wxUSE_LISTCTRL
=no
1485 DEFAULT_wxUSE_NOTEBOOK
=no
1486 DEFAULT_wxUSE_RADIOBOX
=no
1487 DEFAULT_wxUSE_RADIOBTN
=no
1488 DEFAULT_wxUSE_SASH
=no
1489 DEFAULT_wxUSE_SCROLLBAR
=no
1490 DEFAULT_wxUSE_SLIDER
=no
1491 DEFAULT_wxUSE_SPINBTN
=no
1492 DEFAULT_wxUSE_SPINCTRL
=no
1493 DEFAULT_wxUSE_SPLITTER
=no
1494 DEFAULT_wxUSE_STATBMP
=no
1495 DEFAULT_wxUSE_STATBOX
=no
1496 DEFAULT_wxUSE_STATLINE
=no
1497 DEFAULT_wxUSE_STATTEXT
=no
1498 DEFAULT_wxUSE_STATUSBAR
=yes
1499 DEFAULT_wxUSE_TABDIALOG
=no
1500 DEFAULT_wxUSE_TEXTCTRL
=no
1501 DEFAULT_wxUSE_TOGGLEBTN
=no
1502 DEFAULT_wxUSE_TOOLBAR
=no
1503 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
1504 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
1505 DEFAULT_wxUSE_TREECTRL
=no
1507 DEFAULT_wxUSE_UNICODE
=no
1508 DEFAULT_wxUSE_WCSRTOMBS
=no
1510 DEFAULT_wxUSE_IMAGE
=no
1511 DEFAULT_wxUSE_GIF
=no
1512 DEFAULT_wxUSE_PCX
=no
1513 DEFAULT_wxUSE_PNM
=no
1514 DEFAULT_wxUSE_XPM
=no
1516 DEFAULT_wxUSE_UNIVERSAL
=no
1518 DEFAULT_wxUSE_THREADS
=yes
1520 DEFAULT_wxUSE_SHARED
=yes
1521 DEFAULT_wxUSE_BURNT_NAME
=no
1522 DEFAULT_wxUSE_OPTIMISE
=yes
1523 DEFAULT_wxUSE_PROFILE
=no
1524 DEFAULT_wxUSE_NO_DEPS
=no
1525 DEFAULT_wxUSE_NO_RTTI
=no
1526 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1527 DEFAULT_wxUSE_PERMISSIVE
=no
1528 DEFAULT_wxUSE_DEBUG_FLAG
=no
1529 DEFAULT_wxUSE_DEBUG_INFO
=no
1530 DEFAULT_wxUSE_DEBUG_GDB
=no
1531 DEFAULT_wxUSE_MEM_TRACING
=no
1532 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1533 DEFAULT_wxUSE_DMALLOC
=no
1534 DEFAULT_wxUSE_APPLE_IEEE
=yes
1536 DEFAULT_wxUSE_LOG
=yes
1537 DEFAULT_wxUSE_LOGWINDOW
=yes
1538 DEFAULT_wxUSE_LOGGUI
=yes
1540 DEFAULT_wxUSE_GUI
=yes
1542 DEFAULT_wxUSE_ZLIB
=yes
1543 DEFAULT_wxUSE_LIBPNG
=yes
1544 DEFAULT_wxUSE_LIBJPEG
=yes
1545 DEFAULT_wxUSE_LIBTIFF
=yes
1546 DEFAULT_wxUSE_ODBC
=no
1547 DEFAULT_wxUSE_FREETYPE
=no
1548 DEFAULT_wxUSE_OPENGL
=no
1550 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
1551 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
1552 DEFAULT_wxUSE_STD_IOSTREAM
=no
1553 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
1554 DEFAULT_wxUSE_DATETIME
=yes
1555 DEFAULT_wxUSE_TIMEDATE
=no
1556 DEFAULT_wxUSE_TIMER
=yes
1557 DEFAULT_wxUSE_STOPWATCH
=yes
1558 DEFAULT_wxUSE_FILE
=yes
1559 DEFAULT_wxUSE_FFILE
=yes
1560 DEFAULT_wxUSE_TEXTFILE
=yes
1561 DEFAULT_wxUSE_WAVE
=no
1562 DEFAULT_wxUSE_INTL
=yes
1563 DEFAULT_wxUSE_CONFIG
=yes
1564 DEFAULT_wxUSE_FONTMAP
=yes
1565 DEFAULT_wxUSE_STREAMS
=yes
1566 DEFAULT_wxUSE_SOCKETS
=yes
1567 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
1568 DEFAULT_wxUSE_SERIAL
=yes
1569 DEFAULT_wxUSE_JOYSTICK
=yes
1570 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
1571 DEFAULT_wxUSE_LONGLONG
=yes
1572 DEFAULT_wxUSE_GEOMETRY
=yes
1574 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
1575 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
1576 DEFAULT_wxUSE_POSTSCRIPT
=yes
1578 DEFAULT_wxUSE_X_RESOURCES
=no
1579 DEFAULT_wxUSE_CLIPBOARD
=yes
1580 DEFAULT_wxUSE_TOOLTIPS
=yes
1581 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
1582 DEFAULT_wxUSE_DRAGIMAGE
=yes
1583 DEFAULT_wxUSE_SPLINES
=yes
1585 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
1586 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
1587 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
1589 DEFAULT_wxUSE_PROLOGIO
=yes
1590 DEFAULT_wxUSE_RESOURCES
=yes
1591 DEFAULT_wxUSE_CONSTRAINTS
=yes
1592 DEFAULT_wxUSE_IPC
=yes
1593 DEFAULT_wxUSE_HELP
=yes
1594 DEFAULT_wxUSE_WXTREE
=yes
1595 DEFAULT_wxUSE_METAFILE
=yes
1596 DEFAULT_wxUSE_MIMETYPE
=yes
1598 DEFAULT_wxUSE_COMMONDLGS
=yes
1599 DEFAULT_wxUSE_CHOICEDLG
=yes
1600 DEFAULT_wxUSE_COLOURDLG
=yes
1601 DEFAULT_wxUSE_DIRDLG
=yes
1602 DEFAULT_wxUSE_FILEDLG
=yes
1603 DEFAULT_wxUSE_FONTDLG
=yes
1604 DEFAULT_wxUSE_MSGDLG
=yes
1605 DEFAULT_wxUSE_NUMBERDLG
=yes
1606 DEFAULT_wxUSE_TEXTDLG
=yes
1607 DEFAULT_wxUSE_STARTUP_TIPS
=yes
1608 DEFAULT_wxUSE_PROGRESSDLG
=yes
1609 DEFAULT_wxUSE_MENUS
=yes
1610 DEFAULT_wxUSE_MINIFRAME
=yes
1611 DEFAULT_wxUSE_HTML
=yes
1612 DEFAULT_wxUSE_FILESYSTEM
=yes
1613 DEFAULT_wxUSE_FS_INET
=yes
1614 DEFAULT_wxUSE_FS_ZIP
=yes
1615 DEFAULT_wxUSE_BUSYINFO
=yes
1616 DEFAULT_wxUSE_ZIPSTREAM
=yes
1617 DEFAULT_wxUSE_VALIDATORS
=yes
1619 DEFAULT_wxUSE_ACCEL
=yes
1620 DEFAULT_wxUSE_BUTTON
=yes
1621 DEFAULT_wxUSE_BMPBUTTON
=yes
1622 DEFAULT_wxUSE_CALCTRL
=yes
1623 DEFAULT_wxUSE_CARET
=yes
1624 DEFAULT_wxUSE_CHECKBOX
=yes
1625 DEFAULT_wxUSE_CHECKLST
=yes
1626 DEFAULT_wxUSE_CHOICE
=yes
1627 DEFAULT_wxUSE_COMBOBOX
=yes
1628 DEFAULT_wxUSE_GAUGE
=yes
1629 DEFAULT_wxUSE_GRID
=yes
1630 DEFAULT_wxUSE_NEW_GRID
=yes
1631 DEFAULT_wxUSE_IMAGLIST
=yes
1632 DEFAULT_wxUSE_LISTBOX
=yes
1633 DEFAULT_wxUSE_LISTCTRL
=yes
1634 DEFAULT_wxUSE_NOTEBOOK
=yes
1635 DEFAULT_wxUSE_RADIOBOX
=yes
1636 DEFAULT_wxUSE_RADIOBTN
=yes
1637 DEFAULT_wxUSE_SASH
=yes
1638 DEFAULT_wxUSE_SCROLLBAR
=yes
1639 DEFAULT_wxUSE_SLIDER
=yes
1640 DEFAULT_wxUSE_SPINBTN
=yes
1641 DEFAULT_wxUSE_SPINCTRL
=yes
1642 DEFAULT_wxUSE_SPLITTER
=yes
1643 DEFAULT_wxUSE_STATBMP
=yes
1644 DEFAULT_wxUSE_STATBOX
=yes
1645 DEFAULT_wxUSE_STATLINE
=yes
1646 DEFAULT_wxUSE_STATTEXT
=yes
1647 DEFAULT_wxUSE_STATUSBAR
=yes
1648 DEFAULT_wxUSE_TABDIALOG
=no
1649 DEFAULT_wxUSE_TEXTCTRL
=yes
1650 DEFAULT_wxUSE_TOGGLEBTN
=yes
1651 DEFAULT_wxUSE_TOOLBAR
=yes
1652 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
1653 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
1654 DEFAULT_wxUSE_TREECTRL
=yes
1656 DEFAULT_wxUSE_UNICODE
=no
1657 DEFAULT_wxUSE_WCSRTOMBS
=no
1659 DEFAULT_wxUSE_IMAGE
=yes
1660 DEFAULT_wxUSE_GIF
=yes
1661 DEFAULT_wxUSE_PCX
=yes
1662 DEFAULT_wxUSE_PNM
=yes
1663 DEFAULT_wxUSE_XPM
=yes
1668 for toolkit
in `echo $ALL_TOOLKITS`; do
1669 LINE
=`grep "wxUSE_$toolkit" ${wx_arg_cache_file}`
1670 if test "x$LINE" != x
; then
1671 has_toolkit_in_cache
=1
1672 eval "DEFAULT_$LINE"
1673 eval "CACHE_$toolkit=1"
1679 echo $ac_n "checking for --enable-gui""... $ac_c" 1>&6
1680 echo "configure:1681: checking for --enable-gui" >&5
1682 # Check whether --enable-gui or --disable-gui was given.
1683 if test "${enable_gui+set}" = set; then
1684 enableval
="$enable_gui"
1686 if test "$enableval" = yes; then
1687 ac_cv_use_gui
='wxUSE_GUI=yes'
1689 ac_cv_use_gui
='wxUSE_GUI=no'
1694 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
1695 if test "x$LINE" != x
; then
1696 eval "DEFAULT_$LINE"
1701 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
1706 eval "$ac_cv_use_gui"
1707 if test "$no_cache" != 1; then
1708 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
1711 if test "$wxUSE_GUI" = yes; then
1712 echo "$ac_t""yes" 1>&6
1714 echo "$ac_t""no" 1>&6
1718 if test "$wxUSE_GUI" = "yes"; then
1721 echo $ac_n "checking for --enable-universal""... $ac_c" 1>&6
1722 echo "configure:1723: checking for --enable-universal" >&5
1724 # Check whether --enable-universal or --disable-universal was given.
1725 if test "${enable_universal+set}" = set; then
1726 enableval
="$enable_universal"
1728 if test "$enableval" = yes; then
1729 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
1731 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
1736 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
1737 if test "x$LINE" != x
; then
1738 eval "DEFAULT_$LINE"
1743 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
1748 eval "$ac_cv_use_universal"
1749 if test "$no_cache" != 1; then
1750 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
1753 if test "$wxUSE_UNIVERSAL" = yes; then
1754 echo "$ac_t""yes" 1>&6
1756 echo "$ac_t""no" 1>&6
1759 # Check whether --with-gtk or --without-gtk was given.
1760 if test "${with_gtk+set}" = set; then
1762 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
1765 # Check whether --with-motif or --without-motif was given.
1766 if test "${with_motif+set}" = set; then
1767 withval
="$with_motif"
1768 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
1771 # Check whether --with-mac or --without-mac was given.
1772 if test "${with_mac+set}" = set; then
1774 wxUSE_MAC
="$withval" TOOLKIT_GIVEN
=1
1777 # Check whether --with-wine or --without-wine was given.
1778 if test "${with_wine+set}" = set; then
1779 withval
="$with_wine"
1780 wxUSE_WINE
="$withval" CACHE_WINE
=1 TOOLKIT_GIVEN
=1
1783 # Check whether --with-cygwin or --without-cygwin was given.
1784 if test "${with_cygwin+set}" = set; then
1785 withval
="$with_cygwin"
1786 wxUSE_CYGWIN
="$withval" CACHE_CYGWIN
=1 TOOLKIT_GIVEN
=1
1789 # Check whether --with-mingw or --without-mingw was given.
1790 if test "${with_mingw+set}" = set; then
1791 withval
="$with_mingw"
1792 wxUSE_MINGW
="$withval" CACHE_MINGW
=1 TOOLKIT_GIVEN
=1
1795 # Check whether --with-pm or --without-pm was given.
1796 if test "${with_pm+set}" = set; then
1798 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
1801 # Check whether --with-mgl or --without-mgl was given.
1802 if test "${with_mgl+set}" = set; then
1804 wxUSE_MGL
="$withval" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
1808 # Check whether --enable-gtk2 or --disable-gtk2 was given.
1809 if test "${enable_gtk2+set}" = set; then
1810 enableval
="$enable_gtk2"
1818 echo $ac_n "checking for --with-libpng""... $ac_c" 1>&6
1819 echo "configure:1820: checking for --with-libpng" >&5
1821 # Check whether --with-libpng or --without-libpng was given.
1822 if test "${with_libpng+set}" = set; then
1823 withval
="$with_libpng"
1825 if test "$withval" = yes; then
1826 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
1827 elif test "$withval" = no
; then
1828 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
1829 elif test "$withval" = sys
; then
1830 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
1832 { echo "configure: error: Invalid value for --with-libpng: should be yes, no or sys" 1>&2; exit 1; }
1837 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
1838 if test "x$LINE" != x
; then
1839 eval "DEFAULT_$LINE"
1844 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
1849 eval "$ac_cv_use_libpng"
1850 if test "$no_cache" != 1; then
1851 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
1854 if test "$wxUSE_LIBPNG" = yes; then
1855 echo "$ac_t""yes" 1>&6
1856 elif test "$wxUSE_LIBPNG" = no
; then
1857 echo "$ac_t""no" 1>&6
1858 elif test "$wxUSE_LIBPNG" = sys
; then
1859 echo "$ac_t""system version" 1>&6
1861 { echo "configure: error: Invalid value for --with-libpng: should be yes, no or sys" 1>&2; exit 1; }
1865 echo $ac_n "checking for --with-libjpeg""... $ac_c" 1>&6
1866 echo "configure:1867: checking for --with-libjpeg" >&5
1868 # Check whether --with-libjpeg or --without-libjpeg was given.
1869 if test "${with_libjpeg+set}" = set; then
1870 withval
="$with_libjpeg"
1872 if test "$withval" = yes; then
1873 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
1874 elif test "$withval" = no
; then
1875 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
1876 elif test "$withval" = sys
; then
1877 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
1879 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no or sys" 1>&2; exit 1; }
1884 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
1885 if test "x$LINE" != x
; then
1886 eval "DEFAULT_$LINE"
1891 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
1896 eval "$ac_cv_use_libjpeg"
1897 if test "$no_cache" != 1; then
1898 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
1901 if test "$wxUSE_LIBJPEG" = yes; then
1902 echo "$ac_t""yes" 1>&6
1903 elif test "$wxUSE_LIBJPEG" = no
; then
1904 echo "$ac_t""no" 1>&6
1905 elif test "$wxUSE_LIBJPEG" = sys
; then
1906 echo "$ac_t""system version" 1>&6
1908 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no or sys" 1>&2; exit 1; }
1912 echo $ac_n "checking for --with-libtiff""... $ac_c" 1>&6
1913 echo "configure:1914: checking for --with-libtiff" >&5
1915 # Check whether --with-libtiff or --without-libtiff was given.
1916 if test "${with_libtiff+set}" = set; then
1917 withval
="$with_libtiff"
1919 if test "$withval" = yes; then
1920 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
1921 elif test "$withval" = no
; then
1922 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
1923 elif test "$withval" = sys
; then
1924 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
1926 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no or sys" 1>&2; exit 1; }
1931 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
1932 if test "x$LINE" != x
; then
1933 eval "DEFAULT_$LINE"
1938 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
1943 eval "$ac_cv_use_libtiff"
1944 if test "$no_cache" != 1; then
1945 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
1948 if test "$wxUSE_LIBTIFF" = yes; then
1949 echo "$ac_t""yes" 1>&6
1950 elif test "$wxUSE_LIBTIFF" = no
; then
1951 echo "$ac_t""no" 1>&6
1952 elif test "$wxUSE_LIBTIFF" = sys
; then
1953 echo "$ac_t""system version" 1>&6
1955 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no or sys" 1>&2; exit 1; }
1959 echo $ac_n "checking for --with-freetype""... $ac_c" 1>&6
1960 echo "configure:1961: checking for --with-freetype" >&5
1962 # Check whether --with-freetype or --without-freetype was given.
1963 if test "${with_freetype+set}" = set; then
1964 withval
="$with_freetype"
1966 if test "$withval" = yes; then
1967 ac_cv_use_freetype
='wxUSE_FREETYPE=yes'
1968 elif test "$withval" = no
; then
1969 ac_cv_use_freetype
='wxUSE_FREETYPE=no'
1970 elif test "$withval" = sys
; then
1971 ac_cv_use_freetype
='wxUSE_FREETYPE=sys'
1973 { echo "configure: error: Invalid value for --with-freetype: should be yes, no or sys" 1>&2; exit 1; }
1978 LINE
=`grep "wxUSE_FREETYPE" ${wx_arg_cache_file}`
1979 if test "x$LINE" != x
; then
1980 eval "DEFAULT_$LINE"
1985 ac_cv_use_freetype
='wxUSE_FREETYPE='$DEFAULT_wxUSE_FREETYPE
1990 eval "$ac_cv_use_freetype"
1991 if test "$no_cache" != 1; then
1992 echo $ac_cv_use_freetype >> ${wx_arg_cache_file}.tmp
1995 if test "$wxUSE_FREETYPE" = yes; then
1996 echo "$ac_t""yes" 1>&6
1997 elif test "$wxUSE_FREETYPE" = no
; then
1998 echo "$ac_t""no" 1>&6
1999 elif test "$wxUSE_FREETYPE" = sys
; then
2000 echo "$ac_t""system version" 1>&6
2002 { echo "configure: error: Invalid value for --with-freetype: should be yes, no or sys" 1>&2; exit 1; }
2006 echo $ac_n "checking for --with-opengl""... $ac_c" 1>&6
2007 echo "configure:2008: checking for --with-opengl" >&5
2009 # Check whether --with-opengl or --without-opengl was given.
2010 if test "${with_opengl+set}" = set; then
2011 withval
="$with_opengl"
2013 if test "$withval" = yes; then
2014 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
2016 ac_cv_use_opengl
='wxUSE_OPENGL=no'
2021 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2022 if test "x$LINE" != x
; then
2023 eval "DEFAULT_$LINE"
2028 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
2033 eval "$ac_cv_use_opengl"
2034 if test "$no_cache" != 1; then
2035 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2038 if test "$wxUSE_OPENGL" = yes; then
2039 echo "$ac_t""yes" 1>&6
2041 echo "$ac_t""no" 1>&6
2048 echo $ac_n "checking for --with-dmalloc""... $ac_c" 1>&6
2049 echo "configure:2050: checking for --with-dmalloc" >&5
2051 # Check whether --with-dmalloc or --without-dmalloc was given.
2052 if test "${with_dmalloc+set}" = set; then
2053 withval
="$with_dmalloc"
2055 if test "$withval" = yes; then
2056 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
2058 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
2063 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2064 if test "x$LINE" != x
; then
2065 eval "DEFAULT_$LINE"
2070 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
2075 eval "$ac_cv_use_dmalloc"
2076 if test "$no_cache" != 1; then
2077 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2080 if test "$wxUSE_DMALLOC" = yes; then
2081 echo "$ac_t""yes" 1>&6
2083 echo "$ac_t""no" 1>&6
2087 echo $ac_n "checking for --with-zlib""... $ac_c" 1>&6
2088 echo "configure:2089: checking for --with-zlib" >&5
2090 # Check whether --with-zlib or --without-zlib was given.
2091 if test "${with_zlib+set}" = set; then
2092 withval
="$with_zlib"
2094 if test "$withval" = yes; then
2095 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
2096 elif test "$withval" = no
; then
2097 ac_cv_use_zlib
='wxUSE_ZLIB=no'
2098 elif test "$withval" = sys
; then
2099 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
2101 { echo "configure: error: Invalid value for --with-zlib: should be yes, no or sys" 1>&2; exit 1; }
2106 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2107 if test "x$LINE" != x
; then
2108 eval "DEFAULT_$LINE"
2113 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
2118 eval "$ac_cv_use_zlib"
2119 if test "$no_cache" != 1; then
2120 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2123 if test "$wxUSE_ZLIB" = yes; then
2124 echo "$ac_t""yes" 1>&6
2125 elif test "$wxUSE_ZLIB" = no
; then
2126 echo "$ac_t""no" 1>&6
2127 elif test "$wxUSE_ZLIB" = sys
; then
2128 echo "$ac_t""system version" 1>&6
2130 { echo "configure: error: Invalid value for --with-zlib: should be yes, no or sys" 1>&2; exit 1; }
2134 echo $ac_n "checking for --with-odbc""... $ac_c" 1>&6
2135 echo "configure:2136: checking for --with-odbc" >&5
2137 # Check whether --with-odbc or --without-odbc was given.
2138 if test "${with_odbc+set}" = set; then
2139 withval
="$with_odbc"
2141 if test "$withval" = yes; then
2142 ac_cv_use_odbc
='wxUSE_ODBC=yes'
2144 ac_cv_use_odbc
='wxUSE_ODBC=no'
2149 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
2150 if test "x$LINE" != x
; then
2151 eval "DEFAULT_$LINE"
2156 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
2161 eval "$ac_cv_use_odbc"
2162 if test "$no_cache" != 1; then
2163 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
2166 if test "$wxUSE_ODBC" = yes; then
2167 echo "$ac_t""yes" 1>&6
2169 echo "$ac_t""no" 1>&6
2176 echo $ac_n "checking for --enable-shared""... $ac_c" 1>&6
2177 echo "configure:2178: checking for --enable-shared" >&5
2179 # Check whether --enable-shared or --disable-shared was given.
2180 if test "${enable_shared+set}" = set; then
2181 enableval
="$enable_shared"
2183 if test "$enableval" = yes; then
2184 ac_cv_use_shared
='wxUSE_SHARED=yes'
2186 ac_cv_use_shared
='wxUSE_SHARED=no'
2191 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
2192 if test "x$LINE" != x
; then
2193 eval "DEFAULT_$LINE"
2198 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
2203 eval "$ac_cv_use_shared"
2204 if test "$no_cache" != 1; then
2205 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
2208 if test "$wxUSE_SHARED" = yes; then
2209 echo "$ac_t""yes" 1>&6
2211 echo "$ac_t""no" 1>&6
2215 echo $ac_n "checking for --enable-burnt_name""... $ac_c" 1>&6
2216 echo "configure:2217: checking for --enable-burnt_name" >&5
2218 # Check whether --enable-burnt_name or --disable-burnt_name was given.
2219 if test "${enable_burnt_name+set}" = set; then
2220 enableval
="$enable_burnt_name"
2222 if test "$enableval" = yes; then
2223 ac_cv_use_burnt_name
='wxUSE_BURNT_NAME=yes'
2225 ac_cv_use_burnt_name
='wxUSE_BURNT_NAME=no'
2230 LINE
=`grep "wxUSE_BURNT_NAME" ${wx_arg_cache_file}`
2231 if test "x$LINE" != x
; then
2232 eval "DEFAULT_$LINE"
2237 ac_cv_use_burnt_name
='wxUSE_BURNT_NAME='$DEFAULT_wxUSE_BURNT_NAME
2242 eval "$ac_cv_use_burnt_name"
2243 if test "$no_cache" != 1; then
2244 echo $ac_cv_use_burnt_name >> ${wx_arg_cache_file}.tmp
2247 if test "$wxUSE_BURNT_NAME" = yes; then
2248 echo "$ac_t""yes" 1>&6
2250 echo "$ac_t""no" 1>&6
2254 echo $ac_n "checking for --enable-optimise""... $ac_c" 1>&6
2255 echo "configure:2256: checking for --enable-optimise" >&5
2257 # Check whether --enable-optimise or --disable-optimise was given.
2258 if test "${enable_optimise+set}" = set; then
2259 enableval
="$enable_optimise"
2261 if test "$enableval" = yes; then
2262 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
2264 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
2269 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
2270 if test "x$LINE" != x
; then
2271 eval "DEFAULT_$LINE"
2276 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
2281 eval "$ac_cv_use_optimise"
2282 if test "$no_cache" != 1; then
2283 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
2286 if test "$wxUSE_OPTIMISE" = yes; then
2287 echo "$ac_t""yes" 1>&6
2289 echo "$ac_t""no" 1>&6
2293 echo $ac_n "checking for --enable-debug""... $ac_c" 1>&6
2294 echo "configure:2295: checking for --enable-debug" >&5
2296 # Check whether --enable-debug or --disable-debug was given.
2297 if test "${enable_debug+set}" = set; then
2298 enableval
="$enable_debug"
2300 if test "$enableval" = yes; then
2301 ac_cv_use_debug
='wxUSE_DEBUG=yes'
2303 ac_cv_use_debug
='wxUSE_DEBUG=no'
2308 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
2309 if test "x$LINE" != x
; then
2310 eval "DEFAULT_$LINE"
2315 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
2320 eval "$ac_cv_use_debug"
2321 if test "$no_cache" != 1; then
2322 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
2325 if test "$wxUSE_DEBUG" = yes; then
2326 echo "$ac_t""yes" 1>&6
2328 echo "$ac_t""no" 1>&6
2332 if test "$wxUSE_DEBUG" = "yes"; then
2333 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2334 DEFAULT_wxUSE_DEBUG_INFO
=yes
2335 elif test "$wxUSE_DEBUG" = "no"; then
2336 DEFAULT_wxUSE_DEBUG_FLAG
=no
2337 DEFAULT_wxUSE_DEBUG_INFO
=no
2341 echo $ac_n "checking for --enable-debug_flag""... $ac_c" 1>&6
2342 echo "configure:2343: checking for --enable-debug_flag" >&5
2344 # Check whether --enable-debug_flag or --disable-debug_flag was given.
2345 if test "${enable_debug_flag+set}" = set; then
2346 enableval
="$enable_debug_flag"
2348 if test "$enableval" = yes; then
2349 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
2351 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
2356 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
2357 if test "x$LINE" != x
; then
2358 eval "DEFAULT_$LINE"
2363 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
2368 eval "$ac_cv_use_debug_flag"
2369 if test "$no_cache" != 1; then
2370 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
2373 if test "$wxUSE_DEBUG_FLAG" = yes; then
2374 echo "$ac_t""yes" 1>&6
2376 echo "$ac_t""no" 1>&6
2380 echo $ac_n "checking for --enable-debug_info""... $ac_c" 1>&6
2381 echo "configure:2382: checking for --enable-debug_info" >&5
2383 # Check whether --enable-debug_info or --disable-debug_info was given.
2384 if test "${enable_debug_info+set}" = set; then
2385 enableval
="$enable_debug_info"
2387 if test "$enableval" = yes; then
2388 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
2390 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
2395 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
2396 if test "x$LINE" != x
; then
2397 eval "DEFAULT_$LINE"
2402 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
2407 eval "$ac_cv_use_debug_info"
2408 if test "$no_cache" != 1; then
2409 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
2412 if test "$wxUSE_DEBUG_INFO" = yes; then
2413 echo "$ac_t""yes" 1>&6
2415 echo "$ac_t""no" 1>&6
2419 echo $ac_n "checking for --enable-debug_gdb""... $ac_c" 1>&6
2420 echo "configure:2421: checking for --enable-debug_gdb" >&5
2422 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
2423 if test "${enable_debug_gdb+set}" = set; then
2424 enableval
="$enable_debug_gdb"
2426 if test "$enableval" = yes; then
2427 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
2429 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
2434 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
2435 if test "x$LINE" != x
; then
2436 eval "DEFAULT_$LINE"
2441 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
2446 eval "$ac_cv_use_debug_gdb"
2447 if test "$no_cache" != 1; then
2448 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
2451 if test "$wxUSE_DEBUG_GDB" = yes; then
2452 echo "$ac_t""yes" 1>&6
2454 echo "$ac_t""no" 1>&6
2458 echo $ac_n "checking for --enable-debug_cntxt""... $ac_c" 1>&6
2459 echo "configure:2460: checking for --enable-debug_cntxt" >&5
2461 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
2462 if test "${enable_debug_cntxt+set}" = set; then
2463 enableval
="$enable_debug_cntxt"
2465 if test "$enableval" = yes; then
2466 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
2468 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
2473 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2474 if test "x$LINE" != x
; then
2475 eval "DEFAULT_$LINE"
2480 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2485 eval "$ac_cv_use_debug_cntxt"
2486 if test "$no_cache" != 1; then
2487 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2490 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2491 echo "$ac_t""yes" 1>&6
2493 echo "$ac_t""no" 1>&6
2497 echo $ac_n "checking for --enable-mem_tracing""... $ac_c" 1>&6
2498 echo "configure:2499: checking for --enable-mem_tracing" >&5
2500 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2501 if test "${enable_mem_tracing+set}" = set; then
2502 enableval
="$enable_mem_tracing"
2504 if test "$enableval" = yes; then
2505 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
2507 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
2512 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2513 if test "x$LINE" != x
; then
2514 eval "DEFAULT_$LINE"
2519 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2524 eval "$ac_cv_use_mem_tracing"
2525 if test "$no_cache" != 1; then
2526 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2529 if test "$wxUSE_MEM_TRACING" = yes; then
2530 echo "$ac_t""yes" 1>&6
2532 echo "$ac_t""no" 1>&6
2536 echo $ac_n "checking for --enable-profile""... $ac_c" 1>&6
2537 echo "configure:2538: checking for --enable-profile" >&5
2539 # Check whether --enable-profile or --disable-profile was given.
2540 if test "${enable_profile+set}" = set; then
2541 enableval
="$enable_profile"
2543 if test "$enableval" = yes; then
2544 ac_cv_use_profile
='wxUSE_PROFILE=yes'
2546 ac_cv_use_profile
='wxUSE_PROFILE=no'
2551 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2552 if test "x$LINE" != x
; then
2553 eval "DEFAULT_$LINE"
2558 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2563 eval "$ac_cv_use_profile"
2564 if test "$no_cache" != 1; then
2565 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2568 if test "$wxUSE_PROFILE" = yes; then
2569 echo "$ac_t""yes" 1>&6
2571 echo "$ac_t""no" 1>&6
2575 echo $ac_n "checking for --enable-no_rtti""... $ac_c" 1>&6
2576 echo "configure:2577: checking for --enable-no_rtti" >&5
2578 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2579 if test "${enable_no_rtti+set}" = set; then
2580 enableval
="$enable_no_rtti"
2582 if test "$enableval" = yes; then
2583 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
2585 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
2590 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2591 if test "x$LINE" != x
; then
2592 eval "DEFAULT_$LINE"
2597 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2602 eval "$ac_cv_use_no_rtti"
2603 if test "$no_cache" != 1; then
2604 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2607 if test "$wxUSE_NO_RTTI" = yes; then
2608 echo "$ac_t""yes" 1>&6
2610 echo "$ac_t""no" 1>&6
2614 echo $ac_n "checking for --enable-no_exceptions""... $ac_c" 1>&6
2615 echo "configure:2616: checking for --enable-no_exceptions" >&5
2617 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2618 if test "${enable_no_exceptions+set}" = set; then
2619 enableval
="$enable_no_exceptions"
2621 if test "$enableval" = yes; then
2622 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
2624 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
2629 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2630 if test "x$LINE" != x
; then
2631 eval "DEFAULT_$LINE"
2636 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2641 eval "$ac_cv_use_no_exceptions"
2642 if test "$no_cache" != 1; then
2643 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2646 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2647 echo "$ac_t""yes" 1>&6
2649 echo "$ac_t""no" 1>&6
2653 echo $ac_n "checking for --enable-permissive""... $ac_c" 1>&6
2654 echo "configure:2655: checking for --enable-permissive" >&5
2656 # Check whether --enable-permissive or --disable-permissive was given.
2657 if test "${enable_permissive+set}" = set; then
2658 enableval
="$enable_permissive"
2660 if test "$enableval" = yes; then
2661 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
2663 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
2668 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2669 if test "x$LINE" != x
; then
2670 eval "DEFAULT_$LINE"
2675 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
2680 eval "$ac_cv_use_permissive"
2681 if test "$no_cache" != 1; then
2682 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
2685 if test "$wxUSE_PERMISSIVE" = yes; then
2686 echo "$ac_t""yes" 1>&6
2688 echo "$ac_t""no" 1>&6
2692 echo $ac_n "checking for --enable-no_deps""... $ac_c" 1>&6
2693 echo "configure:2694: checking for --enable-no_deps" >&5
2695 # Check whether --enable-no_deps or --disable-no_deps was given.
2696 if test "${enable_no_deps+set}" = set; then
2697 enableval
="$enable_no_deps"
2699 if test "$enableval" = yes; then
2700 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
2702 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
2707 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
2708 if test "x$LINE" != x
; then
2709 eval "DEFAULT_$LINE"
2714 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
2719 eval "$ac_cv_use_no_deps"
2720 if test "$no_cache" != 1; then
2721 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
2724 if test "$wxUSE_NO_DEPS" = yes; then
2725 echo "$ac_t""yes" 1>&6
2727 echo "$ac_t""no" 1>&6
2732 echo $ac_n "checking for --enable-compat20""... $ac_c" 1>&6
2733 echo "configure:2734: checking for --enable-compat20" >&5
2735 # Check whether --enable-compat20 or --disable-compat20 was given.
2736 if test "${enable_compat20+set}" = set; then
2737 enableval
="$enable_compat20"
2739 if test "$enableval" = yes; then
2740 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=yes'
2742 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=no'
2747 LINE
=`grep "WXWIN_COMPATIBILITY_2" ${wx_arg_cache_file}`
2748 if test "x$LINE" != x
; then
2749 eval "DEFAULT_$LINE"
2754 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2='$DEFAULT_WXWIN_COMPATIBILITY_2
2759 eval "$ac_cv_use_compat20"
2760 if test "$no_cache" != 1; then
2761 echo $ac_cv_use_compat20 >> ${wx_arg_cache_file}.tmp
2764 if test "$WXWIN_COMPATIBILITY_2" = yes; then
2765 echo "$ac_t""yes" 1>&6
2767 echo "$ac_t""no" 1>&6
2771 echo $ac_n "checking for --enable-compat22""... $ac_c" 1>&6
2772 echo "configure:2773: checking for --enable-compat22" >&5
2774 # Check whether --enable-compat22 or --disable-compat22 was given.
2775 if test "${enable_compat22+set}" = set; then
2776 enableval
="$enable_compat22"
2778 if test "$enableval" = yes; then
2779 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
2781 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
2786 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
2787 if test "x$LINE" != x
; then
2788 eval "DEFAULT_$LINE"
2793 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
2798 eval "$ac_cv_use_compat22"
2799 if test "$no_cache" != 1; then
2800 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
2803 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
2804 echo "$ac_t""yes" 1>&6
2806 echo "$ac_t""no" 1>&6
2812 echo $ac_n "checking for --enable-intl""... $ac_c" 1>&6
2813 echo "configure:2814: checking for --enable-intl" >&5
2815 # Check whether --enable-intl or --disable-intl was given.
2816 if test "${enable_intl+set}" = set; then
2817 enableval
="$enable_intl"
2819 if test "$enableval" = yes; then
2820 ac_cv_use_intl
='wxUSE_INTL=yes'
2822 ac_cv_use_intl
='wxUSE_INTL=no'
2827 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
2828 if test "x$LINE" != x
; then
2829 eval "DEFAULT_$LINE"
2834 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
2839 eval "$ac_cv_use_intl"
2840 if test "$no_cache" != 1; then
2841 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
2844 if test "$wxUSE_INTL" = yes; then
2845 echo "$ac_t""yes" 1>&6
2847 echo "$ac_t""no" 1>&6
2851 echo $ac_n "checking for --enable-config""... $ac_c" 1>&6
2852 echo "configure:2853: checking for --enable-config" >&5
2854 # Check whether --enable-config or --disable-config was given.
2855 if test "${enable_config+set}" = set; then
2856 enableval
="$enable_config"
2858 if test "$enableval" = yes; then
2859 ac_cv_use_config
='wxUSE_CONFIG=yes'
2861 ac_cv_use_config
='wxUSE_CONFIG=no'
2866 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
2867 if test "x$LINE" != x
; then
2868 eval "DEFAULT_$LINE"
2873 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
2878 eval "$ac_cv_use_config"
2879 if test "$no_cache" != 1; then
2880 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
2883 if test "$wxUSE_CONFIG" = yes; then
2884 echo "$ac_t""yes" 1>&6
2886 echo "$ac_t""no" 1>&6
2891 echo $ac_n "checking for --enable-sockets""... $ac_c" 1>&6
2892 echo "configure:2893: checking for --enable-sockets" >&5
2894 # Check whether --enable-sockets or --disable-sockets was given.
2895 if test "${enable_sockets+set}" = set; then
2896 enableval
="$enable_sockets"
2898 if test "$enableval" = yes; then
2899 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
2901 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
2906 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
2907 if test "x$LINE" != x
; then
2908 eval "DEFAULT_$LINE"
2913 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
2918 eval "$ac_cv_use_sockets"
2919 if test "$no_cache" != 1; then
2920 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
2923 if test "$wxUSE_SOCKETS" = yes; then
2924 echo "$ac_t""yes" 1>&6
2926 echo "$ac_t""no" 1>&6
2931 echo $ac_n "checking for --enable-ipc""... $ac_c" 1>&6
2932 echo "configure:2933: checking for --enable-ipc" >&5
2934 # Check whether --enable-ipc or --disable-ipc was given.
2935 if test "${enable_ipc+set}" = set; then
2936 enableval
="$enable_ipc"
2938 if test "$enableval" = yes; then
2939 ac_cv_use_ipc
='wxUSE_IPC=yes'
2941 ac_cv_use_ipc
='wxUSE_IPC=no'
2946 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
2947 if test "x$LINE" != x
; then
2948 eval "DEFAULT_$LINE"
2953 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
2958 eval "$ac_cv_use_ipc"
2959 if test "$no_cache" != 1; then
2960 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
2963 if test "$wxUSE_IPC" = yes; then
2964 echo "$ac_t""yes" 1>&6
2966 echo "$ac_t""no" 1>&6
2971 echo $ac_n "checking for --enable-cmdline""... $ac_c" 1>&6
2972 echo "configure:2973: checking for --enable-cmdline" >&5
2974 # Check whether --enable-cmdline or --disable-cmdline was given.
2975 if test "${enable_cmdline+set}" = set; then
2976 enableval
="$enable_cmdline"
2978 if test "$enableval" = yes; then
2979 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
2981 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
2986 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
2987 if test "x$LINE" != x
; then
2988 eval "DEFAULT_$LINE"
2993 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
2998 eval "$ac_cv_use_cmdline"
2999 if test "$no_cache" != 1; then
3000 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
3003 if test "$wxUSE_CMDLINE_PARSER" = yes; then
3004 echo "$ac_t""yes" 1>&6
3006 echo "$ac_t""no" 1>&6
3010 echo $ac_n "checking for --enable-datetime""... $ac_c" 1>&6
3011 echo "configure:3012: checking for --enable-datetime" >&5
3013 # Check whether --enable-datetime or --disable-datetime was given.
3014 if test "${enable_datetime+set}" = set; then
3015 enableval
="$enable_datetime"
3017 if test "$enableval" = yes; then
3018 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
3020 ac_cv_use_datetime
='wxUSE_DATETIME=no'
3025 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
3026 if test "x$LINE" != x
; then
3027 eval "DEFAULT_$LINE"
3032 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
3037 eval "$ac_cv_use_datetime"
3038 if test "$no_cache" != 1; then
3039 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
3042 if test "$wxUSE_DATETIME" = yes; then
3043 echo "$ac_t""yes" 1>&6
3045 echo "$ac_t""no" 1>&6
3049 echo $ac_n "checking for --enable-timedate""... $ac_c" 1>&6
3050 echo "configure:3051: checking for --enable-timedate" >&5
3052 # Check whether --enable-timedate or --disable-timedate was given.
3053 if test "${enable_timedate+set}" = set; then
3054 enableval
="$enable_timedate"
3056 if test "$enableval" = yes; then
3057 ac_cv_use_timedate
='wxUSE_TIMEDATE=yes'
3059 ac_cv_use_timedate
='wxUSE_TIMEDATE=no'
3064 LINE
=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}`
3065 if test "x$LINE" != x
; then
3066 eval "DEFAULT_$LINE"
3071 ac_cv_use_timedate
='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
3076 eval "$ac_cv_use_timedate"
3077 if test "$no_cache" != 1; then
3078 echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp
3081 if test "$wxUSE_TIMEDATE" = yes; then
3082 echo "$ac_t""yes" 1>&6
3084 echo "$ac_t""no" 1>&6
3088 echo $ac_n "checking for --enable-stopwatch""... $ac_c" 1>&6
3089 echo "configure:3090: checking for --enable-stopwatch" >&5
3091 # Check whether --enable-stopwatch or --disable-stopwatch was given.
3092 if test "${enable_stopwatch+set}" = set; then
3093 enableval
="$enable_stopwatch"
3095 if test "$enableval" = yes; then
3096 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
3098 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
3103 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
3104 if test "x$LINE" != x
; then
3105 eval "DEFAULT_$LINE"
3110 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
3115 eval "$ac_cv_use_stopwatch"
3116 if test "$no_cache" != 1; then
3117 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
3120 if test "$wxUSE_STOPWATCH" = yes; then
3121 echo "$ac_t""yes" 1>&6
3123 echo "$ac_t""no" 1>&6
3127 echo $ac_n "checking for --enable-dialupman""... $ac_c" 1>&6
3128 echo "configure:3129: checking for --enable-dialupman" >&5
3130 # Check whether --enable-dialupman or --disable-dialupman was given.
3131 if test "${enable_dialupman+set}" = set; then
3132 enableval
="$enable_dialupman"
3134 if test "$enableval" = yes; then
3135 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
3137 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
3142 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
3143 if test "x$LINE" != x
; then
3144 eval "DEFAULT_$LINE"
3149 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
3154 eval "$ac_cv_use_dialupman"
3155 if test "$no_cache" != 1; then
3156 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
3159 if test "$wxUSE_DIALUP_MANAGER" = yes; then
3160 echo "$ac_t""yes" 1>&6
3162 echo "$ac_t""no" 1>&6
3166 echo $ac_n "checking for --enable-apple_ieee""... $ac_c" 1>&6
3167 echo "configure:3168: checking for --enable-apple_ieee" >&5
3169 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
3170 if test "${enable_apple_ieee+set}" = set; then
3171 enableval
="$enable_apple_ieee"
3173 if test "$enableval" = yes; then
3174 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
3176 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
3181 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
3182 if test "x$LINE" != x
; then
3183 eval "DEFAULT_$LINE"
3188 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
3193 eval "$ac_cv_use_apple_ieee"
3194 if test "$no_cache" != 1; then
3195 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
3198 if test "$wxUSE_APPLE_IEEE" = yes; then
3199 echo "$ac_t""yes" 1>&6
3201 echo "$ac_t""no" 1>&6
3205 echo $ac_n "checking for --enable-timer""... $ac_c" 1>&6
3206 echo "configure:3207: checking for --enable-timer" >&5
3208 # Check whether --enable-timer or --disable-timer was given.
3209 if test "${enable_timer+set}" = set; then
3210 enableval
="$enable_timer"
3212 if test "$enableval" = yes; then
3213 ac_cv_use_timer
='wxUSE_TIMER=yes'
3215 ac_cv_use_timer
='wxUSE_TIMER=no'
3220 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
3221 if test "x$LINE" != x
; then
3222 eval "DEFAULT_$LINE"
3227 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
3232 eval "$ac_cv_use_timer"
3233 if test "$no_cache" != 1; then
3234 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
3237 if test "$wxUSE_TIMER" = yes; then
3238 echo "$ac_t""yes" 1>&6
3240 echo "$ac_t""no" 1>&6
3244 echo $ac_n "checking for --enable-wave""... $ac_c" 1>&6
3245 echo "configure:3246: checking for --enable-wave" >&5
3247 # Check whether --enable-wave or --disable-wave was given.
3248 if test "${enable_wave+set}" = set; then
3249 enableval
="$enable_wave"
3251 if test "$enableval" = yes; then
3252 ac_cv_use_wave
='wxUSE_WAVE=yes'
3254 ac_cv_use_wave
='wxUSE_WAVE=no'
3259 LINE
=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
3260 if test "x$LINE" != x
; then
3261 eval "DEFAULT_$LINE"
3266 ac_cv_use_wave
='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
3271 eval "$ac_cv_use_wave"
3272 if test "$no_cache" != 1; then
3273 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
3276 if test "$wxUSE_WAVE" = yes; then
3277 echo "$ac_t""yes" 1>&6
3279 echo "$ac_t""no" 1>&6
3283 echo $ac_n "checking for --enable-fraction""... $ac_c" 1>&6
3284 echo "configure:3285: checking for --enable-fraction" >&5
3286 # Check whether --enable-fraction or --disable-fraction was given.
3287 if test "${enable_fraction+set}" = set; then
3288 enableval
="$enable_fraction"
3290 if test "$enableval" = yes; then
3291 ac_cv_use_fraction
='wxUSE_FRACTION=yes'
3293 ac_cv_use_fraction
='wxUSE_FRACTION=no'
3298 LINE
=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
3299 if test "x$LINE" != x
; then
3300 eval "DEFAULT_$LINE"
3305 ac_cv_use_fraction
='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
3310 eval "$ac_cv_use_fraction"
3311 if test "$no_cache" != 1; then
3312 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
3315 if test "$wxUSE_FRACTION" = yes; then
3316 echo "$ac_t""yes" 1>&6
3318 echo "$ac_t""no" 1>&6
3322 echo $ac_n "checking for --enable-dynlib""... $ac_c" 1>&6
3323 echo "configure:3324: checking for --enable-dynlib" >&5
3325 # Check whether --enable-dynlib or --disable-dynlib was given.
3326 if test "${enable_dynlib+set}" = set; then
3327 enableval
="$enable_dynlib"
3329 if test "$enableval" = yes; then
3330 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
3332 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
3337 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
3338 if test "x$LINE" != x
; then
3339 eval "DEFAULT_$LINE"
3344 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
3349 eval "$ac_cv_use_dynlib"
3350 if test "$no_cache" != 1; then
3351 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
3354 if test "$wxUSE_DYNLIB_CLASS" = yes; then
3355 echo "$ac_t""yes" 1>&6
3357 echo "$ac_t""no" 1>&6
3361 echo $ac_n "checking for --enable-longlong""... $ac_c" 1>&6
3362 echo "configure:3363: checking for --enable-longlong" >&5
3364 # Check whether --enable-longlong or --disable-longlong was given.
3365 if test "${enable_longlong+set}" = set; then
3366 enableval
="$enable_longlong"
3368 if test "$enableval" = yes; then
3369 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
3371 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
3376 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
3377 if test "x$LINE" != x
; then
3378 eval "DEFAULT_$LINE"
3383 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
3388 eval "$ac_cv_use_longlong"
3389 if test "$no_cache" != 1; then
3390 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
3393 if test "$wxUSE_LONGLONG" = yes; then
3394 echo "$ac_t""yes" 1>&6
3396 echo "$ac_t""no" 1>&6
3400 echo $ac_n "checking for --enable-geometry""... $ac_c" 1>&6
3401 echo "configure:3402: checking for --enable-geometry" >&5
3403 # Check whether --enable-geometry or --disable-geometry was given.
3404 if test "${enable_geometry+set}" = set; then
3405 enableval
="$enable_geometry"
3407 if test "$enableval" = yes; then
3408 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
3410 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
3415 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
3416 if test "x$LINE" != x
; then
3417 eval "DEFAULT_$LINE"
3422 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
3427 eval "$ac_cv_use_geometry"
3428 if test "$no_cache" != 1; then
3429 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
3432 if test "$wxUSE_GEOMETRY" = yes; then
3433 echo "$ac_t""yes" 1>&6
3435 echo "$ac_t""no" 1>&6
3439 echo $ac_n "checking for --enable-log""... $ac_c" 1>&6
3440 echo "configure:3441: checking for --enable-log" >&5
3442 # Check whether --enable-log or --disable-log was given.
3443 if test "${enable_log+set}" = set; then
3444 enableval
="$enable_log"
3446 if test "$enableval" = yes; then
3447 ac_cv_use_log
='wxUSE_LOG=yes'
3449 ac_cv_use_log
='wxUSE_LOG=no'
3454 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
3455 if test "x$LINE" != x
; then
3456 eval "DEFAULT_$LINE"
3461 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
3466 eval "$ac_cv_use_log"
3467 if test "$no_cache" != 1; then
3468 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
3471 if test "$wxUSE_LOG" = yes; then
3472 echo "$ac_t""yes" 1>&6
3474 echo "$ac_t""no" 1>&6
3478 echo $ac_n "checking for --enable-streams""... $ac_c" 1>&6
3479 echo "configure:3480: checking for --enable-streams" >&5
3481 # Check whether --enable-streams or --disable-streams was given.
3482 if test "${enable_streams+set}" = set; then
3483 enableval
="$enable_streams"
3485 if test "$enableval" = yes; then
3486 ac_cv_use_streams
='wxUSE_STREAMS=yes'
3488 ac_cv_use_streams
='wxUSE_STREAMS=no'
3493 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
3494 if test "x$LINE" != x
; then
3495 eval "DEFAULT_$LINE"
3500 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
3505 eval "$ac_cv_use_streams"
3506 if test "$no_cache" != 1; then
3507 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
3510 if test "$wxUSE_STREAMS" = yes; then
3511 echo "$ac_t""yes" 1>&6
3513 echo "$ac_t""no" 1>&6
3517 echo $ac_n "checking for --enable-file""... $ac_c" 1>&6
3518 echo "configure:3519: checking for --enable-file" >&5
3520 # Check whether --enable-file or --disable-file was given.
3521 if test "${enable_file+set}" = set; then
3522 enableval
="$enable_file"
3524 if test "$enableval" = yes; then
3525 ac_cv_use_file
='wxUSE_FILE=yes'
3527 ac_cv_use_file
='wxUSE_FILE=no'
3532 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
3533 if test "x$LINE" != x
; then
3534 eval "DEFAULT_$LINE"
3539 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
3544 eval "$ac_cv_use_file"
3545 if test "$no_cache" != 1; then
3546 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
3549 if test "$wxUSE_FILE" = yes; then
3550 echo "$ac_t""yes" 1>&6
3552 echo "$ac_t""no" 1>&6
3556 echo $ac_n "checking for --enable-ffile""... $ac_c" 1>&6
3557 echo "configure:3558: checking for --enable-ffile" >&5
3559 # Check whether --enable-ffile or --disable-ffile was given.
3560 if test "${enable_ffile+set}" = set; then
3561 enableval
="$enable_ffile"
3563 if test "$enableval" = yes; then
3564 ac_cv_use_ffile
='wxUSE_FFILE=yes'
3566 ac_cv_use_ffile
='wxUSE_FFILE=no'
3571 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
3572 if test "x$LINE" != x
; then
3573 eval "DEFAULT_$LINE"
3578 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
3583 eval "$ac_cv_use_ffile"
3584 if test "$no_cache" != 1; then
3585 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
3588 if test "$wxUSE_FFILE" = yes; then
3589 echo "$ac_t""yes" 1>&6
3591 echo "$ac_t""no" 1>&6
3595 echo $ac_n "checking for --enable-textfile""... $ac_c" 1>&6
3596 echo "configure:3597: checking for --enable-textfile" >&5
3598 # Check whether --enable-textfile or --disable-textfile was given.
3599 if test "${enable_textfile+set}" = set; then
3600 enableval
="$enable_textfile"
3602 if test "$enableval" = yes; then
3603 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
3605 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
3610 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
3611 if test "x$LINE" != x
; then
3612 eval "DEFAULT_$LINE"
3617 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
3622 eval "$ac_cv_use_textfile"
3623 if test "$no_cache" != 1; then
3624 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
3627 if test "$wxUSE_TEXTFILE" = yes; then
3628 echo "$ac_t""yes" 1>&6
3630 echo "$ac_t""no" 1>&6
3634 echo $ac_n "checking for --enable-fontmap""... $ac_c" 1>&6
3635 echo "configure:3636: checking for --enable-fontmap" >&5
3637 # Check whether --enable-fontmap or --disable-fontmap was given.
3638 if test "${enable_fontmap+set}" = set; then
3639 enableval
="$enable_fontmap"
3641 if test "$enableval" = yes; then
3642 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
3644 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
3649 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
3650 if test "x$LINE" != x
; then
3651 eval "DEFAULT_$LINE"
3656 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
3661 eval "$ac_cv_use_fontmap"
3662 if test "$no_cache" != 1; then
3663 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
3666 if test "$wxUSE_FONTMAP" = yes; then
3667 echo "$ac_t""yes" 1>&6
3669 echo "$ac_t""no" 1>&6
3673 echo $ac_n "checking for --enable-unicode""... $ac_c" 1>&6
3674 echo "configure:3675: checking for --enable-unicode" >&5
3676 # Check whether --enable-unicode or --disable-unicode was given.
3677 if test "${enable_unicode+set}" = set; then
3678 enableval
="$enable_unicode"
3680 if test "$enableval" = yes; then
3681 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
3683 ac_cv_use_unicode
='wxUSE_UNICODE=no'
3688 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
3689 if test "x$LINE" != x
; then
3690 eval "DEFAULT_$LINE"
3695 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
3700 eval "$ac_cv_use_unicode"
3701 if test "$no_cache" != 1; then
3702 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
3705 if test "$wxUSE_UNICODE" = yes; then
3706 echo "$ac_t""yes" 1>&6
3708 echo "$ac_t""no" 1>&6
3712 echo $ac_n "checking for --enable-wcsrtombs""... $ac_c" 1>&6
3713 echo "configure:3714: checking for --enable-wcsrtombs" >&5
3715 # Check whether --enable-wcsrtombs or --disable-wcsrtombs was given.
3716 if test "${enable_wcsrtombs+set}" = set; then
3717 enableval
="$enable_wcsrtombs"
3719 if test "$enableval" = yes; then
3720 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS=yes'
3722 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS=no'
3727 LINE
=`grep "wxUSE_WCSRTOMBS" ${wx_arg_cache_file}`
3728 if test "x$LINE" != x
; then
3729 eval "DEFAULT_$LINE"
3734 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS='$DEFAULT_wxUSE_WCSRTOMBS
3739 eval "$ac_cv_use_wcsrtombs"
3740 if test "$no_cache" != 1; then
3741 echo $ac_cv_use_wcsrtombs >> ${wx_arg_cache_file}.tmp
3744 if test "$wxUSE_WCSRTOMBS" = yes; then
3745 echo "$ac_t""yes" 1>&6
3747 echo "$ac_t""no" 1>&6
3751 echo $ac_n "checking for --enable-wxprintfv""... $ac_c" 1>&6
3752 echo "configure:3753: checking for --enable-wxprintfv" >&5
3754 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
3755 if test "${enable_wxprintfv+set}" = set; then
3756 enableval
="$enable_wxprintfv"
3758 if test "$enableval" = yes; then
3759 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
3761 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
3766 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
3767 if test "x$LINE" != x
; then
3768 eval "DEFAULT_$LINE"
3773 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
3778 eval "$ac_cv_use_wxprintfv"
3779 if test "$no_cache" != 1; then
3780 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
3783 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
3784 echo "$ac_t""yes" 1>&6
3786 echo "$ac_t""no" 1>&6
3790 echo $ac_n "checking for --enable-std_iostreams""... $ac_c" 1>&6
3791 echo "configure:3792: checking for --enable-std_iostreams" >&5
3793 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
3794 if test "${enable_std_iostreams+set}" = set; then
3795 enableval
="$enable_std_iostreams"
3797 if test "$enableval" = yes; then
3798 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
3800 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
3805 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
3806 if test "x$LINE" != x
; then
3807 eval "DEFAULT_$LINE"
3812 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
3817 eval "$ac_cv_use_std_iostreams"
3818 if test "$no_cache" != 1; then
3819 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
3822 if test "$wxUSE_STD_IOSTREAM" = yes; then
3823 echo "$ac_t""yes" 1>&6
3825 echo "$ac_t""no" 1>&6
3829 echo $ac_n "checking for --enable-filesystem""... $ac_c" 1>&6
3830 echo "configure:3831: checking for --enable-filesystem" >&5
3832 # Check whether --enable-filesystem or --disable-filesystem was given.
3833 if test "${enable_filesystem+set}" = set; then
3834 enableval
="$enable_filesystem"
3836 if test "$enableval" = yes; then
3837 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
3839 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
3844 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
3845 if test "x$LINE" != x
; then
3846 eval "DEFAULT_$LINE"
3851 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
3856 eval "$ac_cv_use_filesystem"
3857 if test "$no_cache" != 1; then
3858 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
3861 if test "$wxUSE_FILESYSTEM" = yes; then
3862 echo "$ac_t""yes" 1>&6
3864 echo "$ac_t""no" 1>&6
3868 echo $ac_n "checking for --enable-fs_inet""... $ac_c" 1>&6
3869 echo "configure:3870: checking for --enable-fs_inet" >&5
3871 # Check whether --enable-fs_inet or --disable-fs_inet was given.
3872 if test "${enable_fs_inet+set}" = set; then
3873 enableval
="$enable_fs_inet"
3875 if test "$enableval" = yes; then
3876 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
3878 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
3883 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
3884 if test "x$LINE" != x
; then
3885 eval "DEFAULT_$LINE"
3890 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
3895 eval "$ac_cv_use_fs_inet"
3896 if test "$no_cache" != 1; then
3897 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
3900 if test "$wxUSE_FS_INET" = yes; then
3901 echo "$ac_t""yes" 1>&6
3903 echo "$ac_t""no" 1>&6
3907 echo $ac_n "checking for --enable-fs_zip""... $ac_c" 1>&6
3908 echo "configure:3909: checking for --enable-fs_zip" >&5
3910 # Check whether --enable-fs_zip or --disable-fs_zip was given.
3911 if test "${enable_fs_zip+set}" = set; then
3912 enableval
="$enable_fs_zip"
3914 if test "$enableval" = yes; then
3915 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
3917 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
3922 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
3923 if test "x$LINE" != x
; then
3924 eval "DEFAULT_$LINE"
3929 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
3934 eval "$ac_cv_use_fs_zip"
3935 if test "$no_cache" != 1; then
3936 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
3939 if test "$wxUSE_FS_ZIP" = yes; then
3940 echo "$ac_t""yes" 1>&6
3942 echo "$ac_t""no" 1>&6
3946 echo $ac_n "checking for --enable-zipstream""... $ac_c" 1>&6
3947 echo "configure:3948: checking for --enable-zipstream" >&5
3949 # Check whether --enable-zipstream or --disable-zipstream was given.
3950 if test "${enable_zipstream+set}" = set; then
3951 enableval
="$enable_zipstream"
3953 if test "$enableval" = yes; then
3954 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
3956 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
3961 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
3962 if test "x$LINE" != x
; then
3963 eval "DEFAULT_$LINE"
3968 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
3973 eval "$ac_cv_use_zipstream"
3974 if test "$no_cache" != 1; then
3975 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
3978 if test "$wxUSE_ZIPSTREAM" = yes; then
3979 echo "$ac_t""yes" 1>&6
3981 echo "$ac_t""no" 1>&6
3986 echo $ac_n "checking for --enable-catch_segvs""... $ac_c" 1>&6
3987 echo "configure:3988: checking for --enable-catch_segvs" >&5
3989 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
3990 if test "${enable_catch_segvs+set}" = set; then
3991 enableval
="$enable_catch_segvs"
3993 if test "$enableval" = yes; then
3994 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
3996 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4001 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4002 if test "x$LINE" != x
; then
4003 eval "DEFAULT_$LINE"
4008 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4013 eval "$ac_cv_use_catch_segvs"
4014 if test "$no_cache" != 1; then
4015 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4018 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4019 echo "$ac_t""yes" 1>&6
4021 echo "$ac_t""no" 1>&6
4025 echo $ac_n "checking for --enable-snglinst""... $ac_c" 1>&6
4026 echo "configure:4027: checking for --enable-snglinst" >&5
4028 # Check whether --enable-snglinst or --disable-snglinst was given.
4029 if test "${enable_snglinst+set}" = set; then
4030 enableval
="$enable_snglinst"
4032 if test "$enableval" = yes; then
4033 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
4035 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
4040 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
4041 if test "x$LINE" != x
; then
4042 eval "DEFAULT_$LINE"
4047 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
4052 eval "$ac_cv_use_snglinst"
4053 if test "$no_cache" != 1; then
4054 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
4057 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
4058 echo "$ac_t""yes" 1>&6
4060 echo "$ac_t""no" 1>&6
4065 echo $ac_n "checking for --enable-mimetype""... $ac_c" 1>&6
4066 echo "configure:4067: checking for --enable-mimetype" >&5
4068 # Check whether --enable-mimetype or --disable-mimetype was given.
4069 if test "${enable_mimetype+set}" = set; then
4070 enableval
="$enable_mimetype"
4072 if test "$enableval" = yes; then
4073 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
4075 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
4080 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
4081 if test "x$LINE" != x
; then
4082 eval "DEFAULT_$LINE"
4087 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
4092 eval "$ac_cv_use_mimetype"
4093 if test "$no_cache" != 1; then
4094 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
4097 if test "$wxUSE_MIMETYPE" = yes; then
4098 echo "$ac_t""yes" 1>&6
4100 echo "$ac_t""no" 1>&6
4106 echo $ac_n "checking for --enable-threads""... $ac_c" 1>&6
4107 echo "configure:4108: checking for --enable-threads" >&5
4109 # Check whether --enable-threads or --disable-threads was given.
4110 if test "${enable_threads+set}" = set; then
4111 enableval
="$enable_threads"
4113 if test "$enableval" = yes; then
4114 ac_cv_use_threads
='wxUSE_THREADS=yes'
4116 ac_cv_use_threads
='wxUSE_THREADS=no'
4121 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
4122 if test "x$LINE" != x
; then
4123 eval "DEFAULT_$LINE"
4128 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
4133 eval "$ac_cv_use_threads"
4134 if test "$no_cache" != 1; then
4135 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
4138 if test "$wxUSE_THREADS" = yes; then
4139 echo "$ac_t""yes" 1>&6
4141 echo "$ac_t""no" 1>&6
4145 echo $ac_n "checking for --enable-serial""... $ac_c" 1>&6
4146 echo "configure:4147: checking for --enable-serial" >&5
4148 # Check whether --enable-serial or --disable-serial was given.
4149 if test "${enable_serial+set}" = set; then
4150 enableval
="$enable_serial"
4152 if test "$enableval" = yes; then
4153 ac_cv_use_serial
='wxUSE_SERIAL=yes'
4155 ac_cv_use_serial
='wxUSE_SERIAL=no'
4160 LINE
=`grep "wxUSE_SERIAL" ${wx_arg_cache_file}`
4161 if test "x$LINE" != x
; then
4162 eval "DEFAULT_$LINE"
4167 ac_cv_use_serial
='wxUSE_SERIAL='$DEFAULT_wxUSE_SERIAL
4172 eval "$ac_cv_use_serial"
4173 if test "$no_cache" != 1; then
4174 echo $ac_cv_use_serial >> ${wx_arg_cache_file}.tmp
4177 if test "$wxUSE_SERIAL" = yes; then
4178 echo "$ac_t""yes" 1>&6
4180 echo "$ac_t""no" 1>&6
4184 if test "$wxUSE_GUI" = "yes"; then
4188 echo $ac_n "checking for --enable-docview""... $ac_c" 1>&6
4189 echo "configure:4190: checking for --enable-docview" >&5
4191 # Check whether --enable-docview or --disable-docview was given.
4192 if test "${enable_docview+set}" = set; then
4193 enableval
="$enable_docview"
4195 if test "$enableval" = yes; then
4196 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
4198 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
4203 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
4204 if test "x$LINE" != x
; then
4205 eval "DEFAULT_$LINE"
4210 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
4215 eval "$ac_cv_use_docview"
4216 if test "$no_cache" != 1; then
4217 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
4220 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
4221 echo "$ac_t""yes" 1>&6
4223 echo "$ac_t""no" 1>&6
4227 echo $ac_n "checking for --enable-help""... $ac_c" 1>&6
4228 echo "configure:4229: checking for --enable-help" >&5
4230 # Check whether --enable-help or --disable-help was given.
4231 if test "${enable_help+set}" = set; then
4232 enableval
="$enable_help"
4234 if test "$enableval" = yes; then
4235 ac_cv_use_help
='wxUSE_HELP=yes'
4237 ac_cv_use_help
='wxUSE_HELP=no'
4242 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
4243 if test "x$LINE" != x
; then
4244 eval "DEFAULT_$LINE"
4249 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
4254 eval "$ac_cv_use_help"
4255 if test "$no_cache" != 1; then
4256 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
4259 if test "$wxUSE_HELP" = yes; then
4260 echo "$ac_t""yes" 1>&6
4262 echo "$ac_t""no" 1>&6
4266 echo $ac_n "checking for --enable-constraints""... $ac_c" 1>&6
4267 echo "configure:4268: checking for --enable-constraints" >&5
4269 # Check whether --enable-constraints or --disable-constraints was given.
4270 if test "${enable_constraints+set}" = set; then
4271 enableval
="$enable_constraints"
4273 if test "$enableval" = yes; then
4274 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
4276 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
4281 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
4282 if test "x$LINE" != x
; then
4283 eval "DEFAULT_$LINE"
4288 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
4293 eval "$ac_cv_use_constraints"
4294 if test "$no_cache" != 1; then
4295 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
4298 if test "$wxUSE_CONSTRAINTS" = yes; then
4299 echo "$ac_t""yes" 1>&6
4301 echo "$ac_t""no" 1>&6
4305 echo $ac_n "checking for --enable-printarch""... $ac_c" 1>&6
4306 echo "configure:4307: checking for --enable-printarch" >&5
4308 # Check whether --enable-printarch or --disable-printarch was given.
4309 if test "${enable_printarch+set}" = set; then
4310 enableval
="$enable_printarch"
4312 if test "$enableval" = yes; then
4313 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
4315 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
4320 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
4321 if test "x$LINE" != x
; then
4322 eval "DEFAULT_$LINE"
4327 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
4332 eval "$ac_cv_use_printarch"
4333 if test "$no_cache" != 1; then
4334 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
4337 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
4338 echo "$ac_t""yes" 1>&6
4340 echo "$ac_t""no" 1>&6
4344 echo $ac_n "checking for --enable-mdi""... $ac_c" 1>&6
4345 echo "configure:4346: checking for --enable-mdi" >&5
4347 # Check whether --enable-mdi or --disable-mdi was given.
4348 if test "${enable_mdi+set}" = set; then
4349 enableval
="$enable_mdi"
4351 if test "$enableval" = yes; then
4352 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=yes'
4354 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=no'
4359 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
4360 if test "x$LINE" != x
; then
4361 eval "DEFAULT_$LINE"
4366 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
4371 eval "$ac_cv_use_mdi"
4372 if test "$no_cache" != 1; then
4373 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
4376 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
4377 echo "$ac_t""yes" 1>&6
4379 echo "$ac_t""no" 1>&6
4383 echo $ac_n "checking for --enable-loggui""... $ac_c" 1>&6
4384 echo "configure:4385: checking for --enable-loggui" >&5
4386 # Check whether --enable-loggui or --disable-loggui was given.
4387 if test "${enable_loggui+set}" = set; then
4388 enableval
="$enable_loggui"
4390 if test "$enableval" = yes; then
4391 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
4393 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
4398 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
4399 if test "x$LINE" != x
; then
4400 eval "DEFAULT_$LINE"
4405 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
4410 eval "$ac_cv_use_loggui"
4411 if test "$no_cache" != 1; then
4412 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
4415 if test "$wxUSE_LOGGUI" = yes; then
4416 echo "$ac_t""yes" 1>&6
4418 echo "$ac_t""no" 1>&6
4422 echo $ac_n "checking for --enable-logwin""... $ac_c" 1>&6
4423 echo "configure:4424: checking for --enable-logwin" >&5
4425 # Check whether --enable-logwin or --disable-logwin was given.
4426 if test "${enable_logwin+set}" = set; then
4427 enableval
="$enable_logwin"
4429 if test "$enableval" = yes; then
4430 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
4432 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
4437 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
4438 if test "x$LINE" != x
; then
4439 eval "DEFAULT_$LINE"
4444 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
4449 eval "$ac_cv_use_logwin"
4450 if test "$no_cache" != 1; then
4451 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
4454 if test "$wxUSE_LOGWINDOW" = yes; then
4455 echo "$ac_t""yes" 1>&6
4457 echo "$ac_t""no" 1>&6
4462 echo $ac_n "checking for --enable-postscript""... $ac_c" 1>&6
4463 echo "configure:4464: checking for --enable-postscript" >&5
4465 # Check whether --enable-postscript or --disable-postscript was given.
4466 if test "${enable_postscript+set}" = set; then
4467 enableval
="$enable_postscript"
4469 if test "$enableval" = yes; then
4470 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
4472 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
4477 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
4478 if test "x$LINE" != x
; then
4479 eval "DEFAULT_$LINE"
4484 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
4489 eval "$ac_cv_use_postscript"
4490 if test "$no_cache" != 1; then
4491 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
4494 if test "$wxUSE_POSTSCRIPT" = yes; then
4495 echo "$ac_t""yes" 1>&6
4497 echo "$ac_t""no" 1>&6
4504 echo $ac_n "checking for --enable-prologio""... $ac_c" 1>&6
4505 echo "configure:4506: checking for --enable-prologio" >&5
4507 # Check whether --enable-prologio or --disable-prologio was given.
4508 if test "${enable_prologio+set}" = set; then
4509 enableval
="$enable_prologio"
4511 if test "$enableval" = yes; then
4512 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
4514 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
4519 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
4520 if test "x$LINE" != x
; then
4521 eval "DEFAULT_$LINE"
4526 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
4531 eval "$ac_cv_use_prologio"
4532 if test "$no_cache" != 1; then
4533 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
4536 if test "$wxUSE_PROLOGIO" = yes; then
4537 echo "$ac_t""yes" 1>&6
4539 echo "$ac_t""no" 1>&6
4543 echo $ac_n "checking for --enable-resources""... $ac_c" 1>&6
4544 echo "configure:4545: checking for --enable-resources" >&5
4546 # Check whether --enable-resources or --disable-resources was given.
4547 if test "${enable_resources+set}" = set; then
4548 enableval
="$enable_resources"
4550 if test "$enableval" = yes; then
4551 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
4553 ac_cv_use_resources
='wxUSE_RESOURCES=no'
4558 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
4559 if test "x$LINE" != x
; then
4560 eval "DEFAULT_$LINE"
4565 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
4570 eval "$ac_cv_use_resources"
4571 if test "$no_cache" != 1; then
4572 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
4575 if test "$wxUSE_RESOURCES" = yes; then
4576 echo "$ac_t""yes" 1>&6
4578 echo "$ac_t""no" 1>&6
4583 echo $ac_n "checking for --enable-xresources""... $ac_c" 1>&6
4584 echo "configure:4585: checking for --enable-xresources" >&5
4586 # Check whether --enable-xresources or --disable-xresources was given.
4587 if test "${enable_xresources+set}" = set; then
4588 enableval
="$enable_xresources"
4590 if test "$enableval" = yes; then
4591 ac_cv_use_xresources
='wxUSE_X_RESOURCES=yes'
4593 ac_cv_use_xresources
='wxUSE_X_RESOURCES=no'
4598 LINE
=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
4599 if test "x$LINE" != x
; then
4600 eval "DEFAULT_$LINE"
4605 ac_cv_use_xresources
='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
4610 eval "$ac_cv_use_xresources"
4611 if test "$no_cache" != 1; then
4612 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
4615 if test "$wxUSE_X_RESOURCES" = yes; then
4616 echo "$ac_t""yes" 1>&6
4618 echo "$ac_t""no" 1>&6
4624 echo $ac_n "checking for --enable-clipboard""... $ac_c" 1>&6
4625 echo "configure:4626: checking for --enable-clipboard" >&5
4627 # Check whether --enable-clipboard or --disable-clipboard was given.
4628 if test "${enable_clipboard+set}" = set; then
4629 enableval
="$enable_clipboard"
4631 if test "$enableval" = yes; then
4632 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
4634 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
4639 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
4640 if test "x$LINE" != x
; then
4641 eval "DEFAULT_$LINE"
4646 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
4651 eval "$ac_cv_use_clipboard"
4652 if test "$no_cache" != 1; then
4653 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
4656 if test "$wxUSE_CLIPBOARD" = yes; then
4657 echo "$ac_t""yes" 1>&6
4659 echo "$ac_t""no" 1>&6
4663 echo $ac_n "checking for --enable-dnd""... $ac_c" 1>&6
4664 echo "configure:4665: checking for --enable-dnd" >&5
4666 # Check whether --enable-dnd or --disable-dnd was given.
4667 if test "${enable_dnd+set}" = set; then
4668 enableval
="$enable_dnd"
4670 if test "$enableval" = yes; then
4671 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
4673 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
4678 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
4679 if test "x$LINE" != x
; then
4680 eval "DEFAULT_$LINE"
4685 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
4690 eval "$ac_cv_use_dnd"
4691 if test "$no_cache" != 1; then
4692 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
4695 if test "$wxUSE_DRAG_AND_DROP" = yes; then
4696 echo "$ac_t""yes" 1>&6
4698 echo "$ac_t""no" 1>&6
4702 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
4703 echo "configure:4704: checking for --enable-metafile" >&5
4705 # Check whether --enable-metafile or --disable-metafile was given.
4706 if test "${enable_metafile+set}" = set; then
4707 enableval
="$enable_metafile"
4709 if test "$enableval" = yes; then
4710 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
4712 ac_cv_use_metafile
='wxUSE_METAFILE=no'
4717 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
4718 if test "x$LINE" != x
; then
4719 eval "DEFAULT_$LINE"
4724 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
4729 eval "$ac_cv_use_metafile"
4730 if test "$no_cache" != 1; then
4731 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
4734 if test "$wxUSE_METAFILE" = yes; then
4735 echo "$ac_t""yes" 1>&6
4737 echo "$ac_t""no" 1>&6
4742 echo $ac_n "checking for --enable-wxtree""... $ac_c" 1>&6
4743 echo "configure:4744: checking for --enable-wxtree" >&5
4745 # Check whether --enable-wxtree or --disable-wxtree was given.
4746 if test "${enable_wxtree+set}" = set; then
4747 enableval
="$enable_wxtree"
4749 if test "$enableval" = yes; then
4750 ac_cv_use_wxtree
='wxUSE_WXTREE=yes'
4752 ac_cv_use_wxtree
='wxUSE_WXTREE=no'
4757 LINE
=`grep "wxUSE_WXTREE" ${wx_arg_cache_file}`
4758 if test "x$LINE" != x
; then
4759 eval "DEFAULT_$LINE"
4764 ac_cv_use_wxtree
='wxUSE_WXTREE='$DEFAULT_wxUSE_WXTREE
4769 eval "$ac_cv_use_wxtree"
4770 if test "$no_cache" != 1; then
4771 echo $ac_cv_use_wxtree >> ${wx_arg_cache_file}.tmp
4774 if test "$wxUSE_WXTREE" = yes; then
4775 echo "$ac_t""yes" 1>&6
4777 echo "$ac_t""no" 1>&6
4783 echo $ac_n "checking for --enable-controls""... $ac_c" 1>&6
4784 echo "configure:4785: checking for --enable-controls" >&5
4786 # Check whether --enable-controls or --disable-controls was given.
4787 if test "${enable_controls+set}" = set; then
4788 enableval
="$enable_controls"
4790 if test "$enableval" = yes; then
4791 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
4793 ac_cv_use_controls
='wxUSE_CONTROLS=no'
4798 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
4799 if test "x$LINE" != x
; then
4800 eval "DEFAULT_$LINE"
4805 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
4810 eval "$ac_cv_use_controls"
4811 if test "$no_cache" != 1; then
4812 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
4815 if test "$wxUSE_CONTROLS" = yes; then
4816 echo "$ac_t""yes" 1>&6
4818 echo "$ac_t""no" 1>&6
4822 if test "$wxUSE_CONTROLS" = "yes"; then
4823 DEFAULT_wxUSE_ACCEL
=yes
4824 DEFAULT_wxUSE_BMPBUTTON
=yes
4825 DEFAULT_wxUSE_BUTTON
=yes
4826 DEFAULT_wxUSE_CALCTRL
=no
4827 DEFAULT_wxUSE_CARET
=yes
4828 DEFAULT_wxUSE_COMBOBOX
=yes
4829 DEFAULT_wxUSE_CHECKBOX
=yes
4830 DEFAULT_wxUSE_CHECKLISTBOX
=yes
4831 DEFAULT_wxUSE_CHOICE
=yes
4832 DEFAULT_wxUSE_GAUGE
=yes
4833 DEFAULT_wxUSE_GRID
=yes
4834 DEFAULT_wxUSE_NEW_GRID
=yes
4835 DEFAULT_wxUSE_IMAGLIST
=yes
4836 DEFAULT_wxUSE_LISTBOX
=yes
4837 DEFAULT_wxUSE_LISTCTRL
=yes
4838 DEFAULT_wxUSE_NOTEBOOK
=yes
4839 DEFAULT_wxUSE_RADIOBOX
=yes
4840 DEFAULT_wxUSE_RADIOBTN
=yes
4841 DEFAULT_wxUSE_SASH
=yes
4842 DEFAULT_wxUSE_SCROLLBAR
=yes
4843 DEFAULT_wxUSE_SLIDER
=yes
4844 DEFAULT_wxUSE_SPINBTN
=yes
4845 DEFAULT_wxUSE_SPINCTRL
=yes
4846 DEFAULT_wxUSE_SPLITTER
=yes
4847 DEFAULT_wxUSE_STATBMP
=yes
4848 DEFAULT_wxUSE_STATBOX
=yes
4849 DEFAULT_wxUSE_STATLINE
=yes
4850 DEFAULT_wxUSE_STATUSBAR
=yes
4851 DEFAULT_wxUSE_TAB_DIALOG
=yes
4852 DEFAULT_wxUSE_TOGGLEBTN
=yes
4853 DEFAULT_wxUSE_TOOLBAR
=yes
4854 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
4855 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
4856 DEFAULT_wxUSE_TOOLTIPS
=yes
4857 DEFAULT_wxUSE_TREECTRL
=yes
4858 elif test "$wxUSE_CONTROLS" = "no"; then
4859 DEFAULT_wxUSE_ACCEL
=no
4860 DEFAULT_wxUSE_BMPBUTTON
=no
4861 DEFAULT_wxUSE_BUTTON
=no
4862 DEFAULT_wxUSE_CALCTRL
=no
4863 DEFAULT_wxUSE_CARET
=no
4864 DEFAULT_wxUSE_COMBOBOX
=no
4865 DEFAULT_wxUSE_CHECKBOX
=no
4866 DEFAULT_wxUSE_CHECKLISTBOX
=no
4867 DEFAULT_wxUSE_CHOICE
=no
4868 DEFAULT_wxUSE_GAUGE
=no
4869 DEFAULT_wxUSE_GRID
=no
4870 DEFAULT_wxUSE_NEW_GRID
=no
4871 DEFAULT_wxUSE_IMAGLIST
=no
4872 DEFAULT_wxUSE_LISTBOX
=no
4873 DEFAULT_wxUSE_LISTCTRL
=no
4874 DEFAULT_wxUSE_NOTEBOOK
=no
4875 DEFAULT_wxUSE_RADIOBOX
=no
4876 DEFAULT_wxUSE_RADIOBTN
=no
4877 DEFAULT_wxUSE_SASH
=no
4878 DEFAULT_wxUSE_SCROLLBAR
=no
4879 DEFAULT_wxUSE_SLIDER
=no
4880 DEFAULT_wxUSE_SPINBTN
=no
4881 DEFAULT_wxUSE_SPINCTRL
=no
4882 DEFAULT_wxUSE_SPLITTER
=no
4883 DEFAULT_wxUSE_STATBMP
=no
4884 DEFAULT_wxUSE_STATBOX
=no
4885 DEFAULT_wxUSE_STATLINE
=no
4886 DEFAULT_wxUSE_STATUSBAR
=no
4887 DEFAULT_wxUSE_TAB_DIALOG
=no
4888 DEFAULT_wxUSE_TOGGLEBTN
=no
4889 DEFAULT_wxUSE_TOOLBAR
=no
4890 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
4891 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
4892 DEFAULT_wxUSE_TOOLTIPS
=no
4893 DEFAULT_wxUSE_TREECTRL
=no
4897 echo $ac_n "checking for --enable-accel""... $ac_c" 1>&6
4898 echo "configure:4899: checking for --enable-accel" >&5
4900 # Check whether --enable-accel or --disable-accel was given.
4901 if test "${enable_accel+set}" = set; then
4902 enableval
="$enable_accel"
4904 if test "$enableval" = yes; then
4905 ac_cv_use_accel
='wxUSE_ACCEL=yes'
4907 ac_cv_use_accel
='wxUSE_ACCEL=no'
4912 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
4913 if test "x$LINE" != x
; then
4914 eval "DEFAULT_$LINE"
4919 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
4924 eval "$ac_cv_use_accel"
4925 if test "$no_cache" != 1; then
4926 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
4929 if test "$wxUSE_ACCEL" = yes; then
4930 echo "$ac_t""yes" 1>&6
4932 echo "$ac_t""no" 1>&6
4936 echo $ac_n "checking for --enable-button""... $ac_c" 1>&6
4937 echo "configure:4938: checking for --enable-button" >&5
4939 # Check whether --enable-button or --disable-button was given.
4940 if test "${enable_button+set}" = set; then
4941 enableval
="$enable_button"
4943 if test "$enableval" = yes; then
4944 ac_cv_use_button
='wxUSE_BUTTON=yes'
4946 ac_cv_use_button
='wxUSE_BUTTON=no'
4951 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
4952 if test "x$LINE" != x
; then
4953 eval "DEFAULT_$LINE"
4958 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
4963 eval "$ac_cv_use_button"
4964 if test "$no_cache" != 1; then
4965 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
4968 if test "$wxUSE_BUTTON" = yes; then
4969 echo "$ac_t""yes" 1>&6
4971 echo "$ac_t""no" 1>&6
4975 echo $ac_n "checking for --enable-bmpbutton""... $ac_c" 1>&6
4976 echo "configure:4977: checking for --enable-bmpbutton" >&5
4978 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
4979 if test "${enable_bmpbutton+set}" = set; then
4980 enableval
="$enable_bmpbutton"
4982 if test "$enableval" = yes; then
4983 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
4985 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
4990 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
4991 if test "x$LINE" != x
; then
4992 eval "DEFAULT_$LINE"
4997 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
5002 eval "$ac_cv_use_bmpbutton"
5003 if test "$no_cache" != 1; then
5004 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
5007 if test "$wxUSE_BMPBUTTON" = yes; then
5008 echo "$ac_t""yes" 1>&6
5010 echo "$ac_t""no" 1>&6
5014 echo $ac_n "checking for --enable-calendar""... $ac_c" 1>&6
5015 echo "configure:5016: checking for --enable-calendar" >&5
5017 # Check whether --enable-calendar or --disable-calendar was given.
5018 if test "${enable_calendar+set}" = set; then
5019 enableval
="$enable_calendar"
5021 if test "$enableval" = yes; then
5022 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
5024 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
5029 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
5030 if test "x$LINE" != x
; then
5031 eval "DEFAULT_$LINE"
5036 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
5041 eval "$ac_cv_use_calendar"
5042 if test "$no_cache" != 1; then
5043 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
5046 if test "$wxUSE_CALCTRL" = yes; then
5047 echo "$ac_t""yes" 1>&6
5049 echo "$ac_t""no" 1>&6
5053 echo $ac_n "checking for --enable-caret""... $ac_c" 1>&6
5054 echo "configure:5055: checking for --enable-caret" >&5
5056 # Check whether --enable-caret or --disable-caret was given.
5057 if test "${enable_caret+set}" = set; then
5058 enableval
="$enable_caret"
5060 if test "$enableval" = yes; then
5061 ac_cv_use_caret
='wxUSE_CARET=yes'
5063 ac_cv_use_caret
='wxUSE_CARET=no'
5068 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
5069 if test "x$LINE" != x
; then
5070 eval "DEFAULT_$LINE"
5075 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
5080 eval "$ac_cv_use_caret"
5081 if test "$no_cache" != 1; then
5082 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
5085 if test "$wxUSE_CARET" = yes; then
5086 echo "$ac_t""yes" 1>&6
5088 echo "$ac_t""no" 1>&6
5092 echo $ac_n "checking for --enable-checkbox""... $ac_c" 1>&6
5093 echo "configure:5094: checking for --enable-checkbox" >&5
5095 # Check whether --enable-checkbox or --disable-checkbox was given.
5096 if test "${enable_checkbox+set}" = set; then
5097 enableval
="$enable_checkbox"
5099 if test "$enableval" = yes; then
5100 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
5102 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
5107 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
5108 if test "x$LINE" != x
; then
5109 eval "DEFAULT_$LINE"
5114 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
5119 eval "$ac_cv_use_checkbox"
5120 if test "$no_cache" != 1; then
5121 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
5124 if test "$wxUSE_CHECKBOX" = yes; then
5125 echo "$ac_t""yes" 1>&6
5127 echo "$ac_t""no" 1>&6
5131 echo $ac_n "checking for --enable-checklst""... $ac_c" 1>&6
5132 echo "configure:5133: checking for --enable-checklst" >&5
5134 # Check whether --enable-checklst or --disable-checklst was given.
5135 if test "${enable_checklst+set}" = set; then
5136 enableval
="$enable_checklst"
5138 if test "$enableval" = yes; then
5139 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
5141 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
5146 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
5147 if test "x$LINE" != x
; then
5148 eval "DEFAULT_$LINE"
5153 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
5158 eval "$ac_cv_use_checklst"
5159 if test "$no_cache" != 1; then
5160 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
5163 if test "$wxUSE_CHECKLST" = yes; then
5164 echo "$ac_t""yes" 1>&6
5166 echo "$ac_t""no" 1>&6
5170 echo $ac_n "checking for --enable-choice""... $ac_c" 1>&6
5171 echo "configure:5172: checking for --enable-choice" >&5
5173 # Check whether --enable-choice or --disable-choice was given.
5174 if test "${enable_choice+set}" = set; then
5175 enableval
="$enable_choice"
5177 if test "$enableval" = yes; then
5178 ac_cv_use_choice
='wxUSE_CHOICE=yes'
5180 ac_cv_use_choice
='wxUSE_CHOICE=no'
5185 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
5186 if test "x$LINE" != x
; then
5187 eval "DEFAULT_$LINE"
5192 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
5197 eval "$ac_cv_use_choice"
5198 if test "$no_cache" != 1; then
5199 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
5202 if test "$wxUSE_CHOICE" = yes; then
5203 echo "$ac_t""yes" 1>&6
5205 echo "$ac_t""no" 1>&6
5209 echo $ac_n "checking for --enable-combobox""... $ac_c" 1>&6
5210 echo "configure:5211: checking for --enable-combobox" >&5
5212 # Check whether --enable-combobox or --disable-combobox was given.
5213 if test "${enable_combobox+set}" = set; then
5214 enableval
="$enable_combobox"
5216 if test "$enableval" = yes; then
5217 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
5219 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
5224 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
5225 if test "x$LINE" != x
; then
5226 eval "DEFAULT_$LINE"
5231 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
5236 eval "$ac_cv_use_combobox"
5237 if test "$no_cache" != 1; then
5238 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
5241 if test "$wxUSE_COMBOBOX" = yes; then
5242 echo "$ac_t""yes" 1>&6
5244 echo "$ac_t""no" 1>&6
5248 echo $ac_n "checking for --enable-gauge""... $ac_c" 1>&6
5249 echo "configure:5250: checking for --enable-gauge" >&5
5251 # Check whether --enable-gauge or --disable-gauge was given.
5252 if test "${enable_gauge+set}" = set; then
5253 enableval
="$enable_gauge"
5255 if test "$enableval" = yes; then
5256 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
5258 ac_cv_use_gauge
='wxUSE_GAUGE=no'
5263 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
5264 if test "x$LINE" != x
; then
5265 eval "DEFAULT_$LINE"
5270 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
5275 eval "$ac_cv_use_gauge"
5276 if test "$no_cache" != 1; then
5277 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
5280 if test "$wxUSE_GAUGE" = yes; then
5281 echo "$ac_t""yes" 1>&6
5283 echo "$ac_t""no" 1>&6
5287 echo $ac_n "checking for --enable-grid""... $ac_c" 1>&6
5288 echo "configure:5289: checking for --enable-grid" >&5
5290 # Check whether --enable-grid or --disable-grid was given.
5291 if test "${enable_grid+set}" = set; then
5292 enableval
="$enable_grid"
5294 if test "$enableval" = yes; then
5295 ac_cv_use_grid
='wxUSE_GRID=yes'
5297 ac_cv_use_grid
='wxUSE_GRID=no'
5302 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
5303 if test "x$LINE" != x
; then
5304 eval "DEFAULT_$LINE"
5309 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
5314 eval "$ac_cv_use_grid"
5315 if test "$no_cache" != 1; then
5316 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
5319 if test "$wxUSE_GRID" = yes; then
5320 echo "$ac_t""yes" 1>&6
5322 echo "$ac_t""no" 1>&6
5326 echo $ac_n "checking for --enable-newgrid""... $ac_c" 1>&6
5327 echo "configure:5328: checking for --enable-newgrid" >&5
5329 # Check whether --enable-newgrid or --disable-newgrid was given.
5330 if test "${enable_newgrid+set}" = set; then
5331 enableval
="$enable_newgrid"
5333 if test "$enableval" = yes; then
5334 ac_cv_use_newgrid
='wxUSE_NEW_GRID=yes'
5336 ac_cv_use_newgrid
='wxUSE_NEW_GRID=no'
5341 LINE
=`grep "wxUSE_NEW_GRID" ${wx_arg_cache_file}`
5342 if test "x$LINE" != x
; then
5343 eval "DEFAULT_$LINE"
5348 ac_cv_use_newgrid
='wxUSE_NEW_GRID='$DEFAULT_wxUSE_NEW_GRID
5353 eval "$ac_cv_use_newgrid"
5354 if test "$no_cache" != 1; then
5355 echo $ac_cv_use_newgrid >> ${wx_arg_cache_file}.tmp
5358 if test "$wxUSE_NEW_GRID" = yes; then
5359 echo "$ac_t""yes" 1>&6
5361 echo "$ac_t""no" 1>&6
5365 echo $ac_n "checking for --enable-imaglist""... $ac_c" 1>&6
5366 echo "configure:5367: checking for --enable-imaglist" >&5
5368 # Check whether --enable-imaglist or --disable-imaglist was given.
5369 if test "${enable_imaglist+set}" = set; then
5370 enableval
="$enable_imaglist"
5372 if test "$enableval" = yes; then
5373 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
5375 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
5380 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
5381 if test "x$LINE" != x
; then
5382 eval "DEFAULT_$LINE"
5387 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
5392 eval "$ac_cv_use_imaglist"
5393 if test "$no_cache" != 1; then
5394 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
5397 if test "$wxUSE_IMAGLIST" = yes; then
5398 echo "$ac_t""yes" 1>&6
5400 echo "$ac_t""no" 1>&6
5404 echo $ac_n "checking for --enable-listbox""... $ac_c" 1>&6
5405 echo "configure:5406: checking for --enable-listbox" >&5
5407 # Check whether --enable-listbox or --disable-listbox was given.
5408 if test "${enable_listbox+set}" = set; then
5409 enableval
="$enable_listbox"
5411 if test "$enableval" = yes; then
5412 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
5414 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
5419 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
5420 if test "x$LINE" != x
; then
5421 eval "DEFAULT_$LINE"
5426 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
5431 eval "$ac_cv_use_listbox"
5432 if test "$no_cache" != 1; then
5433 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
5436 if test "$wxUSE_LISTBOX" = yes; then
5437 echo "$ac_t""yes" 1>&6
5439 echo "$ac_t""no" 1>&6
5443 echo $ac_n "checking for --enable-listctrl""... $ac_c" 1>&6
5444 echo "configure:5445: checking for --enable-listctrl" >&5
5446 # Check whether --enable-listctrl or --disable-listctrl was given.
5447 if test "${enable_listctrl+set}" = set; then
5448 enableval
="$enable_listctrl"
5450 if test "$enableval" = yes; then
5451 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
5453 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
5458 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
5459 if test "x$LINE" != x
; then
5460 eval "DEFAULT_$LINE"
5465 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
5470 eval "$ac_cv_use_listctrl"
5471 if test "$no_cache" != 1; then
5472 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
5475 if test "$wxUSE_LISTCTRL" = yes; then
5476 echo "$ac_t""yes" 1>&6
5478 echo "$ac_t""no" 1>&6
5482 echo $ac_n "checking for --enable-notebook""... $ac_c" 1>&6
5483 echo "configure:5484: checking for --enable-notebook" >&5
5485 # Check whether --enable-notebook or --disable-notebook was given.
5486 if test "${enable_notebook+set}" = set; then
5487 enableval
="$enable_notebook"
5489 if test "$enableval" = yes; then
5490 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
5492 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
5497 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
5498 if test "x$LINE" != x
; then
5499 eval "DEFAULT_$LINE"
5504 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
5509 eval "$ac_cv_use_notebook"
5510 if test "$no_cache" != 1; then
5511 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
5514 if test "$wxUSE_NOTEBOOK" = yes; then
5515 echo "$ac_t""yes" 1>&6
5517 echo "$ac_t""no" 1>&6
5521 echo $ac_n "checking for --enable-radiobox""... $ac_c" 1>&6
5522 echo "configure:5523: checking for --enable-radiobox" >&5
5524 # Check whether --enable-radiobox or --disable-radiobox was given.
5525 if test "${enable_radiobox+set}" = set; then
5526 enableval
="$enable_radiobox"
5528 if test "$enableval" = yes; then
5529 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
5531 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
5536 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
5537 if test "x$LINE" != x
; then
5538 eval "DEFAULT_$LINE"
5543 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
5548 eval "$ac_cv_use_radiobox"
5549 if test "$no_cache" != 1; then
5550 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
5553 if test "$wxUSE_RADIOBOX" = yes; then
5554 echo "$ac_t""yes" 1>&6
5556 echo "$ac_t""no" 1>&6
5560 echo $ac_n "checking for --enable-radiobtn""... $ac_c" 1>&6
5561 echo "configure:5562: checking for --enable-radiobtn" >&5
5563 # Check whether --enable-radiobtn or --disable-radiobtn was given.
5564 if test "${enable_radiobtn+set}" = set; then
5565 enableval
="$enable_radiobtn"
5567 if test "$enableval" = yes; then
5568 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
5570 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
5575 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
5576 if test "x$LINE" != x
; then
5577 eval "DEFAULT_$LINE"
5582 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
5587 eval "$ac_cv_use_radiobtn"
5588 if test "$no_cache" != 1; then
5589 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
5592 if test "$wxUSE_RADIOBTN" = yes; then
5593 echo "$ac_t""yes" 1>&6
5595 echo "$ac_t""no" 1>&6
5599 echo $ac_n "checking for --enable-sash""... $ac_c" 1>&6
5600 echo "configure:5601: checking for --enable-sash" >&5
5602 # Check whether --enable-sash or --disable-sash was given.
5603 if test "${enable_sash+set}" = set; then
5604 enableval
="$enable_sash"
5606 if test "$enableval" = yes; then
5607 ac_cv_use_sash
='wxUSE_SASH=yes'
5609 ac_cv_use_sash
='wxUSE_SASH=no'
5614 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
5615 if test "x$LINE" != x
; then
5616 eval "DEFAULT_$LINE"
5621 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
5626 eval "$ac_cv_use_sash"
5627 if test "$no_cache" != 1; then
5628 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
5631 if test "$wxUSE_SASH" = yes; then
5632 echo "$ac_t""yes" 1>&6
5634 echo "$ac_t""no" 1>&6
5638 echo $ac_n "checking for --enable-scrollbar""... $ac_c" 1>&6
5639 echo "configure:5640: checking for --enable-scrollbar" >&5
5641 # Check whether --enable-scrollbar or --disable-scrollbar was given.
5642 if test "${enable_scrollbar+set}" = set; then
5643 enableval
="$enable_scrollbar"
5645 if test "$enableval" = yes; then
5646 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
5648 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
5653 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
5654 if test "x$LINE" != x
; then
5655 eval "DEFAULT_$LINE"
5660 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
5665 eval "$ac_cv_use_scrollbar"
5666 if test "$no_cache" != 1; then
5667 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
5670 if test "$wxUSE_SCROLLBAR" = yes; then
5671 echo "$ac_t""yes" 1>&6
5673 echo "$ac_t""no" 1>&6
5677 echo $ac_n "checking for --enable-slider""... $ac_c" 1>&6
5678 echo "configure:5679: checking for --enable-slider" >&5
5680 # Check whether --enable-slider or --disable-slider was given.
5681 if test "${enable_slider+set}" = set; then
5682 enableval
="$enable_slider"
5684 if test "$enableval" = yes; then
5685 ac_cv_use_slider
='wxUSE_SLIDER=yes'
5687 ac_cv_use_slider
='wxUSE_SLIDER=no'
5692 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
5693 if test "x$LINE" != x
; then
5694 eval "DEFAULT_$LINE"
5699 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
5704 eval "$ac_cv_use_slider"
5705 if test "$no_cache" != 1; then
5706 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
5709 if test "$wxUSE_SLIDER" = yes; then
5710 echo "$ac_t""yes" 1>&6
5712 echo "$ac_t""no" 1>&6
5716 echo $ac_n "checking for --enable-spinbtn""... $ac_c" 1>&6
5717 echo "configure:5718: checking for --enable-spinbtn" >&5
5719 # Check whether --enable-spinbtn or --disable-spinbtn was given.
5720 if test "${enable_spinbtn+set}" = set; then
5721 enableval
="$enable_spinbtn"
5723 if test "$enableval" = yes; then
5724 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
5726 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
5731 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
5732 if test "x$LINE" != x
; then
5733 eval "DEFAULT_$LINE"
5738 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
5743 eval "$ac_cv_use_spinbtn"
5744 if test "$no_cache" != 1; then
5745 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
5748 if test "$wxUSE_SPINBTN" = yes; then
5749 echo "$ac_t""yes" 1>&6
5751 echo "$ac_t""no" 1>&6
5755 echo $ac_n "checking for --enable-spinctrl""... $ac_c" 1>&6
5756 echo "configure:5757: checking for --enable-spinctrl" >&5
5758 # Check whether --enable-spinctrl or --disable-spinctrl was given.
5759 if test "${enable_spinctrl+set}" = set; then
5760 enableval
="$enable_spinctrl"
5762 if test "$enableval" = yes; then
5763 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
5765 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
5770 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
5771 if test "x$LINE" != x
; then
5772 eval "DEFAULT_$LINE"
5777 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
5782 eval "$ac_cv_use_spinctrl"
5783 if test "$no_cache" != 1; then
5784 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
5787 if test "$wxUSE_SPINCTRL" = yes; then
5788 echo "$ac_t""yes" 1>&6
5790 echo "$ac_t""no" 1>&6
5794 echo $ac_n "checking for --enable-splitter""... $ac_c" 1>&6
5795 echo "configure:5796: checking for --enable-splitter" >&5
5797 # Check whether --enable-splitter or --disable-splitter was given.
5798 if test "${enable_splitter+set}" = set; then
5799 enableval
="$enable_splitter"
5801 if test "$enableval" = yes; then
5802 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
5804 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
5809 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
5810 if test "x$LINE" != x
; then
5811 eval "DEFAULT_$LINE"
5816 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
5821 eval "$ac_cv_use_splitter"
5822 if test "$no_cache" != 1; then
5823 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
5826 if test "$wxUSE_SPLITTER" = yes; then
5827 echo "$ac_t""yes" 1>&6
5829 echo "$ac_t""no" 1>&6
5833 echo $ac_n "checking for --enable-statbmp""... $ac_c" 1>&6
5834 echo "configure:5835: checking for --enable-statbmp" >&5
5836 # Check whether --enable-statbmp or --disable-statbmp was given.
5837 if test "${enable_statbmp+set}" = set; then
5838 enableval
="$enable_statbmp"
5840 if test "$enableval" = yes; then
5841 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
5843 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
5848 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
5849 if test "x$LINE" != x
; then
5850 eval "DEFAULT_$LINE"
5855 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
5860 eval "$ac_cv_use_statbmp"
5861 if test "$no_cache" != 1; then
5862 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
5865 if test "$wxUSE_STATBMP" = yes; then
5866 echo "$ac_t""yes" 1>&6
5868 echo "$ac_t""no" 1>&6
5872 echo $ac_n "checking for --enable-statbox""... $ac_c" 1>&6
5873 echo "configure:5874: checking for --enable-statbox" >&5
5875 # Check whether --enable-statbox or --disable-statbox was given.
5876 if test "${enable_statbox+set}" = set; then
5877 enableval
="$enable_statbox"
5879 if test "$enableval" = yes; then
5880 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
5882 ac_cv_use_statbox
='wxUSE_STATBOX=no'
5887 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
5888 if test "x$LINE" != x
; then
5889 eval "DEFAULT_$LINE"
5894 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
5899 eval "$ac_cv_use_statbox"
5900 if test "$no_cache" != 1; then
5901 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
5904 if test "$wxUSE_STATBOX" = yes; then
5905 echo "$ac_t""yes" 1>&6
5907 echo "$ac_t""no" 1>&6
5911 echo $ac_n "checking for --enable-statline""... $ac_c" 1>&6
5912 echo "configure:5913: checking for --enable-statline" >&5
5914 # Check whether --enable-statline or --disable-statline was given.
5915 if test "${enable_statline+set}" = set; then
5916 enableval
="$enable_statline"
5918 if test "$enableval" = yes; then
5919 ac_cv_use_statline
='wxUSE_STATLINE=yes'
5921 ac_cv_use_statline
='wxUSE_STATLINE=no'
5926 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
5927 if test "x$LINE" != x
; then
5928 eval "DEFAULT_$LINE"
5933 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
5938 eval "$ac_cv_use_statline"
5939 if test "$no_cache" != 1; then
5940 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
5943 if test "$wxUSE_STATLINE" = yes; then
5944 echo "$ac_t""yes" 1>&6
5946 echo "$ac_t""no" 1>&6
5950 echo $ac_n "checking for --enable-stattext""... $ac_c" 1>&6
5951 echo "configure:5952: checking for --enable-stattext" >&5
5953 # Check whether --enable-stattext or --disable-stattext was given.
5954 if test "${enable_stattext+set}" = set; then
5955 enableval
="$enable_stattext"
5957 if test "$enableval" = yes; then
5958 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
5960 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
5965 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
5966 if test "x$LINE" != x
; then
5967 eval "DEFAULT_$LINE"
5972 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
5977 eval "$ac_cv_use_stattext"
5978 if test "$no_cache" != 1; then
5979 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
5982 if test "$wxUSE_STATTEXT" = yes; then
5983 echo "$ac_t""yes" 1>&6
5985 echo "$ac_t""no" 1>&6
5989 echo $ac_n "checking for --enable-statusbar""... $ac_c" 1>&6
5990 echo "configure:5991: checking for --enable-statusbar" >&5
5992 # Check whether --enable-statusbar or --disable-statusbar was given.
5993 if test "${enable_statusbar+set}" = set; then
5994 enableval
="$enable_statusbar"
5996 if test "$enableval" = yes; then
5997 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
5999 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
6004 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
6005 if test "x$LINE" != x
; then
6006 eval "DEFAULT_$LINE"
6011 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
6016 eval "$ac_cv_use_statusbar"
6017 if test "$no_cache" != 1; then
6018 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
6021 if test "$wxUSE_STATUSBAR" = yes; then
6022 echo "$ac_t""yes" 1>&6
6024 echo "$ac_t""no" 1>&6
6028 echo $ac_n "checking for --enable-tabdialog""... $ac_c" 1>&6
6029 echo "configure:6030: checking for --enable-tabdialog" >&5
6031 # Check whether --enable-tabdialog or --disable-tabdialog was given.
6032 if test "${enable_tabdialog+set}" = set; then
6033 enableval
="$enable_tabdialog"
6035 if test "$enableval" = yes; then
6036 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
6038 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
6043 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
6044 if test "x$LINE" != x
; then
6045 eval "DEFAULT_$LINE"
6050 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
6055 eval "$ac_cv_use_tabdialog"
6056 if test "$no_cache" != 1; then
6057 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
6060 if test "$wxUSE_TABDIALOG" = yes; then
6061 echo "$ac_t""yes" 1>&6
6063 echo "$ac_t""no" 1>&6
6067 echo $ac_n "checking for --enable-textctrl""... $ac_c" 1>&6
6068 echo "configure:6069: checking for --enable-textctrl" >&5
6070 # Check whether --enable-textctrl or --disable-textctrl was given.
6071 if test "${enable_textctrl+set}" = set; then
6072 enableval
="$enable_textctrl"
6074 if test "$enableval" = yes; then
6075 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
6077 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
6082 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
6083 if test "x$LINE" != x
; then
6084 eval "DEFAULT_$LINE"
6089 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
6094 eval "$ac_cv_use_textctrl"
6095 if test "$no_cache" != 1; then
6096 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
6099 if test "$wxUSE_TEXTCTRL" = yes; then
6100 echo "$ac_t""yes" 1>&6
6102 echo "$ac_t""no" 1>&6
6106 echo $ac_n "checking for --enable-togglebtn""... $ac_c" 1>&6
6107 echo "configure:6108: checking for --enable-togglebtn" >&5
6109 # Check whether --enable-togglebtn or --disable-togglebtn was given.
6110 if test "${enable_togglebtn+set}" = set; then
6111 enableval
="$enable_togglebtn"
6113 if test "$enableval" = yes; then
6114 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
6116 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
6121 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
6122 if test "x$LINE" != x
; then
6123 eval "DEFAULT_$LINE"
6128 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
6133 eval "$ac_cv_use_togglebtn"
6134 if test "$no_cache" != 1; then
6135 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
6138 if test "$wxUSE_TOGGLEBTN" = yes; then
6139 echo "$ac_t""yes" 1>&6
6141 echo "$ac_t""no" 1>&6
6145 echo $ac_n "checking for --enable-toolbar""... $ac_c" 1>&6
6146 echo "configure:6147: checking for --enable-toolbar" >&5
6148 # Check whether --enable-toolbar or --disable-toolbar was given.
6149 if test "${enable_toolbar+set}" = set; then
6150 enableval
="$enable_toolbar"
6152 if test "$enableval" = yes; then
6153 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
6155 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
6160 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
6161 if test "x$LINE" != x
; then
6162 eval "DEFAULT_$LINE"
6167 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
6172 eval "$ac_cv_use_toolbar"
6173 if test "$no_cache" != 1; then
6174 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
6177 if test "$wxUSE_TOOLBAR" = yes; then
6178 echo "$ac_t""yes" 1>&6
6180 echo "$ac_t""no" 1>&6
6184 echo $ac_n "checking for --enable-tbarnative""... $ac_c" 1>&6
6185 echo "configure:6186: checking for --enable-tbarnative" >&5
6187 # Check whether --enable-tbarnative or --disable-tbarnative was given.
6188 if test "${enable_tbarnative+set}" = set; then
6189 enableval
="$enable_tbarnative"
6191 if test "$enableval" = yes; then
6192 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
6194 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
6199 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
6200 if test "x$LINE" != x
; then
6201 eval "DEFAULT_$LINE"
6206 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
6211 eval "$ac_cv_use_tbarnative"
6212 if test "$no_cache" != 1; then
6213 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
6216 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
6217 echo "$ac_t""yes" 1>&6
6219 echo "$ac_t""no" 1>&6
6223 echo $ac_n "checking for --enable-tbarsmpl""... $ac_c" 1>&6
6224 echo "configure:6225: checking for --enable-tbarsmpl" >&5
6226 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
6227 if test "${enable_tbarsmpl+set}" = set; then
6228 enableval
="$enable_tbarsmpl"
6230 if test "$enableval" = yes; then
6231 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
6233 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
6238 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
6239 if test "x$LINE" != x
; then
6240 eval "DEFAULT_$LINE"
6245 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
6250 eval "$ac_cv_use_tbarsmpl"
6251 if test "$no_cache" != 1; then
6252 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
6255 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
6256 echo "$ac_t""yes" 1>&6
6258 echo "$ac_t""no" 1>&6
6262 echo $ac_n "checking for --enable-treectrl""... $ac_c" 1>&6
6263 echo "configure:6264: checking for --enable-treectrl" >&5
6265 # Check whether --enable-treectrl or --disable-treectrl was given.
6266 if test "${enable_treectrl+set}" = set; then
6267 enableval
="$enable_treectrl"
6269 if test "$enableval" = yes; then
6270 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
6272 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
6277 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
6278 if test "x$LINE" != x
; then
6279 eval "DEFAULT_$LINE"
6284 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
6289 eval "$ac_cv_use_treectrl"
6290 if test "$no_cache" != 1; then
6291 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
6294 if test "$wxUSE_TREECTRL" = yes; then
6295 echo "$ac_t""yes" 1>&6
6297 echo "$ac_t""no" 1>&6
6303 echo $ac_n "checking for --enable-commondlg""... $ac_c" 1>&6
6304 echo "configure:6305: checking for --enable-commondlg" >&5
6306 # Check whether --enable-commondlg or --disable-commondlg was given.
6307 if test "${enable_commondlg+set}" = set; then
6308 enableval
="$enable_commondlg"
6310 if test "$enableval" = yes; then
6311 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
6313 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
6318 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
6319 if test "x$LINE" != x
; then
6320 eval "DEFAULT_$LINE"
6325 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
6330 eval "$ac_cv_use_commondlg"
6331 if test "$no_cache" != 1; then
6332 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
6335 if test "$wxUSE_COMMONDLGS" = yes; then
6336 echo "$ac_t""yes" 1>&6
6338 echo "$ac_t""no" 1>&6
6342 echo $ac_n "checking for --enable-choicedlg""... $ac_c" 1>&6
6343 echo "configure:6344: checking for --enable-choicedlg" >&5
6345 # Check whether --enable-choicedlg or --disable-choicedlg was given.
6346 if test "${enable_choicedlg+set}" = set; then
6347 enableval
="$enable_choicedlg"
6349 if test "$enableval" = yes; then
6350 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
6352 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
6357 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
6358 if test "x$LINE" != x
; then
6359 eval "DEFAULT_$LINE"
6364 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
6369 eval "$ac_cv_use_choicedlg"
6370 if test "$no_cache" != 1; then
6371 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
6374 if test "$wxUSE_CHOICEDLG" = yes; then
6375 echo "$ac_t""yes" 1>&6
6377 echo "$ac_t""no" 1>&6
6381 echo $ac_n "checking for --enable-coldlg""... $ac_c" 1>&6
6382 echo "configure:6383: checking for --enable-coldlg" >&5
6384 # Check whether --enable-coldlg or --disable-coldlg was given.
6385 if test "${enable_coldlg+set}" = set; then
6386 enableval
="$enable_coldlg"
6388 if test "$enableval" = yes; then
6389 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
6391 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
6396 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
6397 if test "x$LINE" != x
; then
6398 eval "DEFAULT_$LINE"
6403 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
6408 eval "$ac_cv_use_coldlg"
6409 if test "$no_cache" != 1; then
6410 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
6413 if test "$wxUSE_COLOURDLG" = yes; then
6414 echo "$ac_t""yes" 1>&6
6416 echo "$ac_t""no" 1>&6
6420 echo $ac_n "checking for --enable-filedlg""... $ac_c" 1>&6
6421 echo "configure:6422: checking for --enable-filedlg" >&5
6423 # Check whether --enable-filedlg or --disable-filedlg was given.
6424 if test "${enable_filedlg+set}" = set; then
6425 enableval
="$enable_filedlg"
6427 if test "$enableval" = yes; then
6428 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
6430 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
6435 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
6436 if test "x$LINE" != x
; then
6437 eval "DEFAULT_$LINE"
6442 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
6447 eval "$ac_cv_use_filedlg"
6448 if test "$no_cache" != 1; then
6449 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
6452 if test "$wxUSE_FILEDLG" = yes; then
6453 echo "$ac_t""yes" 1>&6
6455 echo "$ac_t""no" 1>&6
6459 echo $ac_n "checking for --enable-fontdlg""... $ac_c" 1>&6
6460 echo "configure:6461: checking for --enable-fontdlg" >&5
6462 # Check whether --enable-fontdlg or --disable-fontdlg was given.
6463 if test "${enable_fontdlg+set}" = set; then
6464 enableval
="$enable_fontdlg"
6466 if test "$enableval" = yes; then
6467 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
6469 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
6474 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
6475 if test "x$LINE" != x
; then
6476 eval "DEFAULT_$LINE"
6481 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
6486 eval "$ac_cv_use_fontdlg"
6487 if test "$no_cache" != 1; then
6488 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
6491 if test "$wxUSE_FONTDLG" = yes; then
6492 echo "$ac_t""yes" 1>&6
6494 echo "$ac_t""no" 1>&6
6498 echo $ac_n "checking for --enable-dirdlg""... $ac_c" 1>&6
6499 echo "configure:6500: checking for --enable-dirdlg" >&5
6501 # Check whether --enable-dirdlg or --disable-dirdlg was given.
6502 if test "${enable_dirdlg+set}" = set; then
6503 enableval
="$enable_dirdlg"
6505 if test "$enableval" = yes; then
6506 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
6508 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
6513 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
6514 if test "x$LINE" != x
; then
6515 eval "DEFAULT_$LINE"
6520 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
6525 eval "$ac_cv_use_dirdlg"
6526 if test "$no_cache" != 1; then
6527 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
6530 if test "$wxUSE_DIRDLG" = yes; then
6531 echo "$ac_t""yes" 1>&6
6533 echo "$ac_t""no" 1>&6
6537 echo $ac_n "checking for --enable-msgdlg""... $ac_c" 1>&6
6538 echo "configure:6539: checking for --enable-msgdlg" >&5
6540 # Check whether --enable-msgdlg or --disable-msgdlg was given.
6541 if test "${enable_msgdlg+set}" = set; then
6542 enableval
="$enable_msgdlg"
6544 if test "$enableval" = yes; then
6545 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
6547 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
6552 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
6553 if test "x$LINE" != x
; then
6554 eval "DEFAULT_$LINE"
6559 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
6564 eval "$ac_cv_use_msgdlg"
6565 if test "$no_cache" != 1; then
6566 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
6569 if test "$wxUSE_MSGDLG" = yes; then
6570 echo "$ac_t""yes" 1>&6
6572 echo "$ac_t""no" 1>&6
6576 echo $ac_n "checking for --enable-numberdlg""... $ac_c" 1>&6
6577 echo "configure:6578: checking for --enable-numberdlg" >&5
6579 # Check whether --enable-numberdlg or --disable-numberdlg was given.
6580 if test "${enable_numberdlg+set}" = set; then
6581 enableval
="$enable_numberdlg"
6583 if test "$enableval" = yes; then
6584 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
6586 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
6591 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
6592 if test "x$LINE" != x
; then
6593 eval "DEFAULT_$LINE"
6598 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
6603 eval "$ac_cv_use_numberdlg"
6604 if test "$no_cache" != 1; then
6605 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
6608 if test "$wxUSE_NUMBERDLG" = yes; then
6609 echo "$ac_t""yes" 1>&6
6611 echo "$ac_t""no" 1>&6
6615 echo $ac_n "checking for --enable-textdlg""... $ac_c" 1>&6
6616 echo "configure:6617: checking for --enable-textdlg" >&5
6618 # Check whether --enable-textdlg or --disable-textdlg was given.
6619 if test "${enable_textdlg+set}" = set; then
6620 enableval
="$enable_textdlg"
6622 if test "$enableval" = yes; then
6623 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
6625 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
6630 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
6631 if test "x$LINE" != x
; then
6632 eval "DEFAULT_$LINE"
6637 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
6642 eval "$ac_cv_use_textdlg"
6643 if test "$no_cache" != 1; then
6644 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
6647 if test "$wxUSE_TEXTDLG" = yes; then
6648 echo "$ac_t""yes" 1>&6
6650 echo "$ac_t""no" 1>&6
6654 echo $ac_n "checking for --enable-tipdlg""... $ac_c" 1>&6
6655 echo "configure:6656: checking for --enable-tipdlg" >&5
6657 # Check whether --enable-tipdlg or --disable-tipdlg was given.
6658 if test "${enable_tipdlg+set}" = set; then
6659 enableval
="$enable_tipdlg"
6661 if test "$enableval" = yes; then
6662 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
6664 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
6669 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
6670 if test "x$LINE" != x
; then
6671 eval "DEFAULT_$LINE"
6676 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
6681 eval "$ac_cv_use_tipdlg"
6682 if test "$no_cache" != 1; then
6683 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
6686 if test "$wxUSE_STARTUP_TIPS" = yes; then
6687 echo "$ac_t""yes" 1>&6
6689 echo "$ac_t""no" 1>&6
6693 echo $ac_n "checking for --enable-progressdlg""... $ac_c" 1>&6
6694 echo "configure:6695: checking for --enable-progressdlg" >&5
6696 # Check whether --enable-progressdlg or --disable-progressdlg was given.
6697 if test "${enable_progressdlg+set}" = set; then
6698 enableval
="$enable_progressdlg"
6700 if test "$enableval" = yes; then
6701 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
6703 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
6708 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
6709 if test "x$LINE" != x
; then
6710 eval "DEFAULT_$LINE"
6715 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
6720 eval "$ac_cv_use_progressdlg"
6721 if test "$no_cache" != 1; then
6722 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
6725 if test "$wxUSE_PROGRESSDLG" = yes; then
6726 echo "$ac_t""yes" 1>&6
6728 echo "$ac_t""no" 1>&6
6732 echo $ac_n "checking for --enable-wizarddlg""... $ac_c" 1>&6
6733 echo "configure:6734: checking for --enable-wizarddlg" >&5
6735 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
6736 if test "${enable_wizarddlg+set}" = set; then
6737 enableval
="$enable_wizarddlg"
6739 if test "$enableval" = yes; then
6740 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
6742 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
6747 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
6748 if test "x$LINE" != x
; then
6749 eval "DEFAULT_$LINE"
6754 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
6759 eval "$ac_cv_use_wizarddlg"
6760 if test "$no_cache" != 1; then
6761 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
6764 if test "$wxUSE_WIZARDDLG" = yes; then
6765 echo "$ac_t""yes" 1>&6
6767 echo "$ac_t""no" 1>&6
6773 echo $ac_n "checking for --enable-menus""... $ac_c" 1>&6
6774 echo "configure:6775: checking for --enable-menus" >&5
6776 # Check whether --enable-menus or --disable-menus was given.
6777 if test "${enable_menus+set}" = set; then
6778 enableval
="$enable_menus"
6780 if test "$enableval" = yes; then
6781 ac_cv_use_menus
='wxUSE_MENUS=yes'
6783 ac_cv_use_menus
='wxUSE_MENUS=no'
6788 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
6789 if test "x$LINE" != x
; then
6790 eval "DEFAULT_$LINE"
6795 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
6800 eval "$ac_cv_use_menus"
6801 if test "$no_cache" != 1; then
6802 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
6805 if test "$wxUSE_MENUS" = yes; then
6806 echo "$ac_t""yes" 1>&6
6808 echo "$ac_t""no" 1>&6
6812 echo $ac_n "checking for --enable-miniframe""... $ac_c" 1>&6
6813 echo "configure:6814: checking for --enable-miniframe" >&5
6815 # Check whether --enable-miniframe or --disable-miniframe was given.
6816 if test "${enable_miniframe+set}" = set; then
6817 enableval
="$enable_miniframe"
6819 if test "$enableval" = yes; then
6820 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
6822 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
6827 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
6828 if test "x$LINE" != x
; then
6829 eval "DEFAULT_$LINE"
6834 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
6839 eval "$ac_cv_use_miniframe"
6840 if test "$no_cache" != 1; then
6841 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
6844 if test "$wxUSE_MINIFRAME" = yes; then
6845 echo "$ac_t""yes" 1>&6
6847 echo "$ac_t""no" 1>&6
6851 echo $ac_n "checking for --enable-html""... $ac_c" 1>&6
6852 echo "configure:6853: checking for --enable-html" >&5
6854 # Check whether --enable-html or --disable-html was given.
6855 if test "${enable_html+set}" = set; then
6856 enableval
="$enable_html"
6858 if test "$enableval" = yes; then
6859 ac_cv_use_html
='wxUSE_HTML=yes'
6861 ac_cv_use_html
='wxUSE_HTML=no'
6866 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6867 if test "x$LINE" != x
; then
6868 eval "DEFAULT_$LINE"
6873 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6878 eval "$ac_cv_use_html"
6879 if test "$no_cache" != 1; then
6880 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6883 if test "$wxUSE_HTML" = yes; then
6884 echo "$ac_t""yes" 1>&6
6886 echo "$ac_t""no" 1>&6
6890 echo $ac_n "checking for --enable-tooltips""... $ac_c" 1>&6
6891 echo "configure:6892: checking for --enable-tooltips" >&5
6893 # Check whether --enable-tooltips or --disable-tooltips was given.
6894 if test "${enable_tooltips+set}" = set; then
6895 enableval
="$enable_tooltips"
6897 if test "$enableval" = yes; then
6898 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
6900 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
6905 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
6906 if test "x$LINE" != x
; then
6907 eval "DEFAULT_$LINE"
6912 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
6917 eval "$ac_cv_use_tooltips"
6918 if test "$no_cache" != 1; then
6919 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
6922 if test "$wxUSE_TOOLTIPS" = yes; then
6923 echo "$ac_t""yes" 1>&6
6925 echo "$ac_t""no" 1>&6
6929 echo $ac_n "checking for --enable-splines""... $ac_c" 1>&6
6930 echo "configure:6931: checking for --enable-splines" >&5
6932 # Check whether --enable-splines or --disable-splines was given.
6933 if test "${enable_splines+set}" = set; then
6934 enableval
="$enable_splines"
6936 if test "$enableval" = yes; then
6937 ac_cv_use_splines
='wxUSE_SPLINES=yes'
6939 ac_cv_use_splines
='wxUSE_SPLINES=no'
6944 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
6945 if test "x$LINE" != x
; then
6946 eval "DEFAULT_$LINE"
6951 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
6956 eval "$ac_cv_use_splines"
6957 if test "$no_cache" != 1; then
6958 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
6961 if test "$wxUSE_SPLINES" = yes; then
6962 echo "$ac_t""yes" 1>&6
6964 echo "$ac_t""no" 1>&6
6968 echo $ac_n "checking for --enable-validators""... $ac_c" 1>&6
6969 echo "configure:6970: checking for --enable-validators" >&5
6971 # Check whether --enable-validators or --disable-validators was given.
6972 if test "${enable_validators+set}" = set; then
6973 enableval
="$enable_validators"
6975 if test "$enableval" = yes; then
6976 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
6978 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
6983 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
6984 if test "x$LINE" != x
; then
6985 eval "DEFAULT_$LINE"
6990 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
6995 eval "$ac_cv_use_validators"
6996 if test "$no_cache" != 1; then
6997 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
7000 if test "$wxUSE_VALIDATORS" = yes; then
7001 echo "$ac_t""yes" 1>&6
7003 echo "$ac_t""no" 1>&6
7007 echo $ac_n "checking for --enable-busyinfo""... $ac_c" 1>&6
7008 echo "configure:7009: checking for --enable-busyinfo" >&5
7010 # Check whether --enable-busyinfo or --disable-busyinfo was given.
7011 if test "${enable_busyinfo+set}" = set; then
7012 enableval
="$enable_busyinfo"
7014 if test "$enableval" = yes; then
7015 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
7017 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
7022 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
7023 if test "x$LINE" != x
; then
7024 eval "DEFAULT_$LINE"
7029 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
7034 eval "$ac_cv_use_busyinfo"
7035 if test "$no_cache" != 1; then
7036 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
7039 if test "$wxUSE_BUSYINFO" = yes; then
7040 echo "$ac_t""yes" 1>&6
7042 echo "$ac_t""no" 1>&6
7046 echo $ac_n "checking for --enable-joystick""... $ac_c" 1>&6
7047 echo "configure:7048: checking for --enable-joystick" >&5
7049 # Check whether --enable-joystick or --disable-joystick was given.
7050 if test "${enable_joystick+set}" = set; then
7051 enableval
="$enable_joystick"
7053 if test "$enableval" = yes; then
7054 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
7056 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
7061 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
7062 if test "x$LINE" != x
; then
7063 eval "DEFAULT_$LINE"
7068 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
7073 eval "$ac_cv_use_joystick"
7074 if test "$no_cache" != 1; then
7075 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
7078 if test "$wxUSE_JOYSTICK" = yes; then
7079 echo "$ac_t""yes" 1>&6
7081 echo "$ac_t""no" 1>&6
7085 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
7086 echo "configure:7087: checking for --enable-metafile" >&5
7088 # Check whether --enable-metafile or --disable-metafile was given.
7089 if test "${enable_metafile+set}" = set; then
7090 enableval
="$enable_metafile"
7092 if test "$enableval" = yes; then
7093 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
7095 ac_cv_use_metafile
='wxUSE_METAFILE=no'
7100 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7101 if test "x$LINE" != x
; then
7102 eval "DEFAULT_$LINE"
7107 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7112 eval "$ac_cv_use_metafile"
7113 if test "$no_cache" != 1; then
7114 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7117 if test "$wxUSE_METAFILE" = yes; then
7118 echo "$ac_t""yes" 1>&6
7120 echo "$ac_t""no" 1>&6
7124 echo $ac_n "checking for --enable-dragimage""... $ac_c" 1>&6
7125 echo "configure:7126: checking for --enable-dragimage" >&5
7127 # Check whether --enable-dragimage or --disable-dragimage was given.
7128 if test "${enable_dragimage+set}" = set; then
7129 enableval
="$enable_dragimage"
7131 if test "$enableval" = yes; then
7132 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
7134 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
7139 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
7140 if test "x$LINE" != x
; then
7141 eval "DEFAULT_$LINE"
7146 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
7151 eval "$ac_cv_use_dragimage"
7152 if test "$no_cache" != 1; then
7153 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
7156 if test "$wxUSE_DRAGIMAGE" = yes; then
7157 echo "$ac_t""yes" 1>&6
7159 echo "$ac_t""no" 1>&6
7165 echo $ac_n "checking for --enable-image""... $ac_c" 1>&6
7166 echo "configure:7167: checking for --enable-image" >&5
7168 # Check whether --enable-image or --disable-image was given.
7169 if test "${enable_image+set}" = set; then
7170 enableval
="$enable_image"
7172 if test "$enableval" = yes; then
7173 ac_cv_use_image
='wxUSE_IMAGE=yes'
7175 ac_cv_use_image
='wxUSE_IMAGE=no'
7180 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
7181 if test "x$LINE" != x
; then
7182 eval "DEFAULT_$LINE"
7187 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
7192 eval "$ac_cv_use_image"
7193 if test "$no_cache" != 1; then
7194 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
7197 if test "$wxUSE_IMAGE" = yes; then
7198 echo "$ac_t""yes" 1>&6
7200 echo "$ac_t""no" 1>&6
7204 echo $ac_n "checking for --enable-gif""... $ac_c" 1>&6
7205 echo "configure:7206: checking for --enable-gif" >&5
7207 # Check whether --enable-gif or --disable-gif was given.
7208 if test "${enable_gif+set}" = set; then
7209 enableval
="$enable_gif"
7211 if test "$enableval" = yes; then
7212 ac_cv_use_gif
='wxUSE_GIF=yes'
7214 ac_cv_use_gif
='wxUSE_GIF=no'
7219 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
7220 if test "x$LINE" != x
; then
7221 eval "DEFAULT_$LINE"
7226 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
7231 eval "$ac_cv_use_gif"
7232 if test "$no_cache" != 1; then
7233 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
7236 if test "$wxUSE_GIF" = yes; then
7237 echo "$ac_t""yes" 1>&6
7239 echo "$ac_t""no" 1>&6
7243 echo $ac_n "checking for --enable-pcx""... $ac_c" 1>&6
7244 echo "configure:7245: checking for --enable-pcx" >&5
7246 # Check whether --enable-pcx or --disable-pcx was given.
7247 if test "${enable_pcx+set}" = set; then
7248 enableval
="$enable_pcx"
7250 if test "$enableval" = yes; then
7251 ac_cv_use_pcx
='wxUSE_PCX=yes'
7253 ac_cv_use_pcx
='wxUSE_PCX=no'
7258 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
7259 if test "x$LINE" != x
; then
7260 eval "DEFAULT_$LINE"
7265 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
7270 eval "$ac_cv_use_pcx"
7271 if test "$no_cache" != 1; then
7272 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
7275 if test "$wxUSE_PCX" = yes; then
7276 echo "$ac_t""yes" 1>&6
7278 echo "$ac_t""no" 1>&6
7282 echo $ac_n "checking for --enable-pnm""... $ac_c" 1>&6
7283 echo "configure:7284: checking for --enable-pnm" >&5
7285 # Check whether --enable-pnm or --disable-pnm was given.
7286 if test "${enable_pnm+set}" = set; then
7287 enableval
="$enable_pnm"
7289 if test "$enableval" = yes; then
7290 ac_cv_use_pnm
='wxUSE_PNM=yes'
7292 ac_cv_use_pnm
='wxUSE_PNM=no'
7297 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
7298 if test "x$LINE" != x
; then
7299 eval "DEFAULT_$LINE"
7304 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
7309 eval "$ac_cv_use_pnm"
7310 if test "$no_cache" != 1; then
7311 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
7314 if test "$wxUSE_PNM" = yes; then
7315 echo "$ac_t""yes" 1>&6
7317 echo "$ac_t""no" 1>&6
7321 echo $ac_n "checking for --enable-pnm""... $ac_c" 1>&6
7322 echo "configure:7323: checking for --enable-pnm" >&5
7324 # Check whether --enable-pnm or --disable-pnm was given.
7325 if test "${enable_pnm+set}" = set; then
7326 enableval
="$enable_pnm"
7328 if test "$enableval" = yes; then
7329 ac_cv_use_pnm
='wxUSE_XPM=yes'
7331 ac_cv_use_pnm
='wxUSE_XPM=no'
7336 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
7337 if test "x$LINE" != x
; then
7338 eval "DEFAULT_$LINE"
7343 ac_cv_use_pnm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
7348 eval "$ac_cv_use_pnm"
7349 if test "$no_cache" != 1; then
7350 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
7353 if test "$wxUSE_XPM" = yes; then
7354 echo "$ac_t""yes" 1>&6
7356 echo "$ac_t""no" 1>&6
7363 echo "saving argument cache $wx_arg_cache_file"
7364 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
7368 echo $ac_n "checking for toolkit""... $ac_c" 1>&6
7369 echo "configure:7370: checking for toolkit" >&5
7371 if test "$wxUSE_GUI" = "yes"; then
7373 if test "$USE_BEOS" = 1; then
7374 { echo "configure: error: BeOS GUI is not supported yet, use --disable-gui" 1>&2; exit 1; }
7377 if test "$TOOLKIT_GIVEN" = 1; then
7378 for toolkit
in `echo $ALL_TOOLKITS`; do
7380 eval "value=\$${var}"
7381 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
7384 for toolkit
in `echo $ALL_TOOLKITS`; do
7385 if test "$has_toolkit_in_cache" != 1; then
7386 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
7388 var
=DEFAULT_wxUSE_
$toolkit
7390 eval "wxUSE_$toolkit=\$${var}"
7394 NUM_TOOLKITS
=`expr ${wxUSE_GTK:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MAC:-0} + ${wxUSE_WINE:-0} + ${wxUSE_MINGW:-0} + ${wxUSE_CYGWIN:-0} + ${wxUSE_MGL:-0}`
7398 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
7399 # PATH_IFS is autodetected by OS/2's configure (usually ';')
7408 case "$NUM_TOOLKITS" in
7412 { echo "configure: error: Please specify a toolkit - cannot determine the default for ${host}" 1>&2; exit 1; }
7415 { echo "configure: error: Please specify at most one toolkit (may be some are cached?)" 1>&2; exit 1; }
7418 for toolkit
in `echo $ALL_TOOLKITS`; do
7420 eval "value=\$${var}"
7421 if test "x$value" != x
; then
7422 cache_var
=CACHE_
$toolkit
7423 eval "cache=\$${cache_var}"
7424 if test "$cache" = 1; then
7425 echo "$var=$value" >> ${wx_arg_cache_file}
7427 if test "$value" = 1; then
7428 toolkit_echo
=`echo $toolkit | tr [A-Z] [a-z]`
7429 echo "$ac_t""$toolkit_echo" 1>&6
7436 echo "$ac_t""base only" 1>&6
7440 cat > confcache
<<\EOF
7441 # This file is a shell script that caches the results of configure
7442 # tests run on this system so they can be shared between configure
7443 # scripts and configure runs. It is not useful on other systems.
7444 # If it contains results you don't want to keep, you may remove or edit it.
7446 # By default, configure uses ./config.cache as the cache file,
7447 # creating it if it does not exist already. You can give configure
7448 # the --cache-file=FILE option to use a different cache file; that is
7449 # what configure does when it calls configure scripts in
7450 # subdirectories, so they share the cache.
7451 # Giving --cache-file=/dev/null disables caching, for debugging configure.
7452 # config.status only pays attention to the cache file if you give it the
7453 # --recheck option to rerun configure.
7456 # The following way of writing the cache mishandles newlines in values,
7457 # but we know of no workaround that is simple, portable, and efficient.
7458 # So, don't put newlines in cache variables' values.
7459 # Ultrix sh set writes to stderr and can't be redirected directly,
7460 # and sets the high bit in the cache file unless we assign to the vars.
7462 case `(ac_space=' '; set | grep ac_space) 2>&1` in
7464 # `set' does not quote correctly, so add quotes (double-quote substitution
7465 # turns \\\\ into \\, and sed turns \\ into \).
7467 -e "s/'/'\\\\''/g" \
7468 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
7471 # `set' quotes correctly as required by POSIX, so do not add quotes.
7472 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
7475 if cmp -s $cache_file confcache
; then
7478 if test -w $cache_file; then
7479 echo "updating cache $cache_file"
7480 cat confcache
> $cache_file
7482 echo "not updating unwritable cache $cache_file"
7488 if test "$build" != "$host" ; then
7492 RANLIB
=$host_alias-ranlib
7493 DLLTOOL
=$host_alias-dlltool
7494 RESCOMP
=$host_alias-windres
7497 STRIP
=$host_alias-strip
7500 # Extract the first word of "gcc", so it can be a program name with args.
7501 set dummy gcc
; ac_word
=$2
7502 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7503 echo "configure:7504: checking for $ac_word" >&5
7504 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
7505 echo $ac_n "(cached) $ac_c" 1>&6
7507 if test -n "$CC"; then
7508 ac_cv_prog_CC
="$CC" # Let the user override the test.
7510 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7512 for ac_dir
in $ac_dummy; do
7513 test -z "$ac_dir" && ac_dir
=.
7514 if test -f $ac_dir/$ac_word; then
7523 if test -n "$CC"; then
7524 echo "$ac_t""$CC" 1>&6
7526 echo "$ac_t""no" 1>&6
7529 if test -z "$CC"; then
7530 # Extract the first word of "cc", so it can be a program name with args.
7531 set dummy cc
; ac_word
=$2
7532 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7533 echo "configure:7534: checking for $ac_word" >&5
7534 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
7535 echo $ac_n "(cached) $ac_c" 1>&6
7537 if test -n "$CC"; then
7538 ac_cv_prog_CC
="$CC" # Let the user override the test.
7540 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7543 for ac_dir
in $ac_dummy; do
7544 test -z "$ac_dir" && ac_dir
=.
7545 if test -f $ac_dir/$ac_word; then
7546 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
7547 ac_prog_rejected
=yes
7555 if test $ac_prog_rejected = yes; then
7556 # We found a bogon in the path, so make sure we never use it.
7557 set dummy
$ac_cv_prog_CC
7559 if test $# -gt 0; then
7560 # We chose a different compiler from the bogus one.
7561 # However, it has the same basename, so the bogon will be chosen
7562 # first if we set CC to just the basename; use the full file name.
7564 set dummy
"$ac_dir/$ac_word" "$@"
7572 if test -n "$CC"; then
7573 echo "$ac_t""$CC" 1>&6
7575 echo "$ac_t""no" 1>&6
7578 if test -z "$CC"; then
7579 case "`uname -s`" in
7581 # Extract the first word of "cl", so it can be a program name with args.
7582 set dummy cl
; ac_word
=$2
7583 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7584 echo "configure:7585: checking for $ac_word" >&5
7585 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
7586 echo $ac_n "(cached) $ac_c" 1>&6
7588 if test -n "$CC"; then
7589 ac_cv_prog_CC
="$CC" # Let the user override the test.
7591 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7593 for ac_dir
in $ac_dummy; do
7594 test -z "$ac_dir" && ac_dir
=.
7595 if test -f $ac_dir/$ac_word; then
7604 if test -n "$CC"; then
7605 echo "$ac_t""$CC" 1>&6
7607 echo "$ac_t""no" 1>&6
7612 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
7615 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
7616 echo "configure:7617: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
7619 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7620 ac_cpp
='$CPP $CPPFLAGS'
7621 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7622 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7623 cross_compiling
=$ac_cv_prog_cc_cross
7625 cat > conftest.
$ac_ext << EOF
7627 #line 7628 "configure"
7628 #include "confdefs.h"
7632 if { (eval echo configure
:7633: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7633 ac_cv_prog_cc_works
=yes
7634 # If we can't run a trivial program, we are probably using a cross compiler.
7635 if (.
/conftest
; exit) 2>/dev
/null
; then
7636 ac_cv_prog_cc_cross
=no
7638 ac_cv_prog_cc_cross
=yes
7641 echo "configure: failed program was:" >&5
7642 cat conftest.
$ac_ext >&5
7643 ac_cv_prog_cc_works
=no
7647 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7648 ac_cpp
='$CPP $CPPFLAGS'
7649 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7650 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7651 cross_compiling
=$ac_cv_prog_cc_cross
7653 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
7654 if test $ac_cv_prog_cc_works = no
; then
7655 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
7657 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
7658 echo "configure:7659: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
7659 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
7660 cross_compiling
=$ac_cv_prog_cc_cross
7662 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
7663 echo "configure:7664: checking whether we are using GNU C" >&5
7664 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
7665 echo $ac_n "(cached) $ac_c" 1>&6
7667 cat > conftest.c
<<EOF
7672 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:7673: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
7679 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
7681 if test $ac_cv_prog_gcc = yes; then
7687 ac_test_CFLAGS
="${CFLAGS+set}"
7688 ac_save_CFLAGS
="$CFLAGS"
7690 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
7691 echo "configure:7692: checking whether ${CC-cc} accepts -g" >&5
7692 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
7693 echo $ac_n "(cached) $ac_c" 1>&6
7695 echo 'void f(){}' > conftest.c
7696 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
7705 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
7706 if test "$ac_test_CFLAGS" = set; then
7707 CFLAGS
="$ac_save_CFLAGS"
7708 elif test $ac_cv_prog_cc_g = yes; then
7709 if test "$GCC" = yes; then
7715 if test "$GCC" = yes; then
7723 CFLAGS
=`echo "$CFLAGS" | sed 's/-g//g'`
7725 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
7726 echo "configure:7727: checking how to run the C preprocessor" >&5
7727 # On Suns, sometimes $CPP names a directory.
7728 if test -n "$CPP" && test -d "$CPP"; then
7731 if test -z "$CPP"; then
7732 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
7733 echo $ac_n "(cached) $ac_c" 1>&6
7735 # This must be in double quotes, not single quotes, because CPP may get
7736 # substituted into the Makefile and "${CC-cc}" will confuse make.
7738 # On the NeXT, cc -E runs the code through the compiler's parser,
7739 # not just through cpp.
7740 cat > conftest.
$ac_ext <<EOF
7741 #line 7742 "configure"
7742 #include "confdefs.h"
7746 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7747 { (eval echo configure
:7748: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7748 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7749 if test -z "$ac_err"; then
7753 echo "configure: failed program was:" >&5
7754 cat conftest.
$ac_ext >&5
7756 CPP
="${CC-cc} -E -traditional-cpp"
7757 cat > conftest.
$ac_ext <<EOF
7758 #line 7759 "configure"
7759 #include "confdefs.h"
7763 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7764 { (eval echo configure
:7765: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7765 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7766 if test -z "$ac_err"; then
7770 echo "configure: failed program was:" >&5
7771 cat conftest.
$ac_ext >&5
7773 CPP
="${CC-cc} -nologo -E"
7774 cat > conftest.
$ac_ext <<EOF
7775 #line 7776 "configure"
7776 #include "confdefs.h"
7780 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7781 { (eval echo configure
:7782: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7782 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7783 if test -z "$ac_err"; then
7787 echo "configure: failed program was:" >&5
7788 cat conftest.
$ac_ext >&5
7797 ac_cv_prog_CPP
="$CPP"
7799 CPP
="$ac_cv_prog_CPP"
7801 ac_cv_prog_CPP
="$CPP"
7803 echo "$ac_t""$CPP" 1>&6
7806 if test $ac_cv_prog_gcc = yes; then
7807 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
7808 echo "configure:7809: checking whether ${CC-cc} needs -traditional" >&5
7809 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
7810 echo $ac_n "(cached) $ac_c" 1>&6
7812 ac_pattern
="Autoconf.*'x'"
7813 cat > conftest.
$ac_ext <<EOF
7814 #line 7815 "configure"
7815 #include "confdefs.h"
7819 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7820 egrep "$ac_pattern" >/dev
/null
2>&1; then
7822 ac_cv_prog_gcc_traditional
=yes
7825 ac_cv_prog_gcc_traditional
=no
7830 if test $ac_cv_prog_gcc_traditional = no
; then
7831 cat > conftest.
$ac_ext <<EOF
7832 #line 7833 "configure"
7833 #include "confdefs.h"
7837 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7838 egrep "$ac_pattern" >/dev
/null
2>&1; then
7840 ac_cv_prog_gcc_traditional
=yes
7847 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
7848 if test $ac_cv_prog_gcc_traditional = yes; then
7849 CC
="$CC -traditional"
7856 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7857 ac_cpp
='$CXXCPP $CPPFLAGS'
7858 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7859 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7860 cross_compiling
=$ac_cv_prog_cxx_cross
7863 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++ cl
7865 # Extract the first word of "$ac_prog", so it can be a program name with args.
7866 set dummy
$ac_prog; ac_word
=$2
7867 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7868 echo "configure:7869: checking for $ac_word" >&5
7869 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
7870 echo $ac_n "(cached) $ac_c" 1>&6
7872 if test -n "$CXX"; then
7873 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
7875 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7877 for ac_dir
in $ac_dummy; do
7878 test -z "$ac_dir" && ac_dir
=.
7879 if test -f $ac_dir/$ac_word; then
7880 ac_cv_prog_CXX
="$ac_prog"
7887 CXX
="$ac_cv_prog_CXX"
7888 if test -n "$CXX"; then
7889 echo "$ac_t""$CXX" 1>&6
7891 echo "$ac_t""no" 1>&6
7894 test -n "$CXX" && break
7896 test -n "$CXX" || CXX
="gcc"
7899 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
7900 echo "configure:7901: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
7903 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7904 ac_cpp
='$CXXCPP $CPPFLAGS'
7905 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7906 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7907 cross_compiling
=$ac_cv_prog_cxx_cross
7909 cat > conftest.
$ac_ext << EOF
7911 #line 7912 "configure"
7912 #include "confdefs.h"
7914 int main(){return(0);}
7916 if { (eval echo configure
:7917: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7917 ac_cv_prog_cxx_works
=yes
7918 # If we can't run a trivial program, we are probably using a cross compiler.
7919 if (.
/conftest
; exit) 2>/dev
/null
; then
7920 ac_cv_prog_cxx_cross
=no
7922 ac_cv_prog_cxx_cross
=yes
7925 echo "configure: failed program was:" >&5
7926 cat conftest.
$ac_ext >&5
7927 ac_cv_prog_cxx_works
=no
7931 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7932 ac_cpp
='$CXXCPP $CPPFLAGS'
7933 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7934 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7935 cross_compiling
=$ac_cv_prog_cxx_cross
7937 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
7938 if test $ac_cv_prog_cxx_works = no
; then
7939 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
7941 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
7942 echo "configure:7943: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
7943 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
7944 cross_compiling
=$ac_cv_prog_cxx_cross
7946 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
7947 echo "configure:7948: checking whether we are using GNU C++" >&5
7948 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
7949 echo $ac_n "(cached) $ac_c" 1>&6
7951 cat > conftest.C
<<EOF
7956 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:7957: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
7963 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
7965 if test $ac_cv_prog_gxx = yes; then
7971 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
7972 ac_save_CXXFLAGS
="$CXXFLAGS"
7974 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
7975 echo "configure:7976: checking whether ${CXX-g++} accepts -g" >&5
7976 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
7977 echo $ac_n "(cached) $ac_c" 1>&6
7979 echo 'void f(){}' > conftest.cc
7980 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
7981 ac_cv_prog_cxx_g
=yes
7989 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
7990 if test "$ac_test_CXXFLAGS" = set; then
7991 CXXFLAGS
="$ac_save_CXXFLAGS"
7992 elif test $ac_cv_prog_cxx_g = yes; then
7993 if test "$GXX" = yes; then
7999 if test "$GXX" = yes; then
8007 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
8008 echo "configure:8009: checking how to run the C++ preprocessor" >&5
8009 if test -z "$CXXCPP"; then
8010 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
8011 echo $ac_n "(cached) $ac_c" 1>&6
8014 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8015 ac_cpp
='$CXXCPP $CPPFLAGS'
8016 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8017 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8018 cross_compiling
=$ac_cv_prog_cxx_cross
8019 CXXCPP
="${CXX-g++} -E"
8020 cat > conftest.
$ac_ext <<EOF
8021 #line 8022 "configure"
8022 #include "confdefs.h"
8025 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8026 { (eval echo configure
:8027: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8027 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8028 if test -z "$ac_err"; then
8032 echo "configure: failed program was:" >&5
8033 cat conftest.
$ac_ext >&5
8038 ac_cv_prog_CXXCPP
="$CXXCPP"
8040 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8041 ac_cpp
='$CXXCPP $CPPFLAGS'
8042 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8043 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8044 cross_compiling
=$ac_cv_prog_cxx_cross
8047 CXXCPP
="$ac_cv_prog_CXXCPP"
8048 echo "$ac_t""$CXXCPP" 1>&6
8051 CXXFLAGS
=`echo "$CXXFLAGS" | sed 's/-g//g'`
8054 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8055 ac_cpp
='$CPP $CPPFLAGS'
8056 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8057 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8058 cross_compiling
=$ac_cv_prog_cc_cross
8061 # Extract the first word of "ranlib", so it can be a program name with args.
8062 set dummy ranlib
; ac_word
=$2
8063 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8064 echo "configure:8065: checking for $ac_word" >&5
8065 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
8066 echo $ac_n "(cached) $ac_c" 1>&6
8068 if test -n "$RANLIB"; then
8069 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
8071 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8073 for ac_dir
in $ac_dummy; do
8074 test -z "$ac_dir" && ac_dir
=.
8075 if test -f $ac_dir/$ac_word; then
8076 ac_cv_prog_RANLIB
="ranlib"
8081 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
8084 RANLIB
="$ac_cv_prog_RANLIB"
8085 if test -n "$RANLIB"; then
8086 echo "$ac_t""$RANLIB" 1>&6
8088 echo "$ac_t""no" 1>&6
8092 # Extract the first word of "ar", so it can be a program name with args.
8093 set dummy
ar; ac_word
=$2
8094 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8095 echo "configure:8096: checking for $ac_word" >&5
8096 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
8097 echo $ac_n "(cached) $ac_c" 1>&6
8099 if test -n "$AR"; then
8100 ac_cv_prog_AR
="$AR" # Let the user override the test.
8102 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8104 for ac_dir
in $ac_dummy; do
8105 test -z "$ac_dir" && ac_dir
=.
8106 if test -f $ac_dir/$ac_word; then
8112 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
8116 if test -n "$AR"; then
8117 echo "$ac_t""$AR" 1>&6
8119 echo "$ac_t""no" 1>&6
8123 # Find a good install program. We prefer a C program (faster),
8124 # so one script is as good as another. But avoid the broken or
8125 # incompatible versions:
8126 # SysV /etc/install, /usr/sbin/install
8127 # SunOS /usr/etc/install
8128 # IRIX /sbin/install
8130 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
8131 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
8132 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
8133 # ./install, which can be erroneously created by make from ./install.sh.
8134 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
8135 echo "configure:8136: checking for a BSD compatible install" >&5
8136 if test -z "$INSTALL"; then
8137 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
8138 echo $ac_n "(cached) $ac_c" 1>&6
8140 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
8141 for ac_dir
in $PATH; do
8142 # Account for people who put trailing slashes in PATH elements.
8144 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
8146 # OSF1 and SCO ODT 3.0 have their own names for install.
8147 # Don't use installbsd from OSF since it installs stuff as root
8149 for ac_prog
in ginstall scoinst
install; do
8150 if test -f $ac_dir/$ac_prog; then
8151 if test $ac_prog = install &&
8152 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
8153 # AIX install. It has an incompatible calling convention.
8156 ac_cv_path_install
="$ac_dir/$ac_prog -c"
8167 if test "${ac_cv_path_install+set}" = set; then
8168 INSTALL
="$ac_cv_path_install"
8170 # As a last resort, use the slow shell script. We don't cache a
8171 # path for INSTALL within a source directory, because that will
8172 # break other packages using the cache if that directory is
8173 # removed, or if the path is relative.
8174 INSTALL
="$ac_install_sh"
8177 echo "$ac_t""$INSTALL" 1>&6
8179 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
8180 # It thinks the first close brace ends the variable substitution.
8181 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
8183 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
8185 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
8188 # Extract the first word of "strip", so it can be a program name with args.
8189 set dummy strip
; ac_word
=$2
8190 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8191 echo "configure:8192: checking for $ac_word" >&5
8192 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
8193 echo $ac_n "(cached) $ac_c" 1>&6
8195 if test -n "$STRIP"; then
8196 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
8198 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8200 for ac_dir
in $ac_dummy; do
8201 test -z "$ac_dir" && ac_dir
=.
8202 if test -f $ac_dir/$ac_word; then
8203 ac_cv_prog_STRIP
="strip"
8208 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
8211 STRIP
="$ac_cv_prog_STRIP"
8212 if test -n "$STRIP"; then
8213 echo "$ac_t""$STRIP" 1>&6
8215 echo "$ac_t""no" 1>&6
8219 echo $ac_n "checking make for VPATH support""... $ac_c" 1>&6
8220 echo "configure:8221: checking make for VPATH support" >&5
8221 cat - << EOF > confMake
8227 if test ! -d sub
; then
8230 echo dummy
> sub
/file
8231 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
8233 rm -f sub
/file check final_file confMake
8235 if test "$RESULT" = 0; then
8236 echo "$ac_t""yes" 1>&6
8238 echo "$ac_t""no" 1>&6
8239 { echo "configure: error:
8240 You need a make-utility that is able to use the variable
8242 If your version of make does not support VPATH correctly,
8243 please install GNU-make (possibly as gmake), and start
8244 configure with the following command:
8245 export MAKE=gmake; ./configure for sh-type shells
8246 setenv MAKE gmake; ./configure for csh-type shells
8247 Also please do remember to use gmake in this case every time
8248 you are trying to compile.
8252 for ac_prog
in 'bison -y' byacc
8254 # Extract the first word of "$ac_prog", so it can be a program name with args.
8255 set dummy
$ac_prog; ac_word
=$2
8256 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8257 echo "configure:8258: checking for $ac_word" >&5
8258 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
8259 echo $ac_n "(cached) $ac_c" 1>&6
8261 if test -n "$YACC"; then
8262 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
8264 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8266 for ac_dir
in $ac_dummy; do
8267 test -z "$ac_dir" && ac_dir
=.
8268 if test -f $ac_dir/$ac_word; then
8269 ac_cv_prog_YACC
="$ac_prog"
8276 YACC
="$ac_cv_prog_YACC"
8277 if test -n "$YACC"; then
8278 echo "$ac_t""$YACC" 1>&6
8280 echo "$ac_t""no" 1>&6
8283 test -n "$YACC" && break
8285 test -n "$YACC" || YACC
="yacc"
8288 # Extract the first word of "flex", so it can be a program name with args.
8289 set dummy flex
; ac_word
=$2
8290 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8291 echo "configure:8292: checking for $ac_word" >&5
8292 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
8293 echo $ac_n "(cached) $ac_c" 1>&6
8295 if test -n "$LEX"; then
8296 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
8298 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8300 for ac_dir
in $ac_dummy; do
8301 test -z "$ac_dir" && ac_dir
=.
8302 if test -f $ac_dir/$ac_word; then
8303 ac_cv_prog_LEX
="flex"
8308 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
8311 LEX
="$ac_cv_prog_LEX"
8312 if test -n "$LEX"; then
8313 echo "$ac_t""$LEX" 1>&6
8315 echo "$ac_t""no" 1>&6
8318 if test -z "$LEXLIB"
8324 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
8325 echo "configure:8326: checking for yywrap in -l$ac_lib" >&5
8326 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
8327 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8328 echo $ac_n "(cached) $ac_c" 1>&6
8330 ac_save_LIBS
="$LIBS"
8331 LIBS
="-l$ac_lib $LIBS"
8332 cat > conftest.
$ac_ext <<EOF
8333 #line 8334 "configure"
8334 #include "confdefs.h"
8335 /* Override any gcc2 internal prototype to avoid an error. */
8336 /* We use char because int might match the return type of a gcc2
8337 builtin and then its argument prototype would still apply. */
8344 if { (eval echo configure
:8345: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8346 eval "ac_cv_lib_$ac_lib_var=yes"
8348 echo "configure: failed program was:" >&5
8349 cat conftest.
$ac_ext >&5
8351 eval "ac_cv_lib_$ac_lib_var=no"
8354 LIBS
="$ac_save_LIBS"
8357 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8358 echo "$ac_t""yes" 1>&6
8361 echo "$ac_t""no" 1>&6
8367 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
8368 echo "configure:8369: checking whether ln -s works" >&5
8369 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
8370 echo $ac_n "(cached) $ac_c" 1>&6
8373 if ln -s X conftestdata
2>/dev
/null
8376 ac_cv_prog_LN_S
="ln -s"
8381 LN_S
="$ac_cv_prog_LN_S"
8382 if test "$ac_cv_prog_LN_S" = "ln -s"; then
8383 echo "$ac_t""yes" 1>&6
8385 echo "$ac_t""no" 1>&6
8391 /usr/local/include \
8393 /usr/Motif-1.2/include \
8394 /usr/Motif-2.1/include \
8396 /usr/include/Motif1.2 \
8397 /opt/xpm/include/X11 \
8398 /opt/GBxpm/include/ \
8399 /opt/GBxpm/X11/include/ \
8401 /usr/Motif1.2/include \
8403 /usr/openwin/include \
8407 /usr/X11R6/include \
8408 /usr/X11R6.4/include \
8409 /usr/X11R5/include \
8410 /usr/X11R4/include \
8412 /usr/include/X11R6 \
8413 /usr/include/X11R5 \
8414 /usr/include/X11R4 \
8416 /usr/local/X11R6/include \
8417 /usr/local/X11R5/include \
8418 /usr/local/X11R4/include \
8420 /usr/local/include/X11R6 \
8421 /usr/local/include/X11R5 \
8422 /usr/local/include/X11R4 \
8426 /usr/local/X11/include \
8427 /usr/local/include/X11 \
8431 /usr/XFree86/include/X11 \
8433 X:/XFree86/include \
8434 X:/XFree86/include/X11 \
8437 /usr/local/include/gtk \
8439 /usr/local/include/glib \
8442 /usr/local/include/qt \
8444 /usr/include/windows \
8446 /usr/local/include/wine \
8448 /usr/unsupported/include \
8449 /usr/athena/include \
8450 /usr/local/x11r5/include \
8451 /usr/lpp/Xamples/include \
8453 /usr/openwin/share/include \
8457 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
8460 cat > confcache
<<\EOF
8461 # This file is a shell script that caches the results of configure
8462 # tests run on this system so they can be shared between configure
8463 # scripts and configure runs. It is not useful on other systems.
8464 # If it contains results you don't want to keep, you may remove or edit it.
8466 # By default, configure uses ./config.cache as the cache file,
8467 # creating it if it does not exist already. You can give configure
8468 # the --cache-file=FILE option to use a different cache file; that is
8469 # what configure does when it calls configure scripts in
8470 # subdirectories, so they share the cache.
8471 # Giving --cache-file=/dev/null disables caching, for debugging configure.
8472 # config.status only pays attention to the cache file if you give it the
8473 # --recheck option to rerun configure.
8476 # The following way of writing the cache mishandles newlines in values,
8477 # but we know of no workaround that is simple, portable, and efficient.
8478 # So, don't put newlines in cache variables' values.
8479 # Ultrix sh set writes to stderr and can't be redirected directly,
8480 # and sets the high bit in the cache file unless we assign to the vars.
8482 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8484 # `set' does not quote correctly, so add quotes (double-quote substitution
8485 # turns \\\\ into \\, and sed turns \\ into \).
8487 -e "s/'/'\\\\''/g" \
8488 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
8491 # `set' quotes correctly as required by POSIX, so do not add quotes.
8492 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
8495 if cmp -s $cache_file confcache
; then
8498 if test -w $cache_file; then
8499 echo "updating cache $cache_file"
8500 cat confcache
> $cache_file
8502 echo "not updating unwritable cache $cache_file"
8511 if test "$wxUSE_GUI" = "yes"; then
8526 if test "$wxUSE_CYGWIN" = 1 || test "$wxUSE_MINGW" = 1 ; then
8527 if test "$cross_compiling" = "yes" ; then
8528 echo "configure: warning: skipping windows.h check for cross-compilation" 1>&2
8530 echo $ac_n "checking for Windows headers""... $ac_c" 1>&6
8531 echo "configure:8532: checking for Windows headers" >&5
8534 for ac_dir
in $SEARCH_INCLUDE;
8536 if test -f "$ac_dir/windows.h"; then
8537 ac_find_includes
=$ac_dir
8542 if test "$ac_find_includes" != "" ; then
8543 echo "$ac_t""found $ac_find_includes" 1>&6
8544 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE -I$ac_find_includes"
8546 echo "$ac_t""no" 1>&6
8547 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
8551 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS msw"
8552 LIBS
="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -lcrtdll -ladvapi32 -lwsock32"
8554 if test "$wxUSE_ODBC" = "yes" ; then
8555 LIBS
="$LIBS -lodbc32 -lole32 -loleaut32"
8558 if test "$wxUSE_MINGW" = 1; then
8559 LDFLAGS
="$LDFLAGS -mwindows"
8565 RCINCSWITCH
="--include-dir"
8566 RCDEFSWITCH
="--define"
8567 RCPREPROCESSOR
="--preprocessor \"\$(CC) -c -E -xc-header -DRC_INVOKED\""
8570 RESFLAGS
="$RCPREPROCESSOR $RCINCSWITCH \$(top_srcdir)/include $RCINCSWITCH \$(top_srcdir)/\$(program_dir) $RCDEFSWITCH __WIN32__ $RCDEFSWITCH __WIN95__ $RCDEFSWITCH __GNUWIN32__"
8572 RESPROGRAM
="\$(RES_PROGRAM)"
8575 if test "$wxUSE_GTK" = 1; then
8576 echo $ac_n "checking for GTK+ version""... $ac_c" 1>&6
8577 echo "configure:8578: checking for GTK+ version" >&5
8579 gtk_version_cached
=1
8580 if eval "test \"`echo '$''{'wx_cv_lib_gtk'+set}'`\" = set"; then
8581 echo $ac_n "(cached) $ac_c" 1>&6
8584 gtk_version_cached
=0
8585 echo "$ac_t""""" 1>&6
8588 if test "x$wxUSE_GTK2" = "xyes"; then
8589 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
8590 if test "${with_gtk_prefix+set}" = set; then
8591 withval
="$with_gtk_prefix"
8592 gtk_config_prefix
="$withval"
8594 gtk_config_prefix
=""
8597 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
8598 if test "${with_gtk_exec_prefix+set}" = set; then
8599 withval
="$with_gtk_exec_prefix"
8600 gtk_config_exec_prefix
="$withval"
8602 gtk_config_exec_prefix
=""
8605 # Check whether --enable-gtktest or --disable-gtktest was given.
8606 if test "${enable_gtktest+set}" = set; then
8607 enableval
="$enable_gtktest"
8618 gtk_config_args
="$gtk_config_args gthread"
8623 if test x
$gtk_config_exec_prefix != x
; then
8624 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
8625 if test x
${GTK_CONFIG_2_0+set} != xset
; then
8626 GTK_CONFIG_2_0
=$gtk_config_exec_prefix/bin
/gtk
-config-2.0
8629 if test x
$gtk_config_prefix != x
; then
8630 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
8631 if test x
${GTK_CONFIG_2_0+set} != xset
; then
8632 GTK_CONFIG_2_0
=$gtk_config_prefix/bin
/gtk
-config-2.0
8636 # Extract the first word of "gtk-config-2.0", so it can be a program name with args.
8637 set dummy gtk
-config-2.0
; ac_word
=$2
8638 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8639 echo "configure:8640: checking for $ac_word" >&5
8640 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG_2_0'+set}'`\" = set"; then
8641 echo $ac_n "(cached) $ac_c" 1>&6
8643 case "$GTK_CONFIG_2_0" in
8645 ac_cv_path_GTK_CONFIG_2_0
="$GTK_CONFIG_2_0" # Let the user override the test with a path.
8648 ac_cv_path_GTK_CONFIG_2_0
="$GTK_CONFIG_2_0" # Let the user override the test with a dos path.
8651 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8653 for ac_dir
in $ac_dummy; do
8654 test -z "$ac_dir" && ac_dir
=.
8655 if test -f $ac_dir/$ac_word; then
8656 ac_cv_path_GTK_CONFIG_2_0
="$ac_dir/$ac_word"
8661 test -z "$ac_cv_path_GTK_CONFIG_2_0" && ac_cv_path_GTK_CONFIG_2_0
="no"
8665 GTK_CONFIG_2_0
="$ac_cv_path_GTK_CONFIG_2_0"
8666 if test -n "$GTK_CONFIG_2_0"; then
8667 echo "$ac_t""$GTK_CONFIG_2_0" 1>&6
8669 echo "$ac_t""no" 1>&6
8672 min_gtk_version
=1.3.1
8673 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
8674 echo "configure:8675: checking for GTK - version >= $min_gtk_version" >&5
8676 if test "$GTK_CONFIG_2_0" = "no" ; then
8679 GTK_CFLAGS
=`$GTK_CONFIG_2_0 $gtk_config_args --cflags`
8680 GTK_LIBS
=`$GTK_CONFIG_2_0 $gtk_config_args --libs`
8681 gtk_config_major_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
8682 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
8683 gtk_config_minor_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
8684 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
8685 gtk_config_micro_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
8686 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
8687 if test "x$enable_gtktest" = "xyes" ; then
8688 ac_save_CFLAGS
="$CFLAGS"
8689 ac_save_LIBS
="$LIBS"
8690 CFLAGS
="$CFLAGS $GTK_CFLAGS"
8691 LIBS
="$GTK_LIBS $LIBS"
8693 if test "$cross_compiling" = yes; then
8694 echo $ac_n "cross compiling; assumed OK... $ac_c"
8696 cat > conftest.
$ac_ext <<EOF
8697 #line 8698 "configure"
8698 #include "confdefs.h"
8700 #include <gtk/gtk.h>
8707 int major, minor, micro;
8710 system ("touch conf.gtktest");
8712 /* HP/UX 9 (%@#!) writes to sscanf strings */
8713 tmp_version = g_strdup("$min_gtk_version");
8714 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
8715 printf("%s, bad version string\n", "$min_gtk_version");
8719 if ((gtk_major_version != $gtk_config_major_version) ||
8720 (gtk_minor_version != $gtk_config_minor_version) ||
8721 (gtk_micro_version != $gtk_config_micro_version))
8723 printf("\n*** 'gtk-config-2.0 --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
8724 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
8725 gtk_major_version, gtk_minor_version, gtk_micro_version);
8726 printf ("*** was found! If gtk-config-2.0 was correct, then it is best\n");
8727 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
8728 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
8729 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
8730 printf("*** required on your system.\n");
8731 printf("*** If gtk-config-2.0 was wrong, set the environment variable GTK_CONFIG_2_0\n");
8732 printf("*** to point to the correct copy of gtk-config-2.0, and remove the file config.cache\n");
8733 printf("*** before re-running configure\n");
8735 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
8736 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
8737 (gtk_minor_version != GTK_MINOR_VERSION) ||
8738 (gtk_micro_version != GTK_MICRO_VERSION))
8740 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
8741 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
8742 printf("*** library (version %d.%d.%d)\n",
8743 gtk_major_version, gtk_minor_version, gtk_micro_version);
8745 #endif /* defined (GTK_MAJOR_VERSION) ... */
8748 if ((gtk_major_version > major) ||
8749 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
8750 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
8756 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
8757 gtk_major_version, gtk_minor_version, gtk_micro_version);
8758 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
8759 major, minor, micro);
8760 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
8762 printf("*** If you have already installed a sufficiently new version, this error\n");
8763 printf("*** probably means that the wrong copy of the gtk-config-2.0 shell script is\n");
8764 printf("*** being found. The easiest way to fix this is to remove the old version\n");
8765 printf("*** of GTK+, but you can also set the GTK_CONFIG_2_0 environment to point to the\n");
8766 printf("*** correct copy of gtk-config-2.0. (In this case, you will have to\n");
8767 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
8768 printf("*** so that the correct libraries are found at run-time))\n");
8775 if { (eval echo configure
:8776: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
8779 echo "configure: failed program was:" >&5
8780 cat conftest.
$ac_ext >&5
8787 CFLAGS
="$ac_save_CFLAGS"
8788 LIBS
="$ac_save_LIBS"
8791 if test "x$no_gtk" = x
; then
8792 echo "$ac_t""yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" 1>&6
8795 echo "$ac_t""no" 1>&6
8796 if test "$GTK_CONFIG_2_0" = "no" ; then
8797 echo "*** The gtk-config-2.0 script installed by GTK could not be found"
8798 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
8799 echo "*** your path, or set the GTK_CONFIG_2_0 environment variable to the"
8800 echo "*** full path to gtk-config-2.0."
8802 if test -f conf.gtktest
; then
8805 echo "*** Could not run GTK test program, checking why..."
8806 CFLAGS
="$CFLAGS $GTK_CFLAGS"
8807 LIBS
="$LIBS $GTK_LIBS"
8808 cat > conftest.
$ac_ext <<EOF
8809 #line 8810 "configure"
8810 #include "confdefs.h"
8812 #include <gtk/gtk.h>
8816 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
8819 if { (eval echo configure
:8820: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8821 echo "*** The test program compiled, but did not run. This usually means"
8822 echo "*** that the run-time linker is not finding GTK or finding the wrong"
8823 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
8824 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
8825 echo "*** to the installed location Also, make sure you have run ldconfig if that"
8826 echo "*** is required on your system"
8828 echo "*** If you have an old version installed, it is best to remove it, although"
8829 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
8831 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
8832 echo "*** came with the system with the command"
8834 echo "*** rpm --erase --nodeps gtk gtk-devel"
8836 echo "configure: failed program was:" >&5
8837 cat conftest.
$ac_ext >&5
8839 echo "*** The test program failed to compile or link. See the file config.log for the"
8840 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
8841 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
8842 echo "*** may want to edit the gtk-config-2.0 script: $GTK_CONFIG_2_0"
8845 CFLAGS
="$ac_save_CFLAGS"
8846 LIBS
="$ac_save_LIBS"
8859 if test -z "$wx_cv_lib_gtk"; then
8861 if test x
$gtk_config_exec_prefix != x
; then
8862 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
8863 if test x
${GTK_CONFIG+set} != xset
; then
8864 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
8867 if test x
$gtk_config_prefix != x
; then
8868 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
8869 if test x
${GTK_CONFIG+set} != xset
; then
8870 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
8874 # Extract the first word of "gtk-config", so it can be a program name with args.
8875 set dummy gtk
-config; ac_word
=$2
8876 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8877 echo "configure:8878: checking for $ac_word" >&5
8878 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
8879 echo $ac_n "(cached) $ac_c" 1>&6
8881 case "$GTK_CONFIG" in
8883 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
8886 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
8889 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8891 for ac_dir
in $ac_dummy; do
8892 test -z "$ac_dir" && ac_dir
=.
8893 if test -f $ac_dir/$ac_word; then
8894 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
8899 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
8903 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
8904 if test -n "$GTK_CONFIG"; then
8905 echo "$ac_t""$GTK_CONFIG" 1>&6
8907 echo "$ac_t""no" 1>&6
8910 min_gtk_version
=1.2.7
8911 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
8912 echo "configure:8913: checking for GTK - version >= $min_gtk_version" >&5
8914 if test "$GTK_CONFIG" != "no" ; then
8915 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
8916 GTK_LIBS
=`$GTK_CONFIG --libs gthread`
8917 ac_save_CFLAGS
="$CFLAGS"
8918 ac_save_LIBS
="$LIBS"
8919 CFLAGS
="$CFLAGS $GTK_CFLAGS"
8920 LIBS
="$LIBS $GTK_LIBS"
8921 if test "$cross_compiling" = yes; then
8922 echo $ac_n "cross compiling; assumed OK... $ac_c"
8924 cat > conftest.
$ac_ext <<EOF
8925 #line 8926 "configure"
8926 #include "confdefs.h"
8928 #include <gtk/gtk.h>
8929 #include <gtk/gtkfeatures.h>
8936 int major, minor, micro;
8938 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
8939 printf("%s, bad version string\n", "$min_gtk_version");
8943 if ((GTK_MAJOR_VERSION != gtk_major_version) ||
8944 (GTK_MINOR_VERSION != gtk_minor_version) ||
8945 (GTK_MICRO_VERSION != gtk_micro_version)) {
8946 printf("Headers vs. library version mismatch!\n");
8950 if (gtk_minor_version == 1) return FALSE;
8952 return !((gtk_major_version > major) ||
8953 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
8954 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
8958 if { (eval echo configure
:8959: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
8962 echo "configure: failed program was:" >&5
8963 cat conftest.
$ac_ext >&5
8970 CFLAGS
="$ac_save_CFLAGS"
8971 LIBS
="$ac_save_LIBS"
8975 if test "x$no_gtk" = x
; then
8976 echo "$ac_t""yes" 1>&6
8979 echo "$ac_t""no" 1>&6
8989 if test -z "$wx_cv_lib_gtk"; then
8991 if test x
$gtk_config_exec_prefix != x
; then
8992 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
8993 if test x
${GTK_CONFIG+set} != xset
; then
8994 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
8997 if test x
$gtk_config_prefix != x
; then
8998 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
8999 if test x
${GTK_CONFIG+set} != xset
; then
9000 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
9004 # Extract the first word of "gtk-config", so it can be a program name with args.
9005 set dummy gtk
-config; ac_word
=$2
9006 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9007 echo "configure:9008: checking for $ac_word" >&5
9008 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
9009 echo $ac_n "(cached) $ac_c" 1>&6
9011 case "$GTK_CONFIG" in
9013 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
9016 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
9019 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9021 for ac_dir
in $ac_dummy; do
9022 test -z "$ac_dir" && ac_dir
=.
9023 if test -f $ac_dir/$ac_word; then
9024 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
9029 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
9033 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
9034 if test -n "$GTK_CONFIG"; then
9035 echo "$ac_t""$GTK_CONFIG" 1>&6
9037 echo "$ac_t""no" 1>&6
9040 min_gtk_version
=1.2.3
9041 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
9042 echo "configure:9043: checking for GTK - version >= $min_gtk_version" >&5
9044 if test "$GTK_CONFIG" != "no" ; then
9045 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
9046 GTK_LIBS
=`$GTK_CONFIG --libs gthread`
9047 ac_save_CFLAGS
="$CFLAGS"
9048 ac_save_LIBS
="$LIBS"
9049 CFLAGS
="$CFLAGS $GTK_CFLAGS"
9050 LIBS
="$LIBS $GTK_LIBS"
9051 if test "$cross_compiling" = yes; then
9052 echo $ac_n "cross compiling; assumed OK... $ac_c"
9054 cat > conftest.
$ac_ext <<EOF
9055 #line 9056 "configure"
9056 #include "confdefs.h"
9058 #include <gtk/gtk.h>
9059 #include <gtk/gtkfeatures.h>
9066 int major, minor, micro;
9068 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
9069 printf("%s, bad version string\n", "$min_gtk_version");
9073 if ((GTK_MAJOR_VERSION != gtk_major_version) ||
9074 (GTK_MINOR_VERSION != gtk_minor_version) ||
9075 (GTK_MICRO_VERSION != gtk_micro_version)) {
9076 printf("Headers vs. library version mismatch!\n");
9080 if (gtk_minor_version == 1) return FALSE;
9082 return !((gtk_major_version > major) ||
9083 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
9084 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
9088 if { (eval echo configure
:9089: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9092 echo "configure: failed program was:" >&5
9093 cat conftest.
$ac_ext >&5
9100 CFLAGS
="$ac_save_CFLAGS"
9101 LIBS
="$ac_save_LIBS"
9105 if test "x$no_gtk" = x
; then
9106 echo "$ac_t""yes" 1>&6
9109 echo "$ac_t""no" 1>&6
9119 if test -z "$wx_cv_lib_gtk"; then
9122 wx_cv_cflags_gtk
=$GTK_CFLAGS
9123 wx_cv_libs_gtk
=$GTK_LIBS
9130 if test "$gtk_version_cached" = 1; then
9131 echo "$ac_t""$wx_cv_lib_gtk" 1>&6
9134 case "$wx_cv_lib_gtk" in
9141 *) { echo "configure: error:
9142 Please check that gtk-config is in path, the directory
9143 where GTK+ libraries are installed (returned by
9144 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
9145 equivalent variable and GTK+ is version 1.2.3 or above.
9150 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
9151 GUI_TK_LIBRARY
="$wx_cv_libs_gtk"
9153 AFMINSTALL
=afminstall
9157 echo $ac_n "checking for gdk_im_open in -lgdk""... $ac_c" 1>&6
9158 echo "configure:9159: checking for gdk_im_open in -lgdk" >&5
9159 ac_lib_var
=`echo gdk'_'gdk_im_open | sed 'y%./+-%__p_%'`
9160 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9161 echo $ac_n "(cached) $ac_c" 1>&6
9163 ac_save_LIBS
="$LIBS"
9165 cat > conftest.
$ac_ext <<EOF
9166 #line 9167 "configure"
9167 #include "confdefs.h"
9168 /* Override any gcc2 internal prototype to avoid an error. */
9169 /* We use char because int might match the return type of a gcc2
9170 builtin and then its argument prototype would still apply. */
9177 if { (eval echo configure
:9178: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9179 eval "ac_cv_lib_$ac_lib_var=yes"
9181 echo "configure: failed program was:" >&5
9182 cat conftest.
$ac_ext >&5
9184 eval "ac_cv_lib_$ac_lib_var=no"
9187 LIBS
="$ac_save_LIBS"
9190 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9191 echo "$ac_t""yes" 1>&6
9192 cat >> confdefs.h
<<\EOF
9197 echo "$ac_t""no" 1>&6
9202 if test "$wxUSE_MGL" = 1; then
9204 echo $ac_n "checking for SciTech MGL library""... $ac_c" 1>&6
9205 echo "configure:9206: checking for SciTech MGL library" >&5
9206 if test "x$MGL_ROOT" = x
; then
9207 echo "$ac_t""not found" 1>&6
9208 { echo "configure: error: Cannot find MGL library. Make sure MGL_ROOT is set." 1>&2; exit 1; }
9210 echo "$ac_t""$MGL_ROOT" 1>&6
9213 MGL_OS
=linux
/gcc
/glibc
9216 if test "$wxUSE_DEBUG_FLAG" = yes ; then
9217 if test -f $MGL_ROOT/lib
/debug
/$MGL_OS/libmgl.a
; then
9221 if test "x$MGL_LIB_TYPE" = x
; then
9222 if test -f $MGL_ROOT/lib
/release
/$MGL_OS/libmgl.a
; then
9223 MGL_LIB_TYPE
=release
9225 { echo "configure: error: Cannot find MGL libraries, make sure they are compiled." 1>&2; exit 1; }
9229 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
9230 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$MGL_LIB_TYPE/$MGL_OS -lmgl -lmglcpp -lpm"
9232 AFMINSTALL
=afminstall
9237 if test "$wxUSE_WINE" = 1; then
9238 echo $ac_n "checking for WINE includes""... $ac_c" 1>&6
9239 echo "configure:9240: checking for WINE includes" >&5
9242 for ac_dir
in $SEARCH_INCLUDE;
9244 if test -f "$ac_dir/windows.h"; then
9245 ac_find_includes
=$ac_dir
9250 if test "$ac_find_includes" != "" ; then
9251 echo "$ac_t""found $ac_find_includes" 1>&6
9252 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE -I$ac_find_includes"
9254 echo "$ac_t""no" 1>&6
9255 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
9259 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
9260 echo "configure:9261: checking for Xpm library" >&5
9263 for ac_dir
in $SEARCH_LIB;
9265 for ac_extension
in a so sl
; do
9266 if test -f "$ac_dir/libXpm.$ac_extension"; then
9267 ac_find_libraries
=$ac_dir
9273 if test "$ac_find_libraries" != "" ; then
9274 GUI_TK_LIBRARY
="-L$ac_find_libraries"
9276 cat >> confdefs.h
<<\EOF
9277 #define wxHAVE_LIB_XPM 1
9280 echo "$ac_t""found at $ac_find_libraries" 1>&6
9282 echo "$ac_t""no" 1>&6
9283 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
9287 echo $ac_n "checking for Mesa library""... $ac_c" 1>&6
9288 echo "configure:9289: checking for Mesa library" >&5
9291 for ac_dir
in $SEARCH_LIB;
9293 for ac_extension
in a so sl
; do
9294 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
9295 ac_find_libraries
=$ac_dir
9301 if test "$ac_find_libraries" != "" ; then
9302 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -L$ac_find_libraries"
9303 MESA_LINK
="-lMesaGL"
9304 echo "$ac_t""found at $ac_find_libraries" 1>&6
9306 { echo "configure: error: no" 1>&2; exit 1; }
9309 GUI_TK_LINK
="-lwine $MESA_LINK $XPM_LINK -lXxf86dga -lXxf86vm -lSM -lICE -lXext -lXmu -lX11 -lncurses"
9310 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GUI_TK_LINK"
9317 # If we find X, set shell vars x_includes and x_libraries to the
9318 # paths, otherwise set no_x=yes.
9319 # Uses ac_ vars as temps to allow command line to override cache and checks.
9320 # --without-x overrides everything else, but does not touch the cache.
9321 echo $ac_n "checking for X""... $ac_c" 1>&6
9322 echo "configure:9323: checking for X" >&5
9324 # Check whether --with-x or --without-x was given.
9325 if test "${with_x+set}" = set; then
9330 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9331 if test "x$with_x" = xno
; then
9332 # The user explicitly disabled X.
9335 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
9336 # Both variables are already set.
9339 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
9340 echo $ac_n "(cached) $ac_c" 1>&6
9342 # One or both of the vars are not set, and there is no cached value.
9343 ac_x_includes
=NO ac_x_libraries
=NO
9345 if mkdir conftestdir
; then
9347 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
9348 cat > Imakefile
<<'EOF'
9350 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
9352 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
9353 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
9354 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
9355 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9356 for ac_extension
in a so sl
; do
9357 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
9358 test -f $ac_im_libdir/libX11.
$ac_extension; then
9359 ac_im_usrlibdir
=$ac_im_libdir; break
9362 # Screen out bogus values from the imake configuration. They are
9363 # bogus both because they are the default anyway, and because
9364 # using them would break gcc on systems where it needs fixed includes.
9365 case "$ac_im_incroot" in
9367 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;;
9369 case "$ac_im_usrlibdir" in
9371 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;;
9378 if test "$ac_x_includes" = NO
; then
9379 # Guess where to find include files, by looking for this one X11 .h file.
9380 test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
9382 # First, try using that file with no special directory specified.
9383 cat > conftest.
$ac_ext <<EOF
9384 #line 9385 "configure"
9385 #include "confdefs.h"
9386 #include <$x_direct_test_include>
9388 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9389 { (eval echo configure
:9390: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9390 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9391 if test -z "$ac_err"; then
9393 # We can compile using X headers with no special include directory.
9397 echo "configure: failed program was:" >&5
9398 cat conftest.
$ac_ext >&5
9400 # Look for the header file in a standard set of common directories.
9401 # Check X11 before X11Rn because it is often a symlink to the current release.
9404 /usr
/X
11R
6/include \
9405 /usr
/X
11R
5/include \
9406 /usr
/X
11R
4/include \
9409 /usr
/include
/X11R6 \
9410 /usr
/include
/X11R5 \
9411 /usr
/include
/X11R4 \
9413 /usr
/local
/X
11/include \
9414 /usr
/local
/X
11R
6/include \
9415 /usr
/local
/X
11R
5/include \
9416 /usr
/local
/X
11R
4/include \
9418 /usr
/local
/include
/X11 \
9419 /usr
/local
/include
/X11R6 \
9420 /usr
/local
/include
/X11R5 \
9421 /usr
/local
/include
/X11R4 \
9425 /usr
/XFree
86/include
/X11 \
9428 /usr
/local
/include \
9429 /usr
/unsupported
/include \
9430 /usr
/athena
/include \
9431 /usr
/local
/x
11r
5/include \
9432 /usr
/lpp
/Xamples
/include \
9434 /usr
/openwin
/include \
9435 /usr
/openwin
/share
/include \
9438 if test -r "$ac_dir/$x_direct_test_include"; then
9439 ac_x_includes
=$ac_dir
9445 fi # $ac_x_includes = NO
9447 if test "$ac_x_libraries" = NO
; then
9448 # Check for the libraries.
9450 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
9451 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
9453 # See if we find them without any special options.
9454 # Don't add to $LIBS permanently.
9455 ac_save_LIBS
="$LIBS"
9456 LIBS
="-l$x_direct_test_library $LIBS"
9457 cat > conftest.
$ac_ext <<EOF
9458 #line 9459 "configure"
9459 #include "confdefs.h"
9462 ${x_direct_test_function}()
9465 if { (eval echo configure
:9466: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9467 LIBS
="$ac_save_LIBS"
9468 # We can link X programs with no special library path.
9471 echo "configure: failed program was:" >&5
9472 cat conftest.
$ac_ext >&5
9474 LIBS
="$ac_save_LIBS"
9475 # First see if replacing the include by lib works.
9476 # Check X11 before X11Rn because it is often a symlink to the current release.
9477 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib/` \
9488 /usr
/local
/X
11/lib \
9489 /usr
/local
/X
11R
6/lib \
9490 /usr
/local
/X
11R
5/lib \
9491 /usr
/local
/X
11R
4/lib \
9493 /usr
/local
/lib
/X11 \
9494 /usr
/local
/lib
/X11R6 \
9495 /usr
/local
/lib
/X11R5 \
9496 /usr
/local
/lib
/X11R4 \
9500 /usr
/XFree
86/lib
/X11 \
9504 /usr
/unsupported
/lib \
9506 /usr
/local
/x
11r
5/lib \
9507 /usr
/lpp
/Xamples
/lib \
9511 /usr
/openwin
/share
/lib \
9514 for ac_extension
in a so sl
; do
9515 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
9516 ac_x_libraries
=$ac_dir
9523 fi # $ac_x_libraries = NO
9525 if test "$ac_x_includes" = NO
|| test "$ac_x_libraries" = NO
; then
9526 # Didn't find X anywhere. Cache the known absence of X.
9527 ac_cv_have_x
="have_x=no"
9529 # Record where we found X for the cache.
9530 ac_cv_have_x
="have_x=yes \
9531 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
9535 eval "$ac_cv_have_x"
9538 if test "$have_x" != yes; then
9539 echo "$ac_t""$have_x" 1>&6
9542 # If each of the values was on the command line, it overrides each guess.
9543 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
9544 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
9545 # Update the cache value to reflect the command line values.
9546 ac_cv_have_x
="have_x=yes \
9547 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
9548 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
9551 if test "$no_x" = yes; then
9552 # Not all programs may use this symbol, but it does not hurt to define it.
9553 cat >> confdefs.h
<<\EOF
9554 #define X_DISPLAY_MISSING 1
9557 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
9559 if test -n "$x_includes"; then
9560 X_CFLAGS
="$X_CFLAGS -I$x_includes"
9563 # It would also be nice to do this for all -L options, not just this one.
9564 if test -n "$x_libraries"; then
9565 X_LIBS
="$X_LIBS -L$x_libraries"
9566 # For Solaris; some versions of Sun CC require a space after -R and
9567 # others require no space. Words are not sufficient . . . .
9568 case "`(uname -sr) 2>/dev/null`" in
9570 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
9571 echo "configure:9572: checking whether -R must be followed by a space" >&5
9572 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
9573 cat > conftest.
$ac_ext <<EOF
9574 #line 9575 "configure"
9575 #include "confdefs.h"
9581 if { (eval echo configure
:9582: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9585 echo "configure: failed program was:" >&5
9586 cat conftest.
$ac_ext >&5
9591 if test $ac_R_nospace = yes; then
9592 echo "$ac_t""no" 1>&6
9593 X_LIBS
="$X_LIBS -R$x_libraries"
9595 LIBS
="$ac_xsave_LIBS -R $x_libraries"
9596 cat > conftest.
$ac_ext <<EOF
9597 #line 9598 "configure"
9598 #include "confdefs.h"
9604 if { (eval echo configure
:9605: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9608 echo "configure: failed program was:" >&5
9609 cat conftest.
$ac_ext >&5
9614 if test $ac_R_space = yes; then
9615 echo "$ac_t""yes" 1>&6
9616 X_LIBS
="$X_LIBS -R $x_libraries"
9618 echo "$ac_t""neither works" 1>&6
9621 LIBS
="$ac_xsave_LIBS"
9625 # Check for system-dependent libraries X programs must link with.
9626 # Do this before checking for the system-independent R6 libraries
9627 # (-lICE), since we may need -lsocket or whatever for X linking.
9629 if test "$ISC" = yes; then
9630 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
9632 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
9633 # libraries were built with DECnet support. And karl@cs.umb.edu says
9634 # the Alpha needs dnet_stub (dnet does not exist).
9635 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
9636 echo "configure:9637: checking for dnet_ntoa in -ldnet" >&5
9637 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
9638 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9639 echo $ac_n "(cached) $ac_c" 1>&6
9641 ac_save_LIBS
="$LIBS"
9643 cat > conftest.
$ac_ext <<EOF
9644 #line 9645 "configure"
9645 #include "confdefs.h"
9646 /* Override any gcc2 internal prototype to avoid an error. */
9647 /* We use char because int might match the return type of a gcc2
9648 builtin and then its argument prototype would still apply. */
9655 if { (eval echo configure
:9656: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9657 eval "ac_cv_lib_$ac_lib_var=yes"
9659 echo "configure: failed program was:" >&5
9660 cat conftest.
$ac_ext >&5
9662 eval "ac_cv_lib_$ac_lib_var=no"
9665 LIBS
="$ac_save_LIBS"
9668 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9669 echo "$ac_t""yes" 1>&6
9670 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
9672 echo "$ac_t""no" 1>&6
9675 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
9676 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
9677 echo "configure:9678: checking for dnet_ntoa in -ldnet_stub" >&5
9678 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
9679 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9680 echo $ac_n "(cached) $ac_c" 1>&6
9682 ac_save_LIBS
="$LIBS"
9683 LIBS
="-ldnet_stub $LIBS"
9684 cat > conftest.
$ac_ext <<EOF
9685 #line 9686 "configure"
9686 #include "confdefs.h"
9687 /* Override any gcc2 internal prototype to avoid an error. */
9688 /* We use char because int might match the return type of a gcc2
9689 builtin and then its argument prototype would still apply. */
9696 if { (eval echo configure
:9697: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9698 eval "ac_cv_lib_$ac_lib_var=yes"
9700 echo "configure: failed program was:" >&5
9701 cat conftest.
$ac_ext >&5
9703 eval "ac_cv_lib_$ac_lib_var=no"
9706 LIBS
="$ac_save_LIBS"
9709 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9710 echo "$ac_t""yes" 1>&6
9711 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
9713 echo "$ac_t""no" 1>&6
9718 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9719 # to get the SysV transport functions.
9720 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
9722 # The nsl library prevents programs from opening the X display
9723 # on Irix 5.2, according to dickey@clark.net.
9724 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
9725 echo "configure:9726: checking for gethostbyname" >&5
9726 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
9727 echo $ac_n "(cached) $ac_c" 1>&6
9729 cat > conftest.
$ac_ext <<EOF
9730 #line 9731 "configure"
9731 #include "confdefs.h"
9732 /* System header to define __stub macros and hopefully few prototypes,
9733 which can conflict with char gethostbyname(); below. */
9735 /* Override any gcc2 internal prototype to avoid an error. */
9736 /* We use char because int might match the return type of a gcc2
9737 builtin and then its argument prototype would still apply. */
9738 char gethostbyname();
9742 /* The GNU C library defines this for functions which it implements
9743 to always fail with ENOSYS. Some functions are actually named
9744 something starting with __ and the normal name is an alias. */
9745 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
9753 if { (eval echo configure
:9754: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9755 eval "ac_cv_func_gethostbyname=yes"
9757 echo "configure: failed program was:" >&5
9758 cat conftest.
$ac_ext >&5
9760 eval "ac_cv_func_gethostbyname=no"
9765 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
9766 echo "$ac_t""yes" 1>&6
9769 echo "$ac_t""no" 1>&6
9772 if test $ac_cv_func_gethostbyname = no
; then
9773 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
9774 echo "configure:9775: checking for gethostbyname in -lnsl" >&5
9775 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
9776 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9777 echo $ac_n "(cached) $ac_c" 1>&6
9779 ac_save_LIBS
="$LIBS"
9781 cat > conftest.
$ac_ext <<EOF
9782 #line 9783 "configure"
9783 #include "confdefs.h"
9784 /* Override any gcc2 internal prototype to avoid an error. */
9785 /* We use char because int might match the return type of a gcc2
9786 builtin and then its argument prototype would still apply. */
9787 char gethostbyname();
9793 if { (eval echo configure
:9794: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9795 eval "ac_cv_lib_$ac_lib_var=yes"
9797 echo "configure: failed program was:" >&5
9798 cat conftest.
$ac_ext >&5
9800 eval "ac_cv_lib_$ac_lib_var=no"
9803 LIBS
="$ac_save_LIBS"
9806 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9807 echo "$ac_t""yes" 1>&6
9808 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
9810 echo "$ac_t""no" 1>&6
9815 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9816 # socket/setsockopt and other routines are undefined under SCO ODT
9817 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9818 # on later versions), says simon@lia.di.epfl.ch: it contains
9819 # gethostby* variants that don't use the nameserver (or something).
9820 # -lsocket must be given before -lnsl if both are needed.
9821 # We assume that if connect needs -lnsl, so does gethostbyname.
9822 echo $ac_n "checking for connect""... $ac_c" 1>&6
9823 echo "configure:9824: checking for connect" >&5
9824 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
9825 echo $ac_n "(cached) $ac_c" 1>&6
9827 cat > conftest.
$ac_ext <<EOF
9828 #line 9829 "configure"
9829 #include "confdefs.h"
9830 /* System header to define __stub macros and hopefully few prototypes,
9831 which can conflict with char connect(); below. */
9833 /* Override any gcc2 internal prototype to avoid an error. */
9834 /* We use char because int might match the return type of a gcc2
9835 builtin and then its argument prototype would still apply. */
9840 /* The GNU C library defines this for functions which it implements
9841 to always fail with ENOSYS. Some functions are actually named
9842 something starting with __ and the normal name is an alias. */
9843 #if defined (__stub_connect) || defined (__stub___connect)
9851 if { (eval echo configure
:9852: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9853 eval "ac_cv_func_connect=yes"
9855 echo "configure: failed program was:" >&5
9856 cat conftest.
$ac_ext >&5
9858 eval "ac_cv_func_connect=no"
9863 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
9864 echo "$ac_t""yes" 1>&6
9867 echo "$ac_t""no" 1>&6
9870 if test $ac_cv_func_connect = no
; then
9871 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
9872 echo "configure:9873: checking for connect in -lsocket" >&5
9873 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
9874 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9875 echo $ac_n "(cached) $ac_c" 1>&6
9877 ac_save_LIBS
="$LIBS"
9878 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
9879 cat > conftest.
$ac_ext <<EOF
9880 #line 9881 "configure"
9881 #include "confdefs.h"
9882 /* Override any gcc2 internal prototype to avoid an error. */
9883 /* We use char because int might match the return type of a gcc2
9884 builtin and then its argument prototype would still apply. */
9891 if { (eval echo configure
:9892: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9893 eval "ac_cv_lib_$ac_lib_var=yes"
9895 echo "configure: failed program was:" >&5
9896 cat conftest.
$ac_ext >&5
9898 eval "ac_cv_lib_$ac_lib_var=no"
9901 LIBS
="$ac_save_LIBS"
9904 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9905 echo "$ac_t""yes" 1>&6
9906 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
9908 echo "$ac_t""no" 1>&6
9913 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
9914 echo $ac_n "checking for remove""... $ac_c" 1>&6
9915 echo "configure:9916: checking for remove" >&5
9916 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
9917 echo $ac_n "(cached) $ac_c" 1>&6
9919 cat > conftest.
$ac_ext <<EOF
9920 #line 9921 "configure"
9921 #include "confdefs.h"
9922 /* System header to define __stub macros and hopefully few prototypes,
9923 which can conflict with char remove(); below. */
9925 /* Override any gcc2 internal prototype to avoid an error. */
9926 /* We use char because int might match the return type of a gcc2
9927 builtin and then its argument prototype would still apply. */
9932 /* The GNU C library defines this for functions which it implements
9933 to always fail with ENOSYS. Some functions are actually named
9934 something starting with __ and the normal name is an alias. */
9935 #if defined (__stub_remove) || defined (__stub___remove)
9943 if { (eval echo configure
:9944: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9945 eval "ac_cv_func_remove=yes"
9947 echo "configure: failed program was:" >&5
9948 cat conftest.
$ac_ext >&5
9950 eval "ac_cv_func_remove=no"
9955 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
9956 echo "$ac_t""yes" 1>&6
9959 echo "$ac_t""no" 1>&6
9962 if test $ac_cv_func_remove = no
; then
9963 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
9964 echo "configure:9965: checking for remove in -lposix" >&5
9965 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
9966 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9967 echo $ac_n "(cached) $ac_c" 1>&6
9969 ac_save_LIBS
="$LIBS"
9970 LIBS
="-lposix $LIBS"
9971 cat > conftest.
$ac_ext <<EOF
9972 #line 9973 "configure"
9973 #include "confdefs.h"
9974 /* Override any gcc2 internal prototype to avoid an error. */
9975 /* We use char because int might match the return type of a gcc2
9976 builtin and then its argument prototype would still apply. */
9983 if { (eval echo configure
:9984: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9985 eval "ac_cv_lib_$ac_lib_var=yes"
9987 echo "configure: failed program was:" >&5
9988 cat conftest.
$ac_ext >&5
9990 eval "ac_cv_lib_$ac_lib_var=no"
9993 LIBS
="$ac_save_LIBS"
9996 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9997 echo "$ac_t""yes" 1>&6
9998 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
10000 echo "$ac_t""no" 1>&6
10005 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
10006 echo $ac_n "checking for shmat""... $ac_c" 1>&6
10007 echo "configure:10008: checking for shmat" >&5
10008 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
10009 echo $ac_n "(cached) $ac_c" 1>&6
10011 cat > conftest.
$ac_ext <<EOF
10012 #line 10013 "configure"
10013 #include "confdefs.h"
10014 /* System header to define __stub macros and hopefully few prototypes,
10015 which can conflict with char shmat(); below. */
10016 #include <assert.h>
10017 /* Override any gcc2 internal prototype to avoid an error. */
10018 /* We use char because int might match the return type of a gcc2
10019 builtin and then its argument prototype would still apply. */
10024 /* The GNU C library defines this for functions which it implements
10025 to always fail with ENOSYS. Some functions are actually named
10026 something starting with __ and the normal name is an alias. */
10027 #if defined (__stub_shmat) || defined (__stub___shmat)
10035 if { (eval echo configure
:10036: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10037 eval "ac_cv_func_shmat=yes"
10039 echo "configure: failed program was:" >&5
10040 cat conftest.
$ac_ext >&5
10042 eval "ac_cv_func_shmat=no"
10047 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
10048 echo "$ac_t""yes" 1>&6
10051 echo "$ac_t""no" 1>&6
10054 if test $ac_cv_func_shmat = no
; then
10055 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
10056 echo "configure:10057: checking for shmat in -lipc" >&5
10057 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
10058 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10059 echo $ac_n "(cached) $ac_c" 1>&6
10061 ac_save_LIBS
="$LIBS"
10063 cat > conftest.
$ac_ext <<EOF
10064 #line 10065 "configure"
10065 #include "confdefs.h"
10066 /* Override any gcc2 internal prototype to avoid an error. */
10067 /* We use char because int might match the return type of a gcc2
10068 builtin and then its argument prototype would still apply. */
10075 if { (eval echo configure
:10076: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10077 eval "ac_cv_lib_$ac_lib_var=yes"
10079 echo "configure: failed program was:" >&5
10080 cat conftest.
$ac_ext >&5
10082 eval "ac_cv_lib_$ac_lib_var=no"
10085 LIBS
="$ac_save_LIBS"
10088 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10089 echo "$ac_t""yes" 1>&6
10090 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
10092 echo "$ac_t""no" 1>&6
10098 # Check for libraries that X11R6 Xt/Xaw programs need.
10099 ac_save_LDFLAGS
="$LDFLAGS"
10100 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
10101 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
10102 # check for ICE first), but we must link in the order -lSM -lICE or
10103 # we get undefined symbols. So assume we have SM if we have ICE.
10104 # These have to be linked with before -lX11, unlike the other
10105 # libraries we check for below, so use a different variable.
10106 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
10107 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
10108 echo "configure:10109: checking for IceConnectionNumber in -lICE" >&5
10109 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
10110 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10111 echo $ac_n "(cached) $ac_c" 1>&6
10113 ac_save_LIBS
="$LIBS"
10114 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
10115 cat > conftest.
$ac_ext <<EOF
10116 #line 10117 "configure"
10117 #include "confdefs.h"
10118 /* Override any gcc2 internal prototype to avoid an error. */
10119 /* We use char because int might match the return type of a gcc2
10120 builtin and then its argument prototype would still apply. */
10121 char IceConnectionNumber();
10124 IceConnectionNumber()
10127 if { (eval echo configure
:10128: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10129 eval "ac_cv_lib_$ac_lib_var=yes"
10131 echo "configure: failed program was:" >&5
10132 cat conftest.
$ac_ext >&5
10134 eval "ac_cv_lib_$ac_lib_var=no"
10137 LIBS
="$ac_save_LIBS"
10140 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10141 echo "$ac_t""yes" 1>&6
10142 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
10144 echo "$ac_t""no" 1>&6
10147 LDFLAGS
="$ac_save_LDFLAGS"
10151 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
10152 LDFLAGS
="$LDFLAGS $X_LIBS"
10154 if test "$wxUSE_MOTIF" = 1; then
10155 if test "$no_x" = "yes"; then
10156 { echo "configure: error: X11 not found" 1>&2; exit 1; }
10159 GUI_TK_LIBRARY
="$X_LIBS"
10160 TOOLKIT_INCLUDE
="$X_CFLAGS"
10162 AFMINSTALL
=afminstall
10165 COMPILED_X_PROGRAM
=0
10167 echo $ac_n "checking for Motif/Lesstif headers""... $ac_c" 1>&6
10168 echo "configure:10169: checking for Motif/Lesstif headers" >&5
10171 for ac_dir
in $SEARCH_INCLUDE;
10173 if test -f "$ac_dir/Xm/Xm.h"; then
10174 ac_find_includes
=$ac_dir
10179 if test "$ac_find_includes" != "" ; then
10180 echo "$ac_t""found $ac_find_includes" 1>&6
10182 cat > conftest.
$ac_ext <<EOF
10183 #line 10184 "configure"
10184 #include "confdefs.h"
10192 version = xmUseVersion;
10196 if { (eval echo configure
:10197: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10199 echo "$ac_t""found in default search path" 1>&6
10200 COMPILED_X_PROGRAM
=1
10203 echo "configure: failed program was:" >&5
10204 cat conftest.
$ac_ext >&5
10207 echo "$ac_t""no" 1>&6
10208 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
10215 if test "$COMPILED_X_PROGRAM" = 0; then
10216 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
10217 echo "configure:10218: checking for Motif/Lesstif library" >&5
10220 for ac_dir
in $SEARCH_LIB;
10222 for ac_extension
in a so sl
; do
10223 if test -f "$ac_dir/libXm.$ac_extension"; then
10224 ac_find_libraries
=$ac_dir
10230 if test "$ac_find_libraries" != "" ; then
10232 ac_path_to_include
=$ac_find_includes
10233 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
10235 if test $result = 0; then
10236 ac_path_to_include
=""
10238 ac_path_to_include
="-I$ac_find_includes"
10242 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
10244 if test $result = 0; then
10247 ac_path_to_link
="-L$ac_find_libraries"
10251 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
10252 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE $ac_path_to_include"
10253 echo "$ac_t""found at $ac_find_libraries" 1>&6
10255 cat > conftest.
$ac_ext <<EOF
10256 #line 10257 "configure"
10257 #include "confdefs.h"
10265 version = xmUseVersion;
10269 if { (eval echo configure
:10270: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10272 echo "$ac_t""found in default search path" 1>&6
10273 COMPILED_X_PROGRAM
=1
10276 echo "configure: failed program was:" >&5
10277 cat conftest.
$ac_ext >&5
10280 echo "$ac_t""no" 1>&6
10281 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
10291 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
10292 echo "configure:10293: checking for Xpm library" >&5
10295 for ac_dir
in $SEARCH_LIB;
10297 for ac_extension
in a so sl
; do
10298 if test -f "$ac_dir/libXpm.$ac_extension"; then
10299 ac_find_libraries
=$ac_dir
10305 if test "$ac_find_libraries" != "" ; then
10307 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
10309 if test $result = 0; then
10312 ac_path_to_link
="-L$ac_find_libraries"
10315 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
10317 cat >> confdefs.h
<<\EOF
10318 #define wxHAVE_LIB_XPM 1
10321 echo "$ac_t""found at $ac_find_libraries" 1>&6
10323 cat > conftest.
$ac_ext <<EOF
10324 #line 10325 "configure"
10325 #include "confdefs.h"
10327 #include <X11/xpm.h>
10333 version = XpmLibraryVersion();
10337 if { (eval echo configure
:10338: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10341 cat >> confdefs.h
<<\EOF
10342 #define wxHAVE_LIB_XPM 1
10345 echo "$ac_t""found in default search path" 1>&6
10346 COMPILED_X_PROGRAM
=0
10349 echo "configure: failed program was:" >&5
10350 cat conftest.
$ac_ext >&5
10353 echo "$ac_t""no" 1>&6
10354 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
10361 GUI_TK_LINK
="-lXm $XPM_LINK -lXmu -lXext -lXt -lX11"
10362 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GUI_TK_LINK"
10367 if test "$wxUSE_MAC" = 1; then
10372 if test "$wxUSE_PM" = 1; then
10377 if test "$TOOLKIT" != "PM" ; then
10378 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
10383 TOOLKIT_NAME
="${TOOLKIT_DIR}"
10385 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}"
10387 if test "$TOOLKIT_NAME" = "motif"; then
10388 TOOLKIT_VPATH
="${TOOLKIT_VPATH}${PATH_IFS}\${top_srcdir}/src/motif/xmcombo"
10391 if test "$wxUSE_UNIVERSAL" = "yes"; then
10392 TOOLKIT_NAME
="${TOOLKIT_NAME}univ"
10393 UNIV_VPATH
="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
10394 TOOLKIT_VPATH
="${UNIV_VPATH}${PATH_IFS}${TOOLKIT_VPATH}"
10397 SETUPH_DIR
="${TOOLKIT_DIR}"
10400 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
10401 TOOLKIT_NAME
="${TOOLKIT_NAME}d"
10404 TOOLKIT_DEF
="-D__WX${TOOLKIT}__"
10405 if test "$wxUSE_UNIVERSAL" = "yes"; then
10406 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WXUNIVERSAL__"
10409 WX_LIBRARY
="wx_${TOOLKIT_NAME}"
10411 if test "$wxUSE_UNIVERSAL" = "yes"; then
10412 ALL_OBJECTS
="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
10414 ALL_OBJECTS
="\$(GUIOBJS)"
10417 ALL_OBJECTS
="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
10419 if test "$TOOLKIT" != "MSW"; then
10420 ALL_OBJECTS
="${ALL_OBJECTS} \$(UNIXOBJS)"
10423 if test "$wxUSE_HTML" = "yes"; then
10424 ALL_OBJECTS
="${ALL_OBJECTS} \$(HTMLOBJS)"
10427 if test "$TOOLKIT" != "MSW"; then
10428 if test "$wxUSE_ODBC" = "yes" ; then
10429 ALL_OBJECTS
="${ALL_OBJECTS} \$(IODBCOBJS)"
10433 if test "$wxUSE_LIBJPEG" = "yes" ; then
10434 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
10436 if test "$wxUSE_LIBTIFF" = "yes" ; then
10437 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
10439 if test "$wxUSE_LIBPNG" = "yes" ; then
10440 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
10442 if test "$wxUSE_ZLIB" = "yes" ; then
10443 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
10445 if test "$wxUSE_FREETYPE" = "yes" ; then
10446 ALL_OBJECTS
="${ALL_OBJECTS} \$(FREETYPEOBJS)"
10449 if test "$wxUSE_UNIVERSAL" = "yes"; then
10450 ALL_DEPFILES
="\$(GUI_LOWLEVEL_DEPS) \$(UNIVDEPS)"
10452 ALL_DEPFILES
="\$(GUIDEPS)"
10455 ALL_DEPFILES
="${ALL_DEPFILES} \$(COMMONDEPS) \$(GENERICDEPS)"
10457 if test "$TOOLKIT" != "MSW"; then
10458 ALL_DEPFILES
="${ALL_DEPFILES} \$(UNIXDEPS)"
10461 if test "$wxUSE_HTML" = "yes"; then
10462 ALL_DEPFILES
="${ALL_DEPFILES} \$(HTMLDEPS)"
10465 PORT_FILES
="src/\$(TOOLKITDIR)/files.lst"
10466 if test "$wxUSE_UNIVERSAL" = "yes"; then
10467 PORT_FILES
="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
10469 RPM_FILES
="src/\$(TOOLKITDIR)/rpmfiles.lst"
10470 RPM_SPEC
="wx\$(TOOLKIT).spec"
10472 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
10473 DISTDIR
="wx\$(TOOLKIT)"
10479 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
10480 TOOLKIT_NAME
="${TOOLKIT_DIR}d"
10482 TOOLKIT_NAME
="${TOOLKIT_DIR}"
10485 TOOLKIT_DEF
="-D__WXBASE__"
10487 ALL_OBJECTS
="\$(BASE_OBJS) \$(BASE_UNIX_OBJS)"
10488 ALL_DEPFILES
="\$(BASE_DEPS) \$(BASE_UNIX_DEPS)"
10490 if test "$wxUSE_ZLIB" = "yes" ; then
10491 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
10494 WX_LIBRARY
="wx_${TOOLKIT_NAME}"
10496 PORT_FILES
="src/files.lst"
10497 RPM_FILES
="src/rpmfiles.lst"
10498 RPM_SPEC
="wxBase.spec"
10500 GUIDIST
="BASE_DIST"
10504 WX_LIBRARY_NAME
="lib${WX_LIBRARY}.la"
10505 WX_LIBRARY_NAME_GL
="lib${WX_LIBRARY}_gl.la"
10507 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
10508 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY}_gl.a"
10510 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}-${WX_RELEASE}.so.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
10511 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.so.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
10513 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}-${WX_RELEASE}.so.${WX_CURRENT}"
10514 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}-${WX_RELEASE}.so"
10515 WX_LIBRARY_LINK3
="lib${WX_LIBRARY}.so"
10516 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.so.${WX_CURRENT}"
10517 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.so"
10518 WX_LIBRARY_LINK3_GL
="lib${WX_LIBRARY}_gl.so"
10524 BURNT_LIBRARY_NAME
=
10525 WX_TARGET_LIBRARY_SONAME
=
10528 if test "$wxUSE_SHARED" = "yes"; then
10531 if test "$GCC" = yes ; then
10532 SHARED_LD
="${CC} -shared -fPIC -o"
10535 LDFLAGS
="-L/usr/lib"
10537 SHARED_LD
="${CXX} -b -o"
10540 WX_LIBRARY_NAME_SHARED
="libwx_${TOOLKIT_NAME}.sl"
10541 WX_LIBRARY_NAME_SHARED_GL
="libwx_${TOOLKIT_NAME}_gl.sl"
10542 if test "$wxUSE_OPENGL" = "yes"; then
10543 WX_ALL_INSTALLED
="preinstall_gl"
10544 WX_ALL
="${WX_LIBRARY_NAME_SHARED} ${WX_LIBRARY_NAME_SHARED_GL}"
10546 WX_ALL
="${WX_LIBRARY_NAME_SHARED}"
10551 SHARED_LD
="${CC} -shared -o"
10553 if test "$wxUSE_BURNT_NAME" = "yes" ; then
10554 BURNT_LIBRARY_NAME
="-Wl,-soname,${WX_LIBRARY_LINK1}"
10555 BURNT_LIBRARY_NAME_GL
="-Wl,-soname,${WX_LIBRARY_LINK1_GL}"
10556 WX_TARGET_LIBRARY_SONAME
="-Wl,-soname,\$(TARGETLIB_LINK1)"
10558 if test "$wxUSE_OPENGL" = "yes"; then
10559 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
10560 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
10562 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10563 WX_ALL
="CREATE_LINKS"
10566 *-*-irix5* | *-*-irix6* )
10567 if test "$GCC" = yes ; then
10568 SHARED_LD
="${CC} -shared -o"
10571 SHARED_LD
="${CXX} -shared -o"
10573 if test "$wxUSE_OPENGL" = "yes"; then
10574 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
10575 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
10577 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10578 WX_ALL
="CREATE_LINKS"
10582 if test "$GCC" = yes ; then
10583 SHARED_LD
="${CC} -shared -o"
10586 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
10588 SHARED_LD
="${CXX} -G -o"
10591 if test "$wxUSE_OPENGL" = "yes"; then
10592 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
10593 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
10595 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10596 WX_ALL
="CREATE_LINKS"
10600 SHARED_LD
="${CC} -shared -o"
10602 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10603 WX_ALL
="CREATE_LINKS"
10605 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* )
10606 SHARED_LD
="${CC} -shared -o"
10608 if test "$wxUSE_OPENGL" = "yes"; then
10609 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
10610 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
10612 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10613 WX_ALL
="CREATE_LINKS"
10617 SHARED_LD
="${CXX} -dynamiclib -o"
10618 PIC_FLAG
="-dynamic -fPIC"
10619 if test "$wxUSE_OPENGL" = "yes"; then
10620 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
10621 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
10623 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10624 WX_ALL
="CREATE_LINKS"
10626 WX_ALL
="${WX_ALL} ./lib/lib${WX_LIBRARY}-${WX_RELEASE}.r"
10627 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}-${WX_RELEASE}.dylib.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
10628 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.dylib.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
10629 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}-${WX_RELEASE}.dylib.${WX_CURRENT}"
10630 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}-${WX_RELEASE}.dylib"
10631 WX_LIBRARY_LINK3
="lib${WX_LIBRARY}.dylib"
10632 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.dylib.${WX_CURRENT}"
10633 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.dylib"
10634 WX_LIBRARY_LINK3_GL
="lib${WX_LIBRARY}_gl.dylib"
10637 SHARED_LD
="${CXX} -shared -o"
10639 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10640 WX_ALL
="CREATE_LINKS"
10643 SHARED_LD
="${CXX} -shared -o"
10645 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10646 WX_ALL
="CREATE_LINKS"
10649 SHARED_LD
="${CC} -shared -o"
10651 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10652 WX_ALL
="CREATE_LINKS"
10655 SHARED_LD
="/usr/lpp/xlC/bin/makeC++SharedLib -p 0 -o"
10656 WX_ALL
=${WX_LIBRARY_NAME_SHARED}
10659 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
10660 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
10661 if test "$wxUSE_OPENGL" = "yes"; then
10662 WX_ALL_INSTALLED
="preinstall_gl"
10663 WX_ALL
="${WX_LIBRARY_NAME_STATIC} ${WX_LIBRARY_NAME_STATIC_GL}"
10665 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
10669 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
10670 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
10671 if test "$wxUSE_OPENGL" = "yes"; then
10672 WX_ALL_INSTALLED
="preinstall_gl"
10673 WX_ALL
="${WX_LIBRARY_NAME_STATIC} ${WX_LIBRARY_NAME_STATIC_GL}"
10675 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
10679 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
10680 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
10683 SHARED_LD
="${LD} -shared -o"
10685 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10686 WX_ALL
="CREATE_LINKS"
10689 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
10692 if test "x$WX_TARGET_LIBRARY" = "x"; then
10693 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
10694 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
10696 WX_TARGET_LIBRARY_TYPE
="so"
10698 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
10699 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
10701 if test "$wxUSE_OPENGL" = "yes"; then
10702 WX_ALL_INSTALLED
="preinstall_gl"
10703 WX_ALL
="${WX_LIBRARY_NAME_STATIC} ${WX_LIBRARY_NAME_STATIC_GL}"
10705 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
10708 if test "$wxUSE_GUI" = "no"; then
10709 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
10712 WX_TARGET_LIBRARY_TYPE
="a"
10716 for ac_hdr
in strings.h
10718 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10719 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10720 echo "configure:10721: checking for $ac_hdr" >&5
10721 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10722 echo $ac_n "(cached) $ac_c" 1>&6
10724 cat > conftest.
$ac_ext <<EOF
10725 #line 10726 "configure"
10726 #include "confdefs.h"
10729 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10730 { (eval echo configure
:10731: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10731 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10732 if test -z "$ac_err"; then
10734 eval "ac_cv_header_$ac_safe=yes"
10737 echo "configure: failed program was:" >&5
10738 cat conftest.
$ac_ext >&5
10740 eval "ac_cv_header_$ac_safe=no"
10744 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10745 echo "$ac_t""yes" 1>&6
10746 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10747 cat >> confdefs.h
<<EOF
10748 #define $ac_tr_hdr 1
10752 echo "$ac_t""no" 1>&6
10756 for ac_hdr
in stdlib.h
10758 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10759 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10760 echo "configure:10761: checking for $ac_hdr" >&5
10761 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10762 echo $ac_n "(cached) $ac_c" 1>&6
10764 cat > conftest.
$ac_ext <<EOF
10765 #line 10766 "configure"
10766 #include "confdefs.h"
10769 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10770 { (eval echo configure
:10771: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10771 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10772 if test -z "$ac_err"; then
10774 eval "ac_cv_header_$ac_safe=yes"
10777 echo "configure: failed program was:" >&5
10778 cat conftest.
$ac_ext >&5
10780 eval "ac_cv_header_$ac_safe=no"
10784 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10785 echo "$ac_t""yes" 1>&6
10786 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10787 cat >> confdefs.h
<<EOF
10788 #define $ac_tr_hdr 1
10792 echo "$ac_t""no" 1>&6
10796 for ac_hdr
in unistd.h
10798 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10799 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10800 echo "configure:10801: checking for $ac_hdr" >&5
10801 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10802 echo $ac_n "(cached) $ac_c" 1>&6
10804 cat > conftest.
$ac_ext <<EOF
10805 #line 10806 "configure"
10806 #include "confdefs.h"
10809 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10810 { (eval echo configure
:10811: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10811 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10812 if test -z "$ac_err"; then
10814 eval "ac_cv_header_$ac_safe=yes"
10817 echo "configure: failed program was:" >&5
10818 cat conftest.
$ac_ext >&5
10820 eval "ac_cv_header_$ac_safe=no"
10824 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10825 echo "$ac_t""yes" 1>&6
10826 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10827 cat >> confdefs.h
<<EOF
10828 #define $ac_tr_hdr 1
10832 echo "$ac_t""no" 1>&6
10836 for ac_hdr
in wchar.h
10838 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10839 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10840 echo "configure:10841: checking for $ac_hdr" >&5
10841 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10842 echo $ac_n "(cached) $ac_c" 1>&6
10844 cat > conftest.
$ac_ext <<EOF
10845 #line 10846 "configure"
10846 #include "confdefs.h"
10849 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10850 { (eval echo configure
:10851: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10851 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10852 if test -z "$ac_err"; then
10854 eval "ac_cv_header_$ac_safe=yes"
10857 echo "configure: failed program was:" >&5
10858 cat conftest.
$ac_ext >&5
10860 eval "ac_cv_header_$ac_safe=no"
10864 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10865 echo "$ac_t""yes" 1>&6
10866 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10867 cat >> confdefs.h
<<EOF
10868 #define $ac_tr_hdr 1
10872 echo "$ac_t""no" 1>&6
10876 for ac_hdr
in wcstr.h
10878 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10879 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10880 echo "configure:10881: checking for $ac_hdr" >&5
10881 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10882 echo $ac_n "(cached) $ac_c" 1>&6
10884 cat > conftest.
$ac_ext <<EOF
10885 #line 10886 "configure"
10886 #include "confdefs.h"
10889 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10890 { (eval echo configure
:10891: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10891 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10892 if test -z "$ac_err"; then
10894 eval "ac_cv_header_$ac_safe=yes"
10897 echo "configure: failed program was:" >&5
10898 cat conftest.
$ac_ext >&5
10900 eval "ac_cv_header_$ac_safe=no"
10904 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10905 echo "$ac_t""yes" 1>&6
10906 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10907 cat >> confdefs.h
<<EOF
10908 #define $ac_tr_hdr 1
10912 echo "$ac_t""no" 1>&6
10916 for ac_hdr
in fnmatch.h
10918 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10919 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10920 echo "configure:10921: checking for $ac_hdr" >&5
10921 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10922 echo $ac_n "(cached) $ac_c" 1>&6
10924 cat > conftest.
$ac_ext <<EOF
10925 #line 10926 "configure"
10926 #include "confdefs.h"
10929 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10930 { (eval echo configure
:10931: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10931 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10932 if test -z "$ac_err"; then
10934 eval "ac_cv_header_$ac_safe=yes"
10937 echo "configure: failed program was:" >&5
10938 cat conftest.
$ac_ext >&5
10940 eval "ac_cv_header_$ac_safe=no"
10944 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10945 echo "$ac_t""yes" 1>&6
10946 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10947 cat >> confdefs.h
<<EOF
10948 #define $ac_tr_hdr 1
10952 echo "$ac_t""no" 1>&6
10956 for ac_hdr
in iconv.h
10958 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10959 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10960 echo "configure:10961: checking for $ac_hdr" >&5
10961 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10962 echo $ac_n "(cached) $ac_c" 1>&6
10964 cat > conftest.
$ac_ext <<EOF
10965 #line 10966 "configure"
10966 #include "confdefs.h"
10969 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10970 { (eval echo configure
:10971: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10971 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10972 if test -z "$ac_err"; then
10974 eval "ac_cv_header_$ac_safe=yes"
10977 echo "configure: failed program was:" >&5
10978 cat conftest.
$ac_ext >&5
10980 eval "ac_cv_header_$ac_safe=no"
10984 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10985 echo "$ac_t""yes" 1>&6
10986 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10987 cat >> confdefs.h
<<EOF
10988 #define $ac_tr_hdr 1
10992 echo "$ac_t""no" 1>&6
10996 for ac_hdr
in langinfo.h
10998 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10999 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11000 echo "configure:11001: checking for $ac_hdr" >&5
11001 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11002 echo $ac_n "(cached) $ac_c" 1>&6
11004 cat > conftest.
$ac_ext <<EOF
11005 #line 11006 "configure"
11006 #include "confdefs.h"
11009 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11010 { (eval echo configure
:11011: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11011 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11012 if test -z "$ac_err"; then
11014 eval "ac_cv_header_$ac_safe=yes"
11017 echo "configure: failed program was:" >&5
11018 cat conftest.
$ac_ext >&5
11020 eval "ac_cv_header_$ac_safe=no"
11024 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11025 echo "$ac_t""yes" 1>&6
11026 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11027 cat >> confdefs.h
<<EOF
11028 #define $ac_tr_hdr 1
11032 echo "$ac_t""no" 1>&6
11037 if test "$wxUSE_GUI" = "yes"; then
11038 if test "$wxUSE_UNIX" = "yes"; then
11039 for ac_hdr
in X
11/XKBlib.h
11041 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11042 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11043 echo "configure:11044: checking for $ac_hdr" >&5
11044 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11045 echo $ac_n "(cached) $ac_c" 1>&6
11047 cat > conftest.
$ac_ext <<EOF
11048 #line 11049 "configure"
11049 #include "confdefs.h"
11052 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11053 { (eval echo configure
:11054: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11054 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11055 if test -z "$ac_err"; then
11057 eval "ac_cv_header_$ac_safe=yes"
11060 echo "configure: failed program was:" >&5
11061 cat conftest.
$ac_ext >&5
11063 eval "ac_cv_header_$ac_safe=no"
11067 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11068 echo "$ac_t""yes" 1>&6
11069 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11070 cat >> confdefs.h
<<EOF
11071 #define $ac_tr_hdr 1
11075 echo "$ac_t""no" 1>&6
11083 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
11084 echo "configure:11085: checking for ANSI C header files" >&5
11085 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
11086 echo $ac_n "(cached) $ac_c" 1>&6
11088 cat > conftest.
$ac_ext <<EOF
11089 #line 11090 "configure"
11090 #include "confdefs.h"
11091 #include <stdlib.h>
11092 #include <stdarg.h>
11093 #include <string.h>
11096 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11097 { (eval echo configure
:11098: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11098 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11099 if test -z "$ac_err"; then
11101 ac_cv_header_stdc
=yes
11104 echo "configure: failed program was:" >&5
11105 cat conftest.
$ac_ext >&5
11107 ac_cv_header_stdc
=no
11111 if test $ac_cv_header_stdc = yes; then
11112 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11113 cat > conftest.
$ac_ext <<EOF
11114 #line 11115 "configure"
11115 #include "confdefs.h"
11116 #include <string.h>
11118 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11119 egrep "memchr" >/dev
/null
2>&1; then
11123 ac_cv_header_stdc
=no
11129 if test $ac_cv_header_stdc = yes; then
11130 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
11131 cat > conftest.
$ac_ext <<EOF
11132 #line 11133 "configure"
11133 #include "confdefs.h"
11134 #include <stdlib.h>
11136 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11137 egrep "free" >/dev
/null
2>&1; then
11141 ac_cv_header_stdc
=no
11147 if test $ac_cv_header_stdc = yes; then
11148 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
11149 if test "$cross_compiling" = yes; then
11152 cat > conftest.
$ac_ext <<EOF
11153 #line 11154 "configure"
11154 #include "confdefs.h"
11156 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
11157 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
11158 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
11159 int main () { int i; for (i = 0; i < 256; i++)
11160 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
11164 if { (eval echo configure
:11165: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11168 echo "configure: failed program was:" >&5
11169 cat conftest.
$ac_ext >&5
11171 ac_cv_header_stdc
=no
11179 echo "$ac_t""$ac_cv_header_stdc" 1>&6
11180 if test $ac_cv_header_stdc = yes; then
11181 cat >> confdefs.h
<<\EOF
11182 #define STDC_HEADERS 1
11187 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
11188 echo "configure:11189: checking for mode_t" >&5
11189 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
11190 echo $ac_n "(cached) $ac_c" 1>&6
11192 cat > conftest.
$ac_ext <<EOF
11193 #line 11194 "configure"
11194 #include "confdefs.h"
11195 #include <sys/types.h>
11197 #include <stdlib.h>
11198 #include <stddef.h>
11201 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11202 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
11204 ac_cv_type_mode_t
=yes
11207 ac_cv_type_mode_t
=no
11212 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
11213 if test $ac_cv_type_mode_t = no
; then
11214 cat >> confdefs.h
<<\EOF
11220 echo $ac_n "checking for off_t""... $ac_c" 1>&6
11221 echo "configure:11222: checking for off_t" >&5
11222 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
11223 echo $ac_n "(cached) $ac_c" 1>&6
11225 cat > conftest.
$ac_ext <<EOF
11226 #line 11227 "configure"
11227 #include "confdefs.h"
11228 #include <sys/types.h>
11230 #include <stdlib.h>
11231 #include <stddef.h>
11234 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11235 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
11237 ac_cv_type_off_t
=yes
11240 ac_cv_type_off_t
=no
11245 echo "$ac_t""$ac_cv_type_off_t" 1>&6
11246 if test $ac_cv_type_off_t = no
; then
11247 cat >> confdefs.h
<<\EOF
11253 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
11254 echo "configure:11255: checking for pid_t" >&5
11255 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
11256 echo $ac_n "(cached) $ac_c" 1>&6
11258 cat > conftest.
$ac_ext <<EOF
11259 #line 11260 "configure"
11260 #include "confdefs.h"
11261 #include <sys/types.h>
11263 #include <stdlib.h>
11264 #include <stddef.h>
11267 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11268 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
11270 ac_cv_type_pid_t
=yes
11273 ac_cv_type_pid_t
=no
11278 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
11279 if test $ac_cv_type_pid_t = no
; then
11280 cat >> confdefs.h
<<\EOF
11286 echo $ac_n "checking for size_t""... $ac_c" 1>&6
11287 echo "configure:11288: checking for size_t" >&5
11288 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
11289 echo $ac_n "(cached) $ac_c" 1>&6
11291 cat > conftest.
$ac_ext <<EOF
11292 #line 11293 "configure"
11293 #include "confdefs.h"
11294 #include <sys/types.h>
11296 #include <stdlib.h>
11297 #include <stddef.h>
11300 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11301 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
11303 ac_cv_type_size_t
=yes
11306 ac_cv_type_size_t
=no
11311 echo "$ac_t""$ac_cv_type_size_t" 1>&6
11312 if test $ac_cv_type_size_t = no
; then
11313 cat >> confdefs.h
<<\EOF
11314 #define size_t unsigned
11319 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
11320 echo "configure:11321: checking for uid_t in sys/types.h" >&5
11321 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
11322 echo $ac_n "(cached) $ac_c" 1>&6
11324 cat > conftest.
$ac_ext <<EOF
11325 #line 11326 "configure"
11326 #include "confdefs.h"
11327 #include <sys/types.h>
11329 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11330 egrep "uid_t" >/dev
/null
2>&1; then
11332 ac_cv_type_uid_t
=yes
11335 ac_cv_type_uid_t
=no
11341 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
11342 if test $ac_cv_type_uid_t = no
; then
11343 cat >> confdefs.h
<<\EOF
11347 cat >> confdefs.h
<<\EOF
11354 echo $ac_n "checking for wchar_t""... $ac_c" 1>&6
11355 echo "configure:11356: checking for wchar_t" >&5
11356 if eval "test \"`echo '$''{'wx_cv_type_wchar_t'+set}'`\" = set"; then
11357 echo $ac_n "(cached) $ac_c" 1>&6
11360 cat > conftest.
$ac_ext <<EOF
11361 #line 11362 "configure"
11362 #include "confdefs.h"
11368 ws = L"Hello, world!";
11372 if { (eval echo configure
:11373: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11374 wx_cv_type_wchar_t
=yes
11376 echo "configure: failed program was:" >&5
11377 cat conftest.
$ac_ext >&5
11379 cat > conftest.
$ac_ext <<EOF
11380 #line 11381 "configure"
11381 #include "confdefs.h"
11382 #include <stdlib.h>
11387 ws = L"Hello, world!";
11391 if { (eval echo configure
:11392: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11393 wx_cv_type_wchar_t
=yes
11395 echo "configure: failed program was:" >&5
11396 cat conftest.
$ac_ext >&5
11398 wx_cv_type_wchar_t
=no
11407 echo "$ac_t""$wx_cv_type_wchar_t" 1>&6
11409 if test "$wx_cv_type_wchar_t" = "yes"; then
11410 cat >> confdefs.h
<<\EOF
11411 #define wxUSE_WCHAR_T 1
11418 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11419 ac_cpp
='$CXXCPP $CPPFLAGS'
11420 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11421 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11422 cross_compiling
=$ac_cv_prog_cxx_cross
11424 echo $ac_n "checking if size_t is unsigned int""... $ac_c" 1>&6
11425 echo "configure:11426: checking if size_t is unsigned int" >&5
11426 if eval "test \"`echo '$''{'wx_cv_size_t_is_uint'+set}'`\" = set"; then
11427 echo $ac_n "(cached) $ac_c" 1>&6
11429 cat > conftest.
$ac_ext <<EOF
11430 #line 11431 "configure"
11431 #include "confdefs.h"
11432 #include <stddef.h>
11437 struct Foo { void foo(size_t); void foo(unsigned int); };
11443 if { (eval echo configure
:11444: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11445 wx_cv_size_t_is_uint
=no
11447 echo "configure: failed program was:" >&5
11448 cat conftest.
$ac_ext >&5
11450 wx_cv_size_t_is_uint
=yes
11457 echo "$ac_t""$wx_cv_size_t_is_uint" 1>&6
11459 if test "$wx_cv_size_t_is_uint" = "yes"; then
11460 cat >> confdefs.h
<<\EOF
11461 #define wxSIZE_T_IS_UINT 1
11465 echo $ac_n "checking if size_t is unsigned long""... $ac_c" 1>&6
11466 echo "configure:11467: checking if size_t is unsigned long" >&5
11467 if eval "test \"`echo '$''{'wx_cv_size_t_is_ulong'+set}'`\" = set"; then
11468 echo $ac_n "(cached) $ac_c" 1>&6
11470 cat > conftest.
$ac_ext <<EOF
11471 #line 11472 "configure"
11472 #include "confdefs.h"
11473 #include <stddef.h>
11478 struct Foo { void foo(size_t); void foo(unsigned long); };
11484 if { (eval echo configure
:11485: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11486 wx_cv_size_t_is_ulong
=no
11488 echo "configure: failed program was:" >&5
11489 cat conftest.
$ac_ext >&5
11491 wx_cv_size_t_is_ulong
=yes
11498 echo "$ac_t""$wx_cv_size_t_is_ulong" 1>&6
11500 if test "$wx_cv_size_t_is_ulong" = "yes"; then
11501 cat >> confdefs.h
<<\EOF
11502 #define wxSIZE_T_IS_ULONG 1
11509 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11510 ac_cpp
='$CPP $CPPFLAGS'
11511 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11512 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11513 cross_compiling
=$ac_cv_prog_cc_cross
11517 echo $ac_n "checking for pw_gecos in struct passwd""... $ac_c" 1>&6
11518 echo "configure:11519: checking for pw_gecos in struct passwd" >&5
11519 if eval "test \"`echo '$''{'wx_cv_struct_pw_gecos'+set}'`\" = set"; then
11520 echo $ac_n "(cached) $ac_c" 1>&6
11523 cat > conftest.
$ac_ext <<EOF
11524 #line 11525 "configure"
11525 #include "confdefs.h"
11535 if { (eval echo configure
:11536: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11538 wx_cv_struct_pw_gecos
=yes
11541 echo "configure: failed program was:" >&5
11542 cat conftest.
$ac_ext >&5
11545 wx_cv_struct_pw_gecos
=no
11554 echo "$ac_t""$wx_cv_struct_pw_gecos" 1>&6
11556 if test "$wx_cv_struct_pw_gecos" = "yes"; then
11557 cat >> confdefs.h
<<\EOF
11558 #define HAVE_PW_GECOS 1
11564 echo $ac_n "checking for working const""... $ac_c" 1>&6
11565 echo "configure:11566: checking for working const" >&5
11566 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
11567 echo $ac_n "(cached) $ac_c" 1>&6
11569 cat > conftest.
$ac_ext <<EOF
11570 #line 11571 "configure"
11571 #include "confdefs.h"
11575 /* Ultrix mips cc rejects this. */
11576 typedef int charset[2]; const charset x;
11577 /* SunOS 4.1.1 cc rejects this. */
11578 char const *const *ccp;
11580 /* NEC SVR4.0.2 mips cc rejects this. */
11581 struct point {int x, y;};
11582 static struct point const zero = {0,0};
11583 /* AIX XL C 1.02.0.0 rejects this.
11584 It does not let you subtract one const X* pointer from another in an arm
11585 of an if-expression whose if-part is not a constant expression */
11586 const char *g = "string";
11587 ccp = &g + (g ? g-g : 0);
11588 /* HPUX 7.0 cc rejects these. */
11591 ccp = (char const *const *) p;
11592 { /* SCO 3.2v4 cc rejects this. */
11594 char const *s = 0 ? (char *) 0 : (char const *) 0;
11598 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
11599 int x[] = {25, 17};
11600 const int *foo = &x[0];
11603 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
11604 typedef const int *iptr;
11608 { /* AIX XL C 1.02.0.0 rejects this saying
11609 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
11610 struct s { int j; const int *ap[3]; };
11611 struct s *b; b->j = 5;
11613 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
11614 const int foo = 10;
11619 if { (eval echo configure
:11620: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11623 echo "configure: failed program was:" >&5
11624 cat conftest.
$ac_ext >&5
11631 echo "$ac_t""$ac_cv_c_const" 1>&6
11632 if test $ac_cv_c_const = no
; then
11633 cat >> confdefs.h
<<\EOF
11639 echo $ac_n "checking for inline""... $ac_c" 1>&6
11640 echo "configure:11641: checking for inline" >&5
11641 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
11642 echo $ac_n "(cached) $ac_c" 1>&6
11645 for ac_kw
in inline __inline__ __inline
; do
11646 cat > conftest.
$ac_ext <<EOF
11647 #line 11648 "configure"
11648 #include "confdefs.h"
11654 if { (eval echo configure
:11655: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11656 ac_cv_c_inline
=$ac_kw; break
11658 echo "configure: failed program was:" >&5
11659 cat conftest.
$ac_ext >&5
11666 echo "$ac_t""$ac_cv_c_inline" 1>&6
11667 case "$ac_cv_c_inline" in
11669 no
) cat >> confdefs.h
<<\EOF
11673 *) cat >> confdefs.h
<<EOF
11674 #define inline $ac_cv_c_inline
11680 echo $ac_n "checking size of char""... $ac_c" 1>&6
11681 echo "configure:11682: checking size of char" >&5
11682 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
11683 echo $ac_n "(cached) $ac_c" 1>&6
11685 if test "$cross_compiling" = yes; then
11686 ac_cv_sizeof_char
=1
11688 cat > conftest.
$ac_ext <<EOF
11689 #line 11690 "configure"
11690 #include "confdefs.h"
11694 FILE *f=fopen("conftestval", "w");
11696 fprintf(f, "%d\n", sizeof(char));
11700 if { (eval echo configure
:11701: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11702 ac_cv_sizeof_char
=`cat conftestval`
11704 echo "configure: failed program was:" >&5
11705 cat conftest.
$ac_ext >&5
11707 ac_cv_sizeof_char
=0
11713 echo "$ac_t""$ac_cv_sizeof_char" 1>&6
11714 cat >> confdefs.h
<<EOF
11715 #define SIZEOF_CHAR $ac_cv_sizeof_char
11719 echo $ac_n "checking size of short""... $ac_c" 1>&6
11720 echo "configure:11721: checking size of short" >&5
11721 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
11722 echo $ac_n "(cached) $ac_c" 1>&6
11724 if test "$cross_compiling" = yes; then
11725 ac_cv_sizeof_short
=2
11727 cat > conftest.
$ac_ext <<EOF
11728 #line 11729 "configure"
11729 #include "confdefs.h"
11733 FILE *f=fopen("conftestval", "w");
11735 fprintf(f, "%d\n", sizeof(short));
11739 if { (eval echo configure
:11740: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11741 ac_cv_sizeof_short
=`cat conftestval`
11743 echo "configure: failed program was:" >&5
11744 cat conftest.
$ac_ext >&5
11746 ac_cv_sizeof_short
=0
11752 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
11753 cat >> confdefs.h
<<EOF
11754 #define SIZEOF_SHORT $ac_cv_sizeof_short
11758 echo $ac_n "checking size of int *""... $ac_c" 1>&6
11759 echo "configure:11760: checking size of int *" >&5
11760 if eval "test \"`echo '$''{'ac_cv_sizeof_int_p'+set}'`\" = set"; then
11761 echo $ac_n "(cached) $ac_c" 1>&6
11763 if test "$cross_compiling" = yes; then
11764 ac_cv_sizeof_int_p
=4
11766 cat > conftest.
$ac_ext <<EOF
11767 #line 11768 "configure"
11768 #include "confdefs.h"
11772 FILE *f=fopen("conftestval", "w");
11774 fprintf(f, "%d\n", sizeof(int *));
11778 if { (eval echo configure
:11779: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11780 ac_cv_sizeof_int_p
=`cat conftestval`
11782 echo "configure: failed program was:" >&5
11783 cat conftest.
$ac_ext >&5
11785 ac_cv_sizeof_int_p
=0
11791 echo "$ac_t""$ac_cv_sizeof_int_p" 1>&6
11792 cat >> confdefs.h
<<EOF
11793 #define SIZEOF_INT_P $ac_cv_sizeof_int_p
11797 echo $ac_n "checking size of int""... $ac_c" 1>&6
11798 echo "configure:11799: checking size of int" >&5
11799 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
11800 echo $ac_n "(cached) $ac_c" 1>&6
11802 if test "$cross_compiling" = yes; then
11805 cat > conftest.
$ac_ext <<EOF
11806 #line 11807 "configure"
11807 #include "confdefs.h"
11811 FILE *f=fopen("conftestval", "w");
11813 fprintf(f, "%d\n", sizeof(int));
11817 if { (eval echo configure
:11818: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11819 ac_cv_sizeof_int
=`cat conftestval`
11821 echo "configure: failed program was:" >&5
11822 cat conftest.
$ac_ext >&5
11830 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
11831 cat >> confdefs.h
<<EOF
11832 #define SIZEOF_INT $ac_cv_sizeof_int
11836 echo $ac_n "checking size of long""... $ac_c" 1>&6
11837 echo "configure:11838: checking size of long" >&5
11838 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
11839 echo $ac_n "(cached) $ac_c" 1>&6
11841 if test "$cross_compiling" = yes; then
11842 ac_cv_sizeof_long
=4
11844 cat > conftest.
$ac_ext <<EOF
11845 #line 11846 "configure"
11846 #include "confdefs.h"
11850 FILE *f=fopen("conftestval", "w");
11852 fprintf(f, "%d\n", sizeof(long));
11856 if { (eval echo configure
:11857: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11858 ac_cv_sizeof_long
=`cat conftestval`
11860 echo "configure: failed program was:" >&5
11861 cat conftest.
$ac_ext >&5
11863 ac_cv_sizeof_long
=0
11869 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
11870 cat >> confdefs.h
<<EOF
11871 #define SIZEOF_LONG $ac_cv_sizeof_long
11875 echo $ac_n "checking size of long long""... $ac_c" 1>&6
11876 echo "configure:11877: checking size of long long" >&5
11877 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
11878 echo $ac_n "(cached) $ac_c" 1>&6
11880 if test "$cross_compiling" = yes; then
11881 ac_cv_sizeof_long_long
=0
11883 cat > conftest.
$ac_ext <<EOF
11884 #line 11885 "configure"
11885 #include "confdefs.h"
11889 FILE *f=fopen("conftestval", "w");
11891 fprintf(f, "%d\n", sizeof(long long));
11895 if { (eval echo configure
:11896: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11897 ac_cv_sizeof_long_long
=`cat conftestval`
11899 echo "configure: failed program was:" >&5
11900 cat conftest.
$ac_ext >&5
11902 ac_cv_sizeof_long_long
=0
11908 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
11909 cat >> confdefs.h
<<EOF
11910 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
11915 echo $ac_n "checking size of wchar_t""... $ac_c" 1>&6
11916 echo "configure:11917: checking size of wchar_t" >&5
11917 if eval "test \"`echo '$''{'wx_cv_sizeof_wchar_t'+set}'`\" = set"; then
11918 echo $ac_n "(cached) $ac_c" 1>&6
11921 if test "$cross_compiling" = yes; then
11922 wx_cv_sizeof_wchar_t
=4
11925 cat > conftest.
$ac_ext <<EOF
11926 #line 11927 "configure"
11927 #include "confdefs.h"
11929 #ifdef HAVE_WCHAR_H
11930 # include <wchar.h>
11932 #ifdef HAVE_STDLIB_H
11933 # include <stdlib.h>
11938 FILE *f=fopen("conftestval", "w");
11940 fprintf(f, "%i", sizeof(wchar_t));
11945 if { (eval echo configure
:11946: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11947 wx_cv_sizeof_wchar_t
=`cat conftestval`
11949 echo "configure: failed program was:" >&5
11950 cat conftest.
$ac_ext >&5
11952 wx_cv_sizeof_wchar_t
=0
11960 echo "$ac_t""$wx_cv_sizeof_wchar_t" 1>&6
11962 cat >> confdefs.h
<<EOF
11963 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
11967 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
11968 echo "configure:11969: checking whether byte ordering is bigendian" >&5
11969 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
11970 echo $ac_n "(cached) $ac_c" 1>&6
11972 ac_cv_c_bigendian
=unknown
11973 # See if sys/param.h defines the BYTE_ORDER macro.
11974 cat > conftest.
$ac_ext <<EOF
11975 #line 11976 "configure"
11976 #include "confdefs.h"
11977 #include <sys/types.h>
11978 #include <sys/param.h>
11981 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
11982 bogus endian macros
11986 if { (eval echo configure
:11987: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11988 # It does; now see whether it defined to BIG_ENDIAN or not.
11989 cat > conftest.
$ac_ext <<EOF
11990 #line 11991 "configure"
11991 #include "confdefs.h"
11992 #include <sys/types.h>
11993 #include <sys/param.h>
11996 #if BYTE_ORDER != BIG_ENDIAN
12001 if { (eval echo configure
:12002: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12003 ac_cv_c_bigendian
=yes
12005 echo "configure: failed program was:" >&5
12006 cat conftest.
$ac_ext >&5
12008 ac_cv_c_bigendian
=no
12012 echo "configure: failed program was:" >&5
12013 cat conftest.
$ac_ext >&5
12016 if test $ac_cv_c_bigendian = unknown
; then
12017 if test "$cross_compiling" = yes; then
12018 ac_cv_c_bigendian
=unknown
12020 cat > conftest.
$ac_ext <<EOF
12021 #line 12022 "configure"
12022 #include "confdefs.h"
12024 /* Are we little or big endian? From Harbison&Steele. */
12028 char c[sizeof (long)];
12031 exit (u.c[sizeof (long) - 1] == 1);
12034 if { (eval echo configure
:12035: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12036 ac_cv_c_bigendian
=no
12038 echo "configure: failed program was:" >&5
12039 cat conftest.
$ac_ext >&5
12041 ac_cv_c_bigendian
=yes
12049 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
12050 if test $ac_cv_c_bigendian = unknown
; then
12051 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
12053 if test $ac_cv_c_bigendian = yes; then
12054 cat >> confdefs.h
<<\EOF
12055 #define WORDS_BIGENDIAN 1
12062 if test "$cross_compiling" = "yes"; then
12063 cat >> confdefs.h
<<\EOF
12064 #define wxUSE_IOSTREAMH 1
12070 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12071 ac_cpp
='$CXXCPP $CPPFLAGS'
12072 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12073 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12074 cross_compiling
=$ac_cv_prog_cxx_cross
12077 for ac_hdr
in iostream
12079 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12080 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12081 echo "configure:12082: checking for $ac_hdr" >&5
12082 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12083 echo $ac_n "(cached) $ac_c" 1>&6
12085 cat > conftest.
$ac_ext <<EOF
12086 #line 12087 "configure"
12087 #include "confdefs.h"
12090 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12091 { (eval echo configure
:12092: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12092 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12093 if test -z "$ac_err"; then
12095 eval "ac_cv_header_$ac_safe=yes"
12098 echo "configure: failed program was:" >&5
12099 cat conftest.
$ac_ext >&5
12101 eval "ac_cv_header_$ac_safe=no"
12105 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12106 echo "$ac_t""yes" 1>&6
12107 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12108 cat >> confdefs.h
<<EOF
12109 #define $ac_tr_hdr 1
12113 echo "$ac_t""no" 1>&6
12118 if test "$ac_cv_header_iostream" = "yes" ; then
12121 cat >> confdefs.h
<<\EOF
12122 #define wxUSE_IOSTREAMH 1
12128 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12129 ac_cpp
='$CPP $CPPFLAGS'
12130 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12131 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12132 cross_compiling
=$ac_cv_prog_cc_cross
12138 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
12139 echo "configure:12140: checking if C++ compiler supports bool" >&5
12140 if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
12141 echo $ac_n "(cached) $ac_c" 1>&6
12146 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12147 ac_cpp
='$CXXCPP $CPPFLAGS'
12148 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12149 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12150 cross_compiling
=$ac_cv_prog_cxx_cross
12153 cat > conftest.
$ac_ext <<EOF
12154 #line 12155 "configure"
12155 #include "confdefs.h"
12166 if { (eval echo configure
:12167: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12172 echo "configure: failed program was:" >&5
12173 cat conftest.
$ac_ext >&5
12183 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12184 ac_cpp
='$CPP $CPPFLAGS'
12185 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12186 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12187 cross_compiling
=$ac_cv_prog_cc_cross
12192 echo "$ac_t""$wx_cv_cpp_bool" 1>&6
12194 if test "$wx_cv_cpp_bool" = "yes"; then
12195 cat >> confdefs.h
<<\EOF
12196 #define HAVE_BOOL 1
12203 echo $ac_n "checking for wcslen in -lc""... $ac_c" 1>&6
12204 echo "configure:12205: checking for wcslen in -lc" >&5
12205 ac_lib_var
=`echo c'_'wcslen | sed 'y%./+-%__p_%'`
12206 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12207 echo $ac_n "(cached) $ac_c" 1>&6
12209 ac_save_LIBS
="$LIBS"
12211 cat > conftest.
$ac_ext <<EOF
12212 #line 12213 "configure"
12213 #include "confdefs.h"
12214 /* Override any gcc2 internal prototype to avoid an error. */
12215 /* We use char because int might match the return type of a gcc2
12216 builtin and then its argument prototype would still apply. */
12223 if { (eval echo configure
:12224: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12225 eval "ac_cv_lib_$ac_lib_var=yes"
12227 echo "configure: failed program was:" >&5
12228 cat conftest.
$ac_ext >&5
12230 eval "ac_cv_lib_$ac_lib_var=no"
12233 LIBS
="$ac_save_LIBS"
12236 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12237 echo "$ac_t""yes" 1>&6
12239 cat >> confdefs.h
<<\EOF
12240 #define HAVE_WCSLEN 1
12246 echo "$ac_t""no" 1>&6
12248 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
12249 echo "configure:12250: checking for wcslen in -lw" >&5
12250 ac_lib_var
=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
12251 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12252 echo $ac_n "(cached) $ac_c" 1>&6
12254 ac_save_LIBS
="$LIBS"
12256 cat > conftest.
$ac_ext <<EOF
12257 #line 12258 "configure"
12258 #include "confdefs.h"
12259 /* Override any gcc2 internal prototype to avoid an error. */
12260 /* We use char because int might match the return type of a gcc2
12261 builtin and then its argument prototype would still apply. */
12268 if { (eval echo configure
:12269: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12270 eval "ac_cv_lib_$ac_lib_var=yes"
12272 echo "configure: failed program was:" >&5
12273 cat conftest.
$ac_ext >&5
12275 eval "ac_cv_lib_$ac_lib_var=no"
12278 LIBS
="$ac_save_LIBS"
12281 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12282 echo "$ac_t""yes" 1>&6
12284 cat >> confdefs.h
<<\EOF
12285 #define HAVE_WCSLEN 1
12291 echo "$ac_t""no" 1>&6
12298 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
12299 echo "configure:12300: checking for vprintf" >&5
12300 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
12301 echo $ac_n "(cached) $ac_c" 1>&6
12303 cat > conftest.
$ac_ext <<EOF
12304 #line 12305 "configure"
12305 #include "confdefs.h"
12306 /* System header to define __stub macros and hopefully few prototypes,
12307 which can conflict with char vprintf(); below. */
12308 #include <assert.h>
12309 /* Override any gcc2 internal prototype to avoid an error. */
12310 /* We use char because int might match the return type of a gcc2
12311 builtin and then its argument prototype would still apply. */
12316 /* The GNU C library defines this for functions which it implements
12317 to always fail with ENOSYS. Some functions are actually named
12318 something starting with __ and the normal name is an alias. */
12319 #if defined (__stub_vprintf) || defined (__stub___vprintf)
12327 if { (eval echo configure
:12328: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12329 eval "ac_cv_func_vprintf=yes"
12331 echo "configure: failed program was:" >&5
12332 cat conftest.
$ac_ext >&5
12334 eval "ac_cv_func_vprintf=no"
12339 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
12340 echo "$ac_t""yes" 1>&6
12341 cat >> confdefs.h
<<\EOF
12342 #define HAVE_VPRINTF 1
12346 echo "$ac_t""no" 1>&6
12349 if test "$ac_cv_func_vprintf" != yes; then
12350 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
12351 echo "configure:12352: checking for _doprnt" >&5
12352 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
12353 echo $ac_n "(cached) $ac_c" 1>&6
12355 cat > conftest.
$ac_ext <<EOF
12356 #line 12357 "configure"
12357 #include "confdefs.h"
12358 /* System header to define __stub macros and hopefully few prototypes,
12359 which can conflict with char _doprnt(); below. */
12360 #include <assert.h>
12361 /* Override any gcc2 internal prototype to avoid an error. */
12362 /* We use char because int might match the return type of a gcc2
12363 builtin and then its argument prototype would still apply. */
12368 /* The GNU C library defines this for functions which it implements
12369 to always fail with ENOSYS. Some functions are actually named
12370 something starting with __ and the normal name is an alias. */
12371 #if defined (__stub__doprnt) || defined (__stub____doprnt)
12379 if { (eval echo configure
:12380: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12381 eval "ac_cv_func__doprnt=yes"
12383 echo "configure: failed program was:" >&5
12384 cat conftest.
$ac_ext >&5
12386 eval "ac_cv_func__doprnt=no"
12391 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
12392 echo "$ac_t""yes" 1>&6
12393 cat >> confdefs.h
<<\EOF
12394 #define HAVE_DOPRNT 1
12398 echo "$ac_t""no" 1>&6
12409 echo $ac_n "checking for vsnprintf""... $ac_c" 1>&6
12410 echo "configure:12411: checking for vsnprintf" >&5
12411 if eval "test \"`echo '$''{'wx_cv_func_vsnprintf'+set}'`\" = set"; then
12412 echo $ac_n "(cached) $ac_c" 1>&6
12415 cat > conftest.
$ac_ext <<EOF
12416 #line 12417 "configure"
12417 #include "confdefs.h"
12420 #include <stdarg.h>
12424 int wx_test_vsnprintf(const char *, ...);
12426 wx_test_vsnprintf("%s");
12430 int wx_test_vsnprintf(const char *fmt, ...)
12435 va_start(argp, fmt);
12436 vsnprintf(s, 42, fmt, argp);
12441 if { (eval echo configure
:12442: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12444 wx_cv_func_vsnprintf
=yes
12447 echo "configure: failed program was:" >&5
12448 cat conftest.
$ac_ext >&5
12451 cat > conftest.
$ac_ext <<EOF
12452 #line 12453 "configure"
12453 #include "confdefs.h"
12456 #include <stdarg.h>
12460 int wx_test_vsnprintf(const char *, ...);
12462 wx_test_vsnprintf("%s");
12466 int wx_test_vsnprintf(const char *fmt, ...)
12471 va_start(argp, fmt);
12472 _vsnprintf(s, 42, fmt, argp);
12477 if { (eval echo configure
:12478: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12480 wx_cv_func_vsnprintf
=yes
12483 echo "configure: failed program was:" >&5
12484 cat conftest.
$ac_ext >&5
12487 wx_cv_func_vsnprintf
=no
12497 echo "$ac_t""$wx_cv_func_vsnprintf" 1>&6
12499 if test "$wx_cv_func_vsnprintf" = yes; then
12500 cat >> confdefs.h
<<\EOF
12501 #define HAVE_VSNPRINTF 1
12505 echo "configure: warning: unsafe function sprintf will be used instead of snprintf" 1>&2
12508 echo $ac_n "checking for vsscanf""... $ac_c" 1>&6
12509 echo "configure:12510: checking for vsscanf" >&5
12510 if eval "test \"`echo '$''{'wx_cv_func_vsscanf'+set}'`\" = set"; then
12511 echo $ac_n "(cached) $ac_c" 1>&6
12514 cat > conftest.
$ac_ext <<EOF
12515 #line 12516 "configure"
12516 #include "confdefs.h"
12519 #include <stdarg.h>
12523 int wx_test_vsscanf(const char *, ...);
12525 wx_test_vsscanf("%d");
12529 int wx_test_vsscanf(const char *fmt, ...)
12532 va_start(argp, fmt);
12533 vsscanf("42", fmt, argp);
12538 if { (eval echo configure
:12539: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12541 wx_cv_func_vsscanf
=yes
12544 echo "configure: failed program was:" >&5
12545 cat conftest.
$ac_ext >&5
12548 wx_cv_func_vsscanf
=no
12555 echo "$ac_t""$wx_cv_func_vsscanf" 1>&6
12557 if test "$wx_cv_func_vsscanf" = yes; then
12558 cat >> confdefs.h
<<\EOF
12559 #define HAVE_VSSCANF 1
12564 if test "$TOOLKIT" != "MSW"; then
12569 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12570 ac_cpp
='$CXXCPP $CPPFLAGS'
12571 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12572 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12573 cross_compiling
=$ac_cv_prog_cxx_cross
12575 echo $ac_n "checking if iconv() takes char**""... $ac_c" 1>&6
12576 echo "configure:12577: checking if iconv() takes char**" >&5
12577 if eval "test \"`echo '$''{'wx_cv_iconv_takes_char'+set}'`\" = set"; then
12578 echo $ac_n "(cached) $ac_c" 1>&6
12581 cat > conftest.
$ac_ext <<EOF
12582 #line 12583 "configure"
12583 #include "confdefs.h"
12587 char **inbuf, **outbuf;
12589 size_t insz, outsz;
12590 iconv(cd, inbuf, &insz, outbuf, &outsz);
12594 if { (eval echo configure
:12595: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12596 wx_cv_iconv_takes_char
=yes
12598 echo "configure: failed program was:" >&5
12599 cat conftest.
$ac_ext >&5
12601 wx_cv_iconv_takes_char
=no
12607 echo "$ac_t""$wx_cv_iconv_takes_char" 1>&6
12609 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12610 ac_cpp
='$CPP $CPPFLAGS'
12611 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12612 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12613 cross_compiling
=$ac_cv_prog_cc_cross
12615 if test "$wx_cv_iconv_takes_char" = yes ; then
12616 cat >> confdefs.h
<<\EOF
12617 #define WX_ICONV_TAKES_CHAR 1
12623 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
12624 for ac_func
in sigaction
12626 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12627 echo "configure:12628: checking for $ac_func" >&5
12628 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12629 echo $ac_n "(cached) $ac_c" 1>&6
12631 cat > conftest.
$ac_ext <<EOF
12632 #line 12633 "configure"
12633 #include "confdefs.h"
12634 /* System header to define __stub macros and hopefully few prototypes,
12635 which can conflict with char $ac_func(); below. */
12636 #include <assert.h>
12637 /* Override any gcc2 internal prototype to avoid an error. */
12638 /* We use char because int might match the return type of a gcc2
12639 builtin and then its argument prototype would still apply. */
12644 /* The GNU C library defines this for functions which it implements
12645 to always fail with ENOSYS. Some functions are actually named
12646 something starting with __ and the normal name is an alias. */
12647 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12655 if { (eval echo configure
:12656: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12657 eval "ac_cv_func_$ac_func=yes"
12659 echo "configure: failed program was:" >&5
12660 cat conftest.
$ac_ext >&5
12662 eval "ac_cv_func_$ac_func=no"
12667 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12668 echo "$ac_t""yes" 1>&6
12669 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12670 cat >> confdefs.h
<<EOF
12671 #define $ac_tr_func 1
12675 echo "$ac_t""no" 1>&6
12680 if test "$ac_cv_func_sigaction" = "no"; then
12681 echo "configure: warning: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" 1>&2
12682 wxUSE_ON_FATAL_EXCEPTION
=no
12685 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
12688 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12689 ac_cpp
='$CXXCPP $CPPFLAGS'
12690 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12691 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12692 cross_compiling
=$ac_cv_prog_cxx_cross
12695 echo $ac_n "checking for sa_handler type""... $ac_c" 1>&6
12696 echo "configure:12697: checking for sa_handler type" >&5
12697 if eval "test \"`echo '$''{'wx_cv_type_sa_handler'+set}'`\" = set"; then
12698 echo $ac_n "(cached) $ac_c" 1>&6
12701 cat > conftest.
$ac_ext <<EOF
12702 #line 12703 "configure"
12703 #include "confdefs.h"
12704 #include <signal.h>
12707 extern void testSigHandler(int);
12709 struct sigaction sa;
12710 sa.sa_handler = testSigHandler;
12714 if { (eval echo configure
:12715: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12717 wx_cv_type_sa_handler
=int
12720 echo "configure: failed program was:" >&5
12721 cat conftest.
$ac_ext >&5
12724 wx_cv_type_sa_handler
=void
12731 echo "$ac_t""$wx_cv_type_sa_handler" 1>&6
12734 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12735 ac_cpp
='$CPP $CPPFLAGS'
12736 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12737 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12738 cross_compiling
=$ac_cv_prog_cc_cross
12741 cat >> confdefs.h
<<EOF
12742 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
12748 for ac_func
in vfork
12750 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12751 echo "configure:12752: checking for $ac_func" >&5
12752 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12753 echo $ac_n "(cached) $ac_c" 1>&6
12755 cat > conftest.
$ac_ext <<EOF
12756 #line 12757 "configure"
12757 #include "confdefs.h"
12758 /* System header to define __stub macros and hopefully few prototypes,
12759 which can conflict with char $ac_func(); below. */
12760 #include <assert.h>
12761 /* Override any gcc2 internal prototype to avoid an error. */
12762 /* We use char because int might match the return type of a gcc2
12763 builtin and then its argument prototype would still apply. */
12768 /* The GNU C library defines this for functions which it implements
12769 to always fail with ENOSYS. Some functions are actually named
12770 something starting with __ and the normal name is an alias. */
12771 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12779 if { (eval echo configure
:12780: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12781 eval "ac_cv_func_$ac_func=yes"
12783 echo "configure: failed program was:" >&5
12784 cat conftest.
$ac_ext >&5
12786 eval "ac_cv_func_$ac_func=no"
12791 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12792 echo "$ac_t""yes" 1>&6
12793 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12794 cat >> confdefs.h
<<EOF
12795 #define $ac_tr_func 1
12799 echo "$ac_t""no" 1>&6
12804 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
12805 for ac_func
in fcntl flock
12807 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12808 echo "configure:12809: checking for $ac_func" >&5
12809 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12810 echo $ac_n "(cached) $ac_c" 1>&6
12812 cat > conftest.
$ac_ext <<EOF
12813 #line 12814 "configure"
12814 #include "confdefs.h"
12815 /* System header to define __stub macros and hopefully few prototypes,
12816 which can conflict with char $ac_func(); below. */
12817 #include <assert.h>
12818 /* Override any gcc2 internal prototype to avoid an error. */
12819 /* We use char because int might match the return type of a gcc2
12820 builtin and then its argument prototype would still apply. */
12825 /* The GNU C library defines this for functions which it implements
12826 to always fail with ENOSYS. Some functions are actually named
12827 something starting with __ and the normal name is an alias. */
12828 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12836 if { (eval echo configure
:12837: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12838 eval "ac_cv_func_$ac_func=yes"
12840 echo "configure: failed program was:" >&5
12841 cat conftest.
$ac_ext >&5
12843 eval "ac_cv_func_$ac_func=no"
12848 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12849 echo "$ac_t""yes" 1>&6
12850 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12851 cat >> confdefs.h
<<EOF
12852 #define $ac_tr_func 1
12856 echo "$ac_t""no" 1>&6
12861 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
12862 echo "configure: warning: wxSingleInstanceChecker not available" 1>&2
12863 wxUSE_SNGLINST_CHECKER
=no
12867 for ac_func
in timegm
12869 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12870 echo "configure:12871: checking for $ac_func" >&5
12871 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12872 echo $ac_n "(cached) $ac_c" 1>&6
12874 cat > conftest.
$ac_ext <<EOF
12875 #line 12876 "configure"
12876 #include "confdefs.h"
12877 /* System header to define __stub macros and hopefully few prototypes,
12878 which can conflict with char $ac_func(); below. */
12879 #include <assert.h>
12880 /* Override any gcc2 internal prototype to avoid an error. */
12881 /* We use char because int might match the return type of a gcc2
12882 builtin and then its argument prototype would still apply. */
12887 /* The GNU C library defines this for functions which it implements
12888 to always fail with ENOSYS. Some functions are actually named
12889 something starting with __ and the normal name is an alias. */
12890 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12898 if { (eval echo configure
:12899: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12900 eval "ac_cv_func_$ac_func=yes"
12902 echo "configure: failed program was:" >&5
12903 cat conftest.
$ac_ext >&5
12905 eval "ac_cv_func_$ac_func=no"
12910 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12911 echo "$ac_t""yes" 1>&6
12912 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12913 cat >> confdefs.h
<<EOF
12914 #define $ac_tr_func 1
12918 echo "$ac_t""no" 1>&6
12923 for ac_func
in putenv setenv
12925 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12926 echo "configure:12927: checking for $ac_func" >&5
12927 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12928 echo $ac_n "(cached) $ac_c" 1>&6
12930 cat > conftest.
$ac_ext <<EOF
12931 #line 12932 "configure"
12932 #include "confdefs.h"
12933 /* System header to define __stub macros and hopefully few prototypes,
12934 which can conflict with char $ac_func(); below. */
12935 #include <assert.h>
12936 /* Override any gcc2 internal prototype to avoid an error. */
12937 /* We use char because int might match the return type of a gcc2
12938 builtin and then its argument prototype would still apply. */
12943 /* The GNU C library defines this for functions which it implements
12944 to always fail with ENOSYS. Some functions are actually named
12945 something starting with __ and the normal name is an alias. */
12946 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12954 if { (eval echo configure
:12955: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12956 eval "ac_cv_func_$ac_func=yes"
12958 echo "configure: failed program was:" >&5
12959 cat conftest.
$ac_ext >&5
12961 eval "ac_cv_func_$ac_func=no"
12966 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12967 echo "$ac_t""yes" 1>&6
12968 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12969 cat >> confdefs.h
<<EOF
12970 #define $ac_tr_func 1
12974 echo "$ac_t""no" 1>&6
12979 HAVE_SOME_SLEEP_FUNC
=0
12980 if test "$USE_BEOS" = 1; then
12981 cat >> confdefs.h
<<\EOF
12982 #define HAVE_SLEEP 1
12985 HAVE_SOME_SLEEP_FUNC
=1
12988 if test "$USE_MAC" = 1; then
12989 cat >> confdefs.h
<<\EOF
12990 #define HAVE_USLEEP 1
12993 HAVE_SOME_SLEEP_FUNC
=1
12996 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
12998 for ac_func
in nanosleep
13000 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13001 echo "configure:13002: checking for $ac_func" >&5
13002 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13003 echo $ac_n "(cached) $ac_c" 1>&6
13005 cat > conftest.
$ac_ext <<EOF
13006 #line 13007 "configure"
13007 #include "confdefs.h"
13008 /* System header to define __stub macros and hopefully few prototypes,
13009 which can conflict with char $ac_func(); below. */
13010 #include <assert.h>
13011 /* Override any gcc2 internal prototype to avoid an error. */
13012 /* We use char because int might match the return type of a gcc2
13013 builtin and then its argument prototype would still apply. */
13018 /* The GNU C library defines this for functions which it implements
13019 to always fail with ENOSYS. Some functions are actually named
13020 something starting with __ and the normal name is an alias. */
13021 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13029 if { (eval echo configure
:13030: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13031 eval "ac_cv_func_$ac_func=yes"
13033 echo "configure: failed program was:" >&5
13034 cat conftest.
$ac_ext >&5
13036 eval "ac_cv_func_$ac_func=no"
13041 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13042 echo "$ac_t""yes" 1>&6
13043 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13044 cat >> confdefs.h
<<EOF
13045 #define $ac_tr_func 1
13047 cat >> confdefs.h
<<\EOF
13048 #define HAVE_NANOSLEEP 1
13052 echo "$ac_t""no" 1>&6
13053 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
13054 echo "configure:13055: checking for nanosleep in -lposix4" >&5
13055 ac_lib_var
=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
13056 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13057 echo $ac_n "(cached) $ac_c" 1>&6
13059 ac_save_LIBS
="$LIBS"
13060 LIBS
="-lposix4 $LIBS"
13061 cat > conftest.
$ac_ext <<EOF
13062 #line 13063 "configure"
13063 #include "confdefs.h"
13064 /* Override any gcc2 internal prototype to avoid an error. */
13065 /* We use char because int might match the return type of a gcc2
13066 builtin and then its argument prototype would still apply. */
13073 if { (eval echo configure
:13074: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13075 eval "ac_cv_lib_$ac_lib_var=yes"
13077 echo "configure: failed program was:" >&5
13078 cat conftest.
$ac_ext >&5
13080 eval "ac_cv_lib_$ac_lib_var=no"
13083 LIBS
="$ac_save_LIBS"
13086 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13087 echo "$ac_t""yes" 1>&6
13089 cat >> confdefs.h
<<\EOF
13090 #define HAVE_NANOSLEEP 1
13093 POSIX4_LINK
="-lposix4"
13096 echo "$ac_t""no" 1>&6
13098 for ac_func
in usleep
13100 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13101 echo "configure:13102: checking for $ac_func" >&5
13102 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13103 echo $ac_n "(cached) $ac_c" 1>&6
13105 cat > conftest.
$ac_ext <<EOF
13106 #line 13107 "configure"
13107 #include "confdefs.h"
13108 /* System header to define __stub macros and hopefully few prototypes,
13109 which can conflict with char $ac_func(); below. */
13110 #include <assert.h>
13111 /* Override any gcc2 internal prototype to avoid an error. */
13112 /* We use char because int might match the return type of a gcc2
13113 builtin and then its argument prototype would still apply. */
13118 /* The GNU C library defines this for functions which it implements
13119 to always fail with ENOSYS. Some functions are actually named
13120 something starting with __ and the normal name is an alias. */
13121 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13129 if { (eval echo configure
:13130: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13131 eval "ac_cv_func_$ac_func=yes"
13133 echo "configure: failed program was:" >&5
13134 cat conftest.
$ac_ext >&5
13136 eval "ac_cv_func_$ac_func=no"
13141 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13142 echo "$ac_t""yes" 1>&6
13143 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13144 cat >> confdefs.h
<<EOF
13145 #define $ac_tr_func 1
13147 cat >> confdefs.h
<<\EOF
13148 #define HAVE_USLEEP 1
13152 echo "$ac_t""no" 1>&6
13153 echo "configure: warning: wxSleep() function will not work" 1>&2
13169 for ac_func
in uname gethostname
13171 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13172 echo "configure:13173: checking for $ac_func" >&5
13173 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13174 echo $ac_n "(cached) $ac_c" 1>&6
13176 cat > conftest.
$ac_ext <<EOF
13177 #line 13178 "configure"
13178 #include "confdefs.h"
13179 /* System header to define __stub macros and hopefully few prototypes,
13180 which can conflict with char $ac_func(); below. */
13181 #include <assert.h>
13182 /* Override any gcc2 internal prototype to avoid an error. */
13183 /* We use char because int might match the return type of a gcc2
13184 builtin and then its argument prototype would still apply. */
13189 /* The GNU C library defines this for functions which it implements
13190 to always fail with ENOSYS. Some functions are actually named
13191 something starting with __ and the normal name is an alias. */
13192 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13200 if { (eval echo configure
:13201: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13202 eval "ac_cv_func_$ac_func=yes"
13204 echo "configure: failed program was:" >&5
13205 cat conftest.
$ac_ext >&5
13207 eval "ac_cv_func_$ac_func=no"
13212 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13213 echo "$ac_t""yes" 1>&6
13214 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13215 cat >> confdefs.h
<<EOF
13216 #define $ac_tr_func 1
13220 echo "$ac_t""no" 1>&6
13227 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13228 ac_cpp
='$CXXCPP $CPPFLAGS'
13229 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13230 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13231 cross_compiling
=$ac_cv_prog_cxx_cross
13234 for ac_func
in strtok_r
13236 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13237 echo "configure:13238: checking for $ac_func" >&5
13238 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13239 echo $ac_n "(cached) $ac_c" 1>&6
13241 cat > conftest.
$ac_ext <<EOF
13242 #line 13243 "configure"
13243 #include "confdefs.h"
13244 /* System header to define __stub macros and hopefully few prototypes,
13245 which can conflict with char $ac_func(); below. */
13246 #include <assert.h>
13247 /* Override any gcc2 internal prototype to avoid an error. */
13251 /* We use char because int might match the return type of a gcc2
13252 builtin and then its argument prototype would still apply. */
13257 /* The GNU C library defines this for functions which it implements
13258 to always fail with ENOSYS. Some functions are actually named
13259 something starting with __ and the normal name is an alias. */
13260 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13268 if { (eval echo configure
:13269: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13270 eval "ac_cv_func_$ac_func=yes"
13272 echo "configure: failed program was:" >&5
13273 cat conftest.
$ac_ext >&5
13275 eval "ac_cv_func_$ac_func=no"
13280 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13281 echo "$ac_t""yes" 1>&6
13282 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13283 cat >> confdefs.h
<<EOF
13284 #define $ac_tr_func 1
13288 echo "$ac_t""no" 1>&6
13294 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13295 ac_cpp
='$CPP $CPPFLAGS'
13296 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13297 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13298 cross_compiling
=$ac_cv_prog_cc_cross
13302 for ac_func
in inet_addr
13304 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13305 echo "configure:13306: checking for $ac_func" >&5
13306 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13307 echo $ac_n "(cached) $ac_c" 1>&6
13309 cat > conftest.
$ac_ext <<EOF
13310 #line 13311 "configure"
13311 #include "confdefs.h"
13312 /* System header to define __stub macros and hopefully few prototypes,
13313 which can conflict with char $ac_func(); below. */
13314 #include <assert.h>
13315 /* Override any gcc2 internal prototype to avoid an error. */
13316 /* We use char because int might match the return type of a gcc2
13317 builtin and then its argument prototype would still apply. */
13322 /* The GNU C library defines this for functions which it implements
13323 to always fail with ENOSYS. Some functions are actually named
13324 something starting with __ and the normal name is an alias. */
13325 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13333 if { (eval echo configure
:13334: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13335 eval "ac_cv_func_$ac_func=yes"
13337 echo "configure: failed program was:" >&5
13338 cat conftest.
$ac_ext >&5
13340 eval "ac_cv_func_$ac_func=no"
13345 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13346 echo "$ac_t""yes" 1>&6
13347 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13348 cat >> confdefs.h
<<EOF
13349 #define $ac_tr_func 1
13351 cat >> confdefs.h
<<\EOF
13352 #define HAVE_INET_ADDR 1
13356 echo "$ac_t""no" 1>&6
13357 echo $ac_n "checking for inet_addr in -lnsl""... $ac_c" 1>&6
13358 echo "configure:13359: checking for inet_addr in -lnsl" >&5
13359 ac_lib_var
=`echo nsl'_'inet_addr | sed 'y%./+-%__p_%'`
13360 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13361 echo $ac_n "(cached) $ac_c" 1>&6
13363 ac_save_LIBS
="$LIBS"
13365 cat > conftest.
$ac_ext <<EOF
13366 #line 13367 "configure"
13367 #include "confdefs.h"
13368 /* Override any gcc2 internal prototype to avoid an error. */
13369 /* We use char because int might match the return type of a gcc2
13370 builtin and then its argument prototype would still apply. */
13377 if { (eval echo configure
:13378: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13379 eval "ac_cv_lib_$ac_lib_var=yes"
13381 echo "configure: failed program was:" >&5
13382 cat conftest.
$ac_ext >&5
13384 eval "ac_cv_lib_$ac_lib_var=no"
13387 LIBS
="$ac_save_LIBS"
13390 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13391 echo "$ac_t""yes" 1>&6
13394 echo "$ac_t""no" 1>&6
13395 echo $ac_n "checking for inet_addr in -lresolv""... $ac_c" 1>&6
13396 echo "configure:13397: checking for inet_addr in -lresolv" >&5
13397 ac_lib_var
=`echo resolv'_'inet_addr | sed 'y%./+-%__p_%'`
13398 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13399 echo $ac_n "(cached) $ac_c" 1>&6
13401 ac_save_LIBS
="$LIBS"
13402 LIBS
="-lresolv $LIBS"
13403 cat > conftest.
$ac_ext <<EOF
13404 #line 13405 "configure"
13405 #include "confdefs.h"
13406 /* Override any gcc2 internal prototype to avoid an error. */
13407 /* We use char because int might match the return type of a gcc2
13408 builtin and then its argument prototype would still apply. */
13415 if { (eval echo configure
:13416: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13417 eval "ac_cv_lib_$ac_lib_var=yes"
13419 echo "configure: failed program was:" >&5
13420 cat conftest.
$ac_ext >&5
13422 eval "ac_cv_lib_$ac_lib_var=no"
13425 LIBS
="$ac_save_LIBS"
13428 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13429 echo "$ac_t""yes" 1>&6
13433 echo "$ac_t""no" 1>&6
13445 for ac_func
in inet_aton
13447 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13448 echo "configure:13449: checking for $ac_func" >&5
13449 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13450 echo $ac_n "(cached) $ac_c" 1>&6
13452 cat > conftest.
$ac_ext <<EOF
13453 #line 13454 "configure"
13454 #include "confdefs.h"
13455 /* System header to define __stub macros and hopefully few prototypes,
13456 which can conflict with char $ac_func(); below. */
13457 #include <assert.h>
13458 /* Override any gcc2 internal prototype to avoid an error. */
13459 /* We use char because int might match the return type of a gcc2
13460 builtin and then its argument prototype would still apply. */
13465 /* The GNU C library defines this for functions which it implements
13466 to always fail with ENOSYS. Some functions are actually named
13467 something starting with __ and the normal name is an alias. */
13468 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13476 if { (eval echo configure
:13477: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13478 eval "ac_cv_func_$ac_func=yes"
13480 echo "configure: failed program was:" >&5
13481 cat conftest.
$ac_ext >&5
13483 eval "ac_cv_func_$ac_func=no"
13488 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13489 echo "$ac_t""yes" 1>&6
13490 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13491 cat >> confdefs.h
<<EOF
13492 #define $ac_tr_func 1
13494 cat >> confdefs.h
<<\EOF
13495 #define HAVE_INET_ATON 1
13499 echo "$ac_t""no" 1>&6
13500 echo $ac_n "checking for inet_aton in -l$INET_LINK""... $ac_c" 1>&6
13501 echo "configure:13502: checking for inet_aton in -l$INET_LINK" >&5
13502 ac_lib_var
=`echo $INET_LINK'_'inet_aton | sed 'y%./+-%__p_%'`
13503 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13504 echo $ac_n "(cached) $ac_c" 1>&6
13506 ac_save_LIBS
="$LIBS"
13507 LIBS
="-l$INET_LINK $LIBS"
13508 cat > conftest.
$ac_ext <<EOF
13509 #line 13510 "configure"
13510 #include "confdefs.h"
13511 /* Override any gcc2 internal prototype to avoid an error. */
13512 /* We use char because int might match the return type of a gcc2
13513 builtin and then its argument prototype would still apply. */
13520 if { (eval echo configure
:13521: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13522 eval "ac_cv_lib_$ac_lib_var=yes"
13524 echo "configure: failed program was:" >&5
13525 cat conftest.
$ac_ext >&5
13527 eval "ac_cv_lib_$ac_lib_var=no"
13530 LIBS
="$ac_save_LIBS"
13533 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13534 echo "$ac_t""yes" 1>&6
13535 cat >> confdefs.h
<<\EOF
13536 #define HAVE_INET_ATON 1
13540 echo "$ac_t""no" 1>&6
13548 if test "x$INET_LINK" != "x"; then
13549 cat >> confdefs.h
<<\EOF
13550 #define HAVE_INET_ADDR 1
13553 INET_LINK
="-l$INET_LINK"
13559 cat > confcache
<<\EOF
13560 # This file is a shell script that caches the results of configure
13561 # tests run on this system so they can be shared between configure
13562 # scripts and configure runs. It is not useful on other systems.
13563 # If it contains results you don't want to keep, you may remove or edit it.
13565 # By default, configure uses ./config.cache as the cache file,
13566 # creating it if it does not exist already. You can give configure
13567 # the --cache-file=FILE option to use a different cache file; that is
13568 # what configure does when it calls configure scripts in
13569 # subdirectories, so they share the cache.
13570 # Giving --cache-file=/dev/null disables caching, for debugging configure.
13571 # config.status only pays attention to the cache file if you give it the
13572 # --recheck option to rerun configure.
13575 # The following way of writing the cache mishandles newlines in values,
13576 # but we know of no workaround that is simple, portable, and efficient.
13577 # So, don't put newlines in cache variables' values.
13578 # Ultrix sh set writes to stderr and can't be redirected directly,
13579 # and sets the high bit in the cache file unless we assign to the vars.
13581 case `(ac_space=' '; set | grep ac_space) 2>&1` in
13583 # `set' does not quote correctly, so add quotes (double-quote substitution
13584 # turns \\\\ into \\, and sed turns \\ into \).
13586 -e "s/'/'\\\\''/g" \
13587 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
13590 # `set' quotes correctly as required by POSIX, so do not add quotes.
13591 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
13594 if cmp -s $cache_file confcache
; then
13597 if test -w $cache_file; then
13598 echo "updating cache $cache_file"
13599 cat confcache
> $cache_file
13601 echo "not updating unwritable cache $cache_file"
13608 if test "$TOOLKIT" != "MSW"; then
13614 if test "$wxUSE_THREADS" = "yes" ; then
13615 if test "$wxUSE_WINE" = 1 ; then
13616 echo "configure: warning: Threads are not supported under WINE" 1>&2
13618 elif test "$USE_BEOS" = 1; then
13619 echo "configure: warning: BeOS threads are not yet supported" 1>&2
13624 if test "$wxUSE_THREADS" = "yes" ; then
13626 if test "$USE_AIX" = 1; then
13627 THREADS_LIB
=pthreads
13629 THREADS_LIB
=pthread
13632 echo $ac_n "checking for pthread_create in -l$THREADS_LIB""... $ac_c" 1>&6
13633 echo "configure:13634: checking for pthread_create in -l$THREADS_LIB" >&5
13634 ac_lib_var
=`echo $THREADS_LIB'_'pthread_create | sed 'y%./+-%__p_%'`
13635 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13636 echo $ac_n "(cached) $ac_c" 1>&6
13638 ac_save_LIBS
="$LIBS"
13639 LIBS
="-l$THREADS_LIB $LIBS"
13640 cat > conftest.
$ac_ext <<EOF
13641 #line 13642 "configure"
13642 #include "confdefs.h"
13643 /* Override any gcc2 internal prototype to avoid an error. */
13644 /* We use char because int might match the return type of a gcc2
13645 builtin and then its argument prototype would still apply. */
13646 char pthread_create();
13652 if { (eval echo configure
:13653: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13654 eval "ac_cv_lib_$ac_lib_var=yes"
13656 echo "configure: failed program was:" >&5
13657 cat conftest.
$ac_ext >&5
13659 eval "ac_cv_lib_$ac_lib_var=no"
13662 LIBS
="$ac_save_LIBS"
13665 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13666 echo "$ac_t""yes" 1>&6
13668 THREADS_OBJ
="threadpsx.lo"
13669 THREADS_LINK
=$THREADS_LIB
13672 echo "$ac_t""no" 1>&6
13674 echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
13675 echo "configure:13676: checking for pthread_create in -lc_r" >&5
13676 ac_lib_var
=`echo c_r'_'pthread_create | sed 'y%./+-%__p_%'`
13677 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13678 echo $ac_n "(cached) $ac_c" 1>&6
13680 ac_save_LIBS
="$LIBS"
13682 cat > conftest.
$ac_ext <<EOF
13683 #line 13684 "configure"
13684 #include "confdefs.h"
13685 /* Override any gcc2 internal prototype to avoid an error. */
13686 /* We use char because int might match the return type of a gcc2
13687 builtin and then its argument prototype would still apply. */
13688 char pthread_create();
13694 if { (eval echo configure
:13695: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13696 eval "ac_cv_lib_$ac_lib_var=yes"
13698 echo "configure: failed program was:" >&5
13699 cat conftest.
$ac_ext >&5
13701 eval "ac_cv_lib_$ac_lib_var=no"
13704 LIBS
="$ac_save_LIBS"
13707 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13708 echo "$ac_t""yes" 1>&6
13710 THREADS_OBJ
="threadpsx.lo"
13714 echo "$ac_t""no" 1>&6
13716 ac_safe
=`echo "sys/prctl.h" | sed 'y%./+-%__p_%'`
13717 echo $ac_n "checking for sys/prctl.h""... $ac_c" 1>&6
13718 echo "configure:13719: checking for sys/prctl.h" >&5
13719 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13720 echo $ac_n "(cached) $ac_c" 1>&6
13722 cat > conftest.
$ac_ext <<EOF
13723 #line 13724 "configure"
13724 #include "confdefs.h"
13725 #include <sys/prctl.h>
13727 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13728 { (eval echo configure
:13729: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13729 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13730 if test -z "$ac_err"; then
13732 eval "ac_cv_header_$ac_safe=yes"
13735 echo "configure: failed program was:" >&5
13736 cat conftest.
$ac_ext >&5
13738 eval "ac_cv_header_$ac_safe=no"
13742 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13743 echo "$ac_t""yes" 1>&6
13745 THREADS_OBJ
="threadsgi.lo"
13748 echo "$ac_t""no" 1>&6
13758 if test -z "$THREADS_OBJ" ; then
13760 echo "configure: warning: No thread support on this system" 1>&2
13764 if test "$wxUSE_THREADS" = "yes" ; then
13765 for ac_func
in thr_setconcurrency
13767 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13768 echo "configure:13769: checking for $ac_func" >&5
13769 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13770 echo $ac_n "(cached) $ac_c" 1>&6
13772 cat > conftest.
$ac_ext <<EOF
13773 #line 13774 "configure"
13774 #include "confdefs.h"
13775 /* System header to define __stub macros and hopefully few prototypes,
13776 which can conflict with char $ac_func(); below. */
13777 #include <assert.h>
13778 /* Override any gcc2 internal prototype to avoid an error. */
13779 /* We use char because int might match the return type of a gcc2
13780 builtin and then its argument prototype would still apply. */
13785 /* The GNU C library defines this for functions which it implements
13786 to always fail with ENOSYS. Some functions are actually named
13787 something starting with __ and the normal name is an alias. */
13788 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13796 if { (eval echo configure
:13797: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13798 eval "ac_cv_func_$ac_func=yes"
13800 echo "configure: failed program was:" >&5
13801 cat conftest.
$ac_ext >&5
13803 eval "ac_cv_func_$ac_func=no"
13808 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13809 echo "$ac_t""yes" 1>&6
13810 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13811 cat >> confdefs.h
<<EOF
13812 #define $ac_tr_func 1
13816 echo "$ac_t""no" 1>&6
13822 for ac_hdr
in sched.h
13824 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13825 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13826 echo "configure:13827: checking for $ac_hdr" >&5
13827 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13828 echo $ac_n "(cached) $ac_c" 1>&6
13830 cat > conftest.
$ac_ext <<EOF
13831 #line 13832 "configure"
13832 #include "confdefs.h"
13835 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13836 { (eval echo configure
:13837: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13837 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13838 if test -z "$ac_err"; then
13840 eval "ac_cv_header_$ac_safe=yes"
13843 echo "configure: failed program was:" >&5
13844 cat conftest.
$ac_ext >&5
13846 eval "ac_cv_header_$ac_safe=no"
13850 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13851 echo "$ac_t""yes" 1>&6
13852 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13853 cat >> confdefs.h
<<EOF
13854 #define $ac_tr_hdr 1
13858 echo "$ac_t""no" 1>&6
13863 echo $ac_n "checking for sched_yield in -l$THREADS_LINK""... $ac_c" 1>&6
13864 echo "configure:13865: checking for sched_yield in -l$THREADS_LINK" >&5
13865 ac_lib_var
=`echo $THREADS_LINK'_'sched_yield | sed 'y%./+-%__p_%'`
13866 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13867 echo $ac_n "(cached) $ac_c" 1>&6
13869 ac_save_LIBS
="$LIBS"
13870 LIBS
="-l$THREADS_LINK $LIBS"
13871 cat > conftest.
$ac_ext <<EOF
13872 #line 13873 "configure"
13873 #include "confdefs.h"
13874 /* Override any gcc2 internal prototype to avoid an error. */
13875 /* We use char because int might match the return type of a gcc2
13876 builtin and then its argument prototype would still apply. */
13877 char sched_yield();
13883 if { (eval echo configure
:13884: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13885 eval "ac_cv_lib_$ac_lib_var=yes"
13887 echo "configure: failed program was:" >&5
13888 cat conftest.
$ac_ext >&5
13890 eval "ac_cv_lib_$ac_lib_var=no"
13893 LIBS
="$ac_save_LIBS"
13896 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13897 echo "$ac_t""yes" 1>&6
13898 cat >> confdefs.h
<<\EOF
13899 #define HAVE_SCHED_YIELD 1
13903 echo "$ac_t""no" 1>&6
13904 echo $ac_n "checking for sched_yield in -lposix4""... $ac_c" 1>&6
13905 echo "configure:13906: checking for sched_yield in -lposix4" >&5
13906 ac_lib_var
=`echo posix4'_'sched_yield | sed 'y%./+-%__p_%'`
13907 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13908 echo $ac_n "(cached) $ac_c" 1>&6
13910 ac_save_LIBS
="$LIBS"
13911 LIBS
="-lposix4 $LIBS"
13912 cat > conftest.
$ac_ext <<EOF
13913 #line 13914 "configure"
13914 #include "confdefs.h"
13915 /* Override any gcc2 internal prototype to avoid an error. */
13916 /* We use char because int might match the return type of a gcc2
13917 builtin and then its argument prototype would still apply. */
13918 char sched_yield();
13924 if { (eval echo configure
:13925: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13926 eval "ac_cv_lib_$ac_lib_var=yes"
13928 echo "configure: failed program was:" >&5
13929 cat conftest.
$ac_ext >&5
13931 eval "ac_cv_lib_$ac_lib_var=no"
13934 LIBS
="$ac_save_LIBS"
13937 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13938 echo "$ac_t""yes" 1>&6
13939 cat >> confdefs.h
<<\EOF
13940 #define HAVE_SCHED_YIELD 1
13942 POSIX4_LINK
="-lposix4"
13944 echo "$ac_t""no" 1>&6
13945 echo "configure: warning: wxThread::Yield will not work properly" 1>&2
13954 echo $ac_n "checking for pthread_attr_getschedpolicy in -l$THREADS_LINK""... $ac_c" 1>&6
13955 echo "configure:13956: checking for pthread_attr_getschedpolicy in -l$THREADS_LINK" >&5
13956 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
13957 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13958 echo $ac_n "(cached) $ac_c" 1>&6
13960 ac_save_LIBS
="$LIBS"
13961 LIBS
="-l$THREADS_LINK $LIBS"
13962 cat > conftest.
$ac_ext <<EOF
13963 #line 13964 "configure"
13964 #include "confdefs.h"
13965 /* Override any gcc2 internal prototype to avoid an error. */
13966 /* We use char because int might match the return type of a gcc2
13967 builtin and then its argument prototype would still apply. */
13968 char pthread_attr_getschedpolicy();
13971 pthread_attr_getschedpolicy()
13974 if { (eval echo configure
:13975: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13976 eval "ac_cv_lib_$ac_lib_var=yes"
13978 echo "configure: failed program was:" >&5
13979 cat conftest.
$ac_ext >&5
13981 eval "ac_cv_lib_$ac_lib_var=no"
13984 LIBS
="$ac_save_LIBS"
13987 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13988 echo "$ac_t""yes" 1>&6
13989 echo $ac_n "checking for pthread_attr_setschedparam in -l$THREADS_LINK""... $ac_c" 1>&6
13990 echo "configure:13991: checking for pthread_attr_setschedparam in -l$THREADS_LINK" >&5
13991 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_setschedparam | sed 'y%./+-%__p_%'`
13992 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13993 echo $ac_n "(cached) $ac_c" 1>&6
13995 ac_save_LIBS
="$LIBS"
13996 LIBS
="-l$THREADS_LINK $LIBS"
13997 cat > conftest.
$ac_ext <<EOF
13998 #line 13999 "configure"
13999 #include "confdefs.h"
14000 /* Override any gcc2 internal prototype to avoid an error. */
14001 /* We use char because int might match the return type of a gcc2
14002 builtin and then its argument prototype would still apply. */
14003 char pthread_attr_setschedparam();
14006 pthread_attr_setschedparam()
14009 if { (eval echo configure
:14010: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14011 eval "ac_cv_lib_$ac_lib_var=yes"
14013 echo "configure: failed program was:" >&5
14014 cat conftest.
$ac_ext >&5
14016 eval "ac_cv_lib_$ac_lib_var=no"
14019 LIBS
="$ac_save_LIBS"
14022 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14023 echo "$ac_t""yes" 1>&6
14024 echo $ac_n "checking for sched_get_priority_max in -l$THREADS_LINK""... $ac_c" 1>&6
14025 echo "configure:14026: checking for sched_get_priority_max in -l$THREADS_LINK" >&5
14026 ac_lib_var
=`echo $THREADS_LINK'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
14027 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14028 echo $ac_n "(cached) $ac_c" 1>&6
14030 ac_save_LIBS
="$LIBS"
14031 LIBS
="-l$THREADS_LINK $LIBS"
14032 cat > conftest.
$ac_ext <<EOF
14033 #line 14034 "configure"
14034 #include "confdefs.h"
14035 /* Override any gcc2 internal prototype to avoid an error. */
14036 /* We use char because int might match the return type of a gcc2
14037 builtin and then its argument prototype would still apply. */
14038 char sched_get_priority_max();
14041 sched_get_priority_max()
14044 if { (eval echo configure
:14045: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14046 eval "ac_cv_lib_$ac_lib_var=yes"
14048 echo "configure: failed program was:" >&5
14049 cat conftest.
$ac_ext >&5
14051 eval "ac_cv_lib_$ac_lib_var=no"
14054 LIBS
="$ac_save_LIBS"
14057 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14058 echo "$ac_t""yes" 1>&6
14061 echo "$ac_t""no" 1>&6
14062 echo $ac_n "checking for sched_get_priority_max in -lposix4""... $ac_c" 1>&6
14063 echo "configure:14064: checking for sched_get_priority_max in -lposix4" >&5
14064 ac_lib_var
=`echo posix4'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
14065 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14066 echo $ac_n "(cached) $ac_c" 1>&6
14068 ac_save_LIBS
="$LIBS"
14069 LIBS
="-lposix4 $LIBS"
14070 cat > conftest.
$ac_ext <<EOF
14071 #line 14072 "configure"
14072 #include "confdefs.h"
14073 /* Override any gcc2 internal prototype to avoid an error. */
14074 /* We use char because int might match the return type of a gcc2
14075 builtin and then its argument prototype would still apply. */
14076 char sched_get_priority_max();
14079 sched_get_priority_max()
14082 if { (eval echo configure
:14083: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14084 eval "ac_cv_lib_$ac_lib_var=yes"
14086 echo "configure: failed program was:" >&5
14087 cat conftest.
$ac_ext >&5
14089 eval "ac_cv_lib_$ac_lib_var=no"
14092 LIBS
="$ac_save_LIBS"
14095 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14096 echo "$ac_t""yes" 1>&6
14099 POSIX4_LINK
="-lposix4"
14102 echo "$ac_t""no" 1>&6
14110 echo "$ac_t""no" 1>&6
14115 echo "$ac_t""no" 1>&6
14119 if test "$HAVE_PRIOR_FUNCS" = 1; then
14120 cat >> confdefs.h
<<\EOF
14121 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
14125 echo "configure: warning: Setting thread priority will not work" 1>&2
14128 echo $ac_n "checking for pthread_cancel in -l$THREADS_LINK""... $ac_c" 1>&6
14129 echo "configure:14130: checking for pthread_cancel in -l$THREADS_LINK" >&5
14130 ac_lib_var
=`echo $THREADS_LINK'_'pthread_cancel | sed 'y%./+-%__p_%'`
14131 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14132 echo $ac_n "(cached) $ac_c" 1>&6
14134 ac_save_LIBS
="$LIBS"
14135 LIBS
="-l$THREADS_LINK $LIBS"
14136 cat > conftest.
$ac_ext <<EOF
14137 #line 14138 "configure"
14138 #include "confdefs.h"
14139 /* Override any gcc2 internal prototype to avoid an error. */
14140 /* We use char because int might match the return type of a gcc2
14141 builtin and then its argument prototype would still apply. */
14142 char pthread_cancel();
14148 if { (eval echo configure
:14149: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14150 eval "ac_cv_lib_$ac_lib_var=yes"
14152 echo "configure: failed program was:" >&5
14153 cat conftest.
$ac_ext >&5
14155 eval "ac_cv_lib_$ac_lib_var=no"
14158 LIBS
="$ac_save_LIBS"
14161 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14162 echo "$ac_t""yes" 1>&6
14163 cat >> confdefs.h
<<\EOF
14164 #define HAVE_PTHREAD_CANCEL 1
14168 echo "$ac_t""no" 1>&6
14169 echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
14173 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
14174 echo "configure:14175: checking for pthread_cleanup_push/pop" >&5
14175 if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
14176 echo $ac_n "(cached) $ac_c" 1>&6
14179 cat > conftest.
$ac_ext <<EOF
14180 #line 14181 "configure"
14181 #include "confdefs.h"
14182 #include <pthread.h>
14185 pthread_cleanup_push(NULL, NULL);
14186 pthread_cleanup_pop(0);
14190 if { (eval echo configure
:14191: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14193 wx_cv_func_pthread_cleanup_push
=yes
14196 echo "configure: failed program was:" >&5
14197 cat conftest.
$ac_ext >&5
14200 wx_cv_func_pthread_cleanup_push
=no
14207 echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
14209 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
14210 cat >> confdefs.h
<<\EOF
14211 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
14217 echo $ac_n "checking for pthread_mutexattr_t""... $ac_c" 1>&6
14218 echo "configure:14219: checking for pthread_mutexattr_t" >&5
14219 if eval "test \"`echo '$''{'wx_cv_type_pthread_mutexattr_t'+set}'`\" = set"; then
14220 echo $ac_n "(cached) $ac_c" 1>&6
14223 cat > conftest.
$ac_ext <<EOF
14224 #line 14225 "configure"
14225 #include "confdefs.h"
14226 #include <pthread.h>
14229 pthread_mutexattr_t attr;
14230 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
14234 if { (eval echo configure
:14235: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14237 wx_cv_type_pthread_mutexattr_t
=yes
14240 echo "configure: failed program was:" >&5
14241 cat conftest.
$ac_ext >&5
14244 wx_cv_type_pthread_mutexattr_t
=no
14252 echo "$ac_t""$wx_cv_type_pthread_mutexattr_t" 1>&6
14254 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
14255 cat >> confdefs.h
<<\EOF
14256 #define HAVE_PTHREAD_MUTEXATTR_T 1
14260 echo $ac_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER""... $ac_c" 1>&6
14261 echo "configure:14262: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
14262 if eval "test \"`echo '$''{'wx_cv_type_pthread_rec_mutex_init'+set}'`\" = set"; then
14263 echo $ac_n "(cached) $ac_c" 1>&6
14266 cat > conftest.
$ac_ext <<EOF
14267 #line 14268 "configure"
14268 #include "confdefs.h"
14269 #include <pthread.h>
14272 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
14276 if { (eval echo configure
:14277: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14279 wx_cv_type_pthread_rec_mutex_init
=yes
14282 echo "configure: failed program was:" >&5
14283 cat conftest.
$ac_ext >&5
14286 wx_cv_type_pthread_rec_mutex_init
=no
14294 echo "$ac_t""$wx_cv_type_pthread_rec_mutex_init" 1>&6
14295 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
14296 cat >> confdefs.h
<<\EOF
14297 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
14301 echo "configure: warning: wxMutex won't be recursive on this platform" 1>&2
14305 THREADS_LINK
="-l$THREADS_LINK"
14307 if test "$USE_SOLARIS" = "yes" -a "$GCC" != "yes"; then
14308 CFLAGS
="${CFLAGS} -mt"
14309 CXXFLAGS
="${CXXFLAGS} -mt"
14310 LDFLAGS
="${LDFLAGS} -mt"
14316 if test "$wxUSE_THREADS" = "yes"; then
14317 cat >> confdefs.h
<<\EOF
14318 #define wxUSE_THREADS 1
14322 if test "$wxUSE_MAC" = "0"; then
14323 CFLAGS
="${CFLAGS} -D_REENTRANT"
14324 CXXFLAGS
="${CXXFLAGS} -D_REENTRANT"
14327 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
14329 if test "$ac_cv_func_strtok_r" = "yes"; then
14330 echo $ac_n "checking if -D_REENTRANT is needed""... $ac_c" 1>&6
14331 echo "configure:14332: checking if -D_REENTRANT is needed" >&5
14332 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
14333 CFLAGS
="${CFLAGS} -D_REENTRANT"
14334 CXXFLAGS
="${CXXFLAGS} -D_REENTRANT"
14335 echo "$ac_t""yes" 1>&6
14337 echo "$ac_t""no" 1>&6
14342 if test "$WXGTK20" = 1 ; then
14343 cat >> confdefs.h
<<EOF
14344 #define __WXGTK20__ $WXGTK20
14350 if test "$WXGTK12" = 1 ; then
14351 cat >> confdefs.h
<<EOF
14352 #define __WXGTK12__ $WXGTK12
14357 if test "$WXGTK127" = 1 ; then
14358 cat >> confdefs.h
<<EOF
14359 #define __WXGTK127__ $WXGTK127
14364 if test "$WXWINE" = 1 ; then
14365 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WXWINE__"
14368 if test "$wxUSE_MAC" = 1 ; then
14369 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__UNIX__ -D__POWERPC__ -DTARGET_CARBON"
14370 CFLAGS
="${CFLAGS} -fno-common -fpascal-strings"
14371 CPPFLAGS
="${CPPFLAGS} -cpp-precomp -fno-common -fpascal-strings"
14372 # Extract the first word of "Rez", so it can be a program name with args.
14373 set dummy Rez
; ac_word
=$2
14374 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
14375 echo "configure:14376: checking for $ac_word" >&5
14376 if eval "test \"`echo '$''{'ac_cv_prog_REZ'+set}'`\" = set"; then
14377 echo $ac_n "(cached) $ac_c" 1>&6
14379 if test -n "$REZ"; then
14380 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
14382 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
14384 for ac_dir
in $ac_dummy; do
14385 test -z "$ac_dir" && ac_dir
=.
14386 if test -f $ac_dir/$ac_word; then
14387 ac_cv_prog_REZ
="Rez"
14392 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
14395 REZ
="$ac_cv_prog_REZ"
14396 if test -n "$REZ"; then
14397 echo "$ac_t""$REZ" 1>&6
14399 echo "$ac_t""no" 1>&6
14402 # Extract the first word of "Derez", so it can be a program name with args.
14403 set dummy Derez
; ac_word
=$2
14404 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
14405 echo "configure:14406: checking for $ac_word" >&5
14406 if eval "test \"`echo '$''{'ac_cv_prog_DEREZ'+set}'`\" = set"; then
14407 echo $ac_n "(cached) $ac_c" 1>&6
14409 if test -n "$DEREZ"; then
14410 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
14412 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
14414 for ac_dir
in $ac_dummy; do
14415 test -z "$ac_dir" && ac_dir
=.
14416 if test -f $ac_dir/$ac_word; then
14417 ac_cv_prog_DEREZ
="Derez"
14422 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/Derez"
14425 DEREZ
="$ac_cv_prog_DEREZ"
14426 if test -n "$DEREZ"; then
14427 echo "$ac_t""$DEREZ" 1>&6
14429 echo "$ac_t""no" 1>&6
14433 REZFLAGS
="-d __UNIX__ -useDF"
14434 DEREZFLAGS
="Carbon.r -useDF"
14435 RESFLAGS
="Carbon.r -t APPL"
14436 LIBWXMACRES
="\$(LIBWX_MACRES)"
14437 LIBWXMACRESCOMP
="\$(LIBWX_MACRESCOMP)"
14440 if test "$wxUSE_CYGWIN" = 1 ; then
14441 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WIN95__"
14446 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
14451 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
14452 wxUSE_DEBUG_INFO
=yes
14456 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
14457 cat >> confdefs.h
<<\EOF
14461 WXDEBUG_DEFINE
="-D__WXDEBUG__"
14463 if test "$wxUSE_GTK" = 1 ; then
14464 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
14468 if test "$wxUSE_MEM_TRACING" = "yes" ; then
14469 cat >> confdefs.h
<<\EOF
14470 #define wxUSE_MEMORY_TRACING 1
14473 cat >> confdefs.h
<<\EOF
14474 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
14477 cat >> confdefs.h
<<\EOF
14478 #define wxUSE_DEBUG_NEW_ALWAYS 1
14481 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
14484 if test "$wxUSE_DMALLOC" = "yes" ; then
14485 DMALLOC_LINK
="-ldmalloc"
14489 if test "$wxUSE_PROFILE" = "yes" ; then
14495 CODE_GEN_FLAGS_CXX
=
14496 if test "$GCC" = yes ; then
14497 if test "$wxUSE_NO_RTTI" = "yes" ; then
14498 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS -fno-rtti"
14500 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
14501 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS -fno-exceptions"
14503 if test "$wxUSE_PERMISSIVE" = "yes" ; then
14504 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
14506 if test "$wxUSE_NO_DEPS" = "no" ; then
14507 DEP_INFO_FLAGS
="-MMD"
14512 CXXFLAGS
=`echo "${CXXFLAGS}" | sed "s/\-O.//g" `
14513 CFLAGS
=`echo "${CFLAGS}" | sed "s/\-O.//g" `
14514 if test "$wxUSE_OPTIMISE" = "no" ; then
14517 if test "$GCC" = yes ; then
14520 i586
-*-*|i686
-*-* )
14521 OPTIMISE
="${OPTIMISE} "
14529 if test "$WXWIN_COMPATIBILITY_2" = "yes"; then
14530 cat >> confdefs.h
<<\EOF
14531 #define WXWIN_COMPATIBILITY_2 1
14535 WXWIN_COMPATIBILITY_2_2
="yes"
14538 if test "$WXWIN_COMPATIBILITY_2_2" = "yes"; then
14539 cat >> confdefs.h
<<\EOF
14540 #define WXWIN_COMPATIBILITY_2_2 1
14547 if test "$wxUSE_ZLIB" = "yes" -o "$wxUSE_ZLIB" = "sys" ; then
14548 cat >> confdefs.h
<<\EOF
14549 #define wxUSE_ZLIB 1
14552 if test "$wxUSE_ZLIB" = "yes" ; then
14553 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
14556 ac_safe
=`echo "zlib.h" | sed 'y%./+-%__p_%'`
14557 echo $ac_n "checking for zlib.h""... $ac_c" 1>&6
14558 echo "configure:14559: checking for zlib.h" >&5
14559 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14560 echo $ac_n "(cached) $ac_c" 1>&6
14562 cat > conftest.
$ac_ext <<EOF
14563 #line 14564 "configure"
14564 #include "confdefs.h"
14567 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14568 { (eval echo configure
:14569: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14569 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14570 if test -z "$ac_err"; then
14572 eval "ac_cv_header_$ac_safe=yes"
14575 echo "configure: failed program was:" >&5
14576 cat conftest.
$ac_ext >&5
14578 eval "ac_cv_header_$ac_safe=no"
14582 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14583 echo "$ac_t""yes" 1>&6
14584 echo $ac_n "checking for deflate in -lz""... $ac_c" 1>&6
14585 echo "configure:14586: checking for deflate in -lz" >&5
14586 ac_lib_var
=`echo z'_'deflate | sed 'y%./+-%__p_%'`
14587 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14588 echo $ac_n "(cached) $ac_c" 1>&6
14590 ac_save_LIBS
="$LIBS"
14592 cat > conftest.
$ac_ext <<EOF
14593 #line 14594 "configure"
14594 #include "confdefs.h"
14595 /* Override any gcc2 internal prototype to avoid an error. */
14596 /* We use char because int might match the return type of a gcc2
14597 builtin and then its argument prototype would still apply. */
14604 if { (eval echo configure
:14605: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14606 eval "ac_cv_lib_$ac_lib_var=yes"
14608 echo "configure: failed program was:" >&5
14609 cat conftest.
$ac_ext >&5
14611 eval "ac_cv_lib_$ac_lib_var=no"
14614 LIBS
="$ac_save_LIBS"
14617 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14618 echo "$ac_t""yes" 1>&6
14621 echo "$ac_t""no" 1>&6
14625 echo "$ac_t""no" 1>&6
14628 if test "x$ZLIB_LINK" = "x" ; then
14629 { echo "configure: error: system zlib compression library not found! Use --with-zlib=yes to use built-in zlib" 1>&2; exit 1; }
14635 if test "$wxUSE_LIBPNG" = "yes" -o "$wxUSE_LIBPNG" = "sys" ; then
14636 cat >> confdefs.h
<<\EOF
14637 #define wxUSE_LIBPNG 1
14640 if test "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
14641 echo "configure: warning: --with-libpng=sys doesn't work without --with-zlib=sys, will compile the built-in libpng instead" 1>&2
14645 if test "$wxUSE_LIBPNG" = "yes" ; then
14646 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
14649 ac_safe
=`echo "png.h" | sed 'y%./+-%__p_%'`
14650 echo $ac_n "checking for png.h""... $ac_c" 1>&6
14651 echo "configure:14652: checking for png.h" >&5
14652 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14653 echo $ac_n "(cached) $ac_c" 1>&6
14655 cat > conftest.
$ac_ext <<EOF
14656 #line 14657 "configure"
14657 #include "confdefs.h"
14660 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14661 { (eval echo configure
:14662: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14662 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14663 if test -z "$ac_err"; then
14665 eval "ac_cv_header_$ac_safe=yes"
14668 echo "configure: failed program was:" >&5
14669 cat conftest.
$ac_ext >&5
14671 eval "ac_cv_header_$ac_safe=no"
14675 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14676 echo "$ac_t""yes" 1>&6
14677 echo $ac_n "checking for png_check_sig in -lpng""... $ac_c" 1>&6
14678 echo "configure:14679: checking for png_check_sig in -lpng" >&5
14679 ac_lib_var
=`echo png'_'png_check_sig | sed 'y%./+-%__p_%'`
14680 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14681 echo $ac_n "(cached) $ac_c" 1>&6
14683 ac_save_LIBS
="$LIBS"
14684 LIBS
="-lpng -lz -lm $LIBS"
14685 cat > conftest.
$ac_ext <<EOF
14686 #line 14687 "configure"
14687 #include "confdefs.h"
14688 /* Override any gcc2 internal prototype to avoid an error. */
14689 /* We use char because int might match the return type of a gcc2
14690 builtin and then its argument prototype would still apply. */
14691 char png_check_sig();
14697 if { (eval echo configure
:14698: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14699 eval "ac_cv_lib_$ac_lib_var=yes"
14701 echo "configure: failed program was:" >&5
14702 cat conftest.
$ac_ext >&5
14704 eval "ac_cv_lib_$ac_lib_var=no"
14707 LIBS
="$ac_save_LIBS"
14710 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14711 echo "$ac_t""yes" 1>&6
14714 echo "$ac_t""no" 1>&6
14719 echo "$ac_t""no" 1>&6
14722 if test "x$PNG_LINK" = "x" ; then
14723 { echo "configure: error: system png library not found! Use --with-libpng=yes to use the built-in libpng" 1>&2; exit 1; }
14727 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
14731 if test "$wxUSE_LIBJPEG" = "yes" -o "$wxUSE_LIBJPEG" = "sys" ; then
14732 cat >> confdefs.h
<<\EOF
14733 #define wxUSE_LIBJPEG 1
14736 if test "$wxUSE_LIBJPEG" = "yes" ; then
14737 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
14740 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6
14741 echo "configure:14742: checking for jpeglib.h" >&5
14742 if eval "test \"`echo '$''{'ac_cv_header_jpeglib_h'+set}'`\" = set"; then
14743 echo $ac_n "(cached) $ac_c" 1>&6
14745 cat > conftest.
$ac_ext <<EOF
14746 #line 14747 "configure"
14747 #include "confdefs.h"
14749 #undef HAVE_STDLIB_H
14751 #include <jpeglib.h>
14758 if { (eval echo configure
:14759: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14760 ac_cv_header_jpeglib_h
=yes
14762 echo "configure: failed program was:" >&5
14763 cat conftest.
$ac_ext >&5
14765 ac_cv_header_jpeglib_h
=no
14772 echo "$ac_t""$ac_cv_header_jpeglib_h" 1>&6
14774 if test "$ac_cv_header_jpeglib_h" = "yes"; then
14775 echo $ac_n "checking for jpeg_read_header in -ljpeg""... $ac_c" 1>&6
14776 echo "configure:14777: checking for jpeg_read_header in -ljpeg" >&5
14777 ac_lib_var
=`echo jpeg'_'jpeg_read_header | sed 'y%./+-%__p_%'`
14778 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14779 echo $ac_n "(cached) $ac_c" 1>&6
14781 ac_save_LIBS
="$LIBS"
14782 LIBS
="-ljpeg $LIBS"
14783 cat > conftest.
$ac_ext <<EOF
14784 #line 14785 "configure"
14785 #include "confdefs.h"
14786 /* Override any gcc2 internal prototype to avoid an error. */
14787 /* We use char because int might match the return type of a gcc2
14788 builtin and then its argument prototype would still apply. */
14789 char jpeg_read_header();
14795 if { (eval echo configure
:14796: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14797 eval "ac_cv_lib_$ac_lib_var=yes"
14799 echo "configure: failed program was:" >&5
14800 cat conftest.
$ac_ext >&5
14802 eval "ac_cv_lib_$ac_lib_var=no"
14805 LIBS
="$ac_save_LIBS"
14808 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14809 echo "$ac_t""yes" 1>&6
14812 echo "$ac_t""no" 1>&6
14817 if test "x$JPEG_LINK" = "x" ; then
14818 { echo "configure: error: system jpeg library not found! Use --with-libjpeg=yes to use the built-in one" 1>&2; exit 1; }
14824 if test "$wxUSE_LIBTIFF" = "yes" -o "$wxUSE_LIBTIFF" = "sys" ; then
14825 cat >> confdefs.h
<<\EOF
14826 #define wxUSE_LIBTIFF 1
14829 if test "$wxUSE_LIBTIFF" = "yes" ; then
14830 TIFF_INCLUDE
="-I\${top_srcdir}/src/tiff"
14833 ac_safe
=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
14834 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
14835 echo "configure:14836: checking for tiffio.h" >&5
14836 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14837 echo $ac_n "(cached) $ac_c" 1>&6
14839 cat > conftest.
$ac_ext <<EOF
14840 #line 14841 "configure"
14841 #include "confdefs.h"
14842 #include <tiffio.h>
14844 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14845 { (eval echo configure
:14846: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14846 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14847 if test -z "$ac_err"; then
14849 eval "ac_cv_header_$ac_safe=yes"
14852 echo "configure: failed program was:" >&5
14853 cat conftest.
$ac_ext >&5
14855 eval "ac_cv_header_$ac_safe=no"
14859 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14860 echo "$ac_t""yes" 1>&6
14861 echo $ac_n "checking for TIFFError in -ltiff""... $ac_c" 1>&6
14862 echo "configure:14863: checking for TIFFError in -ltiff" >&5
14863 ac_lib_var
=`echo tiff'_'TIFFError | sed 'y%./+-%__p_%'`
14864 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14865 echo $ac_n "(cached) $ac_c" 1>&6
14867 ac_save_LIBS
="$LIBS"
14868 LIBS
="-ltiff -lm $LIBS"
14869 cat > conftest.
$ac_ext <<EOF
14870 #line 14871 "configure"
14871 #include "confdefs.h"
14872 /* Override any gcc2 internal prototype to avoid an error. */
14873 /* We use char because int might match the return type of a gcc2
14874 builtin and then its argument prototype would still apply. */
14881 if { (eval echo configure
:14882: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14883 eval "ac_cv_lib_$ac_lib_var=yes"
14885 echo "configure: failed program was:" >&5
14886 cat conftest.
$ac_ext >&5
14888 eval "ac_cv_lib_$ac_lib_var=no"
14891 LIBS
="$ac_save_LIBS"
14894 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14895 echo "$ac_t""yes" 1>&6
14898 echo "$ac_t""no" 1>&6
14902 echo "$ac_t""no" 1>&6
14905 if test "x$TIFF_LINK" = "x" ; then
14906 { echo "configure: error: system tiff library not found! Use --with-libtiff=yes to use the built-in one" 1>&2; exit 1; }
14912 if test "$wxUSE_FREETYPE" = "yes" -o "$wxUSE_FREETYPE" = "sys" ; then
14913 cat >> confdefs.h
<<\EOF
14914 #define wxUSE_FREETYPE 1
14917 if test "$wxUSE_FREETYPE" = "yes" ; then
14918 FREETYPE_INCLUDE
="-I\${top_srcdir}/src/freetype"
14921 ac_safe
=`echo "freetype.h" | sed 'y%./+-%__p_%'`
14922 echo $ac_n "checking for freetype.h""... $ac_c" 1>&6
14923 echo "configure:14924: checking for freetype.h" >&5
14924 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14925 echo $ac_n "(cached) $ac_c" 1>&6
14927 cat > conftest.
$ac_ext <<EOF
14928 #line 14929 "configure"
14929 #include "confdefs.h"
14930 #include <freetype.h>
14932 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14933 { (eval echo configure
:14934: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14934 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14935 if test -z "$ac_err"; then
14937 eval "ac_cv_header_$ac_safe=yes"
14940 echo "configure: failed program was:" >&5
14941 cat conftest.
$ac_ext >&5
14943 eval "ac_cv_header_$ac_safe=no"
14947 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14948 echo "$ac_t""yes" 1>&6
14949 echo $ac_n "checking for FT_Render_Glyph in -lfreetype""... $ac_c" 1>&6
14950 echo "configure:14951: checking for FT_Render_Glyph in -lfreetype" >&5
14951 ac_lib_var
=`echo freetype'_'FT_Render_Glyph | sed 'y%./+-%__p_%'`
14952 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14953 echo $ac_n "(cached) $ac_c" 1>&6
14955 ac_save_LIBS
="$LIBS"
14956 LIBS
="-lfreetype -lm $LIBS"
14957 cat > conftest.
$ac_ext <<EOF
14958 #line 14959 "configure"
14959 #include "confdefs.h"
14960 /* Override any gcc2 internal prototype to avoid an error. */
14961 /* We use char because int might match the return type of a gcc2
14962 builtin and then its argument prototype would still apply. */
14963 char FT_Render_Glyph();
14969 if { (eval echo configure
:14970: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14971 eval "ac_cv_lib_$ac_lib_var=yes"
14973 echo "configure: failed program was:" >&5
14974 cat conftest.
$ac_ext >&5
14976 eval "ac_cv_lib_$ac_lib_var=no"
14979 LIBS
="$ac_save_LIBS"
14982 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14983 echo "$ac_t""yes" 1>&6
14984 FREETYPE_LINK
="-lfreetype"
14986 echo "$ac_t""no" 1>&6
14991 echo "$ac_t""no" 1>&6
14994 if test "x$FREETYPE_LINK" = "x" ; then
14995 { echo "configure: error: system freetype library not found! Use --with-freetype=yes to use the built-in freetype" 1>&2; exit 1; }
15000 if test "$wxUSE_OPENGL" = "yes"; then
15001 ac_safe
=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
15002 echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
15003 echo "configure:15004: checking for GL/gl.h" >&5
15004 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15005 echo $ac_n "(cached) $ac_c" 1>&6
15007 cat > conftest.
$ac_ext <<EOF
15008 #line 15009 "configure"
15009 #include "confdefs.h"
15012 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15013 { (eval echo configure
:15014: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15014 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15015 if test -z "$ac_err"; then
15017 eval "ac_cv_header_$ac_safe=yes"
15020 echo "configure: failed program was:" >&5
15021 cat conftest.
$ac_ext >&5
15023 eval "ac_cv_header_$ac_safe=no"
15027 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15028 echo "$ac_t""yes" 1>&6
15030 cat >> confdefs.h
<<\EOF
15031 #define wxUSE_OPENGL 1
15034 cat >> confdefs.h
<<\EOF
15035 #define wxUSE_GLCANVAS 1
15038 echo $ac_n "checking for glFlush in -lGL""... $ac_c" 1>&6
15039 echo "configure:15040: checking for glFlush in -lGL" >&5
15040 ac_lib_var
=`echo GL'_'glFlush | sed 'y%./+-%__p_%'`
15041 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15042 echo $ac_n "(cached) $ac_c" 1>&6
15044 ac_save_LIBS
="$LIBS"
15046 cat > conftest.
$ac_ext <<EOF
15047 #line 15048 "configure"
15048 #include "confdefs.h"
15049 /* Override any gcc2 internal prototype to avoid an error. */
15050 /* We use char because int might match the return type of a gcc2
15051 builtin and then its argument prototype would still apply. */
15058 if { (eval echo configure
:15059: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15060 eval "ac_cv_lib_$ac_lib_var=yes"
15062 echo "configure: failed program was:" >&5
15063 cat conftest.
$ac_ext >&5
15065 eval "ac_cv_lib_$ac_lib_var=no"
15068 LIBS
="$ac_save_LIBS"
15071 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15072 echo "$ac_t""yes" 1>&6
15074 OPENGL_LINK
="-lGL -lGLU"
15077 echo "$ac_t""no" 1>&6
15079 echo $ac_n "checking for glFlush in -lMesaGL""... $ac_c" 1>&6
15080 echo "configure:15081: checking for glFlush in -lMesaGL" >&5
15081 ac_lib_var
=`echo MesaGL'_'glFlush | sed 'y%./+-%__p_%'`
15082 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15083 echo $ac_n "(cached) $ac_c" 1>&6
15085 ac_save_LIBS
="$LIBS"
15086 LIBS
="-lMesaGL $LIBS"
15087 cat > conftest.
$ac_ext <<EOF
15088 #line 15089 "configure"
15089 #include "confdefs.h"
15090 /* Override any gcc2 internal prototype to avoid an error. */
15091 /* We use char because int might match the return type of a gcc2
15092 builtin and then its argument prototype would still apply. */
15099 if { (eval echo configure
:15100: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15101 eval "ac_cv_lib_$ac_lib_var=yes"
15103 echo "configure: failed program was:" >&5
15104 cat conftest.
$ac_ext >&5
15106 eval "ac_cv_lib_$ac_lib_var=no"
15109 LIBS
="$ac_save_LIBS"
15112 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15113 echo "$ac_t""yes" 1>&6
15115 OPENGL_LINK
="-lMesaGL -lMesaGLU"
15118 echo "$ac_t""no" 1>&6
15126 echo "$ac_t""no" 1>&6
15133 if test "$wxUSE_GUI" = "yes"; then
15134 cat >> confdefs.h
<<\EOF
15135 #define wxUSE_GUI 1
15140 cat >> confdefs.h
<<\EOF
15141 #define wxUSE_NOGUI 1
15147 if test "$wxUSE_UNIX" = "yes"; then
15148 cat >> confdefs.h
<<\EOF
15149 #define wxUSE_UNIX 1
15155 if test "$wxUSE_APPLE_IEEE" = "yes"; then
15156 cat >> confdefs.h
<<\EOF
15157 #define wxUSE_APPLE_IEEE 1
15162 if test "$wxUSE_TIMER" = "yes"; then
15163 cat >> confdefs.h
<<\EOF
15164 #define wxUSE_TIMER 1
15169 if test "$wxUSE_WAVE" = "yes"; then
15170 cat >> confdefs.h
<<\EOF
15171 #define wxUSE_WAVE 1
15176 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
15177 cat >> confdefs.h
<<\EOF
15178 #define wxUSE_CMDLINE_PARSER 1
15183 if test "$wxUSE_STOPWATCH" = "yes"; then
15184 cat >> confdefs.h
<<\EOF
15185 #define wxUSE_STOPWATCH 1
15190 if test "$wxUSE_DATETIME" = "yes"; then
15191 cat >> confdefs.h
<<\EOF
15192 #define wxUSE_DATETIME 1
15197 if test "$wxUSE_TIMEDATE" = "yes"; then
15198 cat >> confdefs.h
<<\EOF
15199 #define wxUSE_TIMEDATE 1
15204 if test "$wxUSE_FILE" = "yes"; then
15205 cat >> confdefs.h
<<\EOF
15206 #define wxUSE_FILE 1
15211 if test "$wxUSE_FFILE" = "yes"; then
15212 cat >> confdefs.h
<<\EOF
15213 #define wxUSE_FFILE 1
15218 if test "$wxUSE_FILESYSTEM" = "yes"; then
15219 cat >> confdefs.h
<<\EOF
15220 #define wxUSE_FILESYSTEM 1
15225 if test "$wxUSE_FS_INET" = "yes"; then
15226 cat >> confdefs.h
<<\EOF
15227 #define wxUSE_FS_INET 1
15232 if test "$wxUSE_FS_ZIP" = "yes"; then
15233 cat >> confdefs.h
<<\EOF
15234 #define wxUSE_FS_ZIP 1
15239 if test "$wxUSE_ZIPSTREAM" = "yes"; then
15240 cat >> confdefs.h
<<\EOF
15241 #define wxUSE_ZIPSTREAM 1
15246 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
15247 cat >> confdefs.h
<<\EOF
15248 #define wxUSE_ON_FATAL_EXCEPTION 1
15253 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
15254 cat >> confdefs.h
<<\EOF
15255 #define wxUSE_SNGLINST_CHECKER 1
15260 if test "$wxUSE_BUSYINFO" = "yes"; then
15261 cat >> confdefs.h
<<\EOF
15262 #define wxUSE_BUSYINFO 1
15267 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
15268 cat >> confdefs.h
<<\EOF
15269 #define wxUSE_STD_IOSTREAM 1
15274 if test "$wxUSE_TEXTFILE" = "yes"; then
15275 if test "$wxUSE_FILE" != "yes"; then
15276 echo "configure: warning: wxTextFile requires wxFile and it won't be compiled without it" 1>&2
15278 cat >> confdefs.h
<<\EOF
15279 #define wxUSE_TEXTFILE 1
15285 if test "$wxUSE_CONFIG" = "yes" ; then
15286 if test "$wxUSE_TEXTFILE" != "yes"; then
15287 echo "configure: warning: wxConfig requires wxTextFile and it won't be compiled without it" 1>&2
15289 cat >> confdefs.h
<<\EOF
15290 #define wxUSE_CONFIG 1
15293 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
15297 if test "$wxUSE_INTL" = "yes" ; then
15298 if test "$wxUSE_FILE" != "yes"; then
15299 echo "configure: warning: I18n code requires wxFile and it won't be compiled without it" 1>&2
15301 cat >> confdefs.h
<<\EOF
15302 #define wxUSE_INTL 1
15305 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
15306 GUIDIST
="$GUIDIST INTL_DIST"
15310 if test "$wxUSE_LOG" = "yes"; then
15311 cat >> confdefs.h
<<\EOF
15312 #define wxUSE_LOG 1
15316 if test "$wxUSE_LOGGUI" = "yes"; then
15317 cat >> confdefs.h
<<\EOF
15318 #define wxUSE_LOGGUI 1
15323 if test "$wxUSE_LOGWINDOW" = "yes"; then
15324 cat >> confdefs.h
<<\EOF
15325 #define wxUSE_LOGWINDOW 1
15331 if test "$wxUSE_LONGLONG" = "yes"; then
15332 cat >> confdefs.h
<<\EOF
15333 #define wxUSE_LONGLONG 1
15338 if test "$wxUSE_GEOMETRY" = "yes"; then
15339 cat >> confdefs.h
<<\EOF
15340 #define wxUSE_GEOMETRY 1
15345 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
15346 cat >> confdefs.h
<<\EOF
15347 #define wxUSE_DIALUP_MANAGER 1
15350 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
15353 if test "$wxUSE_STREAMS" = "yes" ; then
15354 cat >> confdefs.h
<<\EOF
15355 #define wxUSE_STREAMS 1
15361 if test "$wxUSE_DATETIME" = "yes"; then
15362 for ac_func
in strptime
15364 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15365 echo "configure:15366: checking for $ac_func" >&5
15366 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15367 echo $ac_n "(cached) $ac_c" 1>&6
15369 cat > conftest.
$ac_ext <<EOF
15370 #line 15371 "configure"
15371 #include "confdefs.h"
15372 /* System header to define __stub macros and hopefully few prototypes,
15373 which can conflict with char $ac_func(); below. */
15374 #include <assert.h>
15375 /* Override any gcc2 internal prototype to avoid an error. */
15376 /* We use char because int might match the return type of a gcc2
15377 builtin and then its argument prototype would still apply. */
15382 /* The GNU C library defines this for functions which it implements
15383 to always fail with ENOSYS. Some functions are actually named
15384 something starting with __ and the normal name is an alias. */
15385 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15393 if { (eval echo configure
:15394: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15395 eval "ac_cv_func_$ac_func=yes"
15397 echo "configure: failed program was:" >&5
15398 cat conftest.
$ac_ext >&5
15400 eval "ac_cv_func_$ac_func=no"
15405 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15406 echo "$ac_t""yes" 1>&6
15407 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15408 cat >> confdefs.h
<<EOF
15409 #define $ac_tr_func 1
15413 echo "$ac_t""no" 1>&6
15418 echo $ac_n "checking for timezone variable in <time.h>""... $ac_c" 1>&6
15419 echo "configure:15420: checking for timezone variable in <time.h>" >&5
15420 if eval "test \"`echo '$''{'wx_cv_var_timezone'+set}'`\" = set"; then
15421 echo $ac_n "(cached) $ac_c" 1>&6
15424 cat > conftest.
$ac_ext <<EOF
15425 #line 15426 "configure"
15426 #include "confdefs.h"
15437 if { (eval echo configure
:15438: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15440 wx_cv_var_timezone
=__timezone
15443 echo "configure: failed program was:" >&5
15444 cat conftest.
$ac_ext >&5
15447 cat > conftest.
$ac_ext <<EOF
15448 #line 15449 "configure"
15449 #include "confdefs.h"
15460 if { (eval echo configure
:15461: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15463 wx_cv_var_timezone
=_timezone
15466 echo "configure: failed program was:" >&5
15467 cat conftest.
$ac_ext >&5
15470 cat > conftest.
$ac_ext <<EOF
15471 #line 15472 "configure"
15472 #include "confdefs.h"
15483 if { (eval echo configure
:15484: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15486 wx_cv_var_timezone
=timezone
15489 echo "configure: failed program was:" >&5
15490 cat conftest.
$ac_ext >&5
15492 { echo "configure: error: no timezone variable" 1>&2; exit 1; }
15508 echo "$ac_t""$wx_cv_var_timezone" 1>&6
15510 cat >> confdefs.h
<<EOF
15511 #define WX_TIMEZONE $wx_cv_var_timezone
15515 for ac_func
in localtime
15517 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15518 echo "configure:15519: checking for $ac_func" >&5
15519 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15520 echo $ac_n "(cached) $ac_c" 1>&6
15522 cat > conftest.
$ac_ext <<EOF
15523 #line 15524 "configure"
15524 #include "confdefs.h"
15525 /* System header to define __stub macros and hopefully few prototypes,
15526 which can conflict with char $ac_func(); below. */
15527 #include <assert.h>
15528 /* Override any gcc2 internal prototype to avoid an error. */
15529 /* We use char because int might match the return type of a gcc2
15530 builtin and then its argument prototype would still apply. */
15535 /* The GNU C library defines this for functions which it implements
15536 to always fail with ENOSYS. Some functions are actually named
15537 something starting with __ and the normal name is an alias. */
15538 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15546 if { (eval echo configure
:15547: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15548 eval "ac_cv_func_$ac_func=yes"
15550 echo "configure: failed program was:" >&5
15551 cat conftest.
$ac_ext >&5
15553 eval "ac_cv_func_$ac_func=no"
15558 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15559 echo "$ac_t""yes" 1>&6
15560 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15561 cat >> confdefs.h
<<EOF
15562 #define $ac_tr_func 1
15566 echo "$ac_t""no" 1>&6
15571 if test "$ac_cv_func_localtime" = "yes"; then
15572 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
15573 echo "configure:15574: checking for tm_gmtoff in struct tm" >&5
15574 if eval "test \"`echo '$''{'wx_cv_struct_tm_has_gmtoff'+set}'`\" = set"; then
15575 echo $ac_n "(cached) $ac_c" 1>&6
15578 cat > conftest.
$ac_ext <<EOF
15579 #line 15580 "configure"
15580 #include "confdefs.h"
15591 if { (eval echo configure
:15592: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15594 wx_cv_struct_tm_has_gmtoff
=yes
15597 echo "configure: failed program was:" >&5
15598 cat conftest.
$ac_ext >&5
15600 wx_cv_struct_tm_has_gmtoff
=no
15607 echo "$ac_t""$wx_cv_struct_tm_has_gmtoff" 1>&6
15610 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
15611 cat >> confdefs.h
<<\EOF
15612 #define WX_GMTOFF_IN_TM 1
15617 for ac_func
in gettimeofday ftime
15619 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15620 echo "configure:15621: checking for $ac_func" >&5
15621 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15622 echo $ac_n "(cached) $ac_c" 1>&6
15624 cat > conftest.
$ac_ext <<EOF
15625 #line 15626 "configure"
15626 #include "confdefs.h"
15627 /* System header to define __stub macros and hopefully few prototypes,
15628 which can conflict with char $ac_func(); below. */
15629 #include <assert.h>
15630 /* Override any gcc2 internal prototype to avoid an error. */
15631 /* We use char because int might match the return type of a gcc2
15632 builtin and then its argument prototype would still apply. */
15637 /* The GNU C library defines this for functions which it implements
15638 to always fail with ENOSYS. Some functions are actually named
15639 something starting with __ and the normal name is an alias. */
15640 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15648 if { (eval echo configure
:15649: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15650 eval "ac_cv_func_$ac_func=yes"
15652 echo "configure: failed program was:" >&5
15653 cat conftest.
$ac_ext >&5
15655 eval "ac_cv_func_$ac_func=no"
15660 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15661 echo "$ac_t""yes" 1>&6
15662 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15663 cat >> confdefs.h
<<EOF
15664 #define $ac_tr_func 1
15668 echo "$ac_t""no" 1>&6
15673 if test "$ac_cv_func_gettimeofday" = "yes"; then
15674 echo $ac_n "checking whether gettimeofday takes two arguments""... $ac_c" 1>&6
15675 echo "configure:15676: checking whether gettimeofday takes two arguments" >&5
15676 if eval "test \"`echo '$''{'wx_cv_func_gettimeofday_has_2_args'+set}'`\" = set"; then
15677 echo $ac_n "(cached) $ac_c" 1>&6
15682 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15683 ac_cpp
='$CXXCPP $CPPFLAGS'
15684 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15685 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15686 cross_compiling
=$ac_cv_prog_cxx_cross
15689 cat > conftest.
$ac_ext <<EOF
15690 #line 15691 "configure"
15691 #include "confdefs.h"
15693 #include <sys/time.h>
15694 #include <unistd.h>
15699 struct timezone tz;
15700 gettimeofday(&tv, &tz);
15704 if { (eval echo configure
:15705: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15706 wx_cv_func_gettimeofday_has_2_args
=yes
15708 echo "configure: failed program was:" >&5
15709 cat conftest.
$ac_ext >&5
15711 cat > conftest.
$ac_ext <<EOF
15712 #line 15713 "configure"
15713 #include "confdefs.h"
15715 #include <sys/time.h>
15716 #include <unistd.h>
15725 if { (eval echo configure
:15726: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15727 wx_cv_func_gettimeofday_has_2_args
=no
15729 echo "configure: failed program was:" >&5
15730 cat conftest.
$ac_ext >&5
15732 wx_cv_func_gettimeofday_has_2_args
=unknown
15740 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15741 ac_cpp
='$CPP $CPPFLAGS'
15742 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15743 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15744 cross_compiling
=$ac_cv_prog_cc_cross
15749 echo "$ac_t""$wx_cv_func_gettimeofday_has_2_args" 1>&6
15751 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
15752 cat >> confdefs.h
<<\EOF
15753 #define WX_GETTIMEOFDAY_NO_TZ 1
15759 cat >> confdefs.h
<<\EOF
15760 #define wxUSE_TIMEDATE 1
15763 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
15767 if test "$TOOLKIT" != "MSW"; then
15769 if test "$wxUSE_SOCKETS" = "yes"; then
15770 echo $ac_n "checking for socket""... $ac_c" 1>&6
15771 echo "configure:15772: checking for socket" >&5
15772 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
15773 echo $ac_n "(cached) $ac_c" 1>&6
15775 cat > conftest.
$ac_ext <<EOF
15776 #line 15777 "configure"
15777 #include "confdefs.h"
15778 /* System header to define __stub macros and hopefully few prototypes,
15779 which can conflict with char socket(); below. */
15780 #include <assert.h>
15781 /* Override any gcc2 internal prototype to avoid an error. */
15782 /* We use char because int might match the return type of a gcc2
15783 builtin and then its argument prototype would still apply. */
15788 /* The GNU C library defines this for functions which it implements
15789 to always fail with ENOSYS. Some functions are actually named
15790 something starting with __ and the normal name is an alias. */
15791 #if defined (__stub_socket) || defined (__stub___socket)
15799 if { (eval echo configure
:15800: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15801 eval "ac_cv_func_socket=yes"
15803 echo "configure: failed program was:" >&5
15804 cat conftest.
$ac_ext >&5
15806 eval "ac_cv_func_socket=no"
15811 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
15812 echo "$ac_t""yes" 1>&6
15815 echo "$ac_t""no" 1>&6
15816 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
15817 echo "configure:15818: checking for socket in -lsocket" >&5
15818 ac_lib_var
=`echo socket'_'socket | sed 'y%./+-%__p_%'`
15819 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15820 echo $ac_n "(cached) $ac_c" 1>&6
15822 ac_save_LIBS
="$LIBS"
15823 LIBS
="-lsocket $LIBS"
15824 cat > conftest.
$ac_ext <<EOF
15825 #line 15826 "configure"
15826 #include "confdefs.h"
15827 /* Override any gcc2 internal prototype to avoid an error. */
15828 /* We use char because int might match the return type of a gcc2
15829 builtin and then its argument prototype would still apply. */
15836 if { (eval echo configure
:15837: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15838 eval "ac_cv_lib_$ac_lib_var=yes"
15840 echo "configure: failed program was:" >&5
15841 cat conftest.
$ac_ext >&5
15843 eval "ac_cv_lib_$ac_lib_var=no"
15846 LIBS
="$ac_save_LIBS"
15849 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15850 echo "$ac_t""yes" 1>&6
15851 INET_LINK
="$INET_LINK -lsocket"
15853 echo "$ac_t""no" 1>&6
15855 echo "configure: warning: socket library not found - sockets will be disabled" 1>&2
15867 if test "$wxUSE_SOCKETS" = "yes" ; then
15868 echo $ac_n "checking what is the type of the third argument of getsockname""... $ac_c" 1>&6
15869 echo "configure:15870: checking what is the type of the third argument of getsockname" >&5
15870 if eval "test \"`echo '$''{'wx_cv_type_getsockname3'+set}'`\" = set"; then
15871 echo $ac_n "(cached) $ac_c" 1>&6
15876 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15877 ac_cpp
='$CXXCPP $CPPFLAGS'
15878 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15879 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15880 cross_compiling
=$ac_cv_prog_cxx_cross
15883 cat > conftest.
$ac_ext <<EOF
15884 #line 15885 "configure"
15885 #include "confdefs.h"
15887 #include <sys/types.h>
15888 #include <sys/socket.h>
15893 getsockname(0, 0, &len);
15897 if { (eval echo configure
:15898: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15899 wx_cv_type_getsockname3
=socklen_t
15901 echo "configure: failed program was:" >&5
15902 cat conftest.
$ac_ext >&5
15904 cat > conftest.
$ac_ext <<EOF
15905 #line 15906 "configure"
15906 #include "confdefs.h"
15908 #include <sys/types.h>
15909 #include <sys/socket.h>
15914 getsockname(0, 0, &len);
15918 if { (eval echo configure
:15919: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15920 wx_cv_type_getsockname3
=size_t
15922 echo "configure: failed program was:" >&5
15923 cat conftest.
$ac_ext >&5
15925 cat > conftest.
$ac_ext <<EOF
15926 #line 15927 "configure"
15927 #include "confdefs.h"
15929 #include <sys/types.h>
15930 #include <sys/socket.h>
15935 getsockname(0, 0, &len);
15939 if { (eval echo configure
:15940: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15941 wx_cv_type_getsockname3
=int
15943 echo "configure: failed program was:" >&5
15944 cat conftest.
$ac_ext >&5
15946 wx_cv_type_getsockname3
=unknown
15958 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15959 ac_cpp
='$CPP $CPPFLAGS'
15960 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15961 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15962 cross_compiling
=$ac_cv_prog_cc_cross
15967 echo "$ac_t""$wx_cv_type_getsockname3" 1>&6
15969 if test "$wx_cv_type_getsockname3" = "unknown"; then
15971 echo "configure: warning: Couldn't find socklen_t synonym for this system" 1>&2
15973 cat >> confdefs.h
<<EOF
15974 #define SOCKLEN_T $wx_cv_type_getsockname3
15982 if test "$wxUSE_SOCKETS" = "yes" ; then
15983 cat >> confdefs.h
<<\EOF
15984 #define wxUSE_SOCKETS 1
15987 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
15988 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS protocol"
15992 if test "$wxUSE_GUI" = "yes"; then
15994 if test "$TOOLKIT" != "MSW"; then
15996 if test "$wxUSE_JOYSTICK" = "yes"; then
15997 for ac_hdr
in linux
/joystick.h
15999 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
16000 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
16001 echo "configure:16002: checking for $ac_hdr" >&5
16002 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
16003 echo $ac_n "(cached) $ac_c" 1>&6
16005 cat > conftest.
$ac_ext <<EOF
16006 #line 16007 "configure"
16007 #include "confdefs.h"
16010 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
16011 { (eval echo configure
:16012: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16012 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
16013 if test -z "$ac_err"; then
16015 eval "ac_cv_header_$ac_safe=yes"
16018 echo "configure: failed program was:" >&5
16019 cat conftest.
$ac_ext >&5
16021 eval "ac_cv_header_$ac_safe=no"
16025 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
16026 echo "$ac_t""yes" 1>&6
16027 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
16028 cat >> confdefs.h
<<EOF
16029 #define $ac_tr_hdr 1
16033 echo "$ac_t""no" 1>&6
16037 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
16039 echo "configure: warning: Joystick not supported by this system" 1>&2
16045 if test "$wxUSE_JOYSTICK" = "yes"; then
16046 cat >> confdefs.h
<<\EOF
16047 #define wxUSE_JOYSTICK 1
16050 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
16056 if test "$TOOLKIT" != "MSW"; then
16060 if test "$wxUSE_DYNLIB_CLASS" = "yes"; then
16061 if test "$USE_MAC" = 1; then
16064 for ac_func
in dlopen
16066 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16067 echo "configure:16068: checking for $ac_func" >&5
16068 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16069 echo $ac_n "(cached) $ac_c" 1>&6
16071 cat > conftest.
$ac_ext <<EOF
16072 #line 16073 "configure"
16073 #include "confdefs.h"
16074 /* System header to define __stub macros and hopefully few prototypes,
16075 which can conflict with char $ac_func(); below. */
16076 #include <assert.h>
16077 /* Override any gcc2 internal prototype to avoid an error. */
16078 /* We use char because int might match the return type of a gcc2
16079 builtin and then its argument prototype would still apply. */
16084 /* The GNU C library defines this for functions which it implements
16085 to always fail with ENOSYS. Some functions are actually named
16086 something starting with __ and the normal name is an alias. */
16087 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16095 if { (eval echo configure
:16096: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16097 eval "ac_cv_func_$ac_func=yes"
16099 echo "configure: failed program was:" >&5
16100 cat conftest.
$ac_ext >&5
16102 eval "ac_cv_func_$ac_func=no"
16107 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16108 echo "$ac_t""yes" 1>&6
16109 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16110 cat >> confdefs.h
<<EOF
16111 #define $ac_tr_func 1
16114 cat >> confdefs.h
<<\EOF
16115 #define HAVE_DLOPEN 1
16121 echo "$ac_t""no" 1>&6
16122 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
16123 echo "configure:16124: checking for dlopen in -ldl" >&5
16124 ac_lib_var
=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
16125 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16126 echo $ac_n "(cached) $ac_c" 1>&6
16128 ac_save_LIBS
="$LIBS"
16130 cat > conftest.
$ac_ext <<EOF
16131 #line 16132 "configure"
16132 #include "confdefs.h"
16133 /* Override any gcc2 internal prototype to avoid an error. */
16134 /* We use char because int might match the return type of a gcc2
16135 builtin and then its argument prototype would still apply. */
16142 if { (eval echo configure
:16143: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16144 eval "ac_cv_lib_$ac_lib_var=yes"
16146 echo "configure: failed program was:" >&5
16147 cat conftest.
$ac_ext >&5
16149 eval "ac_cv_lib_$ac_lib_var=no"
16152 LIBS
="$ac_save_LIBS"
16155 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16156 echo "$ac_t""yes" 1>&6
16158 cat >> confdefs.h
<<\EOF
16159 #define HAVE_DLOPEN 1
16166 echo "$ac_t""no" 1>&6
16168 for ac_func
in shl_load
16170 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16171 echo "configure:16172: checking for $ac_func" >&5
16172 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16173 echo $ac_n "(cached) $ac_c" 1>&6
16175 cat > conftest.
$ac_ext <<EOF
16176 #line 16177 "configure"
16177 #include "confdefs.h"
16178 /* System header to define __stub macros and hopefully few prototypes,
16179 which can conflict with char $ac_func(); below. */
16180 #include <assert.h>
16181 /* Override any gcc2 internal prototype to avoid an error. */
16182 /* We use char because int might match the return type of a gcc2
16183 builtin and then its argument prototype would still apply. */
16188 /* The GNU C library defines this for functions which it implements
16189 to always fail with ENOSYS. Some functions are actually named
16190 something starting with __ and the normal name is an alias. */
16191 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16199 if { (eval echo configure
:16200: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16201 eval "ac_cv_func_$ac_func=yes"
16203 echo "configure: failed program was:" >&5
16204 cat conftest.
$ac_ext >&5
16206 eval "ac_cv_func_$ac_func=no"
16211 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16212 echo "$ac_t""yes" 1>&6
16213 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16214 cat >> confdefs.h
<<EOF
16215 #define $ac_tr_func 1
16218 cat >> confdefs.h
<<\EOF
16219 #define HAVE_SHL_LOAD 1
16225 echo "$ac_t""no" 1>&6
16226 echo $ac_n "checking for dld in -lshl_load""... $ac_c" 1>&6
16227 echo "configure:16228: checking for dld in -lshl_load" >&5
16228 ac_lib_var
=`echo shl_load'_'dld | sed 'y%./+-%__p_%'`
16229 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16230 echo $ac_n "(cached) $ac_c" 1>&6
16232 ac_save_LIBS
="$LIBS"
16233 LIBS
="-lshl_load $LIBS"
16234 cat > conftest.
$ac_ext <<EOF
16235 #line 16236 "configure"
16236 #include "confdefs.h"
16237 /* Override any gcc2 internal prototype to avoid an error. */
16238 /* We use char because int might match the return type of a gcc2
16239 builtin and then its argument prototype would still apply. */
16246 if { (eval echo configure
:16247: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16248 eval "ac_cv_lib_$ac_lib_var=yes"
16250 echo "configure: failed program was:" >&5
16251 cat conftest.
$ac_ext >&5
16253 eval "ac_cv_lib_$ac_lib_var=no"
16256 LIBS
="$ac_save_LIBS"
16259 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16260 echo "$ac_t""yes" 1>&6
16266 echo "$ac_t""no" 1>&6
16281 if test "$HAVE_DL_FUNCS" = 1; then
16282 for ac_func
in dlerror
16284 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16285 echo "configure:16286: checking for $ac_func" >&5
16286 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16287 echo $ac_n "(cached) $ac_c" 1>&6
16289 cat > conftest.
$ac_ext <<EOF
16290 #line 16291 "configure"
16291 #include "confdefs.h"
16292 /* System header to define __stub macros and hopefully few prototypes,
16293 which can conflict with char $ac_func(); below. */
16294 #include <assert.h>
16295 /* Override any gcc2 internal prototype to avoid an error. */
16296 /* We use char because int might match the return type of a gcc2
16297 builtin and then its argument prototype would still apply. */
16302 /* The GNU C library defines this for functions which it implements
16303 to always fail with ENOSYS. Some functions are actually named
16304 something starting with __ and the normal name is an alias. */
16305 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16313 if { (eval echo configure
:16314: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16315 eval "ac_cv_func_$ac_func=yes"
16317 echo "configure: failed program was:" >&5
16318 cat conftest.
$ac_ext >&5
16320 eval "ac_cv_func_$ac_func=no"
16325 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16326 echo "$ac_t""yes" 1>&6
16327 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16328 cat >> confdefs.h
<<EOF
16329 #define $ac_tr_func 1
16331 cat >> confdefs.h
<<\EOF
16332 #define HAVE_DLERROR 1
16336 echo "$ac_t""no" 1>&6
16337 echo $ac_n "checking for dlerror in -ldl""... $ac_c" 1>&6
16338 echo "configure:16339: checking for dlerror in -ldl" >&5
16339 ac_lib_var
=`echo dl'_'dlerror | sed 'y%./+-%__p_%'`
16340 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16341 echo $ac_n "(cached) $ac_c" 1>&6
16343 ac_save_LIBS
="$LIBS"
16345 cat > conftest.
$ac_ext <<EOF
16346 #line 16347 "configure"
16347 #include "confdefs.h"
16348 /* Override any gcc2 internal prototype to avoid an error. */
16349 /* We use char because int might match the return type of a gcc2
16350 builtin and then its argument prototype would still apply. */
16357 if { (eval echo configure
:16358: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16359 eval "ac_cv_lib_$ac_lib_var=yes"
16361 echo "configure: failed program was:" >&5
16362 cat conftest.
$ac_ext >&5
16364 eval "ac_cv_lib_$ac_lib_var=no"
16367 LIBS
="$ac_save_LIBS"
16370 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16371 echo "$ac_t""yes" 1>&6
16372 cat >> confdefs.h
<<\EOF
16373 #define HAVE_DLERROR 1
16377 echo "$ac_t""no" 1>&6
16386 if test "$HAVE_DL_FUNCS" = 0; then
16387 if test "$HAVE_SHL_FUNCS" = 0; then
16388 if test "$USE_UNIX" = 1; then
16389 echo "configure: warning: Missing dynamic loading support, several features will be disabled" 1>&2
16390 wxUSE_DYNLIB_CLASS
=no
16392 echo "configure: warning: Assuming wxLibrary class works on this platform" 1>&2
16400 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
16401 cat >> confdefs.h
<<\EOF
16402 #define wxUSE_DYNLIB_CLASS 1
16411 if test "$wxUSE_FONTMAP" = "yes" ; then
16412 cat >> confdefs.h
<<\EOF
16413 #define wxUSE_FONTMAP 1
16418 if test "$wxUSE_UNICODE" = "yes" ; then
16419 cat >> confdefs.h
<<\EOF
16420 #define wxUSE_UNICODE 1
16425 if test "$wxUSE_WCSRTOMBS" = "yes" ; then
16426 cat >> confdefs.h
<<\EOF
16427 #define wxUSE_WCSRTOMBS 1
16432 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
16433 cat >> confdefs.h
<<\EOF
16434 #define wxUSE_EXPERIMENTAL_PRINTF 1
16440 if test "$wxUSE_SERIAL" = "yes" ; then
16441 cat >> confdefs.h
<<\EOF
16442 #define wxUSE_SERIAL 1
16449 if test "$wxUSE_ODBC" = "yes" ; then
16450 cat >> confdefs.h
<<\EOF
16451 #define wxUSE_ODBC 1
16454 WXODBCFLAG
="-D_IODBC_"
16455 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
16459 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
16460 cat >> confdefs.h
<<\EOF
16461 #define wxUSE_POSTSCRIPT 1
16466 cat >> confdefs.h
<<\EOF
16467 #define wxUSE_AFM_FOR_POSTSCRIPT 1
16471 cat >> confdefs.h
<<\EOF
16472 #define wxUSE_NORMALIZED_PS_FONTS 1
16477 if test "$wxUSE_CONSTRAINTS" = "yes"; then
16478 cat >> confdefs.h
<<\EOF
16479 #define wxUSE_CONSTRAINTS 1
16482 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
16485 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
16486 cat >> confdefs.h
<<\EOF
16487 #define wxUSE_MDI_ARCHITECTURE 1
16490 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
16493 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
16494 cat >> confdefs.h
<<\EOF
16495 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
16498 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
16499 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
16500 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
16504 if test "$wxUSE_HELP" = "yes"; then
16505 cat >> confdefs.h
<<\EOF
16506 #define wxUSE_HELP 1
16509 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
16512 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
16513 if test "$wxUSE_CONSTRAINTS" != "yes"; then
16514 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
16516 cat >> confdefs.h
<<\EOF
16517 #define wxUSE_PRINTING_ARCHITECTURE 1
16521 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
16524 if test "$wxUSE_PROLOGIO" = "yes" ; then
16525 cat >> confdefs.h
<<\EOF
16526 #define wxUSE_PROLOGIO 1
16531 if test "$wxUSE_RESOURCES" = "yes" ; then
16532 if test "$wxUSE_PROLOGIO" = "yes" ; then
16533 cat >> confdefs.h
<<\EOF
16534 #define wxUSE_RESOURCES 1
16537 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS resource"
16539 echo "configure: warning: wxWindows ressource system requires PrologIO and can't be compiled without it." 1>&2
16543 if test "$wxUSE_X_RESOURCES" = "yes"; then
16544 cat >> confdefs.h
<<\EOF
16545 #define wxUSE_X_RESOURCES 1
16551 if test "$wxUSE_IPC" = "yes"; then
16552 if test "$wxUSE_SOCKETS" != "yes"; then
16553 echo "configure: warning: wxWindows IPC classes require sockets" 1>&2
16556 cat >> confdefs.h
<<\EOF
16557 #define wxUSE_IPC 1
16562 if test "$wxUSE_CLIPBOARD" = "yes"; then
16563 cat >> confdefs.h
<<\EOF
16564 #define wxUSE_CLIPBOARD 1
16567 cat >> confdefs.h
<<\EOF
16568 #define wxUSE_DATAOBJ 1
16573 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
16574 if test "$wxUSE_GTK" = 1; then
16575 if test "$WXGTK12" != 1; then
16576 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2" 1>&2
16577 wxUSE_DRAG_AND_DROP
=no
16581 if test "$wxUSE_MOTIF" = 1; then
16582 echo "configure: warning: Drag and drop is not yet supported under Motif" 1>&2
16583 wxUSE_DRAG_AND_DROP
=no
16586 if test "$wxUSE_MAC" = 1; then
16587 echo "configure: warning: Drag and drop is not yet supported under Mac OS X" 1>&2
16588 wxUSE_DRAG_AND_DROP
=no
16591 if test "$USE_WIN32" = 1; then
16593 for ac_hdr
in ole2.h
16595 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
16596 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
16597 echo "configure:16598: checking for $ac_hdr" >&5
16598 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
16599 echo $ac_n "(cached) $ac_c" 1>&6
16601 cat > conftest.
$ac_ext <<EOF
16602 #line 16603 "configure"
16603 #include "confdefs.h"
16606 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
16607 { (eval echo configure
:16608: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16608 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
16609 if test -z "$ac_err"; then
16611 eval "ac_cv_header_$ac_safe=yes"
16614 echo "configure: failed program was:" >&5
16615 cat conftest.
$ac_ext >&5
16617 eval "ac_cv_header_$ac_safe=no"
16621 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
16622 echo "$ac_t""yes" 1>&6
16623 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
16624 cat >> confdefs.h
<<EOF
16625 #define $ac_tr_hdr 1
16629 echo "$ac_t""no" 1>&6
16634 if test "$ac_cv_header_ole2_h" = "yes" ; then
16635 if test "$GCC" = yes ; then
16636 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
16637 ALL_DEPFILES
="$ALL_DEPFILES \$(OLEDEPS)"
16638 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
16639 LIBS
="$LIBS -lole32 -luuid"
16641 if test "$wxUSE_METAFILE" = "yes"; then
16642 cat >> confdefs.h
<<\EOF
16643 #define wxUSE_METAFILE 1
16646 cat >> confdefs.h
<<\EOF
16647 #define wxUSE_ENH_METAFILE 1
16653 echo "configure: warning: Drag and drop disabled because OLE headers not found" 1>&2
16654 wxUSE_DRAG_AND_DROP
=no
16658 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
16659 cat >> confdefs.h
<<\EOF
16660 #define wxUSE_DRAG_AND_DROP 1
16663 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
16668 if test "$wxUSE_SPLINES" = "yes" ; then
16669 cat >> confdefs.h
<<\EOF
16670 #define wxUSE_SPLINES 1
16677 if test "$wxUSE_CONTROLS" = "yes"; then
16681 if test "$wxUSE_ACCEL" = "yes"; then
16682 cat >> confdefs.h
<<\EOF
16683 #define wxUSE_ACCEL 1
16689 if test "$wxUSE_BUTTON" = "yes"; then
16690 cat >> confdefs.h
<<\EOF
16691 #define wxUSE_BUTTON 1
16697 if test "$wxUSE_BMPBUTTON" = "yes"; then
16698 cat >> confdefs.h
<<\EOF
16699 #define wxUSE_BMPBUTTON 1
16705 if test "$wxUSE_CALCTRL" = "yes"; then
16706 cat >> confdefs.h
<<\EOF
16707 #define wxUSE_CALENDARCTRL 1
16711 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
16714 if test "$wxUSE_CARET" = "yes"; then
16715 cat >> confdefs.h
<<\EOF
16716 #define wxUSE_CARET 1
16720 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
16723 if test "$wxUSE_COMBOBOX" = "yes"; then
16724 cat >> confdefs.h
<<\EOF
16725 #define wxUSE_COMBOBOX 1
16731 if test "$wxUSE_CHOICE" = "yes"; then
16732 cat >> confdefs.h
<<\EOF
16733 #define wxUSE_CHOICE 1
16739 if test "$wxUSE_CHECKBOX" = "yes"; then
16740 cat >> confdefs.h
<<\EOF
16741 #define wxUSE_CHECKBOX 1
16747 if test "$wxUSE_CHECKLST" = "yes"; then
16748 cat >> confdefs.h
<<\EOF
16749 #define wxUSE_CHECKLISTBOX 1
16753 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
16756 if test "$wxUSE_GAUGE" = "yes"; then
16757 cat >> confdefs.h
<<\EOF
16758 #define wxUSE_GAUGE 1
16764 if test "$wxUSE_NEW_GRID" = "yes"; then
16766 cat >> confdefs.h
<<\EOF
16767 #define wxUSE_NEW_GRID 1
16771 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS newgrid"
16774 if test "$wxUSE_GRID" = "yes"; then
16775 cat >> confdefs.h
<<\EOF
16776 #define wxUSE_GRID 1
16780 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
16783 if test "$wxUSE_IMAGLIST" = "yes"; then
16784 cat >> confdefs.h
<<\EOF
16785 #define wxUSE_IMAGLIST 1
16790 if test "$wxUSE_LISTBOX" = "yes"; then
16791 cat >> confdefs.h
<<\EOF
16792 #define wxUSE_LISTBOX 1
16798 if test "$wxUSE_LISTCTRL" = "yes"; then
16799 if test "$wxUSE_IMAGLIST" = "yes"; then
16800 cat >> confdefs.h
<<\EOF
16801 #define wxUSE_LISTCTRL 1
16805 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
16807 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
16811 if test "$wxUSE_NOTEBOOK" = "yes"; then
16812 cat >> confdefs.h
<<\EOF
16813 #define wxUSE_NOTEBOOK 1
16817 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
16820 if test "$wxUSE_RADIOBOX" = "yes"; then
16821 cat >> confdefs.h
<<\EOF
16822 #define wxUSE_RADIOBOX 1
16828 if test "$wxUSE_RADIOBTN" = "yes"; then
16829 cat >> confdefs.h
<<\EOF
16830 #define wxUSE_RADIOBTN 1
16836 if test "$wxUSE_SASH" = "yes"; then
16837 cat >> confdefs.h
<<\EOF
16838 #define wxUSE_SASH 1
16841 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
16844 if test "$wxUSE_SCROLLBAR" = "yes"; then
16845 cat >> confdefs.h
<<\EOF
16846 #define wxUSE_SCROLLBAR 1
16850 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
16853 if test "$wxUSE_SLIDER" = "yes"; then
16854 cat >> confdefs.h
<<\EOF
16855 #define wxUSE_SLIDER 1
16861 if test "$wxUSE_SPINBTN" = "yes"; then
16862 cat >> confdefs.h
<<\EOF
16863 #define wxUSE_SPINBTN 1
16869 if test "$wxUSE_SPINCTRL" = "yes"; then
16870 cat >> confdefs.h
<<\EOF
16871 #define wxUSE_SPINCTRL 1
16877 if test "$wxUSE_SPLITTER" = "yes"; then
16878 cat >> confdefs.h
<<\EOF
16879 #define wxUSE_SPLITTER 1
16882 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
16885 if test "$wxUSE_STATBMP" = "yes"; then
16886 cat >> confdefs.h
<<\EOF
16887 #define wxUSE_STATBMP 1
16893 if test "$wxUSE_STATBOX" = "yes"; then
16894 cat >> confdefs.h
<<\EOF
16895 #define wxUSE_STATBOX 1
16901 if test "$wxUSE_STATTEXT" = "yes"; then
16902 cat >> confdefs.h
<<\EOF
16903 #define wxUSE_STATTEXT 1
16909 if test "$wxUSE_STATLINE" = "yes"; then
16910 if test "$wxUSE_WINE" = 1 ; then
16911 echo "configure: warning: wxStaticLine is not supported under WINE" 1>&2
16913 cat >> confdefs.h
<<\EOF
16914 #define wxUSE_STATLINE 1
16921 if test "$wxUSE_STATUSBAR" = "yes"; then
16922 cat >> confdefs.h
<<\EOF
16923 #define wxUSE_STATUSBAR 1
16928 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
16931 if test "$wxUSE_TABDIALOG" = "yes"; then
16932 cat >> confdefs.h
<<\EOF
16933 #define wxUSE_TAB_DIALOG 1
16936 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
16939 if test "$wxUSE_TEXTCTRL" = "yes"; then
16940 cat >> confdefs.h
<<\EOF
16941 #define wxUSE_TEXTCTRL 1
16945 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
16948 if test "$wxUSE_TOGGLEBTN" = "yes"; then
16949 if test "$wxUSE_MAC" = 1; then
16950 echo "configure: warning: Toggle button is not yet supported under Mac OS X" 1>&2
16954 if test "$wxUSE_TOGGLEBTN" = "yes"; then
16955 cat >> confdefs.h
<<\EOF
16956 #define wxUSE_TOGGLEBTN 1
16963 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
16964 cat >> confdefs.h
<<\EOF
16965 #define wxUSE_TOOLBAR_SIMPLE 1
16968 wxUSE_TOOLBAR
="yes"
16972 if test "$wxUSE_TOOLBAR" = "yes"; then
16973 cat >> confdefs.h
<<\EOF
16974 #define wxUSE_TOOLBAR 1
16979 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
16980 wxUSE_TOOLBAR_NATIVE
="yes"
16983 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
16984 cat >> confdefs.h
<<\EOF
16985 #define wxUSE_TOOLBAR_NATIVE 1
16991 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
16994 if test "$wxUSE_TOOLTIPS" = "yes"; then
16995 if test "$wxUSE_MOTIF" = 1; then
16996 echo "configure: warning: wxTooltip not supported yet under Motif" 1>&2
16998 if test "$wxUSE_WINE" = 1; then
16999 echo "configure: warning: wxTooltip not supported under WINE" 1>&2
17001 cat >> confdefs.h
<<\EOF
17002 #define wxUSE_TOOLTIPS 1
17009 if test "$wxUSE_TREECTRL" = "yes"; then
17010 if test "$wxUSE_IMAGLIST" = "yes"; then
17011 cat >> confdefs.h
<<\EOF
17012 #define wxUSE_TREECTRL 1
17016 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
17018 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
17022 if test "$USES_CONTROLS" = 1; then
17023 cat >> confdefs.h
<<\EOF
17024 #define wxUSE_CONTROLS 1
17031 if test "$wxUSE_DRAGIMAGE" = "yes"; then
17032 cat >> confdefs.h
<<\EOF
17033 #define wxUSE_DRAGIMAGE 1
17036 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
17039 if test "$wxUSE_MENUS" = "yes"; then
17040 cat >> confdefs.h
<<\EOF
17041 #define wxUSE_MENUS 1
17044 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
17047 if test "$wxUSE_METAFILE" = "yes"; then
17048 cat >> confdefs.h
<<\EOF
17049 #define wxUSE_METAFILE 1
17054 if test "$wxUSE_MIMETYPE" = "yes"; then
17055 cat >> confdefs.h
<<\EOF
17056 #define wxUSE_MIMETYPE 1
17061 if test "$wxUSE_MINIFRAME" = "yes"; then
17062 cat >> confdefs.h
<<\EOF
17063 #define wxUSE_MINIFRAME 1
17066 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
17069 if test "$wxUSE_HTML" = "yes"; then
17070 cat >> confdefs.h
<<\EOF
17071 #define wxUSE_HTML 1
17074 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html"
17075 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS html"
17078 if test "$wxUSE_VALIDATORS" = "yes"; then
17079 cat >> confdefs.h
<<\EOF
17080 #define wxUSE_VALIDATORS 1
17083 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
17086 if test "$wxUSE_IMAGE" = "yes" ; then
17087 cat >> confdefs.h
<<\EOF
17088 #define wxUSE_IMAGE 1
17093 if test "$wxUSE_GIF" = "yes" ; then
17094 cat >> confdefs.h
<<\EOF
17095 #define wxUSE_GIF 1
17100 if test "$wxUSE_PCX" = "yes" ; then
17101 cat >> confdefs.h
<<\EOF
17102 #define wxUSE_PCX 1
17107 if test "$wxUSE_PNM" = "yes" ; then
17108 cat >> confdefs.h
<<\EOF
17109 #define wxUSE_PNM 1
17114 if test "$wxUSE_XPM" = "yes" ; then
17115 cat >> confdefs.h
<<\EOF
17116 #define wxUSE_XPM 1
17122 if test "$wxUSE_CHOICEDLG" = "yes"; then
17123 cat >> confdefs.h
<<\EOF
17124 #define wxUSE_CHOICEDLG 1
17129 if test "$wxUSE_COLOURDLG" = "yes"; then
17130 cat >> confdefs.h
<<\EOF
17131 #define wxUSE_COLOURDLG 1
17136 if test "$wxUSE_FILEDLG" = "yes"; then
17137 cat >> confdefs.h
<<\EOF
17138 #define wxUSE_FILEDLG 1
17143 if test "$wxUSE_FONTDLG" = "yes"; then
17144 cat >> confdefs.h
<<\EOF
17145 #define wxUSE_FONTDLG 1
17150 if test "$wxUSE_DIRDLG" = "yes"; then
17151 if test "$wxUSE_CONSTRAINTS" != "yes"; then
17152 echo "configure: warning: wxDirDialog requires constraints so it won't be compiled without them" 1>&2
17154 if test "$wxUSE_TREECTRL" != "yes"; then
17155 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
17157 cat >> confdefs.h
<<\EOF
17158 #define wxUSE_DIRDLG 1
17165 if test "$wxUSE_MSGDLG" = "yes"; then
17166 cat >> confdefs.h
<<\EOF
17167 #define wxUSE_MSGDLG 1
17172 if test "$wxUSE_NUMBERDLG" = "yes"; then
17173 cat >> confdefs.h
<<\EOF
17174 #define wxUSE_NUMBERDLG 1
17179 if test "$wxUSE_PROGRESSDLG" = "yes"; then
17180 if test "$wxUSE_CONSTRAINTS" != "yes"; then
17181 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
17183 cat >> confdefs.h
<<\EOF
17184 #define wxUSE_PROGRESSDLG 1
17190 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
17191 if test "$wxUSE_CONSTRAINTS" != "yes"; then
17192 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
17194 cat >> confdefs.h
<<\EOF
17195 #define wxUSE_STARTUP_TIPS 1
17201 if test "$wxUSE_TEXTDLG" = "yes"; then
17202 cat >> confdefs.h
<<\EOF
17203 #define wxUSE_TEXTDLG 1
17208 if test "$wxUSE_WIZARDDLG" = "yes"; then
17209 cat >> confdefs.h
<<\EOF
17210 #define wxUSE_WIZARDDLG 1
17213 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
17217 if test "$cross_compiling" = "yes"; then
17220 OSINFO
=`uname -s -r -m`
17221 OSINFO
="\"$OSINFO\""
17224 cat >> confdefs.h
<<EOF
17225 #define WXWIN_OS_DESCRIPTION $OSINFO
17230 GUILIBS
="$GUI_TK_LIBRARY $TOOLKIT_LINK"
17231 OPENGL_LIBS
="$OPENGL_LINK"
17233 EXTRA_LIBS
="$LIBS $POSIX4_LINK $INET_LINK $WCHAR_LINK $THREADS_LINK $DMALLOC_LINK $DL_LINK $ZLIB_LINK -lm"
17234 if test "$USE_MAC" = 1 ; then
17235 EXTRA_LIBS
="$EXTRA_LIBS -framework Carbon -framework System"
17237 if test "$wxUSE_GUI" = "yes"; then
17238 EXTRA_LIBS
="$GUILIBS $PNG_LINK $JPEG_LINK $TIFF_LINK $FREETYPE_LINK $EXTRA_LIBS"
17241 LD_LIBS
="\${top_builddir}/lib/${WX_LIBRARY_NAME_STATIC} $EXTRA_LIBS"
17243 INCLUDES
="-I. -I\${top_builddir}/include -I\${top_srcdir}/include $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE $FREETYPE_INCLUDE $TOOLKIT_INCLUDE"
17245 if test "$wxUSE_GTK" = 1; then
17246 WXCONFIG_INCLUDE
=""
17248 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
17251 if test "$GXX" = yes ; then
17252 CXXWARNINGS
="-Wall"
17254 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE $INCLUDES"
17256 CFLAGS
=`echo $CFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
17257 CXXFLAGS
=`echo $CXXFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
17259 LDFLAGS
="$LDFLAGS $PROFILE"
17261 if test "$wxUSE_GUI" = "yes"; then
17263 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS controls dialogs \
17264 drawing dynamic event font fractal image \
17265 minimal richedit widgets"
17267 if test "$wxUSE_UNIVERSAL" = "yes" ; then
17268 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS univ"
17271 CPPFLAGS
="$CPPFLAGS \$(EXTRADEFS) \$(APPEXTRADEFS)"
17276 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
17371 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
17372 echo "configure:17373: checking whether ${MAKE-make} sets \${MAKE}" >&5
17373 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
17374 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
17375 echo $ac_n "(cached) $ac_c" 1>&6
17377 cat > conftestmake
<<\EOF
17379 @
echo 'ac_maketemp="${MAKE}"'
17381 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
17382 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
17383 if test -n "$ac_maketemp"; then
17384 eval ac_cv_prog_make_
${ac_make}_set
=yes
17386 eval ac_cv_prog_make_
${ac_make}_set
=no
17390 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
17391 echo "$ac_t""yes" 1>&6
17394 echo "$ac_t""no" 1>&6
17395 SET_MAKE
="MAKE=${MAKE-make}"
17399 if test -d include
; then
17400 if test -d include
/wx
; then
17401 if test -d include
/wx
/${SETUPH_DIR}; then
17402 if test -f include
/wx
/${SETUPH_DIR}/setup.h
; then
17403 mv -f include
/wx
/${SETUPH_DIR}/setup.h setup.h
17411 if test "$wxUSE_GUI" = "yes"; then
17412 wx_cv_path_samplesubdirs
=$SAMPLES_SUBDIRS
17413 wx_cv_path_ifs
=$PATH_IFS
17414 wx_cv_program_ext
=$PROGRAM_EXT
17415 wx_cv_target_library
=$WX_TARGET_LIBRARY
17416 wx_cv_target_libtype
=$WX_TARGET_LIBRARY_TYPE
17417 export wx_cv_path_samplesubdirs wx_cv_path_ifs wx_cv_program_ext \
17418 wx_cv_target_library wx_cv_target_libtype
17419 subdirs
="demos samples utils contrib"
17424 cat > confcache
<<\EOF
17425 # This file is a shell script that caches the results of configure
17426 # tests run on this system so they can be shared between configure
17427 # scripts and configure runs. It is not useful on other systems.
17428 # If it contains results you don't want to keep, you may remove or edit it.
17430 # By default, configure uses ./config.cache as the cache file,
17431 # creating it if it does not exist already. You can give configure
17432 # the --cache-file=FILE option to use a different cache file; that is
17433 # what configure does when it calls configure scripts in
17434 # subdirectories, so they share the cache.
17435 # Giving --cache-file=/dev/null disables caching, for debugging configure.
17436 # config.status only pays attention to the cache file if you give it the
17437 # --recheck option to rerun configure.
17440 # The following way of writing the cache mishandles newlines in values,
17441 # but we know of no workaround that is simple, portable, and efficient.
17442 # So, don't put newlines in cache variables' values.
17443 # Ultrix sh set writes to stderr and can't be redirected directly,
17444 # and sets the high bit in the cache file unless we assign to the vars.
17446 case `(ac_space=' '; set | grep ac_space) 2>&1` in
17448 # `set' does not quote correctly, so add quotes (double-quote substitution
17449 # turns \\\\ into \\, and sed turns \\ into \).
17451 -e "s/'/'\\\\''/g" \
17452 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
17455 # `set' quotes correctly as required by POSIX, so do not add quotes.
17456 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
17459 if cmp -s $cache_file confcache
; then
17462 if test -w $cache_file; then
17463 echo "updating cache $cache_file"
17464 cat confcache
> $cache_file
17466 echo "not updating unwritable cache $cache_file"
17471 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
17473 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
17474 # Let make expand exec_prefix.
17475 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
17477 # Any assignment to VPATH causes Sun make to only execute
17478 # the first set of double-colon rules, so remove it if not needed.
17479 # If there is a colon in the path, we need to keep it.
17480 if test "x$srcdir" = x.
; then
17481 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
17484 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
17486 DEFS
=-DHAVE_CONFIG_H
17488 # Without the "./", some shells look in PATH for config.status.
17489 : ${CONFIG_STATUS=./config.status}
17491 echo creating
$CONFIG_STATUS
17492 rm -f $CONFIG_STATUS
17493 cat > $CONFIG_STATUS <<EOF
17495 # Generated automatically by configure.
17496 # Run this file to recreate the current configuration.
17497 # This directory was configured as follows,
17498 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17500 # $0 $ac_configure_args
17502 # Compiler output produced by configure, useful for debugging
17503 # configure, is in ./config.log if it exists.
17505 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
17508 case "\$ac_option" in
17509 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
17510 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
17511 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
17512 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
17513 echo "$CONFIG_STATUS generated by autoconf version 2.13"
17515 -help | --help | --hel | --he | --h)
17516 echo "\$ac_cs_usage"; exit 0 ;;
17517 *) echo "\$ac_cs_usage"; exit 1 ;;
17521 ac_given_srcdir=$srcdir
17522 ac_given_INSTALL="$INSTALL"
17524 trap 'rm -fr `echo "
17530 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
17532 cat >> $CONFIG_STATUS <<EOF
17534 # Protect against being on the right side of a sed subst in config.status.
17535 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
17536 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
17540 s%@CFLAGS@%$CFLAGS%g
17541 s%@CPPFLAGS@%$CPPFLAGS%g
17542 s%@CXXFLAGS@%$CXXFLAGS%g
17543 s%@FFLAGS@%$FFLAGS%g
17545 s%@LDFLAGS@%$LDFLAGS%g
17547 s%@exec_prefix@%$exec_prefix%g
17548 s%@prefix@%$prefix%g
17549 s%@program_transform_name@%$program_transform_name%g
17550 s%@bindir@%$bindir%g
17551 s%@sbindir@%$sbindir%g
17552 s%@libexecdir@%$libexecdir%g
17553 s%@datadir@%$datadir%g
17554 s%@sysconfdir@%$sysconfdir%g
17555 s%@sharedstatedir@%$sharedstatedir%g
17556 s%@localstatedir@%$localstatedir%g
17557 s%@libdir@%$libdir%g
17558 s%@includedir@%$includedir%g
17559 s%@oldincludedir@%$oldincludedir%g
17560 s%@infodir@%$infodir%g
17561 s%@mandir@%$mandir%g
17563 s%@host_alias@%$host_alias%g
17564 s%@host_cpu@%$host_cpu%g
17565 s%@host_vendor@%$host_vendor%g
17566 s%@host_os@%$host_os%g
17567 s%@target@%$target%g
17568 s%@target_alias@%$target_alias%g
17569 s%@target_cpu@%$target_cpu%g
17570 s%@target_vendor@%$target_vendor%g
17571 s%@target_os@%$target_os%g
17573 s%@build_alias@%$build_alias%g
17574 s%@build_cpu@%$build_cpu%g
17575 s%@build_vendor@%$build_vendor%g
17576 s%@build_os@%$build_os%g
17580 s%@CXXCPP@%$CXXCPP%g
17581 s%@RANLIB@%$RANLIB%g
17583 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
17584 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
17585 s%@INSTALL_DATA@%$INSTALL_DATA%g
17589 s%@LEXLIB@%$LEXLIB%g
17591 s%@GTK_CONFIG_2_0@%$GTK_CONFIG_2_0%g
17592 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
17593 s%@GTK_LIBS@%$GTK_LIBS%g
17594 s%@GTK_CONFIG@%$GTK_CONFIG%g
17595 s%@X_CFLAGS@%$X_CFLAGS%g
17596 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
17597 s%@X_LIBS@%$X_LIBS%g
17598 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
17601 s%@LEX_STEM@%$LEX_STEM%g
17602 s%@PATH_IFS@%$PATH_IFS%g
17603 s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
17604 s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
17605 s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
17606 s%@WX_LIBRARY_NAME@%$WX_LIBRARY_NAME%g
17607 s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
17608 s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
17609 s%@WX_LIBRARY@%$WX_LIBRARY%g
17610 s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
17611 s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
17612 s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
17613 s%@WX_LIBRARY_LINK3@%$WX_LIBRARY_LINK3%g
17614 s%@PROGRAM_EXT@%$PROGRAM_EXT%g
17615 s%@WX_LIBRARY_NAME_GL@%$WX_LIBRARY_NAME_GL%g
17616 s%@WX_LIBRARY_NAME_STATIC_GL@%$WX_LIBRARY_NAME_STATIC_GL%g
17617 s%@WX_LIBRARY_NAME_SHARED_GL@%$WX_LIBRARY_NAME_SHARED_GL%g
17618 s%@WX_LIBRARY_GL@%$WX_LIBRARY_GL%g
17619 s%@WX_TARGET_LIBRARY_GL@%$WX_TARGET_LIBRARY_GL%g
17620 s%@WX_LIBRARY_LINK1_GL@%$WX_LIBRARY_LINK1_GL%g
17621 s%@WX_LIBRARY_LINK2_GL@%$WX_LIBRARY_LINK2_GL%g
17622 s%@WX_LIBRARY_LINK3_GL@%$WX_LIBRARY_LINK3_GL%g
17623 s%@WX_ALL@%$WX_ALL%g
17624 s%@WX_ALL_INSTALLED@%$WX_ALL_INSTALLED%g
17625 s%@SHARED_LD@%$SHARED_LD%g
17626 s%@PIC_FLAG@%$PIC_FLAG%g
17627 s%@DEP_INFO_FLAGS@%$DEP_INFO_FLAGS%g
17628 s%@CODE_GEN_FLAGS@%$CODE_GEN_FLAGS%g
17629 s%@CODE_GEN_FLAGS_CXX@%$CODE_GEN_FLAGS_CXX%g
17630 s%@BURNT_LIBRARY_NAME@%$BURNT_LIBRARY_NAME%g
17631 s%@BURNT_LIBRARY_NAME_GL@%$BURNT_LIBRARY_NAME_GL%g
17632 s%@WX_TARGET_LIBRARY_SONAME@%$WX_TARGET_LIBRARY_SONAME%g
17633 s%@WX_TARGET_LIBRARY_TYPE@%$WX_TARGET_LIBRARY_TYPE%g
17634 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
17635 s%@USE_GUI@%$USE_GUI%g
17636 s%@AFMINSTALL@%$AFMINSTALL%g
17637 s%@SETUPH_DIR@%$SETUPH_DIR%g
17638 s%@TOOLKIT@%$TOOLKIT%g
17639 s%@TOOLKIT_DEF@%$TOOLKIT_DEF%g
17640 s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
17641 s%@TOOLKIT_NAME@%$TOOLKIT_NAME%g
17642 s%@TOOLKIT_INCLUDE@%$TOOLKIT_INCLUDE%g
17643 s%@TOOLKIT_VPATH@%$TOOLKIT_VPATH%g
17644 s%@WXCONFIG_INCLUDE@%$WXCONFIG_INCLUDE%g
17645 s%@ALL_OBJECTS@%$ALL_OBJECTS%g
17646 s%@ALL_DEPFILES@%$ALL_DEPFILES%g
17647 s%@GUIDIST@%$GUIDIST%g
17648 s%@PORT_FILES@%$PORT_FILES%g
17649 s%@DISTDIR@%$DISTDIR%g
17650 s%@RPM_SPEC@%$RPM_SPEC%g
17651 s%@RPM_FILES@%$RPM_FILES%g
17652 s%@SRC_SUBDIRS@%$SRC_SUBDIRS%g
17653 s%@INCLUDE_SUBDIRS@%$INCLUDE_SUBDIRS%g
17654 s%@UTILS_SUBDIRS@%$UTILS_SUBDIRS%g
17655 s%@DOCS_SUBDIRS@%$DOCS_SUBDIRS%g
17656 s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
17657 s%@USER_SUBDIRS@%$USER_SUBDIRS%g
17658 s%@EXTRA_LIBS@%$EXTRA_LIBS%g
17659 s%@OPENGL_LIBS@%$OPENGL_LIBS%g
17660 s%@EXTRADEFS@%$EXTRADEFS%g
17661 s%@LD_LIBS@%$LD_LIBS%g
17662 s%@RCINPUTSWITCH@%$RCINPUTSWITCH%g
17663 s%@RCOUTPUTSWITCH@%$RCOUTPUTSWITCH%g
17664 s%@RESPROGRAM@%$RESPROGRAM%g
17665 s%@RESCOMP@%$RESCOMP%g
17666 s%@RESFLAGS@%$RESFLAGS%g
17667 s%@REZFLAGS@%$REZFLAGS%g
17668 s%@DEREZFLAGS@%$DEREZFLAGS%g
17669 s%@LIBWXMACRES@%$LIBWXMACRES%g
17670 s%@LIBWXMACRESCOMP@%$LIBWXMACRESCOMP%g
17671 s%@DLLTOOL@%$DLLTOOL%g
17675 s%@MAKEINFO@%$MAKEINFO%g
17676 s%@SET_MAKE@%$SET_MAKE%g
17677 s%@subdirs@%$subdirs%g
17682 cat >> $CONFIG_STATUS <<\EOF
17684 # Split the substitutions into bite-sized pieces for seds with
17685 # small command number limits, like on Digital OSF/1 and HP-UX.
17686 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
17687 ac_file
=1 # Number of current file.
17688 ac_beg
=1 # First line for current file.
17689 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
17692 while $ac_more_lines; do
17693 if test $ac_beg -gt 1; then
17694 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
17696 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
17698 if test ! -s conftest.s
$ac_file; then
17699 ac_more_lines
=false
17700 rm -f conftest.s
$ac_file
17702 if test -z "$ac_sed_cmds"; then
17703 ac_sed_cmds
="sed -f conftest.s$ac_file"
17705 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
17707 ac_file
=`expr $ac_file + 1`
17709 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
17712 if test -z "$ac_sed_cmds"; then
17717 cat >> $CONFIG_STATUS <<EOF
17719 CONFIG_FILES=\${CONFIG_FILES-"wx-config
17726 cat >> $CONFIG_STATUS <<\EOF
17727 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
17728 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
17730 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
17731 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
17732 *) ac_file_in
="${ac_file}.in" ;;
17735 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
17737 # Remove last slash and all that follows it. Not all systems have dirname.
17738 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
17739 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
17740 # The file is in a subdirectory.
17741 test ! -d "$ac_dir" && mkdir "$ac_dir"
17742 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
17743 # A "../" for each directory in $ac_dir_suffix.
17744 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
17746 ac_dir_suffix
= ac_dots
=
17749 case "$ac_given_srcdir" in
17751 if test -z "$ac_dots"; then top_srcdir
=.
17752 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
17753 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
17754 *) # Relative path.
17755 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
17756 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
17759 case "$ac_given_INSTALL" in
17760 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
17761 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
17764 echo creating
"$ac_file"
17766 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
17768 *Makefile
*) ac_comsub
="1i\\
17769 # $configure_input" ;;
17773 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
17775 s%@configure_input@%$configure_input%g
17776 s%@srcdir@%$srcdir%g
17777 s%@top_srcdir@%$top_srcdir%g
17778 s%@INSTALL@%$INSTALL%g
17779 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
17783 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
17784 # NAME is the cpp macro being defined and VALUE is the value it is being given.
17786 # ac_d sets the value in "#define NAME VALUE" lines.
17787 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
17788 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
17791 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
17792 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
17793 ac_uB
='\([ ]\)%\1#\2define\3'
17796 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
17797 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
17798 ac_eB
='$%\1#\2define\3'
17802 if test "${CONFIG_HEADERS+set}" != set; then
17804 cat >> $CONFIG_STATUS <<EOF
17805 CONFIG_HEADERS="setup.h:setup.h.in"
17807 cat >> $CONFIG_STATUS <<\EOF
17809 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
17810 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
17812 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
17813 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
17814 *) ac_file_in
="${ac_file}.in" ;;
17817 echo creating
$ac_file
17819 rm -f conftest.frag conftest.
in conftest.out
17820 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
17821 cat $ac_file_inputs > conftest.
in
17825 # Transform confdefs.h into a sed script conftest.vals that substitutes
17826 # the proper values into config.h.in to produce config.h. And first:
17827 # Protect against being on the right side of a sed subst in config.status.
17828 # Protect against being in an unquoted here document in config.status.
17829 rm -f conftest.vals
17830 cat > conftest.hdr
<<\EOF
17833 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
17837 sed -n -f conftest.hdr confdefs.h > conftest.vals
17840 # This sed command replaces #undef with comments. This is necessary, for
17841 # example, in the case of _POSIX_SOURCE, which is predefined and required
17842 # on some systems where configure will not decide to define it.
17843 cat >> conftest.vals <<\EOF
17844 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
17847 # Break up conftest.vals because some shells have a limit on
17848 # the size of here documents, and old seds have small limits too.
17850 rm -f conftest.tail
17853 ac_lines=`grep -c . conftest.vals
`
17854 # grep -c gives empty output for an empty file on some AIX systems.
17855 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
17856 # Write a limited-size here document to conftest.frag.
17857 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
17858 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
17860 sed -f conftest.frag conftest.in > conftest.out
17862 mv conftest.out conftest.in
17863 ' >> $CONFIG_STATUS
17864 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
17865 rm -f conftest.vals
17866 mv conftest.tail conftest.vals
17868 rm -f conftest.vals
17870 cat >> $CONFIG_STATUS <<\EOF
17871 rm -f conftest.frag conftest.h
17872 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
17873 cat conftest.in >> conftest.h
17875 if cmp -s $ac_file conftest.h 2>/dev/null; then
17876 echo "$ac_file is unchanged"
17879 # Remove last slash and all that follows it. Not all systems have dirname.
17880 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
17881 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
17882 # The file is in a subdirectory.
17883 test ! -d "$ac_dir" && mkdir "$ac_dir"
17886 mv conftest.h $ac_file
17891 cat >> $CONFIG_STATUS <<EOF
17893 SETUPH_DIR="${SETUPH_DIR}"
17894 TOOLKIT_NAME="${TOOLKIT_NAME}"
17899 cat >> $CONFIG_STATUS <<\EOF
17901 if test ! -f wx${TOOLKIT_NAME}-config; then
17903 mv wx-config wx${TOOLKIT_NAME}-config
17904 ${LN_S} wx${TOOLKIT_NAME}-config wx-config
17908 if test ! -d lib; then
17911 if test ! -d lib/wx; then
17914 if test ! -d lib/wx/include; then
17915 mkdir lib/wx/include
17917 if test ! -d lib/wx/include/wx; then
17918 mkdir lib/wx/include/wx
17920 if test ! -d lib/wx/include/wx/${TOOLKIT_NAME}; then
17921 mkdir lib/wx/include/wx/${TOOLKIT_NAME}
17923 if test -f setup.h; then
17924 cp -fp setup.h lib/wx/include/wx/${TOOLKIT_NAME}/setup.h
17928 if test ! -d include; then
17931 if test ! -d include/wx; then
17934 if test ! -d include/wx/${SETUPH_DIR}; then
17935 mkdir include/wx/${SETUPH_DIR}
17937 if test -f setup.h; then
17938 cp -fp setup.h include/wx/${SETUPH_DIR}/setup.h
17944 chmod +x $CONFIG_STATUS
17945 rm -fr confdefs* $ac_clean_files
17946 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
17948 if test "$no_recursion" != yes; then
17950 # Remove --cache-file and --srcdir arguments so they do not pile up.
17951 ac_sub_configure_args=
17953 for ac_arg in $ac_configure_args; do
17954 if test -n "$ac_prev"; then
17959 -cache-file | --cache-file | --cache-fil | --cache-fi \
17960 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
17961 ac_prev=cache_file ;;
17962 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
17963 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
17965 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
17967 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
17969 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
17973 for ac_config_dir in demos samples utils contrib; do
17975 # Do not complain, so a configure script can configure whichever
17976 # parts of a large source tree are present.
17977 if test ! -d $srcdir/$ac_config_dir; then
17981 echo configuring in $ac_config_dir
17986 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
17988 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
17996 # A "../" for each directory in /$ac_config_dir.
17997 ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
18000 .) # No --srcdir option. We are building in place.
18001 ac_sub_srcdir=$srcdir ;;
18002 /*) # Absolute path.
18003 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
18004 *) # Relative path.
18005 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
18008 # Check for guested configure; otherwise get Cygnus style configure.
18009 if test -f $ac_sub_srcdir/configure; then
18010 ac_sub_configure=$ac_sub_srcdir/configure
18011 elif test -f $ac_sub_srcdir/configure.in; then
18012 ac_sub_configure=$ac_configure
18014 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
18018 # The recursion is here.
18019 if test -n "$ac_sub_configure"; then
18021 # Make the cache file name correct relative to the subdirectory.
18022 case "$cache_file" in
18023 /*) ac_sub_cache_file=$cache_file ;;
18024 *) # Relative path.
18025 ac_sub_cache_file="$ac_dots$cache_file" ;;
18027 case "$ac_given_INSTALL" in
18028 [/$]*) INSTALL="$ac_given_INSTALL" ;;
18029 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
18032 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
18033 # The eval makes quoting arguments work.
18034 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
18037 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }