3 # From configure.in Id: configure.in
40 # Guess values for system-dependent variables and create Makefiles.
41 # Generated automatically using autoconf version 2.14
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-spinctrl use wxSpinCtrl class"
224 --enable-splitter use wxSplitterWindow class"
226 --enable-statbmp use wxStaticBitmap class"
228 --enable-statbox use wxStaticBox class"
230 --enable-statline use wxStaticLine class"
232 --enable-statusbar use wxStatusBar class"
234 --enable-tabdialog use wxTabControl class"
236 --enable-toolbar use wxToolBar class"
238 --enable-treectrl use wxTreeCtrl class"
240 --enable-commondlg use common dialogs (wxDirDialog, wxProgressDialog, wxTextDialog, ...)"
242 --enable-dirdlg use wxDirDialog"
244 --enable-textdlg use wxTextDialog"
246 --enable-tipdlg use startup tips"
248 --enable-progressdlg use wxProgressDialog"
250 --enable-miniframe use wxMiniFrame class"
252 --enable-html use wxHTML sub-library"
254 --enable-tooltips use wxToolTip class"
256 --enable-splines use spline drawing code"
258 --enable-validators use wxValidator and derived classes"
260 --enable-busyinfo use wxBusyInfo"
262 --enable-gif use gif images (GIF file format)"
264 --enable-pcx use pcx images (PCX file format)"
266 --enable-pnm use pnm images (PNM file format)"
268 --with-x use the X Window System"
270 # Initialize some variables set by options.
271 # The variables have the same names as the options, with
272 # dashes changed to underlines.
274 cache_file
=.
/config.cache
283 program_transform_name
=s
,x
,x
,
291 bindir
='${exec_prefix}/bin'
292 sbindir
='${exec_prefix}/sbin'
293 libexecdir
='${exec_prefix}/libexec'
294 datadir
='${prefix}/share'
295 sysconfdir
='${prefix}/etc'
296 sharedstatedir
='${prefix}/com'
297 localstatedir
='${prefix}/var'
298 libdir
='${exec_prefix}/lib'
299 includedir
='${prefix}/include'
300 oldincludedir
='/usr/include'
301 infodir
='${prefix}/info'
302 mandir
='${prefix}/man'
304 # Initialize some other variables.
307 SHELL
=${CONFIG_SHELL-/bin/sh}
308 # Maximum number of lines to put in a shell here document.
315 # If the previous option needs an argument, assign it.
316 if test -n "$ac_prev"; then
317 eval "$ac_prev=\$ac_option"
323 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
327 # Accept the important Cygnus configure options, so we can diagnose typos.
331 -bindir | --bindir | --bindi | --bind | --bin | --bi)
333 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
334 bindir
="$ac_optarg" ;;
336 -build | --build | --buil | --bui | --bu)
338 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
339 build
="$ac_optarg" ;;
341 -cache-file | --cache-file | --cache-fil | --cache-fi \
342 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
343 ac_prev
=cache_file
;;
344 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
345 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
346 cache_file
="$ac_optarg" ;;
348 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
350 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
352 datadir
="$ac_optarg" ;;
354 -disable-* | --disable-*)
355 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
356 # Reject names that are not valid shell variable names.
357 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
358 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
360 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
361 eval "enable_${ac_feature}=no" ;;
363 -enable-* | --enable-*)
364 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
365 # Reject names that are not valid shell variable names.
366 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
367 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
369 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
374 eval "enable_${ac_feature}='$ac_optarg'" ;;
376 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
377 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
378 | --exec | --exe | --ex)
379 ac_prev
=exec_prefix
;;
380 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
381 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
382 | --exec=* | --exe=* | --ex=*)
383 exec_prefix
="$ac_optarg" ;;
385 -gas | --gas | --ga | --g)
386 # Obsolete; use --with-gas.
389 -help | --help | --hel | --he)
390 # Omit some internal or obsolete options to make the list less imposing.
391 # This message is too long to be a string in the A/UX 3.1 sh.
393 Usage: configure [options] [host]
394 Options: [defaults in brackets after descriptions]
396 --cache-file=FILE cache test results in FILE
397 --help print this message
398 --no-create do not create output files
399 --quiet, --silent do not print \`checking...' messages
400 --version print the version of autoconf that created configure
401 Directory and file names:
402 --prefix=PREFIX install architecture-independent files in PREFIX
404 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
406 --bindir=DIR user executables in DIR [EPREFIX/bin]
407 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
408 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
409 --datadir=DIR read-only architecture-independent data in DIR
411 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
412 --sharedstatedir=DIR modifiable architecture-independent data in DIR
414 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
415 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
416 --includedir=DIR C header files in DIR [PREFIX/include]
417 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
418 --infodir=DIR info documentation in DIR [PREFIX/info]
419 --mandir=DIR man documentation in DIR [PREFIX/man]
420 --srcdir=DIR find the sources in DIR [configure dir or ..]
421 --program-prefix=PREFIX prepend PREFIX to installed program names
422 --program-suffix=SUFFIX append SUFFIX to installed program names
423 --program-transform-name=PROGRAM
424 run sed PROGRAM on installed program names
428 --build=BUILD configure for building on BUILD [BUILD=HOST]
429 --host=HOST configure for HOST [guessed]
430 --target=TARGET configure for TARGET [TARGET=HOST]
431 Features and packages:
432 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
433 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
434 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
435 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
436 --x-includes=DIR X include files are in DIR
437 --x-libraries=DIR X library files are in DIR
439 if test -n "$ac_help"; then
440 echo "--enable and --with options recognized:$ac_help"
444 -host | --host | --hos | --ho)
446 -host=* | --host=* | --hos=* | --ho=*)
449 -includedir | --includedir | --includedi | --included | --include \
450 | --includ | --inclu | --incl | --inc)
451 ac_prev
=includedir
;;
452 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
453 | --includ=* | --inclu=* | --incl=* | --inc=*)
454 includedir
="$ac_optarg" ;;
456 -infodir | --infodir | --infodi | --infod | --info | --inf)
458 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
459 infodir
="$ac_optarg" ;;
461 -libdir | --libdir | --libdi | --libd)
463 -libdir=* | --libdir=* | --libdi=* | --libd=*)
464 libdir
="$ac_optarg" ;;
466 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
467 | --libexe | --libex | --libe)
468 ac_prev
=libexecdir
;;
469 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
470 | --libexe=* | --libex=* | --libe=*)
471 libexecdir
="$ac_optarg" ;;
473 -localstatedir | --localstatedir | --localstatedi | --localstated \
474 | --localstate | --localstat | --localsta | --localst \
475 | --locals | --local | --loca | --loc | --lo)
476 ac_prev
=localstatedir
;;
477 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
478 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
479 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
480 localstatedir
="$ac_optarg" ;;
482 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
484 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
485 mandir
="$ac_optarg" ;;
488 # Obsolete; use --without-fp.
491 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
495 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
496 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
499 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
500 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
501 | --oldin | --oldi | --old | --ol | --o)
502 ac_prev
=oldincludedir
;;
503 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
504 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
505 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
506 oldincludedir
="$ac_optarg" ;;
508 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
510 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
511 prefix
="$ac_optarg" ;;
513 -program-prefix | --program-prefix | --program-prefi | --program-pref \
514 | --program-pre | --program-pr | --program-p)
515 ac_prev
=program_prefix
;;
516 -program-prefix=* | --program-prefix=* | --program-prefi=* \
517 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
518 program_prefix
="$ac_optarg" ;;
520 -program-suffix | --program-suffix | --program-suffi | --program-suff \
521 | --program-suf | --program-su | --program-s)
522 ac_prev
=program_suffix
;;
523 -program-suffix=* | --program-suffix=* | --program-suffi=* \
524 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
525 program_suffix
="$ac_optarg" ;;
527 -program-transform-name | --program-transform-name \
528 | --program-transform-nam | --program-transform-na \
529 | --program-transform-n | --program-transform- \
530 | --program-transform | --program-transfor \
531 | --program-transfo | --program-transf \
532 | --program-trans | --program-tran \
533 | --progr-tra | --program-tr | --program-t)
534 ac_prev
=program_transform_name
;;
535 -program-transform-name=* | --program-transform-name=* \
536 | --program-transform-nam=* | --program-transform-na=* \
537 | --program-transform-n=* | --program-transform-=* \
538 | --program-transform=* | --program-transfor=* \
539 | --program-transfo=* | --program-transf=* \
540 | --program-trans=* | --program-tran=* \
541 | --progr-tra=* | --program-tr=* | --program-t=*)
542 program_transform_name
="$ac_optarg" ;;
544 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
545 | -silent | --silent | --silen | --sile | --sil)
548 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
550 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
552 sbindir
="$ac_optarg" ;;
554 -sharedstatedir | --sharedstatedir | --sharedstatedi \
555 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
556 | --sharedst | --shareds | --shared | --share | --shar \
558 ac_prev
=sharedstatedir
;;
559 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
560 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
561 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
563 sharedstatedir
="$ac_optarg" ;;
565 -site | --site | --sit)
567 -site=* | --site=* | --sit=*)
570 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
572 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
573 srcdir
="$ac_optarg" ;;
575 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
576 | --syscon | --sysco | --sysc | --sys | --sy)
577 ac_prev
=sysconfdir
;;
578 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
579 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
580 sysconfdir
="$ac_optarg" ;;
582 -target | --target | --targe | --targ | --tar | --ta | --t)
584 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
585 target
="$ac_optarg" ;;
587 -v | -verbose | --verbose | --verbos | --verbo | --verb)
590 -version | --version | --versio | --versi | --vers)
591 echo "configure generated by autoconf version 2.14"
595 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
596 # Reject names that are not valid shell variable names.
597 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
598 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
600 ac_package
=`echo $ac_package| sed 's/-/_/g'`
605 eval "with_${ac_package}='$ac_optarg'" ;;
607 -without-* | --without-*)
608 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
609 # Reject names that are not valid shell variable names.
610 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
611 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
613 ac_package
=`echo $ac_package| sed 's/-/_/g'`
614 eval "with_${ac_package}=no" ;;
617 # Obsolete; use --with-x.
620 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
621 | --x-incl | --x-inc | --x-in | --x-i)
622 ac_prev
=x_includes
;;
623 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
624 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
625 x_includes
="$ac_optarg" ;;
627 -x-libraries | --x-libraries | --x-librarie | --x-librari \
628 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
629 ac_prev
=x_libraries
;;
630 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
631 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
632 x_libraries
="$ac_optarg" ;;
634 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
638 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
639 echo "configure: warning: $ac_option: invalid host type" 1>&2
641 if test "x$nonopt" != xNONE
; then
642 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
650 if test -n "$ac_prev"; then
651 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
654 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
656 # File descriptor usage:
659 # 2 errors and warnings
660 # 3 some systems may open it to /dev/tty
661 # 4 used on the Kubota Titan
662 # 6 checking for... messages and results
663 # 5 compiler messages saved in config.log
664 if test "$silent" = yes; then
672 This file contains any messages produced by compilers while
673 running configure, to aid debugging if configure makes a mistake.
676 # Strip out --no-create and --no-recursion so they do not pile up.
677 # Also quote any args containing shell metacharacters.
682 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
683 | --no-cr | --no-c) ;;
684 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
685 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
686 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
687 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
688 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
693 # Only set these to C if already set. These must not be set unconditionally
694 # because not all systems understand e.g. LANG=C (notably SCO).
695 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
696 # Non-C LC_CTYPE values break the ctype check.
697 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
698 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
699 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
700 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
702 # confdefs.h avoids OS command line length limits that DEFS can exceed.
703 rm -rf conftest
* confdefs.h
704 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
707 # A filename unique to this package, relative to the directory that
708 # configure is in, which we can look for to find out if srcdir is correct.
709 ac_unique_file
=wx
-config.
in
711 # Find the source files, if location was not specified.
712 if test -z "$srcdir"; then
713 ac_srcdir_defaulted
=yes
714 # Try the directory containing this script, then its parent.
716 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
717 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
719 if test ! -r $srcdir/$ac_unique_file; then
723 ac_srcdir_defaulted
=no
725 if test ! -r $srcdir/$ac_unique_file; then
726 if test "$ac_srcdir_defaulted" = yes; then
727 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
729 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
732 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
734 # Prefer explicitly selected file to automatically selected ones.
735 if test -z "$CONFIG_SITE"; then
736 if test "x$prefix" != xNONE
; then
737 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
739 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
742 for ac_site_file
in $CONFIG_SITE; do
743 if test -r "$ac_site_file"; then
744 echo "loading site script $ac_site_file"
749 if test -r "$cache_file"; then
750 echo "loading cache $cache_file"
753 echo "creating cache $cache_file"
758 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
759 ac_cpp
='$CPP $CPPFLAGS'
760 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
761 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
762 cross_compiling
=$ac_cv_prog_cc_cross
766 if (echo "testing\c"; echo 1,2,3) | grep c
>/dev
/null
; then
767 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
768 if (echo -n testing
; echo 1,2,3) | sed s
/-n/xn
/ | grep xn
>/dev
/null
; then
775 ac_n
= ac_c
='\c' ac_t
=
781 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
782 if test -f $ac_dir/install-sh; then
784 ac_install_sh
="$ac_aux_dir/install-sh -c"
786 elif test -f $ac_dir/install.sh
; then
788 ac_install_sh
="$ac_aux_dir/install.sh -c"
792 if test -z "$ac_aux_dir"; then
793 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
795 ac_config_guess
=$ac_aux_dir/config.guess
796 ac_config_sub
=$ac_aux_dir/config.sub
797 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
800 # Do some error checking and defaulting for the host and target type.
802 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
805 # 1. You are not allowed to specify --host, --target, and nonopt at the
807 # 2. Host defaults to nonopt.
808 # 3. If nonopt is not specified, then host defaults to the current host,
809 # as determined by config.guess.
810 # 4. Target and build default to nonopt.
811 # 5. If nonopt is not specified, then target and build default to host.
813 # The aliases save the names the user supplied, while $host etc.
814 # will get canonicalized.
815 case $host---$target---$nonopt in
816 NONE
---*---* | *---NONE---* | *---*---NONE) ;;
817 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
821 # Make sure we can run config.sub.
822 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
823 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
826 echo $ac_n "checking host system type""... $ac_c" 1>&6
827 echo "configure:828: checking host system type" >&5
830 case "$host_alias" in
834 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
835 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
837 *) host_alias
=$nonopt ;;
841 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
842 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
843 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
844 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
845 echo "$ac_t""$host" 1>&6
847 echo $ac_n "checking target system type""... $ac_c" 1>&6
848 echo "configure:849: checking target system type" >&5
851 case "$target_alias" in
854 NONE
) target_alias
=$host_alias ;;
855 *) target_alias
=$nonopt ;;
859 target
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
860 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
861 target_vendor
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
862 target_os
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
863 echo "$ac_t""$target" 1>&6
865 echo $ac_n "checking build system type""... $ac_c" 1>&6
866 echo "configure:867: checking build system type" >&5
869 case "$build_alias" in
872 NONE
) build_alias
=$host_alias ;;
873 *) build_alias
=$nonopt ;;
877 build
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
878 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
879 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
880 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
881 echo "$ac_t""$build" 1>&6
883 test "$host_alias" != "$target_alias" &&
884 test "$program_prefix$program_suffix$program_transform_name" = \
886 program_prefix
=${target_alias}-
890 WX_MAJOR_VERSION_NUMBER
=2
891 WX_MINOR_VERSION_NUMBER
=1
897 WX_VERSION
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER.
$WX_RELEASE_NUMBER
899 WX_RELEASE
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER
900 WX_CURRENT
=`expr $WX_RELEASE_NUMBER - $WX_INTERFACE_AGE`
901 WX_REVISION
=$WX_INTERFACE_AGE
902 WX_AGE
=`expr $WX_BINARY_AGE - $WX_INTERFACE_AGE`
926 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
928 ALL_TOOLKITS
="CYGWIN GTK MINGW MOTIF WINE"
931 DEFAULT_wxUSE_MOTIF
=0
935 DEFAULT_DEFAULT_wxUSE_GTK
=0
936 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
937 DEFAULT_DEFAULT_wxUSE_MSW
=0
938 DEFAULT_DEFAULT_wxUSE_WINE
=0
943 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
944 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
945 cat >> confdefs.h
<<\EOF
952 cat >> confdefs.h
<<\EOF
957 if test "x$TMP" = "xalpha"; then
959 cat >> confdefs.h
<<\EOF
964 DEFAULT_DEFAULT_wxUSE_GTK
=1
966 *-*-irix5* | *-*-irix6* )
969 cat >> confdefs.h
<<\EOF
973 cat >> confdefs.h
<<\EOF
977 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
983 cat >> confdefs.h
<<\EOF
987 cat >> confdefs.h
<<\EOF
988 #define __SOLARIS__ 1
991 cat >> confdefs.h
<<\EOF
995 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
996 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1002 cat >> confdefs.h
<<\EOF
1006 cat >> confdefs.h
<<\EOF
1010 cat >> confdefs.h
<<\EOF
1014 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1016 *-*-freebsd* | *-*-netbsd*)
1019 cat >> confdefs.h
<<\EOF
1020 #define __FREEBSD__ 1
1023 cat >> confdefs.h
<<\EOF
1027 DEFAULT_DEFAULT_wxUSE_GTK
=1
1032 cat >> confdefs.h
<<\EOF
1036 cat >> confdefs.h
<<\EOF
1040 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1045 cat >> confdefs.h
<<\EOF
1049 cat >> confdefs.h
<<\EOF
1053 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1058 cat >> confdefs.h
<<\EOF
1062 cat >> confdefs.h
<<\EOF
1066 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1072 cat >> confdefs.h
<<\EOF
1076 cat >> confdefs.h
<<\EOF
1080 cat >> confdefs.h
<<\EOF
1084 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1087 *-*-cygwin32* | *-*-mingw32* )
1090 cat >> confdefs.h
<<\EOF
1094 cat >> confdefs.h
<<\EOF
1098 cat >> confdefs.h
<<\EOF
1099 #define __WINDOWS__ 1
1102 cat >> confdefs.h
<<\EOF
1103 #define __GNUWIN32__ 1
1106 cat >> confdefs.h
<<\EOF
1110 cat >> confdefs.h
<<\EOF
1111 #define WINVER 0x0400
1114 DEFAULT_DEFAULT_wxUSE_MSW
=1
1118 cat >> confdefs.h
<<\EOF
1125 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
1128 if test "$USE_UNIX" = 1 ; then
1130 cat >> confdefs.h
<<\EOF
1134 SRC_SUBDIRS
="$SRC_SUBDIRS unix"
1135 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS unix"
1138 if test "$USE_LINUX" = 1; then
1139 echo $ac_n "checking for gettext in -lc""... $ac_c" 1>&6
1140 echo "configure:1141: checking for gettext in -lc" >&5
1141 ac_lib_var
=`echo c'_'gettext | sed 'y%./+-%__p_%'`
1142 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1143 echo $ac_n "(cached) $ac_c" 1>&6
1145 ac_save_LIBS
="$LIBS"
1147 cat > conftest.
$ac_ext <<EOF
1148 #line 1149 "configure"
1149 #include "confdefs.h"
1150 /* Override any gcc2 internal prototype to avoid an error. */
1151 /* We use char because int might match the return type of a gcc2
1152 builtin and then its argument prototype would still apply. */
1159 if { (eval echo configure
:1160: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
1161 eval "ac_cv_lib_$ac_lib_var=yes"
1163 echo "configure: failed program was:" >&5
1164 cat conftest.
$ac_ext >&5
1166 eval "ac_cv_lib_$ac_lib_var=no"
1169 LIBS
="$ac_save_LIBS"
1172 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1173 echo "$ac_t""yes" 1>&6
1174 cat >> confdefs.h
<<\EOF
1175 #define wxHAVE_GLIBC2 1
1179 echo "$ac_t""no" 1>&6
1187 wx_arg_cache_file
="configarg.cache"
1188 echo "loading argument cache $wx_arg_cache_file"
1189 rm -f ${wx_arg_cache_file}.tmp
1190 touch ${wx_arg_cache_file}.tmp
1191 touch ${wx_arg_cache_file}
1195 if test $DEBUG_CONFIGURE = 1; then
1196 DEFAULT_wxUSE_THREADS
=yes
1198 DEFAULT_wxUSE_SHARED
=yes
1199 DEFAULT_wxUSE_OPTIMISE
=yes
1200 DEFAULT_wxUSE_PROFILE
=no
1201 DEFAULT_wxUSE_NO_DEPS
=no
1202 DEFAULT_wxUSE_NO_RTTI
=no
1203 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1204 DEFAULT_wxUSE_PERMISSIVE
=no
1205 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1206 DEFAULT_wxUSE_DEBUG_INFO
=yes
1207 DEFAULT_wxUSE_DEBUG_GDB
=yes
1208 DEFAULT_wxUSE_MEM_TRACING
=no
1209 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1210 DEFAULT_wxUSE_DMALLOC
=no
1211 DEFAULT_wxUSE_APPLE_IEEE
=no
1213 DEFAULT_wxUSE_LOG
=yes
1215 DEFAULT_wxUSE_GUI
=yes
1217 DEFAULT_wxUSE_ZLIB
=no
1218 DEFAULT_wxUSE_LIBPNG
=no
1219 DEFAULT_wxUSE_LIBJPEG
=no
1220 DEFAULT_wxUSE_ODBC
=no
1222 DEFAULT_wxUSE_STD_IOSTREAM
=no
1223 DEFAULT_wxUSE_FILE
=no
1224 DEFAULT_wxUSE_TEXTFILE
=no
1225 DEFAULT_wxUSE_TIMEDATE
=no
1226 DEFAULT_wxUSE_WAVE
=no
1227 DEFAULT_wxUSE_INTL
=no
1228 DEFAULT_wxUSE_CONFIG
=no
1229 DEFAULT_wxUSE_STREAMS
=no
1230 DEFAULT_wxUSE_SOCKETS
=no
1231 DEFAULT_wxUSE_DIALUP_MANAGER
=no
1232 DEFAULT_wxUSE_SERIAL
=no
1233 DEFAULT_wxUSE_JOYSTICK
=no
1234 DEFAULT_wxUSE_DYNLIB_CLASS
=no
1235 DEFAULT_wxUSE_LONGLONG
=no
1237 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
1238 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
1239 DEFAULT_wxUSE_POSTSCRIPT
=no
1241 DEFAULT_wxUSE_X_RESOURCES
=no
1242 DEFAULT_wxUSE_CLIPBOARD
=no
1243 DEFAULT_wxUSE_TOOLTIPS
=no
1244 DEFAULT_wxUSE_DRAG_AND_DROP
=no
1245 DEFAULT_wxUSE_SPLINES
=no
1247 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
1248 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
1249 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
1251 DEFAULT_wxUSE_PROLOGIO
=no
1252 DEFAULT_wxUSE_RESOURCES
=no
1253 DEFAULT_wxUSE_CONSTRAINTS
=no
1254 DEFAULT_wxUSE_IPC
=no
1255 DEFAULT_wxUSE_HELP
=no
1256 DEFAULT_wxUSE_WXTREE
=no
1257 DEFAULT_wxUSE_METAFILE
=no
1259 DEFAULT_wxUSE_COMMONDLGS
=no
1260 DEFAULT_wxUSE_DIRDLG
=no
1261 DEFAULT_wxUSE_TEXTDLG
=no
1262 DEFAULT_wxUSE_STARTUP_TIPS
=no
1263 DEFAULT_wxUSE_PROGRESSDLG
=no
1264 DEFAULT_wxUSE_MINIFRAME
=no
1265 DEFAULT_wxUSE_HTML
=no
1266 DEFAULT_wxUSE_FS_INET
=no
1267 DEFAULT_wxUSE_FS_ZIP
=no
1268 DEFAULT_wxUSE_BUSYINFO
=no
1269 DEFAULT_wxUSE_ZIPSTREAM
=no
1270 DEFAULT_wxUSE_VALIDATORS
=yes
1272 DEFAULT_wxUSE_ACCEL
=no
1273 DEFAULT_wxUSE_CARET
=no
1274 DEFAULT_wxUSE_BMPBUTTON
=no
1275 DEFAULT_wxUSE_CHECKBOX
=no
1276 DEFAULT_wxUSE_CHECKLST
=no
1277 DEFAULT_wxUSE_CHOICE
=yes
1278 DEFAULT_wxUSE_COMBOBOX
=no
1279 DEFAULT_wxUSE_GAUGE
=no
1280 DEFAULT_wxUSE_GRID
=no
1281 DEFAULT_wxUSE_NEW_GRID
=no
1282 DEFAULT_wxUSE_IMAGLIST
=no
1283 DEFAULT_wxUSE_LISTBOX
=no
1284 DEFAULT_wxUSE_LISTCTRL
=no
1285 DEFAULT_wxUSE_NOTEBOOK
=no
1286 DEFAULT_wxUSE_RADIOBOX
=no
1287 DEFAULT_wxUSE_RADIOBTN
=no
1288 DEFAULT_wxUSE_SASH
=no
1289 DEFAULT_wxUSE_SCROLLBAR
=no
1290 DEFAULT_wxUSE_SLIDER
=no
1291 DEFAULT_wxUSE_SPINBTN
=no
1292 DEFAULT_wxUSE_SPINCTRL
=no
1293 DEFAULT_wxUSE_SPLITTER
=no
1294 DEFAULT_wxUSE_STATBMP
=no
1295 DEFAULT_wxUSE_STATBOX
=no
1296 DEFAULT_wxUSE_STATLINE
=no
1297 DEFAULT_wxUSE_STATUSBAR
=yes
1298 DEFAULT_wxUSE_TABDIALOG
=no
1299 DEFAULT_wxUSE_TOOLBAR
=no
1300 DEFAULT_wxUSE_TREECTRL
=no
1302 DEFAULT_wxUSE_UNICODE
=no
1303 DEFAULT_wxUSE_WCSRTOMBS
=no
1305 DEFAULT_wxUSE_GIF
=no
1306 DEFAULT_wxUSE_PCX
=no
1307 DEFAULT_wxUSE_PNM
=no
1309 DEFAULT_wxUSE_THREADS
=yes
1311 DEFAULT_wxUSE_SHARED
=yes
1312 DEFAULT_wxUSE_OPTIMISE
=yes
1313 DEFAULT_wxUSE_PROFILE
=no
1314 DEFAULT_wxUSE_NO_DEPS
=no
1315 DEFAULT_wxUSE_NO_RTTI
=no
1316 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1317 DEFAULT_wxUSE_PERMISSIVE
=no
1318 DEFAULT_wxUSE_DEBUG_FLAG
=no
1319 DEFAULT_wxUSE_DEBUG_INFO
=no
1320 DEFAULT_wxUSE_DEBUG_GDB
=no
1321 DEFAULT_wxUSE_MEM_TRACING
=no
1322 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1323 DEFAULT_wxUSE_DMALLOC
=no
1324 DEFAULT_wxUSE_APPLE_IEEE
=yes
1326 DEFAULT_wxUSE_LOG
=yes
1328 DEFAULT_wxUSE_GUI
=yes
1330 DEFAULT_wxUSE_ZLIB
=yes
1331 DEFAULT_wxUSE_LIBPNG
=yes
1332 DEFAULT_wxUSE_LIBJPEG
=yes
1333 DEFAULT_wxUSE_ODBC
=yes
1335 DEFAULT_wxUSE_STD_IOSTREAM
=no
1336 DEFAULT_wxUSE_FILE
=yes
1337 DEFAULT_wxUSE_TEXTFILE
=yes
1338 DEFAULT_wxUSE_TIMEDATE
=yes
1339 DEFAULT_wxUSE_WAVE
=no
1340 DEFAULT_wxUSE_INTL
=yes
1341 DEFAULT_wxUSE_CONFIG
=yes
1342 DEFAULT_wxUSE_STREAMS
=yes
1343 DEFAULT_wxUSE_SOCKETS
=yes
1344 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
1345 DEFAULT_wxUSE_SERIAL
=yes
1346 DEFAULT_wxUSE_JOYSTICK
=yes
1347 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
1348 DEFAULT_wxUSE_LONGLONG
=no
1350 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
1351 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
1352 DEFAULT_wxUSE_POSTSCRIPT
=yes
1354 DEFAULT_wxUSE_X_RESOURCES
=no
1355 DEFAULT_wxUSE_CLIPBOARD
=yes
1356 DEFAULT_wxUSE_TOOLTIPS
=yes
1357 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
1358 DEFAULT_wxUSE_SPLINES
=yes
1360 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
1361 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
1362 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
1364 DEFAULT_wxUSE_PROLOGIO
=yes
1365 DEFAULT_wxUSE_RESOURCES
=yes
1366 DEFAULT_wxUSE_CONSTRAINTS
=yes
1367 DEFAULT_wxUSE_IPC
=yes
1368 DEFAULT_wxUSE_HELP
=yes
1369 DEFAULT_wxUSE_WXTREE
=yes
1370 DEFAULT_wxUSE_METAFILE
=yes
1372 DEFAULT_wxUSE_COMMONDLGS
=yes
1373 DEFAULT_wxUSE_DIRDLG
=yes
1374 DEFAULT_wxUSE_TEXTDLG
=yes
1375 DEFAULT_wxUSE_STARTUP_TIPS
=yes
1376 DEFAULT_wxUSE_PROGRESSDLG
=yes
1377 DEFAULT_wxUSE_MINIFRAME
=yes
1378 DEFAULT_wxUSE_HTML
=yes
1379 DEFAULT_wxUSE_FS_INET
=yes
1380 DEFAULT_wxUSE_FS_ZIP
=yes
1381 DEFAULT_wxUSE_BUSYINFO
=yes
1382 DEFAULT_wxUSE_ZIPSTREAM
=yes
1383 DEFAULT_wxUSE_VALIDATORS
=yes
1385 DEFAULT_wxUSE_ACCEL
=yes
1386 DEFAULT_wxUSE_CARET
=yes
1387 DEFAULT_wxUSE_BMPBUTTON
=yes
1388 DEFAULT_wxUSE_CHECKBOX
=yes
1389 DEFAULT_wxUSE_CHECKLST
=yes
1390 DEFAULT_wxUSE_CHOICE
=yes
1391 DEFAULT_wxUSE_COMBOBOX
=yes
1392 DEFAULT_wxUSE_GAUGE
=yes
1393 DEFAULT_wxUSE_GRID
=yes
1394 DEFAULT_wxUSE_NEW_GRID
=no
1395 DEFAULT_wxUSE_IMAGLIST
=yes
1396 DEFAULT_wxUSE_LISTBOX
=yes
1397 DEFAULT_wxUSE_LISTCTRL
=yes
1398 DEFAULT_wxUSE_NOTEBOOK
=yes
1399 DEFAULT_wxUSE_RADIOBOX
=yes
1400 DEFAULT_wxUSE_RADIOBTN
=yes
1401 DEFAULT_wxUSE_SASH
=yes
1402 DEFAULT_wxUSE_SCROLLBAR
=yes
1403 DEFAULT_wxUSE_SLIDER
=yes
1404 DEFAULT_wxUSE_SPINBTN
=yes
1405 DEFAULT_wxUSE_SPINCTRL
=yes
1406 DEFAULT_wxUSE_SPLITTER
=yes
1407 DEFAULT_wxUSE_STATBMP
=yes
1408 DEFAULT_wxUSE_STATBOX
=yes
1409 DEFAULT_wxUSE_STATLINE
=yes
1410 DEFAULT_wxUSE_STATUSBAR
=yes
1411 DEFAULT_wxUSE_TABDIALOG
=no
1412 DEFAULT_wxUSE_TOOLBAR
=yes
1413 DEFAULT_wxUSE_TREECTRL
=yes
1415 DEFAULT_wxUSE_UNICODE
=no
1416 DEFAULT_wxUSE_WCSRTOMBS
=no
1418 DEFAULT_wxUSE_GIF
=yes
1419 DEFAULT_wxUSE_PCX
=yes
1420 DEFAULT_wxUSE_PNM
=yes
1425 for toolkit
in `echo $ALL_TOOLKITS`; do
1426 LINE
=`grep "wxUSE_$toolkit" ${wx_arg_cache_file}`
1427 if test "x$LINE" != x
; then
1428 has_toolkit_in_cache
=1
1429 eval "DEFAULT_$LINE"
1430 eval "CACHE_$toolkit=1"
1436 echo $ac_n "checking "for --enable-gui"""... $ac_c" 1>&6
1437 echo "configure:1438: checking "for --enable-gui"" >&5
1439 # Check whether --enable-gui or --disable-gui was given.
1440 if test "${enable_gui+set}" = set; then
1441 enableval
="$enable_gui"
1443 if test "$enableval" = yes; then
1444 ac_cv_use_gui
='wxUSE_GUI=yes'
1446 ac_cv_use_gui
='wxUSE_GUI=no'
1451 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
1452 if test "x$LINE" != x
; then
1453 eval "DEFAULT_$LINE"
1458 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
1463 eval "$ac_cv_use_gui"
1464 if test "$no_cache" != 1; then
1465 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
1468 if test "$wxUSE_GUI" = yes; then
1469 echo "$ac_t""yes" 1>&6
1471 echo "$ac_t""no" 1>&6
1475 if test "$wxUSE_GUI" = "no"; then
1476 DEFAULT_wxUSE_ZLIB
=no
1477 DEFAULT_wxUSE_LIBPNG
=no
1478 DEFAULT_wxUSE_LIBJPEG
=no
1479 DEFAULT_wxUSE_SOCKETS
=no
1480 DEFAULT_wxUSE_JOYSTICK
=no
1481 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
1482 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
1483 DEFAULT_wxUSE_POSTSCRIPT
=no
1484 DEFAULT_wxUSE_X_RESOURCES
=no
1485 DEFAULT_wxUSE_CLIPBOARD
=no
1486 DEFAULT_wxUSE_TOOLTIPS
=no
1487 DEFAULT_wxUSE_DRAG_AND_DROP
=no
1488 DEFAULT_wxUSE_SPLINES
=no
1489 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
1490 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
1491 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
1492 DEFAULT_wxUSE_PROLOGIO
=no
1493 DEFAULT_wxUSE_RESOURCES
=no
1494 DEFAULT_wxUSE_CONSTRAINTS
=no
1495 DEFAULT_wxUSE_IPC
=no
1496 DEFAULT_wxUSE_HELP
=no
1497 DEFAULT_wxUSE_WXTREE
=no
1498 DEFAULT_wxUSE_METAFILE
=no
1499 DEFAULT_wxUSE_COMMONDLGS
=no
1500 DEFAULT_wxUSE_DIRDLG
=no
1501 DEFAULT_wxUSE_TEXTDLG
=no
1502 DEFAULT_wxUSE_STARTUP_TIPS
=no
1503 DEFAULT_wxUSE_PROGRESSDLG
=no
1504 DEFAULT_wxUSE_MINIFRAME
=no
1505 DEFAULT_wxUSE_HTML
=no
1506 DEFAULT_wxUSE_FS_INET
=no
1507 DEFAULT_wxUSE_FS_ZIP
=no
1508 DEFAULT_wxUSE_BUSYINFO
=no
1509 DEFAULT_wxUSE_ZIPSTREAM
=no
1510 DEFAULT_wxUSE_VALIDATORS
=no
1511 DEFAULT_wxUSE_ACCEL
=no
1512 DEFAULT_wxUSE_CARET
=no
1513 DEFAULT_wxUSE_BMPBUTTON
=no
1514 DEFAULT_wxUSE_CHECKBOX
=no
1515 DEFAULT_wxUSE_CHECKLST
=no
1516 DEFAULT_wxUSE_CHOICE
=no
1517 DEFAULT_wxUSE_COMBOBOX
=no
1518 DEFAULT_wxUSE_GAUGE
=no
1519 DEFAULT_wxUSE_GRID
=no
1520 DEFAULT_wxUSE_NEW_GRID
=no
1521 DEFAULT_wxUSE_IMAGLIST
=no
1522 DEFAULT_wxUSE_LISTBOX
=no
1523 DEFAULT_wxUSE_LISTCTRL
=no
1524 DEFAULT_wxUSE_NOTEBOOK
=no
1525 DEFAULT_wxUSE_RADIOBOX
=no
1526 DEFAULT_wxUSE_RADIOBTN
=no
1527 DEFAULT_wxUSE_SASH
=no
1528 DEFAULT_wxUSE_SCROLLBAR
=no
1529 DEFAULT_wxUSE_SLIDER
=no
1530 DEFAULT_wxUSE_SPINBTN
=no
1531 DEFAULT_wxUSE_SPINCTRL
=no
1532 DEFAULT_wxUSE_SPLITTER
=no
1533 DEFAULT_wxUSE_STATBMP
=no
1534 DEFAULT_wxUSE_STATBOX
=no
1535 DEFAULT_wxUSE_STATLINE
=no
1536 DEFAULT_wxUSE_STATUSBAR
=no
1537 DEFAULT_wxUSE_TABDIALOG
=no
1538 DEFAULT_wxUSE_TOOLBAR
=no
1539 DEFAULT_wxUSE_TREECTRL
=no
1540 DEFAULT_wxUSE_GIF
=no
1541 DEFAULT_wxUSE_PCX
=no
1542 DEFAULT_wxUSE_PNM
=no
1545 # Check whether --with-gtk or --without-gtk was given.
1546 if test "${with_gtk+set}" = set; then
1548 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
1551 # Check whether --with-motif or --without-motif was given.
1552 if test "${with_motif+set}" = set; then
1553 withval
="$with_motif"
1554 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
1557 # Check whether --with-wine or --without-wine was given.
1558 if test "${with_wine+set}" = set; then
1559 withval
="$with_wine"
1560 wxUSE_WINE
="$withval" CACHE_WINE
=1 TOOLKIT_GIVEN
=1
1563 # Check whether --with-cygwin or --without-cygwin was given.
1564 if test "${with_cygwin+set}" = set; then
1565 withval
="$with_cygwin"
1566 wxUSE_CYGWIN
="$withval" CACHE_CYGWIN
=1 TOOLKIT_GIVEN
=1
1569 # Check whether --with-mingw or --without-mingw was given.
1570 if test "${with_mingw+set}" = set; then
1571 withval
="$with_mingw"
1572 wxUSE_MINGW
="$withval" CACHE_MINGW
=1 TOOLKIT_GIVEN
=1
1576 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
1577 if test "${with_gtk_prefix+set}" = set; then
1578 withval
="$with_gtk_prefix"
1579 gtk_config_prefix
="$withval"
1581 gtk_config_prefix
=""
1584 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
1585 if test "${with_gtk_exec_prefix+set}" = set; then
1586 withval
="$with_gtk_exec_prefix"
1587 gtk_config_exec_prefix
="$withval"
1589 gtk_config_exec_prefix
=""
1594 echo $ac_n "checking "for --with-dmalloc"""... $ac_c" 1>&6
1595 echo "configure:1596: checking "for --with-dmalloc"" >&5
1597 # Check whether --with-dmalloc or --without-dmalloc was given.
1598 if test "${with_dmalloc+set}" = set; then
1599 withval
="$with_dmalloc"
1601 if test "$withval" = yes; then
1602 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
1604 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
1609 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
1610 if test "x$LINE" != x
; then
1611 eval "DEFAULT_$LINE"
1616 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
1621 eval "$ac_cv_use_dmalloc"
1622 if test "$no_cache" != 1; then
1623 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
1626 if test "$wxUSE_DMALLOC" = yes; then
1627 echo "$ac_t""yes" 1>&6
1629 echo "$ac_t""no" 1>&6
1633 echo $ac_n "checking "for --with-zlib"""... $ac_c" 1>&6
1634 echo "configure:1635: checking "for --with-zlib"" >&5
1636 # Check whether --with-zlib or --without-zlib was given.
1637 if test "${with_zlib+set}" = set; then
1638 withval
="$with_zlib"
1640 if test "$withval" = yes; then
1641 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
1643 ac_cv_use_zlib
='wxUSE_ZLIB=no'
1648 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
1649 if test "x$LINE" != x
; then
1650 eval "DEFAULT_$LINE"
1655 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
1660 eval "$ac_cv_use_zlib"
1661 if test "$no_cache" != 1; then
1662 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
1665 if test "$wxUSE_ZLIB" = yes; then
1666 echo "$ac_t""yes" 1>&6
1668 echo "$ac_t""no" 1>&6
1672 echo $ac_n "checking "for --with-libpng"""... $ac_c" 1>&6
1673 echo "configure:1674: checking "for --with-libpng"" >&5
1675 # Check whether --with-libpng or --without-libpng was given.
1676 if test "${with_libpng+set}" = set; then
1677 withval
="$with_libpng"
1679 if test "$withval" = yes; then
1680 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
1682 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
1687 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
1688 if test "x$LINE" != x
; then
1689 eval "DEFAULT_$LINE"
1694 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
1699 eval "$ac_cv_use_libpng"
1700 if test "$no_cache" != 1; then
1701 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
1704 if test "$wxUSE_LIBPNG" = yes; then
1705 echo "$ac_t""yes" 1>&6
1707 echo "$ac_t""no" 1>&6
1711 echo $ac_n "checking "for --with-libjpeg"""... $ac_c" 1>&6
1712 echo "configure:1713: checking "for --with-libjpeg"" >&5
1714 # Check whether --with-libjpeg or --without-libjpeg was given.
1715 if test "${with_libjpeg+set}" = set; then
1716 withval
="$with_libjpeg"
1718 if test "$withval" = yes; then
1719 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
1721 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
1726 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
1727 if test "x$LINE" != x
; then
1728 eval "DEFAULT_$LINE"
1733 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
1738 eval "$ac_cv_use_libjpeg"
1739 if test "$no_cache" != 1; then
1740 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
1743 if test "$wxUSE_LIBJPEG" = yes; then
1744 echo "$ac_t""yes" 1>&6
1746 echo "$ac_t""no" 1>&6
1750 echo $ac_n "checking "for --with-opengl"""... $ac_c" 1>&6
1751 echo "configure:1752: checking "for --with-opengl"" >&5
1753 # Check whether --with-opengl or --without-opengl was given.
1754 if test "${with_opengl+set}" = set; then
1755 withval
="$with_opengl"
1757 if test "$withval" = yes; then
1758 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
1760 ac_cv_use_opengl
='wxUSE_OPENGL=no'
1765 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
1766 if test "x$LINE" != x
; then
1767 eval "DEFAULT_$LINE"
1772 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
1777 eval "$ac_cv_use_opengl"
1778 if test "$no_cache" != 1; then
1779 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
1782 if test "$wxUSE_OPENGL" = yes; then
1783 echo "$ac_t""yes" 1>&6
1785 echo "$ac_t""no" 1>&6
1789 echo $ac_n "checking "for --with-odbc"""... $ac_c" 1>&6
1790 echo "configure:1791: checking "for --with-odbc"" >&5
1792 # Check whether --with-odbc or --without-odbc was given.
1793 if test "${with_odbc+set}" = set; then
1794 withval
="$with_odbc"
1796 if test "$withval" = yes; then
1797 ac_cv_use_odbc
='wxUSE_ODBC=yes'
1799 ac_cv_use_odbc
='wxUSE_ODBC=no'
1804 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
1805 if test "x$LINE" != x
; then
1806 eval "DEFAULT_$LINE"
1811 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
1816 eval "$ac_cv_use_odbc"
1817 if test "$no_cache" != 1; then
1818 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
1821 if test "$wxUSE_ODBC" = yes; then
1822 echo "$ac_t""yes" 1>&6
1824 echo "$ac_t""no" 1>&6
1831 echo $ac_n "checking "for --enable-shared"""... $ac_c" 1>&6
1832 echo "configure:1833: checking "for --enable-shared"" >&5
1834 # Check whether --enable-shared or --disable-shared was given.
1835 if test "${enable_shared+set}" = set; then
1836 enableval
="$enable_shared"
1838 if test "$enableval" = yes; then
1839 ac_cv_use_shared
='wxUSE_SHARED=yes'
1841 ac_cv_use_shared
='wxUSE_SHARED=no'
1846 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
1847 if test "x$LINE" != x
; then
1848 eval "DEFAULT_$LINE"
1853 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
1858 eval "$ac_cv_use_shared"
1859 if test "$no_cache" != 1; then
1860 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
1863 if test "$wxUSE_SHARED" = yes; then
1864 echo "$ac_t""yes" 1>&6
1866 echo "$ac_t""no" 1>&6
1870 echo $ac_n "checking "for --enable-optimise"""... $ac_c" 1>&6
1871 echo "configure:1872: checking "for --enable-optimise"" >&5
1873 # Check whether --enable-optimise or --disable-optimise was given.
1874 if test "${enable_optimise+set}" = set; then
1875 enableval
="$enable_optimise"
1877 if test "$enableval" = yes; then
1878 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
1880 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
1885 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
1886 if test "x$LINE" != x
; then
1887 eval "DEFAULT_$LINE"
1892 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
1897 eval "$ac_cv_use_optimise"
1898 if test "$no_cache" != 1; then
1899 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
1902 if test "$wxUSE_OPTIMISE" = yes; then
1903 echo "$ac_t""yes" 1>&6
1905 echo "$ac_t""no" 1>&6
1909 echo $ac_n "checking "for --enable-debug"""... $ac_c" 1>&6
1910 echo "configure:1911: checking "for --enable-debug"" >&5
1912 # Check whether --enable-debug or --disable-debug was given.
1913 if test "${enable_debug+set}" = set; then
1914 enableval
="$enable_debug"
1916 if test "$enableval" = yes; then
1917 ac_cv_use_debug
='wxUSE_DEBUG=yes'
1919 ac_cv_use_debug
='wxUSE_DEBUG=no'
1924 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
1925 if test "x$LINE" != x
; then
1926 eval "DEFAULT_$LINE"
1931 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
1936 eval "$ac_cv_use_debug"
1937 if test "$no_cache" != 1; then
1938 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
1941 if test "$wxUSE_DEBUG" = yes; then
1942 echo "$ac_t""yes" 1>&6
1944 echo "$ac_t""no" 1>&6
1948 if test "$wxUSE_DEBUG" = "yes"; then
1949 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1950 DEFAULT_wxUSE_DEBUG_INFO
=yes
1951 elif test "$wxUSE_DEBUG" = "no"; then
1952 DEFAULT_wxUSE_DEBUG_FLAG
=no
1953 DEFAULT_wxUSE_DEBUG_INFO
=no
1957 echo $ac_n "checking "for --enable-debug_flag"""... $ac_c" 1>&6
1958 echo "configure:1959: checking "for --enable-debug_flag"" >&5
1960 # Check whether --enable-debug_flag or --disable-debug_flag was given.
1961 if test "${enable_debug_flag+set}" = set; then
1962 enableval
="$enable_debug_flag"
1964 if test "$enableval" = yes; then
1965 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
1967 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
1972 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
1973 if test "x$LINE" != x
; then
1974 eval "DEFAULT_$LINE"
1979 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
1984 eval "$ac_cv_use_debug_flag"
1985 if test "$no_cache" != 1; then
1986 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
1989 if test "$wxUSE_DEBUG_FLAG" = yes; then
1990 echo "$ac_t""yes" 1>&6
1992 echo "$ac_t""no" 1>&6
1996 echo $ac_n "checking "for --enable-debug_info"""... $ac_c" 1>&6
1997 echo "configure:1998: checking "for --enable-debug_info"" >&5
1999 # Check whether --enable-debug_info or --disable-debug_info was given.
2000 if test "${enable_debug_info+set}" = set; then
2001 enableval
="$enable_debug_info"
2003 if test "$enableval" = yes; then
2004 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
2006 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
2011 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
2012 if test "x$LINE" != x
; then
2013 eval "DEFAULT_$LINE"
2018 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
2023 eval "$ac_cv_use_debug_info"
2024 if test "$no_cache" != 1; then
2025 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
2028 if test "$wxUSE_DEBUG_INFO" = yes; then
2029 echo "$ac_t""yes" 1>&6
2031 echo "$ac_t""no" 1>&6
2035 echo $ac_n "checking "for --enable-debug_gdb"""... $ac_c" 1>&6
2036 echo "configure:2037: checking "for --enable-debug_gdb"" >&5
2038 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
2039 if test "${enable_debug_gdb+set}" = set; then
2040 enableval
="$enable_debug_gdb"
2042 if test "$enableval" = yes; then
2043 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
2045 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
2050 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
2051 if test "x$LINE" != x
; then
2052 eval "DEFAULT_$LINE"
2057 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
2062 eval "$ac_cv_use_debug_gdb"
2063 if test "$no_cache" != 1; then
2064 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
2067 if test "$wxUSE_DEBUG_GDB" = yes; then
2068 echo "$ac_t""yes" 1>&6
2070 echo "$ac_t""no" 1>&6
2074 echo $ac_n "checking "for --enable-debug_cntxt"""... $ac_c" 1>&6
2075 echo "configure:2076: checking "for --enable-debug_cntxt"" >&5
2077 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
2078 if test "${enable_debug_cntxt+set}" = set; then
2079 enableval
="$enable_debug_cntxt"
2081 if test "$enableval" = yes; then
2082 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
2084 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
2089 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2090 if test "x$LINE" != x
; then
2091 eval "DEFAULT_$LINE"
2096 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2101 eval "$ac_cv_use_debug_cntxt"
2102 if test "$no_cache" != 1; then
2103 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2106 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2107 echo "$ac_t""yes" 1>&6
2109 echo "$ac_t""no" 1>&6
2113 echo $ac_n "checking "for --enable-mem_tracing"""... $ac_c" 1>&6
2114 echo "configure:2115: checking "for --enable-mem_tracing"" >&5
2116 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2117 if test "${enable_mem_tracing+set}" = set; then
2118 enableval
="$enable_mem_tracing"
2120 if test "$enableval" = yes; then
2121 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
2123 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
2128 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2129 if test "x$LINE" != x
; then
2130 eval "DEFAULT_$LINE"
2135 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2140 eval "$ac_cv_use_mem_tracing"
2141 if test "$no_cache" != 1; then
2142 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2145 if test "$wxUSE_MEM_TRACING" = yes; then
2146 echo "$ac_t""yes" 1>&6
2148 echo "$ac_t""no" 1>&6
2152 echo $ac_n "checking "for --enable-profile"""... $ac_c" 1>&6
2153 echo "configure:2154: checking "for --enable-profile"" >&5
2155 # Check whether --enable-profile or --disable-profile was given.
2156 if test "${enable_profile+set}" = set; then
2157 enableval
="$enable_profile"
2159 if test "$enableval" = yes; then
2160 ac_cv_use_profile
='wxUSE_PROFILE=yes'
2162 ac_cv_use_profile
='wxUSE_PROFILE=no'
2167 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2168 if test "x$LINE" != x
; then
2169 eval "DEFAULT_$LINE"
2174 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2179 eval "$ac_cv_use_profile"
2180 if test "$no_cache" != 1; then
2181 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2184 if test "$wxUSE_PROFILE" = yes; then
2185 echo "$ac_t""yes" 1>&6
2187 echo "$ac_t""no" 1>&6
2191 echo $ac_n "checking "for --enable-no_rtti"""... $ac_c" 1>&6
2192 echo "configure:2193: checking "for --enable-no_rtti"" >&5
2194 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2195 if test "${enable_no_rtti+set}" = set; then
2196 enableval
="$enable_no_rtti"
2198 if test "$enableval" = yes; then
2199 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
2201 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
2206 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2207 if test "x$LINE" != x
; then
2208 eval "DEFAULT_$LINE"
2213 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2218 eval "$ac_cv_use_no_rtti"
2219 if test "$no_cache" != 1; then
2220 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2223 if test "$wxUSE_NO_RTTI" = yes; then
2224 echo "$ac_t""yes" 1>&6
2226 echo "$ac_t""no" 1>&6
2230 echo $ac_n "checking "for --enable-no_exceptions"""... $ac_c" 1>&6
2231 echo "configure:2232: checking "for --enable-no_exceptions"" >&5
2233 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2234 if test "${enable_no_exceptions+set}" = set; then
2235 enableval
="$enable_no_exceptions"
2237 if test "$enableval" = yes; then
2238 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
2240 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
2245 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2246 if test "x$LINE" != x
; then
2247 eval "DEFAULT_$LINE"
2252 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2257 eval "$ac_cv_use_no_exceptions"
2258 if test "$no_cache" != 1; then
2259 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2262 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2263 echo "$ac_t""yes" 1>&6
2265 echo "$ac_t""no" 1>&6
2269 echo $ac_n "checking "for --enable-permissive"""... $ac_c" 1>&6
2270 echo "configure:2271: checking "for --enable-permissive"" >&5
2272 # Check whether --enable-permissive or --disable-permissive was given.
2273 if test "${enable_permissive+set}" = set; then
2274 enableval
="$enable_permissive"
2276 if test "$enableval" = yes; then
2277 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
2279 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
2284 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2285 if test "x$LINE" != x
; then
2286 eval "DEFAULT_$LINE"
2291 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
2296 eval "$ac_cv_use_permissive"
2297 if test "$no_cache" != 1; then
2298 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
2301 if test "$wxUSE_PERMISSIVE" = yes; then
2302 echo "$ac_t""yes" 1>&6
2304 echo "$ac_t""no" 1>&6
2308 echo $ac_n "checking "for --enable-no_deps"""... $ac_c" 1>&6
2309 echo "configure:2310: checking "for --enable-no_deps"" >&5
2311 # Check whether --enable-no_deps or --disable-no_deps was given.
2312 if test "${enable_no_deps+set}" = set; then
2313 enableval
="$enable_no_deps"
2315 if test "$enableval" = yes; then
2316 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
2318 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
2323 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
2324 if test "x$LINE" != x
; then
2325 eval "DEFAULT_$LINE"
2330 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
2335 eval "$ac_cv_use_no_deps"
2336 if test "$no_cache" != 1; then
2337 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
2340 if test "$wxUSE_NO_DEPS" = yes; then
2341 echo "$ac_t""yes" 1>&6
2343 echo "$ac_t""no" 1>&6
2349 echo $ac_n "checking "for --enable-intl"""... $ac_c" 1>&6
2350 echo "configure:2351: checking "for --enable-intl"" >&5
2352 # Check whether --enable-intl or --disable-intl was given.
2353 if test "${enable_intl+set}" = set; then
2354 enableval
="$enable_intl"
2356 if test "$enableval" = yes; then
2357 ac_cv_use_intl
='wxUSE_INTL=yes'
2359 ac_cv_use_intl
='wxUSE_INTL=no'
2364 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
2365 if test "x$LINE" != x
; then
2366 eval "DEFAULT_$LINE"
2371 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
2376 eval "$ac_cv_use_intl"
2377 if test "$no_cache" != 1; then
2378 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
2381 if test "$wxUSE_INTL" = yes; then
2382 echo "$ac_t""yes" 1>&6
2384 echo "$ac_t""no" 1>&6
2388 echo $ac_n "checking "for --enable-config"""... $ac_c" 1>&6
2389 echo "configure:2390: checking "for --enable-config"" >&5
2391 # Check whether --enable-config or --disable-config was given.
2392 if test "${enable_config+set}" = set; then
2393 enableval
="$enable_config"
2395 if test "$enableval" = yes; then
2396 ac_cv_use_config
='wxUSE_CONFIG=yes'
2398 ac_cv_use_config
='wxUSE_CONFIG=no'
2403 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
2404 if test "x$LINE" != x
; then
2405 eval "DEFAULT_$LINE"
2410 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
2415 eval "$ac_cv_use_config"
2416 if test "$no_cache" != 1; then
2417 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
2420 if test "$wxUSE_CONFIG" = yes; then
2421 echo "$ac_t""yes" 1>&6
2423 echo "$ac_t""no" 1>&6
2427 echo $ac_n "checking "for --enable-sockets"""... $ac_c" 1>&6
2428 echo "configure:2429: checking "for --enable-sockets"" >&5
2430 # Check whether --enable-sockets or --disable-sockets was given.
2431 if test "${enable_sockets+set}" = set; then
2432 enableval
="$enable_sockets"
2434 if test "$enableval" = yes; then
2435 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
2437 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
2442 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
2443 if test "x$LINE" != x
; then
2444 eval "DEFAULT_$LINE"
2449 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
2454 eval "$ac_cv_use_sockets"
2455 if test "$no_cache" != 1; then
2456 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
2459 if test "$wxUSE_SOCKETS" = yes; then
2460 echo "$ac_t""yes" 1>&6
2462 echo "$ac_t""no" 1>&6
2466 echo $ac_n "checking "for --enable-dialupman"""... $ac_c" 1>&6
2467 echo "configure:2468: checking "for --enable-dialupman"" >&5
2469 # Check whether --enable-dialupman or --disable-dialupman was given.
2470 if test "${enable_dialupman+set}" = set; then
2471 enableval
="$enable_dialupman"
2473 if test "$enableval" = yes; then
2474 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
2476 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
2481 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
2482 if test "x$LINE" != x
; then
2483 eval "DEFAULT_$LINE"
2488 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
2493 eval "$ac_cv_use_dialupman"
2494 if test "$no_cache" != 1; then
2495 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
2498 if test "$wxUSE_DIALUP_MANAGER" = yes; then
2499 echo "$ac_t""yes" 1>&6
2501 echo "$ac_t""no" 1>&6
2505 echo $ac_n "checking "for --enable-ipc"""... $ac_c" 1>&6
2506 echo "configure:2507: checking "for --enable-ipc"" >&5
2508 # Check whether --enable-ipc or --disable-ipc was given.
2509 if test "${enable_ipc+set}" = set; then
2510 enableval
="$enable_ipc"
2512 if test "$enableval" = yes; then
2513 ac_cv_use_ipc
='wxUSE_IPC=yes'
2515 ac_cv_use_ipc
='wxUSE_IPC=no'
2520 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
2521 if test "x$LINE" != x
; then
2522 eval "DEFAULT_$LINE"
2527 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
2532 eval "$ac_cv_use_ipc"
2533 if test "$no_cache" != 1; then
2534 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
2537 if test "$wxUSE_IPC" = yes; then
2538 echo "$ac_t""yes" 1>&6
2540 echo "$ac_t""no" 1>&6
2544 echo $ac_n "checking "for --enable-apple_ieee"""... $ac_c" 1>&6
2545 echo "configure:2546: checking "for --enable-apple_ieee"" >&5
2547 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
2548 if test "${enable_apple_ieee+set}" = set; then
2549 enableval
="$enable_apple_ieee"
2551 if test "$enableval" = yes; then
2552 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
2554 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
2559 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
2560 if test "x$LINE" != x
; then
2561 eval "DEFAULT_$LINE"
2566 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
2571 eval "$ac_cv_use_apple_ieee"
2572 if test "$no_cache" != 1; then
2573 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
2576 if test "$wxUSE_APPLE_IEEE" = yes; then
2577 echo "$ac_t""yes" 1>&6
2579 echo "$ac_t""no" 1>&6
2583 echo $ac_n "checking "for --enable-timedate"""... $ac_c" 1>&6
2584 echo "configure:2585: checking "for --enable-timedate"" >&5
2586 # Check whether --enable-timedate or --disable-timedate was given.
2587 if test "${enable_timedate+set}" = set; then
2588 enableval
="$enable_timedate"
2590 if test "$enableval" = yes; then
2591 ac_cv_use_timedate
='wxUSE_TIMEDATE=yes'
2593 ac_cv_use_timedate
='wxUSE_TIMEDATE=no'
2598 LINE
=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}`
2599 if test "x$LINE" != x
; then
2600 eval "DEFAULT_$LINE"
2605 ac_cv_use_timedate
='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
2610 eval "$ac_cv_use_timedate"
2611 if test "$no_cache" != 1; then
2612 echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp
2615 if test "$wxUSE_TIMEDATE" = yes; then
2616 echo "$ac_t""yes" 1>&6
2618 echo "$ac_t""no" 1>&6
2622 echo $ac_n "checking "for --enable-wave"""... $ac_c" 1>&6
2623 echo "configure:2624: checking "for --enable-wave"" >&5
2625 # Check whether --enable-wave or --disable-wave was given.
2626 if test "${enable_wave+set}" = set; then
2627 enableval
="$enable_wave"
2629 if test "$enableval" = yes; then
2630 ac_cv_use_wave
='wxUSE_WAVE=yes'
2632 ac_cv_use_wave
='wxUSE_WAVE=no'
2637 LINE
=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
2638 if test "x$LINE" != x
; then
2639 eval "DEFAULT_$LINE"
2644 ac_cv_use_wave
='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
2649 eval "$ac_cv_use_wave"
2650 if test "$no_cache" != 1; then
2651 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
2654 if test "$wxUSE_WAVE" = yes; then
2655 echo "$ac_t""yes" 1>&6
2657 echo "$ac_t""no" 1>&6
2661 echo $ac_n "checking "for --enable-fraction"""... $ac_c" 1>&6
2662 echo "configure:2663: checking "for --enable-fraction"" >&5
2664 # Check whether --enable-fraction or --disable-fraction was given.
2665 if test "${enable_fraction+set}" = set; then
2666 enableval
="$enable_fraction"
2668 if test "$enableval" = yes; then
2669 ac_cv_use_fraction
='wxUSE_FRACTION=yes'
2671 ac_cv_use_fraction
='wxUSE_FRACTION=no'
2676 LINE
=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
2677 if test "x$LINE" != x
; then
2678 eval "DEFAULT_$LINE"
2683 ac_cv_use_fraction
='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
2688 eval "$ac_cv_use_fraction"
2689 if test "$no_cache" != 1; then
2690 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
2693 if test "$wxUSE_FRACTION" = yes; then
2694 echo "$ac_t""yes" 1>&6
2696 echo "$ac_t""no" 1>&6
2700 echo $ac_n "checking "for --enable-dynlib"""... $ac_c" 1>&6
2701 echo "configure:2702: checking "for --enable-dynlib"" >&5
2703 # Check whether --enable-dynlib or --disable-dynlib was given.
2704 if test "${enable_dynlib+set}" = set; then
2705 enableval
="$enable_dynlib"
2707 if test "$enableval" = yes; then
2708 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
2710 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
2715 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
2716 if test "x$LINE" != x
; then
2717 eval "DEFAULT_$LINE"
2722 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
2727 eval "$ac_cv_use_dynlib"
2728 if test "$no_cache" != 1; then
2729 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
2732 if test "$wxUSE_DYNLIB_CLASS" = yes; then
2733 echo "$ac_t""yes" 1>&6
2735 echo "$ac_t""no" 1>&6
2739 echo $ac_n "checking "for --enable-longlong"""... $ac_c" 1>&6
2740 echo "configure:2741: checking "for --enable-longlong"" >&5
2742 # Check whether --enable-longlong or --disable-longlong was given.
2743 if test "${enable_longlong+set}" = set; then
2744 enableval
="$enable_longlong"
2746 if test "$enableval" = yes; then
2747 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
2749 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
2754 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
2755 if test "x$LINE" != x
; then
2756 eval "DEFAULT_$LINE"
2761 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
2766 eval "$ac_cv_use_longlong"
2767 if test "$no_cache" != 1; then
2768 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
2771 if test "$wxUSE_LONGLONG" = yes; then
2772 echo "$ac_t""yes" 1>&6
2774 echo "$ac_t""no" 1>&6
2778 echo $ac_n "checking "for --enable-log"""... $ac_c" 1>&6
2779 echo "configure:2780: checking "for --enable-log"" >&5
2781 # Check whether --enable-log or --disable-log was given.
2782 if test "${enable_log+set}" = set; then
2783 enableval
="$enable_log"
2785 if test "$enableval" = yes; then
2786 ac_cv_use_log
='wxUSE_LOG=yes'
2788 ac_cv_use_log
='wxUSE_LOG=no'
2793 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
2794 if test "x$LINE" != x
; then
2795 eval "DEFAULT_$LINE"
2800 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
2805 eval "$ac_cv_use_log"
2806 if test "$no_cache" != 1; then
2807 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
2810 if test "$wxUSE_LOG" = yes; then
2811 echo "$ac_t""yes" 1>&6
2813 echo "$ac_t""no" 1>&6
2817 echo $ac_n "checking "for --enable-streams"""... $ac_c" 1>&6
2818 echo "configure:2819: checking "for --enable-streams"" >&5
2820 # Check whether --enable-streams or --disable-streams was given.
2821 if test "${enable_streams+set}" = set; then
2822 enableval
="$enable_streams"
2824 if test "$enableval" = yes; then
2825 ac_cv_use_streams
='wxUSE_STREAMS=yes'
2827 ac_cv_use_streams
='wxUSE_STREAMS=no'
2832 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
2833 if test "x$LINE" != x
; then
2834 eval "DEFAULT_$LINE"
2839 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
2844 eval "$ac_cv_use_streams"
2845 if test "$no_cache" != 1; then
2846 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
2849 if test "$wxUSE_STREAMS" = yes; then
2850 echo "$ac_t""yes" 1>&6
2852 echo "$ac_t""no" 1>&6
2856 echo $ac_n "checking "for --enable-file"""... $ac_c" 1>&6
2857 echo "configure:2858: checking "for --enable-file"" >&5
2859 # Check whether --enable-file or --disable-file was given.
2860 if test "${enable_file+set}" = set; then
2861 enableval
="$enable_file"
2863 if test "$enableval" = yes; then
2864 ac_cv_use_file
='wxUSE_FILE=yes'
2866 ac_cv_use_file
='wxUSE_FILE=no'
2871 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
2872 if test "x$LINE" != x
; then
2873 eval "DEFAULT_$LINE"
2878 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
2883 eval "$ac_cv_use_file"
2884 if test "$no_cache" != 1; then
2885 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
2888 if test "$wxUSE_FILE" = yes; then
2889 echo "$ac_t""yes" 1>&6
2891 echo "$ac_t""no" 1>&6
2895 echo $ac_n "checking "for --enable-textfile"""... $ac_c" 1>&6
2896 echo "configure:2897: checking "for --enable-textfile"" >&5
2898 # Check whether --enable-textfile or --disable-textfile was given.
2899 if test "${enable_textfile+set}" = set; then
2900 enableval
="$enable_textfile"
2902 if test "$enableval" = yes; then
2903 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
2905 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
2910 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
2911 if test "x$LINE" != x
; then
2912 eval "DEFAULT_$LINE"
2917 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
2922 eval "$ac_cv_use_textfile"
2923 if test "$no_cache" != 1; then
2924 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
2927 if test "$wxUSE_TEXTFILE" = yes; then
2928 echo "$ac_t""yes" 1>&6
2930 echo "$ac_t""no" 1>&6
2934 echo $ac_n "checking "for --enable-unicode"""... $ac_c" 1>&6
2935 echo "configure:2936: checking "for --enable-unicode"" >&5
2937 # Check whether --enable-unicode or --disable-unicode was given.
2938 if test "${enable_unicode+set}" = set; then
2939 enableval
="$enable_unicode"
2941 if test "$enableval" = yes; then
2942 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
2944 ac_cv_use_unicode
='wxUSE_UNICODE=no'
2949 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
2950 if test "x$LINE" != x
; then
2951 eval "DEFAULT_$LINE"
2956 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
2961 eval "$ac_cv_use_unicode"
2962 if test "$no_cache" != 1; then
2963 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
2966 if test "$wxUSE_UNICODE" = yes; then
2967 echo "$ac_t""yes" 1>&6
2969 echo "$ac_t""no" 1>&6
2973 echo $ac_n "checking "for --enable-wcsrtombs"""... $ac_c" 1>&6
2974 echo "configure:2975: checking "for --enable-wcsrtombs"" >&5
2976 # Check whether --enable-wcsrtombs or --disable-wcsrtombs was given.
2977 if test "${enable_wcsrtombs+set}" = set; then
2978 enableval
="$enable_wcsrtombs"
2980 if test "$enableval" = yes; then
2981 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS=yes'
2983 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS=no'
2988 LINE
=`grep "wxUSE_WCSRTOMBS" ${wx_arg_cache_file}`
2989 if test "x$LINE" != x
; then
2990 eval "DEFAULT_$LINE"
2995 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS='$DEFAULT_wxUSE_WCSRTOMBS
3000 eval "$ac_cv_use_wcsrtombs"
3001 if test "$no_cache" != 1; then
3002 echo $ac_cv_use_wcsrtombs >> ${wx_arg_cache_file}.tmp
3005 if test "$wxUSE_WCSRTOMBS" = yes; then
3006 echo "$ac_t""yes" 1>&6
3008 echo "$ac_t""no" 1>&6
3012 echo $ac_n "checking "for --enable-wxprintfv"""... $ac_c" 1>&6
3013 echo "configure:3014: checking "for --enable-wxprintfv"" >&5
3015 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
3016 if test "${enable_wxprintfv+set}" = set; then
3017 enableval
="$enable_wxprintfv"
3019 if test "$enableval" = yes; then
3020 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
3022 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
3027 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
3028 if test "x$LINE" != x
; then
3029 eval "DEFAULT_$LINE"
3034 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
3039 eval "$ac_cv_use_wxprintfv"
3040 if test "$no_cache" != 1; then
3041 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
3044 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
3045 echo "$ac_t""yes" 1>&6
3047 echo "$ac_t""no" 1>&6
3051 echo $ac_n "checking "for --enable-joystick"""... $ac_c" 1>&6
3052 echo "configure:3053: checking "for --enable-joystick"" >&5
3054 # Check whether --enable-joystick or --disable-joystick was given.
3055 if test "${enable_joystick+set}" = set; then
3056 enableval
="$enable_joystick"
3058 if test "$enableval" = yes; then
3059 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
3061 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
3066 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
3067 if test "x$LINE" != x
; then
3068 eval "DEFAULT_$LINE"
3073 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
3078 eval "$ac_cv_use_joystick"
3079 if test "$no_cache" != 1; then
3080 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
3083 if test "$wxUSE_JOYSTICK" = yes; then
3084 echo "$ac_t""yes" 1>&6
3086 echo "$ac_t""no" 1>&6
3090 echo $ac_n "checking "for --enable-std_iostreams"""... $ac_c" 1>&6
3091 echo "configure:3092: checking "for --enable-std_iostreams"" >&5
3093 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
3094 if test "${enable_std_iostreams+set}" = set; then
3095 enableval
="$enable_std_iostreams"
3097 if test "$enableval" = yes; then
3098 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
3100 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
3105 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
3106 if test "x$LINE" != x
; then
3107 eval "DEFAULT_$LINE"
3112 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
3117 eval "$ac_cv_use_std_iostreams"
3118 if test "$no_cache" != 1; then
3119 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
3122 if test "$wxUSE_STD_IOSTREAM" = yes; then
3123 echo "$ac_t""yes" 1>&6
3125 echo "$ac_t""no" 1>&6
3129 echo $ac_n "checking "for --enable-fs_inet"""... $ac_c" 1>&6
3130 echo "configure:3131: checking "for --enable-fs_inet"" >&5
3132 # Check whether --enable-fs_inet or --disable-fs_inet was given.
3133 if test "${enable_fs_inet+set}" = set; then
3134 enableval
="$enable_fs_inet"
3136 if test "$enableval" = yes; then
3137 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
3139 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
3144 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
3145 if test "x$LINE" != x
; then
3146 eval "DEFAULT_$LINE"
3151 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
3156 eval "$ac_cv_use_fs_inet"
3157 if test "$no_cache" != 1; then
3158 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
3161 if test "$wxUSE_FS_INET" = yes; then
3162 echo "$ac_t""yes" 1>&6
3164 echo "$ac_t""no" 1>&6
3168 echo $ac_n "checking "for --enable-fs_zip"""... $ac_c" 1>&6
3169 echo "configure:3170: checking "for --enable-fs_zip"" >&5
3171 # Check whether --enable-fs_zip or --disable-fs_zip was given.
3172 if test "${enable_fs_zip+set}" = set; then
3173 enableval
="$enable_fs_zip"
3175 if test "$enableval" = yes; then
3176 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
3178 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
3183 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
3184 if test "x$LINE" != x
; then
3185 eval "DEFAULT_$LINE"
3190 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
3195 eval "$ac_cv_use_fs_zip"
3196 if test "$no_cache" != 1; then
3197 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
3200 if test "$wxUSE_FS_ZIP" = yes; then
3201 echo "$ac_t""yes" 1>&6
3203 echo "$ac_t""no" 1>&6
3207 echo $ac_n "checking "for --enable-zipstream"""... $ac_c" 1>&6
3208 echo "configure:3209: checking "for --enable-zipstream"" >&5
3210 # Check whether --enable-zipstream or --disable-zipstream was given.
3211 if test "${enable_zipstream+set}" = set; then
3212 enableval
="$enable_zipstream"
3214 if test "$enableval" = yes; then
3215 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
3217 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
3222 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
3223 if test "x$LINE" != x
; then
3224 eval "DEFAULT_$LINE"
3229 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
3234 eval "$ac_cv_use_zipstream"
3235 if test "$no_cache" != 1; then
3236 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
3239 if test "$wxUSE_ZIPSTREAM" = yes; then
3240 echo "$ac_t""yes" 1>&6
3242 echo "$ac_t""no" 1>&6
3248 echo $ac_n "checking "for --enable-threads"""... $ac_c" 1>&6
3249 echo "configure:3250: checking "for --enable-threads"" >&5
3251 # Check whether --enable-threads or --disable-threads was given.
3252 if test "${enable_threads+set}" = set; then
3253 enableval
="$enable_threads"
3255 if test "$enableval" = yes; then
3256 ac_cv_use_threads
='wxUSE_THREADS=yes'
3258 ac_cv_use_threads
='wxUSE_THREADS=no'
3263 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
3264 if test "x$LINE" != x
; then
3265 eval "DEFAULT_$LINE"
3270 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
3275 eval "$ac_cv_use_threads"
3276 if test "$no_cache" != 1; then
3277 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
3280 if test "$wxUSE_THREADS" = yes; then
3281 echo "$ac_t""yes" 1>&6
3283 echo "$ac_t""no" 1>&6
3287 echo $ac_n "checking "for --enable-serial"""... $ac_c" 1>&6
3288 echo "configure:3289: checking "for --enable-serial"" >&5
3290 # Check whether --enable-serial or --disable-serial was given.
3291 if test "${enable_serial+set}" = set; then
3292 enableval
="$enable_serial"
3294 if test "$enableval" = yes; then
3295 ac_cv_use_serial
='wxUSE_SERIAL=yes'
3297 ac_cv_use_serial
='wxUSE_SERIAL=no'
3302 LINE
=`grep "wxUSE_SERIAL" ${wx_arg_cache_file}`
3303 if test "x$LINE" != x
; then
3304 eval "DEFAULT_$LINE"
3309 ac_cv_use_serial
='wxUSE_SERIAL='$DEFAULT_wxUSE_SERIAL
3314 eval "$ac_cv_use_serial"
3315 if test "$no_cache" != 1; then
3316 echo $ac_cv_use_serial >> ${wx_arg_cache_file}.tmp
3319 if test "$wxUSE_SERIAL" = yes; then
3320 echo "$ac_t""yes" 1>&6
3322 echo "$ac_t""no" 1>&6
3328 echo $ac_n "checking "for --enable-docview"""... $ac_c" 1>&6
3329 echo "configure:3330: checking "for --enable-docview"" >&5
3331 # Check whether --enable-docview or --disable-docview was given.
3332 if test "${enable_docview+set}" = set; then
3333 enableval
="$enable_docview"
3335 if test "$enableval" = yes; then
3336 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
3338 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
3343 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
3344 if test "x$LINE" != x
; then
3345 eval "DEFAULT_$LINE"
3350 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
3355 eval "$ac_cv_use_docview"
3356 if test "$no_cache" != 1; then
3357 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
3360 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
3361 echo "$ac_t""yes" 1>&6
3363 echo "$ac_t""no" 1>&6
3367 echo $ac_n "checking "for --enable-help"""... $ac_c" 1>&6
3368 echo "configure:3369: checking "for --enable-help"" >&5
3370 # Check whether --enable-help or --disable-help was given.
3371 if test "${enable_help+set}" = set; then
3372 enableval
="$enable_help"
3374 if test "$enableval" = yes; then
3375 ac_cv_use_help
='wxUSE_HELP=yes'
3377 ac_cv_use_help
='wxUSE_HELP=no'
3382 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
3383 if test "x$LINE" != x
; then
3384 eval "DEFAULT_$LINE"
3389 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
3394 eval "$ac_cv_use_help"
3395 if test "$no_cache" != 1; then
3396 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
3399 if test "$wxUSE_HELP" = yes; then
3400 echo "$ac_t""yes" 1>&6
3402 echo "$ac_t""no" 1>&6
3406 echo $ac_n "checking "for --enable-constraints"""... $ac_c" 1>&6
3407 echo "configure:3408: checking "for --enable-constraints"" >&5
3409 # Check whether --enable-constraints or --disable-constraints was given.
3410 if test "${enable_constraints+set}" = set; then
3411 enableval
="$enable_constraints"
3413 if test "$enableval" = yes; then
3414 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
3416 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
3421 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
3422 if test "x$LINE" != x
; then
3423 eval "DEFAULT_$LINE"
3428 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
3433 eval "$ac_cv_use_constraints"
3434 if test "$no_cache" != 1; then
3435 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
3438 if test "$wxUSE_CONSTRAINTS" = yes; then
3439 echo "$ac_t""yes" 1>&6
3441 echo "$ac_t""no" 1>&6
3445 echo $ac_n "checking "for --enable-printarch"""... $ac_c" 1>&6
3446 echo "configure:3447: checking "for --enable-printarch"" >&5
3448 # Check whether --enable-printarch or --disable-printarch was given.
3449 if test "${enable_printarch+set}" = set; then
3450 enableval
="$enable_printarch"
3452 if test "$enableval" = yes; then
3453 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
3455 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
3460 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
3461 if test "x$LINE" != x
; then
3462 eval "DEFAULT_$LINE"
3467 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
3472 eval "$ac_cv_use_printarch"
3473 if test "$no_cache" != 1; then
3474 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
3477 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
3478 echo "$ac_t""yes" 1>&6
3480 echo "$ac_t""no" 1>&6
3484 echo $ac_n "checking "for --enable-mdi"""... $ac_c" 1>&6
3485 echo "configure:3486: checking "for --enable-mdi"" >&5
3487 # Check whether --enable-mdi or --disable-mdi was given.
3488 if test "${enable_mdi+set}" = set; then
3489 enableval
="$enable_mdi"
3491 if test "$enableval" = yes; then
3492 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=yes'
3494 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=no'
3499 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
3500 if test "x$LINE" != x
; then
3501 eval "DEFAULT_$LINE"
3506 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
3511 eval "$ac_cv_use_mdi"
3512 if test "$no_cache" != 1; then
3513 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
3516 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
3517 echo "$ac_t""yes" 1>&6
3519 echo "$ac_t""no" 1>&6
3524 echo $ac_n "checking "for --enable-postscript"""... $ac_c" 1>&6
3525 echo "configure:3526: checking "for --enable-postscript"" >&5
3527 # Check whether --enable-postscript or --disable-postscript was given.
3528 if test "${enable_postscript+set}" = set; then
3529 enableval
="$enable_postscript"
3531 if test "$enableval" = yes; then
3532 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
3534 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
3539 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
3540 if test "x$LINE" != x
; then
3541 eval "DEFAULT_$LINE"
3546 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
3551 eval "$ac_cv_use_postscript"
3552 if test "$no_cache" != 1; then
3553 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
3556 if test "$wxUSE_POSTSCRIPT" = yes; then
3557 echo "$ac_t""yes" 1>&6
3559 echo "$ac_t""no" 1>&6
3565 echo $ac_n "checking "for --enable-prologio"""... $ac_c" 1>&6
3566 echo "configure:3567: checking "for --enable-prologio"" >&5
3568 # Check whether --enable-prologio or --disable-prologio was given.
3569 if test "${enable_prologio+set}" = set; then
3570 enableval
="$enable_prologio"
3572 if test "$enableval" = yes; then
3573 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
3575 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
3580 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
3581 if test "x$LINE" != x
; then
3582 eval "DEFAULT_$LINE"
3587 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
3592 eval "$ac_cv_use_prologio"
3593 if test "$no_cache" != 1; then
3594 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
3597 if test "$wxUSE_PROLOGIO" = yes; then
3598 echo "$ac_t""yes" 1>&6
3600 echo "$ac_t""no" 1>&6
3604 echo $ac_n "checking "for --enable-resources"""... $ac_c" 1>&6
3605 echo "configure:3606: checking "for --enable-resources"" >&5
3607 # Check whether --enable-resources or --disable-resources was given.
3608 if test "${enable_resources+set}" = set; then
3609 enableval
="$enable_resources"
3611 if test "$enableval" = yes; then
3612 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
3614 ac_cv_use_resources
='wxUSE_RESOURCES=no'
3619 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
3620 if test "x$LINE" != x
; then
3621 eval "DEFAULT_$LINE"
3626 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
3631 eval "$ac_cv_use_resources"
3632 if test "$no_cache" != 1; then
3633 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
3636 if test "$wxUSE_RESOURCES" = yes; then
3637 echo "$ac_t""yes" 1>&6
3639 echo "$ac_t""no" 1>&6
3644 echo $ac_n "checking "for --enable-xresources"""... $ac_c" 1>&6
3645 echo "configure:3646: checking "for --enable-xresources"" >&5
3647 # Check whether --enable-xresources or --disable-xresources was given.
3648 if test "${enable_xresources+set}" = set; then
3649 enableval
="$enable_xresources"
3651 if test "$enableval" = yes; then
3652 ac_cv_use_xresources
='wxUSE_X_RESOURCES=yes'
3654 ac_cv_use_xresources
='wxUSE_X_RESOURCES=no'
3659 LINE
=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
3660 if test "x$LINE" != x
; then
3661 eval "DEFAULT_$LINE"
3666 ac_cv_use_xresources
='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
3671 eval "$ac_cv_use_xresources"
3672 if test "$no_cache" != 1; then
3673 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
3676 if test "$wxUSE_X_RESOURCES" = yes; then
3677 echo "$ac_t""yes" 1>&6
3679 echo "$ac_t""no" 1>&6
3685 echo $ac_n "checking "for --enable-clipboard"""... $ac_c" 1>&6
3686 echo "configure:3687: checking "for --enable-clipboard"" >&5
3688 # Check whether --enable-clipboard or --disable-clipboard was given.
3689 if test "${enable_clipboard+set}" = set; then
3690 enableval
="$enable_clipboard"
3692 if test "$enableval" = yes; then
3693 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
3695 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
3700 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
3701 if test "x$LINE" != x
; then
3702 eval "DEFAULT_$LINE"
3707 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
3712 eval "$ac_cv_use_clipboard"
3713 if test "$no_cache" != 1; then
3714 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
3717 if test "$wxUSE_CLIPBOARD" = yes; then
3718 echo "$ac_t""yes" 1>&6
3720 echo "$ac_t""no" 1>&6
3724 echo $ac_n "checking "for --enable-dnd"""... $ac_c" 1>&6
3725 echo "configure:3726: checking "for --enable-dnd"" >&5
3727 # Check whether --enable-dnd or --disable-dnd was given.
3728 if test "${enable_dnd+set}" = set; then
3729 enableval
="$enable_dnd"
3731 if test "$enableval" = yes; then
3732 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
3734 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
3739 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
3740 if test "x$LINE" != x
; then
3741 eval "DEFAULT_$LINE"
3746 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
3751 eval "$ac_cv_use_dnd"
3752 if test "$no_cache" != 1; then
3753 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
3756 if test "$wxUSE_DRAG_AND_DROP" = yes; then
3757 echo "$ac_t""yes" 1>&6
3759 echo "$ac_t""no" 1>&6
3764 echo $ac_n "checking "for --enable-wxtree"""... $ac_c" 1>&6
3765 echo "configure:3766: checking "for --enable-wxtree"" >&5
3767 # Check whether --enable-wxtree or --disable-wxtree was given.
3768 if test "${enable_wxtree+set}" = set; then
3769 enableval
="$enable_wxtree"
3771 if test "$enableval" = yes; then
3772 ac_cv_use_wxtree
='wxUSE_WXTREE=yes'
3774 ac_cv_use_wxtree
='wxUSE_WXTREE=no'
3779 LINE
=`grep "wxUSE_WXTREE" ${wx_arg_cache_file}`
3780 if test "x$LINE" != x
; then
3781 eval "DEFAULT_$LINE"
3786 ac_cv_use_wxtree
='wxUSE_WXTREE='$DEFAULT_wxUSE_WXTREE
3791 eval "$ac_cv_use_wxtree"
3792 if test "$no_cache" != 1; then
3793 echo $ac_cv_use_wxtree >> ${wx_arg_cache_file}.tmp
3796 if test "$wxUSE_WXTREE" = yes; then
3797 echo "$ac_t""yes" 1>&6
3799 echo "$ac_t""no" 1>&6
3805 echo $ac_n "checking "for --enable-controls"""... $ac_c" 1>&6
3806 echo "configure:3807: checking "for --enable-controls"" >&5
3808 # Check whether --enable-controls or --disable-controls was given.
3809 if test "${enable_controls+set}" = set; then
3810 enableval
="$enable_controls"
3812 if test "$enableval" = yes; then
3813 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
3815 ac_cv_use_controls
='wxUSE_CONTROLS=no'
3820 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
3821 if test "x$LINE" != x
; then
3822 eval "DEFAULT_$LINE"
3827 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
3832 eval "$ac_cv_use_controls"
3833 if test "$no_cache" != 1; then
3834 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
3837 if test "$wxUSE_CONTROLS" = yes; then
3838 echo "$ac_t""yes" 1>&6
3840 echo "$ac_t""no" 1>&6
3844 if test "$wxUSE_CONTROLS" = "yes"; then
3845 DEFAULT_wxUSE_ACCEL
=yes
3846 DEFAULT_wxUSE_CARET
=yes
3847 DEFAULT_wxUSE_COMBOBOX
=yes
3848 DEFAULT_wxUSE_BMPBUTTON
=yes
3849 DEFAULT_wxUSE_CHECKBOX
=yes
3850 DEFAULT_wxUSE_CHECKLISTBOX
=yes
3851 DEFAULT_wxUSE_CHOICE
=yes
3852 DEFAULT_wxUSE_GAUGE
=yes
3853 DEFAULT_wxUSE_GRID
=yes
3854 DEFAULT_wxUSE_NEW_GRID
=no
3855 DEFAULT_wxUSE_IMAGLIST
=yes
3856 DEFAULT_wxUSE_LISTBOX
=yes
3857 DEFAULT_wxUSE_LISTCTRL
=yes
3858 DEFAULT_wxUSE_NOTEBOOK
=yes
3859 DEFAULT_wxUSE_RADIOBOX
=yes
3860 DEFAULT_wxUSE_RADIOBTN
=yes
3861 DEFAULT_wxUSE_SASH
=yes
3862 DEFAULT_wxUSE_SCROLLBAR
=yes
3863 DEFAULT_wxUSE_SLIDER
=yes
3864 DEFAULT_wxUSE_SPINBTN
=yes
3865 DEFAULT_wxUSE_SPINCTRL
=yes
3866 DEFAULT_wxUSE_SPLITTER
=yes
3867 DEFAULT_wxUSE_STATBMP
=yes
3868 DEFAULT_wxUSE_STATBOX
=yes
3869 DEFAULT_wxUSE_STATLINE
=yes
3870 DEFAULT_wxUSE_STATUSBAR
=yes
3871 DEFAULT_wxUSE_TAB_DIALOG
=yes
3872 DEFAULT_wxUSE_TOOLBAR
=yes
3873 DEFAULT_wxUSE_TOOLTIPS
=yes
3874 DEFAULT_wxUSE_TREECTRL
=yes
3875 elif test "$wxUSE_CONTROLS" = "no"; then
3876 DEFAULT_wxUSE_ACCEL
=no
3877 DEFAULT_wxUSE_CARET
=no
3878 DEFAULT_wxUSE_COMBOBOX
=no
3879 DEFAULT_wxUSE_BMPBUTTON
=no
3880 DEFAULT_wxUSE_CHECKBOX
=no
3881 DEFAULT_wxUSE_CHECKLISTBOX
=no
3882 DEFAULT_wxUSE_CHOICE
=no
3883 DEFAULT_wxUSE_GAUGE
=no
3884 DEFAULT_wxUSE_GRID
=no
3885 DEFAULT_wxUSE_NEW_GRID
=no
3886 DEFAULT_wxUSE_IMAGLIST
=no
3887 DEFAULT_wxUSE_LISTBOX
=no
3888 DEFAULT_wxUSE_LISTCTRL
=no
3889 DEFAULT_wxUSE_NOTEBOOK
=no
3890 DEFAULT_wxUSE_RADIOBOX
=no
3891 DEFAULT_wxUSE_RADIOBTN
=no
3892 DEFAULT_wxUSE_SASH
=no
3893 DEFAULT_wxUSE_SCROLLBAR
=no
3894 DEFAULT_wxUSE_SLIDER
=no
3895 DEFAULT_wxUSE_SPINBTN
=no
3896 DEFAULT_wxUSE_SPINCTRL
=no
3897 DEFAULT_wxUSE_SPLITTER
=no
3898 DEFAULT_wxUSE_STATBMP
=no
3899 DEFAULT_wxUSE_STATBOX
=no
3900 DEFAULT_wxUSE_STATLINE
=no
3901 DEFAULT_wxUSE_STATUSBAR
=no
3902 DEFAULT_wxUSE_TAB_DIALOG
=no
3903 DEFAULT_wxUSE_TOOLBAR
=no
3904 DEFAULT_wxUSE_TOOLTIPS
=no
3905 DEFAULT_wxUSE_TREECTRL
=no
3909 echo $ac_n "checking "for --enable-accel"""... $ac_c" 1>&6
3910 echo "configure:3911: checking "for --enable-accel"" >&5
3912 # Check whether --enable-accel or --disable-accel was given.
3913 if test "${enable_accel+set}" = set; then
3914 enableval
="$enable_accel"
3916 if test "$enableval" = yes; then
3917 ac_cv_use_accel
='wxUSE_ACCEL=yes'
3919 ac_cv_use_accel
='wxUSE_ACCEL=no'
3924 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
3925 if test "x$LINE" != x
; then
3926 eval "DEFAULT_$LINE"
3931 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
3936 eval "$ac_cv_use_accel"
3937 if test "$no_cache" != 1; then
3938 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
3941 if test "$wxUSE_ACCEL" = yes; then
3942 echo "$ac_t""yes" 1>&6
3944 echo "$ac_t""no" 1>&6
3948 echo $ac_n "checking "for --enable-caret"""... $ac_c" 1>&6
3949 echo "configure:3950: checking "for --enable-caret"" >&5
3951 # Check whether --enable-caret or --disable-caret was given.
3952 if test "${enable_caret+set}" = set; then
3953 enableval
="$enable_caret"
3955 if test "$enableval" = yes; then
3956 ac_cv_use_caret
='wxUSE_CARET=yes'
3958 ac_cv_use_caret
='wxUSE_CARET=no'
3963 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
3964 if test "x$LINE" != x
; then
3965 eval "DEFAULT_$LINE"
3970 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
3975 eval "$ac_cv_use_caret"
3976 if test "$no_cache" != 1; then
3977 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
3980 if test "$wxUSE_CARET" = yes; then
3981 echo "$ac_t""yes" 1>&6
3983 echo "$ac_t""no" 1>&6
3987 echo $ac_n "checking "for --enable-bmpbutton"""... $ac_c" 1>&6
3988 echo "configure:3989: checking "for --enable-bmpbutton"" >&5
3990 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
3991 if test "${enable_bmpbutton+set}" = set; then
3992 enableval
="$enable_bmpbutton"
3994 if test "$enableval" = yes; then
3995 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
3997 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
4002 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
4003 if test "x$LINE" != x
; then
4004 eval "DEFAULT_$LINE"
4009 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
4014 eval "$ac_cv_use_bmpbutton"
4015 if test "$no_cache" != 1; then
4016 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
4019 if test "$wxUSE_BMPBUTTON" = yes; then
4020 echo "$ac_t""yes" 1>&6
4022 echo "$ac_t""no" 1>&6
4026 echo $ac_n "checking "for --enable-checkbox"""... $ac_c" 1>&6
4027 echo "configure:4028: checking "for --enable-checkbox"" >&5
4029 # Check whether --enable-checkbox or --disable-checkbox was given.
4030 if test "${enable_checkbox+set}" = set; then
4031 enableval
="$enable_checkbox"
4033 if test "$enableval" = yes; then
4034 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
4036 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
4041 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
4042 if test "x$LINE" != x
; then
4043 eval "DEFAULT_$LINE"
4048 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
4053 eval "$ac_cv_use_checkbox"
4054 if test "$no_cache" != 1; then
4055 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
4058 if test "$wxUSE_CHECKBOX" = yes; then
4059 echo "$ac_t""yes" 1>&6
4061 echo "$ac_t""no" 1>&6
4065 echo $ac_n "checking "for --enable-checklst"""... $ac_c" 1>&6
4066 echo "configure:4067: checking "for --enable-checklst"" >&5
4068 # Check whether --enable-checklst or --disable-checklst was given.
4069 if test "${enable_checklst+set}" = set; then
4070 enableval
="$enable_checklst"
4072 if test "$enableval" = yes; then
4073 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
4075 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
4080 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
4081 if test "x$LINE" != x
; then
4082 eval "DEFAULT_$LINE"
4087 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
4092 eval "$ac_cv_use_checklst"
4093 if test "$no_cache" != 1; then
4094 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
4097 if test "$wxUSE_CHECKLST" = yes; then
4098 echo "$ac_t""yes" 1>&6
4100 echo "$ac_t""no" 1>&6
4104 echo $ac_n "checking "for --enable-choice"""... $ac_c" 1>&6
4105 echo "configure:4106: checking "for --enable-choice"" >&5
4107 # Check whether --enable-choice or --disable-choice was given.
4108 if test "${enable_choice+set}" = set; then
4109 enableval
="$enable_choice"
4111 if test "$enableval" = yes; then
4112 ac_cv_use_choice
='wxUSE_CHOICE=yes'
4114 ac_cv_use_choice
='wxUSE_CHOICE=no'
4119 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
4120 if test "x$LINE" != x
; then
4121 eval "DEFAULT_$LINE"
4126 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
4131 eval "$ac_cv_use_choice"
4132 if test "$no_cache" != 1; then
4133 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
4136 if test "$wxUSE_CHOICE" = yes; then
4137 echo "$ac_t""yes" 1>&6
4139 echo "$ac_t""no" 1>&6
4143 echo $ac_n "checking "for --enable-combobox"""... $ac_c" 1>&6
4144 echo "configure:4145: checking "for --enable-combobox"" >&5
4146 # Check whether --enable-combobox or --disable-combobox was given.
4147 if test "${enable_combobox+set}" = set; then
4148 enableval
="$enable_combobox"
4150 if test "$enableval" = yes; then
4151 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
4153 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
4158 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
4159 if test "x$LINE" != x
; then
4160 eval "DEFAULT_$LINE"
4165 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
4170 eval "$ac_cv_use_combobox"
4171 if test "$no_cache" != 1; then
4172 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
4175 if test "$wxUSE_COMBOBOX" = yes; then
4176 echo "$ac_t""yes" 1>&6
4178 echo "$ac_t""no" 1>&6
4182 echo $ac_n "checking "for --enable-gauge"""... $ac_c" 1>&6
4183 echo "configure:4184: checking "for --enable-gauge"" >&5
4185 # Check whether --enable-gauge or --disable-gauge was given.
4186 if test "${enable_gauge+set}" = set; then
4187 enableval
="$enable_gauge"
4189 if test "$enableval" = yes; then
4190 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
4192 ac_cv_use_gauge
='wxUSE_GAUGE=no'
4197 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
4198 if test "x$LINE" != x
; then
4199 eval "DEFAULT_$LINE"
4204 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
4209 eval "$ac_cv_use_gauge"
4210 if test "$no_cache" != 1; then
4211 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
4214 if test "$wxUSE_GAUGE" = yes; then
4215 echo "$ac_t""yes" 1>&6
4217 echo "$ac_t""no" 1>&6
4221 echo $ac_n "checking "for --enable-grid"""... $ac_c" 1>&6
4222 echo "configure:4223: checking "for --enable-grid"" >&5
4224 # Check whether --enable-grid or --disable-grid was given.
4225 if test "${enable_grid+set}" = set; then
4226 enableval
="$enable_grid"
4228 if test "$enableval" = yes; then
4229 ac_cv_use_grid
='wxUSE_GRID=yes'
4231 ac_cv_use_grid
='wxUSE_GRID=no'
4236 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
4237 if test "x$LINE" != x
; then
4238 eval "DEFAULT_$LINE"
4243 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
4248 eval "$ac_cv_use_grid"
4249 if test "$no_cache" != 1; then
4250 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
4253 if test "$wxUSE_GRID" = yes; then
4254 echo "$ac_t""yes" 1>&6
4256 echo "$ac_t""no" 1>&6
4260 echo $ac_n "checking "for --enable-newgrid"""... $ac_c" 1>&6
4261 echo "configure:4262: checking "for --enable-newgrid"" >&5
4263 # Check whether --enable-newgrid or --disable-newgrid was given.
4264 if test "${enable_newgrid+set}" = set; then
4265 enableval
="$enable_newgrid"
4267 if test "$enableval" = yes; then
4268 ac_cv_use_newgrid
='wxUSE_NEW_GRID=yes'
4270 ac_cv_use_newgrid
='wxUSE_NEW_GRID=no'
4275 LINE
=`grep "wxUSE_NEW_GRID" ${wx_arg_cache_file}`
4276 if test "x$LINE" != x
; then
4277 eval "DEFAULT_$LINE"
4282 ac_cv_use_newgrid
='wxUSE_NEW_GRID='$DEFAULT_wxUSE_NEW_GRID
4287 eval "$ac_cv_use_newgrid"
4288 if test "$no_cache" != 1; then
4289 echo $ac_cv_use_newgrid >> ${wx_arg_cache_file}.tmp
4292 if test "$wxUSE_NEW_GRID" = yes; then
4293 echo "$ac_t""yes" 1>&6
4295 echo "$ac_t""no" 1>&6
4299 echo $ac_n "checking "for --enable-imaglist"""... $ac_c" 1>&6
4300 echo "configure:4301: checking "for --enable-imaglist"" >&5
4302 # Check whether --enable-imaglist or --disable-imaglist was given.
4303 if test "${enable_imaglist+set}" = set; then
4304 enableval
="$enable_imaglist"
4306 if test "$enableval" = yes; then
4307 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
4309 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
4314 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
4315 if test "x$LINE" != x
; then
4316 eval "DEFAULT_$LINE"
4321 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
4326 eval "$ac_cv_use_imaglist"
4327 if test "$no_cache" != 1; then
4328 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
4331 if test "$wxUSE_IMAGLIST" = yes; then
4332 echo "$ac_t""yes" 1>&6
4334 echo "$ac_t""no" 1>&6
4338 echo $ac_n "checking "for --enable-listbox"""... $ac_c" 1>&6
4339 echo "configure:4340: checking "for --enable-listbox"" >&5
4341 # Check whether --enable-listbox or --disable-listbox was given.
4342 if test "${enable_listbox+set}" = set; then
4343 enableval
="$enable_listbox"
4345 if test "$enableval" = yes; then
4346 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
4348 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
4353 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
4354 if test "x$LINE" != x
; then
4355 eval "DEFAULT_$LINE"
4360 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
4365 eval "$ac_cv_use_listbox"
4366 if test "$no_cache" != 1; then
4367 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
4370 if test "$wxUSE_LISTBOX" = yes; then
4371 echo "$ac_t""yes" 1>&6
4373 echo "$ac_t""no" 1>&6
4377 echo $ac_n "checking "for --enable-listctrl"""... $ac_c" 1>&6
4378 echo "configure:4379: checking "for --enable-listctrl"" >&5
4380 # Check whether --enable-listctrl or --disable-listctrl was given.
4381 if test "${enable_listctrl+set}" = set; then
4382 enableval
="$enable_listctrl"
4384 if test "$enableval" = yes; then
4385 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
4387 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
4392 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
4393 if test "x$LINE" != x
; then
4394 eval "DEFAULT_$LINE"
4399 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
4404 eval "$ac_cv_use_listctrl"
4405 if test "$no_cache" != 1; then
4406 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
4409 if test "$wxUSE_LISTCTRL" = yes; then
4410 echo "$ac_t""yes" 1>&6
4412 echo "$ac_t""no" 1>&6
4416 echo $ac_n "checking "for --enable-notebook"""... $ac_c" 1>&6
4417 echo "configure:4418: checking "for --enable-notebook"" >&5
4419 # Check whether --enable-notebook or --disable-notebook was given.
4420 if test "${enable_notebook+set}" = set; then
4421 enableval
="$enable_notebook"
4423 if test "$enableval" = yes; then
4424 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
4426 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
4431 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
4432 if test "x$LINE" != x
; then
4433 eval "DEFAULT_$LINE"
4438 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
4443 eval "$ac_cv_use_notebook"
4444 if test "$no_cache" != 1; then
4445 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
4448 if test "$wxUSE_NOTEBOOK" = yes; then
4449 echo "$ac_t""yes" 1>&6
4451 echo "$ac_t""no" 1>&6
4455 echo $ac_n "checking "for --enable-radiobox"""... $ac_c" 1>&6
4456 echo "configure:4457: checking "for --enable-radiobox"" >&5
4458 # Check whether --enable-radiobox or --disable-radiobox was given.
4459 if test "${enable_radiobox+set}" = set; then
4460 enableval
="$enable_radiobox"
4462 if test "$enableval" = yes; then
4463 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
4465 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
4470 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
4471 if test "x$LINE" != x
; then
4472 eval "DEFAULT_$LINE"
4477 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
4482 eval "$ac_cv_use_radiobox"
4483 if test "$no_cache" != 1; then
4484 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
4487 if test "$wxUSE_RADIOBOX" = yes; then
4488 echo "$ac_t""yes" 1>&6
4490 echo "$ac_t""no" 1>&6
4494 echo $ac_n "checking "for --enable-radiobtn"""... $ac_c" 1>&6
4495 echo "configure:4496: checking "for --enable-radiobtn"" >&5
4497 # Check whether --enable-radiobtn or --disable-radiobtn was given.
4498 if test "${enable_radiobtn+set}" = set; then
4499 enableval
="$enable_radiobtn"
4501 if test "$enableval" = yes; then
4502 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
4504 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
4509 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
4510 if test "x$LINE" != x
; then
4511 eval "DEFAULT_$LINE"
4516 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
4521 eval "$ac_cv_use_radiobtn"
4522 if test "$no_cache" != 1; then
4523 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
4526 if test "$wxUSE_RADIOBTN" = yes; then
4527 echo "$ac_t""yes" 1>&6
4529 echo "$ac_t""no" 1>&6
4533 echo $ac_n "checking "for --enable-sash"""... $ac_c" 1>&6
4534 echo "configure:4535: checking "for --enable-sash"" >&5
4536 # Check whether --enable-sash or --disable-sash was given.
4537 if test "${enable_sash+set}" = set; then
4538 enableval
="$enable_sash"
4540 if test "$enableval" = yes; then
4541 ac_cv_use_sash
='wxUSE_SASH=yes'
4543 ac_cv_use_sash
='wxUSE_SASH=no'
4548 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
4549 if test "x$LINE" != x
; then
4550 eval "DEFAULT_$LINE"
4555 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
4560 eval "$ac_cv_use_sash"
4561 if test "$no_cache" != 1; then
4562 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
4565 if test "$wxUSE_SASH" = yes; then
4566 echo "$ac_t""yes" 1>&6
4568 echo "$ac_t""no" 1>&6
4572 echo $ac_n "checking "for --enable-scrollbar"""... $ac_c" 1>&6
4573 echo "configure:4574: checking "for --enable-scrollbar"" >&5
4575 # Check whether --enable-scrollbar or --disable-scrollbar was given.
4576 if test "${enable_scrollbar+set}" = set; then
4577 enableval
="$enable_scrollbar"
4579 if test "$enableval" = yes; then
4580 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
4582 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
4587 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
4588 if test "x$LINE" != x
; then
4589 eval "DEFAULT_$LINE"
4594 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
4599 eval "$ac_cv_use_scrollbar"
4600 if test "$no_cache" != 1; then
4601 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
4604 if test "$wxUSE_SCROLLBAR" = yes; then
4605 echo "$ac_t""yes" 1>&6
4607 echo "$ac_t""no" 1>&6
4611 echo $ac_n "checking "for --enable-slider"""... $ac_c" 1>&6
4612 echo "configure:4613: checking "for --enable-slider"" >&5
4614 # Check whether --enable-slider or --disable-slider was given.
4615 if test "${enable_slider+set}" = set; then
4616 enableval
="$enable_slider"
4618 if test "$enableval" = yes; then
4619 ac_cv_use_slider
='wxUSE_SLIDER=yes'
4621 ac_cv_use_slider
='wxUSE_SLIDER=no'
4626 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
4627 if test "x$LINE" != x
; then
4628 eval "DEFAULT_$LINE"
4633 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
4638 eval "$ac_cv_use_slider"
4639 if test "$no_cache" != 1; then
4640 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
4643 if test "$wxUSE_SLIDER" = yes; then
4644 echo "$ac_t""yes" 1>&6
4646 echo "$ac_t""no" 1>&6
4650 echo $ac_n "checking "for --enable-spinbtn"""... $ac_c" 1>&6
4651 echo "configure:4652: checking "for --enable-spinbtn"" >&5
4653 # Check whether --enable-spinbtn or --disable-spinbtn was given.
4654 if test "${enable_spinbtn+set}" = set; then
4655 enableval
="$enable_spinbtn"
4657 if test "$enableval" = yes; then
4658 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
4660 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
4665 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
4666 if test "x$LINE" != x
; then
4667 eval "DEFAULT_$LINE"
4672 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
4677 eval "$ac_cv_use_spinbtn"
4678 if test "$no_cache" != 1; then
4679 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
4682 if test "$wxUSE_SPINBTN" = yes; then
4683 echo "$ac_t""yes" 1>&6
4685 echo "$ac_t""no" 1>&6
4689 echo $ac_n "checking "for --enable-spinctrl"""... $ac_c" 1>&6
4690 echo "configure:4691: checking "for --enable-spinctrl"" >&5
4692 # Check whether --enable-spinctrl or --disable-spinctrl was given.
4693 if test "${enable_spinctrl+set}" = set; then
4694 enableval
="$enable_spinctrl"
4696 if test "$enableval" = yes; then
4697 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
4699 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
4704 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
4705 if test "x$LINE" != x
; then
4706 eval "DEFAULT_$LINE"
4711 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
4716 eval "$ac_cv_use_spinctrl"
4717 if test "$no_cache" != 1; then
4718 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
4721 if test "$wxUSE_SPINCTRL" = yes; then
4722 echo "$ac_t""yes" 1>&6
4724 echo "$ac_t""no" 1>&6
4728 echo $ac_n "checking "for --enable-splitter"""... $ac_c" 1>&6
4729 echo "configure:4730: checking "for --enable-splitter"" >&5
4731 # Check whether --enable-splitter or --disable-splitter was given.
4732 if test "${enable_splitter+set}" = set; then
4733 enableval
="$enable_splitter"
4735 if test "$enableval" = yes; then
4736 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
4738 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
4743 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
4744 if test "x$LINE" != x
; then
4745 eval "DEFAULT_$LINE"
4750 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
4755 eval "$ac_cv_use_splitter"
4756 if test "$no_cache" != 1; then
4757 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
4760 if test "$wxUSE_SPLITTER" = yes; then
4761 echo "$ac_t""yes" 1>&6
4763 echo "$ac_t""no" 1>&6
4767 echo $ac_n "checking "for --enable-statbmp"""... $ac_c" 1>&6
4768 echo "configure:4769: checking "for --enable-statbmp"" >&5
4770 # Check whether --enable-statbmp or --disable-statbmp was given.
4771 if test "${enable_statbmp+set}" = set; then
4772 enableval
="$enable_statbmp"
4774 if test "$enableval" = yes; then
4775 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
4777 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
4782 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
4783 if test "x$LINE" != x
; then
4784 eval "DEFAULT_$LINE"
4789 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
4794 eval "$ac_cv_use_statbmp"
4795 if test "$no_cache" != 1; then
4796 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
4799 if test "$wxUSE_STATBMP" = yes; then
4800 echo "$ac_t""yes" 1>&6
4802 echo "$ac_t""no" 1>&6
4806 echo $ac_n "checking "for --enable-statbox"""... $ac_c" 1>&6
4807 echo "configure:4808: checking "for --enable-statbox"" >&5
4809 # Check whether --enable-statbox or --disable-statbox was given.
4810 if test "${enable_statbox+set}" = set; then
4811 enableval
="$enable_statbox"
4813 if test "$enableval" = yes; then
4814 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
4816 ac_cv_use_statbox
='wxUSE_STATBOX=no'
4821 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
4822 if test "x$LINE" != x
; then
4823 eval "DEFAULT_$LINE"
4828 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
4833 eval "$ac_cv_use_statbox"
4834 if test "$no_cache" != 1; then
4835 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
4838 if test "$wxUSE_STATBOX" = yes; then
4839 echo "$ac_t""yes" 1>&6
4841 echo "$ac_t""no" 1>&6
4845 echo $ac_n "checking "for --enable-statline"""... $ac_c" 1>&6
4846 echo "configure:4847: checking "for --enable-statline"" >&5
4848 # Check whether --enable-statline or --disable-statline was given.
4849 if test "${enable_statline+set}" = set; then
4850 enableval
="$enable_statline"
4852 if test "$enableval" = yes; then
4853 ac_cv_use_statline
='wxUSE_STATLINE=yes'
4855 ac_cv_use_statline
='wxUSE_STATLINE=no'
4860 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
4861 if test "x$LINE" != x
; then
4862 eval "DEFAULT_$LINE"
4867 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
4872 eval "$ac_cv_use_statline"
4873 if test "$no_cache" != 1; then
4874 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
4877 if test "$wxUSE_STATLINE" = yes; then
4878 echo "$ac_t""yes" 1>&6
4880 echo "$ac_t""no" 1>&6
4884 echo $ac_n "checking "for --enable-statusbar"""... $ac_c" 1>&6
4885 echo "configure:4886: checking "for --enable-statusbar"" >&5
4887 # Check whether --enable-statusbar or --disable-statusbar was given.
4888 if test "${enable_statusbar+set}" = set; then
4889 enableval
="$enable_statusbar"
4891 if test "$enableval" = yes; then
4892 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
4894 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
4899 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
4900 if test "x$LINE" != x
; then
4901 eval "DEFAULT_$LINE"
4906 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
4911 eval "$ac_cv_use_statusbar"
4912 if test "$no_cache" != 1; then
4913 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
4916 if test "$wxUSE_STATUSBAR" = yes; then
4917 echo "$ac_t""yes" 1>&6
4919 echo "$ac_t""no" 1>&6
4923 echo $ac_n "checking "for --enable-tabdialog"""... $ac_c" 1>&6
4924 echo "configure:4925: checking "for --enable-tabdialog"" >&5
4926 # Check whether --enable-tabdialog or --disable-tabdialog was given.
4927 if test "${enable_tabdialog+set}" = set; then
4928 enableval
="$enable_tabdialog"
4930 if test "$enableval" = yes; then
4931 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
4933 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
4938 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
4939 if test "x$LINE" != x
; then
4940 eval "DEFAULT_$LINE"
4945 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
4950 eval "$ac_cv_use_tabdialog"
4951 if test "$no_cache" != 1; then
4952 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
4955 if test "$wxUSE_TABDIALOG" = yes; then
4956 echo "$ac_t""yes" 1>&6
4958 echo "$ac_t""no" 1>&6
4962 echo $ac_n "checking "for --enable-toolbar"""... $ac_c" 1>&6
4963 echo "configure:4964: checking "for --enable-toolbar"" >&5
4965 # Check whether --enable-toolbar or --disable-toolbar was given.
4966 if test "${enable_toolbar+set}" = set; then
4967 enableval
="$enable_toolbar"
4969 if test "$enableval" = yes; then
4970 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
4972 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
4977 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
4978 if test "x$LINE" != x
; then
4979 eval "DEFAULT_$LINE"
4984 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
4989 eval "$ac_cv_use_toolbar"
4990 if test "$no_cache" != 1; then
4991 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
4994 if test "$wxUSE_TOOLBAR" = yes; then
4995 echo "$ac_t""yes" 1>&6
4997 echo "$ac_t""no" 1>&6
5001 echo $ac_n "checking "for --enable-treectrl"""... $ac_c" 1>&6
5002 echo "configure:5003: checking "for --enable-treectrl"" >&5
5004 # Check whether --enable-treectrl or --disable-treectrl was given.
5005 if test "${enable_treectrl+set}" = set; then
5006 enableval
="$enable_treectrl"
5008 if test "$enableval" = yes; then
5009 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
5011 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
5016 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
5017 if test "x$LINE" != x
; then
5018 eval "DEFAULT_$LINE"
5023 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
5028 eval "$ac_cv_use_treectrl"
5029 if test "$no_cache" != 1; then
5030 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
5033 if test "$wxUSE_TREECTRL" = yes; then
5034 echo "$ac_t""yes" 1>&6
5036 echo "$ac_t""no" 1>&6
5042 echo $ac_n "checking "for --enable-commondlg"""... $ac_c" 1>&6
5043 echo "configure:5044: checking "for --enable-commondlg"" >&5
5045 # Check whether --enable-commondlg or --disable-commondlg was given.
5046 if test "${enable_commondlg+set}" = set; then
5047 enableval
="$enable_commondlg"
5049 if test "$enableval" = yes; then
5050 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
5052 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
5057 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
5058 if test "x$LINE" != x
; then
5059 eval "DEFAULT_$LINE"
5064 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
5069 eval "$ac_cv_use_commondlg"
5070 if test "$no_cache" != 1; then
5071 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
5074 if test "$wxUSE_COMMONDLGS" = yes; then
5075 echo "$ac_t""yes" 1>&6
5077 echo "$ac_t""no" 1>&6
5081 echo $ac_n "checking "for --enable-dirdlg"""... $ac_c" 1>&6
5082 echo "configure:5083: checking "for --enable-dirdlg"" >&5
5084 # Check whether --enable-dirdlg or --disable-dirdlg was given.
5085 if test "${enable_dirdlg+set}" = set; then
5086 enableval
="$enable_dirdlg"
5088 if test "$enableval" = yes; then
5089 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
5091 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
5096 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
5097 if test "x$LINE" != x
; then
5098 eval "DEFAULT_$LINE"
5103 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
5108 eval "$ac_cv_use_dirdlg"
5109 if test "$no_cache" != 1; then
5110 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
5113 if test "$wxUSE_DIRDLG" = yes; then
5114 echo "$ac_t""yes" 1>&6
5116 echo "$ac_t""no" 1>&6
5120 echo $ac_n "checking "for --enable-textdlg"""... $ac_c" 1>&6
5121 echo "configure:5122: checking "for --enable-textdlg"" >&5
5123 # Check whether --enable-textdlg or --disable-textdlg was given.
5124 if test "${enable_textdlg+set}" = set; then
5125 enableval
="$enable_textdlg"
5127 if test "$enableval" = yes; then
5128 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
5130 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
5135 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
5136 if test "x$LINE" != x
; then
5137 eval "DEFAULT_$LINE"
5142 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
5147 eval "$ac_cv_use_textdlg"
5148 if test "$no_cache" != 1; then
5149 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
5152 if test "$wxUSE_TEXTDLG" = yes; then
5153 echo "$ac_t""yes" 1>&6
5155 echo "$ac_t""no" 1>&6
5159 echo $ac_n "checking "for --enable-tipdlg"""... $ac_c" 1>&6
5160 echo "configure:5161: checking "for --enable-tipdlg"" >&5
5162 # Check whether --enable-tipdlg or --disable-tipdlg was given.
5163 if test "${enable_tipdlg+set}" = set; then
5164 enableval
="$enable_tipdlg"
5166 if test "$enableval" = yes; then
5167 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
5169 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
5174 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
5175 if test "x$LINE" != x
; then
5176 eval "DEFAULT_$LINE"
5181 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
5186 eval "$ac_cv_use_tipdlg"
5187 if test "$no_cache" != 1; then
5188 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
5191 if test "$wxUSE_STARTUP_TIPS" = yes; then
5192 echo "$ac_t""yes" 1>&6
5194 echo "$ac_t""no" 1>&6
5198 echo $ac_n "checking "for --enable-progressdlg"""... $ac_c" 1>&6
5199 echo "configure:5200: checking "for --enable-progressdlg"" >&5
5201 # Check whether --enable-progressdlg or --disable-progressdlg was given.
5202 if test "${enable_progressdlg+set}" = set; then
5203 enableval
="$enable_progressdlg"
5205 if test "$enableval" = yes; then
5206 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
5208 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
5213 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
5214 if test "x$LINE" != x
; then
5215 eval "DEFAULT_$LINE"
5220 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
5225 eval "$ac_cv_use_progressdlg"
5226 if test "$no_cache" != 1; then
5227 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
5230 if test "$wxUSE_PROGRESSDLG" = yes; then
5231 echo "$ac_t""yes" 1>&6
5233 echo "$ac_t""no" 1>&6
5237 echo $ac_n "checking "for --enable-miniframe"""... $ac_c" 1>&6
5238 echo "configure:5239: checking "for --enable-miniframe"" >&5
5240 # Check whether --enable-miniframe or --disable-miniframe was given.
5241 if test "${enable_miniframe+set}" = set; then
5242 enableval
="$enable_miniframe"
5244 if test "$enableval" = yes; then
5245 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
5247 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
5252 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
5253 if test "x$LINE" != x
; then
5254 eval "DEFAULT_$LINE"
5259 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
5264 eval "$ac_cv_use_miniframe"
5265 if test "$no_cache" != 1; then
5266 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
5269 if test "$wxUSE_MINIFRAME" = yes; then
5270 echo "$ac_t""yes" 1>&6
5272 echo "$ac_t""no" 1>&6
5276 echo $ac_n "checking "for --enable-html"""... $ac_c" 1>&6
5277 echo "configure:5278: checking "for --enable-html"" >&5
5279 # Check whether --enable-html or --disable-html was given.
5280 if test "${enable_html+set}" = set; then
5281 enableval
="$enable_html"
5283 if test "$enableval" = yes; then
5284 ac_cv_use_html
='wxUSE_HTML=yes'
5286 ac_cv_use_html
='wxUSE_HTML=no'
5291 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
5292 if test "x$LINE" != x
; then
5293 eval "DEFAULT_$LINE"
5298 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
5303 eval "$ac_cv_use_html"
5304 if test "$no_cache" != 1; then
5305 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
5308 if test "$wxUSE_HTML" = yes; then
5309 echo "$ac_t""yes" 1>&6
5311 echo "$ac_t""no" 1>&6
5315 echo $ac_n "checking "for --enable-tooltips"""... $ac_c" 1>&6
5316 echo "configure:5317: checking "for --enable-tooltips"" >&5
5318 # Check whether --enable-tooltips or --disable-tooltips was given.
5319 if test "${enable_tooltips+set}" = set; then
5320 enableval
="$enable_tooltips"
5322 if test "$enableval" = yes; then
5323 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
5325 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
5330 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
5331 if test "x$LINE" != x
; then
5332 eval "DEFAULT_$LINE"
5337 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
5342 eval "$ac_cv_use_tooltips"
5343 if test "$no_cache" != 1; then
5344 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
5347 if test "$wxUSE_TOOLTIPS" = yes; then
5348 echo "$ac_t""yes" 1>&6
5350 echo "$ac_t""no" 1>&6
5354 echo $ac_n "checking "for --enable-splines"""... $ac_c" 1>&6
5355 echo "configure:5356: checking "for --enable-splines"" >&5
5357 # Check whether --enable-splines or --disable-splines was given.
5358 if test "${enable_splines+set}" = set; then
5359 enableval
="$enable_splines"
5361 if test "$enableval" = yes; then
5362 ac_cv_use_splines
='wxUSE_SPLINES=yes'
5364 ac_cv_use_splines
='wxUSE_SPLINES=no'
5369 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
5370 if test "x$LINE" != x
; then
5371 eval "DEFAULT_$LINE"
5376 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
5381 eval "$ac_cv_use_splines"
5382 if test "$no_cache" != 1; then
5383 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
5386 if test "$wxUSE_SPLINES" = yes; then
5387 echo "$ac_t""yes" 1>&6
5389 echo "$ac_t""no" 1>&6
5393 echo $ac_n "checking "for --enable-validators"""... $ac_c" 1>&6
5394 echo "configure:5395: checking "for --enable-validators"" >&5
5396 # Check whether --enable-validators or --disable-validators was given.
5397 if test "${enable_validators+set}" = set; then
5398 enableval
="$enable_validators"
5400 if test "$enableval" = yes; then
5401 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
5403 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
5408 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
5409 if test "x$LINE" != x
; then
5410 eval "DEFAULT_$LINE"
5415 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
5420 eval "$ac_cv_use_validators"
5421 if test "$no_cache" != 1; then
5422 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
5425 if test "$wxUSE_VALIDATORS" = yes; then
5426 echo "$ac_t""yes" 1>&6
5428 echo "$ac_t""no" 1>&6
5432 echo $ac_n "checking "for --enable-busyinfo"""... $ac_c" 1>&6
5433 echo "configure:5434: checking "for --enable-busyinfo"" >&5
5435 # Check whether --enable-busyinfo or --disable-busyinfo was given.
5436 if test "${enable_busyinfo+set}" = set; then
5437 enableval
="$enable_busyinfo"
5439 if test "$enableval" = yes; then
5440 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
5442 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
5447 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
5448 if test "x$LINE" != x
; then
5449 eval "DEFAULT_$LINE"
5454 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
5459 eval "$ac_cv_use_busyinfo"
5460 if test "$no_cache" != 1; then
5461 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
5464 if test "$wxUSE_BUSYINFO" = yes; then
5465 echo "$ac_t""yes" 1>&6
5467 echo "$ac_t""no" 1>&6
5473 echo $ac_n "checking "for --enable-gif"""... $ac_c" 1>&6
5474 echo "configure:5475: checking "for --enable-gif"" >&5
5476 # Check whether --enable-gif or --disable-gif was given.
5477 if test "${enable_gif+set}" = set; then
5478 enableval
="$enable_gif"
5480 if test "$enableval" = yes; then
5481 ac_cv_use_gif
='wxUSE_GIF=yes'
5483 ac_cv_use_gif
='wxUSE_GIF=no'
5488 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
5489 if test "x$LINE" != x
; then
5490 eval "DEFAULT_$LINE"
5495 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
5500 eval "$ac_cv_use_gif"
5501 if test "$no_cache" != 1; then
5502 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
5505 if test "$wxUSE_GIF" = yes; then
5506 echo "$ac_t""yes" 1>&6
5508 echo "$ac_t""no" 1>&6
5512 echo $ac_n "checking "for --enable-pcx"""... $ac_c" 1>&6
5513 echo "configure:5514: checking "for --enable-pcx"" >&5
5515 # Check whether --enable-pcx or --disable-pcx was given.
5516 if test "${enable_pcx+set}" = set; then
5517 enableval
="$enable_pcx"
5519 if test "$enableval" = yes; then
5520 ac_cv_use_pcx
='wxUSE_PCX=yes'
5522 ac_cv_use_pcx
='wxUSE_PCX=no'
5527 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
5528 if test "x$LINE" != x
; then
5529 eval "DEFAULT_$LINE"
5534 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
5539 eval "$ac_cv_use_pcx"
5540 if test "$no_cache" != 1; then
5541 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
5544 if test "$wxUSE_PCX" = yes; then
5545 echo "$ac_t""yes" 1>&6
5547 echo "$ac_t""no" 1>&6
5551 echo $ac_n "checking "for --enable-pnm"""... $ac_c" 1>&6
5552 echo "configure:5553: checking "for --enable-pnm"" >&5
5554 # Check whether --enable-pnm or --disable-pnm was given.
5555 if test "${enable_pnm+set}" = set; then
5556 enableval
="$enable_pnm"
5558 if test "$enableval" = yes; then
5559 ac_cv_use_pnm
='wxUSE_PNM=yes'
5561 ac_cv_use_pnm
='wxUSE_PNM=no'
5566 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
5567 if test "x$LINE" != x
; then
5568 eval "DEFAULT_$LINE"
5573 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
5578 eval "$ac_cv_use_pnm"
5579 if test "$no_cache" != 1; then
5580 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
5583 if test "$wxUSE_PNM" = yes; then
5584 echo "$ac_t""yes" 1>&6
5586 echo "$ac_t""no" 1>&6
5591 echo "saving argument cache $wx_arg_cache_file"
5592 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
5596 echo $ac_n "checking for toolkit""... $ac_c" 1>&6
5597 echo "configure:5598: checking for toolkit" >&5
5599 if test "$wxUSE_GUI" = "yes"; then
5601 if test "$TOOLKIT_GIVEN" = 1; then
5602 for toolkit
in `echo $ALL_TOOLKITS`; do
5604 eval "value=\$${var}"
5605 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
5608 for toolkit
in `echo $ALL_TOOLKITS`; do
5609 if test "$has_toolkit_in_cache" != 1; then
5610 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
5612 var
=DEFAULT_wxUSE_
$toolkit
5614 eval "wxUSE_$toolkit=\$${var}"
5618 NUM_TOOLKITS
=`expr ${wxUSE_GTK:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_WINE:-0} + ${wxUSE_MINGW:-0} + ${wxUSE_CYGWIN:-0}`
5620 case "$NUM_TOOLKITS" in
5624 { echo "configure: error: Please specify a toolkit - cannot determine the default for ${host}" 1>&2; exit 1; }
5627 { echo "configure: error: Please specify at most one toolkit (may be some are cached?)" 1>&2; exit 1; }
5630 for toolkit
in `echo $ALL_TOOLKITS`; do
5632 eval "value=\$${var}"
5633 if test "x$value" != x
; then
5634 cache_var
=CACHE_
$toolkit
5635 eval "cache=\$${cache_var}"
5636 if test "$cache" = 1; then
5637 echo "$var=$value" >> ${wx_arg_cache_file}
5639 if test "$value" = 1; then
5640 echo "$ac_t""`echo $toolkit | tr A-Z a-z`" 1>&6
5646 echo "$ac_t""base only" 1>&6
5650 cat > confcache
<<\EOF
5651 # This file is a shell script that caches the results of configure
5652 # tests run on this system so they can be shared between configure
5653 # scripts and configure runs. It is not useful on other systems.
5654 # If it contains results you don't want to keep, you may remove or edit it.
5656 # By default, configure uses ./config.cache as the cache file,
5657 # creating it if it does not exist already. You can give configure
5658 # the --cache-file=FILE option to use a different cache file; that is
5659 # what configure does when it calls configure scripts in
5660 # subdirectories, so they share the cache.
5661 # Giving --cache-file=/dev/null disables caching, for debugging configure.
5662 # config.status only pays attention to the cache file if you give it the
5663 # --recheck option to rerun configure.
5666 # The following way of writing the cache mishandles newlines in values,
5667 # but we know of no workaround that is simple, portable, and efficient.
5668 # So, don't put newlines in cache variables' values.
5669 # Ultrix sh set writes to stderr and can't be redirected directly,
5670 # and sets the high bit in the cache file unless we assign to the vars.
5672 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5674 # `set' does not quote correctly, so add quotes (double-quote substitution
5675 # turns \\\\ into \\, and sed turns \\ into \).
5677 -e "s/'/'\\\\''/g" \
5678 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
5681 # `set' quotes correctly as required by POSIX, so do not add quotes.
5682 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
5685 if cmp -s $cache_file confcache
; then
5688 if test -w $cache_file; then
5689 echo "updating cache $cache_file"
5690 cat confcache
> $cache_file
5692 echo "not updating unwritable cache $cache_file"
5698 if eval "test $host != $build"; then
5699 if eval "test $host_alias != NONE"; then
5703 RANLIB
=$host_alias-ranlib
5704 DLLTOOL
=$host_alias-dlltool
5707 STRIP
=$host_alias-strip
5711 # Extract the first word of "gcc", so it can be a program name with args.
5712 set dummy gcc
; ac_word
=$2
5713 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5714 echo "configure:5715: checking for $ac_word" >&5
5715 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
5716 echo $ac_n "(cached) $ac_c" 1>&6
5718 if test -n "$CC"; then
5719 ac_cv_prog_CC
="$CC" # Let the user override the test.
5721 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
5723 for ac_dir
in $ac_dummy; do
5724 test -z "$ac_dir" && ac_dir
=.
5725 if test -f $ac_dir/$ac_word; then
5734 if test -n "$CC"; then
5735 echo "$ac_t""$CC" 1>&6
5737 echo "$ac_t""no" 1>&6
5740 if test -z "$CC"; then
5741 # Extract the first word of "cc", so it can be a program name with args.
5742 set dummy cc
; ac_word
=$2
5743 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5744 echo "configure:5745: checking for $ac_word" >&5
5745 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
5746 echo $ac_n "(cached) $ac_c" 1>&6
5748 if test -n "$CC"; then
5749 ac_cv_prog_CC
="$CC" # Let the user override the test.
5751 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
5754 for ac_dir
in $ac_dummy; do
5755 test -z "$ac_dir" && ac_dir
=.
5756 if test -f $ac_dir/$ac_word; then
5757 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
5758 ac_prog_rejected
=yes
5766 if test $ac_prog_rejected = yes; then
5767 # We found a bogon in the path, so make sure we never use it.
5768 set dummy
$ac_cv_prog_CC
5770 if test $# -gt 0; then
5771 # We chose a different compiler from the bogus one.
5772 # However, it has the same basename, so the bogon will be chosen
5773 # first if we set CC to just the basename; use the full file name.
5775 set dummy
"$ac_dir/$ac_word" "$@"
5783 if test -n "$CC"; then
5784 echo "$ac_t""$CC" 1>&6
5786 echo "$ac_t""no" 1>&6
5789 if test -z "$CC"; then
5790 case "`uname -s`" in
5792 # Extract the first word of "cl", so it can be a program name with args.
5793 set dummy cl
; ac_word
=$2
5794 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5795 echo "configure:5796: checking for $ac_word" >&5
5796 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
5797 echo $ac_n "(cached) $ac_c" 1>&6
5799 if test -n "$CC"; then
5800 ac_cv_prog_CC
="$CC" # Let the user override the test.
5802 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
5804 for ac_dir
in $ac_dummy; do
5805 test -z "$ac_dir" && ac_dir
=.
5806 if test -f $ac_dir/$ac_word; then
5815 if test -n "$CC"; then
5816 echo "$ac_t""$CC" 1>&6
5818 echo "$ac_t""no" 1>&6
5823 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
5826 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
5827 echo "configure:5828: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
5830 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5831 ac_cpp
='$CPP $CPPFLAGS'
5832 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5833 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5834 cross_compiling
=$ac_cv_prog_cc_cross
5836 cat > conftest.
$ac_ext << EOF
5838 #line 5839 "configure"
5839 #include "confdefs.h"
5843 if { (eval echo configure
:5844: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
5844 ac_cv_prog_cc_works
=yes
5845 # If we can't run a trivial program, we are probably using a cross compiler.
5846 if (.
/conftest
; exit) 2>/dev
/null
; then
5847 ac_cv_prog_cc_cross
=no
5849 ac_cv_prog_cc_cross
=yes
5852 echo "configure: failed program was:" >&5
5853 cat conftest.
$ac_ext >&5
5854 ac_cv_prog_cc_works
=no
5858 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5859 ac_cpp
='$CPP $CPPFLAGS'
5860 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5861 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5862 cross_compiling
=$ac_cv_prog_cc_cross
5864 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
5865 if test $ac_cv_prog_cc_works = no
; then
5866 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
5868 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
5869 echo "configure:5870: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
5870 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
5871 cross_compiling
=$ac_cv_prog_cc_cross
5873 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
5874 echo "configure:5875: checking whether we are using GNU C" >&5
5875 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
5876 echo $ac_n "(cached) $ac_c" 1>&6
5878 cat > conftest.c
<<EOF
5883 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:5884: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
5890 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
5892 if test $ac_cv_prog_gcc = yes; then
5898 ac_test_CFLAGS
="${CFLAGS+set}"
5899 ac_save_CFLAGS
="$CFLAGS"
5901 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
5902 echo "configure:5903: checking whether ${CC-cc} accepts -g" >&5
5903 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
5904 echo $ac_n "(cached) $ac_c" 1>&6
5906 echo 'void f(){}' > conftest.c
5907 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
5916 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
5917 if test "$ac_test_CFLAGS" = set; then
5918 CFLAGS
="$ac_save_CFLAGS"
5919 elif test $ac_cv_prog_cc_g = yes; then
5920 if test "$GCC" = yes; then
5926 if test "$GCC" = yes; then
5934 CFLAGS
=`echo "$CFLAGS" | sed 's/-g//g'`
5936 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
5937 echo "configure:5938: checking how to run the C preprocessor" >&5
5938 # On Suns, sometimes $CPP names a directory.
5939 if test -n "$CPP" && test -d "$CPP"; then
5942 if test -z "$CPP"; then
5943 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
5944 echo $ac_n "(cached) $ac_c" 1>&6
5946 # This must be in double quotes, not single quotes, because CPP may get
5947 # substituted into the Makefile and "${CC-cc}" will confuse make.
5949 # On the NeXT, cc -E runs the code through the compiler's parser,
5950 # not just through cpp.
5951 cat > conftest.
$ac_ext <<EOF
5952 #line 5953 "configure"
5953 #include "confdefs.h"
5957 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5958 { (eval echo configure
:5959: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5959 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5960 if test -z "$ac_err"; then
5964 echo "configure: failed program was:" >&5
5965 cat conftest.
$ac_ext >&5
5967 CPP
="${CC-cc} -E -traditional-cpp"
5968 cat > conftest.
$ac_ext <<EOF
5969 #line 5970 "configure"
5970 #include "confdefs.h"
5974 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5975 { (eval echo configure
:5976: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5976 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5977 if test -z "$ac_err"; then
5981 echo "configure: failed program was:" >&5
5982 cat conftest.
$ac_ext >&5
5984 CPP
="${CC-cc} -nologo -E"
5985 cat > conftest.
$ac_ext <<EOF
5986 #line 5987 "configure"
5987 #include "confdefs.h"
5991 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5992 { (eval echo configure
:5993: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5993 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5994 if test -z "$ac_err"; then
5998 echo "configure: failed program was:" >&5
5999 cat conftest.
$ac_ext >&5
6008 ac_cv_prog_CPP
="$CPP"
6010 CPP
="$ac_cv_prog_CPP"
6012 ac_cv_prog_CPP
="$CPP"
6014 echo "$ac_t""$CPP" 1>&6
6017 if test $ac_cv_prog_gcc = yes; then
6018 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
6019 echo "configure:6020: checking whether ${CC-cc} needs -traditional" >&5
6020 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
6021 echo $ac_n "(cached) $ac_c" 1>&6
6023 ac_pattern
="Autoconf.*'x'"
6024 cat > conftest.
$ac_ext <<EOF
6025 #line 6026 "configure"
6026 #include "confdefs.h"
6030 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6031 egrep "$ac_pattern" >/dev
/null
2>&1; then
6033 ac_cv_prog_gcc_traditional
=yes
6036 ac_cv_prog_gcc_traditional
=no
6041 if test $ac_cv_prog_gcc_traditional = no
; then
6042 cat > conftest.
$ac_ext <<EOF
6043 #line 6044 "configure"
6044 #include "confdefs.h"
6048 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6049 egrep "$ac_pattern" >/dev
/null
2>&1; then
6051 ac_cv_prog_gcc_traditional
=yes
6058 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
6059 if test $ac_cv_prog_gcc_traditional = yes; then
6060 CC
="$CC -traditional"
6067 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6068 ac_cpp
='$CXXCPP $CPPFLAGS'
6069 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6070 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6071 cross_compiling
=$ac_cv_prog_cxx_cross
6074 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++ cl
6076 # Extract the first word of "$ac_prog", so it can be a program name with args.
6077 set dummy
$ac_prog; ac_word
=$2
6078 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6079 echo "configure:6080: checking for $ac_word" >&5
6080 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
6081 echo $ac_n "(cached) $ac_c" 1>&6
6083 if test -n "$CXX"; then
6084 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
6086 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6088 for ac_dir
in $ac_dummy; do
6089 test -z "$ac_dir" && ac_dir
=.
6090 if test -f $ac_dir/$ac_word; then
6091 ac_cv_prog_CXX
="$ac_prog"
6098 CXX
="$ac_cv_prog_CXX"
6099 if test -n "$CXX"; then
6100 echo "$ac_t""$CXX" 1>&6
6102 echo "$ac_t""no" 1>&6
6105 test -n "$CXX" && break
6107 test -n "$CXX" || CXX
="gcc"
6110 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
6111 echo "configure:6112: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
6114 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6115 ac_cpp
='$CXXCPP $CPPFLAGS'
6116 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6117 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6118 cross_compiling
=$ac_cv_prog_cxx_cross
6120 cat > conftest.
$ac_ext << EOF
6122 #line 6123 "configure"
6123 #include "confdefs.h"
6125 int main(){return(0);}
6127 if { (eval echo configure
:6128: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6128 ac_cv_prog_cxx_works
=yes
6129 # If we can't run a trivial program, we are probably using a cross compiler.
6130 if (.
/conftest
; exit) 2>/dev
/null
; then
6131 ac_cv_prog_cxx_cross
=no
6133 ac_cv_prog_cxx_cross
=yes
6136 echo "configure: failed program was:" >&5
6137 cat conftest.
$ac_ext >&5
6138 ac_cv_prog_cxx_works
=no
6142 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6143 ac_cpp
='$CXXCPP $CPPFLAGS'
6144 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6145 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6146 cross_compiling
=$ac_cv_prog_cxx_cross
6148 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
6149 if test $ac_cv_prog_cxx_works = no
; then
6150 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
6152 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
6153 echo "configure:6154: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
6154 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
6155 cross_compiling
=$ac_cv_prog_cxx_cross
6157 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
6158 echo "configure:6159: checking whether we are using GNU C++" >&5
6159 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
6160 echo $ac_n "(cached) $ac_c" 1>&6
6162 cat > conftest.C
<<EOF
6167 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:6168: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
6174 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
6176 if test $ac_cv_prog_gxx = yes; then
6182 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
6183 ac_save_CXXFLAGS
="$CXXFLAGS"
6185 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
6186 echo "configure:6187: checking whether ${CXX-g++} accepts -g" >&5
6187 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
6188 echo $ac_n "(cached) $ac_c" 1>&6
6190 echo 'void f(){}' > conftest.cc
6191 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
6192 ac_cv_prog_cxx_g
=yes
6200 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
6201 if test "$ac_test_CXXFLAGS" = set; then
6202 CXXFLAGS
="$ac_save_CXXFLAGS"
6203 elif test $ac_cv_prog_cxx_g = yes; then
6204 if test "$GXX" = yes; then
6210 if test "$GXX" = yes; then
6218 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
6219 echo "configure:6220: checking how to run the C++ preprocessor" >&5
6220 if test -z "$CXXCPP"; then
6221 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
6222 echo $ac_n "(cached) $ac_c" 1>&6
6225 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6226 ac_cpp
='$CXXCPP $CPPFLAGS'
6227 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6228 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6229 cross_compiling
=$ac_cv_prog_cxx_cross
6230 CXXCPP
="${CXX-g++} -E"
6231 cat > conftest.
$ac_ext <<EOF
6232 #line 6233 "configure"
6233 #include "confdefs.h"
6236 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6237 { (eval echo configure
:6238: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6238 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6239 if test -z "$ac_err"; then
6243 echo "configure: failed program was:" >&5
6244 cat conftest.
$ac_ext >&5
6249 ac_cv_prog_CXXCPP
="$CXXCPP"
6251 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6252 ac_cpp
='$CXXCPP $CPPFLAGS'
6253 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6254 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6255 cross_compiling
=$ac_cv_prog_cxx_cross
6258 CXXCPP
="$ac_cv_prog_CXXCPP"
6259 echo "$ac_t""$CXXCPP" 1>&6
6262 CXXFLAGS
=`echo "$CXXFLAGS" | sed 's/-g//g'`
6265 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6266 ac_cpp
='$CPP $CPPFLAGS'
6267 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6268 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6269 cross_compiling
=$ac_cv_prog_cc_cross
6272 # Extract the first word of "ranlib", so it can be a program name with args.
6273 set dummy ranlib
; ac_word
=$2
6274 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6275 echo "configure:6276: checking for $ac_word" >&5
6276 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
6277 echo $ac_n "(cached) $ac_c" 1>&6
6279 if test -n "$RANLIB"; then
6280 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6282 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6284 for ac_dir
in $ac_dummy; do
6285 test -z "$ac_dir" && ac_dir
=.
6286 if test -f $ac_dir/$ac_word; then
6287 ac_cv_prog_RANLIB
="ranlib"
6292 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
6295 RANLIB
="$ac_cv_prog_RANLIB"
6296 if test -n "$RANLIB"; then
6297 echo "$ac_t""$RANLIB" 1>&6
6299 echo "$ac_t""no" 1>&6
6303 # Extract the first word of "ar", so it can be a program name with args.
6304 set dummy
ar; ac_word
=$2
6305 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6306 echo "configure:6307: checking for $ac_word" >&5
6307 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
6308 echo $ac_n "(cached) $ac_c" 1>&6
6310 if test -n "$AR"; then
6311 ac_cv_prog_AR
="$AR" # Let the user override the test.
6313 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6315 for ac_dir
in $ac_dummy; do
6316 test -z "$ac_dir" && ac_dir
=.
6317 if test -f $ac_dir/$ac_word; then
6323 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
6327 if test -n "$AR"; then
6328 echo "$ac_t""$AR" 1>&6
6330 echo "$ac_t""no" 1>&6
6334 # Find a good install program. We prefer a C program (faster),
6335 # so one script is as good as another. But avoid the broken or
6336 # incompatible versions:
6337 # SysV /etc/install, /usr/sbin/install
6338 # SunOS /usr/etc/install
6339 # IRIX /sbin/install
6341 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6342 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6343 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6344 # ./install, which can be erroneously created by make from ./install.sh.
6345 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
6346 echo "configure:6347: checking for a BSD compatible install" >&5
6347 if test -z "$INSTALL"; then
6348 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
6349 echo $ac_n "(cached) $ac_c" 1>&6
6351 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
6352 for ac_dir
in $PATH; do
6353 # Account for people who put trailing slashes in PATH elements.
6355 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
6357 # OSF1 and SCO ODT 3.0 have their own names for install.
6358 # Don't use installbsd from OSF since it installs stuff as root
6360 for ac_prog
in ginstall scoinst
install; do
6361 if test -f $ac_dir/$ac_prog; then
6362 if test $ac_prog = install &&
6363 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
6364 # AIX install. It has an incompatible calling convention.
6367 ac_cv_path_install
="$ac_dir/$ac_prog -c"
6378 if test "${ac_cv_path_install+set}" = set; then
6379 INSTALL
="$ac_cv_path_install"
6381 # As a last resort, use the slow shell script. We don't cache a
6382 # path for INSTALL within a source directory, because that will
6383 # break other packages using the cache if that directory is
6384 # removed, or if the path is relative.
6385 INSTALL
="$ac_install_sh"
6388 echo "$ac_t""$INSTALL" 1>&6
6390 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6391 # It thinks the first close brace ends the variable substitution.
6392 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
6394 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
6396 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
6399 # Extract the first word of "strip", so it can be a program name with args.
6400 set dummy strip
; ac_word
=$2
6401 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6402 echo "configure:6403: checking for $ac_word" >&5
6403 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
6404 echo $ac_n "(cached) $ac_c" 1>&6
6406 if test -n "$STRIP"; then
6407 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6409 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6411 for ac_dir
in $ac_dummy; do
6412 test -z "$ac_dir" && ac_dir
=.
6413 if test -f $ac_dir/$ac_word; then
6414 ac_cv_prog_STRIP
="strip"
6419 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
6422 STRIP
="$ac_cv_prog_STRIP"
6423 if test -n "$STRIP"; then
6424 echo "$ac_t""$STRIP" 1>&6
6426 echo "$ac_t""no" 1>&6
6430 echo $ac_n "checking "make for VPATH support
"""... $ac_c" 1>&6
6431 echo "configure:6432: checking "make for VPATH support
"" >&5
6432 cat - << EOF > confMake
6438 if test ! -d sub
; then
6441 echo dummy
> sub
/file
6442 ${MAKE-make} -f confMake VPATH
=sub
2> config.log
> /dev
/null
6444 rm -f sub
/file check final_file confMake
6446 if test "$RESULT" = 0; then
6447 echo "$ac_t""yes" 1>&6
6449 echo "$ac_t""no" 1>&6
6450 { echo "configure: error: You need a make-utility that is able to use the variable
6452 If your version of make does not support VPATH correctly" 1>&2; exit 1; }
6455 for ac_prog
in 'bison -y' byacc
6457 # Extract the first word of "$ac_prog", so it can be a program name with args.
6458 set dummy
$ac_prog; ac_word
=$2
6459 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6460 echo "configure:6461: checking for $ac_word" >&5
6461 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
6462 echo $ac_n "(cached) $ac_c" 1>&6
6464 if test -n "$YACC"; then
6465 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
6467 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6469 for ac_dir
in $ac_dummy; do
6470 test -z "$ac_dir" && ac_dir
=.
6471 if test -f $ac_dir/$ac_word; then
6472 ac_cv_prog_YACC
="$ac_prog"
6479 YACC
="$ac_cv_prog_YACC"
6480 if test -n "$YACC"; then
6481 echo "$ac_t""$YACC" 1>&6
6483 echo "$ac_t""no" 1>&6
6486 test -n "$YACC" && break
6488 test -n "$YACC" || YACC
="yacc"
6491 # Extract the first word of "flex", so it can be a program name with args.
6492 set dummy flex
; ac_word
=$2
6493 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6494 echo "configure:6495: checking for $ac_word" >&5
6495 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
6496 echo $ac_n "(cached) $ac_c" 1>&6
6498 if test -n "$LEX"; then
6499 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
6501 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6503 for ac_dir
in $ac_dummy; do
6504 test -z "$ac_dir" && ac_dir
=.
6505 if test -f $ac_dir/$ac_word; then
6506 ac_cv_prog_LEX
="flex"
6511 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
6514 LEX
="$ac_cv_prog_LEX"
6515 if test -n "$LEX"; then
6516 echo "$ac_t""$LEX" 1>&6
6518 echo "$ac_t""no" 1>&6
6521 if test -z "$LEXLIB"
6527 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
6528 echo "configure:6529: checking for yywrap in -l$ac_lib" >&5
6529 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
6530 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6531 echo $ac_n "(cached) $ac_c" 1>&6
6533 ac_save_LIBS
="$LIBS"
6534 LIBS
="-l$ac_lib $LIBS"
6535 cat > conftest.
$ac_ext <<EOF
6536 #line 6537 "configure"
6537 #include "confdefs.h"
6538 /* Override any gcc2 internal prototype to avoid an error. */
6539 /* We use char because int might match the return type of a gcc2
6540 builtin and then its argument prototype would still apply. */
6547 if { (eval echo configure
:6548: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6549 eval "ac_cv_lib_$ac_lib_var=yes"
6551 echo "configure: failed program was:" >&5
6552 cat conftest.
$ac_ext >&5
6554 eval "ac_cv_lib_$ac_lib_var=no"
6557 LIBS
="$ac_save_LIBS"
6560 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6561 echo "$ac_t""yes" 1>&6
6564 echo "$ac_t""no" 1>&6
6570 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
6571 echo "configure:6572: checking whether ln -s works" >&5
6572 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
6573 echo $ac_n "(cached) $ac_c" 1>&6
6576 if ln -s X conftestdata
2>/dev
/null
6579 ac_cv_prog_LN_S
="ln -s"
6584 LN_S
="$ac_cv_prog_LN_S"
6585 if test "$ac_cv_prog_LN_S" = "ln -s"; then
6586 echo "$ac_t""yes" 1>&6
6588 echo "$ac_t""no" 1>&6
6594 /usr/local/include \
6596 /usr/Motif-1.2/include \
6597 /usr/Motif-2.1/include \
6599 /usr/include/Motif1.2 \
6600 /opt/xpm/include/X11 \
6601 /opt/GBxpm/include/ \
6602 /opt/GBxpm/X11/include/ \
6604 /usr/Motif1.2/include \
6606 /usr/openwin/include \
6610 /usr/X11R6/include \
6611 /usr/X11R6.4/include \
6612 /usr/X11R5/include \
6613 /usr/X11R4/include \
6615 /usr/include/X11R6 \
6616 /usr/include/X11R5 \
6617 /usr/include/X11R4 \
6619 /usr/local/X11R6/include \
6620 /usr/local/X11R5/include \
6621 /usr/local/X11R4/include \
6623 /usr/local/include/X11R6 \
6624 /usr/local/include/X11R5 \
6625 /usr/local/include/X11R4 \
6629 /usr/local/X11/include \
6630 /usr/local/include/X11 \
6634 /usr/XFree86/include/X11 \
6637 /usr/local/include/gtk \
6639 /usr/local/include/glib \
6642 /usr/local/include/qt \
6644 /usr/include/windows \
6646 /usr/local/include/wine \
6648 /usr/unsupported/include \
6649 /usr/athena/include \
6650 /usr/local/x11r5/include \
6651 /usr/lpp/Xamples/include \
6653 /usr/openwin/share/include \
6657 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
6660 cat > confcache
<<\EOF
6661 # This file is a shell script that caches the results of configure
6662 # tests run on this system so they can be shared between configure
6663 # scripts and configure runs. It is not useful on other systems.
6664 # If it contains results you don't want to keep, you may remove or edit it.
6666 # By default, configure uses ./config.cache as the cache file,
6667 # creating it if it does not exist already. You can give configure
6668 # the --cache-file=FILE option to use a different cache file; that is
6669 # what configure does when it calls configure scripts in
6670 # subdirectories, so they share the cache.
6671 # Giving --cache-file=/dev/null disables caching, for debugging configure.
6672 # config.status only pays attention to the cache file if you give it the
6673 # --recheck option to rerun configure.
6676 # The following way of writing the cache mishandles newlines in values,
6677 # but we know of no workaround that is simple, portable, and efficient.
6678 # So, don't put newlines in cache variables' values.
6679 # Ultrix sh set writes to stderr and can't be redirected directly,
6680 # and sets the high bit in the cache file unless we assign to the vars.
6682 case `(ac_space=' '; set | grep ac_space) 2>&1` in
6684 # `set' does not quote correctly, so add quotes (double-quote substitution
6685 # turns \\\\ into \\, and sed turns \\ into \).
6687 -e "s/'/'\\\\''/g" \
6688 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
6691 # `set' quotes correctly as required by POSIX, so do not add quotes.
6692 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
6695 if cmp -s $cache_file confcache
; then
6698 if test -w $cache_file; then
6699 echo "updating cache $cache_file"
6700 cat confcache
> $cache_file
6702 echo "not updating unwritable cache $cache_file"
6709 if test "$wxUSE_GUI" = "yes"; then
6727 if test "$wxUSE_CYGWIN" = 1 || test "$wxUSE_MINGW" = 1 ; then
6728 if test "$cross_compiling" = "yes" ; then
6729 echo "configure: warning: Cross compiling --- skipping windows.h check" 1>&2
6731 echo $ac_n "checking for Windows headers""... $ac_c" 1>&6
6732 echo "configure:6733: checking for Windows headers" >&5
6735 for ac_dir
in $SEARCH_INCLUDE;
6737 if test -f "$ac_dir/windows.h"; then
6738 ac_find_includes
=$ac_dir
6743 if test "$ac_find_includes" != "" ; then
6744 echo "$ac_t""found $ac_find_includes" 1>&6
6745 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE -I$ac_find_includes"
6747 echo "$ac_t""no" 1>&6
6748 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
6752 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS msw"
6753 LIBS
="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -lcrtdll -ladvapi32 -lwsock32"
6755 if test "$wxUSE_MINGW" = 1; then
6756 LDFLAGS
="$LDFLAGS -mwindows"
6761 GUIOBJS
="\$(MSW_GUIOBJS)"
6762 GUIHEADERS
="\$(MSW_HEADERS)"
6763 COMMONOBJS
="\$(MSW_COMMONOBJS)"
6764 GENERICOBJS
="\$(MSW_GENERICOBJS)"
6770 if test "$wxUSE_GTK" = 1; then
6772 if test x
$gtk_config_exec_prefix != x
; then
6773 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
6774 if test x
${GTK_CONFIG+set} != xset
; then
6775 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
6778 if test x
$gtk_config_prefix != x
; then
6779 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
6780 if test x
${GTK_CONFIG+set} != xset
; then
6781 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
6785 # Extract the first word of "gtk-config", so it can be a program name with args.
6786 set dummy gtk
-config; ac_word
=$2
6787 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6788 echo "configure:6789: checking for $ac_word" >&5
6789 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
6790 echo $ac_n "(cached) $ac_c" 1>&6
6792 case "$GTK_CONFIG" in
6794 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
6797 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
6800 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6802 for ac_dir
in $ac_dummy; do
6803 test -z "$ac_dir" && ac_dir
=.
6804 if test -f $ac_dir/$ac_word; then
6805 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
6810 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
6814 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
6815 if test -n "$GTK_CONFIG"; then
6816 echo "$ac_t""$GTK_CONFIG" 1>&6
6818 echo "$ac_t""no" 1>&6
6821 min_gtk_version
=1.2.1
6822 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
6823 echo "configure:6824: checking for GTK - version >= $min_gtk_version" >&5
6825 if test "$GTK_CONFIG" != "no" ; then
6826 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
6827 GTK_LIBS
=`$GTK_CONFIG --libs`
6828 ac_save_CFLAGS
="$CFLAGS"
6829 ac_save_LIBS
="$LIBS"
6830 CFLAGS
="$CFLAGS $GTK_CFLAGS"
6831 LIBS
="$LIBS $GTK_LIBS"
6832 if test "$cross_compiling" = yes; then
6833 echo $ac_n "cross compiling; assumed OK... $ac_c"
6835 cat > conftest.
$ac_ext <<EOF
6836 #line 6837 "configure"
6837 #include "confdefs.h"
6839 #include <gtk/gtk.h>
6840 #include <gtk/gtkfeatures.h>
6846 int major, minor, micro;
6848 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
6849 printf("%s, bad version string\n", "$min_gtk_version");
6853 if ((GTK_MAJOR_VERSION != gtk_major_version) ||
6854 (GTK_MINOR_VERSION != gtk_minor_version) ||
6855 (GTK_MICRO_VERSION != gtk_micro_version)) {
6856 printf("Headers vs. library version mismatch!\n");
6860 if (gtk_minor_version == 1) return FALSE;
6862 return !((gtk_major_version > major) ||
6863 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
6864 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
6868 if { (eval echo configure
:6869: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
6872 echo "configure: failed program was:" >&5
6873 cat conftest.
$ac_ext >&5
6880 CFLAGS
="$ac_save_CFLAGS"
6881 LIBS
="$ac_save_LIBS"
6885 if test "x$no_gtk" = x
; then
6886 echo "$ac_t""yes" 1>&6
6889 echo "$ac_t""no" 1>&6
6892 { echo "configure: error: Is gtk-config in path and GTK+ is version 1.2.1 or above?" 1>&2; exit 1; }
6898 TOOLKIT_INCLUDE
="$GTK_CFLAGS"
6899 GUI_TK_LIBRARY
="$GTK_LIBS"
6902 GUIOBJS
="\$(GTK_GUIOBJS)"
6903 GUIHEADERS
="\$(GTK_HEADERS)"
6904 COMMONOBJS
="\$(GTK_COMMONOBJS)"
6905 GENERICOBJS
="\$(GTK_GENERICOBJS)"
6906 GUIDEPS
="\$(GTK_GUIDEPS)"
6907 COMMONDEPS
="\$(GTK_COMMONDEPS)"
6908 GENERICDEPS
="\$(GTK_GENERICDEPS)"
6909 UNIXOBJS
="\$(UNIX_OBJS)"
6913 if test "$wxUSE_WINE" = 1; then
6914 echo $ac_n "checking for WINE includes""... $ac_c" 1>&6
6915 echo "configure:6916: checking for WINE includes" >&5
6918 for ac_dir
in $SEARCH_INCLUDE;
6920 if test -f "$ac_dir/windows.h"; then
6921 ac_find_includes
=$ac_dir
6926 if test "$ac_find_includes" != "" ; then
6927 echo "$ac_t""found $ac_find_includes" 1>&6
6928 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE -I$ac_find_includes"
6930 echo "$ac_t""no" 1>&6
6931 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
6935 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
6936 echo "configure:6937: checking for Xpm library" >&5
6939 for ac_dir
in $SEARCH_LIB;
6941 for ac_extension
in a so sl
; do
6942 if test -f "$ac_dir/libXpm.$ac_extension"; then
6943 ac_find_libraries
=$ac_dir
6949 if test "$ac_find_libraries" != "" ; then
6950 GUI_TK_LIBRARY
="-L$ac_find_libraries"
6952 cat >> confdefs.h
<<\EOF
6953 #define wxHAVE_LIB_XPM 1
6956 echo "$ac_t""found at $ac_find_libraries" 1>&6
6958 echo "$ac_t""no" 1>&6
6959 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
6963 echo $ac_n "checking for Mesa library""... $ac_c" 1>&6
6964 echo "configure:6965: checking for Mesa library" >&5
6967 for ac_dir
in $SEARCH_LIB;
6969 for ac_extension
in a so sl
; do
6970 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
6971 ac_find_libraries
=$ac_dir
6977 if test "$ac_find_libraries" != "" ; then
6978 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -L$ac_find_libraries"
6979 MESA_LINK
="-lMesaGL"
6980 echo "$ac_t""found at $ac_find_libraries" 1>&6
6982 { echo "configure: error: no" 1>&2; exit 1; }
6985 GUI_TK_LINK
="-lwine $MESA_LINK $XPM_LINK -lXxf86dga -lXxf86vm -lSM -lICE -lXext -lXmu -lX11 -lncurses -lm"
6986 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GUI_TK_LINK"
6990 GUIHEADERS
="\$(MSW_HEADERS)"
6991 GUIOBJS
="\$(MSW_GUIOBJS)"
6992 COMMONOBJS
="\$(MSW_COMMONOBJS)"
6993 GENERICOBJS
="\$(MSW_GENERICOBJS)"
6994 GUIDEPS
="\$(MSW_GUIDEPS)"
6995 COMMONDEPS
="\$(MSW_COMMONDEPS)"
6996 GENERICDEPS
="\$(MSW_GENERICDEPS)"
6997 UNIXOBJS
="\$(UNIX_OBJS)"
7001 if test "$wxUSE_MOTIF" = 1; then
7002 # If we find X, set shell vars x_includes and x_libraries to the
7003 # paths, otherwise set no_x=yes.
7004 # Uses ac_ vars as temps to allow command line to override cache and checks.
7005 # --without-x overrides everything else, but does not touch the cache.
7006 echo $ac_n "checking for X""... $ac_c" 1>&6
7007 echo "configure:7008: checking for X" >&5
7009 # Check whether --with-x or --without-x was given.
7010 if test "${with_x+set}" = set; then
7015 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
7016 if test "x$with_x" = xno
; then
7017 # The user explicitly disabled X.
7020 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
7021 # Both variables are already set.
7024 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
7025 echo $ac_n "(cached) $ac_c" 1>&6
7027 # One or both of the vars are not set, and there is no cached value.
7028 ac_x_includes
=NO ac_x_libraries
=NO
7030 if mkdir conftestdir
; then
7032 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
7033 cat > Imakefile
<<'EOF'
7035 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
7037 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
7038 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
7039 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
7040 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
7041 for ac_extension
in a so sl
; do
7042 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
7043 test -f $ac_im_libdir/libX11.
$ac_extension; then
7044 ac_im_usrlibdir
=$ac_im_libdir; break
7047 # Screen out bogus values from the imake configuration. They are
7048 # bogus both because they are the default anyway, and because
7049 # using them would break gcc on systems where it needs fixed includes.
7050 case "$ac_im_incroot" in
7052 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;;
7054 case "$ac_im_usrlibdir" in
7056 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;;
7063 if test "$ac_x_includes" = NO
; then
7064 # Guess where to find include files, by looking for this one X11 .h file.
7065 test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
7067 # First, try using that file with no special directory specified.
7068 cat > conftest.
$ac_ext <<EOF
7069 #line 7070 "configure"
7070 #include "confdefs.h"
7071 #include <$x_direct_test_include>
7073 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7074 { (eval echo configure
:7075: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7075 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7076 if test -z "$ac_err"; then
7078 # We can compile using X headers with no special include directory.
7082 echo "configure: failed program was:" >&5
7083 cat conftest.
$ac_ext >&5
7085 # Look for the header file in a standard set of common directories.
7086 # Check X11 before X11Rn because it is often a symlink to the current release.
7089 /usr
/X
11R
6/include \
7090 /usr
/X
11R
5/include \
7091 /usr
/X
11R
4/include \
7094 /usr
/include
/X11R6 \
7095 /usr
/include
/X11R5 \
7096 /usr
/include
/X11R4 \
7098 /usr
/local
/X
11/include \
7099 /usr
/local
/X
11R
6/include \
7100 /usr
/local
/X
11R
5/include \
7101 /usr
/local
/X
11R
4/include \
7103 /usr
/local
/include
/X11 \
7104 /usr
/local
/include
/X11R6 \
7105 /usr
/local
/include
/X11R5 \
7106 /usr
/local
/include
/X11R4 \
7110 /usr
/XFree
86/include
/X11 \
7113 /usr
/local
/include \
7114 /usr
/unsupported
/include \
7115 /usr
/athena
/include \
7116 /usr
/local
/x
11r
5/include \
7117 /usr
/lpp
/Xamples
/include \
7119 /usr
/openwin
/include \
7120 /usr
/openwin
/share
/include \
7123 if test -r "$ac_dir/$x_direct_test_include"; then
7124 ac_x_includes
=$ac_dir
7130 fi # $ac_x_includes = NO
7132 if test "$ac_x_libraries" = NO
; then
7133 # Check for the libraries.
7135 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
7136 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
7138 # See if we find them without any special options.
7139 # Don't add to $LIBS permanently.
7140 ac_save_LIBS
="$LIBS"
7141 LIBS
="-l$x_direct_test_library $LIBS"
7142 cat > conftest.
$ac_ext <<EOF
7143 #line 7144 "configure"
7144 #include "confdefs.h"
7147 ${x_direct_test_function}()
7150 if { (eval echo configure
:7151: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7152 LIBS
="$ac_save_LIBS"
7153 # We can link X programs with no special library path.
7156 echo "configure: failed program was:" >&5
7157 cat conftest.
$ac_ext >&5
7159 LIBS
="$ac_save_LIBS"
7160 # First see if replacing the include by lib works.
7161 # Check X11 before X11Rn because it is often a symlink to the current release.
7162 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib/` \
7173 /usr
/local
/X
11/lib \
7174 /usr
/local
/X
11R
6/lib \
7175 /usr
/local
/X
11R
5/lib \
7176 /usr
/local
/X
11R
4/lib \
7178 /usr
/local
/lib
/X11 \
7179 /usr
/local
/lib
/X11R6 \
7180 /usr
/local
/lib
/X11R5 \
7181 /usr
/local
/lib
/X11R4 \
7185 /usr
/XFree
86/lib
/X11 \
7189 /usr
/unsupported
/lib \
7191 /usr
/local
/x
11r
5/lib \
7192 /usr
/lpp
/Xamples
/lib \
7196 /usr
/openwin
/share
/lib \
7199 for ac_extension
in a so sl
; do
7200 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
7201 ac_x_libraries
=$ac_dir
7208 fi # $ac_x_libraries = NO
7210 if test "$ac_x_includes" = NO
|| test "$ac_x_libraries" = NO
; then
7211 # Didn't find X anywhere. Cache the known absence of X.
7212 ac_cv_have_x
="have_x=no"
7214 # Record where we found X for the cache.
7215 ac_cv_have_x
="have_x=yes \
7216 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
7220 eval "$ac_cv_have_x"
7223 if test "$have_x" != yes; then
7224 echo "$ac_t""$have_x" 1>&6
7227 # If each of the values was on the command line, it overrides each guess.
7228 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
7229 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
7230 # Update the cache value to reflect the command line values.
7231 ac_cv_have_x
="have_x=yes \
7232 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
7233 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
7236 if test "$no_x" = yes; then
7237 # Not all programs may use this symbol, but it does not hurt to define it.
7238 cat >> confdefs.h
<<\EOF
7239 #define X_DISPLAY_MISSING 1
7242 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
7244 if test -n "$x_includes"; then
7245 X_CFLAGS
="$X_CFLAGS -I$x_includes"
7248 # It would also be nice to do this for all -L options, not just this one.
7249 if test -n "$x_libraries"; then
7250 X_LIBS
="$X_LIBS -L$x_libraries"
7251 # For Solaris; some versions of Sun CC require a space after -R and
7252 # others require no space. Words are not sufficient . . . .
7253 case "`(uname -sr) 2>/dev/null`" in
7255 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
7256 echo "configure:7257: checking whether -R must be followed by a space" >&5
7257 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
7258 cat > conftest.
$ac_ext <<EOF
7259 #line 7260 "configure"
7260 #include "confdefs.h"
7266 if { (eval echo configure
:7267: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7270 echo "configure: failed program was:" >&5
7271 cat conftest.
$ac_ext >&5
7276 if test $ac_R_nospace = yes; then
7277 echo "$ac_t""no" 1>&6
7278 X_LIBS
="$X_LIBS -R$x_libraries"
7280 LIBS
="$ac_xsave_LIBS -R $x_libraries"
7281 cat > conftest.
$ac_ext <<EOF
7282 #line 7283 "configure"
7283 #include "confdefs.h"
7289 if { (eval echo configure
:7290: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7293 echo "configure: failed program was:" >&5
7294 cat conftest.
$ac_ext >&5
7299 if test $ac_R_space = yes; then
7300 echo "$ac_t""yes" 1>&6
7301 X_LIBS
="$X_LIBS -R $x_libraries"
7303 echo "$ac_t""neither works" 1>&6
7306 LIBS
="$ac_xsave_LIBS"
7310 # Check for system-dependent libraries X programs must link with.
7311 # Do this before checking for the system-independent R6 libraries
7312 # (-lICE), since we may need -lsocket or whatever for X linking.
7314 if test "$ISC" = yes; then
7315 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
7317 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
7318 # libraries were built with DECnet support. And karl@cs.umb.edu says
7319 # the Alpha needs dnet_stub (dnet does not exist).
7320 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
7321 echo "configure:7322: checking for dnet_ntoa in -ldnet" >&5
7322 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
7323 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7324 echo $ac_n "(cached) $ac_c" 1>&6
7326 ac_save_LIBS
="$LIBS"
7328 cat > conftest.
$ac_ext <<EOF
7329 #line 7330 "configure"
7330 #include "confdefs.h"
7331 /* Override any gcc2 internal prototype to avoid an error. */
7332 /* We use char because int might match the return type of a gcc2
7333 builtin and then its argument prototype would still apply. */
7340 if { (eval echo configure
:7341: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7342 eval "ac_cv_lib_$ac_lib_var=yes"
7344 echo "configure: failed program was:" >&5
7345 cat conftest.
$ac_ext >&5
7347 eval "ac_cv_lib_$ac_lib_var=no"
7350 LIBS
="$ac_save_LIBS"
7353 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7354 echo "$ac_t""yes" 1>&6
7355 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
7357 echo "$ac_t""no" 1>&6
7360 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
7361 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
7362 echo "configure:7363: checking for dnet_ntoa in -ldnet_stub" >&5
7363 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
7364 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7365 echo $ac_n "(cached) $ac_c" 1>&6
7367 ac_save_LIBS
="$LIBS"
7368 LIBS
="-ldnet_stub $LIBS"
7369 cat > conftest.
$ac_ext <<EOF
7370 #line 7371 "configure"
7371 #include "confdefs.h"
7372 /* Override any gcc2 internal prototype to avoid an error. */
7373 /* We use char because int might match the return type of a gcc2
7374 builtin and then its argument prototype would still apply. */
7381 if { (eval echo configure
:7382: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7383 eval "ac_cv_lib_$ac_lib_var=yes"
7385 echo "configure: failed program was:" >&5
7386 cat conftest.
$ac_ext >&5
7388 eval "ac_cv_lib_$ac_lib_var=no"
7391 LIBS
="$ac_save_LIBS"
7394 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7395 echo "$ac_t""yes" 1>&6
7396 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
7398 echo "$ac_t""no" 1>&6
7403 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
7404 # to get the SysV transport functions.
7405 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
7407 # The nsl library prevents programs from opening the X display
7408 # on Irix 5.2, according to dickey@clark.net.
7409 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
7410 echo "configure:7411: checking for gethostbyname" >&5
7411 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
7412 echo $ac_n "(cached) $ac_c" 1>&6
7414 cat > conftest.
$ac_ext <<EOF
7415 #line 7416 "configure"
7416 #include "confdefs.h"
7417 /* System header to define __stub macros and hopefully few prototypes,
7418 which can conflict with char gethostbyname(); below. */
7420 /* Override any gcc2 internal prototype to avoid an error. */
7421 /* We use char because int might match the return type of a gcc2
7422 builtin and then its argument prototype would still apply. */
7423 char gethostbyname();
7428 /* The GNU C library defines this for functions which it implements
7429 to always fail with ENOSYS. Some functions are actually named
7430 something starting with __ and the normal name is an alias. */
7431 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
7439 if { (eval echo configure
:7440: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7441 eval "ac_cv_func_gethostbyname=yes"
7443 echo "configure: failed program was:" >&5
7444 cat conftest.
$ac_ext >&5
7446 eval "ac_cv_func_gethostbyname=no"
7451 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
7452 echo "$ac_t""yes" 1>&6
7455 echo "$ac_t""no" 1>&6
7458 if test $ac_cv_func_gethostbyname = no
; then
7459 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
7460 echo "configure:7461: checking for gethostbyname in -lnsl" >&5
7461 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
7462 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7463 echo $ac_n "(cached) $ac_c" 1>&6
7465 ac_save_LIBS
="$LIBS"
7467 cat > conftest.
$ac_ext <<EOF
7468 #line 7469 "configure"
7469 #include "confdefs.h"
7470 /* Override any gcc2 internal prototype to avoid an error. */
7471 /* We use char because int might match the return type of a gcc2
7472 builtin and then its argument prototype would still apply. */
7473 char gethostbyname();
7479 if { (eval echo configure
:7480: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7481 eval "ac_cv_lib_$ac_lib_var=yes"
7483 echo "configure: failed program was:" >&5
7484 cat conftest.
$ac_ext >&5
7486 eval "ac_cv_lib_$ac_lib_var=no"
7489 LIBS
="$ac_save_LIBS"
7492 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7493 echo "$ac_t""yes" 1>&6
7494 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
7496 echo "$ac_t""no" 1>&6
7501 # lieder@skyler.mavd.honeywell.com says without -lsocket,
7502 # socket/setsockopt and other routines are undefined under SCO ODT
7503 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
7504 # on later versions), says simon@lia.di.epfl.ch: it contains
7505 # gethostby* variants that don't use the nameserver (or something).
7506 # -lsocket must be given before -lnsl if both are needed.
7507 # We assume that if connect needs -lnsl, so does gethostbyname.
7508 echo $ac_n "checking for connect""... $ac_c" 1>&6
7509 echo "configure:7510: checking for connect" >&5
7510 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
7511 echo $ac_n "(cached) $ac_c" 1>&6
7513 cat > conftest.
$ac_ext <<EOF
7514 #line 7515 "configure"
7515 #include "confdefs.h"
7516 /* System header to define __stub macros and hopefully few prototypes,
7517 which can conflict with char connect(); below. */
7519 /* Override any gcc2 internal prototype to avoid an error. */
7520 /* We use char because int might match the return type of a gcc2
7521 builtin and then its argument prototype would still apply. */
7527 /* The GNU C library defines this for functions which it implements
7528 to always fail with ENOSYS. Some functions are actually named
7529 something starting with __ and the normal name is an alias. */
7530 #if defined (__stub_connect) || defined (__stub___connect)
7538 if { (eval echo configure
:7539: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7540 eval "ac_cv_func_connect=yes"
7542 echo "configure: failed program was:" >&5
7543 cat conftest.
$ac_ext >&5
7545 eval "ac_cv_func_connect=no"
7550 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
7551 echo "$ac_t""yes" 1>&6
7554 echo "$ac_t""no" 1>&6
7557 if test $ac_cv_func_connect = no
; then
7558 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
7559 echo "configure:7560: checking for connect in -lsocket" >&5
7560 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
7561 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7562 echo $ac_n "(cached) $ac_c" 1>&6
7564 ac_save_LIBS
="$LIBS"
7565 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
7566 cat > conftest.
$ac_ext <<EOF
7567 #line 7568 "configure"
7568 #include "confdefs.h"
7569 /* Override any gcc2 internal prototype to avoid an error. */
7570 /* We use char because int might match the return type of a gcc2
7571 builtin and then its argument prototype would still apply. */
7578 if { (eval echo configure
:7579: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7580 eval "ac_cv_lib_$ac_lib_var=yes"
7582 echo "configure: failed program was:" >&5
7583 cat conftest.
$ac_ext >&5
7585 eval "ac_cv_lib_$ac_lib_var=no"
7588 LIBS
="$ac_save_LIBS"
7591 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7592 echo "$ac_t""yes" 1>&6
7593 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
7595 echo "$ac_t""no" 1>&6
7600 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
7601 echo $ac_n "checking for remove""... $ac_c" 1>&6
7602 echo "configure:7603: checking for remove" >&5
7603 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
7604 echo $ac_n "(cached) $ac_c" 1>&6
7606 cat > conftest.
$ac_ext <<EOF
7607 #line 7608 "configure"
7608 #include "confdefs.h"
7609 /* System header to define __stub macros and hopefully few prototypes,
7610 which can conflict with char remove(); below. */
7612 /* Override any gcc2 internal prototype to avoid an error. */
7613 /* We use char because int might match the return type of a gcc2
7614 builtin and then its argument prototype would still apply. */
7620 /* The GNU C library defines this for functions which it implements
7621 to always fail with ENOSYS. Some functions are actually named
7622 something starting with __ and the normal name is an alias. */
7623 #if defined (__stub_remove) || defined (__stub___remove)
7631 if { (eval echo configure
:7632: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7633 eval "ac_cv_func_remove=yes"
7635 echo "configure: failed program was:" >&5
7636 cat conftest.
$ac_ext >&5
7638 eval "ac_cv_func_remove=no"
7643 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
7644 echo "$ac_t""yes" 1>&6
7647 echo "$ac_t""no" 1>&6
7650 if test $ac_cv_func_remove = no
; then
7651 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
7652 echo "configure:7653: checking for remove in -lposix" >&5
7653 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
7654 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7655 echo $ac_n "(cached) $ac_c" 1>&6
7657 ac_save_LIBS
="$LIBS"
7658 LIBS
="-lposix $LIBS"
7659 cat > conftest.
$ac_ext <<EOF
7660 #line 7661 "configure"
7661 #include "confdefs.h"
7662 /* Override any gcc2 internal prototype to avoid an error. */
7663 /* We use char because int might match the return type of a gcc2
7664 builtin and then its argument prototype would still apply. */
7671 if { (eval echo configure
:7672: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7673 eval "ac_cv_lib_$ac_lib_var=yes"
7675 echo "configure: failed program was:" >&5
7676 cat conftest.
$ac_ext >&5
7678 eval "ac_cv_lib_$ac_lib_var=no"
7681 LIBS
="$ac_save_LIBS"
7684 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7685 echo "$ac_t""yes" 1>&6
7686 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
7688 echo "$ac_t""no" 1>&6
7693 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
7694 echo $ac_n "checking for shmat""... $ac_c" 1>&6
7695 echo "configure:7696: checking for shmat" >&5
7696 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
7697 echo $ac_n "(cached) $ac_c" 1>&6
7699 cat > conftest.
$ac_ext <<EOF
7700 #line 7701 "configure"
7701 #include "confdefs.h"
7702 /* System header to define __stub macros and hopefully few prototypes,
7703 which can conflict with char shmat(); below. */
7705 /* Override any gcc2 internal prototype to avoid an error. */
7706 /* We use char because int might match the return type of a gcc2
7707 builtin and then its argument prototype would still apply. */
7713 /* The GNU C library defines this for functions which it implements
7714 to always fail with ENOSYS. Some functions are actually named
7715 something starting with __ and the normal name is an alias. */
7716 #if defined (__stub_shmat) || defined (__stub___shmat)
7724 if { (eval echo configure
:7725: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7726 eval "ac_cv_func_shmat=yes"
7728 echo "configure: failed program was:" >&5
7729 cat conftest.
$ac_ext >&5
7731 eval "ac_cv_func_shmat=no"
7736 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
7737 echo "$ac_t""yes" 1>&6
7740 echo "$ac_t""no" 1>&6
7743 if test $ac_cv_func_shmat = no
; then
7744 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
7745 echo "configure:7746: checking for shmat in -lipc" >&5
7746 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
7747 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7748 echo $ac_n "(cached) $ac_c" 1>&6
7750 ac_save_LIBS
="$LIBS"
7752 cat > conftest.
$ac_ext <<EOF
7753 #line 7754 "configure"
7754 #include "confdefs.h"
7755 /* Override any gcc2 internal prototype to avoid an error. */
7756 /* We use char because int might match the return type of a gcc2
7757 builtin and then its argument prototype would still apply. */
7764 if { (eval echo configure
:7765: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7766 eval "ac_cv_lib_$ac_lib_var=yes"
7768 echo "configure: failed program was:" >&5
7769 cat conftest.
$ac_ext >&5
7771 eval "ac_cv_lib_$ac_lib_var=no"
7774 LIBS
="$ac_save_LIBS"
7777 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7778 echo "$ac_t""yes" 1>&6
7779 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
7781 echo "$ac_t""no" 1>&6
7787 # Check for libraries that X11R6 Xt/Xaw programs need.
7788 ac_save_LDFLAGS
="$LDFLAGS"
7789 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
7790 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
7791 # check for ICE first), but we must link in the order -lSM -lICE or
7792 # we get undefined symbols. So assume we have SM if we have ICE.
7793 # These have to be linked with before -lX11, unlike the other
7794 # libraries we check for below, so use a different variable.
7795 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
7796 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
7797 echo "configure:7798: checking for IceConnectionNumber in -lICE" >&5
7798 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
7799 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7800 echo $ac_n "(cached) $ac_c" 1>&6
7802 ac_save_LIBS
="$LIBS"
7803 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
7804 cat > conftest.
$ac_ext <<EOF
7805 #line 7806 "configure"
7806 #include "confdefs.h"
7807 /* Override any gcc2 internal prototype to avoid an error. */
7808 /* We use char because int might match the return type of a gcc2
7809 builtin and then its argument prototype would still apply. */
7810 char IceConnectionNumber();
7813 IceConnectionNumber()
7816 if { (eval echo configure
:7817: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7818 eval "ac_cv_lib_$ac_lib_var=yes"
7820 echo "configure: failed program was:" >&5
7821 cat conftest.
$ac_ext >&5
7823 eval "ac_cv_lib_$ac_lib_var=no"
7826 LIBS
="$ac_save_LIBS"
7829 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7830 echo "$ac_t""yes" 1>&6
7831 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
7833 echo "$ac_t""no" 1>&6
7836 LDFLAGS
="$ac_save_LDFLAGS"
7841 if test "$no_x" = "yes"; then
7842 { echo "configure: error: X11 not found" 1>&2; exit 1; }
7845 GUI_TK_LIBRARY
="$X_LIBS"
7846 TOOLKIT_INCLUDE
="$X_CFLAGS"
7849 echo $ac_n "checking for Motif/Lesstif headers""... $ac_c" 1>&6
7850 echo "configure:7851: checking for Motif/Lesstif headers" >&5
7853 for ac_dir
in $SEARCH_INCLUDE;
7855 if test -f "$ac_dir/Xm/Xm.h"; then
7856 ac_find_includes
=$ac_dir
7861 if test "$ac_find_includes" != "" ; then
7862 echo "$ac_t""found $ac_find_includes" 1>&6
7864 echo "$ac_t""no" 1>&6
7865 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
7868 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
7869 echo "configure:7870: checking for Motif/Lesstif library" >&5
7872 for ac_dir
in $SEARCH_LIB;
7874 for ac_extension
in a so sl
; do
7875 if test -f "$ac_dir/libXm.$ac_extension"; then
7876 ac_find_libraries
=$ac_dir
7882 if test "$ac_find_libraries" != "" ; then
7884 ac_path_to_include
=$ac_find_includes
7885 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
7887 if test $result = 0; then
7888 ac_path_to_include
=""
7890 ac_path_to_include
="-I$ac_find_includes"
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"
7903 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
7904 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE $ac_path_to_include"
7905 echo "$ac_t""found at $ac_find_libraries" 1>&6
7907 echo "$ac_t""no" 1>&6
7908 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
7911 echo $ac_n "checking for Xt library""... $ac_c" 1>&6
7912 echo "configure:7913: checking for Xt library" >&5
7915 for ac_dir
in $SEARCH_LIB;
7917 for ac_extension
in a so sl
; do
7918 if test -f "$ac_dir/libXt.$ac_extension"; then
7919 ac_find_libraries
=$ac_dir
7925 if test "$ac_find_libraries" != "" ; then
7927 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
7929 if test $result = 0; then
7932 ac_path_to_link
="-L$ac_find_libraries"
7935 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
7936 echo "$ac_t""found at $ac_find_libraries" 1>&6
7938 echo "$ac_t""no" 1>&6
7939 { echo "configure: error: please set LDFLAGS to contain the location of libXt" 1>&2; exit 1; }
7943 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
7944 echo "configure:7945: checking for Xpm library" >&5
7947 for ac_dir
in $SEARCH_LIB;
7949 for ac_extension
in a so sl
; do
7950 if test -f "$ac_dir/libXpm.$ac_extension"; then
7951 ac_find_libraries
=$ac_dir
7957 if test "$ac_find_libraries" != "" ; then
7959 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
7961 if test $result = 0; then
7964 ac_path_to_link
="-L$ac_find_libraries"
7967 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
7969 cat >> confdefs.h
<<\EOF
7970 #define wxHAVE_LIB_XPM 1
7973 echo "$ac_t""found at $ac_find_libraries" 1>&6
7975 echo "$ac_t""no" 1>&6
7976 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
7979 GUI_TK_LINK
="-lXm $XPM_LINK -lXmu -lXext -lXt -lX11 -lm"
7980 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GUI_TK_LINK"
7983 GUIHEADERS
="\$(MOTIF_HEADERS)"
7984 GUIOBJS
="\$(MOTIF_GUIOBJS)"
7985 COMMONOBJS
="\$(MOTIF_COMMONOBJS)"
7986 GENERICOBJS
="\$(MOTIF_GENERICOBJS)"
7987 GUIDEPS
="\$(MOTIF_GUIDEPS)"
7988 COMMONDEPS
="\$(MOTIF_COMMONDEPS)"
7989 GENERICDEPS
="\$(MOTIF_GENERICDEPS)"
7990 UNIXOBJS
="\$(UNIX_OBJS)"
7994 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "A-Z" "a-z"`
7996 TOOLKIT_DEF
="-D__WX${TOOLKIT}__"
7998 WX_LIBRARY
="wx_${TOOLKIT_DIR}"
8000 ALL_OBJECTS
="\$(GUIOBJS) \$(COMMONOBJS) \$(GENERICOBJS) \$(UNIXOBJS) \$(HTMLOBJS) \$(JPEGOBJS) \$(PNGOBJS) \$(ZLIBOBJS) \$(IODBCOBJS)"
8001 ALL_DEPFILES
="\$(GUIDEPS) \$(COMMONDEPS) \$(GENERICDEPS) \$(UNIXDEPS) \$(HTMLDEPS)"
8002 ALL_HEADERS
="\$(GUIHEADERS) \$(HTML_HEADERS) \$(UNIX_HEADERS) \$(PROTOCOL_HEADERS) \$(GENERIC_HEADERS) \$(WX_HEADERS)"
8005 ALL_OBJECTS
="\$(BASE_OBJS)"
8006 ALL_DEPFILES
="\${BASE_DEPS}"
8007 ALL_HEADERS
="\${BASE_HEADERS}"
8012 WX_LIBRARY_NAME
="lib${WX_LIBRARY}.la"
8014 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
8016 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}-${WX_RELEASE}.so.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
8018 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}-${WX_RELEASE}.so.${WX_CURRENT}"
8019 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}-${WX_RELEASE}.so"
8020 WX_LIBRARY_LINK3
="lib${WX_LIBRARY}.so"
8027 if test "$wxUSE_SHARED" = "yes"; then
8030 if test "$GCC" = yes ; then
8031 SHARED_LD
="${CC} -shared -fPIC -o"
8034 SHARED_LD
="${CXX} -b -o"
8037 WX_LIBRARY_NAME_SHARED
="libwx_${TOOLKIT_DIR}.sl"
8038 WX_ALL
=${WX_LIBRARY_NAME_SHARED}
8041 SHARED_LD
="${CC} -shared -o"
8043 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8044 WX_ALL
="CREATE_LINKS"
8046 *-*-irix5* | *-*-irix6* )
8047 if test "$GCC" = yes ; then
8048 SHARED_LD
="${CC} -shared -o"
8051 SHARED_LD
="${CXX} -shared -o"
8053 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8054 WX_ALL
="CREATE_LINKS"
8057 if test "$GCC" = yes ; then
8058 SHARED_LD
="${CC} -shared -o"
8061 SHARED_LD
="${CXX} -G -o"
8064 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8065 WX_ALL
="CREATE_LINKS"
8068 SHARED_LD
="${CC} -shared -o"
8070 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8071 WX_ALL
="CREATE_LINKS"
8073 *-*-freebsd* | *-*-netbsd*)
8074 SHARED_LD
="${CC} -shared -o"
8076 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8077 WX_ALL
="CREATE_LINKS"
8080 SHARED_LD
="${CXX} -shared -o"
8082 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8083 WX_ALL
="CREATE_LINKS"
8086 SHARED_LD
="${CXX} -shared -o"
8088 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8089 WX_ALL
="CREATE_LINKS"
8092 SHARED_LD
="${CC} -shared -o"
8094 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8095 WX_ALL
="CREATE_LINKS"
8098 SHARED_LD
="/usr/lpp/xlC/bin/makeC++SharedLib -p 0 -o"
8099 WX_ALL
=${WX_LIBRARY_NAME_SHARED}
8102 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
8103 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
8106 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
8107 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
8112 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
8115 if test "x$WX_TARGET_LIBRARY" = "x"; then
8116 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
8119 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
8120 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
8124 for ac_hdr
in strings.h
8126 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8127 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8128 echo "configure:8129: checking for $ac_hdr" >&5
8129 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8130 echo $ac_n "(cached) $ac_c" 1>&6
8132 cat > conftest.
$ac_ext <<EOF
8133 #line 8134 "configure"
8134 #include "confdefs.h"
8137 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8138 { (eval echo configure
:8139: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8139 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8140 if test -z "$ac_err"; then
8142 eval "ac_cv_header_$ac_safe=yes"
8145 echo "configure: failed program was:" >&5
8146 cat conftest.
$ac_ext >&5
8148 eval "ac_cv_header_$ac_safe=no"
8152 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8153 echo "$ac_t""yes" 1>&6
8154 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8155 cat >> confdefs.h
<<EOF
8156 #define $ac_tr_hdr 1
8160 echo "$ac_t""no" 1>&6
8164 for ac_hdr
in unistd.h
8166 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8167 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8168 echo "configure:8169: checking for $ac_hdr" >&5
8169 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8170 echo $ac_n "(cached) $ac_c" 1>&6
8172 cat > conftest.
$ac_ext <<EOF
8173 #line 8174 "configure"
8174 #include "confdefs.h"
8177 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8178 { (eval echo configure
:8179: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8179 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8180 if test -z "$ac_err"; then
8182 eval "ac_cv_header_$ac_safe=yes"
8185 echo "configure: failed program was:" >&5
8186 cat conftest.
$ac_ext >&5
8188 eval "ac_cv_header_$ac_safe=no"
8192 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8193 echo "$ac_t""yes" 1>&6
8194 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8195 cat >> confdefs.h
<<EOF
8196 #define $ac_tr_hdr 1
8200 echo "$ac_t""no" 1>&6
8204 for ac_hdr
in wchar.h
8206 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8207 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8208 echo "configure:8209: checking for $ac_hdr" >&5
8209 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8210 echo $ac_n "(cached) $ac_c" 1>&6
8212 cat > conftest.
$ac_ext <<EOF
8213 #line 8214 "configure"
8214 #include "confdefs.h"
8217 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8218 { (eval echo configure
:8219: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8219 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8220 if test -z "$ac_err"; then
8222 eval "ac_cv_header_$ac_safe=yes"
8225 echo "configure: failed program was:" >&5
8226 cat conftest.
$ac_ext >&5
8228 eval "ac_cv_header_$ac_safe=no"
8232 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8233 echo "$ac_t""yes" 1>&6
8234 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8235 cat >> confdefs.h
<<EOF
8236 #define $ac_tr_hdr 1
8240 echo "$ac_t""no" 1>&6
8244 for ac_hdr
in wcstr.h
8246 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8247 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8248 echo "configure:8249: checking for $ac_hdr" >&5
8249 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8250 echo $ac_n "(cached) $ac_c" 1>&6
8252 cat > conftest.
$ac_ext <<EOF
8253 #line 8254 "configure"
8254 #include "confdefs.h"
8257 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8258 { (eval echo configure
:8259: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8259 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8260 if test -z "$ac_err"; then
8262 eval "ac_cv_header_$ac_safe=yes"
8265 echo "configure: failed program was:" >&5
8266 cat conftest.
$ac_ext >&5
8268 eval "ac_cv_header_$ac_safe=no"
8272 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8273 echo "$ac_t""yes" 1>&6
8274 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8275 cat >> confdefs.h
<<EOF
8276 #define $ac_tr_hdr 1
8280 echo "$ac_t""no" 1>&6
8284 for ac_hdr
in fnmatch.h
8286 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8287 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8288 echo "configure:8289: checking for $ac_hdr" >&5
8289 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8290 echo $ac_n "(cached) $ac_c" 1>&6
8292 cat > conftest.
$ac_ext <<EOF
8293 #line 8294 "configure"
8294 #include "confdefs.h"
8297 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8298 { (eval echo configure
:8299: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8299 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8300 if test -z "$ac_err"; then
8302 eval "ac_cv_header_$ac_safe=yes"
8305 echo "configure: failed program was:" >&5
8306 cat conftest.
$ac_ext >&5
8308 eval "ac_cv_header_$ac_safe=no"
8312 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8313 echo "$ac_t""yes" 1>&6
8314 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8315 cat >> confdefs.h
<<EOF
8316 #define $ac_tr_hdr 1
8320 echo "$ac_t""no" 1>&6
8325 if test "$wxUSE_GUI" = "yes"; then
8326 for ac_hdr
in X
11/XKBlib.h
8328 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8329 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8330 echo "configure:8331: checking for $ac_hdr" >&5
8331 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8332 echo $ac_n "(cached) $ac_c" 1>&6
8334 cat > conftest.
$ac_ext <<EOF
8335 #line 8336 "configure"
8336 #include "confdefs.h"
8339 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8340 { (eval echo configure
:8341: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8341 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8342 if test -z "$ac_err"; then
8344 eval "ac_cv_header_$ac_safe=yes"
8347 echo "configure: failed program was:" >&5
8348 cat conftest.
$ac_ext >&5
8350 eval "ac_cv_header_$ac_safe=no"
8354 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8355 echo "$ac_t""yes" 1>&6
8356 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8357 cat >> confdefs.h
<<EOF
8358 #define $ac_tr_hdr 1
8362 echo "$ac_t""no" 1>&6
8369 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
8370 echo "configure:8371: checking for ANSI C header files" >&5
8371 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
8372 echo $ac_n "(cached) $ac_c" 1>&6
8374 cat > conftest.
$ac_ext <<EOF
8375 #line 8376 "configure"
8376 #include "confdefs.h"
8382 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8383 { (eval echo configure
:8384: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8384 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8385 if test -z "$ac_err"; then
8387 ac_cv_header_stdc
=yes
8390 echo "configure: failed program was:" >&5
8391 cat conftest.
$ac_ext >&5
8393 ac_cv_header_stdc
=no
8397 if test $ac_cv_header_stdc = yes; then
8398 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8399 cat > conftest.
$ac_ext <<EOF
8400 #line 8401 "configure"
8401 #include "confdefs.h"
8404 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8405 egrep "memchr" >/dev
/null
2>&1; then
8409 ac_cv_header_stdc
=no
8415 if test $ac_cv_header_stdc = yes; then
8416 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8417 cat > conftest.
$ac_ext <<EOF
8418 #line 8419 "configure"
8419 #include "confdefs.h"
8422 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8423 egrep "free" >/dev
/null
2>&1; then
8427 ac_cv_header_stdc
=no
8433 if test $ac_cv_header_stdc = yes; then
8434 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8435 if test "$cross_compiling" = yes; then
8438 cat > conftest.
$ac_ext <<EOF
8439 #line 8440 "configure"
8440 #include "confdefs.h"
8442 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8443 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8444 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8445 int main () { int i; for (i = 0; i < 256; i++)
8446 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
8450 if { (eval echo configure
:8451: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
8454 echo "configure: failed program was:" >&5
8455 cat conftest.
$ac_ext >&5
8457 ac_cv_header_stdc
=no
8465 echo "$ac_t""$ac_cv_header_stdc" 1>&6
8466 if test $ac_cv_header_stdc = yes; then
8467 cat >> confdefs.h
<<\EOF
8468 #define STDC_HEADERS 1
8473 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
8474 echo "configure:8475: checking for mode_t" >&5
8475 if eval "test \"`echo '$''{'ac_cv_type_mode_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])mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
8490 ac_cv_type_mode_t
=yes
8493 ac_cv_type_mode_t
=no
8498 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
8499 if test $ac_cv_type_mode_t = no
; then
8500 cat >> confdefs.h
<<\EOF
8506 echo $ac_n "checking for off_t""... $ac_c" 1>&6
8507 echo "configure:8508: checking for off_t" >&5
8508 if eval "test \"`echo '$''{'ac_cv_type_off_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])off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
8523 ac_cv_type_off_t
=yes
8531 echo "$ac_t""$ac_cv_type_off_t" 1>&6
8532 if test $ac_cv_type_off_t = no
; then
8533 cat >> confdefs.h
<<\EOF
8539 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
8540 echo "configure:8541: checking for pid_t" >&5
8541 if eval "test \"`echo '$''{'ac_cv_type_pid_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])pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
8556 ac_cv_type_pid_t
=yes
8564 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
8565 if test $ac_cv_type_pid_t = no
; then
8566 cat >> confdefs.h
<<\EOF
8572 echo $ac_n "checking for size_t""... $ac_c" 1>&6
8573 echo "configure:8574: checking for size_t" >&5
8574 if eval "test \"`echo '$''{'ac_cv_type_size_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>
8586 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8587 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
8589 ac_cv_type_size_t
=yes
8592 ac_cv_type_size_t
=no
8597 echo "$ac_t""$ac_cv_type_size_t" 1>&6
8598 if test $ac_cv_type_size_t = no
; then
8599 cat >> confdefs.h
<<\EOF
8600 #define size_t unsigned
8605 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
8606 echo "configure:8607: checking for uid_t in sys/types.h" >&5
8607 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
8608 echo $ac_n "(cached) $ac_c" 1>&6
8610 cat > conftest.
$ac_ext <<EOF
8611 #line 8612 "configure"
8612 #include "confdefs.h"
8613 #include <sys/types.h>
8615 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8616 egrep "uid_t" >/dev
/null
2>&1; then
8618 ac_cv_type_uid_t
=yes
8627 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
8628 if test $ac_cv_type_uid_t = no
; then
8629 cat >> confdefs.h
<<\EOF
8633 cat >> confdefs.h
<<\EOF
8642 echo $ac_n "checking for working const""... $ac_c" 1>&6
8643 echo "configure:8644: checking for working const" >&5
8644 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
8645 echo $ac_n "(cached) $ac_c" 1>&6
8647 cat > conftest.
$ac_ext <<EOF
8648 #line 8649 "configure"
8649 #include "confdefs.h"
8653 /* Ultrix mips cc rejects this. */
8654 typedef int charset[2]; const charset x;
8655 /* SunOS 4.1.1 cc rejects this. */
8656 char const *const *ccp;
8658 /* NEC SVR4.0.2 mips cc rejects this. */
8659 struct point {int x, y;};
8660 static struct point const zero = {0,0};
8661 /* AIX XL C 1.02.0.0 rejects this.
8662 It does not let you subtract one const X* pointer from another in an arm
8663 of an if-expression whose if-part is not a constant expression */
8664 const char *g = "string";
8665 ccp = &g + (g ? g-g : 0);
8666 /* HPUX 7.0 cc rejects these. */
8669 ccp = (char const *const *) p;
8670 { /* SCO 3.2v4 cc rejects this. */
8672 char const *s = 0 ? (char *) 0 : (char const *) 0;
8676 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
8678 const int *foo = &x[0];
8681 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
8682 typedef const int *iptr;
8686 { /* AIX XL C 1.02.0.0 rejects this saying
8687 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
8688 struct s { int j; const int *ap[3]; };
8689 struct s *b; b->j = 5;
8691 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
8697 if { (eval echo configure
:8698: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8701 echo "configure: failed program was:" >&5
8702 cat conftest.
$ac_ext >&5
8709 echo "$ac_t""$ac_cv_c_const" 1>&6
8710 if test $ac_cv_c_const = no
; then
8711 cat >> confdefs.h
<<\EOF
8717 echo $ac_n "checking for inline""... $ac_c" 1>&6
8718 echo "configure:8719: checking for inline" >&5
8719 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
8720 echo $ac_n "(cached) $ac_c" 1>&6
8723 for ac_kw
in inline __inline__ __inline
; do
8724 cat > conftest.
$ac_ext <<EOF
8725 #line 8726 "configure"
8726 #include "confdefs.h"
8732 if { (eval echo configure
:8733: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8734 ac_cv_c_inline
=$ac_kw; break
8736 echo "configure: failed program was:" >&5
8737 cat conftest.
$ac_ext >&5
8744 echo "$ac_t""$ac_cv_c_inline" 1>&6
8745 case "$ac_cv_c_inline" in
8747 no
) cat >> confdefs.h
<<\EOF
8751 *) cat >> confdefs.h
<<EOF
8752 #define inline $ac_cv_c_inline
8758 echo $ac_n "checking size of char""... $ac_c" 1>&6
8759 echo "configure:8760: checking size of char" >&5
8760 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
8761 echo $ac_n "(cached) $ac_c" 1>&6
8763 if test "$cross_compiling" = yes; then
8766 cat > conftest.
$ac_ext <<EOF
8767 #line 8768 "configure"
8768 #include "confdefs.h"
8772 FILE *f=fopen("conftestval", "w");
8774 fprintf(f, "%d\n", sizeof(char));
8778 if { (eval echo configure
:8779: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
8780 ac_cv_sizeof_char
=`cat conftestval`
8782 echo "configure: failed program was:" >&5
8783 cat conftest.
$ac_ext >&5
8791 echo "$ac_t""$ac_cv_sizeof_char" 1>&6
8792 cat >> confdefs.h
<<EOF
8793 #define SIZEOF_CHAR $ac_cv_sizeof_char
8797 echo $ac_n "checking size of short""... $ac_c" 1>&6
8798 echo "configure:8799: checking size of short" >&5
8799 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
8800 echo $ac_n "(cached) $ac_c" 1>&6
8802 if test "$cross_compiling" = yes; then
8803 ac_cv_sizeof_short
=2
8805 cat > conftest.
$ac_ext <<EOF
8806 #line 8807 "configure"
8807 #include "confdefs.h"
8811 FILE *f=fopen("conftestval", "w");
8813 fprintf(f, "%d\n", sizeof(short));
8817 if { (eval echo configure
:8818: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
8819 ac_cv_sizeof_short
=`cat conftestval`
8821 echo "configure: failed program was:" >&5
8822 cat conftest.
$ac_ext >&5
8824 ac_cv_sizeof_short
=0
8830 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
8831 cat >> confdefs.h
<<EOF
8832 #define SIZEOF_SHORT $ac_cv_sizeof_short
8836 echo $ac_n "checking size of int *""... $ac_c" 1>&6
8837 echo "configure:8838: checking size of int *" >&5
8838 if eval "test \"`echo '$''{'ac_cv_sizeof_int_p'+set}'`\" = set"; then
8839 echo $ac_n "(cached) $ac_c" 1>&6
8841 if test "$cross_compiling" = yes; then
8842 ac_cv_sizeof_int_p
=4
8844 cat > conftest.
$ac_ext <<EOF
8845 #line 8846 "configure"
8846 #include "confdefs.h"
8850 FILE *f=fopen("conftestval", "w");
8852 fprintf(f, "%d\n", sizeof(int *));
8856 if { (eval echo configure
:8857: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
8858 ac_cv_sizeof_int_p
=`cat conftestval`
8860 echo "configure: failed program was:" >&5
8861 cat conftest.
$ac_ext >&5
8863 ac_cv_sizeof_int_p
=0
8869 echo "$ac_t""$ac_cv_sizeof_int_p" 1>&6
8870 cat >> confdefs.h
<<EOF
8871 #define SIZEOF_INT_P $ac_cv_sizeof_int_p
8875 echo $ac_n "checking size of int""... $ac_c" 1>&6
8876 echo "configure:8877: checking size of int" >&5
8877 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
8878 echo $ac_n "(cached) $ac_c" 1>&6
8880 if test "$cross_compiling" = yes; then
8883 cat > conftest.
$ac_ext <<EOF
8884 #line 8885 "configure"
8885 #include "confdefs.h"
8889 FILE *f=fopen("conftestval", "w");
8891 fprintf(f, "%d\n", sizeof(int));
8895 if { (eval echo configure
:8896: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
8897 ac_cv_sizeof_int
=`cat conftestval`
8899 echo "configure: failed program was:" >&5
8900 cat conftest.
$ac_ext >&5
8908 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
8909 cat >> confdefs.h
<<EOF
8910 #define SIZEOF_INT $ac_cv_sizeof_int
8914 echo $ac_n "checking size of long""... $ac_c" 1>&6
8915 echo "configure:8916: checking size of long" >&5
8916 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
8917 echo $ac_n "(cached) $ac_c" 1>&6
8919 if test "$cross_compiling" = yes; then
8922 cat > conftest.
$ac_ext <<EOF
8923 #line 8924 "configure"
8924 #include "confdefs.h"
8928 FILE *f=fopen("conftestval", "w");
8930 fprintf(f, "%d\n", sizeof(long));
8934 if { (eval echo configure
:8935: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
8936 ac_cv_sizeof_long
=`cat conftestval`
8938 echo "configure: failed program was:" >&5
8939 cat conftest.
$ac_ext >&5
8947 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
8948 cat >> confdefs.h
<<EOF
8949 #define SIZEOF_LONG $ac_cv_sizeof_long
8953 echo $ac_n "checking size of long long""... $ac_c" 1>&6
8954 echo "configure:8955: checking size of long long" >&5
8955 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
8956 echo $ac_n "(cached) $ac_c" 1>&6
8958 if test "$cross_compiling" = yes; then
8959 ac_cv_sizeof_long_long
=0
8961 cat > conftest.
$ac_ext <<EOF
8962 #line 8963 "configure"
8963 #include "confdefs.h"
8967 FILE *f=fopen("conftestval", "w");
8969 fprintf(f, "%d\n", sizeof(long long));
8973 if { (eval echo configure
:8974: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
8975 ac_cv_sizeof_long_long
=`cat conftestval`
8977 echo "configure: failed program was:" >&5
8978 cat conftest.
$ac_ext >&5
8980 ac_cv_sizeof_long_long
=0
8986 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
8987 cat >> confdefs.h
<<EOF
8988 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
8993 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
8994 echo "configure:8995: checking whether byte ordering is bigendian" >&5
8995 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
8996 echo $ac_n "(cached) $ac_c" 1>&6
8998 ac_cv_c_bigendian
=unknown
8999 # See if sys/param.h defines the BYTE_ORDER macro.
9000 cat > conftest.
$ac_ext <<EOF
9001 #line 9002 "configure"
9002 #include "confdefs.h"
9003 #include <sys/types.h>
9004 #include <sys/param.h>
9007 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
9012 if { (eval echo configure
:9013: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9014 # It does; now see whether it defined to BIG_ENDIAN or not.
9015 cat > conftest.
$ac_ext <<EOF
9016 #line 9017 "configure"
9017 #include "confdefs.h"
9018 #include <sys/types.h>
9019 #include <sys/param.h>
9022 #if BYTE_ORDER != BIG_ENDIAN
9027 if { (eval echo configure
:9028: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9029 ac_cv_c_bigendian
=yes
9031 echo "configure: failed program was:" >&5
9032 cat conftest.
$ac_ext >&5
9034 ac_cv_c_bigendian
=no
9038 echo "configure: failed program was:" >&5
9039 cat conftest.
$ac_ext >&5
9042 if test $ac_cv_c_bigendian = unknown
; then
9043 if test "$cross_compiling" = yes; then
9044 ac_cv_c_bigendian
=unknown
9046 cat > conftest.
$ac_ext <<EOF
9047 #line 9048 "configure"
9048 #include "confdefs.h"
9050 /* Are we little or big endian? From Harbison&Steele. */
9054 char c[sizeof (long)];
9057 exit (u.c[sizeof (long) - 1] == 1);
9060 if { (eval echo configure
:9061: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9062 ac_cv_c_bigendian
=no
9064 echo "configure: failed program was:" >&5
9065 cat conftest.
$ac_ext >&5
9067 ac_cv_c_bigendian
=yes
9075 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
9076 if test $ac_cv_c_bigendian = unknown
; then
9077 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
9079 if test $ac_cv_c_bigendian = yes; then
9080 cat >> confdefs.h
<<\EOF
9081 #define WORDS_BIGENDIAN 1
9088 if test "$cross_compiling" = "yes"; then
9089 cat >> confdefs.h
<<\EOF
9090 #define wxUSE_IOSTREAMH 1
9096 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9097 ac_cpp
='$CXXCPP $CPPFLAGS'
9098 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9099 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9100 cross_compiling
=$ac_cv_prog_cxx_cross
9103 for ac_hdr
in iostream
9105 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9106 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9107 echo "configure:9108: checking for $ac_hdr" >&5
9108 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9109 echo $ac_n "(cached) $ac_c" 1>&6
9111 cat > conftest.
$ac_ext <<EOF
9112 #line 9113 "configure"
9113 #include "confdefs.h"
9116 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9117 { (eval echo configure
:9118: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9118 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9119 if test -z "$ac_err"; then
9121 eval "ac_cv_header_$ac_safe=yes"
9124 echo "configure: failed program was:" >&5
9125 cat conftest.
$ac_ext >&5
9127 eval "ac_cv_header_$ac_safe=no"
9131 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9132 echo "$ac_t""yes" 1>&6
9133 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9134 cat >> confdefs.h
<<EOF
9135 #define $ac_tr_hdr 1
9139 echo "$ac_t""no" 1>&6
9144 if test "x$HAVE_IOSTREAM" = x
; then
9145 cat >> confdefs.h
<<\EOF
9146 #define wxUSE_IOSTREAMH 1
9154 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9155 ac_cpp
='$CPP $CPPFLAGS'
9156 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9157 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9158 cross_compiling
=$ac_cv_prog_cc_cross
9164 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
9165 echo "configure:9166: checking if C++ compiler supports bool" >&5
9166 if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
9167 echo $ac_n "(cached) $ac_c" 1>&6
9172 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9173 ac_cpp
='$CXXCPP $CPPFLAGS'
9174 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9175 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9176 cross_compiling
=$ac_cv_prog_cxx_cross
9179 cat > conftest.
$ac_ext <<EOF
9180 #line 9181 "configure"
9181 #include "confdefs.h"
9192 if { (eval echo configure
:9193: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9195 cat >> confdefs.h
<<\EOF
9202 echo "configure: failed program was:" >&5
9203 cat conftest.
$ac_ext >&5
9213 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9214 ac_cpp
='$CPP $CPPFLAGS'
9215 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9216 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9217 cross_compiling
=$ac_cv_prog_cc_cross
9222 echo "$ac_t""$wx_cv_cpp_bool" 1>&6
9224 if test "$wx_cv_cpp_bool" = "yes"; then
9225 cat >> confdefs.h
<<\EOF
9233 echo $ac_n "checking if you need GNU extensions""... $ac_c" 1>&6
9234 echo "configure:9235: checking if you need GNU extensions" >&5
9235 if eval "test \"`echo '$''{'wx_cv_gnu_extensions'+set}'`\" = set"; then
9236 echo $ac_n "(cached) $ac_c" 1>&6
9239 cat > conftest.
$ac_ext <<EOF
9240 #line 9241 "configure"
9241 #include "confdefs.h"
9242 #include <features.h>
9246 #ifndef __GNU_LIBRARY__
9247 Compile error wanted
9253 if { (eval echo configure
:9254: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9255 wx_cv_gnu_extensions
=yes
9257 echo "configure: failed program was:" >&5
9258 cat conftest.
$ac_ext >&5
9260 wx_cv_gnu_extensions
=no
9267 echo "$ac_t""$wx_cv_gnu_extensions" 1>&6
9268 if test "$wx_cv_gnu_extensions" = "yes"; then
9269 cat >> confdefs.h
<<EOF
9270 #define _GNU_SOURCE 1
9277 echo $ac_n "checking for wcslen in -lc""... $ac_c" 1>&6
9278 echo "configure:9279: checking for wcslen in -lc" >&5
9279 ac_lib_var
=`echo c'_'wcslen | sed 'y%./+-%__p_%'`
9280 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9281 echo $ac_n "(cached) $ac_c" 1>&6
9283 ac_save_LIBS
="$LIBS"
9285 cat > conftest.
$ac_ext <<EOF
9286 #line 9287 "configure"
9287 #include "confdefs.h"
9288 /* Override any gcc2 internal prototype to avoid an error. */
9289 /* We use char because int might match the return type of a gcc2
9290 builtin and then its argument prototype would still apply. */
9297 if { (eval echo configure
:9298: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9299 eval "ac_cv_lib_$ac_lib_var=yes"
9301 echo "configure: failed program was:" >&5
9302 cat conftest.
$ac_ext >&5
9304 eval "ac_cv_lib_$ac_lib_var=no"
9307 LIBS
="$ac_save_LIBS"
9310 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9311 echo "$ac_t""yes" 1>&6
9313 cat >> confdefs.h
<<\EOF
9314 #define HAVE_WCSLEN 1
9320 echo "$ac_t""no" 1>&6
9322 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
9323 echo "configure:9324: checking for wcslen in -lw" >&5
9324 ac_lib_var
=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
9325 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9326 echo $ac_n "(cached) $ac_c" 1>&6
9328 ac_save_LIBS
="$LIBS"
9330 cat > conftest.
$ac_ext <<EOF
9331 #line 9332 "configure"
9332 #include "confdefs.h"
9333 /* Override any gcc2 internal prototype to avoid an error. */
9334 /* We use char because int might match the return type of a gcc2
9335 builtin and then its argument prototype would still apply. */
9342 if { (eval echo configure
:9343: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9344 eval "ac_cv_lib_$ac_lib_var=yes"
9346 echo "configure: failed program was:" >&5
9347 cat conftest.
$ac_ext >&5
9349 eval "ac_cv_lib_$ac_lib_var=no"
9352 LIBS
="$ac_save_LIBS"
9355 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9356 echo "$ac_t""yes" 1>&6
9358 cat >> confdefs.h
<<\EOF
9359 #define HAVE_WCSLEN 1
9365 echo "$ac_t""no" 1>&6
9372 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
9373 echo "configure:9374: checking for vprintf" >&5
9374 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
9375 echo $ac_n "(cached) $ac_c" 1>&6
9377 cat > conftest.
$ac_ext <<EOF
9378 #line 9379 "configure"
9379 #include "confdefs.h"
9380 /* System header to define __stub macros and hopefully few prototypes,
9381 which can conflict with char vprintf(); below. */
9383 /* Override any gcc2 internal prototype to avoid an error. */
9384 /* We use char because int might match the return type of a gcc2
9385 builtin and then its argument prototype would still apply. */
9391 /* The GNU C library defines this for functions which it implements
9392 to always fail with ENOSYS. Some functions are actually named
9393 something starting with __ and the normal name is an alias. */
9394 #if defined (__stub_vprintf) || defined (__stub___vprintf)
9402 if { (eval echo configure
:9403: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9404 eval "ac_cv_func_vprintf=yes"
9406 echo "configure: failed program was:" >&5
9407 cat conftest.
$ac_ext >&5
9409 eval "ac_cv_func_vprintf=no"
9414 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
9415 echo "$ac_t""yes" 1>&6
9416 cat >> confdefs.h
<<\EOF
9417 #define HAVE_VPRINTF 1
9421 echo "$ac_t""no" 1>&6
9424 if test "$ac_cv_func_vprintf" != yes; then
9425 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
9426 echo "configure:9427: checking for _doprnt" >&5
9427 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
9428 echo $ac_n "(cached) $ac_c" 1>&6
9430 cat > conftest.
$ac_ext <<EOF
9431 #line 9432 "configure"
9432 #include "confdefs.h"
9433 /* System header to define __stub macros and hopefully few prototypes,
9434 which can conflict with char _doprnt(); below. */
9436 /* Override any gcc2 internal prototype to avoid an error. */
9437 /* We use char because int might match the return type of a gcc2
9438 builtin and then its argument prototype would still apply. */
9444 /* The GNU C library defines this for functions which it implements
9445 to always fail with ENOSYS. Some functions are actually named
9446 something starting with __ and the normal name is an alias. */
9447 #if defined (__stub__doprnt) || defined (__stub____doprnt)
9455 if { (eval echo configure
:9456: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9457 eval "ac_cv_func__doprnt=yes"
9459 echo "configure: failed program was:" >&5
9460 cat conftest.
$ac_ext >&5
9462 eval "ac_cv_func__doprnt=no"
9467 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
9468 echo "$ac_t""yes" 1>&6
9469 cat >> confdefs.h
<<\EOF
9470 #define HAVE_DOPRNT 1
9474 echo "$ac_t""no" 1>&6
9480 for ac_func
in vsnprintf
9482 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9483 echo "configure:9484: checking for $ac_func" >&5
9484 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9485 echo $ac_n "(cached) $ac_c" 1>&6
9487 cat > conftest.
$ac_ext <<EOF
9488 #line 9489 "configure"
9489 #include "confdefs.h"
9490 /* System header to define __stub macros and hopefully few prototypes,
9491 which can conflict with char $ac_func(); below. */
9493 /* Override any gcc2 internal prototype to avoid an error. */
9494 /* We use char because int might match the return type of a gcc2
9495 builtin and then its argument prototype would still apply. */
9501 /* The GNU C library defines this for functions which it implements
9502 to always fail with ENOSYS. Some functions are actually named
9503 something starting with __ and the normal name is an alias. */
9504 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9512 if { (eval echo configure
:9513: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9514 eval "ac_cv_func_$ac_func=yes"
9516 echo "configure: failed program was:" >&5
9517 cat conftest.
$ac_ext >&5
9519 eval "ac_cv_func_$ac_func=no"
9524 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9525 echo "$ac_t""yes" 1>&6
9526 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9527 cat >> confdefs.h
<<EOF
9528 #define $ac_tr_func 1
9530 cat >> confdefs.h
<<\EOF
9531 #define HAVE_VSNPRINTF 1
9535 echo "$ac_t""no" 1>&6
9536 echo "configure: warning: unsafe function sprintf will be used instead of snprintf" 1>&2
9544 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9545 ac_cpp
='$CXXCPP $CPPFLAGS'
9546 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9547 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9548 cross_compiling
=$ac_cv_prog_cxx_cross
9551 echo $ac_n "checking for vsscanf""... $ac_c" 1>&6
9552 echo "configure:9553: checking for vsscanf" >&5
9553 if eval "test \"`echo '$''{'wx_cv_func_vsscanf'+set}'`\" = set"; then
9554 echo $ac_n "(cached) $ac_c" 1>&6
9557 if test "$cross_compiling" = yes; then
9558 wx_cv_func_vsscanf
=no
9561 cat > conftest.
$ac_ext <<EOF
9562 #line 9563 "configure"
9563 #include "confdefs.h"
9565 extern "C" void exit(int);
9571 int try_vsscanf(const char *format, ...)
9574 va_start(ap, format);
9576 vsscanf("17", format, ap);
9584 try_vsscanf("%d", &i);
9585 return i == 17 ? 0 : 1;
9589 if { (eval echo configure
:9590: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9592 cat >> confdefs.h
<<\EOF
9593 #define HAVE_VSSCANF 1
9596 wx_cv_func_vsscanf
=yes
9599 echo "configure: failed program was:" >&5
9600 cat conftest.
$ac_ext >&5
9602 wx_cv_func_vsscanf
=no
9610 echo "$ac_t""$wx_cv_func_vsscanf" 1>&6
9613 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9614 ac_cpp
='$CPP $CPPFLAGS'
9615 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9616 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9617 cross_compiling
=$ac_cv_prog_cc_cross
9620 if test "$USE_UNIX" = 1; then
9622 for ac_func
in vfork
9624 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9625 echo "configure:9626: checking for $ac_func" >&5
9626 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9627 echo $ac_n "(cached) $ac_c" 1>&6
9629 cat > conftest.
$ac_ext <<EOF
9630 #line 9631 "configure"
9631 #include "confdefs.h"
9632 /* System header to define __stub macros and hopefully few prototypes,
9633 which can conflict with char $ac_func(); below. */
9635 /* Override any gcc2 internal prototype to avoid an error. */
9636 /* We use char because int might match the return type of a gcc2
9637 builtin and then its argument prototype would still apply. */
9643 /* The GNU C library defines this for functions which it implements
9644 to always fail with ENOSYS. Some functions are actually named
9645 something starting with __ and the normal name is an alias. */
9646 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9654 if { (eval echo configure
:9655: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9656 eval "ac_cv_func_$ac_func=yes"
9658 echo "configure: failed program was:" >&5
9659 cat conftest.
$ac_ext >&5
9661 eval "ac_cv_func_$ac_func=no"
9666 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9667 echo "$ac_t""yes" 1>&6
9668 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9669 cat >> confdefs.h
<<EOF
9670 #define $ac_tr_func 1
9674 echo "$ac_t""no" 1>&6
9680 for ac_func
in nanosleep
9682 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9683 echo "configure:9684: checking for $ac_func" >&5
9684 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9685 echo $ac_n "(cached) $ac_c" 1>&6
9687 cat > conftest.
$ac_ext <<EOF
9688 #line 9689 "configure"
9689 #include "confdefs.h"
9690 /* System header to define __stub macros and hopefully few prototypes,
9691 which can conflict with char $ac_func(); below. */
9693 /* Override any gcc2 internal prototype to avoid an error. */
9694 /* We use char because int might match the return type of a gcc2
9695 builtin and then its argument prototype would still apply. */
9701 /* The GNU C library defines this for functions which it implements
9702 to always fail with ENOSYS. Some functions are actually named
9703 something starting with __ and the normal name is an alias. */
9704 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9712 if { (eval echo configure
:9713: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9714 eval "ac_cv_func_$ac_func=yes"
9716 echo "configure: failed program was:" >&5
9717 cat conftest.
$ac_ext >&5
9719 eval "ac_cv_func_$ac_func=no"
9724 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9725 echo "$ac_t""yes" 1>&6
9726 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9727 cat >> confdefs.h
<<EOF
9728 #define $ac_tr_func 1
9730 cat >> confdefs.h
<<\EOF
9731 #define HAVE_NANOSLEEP 1
9735 echo "$ac_t""no" 1>&6
9736 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
9737 echo "configure:9738: checking for nanosleep in -lposix4" >&5
9738 ac_lib_var
=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
9739 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9740 echo $ac_n "(cached) $ac_c" 1>&6
9742 ac_save_LIBS
="$LIBS"
9743 LIBS
="-lposix4 $LIBS"
9744 cat > conftest.
$ac_ext <<EOF
9745 #line 9746 "configure"
9746 #include "confdefs.h"
9747 /* Override any gcc2 internal prototype to avoid an error. */
9748 /* We use char because int might match the return type of a gcc2
9749 builtin and then its argument prototype would still apply. */
9756 if { (eval echo configure
:9757: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9758 eval "ac_cv_lib_$ac_lib_var=yes"
9760 echo "configure: failed program was:" >&5
9761 cat conftest.
$ac_ext >&5
9763 eval "ac_cv_lib_$ac_lib_var=no"
9766 LIBS
="$ac_save_LIBS"
9769 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9770 echo "$ac_t""yes" 1>&6
9772 cat >> confdefs.h
<<\EOF
9773 #define HAVE_NANOSLEEP 1
9776 POSIX4_LINK
="-lposix4"
9779 echo "$ac_t""no" 1>&6
9781 for ac_func
in usleep
9783 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9784 echo "configure:9785: checking for $ac_func" >&5
9785 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9786 echo $ac_n "(cached) $ac_c" 1>&6
9788 cat > conftest.
$ac_ext <<EOF
9789 #line 9790 "configure"
9790 #include "confdefs.h"
9791 /* System header to define __stub macros and hopefully few prototypes,
9792 which can conflict with char $ac_func(); below. */
9794 /* Override any gcc2 internal prototype to avoid an error. */
9795 /* We use char because int might match the return type of a gcc2
9796 builtin and then its argument prototype would still apply. */
9802 /* The GNU C library defines this for functions which it implements
9803 to always fail with ENOSYS. Some functions are actually named
9804 something starting with __ and the normal name is an alias. */
9805 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9813 if { (eval echo configure
:9814: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9815 eval "ac_cv_func_$ac_func=yes"
9817 echo "configure: failed program was:" >&5
9818 cat conftest.
$ac_ext >&5
9820 eval "ac_cv_func_$ac_func=no"
9825 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9826 echo "$ac_t""yes" 1>&6
9827 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9828 cat >> confdefs.h
<<EOF
9829 #define $ac_tr_func 1
9831 cat >> confdefs.h
<<\EOF
9832 #define HAVE_USLEEP 1
9836 echo "$ac_t""no" 1>&6
9837 echo "configure: warning: wxSleep() function will not work" 1>&2
9849 for ac_func
in uname gethostname
9851 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9852 echo "configure:9853: checking for $ac_func" >&5
9853 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9854 echo $ac_n "(cached) $ac_c" 1>&6
9856 cat > conftest.
$ac_ext <<EOF
9857 #line 9858 "configure"
9858 #include "confdefs.h"
9859 /* System header to define __stub macros and hopefully few prototypes,
9860 which can conflict with char $ac_func(); below. */
9862 /* Override any gcc2 internal prototype to avoid an error. */
9863 /* We use char because int might match the return type of a gcc2
9864 builtin and then its argument prototype would still apply. */
9870 /* The GNU C library defines this for functions which it implements
9871 to always fail with ENOSYS. Some functions are actually named
9872 something starting with __ and the normal name is an alias. */
9873 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9881 if { (eval echo configure
:9882: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9883 eval "ac_cv_func_$ac_func=yes"
9885 echo "configure: failed program was:" >&5
9886 cat conftest.
$ac_ext >&5
9888 eval "ac_cv_func_$ac_func=no"
9893 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9894 echo "$ac_t""yes" 1>&6
9895 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9896 cat >> confdefs.h
<<EOF
9897 #define $ac_tr_func 1
9901 echo "$ac_t""no" 1>&6
9906 for ac_func
in strtok_r
9908 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9909 echo "configure:9910: checking for $ac_func" >&5
9910 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9911 echo $ac_n "(cached) $ac_c" 1>&6
9913 cat > conftest.
$ac_ext <<EOF
9914 #line 9915 "configure"
9915 #include "confdefs.h"
9916 /* System header to define __stub macros and hopefully few prototypes,
9917 which can conflict with char $ac_func(); below. */
9919 /* Override any gcc2 internal prototype to avoid an error. */
9920 /* We use char because int might match the return type of a gcc2
9921 builtin and then its argument prototype would still apply. */
9927 /* The GNU C library defines this for functions which it implements
9928 to always fail with ENOSYS. Some functions are actually named
9929 something starting with __ and the normal name is an alias. */
9930 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9938 if { (eval echo configure
:9939: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9940 eval "ac_cv_func_$ac_func=yes"
9942 echo "configure: failed program was:" >&5
9943 cat conftest.
$ac_ext >&5
9945 eval "ac_cv_func_$ac_func=no"
9950 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9951 echo "$ac_t""yes" 1>&6
9952 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9953 cat >> confdefs.h
<<EOF
9954 #define $ac_tr_func 1
9958 echo "$ac_t""no" 1>&6
9964 for ac_func
in inet_addr
9966 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9967 echo "configure:9968: checking for $ac_func" >&5
9968 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9969 echo $ac_n "(cached) $ac_c" 1>&6
9971 cat > conftest.
$ac_ext <<EOF
9972 #line 9973 "configure"
9973 #include "confdefs.h"
9974 /* System header to define __stub macros and hopefully few prototypes,
9975 which can conflict with char $ac_func(); below. */
9977 /* Override any gcc2 internal prototype to avoid an error. */
9978 /* We use char because int might match the return type of a gcc2
9979 builtin and then its argument prototype would still apply. */
9985 /* The GNU C library defines this for functions which it implements
9986 to always fail with ENOSYS. Some functions are actually named
9987 something starting with __ and the normal name is an alias. */
9988 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9996 if { (eval echo configure
:9997: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9998 eval "ac_cv_func_$ac_func=yes"
10000 echo "configure: failed program was:" >&5
10001 cat conftest.
$ac_ext >&5
10003 eval "ac_cv_func_$ac_func=no"
10008 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10009 echo "$ac_t""yes" 1>&6
10010 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10011 cat >> confdefs.h
<<EOF
10012 #define $ac_tr_func 1
10014 cat >> confdefs.h
<<\EOF
10015 #define HAVE_INET_ADDR 1
10019 echo "$ac_t""no" 1>&6
10020 echo $ac_n "checking for inet_addr in -lnsl""... $ac_c" 1>&6
10021 echo "configure:10022: checking for inet_addr in -lnsl" >&5
10022 ac_lib_var
=`echo nsl'_'inet_addr | sed 'y%./+-%__p_%'`
10023 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10024 echo $ac_n "(cached) $ac_c" 1>&6
10026 ac_save_LIBS
="$LIBS"
10028 cat > conftest.
$ac_ext <<EOF
10029 #line 10030 "configure"
10030 #include "confdefs.h"
10031 /* Override any gcc2 internal prototype to avoid an error. */
10032 /* We use char because int might match the return type of a gcc2
10033 builtin and then its argument prototype would still apply. */
10040 if { (eval echo configure
:10041: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10042 eval "ac_cv_lib_$ac_lib_var=yes"
10044 echo "configure: failed program was:" >&5
10045 cat conftest.
$ac_ext >&5
10047 eval "ac_cv_lib_$ac_lib_var=no"
10050 LIBS
="$ac_save_LIBS"
10053 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10054 echo "$ac_t""yes" 1>&6
10057 echo "$ac_t""no" 1>&6
10058 echo $ac_n "checking for inet_addr in -lresolv""... $ac_c" 1>&6
10059 echo "configure:10060: checking for inet_addr in -lresolv" >&5
10060 ac_lib_var
=`echo resolv'_'inet_addr | sed 'y%./+-%__p_%'`
10061 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10062 echo $ac_n "(cached) $ac_c" 1>&6
10064 ac_save_LIBS
="$LIBS"
10065 LIBS
="-lresolv $LIBS"
10066 cat > conftest.
$ac_ext <<EOF
10067 #line 10068 "configure"
10068 #include "confdefs.h"
10069 /* Override any gcc2 internal prototype to avoid an error. */
10070 /* We use char because int might match the return type of a gcc2
10071 builtin and then its argument prototype would still apply. */
10078 if { (eval echo configure
:10079: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10080 eval "ac_cv_lib_$ac_lib_var=yes"
10082 echo "configure: failed program was:" >&5
10083 cat conftest.
$ac_ext >&5
10085 eval "ac_cv_lib_$ac_lib_var=no"
10088 LIBS
="$ac_save_LIBS"
10091 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10092 echo "$ac_t""yes" 1>&6
10096 echo "$ac_t""no" 1>&6
10108 for ac_func
in inet_aton
10110 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10111 echo "configure:10112: checking for $ac_func" >&5
10112 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10113 echo $ac_n "(cached) $ac_c" 1>&6
10115 cat > conftest.
$ac_ext <<EOF
10116 #line 10117 "configure"
10117 #include "confdefs.h"
10118 /* System header to define __stub macros and hopefully few prototypes,
10119 which can conflict with char $ac_func(); below. */
10120 #include <assert.h>
10121 /* Override any gcc2 internal prototype to avoid an error. */
10122 /* We use char because int might match the return type of a gcc2
10123 builtin and then its argument prototype would still apply. */
10129 /* The GNU C library defines this for functions which it implements
10130 to always fail with ENOSYS. Some functions are actually named
10131 something starting with __ and the normal name is an alias. */
10132 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10140 if { (eval echo configure
:10141: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10142 eval "ac_cv_func_$ac_func=yes"
10144 echo "configure: failed program was:" >&5
10145 cat conftest.
$ac_ext >&5
10147 eval "ac_cv_func_$ac_func=no"
10152 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10153 echo "$ac_t""yes" 1>&6
10154 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10155 cat >> confdefs.h
<<EOF
10156 #define $ac_tr_func 1
10158 cat >> confdefs.h
<<\EOF
10159 #define HAVE_INET_ATON 1
10163 echo "$ac_t""no" 1>&6
10164 echo $ac_n "checking for inet_aton in -l$INET_LINK""... $ac_c" 1>&6
10165 echo "configure:10166: checking for inet_aton in -l$INET_LINK" >&5
10166 ac_lib_var
=`echo $INET_LINK'_'inet_aton | sed 'y%./+-%__p_%'`
10167 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10168 echo $ac_n "(cached) $ac_c" 1>&6
10170 ac_save_LIBS
="$LIBS"
10171 LIBS
="-l$INET_LINK $LIBS"
10172 cat > conftest.
$ac_ext <<EOF
10173 #line 10174 "configure"
10174 #include "confdefs.h"
10175 /* Override any gcc2 internal prototype to avoid an error. */
10176 /* We use char because int might match the return type of a gcc2
10177 builtin and then its argument prototype would still apply. */
10184 if { (eval echo configure
:10185: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10186 eval "ac_cv_lib_$ac_lib_var=yes"
10188 echo "configure: failed program was:" >&5
10189 cat conftest.
$ac_ext >&5
10191 eval "ac_cv_lib_$ac_lib_var=no"
10194 LIBS
="$ac_save_LIBS"
10197 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10198 echo "$ac_t""yes" 1>&6
10199 cat >> confdefs.h
<<\EOF
10200 #define HAVE_INET_ATON 1
10204 echo "$ac_t""no" 1>&6
10212 if test "x$INET_LINK" != "x"; then
10213 cat >> confdefs.h
<<\EOF
10214 #define HAVE_INET_ADDR 1
10217 INET_LINK
="-l$INET_LINK"
10223 cat > confcache
<<\EOF
10224 # This file is a shell script that caches the results of configure
10225 # tests run on this system so they can be shared between configure
10226 # scripts and configure runs. It is not useful on other systems.
10227 # If it contains results you don't want to keep, you may remove or edit it.
10229 # By default, configure uses ./config.cache as the cache file,
10230 # creating it if it does not exist already. You can give configure
10231 # the --cache-file=FILE option to use a different cache file; that is
10232 # what configure does when it calls configure scripts in
10233 # subdirectories, so they share the cache.
10234 # Giving --cache-file=/dev/null disables caching, for debugging configure.
10235 # config.status only pays attention to the cache file if you give it the
10236 # --recheck option to rerun configure.
10239 # The following way of writing the cache mishandles newlines in values,
10240 # but we know of no workaround that is simple, portable, and efficient.
10241 # So, don't put newlines in cache variables' values.
10242 # Ultrix sh set writes to stderr and can't be redirected directly,
10243 # and sets the high bit in the cache file unless we assign to the vars.
10245 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10247 # `set' does not quote correctly, so add quotes (double-quote substitution
10248 # turns \\\\ into \\, and sed turns \\ into \).
10250 -e "s/'/'\\\\''/g" \
10251 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
10254 # `set' quotes correctly as required by POSIX, so do not add quotes.
10255 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
10258 if cmp -s $cache_file confcache
; then
10261 if test -w $cache_file; then
10262 echo "updating cache $cache_file"
10263 cat confcache
> $cache_file
10265 echo "not updating unwritable cache $cache_file"
10272 if test "$USE_UNIX" = 1; then
10278 if test "$wxUSE_THREADS" = "yes" ; then
10279 if test "$wxUSE_WINE" = 1 ; then
10280 echo "configure: warning: Threads are not supported under WINE" 1>&2
10285 if test "$wxUSE_THREADS" = "yes" ; then
10287 echo $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6
10288 echo "configure:10289: checking for pthread_create in -lpthread" >&5
10289 ac_lib_var
=`echo pthread'_'pthread_create | sed 'y%./+-%__p_%'`
10290 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10291 echo $ac_n "(cached) $ac_c" 1>&6
10293 ac_save_LIBS
="$LIBS"
10294 LIBS
="-lpthread $LIBS"
10295 cat > conftest.
$ac_ext <<EOF
10296 #line 10297 "configure"
10297 #include "confdefs.h"
10298 /* Override any gcc2 internal prototype to avoid an error. */
10299 /* We use char because int might match the return type of a gcc2
10300 builtin and then its argument prototype would still apply. */
10301 char pthread_create();
10307 if { (eval echo configure
:10308: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10309 eval "ac_cv_lib_$ac_lib_var=yes"
10311 echo "configure: failed program was:" >&5
10312 cat conftest.
$ac_ext >&5
10314 eval "ac_cv_lib_$ac_lib_var=no"
10317 LIBS
="$ac_save_LIBS"
10320 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10321 echo "$ac_t""yes" 1>&6
10323 THREADS_OBJ
="threadpsx.lo"
10324 THREADS_LINK
="pthread"
10327 echo "$ac_t""no" 1>&6
10329 echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
10330 echo "configure:10331: checking for pthread_create in -lc_r" >&5
10331 ac_lib_var
=`echo c_r'_'pthread_create | sed 'y%./+-%__p_%'`
10332 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10333 echo $ac_n "(cached) $ac_c" 1>&6
10335 ac_save_LIBS
="$LIBS"
10337 cat > conftest.
$ac_ext <<EOF
10338 #line 10339 "configure"
10339 #include "confdefs.h"
10340 /* Override any gcc2 internal prototype to avoid an error. */
10341 /* We use char because int might match the return type of a gcc2
10342 builtin and then its argument prototype would still apply. */
10343 char pthread_create();
10349 if { (eval echo configure
:10350: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10351 eval "ac_cv_lib_$ac_lib_var=yes"
10353 echo "configure: failed program was:" >&5
10354 cat conftest.
$ac_ext >&5
10356 eval "ac_cv_lib_$ac_lib_var=no"
10359 LIBS
="$ac_save_LIBS"
10362 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10363 echo "$ac_t""yes" 1>&6
10365 THREADS_OBJ
="threadpsx.lo"
10369 echo "$ac_t""no" 1>&6
10371 ac_safe
=`echo "sys/prctl.h" | sed 'y%./+-%__p_%'`
10372 echo $ac_n "checking for sys/prctl.h""... $ac_c" 1>&6
10373 echo "configure:10374: checking for sys/prctl.h" >&5
10374 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10375 echo $ac_n "(cached) $ac_c" 1>&6
10377 cat > conftest.
$ac_ext <<EOF
10378 #line 10379 "configure"
10379 #include "confdefs.h"
10380 #include <sys/prctl.h>
10382 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10383 { (eval echo configure
:10384: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10384 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10385 if test -z "$ac_err"; then
10387 eval "ac_cv_header_$ac_safe=yes"
10390 echo "configure: failed program was:" >&5
10391 cat conftest.
$ac_ext >&5
10393 eval "ac_cv_header_$ac_safe=no"
10397 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10398 echo "$ac_t""yes" 1>&6
10400 THREADS_OBJ
="threadsgi.lo"
10403 echo "$ac_t""no" 1>&6
10413 if test -z "$THREADS_OBJ" ; then
10415 echo "configure: warning: No thread support on this system" 1>&2
10419 if test "$wxUSE_THREADS" = "yes" ; then
10421 for ac_hdr
in sched.h
10423 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10424 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10425 echo "configure:10426: checking for $ac_hdr" >&5
10426 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10427 echo $ac_n "(cached) $ac_c" 1>&6
10429 cat > conftest.
$ac_ext <<EOF
10430 #line 10431 "configure"
10431 #include "confdefs.h"
10434 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10435 { (eval echo configure
:10436: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10436 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10437 if test -z "$ac_err"; then
10439 eval "ac_cv_header_$ac_safe=yes"
10442 echo "configure: failed program was:" >&5
10443 cat conftest.
$ac_ext >&5
10445 eval "ac_cv_header_$ac_safe=no"
10449 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10450 echo "$ac_t""yes" 1>&6
10451 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10452 cat >> confdefs.h
<<EOF
10453 #define $ac_tr_hdr 1
10457 echo "$ac_t""no" 1>&6
10462 echo $ac_n "checking for sched_yield in -l$THREADS_LINK""... $ac_c" 1>&6
10463 echo "configure:10464: checking for sched_yield in -l$THREADS_LINK" >&5
10464 ac_lib_var
=`echo $THREADS_LINK'_'sched_yield | sed 'y%./+-%__p_%'`
10465 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10466 echo $ac_n "(cached) $ac_c" 1>&6
10468 ac_save_LIBS
="$LIBS"
10469 LIBS
="-l$THREADS_LINK $LIBS"
10470 cat > conftest.
$ac_ext <<EOF
10471 #line 10472 "configure"
10472 #include "confdefs.h"
10473 /* Override any gcc2 internal prototype to avoid an error. */
10474 /* We use char because int might match the return type of a gcc2
10475 builtin and then its argument prototype would still apply. */
10476 char sched_yield();
10482 if { (eval echo configure
:10483: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10484 eval "ac_cv_lib_$ac_lib_var=yes"
10486 echo "configure: failed program was:" >&5
10487 cat conftest.
$ac_ext >&5
10489 eval "ac_cv_lib_$ac_lib_var=no"
10492 LIBS
="$ac_save_LIBS"
10495 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10496 echo "$ac_t""yes" 1>&6
10497 cat >> confdefs.h
<<\EOF
10498 #define HAVE_SCHED_YIELD 1
10502 echo "$ac_t""no" 1>&6
10503 echo $ac_n "checking for sched_yield in -l"posix4
"""... $ac_c" 1>&6
10504 echo "configure:10505: checking for sched_yield in -l"posix4
"" >&5
10505 ac_lib_var
=`echo "posix4"'_'sched_yield | sed 'y%./+-%__p_%'`
10506 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10507 echo $ac_n "(cached) $ac_c" 1>&6
10509 ac_save_LIBS
="$LIBS"
10510 LIBS
="-l"posix4
" $LIBS"
10511 cat > conftest.
$ac_ext <<EOF
10512 #line 10513 "configure"
10513 #include "confdefs.h"
10514 /* Override any gcc2 internal prototype to avoid an error. */
10515 /* We use char because int might match the return type of a gcc2
10516 builtin and then its argument prototype would still apply. */
10517 char sched_yield();
10523 if { (eval echo configure
:10524: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10525 eval "ac_cv_lib_$ac_lib_var=yes"
10527 echo "configure: failed program was:" >&5
10528 cat conftest.
$ac_ext >&5
10530 eval "ac_cv_lib_$ac_lib_var=no"
10533 LIBS
="$ac_save_LIBS"
10536 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10537 echo "$ac_t""yes" 1>&6
10538 cat >> confdefs.h
<<\EOF
10539 #define HAVE_SCHED_YIELD 1
10541 POSIX4_LINK
="-lposix4"
10543 echo "$ac_t""no" 1>&6
10544 echo "configure: warning: wxThread::Yield will not work properly" 1>&2
10552 echo $ac_n "checking for pthread_attr_getschedpolicy in -l$THREADS_LINK""... $ac_c" 1>&6
10553 echo "configure:10554: checking for pthread_attr_getschedpolicy in -l$THREADS_LINK" >&5
10554 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
10555 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10556 echo $ac_n "(cached) $ac_c" 1>&6
10558 ac_save_LIBS
="$LIBS"
10559 LIBS
="-l$THREADS_LINK $LIBS"
10560 cat > conftest.
$ac_ext <<EOF
10561 #line 10562 "configure"
10562 #include "confdefs.h"
10563 /* Override any gcc2 internal prototype to avoid an error. */
10564 /* We use char because int might match the return type of a gcc2
10565 builtin and then its argument prototype would still apply. */
10566 char pthread_attr_getschedpolicy();
10569 pthread_attr_getschedpolicy()
10572 if { (eval echo configure
:10573: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10574 eval "ac_cv_lib_$ac_lib_var=yes"
10576 echo "configure: failed program was:" >&5
10577 cat conftest.
$ac_ext >&5
10579 eval "ac_cv_lib_$ac_lib_var=no"
10582 LIBS
="$ac_save_LIBS"
10585 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10586 echo "$ac_t""yes" 1>&6
10587 cat >> confdefs.h
<<\EOF
10588 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
10592 echo "$ac_t""no" 1>&6
10593 echo $ac_n "checking for pthread_attr_getschedpolicy in -l"posix4
"""... $ac_c" 1>&6
10594 echo "configure:10595: checking for pthread_attr_getschedpolicy in -l"posix4
"" >&5
10595 ac_lib_var
=`echo "posix4"'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
10596 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10597 echo $ac_n "(cached) $ac_c" 1>&6
10599 ac_save_LIBS
="$LIBS"
10600 LIBS
="-l"posix4
" $LIBS"
10601 cat > conftest.
$ac_ext <<EOF
10602 #line 10603 "configure"
10603 #include "confdefs.h"
10604 /* Override any gcc2 internal prototype to avoid an error. */
10605 /* We use char because int might match the return type of a gcc2
10606 builtin and then its argument prototype would still apply. */
10607 char pthread_attr_getschedpolicy();
10610 pthread_attr_getschedpolicy()
10613 if { (eval echo configure
:10614: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10615 eval "ac_cv_lib_$ac_lib_var=yes"
10617 echo "configure: failed program was:" >&5
10618 cat conftest.
$ac_ext >&5
10620 eval "ac_cv_lib_$ac_lib_var=no"
10623 LIBS
="$ac_save_LIBS"
10626 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10627 echo "$ac_t""yes" 1>&6
10628 cat >> confdefs.h
<<\EOF
10629 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
10631 POSIX4_LINK
="-lposix4"
10633 echo "$ac_t""no" 1>&6
10634 echo "configure: warning: Setting thread priority will not work" 1>&2
10642 echo $ac_n "checking for pthread_cancel in -l$THREADS_LINK""... $ac_c" 1>&6
10643 echo "configure:10644: checking for pthread_cancel in -l$THREADS_LINK" >&5
10644 ac_lib_var
=`echo $THREADS_LINK'_'pthread_cancel | sed 'y%./+-%__p_%'`
10645 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10646 echo $ac_n "(cached) $ac_c" 1>&6
10648 ac_save_LIBS
="$LIBS"
10649 LIBS
="-l$THREADS_LINK $LIBS"
10650 cat > conftest.
$ac_ext <<EOF
10651 #line 10652 "configure"
10652 #include "confdefs.h"
10653 /* Override any gcc2 internal prototype to avoid an error. */
10654 /* We use char because int might match the return type of a gcc2
10655 builtin and then its argument prototype would still apply. */
10656 char pthread_cancel();
10662 if { (eval echo configure
:10663: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10664 eval "ac_cv_lib_$ac_lib_var=yes"
10666 echo "configure: failed program was:" >&5
10667 cat conftest.
$ac_ext >&5
10669 eval "ac_cv_lib_$ac_lib_var=no"
10672 LIBS
="$ac_save_LIBS"
10675 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10676 echo "$ac_t""yes" 1>&6
10677 cat >> confdefs.h
<<\EOF
10678 #define HAVE_PTHREAD_CANCEL 1
10682 echo "$ac_t""no" 1>&6
10683 echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
10687 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
10688 echo "configure:10689: checking for pthread_cleanup_push/pop" >&5
10689 if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
10690 echo $ac_n "(cached) $ac_c" 1>&6
10693 cat > conftest.
$ac_ext <<EOF
10694 #line 10695 "configure"
10695 #include "confdefs.h"
10696 #include <pthread.h>
10699 pthread_cleanup_push(NULL, NULL);
10700 pthread_cleanup_pop(0);
10704 if { (eval echo configure
:10705: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10707 wx_cv_func_pthread_cleanup_push
=yes
10708 cat >> confdefs.h
<<\EOF
10709 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
10714 echo "configure: failed program was:" >&5
10715 cat conftest.
$ac_ext >&5
10718 wx_cv_func_pthread_cleanup_push
=no
10725 echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
10727 THREADS_LINK
="-l$THREADS_LINK"
10732 if test "$wxUSE_THREADS" = "yes"; then
10733 cat >> confdefs.h
<<\EOF
10734 #define wxUSE_THREADS 1
10738 CFLAGS
="${CFLAGS} -D_REENTRANT"
10739 CXXFLAGS
="${CXXFLAGS} -D_REENTRANT"
10741 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
10743 if test "$ac_cv_func_strtok_r" = "yes"; then
10744 echo $ac_n "checking if -D_REENTRANT is needed""... $ac_c" 1>&6
10745 echo "configure:10746: checking if -D_REENTRANT is needed" >&5
10746 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
10747 CFLAGS
="${CFLAGS} -D_REENTRANT"
10748 CXXFLAGS
="${CXXFLAGS} -D_REENTRANT"
10749 echo "$ac_t""yes" 1>&6
10751 echo "$ac_t""no" 1>&6
10756 if test "$WXGTK12" = 1 ; then
10757 cat >> confdefs.h
<<EOF
10758 #define __WXGTK12__ $WXGTK12
10763 if test "$WXWINE" = 1 ; then
10764 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WXWINE__"
10767 if test "$wxUSE_CYGWIN" = 1 ; then
10768 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WIN95__"
10773 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
10778 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
10779 wxUSE_DEBUG_INFO
=yes
10783 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
10784 cat >> confdefs.h
<<\EOF
10788 WXDEBUG_DEFINE
="-D__WXDEBUG__"
10790 if test "$wxUSE_GTK" = 1 ; then
10791 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
10795 if test "$wxUSE_MEM_TRACING" = "yes" ; then
10796 cat >> confdefs.h
<<\EOF
10797 #define wxUSE_MEMORY_TRACING 1
10800 cat >> confdefs.h
<<\EOF
10801 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
10804 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
10807 if test "$wxUSE_DMALLOC" = "yes" ; then
10808 DMALLOC_LINK
="-ldmalloc"
10812 if test "$wxUSE_PROFILE" = "yes" ; then
10817 if test "$GCC" = yes ; then
10818 if test "$wxUSE_NO_RTTI" = "yes" ; then
10819 WXDEBUG_DEFINE
="$WXDEBUG_DEFINE -fno-rtti"
10821 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
10822 WXDEBUG_DEFINE
="$WXDEBUG_DEFINE -fno-exceptions"
10824 if test "$wxUSE_PERMISSIVE" = "yes" ; then
10825 CFLAGS
="${CFLAGS} -fpermissive"
10826 CXXFLAGS
="${CXXFLAGS} -fpermissive"
10828 if test "$wxUSE_NO_DEPS" = "no" ; then
10829 DEP_INFO_FLAGS
="-MMD"
10834 CXXFLAGS
=`echo "${CXXFLAGS}" | sed "s/\-O.//g" `
10835 CFLAGS
=`echo "${CFLAGS}" | sed "s/\-O.//g" `
10836 if test "$wxUSE_OPTIMISE" = "no" ; then
10839 if test "$GCC" = yes ; then
10842 i586
-*-*|i686
-*-* )
10843 OPTIMISE
="${OPTIMISE} "
10853 if test "$wxUSE_ZLIB" = "yes" ; then
10854 cat >> confdefs.h
<<\EOF
10855 #define wxUSE_ZLIB 1
10858 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
10862 if test "$wxUSE_LIBPNG" = "yes" ; then
10863 cat >> confdefs.h
<<\EOF
10864 #define wxUSE_LIBPNG 1
10867 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
10868 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
10872 if test "$wxUSE_LIBJPEG" = "yes" ; then
10873 cat >> confdefs.h
<<\EOF
10874 #define wxUSE_LIBJPEG 1
10877 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
10880 if test "$wxUSE_OPENGL" = "yes"; then
10881 ac_safe
=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
10882 echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
10883 echo "configure:10884: checking for GL/gl.h" >&5
10884 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10885 echo $ac_n "(cached) $ac_c" 1>&6
10887 cat > conftest.
$ac_ext <<EOF
10888 #line 10889 "configure"
10889 #include "confdefs.h"
10892 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10893 { (eval echo configure
:10894: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10894 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10895 if test -z "$ac_err"; then
10897 eval "ac_cv_header_$ac_safe=yes"
10900 echo "configure: failed program was:" >&5
10901 cat conftest.
$ac_ext >&5
10903 eval "ac_cv_header_$ac_safe=no"
10907 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10908 echo "$ac_t""yes" 1>&6
10910 echo $ac_n "checking for glInitNames in -lGL""... $ac_c" 1>&6
10911 echo "configure:10912: checking for glInitNames in -lGL" >&5
10912 ac_lib_var
=`echo GL'_'glInitNames | sed 'y%./+-%__p_%'`
10913 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10914 echo $ac_n "(cached) $ac_c" 1>&6
10916 ac_save_LIBS
="$LIBS"
10917 LIBS
="-lGL wxUSE_OPENGL=0 $LIBS"
10918 cat > conftest.
$ac_ext <<EOF
10919 #line 10920 "configure"
10920 #include "confdefs.h"
10921 /* Override any gcc2 internal prototype to avoid an error. */
10922 /* We use char because int might match the return type of a gcc2
10923 builtin and then its argument prototype would still apply. */
10924 char glInitNames();
10930 if { (eval echo configure
:10931: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10932 eval "ac_cv_lib_$ac_lib_var=yes"
10934 echo "configure: failed program was:" >&5
10935 cat conftest.
$ac_ext >&5
10937 eval "ac_cv_lib_$ac_lib_var=no"
10940 LIBS
="$ac_save_LIBS"
10943 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10944 echo "$ac_t""yes" 1>&6
10947 cat >> confdefs.h
<<\EOF
10948 #define wxUSE_OPENGL 1
10951 UTILS_SUBDIRS
="$UTILS_SUBDIRS glcanvas/src"
10954 echo "$ac_t""no" 1>&6
10956 echo $ac_n "checking for glInitNames in -lMesaGL""... $ac_c" 1>&6
10957 echo "configure:10958: checking for glInitNames in -lMesaGL" >&5
10958 ac_lib_var
=`echo MesaGL'_'glInitNames | sed 'y%./+-%__p_%'`
10959 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10960 echo $ac_n "(cached) $ac_c" 1>&6
10962 ac_save_LIBS
="$LIBS"
10963 LIBS
="-lMesaGL $LIBS"
10964 cat > conftest.
$ac_ext <<EOF
10965 #line 10966 "configure"
10966 #include "confdefs.h"
10967 /* Override any gcc2 internal prototype to avoid an error. */
10968 /* We use char because int might match the return type of a gcc2
10969 builtin and then its argument prototype would still apply. */
10970 char glInitNames();
10976 if { (eval echo configure
:10977: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10978 eval "ac_cv_lib_$ac_lib_var=yes"
10980 echo "configure: failed program was:" >&5
10981 cat conftest.
$ac_ext >&5
10983 eval "ac_cv_lib_$ac_lib_var=no"
10986 LIBS
="$ac_save_LIBS"
10989 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10990 echo "$ac_t""yes" 1>&6
10992 OPENGL_LINK
="-lMesaGL"
10993 cat >> confdefs.h
<<\EOF
10994 #define wxUSE_OPENGL 1
10997 UTILS_SUBDIRS
="$UTILS_SUBDIRS glcanvas/src"
11000 echo "$ac_t""no" 1>&6
11009 echo "$ac_t""no" 1>&6
11016 if test "$wxUSE_GUI" = "yes"; then
11017 cat >> confdefs.h
<<\EOF
11018 #define wxUSE_GUI 1
11023 cat >> confdefs.h
<<\EOF
11024 #define wxUSE_NOGUI 1
11030 if test "$wxUSE_UNIX" = "yes"; then
11031 cat >> confdefs.h
<<\EOF
11032 #define wxUSE_UNIX 1
11038 if test "$wxUSE_APPLE_IEEE" = "yes"; then
11039 cat >> confdefs.h
<<\EOF
11040 #define wxUSE_APPLE_IEEE 1
11045 if test "$wxUSE_WAVE" = "yes"; then
11046 cat >> confdefs.h
<<\EOF
11047 #define wxUSE_WAVE 1
11052 if test "$wxUSE_FILE" = "yes"; then
11053 cat >> confdefs.h
<<\EOF
11054 #define wxUSE_FILE 1
11059 if test "$wxUSE_FS_INET" = "yes"; then
11060 cat >> confdefs.h
<<\EOF
11061 #define wxUSE_FS_INET 1
11066 if test "$wxUSE_FS_ZIP" = "yes"; then
11067 cat >> confdefs.h
<<\EOF
11068 #define wxUSE_FS_ZIP 1
11073 if test "$wxUSE_ZIPSTREAM" = "yes"; then
11074 cat >> confdefs.h
<<\EOF
11075 #define wxUSE_ZIPSTREAM 1
11080 if test "$wxUSE_BUSYINFO" = "yes"; then
11081 cat >> confdefs.h
<<\EOF
11082 #define wxUSE_BUSYINFO 1
11087 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
11088 cat >> confdefs.h
<<\EOF
11089 #define wxUSE_STD_IOSTREAM 1
11094 if test "$wxUSE_TEXTFILE" = "yes"; then
11095 if test "$wxUSE_FILE" != "yes"; then
11096 echo "configure: warning: wxTextFile requires wxFile and it won't be compiled without it" 1>&2
11098 cat >> confdefs.h
<<\EOF
11099 #define wxUSE_TEXTFILE 1
11105 if test "$wxUSE_CONFIG" = "yes" ; then
11106 if test "$wxUSE_TEXTFILE" != "yes"; then
11107 echo "configure: warning: wxConfig requires wxTextFile and it won't be compiled without it" 1>&2
11109 cat >> confdefs.h
<<\EOF
11110 #define wxUSE_CONFIG 1
11113 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
11117 if test "$wxUSE_INTL" = "yes" ; then
11118 if test "$wxUSE_FILE" != "yes"; then
11119 echo "configure: warning: I18n code requires wxFile and it won't be compiled without it" 1>&2
11121 cat >> confdefs.h
<<\EOF
11122 #define wxUSE_INTL 1
11125 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
11129 if test "$wxUSE_LOG" = "yes"; then
11130 cat >> confdefs.h
<<\EOF
11131 #define wxUSE_LOG 1
11136 if test "$wxUSE_LONGLONG" = "yes"; then
11137 cat >> confdefs.h
<<\EOF
11138 #define wxUSE_LONGLONG 1
11143 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
11144 cat >> confdefs.h
<<\EOF
11145 #define wxUSE_DIALUP_MANAGER 1
11148 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS nettest"
11151 if test "$wxUSE_STREAMS" = "yes" ; then
11152 cat >> confdefs.h
<<\EOF
11153 #define wxUSE_STREAMS 1
11158 if test "$wxUSE_SERIAL" = "yes" ; then
11159 cat >> confdefs.h
<<\EOF
11160 #define wxUSE_SERIAL 1
11166 if test "$wxUSE_TIMEDATE" = "yes"; then
11167 for ac_func
in localtime gettimeofday ftime
11169 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11170 echo "configure:11171: checking for $ac_func" >&5
11171 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11172 echo $ac_n "(cached) $ac_c" 1>&6
11174 cat > conftest.
$ac_ext <<EOF
11175 #line 11176 "configure"
11176 #include "confdefs.h"
11177 /* System header to define __stub macros and hopefully few prototypes,
11178 which can conflict with char $ac_func(); below. */
11179 #include <assert.h>
11180 /* Override any gcc2 internal prototype to avoid an error. */
11181 /* We use char because int might match the return type of a gcc2
11182 builtin and then its argument prototype would still apply. */
11188 /* The GNU C library defines this for functions which it implements
11189 to always fail with ENOSYS. Some functions are actually named
11190 something starting with __ and the normal name is an alias. */
11191 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11199 if { (eval echo configure
:11200: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11201 eval "ac_cv_func_$ac_func=yes"
11203 echo "configure: failed program was:" >&5
11204 cat conftest.
$ac_ext >&5
11206 eval "ac_cv_func_$ac_func=no"
11211 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11212 echo "$ac_t""yes" 1>&6
11213 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11214 cat >> confdefs.h
<<EOF
11215 #define $ac_tr_func 1
11219 echo "$ac_t""no" 1>&6
11224 if test "$ac_cv_func_localtime" = "yes"; then
11225 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
11226 echo "configure:11227: checking for tm_gmtoff in struct tm" >&5
11227 if eval "test \"`echo '$''{'wx_cv_struct_tm_has_gmtoff'+set}'`\" = set"; then
11228 echo $ac_n "(cached) $ac_c" 1>&6
11231 cat > conftest.
$ac_ext <<EOF
11232 #line 11233 "configure"
11233 #include "confdefs.h"
11244 if { (eval echo configure
:11245: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11247 wx_cv_struct_tm_has_gmtoff
=yes
11248 cat >> confdefs.h
<<\EOF
11249 #define WX_GMTOFF_IN_TM 1
11254 echo "configure: failed program was:" >&5
11255 cat conftest.
$ac_ext >&5
11257 wx_cv_struct_tm_has_gmtoff
=no
11264 echo "$ac_t""$wx_cv_struct_tm_has_gmtoff" 1>&6
11265 elif test "$ac_cv_func_gettimeofday" = "yes"; then
11266 echo $ac_n "checking whether gettimeofday takes two arguments""... $ac_c" 1>&6
11267 echo "configure:11268: checking whether gettimeofday takes two arguments" >&5
11268 if eval "test \"`echo '$''{'wx_cv_func_gettimeofday_has_2_args'+set}'`\" = set"; then
11269 echo $ac_n "(cached) $ac_c" 1>&6
11274 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11275 ac_cpp
='$CXXCPP $CPPFLAGS'
11276 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11277 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11278 cross_compiling
=$ac_cv_prog_cxx_cross
11281 cat > conftest.
$ac_ext <<EOF
11282 #line 11283 "configure"
11283 #include "confdefs.h"
11285 #include <sys/time.h>
11286 #include <unistd.h>
11291 struct timezone tz;
11292 gettimeofday(&tv, &tz);
11296 if { (eval echo configure
:11297: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11298 wx_cv_func_gettimeofday_has_2_args
=yes
11300 echo "configure: failed program was:" >&5
11301 cat conftest.
$ac_ext >&5
11303 cat > conftest.
$ac_ext <<EOF
11304 #line 11305 "configure"
11305 #include "confdefs.h"
11307 #include <sys/time.h>
11308 #include <unistd.h>
11317 if { (eval echo configure
:11318: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11319 wx_cv_func_gettimeofday_has_2_args
=no
11321 echo "configure: failed program was:" >&5
11322 cat conftest.
$ac_ext >&5
11324 wx_cv_func_gettimeofday_has_2_args
=unknown
11332 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11333 ac_cpp
='$CPP $CPPFLAGS'
11334 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11335 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11336 cross_compiling
=$ac_cv_prog_cc_cross
11341 echo "$ac_t""$wx_cv_func_gettimeofday_has_2_args" 1>&6
11343 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
11344 cat >> confdefs.h
<<\EOF
11345 #define WX_GETTIMEOFDAY_NO_TZ 1
11351 cat >> confdefs.h
<<\EOF
11352 #define wxUSE_TIMEDATE 1
11355 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
11359 if test "$wxUSE_SOCKETS" = "yes"; then
11360 echo $ac_n "checking for socket""... $ac_c" 1>&6
11361 echo "configure:11362: checking for socket" >&5
11362 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
11363 echo $ac_n "(cached) $ac_c" 1>&6
11365 cat > conftest.
$ac_ext <<EOF
11366 #line 11367 "configure"
11367 #include "confdefs.h"
11368 /* System header to define __stub macros and hopefully few prototypes,
11369 which can conflict with char socket(); below. */
11370 #include <assert.h>
11371 /* Override any gcc2 internal prototype to avoid an error. */
11372 /* We use char because int might match the return type of a gcc2
11373 builtin and then its argument prototype would still apply. */
11379 /* The GNU C library defines this for functions which it implements
11380 to always fail with ENOSYS. Some functions are actually named
11381 something starting with __ and the normal name is an alias. */
11382 #if defined (__stub_socket) || defined (__stub___socket)
11390 if { (eval echo configure
:11391: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11392 eval "ac_cv_func_socket=yes"
11394 echo "configure: failed program was:" >&5
11395 cat conftest.
$ac_ext >&5
11397 eval "ac_cv_func_socket=no"
11402 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
11403 echo "$ac_t""yes" 1>&6
11406 echo "$ac_t""no" 1>&6
11407 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
11408 echo "configure:11409: checking for socket in -lsocket" >&5
11409 ac_lib_var
=`echo socket'_'socket | sed 'y%./+-%__p_%'`
11410 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11411 echo $ac_n "(cached) $ac_c" 1>&6
11413 ac_save_LIBS
="$LIBS"
11414 LIBS
="-lsocket $LIBS"
11415 cat > conftest.
$ac_ext <<EOF
11416 #line 11417 "configure"
11417 #include "confdefs.h"
11418 /* Override any gcc2 internal prototype to avoid an error. */
11419 /* We use char because int might match the return type of a gcc2
11420 builtin and then its argument prototype would still apply. */
11427 if { (eval echo configure
:11428: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11429 eval "ac_cv_lib_$ac_lib_var=yes"
11431 echo "configure: failed program was:" >&5
11432 cat conftest.
$ac_ext >&5
11434 eval "ac_cv_lib_$ac_lib_var=no"
11437 LIBS
="$ac_save_LIBS"
11440 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11441 echo "$ac_t""yes" 1>&6
11442 INET_LINK
="$INET_LINK -lsocket"
11444 echo "$ac_t""no" 1>&6
11446 echo "configure: warning: socket library not found - sockets will be disabled" 1>&2
11457 if test "$wxUSE_SOCKETS" = "yes" ; then
11460 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11461 ac_cpp
='$CXXCPP $CPPFLAGS'
11462 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11463 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11464 cross_compiling
=$ac_cv_prog_cxx_cross
11466 echo $ac_n "checking the type of the third argument of getsockname""... $ac_c" 1>&6
11467 echo "configure:11468: checking the type of the third argument of getsockname" >&5
11468 cat > conftest.
$ac_ext <<EOF
11469 #line 11470 "configure"
11470 #include "confdefs.h"
11471 #include <sys/socket.h>
11473 socklen_t len; getsockname(0, 0, &len);
11476 if { (eval echo configure
:11477: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11478 cat >> confdefs.h
<<\EOF
11479 #define SOCKLEN_T socklen_t
11481 echo "$ac_t""socklen_t" 1>&6
11483 echo "configure: failed program was:" >&5
11484 cat conftest.
$ac_ext >&5
11486 cat > conftest.
$ac_ext <<EOF
11487 #line 11488 "configure"
11488 #include "confdefs.h"
11489 #include <sys/socket.h>
11491 size_t len; getsockname(0, 0, &len);
11494 if { (eval echo configure
:11495: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11496 cat >> confdefs.h
<<\EOF
11497 #define SOCKLEN_T size_t
11499 echo "$ac_t""size_t" 1>&6
11501 echo "configure: failed program was:" >&5
11502 cat conftest.
$ac_ext >&5
11504 cat > conftest.
$ac_ext <<EOF
11505 #line 11506 "configure"
11506 #include "confdefs.h"
11507 #include <sys/socket.h>
11509 int len; getsockname(0, 0, &len);
11512 if { (eval echo configure
:11513: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11514 cat >> confdefs.h
<<\EOF
11515 #define SOCKLEN_T int
11517 echo "$ac_t""int" 1>&6
11519 echo "configure: failed program was:" >&5
11520 cat conftest.
$ac_ext >&5
11522 echo "$ac_t""unknown" 1>&6
11533 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11534 ac_cpp
='$CPP $CPPFLAGS'
11535 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11536 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11537 cross_compiling
=$ac_cv_prog_cc_cross
11540 cat >> confdefs.h
<<\EOF
11541 #define wxUSE_SOCKETS 1
11544 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wxsocket"
11545 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS protocol"
11549 if test "$wxUSE_JOYSTICK" = 1; then
11550 for ac_hdr
in linux
/joystick.h
11552 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11553 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11554 echo "configure:11555: checking for $ac_hdr" >&5
11555 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11556 echo $ac_n "(cached) $ac_c" 1>&6
11558 cat > conftest.
$ac_ext <<EOF
11559 #line 11560 "configure"
11560 #include "confdefs.h"
11563 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11564 { (eval echo configure
:11565: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11565 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11566 if test -z "$ac_err"; then
11568 eval "ac_cv_header_$ac_safe=yes"
11571 echo "configure: failed program was:" >&5
11572 cat conftest.
$ac_ext >&5
11574 eval "ac_cv_header_$ac_safe=no"
11578 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11579 echo "$ac_t""yes" 1>&6
11580 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11581 cat >> confdefs.h
<<EOF
11582 #define $ac_tr_hdr 1
11586 echo "$ac_t""no" 1>&6
11590 if test "$ac_cv_header_linux_joystick_h" = "yes"; then
11591 cat >> confdefs.h
<<\EOF
11592 #define wxUSE_JOYSTICK 1
11595 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
11602 if test "$wxUSE_DYNLIB_CLASS" = "yes"; then
11603 for ac_func
in dlopen
11605 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11606 echo "configure:11607: checking for $ac_func" >&5
11607 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11608 echo $ac_n "(cached) $ac_c" 1>&6
11610 cat > conftest.
$ac_ext <<EOF
11611 #line 11612 "configure"
11612 #include "confdefs.h"
11613 /* System header to define __stub macros and hopefully few prototypes,
11614 which can conflict with char $ac_func(); below. */
11615 #include <assert.h>
11616 /* Override any gcc2 internal prototype to avoid an error. */
11617 /* We use char because int might match the return type of a gcc2
11618 builtin and then its argument prototype would still apply. */
11624 /* The GNU C library defines this for functions which it implements
11625 to always fail with ENOSYS. Some functions are actually named
11626 something starting with __ and the normal name is an alias. */
11627 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11635 if { (eval echo configure
:11636: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11637 eval "ac_cv_func_$ac_func=yes"
11639 echo "configure: failed program was:" >&5
11640 cat conftest.
$ac_ext >&5
11642 eval "ac_cv_func_$ac_func=no"
11647 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11648 echo "$ac_t""yes" 1>&6
11649 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11650 cat >> confdefs.h
<<EOF
11651 #define $ac_tr_func 1
11654 cat >> confdefs.h
<<\EOF
11655 #define HAVE_DLOPEN 1
11661 echo "$ac_t""no" 1>&6
11662 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
11663 echo "configure:11664: checking for dlopen in -ldl" >&5
11664 ac_lib_var
=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
11665 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11666 echo $ac_n "(cached) $ac_c" 1>&6
11668 ac_save_LIBS
="$LIBS"
11670 cat > conftest.
$ac_ext <<EOF
11671 #line 11672 "configure"
11672 #include "confdefs.h"
11673 /* Override any gcc2 internal prototype to avoid an error. */
11674 /* We use char because int might match the return type of a gcc2
11675 builtin and then its argument prototype would still apply. */
11682 if { (eval echo configure
:11683: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11684 eval "ac_cv_lib_$ac_lib_var=yes"
11686 echo "configure: failed program was:" >&5
11687 cat conftest.
$ac_ext >&5
11689 eval "ac_cv_lib_$ac_lib_var=no"
11692 LIBS
="$ac_save_LIBS"
11695 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11696 echo "$ac_t""yes" 1>&6
11698 cat >> confdefs.h
<<\EOF
11699 #define HAVE_DLOPEN 1
11706 echo "$ac_t""no" 1>&6
11708 for ac_func
in shl_load
11710 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11711 echo "configure:11712: checking for $ac_func" >&5
11712 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11713 echo $ac_n "(cached) $ac_c" 1>&6
11715 cat > conftest.
$ac_ext <<EOF
11716 #line 11717 "configure"
11717 #include "confdefs.h"
11718 /* System header to define __stub macros and hopefully few prototypes,
11719 which can conflict with char $ac_func(); below. */
11720 #include <assert.h>
11721 /* Override any gcc2 internal prototype to avoid an error. */
11722 /* We use char because int might match the return type of a gcc2
11723 builtin and then its argument prototype would still apply. */
11729 /* The GNU C library defines this for functions which it implements
11730 to always fail with ENOSYS. Some functions are actually named
11731 something starting with __ and the normal name is an alias. */
11732 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11740 if { (eval echo configure
:11741: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11742 eval "ac_cv_func_$ac_func=yes"
11744 echo "configure: failed program was:" >&5
11745 cat conftest.
$ac_ext >&5
11747 eval "ac_cv_func_$ac_func=no"
11752 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11753 echo "$ac_t""yes" 1>&6
11754 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11755 cat >> confdefs.h
<<EOF
11756 #define $ac_tr_func 1
11759 cat >> confdefs.h
<<\EOF
11760 #define HAVE_SHL_LOAD 1
11766 echo "$ac_t""no" 1>&6
11778 if test "$HAVE_DL_FUNCS" = 0; then
11779 if test "$HAVE_SHL_FUNCS" = 0; then
11780 if test "$USE_UNIX" = 1; then
11781 echo "configure: warning: "--with-dynlib and
--with-odbc will be disabled due to missing shared library support
"" 1>&2
11783 wxUSE_DYNLIB_CLASS
=no
11785 echo "configure: warning: "Cannot check dynlib requirements on non
-Unix platforms. dynlib remains enabled.
"" 1>&2
11791 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
11792 cat >> confdefs.h
<<\EOF
11793 #define wxUSE_DYNLIB_CLASS 1
11799 if test "$wxUSE_UNICODE" = "yes" ; then
11800 cat >> confdefs.h
<<\EOF
11801 #define wxUSE_UNICODE 1
11806 if test "$wxUSE_WCSRTOMBS" = "yes" ; then
11807 cat >> confdefs.h
<<\EOF
11808 #define wxUSE_WCSRTOMBS 1
11813 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
11814 cat >> confdefs.h
<<\EOF
11815 #define wxUSE_EXPERIMENTAL_PRINTF 1
11822 if test "$wxUSE_ODBC" = "yes" ; then
11823 cat >> confdefs.h
<<\EOF
11824 #define wxUSE_ODBC 1
11827 WXODBCFLAG
="-D_IODBC_"
11828 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
11829 IODBCOBJS
="\$(IODBC_OBJS)"
11835 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
11836 cat >> confdefs.h
<<\EOF
11837 #define wxUSE_POSTSCRIPT 1
11842 cat >> confdefs.h
<<\EOF
11843 #define wxUSE_AFM_FOR_POSTSCRIPT 1
11847 cat >> confdefs.h
<<\EOF
11848 #define wxUSE_NORMALIZED_PS_FONTS 1
11853 if test "$wxUSE_CONSTRAINTS" = "yes"; then
11854 cat >> confdefs.h
<<\EOF
11855 #define wxUSE_CONSTRAINTS 1
11858 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
11861 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
11862 cat >> confdefs.h
<<\EOF
11863 #define wxUSE_MDI_ARCHITECTURE 1
11866 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
11869 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
11870 cat >> confdefs.h
<<\EOF
11871 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
11874 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
11875 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
11876 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
11880 if test "$wxUSE_HELP" = "yes"; then
11881 cat >> confdefs.h
<<\EOF
11882 #define wxUSE_HELP 1
11885 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
11888 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
11889 if test "$wxUSE_CONSTRAINTS" != "yes"; then
11890 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
11892 cat >> confdefs.h
<<\EOF
11893 #define wxUSE_PRINTING_ARCHITECTURE 1
11897 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
11900 if test "$wxUSE_PROLOGIO" = "yes" ; then
11901 cat >> confdefs.h
<<\EOF
11902 #define wxUSE_PROLOGIO 1
11907 if test "$wxUSE_RESOURCES" = "yes" ; then
11908 if test "$wxUSE_PROLOGIO" = "yes" ; then
11909 cat >> confdefs.h
<<\EOF
11910 #define wxUSE_RESOURCES 1
11913 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS resource"
11915 echo "configure: warning: wxWindows ressource system requires PrologIO and can't be compiled without it." 1>&2
11919 if test "$wxUSE_X_RESOURCES" = "yes"; then
11920 cat >> confdefs.h
<<\EOF
11921 #define wxUSE_X_RESOURCES 1
11927 if test "$wxUSE_IPC" = "yes"; then
11928 cat >> confdefs.h
<<\EOF
11929 #define wxUSE_IPC 1
11934 if test "$wxUSE_CLIPBOARD" = "yes"; then
11935 cat >> confdefs.h
<<\EOF
11936 #define wxUSE_CLIPBOARD 1
11941 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
11942 if test "$wxUSE_GTK" = 1; then
11943 if test "$WXGTK12" != 1; then
11944 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2" 1>&2
11945 wxUSE_DRAG_AND_DROP
=no
11949 if test "$wxUSE_MOTIF" = 1; then
11950 echo "configure: warning: Drag and drop is not yet supported under Motif" 1>&2
11951 wxUSE_DRAG_AND_DROP
=no
11954 if test "$USE_WIN32" = 1; then
11955 for ac_hdr
in ole2.h
11957 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11958 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11959 echo "configure:11960: checking for $ac_hdr" >&5
11960 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11961 echo $ac_n "(cached) $ac_c" 1>&6
11963 cat > conftest.
$ac_ext <<EOF
11964 #line 11965 "configure"
11965 #include "confdefs.h"
11968 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11969 { (eval echo configure
:11970: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11970 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11971 if test -z "$ac_err"; then
11973 eval "ac_cv_header_$ac_safe=yes"
11976 echo "configure: failed program was:" >&5
11977 cat conftest.
$ac_ext >&5
11979 eval "ac_cv_header_$ac_safe=no"
11983 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11984 echo "$ac_t""yes" 1>&6
11985 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11986 cat >> confdefs.h
<<EOF
11987 #define $ac_tr_hdr 1
11991 echo "$ac_t""no" 1>&6
11995 if test "x$HAVE_OLE2_H" = x
; then
11996 echo "configure: warning: Drag and drop disabled because OLE headers not found" 1>&2
11997 wxUSE_DRAG_AND_DROP
=no
12001 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
12002 cat >> confdefs.h
<<\EOF
12003 #define wxUSE_DRAG_AND_DROP 1
12006 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
12011 if test "$wxUSE_SPLINES" = "yes" ; then
12012 cat >> confdefs.h
<<\EOF
12013 #define wxUSE_SPLINES 1
12019 if test "$wxUSE_ACCEL" = "yes"; then
12020 cat >> confdefs.h
<<\EOF
12021 #define wxUSE_ACCEL 1
12026 if test "$wxUSE_CARET" = "yes"; then
12027 cat >> confdefs.h
<<\EOF
12028 #define wxUSE_CARET 1
12031 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
12034 if test "$wxUSE_COMBOBOX" = "yes"; then
12035 cat >> confdefs.h
<<\EOF
12036 #define wxUSE_COMBOBOX 1
12041 if test "$wxUSE_CHOICE" = "yes"; then
12042 cat >> confdefs.h
<<\EOF
12043 #define wxUSE_CHOICE 1
12048 if test "$wxUSE_BMPBUTTON" = "yes"; then
12049 cat >> confdefs.h
<<\EOF
12050 #define wxUSE_BMPBUTTON 1
12055 if test "$wxUSE_CHECKBOX" = "yes"; then
12056 cat >> confdefs.h
<<\EOF
12057 #define wxUSE_CHECKBOX 1
12062 if test "$wxUSE_CHECKLST" = "yes"; then
12063 cat >> confdefs.h
<<\EOF
12064 #define wxUSE_CHECKLISTBOX 1
12067 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
12070 if test "$wxUSE_GAUGE" = "yes"; then
12071 cat >> confdefs.h
<<\EOF
12072 #define wxUSE_GAUGE 1
12077 if test "$wxUSE_GRID" = "yes"; then
12078 cat >> confdefs.h
<<\EOF
12079 #define wxUSE_GRID 1
12082 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
12085 if test "$wxUSE_NEW_GRID" = "yes"; then
12086 cat >> confdefs.h
<<\EOF
12087 #define wxUSE_NEW_GRID 1
12090 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS newgrid"
12093 if test "$wxUSE_IMAGLIST" = "yes"; then
12094 cat >> confdefs.h
<<\EOF
12095 #define wxUSE_IMAGLIST 1
12100 if test "$wxUSE_LISTBOX" = "yes"; then
12101 cat >> confdefs.h
<<\EOF
12102 #define wxUSE_LISTBOX 1
12107 if test "$wxUSE_LISTCTRL" = "yes"; then
12108 if test "$wxUSE_IMAGLIST" = "yes"; then
12109 cat >> confdefs.h
<<\EOF
12110 #define wxUSE_LISTCTRL 1
12113 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
12115 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
12119 if test "$wxUSE_NOTEBOOK" = "yes"; then
12120 cat >> confdefs.h
<<\EOF
12121 #define wxUSE_NOTEBOOK 1
12124 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
12127 if test "$wxUSE_RADIOBOX" = "yes"; then
12128 cat >> confdefs.h
<<\EOF
12129 #define wxUSE_RADIOBOX 1
12134 if test "$wxUSE_RADIOBTN" = "yes"; then
12135 cat >> confdefs.h
<<\EOF
12136 #define wxUSE_RADIOBTN 1
12141 if test "$wxUSE_SASH" = "yes"; then
12142 cat >> confdefs.h
<<\EOF
12143 #define wxUSE_SASH 1
12146 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
12149 if test "$wxUSE_SCROLLBAR" = "yes"; then
12150 cat >> confdefs.h
<<\EOF
12151 #define wxUSE_SCROLLBAR 1
12154 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
12157 if test "$wxUSE_SLIDER" = "yes"; then
12158 cat >> confdefs.h
<<\EOF
12159 #define wxUSE_SLIDER 1
12164 if test "$wxUSE_SPINBTN" = "yes"; then
12165 cat >> confdefs.h
<<\EOF
12166 #define wxUSE_SPINBTN 1
12171 if test "$wxUSE_SPINCTRL" = "yes"; then
12172 cat >> confdefs.h
<<\EOF
12173 #define wxUSE_SPINCTRL 1
12178 if test "$wxUSE_SPLITTER" = "yes"; then
12179 cat >> confdefs.h
<<\EOF
12180 #define wxUSE_SPLITTER 1
12183 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
12186 if test "$wxUSE_STATBMP" = "yes"; then
12187 cat >> confdefs.h
<<\EOF
12188 #define wxUSE_STATBMP 1
12193 if test "$wxUSE_STATBOX" = "yes"; then
12194 cat >> confdefs.h
<<\EOF
12195 #define wxUSE_STATBOX 1
12200 if test "$wxUSE_STATLINE" = "yes"; then
12201 if test "$wxUSE_WINE" = 1 ; then
12202 echo "configure: warning: wxStaticLine is not supported under WINE" 1>&2
12204 cat >> confdefs.h
<<\EOF
12205 #define wxUSE_STATLINE 1
12211 if test "$wxUSE_STATUSBAR" = "yes"; then
12212 cat >> confdefs.h
<<\EOF
12213 #define wxUSE_STATUSBAR 1
12218 if test "$wxUSE_TABDIALOG" = "yes"; then
12219 cat >> confdefs.h
<<\EOF
12220 #define wxUSE_TAB_DIALOG 1
12223 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
12226 if test "$wxUSE_TOOLBAR" = "yes"; then
12227 cat >> confdefs.h
<<\EOF
12228 #define wxUSE_TOOLBAR 1
12231 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
12234 if test "$wxUSE_TOOLTIPS" = "yes"; then
12235 if test "$wxUSE_MOTIF" = 1; then
12236 echo "configure: warning: wxTooltip not supported yet under Motif" 1>&2
12238 if test "$wxUSE_WINE" = 1; then
12239 echo "configure: warning: wxTooltip not supported under WINE" 1>&2
12241 cat >> confdefs.h
<<\EOF
12242 #define wxUSE_TOOLTIPS 1
12249 if test "$wxUSE_TREECTRL" = "yes"; then
12250 if test "$wxUSE_IMAGLIST" = "yes"; then
12251 cat >> confdefs.h
<<\EOF
12252 #define wxUSE_TREECTRL 1
12255 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
12257 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
12263 if test "$wxUSE_METAFILE" = "yes"; then
12264 cat >> confdefs.h
<<\EOF
12265 #define wxUSE_METAFILE 1
12270 if test "$wxUSE_DIRDLG" = "yes"; then
12271 if test "$wxUSE_CONSTRAINTS" != "yes"; then
12272 echo "configure: warning: wxDirDialog requires constraints so it won't be compiled without them" 1>&2
12274 if test "$wxUSE_TREECTRL" != "yes"; then
12275 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
12277 cat >> confdefs.h
<<\EOF
12278 #define wxUSE_DIRDLG 1
12285 if test "$wxUSE_TEXTDLG" = "yes"; then
12286 cat >> confdefs.h
<<\EOF
12287 #define wxUSE_TEXTDLG 1
12292 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
12293 if test "$wxUSE_CONSTRAINTS" != "yes"; then
12294 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
12296 cat >> confdefs.h
<<\EOF
12297 #define wxUSE_STARTUP_TIPS 1
12303 if test "$wxUSE_PROGRESSDLG" = "yes"; then
12304 if test "$wxUSE_CONSTRAINTS" != "yes"; then
12305 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
12307 cat >> confdefs.h
<<\EOF
12308 #define wxUSE_PROGRESSDLG 1
12314 if test "$wxUSE_MINIFRAME" = "yes"; then
12315 cat >> confdefs.h
<<\EOF
12316 #define wxUSE_MINIFRAME 1
12319 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
12322 if test "$wxUSE_HTML" = "yes"; then
12323 cat >> confdefs.h
<<\EOF
12324 #define wxUSE_HTML 1
12327 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html"
12328 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS html"
12331 if test "$wxUSE_VALIDATORS" = "yes"; then
12332 cat >> confdefs.h
<<\EOF
12333 #define wxUSE_VALIDATORS 1
12336 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
12339 if test "$wxUSE_GIF" = "yes" ; then
12340 cat >> confdefs.h
<<\EOF
12341 #define wxUSE_GIF 1
12346 if test "$wxUSE_PCX" = "yes" ; then
12347 cat >> confdefs.h
<<\EOF
12348 #define wxUSE_PCX 1
12353 if test "$wxUSE_PNM" = "yes" ; then
12354 cat >> confdefs.h
<<\EOF
12355 #define wxUSE_PNM 1
12361 GUILIBS
="$GUI_TK_LIBRARY $OPENGL_LINK $LIBPNG_LINK $ZLIB_LINK $TOOLKIT_LINK"
12363 EXTRA_LIBS
="$LIBS $POSIX4_LINK $INET_LINK $WCHAR_LINK $THREADS_LINK $DMALLOC_LINK $DL_LINK"
12364 if test "$wxUSE_GUI" = "yes"; then
12365 EXTRA_LIBS
="$EXTRA_LIBS $GUILIBS"
12368 LD_LIBS
="\${top_builddir}/lib/${WX_LIBRARY_NAME_STATIC} $EXTRA_LIBS"
12370 INCLUDES
="-I. -I\${top_builddir}/include -I\${top_srcdir}/include $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TOOLKIT_INCLUDE"
12372 if test "$GXX" = yes ; then
12373 CXXWARNINGS
="-Wall"
12375 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE $INCLUDES"
12377 CFLAGS
=`echo $CFLAGS $EXTRA_CFLAGS | sed 's/ \\+/ /g'`
12378 CXXFLAGS
=`echo $CXXFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
12380 if test "$wxUSE_GUI" = "yes"; then
12382 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS bombs controls dialogs drawing dynamic \
12383 font forty fractal image minimal richedit wxpoem"
12388 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '`"
12443 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
12444 echo "configure:12445: checking whether ${MAKE-make} sets \${MAKE}" >&5
12445 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
12446 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
12447 echo $ac_n "(cached) $ac_c" 1>&6
12449 cat > conftestmake
<<\EOF
12451 @
echo 'ac_maketemp="${MAKE}"'
12453 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
12454 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
12455 if test -n "$ac_maketemp"; then
12456 eval ac_cv_prog_make_
${ac_make}_set
=yes
12458 eval ac_cv_prog_make_
${ac_make}_set
=no
12462 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
12463 echo "$ac_t""yes" 1>&6
12466 echo "$ac_t""no" 1>&6
12467 SET_MAKE
="MAKE=${MAKE-make}"
12473 if test "${TOOLKIT_DIR}" = "msw" ; then
12474 GL_TOOLKIT_DIR
="win"
12476 GL_TOOLKIT_DIR
="${TOOLKIT_DIR}"
12481 cat > confcache
<<\EOF
12482 # This file is a shell script that caches the results of configure
12483 # tests run on this system so they can be shared between configure
12484 # scripts and configure runs. It is not useful on other systems.
12485 # If it contains results you don't want to keep, you may remove or edit it.
12487 # By default, configure uses ./config.cache as the cache file,
12488 # creating it if it does not exist already. You can give configure
12489 # the --cache-file=FILE option to use a different cache file; that is
12490 # what configure does when it calls configure scripts in
12491 # subdirectories, so they share the cache.
12492 # Giving --cache-file=/dev/null disables caching, for debugging configure.
12493 # config.status only pays attention to the cache file if you give it the
12494 # --recheck option to rerun configure.
12497 # The following way of writing the cache mishandles newlines in values,
12498 # but we know of no workaround that is simple, portable, and efficient.
12499 # So, don't put newlines in cache variables' values.
12500 # Ultrix sh set writes to stderr and can't be redirected directly,
12501 # and sets the high bit in the cache file unless we assign to the vars.
12503 case `(ac_space=' '; set | grep ac_space) 2>&1` in
12505 # `set' does not quote correctly, so add quotes (double-quote substitution
12506 # turns \\\\ into \\, and sed turns \\ into \).
12508 -e "s/'/'\\\\''/g" \
12509 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
12512 # `set' quotes correctly as required by POSIX, so do not add quotes.
12513 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
12516 if cmp -s $cache_file confcache
; then
12519 if test -w $cache_file; then
12520 echo "updating cache $cache_file"
12521 cat confcache
> $cache_file
12523 echo "not updating unwritable cache $cache_file"
12528 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
12530 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
12531 # Let make expand exec_prefix.
12532 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
12534 # Any assignment to VPATH causes Sun make to only execute
12535 # the first set of double-colon rules, so remove it if not needed.
12536 # If there is a colon in the path, we need to keep it.
12537 if test "x$srcdir" = x.
; then
12538 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
12541 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
12543 DEFS
=-DHAVE_CONFIG_H
12545 # Without the "./", some shells look in PATH for config.status.
12546 : ${CONFIG_STATUS=./config.status}
12548 echo creating
$CONFIG_STATUS
12549 rm -f $CONFIG_STATUS
12550 cat > $CONFIG_STATUS <<EOF
12552 # Generated automatically by configure.
12553 # Run this file to recreate the current configuration.
12554 # This directory was configured as follows,
12555 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
12557 # $0 $ac_configure_args
12559 # Compiler output produced by configure, useful for debugging
12560 # configure, is in ./config.log if it exists.
12562 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
12565 case "\$ac_option" in
12566 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
12567 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
12568 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
12569 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
12570 echo "$CONFIG_STATUS generated by autoconf version 2.14"
12572 -help | --help | --hel | --he | --h)
12573 echo "\$ac_cs_usage"; exit 0 ;;
12574 *) echo "\$ac_cs_usage"; exit 1 ;;
12578 ac_given_srcdir=$srcdir
12579 ac_given_INSTALL="$INSTALL"
12581 trap 'rm -fr `echo "
12588 samples/bombs/Makefile
12589 samples/caret/Makefile
12590 samples/checklst/Makefile
12591 samples/config/Makefile
12592 samples/controls/Makefile
12593 samples/db/Makefile
12594 samples/dialogs/Makefile
12595 samples/docview/Makefile
12596 samples/docvwmdi/Makefile
12597 samples/dnd/Makefile
12598 samples/drawing/Makefile
12599 samples/forty/Makefile
12600 samples/font/Makefile
12601 samples/fractal/Makefile
12602 samples/image/Makefile
12603 samples/internat/Makefile
12604 samples/layout/Makefile
12605 samples/listctrl/Makefile
12606 samples/mdi/Makefile
12607 samples/minifram/Makefile
12608 samples/minimal/Makefile
12609 samples/nettest/Makefile
12610 samples/newgrid/Makefile
12611 samples/notebook/Makefile
12612 samples/png/Makefile
12613 samples/printing/Makefile
12614 samples/proplist/Makefile
12615 samples/richedit/Makefile
12616 samples/resource/Makefile
12617 samples/sashtest/Makefile
12618 samples/scroll/Makefile
12619 samples/scrollsub/Makefile
12620 samples/splitter/Makefile
12621 samples/text/Makefile
12622 samples/thread/Makefile
12623 samples/toolbar/Makefile
12624 samples/treectrl/Makefile
12625 samples/typetest/Makefile
12626 samples/validate/Makefile
12627 samples/wxpoem/Makefile
12628 samples/wxsocket/Makefile
12629 samples/wizard/Makefile
12630 samples/html/Makefile
12631 samples/html/about/Makefile
12632 samples/html/help/Makefile
12633 samples/html/printing/Makefile
12634 samples/html/helpview/Makefile
12635 samples/html/test/Makefile
12636 samples/html/zip/Makefile
12637 samples/html/virtual/Makefile
12638 samples/html/widget/Makefile
12640 utils/wxMMedia2/Makefile
12641 utils/wxMMedia2/lib/Makefile
12642 utils/wxMMedia2/sample/Makefile
12643 utils/glcanvas/Makefile
12644 utils/glcanvas/${GL_TOOLKIT_DIR}/Makefile
12646 utils/ogl/src/Makefile
12647 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
12649 cat >> $CONFIG_STATUS <<EOF
12651 # Protect against being on the right side of a sed subst in config.status.
12652 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
12653 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
12657 s%@CFLAGS@%$CFLAGS%g
12658 s%@CPPFLAGS@%$CPPFLAGS%g
12659 s%@CXXFLAGS@%$CXXFLAGS%g
12660 s%@FFLAGS@%$FFLAGS%g
12662 s%@LDFLAGS@%$LDFLAGS%g
12664 s%@exec_prefix@%$exec_prefix%g
12665 s%@prefix@%$prefix%g
12666 s%@program_transform_name@%$program_transform_name%g
12667 s%@bindir@%$bindir%g
12668 s%@sbindir@%$sbindir%g
12669 s%@libexecdir@%$libexecdir%g
12670 s%@datadir@%$datadir%g
12671 s%@sysconfdir@%$sysconfdir%g
12672 s%@sharedstatedir@%$sharedstatedir%g
12673 s%@localstatedir@%$localstatedir%g
12674 s%@libdir@%$libdir%g
12675 s%@includedir@%$includedir%g
12676 s%@oldincludedir@%$oldincludedir%g
12677 s%@infodir@%$infodir%g
12678 s%@mandir@%$mandir%g
12680 s%@host_alias@%$host_alias%g
12681 s%@host_cpu@%$host_cpu%g
12682 s%@host_vendor@%$host_vendor%g
12683 s%@host_os@%$host_os%g
12684 s%@target@%$target%g
12685 s%@target_alias@%$target_alias%g
12686 s%@target_cpu@%$target_cpu%g
12687 s%@target_vendor@%$target_vendor%g
12688 s%@target_os@%$target_os%g
12690 s%@build_alias@%$build_alias%g
12691 s%@build_cpu@%$build_cpu%g
12692 s%@build_vendor@%$build_vendor%g
12693 s%@build_os@%$build_os%g
12697 s%@CXXCPP@%$CXXCPP%g
12698 s%@RANLIB@%$RANLIB%g
12700 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
12701 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
12702 s%@INSTALL_DATA@%$INSTALL_DATA%g
12706 s%@LEXLIB@%$LEXLIB%g
12708 s%@GTK_CONFIG@%$GTK_CONFIG%g
12709 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
12710 s%@GTK_LIBS@%$GTK_LIBS%g
12711 s%@X_CFLAGS@%$X_CFLAGS%g
12712 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
12713 s%@X_LIBS@%$X_LIBS%g
12714 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
12715 s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
12716 s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
12717 s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
12718 s%@WX_LIBRARY_NAME@%$WX_LIBRARY_NAME%g
12719 s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
12720 s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
12721 s%@WX_LIBRARY@%$WX_LIBRARY%g
12722 s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
12723 s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
12724 s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
12725 s%@WX_LIBRARY_LINK3@%$WX_LIBRARY_LINK3%g
12726 s%@PROGRAM_EXT@%$PROGRAM_EXT%g
12727 s%@WX_ALL@%$WX_ALL%g
12728 s%@WX_ALL_INSTALLED@%$WX_ALL_INSTALLED%g
12729 s%@SHARED_LD@%$SHARED_LD%g
12730 s%@PIC_FLAG@%$PIC_FLAG%g
12731 s%@DEP_INFO_FLAGS@%$DEP_INFO_FLAGS%g
12732 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
12733 s%@TOOLKIT@%$TOOLKIT%g
12734 s%@TOOLKIT_DEF@%$TOOLKIT_DEF%g
12735 s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
12736 s%@TOOLKIT_INCLUDE@%$TOOLKIT_INCLUDE%g
12737 s%@GUIHEADERS@%$GUIHEADERS%g
12738 s%@GUIOBJS@%$GUIOBJS%g
12739 s%@COMMONOBJS@%$COMMONOBJS%g
12740 s%@GENERICOBJS@%$GENERICOBJS%g
12741 s%@GUIDEPS@%$GUIDEPS%g
12742 s%@COMMONDEPS@%$COMMONDEPS%g
12743 s%@GENERICDEPS@%$GENERICDEPS%g
12744 s%@IODBCOBJS@%$IODBCOBJS%g
12745 s%@UNIXOBJS@%$UNIXOBJS%g
12746 s%@UNIXDEPS@%$UNIXDEPS%g
12747 s%@ALL_OBJECTS@%$ALL_OBJECTS%g
12748 s%@ALL_DEPFILES@%$ALL_DEPFILES%g
12749 s%@ALL_HEADERS@%$ALL_HEADERS%g
12750 s%@GUIDIST@%$GUIDIST%g
12751 s%@SRC_SUBDIRS@%$SRC_SUBDIRS%g
12752 s%@INCLUDE_SUBDIRS@%$INCLUDE_SUBDIRS%g
12753 s%@UTILS_SUBDIRS@%$UTILS_SUBDIRS%g
12754 s%@DOCS_SUBDIRS@%$DOCS_SUBDIRS%g
12755 s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
12756 s%@USER_SUBDIRS@%$USER_SUBDIRS%g
12757 s%@EXTRA_LIBS@%$EXTRA_LIBS%g
12758 s%@LD_LIBS@%$LD_LIBS%g
12759 s%@SET_MAKE@%$SET_MAKE%g
12760 s%@GL_TOOLKIT_DIR@%$GL_TOOLKIT_DIR%g
12765 cat >> $CONFIG_STATUS <<\EOF
12767 # Split the substitutions into bite-sized pieces for seds with
12768 # small command number limits, like on Digital OSF/1 and HP-UX.
12769 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
12770 ac_file
=1 # Number of current file.
12771 ac_beg
=1 # First line for current file.
12772 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
12775 while $ac_more_lines; do
12776 if test $ac_beg -gt 1; then
12777 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
12779 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
12781 if test ! -s conftest.s
$ac_file; then
12782 ac_more_lines
=false
12783 rm -f conftest.s
$ac_file
12785 if test -z "$ac_sed_cmds"; then
12786 ac_sed_cmds
="sed -f conftest.s$ac_file"
12788 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
12790 ac_file
=`expr $ac_file + 1`
12792 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
12795 if test -z "$ac_sed_cmds"; then
12800 cat >> $CONFIG_STATUS <<EOF
12802 CONFIG_FILES=\${CONFIG_FILES-"wx-config
12808 samples/bombs/Makefile
12809 samples/caret/Makefile
12810 samples/checklst/Makefile
12811 samples/config/Makefile
12812 samples/controls/Makefile
12813 samples/db/Makefile
12814 samples/dialogs/Makefile
12815 samples/docview/Makefile
12816 samples/docvwmdi/Makefile
12817 samples/dnd/Makefile
12818 samples/drawing/Makefile
12819 samples/forty/Makefile
12820 samples/font/Makefile
12821 samples/fractal/Makefile
12822 samples/image/Makefile
12823 samples/internat/Makefile
12824 samples/layout/Makefile
12825 samples/listctrl/Makefile
12826 samples/mdi/Makefile
12827 samples/minifram/Makefile
12828 samples/minimal/Makefile
12829 samples/nettest/Makefile
12830 samples/newgrid/Makefile
12831 samples/notebook/Makefile
12832 samples/png/Makefile
12833 samples/printing/Makefile
12834 samples/proplist/Makefile
12835 samples/richedit/Makefile
12836 samples/resource/Makefile
12837 samples/sashtest/Makefile
12838 samples/scroll/Makefile
12839 samples/scrollsub/Makefile
12840 samples/splitter/Makefile
12841 samples/text/Makefile
12842 samples/thread/Makefile
12843 samples/toolbar/Makefile
12844 samples/treectrl/Makefile
12845 samples/typetest/Makefile
12846 samples/validate/Makefile
12847 samples/wxpoem/Makefile
12848 samples/wxsocket/Makefile
12849 samples/wizard/Makefile
12850 samples/html/Makefile
12851 samples/html/about/Makefile
12852 samples/html/help/Makefile
12853 samples/html/printing/Makefile
12854 samples/html/helpview/Makefile
12855 samples/html/test/Makefile
12856 samples/html/zip/Makefile
12857 samples/html/virtual/Makefile
12858 samples/html/widget/Makefile
12860 utils/wxMMedia2/Makefile
12861 utils/wxMMedia2/lib/Makefile
12862 utils/wxMMedia2/sample/Makefile
12863 utils/glcanvas/Makefile
12864 utils/glcanvas/${GL_TOOLKIT_DIR}/Makefile
12866 utils/ogl/src/Makefile
12869 cat >> $CONFIG_STATUS <<\EOF
12870 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
12871 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
12873 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
12874 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
12875 *) ac_file_in
="${ac_file}.in" ;;
12878 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
12880 # Remove last slash and all that follows it. Not all systems have dirname.
12881 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
12882 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
12883 # The file is in a subdirectory.
12884 test ! -d "$ac_dir" && mkdir "$ac_dir"
12885 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
12886 # A "../" for each directory in $ac_dir_suffix.
12887 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
12889 ac_dir_suffix
= ac_dots
=
12892 case "$ac_given_srcdir" in
12894 if test -z "$ac_dots"; then top_srcdir
=.
12895 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
12896 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
12897 *) # Relative path.
12898 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
12899 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
12902 case "$ac_given_INSTALL" in
12903 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
12904 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
12907 echo creating
"$ac_file"
12909 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
12911 *Makefile
*) ac_comsub
="1i\\
12912 # $configure_input" ;;
12916 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
12918 s%@configure_input@%$configure_input%g
12919 s%@srcdir@%$srcdir%g
12920 s%@top_srcdir@%$top_srcdir%g
12921 s%@INSTALL@%$INSTALL%g
12922 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
12926 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
12927 # NAME is the cpp macro being defined and VALUE is the value it is being given.
12929 # ac_d sets the value in "#define NAME VALUE" lines.
12930 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
12931 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
12934 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
12935 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
12936 ac_uB
='\([ ]\)%\1#\2define\3'
12939 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
12940 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
12941 ac_eB
='$%\1#\2define\3'
12945 if test "${CONFIG_HEADERS+set}" != set; then
12947 cat >> $CONFIG_STATUS <<EOF
12948 CONFIG_HEADERS="setup.h:setup.h.in"
12950 cat >> $CONFIG_STATUS <<\EOF
12952 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
12953 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
12955 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
12956 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
12957 *) ac_file_in
="${ac_file}.in" ;;
12960 echo creating
$ac_file
12962 rm -f conftest.frag conftest.
in conftest.out
12963 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
12964 cat $ac_file_inputs > conftest.
in
12968 # Transform confdefs.h into a sed script conftest.vals that substitutes
12969 # the proper values into config.h.in to produce config.h. And first:
12970 # Protect against being on the right side of a sed subst in config.status.
12971 # Protect against being in an unquoted here document in config.status.
12972 rm -f conftest.vals
12973 cat > conftest.hdr
<<\EOF
12976 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
12980 sed -n -f conftest.hdr confdefs.h > conftest.vals
12983 # This sed command replaces #undef with comments. This is necessary, for
12984 # example, in the case of _POSIX_SOURCE, which is predefined and required
12985 # on some systems where configure will not decide to define it.
12986 cat >> conftest.vals <<\EOF
12987 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
12990 # Break up conftest.vals because some shells have a limit on
12991 # the size of here documents, and old seds have small limits too.
12993 rm -f conftest.tail
12996 ac_lines=`grep -c . conftest.vals
`
12997 # grep -c gives empty output for an empty file on some AIX systems.
12998 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
12999 # Write a limited-size here document to conftest.frag.
13000 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
13001 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
13003 sed -f conftest.frag conftest.in > conftest.out
13005 mv conftest.out conftest.in
13006 ' >> $CONFIG_STATUS
13007 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
13008 rm -f conftest.vals
13009 mv conftest.tail conftest.vals
13011 rm -f conftest.vals
13013 cat >> $CONFIG_STATUS <<\EOF
13014 rm -f conftest.frag conftest.h
13015 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
13016 cat conftest.in >> conftest.h
13018 if cmp -s $ac_file conftest.h 2>/dev/null; then
13019 echo "$ac_file is unchanged"
13022 # Remove last slash and all that follows it. Not all systems have dirname.
13023 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
13024 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
13025 # The file is in a subdirectory.
13026 test ! -d "$ac_dir" && mkdir "$ac_dir"
13029 mv conftest.h $ac_file
13034 cat >> $CONFIG_STATUS <<EOF
13036 TOOLKIT_DIR="${TOOLKIT_DIR}"
13040 cat >> $CONFIG_STATUS <<\EOF
13043 if test ! -d include; then
13046 if test ! -d include/wx; then
13049 if test ! -d include/wx/${TOOLKIT_DIR}; then
13050 mkdir include/wx/${TOOLKIT_DIR}
13052 if test -f setup.h; then
13053 mv -f setup.h include/wx/${TOOLKIT_DIR}/setup.h
13058 chmod +x $CONFIG_STATUS
13059 rm -fr confdefs* $ac_clean_files
13060 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1