3 # From configure.in Id: configure.in
39 # Configure paths for GTK+
47 # Guess values for system-dependent variables and create Makefiles.
48 # Generated automatically using autoconf version 2.13
49 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
51 # This configure script is free software; the Free Software Foundation
52 # gives unlimited permission to copy, distribute and modify it.
56 ac_default_prefix
=/usr
/local
57 # Any additions from configure.in:
59 --enable-gui use GUI classes"
61 --enable-universal use wxWindows GUI controls instead of native ones"
65 --with-motif use Motif/Lesstif"
67 --with-mac use Mac OS X"
71 --with-cygwin use Cygwin for MS-Windows"
73 --with-mingw use GCC Minimal MS-Windows"
75 --with-pm use OS/2 Presentation Manager"
79 --enable-gtk2 use GTK+ 2.0 if available (EXPERIMENTAL)"
81 --with-libpng use libpng (PNG image format)"
83 --with-libjpeg use libjpeg (JPEG file format)"
85 --with-libtiff use libtiff (TIFF file format)"
87 --with-freetype use freetype (font rasterizer)"
89 --with-opengl use OpenGL (or Mesa)"
91 --with-dmalloc use dmalloc library (www.letters.com/dmalloc)"
93 --with-zlib use zlib for LZW compression"
95 --with-odbc use the IODBC and wxODBC classes"
97 --enable-shared create shared library code"
99 --enable-burnt_name create set name in shared library "
101 --enable-optimise create optimised code"
103 --enable-debug same as debug_flag and debug_info"
105 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)"
107 --enable-debug_info create code with debugging information"
109 --enable-debug_gdb create code with extra GDB debugging information"
111 --enable-debug_cntxt use wxDebugContext"
113 --enable-mem_tracing create code with memory tracing"
115 --enable-profile create code with profiling information"
117 --enable-no_rtti create code without RTTI information"
119 --enable-no_exceptions create code without exceptions information"
121 --enable-permissive compile code disregarding strict ANSI"
123 --enable-no_deps create code without dependency information"
125 --enable-compat20 enable wxWin 2.0 compatibility"
127 --enable-compat22 enable wxWin 2.2 compatibility"
129 --enable-intl use internationalization system"
131 --enable-config use wxConfig (and derived) classes"
133 --enable-sockets use socket/network classes"
135 --enable-ipc use interprocess communication (wxSocket etc.)"
137 --enable-cmdline use wxCmdLineParser class"
139 --enable-datetime use wxDateTime class"
141 --enable-timedate use obsolete wxDate/wxTime classes"
143 --enable-stopwatch use wxStopWatch class"
145 --enable-dialupman use dialup network classes"
147 --enable-apple_ieee use the Apple IEEE codec"
149 --enable-timer use wxTimer class"
151 --enable-wave use wxWave class"
153 --enable-fraction use wxFraction class"
155 --enable-dynlib use wxLibrary class for DLL loading"
157 --enable-longlong use wxLongLong class"
159 --enable-geometry use geometry class"
161 --enable-log use logging system"
163 --enable-streams use wxStream etc classes"
165 --enable-file use wxFile classes"
167 --enable-ffile use wxFFile classes"
169 --enable-textfile use wxTextFile classes"
171 --enable-fontmap use font encodings conversion classes"
173 --enable-unicode compile wxString with Unicode support"
175 --enable-wcsrtombs use wcsrtombs instead of buggy (GNU libc1/Linux libc5) wcstombs"
177 --enable-wxprintfv use wxWindows implementation of vprintf()"
179 --enable-std_iostreams use standard C++ stream classes"
181 --enable-filesystem use virtual file systems classes"
183 --enable-fs_inet use virtual HTTP/FTP filesystems"
185 --enable-fs_zip use virtual ZIP filesystems"
187 --enable-zipstream use wxZipInputStream"
189 --enable-catch_segvs catch signals and pass them to wxApp::OnFatalException"
191 --enable-snglinst use wxSingleInstanceChecker class"
193 --enable-mimetypes use wxMimeTypesManager"
195 --enable-threads use threads"
197 --enable-serial use class serialization"
199 --enable-docview use document view architecture"
201 --enable-help use help (using external browser at present)"
203 --enable-constraints use layout-constraints system"
205 --enable-printarch use printing architecture"
207 --enable-mdi use multiple document interface architecture"
209 --enable-loggui use standard GUI logger"
211 --enable-logwin use wxLogWindow"
213 --enable-postscript use wxPostscriptDC device context (default for gtk+)"
215 --enable-prologio use Prolog IO library"
217 --enable-resources use wxWindows resources"
219 --enable-xresources use X resources for save (default for gtk+)"
221 --enable-clipboard use wxClipboard classes"
223 --enable-dnd use Drag'n'Drop classes"
225 --enable-metafile use win32 metafiles"
227 --enable-wxtree make wxTree library"
229 --enable-controls use all usual controls"
231 --enable-accel use accelerators"
233 --enable-button use wxButton class"
235 --enable-bmpbutton use wxBitmapButton class"
237 --enable-calendar use wxCalendarCtrl class"
239 --enable-caret use wxCaret class"
241 --enable-checkbox use wxCheckBox class"
243 --enable-checklst use wxCheckListBox (listbox with checkboxes) class"
245 --enable-choice use wxChoice class"
247 --enable-combobox use wxComboBox classes"
249 --enable-gauge use wxGauge class"
251 --enable-grid use wxGrid class"
253 --enable-newgrid use new wxGrid class"
255 --enable-imaglist use wxImageList class"
257 --enable-listbox use wxListBox class"
259 --enable-listctrl use wxListCtrl class"
261 --enable-notebook use wxNotebook class"
263 --enable-radiobox use wxRadioBox class"
265 --enable-radiobtn use wxRadioButton class"
267 --enable-sash use wxSashWindow class"
269 --enable-scrollbar use wxScrollBar class and scrollable windows"
271 --enable-slider use wxSlider class"
273 --enable-spinbtn use wxSpinButton class"
275 --enable-spinctrl use wxSpinCtrl class"
277 --enable-splitter use wxSplitterWindow class"
279 --enable-statbmp use wxStaticBitmap class"
281 --enable-statbox use wxStaticBox class"
283 --enable-statline use wxStaticLine class"
285 --enable-stattext use wxStaticText class"
287 --enable-statusbar use wxStatusBar class"
289 --enable-tabdialog use wxTabControl class"
291 --enable-textctrl use wxTextCtrl class"
293 --enable-togglebtn use wxToggleButton class"
295 --enable-toolbar use wxToolBar class"
297 --enable-tbarnative use native wxToolBar class"
299 --enable-tbarsmpl use wxToolBarSimple class"
301 --enable-treectrl use wxTreeCtrl class"
303 --enable-commondlg use common dialogs (wxDirDialog, wxProgressDialog, wxTextDialog, ...)"
305 --enable-choicedlg use wxChoiceDialog"
307 --enable-coldlg use wxColourDialog"
309 --enable-filedlg use wxFileDialog"
311 --enable-fontdlg use wxFontDialog"
313 --enable-dirdlg use wxDirDialog"
315 --enable-msgdlg use wxMessageDialog"
317 --enable-numberdlg use wxNumberEntryDialog"
319 --enable-textdlg use wxTextDialog"
321 --enable-tipdlg use startup tips"
323 --enable-progressdlg use wxProgressDialog"
325 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes"
327 --enable-miniframe use wxMiniFrame class"
329 --enable-html use wxHTML sub-library"
331 --enable-tooltips use wxToolTip class"
333 --enable-splines use spline drawing code"
335 --enable-validators use wxValidator and derived classes"
337 --enable-busyinfo use wxBusyInfo"
339 --enable-joystick compile in joystick support (Linux only)"
341 --enable-metafiles use wxMetaFile (Windows only)"
343 --enable-dragimage use wxDragImage"
345 --enable-image use wxImage class"
347 --enable-gif use gif images (GIF file format)"
349 --enable-pcx use pcx images (PCX file format)"
351 --enable-pnm use pnm images (PNM file format)"
353 --enable-xpm use xpm images (XPM file format)"
355 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
357 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
359 --disable-gtktest Do not try to compile and run a test GTK program"
361 --with-x use the X Window System"
363 # Initialize some variables set by options.
364 # The variables have the same names as the options, with
365 # dashes changed to underlines.
367 cache_file
=.
/config.cache
376 program_transform_name
=s
,x
,x
,
384 bindir
='${exec_prefix}/bin'
385 sbindir
='${exec_prefix}/sbin'
386 libexecdir
='${exec_prefix}/libexec'
387 datadir
='${prefix}/share'
388 sysconfdir
='${prefix}/etc'
389 sharedstatedir
='${prefix}/com'
390 localstatedir
='${prefix}/var'
391 libdir
='${exec_prefix}/lib'
392 includedir
='${prefix}/include'
393 oldincludedir
='/usr/include'
394 infodir
='${prefix}/info'
395 mandir
='${prefix}/man'
397 # Initialize some other variables.
400 SHELL
=${CONFIG_SHELL-/bin/sh}
401 # Maximum number of lines to put in a shell here document.
408 # If the previous option needs an argument, assign it.
409 if test -n "$ac_prev"; then
410 eval "$ac_prev=\$ac_option"
416 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
420 # Accept the important Cygnus configure options, so we can diagnose typos.
424 -bindir | --bindir | --bindi | --bind | --bin | --bi)
426 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
427 bindir
="$ac_optarg" ;;
429 -build | --build | --buil | --bui | --bu)
431 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
432 build
="$ac_optarg" ;;
434 -cache-file | --cache-file | --cache-fil | --cache-fi \
435 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
436 ac_prev
=cache_file
;;
437 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
438 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
439 cache_file
="$ac_optarg" ;;
441 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
443 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
445 datadir
="$ac_optarg" ;;
447 -disable-* | --disable-*)
448 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
449 # Reject names that are not valid shell variable names.
450 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
451 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
453 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
454 eval "enable_${ac_feature}=no" ;;
456 -enable-* | --enable-*)
457 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
458 # Reject names that are not valid shell variable names.
459 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
460 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
462 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
467 eval "enable_${ac_feature}='$ac_optarg'" ;;
469 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
470 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
471 | --exec | --exe | --ex)
472 ac_prev
=exec_prefix
;;
473 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
474 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
475 | --exec=* | --exe=* | --ex=*)
476 exec_prefix
="$ac_optarg" ;;
478 -gas | --gas | --ga | --g)
479 # Obsolete; use --with-gas.
482 -help | --help | --hel | --he)
483 # Omit some internal or obsolete options to make the list less imposing.
484 # This message is too long to be a string in the A/UX 3.1 sh.
486 Usage: configure [options] [host]
487 Options: [defaults in brackets after descriptions]
489 --cache-file=FILE cache test results in FILE
490 --help print this message
491 --no-create do not create output files
492 --quiet, --silent do not print \`checking...' messages
493 --version print the version of autoconf that created configure
494 Directory and file names:
495 --prefix=PREFIX install architecture-independent files in PREFIX
497 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
499 --bindir=DIR user executables in DIR [EPREFIX/bin]
500 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
501 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
502 --datadir=DIR read-only architecture-independent data in DIR
504 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
505 --sharedstatedir=DIR modifiable architecture-independent data in DIR
507 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
508 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
509 --includedir=DIR C header files in DIR [PREFIX/include]
510 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
511 --infodir=DIR info documentation in DIR [PREFIX/info]
512 --mandir=DIR man documentation in DIR [PREFIX/man]
513 --srcdir=DIR find the sources in DIR [configure dir or ..]
514 --program-prefix=PREFIX prepend PREFIX to installed program names
515 --program-suffix=SUFFIX append SUFFIX to installed program names
516 --program-transform-name=PROGRAM
517 run sed PROGRAM on installed program names
521 --build=BUILD configure for building on BUILD [BUILD=HOST]
522 --host=HOST configure for HOST [guessed]
523 --target=TARGET configure for TARGET [TARGET=HOST]
524 Features and packages:
525 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
526 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
527 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
528 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
529 --x-includes=DIR X include files are in DIR
530 --x-libraries=DIR X library files are in DIR
532 if test -n "$ac_help"; then
533 echo "--enable and --with options recognized:$ac_help"
537 -host | --host | --hos | --ho)
539 -host=* | --host=* | --hos=* | --ho=*)
542 -includedir | --includedir | --includedi | --included | --include \
543 | --includ | --inclu | --incl | --inc)
544 ac_prev
=includedir
;;
545 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
546 | --includ=* | --inclu=* | --incl=* | --inc=*)
547 includedir
="$ac_optarg" ;;
549 -infodir | --infodir | --infodi | --infod | --info | --inf)
551 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
552 infodir
="$ac_optarg" ;;
554 -libdir | --libdir | --libdi | --libd)
556 -libdir=* | --libdir=* | --libdi=* | --libd=*)
557 libdir
="$ac_optarg" ;;
559 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
560 | --libexe | --libex | --libe)
561 ac_prev
=libexecdir
;;
562 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
563 | --libexe=* | --libex=* | --libe=*)
564 libexecdir
="$ac_optarg" ;;
566 -localstatedir | --localstatedir | --localstatedi | --localstated \
567 | --localstate | --localstat | --localsta | --localst \
568 | --locals | --local | --loca | --loc | --lo)
569 ac_prev
=localstatedir
;;
570 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
571 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
572 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
573 localstatedir
="$ac_optarg" ;;
575 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
577 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
578 mandir
="$ac_optarg" ;;
581 # Obsolete; use --without-fp.
584 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
588 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
589 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
592 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
593 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
594 | --oldin | --oldi | --old | --ol | --o)
595 ac_prev
=oldincludedir
;;
596 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
597 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
598 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
599 oldincludedir
="$ac_optarg" ;;
601 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
603 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
604 prefix
="$ac_optarg" ;;
606 -program-prefix | --program-prefix | --program-prefi | --program-pref \
607 | --program-pre | --program-pr | --program-p)
608 ac_prev
=program_prefix
;;
609 -program-prefix=* | --program-prefix=* | --program-prefi=* \
610 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
611 program_prefix
="$ac_optarg" ;;
613 -program-suffix | --program-suffix | --program-suffi | --program-suff \
614 | --program-suf | --program-su | --program-s)
615 ac_prev
=program_suffix
;;
616 -program-suffix=* | --program-suffix=* | --program-suffi=* \
617 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
618 program_suffix
="$ac_optarg" ;;
620 -program-transform-name | --program-transform-name \
621 | --program-transform-nam | --program-transform-na \
622 | --program-transform-n | --program-transform- \
623 | --program-transform | --program-transfor \
624 | --program-transfo | --program-transf \
625 | --program-trans | --program-tran \
626 | --progr-tra | --program-tr | --program-t)
627 ac_prev
=program_transform_name
;;
628 -program-transform-name=* | --program-transform-name=* \
629 | --program-transform-nam=* | --program-transform-na=* \
630 | --program-transform-n=* | --program-transform-=* \
631 | --program-transform=* | --program-transfor=* \
632 | --program-transfo=* | --program-transf=* \
633 | --program-trans=* | --program-tran=* \
634 | --progr-tra=* | --program-tr=* | --program-t=*)
635 program_transform_name
="$ac_optarg" ;;
637 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
638 | -silent | --silent | --silen | --sile | --sil)
641 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
643 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
645 sbindir
="$ac_optarg" ;;
647 -sharedstatedir | --sharedstatedir | --sharedstatedi \
648 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
649 | --sharedst | --shareds | --shared | --share | --shar \
651 ac_prev
=sharedstatedir
;;
652 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
653 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
654 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
656 sharedstatedir
="$ac_optarg" ;;
658 -site | --site | --sit)
660 -site=* | --site=* | --sit=*)
663 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
665 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
666 srcdir
="$ac_optarg" ;;
668 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
669 | --syscon | --sysco | --sysc | --sys | --sy)
670 ac_prev
=sysconfdir
;;
671 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
672 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
673 sysconfdir
="$ac_optarg" ;;
675 -target | --target | --targe | --targ | --tar | --ta | --t)
677 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
678 target
="$ac_optarg" ;;
680 -v | -verbose | --verbose | --verbos | --verbo | --verb)
683 -version | --version | --versio | --versi | --vers)
684 echo "configure generated by autoconf version 2.13"
688 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
689 # Reject names that are not valid shell variable names.
690 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
691 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
693 ac_package
=`echo $ac_package| sed 's/-/_/g'`
698 eval "with_${ac_package}='$ac_optarg'" ;;
700 -without-* | --without-*)
701 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
702 # Reject names that are not valid shell variable names.
703 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
704 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
706 ac_package
=`echo $ac_package| sed 's/-/_/g'`
707 eval "with_${ac_package}=no" ;;
710 # Obsolete; use --with-x.
713 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
714 | --x-incl | --x-inc | --x-in | --x-i)
715 ac_prev
=x_includes
;;
716 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
717 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
718 x_includes
="$ac_optarg" ;;
720 -x-libraries | --x-libraries | --x-librarie | --x-librari \
721 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
722 ac_prev
=x_libraries
;;
723 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
724 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
725 x_libraries
="$ac_optarg" ;;
727 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
731 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
732 echo "configure: warning: $ac_option: invalid host type" 1>&2
734 if test "x$nonopt" != xNONE
; then
735 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
743 if test -n "$ac_prev"; then
744 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
747 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
749 # File descriptor usage:
752 # 2 errors and warnings
753 # 3 some systems may open it to /dev/tty
754 # 4 used on the Kubota Titan
755 # 6 checking for... messages and results
756 # 5 compiler messages saved in config.log
757 if test "$silent" = yes; then
765 This file contains any messages produced by compilers while
766 running configure, to aid debugging if configure makes a mistake.
769 # Strip out --no-create and --no-recursion so they do not pile up.
770 # Also quote any args containing shell metacharacters.
775 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
776 | --no-cr | --no-c) ;;
777 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
778 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
779 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
780 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
781 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
786 # Only set these to C if already set. These must not be set unconditionally
787 # because not all systems understand e.g. LANG=C (notably SCO).
788 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
789 # Non-C LC_CTYPE values break the ctype check.
790 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
791 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
792 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
793 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
795 # confdefs.h avoids OS command line length limits that DEFS can exceed.
796 rm -rf conftest
* confdefs.h
797 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
800 # A filename unique to this package, relative to the directory that
801 # configure is in, which we can look for to find out if srcdir is correct.
802 ac_unique_file
=wx
-config.
in
804 # Find the source files, if location was not specified.
805 if test -z "$srcdir"; then
806 ac_srcdir_defaulted
=yes
807 # Try the directory containing this script, then its parent.
809 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
810 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
812 if test ! -r $srcdir/$ac_unique_file; then
816 ac_srcdir_defaulted
=no
818 if test ! -r $srcdir/$ac_unique_file; then
819 if test "$ac_srcdir_defaulted" = yes; then
820 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
822 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
825 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
827 # Prefer explicitly selected file to automatically selected ones.
828 if test -z "$CONFIG_SITE"; then
829 if test "x$prefix" != xNONE
; then
830 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
832 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
835 for ac_site_file
in $CONFIG_SITE; do
836 if test -r "$ac_site_file"; then
837 echo "loading site script $ac_site_file"
842 if test -r "$cache_file"; then
843 echo "loading cache $cache_file"
846 echo "creating cache $cache_file"
851 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
852 ac_cpp
='$CPP $CPPFLAGS'
853 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
854 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
855 cross_compiling
=$ac_cv_prog_cc_cross
859 if (echo "testing\c"; echo 1,2,3) | grep c
>/dev
/null
; then
860 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
861 if (echo -n testing
; echo 1,2,3) | sed s
/-n/xn
/ | grep xn
>/dev
/null
; then
868 ac_n
= ac_c
='\c' ac_t
=
874 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
875 if test -f $ac_dir/install-sh; then
877 ac_install_sh
="$ac_aux_dir/install-sh -c"
879 elif test -f $ac_dir/install.sh
; then
881 ac_install_sh
="$ac_aux_dir/install.sh -c"
885 if test -z "$ac_aux_dir"; then
886 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
888 ac_config_guess
=$ac_aux_dir/config.guess
889 ac_config_sub
=$ac_aux_dir/config.sub
890 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
893 # Do some error checking and defaulting for the host and target type.
895 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
898 # 1. You are not allowed to specify --host, --target, and nonopt at the
900 # 2. Host defaults to nonopt.
901 # 3. If nonopt is not specified, then host defaults to the current host,
902 # as determined by config.guess.
903 # 4. Target and build default to nonopt.
904 # 5. If nonopt is not specified, then target and build default to host.
906 # The aliases save the names the user supplied, while $host etc.
907 # will get canonicalized.
908 case $host---$target---$nonopt in
909 NONE
---*---* | *---NONE---* | *---*---NONE) ;;
910 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
914 # Make sure we can run config.sub.
915 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
916 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
919 echo $ac_n "checking host system type""... $ac_c" 1>&6
920 echo "configure:921: checking host system type" >&5
923 case "$host_alias" in
927 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
928 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
930 *) host_alias
=$nonopt ;;
934 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
935 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
936 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
937 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
938 echo "$ac_t""$host" 1>&6
940 echo $ac_n "checking target system type""... $ac_c" 1>&6
941 echo "configure:942: checking target system type" >&5
944 case "$target_alias" in
947 NONE
) target_alias
=$host_alias ;;
948 *) target_alias
=$nonopt ;;
952 target
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
953 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
954 target_vendor
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
955 target_os
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
956 echo "$ac_t""$target" 1>&6
958 echo $ac_n "checking build system type""... $ac_c" 1>&6
959 echo "configure:960: checking build system type" >&5
962 case "$build_alias" in
965 NONE
) build_alias
=$host_alias ;;
966 *) build_alias
=$nonopt ;;
970 build
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
971 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
972 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
973 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
974 echo "$ac_t""$build" 1>&6
976 test "$host_alias" != "$target_alias" &&
977 test "$program_prefix$program_suffix$program_transform_name" = \
979 program_prefix
=${target_alias}-
983 WX_MAJOR_VERSION_NUMBER
=2
984 WX_MINOR_VERSION_NUMBER
=3
987 WX_VERSION
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER.
$WX_RELEASE_NUMBER
988 WX_RELEASE
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER
1022 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1024 ALL_TOOLKITS
="CYGWIN GTK MAC MGL MINGW MOTIF PM WINE"
1029 DEFAULT_wxUSE_MOTIF
=0
1032 DEFAULT_wxUSE_WINE
=0
1034 DEFAULT_DEFAULT_wxUSE_GTK
=0
1035 DEFAULT_DEFAULT_wxUSE_MAC
=0
1036 DEFAULT_DEFAULT_wxUSE_MGL
=0
1037 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1038 DEFAULT_DEFAULT_wxUSE_MSW
=0
1039 DEFAULT_DEFAULT_wxUSE_PM
=0
1040 DEFAULT_DEFAULT_wxUSE_WINE
=0
1047 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1048 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1049 cat >> confdefs.h
<<\EOF
1056 cat >> confdefs.h
<<\EOF
1061 if test "x$TMP" = "xalpha"; then
1063 cat >> confdefs.h
<<\EOF
1068 DEFAULT_DEFAULT_wxUSE_GTK
=1
1070 *-*-irix5* | *-*-irix6* )
1073 cat >> confdefs.h
<<\EOF
1077 cat >> confdefs.h
<<\EOF
1081 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1087 cat >> confdefs.h
<<\EOF
1091 cat >> confdefs.h
<<\EOF
1092 #define __SOLARIS__ 1
1095 cat >> confdefs.h
<<\EOF
1099 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1100 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1106 cat >> confdefs.h
<<\EOF
1110 cat >> confdefs.h
<<\EOF
1114 cat >> confdefs.h
<<\EOF
1118 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1123 cat >> confdefs.h
<<\EOF
1124 #define __FREEBSD__ 1
1127 cat >> confdefs.h
<<\EOF
1131 DEFAULT_DEFAULT_wxUSE_GTK
=1
1136 cat >> confdefs.h
<<\EOF
1137 #define __FREEBSD__ 1
1140 cat >> confdefs.h
<<\EOF
1141 #define __OPENBSD__ 1
1144 DEFAULT_DEFAULT_wxUSE_GTK
=1
1149 cat >> confdefs.h
<<\EOF
1150 #define __FREEBSD__ 1
1153 cat >> confdefs.h
<<\EOF
1154 #define __NETBSD__ 1
1157 DEFAULT_DEFAULT_wxUSE_GTK
=1
1162 cat >> confdefs.h
<<\EOF
1166 cat >> confdefs.h
<<\EOF
1170 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1171 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1176 cat >> confdefs.h
<<\EOF
1180 cat >> confdefs.h
<<\EOF
1184 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1189 cat >> confdefs.h
<<\EOF
1193 cat >> confdefs.h
<<\EOF
1197 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1203 cat >> confdefs.h
<<\EOF
1207 cat >> confdefs.h
<<\EOF
1211 cat >> confdefs.h
<<\EOF
1215 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1218 *-*-cygwin* | *-*-mingw32* )
1221 cat >> confdefs.h
<<\EOF
1225 cat >> confdefs.h
<<\EOF
1229 cat >> confdefs.h
<<\EOF
1230 #define __WINDOWS__ 1
1233 cat >> confdefs.h
<<\EOF
1234 #define __GNUWIN32__ 1
1237 cat >> confdefs.h
<<\EOF
1241 cat >> confdefs.h
<<\EOF
1242 #define WINVER 0x0400
1246 DEFAULT_DEFAULT_wxUSE_MSW
=1
1250 cat >> confdefs.h
<<\EOF
1255 DEFAULT_DEFAULT_wxUSE_PM
=1
1261 cat >> confdefs.h
<<\EOF
1265 cat >> confdefs.h
<<\EOF
1269 cat >> confdefs.h
<<\EOF
1273 DEFAULT_DEFAULT_wxUSE_MAC
=1
1278 cat >> confdefs.h
<<\EOF
1285 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
1288 if test "$USE_UNIX" = 1 ; then
1290 cat >> confdefs.h
<<\EOF
1295 SRC_SUBDIRS
="$SRC_SUBDIRS unix"
1296 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS unix"
1299 if test "$USE_BEOS" = 1; then
1300 SRC_SUBDIRS
="$SRC_SUBDIRS be"
1301 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS be"
1304 if test "$USE_LINUX" = 1; then
1305 echo $ac_n "checking for gettext in -lc""... $ac_c" 1>&6
1306 echo "configure:1307: checking for gettext in -lc" >&5
1307 ac_lib_var
=`echo c'_'gettext | sed 'y%./+-%__p_%'`
1308 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1309 echo $ac_n "(cached) $ac_c" 1>&6
1311 ac_save_LIBS
="$LIBS"
1313 cat > conftest.
$ac_ext <<EOF
1314 #line 1315 "configure"
1315 #include "confdefs.h"
1316 /* Override any gcc2 internal prototype to avoid an error. */
1317 /* We use char because int might match the return type of a gcc2
1318 builtin and then its argument prototype would still apply. */
1325 if { (eval echo configure
:1326: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
1327 eval "ac_cv_lib_$ac_lib_var=yes"
1329 echo "configure: failed program was:" >&5
1330 cat conftest.
$ac_ext >&5
1332 eval "ac_cv_lib_$ac_lib_var=no"
1335 LIBS
="$ac_save_LIBS"
1338 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1339 echo "$ac_t""yes" 1>&6
1340 cat >> confdefs.h
<<\EOF
1341 #define wxHAVE_GLIBC2 1
1345 echo "$ac_t""no" 1>&6
1353 wx_arg_cache_file
="configarg.cache"
1354 echo "loading argument cache $wx_arg_cache_file"
1355 rm -f ${wx_arg_cache_file}.tmp
1356 touch ${wx_arg_cache_file}.tmp
1357 touch ${wx_arg_cache_file}
1361 if test $DEBUG_CONFIGURE = 1; then
1362 DEFAULT_wxUSE_UNIVERSAL
=no
1364 DEFAULT_wxUSE_THREADS
=yes
1366 DEFAULT_wxUSE_SHARED
=yes
1367 DEFAULT_wxUSE_BURNT_NAME
=no
1368 DEFAULT_wxUSE_OPTIMISE
=no
1369 DEFAULT_wxUSE_PROFILE
=no
1370 DEFAULT_wxUSE_NO_DEPS
=no
1371 DEFAULT_wxUSE_NO_RTTI
=no
1372 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1373 DEFAULT_wxUSE_PERMISSIVE
=no
1374 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1375 DEFAULT_wxUSE_DEBUG_INFO
=yes
1376 DEFAULT_wxUSE_DEBUG_GDB
=yes
1377 DEFAULT_wxUSE_MEM_TRACING
=no
1378 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1379 DEFAULT_wxUSE_DMALLOC
=no
1380 DEFAULT_wxUSE_APPLE_IEEE
=no
1382 DEFAULT_wxUSE_LOG
=yes
1383 DEFAULT_wxUSE_LOGWINDOW
=no
1384 DEFAULT_wxUSE_LOGGUI
=no
1386 DEFAULT_wxUSE_GUI
=yes
1387 DEFAULT_wxUSE_CONTROLS
=no
1389 DEFAULT_wxUSE_ZLIB
=no
1390 DEFAULT_wxUSE_LIBPNG
=no
1391 DEFAULT_wxUSE_LIBJPEG
=no
1392 DEFAULT_wxUSE_LIBTIFF
=no
1393 DEFAULT_wxUSE_ODBC
=no
1394 DEFAULT_wxUSE_FREETYPE
=no
1395 DEFAULT_wxUSE_OPENGL
=no
1397 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
1398 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
1399 DEFAULT_wxUSE_STD_IOSTREAM
=no
1400 DEFAULT_wxUSE_CMDLINE_PARSER
=no
1401 DEFAULT_wxUSE_DATETIME
=no
1402 DEFAULT_wxUSE_TIMEDATE
=no
1403 DEFAULT_wxUSE_TIMER
=no
1404 DEFAULT_wxUSE_STOPWATCH
=no
1405 DEFAULT_wxUSE_FILE
=no
1406 DEFAULT_wxUSE_FFILE
=no
1407 DEFAULT_wxUSE_TEXTFILE
=no
1408 DEFAULT_wxUSE_WAVE
=no
1409 DEFAULT_wxUSE_INTL
=no
1410 DEFAULT_wxUSE_CONFIG
=no
1411 DEFAULT_wxUSE_FONTMAP
=no
1412 DEFAULT_wxUSE_STREAMS
=no
1413 DEFAULT_wxUSE_SOCKETS
=no
1414 DEFAULT_wxUSE_DIALUP_MANAGER
=no
1415 DEFAULT_wxUSE_SERIAL
=no
1416 DEFAULT_wxUSE_JOYSTICK
=no
1417 DEFAULT_wxUSE_DYNLIB_CLASS
=no
1418 DEFAULT_wxUSE_LONGLONG
=no
1419 DEFAULT_wxUSE_GEOMETRY
=no
1421 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
1422 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
1423 DEFAULT_wxUSE_POSTSCRIPT
=no
1425 DEFAULT_wxUSE_X_RESOURCES
=no
1426 DEFAULT_wxUSE_CLIPBOARD
=no
1427 DEFAULT_wxUSE_TOOLTIPS
=no
1428 DEFAULT_wxUSE_DRAG_AND_DROP
=no
1429 DEFAULT_wxUSE_DRAGIMAGE
=no
1430 DEFAULT_wxUSE_SPLINES
=no
1432 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
1433 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
1434 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
1436 DEFAULT_wxUSE_PROLOGIO
=no
1437 DEFAULT_wxUSE_RESOURCES
=no
1438 DEFAULT_wxUSE_CONSTRAINTS
=no
1439 DEFAULT_wxUSE_IPC
=no
1440 DEFAULT_wxUSE_HELP
=no
1441 DEFAULT_wxUSE_WXTREE
=no
1442 DEFAULT_wxUSE_METAFILE
=no
1443 DEFAULT_wxUSE_MIMETYPE
=no
1445 DEFAULT_wxUSE_COMMONDLGS
=no
1446 DEFAULT_wxUSE_CHOICEDLG
=no
1447 DEFAULT_wxUSE_COLOURDLG
=no
1448 DEFAULT_wxUSE_DIRDLG
=no
1449 DEFAULT_wxUSE_FILEDLG
=no
1450 DEFAULT_wxUSE_FONTDLG
=no
1451 DEFAULT_wxUSE_MSGDLG
=no
1452 DEFAULT_wxUSE_NUMBERDLG
=no
1453 DEFAULT_wxUSE_TEXTDLG
=no
1454 DEFAULT_wxUSE_STARTUP_TIPS
=no
1455 DEFAULT_wxUSE_PROGRESSDLG
=no
1456 DEFAULT_wxUSE_MENUS
=no
1457 DEFAULT_wxUSE_MINIFRAME
=no
1458 DEFAULT_wxUSE_HTML
=no
1459 DEFAULT_wxUSE_FILESYSTEM
=no
1460 DEFAULT_wxUSE_FS_INET
=no
1461 DEFAULT_wxUSE_FS_ZIP
=no
1462 DEFAULT_wxUSE_BUSYINFO
=no
1463 DEFAULT_wxUSE_ZIPSTREAM
=no
1464 DEFAULT_wxUSE_VALIDATORS
=no
1466 DEFAULT_wxUSE_ACCEL
=no
1467 DEFAULT_wxUSE_BUTTON
=no
1468 DEFAULT_wxUSE_BMPBUTTON
=no
1469 DEFAULT_wxUSE_CALCTRL
=no
1470 DEFAULT_wxUSE_CARET
=no
1471 DEFAULT_wxUSE_CHECKBOX
=no
1472 DEFAULT_wxUSE_CHECKLST
=no
1473 DEFAULT_wxUSE_CHOICE
=no
1474 DEFAULT_wxUSE_COMBOBOX
=no
1475 DEFAULT_wxUSE_GAUGE
=no
1476 DEFAULT_wxUSE_GRID
=no
1477 DEFAULT_wxUSE_NEW_GRID
=no
1478 DEFAULT_wxUSE_IMAGLIST
=no
1479 DEFAULT_wxUSE_LISTBOX
=no
1480 DEFAULT_wxUSE_LISTCTRL
=no
1481 DEFAULT_wxUSE_NOTEBOOK
=no
1482 DEFAULT_wxUSE_RADIOBOX
=no
1483 DEFAULT_wxUSE_RADIOBTN
=no
1484 DEFAULT_wxUSE_SASH
=no
1485 DEFAULT_wxUSE_SCROLLBAR
=no
1486 DEFAULT_wxUSE_SLIDER
=no
1487 DEFAULT_wxUSE_SPINBTN
=no
1488 DEFAULT_wxUSE_SPINCTRL
=no
1489 DEFAULT_wxUSE_SPLITTER
=no
1490 DEFAULT_wxUSE_STATBMP
=no
1491 DEFAULT_wxUSE_STATBOX
=no
1492 DEFAULT_wxUSE_STATLINE
=no
1493 DEFAULT_wxUSE_STATTEXT
=no
1494 DEFAULT_wxUSE_STATUSBAR
=yes
1495 DEFAULT_wxUSE_TABDIALOG
=no
1496 DEFAULT_wxUSE_TEXTCTRL
=no
1497 DEFAULT_wxUSE_TOGGLEBTN
=no
1498 DEFAULT_wxUSE_TOOLBAR
=no
1499 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
1500 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
1501 DEFAULT_wxUSE_TREECTRL
=no
1503 DEFAULT_wxUSE_UNICODE
=no
1504 DEFAULT_wxUSE_WCSRTOMBS
=no
1506 DEFAULT_wxUSE_IMAGE
=no
1507 DEFAULT_wxUSE_GIF
=no
1508 DEFAULT_wxUSE_PCX
=no
1509 DEFAULT_wxUSE_PNM
=no
1510 DEFAULT_wxUSE_XPM
=no
1512 DEFAULT_wxUSE_UNIVERSAL
=no
1514 DEFAULT_wxUSE_THREADS
=yes
1516 DEFAULT_wxUSE_SHARED
=yes
1517 DEFAULT_wxUSE_BURNT_NAME
=no
1518 DEFAULT_wxUSE_OPTIMISE
=yes
1519 DEFAULT_wxUSE_PROFILE
=no
1520 DEFAULT_wxUSE_NO_DEPS
=no
1521 DEFAULT_wxUSE_NO_RTTI
=no
1522 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1523 DEFAULT_wxUSE_PERMISSIVE
=no
1524 DEFAULT_wxUSE_DEBUG_FLAG
=no
1525 DEFAULT_wxUSE_DEBUG_INFO
=no
1526 DEFAULT_wxUSE_DEBUG_GDB
=no
1527 DEFAULT_wxUSE_MEM_TRACING
=no
1528 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1529 DEFAULT_wxUSE_DMALLOC
=no
1530 DEFAULT_wxUSE_APPLE_IEEE
=yes
1532 DEFAULT_wxUSE_LOG
=yes
1533 DEFAULT_wxUSE_LOGWINDOW
=yes
1534 DEFAULT_wxUSE_LOGGUI
=yes
1536 DEFAULT_wxUSE_GUI
=yes
1538 DEFAULT_wxUSE_ZLIB
=yes
1539 DEFAULT_wxUSE_LIBPNG
=yes
1540 DEFAULT_wxUSE_LIBJPEG
=yes
1541 DEFAULT_wxUSE_LIBTIFF
=yes
1542 DEFAULT_wxUSE_ODBC
=no
1543 DEFAULT_wxUSE_FREETYPE
=no
1544 DEFAULT_wxUSE_OPENGL
=no
1546 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
1547 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
1548 DEFAULT_wxUSE_STD_IOSTREAM
=no
1549 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
1550 DEFAULT_wxUSE_DATETIME
=yes
1551 DEFAULT_wxUSE_TIMEDATE
=no
1552 DEFAULT_wxUSE_TIMER
=yes
1553 DEFAULT_wxUSE_STOPWATCH
=yes
1554 DEFAULT_wxUSE_FILE
=yes
1555 DEFAULT_wxUSE_FFILE
=yes
1556 DEFAULT_wxUSE_TEXTFILE
=yes
1557 DEFAULT_wxUSE_WAVE
=no
1558 DEFAULT_wxUSE_INTL
=yes
1559 DEFAULT_wxUSE_CONFIG
=yes
1560 DEFAULT_wxUSE_FONTMAP
=yes
1561 DEFAULT_wxUSE_STREAMS
=yes
1562 DEFAULT_wxUSE_SOCKETS
=yes
1563 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
1564 DEFAULT_wxUSE_SERIAL
=yes
1565 DEFAULT_wxUSE_JOYSTICK
=yes
1566 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
1567 DEFAULT_wxUSE_LONGLONG
=yes
1568 DEFAULT_wxUSE_GEOMETRY
=yes
1570 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
1571 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
1572 DEFAULT_wxUSE_POSTSCRIPT
=yes
1574 DEFAULT_wxUSE_X_RESOURCES
=no
1575 DEFAULT_wxUSE_CLIPBOARD
=yes
1576 DEFAULT_wxUSE_TOOLTIPS
=yes
1577 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
1578 DEFAULT_wxUSE_DRAGIMAGE
=yes
1579 DEFAULT_wxUSE_SPLINES
=yes
1581 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
1582 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
1583 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
1585 DEFAULT_wxUSE_PROLOGIO
=yes
1586 DEFAULT_wxUSE_RESOURCES
=yes
1587 DEFAULT_wxUSE_CONSTRAINTS
=yes
1588 DEFAULT_wxUSE_IPC
=yes
1589 DEFAULT_wxUSE_HELP
=yes
1590 DEFAULT_wxUSE_WXTREE
=yes
1591 DEFAULT_wxUSE_METAFILE
=yes
1592 DEFAULT_wxUSE_MIMETYPE
=yes
1594 DEFAULT_wxUSE_COMMONDLGS
=yes
1595 DEFAULT_wxUSE_CHOICEDLG
=yes
1596 DEFAULT_wxUSE_COLOURDLG
=yes
1597 DEFAULT_wxUSE_DIRDLG
=yes
1598 DEFAULT_wxUSE_FILEDLG
=yes
1599 DEFAULT_wxUSE_FONTDLG
=yes
1600 DEFAULT_wxUSE_MSGDLG
=yes
1601 DEFAULT_wxUSE_NUMBERDLG
=yes
1602 DEFAULT_wxUSE_TEXTDLG
=yes
1603 DEFAULT_wxUSE_STARTUP_TIPS
=yes
1604 DEFAULT_wxUSE_PROGRESSDLG
=yes
1605 DEFAULT_wxUSE_MENUS
=yes
1606 DEFAULT_wxUSE_MINIFRAME
=yes
1607 DEFAULT_wxUSE_HTML
=yes
1608 DEFAULT_wxUSE_FILESYSTEM
=yes
1609 DEFAULT_wxUSE_FS_INET
=yes
1610 DEFAULT_wxUSE_FS_ZIP
=yes
1611 DEFAULT_wxUSE_BUSYINFO
=yes
1612 DEFAULT_wxUSE_ZIPSTREAM
=yes
1613 DEFAULT_wxUSE_VALIDATORS
=yes
1615 DEFAULT_wxUSE_ACCEL
=yes
1616 DEFAULT_wxUSE_BUTTON
=yes
1617 DEFAULT_wxUSE_BMPBUTTON
=yes
1618 DEFAULT_wxUSE_CALCTRL
=yes
1619 DEFAULT_wxUSE_CARET
=yes
1620 DEFAULT_wxUSE_CHECKBOX
=yes
1621 DEFAULT_wxUSE_CHECKLST
=yes
1622 DEFAULT_wxUSE_CHOICE
=yes
1623 DEFAULT_wxUSE_COMBOBOX
=yes
1624 DEFAULT_wxUSE_GAUGE
=yes
1625 DEFAULT_wxUSE_GRID
=yes
1626 DEFAULT_wxUSE_NEW_GRID
=yes
1627 DEFAULT_wxUSE_IMAGLIST
=yes
1628 DEFAULT_wxUSE_LISTBOX
=yes
1629 DEFAULT_wxUSE_LISTCTRL
=yes
1630 DEFAULT_wxUSE_NOTEBOOK
=yes
1631 DEFAULT_wxUSE_RADIOBOX
=yes
1632 DEFAULT_wxUSE_RADIOBTN
=yes
1633 DEFAULT_wxUSE_SASH
=yes
1634 DEFAULT_wxUSE_SCROLLBAR
=yes
1635 DEFAULT_wxUSE_SLIDER
=yes
1636 DEFAULT_wxUSE_SPINBTN
=yes
1637 DEFAULT_wxUSE_SPINCTRL
=yes
1638 DEFAULT_wxUSE_SPLITTER
=yes
1639 DEFAULT_wxUSE_STATBMP
=yes
1640 DEFAULT_wxUSE_STATBOX
=yes
1641 DEFAULT_wxUSE_STATLINE
=yes
1642 DEFAULT_wxUSE_STATTEXT
=yes
1643 DEFAULT_wxUSE_STATUSBAR
=yes
1644 DEFAULT_wxUSE_TABDIALOG
=no
1645 DEFAULT_wxUSE_TEXTCTRL
=yes
1646 DEFAULT_wxUSE_TOGGLEBTN
=yes
1647 DEFAULT_wxUSE_TOOLBAR
=yes
1648 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
1649 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
1650 DEFAULT_wxUSE_TREECTRL
=yes
1652 DEFAULT_wxUSE_UNICODE
=no
1653 DEFAULT_wxUSE_WCSRTOMBS
=no
1655 DEFAULT_wxUSE_IMAGE
=yes
1656 DEFAULT_wxUSE_GIF
=yes
1657 DEFAULT_wxUSE_PCX
=yes
1658 DEFAULT_wxUSE_PNM
=yes
1659 DEFAULT_wxUSE_XPM
=yes
1664 for toolkit
in `echo $ALL_TOOLKITS`; do
1665 LINE
=`grep "wxUSE_$toolkit" ${wx_arg_cache_file}`
1666 if test "x$LINE" != x
; then
1667 has_toolkit_in_cache
=1
1668 eval "DEFAULT_$LINE"
1669 eval "CACHE_$toolkit=1"
1675 echo $ac_n "checking for --enable-gui""... $ac_c" 1>&6
1676 echo "configure:1677: checking for --enable-gui" >&5
1678 # Check whether --enable-gui or --disable-gui was given.
1679 if test "${enable_gui+set}" = set; then
1680 enableval
="$enable_gui"
1682 if test "$enableval" = yes; then
1683 ac_cv_use_gui
='wxUSE_GUI=yes'
1685 ac_cv_use_gui
='wxUSE_GUI=no'
1690 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
1691 if test "x$LINE" != x
; then
1692 eval "DEFAULT_$LINE"
1697 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
1702 eval "$ac_cv_use_gui"
1703 if test "$no_cache" != 1; then
1704 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
1707 if test "$wxUSE_GUI" = yes; then
1708 echo "$ac_t""yes" 1>&6
1710 echo "$ac_t""no" 1>&6
1714 if test "$wxUSE_GUI" = "yes"; then
1717 echo $ac_n "checking for --enable-universal""... $ac_c" 1>&6
1718 echo "configure:1719: checking for --enable-universal" >&5
1720 # Check whether --enable-universal or --disable-universal was given.
1721 if test "${enable_universal+set}" = set; then
1722 enableval
="$enable_universal"
1724 if test "$enableval" = yes; then
1725 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
1727 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
1732 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
1733 if test "x$LINE" != x
; then
1734 eval "DEFAULT_$LINE"
1739 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
1744 eval "$ac_cv_use_universal"
1745 if test "$no_cache" != 1; then
1746 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
1749 if test "$wxUSE_UNIVERSAL" = yes; then
1750 echo "$ac_t""yes" 1>&6
1752 echo "$ac_t""no" 1>&6
1755 # Check whether --with-gtk or --without-gtk was given.
1756 if test "${with_gtk+set}" = set; then
1758 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
1761 # Check whether --with-motif or --without-motif was given.
1762 if test "${with_motif+set}" = set; then
1763 withval
="$with_motif"
1764 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
1767 # Check whether --with-mac or --without-mac was given.
1768 if test "${with_mac+set}" = set; then
1770 wxUSE_MAC
="$withval" TOOLKIT_GIVEN
=1
1773 # Check whether --with-wine or --without-wine was given.
1774 if test "${with_wine+set}" = set; then
1775 withval
="$with_wine"
1776 wxUSE_WINE
="$withval" CACHE_WINE
=1 TOOLKIT_GIVEN
=1
1779 # Check whether --with-cygwin or --without-cygwin was given.
1780 if test "${with_cygwin+set}" = set; then
1781 withval
="$with_cygwin"
1782 wxUSE_CYGWIN
="$withval" CACHE_CYGWIN
=1 TOOLKIT_GIVEN
=1
1785 # Check whether --with-mingw or --without-mingw was given.
1786 if test "${with_mingw+set}" = set; then
1787 withval
="$with_mingw"
1788 wxUSE_MINGW
="$withval" CACHE_MINGW
=1 TOOLKIT_GIVEN
=1
1791 # Check whether --with-pm or --without-pm was given.
1792 if test "${with_pm+set}" = set; then
1794 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
1797 # Check whether --with-mgl or --without-mgl was given.
1798 if test "${with_mgl+set}" = set; then
1800 wxUSE_MGL
="$withval" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
1804 # Check whether --enable-gtk2 or --disable-gtk2 was given.
1805 if test "${enable_gtk2+set}" = set; then
1806 enableval
="$enable_gtk2"
1814 echo $ac_n "checking for --with-libpng""... $ac_c" 1>&6
1815 echo "configure:1816: checking for --with-libpng" >&5
1817 # Check whether --with-libpng or --without-libpng was given.
1818 if test "${with_libpng+set}" = set; then
1819 withval
="$with_libpng"
1821 if test "$withval" = yes; then
1822 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
1823 elif test "$withval" = no
; then
1824 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
1825 elif test "$withval" = sys
; then
1826 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
1828 { echo "configure: error: Invalid value for --with-libpng: should be yes, no or sys" 1>&2; exit 1; }
1833 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
1834 if test "x$LINE" != x
; then
1835 eval "DEFAULT_$LINE"
1840 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
1845 eval "$ac_cv_use_libpng"
1846 if test "$no_cache" != 1; then
1847 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
1850 if test "$wxUSE_LIBPNG" = yes; then
1851 echo "$ac_t""yes" 1>&6
1852 elif test "$wxUSE_LIBPNG" = no
; then
1853 echo "$ac_t""no" 1>&6
1854 elif test "$wxUSE_LIBPNG" = sys
; then
1855 echo "$ac_t""system version" 1>&6
1857 { echo "configure: error: Invalid value for --with-libpng: should be yes, no or sys" 1>&2; exit 1; }
1861 echo $ac_n "checking for --with-libjpeg""... $ac_c" 1>&6
1862 echo "configure:1863: checking for --with-libjpeg" >&5
1864 # Check whether --with-libjpeg or --without-libjpeg was given.
1865 if test "${with_libjpeg+set}" = set; then
1866 withval
="$with_libjpeg"
1868 if test "$withval" = yes; then
1869 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
1870 elif test "$withval" = no
; then
1871 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
1872 elif test "$withval" = sys
; then
1873 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
1875 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no or sys" 1>&2; exit 1; }
1880 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
1881 if test "x$LINE" != x
; then
1882 eval "DEFAULT_$LINE"
1887 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
1892 eval "$ac_cv_use_libjpeg"
1893 if test "$no_cache" != 1; then
1894 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
1897 if test "$wxUSE_LIBJPEG" = yes; then
1898 echo "$ac_t""yes" 1>&6
1899 elif test "$wxUSE_LIBJPEG" = no
; then
1900 echo "$ac_t""no" 1>&6
1901 elif test "$wxUSE_LIBJPEG" = sys
; then
1902 echo "$ac_t""system version" 1>&6
1904 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no or sys" 1>&2; exit 1; }
1908 echo $ac_n "checking for --with-libtiff""... $ac_c" 1>&6
1909 echo "configure:1910: checking for --with-libtiff" >&5
1911 # Check whether --with-libtiff or --without-libtiff was given.
1912 if test "${with_libtiff+set}" = set; then
1913 withval
="$with_libtiff"
1915 if test "$withval" = yes; then
1916 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
1917 elif test "$withval" = no
; then
1918 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
1919 elif test "$withval" = sys
; then
1920 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
1922 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no or sys" 1>&2; exit 1; }
1927 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
1928 if test "x$LINE" != x
; then
1929 eval "DEFAULT_$LINE"
1934 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
1939 eval "$ac_cv_use_libtiff"
1940 if test "$no_cache" != 1; then
1941 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
1944 if test "$wxUSE_LIBTIFF" = yes; then
1945 echo "$ac_t""yes" 1>&6
1946 elif test "$wxUSE_LIBTIFF" = no
; then
1947 echo "$ac_t""no" 1>&6
1948 elif test "$wxUSE_LIBTIFF" = sys
; then
1949 echo "$ac_t""system version" 1>&6
1951 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no or sys" 1>&2; exit 1; }
1955 echo $ac_n "checking for --with-freetype""... $ac_c" 1>&6
1956 echo "configure:1957: checking for --with-freetype" >&5
1958 # Check whether --with-freetype or --without-freetype was given.
1959 if test "${with_freetype+set}" = set; then
1960 withval
="$with_freetype"
1962 if test "$withval" = yes; then
1963 ac_cv_use_freetype
='wxUSE_FREETYPE=yes'
1964 elif test "$withval" = no
; then
1965 ac_cv_use_freetype
='wxUSE_FREETYPE=no'
1966 elif test "$withval" = sys
; then
1967 ac_cv_use_freetype
='wxUSE_FREETYPE=sys'
1969 { echo "configure: error: Invalid value for --with-freetype: should be yes, no or sys" 1>&2; exit 1; }
1974 LINE
=`grep "wxUSE_FREETYPE" ${wx_arg_cache_file}`
1975 if test "x$LINE" != x
; then
1976 eval "DEFAULT_$LINE"
1981 ac_cv_use_freetype
='wxUSE_FREETYPE='$DEFAULT_wxUSE_FREETYPE
1986 eval "$ac_cv_use_freetype"
1987 if test "$no_cache" != 1; then
1988 echo $ac_cv_use_freetype >> ${wx_arg_cache_file}.tmp
1991 if test "$wxUSE_FREETYPE" = yes; then
1992 echo "$ac_t""yes" 1>&6
1993 elif test "$wxUSE_FREETYPE" = no
; then
1994 echo "$ac_t""no" 1>&6
1995 elif test "$wxUSE_FREETYPE" = sys
; then
1996 echo "$ac_t""system version" 1>&6
1998 { echo "configure: error: Invalid value for --with-freetype: should be yes, no or sys" 1>&2; exit 1; }
2002 echo $ac_n "checking for --with-opengl""... $ac_c" 1>&6
2003 echo "configure:2004: checking for --with-opengl" >&5
2005 # Check whether --with-opengl or --without-opengl was given.
2006 if test "${with_opengl+set}" = set; then
2007 withval
="$with_opengl"
2009 if test "$withval" = yes; then
2010 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
2012 ac_cv_use_opengl
='wxUSE_OPENGL=no'
2017 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2018 if test "x$LINE" != x
; then
2019 eval "DEFAULT_$LINE"
2024 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
2029 eval "$ac_cv_use_opengl"
2030 if test "$no_cache" != 1; then
2031 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2034 if test "$wxUSE_OPENGL" = yes; then
2035 echo "$ac_t""yes" 1>&6
2037 echo "$ac_t""no" 1>&6
2044 echo $ac_n "checking for --with-dmalloc""... $ac_c" 1>&6
2045 echo "configure:2046: checking for --with-dmalloc" >&5
2047 # Check whether --with-dmalloc or --without-dmalloc was given.
2048 if test "${with_dmalloc+set}" = set; then
2049 withval
="$with_dmalloc"
2051 if test "$withval" = yes; then
2052 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
2054 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
2059 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2060 if test "x$LINE" != x
; then
2061 eval "DEFAULT_$LINE"
2066 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
2071 eval "$ac_cv_use_dmalloc"
2072 if test "$no_cache" != 1; then
2073 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2076 if test "$wxUSE_DMALLOC" = yes; then
2077 echo "$ac_t""yes" 1>&6
2079 echo "$ac_t""no" 1>&6
2083 echo $ac_n "checking for --with-zlib""... $ac_c" 1>&6
2084 echo "configure:2085: checking for --with-zlib" >&5
2086 # Check whether --with-zlib or --without-zlib was given.
2087 if test "${with_zlib+set}" = set; then
2088 withval
="$with_zlib"
2090 if test "$withval" = yes; then
2091 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
2092 elif test "$withval" = no
; then
2093 ac_cv_use_zlib
='wxUSE_ZLIB=no'
2094 elif test "$withval" = sys
; then
2095 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
2097 { echo "configure: error: Invalid value for --with-zlib: should be yes, no or sys" 1>&2; exit 1; }
2102 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2103 if test "x$LINE" != x
; then
2104 eval "DEFAULT_$LINE"
2109 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
2114 eval "$ac_cv_use_zlib"
2115 if test "$no_cache" != 1; then
2116 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2119 if test "$wxUSE_ZLIB" = yes; then
2120 echo "$ac_t""yes" 1>&6
2121 elif test "$wxUSE_ZLIB" = no
; then
2122 echo "$ac_t""no" 1>&6
2123 elif test "$wxUSE_ZLIB" = sys
; then
2124 echo "$ac_t""system version" 1>&6
2126 { echo "configure: error: Invalid value for --with-zlib: should be yes, no or sys" 1>&2; exit 1; }
2130 echo $ac_n "checking for --with-odbc""... $ac_c" 1>&6
2131 echo "configure:2132: checking for --with-odbc" >&5
2133 # Check whether --with-odbc or --without-odbc was given.
2134 if test "${with_odbc+set}" = set; then
2135 withval
="$with_odbc"
2137 if test "$withval" = yes; then
2138 ac_cv_use_odbc
='wxUSE_ODBC=yes'
2140 ac_cv_use_odbc
='wxUSE_ODBC=no'
2145 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
2146 if test "x$LINE" != x
; then
2147 eval "DEFAULT_$LINE"
2152 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
2157 eval "$ac_cv_use_odbc"
2158 if test "$no_cache" != 1; then
2159 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
2162 if test "$wxUSE_ODBC" = yes; then
2163 echo "$ac_t""yes" 1>&6
2165 echo "$ac_t""no" 1>&6
2172 echo $ac_n "checking for --enable-shared""... $ac_c" 1>&6
2173 echo "configure:2174: checking for --enable-shared" >&5
2175 # Check whether --enable-shared or --disable-shared was given.
2176 if test "${enable_shared+set}" = set; then
2177 enableval
="$enable_shared"
2179 if test "$enableval" = yes; then
2180 ac_cv_use_shared
='wxUSE_SHARED=yes'
2182 ac_cv_use_shared
='wxUSE_SHARED=no'
2187 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
2188 if test "x$LINE" != x
; then
2189 eval "DEFAULT_$LINE"
2194 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
2199 eval "$ac_cv_use_shared"
2200 if test "$no_cache" != 1; then
2201 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
2204 if test "$wxUSE_SHARED" = yes; then
2205 echo "$ac_t""yes" 1>&6
2207 echo "$ac_t""no" 1>&6
2211 echo $ac_n "checking for --enable-burnt_name""... $ac_c" 1>&6
2212 echo "configure:2213: checking for --enable-burnt_name" >&5
2214 # Check whether --enable-burnt_name or --disable-burnt_name was given.
2215 if test "${enable_burnt_name+set}" = set; then
2216 enableval
="$enable_burnt_name"
2218 if test "$enableval" = yes; then
2219 ac_cv_use_burnt_name
='wxUSE_BURNT_NAME=yes'
2221 ac_cv_use_burnt_name
='wxUSE_BURNT_NAME=no'
2226 LINE
=`grep "wxUSE_BURNT_NAME" ${wx_arg_cache_file}`
2227 if test "x$LINE" != x
; then
2228 eval "DEFAULT_$LINE"
2233 ac_cv_use_burnt_name
='wxUSE_BURNT_NAME='$DEFAULT_wxUSE_BURNT_NAME
2238 eval "$ac_cv_use_burnt_name"
2239 if test "$no_cache" != 1; then
2240 echo $ac_cv_use_burnt_name >> ${wx_arg_cache_file}.tmp
2243 if test "$wxUSE_BURNT_NAME" = yes; then
2244 echo "$ac_t""yes" 1>&6
2246 echo "$ac_t""no" 1>&6
2250 echo $ac_n "checking for --enable-optimise""... $ac_c" 1>&6
2251 echo "configure:2252: checking for --enable-optimise" >&5
2253 # Check whether --enable-optimise or --disable-optimise was given.
2254 if test "${enable_optimise+set}" = set; then
2255 enableval
="$enable_optimise"
2257 if test "$enableval" = yes; then
2258 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
2260 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
2265 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
2266 if test "x$LINE" != x
; then
2267 eval "DEFAULT_$LINE"
2272 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
2277 eval "$ac_cv_use_optimise"
2278 if test "$no_cache" != 1; then
2279 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
2282 if test "$wxUSE_OPTIMISE" = yes; then
2283 echo "$ac_t""yes" 1>&6
2285 echo "$ac_t""no" 1>&6
2289 echo $ac_n "checking for --enable-debug""... $ac_c" 1>&6
2290 echo "configure:2291: checking for --enable-debug" >&5
2292 # Check whether --enable-debug or --disable-debug was given.
2293 if test "${enable_debug+set}" = set; then
2294 enableval
="$enable_debug"
2296 if test "$enableval" = yes; then
2297 ac_cv_use_debug
='wxUSE_DEBUG=yes'
2299 ac_cv_use_debug
='wxUSE_DEBUG=no'
2304 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
2305 if test "x$LINE" != x
; then
2306 eval "DEFAULT_$LINE"
2311 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
2316 eval "$ac_cv_use_debug"
2317 if test "$no_cache" != 1; then
2318 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
2321 if test "$wxUSE_DEBUG" = yes; then
2322 echo "$ac_t""yes" 1>&6
2324 echo "$ac_t""no" 1>&6
2328 if test "$wxUSE_DEBUG" = "yes"; then
2329 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2330 DEFAULT_wxUSE_DEBUG_INFO
=yes
2331 elif test "$wxUSE_DEBUG" = "no"; then
2332 DEFAULT_wxUSE_DEBUG_FLAG
=no
2333 DEFAULT_wxUSE_DEBUG_INFO
=no
2337 echo $ac_n "checking for --enable-debug_flag""... $ac_c" 1>&6
2338 echo "configure:2339: checking for --enable-debug_flag" >&5
2340 # Check whether --enable-debug_flag or --disable-debug_flag was given.
2341 if test "${enable_debug_flag+set}" = set; then
2342 enableval
="$enable_debug_flag"
2344 if test "$enableval" = yes; then
2345 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
2347 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
2352 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
2353 if test "x$LINE" != x
; then
2354 eval "DEFAULT_$LINE"
2359 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
2364 eval "$ac_cv_use_debug_flag"
2365 if test "$no_cache" != 1; then
2366 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
2369 if test "$wxUSE_DEBUG_FLAG" = yes; then
2370 echo "$ac_t""yes" 1>&6
2372 echo "$ac_t""no" 1>&6
2376 echo $ac_n "checking for --enable-debug_info""... $ac_c" 1>&6
2377 echo "configure:2378: checking for --enable-debug_info" >&5
2379 # Check whether --enable-debug_info or --disable-debug_info was given.
2380 if test "${enable_debug_info+set}" = set; then
2381 enableval
="$enable_debug_info"
2383 if test "$enableval" = yes; then
2384 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
2386 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
2391 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
2392 if test "x$LINE" != x
; then
2393 eval "DEFAULT_$LINE"
2398 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
2403 eval "$ac_cv_use_debug_info"
2404 if test "$no_cache" != 1; then
2405 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
2408 if test "$wxUSE_DEBUG_INFO" = yes; then
2409 echo "$ac_t""yes" 1>&6
2411 echo "$ac_t""no" 1>&6
2415 echo $ac_n "checking for --enable-debug_gdb""... $ac_c" 1>&6
2416 echo "configure:2417: checking for --enable-debug_gdb" >&5
2418 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
2419 if test "${enable_debug_gdb+set}" = set; then
2420 enableval
="$enable_debug_gdb"
2422 if test "$enableval" = yes; then
2423 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
2425 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
2430 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
2431 if test "x$LINE" != x
; then
2432 eval "DEFAULT_$LINE"
2437 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
2442 eval "$ac_cv_use_debug_gdb"
2443 if test "$no_cache" != 1; then
2444 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
2447 if test "$wxUSE_DEBUG_GDB" = yes; then
2448 echo "$ac_t""yes" 1>&6
2450 echo "$ac_t""no" 1>&6
2454 echo $ac_n "checking for --enable-debug_cntxt""... $ac_c" 1>&6
2455 echo "configure:2456: checking for --enable-debug_cntxt" >&5
2457 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
2458 if test "${enable_debug_cntxt+set}" = set; then
2459 enableval
="$enable_debug_cntxt"
2461 if test "$enableval" = yes; then
2462 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
2464 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
2469 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2470 if test "x$LINE" != x
; then
2471 eval "DEFAULT_$LINE"
2476 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2481 eval "$ac_cv_use_debug_cntxt"
2482 if test "$no_cache" != 1; then
2483 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2486 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2487 echo "$ac_t""yes" 1>&6
2489 echo "$ac_t""no" 1>&6
2493 echo $ac_n "checking for --enable-mem_tracing""... $ac_c" 1>&6
2494 echo "configure:2495: checking for --enable-mem_tracing" >&5
2496 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2497 if test "${enable_mem_tracing+set}" = set; then
2498 enableval
="$enable_mem_tracing"
2500 if test "$enableval" = yes; then
2501 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
2503 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
2508 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2509 if test "x$LINE" != x
; then
2510 eval "DEFAULT_$LINE"
2515 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2520 eval "$ac_cv_use_mem_tracing"
2521 if test "$no_cache" != 1; then
2522 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2525 if test "$wxUSE_MEM_TRACING" = yes; then
2526 echo "$ac_t""yes" 1>&6
2528 echo "$ac_t""no" 1>&6
2532 echo $ac_n "checking for --enable-profile""... $ac_c" 1>&6
2533 echo "configure:2534: checking for --enable-profile" >&5
2535 # Check whether --enable-profile or --disable-profile was given.
2536 if test "${enable_profile+set}" = set; then
2537 enableval
="$enable_profile"
2539 if test "$enableval" = yes; then
2540 ac_cv_use_profile
='wxUSE_PROFILE=yes'
2542 ac_cv_use_profile
='wxUSE_PROFILE=no'
2547 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2548 if test "x$LINE" != x
; then
2549 eval "DEFAULT_$LINE"
2554 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2559 eval "$ac_cv_use_profile"
2560 if test "$no_cache" != 1; then
2561 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2564 if test "$wxUSE_PROFILE" = yes; then
2565 echo "$ac_t""yes" 1>&6
2567 echo "$ac_t""no" 1>&6
2571 echo $ac_n "checking for --enable-no_rtti""... $ac_c" 1>&6
2572 echo "configure:2573: checking for --enable-no_rtti" >&5
2574 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2575 if test "${enable_no_rtti+set}" = set; then
2576 enableval
="$enable_no_rtti"
2578 if test "$enableval" = yes; then
2579 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
2581 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
2586 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2587 if test "x$LINE" != x
; then
2588 eval "DEFAULT_$LINE"
2593 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2598 eval "$ac_cv_use_no_rtti"
2599 if test "$no_cache" != 1; then
2600 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2603 if test "$wxUSE_NO_RTTI" = yes; then
2604 echo "$ac_t""yes" 1>&6
2606 echo "$ac_t""no" 1>&6
2610 echo $ac_n "checking for --enable-no_exceptions""... $ac_c" 1>&6
2611 echo "configure:2612: checking for --enable-no_exceptions" >&5
2613 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2614 if test "${enable_no_exceptions+set}" = set; then
2615 enableval
="$enable_no_exceptions"
2617 if test "$enableval" = yes; then
2618 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
2620 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
2625 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2626 if test "x$LINE" != x
; then
2627 eval "DEFAULT_$LINE"
2632 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2637 eval "$ac_cv_use_no_exceptions"
2638 if test "$no_cache" != 1; then
2639 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2642 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2643 echo "$ac_t""yes" 1>&6
2645 echo "$ac_t""no" 1>&6
2649 echo $ac_n "checking for --enable-permissive""... $ac_c" 1>&6
2650 echo "configure:2651: checking for --enable-permissive" >&5
2652 # Check whether --enable-permissive or --disable-permissive was given.
2653 if test "${enable_permissive+set}" = set; then
2654 enableval
="$enable_permissive"
2656 if test "$enableval" = yes; then
2657 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
2659 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
2664 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2665 if test "x$LINE" != x
; then
2666 eval "DEFAULT_$LINE"
2671 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
2676 eval "$ac_cv_use_permissive"
2677 if test "$no_cache" != 1; then
2678 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
2681 if test "$wxUSE_PERMISSIVE" = yes; then
2682 echo "$ac_t""yes" 1>&6
2684 echo "$ac_t""no" 1>&6
2688 echo $ac_n "checking for --enable-no_deps""... $ac_c" 1>&6
2689 echo "configure:2690: checking for --enable-no_deps" >&5
2691 # Check whether --enable-no_deps or --disable-no_deps was given.
2692 if test "${enable_no_deps+set}" = set; then
2693 enableval
="$enable_no_deps"
2695 if test "$enableval" = yes; then
2696 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
2698 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
2703 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
2704 if test "x$LINE" != x
; then
2705 eval "DEFAULT_$LINE"
2710 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
2715 eval "$ac_cv_use_no_deps"
2716 if test "$no_cache" != 1; then
2717 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
2720 if test "$wxUSE_NO_DEPS" = yes; then
2721 echo "$ac_t""yes" 1>&6
2723 echo "$ac_t""no" 1>&6
2728 echo $ac_n "checking for --enable-compat20""... $ac_c" 1>&6
2729 echo "configure:2730: checking for --enable-compat20" >&5
2731 # Check whether --enable-compat20 or --disable-compat20 was given.
2732 if test "${enable_compat20+set}" = set; then
2733 enableval
="$enable_compat20"
2735 if test "$enableval" = yes; then
2736 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=yes'
2738 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=no'
2743 LINE
=`grep "WXWIN_COMPATIBILITY_2" ${wx_arg_cache_file}`
2744 if test "x$LINE" != x
; then
2745 eval "DEFAULT_$LINE"
2750 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2='$DEFAULT_WXWIN_COMPATIBILITY_2
2755 eval "$ac_cv_use_compat20"
2756 if test "$no_cache" != 1; then
2757 echo $ac_cv_use_compat20 >> ${wx_arg_cache_file}.tmp
2760 if test "$WXWIN_COMPATIBILITY_2" = yes; then
2761 echo "$ac_t""yes" 1>&6
2763 echo "$ac_t""no" 1>&6
2767 echo $ac_n "checking for --enable-compat22""... $ac_c" 1>&6
2768 echo "configure:2769: checking for --enable-compat22" >&5
2770 # Check whether --enable-compat22 or --disable-compat22 was given.
2771 if test "${enable_compat22+set}" = set; then
2772 enableval
="$enable_compat22"
2774 if test "$enableval" = yes; then
2775 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
2777 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
2782 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
2783 if test "x$LINE" != x
; then
2784 eval "DEFAULT_$LINE"
2789 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
2794 eval "$ac_cv_use_compat22"
2795 if test "$no_cache" != 1; then
2796 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
2799 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
2800 echo "$ac_t""yes" 1>&6
2802 echo "$ac_t""no" 1>&6
2808 echo $ac_n "checking for --enable-intl""... $ac_c" 1>&6
2809 echo "configure:2810: checking for --enable-intl" >&5
2811 # Check whether --enable-intl or --disable-intl was given.
2812 if test "${enable_intl+set}" = set; then
2813 enableval
="$enable_intl"
2815 if test "$enableval" = yes; then
2816 ac_cv_use_intl
='wxUSE_INTL=yes'
2818 ac_cv_use_intl
='wxUSE_INTL=no'
2823 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
2824 if test "x$LINE" != x
; then
2825 eval "DEFAULT_$LINE"
2830 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
2835 eval "$ac_cv_use_intl"
2836 if test "$no_cache" != 1; then
2837 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
2840 if test "$wxUSE_INTL" = yes; then
2841 echo "$ac_t""yes" 1>&6
2843 echo "$ac_t""no" 1>&6
2847 echo $ac_n "checking for --enable-config""... $ac_c" 1>&6
2848 echo "configure:2849: checking for --enable-config" >&5
2850 # Check whether --enable-config or --disable-config was given.
2851 if test "${enable_config+set}" = set; then
2852 enableval
="$enable_config"
2854 if test "$enableval" = yes; then
2855 ac_cv_use_config
='wxUSE_CONFIG=yes'
2857 ac_cv_use_config
='wxUSE_CONFIG=no'
2862 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
2863 if test "x$LINE" != x
; then
2864 eval "DEFAULT_$LINE"
2869 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
2874 eval "$ac_cv_use_config"
2875 if test "$no_cache" != 1; then
2876 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
2879 if test "$wxUSE_CONFIG" = yes; then
2880 echo "$ac_t""yes" 1>&6
2882 echo "$ac_t""no" 1>&6
2887 echo $ac_n "checking for --enable-sockets""... $ac_c" 1>&6
2888 echo "configure:2889: checking for --enable-sockets" >&5
2890 # Check whether --enable-sockets or --disable-sockets was given.
2891 if test "${enable_sockets+set}" = set; then
2892 enableval
="$enable_sockets"
2894 if test "$enableval" = yes; then
2895 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
2897 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
2902 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
2903 if test "x$LINE" != x
; then
2904 eval "DEFAULT_$LINE"
2909 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
2914 eval "$ac_cv_use_sockets"
2915 if test "$no_cache" != 1; then
2916 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
2919 if test "$wxUSE_SOCKETS" = yes; then
2920 echo "$ac_t""yes" 1>&6
2922 echo "$ac_t""no" 1>&6
2927 echo $ac_n "checking for --enable-ipc""... $ac_c" 1>&6
2928 echo "configure:2929: checking for --enable-ipc" >&5
2930 # Check whether --enable-ipc or --disable-ipc was given.
2931 if test "${enable_ipc+set}" = set; then
2932 enableval
="$enable_ipc"
2934 if test "$enableval" = yes; then
2935 ac_cv_use_ipc
='wxUSE_IPC=yes'
2937 ac_cv_use_ipc
='wxUSE_IPC=no'
2942 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
2943 if test "x$LINE" != x
; then
2944 eval "DEFAULT_$LINE"
2949 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
2954 eval "$ac_cv_use_ipc"
2955 if test "$no_cache" != 1; then
2956 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
2959 if test "$wxUSE_IPC" = yes; then
2960 echo "$ac_t""yes" 1>&6
2962 echo "$ac_t""no" 1>&6
2967 echo $ac_n "checking for --enable-cmdline""... $ac_c" 1>&6
2968 echo "configure:2969: checking for --enable-cmdline" >&5
2970 # Check whether --enable-cmdline or --disable-cmdline was given.
2971 if test "${enable_cmdline+set}" = set; then
2972 enableval
="$enable_cmdline"
2974 if test "$enableval" = yes; then
2975 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
2977 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
2982 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
2983 if test "x$LINE" != x
; then
2984 eval "DEFAULT_$LINE"
2989 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
2994 eval "$ac_cv_use_cmdline"
2995 if test "$no_cache" != 1; then
2996 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
2999 if test "$wxUSE_CMDLINE_PARSER" = yes; then
3000 echo "$ac_t""yes" 1>&6
3002 echo "$ac_t""no" 1>&6
3006 echo $ac_n "checking for --enable-datetime""... $ac_c" 1>&6
3007 echo "configure:3008: checking for --enable-datetime" >&5
3009 # Check whether --enable-datetime or --disable-datetime was given.
3010 if test "${enable_datetime+set}" = set; then
3011 enableval
="$enable_datetime"
3013 if test "$enableval" = yes; then
3014 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
3016 ac_cv_use_datetime
='wxUSE_DATETIME=no'
3021 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
3022 if test "x$LINE" != x
; then
3023 eval "DEFAULT_$LINE"
3028 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
3033 eval "$ac_cv_use_datetime"
3034 if test "$no_cache" != 1; then
3035 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
3038 if test "$wxUSE_DATETIME" = yes; then
3039 echo "$ac_t""yes" 1>&6
3041 echo "$ac_t""no" 1>&6
3045 echo $ac_n "checking for --enable-timedate""... $ac_c" 1>&6
3046 echo "configure:3047: checking for --enable-timedate" >&5
3048 # Check whether --enable-timedate or --disable-timedate was given.
3049 if test "${enable_timedate+set}" = set; then
3050 enableval
="$enable_timedate"
3052 if test "$enableval" = yes; then
3053 ac_cv_use_timedate
='wxUSE_TIMEDATE=yes'
3055 ac_cv_use_timedate
='wxUSE_TIMEDATE=no'
3060 LINE
=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}`
3061 if test "x$LINE" != x
; then
3062 eval "DEFAULT_$LINE"
3067 ac_cv_use_timedate
='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
3072 eval "$ac_cv_use_timedate"
3073 if test "$no_cache" != 1; then
3074 echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp
3077 if test "$wxUSE_TIMEDATE" = yes; then
3078 echo "$ac_t""yes" 1>&6
3080 echo "$ac_t""no" 1>&6
3084 echo $ac_n "checking for --enable-stopwatch""... $ac_c" 1>&6
3085 echo "configure:3086: checking for --enable-stopwatch" >&5
3087 # Check whether --enable-stopwatch or --disable-stopwatch was given.
3088 if test "${enable_stopwatch+set}" = set; then
3089 enableval
="$enable_stopwatch"
3091 if test "$enableval" = yes; then
3092 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
3094 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
3099 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
3100 if test "x$LINE" != x
; then
3101 eval "DEFAULT_$LINE"
3106 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
3111 eval "$ac_cv_use_stopwatch"
3112 if test "$no_cache" != 1; then
3113 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
3116 if test "$wxUSE_STOPWATCH" = yes; then
3117 echo "$ac_t""yes" 1>&6
3119 echo "$ac_t""no" 1>&6
3123 echo $ac_n "checking for --enable-dialupman""... $ac_c" 1>&6
3124 echo "configure:3125: checking for --enable-dialupman" >&5
3126 # Check whether --enable-dialupman or --disable-dialupman was given.
3127 if test "${enable_dialupman+set}" = set; then
3128 enableval
="$enable_dialupman"
3130 if test "$enableval" = yes; then
3131 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
3133 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
3138 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
3139 if test "x$LINE" != x
; then
3140 eval "DEFAULT_$LINE"
3145 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
3150 eval "$ac_cv_use_dialupman"
3151 if test "$no_cache" != 1; then
3152 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
3155 if test "$wxUSE_DIALUP_MANAGER" = yes; then
3156 echo "$ac_t""yes" 1>&6
3158 echo "$ac_t""no" 1>&6
3162 echo $ac_n "checking for --enable-apple_ieee""... $ac_c" 1>&6
3163 echo "configure:3164: checking for --enable-apple_ieee" >&5
3165 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
3166 if test "${enable_apple_ieee+set}" = set; then
3167 enableval
="$enable_apple_ieee"
3169 if test "$enableval" = yes; then
3170 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
3172 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
3177 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
3178 if test "x$LINE" != x
; then
3179 eval "DEFAULT_$LINE"
3184 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
3189 eval "$ac_cv_use_apple_ieee"
3190 if test "$no_cache" != 1; then
3191 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
3194 if test "$wxUSE_APPLE_IEEE" = yes; then
3195 echo "$ac_t""yes" 1>&6
3197 echo "$ac_t""no" 1>&6
3201 echo $ac_n "checking for --enable-timer""... $ac_c" 1>&6
3202 echo "configure:3203: checking for --enable-timer" >&5
3204 # Check whether --enable-timer or --disable-timer was given.
3205 if test "${enable_timer+set}" = set; then
3206 enableval
="$enable_timer"
3208 if test "$enableval" = yes; then
3209 ac_cv_use_timer
='wxUSE_TIMER=yes'
3211 ac_cv_use_timer
='wxUSE_TIMER=no'
3216 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
3217 if test "x$LINE" != x
; then
3218 eval "DEFAULT_$LINE"
3223 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
3228 eval "$ac_cv_use_timer"
3229 if test "$no_cache" != 1; then
3230 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
3233 if test "$wxUSE_TIMER" = yes; then
3234 echo "$ac_t""yes" 1>&6
3236 echo "$ac_t""no" 1>&6
3240 echo $ac_n "checking for --enable-wave""... $ac_c" 1>&6
3241 echo "configure:3242: checking for --enable-wave" >&5
3243 # Check whether --enable-wave or --disable-wave was given.
3244 if test "${enable_wave+set}" = set; then
3245 enableval
="$enable_wave"
3247 if test "$enableval" = yes; then
3248 ac_cv_use_wave
='wxUSE_WAVE=yes'
3250 ac_cv_use_wave
='wxUSE_WAVE=no'
3255 LINE
=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
3256 if test "x$LINE" != x
; then
3257 eval "DEFAULT_$LINE"
3262 ac_cv_use_wave
='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
3267 eval "$ac_cv_use_wave"
3268 if test "$no_cache" != 1; then
3269 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
3272 if test "$wxUSE_WAVE" = yes; then
3273 echo "$ac_t""yes" 1>&6
3275 echo "$ac_t""no" 1>&6
3279 echo $ac_n "checking for --enable-fraction""... $ac_c" 1>&6
3280 echo "configure:3281: checking for --enable-fraction" >&5
3282 # Check whether --enable-fraction or --disable-fraction was given.
3283 if test "${enable_fraction+set}" = set; then
3284 enableval
="$enable_fraction"
3286 if test "$enableval" = yes; then
3287 ac_cv_use_fraction
='wxUSE_FRACTION=yes'
3289 ac_cv_use_fraction
='wxUSE_FRACTION=no'
3294 LINE
=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
3295 if test "x$LINE" != x
; then
3296 eval "DEFAULT_$LINE"
3301 ac_cv_use_fraction
='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
3306 eval "$ac_cv_use_fraction"
3307 if test "$no_cache" != 1; then
3308 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
3311 if test "$wxUSE_FRACTION" = yes; then
3312 echo "$ac_t""yes" 1>&6
3314 echo "$ac_t""no" 1>&6
3318 echo $ac_n "checking for --enable-dynlib""... $ac_c" 1>&6
3319 echo "configure:3320: checking for --enable-dynlib" >&5
3321 # Check whether --enable-dynlib or --disable-dynlib was given.
3322 if test "${enable_dynlib+set}" = set; then
3323 enableval
="$enable_dynlib"
3325 if test "$enableval" = yes; then
3326 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
3328 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
3333 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
3334 if test "x$LINE" != x
; then
3335 eval "DEFAULT_$LINE"
3340 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
3345 eval "$ac_cv_use_dynlib"
3346 if test "$no_cache" != 1; then
3347 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
3350 if test "$wxUSE_DYNLIB_CLASS" = yes; then
3351 echo "$ac_t""yes" 1>&6
3353 echo "$ac_t""no" 1>&6
3357 echo $ac_n "checking for --enable-longlong""... $ac_c" 1>&6
3358 echo "configure:3359: checking for --enable-longlong" >&5
3360 # Check whether --enable-longlong or --disable-longlong was given.
3361 if test "${enable_longlong+set}" = set; then
3362 enableval
="$enable_longlong"
3364 if test "$enableval" = yes; then
3365 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
3367 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
3372 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
3373 if test "x$LINE" != x
; then
3374 eval "DEFAULT_$LINE"
3379 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
3384 eval "$ac_cv_use_longlong"
3385 if test "$no_cache" != 1; then
3386 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
3389 if test "$wxUSE_LONGLONG" = yes; then
3390 echo "$ac_t""yes" 1>&6
3392 echo "$ac_t""no" 1>&6
3396 echo $ac_n "checking for --enable-geometry""... $ac_c" 1>&6
3397 echo "configure:3398: checking for --enable-geometry" >&5
3399 # Check whether --enable-geometry or --disable-geometry was given.
3400 if test "${enable_geometry+set}" = set; then
3401 enableval
="$enable_geometry"
3403 if test "$enableval" = yes; then
3404 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
3406 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
3411 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
3412 if test "x$LINE" != x
; then
3413 eval "DEFAULT_$LINE"
3418 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
3423 eval "$ac_cv_use_geometry"
3424 if test "$no_cache" != 1; then
3425 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
3428 if test "$wxUSE_GEOMETRY" = yes; then
3429 echo "$ac_t""yes" 1>&6
3431 echo "$ac_t""no" 1>&6
3435 echo $ac_n "checking for --enable-log""... $ac_c" 1>&6
3436 echo "configure:3437: checking for --enable-log" >&5
3438 # Check whether --enable-log or --disable-log was given.
3439 if test "${enable_log+set}" = set; then
3440 enableval
="$enable_log"
3442 if test "$enableval" = yes; then
3443 ac_cv_use_log
='wxUSE_LOG=yes'
3445 ac_cv_use_log
='wxUSE_LOG=no'
3450 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
3451 if test "x$LINE" != x
; then
3452 eval "DEFAULT_$LINE"
3457 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
3462 eval "$ac_cv_use_log"
3463 if test "$no_cache" != 1; then
3464 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
3467 if test "$wxUSE_LOG" = yes; then
3468 echo "$ac_t""yes" 1>&6
3470 echo "$ac_t""no" 1>&6
3474 echo $ac_n "checking for --enable-streams""... $ac_c" 1>&6
3475 echo "configure:3476: checking for --enable-streams" >&5
3477 # Check whether --enable-streams or --disable-streams was given.
3478 if test "${enable_streams+set}" = set; then
3479 enableval
="$enable_streams"
3481 if test "$enableval" = yes; then
3482 ac_cv_use_streams
='wxUSE_STREAMS=yes'
3484 ac_cv_use_streams
='wxUSE_STREAMS=no'
3489 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
3490 if test "x$LINE" != x
; then
3491 eval "DEFAULT_$LINE"
3496 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
3501 eval "$ac_cv_use_streams"
3502 if test "$no_cache" != 1; then
3503 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
3506 if test "$wxUSE_STREAMS" = yes; then
3507 echo "$ac_t""yes" 1>&6
3509 echo "$ac_t""no" 1>&6
3513 echo $ac_n "checking for --enable-file""... $ac_c" 1>&6
3514 echo "configure:3515: checking for --enable-file" >&5
3516 # Check whether --enable-file or --disable-file was given.
3517 if test "${enable_file+set}" = set; then
3518 enableval
="$enable_file"
3520 if test "$enableval" = yes; then
3521 ac_cv_use_file
='wxUSE_FILE=yes'
3523 ac_cv_use_file
='wxUSE_FILE=no'
3528 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
3529 if test "x$LINE" != x
; then
3530 eval "DEFAULT_$LINE"
3535 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
3540 eval "$ac_cv_use_file"
3541 if test "$no_cache" != 1; then
3542 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
3545 if test "$wxUSE_FILE" = yes; then
3546 echo "$ac_t""yes" 1>&6
3548 echo "$ac_t""no" 1>&6
3552 echo $ac_n "checking for --enable-ffile""... $ac_c" 1>&6
3553 echo "configure:3554: checking for --enable-ffile" >&5
3555 # Check whether --enable-ffile or --disable-ffile was given.
3556 if test "${enable_ffile+set}" = set; then
3557 enableval
="$enable_ffile"
3559 if test "$enableval" = yes; then
3560 ac_cv_use_ffile
='wxUSE_FFILE=yes'
3562 ac_cv_use_ffile
='wxUSE_FFILE=no'
3567 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
3568 if test "x$LINE" != x
; then
3569 eval "DEFAULT_$LINE"
3574 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
3579 eval "$ac_cv_use_ffile"
3580 if test "$no_cache" != 1; then
3581 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
3584 if test "$wxUSE_FFILE" = yes; then
3585 echo "$ac_t""yes" 1>&6
3587 echo "$ac_t""no" 1>&6
3591 echo $ac_n "checking for --enable-textfile""... $ac_c" 1>&6
3592 echo "configure:3593: checking for --enable-textfile" >&5
3594 # Check whether --enable-textfile or --disable-textfile was given.
3595 if test "${enable_textfile+set}" = set; then
3596 enableval
="$enable_textfile"
3598 if test "$enableval" = yes; then
3599 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
3601 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
3606 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
3607 if test "x$LINE" != x
; then
3608 eval "DEFAULT_$LINE"
3613 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
3618 eval "$ac_cv_use_textfile"
3619 if test "$no_cache" != 1; then
3620 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
3623 if test "$wxUSE_TEXTFILE" = yes; then
3624 echo "$ac_t""yes" 1>&6
3626 echo "$ac_t""no" 1>&6
3630 echo $ac_n "checking for --enable-fontmap""... $ac_c" 1>&6
3631 echo "configure:3632: checking for --enable-fontmap" >&5
3633 # Check whether --enable-fontmap or --disable-fontmap was given.
3634 if test "${enable_fontmap+set}" = set; then
3635 enableval
="$enable_fontmap"
3637 if test "$enableval" = yes; then
3638 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
3640 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
3645 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
3646 if test "x$LINE" != x
; then
3647 eval "DEFAULT_$LINE"
3652 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
3657 eval "$ac_cv_use_fontmap"
3658 if test "$no_cache" != 1; then
3659 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
3662 if test "$wxUSE_FONTMAP" = yes; then
3663 echo "$ac_t""yes" 1>&6
3665 echo "$ac_t""no" 1>&6
3669 echo $ac_n "checking for --enable-unicode""... $ac_c" 1>&6
3670 echo "configure:3671: checking for --enable-unicode" >&5
3672 # Check whether --enable-unicode or --disable-unicode was given.
3673 if test "${enable_unicode+set}" = set; then
3674 enableval
="$enable_unicode"
3676 if test "$enableval" = yes; then
3677 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
3679 ac_cv_use_unicode
='wxUSE_UNICODE=no'
3684 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
3685 if test "x$LINE" != x
; then
3686 eval "DEFAULT_$LINE"
3691 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
3696 eval "$ac_cv_use_unicode"
3697 if test "$no_cache" != 1; then
3698 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
3701 if test "$wxUSE_UNICODE" = yes; then
3702 echo "$ac_t""yes" 1>&6
3704 echo "$ac_t""no" 1>&6
3708 echo $ac_n "checking for --enable-wcsrtombs""... $ac_c" 1>&6
3709 echo "configure:3710: checking for --enable-wcsrtombs" >&5
3711 # Check whether --enable-wcsrtombs or --disable-wcsrtombs was given.
3712 if test "${enable_wcsrtombs+set}" = set; then
3713 enableval
="$enable_wcsrtombs"
3715 if test "$enableval" = yes; then
3716 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS=yes'
3718 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS=no'
3723 LINE
=`grep "wxUSE_WCSRTOMBS" ${wx_arg_cache_file}`
3724 if test "x$LINE" != x
; then
3725 eval "DEFAULT_$LINE"
3730 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS='$DEFAULT_wxUSE_WCSRTOMBS
3735 eval "$ac_cv_use_wcsrtombs"
3736 if test "$no_cache" != 1; then
3737 echo $ac_cv_use_wcsrtombs >> ${wx_arg_cache_file}.tmp
3740 if test "$wxUSE_WCSRTOMBS" = yes; then
3741 echo "$ac_t""yes" 1>&6
3743 echo "$ac_t""no" 1>&6
3747 echo $ac_n "checking for --enable-wxprintfv""... $ac_c" 1>&6
3748 echo "configure:3749: checking for --enable-wxprintfv" >&5
3750 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
3751 if test "${enable_wxprintfv+set}" = set; then
3752 enableval
="$enable_wxprintfv"
3754 if test "$enableval" = yes; then
3755 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
3757 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
3762 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
3763 if test "x$LINE" != x
; then
3764 eval "DEFAULT_$LINE"
3769 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
3774 eval "$ac_cv_use_wxprintfv"
3775 if test "$no_cache" != 1; then
3776 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
3779 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
3780 echo "$ac_t""yes" 1>&6
3782 echo "$ac_t""no" 1>&6
3786 echo $ac_n "checking for --enable-std_iostreams""... $ac_c" 1>&6
3787 echo "configure:3788: checking for --enable-std_iostreams" >&5
3789 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
3790 if test "${enable_std_iostreams+set}" = set; then
3791 enableval
="$enable_std_iostreams"
3793 if test "$enableval" = yes; then
3794 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
3796 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
3801 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
3802 if test "x$LINE" != x
; then
3803 eval "DEFAULT_$LINE"
3808 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
3813 eval "$ac_cv_use_std_iostreams"
3814 if test "$no_cache" != 1; then
3815 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
3818 if test "$wxUSE_STD_IOSTREAM" = yes; then
3819 echo "$ac_t""yes" 1>&6
3821 echo "$ac_t""no" 1>&6
3825 echo $ac_n "checking for --enable-filesystem""... $ac_c" 1>&6
3826 echo "configure:3827: checking for --enable-filesystem" >&5
3828 # Check whether --enable-filesystem or --disable-filesystem was given.
3829 if test "${enable_filesystem+set}" = set; then
3830 enableval
="$enable_filesystem"
3832 if test "$enableval" = yes; then
3833 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
3835 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
3840 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
3841 if test "x$LINE" != x
; then
3842 eval "DEFAULT_$LINE"
3847 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
3852 eval "$ac_cv_use_filesystem"
3853 if test "$no_cache" != 1; then
3854 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
3857 if test "$wxUSE_FILESYSTEM" = yes; then
3858 echo "$ac_t""yes" 1>&6
3860 echo "$ac_t""no" 1>&6
3864 echo $ac_n "checking for --enable-fs_inet""... $ac_c" 1>&6
3865 echo "configure:3866: checking for --enable-fs_inet" >&5
3867 # Check whether --enable-fs_inet or --disable-fs_inet was given.
3868 if test "${enable_fs_inet+set}" = set; then
3869 enableval
="$enable_fs_inet"
3871 if test "$enableval" = yes; then
3872 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
3874 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
3879 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
3880 if test "x$LINE" != x
; then
3881 eval "DEFAULT_$LINE"
3886 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
3891 eval "$ac_cv_use_fs_inet"
3892 if test "$no_cache" != 1; then
3893 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
3896 if test "$wxUSE_FS_INET" = yes; then
3897 echo "$ac_t""yes" 1>&6
3899 echo "$ac_t""no" 1>&6
3903 echo $ac_n "checking for --enable-fs_zip""... $ac_c" 1>&6
3904 echo "configure:3905: checking for --enable-fs_zip" >&5
3906 # Check whether --enable-fs_zip or --disable-fs_zip was given.
3907 if test "${enable_fs_zip+set}" = set; then
3908 enableval
="$enable_fs_zip"
3910 if test "$enableval" = yes; then
3911 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
3913 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
3918 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
3919 if test "x$LINE" != x
; then
3920 eval "DEFAULT_$LINE"
3925 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
3930 eval "$ac_cv_use_fs_zip"
3931 if test "$no_cache" != 1; then
3932 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
3935 if test "$wxUSE_FS_ZIP" = yes; then
3936 echo "$ac_t""yes" 1>&6
3938 echo "$ac_t""no" 1>&6
3942 echo $ac_n "checking for --enable-zipstream""... $ac_c" 1>&6
3943 echo "configure:3944: checking for --enable-zipstream" >&5
3945 # Check whether --enable-zipstream or --disable-zipstream was given.
3946 if test "${enable_zipstream+set}" = set; then
3947 enableval
="$enable_zipstream"
3949 if test "$enableval" = yes; then
3950 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
3952 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
3957 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
3958 if test "x$LINE" != x
; then
3959 eval "DEFAULT_$LINE"
3964 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
3969 eval "$ac_cv_use_zipstream"
3970 if test "$no_cache" != 1; then
3971 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
3974 if test "$wxUSE_ZIPSTREAM" = yes; then
3975 echo "$ac_t""yes" 1>&6
3977 echo "$ac_t""no" 1>&6
3982 echo $ac_n "checking for --enable-catch_segvs""... $ac_c" 1>&6
3983 echo "configure:3984: checking for --enable-catch_segvs" >&5
3985 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
3986 if test "${enable_catch_segvs+set}" = set; then
3987 enableval
="$enable_catch_segvs"
3989 if test "$enableval" = yes; then
3990 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
3992 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
3997 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
3998 if test "x$LINE" != x
; then
3999 eval "DEFAULT_$LINE"
4004 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4009 eval "$ac_cv_use_catch_segvs"
4010 if test "$no_cache" != 1; then
4011 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4014 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4015 echo "$ac_t""yes" 1>&6
4017 echo "$ac_t""no" 1>&6
4021 echo $ac_n "checking for --enable-snglinst""... $ac_c" 1>&6
4022 echo "configure:4023: checking for --enable-snglinst" >&5
4024 # Check whether --enable-snglinst or --disable-snglinst was given.
4025 if test "${enable_snglinst+set}" = set; then
4026 enableval
="$enable_snglinst"
4028 if test "$enableval" = yes; then
4029 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
4031 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
4036 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
4037 if test "x$LINE" != x
; then
4038 eval "DEFAULT_$LINE"
4043 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
4048 eval "$ac_cv_use_snglinst"
4049 if test "$no_cache" != 1; then
4050 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
4053 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
4054 echo "$ac_t""yes" 1>&6
4056 echo "$ac_t""no" 1>&6
4061 echo $ac_n "checking for --enable-mimetype""... $ac_c" 1>&6
4062 echo "configure:4063: checking for --enable-mimetype" >&5
4064 # Check whether --enable-mimetype or --disable-mimetype was given.
4065 if test "${enable_mimetype+set}" = set; then
4066 enableval
="$enable_mimetype"
4068 if test "$enableval" = yes; then
4069 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
4071 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
4076 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
4077 if test "x$LINE" != x
; then
4078 eval "DEFAULT_$LINE"
4083 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
4088 eval "$ac_cv_use_mimetype"
4089 if test "$no_cache" != 1; then
4090 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
4093 if test "$wxUSE_MIMETYPE" = yes; then
4094 echo "$ac_t""yes" 1>&6
4096 echo "$ac_t""no" 1>&6
4102 echo $ac_n "checking for --enable-threads""... $ac_c" 1>&6
4103 echo "configure:4104: checking for --enable-threads" >&5
4105 # Check whether --enable-threads or --disable-threads was given.
4106 if test "${enable_threads+set}" = set; then
4107 enableval
="$enable_threads"
4109 if test "$enableval" = yes; then
4110 ac_cv_use_threads
='wxUSE_THREADS=yes'
4112 ac_cv_use_threads
='wxUSE_THREADS=no'
4117 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
4118 if test "x$LINE" != x
; then
4119 eval "DEFAULT_$LINE"
4124 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
4129 eval "$ac_cv_use_threads"
4130 if test "$no_cache" != 1; then
4131 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
4134 if test "$wxUSE_THREADS" = yes; then
4135 echo "$ac_t""yes" 1>&6
4137 echo "$ac_t""no" 1>&6
4141 echo $ac_n "checking for --enable-serial""... $ac_c" 1>&6
4142 echo "configure:4143: checking for --enable-serial" >&5
4144 # Check whether --enable-serial or --disable-serial was given.
4145 if test "${enable_serial+set}" = set; then
4146 enableval
="$enable_serial"
4148 if test "$enableval" = yes; then
4149 ac_cv_use_serial
='wxUSE_SERIAL=yes'
4151 ac_cv_use_serial
='wxUSE_SERIAL=no'
4156 LINE
=`grep "wxUSE_SERIAL" ${wx_arg_cache_file}`
4157 if test "x$LINE" != x
; then
4158 eval "DEFAULT_$LINE"
4163 ac_cv_use_serial
='wxUSE_SERIAL='$DEFAULT_wxUSE_SERIAL
4168 eval "$ac_cv_use_serial"
4169 if test "$no_cache" != 1; then
4170 echo $ac_cv_use_serial >> ${wx_arg_cache_file}.tmp
4173 if test "$wxUSE_SERIAL" = yes; then
4174 echo "$ac_t""yes" 1>&6
4176 echo "$ac_t""no" 1>&6
4180 if test "$wxUSE_GUI" = "yes"; then
4184 echo $ac_n "checking for --enable-docview""... $ac_c" 1>&6
4185 echo "configure:4186: checking for --enable-docview" >&5
4187 # Check whether --enable-docview or --disable-docview was given.
4188 if test "${enable_docview+set}" = set; then
4189 enableval
="$enable_docview"
4191 if test "$enableval" = yes; then
4192 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
4194 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
4199 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
4200 if test "x$LINE" != x
; then
4201 eval "DEFAULT_$LINE"
4206 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
4211 eval "$ac_cv_use_docview"
4212 if test "$no_cache" != 1; then
4213 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
4216 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
4217 echo "$ac_t""yes" 1>&6
4219 echo "$ac_t""no" 1>&6
4223 echo $ac_n "checking for --enable-help""... $ac_c" 1>&6
4224 echo "configure:4225: checking for --enable-help" >&5
4226 # Check whether --enable-help or --disable-help was given.
4227 if test "${enable_help+set}" = set; then
4228 enableval
="$enable_help"
4230 if test "$enableval" = yes; then
4231 ac_cv_use_help
='wxUSE_HELP=yes'
4233 ac_cv_use_help
='wxUSE_HELP=no'
4238 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
4239 if test "x$LINE" != x
; then
4240 eval "DEFAULT_$LINE"
4245 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
4250 eval "$ac_cv_use_help"
4251 if test "$no_cache" != 1; then
4252 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
4255 if test "$wxUSE_HELP" = yes; then
4256 echo "$ac_t""yes" 1>&6
4258 echo "$ac_t""no" 1>&6
4262 echo $ac_n "checking for --enable-constraints""... $ac_c" 1>&6
4263 echo "configure:4264: checking for --enable-constraints" >&5
4265 # Check whether --enable-constraints or --disable-constraints was given.
4266 if test "${enable_constraints+set}" = set; then
4267 enableval
="$enable_constraints"
4269 if test "$enableval" = yes; then
4270 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
4272 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
4277 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
4278 if test "x$LINE" != x
; then
4279 eval "DEFAULT_$LINE"
4284 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
4289 eval "$ac_cv_use_constraints"
4290 if test "$no_cache" != 1; then
4291 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
4294 if test "$wxUSE_CONSTRAINTS" = yes; then
4295 echo "$ac_t""yes" 1>&6
4297 echo "$ac_t""no" 1>&6
4301 echo $ac_n "checking for --enable-printarch""... $ac_c" 1>&6
4302 echo "configure:4303: checking for --enable-printarch" >&5
4304 # Check whether --enable-printarch or --disable-printarch was given.
4305 if test "${enable_printarch+set}" = set; then
4306 enableval
="$enable_printarch"
4308 if test "$enableval" = yes; then
4309 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
4311 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
4316 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
4317 if test "x$LINE" != x
; then
4318 eval "DEFAULT_$LINE"
4323 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
4328 eval "$ac_cv_use_printarch"
4329 if test "$no_cache" != 1; then
4330 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
4333 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
4334 echo "$ac_t""yes" 1>&6
4336 echo "$ac_t""no" 1>&6
4340 echo $ac_n "checking for --enable-mdi""... $ac_c" 1>&6
4341 echo "configure:4342: checking for --enable-mdi" >&5
4343 # Check whether --enable-mdi or --disable-mdi was given.
4344 if test "${enable_mdi+set}" = set; then
4345 enableval
="$enable_mdi"
4347 if test "$enableval" = yes; then
4348 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=yes'
4350 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=no'
4355 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
4356 if test "x$LINE" != x
; then
4357 eval "DEFAULT_$LINE"
4362 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
4367 eval "$ac_cv_use_mdi"
4368 if test "$no_cache" != 1; then
4369 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
4372 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
4373 echo "$ac_t""yes" 1>&6
4375 echo "$ac_t""no" 1>&6
4379 echo $ac_n "checking for --enable-loggui""... $ac_c" 1>&6
4380 echo "configure:4381: checking for --enable-loggui" >&5
4382 # Check whether --enable-loggui or --disable-loggui was given.
4383 if test "${enable_loggui+set}" = set; then
4384 enableval
="$enable_loggui"
4386 if test "$enableval" = yes; then
4387 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
4389 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
4394 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
4395 if test "x$LINE" != x
; then
4396 eval "DEFAULT_$LINE"
4401 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
4406 eval "$ac_cv_use_loggui"
4407 if test "$no_cache" != 1; then
4408 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
4411 if test "$wxUSE_LOGGUI" = yes; then
4412 echo "$ac_t""yes" 1>&6
4414 echo "$ac_t""no" 1>&6
4418 echo $ac_n "checking for --enable-logwin""... $ac_c" 1>&6
4419 echo "configure:4420: checking for --enable-logwin" >&5
4421 # Check whether --enable-logwin or --disable-logwin was given.
4422 if test "${enable_logwin+set}" = set; then
4423 enableval
="$enable_logwin"
4425 if test "$enableval" = yes; then
4426 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
4428 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
4433 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
4434 if test "x$LINE" != x
; then
4435 eval "DEFAULT_$LINE"
4440 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
4445 eval "$ac_cv_use_logwin"
4446 if test "$no_cache" != 1; then
4447 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
4450 if test "$wxUSE_LOGWINDOW" = yes; then
4451 echo "$ac_t""yes" 1>&6
4453 echo "$ac_t""no" 1>&6
4458 echo $ac_n "checking for --enable-postscript""... $ac_c" 1>&6
4459 echo "configure:4460: checking for --enable-postscript" >&5
4461 # Check whether --enable-postscript or --disable-postscript was given.
4462 if test "${enable_postscript+set}" = set; then
4463 enableval
="$enable_postscript"
4465 if test "$enableval" = yes; then
4466 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
4468 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
4473 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
4474 if test "x$LINE" != x
; then
4475 eval "DEFAULT_$LINE"
4480 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
4485 eval "$ac_cv_use_postscript"
4486 if test "$no_cache" != 1; then
4487 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
4490 if test "$wxUSE_POSTSCRIPT" = yes; then
4491 echo "$ac_t""yes" 1>&6
4493 echo "$ac_t""no" 1>&6
4500 echo $ac_n "checking for --enable-prologio""... $ac_c" 1>&6
4501 echo "configure:4502: checking for --enable-prologio" >&5
4503 # Check whether --enable-prologio or --disable-prologio was given.
4504 if test "${enable_prologio+set}" = set; then
4505 enableval
="$enable_prologio"
4507 if test "$enableval" = yes; then
4508 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
4510 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
4515 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
4516 if test "x$LINE" != x
; then
4517 eval "DEFAULT_$LINE"
4522 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
4527 eval "$ac_cv_use_prologio"
4528 if test "$no_cache" != 1; then
4529 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
4532 if test "$wxUSE_PROLOGIO" = yes; then
4533 echo "$ac_t""yes" 1>&6
4535 echo "$ac_t""no" 1>&6
4539 echo $ac_n "checking for --enable-resources""... $ac_c" 1>&6
4540 echo "configure:4541: checking for --enable-resources" >&5
4542 # Check whether --enable-resources or --disable-resources was given.
4543 if test "${enable_resources+set}" = set; then
4544 enableval
="$enable_resources"
4546 if test "$enableval" = yes; then
4547 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
4549 ac_cv_use_resources
='wxUSE_RESOURCES=no'
4554 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
4555 if test "x$LINE" != x
; then
4556 eval "DEFAULT_$LINE"
4561 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
4566 eval "$ac_cv_use_resources"
4567 if test "$no_cache" != 1; then
4568 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
4571 if test "$wxUSE_RESOURCES" = yes; then
4572 echo "$ac_t""yes" 1>&6
4574 echo "$ac_t""no" 1>&6
4579 echo $ac_n "checking for --enable-xresources""... $ac_c" 1>&6
4580 echo "configure:4581: checking for --enable-xresources" >&5
4582 # Check whether --enable-xresources or --disable-xresources was given.
4583 if test "${enable_xresources+set}" = set; then
4584 enableval
="$enable_xresources"
4586 if test "$enableval" = yes; then
4587 ac_cv_use_xresources
='wxUSE_X_RESOURCES=yes'
4589 ac_cv_use_xresources
='wxUSE_X_RESOURCES=no'
4594 LINE
=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
4595 if test "x$LINE" != x
; then
4596 eval "DEFAULT_$LINE"
4601 ac_cv_use_xresources
='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
4606 eval "$ac_cv_use_xresources"
4607 if test "$no_cache" != 1; then
4608 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
4611 if test "$wxUSE_X_RESOURCES" = yes; then
4612 echo "$ac_t""yes" 1>&6
4614 echo "$ac_t""no" 1>&6
4620 echo $ac_n "checking for --enable-clipboard""... $ac_c" 1>&6
4621 echo "configure:4622: checking for --enable-clipboard" >&5
4623 # Check whether --enable-clipboard or --disable-clipboard was given.
4624 if test "${enable_clipboard+set}" = set; then
4625 enableval
="$enable_clipboard"
4627 if test "$enableval" = yes; then
4628 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
4630 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
4635 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
4636 if test "x$LINE" != x
; then
4637 eval "DEFAULT_$LINE"
4642 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
4647 eval "$ac_cv_use_clipboard"
4648 if test "$no_cache" != 1; then
4649 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
4652 if test "$wxUSE_CLIPBOARD" = yes; then
4653 echo "$ac_t""yes" 1>&6
4655 echo "$ac_t""no" 1>&6
4659 echo $ac_n "checking for --enable-dnd""... $ac_c" 1>&6
4660 echo "configure:4661: checking for --enable-dnd" >&5
4662 # Check whether --enable-dnd or --disable-dnd was given.
4663 if test "${enable_dnd+set}" = set; then
4664 enableval
="$enable_dnd"
4666 if test "$enableval" = yes; then
4667 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
4669 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
4674 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
4675 if test "x$LINE" != x
; then
4676 eval "DEFAULT_$LINE"
4681 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
4686 eval "$ac_cv_use_dnd"
4687 if test "$no_cache" != 1; then
4688 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
4691 if test "$wxUSE_DRAG_AND_DROP" = yes; then
4692 echo "$ac_t""yes" 1>&6
4694 echo "$ac_t""no" 1>&6
4698 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
4699 echo "configure:4700: checking for --enable-metafile" >&5
4701 # Check whether --enable-metafile or --disable-metafile was given.
4702 if test "${enable_metafile+set}" = set; then
4703 enableval
="$enable_metafile"
4705 if test "$enableval" = yes; then
4706 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
4708 ac_cv_use_metafile
='wxUSE_METAFILE=no'
4713 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
4714 if test "x$LINE" != x
; then
4715 eval "DEFAULT_$LINE"
4720 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
4725 eval "$ac_cv_use_metafile"
4726 if test "$no_cache" != 1; then
4727 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
4730 if test "$wxUSE_METAFILE" = yes; then
4731 echo "$ac_t""yes" 1>&6
4733 echo "$ac_t""no" 1>&6
4738 echo $ac_n "checking for --enable-wxtree""... $ac_c" 1>&6
4739 echo "configure:4740: checking for --enable-wxtree" >&5
4741 # Check whether --enable-wxtree or --disable-wxtree was given.
4742 if test "${enable_wxtree+set}" = set; then
4743 enableval
="$enable_wxtree"
4745 if test "$enableval" = yes; then
4746 ac_cv_use_wxtree
='wxUSE_WXTREE=yes'
4748 ac_cv_use_wxtree
='wxUSE_WXTREE=no'
4753 LINE
=`grep "wxUSE_WXTREE" ${wx_arg_cache_file}`
4754 if test "x$LINE" != x
; then
4755 eval "DEFAULT_$LINE"
4760 ac_cv_use_wxtree
='wxUSE_WXTREE='$DEFAULT_wxUSE_WXTREE
4765 eval "$ac_cv_use_wxtree"
4766 if test "$no_cache" != 1; then
4767 echo $ac_cv_use_wxtree >> ${wx_arg_cache_file}.tmp
4770 if test "$wxUSE_WXTREE" = yes; then
4771 echo "$ac_t""yes" 1>&6
4773 echo "$ac_t""no" 1>&6
4779 echo $ac_n "checking for --enable-controls""... $ac_c" 1>&6
4780 echo "configure:4781: checking for --enable-controls" >&5
4782 # Check whether --enable-controls or --disable-controls was given.
4783 if test "${enable_controls+set}" = set; then
4784 enableval
="$enable_controls"
4786 if test "$enableval" = yes; then
4787 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
4789 ac_cv_use_controls
='wxUSE_CONTROLS=no'
4794 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
4795 if test "x$LINE" != x
; then
4796 eval "DEFAULT_$LINE"
4801 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
4806 eval "$ac_cv_use_controls"
4807 if test "$no_cache" != 1; then
4808 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
4811 if test "$wxUSE_CONTROLS" = yes; then
4812 echo "$ac_t""yes" 1>&6
4814 echo "$ac_t""no" 1>&6
4818 if test "$wxUSE_CONTROLS" = "yes"; then
4819 DEFAULT_wxUSE_ACCEL
=yes
4820 DEFAULT_wxUSE_BMPBUTTON
=yes
4821 DEFAULT_wxUSE_BUTTON
=yes
4822 DEFAULT_wxUSE_CALCTRL
=no
4823 DEFAULT_wxUSE_CARET
=yes
4824 DEFAULT_wxUSE_COMBOBOX
=yes
4825 DEFAULT_wxUSE_CHECKBOX
=yes
4826 DEFAULT_wxUSE_CHECKLISTBOX
=yes
4827 DEFAULT_wxUSE_CHOICE
=yes
4828 DEFAULT_wxUSE_GAUGE
=yes
4829 DEFAULT_wxUSE_GRID
=yes
4830 DEFAULT_wxUSE_NEW_GRID
=yes
4831 DEFAULT_wxUSE_IMAGLIST
=yes
4832 DEFAULT_wxUSE_LISTBOX
=yes
4833 DEFAULT_wxUSE_LISTCTRL
=yes
4834 DEFAULT_wxUSE_NOTEBOOK
=yes
4835 DEFAULT_wxUSE_RADIOBOX
=yes
4836 DEFAULT_wxUSE_RADIOBTN
=yes
4837 DEFAULT_wxUSE_SASH
=yes
4838 DEFAULT_wxUSE_SCROLLBAR
=yes
4839 DEFAULT_wxUSE_SLIDER
=yes
4840 DEFAULT_wxUSE_SPINBTN
=yes
4841 DEFAULT_wxUSE_SPINCTRL
=yes
4842 DEFAULT_wxUSE_SPLITTER
=yes
4843 DEFAULT_wxUSE_STATBMP
=yes
4844 DEFAULT_wxUSE_STATBOX
=yes
4845 DEFAULT_wxUSE_STATLINE
=yes
4846 DEFAULT_wxUSE_STATUSBAR
=yes
4847 DEFAULT_wxUSE_TAB_DIALOG
=yes
4848 DEFAULT_wxUSE_TOGGLEBTN
=yes
4849 DEFAULT_wxUSE_TOOLBAR
=yes
4850 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
4851 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
4852 DEFAULT_wxUSE_TOOLTIPS
=yes
4853 DEFAULT_wxUSE_TREECTRL
=yes
4854 elif test "$wxUSE_CONTROLS" = "no"; then
4855 DEFAULT_wxUSE_ACCEL
=no
4856 DEFAULT_wxUSE_BMPBUTTON
=no
4857 DEFAULT_wxUSE_BUTTON
=no
4858 DEFAULT_wxUSE_CALCTRL
=no
4859 DEFAULT_wxUSE_CARET
=no
4860 DEFAULT_wxUSE_COMBOBOX
=no
4861 DEFAULT_wxUSE_CHECKBOX
=no
4862 DEFAULT_wxUSE_CHECKLISTBOX
=no
4863 DEFAULT_wxUSE_CHOICE
=no
4864 DEFAULT_wxUSE_GAUGE
=no
4865 DEFAULT_wxUSE_GRID
=no
4866 DEFAULT_wxUSE_NEW_GRID
=no
4867 DEFAULT_wxUSE_IMAGLIST
=no
4868 DEFAULT_wxUSE_LISTBOX
=no
4869 DEFAULT_wxUSE_LISTCTRL
=no
4870 DEFAULT_wxUSE_NOTEBOOK
=no
4871 DEFAULT_wxUSE_RADIOBOX
=no
4872 DEFAULT_wxUSE_RADIOBTN
=no
4873 DEFAULT_wxUSE_SASH
=no
4874 DEFAULT_wxUSE_SCROLLBAR
=no
4875 DEFAULT_wxUSE_SLIDER
=no
4876 DEFAULT_wxUSE_SPINBTN
=no
4877 DEFAULT_wxUSE_SPINCTRL
=no
4878 DEFAULT_wxUSE_SPLITTER
=no
4879 DEFAULT_wxUSE_STATBMP
=no
4880 DEFAULT_wxUSE_STATBOX
=no
4881 DEFAULT_wxUSE_STATLINE
=no
4882 DEFAULT_wxUSE_STATUSBAR
=no
4883 DEFAULT_wxUSE_TAB_DIALOG
=no
4884 DEFAULT_wxUSE_TOGGLEBTN
=no
4885 DEFAULT_wxUSE_TOOLBAR
=no
4886 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
4887 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
4888 DEFAULT_wxUSE_TOOLTIPS
=no
4889 DEFAULT_wxUSE_TREECTRL
=no
4893 echo $ac_n "checking for --enable-accel""... $ac_c" 1>&6
4894 echo "configure:4895: checking for --enable-accel" >&5
4896 # Check whether --enable-accel or --disable-accel was given.
4897 if test "${enable_accel+set}" = set; then
4898 enableval
="$enable_accel"
4900 if test "$enableval" = yes; then
4901 ac_cv_use_accel
='wxUSE_ACCEL=yes'
4903 ac_cv_use_accel
='wxUSE_ACCEL=no'
4908 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
4909 if test "x$LINE" != x
; then
4910 eval "DEFAULT_$LINE"
4915 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
4920 eval "$ac_cv_use_accel"
4921 if test "$no_cache" != 1; then
4922 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
4925 if test "$wxUSE_ACCEL" = yes; then
4926 echo "$ac_t""yes" 1>&6
4928 echo "$ac_t""no" 1>&6
4932 echo $ac_n "checking for --enable-button""... $ac_c" 1>&6
4933 echo "configure:4934: checking for --enable-button" >&5
4935 # Check whether --enable-button or --disable-button was given.
4936 if test "${enable_button+set}" = set; then
4937 enableval
="$enable_button"
4939 if test "$enableval" = yes; then
4940 ac_cv_use_button
='wxUSE_BUTTON=yes'
4942 ac_cv_use_button
='wxUSE_BUTTON=no'
4947 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
4948 if test "x$LINE" != x
; then
4949 eval "DEFAULT_$LINE"
4954 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
4959 eval "$ac_cv_use_button"
4960 if test "$no_cache" != 1; then
4961 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
4964 if test "$wxUSE_BUTTON" = yes; then
4965 echo "$ac_t""yes" 1>&6
4967 echo "$ac_t""no" 1>&6
4971 echo $ac_n "checking for --enable-bmpbutton""... $ac_c" 1>&6
4972 echo "configure:4973: checking for --enable-bmpbutton" >&5
4974 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
4975 if test "${enable_bmpbutton+set}" = set; then
4976 enableval
="$enable_bmpbutton"
4978 if test "$enableval" = yes; then
4979 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
4981 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
4986 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
4987 if test "x$LINE" != x
; then
4988 eval "DEFAULT_$LINE"
4993 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
4998 eval "$ac_cv_use_bmpbutton"
4999 if test "$no_cache" != 1; then
5000 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
5003 if test "$wxUSE_BMPBUTTON" = yes; then
5004 echo "$ac_t""yes" 1>&6
5006 echo "$ac_t""no" 1>&6
5010 echo $ac_n "checking for --enable-calendar""... $ac_c" 1>&6
5011 echo "configure:5012: checking for --enable-calendar" >&5
5013 # Check whether --enable-calendar or --disable-calendar was given.
5014 if test "${enable_calendar+set}" = set; then
5015 enableval
="$enable_calendar"
5017 if test "$enableval" = yes; then
5018 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
5020 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
5025 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
5026 if test "x$LINE" != x
; then
5027 eval "DEFAULT_$LINE"
5032 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
5037 eval "$ac_cv_use_calendar"
5038 if test "$no_cache" != 1; then
5039 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
5042 if test "$wxUSE_CALCTRL" = yes; then
5043 echo "$ac_t""yes" 1>&6
5045 echo "$ac_t""no" 1>&6
5049 echo $ac_n "checking for --enable-caret""... $ac_c" 1>&6
5050 echo "configure:5051: checking for --enable-caret" >&5
5052 # Check whether --enable-caret or --disable-caret was given.
5053 if test "${enable_caret+set}" = set; then
5054 enableval
="$enable_caret"
5056 if test "$enableval" = yes; then
5057 ac_cv_use_caret
='wxUSE_CARET=yes'
5059 ac_cv_use_caret
='wxUSE_CARET=no'
5064 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
5065 if test "x$LINE" != x
; then
5066 eval "DEFAULT_$LINE"
5071 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
5076 eval "$ac_cv_use_caret"
5077 if test "$no_cache" != 1; then
5078 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
5081 if test "$wxUSE_CARET" = yes; then
5082 echo "$ac_t""yes" 1>&6
5084 echo "$ac_t""no" 1>&6
5088 echo $ac_n "checking for --enable-checkbox""... $ac_c" 1>&6
5089 echo "configure:5090: checking for --enable-checkbox" >&5
5091 # Check whether --enable-checkbox or --disable-checkbox was given.
5092 if test "${enable_checkbox+set}" = set; then
5093 enableval
="$enable_checkbox"
5095 if test "$enableval" = yes; then
5096 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
5098 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
5103 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
5104 if test "x$LINE" != x
; then
5105 eval "DEFAULT_$LINE"
5110 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
5115 eval "$ac_cv_use_checkbox"
5116 if test "$no_cache" != 1; then
5117 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
5120 if test "$wxUSE_CHECKBOX" = yes; then
5121 echo "$ac_t""yes" 1>&6
5123 echo "$ac_t""no" 1>&6
5127 echo $ac_n "checking for --enable-checklst""... $ac_c" 1>&6
5128 echo "configure:5129: checking for --enable-checklst" >&5
5130 # Check whether --enable-checklst or --disable-checklst was given.
5131 if test "${enable_checklst+set}" = set; then
5132 enableval
="$enable_checklst"
5134 if test "$enableval" = yes; then
5135 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
5137 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
5142 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
5143 if test "x$LINE" != x
; then
5144 eval "DEFAULT_$LINE"
5149 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
5154 eval "$ac_cv_use_checklst"
5155 if test "$no_cache" != 1; then
5156 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
5159 if test "$wxUSE_CHECKLST" = yes; then
5160 echo "$ac_t""yes" 1>&6
5162 echo "$ac_t""no" 1>&6
5166 echo $ac_n "checking for --enable-choice""... $ac_c" 1>&6
5167 echo "configure:5168: checking for --enable-choice" >&5
5169 # Check whether --enable-choice or --disable-choice was given.
5170 if test "${enable_choice+set}" = set; then
5171 enableval
="$enable_choice"
5173 if test "$enableval" = yes; then
5174 ac_cv_use_choice
='wxUSE_CHOICE=yes'
5176 ac_cv_use_choice
='wxUSE_CHOICE=no'
5181 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
5182 if test "x$LINE" != x
; then
5183 eval "DEFAULT_$LINE"
5188 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
5193 eval "$ac_cv_use_choice"
5194 if test "$no_cache" != 1; then
5195 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
5198 if test "$wxUSE_CHOICE" = yes; then
5199 echo "$ac_t""yes" 1>&6
5201 echo "$ac_t""no" 1>&6
5205 echo $ac_n "checking for --enable-combobox""... $ac_c" 1>&6
5206 echo "configure:5207: checking for --enable-combobox" >&5
5208 # Check whether --enable-combobox or --disable-combobox was given.
5209 if test "${enable_combobox+set}" = set; then
5210 enableval
="$enable_combobox"
5212 if test "$enableval" = yes; then
5213 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
5215 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
5220 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
5221 if test "x$LINE" != x
; then
5222 eval "DEFAULT_$LINE"
5227 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
5232 eval "$ac_cv_use_combobox"
5233 if test "$no_cache" != 1; then
5234 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
5237 if test "$wxUSE_COMBOBOX" = yes; then
5238 echo "$ac_t""yes" 1>&6
5240 echo "$ac_t""no" 1>&6
5244 echo $ac_n "checking for --enable-gauge""... $ac_c" 1>&6
5245 echo "configure:5246: checking for --enable-gauge" >&5
5247 # Check whether --enable-gauge or --disable-gauge was given.
5248 if test "${enable_gauge+set}" = set; then
5249 enableval
="$enable_gauge"
5251 if test "$enableval" = yes; then
5252 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
5254 ac_cv_use_gauge
='wxUSE_GAUGE=no'
5259 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
5260 if test "x$LINE" != x
; then
5261 eval "DEFAULT_$LINE"
5266 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
5271 eval "$ac_cv_use_gauge"
5272 if test "$no_cache" != 1; then
5273 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
5276 if test "$wxUSE_GAUGE" = yes; then
5277 echo "$ac_t""yes" 1>&6
5279 echo "$ac_t""no" 1>&6
5283 echo $ac_n "checking for --enable-grid""... $ac_c" 1>&6
5284 echo "configure:5285: checking for --enable-grid" >&5
5286 # Check whether --enable-grid or --disable-grid was given.
5287 if test "${enable_grid+set}" = set; then
5288 enableval
="$enable_grid"
5290 if test "$enableval" = yes; then
5291 ac_cv_use_grid
='wxUSE_GRID=yes'
5293 ac_cv_use_grid
='wxUSE_GRID=no'
5298 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
5299 if test "x$LINE" != x
; then
5300 eval "DEFAULT_$LINE"
5305 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
5310 eval "$ac_cv_use_grid"
5311 if test "$no_cache" != 1; then
5312 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
5315 if test "$wxUSE_GRID" = yes; then
5316 echo "$ac_t""yes" 1>&6
5318 echo "$ac_t""no" 1>&6
5322 echo $ac_n "checking for --enable-newgrid""... $ac_c" 1>&6
5323 echo "configure:5324: checking for --enable-newgrid" >&5
5325 # Check whether --enable-newgrid or --disable-newgrid was given.
5326 if test "${enable_newgrid+set}" = set; then
5327 enableval
="$enable_newgrid"
5329 if test "$enableval" = yes; then
5330 ac_cv_use_newgrid
='wxUSE_NEW_GRID=yes'
5332 ac_cv_use_newgrid
='wxUSE_NEW_GRID=no'
5337 LINE
=`grep "wxUSE_NEW_GRID" ${wx_arg_cache_file}`
5338 if test "x$LINE" != x
; then
5339 eval "DEFAULT_$LINE"
5344 ac_cv_use_newgrid
='wxUSE_NEW_GRID='$DEFAULT_wxUSE_NEW_GRID
5349 eval "$ac_cv_use_newgrid"
5350 if test "$no_cache" != 1; then
5351 echo $ac_cv_use_newgrid >> ${wx_arg_cache_file}.tmp
5354 if test "$wxUSE_NEW_GRID" = yes; then
5355 echo "$ac_t""yes" 1>&6
5357 echo "$ac_t""no" 1>&6
5361 echo $ac_n "checking for --enable-imaglist""... $ac_c" 1>&6
5362 echo "configure:5363: checking for --enable-imaglist" >&5
5364 # Check whether --enable-imaglist or --disable-imaglist was given.
5365 if test "${enable_imaglist+set}" = set; then
5366 enableval
="$enable_imaglist"
5368 if test "$enableval" = yes; then
5369 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
5371 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
5376 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
5377 if test "x$LINE" != x
; then
5378 eval "DEFAULT_$LINE"
5383 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
5388 eval "$ac_cv_use_imaglist"
5389 if test "$no_cache" != 1; then
5390 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
5393 if test "$wxUSE_IMAGLIST" = yes; then
5394 echo "$ac_t""yes" 1>&6
5396 echo "$ac_t""no" 1>&6
5400 echo $ac_n "checking for --enable-listbox""... $ac_c" 1>&6
5401 echo "configure:5402: checking for --enable-listbox" >&5
5403 # Check whether --enable-listbox or --disable-listbox was given.
5404 if test "${enable_listbox+set}" = set; then
5405 enableval
="$enable_listbox"
5407 if test "$enableval" = yes; then
5408 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
5410 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
5415 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
5416 if test "x$LINE" != x
; then
5417 eval "DEFAULT_$LINE"
5422 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
5427 eval "$ac_cv_use_listbox"
5428 if test "$no_cache" != 1; then
5429 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
5432 if test "$wxUSE_LISTBOX" = yes; then
5433 echo "$ac_t""yes" 1>&6
5435 echo "$ac_t""no" 1>&6
5439 echo $ac_n "checking for --enable-listctrl""... $ac_c" 1>&6
5440 echo "configure:5441: checking for --enable-listctrl" >&5
5442 # Check whether --enable-listctrl or --disable-listctrl was given.
5443 if test "${enable_listctrl+set}" = set; then
5444 enableval
="$enable_listctrl"
5446 if test "$enableval" = yes; then
5447 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
5449 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
5454 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
5455 if test "x$LINE" != x
; then
5456 eval "DEFAULT_$LINE"
5461 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
5466 eval "$ac_cv_use_listctrl"
5467 if test "$no_cache" != 1; then
5468 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
5471 if test "$wxUSE_LISTCTRL" = yes; then
5472 echo "$ac_t""yes" 1>&6
5474 echo "$ac_t""no" 1>&6
5478 echo $ac_n "checking for --enable-notebook""... $ac_c" 1>&6
5479 echo "configure:5480: checking for --enable-notebook" >&5
5481 # Check whether --enable-notebook or --disable-notebook was given.
5482 if test "${enable_notebook+set}" = set; then
5483 enableval
="$enable_notebook"
5485 if test "$enableval" = yes; then
5486 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
5488 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
5493 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
5494 if test "x$LINE" != x
; then
5495 eval "DEFAULT_$LINE"
5500 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
5505 eval "$ac_cv_use_notebook"
5506 if test "$no_cache" != 1; then
5507 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
5510 if test "$wxUSE_NOTEBOOK" = yes; then
5511 echo "$ac_t""yes" 1>&6
5513 echo "$ac_t""no" 1>&6
5517 echo $ac_n "checking for --enable-radiobox""... $ac_c" 1>&6
5518 echo "configure:5519: checking for --enable-radiobox" >&5
5520 # Check whether --enable-radiobox or --disable-radiobox was given.
5521 if test "${enable_radiobox+set}" = set; then
5522 enableval
="$enable_radiobox"
5524 if test "$enableval" = yes; then
5525 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
5527 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
5532 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
5533 if test "x$LINE" != x
; then
5534 eval "DEFAULT_$LINE"
5539 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
5544 eval "$ac_cv_use_radiobox"
5545 if test "$no_cache" != 1; then
5546 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
5549 if test "$wxUSE_RADIOBOX" = yes; then
5550 echo "$ac_t""yes" 1>&6
5552 echo "$ac_t""no" 1>&6
5556 echo $ac_n "checking for --enable-radiobtn""... $ac_c" 1>&6
5557 echo "configure:5558: checking for --enable-radiobtn" >&5
5559 # Check whether --enable-radiobtn or --disable-radiobtn was given.
5560 if test "${enable_radiobtn+set}" = set; then
5561 enableval
="$enable_radiobtn"
5563 if test "$enableval" = yes; then
5564 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
5566 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
5571 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
5572 if test "x$LINE" != x
; then
5573 eval "DEFAULT_$LINE"
5578 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
5583 eval "$ac_cv_use_radiobtn"
5584 if test "$no_cache" != 1; then
5585 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
5588 if test "$wxUSE_RADIOBTN" = yes; then
5589 echo "$ac_t""yes" 1>&6
5591 echo "$ac_t""no" 1>&6
5595 echo $ac_n "checking for --enable-sash""... $ac_c" 1>&6
5596 echo "configure:5597: checking for --enable-sash" >&5
5598 # Check whether --enable-sash or --disable-sash was given.
5599 if test "${enable_sash+set}" = set; then
5600 enableval
="$enable_sash"
5602 if test "$enableval" = yes; then
5603 ac_cv_use_sash
='wxUSE_SASH=yes'
5605 ac_cv_use_sash
='wxUSE_SASH=no'
5610 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
5611 if test "x$LINE" != x
; then
5612 eval "DEFAULT_$LINE"
5617 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
5622 eval "$ac_cv_use_sash"
5623 if test "$no_cache" != 1; then
5624 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
5627 if test "$wxUSE_SASH" = yes; then
5628 echo "$ac_t""yes" 1>&6
5630 echo "$ac_t""no" 1>&6
5634 echo $ac_n "checking for --enable-scrollbar""... $ac_c" 1>&6
5635 echo "configure:5636: checking for --enable-scrollbar" >&5
5637 # Check whether --enable-scrollbar or --disable-scrollbar was given.
5638 if test "${enable_scrollbar+set}" = set; then
5639 enableval
="$enable_scrollbar"
5641 if test "$enableval" = yes; then
5642 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
5644 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
5649 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
5650 if test "x$LINE" != x
; then
5651 eval "DEFAULT_$LINE"
5656 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
5661 eval "$ac_cv_use_scrollbar"
5662 if test "$no_cache" != 1; then
5663 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
5666 if test "$wxUSE_SCROLLBAR" = yes; then
5667 echo "$ac_t""yes" 1>&6
5669 echo "$ac_t""no" 1>&6
5673 echo $ac_n "checking for --enable-slider""... $ac_c" 1>&6
5674 echo "configure:5675: checking for --enable-slider" >&5
5676 # Check whether --enable-slider or --disable-slider was given.
5677 if test "${enable_slider+set}" = set; then
5678 enableval
="$enable_slider"
5680 if test "$enableval" = yes; then
5681 ac_cv_use_slider
='wxUSE_SLIDER=yes'
5683 ac_cv_use_slider
='wxUSE_SLIDER=no'
5688 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
5689 if test "x$LINE" != x
; then
5690 eval "DEFAULT_$LINE"
5695 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
5700 eval "$ac_cv_use_slider"
5701 if test "$no_cache" != 1; then
5702 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
5705 if test "$wxUSE_SLIDER" = yes; then
5706 echo "$ac_t""yes" 1>&6
5708 echo "$ac_t""no" 1>&6
5712 echo $ac_n "checking for --enable-spinbtn""... $ac_c" 1>&6
5713 echo "configure:5714: checking for --enable-spinbtn" >&5
5715 # Check whether --enable-spinbtn or --disable-spinbtn was given.
5716 if test "${enable_spinbtn+set}" = set; then
5717 enableval
="$enable_spinbtn"
5719 if test "$enableval" = yes; then
5720 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
5722 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
5727 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
5728 if test "x$LINE" != x
; then
5729 eval "DEFAULT_$LINE"
5734 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
5739 eval "$ac_cv_use_spinbtn"
5740 if test "$no_cache" != 1; then
5741 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
5744 if test "$wxUSE_SPINBTN" = yes; then
5745 echo "$ac_t""yes" 1>&6
5747 echo "$ac_t""no" 1>&6
5751 echo $ac_n "checking for --enable-spinctrl""... $ac_c" 1>&6
5752 echo "configure:5753: checking for --enable-spinctrl" >&5
5754 # Check whether --enable-spinctrl or --disable-spinctrl was given.
5755 if test "${enable_spinctrl+set}" = set; then
5756 enableval
="$enable_spinctrl"
5758 if test "$enableval" = yes; then
5759 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
5761 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
5766 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
5767 if test "x$LINE" != x
; then
5768 eval "DEFAULT_$LINE"
5773 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
5778 eval "$ac_cv_use_spinctrl"
5779 if test "$no_cache" != 1; then
5780 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
5783 if test "$wxUSE_SPINCTRL" = yes; then
5784 echo "$ac_t""yes" 1>&6
5786 echo "$ac_t""no" 1>&6
5790 echo $ac_n "checking for --enable-splitter""... $ac_c" 1>&6
5791 echo "configure:5792: checking for --enable-splitter" >&5
5793 # Check whether --enable-splitter or --disable-splitter was given.
5794 if test "${enable_splitter+set}" = set; then
5795 enableval
="$enable_splitter"
5797 if test "$enableval" = yes; then
5798 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
5800 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
5805 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
5806 if test "x$LINE" != x
; then
5807 eval "DEFAULT_$LINE"
5812 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
5817 eval "$ac_cv_use_splitter"
5818 if test "$no_cache" != 1; then
5819 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
5822 if test "$wxUSE_SPLITTER" = yes; then
5823 echo "$ac_t""yes" 1>&6
5825 echo "$ac_t""no" 1>&6
5829 echo $ac_n "checking for --enable-statbmp""... $ac_c" 1>&6
5830 echo "configure:5831: checking for --enable-statbmp" >&5
5832 # Check whether --enable-statbmp or --disable-statbmp was given.
5833 if test "${enable_statbmp+set}" = set; then
5834 enableval
="$enable_statbmp"
5836 if test "$enableval" = yes; then
5837 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
5839 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
5844 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
5845 if test "x$LINE" != x
; then
5846 eval "DEFAULT_$LINE"
5851 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
5856 eval "$ac_cv_use_statbmp"
5857 if test "$no_cache" != 1; then
5858 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
5861 if test "$wxUSE_STATBMP" = yes; then
5862 echo "$ac_t""yes" 1>&6
5864 echo "$ac_t""no" 1>&6
5868 echo $ac_n "checking for --enable-statbox""... $ac_c" 1>&6
5869 echo "configure:5870: checking for --enable-statbox" >&5
5871 # Check whether --enable-statbox or --disable-statbox was given.
5872 if test "${enable_statbox+set}" = set; then
5873 enableval
="$enable_statbox"
5875 if test "$enableval" = yes; then
5876 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
5878 ac_cv_use_statbox
='wxUSE_STATBOX=no'
5883 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
5884 if test "x$LINE" != x
; then
5885 eval "DEFAULT_$LINE"
5890 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
5895 eval "$ac_cv_use_statbox"
5896 if test "$no_cache" != 1; then
5897 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
5900 if test "$wxUSE_STATBOX" = yes; then
5901 echo "$ac_t""yes" 1>&6
5903 echo "$ac_t""no" 1>&6
5907 echo $ac_n "checking for --enable-statline""... $ac_c" 1>&6
5908 echo "configure:5909: checking for --enable-statline" >&5
5910 # Check whether --enable-statline or --disable-statline was given.
5911 if test "${enable_statline+set}" = set; then
5912 enableval
="$enable_statline"
5914 if test "$enableval" = yes; then
5915 ac_cv_use_statline
='wxUSE_STATLINE=yes'
5917 ac_cv_use_statline
='wxUSE_STATLINE=no'
5922 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
5923 if test "x$LINE" != x
; then
5924 eval "DEFAULT_$LINE"
5929 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
5934 eval "$ac_cv_use_statline"
5935 if test "$no_cache" != 1; then
5936 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
5939 if test "$wxUSE_STATLINE" = yes; then
5940 echo "$ac_t""yes" 1>&6
5942 echo "$ac_t""no" 1>&6
5946 echo $ac_n "checking for --enable-stattext""... $ac_c" 1>&6
5947 echo "configure:5948: checking for --enable-stattext" >&5
5949 # Check whether --enable-stattext or --disable-stattext was given.
5950 if test "${enable_stattext+set}" = set; then
5951 enableval
="$enable_stattext"
5953 if test "$enableval" = yes; then
5954 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
5956 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
5961 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
5962 if test "x$LINE" != x
; then
5963 eval "DEFAULT_$LINE"
5968 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
5973 eval "$ac_cv_use_stattext"
5974 if test "$no_cache" != 1; then
5975 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
5978 if test "$wxUSE_STATTEXT" = yes; then
5979 echo "$ac_t""yes" 1>&6
5981 echo "$ac_t""no" 1>&6
5985 echo $ac_n "checking for --enable-statusbar""... $ac_c" 1>&6
5986 echo "configure:5987: checking for --enable-statusbar" >&5
5988 # Check whether --enable-statusbar or --disable-statusbar was given.
5989 if test "${enable_statusbar+set}" = set; then
5990 enableval
="$enable_statusbar"
5992 if test "$enableval" = yes; then
5993 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
5995 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
6000 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
6001 if test "x$LINE" != x
; then
6002 eval "DEFAULT_$LINE"
6007 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
6012 eval "$ac_cv_use_statusbar"
6013 if test "$no_cache" != 1; then
6014 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
6017 if test "$wxUSE_STATUSBAR" = yes; then
6018 echo "$ac_t""yes" 1>&6
6020 echo "$ac_t""no" 1>&6
6024 echo $ac_n "checking for --enable-tabdialog""... $ac_c" 1>&6
6025 echo "configure:6026: checking for --enable-tabdialog" >&5
6027 # Check whether --enable-tabdialog or --disable-tabdialog was given.
6028 if test "${enable_tabdialog+set}" = set; then
6029 enableval
="$enable_tabdialog"
6031 if test "$enableval" = yes; then
6032 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
6034 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
6039 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
6040 if test "x$LINE" != x
; then
6041 eval "DEFAULT_$LINE"
6046 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
6051 eval "$ac_cv_use_tabdialog"
6052 if test "$no_cache" != 1; then
6053 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
6056 if test "$wxUSE_TABDIALOG" = yes; then
6057 echo "$ac_t""yes" 1>&6
6059 echo "$ac_t""no" 1>&6
6063 echo $ac_n "checking for --enable-textctrl""... $ac_c" 1>&6
6064 echo "configure:6065: checking for --enable-textctrl" >&5
6066 # Check whether --enable-textctrl or --disable-textctrl was given.
6067 if test "${enable_textctrl+set}" = set; then
6068 enableval
="$enable_textctrl"
6070 if test "$enableval" = yes; then
6071 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
6073 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
6078 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
6079 if test "x$LINE" != x
; then
6080 eval "DEFAULT_$LINE"
6085 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
6090 eval "$ac_cv_use_textctrl"
6091 if test "$no_cache" != 1; then
6092 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
6095 if test "$wxUSE_TEXTCTRL" = yes; then
6096 echo "$ac_t""yes" 1>&6
6098 echo "$ac_t""no" 1>&6
6102 echo $ac_n "checking for --enable-togglebtn""... $ac_c" 1>&6
6103 echo "configure:6104: checking for --enable-togglebtn" >&5
6105 # Check whether --enable-togglebtn or --disable-togglebtn was given.
6106 if test "${enable_togglebtn+set}" = set; then
6107 enableval
="$enable_togglebtn"
6109 if test "$enableval" = yes; then
6110 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
6112 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
6117 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
6118 if test "x$LINE" != x
; then
6119 eval "DEFAULT_$LINE"
6124 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
6129 eval "$ac_cv_use_togglebtn"
6130 if test "$no_cache" != 1; then
6131 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
6134 if test "$wxUSE_TOGGLEBTN" = yes; then
6135 echo "$ac_t""yes" 1>&6
6137 echo "$ac_t""no" 1>&6
6141 echo $ac_n "checking for --enable-toolbar""... $ac_c" 1>&6
6142 echo "configure:6143: checking for --enable-toolbar" >&5
6144 # Check whether --enable-toolbar or --disable-toolbar was given.
6145 if test "${enable_toolbar+set}" = set; then
6146 enableval
="$enable_toolbar"
6148 if test "$enableval" = yes; then
6149 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
6151 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
6156 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
6157 if test "x$LINE" != x
; then
6158 eval "DEFAULT_$LINE"
6163 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
6168 eval "$ac_cv_use_toolbar"
6169 if test "$no_cache" != 1; then
6170 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
6173 if test "$wxUSE_TOOLBAR" = yes; then
6174 echo "$ac_t""yes" 1>&6
6176 echo "$ac_t""no" 1>&6
6180 echo $ac_n "checking for --enable-tbarnative""... $ac_c" 1>&6
6181 echo "configure:6182: checking for --enable-tbarnative" >&5
6183 # Check whether --enable-tbarnative or --disable-tbarnative was given.
6184 if test "${enable_tbarnative+set}" = set; then
6185 enableval
="$enable_tbarnative"
6187 if test "$enableval" = yes; then
6188 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
6190 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
6195 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
6196 if test "x$LINE" != x
; then
6197 eval "DEFAULT_$LINE"
6202 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
6207 eval "$ac_cv_use_tbarnative"
6208 if test "$no_cache" != 1; then
6209 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
6212 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
6213 echo "$ac_t""yes" 1>&6
6215 echo "$ac_t""no" 1>&6
6219 echo $ac_n "checking for --enable-tbarsmpl""... $ac_c" 1>&6
6220 echo "configure:6221: checking for --enable-tbarsmpl" >&5
6222 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
6223 if test "${enable_tbarsmpl+set}" = set; then
6224 enableval
="$enable_tbarsmpl"
6226 if test "$enableval" = yes; then
6227 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
6229 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
6234 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
6235 if test "x$LINE" != x
; then
6236 eval "DEFAULT_$LINE"
6241 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
6246 eval "$ac_cv_use_tbarsmpl"
6247 if test "$no_cache" != 1; then
6248 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
6251 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
6252 echo "$ac_t""yes" 1>&6
6254 echo "$ac_t""no" 1>&6
6258 echo $ac_n "checking for --enable-treectrl""... $ac_c" 1>&6
6259 echo "configure:6260: checking for --enable-treectrl" >&5
6261 # Check whether --enable-treectrl or --disable-treectrl was given.
6262 if test "${enable_treectrl+set}" = set; then
6263 enableval
="$enable_treectrl"
6265 if test "$enableval" = yes; then
6266 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
6268 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
6273 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
6274 if test "x$LINE" != x
; then
6275 eval "DEFAULT_$LINE"
6280 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
6285 eval "$ac_cv_use_treectrl"
6286 if test "$no_cache" != 1; then
6287 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
6290 if test "$wxUSE_TREECTRL" = yes; then
6291 echo "$ac_t""yes" 1>&6
6293 echo "$ac_t""no" 1>&6
6299 echo $ac_n "checking for --enable-commondlg""... $ac_c" 1>&6
6300 echo "configure:6301: checking for --enable-commondlg" >&5
6302 # Check whether --enable-commondlg or --disable-commondlg was given.
6303 if test "${enable_commondlg+set}" = set; then
6304 enableval
="$enable_commondlg"
6306 if test "$enableval" = yes; then
6307 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
6309 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
6314 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
6315 if test "x$LINE" != x
; then
6316 eval "DEFAULT_$LINE"
6321 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
6326 eval "$ac_cv_use_commondlg"
6327 if test "$no_cache" != 1; then
6328 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
6331 if test "$wxUSE_COMMONDLGS" = yes; then
6332 echo "$ac_t""yes" 1>&6
6334 echo "$ac_t""no" 1>&6
6338 echo $ac_n "checking for --enable-choicedlg""... $ac_c" 1>&6
6339 echo "configure:6340: checking for --enable-choicedlg" >&5
6341 # Check whether --enable-choicedlg or --disable-choicedlg was given.
6342 if test "${enable_choicedlg+set}" = set; then
6343 enableval
="$enable_choicedlg"
6345 if test "$enableval" = yes; then
6346 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
6348 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
6353 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
6354 if test "x$LINE" != x
; then
6355 eval "DEFAULT_$LINE"
6360 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
6365 eval "$ac_cv_use_choicedlg"
6366 if test "$no_cache" != 1; then
6367 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
6370 if test "$wxUSE_CHOICEDLG" = yes; then
6371 echo "$ac_t""yes" 1>&6
6373 echo "$ac_t""no" 1>&6
6377 echo $ac_n "checking for --enable-coldlg""... $ac_c" 1>&6
6378 echo "configure:6379: checking for --enable-coldlg" >&5
6380 # Check whether --enable-coldlg or --disable-coldlg was given.
6381 if test "${enable_coldlg+set}" = set; then
6382 enableval
="$enable_coldlg"
6384 if test "$enableval" = yes; then
6385 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
6387 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
6392 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
6393 if test "x$LINE" != x
; then
6394 eval "DEFAULT_$LINE"
6399 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
6404 eval "$ac_cv_use_coldlg"
6405 if test "$no_cache" != 1; then
6406 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
6409 if test "$wxUSE_COLOURDLG" = yes; then
6410 echo "$ac_t""yes" 1>&6
6412 echo "$ac_t""no" 1>&6
6416 echo $ac_n "checking for --enable-filedlg""... $ac_c" 1>&6
6417 echo "configure:6418: checking for --enable-filedlg" >&5
6419 # Check whether --enable-filedlg or --disable-filedlg was given.
6420 if test "${enable_filedlg+set}" = set; then
6421 enableval
="$enable_filedlg"
6423 if test "$enableval" = yes; then
6424 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
6426 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
6431 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
6432 if test "x$LINE" != x
; then
6433 eval "DEFAULT_$LINE"
6438 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
6443 eval "$ac_cv_use_filedlg"
6444 if test "$no_cache" != 1; then
6445 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
6448 if test "$wxUSE_FILEDLG" = yes; then
6449 echo "$ac_t""yes" 1>&6
6451 echo "$ac_t""no" 1>&6
6455 echo $ac_n "checking for --enable-fontdlg""... $ac_c" 1>&6
6456 echo "configure:6457: checking for --enable-fontdlg" >&5
6458 # Check whether --enable-fontdlg or --disable-fontdlg was given.
6459 if test "${enable_fontdlg+set}" = set; then
6460 enableval
="$enable_fontdlg"
6462 if test "$enableval" = yes; then
6463 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
6465 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
6470 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
6471 if test "x$LINE" != x
; then
6472 eval "DEFAULT_$LINE"
6477 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
6482 eval "$ac_cv_use_fontdlg"
6483 if test "$no_cache" != 1; then
6484 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
6487 if test "$wxUSE_FONTDLG" = yes; then
6488 echo "$ac_t""yes" 1>&6
6490 echo "$ac_t""no" 1>&6
6494 echo $ac_n "checking for --enable-dirdlg""... $ac_c" 1>&6
6495 echo "configure:6496: checking for --enable-dirdlg" >&5
6497 # Check whether --enable-dirdlg or --disable-dirdlg was given.
6498 if test "${enable_dirdlg+set}" = set; then
6499 enableval
="$enable_dirdlg"
6501 if test "$enableval" = yes; then
6502 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
6504 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
6509 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
6510 if test "x$LINE" != x
; then
6511 eval "DEFAULT_$LINE"
6516 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
6521 eval "$ac_cv_use_dirdlg"
6522 if test "$no_cache" != 1; then
6523 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
6526 if test "$wxUSE_DIRDLG" = yes; then
6527 echo "$ac_t""yes" 1>&6
6529 echo "$ac_t""no" 1>&6
6533 echo $ac_n "checking for --enable-msgdlg""... $ac_c" 1>&6
6534 echo "configure:6535: checking for --enable-msgdlg" >&5
6536 # Check whether --enable-msgdlg or --disable-msgdlg was given.
6537 if test "${enable_msgdlg+set}" = set; then
6538 enableval
="$enable_msgdlg"
6540 if test "$enableval" = yes; then
6541 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
6543 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
6548 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
6549 if test "x$LINE" != x
; then
6550 eval "DEFAULT_$LINE"
6555 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
6560 eval "$ac_cv_use_msgdlg"
6561 if test "$no_cache" != 1; then
6562 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
6565 if test "$wxUSE_MSGDLG" = yes; then
6566 echo "$ac_t""yes" 1>&6
6568 echo "$ac_t""no" 1>&6
6572 echo $ac_n "checking for --enable-numberdlg""... $ac_c" 1>&6
6573 echo "configure:6574: checking for --enable-numberdlg" >&5
6575 # Check whether --enable-numberdlg or --disable-numberdlg was given.
6576 if test "${enable_numberdlg+set}" = set; then
6577 enableval
="$enable_numberdlg"
6579 if test "$enableval" = yes; then
6580 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
6582 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
6587 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
6588 if test "x$LINE" != x
; then
6589 eval "DEFAULT_$LINE"
6594 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
6599 eval "$ac_cv_use_numberdlg"
6600 if test "$no_cache" != 1; then
6601 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
6604 if test "$wxUSE_NUMBERDLG" = yes; then
6605 echo "$ac_t""yes" 1>&6
6607 echo "$ac_t""no" 1>&6
6611 echo $ac_n "checking for --enable-textdlg""... $ac_c" 1>&6
6612 echo "configure:6613: checking for --enable-textdlg" >&5
6614 # Check whether --enable-textdlg or --disable-textdlg was given.
6615 if test "${enable_textdlg+set}" = set; then
6616 enableval
="$enable_textdlg"
6618 if test "$enableval" = yes; then
6619 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
6621 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
6626 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
6627 if test "x$LINE" != x
; then
6628 eval "DEFAULT_$LINE"
6633 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
6638 eval "$ac_cv_use_textdlg"
6639 if test "$no_cache" != 1; then
6640 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
6643 if test "$wxUSE_TEXTDLG" = yes; then
6644 echo "$ac_t""yes" 1>&6
6646 echo "$ac_t""no" 1>&6
6650 echo $ac_n "checking for --enable-tipdlg""... $ac_c" 1>&6
6651 echo "configure:6652: checking for --enable-tipdlg" >&5
6653 # Check whether --enable-tipdlg or --disable-tipdlg was given.
6654 if test "${enable_tipdlg+set}" = set; then
6655 enableval
="$enable_tipdlg"
6657 if test "$enableval" = yes; then
6658 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
6660 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
6665 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
6666 if test "x$LINE" != x
; then
6667 eval "DEFAULT_$LINE"
6672 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
6677 eval "$ac_cv_use_tipdlg"
6678 if test "$no_cache" != 1; then
6679 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
6682 if test "$wxUSE_STARTUP_TIPS" = yes; then
6683 echo "$ac_t""yes" 1>&6
6685 echo "$ac_t""no" 1>&6
6689 echo $ac_n "checking for --enable-progressdlg""... $ac_c" 1>&6
6690 echo "configure:6691: checking for --enable-progressdlg" >&5
6692 # Check whether --enable-progressdlg or --disable-progressdlg was given.
6693 if test "${enable_progressdlg+set}" = set; then
6694 enableval
="$enable_progressdlg"
6696 if test "$enableval" = yes; then
6697 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
6699 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
6704 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
6705 if test "x$LINE" != x
; then
6706 eval "DEFAULT_$LINE"
6711 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
6716 eval "$ac_cv_use_progressdlg"
6717 if test "$no_cache" != 1; then
6718 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
6721 if test "$wxUSE_PROGRESSDLG" = yes; then
6722 echo "$ac_t""yes" 1>&6
6724 echo "$ac_t""no" 1>&6
6728 echo $ac_n "checking for --enable-menus""... $ac_c" 1>&6
6729 echo "configure:6730: checking for --enable-menus" >&5
6731 # Check whether --enable-menus or --disable-menus was given.
6732 if test "${enable_menus+set}" = set; then
6733 enableval
="$enable_menus"
6735 if test "$enableval" = yes; then
6736 ac_cv_use_menus
='wxUSE_MENUS=yes'
6738 ac_cv_use_menus
='wxUSE_MENUS=no'
6743 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
6744 if test "x$LINE" != x
; then
6745 eval "DEFAULT_$LINE"
6750 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
6755 eval "$ac_cv_use_menus"
6756 if test "$no_cache" != 1; then
6757 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
6760 if test "$wxUSE_MENUS" = yes; then
6761 echo "$ac_t""yes" 1>&6
6763 echo "$ac_t""no" 1>&6
6767 echo $ac_n "checking for --enable-miniframe""... $ac_c" 1>&6
6768 echo "configure:6769: checking for --enable-miniframe" >&5
6770 # Check whether --enable-miniframe or --disable-miniframe was given.
6771 if test "${enable_miniframe+set}" = set; then
6772 enableval
="$enable_miniframe"
6774 if test "$enableval" = yes; then
6775 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
6777 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
6782 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
6783 if test "x$LINE" != x
; then
6784 eval "DEFAULT_$LINE"
6789 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
6794 eval "$ac_cv_use_miniframe"
6795 if test "$no_cache" != 1; then
6796 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
6799 if test "$wxUSE_MINIFRAME" = yes; then
6800 echo "$ac_t""yes" 1>&6
6802 echo "$ac_t""no" 1>&6
6806 echo $ac_n "checking for --enable-html""... $ac_c" 1>&6
6807 echo "configure:6808: checking for --enable-html" >&5
6809 # Check whether --enable-html or --disable-html was given.
6810 if test "${enable_html+set}" = set; then
6811 enableval
="$enable_html"
6813 if test "$enableval" = yes; then
6814 ac_cv_use_html
='wxUSE_HTML=yes'
6816 ac_cv_use_html
='wxUSE_HTML=no'
6821 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6822 if test "x$LINE" != x
; then
6823 eval "DEFAULT_$LINE"
6828 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6833 eval "$ac_cv_use_html"
6834 if test "$no_cache" != 1; then
6835 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6838 if test "$wxUSE_HTML" = yes; then
6839 echo "$ac_t""yes" 1>&6
6841 echo "$ac_t""no" 1>&6
6845 echo $ac_n "checking for --enable-tooltips""... $ac_c" 1>&6
6846 echo "configure:6847: checking for --enable-tooltips" >&5
6848 # Check whether --enable-tooltips or --disable-tooltips was given.
6849 if test "${enable_tooltips+set}" = set; then
6850 enableval
="$enable_tooltips"
6852 if test "$enableval" = yes; then
6853 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
6855 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
6860 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
6861 if test "x$LINE" != x
; then
6862 eval "DEFAULT_$LINE"
6867 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
6872 eval "$ac_cv_use_tooltips"
6873 if test "$no_cache" != 1; then
6874 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
6877 if test "$wxUSE_TOOLTIPS" = yes; then
6878 echo "$ac_t""yes" 1>&6
6880 echo "$ac_t""no" 1>&6
6884 echo $ac_n "checking for --enable-splines""... $ac_c" 1>&6
6885 echo "configure:6886: checking for --enable-splines" >&5
6887 # Check whether --enable-splines or --disable-splines was given.
6888 if test "${enable_splines+set}" = set; then
6889 enableval
="$enable_splines"
6891 if test "$enableval" = yes; then
6892 ac_cv_use_splines
='wxUSE_SPLINES=yes'
6894 ac_cv_use_splines
='wxUSE_SPLINES=no'
6899 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
6900 if test "x$LINE" != x
; then
6901 eval "DEFAULT_$LINE"
6906 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
6911 eval "$ac_cv_use_splines"
6912 if test "$no_cache" != 1; then
6913 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
6916 if test "$wxUSE_SPLINES" = yes; then
6917 echo "$ac_t""yes" 1>&6
6919 echo "$ac_t""no" 1>&6
6923 echo $ac_n "checking for --enable-validators""... $ac_c" 1>&6
6924 echo "configure:6925: checking for --enable-validators" >&5
6926 # Check whether --enable-validators or --disable-validators was given.
6927 if test "${enable_validators+set}" = set; then
6928 enableval
="$enable_validators"
6930 if test "$enableval" = yes; then
6931 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
6933 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
6938 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
6939 if test "x$LINE" != x
; then
6940 eval "DEFAULT_$LINE"
6945 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
6950 eval "$ac_cv_use_validators"
6951 if test "$no_cache" != 1; then
6952 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
6955 if test "$wxUSE_VALIDATORS" = yes; then
6956 echo "$ac_t""yes" 1>&6
6958 echo "$ac_t""no" 1>&6
6962 echo $ac_n "checking for --enable-busyinfo""... $ac_c" 1>&6
6963 echo "configure:6964: checking for --enable-busyinfo" >&5
6965 # Check whether --enable-busyinfo or --disable-busyinfo was given.
6966 if test "${enable_busyinfo+set}" = set; then
6967 enableval
="$enable_busyinfo"
6969 if test "$enableval" = yes; then
6970 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
6972 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
6977 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
6978 if test "x$LINE" != x
; then
6979 eval "DEFAULT_$LINE"
6984 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
6989 eval "$ac_cv_use_busyinfo"
6990 if test "$no_cache" != 1; then
6991 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
6994 if test "$wxUSE_BUSYINFO" = yes; then
6995 echo "$ac_t""yes" 1>&6
6997 echo "$ac_t""no" 1>&6
7001 echo $ac_n "checking for --enable-joystick""... $ac_c" 1>&6
7002 echo "configure:7003: checking for --enable-joystick" >&5
7004 # Check whether --enable-joystick or --disable-joystick was given.
7005 if test "${enable_joystick+set}" = set; then
7006 enableval
="$enable_joystick"
7008 if test "$enableval" = yes; then
7009 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
7011 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
7016 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
7017 if test "x$LINE" != x
; then
7018 eval "DEFAULT_$LINE"
7023 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
7028 eval "$ac_cv_use_joystick"
7029 if test "$no_cache" != 1; then
7030 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
7033 if test "$wxUSE_JOYSTICK" = yes; then
7034 echo "$ac_t""yes" 1>&6
7036 echo "$ac_t""no" 1>&6
7040 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
7041 echo "configure:7042: checking for --enable-metafile" >&5
7043 # Check whether --enable-metafile or --disable-metafile was given.
7044 if test "${enable_metafile+set}" = set; then
7045 enableval
="$enable_metafile"
7047 if test "$enableval" = yes; then
7048 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
7050 ac_cv_use_metafile
='wxUSE_METAFILE=no'
7055 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7056 if test "x$LINE" != x
; then
7057 eval "DEFAULT_$LINE"
7062 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7067 eval "$ac_cv_use_metafile"
7068 if test "$no_cache" != 1; then
7069 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7072 if test "$wxUSE_METAFILE" = yes; then
7073 echo "$ac_t""yes" 1>&6
7075 echo "$ac_t""no" 1>&6
7079 echo $ac_n "checking for --enable-dragimage""... $ac_c" 1>&6
7080 echo "configure:7081: checking for --enable-dragimage" >&5
7082 # Check whether --enable-dragimage or --disable-dragimage was given.
7083 if test "${enable_dragimage+set}" = set; then
7084 enableval
="$enable_dragimage"
7086 if test "$enableval" = yes; then
7087 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
7089 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
7094 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
7095 if test "x$LINE" != x
; then
7096 eval "DEFAULT_$LINE"
7101 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
7106 eval "$ac_cv_use_dragimage"
7107 if test "$no_cache" != 1; then
7108 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
7111 if test "$wxUSE_DRAGIMAGE" = yes; then
7112 echo "$ac_t""yes" 1>&6
7114 echo "$ac_t""no" 1>&6
7120 echo $ac_n "checking for --enable-image""... $ac_c" 1>&6
7121 echo "configure:7122: checking for --enable-image" >&5
7123 # Check whether --enable-image or --disable-image was given.
7124 if test "${enable_image+set}" = set; then
7125 enableval
="$enable_image"
7127 if test "$enableval" = yes; then
7128 ac_cv_use_image
='wxUSE_IMAGE=yes'
7130 ac_cv_use_image
='wxUSE_IMAGE=no'
7135 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
7136 if test "x$LINE" != x
; then
7137 eval "DEFAULT_$LINE"
7142 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
7147 eval "$ac_cv_use_image"
7148 if test "$no_cache" != 1; then
7149 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
7152 if test "$wxUSE_IMAGE" = yes; then
7153 echo "$ac_t""yes" 1>&6
7155 echo "$ac_t""no" 1>&6
7159 echo $ac_n "checking for --enable-gif""... $ac_c" 1>&6
7160 echo "configure:7161: checking for --enable-gif" >&5
7162 # Check whether --enable-gif or --disable-gif was given.
7163 if test "${enable_gif+set}" = set; then
7164 enableval
="$enable_gif"
7166 if test "$enableval" = yes; then
7167 ac_cv_use_gif
='wxUSE_GIF=yes'
7169 ac_cv_use_gif
='wxUSE_GIF=no'
7174 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
7175 if test "x$LINE" != x
; then
7176 eval "DEFAULT_$LINE"
7181 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
7186 eval "$ac_cv_use_gif"
7187 if test "$no_cache" != 1; then
7188 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
7191 if test "$wxUSE_GIF" = yes; then
7192 echo "$ac_t""yes" 1>&6
7194 echo "$ac_t""no" 1>&6
7198 echo $ac_n "checking for --enable-pcx""... $ac_c" 1>&6
7199 echo "configure:7200: checking for --enable-pcx" >&5
7201 # Check whether --enable-pcx or --disable-pcx was given.
7202 if test "${enable_pcx+set}" = set; then
7203 enableval
="$enable_pcx"
7205 if test "$enableval" = yes; then
7206 ac_cv_use_pcx
='wxUSE_PCX=yes'
7208 ac_cv_use_pcx
='wxUSE_PCX=no'
7213 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
7214 if test "x$LINE" != x
; then
7215 eval "DEFAULT_$LINE"
7220 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
7225 eval "$ac_cv_use_pcx"
7226 if test "$no_cache" != 1; then
7227 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
7230 if test "$wxUSE_PCX" = yes; then
7231 echo "$ac_t""yes" 1>&6
7233 echo "$ac_t""no" 1>&6
7237 echo $ac_n "checking for --enable-pnm""... $ac_c" 1>&6
7238 echo "configure:7239: checking for --enable-pnm" >&5
7240 # Check whether --enable-pnm or --disable-pnm was given.
7241 if test "${enable_pnm+set}" = set; then
7242 enableval
="$enable_pnm"
7244 if test "$enableval" = yes; then
7245 ac_cv_use_pnm
='wxUSE_PNM=yes'
7247 ac_cv_use_pnm
='wxUSE_PNM=no'
7252 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
7253 if test "x$LINE" != x
; then
7254 eval "DEFAULT_$LINE"
7259 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
7264 eval "$ac_cv_use_pnm"
7265 if test "$no_cache" != 1; then
7266 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
7269 if test "$wxUSE_PNM" = yes; then
7270 echo "$ac_t""yes" 1>&6
7272 echo "$ac_t""no" 1>&6
7276 echo $ac_n "checking for --enable-pnm""... $ac_c" 1>&6
7277 echo "configure:7278: checking for --enable-pnm" >&5
7279 # Check whether --enable-pnm or --disable-pnm was given.
7280 if test "${enable_pnm+set}" = set; then
7281 enableval
="$enable_pnm"
7283 if test "$enableval" = yes; then
7284 ac_cv_use_pnm
='wxUSE_XPM=yes'
7286 ac_cv_use_pnm
='wxUSE_XPM=no'
7291 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
7292 if test "x$LINE" != x
; then
7293 eval "DEFAULT_$LINE"
7298 ac_cv_use_pnm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
7303 eval "$ac_cv_use_pnm"
7304 if test "$no_cache" != 1; then
7305 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
7308 if test "$wxUSE_XPM" = yes; then
7309 echo "$ac_t""yes" 1>&6
7311 echo "$ac_t""no" 1>&6
7318 echo "saving argument cache $wx_arg_cache_file"
7319 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
7323 echo $ac_n "checking for toolkit""... $ac_c" 1>&6
7324 echo "configure:7325: checking for toolkit" >&5
7326 if test "$wxUSE_GUI" = "yes"; then
7328 if test "$USE_BEOS" = 1; then
7329 { echo "configure: error: BeOS GUI is not supported yet, use --disable-gui" 1>&2; exit 1; }
7332 if test "$TOOLKIT_GIVEN" = 1; then
7333 for toolkit
in `echo $ALL_TOOLKITS`; do
7335 eval "value=\$${var}"
7336 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
7339 for toolkit
in `echo $ALL_TOOLKITS`; do
7340 if test "$has_toolkit_in_cache" != 1; then
7341 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
7343 var
=DEFAULT_wxUSE_
$toolkit
7345 eval "wxUSE_$toolkit=\$${var}"
7349 NUM_TOOLKITS
=`expr ${wxUSE_GTK:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MAC:-0} + ${wxUSE_WINE:-0} + ${wxUSE_MINGW:-0} + ${wxUSE_CYGWIN:-0} + ${wxUSE_MGL:-0}`
7353 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
7354 # PATH_IFS is autodetected by OS/2's configure (usually ';')
7363 case "$NUM_TOOLKITS" in
7367 { echo "configure: error: Please specify a toolkit - cannot determine the default for ${host}" 1>&2; exit 1; }
7370 { echo "configure: error: Please specify at most one toolkit (may be some are cached?)" 1>&2; exit 1; }
7373 for toolkit
in `echo $ALL_TOOLKITS`; do
7375 eval "value=\$${var}"
7376 if test "x$value" != x
; then
7377 cache_var
=CACHE_
$toolkit
7378 eval "cache=\$${cache_var}"
7379 if test "$cache" = 1; then
7380 echo "$var=$value" >> ${wx_arg_cache_file}
7382 if test "$value" = 1; then
7383 toolkit_echo
=`echo $toolkit | tr [A-Z] [a-z]`
7384 echo "$ac_t""$toolkit_echo" 1>&6
7391 echo "$ac_t""base only" 1>&6
7395 cat > confcache
<<\EOF
7396 # This file is a shell script that caches the results of configure
7397 # tests run on this system so they can be shared between configure
7398 # scripts and configure runs. It is not useful on other systems.
7399 # If it contains results you don't want to keep, you may remove or edit it.
7401 # By default, configure uses ./config.cache as the cache file,
7402 # creating it if it does not exist already. You can give configure
7403 # the --cache-file=FILE option to use a different cache file; that is
7404 # what configure does when it calls configure scripts in
7405 # subdirectories, so they share the cache.
7406 # Giving --cache-file=/dev/null disables caching, for debugging configure.
7407 # config.status only pays attention to the cache file if you give it the
7408 # --recheck option to rerun configure.
7411 # The following way of writing the cache mishandles newlines in values,
7412 # but we know of no workaround that is simple, portable, and efficient.
7413 # So, don't put newlines in cache variables' values.
7414 # Ultrix sh set writes to stderr and can't be redirected directly,
7415 # and sets the high bit in the cache file unless we assign to the vars.
7417 case `(ac_space=' '; set | grep ac_space) 2>&1` in
7419 # `set' does not quote correctly, so add quotes (double-quote substitution
7420 # turns \\\\ into \\, and sed turns \\ into \).
7422 -e "s/'/'\\\\''/g" \
7423 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
7426 # `set' quotes correctly as required by POSIX, so do not add quotes.
7427 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
7430 if cmp -s $cache_file confcache
; then
7433 if test -w $cache_file; then
7434 echo "updating cache $cache_file"
7435 cat confcache
> $cache_file
7437 echo "not updating unwritable cache $cache_file"
7443 if test "$build" != "$host" ; then
7447 RANLIB
=$host_alias-ranlib
7448 DLLTOOL
=$host_alias-dlltool
7449 RESCOMP
=$host_alias-windres
7452 STRIP
=$host_alias-strip
7455 # Extract the first word of "gcc", so it can be a program name with args.
7456 set dummy gcc
; ac_word
=$2
7457 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7458 echo "configure:7459: checking for $ac_word" >&5
7459 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
7460 echo $ac_n "(cached) $ac_c" 1>&6
7462 if test -n "$CC"; then
7463 ac_cv_prog_CC
="$CC" # Let the user override the test.
7465 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7467 for ac_dir
in $ac_dummy; do
7468 test -z "$ac_dir" && ac_dir
=.
7469 if test -f $ac_dir/$ac_word; then
7478 if test -n "$CC"; then
7479 echo "$ac_t""$CC" 1>&6
7481 echo "$ac_t""no" 1>&6
7484 if test -z "$CC"; then
7485 # Extract the first word of "cc", so it can be a program name with args.
7486 set dummy cc
; ac_word
=$2
7487 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7488 echo "configure:7489: checking for $ac_word" >&5
7489 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
7490 echo $ac_n "(cached) $ac_c" 1>&6
7492 if test -n "$CC"; then
7493 ac_cv_prog_CC
="$CC" # Let the user override the test.
7495 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7498 for ac_dir
in $ac_dummy; do
7499 test -z "$ac_dir" && ac_dir
=.
7500 if test -f $ac_dir/$ac_word; then
7501 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
7502 ac_prog_rejected
=yes
7510 if test $ac_prog_rejected = yes; then
7511 # We found a bogon in the path, so make sure we never use it.
7512 set dummy
$ac_cv_prog_CC
7514 if test $# -gt 0; then
7515 # We chose a different compiler from the bogus one.
7516 # However, it has the same basename, so the bogon will be chosen
7517 # first if we set CC to just the basename; use the full file name.
7519 set dummy
"$ac_dir/$ac_word" "$@"
7527 if test -n "$CC"; then
7528 echo "$ac_t""$CC" 1>&6
7530 echo "$ac_t""no" 1>&6
7533 if test -z "$CC"; then
7534 case "`uname -s`" in
7536 # Extract the first word of "cl", so it can be a program name with args.
7537 set dummy cl
; ac_word
=$2
7538 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7539 echo "configure:7540: checking for $ac_word" >&5
7540 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
7541 echo $ac_n "(cached) $ac_c" 1>&6
7543 if test -n "$CC"; then
7544 ac_cv_prog_CC
="$CC" # Let the user override the test.
7546 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7548 for ac_dir
in $ac_dummy; do
7549 test -z "$ac_dir" && ac_dir
=.
7550 if test -f $ac_dir/$ac_word; then
7559 if test -n "$CC"; then
7560 echo "$ac_t""$CC" 1>&6
7562 echo "$ac_t""no" 1>&6
7567 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
7570 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
7571 echo "configure:7572: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
7574 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7575 ac_cpp
='$CPP $CPPFLAGS'
7576 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7577 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7578 cross_compiling
=$ac_cv_prog_cc_cross
7580 cat > conftest.
$ac_ext << EOF
7582 #line 7583 "configure"
7583 #include "confdefs.h"
7587 if { (eval echo configure
:7588: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7588 ac_cv_prog_cc_works
=yes
7589 # If we can't run a trivial program, we are probably using a cross compiler.
7590 if (.
/conftest
; exit) 2>/dev
/null
; then
7591 ac_cv_prog_cc_cross
=no
7593 ac_cv_prog_cc_cross
=yes
7596 echo "configure: failed program was:" >&5
7597 cat conftest.
$ac_ext >&5
7598 ac_cv_prog_cc_works
=no
7602 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7603 ac_cpp
='$CPP $CPPFLAGS'
7604 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7605 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7606 cross_compiling
=$ac_cv_prog_cc_cross
7608 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
7609 if test $ac_cv_prog_cc_works = no
; then
7610 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
7612 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
7613 echo "configure:7614: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
7614 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
7615 cross_compiling
=$ac_cv_prog_cc_cross
7617 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
7618 echo "configure:7619: checking whether we are using GNU C" >&5
7619 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
7620 echo $ac_n "(cached) $ac_c" 1>&6
7622 cat > conftest.c
<<EOF
7627 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:7628: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
7634 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
7636 if test $ac_cv_prog_gcc = yes; then
7642 ac_test_CFLAGS
="${CFLAGS+set}"
7643 ac_save_CFLAGS
="$CFLAGS"
7645 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
7646 echo "configure:7647: checking whether ${CC-cc} accepts -g" >&5
7647 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
7648 echo $ac_n "(cached) $ac_c" 1>&6
7650 echo 'void f(){}' > conftest.c
7651 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
7660 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
7661 if test "$ac_test_CFLAGS" = set; then
7662 CFLAGS
="$ac_save_CFLAGS"
7663 elif test $ac_cv_prog_cc_g = yes; then
7664 if test "$GCC" = yes; then
7670 if test "$GCC" = yes; then
7678 CFLAGS
=`echo "$CFLAGS" | sed 's/-g//g'`
7680 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
7681 echo "configure:7682: checking how to run the C preprocessor" >&5
7682 # On Suns, sometimes $CPP names a directory.
7683 if test -n "$CPP" && test -d "$CPP"; then
7686 if test -z "$CPP"; then
7687 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
7688 echo $ac_n "(cached) $ac_c" 1>&6
7690 # This must be in double quotes, not single quotes, because CPP may get
7691 # substituted into the Makefile and "${CC-cc}" will confuse make.
7693 # On the NeXT, cc -E runs the code through the compiler's parser,
7694 # not just through cpp.
7695 cat > conftest.
$ac_ext <<EOF
7696 #line 7697 "configure"
7697 #include "confdefs.h"
7701 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7702 { (eval echo configure
:7703: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7703 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7704 if test -z "$ac_err"; then
7708 echo "configure: failed program was:" >&5
7709 cat conftest.
$ac_ext >&5
7711 CPP
="${CC-cc} -E -traditional-cpp"
7712 cat > conftest.
$ac_ext <<EOF
7713 #line 7714 "configure"
7714 #include "confdefs.h"
7718 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7719 { (eval echo configure
:7720: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7720 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7721 if test -z "$ac_err"; then
7725 echo "configure: failed program was:" >&5
7726 cat conftest.
$ac_ext >&5
7728 CPP
="${CC-cc} -nologo -E"
7729 cat > conftest.
$ac_ext <<EOF
7730 #line 7731 "configure"
7731 #include "confdefs.h"
7735 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7736 { (eval echo configure
:7737: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7737 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7738 if test -z "$ac_err"; then
7742 echo "configure: failed program was:" >&5
7743 cat conftest.
$ac_ext >&5
7752 ac_cv_prog_CPP
="$CPP"
7754 CPP
="$ac_cv_prog_CPP"
7756 ac_cv_prog_CPP
="$CPP"
7758 echo "$ac_t""$CPP" 1>&6
7761 if test $ac_cv_prog_gcc = yes; then
7762 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
7763 echo "configure:7764: checking whether ${CC-cc} needs -traditional" >&5
7764 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
7765 echo $ac_n "(cached) $ac_c" 1>&6
7767 ac_pattern
="Autoconf.*'x'"
7768 cat > conftest.
$ac_ext <<EOF
7769 #line 7770 "configure"
7770 #include "confdefs.h"
7774 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7775 egrep "$ac_pattern" >/dev
/null
2>&1; then
7777 ac_cv_prog_gcc_traditional
=yes
7780 ac_cv_prog_gcc_traditional
=no
7785 if test $ac_cv_prog_gcc_traditional = no
; then
7786 cat > conftest.
$ac_ext <<EOF
7787 #line 7788 "configure"
7788 #include "confdefs.h"
7792 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7793 egrep "$ac_pattern" >/dev
/null
2>&1; then
7795 ac_cv_prog_gcc_traditional
=yes
7802 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
7803 if test $ac_cv_prog_gcc_traditional = yes; then
7804 CC
="$CC -traditional"
7811 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7812 ac_cpp
='$CXXCPP $CPPFLAGS'
7813 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7814 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7815 cross_compiling
=$ac_cv_prog_cxx_cross
7818 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++ cl
7820 # Extract the first word of "$ac_prog", so it can be a program name with args.
7821 set dummy
$ac_prog; ac_word
=$2
7822 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7823 echo "configure:7824: checking for $ac_word" >&5
7824 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
7825 echo $ac_n "(cached) $ac_c" 1>&6
7827 if test -n "$CXX"; then
7828 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
7830 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7832 for ac_dir
in $ac_dummy; do
7833 test -z "$ac_dir" && ac_dir
=.
7834 if test -f $ac_dir/$ac_word; then
7835 ac_cv_prog_CXX
="$ac_prog"
7842 CXX
="$ac_cv_prog_CXX"
7843 if test -n "$CXX"; then
7844 echo "$ac_t""$CXX" 1>&6
7846 echo "$ac_t""no" 1>&6
7849 test -n "$CXX" && break
7851 test -n "$CXX" || CXX
="gcc"
7854 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
7855 echo "configure:7856: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
7858 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7859 ac_cpp
='$CXXCPP $CPPFLAGS'
7860 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7861 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7862 cross_compiling
=$ac_cv_prog_cxx_cross
7864 cat > conftest.
$ac_ext << EOF
7866 #line 7867 "configure"
7867 #include "confdefs.h"
7869 int main(){return(0);}
7871 if { (eval echo configure
:7872: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7872 ac_cv_prog_cxx_works
=yes
7873 # If we can't run a trivial program, we are probably using a cross compiler.
7874 if (.
/conftest
; exit) 2>/dev
/null
; then
7875 ac_cv_prog_cxx_cross
=no
7877 ac_cv_prog_cxx_cross
=yes
7880 echo "configure: failed program was:" >&5
7881 cat conftest.
$ac_ext >&5
7882 ac_cv_prog_cxx_works
=no
7886 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7887 ac_cpp
='$CXXCPP $CPPFLAGS'
7888 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7889 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7890 cross_compiling
=$ac_cv_prog_cxx_cross
7892 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
7893 if test $ac_cv_prog_cxx_works = no
; then
7894 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
7896 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
7897 echo "configure:7898: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
7898 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
7899 cross_compiling
=$ac_cv_prog_cxx_cross
7901 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
7902 echo "configure:7903: checking whether we are using GNU C++" >&5
7903 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
7904 echo $ac_n "(cached) $ac_c" 1>&6
7906 cat > conftest.C
<<EOF
7911 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:7912: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
7918 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
7920 if test $ac_cv_prog_gxx = yes; then
7926 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
7927 ac_save_CXXFLAGS
="$CXXFLAGS"
7929 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
7930 echo "configure:7931: checking whether ${CXX-g++} accepts -g" >&5
7931 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
7932 echo $ac_n "(cached) $ac_c" 1>&6
7934 echo 'void f(){}' > conftest.cc
7935 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
7936 ac_cv_prog_cxx_g
=yes
7944 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
7945 if test "$ac_test_CXXFLAGS" = set; then
7946 CXXFLAGS
="$ac_save_CXXFLAGS"
7947 elif test $ac_cv_prog_cxx_g = yes; then
7948 if test "$GXX" = yes; then
7954 if test "$GXX" = yes; then
7962 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
7963 echo "configure:7964: checking how to run the C++ preprocessor" >&5
7964 if test -z "$CXXCPP"; then
7965 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
7966 echo $ac_n "(cached) $ac_c" 1>&6
7969 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7970 ac_cpp
='$CXXCPP $CPPFLAGS'
7971 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7972 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7973 cross_compiling
=$ac_cv_prog_cxx_cross
7974 CXXCPP
="${CXX-g++} -E"
7975 cat > conftest.
$ac_ext <<EOF
7976 #line 7977 "configure"
7977 #include "confdefs.h"
7980 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7981 { (eval echo configure
:7982: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7982 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7983 if test -z "$ac_err"; then
7987 echo "configure: failed program was:" >&5
7988 cat conftest.
$ac_ext >&5
7993 ac_cv_prog_CXXCPP
="$CXXCPP"
7995 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7996 ac_cpp
='$CXXCPP $CPPFLAGS'
7997 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7998 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7999 cross_compiling
=$ac_cv_prog_cxx_cross
8002 CXXCPP
="$ac_cv_prog_CXXCPP"
8003 echo "$ac_t""$CXXCPP" 1>&6
8006 CXXFLAGS
=`echo "$CXXFLAGS" | sed 's/-g//g'`
8009 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8010 ac_cpp
='$CPP $CPPFLAGS'
8011 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8012 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8013 cross_compiling
=$ac_cv_prog_cc_cross
8016 # Extract the first word of "ranlib", so it can be a program name with args.
8017 set dummy ranlib
; ac_word
=$2
8018 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8019 echo "configure:8020: checking for $ac_word" >&5
8020 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
8021 echo $ac_n "(cached) $ac_c" 1>&6
8023 if test -n "$RANLIB"; then
8024 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
8026 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8028 for ac_dir
in $ac_dummy; do
8029 test -z "$ac_dir" && ac_dir
=.
8030 if test -f $ac_dir/$ac_word; then
8031 ac_cv_prog_RANLIB
="ranlib"
8036 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
8039 RANLIB
="$ac_cv_prog_RANLIB"
8040 if test -n "$RANLIB"; then
8041 echo "$ac_t""$RANLIB" 1>&6
8043 echo "$ac_t""no" 1>&6
8047 # Extract the first word of "ar", so it can be a program name with args.
8048 set dummy
ar; ac_word
=$2
8049 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8050 echo "configure:8051: checking for $ac_word" >&5
8051 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
8052 echo $ac_n "(cached) $ac_c" 1>&6
8054 if test -n "$AR"; then
8055 ac_cv_prog_AR
="$AR" # Let the user override the test.
8057 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8059 for ac_dir
in $ac_dummy; do
8060 test -z "$ac_dir" && ac_dir
=.
8061 if test -f $ac_dir/$ac_word; then
8067 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
8071 if test -n "$AR"; then
8072 echo "$ac_t""$AR" 1>&6
8074 echo "$ac_t""no" 1>&6
8078 # Find a good install program. We prefer a C program (faster),
8079 # so one script is as good as another. But avoid the broken or
8080 # incompatible versions:
8081 # SysV /etc/install, /usr/sbin/install
8082 # SunOS /usr/etc/install
8083 # IRIX /sbin/install
8085 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
8086 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
8087 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
8088 # ./install, which can be erroneously created by make from ./install.sh.
8089 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
8090 echo "configure:8091: checking for a BSD compatible install" >&5
8091 if test -z "$INSTALL"; then
8092 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
8093 echo $ac_n "(cached) $ac_c" 1>&6
8095 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
8096 for ac_dir
in $PATH; do
8097 # Account for people who put trailing slashes in PATH elements.
8099 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
8101 # OSF1 and SCO ODT 3.0 have their own names for install.
8102 # Don't use installbsd from OSF since it installs stuff as root
8104 for ac_prog
in ginstall scoinst
install; do
8105 if test -f $ac_dir/$ac_prog; then
8106 if test $ac_prog = install &&
8107 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
8108 # AIX install. It has an incompatible calling convention.
8111 ac_cv_path_install
="$ac_dir/$ac_prog -c"
8122 if test "${ac_cv_path_install+set}" = set; then
8123 INSTALL
="$ac_cv_path_install"
8125 # As a last resort, use the slow shell script. We don't cache a
8126 # path for INSTALL within a source directory, because that will
8127 # break other packages using the cache if that directory is
8128 # removed, or if the path is relative.
8129 INSTALL
="$ac_install_sh"
8132 echo "$ac_t""$INSTALL" 1>&6
8134 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
8135 # It thinks the first close brace ends the variable substitution.
8136 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
8138 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
8140 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
8143 # Extract the first word of "strip", so it can be a program name with args.
8144 set dummy strip
; ac_word
=$2
8145 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8146 echo "configure:8147: checking for $ac_word" >&5
8147 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
8148 echo $ac_n "(cached) $ac_c" 1>&6
8150 if test -n "$STRIP"; then
8151 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
8153 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8155 for ac_dir
in $ac_dummy; do
8156 test -z "$ac_dir" && ac_dir
=.
8157 if test -f $ac_dir/$ac_word; then
8158 ac_cv_prog_STRIP
="strip"
8163 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
8166 STRIP
="$ac_cv_prog_STRIP"
8167 if test -n "$STRIP"; then
8168 echo "$ac_t""$STRIP" 1>&6
8170 echo "$ac_t""no" 1>&6
8174 echo $ac_n "checking make for VPATH support""... $ac_c" 1>&6
8175 echo "configure:8176: checking make for VPATH support" >&5
8176 cat - << EOF > confMake
8182 if test ! -d sub
; then
8185 echo dummy
> sub
/file
8186 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
8188 rm -f sub
/file check final_file confMake
8190 if test "$RESULT" = 0; then
8191 echo "$ac_t""yes" 1>&6
8193 echo "$ac_t""no" 1>&6
8194 { echo "configure: error:
8195 You need a make-utility that is able to use the variable
8197 If your version of make does not support VPATH correctly,
8198 please install GNU-make (possibly as gmake), and start
8199 configure with the following command:
8200 export MAKE=gmake; ./configure for sh-type shells
8201 setenv MAKE gmake; ./configure for csh-type shells
8202 Also please do remember to use gmake in this case every time
8203 you are trying to compile.
8207 for ac_prog
in 'bison -y' byacc
8209 # Extract the first word of "$ac_prog", so it can be a program name with args.
8210 set dummy
$ac_prog; ac_word
=$2
8211 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8212 echo "configure:8213: checking for $ac_word" >&5
8213 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
8214 echo $ac_n "(cached) $ac_c" 1>&6
8216 if test -n "$YACC"; then
8217 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
8219 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8221 for ac_dir
in $ac_dummy; do
8222 test -z "$ac_dir" && ac_dir
=.
8223 if test -f $ac_dir/$ac_word; then
8224 ac_cv_prog_YACC
="$ac_prog"
8231 YACC
="$ac_cv_prog_YACC"
8232 if test -n "$YACC"; then
8233 echo "$ac_t""$YACC" 1>&6
8235 echo "$ac_t""no" 1>&6
8238 test -n "$YACC" && break
8240 test -n "$YACC" || YACC
="yacc"
8243 # Extract the first word of "flex", so it can be a program name with args.
8244 set dummy flex
; ac_word
=$2
8245 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8246 echo "configure:8247: checking for $ac_word" >&5
8247 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
8248 echo $ac_n "(cached) $ac_c" 1>&6
8250 if test -n "$LEX"; then
8251 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
8253 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8255 for ac_dir
in $ac_dummy; do
8256 test -z "$ac_dir" && ac_dir
=.
8257 if test -f $ac_dir/$ac_word; then
8258 ac_cv_prog_LEX
="flex"
8263 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
8266 LEX
="$ac_cv_prog_LEX"
8267 if test -n "$LEX"; then
8268 echo "$ac_t""$LEX" 1>&6
8270 echo "$ac_t""no" 1>&6
8273 if test -z "$LEXLIB"
8279 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
8280 echo "configure:8281: checking for yywrap in -l$ac_lib" >&5
8281 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
8282 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8283 echo $ac_n "(cached) $ac_c" 1>&6
8285 ac_save_LIBS
="$LIBS"
8286 LIBS
="-l$ac_lib $LIBS"
8287 cat > conftest.
$ac_ext <<EOF
8288 #line 8289 "configure"
8289 #include "confdefs.h"
8290 /* Override any gcc2 internal prototype to avoid an error. */
8291 /* We use char because int might match the return type of a gcc2
8292 builtin and then its argument prototype would still apply. */
8299 if { (eval echo configure
:8300: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8301 eval "ac_cv_lib_$ac_lib_var=yes"
8303 echo "configure: failed program was:" >&5
8304 cat conftest.
$ac_ext >&5
8306 eval "ac_cv_lib_$ac_lib_var=no"
8309 LIBS
="$ac_save_LIBS"
8312 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8313 echo "$ac_t""yes" 1>&6
8316 echo "$ac_t""no" 1>&6
8322 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
8323 echo "configure:8324: checking whether ln -s works" >&5
8324 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
8325 echo $ac_n "(cached) $ac_c" 1>&6
8328 if ln -s X conftestdata
2>/dev
/null
8331 ac_cv_prog_LN_S
="ln -s"
8336 LN_S
="$ac_cv_prog_LN_S"
8337 if test "$ac_cv_prog_LN_S" = "ln -s"; then
8338 echo "$ac_t""yes" 1>&6
8340 echo "$ac_t""no" 1>&6
8346 /usr/local/include \
8348 /usr/Motif-1.2/include \
8349 /usr/Motif-2.1/include \
8351 /usr/include/Motif1.2 \
8352 /opt/xpm/include/X11 \
8353 /opt/GBxpm/include/ \
8354 /opt/GBxpm/X11/include/ \
8356 /usr/Motif1.2/include \
8358 /usr/openwin/include \
8362 /usr/X11R6/include \
8363 /usr/X11R6.4/include \
8364 /usr/X11R5/include \
8365 /usr/X11R4/include \
8367 /usr/include/X11R6 \
8368 /usr/include/X11R5 \
8369 /usr/include/X11R4 \
8371 /usr/local/X11R6/include \
8372 /usr/local/X11R5/include \
8373 /usr/local/X11R4/include \
8375 /usr/local/include/X11R6 \
8376 /usr/local/include/X11R5 \
8377 /usr/local/include/X11R4 \
8381 /usr/local/X11/include \
8382 /usr/local/include/X11 \
8386 /usr/XFree86/include/X11 \
8388 X:/XFree86/include \
8389 X:/XFree86/include/X11 \
8392 /usr/local/include/gtk \
8394 /usr/local/include/glib \
8397 /usr/local/include/qt \
8399 /usr/include/windows \
8401 /usr/local/include/wine \
8403 /usr/unsupported/include \
8404 /usr/athena/include \
8405 /usr/local/x11r5/include \
8406 /usr/lpp/Xamples/include \
8408 /usr/openwin/share/include \
8412 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
8415 cat > confcache
<<\EOF
8416 # This file is a shell script that caches the results of configure
8417 # tests run on this system so they can be shared between configure
8418 # scripts and configure runs. It is not useful on other systems.
8419 # If it contains results you don't want to keep, you may remove or edit it.
8421 # By default, configure uses ./config.cache as the cache file,
8422 # creating it if it does not exist already. You can give configure
8423 # the --cache-file=FILE option to use a different cache file; that is
8424 # what configure does when it calls configure scripts in
8425 # subdirectories, so they share the cache.
8426 # Giving --cache-file=/dev/null disables caching, for debugging configure.
8427 # config.status only pays attention to the cache file if you give it the
8428 # --recheck option to rerun configure.
8431 # The following way of writing the cache mishandles newlines in values,
8432 # but we know of no workaround that is simple, portable, and efficient.
8433 # So, don't put newlines in cache variables' values.
8434 # Ultrix sh set writes to stderr and can't be redirected directly,
8435 # and sets the high bit in the cache file unless we assign to the vars.
8437 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8439 # `set' does not quote correctly, so add quotes (double-quote substitution
8440 # turns \\\\ into \\, and sed turns \\ into \).
8442 -e "s/'/'\\\\''/g" \
8443 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
8446 # `set' quotes correctly as required by POSIX, so do not add quotes.
8447 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
8450 if cmp -s $cache_file confcache
; then
8453 if test -w $cache_file; then
8454 echo "updating cache $cache_file"
8455 cat confcache
> $cache_file
8457 echo "not updating unwritable cache $cache_file"
8466 if test "$wxUSE_GUI" = "yes"; then
8481 if test "$wxUSE_CYGWIN" = 1 || test "$wxUSE_MINGW" = 1 ; then
8482 if test "$cross_compiling" = "yes" ; then
8483 echo "configure: warning: skipping windows.h check for cross-compilation" 1>&2
8485 echo $ac_n "checking for Windows headers""... $ac_c" 1>&6
8486 echo "configure:8487: checking for Windows headers" >&5
8489 for ac_dir
in $SEARCH_INCLUDE;
8491 if test -f "$ac_dir/windows.h"; then
8492 ac_find_includes
=$ac_dir
8497 if test "$ac_find_includes" != "" ; then
8498 echo "$ac_t""found $ac_find_includes" 1>&6
8499 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE -I$ac_find_includes"
8501 echo "$ac_t""no" 1>&6
8502 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
8506 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS msw"
8507 LIBS
="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -lcrtdll -ladvapi32 -lwsock32"
8509 if test "$wxUSE_ODBC" = "yes" ; then
8510 LIBS
="$LIBS -lodbc32 -lole32 -loleaut32"
8513 if test "$wxUSE_MINGW" = 1; then
8514 LDFLAGS
="$LDFLAGS -mwindows"
8520 RCINCSWITCH
="--include-dir"
8521 RCDEFSWITCH
="--define"
8522 RCPREPROCESSOR
="--preprocessor \"\$(CC) -c -E -xc-header -DRC_INVOKED\""
8525 RESFLAGS
="$RCPREPROCESSOR $RCINCSWITCH \$(top_srcdir)/include $RCINCSWITCH \$(top_srcdir)/\$(program_dir) $RCDEFSWITCH __WIN32__ $RCDEFSWITCH __WIN95__ $RCDEFSWITCH __GNUWIN32__"
8527 RESPROGRAM
="\$(RES_PROGRAM)"
8530 if test "$wxUSE_GTK" = 1; then
8531 echo $ac_n "checking for GTK+ version""... $ac_c" 1>&6
8532 echo "configure:8533: checking for GTK+ version" >&5
8534 gtk_version_cached
=1
8535 if eval "test \"`echo '$''{'wx_cv_lib_gtk'+set}'`\" = set"; then
8536 echo $ac_n "(cached) $ac_c" 1>&6
8539 gtk_version_cached
=0
8540 echo "$ac_t""""" 1>&6
8543 if test "x$wxUSE_GTK2" = "xyes"; then
8544 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
8545 if test "${with_gtk_prefix+set}" = set; then
8546 withval
="$with_gtk_prefix"
8547 gtk_config_prefix
="$withval"
8549 gtk_config_prefix
=""
8552 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
8553 if test "${with_gtk_exec_prefix+set}" = set; then
8554 withval
="$with_gtk_exec_prefix"
8555 gtk_config_exec_prefix
="$withval"
8557 gtk_config_exec_prefix
=""
8560 # Check whether --enable-gtktest or --disable-gtktest was given.
8561 if test "${enable_gtktest+set}" = set; then
8562 enableval
="$enable_gtktest"
8573 gtk_config_args
="$gtk_config_args gthread"
8578 if test x
$gtk_config_exec_prefix != x
; then
8579 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
8580 if test x
${GTK_CONFIG_2_0+set} != xset
; then
8581 GTK_CONFIG_2_0
=$gtk_config_exec_prefix/bin
/gtk
-config-2.0
8584 if test x
$gtk_config_prefix != x
; then
8585 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
8586 if test x
${GTK_CONFIG_2_0+set} != xset
; then
8587 GTK_CONFIG_2_0
=$gtk_config_prefix/bin
/gtk
-config-2.0
8591 # Extract the first word of "gtk-config-2.0", so it can be a program name with args.
8592 set dummy gtk
-config-2.0
; ac_word
=$2
8593 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8594 echo "configure:8595: checking for $ac_word" >&5
8595 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG_2_0'+set}'`\" = set"; then
8596 echo $ac_n "(cached) $ac_c" 1>&6
8598 case "$GTK_CONFIG_2_0" in
8600 ac_cv_path_GTK_CONFIG_2_0
="$GTK_CONFIG_2_0" # Let the user override the test with a path.
8603 ac_cv_path_GTK_CONFIG_2_0
="$GTK_CONFIG_2_0" # Let the user override the test with a dos path.
8606 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8608 for ac_dir
in $ac_dummy; do
8609 test -z "$ac_dir" && ac_dir
=.
8610 if test -f $ac_dir/$ac_word; then
8611 ac_cv_path_GTK_CONFIG_2_0
="$ac_dir/$ac_word"
8616 test -z "$ac_cv_path_GTK_CONFIG_2_0" && ac_cv_path_GTK_CONFIG_2_0
="no"
8620 GTK_CONFIG_2_0
="$ac_cv_path_GTK_CONFIG_2_0"
8621 if test -n "$GTK_CONFIG_2_0"; then
8622 echo "$ac_t""$GTK_CONFIG_2_0" 1>&6
8624 echo "$ac_t""no" 1>&6
8627 min_gtk_version
=1.3.1
8628 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
8629 echo "configure:8630: checking for GTK - version >= $min_gtk_version" >&5
8631 if test "$GTK_CONFIG_2_0" = "no" ; then
8634 GTK_CFLAGS
=`$GTK_CONFIG_2_0 $gtk_config_args --cflags`
8635 GTK_LIBS
=`$GTK_CONFIG_2_0 $gtk_config_args --libs`
8636 gtk_config_major_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
8637 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
8638 gtk_config_minor_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
8639 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
8640 gtk_config_micro_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
8641 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
8642 if test "x$enable_gtktest" = "xyes" ; then
8643 ac_save_CFLAGS
="$CFLAGS"
8644 ac_save_LIBS
="$LIBS"
8645 CFLAGS
="$CFLAGS $GTK_CFLAGS"
8646 LIBS
="$GTK_LIBS $LIBS"
8648 if test "$cross_compiling" = yes; then
8649 echo $ac_n "cross compiling; assumed OK... $ac_c"
8651 cat > conftest.
$ac_ext <<EOF
8652 #line 8653 "configure"
8653 #include "confdefs.h"
8655 #include <gtk/gtk.h>
8662 int major, minor, micro;
8665 system ("touch conf.gtktest");
8667 /* HP/UX 9 (%@#!) writes to sscanf strings */
8668 tmp_version = g_strdup("$min_gtk_version");
8669 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
8670 printf("%s, bad version string\n", "$min_gtk_version");
8674 if ((gtk_major_version != $gtk_config_major_version) ||
8675 (gtk_minor_version != $gtk_config_minor_version) ||
8676 (gtk_micro_version != $gtk_config_micro_version))
8678 printf("\n*** 'gtk-config-2.0 --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
8679 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
8680 gtk_major_version, gtk_minor_version, gtk_micro_version);
8681 printf ("*** was found! If gtk-config-2.0 was correct, then it is best\n");
8682 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
8683 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
8684 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
8685 printf("*** required on your system.\n");
8686 printf("*** If gtk-config-2.0 was wrong, set the environment variable GTK_CONFIG_2_0\n");
8687 printf("*** to point to the correct copy of gtk-config-2.0, and remove the file config.cache\n");
8688 printf("*** before re-running configure\n");
8690 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
8691 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
8692 (gtk_minor_version != GTK_MINOR_VERSION) ||
8693 (gtk_micro_version != GTK_MICRO_VERSION))
8695 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
8696 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
8697 printf("*** library (version %d.%d.%d)\n",
8698 gtk_major_version, gtk_minor_version, gtk_micro_version);
8700 #endif /* defined (GTK_MAJOR_VERSION) ... */
8703 if ((gtk_major_version > major) ||
8704 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
8705 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
8711 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
8712 gtk_major_version, gtk_minor_version, gtk_micro_version);
8713 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
8714 major, minor, micro);
8715 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
8717 printf("*** If you have already installed a sufficiently new version, this error\n");
8718 printf("*** probably means that the wrong copy of the gtk-config-2.0 shell script is\n");
8719 printf("*** being found. The easiest way to fix this is to remove the old version\n");
8720 printf("*** of GTK+, but you can also set the GTK_CONFIG_2_0 environment to point to the\n");
8721 printf("*** correct copy of gtk-config-2.0. (In this case, you will have to\n");
8722 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
8723 printf("*** so that the correct libraries are found at run-time))\n");
8730 if { (eval echo configure
:8731: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
8734 echo "configure: failed program was:" >&5
8735 cat conftest.
$ac_ext >&5
8742 CFLAGS
="$ac_save_CFLAGS"
8743 LIBS
="$ac_save_LIBS"
8746 if test "x$no_gtk" = x
; then
8747 echo "$ac_t""yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" 1>&6
8750 echo "$ac_t""no" 1>&6
8751 if test "$GTK_CONFIG_2_0" = "no" ; then
8752 echo "*** The gtk-config-2.0 script installed by GTK could not be found"
8753 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
8754 echo "*** your path, or set the GTK_CONFIG_2_0 environment variable to the"
8755 echo "*** full path to gtk-config-2.0."
8757 if test -f conf.gtktest
; then
8760 echo "*** Could not run GTK test program, checking why..."
8761 CFLAGS
="$CFLAGS $GTK_CFLAGS"
8762 LIBS
="$LIBS $GTK_LIBS"
8763 cat > conftest.
$ac_ext <<EOF
8764 #line 8765 "configure"
8765 #include "confdefs.h"
8767 #include <gtk/gtk.h>
8771 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
8774 if { (eval echo configure
:8775: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8776 echo "*** The test program compiled, but did not run. This usually means"
8777 echo "*** that the run-time linker is not finding GTK or finding the wrong"
8778 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
8779 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
8780 echo "*** to the installed location Also, make sure you have run ldconfig if that"
8781 echo "*** is required on your system"
8783 echo "*** If you have an old version installed, it is best to remove it, although"
8784 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
8786 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
8787 echo "*** came with the system with the command"
8789 echo "*** rpm --erase --nodeps gtk gtk-devel"
8791 echo "configure: failed program was:" >&5
8792 cat conftest.
$ac_ext >&5
8794 echo "*** The test program failed to compile or link. See the file config.log for the"
8795 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
8796 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
8797 echo "*** may want to edit the gtk-config-2.0 script: $GTK_CONFIG_2_0"
8800 CFLAGS
="$ac_save_CFLAGS"
8801 LIBS
="$ac_save_LIBS"
8814 if test -z "$wx_cv_lib_gtk"; then
8816 if test x
$gtk_config_exec_prefix != x
; then
8817 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
8818 if test x
${GTK_CONFIG+set} != xset
; then
8819 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
8822 if test x
$gtk_config_prefix != x
; then
8823 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
8824 if test x
${GTK_CONFIG+set} != xset
; then
8825 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
8829 # Extract the first word of "gtk-config", so it can be a program name with args.
8830 set dummy gtk
-config; ac_word
=$2
8831 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8832 echo "configure:8833: checking for $ac_word" >&5
8833 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
8834 echo $ac_n "(cached) $ac_c" 1>&6
8836 case "$GTK_CONFIG" in
8838 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
8841 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
8844 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8846 for ac_dir
in $ac_dummy; do
8847 test -z "$ac_dir" && ac_dir
=.
8848 if test -f $ac_dir/$ac_word; then
8849 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
8854 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
8858 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
8859 if test -n "$GTK_CONFIG"; then
8860 echo "$ac_t""$GTK_CONFIG" 1>&6
8862 echo "$ac_t""no" 1>&6
8865 min_gtk_version
=1.2.7
8866 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
8867 echo "configure:8868: checking for GTK - version >= $min_gtk_version" >&5
8869 if test "$GTK_CONFIG" != "no" ; then
8870 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
8871 GTK_LIBS
=`$GTK_CONFIG --libs gthread`
8872 ac_save_CFLAGS
="$CFLAGS"
8873 ac_save_LIBS
="$LIBS"
8874 CFLAGS
="$CFLAGS $GTK_CFLAGS"
8875 LIBS
="$LIBS $GTK_LIBS"
8876 if test "$cross_compiling" = yes; then
8877 echo $ac_n "cross compiling; assumed OK... $ac_c"
8879 cat > conftest.
$ac_ext <<EOF
8880 #line 8881 "configure"
8881 #include "confdefs.h"
8883 #include <gtk/gtk.h>
8884 #include <gtk/gtkfeatures.h>
8891 int major, minor, micro;
8893 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
8894 printf("%s, bad version string\n", "$min_gtk_version");
8898 if ((GTK_MAJOR_VERSION != gtk_major_version) ||
8899 (GTK_MINOR_VERSION != gtk_minor_version) ||
8900 (GTK_MICRO_VERSION != gtk_micro_version)) {
8901 printf("Headers vs. library version mismatch!\n");
8905 if (gtk_minor_version == 1) return FALSE;
8907 return !((gtk_major_version > major) ||
8908 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
8909 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
8913 if { (eval echo configure
:8914: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
8917 echo "configure: failed program was:" >&5
8918 cat conftest.
$ac_ext >&5
8925 CFLAGS
="$ac_save_CFLAGS"
8926 LIBS
="$ac_save_LIBS"
8930 if test "x$no_gtk" = x
; then
8931 echo "$ac_t""yes" 1>&6
8934 echo "$ac_t""no" 1>&6
8944 if test -z "$wx_cv_lib_gtk"; then
8946 if test x
$gtk_config_exec_prefix != x
; then
8947 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
8948 if test x
${GTK_CONFIG+set} != xset
; then
8949 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
8952 if test x
$gtk_config_prefix != x
; then
8953 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
8954 if test x
${GTK_CONFIG+set} != xset
; then
8955 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
8959 # Extract the first word of "gtk-config", so it can be a program name with args.
8960 set dummy gtk
-config; ac_word
=$2
8961 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8962 echo "configure:8963: checking for $ac_word" >&5
8963 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
8964 echo $ac_n "(cached) $ac_c" 1>&6
8966 case "$GTK_CONFIG" in
8968 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
8971 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
8974 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8976 for ac_dir
in $ac_dummy; do
8977 test -z "$ac_dir" && ac_dir
=.
8978 if test -f $ac_dir/$ac_word; then
8979 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
8984 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
8988 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
8989 if test -n "$GTK_CONFIG"; then
8990 echo "$ac_t""$GTK_CONFIG" 1>&6
8992 echo "$ac_t""no" 1>&6
8995 min_gtk_version
=1.2.3
8996 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
8997 echo "configure:8998: checking for GTK - version >= $min_gtk_version" >&5
8999 if test "$GTK_CONFIG" != "no" ; then
9000 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
9001 GTK_LIBS
=`$GTK_CONFIG --libs gthread`
9002 ac_save_CFLAGS
="$CFLAGS"
9003 ac_save_LIBS
="$LIBS"
9004 CFLAGS
="$CFLAGS $GTK_CFLAGS"
9005 LIBS
="$LIBS $GTK_LIBS"
9006 if test "$cross_compiling" = yes; then
9007 echo $ac_n "cross compiling; assumed OK... $ac_c"
9009 cat > conftest.
$ac_ext <<EOF
9010 #line 9011 "configure"
9011 #include "confdefs.h"
9013 #include <gtk/gtk.h>
9014 #include <gtk/gtkfeatures.h>
9021 int major, minor, micro;
9023 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
9024 printf("%s, bad version string\n", "$min_gtk_version");
9028 if ((GTK_MAJOR_VERSION != gtk_major_version) ||
9029 (GTK_MINOR_VERSION != gtk_minor_version) ||
9030 (GTK_MICRO_VERSION != gtk_micro_version)) {
9031 printf("Headers vs. library version mismatch!\n");
9035 if (gtk_minor_version == 1) return FALSE;
9037 return !((gtk_major_version > major) ||
9038 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
9039 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
9043 if { (eval echo configure
:9044: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9047 echo "configure: failed program was:" >&5
9048 cat conftest.
$ac_ext >&5
9055 CFLAGS
="$ac_save_CFLAGS"
9056 LIBS
="$ac_save_LIBS"
9060 if test "x$no_gtk" = x
; then
9061 echo "$ac_t""yes" 1>&6
9064 echo "$ac_t""no" 1>&6
9074 if test -z "$wx_cv_lib_gtk"; then
9077 wx_cv_cflags_gtk
=$GTK_CFLAGS
9078 wx_cv_libs_gtk
=$GTK_LIBS
9085 if test "$gtk_version_cached" = 1; then
9086 echo "$ac_t""$wx_cv_lib_gtk" 1>&6
9089 case "$wx_cv_lib_gtk" in
9096 *) { echo "configure: error:
9097 Please check that gtk-config is in path, the directory
9098 where GTK+ libraries are installed (returned by
9099 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
9100 equivalent variable and GTK+ is version 1.2.3 or above.
9105 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
9106 GUI_TK_LIBRARY
="$wx_cv_libs_gtk"
9108 AFMINSTALL
=afminstall
9112 echo $ac_n "checking for gdk_im_open in -lgdk""... $ac_c" 1>&6
9113 echo "configure:9114: checking for gdk_im_open in -lgdk" >&5
9114 ac_lib_var
=`echo gdk'_'gdk_im_open | sed 'y%./+-%__p_%'`
9115 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9116 echo $ac_n "(cached) $ac_c" 1>&6
9118 ac_save_LIBS
="$LIBS"
9120 cat > conftest.
$ac_ext <<EOF
9121 #line 9122 "configure"
9122 #include "confdefs.h"
9123 /* Override any gcc2 internal prototype to avoid an error. */
9124 /* We use char because int might match the return type of a gcc2
9125 builtin and then its argument prototype would still apply. */
9132 if { (eval echo configure
:9133: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9134 eval "ac_cv_lib_$ac_lib_var=yes"
9136 echo "configure: failed program was:" >&5
9137 cat conftest.
$ac_ext >&5
9139 eval "ac_cv_lib_$ac_lib_var=no"
9142 LIBS
="$ac_save_LIBS"
9145 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9146 echo "$ac_t""yes" 1>&6
9147 cat >> confdefs.h
<<\EOF
9152 echo "$ac_t""no" 1>&6
9157 if test "$wxUSE_MGL" = 1; then
9159 echo $ac_n "checking for SciTech MGL library""... $ac_c" 1>&6
9160 echo "configure:9161: checking for SciTech MGL library" >&5
9161 if test "x$MGL_ROOT" = x
; then
9162 echo "$ac_t""not found" 1>&6
9163 { echo "configure: error: Cannot find MGL library. Make sure MGL_ROOT is set." 1>&2; exit 1; }
9165 echo "$ac_t""$MGL_ROOT" 1>&6
9168 MGL_OS
=linux
/gcc
/glibc
9171 if test "$wxUSE_DEBUG_FLAG" = yes ; then
9172 if test -f $MGL_ROOT/lib
/debug
/$MGL_OS/libmgl.a
; then
9176 if test "x$MGL_LIB_TYPE" = x
; then
9177 if test -f $MGL_ROOT/lib
/release
/$MGL_OS/libmgl.a
; then
9178 MGL_LIB_TYPE
=release
9180 { echo "configure: error: Cannot find MGL libraries, make sure they are compiled." 1>&2; exit 1; }
9184 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
9185 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$MGL_LIB_TYPE/$MGL_OS -lmgl -lmglcpp -lpm"
9187 AFMINSTALL
=afminstall
9192 if test "$wxUSE_WINE" = 1; then
9193 echo $ac_n "checking for WINE includes""... $ac_c" 1>&6
9194 echo "configure:9195: checking for WINE includes" >&5
9197 for ac_dir
in $SEARCH_INCLUDE;
9199 if test -f "$ac_dir/windows.h"; then
9200 ac_find_includes
=$ac_dir
9205 if test "$ac_find_includes" != "" ; then
9206 echo "$ac_t""found $ac_find_includes" 1>&6
9207 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE -I$ac_find_includes"
9209 echo "$ac_t""no" 1>&6
9210 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
9214 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
9215 echo "configure:9216: checking for Xpm library" >&5
9218 for ac_dir
in $SEARCH_LIB;
9220 for ac_extension
in a so sl
; do
9221 if test -f "$ac_dir/libXpm.$ac_extension"; then
9222 ac_find_libraries
=$ac_dir
9228 if test "$ac_find_libraries" != "" ; then
9229 GUI_TK_LIBRARY
="-L$ac_find_libraries"
9231 cat >> confdefs.h
<<\EOF
9232 #define wxHAVE_LIB_XPM 1
9235 echo "$ac_t""found at $ac_find_libraries" 1>&6
9237 echo "$ac_t""no" 1>&6
9238 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
9242 echo $ac_n "checking for Mesa library""... $ac_c" 1>&6
9243 echo "configure:9244: checking for Mesa library" >&5
9246 for ac_dir
in $SEARCH_LIB;
9248 for ac_extension
in a so sl
; do
9249 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
9250 ac_find_libraries
=$ac_dir
9256 if test "$ac_find_libraries" != "" ; then
9257 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -L$ac_find_libraries"
9258 MESA_LINK
="-lMesaGL"
9259 echo "$ac_t""found at $ac_find_libraries" 1>&6
9261 { echo "configure: error: no" 1>&2; exit 1; }
9264 GUI_TK_LINK
="-lwine $MESA_LINK $XPM_LINK -lXxf86dga -lXxf86vm -lSM -lICE -lXext -lXmu -lX11 -lncurses"
9265 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GUI_TK_LINK"
9272 # If we find X, set shell vars x_includes and x_libraries to the
9273 # paths, otherwise set no_x=yes.
9274 # Uses ac_ vars as temps to allow command line to override cache and checks.
9275 # --without-x overrides everything else, but does not touch the cache.
9276 echo $ac_n "checking for X""... $ac_c" 1>&6
9277 echo "configure:9278: checking for X" >&5
9279 # Check whether --with-x or --without-x was given.
9280 if test "${with_x+set}" = set; then
9285 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9286 if test "x$with_x" = xno
; then
9287 # The user explicitly disabled X.
9290 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
9291 # Both variables are already set.
9294 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
9295 echo $ac_n "(cached) $ac_c" 1>&6
9297 # One or both of the vars are not set, and there is no cached value.
9298 ac_x_includes
=NO ac_x_libraries
=NO
9300 if mkdir conftestdir
; then
9302 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
9303 cat > Imakefile
<<'EOF'
9305 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
9307 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
9308 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
9309 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
9310 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9311 for ac_extension
in a so sl
; do
9312 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
9313 test -f $ac_im_libdir/libX11.
$ac_extension; then
9314 ac_im_usrlibdir
=$ac_im_libdir; break
9317 # Screen out bogus values from the imake configuration. They are
9318 # bogus both because they are the default anyway, and because
9319 # using them would break gcc on systems where it needs fixed includes.
9320 case "$ac_im_incroot" in
9322 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;;
9324 case "$ac_im_usrlibdir" in
9326 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;;
9333 if test "$ac_x_includes" = NO
; then
9334 # Guess where to find include files, by looking for this one X11 .h file.
9335 test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
9337 # First, try using that file with no special directory specified.
9338 cat > conftest.
$ac_ext <<EOF
9339 #line 9340 "configure"
9340 #include "confdefs.h"
9341 #include <$x_direct_test_include>
9343 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9344 { (eval echo configure
:9345: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9345 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9346 if test -z "$ac_err"; then
9348 # We can compile using X headers with no special include directory.
9352 echo "configure: failed program was:" >&5
9353 cat conftest.
$ac_ext >&5
9355 # Look for the header file in a standard set of common directories.
9356 # Check X11 before X11Rn because it is often a symlink to the current release.
9359 /usr
/X
11R
6/include \
9360 /usr
/X
11R
5/include \
9361 /usr
/X
11R
4/include \
9364 /usr
/include
/X11R6 \
9365 /usr
/include
/X11R5 \
9366 /usr
/include
/X11R4 \
9368 /usr
/local
/X
11/include \
9369 /usr
/local
/X
11R
6/include \
9370 /usr
/local
/X
11R
5/include \
9371 /usr
/local
/X
11R
4/include \
9373 /usr
/local
/include
/X11 \
9374 /usr
/local
/include
/X11R6 \
9375 /usr
/local
/include
/X11R5 \
9376 /usr
/local
/include
/X11R4 \
9380 /usr
/XFree
86/include
/X11 \
9383 /usr
/local
/include \
9384 /usr
/unsupported
/include \
9385 /usr
/athena
/include \
9386 /usr
/local
/x
11r
5/include \
9387 /usr
/lpp
/Xamples
/include \
9389 /usr
/openwin
/include \
9390 /usr
/openwin
/share
/include \
9393 if test -r "$ac_dir/$x_direct_test_include"; then
9394 ac_x_includes
=$ac_dir
9400 fi # $ac_x_includes = NO
9402 if test "$ac_x_libraries" = NO
; then
9403 # Check for the libraries.
9405 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
9406 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
9408 # See if we find them without any special options.
9409 # Don't add to $LIBS permanently.
9410 ac_save_LIBS
="$LIBS"
9411 LIBS
="-l$x_direct_test_library $LIBS"
9412 cat > conftest.
$ac_ext <<EOF
9413 #line 9414 "configure"
9414 #include "confdefs.h"
9417 ${x_direct_test_function}()
9420 if { (eval echo configure
:9421: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9422 LIBS
="$ac_save_LIBS"
9423 # We can link X programs with no special library path.
9426 echo "configure: failed program was:" >&5
9427 cat conftest.
$ac_ext >&5
9429 LIBS
="$ac_save_LIBS"
9430 # First see if replacing the include by lib works.
9431 # Check X11 before X11Rn because it is often a symlink to the current release.
9432 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib/` \
9443 /usr
/local
/X
11/lib \
9444 /usr
/local
/X
11R
6/lib \
9445 /usr
/local
/X
11R
5/lib \
9446 /usr
/local
/X
11R
4/lib \
9448 /usr
/local
/lib
/X11 \
9449 /usr
/local
/lib
/X11R6 \
9450 /usr
/local
/lib
/X11R5 \
9451 /usr
/local
/lib
/X11R4 \
9455 /usr
/XFree
86/lib
/X11 \
9459 /usr
/unsupported
/lib \
9461 /usr
/local
/x
11r
5/lib \
9462 /usr
/lpp
/Xamples
/lib \
9466 /usr
/openwin
/share
/lib \
9469 for ac_extension
in a so sl
; do
9470 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
9471 ac_x_libraries
=$ac_dir
9478 fi # $ac_x_libraries = NO
9480 if test "$ac_x_includes" = NO
|| test "$ac_x_libraries" = NO
; then
9481 # Didn't find X anywhere. Cache the known absence of X.
9482 ac_cv_have_x
="have_x=no"
9484 # Record where we found X for the cache.
9485 ac_cv_have_x
="have_x=yes \
9486 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
9490 eval "$ac_cv_have_x"
9493 if test "$have_x" != yes; then
9494 echo "$ac_t""$have_x" 1>&6
9497 # If each of the values was on the command line, it overrides each guess.
9498 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
9499 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
9500 # Update the cache value to reflect the command line values.
9501 ac_cv_have_x
="have_x=yes \
9502 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
9503 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
9506 if test "$no_x" = yes; then
9507 # Not all programs may use this symbol, but it does not hurt to define it.
9508 cat >> confdefs.h
<<\EOF
9509 #define X_DISPLAY_MISSING 1
9512 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
9514 if test -n "$x_includes"; then
9515 X_CFLAGS
="$X_CFLAGS -I$x_includes"
9518 # It would also be nice to do this for all -L options, not just this one.
9519 if test -n "$x_libraries"; then
9520 X_LIBS
="$X_LIBS -L$x_libraries"
9521 # For Solaris; some versions of Sun CC require a space after -R and
9522 # others require no space. Words are not sufficient . . . .
9523 case "`(uname -sr) 2>/dev/null`" in
9525 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
9526 echo "configure:9527: checking whether -R must be followed by a space" >&5
9527 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
9528 cat > conftest.
$ac_ext <<EOF
9529 #line 9530 "configure"
9530 #include "confdefs.h"
9536 if { (eval echo configure
:9537: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9540 echo "configure: failed program was:" >&5
9541 cat conftest.
$ac_ext >&5
9546 if test $ac_R_nospace = yes; then
9547 echo "$ac_t""no" 1>&6
9548 X_LIBS
="$X_LIBS -R$x_libraries"
9550 LIBS
="$ac_xsave_LIBS -R $x_libraries"
9551 cat > conftest.
$ac_ext <<EOF
9552 #line 9553 "configure"
9553 #include "confdefs.h"
9559 if { (eval echo configure
:9560: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9563 echo "configure: failed program was:" >&5
9564 cat conftest.
$ac_ext >&5
9569 if test $ac_R_space = yes; then
9570 echo "$ac_t""yes" 1>&6
9571 X_LIBS
="$X_LIBS -R $x_libraries"
9573 echo "$ac_t""neither works" 1>&6
9576 LIBS
="$ac_xsave_LIBS"
9580 # Check for system-dependent libraries X programs must link with.
9581 # Do this before checking for the system-independent R6 libraries
9582 # (-lICE), since we may need -lsocket or whatever for X linking.
9584 if test "$ISC" = yes; then
9585 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
9587 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
9588 # libraries were built with DECnet support. And karl@cs.umb.edu says
9589 # the Alpha needs dnet_stub (dnet does not exist).
9590 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
9591 echo "configure:9592: checking for dnet_ntoa in -ldnet" >&5
9592 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
9593 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9594 echo $ac_n "(cached) $ac_c" 1>&6
9596 ac_save_LIBS
="$LIBS"
9598 cat > conftest.
$ac_ext <<EOF
9599 #line 9600 "configure"
9600 #include "confdefs.h"
9601 /* Override any gcc2 internal prototype to avoid an error. */
9602 /* We use char because int might match the return type of a gcc2
9603 builtin and then its argument prototype would still apply. */
9610 if { (eval echo configure
:9611: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9612 eval "ac_cv_lib_$ac_lib_var=yes"
9614 echo "configure: failed program was:" >&5
9615 cat conftest.
$ac_ext >&5
9617 eval "ac_cv_lib_$ac_lib_var=no"
9620 LIBS
="$ac_save_LIBS"
9623 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9624 echo "$ac_t""yes" 1>&6
9625 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
9627 echo "$ac_t""no" 1>&6
9630 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
9631 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
9632 echo "configure:9633: checking for dnet_ntoa in -ldnet_stub" >&5
9633 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
9634 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9635 echo $ac_n "(cached) $ac_c" 1>&6
9637 ac_save_LIBS
="$LIBS"
9638 LIBS
="-ldnet_stub $LIBS"
9639 cat > conftest.
$ac_ext <<EOF
9640 #line 9641 "configure"
9641 #include "confdefs.h"
9642 /* Override any gcc2 internal prototype to avoid an error. */
9643 /* We use char because int might match the return type of a gcc2
9644 builtin and then its argument prototype would still apply. */
9651 if { (eval echo configure
:9652: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9653 eval "ac_cv_lib_$ac_lib_var=yes"
9655 echo "configure: failed program was:" >&5
9656 cat conftest.
$ac_ext >&5
9658 eval "ac_cv_lib_$ac_lib_var=no"
9661 LIBS
="$ac_save_LIBS"
9664 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9665 echo "$ac_t""yes" 1>&6
9666 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
9668 echo "$ac_t""no" 1>&6
9673 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9674 # to get the SysV transport functions.
9675 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
9677 # The nsl library prevents programs from opening the X display
9678 # on Irix 5.2, according to dickey@clark.net.
9679 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
9680 echo "configure:9681: checking for gethostbyname" >&5
9681 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
9682 echo $ac_n "(cached) $ac_c" 1>&6
9684 cat > conftest.
$ac_ext <<EOF
9685 #line 9686 "configure"
9686 #include "confdefs.h"
9687 /* System header to define __stub macros and hopefully few prototypes,
9688 which can conflict with char gethostbyname(); below. */
9690 /* Override any gcc2 internal prototype to avoid an error. */
9691 /* We use char because int might match the return type of a gcc2
9692 builtin and then its argument prototype would still apply. */
9693 char gethostbyname();
9697 /* The GNU C library defines this for functions which it implements
9698 to always fail with ENOSYS. Some functions are actually named
9699 something starting with __ and the normal name is an alias. */
9700 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
9708 if { (eval echo configure
:9709: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9710 eval "ac_cv_func_gethostbyname=yes"
9712 echo "configure: failed program was:" >&5
9713 cat conftest.
$ac_ext >&5
9715 eval "ac_cv_func_gethostbyname=no"
9720 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
9721 echo "$ac_t""yes" 1>&6
9724 echo "$ac_t""no" 1>&6
9727 if test $ac_cv_func_gethostbyname = no
; then
9728 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
9729 echo "configure:9730: checking for gethostbyname in -lnsl" >&5
9730 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
9731 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9732 echo $ac_n "(cached) $ac_c" 1>&6
9734 ac_save_LIBS
="$LIBS"
9736 cat > conftest.
$ac_ext <<EOF
9737 #line 9738 "configure"
9738 #include "confdefs.h"
9739 /* Override any gcc2 internal prototype to avoid an error. */
9740 /* We use char because int might match the return type of a gcc2
9741 builtin and then its argument prototype would still apply. */
9742 char gethostbyname();
9748 if { (eval echo configure
:9749: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9750 eval "ac_cv_lib_$ac_lib_var=yes"
9752 echo "configure: failed program was:" >&5
9753 cat conftest.
$ac_ext >&5
9755 eval "ac_cv_lib_$ac_lib_var=no"
9758 LIBS
="$ac_save_LIBS"
9761 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9762 echo "$ac_t""yes" 1>&6
9763 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
9765 echo "$ac_t""no" 1>&6
9770 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9771 # socket/setsockopt and other routines are undefined under SCO ODT
9772 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9773 # on later versions), says simon@lia.di.epfl.ch: it contains
9774 # gethostby* variants that don't use the nameserver (or something).
9775 # -lsocket must be given before -lnsl if both are needed.
9776 # We assume that if connect needs -lnsl, so does gethostbyname.
9777 echo $ac_n "checking for connect""... $ac_c" 1>&6
9778 echo "configure:9779: checking for connect" >&5
9779 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
9780 echo $ac_n "(cached) $ac_c" 1>&6
9782 cat > conftest.
$ac_ext <<EOF
9783 #line 9784 "configure"
9784 #include "confdefs.h"
9785 /* System header to define __stub macros and hopefully few prototypes,
9786 which can conflict with char connect(); below. */
9788 /* Override any gcc2 internal prototype to avoid an error. */
9789 /* We use char because int might match the return type of a gcc2
9790 builtin and then its argument prototype would still apply. */
9795 /* The GNU C library defines this for functions which it implements
9796 to always fail with ENOSYS. Some functions are actually named
9797 something starting with __ and the normal name is an alias. */
9798 #if defined (__stub_connect) || defined (__stub___connect)
9806 if { (eval echo configure
:9807: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9808 eval "ac_cv_func_connect=yes"
9810 echo "configure: failed program was:" >&5
9811 cat conftest.
$ac_ext >&5
9813 eval "ac_cv_func_connect=no"
9818 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
9819 echo "$ac_t""yes" 1>&6
9822 echo "$ac_t""no" 1>&6
9825 if test $ac_cv_func_connect = no
; then
9826 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
9827 echo "configure:9828: checking for connect in -lsocket" >&5
9828 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
9829 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9830 echo $ac_n "(cached) $ac_c" 1>&6
9832 ac_save_LIBS
="$LIBS"
9833 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
9834 cat > conftest.
$ac_ext <<EOF
9835 #line 9836 "configure"
9836 #include "confdefs.h"
9837 /* Override any gcc2 internal prototype to avoid an error. */
9838 /* We use char because int might match the return type of a gcc2
9839 builtin and then its argument prototype would still apply. */
9846 if { (eval echo configure
:9847: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9848 eval "ac_cv_lib_$ac_lib_var=yes"
9850 echo "configure: failed program was:" >&5
9851 cat conftest.
$ac_ext >&5
9853 eval "ac_cv_lib_$ac_lib_var=no"
9856 LIBS
="$ac_save_LIBS"
9859 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9860 echo "$ac_t""yes" 1>&6
9861 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
9863 echo "$ac_t""no" 1>&6
9868 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
9869 echo $ac_n "checking for remove""... $ac_c" 1>&6
9870 echo "configure:9871: checking for remove" >&5
9871 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
9872 echo $ac_n "(cached) $ac_c" 1>&6
9874 cat > conftest.
$ac_ext <<EOF
9875 #line 9876 "configure"
9876 #include "confdefs.h"
9877 /* System header to define __stub macros and hopefully few prototypes,
9878 which can conflict with char remove(); below. */
9880 /* Override any gcc2 internal prototype to avoid an error. */
9881 /* We use char because int might match the return type of a gcc2
9882 builtin and then its argument prototype would still apply. */
9887 /* The GNU C library defines this for functions which it implements
9888 to always fail with ENOSYS. Some functions are actually named
9889 something starting with __ and the normal name is an alias. */
9890 #if defined (__stub_remove) || defined (__stub___remove)
9898 if { (eval echo configure
:9899: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9900 eval "ac_cv_func_remove=yes"
9902 echo "configure: failed program was:" >&5
9903 cat conftest.
$ac_ext >&5
9905 eval "ac_cv_func_remove=no"
9910 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
9911 echo "$ac_t""yes" 1>&6
9914 echo "$ac_t""no" 1>&6
9917 if test $ac_cv_func_remove = no
; then
9918 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
9919 echo "configure:9920: checking for remove in -lposix" >&5
9920 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
9921 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9922 echo $ac_n "(cached) $ac_c" 1>&6
9924 ac_save_LIBS
="$LIBS"
9925 LIBS
="-lposix $LIBS"
9926 cat > conftest.
$ac_ext <<EOF
9927 #line 9928 "configure"
9928 #include "confdefs.h"
9929 /* Override any gcc2 internal prototype to avoid an error. */
9930 /* We use char because int might match the return type of a gcc2
9931 builtin and then its argument prototype would still apply. */
9938 if { (eval echo configure
:9939: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9940 eval "ac_cv_lib_$ac_lib_var=yes"
9942 echo "configure: failed program was:" >&5
9943 cat conftest.
$ac_ext >&5
9945 eval "ac_cv_lib_$ac_lib_var=no"
9948 LIBS
="$ac_save_LIBS"
9951 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9952 echo "$ac_t""yes" 1>&6
9953 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
9955 echo "$ac_t""no" 1>&6
9960 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9961 echo $ac_n "checking for shmat""... $ac_c" 1>&6
9962 echo "configure:9963: checking for shmat" >&5
9963 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
9964 echo $ac_n "(cached) $ac_c" 1>&6
9966 cat > conftest.
$ac_ext <<EOF
9967 #line 9968 "configure"
9968 #include "confdefs.h"
9969 /* System header to define __stub macros and hopefully few prototypes,
9970 which can conflict with char shmat(); below. */
9972 /* Override any gcc2 internal prototype to avoid an error. */
9973 /* We use char because int might match the return type of a gcc2
9974 builtin and then its argument prototype would still apply. */
9979 /* The GNU C library defines this for functions which it implements
9980 to always fail with ENOSYS. Some functions are actually named
9981 something starting with __ and the normal name is an alias. */
9982 #if defined (__stub_shmat) || defined (__stub___shmat)
9990 if { (eval echo configure
:9991: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9992 eval "ac_cv_func_shmat=yes"
9994 echo "configure: failed program was:" >&5
9995 cat conftest.
$ac_ext >&5
9997 eval "ac_cv_func_shmat=no"
10002 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
10003 echo "$ac_t""yes" 1>&6
10006 echo "$ac_t""no" 1>&6
10009 if test $ac_cv_func_shmat = no
; then
10010 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
10011 echo "configure:10012: checking for shmat in -lipc" >&5
10012 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
10013 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10014 echo $ac_n "(cached) $ac_c" 1>&6
10016 ac_save_LIBS
="$LIBS"
10018 cat > conftest.
$ac_ext <<EOF
10019 #line 10020 "configure"
10020 #include "confdefs.h"
10021 /* Override any gcc2 internal prototype to avoid an error. */
10022 /* We use char because int might match the return type of a gcc2
10023 builtin and then its argument prototype would still apply. */
10030 if { (eval echo configure
:10031: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10032 eval "ac_cv_lib_$ac_lib_var=yes"
10034 echo "configure: failed program was:" >&5
10035 cat conftest.
$ac_ext >&5
10037 eval "ac_cv_lib_$ac_lib_var=no"
10040 LIBS
="$ac_save_LIBS"
10043 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10044 echo "$ac_t""yes" 1>&6
10045 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
10047 echo "$ac_t""no" 1>&6
10053 # Check for libraries that X11R6 Xt/Xaw programs need.
10054 ac_save_LDFLAGS
="$LDFLAGS"
10055 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
10056 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
10057 # check for ICE first), but we must link in the order -lSM -lICE or
10058 # we get undefined symbols. So assume we have SM if we have ICE.
10059 # These have to be linked with before -lX11, unlike the other
10060 # libraries we check for below, so use a different variable.
10061 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
10062 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
10063 echo "configure:10064: checking for IceConnectionNumber in -lICE" >&5
10064 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
10065 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10066 echo $ac_n "(cached) $ac_c" 1>&6
10068 ac_save_LIBS
="$LIBS"
10069 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
10070 cat > conftest.
$ac_ext <<EOF
10071 #line 10072 "configure"
10072 #include "confdefs.h"
10073 /* Override any gcc2 internal prototype to avoid an error. */
10074 /* We use char because int might match the return type of a gcc2
10075 builtin and then its argument prototype would still apply. */
10076 char IceConnectionNumber();
10079 IceConnectionNumber()
10082 if { (eval echo configure
:10083: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10084 eval "ac_cv_lib_$ac_lib_var=yes"
10086 echo "configure: failed program was:" >&5
10087 cat conftest.
$ac_ext >&5
10089 eval "ac_cv_lib_$ac_lib_var=no"
10092 LIBS
="$ac_save_LIBS"
10095 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10096 echo "$ac_t""yes" 1>&6
10097 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
10099 echo "$ac_t""no" 1>&6
10102 LDFLAGS
="$ac_save_LDFLAGS"
10106 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
10107 LDFLAGS
="$LDFLAGS $X_LIBS"
10109 if test "$wxUSE_MOTIF" = 1; then
10110 if test "$no_x" = "yes"; then
10111 { echo "configure: error: X11 not found" 1>&2; exit 1; }
10114 GUI_TK_LIBRARY
="$X_LIBS"
10115 TOOLKIT_INCLUDE
="$X_CFLAGS"
10117 AFMINSTALL
=afminstall
10120 COMPILED_X_PROGRAM
=0
10122 echo $ac_n "checking for Motif/Lesstif headers""... $ac_c" 1>&6
10123 echo "configure:10124: checking for Motif/Lesstif headers" >&5
10126 for ac_dir
in $SEARCH_INCLUDE;
10128 if test -f "$ac_dir/Xm/Xm.h"; then
10129 ac_find_includes
=$ac_dir
10134 if test "$ac_find_includes" != "" ; then
10135 echo "$ac_t""found $ac_find_includes" 1>&6
10137 cat > conftest.
$ac_ext <<EOF
10138 #line 10139 "configure"
10139 #include "confdefs.h"
10147 version = xmUseVersion;
10151 if { (eval echo configure
:10152: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10154 echo "$ac_t""found in default search path" 1>&6
10155 COMPILED_X_PROGRAM
=1
10158 echo "configure: failed program was:" >&5
10159 cat conftest.
$ac_ext >&5
10162 echo "$ac_t""no" 1>&6
10163 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
10170 if test "$COMPILED_X_PROGRAM" = 0; then
10171 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
10172 echo "configure:10173: checking for Motif/Lesstif library" >&5
10175 for ac_dir
in $SEARCH_LIB;
10177 for ac_extension
in a so sl
; do
10178 if test -f "$ac_dir/libXm.$ac_extension"; then
10179 ac_find_libraries
=$ac_dir
10185 if test "$ac_find_libraries" != "" ; then
10187 ac_path_to_include
=$ac_find_includes
10188 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
10190 if test $result = 0; then
10191 ac_path_to_include
=""
10193 ac_path_to_include
="-I$ac_find_includes"
10197 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
10199 if test $result = 0; then
10202 ac_path_to_link
="-L$ac_find_libraries"
10206 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
10207 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE $ac_path_to_include"
10208 echo "$ac_t""found at $ac_find_libraries" 1>&6
10210 cat > conftest.
$ac_ext <<EOF
10211 #line 10212 "configure"
10212 #include "confdefs.h"
10220 version = xmUseVersion;
10224 if { (eval echo configure
:10225: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10227 echo "$ac_t""found in default search path" 1>&6
10228 COMPILED_X_PROGRAM
=1
10231 echo "configure: failed program was:" >&5
10232 cat conftest.
$ac_ext >&5
10235 echo "$ac_t""no" 1>&6
10236 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
10246 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
10247 echo "configure:10248: checking for Xpm library" >&5
10250 for ac_dir
in $SEARCH_LIB;
10252 for ac_extension
in a so sl
; do
10253 if test -f "$ac_dir/libXpm.$ac_extension"; then
10254 ac_find_libraries
=$ac_dir
10260 if test "$ac_find_libraries" != "" ; then
10262 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
10264 if test $result = 0; then
10267 ac_path_to_link
="-L$ac_find_libraries"
10270 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
10272 cat >> confdefs.h
<<\EOF
10273 #define wxHAVE_LIB_XPM 1
10276 echo "$ac_t""found at $ac_find_libraries" 1>&6
10278 cat > conftest.
$ac_ext <<EOF
10279 #line 10280 "configure"
10280 #include "confdefs.h"
10282 #include <X11/xpm.h>
10288 version = XpmLibraryVersion();
10292 if { (eval echo configure
:10293: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10296 cat >> confdefs.h
<<\EOF
10297 #define wxHAVE_LIB_XPM 1
10300 echo "$ac_t""found in default search path" 1>&6
10301 COMPILED_X_PROGRAM
=0
10304 echo "configure: failed program was:" >&5
10305 cat conftest.
$ac_ext >&5
10308 echo "$ac_t""no" 1>&6
10309 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
10316 GUI_TK_LINK
="-lXm $XPM_LINK -lXmu -lXext -lXt -lX11"
10317 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GUI_TK_LINK"
10322 if test "$wxUSE_MAC" = 1; then
10327 if test "$wxUSE_PM" = 1; then
10332 if test "$TOOLKIT" != "PM" ; then
10333 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
10338 TOOLKIT_NAME
="${TOOLKIT_DIR}"
10340 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}"
10342 if test "$TOOLKIT_NAME" = "motif"; then
10343 TOOLKIT_VPATH
="${TOOLKIT_VPATH}${PATH_IFS}\${top_srcdir}/src/motif/xmcombo"
10346 if test "$wxUSE_UNIVERSAL" = "yes"; then
10347 TOOLKIT_NAME
="${TOOLKIT_NAME}univ"
10348 UNIV_VPATH
="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
10349 TOOLKIT_VPATH
="${UNIV_VPATH}${PATH_IFS}${TOOLKIT_VPATH}"
10352 SETUPH_DIR
="${TOOLKIT_DIR}"
10355 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
10356 TOOLKIT_NAME
="${TOOLKIT_NAME}d"
10359 TOOLKIT_DEF
="-D__WX${TOOLKIT}__"
10360 if test "$wxUSE_UNIVERSAL" = "yes"; then
10361 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WXUNIVERSAL__"
10364 WX_LIBRARY
="wx_${TOOLKIT_NAME}"
10366 if test "$wxUSE_UNIVERSAL" = "yes"; then
10367 ALL_OBJECTS
="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
10369 ALL_OBJECTS
="\$(GUIOBJS)"
10372 ALL_OBJECTS
="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
10374 if test "$TOOLKIT" != "MSW"; then
10375 ALL_OBJECTS
="${ALL_OBJECTS} \$(UNIXOBJS)"
10378 if test "$wxUSE_HTML" = "yes"; then
10379 ALL_OBJECTS
="${ALL_OBJECTS} \$(HTMLOBJS)"
10382 if test "$TOOLKIT" != "MSW"; then
10383 if test "$wxUSE_ODBC" = "yes" ; then
10384 ALL_OBJECTS
="${ALL_OBJECTS} \$(IODBCOBJS)"
10388 if test "$wxUSE_LIBJPEG" = "yes" ; then
10389 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
10391 if test "$wxUSE_LIBTIFF" = "yes" ; then
10392 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
10394 if test "$wxUSE_LIBPNG" = "yes" ; then
10395 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
10397 if test "$wxUSE_ZLIB" = "yes" ; then
10398 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
10400 if test "$wxUSE_FREETYPE" = "yes" ; then
10401 ALL_OBJECTS
="${ALL_OBJECTS} \$(FREETYPEOBJS)"
10404 if test "$wxUSE_UNIVERSAL" = "yes"; then
10405 ALL_DEPFILES
="\$(GUI_LOWLEVEL_DEPS) \$(UNIVDEPS)"
10407 ALL_DEPFILES
="\$(GUIDEPS)"
10410 ALL_DEPFILES
="${ALL_DEPFILES} \$(COMMONDEPS) \$(GENERICDEPS)"
10412 if test "$TOOLKIT" != "MSW"; then
10413 ALL_DEPFILES
="${ALL_DEPFILES} \$(UNIXDEPS)"
10416 if test "$wxUSE_HTML" = "yes"; then
10417 ALL_DEPFILES
="${ALL_DEPFILES} \$(HTMLDEPS)"
10420 PORT_FILES
="src/\$(TOOLKITDIR)/files.lst"
10421 if test "$wxUSE_UNIVERSAL" = "yes"; then
10422 PORT_FILES
="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
10424 RPM_FILES
="src/\$(TOOLKITDIR)/rpmfiles.lst"
10425 RPM_SPEC
="wx\$(TOOLKIT).spec"
10427 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
10428 DISTDIR
="wx\$(TOOLKIT)"
10434 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
10435 TOOLKIT_NAME
="${TOOLKIT_DIR}d"
10437 TOOLKIT_NAME
="${TOOLKIT_DIR}"
10440 TOOLKIT_DEF
="-D__WXBASE__"
10442 ALL_OBJECTS
="\$(BASE_OBJS) \$(BASE_UNIX_OBJS)"
10443 ALL_DEPFILES
="\$(BASE_DEPS) \$(BASE_UNIX_DEPS)"
10445 if test "$wxUSE_ZLIB" = "yes" ; then
10446 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
10449 WX_LIBRARY
="wx_${TOOLKIT_NAME}"
10451 PORT_FILES
="src/files.lst"
10452 RPM_FILES
="src/rpmfiles.lst"
10453 RPM_SPEC
="wxBase.spec"
10455 GUIDIST
="BASE_DIST"
10459 WX_LIBRARY_NAME
="lib${WX_LIBRARY}.la"
10460 WX_LIBRARY_NAME_GL
="lib${WX_LIBRARY}_gl.la"
10462 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
10463 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY}_gl.a"
10465 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}-${WX_RELEASE}.so.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
10466 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.so.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
10468 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}-${WX_RELEASE}.so.${WX_CURRENT}"
10469 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}-${WX_RELEASE}.so"
10470 WX_LIBRARY_LINK3
="lib${WX_LIBRARY}.so"
10471 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.so.${WX_CURRENT}"
10472 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.so"
10473 WX_LIBRARY_LINK3_GL
="lib${WX_LIBRARY}_gl.so"
10479 BURNT_LIBRARY_NAME
=
10480 WX_TARGET_LIBRARY_SONAME
=
10483 if test "$wxUSE_SHARED" = "yes"; then
10486 if test "$GCC" = yes ; then
10487 SHARED_LD
="${CC} -shared -fPIC -o"
10490 LDFLAGS
="-L/usr/lib"
10492 SHARED_LD
="${CXX} -b -o"
10495 WX_LIBRARY_NAME_SHARED
="libwx_${TOOLKIT_NAME}.sl"
10496 WX_LIBRARY_NAME_SHARED_GL
="libwx_${TOOLKIT_NAME}_gl.sl"
10497 if test "$wxUSE_OPENGL" = "yes"; then
10498 WX_ALL_INSTALLED
="preinstall_gl"
10499 WX_ALL
="${WX_LIBRARY_NAME_SHARED} ${WX_LIBRARY_NAME_SHARED_GL}"
10501 WX_ALL
="${WX_LIBRARY_NAME_SHARED}"
10506 SHARED_LD
="${CC} -shared -o"
10508 if test "$wxUSE_BURNT_NAME" = "yes" ; then
10509 BURNT_LIBRARY_NAME
="-Wl,-soname,${WX_LIBRARY_LINK1}"
10510 BURNT_LIBRARY_NAME_GL
="-Wl,-soname,${WX_LIBRARY_LINK1_GL}"
10511 WX_TARGET_LIBRARY_SONAME
="-Wl,-soname,\$(TARGETLIB_LINK1)"
10513 if test "$wxUSE_OPENGL" = "yes"; then
10514 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
10515 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
10517 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10518 WX_ALL
="CREATE_LINKS"
10521 *-*-irix5* | *-*-irix6* )
10522 if test "$GCC" = yes ; then
10523 SHARED_LD
="${CC} -shared -o"
10526 SHARED_LD
="${CXX} -shared -o"
10528 if test "$wxUSE_OPENGL" = "yes"; then
10529 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
10530 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
10532 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10533 WX_ALL
="CREATE_LINKS"
10537 if test "$GCC" = yes ; then
10538 SHARED_LD
="${CC} -shared -o"
10541 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
10543 SHARED_LD
="${CXX} -G -o"
10546 if test "$wxUSE_OPENGL" = "yes"; then
10547 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
10548 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
10550 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10551 WX_ALL
="CREATE_LINKS"
10555 SHARED_LD
="${CC} -shared -o"
10557 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10558 WX_ALL
="CREATE_LINKS"
10560 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* )
10561 SHARED_LD
="${CC} -shared -o"
10563 if test "$wxUSE_OPENGL" = "yes"; then
10564 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
10565 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
10567 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10568 WX_ALL
="CREATE_LINKS"
10572 SHARED_LD
="${CXX} -dynamiclib -o"
10573 PIC_FLAG
="-dynamic -fPIC"
10574 if test "$wxUSE_OPENGL" = "yes"; then
10575 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
10576 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
10578 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10579 WX_ALL
="CREATE_LINKS"
10581 WX_ALL
="${WX_ALL} ./lib/lib${WX_LIBRARY}-${WX_RELEASE}.r"
10582 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}-${WX_RELEASE}.dylib.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
10583 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.dylib.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
10584 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}-${WX_RELEASE}.dylib.${WX_CURRENT}"
10585 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}-${WX_RELEASE}.dylib"
10586 WX_LIBRARY_LINK3
="lib${WX_LIBRARY}.dylib"
10587 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.dylib.${WX_CURRENT}"
10588 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.dylib"
10589 WX_LIBRARY_LINK3_GL
="lib${WX_LIBRARY}_gl.dylib"
10592 SHARED_LD
="${CXX} -shared -o"
10594 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10595 WX_ALL
="CREATE_LINKS"
10598 SHARED_LD
="${CXX} -shared -o"
10600 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10601 WX_ALL
="CREATE_LINKS"
10604 SHARED_LD
="${CC} -shared -o"
10606 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10607 WX_ALL
="CREATE_LINKS"
10610 SHARED_LD
="/usr/lpp/xlC/bin/makeC++SharedLib -p 0 -o"
10611 WX_ALL
=${WX_LIBRARY_NAME_SHARED}
10614 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
10615 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
10616 if test "$wxUSE_OPENGL" = "yes"; then
10617 WX_ALL_INSTALLED
="preinstall_gl"
10618 WX_ALL
="${WX_LIBRARY_NAME_STATIC} ${WX_LIBRARY_NAME_STATIC_GL}"
10620 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
10624 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
10625 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
10626 if test "$wxUSE_OPENGL" = "yes"; then
10627 WX_ALL_INSTALLED
="preinstall_gl"
10628 WX_ALL
="${WX_LIBRARY_NAME_STATIC} ${WX_LIBRARY_NAME_STATIC_GL}"
10630 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
10634 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
10635 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
10638 SHARED_LD
="${LD} -shared -o"
10640 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10641 WX_ALL
="CREATE_LINKS"
10644 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
10647 if test "x$WX_TARGET_LIBRARY" = "x"; then
10648 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
10649 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
10651 WX_TARGET_LIBRARY_TYPE
="so"
10653 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
10654 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
10656 if test "$wxUSE_OPENGL" = "yes"; then
10657 WX_ALL_INSTALLED
="preinstall_gl"
10658 WX_ALL
="${WX_LIBRARY_NAME_STATIC} ${WX_LIBRARY_NAME_STATIC_GL}"
10660 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
10663 if test "$wxUSE_GUI" = "no"; then
10664 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
10667 WX_TARGET_LIBRARY_TYPE
="a"
10671 for ac_hdr
in strings.h
10673 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10674 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10675 echo "configure:10676: checking for $ac_hdr" >&5
10676 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10677 echo $ac_n "(cached) $ac_c" 1>&6
10679 cat > conftest.
$ac_ext <<EOF
10680 #line 10681 "configure"
10681 #include "confdefs.h"
10684 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10685 { (eval echo configure
:10686: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10686 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10687 if test -z "$ac_err"; then
10689 eval "ac_cv_header_$ac_safe=yes"
10692 echo "configure: failed program was:" >&5
10693 cat conftest.
$ac_ext >&5
10695 eval "ac_cv_header_$ac_safe=no"
10699 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10700 echo "$ac_t""yes" 1>&6
10701 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10702 cat >> confdefs.h
<<EOF
10703 #define $ac_tr_hdr 1
10707 echo "$ac_t""no" 1>&6
10711 for ac_hdr
in stdlib.h
10713 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10714 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10715 echo "configure:10716: checking for $ac_hdr" >&5
10716 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10717 echo $ac_n "(cached) $ac_c" 1>&6
10719 cat > conftest.
$ac_ext <<EOF
10720 #line 10721 "configure"
10721 #include "confdefs.h"
10724 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10725 { (eval echo configure
:10726: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10726 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10727 if test -z "$ac_err"; then
10729 eval "ac_cv_header_$ac_safe=yes"
10732 echo "configure: failed program was:" >&5
10733 cat conftest.
$ac_ext >&5
10735 eval "ac_cv_header_$ac_safe=no"
10739 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10740 echo "$ac_t""yes" 1>&6
10741 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10742 cat >> confdefs.h
<<EOF
10743 #define $ac_tr_hdr 1
10747 echo "$ac_t""no" 1>&6
10751 for ac_hdr
in unistd.h
10753 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10754 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10755 echo "configure:10756: checking for $ac_hdr" >&5
10756 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10757 echo $ac_n "(cached) $ac_c" 1>&6
10759 cat > conftest.
$ac_ext <<EOF
10760 #line 10761 "configure"
10761 #include "confdefs.h"
10764 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10765 { (eval echo configure
:10766: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10766 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10767 if test -z "$ac_err"; then
10769 eval "ac_cv_header_$ac_safe=yes"
10772 echo "configure: failed program was:" >&5
10773 cat conftest.
$ac_ext >&5
10775 eval "ac_cv_header_$ac_safe=no"
10779 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10780 echo "$ac_t""yes" 1>&6
10781 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10782 cat >> confdefs.h
<<EOF
10783 #define $ac_tr_hdr 1
10787 echo "$ac_t""no" 1>&6
10791 for ac_hdr
in wchar.h
10793 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10794 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10795 echo "configure:10796: checking for $ac_hdr" >&5
10796 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10797 echo $ac_n "(cached) $ac_c" 1>&6
10799 cat > conftest.
$ac_ext <<EOF
10800 #line 10801 "configure"
10801 #include "confdefs.h"
10804 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10805 { (eval echo configure
:10806: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10806 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10807 if test -z "$ac_err"; then
10809 eval "ac_cv_header_$ac_safe=yes"
10812 echo "configure: failed program was:" >&5
10813 cat conftest.
$ac_ext >&5
10815 eval "ac_cv_header_$ac_safe=no"
10819 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10820 echo "$ac_t""yes" 1>&6
10821 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10822 cat >> confdefs.h
<<EOF
10823 #define $ac_tr_hdr 1
10827 echo "$ac_t""no" 1>&6
10831 for ac_hdr
in wcstr.h
10833 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10834 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10835 echo "configure:10836: checking for $ac_hdr" >&5
10836 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10837 echo $ac_n "(cached) $ac_c" 1>&6
10839 cat > conftest.
$ac_ext <<EOF
10840 #line 10841 "configure"
10841 #include "confdefs.h"
10844 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10845 { (eval echo configure
:10846: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10846 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10847 if test -z "$ac_err"; then
10849 eval "ac_cv_header_$ac_safe=yes"
10852 echo "configure: failed program was:" >&5
10853 cat conftest.
$ac_ext >&5
10855 eval "ac_cv_header_$ac_safe=no"
10859 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10860 echo "$ac_t""yes" 1>&6
10861 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10862 cat >> confdefs.h
<<EOF
10863 #define $ac_tr_hdr 1
10867 echo "$ac_t""no" 1>&6
10871 for ac_hdr
in fnmatch.h
10873 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10874 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10875 echo "configure:10876: checking for $ac_hdr" >&5
10876 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10877 echo $ac_n "(cached) $ac_c" 1>&6
10879 cat > conftest.
$ac_ext <<EOF
10880 #line 10881 "configure"
10881 #include "confdefs.h"
10884 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10885 { (eval echo configure
:10886: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10886 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10887 if test -z "$ac_err"; then
10889 eval "ac_cv_header_$ac_safe=yes"
10892 echo "configure: failed program was:" >&5
10893 cat conftest.
$ac_ext >&5
10895 eval "ac_cv_header_$ac_safe=no"
10899 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10900 echo "$ac_t""yes" 1>&6
10901 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10902 cat >> confdefs.h
<<EOF
10903 #define $ac_tr_hdr 1
10907 echo "$ac_t""no" 1>&6
10911 for ac_hdr
in iconv.h
10913 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10914 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10915 echo "configure:10916: checking for $ac_hdr" >&5
10916 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10917 echo $ac_n "(cached) $ac_c" 1>&6
10919 cat > conftest.
$ac_ext <<EOF
10920 #line 10921 "configure"
10921 #include "confdefs.h"
10924 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10925 { (eval echo configure
:10926: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10926 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10927 if test -z "$ac_err"; then
10929 eval "ac_cv_header_$ac_safe=yes"
10932 echo "configure: failed program was:" >&5
10933 cat conftest.
$ac_ext >&5
10935 eval "ac_cv_header_$ac_safe=no"
10939 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10940 echo "$ac_t""yes" 1>&6
10941 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10942 cat >> confdefs.h
<<EOF
10943 #define $ac_tr_hdr 1
10947 echo "$ac_t""no" 1>&6
10951 for ac_hdr
in langinfo.h
10953 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10954 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10955 echo "configure:10956: checking for $ac_hdr" >&5
10956 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10957 echo $ac_n "(cached) $ac_c" 1>&6
10959 cat > conftest.
$ac_ext <<EOF
10960 #line 10961 "configure"
10961 #include "confdefs.h"
10964 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10965 { (eval echo configure
:10966: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10966 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10967 if test -z "$ac_err"; then
10969 eval "ac_cv_header_$ac_safe=yes"
10972 echo "configure: failed program was:" >&5
10973 cat conftest.
$ac_ext >&5
10975 eval "ac_cv_header_$ac_safe=no"
10979 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10980 echo "$ac_t""yes" 1>&6
10981 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10982 cat >> confdefs.h
<<EOF
10983 #define $ac_tr_hdr 1
10987 echo "$ac_t""no" 1>&6
10992 if test "$wxUSE_GUI" = "yes"; then
10993 if test "$wxUSE_UNIX" = "yes"; then
10994 for ac_hdr
in X
11/XKBlib.h
10996 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10997 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10998 echo "configure:10999: checking for $ac_hdr" >&5
10999 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11000 echo $ac_n "(cached) $ac_c" 1>&6
11002 cat > conftest.
$ac_ext <<EOF
11003 #line 11004 "configure"
11004 #include "confdefs.h"
11007 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11008 { (eval echo configure
:11009: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11009 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11010 if test -z "$ac_err"; then
11012 eval "ac_cv_header_$ac_safe=yes"
11015 echo "configure: failed program was:" >&5
11016 cat conftest.
$ac_ext >&5
11018 eval "ac_cv_header_$ac_safe=no"
11022 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11023 echo "$ac_t""yes" 1>&6
11024 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11025 cat >> confdefs.h
<<EOF
11026 #define $ac_tr_hdr 1
11030 echo "$ac_t""no" 1>&6
11038 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
11039 echo "configure:11040: checking for ANSI C header files" >&5
11040 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
11041 echo $ac_n "(cached) $ac_c" 1>&6
11043 cat > conftest.
$ac_ext <<EOF
11044 #line 11045 "configure"
11045 #include "confdefs.h"
11046 #include <stdlib.h>
11047 #include <stdarg.h>
11048 #include <string.h>
11051 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11052 { (eval echo configure
:11053: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11053 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11054 if test -z "$ac_err"; then
11056 ac_cv_header_stdc
=yes
11059 echo "configure: failed program was:" >&5
11060 cat conftest.
$ac_ext >&5
11062 ac_cv_header_stdc
=no
11066 if test $ac_cv_header_stdc = yes; then
11067 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11068 cat > conftest.
$ac_ext <<EOF
11069 #line 11070 "configure"
11070 #include "confdefs.h"
11071 #include <string.h>
11073 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11074 egrep "memchr" >/dev
/null
2>&1; then
11078 ac_cv_header_stdc
=no
11084 if test $ac_cv_header_stdc = yes; then
11085 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
11086 cat > conftest.
$ac_ext <<EOF
11087 #line 11088 "configure"
11088 #include "confdefs.h"
11089 #include <stdlib.h>
11091 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11092 egrep "free" >/dev
/null
2>&1; then
11096 ac_cv_header_stdc
=no
11102 if test $ac_cv_header_stdc = yes; then
11103 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
11104 if test "$cross_compiling" = yes; then
11107 cat > conftest.
$ac_ext <<EOF
11108 #line 11109 "configure"
11109 #include "confdefs.h"
11111 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
11112 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
11113 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
11114 int main () { int i; for (i = 0; i < 256; i++)
11115 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
11119 if { (eval echo configure
:11120: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11123 echo "configure: failed program was:" >&5
11124 cat conftest.
$ac_ext >&5
11126 ac_cv_header_stdc
=no
11134 echo "$ac_t""$ac_cv_header_stdc" 1>&6
11135 if test $ac_cv_header_stdc = yes; then
11136 cat >> confdefs.h
<<\EOF
11137 #define STDC_HEADERS 1
11142 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
11143 echo "configure:11144: checking for mode_t" >&5
11144 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
11145 echo $ac_n "(cached) $ac_c" 1>&6
11147 cat > conftest.
$ac_ext <<EOF
11148 #line 11149 "configure"
11149 #include "confdefs.h"
11150 #include <sys/types.h>
11152 #include <stdlib.h>
11153 #include <stddef.h>
11156 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11157 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
11159 ac_cv_type_mode_t
=yes
11162 ac_cv_type_mode_t
=no
11167 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
11168 if test $ac_cv_type_mode_t = no
; then
11169 cat >> confdefs.h
<<\EOF
11175 echo $ac_n "checking for off_t""... $ac_c" 1>&6
11176 echo "configure:11177: checking for off_t" >&5
11177 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
11178 echo $ac_n "(cached) $ac_c" 1>&6
11180 cat > conftest.
$ac_ext <<EOF
11181 #line 11182 "configure"
11182 #include "confdefs.h"
11183 #include <sys/types.h>
11185 #include <stdlib.h>
11186 #include <stddef.h>
11189 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11190 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
11192 ac_cv_type_off_t
=yes
11195 ac_cv_type_off_t
=no
11200 echo "$ac_t""$ac_cv_type_off_t" 1>&6
11201 if test $ac_cv_type_off_t = no
; then
11202 cat >> confdefs.h
<<\EOF
11208 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
11209 echo "configure:11210: checking for pid_t" >&5
11210 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
11211 echo $ac_n "(cached) $ac_c" 1>&6
11213 cat > conftest.
$ac_ext <<EOF
11214 #line 11215 "configure"
11215 #include "confdefs.h"
11216 #include <sys/types.h>
11218 #include <stdlib.h>
11219 #include <stddef.h>
11222 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11223 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
11225 ac_cv_type_pid_t
=yes
11228 ac_cv_type_pid_t
=no
11233 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
11234 if test $ac_cv_type_pid_t = no
; then
11235 cat >> confdefs.h
<<\EOF
11241 echo $ac_n "checking for size_t""... $ac_c" 1>&6
11242 echo "configure:11243: checking for size_t" >&5
11243 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
11244 echo $ac_n "(cached) $ac_c" 1>&6
11246 cat > conftest.
$ac_ext <<EOF
11247 #line 11248 "configure"
11248 #include "confdefs.h"
11249 #include <sys/types.h>
11251 #include <stdlib.h>
11252 #include <stddef.h>
11255 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11256 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
11258 ac_cv_type_size_t
=yes
11261 ac_cv_type_size_t
=no
11266 echo "$ac_t""$ac_cv_type_size_t" 1>&6
11267 if test $ac_cv_type_size_t = no
; then
11268 cat >> confdefs.h
<<\EOF
11269 #define size_t unsigned
11274 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
11275 echo "configure:11276: checking for uid_t in sys/types.h" >&5
11276 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
11277 echo $ac_n "(cached) $ac_c" 1>&6
11279 cat > conftest.
$ac_ext <<EOF
11280 #line 11281 "configure"
11281 #include "confdefs.h"
11282 #include <sys/types.h>
11284 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11285 egrep "uid_t" >/dev
/null
2>&1; then
11287 ac_cv_type_uid_t
=yes
11290 ac_cv_type_uid_t
=no
11296 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
11297 if test $ac_cv_type_uid_t = no
; then
11298 cat >> confdefs.h
<<\EOF
11302 cat >> confdefs.h
<<\EOF
11309 echo $ac_n "checking for wchar_t""... $ac_c" 1>&6
11310 echo "configure:11311: checking for wchar_t" >&5
11311 if eval "test \"`echo '$''{'wx_cv_type_wchar_t'+set}'`\" = set"; then
11312 echo $ac_n "(cached) $ac_c" 1>&6
11315 cat > conftest.
$ac_ext <<EOF
11316 #line 11317 "configure"
11317 #include "confdefs.h"
11323 ws = L"Hello, world!";
11327 if { (eval echo configure
:11328: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11329 wx_cv_type_wchar_t
=yes
11331 echo "configure: failed program was:" >&5
11332 cat conftest.
$ac_ext >&5
11334 cat > conftest.
$ac_ext <<EOF
11335 #line 11336 "configure"
11336 #include "confdefs.h"
11337 #include <stdlib.h>
11342 ws = L"Hello, world!";
11346 if { (eval echo configure
:11347: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11348 wx_cv_type_wchar_t
=yes
11350 echo "configure: failed program was:" >&5
11351 cat conftest.
$ac_ext >&5
11353 wx_cv_type_wchar_t
=no
11362 echo "$ac_t""$wx_cv_type_wchar_t" 1>&6
11364 if test "$wx_cv_type_wchar_t" = "yes"; then
11365 cat >> confdefs.h
<<\EOF
11366 #define wxUSE_WCHAR_T 1
11373 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11374 ac_cpp
='$CXXCPP $CPPFLAGS'
11375 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11376 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11377 cross_compiling
=$ac_cv_prog_cxx_cross
11379 echo $ac_n "checking if size_t is unsigned int""... $ac_c" 1>&6
11380 echo "configure:11381: checking if size_t is unsigned int" >&5
11381 if eval "test \"`echo '$''{'wx_cv_size_t_is_uint'+set}'`\" = set"; then
11382 echo $ac_n "(cached) $ac_c" 1>&6
11384 cat > conftest.
$ac_ext <<EOF
11385 #line 11386 "configure"
11386 #include "confdefs.h"
11387 #include <stddef.h>
11392 struct Foo { void foo(size_t); void foo(unsigned int); };
11398 if { (eval echo configure
:11399: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11400 wx_cv_size_t_is_uint
=no
11402 echo "configure: failed program was:" >&5
11403 cat conftest.
$ac_ext >&5
11405 wx_cv_size_t_is_uint
=yes
11412 echo "$ac_t""$wx_cv_size_t_is_uint" 1>&6
11414 if test "$wx_cv_size_t_is_uint" = "yes"; then
11415 cat >> confdefs.h
<<\EOF
11416 #define wxSIZE_T_IS_UINT 1
11420 echo $ac_n "checking if size_t is unsigned long""... $ac_c" 1>&6
11421 echo "configure:11422: checking if size_t is unsigned long" >&5
11422 if eval "test \"`echo '$''{'wx_cv_size_t_is_ulong'+set}'`\" = set"; then
11423 echo $ac_n "(cached) $ac_c" 1>&6
11425 cat > conftest.
$ac_ext <<EOF
11426 #line 11427 "configure"
11427 #include "confdefs.h"
11428 #include <stddef.h>
11433 struct Foo { void foo(size_t); void foo(unsigned long); };
11439 if { (eval echo configure
:11440: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11441 wx_cv_size_t_is_ulong
=no
11443 echo "configure: failed program was:" >&5
11444 cat conftest.
$ac_ext >&5
11446 wx_cv_size_t_is_ulong
=yes
11453 echo "$ac_t""$wx_cv_size_t_is_ulong" 1>&6
11455 if test "$wx_cv_size_t_is_ulong" = "yes"; then
11456 cat >> confdefs.h
<<\EOF
11457 #define wxSIZE_T_IS_ULONG 1
11464 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11465 ac_cpp
='$CPP $CPPFLAGS'
11466 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11467 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11468 cross_compiling
=$ac_cv_prog_cc_cross
11472 echo $ac_n "checking for pw_gecos in struct passwd""... $ac_c" 1>&6
11473 echo "configure:11474: checking for pw_gecos in struct passwd" >&5
11474 if eval "test \"`echo '$''{'wx_cv_struct_pw_gecos'+set}'`\" = set"; then
11475 echo $ac_n "(cached) $ac_c" 1>&6
11478 cat > conftest.
$ac_ext <<EOF
11479 #line 11480 "configure"
11480 #include "confdefs.h"
11490 if { (eval echo configure
:11491: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11493 wx_cv_struct_pw_gecos
=yes
11496 echo "configure: failed program was:" >&5
11497 cat conftest.
$ac_ext >&5
11500 wx_cv_struct_pw_gecos
=no
11509 echo "$ac_t""$wx_cv_struct_pw_gecos" 1>&6
11511 if test "$wx_cv_struct_pw_gecos" = "yes"; then
11512 cat >> confdefs.h
<<\EOF
11513 #define HAVE_PW_GECOS 1
11519 echo $ac_n "checking for working const""... $ac_c" 1>&6
11520 echo "configure:11521: checking for working const" >&5
11521 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
11522 echo $ac_n "(cached) $ac_c" 1>&6
11524 cat > conftest.
$ac_ext <<EOF
11525 #line 11526 "configure"
11526 #include "confdefs.h"
11530 /* Ultrix mips cc rejects this. */
11531 typedef int charset[2]; const charset x;
11532 /* SunOS 4.1.1 cc rejects this. */
11533 char const *const *ccp;
11535 /* NEC SVR4.0.2 mips cc rejects this. */
11536 struct point {int x, y;};
11537 static struct point const zero = {0,0};
11538 /* AIX XL C 1.02.0.0 rejects this.
11539 It does not let you subtract one const X* pointer from another in an arm
11540 of an if-expression whose if-part is not a constant expression */
11541 const char *g = "string";
11542 ccp = &g + (g ? g-g : 0);
11543 /* HPUX 7.0 cc rejects these. */
11546 ccp = (char const *const *) p;
11547 { /* SCO 3.2v4 cc rejects this. */
11549 char const *s = 0 ? (char *) 0 : (char const *) 0;
11553 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
11554 int x[] = {25, 17};
11555 const int *foo = &x[0];
11558 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
11559 typedef const int *iptr;
11563 { /* AIX XL C 1.02.0.0 rejects this saying
11564 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
11565 struct s { int j; const int *ap[3]; };
11566 struct s *b; b->j = 5;
11568 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
11569 const int foo = 10;
11574 if { (eval echo configure
:11575: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11578 echo "configure: failed program was:" >&5
11579 cat conftest.
$ac_ext >&5
11586 echo "$ac_t""$ac_cv_c_const" 1>&6
11587 if test $ac_cv_c_const = no
; then
11588 cat >> confdefs.h
<<\EOF
11594 echo $ac_n "checking for inline""... $ac_c" 1>&6
11595 echo "configure:11596: checking for inline" >&5
11596 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
11597 echo $ac_n "(cached) $ac_c" 1>&6
11600 for ac_kw
in inline __inline__ __inline
; do
11601 cat > conftest.
$ac_ext <<EOF
11602 #line 11603 "configure"
11603 #include "confdefs.h"
11609 if { (eval echo configure
:11610: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11611 ac_cv_c_inline
=$ac_kw; break
11613 echo "configure: failed program was:" >&5
11614 cat conftest.
$ac_ext >&5
11621 echo "$ac_t""$ac_cv_c_inline" 1>&6
11622 case "$ac_cv_c_inline" in
11624 no
) cat >> confdefs.h
<<\EOF
11628 *) cat >> confdefs.h
<<EOF
11629 #define inline $ac_cv_c_inline
11635 echo $ac_n "checking size of char""... $ac_c" 1>&6
11636 echo "configure:11637: checking size of char" >&5
11637 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
11638 echo $ac_n "(cached) $ac_c" 1>&6
11640 if test "$cross_compiling" = yes; then
11641 ac_cv_sizeof_char
=1
11643 cat > conftest.
$ac_ext <<EOF
11644 #line 11645 "configure"
11645 #include "confdefs.h"
11649 FILE *f=fopen("conftestval", "w");
11651 fprintf(f, "%d\n", sizeof(char));
11655 if { (eval echo configure
:11656: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11657 ac_cv_sizeof_char
=`cat conftestval`
11659 echo "configure: failed program was:" >&5
11660 cat conftest.
$ac_ext >&5
11662 ac_cv_sizeof_char
=0
11668 echo "$ac_t""$ac_cv_sizeof_char" 1>&6
11669 cat >> confdefs.h
<<EOF
11670 #define SIZEOF_CHAR $ac_cv_sizeof_char
11674 echo $ac_n "checking size of short""... $ac_c" 1>&6
11675 echo "configure:11676: checking size of short" >&5
11676 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
11677 echo $ac_n "(cached) $ac_c" 1>&6
11679 if test "$cross_compiling" = yes; then
11680 ac_cv_sizeof_short
=2
11682 cat > conftest.
$ac_ext <<EOF
11683 #line 11684 "configure"
11684 #include "confdefs.h"
11688 FILE *f=fopen("conftestval", "w");
11690 fprintf(f, "%d\n", sizeof(short));
11694 if { (eval echo configure
:11695: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11696 ac_cv_sizeof_short
=`cat conftestval`
11698 echo "configure: failed program was:" >&5
11699 cat conftest.
$ac_ext >&5
11701 ac_cv_sizeof_short
=0
11707 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
11708 cat >> confdefs.h
<<EOF
11709 #define SIZEOF_SHORT $ac_cv_sizeof_short
11713 echo $ac_n "checking size of int *""... $ac_c" 1>&6
11714 echo "configure:11715: checking size of int *" >&5
11715 if eval "test \"`echo '$''{'ac_cv_sizeof_int_p'+set}'`\" = set"; then
11716 echo $ac_n "(cached) $ac_c" 1>&6
11718 if test "$cross_compiling" = yes; then
11719 ac_cv_sizeof_int_p
=4
11721 cat > conftest.
$ac_ext <<EOF
11722 #line 11723 "configure"
11723 #include "confdefs.h"
11727 FILE *f=fopen("conftestval", "w");
11729 fprintf(f, "%d\n", sizeof(int *));
11733 if { (eval echo configure
:11734: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11735 ac_cv_sizeof_int_p
=`cat conftestval`
11737 echo "configure: failed program was:" >&5
11738 cat conftest.
$ac_ext >&5
11740 ac_cv_sizeof_int_p
=0
11746 echo "$ac_t""$ac_cv_sizeof_int_p" 1>&6
11747 cat >> confdefs.h
<<EOF
11748 #define SIZEOF_INT_P $ac_cv_sizeof_int_p
11752 echo $ac_n "checking size of int""... $ac_c" 1>&6
11753 echo "configure:11754: checking size of int" >&5
11754 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
11755 echo $ac_n "(cached) $ac_c" 1>&6
11757 if test "$cross_compiling" = yes; then
11760 cat > conftest.
$ac_ext <<EOF
11761 #line 11762 "configure"
11762 #include "confdefs.h"
11766 FILE *f=fopen("conftestval", "w");
11768 fprintf(f, "%d\n", sizeof(int));
11772 if { (eval echo configure
:11773: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11774 ac_cv_sizeof_int
=`cat conftestval`
11776 echo "configure: failed program was:" >&5
11777 cat conftest.
$ac_ext >&5
11785 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
11786 cat >> confdefs.h
<<EOF
11787 #define SIZEOF_INT $ac_cv_sizeof_int
11791 echo $ac_n "checking size of long""... $ac_c" 1>&6
11792 echo "configure:11793: checking size of long" >&5
11793 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
11794 echo $ac_n "(cached) $ac_c" 1>&6
11796 if test "$cross_compiling" = yes; then
11797 ac_cv_sizeof_long
=4
11799 cat > conftest.
$ac_ext <<EOF
11800 #line 11801 "configure"
11801 #include "confdefs.h"
11805 FILE *f=fopen("conftestval", "w");
11807 fprintf(f, "%d\n", sizeof(long));
11811 if { (eval echo configure
:11812: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11813 ac_cv_sizeof_long
=`cat conftestval`
11815 echo "configure: failed program was:" >&5
11816 cat conftest.
$ac_ext >&5
11818 ac_cv_sizeof_long
=0
11824 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
11825 cat >> confdefs.h
<<EOF
11826 #define SIZEOF_LONG $ac_cv_sizeof_long
11830 echo $ac_n "checking size of long long""... $ac_c" 1>&6
11831 echo "configure:11832: checking size of long long" >&5
11832 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
11833 echo $ac_n "(cached) $ac_c" 1>&6
11835 if test "$cross_compiling" = yes; then
11836 ac_cv_sizeof_long_long
=0
11838 cat > conftest.
$ac_ext <<EOF
11839 #line 11840 "configure"
11840 #include "confdefs.h"
11844 FILE *f=fopen("conftestval", "w");
11846 fprintf(f, "%d\n", sizeof(long long));
11850 if { (eval echo configure
:11851: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11852 ac_cv_sizeof_long_long
=`cat conftestval`
11854 echo "configure: failed program was:" >&5
11855 cat conftest.
$ac_ext >&5
11857 ac_cv_sizeof_long_long
=0
11863 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
11864 cat >> confdefs.h
<<EOF
11865 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
11870 echo $ac_n "checking size of wchar_t""... $ac_c" 1>&6
11871 echo "configure:11872: checking size of wchar_t" >&5
11872 if eval "test \"`echo '$''{'wx_cv_sizeof_wchar_t'+set}'`\" = set"; then
11873 echo $ac_n "(cached) $ac_c" 1>&6
11876 if test "$cross_compiling" = yes; then
11877 wx_cv_sizeof_wchar_t
=4
11880 cat > conftest.
$ac_ext <<EOF
11881 #line 11882 "configure"
11882 #include "confdefs.h"
11884 #ifdef HAVE_WCHAR_H
11885 # include <wchar.h>
11887 #ifdef HAVE_STDLIB_H
11888 # include <stdlib.h>
11893 FILE *f=fopen("conftestval", "w");
11895 fprintf(f, "%i", sizeof(wchar_t));
11900 if { (eval echo configure
:11901: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11902 wx_cv_sizeof_wchar_t
=`cat conftestval`
11904 echo "configure: failed program was:" >&5
11905 cat conftest.
$ac_ext >&5
11907 wx_cv_sizeof_wchar_t
=0
11915 echo "$ac_t""$wx_cv_sizeof_wchar_t" 1>&6
11917 cat >> confdefs.h
<<EOF
11918 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
11922 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
11923 echo "configure:11924: checking whether byte ordering is bigendian" >&5
11924 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
11925 echo $ac_n "(cached) $ac_c" 1>&6
11927 ac_cv_c_bigendian
=unknown
11928 # See if sys/param.h defines the BYTE_ORDER macro.
11929 cat > conftest.
$ac_ext <<EOF
11930 #line 11931 "configure"
11931 #include "confdefs.h"
11932 #include <sys/types.h>
11933 #include <sys/param.h>
11936 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
11937 bogus endian macros
11941 if { (eval echo configure
:11942: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11943 # It does; now see whether it defined to BIG_ENDIAN or not.
11944 cat > conftest.
$ac_ext <<EOF
11945 #line 11946 "configure"
11946 #include "confdefs.h"
11947 #include <sys/types.h>
11948 #include <sys/param.h>
11951 #if BYTE_ORDER != BIG_ENDIAN
11956 if { (eval echo configure
:11957: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11958 ac_cv_c_bigendian
=yes
11960 echo "configure: failed program was:" >&5
11961 cat conftest.
$ac_ext >&5
11963 ac_cv_c_bigendian
=no
11967 echo "configure: failed program was:" >&5
11968 cat conftest.
$ac_ext >&5
11971 if test $ac_cv_c_bigendian = unknown
; then
11972 if test "$cross_compiling" = yes; then
11973 ac_cv_c_bigendian
=unknown
11975 cat > conftest.
$ac_ext <<EOF
11976 #line 11977 "configure"
11977 #include "confdefs.h"
11979 /* Are we little or big endian? From Harbison&Steele. */
11983 char c[sizeof (long)];
11986 exit (u.c[sizeof (long) - 1] == 1);
11989 if { (eval echo configure
:11990: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11991 ac_cv_c_bigendian
=no
11993 echo "configure: failed program was:" >&5
11994 cat conftest.
$ac_ext >&5
11996 ac_cv_c_bigendian
=yes
12004 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
12005 if test $ac_cv_c_bigendian = unknown
; then
12006 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
12008 if test $ac_cv_c_bigendian = yes; then
12009 cat >> confdefs.h
<<\EOF
12010 #define WORDS_BIGENDIAN 1
12017 if test "$cross_compiling" = "yes"; then
12018 cat >> confdefs.h
<<\EOF
12019 #define wxUSE_IOSTREAMH 1
12025 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12026 ac_cpp
='$CXXCPP $CPPFLAGS'
12027 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12028 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12029 cross_compiling
=$ac_cv_prog_cxx_cross
12032 for ac_hdr
in iostream
12034 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12035 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12036 echo "configure:12037: checking for $ac_hdr" >&5
12037 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12038 echo $ac_n "(cached) $ac_c" 1>&6
12040 cat > conftest.
$ac_ext <<EOF
12041 #line 12042 "configure"
12042 #include "confdefs.h"
12045 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12046 { (eval echo configure
:12047: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12047 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12048 if test -z "$ac_err"; then
12050 eval "ac_cv_header_$ac_safe=yes"
12053 echo "configure: failed program was:" >&5
12054 cat conftest.
$ac_ext >&5
12056 eval "ac_cv_header_$ac_safe=no"
12060 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12061 echo "$ac_t""yes" 1>&6
12062 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12063 cat >> confdefs.h
<<EOF
12064 #define $ac_tr_hdr 1
12068 echo "$ac_t""no" 1>&6
12073 if test "$ac_cv_header_iostream" = "yes" ; then
12076 cat >> confdefs.h
<<\EOF
12077 #define wxUSE_IOSTREAMH 1
12083 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12084 ac_cpp
='$CPP $CPPFLAGS'
12085 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12086 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12087 cross_compiling
=$ac_cv_prog_cc_cross
12093 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
12094 echo "configure:12095: checking if C++ compiler supports bool" >&5
12095 if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
12096 echo $ac_n "(cached) $ac_c" 1>&6
12101 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12102 ac_cpp
='$CXXCPP $CPPFLAGS'
12103 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12104 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12105 cross_compiling
=$ac_cv_prog_cxx_cross
12108 cat > conftest.
$ac_ext <<EOF
12109 #line 12110 "configure"
12110 #include "confdefs.h"
12121 if { (eval echo configure
:12122: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12127 echo "configure: failed program was:" >&5
12128 cat conftest.
$ac_ext >&5
12138 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12139 ac_cpp
='$CPP $CPPFLAGS'
12140 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12141 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12142 cross_compiling
=$ac_cv_prog_cc_cross
12147 echo "$ac_t""$wx_cv_cpp_bool" 1>&6
12149 if test "$wx_cv_cpp_bool" = "yes"; then
12150 cat >> confdefs.h
<<\EOF
12151 #define HAVE_BOOL 1
12158 echo $ac_n "checking for wcslen in -lc""... $ac_c" 1>&6
12159 echo "configure:12160: checking for wcslen in -lc" >&5
12160 ac_lib_var
=`echo c'_'wcslen | sed 'y%./+-%__p_%'`
12161 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12162 echo $ac_n "(cached) $ac_c" 1>&6
12164 ac_save_LIBS
="$LIBS"
12166 cat > conftest.
$ac_ext <<EOF
12167 #line 12168 "configure"
12168 #include "confdefs.h"
12169 /* Override any gcc2 internal prototype to avoid an error. */
12170 /* We use char because int might match the return type of a gcc2
12171 builtin and then its argument prototype would still apply. */
12178 if { (eval echo configure
:12179: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12180 eval "ac_cv_lib_$ac_lib_var=yes"
12182 echo "configure: failed program was:" >&5
12183 cat conftest.
$ac_ext >&5
12185 eval "ac_cv_lib_$ac_lib_var=no"
12188 LIBS
="$ac_save_LIBS"
12191 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12192 echo "$ac_t""yes" 1>&6
12194 cat >> confdefs.h
<<\EOF
12195 #define HAVE_WCSLEN 1
12201 echo "$ac_t""no" 1>&6
12203 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
12204 echo "configure:12205: checking for wcslen in -lw" >&5
12205 ac_lib_var
=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
12206 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12207 echo $ac_n "(cached) $ac_c" 1>&6
12209 ac_save_LIBS
="$LIBS"
12211 cat > conftest.
$ac_ext <<EOF
12212 #line 12213 "configure"
12213 #include "confdefs.h"
12214 /* Override any gcc2 internal prototype to avoid an error. */
12215 /* We use char because int might match the return type of a gcc2
12216 builtin and then its argument prototype would still apply. */
12223 if { (eval echo configure
:12224: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12225 eval "ac_cv_lib_$ac_lib_var=yes"
12227 echo "configure: failed program was:" >&5
12228 cat conftest.
$ac_ext >&5
12230 eval "ac_cv_lib_$ac_lib_var=no"
12233 LIBS
="$ac_save_LIBS"
12236 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12237 echo "$ac_t""yes" 1>&6
12239 cat >> confdefs.h
<<\EOF
12240 #define HAVE_WCSLEN 1
12246 echo "$ac_t""no" 1>&6
12253 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
12254 echo "configure:12255: checking for vprintf" >&5
12255 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
12256 echo $ac_n "(cached) $ac_c" 1>&6
12258 cat > conftest.
$ac_ext <<EOF
12259 #line 12260 "configure"
12260 #include "confdefs.h"
12261 /* System header to define __stub macros and hopefully few prototypes,
12262 which can conflict with char vprintf(); below. */
12263 #include <assert.h>
12264 /* Override any gcc2 internal prototype to avoid an error. */
12265 /* We use char because int might match the return type of a gcc2
12266 builtin and then its argument prototype would still apply. */
12271 /* The GNU C library defines this for functions which it implements
12272 to always fail with ENOSYS. Some functions are actually named
12273 something starting with __ and the normal name is an alias. */
12274 #if defined (__stub_vprintf) || defined (__stub___vprintf)
12282 if { (eval echo configure
:12283: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12284 eval "ac_cv_func_vprintf=yes"
12286 echo "configure: failed program was:" >&5
12287 cat conftest.
$ac_ext >&5
12289 eval "ac_cv_func_vprintf=no"
12294 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
12295 echo "$ac_t""yes" 1>&6
12296 cat >> confdefs.h
<<\EOF
12297 #define HAVE_VPRINTF 1
12301 echo "$ac_t""no" 1>&6
12304 if test "$ac_cv_func_vprintf" != yes; then
12305 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
12306 echo "configure:12307: checking for _doprnt" >&5
12307 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
12308 echo $ac_n "(cached) $ac_c" 1>&6
12310 cat > conftest.
$ac_ext <<EOF
12311 #line 12312 "configure"
12312 #include "confdefs.h"
12313 /* System header to define __stub macros and hopefully few prototypes,
12314 which can conflict with char _doprnt(); below. */
12315 #include <assert.h>
12316 /* Override any gcc2 internal prototype to avoid an error. */
12317 /* We use char because int might match the return type of a gcc2
12318 builtin and then its argument prototype would still apply. */
12323 /* The GNU C library defines this for functions which it implements
12324 to always fail with ENOSYS. Some functions are actually named
12325 something starting with __ and the normal name is an alias. */
12326 #if defined (__stub__doprnt) || defined (__stub____doprnt)
12334 if { (eval echo configure
:12335: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12336 eval "ac_cv_func__doprnt=yes"
12338 echo "configure: failed program was:" >&5
12339 cat conftest.
$ac_ext >&5
12341 eval "ac_cv_func__doprnt=no"
12346 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
12347 echo "$ac_t""yes" 1>&6
12348 cat >> confdefs.h
<<\EOF
12349 #define HAVE_DOPRNT 1
12353 echo "$ac_t""no" 1>&6
12364 echo $ac_n "checking for vsnprintf""... $ac_c" 1>&6
12365 echo "configure:12366: checking for vsnprintf" >&5
12366 if eval "test \"`echo '$''{'wx_cv_func_vsnprintf'+set}'`\" = set"; then
12367 echo $ac_n "(cached) $ac_c" 1>&6
12370 cat > conftest.
$ac_ext <<EOF
12371 #line 12372 "configure"
12372 #include "confdefs.h"
12375 #include <stdarg.h>
12379 int wx_test_vsnprintf(const char *, ...);
12381 wx_test_vsnprintf("%s");
12385 int wx_test_vsnprintf(const char *fmt, ...)
12390 va_start(argp, fmt);
12391 vsnprintf(s, 42, fmt, argp);
12396 if { (eval echo configure
:12397: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12399 wx_cv_func_vsnprintf
=yes
12402 echo "configure: failed program was:" >&5
12403 cat conftest.
$ac_ext >&5
12406 cat > conftest.
$ac_ext <<EOF
12407 #line 12408 "configure"
12408 #include "confdefs.h"
12411 #include <stdarg.h>
12415 int wx_test_vsnprintf(const char *, ...);
12417 wx_test_vsnprintf("%s");
12421 int wx_test_vsnprintf(const char *fmt, ...)
12426 va_start(argp, fmt);
12427 _vsnprintf(s, 42, fmt, argp);
12432 if { (eval echo configure
:12433: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12435 wx_cv_func_vsnprintf
=yes
12438 echo "configure: failed program was:" >&5
12439 cat conftest.
$ac_ext >&5
12442 wx_cv_func_vsnprintf
=no
12452 echo "$ac_t""$wx_cv_func_vsnprintf" 1>&6
12454 if test "$wx_cv_func_vsnprintf" = yes; then
12455 cat >> confdefs.h
<<\EOF
12456 #define HAVE_VSNPRINTF 1
12460 echo "configure: warning: unsafe function sprintf will be used instead of snprintf" 1>&2
12463 echo $ac_n "checking for vsscanf""... $ac_c" 1>&6
12464 echo "configure:12465: checking for vsscanf" >&5
12465 if eval "test \"`echo '$''{'wx_cv_func_vsscanf'+set}'`\" = set"; then
12466 echo $ac_n "(cached) $ac_c" 1>&6
12469 cat > conftest.
$ac_ext <<EOF
12470 #line 12471 "configure"
12471 #include "confdefs.h"
12474 #include <stdarg.h>
12478 int wx_test_vsscanf(const char *, ...);
12480 wx_test_vsscanf("%d");
12484 int wx_test_vsscanf(const char *fmt, ...)
12487 va_start(argp, fmt);
12488 vsscanf("42", fmt, argp);
12493 if { (eval echo configure
:12494: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12496 wx_cv_func_vsscanf
=yes
12499 echo "configure: failed program was:" >&5
12500 cat conftest.
$ac_ext >&5
12503 wx_cv_func_vsscanf
=no
12510 echo "$ac_t""$wx_cv_func_vsscanf" 1>&6
12512 if test "$wx_cv_func_vsscanf" = yes; then
12513 cat >> confdefs.h
<<\EOF
12514 #define HAVE_VSSCANF 1
12519 if test "$TOOLKIT" != "MSW"; then
12524 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12525 ac_cpp
='$CXXCPP $CPPFLAGS'
12526 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12527 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12528 cross_compiling
=$ac_cv_prog_cxx_cross
12530 echo $ac_n "checking if iconv() takes char**""... $ac_c" 1>&6
12531 echo "configure:12532: checking if iconv() takes char**" >&5
12532 if eval "test \"`echo '$''{'wx_cv_iconv_takes_char'+set}'`\" = set"; then
12533 echo $ac_n "(cached) $ac_c" 1>&6
12536 cat > conftest.
$ac_ext <<EOF
12537 #line 12538 "configure"
12538 #include "confdefs.h"
12542 char **inbuf, **outbuf;
12544 size_t insz, outsz;
12545 iconv(cd, inbuf, &insz, outbuf, &outsz);
12549 if { (eval echo configure
:12550: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12551 wx_cv_iconv_takes_char
=yes
12553 echo "configure: failed program was:" >&5
12554 cat conftest.
$ac_ext >&5
12556 wx_cv_iconv_takes_char
=no
12562 echo "$ac_t""$wx_cv_iconv_takes_char" 1>&6
12564 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12565 ac_cpp
='$CPP $CPPFLAGS'
12566 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12567 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12568 cross_compiling
=$ac_cv_prog_cc_cross
12570 if test "$wx_cv_iconv_takes_char" = yes ; then
12571 cat >> confdefs.h
<<\EOF
12572 #define WX_ICONV_TAKES_CHAR 1
12578 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
12579 for ac_func
in sigaction
12581 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12582 echo "configure:12583: checking for $ac_func" >&5
12583 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12584 echo $ac_n "(cached) $ac_c" 1>&6
12586 cat > conftest.
$ac_ext <<EOF
12587 #line 12588 "configure"
12588 #include "confdefs.h"
12589 /* System header to define __stub macros and hopefully few prototypes,
12590 which can conflict with char $ac_func(); below. */
12591 #include <assert.h>
12592 /* Override any gcc2 internal prototype to avoid an error. */
12593 /* We use char because int might match the return type of a gcc2
12594 builtin and then its argument prototype would still apply. */
12599 /* The GNU C library defines this for functions which it implements
12600 to always fail with ENOSYS. Some functions are actually named
12601 something starting with __ and the normal name is an alias. */
12602 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12610 if { (eval echo configure
:12611: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12612 eval "ac_cv_func_$ac_func=yes"
12614 echo "configure: failed program was:" >&5
12615 cat conftest.
$ac_ext >&5
12617 eval "ac_cv_func_$ac_func=no"
12622 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12623 echo "$ac_t""yes" 1>&6
12624 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12625 cat >> confdefs.h
<<EOF
12626 #define $ac_tr_func 1
12630 echo "$ac_t""no" 1>&6
12635 if test "$ac_cv_func_sigaction" = "no"; then
12636 echo "configure: warning: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" 1>&2
12637 wxUSE_ON_FATAL_EXCEPTION
=no
12640 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
12643 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12644 ac_cpp
='$CXXCPP $CPPFLAGS'
12645 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12646 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12647 cross_compiling
=$ac_cv_prog_cxx_cross
12650 echo $ac_n "checking for sa_handler type""... $ac_c" 1>&6
12651 echo "configure:12652: checking for sa_handler type" >&5
12652 if eval "test \"`echo '$''{'wx_cv_type_sa_handler'+set}'`\" = set"; then
12653 echo $ac_n "(cached) $ac_c" 1>&6
12656 cat > conftest.
$ac_ext <<EOF
12657 #line 12658 "configure"
12658 #include "confdefs.h"
12659 #include <signal.h>
12662 extern void testSigHandler(int);
12664 struct sigaction sa;
12665 sa.sa_handler = testSigHandler;
12669 if { (eval echo configure
:12670: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12672 wx_cv_type_sa_handler
=int
12675 echo "configure: failed program was:" >&5
12676 cat conftest.
$ac_ext >&5
12679 wx_cv_type_sa_handler
=void
12686 echo "$ac_t""$wx_cv_type_sa_handler" 1>&6
12689 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12690 ac_cpp
='$CPP $CPPFLAGS'
12691 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12692 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12693 cross_compiling
=$ac_cv_prog_cc_cross
12696 cat >> confdefs.h
<<EOF
12697 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
12703 for ac_func
in vfork
12705 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12706 echo "configure:12707: checking for $ac_func" >&5
12707 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12708 echo $ac_n "(cached) $ac_c" 1>&6
12710 cat > conftest.
$ac_ext <<EOF
12711 #line 12712 "configure"
12712 #include "confdefs.h"
12713 /* System header to define __stub macros and hopefully few prototypes,
12714 which can conflict with char $ac_func(); below. */
12715 #include <assert.h>
12716 /* Override any gcc2 internal prototype to avoid an error. */
12717 /* We use char because int might match the return type of a gcc2
12718 builtin and then its argument prototype would still apply. */
12723 /* The GNU C library defines this for functions which it implements
12724 to always fail with ENOSYS. Some functions are actually named
12725 something starting with __ and the normal name is an alias. */
12726 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12734 if { (eval echo configure
:12735: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12736 eval "ac_cv_func_$ac_func=yes"
12738 echo "configure: failed program was:" >&5
12739 cat conftest.
$ac_ext >&5
12741 eval "ac_cv_func_$ac_func=no"
12746 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12747 echo "$ac_t""yes" 1>&6
12748 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12749 cat >> confdefs.h
<<EOF
12750 #define $ac_tr_func 1
12754 echo "$ac_t""no" 1>&6
12759 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
12760 for ac_func
in fcntl flock
12762 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12763 echo "configure:12764: checking for $ac_func" >&5
12764 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12765 echo $ac_n "(cached) $ac_c" 1>&6
12767 cat > conftest.
$ac_ext <<EOF
12768 #line 12769 "configure"
12769 #include "confdefs.h"
12770 /* System header to define __stub macros and hopefully few prototypes,
12771 which can conflict with char $ac_func(); below. */
12772 #include <assert.h>
12773 /* Override any gcc2 internal prototype to avoid an error. */
12774 /* We use char because int might match the return type of a gcc2
12775 builtin and then its argument prototype would still apply. */
12780 /* The GNU C library defines this for functions which it implements
12781 to always fail with ENOSYS. Some functions are actually named
12782 something starting with __ and the normal name is an alias. */
12783 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12791 if { (eval echo configure
:12792: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12793 eval "ac_cv_func_$ac_func=yes"
12795 echo "configure: failed program was:" >&5
12796 cat conftest.
$ac_ext >&5
12798 eval "ac_cv_func_$ac_func=no"
12803 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12804 echo "$ac_t""yes" 1>&6
12805 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12806 cat >> confdefs.h
<<EOF
12807 #define $ac_tr_func 1
12811 echo "$ac_t""no" 1>&6
12816 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
12817 echo "configure: warning: wxSingleInstanceChecker not available" 1>&2
12818 wxUSE_SNGLINST_CHECKER
=no
12822 for ac_func
in timegm
12824 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12825 echo "configure:12826: checking for $ac_func" >&5
12826 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12827 echo $ac_n "(cached) $ac_c" 1>&6
12829 cat > conftest.
$ac_ext <<EOF
12830 #line 12831 "configure"
12831 #include "confdefs.h"
12832 /* System header to define __stub macros and hopefully few prototypes,
12833 which can conflict with char $ac_func(); below. */
12834 #include <assert.h>
12835 /* Override any gcc2 internal prototype to avoid an error. */
12836 /* We use char because int might match the return type of a gcc2
12837 builtin and then its argument prototype would still apply. */
12842 /* The GNU C library defines this for functions which it implements
12843 to always fail with ENOSYS. Some functions are actually named
12844 something starting with __ and the normal name is an alias. */
12845 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12853 if { (eval echo configure
:12854: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12855 eval "ac_cv_func_$ac_func=yes"
12857 echo "configure: failed program was:" >&5
12858 cat conftest.
$ac_ext >&5
12860 eval "ac_cv_func_$ac_func=no"
12865 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12866 echo "$ac_t""yes" 1>&6
12867 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12868 cat >> confdefs.h
<<EOF
12869 #define $ac_tr_func 1
12873 echo "$ac_t""no" 1>&6
12878 for ac_func
in putenv setenv
12880 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12881 echo "configure:12882: checking for $ac_func" >&5
12882 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12883 echo $ac_n "(cached) $ac_c" 1>&6
12885 cat > conftest.
$ac_ext <<EOF
12886 #line 12887 "configure"
12887 #include "confdefs.h"
12888 /* System header to define __stub macros and hopefully few prototypes,
12889 which can conflict with char $ac_func(); below. */
12890 #include <assert.h>
12891 /* Override any gcc2 internal prototype to avoid an error. */
12892 /* We use char because int might match the return type of a gcc2
12893 builtin and then its argument prototype would still apply. */
12898 /* The GNU C library defines this for functions which it implements
12899 to always fail with ENOSYS. Some functions are actually named
12900 something starting with __ and the normal name is an alias. */
12901 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12909 if { (eval echo configure
:12910: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12911 eval "ac_cv_func_$ac_func=yes"
12913 echo "configure: failed program was:" >&5
12914 cat conftest.
$ac_ext >&5
12916 eval "ac_cv_func_$ac_func=no"
12921 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12922 echo "$ac_t""yes" 1>&6
12923 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12924 cat >> confdefs.h
<<EOF
12925 #define $ac_tr_func 1
12929 echo "$ac_t""no" 1>&6
12934 HAVE_SOME_SLEEP_FUNC
=0
12935 if test "$USE_BEOS" = 1; then
12936 cat >> confdefs.h
<<\EOF
12937 #define HAVE_SLEEP 1
12940 HAVE_SOME_SLEEP_FUNC
=1
12943 if test "$USE_MAC" = 1; then
12944 cat >> confdefs.h
<<\EOF
12945 #define HAVE_USLEEP 1
12948 HAVE_SOME_SLEEP_FUNC
=1
12951 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
12953 for ac_func
in nanosleep
12955 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12956 echo "configure:12957: checking for $ac_func" >&5
12957 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12958 echo $ac_n "(cached) $ac_c" 1>&6
12960 cat > conftest.
$ac_ext <<EOF
12961 #line 12962 "configure"
12962 #include "confdefs.h"
12963 /* System header to define __stub macros and hopefully few prototypes,
12964 which can conflict with char $ac_func(); below. */
12965 #include <assert.h>
12966 /* Override any gcc2 internal prototype to avoid an error. */
12967 /* We use char because int might match the return type of a gcc2
12968 builtin and then its argument prototype would still apply. */
12973 /* The GNU C library defines this for functions which it implements
12974 to always fail with ENOSYS. Some functions are actually named
12975 something starting with __ and the normal name is an alias. */
12976 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12984 if { (eval echo configure
:12985: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12986 eval "ac_cv_func_$ac_func=yes"
12988 echo "configure: failed program was:" >&5
12989 cat conftest.
$ac_ext >&5
12991 eval "ac_cv_func_$ac_func=no"
12996 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12997 echo "$ac_t""yes" 1>&6
12998 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12999 cat >> confdefs.h
<<EOF
13000 #define $ac_tr_func 1
13002 cat >> confdefs.h
<<\EOF
13003 #define HAVE_NANOSLEEP 1
13007 echo "$ac_t""no" 1>&6
13008 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
13009 echo "configure:13010: checking for nanosleep in -lposix4" >&5
13010 ac_lib_var
=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
13011 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13012 echo $ac_n "(cached) $ac_c" 1>&6
13014 ac_save_LIBS
="$LIBS"
13015 LIBS
="-lposix4 $LIBS"
13016 cat > conftest.
$ac_ext <<EOF
13017 #line 13018 "configure"
13018 #include "confdefs.h"
13019 /* Override any gcc2 internal prototype to avoid an error. */
13020 /* We use char because int might match the return type of a gcc2
13021 builtin and then its argument prototype would still apply. */
13028 if { (eval echo configure
:13029: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13030 eval "ac_cv_lib_$ac_lib_var=yes"
13032 echo "configure: failed program was:" >&5
13033 cat conftest.
$ac_ext >&5
13035 eval "ac_cv_lib_$ac_lib_var=no"
13038 LIBS
="$ac_save_LIBS"
13041 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13042 echo "$ac_t""yes" 1>&6
13044 cat >> confdefs.h
<<\EOF
13045 #define HAVE_NANOSLEEP 1
13048 POSIX4_LINK
="-lposix4"
13051 echo "$ac_t""no" 1>&6
13053 for ac_func
in usleep
13055 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13056 echo "configure:13057: checking for $ac_func" >&5
13057 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13058 echo $ac_n "(cached) $ac_c" 1>&6
13060 cat > conftest.
$ac_ext <<EOF
13061 #line 13062 "configure"
13062 #include "confdefs.h"
13063 /* System header to define __stub macros and hopefully few prototypes,
13064 which can conflict with char $ac_func(); below. */
13065 #include <assert.h>
13066 /* Override any gcc2 internal prototype to avoid an error. */
13067 /* We use char because int might match the return type of a gcc2
13068 builtin and then its argument prototype would still apply. */
13073 /* The GNU C library defines this for functions which it implements
13074 to always fail with ENOSYS. Some functions are actually named
13075 something starting with __ and the normal name is an alias. */
13076 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13084 if { (eval echo configure
:13085: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13086 eval "ac_cv_func_$ac_func=yes"
13088 echo "configure: failed program was:" >&5
13089 cat conftest.
$ac_ext >&5
13091 eval "ac_cv_func_$ac_func=no"
13096 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13097 echo "$ac_t""yes" 1>&6
13098 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13099 cat >> confdefs.h
<<EOF
13100 #define $ac_tr_func 1
13102 cat >> confdefs.h
<<\EOF
13103 #define HAVE_USLEEP 1
13107 echo "$ac_t""no" 1>&6
13108 echo "configure: warning: wxSleep() function will not work" 1>&2
13124 for ac_func
in uname gethostname
13126 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13127 echo "configure:13128: checking for $ac_func" >&5
13128 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13129 echo $ac_n "(cached) $ac_c" 1>&6
13131 cat > conftest.
$ac_ext <<EOF
13132 #line 13133 "configure"
13133 #include "confdefs.h"
13134 /* System header to define __stub macros and hopefully few prototypes,
13135 which can conflict with char $ac_func(); below. */
13136 #include <assert.h>
13137 /* Override any gcc2 internal prototype to avoid an error. */
13138 /* We use char because int might match the return type of a gcc2
13139 builtin and then its argument prototype would still apply. */
13144 /* The GNU C library defines this for functions which it implements
13145 to always fail with ENOSYS. Some functions are actually named
13146 something starting with __ and the normal name is an alias. */
13147 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13155 if { (eval echo configure
:13156: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13157 eval "ac_cv_func_$ac_func=yes"
13159 echo "configure: failed program was:" >&5
13160 cat conftest.
$ac_ext >&5
13162 eval "ac_cv_func_$ac_func=no"
13167 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13168 echo "$ac_t""yes" 1>&6
13169 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13170 cat >> confdefs.h
<<EOF
13171 #define $ac_tr_func 1
13175 echo "$ac_t""no" 1>&6
13182 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13183 ac_cpp
='$CXXCPP $CPPFLAGS'
13184 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13185 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13186 cross_compiling
=$ac_cv_prog_cxx_cross
13189 for ac_func
in strtok_r
13191 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13192 echo "configure:13193: checking for $ac_func" >&5
13193 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13194 echo $ac_n "(cached) $ac_c" 1>&6
13196 cat > conftest.
$ac_ext <<EOF
13197 #line 13198 "configure"
13198 #include "confdefs.h"
13199 /* System header to define __stub macros and hopefully few prototypes,
13200 which can conflict with char $ac_func(); below. */
13201 #include <assert.h>
13202 /* Override any gcc2 internal prototype to avoid an error. */
13206 /* We use char because int might match the return type of a gcc2
13207 builtin and then its argument prototype would still apply. */
13212 /* The GNU C library defines this for functions which it implements
13213 to always fail with ENOSYS. Some functions are actually named
13214 something starting with __ and the normal name is an alias. */
13215 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13223 if { (eval echo configure
:13224: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13225 eval "ac_cv_func_$ac_func=yes"
13227 echo "configure: failed program was:" >&5
13228 cat conftest.
$ac_ext >&5
13230 eval "ac_cv_func_$ac_func=no"
13235 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13236 echo "$ac_t""yes" 1>&6
13237 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13238 cat >> confdefs.h
<<EOF
13239 #define $ac_tr_func 1
13243 echo "$ac_t""no" 1>&6
13249 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13250 ac_cpp
='$CPP $CPPFLAGS'
13251 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13252 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13253 cross_compiling
=$ac_cv_prog_cc_cross
13257 for ac_func
in inet_addr
13259 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13260 echo "configure:13261: checking for $ac_func" >&5
13261 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13262 echo $ac_n "(cached) $ac_c" 1>&6
13264 cat > conftest.
$ac_ext <<EOF
13265 #line 13266 "configure"
13266 #include "confdefs.h"
13267 /* System header to define __stub macros and hopefully few prototypes,
13268 which can conflict with char $ac_func(); below. */
13269 #include <assert.h>
13270 /* Override any gcc2 internal prototype to avoid an error. */
13271 /* We use char because int might match the return type of a gcc2
13272 builtin and then its argument prototype would still apply. */
13277 /* The GNU C library defines this for functions which it implements
13278 to always fail with ENOSYS. Some functions are actually named
13279 something starting with __ and the normal name is an alias. */
13280 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13288 if { (eval echo configure
:13289: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13290 eval "ac_cv_func_$ac_func=yes"
13292 echo "configure: failed program was:" >&5
13293 cat conftest.
$ac_ext >&5
13295 eval "ac_cv_func_$ac_func=no"
13300 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13301 echo "$ac_t""yes" 1>&6
13302 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13303 cat >> confdefs.h
<<EOF
13304 #define $ac_tr_func 1
13306 cat >> confdefs.h
<<\EOF
13307 #define HAVE_INET_ADDR 1
13311 echo "$ac_t""no" 1>&6
13312 echo $ac_n "checking for inet_addr in -lnsl""... $ac_c" 1>&6
13313 echo "configure:13314: checking for inet_addr in -lnsl" >&5
13314 ac_lib_var
=`echo nsl'_'inet_addr | sed 'y%./+-%__p_%'`
13315 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13316 echo $ac_n "(cached) $ac_c" 1>&6
13318 ac_save_LIBS
="$LIBS"
13320 cat > conftest.
$ac_ext <<EOF
13321 #line 13322 "configure"
13322 #include "confdefs.h"
13323 /* Override any gcc2 internal prototype to avoid an error. */
13324 /* We use char because int might match the return type of a gcc2
13325 builtin and then its argument prototype would still apply. */
13332 if { (eval echo configure
:13333: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13334 eval "ac_cv_lib_$ac_lib_var=yes"
13336 echo "configure: failed program was:" >&5
13337 cat conftest.
$ac_ext >&5
13339 eval "ac_cv_lib_$ac_lib_var=no"
13342 LIBS
="$ac_save_LIBS"
13345 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13346 echo "$ac_t""yes" 1>&6
13349 echo "$ac_t""no" 1>&6
13350 echo $ac_n "checking for inet_addr in -lresolv""... $ac_c" 1>&6
13351 echo "configure:13352: checking for inet_addr in -lresolv" >&5
13352 ac_lib_var
=`echo resolv'_'inet_addr | sed 'y%./+-%__p_%'`
13353 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13354 echo $ac_n "(cached) $ac_c" 1>&6
13356 ac_save_LIBS
="$LIBS"
13357 LIBS
="-lresolv $LIBS"
13358 cat > conftest.
$ac_ext <<EOF
13359 #line 13360 "configure"
13360 #include "confdefs.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. */
13370 if { (eval echo configure
:13371: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13372 eval "ac_cv_lib_$ac_lib_var=yes"
13374 echo "configure: failed program was:" >&5
13375 cat conftest.
$ac_ext >&5
13377 eval "ac_cv_lib_$ac_lib_var=no"
13380 LIBS
="$ac_save_LIBS"
13383 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13384 echo "$ac_t""yes" 1>&6
13388 echo "$ac_t""no" 1>&6
13400 for ac_func
in inet_aton
13402 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13403 echo "configure:13404: checking for $ac_func" >&5
13404 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13405 echo $ac_n "(cached) $ac_c" 1>&6
13407 cat > conftest.
$ac_ext <<EOF
13408 #line 13409 "configure"
13409 #include "confdefs.h"
13410 /* System header to define __stub macros and hopefully few prototypes,
13411 which can conflict with char $ac_func(); below. */
13412 #include <assert.h>
13413 /* Override any gcc2 internal prototype to avoid an error. */
13414 /* We use char because int might match the return type of a gcc2
13415 builtin and then its argument prototype would still apply. */
13420 /* The GNU C library defines this for functions which it implements
13421 to always fail with ENOSYS. Some functions are actually named
13422 something starting with __ and the normal name is an alias. */
13423 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13431 if { (eval echo configure
:13432: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13433 eval "ac_cv_func_$ac_func=yes"
13435 echo "configure: failed program was:" >&5
13436 cat conftest.
$ac_ext >&5
13438 eval "ac_cv_func_$ac_func=no"
13443 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13444 echo "$ac_t""yes" 1>&6
13445 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13446 cat >> confdefs.h
<<EOF
13447 #define $ac_tr_func 1
13449 cat >> confdefs.h
<<\EOF
13450 #define HAVE_INET_ATON 1
13454 echo "$ac_t""no" 1>&6
13455 echo $ac_n "checking for inet_aton in -l$INET_LINK""... $ac_c" 1>&6
13456 echo "configure:13457: checking for inet_aton in -l$INET_LINK" >&5
13457 ac_lib_var
=`echo $INET_LINK'_'inet_aton | sed 'y%./+-%__p_%'`
13458 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13459 echo $ac_n "(cached) $ac_c" 1>&6
13461 ac_save_LIBS
="$LIBS"
13462 LIBS
="-l$INET_LINK $LIBS"
13463 cat > conftest.
$ac_ext <<EOF
13464 #line 13465 "configure"
13465 #include "confdefs.h"
13466 /* Override any gcc2 internal prototype to avoid an error. */
13467 /* We use char because int might match the return type of a gcc2
13468 builtin and then its argument prototype would still apply. */
13475 if { (eval echo configure
:13476: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13477 eval "ac_cv_lib_$ac_lib_var=yes"
13479 echo "configure: failed program was:" >&5
13480 cat conftest.
$ac_ext >&5
13482 eval "ac_cv_lib_$ac_lib_var=no"
13485 LIBS
="$ac_save_LIBS"
13488 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13489 echo "$ac_t""yes" 1>&6
13490 cat >> confdefs.h
<<\EOF
13491 #define HAVE_INET_ATON 1
13495 echo "$ac_t""no" 1>&6
13503 if test "x$INET_LINK" != "x"; then
13504 cat >> confdefs.h
<<\EOF
13505 #define HAVE_INET_ADDR 1
13508 INET_LINK
="-l$INET_LINK"
13514 cat > confcache
<<\EOF
13515 # This file is a shell script that caches the results of configure
13516 # tests run on this system so they can be shared between configure
13517 # scripts and configure runs. It is not useful on other systems.
13518 # If it contains results you don't want to keep, you may remove or edit it.
13520 # By default, configure uses ./config.cache as the cache file,
13521 # creating it if it does not exist already. You can give configure
13522 # the --cache-file=FILE option to use a different cache file; that is
13523 # what configure does when it calls configure scripts in
13524 # subdirectories, so they share the cache.
13525 # Giving --cache-file=/dev/null disables caching, for debugging configure.
13526 # config.status only pays attention to the cache file if you give it the
13527 # --recheck option to rerun configure.
13530 # The following way of writing the cache mishandles newlines in values,
13531 # but we know of no workaround that is simple, portable, and efficient.
13532 # So, don't put newlines in cache variables' values.
13533 # Ultrix sh set writes to stderr and can't be redirected directly,
13534 # and sets the high bit in the cache file unless we assign to the vars.
13536 case `(ac_space=' '; set | grep ac_space) 2>&1` in
13538 # `set' does not quote correctly, so add quotes (double-quote substitution
13539 # turns \\\\ into \\, and sed turns \\ into \).
13541 -e "s/'/'\\\\''/g" \
13542 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
13545 # `set' quotes correctly as required by POSIX, so do not add quotes.
13546 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
13549 if cmp -s $cache_file confcache
; then
13552 if test -w $cache_file; then
13553 echo "updating cache $cache_file"
13554 cat confcache
> $cache_file
13556 echo "not updating unwritable cache $cache_file"
13563 if test "$TOOLKIT" != "MSW"; then
13569 if test "$wxUSE_THREADS" = "yes" ; then
13570 if test "$wxUSE_WINE" = 1 ; then
13571 echo "configure: warning: Threads are not supported under WINE" 1>&2
13573 elif test "$USE_BEOS" = 1; then
13574 echo "configure: warning: BeOS threads are not yet supported" 1>&2
13579 if test "$wxUSE_THREADS" = "yes" ; then
13581 if test "$USE_AIX" = 1; then
13582 THREADS_LIB
=pthreads
13584 THREADS_LIB
=pthread
13587 echo $ac_n "checking for pthread_create in -l$THREADS_LIB""... $ac_c" 1>&6
13588 echo "configure:13589: checking for pthread_create in -l$THREADS_LIB" >&5
13589 ac_lib_var
=`echo $THREADS_LIB'_'pthread_create | sed 'y%./+-%__p_%'`
13590 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13591 echo $ac_n "(cached) $ac_c" 1>&6
13593 ac_save_LIBS
="$LIBS"
13594 LIBS
="-l$THREADS_LIB $LIBS"
13595 cat > conftest.
$ac_ext <<EOF
13596 #line 13597 "configure"
13597 #include "confdefs.h"
13598 /* Override any gcc2 internal prototype to avoid an error. */
13599 /* We use char because int might match the return type of a gcc2
13600 builtin and then its argument prototype would still apply. */
13601 char pthread_create();
13607 if { (eval echo configure
:13608: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13609 eval "ac_cv_lib_$ac_lib_var=yes"
13611 echo "configure: failed program was:" >&5
13612 cat conftest.
$ac_ext >&5
13614 eval "ac_cv_lib_$ac_lib_var=no"
13617 LIBS
="$ac_save_LIBS"
13620 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13621 echo "$ac_t""yes" 1>&6
13623 THREADS_OBJ
="threadpsx.lo"
13624 THREADS_LINK
=$THREADS_LIB
13627 echo "$ac_t""no" 1>&6
13629 echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
13630 echo "configure:13631: checking for pthread_create in -lc_r" >&5
13631 ac_lib_var
=`echo c_r'_'pthread_create | sed 'y%./+-%__p_%'`
13632 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13633 echo $ac_n "(cached) $ac_c" 1>&6
13635 ac_save_LIBS
="$LIBS"
13637 cat > conftest.
$ac_ext <<EOF
13638 #line 13639 "configure"
13639 #include "confdefs.h"
13640 /* Override any gcc2 internal prototype to avoid an error. */
13641 /* We use char because int might match the return type of a gcc2
13642 builtin and then its argument prototype would still apply. */
13643 char pthread_create();
13649 if { (eval echo configure
:13650: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13651 eval "ac_cv_lib_$ac_lib_var=yes"
13653 echo "configure: failed program was:" >&5
13654 cat conftest.
$ac_ext >&5
13656 eval "ac_cv_lib_$ac_lib_var=no"
13659 LIBS
="$ac_save_LIBS"
13662 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13663 echo "$ac_t""yes" 1>&6
13665 THREADS_OBJ
="threadpsx.lo"
13669 echo "$ac_t""no" 1>&6
13671 ac_safe
=`echo "sys/prctl.h" | sed 'y%./+-%__p_%'`
13672 echo $ac_n "checking for sys/prctl.h""... $ac_c" 1>&6
13673 echo "configure:13674: checking for sys/prctl.h" >&5
13674 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13675 echo $ac_n "(cached) $ac_c" 1>&6
13677 cat > conftest.
$ac_ext <<EOF
13678 #line 13679 "configure"
13679 #include "confdefs.h"
13680 #include <sys/prctl.h>
13682 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13683 { (eval echo configure
:13684: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13684 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13685 if test -z "$ac_err"; then
13687 eval "ac_cv_header_$ac_safe=yes"
13690 echo "configure: failed program was:" >&5
13691 cat conftest.
$ac_ext >&5
13693 eval "ac_cv_header_$ac_safe=no"
13697 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13698 echo "$ac_t""yes" 1>&6
13700 THREADS_OBJ
="threadsgi.lo"
13703 echo "$ac_t""no" 1>&6
13713 if test -z "$THREADS_OBJ" ; then
13715 echo "configure: warning: No thread support on this system" 1>&2
13719 if test "$wxUSE_THREADS" = "yes" ; then
13720 for ac_func
in thr_setconcurrency
13722 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13723 echo "configure:13724: checking for $ac_func" >&5
13724 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13725 echo $ac_n "(cached) $ac_c" 1>&6
13727 cat > conftest.
$ac_ext <<EOF
13728 #line 13729 "configure"
13729 #include "confdefs.h"
13730 /* System header to define __stub macros and hopefully few prototypes,
13731 which can conflict with char $ac_func(); below. */
13732 #include <assert.h>
13733 /* Override any gcc2 internal prototype to avoid an error. */
13734 /* We use char because int might match the return type of a gcc2
13735 builtin and then its argument prototype would still apply. */
13740 /* The GNU C library defines this for functions which it implements
13741 to always fail with ENOSYS. Some functions are actually named
13742 something starting with __ and the normal name is an alias. */
13743 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13751 if { (eval echo configure
:13752: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13753 eval "ac_cv_func_$ac_func=yes"
13755 echo "configure: failed program was:" >&5
13756 cat conftest.
$ac_ext >&5
13758 eval "ac_cv_func_$ac_func=no"
13763 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13764 echo "$ac_t""yes" 1>&6
13765 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13766 cat >> confdefs.h
<<EOF
13767 #define $ac_tr_func 1
13771 echo "$ac_t""no" 1>&6
13777 for ac_hdr
in sched.h
13779 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13780 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13781 echo "configure:13782: checking for $ac_hdr" >&5
13782 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13783 echo $ac_n "(cached) $ac_c" 1>&6
13785 cat > conftest.
$ac_ext <<EOF
13786 #line 13787 "configure"
13787 #include "confdefs.h"
13790 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13791 { (eval echo configure
:13792: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13792 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13793 if test -z "$ac_err"; then
13795 eval "ac_cv_header_$ac_safe=yes"
13798 echo "configure: failed program was:" >&5
13799 cat conftest.
$ac_ext >&5
13801 eval "ac_cv_header_$ac_safe=no"
13805 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13806 echo "$ac_t""yes" 1>&6
13807 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13808 cat >> confdefs.h
<<EOF
13809 #define $ac_tr_hdr 1
13813 echo "$ac_t""no" 1>&6
13818 echo $ac_n "checking for sched_yield in -l$THREADS_LINK""... $ac_c" 1>&6
13819 echo "configure:13820: checking for sched_yield in -l$THREADS_LINK" >&5
13820 ac_lib_var
=`echo $THREADS_LINK'_'sched_yield | sed 'y%./+-%__p_%'`
13821 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13822 echo $ac_n "(cached) $ac_c" 1>&6
13824 ac_save_LIBS
="$LIBS"
13825 LIBS
="-l$THREADS_LINK $LIBS"
13826 cat > conftest.
$ac_ext <<EOF
13827 #line 13828 "configure"
13828 #include "confdefs.h"
13829 /* Override any gcc2 internal prototype to avoid an error. */
13830 /* We use char because int might match the return type of a gcc2
13831 builtin and then its argument prototype would still apply. */
13832 char sched_yield();
13838 if { (eval echo configure
:13839: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13840 eval "ac_cv_lib_$ac_lib_var=yes"
13842 echo "configure: failed program was:" >&5
13843 cat conftest.
$ac_ext >&5
13845 eval "ac_cv_lib_$ac_lib_var=no"
13848 LIBS
="$ac_save_LIBS"
13851 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13852 echo "$ac_t""yes" 1>&6
13853 cat >> confdefs.h
<<\EOF
13854 #define HAVE_SCHED_YIELD 1
13858 echo "$ac_t""no" 1>&6
13859 echo $ac_n "checking for sched_yield in -lposix4""... $ac_c" 1>&6
13860 echo "configure:13861: checking for sched_yield in -lposix4" >&5
13861 ac_lib_var
=`echo posix4'_'sched_yield | sed 'y%./+-%__p_%'`
13862 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13863 echo $ac_n "(cached) $ac_c" 1>&6
13865 ac_save_LIBS
="$LIBS"
13866 LIBS
="-lposix4 $LIBS"
13867 cat > conftest.
$ac_ext <<EOF
13868 #line 13869 "configure"
13869 #include "confdefs.h"
13870 /* Override any gcc2 internal prototype to avoid an error. */
13871 /* We use char because int might match the return type of a gcc2
13872 builtin and then its argument prototype would still apply. */
13873 char sched_yield();
13879 if { (eval echo configure
:13880: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13881 eval "ac_cv_lib_$ac_lib_var=yes"
13883 echo "configure: failed program was:" >&5
13884 cat conftest.
$ac_ext >&5
13886 eval "ac_cv_lib_$ac_lib_var=no"
13889 LIBS
="$ac_save_LIBS"
13892 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13893 echo "$ac_t""yes" 1>&6
13894 cat >> confdefs.h
<<\EOF
13895 #define HAVE_SCHED_YIELD 1
13897 POSIX4_LINK
="-lposix4"
13899 echo "$ac_t""no" 1>&6
13900 echo "configure: warning: wxThread::Yield will not work properly" 1>&2
13909 echo $ac_n "checking for pthread_attr_getschedpolicy in -l$THREADS_LINK""... $ac_c" 1>&6
13910 echo "configure:13911: checking for pthread_attr_getschedpolicy in -l$THREADS_LINK" >&5
13911 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_getschedpolicy | 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 pthread_attr_getschedpolicy();
13926 pthread_attr_getschedpolicy()
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 echo $ac_n "checking for pthread_attr_setschedparam in -l$THREADS_LINK""... $ac_c" 1>&6
13945 echo "configure:13946: checking for pthread_attr_setschedparam in -l$THREADS_LINK" >&5
13946 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_setschedparam | sed 'y%./+-%__p_%'`
13947 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13948 echo $ac_n "(cached) $ac_c" 1>&6
13950 ac_save_LIBS
="$LIBS"
13951 LIBS
="-l$THREADS_LINK $LIBS"
13952 cat > conftest.
$ac_ext <<EOF
13953 #line 13954 "configure"
13954 #include "confdefs.h"
13955 /* Override any gcc2 internal prototype to avoid an error. */
13956 /* We use char because int might match the return type of a gcc2
13957 builtin and then its argument prototype would still apply. */
13958 char pthread_attr_setschedparam();
13961 pthread_attr_setschedparam()
13964 if { (eval echo configure
:13965: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13966 eval "ac_cv_lib_$ac_lib_var=yes"
13968 echo "configure: failed program was:" >&5
13969 cat conftest.
$ac_ext >&5
13971 eval "ac_cv_lib_$ac_lib_var=no"
13974 LIBS
="$ac_save_LIBS"
13977 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13978 echo "$ac_t""yes" 1>&6
13979 echo $ac_n "checking for sched_get_priority_max in -l$THREADS_LINK""... $ac_c" 1>&6
13980 echo "configure:13981: checking for sched_get_priority_max in -l$THREADS_LINK" >&5
13981 ac_lib_var
=`echo $THREADS_LINK'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
13982 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13983 echo $ac_n "(cached) $ac_c" 1>&6
13985 ac_save_LIBS
="$LIBS"
13986 LIBS
="-l$THREADS_LINK $LIBS"
13987 cat > conftest.
$ac_ext <<EOF
13988 #line 13989 "configure"
13989 #include "confdefs.h"
13990 /* Override any gcc2 internal prototype to avoid an error. */
13991 /* We use char because int might match the return type of a gcc2
13992 builtin and then its argument prototype would still apply. */
13993 char sched_get_priority_max();
13996 sched_get_priority_max()
13999 if { (eval echo configure
:14000: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14001 eval "ac_cv_lib_$ac_lib_var=yes"
14003 echo "configure: failed program was:" >&5
14004 cat conftest.
$ac_ext >&5
14006 eval "ac_cv_lib_$ac_lib_var=no"
14009 LIBS
="$ac_save_LIBS"
14012 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14013 echo "$ac_t""yes" 1>&6
14016 echo "$ac_t""no" 1>&6
14017 echo $ac_n "checking for sched_get_priority_max in -lposix4""... $ac_c" 1>&6
14018 echo "configure:14019: checking for sched_get_priority_max in -lposix4" >&5
14019 ac_lib_var
=`echo posix4'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
14020 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14021 echo $ac_n "(cached) $ac_c" 1>&6
14023 ac_save_LIBS
="$LIBS"
14024 LIBS
="-lposix4 $LIBS"
14025 cat > conftest.
$ac_ext <<EOF
14026 #line 14027 "configure"
14027 #include "confdefs.h"
14028 /* Override any gcc2 internal prototype to avoid an error. */
14029 /* We use char because int might match the return type of a gcc2
14030 builtin and then its argument prototype would still apply. */
14031 char sched_get_priority_max();
14034 sched_get_priority_max()
14037 if { (eval echo configure
:14038: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14039 eval "ac_cv_lib_$ac_lib_var=yes"
14041 echo "configure: failed program was:" >&5
14042 cat conftest.
$ac_ext >&5
14044 eval "ac_cv_lib_$ac_lib_var=no"
14047 LIBS
="$ac_save_LIBS"
14050 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14051 echo "$ac_t""yes" 1>&6
14054 POSIX4_LINK
="-lposix4"
14057 echo "$ac_t""no" 1>&6
14065 echo "$ac_t""no" 1>&6
14070 echo "$ac_t""no" 1>&6
14074 if test "$HAVE_PRIOR_FUNCS" = 1; then
14075 cat >> confdefs.h
<<\EOF
14076 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
14080 echo "configure: warning: Setting thread priority will not work" 1>&2
14083 echo $ac_n "checking for pthread_cancel in -l$THREADS_LINK""... $ac_c" 1>&6
14084 echo "configure:14085: checking for pthread_cancel in -l$THREADS_LINK" >&5
14085 ac_lib_var
=`echo $THREADS_LINK'_'pthread_cancel | sed 'y%./+-%__p_%'`
14086 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14087 echo $ac_n "(cached) $ac_c" 1>&6
14089 ac_save_LIBS
="$LIBS"
14090 LIBS
="-l$THREADS_LINK $LIBS"
14091 cat > conftest.
$ac_ext <<EOF
14092 #line 14093 "configure"
14093 #include "confdefs.h"
14094 /* Override any gcc2 internal prototype to avoid an error. */
14095 /* We use char because int might match the return type of a gcc2
14096 builtin and then its argument prototype would still apply. */
14097 char pthread_cancel();
14103 if { (eval echo configure
:14104: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14105 eval "ac_cv_lib_$ac_lib_var=yes"
14107 echo "configure: failed program was:" >&5
14108 cat conftest.
$ac_ext >&5
14110 eval "ac_cv_lib_$ac_lib_var=no"
14113 LIBS
="$ac_save_LIBS"
14116 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14117 echo "$ac_t""yes" 1>&6
14118 cat >> confdefs.h
<<\EOF
14119 #define HAVE_PTHREAD_CANCEL 1
14123 echo "$ac_t""no" 1>&6
14124 echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
14128 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
14129 echo "configure:14130: checking for pthread_cleanup_push/pop" >&5
14130 if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
14131 echo $ac_n "(cached) $ac_c" 1>&6
14134 cat > conftest.
$ac_ext <<EOF
14135 #line 14136 "configure"
14136 #include "confdefs.h"
14137 #include <pthread.h>
14140 pthread_cleanup_push(NULL, NULL);
14141 pthread_cleanup_pop(0);
14145 if { (eval echo configure
:14146: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14148 wx_cv_func_pthread_cleanup_push
=yes
14151 echo "configure: failed program was:" >&5
14152 cat conftest.
$ac_ext >&5
14155 wx_cv_func_pthread_cleanup_push
=no
14162 echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
14164 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
14165 cat >> confdefs.h
<<\EOF
14166 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
14172 echo $ac_n "checking for pthread_mutexattr_t""... $ac_c" 1>&6
14173 echo "configure:14174: checking for pthread_mutexattr_t" >&5
14174 if eval "test \"`echo '$''{'wx_cv_type_pthread_mutexattr_t'+set}'`\" = set"; then
14175 echo $ac_n "(cached) $ac_c" 1>&6
14178 cat > conftest.
$ac_ext <<EOF
14179 #line 14180 "configure"
14180 #include "confdefs.h"
14181 #include <pthread.h>
14184 pthread_mutexattr_t attr;
14185 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
14189 if { (eval echo configure
:14190: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14192 wx_cv_type_pthread_mutexattr_t
=yes
14195 echo "configure: failed program was:" >&5
14196 cat conftest.
$ac_ext >&5
14199 wx_cv_type_pthread_mutexattr_t
=no
14207 echo "$ac_t""$wx_cv_type_pthread_mutexattr_t" 1>&6
14209 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
14210 cat >> confdefs.h
<<\EOF
14211 #define HAVE_PTHREAD_MUTEXATTR_T 1
14215 echo $ac_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER""... $ac_c" 1>&6
14216 echo "configure:14217: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
14217 if eval "test \"`echo '$''{'wx_cv_type_pthread_rec_mutex_init'+set}'`\" = set"; then
14218 echo $ac_n "(cached) $ac_c" 1>&6
14221 cat > conftest.
$ac_ext <<EOF
14222 #line 14223 "configure"
14223 #include "confdefs.h"
14224 #include <pthread.h>
14227 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
14231 if { (eval echo configure
:14232: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14234 wx_cv_type_pthread_rec_mutex_init
=yes
14237 echo "configure: failed program was:" >&5
14238 cat conftest.
$ac_ext >&5
14241 wx_cv_type_pthread_rec_mutex_init
=no
14249 echo "$ac_t""$wx_cv_type_pthread_rec_mutex_init" 1>&6
14250 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
14251 cat >> confdefs.h
<<\EOF
14252 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
14256 echo "configure: warning: wxMutex won't be recursive on this platform" 1>&2
14260 THREADS_LINK
="-l$THREADS_LINK"
14262 if test "$USE_SOLARIS" = "yes" -a "$GCC" != "yes"; then
14263 CFLAGS
="${CFLAGS} -mt"
14264 CXXFLAGS
="${CXXFLAGS} -mt"
14265 LDFLAGS
="${LDFLAGS} -mt"
14271 if test "$wxUSE_THREADS" = "yes"; then
14272 cat >> confdefs.h
<<\EOF
14273 #define wxUSE_THREADS 1
14277 if test "$wxUSE_MAC" = "0"; then
14278 CFLAGS
="${CFLAGS} -D_REENTRANT"
14279 CXXFLAGS
="${CXXFLAGS} -D_REENTRANT"
14282 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
14284 if test "$ac_cv_func_strtok_r" = "yes"; then
14285 echo $ac_n "checking if -D_REENTRANT is needed""... $ac_c" 1>&6
14286 echo "configure:14287: checking if -D_REENTRANT is needed" >&5
14287 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
14288 CFLAGS
="${CFLAGS} -D_REENTRANT"
14289 CXXFLAGS
="${CXXFLAGS} -D_REENTRANT"
14290 echo "$ac_t""yes" 1>&6
14292 echo "$ac_t""no" 1>&6
14297 if test "$WXGTK20" = 1 ; then
14298 cat >> confdefs.h
<<EOF
14299 #define __WXGTK20__ $WXGTK20
14305 if test "$WXGTK12" = 1 ; then
14306 cat >> confdefs.h
<<EOF
14307 #define __WXGTK12__ $WXGTK12
14312 if test "$WXGTK127" = 1 ; then
14313 cat >> confdefs.h
<<EOF
14314 #define __WXGTK127__ $WXGTK127
14319 if test "$WXWINE" = 1 ; then
14320 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WXWINE__"
14323 if test "$wxUSE_MAC" = 1 ; then
14324 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__UNIX__ -D__POWERPC__ -DTARGET_CARBON"
14325 CFLAGS
="${CFLAGS} -fno-common -fpascal-strings"
14326 CPPFLAGS
="${CPPFLAGS} -cpp-precomp -fno-common -fpascal-strings"
14327 # Extract the first word of "Rez", so it can be a program name with args.
14328 set dummy Rez
; ac_word
=$2
14329 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
14330 echo "configure:14331: checking for $ac_word" >&5
14331 if eval "test \"`echo '$''{'ac_cv_prog_REZ'+set}'`\" = set"; then
14332 echo $ac_n "(cached) $ac_c" 1>&6
14334 if test -n "$REZ"; then
14335 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
14337 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
14339 for ac_dir
in $ac_dummy; do
14340 test -z "$ac_dir" && ac_dir
=.
14341 if test -f $ac_dir/$ac_word; then
14342 ac_cv_prog_REZ
="Rez"
14347 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
14350 REZ
="$ac_cv_prog_REZ"
14351 if test -n "$REZ"; then
14352 echo "$ac_t""$REZ" 1>&6
14354 echo "$ac_t""no" 1>&6
14357 # Extract the first word of "Derez", so it can be a program name with args.
14358 set dummy Derez
; ac_word
=$2
14359 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
14360 echo "configure:14361: checking for $ac_word" >&5
14361 if eval "test \"`echo '$''{'ac_cv_prog_DEREZ'+set}'`\" = set"; then
14362 echo $ac_n "(cached) $ac_c" 1>&6
14364 if test -n "$DEREZ"; then
14365 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
14367 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
14369 for ac_dir
in $ac_dummy; do
14370 test -z "$ac_dir" && ac_dir
=.
14371 if test -f $ac_dir/$ac_word; then
14372 ac_cv_prog_DEREZ
="Derez"
14377 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/Derez"
14380 DEREZ
="$ac_cv_prog_DEREZ"
14381 if test -n "$DEREZ"; then
14382 echo "$ac_t""$DEREZ" 1>&6
14384 echo "$ac_t""no" 1>&6
14388 REZFLAGS
="-d __UNIX__ -useDF"
14389 DEREZFLAGS
="Carbon.r -useDF"
14390 RESFLAGS
="Carbon.r -t APPL"
14391 LIBWXMACRES
="\$(LIBWX_MACRES)"
14392 LIBWXMACRESCOMP
="\$(LIBWX_MACRESCOMP)"
14395 if test "$wxUSE_CYGWIN" = 1 ; then
14396 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WIN95__"
14401 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
14406 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
14407 wxUSE_DEBUG_INFO
=yes
14411 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
14412 cat >> confdefs.h
<<\EOF
14416 WXDEBUG_DEFINE
="-D__WXDEBUG__"
14418 if test "$wxUSE_GTK" = 1 ; then
14419 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
14423 if test "$wxUSE_MEM_TRACING" = "yes" ; then
14424 cat >> confdefs.h
<<\EOF
14425 #define wxUSE_MEMORY_TRACING 1
14428 cat >> confdefs.h
<<\EOF
14429 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
14432 cat >> confdefs.h
<<\EOF
14433 #define wxUSE_DEBUG_NEW_ALWAYS 1
14436 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
14439 if test "$wxUSE_DMALLOC" = "yes" ; then
14440 DMALLOC_LINK
="-ldmalloc"
14444 if test "$wxUSE_PROFILE" = "yes" ; then
14450 CODE_GEN_FLAGS_CXX
=
14451 if test "$GCC" = yes ; then
14452 if test "$wxUSE_NO_RTTI" = "yes" ; then
14453 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS -fno-rtti"
14455 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
14456 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS -fno-exceptions"
14458 if test "$wxUSE_PERMISSIVE" = "yes" ; then
14459 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
14461 if test "$wxUSE_NO_DEPS" = "no" ; then
14462 DEP_INFO_FLAGS
="-MMD"
14467 CXXFLAGS
=`echo "${CXXFLAGS}" | sed "s/\-O.//g" `
14468 CFLAGS
=`echo "${CFLAGS}" | sed "s/\-O.//g" `
14469 if test "$wxUSE_OPTIMISE" = "no" ; then
14472 if test "$GCC" = yes ; then
14475 i586
-*-*|i686
-*-* )
14476 OPTIMISE
="${OPTIMISE} "
14484 if test "$WXWIN_COMPATIBILITY_2" = "yes"; then
14485 cat >> confdefs.h
<<\EOF
14486 #define WXWIN_COMPATIBILITY_2 1
14490 WXWIN_COMPATIBILITY_2_2
="yes"
14493 if test "$WXWIN_COMPATIBILITY_2_2" = "yes"; then
14494 cat >> confdefs.h
<<\EOF
14495 #define WXWIN_COMPATIBILITY_2_2 1
14502 if test "$wxUSE_ZLIB" = "yes" -o "$wxUSE_ZLIB" = "sys" ; then
14503 cat >> confdefs.h
<<\EOF
14504 #define wxUSE_ZLIB 1
14507 if test "$wxUSE_ZLIB" = "yes" ; then
14508 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
14511 ac_safe
=`echo "zlib.h" | sed 'y%./+-%__p_%'`
14512 echo $ac_n "checking for zlib.h""... $ac_c" 1>&6
14513 echo "configure:14514: checking for zlib.h" >&5
14514 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14515 echo $ac_n "(cached) $ac_c" 1>&6
14517 cat > conftest.
$ac_ext <<EOF
14518 #line 14519 "configure"
14519 #include "confdefs.h"
14522 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14523 { (eval echo configure
:14524: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14524 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14525 if test -z "$ac_err"; then
14527 eval "ac_cv_header_$ac_safe=yes"
14530 echo "configure: failed program was:" >&5
14531 cat conftest.
$ac_ext >&5
14533 eval "ac_cv_header_$ac_safe=no"
14537 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14538 echo "$ac_t""yes" 1>&6
14539 echo $ac_n "checking for deflate in -lz""... $ac_c" 1>&6
14540 echo "configure:14541: checking for deflate in -lz" >&5
14541 ac_lib_var
=`echo z'_'deflate | sed 'y%./+-%__p_%'`
14542 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14543 echo $ac_n "(cached) $ac_c" 1>&6
14545 ac_save_LIBS
="$LIBS"
14547 cat > conftest.
$ac_ext <<EOF
14548 #line 14549 "configure"
14549 #include "confdefs.h"
14550 /* Override any gcc2 internal prototype to avoid an error. */
14551 /* We use char because int might match the return type of a gcc2
14552 builtin and then its argument prototype would still apply. */
14559 if { (eval echo configure
:14560: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14561 eval "ac_cv_lib_$ac_lib_var=yes"
14563 echo "configure: failed program was:" >&5
14564 cat conftest.
$ac_ext >&5
14566 eval "ac_cv_lib_$ac_lib_var=no"
14569 LIBS
="$ac_save_LIBS"
14572 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14573 echo "$ac_t""yes" 1>&6
14576 echo "$ac_t""no" 1>&6
14580 echo "$ac_t""no" 1>&6
14583 if test "x$ZLIB_LINK" = "x" ; then
14584 { echo "configure: error: system zlib compression library not found! Use --with-zlib=yes to use built-in zlib" 1>&2; exit 1; }
14590 if test "$wxUSE_LIBPNG" = "yes" -o "$wxUSE_LIBPNG" = "sys" ; then
14591 cat >> confdefs.h
<<\EOF
14592 #define wxUSE_LIBPNG 1
14595 if test "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
14596 echo "configure: warning: --with-libpng=sys doesn't work without --with-zlib=sys, will compile the built-in libpng instead" 1>&2
14600 if test "$wxUSE_LIBPNG" = "yes" ; then
14601 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
14604 ac_safe
=`echo "png.h" | sed 'y%./+-%__p_%'`
14605 echo $ac_n "checking for png.h""... $ac_c" 1>&6
14606 echo "configure:14607: checking for png.h" >&5
14607 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14608 echo $ac_n "(cached) $ac_c" 1>&6
14610 cat > conftest.
$ac_ext <<EOF
14611 #line 14612 "configure"
14612 #include "confdefs.h"
14615 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14616 { (eval echo configure
:14617: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14617 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14618 if test -z "$ac_err"; then
14620 eval "ac_cv_header_$ac_safe=yes"
14623 echo "configure: failed program was:" >&5
14624 cat conftest.
$ac_ext >&5
14626 eval "ac_cv_header_$ac_safe=no"
14630 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14631 echo "$ac_t""yes" 1>&6
14632 echo $ac_n "checking for png_check_sig in -lpng""... $ac_c" 1>&6
14633 echo "configure:14634: checking for png_check_sig in -lpng" >&5
14634 ac_lib_var
=`echo png'_'png_check_sig | sed 'y%./+-%__p_%'`
14635 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14636 echo $ac_n "(cached) $ac_c" 1>&6
14638 ac_save_LIBS
="$LIBS"
14639 LIBS
="-lpng -lz -lm $LIBS"
14640 cat > conftest.
$ac_ext <<EOF
14641 #line 14642 "configure"
14642 #include "confdefs.h"
14643 /* Override any gcc2 internal prototype to avoid an error. */
14644 /* We use char because int might match the return type of a gcc2
14645 builtin and then its argument prototype would still apply. */
14646 char png_check_sig();
14652 if { (eval echo configure
:14653: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14654 eval "ac_cv_lib_$ac_lib_var=yes"
14656 echo "configure: failed program was:" >&5
14657 cat conftest.
$ac_ext >&5
14659 eval "ac_cv_lib_$ac_lib_var=no"
14662 LIBS
="$ac_save_LIBS"
14665 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14666 echo "$ac_t""yes" 1>&6
14669 echo "$ac_t""no" 1>&6
14674 echo "$ac_t""no" 1>&6
14677 if test "x$PNG_LINK" = "x" ; then
14678 { echo "configure: error: system png library not found! Use --with-libpng=yes to use the built-in libpng" 1>&2; exit 1; }
14682 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
14686 if test "$wxUSE_LIBJPEG" = "yes" -o "$wxUSE_LIBJPEG" = "sys" ; then
14687 cat >> confdefs.h
<<\EOF
14688 #define wxUSE_LIBJPEG 1
14691 if test "$wxUSE_LIBJPEG" = "yes" ; then
14692 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
14695 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6
14696 echo "configure:14697: checking for jpeglib.h" >&5
14697 if eval "test \"`echo '$''{'ac_cv_header_jpeglib_h'+set}'`\" = set"; then
14698 echo $ac_n "(cached) $ac_c" 1>&6
14700 cat > conftest.
$ac_ext <<EOF
14701 #line 14702 "configure"
14702 #include "confdefs.h"
14704 #undef HAVE_STDLIB_H
14706 #include <jpeglib.h>
14713 if { (eval echo configure
:14714: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14715 ac_cv_header_jpeglib_h
=yes
14717 echo "configure: failed program was:" >&5
14718 cat conftest.
$ac_ext >&5
14720 ac_cv_header_jpeglib_h
=no
14727 echo "$ac_t""$ac_cv_header_jpeglib_h" 1>&6
14729 if test "$ac_cv_header_jpeglib_h" = "yes"; then
14730 echo $ac_n "checking for jpeg_read_header in -ljpeg""... $ac_c" 1>&6
14731 echo "configure:14732: checking for jpeg_read_header in -ljpeg" >&5
14732 ac_lib_var
=`echo jpeg'_'jpeg_read_header | sed 'y%./+-%__p_%'`
14733 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14734 echo $ac_n "(cached) $ac_c" 1>&6
14736 ac_save_LIBS
="$LIBS"
14737 LIBS
="-ljpeg $LIBS"
14738 cat > conftest.
$ac_ext <<EOF
14739 #line 14740 "configure"
14740 #include "confdefs.h"
14741 /* Override any gcc2 internal prototype to avoid an error. */
14742 /* We use char because int might match the return type of a gcc2
14743 builtin and then its argument prototype would still apply. */
14744 char jpeg_read_header();
14750 if { (eval echo configure
:14751: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14752 eval "ac_cv_lib_$ac_lib_var=yes"
14754 echo "configure: failed program was:" >&5
14755 cat conftest.
$ac_ext >&5
14757 eval "ac_cv_lib_$ac_lib_var=no"
14760 LIBS
="$ac_save_LIBS"
14763 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14764 echo "$ac_t""yes" 1>&6
14767 echo "$ac_t""no" 1>&6
14772 if test "x$JPEG_LINK" = "x" ; then
14773 { echo "configure: error: system jpeg library not found! Use --with-libjpeg=yes to use the built-in one" 1>&2; exit 1; }
14779 if test "$wxUSE_LIBTIFF" = "yes" -o "$wxUSE_LIBTIFF" = "sys" ; then
14780 cat >> confdefs.h
<<\EOF
14781 #define wxUSE_LIBTIFF 1
14784 if test "$wxUSE_LIBTIFF" = "yes" ; then
14785 TIFF_INCLUDE
="-I\${top_srcdir}/src/tiff"
14788 ac_safe
=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
14789 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
14790 echo "configure:14791: checking for tiffio.h" >&5
14791 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14792 echo $ac_n "(cached) $ac_c" 1>&6
14794 cat > conftest.
$ac_ext <<EOF
14795 #line 14796 "configure"
14796 #include "confdefs.h"
14797 #include <tiffio.h>
14799 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14800 { (eval echo configure
:14801: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14801 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14802 if test -z "$ac_err"; then
14804 eval "ac_cv_header_$ac_safe=yes"
14807 echo "configure: failed program was:" >&5
14808 cat conftest.
$ac_ext >&5
14810 eval "ac_cv_header_$ac_safe=no"
14814 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14815 echo "$ac_t""yes" 1>&6
14816 echo $ac_n "checking for TIFFError in -ltiff""... $ac_c" 1>&6
14817 echo "configure:14818: checking for TIFFError in -ltiff" >&5
14818 ac_lib_var
=`echo tiff'_'TIFFError | sed 'y%./+-%__p_%'`
14819 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14820 echo $ac_n "(cached) $ac_c" 1>&6
14822 ac_save_LIBS
="$LIBS"
14823 LIBS
="-ltiff -lm $LIBS"
14824 cat > conftest.
$ac_ext <<EOF
14825 #line 14826 "configure"
14826 #include "confdefs.h"
14827 /* Override any gcc2 internal prototype to avoid an error. */
14828 /* We use char because int might match the return type of a gcc2
14829 builtin and then its argument prototype would still apply. */
14836 if { (eval echo configure
:14837: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14838 eval "ac_cv_lib_$ac_lib_var=yes"
14840 echo "configure: failed program was:" >&5
14841 cat conftest.
$ac_ext >&5
14843 eval "ac_cv_lib_$ac_lib_var=no"
14846 LIBS
="$ac_save_LIBS"
14849 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14850 echo "$ac_t""yes" 1>&6
14853 echo "$ac_t""no" 1>&6
14857 echo "$ac_t""no" 1>&6
14860 if test "x$TIFF_LINK" = "x" ; then
14861 { echo "configure: error: system tiff library not found! Use --with-libtiff=yes to use the built-in one" 1>&2; exit 1; }
14867 if test "$wxUSE_FREETYPE" = "yes" -o "$wxUSE_FREETYPE" = "sys" ; then
14868 cat >> confdefs.h
<<\EOF
14869 #define wxUSE_FREETYPE 1
14872 if test "$wxUSE_FREETYPE" = "yes" ; then
14873 FREETYPE_INCLUDE
="-I\${top_srcdir}/src/freetype"
14876 ac_safe
=`echo "freetype.h" | sed 'y%./+-%__p_%'`
14877 echo $ac_n "checking for freetype.h""... $ac_c" 1>&6
14878 echo "configure:14879: checking for freetype.h" >&5
14879 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14880 echo $ac_n "(cached) $ac_c" 1>&6
14882 cat > conftest.
$ac_ext <<EOF
14883 #line 14884 "configure"
14884 #include "confdefs.h"
14885 #include <freetype.h>
14887 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14888 { (eval echo configure
:14889: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14889 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14890 if test -z "$ac_err"; then
14892 eval "ac_cv_header_$ac_safe=yes"
14895 echo "configure: failed program was:" >&5
14896 cat conftest.
$ac_ext >&5
14898 eval "ac_cv_header_$ac_safe=no"
14902 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14903 echo "$ac_t""yes" 1>&6
14904 echo $ac_n "checking for FT_Render_Glyph in -lfreetype""... $ac_c" 1>&6
14905 echo "configure:14906: checking for FT_Render_Glyph in -lfreetype" >&5
14906 ac_lib_var
=`echo freetype'_'FT_Render_Glyph | sed 'y%./+-%__p_%'`
14907 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14908 echo $ac_n "(cached) $ac_c" 1>&6
14910 ac_save_LIBS
="$LIBS"
14911 LIBS
="-lfreetype -lm $LIBS"
14912 cat > conftest.
$ac_ext <<EOF
14913 #line 14914 "configure"
14914 #include "confdefs.h"
14915 /* Override any gcc2 internal prototype to avoid an error. */
14916 /* We use char because int might match the return type of a gcc2
14917 builtin and then its argument prototype would still apply. */
14918 char FT_Render_Glyph();
14924 if { (eval echo configure
:14925: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14926 eval "ac_cv_lib_$ac_lib_var=yes"
14928 echo "configure: failed program was:" >&5
14929 cat conftest.
$ac_ext >&5
14931 eval "ac_cv_lib_$ac_lib_var=no"
14934 LIBS
="$ac_save_LIBS"
14937 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14938 echo "$ac_t""yes" 1>&6
14939 FREETYPE_LINK
="-lfreetype"
14941 echo "$ac_t""no" 1>&6
14946 echo "$ac_t""no" 1>&6
14949 if test "x$FREETYPE_LINK" = "x" ; then
14950 { echo "configure: error: system freetype library not found! Use --with-freetype=yes to use the built-in freetype" 1>&2; exit 1; }
14955 if test "$wxUSE_OPENGL" = "yes"; then
14956 ac_safe
=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
14957 echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
14958 echo "configure:14959: checking for GL/gl.h" >&5
14959 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14960 echo $ac_n "(cached) $ac_c" 1>&6
14962 cat > conftest.
$ac_ext <<EOF
14963 #line 14964 "configure"
14964 #include "confdefs.h"
14967 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14968 { (eval echo configure
:14969: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14969 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14970 if test -z "$ac_err"; then
14972 eval "ac_cv_header_$ac_safe=yes"
14975 echo "configure: failed program was:" >&5
14976 cat conftest.
$ac_ext >&5
14978 eval "ac_cv_header_$ac_safe=no"
14982 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14983 echo "$ac_t""yes" 1>&6
14985 cat >> confdefs.h
<<\EOF
14986 #define wxUSE_OPENGL 1
14989 cat >> confdefs.h
<<\EOF
14990 #define wxUSE_GLCANVAS 1
14993 echo $ac_n "checking for glFlush in -lGL""... $ac_c" 1>&6
14994 echo "configure:14995: checking for glFlush in -lGL" >&5
14995 ac_lib_var
=`echo GL'_'glFlush | sed 'y%./+-%__p_%'`
14996 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14997 echo $ac_n "(cached) $ac_c" 1>&6
14999 ac_save_LIBS
="$LIBS"
15001 cat > conftest.
$ac_ext <<EOF
15002 #line 15003 "configure"
15003 #include "confdefs.h"
15004 /* Override any gcc2 internal prototype to avoid an error. */
15005 /* We use char because int might match the return type of a gcc2
15006 builtin and then its argument prototype would still apply. */
15013 if { (eval echo configure
:15014: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15015 eval "ac_cv_lib_$ac_lib_var=yes"
15017 echo "configure: failed program was:" >&5
15018 cat conftest.
$ac_ext >&5
15020 eval "ac_cv_lib_$ac_lib_var=no"
15023 LIBS
="$ac_save_LIBS"
15026 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15027 echo "$ac_t""yes" 1>&6
15029 OPENGL_LINK
="-lGL -lGLU"
15032 echo "$ac_t""no" 1>&6
15034 echo $ac_n "checking for glFlush in -lMesaGL""... $ac_c" 1>&6
15035 echo "configure:15036: checking for glFlush in -lMesaGL" >&5
15036 ac_lib_var
=`echo MesaGL'_'glFlush | sed 'y%./+-%__p_%'`
15037 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15038 echo $ac_n "(cached) $ac_c" 1>&6
15040 ac_save_LIBS
="$LIBS"
15041 LIBS
="-lMesaGL $LIBS"
15042 cat > conftest.
$ac_ext <<EOF
15043 #line 15044 "configure"
15044 #include "confdefs.h"
15045 /* Override any gcc2 internal prototype to avoid an error. */
15046 /* We use char because int might match the return type of a gcc2
15047 builtin and then its argument prototype would still apply. */
15054 if { (eval echo configure
:15055: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15056 eval "ac_cv_lib_$ac_lib_var=yes"
15058 echo "configure: failed program was:" >&5
15059 cat conftest.
$ac_ext >&5
15061 eval "ac_cv_lib_$ac_lib_var=no"
15064 LIBS
="$ac_save_LIBS"
15067 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15068 echo "$ac_t""yes" 1>&6
15070 OPENGL_LINK
="-lMesaGL -lMesaGLU"
15073 echo "$ac_t""no" 1>&6
15081 echo "$ac_t""no" 1>&6
15088 if test "$wxUSE_GUI" = "yes"; then
15089 cat >> confdefs.h
<<\EOF
15090 #define wxUSE_GUI 1
15095 cat >> confdefs.h
<<\EOF
15096 #define wxUSE_NOGUI 1
15102 if test "$wxUSE_UNIX" = "yes"; then
15103 cat >> confdefs.h
<<\EOF
15104 #define wxUSE_UNIX 1
15110 if test "$wxUSE_APPLE_IEEE" = "yes"; then
15111 cat >> confdefs.h
<<\EOF
15112 #define wxUSE_APPLE_IEEE 1
15117 if test "$wxUSE_TIMER" = "yes"; then
15118 cat >> confdefs.h
<<\EOF
15119 #define wxUSE_TIMER 1
15124 if test "$wxUSE_WAVE" = "yes"; then
15125 cat >> confdefs.h
<<\EOF
15126 #define wxUSE_WAVE 1
15131 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
15132 cat >> confdefs.h
<<\EOF
15133 #define wxUSE_CMDLINE_PARSER 1
15138 if test "$wxUSE_STOPWATCH" = "yes"; then
15139 cat >> confdefs.h
<<\EOF
15140 #define wxUSE_STOPWATCH 1
15145 if test "$wxUSE_DATETIME" = "yes"; then
15146 cat >> confdefs.h
<<\EOF
15147 #define wxUSE_DATETIME 1
15152 if test "$wxUSE_TIMEDATE" = "yes"; then
15153 cat >> confdefs.h
<<\EOF
15154 #define wxUSE_TIMEDATE 1
15159 if test "$wxUSE_FILE" = "yes"; then
15160 cat >> confdefs.h
<<\EOF
15161 #define wxUSE_FILE 1
15166 if test "$wxUSE_FFILE" = "yes"; then
15167 cat >> confdefs.h
<<\EOF
15168 #define wxUSE_FFILE 1
15173 if test "$wxUSE_FILESYSTEM" = "yes"; then
15174 cat >> confdefs.h
<<\EOF
15175 #define wxUSE_FILESYSTEM 1
15180 if test "$wxUSE_FS_INET" = "yes"; then
15181 cat >> confdefs.h
<<\EOF
15182 #define wxUSE_FS_INET 1
15187 if test "$wxUSE_FS_ZIP" = "yes"; then
15188 cat >> confdefs.h
<<\EOF
15189 #define wxUSE_FS_ZIP 1
15194 if test "$wxUSE_ZIPSTREAM" = "yes"; then
15195 cat >> confdefs.h
<<\EOF
15196 #define wxUSE_ZIPSTREAM 1
15201 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
15202 cat >> confdefs.h
<<\EOF
15203 #define wxUSE_ON_FATAL_EXCEPTION 1
15208 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
15209 cat >> confdefs.h
<<\EOF
15210 #define wxUSE_SNGLINST_CHECKER 1
15215 if test "$wxUSE_BUSYINFO" = "yes"; then
15216 cat >> confdefs.h
<<\EOF
15217 #define wxUSE_BUSYINFO 1
15222 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
15223 cat >> confdefs.h
<<\EOF
15224 #define wxUSE_STD_IOSTREAM 1
15229 if test "$wxUSE_TEXTFILE" = "yes"; then
15230 if test "$wxUSE_FILE" != "yes"; then
15231 echo "configure: warning: wxTextFile requires wxFile and it won't be compiled without it" 1>&2
15233 cat >> confdefs.h
<<\EOF
15234 #define wxUSE_TEXTFILE 1
15240 if test "$wxUSE_CONFIG" = "yes" ; then
15241 if test "$wxUSE_TEXTFILE" != "yes"; then
15242 echo "configure: warning: wxConfig requires wxTextFile and it won't be compiled without it" 1>&2
15244 cat >> confdefs.h
<<\EOF
15245 #define wxUSE_CONFIG 1
15248 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
15252 if test "$wxUSE_INTL" = "yes" ; then
15253 if test "$wxUSE_FILE" != "yes"; then
15254 echo "configure: warning: I18n code requires wxFile and it won't be compiled without it" 1>&2
15256 cat >> confdefs.h
<<\EOF
15257 #define wxUSE_INTL 1
15260 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
15261 GUIDIST
="$GUIDIST INTL_DIST"
15265 if test "$wxUSE_LOG" = "yes"; then
15266 cat >> confdefs.h
<<\EOF
15267 #define wxUSE_LOG 1
15271 if test "$wxUSE_LOGGUI" = "yes"; then
15272 cat >> confdefs.h
<<\EOF
15273 #define wxUSE_LOGGUI 1
15278 if test "$wxUSE_LOGWINDOW" = "yes"; then
15279 cat >> confdefs.h
<<\EOF
15280 #define wxUSE_LOGWINDOW 1
15286 if test "$wxUSE_LONGLONG" = "yes"; then
15287 cat >> confdefs.h
<<\EOF
15288 #define wxUSE_LONGLONG 1
15293 if test "$wxUSE_GEOMETRY" = "yes"; then
15294 cat >> confdefs.h
<<\EOF
15295 #define wxUSE_GEOMETRY 1
15300 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
15301 cat >> confdefs.h
<<\EOF
15302 #define wxUSE_DIALUP_MANAGER 1
15305 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
15308 if test "$wxUSE_STREAMS" = "yes" ; then
15309 cat >> confdefs.h
<<\EOF
15310 #define wxUSE_STREAMS 1
15316 if test "$wxUSE_DATETIME" = "yes"; then
15317 for ac_func
in strptime
15319 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15320 echo "configure:15321: checking for $ac_func" >&5
15321 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15322 echo $ac_n "(cached) $ac_c" 1>&6
15324 cat > conftest.
$ac_ext <<EOF
15325 #line 15326 "configure"
15326 #include "confdefs.h"
15327 /* System header to define __stub macros and hopefully few prototypes,
15328 which can conflict with char $ac_func(); below. */
15329 #include <assert.h>
15330 /* Override any gcc2 internal prototype to avoid an error. */
15331 /* We use char because int might match the return type of a gcc2
15332 builtin and then its argument prototype would still apply. */
15337 /* The GNU C library defines this for functions which it implements
15338 to always fail with ENOSYS. Some functions are actually named
15339 something starting with __ and the normal name is an alias. */
15340 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15348 if { (eval echo configure
:15349: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15350 eval "ac_cv_func_$ac_func=yes"
15352 echo "configure: failed program was:" >&5
15353 cat conftest.
$ac_ext >&5
15355 eval "ac_cv_func_$ac_func=no"
15360 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15361 echo "$ac_t""yes" 1>&6
15362 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15363 cat >> confdefs.h
<<EOF
15364 #define $ac_tr_func 1
15368 echo "$ac_t""no" 1>&6
15373 echo $ac_n "checking for timezone variable in <time.h>""... $ac_c" 1>&6
15374 echo "configure:15375: checking for timezone variable in <time.h>" >&5
15375 if eval "test \"`echo '$''{'wx_cv_var_timezone'+set}'`\" = set"; then
15376 echo $ac_n "(cached) $ac_c" 1>&6
15379 cat > conftest.
$ac_ext <<EOF
15380 #line 15381 "configure"
15381 #include "confdefs.h"
15392 if { (eval echo configure
:15393: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15395 wx_cv_var_timezone
=__timezone
15398 echo "configure: failed program was:" >&5
15399 cat conftest.
$ac_ext >&5
15402 cat > conftest.
$ac_ext <<EOF
15403 #line 15404 "configure"
15404 #include "confdefs.h"
15415 if { (eval echo configure
:15416: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15418 wx_cv_var_timezone
=_timezone
15421 echo "configure: failed program was:" >&5
15422 cat conftest.
$ac_ext >&5
15425 cat > conftest.
$ac_ext <<EOF
15426 #line 15427 "configure"
15427 #include "confdefs.h"
15438 if { (eval echo configure
:15439: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15441 wx_cv_var_timezone
=timezone
15444 echo "configure: failed program was:" >&5
15445 cat conftest.
$ac_ext >&5
15447 { echo "configure: error: no timezone variable" 1>&2; exit 1; }
15463 echo "$ac_t""$wx_cv_var_timezone" 1>&6
15465 cat >> confdefs.h
<<EOF
15466 #define WX_TIMEZONE $wx_cv_var_timezone
15470 for ac_func
in localtime
15472 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15473 echo "configure:15474: checking for $ac_func" >&5
15474 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15475 echo $ac_n "(cached) $ac_c" 1>&6
15477 cat > conftest.
$ac_ext <<EOF
15478 #line 15479 "configure"
15479 #include "confdefs.h"
15480 /* System header to define __stub macros and hopefully few prototypes,
15481 which can conflict with char $ac_func(); below. */
15482 #include <assert.h>
15483 /* Override any gcc2 internal prototype to avoid an error. */
15484 /* We use char because int might match the return type of a gcc2
15485 builtin and then its argument prototype would still apply. */
15490 /* The GNU C library defines this for functions which it implements
15491 to always fail with ENOSYS. Some functions are actually named
15492 something starting with __ and the normal name is an alias. */
15493 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15501 if { (eval echo configure
:15502: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15503 eval "ac_cv_func_$ac_func=yes"
15505 echo "configure: failed program was:" >&5
15506 cat conftest.
$ac_ext >&5
15508 eval "ac_cv_func_$ac_func=no"
15513 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15514 echo "$ac_t""yes" 1>&6
15515 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15516 cat >> confdefs.h
<<EOF
15517 #define $ac_tr_func 1
15521 echo "$ac_t""no" 1>&6
15526 if test "$ac_cv_func_localtime" = "yes"; then
15527 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
15528 echo "configure:15529: checking for tm_gmtoff in struct tm" >&5
15529 if eval "test \"`echo '$''{'wx_cv_struct_tm_has_gmtoff'+set}'`\" = set"; then
15530 echo $ac_n "(cached) $ac_c" 1>&6
15533 cat > conftest.
$ac_ext <<EOF
15534 #line 15535 "configure"
15535 #include "confdefs.h"
15546 if { (eval echo configure
:15547: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15549 wx_cv_struct_tm_has_gmtoff
=yes
15552 echo "configure: failed program was:" >&5
15553 cat conftest.
$ac_ext >&5
15555 wx_cv_struct_tm_has_gmtoff
=no
15562 echo "$ac_t""$wx_cv_struct_tm_has_gmtoff" 1>&6
15565 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
15566 cat >> confdefs.h
<<\EOF
15567 #define WX_GMTOFF_IN_TM 1
15572 for ac_func
in gettimeofday ftime
15574 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15575 echo "configure:15576: checking for $ac_func" >&5
15576 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15577 echo $ac_n "(cached) $ac_c" 1>&6
15579 cat > conftest.
$ac_ext <<EOF
15580 #line 15581 "configure"
15581 #include "confdefs.h"
15582 /* System header to define __stub macros and hopefully few prototypes,
15583 which can conflict with char $ac_func(); below. */
15584 #include <assert.h>
15585 /* Override any gcc2 internal prototype to avoid an error. */
15586 /* We use char because int might match the return type of a gcc2
15587 builtin and then its argument prototype would still apply. */
15592 /* The GNU C library defines this for functions which it implements
15593 to always fail with ENOSYS. Some functions are actually named
15594 something starting with __ and the normal name is an alias. */
15595 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15603 if { (eval echo configure
:15604: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15605 eval "ac_cv_func_$ac_func=yes"
15607 echo "configure: failed program was:" >&5
15608 cat conftest.
$ac_ext >&5
15610 eval "ac_cv_func_$ac_func=no"
15615 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15616 echo "$ac_t""yes" 1>&6
15617 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15618 cat >> confdefs.h
<<EOF
15619 #define $ac_tr_func 1
15623 echo "$ac_t""no" 1>&6
15628 if test "$ac_cv_func_gettimeofday" = "yes"; then
15629 echo $ac_n "checking whether gettimeofday takes two arguments""... $ac_c" 1>&6
15630 echo "configure:15631: checking whether gettimeofday takes two arguments" >&5
15631 if eval "test \"`echo '$''{'wx_cv_func_gettimeofday_has_2_args'+set}'`\" = set"; then
15632 echo $ac_n "(cached) $ac_c" 1>&6
15637 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15638 ac_cpp
='$CXXCPP $CPPFLAGS'
15639 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15640 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15641 cross_compiling
=$ac_cv_prog_cxx_cross
15644 cat > conftest.
$ac_ext <<EOF
15645 #line 15646 "configure"
15646 #include "confdefs.h"
15648 #include <sys/time.h>
15649 #include <unistd.h>
15654 struct timezone tz;
15655 gettimeofday(&tv, &tz);
15659 if { (eval echo configure
:15660: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15661 wx_cv_func_gettimeofday_has_2_args
=yes
15663 echo "configure: failed program was:" >&5
15664 cat conftest.
$ac_ext >&5
15666 cat > conftest.
$ac_ext <<EOF
15667 #line 15668 "configure"
15668 #include "confdefs.h"
15670 #include <sys/time.h>
15671 #include <unistd.h>
15680 if { (eval echo configure
:15681: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15682 wx_cv_func_gettimeofday_has_2_args
=no
15684 echo "configure: failed program was:" >&5
15685 cat conftest.
$ac_ext >&5
15687 wx_cv_func_gettimeofday_has_2_args
=unknown
15695 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15696 ac_cpp
='$CPP $CPPFLAGS'
15697 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15698 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15699 cross_compiling
=$ac_cv_prog_cc_cross
15704 echo "$ac_t""$wx_cv_func_gettimeofday_has_2_args" 1>&6
15706 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
15707 cat >> confdefs.h
<<\EOF
15708 #define WX_GETTIMEOFDAY_NO_TZ 1
15714 cat >> confdefs.h
<<\EOF
15715 #define wxUSE_TIMEDATE 1
15718 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
15722 if test "$TOOLKIT" != "MSW"; then
15724 if test "$wxUSE_SOCKETS" = "yes"; then
15725 echo $ac_n "checking for socket""... $ac_c" 1>&6
15726 echo "configure:15727: checking for socket" >&5
15727 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
15728 echo $ac_n "(cached) $ac_c" 1>&6
15730 cat > conftest.
$ac_ext <<EOF
15731 #line 15732 "configure"
15732 #include "confdefs.h"
15733 /* System header to define __stub macros and hopefully few prototypes,
15734 which can conflict with char socket(); below. */
15735 #include <assert.h>
15736 /* Override any gcc2 internal prototype to avoid an error. */
15737 /* We use char because int might match the return type of a gcc2
15738 builtin and then its argument prototype would still apply. */
15743 /* The GNU C library defines this for functions which it implements
15744 to always fail with ENOSYS. Some functions are actually named
15745 something starting with __ and the normal name is an alias. */
15746 #if defined (__stub_socket) || defined (__stub___socket)
15754 if { (eval echo configure
:15755: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15756 eval "ac_cv_func_socket=yes"
15758 echo "configure: failed program was:" >&5
15759 cat conftest.
$ac_ext >&5
15761 eval "ac_cv_func_socket=no"
15766 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
15767 echo "$ac_t""yes" 1>&6
15770 echo "$ac_t""no" 1>&6
15771 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
15772 echo "configure:15773: checking for socket in -lsocket" >&5
15773 ac_lib_var
=`echo socket'_'socket | sed 'y%./+-%__p_%'`
15774 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15775 echo $ac_n "(cached) $ac_c" 1>&6
15777 ac_save_LIBS
="$LIBS"
15778 LIBS
="-lsocket $LIBS"
15779 cat > conftest.
$ac_ext <<EOF
15780 #line 15781 "configure"
15781 #include "confdefs.h"
15782 /* Override any gcc2 internal prototype to avoid an error. */
15783 /* We use char because int might match the return type of a gcc2
15784 builtin and then its argument prototype would still apply. */
15791 if { (eval echo configure
:15792: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15793 eval "ac_cv_lib_$ac_lib_var=yes"
15795 echo "configure: failed program was:" >&5
15796 cat conftest.
$ac_ext >&5
15798 eval "ac_cv_lib_$ac_lib_var=no"
15801 LIBS
="$ac_save_LIBS"
15804 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15805 echo "$ac_t""yes" 1>&6
15806 INET_LINK
="$INET_LINK -lsocket"
15808 echo "$ac_t""no" 1>&6
15810 echo "configure: warning: socket library not found - sockets will be disabled" 1>&2
15822 if test "$wxUSE_SOCKETS" = "yes" ; then
15823 echo $ac_n "checking what is the type of the third argument of getsockname""... $ac_c" 1>&6
15824 echo "configure:15825: checking what is the type of the third argument of getsockname" >&5
15825 if eval "test \"`echo '$''{'wx_cv_type_getsockname3'+set}'`\" = set"; then
15826 echo $ac_n "(cached) $ac_c" 1>&6
15831 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15832 ac_cpp
='$CXXCPP $CPPFLAGS'
15833 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15834 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15835 cross_compiling
=$ac_cv_prog_cxx_cross
15838 cat > conftest.
$ac_ext <<EOF
15839 #line 15840 "configure"
15840 #include "confdefs.h"
15842 #include <sys/types.h>
15843 #include <sys/socket.h>
15848 getsockname(0, 0, &len);
15852 if { (eval echo configure
:15853: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15854 wx_cv_type_getsockname3
=socklen_t
15856 echo "configure: failed program was:" >&5
15857 cat conftest.
$ac_ext >&5
15859 cat > conftest.
$ac_ext <<EOF
15860 #line 15861 "configure"
15861 #include "confdefs.h"
15863 #include <sys/types.h>
15864 #include <sys/socket.h>
15869 getsockname(0, 0, &len);
15873 if { (eval echo configure
:15874: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15875 wx_cv_type_getsockname3
=size_t
15877 echo "configure: failed program was:" >&5
15878 cat conftest.
$ac_ext >&5
15880 cat > conftest.
$ac_ext <<EOF
15881 #line 15882 "configure"
15882 #include "confdefs.h"
15884 #include <sys/types.h>
15885 #include <sys/socket.h>
15890 getsockname(0, 0, &len);
15894 if { (eval echo configure
:15895: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15896 wx_cv_type_getsockname3
=int
15898 echo "configure: failed program was:" >&5
15899 cat conftest.
$ac_ext >&5
15901 wx_cv_type_getsockname3
=unknown
15913 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15914 ac_cpp
='$CPP $CPPFLAGS'
15915 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15916 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15917 cross_compiling
=$ac_cv_prog_cc_cross
15922 echo "$ac_t""$wx_cv_type_getsockname3" 1>&6
15924 if test "$wx_cv_type_getsockname3" = "unknown"; then
15926 echo "configure: warning: Couldn't find socklen_t synonym for this system" 1>&2
15928 cat >> confdefs.h
<<EOF
15929 #define SOCKLEN_T $wx_cv_type_getsockname3
15937 if test "$wxUSE_SOCKETS" = "yes" ; then
15938 cat >> confdefs.h
<<\EOF
15939 #define wxUSE_SOCKETS 1
15942 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
15943 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS protocol"
15947 if test "$wxUSE_GUI" = "yes"; then
15949 if test "$TOOLKIT" != "MSW"; then
15951 if test "$wxUSE_JOYSTICK" = "yes"; then
15952 for ac_hdr
in linux
/joystick.h
15954 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
15955 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
15956 echo "configure:15957: checking for $ac_hdr" >&5
15957 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15958 echo $ac_n "(cached) $ac_c" 1>&6
15960 cat > conftest.
$ac_ext <<EOF
15961 #line 15962 "configure"
15962 #include "confdefs.h"
15965 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15966 { (eval echo configure
:15967: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15967 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15968 if test -z "$ac_err"; then
15970 eval "ac_cv_header_$ac_safe=yes"
15973 echo "configure: failed program was:" >&5
15974 cat conftest.
$ac_ext >&5
15976 eval "ac_cv_header_$ac_safe=no"
15980 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15981 echo "$ac_t""yes" 1>&6
15982 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
15983 cat >> confdefs.h
<<EOF
15984 #define $ac_tr_hdr 1
15988 echo "$ac_t""no" 1>&6
15992 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
15994 echo "configure: warning: Joystick not supported by this system" 1>&2
16000 if test "$wxUSE_JOYSTICK" = "yes"; then
16001 cat >> confdefs.h
<<\EOF
16002 #define wxUSE_JOYSTICK 1
16005 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
16011 if test "$TOOLKIT" != "MSW"; then
16015 if test "$wxUSE_DYNLIB_CLASS" = "yes"; then
16016 if test "$USE_MAC" = 1; then
16019 for ac_func
in dlopen
16021 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16022 echo "configure:16023: checking for $ac_func" >&5
16023 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16024 echo $ac_n "(cached) $ac_c" 1>&6
16026 cat > conftest.
$ac_ext <<EOF
16027 #line 16028 "configure"
16028 #include "confdefs.h"
16029 /* System header to define __stub macros and hopefully few prototypes,
16030 which can conflict with char $ac_func(); below. */
16031 #include <assert.h>
16032 /* Override any gcc2 internal prototype to avoid an error. */
16033 /* We use char because int might match the return type of a gcc2
16034 builtin and then its argument prototype would still apply. */
16039 /* The GNU C library defines this for functions which it implements
16040 to always fail with ENOSYS. Some functions are actually named
16041 something starting with __ and the normal name is an alias. */
16042 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16050 if { (eval echo configure
:16051: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16052 eval "ac_cv_func_$ac_func=yes"
16054 echo "configure: failed program was:" >&5
16055 cat conftest.
$ac_ext >&5
16057 eval "ac_cv_func_$ac_func=no"
16062 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16063 echo "$ac_t""yes" 1>&6
16064 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16065 cat >> confdefs.h
<<EOF
16066 #define $ac_tr_func 1
16069 cat >> confdefs.h
<<\EOF
16070 #define HAVE_DLOPEN 1
16076 echo "$ac_t""no" 1>&6
16077 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
16078 echo "configure:16079: checking for dlopen in -ldl" >&5
16079 ac_lib_var
=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
16080 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16081 echo $ac_n "(cached) $ac_c" 1>&6
16083 ac_save_LIBS
="$LIBS"
16085 cat > conftest.
$ac_ext <<EOF
16086 #line 16087 "configure"
16087 #include "confdefs.h"
16088 /* Override any gcc2 internal prototype to avoid an error. */
16089 /* We use char because int might match the return type of a gcc2
16090 builtin and then its argument prototype would still apply. */
16097 if { (eval echo configure
:16098: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16099 eval "ac_cv_lib_$ac_lib_var=yes"
16101 echo "configure: failed program was:" >&5
16102 cat conftest.
$ac_ext >&5
16104 eval "ac_cv_lib_$ac_lib_var=no"
16107 LIBS
="$ac_save_LIBS"
16110 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16111 echo "$ac_t""yes" 1>&6
16113 cat >> confdefs.h
<<\EOF
16114 #define HAVE_DLOPEN 1
16121 echo "$ac_t""no" 1>&6
16123 for ac_func
in shl_load
16125 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16126 echo "configure:16127: checking for $ac_func" >&5
16127 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16128 echo $ac_n "(cached) $ac_c" 1>&6
16130 cat > conftest.
$ac_ext <<EOF
16131 #line 16132 "configure"
16132 #include "confdefs.h"
16133 /* System header to define __stub macros and hopefully few prototypes,
16134 which can conflict with char $ac_func(); below. */
16135 #include <assert.h>
16136 /* Override any gcc2 internal prototype to avoid an error. */
16137 /* We use char because int might match the return type of a gcc2
16138 builtin and then its argument prototype would still apply. */
16143 /* The GNU C library defines this for functions which it implements
16144 to always fail with ENOSYS. Some functions are actually named
16145 something starting with __ and the normal name is an alias. */
16146 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16154 if { (eval echo configure
:16155: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16156 eval "ac_cv_func_$ac_func=yes"
16158 echo "configure: failed program was:" >&5
16159 cat conftest.
$ac_ext >&5
16161 eval "ac_cv_func_$ac_func=no"
16166 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16167 echo "$ac_t""yes" 1>&6
16168 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16169 cat >> confdefs.h
<<EOF
16170 #define $ac_tr_func 1
16173 cat >> confdefs.h
<<\EOF
16174 #define HAVE_SHL_LOAD 1
16180 echo "$ac_t""no" 1>&6
16181 echo $ac_n "checking for dld in -lshl_load""... $ac_c" 1>&6
16182 echo "configure:16183: checking for dld in -lshl_load" >&5
16183 ac_lib_var
=`echo shl_load'_'dld | sed 'y%./+-%__p_%'`
16184 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16185 echo $ac_n "(cached) $ac_c" 1>&6
16187 ac_save_LIBS
="$LIBS"
16188 LIBS
="-lshl_load $LIBS"
16189 cat > conftest.
$ac_ext <<EOF
16190 #line 16191 "configure"
16191 #include "confdefs.h"
16192 /* Override any gcc2 internal prototype to avoid an error. */
16193 /* We use char because int might match the return type of a gcc2
16194 builtin and then its argument prototype would still apply. */
16201 if { (eval echo configure
:16202: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16203 eval "ac_cv_lib_$ac_lib_var=yes"
16205 echo "configure: failed program was:" >&5
16206 cat conftest.
$ac_ext >&5
16208 eval "ac_cv_lib_$ac_lib_var=no"
16211 LIBS
="$ac_save_LIBS"
16214 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16215 echo "$ac_t""yes" 1>&6
16221 echo "$ac_t""no" 1>&6
16236 if test "$HAVE_DL_FUNCS" = 1; then
16237 for ac_func
in dlerror
16239 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16240 echo "configure:16241: checking for $ac_func" >&5
16241 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16242 echo $ac_n "(cached) $ac_c" 1>&6
16244 cat > conftest.
$ac_ext <<EOF
16245 #line 16246 "configure"
16246 #include "confdefs.h"
16247 /* System header to define __stub macros and hopefully few prototypes,
16248 which can conflict with char $ac_func(); below. */
16249 #include <assert.h>
16250 /* Override any gcc2 internal prototype to avoid an error. */
16251 /* We use char because int might match the return type of a gcc2
16252 builtin and then its argument prototype would still apply. */
16257 /* The GNU C library defines this for functions which it implements
16258 to always fail with ENOSYS. Some functions are actually named
16259 something starting with __ and the normal name is an alias. */
16260 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16268 if { (eval echo configure
:16269: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16270 eval "ac_cv_func_$ac_func=yes"
16272 echo "configure: failed program was:" >&5
16273 cat conftest.
$ac_ext >&5
16275 eval "ac_cv_func_$ac_func=no"
16280 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16281 echo "$ac_t""yes" 1>&6
16282 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16283 cat >> confdefs.h
<<EOF
16284 #define $ac_tr_func 1
16286 cat >> confdefs.h
<<\EOF
16287 #define HAVE_DLERROR 1
16291 echo "$ac_t""no" 1>&6
16292 echo $ac_n "checking for dlerror in -ldl""... $ac_c" 1>&6
16293 echo "configure:16294: checking for dlerror in -ldl" >&5
16294 ac_lib_var
=`echo dl'_'dlerror | sed 'y%./+-%__p_%'`
16295 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16296 echo $ac_n "(cached) $ac_c" 1>&6
16298 ac_save_LIBS
="$LIBS"
16300 cat > conftest.
$ac_ext <<EOF
16301 #line 16302 "configure"
16302 #include "confdefs.h"
16303 /* Override any gcc2 internal prototype to avoid an error. */
16304 /* We use char because int might match the return type of a gcc2
16305 builtin and then its argument prototype would still apply. */
16312 if { (eval echo configure
:16313: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16314 eval "ac_cv_lib_$ac_lib_var=yes"
16316 echo "configure: failed program was:" >&5
16317 cat conftest.
$ac_ext >&5
16319 eval "ac_cv_lib_$ac_lib_var=no"
16322 LIBS
="$ac_save_LIBS"
16325 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16326 echo "$ac_t""yes" 1>&6
16327 cat >> confdefs.h
<<\EOF
16328 #define HAVE_DLERROR 1
16332 echo "$ac_t""no" 1>&6
16341 if test "$HAVE_DL_FUNCS" = 0; then
16342 if test "$HAVE_SHL_FUNCS" = 0; then
16343 if test "$USE_UNIX" = 1; then
16344 echo "configure: warning: Missing dynamic loading support, several features will be disabled" 1>&2
16345 wxUSE_DYNLIB_CLASS
=no
16347 echo "configure: warning: Assuming wxLibrary class works on this platform" 1>&2
16355 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
16356 cat >> confdefs.h
<<\EOF
16357 #define wxUSE_DYNLIB_CLASS 1
16366 if test "$wxUSE_FONTMAP" = "yes" ; then
16367 cat >> confdefs.h
<<\EOF
16368 #define wxUSE_FONTMAP 1
16373 if test "$wxUSE_UNICODE" = "yes" ; then
16374 cat >> confdefs.h
<<\EOF
16375 #define wxUSE_UNICODE 1
16380 if test "$wxUSE_WCSRTOMBS" = "yes" ; then
16381 cat >> confdefs.h
<<\EOF
16382 #define wxUSE_WCSRTOMBS 1
16387 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
16388 cat >> confdefs.h
<<\EOF
16389 #define wxUSE_EXPERIMENTAL_PRINTF 1
16395 if test "$wxUSE_SERIAL" = "yes" ; then
16396 cat >> confdefs.h
<<\EOF
16397 #define wxUSE_SERIAL 1
16404 if test "$wxUSE_ODBC" = "yes" ; then
16405 cat >> confdefs.h
<<\EOF
16406 #define wxUSE_ODBC 1
16409 WXODBCFLAG
="-D_IODBC_"
16410 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
16414 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
16415 cat >> confdefs.h
<<\EOF
16416 #define wxUSE_POSTSCRIPT 1
16421 cat >> confdefs.h
<<\EOF
16422 #define wxUSE_AFM_FOR_POSTSCRIPT 1
16426 cat >> confdefs.h
<<\EOF
16427 #define wxUSE_NORMALIZED_PS_FONTS 1
16432 if test "$wxUSE_CONSTRAINTS" = "yes"; then
16433 cat >> confdefs.h
<<\EOF
16434 #define wxUSE_CONSTRAINTS 1
16437 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
16440 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
16441 cat >> confdefs.h
<<\EOF
16442 #define wxUSE_MDI_ARCHITECTURE 1
16445 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
16448 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
16449 cat >> confdefs.h
<<\EOF
16450 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
16453 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
16454 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
16455 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
16459 if test "$wxUSE_HELP" = "yes"; then
16460 cat >> confdefs.h
<<\EOF
16461 #define wxUSE_HELP 1
16464 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
16467 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
16468 if test "$wxUSE_CONSTRAINTS" != "yes"; then
16469 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
16471 cat >> confdefs.h
<<\EOF
16472 #define wxUSE_PRINTING_ARCHITECTURE 1
16476 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
16479 if test "$wxUSE_PROLOGIO" = "yes" ; then
16480 cat >> confdefs.h
<<\EOF
16481 #define wxUSE_PROLOGIO 1
16486 if test "$wxUSE_RESOURCES" = "yes" ; then
16487 if test "$wxUSE_PROLOGIO" = "yes" ; then
16488 cat >> confdefs.h
<<\EOF
16489 #define wxUSE_RESOURCES 1
16492 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS resource"
16494 echo "configure: warning: wxWindows ressource system requires PrologIO and can't be compiled without it." 1>&2
16498 if test "$wxUSE_X_RESOURCES" = "yes"; then
16499 cat >> confdefs.h
<<\EOF
16500 #define wxUSE_X_RESOURCES 1
16506 if test "$wxUSE_IPC" = "yes"; then
16507 if test "$wxUSE_SOCKETS" != "yes"; then
16508 echo "configure: warning: wxWindows IPC classes require sockets" 1>&2
16511 cat >> confdefs.h
<<\EOF
16512 #define wxUSE_IPC 1
16517 if test "$wxUSE_CLIPBOARD" = "yes"; then
16518 cat >> confdefs.h
<<\EOF
16519 #define wxUSE_CLIPBOARD 1
16522 cat >> confdefs.h
<<\EOF
16523 #define wxUSE_DATAOBJ 1
16528 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
16529 if test "$wxUSE_GTK" = 1; then
16530 if test "$WXGTK12" != 1; then
16531 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2" 1>&2
16532 wxUSE_DRAG_AND_DROP
=no
16536 if test "$wxUSE_MOTIF" = 1; then
16537 echo "configure: warning: Drag and drop is not yet supported under Motif" 1>&2
16538 wxUSE_DRAG_AND_DROP
=no
16541 if test "$wxUSE_MAC" = 1; then
16542 echo "configure: warning: Drag and drop is not yet supported under Mac OS X" 1>&2
16543 wxUSE_DRAG_AND_DROP
=no
16546 if test "$USE_WIN32" = 1; then
16548 for ac_hdr
in ole2.h
16550 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
16551 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
16552 echo "configure:16553: checking for $ac_hdr" >&5
16553 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
16554 echo $ac_n "(cached) $ac_c" 1>&6
16556 cat > conftest.
$ac_ext <<EOF
16557 #line 16558 "configure"
16558 #include "confdefs.h"
16561 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
16562 { (eval echo configure
:16563: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16563 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
16564 if test -z "$ac_err"; then
16566 eval "ac_cv_header_$ac_safe=yes"
16569 echo "configure: failed program was:" >&5
16570 cat conftest.
$ac_ext >&5
16572 eval "ac_cv_header_$ac_safe=no"
16576 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
16577 echo "$ac_t""yes" 1>&6
16578 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
16579 cat >> confdefs.h
<<EOF
16580 #define $ac_tr_hdr 1
16584 echo "$ac_t""no" 1>&6
16589 if test "$ac_cv_header_ole2_h" = "yes" ; then
16590 if test "$GCC" = yes ; then
16591 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
16592 ALL_DEPFILES
="$ALL_DEPFILES \$(OLEDEPS)"
16593 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
16594 LIBS
="$LIBS -lole32 -luuid"
16596 if test "$wxUSE_METAFILE" = "yes"; then
16597 cat >> confdefs.h
<<\EOF
16598 #define wxUSE_METAFILE 1
16601 cat >> confdefs.h
<<\EOF
16602 #define wxUSE_ENH_METAFILE 1
16608 echo "configure: warning: Drag and drop disabled because OLE headers not found" 1>&2
16609 wxUSE_DRAG_AND_DROP
=no
16613 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
16614 cat >> confdefs.h
<<\EOF
16615 #define wxUSE_DRAG_AND_DROP 1
16618 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
16623 if test "$wxUSE_SPLINES" = "yes" ; then
16624 cat >> confdefs.h
<<\EOF
16625 #define wxUSE_SPLINES 1
16632 if test "$wxUSE_CONTROLS" = "yes"; then
16636 if test "$wxUSE_ACCEL" = "yes"; then
16637 cat >> confdefs.h
<<\EOF
16638 #define wxUSE_ACCEL 1
16644 if test "$wxUSE_BUTTON" = "yes"; then
16645 cat >> confdefs.h
<<\EOF
16646 #define wxUSE_BUTTON 1
16652 if test "$wxUSE_BMPBUTTON" = "yes"; then
16653 cat >> confdefs.h
<<\EOF
16654 #define wxUSE_BMPBUTTON 1
16660 if test "$wxUSE_CALCTRL" = "yes"; then
16661 cat >> confdefs.h
<<\EOF
16662 #define wxUSE_CALENDARCTRL 1
16666 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
16669 if test "$wxUSE_CARET" = "yes"; then
16670 cat >> confdefs.h
<<\EOF
16671 #define wxUSE_CARET 1
16675 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
16678 if test "$wxUSE_COMBOBOX" = "yes"; then
16679 cat >> confdefs.h
<<\EOF
16680 #define wxUSE_COMBOBOX 1
16686 if test "$wxUSE_CHOICE" = "yes"; then
16687 cat >> confdefs.h
<<\EOF
16688 #define wxUSE_CHOICE 1
16694 if test "$wxUSE_CHECKBOX" = "yes"; then
16695 cat >> confdefs.h
<<\EOF
16696 #define wxUSE_CHECKBOX 1
16702 if test "$wxUSE_CHECKLST" = "yes"; then
16703 cat >> confdefs.h
<<\EOF
16704 #define wxUSE_CHECKLISTBOX 1
16708 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
16711 if test "$wxUSE_GAUGE" = "yes"; then
16712 cat >> confdefs.h
<<\EOF
16713 #define wxUSE_GAUGE 1
16719 if test "$wxUSE_NEW_GRID" = "yes"; then
16721 cat >> confdefs.h
<<\EOF
16722 #define wxUSE_NEW_GRID 1
16726 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS newgrid"
16729 if test "$wxUSE_GRID" = "yes"; then
16730 cat >> confdefs.h
<<\EOF
16731 #define wxUSE_GRID 1
16735 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
16738 if test "$wxUSE_IMAGLIST" = "yes"; then
16739 cat >> confdefs.h
<<\EOF
16740 #define wxUSE_IMAGLIST 1
16745 if test "$wxUSE_LISTBOX" = "yes"; then
16746 cat >> confdefs.h
<<\EOF
16747 #define wxUSE_LISTBOX 1
16753 if test "$wxUSE_LISTCTRL" = "yes"; then
16754 if test "$wxUSE_IMAGLIST" = "yes"; then
16755 cat >> confdefs.h
<<\EOF
16756 #define wxUSE_LISTCTRL 1
16760 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
16762 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
16766 if test "$wxUSE_NOTEBOOK" = "yes"; then
16767 cat >> confdefs.h
<<\EOF
16768 #define wxUSE_NOTEBOOK 1
16772 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
16775 if test "$wxUSE_RADIOBOX" = "yes"; then
16776 cat >> confdefs.h
<<\EOF
16777 #define wxUSE_RADIOBOX 1
16783 if test "$wxUSE_RADIOBTN" = "yes"; then
16784 cat >> confdefs.h
<<\EOF
16785 #define wxUSE_RADIOBTN 1
16791 if test "$wxUSE_SASH" = "yes"; then
16792 cat >> confdefs.h
<<\EOF
16793 #define wxUSE_SASH 1
16796 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
16799 if test "$wxUSE_SCROLLBAR" = "yes"; then
16800 cat >> confdefs.h
<<\EOF
16801 #define wxUSE_SCROLLBAR 1
16805 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
16808 if test "$wxUSE_SLIDER" = "yes"; then
16809 cat >> confdefs.h
<<\EOF
16810 #define wxUSE_SLIDER 1
16816 if test "$wxUSE_SPINBTN" = "yes"; then
16817 cat >> confdefs.h
<<\EOF
16818 #define wxUSE_SPINBTN 1
16824 if test "$wxUSE_SPINCTRL" = "yes"; then
16825 cat >> confdefs.h
<<\EOF
16826 #define wxUSE_SPINCTRL 1
16832 if test "$wxUSE_SPLITTER" = "yes"; then
16833 cat >> confdefs.h
<<\EOF
16834 #define wxUSE_SPLITTER 1
16837 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
16840 if test "$wxUSE_STATBMP" = "yes"; then
16841 cat >> confdefs.h
<<\EOF
16842 #define wxUSE_STATBMP 1
16848 if test "$wxUSE_STATBOX" = "yes"; then
16849 cat >> confdefs.h
<<\EOF
16850 #define wxUSE_STATBOX 1
16856 if test "$wxUSE_STATTEXT" = "yes"; then
16857 cat >> confdefs.h
<<\EOF
16858 #define wxUSE_STATTEXT 1
16864 if test "$wxUSE_STATLINE" = "yes"; then
16865 if test "$wxUSE_WINE" = 1 ; then
16866 echo "configure: warning: wxStaticLine is not supported under WINE" 1>&2
16868 cat >> confdefs.h
<<\EOF
16869 #define wxUSE_STATLINE 1
16876 if test "$wxUSE_STATUSBAR" = "yes"; then
16877 cat >> confdefs.h
<<\EOF
16878 #define wxUSE_STATUSBAR 1
16883 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
16886 if test "$wxUSE_TABDIALOG" = "yes"; then
16887 cat >> confdefs.h
<<\EOF
16888 #define wxUSE_TAB_DIALOG 1
16891 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
16894 if test "$wxUSE_TEXTCTRL" = "yes"; then
16895 cat >> confdefs.h
<<\EOF
16896 #define wxUSE_TEXTCTRL 1
16900 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
16903 if test "$wxUSE_TOGGLEBTN" = "yes"; then
16904 if test "$wxUSE_MAC" = 1; then
16905 echo "configure: warning: Toggle button is not yet supported under Mac OS X" 1>&2
16909 if test "$wxUSE_TOGGLEBTN" = "yes"; then
16910 cat >> confdefs.h
<<\EOF
16911 #define wxUSE_TOGGLEBTN 1
16918 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
16919 cat >> confdefs.h
<<\EOF
16920 #define wxUSE_TOOLBAR_SIMPLE 1
16923 wxUSE_TOOLBAR
="yes"
16927 if test "$wxUSE_TOOLBAR" = "yes"; then
16928 cat >> confdefs.h
<<\EOF
16929 #define wxUSE_TOOLBAR 1
16934 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
16935 wxUSE_TOOLBAR_NATIVE
="yes"
16938 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
16939 cat >> confdefs.h
<<\EOF
16940 #define wxUSE_TOOLBAR_NATIVE 1
16946 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
16949 if test "$wxUSE_TOOLTIPS" = "yes"; then
16950 if test "$wxUSE_MOTIF" = 1; then
16951 echo "configure: warning: wxTooltip not supported yet under Motif" 1>&2
16953 if test "$wxUSE_WINE" = 1; then
16954 echo "configure: warning: wxTooltip not supported under WINE" 1>&2
16956 cat >> confdefs.h
<<\EOF
16957 #define wxUSE_TOOLTIPS 1
16964 if test "$wxUSE_TREECTRL" = "yes"; then
16965 if test "$wxUSE_IMAGLIST" = "yes"; then
16966 cat >> confdefs.h
<<\EOF
16967 #define wxUSE_TREECTRL 1
16971 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
16973 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
16977 if test "$USES_CONTROLS" = 1; then
16978 cat >> confdefs.h
<<\EOF
16979 #define wxUSE_CONTROLS 1
16986 if test "$wxUSE_DRAGIMAGE" = "yes"; then
16987 cat >> confdefs.h
<<\EOF
16988 #define wxUSE_DRAGIMAGE 1
16991 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
16994 if test "$wxUSE_MENUS" = "yes"; then
16995 cat >> confdefs.h
<<\EOF
16996 #define wxUSE_MENUS 1
16999 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
17002 if test "$wxUSE_METAFILE" = "yes"; then
17003 cat >> confdefs.h
<<\EOF
17004 #define wxUSE_METAFILE 1
17009 if test "$wxUSE_MIMETYPE" = "yes"; then
17010 cat >> confdefs.h
<<\EOF
17011 #define wxUSE_MIMETYPE 1
17016 if test "$wxUSE_MINIFRAME" = "yes"; then
17017 cat >> confdefs.h
<<\EOF
17018 #define wxUSE_MINIFRAME 1
17021 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
17024 if test "$wxUSE_HTML" = "yes"; then
17025 cat >> confdefs.h
<<\EOF
17026 #define wxUSE_HTML 1
17029 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html"
17030 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS html"
17033 if test "$wxUSE_VALIDATORS" = "yes"; then
17034 cat >> confdefs.h
<<\EOF
17035 #define wxUSE_VALIDATORS 1
17038 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
17041 if test "$wxUSE_IMAGE" = "yes" ; then
17042 cat >> confdefs.h
<<\EOF
17043 #define wxUSE_IMAGE 1
17048 if test "$wxUSE_GIF" = "yes" ; then
17049 cat >> confdefs.h
<<\EOF
17050 #define wxUSE_GIF 1
17055 if test "$wxUSE_PCX" = "yes" ; then
17056 cat >> confdefs.h
<<\EOF
17057 #define wxUSE_PCX 1
17062 if test "$wxUSE_PNM" = "yes" ; then
17063 cat >> confdefs.h
<<\EOF
17064 #define wxUSE_PNM 1
17069 if test "$wxUSE_XPM" = "yes" ; then
17070 cat >> confdefs.h
<<\EOF
17071 #define wxUSE_XPM 1
17077 if test "$wxUSE_CHOICEDLG" = "yes"; then
17078 cat >> confdefs.h
<<\EOF
17079 #define wxUSE_CHOICEDLG 1
17084 if test "$wxUSE_COLOURDLG" = "yes"; then
17085 cat >> confdefs.h
<<\EOF
17086 #define wxUSE_COLOURDLG 1
17091 if test "$wxUSE_FILEDLG" = "yes"; then
17092 cat >> confdefs.h
<<\EOF
17093 #define wxUSE_FILEDLG 1
17098 if test "$wxUSE_FONTDLG" = "yes"; then
17099 cat >> confdefs.h
<<\EOF
17100 #define wxUSE_FONTDLG 1
17105 if test "$wxUSE_DIRDLG" = "yes"; then
17106 if test "$wxUSE_CONSTRAINTS" != "yes"; then
17107 echo "configure: warning: wxDirDialog requires constraints so it won't be compiled without them" 1>&2
17109 if test "$wxUSE_TREECTRL" != "yes"; then
17110 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
17112 cat >> confdefs.h
<<\EOF
17113 #define wxUSE_DIRDLG 1
17120 if test "$wxUSE_MSGDLG" = "yes"; then
17121 cat >> confdefs.h
<<\EOF
17122 #define wxUSE_MSGDLG 1
17127 if test "$wxUSE_NUMBERDLG" = "yes"; then
17128 cat >> confdefs.h
<<\EOF
17129 #define wxUSE_NUMBERDLG 1
17134 if test "$wxUSE_PROGRESSDLG" = "yes"; then
17135 if test "$wxUSE_CONSTRAINTS" != "yes"; then
17136 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
17138 cat >> confdefs.h
<<\EOF
17139 #define wxUSE_PROGRESSDLG 1
17145 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
17146 if test "$wxUSE_CONSTRAINTS" != "yes"; then
17147 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
17149 cat >> confdefs.h
<<\EOF
17150 #define wxUSE_STARTUP_TIPS 1
17156 if test "$wxUSE_TEXTDLG" = "yes"; then
17157 cat >> confdefs.h
<<\EOF
17158 #define wxUSE_TEXTDLG 1
17164 if test "$cross_compiling" = "yes"; then
17167 OSINFO
=`uname -s -r -m`
17168 OSINFO
="\"$OSINFO\""
17171 cat >> confdefs.h
<<EOF
17172 #define WXWIN_OS_DESCRIPTION $OSINFO
17177 GUILIBS
="$GUI_TK_LIBRARY $TOOLKIT_LINK"
17178 OPENGL_LIBS
="$OPENGL_LINK"
17180 EXTRA_LIBS
="$LIBS $POSIX4_LINK $INET_LINK $WCHAR_LINK $THREADS_LINK $DMALLOC_LINK $DL_LINK $ZLIB_LINK -lm"
17181 if test "$USE_MAC" = 1 ; then
17182 EXTRA_LIBS
="$EXTRA_LIBS -framework Carbon -framework System"
17184 if test "$wxUSE_GUI" = "yes"; then
17185 EXTRA_LIBS
="$GUILIBS $PNG_LINK $JPEG_LINK $TIFF_LINK $FREETYPE_LINK $EXTRA_LIBS"
17188 LD_LIBS
="\${top_builddir}/lib/${WX_LIBRARY_NAME_STATIC} $EXTRA_LIBS"
17190 INCLUDES
="-I. -I\${top_builddir}/include -I\${top_srcdir}/include $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE $FREETYPE_INCLUDE $TOOLKIT_INCLUDE"
17192 if test "$wxUSE_GTK" = 1; then
17193 WXCONFIG_INCLUDE
=""
17195 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
17198 if test "$GXX" = yes ; then
17199 CXXWARNINGS
="-Wall"
17201 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE $INCLUDES"
17203 CFLAGS
=`echo $CFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
17204 CXXFLAGS
=`echo $CXXFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
17206 LDFLAGS
="$LDFLAGS $PROFILE"
17208 if test "$wxUSE_GUI" = "yes"; then
17210 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS controls dialogs \
17211 drawing dynamic event font fractal image \
17212 minimal richedit widgets"
17214 if test "$wxUSE_UNIVERSAL" = "yes" ; then
17215 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS univ"
17218 CPPFLAGS
="$CPPFLAGS \$(EXTRADEFS) \$(APPEXTRADEFS)"
17223 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
17318 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
17319 echo "configure:17320: checking whether ${MAKE-make} sets \${MAKE}" >&5
17320 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
17321 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
17322 echo $ac_n "(cached) $ac_c" 1>&6
17324 cat > conftestmake
<<\EOF
17326 @
echo 'ac_maketemp="${MAKE}"'
17328 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
17329 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
17330 if test -n "$ac_maketemp"; then
17331 eval ac_cv_prog_make_
${ac_make}_set
=yes
17333 eval ac_cv_prog_make_
${ac_make}_set
=no
17337 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
17338 echo "$ac_t""yes" 1>&6
17341 echo "$ac_t""no" 1>&6
17342 SET_MAKE
="MAKE=${MAKE-make}"
17346 if test -d include
; then
17347 if test -d include
/wx
; then
17348 if test -d include
/wx
/${SETUPH_DIR}; then
17349 if test -f include
/wx
/${SETUPH_DIR}/setup.h
; then
17350 mv -f include
/wx
/${SETUPH_DIR}/setup.h setup.h
17358 if test "$wxUSE_GUI" = "yes"; then
17359 wx_cv_path_samplesubdirs
=$SAMPLES_SUBDIRS
17360 wx_cv_path_ifs
=$PATH_IFS
17361 wx_cv_program_ext
=$PROGRAM_EXT
17362 wx_cv_target_library
=$WX_TARGET_LIBRARY
17363 wx_cv_target_libtype
=$WX_TARGET_LIBRARY_TYPE
17364 export wx_cv_path_samplesubdirs wx_cv_path_ifs wx_cv_program_ext \
17365 wx_cv_target_library wx_cv_target_libtype
17366 subdirs
="demos samples utils contrib"
17371 cat > confcache
<<\EOF
17372 # This file is a shell script that caches the results of configure
17373 # tests run on this system so they can be shared between configure
17374 # scripts and configure runs. It is not useful on other systems.
17375 # If it contains results you don't want to keep, you may remove or edit it.
17377 # By default, configure uses ./config.cache as the cache file,
17378 # creating it if it does not exist already. You can give configure
17379 # the --cache-file=FILE option to use a different cache file; that is
17380 # what configure does when it calls configure scripts in
17381 # subdirectories, so they share the cache.
17382 # Giving --cache-file=/dev/null disables caching, for debugging configure.
17383 # config.status only pays attention to the cache file if you give it the
17384 # --recheck option to rerun configure.
17387 # The following way of writing the cache mishandles newlines in values,
17388 # but we know of no workaround that is simple, portable, and efficient.
17389 # So, don't put newlines in cache variables' values.
17390 # Ultrix sh set writes to stderr and can't be redirected directly,
17391 # and sets the high bit in the cache file unless we assign to the vars.
17393 case `(ac_space=' '; set | grep ac_space) 2>&1` in
17395 # `set' does not quote correctly, so add quotes (double-quote substitution
17396 # turns \\\\ into \\, and sed turns \\ into \).
17398 -e "s/'/'\\\\''/g" \
17399 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
17402 # `set' quotes correctly as required by POSIX, so do not add quotes.
17403 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
17406 if cmp -s $cache_file confcache
; then
17409 if test -w $cache_file; then
17410 echo "updating cache $cache_file"
17411 cat confcache
> $cache_file
17413 echo "not updating unwritable cache $cache_file"
17418 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
17420 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
17421 # Let make expand exec_prefix.
17422 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
17424 # Any assignment to VPATH causes Sun make to only execute
17425 # the first set of double-colon rules, so remove it if not needed.
17426 # If there is a colon in the path, we need to keep it.
17427 if test "x$srcdir" = x.
; then
17428 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
17431 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
17433 DEFS
=-DHAVE_CONFIG_H
17435 # Without the "./", some shells look in PATH for config.status.
17436 : ${CONFIG_STATUS=./config.status}
17438 echo creating
$CONFIG_STATUS
17439 rm -f $CONFIG_STATUS
17440 cat > $CONFIG_STATUS <<EOF
17442 # Generated automatically by configure.
17443 # Run this file to recreate the current configuration.
17444 # This directory was configured as follows,
17445 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17447 # $0 $ac_configure_args
17449 # Compiler output produced by configure, useful for debugging
17450 # configure, is in ./config.log if it exists.
17452 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
17455 case "\$ac_option" in
17456 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
17457 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
17458 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
17459 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
17460 echo "$CONFIG_STATUS generated by autoconf version 2.13"
17462 -help | --help | --hel | --he | --h)
17463 echo "\$ac_cs_usage"; exit 0 ;;
17464 *) echo "\$ac_cs_usage"; exit 1 ;;
17468 ac_given_srcdir=$srcdir
17469 ac_given_INSTALL="$INSTALL"
17471 trap 'rm -fr `echo "
17477 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
17479 cat >> $CONFIG_STATUS <<EOF
17481 # Protect against being on the right side of a sed subst in config.status.
17482 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
17483 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
17487 s%@CFLAGS@%$CFLAGS%g
17488 s%@CPPFLAGS@%$CPPFLAGS%g
17489 s%@CXXFLAGS@%$CXXFLAGS%g
17490 s%@FFLAGS@%$FFLAGS%g
17492 s%@LDFLAGS@%$LDFLAGS%g
17494 s%@exec_prefix@%$exec_prefix%g
17495 s%@prefix@%$prefix%g
17496 s%@program_transform_name@%$program_transform_name%g
17497 s%@bindir@%$bindir%g
17498 s%@sbindir@%$sbindir%g
17499 s%@libexecdir@%$libexecdir%g
17500 s%@datadir@%$datadir%g
17501 s%@sysconfdir@%$sysconfdir%g
17502 s%@sharedstatedir@%$sharedstatedir%g
17503 s%@localstatedir@%$localstatedir%g
17504 s%@libdir@%$libdir%g
17505 s%@includedir@%$includedir%g
17506 s%@oldincludedir@%$oldincludedir%g
17507 s%@infodir@%$infodir%g
17508 s%@mandir@%$mandir%g
17510 s%@host_alias@%$host_alias%g
17511 s%@host_cpu@%$host_cpu%g
17512 s%@host_vendor@%$host_vendor%g
17513 s%@host_os@%$host_os%g
17514 s%@target@%$target%g
17515 s%@target_alias@%$target_alias%g
17516 s%@target_cpu@%$target_cpu%g
17517 s%@target_vendor@%$target_vendor%g
17518 s%@target_os@%$target_os%g
17520 s%@build_alias@%$build_alias%g
17521 s%@build_cpu@%$build_cpu%g
17522 s%@build_vendor@%$build_vendor%g
17523 s%@build_os@%$build_os%g
17527 s%@CXXCPP@%$CXXCPP%g
17528 s%@RANLIB@%$RANLIB%g
17530 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
17531 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
17532 s%@INSTALL_DATA@%$INSTALL_DATA%g
17536 s%@LEXLIB@%$LEXLIB%g
17538 s%@GTK_CONFIG_2_0@%$GTK_CONFIG_2_0%g
17539 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
17540 s%@GTK_LIBS@%$GTK_LIBS%g
17541 s%@GTK_CONFIG@%$GTK_CONFIG%g
17542 s%@X_CFLAGS@%$X_CFLAGS%g
17543 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
17544 s%@X_LIBS@%$X_LIBS%g
17545 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
17548 s%@LEX_STEM@%$LEX_STEM%g
17549 s%@PATH_IFS@%$PATH_IFS%g
17550 s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
17551 s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
17552 s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
17553 s%@WX_LIBRARY_NAME@%$WX_LIBRARY_NAME%g
17554 s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
17555 s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
17556 s%@WX_LIBRARY@%$WX_LIBRARY%g
17557 s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
17558 s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
17559 s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
17560 s%@WX_LIBRARY_LINK3@%$WX_LIBRARY_LINK3%g
17561 s%@PROGRAM_EXT@%$PROGRAM_EXT%g
17562 s%@WX_LIBRARY_NAME_GL@%$WX_LIBRARY_NAME_GL%g
17563 s%@WX_LIBRARY_NAME_STATIC_GL@%$WX_LIBRARY_NAME_STATIC_GL%g
17564 s%@WX_LIBRARY_NAME_SHARED_GL@%$WX_LIBRARY_NAME_SHARED_GL%g
17565 s%@WX_LIBRARY_GL@%$WX_LIBRARY_GL%g
17566 s%@WX_TARGET_LIBRARY_GL@%$WX_TARGET_LIBRARY_GL%g
17567 s%@WX_LIBRARY_LINK1_GL@%$WX_LIBRARY_LINK1_GL%g
17568 s%@WX_LIBRARY_LINK2_GL@%$WX_LIBRARY_LINK2_GL%g
17569 s%@WX_LIBRARY_LINK3_GL@%$WX_LIBRARY_LINK3_GL%g
17570 s%@WX_ALL@%$WX_ALL%g
17571 s%@WX_ALL_INSTALLED@%$WX_ALL_INSTALLED%g
17572 s%@SHARED_LD@%$SHARED_LD%g
17573 s%@PIC_FLAG@%$PIC_FLAG%g
17574 s%@DEP_INFO_FLAGS@%$DEP_INFO_FLAGS%g
17575 s%@CODE_GEN_FLAGS@%$CODE_GEN_FLAGS%g
17576 s%@CODE_GEN_FLAGS_CXX@%$CODE_GEN_FLAGS_CXX%g
17577 s%@BURNT_LIBRARY_NAME@%$BURNT_LIBRARY_NAME%g
17578 s%@BURNT_LIBRARY_NAME_GL@%$BURNT_LIBRARY_NAME_GL%g
17579 s%@WX_TARGET_LIBRARY_SONAME@%$WX_TARGET_LIBRARY_SONAME%g
17580 s%@WX_TARGET_LIBRARY_TYPE@%$WX_TARGET_LIBRARY_TYPE%g
17581 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
17582 s%@USE_GUI@%$USE_GUI%g
17583 s%@AFMINSTALL@%$AFMINSTALL%g
17584 s%@SETUPH_DIR@%$SETUPH_DIR%g
17585 s%@TOOLKIT@%$TOOLKIT%g
17586 s%@TOOLKIT_DEF@%$TOOLKIT_DEF%g
17587 s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
17588 s%@TOOLKIT_NAME@%$TOOLKIT_NAME%g
17589 s%@TOOLKIT_INCLUDE@%$TOOLKIT_INCLUDE%g
17590 s%@TOOLKIT_VPATH@%$TOOLKIT_VPATH%g
17591 s%@WXCONFIG_INCLUDE@%$WXCONFIG_INCLUDE%g
17592 s%@ALL_OBJECTS@%$ALL_OBJECTS%g
17593 s%@ALL_DEPFILES@%$ALL_DEPFILES%g
17594 s%@GUIDIST@%$GUIDIST%g
17595 s%@PORT_FILES@%$PORT_FILES%g
17596 s%@DISTDIR@%$DISTDIR%g
17597 s%@RPM_SPEC@%$RPM_SPEC%g
17598 s%@RPM_FILES@%$RPM_FILES%g
17599 s%@SRC_SUBDIRS@%$SRC_SUBDIRS%g
17600 s%@INCLUDE_SUBDIRS@%$INCLUDE_SUBDIRS%g
17601 s%@UTILS_SUBDIRS@%$UTILS_SUBDIRS%g
17602 s%@DOCS_SUBDIRS@%$DOCS_SUBDIRS%g
17603 s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
17604 s%@USER_SUBDIRS@%$USER_SUBDIRS%g
17605 s%@EXTRA_LIBS@%$EXTRA_LIBS%g
17606 s%@OPENGL_LIBS@%$OPENGL_LIBS%g
17607 s%@EXTRADEFS@%$EXTRADEFS%g
17608 s%@LD_LIBS@%$LD_LIBS%g
17609 s%@RCINPUTSWITCH@%$RCINPUTSWITCH%g
17610 s%@RCOUTPUTSWITCH@%$RCOUTPUTSWITCH%g
17611 s%@RESPROGRAM@%$RESPROGRAM%g
17612 s%@RESCOMP@%$RESCOMP%g
17613 s%@RESFLAGS@%$RESFLAGS%g
17614 s%@REZFLAGS@%$REZFLAGS%g
17615 s%@DEREZFLAGS@%$DEREZFLAGS%g
17616 s%@LIBWXMACRES@%$LIBWXMACRES%g
17617 s%@LIBWXMACRESCOMP@%$LIBWXMACRESCOMP%g
17618 s%@DLLTOOL@%$DLLTOOL%g
17622 s%@MAKEINFO@%$MAKEINFO%g
17623 s%@SET_MAKE@%$SET_MAKE%g
17624 s%@subdirs@%$subdirs%g
17629 cat >> $CONFIG_STATUS <<\EOF
17631 # Split the substitutions into bite-sized pieces for seds with
17632 # small command number limits, like on Digital OSF/1 and HP-UX.
17633 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
17634 ac_file
=1 # Number of current file.
17635 ac_beg
=1 # First line for current file.
17636 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
17639 while $ac_more_lines; do
17640 if test $ac_beg -gt 1; then
17641 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
17643 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
17645 if test ! -s conftest.s
$ac_file; then
17646 ac_more_lines
=false
17647 rm -f conftest.s
$ac_file
17649 if test -z "$ac_sed_cmds"; then
17650 ac_sed_cmds
="sed -f conftest.s$ac_file"
17652 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
17654 ac_file
=`expr $ac_file + 1`
17656 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
17659 if test -z "$ac_sed_cmds"; then
17664 cat >> $CONFIG_STATUS <<EOF
17666 CONFIG_FILES=\${CONFIG_FILES-"wx-config
17673 cat >> $CONFIG_STATUS <<\EOF
17674 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
17675 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
17677 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
17678 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
17679 *) ac_file_in
="${ac_file}.in" ;;
17682 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
17684 # Remove last slash and all that follows it. Not all systems have dirname.
17685 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
17686 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
17687 # The file is in a subdirectory.
17688 test ! -d "$ac_dir" && mkdir "$ac_dir"
17689 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
17690 # A "../" for each directory in $ac_dir_suffix.
17691 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
17693 ac_dir_suffix
= ac_dots
=
17696 case "$ac_given_srcdir" in
17698 if test -z "$ac_dots"; then top_srcdir
=.
17699 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
17700 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
17701 *) # Relative path.
17702 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
17703 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
17706 case "$ac_given_INSTALL" in
17707 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
17708 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
17711 echo creating
"$ac_file"
17713 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
17715 *Makefile
*) ac_comsub
="1i\\
17716 # $configure_input" ;;
17720 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
17722 s%@configure_input@%$configure_input%g
17723 s%@srcdir@%$srcdir%g
17724 s%@top_srcdir@%$top_srcdir%g
17725 s%@INSTALL@%$INSTALL%g
17726 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
17730 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
17731 # NAME is the cpp macro being defined and VALUE is the value it is being given.
17733 # ac_d sets the value in "#define NAME VALUE" lines.
17734 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
17735 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
17738 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
17739 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
17740 ac_uB
='\([ ]\)%\1#\2define\3'
17743 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
17744 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
17745 ac_eB
='$%\1#\2define\3'
17749 if test "${CONFIG_HEADERS+set}" != set; then
17751 cat >> $CONFIG_STATUS <<EOF
17752 CONFIG_HEADERS="setup.h:setup.h.in"
17754 cat >> $CONFIG_STATUS <<\EOF
17756 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
17757 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
17759 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
17760 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
17761 *) ac_file_in
="${ac_file}.in" ;;
17764 echo creating
$ac_file
17766 rm -f conftest.frag conftest.
in conftest.out
17767 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
17768 cat $ac_file_inputs > conftest.
in
17772 # Transform confdefs.h into a sed script conftest.vals that substitutes
17773 # the proper values into config.h.in to produce config.h. And first:
17774 # Protect against being on the right side of a sed subst in config.status.
17775 # Protect against being in an unquoted here document in config.status.
17776 rm -f conftest.vals
17777 cat > conftest.hdr
<<\EOF
17780 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
17784 sed -n -f conftest.hdr confdefs.h > conftest.vals
17787 # This sed command replaces #undef with comments. This is necessary, for
17788 # example, in the case of _POSIX_SOURCE, which is predefined and required
17789 # on some systems where configure will not decide to define it.
17790 cat >> conftest.vals <<\EOF
17791 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
17794 # Break up conftest.vals because some shells have a limit on
17795 # the size of here documents, and old seds have small limits too.
17797 rm -f conftest.tail
17800 ac_lines=`grep -c . conftest.vals
`
17801 # grep -c gives empty output for an empty file on some AIX systems.
17802 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
17803 # Write a limited-size here document to conftest.frag.
17804 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
17805 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
17807 sed -f conftest.frag conftest.in > conftest.out
17809 mv conftest.out conftest.in
17810 ' >> $CONFIG_STATUS
17811 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
17812 rm -f conftest.vals
17813 mv conftest.tail conftest.vals
17815 rm -f conftest.vals
17817 cat >> $CONFIG_STATUS <<\EOF
17818 rm -f conftest.frag conftest.h
17819 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
17820 cat conftest.in >> conftest.h
17822 if cmp -s $ac_file conftest.h 2>/dev/null; then
17823 echo "$ac_file is unchanged"
17826 # Remove last slash and all that follows it. Not all systems have dirname.
17827 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
17828 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
17829 # The file is in a subdirectory.
17830 test ! -d "$ac_dir" && mkdir "$ac_dir"
17833 mv conftest.h $ac_file
17838 cat >> $CONFIG_STATUS <<EOF
17840 SETUPH_DIR="${SETUPH_DIR}"
17841 TOOLKIT_NAME="${TOOLKIT_NAME}"
17846 cat >> $CONFIG_STATUS <<\EOF
17848 if test ! -f wx${TOOLKIT_NAME}-config; then
17850 mv wx-config wx${TOOLKIT_NAME}-config
17851 ${LN_S} wx${TOOLKIT_NAME}-config wx-config
17855 if test ! -d lib; then
17858 if test ! -d lib/wx; then
17861 if test ! -d lib/wx/include; then
17862 mkdir lib/wx/include
17864 if test ! -d lib/wx/include/wx; then
17865 mkdir lib/wx/include/wx
17867 if test ! -d lib/wx/include/wx/${TOOLKIT_NAME}; then
17868 mkdir lib/wx/include/wx/${TOOLKIT_NAME}
17870 if test -f setup.h; then
17871 cp -fp setup.h lib/wx/include/wx/${TOOLKIT_NAME}/setup.h
17875 if test ! -d include; then
17878 if test ! -d include/wx; then
17881 if test ! -d include/wx/${SETUPH_DIR}; then
17882 mkdir include/wx/${SETUPH_DIR}
17884 if test -f setup.h; then
17885 cp -fp setup.h include/wx/${SETUPH_DIR}/setup.h
17891 chmod +x $CONFIG_STATUS
17892 rm -fr confdefs* $ac_clean_files
17893 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
17895 if test "$no_recursion" != yes; then
17897 # Remove --cache-file and --srcdir arguments so they do not pile up.
17898 ac_sub_configure_args=
17900 for ac_arg in $ac_configure_args; do
17901 if test -n "$ac_prev"; then
17906 -cache-file | --cache-file | --cache-fil | --cache-fi \
17907 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
17908 ac_prev=cache_file ;;
17909 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
17910 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
17912 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
17914 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
17916 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
17920 for ac_config_dir in demos samples utils contrib; do
17922 # Do not complain, so a configure script can configure whichever
17923 # parts of a large source tree are present.
17924 if test ! -d $srcdir/$ac_config_dir; then
17928 echo configuring in $ac_config_dir
17933 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
17935 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
17943 # A "../" for each directory in /$ac_config_dir.
17944 ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
17947 .) # No --srcdir option. We are building in place.
17948 ac_sub_srcdir=$srcdir ;;
17949 /*) # Absolute path.
17950 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
17951 *) # Relative path.
17952 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
17955 # Check for guested configure; otherwise get Cygnus style configure.
17956 if test -f $ac_sub_srcdir/configure; then
17957 ac_sub_configure=$ac_sub_srcdir/configure
17958 elif test -f $ac_sub_srcdir/configure.in; then
17959 ac_sub_configure=$ac_configure
17961 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
17965 # The recursion is here.
17966 if test -n "$ac_sub_configure"; then
17968 # Make the cache file name correct relative to the subdirectory.
17969 case "$cache_file" in
17970 /*) ac_sub_cache_file=$cache_file ;;
17971 *) # Relative path.
17972 ac_sub_cache_file="$ac_dots$cache_file" ;;
17974 case "$ac_given_INSTALL" in
17975 [/$]*) INSTALL="$ac_given_INSTALL" ;;
17976 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
17979 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
17980 # The eval makes quoting arguments work.
17981 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
17984 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }