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 --with-x use the X Window System"
268 # Initialize some variables set by options.
269 # The variables have the same names as the options, with
270 # dashes changed to underlines.
272 cache_file
=.
/config.cache
281 program_transform_name
=s
,x
,x
,
289 bindir
='${exec_prefix}/bin'
290 sbindir
='${exec_prefix}/sbin'
291 libexecdir
='${exec_prefix}/libexec'
292 datadir
='${prefix}/share'
293 sysconfdir
='${prefix}/etc'
294 sharedstatedir
='${prefix}/com'
295 localstatedir
='${prefix}/var'
296 libdir
='${exec_prefix}/lib'
297 includedir
='${prefix}/include'
298 oldincludedir
='/usr/include'
299 infodir
='${prefix}/info'
300 mandir
='${prefix}/man'
302 # Initialize some other variables.
305 SHELL
=${CONFIG_SHELL-/bin/sh}
306 # Maximum number of lines to put in a shell here document.
313 # If the previous option needs an argument, assign it.
314 if test -n "$ac_prev"; then
315 eval "$ac_prev=\$ac_option"
321 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
325 # Accept the important Cygnus configure options, so we can diagnose typos.
329 -bindir | --bindir | --bindi | --bind | --bin | --bi)
331 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
332 bindir
="$ac_optarg" ;;
334 -build | --build | --buil | --bui | --bu)
336 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
337 build
="$ac_optarg" ;;
339 -cache-file | --cache-file | --cache-fil | --cache-fi \
340 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
341 ac_prev
=cache_file
;;
342 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
343 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
344 cache_file
="$ac_optarg" ;;
346 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
348 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
350 datadir
="$ac_optarg" ;;
352 -disable-* | --disable-*)
353 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
354 # Reject names that are not valid shell variable names.
355 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
356 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
358 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
359 eval "enable_${ac_feature}=no" ;;
361 -enable-* | --enable-*)
362 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
363 # Reject names that are not valid shell variable names.
364 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
365 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
367 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
372 eval "enable_${ac_feature}='$ac_optarg'" ;;
374 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
375 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
376 | --exec | --exe | --ex)
377 ac_prev
=exec_prefix
;;
378 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
379 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
380 | --exec=* | --exe=* | --ex=*)
381 exec_prefix
="$ac_optarg" ;;
383 -gas | --gas | --ga | --g)
384 # Obsolete; use --with-gas.
387 -help | --help | --hel | --he)
388 # Omit some internal or obsolete options to make the list less imposing.
389 # This message is too long to be a string in the A/UX 3.1 sh.
391 Usage: configure [options] [host]
392 Options: [defaults in brackets after descriptions]
394 --cache-file=FILE cache test results in FILE
395 --help print this message
396 --no-create do not create output files
397 --quiet, --silent do not print \`checking...' messages
398 --version print the version of autoconf that created configure
399 Directory and file names:
400 --prefix=PREFIX install architecture-independent files in PREFIX
402 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
404 --bindir=DIR user executables in DIR [EPREFIX/bin]
405 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
406 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
407 --datadir=DIR read-only architecture-independent data in DIR
409 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
410 --sharedstatedir=DIR modifiable architecture-independent data in DIR
412 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
413 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
414 --includedir=DIR C header files in DIR [PREFIX/include]
415 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
416 --infodir=DIR info documentation in DIR [PREFIX/info]
417 --mandir=DIR man documentation in DIR [PREFIX/man]
418 --srcdir=DIR find the sources in DIR [configure dir or ..]
419 --program-prefix=PREFIX prepend PREFIX to installed program names
420 --program-suffix=SUFFIX append SUFFIX to installed program names
421 --program-transform-name=PROGRAM
422 run sed PROGRAM on installed program names
426 --build=BUILD configure for building on BUILD [BUILD=HOST]
427 --host=HOST configure for HOST [guessed]
428 --target=TARGET configure for TARGET [TARGET=HOST]
429 Features and packages:
430 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
431 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
432 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
433 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
434 --x-includes=DIR X include files are in DIR
435 --x-libraries=DIR X library files are in DIR
437 if test -n "$ac_help"; then
438 echo "--enable and --with options recognized:$ac_help"
442 -host | --host | --hos | --ho)
444 -host=* | --host=* | --hos=* | --ho=*)
447 -includedir | --includedir | --includedi | --included | --include \
448 | --includ | --inclu | --incl | --inc)
449 ac_prev
=includedir
;;
450 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
451 | --includ=* | --inclu=* | --incl=* | --inc=*)
452 includedir
="$ac_optarg" ;;
454 -infodir | --infodir | --infodi | --infod | --info | --inf)
456 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
457 infodir
="$ac_optarg" ;;
459 -libdir | --libdir | --libdi | --libd)
461 -libdir=* | --libdir=* | --libdi=* | --libd=*)
462 libdir
="$ac_optarg" ;;
464 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
465 | --libexe | --libex | --libe)
466 ac_prev
=libexecdir
;;
467 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
468 | --libexe=* | --libex=* | --libe=*)
469 libexecdir
="$ac_optarg" ;;
471 -localstatedir | --localstatedir | --localstatedi | --localstated \
472 | --localstate | --localstat | --localsta | --localst \
473 | --locals | --local | --loca | --loc | --lo)
474 ac_prev
=localstatedir
;;
475 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
476 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
477 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
478 localstatedir
="$ac_optarg" ;;
480 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
482 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
483 mandir
="$ac_optarg" ;;
486 # Obsolete; use --without-fp.
489 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
493 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
494 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
497 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
498 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
499 | --oldin | --oldi | --old | --ol | --o)
500 ac_prev
=oldincludedir
;;
501 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
502 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
503 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
504 oldincludedir
="$ac_optarg" ;;
506 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
508 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
509 prefix
="$ac_optarg" ;;
511 -program-prefix | --program-prefix | --program-prefi | --program-pref \
512 | --program-pre | --program-pr | --program-p)
513 ac_prev
=program_prefix
;;
514 -program-prefix=* | --program-prefix=* | --program-prefi=* \
515 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
516 program_prefix
="$ac_optarg" ;;
518 -program-suffix | --program-suffix | --program-suffi | --program-suff \
519 | --program-suf | --program-su | --program-s)
520 ac_prev
=program_suffix
;;
521 -program-suffix=* | --program-suffix=* | --program-suffi=* \
522 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
523 program_suffix
="$ac_optarg" ;;
525 -program-transform-name | --program-transform-name \
526 | --program-transform-nam | --program-transform-na \
527 | --program-transform-n | --program-transform- \
528 | --program-transform | --program-transfor \
529 | --program-transfo | --program-transf \
530 | --program-trans | --program-tran \
531 | --progr-tra | --program-tr | --program-t)
532 ac_prev
=program_transform_name
;;
533 -program-transform-name=* | --program-transform-name=* \
534 | --program-transform-nam=* | --program-transform-na=* \
535 | --program-transform-n=* | --program-transform-=* \
536 | --program-transform=* | --program-transfor=* \
537 | --program-transfo=* | --program-transf=* \
538 | --program-trans=* | --program-tran=* \
539 | --progr-tra=* | --program-tr=* | --program-t=*)
540 program_transform_name
="$ac_optarg" ;;
542 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
543 | -silent | --silent | --silen | --sile | --sil)
546 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
548 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
550 sbindir
="$ac_optarg" ;;
552 -sharedstatedir | --sharedstatedir | --sharedstatedi \
553 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
554 | --sharedst | --shareds | --shared | --share | --shar \
556 ac_prev
=sharedstatedir
;;
557 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
558 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
559 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
561 sharedstatedir
="$ac_optarg" ;;
563 -site | --site | --sit)
565 -site=* | --site=* | --sit=*)
568 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
570 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
571 srcdir
="$ac_optarg" ;;
573 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
574 | --syscon | --sysco | --sysc | --sys | --sy)
575 ac_prev
=sysconfdir
;;
576 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
577 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
578 sysconfdir
="$ac_optarg" ;;
580 -target | --target | --targe | --targ | --tar | --ta | --t)
582 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
583 target
="$ac_optarg" ;;
585 -v | -verbose | --verbose | --verbos | --verbo | --verb)
588 -version | --version | --versio | --versi | --vers)
589 echo "configure generated by autoconf version 2.13"
593 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
594 # Reject names that are not valid shell variable names.
595 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
596 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
598 ac_package
=`echo $ac_package| sed 's/-/_/g'`
603 eval "with_${ac_package}='$ac_optarg'" ;;
605 -without-* | --without-*)
606 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
607 # Reject names that are not valid shell variable names.
608 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
609 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
611 ac_package
=`echo $ac_package| sed 's/-/_/g'`
612 eval "with_${ac_package}=no" ;;
615 # Obsolete; use --with-x.
618 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
619 | --x-incl | --x-inc | --x-in | --x-i)
620 ac_prev
=x_includes
;;
621 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
622 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
623 x_includes
="$ac_optarg" ;;
625 -x-libraries | --x-libraries | --x-librarie | --x-librari \
626 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
627 ac_prev
=x_libraries
;;
628 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
629 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
630 x_libraries
="$ac_optarg" ;;
632 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
636 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
637 echo "configure: warning: $ac_option: invalid host type" 1>&2
639 if test "x$nonopt" != xNONE
; then
640 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
648 if test -n "$ac_prev"; then
649 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
652 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
654 # File descriptor usage:
657 # 2 errors and warnings
658 # 3 some systems may open it to /dev/tty
659 # 4 used on the Kubota Titan
660 # 6 checking for... messages and results
661 # 5 compiler messages saved in config.log
662 if test "$silent" = yes; then
670 This file contains any messages produced by compilers while
671 running configure, to aid debugging if configure makes a mistake.
674 # Strip out --no-create and --no-recursion so they do not pile up.
675 # Also quote any args containing shell metacharacters.
680 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
681 | --no-cr | --no-c) ;;
682 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
683 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
684 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
685 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
686 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
691 # Only set these to C if already set. These must not be set unconditionally
692 # because not all systems understand e.g. LANG=C (notably SCO).
693 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
694 # Non-C LC_CTYPE values break the ctype check.
695 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
696 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
697 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
698 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
700 # confdefs.h avoids OS command line length limits that DEFS can exceed.
701 rm -rf conftest
* confdefs.h
702 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
705 # A filename unique to this package, relative to the directory that
706 # configure is in, which we can look for to find out if srcdir is correct.
707 ac_unique_file
=wx
-config.
in
709 # Find the source files, if location was not specified.
710 if test -z "$srcdir"; then
711 ac_srcdir_defaulted
=yes
712 # Try the directory containing this script, then its parent.
714 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
715 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
717 if test ! -r $srcdir/$ac_unique_file; then
721 ac_srcdir_defaulted
=no
723 if test ! -r $srcdir/$ac_unique_file; then
724 if test "$ac_srcdir_defaulted" = yes; then
725 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
727 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
730 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
732 # Prefer explicitly selected file to automatically selected ones.
733 if test -z "$CONFIG_SITE"; then
734 if test "x$prefix" != xNONE
; then
735 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
737 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
740 for ac_site_file
in $CONFIG_SITE; do
741 if test -r "$ac_site_file"; then
742 echo "loading site script $ac_site_file"
747 if test -r "$cache_file"; then
748 echo "loading cache $cache_file"
751 echo "creating cache $cache_file"
756 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
757 ac_cpp
='$CPP $CPPFLAGS'
758 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
759 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
760 cross_compiling
=$ac_cv_prog_cc_cross
764 if (echo "testing\c"; echo 1,2,3) | grep c
>/dev
/null
; then
765 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
766 if (echo -n testing
; echo 1,2,3) | sed s
/-n/xn
/ | grep xn
>/dev
/null
; then
773 ac_n
= ac_c
='\c' ac_t
=
779 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
780 if test -f $ac_dir/install-sh; then
782 ac_install_sh
="$ac_aux_dir/install-sh -c"
784 elif test -f $ac_dir/install.sh
; then
786 ac_install_sh
="$ac_aux_dir/install.sh -c"
790 if test -z "$ac_aux_dir"; then
791 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
793 ac_config_guess
=$ac_aux_dir/config.guess
794 ac_config_sub
=$ac_aux_dir/config.sub
795 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
798 # Do some error checking and defaulting for the host and target type.
800 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
803 # 1. You are not allowed to specify --host, --target, and nonopt at the
805 # 2. Host defaults to nonopt.
806 # 3. If nonopt is not specified, then host defaults to the current host,
807 # as determined by config.guess.
808 # 4. Target and build default to nonopt.
809 # 5. If nonopt is not specified, then target and build default to host.
811 # The aliases save the names the user supplied, while $host etc.
812 # will get canonicalized.
813 case $host---$target---$nonopt in
814 NONE
---*---* | *---NONE---* | *---*---NONE) ;;
815 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
819 # Make sure we can run config.sub.
820 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
821 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
824 echo $ac_n "checking host system type""... $ac_c" 1>&6
825 echo "configure:826: checking host system type" >&5
828 case "$host_alias" in
832 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
833 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
835 *) host_alias
=$nonopt ;;
839 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
840 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
841 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
842 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
843 echo "$ac_t""$host" 1>&6
845 echo $ac_n "checking target system type""... $ac_c" 1>&6
846 echo "configure:847: checking target system type" >&5
849 case "$target_alias" in
852 NONE
) target_alias
=$host_alias ;;
853 *) target_alias
=$nonopt ;;
857 target
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
858 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
859 target_vendor
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
860 target_os
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
861 echo "$ac_t""$target" 1>&6
863 echo $ac_n "checking build system type""... $ac_c" 1>&6
864 echo "configure:865: checking build system type" >&5
867 case "$build_alias" in
870 NONE
) build_alias
=$host_alias ;;
871 *) build_alias
=$nonopt ;;
875 build
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
876 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
877 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
878 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
879 echo "$ac_t""$build" 1>&6
881 test "$host_alias" != "$target_alias" &&
882 test "$program_prefix$program_suffix$program_transform_name" = \
884 program_prefix
=${target_alias}-
888 WX_MAJOR_VERSION_NUMBER
=2
889 WX_MINOR_VERSION_NUMBER
=1
895 WX_VERSION
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER.
$WX_RELEASE_NUMBER
897 WX_RELEASE
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER
898 WX_CURRENT
=`expr $WX_RELEASE_NUMBER - $WX_INTERFACE_AGE`
899 WX_REVISION
=$WX_INTERFACE_AGE
900 WX_AGE
=`expr $WX_BINARY_AGE - $WX_INTERFACE_AGE`
924 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
926 ALL_TOOLKITS
="CYGWIN GTK MINGW MOTIF WINE"
929 DEFAULT_wxUSE_MOTIF
=0
933 DEFAULT_DEFAULT_wxUSE_GTK
=0
934 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
935 DEFAULT_DEFAULT_wxUSE_MSW
=0
936 DEFAULT_DEFAULT_wxUSE_WINE
=0
941 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
942 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
943 cat >> confdefs.h
<<\EOF
950 cat >> confdefs.h
<<\EOF
955 if test "x$TMP" = "xalpha"; then
957 cat >> confdefs.h
<<\EOF
962 DEFAULT_DEFAULT_wxUSE_GTK
=1
964 *-*-irix5* | *-*-irix6* )
967 cat >> confdefs.h
<<\EOF
971 cat >> confdefs.h
<<\EOF
975 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
981 cat >> confdefs.h
<<\EOF
985 cat >> confdefs.h
<<\EOF
986 #define __SOLARIS__ 1
989 cat >> confdefs.h
<<\EOF
993 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
994 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1000 cat >> confdefs.h
<<\EOF
1004 cat >> confdefs.h
<<\EOF
1008 cat >> confdefs.h
<<\EOF
1012 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1014 *-*-freebsd* | *-*-netbsd*)
1017 cat >> confdefs.h
<<\EOF
1018 #define __FREEBSD__ 1
1021 cat >> confdefs.h
<<\EOF
1025 DEFAULT_DEFAULT_wxUSE_GTK
=1
1030 cat >> confdefs.h
<<\EOF
1034 cat >> confdefs.h
<<\EOF
1038 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1043 cat >> confdefs.h
<<\EOF
1047 cat >> confdefs.h
<<\EOF
1051 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1056 cat >> confdefs.h
<<\EOF
1060 cat >> confdefs.h
<<\EOF
1064 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1070 cat >> confdefs.h
<<\EOF
1074 cat >> confdefs.h
<<\EOF
1078 cat >> confdefs.h
<<\EOF
1082 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1088 cat >> confdefs.h
<<\EOF
1092 cat >> confdefs.h
<<\EOF
1096 cat >> confdefs.h
<<\EOF
1097 #define __WINDOWS__ 1
1100 cat >> confdefs.h
<<\EOF
1101 #define __GNUWIN32__ 1
1104 cat >> confdefs.h
<<\EOF
1108 cat >> confdefs.h
<<\EOF
1109 #define WINVER 0x0400
1112 DEFAULT_DEFAULT_wxUSE_MSW
=1
1117 cat >> confdefs.h
<<\EOF
1121 cat >> confdefs.h
<<\EOF
1125 cat >> confdefs.h
<<\EOF
1126 #define __WINDOWS__ 1
1129 cat >> confdefs.h
<<\EOF
1130 #define __GNUWIN32__ 1
1133 cat >> confdefs.h
<<\EOF
1137 cat >> confdefs.h
<<\EOF
1138 #define WINVER 0x0400
1141 DEFAULT_DEFAULT_wxUSE_MSW
=1
1145 cat >> confdefs.h
<<\EOF
1152 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
1155 if test "$USE_UNIX" = 1 ; then
1157 cat >> confdefs.h
<<\EOF
1161 SRC_SUBDIRS
="$SRC_SUBDIRS unix"
1162 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS unix"
1165 if test "$USE_LINUX" = 1; then
1166 echo $ac_n "checking for gettext in -lc""... $ac_c" 1>&6
1167 echo "configure:1168: checking for gettext in -lc" >&5
1168 ac_lib_var
=`echo c'_'gettext | sed 'y%./+-%__p_%'`
1169 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1170 echo $ac_n "(cached) $ac_c" 1>&6
1172 ac_save_LIBS
="$LIBS"
1174 cat > conftest.
$ac_ext <<EOF
1175 #line 1176 "configure"
1176 #include "confdefs.h"
1177 /* Override any gcc2 internal prototype to avoid an error. */
1178 /* We use char because int might match the return type of a gcc2
1179 builtin and then its argument prototype would still apply. */
1186 if { (eval echo configure
:1187: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
1188 eval "ac_cv_lib_$ac_lib_var=yes"
1190 echo "configure: failed program was:" >&5
1191 cat conftest.
$ac_ext >&5
1193 eval "ac_cv_lib_$ac_lib_var=no"
1196 LIBS
="$ac_save_LIBS"
1199 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1200 echo "$ac_t""yes" 1>&6
1201 cat >> confdefs.h
<<\EOF
1202 #define wxHAVE_GLIBC2 1
1206 echo "$ac_t""no" 1>&6
1214 wx_arg_cache_file
="configarg.cache"
1215 echo "loading argument cache $wx_arg_cache_file"
1216 rm -f ${wx_arg_cache_file}.tmp
1217 touch ${wx_arg_cache_file}.tmp
1218 touch ${wx_arg_cache_file}
1222 if test $DEBUG_CONFIGURE = 1; then
1223 DEFAULT_wxUSE_THREADS
=yes
1225 DEFAULT_wxUSE_SHARED
=yes
1226 DEFAULT_wxUSE_OPTIMISE
=yes
1227 DEFAULT_wxUSE_PROFILE
=no
1228 DEFAULT_wxUSE_NO_DEPS
=no
1229 DEFAULT_wxUSE_NO_RTTI
=no
1230 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1231 DEFAULT_wxUSE_PERMISSIVE
=no
1232 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1233 DEFAULT_wxUSE_DEBUG_INFO
=yes
1234 DEFAULT_wxUSE_DEBUG_GDB
=yes
1235 DEFAULT_wxUSE_MEM_TRACING
=no
1236 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1237 DEFAULT_wxUSE_DMALLOC
=no
1238 DEFAULT_wxUSE_APPLE_IEEE
=no
1240 DEFAULT_wxUSE_LOG
=yes
1242 DEFAULT_wxUSE_GUI
=yes
1244 DEFAULT_wxUSE_ZLIB
=no
1245 DEFAULT_wxUSE_LIBPNG
=no
1246 DEFAULT_wxUSE_LIBJPEG
=no
1247 DEFAULT_wxUSE_ODBC
=no
1249 DEFAULT_wxUSE_STD_IOSTREAM
=no
1250 DEFAULT_wxUSE_FILE
=no
1251 DEFAULT_wxUSE_TEXTFILE
=no
1252 DEFAULT_wxUSE_TIMEDATE
=no
1253 DEFAULT_wxUSE_WAVE
=no
1254 DEFAULT_wxUSE_INTL
=no
1255 DEFAULT_wxUSE_CONFIG
=no
1256 DEFAULT_wxUSE_STREAMS
=no
1257 DEFAULT_wxUSE_SOCKETS
=no
1258 DEFAULT_wxUSE_DIALUP_MANAGER
=no
1259 DEFAULT_wxUSE_SERIAL
=no
1260 DEFAULT_wxUSE_JOYSTICK
=no
1261 DEFAULT_wxUSE_DYNLIB_CLASS
=no
1262 DEFAULT_wxUSE_LONGLONG
=no
1264 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
1265 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
1266 DEFAULT_wxUSE_POSTSCRIPT
=no
1268 DEFAULT_wxUSE_X_RESOURCES
=no
1269 DEFAULT_wxUSE_CLIPBOARD
=no
1270 DEFAULT_wxUSE_TOOLTIPS
=no
1271 DEFAULT_wxUSE_DRAG_AND_DROP
=no
1272 DEFAULT_wxUSE_SPLINES
=no
1274 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
1275 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
1276 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
1278 DEFAULT_wxUSE_PROLOGIO
=no
1279 DEFAULT_wxUSE_RESOURCES
=no
1280 DEFAULT_wxUSE_CONSTRAINTS
=no
1281 DEFAULT_wxUSE_IPC
=no
1282 DEFAULT_wxUSE_HELP
=no
1283 DEFAULT_wxUSE_WXTREE
=no
1284 DEFAULT_wxUSE_METAFILE
=no
1286 DEFAULT_wxUSE_COMMONDLGS
=no
1287 DEFAULT_wxUSE_DIRDLG
=no
1288 DEFAULT_wxUSE_TEXTDLG
=no
1289 DEFAULT_wxUSE_STARTUP_TIPS
=no
1290 DEFAULT_wxUSE_PROGRESSDLG
=no
1291 DEFAULT_wxUSE_MINIFRAME
=no
1292 DEFAULT_wxUSE_HTML
=no
1293 DEFAULT_wxUSE_FS_INET
=no
1294 DEFAULT_wxUSE_FS_ZIP
=no
1295 DEFAULT_wxUSE_BUSYINFO
=no
1296 DEFAULT_wxUSE_ZIPSTREAM
=no
1297 DEFAULT_wxUSE_VALIDATORS
=yes
1299 DEFAULT_wxUSE_ACCEL
=no
1300 DEFAULT_wxUSE_CARET
=no
1301 DEFAULT_wxUSE_BMPBUTTON
=no
1302 DEFAULT_wxUSE_CHECKBOX
=no
1303 DEFAULT_wxUSE_CHECKLST
=no
1304 DEFAULT_wxUSE_CHOICE
=yes
1305 DEFAULT_wxUSE_COMBOBOX
=no
1306 DEFAULT_wxUSE_GAUGE
=no
1307 DEFAULT_wxUSE_GRID
=no
1308 DEFAULT_wxUSE_NEW_GRID
=no
1309 DEFAULT_wxUSE_IMAGLIST
=no
1310 DEFAULT_wxUSE_LISTBOX
=no
1311 DEFAULT_wxUSE_LISTCTRL
=no
1312 DEFAULT_wxUSE_NOTEBOOK
=no
1313 DEFAULT_wxUSE_RADIOBOX
=no
1314 DEFAULT_wxUSE_RADIOBTN
=no
1315 DEFAULT_wxUSE_SASH
=no
1316 DEFAULT_wxUSE_SCROLLBAR
=no
1317 DEFAULT_wxUSE_SLIDER
=no
1318 DEFAULT_wxUSE_SPINBTN
=no
1319 DEFAULT_wxUSE_SPLITTER
=no
1320 DEFAULT_wxUSE_STATBMP
=no
1321 DEFAULT_wxUSE_STATBOX
=no
1322 DEFAULT_wxUSE_STATLINE
=no
1323 DEFAULT_wxUSE_STATUSBAR
=yes
1324 DEFAULT_wxUSE_TABDIALOG
=no
1325 DEFAULT_wxUSE_TOOLBAR
=no
1326 DEFAULT_wxUSE_TREECTRL
=no
1328 DEFAULT_wxUSE_UNICODE
=no
1329 DEFAULT_wxUSE_WCSRTOMBS
=no
1331 DEFAULT_wxUSE_GIF
=no
1332 DEFAULT_wxUSE_PCX
=no
1333 DEFAULT_wxUSE_PNM
=no
1335 DEFAULT_wxUSE_THREADS
=yes
1337 DEFAULT_wxUSE_SHARED
=yes
1338 DEFAULT_wxUSE_OPTIMISE
=yes
1339 DEFAULT_wxUSE_PROFILE
=no
1340 DEFAULT_wxUSE_NO_DEPS
=no
1341 DEFAULT_wxUSE_NO_RTTI
=no
1342 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1343 DEFAULT_wxUSE_PERMISSIVE
=no
1344 DEFAULT_wxUSE_DEBUG_FLAG
=no
1345 DEFAULT_wxUSE_DEBUG_INFO
=no
1346 DEFAULT_wxUSE_DEBUG_GDB
=no
1347 DEFAULT_wxUSE_MEM_TRACING
=no
1348 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1349 DEFAULT_wxUSE_DMALLOC
=no
1350 DEFAULT_wxUSE_APPLE_IEEE
=yes
1352 DEFAULT_wxUSE_LOG
=yes
1354 DEFAULT_wxUSE_GUI
=yes
1356 DEFAULT_wxUSE_ZLIB
=yes
1357 DEFAULT_wxUSE_LIBPNG
=yes
1358 DEFAULT_wxUSE_LIBJPEG
=yes
1359 DEFAULT_wxUSE_ODBC
=yes
1361 DEFAULT_wxUSE_STD_IOSTREAM
=no
1362 DEFAULT_wxUSE_FILE
=yes
1363 DEFAULT_wxUSE_TEXTFILE
=yes
1364 DEFAULT_wxUSE_TIMEDATE
=yes
1365 DEFAULT_wxUSE_WAVE
=no
1366 DEFAULT_wxUSE_INTL
=yes
1367 DEFAULT_wxUSE_CONFIG
=yes
1368 DEFAULT_wxUSE_STREAMS
=yes
1369 DEFAULT_wxUSE_SOCKETS
=yes
1370 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
1371 DEFAULT_wxUSE_SERIAL
=yes
1372 DEFAULT_wxUSE_JOYSTICK
=yes
1373 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
1374 DEFAULT_wxUSE_LONGLONG
=no
1376 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
1377 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
1378 DEFAULT_wxUSE_POSTSCRIPT
=yes
1380 DEFAULT_wxUSE_X_RESOURCES
=no
1381 DEFAULT_wxUSE_CLIPBOARD
=yes
1382 DEFAULT_wxUSE_TOOLTIPS
=yes
1383 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
1384 DEFAULT_wxUSE_SPLINES
=yes
1386 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
1387 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
1388 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
1390 DEFAULT_wxUSE_PROLOGIO
=yes
1391 DEFAULT_wxUSE_RESOURCES
=yes
1392 DEFAULT_wxUSE_CONSTRAINTS
=yes
1393 DEFAULT_wxUSE_IPC
=yes
1394 DEFAULT_wxUSE_HELP
=yes
1395 DEFAULT_wxUSE_WXTREE
=yes
1396 DEFAULT_wxUSE_METAFILE
=yes
1398 DEFAULT_wxUSE_COMMONDLGS
=yes
1399 DEFAULT_wxUSE_DIRDLG
=yes
1400 DEFAULT_wxUSE_TEXTDLG
=yes
1401 DEFAULT_wxUSE_STARTUP_TIPS
=yes
1402 DEFAULT_wxUSE_PROGRESSDLG
=yes
1403 DEFAULT_wxUSE_MINIFRAME
=yes
1404 DEFAULT_wxUSE_HTML
=yes
1405 DEFAULT_wxUSE_FS_INET
=yes
1406 DEFAULT_wxUSE_FS_ZIP
=yes
1407 DEFAULT_wxUSE_BUSYINFO
=yes
1408 DEFAULT_wxUSE_ZIPSTREAM
=yes
1409 DEFAULT_wxUSE_VALIDATORS
=yes
1411 DEFAULT_wxUSE_ACCEL
=yes
1412 DEFAULT_wxUSE_CARET
=yes
1413 DEFAULT_wxUSE_BMPBUTTON
=yes
1414 DEFAULT_wxUSE_CHECKBOX
=yes
1415 DEFAULT_wxUSE_CHECKLST
=yes
1416 DEFAULT_wxUSE_CHOICE
=yes
1417 DEFAULT_wxUSE_COMBOBOX
=yes
1418 DEFAULT_wxUSE_GAUGE
=yes
1419 DEFAULT_wxUSE_GRID
=yes
1420 DEFAULT_wxUSE_NEW_GRID
=no
1421 DEFAULT_wxUSE_IMAGLIST
=yes
1422 DEFAULT_wxUSE_LISTBOX
=yes
1423 DEFAULT_wxUSE_LISTCTRL
=yes
1424 DEFAULT_wxUSE_NOTEBOOK
=yes
1425 DEFAULT_wxUSE_RADIOBOX
=yes
1426 DEFAULT_wxUSE_RADIOBTN
=yes
1427 DEFAULT_wxUSE_SASH
=yes
1428 DEFAULT_wxUSE_SCROLLBAR
=yes
1429 DEFAULT_wxUSE_SLIDER
=yes
1430 DEFAULT_wxUSE_SPINBTN
=yes
1431 DEFAULT_wxUSE_SPLITTER
=yes
1432 DEFAULT_wxUSE_STATBMP
=yes
1433 DEFAULT_wxUSE_STATBOX
=yes
1434 DEFAULT_wxUSE_STATLINE
=yes
1435 DEFAULT_wxUSE_STATUSBAR
=yes
1436 DEFAULT_wxUSE_TABDIALOG
=no
1437 DEFAULT_wxUSE_TOOLBAR
=yes
1438 DEFAULT_wxUSE_TREECTRL
=yes
1440 DEFAULT_wxUSE_UNICODE
=no
1441 DEFAULT_wxUSE_WCSRTOMBS
=no
1443 DEFAULT_wxUSE_GIF
=yes
1444 DEFAULT_wxUSE_PCX
=yes
1445 DEFAULT_wxUSE_PNM
=yes
1450 for toolkit
in `echo $ALL_TOOLKITS`; do
1451 LINE
=`grep "wxUSE_$toolkit" ${wx_arg_cache_file}`
1452 if test "x$LINE" != x
; then
1453 has_toolkit_in_cache
=1
1454 eval "DEFAULT_$LINE"
1455 eval "CACHE_$toolkit=1"
1461 echo $ac_n "checking "for --enable-gui"""... $ac_c" 1>&6
1462 echo "configure:1463: checking "for --enable-gui"" >&5
1464 # Check whether --enable-gui or --disable-gui was given.
1465 if test "${enable_gui+set}" = set; then
1466 enableval
="$enable_gui"
1468 if test "$enableval" = yes; then
1469 ac_cv_use_gui
='wxUSE_GUI=yes'
1471 ac_cv_use_gui
='wxUSE_GUI=no'
1476 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
1477 if test "x$LINE" != x
; then
1478 eval "DEFAULT_$LINE"
1483 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
1488 eval "$ac_cv_use_gui"
1489 if test "$no_cache" != 1; then
1490 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
1493 if test "$wxUSE_GUI" = yes; then
1494 echo "$ac_t""yes" 1>&6
1496 echo "$ac_t""no" 1>&6
1500 if test "$wxUSE_GUI" = "no"; then
1501 DEFAULT_wxUSE_ZLIB
=no
1502 DEFAULT_wxUSE_LIBPNG
=no
1503 DEFAULT_wxUSE_LIBJPEG
=no
1504 DEFAULT_wxUSE_SOCKETS
=no
1505 DEFAULT_wxUSE_JOYSTICK
=no
1506 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
1507 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
1508 DEFAULT_wxUSE_POSTSCRIPT
=no
1509 DEFAULT_wxUSE_X_RESOURCES
=no
1510 DEFAULT_wxUSE_CLIPBOARD
=no
1511 DEFAULT_wxUSE_TOOLTIPS
=no
1512 DEFAULT_wxUSE_DRAG_AND_DROP
=no
1513 DEFAULT_wxUSE_SPLINES
=no
1514 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
1515 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
1516 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
1517 DEFAULT_wxUSE_PROLOGIO
=no
1518 DEFAULT_wxUSE_RESOURCES
=no
1519 DEFAULT_wxUSE_CONSTRAINTS
=no
1520 DEFAULT_wxUSE_IPC
=no
1521 DEFAULT_wxUSE_HELP
=no
1522 DEFAULT_wxUSE_WXTREE
=no
1523 DEFAULT_wxUSE_METAFILE
=no
1524 DEFAULT_wxUSE_COMMONDLGS
=no
1525 DEFAULT_wxUSE_DIRDLG
=no
1526 DEFAULT_wxUSE_TEXTDLG
=no
1527 DEFAULT_wxUSE_STARTUP_TIPS
=no
1528 DEFAULT_wxUSE_PROGRESSDLG
=no
1529 DEFAULT_wxUSE_MINIFRAME
=no
1530 DEFAULT_wxUSE_HTML
=no
1531 DEFAULT_wxUSE_FS_INET
=no
1532 DEFAULT_wxUSE_FS_ZIP
=no
1533 DEFAULT_wxUSE_BUSYINFO
=no
1534 DEFAULT_wxUSE_ZIPSTREAM
=no
1535 DEFAULT_wxUSE_VALIDATORS
=no
1536 DEFAULT_wxUSE_ACCEL
=no
1537 DEFAULT_wxUSE_CARET
=no
1538 DEFAULT_wxUSE_BMPBUTTON
=no
1539 DEFAULT_wxUSE_CHECKBOX
=no
1540 DEFAULT_wxUSE_CHECKLST
=no
1541 DEFAULT_wxUSE_CHOICE
=no
1542 DEFAULT_wxUSE_COMBOBOX
=no
1543 DEFAULT_wxUSE_GAUGE
=no
1544 DEFAULT_wxUSE_GRID
=no
1545 DEFAULT_wxUSE_NEW_GRID
=no
1546 DEFAULT_wxUSE_IMAGLIST
=no
1547 DEFAULT_wxUSE_LISTBOX
=no
1548 DEFAULT_wxUSE_LISTCTRL
=no
1549 DEFAULT_wxUSE_NOTEBOOK
=no
1550 DEFAULT_wxUSE_RADIOBOX
=no
1551 DEFAULT_wxUSE_RADIOBTN
=no
1552 DEFAULT_wxUSE_SASH
=no
1553 DEFAULT_wxUSE_SCROLLBAR
=no
1554 DEFAULT_wxUSE_SLIDER
=no
1555 DEFAULT_wxUSE_SPINBTN
=no
1556 DEFAULT_wxUSE_SPLITTER
=no
1557 DEFAULT_wxUSE_STATBMP
=no
1558 DEFAULT_wxUSE_STATBOX
=no
1559 DEFAULT_wxUSE_STATLINE
=no
1560 DEFAULT_wxUSE_STATUSBAR
=no
1561 DEFAULT_wxUSE_TABDIALOG
=no
1562 DEFAULT_wxUSE_TOOLBAR
=no
1563 DEFAULT_wxUSE_TREECTRL
=no
1564 DEFAULT_wxUSE_GIF
=no
1565 DEFAULT_wxUSE_PCX
=no
1566 DEFAULT_wxUSE_PNM
=no
1569 # Check whether --with-gtk or --without-gtk was given.
1570 if test "${with_gtk+set}" = set; then
1572 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
1575 # Check whether --with-motif or --without-motif was given.
1576 if test "${with_motif+set}" = set; then
1577 withval
="$with_motif"
1578 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
1581 # Check whether --with-wine or --without-wine was given.
1582 if test "${with_wine+set}" = set; then
1583 withval
="$with_wine"
1584 wxUSE_WINE
="$withval" CACHE_WINE
=1 TOOLKIT_GIVEN
=1
1587 # Check whether --with-cygwin or --without-cygwin was given.
1588 if test "${with_cygwin+set}" = set; then
1589 withval
="$with_cygwin"
1590 wxUSE_CYGWIN
="$withval" CACHE_CYGWIN
=1 TOOLKIT_GIVEN
=1
1593 # Check whether --with-mingw or --without-mingw was given.
1594 if test "${with_mingw+set}" = set; then
1595 withval
="$with_mingw"
1596 wxUSE_MINGW
="$withval" CACHE_MINGW
=1 TOOLKIT_GIVEN
=1
1600 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
1601 if test "${with_gtk_prefix+set}" = set; then
1602 withval
="$with_gtk_prefix"
1603 gtk_config_prefix
="$withval"
1605 gtk_config_prefix
=""
1608 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
1609 if test "${with_gtk_exec_prefix+set}" = set; then
1610 withval
="$with_gtk_exec_prefix"
1611 gtk_config_exec_prefix
="$withval"
1613 gtk_config_exec_prefix
=""
1618 echo $ac_n "checking "for --with-dmalloc"""... $ac_c" 1>&6
1619 echo "configure:1620: checking "for --with-dmalloc"" >&5
1621 # Check whether --with-dmalloc or --without-dmalloc was given.
1622 if test "${with_dmalloc+set}" = set; then
1623 withval
="$with_dmalloc"
1625 if test "$withval" = yes; then
1626 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
1628 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
1633 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
1634 if test "x$LINE" != x
; then
1635 eval "DEFAULT_$LINE"
1640 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
1645 eval "$ac_cv_use_dmalloc"
1646 if test "$no_cache" != 1; then
1647 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
1650 if test "$wxUSE_DMALLOC" = yes; then
1651 echo "$ac_t""yes" 1>&6
1653 echo "$ac_t""no" 1>&6
1657 echo $ac_n "checking "for --with-zlib"""... $ac_c" 1>&6
1658 echo "configure:1659: checking "for --with-zlib"" >&5
1660 # Check whether --with-zlib or --without-zlib was given.
1661 if test "${with_zlib+set}" = set; then
1662 withval
="$with_zlib"
1664 if test "$withval" = yes; then
1665 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
1667 ac_cv_use_zlib
='wxUSE_ZLIB=no'
1672 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
1673 if test "x$LINE" != x
; then
1674 eval "DEFAULT_$LINE"
1679 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
1684 eval "$ac_cv_use_zlib"
1685 if test "$no_cache" != 1; then
1686 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
1689 if test "$wxUSE_ZLIB" = yes; then
1690 echo "$ac_t""yes" 1>&6
1692 echo "$ac_t""no" 1>&6
1696 echo $ac_n "checking "for --with-libpng"""... $ac_c" 1>&6
1697 echo "configure:1698: checking "for --with-libpng"" >&5
1699 # Check whether --with-libpng or --without-libpng was given.
1700 if test "${with_libpng+set}" = set; then
1701 withval
="$with_libpng"
1703 if test "$withval" = yes; then
1704 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
1706 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
1711 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
1712 if test "x$LINE" != x
; then
1713 eval "DEFAULT_$LINE"
1718 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
1723 eval "$ac_cv_use_libpng"
1724 if test "$no_cache" != 1; then
1725 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
1728 if test "$wxUSE_LIBPNG" = yes; then
1729 echo "$ac_t""yes" 1>&6
1731 echo "$ac_t""no" 1>&6
1735 echo $ac_n "checking "for --with-libjpeg"""... $ac_c" 1>&6
1736 echo "configure:1737: checking "for --with-libjpeg"" >&5
1738 # Check whether --with-libjpeg or --without-libjpeg was given.
1739 if test "${with_libjpeg+set}" = set; then
1740 withval
="$with_libjpeg"
1742 if test "$withval" = yes; then
1743 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
1745 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
1750 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
1751 if test "x$LINE" != x
; then
1752 eval "DEFAULT_$LINE"
1757 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
1762 eval "$ac_cv_use_libjpeg"
1763 if test "$no_cache" != 1; then
1764 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
1767 if test "$wxUSE_LIBJPEG" = yes; then
1768 echo "$ac_t""yes" 1>&6
1770 echo "$ac_t""no" 1>&6
1774 echo $ac_n "checking "for --with-opengl"""... $ac_c" 1>&6
1775 echo "configure:1776: checking "for --with-opengl"" >&5
1777 # Check whether --with-opengl or --without-opengl was given.
1778 if test "${with_opengl+set}" = set; then
1779 withval
="$with_opengl"
1781 if test "$withval" = yes; then
1782 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
1784 ac_cv_use_opengl
='wxUSE_OPENGL=no'
1789 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
1790 if test "x$LINE" != x
; then
1791 eval "DEFAULT_$LINE"
1796 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
1801 eval "$ac_cv_use_opengl"
1802 if test "$no_cache" != 1; then
1803 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
1806 if test "$wxUSE_OPENGL" = yes; then
1807 echo "$ac_t""yes" 1>&6
1809 echo "$ac_t""no" 1>&6
1813 echo $ac_n "checking "for --with-odbc"""... $ac_c" 1>&6
1814 echo "configure:1815: checking "for --with-odbc"" >&5
1816 # Check whether --with-odbc or --without-odbc was given.
1817 if test "${with_odbc+set}" = set; then
1818 withval
="$with_odbc"
1820 if test "$withval" = yes; then
1821 ac_cv_use_odbc
='wxUSE_ODBC=yes'
1823 ac_cv_use_odbc
='wxUSE_ODBC=no'
1828 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
1829 if test "x$LINE" != x
; then
1830 eval "DEFAULT_$LINE"
1835 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
1840 eval "$ac_cv_use_odbc"
1841 if test "$no_cache" != 1; then
1842 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
1845 if test "$wxUSE_ODBC" = yes; then
1846 echo "$ac_t""yes" 1>&6
1848 echo "$ac_t""no" 1>&6
1855 echo $ac_n "checking "for --enable-shared"""... $ac_c" 1>&6
1856 echo "configure:1857: checking "for --enable-shared"" >&5
1858 # Check whether --enable-shared or --disable-shared was given.
1859 if test "${enable_shared+set}" = set; then
1860 enableval
="$enable_shared"
1862 if test "$enableval" = yes; then
1863 ac_cv_use_shared
='wxUSE_SHARED=yes'
1865 ac_cv_use_shared
='wxUSE_SHARED=no'
1870 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
1871 if test "x$LINE" != x
; then
1872 eval "DEFAULT_$LINE"
1877 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
1882 eval "$ac_cv_use_shared"
1883 if test "$no_cache" != 1; then
1884 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
1887 if test "$wxUSE_SHARED" = yes; then
1888 echo "$ac_t""yes" 1>&6
1890 echo "$ac_t""no" 1>&6
1894 echo $ac_n "checking "for --enable-optimise"""... $ac_c" 1>&6
1895 echo "configure:1896: checking "for --enable-optimise"" >&5
1897 # Check whether --enable-optimise or --disable-optimise was given.
1898 if test "${enable_optimise+set}" = set; then
1899 enableval
="$enable_optimise"
1901 if test "$enableval" = yes; then
1902 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
1904 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
1909 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
1910 if test "x$LINE" != x
; then
1911 eval "DEFAULT_$LINE"
1916 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
1921 eval "$ac_cv_use_optimise"
1922 if test "$no_cache" != 1; then
1923 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
1926 if test "$wxUSE_OPTIMISE" = yes; then
1927 echo "$ac_t""yes" 1>&6
1929 echo "$ac_t""no" 1>&6
1933 echo $ac_n "checking "for --enable-debug"""... $ac_c" 1>&6
1934 echo "configure:1935: checking "for --enable-debug"" >&5
1936 # Check whether --enable-debug or --disable-debug was given.
1937 if test "${enable_debug+set}" = set; then
1938 enableval
="$enable_debug"
1940 if test "$enableval" = yes; then
1941 ac_cv_use_debug
='wxUSE_DEBUG=yes'
1943 ac_cv_use_debug
='wxUSE_DEBUG=no'
1948 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
1949 if test "x$LINE" != x
; then
1950 eval "DEFAULT_$LINE"
1955 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
1960 eval "$ac_cv_use_debug"
1961 if test "$no_cache" != 1; then
1962 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
1965 if test "$wxUSE_DEBUG" = yes; then
1966 echo "$ac_t""yes" 1>&6
1968 echo "$ac_t""no" 1>&6
1972 if test "$wxUSE_DEBUG" = "yes"; then
1973 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1974 DEFAULT_wxUSE_DEBUG_INFO
=yes
1975 elif test "$wxUSE_DEBUG" = "no"; then
1976 DEFAULT_wxUSE_DEBUG_FLAG
=no
1977 DEFAULT_wxUSE_DEBUG_INFO
=no
1981 echo $ac_n "checking "for --enable-debug_flag"""... $ac_c" 1>&6
1982 echo "configure:1983: checking "for --enable-debug_flag"" >&5
1984 # Check whether --enable-debug_flag or --disable-debug_flag was given.
1985 if test "${enable_debug_flag+set}" = set; then
1986 enableval
="$enable_debug_flag"
1988 if test "$enableval" = yes; then
1989 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
1991 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
1996 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
1997 if test "x$LINE" != x
; then
1998 eval "DEFAULT_$LINE"
2003 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
2008 eval "$ac_cv_use_debug_flag"
2009 if test "$no_cache" != 1; then
2010 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
2013 if test "$wxUSE_DEBUG_FLAG" = yes; then
2014 echo "$ac_t""yes" 1>&6
2016 echo "$ac_t""no" 1>&6
2020 echo $ac_n "checking "for --enable-debug_info"""... $ac_c" 1>&6
2021 echo "configure:2022: checking "for --enable-debug_info"" >&5
2023 # Check whether --enable-debug_info or --disable-debug_info was given.
2024 if test "${enable_debug_info+set}" = set; then
2025 enableval
="$enable_debug_info"
2027 if test "$enableval" = yes; then
2028 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
2030 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
2035 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
2036 if test "x$LINE" != x
; then
2037 eval "DEFAULT_$LINE"
2042 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
2047 eval "$ac_cv_use_debug_info"
2048 if test "$no_cache" != 1; then
2049 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
2052 if test "$wxUSE_DEBUG_INFO" = yes; then
2053 echo "$ac_t""yes" 1>&6
2055 echo "$ac_t""no" 1>&6
2059 echo $ac_n "checking "for --enable-debug_gdb"""... $ac_c" 1>&6
2060 echo "configure:2061: checking "for --enable-debug_gdb"" >&5
2062 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
2063 if test "${enable_debug_gdb+set}" = set; then
2064 enableval
="$enable_debug_gdb"
2066 if test "$enableval" = yes; then
2067 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
2069 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
2074 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
2075 if test "x$LINE" != x
; then
2076 eval "DEFAULT_$LINE"
2081 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
2086 eval "$ac_cv_use_debug_gdb"
2087 if test "$no_cache" != 1; then
2088 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
2091 if test "$wxUSE_DEBUG_GDB" = yes; then
2092 echo "$ac_t""yes" 1>&6
2094 echo "$ac_t""no" 1>&6
2098 echo $ac_n "checking "for --enable-debug_cntxt"""... $ac_c" 1>&6
2099 echo "configure:2100: checking "for --enable-debug_cntxt"" >&5
2101 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
2102 if test "${enable_debug_cntxt+set}" = set; then
2103 enableval
="$enable_debug_cntxt"
2105 if test "$enableval" = yes; then
2106 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
2108 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
2113 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2114 if test "x$LINE" != x
; then
2115 eval "DEFAULT_$LINE"
2120 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2125 eval "$ac_cv_use_debug_cntxt"
2126 if test "$no_cache" != 1; then
2127 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2130 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2131 echo "$ac_t""yes" 1>&6
2133 echo "$ac_t""no" 1>&6
2137 echo $ac_n "checking "for --enable-mem_tracing"""... $ac_c" 1>&6
2138 echo "configure:2139: checking "for --enable-mem_tracing"" >&5
2140 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2141 if test "${enable_mem_tracing+set}" = set; then
2142 enableval
="$enable_mem_tracing"
2144 if test "$enableval" = yes; then
2145 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
2147 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
2152 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2153 if test "x$LINE" != x
; then
2154 eval "DEFAULT_$LINE"
2159 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2164 eval "$ac_cv_use_mem_tracing"
2165 if test "$no_cache" != 1; then
2166 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2169 if test "$wxUSE_MEM_TRACING" = yes; then
2170 echo "$ac_t""yes" 1>&6
2172 echo "$ac_t""no" 1>&6
2176 echo $ac_n "checking "for --enable-profile"""... $ac_c" 1>&6
2177 echo "configure:2178: checking "for --enable-profile"" >&5
2179 # Check whether --enable-profile or --disable-profile was given.
2180 if test "${enable_profile+set}" = set; then
2181 enableval
="$enable_profile"
2183 if test "$enableval" = yes; then
2184 ac_cv_use_profile
='wxUSE_PROFILE=yes'
2186 ac_cv_use_profile
='wxUSE_PROFILE=no'
2191 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2192 if test "x$LINE" != x
; then
2193 eval "DEFAULT_$LINE"
2198 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2203 eval "$ac_cv_use_profile"
2204 if test "$no_cache" != 1; then
2205 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2208 if test "$wxUSE_PROFILE" = yes; then
2209 echo "$ac_t""yes" 1>&6
2211 echo "$ac_t""no" 1>&6
2215 echo $ac_n "checking "for --enable-no_rtti"""... $ac_c" 1>&6
2216 echo "configure:2217: checking "for --enable-no_rtti"" >&5
2218 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2219 if test "${enable_no_rtti+set}" = set; then
2220 enableval
="$enable_no_rtti"
2222 if test "$enableval" = yes; then
2223 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
2225 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
2230 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2231 if test "x$LINE" != x
; then
2232 eval "DEFAULT_$LINE"
2237 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2242 eval "$ac_cv_use_no_rtti"
2243 if test "$no_cache" != 1; then
2244 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2247 if test "$wxUSE_NO_RTTI" = yes; then
2248 echo "$ac_t""yes" 1>&6
2250 echo "$ac_t""no" 1>&6
2254 echo $ac_n "checking "for --enable-no_exceptions"""... $ac_c" 1>&6
2255 echo "configure:2256: checking "for --enable-no_exceptions"" >&5
2257 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2258 if test "${enable_no_exceptions+set}" = set; then
2259 enableval
="$enable_no_exceptions"
2261 if test "$enableval" = yes; then
2262 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
2264 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
2269 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2270 if test "x$LINE" != x
; then
2271 eval "DEFAULT_$LINE"
2276 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2281 eval "$ac_cv_use_no_exceptions"
2282 if test "$no_cache" != 1; then
2283 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2286 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2287 echo "$ac_t""yes" 1>&6
2289 echo "$ac_t""no" 1>&6
2293 echo $ac_n "checking "for --enable-permissive"""... $ac_c" 1>&6
2294 echo "configure:2295: checking "for --enable-permissive"" >&5
2296 # Check whether --enable-permissive or --disable-permissive was given.
2297 if test "${enable_permissive+set}" = set; then
2298 enableval
="$enable_permissive"
2300 if test "$enableval" = yes; then
2301 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
2303 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
2308 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2309 if test "x$LINE" != x
; then
2310 eval "DEFAULT_$LINE"
2315 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
2320 eval "$ac_cv_use_permissive"
2321 if test "$no_cache" != 1; then
2322 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
2325 if test "$wxUSE_PERMISSIVE" = yes; then
2326 echo "$ac_t""yes" 1>&6
2328 echo "$ac_t""no" 1>&6
2332 echo $ac_n "checking "for --enable-no_deps"""... $ac_c" 1>&6
2333 echo "configure:2334: checking "for --enable-no_deps"" >&5
2335 # Check whether --enable-no_deps or --disable-no_deps was given.
2336 if test "${enable_no_deps+set}" = set; then
2337 enableval
="$enable_no_deps"
2339 if test "$enableval" = yes; then
2340 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
2342 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
2347 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
2348 if test "x$LINE" != x
; then
2349 eval "DEFAULT_$LINE"
2354 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
2359 eval "$ac_cv_use_no_deps"
2360 if test "$no_cache" != 1; then
2361 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
2364 if test "$wxUSE_NO_DEPS" = yes; then
2365 echo "$ac_t""yes" 1>&6
2367 echo "$ac_t""no" 1>&6
2373 echo $ac_n "checking "for --enable-intl"""... $ac_c" 1>&6
2374 echo "configure:2375: checking "for --enable-intl"" >&5
2376 # Check whether --enable-intl or --disable-intl was given.
2377 if test "${enable_intl+set}" = set; then
2378 enableval
="$enable_intl"
2380 if test "$enableval" = yes; then
2381 ac_cv_use_intl
='wxUSE_INTL=yes'
2383 ac_cv_use_intl
='wxUSE_INTL=no'
2388 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
2389 if test "x$LINE" != x
; then
2390 eval "DEFAULT_$LINE"
2395 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
2400 eval "$ac_cv_use_intl"
2401 if test "$no_cache" != 1; then
2402 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
2405 if test "$wxUSE_INTL" = yes; then
2406 echo "$ac_t""yes" 1>&6
2408 echo "$ac_t""no" 1>&6
2412 echo $ac_n "checking "for --enable-config"""... $ac_c" 1>&6
2413 echo "configure:2414: checking "for --enable-config"" >&5
2415 # Check whether --enable-config or --disable-config was given.
2416 if test "${enable_config+set}" = set; then
2417 enableval
="$enable_config"
2419 if test "$enableval" = yes; then
2420 ac_cv_use_config
='wxUSE_CONFIG=yes'
2422 ac_cv_use_config
='wxUSE_CONFIG=no'
2427 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
2428 if test "x$LINE" != x
; then
2429 eval "DEFAULT_$LINE"
2434 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
2439 eval "$ac_cv_use_config"
2440 if test "$no_cache" != 1; then
2441 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
2444 if test "$wxUSE_CONFIG" = yes; then
2445 echo "$ac_t""yes" 1>&6
2447 echo "$ac_t""no" 1>&6
2451 echo $ac_n "checking "for --enable-sockets"""... $ac_c" 1>&6
2452 echo "configure:2453: checking "for --enable-sockets"" >&5
2454 # Check whether --enable-sockets or --disable-sockets was given.
2455 if test "${enable_sockets+set}" = set; then
2456 enableval
="$enable_sockets"
2458 if test "$enableval" = yes; then
2459 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
2461 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
2466 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
2467 if test "x$LINE" != x
; then
2468 eval "DEFAULT_$LINE"
2473 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
2478 eval "$ac_cv_use_sockets"
2479 if test "$no_cache" != 1; then
2480 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
2483 if test "$wxUSE_SOCKETS" = yes; then
2484 echo "$ac_t""yes" 1>&6
2486 echo "$ac_t""no" 1>&6
2490 echo $ac_n "checking "for --enable-dialupman"""... $ac_c" 1>&6
2491 echo "configure:2492: checking "for --enable-dialupman"" >&5
2493 # Check whether --enable-dialupman or --disable-dialupman was given.
2494 if test "${enable_dialupman+set}" = set; then
2495 enableval
="$enable_dialupman"
2497 if test "$enableval" = yes; then
2498 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
2500 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
2505 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
2506 if test "x$LINE" != x
; then
2507 eval "DEFAULT_$LINE"
2512 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
2517 eval "$ac_cv_use_dialupman"
2518 if test "$no_cache" != 1; then
2519 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
2522 if test "$wxUSE_DIALUP_MANAGER" = yes; then
2523 echo "$ac_t""yes" 1>&6
2525 echo "$ac_t""no" 1>&6
2529 echo $ac_n "checking "for --enable-ipc"""... $ac_c" 1>&6
2530 echo "configure:2531: checking "for --enable-ipc"" >&5
2532 # Check whether --enable-ipc or --disable-ipc was given.
2533 if test "${enable_ipc+set}" = set; then
2534 enableval
="$enable_ipc"
2536 if test "$enableval" = yes; then
2537 ac_cv_use_ipc
='wxUSE_IPC=yes'
2539 ac_cv_use_ipc
='wxUSE_IPC=no'
2544 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
2545 if test "x$LINE" != x
; then
2546 eval "DEFAULT_$LINE"
2551 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
2556 eval "$ac_cv_use_ipc"
2557 if test "$no_cache" != 1; then
2558 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
2561 if test "$wxUSE_IPC" = yes; then
2562 echo "$ac_t""yes" 1>&6
2564 echo "$ac_t""no" 1>&6
2568 echo $ac_n "checking "for --enable-apple_ieee"""... $ac_c" 1>&6
2569 echo "configure:2570: checking "for --enable-apple_ieee"" >&5
2571 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
2572 if test "${enable_apple_ieee+set}" = set; then
2573 enableval
="$enable_apple_ieee"
2575 if test "$enableval" = yes; then
2576 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
2578 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
2583 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
2584 if test "x$LINE" != x
; then
2585 eval "DEFAULT_$LINE"
2590 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
2595 eval "$ac_cv_use_apple_ieee"
2596 if test "$no_cache" != 1; then
2597 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
2600 if test "$wxUSE_APPLE_IEEE" = yes; then
2601 echo "$ac_t""yes" 1>&6
2603 echo "$ac_t""no" 1>&6
2607 echo $ac_n "checking "for --enable-timedate"""... $ac_c" 1>&6
2608 echo "configure:2609: checking "for --enable-timedate"" >&5
2610 # Check whether --enable-timedate or --disable-timedate was given.
2611 if test "${enable_timedate+set}" = set; then
2612 enableval
="$enable_timedate"
2614 if test "$enableval" = yes; then
2615 ac_cv_use_timedate
='wxUSE_TIMEDATE=yes'
2617 ac_cv_use_timedate
='wxUSE_TIMEDATE=no'
2622 LINE
=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}`
2623 if test "x$LINE" != x
; then
2624 eval "DEFAULT_$LINE"
2629 ac_cv_use_timedate
='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
2634 eval "$ac_cv_use_timedate"
2635 if test "$no_cache" != 1; then
2636 echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp
2639 if test "$wxUSE_TIMEDATE" = yes; then
2640 echo "$ac_t""yes" 1>&6
2642 echo "$ac_t""no" 1>&6
2646 echo $ac_n "checking "for --enable-wave"""... $ac_c" 1>&6
2647 echo "configure:2648: checking "for --enable-wave"" >&5
2649 # Check whether --enable-wave or --disable-wave was given.
2650 if test "${enable_wave+set}" = set; then
2651 enableval
="$enable_wave"
2653 if test "$enableval" = yes; then
2654 ac_cv_use_wave
='wxUSE_WAVE=yes'
2656 ac_cv_use_wave
='wxUSE_WAVE=no'
2661 LINE
=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
2662 if test "x$LINE" != x
; then
2663 eval "DEFAULT_$LINE"
2668 ac_cv_use_wave
='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
2673 eval "$ac_cv_use_wave"
2674 if test "$no_cache" != 1; then
2675 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
2678 if test "$wxUSE_WAVE" = yes; then
2679 echo "$ac_t""yes" 1>&6
2681 echo "$ac_t""no" 1>&6
2685 echo $ac_n "checking "for --enable-fraction"""... $ac_c" 1>&6
2686 echo "configure:2687: checking "for --enable-fraction"" >&5
2688 # Check whether --enable-fraction or --disable-fraction was given.
2689 if test "${enable_fraction+set}" = set; then
2690 enableval
="$enable_fraction"
2692 if test "$enableval" = yes; then
2693 ac_cv_use_fraction
='wxUSE_FRACTION=yes'
2695 ac_cv_use_fraction
='wxUSE_FRACTION=no'
2700 LINE
=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
2701 if test "x$LINE" != x
; then
2702 eval "DEFAULT_$LINE"
2707 ac_cv_use_fraction
='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
2712 eval "$ac_cv_use_fraction"
2713 if test "$no_cache" != 1; then
2714 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
2717 if test "$wxUSE_FRACTION" = yes; then
2718 echo "$ac_t""yes" 1>&6
2720 echo "$ac_t""no" 1>&6
2724 echo $ac_n "checking "for --enable-dynlib"""... $ac_c" 1>&6
2725 echo "configure:2726: checking "for --enable-dynlib"" >&5
2727 # Check whether --enable-dynlib or --disable-dynlib was given.
2728 if test "${enable_dynlib+set}" = set; then
2729 enableval
="$enable_dynlib"
2731 if test "$enableval" = yes; then
2732 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
2734 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
2739 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
2740 if test "x$LINE" != x
; then
2741 eval "DEFAULT_$LINE"
2746 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
2751 eval "$ac_cv_use_dynlib"
2752 if test "$no_cache" != 1; then
2753 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
2756 if test "$wxUSE_DYNLIB_CLASS" = yes; then
2757 echo "$ac_t""yes" 1>&6
2759 echo "$ac_t""no" 1>&6
2763 echo $ac_n "checking "for --enable-longlong"""... $ac_c" 1>&6
2764 echo "configure:2765: checking "for --enable-longlong"" >&5
2766 # Check whether --enable-longlong or --disable-longlong was given.
2767 if test "${enable_longlong+set}" = set; then
2768 enableval
="$enable_longlong"
2770 if test "$enableval" = yes; then
2771 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
2773 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
2778 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
2779 if test "x$LINE" != x
; then
2780 eval "DEFAULT_$LINE"
2785 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
2790 eval "$ac_cv_use_longlong"
2791 if test "$no_cache" != 1; then
2792 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
2795 if test "$wxUSE_LONGLONG" = yes; then
2796 echo "$ac_t""yes" 1>&6
2798 echo "$ac_t""no" 1>&6
2802 echo $ac_n "checking "for --enable-log"""... $ac_c" 1>&6
2803 echo "configure:2804: checking "for --enable-log"" >&5
2805 # Check whether --enable-log or --disable-log was given.
2806 if test "${enable_log+set}" = set; then
2807 enableval
="$enable_log"
2809 if test "$enableval" = yes; then
2810 ac_cv_use_log
='wxUSE_LOG=yes'
2812 ac_cv_use_log
='wxUSE_LOG=no'
2817 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
2818 if test "x$LINE" != x
; then
2819 eval "DEFAULT_$LINE"
2824 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
2829 eval "$ac_cv_use_log"
2830 if test "$no_cache" != 1; then
2831 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
2834 if test "$wxUSE_LOG" = yes; then
2835 echo "$ac_t""yes" 1>&6
2837 echo "$ac_t""no" 1>&6
2841 echo $ac_n "checking "for --enable-streams"""... $ac_c" 1>&6
2842 echo "configure:2843: checking "for --enable-streams"" >&5
2844 # Check whether --enable-streams or --disable-streams was given.
2845 if test "${enable_streams+set}" = set; then
2846 enableval
="$enable_streams"
2848 if test "$enableval" = yes; then
2849 ac_cv_use_streams
='wxUSE_STREAMS=yes'
2851 ac_cv_use_streams
='wxUSE_STREAMS=no'
2856 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
2857 if test "x$LINE" != x
; then
2858 eval "DEFAULT_$LINE"
2863 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
2868 eval "$ac_cv_use_streams"
2869 if test "$no_cache" != 1; then
2870 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
2873 if test "$wxUSE_STREAMS" = yes; then
2874 echo "$ac_t""yes" 1>&6
2876 echo "$ac_t""no" 1>&6
2880 echo $ac_n "checking "for --enable-file"""... $ac_c" 1>&6
2881 echo "configure:2882: checking "for --enable-file"" >&5
2883 # Check whether --enable-file or --disable-file was given.
2884 if test "${enable_file+set}" = set; then
2885 enableval
="$enable_file"
2887 if test "$enableval" = yes; then
2888 ac_cv_use_file
='wxUSE_FILE=yes'
2890 ac_cv_use_file
='wxUSE_FILE=no'
2895 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
2896 if test "x$LINE" != x
; then
2897 eval "DEFAULT_$LINE"
2902 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
2907 eval "$ac_cv_use_file"
2908 if test "$no_cache" != 1; then
2909 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
2912 if test "$wxUSE_FILE" = yes; then
2913 echo "$ac_t""yes" 1>&6
2915 echo "$ac_t""no" 1>&6
2919 echo $ac_n "checking "for --enable-textfile"""... $ac_c" 1>&6
2920 echo "configure:2921: checking "for --enable-textfile"" >&5
2922 # Check whether --enable-textfile or --disable-textfile was given.
2923 if test "${enable_textfile+set}" = set; then
2924 enableval
="$enable_textfile"
2926 if test "$enableval" = yes; then
2927 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
2929 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
2934 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
2935 if test "x$LINE" != x
; then
2936 eval "DEFAULT_$LINE"
2941 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
2946 eval "$ac_cv_use_textfile"
2947 if test "$no_cache" != 1; then
2948 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
2951 if test "$wxUSE_TEXTFILE" = yes; then
2952 echo "$ac_t""yes" 1>&6
2954 echo "$ac_t""no" 1>&6
2958 echo $ac_n "checking "for --enable-unicode"""... $ac_c" 1>&6
2959 echo "configure:2960: checking "for --enable-unicode"" >&5
2961 # Check whether --enable-unicode or --disable-unicode was given.
2962 if test "${enable_unicode+set}" = set; then
2963 enableval
="$enable_unicode"
2965 if test "$enableval" = yes; then
2966 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
2968 ac_cv_use_unicode
='wxUSE_UNICODE=no'
2973 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
2974 if test "x$LINE" != x
; then
2975 eval "DEFAULT_$LINE"
2980 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
2985 eval "$ac_cv_use_unicode"
2986 if test "$no_cache" != 1; then
2987 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
2990 if test "$wxUSE_UNICODE" = yes; then
2991 echo "$ac_t""yes" 1>&6
2993 echo "$ac_t""no" 1>&6
2997 echo $ac_n "checking "for --enable-wcsrtombs"""... $ac_c" 1>&6
2998 echo "configure:2999: checking "for --enable-wcsrtombs"" >&5
3000 # Check whether --enable-wcsrtombs or --disable-wcsrtombs was given.
3001 if test "${enable_wcsrtombs+set}" = set; then
3002 enableval
="$enable_wcsrtombs"
3004 if test "$enableval" = yes; then
3005 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS=yes'
3007 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS=no'
3012 LINE
=`grep "wxUSE_WCSRTOMBS" ${wx_arg_cache_file}`
3013 if test "x$LINE" != x
; then
3014 eval "DEFAULT_$LINE"
3019 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS='$DEFAULT_wxUSE_WCSRTOMBS
3024 eval "$ac_cv_use_wcsrtombs"
3025 if test "$no_cache" != 1; then
3026 echo $ac_cv_use_wcsrtombs >> ${wx_arg_cache_file}.tmp
3029 if test "$wxUSE_WCSRTOMBS" = yes; then
3030 echo "$ac_t""yes" 1>&6
3032 echo "$ac_t""no" 1>&6
3036 echo $ac_n "checking "for --enable-wxprintfv"""... $ac_c" 1>&6
3037 echo "configure:3038: checking "for --enable-wxprintfv"" >&5
3039 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
3040 if test "${enable_wxprintfv+set}" = set; then
3041 enableval
="$enable_wxprintfv"
3043 if test "$enableval" = yes; then
3044 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
3046 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
3051 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
3052 if test "x$LINE" != x
; then
3053 eval "DEFAULT_$LINE"
3058 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
3063 eval "$ac_cv_use_wxprintfv"
3064 if test "$no_cache" != 1; then
3065 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
3068 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
3069 echo "$ac_t""yes" 1>&6
3071 echo "$ac_t""no" 1>&6
3075 echo $ac_n "checking "for --enable-joystick"""... $ac_c" 1>&6
3076 echo "configure:3077: checking "for --enable-joystick"" >&5
3078 # Check whether --enable-joystick or --disable-joystick was given.
3079 if test "${enable_joystick+set}" = set; then
3080 enableval
="$enable_joystick"
3082 if test "$enableval" = yes; then
3083 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
3085 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
3090 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
3091 if test "x$LINE" != x
; then
3092 eval "DEFAULT_$LINE"
3097 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
3102 eval "$ac_cv_use_joystick"
3103 if test "$no_cache" != 1; then
3104 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
3107 if test "$wxUSE_JOYSTICK" = yes; then
3108 echo "$ac_t""yes" 1>&6
3110 echo "$ac_t""no" 1>&6
3114 echo $ac_n "checking "for --enable-std_iostreams"""... $ac_c" 1>&6
3115 echo "configure:3116: checking "for --enable-std_iostreams"" >&5
3117 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
3118 if test "${enable_std_iostreams+set}" = set; then
3119 enableval
="$enable_std_iostreams"
3121 if test "$enableval" = yes; then
3122 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
3124 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
3129 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
3130 if test "x$LINE" != x
; then
3131 eval "DEFAULT_$LINE"
3136 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
3141 eval "$ac_cv_use_std_iostreams"
3142 if test "$no_cache" != 1; then
3143 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
3146 if test "$wxUSE_STD_IOSTREAM" = yes; then
3147 echo "$ac_t""yes" 1>&6
3149 echo "$ac_t""no" 1>&6
3153 echo $ac_n "checking "for --enable-fs_inet"""... $ac_c" 1>&6
3154 echo "configure:3155: checking "for --enable-fs_inet"" >&5
3156 # Check whether --enable-fs_inet or --disable-fs_inet was given.
3157 if test "${enable_fs_inet+set}" = set; then
3158 enableval
="$enable_fs_inet"
3160 if test "$enableval" = yes; then
3161 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
3163 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
3168 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
3169 if test "x$LINE" != x
; then
3170 eval "DEFAULT_$LINE"
3175 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
3180 eval "$ac_cv_use_fs_inet"
3181 if test "$no_cache" != 1; then
3182 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
3185 if test "$wxUSE_FS_INET" = yes; then
3186 echo "$ac_t""yes" 1>&6
3188 echo "$ac_t""no" 1>&6
3192 echo $ac_n "checking "for --enable-fs_zip"""... $ac_c" 1>&6
3193 echo "configure:3194: checking "for --enable-fs_zip"" >&5
3195 # Check whether --enable-fs_zip or --disable-fs_zip was given.
3196 if test "${enable_fs_zip+set}" = set; then
3197 enableval
="$enable_fs_zip"
3199 if test "$enableval" = yes; then
3200 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
3202 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
3207 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
3208 if test "x$LINE" != x
; then
3209 eval "DEFAULT_$LINE"
3214 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
3219 eval "$ac_cv_use_fs_zip"
3220 if test "$no_cache" != 1; then
3221 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
3224 if test "$wxUSE_FS_ZIP" = yes; then
3225 echo "$ac_t""yes" 1>&6
3227 echo "$ac_t""no" 1>&6
3231 echo $ac_n "checking "for --enable-zipstream"""... $ac_c" 1>&6
3232 echo "configure:3233: checking "for --enable-zipstream"" >&5
3234 # Check whether --enable-zipstream or --disable-zipstream was given.
3235 if test "${enable_zipstream+set}" = set; then
3236 enableval
="$enable_zipstream"
3238 if test "$enableval" = yes; then
3239 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
3241 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
3246 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
3247 if test "x$LINE" != x
; then
3248 eval "DEFAULT_$LINE"
3253 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
3258 eval "$ac_cv_use_zipstream"
3259 if test "$no_cache" != 1; then
3260 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
3263 if test "$wxUSE_ZIPSTREAM" = yes; then
3264 echo "$ac_t""yes" 1>&6
3266 echo "$ac_t""no" 1>&6
3272 echo $ac_n "checking "for --enable-threads"""... $ac_c" 1>&6
3273 echo "configure:3274: checking "for --enable-threads"" >&5
3275 # Check whether --enable-threads or --disable-threads was given.
3276 if test "${enable_threads+set}" = set; then
3277 enableval
="$enable_threads"
3279 if test "$enableval" = yes; then
3280 ac_cv_use_threads
='wxUSE_THREADS=yes'
3282 ac_cv_use_threads
='wxUSE_THREADS=no'
3287 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
3288 if test "x$LINE" != x
; then
3289 eval "DEFAULT_$LINE"
3294 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
3299 eval "$ac_cv_use_threads"
3300 if test "$no_cache" != 1; then
3301 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
3304 if test "$wxUSE_THREADS" = yes; then
3305 echo "$ac_t""yes" 1>&6
3307 echo "$ac_t""no" 1>&6
3311 echo $ac_n "checking "for --enable-serial"""... $ac_c" 1>&6
3312 echo "configure:3313: checking "for --enable-serial"" >&5
3314 # Check whether --enable-serial or --disable-serial was given.
3315 if test "${enable_serial+set}" = set; then
3316 enableval
="$enable_serial"
3318 if test "$enableval" = yes; then
3319 ac_cv_use_serial
='wxUSE_SERIAL=yes'
3321 ac_cv_use_serial
='wxUSE_SERIAL=no'
3326 LINE
=`grep "wxUSE_SERIAL" ${wx_arg_cache_file}`
3327 if test "x$LINE" != x
; then
3328 eval "DEFAULT_$LINE"
3333 ac_cv_use_serial
='wxUSE_SERIAL='$DEFAULT_wxUSE_SERIAL
3338 eval "$ac_cv_use_serial"
3339 if test "$no_cache" != 1; then
3340 echo $ac_cv_use_serial >> ${wx_arg_cache_file}.tmp
3343 if test "$wxUSE_SERIAL" = yes; then
3344 echo "$ac_t""yes" 1>&6
3346 echo "$ac_t""no" 1>&6
3352 echo $ac_n "checking "for --enable-docview"""... $ac_c" 1>&6
3353 echo "configure:3354: checking "for --enable-docview"" >&5
3355 # Check whether --enable-docview or --disable-docview was given.
3356 if test "${enable_docview+set}" = set; then
3357 enableval
="$enable_docview"
3359 if test "$enableval" = yes; then
3360 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
3362 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
3367 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
3368 if test "x$LINE" != x
; then
3369 eval "DEFAULT_$LINE"
3374 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
3379 eval "$ac_cv_use_docview"
3380 if test "$no_cache" != 1; then
3381 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
3384 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
3385 echo "$ac_t""yes" 1>&6
3387 echo "$ac_t""no" 1>&6
3391 echo $ac_n "checking "for --enable-help"""... $ac_c" 1>&6
3392 echo "configure:3393: checking "for --enable-help"" >&5
3394 # Check whether --enable-help or --disable-help was given.
3395 if test "${enable_help+set}" = set; then
3396 enableval
="$enable_help"
3398 if test "$enableval" = yes; then
3399 ac_cv_use_help
='wxUSE_HELP=yes'
3401 ac_cv_use_help
='wxUSE_HELP=no'
3406 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
3407 if test "x$LINE" != x
; then
3408 eval "DEFAULT_$LINE"
3413 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
3418 eval "$ac_cv_use_help"
3419 if test "$no_cache" != 1; then
3420 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
3423 if test "$wxUSE_HELP" = yes; then
3424 echo "$ac_t""yes" 1>&6
3426 echo "$ac_t""no" 1>&6
3430 echo $ac_n "checking "for --enable-constraints"""... $ac_c" 1>&6
3431 echo "configure:3432: checking "for --enable-constraints"" >&5
3433 # Check whether --enable-constraints or --disable-constraints was given.
3434 if test "${enable_constraints+set}" = set; then
3435 enableval
="$enable_constraints"
3437 if test "$enableval" = yes; then
3438 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
3440 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
3445 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
3446 if test "x$LINE" != x
; then
3447 eval "DEFAULT_$LINE"
3452 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
3457 eval "$ac_cv_use_constraints"
3458 if test "$no_cache" != 1; then
3459 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
3462 if test "$wxUSE_CONSTRAINTS" = yes; then
3463 echo "$ac_t""yes" 1>&6
3465 echo "$ac_t""no" 1>&6
3469 echo $ac_n "checking "for --enable-printarch"""... $ac_c" 1>&6
3470 echo "configure:3471: checking "for --enable-printarch"" >&5
3472 # Check whether --enable-printarch or --disable-printarch was given.
3473 if test "${enable_printarch+set}" = set; then
3474 enableval
="$enable_printarch"
3476 if test "$enableval" = yes; then
3477 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
3479 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
3484 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
3485 if test "x$LINE" != x
; then
3486 eval "DEFAULT_$LINE"
3491 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
3496 eval "$ac_cv_use_printarch"
3497 if test "$no_cache" != 1; then
3498 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
3501 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
3502 echo "$ac_t""yes" 1>&6
3504 echo "$ac_t""no" 1>&6
3508 echo $ac_n "checking "for --enable-mdi"""... $ac_c" 1>&6
3509 echo "configure:3510: checking "for --enable-mdi"" >&5
3511 # Check whether --enable-mdi or --disable-mdi was given.
3512 if test "${enable_mdi+set}" = set; then
3513 enableval
="$enable_mdi"
3515 if test "$enableval" = yes; then
3516 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=yes'
3518 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=no'
3523 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
3524 if test "x$LINE" != x
; then
3525 eval "DEFAULT_$LINE"
3530 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
3535 eval "$ac_cv_use_mdi"
3536 if test "$no_cache" != 1; then
3537 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
3540 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
3541 echo "$ac_t""yes" 1>&6
3543 echo "$ac_t""no" 1>&6
3548 echo $ac_n "checking "for --enable-postscript"""... $ac_c" 1>&6
3549 echo "configure:3550: checking "for --enable-postscript"" >&5
3551 # Check whether --enable-postscript or --disable-postscript was given.
3552 if test "${enable_postscript+set}" = set; then
3553 enableval
="$enable_postscript"
3555 if test "$enableval" = yes; then
3556 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
3558 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
3563 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
3564 if test "x$LINE" != x
; then
3565 eval "DEFAULT_$LINE"
3570 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
3575 eval "$ac_cv_use_postscript"
3576 if test "$no_cache" != 1; then
3577 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
3580 if test "$wxUSE_POSTSCRIPT" = yes; then
3581 echo "$ac_t""yes" 1>&6
3583 echo "$ac_t""no" 1>&6
3589 echo $ac_n "checking "for --enable-prologio"""... $ac_c" 1>&6
3590 echo "configure:3591: checking "for --enable-prologio"" >&5
3592 # Check whether --enable-prologio or --disable-prologio was given.
3593 if test "${enable_prologio+set}" = set; then
3594 enableval
="$enable_prologio"
3596 if test "$enableval" = yes; then
3597 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
3599 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
3604 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
3605 if test "x$LINE" != x
; then
3606 eval "DEFAULT_$LINE"
3611 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
3616 eval "$ac_cv_use_prologio"
3617 if test "$no_cache" != 1; then
3618 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
3621 if test "$wxUSE_PROLOGIO" = yes; then
3622 echo "$ac_t""yes" 1>&6
3624 echo "$ac_t""no" 1>&6
3628 echo $ac_n "checking "for --enable-resources"""... $ac_c" 1>&6
3629 echo "configure:3630: checking "for --enable-resources"" >&5
3631 # Check whether --enable-resources or --disable-resources was given.
3632 if test "${enable_resources+set}" = set; then
3633 enableval
="$enable_resources"
3635 if test "$enableval" = yes; then
3636 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
3638 ac_cv_use_resources
='wxUSE_RESOURCES=no'
3643 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
3644 if test "x$LINE" != x
; then
3645 eval "DEFAULT_$LINE"
3650 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
3655 eval "$ac_cv_use_resources"
3656 if test "$no_cache" != 1; then
3657 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
3660 if test "$wxUSE_RESOURCES" = yes; then
3661 echo "$ac_t""yes" 1>&6
3663 echo "$ac_t""no" 1>&6
3668 echo $ac_n "checking "for --enable-xresources"""... $ac_c" 1>&6
3669 echo "configure:3670: checking "for --enable-xresources"" >&5
3671 # Check whether --enable-xresources or --disable-xresources was given.
3672 if test "${enable_xresources+set}" = set; then
3673 enableval
="$enable_xresources"
3675 if test "$enableval" = yes; then
3676 ac_cv_use_xresources
='wxUSE_X_RESOURCES=yes'
3678 ac_cv_use_xresources
='wxUSE_X_RESOURCES=no'
3683 LINE
=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
3684 if test "x$LINE" != x
; then
3685 eval "DEFAULT_$LINE"
3690 ac_cv_use_xresources
='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
3695 eval "$ac_cv_use_xresources"
3696 if test "$no_cache" != 1; then
3697 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
3700 if test "$wxUSE_X_RESOURCES" = yes; then
3701 echo "$ac_t""yes" 1>&6
3703 echo "$ac_t""no" 1>&6
3709 echo $ac_n "checking "for --enable-clipboard"""... $ac_c" 1>&6
3710 echo "configure:3711: checking "for --enable-clipboard"" >&5
3712 # Check whether --enable-clipboard or --disable-clipboard was given.
3713 if test "${enable_clipboard+set}" = set; then
3714 enableval
="$enable_clipboard"
3716 if test "$enableval" = yes; then
3717 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
3719 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
3724 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
3725 if test "x$LINE" != x
; then
3726 eval "DEFAULT_$LINE"
3731 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
3736 eval "$ac_cv_use_clipboard"
3737 if test "$no_cache" != 1; then
3738 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
3741 if test "$wxUSE_CLIPBOARD" = yes; then
3742 echo "$ac_t""yes" 1>&6
3744 echo "$ac_t""no" 1>&6
3748 echo $ac_n "checking "for --enable-dnd"""... $ac_c" 1>&6
3749 echo "configure:3750: checking "for --enable-dnd"" >&5
3751 # Check whether --enable-dnd or --disable-dnd was given.
3752 if test "${enable_dnd+set}" = set; then
3753 enableval
="$enable_dnd"
3755 if test "$enableval" = yes; then
3756 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
3758 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
3763 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
3764 if test "x$LINE" != x
; then
3765 eval "DEFAULT_$LINE"
3770 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
3775 eval "$ac_cv_use_dnd"
3776 if test "$no_cache" != 1; then
3777 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
3780 if test "$wxUSE_DRAG_AND_DROP" = yes; then
3781 echo "$ac_t""yes" 1>&6
3783 echo "$ac_t""no" 1>&6
3788 echo $ac_n "checking "for --enable-wxtree"""... $ac_c" 1>&6
3789 echo "configure:3790: checking "for --enable-wxtree"" >&5
3791 # Check whether --enable-wxtree or --disable-wxtree was given.
3792 if test "${enable_wxtree+set}" = set; then
3793 enableval
="$enable_wxtree"
3795 if test "$enableval" = yes; then
3796 ac_cv_use_wxtree
='wxUSE_WXTREE=yes'
3798 ac_cv_use_wxtree
='wxUSE_WXTREE=no'
3803 LINE
=`grep "wxUSE_WXTREE" ${wx_arg_cache_file}`
3804 if test "x$LINE" != x
; then
3805 eval "DEFAULT_$LINE"
3810 ac_cv_use_wxtree
='wxUSE_WXTREE='$DEFAULT_wxUSE_WXTREE
3815 eval "$ac_cv_use_wxtree"
3816 if test "$no_cache" != 1; then
3817 echo $ac_cv_use_wxtree >> ${wx_arg_cache_file}.tmp
3820 if test "$wxUSE_WXTREE" = yes; then
3821 echo "$ac_t""yes" 1>&6
3823 echo "$ac_t""no" 1>&6
3829 echo $ac_n "checking "for --enable-controls"""... $ac_c" 1>&6
3830 echo "configure:3831: checking "for --enable-controls"" >&5
3832 # Check whether --enable-controls or --disable-controls was given.
3833 if test "${enable_controls+set}" = set; then
3834 enableval
="$enable_controls"
3836 if test "$enableval" = yes; then
3837 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
3839 ac_cv_use_controls
='wxUSE_CONTROLS=no'
3844 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
3845 if test "x$LINE" != x
; then
3846 eval "DEFAULT_$LINE"
3851 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
3856 eval "$ac_cv_use_controls"
3857 if test "$no_cache" != 1; then
3858 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
3861 if test "$wxUSE_CONTROLS" = yes; then
3862 echo "$ac_t""yes" 1>&6
3864 echo "$ac_t""no" 1>&6
3868 if test "$wxUSE_CONTROLS" = "yes"; then
3869 DEFAULT_wxUSE_ACCEL
=yes
3870 DEFAULT_wxUSE_CARET
=yes
3871 DEFAULT_wxUSE_COMBOBOX
=yes
3872 DEFAULT_wxUSE_BMPBUTTON
=yes
3873 DEFAULT_wxUSE_CHECKBOX
=yes
3874 DEFAULT_wxUSE_CHECKLISTBOX
=yes
3875 DEFAULT_wxUSE_CHOICE
=yes
3876 DEFAULT_wxUSE_GAUGE
=yes
3877 DEFAULT_wxUSE_GRID
=yes
3878 DEFAULT_wxUSE_NEW_GRID
=no
3879 DEFAULT_wxUSE_IMAGLIST
=yes
3880 DEFAULT_wxUSE_LISTBOX
=yes
3881 DEFAULT_wxUSE_LISTCTRL
=yes
3882 DEFAULT_wxUSE_NOTEBOOK
=yes
3883 DEFAULT_wxUSE_RADIOBOX
=yes
3884 DEFAULT_wxUSE_RADIOBTN
=yes
3885 DEFAULT_wxUSE_SASH
=yes
3886 DEFAULT_wxUSE_SCROLLBAR
=yes
3887 DEFAULT_wxUSE_SLIDER
=yes
3888 DEFAULT_wxUSE_SPINBTN
=yes
3889 DEFAULT_wxUSE_SPLITTER
=yes
3890 DEFAULT_wxUSE_STATBMP
=yes
3891 DEFAULT_wxUSE_STATBOX
=yes
3892 DEFAULT_wxUSE_STATLINE
=yes
3893 DEFAULT_wxUSE_STATUSBAR
=yes
3894 DEFAULT_wxUSE_TAB_DIALOG
=yes
3895 DEFAULT_wxUSE_TOOLBAR
=yes
3896 DEFAULT_wxUSE_TOOLTIPS
=yes
3897 DEFAULT_wxUSE_TREECTRL
=yes
3898 elif test "$wxUSE_CONTROLS" = "no"; then
3899 DEFAULT_wxUSE_ACCEL
=no
3900 DEFAULT_wxUSE_CARET
=no
3901 DEFAULT_wxUSE_COMBOBOX
=no
3902 DEFAULT_wxUSE_BMPBUTTON
=no
3903 DEFAULT_wxUSE_CHECKBOX
=no
3904 DEFAULT_wxUSE_CHECKLISTBOX
=no
3905 DEFAULT_wxUSE_CHOICE
=no
3906 DEFAULT_wxUSE_GAUGE
=no
3907 DEFAULT_wxUSE_GRID
=no
3908 DEFAULT_wxUSE_NEW_GRID
=no
3909 DEFAULT_wxUSE_IMAGLIST
=no
3910 DEFAULT_wxUSE_LISTBOX
=no
3911 DEFAULT_wxUSE_LISTCTRL
=no
3912 DEFAULT_wxUSE_NOTEBOOK
=no
3913 DEFAULT_wxUSE_RADIOBOX
=no
3914 DEFAULT_wxUSE_RADIOBTN
=no
3915 DEFAULT_wxUSE_SASH
=no
3916 DEFAULT_wxUSE_SCROLLBAR
=no
3917 DEFAULT_wxUSE_SLIDER
=no
3918 DEFAULT_wxUSE_SPINBTN
=no
3919 DEFAULT_wxUSE_SPLITTER
=no
3920 DEFAULT_wxUSE_STATBMP
=no
3921 DEFAULT_wxUSE_STATBOX
=no
3922 DEFAULT_wxUSE_STATLINE
=no
3923 DEFAULT_wxUSE_STATUSBAR
=no
3924 DEFAULT_wxUSE_TAB_DIALOG
=no
3925 DEFAULT_wxUSE_TOOLBAR
=no
3926 DEFAULT_wxUSE_TOOLTIPS
=no
3927 DEFAULT_wxUSE_TREECTRL
=no
3931 echo $ac_n "checking "for --enable-accel"""... $ac_c" 1>&6
3932 echo "configure:3933: checking "for --enable-accel"" >&5
3934 # Check whether --enable-accel or --disable-accel was given.
3935 if test "${enable_accel+set}" = set; then
3936 enableval
="$enable_accel"
3938 if test "$enableval" = yes; then
3939 ac_cv_use_accel
='wxUSE_ACCEL=yes'
3941 ac_cv_use_accel
='wxUSE_ACCEL=no'
3946 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
3947 if test "x$LINE" != x
; then
3948 eval "DEFAULT_$LINE"
3953 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
3958 eval "$ac_cv_use_accel"
3959 if test "$no_cache" != 1; then
3960 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
3963 if test "$wxUSE_ACCEL" = yes; then
3964 echo "$ac_t""yes" 1>&6
3966 echo "$ac_t""no" 1>&6
3970 echo $ac_n "checking "for --enable-caret"""... $ac_c" 1>&6
3971 echo "configure:3972: checking "for --enable-caret"" >&5
3973 # Check whether --enable-caret or --disable-caret was given.
3974 if test "${enable_caret+set}" = set; then
3975 enableval
="$enable_caret"
3977 if test "$enableval" = yes; then
3978 ac_cv_use_caret
='wxUSE_CARET=yes'
3980 ac_cv_use_caret
='wxUSE_CARET=no'
3985 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
3986 if test "x$LINE" != x
; then
3987 eval "DEFAULT_$LINE"
3992 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
3997 eval "$ac_cv_use_caret"
3998 if test "$no_cache" != 1; then
3999 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
4002 if test "$wxUSE_CARET" = yes; then
4003 echo "$ac_t""yes" 1>&6
4005 echo "$ac_t""no" 1>&6
4009 echo $ac_n "checking "for --enable-bmpbutton"""... $ac_c" 1>&6
4010 echo "configure:4011: checking "for --enable-bmpbutton"" >&5
4012 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
4013 if test "${enable_bmpbutton+set}" = set; then
4014 enableval
="$enable_bmpbutton"
4016 if test "$enableval" = yes; then
4017 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
4019 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
4024 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
4025 if test "x$LINE" != x
; then
4026 eval "DEFAULT_$LINE"
4031 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
4036 eval "$ac_cv_use_bmpbutton"
4037 if test "$no_cache" != 1; then
4038 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
4041 if test "$wxUSE_BMPBUTTON" = yes; then
4042 echo "$ac_t""yes" 1>&6
4044 echo "$ac_t""no" 1>&6
4048 echo $ac_n "checking "for --enable-checkbox"""... $ac_c" 1>&6
4049 echo "configure:4050: checking "for --enable-checkbox"" >&5
4051 # Check whether --enable-checkbox or --disable-checkbox was given.
4052 if test "${enable_checkbox+set}" = set; then
4053 enableval
="$enable_checkbox"
4055 if test "$enableval" = yes; then
4056 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
4058 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
4063 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
4064 if test "x$LINE" != x
; then
4065 eval "DEFAULT_$LINE"
4070 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
4075 eval "$ac_cv_use_checkbox"
4076 if test "$no_cache" != 1; then
4077 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
4080 if test "$wxUSE_CHECKBOX" = yes; then
4081 echo "$ac_t""yes" 1>&6
4083 echo "$ac_t""no" 1>&6
4087 echo $ac_n "checking "for --enable-checklst"""... $ac_c" 1>&6
4088 echo "configure:4089: checking "for --enable-checklst"" >&5
4090 # Check whether --enable-checklst or --disable-checklst was given.
4091 if test "${enable_checklst+set}" = set; then
4092 enableval
="$enable_checklst"
4094 if test "$enableval" = yes; then
4095 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
4097 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
4102 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
4103 if test "x$LINE" != x
; then
4104 eval "DEFAULT_$LINE"
4109 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
4114 eval "$ac_cv_use_checklst"
4115 if test "$no_cache" != 1; then
4116 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
4119 if test "$wxUSE_CHECKLST" = yes; then
4120 echo "$ac_t""yes" 1>&6
4122 echo "$ac_t""no" 1>&6
4126 echo $ac_n "checking "for --enable-choice"""... $ac_c" 1>&6
4127 echo "configure:4128: checking "for --enable-choice"" >&5
4129 # Check whether --enable-choice or --disable-choice was given.
4130 if test "${enable_choice+set}" = set; then
4131 enableval
="$enable_choice"
4133 if test "$enableval" = yes; then
4134 ac_cv_use_choice
='wxUSE_CHOICE=yes'
4136 ac_cv_use_choice
='wxUSE_CHOICE=no'
4141 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
4142 if test "x$LINE" != x
; then
4143 eval "DEFAULT_$LINE"
4148 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
4153 eval "$ac_cv_use_choice"
4154 if test "$no_cache" != 1; then
4155 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
4158 if test "$wxUSE_CHOICE" = yes; then
4159 echo "$ac_t""yes" 1>&6
4161 echo "$ac_t""no" 1>&6
4165 echo $ac_n "checking "for --enable-combobox"""... $ac_c" 1>&6
4166 echo "configure:4167: checking "for --enable-combobox"" >&5
4168 # Check whether --enable-combobox or --disable-combobox was given.
4169 if test "${enable_combobox+set}" = set; then
4170 enableval
="$enable_combobox"
4172 if test "$enableval" = yes; then
4173 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
4175 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
4180 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
4181 if test "x$LINE" != x
; then
4182 eval "DEFAULT_$LINE"
4187 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
4192 eval "$ac_cv_use_combobox"
4193 if test "$no_cache" != 1; then
4194 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
4197 if test "$wxUSE_COMBOBOX" = yes; then
4198 echo "$ac_t""yes" 1>&6
4200 echo "$ac_t""no" 1>&6
4204 echo $ac_n "checking "for --enable-gauge"""... $ac_c" 1>&6
4205 echo "configure:4206: checking "for --enable-gauge"" >&5
4207 # Check whether --enable-gauge or --disable-gauge was given.
4208 if test "${enable_gauge+set}" = set; then
4209 enableval
="$enable_gauge"
4211 if test "$enableval" = yes; then
4212 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
4214 ac_cv_use_gauge
='wxUSE_GAUGE=no'
4219 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
4220 if test "x$LINE" != x
; then
4221 eval "DEFAULT_$LINE"
4226 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
4231 eval "$ac_cv_use_gauge"
4232 if test "$no_cache" != 1; then
4233 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
4236 if test "$wxUSE_GAUGE" = yes; then
4237 echo "$ac_t""yes" 1>&6
4239 echo "$ac_t""no" 1>&6
4243 echo $ac_n "checking "for --enable-grid"""... $ac_c" 1>&6
4244 echo "configure:4245: checking "for --enable-grid"" >&5
4246 # Check whether --enable-grid or --disable-grid was given.
4247 if test "${enable_grid+set}" = set; then
4248 enableval
="$enable_grid"
4250 if test "$enableval" = yes; then
4251 ac_cv_use_grid
='wxUSE_GRID=yes'
4253 ac_cv_use_grid
='wxUSE_GRID=no'
4258 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
4259 if test "x$LINE" != x
; then
4260 eval "DEFAULT_$LINE"
4265 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
4270 eval "$ac_cv_use_grid"
4271 if test "$no_cache" != 1; then
4272 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
4275 if test "$wxUSE_GRID" = yes; then
4276 echo "$ac_t""yes" 1>&6
4278 echo "$ac_t""no" 1>&6
4282 echo $ac_n "checking "for --enable-newgrid"""... $ac_c" 1>&6
4283 echo "configure:4284: checking "for --enable-newgrid"" >&5
4285 # Check whether --enable-newgrid or --disable-newgrid was given.
4286 if test "${enable_newgrid+set}" = set; then
4287 enableval
="$enable_newgrid"
4289 if test "$enableval" = yes; then
4290 ac_cv_use_newgrid
='wxUSE_NEW_GRID=yes'
4292 ac_cv_use_newgrid
='wxUSE_NEW_GRID=no'
4297 LINE
=`grep "wxUSE_NEW_GRID" ${wx_arg_cache_file}`
4298 if test "x$LINE" != x
; then
4299 eval "DEFAULT_$LINE"
4304 ac_cv_use_newgrid
='wxUSE_NEW_GRID='$DEFAULT_wxUSE_NEW_GRID
4309 eval "$ac_cv_use_newgrid"
4310 if test "$no_cache" != 1; then
4311 echo $ac_cv_use_newgrid >> ${wx_arg_cache_file}.tmp
4314 if test "$wxUSE_NEW_GRID" = yes; then
4315 echo "$ac_t""yes" 1>&6
4317 echo "$ac_t""no" 1>&6
4321 echo $ac_n "checking "for --enable-imaglist"""... $ac_c" 1>&6
4322 echo "configure:4323: checking "for --enable-imaglist"" >&5
4324 # Check whether --enable-imaglist or --disable-imaglist was given.
4325 if test "${enable_imaglist+set}" = set; then
4326 enableval
="$enable_imaglist"
4328 if test "$enableval" = yes; then
4329 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
4331 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
4336 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
4337 if test "x$LINE" != x
; then
4338 eval "DEFAULT_$LINE"
4343 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
4348 eval "$ac_cv_use_imaglist"
4349 if test "$no_cache" != 1; then
4350 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
4353 if test "$wxUSE_IMAGLIST" = yes; then
4354 echo "$ac_t""yes" 1>&6
4356 echo "$ac_t""no" 1>&6
4360 echo $ac_n "checking "for --enable-listbox"""... $ac_c" 1>&6
4361 echo "configure:4362: checking "for --enable-listbox"" >&5
4363 # Check whether --enable-listbox or --disable-listbox was given.
4364 if test "${enable_listbox+set}" = set; then
4365 enableval
="$enable_listbox"
4367 if test "$enableval" = yes; then
4368 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
4370 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
4375 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
4376 if test "x$LINE" != x
; then
4377 eval "DEFAULT_$LINE"
4382 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
4387 eval "$ac_cv_use_listbox"
4388 if test "$no_cache" != 1; then
4389 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
4392 if test "$wxUSE_LISTBOX" = yes; then
4393 echo "$ac_t""yes" 1>&6
4395 echo "$ac_t""no" 1>&6
4399 echo $ac_n "checking "for --enable-listctrl"""... $ac_c" 1>&6
4400 echo "configure:4401: checking "for --enable-listctrl"" >&5
4402 # Check whether --enable-listctrl or --disable-listctrl was given.
4403 if test "${enable_listctrl+set}" = set; then
4404 enableval
="$enable_listctrl"
4406 if test "$enableval" = yes; then
4407 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
4409 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
4414 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
4415 if test "x$LINE" != x
; then
4416 eval "DEFAULT_$LINE"
4421 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
4426 eval "$ac_cv_use_listctrl"
4427 if test "$no_cache" != 1; then
4428 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
4431 if test "$wxUSE_LISTCTRL" = yes; then
4432 echo "$ac_t""yes" 1>&6
4434 echo "$ac_t""no" 1>&6
4438 echo $ac_n "checking "for --enable-notebook"""... $ac_c" 1>&6
4439 echo "configure:4440: checking "for --enable-notebook"" >&5
4441 # Check whether --enable-notebook or --disable-notebook was given.
4442 if test "${enable_notebook+set}" = set; then
4443 enableval
="$enable_notebook"
4445 if test "$enableval" = yes; then
4446 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
4448 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
4453 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
4454 if test "x$LINE" != x
; then
4455 eval "DEFAULT_$LINE"
4460 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
4465 eval "$ac_cv_use_notebook"
4466 if test "$no_cache" != 1; then
4467 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
4470 if test "$wxUSE_NOTEBOOK" = yes; then
4471 echo "$ac_t""yes" 1>&6
4473 echo "$ac_t""no" 1>&6
4477 echo $ac_n "checking "for --enable-radiobox"""... $ac_c" 1>&6
4478 echo "configure:4479: checking "for --enable-radiobox"" >&5
4480 # Check whether --enable-radiobox or --disable-radiobox was given.
4481 if test "${enable_radiobox+set}" = set; then
4482 enableval
="$enable_radiobox"
4484 if test "$enableval" = yes; then
4485 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
4487 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
4492 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
4493 if test "x$LINE" != x
; then
4494 eval "DEFAULT_$LINE"
4499 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
4504 eval "$ac_cv_use_radiobox"
4505 if test "$no_cache" != 1; then
4506 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
4509 if test "$wxUSE_RADIOBOX" = yes; then
4510 echo "$ac_t""yes" 1>&6
4512 echo "$ac_t""no" 1>&6
4516 echo $ac_n "checking "for --enable-radiobtn"""... $ac_c" 1>&6
4517 echo "configure:4518: checking "for --enable-radiobtn"" >&5
4519 # Check whether --enable-radiobtn or --disable-radiobtn was given.
4520 if test "${enable_radiobtn+set}" = set; then
4521 enableval
="$enable_radiobtn"
4523 if test "$enableval" = yes; then
4524 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
4526 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
4531 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
4532 if test "x$LINE" != x
; then
4533 eval "DEFAULT_$LINE"
4538 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
4543 eval "$ac_cv_use_radiobtn"
4544 if test "$no_cache" != 1; then
4545 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
4548 if test "$wxUSE_RADIOBTN" = yes; then
4549 echo "$ac_t""yes" 1>&6
4551 echo "$ac_t""no" 1>&6
4555 echo $ac_n "checking "for --enable-sash"""... $ac_c" 1>&6
4556 echo "configure:4557: checking "for --enable-sash"" >&5
4558 # Check whether --enable-sash or --disable-sash was given.
4559 if test "${enable_sash+set}" = set; then
4560 enableval
="$enable_sash"
4562 if test "$enableval" = yes; then
4563 ac_cv_use_sash
='wxUSE_SASH=yes'
4565 ac_cv_use_sash
='wxUSE_SASH=no'
4570 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
4571 if test "x$LINE" != x
; then
4572 eval "DEFAULT_$LINE"
4577 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
4582 eval "$ac_cv_use_sash"
4583 if test "$no_cache" != 1; then
4584 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
4587 if test "$wxUSE_SASH" = yes; then
4588 echo "$ac_t""yes" 1>&6
4590 echo "$ac_t""no" 1>&6
4594 echo $ac_n "checking "for --enable-scrollbar"""... $ac_c" 1>&6
4595 echo "configure:4596: checking "for --enable-scrollbar"" >&5
4597 # Check whether --enable-scrollbar or --disable-scrollbar was given.
4598 if test "${enable_scrollbar+set}" = set; then
4599 enableval
="$enable_scrollbar"
4601 if test "$enableval" = yes; then
4602 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
4604 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
4609 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
4610 if test "x$LINE" != x
; then
4611 eval "DEFAULT_$LINE"
4616 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
4621 eval "$ac_cv_use_scrollbar"
4622 if test "$no_cache" != 1; then
4623 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
4626 if test "$wxUSE_SCROLLBAR" = yes; then
4627 echo "$ac_t""yes" 1>&6
4629 echo "$ac_t""no" 1>&6
4633 echo $ac_n "checking "for --enable-slider"""... $ac_c" 1>&6
4634 echo "configure:4635: checking "for --enable-slider"" >&5
4636 # Check whether --enable-slider or --disable-slider was given.
4637 if test "${enable_slider+set}" = set; then
4638 enableval
="$enable_slider"
4640 if test "$enableval" = yes; then
4641 ac_cv_use_slider
='wxUSE_SLIDER=yes'
4643 ac_cv_use_slider
='wxUSE_SLIDER=no'
4648 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
4649 if test "x$LINE" != x
; then
4650 eval "DEFAULT_$LINE"
4655 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
4660 eval "$ac_cv_use_slider"
4661 if test "$no_cache" != 1; then
4662 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
4665 if test "$wxUSE_SLIDER" = yes; then
4666 echo "$ac_t""yes" 1>&6
4668 echo "$ac_t""no" 1>&6
4672 echo $ac_n "checking "for --enable-spinbtn"""... $ac_c" 1>&6
4673 echo "configure:4674: checking "for --enable-spinbtn"" >&5
4675 # Check whether --enable-spinbtn or --disable-spinbtn was given.
4676 if test "${enable_spinbtn+set}" = set; then
4677 enableval
="$enable_spinbtn"
4679 if test "$enableval" = yes; then
4680 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
4682 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
4687 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
4688 if test "x$LINE" != x
; then
4689 eval "DEFAULT_$LINE"
4694 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
4699 eval "$ac_cv_use_spinbtn"
4700 if test "$no_cache" != 1; then
4701 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
4704 if test "$wxUSE_SPINBTN" = yes; then
4705 echo "$ac_t""yes" 1>&6
4707 echo "$ac_t""no" 1>&6
4711 echo $ac_n "checking "for --enable-splitter"""... $ac_c" 1>&6
4712 echo "configure:4713: checking "for --enable-splitter"" >&5
4714 # Check whether --enable-splitter or --disable-splitter was given.
4715 if test "${enable_splitter+set}" = set; then
4716 enableval
="$enable_splitter"
4718 if test "$enableval" = yes; then
4719 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
4721 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
4726 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
4727 if test "x$LINE" != x
; then
4728 eval "DEFAULT_$LINE"
4733 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
4738 eval "$ac_cv_use_splitter"
4739 if test "$no_cache" != 1; then
4740 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
4743 if test "$wxUSE_SPLITTER" = yes; then
4744 echo "$ac_t""yes" 1>&6
4746 echo "$ac_t""no" 1>&6
4750 echo $ac_n "checking "for --enable-statbmp"""... $ac_c" 1>&6
4751 echo "configure:4752: checking "for --enable-statbmp"" >&5
4753 # Check whether --enable-statbmp or --disable-statbmp was given.
4754 if test "${enable_statbmp+set}" = set; then
4755 enableval
="$enable_statbmp"
4757 if test "$enableval" = yes; then
4758 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
4760 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
4765 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
4766 if test "x$LINE" != x
; then
4767 eval "DEFAULT_$LINE"
4772 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
4777 eval "$ac_cv_use_statbmp"
4778 if test "$no_cache" != 1; then
4779 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
4782 if test "$wxUSE_STATBMP" = yes; then
4783 echo "$ac_t""yes" 1>&6
4785 echo "$ac_t""no" 1>&6
4789 echo $ac_n "checking "for --enable-statbox"""... $ac_c" 1>&6
4790 echo "configure:4791: checking "for --enable-statbox"" >&5
4792 # Check whether --enable-statbox or --disable-statbox was given.
4793 if test "${enable_statbox+set}" = set; then
4794 enableval
="$enable_statbox"
4796 if test "$enableval" = yes; then
4797 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
4799 ac_cv_use_statbox
='wxUSE_STATBOX=no'
4804 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
4805 if test "x$LINE" != x
; then
4806 eval "DEFAULT_$LINE"
4811 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
4816 eval "$ac_cv_use_statbox"
4817 if test "$no_cache" != 1; then
4818 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
4821 if test "$wxUSE_STATBOX" = yes; then
4822 echo "$ac_t""yes" 1>&6
4824 echo "$ac_t""no" 1>&6
4828 echo $ac_n "checking "for --enable-statline"""... $ac_c" 1>&6
4829 echo "configure:4830: checking "for --enable-statline"" >&5
4831 # Check whether --enable-statline or --disable-statline was given.
4832 if test "${enable_statline+set}" = set; then
4833 enableval
="$enable_statline"
4835 if test "$enableval" = yes; then
4836 ac_cv_use_statline
='wxUSE_STATLINE=yes'
4838 ac_cv_use_statline
='wxUSE_STATLINE=no'
4843 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
4844 if test "x$LINE" != x
; then
4845 eval "DEFAULT_$LINE"
4850 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
4855 eval "$ac_cv_use_statline"
4856 if test "$no_cache" != 1; then
4857 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
4860 if test "$wxUSE_STATLINE" = yes; then
4861 echo "$ac_t""yes" 1>&6
4863 echo "$ac_t""no" 1>&6
4867 echo $ac_n "checking "for --enable-statusbar"""... $ac_c" 1>&6
4868 echo "configure:4869: checking "for --enable-statusbar"" >&5
4870 # Check whether --enable-statusbar or --disable-statusbar was given.
4871 if test "${enable_statusbar+set}" = set; then
4872 enableval
="$enable_statusbar"
4874 if test "$enableval" = yes; then
4875 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
4877 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
4882 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
4883 if test "x$LINE" != x
; then
4884 eval "DEFAULT_$LINE"
4889 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
4894 eval "$ac_cv_use_statusbar"
4895 if test "$no_cache" != 1; then
4896 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
4899 if test "$wxUSE_STATUSBAR" = yes; then
4900 echo "$ac_t""yes" 1>&6
4902 echo "$ac_t""no" 1>&6
4906 echo $ac_n "checking "for --enable-tabdialog"""... $ac_c" 1>&6
4907 echo "configure:4908: checking "for --enable-tabdialog"" >&5
4909 # Check whether --enable-tabdialog or --disable-tabdialog was given.
4910 if test "${enable_tabdialog+set}" = set; then
4911 enableval
="$enable_tabdialog"
4913 if test "$enableval" = yes; then
4914 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
4916 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
4921 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
4922 if test "x$LINE" != x
; then
4923 eval "DEFAULT_$LINE"
4928 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
4933 eval "$ac_cv_use_tabdialog"
4934 if test "$no_cache" != 1; then
4935 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
4938 if test "$wxUSE_TABDIALOG" = yes; then
4939 echo "$ac_t""yes" 1>&6
4941 echo "$ac_t""no" 1>&6
4945 echo $ac_n "checking "for --enable-toolbar"""... $ac_c" 1>&6
4946 echo "configure:4947: checking "for --enable-toolbar"" >&5
4948 # Check whether --enable-toolbar or --disable-toolbar was given.
4949 if test "${enable_toolbar+set}" = set; then
4950 enableval
="$enable_toolbar"
4952 if test "$enableval" = yes; then
4953 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
4955 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
4960 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
4961 if test "x$LINE" != x
; then
4962 eval "DEFAULT_$LINE"
4967 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
4972 eval "$ac_cv_use_toolbar"
4973 if test "$no_cache" != 1; then
4974 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
4977 if test "$wxUSE_TOOLBAR" = yes; then
4978 echo "$ac_t""yes" 1>&6
4980 echo "$ac_t""no" 1>&6
4984 echo $ac_n "checking "for --enable-treectrl"""... $ac_c" 1>&6
4985 echo "configure:4986: checking "for --enable-treectrl"" >&5
4987 # Check whether --enable-treectrl or --disable-treectrl was given.
4988 if test "${enable_treectrl+set}" = set; then
4989 enableval
="$enable_treectrl"
4991 if test "$enableval" = yes; then
4992 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
4994 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
4999 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
5000 if test "x$LINE" != x
; then
5001 eval "DEFAULT_$LINE"
5006 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
5011 eval "$ac_cv_use_treectrl"
5012 if test "$no_cache" != 1; then
5013 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
5016 if test "$wxUSE_TREECTRL" = yes; then
5017 echo "$ac_t""yes" 1>&6
5019 echo "$ac_t""no" 1>&6
5025 echo $ac_n "checking "for --enable-commondlg"""... $ac_c" 1>&6
5026 echo "configure:5027: checking "for --enable-commondlg"" >&5
5028 # Check whether --enable-commondlg or --disable-commondlg was given.
5029 if test "${enable_commondlg+set}" = set; then
5030 enableval
="$enable_commondlg"
5032 if test "$enableval" = yes; then
5033 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
5035 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
5040 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
5041 if test "x$LINE" != x
; then
5042 eval "DEFAULT_$LINE"
5047 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
5052 eval "$ac_cv_use_commondlg"
5053 if test "$no_cache" != 1; then
5054 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
5057 if test "$wxUSE_COMMONDLGS" = yes; then
5058 echo "$ac_t""yes" 1>&6
5060 echo "$ac_t""no" 1>&6
5064 echo $ac_n "checking "for --enable-dirdlg"""... $ac_c" 1>&6
5065 echo "configure:5066: checking "for --enable-dirdlg"" >&5
5067 # Check whether --enable-dirdlg or --disable-dirdlg was given.
5068 if test "${enable_dirdlg+set}" = set; then
5069 enableval
="$enable_dirdlg"
5071 if test "$enableval" = yes; then
5072 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
5074 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
5079 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
5080 if test "x$LINE" != x
; then
5081 eval "DEFAULT_$LINE"
5086 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
5091 eval "$ac_cv_use_dirdlg"
5092 if test "$no_cache" != 1; then
5093 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
5096 if test "$wxUSE_DIRDLG" = yes; then
5097 echo "$ac_t""yes" 1>&6
5099 echo "$ac_t""no" 1>&6
5103 echo $ac_n "checking "for --enable-textdlg"""... $ac_c" 1>&6
5104 echo "configure:5105: checking "for --enable-textdlg"" >&5
5106 # Check whether --enable-textdlg or --disable-textdlg was given.
5107 if test "${enable_textdlg+set}" = set; then
5108 enableval
="$enable_textdlg"
5110 if test "$enableval" = yes; then
5111 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
5113 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
5118 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
5119 if test "x$LINE" != x
; then
5120 eval "DEFAULT_$LINE"
5125 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
5130 eval "$ac_cv_use_textdlg"
5131 if test "$no_cache" != 1; then
5132 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
5135 if test "$wxUSE_TEXTDLG" = yes; then
5136 echo "$ac_t""yes" 1>&6
5138 echo "$ac_t""no" 1>&6
5142 echo $ac_n "checking "for --enable-tipdlg"""... $ac_c" 1>&6
5143 echo "configure:5144: checking "for --enable-tipdlg"" >&5
5145 # Check whether --enable-tipdlg or --disable-tipdlg was given.
5146 if test "${enable_tipdlg+set}" = set; then
5147 enableval
="$enable_tipdlg"
5149 if test "$enableval" = yes; then
5150 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
5152 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
5157 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
5158 if test "x$LINE" != x
; then
5159 eval "DEFAULT_$LINE"
5164 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
5169 eval "$ac_cv_use_tipdlg"
5170 if test "$no_cache" != 1; then
5171 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
5174 if test "$wxUSE_STARTUP_TIPS" = yes; then
5175 echo "$ac_t""yes" 1>&6
5177 echo "$ac_t""no" 1>&6
5181 echo $ac_n "checking "for --enable-progressdlg"""... $ac_c" 1>&6
5182 echo "configure:5183: checking "for --enable-progressdlg"" >&5
5184 # Check whether --enable-progressdlg or --disable-progressdlg was given.
5185 if test "${enable_progressdlg+set}" = set; then
5186 enableval
="$enable_progressdlg"
5188 if test "$enableval" = yes; then
5189 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
5191 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
5196 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
5197 if test "x$LINE" != x
; then
5198 eval "DEFAULT_$LINE"
5203 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
5208 eval "$ac_cv_use_progressdlg"
5209 if test "$no_cache" != 1; then
5210 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
5213 if test "$wxUSE_PROGRESSDLG" = yes; then
5214 echo "$ac_t""yes" 1>&6
5216 echo "$ac_t""no" 1>&6
5220 echo $ac_n "checking "for --enable-miniframe"""... $ac_c" 1>&6
5221 echo "configure:5222: checking "for --enable-miniframe"" >&5
5223 # Check whether --enable-miniframe or --disable-miniframe was given.
5224 if test "${enable_miniframe+set}" = set; then
5225 enableval
="$enable_miniframe"
5227 if test "$enableval" = yes; then
5228 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
5230 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
5235 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
5236 if test "x$LINE" != x
; then
5237 eval "DEFAULT_$LINE"
5242 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
5247 eval "$ac_cv_use_miniframe"
5248 if test "$no_cache" != 1; then
5249 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
5252 if test "$wxUSE_MINIFRAME" = yes; then
5253 echo "$ac_t""yes" 1>&6
5255 echo "$ac_t""no" 1>&6
5259 echo $ac_n "checking "for --enable-html"""... $ac_c" 1>&6
5260 echo "configure:5261: checking "for --enable-html"" >&5
5262 # Check whether --enable-html or --disable-html was given.
5263 if test "${enable_html+set}" = set; then
5264 enableval
="$enable_html"
5266 if test "$enableval" = yes; then
5267 ac_cv_use_html
='wxUSE_HTML=yes'
5269 ac_cv_use_html
='wxUSE_HTML=no'
5274 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
5275 if test "x$LINE" != x
; then
5276 eval "DEFAULT_$LINE"
5281 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
5286 eval "$ac_cv_use_html"
5287 if test "$no_cache" != 1; then
5288 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
5291 if test "$wxUSE_HTML" = yes; then
5292 echo "$ac_t""yes" 1>&6
5294 echo "$ac_t""no" 1>&6
5298 echo $ac_n "checking "for --enable-tooltips"""... $ac_c" 1>&6
5299 echo "configure:5300: checking "for --enable-tooltips"" >&5
5301 # Check whether --enable-tooltips or --disable-tooltips was given.
5302 if test "${enable_tooltips+set}" = set; then
5303 enableval
="$enable_tooltips"
5305 if test "$enableval" = yes; then
5306 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
5308 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
5313 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
5314 if test "x$LINE" != x
; then
5315 eval "DEFAULT_$LINE"
5320 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
5325 eval "$ac_cv_use_tooltips"
5326 if test "$no_cache" != 1; then
5327 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
5330 if test "$wxUSE_TOOLTIPS" = yes; then
5331 echo "$ac_t""yes" 1>&6
5333 echo "$ac_t""no" 1>&6
5337 echo $ac_n "checking "for --enable-splines"""... $ac_c" 1>&6
5338 echo "configure:5339: checking "for --enable-splines"" >&5
5340 # Check whether --enable-splines or --disable-splines was given.
5341 if test "${enable_splines+set}" = set; then
5342 enableval
="$enable_splines"
5344 if test "$enableval" = yes; then
5345 ac_cv_use_splines
='wxUSE_SPLINES=yes'
5347 ac_cv_use_splines
='wxUSE_SPLINES=no'
5352 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
5353 if test "x$LINE" != x
; then
5354 eval "DEFAULT_$LINE"
5359 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
5364 eval "$ac_cv_use_splines"
5365 if test "$no_cache" != 1; then
5366 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
5369 if test "$wxUSE_SPLINES" = yes; then
5370 echo "$ac_t""yes" 1>&6
5372 echo "$ac_t""no" 1>&6
5376 echo $ac_n "checking "for --enable-validators"""... $ac_c" 1>&6
5377 echo "configure:5378: checking "for --enable-validators"" >&5
5379 # Check whether --enable-validators or --disable-validators was given.
5380 if test "${enable_validators+set}" = set; then
5381 enableval
="$enable_validators"
5383 if test "$enableval" = yes; then
5384 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
5386 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
5391 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
5392 if test "x$LINE" != x
; then
5393 eval "DEFAULT_$LINE"
5398 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
5403 eval "$ac_cv_use_validators"
5404 if test "$no_cache" != 1; then
5405 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
5408 if test "$wxUSE_VALIDATORS" = yes; then
5409 echo "$ac_t""yes" 1>&6
5411 echo "$ac_t""no" 1>&6
5415 echo $ac_n "checking "for --enable-busyinfo"""... $ac_c" 1>&6
5416 echo "configure:5417: checking "for --enable-busyinfo"" >&5
5418 # Check whether --enable-busyinfo or --disable-busyinfo was given.
5419 if test "${enable_busyinfo+set}" = set; then
5420 enableval
="$enable_busyinfo"
5422 if test "$enableval" = yes; then
5423 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
5425 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
5430 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
5431 if test "x$LINE" != x
; then
5432 eval "DEFAULT_$LINE"
5437 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
5442 eval "$ac_cv_use_busyinfo"
5443 if test "$no_cache" != 1; then
5444 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
5447 if test "$wxUSE_BUSYINFO" = yes; then
5448 echo "$ac_t""yes" 1>&6
5450 echo "$ac_t""no" 1>&6
5456 echo $ac_n "checking "for --enable-gif"""... $ac_c" 1>&6
5457 echo "configure:5458: checking "for --enable-gif"" >&5
5459 # Check whether --enable-gif or --disable-gif was given.
5460 if test "${enable_gif+set}" = set; then
5461 enableval
="$enable_gif"
5463 if test "$enableval" = yes; then
5464 ac_cv_use_gif
='wxUSE_GIF=yes'
5466 ac_cv_use_gif
='wxUSE_GIF=no'
5471 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
5472 if test "x$LINE" != x
; then
5473 eval "DEFAULT_$LINE"
5478 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
5483 eval "$ac_cv_use_gif"
5484 if test "$no_cache" != 1; then
5485 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
5488 if test "$wxUSE_GIF" = yes; then
5489 echo "$ac_t""yes" 1>&6
5491 echo "$ac_t""no" 1>&6
5495 echo $ac_n "checking "for --enable-pcx"""... $ac_c" 1>&6
5496 echo "configure:5497: checking "for --enable-pcx"" >&5
5498 # Check whether --enable-pcx or --disable-pcx was given.
5499 if test "${enable_pcx+set}" = set; then
5500 enableval
="$enable_pcx"
5502 if test "$enableval" = yes; then
5503 ac_cv_use_pcx
='wxUSE_PCX=yes'
5505 ac_cv_use_pcx
='wxUSE_PCX=no'
5510 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
5511 if test "x$LINE" != x
; then
5512 eval "DEFAULT_$LINE"
5517 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
5522 eval "$ac_cv_use_pcx"
5523 if test "$no_cache" != 1; then
5524 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
5527 if test "$wxUSE_PCX" = yes; then
5528 echo "$ac_t""yes" 1>&6
5530 echo "$ac_t""no" 1>&6
5534 echo $ac_n "checking "for --enable-pnm"""... $ac_c" 1>&6
5535 echo "configure:5536: checking "for --enable-pnm"" >&5
5537 # Check whether --enable-pnm or --disable-pnm was given.
5538 if test "${enable_pnm+set}" = set; then
5539 enableval
="$enable_pnm"
5541 if test "$enableval" = yes; then
5542 ac_cv_use_pnm
='wxUSE_PNM=yes'
5544 ac_cv_use_pnm
='wxUSE_PNM=no'
5549 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
5550 if test "x$LINE" != x
; then
5551 eval "DEFAULT_$LINE"
5556 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
5561 eval "$ac_cv_use_pnm"
5562 if test "$no_cache" != 1; then
5563 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
5566 if test "$wxUSE_PNM" = yes; then
5567 echo "$ac_t""yes" 1>&6
5569 echo "$ac_t""no" 1>&6
5574 echo "saving argument cache $wx_arg_cache_file"
5575 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
5579 echo $ac_n "checking for toolkit""... $ac_c" 1>&6
5580 echo "configure:5581: checking for toolkit" >&5
5582 if test "$wxUSE_GUI" = "yes"; then
5584 if test "$TOOLKIT_GIVEN" = 1; then
5585 for toolkit
in `echo $ALL_TOOLKITS`; do
5587 eval "value=\$${var}"
5588 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
5591 for toolkit
in `echo $ALL_TOOLKITS`; do
5592 if test "$has_toolkit_in_cache" != 1; then
5593 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
5595 var
=DEFAULT_wxUSE_
$toolkit
5597 eval "wxUSE_$toolkit=\$${var}"
5601 NUM_TOOLKITS
=`expr ${wxUSE_GTK:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_WINE:-0} + ${wxUSE_MINGW:-0} + ${wxUSE_CYGWIN:-0}`
5603 case "$NUM_TOOLKITS" in
5607 { echo "configure: error: Please specify a toolkit - cannot determine the default for ${host}" 1>&2; exit 1; }
5610 { echo "configure: error: Please specify at most one toolkit (may be some are cached?)" 1>&2; exit 1; }
5613 for toolkit
in `echo $ALL_TOOLKITS`; do
5615 eval "value=\$${var}"
5616 if test "x$value" != x
; then
5617 cache_var
=CACHE_
$toolkit
5618 eval "cache=\$${cache_var}"
5619 if test "$cache" = 1; then
5620 echo "$var=$value" >> ${wx_arg_cache_file}
5622 if test "$value" = 1; then
5623 echo "$ac_t""`echo $toolkit | tr A-Z a-z`" 1>&6
5629 echo "$ac_t""base only" 1>&6
5633 cat > confcache
<<\EOF
5634 # This file is a shell script that caches the results of configure
5635 # tests run on this system so they can be shared between configure
5636 # scripts and configure runs. It is not useful on other systems.
5637 # If it contains results you don't want to keep, you may remove or edit it.
5639 # By default, configure uses ./config.cache as the cache file,
5640 # creating it if it does not exist already. You can give configure
5641 # the --cache-file=FILE option to use a different cache file; that is
5642 # what configure does when it calls configure scripts in
5643 # subdirectories, so they share the cache.
5644 # Giving --cache-file=/dev/null disables caching, for debugging configure.
5645 # config.status only pays attention to the cache file if you give it the
5646 # --recheck option to rerun configure.
5649 # The following way of writing the cache mishandles newlines in values,
5650 # but we know of no workaround that is simple, portable, and efficient.
5651 # So, don't put newlines in cache variables' values.
5652 # Ultrix sh set writes to stderr and can't be redirected directly,
5653 # and sets the high bit in the cache file unless we assign to the vars.
5655 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5657 # `set' does not quote correctly, so add quotes (double-quote substitution
5658 # turns \\\\ into \\, and sed turns \\ into \).
5660 -e "s/'/'\\\\''/g" \
5661 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
5664 # `set' quotes correctly as required by POSIX, so do not add quotes.
5665 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
5668 if cmp -s $cache_file confcache
; then
5671 if test -w $cache_file; then
5672 echo "updating cache $cache_file"
5673 cat confcache
> $cache_file
5675 echo "not updating unwritable cache $cache_file"
5681 if eval "test $host != $build"; then
5682 if eval "test $host_alias != NONE"; then
5686 RANLIB
=$host_alias-ranlib
5687 DLLTOOL
=$host_alias-dlltool
5690 STRIP
=$host_alias-strip
5694 # Extract the first word of "gcc", so it can be a program name with args.
5695 set dummy gcc
; ac_word
=$2
5696 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5697 echo "configure:5698: checking for $ac_word" >&5
5698 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
5699 echo $ac_n "(cached) $ac_c" 1>&6
5701 if test -n "$CC"; then
5702 ac_cv_prog_CC
="$CC" # Let the user override the test.
5704 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
5706 for ac_dir
in $ac_dummy; do
5707 test -z "$ac_dir" && ac_dir
=.
5708 if test -f $ac_dir/$ac_word; then
5717 if test -n "$CC"; then
5718 echo "$ac_t""$CC" 1>&6
5720 echo "$ac_t""no" 1>&6
5723 if test -z "$CC"; then
5724 # Extract the first word of "cc", so it can be a program name with args.
5725 set dummy cc
; ac_word
=$2
5726 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5727 echo "configure:5728: checking for $ac_word" >&5
5728 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
5729 echo $ac_n "(cached) $ac_c" 1>&6
5731 if test -n "$CC"; then
5732 ac_cv_prog_CC
="$CC" # Let the user override the test.
5734 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
5737 for ac_dir
in $ac_dummy; do
5738 test -z "$ac_dir" && ac_dir
=.
5739 if test -f $ac_dir/$ac_word; then
5740 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
5741 ac_prog_rejected
=yes
5749 if test $ac_prog_rejected = yes; then
5750 # We found a bogon in the path, so make sure we never use it.
5751 set dummy
$ac_cv_prog_CC
5753 if test $# -gt 0; then
5754 # We chose a different compiler from the bogus one.
5755 # However, it has the same basename, so the bogon will be chosen
5756 # first if we set CC to just the basename; use the full file name.
5758 set dummy
"$ac_dir/$ac_word" "$@"
5766 if test -n "$CC"; then
5767 echo "$ac_t""$CC" 1>&6
5769 echo "$ac_t""no" 1>&6
5772 if test -z "$CC"; then
5773 case "`uname -s`" in
5775 # Extract the first word of "cl", so it can be a program name with args.
5776 set dummy cl
; ac_word
=$2
5777 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5778 echo "configure:5779: checking for $ac_word" >&5
5779 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
5780 echo $ac_n "(cached) $ac_c" 1>&6
5782 if test -n "$CC"; then
5783 ac_cv_prog_CC
="$CC" # Let the user override the test.
5785 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
5787 for ac_dir
in $ac_dummy; do
5788 test -z "$ac_dir" && ac_dir
=.
5789 if test -f $ac_dir/$ac_word; then
5798 if test -n "$CC"; then
5799 echo "$ac_t""$CC" 1>&6
5801 echo "$ac_t""no" 1>&6
5806 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
5809 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
5810 echo "configure:5811: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
5813 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5814 ac_cpp
='$CPP $CPPFLAGS'
5815 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5816 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5817 cross_compiling
=$ac_cv_prog_cc_cross
5819 cat > conftest.
$ac_ext << EOF
5821 #line 5822 "configure"
5822 #include "confdefs.h"
5826 if { (eval echo configure
:5827: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
5827 ac_cv_prog_cc_works
=yes
5828 # If we can't run a trivial program, we are probably using a cross compiler.
5829 if (.
/conftest
; exit) 2>/dev
/null
; then
5830 ac_cv_prog_cc_cross
=no
5832 ac_cv_prog_cc_cross
=yes
5835 echo "configure: failed program was:" >&5
5836 cat conftest.
$ac_ext >&5
5837 ac_cv_prog_cc_works
=no
5841 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5842 ac_cpp
='$CPP $CPPFLAGS'
5843 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5844 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5845 cross_compiling
=$ac_cv_prog_cc_cross
5847 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
5848 if test $ac_cv_prog_cc_works = no
; then
5849 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
5851 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
5852 echo "configure:5853: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
5853 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
5854 cross_compiling
=$ac_cv_prog_cc_cross
5856 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
5857 echo "configure:5858: checking whether we are using GNU C" >&5
5858 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
5859 echo $ac_n "(cached) $ac_c" 1>&6
5861 cat > conftest.c
<<EOF
5866 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:5867: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
5873 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
5875 if test $ac_cv_prog_gcc = yes; then
5881 ac_test_CFLAGS
="${CFLAGS+set}"
5882 ac_save_CFLAGS
="$CFLAGS"
5884 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
5885 echo "configure:5886: checking whether ${CC-cc} accepts -g" >&5
5886 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
5887 echo $ac_n "(cached) $ac_c" 1>&6
5889 echo 'void f(){}' > conftest.c
5890 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
5899 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
5900 if test "$ac_test_CFLAGS" = set; then
5901 CFLAGS
="$ac_save_CFLAGS"
5902 elif test $ac_cv_prog_cc_g = yes; then
5903 if test "$GCC" = yes; then
5909 if test "$GCC" = yes; then
5917 CFLAGS
=`echo "$CFLAGS" | sed 's/-g//g'`
5919 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
5920 echo "configure:5921: checking how to run the C preprocessor" >&5
5921 # On Suns, sometimes $CPP names a directory.
5922 if test -n "$CPP" && test -d "$CPP"; then
5925 if test -z "$CPP"; then
5926 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
5927 echo $ac_n "(cached) $ac_c" 1>&6
5929 # This must be in double quotes, not single quotes, because CPP may get
5930 # substituted into the Makefile and "${CC-cc}" will confuse make.
5932 # On the NeXT, cc -E runs the code through the compiler's parser,
5933 # not just through cpp.
5934 cat > conftest.
$ac_ext <<EOF
5935 #line 5936 "configure"
5936 #include "confdefs.h"
5940 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5941 { (eval echo configure
:5942: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5942 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5943 if test -z "$ac_err"; then
5947 echo "configure: failed program was:" >&5
5948 cat conftest.
$ac_ext >&5
5950 CPP
="${CC-cc} -E -traditional-cpp"
5951 cat > conftest.
$ac_ext <<EOF
5952 #line 5953 "configure"
5953 #include "confdefs.h"
5957 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5958 { (eval echo configure
:5959: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5959 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5960 if test -z "$ac_err"; then
5964 echo "configure: failed program was:" >&5
5965 cat conftest.
$ac_ext >&5
5967 CPP
="${CC-cc} -nologo -E"
5968 cat > conftest.
$ac_ext <<EOF
5969 #line 5970 "configure"
5970 #include "confdefs.h"
5974 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5975 { (eval echo configure
:5976: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5976 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5977 if test -z "$ac_err"; then
5981 echo "configure: failed program was:" >&5
5982 cat conftest.
$ac_ext >&5
5991 ac_cv_prog_CPP
="$CPP"
5993 CPP
="$ac_cv_prog_CPP"
5995 ac_cv_prog_CPP
="$CPP"
5997 echo "$ac_t""$CPP" 1>&6
6000 if test $ac_cv_prog_gcc = yes; then
6001 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
6002 echo "configure:6003: checking whether ${CC-cc} needs -traditional" >&5
6003 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
6004 echo $ac_n "(cached) $ac_c" 1>&6
6006 ac_pattern
="Autoconf.*'x'"
6007 cat > conftest.
$ac_ext <<EOF
6008 #line 6009 "configure"
6009 #include "confdefs.h"
6013 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6014 egrep "$ac_pattern" >/dev
/null
2>&1; then
6016 ac_cv_prog_gcc_traditional
=yes
6019 ac_cv_prog_gcc_traditional
=no
6024 if test $ac_cv_prog_gcc_traditional = no
; then
6025 cat > conftest.
$ac_ext <<EOF
6026 #line 6027 "configure"
6027 #include "confdefs.h"
6031 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6032 egrep "$ac_pattern" >/dev
/null
2>&1; then
6034 ac_cv_prog_gcc_traditional
=yes
6041 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
6042 if test $ac_cv_prog_gcc_traditional = yes; then
6043 CC
="$CC -traditional"
6050 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6051 ac_cpp
='$CXXCPP $CPPFLAGS'
6052 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6053 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6054 cross_compiling
=$ac_cv_prog_cxx_cross
6057 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++ cl
6059 # Extract the first word of "$ac_prog", so it can be a program name with args.
6060 set dummy
$ac_prog; ac_word
=$2
6061 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6062 echo "configure:6063: checking for $ac_word" >&5
6063 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
6064 echo $ac_n "(cached) $ac_c" 1>&6
6066 if test -n "$CXX"; then
6067 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
6069 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6071 for ac_dir
in $ac_dummy; do
6072 test -z "$ac_dir" && ac_dir
=.
6073 if test -f $ac_dir/$ac_word; then
6074 ac_cv_prog_CXX
="$ac_prog"
6081 CXX
="$ac_cv_prog_CXX"
6082 if test -n "$CXX"; then
6083 echo "$ac_t""$CXX" 1>&6
6085 echo "$ac_t""no" 1>&6
6088 test -n "$CXX" && break
6090 test -n "$CXX" || CXX
="gcc"
6093 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
6094 echo "configure:6095: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
6097 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6098 ac_cpp
='$CXXCPP $CPPFLAGS'
6099 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6100 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6101 cross_compiling
=$ac_cv_prog_cxx_cross
6103 cat > conftest.
$ac_ext << EOF
6105 #line 6106 "configure"
6106 #include "confdefs.h"
6108 int main(){return(0);}
6110 if { (eval echo configure
:6111: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6111 ac_cv_prog_cxx_works
=yes
6112 # If we can't run a trivial program, we are probably using a cross compiler.
6113 if (.
/conftest
; exit) 2>/dev
/null
; then
6114 ac_cv_prog_cxx_cross
=no
6116 ac_cv_prog_cxx_cross
=yes
6119 echo "configure: failed program was:" >&5
6120 cat conftest.
$ac_ext >&5
6121 ac_cv_prog_cxx_works
=no
6125 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6126 ac_cpp
='$CXXCPP $CPPFLAGS'
6127 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6128 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6129 cross_compiling
=$ac_cv_prog_cxx_cross
6131 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
6132 if test $ac_cv_prog_cxx_works = no
; then
6133 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
6135 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
6136 echo "configure:6137: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
6137 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
6138 cross_compiling
=$ac_cv_prog_cxx_cross
6140 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
6141 echo "configure:6142: checking whether we are using GNU C++" >&5
6142 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
6143 echo $ac_n "(cached) $ac_c" 1>&6
6145 cat > conftest.C
<<EOF
6150 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:6151: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
6157 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
6159 if test $ac_cv_prog_gxx = yes; then
6165 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
6166 ac_save_CXXFLAGS
="$CXXFLAGS"
6168 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
6169 echo "configure:6170: checking whether ${CXX-g++} accepts -g" >&5
6170 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
6171 echo $ac_n "(cached) $ac_c" 1>&6
6173 echo 'void f(){}' > conftest.cc
6174 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
6175 ac_cv_prog_cxx_g
=yes
6183 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
6184 if test "$ac_test_CXXFLAGS" = set; then
6185 CXXFLAGS
="$ac_save_CXXFLAGS"
6186 elif test $ac_cv_prog_cxx_g = yes; then
6187 if test "$GXX" = yes; then
6193 if test "$GXX" = yes; then
6201 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
6202 echo "configure:6203: checking how to run the C++ preprocessor" >&5
6203 if test -z "$CXXCPP"; then
6204 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
6205 echo $ac_n "(cached) $ac_c" 1>&6
6208 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6209 ac_cpp
='$CXXCPP $CPPFLAGS'
6210 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6211 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6212 cross_compiling
=$ac_cv_prog_cxx_cross
6213 CXXCPP
="${CXX-g++} -E"
6214 cat > conftest.
$ac_ext <<EOF
6215 #line 6216 "configure"
6216 #include "confdefs.h"
6219 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6220 { (eval echo configure
:6221: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6221 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6222 if test -z "$ac_err"; then
6226 echo "configure: failed program was:" >&5
6227 cat conftest.
$ac_ext >&5
6232 ac_cv_prog_CXXCPP
="$CXXCPP"
6234 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6235 ac_cpp
='$CXXCPP $CPPFLAGS'
6236 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6237 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6238 cross_compiling
=$ac_cv_prog_cxx_cross
6241 CXXCPP
="$ac_cv_prog_CXXCPP"
6242 echo "$ac_t""$CXXCPP" 1>&6
6245 CXXFLAGS
=`echo "$CXXFLAGS" | sed 's/-g//g'`
6248 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6249 ac_cpp
='$CPP $CPPFLAGS'
6250 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6251 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6252 cross_compiling
=$ac_cv_prog_cc_cross
6255 # Extract the first word of "ranlib", so it can be a program name with args.
6256 set dummy ranlib
; ac_word
=$2
6257 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6258 echo "configure:6259: checking for $ac_word" >&5
6259 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
6260 echo $ac_n "(cached) $ac_c" 1>&6
6262 if test -n "$RANLIB"; then
6263 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6265 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6267 for ac_dir
in $ac_dummy; do
6268 test -z "$ac_dir" && ac_dir
=.
6269 if test -f $ac_dir/$ac_word; then
6270 ac_cv_prog_RANLIB
="ranlib"
6275 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
6278 RANLIB
="$ac_cv_prog_RANLIB"
6279 if test -n "$RANLIB"; then
6280 echo "$ac_t""$RANLIB" 1>&6
6282 echo "$ac_t""no" 1>&6
6286 # Extract the first word of "ar", so it can be a program name with args.
6287 set dummy
ar; ac_word
=$2
6288 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6289 echo "configure:6290: checking for $ac_word" >&5
6290 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
6291 echo $ac_n "(cached) $ac_c" 1>&6
6293 if test -n "$AR"; then
6294 ac_cv_prog_AR
="$AR" # Let the user override the test.
6296 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6298 for ac_dir
in $ac_dummy; do
6299 test -z "$ac_dir" && ac_dir
=.
6300 if test -f $ac_dir/$ac_word; then
6306 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
6310 if test -n "$AR"; then
6311 echo "$ac_t""$AR" 1>&6
6313 echo "$ac_t""no" 1>&6
6317 # Find a good install program. We prefer a C program (faster),
6318 # so one script is as good as another. But avoid the broken or
6319 # incompatible versions:
6320 # SysV /etc/install, /usr/sbin/install
6321 # SunOS /usr/etc/install
6322 # IRIX /sbin/install
6324 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6325 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6326 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6327 # ./install, which can be erroneously created by make from ./install.sh.
6328 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
6329 echo "configure:6330: checking for a BSD compatible install" >&5
6330 if test -z "$INSTALL"; then
6331 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
6332 echo $ac_n "(cached) $ac_c" 1>&6
6334 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
6335 for ac_dir
in $PATH; do
6336 # Account for people who put trailing slashes in PATH elements.
6338 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
6340 # OSF1 and SCO ODT 3.0 have their own names for install.
6341 # Don't use installbsd from OSF since it installs stuff as root
6343 for ac_prog
in ginstall scoinst
install; do
6344 if test -f $ac_dir/$ac_prog; then
6345 if test $ac_prog = install &&
6346 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
6347 # AIX install. It has an incompatible calling convention.
6350 ac_cv_path_install
="$ac_dir/$ac_prog -c"
6361 if test "${ac_cv_path_install+set}" = set; then
6362 INSTALL
="$ac_cv_path_install"
6364 # As a last resort, use the slow shell script. We don't cache a
6365 # path for INSTALL within a source directory, because that will
6366 # break other packages using the cache if that directory is
6367 # removed, or if the path is relative.
6368 INSTALL
="$ac_install_sh"
6371 echo "$ac_t""$INSTALL" 1>&6
6373 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6374 # It thinks the first close brace ends the variable substitution.
6375 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
6377 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
6379 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
6382 # Extract the first word of "strip", so it can be a program name with args.
6383 set dummy strip
; ac_word
=$2
6384 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6385 echo "configure:6386: checking for $ac_word" >&5
6386 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
6387 echo $ac_n "(cached) $ac_c" 1>&6
6389 if test -n "$STRIP"; then
6390 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6392 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6394 for ac_dir
in $ac_dummy; do
6395 test -z "$ac_dir" && ac_dir
=.
6396 if test -f $ac_dir/$ac_word; then
6397 ac_cv_prog_STRIP
="strip"
6402 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
6405 STRIP
="$ac_cv_prog_STRIP"
6406 if test -n "$STRIP"; then
6407 echo "$ac_t""$STRIP" 1>&6
6409 echo "$ac_t""no" 1>&6
6413 echo $ac_n "checking "make for VPATH support
"""... $ac_c" 1>&6
6414 echo "configure:6415: checking "make for VPATH support
"" >&5
6415 cat - << EOF > confMake
6421 if test ! -d sub
; then
6424 echo dummy
> sub
/file
6425 ${MAKE-make} -f confMake VPATH
=sub
2> config.log
> /dev
/null
6427 rm -f sub
/file check final_file confMake
6429 if test "$RESULT" = 0; then
6430 echo "$ac_t""yes" 1>&6
6432 echo "$ac_t""no" 1>&6
6433 { echo "configure: error: You need a make-utility that is able to use the variable
6435 If your version of make does not support VPATH correctly" 1>&2; exit 1; }
6438 for ac_prog
in 'bison -y' byacc
6440 # Extract the first word of "$ac_prog", so it can be a program name with args.
6441 set dummy
$ac_prog; ac_word
=$2
6442 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6443 echo "configure:6444: checking for $ac_word" >&5
6444 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
6445 echo $ac_n "(cached) $ac_c" 1>&6
6447 if test -n "$YACC"; then
6448 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
6450 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6452 for ac_dir
in $ac_dummy; do
6453 test -z "$ac_dir" && ac_dir
=.
6454 if test -f $ac_dir/$ac_word; then
6455 ac_cv_prog_YACC
="$ac_prog"
6462 YACC
="$ac_cv_prog_YACC"
6463 if test -n "$YACC"; then
6464 echo "$ac_t""$YACC" 1>&6
6466 echo "$ac_t""no" 1>&6
6469 test -n "$YACC" && break
6471 test -n "$YACC" || YACC
="yacc"
6474 # Extract the first word of "flex", so it can be a program name with args.
6475 set dummy flex
; ac_word
=$2
6476 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6477 echo "configure:6478: checking for $ac_word" >&5
6478 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
6479 echo $ac_n "(cached) $ac_c" 1>&6
6481 if test -n "$LEX"; then
6482 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
6484 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6486 for ac_dir
in $ac_dummy; do
6487 test -z "$ac_dir" && ac_dir
=.
6488 if test -f $ac_dir/$ac_word; then
6489 ac_cv_prog_LEX
="flex"
6494 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
6497 LEX
="$ac_cv_prog_LEX"
6498 if test -n "$LEX"; then
6499 echo "$ac_t""$LEX" 1>&6
6501 echo "$ac_t""no" 1>&6
6504 if test -z "$LEXLIB"
6510 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
6511 echo "configure:6512: checking for yywrap in -l$ac_lib" >&5
6512 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
6513 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6514 echo $ac_n "(cached) $ac_c" 1>&6
6516 ac_save_LIBS
="$LIBS"
6517 LIBS
="-l$ac_lib $LIBS"
6518 cat > conftest.
$ac_ext <<EOF
6519 #line 6520 "configure"
6520 #include "confdefs.h"
6521 /* Override any gcc2 internal prototype to avoid an error. */
6522 /* We use char because int might match the return type of a gcc2
6523 builtin and then its argument prototype would still apply. */
6530 if { (eval echo configure
:6531: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6532 eval "ac_cv_lib_$ac_lib_var=yes"
6534 echo "configure: failed program was:" >&5
6535 cat conftest.
$ac_ext >&5
6537 eval "ac_cv_lib_$ac_lib_var=no"
6540 LIBS
="$ac_save_LIBS"
6543 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6544 echo "$ac_t""yes" 1>&6
6547 echo "$ac_t""no" 1>&6
6553 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
6554 echo "configure:6555: checking whether ln -s works" >&5
6555 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
6556 echo $ac_n "(cached) $ac_c" 1>&6
6559 if ln -s X conftestdata
2>/dev
/null
6562 ac_cv_prog_LN_S
="ln -s"
6567 LN_S
="$ac_cv_prog_LN_S"
6568 if test "$ac_cv_prog_LN_S" = "ln -s"; then
6569 echo "$ac_t""yes" 1>&6
6571 echo "$ac_t""no" 1>&6
6577 /usr/local/include \
6579 /usr/Motif-1.2/include \
6580 /usr/Motif-2.1/include \
6582 /usr/include/Motif1.2 \
6583 /opt/xpm/include/X11 \
6584 /opt/GBxpm/include/ \
6585 /opt/GBxpm/X11/include/ \
6587 /usr/Motif1.2/include \
6589 /usr/openwin/include \
6593 /usr/X11R6/include \
6594 /usr/X11R6.4/include \
6595 /usr/X11R5/include \
6596 /usr/X11R4/include \
6598 /usr/include/X11R6 \
6599 /usr/include/X11R5 \
6600 /usr/include/X11R4 \
6602 /usr/local/X11R6/include \
6603 /usr/local/X11R5/include \
6604 /usr/local/X11R4/include \
6606 /usr/local/include/X11R6 \
6607 /usr/local/include/X11R5 \
6608 /usr/local/include/X11R4 \
6612 /usr/local/X11/include \
6613 /usr/local/include/X11 \
6617 /usr/XFree86/include/X11 \
6620 /usr/local/include/gtk \
6622 /usr/local/include/glib \
6625 /usr/local/include/qt \
6627 /usr/include/windows \
6629 /usr/local/include/wine \
6631 /usr/unsupported/include \
6632 /usr/athena/include \
6633 /usr/local/x11r5/include \
6634 /usr/lpp/Xamples/include \
6636 /usr/openwin/share/include \
6640 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
6643 cat > confcache
<<\EOF
6644 # This file is a shell script that caches the results of configure
6645 # tests run on this system so they can be shared between configure
6646 # scripts and configure runs. It is not useful on other systems.
6647 # If it contains results you don't want to keep, you may remove or edit it.
6649 # By default, configure uses ./config.cache as the cache file,
6650 # creating it if it does not exist already. You can give configure
6651 # the --cache-file=FILE option to use a different cache file; that is
6652 # what configure does when it calls configure scripts in
6653 # subdirectories, so they share the cache.
6654 # Giving --cache-file=/dev/null disables caching, for debugging configure.
6655 # config.status only pays attention to the cache file if you give it the
6656 # --recheck option to rerun configure.
6659 # The following way of writing the cache mishandles newlines in values,
6660 # but we know of no workaround that is simple, portable, and efficient.
6661 # So, don't put newlines in cache variables' values.
6662 # Ultrix sh set writes to stderr and can't be redirected directly,
6663 # and sets the high bit in the cache file unless we assign to the vars.
6665 case `(ac_space=' '; set | grep ac_space) 2>&1` in
6667 # `set' does not quote correctly, so add quotes (double-quote substitution
6668 # turns \\\\ into \\, and sed turns \\ into \).
6670 -e "s/'/'\\\\''/g" \
6671 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
6674 # `set' quotes correctly as required by POSIX, so do not add quotes.
6675 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
6678 if cmp -s $cache_file confcache
; then
6681 if test -w $cache_file; then
6682 echo "updating cache $cache_file"
6683 cat confcache
> $cache_file
6685 echo "not updating unwritable cache $cache_file"
6692 if test "$wxUSE_GUI" = "yes"; then
6710 if test "$wxUSE_CYGWIN" = 1 || test "$wxUSE_MINGW" = 1 ; then
6711 if test "$cross_compiling" = "yes" ; then
6712 echo "configure: warning: Cross compiling --- skipping windows.h check" 1>&2
6714 echo $ac_n "checking for Windows headers""... $ac_c" 1>&6
6715 echo "configure:6716: checking for Windows headers" >&5
6718 for ac_dir
in $SEARCH_INCLUDE;
6720 if test -f "$ac_dir/windows.h"; then
6721 ac_find_includes
=$ac_dir
6726 if test "$ac_find_includes" != "" ; then
6727 echo "$ac_t""found $ac_find_includes" 1>&6
6728 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE -I$ac_find_includes"
6730 echo "$ac_t""no" 1>&6
6731 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
6735 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS msw"
6736 LIBS
="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -lcrtdll -ladvapi32 -lwsock32"
6738 if test "$wxUSE_MINGW" = 1; then
6739 LDFLAGS
="$LDFLAGS -mwindows"
6744 GUIOBJS
="\$(MSW_GUIOBJS)"
6745 GUIHEADERS
="\$(MSW_HEADERS)"
6746 COMMONOBJS
="\$(MSW_COMMONOBJS)"
6747 GENERICOBJS
="\$(MSW_GENERICOBJS)"
6753 if test "$wxUSE_GTK" = 1; then
6755 if test x
$gtk_config_exec_prefix != x
; then
6756 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
6757 if test x
${GTK_CONFIG+set} != xset
; then
6758 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
6761 if test x
$gtk_config_prefix != x
; then
6762 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
6763 if test x
${GTK_CONFIG+set} != xset
; then
6764 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
6768 # Extract the first word of "gtk-config", so it can be a program name with args.
6769 set dummy gtk
-config; ac_word
=$2
6770 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6771 echo "configure:6772: checking for $ac_word" >&5
6772 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
6773 echo $ac_n "(cached) $ac_c" 1>&6
6775 case "$GTK_CONFIG" in
6777 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
6780 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
6783 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6785 for ac_dir
in $ac_dummy; do
6786 test -z "$ac_dir" && ac_dir
=.
6787 if test -f $ac_dir/$ac_word; then
6788 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
6793 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
6797 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
6798 if test -n "$GTK_CONFIG"; then
6799 echo "$ac_t""$GTK_CONFIG" 1>&6
6801 echo "$ac_t""no" 1>&6
6804 min_gtk_version
=1.2.1
6805 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
6806 echo "configure:6807: checking for GTK - version >= $min_gtk_version" >&5
6808 if test "$GTK_CONFIG" != "no" ; then
6809 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
6810 GTK_LIBS
=`$GTK_CONFIG --libs`
6811 ac_save_CFLAGS
="$CFLAGS"
6812 ac_save_LIBS
="$LIBS"
6813 CFLAGS
="$CFLAGS $GTK_CFLAGS"
6814 LIBS
="$LIBS $GTK_LIBS"
6815 if test "$cross_compiling" = yes; then
6816 echo $ac_n "cross compiling; assumed OK... $ac_c"
6818 cat > conftest.
$ac_ext <<EOF
6819 #line 6820 "configure"
6820 #include "confdefs.h"
6822 #include <gtk/gtk.h>
6828 int major, minor, micro;
6830 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
6831 printf("%s, bad version string\n", "$min_gtk_version");
6835 if (gtk_minor_version == 1) return FALSE;
6837 return !((gtk_major_version > major) ||
6838 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
6839 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
6843 if { (eval echo configure
:6844: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
6847 echo "configure: failed program was:" >&5
6848 cat conftest.
$ac_ext >&5
6855 CFLAGS
="$ac_save_CFLAGS"
6856 LIBS
="$ac_save_LIBS"
6860 if test "x$no_gtk" = x
; then
6861 echo "$ac_t""yes" 1>&6
6864 echo "$ac_t""no" 1>&6
6867 { echo "configure: error: Is gtk-config in path and GTK+ is version 1.2.1 or above?" 1>&2; exit 1; }
6873 TOOLKIT_INCLUDE
="$GTK_CFLAGS"
6874 GUI_TK_LIBRARY
="$GTK_LIBS"
6877 GUIOBJS
="\$(GTK_GUIOBJS)"
6878 GUIHEADERS
="\$(GTK_HEADERS)"
6879 COMMONOBJS
="\$(GTK_COMMONOBJS)"
6880 GENERICOBJS
="\$(GTK_GENERICOBJS)"
6881 GUIDEPS
="\$(GTK_GUIDEPS)"
6882 COMMONDEPS
="\$(GTK_COMMONDEPS)"
6883 GENERICDEPS
="\$(GTK_GENERICDEPS)"
6884 UNIXOBJS
="\$(UNIX_OBJS)"
6888 if test "$wxUSE_WINE" = 1; then
6889 echo $ac_n "checking for WINE includes""... $ac_c" 1>&6
6890 echo "configure:6891: checking for WINE includes" >&5
6893 for ac_dir
in $SEARCH_INCLUDE;
6895 if test -f "$ac_dir/windows.h"; then
6896 ac_find_includes
=$ac_dir
6901 if test "$ac_find_includes" != "" ; then
6902 echo "$ac_t""found $ac_find_includes" 1>&6
6903 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE -I$ac_find_includes"
6905 echo "$ac_t""no" 1>&6
6906 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
6910 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
6911 echo "configure:6912: checking for Xpm library" >&5
6914 for ac_dir
in $SEARCH_LIB;
6916 for ac_extension
in a so sl
; do
6917 if test -f "$ac_dir/libXpm.$ac_extension"; then
6918 ac_find_libraries
=$ac_dir
6924 if test "$ac_find_libraries" != "" ; then
6925 GUI_TK_LIBRARY
="-L$ac_find_libraries"
6927 cat >> confdefs.h
<<\EOF
6928 #define wxHAVE_LIB_XPM 1
6931 echo "$ac_t""found at $ac_find_libraries" 1>&6
6933 echo "$ac_t""no" 1>&6
6934 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
6938 echo $ac_n "checking for Mesa library""... $ac_c" 1>&6
6939 echo "configure:6940: checking for Mesa library" >&5
6942 for ac_dir
in $SEARCH_LIB;
6944 for ac_extension
in a so sl
; do
6945 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
6946 ac_find_libraries
=$ac_dir
6952 if test "$ac_find_libraries" != "" ; then
6953 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -L$ac_find_libraries"
6954 MESA_LINK
="-lMesaGL"
6955 echo "$ac_t""found at $ac_find_libraries" 1>&6
6957 { echo "configure: error: no" 1>&2; exit 1; }
6960 GUI_TK_LINK
="-lwine $MESA_LINK $XPM_LINK -lXxf86dga -lXxf86vm -lSM -lICE -lXext -lXmu -lX11 -lncurses -lm"
6961 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GUI_TK_LINK"
6965 GUIHEADERS
="\$(MSW_HEADERS)"
6966 GUIOBJS
="\$(MSW_GUIOBJS)"
6967 COMMONOBJS
="\$(MSW_COMMONOBJS)"
6968 GENERICOBJS
="\$(MSW_GENERICOBJS)"
6969 GUIDEPS
="\$(MSW_GUIDEPS)"
6970 COMMONDEPS
="\$(MSW_COMMONDEPS)"
6971 GENERICDEPS
="\$(MSW_GENERICDEPS)"
6972 UNIXOBJS
="\$(UNIX_OBJS)"
6976 if test "$wxUSE_MOTIF" = 1; then
6977 # If we find X, set shell vars x_includes and x_libraries to the
6978 # paths, otherwise set no_x=yes.
6979 # Uses ac_ vars as temps to allow command line to override cache and checks.
6980 # --without-x overrides everything else, but does not touch the cache.
6981 echo $ac_n "checking for X""... $ac_c" 1>&6
6982 echo "configure:6983: checking for X" >&5
6984 # Check whether --with-x or --without-x was given.
6985 if test "${with_x+set}" = set; then
6990 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
6991 if test "x$with_x" = xno
; then
6992 # The user explicitly disabled X.
6995 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
6996 # Both variables are already set.
6999 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
7000 echo $ac_n "(cached) $ac_c" 1>&6
7002 # One or both of the vars are not set, and there is no cached value.
7003 ac_x_includes
=NO ac_x_libraries
=NO
7005 if mkdir conftestdir
; then
7007 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
7008 cat > Imakefile
<<'EOF'
7010 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
7012 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
7013 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
7014 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
7015 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
7016 for ac_extension
in a so sl
; do
7017 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
7018 test -f $ac_im_libdir/libX11.
$ac_extension; then
7019 ac_im_usrlibdir
=$ac_im_libdir; break
7022 # Screen out bogus values from the imake configuration. They are
7023 # bogus both because they are the default anyway, and because
7024 # using them would break gcc on systems where it needs fixed includes.
7025 case "$ac_im_incroot" in
7027 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;;
7029 case "$ac_im_usrlibdir" in
7031 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;;
7038 if test "$ac_x_includes" = NO
; then
7039 # Guess where to find include files, by looking for this one X11 .h file.
7040 test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
7042 # First, try using that file with no special directory specified.
7043 cat > conftest.
$ac_ext <<EOF
7044 #line 7045 "configure"
7045 #include "confdefs.h"
7046 #include <$x_direct_test_include>
7048 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7049 { (eval echo configure
:7050: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7050 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7051 if test -z "$ac_err"; then
7053 # We can compile using X headers with no special include directory.
7057 echo "configure: failed program was:" >&5
7058 cat conftest.
$ac_ext >&5
7060 # Look for the header file in a standard set of common directories.
7061 # Check X11 before X11Rn because it is often a symlink to the current release.
7064 /usr
/X
11R
6/include \
7065 /usr
/X
11R
5/include \
7066 /usr
/X
11R
4/include \
7069 /usr
/include
/X11R6 \
7070 /usr
/include
/X11R5 \
7071 /usr
/include
/X11R4 \
7073 /usr
/local
/X
11/include \
7074 /usr
/local
/X
11R
6/include \
7075 /usr
/local
/X
11R
5/include \
7076 /usr
/local
/X
11R
4/include \
7078 /usr
/local
/include
/X11 \
7079 /usr
/local
/include
/X11R6 \
7080 /usr
/local
/include
/X11R5 \
7081 /usr
/local
/include
/X11R4 \
7085 /usr
/XFree
86/include
/X11 \
7088 /usr
/local
/include \
7089 /usr
/unsupported
/include \
7090 /usr
/athena
/include \
7091 /usr
/local
/x
11r
5/include \
7092 /usr
/lpp
/Xamples
/include \
7094 /usr
/openwin
/include \
7095 /usr
/openwin
/share
/include \
7098 if test -r "$ac_dir/$x_direct_test_include"; then
7099 ac_x_includes
=$ac_dir
7105 fi # $ac_x_includes = NO
7107 if test "$ac_x_libraries" = NO
; then
7108 # Check for the libraries.
7110 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
7111 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
7113 # See if we find them without any special options.
7114 # Don't add to $LIBS permanently.
7115 ac_save_LIBS
="$LIBS"
7116 LIBS
="-l$x_direct_test_library $LIBS"
7117 cat > conftest.
$ac_ext <<EOF
7118 #line 7119 "configure"
7119 #include "confdefs.h"
7122 ${x_direct_test_function}()
7125 if { (eval echo configure
:7126: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7127 LIBS
="$ac_save_LIBS"
7128 # We can link X programs with no special library path.
7131 echo "configure: failed program was:" >&5
7132 cat conftest.
$ac_ext >&5
7134 LIBS
="$ac_save_LIBS"
7135 # First see if replacing the include by lib works.
7136 # Check X11 before X11Rn because it is often a symlink to the current release.
7137 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib/` \
7148 /usr
/local
/X
11/lib \
7149 /usr
/local
/X
11R
6/lib \
7150 /usr
/local
/X
11R
5/lib \
7151 /usr
/local
/X
11R
4/lib \
7153 /usr
/local
/lib
/X11 \
7154 /usr
/local
/lib
/X11R6 \
7155 /usr
/local
/lib
/X11R5 \
7156 /usr
/local
/lib
/X11R4 \
7160 /usr
/XFree
86/lib
/X11 \
7164 /usr
/unsupported
/lib \
7166 /usr
/local
/x
11r
5/lib \
7167 /usr
/lpp
/Xamples
/lib \
7171 /usr
/openwin
/share
/lib \
7174 for ac_extension
in a so sl
; do
7175 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
7176 ac_x_libraries
=$ac_dir
7183 fi # $ac_x_libraries = NO
7185 if test "$ac_x_includes" = NO
|| test "$ac_x_libraries" = NO
; then
7186 # Didn't find X anywhere. Cache the known absence of X.
7187 ac_cv_have_x
="have_x=no"
7189 # Record where we found X for the cache.
7190 ac_cv_have_x
="have_x=yes \
7191 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
7195 eval "$ac_cv_have_x"
7198 if test "$have_x" != yes; then
7199 echo "$ac_t""$have_x" 1>&6
7202 # If each of the values was on the command line, it overrides each guess.
7203 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
7204 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
7205 # Update the cache value to reflect the command line values.
7206 ac_cv_have_x
="have_x=yes \
7207 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
7208 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
7211 if test "$no_x" = yes; then
7212 # Not all programs may use this symbol, but it does not hurt to define it.
7213 cat >> confdefs.h
<<\EOF
7214 #define X_DISPLAY_MISSING 1
7217 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
7219 if test -n "$x_includes"; then
7220 X_CFLAGS
="$X_CFLAGS -I$x_includes"
7223 # It would also be nice to do this for all -L options, not just this one.
7224 if test -n "$x_libraries"; then
7225 X_LIBS
="$X_LIBS -L$x_libraries"
7226 # For Solaris; some versions of Sun CC require a space after -R and
7227 # others require no space. Words are not sufficient . . . .
7228 case "`(uname -sr) 2>/dev/null`" in
7230 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
7231 echo "configure:7232: checking whether -R must be followed by a space" >&5
7232 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
7233 cat > conftest.
$ac_ext <<EOF
7234 #line 7235 "configure"
7235 #include "confdefs.h"
7241 if { (eval echo configure
:7242: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7245 echo "configure: failed program was:" >&5
7246 cat conftest.
$ac_ext >&5
7251 if test $ac_R_nospace = yes; then
7252 echo "$ac_t""no" 1>&6
7253 X_LIBS
="$X_LIBS -R$x_libraries"
7255 LIBS
="$ac_xsave_LIBS -R $x_libraries"
7256 cat > conftest.
$ac_ext <<EOF
7257 #line 7258 "configure"
7258 #include "confdefs.h"
7264 if { (eval echo configure
:7265: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7268 echo "configure: failed program was:" >&5
7269 cat conftest.
$ac_ext >&5
7274 if test $ac_R_space = yes; then
7275 echo "$ac_t""yes" 1>&6
7276 X_LIBS
="$X_LIBS -R $x_libraries"
7278 echo "$ac_t""neither works" 1>&6
7281 LIBS
="$ac_xsave_LIBS"
7285 # Check for system-dependent libraries X programs must link with.
7286 # Do this before checking for the system-independent R6 libraries
7287 # (-lICE), since we may need -lsocket or whatever for X linking.
7289 if test "$ISC" = yes; then
7290 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
7292 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
7293 # libraries were built with DECnet support. And karl@cs.umb.edu says
7294 # the Alpha needs dnet_stub (dnet does not exist).
7295 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
7296 echo "configure:7297: checking for dnet_ntoa in -ldnet" >&5
7297 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
7298 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7299 echo $ac_n "(cached) $ac_c" 1>&6
7301 ac_save_LIBS
="$LIBS"
7303 cat > conftest.
$ac_ext <<EOF
7304 #line 7305 "configure"
7305 #include "confdefs.h"
7306 /* Override any gcc2 internal prototype to avoid an error. */
7307 /* We use char because int might match the return type of a gcc2
7308 builtin and then its argument prototype would still apply. */
7315 if { (eval echo configure
:7316: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7317 eval "ac_cv_lib_$ac_lib_var=yes"
7319 echo "configure: failed program was:" >&5
7320 cat conftest.
$ac_ext >&5
7322 eval "ac_cv_lib_$ac_lib_var=no"
7325 LIBS
="$ac_save_LIBS"
7328 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7329 echo "$ac_t""yes" 1>&6
7330 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
7332 echo "$ac_t""no" 1>&6
7335 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
7336 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
7337 echo "configure:7338: checking for dnet_ntoa in -ldnet_stub" >&5
7338 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
7339 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7340 echo $ac_n "(cached) $ac_c" 1>&6
7342 ac_save_LIBS
="$LIBS"
7343 LIBS
="-ldnet_stub $LIBS"
7344 cat > conftest.
$ac_ext <<EOF
7345 #line 7346 "configure"
7346 #include "confdefs.h"
7347 /* Override any gcc2 internal prototype to avoid an error. */
7348 /* We use char because int might match the return type of a gcc2
7349 builtin and then its argument prototype would still apply. */
7356 if { (eval echo configure
:7357: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7358 eval "ac_cv_lib_$ac_lib_var=yes"
7360 echo "configure: failed program was:" >&5
7361 cat conftest.
$ac_ext >&5
7363 eval "ac_cv_lib_$ac_lib_var=no"
7366 LIBS
="$ac_save_LIBS"
7369 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7370 echo "$ac_t""yes" 1>&6
7371 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
7373 echo "$ac_t""no" 1>&6
7378 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
7379 # to get the SysV transport functions.
7380 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
7382 # The nsl library prevents programs from opening the X display
7383 # on Irix 5.2, according to dickey@clark.net.
7384 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
7385 echo "configure:7386: checking for gethostbyname" >&5
7386 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
7387 echo $ac_n "(cached) $ac_c" 1>&6
7389 cat > conftest.
$ac_ext <<EOF
7390 #line 7391 "configure"
7391 #include "confdefs.h"
7392 /* System header to define __stub macros and hopefully few prototypes,
7393 which can conflict with char gethostbyname(); below. */
7395 /* Override any gcc2 internal prototype to avoid an error. */
7396 /* We use char because int might match the return type of a gcc2
7397 builtin and then its argument prototype would still apply. */
7398 char gethostbyname();
7402 /* The GNU C library defines this for functions which it implements
7403 to always fail with ENOSYS. Some functions are actually named
7404 something starting with __ and the normal name is an alias. */
7405 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
7413 if { (eval echo configure
:7414: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7415 eval "ac_cv_func_gethostbyname=yes"
7417 echo "configure: failed program was:" >&5
7418 cat conftest.
$ac_ext >&5
7420 eval "ac_cv_func_gethostbyname=no"
7425 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
7426 echo "$ac_t""yes" 1>&6
7429 echo "$ac_t""no" 1>&6
7432 if test $ac_cv_func_gethostbyname = no
; then
7433 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
7434 echo "configure:7435: checking for gethostbyname in -lnsl" >&5
7435 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
7436 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7437 echo $ac_n "(cached) $ac_c" 1>&6
7439 ac_save_LIBS
="$LIBS"
7441 cat > conftest.
$ac_ext <<EOF
7442 #line 7443 "configure"
7443 #include "confdefs.h"
7444 /* Override any gcc2 internal prototype to avoid an error. */
7445 /* We use char because int might match the return type of a gcc2
7446 builtin and then its argument prototype would still apply. */
7447 char gethostbyname();
7453 if { (eval echo configure
:7454: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7455 eval "ac_cv_lib_$ac_lib_var=yes"
7457 echo "configure: failed program was:" >&5
7458 cat conftest.
$ac_ext >&5
7460 eval "ac_cv_lib_$ac_lib_var=no"
7463 LIBS
="$ac_save_LIBS"
7466 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7467 echo "$ac_t""yes" 1>&6
7468 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
7470 echo "$ac_t""no" 1>&6
7475 # lieder@skyler.mavd.honeywell.com says without -lsocket,
7476 # socket/setsockopt and other routines are undefined under SCO ODT
7477 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
7478 # on later versions), says simon@lia.di.epfl.ch: it contains
7479 # gethostby* variants that don't use the nameserver (or something).
7480 # -lsocket must be given before -lnsl if both are needed.
7481 # We assume that if connect needs -lnsl, so does gethostbyname.
7482 echo $ac_n "checking for connect""... $ac_c" 1>&6
7483 echo "configure:7484: checking for connect" >&5
7484 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
7485 echo $ac_n "(cached) $ac_c" 1>&6
7487 cat > conftest.
$ac_ext <<EOF
7488 #line 7489 "configure"
7489 #include "confdefs.h"
7490 /* System header to define __stub macros and hopefully few prototypes,
7491 which can conflict with char connect(); below. */
7493 /* Override any gcc2 internal prototype to avoid an error. */
7494 /* We use char because int might match the return type of a gcc2
7495 builtin and then its argument prototype would still apply. */
7500 /* The GNU C library defines this for functions which it implements
7501 to always fail with ENOSYS. Some functions are actually named
7502 something starting with __ and the normal name is an alias. */
7503 #if defined (__stub_connect) || defined (__stub___connect)
7511 if { (eval echo configure
:7512: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7513 eval "ac_cv_func_connect=yes"
7515 echo "configure: failed program was:" >&5
7516 cat conftest.
$ac_ext >&5
7518 eval "ac_cv_func_connect=no"
7523 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
7524 echo "$ac_t""yes" 1>&6
7527 echo "$ac_t""no" 1>&6
7530 if test $ac_cv_func_connect = no
; then
7531 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
7532 echo "configure:7533: checking for connect in -lsocket" >&5
7533 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
7534 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7535 echo $ac_n "(cached) $ac_c" 1>&6
7537 ac_save_LIBS
="$LIBS"
7538 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
7539 cat > conftest.
$ac_ext <<EOF
7540 #line 7541 "configure"
7541 #include "confdefs.h"
7542 /* Override any gcc2 internal prototype to avoid an error. */
7543 /* We use char because int might match the return type of a gcc2
7544 builtin and then its argument prototype would still apply. */
7551 if { (eval echo configure
:7552: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7553 eval "ac_cv_lib_$ac_lib_var=yes"
7555 echo "configure: failed program was:" >&5
7556 cat conftest.
$ac_ext >&5
7558 eval "ac_cv_lib_$ac_lib_var=no"
7561 LIBS
="$ac_save_LIBS"
7564 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7565 echo "$ac_t""yes" 1>&6
7566 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
7568 echo "$ac_t""no" 1>&6
7573 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
7574 echo $ac_n "checking for remove""... $ac_c" 1>&6
7575 echo "configure:7576: checking for remove" >&5
7576 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
7577 echo $ac_n "(cached) $ac_c" 1>&6
7579 cat > conftest.
$ac_ext <<EOF
7580 #line 7581 "configure"
7581 #include "confdefs.h"
7582 /* System header to define __stub macros and hopefully few prototypes,
7583 which can conflict with char remove(); below. */
7585 /* Override any gcc2 internal prototype to avoid an error. */
7586 /* We use char because int might match the return type of a gcc2
7587 builtin and then its argument prototype would still apply. */
7592 /* The GNU C library defines this for functions which it implements
7593 to always fail with ENOSYS. Some functions are actually named
7594 something starting with __ and the normal name is an alias. */
7595 #if defined (__stub_remove) || defined (__stub___remove)
7603 if { (eval echo configure
:7604: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7605 eval "ac_cv_func_remove=yes"
7607 echo "configure: failed program was:" >&5
7608 cat conftest.
$ac_ext >&5
7610 eval "ac_cv_func_remove=no"
7615 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
7616 echo "$ac_t""yes" 1>&6
7619 echo "$ac_t""no" 1>&6
7622 if test $ac_cv_func_remove = no
; then
7623 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
7624 echo "configure:7625: checking for remove in -lposix" >&5
7625 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
7626 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7627 echo $ac_n "(cached) $ac_c" 1>&6
7629 ac_save_LIBS
="$LIBS"
7630 LIBS
="-lposix $LIBS"
7631 cat > conftest.
$ac_ext <<EOF
7632 #line 7633 "configure"
7633 #include "confdefs.h"
7634 /* Override any gcc2 internal prototype to avoid an error. */
7635 /* We use char because int might match the return type of a gcc2
7636 builtin and then its argument prototype would still apply. */
7643 if { (eval echo configure
:7644: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7645 eval "ac_cv_lib_$ac_lib_var=yes"
7647 echo "configure: failed program was:" >&5
7648 cat conftest.
$ac_ext >&5
7650 eval "ac_cv_lib_$ac_lib_var=no"
7653 LIBS
="$ac_save_LIBS"
7656 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7657 echo "$ac_t""yes" 1>&6
7658 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
7660 echo "$ac_t""no" 1>&6
7665 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
7666 echo $ac_n "checking for shmat""... $ac_c" 1>&6
7667 echo "configure:7668: checking for shmat" >&5
7668 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
7669 echo $ac_n "(cached) $ac_c" 1>&6
7671 cat > conftest.
$ac_ext <<EOF
7672 #line 7673 "configure"
7673 #include "confdefs.h"
7674 /* System header to define __stub macros and hopefully few prototypes,
7675 which can conflict with char shmat(); below. */
7677 /* Override any gcc2 internal prototype to avoid an error. */
7678 /* We use char because int might match the return type of a gcc2
7679 builtin and then its argument prototype would still apply. */
7684 /* The GNU C library defines this for functions which it implements
7685 to always fail with ENOSYS. Some functions are actually named
7686 something starting with __ and the normal name is an alias. */
7687 #if defined (__stub_shmat) || defined (__stub___shmat)
7695 if { (eval echo configure
:7696: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7697 eval "ac_cv_func_shmat=yes"
7699 echo "configure: failed program was:" >&5
7700 cat conftest.
$ac_ext >&5
7702 eval "ac_cv_func_shmat=no"
7707 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
7708 echo "$ac_t""yes" 1>&6
7711 echo "$ac_t""no" 1>&6
7714 if test $ac_cv_func_shmat = no
; then
7715 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
7716 echo "configure:7717: checking for shmat in -lipc" >&5
7717 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
7718 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7719 echo $ac_n "(cached) $ac_c" 1>&6
7721 ac_save_LIBS
="$LIBS"
7723 cat > conftest.
$ac_ext <<EOF
7724 #line 7725 "configure"
7725 #include "confdefs.h"
7726 /* Override any gcc2 internal prototype to avoid an error. */
7727 /* We use char because int might match the return type of a gcc2
7728 builtin and then its argument prototype would still apply. */
7735 if { (eval echo configure
:7736: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7737 eval "ac_cv_lib_$ac_lib_var=yes"
7739 echo "configure: failed program was:" >&5
7740 cat conftest.
$ac_ext >&5
7742 eval "ac_cv_lib_$ac_lib_var=no"
7745 LIBS
="$ac_save_LIBS"
7748 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7749 echo "$ac_t""yes" 1>&6
7750 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
7752 echo "$ac_t""no" 1>&6
7758 # Check for libraries that X11R6 Xt/Xaw programs need.
7759 ac_save_LDFLAGS
="$LDFLAGS"
7760 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
7761 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
7762 # check for ICE first), but we must link in the order -lSM -lICE or
7763 # we get undefined symbols. So assume we have SM if we have ICE.
7764 # These have to be linked with before -lX11, unlike the other
7765 # libraries we check for below, so use a different variable.
7766 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
7767 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
7768 echo "configure:7769: checking for IceConnectionNumber in -lICE" >&5
7769 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
7770 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7771 echo $ac_n "(cached) $ac_c" 1>&6
7773 ac_save_LIBS
="$LIBS"
7774 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
7775 cat > conftest.
$ac_ext <<EOF
7776 #line 7777 "configure"
7777 #include "confdefs.h"
7778 /* Override any gcc2 internal prototype to avoid an error. */
7779 /* We use char because int might match the return type of a gcc2
7780 builtin and then its argument prototype would still apply. */
7781 char IceConnectionNumber();
7784 IceConnectionNumber()
7787 if { (eval echo configure
:7788: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7789 eval "ac_cv_lib_$ac_lib_var=yes"
7791 echo "configure: failed program was:" >&5
7792 cat conftest.
$ac_ext >&5
7794 eval "ac_cv_lib_$ac_lib_var=no"
7797 LIBS
="$ac_save_LIBS"
7800 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7801 echo "$ac_t""yes" 1>&6
7802 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
7804 echo "$ac_t""no" 1>&6
7807 LDFLAGS
="$ac_save_LDFLAGS"
7812 if test "$no_x" = "yes"; then
7813 { echo "configure: error: X11 not found" 1>&2; exit 1; }
7816 GUI_TK_LIBRARY
="$X_LIBS"
7817 TOOLKIT_INCLUDE
="$X_CFLAGS"
7820 echo $ac_n "checking for Motif/Lesstif headers""... $ac_c" 1>&6
7821 echo "configure:7822: checking for Motif/Lesstif headers" >&5
7824 for ac_dir
in $SEARCH_INCLUDE;
7826 if test -f "$ac_dir/Xm/Xm.h"; then
7827 ac_find_includes
=$ac_dir
7832 if test "$ac_find_includes" != "" ; then
7833 echo "$ac_t""found $ac_find_includes" 1>&6
7835 echo "$ac_t""no" 1>&6
7836 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
7839 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
7840 echo "configure:7841: checking for Motif/Lesstif library" >&5
7843 for ac_dir
in $SEARCH_LIB;
7845 for ac_extension
in a so sl
; do
7846 if test -f "$ac_dir/libXm.$ac_extension"; then
7847 ac_find_libraries
=$ac_dir
7853 if test "$ac_find_libraries" != "" ; then
7855 ac_path_to_include
=$ac_find_includes
7856 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
7858 if test $result = 0; then
7859 ac_path_to_include
=""
7861 ac_path_to_include
="-I$ac_find_includes"
7865 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
7867 if test $result = 0; then
7870 ac_path_to_link
="-L$ac_find_libraries"
7874 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
7875 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE $ac_path_to_include"
7876 echo "$ac_t""found at $ac_find_libraries" 1>&6
7878 echo "$ac_t""no" 1>&6
7879 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
7882 echo $ac_n "checking for Xt library""... $ac_c" 1>&6
7883 echo "configure:7884: checking for Xt library" >&5
7886 for ac_dir
in $SEARCH_LIB;
7888 for ac_extension
in a so sl
; do
7889 if test -f "$ac_dir/libXt.$ac_extension"; then
7890 ac_find_libraries
=$ac_dir
7896 if test "$ac_find_libraries" != "" ; then
7898 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
7900 if test $result = 0; then
7903 ac_path_to_link
="-L$ac_find_libraries"
7906 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
7907 echo "$ac_t""found at $ac_find_libraries" 1>&6
7909 echo "$ac_t""no" 1>&6
7910 { echo "configure: error: please set LDFLAGS to contain the location of libXt" 1>&2; exit 1; }
7914 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
7915 echo "configure:7916: checking for Xpm library" >&5
7918 for ac_dir
in $SEARCH_LIB;
7920 for ac_extension
in a so sl
; do
7921 if test -f "$ac_dir/libXpm.$ac_extension"; then
7922 ac_find_libraries
=$ac_dir
7928 if test "$ac_find_libraries" != "" ; then
7930 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
7932 if test $result = 0; then
7935 ac_path_to_link
="-L$ac_find_libraries"
7938 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
7940 cat >> confdefs.h
<<\EOF
7941 #define wxHAVE_LIB_XPM 1
7944 echo "$ac_t""found at $ac_find_libraries" 1>&6
7946 echo "$ac_t""no" 1>&6
7947 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
7950 GUI_TK_LINK
="-lXm $XPM_LINK -lXmu -lXext -lXt -lX11 -lm"
7951 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GUI_TK_LINK"
7954 GUIHEADERS
="\$(MOTIF_HEADERS)"
7955 GUIOBJS
="\$(MOTIF_GUIOBJS)"
7956 COMMONOBJS
="\$(MOTIF_COMMONOBJS)"
7957 GENERICOBJS
="\$(MOTIF_GENERICOBJS)"
7958 GUIDEPS
="\$(MOTIF_GUIDEPS)"
7959 COMMONDEPS
="\$(MOTIF_COMMONDEPS)"
7960 GENERICDEPS
="\$(MOTIF_GENERICDEPS)"
7961 UNIXOBJS
="\$(UNIX_OBJS)"
7965 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "A-Z" "a-z"`
7967 TOOLKIT_DEF
="-D__WX${TOOLKIT}__"
7969 WX_LIBRARY
="wx_${TOOLKIT_DIR}"
7971 ALL_OBJECTS
="\$(GUIOBJS) \$(COMMONOBJS) \$(GENERICOBJS) \$(UNIXOBJS) \$(HTMLOBJS) \$(JPEGOBJS) \$(PNGOBJS) \$(ZLIBOBJS) \$(IODBCOBJS)"
7972 ALL_DEPFILES
="\$(GUIDEPS) \$(COMMONDEPS) \$(GENERICDEPS) \$(UNIXDEPS) \$(HTMLDEPS)"
7973 ALL_HEADERS
="\$(GUIHEADERS) \$(HTML_HEADERS) \$(UNIX_HEADERS) \$(PROTOCOL_HEADERS) \$(GENERIC_HEADERS) \$(WX_HEADERS)"
7976 ALL_OBJECTS
="\$(BASE_OBJS)"
7977 ALL_DEPFILES
="\${BASE_DEPS}"
7978 ALL_HEADERS
="\${BASE_HEADERS}"
7983 WX_LIBRARY_NAME
="lib${WX_LIBRARY}.la"
7985 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
7987 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}-${WX_RELEASE}.so.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
7989 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}-${WX_RELEASE}.so.${WX_CURRENT}"
7990 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}-${WX_RELEASE}.so"
7991 WX_LIBRARY_LINK3
="lib${WX_LIBRARY}.so"
7998 if test "$wxUSE_SHARED" = "yes"; then
8001 if test "$GCC" = yes ; then
8002 SHARED_LD
="${CC} -shared -o"
8005 SHARED_LD
="${CXX} -b -o"
8008 WX_LIBRARY_NAME_SHARED
="libwx_${TOOLKIT_DIR}.sl"
8009 WX_ALL
=${WX_LIBRARY_NAME_SHARED}
8012 SHARED_LD
="${CC} -shared -o"
8014 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8015 WX_ALL
="CREATE_LINKS"
8017 *-*-irix5* | *-*-irix6* )
8018 if test "$GCC" = yes ; then
8019 SHARED_LD
="${CC} -shared -o"
8022 SHARED_LD
="${CXX} -shared -o"
8024 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8025 WX_ALL
="CREATE_LINKS"
8028 if test "$GCC" = yes ; then
8029 SHARED_LD
="${CC} -shared -o"
8032 SHARED_LD
="${CXX} -G -o"
8035 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8036 WX_ALL
="CREATE_LINKS"
8039 SHARED_LD
="${CC} -shared -o"
8041 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8042 WX_ALL
="CREATE_LINKS"
8044 *-*-freebsd* | *-*-netbsd*)
8045 SHARED_LD
="${CC} -shared -o"
8047 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8048 WX_ALL
="CREATE_LINKS"
8051 SHARED_LD
="${CXX} -shared -o"
8053 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8054 WX_ALL
="CREATE_LINKS"
8057 SHARED_LD
="${CXX} -shared -o"
8059 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8060 WX_ALL
="CREATE_LINKS"
8063 SHARED_LD
="${CC} -shared -o"
8065 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8066 WX_ALL
="CREATE_LINKS"
8069 SHARED_LD
="/usr/lpp/xlC/bin/makeC++SharedLib -p 0 -o"
8070 WX_ALL
=${WX_LIBRARY_NAME_SHARED}
8073 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
8074 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
8077 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
8078 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
8083 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
8086 if test "x$WX_TARGET_LIBRARY" = "x"; then
8087 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
8090 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
8091 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
8095 for ac_hdr
in strings.h
8097 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8098 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8099 echo "configure:8100: checking for $ac_hdr" >&5
8100 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8101 echo $ac_n "(cached) $ac_c" 1>&6
8103 cat > conftest.
$ac_ext <<EOF
8104 #line 8105 "configure"
8105 #include "confdefs.h"
8108 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8109 { (eval echo configure
:8110: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8110 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8111 if test -z "$ac_err"; then
8113 eval "ac_cv_header_$ac_safe=yes"
8116 echo "configure: failed program was:" >&5
8117 cat conftest.
$ac_ext >&5
8119 eval "ac_cv_header_$ac_safe=no"
8123 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8124 echo "$ac_t""yes" 1>&6
8125 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8126 cat >> confdefs.h
<<EOF
8127 #define $ac_tr_hdr 1
8131 echo "$ac_t""no" 1>&6
8135 for ac_hdr
in unistd.h
8137 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8138 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8139 echo "configure:8140: checking for $ac_hdr" >&5
8140 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8141 echo $ac_n "(cached) $ac_c" 1>&6
8143 cat > conftest.
$ac_ext <<EOF
8144 #line 8145 "configure"
8145 #include "confdefs.h"
8148 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8149 { (eval echo configure
:8150: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8150 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8151 if test -z "$ac_err"; then
8153 eval "ac_cv_header_$ac_safe=yes"
8156 echo "configure: failed program was:" >&5
8157 cat conftest.
$ac_ext >&5
8159 eval "ac_cv_header_$ac_safe=no"
8163 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8164 echo "$ac_t""yes" 1>&6
8165 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8166 cat >> confdefs.h
<<EOF
8167 #define $ac_tr_hdr 1
8171 echo "$ac_t""no" 1>&6
8175 for ac_hdr
in wchar.h
8177 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8178 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8179 echo "configure:8180: checking for $ac_hdr" >&5
8180 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8181 echo $ac_n "(cached) $ac_c" 1>&6
8183 cat > conftest.
$ac_ext <<EOF
8184 #line 8185 "configure"
8185 #include "confdefs.h"
8188 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8189 { (eval echo configure
:8190: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8190 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8191 if test -z "$ac_err"; then
8193 eval "ac_cv_header_$ac_safe=yes"
8196 echo "configure: failed program was:" >&5
8197 cat conftest.
$ac_ext >&5
8199 eval "ac_cv_header_$ac_safe=no"
8203 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8204 echo "$ac_t""yes" 1>&6
8205 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8206 cat >> confdefs.h
<<EOF
8207 #define $ac_tr_hdr 1
8211 echo "$ac_t""no" 1>&6
8215 for ac_hdr
in wcstr.h
8217 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8218 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8219 echo "configure:8220: checking for $ac_hdr" >&5
8220 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8221 echo $ac_n "(cached) $ac_c" 1>&6
8223 cat > conftest.
$ac_ext <<EOF
8224 #line 8225 "configure"
8225 #include "confdefs.h"
8228 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8229 { (eval echo configure
:8230: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8230 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8231 if test -z "$ac_err"; then
8233 eval "ac_cv_header_$ac_safe=yes"
8236 echo "configure: failed program was:" >&5
8237 cat conftest.
$ac_ext >&5
8239 eval "ac_cv_header_$ac_safe=no"
8243 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8244 echo "$ac_t""yes" 1>&6
8245 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8246 cat >> confdefs.h
<<EOF
8247 #define $ac_tr_hdr 1
8251 echo "$ac_t""no" 1>&6
8255 for ac_hdr
in fnmatch.h
8257 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8258 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8259 echo "configure:8260: checking for $ac_hdr" >&5
8260 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8261 echo $ac_n "(cached) $ac_c" 1>&6
8263 cat > conftest.
$ac_ext <<EOF
8264 #line 8265 "configure"
8265 #include "confdefs.h"
8268 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8269 { (eval echo configure
:8270: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8270 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8271 if test -z "$ac_err"; then
8273 eval "ac_cv_header_$ac_safe=yes"
8276 echo "configure: failed program was:" >&5
8277 cat conftest.
$ac_ext >&5
8279 eval "ac_cv_header_$ac_safe=no"
8283 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8284 echo "$ac_t""yes" 1>&6
8285 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8286 cat >> confdefs.h
<<EOF
8287 #define $ac_tr_hdr 1
8291 echo "$ac_t""no" 1>&6
8296 if test "$wxUSE_GUI" = "yes"; then
8297 for ac_hdr
in X
11/XKBlib.h
8299 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8300 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8301 echo "configure:8302: checking for $ac_hdr" >&5
8302 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8303 echo $ac_n "(cached) $ac_c" 1>&6
8305 cat > conftest.
$ac_ext <<EOF
8306 #line 8307 "configure"
8307 #include "confdefs.h"
8310 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8311 { (eval echo configure
:8312: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8312 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8313 if test -z "$ac_err"; then
8315 eval "ac_cv_header_$ac_safe=yes"
8318 echo "configure: failed program was:" >&5
8319 cat conftest.
$ac_ext >&5
8321 eval "ac_cv_header_$ac_safe=no"
8325 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8326 echo "$ac_t""yes" 1>&6
8327 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8328 cat >> confdefs.h
<<EOF
8329 #define $ac_tr_hdr 1
8333 echo "$ac_t""no" 1>&6
8340 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
8341 echo "configure:8342: checking for ANSI C header files" >&5
8342 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
8343 echo $ac_n "(cached) $ac_c" 1>&6
8345 cat > conftest.
$ac_ext <<EOF
8346 #line 8347 "configure"
8347 #include "confdefs.h"
8353 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8354 { (eval echo configure
:8355: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8355 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8356 if test -z "$ac_err"; then
8358 ac_cv_header_stdc
=yes
8361 echo "configure: failed program was:" >&5
8362 cat conftest.
$ac_ext >&5
8364 ac_cv_header_stdc
=no
8368 if test $ac_cv_header_stdc = yes; then
8369 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8370 cat > conftest.
$ac_ext <<EOF
8371 #line 8372 "configure"
8372 #include "confdefs.h"
8375 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8376 egrep "memchr" >/dev
/null
2>&1; then
8380 ac_cv_header_stdc
=no
8386 if test $ac_cv_header_stdc = yes; then
8387 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8388 cat > conftest.
$ac_ext <<EOF
8389 #line 8390 "configure"
8390 #include "confdefs.h"
8393 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8394 egrep "free" >/dev
/null
2>&1; then
8398 ac_cv_header_stdc
=no
8404 if test $ac_cv_header_stdc = yes; then
8405 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8406 if test "$cross_compiling" = yes; then
8409 cat > conftest.
$ac_ext <<EOF
8410 #line 8411 "configure"
8411 #include "confdefs.h"
8413 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8414 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8415 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8416 int main () { int i; for (i = 0; i < 256; i++)
8417 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
8421 if { (eval echo configure
:8422: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
8425 echo "configure: failed program was:" >&5
8426 cat conftest.
$ac_ext >&5
8428 ac_cv_header_stdc
=no
8436 echo "$ac_t""$ac_cv_header_stdc" 1>&6
8437 if test $ac_cv_header_stdc = yes; then
8438 cat >> confdefs.h
<<\EOF
8439 #define STDC_HEADERS 1
8444 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
8445 echo "configure:8446: checking for mode_t" >&5
8446 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
8447 echo $ac_n "(cached) $ac_c" 1>&6
8449 cat > conftest.
$ac_ext <<EOF
8450 #line 8451 "configure"
8451 #include "confdefs.h"
8452 #include <sys/types.h>
8458 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8459 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
8461 ac_cv_type_mode_t
=yes
8464 ac_cv_type_mode_t
=no
8469 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
8470 if test $ac_cv_type_mode_t = no
; then
8471 cat >> confdefs.h
<<\EOF
8477 echo $ac_n "checking for off_t""... $ac_c" 1>&6
8478 echo "configure:8479: checking for off_t" >&5
8479 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
8480 echo $ac_n "(cached) $ac_c" 1>&6
8482 cat > conftest.
$ac_ext <<EOF
8483 #line 8484 "configure"
8484 #include "confdefs.h"
8485 #include <sys/types.h>
8491 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8492 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
8494 ac_cv_type_off_t
=yes
8502 echo "$ac_t""$ac_cv_type_off_t" 1>&6
8503 if test $ac_cv_type_off_t = no
; then
8504 cat >> confdefs.h
<<\EOF
8510 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
8511 echo "configure:8512: checking for pid_t" >&5
8512 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
8513 echo $ac_n "(cached) $ac_c" 1>&6
8515 cat > conftest.
$ac_ext <<EOF
8516 #line 8517 "configure"
8517 #include "confdefs.h"
8518 #include <sys/types.h>
8524 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8525 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
8527 ac_cv_type_pid_t
=yes
8535 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
8536 if test $ac_cv_type_pid_t = no
; then
8537 cat >> confdefs.h
<<\EOF
8543 echo $ac_n "checking for size_t""... $ac_c" 1>&6
8544 echo "configure:8545: checking for size_t" >&5
8545 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
8546 echo $ac_n "(cached) $ac_c" 1>&6
8548 cat > conftest.
$ac_ext <<EOF
8549 #line 8550 "configure"
8550 #include "confdefs.h"
8551 #include <sys/types.h>
8557 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8558 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
8560 ac_cv_type_size_t
=yes
8563 ac_cv_type_size_t
=no
8568 echo "$ac_t""$ac_cv_type_size_t" 1>&6
8569 if test $ac_cv_type_size_t = no
; then
8570 cat >> confdefs.h
<<\EOF
8571 #define size_t unsigned
8576 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
8577 echo "configure:8578: checking for uid_t in sys/types.h" >&5
8578 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
8579 echo $ac_n "(cached) $ac_c" 1>&6
8581 cat > conftest.
$ac_ext <<EOF
8582 #line 8583 "configure"
8583 #include "confdefs.h"
8584 #include <sys/types.h>
8586 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8587 egrep "uid_t" >/dev
/null
2>&1; then
8589 ac_cv_type_uid_t
=yes
8598 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
8599 if test $ac_cv_type_uid_t = no
; then
8600 cat >> confdefs.h
<<\EOF
8604 cat >> confdefs.h
<<\EOF
8613 echo $ac_n "checking for working const""... $ac_c" 1>&6
8614 echo "configure:8615: checking for working const" >&5
8615 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
8616 echo $ac_n "(cached) $ac_c" 1>&6
8618 cat > conftest.
$ac_ext <<EOF
8619 #line 8620 "configure"
8620 #include "confdefs.h"
8624 /* Ultrix mips cc rejects this. */
8625 typedef int charset[2]; const charset x;
8626 /* SunOS 4.1.1 cc rejects this. */
8627 char const *const *ccp;
8629 /* NEC SVR4.0.2 mips cc rejects this. */
8630 struct point {int x, y;};
8631 static struct point const zero = {0,0};
8632 /* AIX XL C 1.02.0.0 rejects this.
8633 It does not let you subtract one const X* pointer from another in an arm
8634 of an if-expression whose if-part is not a constant expression */
8635 const char *g = "string";
8636 ccp = &g + (g ? g-g : 0);
8637 /* HPUX 7.0 cc rejects these. */
8640 ccp = (char const *const *) p;
8641 { /* SCO 3.2v4 cc rejects this. */
8643 char const *s = 0 ? (char *) 0 : (char const *) 0;
8647 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
8649 const int *foo = &x[0];
8652 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
8653 typedef const int *iptr;
8657 { /* AIX XL C 1.02.0.0 rejects this saying
8658 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
8659 struct s { int j; const int *ap[3]; };
8660 struct s *b; b->j = 5;
8662 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
8668 if { (eval echo configure
:8669: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8672 echo "configure: failed program was:" >&5
8673 cat conftest.
$ac_ext >&5
8680 echo "$ac_t""$ac_cv_c_const" 1>&6
8681 if test $ac_cv_c_const = no
; then
8682 cat >> confdefs.h
<<\EOF
8688 echo $ac_n "checking for inline""... $ac_c" 1>&6
8689 echo "configure:8690: checking for inline" >&5
8690 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
8691 echo $ac_n "(cached) $ac_c" 1>&6
8694 for ac_kw
in inline __inline__ __inline
; do
8695 cat > conftest.
$ac_ext <<EOF
8696 #line 8697 "configure"
8697 #include "confdefs.h"
8703 if { (eval echo configure
:8704: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8705 ac_cv_c_inline
=$ac_kw; break
8707 echo "configure: failed program was:" >&5
8708 cat conftest.
$ac_ext >&5
8715 echo "$ac_t""$ac_cv_c_inline" 1>&6
8716 case "$ac_cv_c_inline" in
8718 no
) cat >> confdefs.h
<<\EOF
8722 *) cat >> confdefs.h
<<EOF
8723 #define inline $ac_cv_c_inline
8729 echo $ac_n "checking size of char""... $ac_c" 1>&6
8730 echo "configure:8731: checking size of char" >&5
8731 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
8732 echo $ac_n "(cached) $ac_c" 1>&6
8734 if test "$cross_compiling" = yes; then
8737 cat > conftest.
$ac_ext <<EOF
8738 #line 8739 "configure"
8739 #include "confdefs.h"
8743 FILE *f=fopen("conftestval", "w");
8745 fprintf(f, "%d\n", sizeof(char));
8749 if { (eval echo configure
:8750: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
8751 ac_cv_sizeof_char
=`cat conftestval`
8753 echo "configure: failed program was:" >&5
8754 cat conftest.
$ac_ext >&5
8762 echo "$ac_t""$ac_cv_sizeof_char" 1>&6
8763 cat >> confdefs.h
<<EOF
8764 #define SIZEOF_CHAR $ac_cv_sizeof_char
8768 echo $ac_n "checking size of short""... $ac_c" 1>&6
8769 echo "configure:8770: checking size of short" >&5
8770 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
8771 echo $ac_n "(cached) $ac_c" 1>&6
8773 if test "$cross_compiling" = yes; then
8774 ac_cv_sizeof_short
=2
8776 cat > conftest.
$ac_ext <<EOF
8777 #line 8778 "configure"
8778 #include "confdefs.h"
8782 FILE *f=fopen("conftestval", "w");
8784 fprintf(f, "%d\n", sizeof(short));
8788 if { (eval echo configure
:8789: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
8790 ac_cv_sizeof_short
=`cat conftestval`
8792 echo "configure: failed program was:" >&5
8793 cat conftest.
$ac_ext >&5
8795 ac_cv_sizeof_short
=0
8801 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
8802 cat >> confdefs.h
<<EOF
8803 #define SIZEOF_SHORT $ac_cv_sizeof_short
8807 echo $ac_n "checking size of int *""... $ac_c" 1>&6
8808 echo "configure:8809: checking size of int *" >&5
8809 if eval "test \"`echo '$''{'ac_cv_sizeof_int_p'+set}'`\" = set"; then
8810 echo $ac_n "(cached) $ac_c" 1>&6
8812 if test "$cross_compiling" = yes; then
8813 ac_cv_sizeof_int_p
=4
8815 cat > conftest.
$ac_ext <<EOF
8816 #line 8817 "configure"
8817 #include "confdefs.h"
8821 FILE *f=fopen("conftestval", "w");
8823 fprintf(f, "%d\n", sizeof(int *));
8827 if { (eval echo configure
:8828: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
8829 ac_cv_sizeof_int_p
=`cat conftestval`
8831 echo "configure: failed program was:" >&5
8832 cat conftest.
$ac_ext >&5
8834 ac_cv_sizeof_int_p
=0
8840 echo "$ac_t""$ac_cv_sizeof_int_p" 1>&6
8841 cat >> confdefs.h
<<EOF
8842 #define SIZEOF_INT_P $ac_cv_sizeof_int_p
8846 echo $ac_n "checking size of int""... $ac_c" 1>&6
8847 echo "configure:8848: checking size of int" >&5
8848 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
8849 echo $ac_n "(cached) $ac_c" 1>&6
8851 if test "$cross_compiling" = yes; then
8854 cat > conftest.
$ac_ext <<EOF
8855 #line 8856 "configure"
8856 #include "confdefs.h"
8860 FILE *f=fopen("conftestval", "w");
8862 fprintf(f, "%d\n", sizeof(int));
8866 if { (eval echo configure
:8867: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
8868 ac_cv_sizeof_int
=`cat conftestval`
8870 echo "configure: failed program was:" >&5
8871 cat conftest.
$ac_ext >&5
8879 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
8880 cat >> confdefs.h
<<EOF
8881 #define SIZEOF_INT $ac_cv_sizeof_int
8885 echo $ac_n "checking size of long""... $ac_c" 1>&6
8886 echo "configure:8887: checking size of long" >&5
8887 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
8888 echo $ac_n "(cached) $ac_c" 1>&6
8890 if test "$cross_compiling" = yes; then
8893 cat > conftest.
$ac_ext <<EOF
8894 #line 8895 "configure"
8895 #include "confdefs.h"
8899 FILE *f=fopen("conftestval", "w");
8901 fprintf(f, "%d\n", sizeof(long));
8905 if { (eval echo configure
:8906: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
8907 ac_cv_sizeof_long
=`cat conftestval`
8909 echo "configure: failed program was:" >&5
8910 cat conftest.
$ac_ext >&5
8918 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
8919 cat >> confdefs.h
<<EOF
8920 #define SIZEOF_LONG $ac_cv_sizeof_long
8924 echo $ac_n "checking size of long long""... $ac_c" 1>&6
8925 echo "configure:8926: checking size of long long" >&5
8926 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
8927 echo $ac_n "(cached) $ac_c" 1>&6
8929 if test "$cross_compiling" = yes; then
8930 ac_cv_sizeof_long_long
=0
8932 cat > conftest.
$ac_ext <<EOF
8933 #line 8934 "configure"
8934 #include "confdefs.h"
8938 FILE *f=fopen("conftestval", "w");
8940 fprintf(f, "%d\n", sizeof(long long));
8944 if { (eval echo configure
:8945: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
8946 ac_cv_sizeof_long_long
=`cat conftestval`
8948 echo "configure: failed program was:" >&5
8949 cat conftest.
$ac_ext >&5
8951 ac_cv_sizeof_long_long
=0
8957 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
8958 cat >> confdefs.h
<<EOF
8959 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
8964 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
8965 echo "configure:8966: checking whether byte ordering is bigendian" >&5
8966 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
8967 echo $ac_n "(cached) $ac_c" 1>&6
8969 ac_cv_c_bigendian
=unknown
8970 # See if sys/param.h defines the BYTE_ORDER macro.
8971 cat > conftest.
$ac_ext <<EOF
8972 #line 8973 "configure"
8973 #include "confdefs.h"
8974 #include <sys/types.h>
8975 #include <sys/param.h>
8978 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
8983 if { (eval echo configure
:8984: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8985 # It does; now see whether it defined to BIG_ENDIAN or not.
8986 cat > conftest.
$ac_ext <<EOF
8987 #line 8988 "configure"
8988 #include "confdefs.h"
8989 #include <sys/types.h>
8990 #include <sys/param.h>
8993 #if BYTE_ORDER != BIG_ENDIAN
8998 if { (eval echo configure
:8999: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9000 ac_cv_c_bigendian
=yes
9002 echo "configure: failed program was:" >&5
9003 cat conftest.
$ac_ext >&5
9005 ac_cv_c_bigendian
=no
9009 echo "configure: failed program was:" >&5
9010 cat conftest.
$ac_ext >&5
9013 if test $ac_cv_c_bigendian = unknown
; then
9014 if test "$cross_compiling" = yes; then
9015 ac_cv_c_bigendian
=unknown
9017 cat > conftest.
$ac_ext <<EOF
9018 #line 9019 "configure"
9019 #include "confdefs.h"
9021 /* Are we little or big endian? From Harbison&Steele. */
9025 char c[sizeof (long)];
9028 exit (u.c[sizeof (long) - 1] == 1);
9031 if { (eval echo configure
:9032: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9033 ac_cv_c_bigendian
=no
9035 echo "configure: failed program was:" >&5
9036 cat conftest.
$ac_ext >&5
9038 ac_cv_c_bigendian
=yes
9046 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
9047 if test $ac_cv_c_bigendian = unknown
; then
9048 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
9050 if test $ac_cv_c_bigendian = yes; then
9051 cat >> confdefs.h
<<\EOF
9052 #define WORDS_BIGENDIAN 1
9059 if test "$cross_compiling" = "yes"; then
9060 cat >> confdefs.h
<<\EOF
9061 #define wxUSE_IOSTREAMH 1
9067 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9068 ac_cpp
='$CXXCPP $CPPFLAGS'
9069 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9070 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9071 cross_compiling
=$ac_cv_prog_cxx_cross
9074 for ac_hdr
in iostream
9076 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9077 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9078 echo "configure:9079: checking for $ac_hdr" >&5
9079 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9080 echo $ac_n "(cached) $ac_c" 1>&6
9082 cat > conftest.
$ac_ext <<EOF
9083 #line 9084 "configure"
9084 #include "confdefs.h"
9087 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9088 { (eval echo configure
:9089: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9089 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9090 if test -z "$ac_err"; then
9092 eval "ac_cv_header_$ac_safe=yes"
9095 echo "configure: failed program was:" >&5
9096 cat conftest.
$ac_ext >&5
9098 eval "ac_cv_header_$ac_safe=no"
9102 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9103 echo "$ac_t""yes" 1>&6
9104 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9105 cat >> confdefs.h
<<EOF
9106 #define $ac_tr_hdr 1
9110 echo "$ac_t""no" 1>&6
9115 if test "x$HAVE_IOSTREAM" = x
; then
9116 cat >> confdefs.h
<<\EOF
9117 #define wxUSE_IOSTREAMH 1
9125 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9126 ac_cpp
='$CPP $CPPFLAGS'
9127 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9128 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9129 cross_compiling
=$ac_cv_prog_cc_cross
9135 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
9136 echo "configure:9137: checking if C++ compiler supports bool" >&5
9137 if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
9138 echo $ac_n "(cached) $ac_c" 1>&6
9143 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9144 ac_cpp
='$CXXCPP $CPPFLAGS'
9145 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9146 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9147 cross_compiling
=$ac_cv_prog_cxx_cross
9150 cat > conftest.
$ac_ext <<EOF
9151 #line 9152 "configure"
9152 #include "confdefs.h"
9163 if { (eval echo configure
:9164: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9166 cat >> confdefs.h
<<\EOF
9173 echo "configure: failed program was:" >&5
9174 cat conftest.
$ac_ext >&5
9184 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9185 ac_cpp
='$CPP $CPPFLAGS'
9186 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9187 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9188 cross_compiling
=$ac_cv_prog_cc_cross
9193 echo "$ac_t""$wx_cv_cpp_bool" 1>&6
9195 if test "$wx_cv_cpp_bool" = "yes"; then
9196 cat >> confdefs.h
<<\EOF
9204 echo $ac_n "checking if you need GNU extensions""... $ac_c" 1>&6
9205 echo "configure:9206: checking if you need GNU extensions" >&5
9206 if eval "test \"`echo '$''{'wx_cv_gnu_extensions'+set}'`\" = set"; then
9207 echo $ac_n "(cached) $ac_c" 1>&6
9210 cat > conftest.
$ac_ext <<EOF
9211 #line 9212 "configure"
9212 #include "confdefs.h"
9213 #include <features.h>
9217 #ifndef __GNU_LIBRARY__
9218 Compile error wanted
9224 if { (eval echo configure
:9225: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9226 wx_cv_gnu_extensions
=yes
9228 echo "configure: failed program was:" >&5
9229 cat conftest.
$ac_ext >&5
9231 wx_cv_gnu_extensions
=no
9238 echo "$ac_t""$wx_cv_gnu_extensions" 1>&6
9239 if test "$wx_cv_gnu_extensions" = "yes"; then
9240 cat >> confdefs.h
<<EOF
9241 #define _GNU_SOURCE 1
9248 echo $ac_n "checking for wcslen in -lc""... $ac_c" 1>&6
9249 echo "configure:9250: checking for wcslen in -lc" >&5
9250 ac_lib_var
=`echo c'_'wcslen | sed 'y%./+-%__p_%'`
9251 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9252 echo $ac_n "(cached) $ac_c" 1>&6
9254 ac_save_LIBS
="$LIBS"
9256 cat > conftest.
$ac_ext <<EOF
9257 #line 9258 "configure"
9258 #include "confdefs.h"
9259 /* Override any gcc2 internal prototype to avoid an error. */
9260 /* We use char because int might match the return type of a gcc2
9261 builtin and then its argument prototype would still apply. */
9268 if { (eval echo configure
:9269: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9270 eval "ac_cv_lib_$ac_lib_var=yes"
9272 echo "configure: failed program was:" >&5
9273 cat conftest.
$ac_ext >&5
9275 eval "ac_cv_lib_$ac_lib_var=no"
9278 LIBS
="$ac_save_LIBS"
9281 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9282 echo "$ac_t""yes" 1>&6
9284 cat >> confdefs.h
<<\EOF
9285 #define HAVE_WCSLEN 1
9291 echo "$ac_t""no" 1>&6
9293 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
9294 echo "configure:9295: checking for wcslen in -lw" >&5
9295 ac_lib_var
=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
9296 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9297 echo $ac_n "(cached) $ac_c" 1>&6
9299 ac_save_LIBS
="$LIBS"
9301 cat > conftest.
$ac_ext <<EOF
9302 #line 9303 "configure"
9303 #include "confdefs.h"
9304 /* Override any gcc2 internal prototype to avoid an error. */
9305 /* We use char because int might match the return type of a gcc2
9306 builtin and then its argument prototype would still apply. */
9313 if { (eval echo configure
:9314: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9315 eval "ac_cv_lib_$ac_lib_var=yes"
9317 echo "configure: failed program was:" >&5
9318 cat conftest.
$ac_ext >&5
9320 eval "ac_cv_lib_$ac_lib_var=no"
9323 LIBS
="$ac_save_LIBS"
9326 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9327 echo "$ac_t""yes" 1>&6
9329 cat >> confdefs.h
<<\EOF
9330 #define HAVE_WCSLEN 1
9336 echo "$ac_t""no" 1>&6
9343 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
9344 echo "configure:9345: checking for vprintf" >&5
9345 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
9346 echo $ac_n "(cached) $ac_c" 1>&6
9348 cat > conftest.
$ac_ext <<EOF
9349 #line 9350 "configure"
9350 #include "confdefs.h"
9351 /* System header to define __stub macros and hopefully few prototypes,
9352 which can conflict with char vprintf(); below. */
9354 /* Override any gcc2 internal prototype to avoid an error. */
9355 /* We use char because int might match the return type of a gcc2
9356 builtin and then its argument prototype would still apply. */
9361 /* The GNU C library defines this for functions which it implements
9362 to always fail with ENOSYS. Some functions are actually named
9363 something starting with __ and the normal name is an alias. */
9364 #if defined (__stub_vprintf) || defined (__stub___vprintf)
9372 if { (eval echo configure
:9373: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9374 eval "ac_cv_func_vprintf=yes"
9376 echo "configure: failed program was:" >&5
9377 cat conftest.
$ac_ext >&5
9379 eval "ac_cv_func_vprintf=no"
9384 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
9385 echo "$ac_t""yes" 1>&6
9386 cat >> confdefs.h
<<\EOF
9387 #define HAVE_VPRINTF 1
9391 echo "$ac_t""no" 1>&6
9394 if test "$ac_cv_func_vprintf" != yes; then
9395 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
9396 echo "configure:9397: checking for _doprnt" >&5
9397 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
9398 echo $ac_n "(cached) $ac_c" 1>&6
9400 cat > conftest.
$ac_ext <<EOF
9401 #line 9402 "configure"
9402 #include "confdefs.h"
9403 /* System header to define __stub macros and hopefully few prototypes,
9404 which can conflict with char _doprnt(); below. */
9406 /* Override any gcc2 internal prototype to avoid an error. */
9407 /* We use char because int might match the return type of a gcc2
9408 builtin and then its argument prototype would still apply. */
9413 /* The GNU C library defines this for functions which it implements
9414 to always fail with ENOSYS. Some functions are actually named
9415 something starting with __ and the normal name is an alias. */
9416 #if defined (__stub__doprnt) || defined (__stub____doprnt)
9424 if { (eval echo configure
:9425: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9426 eval "ac_cv_func__doprnt=yes"
9428 echo "configure: failed program was:" >&5
9429 cat conftest.
$ac_ext >&5
9431 eval "ac_cv_func__doprnt=no"
9436 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
9437 echo "$ac_t""yes" 1>&6
9438 cat >> confdefs.h
<<\EOF
9439 #define HAVE_DOPRNT 1
9443 echo "$ac_t""no" 1>&6
9449 for ac_func
in vsnprintf
9451 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9452 echo "configure:9453: checking for $ac_func" >&5
9453 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9454 echo $ac_n "(cached) $ac_c" 1>&6
9456 cat > conftest.
$ac_ext <<EOF
9457 #line 9458 "configure"
9458 #include "confdefs.h"
9459 /* System header to define __stub macros and hopefully few prototypes,
9460 which can conflict with char $ac_func(); below. */
9462 /* Override any gcc2 internal prototype to avoid an error. */
9463 /* We use char because int might match the return type of a gcc2
9464 builtin and then its argument prototype would still apply. */
9469 /* The GNU C library defines this for functions which it implements
9470 to always fail with ENOSYS. Some functions are actually named
9471 something starting with __ and the normal name is an alias. */
9472 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9480 if { (eval echo configure
:9481: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9482 eval "ac_cv_func_$ac_func=yes"
9484 echo "configure: failed program was:" >&5
9485 cat conftest.
$ac_ext >&5
9487 eval "ac_cv_func_$ac_func=no"
9492 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9493 echo "$ac_t""yes" 1>&6
9494 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9495 cat >> confdefs.h
<<EOF
9496 #define $ac_tr_func 1
9498 cat >> confdefs.h
<<\EOF
9499 #define HAVE_VSNPRINTF 1
9503 echo "$ac_t""no" 1>&6
9504 echo "configure: warning: unsafe function sprintf will be used instead of snprintf" 1>&2
9512 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9513 ac_cpp
='$CXXCPP $CPPFLAGS'
9514 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9515 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9516 cross_compiling
=$ac_cv_prog_cxx_cross
9519 echo $ac_n "checking for vsscanf""... $ac_c" 1>&6
9520 echo "configure:9521: checking for vsscanf" >&5
9521 if eval "test \"`echo '$''{'wx_cv_func_vsscanf'+set}'`\" = set"; then
9522 echo $ac_n "(cached) $ac_c" 1>&6
9525 if test "$cross_compiling" = yes; then
9526 wx_cv_func_vsscanf
=no
9529 cat > conftest.
$ac_ext <<EOF
9530 #line 9531 "configure"
9531 #include "confdefs.h"
9533 extern "C" void exit(int);
9539 int try_vsscanf(const char *format, ...)
9542 va_start(ap, format);
9544 vsscanf("17", format, ap);
9552 try_vsscanf("%d", &i);
9553 return i == 17 ? 0 : 1;
9557 if { (eval echo configure
:9558: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9560 cat >> confdefs.h
<<\EOF
9561 #define HAVE_VSSCANF 1
9564 wx_cv_func_vsscanf
=yes
9567 echo "configure: failed program was:" >&5
9568 cat conftest.
$ac_ext >&5
9570 wx_cv_func_vsscanf
=no
9578 echo "$ac_t""$wx_cv_func_vsscanf" 1>&6
9581 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9582 ac_cpp
='$CPP $CPPFLAGS'
9583 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9584 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9585 cross_compiling
=$ac_cv_prog_cc_cross
9588 if test "$USE_UNIX" = 1; then
9590 for ac_func
in vfork
9592 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9593 echo "configure:9594: checking for $ac_func" >&5
9594 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9595 echo $ac_n "(cached) $ac_c" 1>&6
9597 cat > conftest.
$ac_ext <<EOF
9598 #line 9599 "configure"
9599 #include "confdefs.h"
9600 /* System header to define __stub macros and hopefully few prototypes,
9601 which can conflict with char $ac_func(); below. */
9603 /* Override any gcc2 internal prototype to avoid an error. */
9604 /* We use char because int might match the return type of a gcc2
9605 builtin and then its argument prototype would still apply. */
9610 /* The GNU C library defines this for functions which it implements
9611 to always fail with ENOSYS. Some functions are actually named
9612 something starting with __ and the normal name is an alias. */
9613 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9621 if { (eval echo configure
:9622: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9623 eval "ac_cv_func_$ac_func=yes"
9625 echo "configure: failed program was:" >&5
9626 cat conftest.
$ac_ext >&5
9628 eval "ac_cv_func_$ac_func=no"
9633 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9634 echo "$ac_t""yes" 1>&6
9635 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9636 cat >> confdefs.h
<<EOF
9637 #define $ac_tr_func 1
9641 echo "$ac_t""no" 1>&6
9647 for ac_func
in nanosleep
9649 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9650 echo "configure:9651: checking for $ac_func" >&5
9651 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9652 echo $ac_n "(cached) $ac_c" 1>&6
9654 cat > conftest.
$ac_ext <<EOF
9655 #line 9656 "configure"
9656 #include "confdefs.h"
9657 /* System header to define __stub macros and hopefully few prototypes,
9658 which can conflict with char $ac_func(); below. */
9660 /* Override any gcc2 internal prototype to avoid an error. */
9661 /* We use char because int might match the return type of a gcc2
9662 builtin and then its argument prototype would still apply. */
9667 /* The GNU C library defines this for functions which it implements
9668 to always fail with ENOSYS. Some functions are actually named
9669 something starting with __ and the normal name is an alias. */
9670 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9678 if { (eval echo configure
:9679: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9680 eval "ac_cv_func_$ac_func=yes"
9682 echo "configure: failed program was:" >&5
9683 cat conftest.
$ac_ext >&5
9685 eval "ac_cv_func_$ac_func=no"
9690 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9691 echo "$ac_t""yes" 1>&6
9692 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9693 cat >> confdefs.h
<<EOF
9694 #define $ac_tr_func 1
9696 cat >> confdefs.h
<<\EOF
9697 #define HAVE_NANOSLEEP 1
9701 echo "$ac_t""no" 1>&6
9702 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
9703 echo "configure:9704: checking for nanosleep in -lposix4" >&5
9704 ac_lib_var
=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
9705 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9706 echo $ac_n "(cached) $ac_c" 1>&6
9708 ac_save_LIBS
="$LIBS"
9709 LIBS
="-lposix4 $LIBS"
9710 cat > conftest.
$ac_ext <<EOF
9711 #line 9712 "configure"
9712 #include "confdefs.h"
9713 /* Override any gcc2 internal prototype to avoid an error. */
9714 /* We use char because int might match the return type of a gcc2
9715 builtin and then its argument prototype would still apply. */
9722 if { (eval echo configure
:9723: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9724 eval "ac_cv_lib_$ac_lib_var=yes"
9726 echo "configure: failed program was:" >&5
9727 cat conftest.
$ac_ext >&5
9729 eval "ac_cv_lib_$ac_lib_var=no"
9732 LIBS
="$ac_save_LIBS"
9735 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9736 echo "$ac_t""yes" 1>&6
9738 cat >> confdefs.h
<<\EOF
9739 #define HAVE_NANOSLEEP 1
9742 POSIX4_LINK
="-lposix4"
9745 echo "$ac_t""no" 1>&6
9747 for ac_func
in usleep
9749 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9750 echo "configure:9751: checking for $ac_func" >&5
9751 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9752 echo $ac_n "(cached) $ac_c" 1>&6
9754 cat > conftest.
$ac_ext <<EOF
9755 #line 9756 "configure"
9756 #include "confdefs.h"
9757 /* System header to define __stub macros and hopefully few prototypes,
9758 which can conflict with char $ac_func(); below. */
9760 /* Override any gcc2 internal prototype to avoid an error. */
9761 /* We use char because int might match the return type of a gcc2
9762 builtin and then its argument prototype would still apply. */
9767 /* The GNU C library defines this for functions which it implements
9768 to always fail with ENOSYS. Some functions are actually named
9769 something starting with __ and the normal name is an alias. */
9770 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9778 if { (eval echo configure
:9779: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9780 eval "ac_cv_func_$ac_func=yes"
9782 echo "configure: failed program was:" >&5
9783 cat conftest.
$ac_ext >&5
9785 eval "ac_cv_func_$ac_func=no"
9790 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9791 echo "$ac_t""yes" 1>&6
9792 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9793 cat >> confdefs.h
<<EOF
9794 #define $ac_tr_func 1
9796 cat >> confdefs.h
<<\EOF
9797 #define HAVE_USLEEP 1
9801 echo "$ac_t""no" 1>&6
9802 echo "configure: warning: wxSleep() function will not work" 1>&2
9814 for ac_func
in uname gethostname
9816 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9817 echo "configure:9818: checking for $ac_func" >&5
9818 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9819 echo $ac_n "(cached) $ac_c" 1>&6
9821 cat > conftest.
$ac_ext <<EOF
9822 #line 9823 "configure"
9823 #include "confdefs.h"
9824 /* System header to define __stub macros and hopefully few prototypes,
9825 which can conflict with char $ac_func(); below. */
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. */
9834 /* The GNU C library defines this for functions which it implements
9835 to always fail with ENOSYS. Some functions are actually named
9836 something starting with __ and the normal name is an alias. */
9837 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9845 if { (eval echo configure
:9846: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9847 eval "ac_cv_func_$ac_func=yes"
9849 echo "configure: failed program was:" >&5
9850 cat conftest.
$ac_ext >&5
9852 eval "ac_cv_func_$ac_func=no"
9857 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9858 echo "$ac_t""yes" 1>&6
9859 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9860 cat >> confdefs.h
<<EOF
9861 #define $ac_tr_func 1
9865 echo "$ac_t""no" 1>&6
9870 for ac_func
in strtok_r
9872 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9873 echo "configure:9874: checking for $ac_func" >&5
9874 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9875 echo $ac_n "(cached) $ac_c" 1>&6
9877 cat > conftest.
$ac_ext <<EOF
9878 #line 9879 "configure"
9879 #include "confdefs.h"
9880 /* System header to define __stub macros and hopefully few prototypes,
9881 which can conflict with char $ac_func(); below. */
9883 /* Override any gcc2 internal prototype to avoid an error. */
9884 /* We use char because int might match the return type of a gcc2
9885 builtin and then its argument prototype would still apply. */
9890 /* The GNU C library defines this for functions which it implements
9891 to always fail with ENOSYS. Some functions are actually named
9892 something starting with __ and the normal name is an alias. */
9893 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9901 if { (eval echo configure
:9902: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9903 eval "ac_cv_func_$ac_func=yes"
9905 echo "configure: failed program was:" >&5
9906 cat conftest.
$ac_ext >&5
9908 eval "ac_cv_func_$ac_func=no"
9913 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9914 echo "$ac_t""yes" 1>&6
9915 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9916 cat >> confdefs.h
<<EOF
9917 #define $ac_tr_func 1
9921 echo "$ac_t""no" 1>&6
9927 for ac_func
in inet_addr
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. */
9941 /* We use char because int might match the return type of a gcc2
9942 builtin and then its argument prototype would still apply. */
9947 /* The GNU C library defines this for functions which it implements
9948 to always fail with ENOSYS. Some functions are actually named
9949 something starting with __ and the normal name is an alias. */
9950 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9958 if { (eval echo configure
:9959: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9960 eval "ac_cv_func_$ac_func=yes"
9962 echo "configure: failed program was:" >&5
9963 cat conftest.
$ac_ext >&5
9965 eval "ac_cv_func_$ac_func=no"
9970 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9971 echo "$ac_t""yes" 1>&6
9972 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9973 cat >> confdefs.h
<<EOF
9974 #define $ac_tr_func 1
9976 cat >> confdefs.h
<<\EOF
9977 #define HAVE_INET_ADDR 1
9981 echo "$ac_t""no" 1>&6
9982 echo $ac_n "checking for inet_addr in -lnsl""... $ac_c" 1>&6
9983 echo "configure:9984: checking for inet_addr in -lnsl" >&5
9984 ac_lib_var
=`echo nsl'_'inet_addr | sed 'y%./+-%__p_%'`
9985 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9986 echo $ac_n "(cached) $ac_c" 1>&6
9988 ac_save_LIBS
="$LIBS"
9990 cat > conftest.
$ac_ext <<EOF
9991 #line 9992 "configure"
9992 #include "confdefs.h"
9993 /* Override any gcc2 internal prototype to avoid an error. */
9994 /* We use char because int might match the return type of a gcc2
9995 builtin and then its argument prototype would still apply. */
10002 if { (eval echo configure
:10003: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10004 eval "ac_cv_lib_$ac_lib_var=yes"
10006 echo "configure: failed program was:" >&5
10007 cat conftest.
$ac_ext >&5
10009 eval "ac_cv_lib_$ac_lib_var=no"
10012 LIBS
="$ac_save_LIBS"
10015 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10016 echo "$ac_t""yes" 1>&6
10019 echo "$ac_t""no" 1>&6
10020 echo $ac_n "checking for inet_addr in -lresolv""... $ac_c" 1>&6
10021 echo "configure:10022: checking for inet_addr in -lresolv" >&5
10022 ac_lib_var
=`echo resolv'_'inet_addr | sed 'y%./+-%__p_%'`
10023 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10024 echo $ac_n "(cached) $ac_c" 1>&6
10026 ac_save_LIBS
="$LIBS"
10027 LIBS
="-lresolv $LIBS"
10028 cat > conftest.
$ac_ext <<EOF
10029 #line 10030 "configure"
10030 #include "confdefs.h"
10031 /* Override any gcc2 internal prototype to avoid an error. */
10032 /* We use char because int might match the return type of a gcc2
10033 builtin and then its argument prototype would still apply. */
10040 if { (eval echo configure
:10041: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10042 eval "ac_cv_lib_$ac_lib_var=yes"
10044 echo "configure: failed program was:" >&5
10045 cat conftest.
$ac_ext >&5
10047 eval "ac_cv_lib_$ac_lib_var=no"
10050 LIBS
="$ac_save_LIBS"
10053 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10054 echo "$ac_t""yes" 1>&6
10058 echo "$ac_t""no" 1>&6
10070 for ac_func
in inet_aton
10072 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10073 echo "configure:10074: checking for $ac_func" >&5
10074 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10075 echo $ac_n "(cached) $ac_c" 1>&6
10077 cat > conftest.
$ac_ext <<EOF
10078 #line 10079 "configure"
10079 #include "confdefs.h"
10080 /* System header to define __stub macros and hopefully few prototypes,
10081 which can conflict with char $ac_func(); below. */
10082 #include <assert.h>
10083 /* Override any gcc2 internal prototype to avoid an error. */
10084 /* We use char because int might match the return type of a gcc2
10085 builtin and then its argument prototype would still apply. */
10090 /* The GNU C library defines this for functions which it implements
10091 to always fail with ENOSYS. Some functions are actually named
10092 something starting with __ and the normal name is an alias. */
10093 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10101 if { (eval echo configure
:10102: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10103 eval "ac_cv_func_$ac_func=yes"
10105 echo "configure: failed program was:" >&5
10106 cat conftest.
$ac_ext >&5
10108 eval "ac_cv_func_$ac_func=no"
10113 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10114 echo "$ac_t""yes" 1>&6
10115 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10116 cat >> confdefs.h
<<EOF
10117 #define $ac_tr_func 1
10119 cat >> confdefs.h
<<\EOF
10120 #define HAVE_INET_ATON 1
10124 echo "$ac_t""no" 1>&6
10125 echo $ac_n "checking for inet_aton in -l$INET_LINK""... $ac_c" 1>&6
10126 echo "configure:10127: checking for inet_aton in -l$INET_LINK" >&5
10127 ac_lib_var
=`echo $INET_LINK'_'inet_aton | sed 'y%./+-%__p_%'`
10128 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10129 echo $ac_n "(cached) $ac_c" 1>&6
10131 ac_save_LIBS
="$LIBS"
10132 LIBS
="-l$INET_LINK $LIBS"
10133 cat > conftest.
$ac_ext <<EOF
10134 #line 10135 "configure"
10135 #include "confdefs.h"
10136 /* Override any gcc2 internal prototype to avoid an error. */
10137 /* We use char because int might match the return type of a gcc2
10138 builtin and then its argument prototype would still apply. */
10145 if { (eval echo configure
:10146: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10147 eval "ac_cv_lib_$ac_lib_var=yes"
10149 echo "configure: failed program was:" >&5
10150 cat conftest.
$ac_ext >&5
10152 eval "ac_cv_lib_$ac_lib_var=no"
10155 LIBS
="$ac_save_LIBS"
10158 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10159 echo "$ac_t""yes" 1>&6
10160 cat >> confdefs.h
<<\EOF
10161 #define HAVE_INET_ATON 1
10165 echo "$ac_t""no" 1>&6
10173 if test "x$INET_LINK" != "x"; then
10174 cat >> confdefs.h
<<\EOF
10175 #define HAVE_INET_ADDR 1
10178 INET_LINK
="-l$INET_LINK"
10184 cat > confcache
<<\EOF
10185 # This file is a shell script that caches the results of configure
10186 # tests run on this system so they can be shared between configure
10187 # scripts and configure runs. It is not useful on other systems.
10188 # If it contains results you don't want to keep, you may remove or edit it.
10190 # By default, configure uses ./config.cache as the cache file,
10191 # creating it if it does not exist already. You can give configure
10192 # the --cache-file=FILE option to use a different cache file; that is
10193 # what configure does when it calls configure scripts in
10194 # subdirectories, so they share the cache.
10195 # Giving --cache-file=/dev/null disables caching, for debugging configure.
10196 # config.status only pays attention to the cache file if you give it the
10197 # --recheck option to rerun configure.
10200 # The following way of writing the cache mishandles newlines in values,
10201 # but we know of no workaround that is simple, portable, and efficient.
10202 # So, don't put newlines in cache variables' values.
10203 # Ultrix sh set writes to stderr and can't be redirected directly,
10204 # and sets the high bit in the cache file unless we assign to the vars.
10206 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10208 # `set' does not quote correctly, so add quotes (double-quote substitution
10209 # turns \\\\ into \\, and sed turns \\ into \).
10211 -e "s/'/'\\\\''/g" \
10212 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
10215 # `set' quotes correctly as required by POSIX, so do not add quotes.
10216 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
10219 if cmp -s $cache_file confcache
; then
10222 if test -w $cache_file; then
10223 echo "updating cache $cache_file"
10224 cat confcache
> $cache_file
10226 echo "not updating unwritable cache $cache_file"
10233 if test "$USE_UNIX" = 1; then
10239 if test "$wxUSE_THREADS" = "yes" ; then
10240 if test "$wxUSE_WINE" = 1 ; then
10241 echo "configure: warning: Threads are not supported under WINE" 1>&2
10246 if test "$wxUSE_THREADS" = "yes" ; then
10248 echo $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6
10249 echo "configure:10250: checking for pthread_create in -lpthread" >&5
10250 ac_lib_var
=`echo pthread'_'pthread_create | sed 'y%./+-%__p_%'`
10251 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10252 echo $ac_n "(cached) $ac_c" 1>&6
10254 ac_save_LIBS
="$LIBS"
10255 LIBS
="-lpthread $LIBS"
10256 cat > conftest.
$ac_ext <<EOF
10257 #line 10258 "configure"
10258 #include "confdefs.h"
10259 /* Override any gcc2 internal prototype to avoid an error. */
10260 /* We use char because int might match the return type of a gcc2
10261 builtin and then its argument prototype would still apply. */
10262 char pthread_create();
10268 if { (eval echo configure
:10269: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10270 eval "ac_cv_lib_$ac_lib_var=yes"
10272 echo "configure: failed program was:" >&5
10273 cat conftest.
$ac_ext >&5
10275 eval "ac_cv_lib_$ac_lib_var=no"
10278 LIBS
="$ac_save_LIBS"
10281 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10282 echo "$ac_t""yes" 1>&6
10284 THREADS_OBJ
="threadpsx.lo"
10285 THREADS_LINK
="pthread"
10288 echo "$ac_t""no" 1>&6
10290 echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
10291 echo "configure:10292: checking for pthread_create in -lc_r" >&5
10292 ac_lib_var
=`echo c_r'_'pthread_create | sed 'y%./+-%__p_%'`
10293 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10294 echo $ac_n "(cached) $ac_c" 1>&6
10296 ac_save_LIBS
="$LIBS"
10298 cat > conftest.
$ac_ext <<EOF
10299 #line 10300 "configure"
10300 #include "confdefs.h"
10301 /* Override any gcc2 internal prototype to avoid an error. */
10302 /* We use char because int might match the return type of a gcc2
10303 builtin and then its argument prototype would still apply. */
10304 char pthread_create();
10310 if { (eval echo configure
:10311: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10312 eval "ac_cv_lib_$ac_lib_var=yes"
10314 echo "configure: failed program was:" >&5
10315 cat conftest.
$ac_ext >&5
10317 eval "ac_cv_lib_$ac_lib_var=no"
10320 LIBS
="$ac_save_LIBS"
10323 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10324 echo "$ac_t""yes" 1>&6
10326 THREADS_OBJ
="threadpsx.lo"
10330 echo "$ac_t""no" 1>&6
10332 ac_safe
=`echo "sys/prctl.h" | sed 'y%./+-%__p_%'`
10333 echo $ac_n "checking for sys/prctl.h""... $ac_c" 1>&6
10334 echo "configure:10335: checking for sys/prctl.h" >&5
10335 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10336 echo $ac_n "(cached) $ac_c" 1>&6
10338 cat > conftest.
$ac_ext <<EOF
10339 #line 10340 "configure"
10340 #include "confdefs.h"
10341 #include <sys/prctl.h>
10343 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10344 { (eval echo configure
:10345: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10345 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10346 if test -z "$ac_err"; then
10348 eval "ac_cv_header_$ac_safe=yes"
10351 echo "configure: failed program was:" >&5
10352 cat conftest.
$ac_ext >&5
10354 eval "ac_cv_header_$ac_safe=no"
10358 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10359 echo "$ac_t""yes" 1>&6
10361 THREADS_OBJ
="threadsgi.lo"
10364 echo "$ac_t""no" 1>&6
10374 if test -z "$THREADS_OBJ" ; then
10376 echo "configure: warning: No thread support on this system" 1>&2
10380 if test "$wxUSE_THREADS" = "yes" ; then
10382 for ac_hdr
in sched.h
10384 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10385 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10386 echo "configure:10387: checking for $ac_hdr" >&5
10387 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10388 echo $ac_n "(cached) $ac_c" 1>&6
10390 cat > conftest.
$ac_ext <<EOF
10391 #line 10392 "configure"
10392 #include "confdefs.h"
10395 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10396 { (eval echo configure
:10397: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10397 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10398 if test -z "$ac_err"; then
10400 eval "ac_cv_header_$ac_safe=yes"
10403 echo "configure: failed program was:" >&5
10404 cat conftest.
$ac_ext >&5
10406 eval "ac_cv_header_$ac_safe=no"
10410 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10411 echo "$ac_t""yes" 1>&6
10412 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10413 cat >> confdefs.h
<<EOF
10414 #define $ac_tr_hdr 1
10418 echo "$ac_t""no" 1>&6
10423 echo $ac_n "checking for sched_yield in -l$THREADS_LINK""... $ac_c" 1>&6
10424 echo "configure:10425: checking for sched_yield in -l$THREADS_LINK" >&5
10425 ac_lib_var
=`echo $THREADS_LINK'_'sched_yield | sed 'y%./+-%__p_%'`
10426 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10427 echo $ac_n "(cached) $ac_c" 1>&6
10429 ac_save_LIBS
="$LIBS"
10430 LIBS
="-l$THREADS_LINK $LIBS"
10431 cat > conftest.
$ac_ext <<EOF
10432 #line 10433 "configure"
10433 #include "confdefs.h"
10434 /* Override any gcc2 internal prototype to avoid an error. */
10435 /* We use char because int might match the return type of a gcc2
10436 builtin and then its argument prototype would still apply. */
10437 char sched_yield();
10443 if { (eval echo configure
:10444: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10445 eval "ac_cv_lib_$ac_lib_var=yes"
10447 echo "configure: failed program was:" >&5
10448 cat conftest.
$ac_ext >&5
10450 eval "ac_cv_lib_$ac_lib_var=no"
10453 LIBS
="$ac_save_LIBS"
10456 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10457 echo "$ac_t""yes" 1>&6
10458 cat >> confdefs.h
<<\EOF
10459 #define HAVE_SCHED_YIELD 1
10463 echo "$ac_t""no" 1>&6
10464 echo $ac_n "checking for sched_yield in -l"posix4
"""... $ac_c" 1>&6
10465 echo "configure:10466: checking for sched_yield in -l"posix4
"" >&5
10466 ac_lib_var
=`echo "posix4"'_'sched_yield | sed 'y%./+-%__p_%'`
10467 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10468 echo $ac_n "(cached) $ac_c" 1>&6
10470 ac_save_LIBS
="$LIBS"
10471 LIBS
="-l"posix4
" $LIBS"
10472 cat > conftest.
$ac_ext <<EOF
10473 #line 10474 "configure"
10474 #include "confdefs.h"
10475 /* Override any gcc2 internal prototype to avoid an error. */
10476 /* We use char because int might match the return type of a gcc2
10477 builtin and then its argument prototype would still apply. */
10478 char sched_yield();
10484 if { (eval echo configure
:10485: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10486 eval "ac_cv_lib_$ac_lib_var=yes"
10488 echo "configure: failed program was:" >&5
10489 cat conftest.
$ac_ext >&5
10491 eval "ac_cv_lib_$ac_lib_var=no"
10494 LIBS
="$ac_save_LIBS"
10497 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10498 echo "$ac_t""yes" 1>&6
10499 cat >> confdefs.h
<<\EOF
10500 #define HAVE_SCHED_YIELD 1
10502 POSIX4_LINK
="-lposix4"
10504 echo "$ac_t""no" 1>&6
10505 echo "configure: warning: wxThread::Yield will not work properly" 1>&2
10513 echo $ac_n "checking for pthread_attr_getschedpolicy in -l$THREADS_LINK""... $ac_c" 1>&6
10514 echo "configure:10515: checking for pthread_attr_getschedpolicy in -l$THREADS_LINK" >&5
10515 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
10516 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10517 echo $ac_n "(cached) $ac_c" 1>&6
10519 ac_save_LIBS
="$LIBS"
10520 LIBS
="-l$THREADS_LINK $LIBS"
10521 cat > conftest.
$ac_ext <<EOF
10522 #line 10523 "configure"
10523 #include "confdefs.h"
10524 /* Override any gcc2 internal prototype to avoid an error. */
10525 /* We use char because int might match the return type of a gcc2
10526 builtin and then its argument prototype would still apply. */
10527 char pthread_attr_getschedpolicy();
10530 pthread_attr_getschedpolicy()
10533 if { (eval echo configure
:10534: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10535 eval "ac_cv_lib_$ac_lib_var=yes"
10537 echo "configure: failed program was:" >&5
10538 cat conftest.
$ac_ext >&5
10540 eval "ac_cv_lib_$ac_lib_var=no"
10543 LIBS
="$ac_save_LIBS"
10546 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10547 echo "$ac_t""yes" 1>&6
10548 cat >> confdefs.h
<<\EOF
10549 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
10553 echo "$ac_t""no" 1>&6
10554 echo $ac_n "checking for pthread_attr_getschedpolicy in -l"posix4
"""... $ac_c" 1>&6
10555 echo "configure:10556: checking for pthread_attr_getschedpolicy in -l"posix4
"" >&5
10556 ac_lib_var
=`echo "posix4"'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
10557 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10558 echo $ac_n "(cached) $ac_c" 1>&6
10560 ac_save_LIBS
="$LIBS"
10561 LIBS
="-l"posix4
" $LIBS"
10562 cat > conftest.
$ac_ext <<EOF
10563 #line 10564 "configure"
10564 #include "confdefs.h"
10565 /* Override any gcc2 internal prototype to avoid an error. */
10566 /* We use char because int might match the return type of a gcc2
10567 builtin and then its argument prototype would still apply. */
10568 char pthread_attr_getschedpolicy();
10571 pthread_attr_getschedpolicy()
10574 if { (eval echo configure
:10575: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10576 eval "ac_cv_lib_$ac_lib_var=yes"
10578 echo "configure: failed program was:" >&5
10579 cat conftest.
$ac_ext >&5
10581 eval "ac_cv_lib_$ac_lib_var=no"
10584 LIBS
="$ac_save_LIBS"
10587 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10588 echo "$ac_t""yes" 1>&6
10589 cat >> confdefs.h
<<\EOF
10590 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
10592 POSIX4_LINK
="-lposix4"
10594 echo "$ac_t""no" 1>&6
10595 echo "configure: warning: Setting thread priority will not work" 1>&2
10603 echo $ac_n "checking for pthread_cancel in -l$THREADS_LINK""... $ac_c" 1>&6
10604 echo "configure:10605: checking for pthread_cancel in -l$THREADS_LINK" >&5
10605 ac_lib_var
=`echo $THREADS_LINK'_'pthread_cancel | sed 'y%./+-%__p_%'`
10606 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10607 echo $ac_n "(cached) $ac_c" 1>&6
10609 ac_save_LIBS
="$LIBS"
10610 LIBS
="-l$THREADS_LINK $LIBS"
10611 cat > conftest.
$ac_ext <<EOF
10612 #line 10613 "configure"
10613 #include "confdefs.h"
10614 /* Override any gcc2 internal prototype to avoid an error. */
10615 /* We use char because int might match the return type of a gcc2
10616 builtin and then its argument prototype would still apply. */
10617 char pthread_cancel();
10623 if { (eval echo configure
:10624: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10625 eval "ac_cv_lib_$ac_lib_var=yes"
10627 echo "configure: failed program was:" >&5
10628 cat conftest.
$ac_ext >&5
10630 eval "ac_cv_lib_$ac_lib_var=no"
10633 LIBS
="$ac_save_LIBS"
10636 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10637 echo "$ac_t""yes" 1>&6
10638 cat >> confdefs.h
<<\EOF
10639 #define HAVE_PTHREAD_CANCEL 1
10643 echo "$ac_t""no" 1>&6
10644 echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
10648 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
10649 echo "configure:10650: checking for pthread_cleanup_push/pop" >&5
10650 if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
10651 echo $ac_n "(cached) $ac_c" 1>&6
10654 cat > conftest.
$ac_ext <<EOF
10655 #line 10656 "configure"
10656 #include "confdefs.h"
10657 #include <pthread.h>
10660 pthread_cleanup_push(NULL, NULL);
10661 pthread_cleanup_pop(0);
10665 if { (eval echo configure
:10666: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10668 wx_cv_func_pthread_cleanup_push
=yes
10669 cat >> confdefs.h
<<\EOF
10670 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
10675 echo "configure: failed program was:" >&5
10676 cat conftest.
$ac_ext >&5
10679 wx_cv_func_pthread_cleanup_push
=no
10686 echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
10688 THREADS_LINK
="-l$THREADS_LINK"
10693 if test "$wxUSE_THREADS" = "yes"; then
10694 cat >> confdefs.h
<<\EOF
10695 #define wxUSE_THREADS 1
10699 CFLAGS
="${CFLAGS} -D_REENTRANT"
10700 CXXFLAGS
="${CXXFLAGS} -D_REENTRANT"
10702 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
10704 if test "$ac_cv_func_strtok_r" = "yes"; then
10705 echo $ac_n "checking if -D_REENTRANT is needed""... $ac_c" 1>&6
10706 echo "configure:10707: checking if -D_REENTRANT is needed" >&5
10707 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
10708 CFLAGS
="${CFLAGS} -D_REENTRANT"
10709 CXXFLAGS
="${CXXFLAGS} -D_REENTRANT"
10710 echo "$ac_t""yes" 1>&6
10712 echo "$ac_t""no" 1>&6
10717 if test "$WXGTK12" = 1 ; then
10718 cat >> confdefs.h
<<EOF
10719 #define __WXGTK12__ $WXGTK12
10724 if test "$WXWINE" = 1 ; then
10725 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WXWINE__"
10728 if test "$wxUSE_CYGWIN" = 1 ; then
10729 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WIN95__"
10734 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
10739 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
10740 wxUSE_DEBUG_INFO
=yes
10744 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
10745 cat >> confdefs.h
<<\EOF
10749 WXDEBUG_DEFINE
="-D__WXDEBUG__"
10751 if test "$wxUSE_GTK" = 1 ; then
10752 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
10756 if test "$wxUSE_MEM_TRACING" = "yes" ; then
10757 cat >> confdefs.h
<<\EOF
10758 #define wxUSE_MEMORY_TRACING 1
10761 cat >> confdefs.h
<<\EOF
10762 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
10765 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
10768 if test "$wxUSE_DMALLOC" = "yes" ; then
10769 DMALLOC_LINK
="-ldmalloc"
10773 if test "$wxUSE_PROFILE" = "yes" ; then
10778 if test "$GCC" = yes ; then
10779 if test "$wxUSE_NO_RTTI" = "yes" ; then
10780 WXDEBUG_DEFINE
="$WXDEBUG_DEFINE -fno-rtti"
10782 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
10783 WXDEBUG_DEFINE
="$WXDEBUG_DEFINE -fno-exceptions"
10785 if test "$wxUSE_PERMISSIVE" = "yes" ; then
10786 CFLAGS
="${CFLAGS} -fpermissive"
10787 CXXFLAGS
="${CXXFLAGS} -fpermissive"
10789 if test "$wxUSE_NO_DEPS" = "no" ; then
10790 DEP_INFO_FLAGS
="-MMD"
10795 CXXFLAGS
=`echo "${CXXFLAGS}" | sed "s/\-O.//g" `
10796 CFLAGS
=`echo "${CFLAGS}" | sed "s/\-O.//g" `
10797 if test "$wxUSE_OPTIMISE" = "no" ; then
10800 if test "$GCC" = yes ; then
10803 i586
-*-*|i686
-*-* )
10804 OPTIMISE
="${OPTIMISE} "
10814 if test "$wxUSE_ZLIB" = "yes" ; then
10815 cat >> confdefs.h
<<\EOF
10816 #define wxUSE_ZLIB 1
10819 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
10823 if test "$wxUSE_LIBPNG" = "yes" ; then
10824 cat >> confdefs.h
<<\EOF
10825 #define wxUSE_LIBPNG 1
10828 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
10829 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
10833 if test "$wxUSE_LIBJPEG" = "yes" ; then
10834 cat >> confdefs.h
<<\EOF
10835 #define wxUSE_LIBJPEG 1
10838 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
10841 if test "$wxUSE_OPENGL" = "yes"; then
10842 ac_safe
=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
10843 echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
10844 echo "configure:10845: checking for GL/gl.h" >&5
10845 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10846 echo $ac_n "(cached) $ac_c" 1>&6
10848 cat > conftest.
$ac_ext <<EOF
10849 #line 10850 "configure"
10850 #include "confdefs.h"
10853 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10854 { (eval echo configure
:10855: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10855 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10856 if test -z "$ac_err"; then
10858 eval "ac_cv_header_$ac_safe=yes"
10861 echo "configure: failed program was:" >&5
10862 cat conftest.
$ac_ext >&5
10864 eval "ac_cv_header_$ac_safe=no"
10868 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10869 echo "$ac_t""yes" 1>&6
10871 echo $ac_n "checking for glInitNames in -lGL""... $ac_c" 1>&6
10872 echo "configure:10873: checking for glInitNames in -lGL" >&5
10873 ac_lib_var
=`echo GL'_'glInitNames | sed 'y%./+-%__p_%'`
10874 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10875 echo $ac_n "(cached) $ac_c" 1>&6
10877 ac_save_LIBS
="$LIBS"
10878 LIBS
="-lGL wxUSE_OPENGL=0 $LIBS"
10879 cat > conftest.
$ac_ext <<EOF
10880 #line 10881 "configure"
10881 #include "confdefs.h"
10882 /* Override any gcc2 internal prototype to avoid an error. */
10883 /* We use char because int might match the return type of a gcc2
10884 builtin and then its argument prototype would still apply. */
10885 char glInitNames();
10891 if { (eval echo configure
:10892: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10893 eval "ac_cv_lib_$ac_lib_var=yes"
10895 echo "configure: failed program was:" >&5
10896 cat conftest.
$ac_ext >&5
10898 eval "ac_cv_lib_$ac_lib_var=no"
10901 LIBS
="$ac_save_LIBS"
10904 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10905 echo "$ac_t""yes" 1>&6
10908 cat >> confdefs.h
<<\EOF
10909 #define wxUSE_OPENGL 1
10912 UTILS_SUBDIRS
="$UTILS_SUBDIRS glcanvas/src"
10915 echo "$ac_t""no" 1>&6
10917 echo $ac_n "checking for glInitNames in -lMesaGL""... $ac_c" 1>&6
10918 echo "configure:10919: checking for glInitNames in -lMesaGL" >&5
10919 ac_lib_var
=`echo MesaGL'_'glInitNames | sed 'y%./+-%__p_%'`
10920 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10921 echo $ac_n "(cached) $ac_c" 1>&6
10923 ac_save_LIBS
="$LIBS"
10924 LIBS
="-lMesaGL $LIBS"
10925 cat > conftest.
$ac_ext <<EOF
10926 #line 10927 "configure"
10927 #include "confdefs.h"
10928 /* Override any gcc2 internal prototype to avoid an error. */
10929 /* We use char because int might match the return type of a gcc2
10930 builtin and then its argument prototype would still apply. */
10931 char glInitNames();
10937 if { (eval echo configure
:10938: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10939 eval "ac_cv_lib_$ac_lib_var=yes"
10941 echo "configure: failed program was:" >&5
10942 cat conftest.
$ac_ext >&5
10944 eval "ac_cv_lib_$ac_lib_var=no"
10947 LIBS
="$ac_save_LIBS"
10950 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10951 echo "$ac_t""yes" 1>&6
10953 OPENGL_LINK
="-lMesaGL"
10954 cat >> confdefs.h
<<\EOF
10955 #define wxUSE_OPENGL 1
10958 UTILS_SUBDIRS
="$UTILS_SUBDIRS glcanvas/src"
10961 echo "$ac_t""no" 1>&6
10970 echo "$ac_t""no" 1>&6
10977 if test "$wxUSE_GUI" = "yes"; then
10978 cat >> confdefs.h
<<\EOF
10979 #define wxUSE_GUI 1
10984 cat >> confdefs.h
<<\EOF
10985 #define wxUSE_NOGUI 1
10991 if test "$wxUSE_UNIX" = "yes"; then
10992 cat >> confdefs.h
<<\EOF
10993 #define wxUSE_UNIX 1
10999 if test "$wxUSE_APPLE_IEEE" = "yes"; then
11000 cat >> confdefs.h
<<\EOF
11001 #define wxUSE_APPLE_IEEE 1
11006 if test "$wxUSE_WAVE" = "yes"; then
11007 cat >> confdefs.h
<<\EOF
11008 #define wxUSE_WAVE 1
11013 if test "$wxUSE_FILE" = "yes"; then
11014 cat >> confdefs.h
<<\EOF
11015 #define wxUSE_FILE 1
11020 if test "$wxUSE_FS_INET" = "yes"; then
11021 cat >> confdefs.h
<<\EOF
11022 #define wxUSE_FS_INET 1
11027 if test "$wxUSE_FS_ZIP" = "yes"; then
11028 cat >> confdefs.h
<<\EOF
11029 #define wxUSE_FS_ZIP 1
11034 if test "$wxUSE_ZIPSTREAM" = "yes"; then
11035 cat >> confdefs.h
<<\EOF
11036 #define wxUSE_ZIPSTREAM 1
11041 if test "$wxUSE_BUSYINFO" = "yes"; then
11042 cat >> confdefs.h
<<\EOF
11043 #define wxUSE_BUSYINFO 1
11048 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
11049 cat >> confdefs.h
<<\EOF
11050 #define wxUSE_STD_IOSTREAM 1
11055 if test "$wxUSE_TEXTFILE" = "yes"; then
11056 if test "$wxUSE_FILE" != "yes"; then
11057 echo "configure: warning: wxTextFile requires wxFile and it won't be compiled without it" 1>&2
11059 cat >> confdefs.h
<<\EOF
11060 #define wxUSE_TEXTFILE 1
11066 if test "$wxUSE_CONFIG" = "yes" ; then
11067 if test "$wxUSE_TEXTFILE" != "yes"; then
11068 echo "configure: warning: wxConfig requires wxTextFile and it won't be compiled without it" 1>&2
11070 cat >> confdefs.h
<<\EOF
11071 #define wxUSE_CONFIG 1
11074 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
11078 if test "$wxUSE_INTL" = "yes" ; then
11079 if test "$wxUSE_FILE" != "yes"; then
11080 echo "configure: warning: I18n code requires wxFile and it won't be compiled without it" 1>&2
11082 cat >> confdefs.h
<<\EOF
11083 #define wxUSE_INTL 1
11086 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
11090 if test "$wxUSE_LOG" = "yes"; then
11091 cat >> confdefs.h
<<\EOF
11092 #define wxUSE_LOG 1
11097 if test "$wxUSE_LONGLONG" = "yes"; then
11098 cat >> confdefs.h
<<\EOF
11099 #define wxUSE_LONGLONG 1
11104 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
11105 cat >> confdefs.h
<<\EOF
11106 #define wxUSE_DIALUP_MANAGER 1
11111 if test "$wxUSE_STREAMS" = "yes" ; then
11112 cat >> confdefs.h
<<\EOF
11113 #define wxUSE_STREAMS 1
11118 if test "$wxUSE_SERIAL" = "yes" ; then
11119 cat >> confdefs.h
<<\EOF
11120 #define wxUSE_SERIAL 1
11126 if test "$wxUSE_TIMEDATE" = "yes"; then
11127 for ac_func
in gettimeofday localtime ftime
11129 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11130 echo "configure:11131: checking for $ac_func" >&5
11131 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11132 echo $ac_n "(cached) $ac_c" 1>&6
11134 cat > conftest.
$ac_ext <<EOF
11135 #line 11136 "configure"
11136 #include "confdefs.h"
11137 /* System header to define __stub macros and hopefully few prototypes,
11138 which can conflict with char $ac_func(); below. */
11139 #include <assert.h>
11140 /* Override any gcc2 internal prototype to avoid an error. */
11141 /* We use char because int might match the return type of a gcc2
11142 builtin and then its argument prototype would still apply. */
11147 /* The GNU C library defines this for functions which it implements
11148 to always fail with ENOSYS. Some functions are actually named
11149 something starting with __ and the normal name is an alias. */
11150 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11158 if { (eval echo configure
:11159: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11160 eval "ac_cv_func_$ac_func=yes"
11162 echo "configure: failed program was:" >&5
11163 cat conftest.
$ac_ext >&5
11165 eval "ac_cv_func_$ac_func=no"
11170 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11171 echo "$ac_t""yes" 1>&6
11172 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11173 cat >> confdefs.h
<<EOF
11174 #define $ac_tr_func 1
11178 echo "$ac_t""no" 1>&6
11183 if test "$ac_cv_func_gettimeofday" = "yes"; then
11184 echo $ac_n "checking whether gettimeofday takes two arguments""... $ac_c" 1>&6
11185 echo "configure:11186: checking whether gettimeofday takes two arguments" >&5
11186 if eval "test \"`echo '$''{'wx_cv_func_gettimeofday_has_2_args'+set}'`\" = set"; then
11187 echo $ac_n "(cached) $ac_c" 1>&6
11192 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11193 ac_cpp
='$CXXCPP $CPPFLAGS'
11194 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11195 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11196 cross_compiling
=$ac_cv_prog_cxx_cross
11199 cat > conftest.
$ac_ext <<EOF
11200 #line 11201 "configure"
11201 #include "confdefs.h"
11203 #include <sys/time.h>
11204 #include <unistd.h>
11209 struct timezone tz;
11210 gettimeofday(&tv, &tz);
11214 if { (eval echo configure
:11215: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11216 wx_cv_func_gettimeofday_has_2_args
=yes
11218 echo "configure: failed program was:" >&5
11219 cat conftest.
$ac_ext >&5
11221 cat > conftest.
$ac_ext <<EOF
11222 #line 11223 "configure"
11223 #include "confdefs.h"
11225 #include <sys/time.h>
11226 #include <unistd.h>
11235 if { (eval echo configure
:11236: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11237 wx_cv_func_gettimeofday_has_2_args
=no
11239 echo "configure: failed program was:" >&5
11240 cat conftest.
$ac_ext >&5
11242 wx_cv_func_gettimeofday_has_2_args
=unknown
11250 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11251 ac_cpp
='$CPP $CPPFLAGS'
11252 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11253 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11254 cross_compiling
=$ac_cv_prog_cc_cross
11259 echo "$ac_t""$wx_cv_func_gettimeofday_has_2_args" 1>&6
11261 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
11262 cat >> confdefs.h
<<\EOF
11263 #define WX_GETTIMEOFDAY_NO_TZ 1
11269 cat >> confdefs.h
<<\EOF
11270 #define wxUSE_TIMEDATE 1
11273 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
11277 if test "$wxUSE_SOCKETS" = "yes"; then
11278 echo $ac_n "checking for socket""... $ac_c" 1>&6
11279 echo "configure:11280: checking for socket" >&5
11280 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
11281 echo $ac_n "(cached) $ac_c" 1>&6
11283 cat > conftest.
$ac_ext <<EOF
11284 #line 11285 "configure"
11285 #include "confdefs.h"
11286 /* System header to define __stub macros and hopefully few prototypes,
11287 which can conflict with char socket(); below. */
11288 #include <assert.h>
11289 /* Override any gcc2 internal prototype to avoid an error. */
11290 /* We use char because int might match the return type of a gcc2
11291 builtin and then its argument prototype would still apply. */
11296 /* The GNU C library defines this for functions which it implements
11297 to always fail with ENOSYS. Some functions are actually named
11298 something starting with __ and the normal name is an alias. */
11299 #if defined (__stub_socket) || defined (__stub___socket)
11307 if { (eval echo configure
:11308: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11309 eval "ac_cv_func_socket=yes"
11311 echo "configure: failed program was:" >&5
11312 cat conftest.
$ac_ext >&5
11314 eval "ac_cv_func_socket=no"
11319 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
11320 echo "$ac_t""yes" 1>&6
11323 echo "$ac_t""no" 1>&6
11324 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
11325 echo "configure:11326: checking for socket in -lsocket" >&5
11326 ac_lib_var
=`echo socket'_'socket | sed 'y%./+-%__p_%'`
11327 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11328 echo $ac_n "(cached) $ac_c" 1>&6
11330 ac_save_LIBS
="$LIBS"
11331 LIBS
="-lsocket $LIBS"
11332 cat > conftest.
$ac_ext <<EOF
11333 #line 11334 "configure"
11334 #include "confdefs.h"
11335 /* Override any gcc2 internal prototype to avoid an error. */
11336 /* We use char because int might match the return type of a gcc2
11337 builtin and then its argument prototype would still apply. */
11344 if { (eval echo configure
:11345: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11346 eval "ac_cv_lib_$ac_lib_var=yes"
11348 echo "configure: failed program was:" >&5
11349 cat conftest.
$ac_ext >&5
11351 eval "ac_cv_lib_$ac_lib_var=no"
11354 LIBS
="$ac_save_LIBS"
11357 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11358 echo "$ac_t""yes" 1>&6
11359 INET_LINK
="$INET_LINK -lsocket"
11361 echo "$ac_t""no" 1>&6
11363 echo "configure: warning: socket library not found - sockets will be disabled" 1>&2
11374 if test "$wxUSE_SOCKETS" = "yes" ; then
11377 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11378 ac_cpp
='$CXXCPP $CPPFLAGS'
11379 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11380 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11381 cross_compiling
=$ac_cv_prog_cxx_cross
11383 echo $ac_n "checking the type of the third argument of getsockname""... $ac_c" 1>&6
11384 echo "configure:11385: checking the type of the third argument of getsockname" >&5
11385 cat > conftest.
$ac_ext <<EOF
11386 #line 11387 "configure"
11387 #include "confdefs.h"
11388 #include <sys/socket.h>
11390 socklen_t len; getsockname(0, 0, &len);
11393 if { (eval echo configure
:11394: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11395 cat >> confdefs.h
<<\EOF
11396 #define SOCKLEN_T socklen_t
11398 echo "$ac_t""socklen_t" 1>&6
11400 echo "configure: failed program was:" >&5
11401 cat conftest.
$ac_ext >&5
11403 cat > conftest.
$ac_ext <<EOF
11404 #line 11405 "configure"
11405 #include "confdefs.h"
11406 #include <sys/socket.h>
11408 size_t len; getsockname(0, 0, &len);
11411 if { (eval echo configure
:11412: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11413 cat >> confdefs.h
<<\EOF
11414 #define SOCKLEN_T size_t
11416 echo "$ac_t""size_t" 1>&6
11418 echo "configure: failed program was:" >&5
11419 cat conftest.
$ac_ext >&5
11421 cat > conftest.
$ac_ext <<EOF
11422 #line 11423 "configure"
11423 #include "confdefs.h"
11424 #include <sys/socket.h>
11426 int len; getsockname(0, 0, &len);
11429 if { (eval echo configure
:11430: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11431 cat >> confdefs.h
<<\EOF
11432 #define SOCKLEN_T int
11434 echo "$ac_t""int" 1>&6
11436 echo "configure: failed program was:" >&5
11437 cat conftest.
$ac_ext >&5
11439 echo "$ac_t""unknown" 1>&6
11450 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11451 ac_cpp
='$CPP $CPPFLAGS'
11452 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11453 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11454 cross_compiling
=$ac_cv_prog_cc_cross
11457 cat >> confdefs.h
<<\EOF
11458 #define wxUSE_SOCKETS 1
11461 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wxsocket"
11462 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS protocol"
11466 if test "$wxUSE_JOYSTICK" = 1; then
11467 for ac_hdr
in linux
/joystick.h
11469 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11470 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11471 echo "configure:11472: checking for $ac_hdr" >&5
11472 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11473 echo $ac_n "(cached) $ac_c" 1>&6
11475 cat > conftest.
$ac_ext <<EOF
11476 #line 11477 "configure"
11477 #include "confdefs.h"
11480 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11481 { (eval echo configure
:11482: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11482 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11483 if test -z "$ac_err"; then
11485 eval "ac_cv_header_$ac_safe=yes"
11488 echo "configure: failed program was:" >&5
11489 cat conftest.
$ac_ext >&5
11491 eval "ac_cv_header_$ac_safe=no"
11495 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11496 echo "$ac_t""yes" 1>&6
11497 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11498 cat >> confdefs.h
<<EOF
11499 #define $ac_tr_hdr 1
11503 echo "$ac_t""no" 1>&6
11507 if test "$ac_cv_header_linux_joystick_h" = "yes"; then
11508 cat >> confdefs.h
<<\EOF
11509 #define wxUSE_JOYSTICK 1
11512 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
11519 if test "$wxUSE_DYNLIB_CLASS" = "yes"; then
11520 for ac_func
in dlopen
11522 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11523 echo "configure:11524: checking for $ac_func" >&5
11524 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11525 echo $ac_n "(cached) $ac_c" 1>&6
11527 cat > conftest.
$ac_ext <<EOF
11528 #line 11529 "configure"
11529 #include "confdefs.h"
11530 /* System header to define __stub macros and hopefully few prototypes,
11531 which can conflict with char $ac_func(); below. */
11532 #include <assert.h>
11533 /* Override any gcc2 internal prototype to avoid an error. */
11534 /* We use char because int might match the return type of a gcc2
11535 builtin and then its argument prototype would still apply. */
11540 /* The GNU C library defines this for functions which it implements
11541 to always fail with ENOSYS. Some functions are actually named
11542 something starting with __ and the normal name is an alias. */
11543 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11551 if { (eval echo configure
:11552: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11553 eval "ac_cv_func_$ac_func=yes"
11555 echo "configure: failed program was:" >&5
11556 cat conftest.
$ac_ext >&5
11558 eval "ac_cv_func_$ac_func=no"
11563 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11564 echo "$ac_t""yes" 1>&6
11565 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11566 cat >> confdefs.h
<<EOF
11567 #define $ac_tr_func 1
11570 cat >> confdefs.h
<<\EOF
11571 #define HAVE_DLOPEN 1
11577 echo "$ac_t""no" 1>&6
11578 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
11579 echo "configure:11580: checking for dlopen in -ldl" >&5
11580 ac_lib_var
=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
11581 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11582 echo $ac_n "(cached) $ac_c" 1>&6
11584 ac_save_LIBS
="$LIBS"
11586 cat > conftest.
$ac_ext <<EOF
11587 #line 11588 "configure"
11588 #include "confdefs.h"
11589 /* Override any gcc2 internal prototype to avoid an error. */
11590 /* We use char because int might match the return type of a gcc2
11591 builtin and then its argument prototype would still apply. */
11598 if { (eval echo configure
:11599: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11600 eval "ac_cv_lib_$ac_lib_var=yes"
11602 echo "configure: failed program was:" >&5
11603 cat conftest.
$ac_ext >&5
11605 eval "ac_cv_lib_$ac_lib_var=no"
11608 LIBS
="$ac_save_LIBS"
11611 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11612 echo "$ac_t""yes" 1>&6
11614 cat >> confdefs.h
<<\EOF
11615 #define HAVE_DLOPEN 1
11622 echo "$ac_t""no" 1>&6
11624 for ac_func
in shl_load
11626 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11627 echo "configure:11628: checking for $ac_func" >&5
11628 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11629 echo $ac_n "(cached) $ac_c" 1>&6
11631 cat > conftest.
$ac_ext <<EOF
11632 #line 11633 "configure"
11633 #include "confdefs.h"
11634 /* System header to define __stub macros and hopefully few prototypes,
11635 which can conflict with char $ac_func(); below. */
11636 #include <assert.h>
11637 /* Override any gcc2 internal prototype to avoid an error. */
11638 /* We use char because int might match the return type of a gcc2
11639 builtin and then its argument prototype would still apply. */
11644 /* The GNU C library defines this for functions which it implements
11645 to always fail with ENOSYS. Some functions are actually named
11646 something starting with __ and the normal name is an alias. */
11647 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11655 if { (eval echo configure
:11656: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11657 eval "ac_cv_func_$ac_func=yes"
11659 echo "configure: failed program was:" >&5
11660 cat conftest.
$ac_ext >&5
11662 eval "ac_cv_func_$ac_func=no"
11667 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11668 echo "$ac_t""yes" 1>&6
11669 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11670 cat >> confdefs.h
<<EOF
11671 #define $ac_tr_func 1
11674 cat >> confdefs.h
<<\EOF
11675 #define HAVE_SHL_LOAD 1
11681 echo "$ac_t""no" 1>&6
11693 if test "$HAVE_DL_FUNCS" = 0; then
11694 if test "$HAVE_SHL_FUNCS" = 0; then
11695 if test "$USE_UNIX" = 1; then
11696 echo "configure: warning: "--with-dynlib and
--with-odbc will be disabled due to missing shared library support
"" 1>&2
11698 wxUSE_DYNLIB_CLASS
=no
11700 echo "configure: warning: "Cannot check dynlib requirements on non
-Unix platforms. dynlib remains enabled.
"" 1>&2
11706 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
11707 cat >> confdefs.h
<<\EOF
11708 #define wxUSE_DYNLIB_CLASS 1
11714 if test "$wxUSE_UNICODE" = "yes" ; then
11715 cat >> confdefs.h
<<\EOF
11716 #define wxUSE_UNICODE 1
11721 if test "$wxUSE_WCSRTOMBS" = "yes" ; then
11722 cat >> confdefs.h
<<\EOF
11723 #define wxUSE_WCSRTOMBS 1
11728 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
11729 cat >> confdefs.h
<<\EOF
11730 #define wxUSE_EXPERIMENTAL_PRINTF 1
11737 if test "$wxUSE_ODBC" = "yes" ; then
11738 cat >> confdefs.h
<<\EOF
11739 #define wxUSE_ODBC 1
11742 WXODBCFLAG
="-D_IODBC_"
11743 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
11744 IODBCOBJS
="\$(IODBC_OBJS)"
11750 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
11751 cat >> confdefs.h
<<\EOF
11752 #define wxUSE_POSTSCRIPT 1
11757 cat >> confdefs.h
<<\EOF
11758 #define wxUSE_AFM_FOR_POSTSCRIPT 1
11762 cat >> confdefs.h
<<\EOF
11763 #define wxUSE_NORMALIZED_PS_FONTS 1
11768 if test "$wxUSE_CONSTRAINTS" = "yes"; then
11769 cat >> confdefs.h
<<\EOF
11770 #define wxUSE_CONSTRAINTS 1
11773 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
11776 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
11777 cat >> confdefs.h
<<\EOF
11778 #define wxUSE_MDI_ARCHITECTURE 1
11781 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
11784 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
11785 cat >> confdefs.h
<<\EOF
11786 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
11789 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
11790 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
11791 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
11795 if test "$wxUSE_HELP" = "yes"; then
11796 cat >> confdefs.h
<<\EOF
11797 #define wxUSE_HELP 1
11800 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
11803 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
11804 if test "$wxUSE_CONSTRAINTS" != "yes"; then
11805 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
11807 cat >> confdefs.h
<<\EOF
11808 #define wxUSE_PRINTING_ARCHITECTURE 1
11812 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
11815 if test "$wxUSE_PROLOGIO" = "yes" ; then
11816 cat >> confdefs.h
<<\EOF
11817 #define wxUSE_PROLOGIO 1
11822 if test "$wxUSE_RESOURCES" = "yes" ; then
11823 if test "$wxUSE_PROLOGIO" = "yes" ; then
11824 cat >> confdefs.h
<<\EOF
11825 #define wxUSE_RESOURCES 1
11828 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS resource"
11830 echo "configure: warning: wxWindows ressource system requires PrologIO and can't be compiled without it." 1>&2
11834 if test "$wxUSE_X_RESOURCES" = "yes"; then
11835 cat >> confdefs.h
<<\EOF
11836 #define wxUSE_X_RESOURCES 1
11842 if test "$wxUSE_IPC" = "yes"; then
11843 cat >> confdefs.h
<<\EOF
11844 #define wxUSE_IPC 1
11849 if test "$wxUSE_CLIPBOARD" = "yes"; then
11850 cat >> confdefs.h
<<\EOF
11851 #define wxUSE_CLIPBOARD 1
11856 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
11857 if test "$wxUSE_GTK" = 1; then
11858 if test "$WXGTK12" != 1; then
11859 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2" 1>&2
11860 wxUSE_DRAG_AND_DROP
=no
11864 if test "$wxUSE_MOTIF" = 1; then
11865 echo "configure: warning: Drag and drop is not yet supported under Motif" 1>&2
11866 wxUSE_DRAG_AND_DROP
=no
11869 if test "$USE_WIN32" = 1; then
11870 for ac_hdr
in ole2.h
11872 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11873 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11874 echo "configure:11875: checking for $ac_hdr" >&5
11875 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11876 echo $ac_n "(cached) $ac_c" 1>&6
11878 cat > conftest.
$ac_ext <<EOF
11879 #line 11880 "configure"
11880 #include "confdefs.h"
11883 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11884 { (eval echo configure
:11885: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11885 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11886 if test -z "$ac_err"; then
11888 eval "ac_cv_header_$ac_safe=yes"
11891 echo "configure: failed program was:" >&5
11892 cat conftest.
$ac_ext >&5
11894 eval "ac_cv_header_$ac_safe=no"
11898 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11899 echo "$ac_t""yes" 1>&6
11900 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11901 cat >> confdefs.h
<<EOF
11902 #define $ac_tr_hdr 1
11906 echo "$ac_t""no" 1>&6
11910 if test "x$HAVE_OLE2_H" = x
; then
11911 echo "configure: warning: Drag and drop disabled because OLE headers not found" 1>&2
11912 wxUSE_DRAG_AND_DROP
=no
11916 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
11917 cat >> confdefs.h
<<\EOF
11918 #define wxUSE_DRAG_AND_DROP 1
11921 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
11926 if test "$wxUSE_SPLINES" = "yes" ; then
11927 cat >> confdefs.h
<<\EOF
11928 #define wxUSE_SPLINES 1
11934 if test "$wxUSE_ACCEL" = "yes"; then
11935 cat >> confdefs.h
<<\EOF
11936 #define wxUSE_ACCEL 1
11941 if test "$wxUSE_CARET" = "yes"; then
11942 cat >> confdefs.h
<<\EOF
11943 #define wxUSE_CARET 1
11946 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
11949 if test "$wxUSE_COMBOBOX" = "yes"; then
11950 cat >> confdefs.h
<<\EOF
11951 #define wxUSE_COMBOBOX 1
11956 if test "$wxUSE_CHOICE" = "yes"; then
11957 cat >> confdefs.h
<<\EOF
11958 #define wxUSE_CHOICE 1
11963 if test "$wxUSE_BMPBUTTON" = "yes"; then
11964 cat >> confdefs.h
<<\EOF
11965 #define wxUSE_BMPBUTTON 1
11970 if test "$wxUSE_CHECKBOX" = "yes"; then
11971 cat >> confdefs.h
<<\EOF
11972 #define wxUSE_CHECKBOX 1
11977 if test "$wxUSE_CHECKLST" = "yes"; then
11978 cat >> confdefs.h
<<\EOF
11979 #define wxUSE_CHECKLISTBOX 1
11982 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
11985 if test "$wxUSE_GAUGE" = "yes"; then
11986 cat >> confdefs.h
<<\EOF
11987 #define wxUSE_GAUGE 1
11992 if test "$wxUSE_GRID" = "yes"; then
11993 cat >> confdefs.h
<<\EOF
11994 #define wxUSE_GRID 1
11997 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
12000 if test "$wxUSE_NEW_GRID" = "yes"; then
12001 cat >> confdefs.h
<<\EOF
12002 #define wxUSE_NEW_GRID 1
12005 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS newgrid"
12008 if test "$wxUSE_IMAGLIST" = "yes"; then
12009 cat >> confdefs.h
<<\EOF
12010 #define wxUSE_IMAGLIST 1
12015 if test "$wxUSE_LISTBOX" = "yes"; then
12016 cat >> confdefs.h
<<\EOF
12017 #define wxUSE_LISTBOX 1
12022 if test "$wxUSE_LISTCTRL" = "yes"; then
12023 if test "$wxUSE_IMAGLIST" = "yes"; then
12024 cat >> confdefs.h
<<\EOF
12025 #define wxUSE_LISTCTRL 1
12028 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
12030 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
12034 if test "$wxUSE_NOTEBOOK" = "yes"; then
12035 cat >> confdefs.h
<<\EOF
12036 #define wxUSE_NOTEBOOK 1
12039 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
12042 if test "$wxUSE_RADIOBOX" = "yes"; then
12043 cat >> confdefs.h
<<\EOF
12044 #define wxUSE_RADIOBOX 1
12049 if test "$wxUSE_RADIOBTN" = "yes"; then
12050 cat >> confdefs.h
<<\EOF
12051 #define wxUSE_RADIOBTN 1
12056 if test "$wxUSE_SASH" = "yes"; then
12057 cat >> confdefs.h
<<\EOF
12058 #define wxUSE_SASH 1
12061 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
12064 if test "$wxUSE_SCROLLBAR" = "yes"; then
12065 cat >> confdefs.h
<<\EOF
12066 #define wxUSE_SCROLLBAR 1
12069 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll"
12072 if test "$wxUSE_SLIDER" = "yes"; then
12073 cat >> confdefs.h
<<\EOF
12074 #define wxUSE_SLIDER 1
12079 if test "$wxUSE_SPINBTN" = "yes"; then
12080 cat >> confdefs.h
<<\EOF
12081 #define wxUSE_SPINBTN 1
12086 if test "$wxUSE_SPLITTER" = "yes"; then
12087 cat >> confdefs.h
<<\EOF
12088 #define wxUSE_SPLITTER 1
12091 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
12094 if test "$wxUSE_STATBMP" = "yes"; then
12095 cat >> confdefs.h
<<\EOF
12096 #define wxUSE_STATBMP 1
12101 if test "$wxUSE_STATBOX" = "yes"; then
12102 cat >> confdefs.h
<<\EOF
12103 #define wxUSE_STATBOX 1
12108 if test "$wxUSE_STATLINE" = "yes"; then
12109 if test "$wxUSE_WINE" = 1 ; then
12110 echo "configure: warning: wxStaticLine is not supported under WINE" 1>&2
12112 cat >> confdefs.h
<<\EOF
12113 #define wxUSE_STATLINE 1
12119 if test "$wxUSE_STATUSBAR" = "yes"; then
12120 cat >> confdefs.h
<<\EOF
12121 #define wxUSE_STATUSBAR 1
12126 if test "$wxUSE_TABDIALOG" = "yes"; then
12127 cat >> confdefs.h
<<\EOF
12128 #define wxUSE_TAB_DIALOG 1
12131 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
12134 if test "$wxUSE_TOOLBAR" = "yes"; then
12135 cat >> confdefs.h
<<\EOF
12136 #define wxUSE_TOOLBAR 1
12139 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
12142 if test "$wxUSE_TOOLTIPS" = "yes"; then
12143 if test "$wxUSE_MOTIF" = 1; then
12144 echo "configure: warning: wxTooltip not supported yet under Motif" 1>&2
12146 if test "$wxUSE_WINE" = 1; then
12147 echo "configure: warning: wxTooltip not supported under WINE" 1>&2
12149 cat >> confdefs.h
<<\EOF
12150 #define wxUSE_TOOLTIPS 1
12157 if test "$wxUSE_TREECTRL" = "yes"; then
12158 if test "$wxUSE_IMAGLIST" = "yes"; then
12159 cat >> confdefs.h
<<\EOF
12160 #define wxUSE_TREECTRL 1
12163 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
12165 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
12171 if test "$wxUSE_METAFILE" = "yes"; then
12172 cat >> confdefs.h
<<\EOF
12173 #define wxUSE_METAFILE 1
12178 if test "$wxUSE_DIRDLG" = "yes"; then
12179 if test "$wxUSE_CONSTRAINTS" != "yes"; then
12180 echo "configure: warning: wxDirDialog requires constraints so it won't be compiled without them" 1>&2
12182 if test "$wxUSE_TREECTRL" != "yes"; then
12183 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
12185 cat >> confdefs.h
<<\EOF
12186 #define wxUSE_DIRDLG 1
12193 if test "$wxUSE_TEXTDLG" = "yes"; then
12194 cat >> confdefs.h
<<\EOF
12195 #define wxUSE_TEXTDLG 1
12200 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
12201 if test "$wxUSE_CONSTRAINTS" != "yes"; then
12202 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
12204 cat >> confdefs.h
<<\EOF
12205 #define wxUSE_STARTUP_TIPS 1
12211 if test "$wxUSE_PROGRESSDLG" = "yes"; then
12212 if test "$wxUSE_CONSTRAINTS" != "yes"; then
12213 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
12215 cat >> confdefs.h
<<\EOF
12216 #define wxUSE_PROGRESSDLG 1
12222 if test "$wxUSE_MINIFRAME" = "yes"; then
12223 cat >> confdefs.h
<<\EOF
12224 #define wxUSE_MINIFRAME 1
12227 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
12230 if test "$wxUSE_HTML" = "yes"; then
12231 cat >> confdefs.h
<<\EOF
12232 #define wxUSE_HTML 1
12235 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html"
12236 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS html"
12239 if test "$wxUSE_VALIDATORS" = "yes"; then
12240 cat >> confdefs.h
<<\EOF
12241 #define wxUSE_VALIDATORS 1
12244 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
12247 if test "$wxUSE_GIF" = "yes" ; then
12248 cat >> confdefs.h
<<\EOF
12249 #define wxUSE_GIF 1
12254 if test "$wxUSE_PCX" = "yes" ; then
12255 cat >> confdefs.h
<<\EOF
12256 #define wxUSE_PCX 1
12261 if test "$wxUSE_PNM" = "yes" ; then
12262 cat >> confdefs.h
<<\EOF
12263 #define wxUSE_PNM 1
12269 GUILIBS
="$GUI_TK_LIBRARY $OPENGL_LINK $LIBPNG_LINK $ZLIB_LINK $TOOLKIT_LINK"
12271 EXTRA_LIBS
="$LIBS $POSIX4_LINK $INET_LINK $WCHAR_LINK $THREADS_LINK $DMALLOC_LINK $DL_LINK"
12272 if test "$wxUSE_GUI" = "yes"; then
12273 EXTRA_LIBS
="$EXTRA_LIBS $GUILIBS"
12276 LD_LIBS
="\${top_builddir}/lib/${WX_LIBRARY_NAME_STATIC} $EXTRA_LIBS"
12278 INCLUDES
="-I. -I\${top_builddir}/include -I\${top_srcdir}/include $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TOOLKIT_INCLUDE"
12280 if test "$GXX" = yes ; then
12281 CXXWARNINGS
="-Wall"
12283 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE $INCLUDES"
12285 CFLAGS
=`echo $CFLAGS $EXTRA_CFLAGS | sed 's/ \\+/ /g'`
12286 CXXFLAGS
=`echo $CXXFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
12288 if test "$wxUSE_GUI" = "yes"; then
12290 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS bombs controls dialogs drawing dynamic \
12291 forty fractal image wxpoem"
12296 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '`"
12351 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
12352 echo "configure:12353: checking whether ${MAKE-make} sets \${MAKE}" >&5
12353 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
12354 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
12355 echo $ac_n "(cached) $ac_c" 1>&6
12357 cat > conftestmake
<<\EOF
12359 @
echo 'ac_maketemp="${MAKE}"'
12361 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
12362 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
12363 if test -n "$ac_maketemp"; then
12364 eval ac_cv_prog_make_
${ac_make}_set
=yes
12366 eval ac_cv_prog_make_
${ac_make}_set
=no
12370 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
12371 echo "$ac_t""yes" 1>&6
12374 echo "$ac_t""no" 1>&6
12375 SET_MAKE
="MAKE=${MAKE-make}"
12381 if test "${TOOLKIT_DIR}" = "msw" ; then
12382 GL_TOOLKIT_DIR
="win"
12384 GL_TOOLKIT_DIR
="${TOOLKIT_DIR}"
12389 cat > confcache
<<\EOF
12390 # This file is a shell script that caches the results of configure
12391 # tests run on this system so they can be shared between configure
12392 # scripts and configure runs. It is not useful on other systems.
12393 # If it contains results you don't want to keep, you may remove or edit it.
12395 # By default, configure uses ./config.cache as the cache file,
12396 # creating it if it does not exist already. You can give configure
12397 # the --cache-file=FILE option to use a different cache file; that is
12398 # what configure does when it calls configure scripts in
12399 # subdirectories, so they share the cache.
12400 # Giving --cache-file=/dev/null disables caching, for debugging configure.
12401 # config.status only pays attention to the cache file if you give it the
12402 # --recheck option to rerun configure.
12405 # The following way of writing the cache mishandles newlines in values,
12406 # but we know of no workaround that is simple, portable, and efficient.
12407 # So, don't put newlines in cache variables' values.
12408 # Ultrix sh set writes to stderr and can't be redirected directly,
12409 # and sets the high bit in the cache file unless we assign to the vars.
12411 case `(ac_space=' '; set | grep ac_space) 2>&1` in
12413 # `set' does not quote correctly, so add quotes (double-quote substitution
12414 # turns \\\\ into \\, and sed turns \\ into \).
12416 -e "s/'/'\\\\''/g" \
12417 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
12420 # `set' quotes correctly as required by POSIX, so do not add quotes.
12421 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
12424 if cmp -s $cache_file confcache
; then
12427 if test -w $cache_file; then
12428 echo "updating cache $cache_file"
12429 cat confcache
> $cache_file
12431 echo "not updating unwritable cache $cache_file"
12436 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
12438 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
12439 # Let make expand exec_prefix.
12440 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
12442 # Any assignment to VPATH causes Sun make to only execute
12443 # the first set of double-colon rules, so remove it if not needed.
12444 # If there is a colon in the path, we need to keep it.
12445 if test "x$srcdir" = x.
; then
12446 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
12449 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
12451 DEFS
=-DHAVE_CONFIG_H
12453 # Without the "./", some shells look in PATH for config.status.
12454 : ${CONFIG_STATUS=./config.status}
12456 echo creating
$CONFIG_STATUS
12457 rm -f $CONFIG_STATUS
12458 cat > $CONFIG_STATUS <<EOF
12460 # Generated automatically by configure.
12461 # Run this file to recreate the current configuration.
12462 # This directory was configured as follows,
12463 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
12465 # $0 $ac_configure_args
12467 # Compiler output produced by configure, useful for debugging
12468 # configure, is in ./config.log if it exists.
12470 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
12473 case "\$ac_option" in
12474 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
12475 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
12476 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
12477 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
12478 echo "$CONFIG_STATUS generated by autoconf version 2.13"
12480 -help | --help | --hel | --he | --h)
12481 echo "\$ac_cs_usage"; exit 0 ;;
12482 *) echo "\$ac_cs_usage"; exit 1 ;;
12486 ac_given_srcdir=$srcdir
12487 ac_given_INSTALL="$INSTALL"
12489 trap 'rm -fr `echo "
12496 samples/bombs/Makefile
12497 samples/caret/Makefile
12498 samples/checklst/Makefile
12499 samples/config/Makefile
12500 samples/controls/Makefile
12501 samples/db/Makefile
12502 samples/dialogs/Makefile
12503 samples/docview/Makefile
12504 samples/docvwmdi/Makefile
12505 samples/dnd/Makefile
12506 samples/drawing/Makefile
12507 samples/forty/Makefile
12508 samples/fractal/Makefile
12509 samples/image/Makefile
12510 samples/internat/Makefile
12511 samples/layout/Makefile
12512 samples/listctrl/Makefile
12513 samples/mdi/Makefile
12514 samples/minifram/Makefile
12515 samples/minimal/Makefile
12516 samples/nettest/Makefile
12517 samples/newgrid/Makefile
12518 samples/notebook/Makefile
12519 samples/png/Makefile
12520 samples/printing/Makefile
12521 samples/proplist/Makefile
12522 samples/richedit/Makefile
12523 samples/resource/Makefile
12524 samples/sashtest/Makefile
12525 samples/scroll/Makefile
12526 samples/scrollsub/Makefile
12527 samples/splitter/Makefile
12528 samples/text/Makefile
12529 samples/thread/Makefile
12530 samples/toolbar/Makefile
12531 samples/treectrl/Makefile
12532 samples/typetest/Makefile
12533 samples/validate/Makefile
12534 samples/wxpoem/Makefile
12535 samples/wxsocket/Makefile
12536 samples/wizard/Makefile
12537 samples/html/Makefile
12538 samples/html/about/Makefile
12539 samples/html/help/Makefile
12540 samples/html/printing/Makefile
12541 samples/html/helpview/Makefile
12542 samples/html/test/Makefile
12543 samples/html/zip/Makefile
12544 samples/html/virtual/Makefile
12545 samples/html/widget/Makefile
12547 utils/wxMMedia2/Makefile
12548 utils/wxMMedia2/lib/Makefile
12549 utils/wxMMedia2/sample/Makefile
12550 utils/glcanvas/Makefile
12551 utils/glcanvas/${GL_TOOLKIT_DIR}/Makefile
12553 utils/ogl/src/Makefile
12554 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
12556 cat >> $CONFIG_STATUS <<EOF
12558 # Protect against being on the right side of a sed subst in config.status.
12559 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
12560 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
12564 s%@CFLAGS@%$CFLAGS%g
12565 s%@CPPFLAGS@%$CPPFLAGS%g
12566 s%@CXXFLAGS@%$CXXFLAGS%g
12567 s%@FFLAGS@%$FFLAGS%g
12569 s%@LDFLAGS@%$LDFLAGS%g
12571 s%@exec_prefix@%$exec_prefix%g
12572 s%@prefix@%$prefix%g
12573 s%@program_transform_name@%$program_transform_name%g
12574 s%@bindir@%$bindir%g
12575 s%@sbindir@%$sbindir%g
12576 s%@libexecdir@%$libexecdir%g
12577 s%@datadir@%$datadir%g
12578 s%@sysconfdir@%$sysconfdir%g
12579 s%@sharedstatedir@%$sharedstatedir%g
12580 s%@localstatedir@%$localstatedir%g
12581 s%@libdir@%$libdir%g
12582 s%@includedir@%$includedir%g
12583 s%@oldincludedir@%$oldincludedir%g
12584 s%@infodir@%$infodir%g
12585 s%@mandir@%$mandir%g
12587 s%@host_alias@%$host_alias%g
12588 s%@host_cpu@%$host_cpu%g
12589 s%@host_vendor@%$host_vendor%g
12590 s%@host_os@%$host_os%g
12591 s%@target@%$target%g
12592 s%@target_alias@%$target_alias%g
12593 s%@target_cpu@%$target_cpu%g
12594 s%@target_vendor@%$target_vendor%g
12595 s%@target_os@%$target_os%g
12597 s%@build_alias@%$build_alias%g
12598 s%@build_cpu@%$build_cpu%g
12599 s%@build_vendor@%$build_vendor%g
12600 s%@build_os@%$build_os%g
12604 s%@CXXCPP@%$CXXCPP%g
12605 s%@RANLIB@%$RANLIB%g
12607 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
12608 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
12609 s%@INSTALL_DATA@%$INSTALL_DATA%g
12613 s%@LEXLIB@%$LEXLIB%g
12615 s%@GTK_CONFIG@%$GTK_CONFIG%g
12616 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
12617 s%@GTK_LIBS@%$GTK_LIBS%g
12618 s%@X_CFLAGS@%$X_CFLAGS%g
12619 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
12620 s%@X_LIBS@%$X_LIBS%g
12621 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
12622 s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
12623 s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
12624 s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
12625 s%@WX_LIBRARY_NAME@%$WX_LIBRARY_NAME%g
12626 s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
12627 s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
12628 s%@WX_LIBRARY@%$WX_LIBRARY%g
12629 s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
12630 s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
12631 s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
12632 s%@WX_LIBRARY_LINK3@%$WX_LIBRARY_LINK3%g
12633 s%@PROGRAM_EXT@%$PROGRAM_EXT%g
12634 s%@WX_ALL@%$WX_ALL%g
12635 s%@WX_ALL_INSTALLED@%$WX_ALL_INSTALLED%g
12636 s%@SHARED_LD@%$SHARED_LD%g
12637 s%@PIC_FLAG@%$PIC_FLAG%g
12638 s%@DEP_INFO_FLAGS@%$DEP_INFO_FLAGS%g
12639 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
12640 s%@TOOLKIT@%$TOOLKIT%g
12641 s%@TOOLKIT_DEF@%$TOOLKIT_DEF%g
12642 s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
12643 s%@TOOLKIT_INCLUDE@%$TOOLKIT_INCLUDE%g
12644 s%@GUIHEADERS@%$GUIHEADERS%g
12645 s%@GUIOBJS@%$GUIOBJS%g
12646 s%@COMMONOBJS@%$COMMONOBJS%g
12647 s%@GENERICOBJS@%$GENERICOBJS%g
12648 s%@GUIDEPS@%$GUIDEPS%g
12649 s%@COMMONDEPS@%$COMMONDEPS%g
12650 s%@GENERICDEPS@%$GENERICDEPS%g
12651 s%@IODBCOBJS@%$IODBCOBJS%g
12652 s%@UNIXOBJS@%$UNIXOBJS%g
12653 s%@UNIXDEPS@%$UNIXDEPS%g
12654 s%@ALL_OBJECTS@%$ALL_OBJECTS%g
12655 s%@ALL_DEPFILES@%$ALL_DEPFILES%g
12656 s%@ALL_HEADERS@%$ALL_HEADERS%g
12657 s%@GUIDIST@%$GUIDIST%g
12658 s%@SRC_SUBDIRS@%$SRC_SUBDIRS%g
12659 s%@INCLUDE_SUBDIRS@%$INCLUDE_SUBDIRS%g
12660 s%@UTILS_SUBDIRS@%$UTILS_SUBDIRS%g
12661 s%@DOCS_SUBDIRS@%$DOCS_SUBDIRS%g
12662 s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
12663 s%@USER_SUBDIRS@%$USER_SUBDIRS%g
12664 s%@EXTRA_LIBS@%$EXTRA_LIBS%g
12665 s%@LD_LIBS@%$LD_LIBS%g
12666 s%@SET_MAKE@%$SET_MAKE%g
12667 s%@GL_TOOLKIT_DIR@%$GL_TOOLKIT_DIR%g
12672 cat >> $CONFIG_STATUS <<\EOF
12674 # Split the substitutions into bite-sized pieces for seds with
12675 # small command number limits, like on Digital OSF/1 and HP-UX.
12676 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
12677 ac_file
=1 # Number of current file.
12678 ac_beg
=1 # First line for current file.
12679 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
12682 while $ac_more_lines; do
12683 if test $ac_beg -gt 1; then
12684 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
12686 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
12688 if test ! -s conftest.s
$ac_file; then
12689 ac_more_lines
=false
12690 rm -f conftest.s
$ac_file
12692 if test -z "$ac_sed_cmds"; then
12693 ac_sed_cmds
="sed -f conftest.s$ac_file"
12695 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
12697 ac_file
=`expr $ac_file + 1`
12699 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
12702 if test -z "$ac_sed_cmds"; then
12707 cat >> $CONFIG_STATUS <<EOF
12709 CONFIG_FILES=\${CONFIG_FILES-"wx-config
12715 samples/bombs/Makefile
12716 samples/caret/Makefile
12717 samples/checklst/Makefile
12718 samples/config/Makefile
12719 samples/controls/Makefile
12720 samples/db/Makefile
12721 samples/dialogs/Makefile
12722 samples/docview/Makefile
12723 samples/docvwmdi/Makefile
12724 samples/dnd/Makefile
12725 samples/drawing/Makefile
12726 samples/forty/Makefile
12727 samples/fractal/Makefile
12728 samples/image/Makefile
12729 samples/internat/Makefile
12730 samples/layout/Makefile
12731 samples/listctrl/Makefile
12732 samples/mdi/Makefile
12733 samples/minifram/Makefile
12734 samples/minimal/Makefile
12735 samples/nettest/Makefile
12736 samples/newgrid/Makefile
12737 samples/notebook/Makefile
12738 samples/png/Makefile
12739 samples/printing/Makefile
12740 samples/proplist/Makefile
12741 samples/richedit/Makefile
12742 samples/resource/Makefile
12743 samples/sashtest/Makefile
12744 samples/scroll/Makefile
12745 samples/scrollsub/Makefile
12746 samples/splitter/Makefile
12747 samples/text/Makefile
12748 samples/thread/Makefile
12749 samples/toolbar/Makefile
12750 samples/treectrl/Makefile
12751 samples/typetest/Makefile
12752 samples/validate/Makefile
12753 samples/wxpoem/Makefile
12754 samples/wxsocket/Makefile
12755 samples/wizard/Makefile
12756 samples/html/Makefile
12757 samples/html/about/Makefile
12758 samples/html/help/Makefile
12759 samples/html/printing/Makefile
12760 samples/html/helpview/Makefile
12761 samples/html/test/Makefile
12762 samples/html/zip/Makefile
12763 samples/html/virtual/Makefile
12764 samples/html/widget/Makefile
12766 utils/wxMMedia2/Makefile
12767 utils/wxMMedia2/lib/Makefile
12768 utils/wxMMedia2/sample/Makefile
12769 utils/glcanvas/Makefile
12770 utils/glcanvas/${GL_TOOLKIT_DIR}/Makefile
12772 utils/ogl/src/Makefile
12775 cat >> $CONFIG_STATUS <<\EOF
12776 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
12777 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
12779 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
12780 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
12781 *) ac_file_in
="${ac_file}.in" ;;
12784 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
12786 # Remove last slash and all that follows it. Not all systems have dirname.
12787 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
12788 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
12789 # The file is in a subdirectory.
12790 test ! -d "$ac_dir" && mkdir "$ac_dir"
12791 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
12792 # A "../" for each directory in $ac_dir_suffix.
12793 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
12795 ac_dir_suffix
= ac_dots
=
12798 case "$ac_given_srcdir" in
12800 if test -z "$ac_dots"; then top_srcdir
=.
12801 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
12802 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
12803 *) # Relative path.
12804 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
12805 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
12808 case "$ac_given_INSTALL" in
12809 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
12810 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
12813 echo creating
"$ac_file"
12815 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
12817 *Makefile
*) ac_comsub
="1i\\
12818 # $configure_input" ;;
12822 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
12824 s%@configure_input@%$configure_input%g
12825 s%@srcdir@%$srcdir%g
12826 s%@top_srcdir@%$top_srcdir%g
12827 s%@INSTALL@%$INSTALL%g
12828 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
12832 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
12833 # NAME is the cpp macro being defined and VALUE is the value it is being given.
12835 # ac_d sets the value in "#define NAME VALUE" lines.
12836 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
12837 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
12840 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
12841 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
12842 ac_uB
='\([ ]\)%\1#\2define\3'
12845 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
12846 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
12847 ac_eB
='$%\1#\2define\3'
12851 if test "${CONFIG_HEADERS+set}" != set; then
12853 cat >> $CONFIG_STATUS <<EOF
12854 CONFIG_HEADERS="setup.h:setup.h.in"
12856 cat >> $CONFIG_STATUS <<\EOF
12858 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
12859 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
12861 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
12862 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
12863 *) ac_file_in
="${ac_file}.in" ;;
12866 echo creating
$ac_file
12868 rm -f conftest.frag conftest.
in conftest.out
12869 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
12870 cat $ac_file_inputs > conftest.
in
12874 # Transform confdefs.h into a sed script conftest.vals that substitutes
12875 # the proper values into config.h.in to produce config.h. And first:
12876 # Protect against being on the right side of a sed subst in config.status.
12877 # Protect against being in an unquoted here document in config.status.
12878 rm -f conftest.vals
12879 cat > conftest.hdr
<<\EOF
12882 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
12886 sed -n -f conftest.hdr confdefs.h > conftest.vals
12889 # This sed command replaces #undef with comments. This is necessary, for
12890 # example, in the case of _POSIX_SOURCE, which is predefined and required
12891 # on some systems where configure will not decide to define it.
12892 cat >> conftest.vals <<\EOF
12893 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
12896 # Break up conftest.vals because some shells have a limit on
12897 # the size of here documents, and old seds have small limits too.
12899 rm -f conftest.tail
12902 ac_lines=`grep -c . conftest.vals
`
12903 # grep -c gives empty output for an empty file on some AIX systems.
12904 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
12905 # Write a limited-size here document to conftest.frag.
12906 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
12907 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
12909 sed -f conftest.frag conftest.in > conftest.out
12911 mv conftest.out conftest.in
12912 ' >> $CONFIG_STATUS
12913 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
12914 rm -f conftest.vals
12915 mv conftest.tail conftest.vals
12917 rm -f conftest.vals
12919 cat >> $CONFIG_STATUS <<\EOF
12920 rm -f conftest.frag conftest.h
12921 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
12922 cat conftest.in >> conftest.h
12924 if cmp -s $ac_file conftest.h 2>/dev/null; then
12925 echo "$ac_file is unchanged"
12928 # Remove last slash and all that follows it. Not all systems have dirname.
12929 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
12930 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
12931 # The file is in a subdirectory.
12932 test ! -d "$ac_dir" && mkdir "$ac_dir"
12935 mv conftest.h $ac_file
12940 cat >> $CONFIG_STATUS <<EOF
12942 TOOLKIT_DIR="${TOOLKIT_DIR}"
12946 cat >> $CONFIG_STATUS <<\EOF
12949 if test ! -d include; then
12952 if test ! -d include/wx; then
12955 if test ! -d include/wx/${TOOLKIT_DIR}; then
12956 mkdir include/wx/${TOOLKIT_DIR}
12958 if test -f setup.h; then
12959 mv -f setup.h include/wx/${TOOLKIT_DIR}/setup.h
12964 chmod +x $CONFIG_STATUS
12965 rm -fr confdefs* $ac_clean_files
12966 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1