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 ALL_TOOLKITS
="CYGWIN GTK MINGW MOTIF WINE"
927 DEFAULT_wxUSE_MOTIF
=0
931 DEFAULT_DEFAULT_wxUSE_GTK
=0
932 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
933 DEFAULT_DEFAULT_wxUSE_MSW
=0
934 DEFAULT_DEFAULT_wxUSE_WINE
=0
939 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
940 cat >> confdefs.h
<<\EOF
947 cat >> confdefs.h
<<\EOF
952 if test "x$TMP" = "xalpha"; then
954 cat >> confdefs.h
<<\EOF
959 DEFAULT_DEFAULT_wxUSE_GTK
=1
961 *-*-irix5* | *-*-irix6* )
964 cat >> confdefs.h
<<\EOF
968 cat >> confdefs.h
<<\EOF
972 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
978 cat >> confdefs.h
<<\EOF
982 cat >> confdefs.h
<<\EOF
983 #define __SOLARIS__ 1
986 cat >> confdefs.h
<<\EOF
990 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
996 cat >> confdefs.h
<<\EOF
1000 cat >> confdefs.h
<<\EOF
1004 cat >> confdefs.h
<<\EOF
1008 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1010 *-*-freebsd* | *-*-netbsd*)
1013 cat >> confdefs.h
<<\EOF
1014 #define __FREEBSD__ 1
1017 cat >> confdefs.h
<<\EOF
1021 DEFAULT_DEFAULT_wxUSE_GTK
=1
1026 cat >> confdefs.h
<<\EOF
1030 cat >> confdefs.h
<<\EOF
1034 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1039 cat >> confdefs.h
<<\EOF
1043 cat >> confdefs.h
<<\EOF
1047 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1052 cat >> confdefs.h
<<\EOF
1056 cat >> confdefs.h
<<\EOF
1060 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1066 cat >> confdefs.h
<<\EOF
1070 cat >> confdefs.h
<<\EOF
1074 cat >> confdefs.h
<<\EOF
1078 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1084 cat >> confdefs.h
<<\EOF
1088 cat >> confdefs.h
<<\EOF
1092 cat >> confdefs.h
<<\EOF
1093 #define __WINDOWS__ 1
1096 cat >> confdefs.h
<<\EOF
1097 #define __GNUWIN32__ 1
1100 cat >> confdefs.h
<<\EOF
1104 cat >> confdefs.h
<<\EOF
1105 #define WINVER 0x0400
1108 DEFAULT_DEFAULT_wxUSE_MSW
=1
1113 cat >> confdefs.h
<<\EOF
1117 cat >> confdefs.h
<<\EOF
1121 cat >> confdefs.h
<<\EOF
1122 #define __WINDOWS__ 1
1125 cat >> confdefs.h
<<\EOF
1126 #define __GNUWIN32__ 1
1129 cat >> confdefs.h
<<\EOF
1133 cat >> confdefs.h
<<\EOF
1134 #define WINVER 0x0400
1137 DEFAULT_DEFAULT_wxUSE_MSW
=1
1141 cat >> confdefs.h
<<\EOF
1148 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
1151 if test "$USE_UNIX" = 1 ; then
1153 cat >> confdefs.h
<<\EOF
1157 SRC_SUBDIRS
="$SRC_SUBDIRS unix"
1158 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS unix"
1161 if test "$USE_LINUX" = 1; then
1162 echo $ac_n "checking for gettext in -lc""... $ac_c" 1>&6
1163 echo "configure:1164: checking for gettext in -lc" >&5
1164 ac_lib_var
=`echo c'_'gettext | sed 'y%./+-%__p_%'`
1165 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1166 echo $ac_n "(cached) $ac_c" 1>&6
1168 ac_save_LIBS
="$LIBS"
1170 cat > conftest.
$ac_ext <<EOF
1171 #line 1172 "configure"
1172 #include "confdefs.h"
1173 /* Override any gcc2 internal prototype to avoid an error. */
1174 /* We use char because int might match the return type of a gcc2
1175 builtin and then its argument prototype would still apply. */
1182 if { (eval echo configure
:1183: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
1184 eval "ac_cv_lib_$ac_lib_var=yes"
1186 echo "configure: failed program was:" >&5
1187 cat conftest.
$ac_ext >&5
1189 eval "ac_cv_lib_$ac_lib_var=no"
1192 LIBS
="$ac_save_LIBS"
1195 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1196 echo "$ac_t""yes" 1>&6
1197 cat >> confdefs.h
<<\EOF
1198 #define wxHAVE_GLIBC2 1
1202 echo "$ac_t""no" 1>&6
1210 wx_arg_cache_file
="configarg.cache"
1211 echo "loading argument cache $wx_arg_cache_file"
1212 rm -f ${wx_arg_cache_file}.tmp
1213 touch ${wx_arg_cache_file}.tmp
1214 touch ${wx_arg_cache_file}
1218 if test $DEBUG_CONFIGURE = 1; then
1219 DEFAULT_wxUSE_THREADS
=yes
1221 DEFAULT_wxUSE_SHARED
=yes
1222 DEFAULT_wxUSE_OPTIMISE
=yes
1223 DEFAULT_wxUSE_PROFILE
=no
1224 DEFAULT_wxUSE_NO_DEPS
=no
1225 DEFAULT_wxUSE_NO_RTTI
=no
1226 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1227 DEFAULT_wxUSE_PERMISSIVE
=no
1228 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1229 DEFAULT_wxUSE_DEBUG_INFO
=yes
1230 DEFAULT_wxUSE_DEBUG_GDB
=yes
1231 DEFAULT_wxUSE_MEM_TRACING
=no
1232 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1233 DEFAULT_wxUSE_DMALLOC
=no
1234 DEFAULT_wxUSE_APPLE_IEEE
=no
1236 DEFAULT_wxUSE_LOG
=yes
1238 DEFAULT_wxUSE_GUI
=yes
1240 DEFAULT_wxUSE_ZLIB
=no
1241 DEFAULT_wxUSE_LIBPNG
=no
1242 DEFAULT_wxUSE_LIBJPEG
=no
1243 DEFAULT_wxUSE_ODBC
=no
1245 DEFAULT_wxUSE_STD_IOSTREAM
=no
1246 DEFAULT_wxUSE_FILE
=no
1247 DEFAULT_wxUSE_TEXTFILE
=no
1248 DEFAULT_wxUSE_TIMEDATE
=no
1249 DEFAULT_wxUSE_WAVE
=no
1250 DEFAULT_wxUSE_INTL
=no
1251 DEFAULT_wxUSE_CONFIG
=no
1252 DEFAULT_wxUSE_STREAMS
=no
1253 DEFAULT_wxUSE_SOCKETS
=no
1254 DEFAULT_wxUSE_DIALUP_MANAGER
=no
1255 DEFAULT_wxUSE_SERIAL
=no
1256 DEFAULT_wxUSE_JOYSTICK
=no
1257 DEFAULT_wxUSE_DYNLIB_CLASS
=no
1258 DEFAULT_wxUSE_LONGLONG
=no
1260 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
1261 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
1262 DEFAULT_wxUSE_POSTSCRIPT
=no
1264 DEFAULT_wxUSE_X_RESOURCES
=no
1265 DEFAULT_wxUSE_CLIPBOARD
=no
1266 DEFAULT_wxUSE_TOOLTIPS
=no
1267 DEFAULT_wxUSE_DRAG_AND_DROP
=no
1268 DEFAULT_wxUSE_SPLINES
=no
1270 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
1271 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
1272 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
1274 DEFAULT_wxUSE_PROLOGIO
=no
1275 DEFAULT_wxUSE_RESOURCES
=no
1276 DEFAULT_wxUSE_CONSTRAINTS
=no
1277 DEFAULT_wxUSE_IPC
=no
1278 DEFAULT_wxUSE_HELP
=no
1279 DEFAULT_wxUSE_WXTREE
=no
1280 DEFAULT_wxUSE_METAFILE
=no
1282 DEFAULT_wxUSE_COMMONDLGS
=no
1283 DEFAULT_wxUSE_DIRDLG
=no
1284 DEFAULT_wxUSE_TEXTDLG
=no
1285 DEFAULT_wxUSE_STARTUP_TIPS
=no
1286 DEFAULT_wxUSE_PROGRESSDLG
=no
1287 DEFAULT_wxUSE_MINIFRAME
=no
1288 DEFAULT_wxUSE_HTML
=no
1289 DEFAULT_wxUSE_FS_INET
=no
1290 DEFAULT_wxUSE_FS_ZIP
=no
1291 DEFAULT_wxUSE_BUSYINFO
=no
1292 DEFAULT_wxUSE_ZIPSTREAM
=no
1293 DEFAULT_wxUSE_VALIDATORS
=yes
1295 DEFAULT_wxUSE_ACCEL
=no
1296 DEFAULT_wxUSE_CARET
=no
1297 DEFAULT_wxUSE_BMPBUTTON
=no
1298 DEFAULT_wxUSE_CHECKBOX
=no
1299 DEFAULT_wxUSE_CHECKLST
=no
1300 DEFAULT_wxUSE_CHOICE
=yes
1301 DEFAULT_wxUSE_COMBOBOX
=no
1302 DEFAULT_wxUSE_GAUGE
=no
1303 DEFAULT_wxUSE_GRID
=no
1304 DEFAULT_wxUSE_NEW_GRID
=no
1305 DEFAULT_wxUSE_IMAGLIST
=no
1306 DEFAULT_wxUSE_LISTBOX
=no
1307 DEFAULT_wxUSE_LISTCTRL
=no
1308 DEFAULT_wxUSE_NOTEBOOK
=no
1309 DEFAULT_wxUSE_RADIOBOX
=no
1310 DEFAULT_wxUSE_RADIOBTN
=no
1311 DEFAULT_wxUSE_SASH
=no
1312 DEFAULT_wxUSE_SCROLLBAR
=no
1313 DEFAULT_wxUSE_SLIDER
=no
1314 DEFAULT_wxUSE_SPINBTN
=no
1315 DEFAULT_wxUSE_SPLITTER
=no
1316 DEFAULT_wxUSE_STATBMP
=no
1317 DEFAULT_wxUSE_STATBOX
=no
1318 DEFAULT_wxUSE_STATLINE
=no
1319 DEFAULT_wxUSE_STATUSBAR
=yes
1320 DEFAULT_wxUSE_TABDIALOG
=no
1321 DEFAULT_wxUSE_TOOLBAR
=no
1322 DEFAULT_wxUSE_TREECTRL
=no
1324 DEFAULT_wxUSE_UNICODE
=no
1325 DEFAULT_wxUSE_WCSRTOMBS
=no
1327 DEFAULT_wxUSE_GIF
=no
1328 DEFAULT_wxUSE_PCX
=no
1329 DEFAULT_wxUSE_PNM
=no
1331 DEFAULT_wxUSE_THREADS
=yes
1333 DEFAULT_wxUSE_SHARED
=yes
1334 DEFAULT_wxUSE_OPTIMISE
=yes
1335 DEFAULT_wxUSE_PROFILE
=no
1336 DEFAULT_wxUSE_NO_DEPS
=no
1337 DEFAULT_wxUSE_NO_RTTI
=no
1338 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1339 DEFAULT_wxUSE_PERMISSIVE
=no
1340 DEFAULT_wxUSE_DEBUG_FLAG
=no
1341 DEFAULT_wxUSE_DEBUG_INFO
=no
1342 DEFAULT_wxUSE_DEBUG_GDB
=no
1343 DEFAULT_wxUSE_MEM_TRACING
=no
1344 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1345 DEFAULT_wxUSE_DMALLOC
=no
1346 DEFAULT_wxUSE_APPLE_IEEE
=yes
1348 DEFAULT_wxUSE_LOG
=yes
1350 DEFAULT_wxUSE_GUI
=yes
1352 DEFAULT_wxUSE_ZLIB
=yes
1353 DEFAULT_wxUSE_LIBPNG
=yes
1354 DEFAULT_wxUSE_LIBJPEG
=yes
1355 DEFAULT_wxUSE_ODBC
=yes
1357 DEFAULT_wxUSE_STD_IOSTREAM
=no
1358 DEFAULT_wxUSE_FILE
=yes
1359 DEFAULT_wxUSE_TEXTFILE
=yes
1360 DEFAULT_wxUSE_TIMEDATE
=yes
1361 DEFAULT_wxUSE_WAVE
=no
1362 DEFAULT_wxUSE_INTL
=yes
1363 DEFAULT_wxUSE_CONFIG
=yes
1364 DEFAULT_wxUSE_STREAMS
=yes
1365 DEFAULT_wxUSE_SOCKETS
=yes
1366 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
1367 DEFAULT_wxUSE_SERIAL
=yes
1368 DEFAULT_wxUSE_JOYSTICK
=yes
1369 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
1370 DEFAULT_wxUSE_LONGLONG
=no
1372 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
1373 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
1374 DEFAULT_wxUSE_POSTSCRIPT
=yes
1376 DEFAULT_wxUSE_X_RESOURCES
=no
1377 DEFAULT_wxUSE_CLIPBOARD
=yes
1378 DEFAULT_wxUSE_TOOLTIPS
=yes
1379 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
1380 DEFAULT_wxUSE_SPLINES
=yes
1382 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
1383 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
1384 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
1386 DEFAULT_wxUSE_PROLOGIO
=yes
1387 DEFAULT_wxUSE_RESOURCES
=yes
1388 DEFAULT_wxUSE_CONSTRAINTS
=yes
1389 DEFAULT_wxUSE_IPC
=yes
1390 DEFAULT_wxUSE_HELP
=yes
1391 DEFAULT_wxUSE_WXTREE
=yes
1392 DEFAULT_wxUSE_METAFILE
=yes
1394 DEFAULT_wxUSE_COMMONDLGS
=yes
1395 DEFAULT_wxUSE_DIRDLG
=yes
1396 DEFAULT_wxUSE_TEXTDLG
=yes
1397 DEFAULT_wxUSE_STARTUP_TIPS
=yes
1398 DEFAULT_wxUSE_PROGRESSDLG
=yes
1399 DEFAULT_wxUSE_MINIFRAME
=yes
1400 DEFAULT_wxUSE_HTML
=yes
1401 DEFAULT_wxUSE_FS_INET
=yes
1402 DEFAULT_wxUSE_FS_ZIP
=yes
1403 DEFAULT_wxUSE_BUSYINFO
=yes
1404 DEFAULT_wxUSE_ZIPSTREAM
=yes
1405 DEFAULT_wxUSE_VALIDATORS
=yes
1407 DEFAULT_wxUSE_ACCEL
=yes
1408 DEFAULT_wxUSE_CARET
=yes
1409 DEFAULT_wxUSE_BMPBUTTON
=yes
1410 DEFAULT_wxUSE_CHECKBOX
=yes
1411 DEFAULT_wxUSE_CHECKLST
=yes
1412 DEFAULT_wxUSE_CHOICE
=yes
1413 DEFAULT_wxUSE_COMBOBOX
=yes
1414 DEFAULT_wxUSE_GAUGE
=yes
1415 DEFAULT_wxUSE_GRID
=yes
1416 DEFAULT_wxUSE_NEW_GRID
=no
1417 DEFAULT_wxUSE_IMAGLIST
=yes
1418 DEFAULT_wxUSE_LISTBOX
=yes
1419 DEFAULT_wxUSE_LISTCTRL
=yes
1420 DEFAULT_wxUSE_NOTEBOOK
=yes
1421 DEFAULT_wxUSE_RADIOBOX
=yes
1422 DEFAULT_wxUSE_RADIOBTN
=yes
1423 DEFAULT_wxUSE_SASH
=yes
1424 DEFAULT_wxUSE_SCROLLBAR
=yes
1425 DEFAULT_wxUSE_SLIDER
=yes
1426 DEFAULT_wxUSE_SPINBTN
=yes
1427 DEFAULT_wxUSE_SPLITTER
=yes
1428 DEFAULT_wxUSE_STATBMP
=yes
1429 DEFAULT_wxUSE_STATBOX
=yes
1430 DEFAULT_wxUSE_STATLINE
=yes
1431 DEFAULT_wxUSE_STATUSBAR
=yes
1432 DEFAULT_wxUSE_TABDIALOG
=no
1433 DEFAULT_wxUSE_TOOLBAR
=yes
1434 DEFAULT_wxUSE_TREECTRL
=yes
1436 DEFAULT_wxUSE_UNICODE
=no
1437 DEFAULT_wxUSE_WCSRTOMBS
=no
1439 DEFAULT_wxUSE_GIF
=yes
1440 DEFAULT_wxUSE_PCX
=yes
1441 DEFAULT_wxUSE_PNM
=yes
1446 for toolkit
in `echo $ALL_TOOLKITS`; do
1447 LINE
=`grep "wxUSE_$toolkit" ${wx_arg_cache_file}`
1448 if test "x$LINE" != x
; then
1449 has_toolkit_in_cache
=1
1450 eval "DEFAULT_$LINE"
1451 eval "CACHE_$toolkit=1"
1457 echo $ac_n "checking "for --enable-gui"""... $ac_c" 1>&6
1458 echo "configure:1459: checking "for --enable-gui"" >&5
1460 # Check whether --enable-gui or --disable-gui was given.
1461 if test "${enable_gui+set}" = set; then
1462 enableval
="$enable_gui"
1464 if test "$enableval" = yes; then
1465 ac_cv_use_gui
='wxUSE_GUI=yes'
1467 ac_cv_use_gui
='wxUSE_GUI=no'
1472 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
1473 if test "x$LINE" != x
; then
1474 eval "DEFAULT_$LINE"
1479 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
1484 eval "$ac_cv_use_gui"
1485 if test "$no_cache" != 1; then
1486 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
1489 if test "$wxUSE_GUI" = yes; then
1490 echo "$ac_t""yes" 1>&6
1492 echo "$ac_t""no" 1>&6
1496 if test "$wxUSE_GUI" = "no"; then
1497 DEFAULT_wxUSE_ZLIB
=no
1498 DEFAULT_wxUSE_LIBPNG
=no
1499 DEFAULT_wxUSE_LIBJPEG
=no
1500 DEFAULT_wxUSE_SOCKETS
=no
1501 DEFAULT_wxUSE_JOYSTICK
=no
1502 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
1503 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
1504 DEFAULT_wxUSE_POSTSCRIPT
=no
1505 DEFAULT_wxUSE_X_RESOURCES
=no
1506 DEFAULT_wxUSE_CLIPBOARD
=no
1507 DEFAULT_wxUSE_TOOLTIPS
=no
1508 DEFAULT_wxUSE_DRAG_AND_DROP
=no
1509 DEFAULT_wxUSE_SPLINES
=no
1510 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
1511 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
1512 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
1513 DEFAULT_wxUSE_PROLOGIO
=no
1514 DEFAULT_wxUSE_RESOURCES
=no
1515 DEFAULT_wxUSE_CONSTRAINTS
=no
1516 DEFAULT_wxUSE_IPC
=no
1517 DEFAULT_wxUSE_HELP
=no
1518 DEFAULT_wxUSE_WXTREE
=no
1519 DEFAULT_wxUSE_METAFILE
=no
1520 DEFAULT_wxUSE_COMMONDLGS
=no
1521 DEFAULT_wxUSE_DIRDLG
=no
1522 DEFAULT_wxUSE_TEXTDLG
=no
1523 DEFAULT_wxUSE_STARTUP_TIPS
=no
1524 DEFAULT_wxUSE_PROGRESSDLG
=no
1525 DEFAULT_wxUSE_MINIFRAME
=no
1526 DEFAULT_wxUSE_HTML
=no
1527 DEFAULT_wxUSE_FS_INET
=no
1528 DEFAULT_wxUSE_FS_ZIP
=no
1529 DEFAULT_wxUSE_BUSYINFO
=no
1530 DEFAULT_wxUSE_ZIPSTREAM
=no
1531 DEFAULT_wxUSE_VALIDATORS
=no
1532 DEFAULT_wxUSE_ACCEL
=no
1533 DEFAULT_wxUSE_CARET
=no
1534 DEFAULT_wxUSE_BMPBUTTON
=no
1535 DEFAULT_wxUSE_CHECKBOX
=no
1536 DEFAULT_wxUSE_CHECKLST
=no
1537 DEFAULT_wxUSE_CHOICE
=no
1538 DEFAULT_wxUSE_COMBOBOX
=no
1539 DEFAULT_wxUSE_GAUGE
=no
1540 DEFAULT_wxUSE_GRID
=no
1541 DEFAULT_wxUSE_NEW_GRID
=no
1542 DEFAULT_wxUSE_IMAGLIST
=no
1543 DEFAULT_wxUSE_LISTBOX
=no
1544 DEFAULT_wxUSE_LISTCTRL
=no
1545 DEFAULT_wxUSE_NOTEBOOK
=no
1546 DEFAULT_wxUSE_RADIOBOX
=no
1547 DEFAULT_wxUSE_RADIOBTN
=no
1548 DEFAULT_wxUSE_SASH
=no
1549 DEFAULT_wxUSE_SCROLLBAR
=no
1550 DEFAULT_wxUSE_SLIDER
=no
1551 DEFAULT_wxUSE_SPINBTN
=no
1552 DEFAULT_wxUSE_SPLITTER
=no
1553 DEFAULT_wxUSE_STATBMP
=no
1554 DEFAULT_wxUSE_STATBOX
=no
1555 DEFAULT_wxUSE_STATLINE
=no
1556 DEFAULT_wxUSE_STATUSBAR
=no
1557 DEFAULT_wxUSE_TABDIALOG
=no
1558 DEFAULT_wxUSE_TOOLBAR
=no
1559 DEFAULT_wxUSE_TREECTRL
=no
1560 DEFAULT_wxUSE_GIF
=no
1561 DEFAULT_wxUSE_PCX
=no
1562 DEFAULT_wxUSE_PNM
=no
1565 # Check whether --with-gtk or --without-gtk was given.
1566 if test "${with_gtk+set}" = set; then
1568 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
1571 # Check whether --with-motif or --without-motif was given.
1572 if test "${with_motif+set}" = set; then
1573 withval
="$with_motif"
1574 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
1577 # Check whether --with-wine or --without-wine was given.
1578 if test "${with_wine+set}" = set; then
1579 withval
="$with_wine"
1580 wxUSE_WINE
="$withval" CACHE_WINE
=1 TOOLKIT_GIVEN
=1
1583 # Check whether --with-cygwin or --without-cygwin was given.
1584 if test "${with_cygwin+set}" = set; then
1585 withval
="$with_cygwin"
1586 wxUSE_CYGWIN
="$withval" CACHE_CYGWIN
=1 TOOLKIT_GIVEN
=1
1589 # Check whether --with-mingw or --without-mingw was given.
1590 if test "${with_mingw+set}" = set; then
1591 withval
="$with_mingw"
1592 wxUSE_MINGW
="$withval" CACHE_MINGW
=1 TOOLKIT_GIVEN
=1
1596 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
1597 if test "${with_gtk_prefix+set}" = set; then
1598 withval
="$with_gtk_prefix"
1599 gtk_config_prefix
="$withval"
1601 gtk_config_prefix
=""
1604 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
1605 if test "${with_gtk_exec_prefix+set}" = set; then
1606 withval
="$with_gtk_exec_prefix"
1607 gtk_config_exec_prefix
="$withval"
1609 gtk_config_exec_prefix
=""
1614 echo $ac_n "checking "for --with-dmalloc"""... $ac_c" 1>&6
1615 echo "configure:1616: checking "for --with-dmalloc"" >&5
1617 # Check whether --with-dmalloc or --without-dmalloc was given.
1618 if test "${with_dmalloc+set}" = set; then
1619 withval
="$with_dmalloc"
1621 if test "$withval" = yes; then
1622 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
1624 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
1629 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
1630 if test "x$LINE" != x
; then
1631 eval "DEFAULT_$LINE"
1636 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
1641 eval "$ac_cv_use_dmalloc"
1642 if test "$no_cache" != 1; then
1643 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
1646 if test "$wxUSE_DMALLOC" = yes; then
1647 echo "$ac_t""yes" 1>&6
1649 echo "$ac_t""no" 1>&6
1653 echo $ac_n "checking "for --with-zlib"""... $ac_c" 1>&6
1654 echo "configure:1655: checking "for --with-zlib"" >&5
1656 # Check whether --with-zlib or --without-zlib was given.
1657 if test "${with_zlib+set}" = set; then
1658 withval
="$with_zlib"
1660 if test "$withval" = yes; then
1661 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
1663 ac_cv_use_zlib
='wxUSE_ZLIB=no'
1668 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
1669 if test "x$LINE" != x
; then
1670 eval "DEFAULT_$LINE"
1675 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
1680 eval "$ac_cv_use_zlib"
1681 if test "$no_cache" != 1; then
1682 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
1685 if test "$wxUSE_ZLIB" = yes; then
1686 echo "$ac_t""yes" 1>&6
1688 echo "$ac_t""no" 1>&6
1692 echo $ac_n "checking "for --with-libpng"""... $ac_c" 1>&6
1693 echo "configure:1694: checking "for --with-libpng"" >&5
1695 # Check whether --with-libpng or --without-libpng was given.
1696 if test "${with_libpng+set}" = set; then
1697 withval
="$with_libpng"
1699 if test "$withval" = yes; then
1700 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
1702 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
1707 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
1708 if test "x$LINE" != x
; then
1709 eval "DEFAULT_$LINE"
1714 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
1719 eval "$ac_cv_use_libpng"
1720 if test "$no_cache" != 1; then
1721 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
1724 if test "$wxUSE_LIBPNG" = yes; then
1725 echo "$ac_t""yes" 1>&6
1727 echo "$ac_t""no" 1>&6
1731 echo $ac_n "checking "for --with-libjpeg"""... $ac_c" 1>&6
1732 echo "configure:1733: checking "for --with-libjpeg"" >&5
1734 # Check whether --with-libjpeg or --without-libjpeg was given.
1735 if test "${with_libjpeg+set}" = set; then
1736 withval
="$with_libjpeg"
1738 if test "$withval" = yes; then
1739 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
1741 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
1746 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
1747 if test "x$LINE" != x
; then
1748 eval "DEFAULT_$LINE"
1753 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
1758 eval "$ac_cv_use_libjpeg"
1759 if test "$no_cache" != 1; then
1760 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
1763 if test "$wxUSE_LIBJPEG" = yes; then
1764 echo "$ac_t""yes" 1>&6
1766 echo "$ac_t""no" 1>&6
1770 echo $ac_n "checking "for --with-opengl"""... $ac_c" 1>&6
1771 echo "configure:1772: checking "for --with-opengl"" >&5
1773 # Check whether --with-opengl or --without-opengl was given.
1774 if test "${with_opengl+set}" = set; then
1775 withval
="$with_opengl"
1777 if test "$withval" = yes; then
1778 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
1780 ac_cv_use_opengl
='wxUSE_OPENGL=no'
1785 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
1786 if test "x$LINE" != x
; then
1787 eval "DEFAULT_$LINE"
1792 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
1797 eval "$ac_cv_use_opengl"
1798 if test "$no_cache" != 1; then
1799 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
1802 if test "$wxUSE_OPENGL" = yes; then
1803 echo "$ac_t""yes" 1>&6
1805 echo "$ac_t""no" 1>&6
1809 echo $ac_n "checking "for --with-odbc"""... $ac_c" 1>&6
1810 echo "configure:1811: checking "for --with-odbc"" >&5
1812 # Check whether --with-odbc or --without-odbc was given.
1813 if test "${with_odbc+set}" = set; then
1814 withval
="$with_odbc"
1816 if test "$withval" = yes; then
1817 ac_cv_use_odbc
='wxUSE_ODBC=yes'
1819 ac_cv_use_odbc
='wxUSE_ODBC=no'
1824 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
1825 if test "x$LINE" != x
; then
1826 eval "DEFAULT_$LINE"
1831 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
1836 eval "$ac_cv_use_odbc"
1837 if test "$no_cache" != 1; then
1838 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
1841 if test "$wxUSE_ODBC" = yes; then
1842 echo "$ac_t""yes" 1>&6
1844 echo "$ac_t""no" 1>&6
1851 echo $ac_n "checking "for --enable-shared"""... $ac_c" 1>&6
1852 echo "configure:1853: checking "for --enable-shared"" >&5
1854 # Check whether --enable-shared or --disable-shared was given.
1855 if test "${enable_shared+set}" = set; then
1856 enableval
="$enable_shared"
1858 if test "$enableval" = yes; then
1859 ac_cv_use_shared
='wxUSE_SHARED=yes'
1861 ac_cv_use_shared
='wxUSE_SHARED=no'
1866 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
1867 if test "x$LINE" != x
; then
1868 eval "DEFAULT_$LINE"
1873 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
1878 eval "$ac_cv_use_shared"
1879 if test "$no_cache" != 1; then
1880 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
1883 if test "$wxUSE_SHARED" = yes; then
1884 echo "$ac_t""yes" 1>&6
1886 echo "$ac_t""no" 1>&6
1890 echo $ac_n "checking "for --enable-optimise"""... $ac_c" 1>&6
1891 echo "configure:1892: checking "for --enable-optimise"" >&5
1893 # Check whether --enable-optimise or --disable-optimise was given.
1894 if test "${enable_optimise+set}" = set; then
1895 enableval
="$enable_optimise"
1897 if test "$enableval" = yes; then
1898 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
1900 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
1905 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
1906 if test "x$LINE" != x
; then
1907 eval "DEFAULT_$LINE"
1912 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
1917 eval "$ac_cv_use_optimise"
1918 if test "$no_cache" != 1; then
1919 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
1922 if test "$wxUSE_OPTIMISE" = yes; then
1923 echo "$ac_t""yes" 1>&6
1925 echo "$ac_t""no" 1>&6
1929 echo $ac_n "checking "for --enable-debug"""... $ac_c" 1>&6
1930 echo "configure:1931: checking "for --enable-debug"" >&5
1932 # Check whether --enable-debug or --disable-debug was given.
1933 if test "${enable_debug+set}" = set; then
1934 enableval
="$enable_debug"
1936 if test "$enableval" = yes; then
1937 ac_cv_use_debug
='wxUSE_DEBUG=yes'
1939 ac_cv_use_debug
='wxUSE_DEBUG=no'
1944 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
1945 if test "x$LINE" != x
; then
1946 eval "DEFAULT_$LINE"
1951 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
1956 eval "$ac_cv_use_debug"
1957 if test "$no_cache" != 1; then
1958 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
1961 if test "$wxUSE_DEBUG" = yes; then
1962 echo "$ac_t""yes" 1>&6
1964 echo "$ac_t""no" 1>&6
1968 if test "$wxUSE_DEBUG" = "yes"; then
1969 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1970 DEFAULT_wxUSE_DEBUG_INFO
=yes
1971 elif test "$wxUSE_DEBUG" = "no"; then
1972 DEFAULT_wxUSE_DEBUG_FLAG
=no
1973 DEFAULT_wxUSE_DEBUG_INFO
=no
1977 echo $ac_n "checking "for --enable-debug_flag"""... $ac_c" 1>&6
1978 echo "configure:1979: checking "for --enable-debug_flag"" >&5
1980 # Check whether --enable-debug_flag or --disable-debug_flag was given.
1981 if test "${enable_debug_flag+set}" = set; then
1982 enableval
="$enable_debug_flag"
1984 if test "$enableval" = yes; then
1985 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
1987 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
1992 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
1993 if test "x$LINE" != x
; then
1994 eval "DEFAULT_$LINE"
1999 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
2004 eval "$ac_cv_use_debug_flag"
2005 if test "$no_cache" != 1; then
2006 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
2009 if test "$wxUSE_DEBUG_FLAG" = yes; then
2010 echo "$ac_t""yes" 1>&6
2012 echo "$ac_t""no" 1>&6
2016 echo $ac_n "checking "for --enable-debug_info"""... $ac_c" 1>&6
2017 echo "configure:2018: checking "for --enable-debug_info"" >&5
2019 # Check whether --enable-debug_info or --disable-debug_info was given.
2020 if test "${enable_debug_info+set}" = set; then
2021 enableval
="$enable_debug_info"
2023 if test "$enableval" = yes; then
2024 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
2026 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
2031 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
2032 if test "x$LINE" != x
; then
2033 eval "DEFAULT_$LINE"
2038 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
2043 eval "$ac_cv_use_debug_info"
2044 if test "$no_cache" != 1; then
2045 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
2048 if test "$wxUSE_DEBUG_INFO" = yes; then
2049 echo "$ac_t""yes" 1>&6
2051 echo "$ac_t""no" 1>&6
2055 echo $ac_n "checking "for --enable-debug_gdb"""... $ac_c" 1>&6
2056 echo "configure:2057: checking "for --enable-debug_gdb"" >&5
2058 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
2059 if test "${enable_debug_gdb+set}" = set; then
2060 enableval
="$enable_debug_gdb"
2062 if test "$enableval" = yes; then
2063 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
2065 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
2070 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
2071 if test "x$LINE" != x
; then
2072 eval "DEFAULT_$LINE"
2077 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
2082 eval "$ac_cv_use_debug_gdb"
2083 if test "$no_cache" != 1; then
2084 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
2087 if test "$wxUSE_DEBUG_GDB" = yes; then
2088 echo "$ac_t""yes" 1>&6
2090 echo "$ac_t""no" 1>&6
2094 echo $ac_n "checking "for --enable-debug_cntxt"""... $ac_c" 1>&6
2095 echo "configure:2096: checking "for --enable-debug_cntxt"" >&5
2097 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
2098 if test "${enable_debug_cntxt+set}" = set; then
2099 enableval
="$enable_debug_cntxt"
2101 if test "$enableval" = yes; then
2102 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
2104 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
2109 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2110 if test "x$LINE" != x
; then
2111 eval "DEFAULT_$LINE"
2116 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2121 eval "$ac_cv_use_debug_cntxt"
2122 if test "$no_cache" != 1; then
2123 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2126 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2127 echo "$ac_t""yes" 1>&6
2129 echo "$ac_t""no" 1>&6
2133 echo $ac_n "checking "for --enable-mem_tracing"""... $ac_c" 1>&6
2134 echo "configure:2135: checking "for --enable-mem_tracing"" >&5
2136 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2137 if test "${enable_mem_tracing+set}" = set; then
2138 enableval
="$enable_mem_tracing"
2140 if test "$enableval" = yes; then
2141 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
2143 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
2148 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2149 if test "x$LINE" != x
; then
2150 eval "DEFAULT_$LINE"
2155 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2160 eval "$ac_cv_use_mem_tracing"
2161 if test "$no_cache" != 1; then
2162 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2165 if test "$wxUSE_MEM_TRACING" = yes; then
2166 echo "$ac_t""yes" 1>&6
2168 echo "$ac_t""no" 1>&6
2172 echo $ac_n "checking "for --enable-profile"""... $ac_c" 1>&6
2173 echo "configure:2174: checking "for --enable-profile"" >&5
2175 # Check whether --enable-profile or --disable-profile was given.
2176 if test "${enable_profile+set}" = set; then
2177 enableval
="$enable_profile"
2179 if test "$enableval" = yes; then
2180 ac_cv_use_profile
='wxUSE_PROFILE=yes'
2182 ac_cv_use_profile
='wxUSE_PROFILE=no'
2187 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2188 if test "x$LINE" != x
; then
2189 eval "DEFAULT_$LINE"
2194 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2199 eval "$ac_cv_use_profile"
2200 if test "$no_cache" != 1; then
2201 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2204 if test "$wxUSE_PROFILE" = yes; then
2205 echo "$ac_t""yes" 1>&6
2207 echo "$ac_t""no" 1>&6
2211 echo $ac_n "checking "for --enable-no_rtti"""... $ac_c" 1>&6
2212 echo "configure:2213: checking "for --enable-no_rtti"" >&5
2214 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2215 if test "${enable_no_rtti+set}" = set; then
2216 enableval
="$enable_no_rtti"
2218 if test "$enableval" = yes; then
2219 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
2221 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
2226 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2227 if test "x$LINE" != x
; then
2228 eval "DEFAULT_$LINE"
2233 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2238 eval "$ac_cv_use_no_rtti"
2239 if test "$no_cache" != 1; then
2240 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2243 if test "$wxUSE_NO_RTTI" = yes; then
2244 echo "$ac_t""yes" 1>&6
2246 echo "$ac_t""no" 1>&6
2250 echo $ac_n "checking "for --enable-no_exceptions"""... $ac_c" 1>&6
2251 echo "configure:2252: checking "for --enable-no_exceptions"" >&5
2253 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2254 if test "${enable_no_exceptions+set}" = set; then
2255 enableval
="$enable_no_exceptions"
2257 if test "$enableval" = yes; then
2258 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
2260 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
2265 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2266 if test "x$LINE" != x
; then
2267 eval "DEFAULT_$LINE"
2272 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2277 eval "$ac_cv_use_no_exceptions"
2278 if test "$no_cache" != 1; then
2279 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2282 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2283 echo "$ac_t""yes" 1>&6
2285 echo "$ac_t""no" 1>&6
2289 echo $ac_n "checking "for --enable-permissive"""... $ac_c" 1>&6
2290 echo "configure:2291: checking "for --enable-permissive"" >&5
2292 # Check whether --enable-permissive or --disable-permissive was given.
2293 if test "${enable_permissive+set}" = set; then
2294 enableval
="$enable_permissive"
2296 if test "$enableval" = yes; then
2297 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
2299 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
2304 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2305 if test "x$LINE" != x
; then
2306 eval "DEFAULT_$LINE"
2311 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
2316 eval "$ac_cv_use_permissive"
2317 if test "$no_cache" != 1; then
2318 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
2321 if test "$wxUSE_PERMISSIVE" = yes; then
2322 echo "$ac_t""yes" 1>&6
2324 echo "$ac_t""no" 1>&6
2328 echo $ac_n "checking "for --enable-no_deps"""... $ac_c" 1>&6
2329 echo "configure:2330: checking "for --enable-no_deps"" >&5
2331 # Check whether --enable-no_deps or --disable-no_deps was given.
2332 if test "${enable_no_deps+set}" = set; then
2333 enableval
="$enable_no_deps"
2335 if test "$enableval" = yes; then
2336 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
2338 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
2343 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
2344 if test "x$LINE" != x
; then
2345 eval "DEFAULT_$LINE"
2350 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
2355 eval "$ac_cv_use_no_deps"
2356 if test "$no_cache" != 1; then
2357 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
2360 if test "$wxUSE_NO_DEPS" = yes; then
2361 echo "$ac_t""yes" 1>&6
2363 echo "$ac_t""no" 1>&6
2369 echo $ac_n "checking "for --enable-intl"""... $ac_c" 1>&6
2370 echo "configure:2371: checking "for --enable-intl"" >&5
2372 # Check whether --enable-intl or --disable-intl was given.
2373 if test "${enable_intl+set}" = set; then
2374 enableval
="$enable_intl"
2376 if test "$enableval" = yes; then
2377 ac_cv_use_intl
='wxUSE_INTL=yes'
2379 ac_cv_use_intl
='wxUSE_INTL=no'
2384 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
2385 if test "x$LINE" != x
; then
2386 eval "DEFAULT_$LINE"
2391 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
2396 eval "$ac_cv_use_intl"
2397 if test "$no_cache" != 1; then
2398 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
2401 if test "$wxUSE_INTL" = yes; then
2402 echo "$ac_t""yes" 1>&6
2404 echo "$ac_t""no" 1>&6
2408 echo $ac_n "checking "for --enable-config"""... $ac_c" 1>&6
2409 echo "configure:2410: checking "for --enable-config"" >&5
2411 # Check whether --enable-config or --disable-config was given.
2412 if test "${enable_config+set}" = set; then
2413 enableval
="$enable_config"
2415 if test "$enableval" = yes; then
2416 ac_cv_use_config
='wxUSE_CONFIG=yes'
2418 ac_cv_use_config
='wxUSE_CONFIG=no'
2423 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
2424 if test "x$LINE" != x
; then
2425 eval "DEFAULT_$LINE"
2430 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
2435 eval "$ac_cv_use_config"
2436 if test "$no_cache" != 1; then
2437 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
2440 if test "$wxUSE_CONFIG" = yes; then
2441 echo "$ac_t""yes" 1>&6
2443 echo "$ac_t""no" 1>&6
2447 echo $ac_n "checking "for --enable-sockets"""... $ac_c" 1>&6
2448 echo "configure:2449: checking "for --enable-sockets"" >&5
2450 # Check whether --enable-sockets or --disable-sockets was given.
2451 if test "${enable_sockets+set}" = set; then
2452 enableval
="$enable_sockets"
2454 if test "$enableval" = yes; then
2455 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
2457 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
2462 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
2463 if test "x$LINE" != x
; then
2464 eval "DEFAULT_$LINE"
2469 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
2474 eval "$ac_cv_use_sockets"
2475 if test "$no_cache" != 1; then
2476 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
2479 if test "$wxUSE_SOCKETS" = yes; then
2480 echo "$ac_t""yes" 1>&6
2482 echo "$ac_t""no" 1>&6
2486 echo $ac_n "checking "for --enable-dialupman"""... $ac_c" 1>&6
2487 echo "configure:2488: checking "for --enable-dialupman"" >&5
2489 # Check whether --enable-dialupman or --disable-dialupman was given.
2490 if test "${enable_dialupman+set}" = set; then
2491 enableval
="$enable_dialupman"
2493 if test "$enableval" = yes; then
2494 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
2496 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
2501 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
2502 if test "x$LINE" != x
; then
2503 eval "DEFAULT_$LINE"
2508 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
2513 eval "$ac_cv_use_dialupman"
2514 if test "$no_cache" != 1; then
2515 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
2518 if test "$wxUSE_DIALUP_MANAGER" = yes; then
2519 echo "$ac_t""yes" 1>&6
2521 echo "$ac_t""no" 1>&6
2525 echo $ac_n "checking "for --enable-ipc"""... $ac_c" 1>&6
2526 echo "configure:2527: checking "for --enable-ipc"" >&5
2528 # Check whether --enable-ipc or --disable-ipc was given.
2529 if test "${enable_ipc+set}" = set; then
2530 enableval
="$enable_ipc"
2532 if test "$enableval" = yes; then
2533 ac_cv_use_ipc
='wxUSE_IPC=yes'
2535 ac_cv_use_ipc
='wxUSE_IPC=no'
2540 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
2541 if test "x$LINE" != x
; then
2542 eval "DEFAULT_$LINE"
2547 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
2552 eval "$ac_cv_use_ipc"
2553 if test "$no_cache" != 1; then
2554 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
2557 if test "$wxUSE_IPC" = yes; then
2558 echo "$ac_t""yes" 1>&6
2560 echo "$ac_t""no" 1>&6
2564 echo $ac_n "checking "for --enable-apple_ieee"""... $ac_c" 1>&6
2565 echo "configure:2566: checking "for --enable-apple_ieee"" >&5
2567 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
2568 if test "${enable_apple_ieee+set}" = set; then
2569 enableval
="$enable_apple_ieee"
2571 if test "$enableval" = yes; then
2572 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
2574 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
2579 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
2580 if test "x$LINE" != x
; then
2581 eval "DEFAULT_$LINE"
2586 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
2591 eval "$ac_cv_use_apple_ieee"
2592 if test "$no_cache" != 1; then
2593 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
2596 if test "$wxUSE_APPLE_IEEE" = yes; then
2597 echo "$ac_t""yes" 1>&6
2599 echo "$ac_t""no" 1>&6
2603 echo $ac_n "checking "for --enable-timedate"""... $ac_c" 1>&6
2604 echo "configure:2605: checking "for --enable-timedate"" >&5
2606 # Check whether --enable-timedate or --disable-timedate was given.
2607 if test "${enable_timedate+set}" = set; then
2608 enableval
="$enable_timedate"
2610 if test "$enableval" = yes; then
2611 ac_cv_use_timedate
='wxUSE_TIMEDATE=yes'
2613 ac_cv_use_timedate
='wxUSE_TIMEDATE=no'
2618 LINE
=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}`
2619 if test "x$LINE" != x
; then
2620 eval "DEFAULT_$LINE"
2625 ac_cv_use_timedate
='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
2630 eval "$ac_cv_use_timedate"
2631 if test "$no_cache" != 1; then
2632 echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp
2635 if test "$wxUSE_TIMEDATE" = yes; then
2636 echo "$ac_t""yes" 1>&6
2638 echo "$ac_t""no" 1>&6
2642 echo $ac_n "checking "for --enable-wave"""... $ac_c" 1>&6
2643 echo "configure:2644: checking "for --enable-wave"" >&5
2645 # Check whether --enable-wave or --disable-wave was given.
2646 if test "${enable_wave+set}" = set; then
2647 enableval
="$enable_wave"
2649 if test "$enableval" = yes; then
2650 ac_cv_use_wave
='wxUSE_WAVE=yes'
2652 ac_cv_use_wave
='wxUSE_WAVE=no'
2657 LINE
=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
2658 if test "x$LINE" != x
; then
2659 eval "DEFAULT_$LINE"
2664 ac_cv_use_wave
='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
2669 eval "$ac_cv_use_wave"
2670 if test "$no_cache" != 1; then
2671 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
2674 if test "$wxUSE_WAVE" = yes; then
2675 echo "$ac_t""yes" 1>&6
2677 echo "$ac_t""no" 1>&6
2681 echo $ac_n "checking "for --enable-fraction"""... $ac_c" 1>&6
2682 echo "configure:2683: checking "for --enable-fraction"" >&5
2684 # Check whether --enable-fraction or --disable-fraction was given.
2685 if test "${enable_fraction+set}" = set; then
2686 enableval
="$enable_fraction"
2688 if test "$enableval" = yes; then
2689 ac_cv_use_fraction
='wxUSE_FRACTION=yes'
2691 ac_cv_use_fraction
='wxUSE_FRACTION=no'
2696 LINE
=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
2697 if test "x$LINE" != x
; then
2698 eval "DEFAULT_$LINE"
2703 ac_cv_use_fraction
='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
2708 eval "$ac_cv_use_fraction"
2709 if test "$no_cache" != 1; then
2710 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
2713 if test "$wxUSE_FRACTION" = yes; then
2714 echo "$ac_t""yes" 1>&6
2716 echo "$ac_t""no" 1>&6
2720 echo $ac_n "checking "for --enable-dynlib"""... $ac_c" 1>&6
2721 echo "configure:2722: checking "for --enable-dynlib"" >&5
2723 # Check whether --enable-dynlib or --disable-dynlib was given.
2724 if test "${enable_dynlib+set}" = set; then
2725 enableval
="$enable_dynlib"
2727 if test "$enableval" = yes; then
2728 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
2730 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
2735 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
2736 if test "x$LINE" != x
; then
2737 eval "DEFAULT_$LINE"
2742 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
2747 eval "$ac_cv_use_dynlib"
2748 if test "$no_cache" != 1; then
2749 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
2752 if test "$wxUSE_DYNLIB_CLASS" = yes; then
2753 echo "$ac_t""yes" 1>&6
2755 echo "$ac_t""no" 1>&6
2759 echo $ac_n "checking "for --enable-longlong"""... $ac_c" 1>&6
2760 echo "configure:2761: checking "for --enable-longlong"" >&5
2762 # Check whether --enable-longlong or --disable-longlong was given.
2763 if test "${enable_longlong+set}" = set; then
2764 enableval
="$enable_longlong"
2766 if test "$enableval" = yes; then
2767 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
2769 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
2774 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
2775 if test "x$LINE" != x
; then
2776 eval "DEFAULT_$LINE"
2781 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
2786 eval "$ac_cv_use_longlong"
2787 if test "$no_cache" != 1; then
2788 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
2791 if test "$wxUSE_LONGLONG" = yes; then
2792 echo "$ac_t""yes" 1>&6
2794 echo "$ac_t""no" 1>&6
2798 echo $ac_n "checking "for --enable-log"""... $ac_c" 1>&6
2799 echo "configure:2800: checking "for --enable-log"" >&5
2801 # Check whether --enable-log or --disable-log was given.
2802 if test "${enable_log+set}" = set; then
2803 enableval
="$enable_log"
2805 if test "$enableval" = yes; then
2806 ac_cv_use_log
='wxUSE_LOG=yes'
2808 ac_cv_use_log
='wxUSE_LOG=no'
2813 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
2814 if test "x$LINE" != x
; then
2815 eval "DEFAULT_$LINE"
2820 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
2825 eval "$ac_cv_use_log"
2826 if test "$no_cache" != 1; then
2827 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
2830 if test "$wxUSE_LOG" = yes; then
2831 echo "$ac_t""yes" 1>&6
2833 echo "$ac_t""no" 1>&6
2837 echo $ac_n "checking "for --enable-streams"""... $ac_c" 1>&6
2838 echo "configure:2839: checking "for --enable-streams"" >&5
2840 # Check whether --enable-streams or --disable-streams was given.
2841 if test "${enable_streams+set}" = set; then
2842 enableval
="$enable_streams"
2844 if test "$enableval" = yes; then
2845 ac_cv_use_streams
='wxUSE_STREAMS=yes'
2847 ac_cv_use_streams
='wxUSE_STREAMS=no'
2852 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
2853 if test "x$LINE" != x
; then
2854 eval "DEFAULT_$LINE"
2859 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
2864 eval "$ac_cv_use_streams"
2865 if test "$no_cache" != 1; then
2866 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
2869 if test "$wxUSE_STREAMS" = yes; then
2870 echo "$ac_t""yes" 1>&6
2872 echo "$ac_t""no" 1>&6
2876 echo $ac_n "checking "for --enable-file"""... $ac_c" 1>&6
2877 echo "configure:2878: checking "for --enable-file"" >&5
2879 # Check whether --enable-file or --disable-file was given.
2880 if test "${enable_file+set}" = set; then
2881 enableval
="$enable_file"
2883 if test "$enableval" = yes; then
2884 ac_cv_use_file
='wxUSE_FILE=yes'
2886 ac_cv_use_file
='wxUSE_FILE=no'
2891 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
2892 if test "x$LINE" != x
; then
2893 eval "DEFAULT_$LINE"
2898 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
2903 eval "$ac_cv_use_file"
2904 if test "$no_cache" != 1; then
2905 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
2908 if test "$wxUSE_FILE" = yes; then
2909 echo "$ac_t""yes" 1>&6
2911 echo "$ac_t""no" 1>&6
2915 echo $ac_n "checking "for --enable-textfile"""... $ac_c" 1>&6
2916 echo "configure:2917: checking "for --enable-textfile"" >&5
2918 # Check whether --enable-textfile or --disable-textfile was given.
2919 if test "${enable_textfile+set}" = set; then
2920 enableval
="$enable_textfile"
2922 if test "$enableval" = yes; then
2923 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
2925 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
2930 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
2931 if test "x$LINE" != x
; then
2932 eval "DEFAULT_$LINE"
2937 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
2942 eval "$ac_cv_use_textfile"
2943 if test "$no_cache" != 1; then
2944 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
2947 if test "$wxUSE_TEXTFILE" = yes; then
2948 echo "$ac_t""yes" 1>&6
2950 echo "$ac_t""no" 1>&6
2954 echo $ac_n "checking "for --enable-unicode"""... $ac_c" 1>&6
2955 echo "configure:2956: checking "for --enable-unicode"" >&5
2957 # Check whether --enable-unicode or --disable-unicode was given.
2958 if test "${enable_unicode+set}" = set; then
2959 enableval
="$enable_unicode"
2961 if test "$enableval" = yes; then
2962 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
2964 ac_cv_use_unicode
='wxUSE_UNICODE=no'
2969 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
2970 if test "x$LINE" != x
; then
2971 eval "DEFAULT_$LINE"
2976 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
2981 eval "$ac_cv_use_unicode"
2982 if test "$no_cache" != 1; then
2983 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
2986 if test "$wxUSE_UNICODE" = yes; then
2987 echo "$ac_t""yes" 1>&6
2989 echo "$ac_t""no" 1>&6
2993 echo $ac_n "checking "for --enable-wcsrtombs"""... $ac_c" 1>&6
2994 echo "configure:2995: checking "for --enable-wcsrtombs"" >&5
2996 # Check whether --enable-wcsrtombs or --disable-wcsrtombs was given.
2997 if test "${enable_wcsrtombs+set}" = set; then
2998 enableval
="$enable_wcsrtombs"
3000 if test "$enableval" = yes; then
3001 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS=yes'
3003 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS=no'
3008 LINE
=`grep "wxUSE_WCSRTOMBS" ${wx_arg_cache_file}`
3009 if test "x$LINE" != x
; then
3010 eval "DEFAULT_$LINE"
3015 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS='$DEFAULT_wxUSE_WCSRTOMBS
3020 eval "$ac_cv_use_wcsrtombs"
3021 if test "$no_cache" != 1; then
3022 echo $ac_cv_use_wcsrtombs >> ${wx_arg_cache_file}.tmp
3025 if test "$wxUSE_WCSRTOMBS" = yes; then
3026 echo "$ac_t""yes" 1>&6
3028 echo "$ac_t""no" 1>&6
3032 echo $ac_n "checking "for --enable-wxprintfv"""... $ac_c" 1>&6
3033 echo "configure:3034: checking "for --enable-wxprintfv"" >&5
3035 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
3036 if test "${enable_wxprintfv+set}" = set; then
3037 enableval
="$enable_wxprintfv"
3039 if test "$enableval" = yes; then
3040 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
3042 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
3047 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
3048 if test "x$LINE" != x
; then
3049 eval "DEFAULT_$LINE"
3054 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
3059 eval "$ac_cv_use_wxprintfv"
3060 if test "$no_cache" != 1; then
3061 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
3064 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
3065 echo "$ac_t""yes" 1>&6
3067 echo "$ac_t""no" 1>&6
3071 echo $ac_n "checking "for --enable-joystick"""... $ac_c" 1>&6
3072 echo "configure:3073: checking "for --enable-joystick"" >&5
3074 # Check whether --enable-joystick or --disable-joystick was given.
3075 if test "${enable_joystick+set}" = set; then
3076 enableval
="$enable_joystick"
3078 if test "$enableval" = yes; then
3079 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
3081 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
3086 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
3087 if test "x$LINE" != x
; then
3088 eval "DEFAULT_$LINE"
3093 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
3098 eval "$ac_cv_use_joystick"
3099 if test "$no_cache" != 1; then
3100 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
3103 if test "$wxUSE_JOYSTICK" = yes; then
3104 echo "$ac_t""yes" 1>&6
3106 echo "$ac_t""no" 1>&6
3110 echo $ac_n "checking "for --enable-std_iostreams"""... $ac_c" 1>&6
3111 echo "configure:3112: checking "for --enable-std_iostreams"" >&5
3113 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
3114 if test "${enable_std_iostreams+set}" = set; then
3115 enableval
="$enable_std_iostreams"
3117 if test "$enableval" = yes; then
3118 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
3120 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
3125 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
3126 if test "x$LINE" != x
; then
3127 eval "DEFAULT_$LINE"
3132 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
3137 eval "$ac_cv_use_std_iostreams"
3138 if test "$no_cache" != 1; then
3139 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
3142 if test "$wxUSE_STD_IOSTREAM" = yes; then
3143 echo "$ac_t""yes" 1>&6
3145 echo "$ac_t""no" 1>&6
3149 echo $ac_n "checking "for --enable-fs_inet"""... $ac_c" 1>&6
3150 echo "configure:3151: checking "for --enable-fs_inet"" >&5
3152 # Check whether --enable-fs_inet or --disable-fs_inet was given.
3153 if test "${enable_fs_inet+set}" = set; then
3154 enableval
="$enable_fs_inet"
3156 if test "$enableval" = yes; then
3157 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
3159 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
3164 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
3165 if test "x$LINE" != x
; then
3166 eval "DEFAULT_$LINE"
3171 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
3176 eval "$ac_cv_use_fs_inet"
3177 if test "$no_cache" != 1; then
3178 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
3181 if test "$wxUSE_FS_INET" = yes; then
3182 echo "$ac_t""yes" 1>&6
3184 echo "$ac_t""no" 1>&6
3188 echo $ac_n "checking "for --enable-fs_zip"""... $ac_c" 1>&6
3189 echo "configure:3190: checking "for --enable-fs_zip"" >&5
3191 # Check whether --enable-fs_zip or --disable-fs_zip was given.
3192 if test "${enable_fs_zip+set}" = set; then
3193 enableval
="$enable_fs_zip"
3195 if test "$enableval" = yes; then
3196 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
3198 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
3203 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
3204 if test "x$LINE" != x
; then
3205 eval "DEFAULT_$LINE"
3210 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
3215 eval "$ac_cv_use_fs_zip"
3216 if test "$no_cache" != 1; then
3217 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
3220 if test "$wxUSE_FS_ZIP" = yes; then
3221 echo "$ac_t""yes" 1>&6
3223 echo "$ac_t""no" 1>&6
3227 echo $ac_n "checking "for --enable-zipstream"""... $ac_c" 1>&6
3228 echo "configure:3229: checking "for --enable-zipstream"" >&5
3230 # Check whether --enable-zipstream or --disable-zipstream was given.
3231 if test "${enable_zipstream+set}" = set; then
3232 enableval
="$enable_zipstream"
3234 if test "$enableval" = yes; then
3235 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
3237 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
3242 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
3243 if test "x$LINE" != x
; then
3244 eval "DEFAULT_$LINE"
3249 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
3254 eval "$ac_cv_use_zipstream"
3255 if test "$no_cache" != 1; then
3256 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
3259 if test "$wxUSE_ZIPSTREAM" = yes; then
3260 echo "$ac_t""yes" 1>&6
3262 echo "$ac_t""no" 1>&6
3268 echo $ac_n "checking "for --enable-threads"""... $ac_c" 1>&6
3269 echo "configure:3270: checking "for --enable-threads"" >&5
3271 # Check whether --enable-threads or --disable-threads was given.
3272 if test "${enable_threads+set}" = set; then
3273 enableval
="$enable_threads"
3275 if test "$enableval" = yes; then
3276 ac_cv_use_threads
='wxUSE_THREADS=yes'
3278 ac_cv_use_threads
='wxUSE_THREADS=no'
3283 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
3284 if test "x$LINE" != x
; then
3285 eval "DEFAULT_$LINE"
3290 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
3295 eval "$ac_cv_use_threads"
3296 if test "$no_cache" != 1; then
3297 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
3300 if test "$wxUSE_THREADS" = yes; then
3301 echo "$ac_t""yes" 1>&6
3303 echo "$ac_t""no" 1>&6
3307 echo $ac_n "checking "for --enable-serial"""... $ac_c" 1>&6
3308 echo "configure:3309: checking "for --enable-serial"" >&5
3310 # Check whether --enable-serial or --disable-serial was given.
3311 if test "${enable_serial+set}" = set; then
3312 enableval
="$enable_serial"
3314 if test "$enableval" = yes; then
3315 ac_cv_use_serial
='wxUSE_SERIAL=yes'
3317 ac_cv_use_serial
='wxUSE_SERIAL=no'
3322 LINE
=`grep "wxUSE_SERIAL" ${wx_arg_cache_file}`
3323 if test "x$LINE" != x
; then
3324 eval "DEFAULT_$LINE"
3329 ac_cv_use_serial
='wxUSE_SERIAL='$DEFAULT_wxUSE_SERIAL
3334 eval "$ac_cv_use_serial"
3335 if test "$no_cache" != 1; then
3336 echo $ac_cv_use_serial >> ${wx_arg_cache_file}.tmp
3339 if test "$wxUSE_SERIAL" = yes; then
3340 echo "$ac_t""yes" 1>&6
3342 echo "$ac_t""no" 1>&6
3348 echo $ac_n "checking "for --enable-docview"""... $ac_c" 1>&6
3349 echo "configure:3350: checking "for --enable-docview"" >&5
3351 # Check whether --enable-docview or --disable-docview was given.
3352 if test "${enable_docview+set}" = set; then
3353 enableval
="$enable_docview"
3355 if test "$enableval" = yes; then
3356 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
3358 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
3363 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
3364 if test "x$LINE" != x
; then
3365 eval "DEFAULT_$LINE"
3370 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
3375 eval "$ac_cv_use_docview"
3376 if test "$no_cache" != 1; then
3377 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
3380 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
3381 echo "$ac_t""yes" 1>&6
3383 echo "$ac_t""no" 1>&6
3387 echo $ac_n "checking "for --enable-help"""... $ac_c" 1>&6
3388 echo "configure:3389: checking "for --enable-help"" >&5
3390 # Check whether --enable-help or --disable-help was given.
3391 if test "${enable_help+set}" = set; then
3392 enableval
="$enable_help"
3394 if test "$enableval" = yes; then
3395 ac_cv_use_help
='wxUSE_HELP=yes'
3397 ac_cv_use_help
='wxUSE_HELP=no'
3402 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
3403 if test "x$LINE" != x
; then
3404 eval "DEFAULT_$LINE"
3409 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
3414 eval "$ac_cv_use_help"
3415 if test "$no_cache" != 1; then
3416 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
3419 if test "$wxUSE_HELP" = yes; then
3420 echo "$ac_t""yes" 1>&6
3422 echo "$ac_t""no" 1>&6
3426 echo $ac_n "checking "for --enable-constraints"""... $ac_c" 1>&6
3427 echo "configure:3428: checking "for --enable-constraints"" >&5
3429 # Check whether --enable-constraints or --disable-constraints was given.
3430 if test "${enable_constraints+set}" = set; then
3431 enableval
="$enable_constraints"
3433 if test "$enableval" = yes; then
3434 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
3436 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
3441 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
3442 if test "x$LINE" != x
; then
3443 eval "DEFAULT_$LINE"
3448 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
3453 eval "$ac_cv_use_constraints"
3454 if test "$no_cache" != 1; then
3455 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
3458 if test "$wxUSE_CONSTRAINTS" = yes; then
3459 echo "$ac_t""yes" 1>&6
3461 echo "$ac_t""no" 1>&6
3465 echo $ac_n "checking "for --enable-printarch"""... $ac_c" 1>&6
3466 echo "configure:3467: checking "for --enable-printarch"" >&5
3468 # Check whether --enable-printarch or --disable-printarch was given.
3469 if test "${enable_printarch+set}" = set; then
3470 enableval
="$enable_printarch"
3472 if test "$enableval" = yes; then
3473 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
3475 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
3480 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
3481 if test "x$LINE" != x
; then
3482 eval "DEFAULT_$LINE"
3487 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
3492 eval "$ac_cv_use_printarch"
3493 if test "$no_cache" != 1; then
3494 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
3497 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
3498 echo "$ac_t""yes" 1>&6
3500 echo "$ac_t""no" 1>&6
3504 echo $ac_n "checking "for --enable-mdi"""... $ac_c" 1>&6
3505 echo "configure:3506: checking "for --enable-mdi"" >&5
3507 # Check whether --enable-mdi or --disable-mdi was given.
3508 if test "${enable_mdi+set}" = set; then
3509 enableval
="$enable_mdi"
3511 if test "$enableval" = yes; then
3512 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=yes'
3514 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=no'
3519 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
3520 if test "x$LINE" != x
; then
3521 eval "DEFAULT_$LINE"
3526 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
3531 eval "$ac_cv_use_mdi"
3532 if test "$no_cache" != 1; then
3533 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
3536 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
3537 echo "$ac_t""yes" 1>&6
3539 echo "$ac_t""no" 1>&6
3544 echo $ac_n "checking "for --enable-postscript"""... $ac_c" 1>&6
3545 echo "configure:3546: checking "for --enable-postscript"" >&5
3547 # Check whether --enable-postscript or --disable-postscript was given.
3548 if test "${enable_postscript+set}" = set; then
3549 enableval
="$enable_postscript"
3551 if test "$enableval" = yes; then
3552 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
3554 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
3559 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
3560 if test "x$LINE" != x
; then
3561 eval "DEFAULT_$LINE"
3566 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
3571 eval "$ac_cv_use_postscript"
3572 if test "$no_cache" != 1; then
3573 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
3576 if test "$wxUSE_POSTSCRIPT" = yes; then
3577 echo "$ac_t""yes" 1>&6
3579 echo "$ac_t""no" 1>&6
3585 echo $ac_n "checking "for --enable-prologio"""... $ac_c" 1>&6
3586 echo "configure:3587: checking "for --enable-prologio"" >&5
3588 # Check whether --enable-prologio or --disable-prologio was given.
3589 if test "${enable_prologio+set}" = set; then
3590 enableval
="$enable_prologio"
3592 if test "$enableval" = yes; then
3593 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
3595 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
3600 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
3601 if test "x$LINE" != x
; then
3602 eval "DEFAULT_$LINE"
3607 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
3612 eval "$ac_cv_use_prologio"
3613 if test "$no_cache" != 1; then
3614 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
3617 if test "$wxUSE_PROLOGIO" = yes; then
3618 echo "$ac_t""yes" 1>&6
3620 echo "$ac_t""no" 1>&6
3624 echo $ac_n "checking "for --enable-resources"""... $ac_c" 1>&6
3625 echo "configure:3626: checking "for --enable-resources"" >&5
3627 # Check whether --enable-resources or --disable-resources was given.
3628 if test "${enable_resources+set}" = set; then
3629 enableval
="$enable_resources"
3631 if test "$enableval" = yes; then
3632 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
3634 ac_cv_use_resources
='wxUSE_RESOURCES=no'
3639 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
3640 if test "x$LINE" != x
; then
3641 eval "DEFAULT_$LINE"
3646 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
3651 eval "$ac_cv_use_resources"
3652 if test "$no_cache" != 1; then
3653 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
3656 if test "$wxUSE_RESOURCES" = yes; then
3657 echo "$ac_t""yes" 1>&6
3659 echo "$ac_t""no" 1>&6
3664 echo $ac_n "checking "for --enable-xresources"""... $ac_c" 1>&6
3665 echo "configure:3666: checking "for --enable-xresources"" >&5
3667 # Check whether --enable-xresources or --disable-xresources was given.
3668 if test "${enable_xresources+set}" = set; then
3669 enableval
="$enable_xresources"
3671 if test "$enableval" = yes; then
3672 ac_cv_use_xresources
='wxUSE_X_RESOURCES=yes'
3674 ac_cv_use_xresources
='wxUSE_X_RESOURCES=no'
3679 LINE
=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
3680 if test "x$LINE" != x
; then
3681 eval "DEFAULT_$LINE"
3686 ac_cv_use_xresources
='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
3691 eval "$ac_cv_use_xresources"
3692 if test "$no_cache" != 1; then
3693 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
3696 if test "$wxUSE_X_RESOURCES" = yes; then
3697 echo "$ac_t""yes" 1>&6
3699 echo "$ac_t""no" 1>&6
3705 echo $ac_n "checking "for --enable-clipboard"""... $ac_c" 1>&6
3706 echo "configure:3707: checking "for --enable-clipboard"" >&5
3708 # Check whether --enable-clipboard or --disable-clipboard was given.
3709 if test "${enable_clipboard+set}" = set; then
3710 enableval
="$enable_clipboard"
3712 if test "$enableval" = yes; then
3713 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
3715 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
3720 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
3721 if test "x$LINE" != x
; then
3722 eval "DEFAULT_$LINE"
3727 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
3732 eval "$ac_cv_use_clipboard"
3733 if test "$no_cache" != 1; then
3734 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
3737 if test "$wxUSE_CLIPBOARD" = yes; then
3738 echo "$ac_t""yes" 1>&6
3740 echo "$ac_t""no" 1>&6
3744 echo $ac_n "checking "for --enable-dnd"""... $ac_c" 1>&6
3745 echo "configure:3746: checking "for --enable-dnd"" >&5
3747 # Check whether --enable-dnd or --disable-dnd was given.
3748 if test "${enable_dnd+set}" = set; then
3749 enableval
="$enable_dnd"
3751 if test "$enableval" = yes; then
3752 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
3754 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
3759 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
3760 if test "x$LINE" != x
; then
3761 eval "DEFAULT_$LINE"
3766 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
3771 eval "$ac_cv_use_dnd"
3772 if test "$no_cache" != 1; then
3773 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
3776 if test "$wxUSE_DRAG_AND_DROP" = yes; then
3777 echo "$ac_t""yes" 1>&6
3779 echo "$ac_t""no" 1>&6
3784 echo $ac_n "checking "for --enable-wxtree"""... $ac_c" 1>&6
3785 echo "configure:3786: checking "for --enable-wxtree"" >&5
3787 # Check whether --enable-wxtree or --disable-wxtree was given.
3788 if test "${enable_wxtree+set}" = set; then
3789 enableval
="$enable_wxtree"
3791 if test "$enableval" = yes; then
3792 ac_cv_use_wxtree
='wxUSE_WXTREE=yes'
3794 ac_cv_use_wxtree
='wxUSE_WXTREE=no'
3799 LINE
=`grep "wxUSE_WXTREE" ${wx_arg_cache_file}`
3800 if test "x$LINE" != x
; then
3801 eval "DEFAULT_$LINE"
3806 ac_cv_use_wxtree
='wxUSE_WXTREE='$DEFAULT_wxUSE_WXTREE
3811 eval "$ac_cv_use_wxtree"
3812 if test "$no_cache" != 1; then
3813 echo $ac_cv_use_wxtree >> ${wx_arg_cache_file}.tmp
3816 if test "$wxUSE_WXTREE" = yes; then
3817 echo "$ac_t""yes" 1>&6
3819 echo "$ac_t""no" 1>&6
3825 echo $ac_n "checking "for --enable-controls"""... $ac_c" 1>&6
3826 echo "configure:3827: checking "for --enable-controls"" >&5
3828 # Check whether --enable-controls or --disable-controls was given.
3829 if test "${enable_controls+set}" = set; then
3830 enableval
="$enable_controls"
3832 if test "$enableval" = yes; then
3833 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
3835 ac_cv_use_controls
='wxUSE_CONTROLS=no'
3840 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
3841 if test "x$LINE" != x
; then
3842 eval "DEFAULT_$LINE"
3847 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
3852 eval "$ac_cv_use_controls"
3853 if test "$no_cache" != 1; then
3854 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
3857 if test "$wxUSE_CONTROLS" = yes; then
3858 echo "$ac_t""yes" 1>&6
3860 echo "$ac_t""no" 1>&6
3864 if test "$wxUSE_CONTROLS" = "yes"; then
3865 DEFAULT_wxUSE_ACCEL
=yes
3866 DEFAULT_wxUSE_CARET
=yes
3867 DEFAULT_wxUSE_COMBOBOX
=yes
3868 DEFAULT_wxUSE_BMPBUTTON
=yes
3869 DEFAULT_wxUSE_CHECKBOX
=yes
3870 DEFAULT_wxUSE_CHECKLISTBOX
=yes
3871 DEFAULT_wxUSE_CHOICE
=yes
3872 DEFAULT_wxUSE_GAUGE
=yes
3873 DEFAULT_wxUSE_GRID
=yes
3874 DEFAULT_wxUSE_NEW_GRID
=no
3875 DEFAULT_wxUSE_IMAGLIST
=yes
3876 DEFAULT_wxUSE_LISTBOX
=yes
3877 DEFAULT_wxUSE_LISTCTRL
=yes
3878 DEFAULT_wxUSE_NOTEBOOK
=yes
3879 DEFAULT_wxUSE_RADIOBOX
=yes
3880 DEFAULT_wxUSE_RADIOBTN
=yes
3881 DEFAULT_wxUSE_SASH
=yes
3882 DEFAULT_wxUSE_SCROLLBAR
=yes
3883 DEFAULT_wxUSE_SLIDER
=yes
3884 DEFAULT_wxUSE_SPINBTN
=yes
3885 DEFAULT_wxUSE_SPLITTER
=yes
3886 DEFAULT_wxUSE_STATBMP
=yes
3887 DEFAULT_wxUSE_STATBOX
=yes
3888 DEFAULT_wxUSE_STATLINE
=yes
3889 DEFAULT_wxUSE_STATUSBAR
=yes
3890 DEFAULT_wxUSE_TAB_DIALOG
=yes
3891 DEFAULT_wxUSE_TOOLBAR
=yes
3892 DEFAULT_wxUSE_TOOLTIPS
=yes
3893 DEFAULT_wxUSE_TREECTRL
=yes
3894 elif test "$wxUSE_CONTROLS" = "no"; then
3895 DEFAULT_wxUSE_ACCEL
=no
3896 DEFAULT_wxUSE_CARET
=no
3897 DEFAULT_wxUSE_COMBOBOX
=no
3898 DEFAULT_wxUSE_BMPBUTTON
=no
3899 DEFAULT_wxUSE_CHECKBOX
=no
3900 DEFAULT_wxUSE_CHECKLISTBOX
=no
3901 DEFAULT_wxUSE_CHOICE
=no
3902 DEFAULT_wxUSE_GAUGE
=no
3903 DEFAULT_wxUSE_GRID
=no
3904 DEFAULT_wxUSE_NEW_GRID
=no
3905 DEFAULT_wxUSE_IMAGLIST
=no
3906 DEFAULT_wxUSE_LISTBOX
=no
3907 DEFAULT_wxUSE_LISTCTRL
=no
3908 DEFAULT_wxUSE_NOTEBOOK
=no
3909 DEFAULT_wxUSE_RADIOBOX
=no
3910 DEFAULT_wxUSE_RADIOBTN
=no
3911 DEFAULT_wxUSE_SASH
=no
3912 DEFAULT_wxUSE_SCROLLBAR
=no
3913 DEFAULT_wxUSE_SLIDER
=no
3914 DEFAULT_wxUSE_SPINBTN
=no
3915 DEFAULT_wxUSE_SPLITTER
=no
3916 DEFAULT_wxUSE_STATBMP
=no
3917 DEFAULT_wxUSE_STATBOX
=no
3918 DEFAULT_wxUSE_STATLINE
=no
3919 DEFAULT_wxUSE_STATUSBAR
=no
3920 DEFAULT_wxUSE_TAB_DIALOG
=no
3921 DEFAULT_wxUSE_TOOLBAR
=no
3922 DEFAULT_wxUSE_TOOLTIPS
=no
3923 DEFAULT_wxUSE_TREECTRL
=no
3927 echo $ac_n "checking "for --enable-accel"""... $ac_c" 1>&6
3928 echo "configure:3929: checking "for --enable-accel"" >&5
3930 # Check whether --enable-accel or --disable-accel was given.
3931 if test "${enable_accel+set}" = set; then
3932 enableval
="$enable_accel"
3934 if test "$enableval" = yes; then
3935 ac_cv_use_accel
='wxUSE_ACCEL=yes'
3937 ac_cv_use_accel
='wxUSE_ACCEL=no'
3942 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
3943 if test "x$LINE" != x
; then
3944 eval "DEFAULT_$LINE"
3949 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
3954 eval "$ac_cv_use_accel"
3955 if test "$no_cache" != 1; then
3956 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
3959 if test "$wxUSE_ACCEL" = yes; then
3960 echo "$ac_t""yes" 1>&6
3962 echo "$ac_t""no" 1>&6
3966 echo $ac_n "checking "for --enable-caret"""... $ac_c" 1>&6
3967 echo "configure:3968: checking "for --enable-caret"" >&5
3969 # Check whether --enable-caret or --disable-caret was given.
3970 if test "${enable_caret+set}" = set; then
3971 enableval
="$enable_caret"
3973 if test "$enableval" = yes; then
3974 ac_cv_use_caret
='wxUSE_CARET=yes'
3976 ac_cv_use_caret
='wxUSE_CARET=no'
3981 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
3982 if test "x$LINE" != x
; then
3983 eval "DEFAULT_$LINE"
3988 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
3993 eval "$ac_cv_use_caret"
3994 if test "$no_cache" != 1; then
3995 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
3998 if test "$wxUSE_CARET" = yes; then
3999 echo "$ac_t""yes" 1>&6
4001 echo "$ac_t""no" 1>&6
4005 echo $ac_n "checking "for --enable-bmpbutton"""... $ac_c" 1>&6
4006 echo "configure:4007: checking "for --enable-bmpbutton"" >&5
4008 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
4009 if test "${enable_bmpbutton+set}" = set; then
4010 enableval
="$enable_bmpbutton"
4012 if test "$enableval" = yes; then
4013 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
4015 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
4020 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
4021 if test "x$LINE" != x
; then
4022 eval "DEFAULT_$LINE"
4027 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
4032 eval "$ac_cv_use_bmpbutton"
4033 if test "$no_cache" != 1; then
4034 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
4037 if test "$wxUSE_BMPBUTTON" = yes; then
4038 echo "$ac_t""yes" 1>&6
4040 echo "$ac_t""no" 1>&6
4044 echo $ac_n "checking "for --enable-checkbox"""... $ac_c" 1>&6
4045 echo "configure:4046: checking "for --enable-checkbox"" >&5
4047 # Check whether --enable-checkbox or --disable-checkbox was given.
4048 if test "${enable_checkbox+set}" = set; then
4049 enableval
="$enable_checkbox"
4051 if test "$enableval" = yes; then
4052 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
4054 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
4059 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
4060 if test "x$LINE" != x
; then
4061 eval "DEFAULT_$LINE"
4066 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
4071 eval "$ac_cv_use_checkbox"
4072 if test "$no_cache" != 1; then
4073 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
4076 if test "$wxUSE_CHECKBOX" = yes; then
4077 echo "$ac_t""yes" 1>&6
4079 echo "$ac_t""no" 1>&6
4083 echo $ac_n "checking "for --enable-checklst"""... $ac_c" 1>&6
4084 echo "configure:4085: checking "for --enable-checklst"" >&5
4086 # Check whether --enable-checklst or --disable-checklst was given.
4087 if test "${enable_checklst+set}" = set; then
4088 enableval
="$enable_checklst"
4090 if test "$enableval" = yes; then
4091 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
4093 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
4098 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
4099 if test "x$LINE" != x
; then
4100 eval "DEFAULT_$LINE"
4105 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
4110 eval "$ac_cv_use_checklst"
4111 if test "$no_cache" != 1; then
4112 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
4115 if test "$wxUSE_CHECKLST" = yes; then
4116 echo "$ac_t""yes" 1>&6
4118 echo "$ac_t""no" 1>&6
4122 echo $ac_n "checking "for --enable-choice"""... $ac_c" 1>&6
4123 echo "configure:4124: checking "for --enable-choice"" >&5
4125 # Check whether --enable-choice or --disable-choice was given.
4126 if test "${enable_choice+set}" = set; then
4127 enableval
="$enable_choice"
4129 if test "$enableval" = yes; then
4130 ac_cv_use_choice
='wxUSE_CHOICE=yes'
4132 ac_cv_use_choice
='wxUSE_CHOICE=no'
4137 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
4138 if test "x$LINE" != x
; then
4139 eval "DEFAULT_$LINE"
4144 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
4149 eval "$ac_cv_use_choice"
4150 if test "$no_cache" != 1; then
4151 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
4154 if test "$wxUSE_CHOICE" = yes; then
4155 echo "$ac_t""yes" 1>&6
4157 echo "$ac_t""no" 1>&6
4161 echo $ac_n "checking "for --enable-combobox"""... $ac_c" 1>&6
4162 echo "configure:4163: checking "for --enable-combobox"" >&5
4164 # Check whether --enable-combobox or --disable-combobox was given.
4165 if test "${enable_combobox+set}" = set; then
4166 enableval
="$enable_combobox"
4168 if test "$enableval" = yes; then
4169 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
4171 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
4176 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
4177 if test "x$LINE" != x
; then
4178 eval "DEFAULT_$LINE"
4183 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
4188 eval "$ac_cv_use_combobox"
4189 if test "$no_cache" != 1; then
4190 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
4193 if test "$wxUSE_COMBOBOX" = yes; then
4194 echo "$ac_t""yes" 1>&6
4196 echo "$ac_t""no" 1>&6
4200 echo $ac_n "checking "for --enable-gauge"""... $ac_c" 1>&6
4201 echo "configure:4202: checking "for --enable-gauge"" >&5
4203 # Check whether --enable-gauge or --disable-gauge was given.
4204 if test "${enable_gauge+set}" = set; then
4205 enableval
="$enable_gauge"
4207 if test "$enableval" = yes; then
4208 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
4210 ac_cv_use_gauge
='wxUSE_GAUGE=no'
4215 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
4216 if test "x$LINE" != x
; then
4217 eval "DEFAULT_$LINE"
4222 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
4227 eval "$ac_cv_use_gauge"
4228 if test "$no_cache" != 1; then
4229 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
4232 if test "$wxUSE_GAUGE" = yes; then
4233 echo "$ac_t""yes" 1>&6
4235 echo "$ac_t""no" 1>&6
4239 echo $ac_n "checking "for --enable-grid"""... $ac_c" 1>&6
4240 echo "configure:4241: checking "for --enable-grid"" >&5
4242 # Check whether --enable-grid or --disable-grid was given.
4243 if test "${enable_grid+set}" = set; then
4244 enableval
="$enable_grid"
4246 if test "$enableval" = yes; then
4247 ac_cv_use_grid
='wxUSE_GRID=yes'
4249 ac_cv_use_grid
='wxUSE_GRID=no'
4254 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
4255 if test "x$LINE" != x
; then
4256 eval "DEFAULT_$LINE"
4261 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
4266 eval "$ac_cv_use_grid"
4267 if test "$no_cache" != 1; then
4268 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
4271 if test "$wxUSE_GRID" = yes; then
4272 echo "$ac_t""yes" 1>&6
4274 echo "$ac_t""no" 1>&6
4278 echo $ac_n "checking "for --enable-newgrid"""... $ac_c" 1>&6
4279 echo "configure:4280: checking "for --enable-newgrid"" >&5
4281 # Check whether --enable-newgrid or --disable-newgrid was given.
4282 if test "${enable_newgrid+set}" = set; then
4283 enableval
="$enable_newgrid"
4285 if test "$enableval" = yes; then
4286 ac_cv_use_newgrid
='wxUSE_NEW_GRID=yes'
4288 ac_cv_use_newgrid
='wxUSE_NEW_GRID=no'
4293 LINE
=`grep "wxUSE_NEW_GRID" ${wx_arg_cache_file}`
4294 if test "x$LINE" != x
; then
4295 eval "DEFAULT_$LINE"
4300 ac_cv_use_newgrid
='wxUSE_NEW_GRID='$DEFAULT_wxUSE_NEW_GRID
4305 eval "$ac_cv_use_newgrid"
4306 if test "$no_cache" != 1; then
4307 echo $ac_cv_use_newgrid >> ${wx_arg_cache_file}.tmp
4310 if test "$wxUSE_NEW_GRID" = yes; then
4311 echo "$ac_t""yes" 1>&6
4313 echo "$ac_t""no" 1>&6
4317 echo $ac_n "checking "for --enable-imaglist"""... $ac_c" 1>&6
4318 echo "configure:4319: checking "for --enable-imaglist"" >&5
4320 # Check whether --enable-imaglist or --disable-imaglist was given.
4321 if test "${enable_imaglist+set}" = set; then
4322 enableval
="$enable_imaglist"
4324 if test "$enableval" = yes; then
4325 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
4327 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
4332 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
4333 if test "x$LINE" != x
; then
4334 eval "DEFAULT_$LINE"
4339 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
4344 eval "$ac_cv_use_imaglist"
4345 if test "$no_cache" != 1; then
4346 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
4349 if test "$wxUSE_IMAGLIST" = yes; then
4350 echo "$ac_t""yes" 1>&6
4352 echo "$ac_t""no" 1>&6
4356 echo $ac_n "checking "for --enable-listbox"""... $ac_c" 1>&6
4357 echo "configure:4358: checking "for --enable-listbox"" >&5
4359 # Check whether --enable-listbox or --disable-listbox was given.
4360 if test "${enable_listbox+set}" = set; then
4361 enableval
="$enable_listbox"
4363 if test "$enableval" = yes; then
4364 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
4366 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
4371 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
4372 if test "x$LINE" != x
; then
4373 eval "DEFAULT_$LINE"
4378 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
4383 eval "$ac_cv_use_listbox"
4384 if test "$no_cache" != 1; then
4385 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
4388 if test "$wxUSE_LISTBOX" = yes; then
4389 echo "$ac_t""yes" 1>&6
4391 echo "$ac_t""no" 1>&6
4395 echo $ac_n "checking "for --enable-listctrl"""... $ac_c" 1>&6
4396 echo "configure:4397: checking "for --enable-listctrl"" >&5
4398 # Check whether --enable-listctrl or --disable-listctrl was given.
4399 if test "${enable_listctrl+set}" = set; then
4400 enableval
="$enable_listctrl"
4402 if test "$enableval" = yes; then
4403 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
4405 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
4410 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
4411 if test "x$LINE" != x
; then
4412 eval "DEFAULT_$LINE"
4417 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
4422 eval "$ac_cv_use_listctrl"
4423 if test "$no_cache" != 1; then
4424 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
4427 if test "$wxUSE_LISTCTRL" = yes; then
4428 echo "$ac_t""yes" 1>&6
4430 echo "$ac_t""no" 1>&6
4434 echo $ac_n "checking "for --enable-notebook"""... $ac_c" 1>&6
4435 echo "configure:4436: checking "for --enable-notebook"" >&5
4437 # Check whether --enable-notebook or --disable-notebook was given.
4438 if test "${enable_notebook+set}" = set; then
4439 enableval
="$enable_notebook"
4441 if test "$enableval" = yes; then
4442 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
4444 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
4449 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
4450 if test "x$LINE" != x
; then
4451 eval "DEFAULT_$LINE"
4456 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
4461 eval "$ac_cv_use_notebook"
4462 if test "$no_cache" != 1; then
4463 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
4466 if test "$wxUSE_NOTEBOOK" = yes; then
4467 echo "$ac_t""yes" 1>&6
4469 echo "$ac_t""no" 1>&6
4473 echo $ac_n "checking "for --enable-radiobox"""... $ac_c" 1>&6
4474 echo "configure:4475: checking "for --enable-radiobox"" >&5
4476 # Check whether --enable-radiobox or --disable-radiobox was given.
4477 if test "${enable_radiobox+set}" = set; then
4478 enableval
="$enable_radiobox"
4480 if test "$enableval" = yes; then
4481 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
4483 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
4488 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
4489 if test "x$LINE" != x
; then
4490 eval "DEFAULT_$LINE"
4495 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
4500 eval "$ac_cv_use_radiobox"
4501 if test "$no_cache" != 1; then
4502 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
4505 if test "$wxUSE_RADIOBOX" = yes; then
4506 echo "$ac_t""yes" 1>&6
4508 echo "$ac_t""no" 1>&6
4512 echo $ac_n "checking "for --enable-radiobtn"""... $ac_c" 1>&6
4513 echo "configure:4514: checking "for --enable-radiobtn"" >&5
4515 # Check whether --enable-radiobtn or --disable-radiobtn was given.
4516 if test "${enable_radiobtn+set}" = set; then
4517 enableval
="$enable_radiobtn"
4519 if test "$enableval" = yes; then
4520 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
4522 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
4527 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
4528 if test "x$LINE" != x
; then
4529 eval "DEFAULT_$LINE"
4534 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
4539 eval "$ac_cv_use_radiobtn"
4540 if test "$no_cache" != 1; then
4541 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
4544 if test "$wxUSE_RADIOBTN" = yes; then
4545 echo "$ac_t""yes" 1>&6
4547 echo "$ac_t""no" 1>&6
4551 echo $ac_n "checking "for --enable-sash"""... $ac_c" 1>&6
4552 echo "configure:4553: checking "for --enable-sash"" >&5
4554 # Check whether --enable-sash or --disable-sash was given.
4555 if test "${enable_sash+set}" = set; then
4556 enableval
="$enable_sash"
4558 if test "$enableval" = yes; then
4559 ac_cv_use_sash
='wxUSE_SASH=yes'
4561 ac_cv_use_sash
='wxUSE_SASH=no'
4566 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
4567 if test "x$LINE" != x
; then
4568 eval "DEFAULT_$LINE"
4573 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
4578 eval "$ac_cv_use_sash"
4579 if test "$no_cache" != 1; then
4580 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
4583 if test "$wxUSE_SASH" = yes; then
4584 echo "$ac_t""yes" 1>&6
4586 echo "$ac_t""no" 1>&6
4590 echo $ac_n "checking "for --enable-scrollbar"""... $ac_c" 1>&6
4591 echo "configure:4592: checking "for --enable-scrollbar"" >&5
4593 # Check whether --enable-scrollbar or --disable-scrollbar was given.
4594 if test "${enable_scrollbar+set}" = set; then
4595 enableval
="$enable_scrollbar"
4597 if test "$enableval" = yes; then
4598 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
4600 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
4605 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
4606 if test "x$LINE" != x
; then
4607 eval "DEFAULT_$LINE"
4612 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
4617 eval "$ac_cv_use_scrollbar"
4618 if test "$no_cache" != 1; then
4619 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
4622 if test "$wxUSE_SCROLLBAR" = yes; then
4623 echo "$ac_t""yes" 1>&6
4625 echo "$ac_t""no" 1>&6
4629 echo $ac_n "checking "for --enable-slider"""... $ac_c" 1>&6
4630 echo "configure:4631: checking "for --enable-slider"" >&5
4632 # Check whether --enable-slider or --disable-slider was given.
4633 if test "${enable_slider+set}" = set; then
4634 enableval
="$enable_slider"
4636 if test "$enableval" = yes; then
4637 ac_cv_use_slider
='wxUSE_SLIDER=yes'
4639 ac_cv_use_slider
='wxUSE_SLIDER=no'
4644 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
4645 if test "x$LINE" != x
; then
4646 eval "DEFAULT_$LINE"
4651 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
4656 eval "$ac_cv_use_slider"
4657 if test "$no_cache" != 1; then
4658 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
4661 if test "$wxUSE_SLIDER" = yes; then
4662 echo "$ac_t""yes" 1>&6
4664 echo "$ac_t""no" 1>&6
4668 echo $ac_n "checking "for --enable-spinbtn"""... $ac_c" 1>&6
4669 echo "configure:4670: checking "for --enable-spinbtn"" >&5
4671 # Check whether --enable-spinbtn or --disable-spinbtn was given.
4672 if test "${enable_spinbtn+set}" = set; then
4673 enableval
="$enable_spinbtn"
4675 if test "$enableval" = yes; then
4676 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
4678 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
4683 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
4684 if test "x$LINE" != x
; then
4685 eval "DEFAULT_$LINE"
4690 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
4695 eval "$ac_cv_use_spinbtn"
4696 if test "$no_cache" != 1; then
4697 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
4700 if test "$wxUSE_SPINBTN" = yes; then
4701 echo "$ac_t""yes" 1>&6
4703 echo "$ac_t""no" 1>&6
4707 echo $ac_n "checking "for --enable-splitter"""... $ac_c" 1>&6
4708 echo "configure:4709: checking "for --enable-splitter"" >&5
4710 # Check whether --enable-splitter or --disable-splitter was given.
4711 if test "${enable_splitter+set}" = set; then
4712 enableval
="$enable_splitter"
4714 if test "$enableval" = yes; then
4715 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
4717 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
4722 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
4723 if test "x$LINE" != x
; then
4724 eval "DEFAULT_$LINE"
4729 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
4734 eval "$ac_cv_use_splitter"
4735 if test "$no_cache" != 1; then
4736 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
4739 if test "$wxUSE_SPLITTER" = yes; then
4740 echo "$ac_t""yes" 1>&6
4742 echo "$ac_t""no" 1>&6
4746 echo $ac_n "checking "for --enable-statbmp"""... $ac_c" 1>&6
4747 echo "configure:4748: checking "for --enable-statbmp"" >&5
4749 # Check whether --enable-statbmp or --disable-statbmp was given.
4750 if test "${enable_statbmp+set}" = set; then
4751 enableval
="$enable_statbmp"
4753 if test "$enableval" = yes; then
4754 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
4756 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
4761 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
4762 if test "x$LINE" != x
; then
4763 eval "DEFAULT_$LINE"
4768 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
4773 eval "$ac_cv_use_statbmp"
4774 if test "$no_cache" != 1; then
4775 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
4778 if test "$wxUSE_STATBMP" = yes; then
4779 echo "$ac_t""yes" 1>&6
4781 echo "$ac_t""no" 1>&6
4785 echo $ac_n "checking "for --enable-statbox"""... $ac_c" 1>&6
4786 echo "configure:4787: checking "for --enable-statbox"" >&5
4788 # Check whether --enable-statbox or --disable-statbox was given.
4789 if test "${enable_statbox+set}" = set; then
4790 enableval
="$enable_statbox"
4792 if test "$enableval" = yes; then
4793 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
4795 ac_cv_use_statbox
='wxUSE_STATBOX=no'
4800 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
4801 if test "x$LINE" != x
; then
4802 eval "DEFAULT_$LINE"
4807 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
4812 eval "$ac_cv_use_statbox"
4813 if test "$no_cache" != 1; then
4814 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
4817 if test "$wxUSE_STATBOX" = yes; then
4818 echo "$ac_t""yes" 1>&6
4820 echo "$ac_t""no" 1>&6
4824 echo $ac_n "checking "for --enable-statline"""... $ac_c" 1>&6
4825 echo "configure:4826: checking "for --enable-statline"" >&5
4827 # Check whether --enable-statline or --disable-statline was given.
4828 if test "${enable_statline+set}" = set; then
4829 enableval
="$enable_statline"
4831 if test "$enableval" = yes; then
4832 ac_cv_use_statline
='wxUSE_STATLINE=yes'
4834 ac_cv_use_statline
='wxUSE_STATLINE=no'
4839 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
4840 if test "x$LINE" != x
; then
4841 eval "DEFAULT_$LINE"
4846 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
4851 eval "$ac_cv_use_statline"
4852 if test "$no_cache" != 1; then
4853 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
4856 if test "$wxUSE_STATLINE" = yes; then
4857 echo "$ac_t""yes" 1>&6
4859 echo "$ac_t""no" 1>&6
4863 echo $ac_n "checking "for --enable-statusbar"""... $ac_c" 1>&6
4864 echo "configure:4865: checking "for --enable-statusbar"" >&5
4866 # Check whether --enable-statusbar or --disable-statusbar was given.
4867 if test "${enable_statusbar+set}" = set; then
4868 enableval
="$enable_statusbar"
4870 if test "$enableval" = yes; then
4871 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
4873 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
4878 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
4879 if test "x$LINE" != x
; then
4880 eval "DEFAULT_$LINE"
4885 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
4890 eval "$ac_cv_use_statusbar"
4891 if test "$no_cache" != 1; then
4892 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
4895 if test "$wxUSE_STATUSBAR" = yes; then
4896 echo "$ac_t""yes" 1>&6
4898 echo "$ac_t""no" 1>&6
4902 echo $ac_n "checking "for --enable-tabdialog"""... $ac_c" 1>&6
4903 echo "configure:4904: checking "for --enable-tabdialog"" >&5
4905 # Check whether --enable-tabdialog or --disable-tabdialog was given.
4906 if test "${enable_tabdialog+set}" = set; then
4907 enableval
="$enable_tabdialog"
4909 if test "$enableval" = yes; then
4910 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
4912 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
4917 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
4918 if test "x$LINE" != x
; then
4919 eval "DEFAULT_$LINE"
4924 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
4929 eval "$ac_cv_use_tabdialog"
4930 if test "$no_cache" != 1; then
4931 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
4934 if test "$wxUSE_TABDIALOG" = yes; then
4935 echo "$ac_t""yes" 1>&6
4937 echo "$ac_t""no" 1>&6
4941 echo $ac_n "checking "for --enable-toolbar"""... $ac_c" 1>&6
4942 echo "configure:4943: checking "for --enable-toolbar"" >&5
4944 # Check whether --enable-toolbar or --disable-toolbar was given.
4945 if test "${enable_toolbar+set}" = set; then
4946 enableval
="$enable_toolbar"
4948 if test "$enableval" = yes; then
4949 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
4951 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
4956 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
4957 if test "x$LINE" != x
; then
4958 eval "DEFAULT_$LINE"
4963 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
4968 eval "$ac_cv_use_toolbar"
4969 if test "$no_cache" != 1; then
4970 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
4973 if test "$wxUSE_TOOLBAR" = yes; then
4974 echo "$ac_t""yes" 1>&6
4976 echo "$ac_t""no" 1>&6
4980 echo $ac_n "checking "for --enable-treectrl"""... $ac_c" 1>&6
4981 echo "configure:4982: checking "for --enable-treectrl"" >&5
4983 # Check whether --enable-treectrl or --disable-treectrl was given.
4984 if test "${enable_treectrl+set}" = set; then
4985 enableval
="$enable_treectrl"
4987 if test "$enableval" = yes; then
4988 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
4990 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
4995 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
4996 if test "x$LINE" != x
; then
4997 eval "DEFAULT_$LINE"
5002 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
5007 eval "$ac_cv_use_treectrl"
5008 if test "$no_cache" != 1; then
5009 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
5012 if test "$wxUSE_TREECTRL" = yes; then
5013 echo "$ac_t""yes" 1>&6
5015 echo "$ac_t""no" 1>&6
5021 echo $ac_n "checking "for --enable-commondlg"""... $ac_c" 1>&6
5022 echo "configure:5023: checking "for --enable-commondlg"" >&5
5024 # Check whether --enable-commondlg or --disable-commondlg was given.
5025 if test "${enable_commondlg+set}" = set; then
5026 enableval
="$enable_commondlg"
5028 if test "$enableval" = yes; then
5029 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
5031 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
5036 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
5037 if test "x$LINE" != x
; then
5038 eval "DEFAULT_$LINE"
5043 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
5048 eval "$ac_cv_use_commondlg"
5049 if test "$no_cache" != 1; then
5050 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
5053 if test "$wxUSE_COMMONDLGS" = yes; then
5054 echo "$ac_t""yes" 1>&6
5056 echo "$ac_t""no" 1>&6
5060 echo $ac_n "checking "for --enable-dirdlg"""... $ac_c" 1>&6
5061 echo "configure:5062: checking "for --enable-dirdlg"" >&5
5063 # Check whether --enable-dirdlg or --disable-dirdlg was given.
5064 if test "${enable_dirdlg+set}" = set; then
5065 enableval
="$enable_dirdlg"
5067 if test "$enableval" = yes; then
5068 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
5070 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
5075 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
5076 if test "x$LINE" != x
; then
5077 eval "DEFAULT_$LINE"
5082 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
5087 eval "$ac_cv_use_dirdlg"
5088 if test "$no_cache" != 1; then
5089 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
5092 if test "$wxUSE_DIRDLG" = yes; then
5093 echo "$ac_t""yes" 1>&6
5095 echo "$ac_t""no" 1>&6
5099 echo $ac_n "checking "for --enable-textdlg"""... $ac_c" 1>&6
5100 echo "configure:5101: checking "for --enable-textdlg"" >&5
5102 # Check whether --enable-textdlg or --disable-textdlg was given.
5103 if test "${enable_textdlg+set}" = set; then
5104 enableval
="$enable_textdlg"
5106 if test "$enableval" = yes; then
5107 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
5109 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
5114 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
5115 if test "x$LINE" != x
; then
5116 eval "DEFAULT_$LINE"
5121 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
5126 eval "$ac_cv_use_textdlg"
5127 if test "$no_cache" != 1; then
5128 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
5131 if test "$wxUSE_TEXTDLG" = yes; then
5132 echo "$ac_t""yes" 1>&6
5134 echo "$ac_t""no" 1>&6
5138 echo $ac_n "checking "for --enable-tipdlg"""... $ac_c" 1>&6
5139 echo "configure:5140: checking "for --enable-tipdlg"" >&5
5141 # Check whether --enable-tipdlg or --disable-tipdlg was given.
5142 if test "${enable_tipdlg+set}" = set; then
5143 enableval
="$enable_tipdlg"
5145 if test "$enableval" = yes; then
5146 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
5148 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
5153 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
5154 if test "x$LINE" != x
; then
5155 eval "DEFAULT_$LINE"
5160 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
5165 eval "$ac_cv_use_tipdlg"
5166 if test "$no_cache" != 1; then
5167 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
5170 if test "$wxUSE_STARTUP_TIPS" = yes; then
5171 echo "$ac_t""yes" 1>&6
5173 echo "$ac_t""no" 1>&6
5177 echo $ac_n "checking "for --enable-progressdlg"""... $ac_c" 1>&6
5178 echo "configure:5179: checking "for --enable-progressdlg"" >&5
5180 # Check whether --enable-progressdlg or --disable-progressdlg was given.
5181 if test "${enable_progressdlg+set}" = set; then
5182 enableval
="$enable_progressdlg"
5184 if test "$enableval" = yes; then
5185 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
5187 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
5192 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
5193 if test "x$LINE" != x
; then
5194 eval "DEFAULT_$LINE"
5199 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
5204 eval "$ac_cv_use_progressdlg"
5205 if test "$no_cache" != 1; then
5206 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
5209 if test "$wxUSE_PROGRESSDLG" = yes; then
5210 echo "$ac_t""yes" 1>&6
5212 echo "$ac_t""no" 1>&6
5216 echo $ac_n "checking "for --enable-miniframe"""... $ac_c" 1>&6
5217 echo "configure:5218: checking "for --enable-miniframe"" >&5
5219 # Check whether --enable-miniframe or --disable-miniframe was given.
5220 if test "${enable_miniframe+set}" = set; then
5221 enableval
="$enable_miniframe"
5223 if test "$enableval" = yes; then
5224 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
5226 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
5231 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
5232 if test "x$LINE" != x
; then
5233 eval "DEFAULT_$LINE"
5238 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
5243 eval "$ac_cv_use_miniframe"
5244 if test "$no_cache" != 1; then
5245 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
5248 if test "$wxUSE_MINIFRAME" = yes; then
5249 echo "$ac_t""yes" 1>&6
5251 echo "$ac_t""no" 1>&6
5255 echo $ac_n "checking "for --enable-html"""... $ac_c" 1>&6
5256 echo "configure:5257: checking "for --enable-html"" >&5
5258 # Check whether --enable-html or --disable-html was given.
5259 if test "${enable_html+set}" = set; then
5260 enableval
="$enable_html"
5262 if test "$enableval" = yes; then
5263 ac_cv_use_html
='wxUSE_HTML=yes'
5265 ac_cv_use_html
='wxUSE_HTML=no'
5270 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
5271 if test "x$LINE" != x
; then
5272 eval "DEFAULT_$LINE"
5277 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
5282 eval "$ac_cv_use_html"
5283 if test "$no_cache" != 1; then
5284 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
5287 if test "$wxUSE_HTML" = yes; then
5288 echo "$ac_t""yes" 1>&6
5290 echo "$ac_t""no" 1>&6
5294 echo $ac_n "checking "for --enable-tooltips"""... $ac_c" 1>&6
5295 echo "configure:5296: checking "for --enable-tooltips"" >&5
5297 # Check whether --enable-tooltips or --disable-tooltips was given.
5298 if test "${enable_tooltips+set}" = set; then
5299 enableval
="$enable_tooltips"
5301 if test "$enableval" = yes; then
5302 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
5304 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
5309 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
5310 if test "x$LINE" != x
; then
5311 eval "DEFAULT_$LINE"
5316 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
5321 eval "$ac_cv_use_tooltips"
5322 if test "$no_cache" != 1; then
5323 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
5326 if test "$wxUSE_TOOLTIPS" = yes; then
5327 echo "$ac_t""yes" 1>&6
5329 echo "$ac_t""no" 1>&6
5333 echo $ac_n "checking "for --enable-splines"""... $ac_c" 1>&6
5334 echo "configure:5335: checking "for --enable-splines"" >&5
5336 # Check whether --enable-splines or --disable-splines was given.
5337 if test "${enable_splines+set}" = set; then
5338 enableval
="$enable_splines"
5340 if test "$enableval" = yes; then
5341 ac_cv_use_splines
='wxUSE_SPLINES=yes'
5343 ac_cv_use_splines
='wxUSE_SPLINES=no'
5348 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
5349 if test "x$LINE" != x
; then
5350 eval "DEFAULT_$LINE"
5355 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
5360 eval "$ac_cv_use_splines"
5361 if test "$no_cache" != 1; then
5362 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
5365 if test "$wxUSE_SPLINES" = yes; then
5366 echo "$ac_t""yes" 1>&6
5368 echo "$ac_t""no" 1>&6
5372 echo $ac_n "checking "for --enable-validators"""... $ac_c" 1>&6
5373 echo "configure:5374: checking "for --enable-validators"" >&5
5375 # Check whether --enable-validators or --disable-validators was given.
5376 if test "${enable_validators+set}" = set; then
5377 enableval
="$enable_validators"
5379 if test "$enableval" = yes; then
5380 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
5382 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
5387 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
5388 if test "x$LINE" != x
; then
5389 eval "DEFAULT_$LINE"
5394 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
5399 eval "$ac_cv_use_validators"
5400 if test "$no_cache" != 1; then
5401 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
5404 if test "$wxUSE_VALIDATORS" = yes; then
5405 echo "$ac_t""yes" 1>&6
5407 echo "$ac_t""no" 1>&6
5411 echo $ac_n "checking "for --enable-busyinfo"""... $ac_c" 1>&6
5412 echo "configure:5413: checking "for --enable-busyinfo"" >&5
5414 # Check whether --enable-busyinfo or --disable-busyinfo was given.
5415 if test "${enable_busyinfo+set}" = set; then
5416 enableval
="$enable_busyinfo"
5418 if test "$enableval" = yes; then
5419 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
5421 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
5426 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
5427 if test "x$LINE" != x
; then
5428 eval "DEFAULT_$LINE"
5433 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
5438 eval "$ac_cv_use_busyinfo"
5439 if test "$no_cache" != 1; then
5440 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
5443 if test "$wxUSE_BUSYINFO" = yes; then
5444 echo "$ac_t""yes" 1>&6
5446 echo "$ac_t""no" 1>&6
5452 echo $ac_n "checking "for --enable-gif"""... $ac_c" 1>&6
5453 echo "configure:5454: checking "for --enable-gif"" >&5
5455 # Check whether --enable-gif or --disable-gif was given.
5456 if test "${enable_gif+set}" = set; then
5457 enableval
="$enable_gif"
5459 if test "$enableval" = yes; then
5460 ac_cv_use_gif
='wxUSE_GIF=yes'
5462 ac_cv_use_gif
='wxUSE_GIF=no'
5467 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
5468 if test "x$LINE" != x
; then
5469 eval "DEFAULT_$LINE"
5474 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
5479 eval "$ac_cv_use_gif"
5480 if test "$no_cache" != 1; then
5481 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
5484 if test "$wxUSE_GIF" = yes; then
5485 echo "$ac_t""yes" 1>&6
5487 echo "$ac_t""no" 1>&6
5491 echo $ac_n "checking "for --enable-pcx"""... $ac_c" 1>&6
5492 echo "configure:5493: checking "for --enable-pcx"" >&5
5494 # Check whether --enable-pcx or --disable-pcx was given.
5495 if test "${enable_pcx+set}" = set; then
5496 enableval
="$enable_pcx"
5498 if test "$enableval" = yes; then
5499 ac_cv_use_pcx
='wxUSE_PCX=yes'
5501 ac_cv_use_pcx
='wxUSE_PCX=no'
5506 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
5507 if test "x$LINE" != x
; then
5508 eval "DEFAULT_$LINE"
5513 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
5518 eval "$ac_cv_use_pcx"
5519 if test "$no_cache" != 1; then
5520 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
5523 if test "$wxUSE_PCX" = yes; then
5524 echo "$ac_t""yes" 1>&6
5526 echo "$ac_t""no" 1>&6
5530 echo $ac_n "checking "for --enable-pnm"""... $ac_c" 1>&6
5531 echo "configure:5532: checking "for --enable-pnm"" >&5
5533 # Check whether --enable-pnm or --disable-pnm was given.
5534 if test "${enable_pnm+set}" = set; then
5535 enableval
="$enable_pnm"
5537 if test "$enableval" = yes; then
5538 ac_cv_use_pnm
='wxUSE_PNM=yes'
5540 ac_cv_use_pnm
='wxUSE_PNM=no'
5545 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
5546 if test "x$LINE" != x
; then
5547 eval "DEFAULT_$LINE"
5552 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
5557 eval "$ac_cv_use_pnm"
5558 if test "$no_cache" != 1; then
5559 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
5562 if test "$wxUSE_PNM" = yes; then
5563 echo "$ac_t""yes" 1>&6
5565 echo "$ac_t""no" 1>&6
5570 echo "saving argument cache $wx_arg_cache_file"
5571 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
5575 echo $ac_n "checking for toolkit""... $ac_c" 1>&6
5576 echo "configure:5577: checking for toolkit" >&5
5578 if test "$wxUSE_GUI" = "yes"; then
5580 if test "$TOOLKIT_GIVEN" = 1; then
5581 for toolkit
in `echo $ALL_TOOLKITS`; do
5583 eval "value=\$${var}"
5584 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
5587 for toolkit
in `echo $ALL_TOOLKITS`; do
5588 if test "$has_toolkit_in_cache" != 1; then
5589 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
5591 var
=DEFAULT_wxUSE_
$toolkit
5593 eval "wxUSE_$toolkit=\$${var}"
5597 NUM_TOOLKITS
=`expr ${wxUSE_GTK:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_WINE:-0} + ${wxUSE_MINGW:-0} + ${wxUSE_CYGWIN:-0}`
5599 case "$NUM_TOOLKITS" in
5603 { echo "configure: error: Please specify a toolkit - cannot determine the default for ${host}" 1>&2; exit 1; }
5606 { echo "configure: error: Please specify at most one toolkit (may be some are cached?)" 1>&2; exit 1; }
5609 for toolkit
in `echo $ALL_TOOLKITS`; do
5611 eval "value=\$${var}"
5612 if test "x$value" != x
; then
5613 cache_var
=CACHE_
$toolkit
5614 eval "cache=\$${cache_var}"
5615 if test "$cache" = 1; then
5616 echo "$var=$value" >> ${wx_arg_cache_file}
5618 if test "$value" = 1; then
5619 echo "$ac_t""`echo $toolkit | tr A-Z a-z`" 1>&6
5625 echo "$ac_t""base only" 1>&6
5629 cat > confcache
<<\EOF
5630 # This file is a shell script that caches the results of configure
5631 # tests run on this system so they can be shared between configure
5632 # scripts and configure runs. It is not useful on other systems.
5633 # If it contains results you don't want to keep, you may remove or edit it.
5635 # By default, configure uses ./config.cache as the cache file,
5636 # creating it if it does not exist already. You can give configure
5637 # the --cache-file=FILE option to use a different cache file; that is
5638 # what configure does when it calls configure scripts in
5639 # subdirectories, so they share the cache.
5640 # Giving --cache-file=/dev/null disables caching, for debugging configure.
5641 # config.status only pays attention to the cache file if you give it the
5642 # --recheck option to rerun configure.
5645 # The following way of writing the cache mishandles newlines in values,
5646 # but we know of no workaround that is simple, portable, and efficient.
5647 # So, don't put newlines in cache variables' values.
5648 # Ultrix sh set writes to stderr and can't be redirected directly,
5649 # and sets the high bit in the cache file unless we assign to the vars.
5651 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5653 # `set' does not quote correctly, so add quotes (double-quote substitution
5654 # turns \\\\ into \\, and sed turns \\ into \).
5656 -e "s/'/'\\\\''/g" \
5657 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
5660 # `set' quotes correctly as required by POSIX, so do not add quotes.
5661 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
5664 if cmp -s $cache_file confcache
; then
5667 if test -w $cache_file; then
5668 echo "updating cache $cache_file"
5669 cat confcache
> $cache_file
5671 echo "not updating unwritable cache $cache_file"
5677 if eval "test $host != $build"; then
5678 if eval "test $host_alias != NONE"; then
5682 RANLIB
=$host_alias-ranlib
5683 DLLTOOL
=$host_alias-dlltool
5686 STRIP
=$host_alias-strip
5690 # Extract the first word of "gcc", so it can be a program name with args.
5691 set dummy gcc
; ac_word
=$2
5692 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5693 echo "configure:5694: checking for $ac_word" >&5
5694 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
5695 echo $ac_n "(cached) $ac_c" 1>&6
5697 if test -n "$CC"; then
5698 ac_cv_prog_CC
="$CC" # Let the user override the test.
5700 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
5702 for ac_dir
in $ac_dummy; do
5703 test -z "$ac_dir" && ac_dir
=.
5704 if test -f $ac_dir/$ac_word; then
5713 if test -n "$CC"; then
5714 echo "$ac_t""$CC" 1>&6
5716 echo "$ac_t""no" 1>&6
5719 if test -z "$CC"; then
5720 # Extract the first word of "cc", so it can be a program name with args.
5721 set dummy cc
; ac_word
=$2
5722 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5723 echo "configure:5724: checking for $ac_word" >&5
5724 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
5725 echo $ac_n "(cached) $ac_c" 1>&6
5727 if test -n "$CC"; then
5728 ac_cv_prog_CC
="$CC" # Let the user override the test.
5730 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
5733 for ac_dir
in $ac_dummy; do
5734 test -z "$ac_dir" && ac_dir
=.
5735 if test -f $ac_dir/$ac_word; then
5736 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
5737 ac_prog_rejected
=yes
5745 if test $ac_prog_rejected = yes; then
5746 # We found a bogon in the path, so make sure we never use it.
5747 set dummy
$ac_cv_prog_CC
5749 if test $# -gt 0; then
5750 # We chose a different compiler from the bogus one.
5751 # However, it has the same basename, so the bogon will be chosen
5752 # first if we set CC to just the basename; use the full file name.
5754 set dummy
"$ac_dir/$ac_word" "$@"
5762 if test -n "$CC"; then
5763 echo "$ac_t""$CC" 1>&6
5765 echo "$ac_t""no" 1>&6
5768 if test -z "$CC"; then
5769 case "`uname -s`" in
5771 # Extract the first word of "cl", so it can be a program name with args.
5772 set dummy cl
; ac_word
=$2
5773 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5774 echo "configure:5775: checking for $ac_word" >&5
5775 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
5776 echo $ac_n "(cached) $ac_c" 1>&6
5778 if test -n "$CC"; then
5779 ac_cv_prog_CC
="$CC" # Let the user override the test.
5781 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
5783 for ac_dir
in $ac_dummy; do
5784 test -z "$ac_dir" && ac_dir
=.
5785 if test -f $ac_dir/$ac_word; then
5794 if test -n "$CC"; then
5795 echo "$ac_t""$CC" 1>&6
5797 echo "$ac_t""no" 1>&6
5802 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
5805 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
5806 echo "configure:5807: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
5809 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5810 ac_cpp
='$CPP $CPPFLAGS'
5811 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5812 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5813 cross_compiling
=$ac_cv_prog_cc_cross
5815 cat > conftest.
$ac_ext << EOF
5817 #line 5818 "configure"
5818 #include "confdefs.h"
5822 if { (eval echo configure
:5823: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
5823 ac_cv_prog_cc_works
=yes
5824 # If we can't run a trivial program, we are probably using a cross compiler.
5825 if (.
/conftest
; exit) 2>/dev
/null
; then
5826 ac_cv_prog_cc_cross
=no
5828 ac_cv_prog_cc_cross
=yes
5831 echo "configure: failed program was:" >&5
5832 cat conftest.
$ac_ext >&5
5833 ac_cv_prog_cc_works
=no
5837 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5838 ac_cpp
='$CPP $CPPFLAGS'
5839 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5840 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5841 cross_compiling
=$ac_cv_prog_cc_cross
5843 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
5844 if test $ac_cv_prog_cc_works = no
; then
5845 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
5847 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
5848 echo "configure:5849: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
5849 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
5850 cross_compiling
=$ac_cv_prog_cc_cross
5852 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
5853 echo "configure:5854: checking whether we are using GNU C" >&5
5854 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
5855 echo $ac_n "(cached) $ac_c" 1>&6
5857 cat > conftest.c
<<EOF
5862 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:5863: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
5869 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
5871 if test $ac_cv_prog_gcc = yes; then
5877 ac_test_CFLAGS
="${CFLAGS+set}"
5878 ac_save_CFLAGS
="$CFLAGS"
5880 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
5881 echo "configure:5882: checking whether ${CC-cc} accepts -g" >&5
5882 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
5883 echo $ac_n "(cached) $ac_c" 1>&6
5885 echo 'void f(){}' > conftest.c
5886 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
5895 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
5896 if test "$ac_test_CFLAGS" = set; then
5897 CFLAGS
="$ac_save_CFLAGS"
5898 elif test $ac_cv_prog_cc_g = yes; then
5899 if test "$GCC" = yes; then
5905 if test "$GCC" = yes; then
5913 CFLAGS
=`echo "$CFLAGS" | sed 's/-g//g'`
5915 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
5916 echo "configure:5917: checking how to run the C preprocessor" >&5
5917 # On Suns, sometimes $CPP names a directory.
5918 if test -n "$CPP" && test -d "$CPP"; then
5921 if test -z "$CPP"; then
5922 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
5923 echo $ac_n "(cached) $ac_c" 1>&6
5925 # This must be in double quotes, not single quotes, because CPP may get
5926 # substituted into the Makefile and "${CC-cc}" will confuse make.
5928 # On the NeXT, cc -E runs the code through the compiler's parser,
5929 # not just through cpp.
5930 cat > conftest.
$ac_ext <<EOF
5931 #line 5932 "configure"
5932 #include "confdefs.h"
5936 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5937 { (eval echo configure
:5938: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5938 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5939 if test -z "$ac_err"; then
5943 echo "configure: failed program was:" >&5
5944 cat conftest.
$ac_ext >&5
5946 CPP
="${CC-cc} -E -traditional-cpp"
5947 cat > conftest.
$ac_ext <<EOF
5948 #line 5949 "configure"
5949 #include "confdefs.h"
5953 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5954 { (eval echo configure
:5955: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5955 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5956 if test -z "$ac_err"; then
5960 echo "configure: failed program was:" >&5
5961 cat conftest.
$ac_ext >&5
5963 CPP
="${CC-cc} -nologo -E"
5964 cat > conftest.
$ac_ext <<EOF
5965 #line 5966 "configure"
5966 #include "confdefs.h"
5970 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5971 { (eval echo configure
:5972: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5972 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5973 if test -z "$ac_err"; then
5977 echo "configure: failed program was:" >&5
5978 cat conftest.
$ac_ext >&5
5987 ac_cv_prog_CPP
="$CPP"
5989 CPP
="$ac_cv_prog_CPP"
5991 ac_cv_prog_CPP
="$CPP"
5993 echo "$ac_t""$CPP" 1>&6
5996 if test $ac_cv_prog_gcc = yes; then
5997 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
5998 echo "configure:5999: checking whether ${CC-cc} needs -traditional" >&5
5999 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
6000 echo $ac_n "(cached) $ac_c" 1>&6
6002 ac_pattern
="Autoconf.*'x'"
6003 cat > conftest.
$ac_ext <<EOF
6004 #line 6005 "configure"
6005 #include "confdefs.h"
6009 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6010 egrep "$ac_pattern" >/dev
/null
2>&1; then
6012 ac_cv_prog_gcc_traditional
=yes
6015 ac_cv_prog_gcc_traditional
=no
6020 if test $ac_cv_prog_gcc_traditional = no
; then
6021 cat > conftest.
$ac_ext <<EOF
6022 #line 6023 "configure"
6023 #include "confdefs.h"
6027 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6028 egrep "$ac_pattern" >/dev
/null
2>&1; then
6030 ac_cv_prog_gcc_traditional
=yes
6037 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
6038 if test $ac_cv_prog_gcc_traditional = yes; then
6039 CC
="$CC -traditional"
6046 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6047 ac_cpp
='$CXXCPP $CPPFLAGS'
6048 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6049 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6050 cross_compiling
=$ac_cv_prog_cxx_cross
6053 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++ cl
6055 # Extract the first word of "$ac_prog", so it can be a program name with args.
6056 set dummy
$ac_prog; ac_word
=$2
6057 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6058 echo "configure:6059: checking for $ac_word" >&5
6059 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
6060 echo $ac_n "(cached) $ac_c" 1>&6
6062 if test -n "$CXX"; then
6063 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
6065 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6067 for ac_dir
in $ac_dummy; do
6068 test -z "$ac_dir" && ac_dir
=.
6069 if test -f $ac_dir/$ac_word; then
6070 ac_cv_prog_CXX
="$ac_prog"
6077 CXX
="$ac_cv_prog_CXX"
6078 if test -n "$CXX"; then
6079 echo "$ac_t""$CXX" 1>&6
6081 echo "$ac_t""no" 1>&6
6084 test -n "$CXX" && break
6086 test -n "$CXX" || CXX
="gcc"
6089 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
6090 echo "configure:6091: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
6093 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6094 ac_cpp
='$CXXCPP $CPPFLAGS'
6095 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6096 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6097 cross_compiling
=$ac_cv_prog_cxx_cross
6099 cat > conftest.
$ac_ext << EOF
6101 #line 6102 "configure"
6102 #include "confdefs.h"
6104 int main(){return(0);}
6106 if { (eval echo configure
:6107: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6107 ac_cv_prog_cxx_works
=yes
6108 # If we can't run a trivial program, we are probably using a cross compiler.
6109 if (.
/conftest
; exit) 2>/dev
/null
; then
6110 ac_cv_prog_cxx_cross
=no
6112 ac_cv_prog_cxx_cross
=yes
6115 echo "configure: failed program was:" >&5
6116 cat conftest.
$ac_ext >&5
6117 ac_cv_prog_cxx_works
=no
6121 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6122 ac_cpp
='$CXXCPP $CPPFLAGS'
6123 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6124 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6125 cross_compiling
=$ac_cv_prog_cxx_cross
6127 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
6128 if test $ac_cv_prog_cxx_works = no
; then
6129 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
6131 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
6132 echo "configure:6133: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
6133 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
6134 cross_compiling
=$ac_cv_prog_cxx_cross
6136 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
6137 echo "configure:6138: checking whether we are using GNU C++" >&5
6138 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
6139 echo $ac_n "(cached) $ac_c" 1>&6
6141 cat > conftest.C
<<EOF
6146 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:6147: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
6153 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
6155 if test $ac_cv_prog_gxx = yes; then
6161 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
6162 ac_save_CXXFLAGS
="$CXXFLAGS"
6164 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
6165 echo "configure:6166: checking whether ${CXX-g++} accepts -g" >&5
6166 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
6167 echo $ac_n "(cached) $ac_c" 1>&6
6169 echo 'void f(){}' > conftest.cc
6170 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
6171 ac_cv_prog_cxx_g
=yes
6179 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
6180 if test "$ac_test_CXXFLAGS" = set; then
6181 CXXFLAGS
="$ac_save_CXXFLAGS"
6182 elif test $ac_cv_prog_cxx_g = yes; then
6183 if test "$GXX" = yes; then
6189 if test "$GXX" = yes; then
6197 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
6198 echo "configure:6199: checking how to run the C++ preprocessor" >&5
6199 if test -z "$CXXCPP"; then
6200 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
6201 echo $ac_n "(cached) $ac_c" 1>&6
6204 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6205 ac_cpp
='$CXXCPP $CPPFLAGS'
6206 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6207 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6208 cross_compiling
=$ac_cv_prog_cxx_cross
6209 CXXCPP
="${CXX-g++} -E"
6210 cat > conftest.
$ac_ext <<EOF
6211 #line 6212 "configure"
6212 #include "confdefs.h"
6215 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6216 { (eval echo configure
:6217: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6217 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6218 if test -z "$ac_err"; then
6222 echo "configure: failed program was:" >&5
6223 cat conftest.
$ac_ext >&5
6228 ac_cv_prog_CXXCPP
="$CXXCPP"
6230 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6231 ac_cpp
='$CXXCPP $CPPFLAGS'
6232 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6233 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6234 cross_compiling
=$ac_cv_prog_cxx_cross
6237 CXXCPP
="$ac_cv_prog_CXXCPP"
6238 echo "$ac_t""$CXXCPP" 1>&6
6241 CXXFLAGS
=`echo "$CXXFLAGS" | sed 's/-g//g'`
6244 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6245 ac_cpp
='$CPP $CPPFLAGS'
6246 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6247 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6248 cross_compiling
=$ac_cv_prog_cc_cross
6251 # Extract the first word of "ranlib", so it can be a program name with args.
6252 set dummy ranlib
; ac_word
=$2
6253 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6254 echo "configure:6255: checking for $ac_word" >&5
6255 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
6256 echo $ac_n "(cached) $ac_c" 1>&6
6258 if test -n "$RANLIB"; then
6259 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6261 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6263 for ac_dir
in $ac_dummy; do
6264 test -z "$ac_dir" && ac_dir
=.
6265 if test -f $ac_dir/$ac_word; then
6266 ac_cv_prog_RANLIB
="ranlib"
6271 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
6274 RANLIB
="$ac_cv_prog_RANLIB"
6275 if test -n "$RANLIB"; then
6276 echo "$ac_t""$RANLIB" 1>&6
6278 echo "$ac_t""no" 1>&6
6282 # Extract the first word of "ar", so it can be a program name with args.
6283 set dummy
ar; ac_word
=$2
6284 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6285 echo "configure:6286: checking for $ac_word" >&5
6286 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
6287 echo $ac_n "(cached) $ac_c" 1>&6
6289 if test -n "$AR"; then
6290 ac_cv_prog_AR
="$AR" # Let the user override the test.
6292 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6294 for ac_dir
in $ac_dummy; do
6295 test -z "$ac_dir" && ac_dir
=.
6296 if test -f $ac_dir/$ac_word; then
6302 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
6306 if test -n "$AR"; then
6307 echo "$ac_t""$AR" 1>&6
6309 echo "$ac_t""no" 1>&6
6313 # Find a good install program. We prefer a C program (faster),
6314 # so one script is as good as another. But avoid the broken or
6315 # incompatible versions:
6316 # SysV /etc/install, /usr/sbin/install
6317 # SunOS /usr/etc/install
6318 # IRIX /sbin/install
6320 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6321 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6322 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6323 # ./install, which can be erroneously created by make from ./install.sh.
6324 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
6325 echo "configure:6326: checking for a BSD compatible install" >&5
6326 if test -z "$INSTALL"; then
6327 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
6328 echo $ac_n "(cached) $ac_c" 1>&6
6330 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
6331 for ac_dir
in $PATH; do
6332 # Account for people who put trailing slashes in PATH elements.
6334 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
6336 # OSF1 and SCO ODT 3.0 have their own names for install.
6337 # Don't use installbsd from OSF since it installs stuff as root
6339 for ac_prog
in ginstall scoinst
install; do
6340 if test -f $ac_dir/$ac_prog; then
6341 if test $ac_prog = install &&
6342 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
6343 # AIX install. It has an incompatible calling convention.
6346 ac_cv_path_install
="$ac_dir/$ac_prog -c"
6357 if test "${ac_cv_path_install+set}" = set; then
6358 INSTALL
="$ac_cv_path_install"
6360 # As a last resort, use the slow shell script. We don't cache a
6361 # path for INSTALL within a source directory, because that will
6362 # break other packages using the cache if that directory is
6363 # removed, or if the path is relative.
6364 INSTALL
="$ac_install_sh"
6367 echo "$ac_t""$INSTALL" 1>&6
6369 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6370 # It thinks the first close brace ends the variable substitution.
6371 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
6373 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
6375 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
6378 # Extract the first word of "strip", so it can be a program name with args.
6379 set dummy strip
; ac_word
=$2
6380 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6381 echo "configure:6382: checking for $ac_word" >&5
6382 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
6383 echo $ac_n "(cached) $ac_c" 1>&6
6385 if test -n "$STRIP"; then
6386 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6388 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6390 for ac_dir
in $ac_dummy; do
6391 test -z "$ac_dir" && ac_dir
=.
6392 if test -f $ac_dir/$ac_word; then
6393 ac_cv_prog_STRIP
="strip"
6398 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
6401 STRIP
="$ac_cv_prog_STRIP"
6402 if test -n "$STRIP"; then
6403 echo "$ac_t""$STRIP" 1>&6
6405 echo "$ac_t""no" 1>&6
6409 echo $ac_n "checking "make for VPATH support
"""... $ac_c" 1>&6
6410 echo "configure:6411: checking "make for VPATH support
"" >&5
6411 cat - << EOF > confMake
6417 if test ! -d sub
; then
6420 echo dummy
> sub
/file
6421 ${MAKE-make} -f confMake VPATH
=sub
2> config.log
> /dev
/null
6423 rm -f sub
/file check final_file confMake
6425 if test "$RESULT" = 0; then
6426 echo "$ac_t""yes" 1>&6
6428 echo "$ac_t""no" 1>&6
6429 { echo "configure: error: You need a make-utility that is able to use the variable
6431 If your version of make does not support VPATH correctly" 1>&2; exit 1; }
6434 for ac_prog
in 'bison -y' byacc
6436 # Extract the first word of "$ac_prog", so it can be a program name with args.
6437 set dummy
$ac_prog; ac_word
=$2
6438 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6439 echo "configure:6440: checking for $ac_word" >&5
6440 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
6441 echo $ac_n "(cached) $ac_c" 1>&6
6443 if test -n "$YACC"; then
6444 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
6446 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6448 for ac_dir
in $ac_dummy; do
6449 test -z "$ac_dir" && ac_dir
=.
6450 if test -f $ac_dir/$ac_word; then
6451 ac_cv_prog_YACC
="$ac_prog"
6458 YACC
="$ac_cv_prog_YACC"
6459 if test -n "$YACC"; then
6460 echo "$ac_t""$YACC" 1>&6
6462 echo "$ac_t""no" 1>&6
6465 test -n "$YACC" && break
6467 test -n "$YACC" || YACC
="yacc"
6470 # Extract the first word of "flex", so it can be a program name with args.
6471 set dummy flex
; ac_word
=$2
6472 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6473 echo "configure:6474: checking for $ac_word" >&5
6474 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
6475 echo $ac_n "(cached) $ac_c" 1>&6
6477 if test -n "$LEX"; then
6478 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
6480 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6482 for ac_dir
in $ac_dummy; do
6483 test -z "$ac_dir" && ac_dir
=.
6484 if test -f $ac_dir/$ac_word; then
6485 ac_cv_prog_LEX
="flex"
6490 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
6493 LEX
="$ac_cv_prog_LEX"
6494 if test -n "$LEX"; then
6495 echo "$ac_t""$LEX" 1>&6
6497 echo "$ac_t""no" 1>&6
6500 if test -z "$LEXLIB"
6506 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
6507 echo "configure:6508: checking for yywrap in -l$ac_lib" >&5
6508 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
6509 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6510 echo $ac_n "(cached) $ac_c" 1>&6
6512 ac_save_LIBS
="$LIBS"
6513 LIBS
="-l$ac_lib $LIBS"
6514 cat > conftest.
$ac_ext <<EOF
6515 #line 6516 "configure"
6516 #include "confdefs.h"
6517 /* Override any gcc2 internal prototype to avoid an error. */
6518 /* We use char because int might match the return type of a gcc2
6519 builtin and then its argument prototype would still apply. */
6526 if { (eval echo configure
:6527: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6528 eval "ac_cv_lib_$ac_lib_var=yes"
6530 echo "configure: failed program was:" >&5
6531 cat conftest.
$ac_ext >&5
6533 eval "ac_cv_lib_$ac_lib_var=no"
6536 LIBS
="$ac_save_LIBS"
6539 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6540 echo "$ac_t""yes" 1>&6
6543 echo "$ac_t""no" 1>&6
6549 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
6550 echo "configure:6551: checking whether ln -s works" >&5
6551 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
6552 echo $ac_n "(cached) $ac_c" 1>&6
6555 if ln -s X conftestdata
2>/dev
/null
6558 ac_cv_prog_LN_S
="ln -s"
6563 LN_S
="$ac_cv_prog_LN_S"
6564 if test "$ac_cv_prog_LN_S" = "ln -s"; then
6565 echo "$ac_t""yes" 1>&6
6567 echo "$ac_t""no" 1>&6
6573 /usr/local/include \
6575 /usr/Motif-1.2/include \
6576 /usr/Motif-2.1/include \
6578 /usr/include/Motif1.2 \
6579 /opt/xpm/include/X11 \
6580 /opt/GBxpm/include/ \
6581 /opt/GBxpm/X11/include/ \
6583 /usr/Motif1.2/include \
6585 /usr/openwin/include \
6589 /usr/X11R6/include \
6590 /usr/X11R6.4/include \
6591 /usr/X11R5/include \
6592 /usr/X11R4/include \
6594 /usr/include/X11R6 \
6595 /usr/include/X11R5 \
6596 /usr/include/X11R4 \
6598 /usr/local/X11R6/include \
6599 /usr/local/X11R5/include \
6600 /usr/local/X11R4/include \
6602 /usr/local/include/X11R6 \
6603 /usr/local/include/X11R5 \
6604 /usr/local/include/X11R4 \
6608 /usr/local/X11/include \
6609 /usr/local/include/X11 \
6613 /usr/XFree86/include/X11 \
6616 /usr/local/include/gtk \
6618 /usr/local/include/glib \
6621 /usr/local/include/qt \
6623 /usr/include/windows \
6625 /usr/local/include/wine \
6627 /usr/unsupported/include \
6628 /usr/athena/include \
6629 /usr/local/x11r5/include \
6630 /usr/lpp/Xamples/include \
6632 /usr/openwin/share/include \
6636 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
6639 cat > confcache
<<\EOF
6640 # This file is a shell script that caches the results of configure
6641 # tests run on this system so they can be shared between configure
6642 # scripts and configure runs. It is not useful on other systems.
6643 # If it contains results you don't want to keep, you may remove or edit it.
6645 # By default, configure uses ./config.cache as the cache file,
6646 # creating it if it does not exist already. You can give configure
6647 # the --cache-file=FILE option to use a different cache file; that is
6648 # what configure does when it calls configure scripts in
6649 # subdirectories, so they share the cache.
6650 # Giving --cache-file=/dev/null disables caching, for debugging configure.
6651 # config.status only pays attention to the cache file if you give it the
6652 # --recheck option to rerun configure.
6655 # The following way of writing the cache mishandles newlines in values,
6656 # but we know of no workaround that is simple, portable, and efficient.
6657 # So, don't put newlines in cache variables' values.
6658 # Ultrix sh set writes to stderr and can't be redirected directly,
6659 # and sets the high bit in the cache file unless we assign to the vars.
6661 case `(ac_space=' '; set | grep ac_space) 2>&1` in
6663 # `set' does not quote correctly, so add quotes (double-quote substitution
6664 # turns \\\\ into \\, and sed turns \\ into \).
6666 -e "s/'/'\\\\''/g" \
6667 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
6670 # `set' quotes correctly as required by POSIX, so do not add quotes.
6671 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
6674 if cmp -s $cache_file confcache
; then
6677 if test -w $cache_file; then
6678 echo "updating cache $cache_file"
6679 cat confcache
> $cache_file
6681 echo "not updating unwritable cache $cache_file"
6688 if test "$wxUSE_GUI" = "yes"; then
6706 if test "$wxUSE_CYGWIN" = 1 || test "$wxUSE_MINGW" = 1 ; then
6707 if test "$cross_compiling" = "yes" ; then
6708 echo "configure: warning: Cross compiling --- skipping windows.h check" 1>&2
6710 echo $ac_n "checking for Windows headers""... $ac_c" 1>&6
6711 echo "configure:6712: checking for Windows headers" >&5
6714 for ac_dir
in $SEARCH_INCLUDE;
6716 if test -f "$ac_dir/windows.h"; then
6717 ac_find_includes
=$ac_dir
6722 if test "$ac_find_includes" != "" ; then
6723 echo "$ac_t""found $ac_find_includes" 1>&6
6724 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE -I$ac_find_includes"
6726 echo "$ac_t""no" 1>&6
6727 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
6731 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS msw"
6732 LIBS
="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -lcrtdll -ladvapi32 -lwsock32"
6734 if test "$wxUSE_MINGW" = 1; then
6735 LDFLAGS
="$LDFLAGS -mwindows"
6740 GUIOBJS
="\$(MSW_GUIOBJS)"
6741 GUIHEADERS
="\$(MSW_HEADERS)"
6742 COMMONOBJS
="\$(MSW_COMMONOBJS)"
6743 GENERICOBJS
="\$(MSW_GENERICOBJS)"
6749 if test "$wxUSE_GTK" = 1; then
6751 if test x
$gtk_config_exec_prefix != x
; then
6752 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
6753 if test x
${GTK_CONFIG+set} != xset
; then
6754 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
6757 if test x
$gtk_config_prefix != x
; then
6758 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
6759 if test x
${GTK_CONFIG+set} != xset
; then
6760 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
6764 # Extract the first word of "gtk-config", so it can be a program name with args.
6765 set dummy gtk
-config; ac_word
=$2
6766 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6767 echo "configure:6768: checking for $ac_word" >&5
6768 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
6769 echo $ac_n "(cached) $ac_c" 1>&6
6771 case "$GTK_CONFIG" in
6773 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
6776 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
6779 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6781 for ac_dir
in $ac_dummy; do
6782 test -z "$ac_dir" && ac_dir
=.
6783 if test -f $ac_dir/$ac_word; then
6784 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
6789 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
6793 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
6794 if test -n "$GTK_CONFIG"; then
6795 echo "$ac_t""$GTK_CONFIG" 1>&6
6797 echo "$ac_t""no" 1>&6
6800 min_gtk_version
=1.2.1
6801 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
6802 echo "configure:6803: checking for GTK - version >= $min_gtk_version" >&5
6804 if test "$GTK_CONFIG" != "no" ; then
6805 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
6806 GTK_LIBS
=`$GTK_CONFIG --libs`
6807 ac_save_CFLAGS
="$CFLAGS"
6808 ac_save_LIBS
="$LIBS"
6809 CFLAGS
="$CFLAGS $GTK_CFLAGS"
6810 LIBS
="$LIBS $GTK_LIBS"
6811 if test "$cross_compiling" = yes; then
6812 echo $ac_n "cross compiling; assumed OK... $ac_c"
6814 cat > conftest.
$ac_ext <<EOF
6815 #line 6816 "configure"
6816 #include "confdefs.h"
6818 #include <gtk/gtk.h>
6824 int major, minor, micro;
6826 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
6827 printf("%s, bad version string\n", "$min_gtk_version");
6831 if (gtk_minor_version == 1) return FALSE;
6833 return !((gtk_major_version > major) ||
6834 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
6835 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
6839 if { (eval echo configure
:6840: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
6843 echo "configure: failed program was:" >&5
6844 cat conftest.
$ac_ext >&5
6851 CFLAGS
="$ac_save_CFLAGS"
6852 LIBS
="$ac_save_LIBS"
6856 if test "x$no_gtk" = x
; then
6857 echo "$ac_t""yes" 1>&6
6860 echo "$ac_t""no" 1>&6
6863 { echo "configure: error: Is gtk-config in path and GTK+ is version 1.2.1 or above?" 1>&2; exit 1; }
6869 TOOLKIT_INCLUDE
="$GTK_CFLAGS"
6870 GUI_TK_LIBRARY
="$GTK_LIBS"
6873 GUIOBJS
="\$(GTK_GUIOBJS)"
6874 GUIHEADERS
="\$(GTK_HEADERS)"
6875 COMMONOBJS
="\$(GTK_COMMONOBJS)"
6876 GENERICOBJS
="\$(GTK_GENERICOBJS)"
6877 GUIDEPS
="\$(GTK_GUIDEPS)"
6878 COMMONDEPS
="\$(GTK_COMMONDEPS)"
6879 GENERICDEPS
="\$(GTK_GENERICDEPS)"
6880 UNIXOBJS
="\$(UNIX_OBJS)"
6884 if test "$wxUSE_WINE" = 1; then
6885 echo $ac_n "checking for WINE includes""... $ac_c" 1>&6
6886 echo "configure:6887: checking for WINE includes" >&5
6889 for ac_dir
in $SEARCH_INCLUDE;
6891 if test -f "$ac_dir/windows.h"; then
6892 ac_find_includes
=$ac_dir
6897 if test "$ac_find_includes" != "" ; then
6898 echo "$ac_t""found $ac_find_includes" 1>&6
6899 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE -I$ac_find_includes"
6901 echo "$ac_t""no" 1>&6
6902 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
6906 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
6907 echo "configure:6908: checking for Xpm library" >&5
6910 for ac_dir
in $SEARCH_LIB;
6912 for ac_extension
in a so sl
; do
6913 if test -f "$ac_dir/libXpm.$ac_extension"; then
6914 ac_find_libraries
=$ac_dir
6920 if test "$ac_find_libraries" != "" ; then
6921 GUI_TK_LIBRARY
="-L$ac_find_libraries"
6923 cat >> confdefs.h
<<\EOF
6924 #define wxHAVE_LIB_XPM 1
6927 echo "$ac_t""found at $ac_find_libraries" 1>&6
6929 echo "$ac_t""no" 1>&6
6930 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
6934 echo $ac_n "checking for Mesa library""... $ac_c" 1>&6
6935 echo "configure:6936: checking for Mesa library" >&5
6938 for ac_dir
in $SEARCH_LIB;
6940 for ac_extension
in a so sl
; do
6941 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
6942 ac_find_libraries
=$ac_dir
6948 if test "$ac_find_libraries" != "" ; then
6949 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -L$ac_find_libraries"
6950 MESA_LINK
="-lMesaGL"
6951 echo "$ac_t""found at $ac_find_libraries" 1>&6
6953 { echo "configure: error: no" 1>&2; exit 1; }
6956 GUI_TK_LINK
="-lwine $MESA_LINK $XPM_LINK -lXxf86dga -lXxf86vm -lSM -lICE -lXext -lXmu -lX11 -lncurses -lm"
6957 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GUI_TK_LINK"
6961 GUIHEADERS
="\$(MSW_HEADERS)"
6962 GUIOBJS
="\$(MSW_GUIOBJS)"
6963 COMMONOBJS
="\$(MSW_COMMONOBJS)"
6964 GENERICOBJS
="\$(MSW_GENERICOBJS)"
6965 GUIDEPS
="\$(MSW_GUIDEPS)"
6966 COMMONDEPS
="\$(MSW_COMMONDEPS)"
6967 GENERICDEPS
="\$(MSW_GENERICDEPS)"
6968 UNIXOBJS
="\$(UNIX_OBJS)"
6972 if test "$wxUSE_MOTIF" = 1; then
6973 # If we find X, set shell vars x_includes and x_libraries to the
6974 # paths, otherwise set no_x=yes.
6975 # Uses ac_ vars as temps to allow command line to override cache and checks.
6976 # --without-x overrides everything else, but does not touch the cache.
6977 echo $ac_n "checking for X""... $ac_c" 1>&6
6978 echo "configure:6979: checking for X" >&5
6980 # Check whether --with-x or --without-x was given.
6981 if test "${with_x+set}" = set; then
6986 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
6987 if test "x$with_x" = xno
; then
6988 # The user explicitly disabled X.
6991 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
6992 # Both variables are already set.
6995 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
6996 echo $ac_n "(cached) $ac_c" 1>&6
6998 # One or both of the vars are not set, and there is no cached value.
6999 ac_x_includes
=NO ac_x_libraries
=NO
7001 if mkdir conftestdir
; then
7003 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
7004 cat > Imakefile
<<'EOF'
7006 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
7008 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
7009 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
7010 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
7011 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
7012 for ac_extension
in a so sl
; do
7013 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
7014 test -f $ac_im_libdir/libX11.
$ac_extension; then
7015 ac_im_usrlibdir
=$ac_im_libdir; break
7018 # Screen out bogus values from the imake configuration. They are
7019 # bogus both because they are the default anyway, and because
7020 # using them would break gcc on systems where it needs fixed includes.
7021 case "$ac_im_incroot" in
7023 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;;
7025 case "$ac_im_usrlibdir" in
7027 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;;
7034 if test "$ac_x_includes" = NO
; then
7035 # Guess where to find include files, by looking for this one X11 .h file.
7036 test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
7038 # First, try using that file with no special directory specified.
7039 cat > conftest.
$ac_ext <<EOF
7040 #line 7041 "configure"
7041 #include "confdefs.h"
7042 #include <$x_direct_test_include>
7044 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7045 { (eval echo configure
:7046: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7046 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7047 if test -z "$ac_err"; then
7049 # We can compile using X headers with no special include directory.
7053 echo "configure: failed program was:" >&5
7054 cat conftest.
$ac_ext >&5
7056 # Look for the header file in a standard set of common directories.
7057 # Check X11 before X11Rn because it is often a symlink to the current release.
7060 /usr
/X
11R
6/include \
7061 /usr
/X
11R
5/include \
7062 /usr
/X
11R
4/include \
7065 /usr
/include
/X11R6 \
7066 /usr
/include
/X11R5 \
7067 /usr
/include
/X11R4 \
7069 /usr
/local
/X
11/include \
7070 /usr
/local
/X
11R
6/include \
7071 /usr
/local
/X
11R
5/include \
7072 /usr
/local
/X
11R
4/include \
7074 /usr
/local
/include
/X11 \
7075 /usr
/local
/include
/X11R6 \
7076 /usr
/local
/include
/X11R5 \
7077 /usr
/local
/include
/X11R4 \
7081 /usr
/XFree
86/include
/X11 \
7084 /usr
/local
/include \
7085 /usr
/unsupported
/include \
7086 /usr
/athena
/include \
7087 /usr
/local
/x
11r
5/include \
7088 /usr
/lpp
/Xamples
/include \
7090 /usr
/openwin
/include \
7091 /usr
/openwin
/share
/include \
7094 if test -r "$ac_dir/$x_direct_test_include"; then
7095 ac_x_includes
=$ac_dir
7101 fi # $ac_x_includes = NO
7103 if test "$ac_x_libraries" = NO
; then
7104 # Check for the libraries.
7106 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
7107 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
7109 # See if we find them without any special options.
7110 # Don't add to $LIBS permanently.
7111 ac_save_LIBS
="$LIBS"
7112 LIBS
="-l$x_direct_test_library $LIBS"
7113 cat > conftest.
$ac_ext <<EOF
7114 #line 7115 "configure"
7115 #include "confdefs.h"
7118 ${x_direct_test_function}()
7121 if { (eval echo configure
:7122: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7123 LIBS
="$ac_save_LIBS"
7124 # We can link X programs with no special library path.
7127 echo "configure: failed program was:" >&5
7128 cat conftest.
$ac_ext >&5
7130 LIBS
="$ac_save_LIBS"
7131 # First see if replacing the include by lib works.
7132 # Check X11 before X11Rn because it is often a symlink to the current release.
7133 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib/` \
7144 /usr
/local
/X
11/lib \
7145 /usr
/local
/X
11R
6/lib \
7146 /usr
/local
/X
11R
5/lib \
7147 /usr
/local
/X
11R
4/lib \
7149 /usr
/local
/lib
/X11 \
7150 /usr
/local
/lib
/X11R6 \
7151 /usr
/local
/lib
/X11R5 \
7152 /usr
/local
/lib
/X11R4 \
7156 /usr
/XFree
86/lib
/X11 \
7160 /usr
/unsupported
/lib \
7162 /usr
/local
/x
11r
5/lib \
7163 /usr
/lpp
/Xamples
/lib \
7167 /usr
/openwin
/share
/lib \
7170 for ac_extension
in a so sl
; do
7171 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
7172 ac_x_libraries
=$ac_dir
7179 fi # $ac_x_libraries = NO
7181 if test "$ac_x_includes" = NO
|| test "$ac_x_libraries" = NO
; then
7182 # Didn't find X anywhere. Cache the known absence of X.
7183 ac_cv_have_x
="have_x=no"
7185 # Record where we found X for the cache.
7186 ac_cv_have_x
="have_x=yes \
7187 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
7191 eval "$ac_cv_have_x"
7194 if test "$have_x" != yes; then
7195 echo "$ac_t""$have_x" 1>&6
7198 # If each of the values was on the command line, it overrides each guess.
7199 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
7200 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
7201 # Update the cache value to reflect the command line values.
7202 ac_cv_have_x
="have_x=yes \
7203 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
7204 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
7207 if test "$no_x" = yes; then
7208 # Not all programs may use this symbol, but it does not hurt to define it.
7209 cat >> confdefs.h
<<\EOF
7210 #define X_DISPLAY_MISSING 1
7213 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
7215 if test -n "$x_includes"; then
7216 X_CFLAGS
="$X_CFLAGS -I$x_includes"
7219 # It would also be nice to do this for all -L options, not just this one.
7220 if test -n "$x_libraries"; then
7221 X_LIBS
="$X_LIBS -L$x_libraries"
7222 # For Solaris; some versions of Sun CC require a space after -R and
7223 # others require no space. Words are not sufficient . . . .
7224 case "`(uname -sr) 2>/dev/null`" in
7226 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
7227 echo "configure:7228: checking whether -R must be followed by a space" >&5
7228 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
7229 cat > conftest.
$ac_ext <<EOF
7230 #line 7231 "configure"
7231 #include "confdefs.h"
7237 if { (eval echo configure
:7238: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7241 echo "configure: failed program was:" >&5
7242 cat conftest.
$ac_ext >&5
7247 if test $ac_R_nospace = yes; then
7248 echo "$ac_t""no" 1>&6
7249 X_LIBS
="$X_LIBS -R$x_libraries"
7251 LIBS
="$ac_xsave_LIBS -R $x_libraries"
7252 cat > conftest.
$ac_ext <<EOF
7253 #line 7254 "configure"
7254 #include "confdefs.h"
7260 if { (eval echo configure
:7261: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7264 echo "configure: failed program was:" >&5
7265 cat conftest.
$ac_ext >&5
7270 if test $ac_R_space = yes; then
7271 echo "$ac_t""yes" 1>&6
7272 X_LIBS
="$X_LIBS -R $x_libraries"
7274 echo "$ac_t""neither works" 1>&6
7277 LIBS
="$ac_xsave_LIBS"
7281 # Check for system-dependent libraries X programs must link with.
7282 # Do this before checking for the system-independent R6 libraries
7283 # (-lICE), since we may need -lsocket or whatever for X linking.
7285 if test "$ISC" = yes; then
7286 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
7288 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
7289 # libraries were built with DECnet support. And karl@cs.umb.edu says
7290 # the Alpha needs dnet_stub (dnet does not exist).
7291 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
7292 echo "configure:7293: checking for dnet_ntoa in -ldnet" >&5
7293 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
7294 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7295 echo $ac_n "(cached) $ac_c" 1>&6
7297 ac_save_LIBS
="$LIBS"
7299 cat > conftest.
$ac_ext <<EOF
7300 #line 7301 "configure"
7301 #include "confdefs.h"
7302 /* Override any gcc2 internal prototype to avoid an error. */
7303 /* We use char because int might match the return type of a gcc2
7304 builtin and then its argument prototype would still apply. */
7311 if { (eval echo configure
:7312: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7313 eval "ac_cv_lib_$ac_lib_var=yes"
7315 echo "configure: failed program was:" >&5
7316 cat conftest.
$ac_ext >&5
7318 eval "ac_cv_lib_$ac_lib_var=no"
7321 LIBS
="$ac_save_LIBS"
7324 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7325 echo "$ac_t""yes" 1>&6
7326 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
7328 echo "$ac_t""no" 1>&6
7331 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
7332 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
7333 echo "configure:7334: checking for dnet_ntoa in -ldnet_stub" >&5
7334 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
7335 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7336 echo $ac_n "(cached) $ac_c" 1>&6
7338 ac_save_LIBS
="$LIBS"
7339 LIBS
="-ldnet_stub $LIBS"
7340 cat > conftest.
$ac_ext <<EOF
7341 #line 7342 "configure"
7342 #include "confdefs.h"
7343 /* Override any gcc2 internal prototype to avoid an error. */
7344 /* We use char because int might match the return type of a gcc2
7345 builtin and then its argument prototype would still apply. */
7352 if { (eval echo configure
:7353: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7354 eval "ac_cv_lib_$ac_lib_var=yes"
7356 echo "configure: failed program was:" >&5
7357 cat conftest.
$ac_ext >&5
7359 eval "ac_cv_lib_$ac_lib_var=no"
7362 LIBS
="$ac_save_LIBS"
7365 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7366 echo "$ac_t""yes" 1>&6
7367 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
7369 echo "$ac_t""no" 1>&6
7374 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
7375 # to get the SysV transport functions.
7376 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
7378 # The nsl library prevents programs from opening the X display
7379 # on Irix 5.2, according to dickey@clark.net.
7380 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
7381 echo "configure:7382: checking for gethostbyname" >&5
7382 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
7383 echo $ac_n "(cached) $ac_c" 1>&6
7385 cat > conftest.
$ac_ext <<EOF
7386 #line 7387 "configure"
7387 #include "confdefs.h"
7388 /* System header to define __stub macros and hopefully few prototypes,
7389 which can conflict with char gethostbyname(); below. */
7391 /* Override any gcc2 internal prototype to avoid an error. */
7392 /* We use char because int might match the return type of a gcc2
7393 builtin and then its argument prototype would still apply. */
7394 char gethostbyname();
7398 /* The GNU C library defines this for functions which it implements
7399 to always fail with ENOSYS. Some functions are actually named
7400 something starting with __ and the normal name is an alias. */
7401 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
7409 if { (eval echo configure
:7410: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7411 eval "ac_cv_func_gethostbyname=yes"
7413 echo "configure: failed program was:" >&5
7414 cat conftest.
$ac_ext >&5
7416 eval "ac_cv_func_gethostbyname=no"
7421 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
7422 echo "$ac_t""yes" 1>&6
7425 echo "$ac_t""no" 1>&6
7428 if test $ac_cv_func_gethostbyname = no
; then
7429 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
7430 echo "configure:7431: checking for gethostbyname in -lnsl" >&5
7431 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
7432 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7433 echo $ac_n "(cached) $ac_c" 1>&6
7435 ac_save_LIBS
="$LIBS"
7437 cat > conftest.
$ac_ext <<EOF
7438 #line 7439 "configure"
7439 #include "confdefs.h"
7440 /* Override any gcc2 internal prototype to avoid an error. */
7441 /* We use char because int might match the return type of a gcc2
7442 builtin and then its argument prototype would still apply. */
7443 char gethostbyname();
7449 if { (eval echo configure
:7450: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7451 eval "ac_cv_lib_$ac_lib_var=yes"
7453 echo "configure: failed program was:" >&5
7454 cat conftest.
$ac_ext >&5
7456 eval "ac_cv_lib_$ac_lib_var=no"
7459 LIBS
="$ac_save_LIBS"
7462 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7463 echo "$ac_t""yes" 1>&6
7464 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
7466 echo "$ac_t""no" 1>&6
7471 # lieder@skyler.mavd.honeywell.com says without -lsocket,
7472 # socket/setsockopt and other routines are undefined under SCO ODT
7473 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
7474 # on later versions), says simon@lia.di.epfl.ch: it contains
7475 # gethostby* variants that don't use the nameserver (or something).
7476 # -lsocket must be given before -lnsl if both are needed.
7477 # We assume that if connect needs -lnsl, so does gethostbyname.
7478 echo $ac_n "checking for connect""... $ac_c" 1>&6
7479 echo "configure:7480: checking for connect" >&5
7480 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
7481 echo $ac_n "(cached) $ac_c" 1>&6
7483 cat > conftest.
$ac_ext <<EOF
7484 #line 7485 "configure"
7485 #include "confdefs.h"
7486 /* System header to define __stub macros and hopefully few prototypes,
7487 which can conflict with char connect(); below. */
7489 /* Override any gcc2 internal prototype to avoid an error. */
7490 /* We use char because int might match the return type of a gcc2
7491 builtin and then its argument prototype would still apply. */
7496 /* The GNU C library defines this for functions which it implements
7497 to always fail with ENOSYS. Some functions are actually named
7498 something starting with __ and the normal name is an alias. */
7499 #if defined (__stub_connect) || defined (__stub___connect)
7507 if { (eval echo configure
:7508: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7509 eval "ac_cv_func_connect=yes"
7511 echo "configure: failed program was:" >&5
7512 cat conftest.
$ac_ext >&5
7514 eval "ac_cv_func_connect=no"
7519 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
7520 echo "$ac_t""yes" 1>&6
7523 echo "$ac_t""no" 1>&6
7526 if test $ac_cv_func_connect = no
; then
7527 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
7528 echo "configure:7529: checking for connect in -lsocket" >&5
7529 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
7530 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7531 echo $ac_n "(cached) $ac_c" 1>&6
7533 ac_save_LIBS
="$LIBS"
7534 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
7535 cat > conftest.
$ac_ext <<EOF
7536 #line 7537 "configure"
7537 #include "confdefs.h"
7538 /* Override any gcc2 internal prototype to avoid an error. */
7539 /* We use char because int might match the return type of a gcc2
7540 builtin and then its argument prototype would still apply. */
7547 if { (eval echo configure
:7548: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7549 eval "ac_cv_lib_$ac_lib_var=yes"
7551 echo "configure: failed program was:" >&5
7552 cat conftest.
$ac_ext >&5
7554 eval "ac_cv_lib_$ac_lib_var=no"
7557 LIBS
="$ac_save_LIBS"
7560 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7561 echo "$ac_t""yes" 1>&6
7562 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
7564 echo "$ac_t""no" 1>&6
7569 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
7570 echo $ac_n "checking for remove""... $ac_c" 1>&6
7571 echo "configure:7572: checking for remove" >&5
7572 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
7573 echo $ac_n "(cached) $ac_c" 1>&6
7575 cat > conftest.
$ac_ext <<EOF
7576 #line 7577 "configure"
7577 #include "confdefs.h"
7578 /* System header to define __stub macros and hopefully few prototypes,
7579 which can conflict with char remove(); below. */
7581 /* Override any gcc2 internal prototype to avoid an error. */
7582 /* We use char because int might match the return type of a gcc2
7583 builtin and then its argument prototype would still apply. */
7588 /* The GNU C library defines this for functions which it implements
7589 to always fail with ENOSYS. Some functions are actually named
7590 something starting with __ and the normal name is an alias. */
7591 #if defined (__stub_remove) || defined (__stub___remove)
7599 if { (eval echo configure
:7600: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7601 eval "ac_cv_func_remove=yes"
7603 echo "configure: failed program was:" >&5
7604 cat conftest.
$ac_ext >&5
7606 eval "ac_cv_func_remove=no"
7611 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
7612 echo "$ac_t""yes" 1>&6
7615 echo "$ac_t""no" 1>&6
7618 if test $ac_cv_func_remove = no
; then
7619 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
7620 echo "configure:7621: checking for remove in -lposix" >&5
7621 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
7622 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7623 echo $ac_n "(cached) $ac_c" 1>&6
7625 ac_save_LIBS
="$LIBS"
7626 LIBS
="-lposix $LIBS"
7627 cat > conftest.
$ac_ext <<EOF
7628 #line 7629 "configure"
7629 #include "confdefs.h"
7630 /* Override any gcc2 internal prototype to avoid an error. */
7631 /* We use char because int might match the return type of a gcc2
7632 builtin and then its argument prototype would still apply. */
7639 if { (eval echo configure
:7640: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7641 eval "ac_cv_lib_$ac_lib_var=yes"
7643 echo "configure: failed program was:" >&5
7644 cat conftest.
$ac_ext >&5
7646 eval "ac_cv_lib_$ac_lib_var=no"
7649 LIBS
="$ac_save_LIBS"
7652 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7653 echo "$ac_t""yes" 1>&6
7654 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
7656 echo "$ac_t""no" 1>&6
7661 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
7662 echo $ac_n "checking for shmat""... $ac_c" 1>&6
7663 echo "configure:7664: checking for shmat" >&5
7664 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
7665 echo $ac_n "(cached) $ac_c" 1>&6
7667 cat > conftest.
$ac_ext <<EOF
7668 #line 7669 "configure"
7669 #include "confdefs.h"
7670 /* System header to define __stub macros and hopefully few prototypes,
7671 which can conflict with char shmat(); below. */
7673 /* Override any gcc2 internal prototype to avoid an error. */
7674 /* We use char because int might match the return type of a gcc2
7675 builtin and then its argument prototype would still apply. */
7680 /* The GNU C library defines this for functions which it implements
7681 to always fail with ENOSYS. Some functions are actually named
7682 something starting with __ and the normal name is an alias. */
7683 #if defined (__stub_shmat) || defined (__stub___shmat)
7691 if { (eval echo configure
:7692: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7693 eval "ac_cv_func_shmat=yes"
7695 echo "configure: failed program was:" >&5
7696 cat conftest.
$ac_ext >&5
7698 eval "ac_cv_func_shmat=no"
7703 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
7704 echo "$ac_t""yes" 1>&6
7707 echo "$ac_t""no" 1>&6
7710 if test $ac_cv_func_shmat = no
; then
7711 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
7712 echo "configure:7713: checking for shmat in -lipc" >&5
7713 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
7714 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7715 echo $ac_n "(cached) $ac_c" 1>&6
7717 ac_save_LIBS
="$LIBS"
7719 cat > conftest.
$ac_ext <<EOF
7720 #line 7721 "configure"
7721 #include "confdefs.h"
7722 /* Override any gcc2 internal prototype to avoid an error. */
7723 /* We use char because int might match the return type of a gcc2
7724 builtin and then its argument prototype would still apply. */
7731 if { (eval echo configure
:7732: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7733 eval "ac_cv_lib_$ac_lib_var=yes"
7735 echo "configure: failed program was:" >&5
7736 cat conftest.
$ac_ext >&5
7738 eval "ac_cv_lib_$ac_lib_var=no"
7741 LIBS
="$ac_save_LIBS"
7744 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7745 echo "$ac_t""yes" 1>&6
7746 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
7748 echo "$ac_t""no" 1>&6
7754 # Check for libraries that X11R6 Xt/Xaw programs need.
7755 ac_save_LDFLAGS
="$LDFLAGS"
7756 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
7757 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
7758 # check for ICE first), but we must link in the order -lSM -lICE or
7759 # we get undefined symbols. So assume we have SM if we have ICE.
7760 # These have to be linked with before -lX11, unlike the other
7761 # libraries we check for below, so use a different variable.
7762 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
7763 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
7764 echo "configure:7765: checking for IceConnectionNumber in -lICE" >&5
7765 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
7766 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7767 echo $ac_n "(cached) $ac_c" 1>&6
7769 ac_save_LIBS
="$LIBS"
7770 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
7771 cat > conftest.
$ac_ext <<EOF
7772 #line 7773 "configure"
7773 #include "confdefs.h"
7774 /* Override any gcc2 internal prototype to avoid an error. */
7775 /* We use char because int might match the return type of a gcc2
7776 builtin and then its argument prototype would still apply. */
7777 char IceConnectionNumber();
7780 IceConnectionNumber()
7783 if { (eval echo configure
:7784: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7785 eval "ac_cv_lib_$ac_lib_var=yes"
7787 echo "configure: failed program was:" >&5
7788 cat conftest.
$ac_ext >&5
7790 eval "ac_cv_lib_$ac_lib_var=no"
7793 LIBS
="$ac_save_LIBS"
7796 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7797 echo "$ac_t""yes" 1>&6
7798 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
7800 echo "$ac_t""no" 1>&6
7803 LDFLAGS
="$ac_save_LDFLAGS"
7808 if test "$no_x" = "yes"; then
7809 { echo "configure: error: X11 not found" 1>&2; exit 1; }
7812 GUI_TK_LIBRARY
="$X_LIBS"
7813 TOOLKIT_INCLUDE
="$X_CFLAGS"
7816 echo $ac_n "checking for Motif/Lesstif headers""... $ac_c" 1>&6
7817 echo "configure:7818: checking for Motif/Lesstif headers" >&5
7820 for ac_dir
in $SEARCH_INCLUDE;
7822 if test -f "$ac_dir/Xm/Xm.h"; then
7823 ac_find_includes
=$ac_dir
7828 if test "$ac_find_includes" != "" ; then
7829 echo "$ac_t""found $ac_find_includes" 1>&6
7831 echo "$ac_t""no" 1>&6
7832 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
7835 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
7836 echo "configure:7837: checking for Motif/Lesstif library" >&5
7839 for ac_dir
in $SEARCH_LIB;
7841 for ac_extension
in a so sl
; do
7842 if test -f "$ac_dir/libXm.$ac_extension"; then
7843 ac_find_libraries
=$ac_dir
7849 if test "$ac_find_libraries" != "" ; then
7851 ac_path_to_include
=$ac_find_includes
7852 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
7854 if test $result = 0; then
7855 ac_path_to_include
=""
7857 ac_path_to_include
="-I$ac_find_includes"
7861 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
7863 if test $result = 0; then
7866 ac_path_to_link
="-L$ac_find_libraries"
7870 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
7871 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE $ac_path_to_include"
7872 echo "$ac_t""found at $ac_find_libraries" 1>&6
7874 echo "$ac_t""no" 1>&6
7875 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
7878 echo $ac_n "checking for Xt library""... $ac_c" 1>&6
7879 echo "configure:7880: checking for Xt library" >&5
7882 for ac_dir
in $SEARCH_LIB;
7884 for ac_extension
in a so sl
; do
7885 if test -f "$ac_dir/libXt.$ac_extension"; then
7886 ac_find_libraries
=$ac_dir
7892 if test "$ac_find_libraries" != "" ; then
7894 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
7896 if test $result = 0; then
7899 ac_path_to_link
="-L$ac_find_libraries"
7902 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
7903 echo "$ac_t""found at $ac_find_libraries" 1>&6
7905 echo "$ac_t""no" 1>&6
7906 { echo "configure: error: please set LDFLAGS to contain the location of libXt" 1>&2; exit 1; }
7910 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
7911 echo "configure:7912: checking for Xpm library" >&5
7914 for ac_dir
in $SEARCH_LIB;
7916 for ac_extension
in a so sl
; do
7917 if test -f "$ac_dir/libXpm.$ac_extension"; then
7918 ac_find_libraries
=$ac_dir
7924 if test "$ac_find_libraries" != "" ; then
7926 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
7928 if test $result = 0; then
7931 ac_path_to_link
="-L$ac_find_libraries"
7934 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
7936 cat >> confdefs.h
<<\EOF
7937 #define wxHAVE_LIB_XPM 1
7940 echo "$ac_t""found at $ac_find_libraries" 1>&6
7942 echo "$ac_t""no" 1>&6
7943 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
7946 GUI_TK_LINK
="-lXm $XPM_LINK -lXmu -lXext -lXt -lX11 -lm"
7947 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GUI_TK_LINK"
7950 GUIHEADERS
="\$(MOTIF_HEADERS)"
7951 GUIOBJS
="\$(MOTIF_GUIOBJS)"
7952 COMMONOBJS
="\$(MOTIF_COMMONOBJS)"
7953 GENERICOBJS
="\$(MOTIF_GENERICOBJS)"
7954 GUIDEPS
="\$(MOTIF_GUIDEPS)"
7955 COMMONDEPS
="\$(MOTIF_COMMONDEPS)"
7956 GENERICDEPS
="\$(MOTIF_GENERICDEPS)"
7957 UNIXOBJS
="\$(UNIX_OBJS)"
7961 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "A-Z" "a-z"`
7963 TOOLKIT_DEF
="-D__WX${TOOLKIT}__"
7965 WX_LIBRARY
="wx_${TOOLKIT_DIR}"
7967 ALL_OBJECTS
="\$(GUIOBJS) \$(COMMONOBJS) \$(GENERICOBJS) \$(UNIXOBJS) \$(HTMLOBJS) \$(JPEGOBJS) \$(PNGOBJS) \$(ZLIBOBJS) \$(IODBCOBJS)"
7968 ALL_DEPFILES
="\$(GUIDEPS) \$(COMMONDEPS) \$(GENERICDEPS) \$(UNIXDEPS) \$(HTMLDEPS)"
7969 ALL_HEADERS
="\$(GUIHEADERS) \$(HTML_HEADERS) \$(UNIX_HEADERS) \$(PROTOCOL_HEADERS) \$(GENERIC_HEADERS) \$(WX_HEADERS)"
7972 ALL_OBJECTS
="\$(BASE_OBJS)"
7973 ALL_DEPFILES
="\${BASE_DEPS}"
7974 ALL_HEADERS
="\${BASE_HEADERS}"
7979 WX_LIBRARY_NAME
="lib${WX_LIBRARY}.la"
7981 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
7983 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}-${WX_RELEASE}.so.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
7985 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}-${WX_RELEASE}.so.${WX_CURRENT}"
7986 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}-${WX_RELEASE}.so"
7987 WX_LIBRARY_LINK3
="lib${WX_LIBRARY}.so"
7994 if test "$wxUSE_SHARED" = "yes"; then
7997 if test "$GCC" = yes ; then
7998 SHARED_LD
="${CC} -shared -o"
8001 SHARED_LD
="${CXX} -b -o"
8004 WX_LIBRARY_NAME_SHARED
="libwx_${TOOLKIT_DIR}.sl"
8005 WX_ALL
=${WX_LIBRARY_NAME_SHARED}
8008 SHARED_LD
="${CC} -shared -o"
8010 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8011 WX_ALL
="CREATE_LINKS"
8013 *-*-irix5* | *-*-irix6* )
8014 if test "$GCC" = yes ; then
8015 SHARED_LD
="${CC} -shared -o"
8018 SHARED_LD
="${CXX} -shared -o"
8020 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8021 WX_ALL
="CREATE_LINKS"
8024 if test "$GCC" = yes ; then
8025 SHARED_LD
="${CC} -shared -o"
8028 SHARED_LD
="${CXX} -G -o"
8031 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8032 WX_ALL
="CREATE_LINKS"
8035 SHARED_LD
="${CC} -shared -o"
8037 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8038 WX_ALL
="CREATE_LINKS"
8040 *-*-freebsd* | *-*-netbsd*)
8041 SHARED_LD
="${CC} -shared -o"
8043 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8044 WX_ALL
="CREATE_LINKS"
8047 SHARED_LD
="${CXX} -shared -o"
8049 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8050 WX_ALL
="CREATE_LINKS"
8053 SHARED_LD
="${CXX} -shared -o"
8055 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8056 WX_ALL
="CREATE_LINKS"
8059 SHARED_LD
="${CC} -shared -o"
8061 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8062 WX_ALL
="CREATE_LINKS"
8065 SHARED_LD
="/usr/lpp/xlC/bin/makeC++SharedLib -p 0 -o"
8066 WX_ALL
=${WX_LIBRARY_NAME_SHARED}
8069 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
8070 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
8073 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
8074 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
8079 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
8082 if test "x$WX_TARGET_LIBRARY" = "x"; then
8083 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
8086 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
8087 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
8091 for ac_hdr
in strings.h
8093 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8094 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8095 echo "configure:8096: checking for $ac_hdr" >&5
8096 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8097 echo $ac_n "(cached) $ac_c" 1>&6
8099 cat > conftest.
$ac_ext <<EOF
8100 #line 8101 "configure"
8101 #include "confdefs.h"
8104 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8105 { (eval echo configure
:8106: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8106 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8107 if test -z "$ac_err"; then
8109 eval "ac_cv_header_$ac_safe=yes"
8112 echo "configure: failed program was:" >&5
8113 cat conftest.
$ac_ext >&5
8115 eval "ac_cv_header_$ac_safe=no"
8119 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8120 echo "$ac_t""yes" 1>&6
8121 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8122 cat >> confdefs.h
<<EOF
8123 #define $ac_tr_hdr 1
8127 echo "$ac_t""no" 1>&6
8131 for ac_hdr
in unistd.h
8133 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8134 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8135 echo "configure:8136: checking for $ac_hdr" >&5
8136 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8137 echo $ac_n "(cached) $ac_c" 1>&6
8139 cat > conftest.
$ac_ext <<EOF
8140 #line 8141 "configure"
8141 #include "confdefs.h"
8144 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8145 { (eval echo configure
:8146: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8146 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8147 if test -z "$ac_err"; then
8149 eval "ac_cv_header_$ac_safe=yes"
8152 echo "configure: failed program was:" >&5
8153 cat conftest.
$ac_ext >&5
8155 eval "ac_cv_header_$ac_safe=no"
8159 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8160 echo "$ac_t""yes" 1>&6
8161 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8162 cat >> confdefs.h
<<EOF
8163 #define $ac_tr_hdr 1
8167 echo "$ac_t""no" 1>&6
8171 for ac_hdr
in wchar.h
8173 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8174 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8175 echo "configure:8176: checking for $ac_hdr" >&5
8176 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8177 echo $ac_n "(cached) $ac_c" 1>&6
8179 cat > conftest.
$ac_ext <<EOF
8180 #line 8181 "configure"
8181 #include "confdefs.h"
8184 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8185 { (eval echo configure
:8186: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8186 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8187 if test -z "$ac_err"; then
8189 eval "ac_cv_header_$ac_safe=yes"
8192 echo "configure: failed program was:" >&5
8193 cat conftest.
$ac_ext >&5
8195 eval "ac_cv_header_$ac_safe=no"
8199 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8200 echo "$ac_t""yes" 1>&6
8201 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8202 cat >> confdefs.h
<<EOF
8203 #define $ac_tr_hdr 1
8207 echo "$ac_t""no" 1>&6
8211 for ac_hdr
in wcstr.h
8213 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8214 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8215 echo "configure:8216: checking for $ac_hdr" >&5
8216 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8217 echo $ac_n "(cached) $ac_c" 1>&6
8219 cat > conftest.
$ac_ext <<EOF
8220 #line 8221 "configure"
8221 #include "confdefs.h"
8224 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8225 { (eval echo configure
:8226: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8226 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8227 if test -z "$ac_err"; then
8229 eval "ac_cv_header_$ac_safe=yes"
8232 echo "configure: failed program was:" >&5
8233 cat conftest.
$ac_ext >&5
8235 eval "ac_cv_header_$ac_safe=no"
8239 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8240 echo "$ac_t""yes" 1>&6
8241 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8242 cat >> confdefs.h
<<EOF
8243 #define $ac_tr_hdr 1
8247 echo "$ac_t""no" 1>&6
8251 for ac_hdr
in fnmatch.h
8253 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8254 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8255 echo "configure:8256: checking for $ac_hdr" >&5
8256 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8257 echo $ac_n "(cached) $ac_c" 1>&6
8259 cat > conftest.
$ac_ext <<EOF
8260 #line 8261 "configure"
8261 #include "confdefs.h"
8264 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8265 { (eval echo configure
:8266: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8266 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8267 if test -z "$ac_err"; then
8269 eval "ac_cv_header_$ac_safe=yes"
8272 echo "configure: failed program was:" >&5
8273 cat conftest.
$ac_ext >&5
8275 eval "ac_cv_header_$ac_safe=no"
8279 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8280 echo "$ac_t""yes" 1>&6
8281 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8282 cat >> confdefs.h
<<EOF
8283 #define $ac_tr_hdr 1
8287 echo "$ac_t""no" 1>&6
8292 if test "$wxUSE_GUI" = "yes"; then
8293 for ac_hdr
in X
11/XKBlib.h
8295 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8296 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8297 echo "configure:8298: checking for $ac_hdr" >&5
8298 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8299 echo $ac_n "(cached) $ac_c" 1>&6
8301 cat > conftest.
$ac_ext <<EOF
8302 #line 8303 "configure"
8303 #include "confdefs.h"
8306 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8307 { (eval echo configure
:8308: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8308 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8309 if test -z "$ac_err"; then
8311 eval "ac_cv_header_$ac_safe=yes"
8314 echo "configure: failed program was:" >&5
8315 cat conftest.
$ac_ext >&5
8317 eval "ac_cv_header_$ac_safe=no"
8321 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8322 echo "$ac_t""yes" 1>&6
8323 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8324 cat >> confdefs.h
<<EOF
8325 #define $ac_tr_hdr 1
8329 echo "$ac_t""no" 1>&6
8336 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
8337 echo "configure:8338: checking for ANSI C header files" >&5
8338 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
8339 echo $ac_n "(cached) $ac_c" 1>&6
8341 cat > conftest.
$ac_ext <<EOF
8342 #line 8343 "configure"
8343 #include "confdefs.h"
8349 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8350 { (eval echo configure
:8351: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8351 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8352 if test -z "$ac_err"; then
8354 ac_cv_header_stdc
=yes
8357 echo "configure: failed program was:" >&5
8358 cat conftest.
$ac_ext >&5
8360 ac_cv_header_stdc
=no
8364 if test $ac_cv_header_stdc = yes; then
8365 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8366 cat > conftest.
$ac_ext <<EOF
8367 #line 8368 "configure"
8368 #include "confdefs.h"
8371 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8372 egrep "memchr" >/dev
/null
2>&1; then
8376 ac_cv_header_stdc
=no
8382 if test $ac_cv_header_stdc = yes; then
8383 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8384 cat > conftest.
$ac_ext <<EOF
8385 #line 8386 "configure"
8386 #include "confdefs.h"
8389 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8390 egrep "free" >/dev
/null
2>&1; then
8394 ac_cv_header_stdc
=no
8400 if test $ac_cv_header_stdc = yes; then
8401 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8402 if test "$cross_compiling" = yes; then
8405 cat > conftest.
$ac_ext <<EOF
8406 #line 8407 "configure"
8407 #include "confdefs.h"
8409 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8410 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8411 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8412 int main () { int i; for (i = 0; i < 256; i++)
8413 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
8417 if { (eval echo configure
:8418: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
8421 echo "configure: failed program was:" >&5
8422 cat conftest.
$ac_ext >&5
8424 ac_cv_header_stdc
=no
8432 echo "$ac_t""$ac_cv_header_stdc" 1>&6
8433 if test $ac_cv_header_stdc = yes; then
8434 cat >> confdefs.h
<<\EOF
8435 #define STDC_HEADERS 1
8440 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
8441 echo "configure:8442: checking for mode_t" >&5
8442 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
8443 echo $ac_n "(cached) $ac_c" 1>&6
8445 cat > conftest.
$ac_ext <<EOF
8446 #line 8447 "configure"
8447 #include "confdefs.h"
8448 #include <sys/types.h>
8454 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8455 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
8457 ac_cv_type_mode_t
=yes
8460 ac_cv_type_mode_t
=no
8465 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
8466 if test $ac_cv_type_mode_t = no
; then
8467 cat >> confdefs.h
<<\EOF
8473 echo $ac_n "checking for off_t""... $ac_c" 1>&6
8474 echo "configure:8475: checking for off_t" >&5
8475 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
8476 echo $ac_n "(cached) $ac_c" 1>&6
8478 cat > conftest.
$ac_ext <<EOF
8479 #line 8480 "configure"
8480 #include "confdefs.h"
8481 #include <sys/types.h>
8487 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8488 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
8490 ac_cv_type_off_t
=yes
8498 echo "$ac_t""$ac_cv_type_off_t" 1>&6
8499 if test $ac_cv_type_off_t = no
; then
8500 cat >> confdefs.h
<<\EOF
8506 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
8507 echo "configure:8508: checking for pid_t" >&5
8508 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
8509 echo $ac_n "(cached) $ac_c" 1>&6
8511 cat > conftest.
$ac_ext <<EOF
8512 #line 8513 "configure"
8513 #include "confdefs.h"
8514 #include <sys/types.h>
8520 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8521 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
8523 ac_cv_type_pid_t
=yes
8531 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
8532 if test $ac_cv_type_pid_t = no
; then
8533 cat >> confdefs.h
<<\EOF
8539 echo $ac_n "checking for size_t""... $ac_c" 1>&6
8540 echo "configure:8541: checking for size_t" >&5
8541 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
8542 echo $ac_n "(cached) $ac_c" 1>&6
8544 cat > conftest.
$ac_ext <<EOF
8545 #line 8546 "configure"
8546 #include "confdefs.h"
8547 #include <sys/types.h>
8553 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8554 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
8556 ac_cv_type_size_t
=yes
8559 ac_cv_type_size_t
=no
8564 echo "$ac_t""$ac_cv_type_size_t" 1>&6
8565 if test $ac_cv_type_size_t = no
; then
8566 cat >> confdefs.h
<<\EOF
8567 #define size_t unsigned
8572 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
8573 echo "configure:8574: checking for uid_t in sys/types.h" >&5
8574 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
8575 echo $ac_n "(cached) $ac_c" 1>&6
8577 cat > conftest.
$ac_ext <<EOF
8578 #line 8579 "configure"
8579 #include "confdefs.h"
8580 #include <sys/types.h>
8582 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8583 egrep "uid_t" >/dev
/null
2>&1; then
8585 ac_cv_type_uid_t
=yes
8594 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
8595 if test $ac_cv_type_uid_t = no
; then
8596 cat >> confdefs.h
<<\EOF
8600 cat >> confdefs.h
<<\EOF
8609 echo $ac_n "checking for working const""... $ac_c" 1>&6
8610 echo "configure:8611: checking for working const" >&5
8611 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
8612 echo $ac_n "(cached) $ac_c" 1>&6
8614 cat > conftest.
$ac_ext <<EOF
8615 #line 8616 "configure"
8616 #include "confdefs.h"
8620 /* Ultrix mips cc rejects this. */
8621 typedef int charset[2]; const charset x;
8622 /* SunOS 4.1.1 cc rejects this. */
8623 char const *const *ccp;
8625 /* NEC SVR4.0.2 mips cc rejects this. */
8626 struct point {int x, y;};
8627 static struct point const zero = {0,0};
8628 /* AIX XL C 1.02.0.0 rejects this.
8629 It does not let you subtract one const X* pointer from another in an arm
8630 of an if-expression whose if-part is not a constant expression */
8631 const char *g = "string";
8632 ccp = &g + (g ? g-g : 0);
8633 /* HPUX 7.0 cc rejects these. */
8636 ccp = (char const *const *) p;
8637 { /* SCO 3.2v4 cc rejects this. */
8639 char const *s = 0 ? (char *) 0 : (char const *) 0;
8643 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
8645 const int *foo = &x[0];
8648 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
8649 typedef const int *iptr;
8653 { /* AIX XL C 1.02.0.0 rejects this saying
8654 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
8655 struct s { int j; const int *ap[3]; };
8656 struct s *b; b->j = 5;
8658 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
8664 if { (eval echo configure
:8665: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8668 echo "configure: failed program was:" >&5
8669 cat conftest.
$ac_ext >&5
8676 echo "$ac_t""$ac_cv_c_const" 1>&6
8677 if test $ac_cv_c_const = no
; then
8678 cat >> confdefs.h
<<\EOF
8684 echo $ac_n "checking for inline""... $ac_c" 1>&6
8685 echo "configure:8686: checking for inline" >&5
8686 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
8687 echo $ac_n "(cached) $ac_c" 1>&6
8690 for ac_kw
in inline __inline__ __inline
; do
8691 cat > conftest.
$ac_ext <<EOF
8692 #line 8693 "configure"
8693 #include "confdefs.h"
8699 if { (eval echo configure
:8700: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8701 ac_cv_c_inline
=$ac_kw; break
8703 echo "configure: failed program was:" >&5
8704 cat conftest.
$ac_ext >&5
8711 echo "$ac_t""$ac_cv_c_inline" 1>&6
8712 case "$ac_cv_c_inline" in
8714 no
) cat >> confdefs.h
<<\EOF
8718 *) cat >> confdefs.h
<<EOF
8719 #define inline $ac_cv_c_inline
8725 echo $ac_n "checking size of char""... $ac_c" 1>&6
8726 echo "configure:8727: checking size of char" >&5
8727 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
8728 echo $ac_n "(cached) $ac_c" 1>&6
8730 if test "$cross_compiling" = yes; then
8733 cat > conftest.
$ac_ext <<EOF
8734 #line 8735 "configure"
8735 #include "confdefs.h"
8739 FILE *f=fopen("conftestval", "w");
8741 fprintf(f, "%d\n", sizeof(char));
8745 if { (eval echo configure
:8746: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
8747 ac_cv_sizeof_char
=`cat conftestval`
8749 echo "configure: failed program was:" >&5
8750 cat conftest.
$ac_ext >&5
8758 echo "$ac_t""$ac_cv_sizeof_char" 1>&6
8759 cat >> confdefs.h
<<EOF
8760 #define SIZEOF_CHAR $ac_cv_sizeof_char
8764 echo $ac_n "checking size of short""... $ac_c" 1>&6
8765 echo "configure:8766: checking size of short" >&5
8766 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
8767 echo $ac_n "(cached) $ac_c" 1>&6
8769 if test "$cross_compiling" = yes; then
8770 ac_cv_sizeof_short
=2
8772 cat > conftest.
$ac_ext <<EOF
8773 #line 8774 "configure"
8774 #include "confdefs.h"
8778 FILE *f=fopen("conftestval", "w");
8780 fprintf(f, "%d\n", sizeof(short));
8784 if { (eval echo configure
:8785: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
8786 ac_cv_sizeof_short
=`cat conftestval`
8788 echo "configure: failed program was:" >&5
8789 cat conftest.
$ac_ext >&5
8791 ac_cv_sizeof_short
=0
8797 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
8798 cat >> confdefs.h
<<EOF
8799 #define SIZEOF_SHORT $ac_cv_sizeof_short
8803 echo $ac_n "checking size of int *""... $ac_c" 1>&6
8804 echo "configure:8805: checking size of int *" >&5
8805 if eval "test \"`echo '$''{'ac_cv_sizeof_int_p'+set}'`\" = set"; then
8806 echo $ac_n "(cached) $ac_c" 1>&6
8808 if test "$cross_compiling" = yes; then
8809 ac_cv_sizeof_int_p
=4
8811 cat > conftest.
$ac_ext <<EOF
8812 #line 8813 "configure"
8813 #include "confdefs.h"
8817 FILE *f=fopen("conftestval", "w");
8819 fprintf(f, "%d\n", sizeof(int *));
8823 if { (eval echo configure
:8824: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
8825 ac_cv_sizeof_int_p
=`cat conftestval`
8827 echo "configure: failed program was:" >&5
8828 cat conftest.
$ac_ext >&5
8830 ac_cv_sizeof_int_p
=0
8836 echo "$ac_t""$ac_cv_sizeof_int_p" 1>&6
8837 cat >> confdefs.h
<<EOF
8838 #define SIZEOF_INT_P $ac_cv_sizeof_int_p
8842 echo $ac_n "checking size of int""... $ac_c" 1>&6
8843 echo "configure:8844: checking size of int" >&5
8844 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
8845 echo $ac_n "(cached) $ac_c" 1>&6
8847 if test "$cross_compiling" = yes; then
8850 cat > conftest.
$ac_ext <<EOF
8851 #line 8852 "configure"
8852 #include "confdefs.h"
8856 FILE *f=fopen("conftestval", "w");
8858 fprintf(f, "%d\n", sizeof(int));
8862 if { (eval echo configure
:8863: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
8864 ac_cv_sizeof_int
=`cat conftestval`
8866 echo "configure: failed program was:" >&5
8867 cat conftest.
$ac_ext >&5
8875 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
8876 cat >> confdefs.h
<<EOF
8877 #define SIZEOF_INT $ac_cv_sizeof_int
8881 echo $ac_n "checking size of long""... $ac_c" 1>&6
8882 echo "configure:8883: checking size of long" >&5
8883 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
8884 echo $ac_n "(cached) $ac_c" 1>&6
8886 if test "$cross_compiling" = yes; then
8889 cat > conftest.
$ac_ext <<EOF
8890 #line 8891 "configure"
8891 #include "confdefs.h"
8895 FILE *f=fopen("conftestval", "w");
8897 fprintf(f, "%d\n", sizeof(long));
8901 if { (eval echo configure
:8902: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
8903 ac_cv_sizeof_long
=`cat conftestval`
8905 echo "configure: failed program was:" >&5
8906 cat conftest.
$ac_ext >&5
8914 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
8915 cat >> confdefs.h
<<EOF
8916 #define SIZEOF_LONG $ac_cv_sizeof_long
8920 echo $ac_n "checking size of long long""... $ac_c" 1>&6
8921 echo "configure:8922: checking size of long long" >&5
8922 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
8923 echo $ac_n "(cached) $ac_c" 1>&6
8925 if test "$cross_compiling" = yes; then
8926 ac_cv_sizeof_long_long
=0
8928 cat > conftest.
$ac_ext <<EOF
8929 #line 8930 "configure"
8930 #include "confdefs.h"
8934 FILE *f=fopen("conftestval", "w");
8936 fprintf(f, "%d\n", sizeof(long long));
8940 if { (eval echo configure
:8941: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
8942 ac_cv_sizeof_long_long
=`cat conftestval`
8944 echo "configure: failed program was:" >&5
8945 cat conftest.
$ac_ext >&5
8947 ac_cv_sizeof_long_long
=0
8953 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
8954 cat >> confdefs.h
<<EOF
8955 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
8960 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
8961 echo "configure:8962: checking whether byte ordering is bigendian" >&5
8962 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
8963 echo $ac_n "(cached) $ac_c" 1>&6
8965 ac_cv_c_bigendian
=unknown
8966 # See if sys/param.h defines the BYTE_ORDER macro.
8967 cat > conftest.
$ac_ext <<EOF
8968 #line 8969 "configure"
8969 #include "confdefs.h"
8970 #include <sys/types.h>
8971 #include <sys/param.h>
8974 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
8979 if { (eval echo configure
:8980: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8981 # It does; now see whether it defined to BIG_ENDIAN or not.
8982 cat > conftest.
$ac_ext <<EOF
8983 #line 8984 "configure"
8984 #include "confdefs.h"
8985 #include <sys/types.h>
8986 #include <sys/param.h>
8989 #if BYTE_ORDER != BIG_ENDIAN
8994 if { (eval echo configure
:8995: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8996 ac_cv_c_bigendian
=yes
8998 echo "configure: failed program was:" >&5
8999 cat conftest.
$ac_ext >&5
9001 ac_cv_c_bigendian
=no
9005 echo "configure: failed program was:" >&5
9006 cat conftest.
$ac_ext >&5
9009 if test $ac_cv_c_bigendian = unknown
; then
9010 if test "$cross_compiling" = yes; then
9011 ac_cv_c_bigendian
=unknown
9013 cat > conftest.
$ac_ext <<EOF
9014 #line 9015 "configure"
9015 #include "confdefs.h"
9017 /* Are we little or big endian? From Harbison&Steele. */
9021 char c[sizeof (long)];
9024 exit (u.c[sizeof (long) - 1] == 1);
9027 if { (eval echo configure
:9028: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9029 ac_cv_c_bigendian
=no
9031 echo "configure: failed program was:" >&5
9032 cat conftest.
$ac_ext >&5
9034 ac_cv_c_bigendian
=yes
9042 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
9043 if test $ac_cv_c_bigendian = unknown
; then
9044 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
9046 if test $ac_cv_c_bigendian = yes; then
9047 cat >> confdefs.h
<<\EOF
9048 #define WORDS_BIGENDIAN 1
9055 if test "$cross_compiling" = "yes"; then
9056 cat >> confdefs.h
<<\EOF
9057 #define wxUSE_IOSTREAMH 1
9063 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9064 ac_cpp
='$CXXCPP $CPPFLAGS'
9065 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9066 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9067 cross_compiling
=$ac_cv_prog_cxx_cross
9070 for ac_hdr
in iostream
9072 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9073 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9074 echo "configure:9075: checking for $ac_hdr" >&5
9075 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9076 echo $ac_n "(cached) $ac_c" 1>&6
9078 cat > conftest.
$ac_ext <<EOF
9079 #line 9080 "configure"
9080 #include "confdefs.h"
9083 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9084 { (eval echo configure
:9085: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9085 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9086 if test -z "$ac_err"; then
9088 eval "ac_cv_header_$ac_safe=yes"
9091 echo "configure: failed program was:" >&5
9092 cat conftest.
$ac_ext >&5
9094 eval "ac_cv_header_$ac_safe=no"
9098 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9099 echo "$ac_t""yes" 1>&6
9100 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9101 cat >> confdefs.h
<<EOF
9102 #define $ac_tr_hdr 1
9106 echo "$ac_t""no" 1>&6
9111 if test "x$HAVE_IOSTREAM" = x
; then
9112 cat >> confdefs.h
<<\EOF
9113 #define wxUSE_IOSTREAMH 1
9121 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9122 ac_cpp
='$CPP $CPPFLAGS'
9123 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9124 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9125 cross_compiling
=$ac_cv_prog_cc_cross
9131 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
9132 echo "configure:9133: checking if C++ compiler supports bool" >&5
9133 if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
9134 echo $ac_n "(cached) $ac_c" 1>&6
9139 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9140 ac_cpp
='$CXXCPP $CPPFLAGS'
9141 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9142 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9143 cross_compiling
=$ac_cv_prog_cxx_cross
9146 cat > conftest.
$ac_ext <<EOF
9147 #line 9148 "configure"
9148 #include "confdefs.h"
9159 if { (eval echo configure
:9160: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9162 cat >> confdefs.h
<<\EOF
9169 echo "configure: failed program was:" >&5
9170 cat conftest.
$ac_ext >&5
9180 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9181 ac_cpp
='$CPP $CPPFLAGS'
9182 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9183 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9184 cross_compiling
=$ac_cv_prog_cc_cross
9189 echo "$ac_t""$wx_cv_cpp_bool" 1>&6
9191 if test "$wx_cv_cpp_bool" = "yes"; then
9192 cat >> confdefs.h
<<\EOF
9200 echo $ac_n "checking if you need GNU extensions""... $ac_c" 1>&6
9201 echo "configure:9202: checking if you need GNU extensions" >&5
9202 if eval "test \"`echo '$''{'wx_cv_gnu_extensions'+set}'`\" = set"; then
9203 echo $ac_n "(cached) $ac_c" 1>&6
9206 cat > conftest.
$ac_ext <<EOF
9207 #line 9208 "configure"
9208 #include "confdefs.h"
9209 #include <features.h>
9213 #ifndef __GNU_LIBRARY__
9214 Compile error wanted
9220 if { (eval echo configure
:9221: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9222 wx_cv_gnu_extensions
=yes
9224 echo "configure: failed program was:" >&5
9225 cat conftest.
$ac_ext >&5
9227 wx_cv_gnu_extensions
=no
9234 echo "$ac_t""$wx_cv_gnu_extensions" 1>&6
9235 if test "$wx_cv_gnu_extensions" = "yes"; then
9236 cat >> confdefs.h
<<EOF
9237 #define _GNU_SOURCE 1
9244 echo $ac_n "checking for wcslen in -lc""... $ac_c" 1>&6
9245 echo "configure:9246: checking for wcslen in -lc" >&5
9246 ac_lib_var
=`echo c'_'wcslen | sed 'y%./+-%__p_%'`
9247 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9248 echo $ac_n "(cached) $ac_c" 1>&6
9250 ac_save_LIBS
="$LIBS"
9252 cat > conftest.
$ac_ext <<EOF
9253 #line 9254 "configure"
9254 #include "confdefs.h"
9255 /* Override any gcc2 internal prototype to avoid an error. */
9256 /* We use char because int might match the return type of a gcc2
9257 builtin and then its argument prototype would still apply. */
9264 if { (eval echo configure
:9265: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9266 eval "ac_cv_lib_$ac_lib_var=yes"
9268 echo "configure: failed program was:" >&5
9269 cat conftest.
$ac_ext >&5
9271 eval "ac_cv_lib_$ac_lib_var=no"
9274 LIBS
="$ac_save_LIBS"
9277 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9278 echo "$ac_t""yes" 1>&6
9280 cat >> confdefs.h
<<\EOF
9281 #define HAVE_WCSLEN 1
9287 echo "$ac_t""no" 1>&6
9289 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
9290 echo "configure:9291: checking for wcslen in -lw" >&5
9291 ac_lib_var
=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
9292 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9293 echo $ac_n "(cached) $ac_c" 1>&6
9295 ac_save_LIBS
="$LIBS"
9297 cat > conftest.
$ac_ext <<EOF
9298 #line 9299 "configure"
9299 #include "confdefs.h"
9300 /* Override any gcc2 internal prototype to avoid an error. */
9301 /* We use char because int might match the return type of a gcc2
9302 builtin and then its argument prototype would still apply. */
9309 if { (eval echo configure
:9310: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9311 eval "ac_cv_lib_$ac_lib_var=yes"
9313 echo "configure: failed program was:" >&5
9314 cat conftest.
$ac_ext >&5
9316 eval "ac_cv_lib_$ac_lib_var=no"
9319 LIBS
="$ac_save_LIBS"
9322 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9323 echo "$ac_t""yes" 1>&6
9325 cat >> confdefs.h
<<\EOF
9326 #define HAVE_WCSLEN 1
9332 echo "$ac_t""no" 1>&6
9339 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
9340 echo "configure:9341: checking for vprintf" >&5
9341 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
9342 echo $ac_n "(cached) $ac_c" 1>&6
9344 cat > conftest.
$ac_ext <<EOF
9345 #line 9346 "configure"
9346 #include "confdefs.h"
9347 /* System header to define __stub macros and hopefully few prototypes,
9348 which can conflict with char vprintf(); below. */
9350 /* Override any gcc2 internal prototype to avoid an error. */
9351 /* We use char because int might match the return type of a gcc2
9352 builtin and then its argument prototype would still apply. */
9357 /* The GNU C library defines this for functions which it implements
9358 to always fail with ENOSYS. Some functions are actually named
9359 something starting with __ and the normal name is an alias. */
9360 #if defined (__stub_vprintf) || defined (__stub___vprintf)
9368 if { (eval echo configure
:9369: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9370 eval "ac_cv_func_vprintf=yes"
9372 echo "configure: failed program was:" >&5
9373 cat conftest.
$ac_ext >&5
9375 eval "ac_cv_func_vprintf=no"
9380 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
9381 echo "$ac_t""yes" 1>&6
9382 cat >> confdefs.h
<<\EOF
9383 #define HAVE_VPRINTF 1
9387 echo "$ac_t""no" 1>&6
9390 if test "$ac_cv_func_vprintf" != yes; then
9391 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
9392 echo "configure:9393: checking for _doprnt" >&5
9393 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
9394 echo $ac_n "(cached) $ac_c" 1>&6
9396 cat > conftest.
$ac_ext <<EOF
9397 #line 9398 "configure"
9398 #include "confdefs.h"
9399 /* System header to define __stub macros and hopefully few prototypes,
9400 which can conflict with char _doprnt(); below. */
9402 /* Override any gcc2 internal prototype to avoid an error. */
9403 /* We use char because int might match the return type of a gcc2
9404 builtin and then its argument prototype would still apply. */
9409 /* The GNU C library defines this for functions which it implements
9410 to always fail with ENOSYS. Some functions are actually named
9411 something starting with __ and the normal name is an alias. */
9412 #if defined (__stub__doprnt) || defined (__stub____doprnt)
9420 if { (eval echo configure
:9421: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9422 eval "ac_cv_func__doprnt=yes"
9424 echo "configure: failed program was:" >&5
9425 cat conftest.
$ac_ext >&5
9427 eval "ac_cv_func__doprnt=no"
9432 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
9433 echo "$ac_t""yes" 1>&6
9434 cat >> confdefs.h
<<\EOF
9435 #define HAVE_DOPRNT 1
9439 echo "$ac_t""no" 1>&6
9445 for ac_func
in vsnprintf
9447 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9448 echo "configure:9449: checking for $ac_func" >&5
9449 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9450 echo $ac_n "(cached) $ac_c" 1>&6
9452 cat > conftest.
$ac_ext <<EOF
9453 #line 9454 "configure"
9454 #include "confdefs.h"
9455 /* System header to define __stub macros and hopefully few prototypes,
9456 which can conflict with char $ac_func(); below. */
9458 /* Override any gcc2 internal prototype to avoid an error. */
9459 /* We use char because int might match the return type of a gcc2
9460 builtin and then its argument prototype would still apply. */
9465 /* The GNU C library defines this for functions which it implements
9466 to always fail with ENOSYS. Some functions are actually named
9467 something starting with __ and the normal name is an alias. */
9468 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9476 if { (eval echo configure
:9477: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9478 eval "ac_cv_func_$ac_func=yes"
9480 echo "configure: failed program was:" >&5
9481 cat conftest.
$ac_ext >&5
9483 eval "ac_cv_func_$ac_func=no"
9488 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9489 echo "$ac_t""yes" 1>&6
9490 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9491 cat >> confdefs.h
<<EOF
9492 #define $ac_tr_func 1
9494 cat >> confdefs.h
<<\EOF
9495 #define HAVE_VSNPRINTF 1
9499 echo "$ac_t""no" 1>&6
9500 echo "configure: warning: unsafe function sprintf will be used instead of snprintf" 1>&2
9508 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9509 ac_cpp
='$CXXCPP $CPPFLAGS'
9510 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9511 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9512 cross_compiling
=$ac_cv_prog_cxx_cross
9515 echo $ac_n "checking for vsscanf""... $ac_c" 1>&6
9516 echo "configure:9517: checking for vsscanf" >&5
9517 if eval "test \"`echo '$''{'wx_cv_func_vsscanf'+set}'`\" = set"; then
9518 echo $ac_n "(cached) $ac_c" 1>&6
9521 if test "$cross_compiling" = yes; then
9522 wx_cv_func_vsscanf
=no
9525 cat > conftest.
$ac_ext <<EOF
9526 #line 9527 "configure"
9527 #include "confdefs.h"
9529 extern "C" void exit(int);
9535 int try_vsscanf(const char *format, ...)
9538 va_start(ap, format);
9540 vsscanf("17", format, ap);
9548 try_vsscanf("%d", &i);
9549 return i == 17 ? 0 : 1;
9553 if { (eval echo configure
:9554: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9556 cat >> confdefs.h
<<\EOF
9557 #define HAVE_VSSCANF 1
9560 wx_cv_func_vsscanf
=yes
9563 echo "configure: failed program was:" >&5
9564 cat conftest.
$ac_ext >&5
9566 wx_cv_func_vsscanf
=no
9574 echo "$ac_t""$wx_cv_func_vsscanf" 1>&6
9577 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9578 ac_cpp
='$CPP $CPPFLAGS'
9579 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9580 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9581 cross_compiling
=$ac_cv_prog_cc_cross
9584 if test "$USE_UNIX" = 1; then
9586 for ac_func
in vfork
9588 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9589 echo "configure:9590: checking for $ac_func" >&5
9590 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9591 echo $ac_n "(cached) $ac_c" 1>&6
9593 cat > conftest.
$ac_ext <<EOF
9594 #line 9595 "configure"
9595 #include "confdefs.h"
9596 /* System header to define __stub macros and hopefully few prototypes,
9597 which can conflict with char $ac_func(); below. */
9599 /* Override any gcc2 internal prototype to avoid an error. */
9600 /* We use char because int might match the return type of a gcc2
9601 builtin and then its argument prototype would still apply. */
9606 /* The GNU C library defines this for functions which it implements
9607 to always fail with ENOSYS. Some functions are actually named
9608 something starting with __ and the normal name is an alias. */
9609 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9617 if { (eval echo configure
:9618: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9619 eval "ac_cv_func_$ac_func=yes"
9621 echo "configure: failed program was:" >&5
9622 cat conftest.
$ac_ext >&5
9624 eval "ac_cv_func_$ac_func=no"
9629 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9630 echo "$ac_t""yes" 1>&6
9631 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9632 cat >> confdefs.h
<<EOF
9633 #define $ac_tr_func 1
9637 echo "$ac_t""no" 1>&6
9643 for ac_func
in nanosleep
9645 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9646 echo "configure:9647: checking for $ac_func" >&5
9647 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9648 echo $ac_n "(cached) $ac_c" 1>&6
9650 cat > conftest.
$ac_ext <<EOF
9651 #line 9652 "configure"
9652 #include "confdefs.h"
9653 /* System header to define __stub macros and hopefully few prototypes,
9654 which can conflict with char $ac_func(); below. */
9656 /* Override any gcc2 internal prototype to avoid an error. */
9657 /* We use char because int might match the return type of a gcc2
9658 builtin and then its argument prototype would still apply. */
9663 /* The GNU C library defines this for functions which it implements
9664 to always fail with ENOSYS. Some functions are actually named
9665 something starting with __ and the normal name is an alias. */
9666 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9674 if { (eval echo configure
:9675: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9676 eval "ac_cv_func_$ac_func=yes"
9678 echo "configure: failed program was:" >&5
9679 cat conftest.
$ac_ext >&5
9681 eval "ac_cv_func_$ac_func=no"
9686 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9687 echo "$ac_t""yes" 1>&6
9688 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9689 cat >> confdefs.h
<<EOF
9690 #define $ac_tr_func 1
9692 cat >> confdefs.h
<<\EOF
9693 #define HAVE_NANOSLEEP 1
9697 echo "$ac_t""no" 1>&6
9698 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
9699 echo "configure:9700: checking for nanosleep in -lposix4" >&5
9700 ac_lib_var
=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
9701 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9702 echo $ac_n "(cached) $ac_c" 1>&6
9704 ac_save_LIBS
="$LIBS"
9705 LIBS
="-lposix4 $LIBS"
9706 cat > conftest.
$ac_ext <<EOF
9707 #line 9708 "configure"
9708 #include "confdefs.h"
9709 /* Override any gcc2 internal prototype to avoid an error. */
9710 /* We use char because int might match the return type of a gcc2
9711 builtin and then its argument prototype would still apply. */
9718 if { (eval echo configure
:9719: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9720 eval "ac_cv_lib_$ac_lib_var=yes"
9722 echo "configure: failed program was:" >&5
9723 cat conftest.
$ac_ext >&5
9725 eval "ac_cv_lib_$ac_lib_var=no"
9728 LIBS
="$ac_save_LIBS"
9731 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9732 echo "$ac_t""yes" 1>&6
9734 cat >> confdefs.h
<<\EOF
9735 #define HAVE_NANOSLEEP 1
9738 POSIX4_LINK
="-lposix4"
9741 echo "$ac_t""no" 1>&6
9743 for ac_func
in usleep
9745 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9746 echo "configure:9747: checking for $ac_func" >&5
9747 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9748 echo $ac_n "(cached) $ac_c" 1>&6
9750 cat > conftest.
$ac_ext <<EOF
9751 #line 9752 "configure"
9752 #include "confdefs.h"
9753 /* System header to define __stub macros and hopefully few prototypes,
9754 which can conflict with char $ac_func(); below. */
9756 /* Override any gcc2 internal prototype to avoid an error. */
9757 /* We use char because int might match the return type of a gcc2
9758 builtin and then its argument prototype would still apply. */
9763 /* The GNU C library defines this for functions which it implements
9764 to always fail with ENOSYS. Some functions are actually named
9765 something starting with __ and the normal name is an alias. */
9766 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9774 if { (eval echo configure
:9775: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9776 eval "ac_cv_func_$ac_func=yes"
9778 echo "configure: failed program was:" >&5
9779 cat conftest.
$ac_ext >&5
9781 eval "ac_cv_func_$ac_func=no"
9786 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9787 echo "$ac_t""yes" 1>&6
9788 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9789 cat >> confdefs.h
<<EOF
9790 #define $ac_tr_func 1
9792 cat >> confdefs.h
<<\EOF
9793 #define HAVE_USLEEP 1
9797 echo "$ac_t""no" 1>&6
9798 echo "configure: warning: wxSleep() function will not work" 1>&2
9810 for ac_func
in uname gethostname
9812 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9813 echo "configure:9814: checking for $ac_func" >&5
9814 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9815 echo $ac_n "(cached) $ac_c" 1>&6
9817 cat > conftest.
$ac_ext <<EOF
9818 #line 9819 "configure"
9819 #include "confdefs.h"
9820 /* System header to define __stub macros and hopefully few prototypes,
9821 which can conflict with char $ac_func(); below. */
9823 /* Override any gcc2 internal prototype to avoid an error. */
9824 /* We use char because int might match the return type of a gcc2
9825 builtin and then its argument prototype would still apply. */
9830 /* The GNU C library defines this for functions which it implements
9831 to always fail with ENOSYS. Some functions are actually named
9832 something starting with __ and the normal name is an alias. */
9833 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9841 if { (eval echo configure
:9842: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9843 eval "ac_cv_func_$ac_func=yes"
9845 echo "configure: failed program was:" >&5
9846 cat conftest.
$ac_ext >&5
9848 eval "ac_cv_func_$ac_func=no"
9853 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9854 echo "$ac_t""yes" 1>&6
9855 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9856 cat >> confdefs.h
<<EOF
9857 #define $ac_tr_func 1
9861 echo "$ac_t""no" 1>&6
9866 for ac_func
in strtok_r
9868 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9869 echo "configure:9870: checking for $ac_func" >&5
9870 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9871 echo $ac_n "(cached) $ac_c" 1>&6
9873 cat > conftest.
$ac_ext <<EOF
9874 #line 9875 "configure"
9875 #include "confdefs.h"
9876 /* System header to define __stub macros and hopefully few prototypes,
9877 which can conflict with char $ac_func(); below. */
9879 /* Override any gcc2 internal prototype to avoid an error. */
9880 /* We use char because int might match the return type of a gcc2
9881 builtin and then its argument prototype would still apply. */
9886 /* The GNU C library defines this for functions which it implements
9887 to always fail with ENOSYS. Some functions are actually named
9888 something starting with __ and the normal name is an alias. */
9889 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9897 if { (eval echo configure
:9898: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9899 eval "ac_cv_func_$ac_func=yes"
9901 echo "configure: failed program was:" >&5
9902 cat conftest.
$ac_ext >&5
9904 eval "ac_cv_func_$ac_func=no"
9909 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9910 echo "$ac_t""yes" 1>&6
9911 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9912 cat >> confdefs.h
<<EOF
9913 #define $ac_tr_func 1
9917 echo "$ac_t""no" 1>&6
9923 for ac_func
in inet_addr
9925 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9926 echo "configure:9927: checking for $ac_func" >&5
9927 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9928 echo $ac_n "(cached) $ac_c" 1>&6
9930 cat > conftest.
$ac_ext <<EOF
9931 #line 9932 "configure"
9932 #include "confdefs.h"
9933 /* System header to define __stub macros and hopefully few prototypes,
9934 which can conflict with char $ac_func(); below. */
9936 /* Override any gcc2 internal prototype to avoid an error. */
9937 /* We use char because int might match the return type of a gcc2
9938 builtin and then its argument prototype would still apply. */
9943 /* The GNU C library defines this for functions which it implements
9944 to always fail with ENOSYS. Some functions are actually named
9945 something starting with __ and the normal name is an alias. */
9946 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9954 if { (eval echo configure
:9955: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9956 eval "ac_cv_func_$ac_func=yes"
9958 echo "configure: failed program was:" >&5
9959 cat conftest.
$ac_ext >&5
9961 eval "ac_cv_func_$ac_func=no"
9966 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9967 echo "$ac_t""yes" 1>&6
9968 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9969 cat >> confdefs.h
<<EOF
9970 #define $ac_tr_func 1
9972 cat >> confdefs.h
<<\EOF
9973 #define HAVE_INET_ADDR 1
9977 echo "$ac_t""no" 1>&6
9978 echo $ac_n "checking for inet_addr in -lnsl""... $ac_c" 1>&6
9979 echo "configure:9980: checking for inet_addr in -lnsl" >&5
9980 ac_lib_var
=`echo nsl'_'inet_addr | sed 'y%./+-%__p_%'`
9981 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9982 echo $ac_n "(cached) $ac_c" 1>&6
9984 ac_save_LIBS
="$LIBS"
9986 cat > conftest.
$ac_ext <<EOF
9987 #line 9988 "configure"
9988 #include "confdefs.h"
9989 /* Override any gcc2 internal prototype to avoid an error. */
9990 /* We use char because int might match the return type of a gcc2
9991 builtin and then its argument prototype would still apply. */
9998 if { (eval echo configure
:9999: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10000 eval "ac_cv_lib_$ac_lib_var=yes"
10002 echo "configure: failed program was:" >&5
10003 cat conftest.
$ac_ext >&5
10005 eval "ac_cv_lib_$ac_lib_var=no"
10008 LIBS
="$ac_save_LIBS"
10011 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10012 echo "$ac_t""yes" 1>&6
10015 echo "$ac_t""no" 1>&6
10016 echo $ac_n "checking for inet_addr in -lresolv""... $ac_c" 1>&6
10017 echo "configure:10018: checking for inet_addr in -lresolv" >&5
10018 ac_lib_var
=`echo resolv'_'inet_addr | sed 'y%./+-%__p_%'`
10019 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10020 echo $ac_n "(cached) $ac_c" 1>&6
10022 ac_save_LIBS
="$LIBS"
10023 LIBS
="-lresolv $LIBS"
10024 cat > conftest.
$ac_ext <<EOF
10025 #line 10026 "configure"
10026 #include "confdefs.h"
10027 /* Override any gcc2 internal prototype to avoid an error. */
10028 /* We use char because int might match the return type of a gcc2
10029 builtin and then its argument prototype would still apply. */
10036 if { (eval echo configure
:10037: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10038 eval "ac_cv_lib_$ac_lib_var=yes"
10040 echo "configure: failed program was:" >&5
10041 cat conftest.
$ac_ext >&5
10043 eval "ac_cv_lib_$ac_lib_var=no"
10046 LIBS
="$ac_save_LIBS"
10049 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10050 echo "$ac_t""yes" 1>&6
10054 echo "$ac_t""no" 1>&6
10066 for ac_func
in inet_aton
10068 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10069 echo "configure:10070: checking for $ac_func" >&5
10070 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10071 echo $ac_n "(cached) $ac_c" 1>&6
10073 cat > conftest.
$ac_ext <<EOF
10074 #line 10075 "configure"
10075 #include "confdefs.h"
10076 /* System header to define __stub macros and hopefully few prototypes,
10077 which can conflict with char $ac_func(); below. */
10078 #include <assert.h>
10079 /* Override any gcc2 internal prototype to avoid an error. */
10080 /* We use char because int might match the return type of a gcc2
10081 builtin and then its argument prototype would still apply. */
10086 /* The GNU C library defines this for functions which it implements
10087 to always fail with ENOSYS. Some functions are actually named
10088 something starting with __ and the normal name is an alias. */
10089 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10097 if { (eval echo configure
:10098: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10099 eval "ac_cv_func_$ac_func=yes"
10101 echo "configure: failed program was:" >&5
10102 cat conftest.
$ac_ext >&5
10104 eval "ac_cv_func_$ac_func=no"
10109 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10110 echo "$ac_t""yes" 1>&6
10111 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10112 cat >> confdefs.h
<<EOF
10113 #define $ac_tr_func 1
10115 cat >> confdefs.h
<<\EOF
10116 #define HAVE_INET_ATON 1
10120 echo "$ac_t""no" 1>&6
10121 echo $ac_n "checking for inet_aton in -l$INET_LINK""... $ac_c" 1>&6
10122 echo "configure:10123: checking for inet_aton in -l$INET_LINK" >&5
10123 ac_lib_var
=`echo $INET_LINK'_'inet_aton | sed 'y%./+-%__p_%'`
10124 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10125 echo $ac_n "(cached) $ac_c" 1>&6
10127 ac_save_LIBS
="$LIBS"
10128 LIBS
="-l$INET_LINK $LIBS"
10129 cat > conftest.
$ac_ext <<EOF
10130 #line 10131 "configure"
10131 #include "confdefs.h"
10132 /* Override any gcc2 internal prototype to avoid an error. */
10133 /* We use char because int might match the return type of a gcc2
10134 builtin and then its argument prototype would still apply. */
10141 if { (eval echo configure
:10142: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10143 eval "ac_cv_lib_$ac_lib_var=yes"
10145 echo "configure: failed program was:" >&5
10146 cat conftest.
$ac_ext >&5
10148 eval "ac_cv_lib_$ac_lib_var=no"
10151 LIBS
="$ac_save_LIBS"
10154 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10155 echo "$ac_t""yes" 1>&6
10156 cat >> confdefs.h
<<\EOF
10157 #define HAVE_INET_ATON 1
10161 echo "$ac_t""no" 1>&6
10169 if test "x$INET_LINK" != "x"; then
10170 cat >> confdefs.h
<<\EOF
10171 #define HAVE_INET_ADDR 1
10174 INET_LINK
="-l$INET_LINK"
10180 cat > confcache
<<\EOF
10181 # This file is a shell script that caches the results of configure
10182 # tests run on this system so they can be shared between configure
10183 # scripts and configure runs. It is not useful on other systems.
10184 # If it contains results you don't want to keep, you may remove or edit it.
10186 # By default, configure uses ./config.cache as the cache file,
10187 # creating it if it does not exist already. You can give configure
10188 # the --cache-file=FILE option to use a different cache file; that is
10189 # what configure does when it calls configure scripts in
10190 # subdirectories, so they share the cache.
10191 # Giving --cache-file=/dev/null disables caching, for debugging configure.
10192 # config.status only pays attention to the cache file if you give it the
10193 # --recheck option to rerun configure.
10196 # The following way of writing the cache mishandles newlines in values,
10197 # but we know of no workaround that is simple, portable, and efficient.
10198 # So, don't put newlines in cache variables' values.
10199 # Ultrix sh set writes to stderr and can't be redirected directly,
10200 # and sets the high bit in the cache file unless we assign to the vars.
10202 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10204 # `set' does not quote correctly, so add quotes (double-quote substitution
10205 # turns \\\\ into \\, and sed turns \\ into \).
10207 -e "s/'/'\\\\''/g" \
10208 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
10211 # `set' quotes correctly as required by POSIX, so do not add quotes.
10212 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
10215 if cmp -s $cache_file confcache
; then
10218 if test -w $cache_file; then
10219 echo "updating cache $cache_file"
10220 cat confcache
> $cache_file
10222 echo "not updating unwritable cache $cache_file"
10229 if test "$USE_UNIX" = 1; then
10235 if test "$wxUSE_THREADS" = "yes" ; then
10236 if test "$wxUSE_WINE" = 1 ; then
10237 echo "configure: warning: Threads are not supported under WINE" 1>&2
10242 if test "$wxUSE_THREADS" = "yes" ; then
10244 echo $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6
10245 echo "configure:10246: checking for pthread_create in -lpthread" >&5
10246 ac_lib_var
=`echo pthread'_'pthread_create | sed 'y%./+-%__p_%'`
10247 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10248 echo $ac_n "(cached) $ac_c" 1>&6
10250 ac_save_LIBS
="$LIBS"
10251 LIBS
="-lpthread $LIBS"
10252 cat > conftest.
$ac_ext <<EOF
10253 #line 10254 "configure"
10254 #include "confdefs.h"
10255 /* Override any gcc2 internal prototype to avoid an error. */
10256 /* We use char because int might match the return type of a gcc2
10257 builtin and then its argument prototype would still apply. */
10258 char pthread_create();
10264 if { (eval echo configure
:10265: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10266 eval "ac_cv_lib_$ac_lib_var=yes"
10268 echo "configure: failed program was:" >&5
10269 cat conftest.
$ac_ext >&5
10271 eval "ac_cv_lib_$ac_lib_var=no"
10274 LIBS
="$ac_save_LIBS"
10277 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10278 echo "$ac_t""yes" 1>&6
10280 THREADS_OBJ
="threadpsx.lo"
10281 THREADS_LINK
="pthread"
10284 echo "$ac_t""no" 1>&6
10286 echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
10287 echo "configure:10288: checking for pthread_create in -lc_r" >&5
10288 ac_lib_var
=`echo c_r'_'pthread_create | sed 'y%./+-%__p_%'`
10289 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10290 echo $ac_n "(cached) $ac_c" 1>&6
10292 ac_save_LIBS
="$LIBS"
10294 cat > conftest.
$ac_ext <<EOF
10295 #line 10296 "configure"
10296 #include "confdefs.h"
10297 /* Override any gcc2 internal prototype to avoid an error. */
10298 /* We use char because int might match the return type of a gcc2
10299 builtin and then its argument prototype would still apply. */
10300 char pthread_create();
10306 if { (eval echo configure
:10307: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10308 eval "ac_cv_lib_$ac_lib_var=yes"
10310 echo "configure: failed program was:" >&5
10311 cat conftest.
$ac_ext >&5
10313 eval "ac_cv_lib_$ac_lib_var=no"
10316 LIBS
="$ac_save_LIBS"
10319 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10320 echo "$ac_t""yes" 1>&6
10322 THREADS_OBJ
="threadpsx.lo"
10326 echo "$ac_t""no" 1>&6
10328 ac_safe
=`echo "sys/prctl.h" | sed 'y%./+-%__p_%'`
10329 echo $ac_n "checking for sys/prctl.h""... $ac_c" 1>&6
10330 echo "configure:10331: checking for sys/prctl.h" >&5
10331 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10332 echo $ac_n "(cached) $ac_c" 1>&6
10334 cat > conftest.
$ac_ext <<EOF
10335 #line 10336 "configure"
10336 #include "confdefs.h"
10337 #include <sys/prctl.h>
10339 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10340 { (eval echo configure
:10341: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10341 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10342 if test -z "$ac_err"; then
10344 eval "ac_cv_header_$ac_safe=yes"
10347 echo "configure: failed program was:" >&5
10348 cat conftest.
$ac_ext >&5
10350 eval "ac_cv_header_$ac_safe=no"
10354 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10355 echo "$ac_t""yes" 1>&6
10357 THREADS_OBJ
="threadsgi.lo"
10360 echo "$ac_t""no" 1>&6
10370 if test -z "$THREADS_OBJ" ; then
10372 echo "configure: warning: No thread support on this system" 1>&2
10376 if test "$wxUSE_THREADS" = "yes" ; then
10378 for ac_hdr
in sched.h
10380 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10381 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10382 echo "configure:10383: checking for $ac_hdr" >&5
10383 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10384 echo $ac_n "(cached) $ac_c" 1>&6
10386 cat > conftest.
$ac_ext <<EOF
10387 #line 10388 "configure"
10388 #include "confdefs.h"
10391 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10392 { (eval echo configure
:10393: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10393 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10394 if test -z "$ac_err"; then
10396 eval "ac_cv_header_$ac_safe=yes"
10399 echo "configure: failed program was:" >&5
10400 cat conftest.
$ac_ext >&5
10402 eval "ac_cv_header_$ac_safe=no"
10406 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10407 echo "$ac_t""yes" 1>&6
10408 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10409 cat >> confdefs.h
<<EOF
10410 #define $ac_tr_hdr 1
10414 echo "$ac_t""no" 1>&6
10419 echo $ac_n "checking for sched_yield in -l$THREADS_LINK""... $ac_c" 1>&6
10420 echo "configure:10421: checking for sched_yield in -l$THREADS_LINK" >&5
10421 ac_lib_var
=`echo $THREADS_LINK'_'sched_yield | sed 'y%./+-%__p_%'`
10422 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10423 echo $ac_n "(cached) $ac_c" 1>&6
10425 ac_save_LIBS
="$LIBS"
10426 LIBS
="-l$THREADS_LINK $LIBS"
10427 cat > conftest.
$ac_ext <<EOF
10428 #line 10429 "configure"
10429 #include "confdefs.h"
10430 /* Override any gcc2 internal prototype to avoid an error. */
10431 /* We use char because int might match the return type of a gcc2
10432 builtin and then its argument prototype would still apply. */
10433 char sched_yield();
10439 if { (eval echo configure
:10440: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10441 eval "ac_cv_lib_$ac_lib_var=yes"
10443 echo "configure: failed program was:" >&5
10444 cat conftest.
$ac_ext >&5
10446 eval "ac_cv_lib_$ac_lib_var=no"
10449 LIBS
="$ac_save_LIBS"
10452 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10453 echo "$ac_t""yes" 1>&6
10454 cat >> confdefs.h
<<\EOF
10455 #define HAVE_SCHED_YIELD 1
10459 echo "$ac_t""no" 1>&6
10460 echo $ac_n "checking for sched_yield in -l"posix4
"""... $ac_c" 1>&6
10461 echo "configure:10462: checking for sched_yield in -l"posix4
"" >&5
10462 ac_lib_var
=`echo "posix4"'_'sched_yield | sed 'y%./+-%__p_%'`
10463 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10464 echo $ac_n "(cached) $ac_c" 1>&6
10466 ac_save_LIBS
="$LIBS"
10467 LIBS
="-l"posix4
" $LIBS"
10468 cat > conftest.
$ac_ext <<EOF
10469 #line 10470 "configure"
10470 #include "confdefs.h"
10471 /* Override any gcc2 internal prototype to avoid an error. */
10472 /* We use char because int might match the return type of a gcc2
10473 builtin and then its argument prototype would still apply. */
10474 char sched_yield();
10480 if { (eval echo configure
:10481: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10482 eval "ac_cv_lib_$ac_lib_var=yes"
10484 echo "configure: failed program was:" >&5
10485 cat conftest.
$ac_ext >&5
10487 eval "ac_cv_lib_$ac_lib_var=no"
10490 LIBS
="$ac_save_LIBS"
10493 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10494 echo "$ac_t""yes" 1>&6
10495 cat >> confdefs.h
<<\EOF
10496 #define HAVE_SCHED_YIELD 1
10498 POSIX4_LINK
="-lposix4"
10500 echo "$ac_t""no" 1>&6
10501 echo "configure: warning: wxThread::Yield will not work properly" 1>&2
10509 echo $ac_n "checking for pthread_attr_getschedpolicy in -l$THREADS_LINK""... $ac_c" 1>&6
10510 echo "configure:10511: checking for pthread_attr_getschedpolicy in -l$THREADS_LINK" >&5
10511 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
10512 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10513 echo $ac_n "(cached) $ac_c" 1>&6
10515 ac_save_LIBS
="$LIBS"
10516 LIBS
="-l$THREADS_LINK $LIBS"
10517 cat > conftest.
$ac_ext <<EOF
10518 #line 10519 "configure"
10519 #include "confdefs.h"
10520 /* Override any gcc2 internal prototype to avoid an error. */
10521 /* We use char because int might match the return type of a gcc2
10522 builtin and then its argument prototype would still apply. */
10523 char pthread_attr_getschedpolicy();
10526 pthread_attr_getschedpolicy()
10529 if { (eval echo configure
:10530: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10531 eval "ac_cv_lib_$ac_lib_var=yes"
10533 echo "configure: failed program was:" >&5
10534 cat conftest.
$ac_ext >&5
10536 eval "ac_cv_lib_$ac_lib_var=no"
10539 LIBS
="$ac_save_LIBS"
10542 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10543 echo "$ac_t""yes" 1>&6
10544 cat >> confdefs.h
<<\EOF
10545 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
10549 echo "$ac_t""no" 1>&6
10550 echo $ac_n "checking for pthread_attr_getschedpolicy in -l"posix4
"""... $ac_c" 1>&6
10551 echo "configure:10552: checking for pthread_attr_getschedpolicy in -l"posix4
"" >&5
10552 ac_lib_var
=`echo "posix4"'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
10553 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10554 echo $ac_n "(cached) $ac_c" 1>&6
10556 ac_save_LIBS
="$LIBS"
10557 LIBS
="-l"posix4
" $LIBS"
10558 cat > conftest.
$ac_ext <<EOF
10559 #line 10560 "configure"
10560 #include "confdefs.h"
10561 /* Override any gcc2 internal prototype to avoid an error. */
10562 /* We use char because int might match the return type of a gcc2
10563 builtin and then its argument prototype would still apply. */
10564 char pthread_attr_getschedpolicy();
10567 pthread_attr_getschedpolicy()
10570 if { (eval echo configure
:10571: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10572 eval "ac_cv_lib_$ac_lib_var=yes"
10574 echo "configure: failed program was:" >&5
10575 cat conftest.
$ac_ext >&5
10577 eval "ac_cv_lib_$ac_lib_var=no"
10580 LIBS
="$ac_save_LIBS"
10583 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10584 echo "$ac_t""yes" 1>&6
10585 cat >> confdefs.h
<<\EOF
10586 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
10588 POSIX4_LINK
="-lposix4"
10590 echo "$ac_t""no" 1>&6
10591 echo "configure: warning: Setting thread priority will not work" 1>&2
10599 echo $ac_n "checking for pthread_cancel in -l$THREADS_LINK""... $ac_c" 1>&6
10600 echo "configure:10601: checking for pthread_cancel in -l$THREADS_LINK" >&5
10601 ac_lib_var
=`echo $THREADS_LINK'_'pthread_cancel | sed 'y%./+-%__p_%'`
10602 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10603 echo $ac_n "(cached) $ac_c" 1>&6
10605 ac_save_LIBS
="$LIBS"
10606 LIBS
="-l$THREADS_LINK $LIBS"
10607 cat > conftest.
$ac_ext <<EOF
10608 #line 10609 "configure"
10609 #include "confdefs.h"
10610 /* Override any gcc2 internal prototype to avoid an error. */
10611 /* We use char because int might match the return type of a gcc2
10612 builtin and then its argument prototype would still apply. */
10613 char pthread_cancel();
10619 if { (eval echo configure
:10620: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10621 eval "ac_cv_lib_$ac_lib_var=yes"
10623 echo "configure: failed program was:" >&5
10624 cat conftest.
$ac_ext >&5
10626 eval "ac_cv_lib_$ac_lib_var=no"
10629 LIBS
="$ac_save_LIBS"
10632 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10633 echo "$ac_t""yes" 1>&6
10634 cat >> confdefs.h
<<\EOF
10635 #define HAVE_PTHREAD_CANCEL 1
10639 echo "$ac_t""no" 1>&6
10640 echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
10644 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
10645 echo "configure:10646: checking for pthread_cleanup_push/pop" >&5
10646 if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
10647 echo $ac_n "(cached) $ac_c" 1>&6
10650 cat > conftest.
$ac_ext <<EOF
10651 #line 10652 "configure"
10652 #include "confdefs.h"
10653 #include <pthread.h>
10656 pthread_cleanup_push(NULL, NULL);
10657 pthread_cleanup_pop(0);
10661 if { (eval echo configure
:10662: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10664 wx_cv_func_pthread_cleanup_push
=yes
10665 cat >> confdefs.h
<<\EOF
10666 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
10671 echo "configure: failed program was:" >&5
10672 cat conftest.
$ac_ext >&5
10675 wx_cv_func_pthread_cleanup_push
=no
10682 echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
10684 THREADS_LINK
="-l$THREADS_LINK"
10689 if test "$wxUSE_THREADS" = "yes"; then
10690 cat >> confdefs.h
<<\EOF
10691 #define wxUSE_THREADS 1
10695 CFLAGS
="${CFLAGS} -D_REENTRANT"
10696 CXXFLAGS
="${CXXFLAGS} -D_REENTRANT"
10698 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
10700 if test "$ac_cv_func_strtok_r" = "yes"; then
10701 unset ac_cv_func_strtok_r
10704 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10705 ac_cpp
='$CXXCPP $CPPFLAGS'
10706 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10707 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10708 cross_compiling
=$ac_cv_prog_cxx_cross
10710 for ac_func
in strtok_r
10712 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10713 echo "configure:10714: checking for $ac_func" >&5
10714 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10715 echo $ac_n "(cached) $ac_c" 1>&6
10717 cat > conftest.
$ac_ext <<EOF
10718 #line 10719 "configure"
10719 #include "confdefs.h"
10720 /* System header to define __stub macros and hopefully few prototypes,
10721 which can conflict with char $ac_func(); below. */
10722 #include <assert.h>
10723 /* Override any gcc2 internal prototype to avoid an error. */
10727 /* We use char because int might match the return type of a gcc2
10728 builtin and then its argument prototype would still apply. */
10733 /* The GNU C library defines this for functions which it implements
10734 to always fail with ENOSYS. Some functions are actually named
10735 something starting with __ and the normal name is an alias. */
10736 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10744 if { (eval echo configure
:10745: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10746 eval "ac_cv_func_$ac_func=yes"
10748 echo "configure: failed program was:" >&5
10749 cat conftest.
$ac_ext >&5
10751 eval "ac_cv_func_$ac_func=no"
10756 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10757 echo "$ac_t""yes" 1>&6
10758 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10759 cat >> confdefs.h
<<EOF
10760 #define $ac_tr_func 1
10764 echo "$ac_t""no" 1>&6
10769 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10770 ac_cpp
='$CPP $CPPFLAGS'
10771 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10772 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10773 cross_compiling
=$ac_cv_prog_cc_cross
10776 if test "$ac_cv_func_strtok_r" != "yes"; then
10777 ac_cv_func_strtok_r
=yes
10778 CFLAGS
="${CFLAGS} -D_REENTRANT"
10779 CXXFLAGS
="${CXXFLAGS} -D_REENTRANT"
10784 if test "$WXGTK12" = 1 ; then
10785 cat >> confdefs.h
<<EOF
10786 #define __WXGTK12__ $WXGTK12
10791 if test "$WXWINE" = 1 ; then
10792 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WXWINE__"
10795 if test "$wxUSE_CYGWIN" = 1 ; then
10796 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WIN95__"
10801 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
10806 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
10807 wxUSE_DEBUG_INFO
=yes
10811 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
10812 cat >> confdefs.h
<<\EOF
10816 WXDEBUG_DEFINE
="-D__WXDEBUG__"
10818 if test "$wxUSE_GTK" = 1 ; then
10819 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
10823 if test "$wxUSE_MEM_TRACING" = "yes" ; then
10824 cat >> confdefs.h
<<\EOF
10825 #define wxUSE_MEMORY_TRACING 1
10828 cat >> confdefs.h
<<\EOF
10829 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
10832 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
10835 if test "$wxUSE_DMALLOC" = "yes" ; then
10836 DMALLOC_LINK
="-ldmalloc"
10840 if test "$wxUSE_PROFILE" = "yes" ; then
10845 if test "$GCC" = yes ; then
10846 if test "$wxUSE_NO_RTTI" = "yes" ; then
10847 WXDEBUG_DEFINE
="$WXDEBUG_DEFINE -fno-rtti"
10849 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
10850 WXDEBUG_DEFINE
="$WXDEBUG_DEFINE -fno-exceptions"
10852 if test "$wxUSE_PERMISSIVE" = "yes" ; then
10853 CFLAGS
="${CFLAGS} -fpermissive"
10854 CXXFLAGS
="${CXXFLAGS} -fpermissive"
10856 if test "$wxUSE_NO_DEPS" = "no" ; then
10857 DEP_INFO_FLAGS
="-MMD"
10862 CXXFLAGS
=`echo "${CXXFLAGS}" | sed "s/\-O.//g" `
10863 CFLAGS
=`echo "${CFLAGS}" | sed "s/\-O.//g" `
10864 if test "$wxUSE_OPTIMISE" = "no" ; then
10867 if test "$GCC" = yes ; then
10870 i586
-*-*|i686
-*-* )
10871 OPTIMISE
="${OPTIMISE} "
10881 if test "$wxUSE_ZLIB" = "yes" ; then
10882 cat >> confdefs.h
<<\EOF
10883 #define wxUSE_ZLIB 1
10886 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
10890 if test "$wxUSE_LIBPNG" = "yes" ; then
10891 cat >> confdefs.h
<<\EOF
10892 #define wxUSE_LIBPNG 1
10895 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
10896 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
10900 if test "$wxUSE_LIBJPEG" = "yes" ; then
10901 cat >> confdefs.h
<<\EOF
10902 #define wxUSE_LIBJPEG 1
10905 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
10908 if test "$wxUSE_OPENGL" = "yes"; then
10909 ac_safe
=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
10910 echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
10911 echo "configure:10912: checking for GL/gl.h" >&5
10912 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10913 echo $ac_n "(cached) $ac_c" 1>&6
10915 cat > conftest.
$ac_ext <<EOF
10916 #line 10917 "configure"
10917 #include "confdefs.h"
10920 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10921 { (eval echo configure
:10922: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10922 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10923 if test -z "$ac_err"; then
10925 eval "ac_cv_header_$ac_safe=yes"
10928 echo "configure: failed program was:" >&5
10929 cat conftest.
$ac_ext >&5
10931 eval "ac_cv_header_$ac_safe=no"
10935 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10936 echo "$ac_t""yes" 1>&6
10938 echo $ac_n "checking for glInitNames in -lGL""... $ac_c" 1>&6
10939 echo "configure:10940: checking for glInitNames in -lGL" >&5
10940 ac_lib_var
=`echo GL'_'glInitNames | sed 'y%./+-%__p_%'`
10941 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10942 echo $ac_n "(cached) $ac_c" 1>&6
10944 ac_save_LIBS
="$LIBS"
10945 LIBS
="-lGL wxUSE_OPENGL=0 $LIBS"
10946 cat > conftest.
$ac_ext <<EOF
10947 #line 10948 "configure"
10948 #include "confdefs.h"
10949 /* Override any gcc2 internal prototype to avoid an error. */
10950 /* We use char because int might match the return type of a gcc2
10951 builtin and then its argument prototype would still apply. */
10952 char glInitNames();
10958 if { (eval echo configure
:10959: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10960 eval "ac_cv_lib_$ac_lib_var=yes"
10962 echo "configure: failed program was:" >&5
10963 cat conftest.
$ac_ext >&5
10965 eval "ac_cv_lib_$ac_lib_var=no"
10968 LIBS
="$ac_save_LIBS"
10971 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10972 echo "$ac_t""yes" 1>&6
10975 cat >> confdefs.h
<<\EOF
10976 #define wxUSE_OPENGL 1
10979 UTILS_SUBDIRS
="$UTILS_SUBDIRS glcanvas/src"
10982 echo "$ac_t""no" 1>&6
10984 echo $ac_n "checking for glInitNames in -lMesaGL""... $ac_c" 1>&6
10985 echo "configure:10986: checking for glInitNames in -lMesaGL" >&5
10986 ac_lib_var
=`echo MesaGL'_'glInitNames | sed 'y%./+-%__p_%'`
10987 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10988 echo $ac_n "(cached) $ac_c" 1>&6
10990 ac_save_LIBS
="$LIBS"
10991 LIBS
="-lMesaGL $LIBS"
10992 cat > conftest.
$ac_ext <<EOF
10993 #line 10994 "configure"
10994 #include "confdefs.h"
10995 /* Override any gcc2 internal prototype to avoid an error. */
10996 /* We use char because int might match the return type of a gcc2
10997 builtin and then its argument prototype would still apply. */
10998 char glInitNames();
11004 if { (eval echo configure
:11005: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11006 eval "ac_cv_lib_$ac_lib_var=yes"
11008 echo "configure: failed program was:" >&5
11009 cat conftest.
$ac_ext >&5
11011 eval "ac_cv_lib_$ac_lib_var=no"
11014 LIBS
="$ac_save_LIBS"
11017 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11018 echo "$ac_t""yes" 1>&6
11020 OPENGL_LINK
="-lMesaGL"
11021 cat >> confdefs.h
<<\EOF
11022 #define wxUSE_OPENGL 1
11025 UTILS_SUBDIRS
="$UTILS_SUBDIRS glcanvas/src"
11028 echo "$ac_t""no" 1>&6
11037 echo "$ac_t""no" 1>&6
11044 if test "$wxUSE_GUI" = "yes"; then
11045 cat >> confdefs.h
<<\EOF
11046 #define wxUSE_GUI 1
11051 cat >> confdefs.h
<<\EOF
11052 #define wxUSE_NOGUI 1
11058 if test "$wxUSE_UNIX" = "yes"; then
11059 cat >> confdefs.h
<<\EOF
11060 #define wxUSE_UNIX 1
11066 if test "$wxUSE_APPLE_IEEE" = "yes"; then
11067 cat >> confdefs.h
<<\EOF
11068 #define wxUSE_APPLE_IEEE 1
11073 if test "$wxUSE_WAVE" = "yes"; then
11074 cat >> confdefs.h
<<\EOF
11075 #define wxUSE_WAVE 1
11080 if test "$wxUSE_FILE" = "yes"; then
11081 cat >> confdefs.h
<<\EOF
11082 #define wxUSE_FILE 1
11087 if test "$wxUSE_FS_INET" = "yes"; then
11088 cat >> confdefs.h
<<\EOF
11089 #define wxUSE_FS_INET 1
11094 if test "$wxUSE_FS_ZIP" = "yes"; then
11095 cat >> confdefs.h
<<\EOF
11096 #define wxUSE_FS_ZIP 1
11101 if test "$wxUSE_ZIPSTREAM" = "yes"; then
11102 cat >> confdefs.h
<<\EOF
11103 #define wxUSE_ZIPSTREAM 1
11108 if test "$wxUSE_BUSYINFO" = "yes"; then
11109 cat >> confdefs.h
<<\EOF
11110 #define wxUSE_BUSYINFO 1
11115 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
11116 cat >> confdefs.h
<<\EOF
11117 #define wxUSE_STD_IOSTREAM 1
11122 if test "$wxUSE_TEXTFILE" = "yes"; then
11123 if test "$wxUSE_FILE" != "yes"; then
11124 echo "configure: warning: wxTextFile requires wxFile and it won't be compiled without it" 1>&2
11126 cat >> confdefs.h
<<\EOF
11127 #define wxUSE_TEXTFILE 1
11133 if test "$wxUSE_CONFIG" = "yes" ; then
11134 if test "$wxUSE_TEXTFILE" != "yes"; then
11135 echo "configure: warning: wxConfig requires wxTextFile and it won't be compiled without it" 1>&2
11137 cat >> confdefs.h
<<\EOF
11138 #define wxUSE_CONFIG 1
11141 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
11145 if test "$wxUSE_INTL" = "yes" ; then
11146 if test "$wxUSE_FILE" != "yes"; then
11147 echo "configure: warning: I18n code requires wxFile and it won't be compiled without it" 1>&2
11149 cat >> confdefs.h
<<\EOF
11150 #define wxUSE_INTL 1
11153 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
11157 if test "$wxUSE_LOG" = "yes"; then
11158 cat >> confdefs.h
<<\EOF
11159 #define wxUSE_LOG 1
11164 if test "$wxUSE_LONGLONG" = "yes"; then
11165 cat >> confdefs.h
<<\EOF
11166 #define wxUSE_LONGLONG 1
11171 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
11172 cat >> confdefs.h
<<\EOF
11173 #define wxUSE_DIALUP_MANAGER 1
11178 if test "$wxUSE_STREAMS" = "yes" ; then
11179 cat >> confdefs.h
<<\EOF
11180 #define wxUSE_STREAMS 1
11185 if test "$wxUSE_SERIAL" = "yes" ; then
11186 cat >> confdefs.h
<<\EOF
11187 #define wxUSE_SERIAL 1
11193 if test "$wxUSE_TIMEDATE" = "yes"; then
11194 for ac_func
in gettimeofday localtime ftime
11196 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11197 echo "configure:11198: checking for $ac_func" >&5
11198 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11199 echo $ac_n "(cached) $ac_c" 1>&6
11201 cat > conftest.
$ac_ext <<EOF
11202 #line 11203 "configure"
11203 #include "confdefs.h"
11204 /* System header to define __stub macros and hopefully few prototypes,
11205 which can conflict with char $ac_func(); below. */
11206 #include <assert.h>
11207 /* Override any gcc2 internal prototype to avoid an error. */
11208 /* We use char because int might match the return type of a gcc2
11209 builtin and then its argument prototype would still apply. */
11214 /* The GNU C library defines this for functions which it implements
11215 to always fail with ENOSYS. Some functions are actually named
11216 something starting with __ and the normal name is an alias. */
11217 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11225 if { (eval echo configure
:11226: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11227 eval "ac_cv_func_$ac_func=yes"
11229 echo "configure: failed program was:" >&5
11230 cat conftest.
$ac_ext >&5
11232 eval "ac_cv_func_$ac_func=no"
11237 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11238 echo "$ac_t""yes" 1>&6
11239 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11240 cat >> confdefs.h
<<EOF
11241 #define $ac_tr_func 1
11245 echo "$ac_t""no" 1>&6
11250 if test "$ac_cv_func_gettimeofday" = "yes"; then
11251 echo $ac_n "checking whether gettimeofday takes two arguments""... $ac_c" 1>&6
11252 echo "configure:11253: checking whether gettimeofday takes two arguments" >&5
11253 if eval "test \"`echo '$''{'wx_cv_func_gettimeofday_has_2_args'+set}'`\" = set"; then
11254 echo $ac_n "(cached) $ac_c" 1>&6
11259 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11260 ac_cpp
='$CXXCPP $CPPFLAGS'
11261 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11262 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11263 cross_compiling
=$ac_cv_prog_cxx_cross
11266 cat > conftest.
$ac_ext <<EOF
11267 #line 11268 "configure"
11268 #include "confdefs.h"
11270 #include <sys/time.h>
11271 #include <unistd.h>
11276 struct timezone tz;
11277 gettimeofday(&tv, &tz);
11281 if { (eval echo configure
:11282: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11283 wx_cv_func_gettimeofday_has_2_args
=yes
11285 echo "configure: failed program was:" >&5
11286 cat conftest.
$ac_ext >&5
11288 cat > conftest.
$ac_ext <<EOF
11289 #line 11290 "configure"
11290 #include "confdefs.h"
11292 #include <sys/time.h>
11293 #include <unistd.h>
11302 if { (eval echo configure
:11303: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11304 wx_cv_func_gettimeofday_has_2_args
=no
11306 echo "configure: failed program was:" >&5
11307 cat conftest.
$ac_ext >&5
11309 wx_cv_func_gettimeofday_has_2_args
=unknown
11317 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11318 ac_cpp
='$CPP $CPPFLAGS'
11319 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11320 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11321 cross_compiling
=$ac_cv_prog_cc_cross
11326 echo "$ac_t""$wx_cv_func_gettimeofday_has_2_args" 1>&6
11328 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
11329 cat >> confdefs.h
<<\EOF
11330 #define WX_GETTIMEOFDAY_NO_TZ 1
11336 cat >> confdefs.h
<<\EOF
11337 #define wxUSE_TIMEDATE 1
11340 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
11344 if test "$wxUSE_SOCKETS" = "yes"; then
11345 echo $ac_n "checking for socket""... $ac_c" 1>&6
11346 echo "configure:11347: checking for socket" >&5
11347 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
11348 echo $ac_n "(cached) $ac_c" 1>&6
11350 cat > conftest.
$ac_ext <<EOF
11351 #line 11352 "configure"
11352 #include "confdefs.h"
11353 /* System header to define __stub macros and hopefully few prototypes,
11354 which can conflict with char socket(); below. */
11355 #include <assert.h>
11356 /* Override any gcc2 internal prototype to avoid an error. */
11357 /* We use char because int might match the return type of a gcc2
11358 builtin and then its argument prototype would still apply. */
11363 /* The GNU C library defines this for functions which it implements
11364 to always fail with ENOSYS. Some functions are actually named
11365 something starting with __ and the normal name is an alias. */
11366 #if defined (__stub_socket) || defined (__stub___socket)
11374 if { (eval echo configure
:11375: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11376 eval "ac_cv_func_socket=yes"
11378 echo "configure: failed program was:" >&5
11379 cat conftest.
$ac_ext >&5
11381 eval "ac_cv_func_socket=no"
11386 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
11387 echo "$ac_t""yes" 1>&6
11390 echo "$ac_t""no" 1>&6
11391 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
11392 echo "configure:11393: checking for socket in -lsocket" >&5
11393 ac_lib_var
=`echo socket'_'socket | sed 'y%./+-%__p_%'`
11394 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11395 echo $ac_n "(cached) $ac_c" 1>&6
11397 ac_save_LIBS
="$LIBS"
11398 LIBS
="-lsocket $LIBS"
11399 cat > conftest.
$ac_ext <<EOF
11400 #line 11401 "configure"
11401 #include "confdefs.h"
11402 /* Override any gcc2 internal prototype to avoid an error. */
11403 /* We use char because int might match the return type of a gcc2
11404 builtin and then its argument prototype would still apply. */
11411 if { (eval echo configure
:11412: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11413 eval "ac_cv_lib_$ac_lib_var=yes"
11415 echo "configure: failed program was:" >&5
11416 cat conftest.
$ac_ext >&5
11418 eval "ac_cv_lib_$ac_lib_var=no"
11421 LIBS
="$ac_save_LIBS"
11424 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11425 echo "$ac_t""yes" 1>&6
11426 INET_LINK
="$INET_LINK -lsocket"
11428 echo "$ac_t""no" 1>&6
11430 echo "configure: warning: socket library not found - sockets will be disabled" 1>&2
11441 if test "$wxUSE_SOCKETS" = "yes" ; then
11444 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11445 ac_cpp
='$CXXCPP $CPPFLAGS'
11446 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11447 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11448 cross_compiling
=$ac_cv_prog_cxx_cross
11450 echo $ac_n "checking the type of the third argument of getsockname""... $ac_c" 1>&6
11451 echo "configure:11452: checking the type of the third argument of getsockname" >&5
11452 cat > conftest.
$ac_ext <<EOF
11453 #line 11454 "configure"
11454 #include "confdefs.h"
11455 #include <sys/socket.h>
11457 socklen_t len; getsockname(0, 0, &len);
11460 if { (eval echo configure
:11461: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11462 cat >> confdefs.h
<<\EOF
11463 #define SOCKLEN_T socklen_t
11465 echo "$ac_t""socklen_t" 1>&6
11467 echo "configure: failed program was:" >&5
11468 cat conftest.
$ac_ext >&5
11470 cat > conftest.
$ac_ext <<EOF
11471 #line 11472 "configure"
11472 #include "confdefs.h"
11473 #include <sys/socket.h>
11475 size_t len; getsockname(0, 0, &len);
11478 if { (eval echo configure
:11479: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11480 cat >> confdefs.h
<<\EOF
11481 #define SOCKLEN_T size_t
11483 echo "$ac_t""size_t" 1>&6
11485 echo "configure: failed program was:" >&5
11486 cat conftest.
$ac_ext >&5
11488 cat > conftest.
$ac_ext <<EOF
11489 #line 11490 "configure"
11490 #include "confdefs.h"
11491 #include <sys/socket.h>
11493 int len; getsockname(0, 0, &len);
11496 if { (eval echo configure
:11497: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11498 cat >> confdefs.h
<<\EOF
11499 #define SOCKLEN_T int
11501 echo "$ac_t""int" 1>&6
11503 echo "configure: failed program was:" >&5
11504 cat conftest.
$ac_ext >&5
11506 echo "$ac_t""unknown" 1>&6
11517 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11518 ac_cpp
='$CPP $CPPFLAGS'
11519 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11520 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11521 cross_compiling
=$ac_cv_prog_cc_cross
11524 cat >> confdefs.h
<<\EOF
11525 #define wxUSE_SOCKETS 1
11528 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wxsocket"
11529 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS protocol"
11533 if test "$wxUSE_JOYSTICK" = 1; then
11534 for ac_hdr
in linux
/joystick.h
11536 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11537 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11538 echo "configure:11539: checking for $ac_hdr" >&5
11539 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11540 echo $ac_n "(cached) $ac_c" 1>&6
11542 cat > conftest.
$ac_ext <<EOF
11543 #line 11544 "configure"
11544 #include "confdefs.h"
11547 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11548 { (eval echo configure
:11549: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11549 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11550 if test -z "$ac_err"; then
11552 eval "ac_cv_header_$ac_safe=yes"
11555 echo "configure: failed program was:" >&5
11556 cat conftest.
$ac_ext >&5
11558 eval "ac_cv_header_$ac_safe=no"
11562 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11563 echo "$ac_t""yes" 1>&6
11564 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11565 cat >> confdefs.h
<<EOF
11566 #define $ac_tr_hdr 1
11570 echo "$ac_t""no" 1>&6
11574 if test "$ac_cv_header_linux_joystick_h" = "yes"; then
11575 cat >> confdefs.h
<<\EOF
11576 #define wxUSE_JOYSTICK 1
11579 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
11586 if test "$wxUSE_DYNLIB_CLASS" = "yes"; then
11587 for ac_func
in dlopen
11589 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11590 echo "configure:11591: checking for $ac_func" >&5
11591 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11592 echo $ac_n "(cached) $ac_c" 1>&6
11594 cat > conftest.
$ac_ext <<EOF
11595 #line 11596 "configure"
11596 #include "confdefs.h"
11597 /* System header to define __stub macros and hopefully few prototypes,
11598 which can conflict with char $ac_func(); below. */
11599 #include <assert.h>
11600 /* Override any gcc2 internal prototype to avoid an error. */
11601 /* We use char because int might match the return type of a gcc2
11602 builtin and then its argument prototype would still apply. */
11607 /* The GNU C library defines this for functions which it implements
11608 to always fail with ENOSYS. Some functions are actually named
11609 something starting with __ and the normal name is an alias. */
11610 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11618 if { (eval echo configure
:11619: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11620 eval "ac_cv_func_$ac_func=yes"
11622 echo "configure: failed program was:" >&5
11623 cat conftest.
$ac_ext >&5
11625 eval "ac_cv_func_$ac_func=no"
11630 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11631 echo "$ac_t""yes" 1>&6
11632 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11633 cat >> confdefs.h
<<EOF
11634 #define $ac_tr_func 1
11637 cat >> confdefs.h
<<\EOF
11638 #define HAVE_DLOPEN 1
11644 echo "$ac_t""no" 1>&6
11645 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
11646 echo "configure:11647: checking for dlopen in -ldl" >&5
11647 ac_lib_var
=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
11648 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11649 echo $ac_n "(cached) $ac_c" 1>&6
11651 ac_save_LIBS
="$LIBS"
11653 cat > conftest.
$ac_ext <<EOF
11654 #line 11655 "configure"
11655 #include "confdefs.h"
11656 /* Override any gcc2 internal prototype to avoid an error. */
11657 /* We use char because int might match the return type of a gcc2
11658 builtin and then its argument prototype would still apply. */
11665 if { (eval echo configure
:11666: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11667 eval "ac_cv_lib_$ac_lib_var=yes"
11669 echo "configure: failed program was:" >&5
11670 cat conftest.
$ac_ext >&5
11672 eval "ac_cv_lib_$ac_lib_var=no"
11675 LIBS
="$ac_save_LIBS"
11678 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11679 echo "$ac_t""yes" 1>&6
11681 cat >> confdefs.h
<<\EOF
11682 #define HAVE_DLOPEN 1
11689 echo "$ac_t""no" 1>&6
11691 for ac_func
in shl_load
11693 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11694 echo "configure:11695: checking for $ac_func" >&5
11695 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11696 echo $ac_n "(cached) $ac_c" 1>&6
11698 cat > conftest.
$ac_ext <<EOF
11699 #line 11700 "configure"
11700 #include "confdefs.h"
11701 /* System header to define __stub macros and hopefully few prototypes,
11702 which can conflict with char $ac_func(); below. */
11703 #include <assert.h>
11704 /* Override any gcc2 internal prototype to avoid an error. */
11705 /* We use char because int might match the return type of a gcc2
11706 builtin and then its argument prototype would still apply. */
11711 /* The GNU C library defines this for functions which it implements
11712 to always fail with ENOSYS. Some functions are actually named
11713 something starting with __ and the normal name is an alias. */
11714 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11722 if { (eval echo configure
:11723: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11724 eval "ac_cv_func_$ac_func=yes"
11726 echo "configure: failed program was:" >&5
11727 cat conftest.
$ac_ext >&5
11729 eval "ac_cv_func_$ac_func=no"
11734 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11735 echo "$ac_t""yes" 1>&6
11736 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11737 cat >> confdefs.h
<<EOF
11738 #define $ac_tr_func 1
11741 cat >> confdefs.h
<<\EOF
11742 #define HAVE_SHL_LOAD 1
11748 echo "$ac_t""no" 1>&6
11760 if test "$HAVE_DL_FUNCS" = 0; then
11761 if test "$HAVE_SHL_FUNCS" = 0; then
11762 if test "$USE_UNIX" = 1; then
11763 echo "configure: warning: "--with-dynlib and
--with-odbc will be disabled due to missing shared library support
"" 1>&2
11765 wxUSE_DYNLIB_CLASS
=no
11767 echo "configure: warning: "Cannot check dynlib requirements on non
-Unix platforms. dynlib remains enabled.
"" 1>&2
11773 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
11774 cat >> confdefs.h
<<\EOF
11775 #define wxUSE_DYNLIB_CLASS 1
11781 if test "$wxUSE_UNICODE" = "yes" ; then
11782 cat >> confdefs.h
<<\EOF
11783 #define wxUSE_UNICODE 1
11788 if test "$wxUSE_WCSRTOMBS" = "yes" ; then
11789 cat >> confdefs.h
<<\EOF
11790 #define wxUSE_WCSRTOMBS 1
11795 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
11796 cat >> confdefs.h
<<\EOF
11797 #define wxUSE_EXPERIMENTAL_PRINTF 1
11804 if test "$wxUSE_ODBC" = "yes" ; then
11805 cat >> confdefs.h
<<\EOF
11806 #define wxUSE_ODBC 1
11809 WXODBCFLAG
="-D_IODBC_"
11810 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
11811 IODBCOBJS
="\$(IODBC_OBJS)"
11817 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
11818 cat >> confdefs.h
<<\EOF
11819 #define wxUSE_POSTSCRIPT 1
11824 cat >> confdefs.h
<<\EOF
11825 #define wxUSE_AFM_FOR_POSTSCRIPT 1
11829 cat >> confdefs.h
<<\EOF
11830 #define wxUSE_NORMALIZED_PS_FONTS 1
11835 if test "$wxUSE_CONSTRAINTS" = "yes"; then
11836 cat >> confdefs.h
<<\EOF
11837 #define wxUSE_CONSTRAINTS 1
11840 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
11843 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
11844 cat >> confdefs.h
<<\EOF
11845 #define wxUSE_MDI_ARCHITECTURE 1
11848 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
11851 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
11852 cat >> confdefs.h
<<\EOF
11853 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
11856 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
11857 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
11858 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
11862 if test "$wxUSE_HELP" = "yes"; then
11863 cat >> confdefs.h
<<\EOF
11864 #define wxUSE_HELP 1
11867 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
11870 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
11871 if test "$wxUSE_CONSTRAINTS" != "yes"; then
11872 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
11874 cat >> confdefs.h
<<\EOF
11875 #define wxUSE_PRINTING_ARCHITECTURE 1
11879 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
11882 if test "$wxUSE_PROLOGIO" = "yes" ; then
11883 cat >> confdefs.h
<<\EOF
11884 #define wxUSE_PROLOGIO 1
11889 if test "$wxUSE_RESOURCES" = "yes" ; then
11890 if test "$wxUSE_PROLOGIO" = "yes" ; then
11891 cat >> confdefs.h
<<\EOF
11892 #define wxUSE_RESOURCES 1
11895 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS resource"
11897 echo "configure: warning: wxWindows ressource system requires PrologIO and can't be compiled without it." 1>&2
11901 if test "$wxUSE_X_RESOURCES" = "yes"; then
11902 cat >> confdefs.h
<<\EOF
11903 #define wxUSE_X_RESOURCES 1
11909 if test "$wxUSE_IPC" = "yes"; then
11910 cat >> confdefs.h
<<\EOF
11911 #define wxUSE_IPC 1
11916 if test "$wxUSE_CLIPBOARD" = "yes"; then
11917 cat >> confdefs.h
<<\EOF
11918 #define wxUSE_CLIPBOARD 1
11923 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
11924 if test "$wxUSE_GTK" = 1; then
11925 if test "$WXGTK12" != 1; then
11926 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2" 1>&2
11927 wxUSE_DRAG_AND_DROP
=no
11931 if test "$wxUSE_MOTIF" = 1; then
11932 echo "configure: warning: Drag and drop is not yet supported under Motif" 1>&2
11933 wxUSE_DRAG_AND_DROP
=no
11936 if test "$USE_WIN32" = 1; then
11937 for ac_hdr
in ole2.h
11939 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11940 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11941 echo "configure:11942: checking for $ac_hdr" >&5
11942 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11943 echo $ac_n "(cached) $ac_c" 1>&6
11945 cat > conftest.
$ac_ext <<EOF
11946 #line 11947 "configure"
11947 #include "confdefs.h"
11950 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11951 { (eval echo configure
:11952: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11952 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11953 if test -z "$ac_err"; then
11955 eval "ac_cv_header_$ac_safe=yes"
11958 echo "configure: failed program was:" >&5
11959 cat conftest.
$ac_ext >&5
11961 eval "ac_cv_header_$ac_safe=no"
11965 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11966 echo "$ac_t""yes" 1>&6
11967 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11968 cat >> confdefs.h
<<EOF
11969 #define $ac_tr_hdr 1
11973 echo "$ac_t""no" 1>&6
11977 if test "x$HAVE_OLE2_H" = x
; then
11978 echo "configure: warning: Drag and drop disabled because OLE headers not found" 1>&2
11979 wxUSE_DRAG_AND_DROP
=no
11983 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
11984 cat >> confdefs.h
<<\EOF
11985 #define wxUSE_DRAG_AND_DROP 1
11988 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
11993 if test "$wxUSE_SPLINES" = "yes" ; then
11994 cat >> confdefs.h
<<\EOF
11995 #define wxUSE_SPLINES 1
12001 if test "$wxUSE_ACCEL" = "yes"; then
12002 cat >> confdefs.h
<<\EOF
12003 #define wxUSE_ACCEL 1
12008 if test "$wxUSE_CARET" = "yes"; then
12009 cat >> confdefs.h
<<\EOF
12010 #define wxUSE_CARET 1
12013 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
12016 if test "$wxUSE_COMBOBOX" = "yes"; then
12017 cat >> confdefs.h
<<\EOF
12018 #define wxUSE_COMBOBOX 1
12023 if test "$wxUSE_CHOICE" = "yes"; then
12024 cat >> confdefs.h
<<\EOF
12025 #define wxUSE_CHOICE 1
12030 if test "$wxUSE_BMPBUTTON" = "yes"; then
12031 cat >> confdefs.h
<<\EOF
12032 #define wxUSE_BMPBUTTON 1
12037 if test "$wxUSE_CHECKBOX" = "yes"; then
12038 cat >> confdefs.h
<<\EOF
12039 #define wxUSE_CHECKBOX 1
12044 if test "$wxUSE_CHECKLST" = "yes"; then
12045 cat >> confdefs.h
<<\EOF
12046 #define wxUSE_CHECKLISTBOX 1
12049 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
12052 if test "$wxUSE_GAUGE" = "yes"; then
12053 cat >> confdefs.h
<<\EOF
12054 #define wxUSE_GAUGE 1
12059 if test "$wxUSE_GRID" = "yes"; then
12060 cat >> confdefs.h
<<\EOF
12061 #define wxUSE_GRID 1
12064 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
12067 if test "$wxUSE_NEW_GRID" = "yes"; then
12068 cat >> confdefs.h
<<\EOF
12069 #define wxUSE_NEW_GRID 1
12072 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS newgrid"
12075 if test "$wxUSE_IMAGLIST" = "yes"; then
12076 cat >> confdefs.h
<<\EOF
12077 #define wxUSE_IMAGLIST 1
12082 if test "$wxUSE_LISTBOX" = "yes"; then
12083 cat >> confdefs.h
<<\EOF
12084 #define wxUSE_LISTBOX 1
12089 if test "$wxUSE_LISTCTRL" = "yes"; then
12090 if test "$wxUSE_IMAGLIST" = "yes"; then
12091 cat >> confdefs.h
<<\EOF
12092 #define wxUSE_LISTCTRL 1
12095 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
12097 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
12101 if test "$wxUSE_NOTEBOOK" = "yes"; then
12102 cat >> confdefs.h
<<\EOF
12103 #define wxUSE_NOTEBOOK 1
12106 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
12109 if test "$wxUSE_RADIOBOX" = "yes"; then
12110 cat >> confdefs.h
<<\EOF
12111 #define wxUSE_RADIOBOX 1
12116 if test "$wxUSE_RADIOBTN" = "yes"; then
12117 cat >> confdefs.h
<<\EOF
12118 #define wxUSE_RADIOBTN 1
12123 if test "$wxUSE_SASH" = "yes"; then
12124 cat >> confdefs.h
<<\EOF
12125 #define wxUSE_SASH 1
12128 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
12131 if test "$wxUSE_SCROLLBAR" = "yes"; then
12132 cat >> confdefs.h
<<\EOF
12133 #define wxUSE_SCROLLBAR 1
12136 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll"
12139 if test "$wxUSE_SLIDER" = "yes"; then
12140 cat >> confdefs.h
<<\EOF
12141 #define wxUSE_SLIDER 1
12146 if test "$wxUSE_SPINBTN" = "yes"; then
12147 cat >> confdefs.h
<<\EOF
12148 #define wxUSE_SPINBTN 1
12153 if test "$wxUSE_SPLITTER" = "yes"; then
12154 cat >> confdefs.h
<<\EOF
12155 #define wxUSE_SPLITTER 1
12158 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
12161 if test "$wxUSE_STATBMP" = "yes"; then
12162 cat >> confdefs.h
<<\EOF
12163 #define wxUSE_STATBMP 1
12168 if test "$wxUSE_STATBOX" = "yes"; then
12169 cat >> confdefs.h
<<\EOF
12170 #define wxUSE_STATBOX 1
12175 if test "$wxUSE_STATLINE" = "yes"; then
12176 if test "$wxUSE_WINE" = 1 ; then
12177 echo "configure: warning: wxStaticLine is not supported under WINE" 1>&2
12179 cat >> confdefs.h
<<\EOF
12180 #define wxUSE_STATLINE 1
12186 if test "$wxUSE_STATUSBAR" = "yes"; then
12187 cat >> confdefs.h
<<\EOF
12188 #define wxUSE_STATUSBAR 1
12193 if test "$wxUSE_TABDIALOG" = "yes"; then
12194 cat >> confdefs.h
<<\EOF
12195 #define wxUSE_TAB_DIALOG 1
12198 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
12201 if test "$wxUSE_TOOLBAR" = "yes"; then
12202 cat >> confdefs.h
<<\EOF
12203 #define wxUSE_TOOLBAR 1
12206 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
12209 if test "$wxUSE_TOOLTIPS" = "yes"; then
12210 if test "$wxUSE_MOTIF" = 1; then
12211 echo "configure: warning: wxTooltip not supported yet under Motif" 1>&2
12213 if test "$wxUSE_WINE" = 1; then
12214 echo "configure: warning: wxTooltip not supported under WINE" 1>&2
12216 cat >> confdefs.h
<<\EOF
12217 #define wxUSE_TOOLTIPS 1
12224 if test "$wxUSE_TREECTRL" = "yes"; then
12225 if test "$wxUSE_IMAGLIST" = "yes"; then
12226 cat >> confdefs.h
<<\EOF
12227 #define wxUSE_TREECTRL 1
12230 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
12232 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
12238 if test "$wxUSE_METAFILE" = "yes"; then
12239 cat >> confdefs.h
<<\EOF
12240 #define wxUSE_METAFILE 1
12245 if test "$wxUSE_DIRDLG" = "yes"; then
12246 if test "$wxUSE_CONSTRAINTS" != "yes"; then
12247 echo "configure: warning: wxDirDialog requires constraints so it won't be compiled without them" 1>&2
12249 if test "$wxUSE_TREECTRL" != "yes"; then
12250 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
12252 cat >> confdefs.h
<<\EOF
12253 #define wxUSE_DIRDLG 1
12260 if test "$wxUSE_TEXTDLG" = "yes"; then
12261 cat >> confdefs.h
<<\EOF
12262 #define wxUSE_TEXTDLG 1
12267 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
12268 if test "$wxUSE_CONSTRAINTS" != "yes"; then
12269 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
12271 cat >> confdefs.h
<<\EOF
12272 #define wxUSE_STARTUP_TIPS 1
12278 if test "$wxUSE_PROGRESSDLG" = "yes"; then
12279 if test "$wxUSE_CONSTRAINTS" != "yes"; then
12280 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
12282 cat >> confdefs.h
<<\EOF
12283 #define wxUSE_PROGRESSDLG 1
12289 if test "$wxUSE_MINIFRAME" = "yes"; then
12290 cat >> confdefs.h
<<\EOF
12291 #define wxUSE_MINIFRAME 1
12294 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
12297 if test "$wxUSE_HTML" = "yes"; then
12298 cat >> confdefs.h
<<\EOF
12299 #define wxUSE_HTML 1
12302 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html"
12303 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS html"
12306 if test "$wxUSE_VALIDATORS" = "yes"; then
12307 cat >> confdefs.h
<<\EOF
12308 #define wxUSE_VALIDATORS 1
12311 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
12314 if test "$wxUSE_GIF" = "yes" ; then
12315 cat >> confdefs.h
<<\EOF
12316 #define wxUSE_GIF 1
12321 if test "$wxUSE_PCX" = "yes" ; then
12322 cat >> confdefs.h
<<\EOF
12323 #define wxUSE_PCX 1
12328 if test "$wxUSE_PNM" = "yes" ; then
12329 cat >> confdefs.h
<<\EOF
12330 #define wxUSE_PNM 1
12336 GUILIBS
="$GUI_TK_LIBRARY $OPENGL_LINK $LIBPNG_LINK $ZLIB_LINK $TOOLKIT_LINK"
12338 EXTRA_LIBS
="$LIBS $POSIX4_LINK $INET_LINK $WCHAR_LINK $THREADS_LINK $DMALLOC_LINK $DL_LINK"
12339 if test "$wxUSE_GUI" = "yes"; then
12340 EXTRA_LIBS
="$EXTRA_LIBS $GUILIBS"
12343 LD_LIBS
="\${top_builddir}/lib/${WX_LIBRARY_NAME_STATIC} $EXTRA_LIBS"
12345 INCLUDES
="-I. -I\${top_builddir}/include -I\${top_srcdir}/include $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TOOLKIT_INCLUDE"
12347 if test "$GXX" = yes ; then
12348 CXXWARNINGS
="-Wall"
12350 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE $INCLUDES"
12352 CFLAGS
=`echo $CFLAGS $EXTRA_CFLAGS | sed 's/ \\+/ /g'`
12353 CXXFLAGS
=`echo $CXXFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
12355 if test "$wxUSE_GUI" = "yes"; then
12357 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS bombs controls dialogs drawing dynamic \
12358 forty fractal image wxpoem"
12363 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '`"
12418 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
12419 echo "configure:12420: checking whether ${MAKE-make} sets \${MAKE}" >&5
12420 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
12421 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
12422 echo $ac_n "(cached) $ac_c" 1>&6
12424 cat > conftestmake
<<\EOF
12426 @
echo 'ac_maketemp="${MAKE}"'
12428 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
12429 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
12430 if test -n "$ac_maketemp"; then
12431 eval ac_cv_prog_make_
${ac_make}_set
=yes
12433 eval ac_cv_prog_make_
${ac_make}_set
=no
12437 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
12438 echo "$ac_t""yes" 1>&6
12441 echo "$ac_t""no" 1>&6
12442 SET_MAKE
="MAKE=${MAKE-make}"
12448 if test "${TOOLKIT_DIR}" = "msw" ; then
12449 GL_TOOLKIT_DIR
="win"
12451 GL_TOOLKIT_DIR
="${TOOLKIT_DIR}"
12456 cat > confcache
<<\EOF
12457 # This file is a shell script that caches the results of configure
12458 # tests run on this system so they can be shared between configure
12459 # scripts and configure runs. It is not useful on other systems.
12460 # If it contains results you don't want to keep, you may remove or edit it.
12462 # By default, configure uses ./config.cache as the cache file,
12463 # creating it if it does not exist already. You can give configure
12464 # the --cache-file=FILE option to use a different cache file; that is
12465 # what configure does when it calls configure scripts in
12466 # subdirectories, so they share the cache.
12467 # Giving --cache-file=/dev/null disables caching, for debugging configure.
12468 # config.status only pays attention to the cache file if you give it the
12469 # --recheck option to rerun configure.
12472 # The following way of writing the cache mishandles newlines in values,
12473 # but we know of no workaround that is simple, portable, and efficient.
12474 # So, don't put newlines in cache variables' values.
12475 # Ultrix sh set writes to stderr and can't be redirected directly,
12476 # and sets the high bit in the cache file unless we assign to the vars.
12478 case `(ac_space=' '; set | grep ac_space) 2>&1` in
12480 # `set' does not quote correctly, so add quotes (double-quote substitution
12481 # turns \\\\ into \\, and sed turns \\ into \).
12483 -e "s/'/'\\\\''/g" \
12484 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
12487 # `set' quotes correctly as required by POSIX, so do not add quotes.
12488 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
12491 if cmp -s $cache_file confcache
; then
12494 if test -w $cache_file; then
12495 echo "updating cache $cache_file"
12496 cat confcache
> $cache_file
12498 echo "not updating unwritable cache $cache_file"
12503 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
12505 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
12506 # Let make expand exec_prefix.
12507 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
12509 # Any assignment to VPATH causes Sun make to only execute
12510 # the first set of double-colon rules, so remove it if not needed.
12511 # If there is a colon in the path, we need to keep it.
12512 if test "x$srcdir" = x.
; then
12513 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
12516 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
12518 DEFS
=-DHAVE_CONFIG_H
12520 # Without the "./", some shells look in PATH for config.status.
12521 : ${CONFIG_STATUS=./config.status}
12523 echo creating
$CONFIG_STATUS
12524 rm -f $CONFIG_STATUS
12525 cat > $CONFIG_STATUS <<EOF
12527 # Generated automatically by configure.
12528 # Run this file to recreate the current configuration.
12529 # This directory was configured as follows,
12530 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
12532 # $0 $ac_configure_args
12534 # Compiler output produced by configure, useful for debugging
12535 # configure, is in ./config.log if it exists.
12537 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
12540 case "\$ac_option" in
12541 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
12542 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
12543 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
12544 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
12545 echo "$CONFIG_STATUS generated by autoconf version 2.13"
12547 -help | --help | --hel | --he | --h)
12548 echo "\$ac_cs_usage"; exit 0 ;;
12549 *) echo "\$ac_cs_usage"; exit 1 ;;
12553 ac_given_srcdir=$srcdir
12554 ac_given_INSTALL="$INSTALL"
12556 trap 'rm -fr `echo "
12563 samples/bombs/Makefile
12564 samples/caret/Makefile
12565 samples/checklst/Makefile
12566 samples/config/Makefile
12567 samples/controls/Makefile
12568 samples/db/Makefile
12569 samples/dialogs/Makefile
12570 samples/docview/Makefile
12571 samples/docvwmdi/Makefile
12572 samples/dnd/Makefile
12573 samples/drawing/Makefile
12574 samples/forty/Makefile
12575 samples/fractal/Makefile
12576 samples/image/Makefile
12577 samples/internat/Makefile
12578 samples/layout/Makefile
12579 samples/listctrl/Makefile
12580 samples/mdi/Makefile
12581 samples/minifram/Makefile
12582 samples/minimal/Makefile
12583 samples/nettest/Makefile
12584 samples/newgrid/Makefile
12585 samples/notebook/Makefile
12586 samples/png/Makefile
12587 samples/printing/Makefile
12588 samples/proplist/Makefile
12589 samples/richedit/Makefile
12590 samples/resource/Makefile
12591 samples/sashtest/Makefile
12592 samples/scroll/Makefile
12593 samples/scrollsub/Makefile
12594 samples/splitter/Makefile
12595 samples/text/Makefile
12596 samples/thread/Makefile
12597 samples/toolbar/Makefile
12598 samples/treectrl/Makefile
12599 samples/typetest/Makefile
12600 samples/validate/Makefile
12601 samples/wxpoem/Makefile
12602 samples/wxsocket/Makefile
12603 samples/wizard/Makefile
12604 samples/html/Makefile
12605 samples/html/about/Makefile
12606 samples/html/help/Makefile
12607 samples/html/printing/Makefile
12608 samples/html/helpview/Makefile
12609 samples/html/test/Makefile
12610 samples/html/zip/Makefile
12611 samples/html/virtual/Makefile
12612 samples/html/widget/Makefile
12614 utils/wxMMedia2/Makefile
12615 utils/wxMMedia2/lib/Makefile
12616 utils/wxMMedia2/sample/Makefile
12617 utils/glcanvas/Makefile
12618 utils/glcanvas/${GL_TOOLKIT_DIR}/Makefile
12620 utils/ogl/src/Makefile
12621 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
12623 cat >> $CONFIG_STATUS <<EOF
12625 # Protect against being on the right side of a sed subst in config.status.
12626 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
12627 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
12631 s%@CFLAGS@%$CFLAGS%g
12632 s%@CPPFLAGS@%$CPPFLAGS%g
12633 s%@CXXFLAGS@%$CXXFLAGS%g
12634 s%@FFLAGS@%$FFLAGS%g
12636 s%@LDFLAGS@%$LDFLAGS%g
12638 s%@exec_prefix@%$exec_prefix%g
12639 s%@prefix@%$prefix%g
12640 s%@program_transform_name@%$program_transform_name%g
12641 s%@bindir@%$bindir%g
12642 s%@sbindir@%$sbindir%g
12643 s%@libexecdir@%$libexecdir%g
12644 s%@datadir@%$datadir%g
12645 s%@sysconfdir@%$sysconfdir%g
12646 s%@sharedstatedir@%$sharedstatedir%g
12647 s%@localstatedir@%$localstatedir%g
12648 s%@libdir@%$libdir%g
12649 s%@includedir@%$includedir%g
12650 s%@oldincludedir@%$oldincludedir%g
12651 s%@infodir@%$infodir%g
12652 s%@mandir@%$mandir%g
12654 s%@host_alias@%$host_alias%g
12655 s%@host_cpu@%$host_cpu%g
12656 s%@host_vendor@%$host_vendor%g
12657 s%@host_os@%$host_os%g
12658 s%@target@%$target%g
12659 s%@target_alias@%$target_alias%g
12660 s%@target_cpu@%$target_cpu%g
12661 s%@target_vendor@%$target_vendor%g
12662 s%@target_os@%$target_os%g
12664 s%@build_alias@%$build_alias%g
12665 s%@build_cpu@%$build_cpu%g
12666 s%@build_vendor@%$build_vendor%g
12667 s%@build_os@%$build_os%g
12671 s%@CXXCPP@%$CXXCPP%g
12672 s%@RANLIB@%$RANLIB%g
12674 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
12675 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
12676 s%@INSTALL_DATA@%$INSTALL_DATA%g
12680 s%@LEXLIB@%$LEXLIB%g
12682 s%@GTK_CONFIG@%$GTK_CONFIG%g
12683 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
12684 s%@GTK_LIBS@%$GTK_LIBS%g
12685 s%@X_CFLAGS@%$X_CFLAGS%g
12686 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
12687 s%@X_LIBS@%$X_LIBS%g
12688 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
12689 s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
12690 s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
12691 s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
12692 s%@WX_LIBRARY_NAME@%$WX_LIBRARY_NAME%g
12693 s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
12694 s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
12695 s%@WX_LIBRARY@%$WX_LIBRARY%g
12696 s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
12697 s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
12698 s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
12699 s%@WX_LIBRARY_LINK3@%$WX_LIBRARY_LINK3%g
12700 s%@PROGRAM_EXT@%$PROGRAM_EXT%g
12701 s%@WX_ALL@%$WX_ALL%g
12702 s%@WX_ALL_INSTALLED@%$WX_ALL_INSTALLED%g
12703 s%@SHARED_LD@%$SHARED_LD%g
12704 s%@PIC_FLAG@%$PIC_FLAG%g
12705 s%@DEP_INFO_FLAGS@%$DEP_INFO_FLAGS%g
12706 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
12707 s%@TOOLKIT@%$TOOLKIT%g
12708 s%@TOOLKIT_DEF@%$TOOLKIT_DEF%g
12709 s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
12710 s%@TOOLKIT_INCLUDE@%$TOOLKIT_INCLUDE%g
12711 s%@GUIHEADERS@%$GUIHEADERS%g
12712 s%@GUIOBJS@%$GUIOBJS%g
12713 s%@COMMONOBJS@%$COMMONOBJS%g
12714 s%@GENERICOBJS@%$GENERICOBJS%g
12715 s%@GUIDEPS@%$GUIDEPS%g
12716 s%@COMMONDEPS@%$COMMONDEPS%g
12717 s%@GENERICDEPS@%$GENERICDEPS%g
12718 s%@IODBCOBJS@%$IODBCOBJS%g
12719 s%@UNIXOBJS@%$UNIXOBJS%g
12720 s%@UNIXDEPS@%$UNIXDEPS%g
12721 s%@ALL_OBJECTS@%$ALL_OBJECTS%g
12722 s%@ALL_DEPFILES@%$ALL_DEPFILES%g
12723 s%@ALL_HEADERS@%$ALL_HEADERS%g
12724 s%@GUIDIST@%$GUIDIST%g
12725 s%@SRC_SUBDIRS@%$SRC_SUBDIRS%g
12726 s%@INCLUDE_SUBDIRS@%$INCLUDE_SUBDIRS%g
12727 s%@UTILS_SUBDIRS@%$UTILS_SUBDIRS%g
12728 s%@DOCS_SUBDIRS@%$DOCS_SUBDIRS%g
12729 s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
12730 s%@USER_SUBDIRS@%$USER_SUBDIRS%g
12731 s%@EXTRA_LIBS@%$EXTRA_LIBS%g
12732 s%@LD_LIBS@%$LD_LIBS%g
12733 s%@SET_MAKE@%$SET_MAKE%g
12734 s%@GL_TOOLKIT_DIR@%$GL_TOOLKIT_DIR%g
12739 cat >> $CONFIG_STATUS <<\EOF
12741 # Split the substitutions into bite-sized pieces for seds with
12742 # small command number limits, like on Digital OSF/1 and HP-UX.
12743 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
12744 ac_file
=1 # Number of current file.
12745 ac_beg
=1 # First line for current file.
12746 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
12749 while $ac_more_lines; do
12750 if test $ac_beg -gt 1; then
12751 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
12753 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
12755 if test ! -s conftest.s
$ac_file; then
12756 ac_more_lines
=false
12757 rm -f conftest.s
$ac_file
12759 if test -z "$ac_sed_cmds"; then
12760 ac_sed_cmds
="sed -f conftest.s$ac_file"
12762 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
12764 ac_file
=`expr $ac_file + 1`
12766 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
12769 if test -z "$ac_sed_cmds"; then
12774 cat >> $CONFIG_STATUS <<EOF
12776 CONFIG_FILES=\${CONFIG_FILES-"wx-config
12782 samples/bombs/Makefile
12783 samples/caret/Makefile
12784 samples/checklst/Makefile
12785 samples/config/Makefile
12786 samples/controls/Makefile
12787 samples/db/Makefile
12788 samples/dialogs/Makefile
12789 samples/docview/Makefile
12790 samples/docvwmdi/Makefile
12791 samples/dnd/Makefile
12792 samples/drawing/Makefile
12793 samples/forty/Makefile
12794 samples/fractal/Makefile
12795 samples/image/Makefile
12796 samples/internat/Makefile
12797 samples/layout/Makefile
12798 samples/listctrl/Makefile
12799 samples/mdi/Makefile
12800 samples/minifram/Makefile
12801 samples/minimal/Makefile
12802 samples/nettest/Makefile
12803 samples/newgrid/Makefile
12804 samples/notebook/Makefile
12805 samples/png/Makefile
12806 samples/printing/Makefile
12807 samples/proplist/Makefile
12808 samples/richedit/Makefile
12809 samples/resource/Makefile
12810 samples/sashtest/Makefile
12811 samples/scroll/Makefile
12812 samples/scrollsub/Makefile
12813 samples/splitter/Makefile
12814 samples/text/Makefile
12815 samples/thread/Makefile
12816 samples/toolbar/Makefile
12817 samples/treectrl/Makefile
12818 samples/typetest/Makefile
12819 samples/validate/Makefile
12820 samples/wxpoem/Makefile
12821 samples/wxsocket/Makefile
12822 samples/wizard/Makefile
12823 samples/html/Makefile
12824 samples/html/about/Makefile
12825 samples/html/help/Makefile
12826 samples/html/printing/Makefile
12827 samples/html/helpview/Makefile
12828 samples/html/test/Makefile
12829 samples/html/zip/Makefile
12830 samples/html/virtual/Makefile
12831 samples/html/widget/Makefile
12833 utils/wxMMedia2/Makefile
12834 utils/wxMMedia2/lib/Makefile
12835 utils/wxMMedia2/sample/Makefile
12836 utils/glcanvas/Makefile
12837 utils/glcanvas/${GL_TOOLKIT_DIR}/Makefile
12839 utils/ogl/src/Makefile
12842 cat >> $CONFIG_STATUS <<\EOF
12843 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
12844 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
12846 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
12847 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
12848 *) ac_file_in
="${ac_file}.in" ;;
12851 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
12853 # Remove last slash and all that follows it. Not all systems have dirname.
12854 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
12855 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
12856 # The file is in a subdirectory.
12857 test ! -d "$ac_dir" && mkdir "$ac_dir"
12858 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
12859 # A "../" for each directory in $ac_dir_suffix.
12860 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
12862 ac_dir_suffix
= ac_dots
=
12865 case "$ac_given_srcdir" in
12867 if test -z "$ac_dots"; then top_srcdir
=.
12868 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
12869 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
12870 *) # Relative path.
12871 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
12872 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
12875 case "$ac_given_INSTALL" in
12876 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
12877 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
12880 echo creating
"$ac_file"
12882 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
12884 *Makefile
*) ac_comsub
="1i\\
12885 # $configure_input" ;;
12889 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
12891 s%@configure_input@%$configure_input%g
12892 s%@srcdir@%$srcdir%g
12893 s%@top_srcdir@%$top_srcdir%g
12894 s%@INSTALL@%$INSTALL%g
12895 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
12899 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
12900 # NAME is the cpp macro being defined and VALUE is the value it is being given.
12902 # ac_d sets the value in "#define NAME VALUE" lines.
12903 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
12904 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
12907 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
12908 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
12909 ac_uB
='\([ ]\)%\1#\2define\3'
12912 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
12913 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
12914 ac_eB
='$%\1#\2define\3'
12918 if test "${CONFIG_HEADERS+set}" != set; then
12920 cat >> $CONFIG_STATUS <<EOF
12921 CONFIG_HEADERS="setup.h:setup.h.in"
12923 cat >> $CONFIG_STATUS <<\EOF
12925 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
12926 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
12928 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
12929 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
12930 *) ac_file_in
="${ac_file}.in" ;;
12933 echo creating
$ac_file
12935 rm -f conftest.frag conftest.
in conftest.out
12936 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
12937 cat $ac_file_inputs > conftest.
in
12941 # Transform confdefs.h into a sed script conftest.vals that substitutes
12942 # the proper values into config.h.in to produce config.h. And first:
12943 # Protect against being on the right side of a sed subst in config.status.
12944 # Protect against being in an unquoted here document in config.status.
12945 rm -f conftest.vals
12946 cat > conftest.hdr
<<\EOF
12949 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
12953 sed -n -f conftest.hdr confdefs.h > conftest.vals
12956 # This sed command replaces #undef with comments. This is necessary, for
12957 # example, in the case of _POSIX_SOURCE, which is predefined and required
12958 # on some systems where configure will not decide to define it.
12959 cat >> conftest.vals <<\EOF
12960 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
12963 # Break up conftest.vals because some shells have a limit on
12964 # the size of here documents, and old seds have small limits too.
12966 rm -f conftest.tail
12969 ac_lines=`grep -c . conftest.vals
`
12970 # grep -c gives empty output for an empty file on some AIX systems.
12971 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
12972 # Write a limited-size here document to conftest.frag.
12973 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
12974 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
12976 sed -f conftest.frag conftest.in > conftest.out
12978 mv conftest.out conftest.in
12979 ' >> $CONFIG_STATUS
12980 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
12981 rm -f conftest.vals
12982 mv conftest.tail conftest.vals
12984 rm -f conftest.vals
12986 cat >> $CONFIG_STATUS <<\EOF
12987 rm -f conftest.frag conftest.h
12988 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
12989 cat conftest.in >> conftest.h
12991 if cmp -s $ac_file conftest.h 2>/dev/null; then
12992 echo "$ac_file is unchanged"
12995 # Remove last slash and all that follows it. Not all systems have dirname.
12996 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
12997 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
12998 # The file is in a subdirectory.
12999 test ! -d "$ac_dir" && mkdir "$ac_dir"
13002 mv conftest.h $ac_file
13007 cat >> $CONFIG_STATUS <<EOF
13009 TOOLKIT_DIR="${TOOLKIT_DIR}"
13013 cat >> $CONFIG_STATUS <<\EOF
13016 if test ! -d include; then
13019 if test ! -d include/wx; then
13022 if test ! -d include/wx/${TOOLKIT_DIR}; then
13023 mkdir include/wx/${TOOLKIT_DIR}
13025 if test -f setup.h; then
13026 mv -f setup.h include/wx/${TOOLKIT_DIR}/setup.h
13031 chmod +x $CONFIG_STATUS
13032 rm -fr confdefs* $ac_clean_files
13033 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1