3 # From configure.in Id: configure.in
40 # Guess values for system-dependent variables and create Makefiles.
41 # Generated automatically using autoconf version 2.13
42 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
44 # This configure script is free software; the Free Software Foundation
45 # gives unlimited permission to copy, distribute and modify it.
49 ac_default_prefix
=/usr
/local
50 # Any additions from configure.in:
52 --enable-gui use GUI classes"
56 --with-motif use Motif/Lesstif"
60 --with-cygwin use Cygwin for MS-Windows"
62 --with-mingw use GCC Minimal MS-Windows"
64 --with-gtk-prefix=PFX Prefix where GTK is installed"
66 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed"
68 --with-dmalloc use dmalloc library (www.letters.com/dmalloc)"
70 --with-zlib use zlib for LZW compression"
72 --with-libpng use libpng (PNG image format)"
74 --with-libjpeg use libjpeg (JPEG file format)"
76 --with-opengl use OpenGL (or Mesa)"
78 --with-odbc use the IODBC and wxODBC classes"
80 --enable-shared create shared library code"
82 --enable-optimise create optimised code"
84 --enable-debug same as debug_flag and debug_info"
86 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)"
88 --enable-debug_info create code with debugging information"
90 --enable-debug_gdb create code with extra GDB debugging information"
92 --enable-debug_cntxt use wxDebugContext"
94 --enable-mem_tracing create code with memory tracing"
96 --enable-profile create code with profiling information"
98 --enable-no_rtti create code without RTTI information"
100 --enable-no_exceptions create code without exceptions information"
102 --enable-permissive compile code disregarding strict ANSI"
104 --enable-no_deps create code without dependency information"
106 --enable-intl use internationalization system"
108 --enable-config use wxConfig (and derived) classes"
110 --enable-sockets use socket/network classes"
112 --enable-dialupman use dialup network classes"
114 --enable-ipc use interprocess communication (wxSocket etc.)"
116 --enable-apple_ieee use the Apple IEEE codec"
118 --enable-timedate use date/time classes"
120 --enable-wave use wxWave class"
122 --enable-fraction use wxFraction class"
124 --enable-dynlib use wxLibrary class for DLL loading"
126 --enable-longlong use wxLongLong class"
128 --enable-log use logging system"
130 --enable-streams use wxStream etc classes"
132 --enable-file use wxFile classes"
134 --enable-textfile use wxTextFile classes"
136 --enable-unicode compile wxString with Unicode support"
138 --enable-wcsrtombs use wcsrtombs instead of buggy (GNU libc1/Linux libc5) wcstombs"
140 --enable-wxprintfv use wxWindows implementation of vprintf()"
142 --enable-joystick compile in joystick support (Linux only)"
144 --enable-std_iostreams use standard C++ stream classes"
146 --enable-fs_inet use virtual HTTP/FTP filesystems"
148 --enable-fs_zip use virtual ZIP filesystems"
150 --enable-zipstream use wxZipInputStream"
152 --enable-threads use threads"
154 --enable-serial use class serialization"
156 --enable-docview use document view architecture"
158 --enable-help use help (using external browser at present)"
160 --enable-constraints use layout-constraints system"
162 --enable-printarch use printing architecture"
164 --enable-mdi use multiple document interface architecture"
166 --enable-postscript use wxPostscriptDC device context (default for gtk+)"
168 --enable-prologio use Prolog IO library"
170 --enable-resources use wxWindows resources"
172 --enable-xresources use X resources for save (default for gtk+)"
174 --enable-clipboard use wxClipboard classes"
176 --enable-dnd use Drag'n'Drop classes"
178 --enable-wxtree make wxTree library"
180 --enable-controls use all usual controls"
182 --enable-accel use accelerators"
184 --enable-caret use wxCaret class"
186 --enable-bmpbutton use wxBitmapButton class"
188 --enable-checkbox use wxCheckBox class"
190 --enable-checklst use wxCheckListBox (listbox with checkboxes) class"
192 --enable-choice use wxChoice class"
194 --enable-combobox use wxComboBox classes"
196 --enable-gauge use wxGauge class"
198 --enable-grid use wxGrid class"
200 --enable-newgrid use new wxGrid class"
202 --enable-imaglist use wxImageList class"
204 --enable-listbox use wxListBox class"
206 --enable-listctrl use wxListCtrl class"
208 --enable-notebook use wxNotebook class"
210 --enable-radiobox use wxRadioBox class"
212 --enable-radiobtn use wxRadioButton class"
214 --enable-sash use wxSashWindow class"
216 --enable-scrollbar use wxScrollBar class and scrollable windows"
218 --enable-slider use wxSlider class"
220 --enable-spinbtn use wxSpinButton class"
222 --enable-splitter use wxSplitterWindow class"
224 --enable-statbmp use wxStaticBitmap class"
226 --enable-statbox use wxStaticBox class"
228 --enable-statline use wxStaticLine class"
230 --enable-statusbar use wxStatusBar class"
232 --enable-tabdialog use wxTabControl class"
234 --enable-toolbar use wxToolBar class"
236 --enable-treectrl use wxTreeCtrl class"
238 --enable-commondlg use common dialogs (wxDirDialog, wxProgressDialog, wxTextDialog, ...)"
240 --enable-dirdlg use wxDirDialog"
242 --enable-textdlg use wxTextDialog"
244 --enable-tipdlg use startup tips"
246 --enable-progressdlg use wxProgressDialog"
248 --enable-miniframe use wxMiniFrame class"
250 --enable-html use wxHTML sub-library"
252 --enable-tooltips use wxToolTip class"
254 --enable-splines use spline drawing code"
256 --enable-validators use wxValidator and derived classes"
258 --enable-busyinfo use wxBusyInfo"
260 --enable-gif use gif images (GIF file format)"
262 --enable-pcx use pcx images (PCX file format)"
264 --enable-pnm use pnm images (PNM file format)"
266 # Initialize some variables set by options.
267 # The variables have the same names as the options, with
268 # dashes changed to underlines.
270 cache_file
=.
/config.cache
279 program_transform_name
=s
,x
,x
,
287 bindir
='${exec_prefix}/bin'
288 sbindir
='${exec_prefix}/sbin'
289 libexecdir
='${exec_prefix}/libexec'
290 datadir
='${prefix}/share'
291 sysconfdir
='${prefix}/etc'
292 sharedstatedir
='${prefix}/com'
293 localstatedir
='${prefix}/var'
294 libdir
='${exec_prefix}/lib'
295 includedir
='${prefix}/include'
296 oldincludedir
='/usr/include'
297 infodir
='${prefix}/info'
298 mandir
='${prefix}/man'
300 # Initialize some other variables.
303 SHELL
=${CONFIG_SHELL-/bin/sh}
304 # Maximum number of lines to put in a shell here document.
311 # If the previous option needs an argument, assign it.
312 if test -n "$ac_prev"; then
313 eval "$ac_prev=\$ac_option"
319 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
323 # Accept the important Cygnus configure options, so we can diagnose typos.
327 -bindir | --bindir | --bindi | --bind | --bin | --bi)
329 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
330 bindir
="$ac_optarg" ;;
332 -build | --build | --buil | --bui | --bu)
334 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
335 build
="$ac_optarg" ;;
337 -cache-file | --cache-file | --cache-fil | --cache-fi \
338 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
339 ac_prev
=cache_file
;;
340 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
341 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
342 cache_file
="$ac_optarg" ;;
344 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
346 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
348 datadir
="$ac_optarg" ;;
350 -disable-* | --disable-*)
351 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
352 # Reject names that are not valid shell variable names.
353 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
354 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
356 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
357 eval "enable_${ac_feature}=no" ;;
359 -enable-* | --enable-*)
360 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
361 # Reject names that are not valid shell variable names.
362 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
363 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
365 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
370 eval "enable_${ac_feature}='$ac_optarg'" ;;
372 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
373 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
374 | --exec | --exe | --ex)
375 ac_prev
=exec_prefix
;;
376 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
377 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
378 | --exec=* | --exe=* | --ex=*)
379 exec_prefix
="$ac_optarg" ;;
381 -gas | --gas | --ga | --g)
382 # Obsolete; use --with-gas.
385 -help | --help | --hel | --he)
386 # Omit some internal or obsolete options to make the list less imposing.
387 # This message is too long to be a string in the A/UX 3.1 sh.
389 Usage: configure [options] [host]
390 Options: [defaults in brackets after descriptions]
392 --cache-file=FILE cache test results in FILE
393 --help print this message
394 --no-create do not create output files
395 --quiet, --silent do not print \`checking...' messages
396 --version print the version of autoconf that created configure
397 Directory and file names:
398 --prefix=PREFIX install architecture-independent files in PREFIX
400 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
402 --bindir=DIR user executables in DIR [EPREFIX/bin]
403 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
404 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
405 --datadir=DIR read-only architecture-independent data in DIR
407 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
408 --sharedstatedir=DIR modifiable architecture-independent data in DIR
410 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
411 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
412 --includedir=DIR C header files in DIR [PREFIX/include]
413 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
414 --infodir=DIR info documentation in DIR [PREFIX/info]
415 --mandir=DIR man documentation in DIR [PREFIX/man]
416 --srcdir=DIR find the sources in DIR [configure dir or ..]
417 --program-prefix=PREFIX prepend PREFIX to installed program names
418 --program-suffix=SUFFIX append SUFFIX to installed program names
419 --program-transform-name=PROGRAM
420 run sed PROGRAM on installed program names
424 --build=BUILD configure for building on BUILD [BUILD=HOST]
425 --host=HOST configure for HOST [guessed]
426 --target=TARGET configure for TARGET [TARGET=HOST]
427 Features and packages:
428 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
429 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
430 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
431 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
432 --x-includes=DIR X include files are in DIR
433 --x-libraries=DIR X library files are in DIR
435 if test -n "$ac_help"; then
436 echo "--enable and --with options recognized:$ac_help"
440 -host | --host | --hos | --ho)
442 -host=* | --host=* | --hos=* | --ho=*)
445 -includedir | --includedir | --includedi | --included | --include \
446 | --includ | --inclu | --incl | --inc)
447 ac_prev
=includedir
;;
448 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
449 | --includ=* | --inclu=* | --incl=* | --inc=*)
450 includedir
="$ac_optarg" ;;
452 -infodir | --infodir | --infodi | --infod | --info | --inf)
454 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
455 infodir
="$ac_optarg" ;;
457 -libdir | --libdir | --libdi | --libd)
459 -libdir=* | --libdir=* | --libdi=* | --libd=*)
460 libdir
="$ac_optarg" ;;
462 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
463 | --libexe | --libex | --libe)
464 ac_prev
=libexecdir
;;
465 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
466 | --libexe=* | --libex=* | --libe=*)
467 libexecdir
="$ac_optarg" ;;
469 -localstatedir | --localstatedir | --localstatedi | --localstated \
470 | --localstate | --localstat | --localsta | --localst \
471 | --locals | --local | --loca | --loc | --lo)
472 ac_prev
=localstatedir
;;
473 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
474 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
475 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
476 localstatedir
="$ac_optarg" ;;
478 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
480 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
481 mandir
="$ac_optarg" ;;
484 # Obsolete; use --without-fp.
487 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
491 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
492 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
495 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
496 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
497 | --oldin | --oldi | --old | --ol | --o)
498 ac_prev
=oldincludedir
;;
499 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
500 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
501 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
502 oldincludedir
="$ac_optarg" ;;
504 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
506 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
507 prefix
="$ac_optarg" ;;
509 -program-prefix | --program-prefix | --program-prefi | --program-pref \
510 | --program-pre | --program-pr | --program-p)
511 ac_prev
=program_prefix
;;
512 -program-prefix=* | --program-prefix=* | --program-prefi=* \
513 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
514 program_prefix
="$ac_optarg" ;;
516 -program-suffix | --program-suffix | --program-suffi | --program-suff \
517 | --program-suf | --program-su | --program-s)
518 ac_prev
=program_suffix
;;
519 -program-suffix=* | --program-suffix=* | --program-suffi=* \
520 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
521 program_suffix
="$ac_optarg" ;;
523 -program-transform-name | --program-transform-name \
524 | --program-transform-nam | --program-transform-na \
525 | --program-transform-n | --program-transform- \
526 | --program-transform | --program-transfor \
527 | --program-transfo | --program-transf \
528 | --program-trans | --program-tran \
529 | --progr-tra | --program-tr | --program-t)
530 ac_prev
=program_transform_name
;;
531 -program-transform-name=* | --program-transform-name=* \
532 | --program-transform-nam=* | --program-transform-na=* \
533 | --program-transform-n=* | --program-transform-=* \
534 | --program-transform=* | --program-transfor=* \
535 | --program-transfo=* | --program-transf=* \
536 | --program-trans=* | --program-tran=* \
537 | --progr-tra=* | --program-tr=* | --program-t=*)
538 program_transform_name
="$ac_optarg" ;;
540 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
541 | -silent | --silent | --silen | --sile | --sil)
544 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
546 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
548 sbindir
="$ac_optarg" ;;
550 -sharedstatedir | --sharedstatedir | --sharedstatedi \
551 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
552 | --sharedst | --shareds | --shared | --share | --shar \
554 ac_prev
=sharedstatedir
;;
555 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
556 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
557 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
559 sharedstatedir
="$ac_optarg" ;;
561 -site | --site | --sit)
563 -site=* | --site=* | --sit=*)
566 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
568 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
569 srcdir
="$ac_optarg" ;;
571 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
572 | --syscon | --sysco | --sysc | --sys | --sy)
573 ac_prev
=sysconfdir
;;
574 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
575 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
576 sysconfdir
="$ac_optarg" ;;
578 -target | --target | --targe | --targ | --tar | --ta | --t)
580 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
581 target
="$ac_optarg" ;;
583 -v | -verbose | --verbose | --verbos | --verbo | --verb)
586 -version | --version | --versio | --versi | --vers)
587 echo "configure generated by autoconf version 2.13"
591 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
592 # Reject names that are not valid shell variable names.
593 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
594 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
596 ac_package
=`echo $ac_package| sed 's/-/_/g'`
601 eval "with_${ac_package}='$ac_optarg'" ;;
603 -without-* | --without-*)
604 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
605 # Reject names that are not valid shell variable names.
606 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
607 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
609 ac_package
=`echo $ac_package| sed 's/-/_/g'`
610 eval "with_${ac_package}=no" ;;
613 # Obsolete; use --with-x.
616 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
617 | --x-incl | --x-inc | --x-in | --x-i)
618 ac_prev
=x_includes
;;
619 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
620 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
621 x_includes
="$ac_optarg" ;;
623 -x-libraries | --x-libraries | --x-librarie | --x-librari \
624 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
625 ac_prev
=x_libraries
;;
626 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
627 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
628 x_libraries
="$ac_optarg" ;;
630 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
634 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
635 echo "configure: warning: $ac_option: invalid host type" 1>&2
637 if test "x$nonopt" != xNONE
; then
638 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
646 if test -n "$ac_prev"; then
647 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
650 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
652 # File descriptor usage:
655 # 2 errors and warnings
656 # 3 some systems may open it to /dev/tty
657 # 4 used on the Kubota Titan
658 # 6 checking for... messages and results
659 # 5 compiler messages saved in config.log
660 if test "$silent" = yes; then
668 This file contains any messages produced by compilers while
669 running configure, to aid debugging if configure makes a mistake.
672 # Strip out --no-create and --no-recursion so they do not pile up.
673 # Also quote any args containing shell metacharacters.
678 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
679 | --no-cr | --no-c) ;;
680 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
681 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
682 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
683 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
684 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
689 # Only set these to C if already set. These must not be set unconditionally
690 # because not all systems understand e.g. LANG=C (notably SCO).
691 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
692 # Non-C LC_CTYPE values break the ctype check.
693 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
694 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
695 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
696 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
698 # confdefs.h avoids OS command line length limits that DEFS can exceed.
699 rm -rf conftest
* confdefs.h
700 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
703 # A filename unique to this package, relative to the directory that
704 # configure is in, which we can look for to find out if srcdir is correct.
705 ac_unique_file
=wx
-config.
in
707 # Find the source files, if location was not specified.
708 if test -z "$srcdir"; then
709 ac_srcdir_defaulted
=yes
710 # Try the directory containing this script, then its parent.
712 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
713 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
715 if test ! -r $srcdir/$ac_unique_file; then
719 ac_srcdir_defaulted
=no
721 if test ! -r $srcdir/$ac_unique_file; then
722 if test "$ac_srcdir_defaulted" = yes; then
723 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
725 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
728 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
730 # Prefer explicitly selected file to automatically selected ones.
731 if test -z "$CONFIG_SITE"; then
732 if test "x$prefix" != xNONE
; then
733 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
735 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
738 for ac_site_file
in $CONFIG_SITE; do
739 if test -r "$ac_site_file"; then
740 echo "loading site script $ac_site_file"
745 if test -r "$cache_file"; then
746 echo "loading cache $cache_file"
749 echo "creating cache $cache_file"
754 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
755 ac_cpp
='$CPP $CPPFLAGS'
756 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
757 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
758 cross_compiling
=$ac_cv_prog_cc_cross
762 if (echo "testing\c"; echo 1,2,3) | grep c
>/dev
/null
; then
763 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
764 if (echo -n testing
; echo 1,2,3) | sed s
/-n/xn
/ | grep xn
>/dev
/null
; then
771 ac_n
= ac_c
='\c' ac_t
=
777 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
778 if test -f $ac_dir/install-sh; then
780 ac_install_sh
="$ac_aux_dir/install-sh -c"
782 elif test -f $ac_dir/install.sh
; then
784 ac_install_sh
="$ac_aux_dir/install.sh -c"
788 if test -z "$ac_aux_dir"; then
789 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
791 ac_config_guess
=$ac_aux_dir/config.guess
792 ac_config_sub
=$ac_aux_dir/config.sub
793 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
796 # Do some error checking and defaulting for the host and target type.
798 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
801 # 1. You are not allowed to specify --host, --target, and nonopt at the
803 # 2. Host defaults to nonopt.
804 # 3. If nonopt is not specified, then host defaults to the current host,
805 # as determined by config.guess.
806 # 4. Target and build default to nonopt.
807 # 5. If nonopt is not specified, then target and build default to host.
809 # The aliases save the names the user supplied, while $host etc.
810 # will get canonicalized.
811 case $host---$target---$nonopt in
812 NONE
---*---* | *---NONE---* | *---*---NONE) ;;
813 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
817 # Make sure we can run config.sub.
818 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
819 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
822 echo $ac_n "checking host system type""... $ac_c" 1>&6
823 echo "configure:824: checking host system type" >&5
826 case "$host_alias" in
830 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
831 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
833 *) host_alias
=$nonopt ;;
837 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
838 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
839 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
840 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
841 echo "$ac_t""$host" 1>&6
843 echo $ac_n "checking target system type""... $ac_c" 1>&6
844 echo "configure:845: checking target system type" >&5
847 case "$target_alias" in
850 NONE
) target_alias
=$host_alias ;;
851 *) target_alias
=$nonopt ;;
855 target
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
856 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
857 target_vendor
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
858 target_os
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
859 echo "$ac_t""$target" 1>&6
861 echo $ac_n "checking build system type""... $ac_c" 1>&6
862 echo "configure:863: checking build system type" >&5
865 case "$build_alias" in
868 NONE
) build_alias
=$host_alias ;;
869 *) build_alias
=$nonopt ;;
873 build
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
874 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
875 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
876 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
877 echo "$ac_t""$build" 1>&6
879 test "$host_alias" != "$target_alias" &&
880 test "$program_prefix$program_suffix$program_transform_name" = \
882 program_prefix
=${target_alias}-
886 WX_MAJOR_VERSION_NUMBER
=2
887 WX_MINOR_VERSION_NUMBER
=1
893 WX_VERSION
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER.
$WX_RELEASE_NUMBER
895 WX_RELEASE
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER
896 WX_CURRENT
=`expr $WX_RELEASE_NUMBER - $WX_INTERFACE_AGE`
897 WX_REVISION
=$WX_INTERFACE_AGE
898 WX_AGE
=`expr $WX_BINARY_AGE - $WX_INTERFACE_AGE`
922 ALL_TOOLKITS
="CYGWIN GTK MINGW MOTIF WINE"
925 DEFAULT_wxUSE_MOTIF
=0
929 DEFAULT_DEFAULT_wxUSE_GTK
=0
930 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
931 DEFAULT_DEFAULT_wxUSE_MSW
=0
932 DEFAULT_DEFAULT_wxUSE_WINE
=0
937 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
938 cat >> confdefs.h
<<\EOF
945 cat >> confdefs.h
<<\EOF
950 if test "x$TMP" = "xalpha"; then
952 cat >> confdefs.h
<<\EOF
957 DEFAULT_DEFAULT_wxUSE_GTK
=1
959 *-*-irix5* | *-*-irix6* )
962 cat >> confdefs.h
<<\EOF
966 cat >> confdefs.h
<<\EOF
970 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
976 cat >> confdefs.h
<<\EOF
980 cat >> confdefs.h
<<\EOF
981 #define __SOLARIS__ 1
984 cat >> confdefs.h
<<\EOF
988 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
994 cat >> confdefs.h
<<\EOF
998 cat >> confdefs.h
<<\EOF
1002 cat >> confdefs.h
<<\EOF
1006 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1008 *-*-freebsd* | *-*-netbsd*)
1011 cat >> confdefs.h
<<\EOF
1012 #define __FREEBSD__ 1
1015 cat >> confdefs.h
<<\EOF
1019 DEFAULT_DEFAULT_wxUSE_GTK
=1
1024 cat >> confdefs.h
<<\EOF
1028 cat >> confdefs.h
<<\EOF
1032 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1037 cat >> confdefs.h
<<\EOF
1041 cat >> confdefs.h
<<\EOF
1045 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1050 cat >> confdefs.h
<<\EOF
1054 cat >> confdefs.h
<<\EOF
1058 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1064 cat >> confdefs.h
<<\EOF
1068 cat >> confdefs.h
<<\EOF
1072 cat >> confdefs.h
<<\EOF
1076 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1082 cat >> confdefs.h
<<\EOF
1086 cat >> confdefs.h
<<\EOF
1090 cat >> confdefs.h
<<\EOF
1091 #define __WINDOWS__ 1
1094 cat >> confdefs.h
<<\EOF
1095 #define __GNUWIN32__ 1
1098 cat >> confdefs.h
<<\EOF
1102 cat >> confdefs.h
<<\EOF
1103 #define WINVER 0x0400
1106 DEFAULT_DEFAULT_wxUSE_MSW
=1
1111 cat >> confdefs.h
<<\EOF
1115 cat >> confdefs.h
<<\EOF
1119 cat >> confdefs.h
<<\EOF
1120 #define __WINDOWS__ 1
1123 cat >> confdefs.h
<<\EOF
1124 #define __GNUWIN32__ 1
1127 cat >> confdefs.h
<<\EOF
1131 cat >> confdefs.h
<<\EOF
1132 #define WINVER 0x0400
1135 DEFAULT_DEFAULT_wxUSE_MSW
=1
1139 cat >> confdefs.h
<<\EOF
1146 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
1149 if test "$USE_UNIX" = 1 ; then
1151 cat >> confdefs.h
<<\EOF
1155 SRC_SUBDIRS
="$SRC_SUBDIRS unix"
1156 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS unix"
1159 if test "$USE_LINUX" = 1; then
1160 echo $ac_n "checking for gettext in -lc""... $ac_c" 1>&6
1161 echo "configure:1162: checking for gettext in -lc" >&5
1162 ac_lib_var
=`echo c'_'gettext | sed 'y%./+-%__p_%'`
1163 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1164 echo $ac_n "(cached) $ac_c" 1>&6
1166 ac_save_LIBS
="$LIBS"
1168 cat > conftest.
$ac_ext <<EOF
1169 #line 1170 "configure"
1170 #include "confdefs.h"
1171 /* Override any gcc2 internal prototype to avoid an error. */
1172 /* We use char because int might match the return type of a gcc2
1173 builtin and then its argument prototype would still apply. */
1180 if { (eval echo configure
:1181: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
1182 eval "ac_cv_lib_$ac_lib_var=yes"
1184 echo "configure: failed program was:" >&5
1185 cat conftest.
$ac_ext >&5
1187 eval "ac_cv_lib_$ac_lib_var=no"
1190 LIBS
="$ac_save_LIBS"
1193 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1194 echo "$ac_t""yes" 1>&6
1195 cat >> confdefs.h
<<\EOF
1196 #define wxHAVE_GLIBC2 1
1200 echo "$ac_t""no" 1>&6
1208 wx_arg_cache_file
="configarg.cache"
1209 echo "loading argument cache $wx_arg_cache_file"
1210 rm -f ${wx_arg_cache_file}.tmp
1211 touch ${wx_arg_cache_file}.tmp
1212 touch ${wx_arg_cache_file}
1216 if test $DEBUG_CONFIGURE = 1; then
1217 DEFAULT_wxUSE_THREADS
=yes
1219 DEFAULT_wxUSE_SHARED
=yes
1220 DEFAULT_wxUSE_OPTIMISE
=yes
1221 DEFAULT_wxUSE_PROFILE
=no
1222 DEFAULT_wxUSE_NO_DEPS
=no
1223 DEFAULT_wxUSE_NO_RTTI
=no
1224 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1225 DEFAULT_wxUSE_PERMISSIVE
=no
1226 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1227 DEFAULT_wxUSE_DEBUG_INFO
=yes
1228 DEFAULT_wxUSE_DEBUG_GDB
=yes
1229 DEFAULT_wxUSE_MEM_TRACING
=no
1230 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1231 DEFAULT_wxUSE_DMALLOC
=no
1232 DEFAULT_wxUSE_APPLE_IEEE
=no
1234 DEFAULT_wxUSE_LOG
=yes
1236 DEFAULT_wxUSE_GUI
=yes
1238 DEFAULT_wxUSE_ZLIB
=no
1239 DEFAULT_wxUSE_LIBPNG
=no
1240 DEFAULT_wxUSE_LIBJPEG
=no
1241 DEFAULT_wxUSE_ODBC
=no
1243 DEFAULT_wxUSE_STD_IOSTREAM
=no
1244 DEFAULT_wxUSE_FILE
=no
1245 DEFAULT_wxUSE_TEXTFILE
=no
1246 DEFAULT_wxUSE_TIMEDATE
=no
1247 DEFAULT_wxUSE_WAVE
=no
1248 DEFAULT_wxUSE_INTL
=no
1249 DEFAULT_wxUSE_CONFIG
=no
1250 DEFAULT_wxUSE_STREAMS
=no
1251 DEFAULT_wxUSE_SOCKETS
=no
1252 DEFAULT_wxUSE_DIALUP_MANAGER
=no
1253 DEFAULT_wxUSE_SERIAL
=no
1254 DEFAULT_wxUSE_JOYSTICK
=no
1255 DEFAULT_wxUSE_DYNLIB_CLASS
=no
1256 DEFAULT_wxUSE_LONGLONG
=no
1258 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
1259 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
1260 DEFAULT_wxUSE_POSTSCRIPT
=no
1262 DEFAULT_wxUSE_X_RESOURCES
=no
1263 DEFAULT_wxUSE_CLIPBOARD
=no
1264 DEFAULT_wxUSE_TOOLTIPS
=no
1265 DEFAULT_wxUSE_DRAG_AND_DROP
=no
1266 DEFAULT_wxUSE_SPLINES
=no
1268 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
1269 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
1270 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
1272 DEFAULT_wxUSE_PROLOGIO
=no
1273 DEFAULT_wxUSE_RESOURCES
=no
1274 DEFAULT_wxUSE_CONSTRAINTS
=no
1275 DEFAULT_wxUSE_IPC
=no
1276 DEFAULT_wxUSE_HELP
=no
1277 DEFAULT_wxUSE_WXTREE
=no
1278 DEFAULT_wxUSE_METAFILE
=no
1280 DEFAULT_wxUSE_COMMONDLGS
=no
1281 DEFAULT_wxUSE_DIRDLG
=no
1282 DEFAULT_wxUSE_TEXTDLG
=no
1283 DEFAULT_wxUSE_STARTUP_TIPS
=no
1284 DEFAULT_wxUSE_PROGRESSDLG
=no
1285 DEFAULT_wxUSE_MINIFRAME
=no
1286 DEFAULT_wxUSE_HTML
=no
1287 DEFAULT_wxUSE_FS_INET
=no
1288 DEFAULT_wxUSE_FS_ZIP
=no
1289 DEFAULT_wxUSE_BUSYINFO
=no
1290 DEFAULT_wxUSE_ZIPSTREAM
=no
1291 DEFAULT_wxUSE_VALIDATORS
=yes
1293 DEFAULT_wxUSE_ACCEL
=no
1294 DEFAULT_wxUSE_CARET
=no
1295 DEFAULT_wxUSE_BMPBUTTON
=no
1296 DEFAULT_wxUSE_CHECKBOX
=no
1297 DEFAULT_wxUSE_CHECKLST
=no
1298 DEFAULT_wxUSE_CHOICE
=yes
1299 DEFAULT_wxUSE_COMBOBOX
=no
1300 DEFAULT_wxUSE_GAUGE
=no
1301 DEFAULT_wxUSE_GRID
=no
1302 DEFAULT_wxUSE_NEW_GRID
=no
1303 DEFAULT_wxUSE_IMAGLIST
=no
1304 DEFAULT_wxUSE_LISTBOX
=no
1305 DEFAULT_wxUSE_LISTCTRL
=no
1306 DEFAULT_wxUSE_NOTEBOOK
=no
1307 DEFAULT_wxUSE_RADIOBOX
=no
1308 DEFAULT_wxUSE_RADIOBTN
=no
1309 DEFAULT_wxUSE_SASH
=no
1310 DEFAULT_wxUSE_SCROLLBAR
=no
1311 DEFAULT_wxUSE_SLIDER
=no
1312 DEFAULT_wxUSE_SPINBTN
=no
1313 DEFAULT_wxUSE_SPLITTER
=no
1314 DEFAULT_wxUSE_STATBMP
=no
1315 DEFAULT_wxUSE_STATBOX
=no
1316 DEFAULT_wxUSE_STATLINE
=no
1317 DEFAULT_wxUSE_STATUSBAR
=yes
1318 DEFAULT_wxUSE_TABDIALOG
=no
1319 DEFAULT_wxUSE_TOOLBAR
=no
1320 DEFAULT_wxUSE_TREECTRL
=no
1322 DEFAULT_wxUSE_UNICODE
=no
1323 DEFAULT_wxUSE_WCSRTOMBS
=no
1325 DEFAULT_wxUSE_GIF
=no
1326 DEFAULT_wxUSE_PCX
=no
1327 DEFAULT_wxUSE_PNM
=no
1329 DEFAULT_wxUSE_THREADS
=yes
1331 DEFAULT_wxUSE_SHARED
=yes
1332 DEFAULT_wxUSE_OPTIMISE
=yes
1333 DEFAULT_wxUSE_PROFILE
=no
1334 DEFAULT_wxUSE_NO_DEPS
=no
1335 DEFAULT_wxUSE_NO_RTTI
=no
1336 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1337 DEFAULT_wxUSE_PERMISSIVE
=no
1338 DEFAULT_wxUSE_DEBUG_FLAG
=no
1339 DEFAULT_wxUSE_DEBUG_INFO
=no
1340 DEFAULT_wxUSE_DEBUG_GDB
=no
1341 DEFAULT_wxUSE_MEM_TRACING
=no
1342 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1343 DEFAULT_wxUSE_DMALLOC
=no
1344 DEFAULT_wxUSE_APPLE_IEEE
=yes
1346 DEFAULT_wxUSE_LOG
=yes
1348 DEFAULT_wxUSE_GUI
=yes
1350 DEFAULT_wxUSE_ZLIB
=yes
1351 DEFAULT_wxUSE_LIBPNG
=yes
1352 DEFAULT_wxUSE_LIBJPEG
=yes
1353 DEFAULT_wxUSE_ODBC
=yes
1355 DEFAULT_wxUSE_STD_IOSTREAM
=no
1356 DEFAULT_wxUSE_FILE
=yes
1357 DEFAULT_wxUSE_TEXTFILE
=yes
1358 DEFAULT_wxUSE_TIMEDATE
=yes
1359 DEFAULT_wxUSE_WAVE
=no
1360 DEFAULT_wxUSE_INTL
=yes
1361 DEFAULT_wxUSE_CONFIG
=yes
1362 DEFAULT_wxUSE_STREAMS
=yes
1363 DEFAULT_wxUSE_SOCKETS
=yes
1364 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
1365 DEFAULT_wxUSE_SERIAL
=yes
1366 DEFAULT_wxUSE_JOYSTICK
=yes
1367 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
1368 DEFAULT_wxUSE_LONGLONG
=no
1370 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
1371 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
1372 DEFAULT_wxUSE_POSTSCRIPT
=yes
1374 DEFAULT_wxUSE_X_RESOURCES
=no
1375 DEFAULT_wxUSE_CLIPBOARD
=yes
1376 DEFAULT_wxUSE_TOOLTIPS
=yes
1377 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
1378 DEFAULT_wxUSE_SPLINES
=yes
1380 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
1381 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
1382 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
1384 DEFAULT_wxUSE_PROLOGIO
=yes
1385 DEFAULT_wxUSE_RESOURCES
=yes
1386 DEFAULT_wxUSE_CONSTRAINTS
=yes
1387 DEFAULT_wxUSE_IPC
=yes
1388 DEFAULT_wxUSE_HELP
=yes
1389 DEFAULT_wxUSE_WXTREE
=yes
1390 DEFAULT_wxUSE_METAFILE
=yes
1392 DEFAULT_wxUSE_COMMONDLGS
=yes
1393 DEFAULT_wxUSE_DIRDLG
=yes
1394 DEFAULT_wxUSE_TEXTDLG
=yes
1395 DEFAULT_wxUSE_STARTUP_TIPS
=yes
1396 DEFAULT_wxUSE_PROGRESSDLG
=yes
1397 DEFAULT_wxUSE_MINIFRAME
=yes
1398 DEFAULT_wxUSE_HTML
=yes
1399 DEFAULT_wxUSE_FS_INET
=yes
1400 DEFAULT_wxUSE_FS_ZIP
=yes
1401 DEFAULT_wxUSE_BUSYINFO
=yes
1402 DEFAULT_wxUSE_ZIPSTREAM
=yes
1403 DEFAULT_wxUSE_VALIDATORS
=yes
1405 DEFAULT_wxUSE_ACCEL
=yes
1406 DEFAULT_wxUSE_CARET
=yes
1407 DEFAULT_wxUSE_BMPBUTTON
=yes
1408 DEFAULT_wxUSE_CHECKBOX
=yes
1409 DEFAULT_wxUSE_CHECKLST
=yes
1410 DEFAULT_wxUSE_CHOICE
=yes
1411 DEFAULT_wxUSE_COMBOBOX
=yes
1412 DEFAULT_wxUSE_GAUGE
=yes
1413 DEFAULT_wxUSE_GRID
=yes
1414 DEFAULT_wxUSE_NEW_GRID
=no
1415 DEFAULT_wxUSE_IMAGLIST
=yes
1416 DEFAULT_wxUSE_LISTBOX
=yes
1417 DEFAULT_wxUSE_LISTCTRL
=yes
1418 DEFAULT_wxUSE_NOTEBOOK
=yes
1419 DEFAULT_wxUSE_RADIOBOX
=yes
1420 DEFAULT_wxUSE_RADIOBTN
=yes
1421 DEFAULT_wxUSE_SASH
=yes
1422 DEFAULT_wxUSE_SCROLLBAR
=yes
1423 DEFAULT_wxUSE_SLIDER
=yes
1424 DEFAULT_wxUSE_SPINBTN
=yes
1425 DEFAULT_wxUSE_SPLITTER
=yes
1426 DEFAULT_wxUSE_STATBMP
=yes
1427 DEFAULT_wxUSE_STATBOX
=yes
1428 DEFAULT_wxUSE_STATLINE
=yes
1429 DEFAULT_wxUSE_STATUSBAR
=yes
1430 DEFAULT_wxUSE_TABDIALOG
=no
1431 DEFAULT_wxUSE_TOOLBAR
=yes
1432 DEFAULT_wxUSE_TREECTRL
=yes
1434 DEFAULT_wxUSE_UNICODE
=no
1435 DEFAULT_wxUSE_WCSRTOMBS
=no
1437 DEFAULT_wxUSE_GIF
=yes
1438 DEFAULT_wxUSE_PCX
=yes
1439 DEFAULT_wxUSE_PNM
=yes
1444 for toolkit
in `echo $ALL_TOOLKITS`; do
1445 LINE
=`grep "wxUSE_$toolkit" ${wx_arg_cache_file}`
1446 if test "x$LINE" != x
; then
1447 has_toolkit_in_cache
=1
1448 eval "DEFAULT_$LINE"
1449 eval "CACHE_$toolkit=1"
1455 echo $ac_n "checking "for --enable-gui"""... $ac_c" 1>&6
1456 echo "configure:1457: checking "for --enable-gui"" >&5
1458 # Check whether --enable-gui or --disable-gui was given.
1459 if test "${enable_gui+set}" = set; then
1460 enableval
="$enable_gui"
1462 if test "$enableval" = yes; then
1463 ac_cv_use_gui
='wxUSE_GUI=yes'
1465 ac_cv_use_gui
='wxUSE_GUI=no'
1470 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
1471 if test "x$LINE" != x
; then
1472 eval "DEFAULT_$LINE"
1477 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
1482 eval "$ac_cv_use_gui"
1483 if test "$no_cache" != 1; then
1484 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
1487 if test "$wxUSE_GUI" = yes; then
1488 echo "$ac_t""yes" 1>&6
1490 echo "$ac_t""no" 1>&6
1494 if test "$wxUSE_GUI" = "no"; then
1495 DEFAULT_wxUSE_ZLIB
=no
1496 DEFAULT_wxUSE_LIBPNG
=no
1497 DEFAULT_wxUSE_LIBJPEG
=no
1498 DEFAULT_wxUSE_SOCKETS
=no
1499 DEFAULT_wxUSE_JOYSTICK
=no
1500 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
1501 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
1502 DEFAULT_wxUSE_POSTSCRIPT
=no
1503 DEFAULT_wxUSE_X_RESOURCES
=no
1504 DEFAULT_wxUSE_CLIPBOARD
=no
1505 DEFAULT_wxUSE_TOOLTIPS
=no
1506 DEFAULT_wxUSE_DRAG_AND_DROP
=no
1507 DEFAULT_wxUSE_SPLINES
=no
1508 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
1509 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
1510 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
1511 DEFAULT_wxUSE_PROLOGIO
=no
1512 DEFAULT_wxUSE_RESOURCES
=no
1513 DEFAULT_wxUSE_CONSTRAINTS
=no
1514 DEFAULT_wxUSE_IPC
=no
1515 DEFAULT_wxUSE_HELP
=no
1516 DEFAULT_wxUSE_WXTREE
=no
1517 DEFAULT_wxUSE_METAFILE
=no
1518 DEFAULT_wxUSE_COMMONDLGS
=no
1519 DEFAULT_wxUSE_DIRDLG
=no
1520 DEFAULT_wxUSE_TEXTDLG
=no
1521 DEFAULT_wxUSE_STARTUP_TIPS
=no
1522 DEFAULT_wxUSE_PROGRESSDLG
=no
1523 DEFAULT_wxUSE_MINIFRAME
=no
1524 DEFAULT_wxUSE_HTML
=no
1525 DEFAULT_wxUSE_FS_INET
=no
1526 DEFAULT_wxUSE_FS_ZIP
=no
1527 DEFAULT_wxUSE_BUSYINFO
=no
1528 DEFAULT_wxUSE_ZIPSTREAM
=no
1529 DEFAULT_wxUSE_VALIDATORS
=no
1530 DEFAULT_wxUSE_ACCEL
=no
1531 DEFAULT_wxUSE_CARET
=no
1532 DEFAULT_wxUSE_BMPBUTTON
=no
1533 DEFAULT_wxUSE_CHECKBOX
=no
1534 DEFAULT_wxUSE_CHECKLST
=no
1535 DEFAULT_wxUSE_CHOICE
=no
1536 DEFAULT_wxUSE_COMBOBOX
=no
1537 DEFAULT_wxUSE_GAUGE
=no
1538 DEFAULT_wxUSE_GRID
=no
1539 DEFAULT_wxUSE_NEW_GRID
=no
1540 DEFAULT_wxUSE_IMAGLIST
=no
1541 DEFAULT_wxUSE_LISTBOX
=no
1542 DEFAULT_wxUSE_LISTCTRL
=no
1543 DEFAULT_wxUSE_NOTEBOOK
=no
1544 DEFAULT_wxUSE_RADIOBOX
=no
1545 DEFAULT_wxUSE_RADIOBTN
=no
1546 DEFAULT_wxUSE_SASH
=no
1547 DEFAULT_wxUSE_SCROLLBAR
=no
1548 DEFAULT_wxUSE_SLIDER
=no
1549 DEFAULT_wxUSE_SPINBTN
=no
1550 DEFAULT_wxUSE_SPLITTER
=no
1551 DEFAULT_wxUSE_STATBMP
=no
1552 DEFAULT_wxUSE_STATBOX
=no
1553 DEFAULT_wxUSE_STATLINE
=no
1554 DEFAULT_wxUSE_STATUSBAR
=no
1555 DEFAULT_wxUSE_TABDIALOG
=no
1556 DEFAULT_wxUSE_TOOLBAR
=no
1557 DEFAULT_wxUSE_TREECTRL
=no
1558 DEFAULT_wxUSE_GIF
=no
1559 DEFAULT_wxUSE_PCX
=no
1560 DEFAULT_wxUSE_PNM
=no
1563 # Check whether --with-gtk or --without-gtk was given.
1564 if test "${with_gtk+set}" = set; then
1566 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
1569 # Check whether --with-motif or --without-motif was given.
1570 if test "${with_motif+set}" = set; then
1571 withval
="$with_motif"
1572 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
1575 # Check whether --with-wine or --without-wine was given.
1576 if test "${with_wine+set}" = set; then
1577 withval
="$with_wine"
1578 wxUSE_WINE
="$withval" CACHE_WINE
=1 TOOLKIT_GIVEN
=1
1581 # Check whether --with-cygwin or --without-cygwin was given.
1582 if test "${with_cygwin+set}" = set; then
1583 withval
="$with_cygwin"
1584 wxUSE_CYGWIN
="$withval" CACHE_CYGWIN
=1 TOOLKIT_GIVEN
=1
1587 # Check whether --with-mingw or --without-mingw was given.
1588 if test "${with_mingw+set}" = set; then
1589 withval
="$with_mingw"
1590 wxUSE_MINGW
="$withval" CACHE_MINGW
=1 TOOLKIT_GIVEN
=1
1594 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
1595 if test "${with_gtk_prefix+set}" = set; then
1596 withval
="$with_gtk_prefix"
1597 gtk_config_prefix
="$withval"
1599 gtk_config_prefix
=""
1602 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
1603 if test "${with_gtk_exec_prefix+set}" = set; then
1604 withval
="$with_gtk_exec_prefix"
1605 gtk_config_exec_prefix
="$withval"
1607 gtk_config_exec_prefix
=""
1612 echo $ac_n "checking "for --with-dmalloc"""... $ac_c" 1>&6
1613 echo "configure:1614: checking "for --with-dmalloc"" >&5
1615 # Check whether --with-dmalloc or --without-dmalloc was given.
1616 if test "${with_dmalloc+set}" = set; then
1617 withval
="$with_dmalloc"
1619 if test "$withval" = yes; then
1620 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
1622 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
1627 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
1628 if test "x$LINE" != x
; then
1629 eval "DEFAULT_$LINE"
1634 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
1639 eval "$ac_cv_use_dmalloc"
1640 if test "$no_cache" != 1; then
1641 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
1644 if test "$wxUSE_DMALLOC" = yes; then
1645 echo "$ac_t""yes" 1>&6
1647 echo "$ac_t""no" 1>&6
1651 echo $ac_n "checking "for --with-zlib"""... $ac_c" 1>&6
1652 echo "configure:1653: checking "for --with-zlib"" >&5
1654 # Check whether --with-zlib or --without-zlib was given.
1655 if test "${with_zlib+set}" = set; then
1656 withval
="$with_zlib"
1658 if test "$withval" = yes; then
1659 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
1661 ac_cv_use_zlib
='wxUSE_ZLIB=no'
1666 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
1667 if test "x$LINE" != x
; then
1668 eval "DEFAULT_$LINE"
1673 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
1678 eval "$ac_cv_use_zlib"
1679 if test "$no_cache" != 1; then
1680 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
1683 if test "$wxUSE_ZLIB" = yes; then
1684 echo "$ac_t""yes" 1>&6
1686 echo "$ac_t""no" 1>&6
1690 echo $ac_n "checking "for --with-libpng"""... $ac_c" 1>&6
1691 echo "configure:1692: checking "for --with-libpng"" >&5
1693 # Check whether --with-libpng or --without-libpng was given.
1694 if test "${with_libpng+set}" = set; then
1695 withval
="$with_libpng"
1697 if test "$withval" = yes; then
1698 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
1700 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
1705 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
1706 if test "x$LINE" != x
; then
1707 eval "DEFAULT_$LINE"
1712 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
1717 eval "$ac_cv_use_libpng"
1718 if test "$no_cache" != 1; then
1719 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
1722 if test "$wxUSE_LIBPNG" = yes; then
1723 echo "$ac_t""yes" 1>&6
1725 echo "$ac_t""no" 1>&6
1729 echo $ac_n "checking "for --with-libjpeg"""... $ac_c" 1>&6
1730 echo "configure:1731: checking "for --with-libjpeg"" >&5
1732 # Check whether --with-libjpeg or --without-libjpeg was given.
1733 if test "${with_libjpeg+set}" = set; then
1734 withval
="$with_libjpeg"
1736 if test "$withval" = yes; then
1737 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
1739 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
1744 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
1745 if test "x$LINE" != x
; then
1746 eval "DEFAULT_$LINE"
1751 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
1756 eval "$ac_cv_use_libjpeg"
1757 if test "$no_cache" != 1; then
1758 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
1761 if test "$wxUSE_LIBJPEG" = yes; then
1762 echo "$ac_t""yes" 1>&6
1764 echo "$ac_t""no" 1>&6
1768 echo $ac_n "checking "for --with-opengl"""... $ac_c" 1>&6
1769 echo "configure:1770: checking "for --with-opengl"" >&5
1771 # Check whether --with-opengl or --without-opengl was given.
1772 if test "${with_opengl+set}" = set; then
1773 withval
="$with_opengl"
1775 if test "$withval" = yes; then
1776 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
1778 ac_cv_use_opengl
='wxUSE_OPENGL=no'
1783 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
1784 if test "x$LINE" != x
; then
1785 eval "DEFAULT_$LINE"
1790 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
1795 eval "$ac_cv_use_opengl"
1796 if test "$no_cache" != 1; then
1797 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
1800 if test "$wxUSE_OPENGL" = yes; then
1801 echo "$ac_t""yes" 1>&6
1803 echo "$ac_t""no" 1>&6
1807 echo $ac_n "checking "for --with-odbc"""... $ac_c" 1>&6
1808 echo "configure:1809: checking "for --with-odbc"" >&5
1810 # Check whether --with-odbc or --without-odbc was given.
1811 if test "${with_odbc+set}" = set; then
1812 withval
="$with_odbc"
1814 if test "$withval" = yes; then
1815 ac_cv_use_odbc
='wxUSE_ODBC=yes'
1817 ac_cv_use_odbc
='wxUSE_ODBC=no'
1822 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
1823 if test "x$LINE" != x
; then
1824 eval "DEFAULT_$LINE"
1829 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
1834 eval "$ac_cv_use_odbc"
1835 if test "$no_cache" != 1; then
1836 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
1839 if test "$wxUSE_ODBC" = yes; then
1840 echo "$ac_t""yes" 1>&6
1842 echo "$ac_t""no" 1>&6
1849 echo $ac_n "checking "for --enable-shared"""... $ac_c" 1>&6
1850 echo "configure:1851: checking "for --enable-shared"" >&5
1852 # Check whether --enable-shared or --disable-shared was given.
1853 if test "${enable_shared+set}" = set; then
1854 enableval
="$enable_shared"
1856 if test "$enableval" = yes; then
1857 ac_cv_use_shared
='wxUSE_SHARED=yes'
1859 ac_cv_use_shared
='wxUSE_SHARED=no'
1864 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
1865 if test "x$LINE" != x
; then
1866 eval "DEFAULT_$LINE"
1871 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
1876 eval "$ac_cv_use_shared"
1877 if test "$no_cache" != 1; then
1878 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
1881 if test "$wxUSE_SHARED" = yes; then
1882 echo "$ac_t""yes" 1>&6
1884 echo "$ac_t""no" 1>&6
1888 echo $ac_n "checking "for --enable-optimise"""... $ac_c" 1>&6
1889 echo "configure:1890: checking "for --enable-optimise"" >&5
1891 # Check whether --enable-optimise or --disable-optimise was given.
1892 if test "${enable_optimise+set}" = set; then
1893 enableval
="$enable_optimise"
1895 if test "$enableval" = yes; then
1896 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
1898 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
1903 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
1904 if test "x$LINE" != x
; then
1905 eval "DEFAULT_$LINE"
1910 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
1915 eval "$ac_cv_use_optimise"
1916 if test "$no_cache" != 1; then
1917 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
1920 if test "$wxUSE_OPTIMISE" = yes; then
1921 echo "$ac_t""yes" 1>&6
1923 echo "$ac_t""no" 1>&6
1927 echo $ac_n "checking "for --enable-debug"""... $ac_c" 1>&6
1928 echo "configure:1929: checking "for --enable-debug"" >&5
1930 # Check whether --enable-debug or --disable-debug was given.
1931 if test "${enable_debug+set}" = set; then
1932 enableval
="$enable_debug"
1934 if test "$enableval" = yes; then
1935 ac_cv_use_debug
='wxUSE_DEBUG=yes'
1937 ac_cv_use_debug
='wxUSE_DEBUG=no'
1942 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
1943 if test "x$LINE" != x
; then
1944 eval "DEFAULT_$LINE"
1949 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
1954 eval "$ac_cv_use_debug"
1955 if test "$no_cache" != 1; then
1956 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
1959 if test "$wxUSE_DEBUG" = yes; then
1960 echo "$ac_t""yes" 1>&6
1962 echo "$ac_t""no" 1>&6
1966 if test "$wxUSE_DEBUG" = "yes"; then
1967 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1968 DEFAULT_wxUSE_DEBUG_INFO
=yes
1969 elif test "$wxUSE_DEBUG" = "no"; then
1970 DEFAULT_wxUSE_DEBUG_FLAG
=no
1971 DEFAULT_wxUSE_DEBUG_INFO
=no
1975 echo $ac_n "checking "for --enable-debug_flag"""... $ac_c" 1>&6
1976 echo "configure:1977: checking "for --enable-debug_flag"" >&5
1978 # Check whether --enable-debug_flag or --disable-debug_flag was given.
1979 if test "${enable_debug_flag+set}" = set; then
1980 enableval
="$enable_debug_flag"
1982 if test "$enableval" = yes; then
1983 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
1985 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
1990 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
1991 if test "x$LINE" != x
; then
1992 eval "DEFAULT_$LINE"
1997 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
2002 eval "$ac_cv_use_debug_flag"
2003 if test "$no_cache" != 1; then
2004 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
2007 if test "$wxUSE_DEBUG_FLAG" = yes; then
2008 echo "$ac_t""yes" 1>&6
2010 echo "$ac_t""no" 1>&6
2014 echo $ac_n "checking "for --enable-debug_info"""... $ac_c" 1>&6
2015 echo "configure:2016: checking "for --enable-debug_info"" >&5
2017 # Check whether --enable-debug_info or --disable-debug_info was given.
2018 if test "${enable_debug_info+set}" = set; then
2019 enableval
="$enable_debug_info"
2021 if test "$enableval" = yes; then
2022 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
2024 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
2029 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
2030 if test "x$LINE" != x
; then
2031 eval "DEFAULT_$LINE"
2036 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
2041 eval "$ac_cv_use_debug_info"
2042 if test "$no_cache" != 1; then
2043 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
2046 if test "$wxUSE_DEBUG_INFO" = yes; then
2047 echo "$ac_t""yes" 1>&6
2049 echo "$ac_t""no" 1>&6
2053 echo $ac_n "checking "for --enable-debug_gdb"""... $ac_c" 1>&6
2054 echo "configure:2055: checking "for --enable-debug_gdb"" >&5
2056 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
2057 if test "${enable_debug_gdb+set}" = set; then
2058 enableval
="$enable_debug_gdb"
2060 if test "$enableval" = yes; then
2061 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
2063 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
2068 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
2069 if test "x$LINE" != x
; then
2070 eval "DEFAULT_$LINE"
2075 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
2080 eval "$ac_cv_use_debug_gdb"
2081 if test "$no_cache" != 1; then
2082 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
2085 if test "$wxUSE_DEBUG_GDB" = yes; then
2086 echo "$ac_t""yes" 1>&6
2088 echo "$ac_t""no" 1>&6
2092 echo $ac_n "checking "for --enable-debug_cntxt"""... $ac_c" 1>&6
2093 echo "configure:2094: checking "for --enable-debug_cntxt"" >&5
2095 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
2096 if test "${enable_debug_cntxt+set}" = set; then
2097 enableval
="$enable_debug_cntxt"
2099 if test "$enableval" = yes; then
2100 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
2102 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
2107 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2108 if test "x$LINE" != x
; then
2109 eval "DEFAULT_$LINE"
2114 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2119 eval "$ac_cv_use_debug_cntxt"
2120 if test "$no_cache" != 1; then
2121 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2124 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2125 echo "$ac_t""yes" 1>&6
2127 echo "$ac_t""no" 1>&6
2131 echo $ac_n "checking "for --enable-mem_tracing"""... $ac_c" 1>&6
2132 echo "configure:2133: checking "for --enable-mem_tracing"" >&5
2134 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2135 if test "${enable_mem_tracing+set}" = set; then
2136 enableval
="$enable_mem_tracing"
2138 if test "$enableval" = yes; then
2139 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
2141 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
2146 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2147 if test "x$LINE" != x
; then
2148 eval "DEFAULT_$LINE"
2153 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2158 eval "$ac_cv_use_mem_tracing"
2159 if test "$no_cache" != 1; then
2160 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2163 if test "$wxUSE_MEM_TRACING" = yes; then
2164 echo "$ac_t""yes" 1>&6
2166 echo "$ac_t""no" 1>&6
2170 echo $ac_n "checking "for --enable-profile"""... $ac_c" 1>&6
2171 echo "configure:2172: checking "for --enable-profile"" >&5
2173 # Check whether --enable-profile or --disable-profile was given.
2174 if test "${enable_profile+set}" = set; then
2175 enableval
="$enable_profile"
2177 if test "$enableval" = yes; then
2178 ac_cv_use_profile
='wxUSE_PROFILE=yes'
2180 ac_cv_use_profile
='wxUSE_PROFILE=no'
2185 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2186 if test "x$LINE" != x
; then
2187 eval "DEFAULT_$LINE"
2192 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2197 eval "$ac_cv_use_profile"
2198 if test "$no_cache" != 1; then
2199 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2202 if test "$wxUSE_PROFILE" = yes; then
2203 echo "$ac_t""yes" 1>&6
2205 echo "$ac_t""no" 1>&6
2209 echo $ac_n "checking "for --enable-no_rtti"""... $ac_c" 1>&6
2210 echo "configure:2211: checking "for --enable-no_rtti"" >&5
2212 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2213 if test "${enable_no_rtti+set}" = set; then
2214 enableval
="$enable_no_rtti"
2216 if test "$enableval" = yes; then
2217 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
2219 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
2224 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2225 if test "x$LINE" != x
; then
2226 eval "DEFAULT_$LINE"
2231 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2236 eval "$ac_cv_use_no_rtti"
2237 if test "$no_cache" != 1; then
2238 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2241 if test "$wxUSE_NO_RTTI" = yes; then
2242 echo "$ac_t""yes" 1>&6
2244 echo "$ac_t""no" 1>&6
2248 echo $ac_n "checking "for --enable-no_exceptions"""... $ac_c" 1>&6
2249 echo "configure:2250: checking "for --enable-no_exceptions"" >&5
2251 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2252 if test "${enable_no_exceptions+set}" = set; then
2253 enableval
="$enable_no_exceptions"
2255 if test "$enableval" = yes; then
2256 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
2258 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
2263 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2264 if test "x$LINE" != x
; then
2265 eval "DEFAULT_$LINE"
2270 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2275 eval "$ac_cv_use_no_exceptions"
2276 if test "$no_cache" != 1; then
2277 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2280 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2281 echo "$ac_t""yes" 1>&6
2283 echo "$ac_t""no" 1>&6
2287 echo $ac_n "checking "for --enable-permissive"""... $ac_c" 1>&6
2288 echo "configure:2289: checking "for --enable-permissive"" >&5
2290 # Check whether --enable-permissive or --disable-permissive was given.
2291 if test "${enable_permissive+set}" = set; then
2292 enableval
="$enable_permissive"
2294 if test "$enableval" = yes; then
2295 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
2297 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
2302 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2303 if test "x$LINE" != x
; then
2304 eval "DEFAULT_$LINE"
2309 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
2314 eval "$ac_cv_use_permissive"
2315 if test "$no_cache" != 1; then
2316 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
2319 if test "$wxUSE_PERMISSIVE" = yes; then
2320 echo "$ac_t""yes" 1>&6
2322 echo "$ac_t""no" 1>&6
2326 echo $ac_n "checking "for --enable-no_deps"""... $ac_c" 1>&6
2327 echo "configure:2328: checking "for --enable-no_deps"" >&5
2329 # Check whether --enable-no_deps or --disable-no_deps was given.
2330 if test "${enable_no_deps+set}" = set; then
2331 enableval
="$enable_no_deps"
2333 if test "$enableval" = yes; then
2334 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
2336 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
2341 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
2342 if test "x$LINE" != x
; then
2343 eval "DEFAULT_$LINE"
2348 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
2353 eval "$ac_cv_use_no_deps"
2354 if test "$no_cache" != 1; then
2355 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
2358 if test "$wxUSE_NO_DEPS" = yes; then
2359 echo "$ac_t""yes" 1>&6
2361 echo "$ac_t""no" 1>&6
2367 echo $ac_n "checking "for --enable-intl"""... $ac_c" 1>&6
2368 echo "configure:2369: checking "for --enable-intl"" >&5
2370 # Check whether --enable-intl or --disable-intl was given.
2371 if test "${enable_intl+set}" = set; then
2372 enableval
="$enable_intl"
2374 if test "$enableval" = yes; then
2375 ac_cv_use_intl
='wxUSE_INTL=yes'
2377 ac_cv_use_intl
='wxUSE_INTL=no'
2382 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
2383 if test "x$LINE" != x
; then
2384 eval "DEFAULT_$LINE"
2389 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
2394 eval "$ac_cv_use_intl"
2395 if test "$no_cache" != 1; then
2396 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
2399 if test "$wxUSE_INTL" = yes; then
2400 echo "$ac_t""yes" 1>&6
2402 echo "$ac_t""no" 1>&6
2406 echo $ac_n "checking "for --enable-config"""... $ac_c" 1>&6
2407 echo "configure:2408: checking "for --enable-config"" >&5
2409 # Check whether --enable-config or --disable-config was given.
2410 if test "${enable_config+set}" = set; then
2411 enableval
="$enable_config"
2413 if test "$enableval" = yes; then
2414 ac_cv_use_config
='wxUSE_CONFIG=yes'
2416 ac_cv_use_config
='wxUSE_CONFIG=no'
2421 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
2422 if test "x$LINE" != x
; then
2423 eval "DEFAULT_$LINE"
2428 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
2433 eval "$ac_cv_use_config"
2434 if test "$no_cache" != 1; then
2435 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
2438 if test "$wxUSE_CONFIG" = yes; then
2439 echo "$ac_t""yes" 1>&6
2441 echo "$ac_t""no" 1>&6
2445 echo $ac_n "checking "for --enable-sockets"""... $ac_c" 1>&6
2446 echo "configure:2447: checking "for --enable-sockets"" >&5
2448 # Check whether --enable-sockets or --disable-sockets was given.
2449 if test "${enable_sockets+set}" = set; then
2450 enableval
="$enable_sockets"
2452 if test "$enableval" = yes; then
2453 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
2455 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
2460 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
2461 if test "x$LINE" != x
; then
2462 eval "DEFAULT_$LINE"
2467 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
2472 eval "$ac_cv_use_sockets"
2473 if test "$no_cache" != 1; then
2474 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
2477 if test "$wxUSE_SOCKETS" = yes; then
2478 echo "$ac_t""yes" 1>&6
2480 echo "$ac_t""no" 1>&6
2484 echo $ac_n "checking "for --enable-dialupman"""... $ac_c" 1>&6
2485 echo "configure:2486: checking "for --enable-dialupman"" >&5
2487 # Check whether --enable-dialupman or --disable-dialupman was given.
2488 if test "${enable_dialupman+set}" = set; then
2489 enableval
="$enable_dialupman"
2491 if test "$enableval" = yes; then
2492 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
2494 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
2499 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
2500 if test "x$LINE" != x
; then
2501 eval "DEFAULT_$LINE"
2506 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
2511 eval "$ac_cv_use_dialupman"
2512 if test "$no_cache" != 1; then
2513 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
2516 if test "$wxUSE_DIALUP_MANAGER" = yes; then
2517 echo "$ac_t""yes" 1>&6
2519 echo "$ac_t""no" 1>&6
2523 echo $ac_n "checking "for --enable-ipc"""... $ac_c" 1>&6
2524 echo "configure:2525: checking "for --enable-ipc"" >&5
2526 # Check whether --enable-ipc or --disable-ipc was given.
2527 if test "${enable_ipc+set}" = set; then
2528 enableval
="$enable_ipc"
2530 if test "$enableval" = yes; then
2531 ac_cv_use_ipc
='wxUSE_IPC=yes'
2533 ac_cv_use_ipc
='wxUSE_IPC=no'
2538 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
2539 if test "x$LINE" != x
; then
2540 eval "DEFAULT_$LINE"
2545 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
2550 eval "$ac_cv_use_ipc"
2551 if test "$no_cache" != 1; then
2552 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
2555 if test "$wxUSE_IPC" = yes; then
2556 echo "$ac_t""yes" 1>&6
2558 echo "$ac_t""no" 1>&6
2562 echo $ac_n "checking "for --enable-apple_ieee"""... $ac_c" 1>&6
2563 echo "configure:2564: checking "for --enable-apple_ieee"" >&5
2565 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
2566 if test "${enable_apple_ieee+set}" = set; then
2567 enableval
="$enable_apple_ieee"
2569 if test "$enableval" = yes; then
2570 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
2572 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
2577 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
2578 if test "x$LINE" != x
; then
2579 eval "DEFAULT_$LINE"
2584 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
2589 eval "$ac_cv_use_apple_ieee"
2590 if test "$no_cache" != 1; then
2591 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
2594 if test "$wxUSE_APPLE_IEEE" = yes; then
2595 echo "$ac_t""yes" 1>&6
2597 echo "$ac_t""no" 1>&6
2601 echo $ac_n "checking "for --enable-timedate"""... $ac_c" 1>&6
2602 echo "configure:2603: checking "for --enable-timedate"" >&5
2604 # Check whether --enable-timedate or --disable-timedate was given.
2605 if test "${enable_timedate+set}" = set; then
2606 enableval
="$enable_timedate"
2608 if test "$enableval" = yes; then
2609 ac_cv_use_timedate
='wxUSE_TIMEDATE=yes'
2611 ac_cv_use_timedate
='wxUSE_TIMEDATE=no'
2616 LINE
=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}`
2617 if test "x$LINE" != x
; then
2618 eval "DEFAULT_$LINE"
2623 ac_cv_use_timedate
='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
2628 eval "$ac_cv_use_timedate"
2629 if test "$no_cache" != 1; then
2630 echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp
2633 if test "$wxUSE_TIMEDATE" = yes; then
2634 echo "$ac_t""yes" 1>&6
2636 echo "$ac_t""no" 1>&6
2640 echo $ac_n "checking "for --enable-wave"""... $ac_c" 1>&6
2641 echo "configure:2642: checking "for --enable-wave"" >&5
2643 # Check whether --enable-wave or --disable-wave was given.
2644 if test "${enable_wave+set}" = set; then
2645 enableval
="$enable_wave"
2647 if test "$enableval" = yes; then
2648 ac_cv_use_wave
='wxUSE_WAVE=yes'
2650 ac_cv_use_wave
='wxUSE_WAVE=no'
2655 LINE
=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
2656 if test "x$LINE" != x
; then
2657 eval "DEFAULT_$LINE"
2662 ac_cv_use_wave
='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
2667 eval "$ac_cv_use_wave"
2668 if test "$no_cache" != 1; then
2669 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
2672 if test "$wxUSE_WAVE" = yes; then
2673 echo "$ac_t""yes" 1>&6
2675 echo "$ac_t""no" 1>&6
2679 echo $ac_n "checking "for --enable-fraction"""... $ac_c" 1>&6
2680 echo "configure:2681: checking "for --enable-fraction"" >&5
2682 # Check whether --enable-fraction or --disable-fraction was given.
2683 if test "${enable_fraction+set}" = set; then
2684 enableval
="$enable_fraction"
2686 if test "$enableval" = yes; then
2687 ac_cv_use_fraction
='wxUSE_FRACTION=yes'
2689 ac_cv_use_fraction
='wxUSE_FRACTION=no'
2694 LINE
=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
2695 if test "x$LINE" != x
; then
2696 eval "DEFAULT_$LINE"
2701 ac_cv_use_fraction
='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
2706 eval "$ac_cv_use_fraction"
2707 if test "$no_cache" != 1; then
2708 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
2711 if test "$wxUSE_FRACTION" = yes; then
2712 echo "$ac_t""yes" 1>&6
2714 echo "$ac_t""no" 1>&6
2718 echo $ac_n "checking "for --enable-dynlib"""... $ac_c" 1>&6
2719 echo "configure:2720: checking "for --enable-dynlib"" >&5
2721 # Check whether --enable-dynlib or --disable-dynlib was given.
2722 if test "${enable_dynlib+set}" = set; then
2723 enableval
="$enable_dynlib"
2725 if test "$enableval" = yes; then
2726 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
2728 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
2733 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
2734 if test "x$LINE" != x
; then
2735 eval "DEFAULT_$LINE"
2740 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
2745 eval "$ac_cv_use_dynlib"
2746 if test "$no_cache" != 1; then
2747 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
2750 if test "$wxUSE_DYNLIB_CLASS" = yes; then
2751 echo "$ac_t""yes" 1>&6
2753 echo "$ac_t""no" 1>&6
2757 echo $ac_n "checking "for --enable-longlong"""... $ac_c" 1>&6
2758 echo "configure:2759: checking "for --enable-longlong"" >&5
2760 # Check whether --enable-longlong or --disable-longlong was given.
2761 if test "${enable_longlong+set}" = set; then
2762 enableval
="$enable_longlong"
2764 if test "$enableval" = yes; then
2765 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
2767 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
2772 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
2773 if test "x$LINE" != x
; then
2774 eval "DEFAULT_$LINE"
2779 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
2784 eval "$ac_cv_use_longlong"
2785 if test "$no_cache" != 1; then
2786 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
2789 if test "$wxUSE_LONGLONG" = yes; then
2790 echo "$ac_t""yes" 1>&6
2792 echo "$ac_t""no" 1>&6
2796 echo $ac_n "checking "for --enable-log"""... $ac_c" 1>&6
2797 echo "configure:2798: checking "for --enable-log"" >&5
2799 # Check whether --enable-log or --disable-log was given.
2800 if test "${enable_log+set}" = set; then
2801 enableval
="$enable_log"
2803 if test "$enableval" = yes; then
2804 ac_cv_use_log
='wxUSE_LOG=yes'
2806 ac_cv_use_log
='wxUSE_LOG=no'
2811 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
2812 if test "x$LINE" != x
; then
2813 eval "DEFAULT_$LINE"
2818 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
2823 eval "$ac_cv_use_log"
2824 if test "$no_cache" != 1; then
2825 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
2828 if test "$wxUSE_LOG" = yes; then
2829 echo "$ac_t""yes" 1>&6
2831 echo "$ac_t""no" 1>&6
2835 echo $ac_n "checking "for --enable-streams"""... $ac_c" 1>&6
2836 echo "configure:2837: checking "for --enable-streams"" >&5
2838 # Check whether --enable-streams or --disable-streams was given.
2839 if test "${enable_streams+set}" = set; then
2840 enableval
="$enable_streams"
2842 if test "$enableval" = yes; then
2843 ac_cv_use_streams
='wxUSE_STREAMS=yes'
2845 ac_cv_use_streams
='wxUSE_STREAMS=no'
2850 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
2851 if test "x$LINE" != x
; then
2852 eval "DEFAULT_$LINE"
2857 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
2862 eval "$ac_cv_use_streams"
2863 if test "$no_cache" != 1; then
2864 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
2867 if test "$wxUSE_STREAMS" = yes; then
2868 echo "$ac_t""yes" 1>&6
2870 echo "$ac_t""no" 1>&6
2874 echo $ac_n "checking "for --enable-file"""... $ac_c" 1>&6
2875 echo "configure:2876: checking "for --enable-file"" >&5
2877 # Check whether --enable-file or --disable-file was given.
2878 if test "${enable_file+set}" = set; then
2879 enableval
="$enable_file"
2881 if test "$enableval" = yes; then
2882 ac_cv_use_file
='wxUSE_FILE=yes'
2884 ac_cv_use_file
='wxUSE_FILE=no'
2889 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
2890 if test "x$LINE" != x
; then
2891 eval "DEFAULT_$LINE"
2896 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
2901 eval "$ac_cv_use_file"
2902 if test "$no_cache" != 1; then
2903 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
2906 if test "$wxUSE_FILE" = yes; then
2907 echo "$ac_t""yes" 1>&6
2909 echo "$ac_t""no" 1>&6
2913 echo $ac_n "checking "for --enable-textfile"""... $ac_c" 1>&6
2914 echo "configure:2915: checking "for --enable-textfile"" >&5
2916 # Check whether --enable-textfile or --disable-textfile was given.
2917 if test "${enable_textfile+set}" = set; then
2918 enableval
="$enable_textfile"
2920 if test "$enableval" = yes; then
2921 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
2923 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
2928 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
2929 if test "x$LINE" != x
; then
2930 eval "DEFAULT_$LINE"
2935 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
2940 eval "$ac_cv_use_textfile"
2941 if test "$no_cache" != 1; then
2942 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
2945 if test "$wxUSE_TEXTFILE" = yes; then
2946 echo "$ac_t""yes" 1>&6
2948 echo "$ac_t""no" 1>&6
2952 echo $ac_n "checking "for --enable-unicode"""... $ac_c" 1>&6
2953 echo "configure:2954: checking "for --enable-unicode"" >&5
2955 # Check whether --enable-unicode or --disable-unicode was given.
2956 if test "${enable_unicode+set}" = set; then
2957 enableval
="$enable_unicode"
2959 if test "$enableval" = yes; then
2960 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
2962 ac_cv_use_unicode
='wxUSE_UNICODE=no'
2967 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
2968 if test "x$LINE" != x
; then
2969 eval "DEFAULT_$LINE"
2974 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
2979 eval "$ac_cv_use_unicode"
2980 if test "$no_cache" != 1; then
2981 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
2984 if test "$wxUSE_UNICODE" = yes; then
2985 echo "$ac_t""yes" 1>&6
2987 echo "$ac_t""no" 1>&6
2991 echo $ac_n "checking "for --enable-wcsrtombs"""... $ac_c" 1>&6
2992 echo "configure:2993: checking "for --enable-wcsrtombs"" >&5
2994 # Check whether --enable-wcsrtombs or --disable-wcsrtombs was given.
2995 if test "${enable_wcsrtombs+set}" = set; then
2996 enableval
="$enable_wcsrtombs"
2998 if test "$enableval" = yes; then
2999 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS=yes'
3001 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS=no'
3006 LINE
=`grep "wxUSE_WCSRTOMBS" ${wx_arg_cache_file}`
3007 if test "x$LINE" != x
; then
3008 eval "DEFAULT_$LINE"
3013 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS='$DEFAULT_wxUSE_WCSRTOMBS
3018 eval "$ac_cv_use_wcsrtombs"
3019 if test "$no_cache" != 1; then
3020 echo $ac_cv_use_wcsrtombs >> ${wx_arg_cache_file}.tmp
3023 if test "$wxUSE_WCSRTOMBS" = yes; then
3024 echo "$ac_t""yes" 1>&6
3026 echo "$ac_t""no" 1>&6
3030 echo $ac_n "checking "for --enable-wxprintfv"""... $ac_c" 1>&6
3031 echo "configure:3032: checking "for --enable-wxprintfv"" >&5
3033 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
3034 if test "${enable_wxprintfv+set}" = set; then
3035 enableval
="$enable_wxprintfv"
3037 if test "$enableval" = yes; then
3038 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
3040 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
3045 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
3046 if test "x$LINE" != x
; then
3047 eval "DEFAULT_$LINE"
3052 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
3057 eval "$ac_cv_use_wxprintfv"
3058 if test "$no_cache" != 1; then
3059 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
3062 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
3063 echo "$ac_t""yes" 1>&6
3065 echo "$ac_t""no" 1>&6
3069 echo $ac_n "checking "for --enable-joystick"""... $ac_c" 1>&6
3070 echo "configure:3071: checking "for --enable-joystick"" >&5
3072 # Check whether --enable-joystick or --disable-joystick was given.
3073 if test "${enable_joystick+set}" = set; then
3074 enableval
="$enable_joystick"
3076 if test "$enableval" = yes; then
3077 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
3079 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
3084 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
3085 if test "x$LINE" != x
; then
3086 eval "DEFAULT_$LINE"
3091 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
3096 eval "$ac_cv_use_joystick"
3097 if test "$no_cache" != 1; then
3098 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
3101 if test "$wxUSE_JOYSTICK" = yes; then
3102 echo "$ac_t""yes" 1>&6
3104 echo "$ac_t""no" 1>&6
3108 echo $ac_n "checking "for --enable-std_iostreams"""... $ac_c" 1>&6
3109 echo "configure:3110: checking "for --enable-std_iostreams"" >&5
3111 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
3112 if test "${enable_std_iostreams+set}" = set; then
3113 enableval
="$enable_std_iostreams"
3115 if test "$enableval" = yes; then
3116 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
3118 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
3123 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
3124 if test "x$LINE" != x
; then
3125 eval "DEFAULT_$LINE"
3130 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
3135 eval "$ac_cv_use_std_iostreams"
3136 if test "$no_cache" != 1; then
3137 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
3140 if test "$wxUSE_STD_IOSTREAM" = yes; then
3141 echo "$ac_t""yes" 1>&6
3143 echo "$ac_t""no" 1>&6
3147 echo $ac_n "checking "for --enable-fs_inet"""... $ac_c" 1>&6
3148 echo "configure:3149: checking "for --enable-fs_inet"" >&5
3150 # Check whether --enable-fs_inet or --disable-fs_inet was given.
3151 if test "${enable_fs_inet+set}" = set; then
3152 enableval
="$enable_fs_inet"
3154 if test "$enableval" = yes; then
3155 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
3157 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
3162 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
3163 if test "x$LINE" != x
; then
3164 eval "DEFAULT_$LINE"
3169 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
3174 eval "$ac_cv_use_fs_inet"
3175 if test "$no_cache" != 1; then
3176 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
3179 if test "$wxUSE_FS_INET" = yes; then
3180 echo "$ac_t""yes" 1>&6
3182 echo "$ac_t""no" 1>&6
3186 echo $ac_n "checking "for --enable-fs_zip"""... $ac_c" 1>&6
3187 echo "configure:3188: checking "for --enable-fs_zip"" >&5
3189 # Check whether --enable-fs_zip or --disable-fs_zip was given.
3190 if test "${enable_fs_zip+set}" = set; then
3191 enableval
="$enable_fs_zip"
3193 if test "$enableval" = yes; then
3194 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
3196 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
3201 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
3202 if test "x$LINE" != x
; then
3203 eval "DEFAULT_$LINE"
3208 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
3213 eval "$ac_cv_use_fs_zip"
3214 if test "$no_cache" != 1; then
3215 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
3218 if test "$wxUSE_FS_ZIP" = yes; then
3219 echo "$ac_t""yes" 1>&6
3221 echo "$ac_t""no" 1>&6
3225 echo $ac_n "checking "for --enable-zipstream"""... $ac_c" 1>&6
3226 echo "configure:3227: checking "for --enable-zipstream"" >&5
3228 # Check whether --enable-zipstream or --disable-zipstream was given.
3229 if test "${enable_zipstream+set}" = set; then
3230 enableval
="$enable_zipstream"
3232 if test "$enableval" = yes; then
3233 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
3235 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
3240 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
3241 if test "x$LINE" != x
; then
3242 eval "DEFAULT_$LINE"
3247 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
3252 eval "$ac_cv_use_zipstream"
3253 if test "$no_cache" != 1; then
3254 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
3257 if test "$wxUSE_ZIPSTREAM" = yes; then
3258 echo "$ac_t""yes" 1>&6
3260 echo "$ac_t""no" 1>&6
3266 echo $ac_n "checking "for --enable-threads"""... $ac_c" 1>&6
3267 echo "configure:3268: checking "for --enable-threads"" >&5
3269 # Check whether --enable-threads or --disable-threads was given.
3270 if test "${enable_threads+set}" = set; then
3271 enableval
="$enable_threads"
3273 if test "$enableval" = yes; then
3274 ac_cv_use_threads
='wxUSE_THREADS=yes'
3276 ac_cv_use_threads
='wxUSE_THREADS=no'
3281 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
3282 if test "x$LINE" != x
; then
3283 eval "DEFAULT_$LINE"
3288 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
3293 eval "$ac_cv_use_threads"
3294 if test "$no_cache" != 1; then
3295 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
3298 if test "$wxUSE_THREADS" = yes; then
3299 echo "$ac_t""yes" 1>&6
3301 echo "$ac_t""no" 1>&6
3305 echo $ac_n "checking "for --enable-serial"""... $ac_c" 1>&6
3306 echo "configure:3307: checking "for --enable-serial"" >&5
3308 # Check whether --enable-serial or --disable-serial was given.
3309 if test "${enable_serial+set}" = set; then
3310 enableval
="$enable_serial"
3312 if test "$enableval" = yes; then
3313 ac_cv_use_serial
='wxUSE_SERIAL=yes'
3315 ac_cv_use_serial
='wxUSE_SERIAL=no'
3320 LINE
=`grep "wxUSE_SERIAL" ${wx_arg_cache_file}`
3321 if test "x$LINE" != x
; then
3322 eval "DEFAULT_$LINE"
3327 ac_cv_use_serial
='wxUSE_SERIAL='$DEFAULT_wxUSE_SERIAL
3332 eval "$ac_cv_use_serial"
3333 if test "$no_cache" != 1; then
3334 echo $ac_cv_use_serial >> ${wx_arg_cache_file}.tmp
3337 if test "$wxUSE_SERIAL" = yes; then
3338 echo "$ac_t""yes" 1>&6
3340 echo "$ac_t""no" 1>&6
3346 echo $ac_n "checking "for --enable-docview"""... $ac_c" 1>&6
3347 echo "configure:3348: checking "for --enable-docview"" >&5
3349 # Check whether --enable-docview or --disable-docview was given.
3350 if test "${enable_docview+set}" = set; then
3351 enableval
="$enable_docview"
3353 if test "$enableval" = yes; then
3354 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
3356 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
3361 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
3362 if test "x$LINE" != x
; then
3363 eval "DEFAULT_$LINE"
3368 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
3373 eval "$ac_cv_use_docview"
3374 if test "$no_cache" != 1; then
3375 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
3378 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
3379 echo "$ac_t""yes" 1>&6
3381 echo "$ac_t""no" 1>&6
3385 echo $ac_n "checking "for --enable-help"""... $ac_c" 1>&6
3386 echo "configure:3387: checking "for --enable-help"" >&5
3388 # Check whether --enable-help or --disable-help was given.
3389 if test "${enable_help+set}" = set; then
3390 enableval
="$enable_help"
3392 if test "$enableval" = yes; then
3393 ac_cv_use_help
='wxUSE_HELP=yes'
3395 ac_cv_use_help
='wxUSE_HELP=no'
3400 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
3401 if test "x$LINE" != x
; then
3402 eval "DEFAULT_$LINE"
3407 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
3412 eval "$ac_cv_use_help"
3413 if test "$no_cache" != 1; then
3414 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
3417 if test "$wxUSE_HELP" = yes; then
3418 echo "$ac_t""yes" 1>&6
3420 echo "$ac_t""no" 1>&6
3424 echo $ac_n "checking "for --enable-constraints"""... $ac_c" 1>&6
3425 echo "configure:3426: checking "for --enable-constraints"" >&5
3427 # Check whether --enable-constraints or --disable-constraints was given.
3428 if test "${enable_constraints+set}" = set; then
3429 enableval
="$enable_constraints"
3431 if test "$enableval" = yes; then
3432 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
3434 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
3439 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
3440 if test "x$LINE" != x
; then
3441 eval "DEFAULT_$LINE"
3446 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
3451 eval "$ac_cv_use_constraints"
3452 if test "$no_cache" != 1; then
3453 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
3456 if test "$wxUSE_CONSTRAINTS" = yes; then
3457 echo "$ac_t""yes" 1>&6
3459 echo "$ac_t""no" 1>&6
3463 echo $ac_n "checking "for --enable-printarch"""... $ac_c" 1>&6
3464 echo "configure:3465: checking "for --enable-printarch"" >&5
3466 # Check whether --enable-printarch or --disable-printarch was given.
3467 if test "${enable_printarch+set}" = set; then
3468 enableval
="$enable_printarch"
3470 if test "$enableval" = yes; then
3471 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
3473 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
3478 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
3479 if test "x$LINE" != x
; then
3480 eval "DEFAULT_$LINE"
3485 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
3490 eval "$ac_cv_use_printarch"
3491 if test "$no_cache" != 1; then
3492 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
3495 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
3496 echo "$ac_t""yes" 1>&6
3498 echo "$ac_t""no" 1>&6
3502 echo $ac_n "checking "for --enable-mdi"""... $ac_c" 1>&6
3503 echo "configure:3504: checking "for --enable-mdi"" >&5
3505 # Check whether --enable-mdi or --disable-mdi was given.
3506 if test "${enable_mdi+set}" = set; then
3507 enableval
="$enable_mdi"
3509 if test "$enableval" = yes; then
3510 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=yes'
3512 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=no'
3517 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
3518 if test "x$LINE" != x
; then
3519 eval "DEFAULT_$LINE"
3524 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
3529 eval "$ac_cv_use_mdi"
3530 if test "$no_cache" != 1; then
3531 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
3534 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
3535 echo "$ac_t""yes" 1>&6
3537 echo "$ac_t""no" 1>&6
3542 echo $ac_n "checking "for --enable-postscript"""... $ac_c" 1>&6
3543 echo "configure:3544: checking "for --enable-postscript"" >&5
3545 # Check whether --enable-postscript or --disable-postscript was given.
3546 if test "${enable_postscript+set}" = set; then
3547 enableval
="$enable_postscript"
3549 if test "$enableval" = yes; then
3550 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
3552 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
3557 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
3558 if test "x$LINE" != x
; then
3559 eval "DEFAULT_$LINE"
3564 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
3569 eval "$ac_cv_use_postscript"
3570 if test "$no_cache" != 1; then
3571 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
3574 if test "$wxUSE_POSTSCRIPT" = yes; then
3575 echo "$ac_t""yes" 1>&6
3577 echo "$ac_t""no" 1>&6
3583 echo $ac_n "checking "for --enable-prologio"""... $ac_c" 1>&6
3584 echo "configure:3585: checking "for --enable-prologio"" >&5
3586 # Check whether --enable-prologio or --disable-prologio was given.
3587 if test "${enable_prologio+set}" = set; then
3588 enableval
="$enable_prologio"
3590 if test "$enableval" = yes; then
3591 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
3593 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
3598 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
3599 if test "x$LINE" != x
; then
3600 eval "DEFAULT_$LINE"
3605 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
3610 eval "$ac_cv_use_prologio"
3611 if test "$no_cache" != 1; then
3612 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
3615 if test "$wxUSE_PROLOGIO" = yes; then
3616 echo "$ac_t""yes" 1>&6
3618 echo "$ac_t""no" 1>&6
3622 echo $ac_n "checking "for --enable-resources"""... $ac_c" 1>&6
3623 echo "configure:3624: checking "for --enable-resources"" >&5
3625 # Check whether --enable-resources or --disable-resources was given.
3626 if test "${enable_resources+set}" = set; then
3627 enableval
="$enable_resources"
3629 if test "$enableval" = yes; then
3630 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
3632 ac_cv_use_resources
='wxUSE_RESOURCES=no'
3637 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
3638 if test "x$LINE" != x
; then
3639 eval "DEFAULT_$LINE"
3644 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
3649 eval "$ac_cv_use_resources"
3650 if test "$no_cache" != 1; then
3651 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
3654 if test "$wxUSE_RESOURCES" = yes; then
3655 echo "$ac_t""yes" 1>&6
3657 echo "$ac_t""no" 1>&6
3662 echo $ac_n "checking "for --enable-xresources"""... $ac_c" 1>&6
3663 echo "configure:3664: checking "for --enable-xresources"" >&5
3665 # Check whether --enable-xresources or --disable-xresources was given.
3666 if test "${enable_xresources+set}" = set; then
3667 enableval
="$enable_xresources"
3669 if test "$enableval" = yes; then
3670 ac_cv_use_xresources
='wxUSE_X_RESOURCES=yes'
3672 ac_cv_use_xresources
='wxUSE_X_RESOURCES=no'
3677 LINE
=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
3678 if test "x$LINE" != x
; then
3679 eval "DEFAULT_$LINE"
3684 ac_cv_use_xresources
='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
3689 eval "$ac_cv_use_xresources"
3690 if test "$no_cache" != 1; then
3691 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
3694 if test "$wxUSE_X_RESOURCES" = yes; then
3695 echo "$ac_t""yes" 1>&6
3697 echo "$ac_t""no" 1>&6
3703 echo $ac_n "checking "for --enable-clipboard"""... $ac_c" 1>&6
3704 echo "configure:3705: checking "for --enable-clipboard"" >&5
3706 # Check whether --enable-clipboard or --disable-clipboard was given.
3707 if test "${enable_clipboard+set}" = set; then
3708 enableval
="$enable_clipboard"
3710 if test "$enableval" = yes; then
3711 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
3713 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
3718 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
3719 if test "x$LINE" != x
; then
3720 eval "DEFAULT_$LINE"
3725 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
3730 eval "$ac_cv_use_clipboard"
3731 if test "$no_cache" != 1; then
3732 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
3735 if test "$wxUSE_CLIPBOARD" = yes; then
3736 echo "$ac_t""yes" 1>&6
3738 echo "$ac_t""no" 1>&6
3742 echo $ac_n "checking "for --enable-dnd"""... $ac_c" 1>&6
3743 echo "configure:3744: checking "for --enable-dnd"" >&5
3745 # Check whether --enable-dnd or --disable-dnd was given.
3746 if test "${enable_dnd+set}" = set; then
3747 enableval
="$enable_dnd"
3749 if test "$enableval" = yes; then
3750 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
3752 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
3757 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
3758 if test "x$LINE" != x
; then
3759 eval "DEFAULT_$LINE"
3764 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
3769 eval "$ac_cv_use_dnd"
3770 if test "$no_cache" != 1; then
3771 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
3774 if test "$wxUSE_DRAG_AND_DROP" = yes; then
3775 echo "$ac_t""yes" 1>&6
3777 echo "$ac_t""no" 1>&6
3782 echo $ac_n "checking "for --enable-wxtree"""... $ac_c" 1>&6
3783 echo "configure:3784: checking "for --enable-wxtree"" >&5
3785 # Check whether --enable-wxtree or --disable-wxtree was given.
3786 if test "${enable_wxtree+set}" = set; then
3787 enableval
="$enable_wxtree"
3789 if test "$enableval" = yes; then
3790 ac_cv_use_wxtree
='wxUSE_WXTREE=yes'
3792 ac_cv_use_wxtree
='wxUSE_WXTREE=no'
3797 LINE
=`grep "wxUSE_WXTREE" ${wx_arg_cache_file}`
3798 if test "x$LINE" != x
; then
3799 eval "DEFAULT_$LINE"
3804 ac_cv_use_wxtree
='wxUSE_WXTREE='$DEFAULT_wxUSE_WXTREE
3809 eval "$ac_cv_use_wxtree"
3810 if test "$no_cache" != 1; then
3811 echo $ac_cv_use_wxtree >> ${wx_arg_cache_file}.tmp
3814 if test "$wxUSE_WXTREE" = yes; then
3815 echo "$ac_t""yes" 1>&6
3817 echo "$ac_t""no" 1>&6
3823 echo $ac_n "checking "for --enable-controls"""... $ac_c" 1>&6
3824 echo "configure:3825: checking "for --enable-controls"" >&5
3826 # Check whether --enable-controls or --disable-controls was given.
3827 if test "${enable_controls+set}" = set; then
3828 enableval
="$enable_controls"
3830 if test "$enableval" = yes; then
3831 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
3833 ac_cv_use_controls
='wxUSE_CONTROLS=no'
3838 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
3839 if test "x$LINE" != x
; then
3840 eval "DEFAULT_$LINE"
3845 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
3850 eval "$ac_cv_use_controls"
3851 if test "$no_cache" != 1; then
3852 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
3855 if test "$wxUSE_CONTROLS" = yes; then
3856 echo "$ac_t""yes" 1>&6
3858 echo "$ac_t""no" 1>&6
3862 if test "$wxUSE_CONTROLS" = "yes"; then
3863 DEFAULT_wxUSE_ACCEL
=yes
3864 DEFAULT_wxUSE_CARET
=yes
3865 DEFAULT_wxUSE_COMBOBOX
=yes
3866 DEFAULT_wxUSE_BMPBUTTON
=yes
3867 DEFAULT_wxUSE_CHECKBOX
=yes
3868 DEFAULT_wxUSE_CHECKLISTBOX
=yes
3869 DEFAULT_wxUSE_CHOICE
=yes
3870 DEFAULT_wxUSE_GAUGE
=yes
3871 DEFAULT_wxUSE_GRID
=yes
3872 DEFAULT_wxUSE_NEW_GRID
=no
3873 DEFAULT_wxUSE_IMAGLIST
=yes
3874 DEFAULT_wxUSE_LISTBOX
=yes
3875 DEFAULT_wxUSE_LISTCTRL
=yes
3876 DEFAULT_wxUSE_NOTEBOOK
=yes
3877 DEFAULT_wxUSE_RADIOBOX
=yes
3878 DEFAULT_wxUSE_RADIOBTN
=yes
3879 DEFAULT_wxUSE_SASH
=yes
3880 DEFAULT_wxUSE_SCROLLBAR
=yes
3881 DEFAULT_wxUSE_SLIDER
=yes
3882 DEFAULT_wxUSE_SPINBTN
=yes
3883 DEFAULT_wxUSE_SPLITTER
=yes
3884 DEFAULT_wxUSE_STATBMP
=yes
3885 DEFAULT_wxUSE_STATBOX
=yes
3886 DEFAULT_wxUSE_STATLINE
=yes
3887 DEFAULT_wxUSE_STATUSBAR
=yes
3888 DEFAULT_wxUSE_TAB_DIALOG
=yes
3889 DEFAULT_wxUSE_TOOLBAR
=yes
3890 DEFAULT_wxUSE_TOOLTIPS
=yes
3891 DEFAULT_wxUSE_TREECTRL
=yes
3892 elif test "$wxUSE_CONTROLS" = "no"; then
3893 DEFAULT_wxUSE_ACCEL
=no
3894 DEFAULT_wxUSE_CARET
=no
3895 DEFAULT_wxUSE_COMBOBOX
=no
3896 DEFAULT_wxUSE_BMPBUTTON
=no
3897 DEFAULT_wxUSE_CHECKBOX
=no
3898 DEFAULT_wxUSE_CHECKLISTBOX
=no
3899 DEFAULT_wxUSE_CHOICE
=no
3900 DEFAULT_wxUSE_GAUGE
=no
3901 DEFAULT_wxUSE_GRID
=no
3902 DEFAULT_wxUSE_NEW_GRID
=no
3903 DEFAULT_wxUSE_IMAGLIST
=no
3904 DEFAULT_wxUSE_LISTBOX
=no
3905 DEFAULT_wxUSE_LISTCTRL
=no
3906 DEFAULT_wxUSE_NOTEBOOK
=no
3907 DEFAULT_wxUSE_RADIOBOX
=no
3908 DEFAULT_wxUSE_RADIOBTN
=no
3909 DEFAULT_wxUSE_SASH
=no
3910 DEFAULT_wxUSE_SCROLLBAR
=no
3911 DEFAULT_wxUSE_SLIDER
=no
3912 DEFAULT_wxUSE_SPINBTN
=no
3913 DEFAULT_wxUSE_SPLITTER
=no
3914 DEFAULT_wxUSE_STATBMP
=no
3915 DEFAULT_wxUSE_STATBOX
=no
3916 DEFAULT_wxUSE_STATLINE
=no
3917 DEFAULT_wxUSE_STATUSBAR
=no
3918 DEFAULT_wxUSE_TAB_DIALOG
=no
3919 DEFAULT_wxUSE_TOOLBAR
=no
3920 DEFAULT_wxUSE_TOOLTIPS
=no
3921 DEFAULT_wxUSE_TREECTRL
=no
3925 echo $ac_n "checking "for --enable-accel"""... $ac_c" 1>&6
3926 echo "configure:3927: checking "for --enable-accel"" >&5
3928 # Check whether --enable-accel or --disable-accel was given.
3929 if test "${enable_accel+set}" = set; then
3930 enableval
="$enable_accel"
3932 if test "$enableval" = yes; then
3933 ac_cv_use_accel
='wxUSE_ACCEL=yes'
3935 ac_cv_use_accel
='wxUSE_ACCEL=no'
3940 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
3941 if test "x$LINE" != x
; then
3942 eval "DEFAULT_$LINE"
3947 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
3952 eval "$ac_cv_use_accel"
3953 if test "$no_cache" != 1; then
3954 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
3957 if test "$wxUSE_ACCEL" = yes; then
3958 echo "$ac_t""yes" 1>&6
3960 echo "$ac_t""no" 1>&6
3964 echo $ac_n "checking "for --enable-caret"""... $ac_c" 1>&6
3965 echo "configure:3966: checking "for --enable-caret"" >&5
3967 # Check whether --enable-caret or --disable-caret was given.
3968 if test "${enable_caret+set}" = set; then
3969 enableval
="$enable_caret"
3971 if test "$enableval" = yes; then
3972 ac_cv_use_caret
='wxUSE_CARET=yes'
3974 ac_cv_use_caret
='wxUSE_CARET=no'
3979 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
3980 if test "x$LINE" != x
; then
3981 eval "DEFAULT_$LINE"
3986 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
3991 eval "$ac_cv_use_caret"
3992 if test "$no_cache" != 1; then
3993 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
3996 if test "$wxUSE_CARET" = yes; then
3997 echo "$ac_t""yes" 1>&6
3999 echo "$ac_t""no" 1>&6
4003 echo $ac_n "checking "for --enable-bmpbutton"""... $ac_c" 1>&6
4004 echo "configure:4005: checking "for --enable-bmpbutton"" >&5
4006 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
4007 if test "${enable_bmpbutton+set}" = set; then
4008 enableval
="$enable_bmpbutton"
4010 if test "$enableval" = yes; then
4011 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
4013 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
4018 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
4019 if test "x$LINE" != x
; then
4020 eval "DEFAULT_$LINE"
4025 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
4030 eval "$ac_cv_use_bmpbutton"
4031 if test "$no_cache" != 1; then
4032 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
4035 if test "$wxUSE_BMPBUTTON" = yes; then
4036 echo "$ac_t""yes" 1>&6
4038 echo "$ac_t""no" 1>&6
4042 echo $ac_n "checking "for --enable-checkbox"""... $ac_c" 1>&6
4043 echo "configure:4044: checking "for --enable-checkbox"" >&5
4045 # Check whether --enable-checkbox or --disable-checkbox was given.
4046 if test "${enable_checkbox+set}" = set; then
4047 enableval
="$enable_checkbox"
4049 if test "$enableval" = yes; then
4050 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
4052 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
4057 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
4058 if test "x$LINE" != x
; then
4059 eval "DEFAULT_$LINE"
4064 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
4069 eval "$ac_cv_use_checkbox"
4070 if test "$no_cache" != 1; then
4071 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
4074 if test "$wxUSE_CHECKBOX" = yes; then
4075 echo "$ac_t""yes" 1>&6
4077 echo "$ac_t""no" 1>&6
4081 echo $ac_n "checking "for --enable-checklst"""... $ac_c" 1>&6
4082 echo "configure:4083: checking "for --enable-checklst"" >&5
4084 # Check whether --enable-checklst or --disable-checklst was given.
4085 if test "${enable_checklst+set}" = set; then
4086 enableval
="$enable_checklst"
4088 if test "$enableval" = yes; then
4089 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
4091 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
4096 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
4097 if test "x$LINE" != x
; then
4098 eval "DEFAULT_$LINE"
4103 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
4108 eval "$ac_cv_use_checklst"
4109 if test "$no_cache" != 1; then
4110 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
4113 if test "$wxUSE_CHECKLST" = yes; then
4114 echo "$ac_t""yes" 1>&6
4116 echo "$ac_t""no" 1>&6
4120 echo $ac_n "checking "for --enable-choice"""... $ac_c" 1>&6
4121 echo "configure:4122: checking "for --enable-choice"" >&5
4123 # Check whether --enable-choice or --disable-choice was given.
4124 if test "${enable_choice+set}" = set; then
4125 enableval
="$enable_choice"
4127 if test "$enableval" = yes; then
4128 ac_cv_use_choice
='wxUSE_CHOICE=yes'
4130 ac_cv_use_choice
='wxUSE_CHOICE=no'
4135 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
4136 if test "x$LINE" != x
; then
4137 eval "DEFAULT_$LINE"
4142 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
4147 eval "$ac_cv_use_choice"
4148 if test "$no_cache" != 1; then
4149 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
4152 if test "$wxUSE_CHOICE" = yes; then
4153 echo "$ac_t""yes" 1>&6
4155 echo "$ac_t""no" 1>&6
4159 echo $ac_n "checking "for --enable-combobox"""... $ac_c" 1>&6
4160 echo "configure:4161: checking "for --enable-combobox"" >&5
4162 # Check whether --enable-combobox or --disable-combobox was given.
4163 if test "${enable_combobox+set}" = set; then
4164 enableval
="$enable_combobox"
4166 if test "$enableval" = yes; then
4167 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
4169 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
4174 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
4175 if test "x$LINE" != x
; then
4176 eval "DEFAULT_$LINE"
4181 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
4186 eval "$ac_cv_use_combobox"
4187 if test "$no_cache" != 1; then
4188 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
4191 if test "$wxUSE_COMBOBOX" = yes; then
4192 echo "$ac_t""yes" 1>&6
4194 echo "$ac_t""no" 1>&6
4198 echo $ac_n "checking "for --enable-gauge"""... $ac_c" 1>&6
4199 echo "configure:4200: checking "for --enable-gauge"" >&5
4201 # Check whether --enable-gauge or --disable-gauge was given.
4202 if test "${enable_gauge+set}" = set; then
4203 enableval
="$enable_gauge"
4205 if test "$enableval" = yes; then
4206 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
4208 ac_cv_use_gauge
='wxUSE_GAUGE=no'
4213 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
4214 if test "x$LINE" != x
; then
4215 eval "DEFAULT_$LINE"
4220 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
4225 eval "$ac_cv_use_gauge"
4226 if test "$no_cache" != 1; then
4227 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
4230 if test "$wxUSE_GAUGE" = yes; then
4231 echo "$ac_t""yes" 1>&6
4233 echo "$ac_t""no" 1>&6
4237 echo $ac_n "checking "for --enable-grid"""... $ac_c" 1>&6
4238 echo "configure:4239: checking "for --enable-grid"" >&5
4240 # Check whether --enable-grid or --disable-grid was given.
4241 if test "${enable_grid+set}" = set; then
4242 enableval
="$enable_grid"
4244 if test "$enableval" = yes; then
4245 ac_cv_use_grid
='wxUSE_GRID=yes'
4247 ac_cv_use_grid
='wxUSE_GRID=no'
4252 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
4253 if test "x$LINE" != x
; then
4254 eval "DEFAULT_$LINE"
4259 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
4264 eval "$ac_cv_use_grid"
4265 if test "$no_cache" != 1; then
4266 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
4269 if test "$wxUSE_GRID" = yes; then
4270 echo "$ac_t""yes" 1>&6
4272 echo "$ac_t""no" 1>&6
4276 echo $ac_n "checking "for --enable-newgrid"""... $ac_c" 1>&6
4277 echo "configure:4278: checking "for --enable-newgrid"" >&5
4279 # Check whether --enable-newgrid or --disable-newgrid was given.
4280 if test "${enable_newgrid+set}" = set; then
4281 enableval
="$enable_newgrid"
4283 if test "$enableval" = yes; then
4284 ac_cv_use_newgrid
='wxUSE_NEW_GRID=yes'
4286 ac_cv_use_newgrid
='wxUSE_NEW_GRID=no'
4291 LINE
=`grep "wxUSE_NEW_GRID" ${wx_arg_cache_file}`
4292 if test "x$LINE" != x
; then
4293 eval "DEFAULT_$LINE"
4298 ac_cv_use_newgrid
='wxUSE_NEW_GRID='$DEFAULT_wxUSE_NEW_GRID
4303 eval "$ac_cv_use_newgrid"
4304 if test "$no_cache" != 1; then
4305 echo $ac_cv_use_newgrid >> ${wx_arg_cache_file}.tmp
4308 if test "$wxUSE_NEW_GRID" = yes; then
4309 echo "$ac_t""yes" 1>&6
4311 echo "$ac_t""no" 1>&6
4315 echo $ac_n "checking "for --enable-imaglist"""... $ac_c" 1>&6
4316 echo "configure:4317: checking "for --enable-imaglist"" >&5
4318 # Check whether --enable-imaglist or --disable-imaglist was given.
4319 if test "${enable_imaglist+set}" = set; then
4320 enableval
="$enable_imaglist"
4322 if test "$enableval" = yes; then
4323 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
4325 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
4330 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
4331 if test "x$LINE" != x
; then
4332 eval "DEFAULT_$LINE"
4337 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
4342 eval "$ac_cv_use_imaglist"
4343 if test "$no_cache" != 1; then
4344 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
4347 if test "$wxUSE_IMAGLIST" = yes; then
4348 echo "$ac_t""yes" 1>&6
4350 echo "$ac_t""no" 1>&6
4354 echo $ac_n "checking "for --enable-listbox"""... $ac_c" 1>&6
4355 echo "configure:4356: checking "for --enable-listbox"" >&5
4357 # Check whether --enable-listbox or --disable-listbox was given.
4358 if test "${enable_listbox+set}" = set; then
4359 enableval
="$enable_listbox"
4361 if test "$enableval" = yes; then
4362 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
4364 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
4369 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
4370 if test "x$LINE" != x
; then
4371 eval "DEFAULT_$LINE"
4376 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
4381 eval "$ac_cv_use_listbox"
4382 if test "$no_cache" != 1; then
4383 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
4386 if test "$wxUSE_LISTBOX" = yes; then
4387 echo "$ac_t""yes" 1>&6
4389 echo "$ac_t""no" 1>&6
4393 echo $ac_n "checking "for --enable-listctrl"""... $ac_c" 1>&6
4394 echo "configure:4395: checking "for --enable-listctrl"" >&5
4396 # Check whether --enable-listctrl or --disable-listctrl was given.
4397 if test "${enable_listctrl+set}" = set; then
4398 enableval
="$enable_listctrl"
4400 if test "$enableval" = yes; then
4401 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
4403 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
4408 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
4409 if test "x$LINE" != x
; then
4410 eval "DEFAULT_$LINE"
4415 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
4420 eval "$ac_cv_use_listctrl"
4421 if test "$no_cache" != 1; then
4422 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
4425 if test "$wxUSE_LISTCTRL" = yes; then
4426 echo "$ac_t""yes" 1>&6
4428 echo "$ac_t""no" 1>&6
4432 echo $ac_n "checking "for --enable-notebook"""... $ac_c" 1>&6
4433 echo "configure:4434: checking "for --enable-notebook"" >&5
4435 # Check whether --enable-notebook or --disable-notebook was given.
4436 if test "${enable_notebook+set}" = set; then
4437 enableval
="$enable_notebook"
4439 if test "$enableval" = yes; then
4440 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
4442 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
4447 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
4448 if test "x$LINE" != x
; then
4449 eval "DEFAULT_$LINE"
4454 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
4459 eval "$ac_cv_use_notebook"
4460 if test "$no_cache" != 1; then
4461 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
4464 if test "$wxUSE_NOTEBOOK" = yes; then
4465 echo "$ac_t""yes" 1>&6
4467 echo "$ac_t""no" 1>&6
4471 echo $ac_n "checking "for --enable-radiobox"""... $ac_c" 1>&6
4472 echo "configure:4473: checking "for --enable-radiobox"" >&5
4474 # Check whether --enable-radiobox or --disable-radiobox was given.
4475 if test "${enable_radiobox+set}" = set; then
4476 enableval
="$enable_radiobox"
4478 if test "$enableval" = yes; then
4479 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
4481 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
4486 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
4487 if test "x$LINE" != x
; then
4488 eval "DEFAULT_$LINE"
4493 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
4498 eval "$ac_cv_use_radiobox"
4499 if test "$no_cache" != 1; then
4500 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
4503 if test "$wxUSE_RADIOBOX" = yes; then
4504 echo "$ac_t""yes" 1>&6
4506 echo "$ac_t""no" 1>&6
4510 echo $ac_n "checking "for --enable-radiobtn"""... $ac_c" 1>&6
4511 echo "configure:4512: checking "for --enable-radiobtn"" >&5
4513 # Check whether --enable-radiobtn or --disable-radiobtn was given.
4514 if test "${enable_radiobtn+set}" = set; then
4515 enableval
="$enable_radiobtn"
4517 if test "$enableval" = yes; then
4518 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
4520 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
4525 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
4526 if test "x$LINE" != x
; then
4527 eval "DEFAULT_$LINE"
4532 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
4537 eval "$ac_cv_use_radiobtn"
4538 if test "$no_cache" != 1; then
4539 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
4542 if test "$wxUSE_RADIOBTN" = yes; then
4543 echo "$ac_t""yes" 1>&6
4545 echo "$ac_t""no" 1>&6
4549 echo $ac_n "checking "for --enable-sash"""... $ac_c" 1>&6
4550 echo "configure:4551: checking "for --enable-sash"" >&5
4552 # Check whether --enable-sash or --disable-sash was given.
4553 if test "${enable_sash+set}" = set; then
4554 enableval
="$enable_sash"
4556 if test "$enableval" = yes; then
4557 ac_cv_use_sash
='wxUSE_SASH=yes'
4559 ac_cv_use_sash
='wxUSE_SASH=no'
4564 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
4565 if test "x$LINE" != x
; then
4566 eval "DEFAULT_$LINE"
4571 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
4576 eval "$ac_cv_use_sash"
4577 if test "$no_cache" != 1; then
4578 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
4581 if test "$wxUSE_SASH" = yes; then
4582 echo "$ac_t""yes" 1>&6
4584 echo "$ac_t""no" 1>&6
4588 echo $ac_n "checking "for --enable-scrollbar"""... $ac_c" 1>&6
4589 echo "configure:4590: checking "for --enable-scrollbar"" >&5
4591 # Check whether --enable-scrollbar or --disable-scrollbar was given.
4592 if test "${enable_scrollbar+set}" = set; then
4593 enableval
="$enable_scrollbar"
4595 if test "$enableval" = yes; then
4596 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
4598 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
4603 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
4604 if test "x$LINE" != x
; then
4605 eval "DEFAULT_$LINE"
4610 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
4615 eval "$ac_cv_use_scrollbar"
4616 if test "$no_cache" != 1; then
4617 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
4620 if test "$wxUSE_SCROLLBAR" = yes; then
4621 echo "$ac_t""yes" 1>&6
4623 echo "$ac_t""no" 1>&6
4627 echo $ac_n "checking "for --enable-slider"""... $ac_c" 1>&6
4628 echo "configure:4629: checking "for --enable-slider"" >&5
4630 # Check whether --enable-slider or --disable-slider was given.
4631 if test "${enable_slider+set}" = set; then
4632 enableval
="$enable_slider"
4634 if test "$enableval" = yes; then
4635 ac_cv_use_slider
='wxUSE_SLIDER=yes'
4637 ac_cv_use_slider
='wxUSE_SLIDER=no'
4642 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
4643 if test "x$LINE" != x
; then
4644 eval "DEFAULT_$LINE"
4649 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
4654 eval "$ac_cv_use_slider"
4655 if test "$no_cache" != 1; then
4656 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
4659 if test "$wxUSE_SLIDER" = yes; then
4660 echo "$ac_t""yes" 1>&6
4662 echo "$ac_t""no" 1>&6
4666 echo $ac_n "checking "for --enable-spinbtn"""... $ac_c" 1>&6
4667 echo "configure:4668: checking "for --enable-spinbtn"" >&5
4669 # Check whether --enable-spinbtn or --disable-spinbtn was given.
4670 if test "${enable_spinbtn+set}" = set; then
4671 enableval
="$enable_spinbtn"
4673 if test "$enableval" = yes; then
4674 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
4676 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
4681 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
4682 if test "x$LINE" != x
; then
4683 eval "DEFAULT_$LINE"
4688 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
4693 eval "$ac_cv_use_spinbtn"
4694 if test "$no_cache" != 1; then
4695 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
4698 if test "$wxUSE_SPINBTN" = yes; then
4699 echo "$ac_t""yes" 1>&6
4701 echo "$ac_t""no" 1>&6
4705 echo $ac_n "checking "for --enable-splitter"""... $ac_c" 1>&6
4706 echo "configure:4707: checking "for --enable-splitter"" >&5
4708 # Check whether --enable-splitter or --disable-splitter was given.
4709 if test "${enable_splitter+set}" = set; then
4710 enableval
="$enable_splitter"
4712 if test "$enableval" = yes; then
4713 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
4715 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
4720 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
4721 if test "x$LINE" != x
; then
4722 eval "DEFAULT_$LINE"
4727 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
4732 eval "$ac_cv_use_splitter"
4733 if test "$no_cache" != 1; then
4734 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
4737 if test "$wxUSE_SPLITTER" = yes; then
4738 echo "$ac_t""yes" 1>&6
4740 echo "$ac_t""no" 1>&6
4744 echo $ac_n "checking "for --enable-statbmp"""... $ac_c" 1>&6
4745 echo "configure:4746: checking "for --enable-statbmp"" >&5
4747 # Check whether --enable-statbmp or --disable-statbmp was given.
4748 if test "${enable_statbmp+set}" = set; then
4749 enableval
="$enable_statbmp"
4751 if test "$enableval" = yes; then
4752 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
4754 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
4759 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
4760 if test "x$LINE" != x
; then
4761 eval "DEFAULT_$LINE"
4766 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
4771 eval "$ac_cv_use_statbmp"
4772 if test "$no_cache" != 1; then
4773 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
4776 if test "$wxUSE_STATBMP" = yes; then
4777 echo "$ac_t""yes" 1>&6
4779 echo "$ac_t""no" 1>&6
4783 echo $ac_n "checking "for --enable-statbox"""... $ac_c" 1>&6
4784 echo "configure:4785: checking "for --enable-statbox"" >&5
4786 # Check whether --enable-statbox or --disable-statbox was given.
4787 if test "${enable_statbox+set}" = set; then
4788 enableval
="$enable_statbox"
4790 if test "$enableval" = yes; then
4791 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
4793 ac_cv_use_statbox
='wxUSE_STATBOX=no'
4798 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
4799 if test "x$LINE" != x
; then
4800 eval "DEFAULT_$LINE"
4805 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
4810 eval "$ac_cv_use_statbox"
4811 if test "$no_cache" != 1; then
4812 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
4815 if test "$wxUSE_STATBOX" = yes; then
4816 echo "$ac_t""yes" 1>&6
4818 echo "$ac_t""no" 1>&6
4822 echo $ac_n "checking "for --enable-statline"""... $ac_c" 1>&6
4823 echo "configure:4824: checking "for --enable-statline"" >&5
4825 # Check whether --enable-statline or --disable-statline was given.
4826 if test "${enable_statline+set}" = set; then
4827 enableval
="$enable_statline"
4829 if test "$enableval" = yes; then
4830 ac_cv_use_statline
='wxUSE_STATLINE=yes'
4832 ac_cv_use_statline
='wxUSE_STATLINE=no'
4837 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
4838 if test "x$LINE" != x
; then
4839 eval "DEFAULT_$LINE"
4844 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
4849 eval "$ac_cv_use_statline"
4850 if test "$no_cache" != 1; then
4851 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
4854 if test "$wxUSE_STATLINE" = yes; then
4855 echo "$ac_t""yes" 1>&6
4857 echo "$ac_t""no" 1>&6
4861 echo $ac_n "checking "for --enable-statusbar"""... $ac_c" 1>&6
4862 echo "configure:4863: checking "for --enable-statusbar"" >&5
4864 # Check whether --enable-statusbar or --disable-statusbar was given.
4865 if test "${enable_statusbar+set}" = set; then
4866 enableval
="$enable_statusbar"
4868 if test "$enableval" = yes; then
4869 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
4871 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
4876 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
4877 if test "x$LINE" != x
; then
4878 eval "DEFAULT_$LINE"
4883 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
4888 eval "$ac_cv_use_statusbar"
4889 if test "$no_cache" != 1; then
4890 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
4893 if test "$wxUSE_STATUSBAR" = yes; then
4894 echo "$ac_t""yes" 1>&6
4896 echo "$ac_t""no" 1>&6
4900 echo $ac_n "checking "for --enable-tabdialog"""... $ac_c" 1>&6
4901 echo "configure:4902: checking "for --enable-tabdialog"" >&5
4903 # Check whether --enable-tabdialog or --disable-tabdialog was given.
4904 if test "${enable_tabdialog+set}" = set; then
4905 enableval
="$enable_tabdialog"
4907 if test "$enableval" = yes; then
4908 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
4910 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
4915 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
4916 if test "x$LINE" != x
; then
4917 eval "DEFAULT_$LINE"
4922 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
4927 eval "$ac_cv_use_tabdialog"
4928 if test "$no_cache" != 1; then
4929 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
4932 if test "$wxUSE_TABDIALOG" = yes; then
4933 echo "$ac_t""yes" 1>&6
4935 echo "$ac_t""no" 1>&6
4939 echo $ac_n "checking "for --enable-toolbar"""... $ac_c" 1>&6
4940 echo "configure:4941: checking "for --enable-toolbar"" >&5
4942 # Check whether --enable-toolbar or --disable-toolbar was given.
4943 if test "${enable_toolbar+set}" = set; then
4944 enableval
="$enable_toolbar"
4946 if test "$enableval" = yes; then
4947 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
4949 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
4954 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
4955 if test "x$LINE" != x
; then
4956 eval "DEFAULT_$LINE"
4961 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
4966 eval "$ac_cv_use_toolbar"
4967 if test "$no_cache" != 1; then
4968 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
4971 if test "$wxUSE_TOOLBAR" = yes; then
4972 echo "$ac_t""yes" 1>&6
4974 echo "$ac_t""no" 1>&6
4978 echo $ac_n "checking "for --enable-treectrl"""... $ac_c" 1>&6
4979 echo "configure:4980: checking "for --enable-treectrl"" >&5
4981 # Check whether --enable-treectrl or --disable-treectrl was given.
4982 if test "${enable_treectrl+set}" = set; then
4983 enableval
="$enable_treectrl"
4985 if test "$enableval" = yes; then
4986 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
4988 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
4993 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
4994 if test "x$LINE" != x
; then
4995 eval "DEFAULT_$LINE"
5000 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
5005 eval "$ac_cv_use_treectrl"
5006 if test "$no_cache" != 1; then
5007 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
5010 if test "$wxUSE_TREECTRL" = yes; then
5011 echo "$ac_t""yes" 1>&6
5013 echo "$ac_t""no" 1>&6
5019 echo $ac_n "checking "for --enable-commondlg"""... $ac_c" 1>&6
5020 echo "configure:5021: checking "for --enable-commondlg"" >&5
5022 # Check whether --enable-commondlg or --disable-commondlg was given.
5023 if test "${enable_commondlg+set}" = set; then
5024 enableval
="$enable_commondlg"
5026 if test "$enableval" = yes; then
5027 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
5029 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
5034 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
5035 if test "x$LINE" != x
; then
5036 eval "DEFAULT_$LINE"
5041 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
5046 eval "$ac_cv_use_commondlg"
5047 if test "$no_cache" != 1; then
5048 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
5051 if test "$wxUSE_COMMONDLGS" = yes; then
5052 echo "$ac_t""yes" 1>&6
5054 echo "$ac_t""no" 1>&6
5058 echo $ac_n "checking "for --enable-dirdlg"""... $ac_c" 1>&6
5059 echo "configure:5060: checking "for --enable-dirdlg"" >&5
5061 # Check whether --enable-dirdlg or --disable-dirdlg was given.
5062 if test "${enable_dirdlg+set}" = set; then
5063 enableval
="$enable_dirdlg"
5065 if test "$enableval" = yes; then
5066 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
5068 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
5073 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
5074 if test "x$LINE" != x
; then
5075 eval "DEFAULT_$LINE"
5080 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
5085 eval "$ac_cv_use_dirdlg"
5086 if test "$no_cache" != 1; then
5087 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
5090 if test "$wxUSE_DIRDLG" = yes; then
5091 echo "$ac_t""yes" 1>&6
5093 echo "$ac_t""no" 1>&6
5097 echo $ac_n "checking "for --enable-textdlg"""... $ac_c" 1>&6
5098 echo "configure:5099: checking "for --enable-textdlg"" >&5
5100 # Check whether --enable-textdlg or --disable-textdlg was given.
5101 if test "${enable_textdlg+set}" = set; then
5102 enableval
="$enable_textdlg"
5104 if test "$enableval" = yes; then
5105 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
5107 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
5112 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
5113 if test "x$LINE" != x
; then
5114 eval "DEFAULT_$LINE"
5119 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
5124 eval "$ac_cv_use_textdlg"
5125 if test "$no_cache" != 1; then
5126 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
5129 if test "$wxUSE_TEXTDLG" = yes; then
5130 echo "$ac_t""yes" 1>&6
5132 echo "$ac_t""no" 1>&6
5136 echo $ac_n "checking "for --enable-tipdlg"""... $ac_c" 1>&6
5137 echo "configure:5138: checking "for --enable-tipdlg"" >&5
5139 # Check whether --enable-tipdlg or --disable-tipdlg was given.
5140 if test "${enable_tipdlg+set}" = set; then
5141 enableval
="$enable_tipdlg"
5143 if test "$enableval" = yes; then
5144 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
5146 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
5151 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
5152 if test "x$LINE" != x
; then
5153 eval "DEFAULT_$LINE"
5158 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
5163 eval "$ac_cv_use_tipdlg"
5164 if test "$no_cache" != 1; then
5165 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
5168 if test "$wxUSE_STARTUP_TIPS" = yes; then
5169 echo "$ac_t""yes" 1>&6
5171 echo "$ac_t""no" 1>&6
5175 echo $ac_n "checking "for --enable-progressdlg"""... $ac_c" 1>&6
5176 echo "configure:5177: checking "for --enable-progressdlg"" >&5
5178 # Check whether --enable-progressdlg or --disable-progressdlg was given.
5179 if test "${enable_progressdlg+set}" = set; then
5180 enableval
="$enable_progressdlg"
5182 if test "$enableval" = yes; then
5183 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
5185 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
5190 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
5191 if test "x$LINE" != x
; then
5192 eval "DEFAULT_$LINE"
5197 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
5202 eval "$ac_cv_use_progressdlg"
5203 if test "$no_cache" != 1; then
5204 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
5207 if test "$wxUSE_PROGRESSDLG" = yes; then
5208 echo "$ac_t""yes" 1>&6
5210 echo "$ac_t""no" 1>&6
5214 echo $ac_n "checking "for --enable-miniframe"""... $ac_c" 1>&6
5215 echo "configure:5216: checking "for --enable-miniframe"" >&5
5217 # Check whether --enable-miniframe or --disable-miniframe was given.
5218 if test "${enable_miniframe+set}" = set; then
5219 enableval
="$enable_miniframe"
5221 if test "$enableval" = yes; then
5222 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
5224 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
5229 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
5230 if test "x$LINE" != x
; then
5231 eval "DEFAULT_$LINE"
5236 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
5241 eval "$ac_cv_use_miniframe"
5242 if test "$no_cache" != 1; then
5243 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
5246 if test "$wxUSE_MINIFRAME" = yes; then
5247 echo "$ac_t""yes" 1>&6
5249 echo "$ac_t""no" 1>&6
5253 echo $ac_n "checking "for --enable-html"""... $ac_c" 1>&6
5254 echo "configure:5255: checking "for --enable-html"" >&5
5256 # Check whether --enable-html or --disable-html was given.
5257 if test "${enable_html+set}" = set; then
5258 enableval
="$enable_html"
5260 if test "$enableval" = yes; then
5261 ac_cv_use_html
='wxUSE_HTML=yes'
5263 ac_cv_use_html
='wxUSE_HTML=no'
5268 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
5269 if test "x$LINE" != x
; then
5270 eval "DEFAULT_$LINE"
5275 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
5280 eval "$ac_cv_use_html"
5281 if test "$no_cache" != 1; then
5282 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
5285 if test "$wxUSE_HTML" = yes; then
5286 echo "$ac_t""yes" 1>&6
5288 echo "$ac_t""no" 1>&6
5292 echo $ac_n "checking "for --enable-tooltips"""... $ac_c" 1>&6
5293 echo "configure:5294: checking "for --enable-tooltips"" >&5
5295 # Check whether --enable-tooltips or --disable-tooltips was given.
5296 if test "${enable_tooltips+set}" = set; then
5297 enableval
="$enable_tooltips"
5299 if test "$enableval" = yes; then
5300 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
5302 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
5307 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
5308 if test "x$LINE" != x
; then
5309 eval "DEFAULT_$LINE"
5314 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
5319 eval "$ac_cv_use_tooltips"
5320 if test "$no_cache" != 1; then
5321 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
5324 if test "$wxUSE_TOOLTIPS" = yes; then
5325 echo "$ac_t""yes" 1>&6
5327 echo "$ac_t""no" 1>&6
5331 echo $ac_n "checking "for --enable-splines"""... $ac_c" 1>&6
5332 echo "configure:5333: checking "for --enable-splines"" >&5
5334 # Check whether --enable-splines or --disable-splines was given.
5335 if test "${enable_splines+set}" = set; then
5336 enableval
="$enable_splines"
5338 if test "$enableval" = yes; then
5339 ac_cv_use_splines
='wxUSE_SPLINES=yes'
5341 ac_cv_use_splines
='wxUSE_SPLINES=no'
5346 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
5347 if test "x$LINE" != x
; then
5348 eval "DEFAULT_$LINE"
5353 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
5358 eval "$ac_cv_use_splines"
5359 if test "$no_cache" != 1; then
5360 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
5363 if test "$wxUSE_SPLINES" = yes; then
5364 echo "$ac_t""yes" 1>&6
5366 echo "$ac_t""no" 1>&6
5370 echo $ac_n "checking "for --enable-validators"""... $ac_c" 1>&6
5371 echo "configure:5372: checking "for --enable-validators"" >&5
5373 # Check whether --enable-validators or --disable-validators was given.
5374 if test "${enable_validators+set}" = set; then
5375 enableval
="$enable_validators"
5377 if test "$enableval" = yes; then
5378 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
5380 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
5385 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
5386 if test "x$LINE" != x
; then
5387 eval "DEFAULT_$LINE"
5392 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
5397 eval "$ac_cv_use_validators"
5398 if test "$no_cache" != 1; then
5399 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
5402 if test "$wxUSE_VALIDATORS" = yes; then
5403 echo "$ac_t""yes" 1>&6
5405 echo "$ac_t""no" 1>&6
5409 echo $ac_n "checking "for --enable-busyinfo"""... $ac_c" 1>&6
5410 echo "configure:5411: checking "for --enable-busyinfo"" >&5
5412 # Check whether --enable-busyinfo or --disable-busyinfo was given.
5413 if test "${enable_busyinfo+set}" = set; then
5414 enableval
="$enable_busyinfo"
5416 if test "$enableval" = yes; then
5417 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
5419 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
5424 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
5425 if test "x$LINE" != x
; then
5426 eval "DEFAULT_$LINE"
5431 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
5436 eval "$ac_cv_use_busyinfo"
5437 if test "$no_cache" != 1; then
5438 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
5441 if test "$wxUSE_BUSYINFO" = yes; then
5442 echo "$ac_t""yes" 1>&6
5444 echo "$ac_t""no" 1>&6
5450 echo $ac_n "checking "for --enable-gif"""... $ac_c" 1>&6
5451 echo "configure:5452: checking "for --enable-gif"" >&5
5453 # Check whether --enable-gif or --disable-gif was given.
5454 if test "${enable_gif+set}" = set; then
5455 enableval
="$enable_gif"
5457 if test "$enableval" = yes; then
5458 ac_cv_use_gif
='wxUSE_GIF=yes'
5460 ac_cv_use_gif
='wxUSE_GIF=no'
5465 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
5466 if test "x$LINE" != x
; then
5467 eval "DEFAULT_$LINE"
5472 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
5477 eval "$ac_cv_use_gif"
5478 if test "$no_cache" != 1; then
5479 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
5482 if test "$wxUSE_GIF" = yes; then
5483 echo "$ac_t""yes" 1>&6
5485 echo "$ac_t""no" 1>&6
5489 echo $ac_n "checking "for --enable-pcx"""... $ac_c" 1>&6
5490 echo "configure:5491: checking "for --enable-pcx"" >&5
5492 # Check whether --enable-pcx or --disable-pcx was given.
5493 if test "${enable_pcx+set}" = set; then
5494 enableval
="$enable_pcx"
5496 if test "$enableval" = yes; then
5497 ac_cv_use_pcx
='wxUSE_PCX=yes'
5499 ac_cv_use_pcx
='wxUSE_PCX=no'
5504 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
5505 if test "x$LINE" != x
; then
5506 eval "DEFAULT_$LINE"
5511 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
5516 eval "$ac_cv_use_pcx"
5517 if test "$no_cache" != 1; then
5518 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
5521 if test "$wxUSE_PCX" = yes; then
5522 echo "$ac_t""yes" 1>&6
5524 echo "$ac_t""no" 1>&6
5528 echo $ac_n "checking "for --enable-pnm"""... $ac_c" 1>&6
5529 echo "configure:5530: checking "for --enable-pnm"" >&5
5531 # Check whether --enable-pnm or --disable-pnm was given.
5532 if test "${enable_pnm+set}" = set; then
5533 enableval
="$enable_pnm"
5535 if test "$enableval" = yes; then
5536 ac_cv_use_pnm
='wxUSE_PNM=yes'
5538 ac_cv_use_pnm
='wxUSE_PNM=no'
5543 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
5544 if test "x$LINE" != x
; then
5545 eval "DEFAULT_$LINE"
5550 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
5555 eval "$ac_cv_use_pnm"
5556 if test "$no_cache" != 1; then
5557 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
5560 if test "$wxUSE_PNM" = yes; then
5561 echo "$ac_t""yes" 1>&6
5563 echo "$ac_t""no" 1>&6
5568 echo "saving argument cache $wx_arg_cache_file"
5569 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
5573 echo $ac_n "checking for toolkit""... $ac_c" 1>&6
5574 echo "configure:5575: checking for toolkit" >&5
5576 if test "$wxUSE_GUI" = "yes"; then
5578 if test "$TOOLKIT_GIVEN" = 1; then
5579 for toolkit
in `echo $ALL_TOOLKITS`; do
5581 eval "value=\$${var}"
5582 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
5585 for toolkit
in `echo $ALL_TOOLKITS`; do
5586 if test "$has_toolkit_in_cache" != 1; then
5587 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
5589 var
=DEFAULT_wxUSE_
$toolkit
5591 eval "wxUSE_$toolkit=\$${var}"
5595 NUM_TOOLKITS
=`expr ${wxUSE_GTK:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_WINE:-0} + ${wxUSE_MINGW:-0} + ${wxUSE_CYGWIN:-0}`
5597 case "$NUM_TOOLKITS" in
5601 { echo "configure: error: Please specify a toolkit - cannot determine the default for ${host}" 1>&2; exit 1; }
5604 { echo "configure: error: Please specify at most one toolkit (may be some are cached?)" 1>&2; exit 1; }
5607 for toolkit
in `echo $ALL_TOOLKITS`; do
5609 eval "value=\$${var}"
5610 if test "x$value" != x
; then
5611 cache_var
=CACHE_
$toolkit
5612 eval "cache=\$${cache_var}"
5613 if test "$cache" = 1; then
5614 echo "$var=$value" >> ${wx_arg_cache_file}
5616 if test "$value" = 1; then
5617 echo "$ac_t""`echo $toolkit | tr A-Z a-z`" 1>&6
5623 echo "$ac_t""base only" 1>&6
5627 cat > confcache
<<\EOF
5628 # This file is a shell script that caches the results of configure
5629 # tests run on this system so they can be shared between configure
5630 # scripts and configure runs. It is not useful on other systems.
5631 # If it contains results you don't want to keep, you may remove or edit it.
5633 # By default, configure uses ./config.cache as the cache file,
5634 # creating it if it does not exist already. You can give configure
5635 # the --cache-file=FILE option to use a different cache file; that is
5636 # what configure does when it calls configure scripts in
5637 # subdirectories, so they share the cache.
5638 # Giving --cache-file=/dev/null disables caching, for debugging configure.
5639 # config.status only pays attention to the cache file if you give it the
5640 # --recheck option to rerun configure.
5643 # The following way of writing the cache mishandles newlines in values,
5644 # but we know of no workaround that is simple, portable, and efficient.
5645 # So, don't put newlines in cache variables' values.
5646 # Ultrix sh set writes to stderr and can't be redirected directly,
5647 # and sets the high bit in the cache file unless we assign to the vars.
5649 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5651 # `set' does not quote correctly, so add quotes (double-quote substitution
5652 # turns \\\\ into \\, and sed turns \\ into \).
5654 -e "s/'/'\\\\''/g" \
5655 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
5658 # `set' quotes correctly as required by POSIX, so do not add quotes.
5659 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
5662 if cmp -s $cache_file confcache
; then
5665 if test -w $cache_file; then
5666 echo "updating cache $cache_file"
5667 cat confcache
> $cache_file
5669 echo "not updating unwritable cache $cache_file"
5675 if eval "test $host != $build"; then
5676 if eval "test $host_alias != NONE"; then
5680 RANLIB
=$host_alias-ranlib
5681 DLLTOOL
=$host_alias-dlltool
5684 STRIP
=$host_alias-strip
5688 # Extract the first word of "gcc", so it can be a program name with args.
5689 set dummy gcc
; ac_word
=$2
5690 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5691 echo "configure:5692: checking for $ac_word" >&5
5692 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
5693 echo $ac_n "(cached) $ac_c" 1>&6
5695 if test -n "$CC"; then
5696 ac_cv_prog_CC
="$CC" # Let the user override the test.
5698 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
5700 for ac_dir
in $ac_dummy; do
5701 test -z "$ac_dir" && ac_dir
=.
5702 if test -f $ac_dir/$ac_word; then
5711 if test -n "$CC"; then
5712 echo "$ac_t""$CC" 1>&6
5714 echo "$ac_t""no" 1>&6
5717 if test -z "$CC"; then
5718 # Extract the first word of "cc", so it can be a program name with args.
5719 set dummy cc
; ac_word
=$2
5720 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5721 echo "configure:5722: checking for $ac_word" >&5
5722 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
5723 echo $ac_n "(cached) $ac_c" 1>&6
5725 if test -n "$CC"; then
5726 ac_cv_prog_CC
="$CC" # Let the user override the test.
5728 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
5731 for ac_dir
in $ac_dummy; do
5732 test -z "$ac_dir" && ac_dir
=.
5733 if test -f $ac_dir/$ac_word; then
5734 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
5735 ac_prog_rejected
=yes
5743 if test $ac_prog_rejected = yes; then
5744 # We found a bogon in the path, so make sure we never use it.
5745 set dummy
$ac_cv_prog_CC
5747 if test $# -gt 0; then
5748 # We chose a different compiler from the bogus one.
5749 # However, it has the same basename, so the bogon will be chosen
5750 # first if we set CC to just the basename; use the full file name.
5752 set dummy
"$ac_dir/$ac_word" "$@"
5760 if test -n "$CC"; then
5761 echo "$ac_t""$CC" 1>&6
5763 echo "$ac_t""no" 1>&6
5766 if test -z "$CC"; then
5767 case "`uname -s`" in
5769 # Extract the first word of "cl", so it can be a program name with args.
5770 set dummy cl
; ac_word
=$2
5771 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5772 echo "configure:5773: checking for $ac_word" >&5
5773 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
5774 echo $ac_n "(cached) $ac_c" 1>&6
5776 if test -n "$CC"; then
5777 ac_cv_prog_CC
="$CC" # Let the user override the test.
5779 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
5781 for ac_dir
in $ac_dummy; do
5782 test -z "$ac_dir" && ac_dir
=.
5783 if test -f $ac_dir/$ac_word; then
5792 if test -n "$CC"; then
5793 echo "$ac_t""$CC" 1>&6
5795 echo "$ac_t""no" 1>&6
5800 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
5803 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
5804 echo "configure:5805: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
5807 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5808 ac_cpp
='$CPP $CPPFLAGS'
5809 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5810 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5811 cross_compiling
=$ac_cv_prog_cc_cross
5813 cat > conftest.
$ac_ext << EOF
5815 #line 5816 "configure"
5816 #include "confdefs.h"
5820 if { (eval echo configure
:5821: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
5821 ac_cv_prog_cc_works
=yes
5822 # If we can't run a trivial program, we are probably using a cross compiler.
5823 if (.
/conftest
; exit) 2>/dev
/null
; then
5824 ac_cv_prog_cc_cross
=no
5826 ac_cv_prog_cc_cross
=yes
5829 echo "configure: failed program was:" >&5
5830 cat conftest.
$ac_ext >&5
5831 ac_cv_prog_cc_works
=no
5835 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5836 ac_cpp
='$CPP $CPPFLAGS'
5837 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5838 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5839 cross_compiling
=$ac_cv_prog_cc_cross
5841 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
5842 if test $ac_cv_prog_cc_works = no
; then
5843 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
5845 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
5846 echo "configure:5847: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
5847 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
5848 cross_compiling
=$ac_cv_prog_cc_cross
5850 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
5851 echo "configure:5852: checking whether we are using GNU C" >&5
5852 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
5853 echo $ac_n "(cached) $ac_c" 1>&6
5855 cat > conftest.c
<<EOF
5860 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:5861: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
5867 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
5869 if test $ac_cv_prog_gcc = yes; then
5875 ac_test_CFLAGS
="${CFLAGS+set}"
5876 ac_save_CFLAGS
="$CFLAGS"
5878 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
5879 echo "configure:5880: checking whether ${CC-cc} accepts -g" >&5
5880 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
5881 echo $ac_n "(cached) $ac_c" 1>&6
5883 echo 'void f(){}' > conftest.c
5884 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
5893 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
5894 if test "$ac_test_CFLAGS" = set; then
5895 CFLAGS
="$ac_save_CFLAGS"
5896 elif test $ac_cv_prog_cc_g = yes; then
5897 if test "$GCC" = yes; then
5903 if test "$GCC" = yes; then
5911 CFLAGS
=`echo "$CFLAGS" | sed 's/-g//g'`
5913 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
5914 echo "configure:5915: checking how to run the C preprocessor" >&5
5915 # On Suns, sometimes $CPP names a directory.
5916 if test -n "$CPP" && test -d "$CPP"; then
5919 if test -z "$CPP"; then
5920 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
5921 echo $ac_n "(cached) $ac_c" 1>&6
5923 # This must be in double quotes, not single quotes, because CPP may get
5924 # substituted into the Makefile and "${CC-cc}" will confuse make.
5926 # On the NeXT, cc -E runs the code through the compiler's parser,
5927 # not just through cpp.
5928 cat > conftest.
$ac_ext <<EOF
5929 #line 5930 "configure"
5930 #include "confdefs.h"
5934 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5935 { (eval echo configure
:5936: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5936 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5937 if test -z "$ac_err"; then
5941 echo "configure: failed program was:" >&5
5942 cat conftest.
$ac_ext >&5
5944 CPP
="${CC-cc} -E -traditional-cpp"
5945 cat > conftest.
$ac_ext <<EOF
5946 #line 5947 "configure"
5947 #include "confdefs.h"
5951 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5952 { (eval echo configure
:5953: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5953 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5954 if test -z "$ac_err"; then
5958 echo "configure: failed program was:" >&5
5959 cat conftest.
$ac_ext >&5
5961 CPP
="${CC-cc} -nologo -E"
5962 cat > conftest.
$ac_ext <<EOF
5963 #line 5964 "configure"
5964 #include "confdefs.h"
5968 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5969 { (eval echo configure
:5970: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5970 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5971 if test -z "$ac_err"; then
5975 echo "configure: failed program was:" >&5
5976 cat conftest.
$ac_ext >&5
5985 ac_cv_prog_CPP
="$CPP"
5987 CPP
="$ac_cv_prog_CPP"
5989 ac_cv_prog_CPP
="$CPP"
5991 echo "$ac_t""$CPP" 1>&6
5994 if test $ac_cv_prog_gcc = yes; then
5995 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
5996 echo "configure:5997: checking whether ${CC-cc} needs -traditional" >&5
5997 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
5998 echo $ac_n "(cached) $ac_c" 1>&6
6000 ac_pattern
="Autoconf.*'x'"
6001 cat > conftest.
$ac_ext <<EOF
6002 #line 6003 "configure"
6003 #include "confdefs.h"
6007 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6008 egrep "$ac_pattern" >/dev
/null
2>&1; then
6010 ac_cv_prog_gcc_traditional
=yes
6013 ac_cv_prog_gcc_traditional
=no
6018 if test $ac_cv_prog_gcc_traditional = no
; then
6019 cat > conftest.
$ac_ext <<EOF
6020 #line 6021 "configure"
6021 #include "confdefs.h"
6025 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6026 egrep "$ac_pattern" >/dev
/null
2>&1; then
6028 ac_cv_prog_gcc_traditional
=yes
6035 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
6036 if test $ac_cv_prog_gcc_traditional = yes; then
6037 CC
="$CC -traditional"
6044 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6045 ac_cpp
='$CXXCPP $CPPFLAGS'
6046 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6047 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6048 cross_compiling
=$ac_cv_prog_cxx_cross
6051 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++ cl
6053 # Extract the first word of "$ac_prog", so it can be a program name with args.
6054 set dummy
$ac_prog; ac_word
=$2
6055 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6056 echo "configure:6057: checking for $ac_word" >&5
6057 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
6058 echo $ac_n "(cached) $ac_c" 1>&6
6060 if test -n "$CXX"; then
6061 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
6063 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6065 for ac_dir
in $ac_dummy; do
6066 test -z "$ac_dir" && ac_dir
=.
6067 if test -f $ac_dir/$ac_word; then
6068 ac_cv_prog_CXX
="$ac_prog"
6075 CXX
="$ac_cv_prog_CXX"
6076 if test -n "$CXX"; then
6077 echo "$ac_t""$CXX" 1>&6
6079 echo "$ac_t""no" 1>&6
6082 test -n "$CXX" && break
6084 test -n "$CXX" || CXX
="gcc"
6087 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
6088 echo "configure:6089: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
6091 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6092 ac_cpp
='$CXXCPP $CPPFLAGS'
6093 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6094 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6095 cross_compiling
=$ac_cv_prog_cxx_cross
6097 cat > conftest.
$ac_ext << EOF
6099 #line 6100 "configure"
6100 #include "confdefs.h"
6102 int main(){return(0);}
6104 if { (eval echo configure
:6105: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6105 ac_cv_prog_cxx_works
=yes
6106 # If we can't run a trivial program, we are probably using a cross compiler.
6107 if (.
/conftest
; exit) 2>/dev
/null
; then
6108 ac_cv_prog_cxx_cross
=no
6110 ac_cv_prog_cxx_cross
=yes
6113 echo "configure: failed program was:" >&5
6114 cat conftest.
$ac_ext >&5
6115 ac_cv_prog_cxx_works
=no
6119 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6120 ac_cpp
='$CXXCPP $CPPFLAGS'
6121 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6122 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6123 cross_compiling
=$ac_cv_prog_cxx_cross
6125 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
6126 if test $ac_cv_prog_cxx_works = no
; then
6127 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
6129 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
6130 echo "configure:6131: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
6131 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
6132 cross_compiling
=$ac_cv_prog_cxx_cross
6134 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
6135 echo "configure:6136: checking whether we are using GNU C++" >&5
6136 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
6137 echo $ac_n "(cached) $ac_c" 1>&6
6139 cat > conftest.C
<<EOF
6144 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:6145: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
6151 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
6153 if test $ac_cv_prog_gxx = yes; then
6159 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
6160 ac_save_CXXFLAGS
="$CXXFLAGS"
6162 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
6163 echo "configure:6164: checking whether ${CXX-g++} accepts -g" >&5
6164 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
6165 echo $ac_n "(cached) $ac_c" 1>&6
6167 echo 'void f(){}' > conftest.cc
6168 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
6169 ac_cv_prog_cxx_g
=yes
6177 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
6178 if test "$ac_test_CXXFLAGS" = set; then
6179 CXXFLAGS
="$ac_save_CXXFLAGS"
6180 elif test $ac_cv_prog_cxx_g = yes; then
6181 if test "$GXX" = yes; then
6187 if test "$GXX" = yes; then
6195 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
6196 echo "configure:6197: checking how to run the C++ preprocessor" >&5
6197 if test -z "$CXXCPP"; then
6198 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
6199 echo $ac_n "(cached) $ac_c" 1>&6
6202 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6203 ac_cpp
='$CXXCPP $CPPFLAGS'
6204 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6205 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6206 cross_compiling
=$ac_cv_prog_cxx_cross
6207 CXXCPP
="${CXX-g++} -E"
6208 cat > conftest.
$ac_ext <<EOF
6209 #line 6210 "configure"
6210 #include "confdefs.h"
6213 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6214 { (eval echo configure
:6215: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6215 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6216 if test -z "$ac_err"; then
6220 echo "configure: failed program was:" >&5
6221 cat conftest.
$ac_ext >&5
6226 ac_cv_prog_CXXCPP
="$CXXCPP"
6228 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6229 ac_cpp
='$CXXCPP $CPPFLAGS'
6230 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6231 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6232 cross_compiling
=$ac_cv_prog_cxx_cross
6235 CXXCPP
="$ac_cv_prog_CXXCPP"
6236 echo "$ac_t""$CXXCPP" 1>&6
6239 CXXFLAGS
=`echo "$CXXFLAGS" | sed 's/-g//g'`
6242 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6243 ac_cpp
='$CPP $CPPFLAGS'
6244 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6245 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6246 cross_compiling
=$ac_cv_prog_cc_cross
6249 # Extract the first word of "ranlib", so it can be a program name with args.
6250 set dummy ranlib
; ac_word
=$2
6251 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6252 echo "configure:6253: checking for $ac_word" >&5
6253 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
6254 echo $ac_n "(cached) $ac_c" 1>&6
6256 if test -n "$RANLIB"; then
6257 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6259 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6261 for ac_dir
in $ac_dummy; do
6262 test -z "$ac_dir" && ac_dir
=.
6263 if test -f $ac_dir/$ac_word; then
6264 ac_cv_prog_RANLIB
="ranlib"
6269 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
6272 RANLIB
="$ac_cv_prog_RANLIB"
6273 if test -n "$RANLIB"; then
6274 echo "$ac_t""$RANLIB" 1>&6
6276 echo "$ac_t""no" 1>&6
6280 # Extract the first word of "ar", so it can be a program name with args.
6281 set dummy
ar; ac_word
=$2
6282 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6283 echo "configure:6284: checking for $ac_word" >&5
6284 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
6285 echo $ac_n "(cached) $ac_c" 1>&6
6287 if test -n "$AR"; then
6288 ac_cv_prog_AR
="$AR" # Let the user override the test.
6290 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6292 for ac_dir
in $ac_dummy; do
6293 test -z "$ac_dir" && ac_dir
=.
6294 if test -f $ac_dir/$ac_word; then
6300 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
6304 if test -n "$AR"; then
6305 echo "$ac_t""$AR" 1>&6
6307 echo "$ac_t""no" 1>&6
6311 # Find a good install program. We prefer a C program (faster),
6312 # so one script is as good as another. But avoid the broken or
6313 # incompatible versions:
6314 # SysV /etc/install, /usr/sbin/install
6315 # SunOS /usr/etc/install
6316 # IRIX /sbin/install
6318 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6319 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6320 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6321 # ./install, which can be erroneously created by make from ./install.sh.
6322 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
6323 echo "configure:6324: checking for a BSD compatible install" >&5
6324 if test -z "$INSTALL"; then
6325 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
6326 echo $ac_n "(cached) $ac_c" 1>&6
6328 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
6329 for ac_dir
in $PATH; do
6330 # Account for people who put trailing slashes in PATH elements.
6332 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
6334 # OSF1 and SCO ODT 3.0 have their own names for install.
6335 # Don't use installbsd from OSF since it installs stuff as root
6337 for ac_prog
in ginstall scoinst
install; do
6338 if test -f $ac_dir/$ac_prog; then
6339 if test $ac_prog = install &&
6340 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
6341 # AIX install. It has an incompatible calling convention.
6344 ac_cv_path_install
="$ac_dir/$ac_prog -c"
6355 if test "${ac_cv_path_install+set}" = set; then
6356 INSTALL
="$ac_cv_path_install"
6358 # As a last resort, use the slow shell script. We don't cache a
6359 # path for INSTALL within a source directory, because that will
6360 # break other packages using the cache if that directory is
6361 # removed, or if the path is relative.
6362 INSTALL
="$ac_install_sh"
6365 echo "$ac_t""$INSTALL" 1>&6
6367 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6368 # It thinks the first close brace ends the variable substitution.
6369 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
6371 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
6373 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
6376 # Extract the first word of "strip", so it can be a program name with args.
6377 set dummy strip
; ac_word
=$2
6378 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6379 echo "configure:6380: checking for $ac_word" >&5
6380 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
6381 echo $ac_n "(cached) $ac_c" 1>&6
6383 if test -n "$STRIP"; then
6384 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6386 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6388 for ac_dir
in $ac_dummy; do
6389 test -z "$ac_dir" && ac_dir
=.
6390 if test -f $ac_dir/$ac_word; then
6391 ac_cv_prog_STRIP
="strip"
6396 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
6399 STRIP
="$ac_cv_prog_STRIP"
6400 if test -n "$STRIP"; then
6401 echo "$ac_t""$STRIP" 1>&6
6403 echo "$ac_t""no" 1>&6
6407 echo $ac_n "checking "make for VPATH support
"""... $ac_c" 1>&6
6408 echo "configure:6409: checking "make for VPATH support
"" >&5
6409 cat - << EOF > confMake
6415 if test ! -d sub
; then
6418 echo dummy
> sub
/file
6419 ${MAKE-make} -f confMake VPATH
=sub
2> config.log
> /dev
/null
6421 rm -f sub
/file check final_file confMake
6423 if test "$RESULT" = 0; then
6424 echo "$ac_t""yes" 1>&6
6426 echo "$ac_t""no" 1>&6
6427 { echo "configure: error: You need a make-utility that is able to use the variable
6429 If your version of make does not support VPATH correctly" 1>&2; exit 1; }
6432 for ac_prog
in 'bison -y' byacc
6434 # Extract the first word of "$ac_prog", so it can be a program name with args.
6435 set dummy
$ac_prog; ac_word
=$2
6436 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6437 echo "configure:6438: checking for $ac_word" >&5
6438 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
6439 echo $ac_n "(cached) $ac_c" 1>&6
6441 if test -n "$YACC"; then
6442 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
6444 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6446 for ac_dir
in $ac_dummy; do
6447 test -z "$ac_dir" && ac_dir
=.
6448 if test -f $ac_dir/$ac_word; then
6449 ac_cv_prog_YACC
="$ac_prog"
6456 YACC
="$ac_cv_prog_YACC"
6457 if test -n "$YACC"; then
6458 echo "$ac_t""$YACC" 1>&6
6460 echo "$ac_t""no" 1>&6
6463 test -n "$YACC" && break
6465 test -n "$YACC" || YACC
="yacc"
6468 # Extract the first word of "flex", so it can be a program name with args.
6469 set dummy flex
; ac_word
=$2
6470 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6471 echo "configure:6472: checking for $ac_word" >&5
6472 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
6473 echo $ac_n "(cached) $ac_c" 1>&6
6475 if test -n "$LEX"; then
6476 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
6478 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6480 for ac_dir
in $ac_dummy; do
6481 test -z "$ac_dir" && ac_dir
=.
6482 if test -f $ac_dir/$ac_word; then
6483 ac_cv_prog_LEX
="flex"
6488 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
6491 LEX
="$ac_cv_prog_LEX"
6492 if test -n "$LEX"; then
6493 echo "$ac_t""$LEX" 1>&6
6495 echo "$ac_t""no" 1>&6
6498 if test -z "$LEXLIB"
6504 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
6505 echo "configure:6506: checking for yywrap in -l$ac_lib" >&5
6506 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
6507 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6508 echo $ac_n "(cached) $ac_c" 1>&6
6510 ac_save_LIBS
="$LIBS"
6511 LIBS
="-l$ac_lib $LIBS"
6512 cat > conftest.
$ac_ext <<EOF
6513 #line 6514 "configure"
6514 #include "confdefs.h"
6515 /* Override any gcc2 internal prototype to avoid an error. */
6516 /* We use char because int might match the return type of a gcc2
6517 builtin and then its argument prototype would still apply. */
6524 if { (eval echo configure
:6525: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6526 eval "ac_cv_lib_$ac_lib_var=yes"
6528 echo "configure: failed program was:" >&5
6529 cat conftest.
$ac_ext >&5
6531 eval "ac_cv_lib_$ac_lib_var=no"
6534 LIBS
="$ac_save_LIBS"
6537 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6538 echo "$ac_t""yes" 1>&6
6541 echo "$ac_t""no" 1>&6
6547 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
6548 echo "configure:6549: checking whether ln -s works" >&5
6549 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
6550 echo $ac_n "(cached) $ac_c" 1>&6
6553 if ln -s X conftestdata
2>/dev
/null
6556 ac_cv_prog_LN_S
="ln -s"
6561 LN_S
="$ac_cv_prog_LN_S"
6562 if test "$ac_cv_prog_LN_S" = "ln -s"; then
6563 echo "$ac_t""yes" 1>&6
6565 echo "$ac_t""no" 1>&6
6571 /usr/local/include \
6573 /usr/Motif-1.2/include \
6574 /usr/Motif-2.1/include \
6576 /usr/include/Motif1.2 \
6577 /opt/xpm/include/X11 \
6578 /opt/GBxpm/include/ \
6579 /opt/GBxpm/X11/include/ \
6581 /usr/Motif1.2/include \
6583 /usr/openwin/include \
6587 /usr/X11R6/include \
6588 /usr/X11R6.4/include \
6589 /usr/X11R5/include \
6590 /usr/X11R4/include \
6592 /usr/include/X11R6 \
6593 /usr/include/X11R5 \
6594 /usr/include/X11R4 \
6596 /usr/local/X11R6/include \
6597 /usr/local/X11R5/include \
6598 /usr/local/X11R4/include \
6600 /usr/local/include/X11R6 \
6601 /usr/local/include/X11R5 \
6602 /usr/local/include/X11R4 \
6606 /usr/local/X11/include \
6607 /usr/local/include/X11 \
6611 /usr/XFree86/include/X11 \
6614 /usr/local/include/gtk \
6616 /usr/local/include/glib \
6619 /usr/local/include/qt \
6621 /usr/include/windows \
6623 /usr/local/include/wine \
6625 /usr/unsupported/include \
6626 /usr/athena/include \
6627 /usr/local/x11r5/include \
6628 /usr/lpp/Xamples/include \
6630 /usr/openwin/share/include \
6634 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
6637 cat > confcache
<<\EOF
6638 # This file is a shell script that caches the results of configure
6639 # tests run on this system so they can be shared between configure
6640 # scripts and configure runs. It is not useful on other systems.
6641 # If it contains results you don't want to keep, you may remove or edit it.
6643 # By default, configure uses ./config.cache as the cache file,
6644 # creating it if it does not exist already. You can give configure
6645 # the --cache-file=FILE option to use a different cache file; that is
6646 # what configure does when it calls configure scripts in
6647 # subdirectories, so they share the cache.
6648 # Giving --cache-file=/dev/null disables caching, for debugging configure.
6649 # config.status only pays attention to the cache file if you give it the
6650 # --recheck option to rerun configure.
6653 # The following way of writing the cache mishandles newlines in values,
6654 # but we know of no workaround that is simple, portable, and efficient.
6655 # So, don't put newlines in cache variables' values.
6656 # Ultrix sh set writes to stderr and can't be redirected directly,
6657 # and sets the high bit in the cache file unless we assign to the vars.
6659 case `(ac_space=' '; set | grep ac_space) 2>&1` in
6661 # `set' does not quote correctly, so add quotes (double-quote substitution
6662 # turns \\\\ into \\, and sed turns \\ into \).
6664 -e "s/'/'\\\\''/g" \
6665 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
6668 # `set' quotes correctly as required by POSIX, so do not add quotes.
6669 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
6672 if cmp -s $cache_file confcache
; then
6675 if test -w $cache_file; then
6676 echo "updating cache $cache_file"
6677 cat confcache
> $cache_file
6679 echo "not updating unwritable cache $cache_file"
6686 if test "$wxUSE_GUI" = "yes"; then
6704 if test "$wxUSE_CYGWIN" = 1 || test "$wxUSE_MINGW" = 1 ; then
6705 if test "$cross_compiling" = "yes" ; then
6706 echo "configure: warning: Cross compiling --- skipping windows.h check" 1>&2
6708 echo $ac_n "checking for Windows headers""... $ac_c" 1>&6
6709 echo "configure:6710: checking for Windows headers" >&5
6712 for ac_dir
in $SEARCH_INCLUDE;
6714 if test -f "$ac_dir/windows.h"; then
6715 ac_find_includes
=$ac_dir
6720 if test "$ac_find_includes" != "" ; then
6721 echo "$ac_t""found $ac_find_includes" 1>&6
6722 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE -I$ac_find_includes"
6724 echo "$ac_t""no" 1>&6
6725 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
6729 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS msw"
6730 LIBS
="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -lcrtdll -ladvapi32 -lwsock32"
6732 if test "$wxUSE_MINGW" = 1; then
6733 LDFLAGS
="$LDFLAGS -mwindows"
6738 GUIOBJS
="\$(MSW_GUIOBJS)"
6739 GUIHEADERS
="\$(MSW_HEADERS)"
6740 COMMONOBJS
="\$(MSW_COMMONOBJS)"
6741 GENERICOBJS
="\$(MSW_GENERICOBJS)"
6747 if test "$wxUSE_GTK" = 1; then
6749 if test x
$gtk_config_exec_prefix != x
; then
6750 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
6751 if test x
${GTK_CONFIG+set} != xset
; then
6752 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
6755 if test x
$gtk_config_prefix != x
; then
6756 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
6757 if test x
${GTK_CONFIG+set} != xset
; then
6758 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
6762 # Extract the first word of "gtk-config", so it can be a program name with args.
6763 set dummy gtk
-config; ac_word
=$2
6764 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6765 echo "configure:6766: checking for $ac_word" >&5
6766 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
6767 echo $ac_n "(cached) $ac_c" 1>&6
6769 case "$GTK_CONFIG" in
6771 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
6774 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
6777 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6779 for ac_dir
in $ac_dummy; do
6780 test -z "$ac_dir" && ac_dir
=.
6781 if test -f $ac_dir/$ac_word; then
6782 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
6787 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
6791 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
6792 if test -n "$GTK_CONFIG"; then
6793 echo "$ac_t""$GTK_CONFIG" 1>&6
6795 echo "$ac_t""no" 1>&6
6798 min_gtk_version
=1.2.1
6799 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
6800 echo "configure:6801: checking for GTK - version >= $min_gtk_version" >&5
6802 if test "$GTK_CONFIG" != "no" ; then
6803 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
6804 GTK_LIBS
=`$GTK_CONFIG --libs`
6805 ac_save_CFLAGS
="$CFLAGS"
6806 ac_save_LIBS
="$LIBS"
6807 CFLAGS
="$CFLAGS $GTK_CFLAGS"
6808 LIBS
="$LIBS $GTK_LIBS"
6809 if test "$cross_compiling" = yes; then
6810 echo $ac_n "cross compiling; assumed OK... $ac_c"
6812 cat > conftest.
$ac_ext <<EOF
6813 #line 6814 "configure"
6814 #include "confdefs.h"
6816 #include <gtk/gtk.h>
6822 int major, minor, micro;
6824 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
6825 printf("%s, bad version string\n", "$min_gtk_version");
6829 if (gtk_minor_version == 1) return FALSE;
6831 return !((gtk_major_version > major) ||
6832 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
6833 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
6837 if { (eval echo configure
:6838: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
6841 echo "configure: failed program was:" >&5
6842 cat conftest.
$ac_ext >&5
6849 CFLAGS
="$ac_save_CFLAGS"
6850 LIBS
="$ac_save_LIBS"
6854 if test "x$no_gtk" = x
; then
6855 echo "$ac_t""yes" 1>&6
6858 echo "$ac_t""no" 1>&6
6861 { echo "configure: error: Is gtk-config in path and GTK+ is version 1.2.1 or above?" 1>&2; exit 1; }
6867 TOOLKIT_INCLUDE
="$GTK_CFLAGS"
6868 GUI_TK_LIBRARY
="$GTK_LIBS"
6871 GUIOBJS
="\$(GTK_GUIOBJS)"
6872 GUIHEADERS
="\$(GTK_HEADERS)"
6873 COMMONOBJS
="\$(GTK_COMMONOBJS)"
6874 GENERICOBJS
="\$(GTK_GENERICOBJS)"
6875 GUIDEPS
="\$(GTK_GUIDEPS)"
6876 COMMONDEPS
="\$(GTK_COMMONDEPS)"
6877 GENERICDEPS
="\$(GTK_GENERICDEPS)"
6878 UNIXOBJS
="\$(UNIX_OBJS)"
6882 if test "$wxUSE_WINE" = 1; then
6883 echo $ac_n "checking for WINE includes""... $ac_c" 1>&6
6884 echo "configure:6885: checking for WINE includes" >&5
6887 for ac_dir
in $SEARCH_INCLUDE;
6889 if test -f "$ac_dir/windows.h"; then
6890 ac_find_includes
=$ac_dir
6895 if test "$ac_find_includes" != "" ; then
6896 echo "$ac_t""found $ac_find_includes" 1>&6
6897 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE -I$ac_find_includes"
6899 echo "$ac_t""no" 1>&6
6900 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
6904 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
6905 echo "configure:6906: checking for Xpm library" >&5
6908 for ac_dir
in $SEARCH_LIB;
6910 for ac_extension
in a so sl
; do
6911 if test -f "$ac_dir/libXpm.$ac_extension"; then
6912 ac_find_libraries
=$ac_dir
6918 if test "$ac_find_libraries" != "" ; then
6919 GUI_TK_LIBRARY
="-L$ac_find_libraries"
6921 cat >> confdefs.h
<<\EOF
6922 #define wxHAVE_LIB_XPM 1
6925 echo "$ac_t""found at $ac_find_libraries" 1>&6
6927 echo "$ac_t""no" 1>&6
6928 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
6932 echo $ac_n "checking for Mesa library""... $ac_c" 1>&6
6933 echo "configure:6934: checking for Mesa library" >&5
6936 for ac_dir
in $SEARCH_LIB;
6938 for ac_extension
in a so sl
; do
6939 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
6940 ac_find_libraries
=$ac_dir
6946 if test "$ac_find_libraries" != "" ; then
6947 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -L$ac_find_libraries"
6948 MESA_LINK
="-lMesaGL"
6949 echo "$ac_t""found at $ac_find_libraries" 1>&6
6951 { echo "configure: error: no" 1>&2; exit 1; }
6954 GUI_TK_LINK
="-lwine $MESA_LINK $XPM_LINK -lXxf86dga -lXxf86vm -lSM -lICE -lXext -lXmu -lX11 -lncurses -lm"
6955 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GUI_TK_LINK"
6959 GUIHEADERS
="\$(MSW_HEADERS)"
6960 GUIOBJS
="\$(MSW_GUIOBJS)"
6961 COMMONOBJS
="\$(MSW_COMMONOBJS)"
6962 GENERICOBJS
="\$(MSW_GENERICOBJS)"
6963 GUIDEPS
="\$(MSW_GUIDEPS)"
6964 COMMONDEPS
="\$(MSW_COMMONDEPS)"
6965 GENERICDEPS
="\$(MSW_GENERICDEPS)"
6966 UNIXOBJS
="\$(UNIX_OBJS)"
6970 if test "$wxUSE_MOTIF" = 1; then
6971 echo $ac_n "checking for X11 headers""... $ac_c" 1>&6
6972 echo "configure:6973: checking for X11 headers" >&5
6975 for ac_dir
in $SEARCH_INCLUDE;
6977 if test -f "$ac_dir/X11/Intrinsic.h"; then
6978 ac_find_includes
=$ac_dir
6983 if test "$ac_find_includes" != "" ; then
6984 echo "$ac_t""found $ac_find_includes" 1>&6
6986 echo "$ac_t""no" 1>&6
6987 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
6990 echo $ac_n "checking for X11 libraries""... $ac_c" 1>&6
6991 echo "configure:6992: checking for X11 libraries" >&5
6994 for ac_dir
in $SEARCH_LIB;
6996 for ac_extension
in a so sl
; do
6997 if test -f "$ac_dir/libX11.$ac_extension"; then
6998 ac_find_libraries
=$ac_dir
7004 if test "$ac_find_libraries" != "" ; then
7006 ac_path_to_include
=$ac_find_includes
7007 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
7009 if test $result = 0; then
7010 ac_path_to_include
=""
7012 ac_path_to_include
="-I$ac_find_includes"
7016 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
7018 if test $result = 0; then
7021 ac_path_to_link
="-L$ac_find_libraries"
7025 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
7026 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE $ac_path_to_include"
7027 echo "$ac_t""found at $ac_find_libraries" 1>&6
7029 echo "$ac_t""no" 1>&6
7030 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
7033 echo $ac_n "checking for Motif/Lesstif headers""... $ac_c" 1>&6
7034 echo "configure:7035: checking for Motif/Lesstif headers" >&5
7037 for ac_dir
in $SEARCH_INCLUDE;
7039 if test -f "$ac_dir/Xm/Xm.h"; then
7040 ac_find_includes
=$ac_dir
7045 if test "$ac_find_includes" != "" ; then
7046 echo "$ac_t""found $ac_find_includes" 1>&6
7048 echo "$ac_t""no" 1>&6
7049 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
7052 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
7053 echo "configure:7054: checking for Motif/Lesstif library" >&5
7056 for ac_dir
in $SEARCH_LIB;
7058 for ac_extension
in a so sl
; do
7059 if test -f "$ac_dir/libXm.$ac_extension"; then
7060 ac_find_libraries
=$ac_dir
7066 if test "$ac_find_libraries" != "" ; then
7068 ac_path_to_include
=$ac_find_includes
7069 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
7071 if test $result = 0; then
7072 ac_path_to_include
=""
7074 ac_path_to_include
="-I$ac_find_includes"
7078 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
7080 if test $result = 0; then
7083 ac_path_to_link
="-L$ac_find_libraries"
7087 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
7088 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE $ac_path_to_include"
7089 echo "$ac_t""found at $ac_find_libraries" 1>&6
7091 echo "$ac_t""no" 1>&6
7092 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
7095 echo $ac_n "checking for Xt library""... $ac_c" 1>&6
7096 echo "configure:7097: checking for Xt library" >&5
7099 for ac_dir
in $SEARCH_LIB;
7101 for ac_extension
in a so sl
; do
7102 if test -f "$ac_dir/libXt.$ac_extension"; then
7103 ac_find_libraries
=$ac_dir
7109 if test "$ac_find_libraries" != "" ; then
7111 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
7113 if test $result = 0; then
7116 ac_path_to_link
="-L$ac_find_libraries"
7119 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
7120 echo "$ac_t""found at $ac_find_libraries" 1>&6
7122 echo "$ac_t""no" 1>&6
7123 { echo "configure: error: please set LDFLAGS to contain the location of libXt" 1>&2; exit 1; }
7127 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
7128 echo "configure:7129: checking for Xpm library" >&5
7131 for ac_dir
in $SEARCH_LIB;
7133 for ac_extension
in a so sl
; do
7134 if test -f "$ac_dir/libXpm.$ac_extension"; then
7135 ac_find_libraries
=$ac_dir
7141 if test "$ac_find_libraries" != "" ; then
7143 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
7145 if test $result = 0; then
7148 ac_path_to_link
="-L$ac_find_libraries"
7151 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
7153 cat >> confdefs.h
<<\EOF
7154 #define wxHAVE_LIB_XPM 1
7157 echo "$ac_t""found at $ac_find_libraries" 1>&6
7159 echo "$ac_t""no" 1>&6
7160 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
7163 GUI_TK_LINK
="-lXm $XPM_LINK -lXmu -lXext -lXt -lX11 -lm"
7164 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GUI_TK_LINK"
7167 GUIHEADERS
="\$(MOTIF_HEADERS)"
7168 GUIOBJS
="\$(MOTIF_GUIOBJS)"
7169 COMMONOBJS
="\$(MOTIF_COMMONOBJS)"
7170 GENERICOBJS
="\$(MOTIF_GENERICOBJS)"
7171 GUIDEPS
="\$(MOTIF_GUIDEPS)"
7172 COMMONDEPS
="\$(MOTIF_COMMONDEPS)"
7173 GENERICDEPS
="\$(MOTIF_GENERICDEPS)"
7174 UNIXOBJS
="\$(UNIX_OBJS)"
7178 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "A-Z" "a-z"`
7180 TOOLKIT_DEF
="-D__WX${TOOLKIT}__"
7182 WX_LIBRARY
="wx_${TOOLKIT_DIR}"
7184 ALL_OBJECTS
="\$(GUIOBJS) \$(COMMONOBJS) \$(GENERICOBJS) \$(UNIXOBJS) \$(HTMLOBJS) \$(JPEGOBJS) \$(PNGOBJS) \$(ZLIBOBJS) \$(IODBCOBJS)"
7185 ALL_DEPFILES
="\$(GUIDEPS) \$(COMMONDEPS) \$(GENERICDEPS) \$(UNIXDEPS) \$(HTMLDEPS)"
7186 ALL_HEADERS
="\$(GUIHEADERS) \$(HTML_HEADERS) \$(UNIX_HEADERS) \$(PROTOCOL_HEADERS) \$(GENERIC_HEADERS) \$(WX_HEADERS)"
7189 ALL_OBJECTS
="\$(BASE_OBJS)"
7190 ALL_DEPFILES
="\${BASE_DEPS}"
7191 ALL_HEADERS
="\${BASE_HEADERS}"
7196 WX_LIBRARY_NAME
="lib${WX_LIBRARY}.la"
7198 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
7200 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}-${WX_RELEASE}.so.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
7202 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}-${WX_RELEASE}.so.${WX_CURRENT}"
7203 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}-${WX_RELEASE}.so"
7204 WX_LIBRARY_LINK3
="lib${WX_LIBRARY}.so"
7211 if test "$wxUSE_SHARED" = "yes"; then
7214 if test "$GCC" = yes ; then
7215 SHARED_LD
="${CC} -shared -o"
7218 SHARED_LD
="${CXX} -b -o"
7221 WX_LIBRARY_NAME_SHARED
="libwx_${TOOLKIT_DIR}.sl"
7222 WX_ALL
=${WX_LIBRARY_NAME_SHARED}
7225 SHARED_LD
="${CC} -shared -o"
7227 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
7228 WX_ALL
="CREATE_LINKS"
7230 *-*-irix5* | *-*-irix6* )
7231 if test "$GCC" = yes ; then
7232 SHARED_LD
="${CC} -shared -o"
7235 SHARED_LD
="${CXX} -shared -o"
7237 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
7238 WX_ALL
="CREATE_LINKS"
7241 if test "$GCC" = yes ; then
7242 SHARED_LD
="${CC} -shared -o"
7245 SHARED_LD
="${CXX} -G -o"
7248 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
7249 WX_ALL
="CREATE_LINKS"
7252 SHARED_LD
="${CC} -shared -o"
7254 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
7255 WX_ALL
="CREATE_LINKS"
7257 *-*-freebsd* | *-*-netbsd*)
7258 SHARED_LD
="${CC} -shared -o"
7260 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
7261 WX_ALL
="CREATE_LINKS"
7264 SHARED_LD
="${CXX} -shared -o"
7266 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
7267 WX_ALL
="CREATE_LINKS"
7270 SHARED_LD
="${CXX} -shared -o"
7272 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
7273 WX_ALL
="CREATE_LINKS"
7276 SHARED_LD
="${CC} -shared -o"
7278 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
7279 WX_ALL
="CREATE_LINKS"
7282 SHARED_LD
="/usr/lpp/xlC/bin/makeC++SharedLib -p 0 -o"
7283 WX_ALL
=${WX_LIBRARY_NAME_SHARED}
7286 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
7287 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
7290 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
7291 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
7296 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
7299 if test "x$WX_TARGET_LIBRARY" = "x"; then
7300 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
7303 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
7304 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
7308 for ac_hdr
in strings.h
7310 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7311 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7312 echo "configure:7313: checking for $ac_hdr" >&5
7313 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7314 echo $ac_n "(cached) $ac_c" 1>&6
7316 cat > conftest.
$ac_ext <<EOF
7317 #line 7318 "configure"
7318 #include "confdefs.h"
7321 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7322 { (eval echo configure
:7323: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7323 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7324 if test -z "$ac_err"; then
7326 eval "ac_cv_header_$ac_safe=yes"
7329 echo "configure: failed program was:" >&5
7330 cat conftest.
$ac_ext >&5
7332 eval "ac_cv_header_$ac_safe=no"
7336 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7337 echo "$ac_t""yes" 1>&6
7338 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7339 cat >> confdefs.h
<<EOF
7340 #define $ac_tr_hdr 1
7344 echo "$ac_t""no" 1>&6
7348 for ac_hdr
in unistd.h
7350 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7351 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7352 echo "configure:7353: checking for $ac_hdr" >&5
7353 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7354 echo $ac_n "(cached) $ac_c" 1>&6
7356 cat > conftest.
$ac_ext <<EOF
7357 #line 7358 "configure"
7358 #include "confdefs.h"
7361 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7362 { (eval echo configure
:7363: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7363 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7364 if test -z "$ac_err"; then
7366 eval "ac_cv_header_$ac_safe=yes"
7369 echo "configure: failed program was:" >&5
7370 cat conftest.
$ac_ext >&5
7372 eval "ac_cv_header_$ac_safe=no"
7376 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7377 echo "$ac_t""yes" 1>&6
7378 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7379 cat >> confdefs.h
<<EOF
7380 #define $ac_tr_hdr 1
7384 echo "$ac_t""no" 1>&6
7388 for ac_hdr
in wchar.h
7390 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7391 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7392 echo "configure:7393: checking for $ac_hdr" >&5
7393 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7394 echo $ac_n "(cached) $ac_c" 1>&6
7396 cat > conftest.
$ac_ext <<EOF
7397 #line 7398 "configure"
7398 #include "confdefs.h"
7401 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7402 { (eval echo configure
:7403: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7403 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7404 if test -z "$ac_err"; then
7406 eval "ac_cv_header_$ac_safe=yes"
7409 echo "configure: failed program was:" >&5
7410 cat conftest.
$ac_ext >&5
7412 eval "ac_cv_header_$ac_safe=no"
7416 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7417 echo "$ac_t""yes" 1>&6
7418 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7419 cat >> confdefs.h
<<EOF
7420 #define $ac_tr_hdr 1
7424 echo "$ac_t""no" 1>&6
7428 for ac_hdr
in wcstr.h
7430 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7431 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7432 echo "configure:7433: checking for $ac_hdr" >&5
7433 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7434 echo $ac_n "(cached) $ac_c" 1>&6
7436 cat > conftest.
$ac_ext <<EOF
7437 #line 7438 "configure"
7438 #include "confdefs.h"
7441 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7442 { (eval echo configure
:7443: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7443 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7444 if test -z "$ac_err"; then
7446 eval "ac_cv_header_$ac_safe=yes"
7449 echo "configure: failed program was:" >&5
7450 cat conftest.
$ac_ext >&5
7452 eval "ac_cv_header_$ac_safe=no"
7456 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7457 echo "$ac_t""yes" 1>&6
7458 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7459 cat >> confdefs.h
<<EOF
7460 #define $ac_tr_hdr 1
7464 echo "$ac_t""no" 1>&6
7468 for ac_hdr
in fnmatch.h
7470 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7471 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7472 echo "configure:7473: checking for $ac_hdr" >&5
7473 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7474 echo $ac_n "(cached) $ac_c" 1>&6
7476 cat > conftest.
$ac_ext <<EOF
7477 #line 7478 "configure"
7478 #include "confdefs.h"
7481 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7482 { (eval echo configure
:7483: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7483 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7484 if test -z "$ac_err"; then
7486 eval "ac_cv_header_$ac_safe=yes"
7489 echo "configure: failed program was:" >&5
7490 cat conftest.
$ac_ext >&5
7492 eval "ac_cv_header_$ac_safe=no"
7496 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7497 echo "$ac_t""yes" 1>&6
7498 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7499 cat >> confdefs.h
<<EOF
7500 #define $ac_tr_hdr 1
7504 echo "$ac_t""no" 1>&6
7509 if test "$wxUSE_GUI" = "yes"; then
7510 for ac_hdr
in X
11/XKBlib.h
7512 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7513 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7514 echo "configure:7515: checking for $ac_hdr" >&5
7515 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7516 echo $ac_n "(cached) $ac_c" 1>&6
7518 cat > conftest.
$ac_ext <<EOF
7519 #line 7520 "configure"
7520 #include "confdefs.h"
7523 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7524 { (eval echo configure
:7525: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7525 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7526 if test -z "$ac_err"; then
7528 eval "ac_cv_header_$ac_safe=yes"
7531 echo "configure: failed program was:" >&5
7532 cat conftest.
$ac_ext >&5
7534 eval "ac_cv_header_$ac_safe=no"
7538 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7539 echo "$ac_t""yes" 1>&6
7540 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7541 cat >> confdefs.h
<<EOF
7542 #define $ac_tr_hdr 1
7546 echo "$ac_t""no" 1>&6
7553 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
7554 echo "configure:7555: checking for ANSI C header files" >&5
7555 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
7556 echo $ac_n "(cached) $ac_c" 1>&6
7558 cat > conftest.
$ac_ext <<EOF
7559 #line 7560 "configure"
7560 #include "confdefs.h"
7566 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7567 { (eval echo configure
:7568: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7568 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7569 if test -z "$ac_err"; then
7571 ac_cv_header_stdc
=yes
7574 echo "configure: failed program was:" >&5
7575 cat conftest.
$ac_ext >&5
7577 ac_cv_header_stdc
=no
7581 if test $ac_cv_header_stdc = yes; then
7582 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7583 cat > conftest.
$ac_ext <<EOF
7584 #line 7585 "configure"
7585 #include "confdefs.h"
7588 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7589 egrep "memchr" >/dev
/null
2>&1; then
7593 ac_cv_header_stdc
=no
7599 if test $ac_cv_header_stdc = yes; then
7600 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7601 cat > conftest.
$ac_ext <<EOF
7602 #line 7603 "configure"
7603 #include "confdefs.h"
7606 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7607 egrep "free" >/dev
/null
2>&1; then
7611 ac_cv_header_stdc
=no
7617 if test $ac_cv_header_stdc = yes; then
7618 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7619 if test "$cross_compiling" = yes; then
7622 cat > conftest.
$ac_ext <<EOF
7623 #line 7624 "configure"
7624 #include "confdefs.h"
7626 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7627 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7628 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7629 int main () { int i; for (i = 0; i < 256; i++)
7630 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
7634 if { (eval echo configure
:7635: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
7638 echo "configure: failed program was:" >&5
7639 cat conftest.
$ac_ext >&5
7641 ac_cv_header_stdc
=no
7649 echo "$ac_t""$ac_cv_header_stdc" 1>&6
7650 if test $ac_cv_header_stdc = yes; then
7651 cat >> confdefs.h
<<\EOF
7652 #define STDC_HEADERS 1
7657 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
7658 echo "configure:7659: checking for mode_t" >&5
7659 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
7660 echo $ac_n "(cached) $ac_c" 1>&6
7662 cat > conftest.
$ac_ext <<EOF
7663 #line 7664 "configure"
7664 #include "confdefs.h"
7665 #include <sys/types.h>
7671 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7672 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
7674 ac_cv_type_mode_t
=yes
7677 ac_cv_type_mode_t
=no
7682 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
7683 if test $ac_cv_type_mode_t = no
; then
7684 cat >> confdefs.h
<<\EOF
7690 echo $ac_n "checking for off_t""... $ac_c" 1>&6
7691 echo "configure:7692: checking for off_t" >&5
7692 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
7693 echo $ac_n "(cached) $ac_c" 1>&6
7695 cat > conftest.
$ac_ext <<EOF
7696 #line 7697 "configure"
7697 #include "confdefs.h"
7698 #include <sys/types.h>
7704 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7705 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
7707 ac_cv_type_off_t
=yes
7715 echo "$ac_t""$ac_cv_type_off_t" 1>&6
7716 if test $ac_cv_type_off_t = no
; then
7717 cat >> confdefs.h
<<\EOF
7723 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
7724 echo "configure:7725: checking for pid_t" >&5
7725 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
7726 echo $ac_n "(cached) $ac_c" 1>&6
7728 cat > conftest.
$ac_ext <<EOF
7729 #line 7730 "configure"
7730 #include "confdefs.h"
7731 #include <sys/types.h>
7737 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7738 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
7740 ac_cv_type_pid_t
=yes
7748 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
7749 if test $ac_cv_type_pid_t = no
; then
7750 cat >> confdefs.h
<<\EOF
7756 echo $ac_n "checking for size_t""... $ac_c" 1>&6
7757 echo "configure:7758: checking for size_t" >&5
7758 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
7759 echo $ac_n "(cached) $ac_c" 1>&6
7761 cat > conftest.
$ac_ext <<EOF
7762 #line 7763 "configure"
7763 #include "confdefs.h"
7764 #include <sys/types.h>
7770 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7771 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
7773 ac_cv_type_size_t
=yes
7776 ac_cv_type_size_t
=no
7781 echo "$ac_t""$ac_cv_type_size_t" 1>&6
7782 if test $ac_cv_type_size_t = no
; then
7783 cat >> confdefs.h
<<\EOF
7784 #define size_t unsigned
7789 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
7790 echo "configure:7791: checking for uid_t in sys/types.h" >&5
7791 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
7792 echo $ac_n "(cached) $ac_c" 1>&6
7794 cat > conftest.
$ac_ext <<EOF
7795 #line 7796 "configure"
7796 #include "confdefs.h"
7797 #include <sys/types.h>
7799 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7800 egrep "uid_t" >/dev
/null
2>&1; then
7802 ac_cv_type_uid_t
=yes
7811 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
7812 if test $ac_cv_type_uid_t = no
; then
7813 cat >> confdefs.h
<<\EOF
7817 cat >> confdefs.h
<<\EOF
7826 echo $ac_n "checking for working const""... $ac_c" 1>&6
7827 echo "configure:7828: checking for working const" >&5
7828 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
7829 echo $ac_n "(cached) $ac_c" 1>&6
7831 cat > conftest.
$ac_ext <<EOF
7832 #line 7833 "configure"
7833 #include "confdefs.h"
7837 /* Ultrix mips cc rejects this. */
7838 typedef int charset[2]; const charset x;
7839 /* SunOS 4.1.1 cc rejects this. */
7840 char const *const *ccp;
7842 /* NEC SVR4.0.2 mips cc rejects this. */
7843 struct point {int x, y;};
7844 static struct point const zero = {0,0};
7845 /* AIX XL C 1.02.0.0 rejects this.
7846 It does not let you subtract one const X* pointer from another in an arm
7847 of an if-expression whose if-part is not a constant expression */
7848 const char *g = "string";
7849 ccp = &g + (g ? g-g : 0);
7850 /* HPUX 7.0 cc rejects these. */
7853 ccp = (char const *const *) p;
7854 { /* SCO 3.2v4 cc rejects this. */
7856 char const *s = 0 ? (char *) 0 : (char const *) 0;
7860 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
7862 const int *foo = &x[0];
7865 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
7866 typedef const int *iptr;
7870 { /* AIX XL C 1.02.0.0 rejects this saying
7871 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
7872 struct s { int j; const int *ap[3]; };
7873 struct s *b; b->j = 5;
7875 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
7881 if { (eval echo configure
:7882: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7885 echo "configure: failed program was:" >&5
7886 cat conftest.
$ac_ext >&5
7893 echo "$ac_t""$ac_cv_c_const" 1>&6
7894 if test $ac_cv_c_const = no
; then
7895 cat >> confdefs.h
<<\EOF
7901 echo $ac_n "checking for inline""... $ac_c" 1>&6
7902 echo "configure:7903: checking for inline" >&5
7903 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
7904 echo $ac_n "(cached) $ac_c" 1>&6
7907 for ac_kw
in inline __inline__ __inline
; do
7908 cat > conftest.
$ac_ext <<EOF
7909 #line 7910 "configure"
7910 #include "confdefs.h"
7916 if { (eval echo configure
:7917: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7918 ac_cv_c_inline
=$ac_kw; break
7920 echo "configure: failed program was:" >&5
7921 cat conftest.
$ac_ext >&5
7928 echo "$ac_t""$ac_cv_c_inline" 1>&6
7929 case "$ac_cv_c_inline" in
7931 no
) cat >> confdefs.h
<<\EOF
7935 *) cat >> confdefs.h
<<EOF
7936 #define inline $ac_cv_c_inline
7942 echo $ac_n "checking size of char""... $ac_c" 1>&6
7943 echo "configure:7944: checking size of char" >&5
7944 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
7945 echo $ac_n "(cached) $ac_c" 1>&6
7947 if test "$cross_compiling" = yes; then
7950 cat > conftest.
$ac_ext <<EOF
7951 #line 7952 "configure"
7952 #include "confdefs.h"
7956 FILE *f=fopen("conftestval", "w");
7958 fprintf(f, "%d\n", sizeof(char));
7962 if { (eval echo configure
:7963: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
7964 ac_cv_sizeof_char
=`cat conftestval`
7966 echo "configure: failed program was:" >&5
7967 cat conftest.
$ac_ext >&5
7975 echo "$ac_t""$ac_cv_sizeof_char" 1>&6
7976 cat >> confdefs.h
<<EOF
7977 #define SIZEOF_CHAR $ac_cv_sizeof_char
7981 echo $ac_n "checking size of short""... $ac_c" 1>&6
7982 echo "configure:7983: checking size of short" >&5
7983 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
7984 echo $ac_n "(cached) $ac_c" 1>&6
7986 if test "$cross_compiling" = yes; then
7987 ac_cv_sizeof_short
=2
7989 cat > conftest.
$ac_ext <<EOF
7990 #line 7991 "configure"
7991 #include "confdefs.h"
7995 FILE *f=fopen("conftestval", "w");
7997 fprintf(f, "%d\n", sizeof(short));
8001 if { (eval echo configure
:8002: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
8003 ac_cv_sizeof_short
=`cat conftestval`
8005 echo "configure: failed program was:" >&5
8006 cat conftest.
$ac_ext >&5
8008 ac_cv_sizeof_short
=0
8014 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
8015 cat >> confdefs.h
<<EOF
8016 #define SIZEOF_SHORT $ac_cv_sizeof_short
8020 echo $ac_n "checking size of int *""... $ac_c" 1>&6
8021 echo "configure:8022: checking size of int *" >&5
8022 if eval "test \"`echo '$''{'ac_cv_sizeof_int_p'+set}'`\" = set"; then
8023 echo $ac_n "(cached) $ac_c" 1>&6
8025 if test "$cross_compiling" = yes; then
8026 ac_cv_sizeof_int_p
=4
8028 cat > conftest.
$ac_ext <<EOF
8029 #line 8030 "configure"
8030 #include "confdefs.h"
8034 FILE *f=fopen("conftestval", "w");
8036 fprintf(f, "%d\n", sizeof(int *));
8040 if { (eval echo configure
:8041: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
8042 ac_cv_sizeof_int_p
=`cat conftestval`
8044 echo "configure: failed program was:" >&5
8045 cat conftest.
$ac_ext >&5
8047 ac_cv_sizeof_int_p
=0
8053 echo "$ac_t""$ac_cv_sizeof_int_p" 1>&6
8054 cat >> confdefs.h
<<EOF
8055 #define SIZEOF_INT_P $ac_cv_sizeof_int_p
8059 echo $ac_n "checking size of int""... $ac_c" 1>&6
8060 echo "configure:8061: checking size of int" >&5
8061 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
8062 echo $ac_n "(cached) $ac_c" 1>&6
8064 if test "$cross_compiling" = yes; then
8067 cat > conftest.
$ac_ext <<EOF
8068 #line 8069 "configure"
8069 #include "confdefs.h"
8073 FILE *f=fopen("conftestval", "w");
8075 fprintf(f, "%d\n", sizeof(int));
8079 if { (eval echo configure
:8080: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
8081 ac_cv_sizeof_int
=`cat conftestval`
8083 echo "configure: failed program was:" >&5
8084 cat conftest.
$ac_ext >&5
8092 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
8093 cat >> confdefs.h
<<EOF
8094 #define SIZEOF_INT $ac_cv_sizeof_int
8098 echo $ac_n "checking size of long""... $ac_c" 1>&6
8099 echo "configure:8100: checking size of long" >&5
8100 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
8101 echo $ac_n "(cached) $ac_c" 1>&6
8103 if test "$cross_compiling" = yes; then
8106 cat > conftest.
$ac_ext <<EOF
8107 #line 8108 "configure"
8108 #include "confdefs.h"
8112 FILE *f=fopen("conftestval", "w");
8114 fprintf(f, "%d\n", sizeof(long));
8118 if { (eval echo configure
:8119: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
8120 ac_cv_sizeof_long
=`cat conftestval`
8122 echo "configure: failed program was:" >&5
8123 cat conftest.
$ac_ext >&5
8131 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
8132 cat >> confdefs.h
<<EOF
8133 #define SIZEOF_LONG $ac_cv_sizeof_long
8137 echo $ac_n "checking size of long long""... $ac_c" 1>&6
8138 echo "configure:8139: checking size of long long" >&5
8139 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
8140 echo $ac_n "(cached) $ac_c" 1>&6
8142 if test "$cross_compiling" = yes; then
8143 ac_cv_sizeof_long_long
=0
8145 cat > conftest.
$ac_ext <<EOF
8146 #line 8147 "configure"
8147 #include "confdefs.h"
8151 FILE *f=fopen("conftestval", "w");
8153 fprintf(f, "%d\n", sizeof(long long));
8157 if { (eval echo configure
:8158: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
8159 ac_cv_sizeof_long_long
=`cat conftestval`
8161 echo "configure: failed program was:" >&5
8162 cat conftest.
$ac_ext >&5
8164 ac_cv_sizeof_long_long
=0
8170 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
8171 cat >> confdefs.h
<<EOF
8172 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
8177 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
8178 echo "configure:8179: checking whether byte ordering is bigendian" >&5
8179 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
8180 echo $ac_n "(cached) $ac_c" 1>&6
8182 ac_cv_c_bigendian
=unknown
8183 # See if sys/param.h defines the BYTE_ORDER macro.
8184 cat > conftest.
$ac_ext <<EOF
8185 #line 8186 "configure"
8186 #include "confdefs.h"
8187 #include <sys/types.h>
8188 #include <sys/param.h>
8191 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
8196 if { (eval echo configure
:8197: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8198 # It does; now see whether it defined to BIG_ENDIAN or not.
8199 cat > conftest.
$ac_ext <<EOF
8200 #line 8201 "configure"
8201 #include "confdefs.h"
8202 #include <sys/types.h>
8203 #include <sys/param.h>
8206 #if BYTE_ORDER != BIG_ENDIAN
8211 if { (eval echo configure
:8212: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8213 ac_cv_c_bigendian
=yes
8215 echo "configure: failed program was:" >&5
8216 cat conftest.
$ac_ext >&5
8218 ac_cv_c_bigendian
=no
8222 echo "configure: failed program was:" >&5
8223 cat conftest.
$ac_ext >&5
8226 if test $ac_cv_c_bigendian = unknown
; then
8227 if test "$cross_compiling" = yes; then
8228 ac_cv_c_bigendian
=unknown
8230 cat > conftest.
$ac_ext <<EOF
8231 #line 8232 "configure"
8232 #include "confdefs.h"
8234 /* Are we little or big endian? From Harbison&Steele. */
8238 char c[sizeof (long)];
8241 exit (u.c[sizeof (long) - 1] == 1);
8244 if { (eval echo configure
:8245: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
8246 ac_cv_c_bigendian
=no
8248 echo "configure: failed program was:" >&5
8249 cat conftest.
$ac_ext >&5
8251 ac_cv_c_bigendian
=yes
8259 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
8260 if test $ac_cv_c_bigendian = unknown
; then
8261 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
8263 if test $ac_cv_c_bigendian = yes; then
8264 cat >> confdefs.h
<<\EOF
8265 #define WORDS_BIGENDIAN 1
8272 if test "$cross_compiling" = "yes"; then
8273 cat >> confdefs.h
<<\EOF
8274 #define wxUSE_IOSTREAMH 1
8280 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8281 ac_cpp
='$CXXCPP $CPPFLAGS'
8282 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8283 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8284 cross_compiling
=$ac_cv_prog_cxx_cross
8287 for ac_hdr
in iostream
8289 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8290 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8291 echo "configure:8292: checking for $ac_hdr" >&5
8292 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8293 echo $ac_n "(cached) $ac_c" 1>&6
8295 cat > conftest.
$ac_ext <<EOF
8296 #line 8297 "configure"
8297 #include "confdefs.h"
8300 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8301 { (eval echo configure
:8302: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8302 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8303 if test -z "$ac_err"; then
8305 eval "ac_cv_header_$ac_safe=yes"
8308 echo "configure: failed program was:" >&5
8309 cat conftest.
$ac_ext >&5
8311 eval "ac_cv_header_$ac_safe=no"
8315 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8316 echo "$ac_t""yes" 1>&6
8317 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8318 cat >> confdefs.h
<<EOF
8319 #define $ac_tr_hdr 1
8323 echo "$ac_t""no" 1>&6
8328 if test "x$HAVE_IOSTREAM" = x
; then
8329 cat >> confdefs.h
<<\EOF
8330 #define wxUSE_IOSTREAMH 1
8338 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8339 ac_cpp
='$CPP $CPPFLAGS'
8340 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8341 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8342 cross_compiling
=$ac_cv_prog_cc_cross
8348 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
8349 echo "configure:8350: checking if C++ compiler supports bool" >&5
8350 if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
8351 echo $ac_n "(cached) $ac_c" 1>&6
8356 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8357 ac_cpp
='$CXXCPP $CPPFLAGS'
8358 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8359 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8360 cross_compiling
=$ac_cv_prog_cxx_cross
8363 cat > conftest.
$ac_ext <<EOF
8364 #line 8365 "configure"
8365 #include "confdefs.h"
8376 if { (eval echo configure
:8377: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8379 cat >> confdefs.h
<<\EOF
8386 echo "configure: failed program was:" >&5
8387 cat conftest.
$ac_ext >&5
8397 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8398 ac_cpp
='$CPP $CPPFLAGS'
8399 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8400 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8401 cross_compiling
=$ac_cv_prog_cc_cross
8406 echo "$ac_t""$wx_cv_cpp_bool" 1>&6
8408 if test "$wx_cv_cpp_bool" = "yes"; then
8409 cat >> confdefs.h
<<\EOF
8417 echo $ac_n "checking if you need GNU extensions""... $ac_c" 1>&6
8418 echo "configure:8419: checking if you need GNU extensions" >&5
8419 if eval "test \"`echo '$''{'wx_cv_gnu_extensions'+set}'`\" = set"; then
8420 echo $ac_n "(cached) $ac_c" 1>&6
8423 cat > conftest.
$ac_ext <<EOF
8424 #line 8425 "configure"
8425 #include "confdefs.h"
8426 #include <features.h>
8430 #ifndef __GNU_LIBRARY__
8431 Compile error wanted
8437 if { (eval echo configure
:8438: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8439 wx_cv_gnu_extensions
=yes
8441 echo "configure: failed program was:" >&5
8442 cat conftest.
$ac_ext >&5
8444 wx_cv_gnu_extensions
=no
8451 echo "$ac_t""$wx_cv_gnu_extensions" 1>&6
8452 if test "$wx_cv_gnu_extensions" = "yes"; then
8453 cat >> confdefs.h
<<EOF
8454 #define _GNU_SOURCE 1
8461 echo $ac_n "checking for wcslen in -lc""... $ac_c" 1>&6
8462 echo "configure:8463: checking for wcslen in -lc" >&5
8463 ac_lib_var
=`echo c'_'wcslen | sed 'y%./+-%__p_%'`
8464 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8465 echo $ac_n "(cached) $ac_c" 1>&6
8467 ac_save_LIBS
="$LIBS"
8469 cat > conftest.
$ac_ext <<EOF
8470 #line 8471 "configure"
8471 #include "confdefs.h"
8472 /* Override any gcc2 internal prototype to avoid an error. */
8473 /* We use char because int might match the return type of a gcc2
8474 builtin and then its argument prototype would still apply. */
8481 if { (eval echo configure
:8482: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8483 eval "ac_cv_lib_$ac_lib_var=yes"
8485 echo "configure: failed program was:" >&5
8486 cat conftest.
$ac_ext >&5
8488 eval "ac_cv_lib_$ac_lib_var=no"
8491 LIBS
="$ac_save_LIBS"
8494 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8495 echo "$ac_t""yes" 1>&6
8497 cat >> confdefs.h
<<\EOF
8498 #define HAVE_WCSLEN 1
8504 echo "$ac_t""no" 1>&6
8506 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
8507 echo "configure:8508: checking for wcslen in -lw" >&5
8508 ac_lib_var
=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
8509 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8510 echo $ac_n "(cached) $ac_c" 1>&6
8512 ac_save_LIBS
="$LIBS"
8514 cat > conftest.
$ac_ext <<EOF
8515 #line 8516 "configure"
8516 #include "confdefs.h"
8517 /* Override any gcc2 internal prototype to avoid an error. */
8518 /* We use char because int might match the return type of a gcc2
8519 builtin and then its argument prototype would still apply. */
8526 if { (eval echo configure
:8527: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8528 eval "ac_cv_lib_$ac_lib_var=yes"
8530 echo "configure: failed program was:" >&5
8531 cat conftest.
$ac_ext >&5
8533 eval "ac_cv_lib_$ac_lib_var=no"
8536 LIBS
="$ac_save_LIBS"
8539 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8540 echo "$ac_t""yes" 1>&6
8542 cat >> confdefs.h
<<\EOF
8543 #define HAVE_WCSLEN 1
8549 echo "$ac_t""no" 1>&6
8556 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
8557 echo "configure:8558: checking for vprintf" >&5
8558 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
8559 echo $ac_n "(cached) $ac_c" 1>&6
8561 cat > conftest.
$ac_ext <<EOF
8562 #line 8563 "configure"
8563 #include "confdefs.h"
8564 /* System header to define __stub macros and hopefully few prototypes,
8565 which can conflict with char vprintf(); below. */
8567 /* Override any gcc2 internal prototype to avoid an error. */
8568 /* We use char because int might match the return type of a gcc2
8569 builtin and then its argument prototype would still apply. */
8574 /* The GNU C library defines this for functions which it implements
8575 to always fail with ENOSYS. Some functions are actually named
8576 something starting with __ and the normal name is an alias. */
8577 #if defined (__stub_vprintf) || defined (__stub___vprintf)
8585 if { (eval echo configure
:8586: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8587 eval "ac_cv_func_vprintf=yes"
8589 echo "configure: failed program was:" >&5
8590 cat conftest.
$ac_ext >&5
8592 eval "ac_cv_func_vprintf=no"
8597 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
8598 echo "$ac_t""yes" 1>&6
8599 cat >> confdefs.h
<<\EOF
8600 #define HAVE_VPRINTF 1
8604 echo "$ac_t""no" 1>&6
8607 if test "$ac_cv_func_vprintf" != yes; then
8608 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
8609 echo "configure:8610: checking for _doprnt" >&5
8610 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
8611 echo $ac_n "(cached) $ac_c" 1>&6
8613 cat > conftest.
$ac_ext <<EOF
8614 #line 8615 "configure"
8615 #include "confdefs.h"
8616 /* System header to define __stub macros and hopefully few prototypes,
8617 which can conflict with char _doprnt(); below. */
8619 /* Override any gcc2 internal prototype to avoid an error. */
8620 /* We use char because int might match the return type of a gcc2
8621 builtin and then its argument prototype would still apply. */
8626 /* The GNU C library defines this for functions which it implements
8627 to always fail with ENOSYS. Some functions are actually named
8628 something starting with __ and the normal name is an alias. */
8629 #if defined (__stub__doprnt) || defined (__stub____doprnt)
8637 if { (eval echo configure
:8638: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8639 eval "ac_cv_func__doprnt=yes"
8641 echo "configure: failed program was:" >&5
8642 cat conftest.
$ac_ext >&5
8644 eval "ac_cv_func__doprnt=no"
8649 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
8650 echo "$ac_t""yes" 1>&6
8651 cat >> confdefs.h
<<\EOF
8652 #define HAVE_DOPRNT 1
8656 echo "$ac_t""no" 1>&6
8662 for ac_func
in vsnprintf
8664 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8665 echo "configure:8666: checking for $ac_func" >&5
8666 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8667 echo $ac_n "(cached) $ac_c" 1>&6
8669 cat > conftest.
$ac_ext <<EOF
8670 #line 8671 "configure"
8671 #include "confdefs.h"
8672 /* System header to define __stub macros and hopefully few prototypes,
8673 which can conflict with char $ac_func(); below. */
8675 /* Override any gcc2 internal prototype to avoid an error. */
8676 /* We use char because int might match the return type of a gcc2
8677 builtin and then its argument prototype would still apply. */
8682 /* The GNU C library defines this for functions which it implements
8683 to always fail with ENOSYS. Some functions are actually named
8684 something starting with __ and the normal name is an alias. */
8685 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8693 if { (eval echo configure
:8694: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8695 eval "ac_cv_func_$ac_func=yes"
8697 echo "configure: failed program was:" >&5
8698 cat conftest.
$ac_ext >&5
8700 eval "ac_cv_func_$ac_func=no"
8705 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8706 echo "$ac_t""yes" 1>&6
8707 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8708 cat >> confdefs.h
<<EOF
8709 #define $ac_tr_func 1
8711 cat >> confdefs.h
<<\EOF
8712 #define HAVE_VSNPRINTF 1
8716 echo "$ac_t""no" 1>&6
8717 echo "configure: warning: unsafe function sprintf will be used instead of snprintf" 1>&2
8725 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8726 ac_cpp
='$CXXCPP $CPPFLAGS'
8727 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8728 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8729 cross_compiling
=$ac_cv_prog_cxx_cross
8732 echo $ac_n "checking for vsscanf""... $ac_c" 1>&6
8733 echo "configure:8734: checking for vsscanf" >&5
8734 if eval "test \"`echo '$''{'wx_cv_func_vsscanf'+set}'`\" = set"; then
8735 echo $ac_n "(cached) $ac_c" 1>&6
8738 if test "$cross_compiling" = yes; then
8739 wx_cv_func_vsscanf
=no
8742 cat > conftest.
$ac_ext <<EOF
8743 #line 8744 "configure"
8744 #include "confdefs.h"
8746 extern "C" void exit(int);
8752 int try_vsscanf(const char *format, ...)
8755 va_start(ap, format);
8757 vsscanf("17", format, ap);
8765 try_vsscanf("%d", &i);
8766 return i == 17 ? 0 : 1;
8770 if { (eval echo configure
:8771: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
8773 cat >> confdefs.h
<<\EOF
8774 #define HAVE_VSSCANF 1
8777 wx_cv_func_vsscanf
=yes
8780 echo "configure: failed program was:" >&5
8781 cat conftest.
$ac_ext >&5
8783 wx_cv_func_vsscanf
=no
8791 echo "$ac_t""$wx_cv_func_vsscanf" 1>&6
8794 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8795 ac_cpp
='$CPP $CPPFLAGS'
8796 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8797 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8798 cross_compiling
=$ac_cv_prog_cc_cross
8801 if test "$USE_UNIX" = 1; then
8803 for ac_func
in vfork
8805 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8806 echo "configure:8807: checking for $ac_func" >&5
8807 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8808 echo $ac_n "(cached) $ac_c" 1>&6
8810 cat > conftest.
$ac_ext <<EOF
8811 #line 8812 "configure"
8812 #include "confdefs.h"
8813 /* System header to define __stub macros and hopefully few prototypes,
8814 which can conflict with char $ac_func(); below. */
8816 /* Override any gcc2 internal prototype to avoid an error. */
8817 /* We use char because int might match the return type of a gcc2
8818 builtin and then its argument prototype would still apply. */
8823 /* The GNU C library defines this for functions which it implements
8824 to always fail with ENOSYS. Some functions are actually named
8825 something starting with __ and the normal name is an alias. */
8826 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8834 if { (eval echo configure
:8835: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8836 eval "ac_cv_func_$ac_func=yes"
8838 echo "configure: failed program was:" >&5
8839 cat conftest.
$ac_ext >&5
8841 eval "ac_cv_func_$ac_func=no"
8846 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8847 echo "$ac_t""yes" 1>&6
8848 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8849 cat >> confdefs.h
<<EOF
8850 #define $ac_tr_func 1
8854 echo "$ac_t""no" 1>&6
8860 for ac_func
in nanosleep
8862 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8863 echo "configure:8864: checking for $ac_func" >&5
8864 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8865 echo $ac_n "(cached) $ac_c" 1>&6
8867 cat > conftest.
$ac_ext <<EOF
8868 #line 8869 "configure"
8869 #include "confdefs.h"
8870 /* System header to define __stub macros and hopefully few prototypes,
8871 which can conflict with char $ac_func(); below. */
8873 /* Override any gcc2 internal prototype to avoid an error. */
8874 /* We use char because int might match the return type of a gcc2
8875 builtin and then its argument prototype would still apply. */
8880 /* The GNU C library defines this for functions which it implements
8881 to always fail with ENOSYS. Some functions are actually named
8882 something starting with __ and the normal name is an alias. */
8883 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8891 if { (eval echo configure
:8892: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8893 eval "ac_cv_func_$ac_func=yes"
8895 echo "configure: failed program was:" >&5
8896 cat conftest.
$ac_ext >&5
8898 eval "ac_cv_func_$ac_func=no"
8903 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8904 echo "$ac_t""yes" 1>&6
8905 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8906 cat >> confdefs.h
<<EOF
8907 #define $ac_tr_func 1
8909 cat >> confdefs.h
<<\EOF
8910 #define HAVE_NANOSLEEP 1
8914 echo "$ac_t""no" 1>&6
8915 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
8916 echo "configure:8917: checking for nanosleep in -lposix4" >&5
8917 ac_lib_var
=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
8918 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8919 echo $ac_n "(cached) $ac_c" 1>&6
8921 ac_save_LIBS
="$LIBS"
8922 LIBS
="-lposix4 $LIBS"
8923 cat > conftest.
$ac_ext <<EOF
8924 #line 8925 "configure"
8925 #include "confdefs.h"
8926 /* Override any gcc2 internal prototype to avoid an error. */
8927 /* We use char because int might match the return type of a gcc2
8928 builtin and then its argument prototype would still apply. */
8935 if { (eval echo configure
:8936: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8937 eval "ac_cv_lib_$ac_lib_var=yes"
8939 echo "configure: failed program was:" >&5
8940 cat conftest.
$ac_ext >&5
8942 eval "ac_cv_lib_$ac_lib_var=no"
8945 LIBS
="$ac_save_LIBS"
8948 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8949 echo "$ac_t""yes" 1>&6
8951 cat >> confdefs.h
<<\EOF
8952 #define HAVE_NANOSLEEP 1
8955 POSIX4_LINK
="-lposix4"
8958 echo "$ac_t""no" 1>&6
8960 for ac_func
in usleep
8962 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8963 echo "configure:8964: checking for $ac_func" >&5
8964 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8965 echo $ac_n "(cached) $ac_c" 1>&6
8967 cat > conftest.
$ac_ext <<EOF
8968 #line 8969 "configure"
8969 #include "confdefs.h"
8970 /* System header to define __stub macros and hopefully few prototypes,
8971 which can conflict with char $ac_func(); below. */
8973 /* Override any gcc2 internal prototype to avoid an error. */
8974 /* We use char because int might match the return type of a gcc2
8975 builtin and then its argument prototype would still apply. */
8980 /* The GNU C library defines this for functions which it implements
8981 to always fail with ENOSYS. Some functions are actually named
8982 something starting with __ and the normal name is an alias. */
8983 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8991 if { (eval echo configure
:8992: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8993 eval "ac_cv_func_$ac_func=yes"
8995 echo "configure: failed program was:" >&5
8996 cat conftest.
$ac_ext >&5
8998 eval "ac_cv_func_$ac_func=no"
9003 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9004 echo "$ac_t""yes" 1>&6
9005 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9006 cat >> confdefs.h
<<EOF
9007 #define $ac_tr_func 1
9009 cat >> confdefs.h
<<\EOF
9010 #define HAVE_USLEEP 1
9014 echo "$ac_t""no" 1>&6
9015 echo "configure: warning: wxSleep() function will not work" 1>&2
9027 for ac_func
in uname gethostname
9029 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9030 echo "configure:9031: checking for $ac_func" >&5
9031 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9032 echo $ac_n "(cached) $ac_c" 1>&6
9034 cat > conftest.
$ac_ext <<EOF
9035 #line 9036 "configure"
9036 #include "confdefs.h"
9037 /* System header to define __stub macros and hopefully few prototypes,
9038 which can conflict with char $ac_func(); below. */
9040 /* Override any gcc2 internal prototype to avoid an error. */
9041 /* We use char because int might match the return type of a gcc2
9042 builtin and then its argument prototype would still apply. */
9047 /* The GNU C library defines this for functions which it implements
9048 to always fail with ENOSYS. Some functions are actually named
9049 something starting with __ and the normal name is an alias. */
9050 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9058 if { (eval echo configure
:9059: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9060 eval "ac_cv_func_$ac_func=yes"
9062 echo "configure: failed program was:" >&5
9063 cat conftest.
$ac_ext >&5
9065 eval "ac_cv_func_$ac_func=no"
9070 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9071 echo "$ac_t""yes" 1>&6
9072 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9073 cat >> confdefs.h
<<EOF
9074 #define $ac_tr_func 1
9078 echo "$ac_t""no" 1>&6
9083 for ac_func
in strtok_r
9085 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9086 echo "configure:9087: checking for $ac_func" >&5
9087 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9088 echo $ac_n "(cached) $ac_c" 1>&6
9090 cat > conftest.
$ac_ext <<EOF
9091 #line 9092 "configure"
9092 #include "confdefs.h"
9093 /* System header to define __stub macros and hopefully few prototypes,
9094 which can conflict with char $ac_func(); below. */
9096 /* Override any gcc2 internal prototype to avoid an error. */
9097 /* We use char because int might match the return type of a gcc2
9098 builtin and then its argument prototype would still apply. */
9103 /* The GNU C library defines this for functions which it implements
9104 to always fail with ENOSYS. Some functions are actually named
9105 something starting with __ and the normal name is an alias. */
9106 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9114 if { (eval echo configure
:9115: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9116 eval "ac_cv_func_$ac_func=yes"
9118 echo "configure: failed program was:" >&5
9119 cat conftest.
$ac_ext >&5
9121 eval "ac_cv_func_$ac_func=no"
9126 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9127 echo "$ac_t""yes" 1>&6
9128 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9129 cat >> confdefs.h
<<EOF
9130 #define $ac_tr_func 1
9134 echo "$ac_t""no" 1>&6
9140 for ac_func
in inet_addr
9142 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9143 echo "configure:9144: checking for $ac_func" >&5
9144 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9145 echo $ac_n "(cached) $ac_c" 1>&6
9147 cat > conftest.
$ac_ext <<EOF
9148 #line 9149 "configure"
9149 #include "confdefs.h"
9150 /* System header to define __stub macros and hopefully few prototypes,
9151 which can conflict with char $ac_func(); below. */
9153 /* Override any gcc2 internal prototype to avoid an error. */
9154 /* We use char because int might match the return type of a gcc2
9155 builtin and then its argument prototype would still apply. */
9160 /* The GNU C library defines this for functions which it implements
9161 to always fail with ENOSYS. Some functions are actually named
9162 something starting with __ and the normal name is an alias. */
9163 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9171 if { (eval echo configure
:9172: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9173 eval "ac_cv_func_$ac_func=yes"
9175 echo "configure: failed program was:" >&5
9176 cat conftest.
$ac_ext >&5
9178 eval "ac_cv_func_$ac_func=no"
9183 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9184 echo "$ac_t""yes" 1>&6
9185 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9186 cat >> confdefs.h
<<EOF
9187 #define $ac_tr_func 1
9189 cat >> confdefs.h
<<\EOF
9190 #define HAVE_INET_ADDR 1
9194 echo "$ac_t""no" 1>&6
9195 echo $ac_n "checking for inet_addr in -lnsl""... $ac_c" 1>&6
9196 echo "configure:9197: checking for inet_addr in -lnsl" >&5
9197 ac_lib_var
=`echo nsl'_'inet_addr | sed 'y%./+-%__p_%'`
9198 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9199 echo $ac_n "(cached) $ac_c" 1>&6
9201 ac_save_LIBS
="$LIBS"
9203 cat > conftest.
$ac_ext <<EOF
9204 #line 9205 "configure"
9205 #include "confdefs.h"
9206 /* Override any gcc2 internal prototype to avoid an error. */
9207 /* We use char because int might match the return type of a gcc2
9208 builtin and then its argument prototype would still apply. */
9215 if { (eval echo configure
:9216: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9217 eval "ac_cv_lib_$ac_lib_var=yes"
9219 echo "configure: failed program was:" >&5
9220 cat conftest.
$ac_ext >&5
9222 eval "ac_cv_lib_$ac_lib_var=no"
9225 LIBS
="$ac_save_LIBS"
9228 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9229 echo "$ac_t""yes" 1>&6
9232 echo "$ac_t""no" 1>&6
9233 echo $ac_n "checking for inet_addr in -lresolv""... $ac_c" 1>&6
9234 echo "configure:9235: checking for inet_addr in -lresolv" >&5
9235 ac_lib_var
=`echo resolv'_'inet_addr | sed 'y%./+-%__p_%'`
9236 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9237 echo $ac_n "(cached) $ac_c" 1>&6
9239 ac_save_LIBS
="$LIBS"
9240 LIBS
="-lresolv $LIBS"
9241 cat > conftest.
$ac_ext <<EOF
9242 #line 9243 "configure"
9243 #include "confdefs.h"
9244 /* Override any gcc2 internal prototype to avoid an error. */
9245 /* We use char because int might match the return type of a gcc2
9246 builtin and then its argument prototype would still apply. */
9253 if { (eval echo configure
:9254: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9255 eval "ac_cv_lib_$ac_lib_var=yes"
9257 echo "configure: failed program was:" >&5
9258 cat conftest.
$ac_ext >&5
9260 eval "ac_cv_lib_$ac_lib_var=no"
9263 LIBS
="$ac_save_LIBS"
9266 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9267 echo "$ac_t""yes" 1>&6
9271 echo "$ac_t""no" 1>&6
9283 for ac_func
in inet_aton
9285 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9286 echo "configure:9287: checking for $ac_func" >&5
9287 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9288 echo $ac_n "(cached) $ac_c" 1>&6
9290 cat > conftest.
$ac_ext <<EOF
9291 #line 9292 "configure"
9292 #include "confdefs.h"
9293 /* System header to define __stub macros and hopefully few prototypes,
9294 which can conflict with char $ac_func(); below. */
9296 /* Override any gcc2 internal prototype to avoid an error. */
9297 /* We use char because int might match the return type of a gcc2
9298 builtin and then its argument prototype would still apply. */
9303 /* The GNU C library defines this for functions which it implements
9304 to always fail with ENOSYS. Some functions are actually named
9305 something starting with __ and the normal name is an alias. */
9306 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9314 if { (eval echo configure
:9315: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9316 eval "ac_cv_func_$ac_func=yes"
9318 echo "configure: failed program was:" >&5
9319 cat conftest.
$ac_ext >&5
9321 eval "ac_cv_func_$ac_func=no"
9326 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9327 echo "$ac_t""yes" 1>&6
9328 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9329 cat >> confdefs.h
<<EOF
9330 #define $ac_tr_func 1
9332 cat >> confdefs.h
<<\EOF
9333 #define HAVE_INET_ATON 1
9337 echo "$ac_t""no" 1>&6
9338 echo $ac_n "checking for inet_aton in -l$INET_LINK""... $ac_c" 1>&6
9339 echo "configure:9340: checking for inet_aton in -l$INET_LINK" >&5
9340 ac_lib_var
=`echo $INET_LINK'_'inet_aton | sed 'y%./+-%__p_%'`
9341 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9342 echo $ac_n "(cached) $ac_c" 1>&6
9344 ac_save_LIBS
="$LIBS"
9345 LIBS
="-l$INET_LINK $LIBS"
9346 cat > conftest.
$ac_ext <<EOF
9347 #line 9348 "configure"
9348 #include "confdefs.h"
9349 /* Override any gcc2 internal prototype to avoid an error. */
9350 /* We use char because int might match the return type of a gcc2
9351 builtin and then its argument prototype would still apply. */
9358 if { (eval echo configure
:9359: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9360 eval "ac_cv_lib_$ac_lib_var=yes"
9362 echo "configure: failed program was:" >&5
9363 cat conftest.
$ac_ext >&5
9365 eval "ac_cv_lib_$ac_lib_var=no"
9368 LIBS
="$ac_save_LIBS"
9371 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9372 echo "$ac_t""yes" 1>&6
9373 cat >> confdefs.h
<<\EOF
9374 #define HAVE_INET_ATON 1
9378 echo "$ac_t""no" 1>&6
9386 if test "x$INET_LINK" != "x"; then
9387 cat >> confdefs.h
<<\EOF
9388 #define HAVE_INET_ADDR 1
9391 INET_LINK
="-l$INET_LINK"
9397 cat > confcache
<<\EOF
9398 # This file is a shell script that caches the results of configure
9399 # tests run on this system so they can be shared between configure
9400 # scripts and configure runs. It is not useful on other systems.
9401 # If it contains results you don't want to keep, you may remove or edit it.
9403 # By default, configure uses ./config.cache as the cache file,
9404 # creating it if it does not exist already. You can give configure
9405 # the --cache-file=FILE option to use a different cache file; that is
9406 # what configure does when it calls configure scripts in
9407 # subdirectories, so they share the cache.
9408 # Giving --cache-file=/dev/null disables caching, for debugging configure.
9409 # config.status only pays attention to the cache file if you give it the
9410 # --recheck option to rerun configure.
9413 # The following way of writing the cache mishandles newlines in values,
9414 # but we know of no workaround that is simple, portable, and efficient.
9415 # So, don't put newlines in cache variables' values.
9416 # Ultrix sh set writes to stderr and can't be redirected directly,
9417 # and sets the high bit in the cache file unless we assign to the vars.
9419 case `(ac_space=' '; set | grep ac_space) 2>&1` in
9421 # `set' does not quote correctly, so add quotes (double-quote substitution
9422 # turns \\\\ into \\, and sed turns \\ into \).
9424 -e "s/'/'\\\\''/g" \
9425 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
9428 # `set' quotes correctly as required by POSIX, so do not add quotes.
9429 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
9432 if cmp -s $cache_file confcache
; then
9435 if test -w $cache_file; then
9436 echo "updating cache $cache_file"
9437 cat confcache
> $cache_file
9439 echo "not updating unwritable cache $cache_file"
9446 if test "$USE_UNIX" = 1; then
9452 if test "$wxUSE_THREADS" = "yes" ; then
9453 if test "$wxUSE_WINE" = 1 ; then
9454 echo "configure: warning: Threads are not supported under WINE" 1>&2
9459 if test "$wxUSE_THREADS" = "yes" ; then
9461 echo $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6
9462 echo "configure:9463: checking for pthread_create in -lpthread" >&5
9463 ac_lib_var
=`echo pthread'_'pthread_create | sed 'y%./+-%__p_%'`
9464 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9465 echo $ac_n "(cached) $ac_c" 1>&6
9467 ac_save_LIBS
="$LIBS"
9468 LIBS
="-lpthread $LIBS"
9469 cat > conftest.
$ac_ext <<EOF
9470 #line 9471 "configure"
9471 #include "confdefs.h"
9472 /* Override any gcc2 internal prototype to avoid an error. */
9473 /* We use char because int might match the return type of a gcc2
9474 builtin and then its argument prototype would still apply. */
9475 char pthread_create();
9481 if { (eval echo configure
:9482: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9483 eval "ac_cv_lib_$ac_lib_var=yes"
9485 echo "configure: failed program was:" >&5
9486 cat conftest.
$ac_ext >&5
9488 eval "ac_cv_lib_$ac_lib_var=no"
9491 LIBS
="$ac_save_LIBS"
9494 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9495 echo "$ac_t""yes" 1>&6
9497 THREADS_OBJ
="threadpsx.lo"
9498 THREADS_LINK
="pthread"
9501 echo "$ac_t""no" 1>&6
9503 echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
9504 echo "configure:9505: checking for pthread_create in -lc_r" >&5
9505 ac_lib_var
=`echo c_r'_'pthread_create | sed 'y%./+-%__p_%'`
9506 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9507 echo $ac_n "(cached) $ac_c" 1>&6
9509 ac_save_LIBS
="$LIBS"
9511 cat > conftest.
$ac_ext <<EOF
9512 #line 9513 "configure"
9513 #include "confdefs.h"
9514 /* Override any gcc2 internal prototype to avoid an error. */
9515 /* We use char because int might match the return type of a gcc2
9516 builtin and then its argument prototype would still apply. */
9517 char pthread_create();
9523 if { (eval echo configure
:9524: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9525 eval "ac_cv_lib_$ac_lib_var=yes"
9527 echo "configure: failed program was:" >&5
9528 cat conftest.
$ac_ext >&5
9530 eval "ac_cv_lib_$ac_lib_var=no"
9533 LIBS
="$ac_save_LIBS"
9536 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9537 echo "$ac_t""yes" 1>&6
9539 THREADS_OBJ
="threadpsx.lo"
9543 echo "$ac_t""no" 1>&6
9545 ac_safe
=`echo "sys/prctl.h" | sed 'y%./+-%__p_%'`
9546 echo $ac_n "checking for sys/prctl.h""... $ac_c" 1>&6
9547 echo "configure:9548: checking for sys/prctl.h" >&5
9548 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9549 echo $ac_n "(cached) $ac_c" 1>&6
9551 cat > conftest.
$ac_ext <<EOF
9552 #line 9553 "configure"
9553 #include "confdefs.h"
9554 #include <sys/prctl.h>
9556 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9557 { (eval echo configure
:9558: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9558 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9559 if test -z "$ac_err"; then
9561 eval "ac_cv_header_$ac_safe=yes"
9564 echo "configure: failed program was:" >&5
9565 cat conftest.
$ac_ext >&5
9567 eval "ac_cv_header_$ac_safe=no"
9571 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9572 echo "$ac_t""yes" 1>&6
9574 THREADS_OBJ
="threadsgi.lo"
9577 echo "$ac_t""no" 1>&6
9587 if test -z "$THREADS_OBJ" ; then
9589 echo "configure: warning: No thread support on this system" 1>&2
9593 if test "$wxUSE_THREADS" = "yes" ; then
9595 for ac_hdr
in sched.h
9597 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9598 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9599 echo "configure:9600: checking for $ac_hdr" >&5
9600 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9601 echo $ac_n "(cached) $ac_c" 1>&6
9603 cat > conftest.
$ac_ext <<EOF
9604 #line 9605 "configure"
9605 #include "confdefs.h"
9608 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9609 { (eval echo configure
:9610: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9610 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9611 if test -z "$ac_err"; then
9613 eval "ac_cv_header_$ac_safe=yes"
9616 echo "configure: failed program was:" >&5
9617 cat conftest.
$ac_ext >&5
9619 eval "ac_cv_header_$ac_safe=no"
9623 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9624 echo "$ac_t""yes" 1>&6
9625 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9626 cat >> confdefs.h
<<EOF
9627 #define $ac_tr_hdr 1
9631 echo "$ac_t""no" 1>&6
9636 echo $ac_n "checking for sched_yield in -l$THREADS_LINK""... $ac_c" 1>&6
9637 echo "configure:9638: checking for sched_yield in -l$THREADS_LINK" >&5
9638 ac_lib_var
=`echo $THREADS_LINK'_'sched_yield | sed 'y%./+-%__p_%'`
9639 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9640 echo $ac_n "(cached) $ac_c" 1>&6
9642 ac_save_LIBS
="$LIBS"
9643 LIBS
="-l$THREADS_LINK $LIBS"
9644 cat > conftest.
$ac_ext <<EOF
9645 #line 9646 "configure"
9646 #include "confdefs.h"
9647 /* Override any gcc2 internal prototype to avoid an error. */
9648 /* We use char because int might match the return type of a gcc2
9649 builtin and then its argument prototype would still apply. */
9656 if { (eval echo configure
:9657: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9658 eval "ac_cv_lib_$ac_lib_var=yes"
9660 echo "configure: failed program was:" >&5
9661 cat conftest.
$ac_ext >&5
9663 eval "ac_cv_lib_$ac_lib_var=no"
9666 LIBS
="$ac_save_LIBS"
9669 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9670 echo "$ac_t""yes" 1>&6
9671 cat >> confdefs.h
<<\EOF
9672 #define HAVE_SCHED_YIELD 1
9676 echo "$ac_t""no" 1>&6
9677 echo $ac_n "checking for sched_yield in -l"posix4
"""... $ac_c" 1>&6
9678 echo "configure:9679: checking for sched_yield in -l"posix4
"" >&5
9679 ac_lib_var
=`echo "posix4"'_'sched_yield | sed 'y%./+-%__p_%'`
9680 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9681 echo $ac_n "(cached) $ac_c" 1>&6
9683 ac_save_LIBS
="$LIBS"
9684 LIBS
="-l"posix4
" $LIBS"
9685 cat > conftest.
$ac_ext <<EOF
9686 #line 9687 "configure"
9687 #include "confdefs.h"
9688 /* Override any gcc2 internal prototype to avoid an error. */
9689 /* We use char because int might match the return type of a gcc2
9690 builtin and then its argument prototype would still apply. */
9697 if { (eval echo configure
:9698: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9699 eval "ac_cv_lib_$ac_lib_var=yes"
9701 echo "configure: failed program was:" >&5
9702 cat conftest.
$ac_ext >&5
9704 eval "ac_cv_lib_$ac_lib_var=no"
9707 LIBS
="$ac_save_LIBS"
9710 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9711 echo "$ac_t""yes" 1>&6
9712 cat >> confdefs.h
<<\EOF
9713 #define HAVE_SCHED_YIELD 1
9715 POSIX4_LINK
="-lposix4"
9717 echo "$ac_t""no" 1>&6
9718 echo "configure: warning: wxThread::Yield will not work properly" 1>&2
9726 echo $ac_n "checking for pthread_attr_getschedpolicy in -l$THREADS_LINK""... $ac_c" 1>&6
9727 echo "configure:9728: checking for pthread_attr_getschedpolicy in -l$THREADS_LINK" >&5
9728 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
9729 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9730 echo $ac_n "(cached) $ac_c" 1>&6
9732 ac_save_LIBS
="$LIBS"
9733 LIBS
="-l$THREADS_LINK $LIBS"
9734 cat > conftest.
$ac_ext <<EOF
9735 #line 9736 "configure"
9736 #include "confdefs.h"
9737 /* Override any gcc2 internal prototype to avoid an error. */
9738 /* We use char because int might match the return type of a gcc2
9739 builtin and then its argument prototype would still apply. */
9740 char pthread_attr_getschedpolicy();
9743 pthread_attr_getschedpolicy()
9746 if { (eval echo configure
:9747: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9748 eval "ac_cv_lib_$ac_lib_var=yes"
9750 echo "configure: failed program was:" >&5
9751 cat conftest.
$ac_ext >&5
9753 eval "ac_cv_lib_$ac_lib_var=no"
9756 LIBS
="$ac_save_LIBS"
9759 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9760 echo "$ac_t""yes" 1>&6
9761 cat >> confdefs.h
<<\EOF
9762 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
9766 echo "$ac_t""no" 1>&6
9767 echo $ac_n "checking for pthread_attr_getschedpolicy in -l"posix4
"""... $ac_c" 1>&6
9768 echo "configure:9769: checking for pthread_attr_getschedpolicy in -l"posix4
"" >&5
9769 ac_lib_var
=`echo "posix4"'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
9770 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9771 echo $ac_n "(cached) $ac_c" 1>&6
9773 ac_save_LIBS
="$LIBS"
9774 LIBS
="-l"posix4
" $LIBS"
9775 cat > conftest.
$ac_ext <<EOF
9776 #line 9777 "configure"
9777 #include "confdefs.h"
9778 /* Override any gcc2 internal prototype to avoid an error. */
9779 /* We use char because int might match the return type of a gcc2
9780 builtin and then its argument prototype would still apply. */
9781 char pthread_attr_getschedpolicy();
9784 pthread_attr_getschedpolicy()
9787 if { (eval echo configure
:9788: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9789 eval "ac_cv_lib_$ac_lib_var=yes"
9791 echo "configure: failed program was:" >&5
9792 cat conftest.
$ac_ext >&5
9794 eval "ac_cv_lib_$ac_lib_var=no"
9797 LIBS
="$ac_save_LIBS"
9800 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9801 echo "$ac_t""yes" 1>&6
9802 cat >> confdefs.h
<<\EOF
9803 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
9805 POSIX4_LINK
="-lposix4"
9807 echo "$ac_t""no" 1>&6
9808 echo "configure: warning: Setting thread priority will not work" 1>&2
9816 echo $ac_n "checking for pthread_cancel in -l$THREADS_LINK""... $ac_c" 1>&6
9817 echo "configure:9818: checking for pthread_cancel in -l$THREADS_LINK" >&5
9818 ac_lib_var
=`echo $THREADS_LINK'_'pthread_cancel | sed 'y%./+-%__p_%'`
9819 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9820 echo $ac_n "(cached) $ac_c" 1>&6
9822 ac_save_LIBS
="$LIBS"
9823 LIBS
="-l$THREADS_LINK $LIBS"
9824 cat > conftest.
$ac_ext <<EOF
9825 #line 9826 "configure"
9826 #include "confdefs.h"
9827 /* Override any gcc2 internal prototype to avoid an error. */
9828 /* We use char because int might match the return type of a gcc2
9829 builtin and then its argument prototype would still apply. */
9830 char pthread_cancel();
9836 if { (eval echo configure
:9837: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9838 eval "ac_cv_lib_$ac_lib_var=yes"
9840 echo "configure: failed program was:" >&5
9841 cat conftest.
$ac_ext >&5
9843 eval "ac_cv_lib_$ac_lib_var=no"
9846 LIBS
="$ac_save_LIBS"
9849 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9850 echo "$ac_t""yes" 1>&6
9851 cat >> confdefs.h
<<\EOF
9852 #define HAVE_PTHREAD_CANCEL 1
9856 echo "$ac_t""no" 1>&6
9857 echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
9861 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
9862 echo "configure:9863: checking for pthread_cleanup_push/pop" >&5
9863 if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
9864 echo $ac_n "(cached) $ac_c" 1>&6
9867 cat > conftest.
$ac_ext <<EOF
9868 #line 9869 "configure"
9869 #include "confdefs.h"
9870 #include <pthread.h>
9873 pthread_cleanup_push(NULL, NULL);
9874 pthread_cleanup_pop(0);
9878 if { (eval echo configure
:9879: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9881 wx_cv_func_pthread_cleanup_push
=yes
9882 cat >> confdefs.h
<<\EOF
9883 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
9888 echo "configure: failed program was:" >&5
9889 cat conftest.
$ac_ext >&5
9892 wx_cv_func_pthread_cleanup_push
=no
9899 echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
9901 THREADS_LINK
="-l$THREADS_LINK"
9906 if test "$wxUSE_THREADS" = "yes"; then
9907 cat >> confdefs.h
<<\EOF
9908 #define wxUSE_THREADS 1
9912 CFLAGS
="${CFLAGS} -D_REENTRANT"
9913 CXXFLAGS
="${CXXFLAGS} -D_REENTRANT"
9915 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
9917 if test "$ac_cv_func_strtok_r" = "yes"; then
9918 unset ac_cv_func_strtok_r
9921 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9922 ac_cpp
='$CXXCPP $CPPFLAGS'
9923 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9924 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9925 cross_compiling
=$ac_cv_prog_cxx_cross
9927 for ac_func
in strtok_r
9929 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9930 echo "configure:9931: checking for $ac_func" >&5
9931 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9932 echo $ac_n "(cached) $ac_c" 1>&6
9934 cat > conftest.
$ac_ext <<EOF
9935 #line 9936 "configure"
9936 #include "confdefs.h"
9937 /* System header to define __stub macros and hopefully few prototypes,
9938 which can conflict with char $ac_func(); below. */
9940 /* Override any gcc2 internal prototype to avoid an error. */
9944 /* We use char because int might match the return type of a gcc2
9945 builtin and then its argument prototype would still apply. */
9950 /* The GNU C library defines this for functions which it implements
9951 to always fail with ENOSYS. Some functions are actually named
9952 something starting with __ and the normal name is an alias. */
9953 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9961 if { (eval echo configure
:9962: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9963 eval "ac_cv_func_$ac_func=yes"
9965 echo "configure: failed program was:" >&5
9966 cat conftest.
$ac_ext >&5
9968 eval "ac_cv_func_$ac_func=no"
9973 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9974 echo "$ac_t""yes" 1>&6
9975 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9976 cat >> confdefs.h
<<EOF
9977 #define $ac_tr_func 1
9981 echo "$ac_t""no" 1>&6
9986 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9987 ac_cpp
='$CPP $CPPFLAGS'
9988 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9989 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9990 cross_compiling
=$ac_cv_prog_cc_cross
9993 if test "$ac_cv_func_strtok_r" != "yes"; then
9994 ac_cv_func_strtok_r
=yes
9995 CFLAGS
="${CFLAGS} -D_REENTRANT"
9996 CXXFLAGS
="${CXXFLAGS} -D_REENTRANT"
10001 if test "$WXGTK12" = 1 ; then
10002 cat >> confdefs.h
<<EOF
10003 #define __WXGTK12__ $WXGTK12
10008 if test "$WXWINE" = 1 ; then
10009 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WXWINE__"
10012 if test "$wxUSE_CYGWIN" = 1 ; then
10013 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WIN95__"
10018 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
10023 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
10024 wxUSE_DEBUG_INFO
=yes
10028 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
10029 cat >> confdefs.h
<<\EOF
10033 WXDEBUG_DEFINE
="-D__WXDEBUG__"
10035 if test "$wxUSE_GTK" = 1 ; then
10036 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
10040 if test "$wxUSE_MEM_TRACING" = "yes" ; then
10041 cat >> confdefs.h
<<\EOF
10042 #define wxUSE_MEMORY_TRACING 1
10045 cat >> confdefs.h
<<\EOF
10046 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
10049 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
10052 if test "$wxUSE_DMALLOC" = "yes" ; then
10053 DMALLOC_LINK
="-ldmalloc"
10057 if test "$wxUSE_PROFILE" = "yes" ; then
10062 if test "$GCC" = yes ; then
10063 if test "$wxUSE_NO_RTTI" = "yes" ; then
10064 WXDEBUG_DEFINE
="$WXDEBUG_DEFINE -fno-rtti"
10066 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
10067 WXDEBUG_DEFINE
="$WXDEBUG_DEFINE -fno-exceptions"
10069 if test "$wxUSE_PERMISSIVE" = "yes" ; then
10070 CFLAGS
="${CFLAGS} -fpermissive"
10071 CXXFLAGS
="${CXXFLAGS} -fpermissive"
10073 if test "$wxUSE_NO_DEPS" = "no" ; then
10074 DEP_INFO_FLAGS
="-MMD"
10079 CXXFLAGS
=`echo "${CXXFLAGS}" | sed "s/\-O.//g" `
10080 CFLAGS
=`echo "${CFLAGS}" | sed "s/\-O.//g" `
10081 if test "$wxUSE_OPTIMISE" = "no" ; then
10084 if test "$GCC" = yes ; then
10087 i586
-*-*|i686
-*-* )
10088 OPTIMISE
="${OPTIMISE} "
10098 if test "$wxUSE_ZLIB" = "yes" ; then
10099 cat >> confdefs.h
<<\EOF
10100 #define wxUSE_ZLIB 1
10103 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
10107 if test "$wxUSE_LIBPNG" = "yes" ; then
10108 cat >> confdefs.h
<<\EOF
10109 #define wxUSE_LIBPNG 1
10112 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
10113 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
10117 if test "$wxUSE_LIBJPEG" = "yes" ; then
10118 cat >> confdefs.h
<<\EOF
10119 #define wxUSE_LIBJPEG 1
10122 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
10125 if test "$wxUSE_OPENGL" = "yes"; then
10126 ac_safe
=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
10127 echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
10128 echo "configure:10129: checking for GL/gl.h" >&5
10129 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10130 echo $ac_n "(cached) $ac_c" 1>&6
10132 cat > conftest.
$ac_ext <<EOF
10133 #line 10134 "configure"
10134 #include "confdefs.h"
10137 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10138 { (eval echo configure
:10139: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10139 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10140 if test -z "$ac_err"; then
10142 eval "ac_cv_header_$ac_safe=yes"
10145 echo "configure: failed program was:" >&5
10146 cat conftest.
$ac_ext >&5
10148 eval "ac_cv_header_$ac_safe=no"
10152 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10153 echo "$ac_t""yes" 1>&6
10155 echo $ac_n "checking for glInitNames in -lGL""... $ac_c" 1>&6
10156 echo "configure:10157: checking for glInitNames in -lGL" >&5
10157 ac_lib_var
=`echo GL'_'glInitNames | sed 'y%./+-%__p_%'`
10158 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10159 echo $ac_n "(cached) $ac_c" 1>&6
10161 ac_save_LIBS
="$LIBS"
10162 LIBS
="-lGL wxUSE_OPENGL=0 $LIBS"
10163 cat > conftest.
$ac_ext <<EOF
10164 #line 10165 "configure"
10165 #include "confdefs.h"
10166 /* Override any gcc2 internal prototype to avoid an error. */
10167 /* We use char because int might match the return type of a gcc2
10168 builtin and then its argument prototype would still apply. */
10169 char glInitNames();
10175 if { (eval echo configure
:10176: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10177 eval "ac_cv_lib_$ac_lib_var=yes"
10179 echo "configure: failed program was:" >&5
10180 cat conftest.
$ac_ext >&5
10182 eval "ac_cv_lib_$ac_lib_var=no"
10185 LIBS
="$ac_save_LIBS"
10188 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10189 echo "$ac_t""yes" 1>&6
10192 cat >> confdefs.h
<<\EOF
10193 #define wxUSE_OPENGL 1
10196 UTILS_SUBDIRS
="$UTILS_SUBDIRS glcanvas/src"
10199 echo "$ac_t""no" 1>&6
10201 echo $ac_n "checking for glInitNames in -lMesaGL""... $ac_c" 1>&6
10202 echo "configure:10203: checking for glInitNames in -lMesaGL" >&5
10203 ac_lib_var
=`echo MesaGL'_'glInitNames | sed 'y%./+-%__p_%'`
10204 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10205 echo $ac_n "(cached) $ac_c" 1>&6
10207 ac_save_LIBS
="$LIBS"
10208 LIBS
="-lMesaGL $LIBS"
10209 cat > conftest.
$ac_ext <<EOF
10210 #line 10211 "configure"
10211 #include "confdefs.h"
10212 /* Override any gcc2 internal prototype to avoid an error. */
10213 /* We use char because int might match the return type of a gcc2
10214 builtin and then its argument prototype would still apply. */
10215 char glInitNames();
10221 if { (eval echo configure
:10222: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10223 eval "ac_cv_lib_$ac_lib_var=yes"
10225 echo "configure: failed program was:" >&5
10226 cat conftest.
$ac_ext >&5
10228 eval "ac_cv_lib_$ac_lib_var=no"
10231 LIBS
="$ac_save_LIBS"
10234 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10235 echo "$ac_t""yes" 1>&6
10237 OPENGL_LINK
="-lMesaGL"
10238 cat >> confdefs.h
<<\EOF
10239 #define wxUSE_OPENGL 1
10242 UTILS_SUBDIRS
="$UTILS_SUBDIRS glcanvas/src"
10245 echo "$ac_t""no" 1>&6
10254 echo "$ac_t""no" 1>&6
10261 if test "$wxUSE_GUI" = "yes"; then
10262 cat >> confdefs.h
<<\EOF
10263 #define wxUSE_GUI 1
10268 cat >> confdefs.h
<<\EOF
10269 #define wxUSE_NOGUI 1
10275 if test "$wxUSE_UNIX" = "yes"; then
10276 cat >> confdefs.h
<<\EOF
10277 #define wxUSE_UNIX 1
10283 if test "$wxUSE_APPLE_IEEE" = "yes"; then
10284 cat >> confdefs.h
<<\EOF
10285 #define wxUSE_APPLE_IEEE 1
10290 if test "$wxUSE_WAVE" = "yes"; then
10291 cat >> confdefs.h
<<\EOF
10292 #define wxUSE_WAVE 1
10297 if test "$wxUSE_FILE" = "yes"; then
10298 cat >> confdefs.h
<<\EOF
10299 #define wxUSE_FILE 1
10304 if test "$wxUSE_FS_INET" = "yes"; then
10305 cat >> confdefs.h
<<\EOF
10306 #define wxUSE_FS_INET 1
10311 if test "$wxUSE_FS_ZIP" = "yes"; then
10312 cat >> confdefs.h
<<\EOF
10313 #define wxUSE_FS_ZIP 1
10318 if test "$wxUSE_ZIPSTREAM" = "yes"; then
10319 cat >> confdefs.h
<<\EOF
10320 #define wxUSE_ZIPSTREAM 1
10325 if test "$wxUSE_BUSYINFO" = "yes"; then
10326 cat >> confdefs.h
<<\EOF
10327 #define wxUSE_BUSYINFO 1
10332 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
10333 cat >> confdefs.h
<<\EOF
10334 #define wxUSE_STD_IOSTREAM 1
10339 if test "$wxUSE_TEXTFILE" = "yes"; then
10340 if test "$wxUSE_FILE" != "yes"; then
10341 echo "configure: warning: wxTextFile requires wxFile and it won't be compiled without it" 1>&2
10343 cat >> confdefs.h
<<\EOF
10344 #define wxUSE_TEXTFILE 1
10350 if test "$wxUSE_CONFIG" = "yes" ; then
10351 if test "$wxUSE_TEXTFILE" != "yes"; then
10352 echo "configure: warning: wxConfig requires wxTextFile and it won't be compiled without it" 1>&2
10354 cat >> confdefs.h
<<\EOF
10355 #define wxUSE_CONFIG 1
10358 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
10362 if test "$wxUSE_INTL" = "yes" ; then
10363 if test "$wxUSE_FILE" != "yes"; then
10364 echo "configure: warning: I18n code requires wxFile and it won't be compiled without it" 1>&2
10366 cat >> confdefs.h
<<\EOF
10367 #define wxUSE_INTL 1
10370 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
10374 if test "$wxUSE_LOG" = "yes"; then
10375 cat >> confdefs.h
<<\EOF
10376 #define wxUSE_LOG 1
10381 if test "$wxUSE_LONGLONG" = "yes"; then
10382 cat >> confdefs.h
<<\EOF
10383 #define wxUSE_LONGLONG 1
10388 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
10389 cat >> confdefs.h
<<\EOF
10390 #define wxUSE_DIALUP_MANAGER 1
10395 if test "$wxUSE_STREAMS" = "yes" ; then
10396 cat >> confdefs.h
<<\EOF
10397 #define wxUSE_STREAMS 1
10402 if test "$wxUSE_SERIAL" = "yes" ; then
10403 cat >> confdefs.h
<<\EOF
10404 #define wxUSE_SERIAL 1
10410 if test "$wxUSE_TIMEDATE" = "yes"; then
10411 for ac_func
in gettimeofday localtime ftime
10413 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10414 echo "configure:10415: checking for $ac_func" >&5
10415 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10416 echo $ac_n "(cached) $ac_c" 1>&6
10418 cat > conftest.
$ac_ext <<EOF
10419 #line 10420 "configure"
10420 #include "confdefs.h"
10421 /* System header to define __stub macros and hopefully few prototypes,
10422 which can conflict with char $ac_func(); below. */
10423 #include <assert.h>
10424 /* Override any gcc2 internal prototype to avoid an error. */
10425 /* We use char because int might match the return type of a gcc2
10426 builtin and then its argument prototype would still apply. */
10431 /* The GNU C library defines this for functions which it implements
10432 to always fail with ENOSYS. Some functions are actually named
10433 something starting with __ and the normal name is an alias. */
10434 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10442 if { (eval echo configure
:10443: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10444 eval "ac_cv_func_$ac_func=yes"
10446 echo "configure: failed program was:" >&5
10447 cat conftest.
$ac_ext >&5
10449 eval "ac_cv_func_$ac_func=no"
10454 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10455 echo "$ac_t""yes" 1>&6
10456 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10457 cat >> confdefs.h
<<EOF
10458 #define $ac_tr_func 1
10462 echo "$ac_t""no" 1>&6
10467 if test "$ac_cv_func_gettimeofday" = "yes"; then
10468 echo $ac_n "checking whether gettimeofday takes two arguments""... $ac_c" 1>&6
10469 echo "configure:10470: checking whether gettimeofday takes two arguments" >&5
10470 if eval "test \"`echo '$''{'wx_cv_func_gettimeofday_has_2_args'+set}'`\" = set"; then
10471 echo $ac_n "(cached) $ac_c" 1>&6
10476 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10477 ac_cpp
='$CXXCPP $CPPFLAGS'
10478 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10479 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10480 cross_compiling
=$ac_cv_prog_cxx_cross
10483 cat > conftest.
$ac_ext <<EOF
10484 #line 10485 "configure"
10485 #include "confdefs.h"
10487 #include <sys/time.h>
10488 #include <unistd.h>
10493 struct timezone tz;
10494 gettimeofday(&tv, &tz);
10498 if { (eval echo configure
:10499: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10500 wx_cv_func_gettimeofday_has_2_args
=yes
10502 echo "configure: failed program was:" >&5
10503 cat conftest.
$ac_ext >&5
10505 cat > conftest.
$ac_ext <<EOF
10506 #line 10507 "configure"
10507 #include "confdefs.h"
10509 #include <sys/time.h>
10510 #include <unistd.h>
10519 if { (eval echo configure
:10520: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10521 wx_cv_func_gettimeofday_has_2_args
=no
10523 echo "configure: failed program was:" >&5
10524 cat conftest.
$ac_ext >&5
10526 wx_cv_func_gettimeofday_has_2_args
=unknown
10534 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10535 ac_cpp
='$CPP $CPPFLAGS'
10536 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10537 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10538 cross_compiling
=$ac_cv_prog_cc_cross
10543 echo "$ac_t""$wx_cv_func_gettimeofday_has_2_args" 1>&6
10545 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
10546 cat >> confdefs.h
<<\EOF
10547 #define WX_GETTIMEOFDAY_NO_TZ 1
10553 cat >> confdefs.h
<<\EOF
10554 #define wxUSE_TIMEDATE 1
10557 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
10561 if test "$wxUSE_SOCKETS" = "yes"; then
10562 echo $ac_n "checking for socket""... $ac_c" 1>&6
10563 echo "configure:10564: checking for socket" >&5
10564 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
10565 echo $ac_n "(cached) $ac_c" 1>&6
10567 cat > conftest.
$ac_ext <<EOF
10568 #line 10569 "configure"
10569 #include "confdefs.h"
10570 /* System header to define __stub macros and hopefully few prototypes,
10571 which can conflict with char socket(); below. */
10572 #include <assert.h>
10573 /* Override any gcc2 internal prototype to avoid an error. */
10574 /* We use char because int might match the return type of a gcc2
10575 builtin and then its argument prototype would still apply. */
10580 /* The GNU C library defines this for functions which it implements
10581 to always fail with ENOSYS. Some functions are actually named
10582 something starting with __ and the normal name is an alias. */
10583 #if defined (__stub_socket) || defined (__stub___socket)
10591 if { (eval echo configure
:10592: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10593 eval "ac_cv_func_socket=yes"
10595 echo "configure: failed program was:" >&5
10596 cat conftest.
$ac_ext >&5
10598 eval "ac_cv_func_socket=no"
10603 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
10604 echo "$ac_t""yes" 1>&6
10607 echo "$ac_t""no" 1>&6
10608 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
10609 echo "configure:10610: checking for socket in -lsocket" >&5
10610 ac_lib_var
=`echo socket'_'socket | sed 'y%./+-%__p_%'`
10611 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10612 echo $ac_n "(cached) $ac_c" 1>&6
10614 ac_save_LIBS
="$LIBS"
10615 LIBS
="-lsocket $LIBS"
10616 cat > conftest.
$ac_ext <<EOF
10617 #line 10618 "configure"
10618 #include "confdefs.h"
10619 /* Override any gcc2 internal prototype to avoid an error. */
10620 /* We use char because int might match the return type of a gcc2
10621 builtin and then its argument prototype would still apply. */
10628 if { (eval echo configure
:10629: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10630 eval "ac_cv_lib_$ac_lib_var=yes"
10632 echo "configure: failed program was:" >&5
10633 cat conftest.
$ac_ext >&5
10635 eval "ac_cv_lib_$ac_lib_var=no"
10638 LIBS
="$ac_save_LIBS"
10641 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10642 echo "$ac_t""yes" 1>&6
10643 INET_LINK
="$INET_LINK -lsocket"
10645 echo "$ac_t""no" 1>&6
10647 echo "configure: warning: socket library not found - sockets will be disabled" 1>&2
10658 if test "$wxUSE_SOCKETS" = "yes" ; then
10661 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10662 ac_cpp
='$CXXCPP $CPPFLAGS'
10663 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10664 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10665 cross_compiling
=$ac_cv_prog_cxx_cross
10667 echo $ac_n "checking the type of the third argument of getsockname""... $ac_c" 1>&6
10668 echo "configure:10669: checking the type of the third argument of getsockname" >&5
10669 cat > conftest.
$ac_ext <<EOF
10670 #line 10671 "configure"
10671 #include "confdefs.h"
10672 #include <sys/socket.h>
10674 socklen_t len; getsockname(0, 0, &len);
10677 if { (eval echo configure
:10678: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10679 cat >> confdefs.h
<<\EOF
10680 #define SOCKLEN_T socklen_t
10682 echo "$ac_t""socklen_t" 1>&6
10684 echo "configure: failed program was:" >&5
10685 cat conftest.
$ac_ext >&5
10687 cat > conftest.
$ac_ext <<EOF
10688 #line 10689 "configure"
10689 #include "confdefs.h"
10690 #include <sys/socket.h>
10692 size_t len; getsockname(0, 0, &len);
10695 if { (eval echo configure
:10696: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10697 cat >> confdefs.h
<<\EOF
10698 #define SOCKLEN_T size_t
10700 echo "$ac_t""size_t" 1>&6
10702 echo "configure: failed program was:" >&5
10703 cat conftest.
$ac_ext >&5
10705 cat > conftest.
$ac_ext <<EOF
10706 #line 10707 "configure"
10707 #include "confdefs.h"
10708 #include <sys/socket.h>
10710 int len; getsockname(0, 0, &len);
10713 if { (eval echo configure
:10714: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10715 cat >> confdefs.h
<<\EOF
10716 #define SOCKLEN_T int
10718 echo "$ac_t""int" 1>&6
10720 echo "configure: failed program was:" >&5
10721 cat conftest.
$ac_ext >&5
10723 echo "$ac_t""unknown" 1>&6
10734 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10735 ac_cpp
='$CPP $CPPFLAGS'
10736 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10737 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10738 cross_compiling
=$ac_cv_prog_cc_cross
10741 cat >> confdefs.h
<<\EOF
10742 #define wxUSE_SOCKETS 1
10745 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wxsocket"
10746 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS protocol"
10750 if test "$wxUSE_JOYSTICK" = 1; then
10751 for ac_hdr
in linux
/joystick.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 if test "$ac_cv_header_linux_joystick_h" = "yes"; then
10792 cat >> confdefs.h
<<\EOF
10793 #define wxUSE_JOYSTICK 1
10796 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
10803 if test "$wxUSE_DYNLIB_CLASS" = "yes"; then
10804 for ac_func
in dlopen
10806 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10807 echo "configure:10808: checking for $ac_func" >&5
10808 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10809 echo $ac_n "(cached) $ac_c" 1>&6
10811 cat > conftest.
$ac_ext <<EOF
10812 #line 10813 "configure"
10813 #include "confdefs.h"
10814 /* System header to define __stub macros and hopefully few prototypes,
10815 which can conflict with char $ac_func(); below. */
10816 #include <assert.h>
10817 /* Override any gcc2 internal prototype to avoid an error. */
10818 /* We use char because int might match the return type of a gcc2
10819 builtin and then its argument prototype would still apply. */
10824 /* The GNU C library defines this for functions which it implements
10825 to always fail with ENOSYS. Some functions are actually named
10826 something starting with __ and the normal name is an alias. */
10827 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10835 if { (eval echo configure
:10836: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10837 eval "ac_cv_func_$ac_func=yes"
10839 echo "configure: failed program was:" >&5
10840 cat conftest.
$ac_ext >&5
10842 eval "ac_cv_func_$ac_func=no"
10847 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10848 echo "$ac_t""yes" 1>&6
10849 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10850 cat >> confdefs.h
<<EOF
10851 #define $ac_tr_func 1
10854 cat >> confdefs.h
<<\EOF
10855 #define HAVE_DLOPEN 1
10861 echo "$ac_t""no" 1>&6
10862 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
10863 echo "configure:10864: checking for dlopen in -ldl" >&5
10864 ac_lib_var
=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
10865 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10866 echo $ac_n "(cached) $ac_c" 1>&6
10868 ac_save_LIBS
="$LIBS"
10870 cat > conftest.
$ac_ext <<EOF
10871 #line 10872 "configure"
10872 #include "confdefs.h"
10873 /* Override any gcc2 internal prototype to avoid an error. */
10874 /* We use char because int might match the return type of a gcc2
10875 builtin and then its argument prototype would still apply. */
10882 if { (eval echo configure
:10883: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10884 eval "ac_cv_lib_$ac_lib_var=yes"
10886 echo "configure: failed program was:" >&5
10887 cat conftest.
$ac_ext >&5
10889 eval "ac_cv_lib_$ac_lib_var=no"
10892 LIBS
="$ac_save_LIBS"
10895 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10896 echo "$ac_t""yes" 1>&6
10898 cat >> confdefs.h
<<\EOF
10899 #define HAVE_DLOPEN 1
10906 echo "$ac_t""no" 1>&6
10908 for ac_func
in shl_load
10910 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10911 echo "configure:10912: checking for $ac_func" >&5
10912 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10913 echo $ac_n "(cached) $ac_c" 1>&6
10915 cat > conftest.
$ac_ext <<EOF
10916 #line 10917 "configure"
10917 #include "confdefs.h"
10918 /* System header to define __stub macros and hopefully few prototypes,
10919 which can conflict with char $ac_func(); below. */
10920 #include <assert.h>
10921 /* Override any gcc2 internal prototype to avoid an error. */
10922 /* We use char because int might match the return type of a gcc2
10923 builtin and then its argument prototype would still apply. */
10928 /* The GNU C library defines this for functions which it implements
10929 to always fail with ENOSYS. Some functions are actually named
10930 something starting with __ and the normal name is an alias. */
10931 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10939 if { (eval echo configure
:10940: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10941 eval "ac_cv_func_$ac_func=yes"
10943 echo "configure: failed program was:" >&5
10944 cat conftest.
$ac_ext >&5
10946 eval "ac_cv_func_$ac_func=no"
10951 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10952 echo "$ac_t""yes" 1>&6
10953 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10954 cat >> confdefs.h
<<EOF
10955 #define $ac_tr_func 1
10958 cat >> confdefs.h
<<\EOF
10959 #define HAVE_SHL_LOAD 1
10965 echo "$ac_t""no" 1>&6
10977 if test "$HAVE_DL_FUNCS" = 0; then
10978 if test "$HAVE_SHL_FUNCS" = 0; then
10979 if test "$USE_UNIX" = 1; then
10980 echo "configure: warning: "--with-dynlib and
--with-odbc will be disabled due to missing shared library support
"" 1>&2
10982 wxUSE_DYNLIB_CLASS
=no
10984 echo "configure: warning: "Cannot check dynlib requirements on non
-Unix platforms. dynlib remains enabled.
"" 1>&2
10990 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
10991 cat >> confdefs.h
<<\EOF
10992 #define wxUSE_DYNLIB_CLASS 1
10998 if test "$wxUSE_UNICODE" = "yes" ; then
10999 cat >> confdefs.h
<<\EOF
11000 #define wxUSE_UNICODE 1
11005 if test "$wxUSE_WCSRTOMBS" = "yes" ; then
11006 cat >> confdefs.h
<<\EOF
11007 #define wxUSE_WCSRTOMBS 1
11012 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
11013 cat >> confdefs.h
<<\EOF
11014 #define wxUSE_EXPERIMENTAL_PRINTF 1
11021 if test "$wxUSE_ODBC" = "yes" ; then
11022 cat >> confdefs.h
<<\EOF
11023 #define wxUSE_ODBC 1
11026 WXODBCFLAG
="-D_IODBC_"
11027 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
11028 IODBCOBJS
="\$(IODBC_OBJS)"
11034 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
11035 cat >> confdefs.h
<<\EOF
11036 #define wxUSE_POSTSCRIPT 1
11041 cat >> confdefs.h
<<\EOF
11042 #define wxUSE_AFM_FOR_POSTSCRIPT 1
11046 cat >> confdefs.h
<<\EOF
11047 #define wxUSE_NORMALIZED_PS_FONTS 1
11052 if test "$wxUSE_CONSTRAINTS" = "yes"; then
11053 cat >> confdefs.h
<<\EOF
11054 #define wxUSE_CONSTRAINTS 1
11057 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
11060 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
11061 cat >> confdefs.h
<<\EOF
11062 #define wxUSE_MDI_ARCHITECTURE 1
11065 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
11068 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
11069 cat >> confdefs.h
<<\EOF
11070 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
11073 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
11074 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
11075 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
11079 if test "$wxUSE_HELP" = "yes"; then
11080 cat >> confdefs.h
<<\EOF
11081 #define wxUSE_HELP 1
11084 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
11087 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
11088 if test "$wxUSE_CONSTRAINTS" != "yes"; then
11089 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
11091 cat >> confdefs.h
<<\EOF
11092 #define wxUSE_PRINTING_ARCHITECTURE 1
11096 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
11099 if test "$wxUSE_PROLOGIO" = "yes" ; then
11100 cat >> confdefs.h
<<\EOF
11101 #define wxUSE_PROLOGIO 1
11106 if test "$wxUSE_RESOURCES" = "yes" ; then
11107 if test "$wxUSE_PROLOGIO" = "yes" ; then
11108 cat >> confdefs.h
<<\EOF
11109 #define wxUSE_RESOURCES 1
11112 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS resource"
11114 echo "configure: warning: wxWindows ressource system requires PrologIO and can't be compiled without it." 1>&2
11118 if test "$wxUSE_X_RESOURCES" = "yes"; then
11119 cat >> confdefs.h
<<\EOF
11120 #define wxUSE_X_RESOURCES 1
11126 if test "$wxUSE_IPC" = "yes"; then
11127 cat >> confdefs.h
<<\EOF
11128 #define wxUSE_IPC 1
11133 if test "$wxUSE_CLIPBOARD" = "yes"; then
11134 cat >> confdefs.h
<<\EOF
11135 #define wxUSE_CLIPBOARD 1
11140 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
11141 if test "$wxUSE_GTK" = 1; then
11142 if test "$WXGTK12" != 1; then
11143 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2" 1>&2
11144 wxUSE_DRAG_AND_DROP
=no
11148 if test "$wxUSE_MOTIF" = 1; then
11149 echo "configure: warning: Drag and drop is not yet supported under Motif" 1>&2
11150 wxUSE_DRAG_AND_DROP
=no
11153 if test "$USE_WIN32" = 1; then
11154 for ac_hdr
in ole2.h
11156 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11157 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11158 echo "configure:11159: checking for $ac_hdr" >&5
11159 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11160 echo $ac_n "(cached) $ac_c" 1>&6
11162 cat > conftest.
$ac_ext <<EOF
11163 #line 11164 "configure"
11164 #include "confdefs.h"
11167 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11168 { (eval echo configure
:11169: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11169 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11170 if test -z "$ac_err"; then
11172 eval "ac_cv_header_$ac_safe=yes"
11175 echo "configure: failed program was:" >&5
11176 cat conftest.
$ac_ext >&5
11178 eval "ac_cv_header_$ac_safe=no"
11182 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11183 echo "$ac_t""yes" 1>&6
11184 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11185 cat >> confdefs.h
<<EOF
11186 #define $ac_tr_hdr 1
11190 echo "$ac_t""no" 1>&6
11194 if test "x$HAVE_OLE2_H" = x
; then
11195 echo "configure: warning: Drag and drop disabled because OLE headers not found" 1>&2
11196 wxUSE_DRAG_AND_DROP
=no
11200 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
11201 cat >> confdefs.h
<<\EOF
11202 #define wxUSE_DRAG_AND_DROP 1
11205 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
11210 if test "$wxUSE_SPLINES" = "yes" ; then
11211 cat >> confdefs.h
<<\EOF
11212 #define wxUSE_SPLINES 1
11218 if test "$wxUSE_ACCEL" = "yes"; then
11219 cat >> confdefs.h
<<\EOF
11220 #define wxUSE_ACCEL 1
11225 if test "$wxUSE_CARET" = "yes"; then
11226 cat >> confdefs.h
<<\EOF
11227 #define wxUSE_CARET 1
11230 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
11233 if test "$wxUSE_COMBOBOX" = "yes"; then
11234 cat >> confdefs.h
<<\EOF
11235 #define wxUSE_COMBOBOX 1
11240 if test "$wxUSE_CHOICE" = "yes"; then
11241 cat >> confdefs.h
<<\EOF
11242 #define wxUSE_CHOICE 1
11247 if test "$wxUSE_BMPBUTTON" = "yes"; then
11248 cat >> confdefs.h
<<\EOF
11249 #define wxUSE_BMPBUTTON 1
11254 if test "$wxUSE_CHECKBOX" = "yes"; then
11255 cat >> confdefs.h
<<\EOF
11256 #define wxUSE_CHECKBOX 1
11261 if test "$wxUSE_CHECKLST" = "yes"; then
11262 cat >> confdefs.h
<<\EOF
11263 #define wxUSE_CHECKLISTBOX 1
11266 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
11269 if test "$wxUSE_GAUGE" = "yes"; then
11270 cat >> confdefs.h
<<\EOF
11271 #define wxUSE_GAUGE 1
11276 if test "$wxUSE_GRID" = "yes"; then
11277 cat >> confdefs.h
<<\EOF
11278 #define wxUSE_GRID 1
11281 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
11284 if test "$wxUSE_NEW_GRID" = "yes"; then
11285 cat >> confdefs.h
<<\EOF
11286 #define wxUSE_NEW_GRID 1
11289 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS newgrid"
11292 if test "$wxUSE_IMAGLIST" = "yes"; then
11293 cat >> confdefs.h
<<\EOF
11294 #define wxUSE_IMAGLIST 1
11299 if test "$wxUSE_LISTBOX" = "yes"; then
11300 cat >> confdefs.h
<<\EOF
11301 #define wxUSE_LISTBOX 1
11306 if test "$wxUSE_LISTCTRL" = "yes"; then
11307 if test "$wxUSE_IMAGLIST" = "yes"; then
11308 cat >> confdefs.h
<<\EOF
11309 #define wxUSE_LISTCTRL 1
11312 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
11314 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
11318 if test "$wxUSE_NOTEBOOK" = "yes"; then
11319 cat >> confdefs.h
<<\EOF
11320 #define wxUSE_NOTEBOOK 1
11323 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
11326 if test "$wxUSE_RADIOBOX" = "yes"; then
11327 cat >> confdefs.h
<<\EOF
11328 #define wxUSE_RADIOBOX 1
11333 if test "$wxUSE_RADIOBTN" = "yes"; then
11334 cat >> confdefs.h
<<\EOF
11335 #define wxUSE_RADIOBTN 1
11340 if test "$wxUSE_SASH" = "yes"; then
11341 cat >> confdefs.h
<<\EOF
11342 #define wxUSE_SASH 1
11345 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
11348 if test "$wxUSE_SCROLLBAR" = "yes"; then
11349 cat >> confdefs.h
<<\EOF
11350 #define wxUSE_SCROLLBAR 1
11353 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll"
11356 if test "$wxUSE_SLIDER" = "yes"; then
11357 cat >> confdefs.h
<<\EOF
11358 #define wxUSE_SLIDER 1
11363 if test "$wxUSE_SPINBTN" = "yes"; then
11364 cat >> confdefs.h
<<\EOF
11365 #define wxUSE_SPINBTN 1
11370 if test "$wxUSE_SPLITTER" = "yes"; then
11371 cat >> confdefs.h
<<\EOF
11372 #define wxUSE_SPLITTER 1
11375 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
11378 if test "$wxUSE_STATBMP" = "yes"; then
11379 cat >> confdefs.h
<<\EOF
11380 #define wxUSE_STATBMP 1
11385 if test "$wxUSE_STATBOX" = "yes"; then
11386 cat >> confdefs.h
<<\EOF
11387 #define wxUSE_STATBOX 1
11392 if test "$wxUSE_STATLINE" = "yes"; then
11393 if test "$wxUSE_WINE" = 1 ; then
11394 echo "configure: warning: wxStaticLine is not supported under WINE" 1>&2
11396 cat >> confdefs.h
<<\EOF
11397 #define wxUSE_STATLINE 1
11403 if test "$wxUSE_STATUSBAR" = "yes"; then
11404 cat >> confdefs.h
<<\EOF
11405 #define wxUSE_STATUSBAR 1
11410 if test "$wxUSE_TABDIALOG" = "yes"; then
11411 cat >> confdefs.h
<<\EOF
11412 #define wxUSE_TAB_DIALOG 1
11415 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
11418 if test "$wxUSE_TOOLBAR" = "yes"; then
11419 cat >> confdefs.h
<<\EOF
11420 #define wxUSE_TOOLBAR 1
11423 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
11426 if test "$wxUSE_TOOLTIPS" = "yes"; then
11427 if test "$wxUSE_MOTIF" = 1; then
11428 echo "configure: warning: wxTooltip not supported yet under Motif" 1>&2
11430 if test "$wxUSE_WINE" = 1; then
11431 echo "configure: warning: wxTooltip not supported under WINE" 1>&2
11433 cat >> confdefs.h
<<\EOF
11434 #define wxUSE_TOOLTIPS 1
11441 if test "$wxUSE_TREECTRL" = "yes"; then
11442 if test "$wxUSE_IMAGLIST" = "yes"; then
11443 cat >> confdefs.h
<<\EOF
11444 #define wxUSE_TREECTRL 1
11447 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
11449 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
11455 if test "$wxUSE_METAFILE" = "yes"; then
11456 cat >> confdefs.h
<<\EOF
11457 #define wxUSE_METAFILE 1
11462 if test "$wxUSE_DIRDLG" = "yes"; then
11463 if test "$wxUSE_CONSTRAINTS" != "yes"; then
11464 echo "configure: warning: wxDirDialog requires constraints so it won't be compiled without them" 1>&2
11466 if test "$wxUSE_TREECTRL" != "yes"; then
11467 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
11469 cat >> confdefs.h
<<\EOF
11470 #define wxUSE_DIRDLG 1
11477 if test "$wxUSE_TEXTDLG" = "yes"; then
11478 cat >> confdefs.h
<<\EOF
11479 #define wxUSE_TEXTDLG 1
11484 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
11485 if test "$wxUSE_CONSTRAINTS" != "yes"; then
11486 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
11488 cat >> confdefs.h
<<\EOF
11489 #define wxUSE_STARTUP_TIPS 1
11495 if test "$wxUSE_PROGRESSDLG" = "yes"; then
11496 if test "$wxUSE_CONSTRAINTS" != "yes"; then
11497 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
11499 cat >> confdefs.h
<<\EOF
11500 #define wxUSE_PROGRESSDLG 1
11506 if test "$wxUSE_MINIFRAME" = "yes"; then
11507 cat >> confdefs.h
<<\EOF
11508 #define wxUSE_MINIFRAME 1
11511 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
11514 if test "$wxUSE_HTML" = "yes"; then
11515 cat >> confdefs.h
<<\EOF
11516 #define wxUSE_HTML 1
11519 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html"
11520 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS html"
11523 if test "$wxUSE_VALIDATORS" = "yes"; then
11524 cat >> confdefs.h
<<\EOF
11525 #define wxUSE_VALIDATORS 1
11528 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
11531 if test "$wxUSE_GIF" = "yes" ; then
11532 cat >> confdefs.h
<<\EOF
11533 #define wxUSE_GIF 1
11538 if test "$wxUSE_PCX" = "yes" ; then
11539 cat >> confdefs.h
<<\EOF
11540 #define wxUSE_PCX 1
11545 if test "$wxUSE_PNM" = "yes" ; then
11546 cat >> confdefs.h
<<\EOF
11547 #define wxUSE_PNM 1
11553 GUILIBS
="$GUI_TK_LIBRARY $OPENGL_LINK $LIBPNG_LINK $ZLIB_LINK $TOOLKIT_LINK"
11555 EXTRA_LIBS
="$LIBS $POSIX4_LINK $INET_LINK $WCHAR_LINK $THREADS_LINK $DMALLOC_LINK $DL_LINK"
11556 if test "$wxUSE_GUI" = "yes"; then
11557 EXTRA_LIBS
="$EXTRA_LIBS $GUILIBS"
11560 LD_LIBS
="\${top_builddir}/lib/${WX_LIBRARY_NAME_STATIC} $EXTRA_LIBS"
11562 INCLUDES
="-I. -I\${top_builddir}/include -I\${top_srcdir}/include $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TOOLKIT_INCLUDE"
11564 if test "$GXX" = yes ; then
11565 CXXWARNINGS
="-Wall"
11567 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE $INCLUDES"
11569 CFLAGS
=`echo $CFLAGS $EXTRA_CFLAGS | sed 's/ \\+/ /g'`
11570 CXXFLAGS
=`echo $CXXFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
11572 if test "$wxUSE_GUI" = "yes"; then
11574 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS bombs controls dialogs drawing dynamic \
11575 forty fractal image wxpoem"
11580 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '`"
11635 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
11636 echo "configure:11637: checking whether ${MAKE-make} sets \${MAKE}" >&5
11637 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
11638 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
11639 echo $ac_n "(cached) $ac_c" 1>&6
11641 cat > conftestmake
<<\EOF
11643 @
echo 'ac_maketemp="${MAKE}"'
11645 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
11646 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
11647 if test -n "$ac_maketemp"; then
11648 eval ac_cv_prog_make_
${ac_make}_set
=yes
11650 eval ac_cv_prog_make_
${ac_make}_set
=no
11654 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
11655 echo "$ac_t""yes" 1>&6
11658 echo "$ac_t""no" 1>&6
11659 SET_MAKE
="MAKE=${MAKE-make}"
11665 if test "${TOOLKIT_DIR}" = "msw" ; then
11666 GL_TOOLKIT_DIR
="win"
11668 GL_TOOLKIT_DIR
="${TOOLKIT_DIR}"
11673 cat > confcache
<<\EOF
11674 # This file is a shell script that caches the results of configure
11675 # tests run on this system so they can be shared between configure
11676 # scripts and configure runs. It is not useful on other systems.
11677 # If it contains results you don't want to keep, you may remove or edit it.
11679 # By default, configure uses ./config.cache as the cache file,
11680 # creating it if it does not exist already. You can give configure
11681 # the --cache-file=FILE option to use a different cache file; that is
11682 # what configure does when it calls configure scripts in
11683 # subdirectories, so they share the cache.
11684 # Giving --cache-file=/dev/null disables caching, for debugging configure.
11685 # config.status only pays attention to the cache file if you give it the
11686 # --recheck option to rerun configure.
11689 # The following way of writing the cache mishandles newlines in values,
11690 # but we know of no workaround that is simple, portable, and efficient.
11691 # So, don't put newlines in cache variables' values.
11692 # Ultrix sh set writes to stderr and can't be redirected directly,
11693 # and sets the high bit in the cache file unless we assign to the vars.
11695 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11697 # `set' does not quote correctly, so add quotes (double-quote substitution
11698 # turns \\\\ into \\, and sed turns \\ into \).
11700 -e "s/'/'\\\\''/g" \
11701 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
11704 # `set' quotes correctly as required by POSIX, so do not add quotes.
11705 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
11708 if cmp -s $cache_file confcache
; then
11711 if test -w $cache_file; then
11712 echo "updating cache $cache_file"
11713 cat confcache
> $cache_file
11715 echo "not updating unwritable cache $cache_file"
11720 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
11722 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
11723 # Let make expand exec_prefix.
11724 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
11726 # Any assignment to VPATH causes Sun make to only execute
11727 # the first set of double-colon rules, so remove it if not needed.
11728 # If there is a colon in the path, we need to keep it.
11729 if test "x$srcdir" = x.
; then
11730 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
11733 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
11735 DEFS
=-DHAVE_CONFIG_H
11737 # Without the "./", some shells look in PATH for config.status.
11738 : ${CONFIG_STATUS=./config.status}
11740 echo creating
$CONFIG_STATUS
11741 rm -f $CONFIG_STATUS
11742 cat > $CONFIG_STATUS <<EOF
11744 # Generated automatically by configure.
11745 # Run this file to recreate the current configuration.
11746 # This directory was configured as follows,
11747 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
11749 # $0 $ac_configure_args
11751 # Compiler output produced by configure, useful for debugging
11752 # configure, is in ./config.log if it exists.
11754 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
11757 case "\$ac_option" in
11758 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
11759 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
11760 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
11761 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
11762 echo "$CONFIG_STATUS generated by autoconf version 2.13"
11764 -help | --help | --hel | --he | --h)
11765 echo "\$ac_cs_usage"; exit 0 ;;
11766 *) echo "\$ac_cs_usage"; exit 1 ;;
11770 ac_given_srcdir=$srcdir
11771 ac_given_INSTALL="$INSTALL"
11773 trap 'rm -fr `echo "
11780 samples/bombs/Makefile
11781 samples/caret/Makefile
11782 samples/checklst/Makefile
11783 samples/config/Makefile
11784 samples/controls/Makefile
11785 samples/db/Makefile
11786 samples/dialogs/Makefile
11787 samples/docview/Makefile
11788 samples/docvwmdi/Makefile
11789 samples/dnd/Makefile
11790 samples/drawing/Makefile
11791 samples/forty/Makefile
11792 samples/fractal/Makefile
11793 samples/image/Makefile
11794 samples/internat/Makefile
11795 samples/layout/Makefile
11796 samples/listctrl/Makefile
11797 samples/mdi/Makefile
11798 samples/minifram/Makefile
11799 samples/minimal/Makefile
11800 samples/nettest/Makefile
11801 samples/newgrid/Makefile
11802 samples/notebook/Makefile
11803 samples/png/Makefile
11804 samples/printing/Makefile
11805 samples/proplist/Makefile
11806 samples/richedit/Makefile
11807 samples/resource/Makefile
11808 samples/sashtest/Makefile
11809 samples/scroll/Makefile
11810 samples/scrollsub/Makefile
11811 samples/splitter/Makefile
11812 samples/text/Makefile
11813 samples/thread/Makefile
11814 samples/toolbar/Makefile
11815 samples/treectrl/Makefile
11816 samples/typetest/Makefile
11817 samples/validate/Makefile
11818 samples/wxpoem/Makefile
11819 samples/wxsocket/Makefile
11820 samples/wizard/Makefile
11821 samples/html/Makefile
11822 samples/html/about/Makefile
11823 samples/html/help/Makefile
11824 samples/html/printing/Makefile
11825 samples/html/helpview/Makefile
11826 samples/html/test/Makefile
11827 samples/html/zip/Makefile
11828 samples/html/virtual/Makefile
11829 samples/html/widget/Makefile
11831 utils/wxMMedia2/Makefile
11832 utils/wxMMedia2/lib/Makefile
11833 utils/wxMMedia2/sample/Makefile
11834 utils/glcanvas/Makefile
11835 utils/glcanvas/${GL_TOOLKIT_DIR}/Makefile
11837 utils/ogl/src/Makefile
11838 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
11840 cat >> $CONFIG_STATUS <<EOF
11842 # Protect against being on the right side of a sed subst in config.status.
11843 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
11844 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
11848 s%@CFLAGS@%$CFLAGS%g
11849 s%@CPPFLAGS@%$CPPFLAGS%g
11850 s%@CXXFLAGS@%$CXXFLAGS%g
11851 s%@FFLAGS@%$FFLAGS%g
11853 s%@LDFLAGS@%$LDFLAGS%g
11855 s%@exec_prefix@%$exec_prefix%g
11856 s%@prefix@%$prefix%g
11857 s%@program_transform_name@%$program_transform_name%g
11858 s%@bindir@%$bindir%g
11859 s%@sbindir@%$sbindir%g
11860 s%@libexecdir@%$libexecdir%g
11861 s%@datadir@%$datadir%g
11862 s%@sysconfdir@%$sysconfdir%g
11863 s%@sharedstatedir@%$sharedstatedir%g
11864 s%@localstatedir@%$localstatedir%g
11865 s%@libdir@%$libdir%g
11866 s%@includedir@%$includedir%g
11867 s%@oldincludedir@%$oldincludedir%g
11868 s%@infodir@%$infodir%g
11869 s%@mandir@%$mandir%g
11871 s%@host_alias@%$host_alias%g
11872 s%@host_cpu@%$host_cpu%g
11873 s%@host_vendor@%$host_vendor%g
11874 s%@host_os@%$host_os%g
11875 s%@target@%$target%g
11876 s%@target_alias@%$target_alias%g
11877 s%@target_cpu@%$target_cpu%g
11878 s%@target_vendor@%$target_vendor%g
11879 s%@target_os@%$target_os%g
11881 s%@build_alias@%$build_alias%g
11882 s%@build_cpu@%$build_cpu%g
11883 s%@build_vendor@%$build_vendor%g
11884 s%@build_os@%$build_os%g
11888 s%@CXXCPP@%$CXXCPP%g
11889 s%@RANLIB@%$RANLIB%g
11891 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
11892 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
11893 s%@INSTALL_DATA@%$INSTALL_DATA%g
11897 s%@LEXLIB@%$LEXLIB%g
11899 s%@GTK_CONFIG@%$GTK_CONFIG%g
11900 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
11901 s%@GTK_LIBS@%$GTK_LIBS%g
11902 s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
11903 s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
11904 s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
11905 s%@WX_LIBRARY_NAME@%$WX_LIBRARY_NAME%g
11906 s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
11907 s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
11908 s%@WX_LIBRARY@%$WX_LIBRARY%g
11909 s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
11910 s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
11911 s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
11912 s%@WX_LIBRARY_LINK3@%$WX_LIBRARY_LINK3%g
11913 s%@PROGRAM_EXT@%$PROGRAM_EXT%g
11914 s%@WX_ALL@%$WX_ALL%g
11915 s%@WX_ALL_INSTALLED@%$WX_ALL_INSTALLED%g
11916 s%@SHARED_LD@%$SHARED_LD%g
11917 s%@PIC_FLAG@%$PIC_FLAG%g
11918 s%@DEP_INFO_FLAGS@%$DEP_INFO_FLAGS%g
11919 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
11920 s%@TOOLKIT@%$TOOLKIT%g
11921 s%@TOOLKIT_DEF@%$TOOLKIT_DEF%g
11922 s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
11923 s%@TOOLKIT_INCLUDE@%$TOOLKIT_INCLUDE%g
11924 s%@GUIHEADERS@%$GUIHEADERS%g
11925 s%@GUIOBJS@%$GUIOBJS%g
11926 s%@COMMONOBJS@%$COMMONOBJS%g
11927 s%@GENERICOBJS@%$GENERICOBJS%g
11928 s%@GUIDEPS@%$GUIDEPS%g
11929 s%@COMMONDEPS@%$COMMONDEPS%g
11930 s%@GENERICDEPS@%$GENERICDEPS%g
11931 s%@IODBCOBJS@%$IODBCOBJS%g
11932 s%@UNIXOBJS@%$UNIXOBJS%g
11933 s%@UNIXDEPS@%$UNIXDEPS%g
11934 s%@ALL_OBJECTS@%$ALL_OBJECTS%g
11935 s%@ALL_DEPFILES@%$ALL_DEPFILES%g
11936 s%@ALL_HEADERS@%$ALL_HEADERS%g
11937 s%@GUIDIST@%$GUIDIST%g
11938 s%@SRC_SUBDIRS@%$SRC_SUBDIRS%g
11939 s%@INCLUDE_SUBDIRS@%$INCLUDE_SUBDIRS%g
11940 s%@UTILS_SUBDIRS@%$UTILS_SUBDIRS%g
11941 s%@DOCS_SUBDIRS@%$DOCS_SUBDIRS%g
11942 s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
11943 s%@USER_SUBDIRS@%$USER_SUBDIRS%g
11944 s%@EXTRA_LIBS@%$EXTRA_LIBS%g
11945 s%@LD_LIBS@%$LD_LIBS%g
11946 s%@SET_MAKE@%$SET_MAKE%g
11947 s%@GL_TOOLKIT_DIR@%$GL_TOOLKIT_DIR%g
11952 cat >> $CONFIG_STATUS <<\EOF
11954 # Split the substitutions into bite-sized pieces for seds with
11955 # small command number limits, like on Digital OSF/1 and HP-UX.
11956 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
11957 ac_file
=1 # Number of current file.
11958 ac_beg
=1 # First line for current file.
11959 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
11962 while $ac_more_lines; do
11963 if test $ac_beg -gt 1; then
11964 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
11966 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
11968 if test ! -s conftest.s
$ac_file; then
11969 ac_more_lines
=false
11970 rm -f conftest.s
$ac_file
11972 if test -z "$ac_sed_cmds"; then
11973 ac_sed_cmds
="sed -f conftest.s$ac_file"
11975 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
11977 ac_file
=`expr $ac_file + 1`
11979 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
11982 if test -z "$ac_sed_cmds"; then
11987 cat >> $CONFIG_STATUS <<EOF
11989 CONFIG_FILES=\${CONFIG_FILES-"wx-config
11995 samples/bombs/Makefile
11996 samples/caret/Makefile
11997 samples/checklst/Makefile
11998 samples/config/Makefile
11999 samples/controls/Makefile
12000 samples/db/Makefile
12001 samples/dialogs/Makefile
12002 samples/docview/Makefile
12003 samples/docvwmdi/Makefile
12004 samples/dnd/Makefile
12005 samples/drawing/Makefile
12006 samples/forty/Makefile
12007 samples/fractal/Makefile
12008 samples/image/Makefile
12009 samples/internat/Makefile
12010 samples/layout/Makefile
12011 samples/listctrl/Makefile
12012 samples/mdi/Makefile
12013 samples/minifram/Makefile
12014 samples/minimal/Makefile
12015 samples/nettest/Makefile
12016 samples/newgrid/Makefile
12017 samples/notebook/Makefile
12018 samples/png/Makefile
12019 samples/printing/Makefile
12020 samples/proplist/Makefile
12021 samples/richedit/Makefile
12022 samples/resource/Makefile
12023 samples/sashtest/Makefile
12024 samples/scroll/Makefile
12025 samples/scrollsub/Makefile
12026 samples/splitter/Makefile
12027 samples/text/Makefile
12028 samples/thread/Makefile
12029 samples/toolbar/Makefile
12030 samples/treectrl/Makefile
12031 samples/typetest/Makefile
12032 samples/validate/Makefile
12033 samples/wxpoem/Makefile
12034 samples/wxsocket/Makefile
12035 samples/wizard/Makefile
12036 samples/html/Makefile
12037 samples/html/about/Makefile
12038 samples/html/help/Makefile
12039 samples/html/printing/Makefile
12040 samples/html/helpview/Makefile
12041 samples/html/test/Makefile
12042 samples/html/zip/Makefile
12043 samples/html/virtual/Makefile
12044 samples/html/widget/Makefile
12046 utils/wxMMedia2/Makefile
12047 utils/wxMMedia2/lib/Makefile
12048 utils/wxMMedia2/sample/Makefile
12049 utils/glcanvas/Makefile
12050 utils/glcanvas/${GL_TOOLKIT_DIR}/Makefile
12052 utils/ogl/src/Makefile
12055 cat >> $CONFIG_STATUS <<\EOF
12056 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
12057 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
12059 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
12060 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
12061 *) ac_file_in
="${ac_file}.in" ;;
12064 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
12066 # Remove last slash and all that follows it. Not all systems have dirname.
12067 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
12068 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
12069 # The file is in a subdirectory.
12070 test ! -d "$ac_dir" && mkdir "$ac_dir"
12071 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
12072 # A "../" for each directory in $ac_dir_suffix.
12073 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
12075 ac_dir_suffix
= ac_dots
=
12078 case "$ac_given_srcdir" in
12080 if test -z "$ac_dots"; then top_srcdir
=.
12081 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
12082 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
12083 *) # Relative path.
12084 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
12085 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
12088 case "$ac_given_INSTALL" in
12089 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
12090 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
12093 echo creating
"$ac_file"
12095 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
12097 *Makefile
*) ac_comsub
="1i\\
12098 # $configure_input" ;;
12102 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
12104 s%@configure_input@%$configure_input%g
12105 s%@srcdir@%$srcdir%g
12106 s%@top_srcdir@%$top_srcdir%g
12107 s%@INSTALL@%$INSTALL%g
12108 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
12112 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
12113 # NAME is the cpp macro being defined and VALUE is the value it is being given.
12115 # ac_d sets the value in "#define NAME VALUE" lines.
12116 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
12117 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
12120 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
12121 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
12122 ac_uB
='\([ ]\)%\1#\2define\3'
12125 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
12126 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
12127 ac_eB
='$%\1#\2define\3'
12131 if test "${CONFIG_HEADERS+set}" != set; then
12133 cat >> $CONFIG_STATUS <<EOF
12134 CONFIG_HEADERS="setup.h:setup.h.in"
12136 cat >> $CONFIG_STATUS <<\EOF
12138 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
12139 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
12141 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
12142 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
12143 *) ac_file_in
="${ac_file}.in" ;;
12146 echo creating
$ac_file
12148 rm -f conftest.frag conftest.
in conftest.out
12149 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
12150 cat $ac_file_inputs > conftest.
in
12154 # Transform confdefs.h into a sed script conftest.vals that substitutes
12155 # the proper values into config.h.in to produce config.h. And first:
12156 # Protect against being on the right side of a sed subst in config.status.
12157 # Protect against being in an unquoted here document in config.status.
12158 rm -f conftest.vals
12159 cat > conftest.hdr
<<\EOF
12162 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
12166 sed -n -f conftest.hdr confdefs.h > conftest.vals
12169 # This sed command replaces #undef with comments. This is necessary, for
12170 # example, in the case of _POSIX_SOURCE, which is predefined and required
12171 # on some systems where configure will not decide to define it.
12172 cat >> conftest.vals <<\EOF
12173 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
12176 # Break up conftest.vals because some shells have a limit on
12177 # the size of here documents, and old seds have small limits too.
12179 rm -f conftest.tail
12182 ac_lines=`grep -c . conftest.vals
`
12183 # grep -c gives empty output for an empty file on some AIX systems.
12184 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
12185 # Write a limited-size here document to conftest.frag.
12186 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
12187 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
12189 sed -f conftest.frag conftest.in > conftest.out
12191 mv conftest.out conftest.in
12192 ' >> $CONFIG_STATUS
12193 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
12194 rm -f conftest.vals
12195 mv conftest.tail conftest.vals
12197 rm -f conftest.vals
12199 cat >> $CONFIG_STATUS <<\EOF
12200 rm -f conftest.frag conftest.h
12201 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
12202 cat conftest.in >> conftest.h
12204 if cmp -s $ac_file conftest.h 2>/dev/null; then
12205 echo "$ac_file is unchanged"
12208 # Remove last slash and all that follows it. Not all systems have dirname.
12209 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
12210 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
12211 # The file is in a subdirectory.
12212 test ! -d "$ac_dir" && mkdir "$ac_dir"
12215 mv conftest.h $ac_file
12220 cat >> $CONFIG_STATUS <<EOF
12222 TOOLKIT_DIR="${TOOLKIT_DIR}"
12226 cat >> $CONFIG_STATUS <<\EOF
12229 if test ! -d include; then
12232 if test ! -d include/wx; then
12235 if test ! -d include/wx/${TOOLKIT_DIR}; then
12236 mkdir include/wx/${TOOLKIT_DIR}
12238 if test -f setup.h; then
12239 mv -f setup.h include/wx/${TOOLKIT_DIR}/setup.h
12244 chmod +x $CONFIG_STATUS
12245 rm -fr confdefs* $ac_clean_files
12246 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1