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 subsystem"
203 --enable-html use wxHTML sub-library"
205 --enable-htmlhelp use wxHTML-based help"
207 --enable-constraints use layout-constraints system"
209 --enable-printarch use printing architecture"
211 --enable-mdi use multiple document interface architecture"
213 --enable-loggui use standard GUI logger"
215 --enable-logwin use wxLogWindow"
217 --enable-postscript use wxPostscriptDC device context (default for gtk+)"
219 --enable-prologio use Prolog IO library"
221 --enable-resources use wxWindows resources"
223 --enable-xresources use X resources for save (default for gtk+)"
225 --enable-clipboard use wxClipboard classes"
227 --enable-dnd use Drag'n'Drop classes"
229 --enable-metafile use win32 metafiles"
231 --enable-wxtree make wxTree library"
233 --enable-controls use all usual controls"
235 --enable-accel use accelerators"
237 --enable-button use wxButton class"
239 --enable-bmpbutton use wxBitmapButton class"
241 --enable-calendar use wxCalendarCtrl class"
243 --enable-caret use wxCaret class"
245 --enable-checkbox use wxCheckBox class"
247 --enable-checklst use wxCheckListBox (listbox with checkboxes) class"
249 --enable-choice use wxChoice class"
251 --enable-combobox use wxComboBox classes"
253 --enable-gauge use wxGauge class"
255 --enable-grid use wxGrid class"
257 --enable-newgrid use new wxGrid class"
259 --enable-imaglist use wxImageList class"
261 --enable-listbox use wxListBox class"
263 --enable-listctrl use wxListCtrl class"
265 --enable-notebook use wxNotebook class"
267 --enable-radiobox use wxRadioBox class"
269 --enable-radiobtn use wxRadioButton class"
271 --enable-sash use wxSashWindow class"
273 --enable-scrollbar use wxScrollBar class and scrollable windows"
275 --enable-slider use wxSlider class"
277 --enable-spinbtn use wxSpinButton class"
279 --enable-spinctrl use wxSpinCtrl class"
281 --enable-splitter use wxSplitterWindow class"
283 --enable-statbmp use wxStaticBitmap class"
285 --enable-statbox use wxStaticBox class"
287 --enable-statline use wxStaticLine class"
289 --enable-stattext use wxStaticText class"
291 --enable-statusbar use wxStatusBar class"
293 --enable-tabdialog use wxTabControl class"
295 --enable-textctrl use wxTextCtrl class"
297 --enable-togglebtn use wxToggleButton class"
299 --enable-toolbar use wxToolBar class"
301 --enable-tbarnative use native wxToolBar class"
303 --enable-tbarsmpl use wxToolBarSimple class"
305 --enable-treectrl use wxTreeCtrl class"
307 --enable-commondlg use common dialogs (wxDirDialog, wxProgressDialog, wxTextDialog, ...)"
309 --enable-choicedlg use wxChoiceDialog"
311 --enable-coldlg use wxColourDialog"
313 --enable-filedlg use wxFileDialog"
315 --enable-fontdlg use wxFontDialog"
317 --enable-dirdlg use wxDirDialog"
319 --enable-msgdlg use wxMessageDialog"
321 --enable-numberdlg use wxNumberEntryDialog"
323 --enable-textdlg use wxTextDialog"
325 --enable-tipdlg use startup tips"
327 --enable-progressdlg use wxProgressDialog"
329 --enable-wizarddlg use wxWizard"
331 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes"
333 --enable-miniframe use wxMiniFrame class"
335 --enable-tooltips use wxToolTip class"
337 --enable-splines use spline drawing code"
339 --enable-validators use wxValidator and derived classes"
341 --enable-busyinfo use wxBusyInfo"
343 --enable-joystick compile in joystick support (Linux only)"
345 --enable-metafiles use wxMetaFile (Windows only)"
347 --enable-dragimage use wxDragImage"
349 --enable-image use wxImage class"
351 --enable-gif use gif images (GIF file format)"
353 --enable-pcx use pcx images (PCX file format)"
355 --enable-pnm use pnm images (PNM file format)"
357 --enable-xpm use xpm images (XPM file format)"
359 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
361 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
363 --disable-gtktest Do not try to compile and run a test GTK program"
365 --with-x use the X Window System"
367 # Initialize some variables set by options.
368 # The variables have the same names as the options, with
369 # dashes changed to underlines.
371 cache_file
=.
/config.cache
380 program_transform_name
=s
,x
,x
,
388 bindir
='${exec_prefix}/bin'
389 sbindir
='${exec_prefix}/sbin'
390 libexecdir
='${exec_prefix}/libexec'
391 datadir
='${prefix}/share'
392 sysconfdir
='${prefix}/etc'
393 sharedstatedir
='${prefix}/com'
394 localstatedir
='${prefix}/var'
395 libdir
='${exec_prefix}/lib'
396 includedir
='${prefix}/include'
397 oldincludedir
='/usr/include'
398 infodir
='${prefix}/info'
399 mandir
='${prefix}/man'
401 # Initialize some other variables.
404 SHELL
=${CONFIG_SHELL-/bin/sh}
405 # Maximum number of lines to put in a shell here document.
412 # If the previous option needs an argument, assign it.
413 if test -n "$ac_prev"; then
414 eval "$ac_prev=\$ac_option"
420 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
424 # Accept the important Cygnus configure options, so we can diagnose typos.
428 -bindir | --bindir | --bindi | --bind | --bin | --bi)
430 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
431 bindir
="$ac_optarg" ;;
433 -build | --build | --buil | --bui | --bu)
435 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
436 build
="$ac_optarg" ;;
438 -cache-file | --cache-file | --cache-fil | --cache-fi \
439 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
440 ac_prev
=cache_file
;;
441 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
442 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
443 cache_file
="$ac_optarg" ;;
445 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
447 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
449 datadir
="$ac_optarg" ;;
451 -disable-* | --disable-*)
452 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
453 # Reject names that are not valid shell variable names.
454 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
455 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
457 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
458 eval "enable_${ac_feature}=no" ;;
460 -enable-* | --enable-*)
461 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
462 # Reject names that are not valid shell variable names.
463 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
464 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
466 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
471 eval "enable_${ac_feature}='$ac_optarg'" ;;
473 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
474 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
475 | --exec | --exe | --ex)
476 ac_prev
=exec_prefix
;;
477 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
478 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
479 | --exec=* | --exe=* | --ex=*)
480 exec_prefix
="$ac_optarg" ;;
482 -gas | --gas | --ga | --g)
483 # Obsolete; use --with-gas.
486 -help | --help | --hel | --he)
487 # Omit some internal or obsolete options to make the list less imposing.
488 # This message is too long to be a string in the A/UX 3.1 sh.
490 Usage: configure [options] [host]
491 Options: [defaults in brackets after descriptions]
493 --cache-file=FILE cache test results in FILE
494 --help print this message
495 --no-create do not create output files
496 --quiet, --silent do not print \`checking...' messages
497 --version print the version of autoconf that created configure
498 Directory and file names:
499 --prefix=PREFIX install architecture-independent files in PREFIX
501 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
503 --bindir=DIR user executables in DIR [EPREFIX/bin]
504 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
505 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
506 --datadir=DIR read-only architecture-independent data in DIR
508 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
509 --sharedstatedir=DIR modifiable architecture-independent data in DIR
511 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
512 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
513 --includedir=DIR C header files in DIR [PREFIX/include]
514 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
515 --infodir=DIR info documentation in DIR [PREFIX/info]
516 --mandir=DIR man documentation in DIR [PREFIX/man]
517 --srcdir=DIR find the sources in DIR [configure dir or ..]
518 --program-prefix=PREFIX prepend PREFIX to installed program names
519 --program-suffix=SUFFIX append SUFFIX to installed program names
520 --program-transform-name=PROGRAM
521 run sed PROGRAM on installed program names
525 --build=BUILD configure for building on BUILD [BUILD=HOST]
526 --host=HOST configure for HOST [guessed]
527 --target=TARGET configure for TARGET [TARGET=HOST]
528 Features and packages:
529 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
530 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
531 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
532 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
533 --x-includes=DIR X include files are in DIR
534 --x-libraries=DIR X library files are in DIR
536 if test -n "$ac_help"; then
537 echo "--enable and --with options recognized:$ac_help"
541 -host | --host | --hos | --ho)
543 -host=* | --host=* | --hos=* | --ho=*)
546 -includedir | --includedir | --includedi | --included | --include \
547 | --includ | --inclu | --incl | --inc)
548 ac_prev
=includedir
;;
549 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
550 | --includ=* | --inclu=* | --incl=* | --inc=*)
551 includedir
="$ac_optarg" ;;
553 -infodir | --infodir | --infodi | --infod | --info | --inf)
555 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
556 infodir
="$ac_optarg" ;;
558 -libdir | --libdir | --libdi | --libd)
560 -libdir=* | --libdir=* | --libdi=* | --libd=*)
561 libdir
="$ac_optarg" ;;
563 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
564 | --libexe | --libex | --libe)
565 ac_prev
=libexecdir
;;
566 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
567 | --libexe=* | --libex=* | --libe=*)
568 libexecdir
="$ac_optarg" ;;
570 -localstatedir | --localstatedir | --localstatedi | --localstated \
571 | --localstate | --localstat | --localsta | --localst \
572 | --locals | --local | --loca | --loc | --lo)
573 ac_prev
=localstatedir
;;
574 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
575 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
576 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
577 localstatedir
="$ac_optarg" ;;
579 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
581 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
582 mandir
="$ac_optarg" ;;
585 # Obsolete; use --without-fp.
588 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
592 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
593 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
596 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
597 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
598 | --oldin | --oldi | --old | --ol | --o)
599 ac_prev
=oldincludedir
;;
600 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
601 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
602 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
603 oldincludedir
="$ac_optarg" ;;
605 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
607 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
608 prefix
="$ac_optarg" ;;
610 -program-prefix | --program-prefix | --program-prefi | --program-pref \
611 | --program-pre | --program-pr | --program-p)
612 ac_prev
=program_prefix
;;
613 -program-prefix=* | --program-prefix=* | --program-prefi=* \
614 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
615 program_prefix
="$ac_optarg" ;;
617 -program-suffix | --program-suffix | --program-suffi | --program-suff \
618 | --program-suf | --program-su | --program-s)
619 ac_prev
=program_suffix
;;
620 -program-suffix=* | --program-suffix=* | --program-suffi=* \
621 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
622 program_suffix
="$ac_optarg" ;;
624 -program-transform-name | --program-transform-name \
625 | --program-transform-nam | --program-transform-na \
626 | --program-transform-n | --program-transform- \
627 | --program-transform | --program-transfor \
628 | --program-transfo | --program-transf \
629 | --program-trans | --program-tran \
630 | --progr-tra | --program-tr | --program-t)
631 ac_prev
=program_transform_name
;;
632 -program-transform-name=* | --program-transform-name=* \
633 | --program-transform-nam=* | --program-transform-na=* \
634 | --program-transform-n=* | --program-transform-=* \
635 | --program-transform=* | --program-transfor=* \
636 | --program-transfo=* | --program-transf=* \
637 | --program-trans=* | --program-tran=* \
638 | --progr-tra=* | --program-tr=* | --program-t=*)
639 program_transform_name
="$ac_optarg" ;;
641 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
642 | -silent | --silent | --silen | --sile | --sil)
645 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
647 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
649 sbindir
="$ac_optarg" ;;
651 -sharedstatedir | --sharedstatedir | --sharedstatedi \
652 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
653 | --sharedst | --shareds | --shared | --share | --shar \
655 ac_prev
=sharedstatedir
;;
656 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
657 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
658 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
660 sharedstatedir
="$ac_optarg" ;;
662 -site | --site | --sit)
664 -site=* | --site=* | --sit=*)
667 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
669 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
670 srcdir
="$ac_optarg" ;;
672 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
673 | --syscon | --sysco | --sysc | --sys | --sy)
674 ac_prev
=sysconfdir
;;
675 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
676 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
677 sysconfdir
="$ac_optarg" ;;
679 -target | --target | --targe | --targ | --tar | --ta | --t)
681 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
682 target
="$ac_optarg" ;;
684 -v | -verbose | --verbose | --verbos | --verbo | --verb)
687 -version | --version | --versio | --versi | --vers)
688 echo "configure generated by autoconf version 2.13"
692 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
693 # Reject names that are not valid shell variable names.
694 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
695 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
697 ac_package
=`echo $ac_package| sed 's/-/_/g'`
702 eval "with_${ac_package}='$ac_optarg'" ;;
704 -without-* | --without-*)
705 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
706 # Reject names that are not valid shell variable names.
707 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
708 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
710 ac_package
=`echo $ac_package| sed 's/-/_/g'`
711 eval "with_${ac_package}=no" ;;
714 # Obsolete; use --with-x.
717 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
718 | --x-incl | --x-inc | --x-in | --x-i)
719 ac_prev
=x_includes
;;
720 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
721 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
722 x_includes
="$ac_optarg" ;;
724 -x-libraries | --x-libraries | --x-librarie | --x-librari \
725 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
726 ac_prev
=x_libraries
;;
727 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
728 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
729 x_libraries
="$ac_optarg" ;;
731 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
735 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
736 echo "configure: warning: $ac_option: invalid host type" 1>&2
738 if test "x$nonopt" != xNONE
; then
739 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
747 if test -n "$ac_prev"; then
748 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
751 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
753 # File descriptor usage:
756 # 2 errors and warnings
757 # 3 some systems may open it to /dev/tty
758 # 4 used on the Kubota Titan
759 # 6 checking for... messages and results
760 # 5 compiler messages saved in config.log
761 if test "$silent" = yes; then
769 This file contains any messages produced by compilers while
770 running configure, to aid debugging if configure makes a mistake.
773 # Strip out --no-create and --no-recursion so they do not pile up.
774 # Also quote any args containing shell metacharacters.
779 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
780 | --no-cr | --no-c) ;;
781 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
782 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
783 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
784 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
785 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
790 # Only set these to C if already set. These must not be set unconditionally
791 # because not all systems understand e.g. LANG=C (notably SCO).
792 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
793 # Non-C LC_CTYPE values break the ctype check.
794 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
795 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
796 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
797 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
799 # confdefs.h avoids OS command line length limits that DEFS can exceed.
800 rm -rf conftest
* confdefs.h
801 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
804 # A filename unique to this package, relative to the directory that
805 # configure is in, which we can look for to find out if srcdir is correct.
806 ac_unique_file
=wx
-config.
in
808 # Find the source files, if location was not specified.
809 if test -z "$srcdir"; then
810 ac_srcdir_defaulted
=yes
811 # Try the directory containing this script, then its parent.
813 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
814 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
816 if test ! -r $srcdir/$ac_unique_file; then
820 ac_srcdir_defaulted
=no
822 if test ! -r $srcdir/$ac_unique_file; then
823 if test "$ac_srcdir_defaulted" = yes; then
824 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
826 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
829 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
831 # Prefer explicitly selected file to automatically selected ones.
832 if test -z "$CONFIG_SITE"; then
833 if test "x$prefix" != xNONE
; then
834 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
836 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
839 for ac_site_file
in $CONFIG_SITE; do
840 if test -r "$ac_site_file"; then
841 echo "loading site script $ac_site_file"
846 if test -r "$cache_file"; then
847 echo "loading cache $cache_file"
850 echo "creating cache $cache_file"
855 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
856 ac_cpp
='$CPP $CPPFLAGS'
857 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
858 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
859 cross_compiling
=$ac_cv_prog_cc_cross
863 if (echo "testing\c"; echo 1,2,3) | grep c
>/dev
/null
; then
864 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
865 if (echo -n testing
; echo 1,2,3) | sed s
/-n/xn
/ | grep xn
>/dev
/null
; then
872 ac_n
= ac_c
='\c' ac_t
=
878 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
879 if test -f $ac_dir/install-sh; then
881 ac_install_sh
="$ac_aux_dir/install-sh -c"
883 elif test -f $ac_dir/install.sh
; then
885 ac_install_sh
="$ac_aux_dir/install.sh -c"
889 if test -z "$ac_aux_dir"; then
890 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
892 ac_config_guess
=$ac_aux_dir/config.guess
893 ac_config_sub
=$ac_aux_dir/config.sub
894 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
897 # Do some error checking and defaulting for the host and target type.
899 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
902 # 1. You are not allowed to specify --host, --target, and nonopt at the
904 # 2. Host defaults to nonopt.
905 # 3. If nonopt is not specified, then host defaults to the current host,
906 # as determined by config.guess.
907 # 4. Target and build default to nonopt.
908 # 5. If nonopt is not specified, then target and build default to host.
910 # The aliases save the names the user supplied, while $host etc.
911 # will get canonicalized.
912 case $host---$target---$nonopt in
913 NONE
---*---* | *---NONE---* | *---*---NONE) ;;
914 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
918 # Make sure we can run config.sub.
919 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
920 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
923 echo $ac_n "checking host system type""... $ac_c" 1>&6
924 echo "configure:925: checking host system type" >&5
927 case "$host_alias" in
931 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
932 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
934 *) host_alias
=$nonopt ;;
938 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
939 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
940 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
941 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
942 echo "$ac_t""$host" 1>&6
944 echo $ac_n "checking target system type""... $ac_c" 1>&6
945 echo "configure:946: checking target system type" >&5
948 case "$target_alias" in
951 NONE
) target_alias
=$host_alias ;;
952 *) target_alias
=$nonopt ;;
956 target
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
957 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
958 target_vendor
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
959 target_os
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
960 echo "$ac_t""$target" 1>&6
962 echo $ac_n "checking build system type""... $ac_c" 1>&6
963 echo "configure:964: checking build system type" >&5
966 case "$build_alias" in
969 NONE
) build_alias
=$host_alias ;;
970 *) build_alias
=$nonopt ;;
974 build
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
975 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
976 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
977 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
978 echo "$ac_t""$build" 1>&6
980 test "$host_alias" != "$target_alias" &&
981 test "$program_prefix$program_suffix$program_transform_name" = \
983 program_prefix
=${target_alias}-
987 WX_MAJOR_VERSION_NUMBER
=2
988 WX_MINOR_VERSION_NUMBER
=3
991 WX_VERSION
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER.
$WX_RELEASE_NUMBER
992 WX_RELEASE
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER
1026 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1028 ALL_TOOLKITS
="CYGWIN GTK MAC MGL MINGW MOTIF PM WINE"
1033 DEFAULT_wxUSE_MOTIF
=0
1036 DEFAULT_wxUSE_WINE
=0
1038 DEFAULT_DEFAULT_wxUSE_GTK
=0
1039 DEFAULT_DEFAULT_wxUSE_MAC
=0
1040 DEFAULT_DEFAULT_wxUSE_MGL
=0
1041 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1042 DEFAULT_DEFAULT_wxUSE_MSW
=0
1043 DEFAULT_DEFAULT_wxUSE_PM
=0
1044 DEFAULT_DEFAULT_wxUSE_WINE
=0
1051 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1052 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1053 cat >> confdefs.h
<<\EOF
1060 cat >> confdefs.h
<<\EOF
1065 if test "x$TMP" = "xalpha"; then
1067 cat >> confdefs.h
<<\EOF
1072 DEFAULT_DEFAULT_wxUSE_GTK
=1
1074 *-*-irix5* | *-*-irix6* )
1077 cat >> confdefs.h
<<\EOF
1081 cat >> confdefs.h
<<\EOF
1085 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1091 cat >> confdefs.h
<<\EOF
1095 cat >> confdefs.h
<<\EOF
1096 #define __SOLARIS__ 1
1099 cat >> confdefs.h
<<\EOF
1103 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1104 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1110 cat >> confdefs.h
<<\EOF
1114 cat >> confdefs.h
<<\EOF
1118 cat >> confdefs.h
<<\EOF
1122 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1127 cat >> confdefs.h
<<\EOF
1128 #define __FREEBSD__ 1
1131 cat >> confdefs.h
<<\EOF
1135 DEFAULT_DEFAULT_wxUSE_GTK
=1
1140 cat >> confdefs.h
<<\EOF
1141 #define __FREEBSD__ 1
1144 cat >> confdefs.h
<<\EOF
1145 #define __OPENBSD__ 1
1148 DEFAULT_DEFAULT_wxUSE_GTK
=1
1153 cat >> confdefs.h
<<\EOF
1154 #define __FREEBSD__ 1
1157 cat >> confdefs.h
<<\EOF
1158 #define __NETBSD__ 1
1161 DEFAULT_DEFAULT_wxUSE_GTK
=1
1166 cat >> confdefs.h
<<\EOF
1170 cat >> confdefs.h
<<\EOF
1174 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1175 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1180 cat >> confdefs.h
<<\EOF
1184 cat >> confdefs.h
<<\EOF
1188 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1193 cat >> confdefs.h
<<\EOF
1197 cat >> confdefs.h
<<\EOF
1201 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1207 cat >> confdefs.h
<<\EOF
1211 cat >> confdefs.h
<<\EOF
1215 cat >> confdefs.h
<<\EOF
1219 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1222 *-*-cygwin* | *-*-mingw32* )
1225 cat >> confdefs.h
<<\EOF
1229 cat >> confdefs.h
<<\EOF
1233 cat >> confdefs.h
<<\EOF
1234 #define __WINDOWS__ 1
1237 cat >> confdefs.h
<<\EOF
1238 #define __GNUWIN32__ 1
1241 cat >> confdefs.h
<<\EOF
1245 cat >> confdefs.h
<<\EOF
1246 #define WINVER 0x0400
1250 DEFAULT_DEFAULT_wxUSE_MSW
=1
1254 cat >> confdefs.h
<<\EOF
1259 DEFAULT_DEFAULT_wxUSE_PM
=1
1265 cat >> confdefs.h
<<\EOF
1269 cat >> confdefs.h
<<\EOF
1273 cat >> confdefs.h
<<\EOF
1277 DEFAULT_DEFAULT_wxUSE_MAC
=1
1282 cat >> confdefs.h
<<\EOF
1289 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
1292 if test "$USE_UNIX" = 1 ; then
1294 cat >> confdefs.h
<<\EOF
1299 SRC_SUBDIRS
="$SRC_SUBDIRS unix"
1300 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS unix"
1303 if test "$USE_BEOS" = 1; then
1304 SRC_SUBDIRS
="$SRC_SUBDIRS be"
1305 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS be"
1308 if test "$USE_LINUX" = 1; then
1309 echo $ac_n "checking for gettext in -lc""... $ac_c" 1>&6
1310 echo "configure:1311: checking for gettext in -lc" >&5
1311 ac_lib_var
=`echo c'_'gettext | sed 'y%./+-%__p_%'`
1312 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1313 echo $ac_n "(cached) $ac_c" 1>&6
1315 ac_save_LIBS
="$LIBS"
1317 cat > conftest.
$ac_ext <<EOF
1318 #line 1319 "configure"
1319 #include "confdefs.h"
1320 /* Override any gcc2 internal prototype to avoid an error. */
1321 /* We use char because int might match the return type of a gcc2
1322 builtin and then its argument prototype would still apply. */
1329 if { (eval echo configure
:1330: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
1331 eval "ac_cv_lib_$ac_lib_var=yes"
1333 echo "configure: failed program was:" >&5
1334 cat conftest.
$ac_ext >&5
1336 eval "ac_cv_lib_$ac_lib_var=no"
1339 LIBS
="$ac_save_LIBS"
1342 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1343 echo "$ac_t""yes" 1>&6
1344 cat >> confdefs.h
<<\EOF
1345 #define wxHAVE_GLIBC2 1
1349 echo "$ac_t""no" 1>&6
1357 wx_arg_cache_file
="configarg.cache"
1358 echo "loading argument cache $wx_arg_cache_file"
1359 rm -f ${wx_arg_cache_file}.tmp
1360 touch ${wx_arg_cache_file}.tmp
1361 touch ${wx_arg_cache_file}
1365 if test $DEBUG_CONFIGURE = 1; then
1366 DEFAULT_wxUSE_UNIVERSAL
=no
1368 DEFAULT_wxUSE_THREADS
=yes
1370 DEFAULT_wxUSE_SHARED
=yes
1371 DEFAULT_wxUSE_BURNT_NAME
=no
1372 DEFAULT_wxUSE_OPTIMISE
=no
1373 DEFAULT_wxUSE_PROFILE
=no
1374 DEFAULT_wxUSE_NO_DEPS
=no
1375 DEFAULT_wxUSE_NO_RTTI
=no
1376 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1377 DEFAULT_wxUSE_PERMISSIVE
=no
1378 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1379 DEFAULT_wxUSE_DEBUG_INFO
=yes
1380 DEFAULT_wxUSE_DEBUG_GDB
=yes
1381 DEFAULT_wxUSE_MEM_TRACING
=no
1382 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1383 DEFAULT_wxUSE_DMALLOC
=no
1384 DEFAULT_wxUSE_APPLE_IEEE
=no
1386 DEFAULT_wxUSE_LOG
=yes
1387 DEFAULT_wxUSE_LOGWINDOW
=no
1388 DEFAULT_wxUSE_LOGGUI
=no
1390 DEFAULT_wxUSE_GUI
=yes
1391 DEFAULT_wxUSE_CONTROLS
=no
1393 DEFAULT_wxUSE_ZLIB
=no
1394 DEFAULT_wxUSE_LIBPNG
=no
1395 DEFAULT_wxUSE_LIBJPEG
=no
1396 DEFAULT_wxUSE_LIBTIFF
=no
1397 DEFAULT_wxUSE_ODBC
=no
1398 DEFAULT_wxUSE_FREETYPE
=no
1399 DEFAULT_wxUSE_OPENGL
=no
1401 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
1402 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
1403 DEFAULT_wxUSE_STD_IOSTREAM
=no
1404 DEFAULT_wxUSE_CMDLINE_PARSER
=no
1405 DEFAULT_wxUSE_DATETIME
=no
1406 DEFAULT_wxUSE_TIMEDATE
=no
1407 DEFAULT_wxUSE_TIMER
=no
1408 DEFAULT_wxUSE_STOPWATCH
=no
1409 DEFAULT_wxUSE_FILE
=no
1410 DEFAULT_wxUSE_FFILE
=no
1411 DEFAULT_wxUSE_TEXTFILE
=no
1412 DEFAULT_wxUSE_WAVE
=no
1413 DEFAULT_wxUSE_INTL
=no
1414 DEFAULT_wxUSE_CONFIG
=no
1415 DEFAULT_wxUSE_FONTMAP
=no
1416 DEFAULT_wxUSE_STREAMS
=no
1417 DEFAULT_wxUSE_SOCKETS
=no
1418 DEFAULT_wxUSE_DIALUP_MANAGER
=no
1419 DEFAULT_wxUSE_SERIAL
=no
1420 DEFAULT_wxUSE_JOYSTICK
=no
1421 DEFAULT_wxUSE_DYNLIB_CLASS
=no
1422 DEFAULT_wxUSE_LONGLONG
=no
1423 DEFAULT_wxUSE_GEOMETRY
=no
1425 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
1426 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
1427 DEFAULT_wxUSE_POSTSCRIPT
=no
1429 DEFAULT_wxUSE_X_RESOURCES
=no
1430 DEFAULT_wxUSE_CLIPBOARD
=no
1431 DEFAULT_wxUSE_TOOLTIPS
=no
1432 DEFAULT_wxUSE_DRAG_AND_DROP
=no
1433 DEFAULT_wxUSE_DRAGIMAGE
=no
1434 DEFAULT_wxUSE_SPLINES
=no
1436 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
1437 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
1438 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
1440 DEFAULT_wxUSE_PROLOGIO
=no
1441 DEFAULT_wxUSE_RESOURCES
=no
1442 DEFAULT_wxUSE_CONSTRAINTS
=no
1443 DEFAULT_wxUSE_IPC
=no
1444 DEFAULT_wxUSE_HELP
=no
1445 DEFAULT_wxUSE_WXHTML_HELP
=no
1446 DEFAULT_wxUSE_WXTREE
=no
1447 DEFAULT_wxUSE_METAFILE
=no
1448 DEFAULT_wxUSE_MIMETYPE
=no
1450 DEFAULT_wxUSE_COMMONDLGS
=no
1451 DEFAULT_wxUSE_CHOICEDLG
=no
1452 DEFAULT_wxUSE_COLOURDLG
=no
1453 DEFAULT_wxUSE_DIRDLG
=no
1454 DEFAULT_wxUSE_FILEDLG
=no
1455 DEFAULT_wxUSE_FONTDLG
=no
1456 DEFAULT_wxUSE_MSGDLG
=no
1457 DEFAULT_wxUSE_NUMBERDLG
=no
1458 DEFAULT_wxUSE_TEXTDLG
=no
1459 DEFAULT_wxUSE_STARTUP_TIPS
=no
1460 DEFAULT_wxUSE_PROGRESSDLG
=no
1461 DEFAULT_wxUSE_WIZARDDLG
=no
1463 DEFAULT_wxUSE_MENUS
=no
1464 DEFAULT_wxUSE_MINIFRAME
=no
1465 DEFAULT_wxUSE_HTML
=no
1466 DEFAULT_wxUSE_FILESYSTEM
=no
1467 DEFAULT_wxUSE_FS_INET
=no
1468 DEFAULT_wxUSE_FS_ZIP
=no
1469 DEFAULT_wxUSE_BUSYINFO
=no
1470 DEFAULT_wxUSE_ZIPSTREAM
=no
1471 DEFAULT_wxUSE_VALIDATORS
=no
1473 DEFAULT_wxUSE_ACCEL
=no
1474 DEFAULT_wxUSE_BUTTON
=no
1475 DEFAULT_wxUSE_BMPBUTTON
=no
1476 DEFAULT_wxUSE_CALCTRL
=no
1477 DEFAULT_wxUSE_CARET
=no
1478 DEFAULT_wxUSE_CHECKBOX
=no
1479 DEFAULT_wxUSE_CHECKLST
=no
1480 DEFAULT_wxUSE_CHOICE
=no
1481 DEFAULT_wxUSE_COMBOBOX
=no
1482 DEFAULT_wxUSE_GAUGE
=no
1483 DEFAULT_wxUSE_GRID
=no
1484 DEFAULT_wxUSE_NEW_GRID
=no
1485 DEFAULT_wxUSE_IMAGLIST
=no
1486 DEFAULT_wxUSE_LISTBOX
=no
1487 DEFAULT_wxUSE_LISTCTRL
=no
1488 DEFAULT_wxUSE_NOTEBOOK
=no
1489 DEFAULT_wxUSE_RADIOBOX
=no
1490 DEFAULT_wxUSE_RADIOBTN
=no
1491 DEFAULT_wxUSE_SASH
=no
1492 DEFAULT_wxUSE_SCROLLBAR
=no
1493 DEFAULT_wxUSE_SLIDER
=no
1494 DEFAULT_wxUSE_SPINBTN
=no
1495 DEFAULT_wxUSE_SPINCTRL
=no
1496 DEFAULT_wxUSE_SPLITTER
=no
1497 DEFAULT_wxUSE_STATBMP
=no
1498 DEFAULT_wxUSE_STATBOX
=no
1499 DEFAULT_wxUSE_STATLINE
=no
1500 DEFAULT_wxUSE_STATTEXT
=no
1501 DEFAULT_wxUSE_STATUSBAR
=yes
1502 DEFAULT_wxUSE_TABDIALOG
=no
1503 DEFAULT_wxUSE_TEXTCTRL
=no
1504 DEFAULT_wxUSE_TOGGLEBTN
=no
1505 DEFAULT_wxUSE_TOOLBAR
=no
1506 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
1507 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
1508 DEFAULT_wxUSE_TREECTRL
=no
1510 DEFAULT_wxUSE_UNICODE
=no
1511 DEFAULT_wxUSE_WCSRTOMBS
=no
1513 DEFAULT_wxUSE_IMAGE
=no
1514 DEFAULT_wxUSE_GIF
=no
1515 DEFAULT_wxUSE_PCX
=no
1516 DEFAULT_wxUSE_PNM
=no
1517 DEFAULT_wxUSE_XPM
=no
1519 DEFAULT_wxUSE_UNIVERSAL
=no
1521 DEFAULT_wxUSE_THREADS
=yes
1523 DEFAULT_wxUSE_SHARED
=yes
1524 DEFAULT_wxUSE_BURNT_NAME
=no
1525 DEFAULT_wxUSE_OPTIMISE
=yes
1526 DEFAULT_wxUSE_PROFILE
=no
1527 DEFAULT_wxUSE_NO_DEPS
=no
1528 DEFAULT_wxUSE_NO_RTTI
=no
1529 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1530 DEFAULT_wxUSE_PERMISSIVE
=no
1531 DEFAULT_wxUSE_DEBUG_FLAG
=no
1532 DEFAULT_wxUSE_DEBUG_INFO
=no
1533 DEFAULT_wxUSE_DEBUG_GDB
=no
1534 DEFAULT_wxUSE_MEM_TRACING
=no
1535 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1536 DEFAULT_wxUSE_DMALLOC
=no
1537 DEFAULT_wxUSE_APPLE_IEEE
=yes
1539 DEFAULT_wxUSE_LOG
=yes
1540 DEFAULT_wxUSE_LOGWINDOW
=yes
1541 DEFAULT_wxUSE_LOGGUI
=yes
1543 DEFAULT_wxUSE_GUI
=yes
1545 DEFAULT_wxUSE_ZLIB
=yes
1546 DEFAULT_wxUSE_LIBPNG
=yes
1547 DEFAULT_wxUSE_LIBJPEG
=yes
1548 DEFAULT_wxUSE_LIBTIFF
=yes
1549 DEFAULT_wxUSE_ODBC
=no
1550 DEFAULT_wxUSE_FREETYPE
=no
1551 DEFAULT_wxUSE_OPENGL
=no
1553 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
1554 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
1555 DEFAULT_wxUSE_STD_IOSTREAM
=no
1556 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
1557 DEFAULT_wxUSE_DATETIME
=yes
1558 DEFAULT_wxUSE_TIMEDATE
=no
1559 DEFAULT_wxUSE_TIMER
=yes
1560 DEFAULT_wxUSE_STOPWATCH
=yes
1561 DEFAULT_wxUSE_FILE
=yes
1562 DEFAULT_wxUSE_FFILE
=yes
1563 DEFAULT_wxUSE_TEXTFILE
=yes
1564 DEFAULT_wxUSE_WAVE
=no
1565 DEFAULT_wxUSE_INTL
=yes
1566 DEFAULT_wxUSE_CONFIG
=yes
1567 DEFAULT_wxUSE_FONTMAP
=yes
1568 DEFAULT_wxUSE_STREAMS
=yes
1569 DEFAULT_wxUSE_SOCKETS
=yes
1570 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
1571 DEFAULT_wxUSE_SERIAL
=yes
1572 DEFAULT_wxUSE_JOYSTICK
=yes
1573 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
1574 DEFAULT_wxUSE_LONGLONG
=yes
1575 DEFAULT_wxUSE_GEOMETRY
=yes
1577 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
1578 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
1579 DEFAULT_wxUSE_POSTSCRIPT
=yes
1581 DEFAULT_wxUSE_X_RESOURCES
=no
1582 DEFAULT_wxUSE_CLIPBOARD
=yes
1583 DEFAULT_wxUSE_TOOLTIPS
=yes
1584 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
1585 DEFAULT_wxUSE_DRAGIMAGE
=yes
1586 DEFAULT_wxUSE_SPLINES
=yes
1588 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
1589 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
1590 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
1592 DEFAULT_wxUSE_PROLOGIO
=yes
1593 DEFAULT_wxUSE_RESOURCES
=yes
1594 DEFAULT_wxUSE_CONSTRAINTS
=yes
1595 DEFAULT_wxUSE_IPC
=yes
1596 DEFAULT_wxUSE_HELP
=yes
1597 DEFAULT_wxUSE_WXHTML_HELP
=yes
1598 DEFAULT_wxUSE_WXTREE
=yes
1599 DEFAULT_wxUSE_METAFILE
=yes
1600 DEFAULT_wxUSE_MIMETYPE
=yes
1602 DEFAULT_wxUSE_COMMONDLGS
=yes
1603 DEFAULT_wxUSE_CHOICEDLG
=yes
1604 DEFAULT_wxUSE_COLOURDLG
=yes
1605 DEFAULT_wxUSE_DIRDLG
=yes
1606 DEFAULT_wxUSE_FILEDLG
=yes
1607 DEFAULT_wxUSE_FONTDLG
=yes
1608 DEFAULT_wxUSE_MSGDLG
=yes
1609 DEFAULT_wxUSE_NUMBERDLG
=yes
1610 DEFAULT_wxUSE_TEXTDLG
=yes
1611 DEFAULT_wxUSE_STARTUP_TIPS
=yes
1612 DEFAULT_wxUSE_PROGRESSDLG
=yes
1613 DEFAULT_wxUSE_WIZARDDLG
=yes
1615 DEFAULT_wxUSE_MENUS
=yes
1616 DEFAULT_wxUSE_MINIFRAME
=yes
1617 DEFAULT_wxUSE_HTML
=yes
1618 DEFAULT_wxUSE_FILESYSTEM
=yes
1619 DEFAULT_wxUSE_FS_INET
=yes
1620 DEFAULT_wxUSE_FS_ZIP
=yes
1621 DEFAULT_wxUSE_BUSYINFO
=yes
1622 DEFAULT_wxUSE_ZIPSTREAM
=yes
1623 DEFAULT_wxUSE_VALIDATORS
=yes
1625 DEFAULT_wxUSE_ACCEL
=yes
1626 DEFAULT_wxUSE_BUTTON
=yes
1627 DEFAULT_wxUSE_BMPBUTTON
=yes
1628 DEFAULT_wxUSE_CALCTRL
=yes
1629 DEFAULT_wxUSE_CARET
=yes
1630 DEFAULT_wxUSE_CHECKBOX
=yes
1631 DEFAULT_wxUSE_CHECKLST
=yes
1632 DEFAULT_wxUSE_CHOICE
=yes
1633 DEFAULT_wxUSE_COMBOBOX
=yes
1634 DEFAULT_wxUSE_GAUGE
=yes
1635 DEFAULT_wxUSE_GRID
=yes
1636 DEFAULT_wxUSE_NEW_GRID
=yes
1637 DEFAULT_wxUSE_IMAGLIST
=yes
1638 DEFAULT_wxUSE_LISTBOX
=yes
1639 DEFAULT_wxUSE_LISTCTRL
=yes
1640 DEFAULT_wxUSE_NOTEBOOK
=yes
1641 DEFAULT_wxUSE_RADIOBOX
=yes
1642 DEFAULT_wxUSE_RADIOBTN
=yes
1643 DEFAULT_wxUSE_SASH
=yes
1644 DEFAULT_wxUSE_SCROLLBAR
=yes
1645 DEFAULT_wxUSE_SLIDER
=yes
1646 DEFAULT_wxUSE_SPINBTN
=yes
1647 DEFAULT_wxUSE_SPINCTRL
=yes
1648 DEFAULT_wxUSE_SPLITTER
=yes
1649 DEFAULT_wxUSE_STATBMP
=yes
1650 DEFAULT_wxUSE_STATBOX
=yes
1651 DEFAULT_wxUSE_STATLINE
=yes
1652 DEFAULT_wxUSE_STATTEXT
=yes
1653 DEFAULT_wxUSE_STATUSBAR
=yes
1654 DEFAULT_wxUSE_TABDIALOG
=no
1655 DEFAULT_wxUSE_TEXTCTRL
=yes
1656 DEFAULT_wxUSE_TOGGLEBTN
=yes
1657 DEFAULT_wxUSE_TOOLBAR
=yes
1658 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
1659 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
1660 DEFAULT_wxUSE_TREECTRL
=yes
1662 DEFAULT_wxUSE_UNICODE
=no
1663 DEFAULT_wxUSE_WCSRTOMBS
=no
1665 DEFAULT_wxUSE_IMAGE
=yes
1666 DEFAULT_wxUSE_GIF
=yes
1667 DEFAULT_wxUSE_PCX
=yes
1668 DEFAULT_wxUSE_PNM
=yes
1669 DEFAULT_wxUSE_XPM
=yes
1674 for toolkit
in `echo $ALL_TOOLKITS`; do
1675 LINE
=`grep "wxUSE_$toolkit" ${wx_arg_cache_file}`
1676 if test "x$LINE" != x
; then
1677 has_toolkit_in_cache
=1
1678 eval "DEFAULT_$LINE"
1679 eval "CACHE_$toolkit=1"
1685 echo $ac_n "checking for --enable-gui""... $ac_c" 1>&6
1686 echo "configure:1687: checking for --enable-gui" >&5
1688 # Check whether --enable-gui or --disable-gui was given.
1689 if test "${enable_gui+set}" = set; then
1690 enableval
="$enable_gui"
1692 if test "$enableval" = yes; then
1693 ac_cv_use_gui
='wxUSE_GUI=yes'
1695 ac_cv_use_gui
='wxUSE_GUI=no'
1700 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
1701 if test "x$LINE" != x
; then
1702 eval "DEFAULT_$LINE"
1707 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
1712 eval "$ac_cv_use_gui"
1713 if test "$no_cache" != 1; then
1714 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
1717 if test "$wxUSE_GUI" = yes; then
1718 echo "$ac_t""yes" 1>&6
1720 echo "$ac_t""no" 1>&6
1724 if test "$wxUSE_GUI" = "yes"; then
1727 echo $ac_n "checking for --enable-universal""... $ac_c" 1>&6
1728 echo "configure:1729: checking for --enable-universal" >&5
1730 # Check whether --enable-universal or --disable-universal was given.
1731 if test "${enable_universal+set}" = set; then
1732 enableval
="$enable_universal"
1734 if test "$enableval" = yes; then
1735 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
1737 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
1742 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
1743 if test "x$LINE" != x
; then
1744 eval "DEFAULT_$LINE"
1749 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
1754 eval "$ac_cv_use_universal"
1755 if test "$no_cache" != 1; then
1756 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
1759 if test "$wxUSE_UNIVERSAL" = yes; then
1760 echo "$ac_t""yes" 1>&6
1762 echo "$ac_t""no" 1>&6
1765 # Check whether --with-gtk or --without-gtk was given.
1766 if test "${with_gtk+set}" = set; then
1768 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
1771 # Check whether --with-motif or --without-motif was given.
1772 if test "${with_motif+set}" = set; then
1773 withval
="$with_motif"
1774 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
1777 # Check whether --with-mac or --without-mac was given.
1778 if test "${with_mac+set}" = set; then
1780 wxUSE_MAC
="$withval" TOOLKIT_GIVEN
=1
1783 # Check whether --with-wine or --without-wine was given.
1784 if test "${with_wine+set}" = set; then
1785 withval
="$with_wine"
1786 wxUSE_WINE
="$withval" CACHE_WINE
=1 TOOLKIT_GIVEN
=1
1789 # Check whether --with-cygwin or --without-cygwin was given.
1790 if test "${with_cygwin+set}" = set; then
1791 withval
="$with_cygwin"
1792 wxUSE_CYGWIN
="$withval" CACHE_CYGWIN
=1 TOOLKIT_GIVEN
=1
1795 # Check whether --with-mingw or --without-mingw was given.
1796 if test "${with_mingw+set}" = set; then
1797 withval
="$with_mingw"
1798 wxUSE_MINGW
="$withval" CACHE_MINGW
=1 TOOLKIT_GIVEN
=1
1801 # Check whether --with-pm or --without-pm was given.
1802 if test "${with_pm+set}" = set; then
1804 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
1807 # Check whether --with-mgl or --without-mgl was given.
1808 if test "${with_mgl+set}" = set; then
1810 wxUSE_MGL
="$withval" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
1814 # Check whether --enable-gtk2 or --disable-gtk2 was given.
1815 if test "${enable_gtk2+set}" = set; then
1816 enableval
="$enable_gtk2"
1824 echo $ac_n "checking for --with-libpng""... $ac_c" 1>&6
1825 echo "configure:1826: checking for --with-libpng" >&5
1827 # Check whether --with-libpng or --without-libpng was given.
1828 if test "${with_libpng+set}" = set; then
1829 withval
="$with_libpng"
1831 if test "$withval" = yes; then
1832 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
1833 elif test "$withval" = no
; then
1834 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
1835 elif test "$withval" = sys
; then
1836 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
1838 { echo "configure: error: Invalid value for --with-libpng: should be yes, no or sys" 1>&2; exit 1; }
1843 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
1844 if test "x$LINE" != x
; then
1845 eval "DEFAULT_$LINE"
1850 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
1855 eval "$ac_cv_use_libpng"
1856 if test "$no_cache" != 1; then
1857 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
1860 if test "$wxUSE_LIBPNG" = yes; then
1861 echo "$ac_t""yes" 1>&6
1862 elif test "$wxUSE_LIBPNG" = no
; then
1863 echo "$ac_t""no" 1>&6
1864 elif test "$wxUSE_LIBPNG" = sys
; then
1865 echo "$ac_t""system version" 1>&6
1867 { echo "configure: error: Invalid value for --with-libpng: should be yes, no or sys" 1>&2; exit 1; }
1871 echo $ac_n "checking for --with-libjpeg""... $ac_c" 1>&6
1872 echo "configure:1873: checking for --with-libjpeg" >&5
1874 # Check whether --with-libjpeg or --without-libjpeg was given.
1875 if test "${with_libjpeg+set}" = set; then
1876 withval
="$with_libjpeg"
1878 if test "$withval" = yes; then
1879 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
1880 elif test "$withval" = no
; then
1881 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
1882 elif test "$withval" = sys
; then
1883 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
1885 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no or sys" 1>&2; exit 1; }
1890 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
1891 if test "x$LINE" != x
; then
1892 eval "DEFAULT_$LINE"
1897 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
1902 eval "$ac_cv_use_libjpeg"
1903 if test "$no_cache" != 1; then
1904 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
1907 if test "$wxUSE_LIBJPEG" = yes; then
1908 echo "$ac_t""yes" 1>&6
1909 elif test "$wxUSE_LIBJPEG" = no
; then
1910 echo "$ac_t""no" 1>&6
1911 elif test "$wxUSE_LIBJPEG" = sys
; then
1912 echo "$ac_t""system version" 1>&6
1914 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no or sys" 1>&2; exit 1; }
1918 echo $ac_n "checking for --with-libtiff""... $ac_c" 1>&6
1919 echo "configure:1920: checking for --with-libtiff" >&5
1921 # Check whether --with-libtiff or --without-libtiff was given.
1922 if test "${with_libtiff+set}" = set; then
1923 withval
="$with_libtiff"
1925 if test "$withval" = yes; then
1926 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
1927 elif test "$withval" = no
; then
1928 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
1929 elif test "$withval" = sys
; then
1930 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
1932 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no or sys" 1>&2; exit 1; }
1937 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
1938 if test "x$LINE" != x
; then
1939 eval "DEFAULT_$LINE"
1944 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
1949 eval "$ac_cv_use_libtiff"
1950 if test "$no_cache" != 1; then
1951 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
1954 if test "$wxUSE_LIBTIFF" = yes; then
1955 echo "$ac_t""yes" 1>&6
1956 elif test "$wxUSE_LIBTIFF" = no
; then
1957 echo "$ac_t""no" 1>&6
1958 elif test "$wxUSE_LIBTIFF" = sys
; then
1959 echo "$ac_t""system version" 1>&6
1961 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no or sys" 1>&2; exit 1; }
1965 echo $ac_n "checking for --with-freetype""... $ac_c" 1>&6
1966 echo "configure:1967: checking for --with-freetype" >&5
1968 # Check whether --with-freetype or --without-freetype was given.
1969 if test "${with_freetype+set}" = set; then
1970 withval
="$with_freetype"
1972 if test "$withval" = yes; then
1973 ac_cv_use_freetype
='wxUSE_FREETYPE=yes'
1974 elif test "$withval" = no
; then
1975 ac_cv_use_freetype
='wxUSE_FREETYPE=no'
1976 elif test "$withval" = sys
; then
1977 ac_cv_use_freetype
='wxUSE_FREETYPE=sys'
1979 { echo "configure: error: Invalid value for --with-freetype: should be yes, no or sys" 1>&2; exit 1; }
1984 LINE
=`grep "wxUSE_FREETYPE" ${wx_arg_cache_file}`
1985 if test "x$LINE" != x
; then
1986 eval "DEFAULT_$LINE"
1991 ac_cv_use_freetype
='wxUSE_FREETYPE='$DEFAULT_wxUSE_FREETYPE
1996 eval "$ac_cv_use_freetype"
1997 if test "$no_cache" != 1; then
1998 echo $ac_cv_use_freetype >> ${wx_arg_cache_file}.tmp
2001 if test "$wxUSE_FREETYPE" = yes; then
2002 echo "$ac_t""yes" 1>&6
2003 elif test "$wxUSE_FREETYPE" = no
; then
2004 echo "$ac_t""no" 1>&6
2005 elif test "$wxUSE_FREETYPE" = sys
; then
2006 echo "$ac_t""system version" 1>&6
2008 { echo "configure: error: Invalid value for --with-freetype: should be yes, no or sys" 1>&2; exit 1; }
2012 echo $ac_n "checking for --with-opengl""... $ac_c" 1>&6
2013 echo "configure:2014: checking for --with-opengl" >&5
2015 # Check whether --with-opengl or --without-opengl was given.
2016 if test "${with_opengl+set}" = set; then
2017 withval
="$with_opengl"
2019 if test "$withval" = yes; then
2020 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
2022 ac_cv_use_opengl
='wxUSE_OPENGL=no'
2027 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2028 if test "x$LINE" != x
; then
2029 eval "DEFAULT_$LINE"
2034 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
2039 eval "$ac_cv_use_opengl"
2040 if test "$no_cache" != 1; then
2041 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2044 if test "$wxUSE_OPENGL" = yes; then
2045 echo "$ac_t""yes" 1>&6
2047 echo "$ac_t""no" 1>&6
2054 echo $ac_n "checking for --with-dmalloc""... $ac_c" 1>&6
2055 echo "configure:2056: checking for --with-dmalloc" >&5
2057 # Check whether --with-dmalloc or --without-dmalloc was given.
2058 if test "${with_dmalloc+set}" = set; then
2059 withval
="$with_dmalloc"
2061 if test "$withval" = yes; then
2062 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
2064 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
2069 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2070 if test "x$LINE" != x
; then
2071 eval "DEFAULT_$LINE"
2076 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
2081 eval "$ac_cv_use_dmalloc"
2082 if test "$no_cache" != 1; then
2083 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2086 if test "$wxUSE_DMALLOC" = yes; then
2087 echo "$ac_t""yes" 1>&6
2089 echo "$ac_t""no" 1>&6
2093 echo $ac_n "checking for --with-zlib""... $ac_c" 1>&6
2094 echo "configure:2095: checking for --with-zlib" >&5
2096 # Check whether --with-zlib or --without-zlib was given.
2097 if test "${with_zlib+set}" = set; then
2098 withval
="$with_zlib"
2100 if test "$withval" = yes; then
2101 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
2102 elif test "$withval" = no
; then
2103 ac_cv_use_zlib
='wxUSE_ZLIB=no'
2104 elif test "$withval" = sys
; then
2105 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
2107 { echo "configure: error: Invalid value for --with-zlib: should be yes, no or sys" 1>&2; exit 1; }
2112 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2113 if test "x$LINE" != x
; then
2114 eval "DEFAULT_$LINE"
2119 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
2124 eval "$ac_cv_use_zlib"
2125 if test "$no_cache" != 1; then
2126 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2129 if test "$wxUSE_ZLIB" = yes; then
2130 echo "$ac_t""yes" 1>&6
2131 elif test "$wxUSE_ZLIB" = no
; then
2132 echo "$ac_t""no" 1>&6
2133 elif test "$wxUSE_ZLIB" = sys
; then
2134 echo "$ac_t""system version" 1>&6
2136 { echo "configure: error: Invalid value for --with-zlib: should be yes, no or sys" 1>&2; exit 1; }
2140 echo $ac_n "checking for --with-odbc""... $ac_c" 1>&6
2141 echo "configure:2142: checking for --with-odbc" >&5
2143 # Check whether --with-odbc or --without-odbc was given.
2144 if test "${with_odbc+set}" = set; then
2145 withval
="$with_odbc"
2147 if test "$withval" = yes; then
2148 ac_cv_use_odbc
='wxUSE_ODBC=yes'
2150 ac_cv_use_odbc
='wxUSE_ODBC=no'
2155 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
2156 if test "x$LINE" != x
; then
2157 eval "DEFAULT_$LINE"
2162 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
2167 eval "$ac_cv_use_odbc"
2168 if test "$no_cache" != 1; then
2169 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
2172 if test "$wxUSE_ODBC" = yes; then
2173 echo "$ac_t""yes" 1>&6
2175 echo "$ac_t""no" 1>&6
2182 echo $ac_n "checking for --enable-shared""... $ac_c" 1>&6
2183 echo "configure:2184: checking for --enable-shared" >&5
2185 # Check whether --enable-shared or --disable-shared was given.
2186 if test "${enable_shared+set}" = set; then
2187 enableval
="$enable_shared"
2189 if test "$enableval" = yes; then
2190 ac_cv_use_shared
='wxUSE_SHARED=yes'
2192 ac_cv_use_shared
='wxUSE_SHARED=no'
2197 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
2198 if test "x$LINE" != x
; then
2199 eval "DEFAULT_$LINE"
2204 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
2209 eval "$ac_cv_use_shared"
2210 if test "$no_cache" != 1; then
2211 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
2214 if test "$wxUSE_SHARED" = yes; then
2215 echo "$ac_t""yes" 1>&6
2217 echo "$ac_t""no" 1>&6
2221 echo $ac_n "checking for --enable-burnt_name""... $ac_c" 1>&6
2222 echo "configure:2223: checking for --enable-burnt_name" >&5
2224 # Check whether --enable-burnt_name or --disable-burnt_name was given.
2225 if test "${enable_burnt_name+set}" = set; then
2226 enableval
="$enable_burnt_name"
2228 if test "$enableval" = yes; then
2229 ac_cv_use_burnt_name
='wxUSE_BURNT_NAME=yes'
2231 ac_cv_use_burnt_name
='wxUSE_BURNT_NAME=no'
2236 LINE
=`grep "wxUSE_BURNT_NAME" ${wx_arg_cache_file}`
2237 if test "x$LINE" != x
; then
2238 eval "DEFAULT_$LINE"
2243 ac_cv_use_burnt_name
='wxUSE_BURNT_NAME='$DEFAULT_wxUSE_BURNT_NAME
2248 eval "$ac_cv_use_burnt_name"
2249 if test "$no_cache" != 1; then
2250 echo $ac_cv_use_burnt_name >> ${wx_arg_cache_file}.tmp
2253 if test "$wxUSE_BURNT_NAME" = yes; then
2254 echo "$ac_t""yes" 1>&6
2256 echo "$ac_t""no" 1>&6
2260 echo $ac_n "checking for --enable-optimise""... $ac_c" 1>&6
2261 echo "configure:2262: checking for --enable-optimise" >&5
2263 # Check whether --enable-optimise or --disable-optimise was given.
2264 if test "${enable_optimise+set}" = set; then
2265 enableval
="$enable_optimise"
2267 if test "$enableval" = yes; then
2268 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
2270 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
2275 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
2276 if test "x$LINE" != x
; then
2277 eval "DEFAULT_$LINE"
2282 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
2287 eval "$ac_cv_use_optimise"
2288 if test "$no_cache" != 1; then
2289 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
2292 if test "$wxUSE_OPTIMISE" = yes; then
2293 echo "$ac_t""yes" 1>&6
2295 echo "$ac_t""no" 1>&6
2299 echo $ac_n "checking for --enable-debug""... $ac_c" 1>&6
2300 echo "configure:2301: checking for --enable-debug" >&5
2302 # Check whether --enable-debug or --disable-debug was given.
2303 if test "${enable_debug+set}" = set; then
2304 enableval
="$enable_debug"
2306 if test "$enableval" = yes; then
2307 ac_cv_use_debug
='wxUSE_DEBUG=yes'
2309 ac_cv_use_debug
='wxUSE_DEBUG=no'
2314 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
2315 if test "x$LINE" != x
; then
2316 eval "DEFAULT_$LINE"
2321 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
2326 eval "$ac_cv_use_debug"
2327 if test "$no_cache" != 1; then
2328 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
2331 if test "$wxUSE_DEBUG" = yes; then
2332 echo "$ac_t""yes" 1>&6
2334 echo "$ac_t""no" 1>&6
2338 if test "$wxUSE_DEBUG" = "yes"; then
2339 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2340 DEFAULT_wxUSE_DEBUG_INFO
=yes
2341 elif test "$wxUSE_DEBUG" = "no"; then
2342 DEFAULT_wxUSE_DEBUG_FLAG
=no
2343 DEFAULT_wxUSE_DEBUG_INFO
=no
2347 echo $ac_n "checking for --enable-debug_flag""... $ac_c" 1>&6
2348 echo "configure:2349: checking for --enable-debug_flag" >&5
2350 # Check whether --enable-debug_flag or --disable-debug_flag was given.
2351 if test "${enable_debug_flag+set}" = set; then
2352 enableval
="$enable_debug_flag"
2354 if test "$enableval" = yes; then
2355 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
2357 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
2362 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
2363 if test "x$LINE" != x
; then
2364 eval "DEFAULT_$LINE"
2369 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
2374 eval "$ac_cv_use_debug_flag"
2375 if test "$no_cache" != 1; then
2376 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
2379 if test "$wxUSE_DEBUG_FLAG" = yes; then
2380 echo "$ac_t""yes" 1>&6
2382 echo "$ac_t""no" 1>&6
2386 echo $ac_n "checking for --enable-debug_info""... $ac_c" 1>&6
2387 echo "configure:2388: checking for --enable-debug_info" >&5
2389 # Check whether --enable-debug_info or --disable-debug_info was given.
2390 if test "${enable_debug_info+set}" = set; then
2391 enableval
="$enable_debug_info"
2393 if test "$enableval" = yes; then
2394 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
2396 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
2401 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
2402 if test "x$LINE" != x
; then
2403 eval "DEFAULT_$LINE"
2408 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
2413 eval "$ac_cv_use_debug_info"
2414 if test "$no_cache" != 1; then
2415 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
2418 if test "$wxUSE_DEBUG_INFO" = yes; then
2419 echo "$ac_t""yes" 1>&6
2421 echo "$ac_t""no" 1>&6
2425 echo $ac_n "checking for --enable-debug_gdb""... $ac_c" 1>&6
2426 echo "configure:2427: checking for --enable-debug_gdb" >&5
2428 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
2429 if test "${enable_debug_gdb+set}" = set; then
2430 enableval
="$enable_debug_gdb"
2432 if test "$enableval" = yes; then
2433 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
2435 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
2440 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
2441 if test "x$LINE" != x
; then
2442 eval "DEFAULT_$LINE"
2447 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
2452 eval "$ac_cv_use_debug_gdb"
2453 if test "$no_cache" != 1; then
2454 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
2457 if test "$wxUSE_DEBUG_GDB" = yes; then
2458 echo "$ac_t""yes" 1>&6
2460 echo "$ac_t""no" 1>&6
2464 echo $ac_n "checking for --enable-debug_cntxt""... $ac_c" 1>&6
2465 echo "configure:2466: checking for --enable-debug_cntxt" >&5
2467 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
2468 if test "${enable_debug_cntxt+set}" = set; then
2469 enableval
="$enable_debug_cntxt"
2471 if test "$enableval" = yes; then
2472 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
2474 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
2479 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2480 if test "x$LINE" != x
; then
2481 eval "DEFAULT_$LINE"
2486 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2491 eval "$ac_cv_use_debug_cntxt"
2492 if test "$no_cache" != 1; then
2493 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2496 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2497 echo "$ac_t""yes" 1>&6
2499 echo "$ac_t""no" 1>&6
2503 echo $ac_n "checking for --enable-mem_tracing""... $ac_c" 1>&6
2504 echo "configure:2505: checking for --enable-mem_tracing" >&5
2506 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2507 if test "${enable_mem_tracing+set}" = set; then
2508 enableval
="$enable_mem_tracing"
2510 if test "$enableval" = yes; then
2511 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
2513 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
2518 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2519 if test "x$LINE" != x
; then
2520 eval "DEFAULT_$LINE"
2525 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2530 eval "$ac_cv_use_mem_tracing"
2531 if test "$no_cache" != 1; then
2532 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2535 if test "$wxUSE_MEM_TRACING" = yes; then
2536 echo "$ac_t""yes" 1>&6
2538 echo "$ac_t""no" 1>&6
2542 echo $ac_n "checking for --enable-profile""... $ac_c" 1>&6
2543 echo "configure:2544: checking for --enable-profile" >&5
2545 # Check whether --enable-profile or --disable-profile was given.
2546 if test "${enable_profile+set}" = set; then
2547 enableval
="$enable_profile"
2549 if test "$enableval" = yes; then
2550 ac_cv_use_profile
='wxUSE_PROFILE=yes'
2552 ac_cv_use_profile
='wxUSE_PROFILE=no'
2557 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2558 if test "x$LINE" != x
; then
2559 eval "DEFAULT_$LINE"
2564 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2569 eval "$ac_cv_use_profile"
2570 if test "$no_cache" != 1; then
2571 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2574 if test "$wxUSE_PROFILE" = yes; then
2575 echo "$ac_t""yes" 1>&6
2577 echo "$ac_t""no" 1>&6
2581 echo $ac_n "checking for --enable-no_rtti""... $ac_c" 1>&6
2582 echo "configure:2583: checking for --enable-no_rtti" >&5
2584 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2585 if test "${enable_no_rtti+set}" = set; then
2586 enableval
="$enable_no_rtti"
2588 if test "$enableval" = yes; then
2589 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
2591 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
2596 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2597 if test "x$LINE" != x
; then
2598 eval "DEFAULT_$LINE"
2603 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2608 eval "$ac_cv_use_no_rtti"
2609 if test "$no_cache" != 1; then
2610 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2613 if test "$wxUSE_NO_RTTI" = yes; then
2614 echo "$ac_t""yes" 1>&6
2616 echo "$ac_t""no" 1>&6
2620 echo $ac_n "checking for --enable-no_exceptions""... $ac_c" 1>&6
2621 echo "configure:2622: checking for --enable-no_exceptions" >&5
2623 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2624 if test "${enable_no_exceptions+set}" = set; then
2625 enableval
="$enable_no_exceptions"
2627 if test "$enableval" = yes; then
2628 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
2630 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
2635 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2636 if test "x$LINE" != x
; then
2637 eval "DEFAULT_$LINE"
2642 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2647 eval "$ac_cv_use_no_exceptions"
2648 if test "$no_cache" != 1; then
2649 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2652 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2653 echo "$ac_t""yes" 1>&6
2655 echo "$ac_t""no" 1>&6
2659 echo $ac_n "checking for --enable-permissive""... $ac_c" 1>&6
2660 echo "configure:2661: checking for --enable-permissive" >&5
2662 # Check whether --enable-permissive or --disable-permissive was given.
2663 if test "${enable_permissive+set}" = set; then
2664 enableval
="$enable_permissive"
2666 if test "$enableval" = yes; then
2667 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
2669 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
2674 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2675 if test "x$LINE" != x
; then
2676 eval "DEFAULT_$LINE"
2681 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
2686 eval "$ac_cv_use_permissive"
2687 if test "$no_cache" != 1; then
2688 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
2691 if test "$wxUSE_PERMISSIVE" = yes; then
2692 echo "$ac_t""yes" 1>&6
2694 echo "$ac_t""no" 1>&6
2698 echo $ac_n "checking for --enable-no_deps""... $ac_c" 1>&6
2699 echo "configure:2700: checking for --enable-no_deps" >&5
2701 # Check whether --enable-no_deps or --disable-no_deps was given.
2702 if test "${enable_no_deps+set}" = set; then
2703 enableval
="$enable_no_deps"
2705 if test "$enableval" = yes; then
2706 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
2708 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
2713 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
2714 if test "x$LINE" != x
; then
2715 eval "DEFAULT_$LINE"
2720 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
2725 eval "$ac_cv_use_no_deps"
2726 if test "$no_cache" != 1; then
2727 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
2730 if test "$wxUSE_NO_DEPS" = yes; then
2731 echo "$ac_t""yes" 1>&6
2733 echo "$ac_t""no" 1>&6
2738 echo $ac_n "checking for --enable-compat20""... $ac_c" 1>&6
2739 echo "configure:2740: checking for --enable-compat20" >&5
2741 # Check whether --enable-compat20 or --disable-compat20 was given.
2742 if test "${enable_compat20+set}" = set; then
2743 enableval
="$enable_compat20"
2745 if test "$enableval" = yes; then
2746 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=yes'
2748 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=no'
2753 LINE
=`grep "WXWIN_COMPATIBILITY_2" ${wx_arg_cache_file}`
2754 if test "x$LINE" != x
; then
2755 eval "DEFAULT_$LINE"
2760 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2='$DEFAULT_WXWIN_COMPATIBILITY_2
2765 eval "$ac_cv_use_compat20"
2766 if test "$no_cache" != 1; then
2767 echo $ac_cv_use_compat20 >> ${wx_arg_cache_file}.tmp
2770 if test "$WXWIN_COMPATIBILITY_2" = yes; then
2771 echo "$ac_t""yes" 1>&6
2773 echo "$ac_t""no" 1>&6
2777 echo $ac_n "checking for --enable-compat22""... $ac_c" 1>&6
2778 echo "configure:2779: checking for --enable-compat22" >&5
2780 # Check whether --enable-compat22 or --disable-compat22 was given.
2781 if test "${enable_compat22+set}" = set; then
2782 enableval
="$enable_compat22"
2784 if test "$enableval" = yes; then
2785 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
2787 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
2792 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
2793 if test "x$LINE" != x
; then
2794 eval "DEFAULT_$LINE"
2799 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
2804 eval "$ac_cv_use_compat22"
2805 if test "$no_cache" != 1; then
2806 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
2809 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
2810 echo "$ac_t""yes" 1>&6
2812 echo "$ac_t""no" 1>&6
2818 echo $ac_n "checking for --enable-intl""... $ac_c" 1>&6
2819 echo "configure:2820: checking for --enable-intl" >&5
2821 # Check whether --enable-intl or --disable-intl was given.
2822 if test "${enable_intl+set}" = set; then
2823 enableval
="$enable_intl"
2825 if test "$enableval" = yes; then
2826 ac_cv_use_intl
='wxUSE_INTL=yes'
2828 ac_cv_use_intl
='wxUSE_INTL=no'
2833 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
2834 if test "x$LINE" != x
; then
2835 eval "DEFAULT_$LINE"
2840 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
2845 eval "$ac_cv_use_intl"
2846 if test "$no_cache" != 1; then
2847 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
2850 if test "$wxUSE_INTL" = yes; then
2851 echo "$ac_t""yes" 1>&6
2853 echo "$ac_t""no" 1>&6
2857 echo $ac_n "checking for --enable-config""... $ac_c" 1>&6
2858 echo "configure:2859: checking for --enable-config" >&5
2860 # Check whether --enable-config or --disable-config was given.
2861 if test "${enable_config+set}" = set; then
2862 enableval
="$enable_config"
2864 if test "$enableval" = yes; then
2865 ac_cv_use_config
='wxUSE_CONFIG=yes'
2867 ac_cv_use_config
='wxUSE_CONFIG=no'
2872 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
2873 if test "x$LINE" != x
; then
2874 eval "DEFAULT_$LINE"
2879 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
2884 eval "$ac_cv_use_config"
2885 if test "$no_cache" != 1; then
2886 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
2889 if test "$wxUSE_CONFIG" = yes; then
2890 echo "$ac_t""yes" 1>&6
2892 echo "$ac_t""no" 1>&6
2897 echo $ac_n "checking for --enable-sockets""... $ac_c" 1>&6
2898 echo "configure:2899: checking for --enable-sockets" >&5
2900 # Check whether --enable-sockets or --disable-sockets was given.
2901 if test "${enable_sockets+set}" = set; then
2902 enableval
="$enable_sockets"
2904 if test "$enableval" = yes; then
2905 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
2907 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
2912 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
2913 if test "x$LINE" != x
; then
2914 eval "DEFAULT_$LINE"
2919 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
2924 eval "$ac_cv_use_sockets"
2925 if test "$no_cache" != 1; then
2926 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
2929 if test "$wxUSE_SOCKETS" = yes; then
2930 echo "$ac_t""yes" 1>&6
2932 echo "$ac_t""no" 1>&6
2937 echo $ac_n "checking for --enable-ipc""... $ac_c" 1>&6
2938 echo "configure:2939: checking for --enable-ipc" >&5
2940 # Check whether --enable-ipc or --disable-ipc was given.
2941 if test "${enable_ipc+set}" = set; then
2942 enableval
="$enable_ipc"
2944 if test "$enableval" = yes; then
2945 ac_cv_use_ipc
='wxUSE_IPC=yes'
2947 ac_cv_use_ipc
='wxUSE_IPC=no'
2952 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
2953 if test "x$LINE" != x
; then
2954 eval "DEFAULT_$LINE"
2959 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
2964 eval "$ac_cv_use_ipc"
2965 if test "$no_cache" != 1; then
2966 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
2969 if test "$wxUSE_IPC" = yes; then
2970 echo "$ac_t""yes" 1>&6
2972 echo "$ac_t""no" 1>&6
2977 echo $ac_n "checking for --enable-cmdline""... $ac_c" 1>&6
2978 echo "configure:2979: checking for --enable-cmdline" >&5
2980 # Check whether --enable-cmdline or --disable-cmdline was given.
2981 if test "${enable_cmdline+set}" = set; then
2982 enableval
="$enable_cmdline"
2984 if test "$enableval" = yes; then
2985 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
2987 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
2992 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
2993 if test "x$LINE" != x
; then
2994 eval "DEFAULT_$LINE"
2999 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
3004 eval "$ac_cv_use_cmdline"
3005 if test "$no_cache" != 1; then
3006 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
3009 if test "$wxUSE_CMDLINE_PARSER" = yes; then
3010 echo "$ac_t""yes" 1>&6
3012 echo "$ac_t""no" 1>&6
3016 echo $ac_n "checking for --enable-datetime""... $ac_c" 1>&6
3017 echo "configure:3018: checking for --enable-datetime" >&5
3019 # Check whether --enable-datetime or --disable-datetime was given.
3020 if test "${enable_datetime+set}" = set; then
3021 enableval
="$enable_datetime"
3023 if test "$enableval" = yes; then
3024 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
3026 ac_cv_use_datetime
='wxUSE_DATETIME=no'
3031 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
3032 if test "x$LINE" != x
; then
3033 eval "DEFAULT_$LINE"
3038 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
3043 eval "$ac_cv_use_datetime"
3044 if test "$no_cache" != 1; then
3045 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
3048 if test "$wxUSE_DATETIME" = yes; then
3049 echo "$ac_t""yes" 1>&6
3051 echo "$ac_t""no" 1>&6
3055 echo $ac_n "checking for --enable-timedate""... $ac_c" 1>&6
3056 echo "configure:3057: checking for --enable-timedate" >&5
3058 # Check whether --enable-timedate or --disable-timedate was given.
3059 if test "${enable_timedate+set}" = set; then
3060 enableval
="$enable_timedate"
3062 if test "$enableval" = yes; then
3063 ac_cv_use_timedate
='wxUSE_TIMEDATE=yes'
3065 ac_cv_use_timedate
='wxUSE_TIMEDATE=no'
3070 LINE
=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}`
3071 if test "x$LINE" != x
; then
3072 eval "DEFAULT_$LINE"
3077 ac_cv_use_timedate
='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
3082 eval "$ac_cv_use_timedate"
3083 if test "$no_cache" != 1; then
3084 echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp
3087 if test "$wxUSE_TIMEDATE" = yes; then
3088 echo "$ac_t""yes" 1>&6
3090 echo "$ac_t""no" 1>&6
3094 echo $ac_n "checking for --enable-stopwatch""... $ac_c" 1>&6
3095 echo "configure:3096: checking for --enable-stopwatch" >&5
3097 # Check whether --enable-stopwatch or --disable-stopwatch was given.
3098 if test "${enable_stopwatch+set}" = set; then
3099 enableval
="$enable_stopwatch"
3101 if test "$enableval" = yes; then
3102 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
3104 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
3109 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
3110 if test "x$LINE" != x
; then
3111 eval "DEFAULT_$LINE"
3116 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
3121 eval "$ac_cv_use_stopwatch"
3122 if test "$no_cache" != 1; then
3123 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
3126 if test "$wxUSE_STOPWATCH" = yes; then
3127 echo "$ac_t""yes" 1>&6
3129 echo "$ac_t""no" 1>&6
3133 echo $ac_n "checking for --enable-dialupman""... $ac_c" 1>&6
3134 echo "configure:3135: checking for --enable-dialupman" >&5
3136 # Check whether --enable-dialupman or --disable-dialupman was given.
3137 if test "${enable_dialupman+set}" = set; then
3138 enableval
="$enable_dialupman"
3140 if test "$enableval" = yes; then
3141 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
3143 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
3148 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
3149 if test "x$LINE" != x
; then
3150 eval "DEFAULT_$LINE"
3155 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
3160 eval "$ac_cv_use_dialupman"
3161 if test "$no_cache" != 1; then
3162 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
3165 if test "$wxUSE_DIALUP_MANAGER" = yes; then
3166 echo "$ac_t""yes" 1>&6
3168 echo "$ac_t""no" 1>&6
3172 echo $ac_n "checking for --enable-apple_ieee""... $ac_c" 1>&6
3173 echo "configure:3174: checking for --enable-apple_ieee" >&5
3175 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
3176 if test "${enable_apple_ieee+set}" = set; then
3177 enableval
="$enable_apple_ieee"
3179 if test "$enableval" = yes; then
3180 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
3182 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
3187 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
3188 if test "x$LINE" != x
; then
3189 eval "DEFAULT_$LINE"
3194 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
3199 eval "$ac_cv_use_apple_ieee"
3200 if test "$no_cache" != 1; then
3201 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
3204 if test "$wxUSE_APPLE_IEEE" = yes; then
3205 echo "$ac_t""yes" 1>&6
3207 echo "$ac_t""no" 1>&6
3211 echo $ac_n "checking for --enable-timer""... $ac_c" 1>&6
3212 echo "configure:3213: checking for --enable-timer" >&5
3214 # Check whether --enable-timer or --disable-timer was given.
3215 if test "${enable_timer+set}" = set; then
3216 enableval
="$enable_timer"
3218 if test "$enableval" = yes; then
3219 ac_cv_use_timer
='wxUSE_TIMER=yes'
3221 ac_cv_use_timer
='wxUSE_TIMER=no'
3226 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
3227 if test "x$LINE" != x
; then
3228 eval "DEFAULT_$LINE"
3233 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
3238 eval "$ac_cv_use_timer"
3239 if test "$no_cache" != 1; then
3240 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
3243 if test "$wxUSE_TIMER" = yes; then
3244 echo "$ac_t""yes" 1>&6
3246 echo "$ac_t""no" 1>&6
3250 echo $ac_n "checking for --enable-wave""... $ac_c" 1>&6
3251 echo "configure:3252: checking for --enable-wave" >&5
3253 # Check whether --enable-wave or --disable-wave was given.
3254 if test "${enable_wave+set}" = set; then
3255 enableval
="$enable_wave"
3257 if test "$enableval" = yes; then
3258 ac_cv_use_wave
='wxUSE_WAVE=yes'
3260 ac_cv_use_wave
='wxUSE_WAVE=no'
3265 LINE
=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
3266 if test "x$LINE" != x
; then
3267 eval "DEFAULT_$LINE"
3272 ac_cv_use_wave
='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
3277 eval "$ac_cv_use_wave"
3278 if test "$no_cache" != 1; then
3279 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
3282 if test "$wxUSE_WAVE" = yes; then
3283 echo "$ac_t""yes" 1>&6
3285 echo "$ac_t""no" 1>&6
3289 echo $ac_n "checking for --enable-fraction""... $ac_c" 1>&6
3290 echo "configure:3291: checking for --enable-fraction" >&5
3292 # Check whether --enable-fraction or --disable-fraction was given.
3293 if test "${enable_fraction+set}" = set; then
3294 enableval
="$enable_fraction"
3296 if test "$enableval" = yes; then
3297 ac_cv_use_fraction
='wxUSE_FRACTION=yes'
3299 ac_cv_use_fraction
='wxUSE_FRACTION=no'
3304 LINE
=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
3305 if test "x$LINE" != x
; then
3306 eval "DEFAULT_$LINE"
3311 ac_cv_use_fraction
='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
3316 eval "$ac_cv_use_fraction"
3317 if test "$no_cache" != 1; then
3318 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
3321 if test "$wxUSE_FRACTION" = yes; then
3322 echo "$ac_t""yes" 1>&6
3324 echo "$ac_t""no" 1>&6
3328 echo $ac_n "checking for --enable-dynlib""... $ac_c" 1>&6
3329 echo "configure:3330: checking for --enable-dynlib" >&5
3331 # Check whether --enable-dynlib or --disable-dynlib was given.
3332 if test "${enable_dynlib+set}" = set; then
3333 enableval
="$enable_dynlib"
3335 if test "$enableval" = yes; then
3336 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
3338 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
3343 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
3344 if test "x$LINE" != x
; then
3345 eval "DEFAULT_$LINE"
3350 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
3355 eval "$ac_cv_use_dynlib"
3356 if test "$no_cache" != 1; then
3357 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
3360 if test "$wxUSE_DYNLIB_CLASS" = yes; then
3361 echo "$ac_t""yes" 1>&6
3363 echo "$ac_t""no" 1>&6
3367 echo $ac_n "checking for --enable-longlong""... $ac_c" 1>&6
3368 echo "configure:3369: checking for --enable-longlong" >&5
3370 # Check whether --enable-longlong or --disable-longlong was given.
3371 if test "${enable_longlong+set}" = set; then
3372 enableval
="$enable_longlong"
3374 if test "$enableval" = yes; then
3375 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
3377 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
3382 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
3383 if test "x$LINE" != x
; then
3384 eval "DEFAULT_$LINE"
3389 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
3394 eval "$ac_cv_use_longlong"
3395 if test "$no_cache" != 1; then
3396 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
3399 if test "$wxUSE_LONGLONG" = yes; then
3400 echo "$ac_t""yes" 1>&6
3402 echo "$ac_t""no" 1>&6
3406 echo $ac_n "checking for --enable-geometry""... $ac_c" 1>&6
3407 echo "configure:3408: checking for --enable-geometry" >&5
3409 # Check whether --enable-geometry or --disable-geometry was given.
3410 if test "${enable_geometry+set}" = set; then
3411 enableval
="$enable_geometry"
3413 if test "$enableval" = yes; then
3414 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
3416 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
3421 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
3422 if test "x$LINE" != x
; then
3423 eval "DEFAULT_$LINE"
3428 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
3433 eval "$ac_cv_use_geometry"
3434 if test "$no_cache" != 1; then
3435 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
3438 if test "$wxUSE_GEOMETRY" = yes; then
3439 echo "$ac_t""yes" 1>&6
3441 echo "$ac_t""no" 1>&6
3445 echo $ac_n "checking for --enable-log""... $ac_c" 1>&6
3446 echo "configure:3447: checking for --enable-log" >&5
3448 # Check whether --enable-log or --disable-log was given.
3449 if test "${enable_log+set}" = set; then
3450 enableval
="$enable_log"
3452 if test "$enableval" = yes; then
3453 ac_cv_use_log
='wxUSE_LOG=yes'
3455 ac_cv_use_log
='wxUSE_LOG=no'
3460 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
3461 if test "x$LINE" != x
; then
3462 eval "DEFAULT_$LINE"
3467 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
3472 eval "$ac_cv_use_log"
3473 if test "$no_cache" != 1; then
3474 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
3477 if test "$wxUSE_LOG" = yes; then
3478 echo "$ac_t""yes" 1>&6
3480 echo "$ac_t""no" 1>&6
3484 echo $ac_n "checking for --enable-streams""... $ac_c" 1>&6
3485 echo "configure:3486: checking for --enable-streams" >&5
3487 # Check whether --enable-streams or --disable-streams was given.
3488 if test "${enable_streams+set}" = set; then
3489 enableval
="$enable_streams"
3491 if test "$enableval" = yes; then
3492 ac_cv_use_streams
='wxUSE_STREAMS=yes'
3494 ac_cv_use_streams
='wxUSE_STREAMS=no'
3499 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
3500 if test "x$LINE" != x
; then
3501 eval "DEFAULT_$LINE"
3506 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
3511 eval "$ac_cv_use_streams"
3512 if test "$no_cache" != 1; then
3513 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
3516 if test "$wxUSE_STREAMS" = yes; then
3517 echo "$ac_t""yes" 1>&6
3519 echo "$ac_t""no" 1>&6
3523 echo $ac_n "checking for --enable-file""... $ac_c" 1>&6
3524 echo "configure:3525: checking for --enable-file" >&5
3526 # Check whether --enable-file or --disable-file was given.
3527 if test "${enable_file+set}" = set; then
3528 enableval
="$enable_file"
3530 if test "$enableval" = yes; then
3531 ac_cv_use_file
='wxUSE_FILE=yes'
3533 ac_cv_use_file
='wxUSE_FILE=no'
3538 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
3539 if test "x$LINE" != x
; then
3540 eval "DEFAULT_$LINE"
3545 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
3550 eval "$ac_cv_use_file"
3551 if test "$no_cache" != 1; then
3552 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
3555 if test "$wxUSE_FILE" = yes; then
3556 echo "$ac_t""yes" 1>&6
3558 echo "$ac_t""no" 1>&6
3562 echo $ac_n "checking for --enable-ffile""... $ac_c" 1>&6
3563 echo "configure:3564: checking for --enable-ffile" >&5
3565 # Check whether --enable-ffile or --disable-ffile was given.
3566 if test "${enable_ffile+set}" = set; then
3567 enableval
="$enable_ffile"
3569 if test "$enableval" = yes; then
3570 ac_cv_use_ffile
='wxUSE_FFILE=yes'
3572 ac_cv_use_ffile
='wxUSE_FFILE=no'
3577 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
3578 if test "x$LINE" != x
; then
3579 eval "DEFAULT_$LINE"
3584 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
3589 eval "$ac_cv_use_ffile"
3590 if test "$no_cache" != 1; then
3591 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
3594 if test "$wxUSE_FFILE" = yes; then
3595 echo "$ac_t""yes" 1>&6
3597 echo "$ac_t""no" 1>&6
3601 echo $ac_n "checking for --enable-textfile""... $ac_c" 1>&6
3602 echo "configure:3603: checking for --enable-textfile" >&5
3604 # Check whether --enable-textfile or --disable-textfile was given.
3605 if test "${enable_textfile+set}" = set; then
3606 enableval
="$enable_textfile"
3608 if test "$enableval" = yes; then
3609 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
3611 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
3616 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
3617 if test "x$LINE" != x
; then
3618 eval "DEFAULT_$LINE"
3623 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
3628 eval "$ac_cv_use_textfile"
3629 if test "$no_cache" != 1; then
3630 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
3633 if test "$wxUSE_TEXTFILE" = yes; then
3634 echo "$ac_t""yes" 1>&6
3636 echo "$ac_t""no" 1>&6
3640 echo $ac_n "checking for --enable-fontmap""... $ac_c" 1>&6
3641 echo "configure:3642: checking for --enable-fontmap" >&5
3643 # Check whether --enable-fontmap or --disable-fontmap was given.
3644 if test "${enable_fontmap+set}" = set; then
3645 enableval
="$enable_fontmap"
3647 if test "$enableval" = yes; then
3648 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
3650 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
3655 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
3656 if test "x$LINE" != x
; then
3657 eval "DEFAULT_$LINE"
3662 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
3667 eval "$ac_cv_use_fontmap"
3668 if test "$no_cache" != 1; then
3669 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
3672 if test "$wxUSE_FONTMAP" = yes; then
3673 echo "$ac_t""yes" 1>&6
3675 echo "$ac_t""no" 1>&6
3679 echo $ac_n "checking for --enable-unicode""... $ac_c" 1>&6
3680 echo "configure:3681: checking for --enable-unicode" >&5
3682 # Check whether --enable-unicode or --disable-unicode was given.
3683 if test "${enable_unicode+set}" = set; then
3684 enableval
="$enable_unicode"
3686 if test "$enableval" = yes; then
3687 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
3689 ac_cv_use_unicode
='wxUSE_UNICODE=no'
3694 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
3695 if test "x$LINE" != x
; then
3696 eval "DEFAULT_$LINE"
3701 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
3706 eval "$ac_cv_use_unicode"
3707 if test "$no_cache" != 1; then
3708 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
3711 if test "$wxUSE_UNICODE" = yes; then
3712 echo "$ac_t""yes" 1>&6
3714 echo "$ac_t""no" 1>&6
3718 echo $ac_n "checking for --enable-wcsrtombs""... $ac_c" 1>&6
3719 echo "configure:3720: checking for --enable-wcsrtombs" >&5
3721 # Check whether --enable-wcsrtombs or --disable-wcsrtombs was given.
3722 if test "${enable_wcsrtombs+set}" = set; then
3723 enableval
="$enable_wcsrtombs"
3725 if test "$enableval" = yes; then
3726 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS=yes'
3728 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS=no'
3733 LINE
=`grep "wxUSE_WCSRTOMBS" ${wx_arg_cache_file}`
3734 if test "x$LINE" != x
; then
3735 eval "DEFAULT_$LINE"
3740 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS='$DEFAULT_wxUSE_WCSRTOMBS
3745 eval "$ac_cv_use_wcsrtombs"
3746 if test "$no_cache" != 1; then
3747 echo $ac_cv_use_wcsrtombs >> ${wx_arg_cache_file}.tmp
3750 if test "$wxUSE_WCSRTOMBS" = yes; then
3751 echo "$ac_t""yes" 1>&6
3753 echo "$ac_t""no" 1>&6
3757 echo $ac_n "checking for --enable-wxprintfv""... $ac_c" 1>&6
3758 echo "configure:3759: checking for --enable-wxprintfv" >&5
3760 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
3761 if test "${enable_wxprintfv+set}" = set; then
3762 enableval
="$enable_wxprintfv"
3764 if test "$enableval" = yes; then
3765 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
3767 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
3772 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
3773 if test "x$LINE" != x
; then
3774 eval "DEFAULT_$LINE"
3779 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
3784 eval "$ac_cv_use_wxprintfv"
3785 if test "$no_cache" != 1; then
3786 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
3789 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
3790 echo "$ac_t""yes" 1>&6
3792 echo "$ac_t""no" 1>&6
3796 echo $ac_n "checking for --enable-std_iostreams""... $ac_c" 1>&6
3797 echo "configure:3798: checking for --enable-std_iostreams" >&5
3799 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
3800 if test "${enable_std_iostreams+set}" = set; then
3801 enableval
="$enable_std_iostreams"
3803 if test "$enableval" = yes; then
3804 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
3806 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
3811 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
3812 if test "x$LINE" != x
; then
3813 eval "DEFAULT_$LINE"
3818 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
3823 eval "$ac_cv_use_std_iostreams"
3824 if test "$no_cache" != 1; then
3825 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
3828 if test "$wxUSE_STD_IOSTREAM" = yes; then
3829 echo "$ac_t""yes" 1>&6
3831 echo "$ac_t""no" 1>&6
3835 echo $ac_n "checking for --enable-filesystem""... $ac_c" 1>&6
3836 echo "configure:3837: checking for --enable-filesystem" >&5
3838 # Check whether --enable-filesystem or --disable-filesystem was given.
3839 if test "${enable_filesystem+set}" = set; then
3840 enableval
="$enable_filesystem"
3842 if test "$enableval" = yes; then
3843 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
3845 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
3850 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
3851 if test "x$LINE" != x
; then
3852 eval "DEFAULT_$LINE"
3857 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
3862 eval "$ac_cv_use_filesystem"
3863 if test "$no_cache" != 1; then
3864 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
3867 if test "$wxUSE_FILESYSTEM" = yes; then
3868 echo "$ac_t""yes" 1>&6
3870 echo "$ac_t""no" 1>&6
3874 echo $ac_n "checking for --enable-fs_inet""... $ac_c" 1>&6
3875 echo "configure:3876: checking for --enable-fs_inet" >&5
3877 # Check whether --enable-fs_inet or --disable-fs_inet was given.
3878 if test "${enable_fs_inet+set}" = set; then
3879 enableval
="$enable_fs_inet"
3881 if test "$enableval" = yes; then
3882 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
3884 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
3889 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
3890 if test "x$LINE" != x
; then
3891 eval "DEFAULT_$LINE"
3896 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
3901 eval "$ac_cv_use_fs_inet"
3902 if test "$no_cache" != 1; then
3903 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
3906 if test "$wxUSE_FS_INET" = yes; then
3907 echo "$ac_t""yes" 1>&6
3909 echo "$ac_t""no" 1>&6
3913 echo $ac_n "checking for --enable-fs_zip""... $ac_c" 1>&6
3914 echo "configure:3915: checking for --enable-fs_zip" >&5
3916 # Check whether --enable-fs_zip or --disable-fs_zip was given.
3917 if test "${enable_fs_zip+set}" = set; then
3918 enableval
="$enable_fs_zip"
3920 if test "$enableval" = yes; then
3921 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
3923 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
3928 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
3929 if test "x$LINE" != x
; then
3930 eval "DEFAULT_$LINE"
3935 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
3940 eval "$ac_cv_use_fs_zip"
3941 if test "$no_cache" != 1; then
3942 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
3945 if test "$wxUSE_FS_ZIP" = yes; then
3946 echo "$ac_t""yes" 1>&6
3948 echo "$ac_t""no" 1>&6
3952 echo $ac_n "checking for --enable-zipstream""... $ac_c" 1>&6
3953 echo "configure:3954: checking for --enable-zipstream" >&5
3955 # Check whether --enable-zipstream or --disable-zipstream was given.
3956 if test "${enable_zipstream+set}" = set; then
3957 enableval
="$enable_zipstream"
3959 if test "$enableval" = yes; then
3960 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
3962 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
3967 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
3968 if test "x$LINE" != x
; then
3969 eval "DEFAULT_$LINE"
3974 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
3979 eval "$ac_cv_use_zipstream"
3980 if test "$no_cache" != 1; then
3981 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
3984 if test "$wxUSE_ZIPSTREAM" = yes; then
3985 echo "$ac_t""yes" 1>&6
3987 echo "$ac_t""no" 1>&6
3992 echo $ac_n "checking for --enable-catch_segvs""... $ac_c" 1>&6
3993 echo "configure:3994: checking for --enable-catch_segvs" >&5
3995 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
3996 if test "${enable_catch_segvs+set}" = set; then
3997 enableval
="$enable_catch_segvs"
3999 if test "$enableval" = yes; then
4000 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4002 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4007 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4008 if test "x$LINE" != x
; then
4009 eval "DEFAULT_$LINE"
4014 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4019 eval "$ac_cv_use_catch_segvs"
4020 if test "$no_cache" != 1; then
4021 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4024 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4025 echo "$ac_t""yes" 1>&6
4027 echo "$ac_t""no" 1>&6
4031 echo $ac_n "checking for --enable-snglinst""... $ac_c" 1>&6
4032 echo "configure:4033: checking for --enable-snglinst" >&5
4034 # Check whether --enable-snglinst or --disable-snglinst was given.
4035 if test "${enable_snglinst+set}" = set; then
4036 enableval
="$enable_snglinst"
4038 if test "$enableval" = yes; then
4039 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
4041 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
4046 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
4047 if test "x$LINE" != x
; then
4048 eval "DEFAULT_$LINE"
4053 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
4058 eval "$ac_cv_use_snglinst"
4059 if test "$no_cache" != 1; then
4060 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
4063 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
4064 echo "$ac_t""yes" 1>&6
4066 echo "$ac_t""no" 1>&6
4071 echo $ac_n "checking for --enable-mimetype""... $ac_c" 1>&6
4072 echo "configure:4073: checking for --enable-mimetype" >&5
4074 # Check whether --enable-mimetype or --disable-mimetype was given.
4075 if test "${enable_mimetype+set}" = set; then
4076 enableval
="$enable_mimetype"
4078 if test "$enableval" = yes; then
4079 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
4081 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
4086 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
4087 if test "x$LINE" != x
; then
4088 eval "DEFAULT_$LINE"
4093 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
4098 eval "$ac_cv_use_mimetype"
4099 if test "$no_cache" != 1; then
4100 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
4103 if test "$wxUSE_MIMETYPE" = yes; then
4104 echo "$ac_t""yes" 1>&6
4106 echo "$ac_t""no" 1>&6
4112 echo $ac_n "checking for --enable-threads""... $ac_c" 1>&6
4113 echo "configure:4114: checking for --enable-threads" >&5
4115 # Check whether --enable-threads or --disable-threads was given.
4116 if test "${enable_threads+set}" = set; then
4117 enableval
="$enable_threads"
4119 if test "$enableval" = yes; then
4120 ac_cv_use_threads
='wxUSE_THREADS=yes'
4122 ac_cv_use_threads
='wxUSE_THREADS=no'
4127 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
4128 if test "x$LINE" != x
; then
4129 eval "DEFAULT_$LINE"
4134 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
4139 eval "$ac_cv_use_threads"
4140 if test "$no_cache" != 1; then
4141 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
4144 if test "$wxUSE_THREADS" = yes; then
4145 echo "$ac_t""yes" 1>&6
4147 echo "$ac_t""no" 1>&6
4151 echo $ac_n "checking for --enable-serial""... $ac_c" 1>&6
4152 echo "configure:4153: checking for --enable-serial" >&5
4154 # Check whether --enable-serial or --disable-serial was given.
4155 if test "${enable_serial+set}" = set; then
4156 enableval
="$enable_serial"
4158 if test "$enableval" = yes; then
4159 ac_cv_use_serial
='wxUSE_SERIAL=yes'
4161 ac_cv_use_serial
='wxUSE_SERIAL=no'
4166 LINE
=`grep "wxUSE_SERIAL" ${wx_arg_cache_file}`
4167 if test "x$LINE" != x
; then
4168 eval "DEFAULT_$LINE"
4173 ac_cv_use_serial
='wxUSE_SERIAL='$DEFAULT_wxUSE_SERIAL
4178 eval "$ac_cv_use_serial"
4179 if test "$no_cache" != 1; then
4180 echo $ac_cv_use_serial >> ${wx_arg_cache_file}.tmp
4183 if test "$wxUSE_SERIAL" = yes; then
4184 echo "$ac_t""yes" 1>&6
4186 echo "$ac_t""no" 1>&6
4190 if test "$wxUSE_GUI" = "yes"; then
4194 echo $ac_n "checking for --enable-docview""... $ac_c" 1>&6
4195 echo "configure:4196: checking for --enable-docview" >&5
4197 # Check whether --enable-docview or --disable-docview was given.
4198 if test "${enable_docview+set}" = set; then
4199 enableval
="$enable_docview"
4201 if test "$enableval" = yes; then
4202 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
4204 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
4209 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
4210 if test "x$LINE" != x
; then
4211 eval "DEFAULT_$LINE"
4216 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
4221 eval "$ac_cv_use_docview"
4222 if test "$no_cache" != 1; then
4223 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
4226 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
4227 echo "$ac_t""yes" 1>&6
4229 echo "$ac_t""no" 1>&6
4233 echo $ac_n "checking for --enable-help""... $ac_c" 1>&6
4234 echo "configure:4235: checking for --enable-help" >&5
4236 # Check whether --enable-help or --disable-help was given.
4237 if test "${enable_help+set}" = set; then
4238 enableval
="$enable_help"
4240 if test "$enableval" = yes; then
4241 ac_cv_use_help
='wxUSE_HELP=yes'
4243 ac_cv_use_help
='wxUSE_HELP=no'
4248 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
4249 if test "x$LINE" != x
; then
4250 eval "DEFAULT_$LINE"
4255 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
4260 eval "$ac_cv_use_help"
4261 if test "$no_cache" != 1; then
4262 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
4265 if test "$wxUSE_HELP" = yes; then
4266 echo "$ac_t""yes" 1>&6
4268 echo "$ac_t""no" 1>&6
4272 echo $ac_n "checking for --enable-html""... $ac_c" 1>&6
4273 echo "configure:4274: checking for --enable-html" >&5
4275 # Check whether --enable-html or --disable-html was given.
4276 if test "${enable_html+set}" = set; then
4277 enableval
="$enable_html"
4279 if test "$enableval" = yes; then
4280 ac_cv_use_html
='wxUSE_HTML=yes'
4282 ac_cv_use_html
='wxUSE_HTML=no'
4287 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
4288 if test "x$LINE" != x
; then
4289 eval "DEFAULT_$LINE"
4294 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
4299 eval "$ac_cv_use_html"
4300 if test "$no_cache" != 1; then
4301 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
4304 if test "$wxUSE_HTML" = yes; then
4305 echo "$ac_t""yes" 1>&6
4307 echo "$ac_t""no" 1>&6
4311 echo $ac_n "checking for --enable-htmlhelp""... $ac_c" 1>&6
4312 echo "configure:4313: checking for --enable-htmlhelp" >&5
4314 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
4315 if test "${enable_htmlhelp+set}" = set; then
4316 enableval
="$enable_htmlhelp"
4318 if test "$enableval" = yes; then
4319 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
4321 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
4326 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
4327 if test "x$LINE" != x
; then
4328 eval "DEFAULT_$LINE"
4333 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
4338 eval "$ac_cv_use_htmlhelp"
4339 if test "$no_cache" != 1; then
4340 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
4343 if test "$wxUSE_WXHTML_HELP" = yes; then
4344 echo "$ac_t""yes" 1>&6
4346 echo "$ac_t""no" 1>&6
4350 echo $ac_n "checking for --enable-constraints""... $ac_c" 1>&6
4351 echo "configure:4352: checking for --enable-constraints" >&5
4353 # Check whether --enable-constraints or --disable-constraints was given.
4354 if test "${enable_constraints+set}" = set; then
4355 enableval
="$enable_constraints"
4357 if test "$enableval" = yes; then
4358 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
4360 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
4365 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
4366 if test "x$LINE" != x
; then
4367 eval "DEFAULT_$LINE"
4372 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
4377 eval "$ac_cv_use_constraints"
4378 if test "$no_cache" != 1; then
4379 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
4382 if test "$wxUSE_CONSTRAINTS" = yes; then
4383 echo "$ac_t""yes" 1>&6
4385 echo "$ac_t""no" 1>&6
4389 echo $ac_n "checking for --enable-printarch""... $ac_c" 1>&6
4390 echo "configure:4391: checking for --enable-printarch" >&5
4392 # Check whether --enable-printarch or --disable-printarch was given.
4393 if test "${enable_printarch+set}" = set; then
4394 enableval
="$enable_printarch"
4396 if test "$enableval" = yes; then
4397 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
4399 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
4404 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
4405 if test "x$LINE" != x
; then
4406 eval "DEFAULT_$LINE"
4411 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
4416 eval "$ac_cv_use_printarch"
4417 if test "$no_cache" != 1; then
4418 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
4421 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
4422 echo "$ac_t""yes" 1>&6
4424 echo "$ac_t""no" 1>&6
4428 echo $ac_n "checking for --enable-mdi""... $ac_c" 1>&6
4429 echo "configure:4430: checking for --enable-mdi" >&5
4431 # Check whether --enable-mdi or --disable-mdi was given.
4432 if test "${enable_mdi+set}" = set; then
4433 enableval
="$enable_mdi"
4435 if test "$enableval" = yes; then
4436 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=yes'
4438 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=no'
4443 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
4444 if test "x$LINE" != x
; then
4445 eval "DEFAULT_$LINE"
4450 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
4455 eval "$ac_cv_use_mdi"
4456 if test "$no_cache" != 1; then
4457 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
4460 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
4461 echo "$ac_t""yes" 1>&6
4463 echo "$ac_t""no" 1>&6
4467 echo $ac_n "checking for --enable-loggui""... $ac_c" 1>&6
4468 echo "configure:4469: checking for --enable-loggui" >&5
4470 # Check whether --enable-loggui or --disable-loggui was given.
4471 if test "${enable_loggui+set}" = set; then
4472 enableval
="$enable_loggui"
4474 if test "$enableval" = yes; then
4475 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
4477 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
4482 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
4483 if test "x$LINE" != x
; then
4484 eval "DEFAULT_$LINE"
4489 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
4494 eval "$ac_cv_use_loggui"
4495 if test "$no_cache" != 1; then
4496 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
4499 if test "$wxUSE_LOGGUI" = yes; then
4500 echo "$ac_t""yes" 1>&6
4502 echo "$ac_t""no" 1>&6
4506 echo $ac_n "checking for --enable-logwin""... $ac_c" 1>&6
4507 echo "configure:4508: checking for --enable-logwin" >&5
4509 # Check whether --enable-logwin or --disable-logwin was given.
4510 if test "${enable_logwin+set}" = set; then
4511 enableval
="$enable_logwin"
4513 if test "$enableval" = yes; then
4514 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
4516 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
4521 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
4522 if test "x$LINE" != x
; then
4523 eval "DEFAULT_$LINE"
4528 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
4533 eval "$ac_cv_use_logwin"
4534 if test "$no_cache" != 1; then
4535 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
4538 if test "$wxUSE_LOGWINDOW" = yes; then
4539 echo "$ac_t""yes" 1>&6
4541 echo "$ac_t""no" 1>&6
4546 echo $ac_n "checking for --enable-postscript""... $ac_c" 1>&6
4547 echo "configure:4548: checking for --enable-postscript" >&5
4549 # Check whether --enable-postscript or --disable-postscript was given.
4550 if test "${enable_postscript+set}" = set; then
4551 enableval
="$enable_postscript"
4553 if test "$enableval" = yes; then
4554 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
4556 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
4561 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
4562 if test "x$LINE" != x
; then
4563 eval "DEFAULT_$LINE"
4568 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
4573 eval "$ac_cv_use_postscript"
4574 if test "$no_cache" != 1; then
4575 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
4578 if test "$wxUSE_POSTSCRIPT" = yes; then
4579 echo "$ac_t""yes" 1>&6
4581 echo "$ac_t""no" 1>&6
4588 echo $ac_n "checking for --enable-prologio""... $ac_c" 1>&6
4589 echo "configure:4590: checking for --enable-prologio" >&5
4591 # Check whether --enable-prologio or --disable-prologio was given.
4592 if test "${enable_prologio+set}" = set; then
4593 enableval
="$enable_prologio"
4595 if test "$enableval" = yes; then
4596 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
4598 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
4603 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
4604 if test "x$LINE" != x
; then
4605 eval "DEFAULT_$LINE"
4610 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
4615 eval "$ac_cv_use_prologio"
4616 if test "$no_cache" != 1; then
4617 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
4620 if test "$wxUSE_PROLOGIO" = yes; then
4621 echo "$ac_t""yes" 1>&6
4623 echo "$ac_t""no" 1>&6
4627 echo $ac_n "checking for --enable-resources""... $ac_c" 1>&6
4628 echo "configure:4629: checking for --enable-resources" >&5
4630 # Check whether --enable-resources or --disable-resources was given.
4631 if test "${enable_resources+set}" = set; then
4632 enableval
="$enable_resources"
4634 if test "$enableval" = yes; then
4635 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
4637 ac_cv_use_resources
='wxUSE_RESOURCES=no'
4642 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
4643 if test "x$LINE" != x
; then
4644 eval "DEFAULT_$LINE"
4649 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
4654 eval "$ac_cv_use_resources"
4655 if test "$no_cache" != 1; then
4656 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
4659 if test "$wxUSE_RESOURCES" = yes; then
4660 echo "$ac_t""yes" 1>&6
4662 echo "$ac_t""no" 1>&6
4667 echo $ac_n "checking for --enable-xresources""... $ac_c" 1>&6
4668 echo "configure:4669: checking for --enable-xresources" >&5
4670 # Check whether --enable-xresources or --disable-xresources was given.
4671 if test "${enable_xresources+set}" = set; then
4672 enableval
="$enable_xresources"
4674 if test "$enableval" = yes; then
4675 ac_cv_use_xresources
='wxUSE_X_RESOURCES=yes'
4677 ac_cv_use_xresources
='wxUSE_X_RESOURCES=no'
4682 LINE
=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
4683 if test "x$LINE" != x
; then
4684 eval "DEFAULT_$LINE"
4689 ac_cv_use_xresources
='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
4694 eval "$ac_cv_use_xresources"
4695 if test "$no_cache" != 1; then
4696 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
4699 if test "$wxUSE_X_RESOURCES" = yes; then
4700 echo "$ac_t""yes" 1>&6
4702 echo "$ac_t""no" 1>&6
4708 echo $ac_n "checking for --enable-clipboard""... $ac_c" 1>&6
4709 echo "configure:4710: checking for --enable-clipboard" >&5
4711 # Check whether --enable-clipboard or --disable-clipboard was given.
4712 if test "${enable_clipboard+set}" = set; then
4713 enableval
="$enable_clipboard"
4715 if test "$enableval" = yes; then
4716 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
4718 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
4723 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
4724 if test "x$LINE" != x
; then
4725 eval "DEFAULT_$LINE"
4730 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
4735 eval "$ac_cv_use_clipboard"
4736 if test "$no_cache" != 1; then
4737 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
4740 if test "$wxUSE_CLIPBOARD" = yes; then
4741 echo "$ac_t""yes" 1>&6
4743 echo "$ac_t""no" 1>&6
4747 echo $ac_n "checking for --enable-dnd""... $ac_c" 1>&6
4748 echo "configure:4749: checking for --enable-dnd" >&5
4750 # Check whether --enable-dnd or --disable-dnd was given.
4751 if test "${enable_dnd+set}" = set; then
4752 enableval
="$enable_dnd"
4754 if test "$enableval" = yes; then
4755 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
4757 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
4762 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
4763 if test "x$LINE" != x
; then
4764 eval "DEFAULT_$LINE"
4769 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
4774 eval "$ac_cv_use_dnd"
4775 if test "$no_cache" != 1; then
4776 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
4779 if test "$wxUSE_DRAG_AND_DROP" = yes; then
4780 echo "$ac_t""yes" 1>&6
4782 echo "$ac_t""no" 1>&6
4786 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
4787 echo "configure:4788: checking for --enable-metafile" >&5
4789 # Check whether --enable-metafile or --disable-metafile was given.
4790 if test "${enable_metafile+set}" = set; then
4791 enableval
="$enable_metafile"
4793 if test "$enableval" = yes; then
4794 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
4796 ac_cv_use_metafile
='wxUSE_METAFILE=no'
4801 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
4802 if test "x$LINE" != x
; then
4803 eval "DEFAULT_$LINE"
4808 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
4813 eval "$ac_cv_use_metafile"
4814 if test "$no_cache" != 1; then
4815 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
4818 if test "$wxUSE_METAFILE" = yes; then
4819 echo "$ac_t""yes" 1>&6
4821 echo "$ac_t""no" 1>&6
4826 echo $ac_n "checking for --enable-wxtree""... $ac_c" 1>&6
4827 echo "configure:4828: checking for --enable-wxtree" >&5
4829 # Check whether --enable-wxtree or --disable-wxtree was given.
4830 if test "${enable_wxtree+set}" = set; then
4831 enableval
="$enable_wxtree"
4833 if test "$enableval" = yes; then
4834 ac_cv_use_wxtree
='wxUSE_WXTREE=yes'
4836 ac_cv_use_wxtree
='wxUSE_WXTREE=no'
4841 LINE
=`grep "wxUSE_WXTREE" ${wx_arg_cache_file}`
4842 if test "x$LINE" != x
; then
4843 eval "DEFAULT_$LINE"
4848 ac_cv_use_wxtree
='wxUSE_WXTREE='$DEFAULT_wxUSE_WXTREE
4853 eval "$ac_cv_use_wxtree"
4854 if test "$no_cache" != 1; then
4855 echo $ac_cv_use_wxtree >> ${wx_arg_cache_file}.tmp
4858 if test "$wxUSE_WXTREE" = yes; then
4859 echo "$ac_t""yes" 1>&6
4861 echo "$ac_t""no" 1>&6
4867 echo $ac_n "checking for --enable-controls""... $ac_c" 1>&6
4868 echo "configure:4869: checking for --enable-controls" >&5
4870 # Check whether --enable-controls or --disable-controls was given.
4871 if test "${enable_controls+set}" = set; then
4872 enableval
="$enable_controls"
4874 if test "$enableval" = yes; then
4875 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
4877 ac_cv_use_controls
='wxUSE_CONTROLS=no'
4882 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
4883 if test "x$LINE" != x
; then
4884 eval "DEFAULT_$LINE"
4889 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
4894 eval "$ac_cv_use_controls"
4895 if test "$no_cache" != 1; then
4896 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
4899 if test "$wxUSE_CONTROLS" = yes; then
4900 echo "$ac_t""yes" 1>&6
4902 echo "$ac_t""no" 1>&6
4906 if test "$wxUSE_CONTROLS" = "yes"; then
4907 DEFAULT_wxUSE_ACCEL
=yes
4908 DEFAULT_wxUSE_BMPBUTTON
=yes
4909 DEFAULT_wxUSE_BUTTON
=yes
4910 DEFAULT_wxUSE_CALCTRL
=no
4911 DEFAULT_wxUSE_CARET
=yes
4912 DEFAULT_wxUSE_COMBOBOX
=yes
4913 DEFAULT_wxUSE_CHECKBOX
=yes
4914 DEFAULT_wxUSE_CHECKLISTBOX
=yes
4915 DEFAULT_wxUSE_CHOICE
=yes
4916 DEFAULT_wxUSE_GAUGE
=yes
4917 DEFAULT_wxUSE_GRID
=yes
4918 DEFAULT_wxUSE_NEW_GRID
=yes
4919 DEFAULT_wxUSE_IMAGLIST
=yes
4920 DEFAULT_wxUSE_LISTBOX
=yes
4921 DEFAULT_wxUSE_LISTCTRL
=yes
4922 DEFAULT_wxUSE_NOTEBOOK
=yes
4923 DEFAULT_wxUSE_RADIOBOX
=yes
4924 DEFAULT_wxUSE_RADIOBTN
=yes
4925 DEFAULT_wxUSE_SASH
=yes
4926 DEFAULT_wxUSE_SCROLLBAR
=yes
4927 DEFAULT_wxUSE_SLIDER
=yes
4928 DEFAULT_wxUSE_SPINBTN
=yes
4929 DEFAULT_wxUSE_SPINCTRL
=yes
4930 DEFAULT_wxUSE_SPLITTER
=yes
4931 DEFAULT_wxUSE_STATBMP
=yes
4932 DEFAULT_wxUSE_STATBOX
=yes
4933 DEFAULT_wxUSE_STATLINE
=yes
4934 DEFAULT_wxUSE_STATUSBAR
=yes
4935 DEFAULT_wxUSE_TAB_DIALOG
=yes
4936 DEFAULT_wxUSE_TOGGLEBTN
=yes
4937 DEFAULT_wxUSE_TOOLBAR
=yes
4938 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
4939 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
4940 DEFAULT_wxUSE_TOOLTIPS
=yes
4941 DEFAULT_wxUSE_TREECTRL
=yes
4942 elif test "$wxUSE_CONTROLS" = "no"; then
4943 DEFAULT_wxUSE_ACCEL
=no
4944 DEFAULT_wxUSE_BMPBUTTON
=no
4945 DEFAULT_wxUSE_BUTTON
=no
4946 DEFAULT_wxUSE_CALCTRL
=no
4947 DEFAULT_wxUSE_CARET
=no
4948 DEFAULT_wxUSE_COMBOBOX
=no
4949 DEFAULT_wxUSE_CHECKBOX
=no
4950 DEFAULT_wxUSE_CHECKLISTBOX
=no
4951 DEFAULT_wxUSE_CHOICE
=no
4952 DEFAULT_wxUSE_GAUGE
=no
4953 DEFAULT_wxUSE_GRID
=no
4954 DEFAULT_wxUSE_NEW_GRID
=no
4955 DEFAULT_wxUSE_IMAGLIST
=no
4956 DEFAULT_wxUSE_LISTBOX
=no
4957 DEFAULT_wxUSE_LISTCTRL
=no
4958 DEFAULT_wxUSE_NOTEBOOK
=no
4959 DEFAULT_wxUSE_RADIOBOX
=no
4960 DEFAULT_wxUSE_RADIOBTN
=no
4961 DEFAULT_wxUSE_SASH
=no
4962 DEFAULT_wxUSE_SCROLLBAR
=no
4963 DEFAULT_wxUSE_SLIDER
=no
4964 DEFAULT_wxUSE_SPINBTN
=no
4965 DEFAULT_wxUSE_SPINCTRL
=no
4966 DEFAULT_wxUSE_SPLITTER
=no
4967 DEFAULT_wxUSE_STATBMP
=no
4968 DEFAULT_wxUSE_STATBOX
=no
4969 DEFAULT_wxUSE_STATLINE
=no
4970 DEFAULT_wxUSE_STATUSBAR
=no
4971 DEFAULT_wxUSE_TAB_DIALOG
=no
4972 DEFAULT_wxUSE_TOGGLEBTN
=no
4973 DEFAULT_wxUSE_TOOLBAR
=no
4974 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
4975 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
4976 DEFAULT_wxUSE_TOOLTIPS
=no
4977 DEFAULT_wxUSE_TREECTRL
=no
4981 echo $ac_n "checking for --enable-accel""... $ac_c" 1>&6
4982 echo "configure:4983: checking for --enable-accel" >&5
4984 # Check whether --enable-accel or --disable-accel was given.
4985 if test "${enable_accel+set}" = set; then
4986 enableval
="$enable_accel"
4988 if test "$enableval" = yes; then
4989 ac_cv_use_accel
='wxUSE_ACCEL=yes'
4991 ac_cv_use_accel
='wxUSE_ACCEL=no'
4996 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
4997 if test "x$LINE" != x
; then
4998 eval "DEFAULT_$LINE"
5003 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
5008 eval "$ac_cv_use_accel"
5009 if test "$no_cache" != 1; then
5010 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
5013 if test "$wxUSE_ACCEL" = yes; then
5014 echo "$ac_t""yes" 1>&6
5016 echo "$ac_t""no" 1>&6
5020 echo $ac_n "checking for --enable-button""... $ac_c" 1>&6
5021 echo "configure:5022: checking for --enable-button" >&5
5023 # Check whether --enable-button or --disable-button was given.
5024 if test "${enable_button+set}" = set; then
5025 enableval
="$enable_button"
5027 if test "$enableval" = yes; then
5028 ac_cv_use_button
='wxUSE_BUTTON=yes'
5030 ac_cv_use_button
='wxUSE_BUTTON=no'
5035 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
5036 if test "x$LINE" != x
; then
5037 eval "DEFAULT_$LINE"
5042 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
5047 eval "$ac_cv_use_button"
5048 if test "$no_cache" != 1; then
5049 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
5052 if test "$wxUSE_BUTTON" = yes; then
5053 echo "$ac_t""yes" 1>&6
5055 echo "$ac_t""no" 1>&6
5059 echo $ac_n "checking for --enable-bmpbutton""... $ac_c" 1>&6
5060 echo "configure:5061: checking for --enable-bmpbutton" >&5
5062 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
5063 if test "${enable_bmpbutton+set}" = set; then
5064 enableval
="$enable_bmpbutton"
5066 if test "$enableval" = yes; then
5067 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
5069 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
5074 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
5075 if test "x$LINE" != x
; then
5076 eval "DEFAULT_$LINE"
5081 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
5086 eval "$ac_cv_use_bmpbutton"
5087 if test "$no_cache" != 1; then
5088 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
5091 if test "$wxUSE_BMPBUTTON" = yes; then
5092 echo "$ac_t""yes" 1>&6
5094 echo "$ac_t""no" 1>&6
5098 echo $ac_n "checking for --enable-calendar""... $ac_c" 1>&6
5099 echo "configure:5100: checking for --enable-calendar" >&5
5101 # Check whether --enable-calendar or --disable-calendar was given.
5102 if test "${enable_calendar+set}" = set; then
5103 enableval
="$enable_calendar"
5105 if test "$enableval" = yes; then
5106 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
5108 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
5113 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
5114 if test "x$LINE" != x
; then
5115 eval "DEFAULT_$LINE"
5120 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
5125 eval "$ac_cv_use_calendar"
5126 if test "$no_cache" != 1; then
5127 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
5130 if test "$wxUSE_CALCTRL" = yes; then
5131 echo "$ac_t""yes" 1>&6
5133 echo "$ac_t""no" 1>&6
5137 echo $ac_n "checking for --enable-caret""... $ac_c" 1>&6
5138 echo "configure:5139: checking for --enable-caret" >&5
5140 # Check whether --enable-caret or --disable-caret was given.
5141 if test "${enable_caret+set}" = set; then
5142 enableval
="$enable_caret"
5144 if test "$enableval" = yes; then
5145 ac_cv_use_caret
='wxUSE_CARET=yes'
5147 ac_cv_use_caret
='wxUSE_CARET=no'
5152 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
5153 if test "x$LINE" != x
; then
5154 eval "DEFAULT_$LINE"
5159 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
5164 eval "$ac_cv_use_caret"
5165 if test "$no_cache" != 1; then
5166 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
5169 if test "$wxUSE_CARET" = yes; then
5170 echo "$ac_t""yes" 1>&6
5172 echo "$ac_t""no" 1>&6
5176 echo $ac_n "checking for --enable-checkbox""... $ac_c" 1>&6
5177 echo "configure:5178: checking for --enable-checkbox" >&5
5179 # Check whether --enable-checkbox or --disable-checkbox was given.
5180 if test "${enable_checkbox+set}" = set; then
5181 enableval
="$enable_checkbox"
5183 if test "$enableval" = yes; then
5184 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
5186 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
5191 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
5192 if test "x$LINE" != x
; then
5193 eval "DEFAULT_$LINE"
5198 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
5203 eval "$ac_cv_use_checkbox"
5204 if test "$no_cache" != 1; then
5205 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
5208 if test "$wxUSE_CHECKBOX" = yes; then
5209 echo "$ac_t""yes" 1>&6
5211 echo "$ac_t""no" 1>&6
5215 echo $ac_n "checking for --enable-checklst""... $ac_c" 1>&6
5216 echo "configure:5217: checking for --enable-checklst" >&5
5218 # Check whether --enable-checklst or --disable-checklst was given.
5219 if test "${enable_checklst+set}" = set; then
5220 enableval
="$enable_checklst"
5222 if test "$enableval" = yes; then
5223 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
5225 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
5230 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
5231 if test "x$LINE" != x
; then
5232 eval "DEFAULT_$LINE"
5237 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
5242 eval "$ac_cv_use_checklst"
5243 if test "$no_cache" != 1; then
5244 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
5247 if test "$wxUSE_CHECKLST" = yes; then
5248 echo "$ac_t""yes" 1>&6
5250 echo "$ac_t""no" 1>&6
5254 echo $ac_n "checking for --enable-choice""... $ac_c" 1>&6
5255 echo "configure:5256: checking for --enable-choice" >&5
5257 # Check whether --enable-choice or --disable-choice was given.
5258 if test "${enable_choice+set}" = set; then
5259 enableval
="$enable_choice"
5261 if test "$enableval" = yes; then
5262 ac_cv_use_choice
='wxUSE_CHOICE=yes'
5264 ac_cv_use_choice
='wxUSE_CHOICE=no'
5269 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
5270 if test "x$LINE" != x
; then
5271 eval "DEFAULT_$LINE"
5276 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
5281 eval "$ac_cv_use_choice"
5282 if test "$no_cache" != 1; then
5283 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
5286 if test "$wxUSE_CHOICE" = yes; then
5287 echo "$ac_t""yes" 1>&6
5289 echo "$ac_t""no" 1>&6
5293 echo $ac_n "checking for --enable-combobox""... $ac_c" 1>&6
5294 echo "configure:5295: checking for --enable-combobox" >&5
5296 # Check whether --enable-combobox or --disable-combobox was given.
5297 if test "${enable_combobox+set}" = set; then
5298 enableval
="$enable_combobox"
5300 if test "$enableval" = yes; then
5301 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
5303 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
5308 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
5309 if test "x$LINE" != x
; then
5310 eval "DEFAULT_$LINE"
5315 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
5320 eval "$ac_cv_use_combobox"
5321 if test "$no_cache" != 1; then
5322 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
5325 if test "$wxUSE_COMBOBOX" = yes; then
5326 echo "$ac_t""yes" 1>&6
5328 echo "$ac_t""no" 1>&6
5332 echo $ac_n "checking for --enable-gauge""... $ac_c" 1>&6
5333 echo "configure:5334: checking for --enable-gauge" >&5
5335 # Check whether --enable-gauge or --disable-gauge was given.
5336 if test "${enable_gauge+set}" = set; then
5337 enableval
="$enable_gauge"
5339 if test "$enableval" = yes; then
5340 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
5342 ac_cv_use_gauge
='wxUSE_GAUGE=no'
5347 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
5348 if test "x$LINE" != x
; then
5349 eval "DEFAULT_$LINE"
5354 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
5359 eval "$ac_cv_use_gauge"
5360 if test "$no_cache" != 1; then
5361 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
5364 if test "$wxUSE_GAUGE" = yes; then
5365 echo "$ac_t""yes" 1>&6
5367 echo "$ac_t""no" 1>&6
5371 echo $ac_n "checking for --enable-grid""... $ac_c" 1>&6
5372 echo "configure:5373: checking for --enable-grid" >&5
5374 # Check whether --enable-grid or --disable-grid was given.
5375 if test "${enable_grid+set}" = set; then
5376 enableval
="$enable_grid"
5378 if test "$enableval" = yes; then
5379 ac_cv_use_grid
='wxUSE_GRID=yes'
5381 ac_cv_use_grid
='wxUSE_GRID=no'
5386 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
5387 if test "x$LINE" != x
; then
5388 eval "DEFAULT_$LINE"
5393 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
5398 eval "$ac_cv_use_grid"
5399 if test "$no_cache" != 1; then
5400 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
5403 if test "$wxUSE_GRID" = yes; then
5404 echo "$ac_t""yes" 1>&6
5406 echo "$ac_t""no" 1>&6
5410 echo $ac_n "checking for --enable-newgrid""... $ac_c" 1>&6
5411 echo "configure:5412: checking for --enable-newgrid" >&5
5413 # Check whether --enable-newgrid or --disable-newgrid was given.
5414 if test "${enable_newgrid+set}" = set; then
5415 enableval
="$enable_newgrid"
5417 if test "$enableval" = yes; then
5418 ac_cv_use_newgrid
='wxUSE_NEW_GRID=yes'
5420 ac_cv_use_newgrid
='wxUSE_NEW_GRID=no'
5425 LINE
=`grep "wxUSE_NEW_GRID" ${wx_arg_cache_file}`
5426 if test "x$LINE" != x
; then
5427 eval "DEFAULT_$LINE"
5432 ac_cv_use_newgrid
='wxUSE_NEW_GRID='$DEFAULT_wxUSE_NEW_GRID
5437 eval "$ac_cv_use_newgrid"
5438 if test "$no_cache" != 1; then
5439 echo $ac_cv_use_newgrid >> ${wx_arg_cache_file}.tmp
5442 if test "$wxUSE_NEW_GRID" = yes; then
5443 echo "$ac_t""yes" 1>&6
5445 echo "$ac_t""no" 1>&6
5449 echo $ac_n "checking for --enable-imaglist""... $ac_c" 1>&6
5450 echo "configure:5451: checking for --enable-imaglist" >&5
5452 # Check whether --enable-imaglist or --disable-imaglist was given.
5453 if test "${enable_imaglist+set}" = set; then
5454 enableval
="$enable_imaglist"
5456 if test "$enableval" = yes; then
5457 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
5459 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
5464 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
5465 if test "x$LINE" != x
; then
5466 eval "DEFAULT_$LINE"
5471 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
5476 eval "$ac_cv_use_imaglist"
5477 if test "$no_cache" != 1; then
5478 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
5481 if test "$wxUSE_IMAGLIST" = yes; then
5482 echo "$ac_t""yes" 1>&6
5484 echo "$ac_t""no" 1>&6
5488 echo $ac_n "checking for --enable-listbox""... $ac_c" 1>&6
5489 echo "configure:5490: checking for --enable-listbox" >&5
5491 # Check whether --enable-listbox or --disable-listbox was given.
5492 if test "${enable_listbox+set}" = set; then
5493 enableval
="$enable_listbox"
5495 if test "$enableval" = yes; then
5496 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
5498 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
5503 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
5504 if test "x$LINE" != x
; then
5505 eval "DEFAULT_$LINE"
5510 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
5515 eval "$ac_cv_use_listbox"
5516 if test "$no_cache" != 1; then
5517 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
5520 if test "$wxUSE_LISTBOX" = yes; then
5521 echo "$ac_t""yes" 1>&6
5523 echo "$ac_t""no" 1>&6
5527 echo $ac_n "checking for --enable-listctrl""... $ac_c" 1>&6
5528 echo "configure:5529: checking for --enable-listctrl" >&5
5530 # Check whether --enable-listctrl or --disable-listctrl was given.
5531 if test "${enable_listctrl+set}" = set; then
5532 enableval
="$enable_listctrl"
5534 if test "$enableval" = yes; then
5535 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
5537 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
5542 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
5543 if test "x$LINE" != x
; then
5544 eval "DEFAULT_$LINE"
5549 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
5554 eval "$ac_cv_use_listctrl"
5555 if test "$no_cache" != 1; then
5556 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
5559 if test "$wxUSE_LISTCTRL" = yes; then
5560 echo "$ac_t""yes" 1>&6
5562 echo "$ac_t""no" 1>&6
5566 echo $ac_n "checking for --enable-notebook""... $ac_c" 1>&6
5567 echo "configure:5568: checking for --enable-notebook" >&5
5569 # Check whether --enable-notebook or --disable-notebook was given.
5570 if test "${enable_notebook+set}" = set; then
5571 enableval
="$enable_notebook"
5573 if test "$enableval" = yes; then
5574 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
5576 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
5581 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
5582 if test "x$LINE" != x
; then
5583 eval "DEFAULT_$LINE"
5588 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
5593 eval "$ac_cv_use_notebook"
5594 if test "$no_cache" != 1; then
5595 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
5598 if test "$wxUSE_NOTEBOOK" = yes; then
5599 echo "$ac_t""yes" 1>&6
5601 echo "$ac_t""no" 1>&6
5605 echo $ac_n "checking for --enable-radiobox""... $ac_c" 1>&6
5606 echo "configure:5607: checking for --enable-radiobox" >&5
5608 # Check whether --enable-radiobox or --disable-radiobox was given.
5609 if test "${enable_radiobox+set}" = set; then
5610 enableval
="$enable_radiobox"
5612 if test "$enableval" = yes; then
5613 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
5615 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
5620 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
5621 if test "x$LINE" != x
; then
5622 eval "DEFAULT_$LINE"
5627 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
5632 eval "$ac_cv_use_radiobox"
5633 if test "$no_cache" != 1; then
5634 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
5637 if test "$wxUSE_RADIOBOX" = yes; then
5638 echo "$ac_t""yes" 1>&6
5640 echo "$ac_t""no" 1>&6
5644 echo $ac_n "checking for --enable-radiobtn""... $ac_c" 1>&6
5645 echo "configure:5646: checking for --enable-radiobtn" >&5
5647 # Check whether --enable-radiobtn or --disable-radiobtn was given.
5648 if test "${enable_radiobtn+set}" = set; then
5649 enableval
="$enable_radiobtn"
5651 if test "$enableval" = yes; then
5652 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
5654 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
5659 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
5660 if test "x$LINE" != x
; then
5661 eval "DEFAULT_$LINE"
5666 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
5671 eval "$ac_cv_use_radiobtn"
5672 if test "$no_cache" != 1; then
5673 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
5676 if test "$wxUSE_RADIOBTN" = yes; then
5677 echo "$ac_t""yes" 1>&6
5679 echo "$ac_t""no" 1>&6
5683 echo $ac_n "checking for --enable-sash""... $ac_c" 1>&6
5684 echo "configure:5685: checking for --enable-sash" >&5
5686 # Check whether --enable-sash or --disable-sash was given.
5687 if test "${enable_sash+set}" = set; then
5688 enableval
="$enable_sash"
5690 if test "$enableval" = yes; then
5691 ac_cv_use_sash
='wxUSE_SASH=yes'
5693 ac_cv_use_sash
='wxUSE_SASH=no'
5698 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
5699 if test "x$LINE" != x
; then
5700 eval "DEFAULT_$LINE"
5705 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
5710 eval "$ac_cv_use_sash"
5711 if test "$no_cache" != 1; then
5712 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
5715 if test "$wxUSE_SASH" = yes; then
5716 echo "$ac_t""yes" 1>&6
5718 echo "$ac_t""no" 1>&6
5722 echo $ac_n "checking for --enable-scrollbar""... $ac_c" 1>&6
5723 echo "configure:5724: checking for --enable-scrollbar" >&5
5725 # Check whether --enable-scrollbar or --disable-scrollbar was given.
5726 if test "${enable_scrollbar+set}" = set; then
5727 enableval
="$enable_scrollbar"
5729 if test "$enableval" = yes; then
5730 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
5732 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
5737 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
5738 if test "x$LINE" != x
; then
5739 eval "DEFAULT_$LINE"
5744 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
5749 eval "$ac_cv_use_scrollbar"
5750 if test "$no_cache" != 1; then
5751 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
5754 if test "$wxUSE_SCROLLBAR" = yes; then
5755 echo "$ac_t""yes" 1>&6
5757 echo "$ac_t""no" 1>&6
5761 echo $ac_n "checking for --enable-slider""... $ac_c" 1>&6
5762 echo "configure:5763: checking for --enable-slider" >&5
5764 # Check whether --enable-slider or --disable-slider was given.
5765 if test "${enable_slider+set}" = set; then
5766 enableval
="$enable_slider"
5768 if test "$enableval" = yes; then
5769 ac_cv_use_slider
='wxUSE_SLIDER=yes'
5771 ac_cv_use_slider
='wxUSE_SLIDER=no'
5776 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
5777 if test "x$LINE" != x
; then
5778 eval "DEFAULT_$LINE"
5783 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
5788 eval "$ac_cv_use_slider"
5789 if test "$no_cache" != 1; then
5790 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
5793 if test "$wxUSE_SLIDER" = yes; then
5794 echo "$ac_t""yes" 1>&6
5796 echo "$ac_t""no" 1>&6
5800 echo $ac_n "checking for --enable-spinbtn""... $ac_c" 1>&6
5801 echo "configure:5802: checking for --enable-spinbtn" >&5
5803 # Check whether --enable-spinbtn or --disable-spinbtn was given.
5804 if test "${enable_spinbtn+set}" = set; then
5805 enableval
="$enable_spinbtn"
5807 if test "$enableval" = yes; then
5808 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
5810 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
5815 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
5816 if test "x$LINE" != x
; then
5817 eval "DEFAULT_$LINE"
5822 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
5827 eval "$ac_cv_use_spinbtn"
5828 if test "$no_cache" != 1; then
5829 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
5832 if test "$wxUSE_SPINBTN" = yes; then
5833 echo "$ac_t""yes" 1>&6
5835 echo "$ac_t""no" 1>&6
5839 echo $ac_n "checking for --enable-spinctrl""... $ac_c" 1>&6
5840 echo "configure:5841: checking for --enable-spinctrl" >&5
5842 # Check whether --enable-spinctrl or --disable-spinctrl was given.
5843 if test "${enable_spinctrl+set}" = set; then
5844 enableval
="$enable_spinctrl"
5846 if test "$enableval" = yes; then
5847 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
5849 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
5854 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
5855 if test "x$LINE" != x
; then
5856 eval "DEFAULT_$LINE"
5861 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
5866 eval "$ac_cv_use_spinctrl"
5867 if test "$no_cache" != 1; then
5868 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
5871 if test "$wxUSE_SPINCTRL" = yes; then
5872 echo "$ac_t""yes" 1>&6
5874 echo "$ac_t""no" 1>&6
5878 echo $ac_n "checking for --enable-splitter""... $ac_c" 1>&6
5879 echo "configure:5880: checking for --enable-splitter" >&5
5881 # Check whether --enable-splitter or --disable-splitter was given.
5882 if test "${enable_splitter+set}" = set; then
5883 enableval
="$enable_splitter"
5885 if test "$enableval" = yes; then
5886 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
5888 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
5893 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
5894 if test "x$LINE" != x
; then
5895 eval "DEFAULT_$LINE"
5900 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
5905 eval "$ac_cv_use_splitter"
5906 if test "$no_cache" != 1; then
5907 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
5910 if test "$wxUSE_SPLITTER" = yes; then
5911 echo "$ac_t""yes" 1>&6
5913 echo "$ac_t""no" 1>&6
5917 echo $ac_n "checking for --enable-statbmp""... $ac_c" 1>&6
5918 echo "configure:5919: checking for --enable-statbmp" >&5
5920 # Check whether --enable-statbmp or --disable-statbmp was given.
5921 if test "${enable_statbmp+set}" = set; then
5922 enableval
="$enable_statbmp"
5924 if test "$enableval" = yes; then
5925 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
5927 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
5932 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
5933 if test "x$LINE" != x
; then
5934 eval "DEFAULT_$LINE"
5939 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
5944 eval "$ac_cv_use_statbmp"
5945 if test "$no_cache" != 1; then
5946 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
5949 if test "$wxUSE_STATBMP" = yes; then
5950 echo "$ac_t""yes" 1>&6
5952 echo "$ac_t""no" 1>&6
5956 echo $ac_n "checking for --enable-statbox""... $ac_c" 1>&6
5957 echo "configure:5958: checking for --enable-statbox" >&5
5959 # Check whether --enable-statbox or --disable-statbox was given.
5960 if test "${enable_statbox+set}" = set; then
5961 enableval
="$enable_statbox"
5963 if test "$enableval" = yes; then
5964 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
5966 ac_cv_use_statbox
='wxUSE_STATBOX=no'
5971 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
5972 if test "x$LINE" != x
; then
5973 eval "DEFAULT_$LINE"
5978 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
5983 eval "$ac_cv_use_statbox"
5984 if test "$no_cache" != 1; then
5985 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
5988 if test "$wxUSE_STATBOX" = yes; then
5989 echo "$ac_t""yes" 1>&6
5991 echo "$ac_t""no" 1>&6
5995 echo $ac_n "checking for --enable-statline""... $ac_c" 1>&6
5996 echo "configure:5997: checking for --enable-statline" >&5
5998 # Check whether --enable-statline or --disable-statline was given.
5999 if test "${enable_statline+set}" = set; then
6000 enableval
="$enable_statline"
6002 if test "$enableval" = yes; then
6003 ac_cv_use_statline
='wxUSE_STATLINE=yes'
6005 ac_cv_use_statline
='wxUSE_STATLINE=no'
6010 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
6011 if test "x$LINE" != x
; then
6012 eval "DEFAULT_$LINE"
6017 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
6022 eval "$ac_cv_use_statline"
6023 if test "$no_cache" != 1; then
6024 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
6027 if test "$wxUSE_STATLINE" = yes; then
6028 echo "$ac_t""yes" 1>&6
6030 echo "$ac_t""no" 1>&6
6034 echo $ac_n "checking for --enable-stattext""... $ac_c" 1>&6
6035 echo "configure:6036: checking for --enable-stattext" >&5
6037 # Check whether --enable-stattext or --disable-stattext was given.
6038 if test "${enable_stattext+set}" = set; then
6039 enableval
="$enable_stattext"
6041 if test "$enableval" = yes; then
6042 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
6044 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
6049 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
6050 if test "x$LINE" != x
; then
6051 eval "DEFAULT_$LINE"
6056 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
6061 eval "$ac_cv_use_stattext"
6062 if test "$no_cache" != 1; then
6063 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
6066 if test "$wxUSE_STATTEXT" = yes; then
6067 echo "$ac_t""yes" 1>&6
6069 echo "$ac_t""no" 1>&6
6073 echo $ac_n "checking for --enable-statusbar""... $ac_c" 1>&6
6074 echo "configure:6075: checking for --enable-statusbar" >&5
6076 # Check whether --enable-statusbar or --disable-statusbar was given.
6077 if test "${enable_statusbar+set}" = set; then
6078 enableval
="$enable_statusbar"
6080 if test "$enableval" = yes; then
6081 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
6083 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
6088 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
6089 if test "x$LINE" != x
; then
6090 eval "DEFAULT_$LINE"
6095 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
6100 eval "$ac_cv_use_statusbar"
6101 if test "$no_cache" != 1; then
6102 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
6105 if test "$wxUSE_STATUSBAR" = yes; then
6106 echo "$ac_t""yes" 1>&6
6108 echo "$ac_t""no" 1>&6
6112 echo $ac_n "checking for --enable-tabdialog""... $ac_c" 1>&6
6113 echo "configure:6114: checking for --enable-tabdialog" >&5
6115 # Check whether --enable-tabdialog or --disable-tabdialog was given.
6116 if test "${enable_tabdialog+set}" = set; then
6117 enableval
="$enable_tabdialog"
6119 if test "$enableval" = yes; then
6120 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
6122 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
6127 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
6128 if test "x$LINE" != x
; then
6129 eval "DEFAULT_$LINE"
6134 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
6139 eval "$ac_cv_use_tabdialog"
6140 if test "$no_cache" != 1; then
6141 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
6144 if test "$wxUSE_TABDIALOG" = yes; then
6145 echo "$ac_t""yes" 1>&6
6147 echo "$ac_t""no" 1>&6
6151 echo $ac_n "checking for --enable-textctrl""... $ac_c" 1>&6
6152 echo "configure:6153: checking for --enable-textctrl" >&5
6154 # Check whether --enable-textctrl or --disable-textctrl was given.
6155 if test "${enable_textctrl+set}" = set; then
6156 enableval
="$enable_textctrl"
6158 if test "$enableval" = yes; then
6159 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
6161 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
6166 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
6167 if test "x$LINE" != x
; then
6168 eval "DEFAULT_$LINE"
6173 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
6178 eval "$ac_cv_use_textctrl"
6179 if test "$no_cache" != 1; then
6180 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
6183 if test "$wxUSE_TEXTCTRL" = yes; then
6184 echo "$ac_t""yes" 1>&6
6186 echo "$ac_t""no" 1>&6
6190 echo $ac_n "checking for --enable-togglebtn""... $ac_c" 1>&6
6191 echo "configure:6192: checking for --enable-togglebtn" >&5
6193 # Check whether --enable-togglebtn or --disable-togglebtn was given.
6194 if test "${enable_togglebtn+set}" = set; then
6195 enableval
="$enable_togglebtn"
6197 if test "$enableval" = yes; then
6198 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
6200 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
6205 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
6206 if test "x$LINE" != x
; then
6207 eval "DEFAULT_$LINE"
6212 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
6217 eval "$ac_cv_use_togglebtn"
6218 if test "$no_cache" != 1; then
6219 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
6222 if test "$wxUSE_TOGGLEBTN" = yes; then
6223 echo "$ac_t""yes" 1>&6
6225 echo "$ac_t""no" 1>&6
6229 echo $ac_n "checking for --enable-toolbar""... $ac_c" 1>&6
6230 echo "configure:6231: checking for --enable-toolbar" >&5
6232 # Check whether --enable-toolbar or --disable-toolbar was given.
6233 if test "${enable_toolbar+set}" = set; then
6234 enableval
="$enable_toolbar"
6236 if test "$enableval" = yes; then
6237 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
6239 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
6244 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
6245 if test "x$LINE" != x
; then
6246 eval "DEFAULT_$LINE"
6251 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
6256 eval "$ac_cv_use_toolbar"
6257 if test "$no_cache" != 1; then
6258 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
6261 if test "$wxUSE_TOOLBAR" = yes; then
6262 echo "$ac_t""yes" 1>&6
6264 echo "$ac_t""no" 1>&6
6268 echo $ac_n "checking for --enable-tbarnative""... $ac_c" 1>&6
6269 echo "configure:6270: checking for --enable-tbarnative" >&5
6271 # Check whether --enable-tbarnative or --disable-tbarnative was given.
6272 if test "${enable_tbarnative+set}" = set; then
6273 enableval
="$enable_tbarnative"
6275 if test "$enableval" = yes; then
6276 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
6278 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
6283 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
6284 if test "x$LINE" != x
; then
6285 eval "DEFAULT_$LINE"
6290 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
6295 eval "$ac_cv_use_tbarnative"
6296 if test "$no_cache" != 1; then
6297 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
6300 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
6301 echo "$ac_t""yes" 1>&6
6303 echo "$ac_t""no" 1>&6
6307 echo $ac_n "checking for --enable-tbarsmpl""... $ac_c" 1>&6
6308 echo "configure:6309: checking for --enable-tbarsmpl" >&5
6310 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
6311 if test "${enable_tbarsmpl+set}" = set; then
6312 enableval
="$enable_tbarsmpl"
6314 if test "$enableval" = yes; then
6315 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
6317 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
6322 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
6323 if test "x$LINE" != x
; then
6324 eval "DEFAULT_$LINE"
6329 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
6334 eval "$ac_cv_use_tbarsmpl"
6335 if test "$no_cache" != 1; then
6336 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
6339 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
6340 echo "$ac_t""yes" 1>&6
6342 echo "$ac_t""no" 1>&6
6346 echo $ac_n "checking for --enable-treectrl""... $ac_c" 1>&6
6347 echo "configure:6348: checking for --enable-treectrl" >&5
6349 # Check whether --enable-treectrl or --disable-treectrl was given.
6350 if test "${enable_treectrl+set}" = set; then
6351 enableval
="$enable_treectrl"
6353 if test "$enableval" = yes; then
6354 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
6356 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
6361 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
6362 if test "x$LINE" != x
; then
6363 eval "DEFAULT_$LINE"
6368 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
6373 eval "$ac_cv_use_treectrl"
6374 if test "$no_cache" != 1; then
6375 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
6378 if test "$wxUSE_TREECTRL" = yes; then
6379 echo "$ac_t""yes" 1>&6
6381 echo "$ac_t""no" 1>&6
6387 echo $ac_n "checking for --enable-commondlg""... $ac_c" 1>&6
6388 echo "configure:6389: checking for --enable-commondlg" >&5
6390 # Check whether --enable-commondlg or --disable-commondlg was given.
6391 if test "${enable_commondlg+set}" = set; then
6392 enableval
="$enable_commondlg"
6394 if test "$enableval" = yes; then
6395 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
6397 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
6402 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
6403 if test "x$LINE" != x
; then
6404 eval "DEFAULT_$LINE"
6409 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
6414 eval "$ac_cv_use_commondlg"
6415 if test "$no_cache" != 1; then
6416 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
6419 if test "$wxUSE_COMMONDLGS" = yes; then
6420 echo "$ac_t""yes" 1>&6
6422 echo "$ac_t""no" 1>&6
6426 echo $ac_n "checking for --enable-choicedlg""... $ac_c" 1>&6
6427 echo "configure:6428: checking for --enable-choicedlg" >&5
6429 # Check whether --enable-choicedlg or --disable-choicedlg was given.
6430 if test "${enable_choicedlg+set}" = set; then
6431 enableval
="$enable_choicedlg"
6433 if test "$enableval" = yes; then
6434 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
6436 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
6441 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
6442 if test "x$LINE" != x
; then
6443 eval "DEFAULT_$LINE"
6448 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
6453 eval "$ac_cv_use_choicedlg"
6454 if test "$no_cache" != 1; then
6455 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
6458 if test "$wxUSE_CHOICEDLG" = yes; then
6459 echo "$ac_t""yes" 1>&6
6461 echo "$ac_t""no" 1>&6
6465 echo $ac_n "checking for --enable-coldlg""... $ac_c" 1>&6
6466 echo "configure:6467: checking for --enable-coldlg" >&5
6468 # Check whether --enable-coldlg or --disable-coldlg was given.
6469 if test "${enable_coldlg+set}" = set; then
6470 enableval
="$enable_coldlg"
6472 if test "$enableval" = yes; then
6473 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
6475 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
6480 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
6481 if test "x$LINE" != x
; then
6482 eval "DEFAULT_$LINE"
6487 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
6492 eval "$ac_cv_use_coldlg"
6493 if test "$no_cache" != 1; then
6494 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
6497 if test "$wxUSE_COLOURDLG" = yes; then
6498 echo "$ac_t""yes" 1>&6
6500 echo "$ac_t""no" 1>&6
6504 echo $ac_n "checking for --enable-filedlg""... $ac_c" 1>&6
6505 echo "configure:6506: checking for --enable-filedlg" >&5
6507 # Check whether --enable-filedlg or --disable-filedlg was given.
6508 if test "${enable_filedlg+set}" = set; then
6509 enableval
="$enable_filedlg"
6511 if test "$enableval" = yes; then
6512 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
6514 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
6519 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
6520 if test "x$LINE" != x
; then
6521 eval "DEFAULT_$LINE"
6526 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
6531 eval "$ac_cv_use_filedlg"
6532 if test "$no_cache" != 1; then
6533 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
6536 if test "$wxUSE_FILEDLG" = yes; then
6537 echo "$ac_t""yes" 1>&6
6539 echo "$ac_t""no" 1>&6
6543 echo $ac_n "checking for --enable-fontdlg""... $ac_c" 1>&6
6544 echo "configure:6545: checking for --enable-fontdlg" >&5
6546 # Check whether --enable-fontdlg or --disable-fontdlg was given.
6547 if test "${enable_fontdlg+set}" = set; then
6548 enableval
="$enable_fontdlg"
6550 if test "$enableval" = yes; then
6551 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
6553 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
6558 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
6559 if test "x$LINE" != x
; then
6560 eval "DEFAULT_$LINE"
6565 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
6570 eval "$ac_cv_use_fontdlg"
6571 if test "$no_cache" != 1; then
6572 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
6575 if test "$wxUSE_FONTDLG" = yes; then
6576 echo "$ac_t""yes" 1>&6
6578 echo "$ac_t""no" 1>&6
6582 echo $ac_n "checking for --enable-dirdlg""... $ac_c" 1>&6
6583 echo "configure:6584: checking for --enable-dirdlg" >&5
6585 # Check whether --enable-dirdlg or --disable-dirdlg was given.
6586 if test "${enable_dirdlg+set}" = set; then
6587 enableval
="$enable_dirdlg"
6589 if test "$enableval" = yes; then
6590 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
6592 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
6597 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
6598 if test "x$LINE" != x
; then
6599 eval "DEFAULT_$LINE"
6604 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
6609 eval "$ac_cv_use_dirdlg"
6610 if test "$no_cache" != 1; then
6611 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
6614 if test "$wxUSE_DIRDLG" = yes; then
6615 echo "$ac_t""yes" 1>&6
6617 echo "$ac_t""no" 1>&6
6621 echo $ac_n "checking for --enable-msgdlg""... $ac_c" 1>&6
6622 echo "configure:6623: checking for --enable-msgdlg" >&5
6624 # Check whether --enable-msgdlg or --disable-msgdlg was given.
6625 if test "${enable_msgdlg+set}" = set; then
6626 enableval
="$enable_msgdlg"
6628 if test "$enableval" = yes; then
6629 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
6631 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
6636 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
6637 if test "x$LINE" != x
; then
6638 eval "DEFAULT_$LINE"
6643 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
6648 eval "$ac_cv_use_msgdlg"
6649 if test "$no_cache" != 1; then
6650 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
6653 if test "$wxUSE_MSGDLG" = yes; then
6654 echo "$ac_t""yes" 1>&6
6656 echo "$ac_t""no" 1>&6
6660 echo $ac_n "checking for --enable-numberdlg""... $ac_c" 1>&6
6661 echo "configure:6662: checking for --enable-numberdlg" >&5
6663 # Check whether --enable-numberdlg or --disable-numberdlg was given.
6664 if test "${enable_numberdlg+set}" = set; then
6665 enableval
="$enable_numberdlg"
6667 if test "$enableval" = yes; then
6668 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
6670 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
6675 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
6676 if test "x$LINE" != x
; then
6677 eval "DEFAULT_$LINE"
6682 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
6687 eval "$ac_cv_use_numberdlg"
6688 if test "$no_cache" != 1; then
6689 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
6692 if test "$wxUSE_NUMBERDLG" = yes; then
6693 echo "$ac_t""yes" 1>&6
6695 echo "$ac_t""no" 1>&6
6699 echo $ac_n "checking for --enable-textdlg""... $ac_c" 1>&6
6700 echo "configure:6701: checking for --enable-textdlg" >&5
6702 # Check whether --enable-textdlg or --disable-textdlg was given.
6703 if test "${enable_textdlg+set}" = set; then
6704 enableval
="$enable_textdlg"
6706 if test "$enableval" = yes; then
6707 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
6709 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
6714 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
6715 if test "x$LINE" != x
; then
6716 eval "DEFAULT_$LINE"
6721 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
6726 eval "$ac_cv_use_textdlg"
6727 if test "$no_cache" != 1; then
6728 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
6731 if test "$wxUSE_TEXTDLG" = yes; then
6732 echo "$ac_t""yes" 1>&6
6734 echo "$ac_t""no" 1>&6
6738 echo $ac_n "checking for --enable-tipdlg""... $ac_c" 1>&6
6739 echo "configure:6740: checking for --enable-tipdlg" >&5
6741 # Check whether --enable-tipdlg or --disable-tipdlg was given.
6742 if test "${enable_tipdlg+set}" = set; then
6743 enableval
="$enable_tipdlg"
6745 if test "$enableval" = yes; then
6746 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
6748 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
6753 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
6754 if test "x$LINE" != x
; then
6755 eval "DEFAULT_$LINE"
6760 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
6765 eval "$ac_cv_use_tipdlg"
6766 if test "$no_cache" != 1; then
6767 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
6770 if test "$wxUSE_STARTUP_TIPS" = yes; then
6771 echo "$ac_t""yes" 1>&6
6773 echo "$ac_t""no" 1>&6
6777 echo $ac_n "checking for --enable-progressdlg""... $ac_c" 1>&6
6778 echo "configure:6779: checking for --enable-progressdlg" >&5
6780 # Check whether --enable-progressdlg or --disable-progressdlg was given.
6781 if test "${enable_progressdlg+set}" = set; then
6782 enableval
="$enable_progressdlg"
6784 if test "$enableval" = yes; then
6785 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
6787 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
6792 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
6793 if test "x$LINE" != x
; then
6794 eval "DEFAULT_$LINE"
6799 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
6804 eval "$ac_cv_use_progressdlg"
6805 if test "$no_cache" != 1; then
6806 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
6809 if test "$wxUSE_PROGRESSDLG" = yes; then
6810 echo "$ac_t""yes" 1>&6
6812 echo "$ac_t""no" 1>&6
6816 echo $ac_n "checking for --enable-wizarddlg""... $ac_c" 1>&6
6817 echo "configure:6818: checking for --enable-wizarddlg" >&5
6819 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
6820 if test "${enable_wizarddlg+set}" = set; then
6821 enableval
="$enable_wizarddlg"
6823 if test "$enableval" = yes; then
6824 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
6826 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
6831 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
6832 if test "x$LINE" != x
; then
6833 eval "DEFAULT_$LINE"
6838 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
6843 eval "$ac_cv_use_wizarddlg"
6844 if test "$no_cache" != 1; then
6845 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
6848 if test "$wxUSE_WIZARDDLG" = yes; then
6849 echo "$ac_t""yes" 1>&6
6851 echo "$ac_t""no" 1>&6
6857 echo $ac_n "checking for --enable-menus""... $ac_c" 1>&6
6858 echo "configure:6859: checking for --enable-menus" >&5
6860 # Check whether --enable-menus or --disable-menus was given.
6861 if test "${enable_menus+set}" = set; then
6862 enableval
="$enable_menus"
6864 if test "$enableval" = yes; then
6865 ac_cv_use_menus
='wxUSE_MENUS=yes'
6867 ac_cv_use_menus
='wxUSE_MENUS=no'
6872 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
6873 if test "x$LINE" != x
; then
6874 eval "DEFAULT_$LINE"
6879 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
6884 eval "$ac_cv_use_menus"
6885 if test "$no_cache" != 1; then
6886 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
6889 if test "$wxUSE_MENUS" = yes; then
6890 echo "$ac_t""yes" 1>&6
6892 echo "$ac_t""no" 1>&6
6896 echo $ac_n "checking for --enable-miniframe""... $ac_c" 1>&6
6897 echo "configure:6898: checking for --enable-miniframe" >&5
6899 # Check whether --enable-miniframe or --disable-miniframe was given.
6900 if test "${enable_miniframe+set}" = set; then
6901 enableval
="$enable_miniframe"
6903 if test "$enableval" = yes; then
6904 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
6906 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
6911 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
6912 if test "x$LINE" != x
; then
6913 eval "DEFAULT_$LINE"
6918 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
6923 eval "$ac_cv_use_miniframe"
6924 if test "$no_cache" != 1; then
6925 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
6928 if test "$wxUSE_MINIFRAME" = yes; then
6929 echo "$ac_t""yes" 1>&6
6931 echo "$ac_t""no" 1>&6
6935 echo $ac_n "checking for --enable-tooltips""... $ac_c" 1>&6
6936 echo "configure:6937: checking for --enable-tooltips" >&5
6938 # Check whether --enable-tooltips or --disable-tooltips was given.
6939 if test "${enable_tooltips+set}" = set; then
6940 enableval
="$enable_tooltips"
6942 if test "$enableval" = yes; then
6943 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
6945 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
6950 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
6951 if test "x$LINE" != x
; then
6952 eval "DEFAULT_$LINE"
6957 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
6962 eval "$ac_cv_use_tooltips"
6963 if test "$no_cache" != 1; then
6964 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
6967 if test "$wxUSE_TOOLTIPS" = yes; then
6968 echo "$ac_t""yes" 1>&6
6970 echo "$ac_t""no" 1>&6
6974 echo $ac_n "checking for --enable-splines""... $ac_c" 1>&6
6975 echo "configure:6976: checking for --enable-splines" >&5
6977 # Check whether --enable-splines or --disable-splines was given.
6978 if test "${enable_splines+set}" = set; then
6979 enableval
="$enable_splines"
6981 if test "$enableval" = yes; then
6982 ac_cv_use_splines
='wxUSE_SPLINES=yes'
6984 ac_cv_use_splines
='wxUSE_SPLINES=no'
6989 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
6990 if test "x$LINE" != x
; then
6991 eval "DEFAULT_$LINE"
6996 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
7001 eval "$ac_cv_use_splines"
7002 if test "$no_cache" != 1; then
7003 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
7006 if test "$wxUSE_SPLINES" = yes; then
7007 echo "$ac_t""yes" 1>&6
7009 echo "$ac_t""no" 1>&6
7013 echo $ac_n "checking for --enable-validators""... $ac_c" 1>&6
7014 echo "configure:7015: checking for --enable-validators" >&5
7016 # Check whether --enable-validators or --disable-validators was given.
7017 if test "${enable_validators+set}" = set; then
7018 enableval
="$enable_validators"
7020 if test "$enableval" = yes; then
7021 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
7023 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
7028 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
7029 if test "x$LINE" != x
; then
7030 eval "DEFAULT_$LINE"
7035 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
7040 eval "$ac_cv_use_validators"
7041 if test "$no_cache" != 1; then
7042 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
7045 if test "$wxUSE_VALIDATORS" = yes; then
7046 echo "$ac_t""yes" 1>&6
7048 echo "$ac_t""no" 1>&6
7052 echo $ac_n "checking for --enable-busyinfo""... $ac_c" 1>&6
7053 echo "configure:7054: checking for --enable-busyinfo" >&5
7055 # Check whether --enable-busyinfo or --disable-busyinfo was given.
7056 if test "${enable_busyinfo+set}" = set; then
7057 enableval
="$enable_busyinfo"
7059 if test "$enableval" = yes; then
7060 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
7062 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
7067 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
7068 if test "x$LINE" != x
; then
7069 eval "DEFAULT_$LINE"
7074 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
7079 eval "$ac_cv_use_busyinfo"
7080 if test "$no_cache" != 1; then
7081 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
7084 if test "$wxUSE_BUSYINFO" = yes; then
7085 echo "$ac_t""yes" 1>&6
7087 echo "$ac_t""no" 1>&6
7091 echo $ac_n "checking for --enable-joystick""... $ac_c" 1>&6
7092 echo "configure:7093: checking for --enable-joystick" >&5
7094 # Check whether --enable-joystick or --disable-joystick was given.
7095 if test "${enable_joystick+set}" = set; then
7096 enableval
="$enable_joystick"
7098 if test "$enableval" = yes; then
7099 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
7101 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
7106 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
7107 if test "x$LINE" != x
; then
7108 eval "DEFAULT_$LINE"
7113 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
7118 eval "$ac_cv_use_joystick"
7119 if test "$no_cache" != 1; then
7120 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
7123 if test "$wxUSE_JOYSTICK" = yes; then
7124 echo "$ac_t""yes" 1>&6
7126 echo "$ac_t""no" 1>&6
7130 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
7131 echo "configure:7132: checking for --enable-metafile" >&5
7133 # Check whether --enable-metafile or --disable-metafile was given.
7134 if test "${enable_metafile+set}" = set; then
7135 enableval
="$enable_metafile"
7137 if test "$enableval" = yes; then
7138 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
7140 ac_cv_use_metafile
='wxUSE_METAFILE=no'
7145 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7146 if test "x$LINE" != x
; then
7147 eval "DEFAULT_$LINE"
7152 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7157 eval "$ac_cv_use_metafile"
7158 if test "$no_cache" != 1; then
7159 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7162 if test "$wxUSE_METAFILE" = yes; then
7163 echo "$ac_t""yes" 1>&6
7165 echo "$ac_t""no" 1>&6
7169 echo $ac_n "checking for --enable-dragimage""... $ac_c" 1>&6
7170 echo "configure:7171: checking for --enable-dragimage" >&5
7172 # Check whether --enable-dragimage or --disable-dragimage was given.
7173 if test "${enable_dragimage+set}" = set; then
7174 enableval
="$enable_dragimage"
7176 if test "$enableval" = yes; then
7177 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
7179 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
7184 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
7185 if test "x$LINE" != x
; then
7186 eval "DEFAULT_$LINE"
7191 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
7196 eval "$ac_cv_use_dragimage"
7197 if test "$no_cache" != 1; then
7198 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
7201 if test "$wxUSE_DRAGIMAGE" = yes; then
7202 echo "$ac_t""yes" 1>&6
7204 echo "$ac_t""no" 1>&6
7210 echo $ac_n "checking for --enable-image""... $ac_c" 1>&6
7211 echo "configure:7212: checking for --enable-image" >&5
7213 # Check whether --enable-image or --disable-image was given.
7214 if test "${enable_image+set}" = set; then
7215 enableval
="$enable_image"
7217 if test "$enableval" = yes; then
7218 ac_cv_use_image
='wxUSE_IMAGE=yes'
7220 ac_cv_use_image
='wxUSE_IMAGE=no'
7225 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
7226 if test "x$LINE" != x
; then
7227 eval "DEFAULT_$LINE"
7232 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
7237 eval "$ac_cv_use_image"
7238 if test "$no_cache" != 1; then
7239 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
7242 if test "$wxUSE_IMAGE" = yes; then
7243 echo "$ac_t""yes" 1>&6
7245 echo "$ac_t""no" 1>&6
7249 echo $ac_n "checking for --enable-gif""... $ac_c" 1>&6
7250 echo "configure:7251: checking for --enable-gif" >&5
7252 # Check whether --enable-gif or --disable-gif was given.
7253 if test "${enable_gif+set}" = set; then
7254 enableval
="$enable_gif"
7256 if test "$enableval" = yes; then
7257 ac_cv_use_gif
='wxUSE_GIF=yes'
7259 ac_cv_use_gif
='wxUSE_GIF=no'
7264 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
7265 if test "x$LINE" != x
; then
7266 eval "DEFAULT_$LINE"
7271 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
7276 eval "$ac_cv_use_gif"
7277 if test "$no_cache" != 1; then
7278 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
7281 if test "$wxUSE_GIF" = yes; then
7282 echo "$ac_t""yes" 1>&6
7284 echo "$ac_t""no" 1>&6
7288 echo $ac_n "checking for --enable-pcx""... $ac_c" 1>&6
7289 echo "configure:7290: checking for --enable-pcx" >&5
7291 # Check whether --enable-pcx or --disable-pcx was given.
7292 if test "${enable_pcx+set}" = set; then
7293 enableval
="$enable_pcx"
7295 if test "$enableval" = yes; then
7296 ac_cv_use_pcx
='wxUSE_PCX=yes'
7298 ac_cv_use_pcx
='wxUSE_PCX=no'
7303 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
7304 if test "x$LINE" != x
; then
7305 eval "DEFAULT_$LINE"
7310 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
7315 eval "$ac_cv_use_pcx"
7316 if test "$no_cache" != 1; then
7317 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
7320 if test "$wxUSE_PCX" = yes; then
7321 echo "$ac_t""yes" 1>&6
7323 echo "$ac_t""no" 1>&6
7327 echo $ac_n "checking for --enable-pnm""... $ac_c" 1>&6
7328 echo "configure:7329: checking for --enable-pnm" >&5
7330 # Check whether --enable-pnm or --disable-pnm was given.
7331 if test "${enable_pnm+set}" = set; then
7332 enableval
="$enable_pnm"
7334 if test "$enableval" = yes; then
7335 ac_cv_use_pnm
='wxUSE_PNM=yes'
7337 ac_cv_use_pnm
='wxUSE_PNM=no'
7342 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
7343 if test "x$LINE" != x
; then
7344 eval "DEFAULT_$LINE"
7349 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
7354 eval "$ac_cv_use_pnm"
7355 if test "$no_cache" != 1; then
7356 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
7359 if test "$wxUSE_PNM" = yes; then
7360 echo "$ac_t""yes" 1>&6
7362 echo "$ac_t""no" 1>&6
7366 echo $ac_n "checking for --enable-pnm""... $ac_c" 1>&6
7367 echo "configure:7368: checking for --enable-pnm" >&5
7369 # Check whether --enable-pnm or --disable-pnm was given.
7370 if test "${enable_pnm+set}" = set; then
7371 enableval
="$enable_pnm"
7373 if test "$enableval" = yes; then
7374 ac_cv_use_pnm
='wxUSE_XPM=yes'
7376 ac_cv_use_pnm
='wxUSE_XPM=no'
7381 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
7382 if test "x$LINE" != x
; then
7383 eval "DEFAULT_$LINE"
7388 ac_cv_use_pnm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
7393 eval "$ac_cv_use_pnm"
7394 if test "$no_cache" != 1; then
7395 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
7398 if test "$wxUSE_XPM" = yes; then
7399 echo "$ac_t""yes" 1>&6
7401 echo "$ac_t""no" 1>&6
7408 echo "saving argument cache $wx_arg_cache_file"
7409 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
7413 echo $ac_n "checking for toolkit""... $ac_c" 1>&6
7414 echo "configure:7415: checking for toolkit" >&5
7416 if test "$wxUSE_GUI" = "yes"; then
7418 if test "$USE_BEOS" = 1; then
7419 { echo "configure: error: BeOS GUI is not supported yet, use --disable-gui" 1>&2; exit 1; }
7422 if test "$TOOLKIT_GIVEN" = 1; then
7423 for toolkit
in `echo $ALL_TOOLKITS`; do
7425 eval "value=\$${var}"
7426 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
7429 for toolkit
in `echo $ALL_TOOLKITS`; do
7430 if test "$has_toolkit_in_cache" != 1; then
7431 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
7433 var
=DEFAULT_wxUSE_
$toolkit
7435 eval "wxUSE_$toolkit=\$${var}"
7439 NUM_TOOLKITS
=`expr ${wxUSE_GTK:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MAC:-0} + ${wxUSE_WINE:-0} + ${wxUSE_MINGW:-0} + ${wxUSE_CYGWIN:-0} + ${wxUSE_MGL:-0}`
7443 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
7444 # PATH_IFS is autodetected by OS/2's configure (usually ';')
7453 case "$NUM_TOOLKITS" in
7457 { echo "configure: error: Please specify a toolkit - cannot determine the default for ${host}" 1>&2; exit 1; }
7460 { echo "configure: error: Please specify at most one toolkit (may be some are cached?)" 1>&2; exit 1; }
7463 for toolkit
in `echo $ALL_TOOLKITS`; do
7465 eval "value=\$${var}"
7466 if test "x$value" != x
; then
7467 cache_var
=CACHE_
$toolkit
7468 eval "cache=\$${cache_var}"
7469 if test "$cache" = 1; then
7470 echo "$var=$value" >> ${wx_arg_cache_file}
7472 if test "$value" = 1; then
7473 toolkit_echo
=`echo $toolkit | tr [A-Z] [a-z]`
7474 echo "$ac_t""$toolkit_echo" 1>&6
7481 echo "$ac_t""base only" 1>&6
7485 cat > confcache
<<\EOF
7486 # This file is a shell script that caches the results of configure
7487 # tests run on this system so they can be shared between configure
7488 # scripts and configure runs. It is not useful on other systems.
7489 # If it contains results you don't want to keep, you may remove or edit it.
7491 # By default, configure uses ./config.cache as the cache file,
7492 # creating it if it does not exist already. You can give configure
7493 # the --cache-file=FILE option to use a different cache file; that is
7494 # what configure does when it calls configure scripts in
7495 # subdirectories, so they share the cache.
7496 # Giving --cache-file=/dev/null disables caching, for debugging configure.
7497 # config.status only pays attention to the cache file if you give it the
7498 # --recheck option to rerun configure.
7501 # The following way of writing the cache mishandles newlines in values,
7502 # but we know of no workaround that is simple, portable, and efficient.
7503 # So, don't put newlines in cache variables' values.
7504 # Ultrix sh set writes to stderr and can't be redirected directly,
7505 # and sets the high bit in the cache file unless we assign to the vars.
7507 case `(ac_space=' '; set | grep ac_space) 2>&1` in
7509 # `set' does not quote correctly, so add quotes (double-quote substitution
7510 # turns \\\\ into \\, and sed turns \\ into \).
7512 -e "s/'/'\\\\''/g" \
7513 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
7516 # `set' quotes correctly as required by POSIX, so do not add quotes.
7517 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
7520 if cmp -s $cache_file confcache
; then
7523 if test -w $cache_file; then
7524 echo "updating cache $cache_file"
7525 cat confcache
> $cache_file
7527 echo "not updating unwritable cache $cache_file"
7533 if test "$build" != "$host" ; then
7537 RANLIB
=$host_alias-ranlib
7538 DLLTOOL
=$host_alias-dlltool
7539 RESCOMP
=$host_alias-windres
7542 STRIP
=$host_alias-strip
7545 # Extract the first word of "gcc", so it can be a program name with args.
7546 set dummy gcc
; ac_word
=$2
7547 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7548 echo "configure:7549: checking for $ac_word" >&5
7549 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
7550 echo $ac_n "(cached) $ac_c" 1>&6
7552 if test -n "$CC"; then
7553 ac_cv_prog_CC
="$CC" # Let the user override the test.
7555 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7557 for ac_dir
in $ac_dummy; do
7558 test -z "$ac_dir" && ac_dir
=.
7559 if test -f $ac_dir/$ac_word; then
7568 if test -n "$CC"; then
7569 echo "$ac_t""$CC" 1>&6
7571 echo "$ac_t""no" 1>&6
7574 if test -z "$CC"; then
7575 # Extract the first word of "cc", so it can be a program name with args.
7576 set dummy cc
; ac_word
=$2
7577 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7578 echo "configure:7579: checking for $ac_word" >&5
7579 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
7580 echo $ac_n "(cached) $ac_c" 1>&6
7582 if test -n "$CC"; then
7583 ac_cv_prog_CC
="$CC" # Let the user override the test.
7585 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7588 for ac_dir
in $ac_dummy; do
7589 test -z "$ac_dir" && ac_dir
=.
7590 if test -f $ac_dir/$ac_word; then
7591 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
7592 ac_prog_rejected
=yes
7600 if test $ac_prog_rejected = yes; then
7601 # We found a bogon in the path, so make sure we never use it.
7602 set dummy
$ac_cv_prog_CC
7604 if test $# -gt 0; then
7605 # We chose a different compiler from the bogus one.
7606 # However, it has the same basename, so the bogon will be chosen
7607 # first if we set CC to just the basename; use the full file name.
7609 set dummy
"$ac_dir/$ac_word" "$@"
7617 if test -n "$CC"; then
7618 echo "$ac_t""$CC" 1>&6
7620 echo "$ac_t""no" 1>&6
7623 if test -z "$CC"; then
7624 case "`uname -s`" in
7626 # Extract the first word of "cl", so it can be a program name with args.
7627 set dummy cl
; ac_word
=$2
7628 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7629 echo "configure:7630: checking for $ac_word" >&5
7630 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
7631 echo $ac_n "(cached) $ac_c" 1>&6
7633 if test -n "$CC"; then
7634 ac_cv_prog_CC
="$CC" # Let the user override the test.
7636 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7638 for ac_dir
in $ac_dummy; do
7639 test -z "$ac_dir" && ac_dir
=.
7640 if test -f $ac_dir/$ac_word; then
7649 if test -n "$CC"; then
7650 echo "$ac_t""$CC" 1>&6
7652 echo "$ac_t""no" 1>&6
7657 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
7660 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
7661 echo "configure:7662: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
7664 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7665 ac_cpp
='$CPP $CPPFLAGS'
7666 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7667 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7668 cross_compiling
=$ac_cv_prog_cc_cross
7670 cat > conftest.
$ac_ext << EOF
7672 #line 7673 "configure"
7673 #include "confdefs.h"
7677 if { (eval echo configure
:7678: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7678 ac_cv_prog_cc_works
=yes
7679 # If we can't run a trivial program, we are probably using a cross compiler.
7680 if (.
/conftest
; exit) 2>/dev
/null
; then
7681 ac_cv_prog_cc_cross
=no
7683 ac_cv_prog_cc_cross
=yes
7686 echo "configure: failed program was:" >&5
7687 cat conftest.
$ac_ext >&5
7688 ac_cv_prog_cc_works
=no
7692 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7693 ac_cpp
='$CPP $CPPFLAGS'
7694 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7695 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7696 cross_compiling
=$ac_cv_prog_cc_cross
7698 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
7699 if test $ac_cv_prog_cc_works = no
; then
7700 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
7702 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
7703 echo "configure:7704: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
7704 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
7705 cross_compiling
=$ac_cv_prog_cc_cross
7707 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
7708 echo "configure:7709: checking whether we are using GNU C" >&5
7709 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
7710 echo $ac_n "(cached) $ac_c" 1>&6
7712 cat > conftest.c
<<EOF
7717 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:7718: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
7724 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
7726 if test $ac_cv_prog_gcc = yes; then
7732 ac_test_CFLAGS
="${CFLAGS+set}"
7733 ac_save_CFLAGS
="$CFLAGS"
7735 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
7736 echo "configure:7737: checking whether ${CC-cc} accepts -g" >&5
7737 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
7738 echo $ac_n "(cached) $ac_c" 1>&6
7740 echo 'void f(){}' > conftest.c
7741 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
7750 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
7751 if test "$ac_test_CFLAGS" = set; then
7752 CFLAGS
="$ac_save_CFLAGS"
7753 elif test $ac_cv_prog_cc_g = yes; then
7754 if test "$GCC" = yes; then
7760 if test "$GCC" = yes; then
7768 CFLAGS
=`echo "$CFLAGS" | sed 's/-g//g'`
7770 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
7771 echo "configure:7772: checking how to run the C preprocessor" >&5
7772 # On Suns, sometimes $CPP names a directory.
7773 if test -n "$CPP" && test -d "$CPP"; then
7776 if test -z "$CPP"; then
7777 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
7778 echo $ac_n "(cached) $ac_c" 1>&6
7780 # This must be in double quotes, not single quotes, because CPP may get
7781 # substituted into the Makefile and "${CC-cc}" will confuse make.
7783 # On the NeXT, cc -E runs the code through the compiler's parser,
7784 # not just through cpp.
7785 cat > conftest.
$ac_ext <<EOF
7786 #line 7787 "configure"
7787 #include "confdefs.h"
7791 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7792 { (eval echo configure
:7793: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7793 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7794 if test -z "$ac_err"; then
7798 echo "configure: failed program was:" >&5
7799 cat conftest.
$ac_ext >&5
7801 CPP
="${CC-cc} -E -traditional-cpp"
7802 cat > conftest.
$ac_ext <<EOF
7803 #line 7804 "configure"
7804 #include "confdefs.h"
7808 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7809 { (eval echo configure
:7810: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7810 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7811 if test -z "$ac_err"; then
7815 echo "configure: failed program was:" >&5
7816 cat conftest.
$ac_ext >&5
7818 CPP
="${CC-cc} -nologo -E"
7819 cat > conftest.
$ac_ext <<EOF
7820 #line 7821 "configure"
7821 #include "confdefs.h"
7825 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7826 { (eval echo configure
:7827: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7827 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7828 if test -z "$ac_err"; then
7832 echo "configure: failed program was:" >&5
7833 cat conftest.
$ac_ext >&5
7842 ac_cv_prog_CPP
="$CPP"
7844 CPP
="$ac_cv_prog_CPP"
7846 ac_cv_prog_CPP
="$CPP"
7848 echo "$ac_t""$CPP" 1>&6
7851 if test $ac_cv_prog_gcc = yes; then
7852 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
7853 echo "configure:7854: checking whether ${CC-cc} needs -traditional" >&5
7854 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
7855 echo $ac_n "(cached) $ac_c" 1>&6
7857 ac_pattern
="Autoconf.*'x'"
7858 cat > conftest.
$ac_ext <<EOF
7859 #line 7860 "configure"
7860 #include "confdefs.h"
7864 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7865 egrep "$ac_pattern" >/dev
/null
2>&1; then
7867 ac_cv_prog_gcc_traditional
=yes
7870 ac_cv_prog_gcc_traditional
=no
7875 if test $ac_cv_prog_gcc_traditional = no
; then
7876 cat > conftest.
$ac_ext <<EOF
7877 #line 7878 "configure"
7878 #include "confdefs.h"
7882 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7883 egrep "$ac_pattern" >/dev
/null
2>&1; then
7885 ac_cv_prog_gcc_traditional
=yes
7892 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
7893 if test $ac_cv_prog_gcc_traditional = yes; then
7894 CC
="$CC -traditional"
7901 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7902 ac_cpp
='$CXXCPP $CPPFLAGS'
7903 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7904 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7905 cross_compiling
=$ac_cv_prog_cxx_cross
7908 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++ cl
7910 # Extract the first word of "$ac_prog", so it can be a program name with args.
7911 set dummy
$ac_prog; ac_word
=$2
7912 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7913 echo "configure:7914: checking for $ac_word" >&5
7914 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
7915 echo $ac_n "(cached) $ac_c" 1>&6
7917 if test -n "$CXX"; then
7918 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
7920 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7922 for ac_dir
in $ac_dummy; do
7923 test -z "$ac_dir" && ac_dir
=.
7924 if test -f $ac_dir/$ac_word; then
7925 ac_cv_prog_CXX
="$ac_prog"
7932 CXX
="$ac_cv_prog_CXX"
7933 if test -n "$CXX"; then
7934 echo "$ac_t""$CXX" 1>&6
7936 echo "$ac_t""no" 1>&6
7939 test -n "$CXX" && break
7941 test -n "$CXX" || CXX
="gcc"
7944 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
7945 echo "configure:7946: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
7948 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7949 ac_cpp
='$CXXCPP $CPPFLAGS'
7950 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7951 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7952 cross_compiling
=$ac_cv_prog_cxx_cross
7954 cat > conftest.
$ac_ext << EOF
7956 #line 7957 "configure"
7957 #include "confdefs.h"
7959 int main(){return(0);}
7961 if { (eval echo configure
:7962: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7962 ac_cv_prog_cxx_works
=yes
7963 # If we can't run a trivial program, we are probably using a cross compiler.
7964 if (.
/conftest
; exit) 2>/dev
/null
; then
7965 ac_cv_prog_cxx_cross
=no
7967 ac_cv_prog_cxx_cross
=yes
7970 echo "configure: failed program was:" >&5
7971 cat conftest.
$ac_ext >&5
7972 ac_cv_prog_cxx_works
=no
7976 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7977 ac_cpp
='$CXXCPP $CPPFLAGS'
7978 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7979 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7980 cross_compiling
=$ac_cv_prog_cxx_cross
7982 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
7983 if test $ac_cv_prog_cxx_works = no
; then
7984 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
7986 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
7987 echo "configure:7988: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
7988 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
7989 cross_compiling
=$ac_cv_prog_cxx_cross
7991 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
7992 echo "configure:7993: checking whether we are using GNU C++" >&5
7993 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
7994 echo $ac_n "(cached) $ac_c" 1>&6
7996 cat > conftest.C
<<EOF
8001 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:8002: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
8008 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
8010 if test $ac_cv_prog_gxx = yes; then
8016 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
8017 ac_save_CXXFLAGS
="$CXXFLAGS"
8019 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
8020 echo "configure:8021: checking whether ${CXX-g++} accepts -g" >&5
8021 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
8022 echo $ac_n "(cached) $ac_c" 1>&6
8024 echo 'void f(){}' > conftest.cc
8025 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
8026 ac_cv_prog_cxx_g
=yes
8034 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
8035 if test "$ac_test_CXXFLAGS" = set; then
8036 CXXFLAGS
="$ac_save_CXXFLAGS"
8037 elif test $ac_cv_prog_cxx_g = yes; then
8038 if test "$GXX" = yes; then
8044 if test "$GXX" = yes; then
8052 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
8053 echo "configure:8054: checking how to run the C++ preprocessor" >&5
8054 if test -z "$CXXCPP"; then
8055 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
8056 echo $ac_n "(cached) $ac_c" 1>&6
8059 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8060 ac_cpp
='$CXXCPP $CPPFLAGS'
8061 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8062 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8063 cross_compiling
=$ac_cv_prog_cxx_cross
8064 CXXCPP
="${CXX-g++} -E"
8065 cat > conftest.
$ac_ext <<EOF
8066 #line 8067 "configure"
8067 #include "confdefs.h"
8070 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8071 { (eval echo configure
:8072: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8072 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8073 if test -z "$ac_err"; then
8077 echo "configure: failed program was:" >&5
8078 cat conftest.
$ac_ext >&5
8083 ac_cv_prog_CXXCPP
="$CXXCPP"
8085 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8086 ac_cpp
='$CXXCPP $CPPFLAGS'
8087 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8088 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8089 cross_compiling
=$ac_cv_prog_cxx_cross
8092 CXXCPP
="$ac_cv_prog_CXXCPP"
8093 echo "$ac_t""$CXXCPP" 1>&6
8096 CXXFLAGS
=`echo "$CXXFLAGS" | sed 's/-g//g'`
8099 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8100 ac_cpp
='$CPP $CPPFLAGS'
8101 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8102 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8103 cross_compiling
=$ac_cv_prog_cc_cross
8106 # Extract the first word of "ranlib", so it can be a program name with args.
8107 set dummy ranlib
; ac_word
=$2
8108 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8109 echo "configure:8110: checking for $ac_word" >&5
8110 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
8111 echo $ac_n "(cached) $ac_c" 1>&6
8113 if test -n "$RANLIB"; then
8114 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
8116 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8118 for ac_dir
in $ac_dummy; do
8119 test -z "$ac_dir" && ac_dir
=.
8120 if test -f $ac_dir/$ac_word; then
8121 ac_cv_prog_RANLIB
="ranlib"
8126 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
8129 RANLIB
="$ac_cv_prog_RANLIB"
8130 if test -n "$RANLIB"; then
8131 echo "$ac_t""$RANLIB" 1>&6
8133 echo "$ac_t""no" 1>&6
8137 # Extract the first word of "ar", so it can be a program name with args.
8138 set dummy
ar; ac_word
=$2
8139 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8140 echo "configure:8141: checking for $ac_word" >&5
8141 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
8142 echo $ac_n "(cached) $ac_c" 1>&6
8144 if test -n "$AR"; then
8145 ac_cv_prog_AR
="$AR" # Let the user override the test.
8147 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8149 for ac_dir
in $ac_dummy; do
8150 test -z "$ac_dir" && ac_dir
=.
8151 if test -f $ac_dir/$ac_word; then
8157 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
8161 if test -n "$AR"; then
8162 echo "$ac_t""$AR" 1>&6
8164 echo "$ac_t""no" 1>&6
8168 # Find a good install program. We prefer a C program (faster),
8169 # so one script is as good as another. But avoid the broken or
8170 # incompatible versions:
8171 # SysV /etc/install, /usr/sbin/install
8172 # SunOS /usr/etc/install
8173 # IRIX /sbin/install
8175 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
8176 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
8177 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
8178 # ./install, which can be erroneously created by make from ./install.sh.
8179 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
8180 echo "configure:8181: checking for a BSD compatible install" >&5
8181 if test -z "$INSTALL"; then
8182 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
8183 echo $ac_n "(cached) $ac_c" 1>&6
8185 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
8186 for ac_dir
in $PATH; do
8187 # Account for people who put trailing slashes in PATH elements.
8189 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
8191 # OSF1 and SCO ODT 3.0 have their own names for install.
8192 # Don't use installbsd from OSF since it installs stuff as root
8194 for ac_prog
in ginstall scoinst
install; do
8195 if test -f $ac_dir/$ac_prog; then
8196 if test $ac_prog = install &&
8197 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
8198 # AIX install. It has an incompatible calling convention.
8201 ac_cv_path_install
="$ac_dir/$ac_prog -c"
8212 if test "${ac_cv_path_install+set}" = set; then
8213 INSTALL
="$ac_cv_path_install"
8215 # As a last resort, use the slow shell script. We don't cache a
8216 # path for INSTALL within a source directory, because that will
8217 # break other packages using the cache if that directory is
8218 # removed, or if the path is relative.
8219 INSTALL
="$ac_install_sh"
8222 echo "$ac_t""$INSTALL" 1>&6
8224 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
8225 # It thinks the first close brace ends the variable substitution.
8226 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
8228 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
8230 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
8233 # Extract the first word of "strip", so it can be a program name with args.
8234 set dummy strip
; ac_word
=$2
8235 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8236 echo "configure:8237: checking for $ac_word" >&5
8237 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
8238 echo $ac_n "(cached) $ac_c" 1>&6
8240 if test -n "$STRIP"; then
8241 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
8243 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8245 for ac_dir
in $ac_dummy; do
8246 test -z "$ac_dir" && ac_dir
=.
8247 if test -f $ac_dir/$ac_word; then
8248 ac_cv_prog_STRIP
="strip"
8253 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
8256 STRIP
="$ac_cv_prog_STRIP"
8257 if test -n "$STRIP"; then
8258 echo "$ac_t""$STRIP" 1>&6
8260 echo "$ac_t""no" 1>&6
8264 echo $ac_n "checking make for VPATH support""... $ac_c" 1>&6
8265 echo "configure:8266: checking make for VPATH support" >&5
8266 cat - << EOF > confMake
8272 if test ! -d sub
; then
8275 echo dummy
> sub
/file
8276 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
8278 rm -f sub
/file check final_file confMake
8280 if test "$RESULT" = 0; then
8281 echo "$ac_t""yes" 1>&6
8283 echo "$ac_t""no" 1>&6
8284 { echo "configure: error:
8285 You need a make-utility that is able to use the variable
8287 If your version of make does not support VPATH correctly,
8288 please install GNU-make (possibly as gmake), and start
8289 configure with the following command:
8290 export MAKE=gmake; ./configure for sh-type shells
8291 setenv MAKE gmake; ./configure for csh-type shells
8292 Also please do remember to use gmake in this case every time
8293 you are trying to compile.
8297 for ac_prog
in 'bison -y' byacc
8299 # Extract the first word of "$ac_prog", so it can be a program name with args.
8300 set dummy
$ac_prog; ac_word
=$2
8301 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8302 echo "configure:8303: checking for $ac_word" >&5
8303 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
8304 echo $ac_n "(cached) $ac_c" 1>&6
8306 if test -n "$YACC"; then
8307 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
8309 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8311 for ac_dir
in $ac_dummy; do
8312 test -z "$ac_dir" && ac_dir
=.
8313 if test -f $ac_dir/$ac_word; then
8314 ac_cv_prog_YACC
="$ac_prog"
8321 YACC
="$ac_cv_prog_YACC"
8322 if test -n "$YACC"; then
8323 echo "$ac_t""$YACC" 1>&6
8325 echo "$ac_t""no" 1>&6
8328 test -n "$YACC" && break
8330 test -n "$YACC" || YACC
="yacc"
8333 # Extract the first word of "flex", so it can be a program name with args.
8334 set dummy flex
; ac_word
=$2
8335 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8336 echo "configure:8337: checking for $ac_word" >&5
8337 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
8338 echo $ac_n "(cached) $ac_c" 1>&6
8340 if test -n "$LEX"; then
8341 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
8343 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8345 for ac_dir
in $ac_dummy; do
8346 test -z "$ac_dir" && ac_dir
=.
8347 if test -f $ac_dir/$ac_word; then
8348 ac_cv_prog_LEX
="flex"
8353 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
8356 LEX
="$ac_cv_prog_LEX"
8357 if test -n "$LEX"; then
8358 echo "$ac_t""$LEX" 1>&6
8360 echo "$ac_t""no" 1>&6
8363 if test -z "$LEXLIB"
8369 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
8370 echo "configure:8371: checking for yywrap in -l$ac_lib" >&5
8371 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
8372 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8373 echo $ac_n "(cached) $ac_c" 1>&6
8375 ac_save_LIBS
="$LIBS"
8376 LIBS
="-l$ac_lib $LIBS"
8377 cat > conftest.
$ac_ext <<EOF
8378 #line 8379 "configure"
8379 #include "confdefs.h"
8380 /* Override any gcc2 internal prototype to avoid an error. */
8381 /* We use char because int might match the return type of a gcc2
8382 builtin and then its argument prototype would still apply. */
8389 if { (eval echo configure
:8390: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8391 eval "ac_cv_lib_$ac_lib_var=yes"
8393 echo "configure: failed program was:" >&5
8394 cat conftest.
$ac_ext >&5
8396 eval "ac_cv_lib_$ac_lib_var=no"
8399 LIBS
="$ac_save_LIBS"
8402 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8403 echo "$ac_t""yes" 1>&6
8406 echo "$ac_t""no" 1>&6
8412 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
8413 echo "configure:8414: checking whether ln -s works" >&5
8414 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
8415 echo $ac_n "(cached) $ac_c" 1>&6
8418 if ln -s X conftestdata
2>/dev
/null
8421 ac_cv_prog_LN_S
="ln -s"
8426 LN_S
="$ac_cv_prog_LN_S"
8427 if test "$ac_cv_prog_LN_S" = "ln -s"; then
8428 echo "$ac_t""yes" 1>&6
8430 echo "$ac_t""no" 1>&6
8436 /usr/local/include \
8438 /usr/Motif-1.2/include \
8439 /usr/Motif-2.1/include \
8441 /usr/include/Motif1.2 \
8442 /opt/xpm/include/X11 \
8443 /opt/GBxpm/include/ \
8444 /opt/GBxpm/X11/include/ \
8446 /usr/Motif1.2/include \
8448 /usr/openwin/include \
8452 /usr/X11R6/include \
8453 /usr/X11R6.4/include \
8454 /usr/X11R5/include \
8455 /usr/X11R4/include \
8457 /usr/include/X11R6 \
8458 /usr/include/X11R5 \
8459 /usr/include/X11R4 \
8461 /usr/local/X11R6/include \
8462 /usr/local/X11R5/include \
8463 /usr/local/X11R4/include \
8465 /usr/local/include/X11R6 \
8466 /usr/local/include/X11R5 \
8467 /usr/local/include/X11R4 \
8471 /usr/local/X11/include \
8472 /usr/local/include/X11 \
8476 /usr/XFree86/include/X11 \
8478 X:/XFree86/include \
8479 X:/XFree86/include/X11 \
8482 /usr/local/include/gtk \
8484 /usr/local/include/glib \
8487 /usr/local/include/qt \
8489 /usr/include/windows \
8491 /usr/local/include/wine \
8493 /usr/unsupported/include \
8494 /usr/athena/include \
8495 /usr/local/x11r5/include \
8496 /usr/lpp/Xamples/include \
8498 /usr/openwin/share/include \
8502 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
8505 cat > confcache
<<\EOF
8506 # This file is a shell script that caches the results of configure
8507 # tests run on this system so they can be shared between configure
8508 # scripts and configure runs. It is not useful on other systems.
8509 # If it contains results you don't want to keep, you may remove or edit it.
8511 # By default, configure uses ./config.cache as the cache file,
8512 # creating it if it does not exist already. You can give configure
8513 # the --cache-file=FILE option to use a different cache file; that is
8514 # what configure does when it calls configure scripts in
8515 # subdirectories, so they share the cache.
8516 # Giving --cache-file=/dev/null disables caching, for debugging configure.
8517 # config.status only pays attention to the cache file if you give it the
8518 # --recheck option to rerun configure.
8521 # The following way of writing the cache mishandles newlines in values,
8522 # but we know of no workaround that is simple, portable, and efficient.
8523 # So, don't put newlines in cache variables' values.
8524 # Ultrix sh set writes to stderr and can't be redirected directly,
8525 # and sets the high bit in the cache file unless we assign to the vars.
8527 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8529 # `set' does not quote correctly, so add quotes (double-quote substitution
8530 # turns \\\\ into \\, and sed turns \\ into \).
8532 -e "s/'/'\\\\''/g" \
8533 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
8536 # `set' quotes correctly as required by POSIX, so do not add quotes.
8537 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
8540 if cmp -s $cache_file confcache
; then
8543 if test -w $cache_file; then
8544 echo "updating cache $cache_file"
8545 cat confcache
> $cache_file
8547 echo "not updating unwritable cache $cache_file"
8556 if test "$wxUSE_GUI" = "yes"; then
8571 if test "$wxUSE_CYGWIN" = 1 || test "$wxUSE_MINGW" = 1 ; then
8572 if test "$cross_compiling" = "yes" ; then
8573 echo "configure: warning: skipping windows.h check for cross-compilation" 1>&2
8575 echo $ac_n "checking for Windows headers""... $ac_c" 1>&6
8576 echo "configure:8577: checking for Windows headers" >&5
8579 for ac_dir
in $SEARCH_INCLUDE;
8581 if test -f "$ac_dir/windows.h"; then
8582 ac_find_includes
=$ac_dir
8587 if test "$ac_find_includes" != "" ; then
8588 echo "$ac_t""found $ac_find_includes" 1>&6
8589 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE -I$ac_find_includes"
8591 echo "$ac_t""no" 1>&6
8592 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
8596 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS msw"
8597 LIBS
="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -lcrtdll -ladvapi32 -lwsock32"
8599 if test "$wxUSE_ODBC" = "yes" ; then
8600 LIBS
="$LIBS -lodbc32 -lole32 -loleaut32"
8603 if test "$wxUSE_MINGW" = 1; then
8604 LDFLAGS
="$LDFLAGS -mwindows"
8610 RCINCSWITCH
="--include-dir"
8611 RCDEFSWITCH
="--define"
8612 RCPREPROCESSOR
="--preprocessor \"\$(CC) -c -E -xc-header -DRC_INVOKED\""
8615 RESFLAGS
="$RCPREPROCESSOR $RCINCSWITCH \$(top_srcdir)/include $RCINCSWITCH \$(top_srcdir)/\$(program_dir) $RCDEFSWITCH __WIN32__ $RCDEFSWITCH __WIN95__ $RCDEFSWITCH __GNUWIN32__"
8617 RESPROGRAM
="\$(RES_PROGRAM)"
8620 if test "$wxUSE_GTK" = 1; then
8621 echo $ac_n "checking for GTK+ version""... $ac_c" 1>&6
8622 echo "configure:8623: checking for GTK+ version" >&5
8624 gtk_version_cached
=1
8625 if eval "test \"`echo '$''{'wx_cv_lib_gtk'+set}'`\" = set"; then
8626 echo $ac_n "(cached) $ac_c" 1>&6
8629 gtk_version_cached
=0
8630 echo "$ac_t""""" 1>&6
8633 if test "x$wxUSE_GTK2" = "xyes"; then
8634 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
8635 if test "${with_gtk_prefix+set}" = set; then
8636 withval
="$with_gtk_prefix"
8637 gtk_config_prefix
="$withval"
8639 gtk_config_prefix
=""
8642 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
8643 if test "${with_gtk_exec_prefix+set}" = set; then
8644 withval
="$with_gtk_exec_prefix"
8645 gtk_config_exec_prefix
="$withval"
8647 gtk_config_exec_prefix
=""
8650 # Check whether --enable-gtktest or --disable-gtktest was given.
8651 if test "${enable_gtktest+set}" = set; then
8652 enableval
="$enable_gtktest"
8663 gtk_config_args
="$gtk_config_args gthread"
8668 if test x
$gtk_config_exec_prefix != x
; then
8669 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
8670 if test x
${GTK_CONFIG_2_0+set} != xset
; then
8671 GTK_CONFIG_2_0
=$gtk_config_exec_prefix/bin
/gtk
-config-2.0
8674 if test x
$gtk_config_prefix != x
; then
8675 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
8676 if test x
${GTK_CONFIG_2_0+set} != xset
; then
8677 GTK_CONFIG_2_0
=$gtk_config_prefix/bin
/gtk
-config-2.0
8681 # Extract the first word of "gtk-config-2.0", so it can be a program name with args.
8682 set dummy gtk
-config-2.0
; ac_word
=$2
8683 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8684 echo "configure:8685: checking for $ac_word" >&5
8685 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG_2_0'+set}'`\" = set"; then
8686 echo $ac_n "(cached) $ac_c" 1>&6
8688 case "$GTK_CONFIG_2_0" in
8690 ac_cv_path_GTK_CONFIG_2_0
="$GTK_CONFIG_2_0" # Let the user override the test with a path.
8693 ac_cv_path_GTK_CONFIG_2_0
="$GTK_CONFIG_2_0" # Let the user override the test with a dos path.
8696 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8698 for ac_dir
in $ac_dummy; do
8699 test -z "$ac_dir" && ac_dir
=.
8700 if test -f $ac_dir/$ac_word; then
8701 ac_cv_path_GTK_CONFIG_2_0
="$ac_dir/$ac_word"
8706 test -z "$ac_cv_path_GTK_CONFIG_2_0" && ac_cv_path_GTK_CONFIG_2_0
="no"
8710 GTK_CONFIG_2_0
="$ac_cv_path_GTK_CONFIG_2_0"
8711 if test -n "$GTK_CONFIG_2_0"; then
8712 echo "$ac_t""$GTK_CONFIG_2_0" 1>&6
8714 echo "$ac_t""no" 1>&6
8717 min_gtk_version
=1.3.1
8718 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
8719 echo "configure:8720: checking for GTK - version >= $min_gtk_version" >&5
8721 if test "$GTK_CONFIG_2_0" = "no" ; then
8724 GTK_CFLAGS
=`$GTK_CONFIG_2_0 $gtk_config_args --cflags`
8725 GTK_LIBS
=`$GTK_CONFIG_2_0 $gtk_config_args --libs`
8726 gtk_config_major_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
8727 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
8728 gtk_config_minor_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
8729 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
8730 gtk_config_micro_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
8731 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
8732 if test "x$enable_gtktest" = "xyes" ; then
8733 ac_save_CFLAGS
="$CFLAGS"
8734 ac_save_LIBS
="$LIBS"
8735 CFLAGS
="$CFLAGS $GTK_CFLAGS"
8736 LIBS
="$GTK_LIBS $LIBS"
8738 if test "$cross_compiling" = yes; then
8739 echo $ac_n "cross compiling; assumed OK... $ac_c"
8741 cat > conftest.
$ac_ext <<EOF
8742 #line 8743 "configure"
8743 #include "confdefs.h"
8745 #include <gtk/gtk.h>
8752 int major, minor, micro;
8755 system ("touch conf.gtktest");
8757 /* HP/UX 9 (%@#!) writes to sscanf strings */
8758 tmp_version = g_strdup("$min_gtk_version");
8759 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
8760 printf("%s, bad version string\n", "$min_gtk_version");
8764 if ((gtk_major_version != $gtk_config_major_version) ||
8765 (gtk_minor_version != $gtk_config_minor_version) ||
8766 (gtk_micro_version != $gtk_config_micro_version))
8768 printf("\n*** 'gtk-config-2.0 --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
8769 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
8770 gtk_major_version, gtk_minor_version, gtk_micro_version);
8771 printf ("*** was found! If gtk-config-2.0 was correct, then it is best\n");
8772 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
8773 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
8774 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
8775 printf("*** required on your system.\n");
8776 printf("*** If gtk-config-2.0 was wrong, set the environment variable GTK_CONFIG_2_0\n");
8777 printf("*** to point to the correct copy of gtk-config-2.0, and remove the file config.cache\n");
8778 printf("*** before re-running configure\n");
8780 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
8781 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
8782 (gtk_minor_version != GTK_MINOR_VERSION) ||
8783 (gtk_micro_version != GTK_MICRO_VERSION))
8785 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
8786 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
8787 printf("*** library (version %d.%d.%d)\n",
8788 gtk_major_version, gtk_minor_version, gtk_micro_version);
8790 #endif /* defined (GTK_MAJOR_VERSION) ... */
8793 if ((gtk_major_version > major) ||
8794 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
8795 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
8801 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
8802 gtk_major_version, gtk_minor_version, gtk_micro_version);
8803 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
8804 major, minor, micro);
8805 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
8807 printf("*** If you have already installed a sufficiently new version, this error\n");
8808 printf("*** probably means that the wrong copy of the gtk-config-2.0 shell script is\n");
8809 printf("*** being found. The easiest way to fix this is to remove the old version\n");
8810 printf("*** of GTK+, but you can also set the GTK_CONFIG_2_0 environment to point to the\n");
8811 printf("*** correct copy of gtk-config-2.0. (In this case, you will have to\n");
8812 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
8813 printf("*** so that the correct libraries are found at run-time))\n");
8820 if { (eval echo configure
:8821: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
8824 echo "configure: failed program was:" >&5
8825 cat conftest.
$ac_ext >&5
8832 CFLAGS
="$ac_save_CFLAGS"
8833 LIBS
="$ac_save_LIBS"
8836 if test "x$no_gtk" = x
; then
8837 echo "$ac_t""yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" 1>&6
8840 echo "$ac_t""no" 1>&6
8841 if test "$GTK_CONFIG_2_0" = "no" ; then
8842 echo "*** The gtk-config-2.0 script installed by GTK could not be found"
8843 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
8844 echo "*** your path, or set the GTK_CONFIG_2_0 environment variable to the"
8845 echo "*** full path to gtk-config-2.0."
8847 if test -f conf.gtktest
; then
8850 echo "*** Could not run GTK test program, checking why..."
8851 CFLAGS
="$CFLAGS $GTK_CFLAGS"
8852 LIBS
="$LIBS $GTK_LIBS"
8853 cat > conftest.
$ac_ext <<EOF
8854 #line 8855 "configure"
8855 #include "confdefs.h"
8857 #include <gtk/gtk.h>
8861 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
8864 if { (eval echo configure
:8865: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8866 echo "*** The test program compiled, but did not run. This usually means"
8867 echo "*** that the run-time linker is not finding GTK or finding the wrong"
8868 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
8869 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
8870 echo "*** to the installed location Also, make sure you have run ldconfig if that"
8871 echo "*** is required on your system"
8873 echo "*** If you have an old version installed, it is best to remove it, although"
8874 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
8876 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
8877 echo "*** came with the system with the command"
8879 echo "*** rpm --erase --nodeps gtk gtk-devel"
8881 echo "configure: failed program was:" >&5
8882 cat conftest.
$ac_ext >&5
8884 echo "*** The test program failed to compile or link. See the file config.log for the"
8885 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
8886 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
8887 echo "*** may want to edit the gtk-config-2.0 script: $GTK_CONFIG_2_0"
8890 CFLAGS
="$ac_save_CFLAGS"
8891 LIBS
="$ac_save_LIBS"
8904 if test -z "$wx_cv_lib_gtk"; then
8906 if test x
$gtk_config_exec_prefix != x
; then
8907 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
8908 if test x
${GTK_CONFIG+set} != xset
; then
8909 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
8912 if test x
$gtk_config_prefix != x
; then
8913 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
8914 if test x
${GTK_CONFIG+set} != xset
; then
8915 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
8919 # Extract the first word of "gtk-config", so it can be a program name with args.
8920 set dummy gtk
-config; ac_word
=$2
8921 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8922 echo "configure:8923: checking for $ac_word" >&5
8923 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
8924 echo $ac_n "(cached) $ac_c" 1>&6
8926 case "$GTK_CONFIG" in
8928 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
8931 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
8934 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8936 for ac_dir
in $ac_dummy; do
8937 test -z "$ac_dir" && ac_dir
=.
8938 if test -f $ac_dir/$ac_word; then
8939 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
8944 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
8948 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
8949 if test -n "$GTK_CONFIG"; then
8950 echo "$ac_t""$GTK_CONFIG" 1>&6
8952 echo "$ac_t""no" 1>&6
8955 min_gtk_version
=1.2.7
8956 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
8957 echo "configure:8958: checking for GTK - version >= $min_gtk_version" >&5
8959 if test "$GTK_CONFIG" != "no" ; then
8960 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
8961 GTK_LIBS
=`$GTK_CONFIG --libs gthread`
8962 ac_save_CFLAGS
="$CFLAGS"
8963 ac_save_LIBS
="$LIBS"
8964 CFLAGS
="$CFLAGS $GTK_CFLAGS"
8965 LIBS
="$LIBS $GTK_LIBS"
8966 if test "$cross_compiling" = yes; then
8967 echo $ac_n "cross compiling; assumed OK... $ac_c"
8969 cat > conftest.
$ac_ext <<EOF
8970 #line 8971 "configure"
8971 #include "confdefs.h"
8973 #include <gtk/gtk.h>
8974 #include <gtk/gtkfeatures.h>
8981 int major, minor, micro;
8983 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
8984 printf("%s, bad version string\n", "$min_gtk_version");
8988 if ((GTK_MAJOR_VERSION != gtk_major_version) ||
8989 (GTK_MINOR_VERSION != gtk_minor_version) ||
8990 (GTK_MICRO_VERSION != gtk_micro_version)) {
8991 printf("Headers vs. library version mismatch!\n");
8995 if (gtk_minor_version == 1) return FALSE;
8997 return !((gtk_major_version > major) ||
8998 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
8999 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
9003 if { (eval echo configure
:9004: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9007 echo "configure: failed program was:" >&5
9008 cat conftest.
$ac_ext >&5
9015 CFLAGS
="$ac_save_CFLAGS"
9016 LIBS
="$ac_save_LIBS"
9020 if test "x$no_gtk" = x
; then
9021 echo "$ac_t""yes" 1>&6
9024 echo "$ac_t""no" 1>&6
9034 if test -z "$wx_cv_lib_gtk"; then
9036 if test x
$gtk_config_exec_prefix != x
; then
9037 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
9038 if test x
${GTK_CONFIG+set} != xset
; then
9039 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
9042 if test x
$gtk_config_prefix != x
; then
9043 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
9044 if test x
${GTK_CONFIG+set} != xset
; then
9045 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
9049 # Extract the first word of "gtk-config", so it can be a program name with args.
9050 set dummy gtk
-config; ac_word
=$2
9051 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9052 echo "configure:9053: checking for $ac_word" >&5
9053 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
9054 echo $ac_n "(cached) $ac_c" 1>&6
9056 case "$GTK_CONFIG" in
9058 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
9061 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
9064 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9066 for ac_dir
in $ac_dummy; do
9067 test -z "$ac_dir" && ac_dir
=.
9068 if test -f $ac_dir/$ac_word; then
9069 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
9074 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
9078 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
9079 if test -n "$GTK_CONFIG"; then
9080 echo "$ac_t""$GTK_CONFIG" 1>&6
9082 echo "$ac_t""no" 1>&6
9085 min_gtk_version
=1.2.3
9086 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
9087 echo "configure:9088: checking for GTK - version >= $min_gtk_version" >&5
9089 if test "$GTK_CONFIG" != "no" ; then
9090 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
9091 GTK_LIBS
=`$GTK_CONFIG --libs gthread`
9092 ac_save_CFLAGS
="$CFLAGS"
9093 ac_save_LIBS
="$LIBS"
9094 CFLAGS
="$CFLAGS $GTK_CFLAGS"
9095 LIBS
="$LIBS $GTK_LIBS"
9096 if test "$cross_compiling" = yes; then
9097 echo $ac_n "cross compiling; assumed OK... $ac_c"
9099 cat > conftest.
$ac_ext <<EOF
9100 #line 9101 "configure"
9101 #include "confdefs.h"
9103 #include <gtk/gtk.h>
9104 #include <gtk/gtkfeatures.h>
9111 int major, minor, micro;
9113 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
9114 printf("%s, bad version string\n", "$min_gtk_version");
9118 if ((GTK_MAJOR_VERSION != gtk_major_version) ||
9119 (GTK_MINOR_VERSION != gtk_minor_version) ||
9120 (GTK_MICRO_VERSION != gtk_micro_version)) {
9121 printf("Headers vs. library version mismatch!\n");
9125 if (gtk_minor_version == 1) return FALSE;
9127 return !((gtk_major_version > major) ||
9128 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
9129 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
9133 if { (eval echo configure
:9134: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9137 echo "configure: failed program was:" >&5
9138 cat conftest.
$ac_ext >&5
9145 CFLAGS
="$ac_save_CFLAGS"
9146 LIBS
="$ac_save_LIBS"
9150 if test "x$no_gtk" = x
; then
9151 echo "$ac_t""yes" 1>&6
9154 echo "$ac_t""no" 1>&6
9164 if test -z "$wx_cv_lib_gtk"; then
9167 wx_cv_cflags_gtk
=$GTK_CFLAGS
9168 wx_cv_libs_gtk
=$GTK_LIBS
9175 if test "$gtk_version_cached" = 1; then
9176 echo "$ac_t""$wx_cv_lib_gtk" 1>&6
9179 case "$wx_cv_lib_gtk" in
9187 *) { echo "configure: error:
9188 Please check that gtk-config is in path, the directory
9189 where GTK+ libraries are installed (returned by
9190 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
9191 equivalent variable and GTK+ is version 1.2.3 or above.
9196 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
9197 GUI_TK_LIBRARY
="$wx_cv_libs_gtk"
9199 AFMINSTALL
=afminstall
9203 echo $ac_n "checking for gdk_im_open in -lgdk""... $ac_c" 1>&6
9204 echo "configure:9205: checking for gdk_im_open in -lgdk" >&5
9205 ac_lib_var
=`echo gdk'_'gdk_im_open | sed 'y%./+-%__p_%'`
9206 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9207 echo $ac_n "(cached) $ac_c" 1>&6
9209 ac_save_LIBS
="$LIBS"
9211 cat > conftest.
$ac_ext <<EOF
9212 #line 9213 "configure"
9213 #include "confdefs.h"
9214 /* Override any gcc2 internal prototype to avoid an error. */
9215 /* We use char because int might match the return type of a gcc2
9216 builtin and then its argument prototype would still apply. */
9223 if { (eval echo configure
:9224: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9225 eval "ac_cv_lib_$ac_lib_var=yes"
9227 echo "configure: failed program was:" >&5
9228 cat conftest.
$ac_ext >&5
9230 eval "ac_cv_lib_$ac_lib_var=no"
9233 LIBS
="$ac_save_LIBS"
9236 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9237 echo "$ac_t""yes" 1>&6
9238 cat >> confdefs.h
<<\EOF
9243 echo "$ac_t""no" 1>&6
9248 if test "$wxUSE_MGL" = 1; then
9250 echo $ac_n "checking for SciTech MGL library""... $ac_c" 1>&6
9251 echo "configure:9252: checking for SciTech MGL library" >&5
9252 if test "x$MGL_ROOT" = x
; then
9253 echo "$ac_t""not found" 1>&6
9254 { echo "configure: error: Cannot find MGL library. Make sure MGL_ROOT is set." 1>&2; exit 1; }
9256 echo "$ac_t""$MGL_ROOT" 1>&6
9259 MGL_OS
=linux
/gcc
/glibc
9262 if test "$wxUSE_DEBUG_FLAG" = yes ; then
9263 if test -f $MGL_ROOT/lib
/debug
/$MGL_OS/libmgl.a
; then
9267 if test "x$MGL_LIB_TYPE" = x
; then
9268 if test -f $MGL_ROOT/lib
/release
/$MGL_OS/libmgl.a
; then
9269 MGL_LIB_TYPE
=release
9271 { echo "configure: error: Cannot find MGL libraries, make sure they are compiled." 1>&2; exit 1; }
9275 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
9276 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$MGL_LIB_TYPE/$MGL_OS -lmgl -lmglcpp -lpm"
9278 AFMINSTALL
=afminstall
9283 if test "$wxUSE_WINE" = 1; then
9284 echo $ac_n "checking for WINE includes""... $ac_c" 1>&6
9285 echo "configure:9286: checking for WINE includes" >&5
9288 for ac_dir
in $SEARCH_INCLUDE;
9290 if test -f "$ac_dir/windows.h"; then
9291 ac_find_includes
=$ac_dir
9296 if test "$ac_find_includes" != "" ; then
9297 echo "$ac_t""found $ac_find_includes" 1>&6
9298 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE -I$ac_find_includes"
9300 echo "$ac_t""no" 1>&6
9301 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
9305 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
9306 echo "configure:9307: checking for Xpm library" >&5
9309 for ac_dir
in $SEARCH_LIB;
9311 for ac_extension
in a so sl
; do
9312 if test -f "$ac_dir/libXpm.$ac_extension"; then
9313 ac_find_libraries
=$ac_dir
9319 if test "$ac_find_libraries" != "" ; then
9320 GUI_TK_LIBRARY
="-L$ac_find_libraries"
9322 cat >> confdefs.h
<<\EOF
9323 #define wxHAVE_LIB_XPM 1
9326 echo "$ac_t""found at $ac_find_libraries" 1>&6
9328 echo "$ac_t""no" 1>&6
9329 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
9333 echo $ac_n "checking for Mesa library""... $ac_c" 1>&6
9334 echo "configure:9335: checking for Mesa library" >&5
9337 for ac_dir
in $SEARCH_LIB;
9339 for ac_extension
in a so sl
; do
9340 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
9341 ac_find_libraries
=$ac_dir
9347 if test "$ac_find_libraries" != "" ; then
9348 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -L$ac_find_libraries"
9349 MESA_LINK
="-lMesaGL"
9350 echo "$ac_t""found at $ac_find_libraries" 1>&6
9352 { echo "configure: error: no" 1>&2; exit 1; }
9355 GUI_TK_LINK
="-lwine $MESA_LINK $XPM_LINK -lXxf86dga -lXxf86vm -lSM -lICE -lXext -lXmu -lX11 -lncurses"
9356 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GUI_TK_LINK"
9363 # If we find X, set shell vars x_includes and x_libraries to the
9364 # paths, otherwise set no_x=yes.
9365 # Uses ac_ vars as temps to allow command line to override cache and checks.
9366 # --without-x overrides everything else, but does not touch the cache.
9367 echo $ac_n "checking for X""... $ac_c" 1>&6
9368 echo "configure:9369: checking for X" >&5
9370 # Check whether --with-x or --without-x was given.
9371 if test "${with_x+set}" = set; then
9376 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9377 if test "x$with_x" = xno
; then
9378 # The user explicitly disabled X.
9381 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
9382 # Both variables are already set.
9385 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
9386 echo $ac_n "(cached) $ac_c" 1>&6
9388 # One or both of the vars are not set, and there is no cached value.
9389 ac_x_includes
=NO ac_x_libraries
=NO
9391 if mkdir conftestdir
; then
9393 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
9394 cat > Imakefile
<<'EOF'
9396 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
9398 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
9399 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
9400 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
9401 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9402 for ac_extension
in a so sl
; do
9403 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
9404 test -f $ac_im_libdir/libX11.
$ac_extension; then
9405 ac_im_usrlibdir
=$ac_im_libdir; break
9408 # Screen out bogus values from the imake configuration. They are
9409 # bogus both because they are the default anyway, and because
9410 # using them would break gcc on systems where it needs fixed includes.
9411 case "$ac_im_incroot" in
9413 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;;
9415 case "$ac_im_usrlibdir" in
9417 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;;
9424 if test "$ac_x_includes" = NO
; then
9425 # Guess where to find include files, by looking for this one X11 .h file.
9426 test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
9428 # First, try using that file with no special directory specified.
9429 cat > conftest.
$ac_ext <<EOF
9430 #line 9431 "configure"
9431 #include "confdefs.h"
9432 #include <$x_direct_test_include>
9434 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9435 { (eval echo configure
:9436: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9436 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9437 if test -z "$ac_err"; then
9439 # We can compile using X headers with no special include directory.
9443 echo "configure: failed program was:" >&5
9444 cat conftest.
$ac_ext >&5
9446 # Look for the header file in a standard set of common directories.
9447 # Check X11 before X11Rn because it is often a symlink to the current release.
9450 /usr
/X
11R
6/include \
9451 /usr
/X
11R
5/include \
9452 /usr
/X
11R
4/include \
9455 /usr
/include
/X11R6 \
9456 /usr
/include
/X11R5 \
9457 /usr
/include
/X11R4 \
9459 /usr
/local
/X
11/include \
9460 /usr
/local
/X
11R
6/include \
9461 /usr
/local
/X
11R
5/include \
9462 /usr
/local
/X
11R
4/include \
9464 /usr
/local
/include
/X11 \
9465 /usr
/local
/include
/X11R6 \
9466 /usr
/local
/include
/X11R5 \
9467 /usr
/local
/include
/X11R4 \
9471 /usr
/XFree
86/include
/X11 \
9474 /usr
/local
/include \
9475 /usr
/unsupported
/include \
9476 /usr
/athena
/include \
9477 /usr
/local
/x
11r
5/include \
9478 /usr
/lpp
/Xamples
/include \
9480 /usr
/openwin
/include \
9481 /usr
/openwin
/share
/include \
9484 if test -r "$ac_dir/$x_direct_test_include"; then
9485 ac_x_includes
=$ac_dir
9491 fi # $ac_x_includes = NO
9493 if test "$ac_x_libraries" = NO
; then
9494 # Check for the libraries.
9496 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
9497 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
9499 # See if we find them without any special options.
9500 # Don't add to $LIBS permanently.
9501 ac_save_LIBS
="$LIBS"
9502 LIBS
="-l$x_direct_test_library $LIBS"
9503 cat > conftest.
$ac_ext <<EOF
9504 #line 9505 "configure"
9505 #include "confdefs.h"
9508 ${x_direct_test_function}()
9511 if { (eval echo configure
:9512: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9513 LIBS
="$ac_save_LIBS"
9514 # We can link X programs with no special library path.
9517 echo "configure: failed program was:" >&5
9518 cat conftest.
$ac_ext >&5
9520 LIBS
="$ac_save_LIBS"
9521 # First see if replacing the include by lib works.
9522 # Check X11 before X11Rn because it is often a symlink to the current release.
9523 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib/` \
9534 /usr
/local
/X
11/lib \
9535 /usr
/local
/X
11R
6/lib \
9536 /usr
/local
/X
11R
5/lib \
9537 /usr
/local
/X
11R
4/lib \
9539 /usr
/local
/lib
/X11 \
9540 /usr
/local
/lib
/X11R6 \
9541 /usr
/local
/lib
/X11R5 \
9542 /usr
/local
/lib
/X11R4 \
9546 /usr
/XFree
86/lib
/X11 \
9550 /usr
/unsupported
/lib \
9552 /usr
/local
/x
11r
5/lib \
9553 /usr
/lpp
/Xamples
/lib \
9557 /usr
/openwin
/share
/lib \
9560 for ac_extension
in a so sl
; do
9561 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
9562 ac_x_libraries
=$ac_dir
9569 fi # $ac_x_libraries = NO
9571 if test "$ac_x_includes" = NO
|| test "$ac_x_libraries" = NO
; then
9572 # Didn't find X anywhere. Cache the known absence of X.
9573 ac_cv_have_x
="have_x=no"
9575 # Record where we found X for the cache.
9576 ac_cv_have_x
="have_x=yes \
9577 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
9581 eval "$ac_cv_have_x"
9584 if test "$have_x" != yes; then
9585 echo "$ac_t""$have_x" 1>&6
9588 # If each of the values was on the command line, it overrides each guess.
9589 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
9590 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
9591 # Update the cache value to reflect the command line values.
9592 ac_cv_have_x
="have_x=yes \
9593 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
9594 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
9597 if test "$no_x" = yes; then
9598 # Not all programs may use this symbol, but it does not hurt to define it.
9599 cat >> confdefs.h
<<\EOF
9600 #define X_DISPLAY_MISSING 1
9603 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
9605 if test -n "$x_includes"; then
9606 X_CFLAGS
="$X_CFLAGS -I$x_includes"
9609 # It would also be nice to do this for all -L options, not just this one.
9610 if test -n "$x_libraries"; then
9611 X_LIBS
="$X_LIBS -L$x_libraries"
9612 # For Solaris; some versions of Sun CC require a space after -R and
9613 # others require no space. Words are not sufficient . . . .
9614 case "`(uname -sr) 2>/dev/null`" in
9616 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
9617 echo "configure:9618: checking whether -R must be followed by a space" >&5
9618 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
9619 cat > conftest.
$ac_ext <<EOF
9620 #line 9621 "configure"
9621 #include "confdefs.h"
9627 if { (eval echo configure
:9628: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9631 echo "configure: failed program was:" >&5
9632 cat conftest.
$ac_ext >&5
9637 if test $ac_R_nospace = yes; then
9638 echo "$ac_t""no" 1>&6
9639 X_LIBS
="$X_LIBS -R$x_libraries"
9641 LIBS
="$ac_xsave_LIBS -R $x_libraries"
9642 cat > conftest.
$ac_ext <<EOF
9643 #line 9644 "configure"
9644 #include "confdefs.h"
9650 if { (eval echo configure
:9651: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9654 echo "configure: failed program was:" >&5
9655 cat conftest.
$ac_ext >&5
9660 if test $ac_R_space = yes; then
9661 echo "$ac_t""yes" 1>&6
9662 X_LIBS
="$X_LIBS -R $x_libraries"
9664 echo "$ac_t""neither works" 1>&6
9667 LIBS
="$ac_xsave_LIBS"
9671 # Check for system-dependent libraries X programs must link with.
9672 # Do this before checking for the system-independent R6 libraries
9673 # (-lICE), since we may need -lsocket or whatever for X linking.
9675 if test "$ISC" = yes; then
9676 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
9678 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
9679 # libraries were built with DECnet support. And karl@cs.umb.edu says
9680 # the Alpha needs dnet_stub (dnet does not exist).
9681 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
9682 echo "configure:9683: checking for dnet_ntoa in -ldnet" >&5
9683 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
9684 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9685 echo $ac_n "(cached) $ac_c" 1>&6
9687 ac_save_LIBS
="$LIBS"
9689 cat > conftest.
$ac_ext <<EOF
9690 #line 9691 "configure"
9691 #include "confdefs.h"
9692 /* Override any gcc2 internal prototype to avoid an error. */
9693 /* We use char because int might match the return type of a gcc2
9694 builtin and then its argument prototype would still apply. */
9701 if { (eval echo configure
:9702: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9703 eval "ac_cv_lib_$ac_lib_var=yes"
9705 echo "configure: failed program was:" >&5
9706 cat conftest.
$ac_ext >&5
9708 eval "ac_cv_lib_$ac_lib_var=no"
9711 LIBS
="$ac_save_LIBS"
9714 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9715 echo "$ac_t""yes" 1>&6
9716 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
9718 echo "$ac_t""no" 1>&6
9721 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
9722 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
9723 echo "configure:9724: checking for dnet_ntoa in -ldnet_stub" >&5
9724 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
9725 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9726 echo $ac_n "(cached) $ac_c" 1>&6
9728 ac_save_LIBS
="$LIBS"
9729 LIBS
="-ldnet_stub $LIBS"
9730 cat > conftest.
$ac_ext <<EOF
9731 #line 9732 "configure"
9732 #include "confdefs.h"
9733 /* Override any gcc2 internal prototype to avoid an error. */
9734 /* We use char because int might match the return type of a gcc2
9735 builtin and then its argument prototype would still apply. */
9742 if { (eval echo configure
:9743: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9744 eval "ac_cv_lib_$ac_lib_var=yes"
9746 echo "configure: failed program was:" >&5
9747 cat conftest.
$ac_ext >&5
9749 eval "ac_cv_lib_$ac_lib_var=no"
9752 LIBS
="$ac_save_LIBS"
9755 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9756 echo "$ac_t""yes" 1>&6
9757 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
9759 echo "$ac_t""no" 1>&6
9764 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9765 # to get the SysV transport functions.
9766 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
9768 # The nsl library prevents programs from opening the X display
9769 # on Irix 5.2, according to dickey@clark.net.
9770 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
9771 echo "configure:9772: checking for gethostbyname" >&5
9772 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
9773 echo $ac_n "(cached) $ac_c" 1>&6
9775 cat > conftest.
$ac_ext <<EOF
9776 #line 9777 "configure"
9777 #include "confdefs.h"
9778 /* System header to define __stub macros and hopefully few prototypes,
9779 which can conflict with char gethostbyname(); below. */
9781 /* Override any gcc2 internal prototype to avoid an error. */
9782 /* We use char because int might match the return type of a gcc2
9783 builtin and then its argument prototype would still apply. */
9784 char gethostbyname();
9788 /* The GNU C library defines this for functions which it implements
9789 to always fail with ENOSYS. Some functions are actually named
9790 something starting with __ and the normal name is an alias. */
9791 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
9799 if { (eval echo configure
:9800: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9801 eval "ac_cv_func_gethostbyname=yes"
9803 echo "configure: failed program was:" >&5
9804 cat conftest.
$ac_ext >&5
9806 eval "ac_cv_func_gethostbyname=no"
9811 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
9812 echo "$ac_t""yes" 1>&6
9815 echo "$ac_t""no" 1>&6
9818 if test $ac_cv_func_gethostbyname = no
; then
9819 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
9820 echo "configure:9821: checking for gethostbyname in -lnsl" >&5
9821 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
9822 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9823 echo $ac_n "(cached) $ac_c" 1>&6
9825 ac_save_LIBS
="$LIBS"
9827 cat > conftest.
$ac_ext <<EOF
9828 #line 9829 "configure"
9829 #include "confdefs.h"
9830 /* Override any gcc2 internal prototype to avoid an error. */
9831 /* We use char because int might match the return type of a gcc2
9832 builtin and then its argument prototype would still apply. */
9833 char gethostbyname();
9839 if { (eval echo configure
:9840: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9841 eval "ac_cv_lib_$ac_lib_var=yes"
9843 echo "configure: failed program was:" >&5
9844 cat conftest.
$ac_ext >&5
9846 eval "ac_cv_lib_$ac_lib_var=no"
9849 LIBS
="$ac_save_LIBS"
9852 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9853 echo "$ac_t""yes" 1>&6
9854 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
9856 echo "$ac_t""no" 1>&6
9861 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9862 # socket/setsockopt and other routines are undefined under SCO ODT
9863 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9864 # on later versions), says simon@lia.di.epfl.ch: it contains
9865 # gethostby* variants that don't use the nameserver (or something).
9866 # -lsocket must be given before -lnsl if both are needed.
9867 # We assume that if connect needs -lnsl, so does gethostbyname.
9868 echo $ac_n "checking for connect""... $ac_c" 1>&6
9869 echo "configure:9870: checking for connect" >&5
9870 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
9871 echo $ac_n "(cached) $ac_c" 1>&6
9873 cat > conftest.
$ac_ext <<EOF
9874 #line 9875 "configure"
9875 #include "confdefs.h"
9876 /* System header to define __stub macros and hopefully few prototypes,
9877 which can conflict with char connect(); below. */
9879 /* Override any gcc2 internal prototype to avoid an error. */
9880 /* We use char because int might match the return type of a gcc2
9881 builtin and then its argument prototype would still apply. */
9886 /* The GNU C library defines this for functions which it implements
9887 to always fail with ENOSYS. Some functions are actually named
9888 something starting with __ and the normal name is an alias. */
9889 #if defined (__stub_connect) || defined (__stub___connect)
9897 if { (eval echo configure
:9898: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9899 eval "ac_cv_func_connect=yes"
9901 echo "configure: failed program was:" >&5
9902 cat conftest.
$ac_ext >&5
9904 eval "ac_cv_func_connect=no"
9909 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
9910 echo "$ac_t""yes" 1>&6
9913 echo "$ac_t""no" 1>&6
9916 if test $ac_cv_func_connect = no
; then
9917 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
9918 echo "configure:9919: checking for connect in -lsocket" >&5
9919 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
9920 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9921 echo $ac_n "(cached) $ac_c" 1>&6
9923 ac_save_LIBS
="$LIBS"
9924 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
9925 cat > conftest.
$ac_ext <<EOF
9926 #line 9927 "configure"
9927 #include "confdefs.h"
9928 /* Override any gcc2 internal prototype to avoid an error. */
9929 /* We use char because int might match the return type of a gcc2
9930 builtin and then its argument prototype would still apply. */
9937 if { (eval echo configure
:9938: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9939 eval "ac_cv_lib_$ac_lib_var=yes"
9941 echo "configure: failed program was:" >&5
9942 cat conftest.
$ac_ext >&5
9944 eval "ac_cv_lib_$ac_lib_var=no"
9947 LIBS
="$ac_save_LIBS"
9950 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9951 echo "$ac_t""yes" 1>&6
9952 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
9954 echo "$ac_t""no" 1>&6
9959 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
9960 echo $ac_n "checking for remove""... $ac_c" 1>&6
9961 echo "configure:9962: checking for remove" >&5
9962 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
9963 echo $ac_n "(cached) $ac_c" 1>&6
9965 cat > conftest.
$ac_ext <<EOF
9966 #line 9967 "configure"
9967 #include "confdefs.h"
9968 /* System header to define __stub macros and hopefully few prototypes,
9969 which can conflict with char remove(); below. */
9971 /* Override any gcc2 internal prototype to avoid an error. */
9972 /* We use char because int might match the return type of a gcc2
9973 builtin and then its argument prototype would still apply. */
9978 /* The GNU C library defines this for functions which it implements
9979 to always fail with ENOSYS. Some functions are actually named
9980 something starting with __ and the normal name is an alias. */
9981 #if defined (__stub_remove) || defined (__stub___remove)
9989 if { (eval echo configure
:9990: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9991 eval "ac_cv_func_remove=yes"
9993 echo "configure: failed program was:" >&5
9994 cat conftest.
$ac_ext >&5
9996 eval "ac_cv_func_remove=no"
10001 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
10002 echo "$ac_t""yes" 1>&6
10005 echo "$ac_t""no" 1>&6
10008 if test $ac_cv_func_remove = no
; then
10009 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
10010 echo "configure:10011: checking for remove in -lposix" >&5
10011 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
10012 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10013 echo $ac_n "(cached) $ac_c" 1>&6
10015 ac_save_LIBS
="$LIBS"
10016 LIBS
="-lposix $LIBS"
10017 cat > conftest.
$ac_ext <<EOF
10018 #line 10019 "configure"
10019 #include "confdefs.h"
10020 /* Override any gcc2 internal prototype to avoid an error. */
10021 /* We use char because int might match the return type of a gcc2
10022 builtin and then its argument prototype would still apply. */
10029 if { (eval echo configure
:10030: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10031 eval "ac_cv_lib_$ac_lib_var=yes"
10033 echo "configure: failed program was:" >&5
10034 cat conftest.
$ac_ext >&5
10036 eval "ac_cv_lib_$ac_lib_var=no"
10039 LIBS
="$ac_save_LIBS"
10042 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10043 echo "$ac_t""yes" 1>&6
10044 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
10046 echo "$ac_t""no" 1>&6
10051 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
10052 echo $ac_n "checking for shmat""... $ac_c" 1>&6
10053 echo "configure:10054: checking for shmat" >&5
10054 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
10055 echo $ac_n "(cached) $ac_c" 1>&6
10057 cat > conftest.
$ac_ext <<EOF
10058 #line 10059 "configure"
10059 #include "confdefs.h"
10060 /* System header to define __stub macros and hopefully few prototypes,
10061 which can conflict with char shmat(); below. */
10062 #include <assert.h>
10063 /* Override any gcc2 internal prototype to avoid an error. */
10064 /* We use char because int might match the return type of a gcc2
10065 builtin and then its argument prototype would still apply. */
10070 /* The GNU C library defines this for functions which it implements
10071 to always fail with ENOSYS. Some functions are actually named
10072 something starting with __ and the normal name is an alias. */
10073 #if defined (__stub_shmat) || defined (__stub___shmat)
10081 if { (eval echo configure
:10082: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10083 eval "ac_cv_func_shmat=yes"
10085 echo "configure: failed program was:" >&5
10086 cat conftest.
$ac_ext >&5
10088 eval "ac_cv_func_shmat=no"
10093 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
10094 echo "$ac_t""yes" 1>&6
10097 echo "$ac_t""no" 1>&6
10100 if test $ac_cv_func_shmat = no
; then
10101 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
10102 echo "configure:10103: checking for shmat in -lipc" >&5
10103 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
10104 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10105 echo $ac_n "(cached) $ac_c" 1>&6
10107 ac_save_LIBS
="$LIBS"
10109 cat > conftest.
$ac_ext <<EOF
10110 #line 10111 "configure"
10111 #include "confdefs.h"
10112 /* Override any gcc2 internal prototype to avoid an error. */
10113 /* We use char because int might match the return type of a gcc2
10114 builtin and then its argument prototype would still apply. */
10121 if { (eval echo configure
:10122: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10123 eval "ac_cv_lib_$ac_lib_var=yes"
10125 echo "configure: failed program was:" >&5
10126 cat conftest.
$ac_ext >&5
10128 eval "ac_cv_lib_$ac_lib_var=no"
10131 LIBS
="$ac_save_LIBS"
10134 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10135 echo "$ac_t""yes" 1>&6
10136 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
10138 echo "$ac_t""no" 1>&6
10144 # Check for libraries that X11R6 Xt/Xaw programs need.
10145 ac_save_LDFLAGS
="$LDFLAGS"
10146 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
10147 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
10148 # check for ICE first), but we must link in the order -lSM -lICE or
10149 # we get undefined symbols. So assume we have SM if we have ICE.
10150 # These have to be linked with before -lX11, unlike the other
10151 # libraries we check for below, so use a different variable.
10152 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
10153 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
10154 echo "configure:10155: checking for IceConnectionNumber in -lICE" >&5
10155 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
10156 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10157 echo $ac_n "(cached) $ac_c" 1>&6
10159 ac_save_LIBS
="$LIBS"
10160 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
10161 cat > conftest.
$ac_ext <<EOF
10162 #line 10163 "configure"
10163 #include "confdefs.h"
10164 /* Override any gcc2 internal prototype to avoid an error. */
10165 /* We use char because int might match the return type of a gcc2
10166 builtin and then its argument prototype would still apply. */
10167 char IceConnectionNumber();
10170 IceConnectionNumber()
10173 if { (eval echo configure
:10174: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10175 eval "ac_cv_lib_$ac_lib_var=yes"
10177 echo "configure: failed program was:" >&5
10178 cat conftest.
$ac_ext >&5
10180 eval "ac_cv_lib_$ac_lib_var=no"
10183 LIBS
="$ac_save_LIBS"
10186 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10187 echo "$ac_t""yes" 1>&6
10188 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
10190 echo "$ac_t""no" 1>&6
10193 LDFLAGS
="$ac_save_LDFLAGS"
10197 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
10198 LDFLAGS
="$LDFLAGS $X_LIBS"
10200 if test "$wxUSE_MOTIF" = 1; then
10201 if test "$no_x" = "yes"; then
10202 { echo "configure: error: X11 not found" 1>&2; exit 1; }
10205 GUI_TK_LIBRARY
="$X_LIBS"
10206 TOOLKIT_INCLUDE
="$X_CFLAGS"
10208 AFMINSTALL
=afminstall
10211 COMPILED_X_PROGRAM
=0
10213 echo $ac_n "checking for Motif/Lesstif headers""... $ac_c" 1>&6
10214 echo "configure:10215: checking for Motif/Lesstif headers" >&5
10217 for ac_dir
in $SEARCH_INCLUDE;
10219 if test -f "$ac_dir/Xm/Xm.h"; then
10220 ac_find_includes
=$ac_dir
10225 if test "$ac_find_includes" != "" ; then
10226 echo "$ac_t""found $ac_find_includes" 1>&6
10228 cat > conftest.
$ac_ext <<EOF
10229 #line 10230 "configure"
10230 #include "confdefs.h"
10238 version = xmUseVersion;
10242 if { (eval echo configure
:10243: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10245 echo "$ac_t""found in default search path" 1>&6
10246 COMPILED_X_PROGRAM
=1
10249 echo "configure: failed program was:" >&5
10250 cat conftest.
$ac_ext >&5
10253 echo "$ac_t""no" 1>&6
10254 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
10261 if test "$COMPILED_X_PROGRAM" = 0; then
10262 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
10263 echo "configure:10264: checking for Motif/Lesstif library" >&5
10266 for ac_dir
in $SEARCH_LIB;
10268 for ac_extension
in a so sl
; do
10269 if test -f "$ac_dir/libXm.$ac_extension"; then
10270 ac_find_libraries
=$ac_dir
10276 if test "$ac_find_libraries" != "" ; then
10278 ac_path_to_include
=$ac_find_includes
10279 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
10281 if test $result = 0; then
10282 ac_path_to_include
=""
10284 ac_path_to_include
="-I$ac_find_includes"
10288 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
10290 if test $result = 0; then
10293 ac_path_to_link
="-L$ac_find_libraries"
10297 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
10298 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE $ac_path_to_include"
10299 echo "$ac_t""found at $ac_find_libraries" 1>&6
10301 cat > conftest.
$ac_ext <<EOF
10302 #line 10303 "configure"
10303 #include "confdefs.h"
10311 version = xmUseVersion;
10315 if { (eval echo configure
:10316: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10318 echo "$ac_t""found in default search path" 1>&6
10319 COMPILED_X_PROGRAM
=1
10322 echo "configure: failed program was:" >&5
10323 cat conftest.
$ac_ext >&5
10326 echo "$ac_t""no" 1>&6
10327 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
10337 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
10338 echo "configure:10339: checking for Xpm library" >&5
10341 for ac_dir
in $SEARCH_LIB;
10343 for ac_extension
in a so sl
; do
10344 if test -f "$ac_dir/libXpm.$ac_extension"; then
10345 ac_find_libraries
=$ac_dir
10351 if test "$ac_find_libraries" != "" ; then
10353 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
10355 if test $result = 0; then
10358 ac_path_to_link
="-L$ac_find_libraries"
10361 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
10363 cat >> confdefs.h
<<\EOF
10364 #define wxHAVE_LIB_XPM 1
10367 echo "$ac_t""found at $ac_find_libraries" 1>&6
10369 cat > conftest.
$ac_ext <<EOF
10370 #line 10371 "configure"
10371 #include "confdefs.h"
10373 #include <X11/xpm.h>
10379 version = XpmLibraryVersion();
10383 if { (eval echo configure
:10384: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10387 cat >> confdefs.h
<<\EOF
10388 #define wxHAVE_LIB_XPM 1
10391 echo "$ac_t""found in default search path" 1>&6
10392 COMPILED_X_PROGRAM
=0
10395 echo "configure: failed program was:" >&5
10396 cat conftest.
$ac_ext >&5
10399 echo "$ac_t""no" 1>&6
10400 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
10407 GUI_TK_LINK
="-lXm $XPM_LINK -lXmu -lXext -lXt -lX11"
10408 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GUI_TK_LINK"
10413 if test "$wxUSE_MAC" = 1; then
10418 if test "$wxUSE_PM" = 1; then
10423 if test "$TOOLKIT" != "PM" ; then
10424 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
10429 TOOLKIT_NAME
="${TOOLKIT_DIR}"
10431 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}"
10433 if test "$TOOLKIT_NAME" = "motif"; then
10434 TOOLKIT_VPATH
="${TOOLKIT_VPATH}${PATH_IFS}\${top_srcdir}/src/motif/xmcombo"
10437 if test "$wxUSE_UNIVERSAL" = "yes"; then
10438 TOOLKIT_NAME
="${TOOLKIT_NAME}univ"
10439 UNIV_VPATH
="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
10440 TOOLKIT_VPATH
="${UNIV_VPATH}${PATH_IFS}${TOOLKIT_VPATH}"
10443 SETUPH_DIR
="${TOOLKIT_DIR}"
10446 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
10447 TOOLKIT_NAME
="${TOOLKIT_NAME}d"
10450 TOOLKIT_DEF
="-D__WX${TOOLKIT}__"
10451 if test "$wxUSE_UNIVERSAL" = "yes"; then
10452 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WXUNIVERSAL__"
10455 WX_LIBRARY
="wx_${TOOLKIT_NAME}"
10457 if test "$wxUSE_UNIVERSAL" = "yes"; then
10458 ALL_OBJECTS
="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
10460 ALL_OBJECTS
="\$(GUIOBJS)"
10463 ALL_OBJECTS
="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
10465 if test "$TOOLKIT" != "MSW"; then
10466 ALL_OBJECTS
="${ALL_OBJECTS} \$(UNIXOBJS)"
10469 if test "$wxUSE_HTML" = "yes"; then
10470 ALL_OBJECTS
="${ALL_OBJECTS} \$(HTMLOBJS)"
10473 if test "$TOOLKIT" != "MSW"; then
10474 if test "$wxUSE_ODBC" = "yes" ; then
10475 ALL_OBJECTS
="${ALL_OBJECTS} \$(IODBCOBJS)"
10479 if test "$wxUSE_LIBJPEG" = "yes" ; then
10480 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
10482 if test "$wxUSE_LIBTIFF" = "yes" ; then
10483 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
10485 if test "$wxUSE_LIBPNG" = "yes" ; then
10486 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
10488 if test "$wxUSE_ZLIB" = "yes" ; then
10489 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
10491 if test "$wxUSE_FREETYPE" = "yes" ; then
10492 ALL_OBJECTS
="${ALL_OBJECTS} \$(FREETYPEOBJS)"
10495 if test "$wxUSE_UNIVERSAL" = "yes"; then
10496 ALL_DEPFILES
="\$(GUI_LOWLEVEL_DEPS) \$(UNIVDEPS)"
10498 ALL_DEPFILES
="\$(GUIDEPS)"
10501 ALL_DEPFILES
="${ALL_DEPFILES} \$(COMMONDEPS) \$(GENERICDEPS)"
10503 if test "$TOOLKIT" != "MSW"; then
10504 ALL_DEPFILES
="${ALL_DEPFILES} \$(UNIXDEPS)"
10507 if test "$wxUSE_HTML" = "yes"; then
10508 ALL_DEPFILES
="${ALL_DEPFILES} \$(HTMLDEPS)"
10511 PORT_FILES
="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
10512 if test "$wxUSE_UNIVERSAL" = "yes"; then
10513 PORT_FILES
="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
10515 RPM_FILES
="src/\$(TOOLKITDIR)/rpmfiles.lst"
10516 RPM_SPEC
="wx\$(TOOLKIT).spec"
10518 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
10519 DISTDIR
="wx\$(TOOLKIT)"
10525 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
10526 TOOLKIT_NAME
="${TOOLKIT_DIR}d"
10528 TOOLKIT_NAME
="${TOOLKIT_DIR}"
10531 TOOLKIT_DEF
="-D__WXBASE__"
10533 ALL_OBJECTS
="\$(BASE_OBJS) \$(BASE_UNIX_OBJS)"
10534 ALL_DEPFILES
="\$(BASE_DEPS) \$(BASE_UNIX_DEPS)"
10536 if test "$wxUSE_ZLIB" = "yes" ; then
10537 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
10540 WX_LIBRARY
="wx_${TOOLKIT_NAME}"
10542 PORT_FILES
="src/files.lst"
10543 RPM_FILES
="src/rpmfiles.lst"
10544 RPM_SPEC
="wxBase.spec"
10546 GUIDIST
="BASE_DIST"
10550 WX_LIBRARY_NAME
="lib${WX_LIBRARY}.la"
10551 WX_LIBRARY_NAME_GL
="lib${WX_LIBRARY}_gl.la"
10553 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
10554 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY}_gl.a"
10556 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}-${WX_RELEASE}.so.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
10557 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.so.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
10559 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}-${WX_RELEASE}.so.${WX_CURRENT}"
10560 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}-${WX_RELEASE}.so"
10561 WX_LIBRARY_LINK3
="lib${WX_LIBRARY}.so"
10562 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.so.${WX_CURRENT}"
10563 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.so"
10564 WX_LIBRARY_LINK3_GL
="lib${WX_LIBRARY}_gl.so"
10570 BURNT_LIBRARY_NAME
=
10571 WX_TARGET_LIBRARY_SONAME
=
10574 if test "$wxUSE_SHARED" = "yes"; then
10577 if test "$GCC" = yes ; then
10578 SHARED_LD
="${CC} -shared -fPIC -o"
10581 LDFLAGS
="-L/usr/lib"
10583 SHARED_LD
="${CXX} -b -o"
10586 WX_LIBRARY_NAME_SHARED
="libwx_${TOOLKIT_NAME}.sl"
10587 WX_LIBRARY_NAME_SHARED_GL
="libwx_${TOOLKIT_NAME}_gl.sl"
10588 if test "$wxUSE_OPENGL" = "yes"; then
10589 WX_ALL_INSTALLED
="preinstall_gl"
10590 WX_ALL
="${WX_LIBRARY_NAME_SHARED} ${WX_LIBRARY_NAME_SHARED_GL}"
10592 WX_ALL
="${WX_LIBRARY_NAME_SHARED}"
10597 SHARED_LD
="${CC} -shared -o"
10599 if test "$wxUSE_BURNT_NAME" = "yes" ; then
10600 BURNT_LIBRARY_NAME
="-Wl,-soname,${WX_LIBRARY_LINK1}"
10601 BURNT_LIBRARY_NAME_GL
="-Wl,-soname,${WX_LIBRARY_LINK1_GL}"
10602 WX_TARGET_LIBRARY_SONAME
="-Wl,-soname,\$(TARGETLIB_LINK1)"
10604 if test "$wxUSE_OPENGL" = "yes"; then
10605 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
10606 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
10608 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10609 WX_ALL
="CREATE_LINKS"
10612 *-*-irix5* | *-*-irix6* )
10613 if test "$GCC" = yes ; then
10614 SHARED_LD
="${CC} -shared -o"
10617 SHARED_LD
="${CXX} -shared -o"
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"
10628 if test "$GCC" = yes ; then
10629 SHARED_LD
="${CC} -shared -o"
10632 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
10634 SHARED_LD
="${CXX} -G -o"
10637 if test "$wxUSE_OPENGL" = "yes"; then
10638 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
10639 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
10641 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10642 WX_ALL
="CREATE_LINKS"
10646 SHARED_LD
="${CC} -shared -o"
10648 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10649 WX_ALL
="CREATE_LINKS"
10651 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* )
10652 SHARED_LD
="${CC} -shared -o"
10654 if test "$wxUSE_OPENGL" = "yes"; then
10655 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
10656 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
10658 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10659 WX_ALL
="CREATE_LINKS"
10663 SHARED_LD
="${CXX} -dynamiclib -o"
10664 PIC_FLAG
="-dynamic -fPIC"
10665 if test "$wxUSE_OPENGL" = "yes"; then
10666 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
10667 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
10669 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10670 WX_ALL
="CREATE_LINKS"
10672 WX_ALL
="${WX_ALL} ./lib/lib${WX_LIBRARY}-${WX_RELEASE}.r"
10673 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}-${WX_RELEASE}.dylib.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
10674 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.dylib.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
10675 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}-${WX_RELEASE}.dylib.${WX_CURRENT}"
10676 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}-${WX_RELEASE}.dylib"
10677 WX_LIBRARY_LINK3
="lib${WX_LIBRARY}.dylib"
10678 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.dylib.${WX_CURRENT}"
10679 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.dylib"
10680 WX_LIBRARY_LINK3_GL
="lib${WX_LIBRARY}_gl.dylib"
10683 SHARED_LD
="${CXX} -shared -o"
10685 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10686 WX_ALL
="CREATE_LINKS"
10689 SHARED_LD
="${CXX} -shared -o"
10691 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10692 WX_ALL
="CREATE_LINKS"
10695 SHARED_LD
="${CC} -shared -o"
10697 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10698 WX_ALL
="CREATE_LINKS"
10701 SHARED_LD
="/usr/lpp/xlC/bin/makeC++SharedLib -p 0 -o"
10702 WX_ALL
=${WX_LIBRARY_NAME_SHARED}
10705 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
10706 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
10707 if test "$wxUSE_OPENGL" = "yes"; then
10708 WX_ALL_INSTALLED
="preinstall_gl"
10709 WX_ALL
="${WX_LIBRARY_NAME_STATIC} ${WX_LIBRARY_NAME_STATIC_GL}"
10711 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
10715 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
10716 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
10717 if test "$wxUSE_OPENGL" = "yes"; then
10718 WX_ALL_INSTALLED
="preinstall_gl"
10719 WX_ALL
="${WX_LIBRARY_NAME_STATIC} ${WX_LIBRARY_NAME_STATIC_GL}"
10721 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
10725 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
10726 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
10729 SHARED_LD
="${LD} -shared -o"
10731 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10732 WX_ALL
="CREATE_LINKS"
10735 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
10738 if test "x$WX_TARGET_LIBRARY" = "x"; then
10739 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
10740 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
10742 WX_TARGET_LIBRARY_TYPE
="so"
10744 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
10745 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
10747 if test "$wxUSE_OPENGL" = "yes"; then
10748 WX_ALL_INSTALLED
="preinstall_gl"
10749 WX_ALL
="${WX_LIBRARY_NAME_STATIC} ${WX_LIBRARY_NAME_STATIC_GL}"
10751 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
10754 if test "$wxUSE_GUI" = "no"; then
10755 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
10758 WX_TARGET_LIBRARY_TYPE
="a"
10762 for ac_hdr
in strings.h
10764 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10765 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10766 echo "configure:10767: checking for $ac_hdr" >&5
10767 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10768 echo $ac_n "(cached) $ac_c" 1>&6
10770 cat > conftest.
$ac_ext <<EOF
10771 #line 10772 "configure"
10772 #include "confdefs.h"
10775 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10776 { (eval echo configure
:10777: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10777 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10778 if test -z "$ac_err"; then
10780 eval "ac_cv_header_$ac_safe=yes"
10783 echo "configure: failed program was:" >&5
10784 cat conftest.
$ac_ext >&5
10786 eval "ac_cv_header_$ac_safe=no"
10790 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10791 echo "$ac_t""yes" 1>&6
10792 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10793 cat >> confdefs.h
<<EOF
10794 #define $ac_tr_hdr 1
10798 echo "$ac_t""no" 1>&6
10802 for ac_hdr
in stdlib.h
10804 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10805 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10806 echo "configure:10807: checking for $ac_hdr" >&5
10807 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10808 echo $ac_n "(cached) $ac_c" 1>&6
10810 cat > conftest.
$ac_ext <<EOF
10811 #line 10812 "configure"
10812 #include "confdefs.h"
10815 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10816 { (eval echo configure
:10817: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10817 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10818 if test -z "$ac_err"; then
10820 eval "ac_cv_header_$ac_safe=yes"
10823 echo "configure: failed program was:" >&5
10824 cat conftest.
$ac_ext >&5
10826 eval "ac_cv_header_$ac_safe=no"
10830 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10831 echo "$ac_t""yes" 1>&6
10832 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10833 cat >> confdefs.h
<<EOF
10834 #define $ac_tr_hdr 1
10838 echo "$ac_t""no" 1>&6
10842 for ac_hdr
in unistd.h
10844 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10845 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10846 echo "configure:10847: checking for $ac_hdr" >&5
10847 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10848 echo $ac_n "(cached) $ac_c" 1>&6
10850 cat > conftest.
$ac_ext <<EOF
10851 #line 10852 "configure"
10852 #include "confdefs.h"
10855 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10856 { (eval echo configure
:10857: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10857 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10858 if test -z "$ac_err"; then
10860 eval "ac_cv_header_$ac_safe=yes"
10863 echo "configure: failed program was:" >&5
10864 cat conftest.
$ac_ext >&5
10866 eval "ac_cv_header_$ac_safe=no"
10870 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10871 echo "$ac_t""yes" 1>&6
10872 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10873 cat >> confdefs.h
<<EOF
10874 #define $ac_tr_hdr 1
10878 echo "$ac_t""no" 1>&6
10882 for ac_hdr
in wchar.h
10884 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10885 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10886 echo "configure:10887: checking for $ac_hdr" >&5
10887 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10888 echo $ac_n "(cached) $ac_c" 1>&6
10890 cat > conftest.
$ac_ext <<EOF
10891 #line 10892 "configure"
10892 #include "confdefs.h"
10895 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10896 { (eval echo configure
:10897: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10897 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10898 if test -z "$ac_err"; then
10900 eval "ac_cv_header_$ac_safe=yes"
10903 echo "configure: failed program was:" >&5
10904 cat conftest.
$ac_ext >&5
10906 eval "ac_cv_header_$ac_safe=no"
10910 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10911 echo "$ac_t""yes" 1>&6
10912 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10913 cat >> confdefs.h
<<EOF
10914 #define $ac_tr_hdr 1
10918 echo "$ac_t""no" 1>&6
10922 for ac_hdr
in wcstr.h
10924 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10925 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10926 echo "configure:10927: checking for $ac_hdr" >&5
10927 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10928 echo $ac_n "(cached) $ac_c" 1>&6
10930 cat > conftest.
$ac_ext <<EOF
10931 #line 10932 "configure"
10932 #include "confdefs.h"
10935 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10936 { (eval echo configure
:10937: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10937 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10938 if test -z "$ac_err"; then
10940 eval "ac_cv_header_$ac_safe=yes"
10943 echo "configure: failed program was:" >&5
10944 cat conftest.
$ac_ext >&5
10946 eval "ac_cv_header_$ac_safe=no"
10950 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10951 echo "$ac_t""yes" 1>&6
10952 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10953 cat >> confdefs.h
<<EOF
10954 #define $ac_tr_hdr 1
10958 echo "$ac_t""no" 1>&6
10962 for ac_hdr
in fnmatch.h
10964 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10965 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10966 echo "configure:10967: checking for $ac_hdr" >&5
10967 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10968 echo $ac_n "(cached) $ac_c" 1>&6
10970 cat > conftest.
$ac_ext <<EOF
10971 #line 10972 "configure"
10972 #include "confdefs.h"
10975 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10976 { (eval echo configure
:10977: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10977 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10978 if test -z "$ac_err"; then
10980 eval "ac_cv_header_$ac_safe=yes"
10983 echo "configure: failed program was:" >&5
10984 cat conftest.
$ac_ext >&5
10986 eval "ac_cv_header_$ac_safe=no"
10990 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10991 echo "$ac_t""yes" 1>&6
10992 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10993 cat >> confdefs.h
<<EOF
10994 #define $ac_tr_hdr 1
10998 echo "$ac_t""no" 1>&6
11002 for ac_hdr
in iconv.h
11004 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11005 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11006 echo "configure:11007: checking for $ac_hdr" >&5
11007 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11008 echo $ac_n "(cached) $ac_c" 1>&6
11010 cat > conftest.
$ac_ext <<EOF
11011 #line 11012 "configure"
11012 #include "confdefs.h"
11015 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11016 { (eval echo configure
:11017: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11017 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11018 if test -z "$ac_err"; then
11020 eval "ac_cv_header_$ac_safe=yes"
11023 echo "configure: failed program was:" >&5
11024 cat conftest.
$ac_ext >&5
11026 eval "ac_cv_header_$ac_safe=no"
11030 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11031 echo "$ac_t""yes" 1>&6
11032 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11033 cat >> confdefs.h
<<EOF
11034 #define $ac_tr_hdr 1
11038 echo "$ac_t""no" 1>&6
11042 for ac_hdr
in langinfo.h
11044 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11045 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11046 echo "configure:11047: checking for $ac_hdr" >&5
11047 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11048 echo $ac_n "(cached) $ac_c" 1>&6
11050 cat > conftest.
$ac_ext <<EOF
11051 #line 11052 "configure"
11052 #include "confdefs.h"
11055 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11056 { (eval echo configure
:11057: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11057 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11058 if test -z "$ac_err"; then
11060 eval "ac_cv_header_$ac_safe=yes"
11063 echo "configure: failed program was:" >&5
11064 cat conftest.
$ac_ext >&5
11066 eval "ac_cv_header_$ac_safe=no"
11070 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11071 echo "$ac_t""yes" 1>&6
11072 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11073 cat >> confdefs.h
<<EOF
11074 #define $ac_tr_hdr 1
11078 echo "$ac_t""no" 1>&6
11083 if test "$wxUSE_GUI" = "yes"; then
11084 if test "$wxUSE_UNIX" = "yes"; then
11085 for ac_hdr
in X
11/XKBlib.h
11087 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11088 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11089 echo "configure:11090: checking for $ac_hdr" >&5
11090 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11091 echo $ac_n "(cached) $ac_c" 1>&6
11093 cat > conftest.
$ac_ext <<EOF
11094 #line 11095 "configure"
11095 #include "confdefs.h"
11098 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11099 { (eval echo configure
:11100: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11100 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11101 if test -z "$ac_err"; then
11103 eval "ac_cv_header_$ac_safe=yes"
11106 echo "configure: failed program was:" >&5
11107 cat conftest.
$ac_ext >&5
11109 eval "ac_cv_header_$ac_safe=no"
11113 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11114 echo "$ac_t""yes" 1>&6
11115 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11116 cat >> confdefs.h
<<EOF
11117 #define $ac_tr_hdr 1
11121 echo "$ac_t""no" 1>&6
11129 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
11130 echo "configure:11131: checking for ANSI C header files" >&5
11131 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
11132 echo $ac_n "(cached) $ac_c" 1>&6
11134 cat > conftest.
$ac_ext <<EOF
11135 #line 11136 "configure"
11136 #include "confdefs.h"
11137 #include <stdlib.h>
11138 #include <stdarg.h>
11139 #include <string.h>
11142 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11143 { (eval echo configure
:11144: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11144 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11145 if test -z "$ac_err"; then
11147 ac_cv_header_stdc
=yes
11150 echo "configure: failed program was:" >&5
11151 cat conftest.
$ac_ext >&5
11153 ac_cv_header_stdc
=no
11157 if test $ac_cv_header_stdc = yes; then
11158 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11159 cat > conftest.
$ac_ext <<EOF
11160 #line 11161 "configure"
11161 #include "confdefs.h"
11162 #include <string.h>
11164 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11165 egrep "memchr" >/dev
/null
2>&1; then
11169 ac_cv_header_stdc
=no
11175 if test $ac_cv_header_stdc = yes; then
11176 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
11177 cat > conftest.
$ac_ext <<EOF
11178 #line 11179 "configure"
11179 #include "confdefs.h"
11180 #include <stdlib.h>
11182 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11183 egrep "free" >/dev
/null
2>&1; then
11187 ac_cv_header_stdc
=no
11193 if test $ac_cv_header_stdc = yes; then
11194 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
11195 if test "$cross_compiling" = yes; then
11198 cat > conftest.
$ac_ext <<EOF
11199 #line 11200 "configure"
11200 #include "confdefs.h"
11202 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
11203 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
11204 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
11205 int main () { int i; for (i = 0; i < 256; i++)
11206 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
11210 if { (eval echo configure
:11211: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11214 echo "configure: failed program was:" >&5
11215 cat conftest.
$ac_ext >&5
11217 ac_cv_header_stdc
=no
11225 echo "$ac_t""$ac_cv_header_stdc" 1>&6
11226 if test $ac_cv_header_stdc = yes; then
11227 cat >> confdefs.h
<<\EOF
11228 #define STDC_HEADERS 1
11233 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
11234 echo "configure:11235: checking for mode_t" >&5
11235 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
11236 echo $ac_n "(cached) $ac_c" 1>&6
11238 cat > conftest.
$ac_ext <<EOF
11239 #line 11240 "configure"
11240 #include "confdefs.h"
11241 #include <sys/types.h>
11243 #include <stdlib.h>
11244 #include <stddef.h>
11247 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11248 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
11250 ac_cv_type_mode_t
=yes
11253 ac_cv_type_mode_t
=no
11258 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
11259 if test $ac_cv_type_mode_t = no
; then
11260 cat >> confdefs.h
<<\EOF
11266 echo $ac_n "checking for off_t""... $ac_c" 1>&6
11267 echo "configure:11268: checking for off_t" >&5
11268 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
11269 echo $ac_n "(cached) $ac_c" 1>&6
11271 cat > conftest.
$ac_ext <<EOF
11272 #line 11273 "configure"
11273 #include "confdefs.h"
11274 #include <sys/types.h>
11276 #include <stdlib.h>
11277 #include <stddef.h>
11280 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11281 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
11283 ac_cv_type_off_t
=yes
11286 ac_cv_type_off_t
=no
11291 echo "$ac_t""$ac_cv_type_off_t" 1>&6
11292 if test $ac_cv_type_off_t = no
; then
11293 cat >> confdefs.h
<<\EOF
11299 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
11300 echo "configure:11301: checking for pid_t" >&5
11301 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
11302 echo $ac_n "(cached) $ac_c" 1>&6
11304 cat > conftest.
$ac_ext <<EOF
11305 #line 11306 "configure"
11306 #include "confdefs.h"
11307 #include <sys/types.h>
11309 #include <stdlib.h>
11310 #include <stddef.h>
11313 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11314 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
11316 ac_cv_type_pid_t
=yes
11319 ac_cv_type_pid_t
=no
11324 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
11325 if test $ac_cv_type_pid_t = no
; then
11326 cat >> confdefs.h
<<\EOF
11332 echo $ac_n "checking for size_t""... $ac_c" 1>&6
11333 echo "configure:11334: checking for size_t" >&5
11334 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
11335 echo $ac_n "(cached) $ac_c" 1>&6
11337 cat > conftest.
$ac_ext <<EOF
11338 #line 11339 "configure"
11339 #include "confdefs.h"
11340 #include <sys/types.h>
11342 #include <stdlib.h>
11343 #include <stddef.h>
11346 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11347 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
11349 ac_cv_type_size_t
=yes
11352 ac_cv_type_size_t
=no
11357 echo "$ac_t""$ac_cv_type_size_t" 1>&6
11358 if test $ac_cv_type_size_t = no
; then
11359 cat >> confdefs.h
<<\EOF
11360 #define size_t unsigned
11365 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
11366 echo "configure:11367: checking for uid_t in sys/types.h" >&5
11367 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
11368 echo $ac_n "(cached) $ac_c" 1>&6
11370 cat > conftest.
$ac_ext <<EOF
11371 #line 11372 "configure"
11372 #include "confdefs.h"
11373 #include <sys/types.h>
11375 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11376 egrep "uid_t" >/dev
/null
2>&1; then
11378 ac_cv_type_uid_t
=yes
11381 ac_cv_type_uid_t
=no
11387 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
11388 if test $ac_cv_type_uid_t = no
; then
11389 cat >> confdefs.h
<<\EOF
11393 cat >> confdefs.h
<<\EOF
11400 echo $ac_n "checking for wchar_t""... $ac_c" 1>&6
11401 echo "configure:11402: checking for wchar_t" >&5
11402 if eval "test \"`echo '$''{'wx_cv_type_wchar_t'+set}'`\" = set"; then
11403 echo $ac_n "(cached) $ac_c" 1>&6
11406 cat > conftest.
$ac_ext <<EOF
11407 #line 11408 "configure"
11408 #include "confdefs.h"
11414 ws = L"Hello, world!";
11418 if { (eval echo configure
:11419: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11420 wx_cv_type_wchar_t
=yes
11422 echo "configure: failed program was:" >&5
11423 cat conftest.
$ac_ext >&5
11425 cat > conftest.
$ac_ext <<EOF
11426 #line 11427 "configure"
11427 #include "confdefs.h"
11428 #include <stdlib.h>
11433 ws = L"Hello, world!";
11437 if { (eval echo configure
:11438: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11439 wx_cv_type_wchar_t
=yes
11441 echo "configure: failed program was:" >&5
11442 cat conftest.
$ac_ext >&5
11444 wx_cv_type_wchar_t
=no
11453 echo "$ac_t""$wx_cv_type_wchar_t" 1>&6
11455 if test "$wx_cv_type_wchar_t" = "yes"; then
11456 cat >> confdefs.h
<<\EOF
11457 #define wxUSE_WCHAR_T 1
11464 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11465 ac_cpp
='$CXXCPP $CPPFLAGS'
11466 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11467 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11468 cross_compiling
=$ac_cv_prog_cxx_cross
11470 echo $ac_n "checking if size_t is unsigned int""... $ac_c" 1>&6
11471 echo "configure:11472: checking if size_t is unsigned int" >&5
11472 if eval "test \"`echo '$''{'wx_cv_size_t_is_uint'+set}'`\" = set"; then
11473 echo $ac_n "(cached) $ac_c" 1>&6
11475 cat > conftest.
$ac_ext <<EOF
11476 #line 11477 "configure"
11477 #include "confdefs.h"
11478 #include <stddef.h>
11483 struct Foo { void foo(size_t); void foo(unsigned int); };
11489 if { (eval echo configure
:11490: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11491 wx_cv_size_t_is_uint
=no
11493 echo "configure: failed program was:" >&5
11494 cat conftest.
$ac_ext >&5
11496 wx_cv_size_t_is_uint
=yes
11503 echo "$ac_t""$wx_cv_size_t_is_uint" 1>&6
11505 if test "$wx_cv_size_t_is_uint" = "yes"; then
11506 cat >> confdefs.h
<<\EOF
11507 #define wxSIZE_T_IS_UINT 1
11511 echo $ac_n "checking if size_t is unsigned long""... $ac_c" 1>&6
11512 echo "configure:11513: checking if size_t is unsigned long" >&5
11513 if eval "test \"`echo '$''{'wx_cv_size_t_is_ulong'+set}'`\" = set"; then
11514 echo $ac_n "(cached) $ac_c" 1>&6
11516 cat > conftest.
$ac_ext <<EOF
11517 #line 11518 "configure"
11518 #include "confdefs.h"
11519 #include <stddef.h>
11524 struct Foo { void foo(size_t); void foo(unsigned long); };
11530 if { (eval echo configure
:11531: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11532 wx_cv_size_t_is_ulong
=no
11534 echo "configure: failed program was:" >&5
11535 cat conftest.
$ac_ext >&5
11537 wx_cv_size_t_is_ulong
=yes
11544 echo "$ac_t""$wx_cv_size_t_is_ulong" 1>&6
11546 if test "$wx_cv_size_t_is_ulong" = "yes"; then
11547 cat >> confdefs.h
<<\EOF
11548 #define wxSIZE_T_IS_ULONG 1
11555 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11556 ac_cpp
='$CPP $CPPFLAGS'
11557 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11558 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11559 cross_compiling
=$ac_cv_prog_cc_cross
11563 echo $ac_n "checking for pw_gecos in struct passwd""... $ac_c" 1>&6
11564 echo "configure:11565: checking for pw_gecos in struct passwd" >&5
11565 if eval "test \"`echo '$''{'wx_cv_struct_pw_gecos'+set}'`\" = set"; then
11566 echo $ac_n "(cached) $ac_c" 1>&6
11569 cat > conftest.
$ac_ext <<EOF
11570 #line 11571 "configure"
11571 #include "confdefs.h"
11581 if { (eval echo configure
:11582: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11584 wx_cv_struct_pw_gecos
=yes
11587 echo "configure: failed program was:" >&5
11588 cat conftest.
$ac_ext >&5
11591 wx_cv_struct_pw_gecos
=no
11600 echo "$ac_t""$wx_cv_struct_pw_gecos" 1>&6
11602 if test "$wx_cv_struct_pw_gecos" = "yes"; then
11603 cat >> confdefs.h
<<\EOF
11604 #define HAVE_PW_GECOS 1
11610 echo $ac_n "checking for working const""... $ac_c" 1>&6
11611 echo "configure:11612: checking for working const" >&5
11612 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
11613 echo $ac_n "(cached) $ac_c" 1>&6
11615 cat > conftest.
$ac_ext <<EOF
11616 #line 11617 "configure"
11617 #include "confdefs.h"
11621 /* Ultrix mips cc rejects this. */
11622 typedef int charset[2]; const charset x;
11623 /* SunOS 4.1.1 cc rejects this. */
11624 char const *const *ccp;
11626 /* NEC SVR4.0.2 mips cc rejects this. */
11627 struct point {int x, y;};
11628 static struct point const zero = {0,0};
11629 /* AIX XL C 1.02.0.0 rejects this.
11630 It does not let you subtract one const X* pointer from another in an arm
11631 of an if-expression whose if-part is not a constant expression */
11632 const char *g = "string";
11633 ccp = &g + (g ? g-g : 0);
11634 /* HPUX 7.0 cc rejects these. */
11637 ccp = (char const *const *) p;
11638 { /* SCO 3.2v4 cc rejects this. */
11640 char const *s = 0 ? (char *) 0 : (char const *) 0;
11644 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
11645 int x[] = {25, 17};
11646 const int *foo = &x[0];
11649 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
11650 typedef const int *iptr;
11654 { /* AIX XL C 1.02.0.0 rejects this saying
11655 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
11656 struct s { int j; const int *ap[3]; };
11657 struct s *b; b->j = 5;
11659 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
11660 const int foo = 10;
11665 if { (eval echo configure
:11666: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11669 echo "configure: failed program was:" >&5
11670 cat conftest.
$ac_ext >&5
11677 echo "$ac_t""$ac_cv_c_const" 1>&6
11678 if test $ac_cv_c_const = no
; then
11679 cat >> confdefs.h
<<\EOF
11685 echo $ac_n "checking for inline""... $ac_c" 1>&6
11686 echo "configure:11687: checking for inline" >&5
11687 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
11688 echo $ac_n "(cached) $ac_c" 1>&6
11691 for ac_kw
in inline __inline__ __inline
; do
11692 cat > conftest.
$ac_ext <<EOF
11693 #line 11694 "configure"
11694 #include "confdefs.h"
11700 if { (eval echo configure
:11701: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11702 ac_cv_c_inline
=$ac_kw; break
11704 echo "configure: failed program was:" >&5
11705 cat conftest.
$ac_ext >&5
11712 echo "$ac_t""$ac_cv_c_inline" 1>&6
11713 case "$ac_cv_c_inline" in
11715 no
) cat >> confdefs.h
<<\EOF
11719 *) cat >> confdefs.h
<<EOF
11720 #define inline $ac_cv_c_inline
11726 echo $ac_n "checking size of char""... $ac_c" 1>&6
11727 echo "configure:11728: checking size of char" >&5
11728 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
11729 echo $ac_n "(cached) $ac_c" 1>&6
11731 if test "$cross_compiling" = yes; then
11732 ac_cv_sizeof_char
=1
11734 cat > conftest.
$ac_ext <<EOF
11735 #line 11736 "configure"
11736 #include "confdefs.h"
11740 FILE *f=fopen("conftestval", "w");
11742 fprintf(f, "%d\n", sizeof(char));
11746 if { (eval echo configure
:11747: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11748 ac_cv_sizeof_char
=`cat conftestval`
11750 echo "configure: failed program was:" >&5
11751 cat conftest.
$ac_ext >&5
11753 ac_cv_sizeof_char
=0
11759 echo "$ac_t""$ac_cv_sizeof_char" 1>&6
11760 cat >> confdefs.h
<<EOF
11761 #define SIZEOF_CHAR $ac_cv_sizeof_char
11765 echo $ac_n "checking size of short""... $ac_c" 1>&6
11766 echo "configure:11767: checking size of short" >&5
11767 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
11768 echo $ac_n "(cached) $ac_c" 1>&6
11770 if test "$cross_compiling" = yes; then
11771 ac_cv_sizeof_short
=2
11773 cat > conftest.
$ac_ext <<EOF
11774 #line 11775 "configure"
11775 #include "confdefs.h"
11779 FILE *f=fopen("conftestval", "w");
11781 fprintf(f, "%d\n", sizeof(short));
11785 if { (eval echo configure
:11786: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11787 ac_cv_sizeof_short
=`cat conftestval`
11789 echo "configure: failed program was:" >&5
11790 cat conftest.
$ac_ext >&5
11792 ac_cv_sizeof_short
=0
11798 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
11799 cat >> confdefs.h
<<EOF
11800 #define SIZEOF_SHORT $ac_cv_sizeof_short
11804 echo $ac_n "checking size of int *""... $ac_c" 1>&6
11805 echo "configure:11806: checking size of int *" >&5
11806 if eval "test \"`echo '$''{'ac_cv_sizeof_int_p'+set}'`\" = set"; then
11807 echo $ac_n "(cached) $ac_c" 1>&6
11809 if test "$cross_compiling" = yes; then
11810 ac_cv_sizeof_int_p
=4
11812 cat > conftest.
$ac_ext <<EOF
11813 #line 11814 "configure"
11814 #include "confdefs.h"
11818 FILE *f=fopen("conftestval", "w");
11820 fprintf(f, "%d\n", sizeof(int *));
11824 if { (eval echo configure
:11825: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11826 ac_cv_sizeof_int_p
=`cat conftestval`
11828 echo "configure: failed program was:" >&5
11829 cat conftest.
$ac_ext >&5
11831 ac_cv_sizeof_int_p
=0
11837 echo "$ac_t""$ac_cv_sizeof_int_p" 1>&6
11838 cat >> confdefs.h
<<EOF
11839 #define SIZEOF_INT_P $ac_cv_sizeof_int_p
11843 echo $ac_n "checking size of int""... $ac_c" 1>&6
11844 echo "configure:11845: checking size of int" >&5
11845 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
11846 echo $ac_n "(cached) $ac_c" 1>&6
11848 if test "$cross_compiling" = yes; then
11851 cat > conftest.
$ac_ext <<EOF
11852 #line 11853 "configure"
11853 #include "confdefs.h"
11857 FILE *f=fopen("conftestval", "w");
11859 fprintf(f, "%d\n", sizeof(int));
11863 if { (eval echo configure
:11864: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11865 ac_cv_sizeof_int
=`cat conftestval`
11867 echo "configure: failed program was:" >&5
11868 cat conftest.
$ac_ext >&5
11876 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
11877 cat >> confdefs.h
<<EOF
11878 #define SIZEOF_INT $ac_cv_sizeof_int
11882 echo $ac_n "checking size of long""... $ac_c" 1>&6
11883 echo "configure:11884: checking size of long" >&5
11884 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
11885 echo $ac_n "(cached) $ac_c" 1>&6
11887 if test "$cross_compiling" = yes; then
11888 ac_cv_sizeof_long
=4
11890 cat > conftest.
$ac_ext <<EOF
11891 #line 11892 "configure"
11892 #include "confdefs.h"
11896 FILE *f=fopen("conftestval", "w");
11898 fprintf(f, "%d\n", sizeof(long));
11902 if { (eval echo configure
:11903: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11904 ac_cv_sizeof_long
=`cat conftestval`
11906 echo "configure: failed program was:" >&5
11907 cat conftest.
$ac_ext >&5
11909 ac_cv_sizeof_long
=0
11915 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
11916 cat >> confdefs.h
<<EOF
11917 #define SIZEOF_LONG $ac_cv_sizeof_long
11921 echo $ac_n "checking size of long long""... $ac_c" 1>&6
11922 echo "configure:11923: checking size of long long" >&5
11923 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
11924 echo $ac_n "(cached) $ac_c" 1>&6
11926 if test "$cross_compiling" = yes; then
11927 ac_cv_sizeof_long_long
=0
11929 cat > conftest.
$ac_ext <<EOF
11930 #line 11931 "configure"
11931 #include "confdefs.h"
11935 FILE *f=fopen("conftestval", "w");
11937 fprintf(f, "%d\n", sizeof(long long));
11941 if { (eval echo configure
:11942: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11943 ac_cv_sizeof_long_long
=`cat conftestval`
11945 echo "configure: failed program was:" >&5
11946 cat conftest.
$ac_ext >&5
11948 ac_cv_sizeof_long_long
=0
11954 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
11955 cat >> confdefs.h
<<EOF
11956 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
11961 echo $ac_n "checking size of wchar_t""... $ac_c" 1>&6
11962 echo "configure:11963: checking size of wchar_t" >&5
11963 if eval "test \"`echo '$''{'wx_cv_sizeof_wchar_t'+set}'`\" = set"; then
11964 echo $ac_n "(cached) $ac_c" 1>&6
11967 if test "$cross_compiling" = yes; then
11968 wx_cv_sizeof_wchar_t
=4
11971 cat > conftest.
$ac_ext <<EOF
11972 #line 11973 "configure"
11973 #include "confdefs.h"
11975 #ifdef HAVE_WCHAR_H
11976 # include <wchar.h>
11978 #ifdef HAVE_STDLIB_H
11979 # include <stdlib.h>
11984 FILE *f=fopen("conftestval", "w");
11986 fprintf(f, "%i", sizeof(wchar_t));
11991 if { (eval echo configure
:11992: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11993 wx_cv_sizeof_wchar_t
=`cat conftestval`
11995 echo "configure: failed program was:" >&5
11996 cat conftest.
$ac_ext >&5
11998 wx_cv_sizeof_wchar_t
=0
12006 echo "$ac_t""$wx_cv_sizeof_wchar_t" 1>&6
12008 cat >> confdefs.h
<<EOF
12009 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
12013 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
12014 echo "configure:12015: checking whether byte ordering is bigendian" >&5
12015 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
12016 echo $ac_n "(cached) $ac_c" 1>&6
12018 ac_cv_c_bigendian
=unknown
12019 # See if sys/param.h defines the BYTE_ORDER macro.
12020 cat > conftest.
$ac_ext <<EOF
12021 #line 12022 "configure"
12022 #include "confdefs.h"
12023 #include <sys/types.h>
12024 #include <sys/param.h>
12027 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
12028 bogus endian macros
12032 if { (eval echo configure
:12033: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12034 # It does; now see whether it defined to BIG_ENDIAN or not.
12035 cat > conftest.
$ac_ext <<EOF
12036 #line 12037 "configure"
12037 #include "confdefs.h"
12038 #include <sys/types.h>
12039 #include <sys/param.h>
12042 #if BYTE_ORDER != BIG_ENDIAN
12047 if { (eval echo configure
:12048: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12049 ac_cv_c_bigendian
=yes
12051 echo "configure: failed program was:" >&5
12052 cat conftest.
$ac_ext >&5
12054 ac_cv_c_bigendian
=no
12058 echo "configure: failed program was:" >&5
12059 cat conftest.
$ac_ext >&5
12062 if test $ac_cv_c_bigendian = unknown
; then
12063 if test "$cross_compiling" = yes; then
12064 ac_cv_c_bigendian
=unknown
12066 cat > conftest.
$ac_ext <<EOF
12067 #line 12068 "configure"
12068 #include "confdefs.h"
12070 /* Are we little or big endian? From Harbison&Steele. */
12074 char c[sizeof (long)];
12077 exit (u.c[sizeof (long) - 1] == 1);
12080 if { (eval echo configure
:12081: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12082 ac_cv_c_bigendian
=no
12084 echo "configure: failed program was:" >&5
12085 cat conftest.
$ac_ext >&5
12087 ac_cv_c_bigendian
=yes
12095 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
12096 if test $ac_cv_c_bigendian = unknown
; then
12097 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
12099 if test $ac_cv_c_bigendian = yes; then
12100 cat >> confdefs.h
<<\EOF
12101 #define WORDS_BIGENDIAN 1
12108 if test "$cross_compiling" = "yes"; then
12109 cat >> confdefs.h
<<\EOF
12110 #define wxUSE_IOSTREAMH 1
12116 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12117 ac_cpp
='$CXXCPP $CPPFLAGS'
12118 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12119 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12120 cross_compiling
=$ac_cv_prog_cxx_cross
12123 for ac_hdr
in iostream
12125 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12126 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12127 echo "configure:12128: checking for $ac_hdr" >&5
12128 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12129 echo $ac_n "(cached) $ac_c" 1>&6
12131 cat > conftest.
$ac_ext <<EOF
12132 #line 12133 "configure"
12133 #include "confdefs.h"
12136 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12137 { (eval echo configure
:12138: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12138 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12139 if test -z "$ac_err"; then
12141 eval "ac_cv_header_$ac_safe=yes"
12144 echo "configure: failed program was:" >&5
12145 cat conftest.
$ac_ext >&5
12147 eval "ac_cv_header_$ac_safe=no"
12151 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12152 echo "$ac_t""yes" 1>&6
12153 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12154 cat >> confdefs.h
<<EOF
12155 #define $ac_tr_hdr 1
12159 echo "$ac_t""no" 1>&6
12164 if test "$ac_cv_header_iostream" = "yes" ; then
12167 cat >> confdefs.h
<<\EOF
12168 #define wxUSE_IOSTREAMH 1
12174 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12175 ac_cpp
='$CPP $CPPFLAGS'
12176 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12177 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12178 cross_compiling
=$ac_cv_prog_cc_cross
12184 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
12185 echo "configure:12186: checking if C++ compiler supports bool" >&5
12186 if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
12187 echo $ac_n "(cached) $ac_c" 1>&6
12192 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12193 ac_cpp
='$CXXCPP $CPPFLAGS'
12194 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12195 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12196 cross_compiling
=$ac_cv_prog_cxx_cross
12199 cat > conftest.
$ac_ext <<EOF
12200 #line 12201 "configure"
12201 #include "confdefs.h"
12212 if { (eval echo configure
:12213: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12218 echo "configure: failed program was:" >&5
12219 cat conftest.
$ac_ext >&5
12229 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12230 ac_cpp
='$CPP $CPPFLAGS'
12231 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12232 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12233 cross_compiling
=$ac_cv_prog_cc_cross
12238 echo "$ac_t""$wx_cv_cpp_bool" 1>&6
12240 if test "$wx_cv_cpp_bool" = "yes"; then
12241 cat >> confdefs.h
<<\EOF
12242 #define HAVE_BOOL 1
12249 echo $ac_n "checking for wcslen in -lc""... $ac_c" 1>&6
12250 echo "configure:12251: checking for wcslen in -lc" >&5
12251 ac_lib_var
=`echo c'_'wcslen | sed 'y%./+-%__p_%'`
12252 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12253 echo $ac_n "(cached) $ac_c" 1>&6
12255 ac_save_LIBS
="$LIBS"
12257 cat > conftest.
$ac_ext <<EOF
12258 #line 12259 "configure"
12259 #include "confdefs.h"
12260 /* Override any gcc2 internal prototype to avoid an error. */
12261 /* We use char because int might match the return type of a gcc2
12262 builtin and then its argument prototype would still apply. */
12269 if { (eval echo configure
:12270: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12271 eval "ac_cv_lib_$ac_lib_var=yes"
12273 echo "configure: failed program was:" >&5
12274 cat conftest.
$ac_ext >&5
12276 eval "ac_cv_lib_$ac_lib_var=no"
12279 LIBS
="$ac_save_LIBS"
12282 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12283 echo "$ac_t""yes" 1>&6
12285 cat >> confdefs.h
<<\EOF
12286 #define HAVE_WCSLEN 1
12292 echo "$ac_t""no" 1>&6
12294 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
12295 echo "configure:12296: checking for wcslen in -lw" >&5
12296 ac_lib_var
=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
12297 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12298 echo $ac_n "(cached) $ac_c" 1>&6
12300 ac_save_LIBS
="$LIBS"
12302 cat > conftest.
$ac_ext <<EOF
12303 #line 12304 "configure"
12304 #include "confdefs.h"
12305 /* Override any gcc2 internal prototype to avoid an error. */
12306 /* We use char because int might match the return type of a gcc2
12307 builtin and then its argument prototype would still apply. */
12314 if { (eval echo configure
:12315: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12316 eval "ac_cv_lib_$ac_lib_var=yes"
12318 echo "configure: failed program was:" >&5
12319 cat conftest.
$ac_ext >&5
12321 eval "ac_cv_lib_$ac_lib_var=no"
12324 LIBS
="$ac_save_LIBS"
12327 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12328 echo "$ac_t""yes" 1>&6
12330 cat >> confdefs.h
<<\EOF
12331 #define HAVE_WCSLEN 1
12337 echo "$ac_t""no" 1>&6
12344 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
12345 echo "configure:12346: checking for vprintf" >&5
12346 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
12347 echo $ac_n "(cached) $ac_c" 1>&6
12349 cat > conftest.
$ac_ext <<EOF
12350 #line 12351 "configure"
12351 #include "confdefs.h"
12352 /* System header to define __stub macros and hopefully few prototypes,
12353 which can conflict with char vprintf(); below. */
12354 #include <assert.h>
12355 /* Override any gcc2 internal prototype to avoid an error. */
12356 /* We use char because int might match the return type of a gcc2
12357 builtin and then its argument prototype would still apply. */
12362 /* The GNU C library defines this for functions which it implements
12363 to always fail with ENOSYS. Some functions are actually named
12364 something starting with __ and the normal name is an alias. */
12365 #if defined (__stub_vprintf) || defined (__stub___vprintf)
12373 if { (eval echo configure
:12374: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12375 eval "ac_cv_func_vprintf=yes"
12377 echo "configure: failed program was:" >&5
12378 cat conftest.
$ac_ext >&5
12380 eval "ac_cv_func_vprintf=no"
12385 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
12386 echo "$ac_t""yes" 1>&6
12387 cat >> confdefs.h
<<\EOF
12388 #define HAVE_VPRINTF 1
12392 echo "$ac_t""no" 1>&6
12395 if test "$ac_cv_func_vprintf" != yes; then
12396 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
12397 echo "configure:12398: checking for _doprnt" >&5
12398 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
12399 echo $ac_n "(cached) $ac_c" 1>&6
12401 cat > conftest.
$ac_ext <<EOF
12402 #line 12403 "configure"
12403 #include "confdefs.h"
12404 /* System header to define __stub macros and hopefully few prototypes,
12405 which can conflict with char _doprnt(); below. */
12406 #include <assert.h>
12407 /* Override any gcc2 internal prototype to avoid an error. */
12408 /* We use char because int might match the return type of a gcc2
12409 builtin and then its argument prototype would still apply. */
12414 /* The GNU C library defines this for functions which it implements
12415 to always fail with ENOSYS. Some functions are actually named
12416 something starting with __ and the normal name is an alias. */
12417 #if defined (__stub__doprnt) || defined (__stub____doprnt)
12425 if { (eval echo configure
:12426: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12427 eval "ac_cv_func__doprnt=yes"
12429 echo "configure: failed program was:" >&5
12430 cat conftest.
$ac_ext >&5
12432 eval "ac_cv_func__doprnt=no"
12437 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
12438 echo "$ac_t""yes" 1>&6
12439 cat >> confdefs.h
<<\EOF
12440 #define HAVE_DOPRNT 1
12444 echo "$ac_t""no" 1>&6
12455 echo $ac_n "checking for vsnprintf""... $ac_c" 1>&6
12456 echo "configure:12457: checking for vsnprintf" >&5
12457 if eval "test \"`echo '$''{'wx_cv_func_vsnprintf'+set}'`\" = set"; then
12458 echo $ac_n "(cached) $ac_c" 1>&6
12461 cat > conftest.
$ac_ext <<EOF
12462 #line 12463 "configure"
12463 #include "confdefs.h"
12466 #include <stdarg.h>
12470 int wx_test_vsnprintf(const char *, ...);
12472 wx_test_vsnprintf("%s");
12476 int wx_test_vsnprintf(const char *fmt, ...)
12481 va_start(argp, fmt);
12482 vsnprintf(s, 42, fmt, argp);
12487 if { (eval echo configure
:12488: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12490 wx_cv_func_vsnprintf
=yes
12493 echo "configure: failed program was:" >&5
12494 cat conftest.
$ac_ext >&5
12497 cat > conftest.
$ac_ext <<EOF
12498 #line 12499 "configure"
12499 #include "confdefs.h"
12502 #include <stdarg.h>
12506 int wx_test_vsnprintf(const char *, ...);
12508 wx_test_vsnprintf("%s");
12512 int wx_test_vsnprintf(const char *fmt, ...)
12517 va_start(argp, fmt);
12518 _vsnprintf(s, 42, fmt, argp);
12523 if { (eval echo configure
:12524: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12526 wx_cv_func_vsnprintf
=yes
12529 echo "configure: failed program was:" >&5
12530 cat conftest.
$ac_ext >&5
12533 wx_cv_func_vsnprintf
=no
12543 echo "$ac_t""$wx_cv_func_vsnprintf" 1>&6
12545 if test "$wx_cv_func_vsnprintf" = yes; then
12546 cat >> confdefs.h
<<\EOF
12547 #define HAVE_VSNPRINTF 1
12551 echo "configure: warning: unsafe function sprintf will be used instead of snprintf" 1>&2
12554 echo $ac_n "checking for vsscanf""... $ac_c" 1>&6
12555 echo "configure:12556: checking for vsscanf" >&5
12556 if eval "test \"`echo '$''{'wx_cv_func_vsscanf'+set}'`\" = set"; then
12557 echo $ac_n "(cached) $ac_c" 1>&6
12560 cat > conftest.
$ac_ext <<EOF
12561 #line 12562 "configure"
12562 #include "confdefs.h"
12565 #include <stdarg.h>
12569 int wx_test_vsscanf(const char *, ...);
12571 wx_test_vsscanf("%d");
12575 int wx_test_vsscanf(const char *fmt, ...)
12578 va_start(argp, fmt);
12579 vsscanf("42", fmt, argp);
12584 if { (eval echo configure
:12585: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12587 wx_cv_func_vsscanf
=yes
12590 echo "configure: failed program was:" >&5
12591 cat conftest.
$ac_ext >&5
12594 wx_cv_func_vsscanf
=no
12601 echo "$ac_t""$wx_cv_func_vsscanf" 1>&6
12603 if test "$wx_cv_func_vsscanf" = yes; then
12604 cat >> confdefs.h
<<\EOF
12605 #define HAVE_VSSCANF 1
12610 if test "$TOOLKIT" != "MSW"; then
12615 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12616 ac_cpp
='$CXXCPP $CPPFLAGS'
12617 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12618 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12619 cross_compiling
=$ac_cv_prog_cxx_cross
12621 echo $ac_n "checking if iconv() takes char**""... $ac_c" 1>&6
12622 echo "configure:12623: checking if iconv() takes char**" >&5
12623 if eval "test \"`echo '$''{'wx_cv_iconv_takes_char'+set}'`\" = set"; then
12624 echo $ac_n "(cached) $ac_c" 1>&6
12627 cat > conftest.
$ac_ext <<EOF
12628 #line 12629 "configure"
12629 #include "confdefs.h"
12633 char **inbuf, **outbuf;
12635 size_t insz, outsz;
12636 iconv(cd, inbuf, &insz, outbuf, &outsz);
12640 if { (eval echo configure
:12641: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12642 wx_cv_iconv_takes_char
=yes
12644 echo "configure: failed program was:" >&5
12645 cat conftest.
$ac_ext >&5
12647 wx_cv_iconv_takes_char
=no
12653 echo "$ac_t""$wx_cv_iconv_takes_char" 1>&6
12655 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12656 ac_cpp
='$CPP $CPPFLAGS'
12657 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12658 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12659 cross_compiling
=$ac_cv_prog_cc_cross
12661 if test "$wx_cv_iconv_takes_char" = yes ; then
12662 cat >> confdefs.h
<<\EOF
12663 #define WX_ICONV_TAKES_CHAR 1
12669 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
12670 for ac_func
in sigaction
12672 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12673 echo "configure:12674: checking for $ac_func" >&5
12674 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12675 echo $ac_n "(cached) $ac_c" 1>&6
12677 cat > conftest.
$ac_ext <<EOF
12678 #line 12679 "configure"
12679 #include "confdefs.h"
12680 /* System header to define __stub macros and hopefully few prototypes,
12681 which can conflict with char $ac_func(); below. */
12682 #include <assert.h>
12683 /* Override any gcc2 internal prototype to avoid an error. */
12684 /* We use char because int might match the return type of a gcc2
12685 builtin and then its argument prototype would still apply. */
12690 /* The GNU C library defines this for functions which it implements
12691 to always fail with ENOSYS. Some functions are actually named
12692 something starting with __ and the normal name is an alias. */
12693 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12701 if { (eval echo configure
:12702: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12703 eval "ac_cv_func_$ac_func=yes"
12705 echo "configure: failed program was:" >&5
12706 cat conftest.
$ac_ext >&5
12708 eval "ac_cv_func_$ac_func=no"
12713 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12714 echo "$ac_t""yes" 1>&6
12715 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12716 cat >> confdefs.h
<<EOF
12717 #define $ac_tr_func 1
12721 echo "$ac_t""no" 1>&6
12726 if test "$ac_cv_func_sigaction" = "no"; then
12727 echo "configure: warning: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" 1>&2
12728 wxUSE_ON_FATAL_EXCEPTION
=no
12731 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
12734 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12735 ac_cpp
='$CXXCPP $CPPFLAGS'
12736 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12737 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12738 cross_compiling
=$ac_cv_prog_cxx_cross
12741 echo $ac_n "checking for sa_handler type""... $ac_c" 1>&6
12742 echo "configure:12743: checking for sa_handler type" >&5
12743 if eval "test \"`echo '$''{'wx_cv_type_sa_handler'+set}'`\" = set"; then
12744 echo $ac_n "(cached) $ac_c" 1>&6
12747 cat > conftest.
$ac_ext <<EOF
12748 #line 12749 "configure"
12749 #include "confdefs.h"
12750 #include <signal.h>
12753 extern void testSigHandler(int);
12755 struct sigaction sa;
12756 sa.sa_handler = testSigHandler;
12760 if { (eval echo configure
:12761: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12763 wx_cv_type_sa_handler
=int
12766 echo "configure: failed program was:" >&5
12767 cat conftest.
$ac_ext >&5
12770 wx_cv_type_sa_handler
=void
12777 echo "$ac_t""$wx_cv_type_sa_handler" 1>&6
12780 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12781 ac_cpp
='$CPP $CPPFLAGS'
12782 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12783 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12784 cross_compiling
=$ac_cv_prog_cc_cross
12787 cat >> confdefs.h
<<EOF
12788 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
12794 for ac_func
in vfork
12796 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12797 echo "configure:12798: checking for $ac_func" >&5
12798 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12799 echo $ac_n "(cached) $ac_c" 1>&6
12801 cat > conftest.
$ac_ext <<EOF
12802 #line 12803 "configure"
12803 #include "confdefs.h"
12804 /* System header to define __stub macros and hopefully few prototypes,
12805 which can conflict with char $ac_func(); below. */
12806 #include <assert.h>
12807 /* Override any gcc2 internal prototype to avoid an error. */
12808 /* We use char because int might match the return type of a gcc2
12809 builtin and then its argument prototype would still apply. */
12814 /* The GNU C library defines this for functions which it implements
12815 to always fail with ENOSYS. Some functions are actually named
12816 something starting with __ and the normal name is an alias. */
12817 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12825 if { (eval echo configure
:12826: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12827 eval "ac_cv_func_$ac_func=yes"
12829 echo "configure: failed program was:" >&5
12830 cat conftest.
$ac_ext >&5
12832 eval "ac_cv_func_$ac_func=no"
12837 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12838 echo "$ac_t""yes" 1>&6
12839 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12840 cat >> confdefs.h
<<EOF
12841 #define $ac_tr_func 1
12845 echo "$ac_t""no" 1>&6
12850 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
12851 for ac_func
in fcntl flock
12853 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12854 echo "configure:12855: checking for $ac_func" >&5
12855 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12856 echo $ac_n "(cached) $ac_c" 1>&6
12858 cat > conftest.
$ac_ext <<EOF
12859 #line 12860 "configure"
12860 #include "confdefs.h"
12861 /* System header to define __stub macros and hopefully few prototypes,
12862 which can conflict with char $ac_func(); below. */
12863 #include <assert.h>
12864 /* Override any gcc2 internal prototype to avoid an error. */
12865 /* We use char because int might match the return type of a gcc2
12866 builtin and then its argument prototype would still apply. */
12871 /* The GNU C library defines this for functions which it implements
12872 to always fail with ENOSYS. Some functions are actually named
12873 something starting with __ and the normal name is an alias. */
12874 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12882 if { (eval echo configure
:12883: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12884 eval "ac_cv_func_$ac_func=yes"
12886 echo "configure: failed program was:" >&5
12887 cat conftest.
$ac_ext >&5
12889 eval "ac_cv_func_$ac_func=no"
12894 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12895 echo "$ac_t""yes" 1>&6
12896 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12897 cat >> confdefs.h
<<EOF
12898 #define $ac_tr_func 1
12902 echo "$ac_t""no" 1>&6
12907 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
12908 echo "configure: warning: wxSingleInstanceChecker not available" 1>&2
12909 wxUSE_SNGLINST_CHECKER
=no
12913 for ac_func
in timegm
12915 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12916 echo "configure:12917: checking for $ac_func" >&5
12917 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12918 echo $ac_n "(cached) $ac_c" 1>&6
12920 cat > conftest.
$ac_ext <<EOF
12921 #line 12922 "configure"
12922 #include "confdefs.h"
12923 /* System header to define __stub macros and hopefully few prototypes,
12924 which can conflict with char $ac_func(); below. */
12925 #include <assert.h>
12926 /* Override any gcc2 internal prototype to avoid an error. */
12927 /* We use char because int might match the return type of a gcc2
12928 builtin and then its argument prototype would still apply. */
12933 /* The GNU C library defines this for functions which it implements
12934 to always fail with ENOSYS. Some functions are actually named
12935 something starting with __ and the normal name is an alias. */
12936 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12944 if { (eval echo configure
:12945: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12946 eval "ac_cv_func_$ac_func=yes"
12948 echo "configure: failed program was:" >&5
12949 cat conftest.
$ac_ext >&5
12951 eval "ac_cv_func_$ac_func=no"
12956 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12957 echo "$ac_t""yes" 1>&6
12958 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12959 cat >> confdefs.h
<<EOF
12960 #define $ac_tr_func 1
12964 echo "$ac_t""no" 1>&6
12969 for ac_func
in putenv setenv
12971 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12972 echo "configure:12973: checking for $ac_func" >&5
12973 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12974 echo $ac_n "(cached) $ac_c" 1>&6
12976 cat > conftest.
$ac_ext <<EOF
12977 #line 12978 "configure"
12978 #include "confdefs.h"
12979 /* System header to define __stub macros and hopefully few prototypes,
12980 which can conflict with char $ac_func(); below. */
12981 #include <assert.h>
12982 /* Override any gcc2 internal prototype to avoid an error. */
12983 /* We use char because int might match the return type of a gcc2
12984 builtin and then its argument prototype would still apply. */
12989 /* The GNU C library defines this for functions which it implements
12990 to always fail with ENOSYS. Some functions are actually named
12991 something starting with __ and the normal name is an alias. */
12992 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13000 if { (eval echo configure
:13001: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13002 eval "ac_cv_func_$ac_func=yes"
13004 echo "configure: failed program was:" >&5
13005 cat conftest.
$ac_ext >&5
13007 eval "ac_cv_func_$ac_func=no"
13012 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13013 echo "$ac_t""yes" 1>&6
13014 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13015 cat >> confdefs.h
<<EOF
13016 #define $ac_tr_func 1
13020 echo "$ac_t""no" 1>&6
13025 HAVE_SOME_SLEEP_FUNC
=0
13026 if test "$USE_BEOS" = 1; then
13027 cat >> confdefs.h
<<\EOF
13028 #define HAVE_SLEEP 1
13031 HAVE_SOME_SLEEP_FUNC
=1
13034 if test "$USE_MAC" = 1; then
13035 cat >> confdefs.h
<<\EOF
13036 #define HAVE_USLEEP 1
13039 HAVE_SOME_SLEEP_FUNC
=1
13042 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
13044 for ac_func
in nanosleep
13046 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13047 echo "configure:13048: checking for $ac_func" >&5
13048 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13049 echo $ac_n "(cached) $ac_c" 1>&6
13051 cat > conftest.
$ac_ext <<EOF
13052 #line 13053 "configure"
13053 #include "confdefs.h"
13054 /* System header to define __stub macros and hopefully few prototypes,
13055 which can conflict with char $ac_func(); below. */
13056 #include <assert.h>
13057 /* Override any gcc2 internal prototype to avoid an error. */
13058 /* We use char because int might match the return type of a gcc2
13059 builtin and then its argument prototype would still apply. */
13064 /* The GNU C library defines this for functions which it implements
13065 to always fail with ENOSYS. Some functions are actually named
13066 something starting with __ and the normal name is an alias. */
13067 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13075 if { (eval echo configure
:13076: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13077 eval "ac_cv_func_$ac_func=yes"
13079 echo "configure: failed program was:" >&5
13080 cat conftest.
$ac_ext >&5
13082 eval "ac_cv_func_$ac_func=no"
13087 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13088 echo "$ac_t""yes" 1>&6
13089 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13090 cat >> confdefs.h
<<EOF
13091 #define $ac_tr_func 1
13093 cat >> confdefs.h
<<\EOF
13094 #define HAVE_NANOSLEEP 1
13098 echo "$ac_t""no" 1>&6
13099 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
13100 echo "configure:13101: checking for nanosleep in -lposix4" >&5
13101 ac_lib_var
=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
13102 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13103 echo $ac_n "(cached) $ac_c" 1>&6
13105 ac_save_LIBS
="$LIBS"
13106 LIBS
="-lposix4 $LIBS"
13107 cat > conftest.
$ac_ext <<EOF
13108 #line 13109 "configure"
13109 #include "confdefs.h"
13110 /* Override any gcc2 internal prototype to avoid an error. */
13111 /* We use char because int might match the return type of a gcc2
13112 builtin and then its argument prototype would still apply. */
13119 if { (eval echo configure
:13120: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13121 eval "ac_cv_lib_$ac_lib_var=yes"
13123 echo "configure: failed program was:" >&5
13124 cat conftest.
$ac_ext >&5
13126 eval "ac_cv_lib_$ac_lib_var=no"
13129 LIBS
="$ac_save_LIBS"
13132 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13133 echo "$ac_t""yes" 1>&6
13135 cat >> confdefs.h
<<\EOF
13136 #define HAVE_NANOSLEEP 1
13139 POSIX4_LINK
="-lposix4"
13142 echo "$ac_t""no" 1>&6
13144 for ac_func
in usleep
13146 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13147 echo "configure:13148: checking for $ac_func" >&5
13148 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13149 echo $ac_n "(cached) $ac_c" 1>&6
13151 cat > conftest.
$ac_ext <<EOF
13152 #line 13153 "configure"
13153 #include "confdefs.h"
13154 /* System header to define __stub macros and hopefully few prototypes,
13155 which can conflict with char $ac_func(); below. */
13156 #include <assert.h>
13157 /* Override any gcc2 internal prototype to avoid an error. */
13158 /* We use char because int might match the return type of a gcc2
13159 builtin and then its argument prototype would still apply. */
13164 /* The GNU C library defines this for functions which it implements
13165 to always fail with ENOSYS. Some functions are actually named
13166 something starting with __ and the normal name is an alias. */
13167 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13175 if { (eval echo configure
:13176: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13177 eval "ac_cv_func_$ac_func=yes"
13179 echo "configure: failed program was:" >&5
13180 cat conftest.
$ac_ext >&5
13182 eval "ac_cv_func_$ac_func=no"
13187 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13188 echo "$ac_t""yes" 1>&6
13189 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13190 cat >> confdefs.h
<<EOF
13191 #define $ac_tr_func 1
13193 cat >> confdefs.h
<<\EOF
13194 #define HAVE_USLEEP 1
13198 echo "$ac_t""no" 1>&6
13199 echo "configure: warning: wxSleep() function will not work" 1>&2
13215 for ac_func
in uname gethostname
13217 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13218 echo "configure:13219: checking for $ac_func" >&5
13219 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13220 echo $ac_n "(cached) $ac_c" 1>&6
13222 cat > conftest.
$ac_ext <<EOF
13223 #line 13224 "configure"
13224 #include "confdefs.h"
13225 /* System header to define __stub macros and hopefully few prototypes,
13226 which can conflict with char $ac_func(); below. */
13227 #include <assert.h>
13228 /* Override any gcc2 internal prototype to avoid an error. */
13229 /* We use char because int might match the return type of a gcc2
13230 builtin and then its argument prototype would still apply. */
13235 /* The GNU C library defines this for functions which it implements
13236 to always fail with ENOSYS. Some functions are actually named
13237 something starting with __ and the normal name is an alias. */
13238 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13246 if { (eval echo configure
:13247: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13248 eval "ac_cv_func_$ac_func=yes"
13250 echo "configure: failed program was:" >&5
13251 cat conftest.
$ac_ext >&5
13253 eval "ac_cv_func_$ac_func=no"
13258 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13259 echo "$ac_t""yes" 1>&6
13260 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13261 cat >> confdefs.h
<<EOF
13262 #define $ac_tr_func 1
13266 echo "$ac_t""no" 1>&6
13273 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13274 ac_cpp
='$CXXCPP $CPPFLAGS'
13275 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13276 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13277 cross_compiling
=$ac_cv_prog_cxx_cross
13280 for ac_func
in strtok_r
13282 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13283 echo "configure:13284: checking for $ac_func" >&5
13284 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13285 echo $ac_n "(cached) $ac_c" 1>&6
13287 cat > conftest.
$ac_ext <<EOF
13288 #line 13289 "configure"
13289 #include "confdefs.h"
13290 /* System header to define __stub macros and hopefully few prototypes,
13291 which can conflict with char $ac_func(); below. */
13292 #include <assert.h>
13293 /* Override any gcc2 internal prototype to avoid an error. */
13297 /* We use char because int might match the return type of a gcc2
13298 builtin and then its argument prototype would still apply. */
13303 /* The GNU C library defines this for functions which it implements
13304 to always fail with ENOSYS. Some functions are actually named
13305 something starting with __ and the normal name is an alias. */
13306 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13314 if { (eval echo configure
:13315: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13316 eval "ac_cv_func_$ac_func=yes"
13318 echo "configure: failed program was:" >&5
13319 cat conftest.
$ac_ext >&5
13321 eval "ac_cv_func_$ac_func=no"
13326 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13327 echo "$ac_t""yes" 1>&6
13328 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13329 cat >> confdefs.h
<<EOF
13330 #define $ac_tr_func 1
13334 echo "$ac_t""no" 1>&6
13340 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13341 ac_cpp
='$CPP $CPPFLAGS'
13342 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13343 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13344 cross_compiling
=$ac_cv_prog_cc_cross
13348 for ac_func
in inet_addr
13350 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13351 echo "configure:13352: checking for $ac_func" >&5
13352 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13353 echo $ac_n "(cached) $ac_c" 1>&6
13355 cat > conftest.
$ac_ext <<EOF
13356 #line 13357 "configure"
13357 #include "confdefs.h"
13358 /* System header to define __stub macros and hopefully few prototypes,
13359 which can conflict with char $ac_func(); below. */
13360 #include <assert.h>
13361 /* Override any gcc2 internal prototype to avoid an error. */
13362 /* We use char because int might match the return type of a gcc2
13363 builtin and then its argument prototype would still apply. */
13368 /* The GNU C library defines this for functions which it implements
13369 to always fail with ENOSYS. Some functions are actually named
13370 something starting with __ and the normal name is an alias. */
13371 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13379 if { (eval echo configure
:13380: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13381 eval "ac_cv_func_$ac_func=yes"
13383 echo "configure: failed program was:" >&5
13384 cat conftest.
$ac_ext >&5
13386 eval "ac_cv_func_$ac_func=no"
13391 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13392 echo "$ac_t""yes" 1>&6
13393 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13394 cat >> confdefs.h
<<EOF
13395 #define $ac_tr_func 1
13397 cat >> confdefs.h
<<\EOF
13398 #define HAVE_INET_ADDR 1
13402 echo "$ac_t""no" 1>&6
13403 echo $ac_n "checking for inet_addr in -lnsl""... $ac_c" 1>&6
13404 echo "configure:13405: checking for inet_addr in -lnsl" >&5
13405 ac_lib_var
=`echo nsl'_'inet_addr | sed 'y%./+-%__p_%'`
13406 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13407 echo $ac_n "(cached) $ac_c" 1>&6
13409 ac_save_LIBS
="$LIBS"
13411 cat > conftest.
$ac_ext <<EOF
13412 #line 13413 "configure"
13413 #include "confdefs.h"
13414 /* Override any gcc2 internal prototype to avoid an error. */
13415 /* We use char because int might match the return type of a gcc2
13416 builtin and then its argument prototype would still apply. */
13423 if { (eval echo configure
:13424: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13425 eval "ac_cv_lib_$ac_lib_var=yes"
13427 echo "configure: failed program was:" >&5
13428 cat conftest.
$ac_ext >&5
13430 eval "ac_cv_lib_$ac_lib_var=no"
13433 LIBS
="$ac_save_LIBS"
13436 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13437 echo "$ac_t""yes" 1>&6
13440 echo "$ac_t""no" 1>&6
13441 echo $ac_n "checking for inet_addr in -lresolv""... $ac_c" 1>&6
13442 echo "configure:13443: checking for inet_addr in -lresolv" >&5
13443 ac_lib_var
=`echo resolv'_'inet_addr | sed 'y%./+-%__p_%'`
13444 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13445 echo $ac_n "(cached) $ac_c" 1>&6
13447 ac_save_LIBS
="$LIBS"
13448 LIBS
="-lresolv $LIBS"
13449 cat > conftest.
$ac_ext <<EOF
13450 #line 13451 "configure"
13451 #include "confdefs.h"
13452 /* Override any gcc2 internal prototype to avoid an error. */
13453 /* We use char because int might match the return type of a gcc2
13454 builtin and then its argument prototype would still apply. */
13461 if { (eval echo configure
:13462: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13463 eval "ac_cv_lib_$ac_lib_var=yes"
13465 echo "configure: failed program was:" >&5
13466 cat conftest.
$ac_ext >&5
13468 eval "ac_cv_lib_$ac_lib_var=no"
13471 LIBS
="$ac_save_LIBS"
13474 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13475 echo "$ac_t""yes" 1>&6
13479 echo "$ac_t""no" 1>&6
13491 for ac_func
in inet_aton
13493 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13494 echo "configure:13495: checking for $ac_func" >&5
13495 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13496 echo $ac_n "(cached) $ac_c" 1>&6
13498 cat > conftest.
$ac_ext <<EOF
13499 #line 13500 "configure"
13500 #include "confdefs.h"
13501 /* System header to define __stub macros and hopefully few prototypes,
13502 which can conflict with char $ac_func(); below. */
13503 #include <assert.h>
13504 /* Override any gcc2 internal prototype to avoid an error. */
13505 /* We use char because int might match the return type of a gcc2
13506 builtin and then its argument prototype would still apply. */
13511 /* The GNU C library defines this for functions which it implements
13512 to always fail with ENOSYS. Some functions are actually named
13513 something starting with __ and the normal name is an alias. */
13514 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13522 if { (eval echo configure
:13523: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13524 eval "ac_cv_func_$ac_func=yes"
13526 echo "configure: failed program was:" >&5
13527 cat conftest.
$ac_ext >&5
13529 eval "ac_cv_func_$ac_func=no"
13534 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13535 echo "$ac_t""yes" 1>&6
13536 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13537 cat >> confdefs.h
<<EOF
13538 #define $ac_tr_func 1
13540 cat >> confdefs.h
<<\EOF
13541 #define HAVE_INET_ATON 1
13545 echo "$ac_t""no" 1>&6
13546 echo $ac_n "checking for inet_aton in -l$INET_LINK""... $ac_c" 1>&6
13547 echo "configure:13548: checking for inet_aton in -l$INET_LINK" >&5
13548 ac_lib_var
=`echo $INET_LINK'_'inet_aton | sed 'y%./+-%__p_%'`
13549 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13550 echo $ac_n "(cached) $ac_c" 1>&6
13552 ac_save_LIBS
="$LIBS"
13553 LIBS
="-l$INET_LINK $LIBS"
13554 cat > conftest.
$ac_ext <<EOF
13555 #line 13556 "configure"
13556 #include "confdefs.h"
13557 /* Override any gcc2 internal prototype to avoid an error. */
13558 /* We use char because int might match the return type of a gcc2
13559 builtin and then its argument prototype would still apply. */
13566 if { (eval echo configure
:13567: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13568 eval "ac_cv_lib_$ac_lib_var=yes"
13570 echo "configure: failed program was:" >&5
13571 cat conftest.
$ac_ext >&5
13573 eval "ac_cv_lib_$ac_lib_var=no"
13576 LIBS
="$ac_save_LIBS"
13579 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13580 echo "$ac_t""yes" 1>&6
13581 cat >> confdefs.h
<<\EOF
13582 #define HAVE_INET_ATON 1
13586 echo "$ac_t""no" 1>&6
13594 if test "x$INET_LINK" != "x"; then
13595 cat >> confdefs.h
<<\EOF
13596 #define HAVE_INET_ADDR 1
13599 INET_LINK
="-l$INET_LINK"
13605 cat > confcache
<<\EOF
13606 # This file is a shell script that caches the results of configure
13607 # tests run on this system so they can be shared between configure
13608 # scripts and configure runs. It is not useful on other systems.
13609 # If it contains results you don't want to keep, you may remove or edit it.
13611 # By default, configure uses ./config.cache as the cache file,
13612 # creating it if it does not exist already. You can give configure
13613 # the --cache-file=FILE option to use a different cache file; that is
13614 # what configure does when it calls configure scripts in
13615 # subdirectories, so they share the cache.
13616 # Giving --cache-file=/dev/null disables caching, for debugging configure.
13617 # config.status only pays attention to the cache file if you give it the
13618 # --recheck option to rerun configure.
13621 # The following way of writing the cache mishandles newlines in values,
13622 # but we know of no workaround that is simple, portable, and efficient.
13623 # So, don't put newlines in cache variables' values.
13624 # Ultrix sh set writes to stderr and can't be redirected directly,
13625 # and sets the high bit in the cache file unless we assign to the vars.
13627 case `(ac_space=' '; set | grep ac_space) 2>&1` in
13629 # `set' does not quote correctly, so add quotes (double-quote substitution
13630 # turns \\\\ into \\, and sed turns \\ into \).
13632 -e "s/'/'\\\\''/g" \
13633 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
13636 # `set' quotes correctly as required by POSIX, so do not add quotes.
13637 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
13640 if cmp -s $cache_file confcache
; then
13643 if test -w $cache_file; then
13644 echo "updating cache $cache_file"
13645 cat confcache
> $cache_file
13647 echo "not updating unwritable cache $cache_file"
13654 if test "$TOOLKIT" != "MSW"; then
13660 if test "$wxUSE_THREADS" = "yes" ; then
13661 if test "$wxUSE_WINE" = 1 ; then
13662 echo "configure: warning: Threads are not supported under WINE" 1>&2
13664 elif test "$USE_BEOS" = 1; then
13665 echo "configure: warning: BeOS threads are not yet supported" 1>&2
13670 if test "$wxUSE_THREADS" = "yes" ; then
13672 if test "$USE_AIX" = 1; then
13673 THREADS_LIB
=pthreads
13675 THREADS_LIB
=pthread
13678 echo $ac_n "checking for pthread_create in -l$THREADS_LIB""... $ac_c" 1>&6
13679 echo "configure:13680: checking for pthread_create in -l$THREADS_LIB" >&5
13680 ac_lib_var
=`echo $THREADS_LIB'_'pthread_create | sed 'y%./+-%__p_%'`
13681 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13682 echo $ac_n "(cached) $ac_c" 1>&6
13684 ac_save_LIBS
="$LIBS"
13685 LIBS
="-l$THREADS_LIB $LIBS"
13686 cat > conftest.
$ac_ext <<EOF
13687 #line 13688 "configure"
13688 #include "confdefs.h"
13689 /* Override any gcc2 internal prototype to avoid an error. */
13690 /* We use char because int might match the return type of a gcc2
13691 builtin and then its argument prototype would still apply. */
13692 char pthread_create();
13698 if { (eval echo configure
:13699: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13700 eval "ac_cv_lib_$ac_lib_var=yes"
13702 echo "configure: failed program was:" >&5
13703 cat conftest.
$ac_ext >&5
13705 eval "ac_cv_lib_$ac_lib_var=no"
13708 LIBS
="$ac_save_LIBS"
13711 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13712 echo "$ac_t""yes" 1>&6
13714 THREADS_OBJ
="threadpsx.lo"
13715 THREADS_LINK
=$THREADS_LIB
13718 echo "$ac_t""no" 1>&6
13720 echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
13721 echo "configure:13722: checking for pthread_create in -lc_r" >&5
13722 ac_lib_var
=`echo c_r'_'pthread_create | sed 'y%./+-%__p_%'`
13723 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13724 echo $ac_n "(cached) $ac_c" 1>&6
13726 ac_save_LIBS
="$LIBS"
13728 cat > conftest.
$ac_ext <<EOF
13729 #line 13730 "configure"
13730 #include "confdefs.h"
13731 /* Override any gcc2 internal prototype to avoid an error. */
13732 /* We use char because int might match the return type of a gcc2
13733 builtin and then its argument prototype would still apply. */
13734 char pthread_create();
13740 if { (eval echo configure
:13741: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13742 eval "ac_cv_lib_$ac_lib_var=yes"
13744 echo "configure: failed program was:" >&5
13745 cat conftest.
$ac_ext >&5
13747 eval "ac_cv_lib_$ac_lib_var=no"
13750 LIBS
="$ac_save_LIBS"
13753 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13754 echo "$ac_t""yes" 1>&6
13756 THREADS_OBJ
="threadpsx.lo"
13760 echo "$ac_t""no" 1>&6
13762 ac_safe
=`echo "sys/prctl.h" | sed 'y%./+-%__p_%'`
13763 echo $ac_n "checking for sys/prctl.h""... $ac_c" 1>&6
13764 echo "configure:13765: checking for sys/prctl.h" >&5
13765 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13766 echo $ac_n "(cached) $ac_c" 1>&6
13768 cat > conftest.
$ac_ext <<EOF
13769 #line 13770 "configure"
13770 #include "confdefs.h"
13771 #include <sys/prctl.h>
13773 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13774 { (eval echo configure
:13775: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13775 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13776 if test -z "$ac_err"; then
13778 eval "ac_cv_header_$ac_safe=yes"
13781 echo "configure: failed program was:" >&5
13782 cat conftest.
$ac_ext >&5
13784 eval "ac_cv_header_$ac_safe=no"
13788 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13789 echo "$ac_t""yes" 1>&6
13791 THREADS_OBJ
="threadsgi.lo"
13794 echo "$ac_t""no" 1>&6
13804 if test -z "$THREADS_OBJ" ; then
13806 echo "configure: warning: No thread support on this system" 1>&2
13810 if test "$wxUSE_THREADS" = "yes" ; then
13811 for ac_func
in thr_setconcurrency
13813 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13814 echo "configure:13815: checking for $ac_func" >&5
13815 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13816 echo $ac_n "(cached) $ac_c" 1>&6
13818 cat > conftest.
$ac_ext <<EOF
13819 #line 13820 "configure"
13820 #include "confdefs.h"
13821 /* System header to define __stub macros and hopefully few prototypes,
13822 which can conflict with char $ac_func(); below. */
13823 #include <assert.h>
13824 /* Override any gcc2 internal prototype to avoid an error. */
13825 /* We use char because int might match the return type of a gcc2
13826 builtin and then its argument prototype would still apply. */
13831 /* The GNU C library defines this for functions which it implements
13832 to always fail with ENOSYS. Some functions are actually named
13833 something starting with __ and the normal name is an alias. */
13834 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13842 if { (eval echo configure
:13843: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13844 eval "ac_cv_func_$ac_func=yes"
13846 echo "configure: failed program was:" >&5
13847 cat conftest.
$ac_ext >&5
13849 eval "ac_cv_func_$ac_func=no"
13854 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13855 echo "$ac_t""yes" 1>&6
13856 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13857 cat >> confdefs.h
<<EOF
13858 #define $ac_tr_func 1
13862 echo "$ac_t""no" 1>&6
13868 for ac_hdr
in sched.h
13870 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13871 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13872 echo "configure:13873: checking for $ac_hdr" >&5
13873 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13874 echo $ac_n "(cached) $ac_c" 1>&6
13876 cat > conftest.
$ac_ext <<EOF
13877 #line 13878 "configure"
13878 #include "confdefs.h"
13881 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13882 { (eval echo configure
:13883: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13883 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13884 if test -z "$ac_err"; then
13886 eval "ac_cv_header_$ac_safe=yes"
13889 echo "configure: failed program was:" >&5
13890 cat conftest.
$ac_ext >&5
13892 eval "ac_cv_header_$ac_safe=no"
13896 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13897 echo "$ac_t""yes" 1>&6
13898 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13899 cat >> confdefs.h
<<EOF
13900 #define $ac_tr_hdr 1
13904 echo "$ac_t""no" 1>&6
13909 echo $ac_n "checking for sched_yield in -l$THREADS_LINK""... $ac_c" 1>&6
13910 echo "configure:13911: checking for sched_yield in -l$THREADS_LINK" >&5
13911 ac_lib_var
=`echo $THREADS_LINK'_'sched_yield | sed 'y%./+-%__p_%'`
13912 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13913 echo $ac_n "(cached) $ac_c" 1>&6
13915 ac_save_LIBS
="$LIBS"
13916 LIBS
="-l$THREADS_LINK $LIBS"
13917 cat > conftest.
$ac_ext <<EOF
13918 #line 13919 "configure"
13919 #include "confdefs.h"
13920 /* Override any gcc2 internal prototype to avoid an error. */
13921 /* We use char because int might match the return type of a gcc2
13922 builtin and then its argument prototype would still apply. */
13923 char sched_yield();
13929 if { (eval echo configure
:13930: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13931 eval "ac_cv_lib_$ac_lib_var=yes"
13933 echo "configure: failed program was:" >&5
13934 cat conftest.
$ac_ext >&5
13936 eval "ac_cv_lib_$ac_lib_var=no"
13939 LIBS
="$ac_save_LIBS"
13942 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13943 echo "$ac_t""yes" 1>&6
13944 cat >> confdefs.h
<<\EOF
13945 #define HAVE_SCHED_YIELD 1
13949 echo "$ac_t""no" 1>&6
13950 echo $ac_n "checking for sched_yield in -lposix4""... $ac_c" 1>&6
13951 echo "configure:13952: checking for sched_yield in -lposix4" >&5
13952 ac_lib_var
=`echo posix4'_'sched_yield | sed 'y%./+-%__p_%'`
13953 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13954 echo $ac_n "(cached) $ac_c" 1>&6
13956 ac_save_LIBS
="$LIBS"
13957 LIBS
="-lposix4 $LIBS"
13958 cat > conftest.
$ac_ext <<EOF
13959 #line 13960 "configure"
13960 #include "confdefs.h"
13961 /* Override any gcc2 internal prototype to avoid an error. */
13962 /* We use char because int might match the return type of a gcc2
13963 builtin and then its argument prototype would still apply. */
13964 char sched_yield();
13970 if { (eval echo configure
:13971: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13972 eval "ac_cv_lib_$ac_lib_var=yes"
13974 echo "configure: failed program was:" >&5
13975 cat conftest.
$ac_ext >&5
13977 eval "ac_cv_lib_$ac_lib_var=no"
13980 LIBS
="$ac_save_LIBS"
13983 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13984 echo "$ac_t""yes" 1>&6
13985 cat >> confdefs.h
<<\EOF
13986 #define HAVE_SCHED_YIELD 1
13988 POSIX4_LINK
="-lposix4"
13990 echo "$ac_t""no" 1>&6
13991 echo "configure: warning: wxThread::Yield will not work properly" 1>&2
14000 echo $ac_n "checking for pthread_attr_getschedpolicy in -l$THREADS_LINK""... $ac_c" 1>&6
14001 echo "configure:14002: checking for pthread_attr_getschedpolicy in -l$THREADS_LINK" >&5
14002 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
14003 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14004 echo $ac_n "(cached) $ac_c" 1>&6
14006 ac_save_LIBS
="$LIBS"
14007 LIBS
="-l$THREADS_LINK $LIBS"
14008 cat > conftest.
$ac_ext <<EOF
14009 #line 14010 "configure"
14010 #include "confdefs.h"
14011 /* Override any gcc2 internal prototype to avoid an error. */
14012 /* We use char because int might match the return type of a gcc2
14013 builtin and then its argument prototype would still apply. */
14014 char pthread_attr_getschedpolicy();
14017 pthread_attr_getschedpolicy()
14020 if { (eval echo configure
:14021: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14022 eval "ac_cv_lib_$ac_lib_var=yes"
14024 echo "configure: failed program was:" >&5
14025 cat conftest.
$ac_ext >&5
14027 eval "ac_cv_lib_$ac_lib_var=no"
14030 LIBS
="$ac_save_LIBS"
14033 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14034 echo "$ac_t""yes" 1>&6
14035 echo $ac_n "checking for pthread_attr_setschedparam in -l$THREADS_LINK""... $ac_c" 1>&6
14036 echo "configure:14037: checking for pthread_attr_setschedparam in -l$THREADS_LINK" >&5
14037 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_setschedparam | sed 'y%./+-%__p_%'`
14038 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14039 echo $ac_n "(cached) $ac_c" 1>&6
14041 ac_save_LIBS
="$LIBS"
14042 LIBS
="-l$THREADS_LINK $LIBS"
14043 cat > conftest.
$ac_ext <<EOF
14044 #line 14045 "configure"
14045 #include "confdefs.h"
14046 /* Override any gcc2 internal prototype to avoid an error. */
14047 /* We use char because int might match the return type of a gcc2
14048 builtin and then its argument prototype would still apply. */
14049 char pthread_attr_setschedparam();
14052 pthread_attr_setschedparam()
14055 if { (eval echo configure
:14056: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14057 eval "ac_cv_lib_$ac_lib_var=yes"
14059 echo "configure: failed program was:" >&5
14060 cat conftest.
$ac_ext >&5
14062 eval "ac_cv_lib_$ac_lib_var=no"
14065 LIBS
="$ac_save_LIBS"
14068 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14069 echo "$ac_t""yes" 1>&6
14070 echo $ac_n "checking for sched_get_priority_max in -l$THREADS_LINK""... $ac_c" 1>&6
14071 echo "configure:14072: checking for sched_get_priority_max in -l$THREADS_LINK" >&5
14072 ac_lib_var
=`echo $THREADS_LINK'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
14073 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14074 echo $ac_n "(cached) $ac_c" 1>&6
14076 ac_save_LIBS
="$LIBS"
14077 LIBS
="-l$THREADS_LINK $LIBS"
14078 cat > conftest.
$ac_ext <<EOF
14079 #line 14080 "configure"
14080 #include "confdefs.h"
14081 /* Override any gcc2 internal prototype to avoid an error. */
14082 /* We use char because int might match the return type of a gcc2
14083 builtin and then its argument prototype would still apply. */
14084 char sched_get_priority_max();
14087 sched_get_priority_max()
14090 if { (eval echo configure
:14091: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14092 eval "ac_cv_lib_$ac_lib_var=yes"
14094 echo "configure: failed program was:" >&5
14095 cat conftest.
$ac_ext >&5
14097 eval "ac_cv_lib_$ac_lib_var=no"
14100 LIBS
="$ac_save_LIBS"
14103 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14104 echo "$ac_t""yes" 1>&6
14107 echo "$ac_t""no" 1>&6
14108 echo $ac_n "checking for sched_get_priority_max in -lposix4""... $ac_c" 1>&6
14109 echo "configure:14110: checking for sched_get_priority_max in -lposix4" >&5
14110 ac_lib_var
=`echo posix4'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
14111 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14112 echo $ac_n "(cached) $ac_c" 1>&6
14114 ac_save_LIBS
="$LIBS"
14115 LIBS
="-lposix4 $LIBS"
14116 cat > conftest.
$ac_ext <<EOF
14117 #line 14118 "configure"
14118 #include "confdefs.h"
14119 /* Override any gcc2 internal prototype to avoid an error. */
14120 /* We use char because int might match the return type of a gcc2
14121 builtin and then its argument prototype would still apply. */
14122 char sched_get_priority_max();
14125 sched_get_priority_max()
14128 if { (eval echo configure
:14129: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14130 eval "ac_cv_lib_$ac_lib_var=yes"
14132 echo "configure: failed program was:" >&5
14133 cat conftest.
$ac_ext >&5
14135 eval "ac_cv_lib_$ac_lib_var=no"
14138 LIBS
="$ac_save_LIBS"
14141 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14142 echo "$ac_t""yes" 1>&6
14145 POSIX4_LINK
="-lposix4"
14148 echo "$ac_t""no" 1>&6
14156 echo "$ac_t""no" 1>&6
14161 echo "$ac_t""no" 1>&6
14165 if test "$HAVE_PRIOR_FUNCS" = 1; then
14166 cat >> confdefs.h
<<\EOF
14167 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
14171 echo "configure: warning: Setting thread priority will not work" 1>&2
14174 echo $ac_n "checking for pthread_cancel in -l$THREADS_LINK""... $ac_c" 1>&6
14175 echo "configure:14176: checking for pthread_cancel in -l$THREADS_LINK" >&5
14176 ac_lib_var
=`echo $THREADS_LINK'_'pthread_cancel | sed 'y%./+-%__p_%'`
14177 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14178 echo $ac_n "(cached) $ac_c" 1>&6
14180 ac_save_LIBS
="$LIBS"
14181 LIBS
="-l$THREADS_LINK $LIBS"
14182 cat > conftest.
$ac_ext <<EOF
14183 #line 14184 "configure"
14184 #include "confdefs.h"
14185 /* Override any gcc2 internal prototype to avoid an error. */
14186 /* We use char because int might match the return type of a gcc2
14187 builtin and then its argument prototype would still apply. */
14188 char pthread_cancel();
14194 if { (eval echo configure
:14195: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14196 eval "ac_cv_lib_$ac_lib_var=yes"
14198 echo "configure: failed program was:" >&5
14199 cat conftest.
$ac_ext >&5
14201 eval "ac_cv_lib_$ac_lib_var=no"
14204 LIBS
="$ac_save_LIBS"
14207 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14208 echo "$ac_t""yes" 1>&6
14209 cat >> confdefs.h
<<\EOF
14210 #define HAVE_PTHREAD_CANCEL 1
14214 echo "$ac_t""no" 1>&6
14215 echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
14219 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
14220 echo "configure:14221: checking for pthread_cleanup_push/pop" >&5
14221 if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
14222 echo $ac_n "(cached) $ac_c" 1>&6
14225 cat > conftest.
$ac_ext <<EOF
14226 #line 14227 "configure"
14227 #include "confdefs.h"
14228 #include <pthread.h>
14231 pthread_cleanup_push(NULL, NULL);
14232 pthread_cleanup_pop(0);
14236 if { (eval echo configure
:14237: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14239 wx_cv_func_pthread_cleanup_push
=yes
14242 echo "configure: failed program was:" >&5
14243 cat conftest.
$ac_ext >&5
14246 wx_cv_func_pthread_cleanup_push
=no
14253 echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
14255 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
14256 cat >> confdefs.h
<<\EOF
14257 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
14263 echo $ac_n "checking for pthread_mutexattr_t""... $ac_c" 1>&6
14264 echo "configure:14265: checking for pthread_mutexattr_t" >&5
14265 if eval "test \"`echo '$''{'wx_cv_type_pthread_mutexattr_t'+set}'`\" = set"; then
14266 echo $ac_n "(cached) $ac_c" 1>&6
14269 cat > conftest.
$ac_ext <<EOF
14270 #line 14271 "configure"
14271 #include "confdefs.h"
14272 #include <pthread.h>
14275 pthread_mutexattr_t attr;
14276 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
14280 if { (eval echo configure
:14281: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14283 wx_cv_type_pthread_mutexattr_t
=yes
14286 echo "configure: failed program was:" >&5
14287 cat conftest.
$ac_ext >&5
14290 wx_cv_type_pthread_mutexattr_t
=no
14298 echo "$ac_t""$wx_cv_type_pthread_mutexattr_t" 1>&6
14300 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
14301 cat >> confdefs.h
<<\EOF
14302 #define HAVE_PTHREAD_MUTEXATTR_T 1
14306 echo $ac_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER""... $ac_c" 1>&6
14307 echo "configure:14308: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
14308 if eval "test \"`echo '$''{'wx_cv_type_pthread_rec_mutex_init'+set}'`\" = set"; then
14309 echo $ac_n "(cached) $ac_c" 1>&6
14312 cat > conftest.
$ac_ext <<EOF
14313 #line 14314 "configure"
14314 #include "confdefs.h"
14315 #include <pthread.h>
14318 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
14322 if { (eval echo configure
:14323: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14325 wx_cv_type_pthread_rec_mutex_init
=yes
14328 echo "configure: failed program was:" >&5
14329 cat conftest.
$ac_ext >&5
14332 wx_cv_type_pthread_rec_mutex_init
=no
14340 echo "$ac_t""$wx_cv_type_pthread_rec_mutex_init" 1>&6
14341 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
14342 cat >> confdefs.h
<<\EOF
14343 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
14347 echo "configure: warning: wxMutex won't be recursive on this platform" 1>&2
14351 THREADS_LINK
="-l$THREADS_LINK"
14353 if test "$USE_SOLARIS" = "yes" -a "$GCC" != "yes"; then
14354 CFLAGS
="${CFLAGS} -mt"
14355 CXXFLAGS
="${CXXFLAGS} -mt"
14356 LDFLAGS
="${LDFLAGS} -mt"
14362 if test "$wxUSE_THREADS" = "yes"; then
14363 cat >> confdefs.h
<<\EOF
14364 #define wxUSE_THREADS 1
14368 if test "$wxUSE_MAC" = "0"; then
14369 CFLAGS
="${CFLAGS} -D_REENTRANT"
14370 CXXFLAGS
="${CXXFLAGS} -D_REENTRANT"
14373 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
14375 if test "$ac_cv_func_strtok_r" = "yes"; then
14376 echo $ac_n "checking if -D_REENTRANT is needed""... $ac_c" 1>&6
14377 echo "configure:14378: checking if -D_REENTRANT is needed" >&5
14378 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
14379 CFLAGS
="${CFLAGS} -D_REENTRANT"
14380 CXXFLAGS
="${CXXFLAGS} -D_REENTRANT"
14381 echo "$ac_t""yes" 1>&6
14383 echo "$ac_t""no" 1>&6
14388 if test "$WXGTK20" = 1 ; then
14389 cat >> confdefs.h
<<EOF
14390 #define __WXGTK20__ $WXGTK20
14396 if test "$WXGTK12" = 1 ; then
14397 cat >> confdefs.h
<<EOF
14398 #define __WXGTK12__ $WXGTK12
14403 if test "$WXGTK127" = 1 ; then
14404 cat >> confdefs.h
<<EOF
14405 #define __WXGTK127__ $WXGTK127
14410 if test "$WXWINE" = 1 ; then
14411 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WXWINE__"
14414 if test "$wxUSE_MAC" = 1 ; then
14415 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__UNIX__ -D__POWERPC__ -DTARGET_CARBON"
14416 CFLAGS
="${CFLAGS} -fno-common -fpascal-strings"
14417 CPPFLAGS
="${CPPFLAGS} -cpp-precomp -fno-common -fpascal-strings"
14418 # Extract the first word of "Rez", so it can be a program name with args.
14419 set dummy Rez
; ac_word
=$2
14420 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
14421 echo "configure:14422: checking for $ac_word" >&5
14422 if eval "test \"`echo '$''{'ac_cv_prog_REZ'+set}'`\" = set"; then
14423 echo $ac_n "(cached) $ac_c" 1>&6
14425 if test -n "$REZ"; then
14426 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
14428 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
14430 for ac_dir
in $ac_dummy; do
14431 test -z "$ac_dir" && ac_dir
=.
14432 if test -f $ac_dir/$ac_word; then
14433 ac_cv_prog_REZ
="Rez"
14438 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
14441 REZ
="$ac_cv_prog_REZ"
14442 if test -n "$REZ"; then
14443 echo "$ac_t""$REZ" 1>&6
14445 echo "$ac_t""no" 1>&6
14448 # Extract the first word of "Derez", so it can be a program name with args.
14449 set dummy Derez
; ac_word
=$2
14450 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
14451 echo "configure:14452: checking for $ac_word" >&5
14452 if eval "test \"`echo '$''{'ac_cv_prog_DEREZ'+set}'`\" = set"; then
14453 echo $ac_n "(cached) $ac_c" 1>&6
14455 if test -n "$DEREZ"; then
14456 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
14458 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
14460 for ac_dir
in $ac_dummy; do
14461 test -z "$ac_dir" && ac_dir
=.
14462 if test -f $ac_dir/$ac_word; then
14463 ac_cv_prog_DEREZ
="Derez"
14468 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/Derez"
14471 DEREZ
="$ac_cv_prog_DEREZ"
14472 if test -n "$DEREZ"; then
14473 echo "$ac_t""$DEREZ" 1>&6
14475 echo "$ac_t""no" 1>&6
14479 REZFLAGS
="-d __UNIX__ -useDF"
14480 DEREZFLAGS
="Carbon.r -useDF"
14481 RESFLAGS
="Carbon.r -t APPL"
14482 LIBWXMACRES
="\$(LIBWX_MACRES)"
14483 LIBWXMACRESCOMP
="\$(LIBWX_MACRESCOMP)"
14486 if test "$wxUSE_CYGWIN" = 1 ; then
14487 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WIN95__"
14492 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
14497 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
14498 wxUSE_DEBUG_INFO
=yes
14502 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
14503 cat >> confdefs.h
<<\EOF
14507 WXDEBUG_DEFINE
="-D__WXDEBUG__"
14509 if test "$wxUSE_GTK" = 1 ; then
14510 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
14514 if test "$wxUSE_MEM_TRACING" = "yes" ; then
14515 cat >> confdefs.h
<<\EOF
14516 #define wxUSE_MEMORY_TRACING 1
14519 cat >> confdefs.h
<<\EOF
14520 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
14523 cat >> confdefs.h
<<\EOF
14524 #define wxUSE_DEBUG_NEW_ALWAYS 1
14527 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
14530 if test "$wxUSE_DMALLOC" = "yes" ; then
14531 DMALLOC_LINK
="-ldmalloc"
14535 if test "$wxUSE_PROFILE" = "yes" ; then
14541 CODE_GEN_FLAGS_CXX
=
14542 if test "$GCC" = yes ; then
14543 if test "$wxUSE_NO_RTTI" = "yes" ; then
14544 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS -fno-rtti"
14546 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
14547 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS -fno-exceptions"
14549 if test "$wxUSE_PERMISSIVE" = "yes" ; then
14550 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
14552 if test "$wxUSE_NO_DEPS" = "no" ; then
14553 DEP_INFO_FLAGS
="-MMD"
14558 CXXFLAGS
=`echo "${CXXFLAGS}" | sed "s/\-O.//g" `
14559 CFLAGS
=`echo "${CFLAGS}" | sed "s/\-O.//g" `
14560 if test "$wxUSE_OPTIMISE" = "no" ; then
14563 if test "$GCC" = yes ; then
14566 i586
-*-*|i686
-*-* )
14567 OPTIMISE
="${OPTIMISE} "
14575 if test "$WXWIN_COMPATIBILITY_2" = "yes"; then
14576 cat >> confdefs.h
<<\EOF
14577 #define WXWIN_COMPATIBILITY_2 1
14581 WXWIN_COMPATIBILITY_2_2
="yes"
14584 if test "$WXWIN_COMPATIBILITY_2_2" = "yes"; then
14585 cat >> confdefs.h
<<\EOF
14586 #define WXWIN_COMPATIBILITY_2_2 1
14593 if test "$wxUSE_ZLIB" = "yes" -o "$wxUSE_ZLIB" = "sys" ; then
14594 cat >> confdefs.h
<<\EOF
14595 #define wxUSE_ZLIB 1
14598 if test "$wxUSE_ZLIB" = "yes" ; then
14599 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
14602 ac_safe
=`echo "zlib.h" | sed 'y%./+-%__p_%'`
14603 echo $ac_n "checking for zlib.h""... $ac_c" 1>&6
14604 echo "configure:14605: checking for zlib.h" >&5
14605 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14606 echo $ac_n "(cached) $ac_c" 1>&6
14608 cat > conftest.
$ac_ext <<EOF
14609 #line 14610 "configure"
14610 #include "confdefs.h"
14613 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14614 { (eval echo configure
:14615: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14615 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14616 if test -z "$ac_err"; then
14618 eval "ac_cv_header_$ac_safe=yes"
14621 echo "configure: failed program was:" >&5
14622 cat conftest.
$ac_ext >&5
14624 eval "ac_cv_header_$ac_safe=no"
14628 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14629 echo "$ac_t""yes" 1>&6
14630 echo $ac_n "checking for deflate in -lz""... $ac_c" 1>&6
14631 echo "configure:14632: checking for deflate in -lz" >&5
14632 ac_lib_var
=`echo z'_'deflate | sed 'y%./+-%__p_%'`
14633 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14634 echo $ac_n "(cached) $ac_c" 1>&6
14636 ac_save_LIBS
="$LIBS"
14638 cat > conftest.
$ac_ext <<EOF
14639 #line 14640 "configure"
14640 #include "confdefs.h"
14641 /* Override any gcc2 internal prototype to avoid an error. */
14642 /* We use char because int might match the return type of a gcc2
14643 builtin and then its argument prototype would still apply. */
14650 if { (eval echo configure
:14651: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14652 eval "ac_cv_lib_$ac_lib_var=yes"
14654 echo "configure: failed program was:" >&5
14655 cat conftest.
$ac_ext >&5
14657 eval "ac_cv_lib_$ac_lib_var=no"
14660 LIBS
="$ac_save_LIBS"
14663 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14664 echo "$ac_t""yes" 1>&6
14667 echo "$ac_t""no" 1>&6
14671 echo "$ac_t""no" 1>&6
14674 if test "x$ZLIB_LINK" = "x" ; then
14675 { echo "configure: error: system zlib compression library not found! Use --with-zlib=yes to use built-in zlib" 1>&2; exit 1; }
14681 if test "$wxUSE_LIBPNG" = "yes" -o "$wxUSE_LIBPNG" = "sys" ; then
14682 cat >> confdefs.h
<<\EOF
14683 #define wxUSE_LIBPNG 1
14686 if test "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
14687 echo "configure: warning: --with-libpng=sys doesn't work without --with-zlib=sys, will compile the built-in libpng instead" 1>&2
14691 if test "$wxUSE_LIBPNG" = "yes" ; then
14692 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
14695 ac_safe
=`echo "png.h" | sed 'y%./+-%__p_%'`
14696 echo $ac_n "checking for png.h""... $ac_c" 1>&6
14697 echo "configure:14698: checking for png.h" >&5
14698 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14699 echo $ac_n "(cached) $ac_c" 1>&6
14701 cat > conftest.
$ac_ext <<EOF
14702 #line 14703 "configure"
14703 #include "confdefs.h"
14706 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14707 { (eval echo configure
:14708: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14708 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14709 if test -z "$ac_err"; then
14711 eval "ac_cv_header_$ac_safe=yes"
14714 echo "configure: failed program was:" >&5
14715 cat conftest.
$ac_ext >&5
14717 eval "ac_cv_header_$ac_safe=no"
14721 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14722 echo "$ac_t""yes" 1>&6
14723 echo $ac_n "checking for png_check_sig in -lpng""... $ac_c" 1>&6
14724 echo "configure:14725: checking for png_check_sig in -lpng" >&5
14725 ac_lib_var
=`echo png'_'png_check_sig | sed 'y%./+-%__p_%'`
14726 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14727 echo $ac_n "(cached) $ac_c" 1>&6
14729 ac_save_LIBS
="$LIBS"
14730 LIBS
="-lpng -lz -lm $LIBS"
14731 cat > conftest.
$ac_ext <<EOF
14732 #line 14733 "configure"
14733 #include "confdefs.h"
14734 /* Override any gcc2 internal prototype to avoid an error. */
14735 /* We use char because int might match the return type of a gcc2
14736 builtin and then its argument prototype would still apply. */
14737 char png_check_sig();
14743 if { (eval echo configure
:14744: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14745 eval "ac_cv_lib_$ac_lib_var=yes"
14747 echo "configure: failed program was:" >&5
14748 cat conftest.
$ac_ext >&5
14750 eval "ac_cv_lib_$ac_lib_var=no"
14753 LIBS
="$ac_save_LIBS"
14756 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14757 echo "$ac_t""yes" 1>&6
14760 echo "$ac_t""no" 1>&6
14765 echo "$ac_t""no" 1>&6
14768 if test "x$PNG_LINK" = "x" ; then
14769 { echo "configure: error: system png library not found! Use --with-libpng=yes to use the built-in libpng" 1>&2; exit 1; }
14773 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
14777 if test "$wxUSE_LIBJPEG" = "yes" -o "$wxUSE_LIBJPEG" = "sys" ; then
14778 cat >> confdefs.h
<<\EOF
14779 #define wxUSE_LIBJPEG 1
14782 if test "$wxUSE_LIBJPEG" = "yes" ; then
14783 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
14786 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6
14787 echo "configure:14788: checking for jpeglib.h" >&5
14788 if eval "test \"`echo '$''{'ac_cv_header_jpeglib_h'+set}'`\" = set"; then
14789 echo $ac_n "(cached) $ac_c" 1>&6
14791 cat > conftest.
$ac_ext <<EOF
14792 #line 14793 "configure"
14793 #include "confdefs.h"
14795 #undef HAVE_STDLIB_H
14797 #include <jpeglib.h>
14804 if { (eval echo configure
:14805: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14806 ac_cv_header_jpeglib_h
=yes
14808 echo "configure: failed program was:" >&5
14809 cat conftest.
$ac_ext >&5
14811 ac_cv_header_jpeglib_h
=no
14818 echo "$ac_t""$ac_cv_header_jpeglib_h" 1>&6
14820 if test "$ac_cv_header_jpeglib_h" = "yes"; then
14821 echo $ac_n "checking for jpeg_read_header in -ljpeg""... $ac_c" 1>&6
14822 echo "configure:14823: checking for jpeg_read_header in -ljpeg" >&5
14823 ac_lib_var
=`echo jpeg'_'jpeg_read_header | sed 'y%./+-%__p_%'`
14824 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14825 echo $ac_n "(cached) $ac_c" 1>&6
14827 ac_save_LIBS
="$LIBS"
14828 LIBS
="-ljpeg $LIBS"
14829 cat > conftest.
$ac_ext <<EOF
14830 #line 14831 "configure"
14831 #include "confdefs.h"
14832 /* Override any gcc2 internal prototype to avoid an error. */
14833 /* We use char because int might match the return type of a gcc2
14834 builtin and then its argument prototype would still apply. */
14835 char jpeg_read_header();
14841 if { (eval echo configure
:14842: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14843 eval "ac_cv_lib_$ac_lib_var=yes"
14845 echo "configure: failed program was:" >&5
14846 cat conftest.
$ac_ext >&5
14848 eval "ac_cv_lib_$ac_lib_var=no"
14851 LIBS
="$ac_save_LIBS"
14854 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14855 echo "$ac_t""yes" 1>&6
14858 echo "$ac_t""no" 1>&6
14863 if test "x$JPEG_LINK" = "x" ; then
14864 { echo "configure: error: system jpeg library not found! Use --with-libjpeg=yes to use the built-in one" 1>&2; exit 1; }
14870 if test "$wxUSE_LIBTIFF" = "yes" -o "$wxUSE_LIBTIFF" = "sys" ; then
14871 cat >> confdefs.h
<<\EOF
14872 #define wxUSE_LIBTIFF 1
14875 if test "$wxUSE_LIBTIFF" = "yes" ; then
14876 TIFF_INCLUDE
="-I\${top_srcdir}/src/tiff"
14879 ac_safe
=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
14880 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
14881 echo "configure:14882: checking for tiffio.h" >&5
14882 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14883 echo $ac_n "(cached) $ac_c" 1>&6
14885 cat > conftest.
$ac_ext <<EOF
14886 #line 14887 "configure"
14887 #include "confdefs.h"
14888 #include <tiffio.h>
14890 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14891 { (eval echo configure
:14892: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14892 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14893 if test -z "$ac_err"; then
14895 eval "ac_cv_header_$ac_safe=yes"
14898 echo "configure: failed program was:" >&5
14899 cat conftest.
$ac_ext >&5
14901 eval "ac_cv_header_$ac_safe=no"
14905 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14906 echo "$ac_t""yes" 1>&6
14907 echo $ac_n "checking for TIFFError in -ltiff""... $ac_c" 1>&6
14908 echo "configure:14909: checking for TIFFError in -ltiff" >&5
14909 ac_lib_var
=`echo tiff'_'TIFFError | sed 'y%./+-%__p_%'`
14910 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14911 echo $ac_n "(cached) $ac_c" 1>&6
14913 ac_save_LIBS
="$LIBS"
14914 LIBS
="-ltiff -lm $LIBS"
14915 cat > conftest.
$ac_ext <<EOF
14916 #line 14917 "configure"
14917 #include "confdefs.h"
14918 /* Override any gcc2 internal prototype to avoid an error. */
14919 /* We use char because int might match the return type of a gcc2
14920 builtin and then its argument prototype would still apply. */
14927 if { (eval echo configure
:14928: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14929 eval "ac_cv_lib_$ac_lib_var=yes"
14931 echo "configure: failed program was:" >&5
14932 cat conftest.
$ac_ext >&5
14934 eval "ac_cv_lib_$ac_lib_var=no"
14937 LIBS
="$ac_save_LIBS"
14940 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14941 echo "$ac_t""yes" 1>&6
14944 echo "$ac_t""no" 1>&6
14948 echo "$ac_t""no" 1>&6
14951 if test "x$TIFF_LINK" = "x" ; then
14952 { echo "configure: error: system tiff library not found! Use --with-libtiff=yes to use the built-in one" 1>&2; exit 1; }
14958 if test "$wxUSE_FREETYPE" = "yes" -o "$wxUSE_FREETYPE" = "sys" ; then
14959 cat >> confdefs.h
<<\EOF
14960 #define wxUSE_FREETYPE 1
14963 if test "$wxUSE_FREETYPE" = "yes" ; then
14964 FREETYPE_INCLUDE
="-I\${top_srcdir}/src/freetype"
14967 ac_safe
=`echo "freetype.h" | sed 'y%./+-%__p_%'`
14968 echo $ac_n "checking for freetype.h""... $ac_c" 1>&6
14969 echo "configure:14970: checking for freetype.h" >&5
14970 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14971 echo $ac_n "(cached) $ac_c" 1>&6
14973 cat > conftest.
$ac_ext <<EOF
14974 #line 14975 "configure"
14975 #include "confdefs.h"
14976 #include <freetype.h>
14978 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14979 { (eval echo configure
:14980: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14980 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14981 if test -z "$ac_err"; then
14983 eval "ac_cv_header_$ac_safe=yes"
14986 echo "configure: failed program was:" >&5
14987 cat conftest.
$ac_ext >&5
14989 eval "ac_cv_header_$ac_safe=no"
14993 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14994 echo "$ac_t""yes" 1>&6
14995 echo $ac_n "checking for FT_Render_Glyph in -lfreetype""... $ac_c" 1>&6
14996 echo "configure:14997: checking for FT_Render_Glyph in -lfreetype" >&5
14997 ac_lib_var
=`echo freetype'_'FT_Render_Glyph | sed 'y%./+-%__p_%'`
14998 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14999 echo $ac_n "(cached) $ac_c" 1>&6
15001 ac_save_LIBS
="$LIBS"
15002 LIBS
="-lfreetype -lm $LIBS"
15003 cat > conftest.
$ac_ext <<EOF
15004 #line 15005 "configure"
15005 #include "confdefs.h"
15006 /* Override any gcc2 internal prototype to avoid an error. */
15007 /* We use char because int might match the return type of a gcc2
15008 builtin and then its argument prototype would still apply. */
15009 char FT_Render_Glyph();
15015 if { (eval echo configure
:15016: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15017 eval "ac_cv_lib_$ac_lib_var=yes"
15019 echo "configure: failed program was:" >&5
15020 cat conftest.
$ac_ext >&5
15022 eval "ac_cv_lib_$ac_lib_var=no"
15025 LIBS
="$ac_save_LIBS"
15028 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15029 echo "$ac_t""yes" 1>&6
15030 FREETYPE_LINK
="-lfreetype"
15032 echo "$ac_t""no" 1>&6
15037 echo "$ac_t""no" 1>&6
15040 if test "x$FREETYPE_LINK" = "x" ; then
15041 { echo "configure: error: system freetype library not found! Use --with-freetype=yes to use the built-in freetype" 1>&2; exit 1; }
15046 if test "$wxUSE_OPENGL" = "yes"; then
15047 ac_safe
=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
15048 echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
15049 echo "configure:15050: checking for GL/gl.h" >&5
15050 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15051 echo $ac_n "(cached) $ac_c" 1>&6
15053 cat > conftest.
$ac_ext <<EOF
15054 #line 15055 "configure"
15055 #include "confdefs.h"
15058 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15059 { (eval echo configure
:15060: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15060 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15061 if test -z "$ac_err"; then
15063 eval "ac_cv_header_$ac_safe=yes"
15066 echo "configure: failed program was:" >&5
15067 cat conftest.
$ac_ext >&5
15069 eval "ac_cv_header_$ac_safe=no"
15073 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15074 echo "$ac_t""yes" 1>&6
15076 cat >> confdefs.h
<<\EOF
15077 #define wxUSE_OPENGL 1
15080 cat >> confdefs.h
<<\EOF
15081 #define wxUSE_GLCANVAS 1
15084 echo $ac_n "checking for glFlush in -lGL""... $ac_c" 1>&6
15085 echo "configure:15086: checking for glFlush in -lGL" >&5
15086 ac_lib_var
=`echo GL'_'glFlush | sed 'y%./+-%__p_%'`
15087 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15088 echo $ac_n "(cached) $ac_c" 1>&6
15090 ac_save_LIBS
="$LIBS"
15092 cat > conftest.
$ac_ext <<EOF
15093 #line 15094 "configure"
15094 #include "confdefs.h"
15095 /* Override any gcc2 internal prototype to avoid an error. */
15096 /* We use char because int might match the return type of a gcc2
15097 builtin and then its argument prototype would still apply. */
15104 if { (eval echo configure
:15105: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15106 eval "ac_cv_lib_$ac_lib_var=yes"
15108 echo "configure: failed program was:" >&5
15109 cat conftest.
$ac_ext >&5
15111 eval "ac_cv_lib_$ac_lib_var=no"
15114 LIBS
="$ac_save_LIBS"
15117 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15118 echo "$ac_t""yes" 1>&6
15120 OPENGL_LINK
="-lGL -lGLU"
15123 echo "$ac_t""no" 1>&6
15125 echo $ac_n "checking for glFlush in -lMesaGL""... $ac_c" 1>&6
15126 echo "configure:15127: checking for glFlush in -lMesaGL" >&5
15127 ac_lib_var
=`echo MesaGL'_'glFlush | sed 'y%./+-%__p_%'`
15128 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15129 echo $ac_n "(cached) $ac_c" 1>&6
15131 ac_save_LIBS
="$LIBS"
15132 LIBS
="-lMesaGL $LIBS"
15133 cat > conftest.
$ac_ext <<EOF
15134 #line 15135 "configure"
15135 #include "confdefs.h"
15136 /* Override any gcc2 internal prototype to avoid an error. */
15137 /* We use char because int might match the return type of a gcc2
15138 builtin and then its argument prototype would still apply. */
15145 if { (eval echo configure
:15146: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15147 eval "ac_cv_lib_$ac_lib_var=yes"
15149 echo "configure: failed program was:" >&5
15150 cat conftest.
$ac_ext >&5
15152 eval "ac_cv_lib_$ac_lib_var=no"
15155 LIBS
="$ac_save_LIBS"
15158 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15159 echo "$ac_t""yes" 1>&6
15161 OPENGL_LINK
="-lMesaGL -lMesaGLU"
15164 echo "$ac_t""no" 1>&6
15172 echo "$ac_t""no" 1>&6
15179 if test "$wxUSE_GUI" = "yes"; then
15180 cat >> confdefs.h
<<\EOF
15181 #define wxUSE_GUI 1
15186 cat >> confdefs.h
<<\EOF
15187 #define wxUSE_NOGUI 1
15193 if test "$wxUSE_UNIX" = "yes"; then
15194 cat >> confdefs.h
<<\EOF
15195 #define wxUSE_UNIX 1
15201 if test "$wxUSE_APPLE_IEEE" = "yes"; then
15202 cat >> confdefs.h
<<\EOF
15203 #define wxUSE_APPLE_IEEE 1
15208 if test "$wxUSE_TIMER" = "yes"; then
15209 cat >> confdefs.h
<<\EOF
15210 #define wxUSE_TIMER 1
15215 if test "$wxUSE_WAVE" = "yes"; then
15216 cat >> confdefs.h
<<\EOF
15217 #define wxUSE_WAVE 1
15222 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
15223 cat >> confdefs.h
<<\EOF
15224 #define wxUSE_CMDLINE_PARSER 1
15229 if test "$wxUSE_STOPWATCH" = "yes"; then
15230 cat >> confdefs.h
<<\EOF
15231 #define wxUSE_STOPWATCH 1
15236 if test "$wxUSE_DATETIME" = "yes"; then
15237 cat >> confdefs.h
<<\EOF
15238 #define wxUSE_DATETIME 1
15243 if test "$wxUSE_TIMEDATE" = "yes"; then
15244 cat >> confdefs.h
<<\EOF
15245 #define wxUSE_TIMEDATE 1
15250 if test "$wxUSE_FILE" = "yes"; then
15251 cat >> confdefs.h
<<\EOF
15252 #define wxUSE_FILE 1
15257 if test "$wxUSE_FFILE" = "yes"; then
15258 cat >> confdefs.h
<<\EOF
15259 #define wxUSE_FFILE 1
15264 if test "$wxUSE_FILESYSTEM" = "yes"; then
15265 cat >> confdefs.h
<<\EOF
15266 #define wxUSE_FILESYSTEM 1
15271 if test "$wxUSE_FS_INET" = "yes"; then
15272 cat >> confdefs.h
<<\EOF
15273 #define wxUSE_FS_INET 1
15278 if test "$wxUSE_FS_ZIP" = "yes"; then
15279 cat >> confdefs.h
<<\EOF
15280 #define wxUSE_FS_ZIP 1
15285 if test "$wxUSE_ZIPSTREAM" = "yes"; then
15286 cat >> confdefs.h
<<\EOF
15287 #define wxUSE_ZIPSTREAM 1
15292 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
15293 cat >> confdefs.h
<<\EOF
15294 #define wxUSE_ON_FATAL_EXCEPTION 1
15299 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
15300 cat >> confdefs.h
<<\EOF
15301 #define wxUSE_SNGLINST_CHECKER 1
15306 if test "$wxUSE_BUSYINFO" = "yes"; then
15307 cat >> confdefs.h
<<\EOF
15308 #define wxUSE_BUSYINFO 1
15313 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
15314 cat >> confdefs.h
<<\EOF
15315 #define wxUSE_STD_IOSTREAM 1
15320 if test "$wxUSE_TEXTFILE" = "yes"; then
15321 if test "$wxUSE_FILE" != "yes"; then
15322 echo "configure: warning: wxTextFile requires wxFile and it won't be compiled without it" 1>&2
15324 cat >> confdefs.h
<<\EOF
15325 #define wxUSE_TEXTFILE 1
15331 if test "$wxUSE_CONFIG" = "yes" ; then
15332 if test "$wxUSE_TEXTFILE" != "yes"; then
15333 echo "configure: warning: wxConfig requires wxTextFile and it won't be compiled without it" 1>&2
15335 cat >> confdefs.h
<<\EOF
15336 #define wxUSE_CONFIG 1
15339 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
15343 if test "$wxUSE_INTL" = "yes" ; then
15344 if test "$wxUSE_FILE" != "yes"; then
15345 echo "configure: warning: I18n code requires wxFile and it won't be compiled without it" 1>&2
15347 cat >> confdefs.h
<<\EOF
15348 #define wxUSE_INTL 1
15351 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
15352 GUIDIST
="$GUIDIST INTL_DIST"
15356 if test "$wxUSE_LOG" = "yes"; then
15357 cat >> confdefs.h
<<\EOF
15358 #define wxUSE_LOG 1
15362 if test "$wxUSE_LOGGUI" = "yes"; then
15363 cat >> confdefs.h
<<\EOF
15364 #define wxUSE_LOGGUI 1
15369 if test "$wxUSE_LOGWINDOW" = "yes"; then
15370 cat >> confdefs.h
<<\EOF
15371 #define wxUSE_LOGWINDOW 1
15377 if test "$wxUSE_LONGLONG" = "yes"; then
15378 cat >> confdefs.h
<<\EOF
15379 #define wxUSE_LONGLONG 1
15384 if test "$wxUSE_GEOMETRY" = "yes"; then
15385 cat >> confdefs.h
<<\EOF
15386 #define wxUSE_GEOMETRY 1
15391 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
15392 cat >> confdefs.h
<<\EOF
15393 #define wxUSE_DIALUP_MANAGER 1
15396 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
15399 if test "$wxUSE_STREAMS" = "yes" ; then
15400 cat >> confdefs.h
<<\EOF
15401 #define wxUSE_STREAMS 1
15407 if test "$wxUSE_DATETIME" = "yes"; then
15408 for ac_func
in strptime
15410 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15411 echo "configure:15412: checking for $ac_func" >&5
15412 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15413 echo $ac_n "(cached) $ac_c" 1>&6
15415 cat > conftest.
$ac_ext <<EOF
15416 #line 15417 "configure"
15417 #include "confdefs.h"
15418 /* System header to define __stub macros and hopefully few prototypes,
15419 which can conflict with char $ac_func(); below. */
15420 #include <assert.h>
15421 /* Override any gcc2 internal prototype to avoid an error. */
15422 /* We use char because int might match the return type of a gcc2
15423 builtin and then its argument prototype would still apply. */
15428 /* The GNU C library defines this for functions which it implements
15429 to always fail with ENOSYS. Some functions are actually named
15430 something starting with __ and the normal name is an alias. */
15431 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15439 if { (eval echo configure
:15440: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15441 eval "ac_cv_func_$ac_func=yes"
15443 echo "configure: failed program was:" >&5
15444 cat conftest.
$ac_ext >&5
15446 eval "ac_cv_func_$ac_func=no"
15451 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15452 echo "$ac_t""yes" 1>&6
15453 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15454 cat >> confdefs.h
<<EOF
15455 #define $ac_tr_func 1
15459 echo "$ac_t""no" 1>&6
15464 echo $ac_n "checking for timezone variable in <time.h>""... $ac_c" 1>&6
15465 echo "configure:15466: checking for timezone variable in <time.h>" >&5
15466 if eval "test \"`echo '$''{'wx_cv_var_timezone'+set}'`\" = set"; then
15467 echo $ac_n "(cached) $ac_c" 1>&6
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
15493 cat > conftest.
$ac_ext <<EOF
15494 #line 15495 "configure"
15495 #include "confdefs.h"
15506 if { (eval echo configure
:15507: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15509 wx_cv_var_timezone
=_timezone
15512 echo "configure: failed program was:" >&5
15513 cat conftest.
$ac_ext >&5
15516 cat > conftest.
$ac_ext <<EOF
15517 #line 15518 "configure"
15518 #include "confdefs.h"
15529 if { (eval echo configure
:15530: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15532 wx_cv_var_timezone
=timezone
15535 echo "configure: failed program was:" >&5
15536 cat conftest.
$ac_ext >&5
15538 { echo "configure: error: no timezone variable" 1>&2; exit 1; }
15554 echo "$ac_t""$wx_cv_var_timezone" 1>&6
15556 cat >> confdefs.h
<<EOF
15557 #define WX_TIMEZONE $wx_cv_var_timezone
15561 for ac_func
in localtime
15563 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15564 echo "configure:15565: checking for $ac_func" >&5
15565 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15566 echo $ac_n "(cached) $ac_c" 1>&6
15568 cat > conftest.
$ac_ext <<EOF
15569 #line 15570 "configure"
15570 #include "confdefs.h"
15571 /* System header to define __stub macros and hopefully few prototypes,
15572 which can conflict with char $ac_func(); below. */
15573 #include <assert.h>
15574 /* Override any gcc2 internal prototype to avoid an error. */
15575 /* We use char because int might match the return type of a gcc2
15576 builtin and then its argument prototype would still apply. */
15581 /* The GNU C library defines this for functions which it implements
15582 to always fail with ENOSYS. Some functions are actually named
15583 something starting with __ and the normal name is an alias. */
15584 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15592 if { (eval echo configure
:15593: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15594 eval "ac_cv_func_$ac_func=yes"
15596 echo "configure: failed program was:" >&5
15597 cat conftest.
$ac_ext >&5
15599 eval "ac_cv_func_$ac_func=no"
15604 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15605 echo "$ac_t""yes" 1>&6
15606 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15607 cat >> confdefs.h
<<EOF
15608 #define $ac_tr_func 1
15612 echo "$ac_t""no" 1>&6
15617 if test "$ac_cv_func_localtime" = "yes"; then
15618 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
15619 echo "configure:15620: checking for tm_gmtoff in struct tm" >&5
15620 if eval "test \"`echo '$''{'wx_cv_struct_tm_has_gmtoff'+set}'`\" = set"; then
15621 echo $ac_n "(cached) $ac_c" 1>&6
15624 cat > conftest.
$ac_ext <<EOF
15625 #line 15626 "configure"
15626 #include "confdefs.h"
15637 if { (eval echo configure
:15638: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15640 wx_cv_struct_tm_has_gmtoff
=yes
15643 echo "configure: failed program was:" >&5
15644 cat conftest.
$ac_ext >&5
15646 wx_cv_struct_tm_has_gmtoff
=no
15653 echo "$ac_t""$wx_cv_struct_tm_has_gmtoff" 1>&6
15656 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
15657 cat >> confdefs.h
<<\EOF
15658 #define WX_GMTOFF_IN_TM 1
15663 for ac_func
in gettimeofday ftime
15665 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15666 echo "configure:15667: checking for $ac_func" >&5
15667 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15668 echo $ac_n "(cached) $ac_c" 1>&6
15670 cat > conftest.
$ac_ext <<EOF
15671 #line 15672 "configure"
15672 #include "confdefs.h"
15673 /* System header to define __stub macros and hopefully few prototypes,
15674 which can conflict with char $ac_func(); below. */
15675 #include <assert.h>
15676 /* Override any gcc2 internal prototype to avoid an error. */
15677 /* We use char because int might match the return type of a gcc2
15678 builtin and then its argument prototype would still apply. */
15683 /* The GNU C library defines this for functions which it implements
15684 to always fail with ENOSYS. Some functions are actually named
15685 something starting with __ and the normal name is an alias. */
15686 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15694 if { (eval echo configure
:15695: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15696 eval "ac_cv_func_$ac_func=yes"
15698 echo "configure: failed program was:" >&5
15699 cat conftest.
$ac_ext >&5
15701 eval "ac_cv_func_$ac_func=no"
15706 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15707 echo "$ac_t""yes" 1>&6
15708 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15709 cat >> confdefs.h
<<EOF
15710 #define $ac_tr_func 1
15714 echo "$ac_t""no" 1>&6
15719 if test "$ac_cv_func_gettimeofday" = "yes"; then
15720 echo $ac_n "checking whether gettimeofday takes two arguments""... $ac_c" 1>&6
15721 echo "configure:15722: checking whether gettimeofday takes two arguments" >&5
15722 if eval "test \"`echo '$''{'wx_cv_func_gettimeofday_has_2_args'+set}'`\" = set"; then
15723 echo $ac_n "(cached) $ac_c" 1>&6
15728 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15729 ac_cpp
='$CXXCPP $CPPFLAGS'
15730 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15731 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15732 cross_compiling
=$ac_cv_prog_cxx_cross
15735 cat > conftest.
$ac_ext <<EOF
15736 #line 15737 "configure"
15737 #include "confdefs.h"
15739 #include <sys/time.h>
15740 #include <unistd.h>
15745 struct timezone tz;
15746 gettimeofday(&tv, &tz);
15750 if { (eval echo configure
:15751: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15752 wx_cv_func_gettimeofday_has_2_args
=yes
15754 echo "configure: failed program was:" >&5
15755 cat conftest.
$ac_ext >&5
15757 cat > conftest.
$ac_ext <<EOF
15758 #line 15759 "configure"
15759 #include "confdefs.h"
15761 #include <sys/time.h>
15762 #include <unistd.h>
15771 if { (eval echo configure
:15772: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15773 wx_cv_func_gettimeofday_has_2_args
=no
15775 echo "configure: failed program was:" >&5
15776 cat conftest.
$ac_ext >&5
15778 wx_cv_func_gettimeofday_has_2_args
=unknown
15786 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15787 ac_cpp
='$CPP $CPPFLAGS'
15788 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15789 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15790 cross_compiling
=$ac_cv_prog_cc_cross
15795 echo "$ac_t""$wx_cv_func_gettimeofday_has_2_args" 1>&6
15797 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
15798 cat >> confdefs.h
<<\EOF
15799 #define WX_GETTIMEOFDAY_NO_TZ 1
15805 cat >> confdefs.h
<<\EOF
15806 #define wxUSE_TIMEDATE 1
15809 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
15813 if test "$TOOLKIT" != "MSW"; then
15815 if test "$wxUSE_SOCKETS" = "yes"; then
15816 echo $ac_n "checking for socket""... $ac_c" 1>&6
15817 echo "configure:15818: checking for socket" >&5
15818 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
15819 echo $ac_n "(cached) $ac_c" 1>&6
15821 cat > conftest.
$ac_ext <<EOF
15822 #line 15823 "configure"
15823 #include "confdefs.h"
15824 /* System header to define __stub macros and hopefully few prototypes,
15825 which can conflict with char socket(); below. */
15826 #include <assert.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. */
15834 /* The GNU C library defines this for functions which it implements
15835 to always fail with ENOSYS. Some functions are actually named
15836 something starting with __ and the normal name is an alias. */
15837 #if defined (__stub_socket) || defined (__stub___socket)
15845 if { (eval echo configure
:15846: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15847 eval "ac_cv_func_socket=yes"
15849 echo "configure: failed program was:" >&5
15850 cat conftest.
$ac_ext >&5
15852 eval "ac_cv_func_socket=no"
15857 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
15858 echo "$ac_t""yes" 1>&6
15861 echo "$ac_t""no" 1>&6
15862 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
15863 echo "configure:15864: checking for socket in -lsocket" >&5
15864 ac_lib_var
=`echo socket'_'socket | sed 'y%./+-%__p_%'`
15865 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15866 echo $ac_n "(cached) $ac_c" 1>&6
15868 ac_save_LIBS
="$LIBS"
15869 LIBS
="-lsocket $LIBS"
15870 cat > conftest.
$ac_ext <<EOF
15871 #line 15872 "configure"
15872 #include "confdefs.h"
15873 /* Override any gcc2 internal prototype to avoid an error. */
15874 /* We use char because int might match the return type of a gcc2
15875 builtin and then its argument prototype would still apply. */
15882 if { (eval echo configure
:15883: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15884 eval "ac_cv_lib_$ac_lib_var=yes"
15886 echo "configure: failed program was:" >&5
15887 cat conftest.
$ac_ext >&5
15889 eval "ac_cv_lib_$ac_lib_var=no"
15892 LIBS
="$ac_save_LIBS"
15895 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15896 echo "$ac_t""yes" 1>&6
15897 INET_LINK
="$INET_LINK -lsocket"
15899 echo "$ac_t""no" 1>&6
15901 echo "configure: warning: socket library not found - sockets will be disabled" 1>&2
15913 if test "$wxUSE_SOCKETS" = "yes" ; then
15914 echo $ac_n "checking what is the type of the third argument of getsockname""... $ac_c" 1>&6
15915 echo "configure:15916: checking what is the type of the third argument of getsockname" >&5
15916 if eval "test \"`echo '$''{'wx_cv_type_getsockname3'+set}'`\" = set"; then
15917 echo $ac_n "(cached) $ac_c" 1>&6
15922 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15923 ac_cpp
='$CXXCPP $CPPFLAGS'
15924 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15925 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15926 cross_compiling
=$ac_cv_prog_cxx_cross
15929 cat > conftest.
$ac_ext <<EOF
15930 #line 15931 "configure"
15931 #include "confdefs.h"
15933 #include <sys/types.h>
15934 #include <sys/socket.h>
15939 getsockname(0, 0, &len);
15943 if { (eval echo configure
:15944: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15945 wx_cv_type_getsockname3
=socklen_t
15947 echo "configure: failed program was:" >&5
15948 cat conftest.
$ac_ext >&5
15950 cat > conftest.
$ac_ext <<EOF
15951 #line 15952 "configure"
15952 #include "confdefs.h"
15954 #include <sys/types.h>
15955 #include <sys/socket.h>
15960 getsockname(0, 0, &len);
15964 if { (eval echo configure
:15965: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15966 wx_cv_type_getsockname3
=size_t
15968 echo "configure: failed program was:" >&5
15969 cat conftest.
$ac_ext >&5
15971 cat > conftest.
$ac_ext <<EOF
15972 #line 15973 "configure"
15973 #include "confdefs.h"
15975 #include <sys/types.h>
15976 #include <sys/socket.h>
15981 getsockname(0, 0, &len);
15985 if { (eval echo configure
:15986: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15987 wx_cv_type_getsockname3
=int
15989 echo "configure: failed program was:" >&5
15990 cat conftest.
$ac_ext >&5
15992 wx_cv_type_getsockname3
=unknown
16004 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16005 ac_cpp
='$CPP $CPPFLAGS'
16006 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16007 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16008 cross_compiling
=$ac_cv_prog_cc_cross
16013 echo "$ac_t""$wx_cv_type_getsockname3" 1>&6
16015 if test "$wx_cv_type_getsockname3" = "unknown"; then
16017 echo "configure: warning: Couldn't find socklen_t synonym for this system" 1>&2
16019 cat >> confdefs.h
<<EOF
16020 #define SOCKLEN_T $wx_cv_type_getsockname3
16028 if test "$wxUSE_SOCKETS" = "yes" ; then
16029 cat >> confdefs.h
<<\EOF
16030 #define wxUSE_SOCKETS 1
16033 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
16034 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS protocol"
16038 if test "$wxUSE_GUI" = "yes"; then
16040 if test "$TOOLKIT" != "MSW"; then
16042 if test "$wxUSE_JOYSTICK" = "yes"; then
16043 for ac_hdr
in linux
/joystick.h
16045 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
16046 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
16047 echo "configure:16048: checking for $ac_hdr" >&5
16048 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
16049 echo $ac_n "(cached) $ac_c" 1>&6
16051 cat > conftest.
$ac_ext <<EOF
16052 #line 16053 "configure"
16053 #include "confdefs.h"
16056 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
16057 { (eval echo configure
:16058: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16058 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
16059 if test -z "$ac_err"; then
16061 eval "ac_cv_header_$ac_safe=yes"
16064 echo "configure: failed program was:" >&5
16065 cat conftest.
$ac_ext >&5
16067 eval "ac_cv_header_$ac_safe=no"
16071 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
16072 echo "$ac_t""yes" 1>&6
16073 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
16074 cat >> confdefs.h
<<EOF
16075 #define $ac_tr_hdr 1
16079 echo "$ac_t""no" 1>&6
16083 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
16085 echo "configure: warning: Joystick not supported by this system" 1>&2
16091 if test "$wxUSE_JOYSTICK" = "yes"; then
16092 cat >> confdefs.h
<<\EOF
16093 #define wxUSE_JOYSTICK 1
16096 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
16102 if test "$TOOLKIT" != "MSW"; then
16106 if test "$wxUSE_DYNLIB_CLASS" = "yes"; then
16107 if test "$USE_MAC" = 1; then
16110 for ac_func
in dlopen
16112 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16113 echo "configure:16114: checking for $ac_func" >&5
16114 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16115 echo $ac_n "(cached) $ac_c" 1>&6
16117 cat > conftest.
$ac_ext <<EOF
16118 #line 16119 "configure"
16119 #include "confdefs.h"
16120 /* System header to define __stub macros and hopefully few prototypes,
16121 which can conflict with char $ac_func(); below. */
16122 #include <assert.h>
16123 /* Override any gcc2 internal prototype to avoid an error. */
16124 /* We use char because int might match the return type of a gcc2
16125 builtin and then its argument prototype would still apply. */
16130 /* The GNU C library defines this for functions which it implements
16131 to always fail with ENOSYS. Some functions are actually named
16132 something starting with __ and the normal name is an alias. */
16133 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16141 if { (eval echo configure
:16142: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16143 eval "ac_cv_func_$ac_func=yes"
16145 echo "configure: failed program was:" >&5
16146 cat conftest.
$ac_ext >&5
16148 eval "ac_cv_func_$ac_func=no"
16153 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16154 echo "$ac_t""yes" 1>&6
16155 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16156 cat >> confdefs.h
<<EOF
16157 #define $ac_tr_func 1
16160 cat >> confdefs.h
<<\EOF
16161 #define HAVE_DLOPEN 1
16167 echo "$ac_t""no" 1>&6
16168 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
16169 echo "configure:16170: checking for dlopen in -ldl" >&5
16170 ac_lib_var
=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
16171 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16172 echo $ac_n "(cached) $ac_c" 1>&6
16174 ac_save_LIBS
="$LIBS"
16176 cat > conftest.
$ac_ext <<EOF
16177 #line 16178 "configure"
16178 #include "confdefs.h"
16179 /* Override any gcc2 internal prototype to avoid an error. */
16180 /* We use char because int might match the return type of a gcc2
16181 builtin and then its argument prototype would still apply. */
16188 if { (eval echo configure
:16189: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16190 eval "ac_cv_lib_$ac_lib_var=yes"
16192 echo "configure: failed program was:" >&5
16193 cat conftest.
$ac_ext >&5
16195 eval "ac_cv_lib_$ac_lib_var=no"
16198 LIBS
="$ac_save_LIBS"
16201 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16202 echo "$ac_t""yes" 1>&6
16204 cat >> confdefs.h
<<\EOF
16205 #define HAVE_DLOPEN 1
16212 echo "$ac_t""no" 1>&6
16214 for ac_func
in shl_load
16216 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16217 echo "configure:16218: checking for $ac_func" >&5
16218 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16219 echo $ac_n "(cached) $ac_c" 1>&6
16221 cat > conftest.
$ac_ext <<EOF
16222 #line 16223 "configure"
16223 #include "confdefs.h"
16224 /* System header to define __stub macros and hopefully few prototypes,
16225 which can conflict with char $ac_func(); below. */
16226 #include <assert.h>
16227 /* Override any gcc2 internal prototype to avoid an error. */
16228 /* We use char because int might match the return type of a gcc2
16229 builtin and then its argument prototype would still apply. */
16234 /* The GNU C library defines this for functions which it implements
16235 to always fail with ENOSYS. Some functions are actually named
16236 something starting with __ and the normal name is an alias. */
16237 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16245 if { (eval echo configure
:16246: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16247 eval "ac_cv_func_$ac_func=yes"
16249 echo "configure: failed program was:" >&5
16250 cat conftest.
$ac_ext >&5
16252 eval "ac_cv_func_$ac_func=no"
16257 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16258 echo "$ac_t""yes" 1>&6
16259 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16260 cat >> confdefs.h
<<EOF
16261 #define $ac_tr_func 1
16264 cat >> confdefs.h
<<\EOF
16265 #define HAVE_SHL_LOAD 1
16271 echo "$ac_t""no" 1>&6
16272 echo $ac_n "checking for dld in -lshl_load""... $ac_c" 1>&6
16273 echo "configure:16274: checking for dld in -lshl_load" >&5
16274 ac_lib_var
=`echo shl_load'_'dld | sed 'y%./+-%__p_%'`
16275 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16276 echo $ac_n "(cached) $ac_c" 1>&6
16278 ac_save_LIBS
="$LIBS"
16279 LIBS
="-lshl_load $LIBS"
16280 cat > conftest.
$ac_ext <<EOF
16281 #line 16282 "configure"
16282 #include "confdefs.h"
16283 /* Override any gcc2 internal prototype to avoid an error. */
16284 /* We use char because int might match the return type of a gcc2
16285 builtin and then its argument prototype would still apply. */
16292 if { (eval echo configure
:16293: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16294 eval "ac_cv_lib_$ac_lib_var=yes"
16296 echo "configure: failed program was:" >&5
16297 cat conftest.
$ac_ext >&5
16299 eval "ac_cv_lib_$ac_lib_var=no"
16302 LIBS
="$ac_save_LIBS"
16305 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16306 echo "$ac_t""yes" 1>&6
16312 echo "$ac_t""no" 1>&6
16327 if test "$HAVE_DL_FUNCS" = 1; then
16328 for ac_func
in dlerror
16330 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16331 echo "configure:16332: checking for $ac_func" >&5
16332 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16333 echo $ac_n "(cached) $ac_c" 1>&6
16335 cat > conftest.
$ac_ext <<EOF
16336 #line 16337 "configure"
16337 #include "confdefs.h"
16338 /* System header to define __stub macros and hopefully few prototypes,
16339 which can conflict with char $ac_func(); below. */
16340 #include <assert.h>
16341 /* Override any gcc2 internal prototype to avoid an error. */
16342 /* We use char because int might match the return type of a gcc2
16343 builtin and then its argument prototype would still apply. */
16348 /* The GNU C library defines this for functions which it implements
16349 to always fail with ENOSYS. Some functions are actually named
16350 something starting with __ and the normal name is an alias. */
16351 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16359 if { (eval echo configure
:16360: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16361 eval "ac_cv_func_$ac_func=yes"
16363 echo "configure: failed program was:" >&5
16364 cat conftest.
$ac_ext >&5
16366 eval "ac_cv_func_$ac_func=no"
16371 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16372 echo "$ac_t""yes" 1>&6
16373 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16374 cat >> confdefs.h
<<EOF
16375 #define $ac_tr_func 1
16377 cat >> confdefs.h
<<\EOF
16378 #define HAVE_DLERROR 1
16382 echo "$ac_t""no" 1>&6
16383 echo $ac_n "checking for dlerror in -ldl""... $ac_c" 1>&6
16384 echo "configure:16385: checking for dlerror in -ldl" >&5
16385 ac_lib_var
=`echo dl'_'dlerror | sed 'y%./+-%__p_%'`
16386 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16387 echo $ac_n "(cached) $ac_c" 1>&6
16389 ac_save_LIBS
="$LIBS"
16391 cat > conftest.
$ac_ext <<EOF
16392 #line 16393 "configure"
16393 #include "confdefs.h"
16394 /* Override any gcc2 internal prototype to avoid an error. */
16395 /* We use char because int might match the return type of a gcc2
16396 builtin and then its argument prototype would still apply. */
16403 if { (eval echo configure
:16404: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16405 eval "ac_cv_lib_$ac_lib_var=yes"
16407 echo "configure: failed program was:" >&5
16408 cat conftest.
$ac_ext >&5
16410 eval "ac_cv_lib_$ac_lib_var=no"
16413 LIBS
="$ac_save_LIBS"
16416 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16417 echo "$ac_t""yes" 1>&6
16418 cat >> confdefs.h
<<\EOF
16419 #define HAVE_DLERROR 1
16423 echo "$ac_t""no" 1>&6
16432 if test "$HAVE_DL_FUNCS" = 0; then
16433 if test "$HAVE_SHL_FUNCS" = 0; then
16434 if test "$USE_UNIX" = 1; then
16435 echo "configure: warning: Missing dynamic loading support, several features will be disabled" 1>&2
16436 wxUSE_DYNLIB_CLASS
=no
16438 echo "configure: warning: Assuming wxLibrary class works on this platform" 1>&2
16446 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
16447 cat >> confdefs.h
<<\EOF
16448 #define wxUSE_DYNLIB_CLASS 1
16457 if test "$wxUSE_FONTMAP" = "yes" ; then
16458 cat >> confdefs.h
<<\EOF
16459 #define wxUSE_FONTMAP 1
16464 if test "$wxUSE_UNICODE" = "yes" ; then
16465 cat >> confdefs.h
<<\EOF
16466 #define wxUSE_UNICODE 1
16471 if test "$wxUSE_WCSRTOMBS" = "yes" ; then
16472 cat >> confdefs.h
<<\EOF
16473 #define wxUSE_WCSRTOMBS 1
16478 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
16479 cat >> confdefs.h
<<\EOF
16480 #define wxUSE_EXPERIMENTAL_PRINTF 1
16486 if test "$wxUSE_SERIAL" = "yes" ; then
16487 cat >> confdefs.h
<<\EOF
16488 #define wxUSE_SERIAL 1
16495 if test "$wxUSE_ODBC" = "yes" ; then
16496 cat >> confdefs.h
<<\EOF
16497 #define wxUSE_ODBC 1
16500 WXODBCFLAG
="-D_IODBC_"
16501 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
16505 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
16506 cat >> confdefs.h
<<\EOF
16507 #define wxUSE_POSTSCRIPT 1
16512 cat >> confdefs.h
<<\EOF
16513 #define wxUSE_AFM_FOR_POSTSCRIPT 1
16517 cat >> confdefs.h
<<\EOF
16518 #define wxUSE_NORMALIZED_PS_FONTS 1
16523 if test "$wxUSE_CONSTRAINTS" = "yes"; then
16524 cat >> confdefs.h
<<\EOF
16525 #define wxUSE_CONSTRAINTS 1
16528 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
16531 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
16532 cat >> confdefs.h
<<\EOF
16533 #define wxUSE_MDI_ARCHITECTURE 1
16536 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
16539 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
16540 cat >> confdefs.h
<<\EOF
16541 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
16544 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
16545 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
16546 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
16550 if test "$wxUSE_HELP" = "yes"; then
16551 cat >> confdefs.h
<<\EOF
16552 #define wxUSE_HELP 1
16555 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
16557 if test "$wxUSE_WXHTML_HELP" = "yes"; then
16558 cat >> confdefs.h
<<\EOF
16559 #define wxUSE_WXHTML_HELP 1
16565 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
16566 if test "$wxUSE_CONSTRAINTS" != "yes"; then
16567 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
16569 cat >> confdefs.h
<<\EOF
16570 #define wxUSE_PRINTING_ARCHITECTURE 1
16574 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
16577 if test "$wxUSE_PROLOGIO" = "yes" ; then
16578 cat >> confdefs.h
<<\EOF
16579 #define wxUSE_PROLOGIO 1
16584 if test "$wxUSE_RESOURCES" = "yes" ; then
16585 cat >> confdefs.h
<<\EOF
16586 #define wxUSE_RESOURCES 1
16589 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS resource"
16592 if test "$wxUSE_X_RESOURCES" = "yes"; then
16593 cat >> confdefs.h
<<\EOF
16594 #define wxUSE_X_RESOURCES 1
16600 if test "$wxUSE_IPC" = "yes"; then
16601 if test "$wxUSE_SOCKETS" != "yes"; then
16602 echo "configure: warning: wxWindows IPC classes require sockets" 1>&2
16605 cat >> confdefs.h
<<\EOF
16606 #define wxUSE_IPC 1
16611 if test "$wxUSE_CLIPBOARD" = "yes"; then
16612 cat >> confdefs.h
<<\EOF
16613 #define wxUSE_CLIPBOARD 1
16616 cat >> confdefs.h
<<\EOF
16617 #define wxUSE_DATAOBJ 1
16622 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
16623 if test "$wxUSE_GTK" = 1; then
16624 if test "$WXGTK12" != 1; then
16625 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2" 1>&2
16626 wxUSE_DRAG_AND_DROP
=no
16630 if test "$wxUSE_MOTIF" = 1; then
16631 echo "configure: warning: Drag and drop is not yet supported under Motif" 1>&2
16632 wxUSE_DRAG_AND_DROP
=no
16635 if test "$wxUSE_MAC" = 1; then
16636 echo "configure: warning: Drag and drop is not yet supported under Mac OS X" 1>&2
16637 wxUSE_DRAG_AND_DROP
=no
16640 if test "$USE_WIN32" = 1; then
16642 for ac_hdr
in ole2.h
16644 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
16645 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
16646 echo "configure:16647: checking for $ac_hdr" >&5
16647 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
16648 echo $ac_n "(cached) $ac_c" 1>&6
16650 cat > conftest.
$ac_ext <<EOF
16651 #line 16652 "configure"
16652 #include "confdefs.h"
16655 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
16656 { (eval echo configure
:16657: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16657 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
16658 if test -z "$ac_err"; then
16660 eval "ac_cv_header_$ac_safe=yes"
16663 echo "configure: failed program was:" >&5
16664 cat conftest.
$ac_ext >&5
16666 eval "ac_cv_header_$ac_safe=no"
16670 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
16671 echo "$ac_t""yes" 1>&6
16672 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
16673 cat >> confdefs.h
<<EOF
16674 #define $ac_tr_hdr 1
16678 echo "$ac_t""no" 1>&6
16683 if test "$ac_cv_header_ole2_h" = "yes" ; then
16684 if test "$GCC" = yes ; then
16685 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
16686 ALL_DEPFILES
="$ALL_DEPFILES \$(OLEDEPS)"
16687 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
16688 LIBS
="$LIBS -lole32 -luuid"
16690 if test "$wxUSE_METAFILE" = "yes"; then
16691 cat >> confdefs.h
<<\EOF
16692 #define wxUSE_METAFILE 1
16695 cat >> confdefs.h
<<\EOF
16696 #define wxUSE_ENH_METAFILE 1
16702 echo "configure: warning: Drag and drop disabled because OLE headers not found" 1>&2
16703 wxUSE_DRAG_AND_DROP
=no
16707 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
16708 cat >> confdefs.h
<<\EOF
16709 #define wxUSE_DRAG_AND_DROP 1
16712 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
16717 if test "$wxUSE_SPLINES" = "yes" ; then
16718 cat >> confdefs.h
<<\EOF
16719 #define wxUSE_SPLINES 1
16726 if test "$wxUSE_CONTROLS" = "yes"; then
16730 if test "$wxUSE_ACCEL" = "yes"; then
16731 cat >> confdefs.h
<<\EOF
16732 #define wxUSE_ACCEL 1
16738 if test "$wxUSE_BUTTON" = "yes"; then
16739 cat >> confdefs.h
<<\EOF
16740 #define wxUSE_BUTTON 1
16746 if test "$wxUSE_BMPBUTTON" = "yes"; then
16747 cat >> confdefs.h
<<\EOF
16748 #define wxUSE_BMPBUTTON 1
16754 if test "$wxUSE_CALCTRL" = "yes"; then
16755 cat >> confdefs.h
<<\EOF
16756 #define wxUSE_CALENDARCTRL 1
16760 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
16763 if test "$wxUSE_CARET" = "yes"; then
16764 cat >> confdefs.h
<<\EOF
16765 #define wxUSE_CARET 1
16769 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
16772 if test "$wxUSE_COMBOBOX" = "yes"; then
16773 cat >> confdefs.h
<<\EOF
16774 #define wxUSE_COMBOBOX 1
16780 if test "$wxUSE_CHOICE" = "yes"; then
16781 cat >> confdefs.h
<<\EOF
16782 #define wxUSE_CHOICE 1
16788 if test "$wxUSE_CHECKBOX" = "yes"; then
16789 cat >> confdefs.h
<<\EOF
16790 #define wxUSE_CHECKBOX 1
16796 if test "$wxUSE_CHECKLST" = "yes"; then
16797 cat >> confdefs.h
<<\EOF
16798 #define wxUSE_CHECKLISTBOX 1
16802 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
16805 if test "$wxUSE_GAUGE" = "yes"; then
16806 cat >> confdefs.h
<<\EOF
16807 #define wxUSE_GAUGE 1
16813 if test "$wxUSE_NEW_GRID" = "yes"; then
16815 cat >> confdefs.h
<<\EOF
16816 #define wxUSE_NEW_GRID 1
16820 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS newgrid"
16823 if test "$wxUSE_GRID" = "yes"; then
16824 cat >> confdefs.h
<<\EOF
16825 #define wxUSE_GRID 1
16829 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
16832 if test "$wxUSE_IMAGLIST" = "yes"; then
16833 cat >> confdefs.h
<<\EOF
16834 #define wxUSE_IMAGLIST 1
16839 if test "$wxUSE_LISTBOX" = "yes"; then
16840 cat >> confdefs.h
<<\EOF
16841 #define wxUSE_LISTBOX 1
16847 if test "$wxUSE_LISTCTRL" = "yes"; then
16848 if test "$wxUSE_IMAGLIST" = "yes"; then
16849 cat >> confdefs.h
<<\EOF
16850 #define wxUSE_LISTCTRL 1
16854 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
16856 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
16860 if test "$wxUSE_NOTEBOOK" = "yes"; then
16861 cat >> confdefs.h
<<\EOF
16862 #define wxUSE_NOTEBOOK 1
16866 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
16869 if test "$wxUSE_RADIOBOX" = "yes"; then
16870 cat >> confdefs.h
<<\EOF
16871 #define wxUSE_RADIOBOX 1
16877 if test "$wxUSE_RADIOBTN" = "yes"; then
16878 cat >> confdefs.h
<<\EOF
16879 #define wxUSE_RADIOBTN 1
16885 if test "$wxUSE_SASH" = "yes"; then
16886 cat >> confdefs.h
<<\EOF
16887 #define wxUSE_SASH 1
16890 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
16893 if test "$wxUSE_SCROLLBAR" = "yes"; then
16894 cat >> confdefs.h
<<\EOF
16895 #define wxUSE_SCROLLBAR 1
16899 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
16902 if test "$wxUSE_SLIDER" = "yes"; then
16903 cat >> confdefs.h
<<\EOF
16904 #define wxUSE_SLIDER 1
16910 if test "$wxUSE_SPINBTN" = "yes"; then
16911 cat >> confdefs.h
<<\EOF
16912 #define wxUSE_SPINBTN 1
16918 if test "$wxUSE_SPINCTRL" = "yes"; then
16919 cat >> confdefs.h
<<\EOF
16920 #define wxUSE_SPINCTRL 1
16926 if test "$wxUSE_SPLITTER" = "yes"; then
16927 cat >> confdefs.h
<<\EOF
16928 #define wxUSE_SPLITTER 1
16931 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
16934 if test "$wxUSE_STATBMP" = "yes"; then
16935 cat >> confdefs.h
<<\EOF
16936 #define wxUSE_STATBMP 1
16942 if test "$wxUSE_STATBOX" = "yes"; then
16943 cat >> confdefs.h
<<\EOF
16944 #define wxUSE_STATBOX 1
16950 if test "$wxUSE_STATTEXT" = "yes"; then
16951 cat >> confdefs.h
<<\EOF
16952 #define wxUSE_STATTEXT 1
16958 if test "$wxUSE_STATLINE" = "yes"; then
16959 if test "$wxUSE_WINE" = 1 ; then
16960 echo "configure: warning: wxStaticLine is not supported under WINE" 1>&2
16962 cat >> confdefs.h
<<\EOF
16963 #define wxUSE_STATLINE 1
16970 if test "$wxUSE_STATUSBAR" = "yes"; then
16971 cat >> confdefs.h
<<\EOF
16972 #define wxUSE_STATUSBAR 1
16977 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
16980 if test "$wxUSE_TABDIALOG" = "yes"; then
16981 cat >> confdefs.h
<<\EOF
16982 #define wxUSE_TAB_DIALOG 1
16985 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
16988 if test "$wxUSE_TEXTCTRL" = "yes"; then
16989 cat >> confdefs.h
<<\EOF
16990 #define wxUSE_TEXTCTRL 1
16994 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
16997 if test "$wxUSE_TOGGLEBTN" = "yes"; then
16998 if test "$wxUSE_MAC" = 1; then
16999 echo "configure: warning: Toggle button is not yet supported under Mac OS X" 1>&2
17003 if test "$wxUSE_TOGGLEBTN" = "yes"; then
17004 cat >> confdefs.h
<<\EOF
17005 #define wxUSE_TOGGLEBTN 1
17012 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
17013 cat >> confdefs.h
<<\EOF
17014 #define wxUSE_TOOLBAR_SIMPLE 1
17017 wxUSE_TOOLBAR
="yes"
17021 if test "$wxUSE_TOOLBAR" = "yes"; then
17022 cat >> confdefs.h
<<\EOF
17023 #define wxUSE_TOOLBAR 1
17028 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
17029 wxUSE_TOOLBAR_NATIVE
="yes"
17032 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
17033 cat >> confdefs.h
<<\EOF
17034 #define wxUSE_TOOLBAR_NATIVE 1
17040 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
17043 if test "$wxUSE_TOOLTIPS" = "yes"; then
17044 if test "$wxUSE_MOTIF" = 1; then
17045 echo "configure: warning: wxTooltip not supported yet under Motif" 1>&2
17047 if test "$wxUSE_WINE" = 1; then
17048 echo "configure: warning: wxTooltip not supported under WINE" 1>&2
17050 cat >> confdefs.h
<<\EOF
17051 #define wxUSE_TOOLTIPS 1
17058 if test "$wxUSE_TREECTRL" = "yes"; then
17059 if test "$wxUSE_IMAGLIST" = "yes"; then
17060 cat >> confdefs.h
<<\EOF
17061 #define wxUSE_TREECTRL 1
17065 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
17067 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
17071 if test "$USES_CONTROLS" = 1; then
17072 cat >> confdefs.h
<<\EOF
17073 #define wxUSE_CONTROLS 1
17080 if test "$wxUSE_DRAGIMAGE" = "yes"; then
17081 cat >> confdefs.h
<<\EOF
17082 #define wxUSE_DRAGIMAGE 1
17085 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
17088 if test "$wxUSE_MENUS" = "yes"; then
17089 cat >> confdefs.h
<<\EOF
17090 #define wxUSE_MENUS 1
17093 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
17096 if test "$wxUSE_METAFILE" = "yes"; then
17097 cat >> confdefs.h
<<\EOF
17098 #define wxUSE_METAFILE 1
17103 if test "$wxUSE_MIMETYPE" = "yes"; then
17104 cat >> confdefs.h
<<\EOF
17105 #define wxUSE_MIMETYPE 1
17110 if test "$wxUSE_MINIFRAME" = "yes"; then
17111 cat >> confdefs.h
<<\EOF
17112 #define wxUSE_MINIFRAME 1
17115 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
17118 if test "$wxUSE_HTML" = "yes"; then
17119 cat >> confdefs.h
<<\EOF
17120 #define wxUSE_HTML 1
17123 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html"
17124 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS html"
17127 if test "$wxUSE_VALIDATORS" = "yes"; then
17128 cat >> confdefs.h
<<\EOF
17129 #define wxUSE_VALIDATORS 1
17132 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
17135 if test "$wxUSE_IMAGE" = "yes" ; then
17136 cat >> confdefs.h
<<\EOF
17137 #define wxUSE_IMAGE 1
17142 if test "$wxUSE_GIF" = "yes" ; then
17143 cat >> confdefs.h
<<\EOF
17144 #define wxUSE_GIF 1
17149 if test "$wxUSE_PCX" = "yes" ; then
17150 cat >> confdefs.h
<<\EOF
17151 #define wxUSE_PCX 1
17156 if test "$wxUSE_PNM" = "yes" ; then
17157 cat >> confdefs.h
<<\EOF
17158 #define wxUSE_PNM 1
17163 if test "$wxUSE_XPM" = "yes" ; then
17164 cat >> confdefs.h
<<\EOF
17165 #define wxUSE_XPM 1
17171 if test "$wxUSE_CHOICEDLG" = "yes"; then
17172 cat >> confdefs.h
<<\EOF
17173 #define wxUSE_CHOICEDLG 1
17178 if test "$wxUSE_COLOURDLG" = "yes"; then
17179 cat >> confdefs.h
<<\EOF
17180 #define wxUSE_COLOURDLG 1
17185 if test "$wxUSE_FILEDLG" = "yes"; then
17186 cat >> confdefs.h
<<\EOF
17187 #define wxUSE_FILEDLG 1
17192 if test "$wxUSE_FONTDLG" = "yes"; then
17193 cat >> confdefs.h
<<\EOF
17194 #define wxUSE_FONTDLG 1
17199 if test "$wxUSE_DIRDLG" = "yes"; then
17200 if test "$wxUSE_CONSTRAINTS" != "yes"; then
17201 echo "configure: warning: wxDirDialog requires constraints so it won't be compiled without them" 1>&2
17203 if test "$wxUSE_TREECTRL" != "yes"; then
17204 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
17206 cat >> confdefs.h
<<\EOF
17207 #define wxUSE_DIRDLG 1
17214 if test "$wxUSE_MSGDLG" = "yes"; then
17215 cat >> confdefs.h
<<\EOF
17216 #define wxUSE_MSGDLG 1
17221 if test "$wxUSE_NUMBERDLG" = "yes"; then
17222 cat >> confdefs.h
<<\EOF
17223 #define wxUSE_NUMBERDLG 1
17228 if test "$wxUSE_PROGRESSDLG" = "yes"; then
17229 if test "$wxUSE_CONSTRAINTS" != "yes"; then
17230 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
17232 cat >> confdefs.h
<<\EOF
17233 #define wxUSE_PROGRESSDLG 1
17239 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
17240 if test "$wxUSE_CONSTRAINTS" != "yes"; then
17241 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
17243 cat >> confdefs.h
<<\EOF
17244 #define wxUSE_STARTUP_TIPS 1
17250 if test "$wxUSE_TEXTDLG" = "yes"; then
17251 cat >> confdefs.h
<<\EOF
17252 #define wxUSE_TEXTDLG 1
17257 if test "$wxUSE_WIZARDDLG" = "yes"; then
17258 cat >> confdefs.h
<<\EOF
17259 #define wxUSE_WIZARDDLG 1
17262 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
17266 if test "$cross_compiling" = "yes"; then
17269 OSINFO
=`uname -s -r -m`
17270 OSINFO
="\"$OSINFO\""
17273 cat >> confdefs.h
<<EOF
17274 #define WXWIN_OS_DESCRIPTION $OSINFO
17279 GUILIBS
="$GUI_TK_LIBRARY $TOOLKIT_LINK"
17280 OPENGL_LIBS
="$OPENGL_LINK"
17282 EXTRA_LIBS
="$LIBS $POSIX4_LINK $INET_LINK $WCHAR_LINK $THREADS_LINK $DMALLOC_LINK $DL_LINK $ZLIB_LINK -lm"
17283 if test "$USE_MAC" = 1 ; then
17284 EXTRA_LIBS
="$EXTRA_LIBS -framework Carbon -framework System"
17286 if test "$wxUSE_GUI" = "yes"; then
17287 EXTRA_LIBS
="$GUILIBS $PNG_LINK $JPEG_LINK $TIFF_LINK $FREETYPE_LINK $EXTRA_LIBS"
17290 LD_LIBS
="\${top_builddir}/lib/${WX_LIBRARY_NAME_STATIC} $EXTRA_LIBS"
17292 INCLUDES
="-I. -I\${top_builddir}/include -I\${top_srcdir}/include $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE $FREETYPE_INCLUDE $TOOLKIT_INCLUDE"
17294 if test "$wxUSE_GTK" = 1; then
17295 WXCONFIG_INCLUDE
=""
17297 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
17300 if test "$GXX" = yes ; then
17301 CXXWARNINGS
="-Wall"
17303 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE $INCLUDES"
17305 CFLAGS
=`echo $CFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
17306 CXXFLAGS
=`echo $CXXFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
17308 LDFLAGS
="$LDFLAGS $PROFILE"
17310 if test "$wxUSE_GUI" = "yes"; then
17312 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS controls dialogs \
17313 drawing dynamic event font fractal image \
17314 minimal richedit widgets"
17316 if test "$wxUSE_UNIVERSAL" = "yes" ; then
17317 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS univ"
17320 CPPFLAGS
="$CPPFLAGS \$(EXTRADEFS) \$(APPEXTRADEFS)"
17325 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
17420 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
17421 echo "configure:17422: checking whether ${MAKE-make} sets \${MAKE}" >&5
17422 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
17423 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
17424 echo $ac_n "(cached) $ac_c" 1>&6
17426 cat > conftestmake
<<\EOF
17428 @
echo 'ac_maketemp="${MAKE}"'
17430 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
17431 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
17432 if test -n "$ac_maketemp"; then
17433 eval ac_cv_prog_make_
${ac_make}_set
=yes
17435 eval ac_cv_prog_make_
${ac_make}_set
=no
17439 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
17440 echo "$ac_t""yes" 1>&6
17443 echo "$ac_t""no" 1>&6
17444 SET_MAKE
="MAKE=${MAKE-make}"
17448 if test -d include
; then
17449 if test -d include
/wx
; then
17450 if test -d include
/wx
/${SETUPH_DIR}; then
17451 if test -f include
/wx
/${SETUPH_DIR}/setup.h
; then
17452 mv -f include
/wx
/${SETUPH_DIR}/setup.h setup.h
17460 if test "$wxUSE_GUI" = "yes"; then
17461 wx_cv_path_samplesubdirs
=$SAMPLES_SUBDIRS
17462 wx_cv_path_ifs
=$PATH_IFS
17463 wx_cv_program_ext
=$PROGRAM_EXT
17464 wx_cv_target_library
=$WX_TARGET_LIBRARY
17465 wx_cv_target_libtype
=$WX_TARGET_LIBRARY_TYPE
17466 export wx_cv_path_samplesubdirs wx_cv_path_ifs wx_cv_program_ext \
17467 wx_cv_target_library wx_cv_target_libtype
17468 subdirs
="demos samples utils contrib"
17473 cat > confcache
<<\EOF
17474 # This file is a shell script that caches the results of configure
17475 # tests run on this system so they can be shared between configure
17476 # scripts and configure runs. It is not useful on other systems.
17477 # If it contains results you don't want to keep, you may remove or edit it.
17479 # By default, configure uses ./config.cache as the cache file,
17480 # creating it if it does not exist already. You can give configure
17481 # the --cache-file=FILE option to use a different cache file; that is
17482 # what configure does when it calls configure scripts in
17483 # subdirectories, so they share the cache.
17484 # Giving --cache-file=/dev/null disables caching, for debugging configure.
17485 # config.status only pays attention to the cache file if you give it the
17486 # --recheck option to rerun configure.
17489 # The following way of writing the cache mishandles newlines in values,
17490 # but we know of no workaround that is simple, portable, and efficient.
17491 # So, don't put newlines in cache variables' values.
17492 # Ultrix sh set writes to stderr and can't be redirected directly,
17493 # and sets the high bit in the cache file unless we assign to the vars.
17495 case `(ac_space=' '; set | grep ac_space) 2>&1` in
17497 # `set' does not quote correctly, so add quotes (double-quote substitution
17498 # turns \\\\ into \\, and sed turns \\ into \).
17500 -e "s/'/'\\\\''/g" \
17501 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
17504 # `set' quotes correctly as required by POSIX, so do not add quotes.
17505 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
17508 if cmp -s $cache_file confcache
; then
17511 if test -w $cache_file; then
17512 echo "updating cache $cache_file"
17513 cat confcache
> $cache_file
17515 echo "not updating unwritable cache $cache_file"
17520 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
17522 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
17523 # Let make expand exec_prefix.
17524 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
17526 # Any assignment to VPATH causes Sun make to only execute
17527 # the first set of double-colon rules, so remove it if not needed.
17528 # If there is a colon in the path, we need to keep it.
17529 if test "x$srcdir" = x.
; then
17530 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
17533 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
17535 DEFS
=-DHAVE_CONFIG_H
17537 # Without the "./", some shells look in PATH for config.status.
17538 : ${CONFIG_STATUS=./config.status}
17540 echo creating
$CONFIG_STATUS
17541 rm -f $CONFIG_STATUS
17542 cat > $CONFIG_STATUS <<EOF
17544 # Generated automatically by configure.
17545 # Run this file to recreate the current configuration.
17546 # This directory was configured as follows,
17547 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17549 # $0 $ac_configure_args
17551 # Compiler output produced by configure, useful for debugging
17552 # configure, is in ./config.log if it exists.
17554 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
17557 case "\$ac_option" in
17558 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
17559 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
17560 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
17561 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
17562 echo "$CONFIG_STATUS generated by autoconf version 2.13"
17564 -help | --help | --hel | --he | --h)
17565 echo "\$ac_cs_usage"; exit 0 ;;
17566 *) echo "\$ac_cs_usage"; exit 1 ;;
17570 ac_given_srcdir=$srcdir
17571 ac_given_INSTALL="$INSTALL"
17573 trap 'rm -fr `echo "
17579 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
17581 cat >> $CONFIG_STATUS <<EOF
17583 # Protect against being on the right side of a sed subst in config.status.
17584 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
17585 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
17589 s%@CFLAGS@%$CFLAGS%g
17590 s%@CPPFLAGS@%$CPPFLAGS%g
17591 s%@CXXFLAGS@%$CXXFLAGS%g
17592 s%@FFLAGS@%$FFLAGS%g
17594 s%@LDFLAGS@%$LDFLAGS%g
17596 s%@exec_prefix@%$exec_prefix%g
17597 s%@prefix@%$prefix%g
17598 s%@program_transform_name@%$program_transform_name%g
17599 s%@bindir@%$bindir%g
17600 s%@sbindir@%$sbindir%g
17601 s%@libexecdir@%$libexecdir%g
17602 s%@datadir@%$datadir%g
17603 s%@sysconfdir@%$sysconfdir%g
17604 s%@sharedstatedir@%$sharedstatedir%g
17605 s%@localstatedir@%$localstatedir%g
17606 s%@libdir@%$libdir%g
17607 s%@includedir@%$includedir%g
17608 s%@oldincludedir@%$oldincludedir%g
17609 s%@infodir@%$infodir%g
17610 s%@mandir@%$mandir%g
17612 s%@host_alias@%$host_alias%g
17613 s%@host_cpu@%$host_cpu%g
17614 s%@host_vendor@%$host_vendor%g
17615 s%@host_os@%$host_os%g
17616 s%@target@%$target%g
17617 s%@target_alias@%$target_alias%g
17618 s%@target_cpu@%$target_cpu%g
17619 s%@target_vendor@%$target_vendor%g
17620 s%@target_os@%$target_os%g
17622 s%@build_alias@%$build_alias%g
17623 s%@build_cpu@%$build_cpu%g
17624 s%@build_vendor@%$build_vendor%g
17625 s%@build_os@%$build_os%g
17629 s%@CXXCPP@%$CXXCPP%g
17630 s%@RANLIB@%$RANLIB%g
17632 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
17633 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
17634 s%@INSTALL_DATA@%$INSTALL_DATA%g
17638 s%@LEXLIB@%$LEXLIB%g
17640 s%@GTK_CONFIG_2_0@%$GTK_CONFIG_2_0%g
17641 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
17642 s%@GTK_LIBS@%$GTK_LIBS%g
17643 s%@GTK_CONFIG@%$GTK_CONFIG%g
17644 s%@X_CFLAGS@%$X_CFLAGS%g
17645 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
17646 s%@X_LIBS@%$X_LIBS%g
17647 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
17650 s%@LEX_STEM@%$LEX_STEM%g
17651 s%@PATH_IFS@%$PATH_IFS%g
17652 s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
17653 s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
17654 s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
17655 s%@WX_LIBRARY_NAME@%$WX_LIBRARY_NAME%g
17656 s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
17657 s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
17658 s%@WX_LIBRARY@%$WX_LIBRARY%g
17659 s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
17660 s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
17661 s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
17662 s%@WX_LIBRARY_LINK3@%$WX_LIBRARY_LINK3%g
17663 s%@PROGRAM_EXT@%$PROGRAM_EXT%g
17664 s%@WX_LIBRARY_NAME_GL@%$WX_LIBRARY_NAME_GL%g
17665 s%@WX_LIBRARY_NAME_STATIC_GL@%$WX_LIBRARY_NAME_STATIC_GL%g
17666 s%@WX_LIBRARY_NAME_SHARED_GL@%$WX_LIBRARY_NAME_SHARED_GL%g
17667 s%@WX_LIBRARY_GL@%$WX_LIBRARY_GL%g
17668 s%@WX_TARGET_LIBRARY_GL@%$WX_TARGET_LIBRARY_GL%g
17669 s%@WX_LIBRARY_LINK1_GL@%$WX_LIBRARY_LINK1_GL%g
17670 s%@WX_LIBRARY_LINK2_GL@%$WX_LIBRARY_LINK2_GL%g
17671 s%@WX_LIBRARY_LINK3_GL@%$WX_LIBRARY_LINK3_GL%g
17672 s%@WX_ALL@%$WX_ALL%g
17673 s%@WX_ALL_INSTALLED@%$WX_ALL_INSTALLED%g
17674 s%@SHARED_LD@%$SHARED_LD%g
17675 s%@PIC_FLAG@%$PIC_FLAG%g
17676 s%@DEP_INFO_FLAGS@%$DEP_INFO_FLAGS%g
17677 s%@CODE_GEN_FLAGS@%$CODE_GEN_FLAGS%g
17678 s%@CODE_GEN_FLAGS_CXX@%$CODE_GEN_FLAGS_CXX%g
17679 s%@BURNT_LIBRARY_NAME@%$BURNT_LIBRARY_NAME%g
17680 s%@BURNT_LIBRARY_NAME_GL@%$BURNT_LIBRARY_NAME_GL%g
17681 s%@WX_TARGET_LIBRARY_SONAME@%$WX_TARGET_LIBRARY_SONAME%g
17682 s%@WX_TARGET_LIBRARY_TYPE@%$WX_TARGET_LIBRARY_TYPE%g
17683 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
17684 s%@USE_GUI@%$USE_GUI%g
17685 s%@AFMINSTALL@%$AFMINSTALL%g
17686 s%@SETUPH_DIR@%$SETUPH_DIR%g
17687 s%@TOOLKIT@%$TOOLKIT%g
17688 s%@TOOLKIT_DEF@%$TOOLKIT_DEF%g
17689 s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
17690 s%@TOOLKIT_NAME@%$TOOLKIT_NAME%g
17691 s%@TOOLKIT_INCLUDE@%$TOOLKIT_INCLUDE%g
17692 s%@TOOLKIT_VPATH@%$TOOLKIT_VPATH%g
17693 s%@WXCONFIG_INCLUDE@%$WXCONFIG_INCLUDE%g
17694 s%@ALL_OBJECTS@%$ALL_OBJECTS%g
17695 s%@ALL_DEPFILES@%$ALL_DEPFILES%g
17696 s%@GUIDIST@%$GUIDIST%g
17697 s%@PORT_FILES@%$PORT_FILES%g
17698 s%@DISTDIR@%$DISTDIR%g
17699 s%@RPM_SPEC@%$RPM_SPEC%g
17700 s%@RPM_FILES@%$RPM_FILES%g
17701 s%@SRC_SUBDIRS@%$SRC_SUBDIRS%g
17702 s%@INCLUDE_SUBDIRS@%$INCLUDE_SUBDIRS%g
17703 s%@UTILS_SUBDIRS@%$UTILS_SUBDIRS%g
17704 s%@DOCS_SUBDIRS@%$DOCS_SUBDIRS%g
17705 s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
17706 s%@USER_SUBDIRS@%$USER_SUBDIRS%g
17707 s%@EXTRA_LIBS@%$EXTRA_LIBS%g
17708 s%@OPENGL_LIBS@%$OPENGL_LIBS%g
17709 s%@EXTRADEFS@%$EXTRADEFS%g
17710 s%@LD_LIBS@%$LD_LIBS%g
17711 s%@RCINPUTSWITCH@%$RCINPUTSWITCH%g
17712 s%@RCOUTPUTSWITCH@%$RCOUTPUTSWITCH%g
17713 s%@RESPROGRAM@%$RESPROGRAM%g
17714 s%@RESCOMP@%$RESCOMP%g
17715 s%@RESFLAGS@%$RESFLAGS%g
17716 s%@REZFLAGS@%$REZFLAGS%g
17717 s%@DEREZFLAGS@%$DEREZFLAGS%g
17718 s%@LIBWXMACRES@%$LIBWXMACRES%g
17719 s%@LIBWXMACRESCOMP@%$LIBWXMACRESCOMP%g
17720 s%@DLLTOOL@%$DLLTOOL%g
17724 s%@MAKEINFO@%$MAKEINFO%g
17725 s%@SET_MAKE@%$SET_MAKE%g
17726 s%@subdirs@%$subdirs%g
17731 cat >> $CONFIG_STATUS <<\EOF
17733 # Split the substitutions into bite-sized pieces for seds with
17734 # small command number limits, like on Digital OSF/1 and HP-UX.
17735 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
17736 ac_file
=1 # Number of current file.
17737 ac_beg
=1 # First line for current file.
17738 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
17741 while $ac_more_lines; do
17742 if test $ac_beg -gt 1; then
17743 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
17745 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
17747 if test ! -s conftest.s
$ac_file; then
17748 ac_more_lines
=false
17749 rm -f conftest.s
$ac_file
17751 if test -z "$ac_sed_cmds"; then
17752 ac_sed_cmds
="sed -f conftest.s$ac_file"
17754 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
17756 ac_file
=`expr $ac_file + 1`
17758 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
17761 if test -z "$ac_sed_cmds"; then
17766 cat >> $CONFIG_STATUS <<EOF
17768 CONFIG_FILES=\${CONFIG_FILES-"wx-config
17775 cat >> $CONFIG_STATUS <<\EOF
17776 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
17777 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
17779 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
17780 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
17781 *) ac_file_in
="${ac_file}.in" ;;
17784 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
17786 # Remove last slash and all that follows it. Not all systems have dirname.
17787 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
17788 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
17789 # The file is in a subdirectory.
17790 test ! -d "$ac_dir" && mkdir "$ac_dir"
17791 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
17792 # A "../" for each directory in $ac_dir_suffix.
17793 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
17795 ac_dir_suffix
= ac_dots
=
17798 case "$ac_given_srcdir" in
17800 if test -z "$ac_dots"; then top_srcdir
=.
17801 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
17802 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
17803 *) # Relative path.
17804 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
17805 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
17808 case "$ac_given_INSTALL" in
17809 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
17810 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
17813 echo creating
"$ac_file"
17815 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
17817 *Makefile
*) ac_comsub
="1i\\
17818 # $configure_input" ;;
17822 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
17824 s%@configure_input@%$configure_input%g
17825 s%@srcdir@%$srcdir%g
17826 s%@top_srcdir@%$top_srcdir%g
17827 s%@INSTALL@%$INSTALL%g
17828 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
17832 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
17833 # NAME is the cpp macro being defined and VALUE is the value it is being given.
17835 # ac_d sets the value in "#define NAME VALUE" lines.
17836 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
17837 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
17840 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
17841 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
17842 ac_uB
='\([ ]\)%\1#\2define\3'
17845 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
17846 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
17847 ac_eB
='$%\1#\2define\3'
17851 if test "${CONFIG_HEADERS+set}" != set; then
17853 cat >> $CONFIG_STATUS <<EOF
17854 CONFIG_HEADERS="setup.h:setup.h.in"
17856 cat >> $CONFIG_STATUS <<\EOF
17858 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
17859 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
17861 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
17862 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
17863 *) ac_file_in
="${ac_file}.in" ;;
17866 echo creating
$ac_file
17868 rm -f conftest.frag conftest.
in conftest.out
17869 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
17870 cat $ac_file_inputs > conftest.
in
17874 # Transform confdefs.h into a sed script conftest.vals that substitutes
17875 # the proper values into config.h.in to produce config.h. And first:
17876 # Protect against being on the right side of a sed subst in config.status.
17877 # Protect against being in an unquoted here document in config.status.
17878 rm -f conftest.vals
17879 cat > conftest.hdr
<<\EOF
17882 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
17886 sed -n -f conftest.hdr confdefs.h > conftest.vals
17889 # This sed command replaces #undef with comments. This is necessary, for
17890 # example, in the case of _POSIX_SOURCE, which is predefined and required
17891 # on some systems where configure will not decide to define it.
17892 cat >> conftest.vals <<\EOF
17893 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
17896 # Break up conftest.vals because some shells have a limit on
17897 # the size of here documents, and old seds have small limits too.
17899 rm -f conftest.tail
17902 ac_lines=`grep -c . conftest.vals
`
17903 # grep -c gives empty output for an empty file on some AIX systems.
17904 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
17905 # Write a limited-size here document to conftest.frag.
17906 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
17907 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
17909 sed -f conftest.frag conftest.in > conftest.out
17911 mv conftest.out conftest.in
17912 ' >> $CONFIG_STATUS
17913 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
17914 rm -f conftest.vals
17915 mv conftest.tail conftest.vals
17917 rm -f conftest.vals
17919 cat >> $CONFIG_STATUS <<\EOF
17920 rm -f conftest.frag conftest.h
17921 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
17922 cat conftest.in >> conftest.h
17924 if cmp -s $ac_file conftest.h 2>/dev/null; then
17925 echo "$ac_file is unchanged"
17928 # Remove last slash and all that follows it. Not all systems have dirname.
17929 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
17930 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
17931 # The file is in a subdirectory.
17932 test ! -d "$ac_dir" && mkdir "$ac_dir"
17935 mv conftest.h $ac_file
17940 cat >> $CONFIG_STATUS <<EOF
17942 SETUPH_DIR="${SETUPH_DIR}"
17943 TOOLKIT_NAME="${TOOLKIT_NAME}"
17948 cat >> $CONFIG_STATUS <<\EOF
17950 if test ! -f wx${TOOLKIT_NAME}-config; then
17952 mv wx-config wx${TOOLKIT_NAME}-config
17953 ${LN_S} wx${TOOLKIT_NAME}-config wx-config
17957 if test ! -d lib; then
17960 if test ! -d lib/wx; then
17963 if test ! -d lib/wx/include; then
17964 mkdir lib/wx/include
17966 if test ! -d lib/wx/include/wx; then
17967 mkdir lib/wx/include/wx
17969 if test ! -d lib/wx/include/wx/${TOOLKIT_NAME}; then
17970 mkdir lib/wx/include/wx/${TOOLKIT_NAME}
17972 if test -f setup.h; then
17973 cp -fp setup.h lib/wx/include/wx/${TOOLKIT_NAME}/setup.h
17977 if test ! -d include; then
17980 if test ! -d include/wx; then
17983 if test ! -d include/wx/${SETUPH_DIR}; then
17984 mkdir include/wx/${SETUPH_DIR}
17986 if test -f setup.h; then
17987 cp -fp setup.h include/wx/${SETUPH_DIR}/setup.h
17993 chmod +x $CONFIG_STATUS
17994 rm -fr confdefs* $ac_clean_files
17995 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
17997 if test "$no_recursion" != yes; then
17999 # Remove --cache-file and --srcdir arguments so they do not pile up.
18000 ac_sub_configure_args=
18002 for ac_arg in $ac_configure_args; do
18003 if test -n "$ac_prev"; then
18008 -cache-file | --cache-file | --cache-fil | --cache-fi \
18009 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
18010 ac_prev=cache_file ;;
18011 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
18012 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
18014 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
18016 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
18018 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
18022 for ac_config_dir in demos samples utils contrib; do
18024 # Do not complain, so a configure script can configure whichever
18025 # parts of a large source tree are present.
18026 if test ! -d $srcdir/$ac_config_dir; then
18030 echo configuring in $ac_config_dir
18035 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
18037 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
18045 # A "../" for each directory in /$ac_config_dir.
18046 ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
18049 .) # No --srcdir option. We are building in place.
18050 ac_sub_srcdir=$srcdir ;;
18051 /*) # Absolute path.
18052 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
18053 *) # Relative path.
18054 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
18057 # Check for guested configure; otherwise get Cygnus style configure.
18058 if test -f $ac_sub_srcdir/configure; then
18059 ac_sub_configure=$ac_sub_srcdir/configure
18060 elif test -f $ac_sub_srcdir/configure.in; then
18061 ac_sub_configure=$ac_configure
18063 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
18067 # The recursion is here.
18068 if test -n "$ac_sub_configure"; then
18070 # Make the cache file name correct relative to the subdirectory.
18071 case "$cache_file" in
18072 /*) ac_sub_cache_file=$cache_file ;;
18073 *) # Relative path.
18074 ac_sub_cache_file="$ac_dots$cache_file" ;;
18076 case "$ac_given_INSTALL" in
18077 [/$]*) INSTALL="$ac_given_INSTALL" ;;
18078 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
18081 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
18082 # The eval makes quoting arguments work.
18083 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
18086 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }