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-splitter use wxSplitterWindow class"
224 --enable-statbmp use wxStaticBitmap class"
226 --enable-statbox use wxStaticBox class"
228 --enable-statline use wxStaticLine class"
230 --enable-statusbar use wxStatusBar class"
232 --enable-tabdialog use wxTabControl class"
234 --enable-toolbar use wxToolBar class"
236 --enable-treectrl use wxTreeCtrl class"
238 --enable-commondlg use common dialogs (wxDirDialog, wxProgressDialog, wxTextDialog, ...)"
240 --enable-dirdlg use wxDirDialog"
242 --enable-textdlg use wxTextDialog"
244 --enable-tipdlg use startup tips"
246 --enable-progressdlg use wxProgressDialog"
248 --enable-miniframe use wxMiniFrame class"
250 --enable-html use wxHTML sub-library"
252 --enable-tooltips use wxToolTip class"
254 --enable-splines use spline drawing code"
256 --enable-validators use wxValidator and derived classes"
258 --enable-busyinfo use wxBusyInfo"
260 --enable-gif use gif images (GIF file format)"
262 --enable-pcx use pcx images (PCX file format)"
264 --enable-pnm use pnm images (PNM file format)"
266 --with-x use the X Window System"
268 # Initialize some variables set by options.
269 # The variables have the same names as the options, with
270 # dashes changed to underlines.
272 cache_file
=.
/config.cache
281 program_transform_name
=s
,x
,x
,
289 bindir
='${exec_prefix}/bin'
290 sbindir
='${exec_prefix}/sbin'
291 libexecdir
='${exec_prefix}/libexec'
292 datadir
='${prefix}/share'
293 sysconfdir
='${prefix}/etc'
294 sharedstatedir
='${prefix}/com'
295 localstatedir
='${prefix}/var'
296 libdir
='${exec_prefix}/lib'
297 includedir
='${prefix}/include'
298 oldincludedir
='/usr/include'
299 infodir
='${prefix}/info'
300 mandir
='${prefix}/man'
302 # Initialize some other variables.
305 SHELL
=${CONFIG_SHELL-/bin/sh}
306 # Maximum number of lines to put in a shell here document.
313 # If the previous option needs an argument, assign it.
314 if test -n "$ac_prev"; then
315 eval "$ac_prev=\$ac_option"
321 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
325 # Accept the important Cygnus configure options, so we can diagnose typos.
329 -bindir | --bindir | --bindi | --bind | --bin | --bi)
331 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
332 bindir
="$ac_optarg" ;;
334 -build | --build | --buil | --bui | --bu)
336 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
337 build
="$ac_optarg" ;;
339 -cache-file | --cache-file | --cache-fil | --cache-fi \
340 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
341 ac_prev
=cache_file
;;
342 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
343 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
344 cache_file
="$ac_optarg" ;;
346 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
348 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
350 datadir
="$ac_optarg" ;;
352 -disable-* | --disable-*)
353 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
354 # Reject names that are not valid shell variable names.
355 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
356 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
358 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
359 eval "enable_${ac_feature}=no" ;;
361 -enable-* | --enable-*)
362 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
363 # Reject names that are not valid shell variable names.
364 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
365 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
367 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
372 eval "enable_${ac_feature}='$ac_optarg'" ;;
374 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
375 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
376 | --exec | --exe | --ex)
377 ac_prev
=exec_prefix
;;
378 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
379 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
380 | --exec=* | --exe=* | --ex=*)
381 exec_prefix
="$ac_optarg" ;;
383 -gas | --gas | --ga | --g)
384 # Obsolete; use --with-gas.
387 -help | --help | --hel | --he)
388 # Omit some internal or obsolete options to make the list less imposing.
389 # This message is too long to be a string in the A/UX 3.1 sh.
391 Usage: configure [options] [host]
392 Options: [defaults in brackets after descriptions]
394 --cache-file=FILE cache test results in FILE
395 --help print this message
396 --no-create do not create output files
397 --quiet, --silent do not print \`checking...' messages
398 --version print the version of autoconf that created configure
399 Directory and file names:
400 --prefix=PREFIX install architecture-independent files in PREFIX
402 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
404 --bindir=DIR user executables in DIR [EPREFIX/bin]
405 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
406 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
407 --datadir=DIR read-only architecture-independent data in DIR
409 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
410 --sharedstatedir=DIR modifiable architecture-independent data in DIR
412 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
413 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
414 --includedir=DIR C header files in DIR [PREFIX/include]
415 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
416 --infodir=DIR info documentation in DIR [PREFIX/info]
417 --mandir=DIR man documentation in DIR [PREFIX/man]
418 --srcdir=DIR find the sources in DIR [configure dir or ..]
419 --program-prefix=PREFIX prepend PREFIX to installed program names
420 --program-suffix=SUFFIX append SUFFIX to installed program names
421 --program-transform-name=PROGRAM
422 run sed PROGRAM on installed program names
426 --build=BUILD configure for building on BUILD [BUILD=HOST]
427 --host=HOST configure for HOST [guessed]
428 --target=TARGET configure for TARGET [TARGET=HOST]
429 Features and packages:
430 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
431 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
432 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
433 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
434 --x-includes=DIR X include files are in DIR
435 --x-libraries=DIR X library files are in DIR
437 if test -n "$ac_help"; then
438 echo "--enable and --with options recognized:$ac_help"
442 -host | --host | --hos | --ho)
444 -host=* | --host=* | --hos=* | --ho=*)
447 -includedir | --includedir | --includedi | --included | --include \
448 | --includ | --inclu | --incl | --inc)
449 ac_prev
=includedir
;;
450 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
451 | --includ=* | --inclu=* | --incl=* | --inc=*)
452 includedir
="$ac_optarg" ;;
454 -infodir | --infodir | --infodi | --infod | --info | --inf)
456 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
457 infodir
="$ac_optarg" ;;
459 -libdir | --libdir | --libdi | --libd)
461 -libdir=* | --libdir=* | --libdi=* | --libd=*)
462 libdir
="$ac_optarg" ;;
464 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
465 | --libexe | --libex | --libe)
466 ac_prev
=libexecdir
;;
467 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
468 | --libexe=* | --libex=* | --libe=*)
469 libexecdir
="$ac_optarg" ;;
471 -localstatedir | --localstatedir | --localstatedi | --localstated \
472 | --localstate | --localstat | --localsta | --localst \
473 | --locals | --local | --loca | --loc | --lo)
474 ac_prev
=localstatedir
;;
475 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
476 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
477 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
478 localstatedir
="$ac_optarg" ;;
480 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
482 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
483 mandir
="$ac_optarg" ;;
486 # Obsolete; use --without-fp.
489 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
493 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
494 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
497 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
498 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
499 | --oldin | --oldi | --old | --ol | --o)
500 ac_prev
=oldincludedir
;;
501 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
502 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
503 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
504 oldincludedir
="$ac_optarg" ;;
506 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
508 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
509 prefix
="$ac_optarg" ;;
511 -program-prefix | --program-prefix | --program-prefi | --program-pref \
512 | --program-pre | --program-pr | --program-p)
513 ac_prev
=program_prefix
;;
514 -program-prefix=* | --program-prefix=* | --program-prefi=* \
515 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
516 program_prefix
="$ac_optarg" ;;
518 -program-suffix | --program-suffix | --program-suffi | --program-suff \
519 | --program-suf | --program-su | --program-s)
520 ac_prev
=program_suffix
;;
521 -program-suffix=* | --program-suffix=* | --program-suffi=* \
522 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
523 program_suffix
="$ac_optarg" ;;
525 -program-transform-name | --program-transform-name \
526 | --program-transform-nam | --program-transform-na \
527 | --program-transform-n | --program-transform- \
528 | --program-transform | --program-transfor \
529 | --program-transfo | --program-transf \
530 | --program-trans | --program-tran \
531 | --progr-tra | --program-tr | --program-t)
532 ac_prev
=program_transform_name
;;
533 -program-transform-name=* | --program-transform-name=* \
534 | --program-transform-nam=* | --program-transform-na=* \
535 | --program-transform-n=* | --program-transform-=* \
536 | --program-transform=* | --program-transfor=* \
537 | --program-transfo=* | --program-transf=* \
538 | --program-trans=* | --program-tran=* \
539 | --progr-tra=* | --program-tr=* | --program-t=*)
540 program_transform_name
="$ac_optarg" ;;
542 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
543 | -silent | --silent | --silen | --sile | --sil)
546 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
548 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
550 sbindir
="$ac_optarg" ;;
552 -sharedstatedir | --sharedstatedir | --sharedstatedi \
553 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
554 | --sharedst | --shareds | --shared | --share | --shar \
556 ac_prev
=sharedstatedir
;;
557 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
558 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
559 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
561 sharedstatedir
="$ac_optarg" ;;
563 -site | --site | --sit)
565 -site=* | --site=* | --sit=*)
568 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
570 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
571 srcdir
="$ac_optarg" ;;
573 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
574 | --syscon | --sysco | --sysc | --sys | --sy)
575 ac_prev
=sysconfdir
;;
576 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
577 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
578 sysconfdir
="$ac_optarg" ;;
580 -target | --target | --targe | --targ | --tar | --ta | --t)
582 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
583 target
="$ac_optarg" ;;
585 -v | -verbose | --verbose | --verbos | --verbo | --verb)
588 -version | --version | --versio | --versi | --vers)
589 echo "configure generated by autoconf version 2.14"
593 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
594 # Reject names that are not valid shell variable names.
595 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
596 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
598 ac_package
=`echo $ac_package| sed 's/-/_/g'`
603 eval "with_${ac_package}='$ac_optarg'" ;;
605 -without-* | --without-*)
606 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
607 # Reject names that are not valid shell variable names.
608 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
609 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
611 ac_package
=`echo $ac_package| sed 's/-/_/g'`
612 eval "with_${ac_package}=no" ;;
615 # Obsolete; use --with-x.
618 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
619 | --x-incl | --x-inc | --x-in | --x-i)
620 ac_prev
=x_includes
;;
621 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
622 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
623 x_includes
="$ac_optarg" ;;
625 -x-libraries | --x-libraries | --x-librarie | --x-librari \
626 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
627 ac_prev
=x_libraries
;;
628 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
629 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
630 x_libraries
="$ac_optarg" ;;
632 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
636 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
637 echo "configure: warning: $ac_option: invalid host type" 1>&2
639 if test "x$nonopt" != xNONE
; then
640 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
648 if test -n "$ac_prev"; then
649 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
652 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
654 # File descriptor usage:
657 # 2 errors and warnings
658 # 3 some systems may open it to /dev/tty
659 # 4 used on the Kubota Titan
660 # 6 checking for... messages and results
661 # 5 compiler messages saved in config.log
662 if test "$silent" = yes; then
670 This file contains any messages produced by compilers while
671 running configure, to aid debugging if configure makes a mistake.
674 # Strip out --no-create and --no-recursion so they do not pile up.
675 # Also quote any args containing shell metacharacters.
680 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
681 | --no-cr | --no-c) ;;
682 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
683 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
684 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
685 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
686 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
691 # Only set these to C if already set. These must not be set unconditionally
692 # because not all systems understand e.g. LANG=C (notably SCO).
693 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
694 # Non-C LC_CTYPE values break the ctype check.
695 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
696 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
697 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
698 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
700 # confdefs.h avoids OS command line length limits that DEFS can exceed.
701 rm -rf conftest
* confdefs.h
702 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
705 # A filename unique to this package, relative to the directory that
706 # configure is in, which we can look for to find out if srcdir is correct.
707 ac_unique_file
=wx
-config.
in
709 # Find the source files, if location was not specified.
710 if test -z "$srcdir"; then
711 ac_srcdir_defaulted
=yes
712 # Try the directory containing this script, then its parent.
714 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
715 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
717 if test ! -r $srcdir/$ac_unique_file; then
721 ac_srcdir_defaulted
=no
723 if test ! -r $srcdir/$ac_unique_file; then
724 if test "$ac_srcdir_defaulted" = yes; then
725 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
727 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
730 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
732 # Prefer explicitly selected file to automatically selected ones.
733 if test -z "$CONFIG_SITE"; then
734 if test "x$prefix" != xNONE
; then
735 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
737 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
740 for ac_site_file
in $CONFIG_SITE; do
741 if test -r "$ac_site_file"; then
742 echo "loading site script $ac_site_file"
747 if test -r "$cache_file"; then
748 echo "loading cache $cache_file"
751 echo "creating cache $cache_file"
756 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
757 ac_cpp
='$CPP $CPPFLAGS'
758 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
759 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
760 cross_compiling
=$ac_cv_prog_cc_cross
764 if (echo "testing\c"; echo 1,2,3) | grep c
>/dev
/null
; then
765 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
766 if (echo -n testing
; echo 1,2,3) | sed s
/-n/xn
/ | grep xn
>/dev
/null
; then
773 ac_n
= ac_c
='\c' ac_t
=
779 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
780 if test -f $ac_dir/install-sh; then
782 ac_install_sh
="$ac_aux_dir/install-sh -c"
784 elif test -f $ac_dir/install.sh
; then
786 ac_install_sh
="$ac_aux_dir/install.sh -c"
790 if test -z "$ac_aux_dir"; then
791 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
793 ac_config_guess
=$ac_aux_dir/config.guess
794 ac_config_sub
=$ac_aux_dir/config.sub
795 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
798 # Do some error checking and defaulting for the host and target type.
800 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
803 # 1. You are not allowed to specify --host, --target, and nonopt at the
805 # 2. Host defaults to nonopt.
806 # 3. If nonopt is not specified, then host defaults to the current host,
807 # as determined by config.guess.
808 # 4. Target and build default to nonopt.
809 # 5. If nonopt is not specified, then target and build default to host.
811 # The aliases save the names the user supplied, while $host etc.
812 # will get canonicalized.
813 case $host---$target---$nonopt in
814 NONE
---*---* | *---NONE---* | *---*---NONE) ;;
815 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
819 # Make sure we can run config.sub.
820 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
821 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
824 echo $ac_n "checking host system type""... $ac_c" 1>&6
825 echo "configure:826: checking host system type" >&5
828 case "$host_alias" in
832 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
833 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
835 *) host_alias
=$nonopt ;;
839 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
840 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
841 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
842 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
843 echo "$ac_t""$host" 1>&6
845 echo $ac_n "checking target system type""... $ac_c" 1>&6
846 echo "configure:847: checking target system type" >&5
849 case "$target_alias" in
852 NONE
) target_alias
=$host_alias ;;
853 *) target_alias
=$nonopt ;;
857 target
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
858 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
859 target_vendor
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
860 target_os
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
861 echo "$ac_t""$target" 1>&6
863 echo $ac_n "checking build system type""... $ac_c" 1>&6
864 echo "configure:865: checking build system type" >&5
867 case "$build_alias" in
870 NONE
) build_alias
=$host_alias ;;
871 *) build_alias
=$nonopt ;;
875 build
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
876 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
877 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
878 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
879 echo "$ac_t""$build" 1>&6
881 test "$host_alias" != "$target_alias" &&
882 test "$program_prefix$program_suffix$program_transform_name" = \
884 program_prefix
=${target_alias}-
888 WX_MAJOR_VERSION_NUMBER
=2
889 WX_MINOR_VERSION_NUMBER
=1
895 WX_VERSION
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER.
$WX_RELEASE_NUMBER
897 WX_RELEASE
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER
898 WX_CURRENT
=`expr $WX_RELEASE_NUMBER - $WX_INTERFACE_AGE`
899 WX_REVISION
=$WX_INTERFACE_AGE
900 WX_AGE
=`expr $WX_BINARY_AGE - $WX_INTERFACE_AGE`
924 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
926 ALL_TOOLKITS
="CYGWIN GTK MINGW MOTIF WINE"
929 DEFAULT_wxUSE_MOTIF
=0
933 DEFAULT_DEFAULT_wxUSE_GTK
=0
934 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
935 DEFAULT_DEFAULT_wxUSE_MSW
=0
936 DEFAULT_DEFAULT_wxUSE_WINE
=0
941 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
942 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
943 cat >> confdefs.h
<<\EOF
950 cat >> confdefs.h
<<\EOF
955 if test "x$TMP" = "xalpha"; then
957 cat >> confdefs.h
<<\EOF
962 DEFAULT_DEFAULT_wxUSE_GTK
=1
964 *-*-irix5* | *-*-irix6* )
967 cat >> confdefs.h
<<\EOF
971 cat >> confdefs.h
<<\EOF
975 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
981 cat >> confdefs.h
<<\EOF
985 cat >> confdefs.h
<<\EOF
986 #define __SOLARIS__ 1
989 cat >> confdefs.h
<<\EOF
993 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
994 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1000 cat >> confdefs.h
<<\EOF
1004 cat >> confdefs.h
<<\EOF
1008 cat >> confdefs.h
<<\EOF
1012 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1014 *-*-freebsd* | *-*-netbsd*)
1017 cat >> confdefs.h
<<\EOF
1018 #define __FREEBSD__ 1
1021 cat >> confdefs.h
<<\EOF
1025 DEFAULT_DEFAULT_wxUSE_GTK
=1
1030 cat >> confdefs.h
<<\EOF
1034 cat >> confdefs.h
<<\EOF
1038 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1043 cat >> confdefs.h
<<\EOF
1047 cat >> confdefs.h
<<\EOF
1051 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1056 cat >> confdefs.h
<<\EOF
1060 cat >> confdefs.h
<<\EOF
1064 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1070 cat >> confdefs.h
<<\EOF
1074 cat >> confdefs.h
<<\EOF
1078 cat >> confdefs.h
<<\EOF
1082 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1085 *-*-cygwin32* | *-*-mingw32* )
1088 cat >> confdefs.h
<<\EOF
1092 cat >> confdefs.h
<<\EOF
1096 cat >> confdefs.h
<<\EOF
1097 #define __WINDOWS__ 1
1100 cat >> confdefs.h
<<\EOF
1101 #define __GNUWIN32__ 1
1104 cat >> confdefs.h
<<\EOF
1108 cat >> confdefs.h
<<\EOF
1109 #define WINVER 0x0400
1112 DEFAULT_DEFAULT_wxUSE_MSW
=1
1116 cat >> confdefs.h
<<\EOF
1123 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
1126 if test "$USE_UNIX" = 1 ; then
1128 cat >> confdefs.h
<<\EOF
1132 SRC_SUBDIRS
="$SRC_SUBDIRS unix"
1133 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS unix"
1136 if test "$USE_LINUX" = 1; then
1137 echo $ac_n "checking for gettext in -lc""... $ac_c" 1>&6
1138 echo "configure:1139: checking for gettext in -lc" >&5
1139 ac_lib_var
=`echo c'_'gettext | sed 'y%./+-%__p_%'`
1140 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1141 echo $ac_n "(cached) $ac_c" 1>&6
1143 ac_save_LIBS
="$LIBS"
1145 cat > conftest.
$ac_ext <<EOF
1146 #line 1147 "configure"
1147 #include "confdefs.h"
1148 /* Override any gcc2 internal prototype to avoid an error. */
1149 /* We use char because int might match the return type of a gcc2
1150 builtin and then its argument prototype would still apply. */
1157 if { (eval echo configure
:1158: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
1159 eval "ac_cv_lib_$ac_lib_var=yes"
1161 echo "configure: failed program was:" >&5
1162 cat conftest.
$ac_ext >&5
1164 eval "ac_cv_lib_$ac_lib_var=no"
1167 LIBS
="$ac_save_LIBS"
1170 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1171 echo "$ac_t""yes" 1>&6
1172 cat >> confdefs.h
<<\EOF
1173 #define wxHAVE_GLIBC2 1
1177 echo "$ac_t""no" 1>&6
1185 wx_arg_cache_file
="configarg.cache"
1186 echo "loading argument cache $wx_arg_cache_file"
1187 rm -f ${wx_arg_cache_file}.tmp
1188 touch ${wx_arg_cache_file}.tmp
1189 touch ${wx_arg_cache_file}
1193 if test $DEBUG_CONFIGURE = 1; then
1194 DEFAULT_wxUSE_THREADS
=yes
1196 DEFAULT_wxUSE_SHARED
=yes
1197 DEFAULT_wxUSE_OPTIMISE
=yes
1198 DEFAULT_wxUSE_PROFILE
=no
1199 DEFAULT_wxUSE_NO_DEPS
=no
1200 DEFAULT_wxUSE_NO_RTTI
=no
1201 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1202 DEFAULT_wxUSE_PERMISSIVE
=no
1203 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1204 DEFAULT_wxUSE_DEBUG_INFO
=yes
1205 DEFAULT_wxUSE_DEBUG_GDB
=yes
1206 DEFAULT_wxUSE_MEM_TRACING
=no
1207 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1208 DEFAULT_wxUSE_DMALLOC
=no
1209 DEFAULT_wxUSE_APPLE_IEEE
=no
1211 DEFAULT_wxUSE_LOG
=yes
1213 DEFAULT_wxUSE_GUI
=yes
1215 DEFAULT_wxUSE_ZLIB
=no
1216 DEFAULT_wxUSE_LIBPNG
=no
1217 DEFAULT_wxUSE_LIBJPEG
=no
1218 DEFAULT_wxUSE_ODBC
=no
1220 DEFAULT_wxUSE_STD_IOSTREAM
=no
1221 DEFAULT_wxUSE_FILE
=no
1222 DEFAULT_wxUSE_TEXTFILE
=no
1223 DEFAULT_wxUSE_TIMEDATE
=no
1224 DEFAULT_wxUSE_WAVE
=no
1225 DEFAULT_wxUSE_INTL
=no
1226 DEFAULT_wxUSE_CONFIG
=no
1227 DEFAULT_wxUSE_STREAMS
=no
1228 DEFAULT_wxUSE_SOCKETS
=no
1229 DEFAULT_wxUSE_DIALUP_MANAGER
=no
1230 DEFAULT_wxUSE_SERIAL
=no
1231 DEFAULT_wxUSE_JOYSTICK
=no
1232 DEFAULT_wxUSE_DYNLIB_CLASS
=no
1233 DEFAULT_wxUSE_LONGLONG
=no
1235 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
1236 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
1237 DEFAULT_wxUSE_POSTSCRIPT
=no
1239 DEFAULT_wxUSE_X_RESOURCES
=no
1240 DEFAULT_wxUSE_CLIPBOARD
=no
1241 DEFAULT_wxUSE_TOOLTIPS
=no
1242 DEFAULT_wxUSE_DRAG_AND_DROP
=no
1243 DEFAULT_wxUSE_SPLINES
=no
1245 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
1246 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
1247 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
1249 DEFAULT_wxUSE_PROLOGIO
=no
1250 DEFAULT_wxUSE_RESOURCES
=no
1251 DEFAULT_wxUSE_CONSTRAINTS
=no
1252 DEFAULT_wxUSE_IPC
=no
1253 DEFAULT_wxUSE_HELP
=no
1254 DEFAULT_wxUSE_WXTREE
=no
1255 DEFAULT_wxUSE_METAFILE
=no
1257 DEFAULT_wxUSE_COMMONDLGS
=no
1258 DEFAULT_wxUSE_DIRDLG
=no
1259 DEFAULT_wxUSE_TEXTDLG
=no
1260 DEFAULT_wxUSE_STARTUP_TIPS
=no
1261 DEFAULT_wxUSE_PROGRESSDLG
=no
1262 DEFAULT_wxUSE_MINIFRAME
=no
1263 DEFAULT_wxUSE_HTML
=no
1264 DEFAULT_wxUSE_FS_INET
=no
1265 DEFAULT_wxUSE_FS_ZIP
=no
1266 DEFAULT_wxUSE_BUSYINFO
=no
1267 DEFAULT_wxUSE_ZIPSTREAM
=no
1268 DEFAULT_wxUSE_VALIDATORS
=yes
1270 DEFAULT_wxUSE_ACCEL
=no
1271 DEFAULT_wxUSE_CARET
=no
1272 DEFAULT_wxUSE_BMPBUTTON
=no
1273 DEFAULT_wxUSE_CHECKBOX
=no
1274 DEFAULT_wxUSE_CHECKLST
=no
1275 DEFAULT_wxUSE_CHOICE
=yes
1276 DEFAULT_wxUSE_COMBOBOX
=no
1277 DEFAULT_wxUSE_GAUGE
=no
1278 DEFAULT_wxUSE_GRID
=no
1279 DEFAULT_wxUSE_NEW_GRID
=no
1280 DEFAULT_wxUSE_IMAGLIST
=no
1281 DEFAULT_wxUSE_LISTBOX
=no
1282 DEFAULT_wxUSE_LISTCTRL
=no
1283 DEFAULT_wxUSE_NOTEBOOK
=no
1284 DEFAULT_wxUSE_RADIOBOX
=no
1285 DEFAULT_wxUSE_RADIOBTN
=no
1286 DEFAULT_wxUSE_SASH
=no
1287 DEFAULT_wxUSE_SCROLLBAR
=no
1288 DEFAULT_wxUSE_SLIDER
=no
1289 DEFAULT_wxUSE_SPINBTN
=no
1290 DEFAULT_wxUSE_SPLITTER
=no
1291 DEFAULT_wxUSE_STATBMP
=no
1292 DEFAULT_wxUSE_STATBOX
=no
1293 DEFAULT_wxUSE_STATLINE
=no
1294 DEFAULT_wxUSE_STATUSBAR
=yes
1295 DEFAULT_wxUSE_TABDIALOG
=no
1296 DEFAULT_wxUSE_TOOLBAR
=no
1297 DEFAULT_wxUSE_TREECTRL
=no
1299 DEFAULT_wxUSE_UNICODE
=no
1300 DEFAULT_wxUSE_WCSRTOMBS
=no
1302 DEFAULT_wxUSE_GIF
=no
1303 DEFAULT_wxUSE_PCX
=no
1304 DEFAULT_wxUSE_PNM
=no
1306 DEFAULT_wxUSE_THREADS
=yes
1308 DEFAULT_wxUSE_SHARED
=yes
1309 DEFAULT_wxUSE_OPTIMISE
=yes
1310 DEFAULT_wxUSE_PROFILE
=no
1311 DEFAULT_wxUSE_NO_DEPS
=no
1312 DEFAULT_wxUSE_NO_RTTI
=no
1313 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1314 DEFAULT_wxUSE_PERMISSIVE
=no
1315 DEFAULT_wxUSE_DEBUG_FLAG
=no
1316 DEFAULT_wxUSE_DEBUG_INFO
=no
1317 DEFAULT_wxUSE_DEBUG_GDB
=no
1318 DEFAULT_wxUSE_MEM_TRACING
=no
1319 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1320 DEFAULT_wxUSE_DMALLOC
=no
1321 DEFAULT_wxUSE_APPLE_IEEE
=yes
1323 DEFAULT_wxUSE_LOG
=yes
1325 DEFAULT_wxUSE_GUI
=yes
1327 DEFAULT_wxUSE_ZLIB
=yes
1328 DEFAULT_wxUSE_LIBPNG
=yes
1329 DEFAULT_wxUSE_LIBJPEG
=yes
1330 DEFAULT_wxUSE_ODBC
=yes
1332 DEFAULT_wxUSE_STD_IOSTREAM
=no
1333 DEFAULT_wxUSE_FILE
=yes
1334 DEFAULT_wxUSE_TEXTFILE
=yes
1335 DEFAULT_wxUSE_TIMEDATE
=yes
1336 DEFAULT_wxUSE_WAVE
=no
1337 DEFAULT_wxUSE_INTL
=yes
1338 DEFAULT_wxUSE_CONFIG
=yes
1339 DEFAULT_wxUSE_STREAMS
=yes
1340 DEFAULT_wxUSE_SOCKETS
=yes
1341 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
1342 DEFAULT_wxUSE_SERIAL
=yes
1343 DEFAULT_wxUSE_JOYSTICK
=yes
1344 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
1345 DEFAULT_wxUSE_LONGLONG
=no
1347 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
1348 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
1349 DEFAULT_wxUSE_POSTSCRIPT
=yes
1351 DEFAULT_wxUSE_X_RESOURCES
=no
1352 DEFAULT_wxUSE_CLIPBOARD
=yes
1353 DEFAULT_wxUSE_TOOLTIPS
=yes
1354 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
1355 DEFAULT_wxUSE_SPLINES
=yes
1357 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
1358 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
1359 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
1361 DEFAULT_wxUSE_PROLOGIO
=yes
1362 DEFAULT_wxUSE_RESOURCES
=yes
1363 DEFAULT_wxUSE_CONSTRAINTS
=yes
1364 DEFAULT_wxUSE_IPC
=yes
1365 DEFAULT_wxUSE_HELP
=yes
1366 DEFAULT_wxUSE_WXTREE
=yes
1367 DEFAULT_wxUSE_METAFILE
=yes
1369 DEFAULT_wxUSE_COMMONDLGS
=yes
1370 DEFAULT_wxUSE_DIRDLG
=yes
1371 DEFAULT_wxUSE_TEXTDLG
=yes
1372 DEFAULT_wxUSE_STARTUP_TIPS
=yes
1373 DEFAULT_wxUSE_PROGRESSDLG
=yes
1374 DEFAULT_wxUSE_MINIFRAME
=yes
1375 DEFAULT_wxUSE_HTML
=yes
1376 DEFAULT_wxUSE_FS_INET
=yes
1377 DEFAULT_wxUSE_FS_ZIP
=yes
1378 DEFAULT_wxUSE_BUSYINFO
=yes
1379 DEFAULT_wxUSE_ZIPSTREAM
=yes
1380 DEFAULT_wxUSE_VALIDATORS
=yes
1382 DEFAULT_wxUSE_ACCEL
=yes
1383 DEFAULT_wxUSE_CARET
=yes
1384 DEFAULT_wxUSE_BMPBUTTON
=yes
1385 DEFAULT_wxUSE_CHECKBOX
=yes
1386 DEFAULT_wxUSE_CHECKLST
=yes
1387 DEFAULT_wxUSE_CHOICE
=yes
1388 DEFAULT_wxUSE_COMBOBOX
=yes
1389 DEFAULT_wxUSE_GAUGE
=yes
1390 DEFAULT_wxUSE_GRID
=yes
1391 DEFAULT_wxUSE_NEW_GRID
=no
1392 DEFAULT_wxUSE_IMAGLIST
=yes
1393 DEFAULT_wxUSE_LISTBOX
=yes
1394 DEFAULT_wxUSE_LISTCTRL
=yes
1395 DEFAULT_wxUSE_NOTEBOOK
=yes
1396 DEFAULT_wxUSE_RADIOBOX
=yes
1397 DEFAULT_wxUSE_RADIOBTN
=yes
1398 DEFAULT_wxUSE_SASH
=yes
1399 DEFAULT_wxUSE_SCROLLBAR
=yes
1400 DEFAULT_wxUSE_SLIDER
=yes
1401 DEFAULT_wxUSE_SPINBTN
=yes
1402 DEFAULT_wxUSE_SPLITTER
=yes
1403 DEFAULT_wxUSE_STATBMP
=yes
1404 DEFAULT_wxUSE_STATBOX
=yes
1405 DEFAULT_wxUSE_STATLINE
=yes
1406 DEFAULT_wxUSE_STATUSBAR
=yes
1407 DEFAULT_wxUSE_TABDIALOG
=no
1408 DEFAULT_wxUSE_TOOLBAR
=yes
1409 DEFAULT_wxUSE_TREECTRL
=yes
1411 DEFAULT_wxUSE_UNICODE
=no
1412 DEFAULT_wxUSE_WCSRTOMBS
=no
1414 DEFAULT_wxUSE_GIF
=yes
1415 DEFAULT_wxUSE_PCX
=yes
1416 DEFAULT_wxUSE_PNM
=yes
1421 for toolkit
in `echo $ALL_TOOLKITS`; do
1422 LINE
=`grep "wxUSE_$toolkit" ${wx_arg_cache_file}`
1423 if test "x$LINE" != x
; then
1424 has_toolkit_in_cache
=1
1425 eval "DEFAULT_$LINE"
1426 eval "CACHE_$toolkit=1"
1432 echo $ac_n "checking "for --enable-gui"""... $ac_c" 1>&6
1433 echo "configure:1434: checking "for --enable-gui"" >&5
1435 # Check whether --enable-gui or --disable-gui was given.
1436 if test "${enable_gui+set}" = set; then
1437 enableval
="$enable_gui"
1439 if test "$enableval" = yes; then
1440 ac_cv_use_gui
='wxUSE_GUI=yes'
1442 ac_cv_use_gui
='wxUSE_GUI=no'
1447 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
1448 if test "x$LINE" != x
; then
1449 eval "DEFAULT_$LINE"
1454 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
1459 eval "$ac_cv_use_gui"
1460 if test "$no_cache" != 1; then
1461 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
1464 if test "$wxUSE_GUI" = yes; then
1465 echo "$ac_t""yes" 1>&6
1467 echo "$ac_t""no" 1>&6
1471 if test "$wxUSE_GUI" = "no"; then
1472 DEFAULT_wxUSE_ZLIB
=no
1473 DEFAULT_wxUSE_LIBPNG
=no
1474 DEFAULT_wxUSE_LIBJPEG
=no
1475 DEFAULT_wxUSE_SOCKETS
=no
1476 DEFAULT_wxUSE_JOYSTICK
=no
1477 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
1478 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
1479 DEFAULT_wxUSE_POSTSCRIPT
=no
1480 DEFAULT_wxUSE_X_RESOURCES
=no
1481 DEFAULT_wxUSE_CLIPBOARD
=no
1482 DEFAULT_wxUSE_TOOLTIPS
=no
1483 DEFAULT_wxUSE_DRAG_AND_DROP
=no
1484 DEFAULT_wxUSE_SPLINES
=no
1485 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
1486 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
1487 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
1488 DEFAULT_wxUSE_PROLOGIO
=no
1489 DEFAULT_wxUSE_RESOURCES
=no
1490 DEFAULT_wxUSE_CONSTRAINTS
=no
1491 DEFAULT_wxUSE_IPC
=no
1492 DEFAULT_wxUSE_HELP
=no
1493 DEFAULT_wxUSE_WXTREE
=no
1494 DEFAULT_wxUSE_METAFILE
=no
1495 DEFAULT_wxUSE_COMMONDLGS
=no
1496 DEFAULT_wxUSE_DIRDLG
=no
1497 DEFAULT_wxUSE_TEXTDLG
=no
1498 DEFAULT_wxUSE_STARTUP_TIPS
=no
1499 DEFAULT_wxUSE_PROGRESSDLG
=no
1500 DEFAULT_wxUSE_MINIFRAME
=no
1501 DEFAULT_wxUSE_HTML
=no
1502 DEFAULT_wxUSE_FS_INET
=no
1503 DEFAULT_wxUSE_FS_ZIP
=no
1504 DEFAULT_wxUSE_BUSYINFO
=no
1505 DEFAULT_wxUSE_ZIPSTREAM
=no
1506 DEFAULT_wxUSE_VALIDATORS
=no
1507 DEFAULT_wxUSE_ACCEL
=no
1508 DEFAULT_wxUSE_CARET
=no
1509 DEFAULT_wxUSE_BMPBUTTON
=no
1510 DEFAULT_wxUSE_CHECKBOX
=no
1511 DEFAULT_wxUSE_CHECKLST
=no
1512 DEFAULT_wxUSE_CHOICE
=no
1513 DEFAULT_wxUSE_COMBOBOX
=no
1514 DEFAULT_wxUSE_GAUGE
=no
1515 DEFAULT_wxUSE_GRID
=no
1516 DEFAULT_wxUSE_NEW_GRID
=no
1517 DEFAULT_wxUSE_IMAGLIST
=no
1518 DEFAULT_wxUSE_LISTBOX
=no
1519 DEFAULT_wxUSE_LISTCTRL
=no
1520 DEFAULT_wxUSE_NOTEBOOK
=no
1521 DEFAULT_wxUSE_RADIOBOX
=no
1522 DEFAULT_wxUSE_RADIOBTN
=no
1523 DEFAULT_wxUSE_SASH
=no
1524 DEFAULT_wxUSE_SCROLLBAR
=no
1525 DEFAULT_wxUSE_SLIDER
=no
1526 DEFAULT_wxUSE_SPINBTN
=no
1527 DEFAULT_wxUSE_SPLITTER
=no
1528 DEFAULT_wxUSE_STATBMP
=no
1529 DEFAULT_wxUSE_STATBOX
=no
1530 DEFAULT_wxUSE_STATLINE
=no
1531 DEFAULT_wxUSE_STATUSBAR
=no
1532 DEFAULT_wxUSE_TABDIALOG
=no
1533 DEFAULT_wxUSE_TOOLBAR
=no
1534 DEFAULT_wxUSE_TREECTRL
=no
1535 DEFAULT_wxUSE_GIF
=no
1536 DEFAULT_wxUSE_PCX
=no
1537 DEFAULT_wxUSE_PNM
=no
1540 # Check whether --with-gtk or --without-gtk was given.
1541 if test "${with_gtk+set}" = set; then
1543 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
1546 # Check whether --with-motif or --without-motif was given.
1547 if test "${with_motif+set}" = set; then
1548 withval
="$with_motif"
1549 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
1552 # Check whether --with-wine or --without-wine was given.
1553 if test "${with_wine+set}" = set; then
1554 withval
="$with_wine"
1555 wxUSE_WINE
="$withval" CACHE_WINE
=1 TOOLKIT_GIVEN
=1
1558 # Check whether --with-cygwin or --without-cygwin was given.
1559 if test "${with_cygwin+set}" = set; then
1560 withval
="$with_cygwin"
1561 wxUSE_CYGWIN
="$withval" CACHE_CYGWIN
=1 TOOLKIT_GIVEN
=1
1564 # Check whether --with-mingw or --without-mingw was given.
1565 if test "${with_mingw+set}" = set; then
1566 withval
="$with_mingw"
1567 wxUSE_MINGW
="$withval" CACHE_MINGW
=1 TOOLKIT_GIVEN
=1
1571 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
1572 if test "${with_gtk_prefix+set}" = set; then
1573 withval
="$with_gtk_prefix"
1574 gtk_config_prefix
="$withval"
1576 gtk_config_prefix
=""
1579 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
1580 if test "${with_gtk_exec_prefix+set}" = set; then
1581 withval
="$with_gtk_exec_prefix"
1582 gtk_config_exec_prefix
="$withval"
1584 gtk_config_exec_prefix
=""
1589 echo $ac_n "checking "for --with-dmalloc"""... $ac_c" 1>&6
1590 echo "configure:1591: checking "for --with-dmalloc"" >&5
1592 # Check whether --with-dmalloc or --without-dmalloc was given.
1593 if test "${with_dmalloc+set}" = set; then
1594 withval
="$with_dmalloc"
1596 if test "$withval" = yes; then
1597 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
1599 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
1604 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
1605 if test "x$LINE" != x
; then
1606 eval "DEFAULT_$LINE"
1611 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
1616 eval "$ac_cv_use_dmalloc"
1617 if test "$no_cache" != 1; then
1618 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
1621 if test "$wxUSE_DMALLOC" = yes; then
1622 echo "$ac_t""yes" 1>&6
1624 echo "$ac_t""no" 1>&6
1628 echo $ac_n "checking "for --with-zlib"""... $ac_c" 1>&6
1629 echo "configure:1630: checking "for --with-zlib"" >&5
1631 # Check whether --with-zlib or --without-zlib was given.
1632 if test "${with_zlib+set}" = set; then
1633 withval
="$with_zlib"
1635 if test "$withval" = yes; then
1636 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
1638 ac_cv_use_zlib
='wxUSE_ZLIB=no'
1643 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
1644 if test "x$LINE" != x
; then
1645 eval "DEFAULT_$LINE"
1650 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
1655 eval "$ac_cv_use_zlib"
1656 if test "$no_cache" != 1; then
1657 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
1660 if test "$wxUSE_ZLIB" = yes; then
1661 echo "$ac_t""yes" 1>&6
1663 echo "$ac_t""no" 1>&6
1667 echo $ac_n "checking "for --with-libpng"""... $ac_c" 1>&6
1668 echo "configure:1669: checking "for --with-libpng"" >&5
1670 # Check whether --with-libpng or --without-libpng was given.
1671 if test "${with_libpng+set}" = set; then
1672 withval
="$with_libpng"
1674 if test "$withval" = yes; then
1675 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
1677 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
1682 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
1683 if test "x$LINE" != x
; then
1684 eval "DEFAULT_$LINE"
1689 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
1694 eval "$ac_cv_use_libpng"
1695 if test "$no_cache" != 1; then
1696 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
1699 if test "$wxUSE_LIBPNG" = yes; then
1700 echo "$ac_t""yes" 1>&6
1702 echo "$ac_t""no" 1>&6
1706 echo $ac_n "checking "for --with-libjpeg"""... $ac_c" 1>&6
1707 echo "configure:1708: checking "for --with-libjpeg"" >&5
1709 # Check whether --with-libjpeg or --without-libjpeg was given.
1710 if test "${with_libjpeg+set}" = set; then
1711 withval
="$with_libjpeg"
1713 if test "$withval" = yes; then
1714 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
1716 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
1721 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
1722 if test "x$LINE" != x
; then
1723 eval "DEFAULT_$LINE"
1728 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
1733 eval "$ac_cv_use_libjpeg"
1734 if test "$no_cache" != 1; then
1735 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
1738 if test "$wxUSE_LIBJPEG" = yes; then
1739 echo "$ac_t""yes" 1>&6
1741 echo "$ac_t""no" 1>&6
1745 echo $ac_n "checking "for --with-opengl"""... $ac_c" 1>&6
1746 echo "configure:1747: checking "for --with-opengl"" >&5
1748 # Check whether --with-opengl or --without-opengl was given.
1749 if test "${with_opengl+set}" = set; then
1750 withval
="$with_opengl"
1752 if test "$withval" = yes; then
1753 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
1755 ac_cv_use_opengl
='wxUSE_OPENGL=no'
1760 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
1761 if test "x$LINE" != x
; then
1762 eval "DEFAULT_$LINE"
1767 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
1772 eval "$ac_cv_use_opengl"
1773 if test "$no_cache" != 1; then
1774 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
1777 if test "$wxUSE_OPENGL" = yes; then
1778 echo "$ac_t""yes" 1>&6
1780 echo "$ac_t""no" 1>&6
1784 echo $ac_n "checking "for --with-odbc"""... $ac_c" 1>&6
1785 echo "configure:1786: checking "for --with-odbc"" >&5
1787 # Check whether --with-odbc or --without-odbc was given.
1788 if test "${with_odbc+set}" = set; then
1789 withval
="$with_odbc"
1791 if test "$withval" = yes; then
1792 ac_cv_use_odbc
='wxUSE_ODBC=yes'
1794 ac_cv_use_odbc
='wxUSE_ODBC=no'
1799 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
1800 if test "x$LINE" != x
; then
1801 eval "DEFAULT_$LINE"
1806 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
1811 eval "$ac_cv_use_odbc"
1812 if test "$no_cache" != 1; then
1813 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
1816 if test "$wxUSE_ODBC" = yes; then
1817 echo "$ac_t""yes" 1>&6
1819 echo "$ac_t""no" 1>&6
1826 echo $ac_n "checking "for --enable-shared"""... $ac_c" 1>&6
1827 echo "configure:1828: checking "for --enable-shared"" >&5
1829 # Check whether --enable-shared or --disable-shared was given.
1830 if test "${enable_shared+set}" = set; then
1831 enableval
="$enable_shared"
1833 if test "$enableval" = yes; then
1834 ac_cv_use_shared
='wxUSE_SHARED=yes'
1836 ac_cv_use_shared
='wxUSE_SHARED=no'
1841 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
1842 if test "x$LINE" != x
; then
1843 eval "DEFAULT_$LINE"
1848 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
1853 eval "$ac_cv_use_shared"
1854 if test "$no_cache" != 1; then
1855 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
1858 if test "$wxUSE_SHARED" = yes; then
1859 echo "$ac_t""yes" 1>&6
1861 echo "$ac_t""no" 1>&6
1865 echo $ac_n "checking "for --enable-optimise"""... $ac_c" 1>&6
1866 echo "configure:1867: checking "for --enable-optimise"" >&5
1868 # Check whether --enable-optimise or --disable-optimise was given.
1869 if test "${enable_optimise+set}" = set; then
1870 enableval
="$enable_optimise"
1872 if test "$enableval" = yes; then
1873 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
1875 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
1880 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
1881 if test "x$LINE" != x
; then
1882 eval "DEFAULT_$LINE"
1887 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
1892 eval "$ac_cv_use_optimise"
1893 if test "$no_cache" != 1; then
1894 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
1897 if test "$wxUSE_OPTIMISE" = yes; then
1898 echo "$ac_t""yes" 1>&6
1900 echo "$ac_t""no" 1>&6
1904 echo $ac_n "checking "for --enable-debug"""... $ac_c" 1>&6
1905 echo "configure:1906: checking "for --enable-debug"" >&5
1907 # Check whether --enable-debug or --disable-debug was given.
1908 if test "${enable_debug+set}" = set; then
1909 enableval
="$enable_debug"
1911 if test "$enableval" = yes; then
1912 ac_cv_use_debug
='wxUSE_DEBUG=yes'
1914 ac_cv_use_debug
='wxUSE_DEBUG=no'
1919 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
1920 if test "x$LINE" != x
; then
1921 eval "DEFAULT_$LINE"
1926 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
1931 eval "$ac_cv_use_debug"
1932 if test "$no_cache" != 1; then
1933 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
1936 if test "$wxUSE_DEBUG" = yes; then
1937 echo "$ac_t""yes" 1>&6
1939 echo "$ac_t""no" 1>&6
1943 if test "$wxUSE_DEBUG" = "yes"; then
1944 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1945 DEFAULT_wxUSE_DEBUG_INFO
=yes
1946 elif test "$wxUSE_DEBUG" = "no"; then
1947 DEFAULT_wxUSE_DEBUG_FLAG
=no
1948 DEFAULT_wxUSE_DEBUG_INFO
=no
1952 echo $ac_n "checking "for --enable-debug_flag"""... $ac_c" 1>&6
1953 echo "configure:1954: checking "for --enable-debug_flag"" >&5
1955 # Check whether --enable-debug_flag or --disable-debug_flag was given.
1956 if test "${enable_debug_flag+set}" = set; then
1957 enableval
="$enable_debug_flag"
1959 if test "$enableval" = yes; then
1960 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
1962 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
1967 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
1968 if test "x$LINE" != x
; then
1969 eval "DEFAULT_$LINE"
1974 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
1979 eval "$ac_cv_use_debug_flag"
1980 if test "$no_cache" != 1; then
1981 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
1984 if test "$wxUSE_DEBUG_FLAG" = yes; then
1985 echo "$ac_t""yes" 1>&6
1987 echo "$ac_t""no" 1>&6
1991 echo $ac_n "checking "for --enable-debug_info"""... $ac_c" 1>&6
1992 echo "configure:1993: checking "for --enable-debug_info"" >&5
1994 # Check whether --enable-debug_info or --disable-debug_info was given.
1995 if test "${enable_debug_info+set}" = set; then
1996 enableval
="$enable_debug_info"
1998 if test "$enableval" = yes; then
1999 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
2001 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
2006 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
2007 if test "x$LINE" != x
; then
2008 eval "DEFAULT_$LINE"
2013 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
2018 eval "$ac_cv_use_debug_info"
2019 if test "$no_cache" != 1; then
2020 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
2023 if test "$wxUSE_DEBUG_INFO" = yes; then
2024 echo "$ac_t""yes" 1>&6
2026 echo "$ac_t""no" 1>&6
2030 echo $ac_n "checking "for --enable-debug_gdb"""... $ac_c" 1>&6
2031 echo "configure:2032: checking "for --enable-debug_gdb"" >&5
2033 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
2034 if test "${enable_debug_gdb+set}" = set; then
2035 enableval
="$enable_debug_gdb"
2037 if test "$enableval" = yes; then
2038 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
2040 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
2045 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
2046 if test "x$LINE" != x
; then
2047 eval "DEFAULT_$LINE"
2052 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
2057 eval "$ac_cv_use_debug_gdb"
2058 if test "$no_cache" != 1; then
2059 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
2062 if test "$wxUSE_DEBUG_GDB" = yes; then
2063 echo "$ac_t""yes" 1>&6
2065 echo "$ac_t""no" 1>&6
2069 echo $ac_n "checking "for --enable-debug_cntxt"""... $ac_c" 1>&6
2070 echo "configure:2071: checking "for --enable-debug_cntxt"" >&5
2072 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
2073 if test "${enable_debug_cntxt+set}" = set; then
2074 enableval
="$enable_debug_cntxt"
2076 if test "$enableval" = yes; then
2077 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
2079 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
2084 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2085 if test "x$LINE" != x
; then
2086 eval "DEFAULT_$LINE"
2091 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2096 eval "$ac_cv_use_debug_cntxt"
2097 if test "$no_cache" != 1; then
2098 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2101 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2102 echo "$ac_t""yes" 1>&6
2104 echo "$ac_t""no" 1>&6
2108 echo $ac_n "checking "for --enable-mem_tracing"""... $ac_c" 1>&6
2109 echo "configure:2110: checking "for --enable-mem_tracing"" >&5
2111 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2112 if test "${enable_mem_tracing+set}" = set; then
2113 enableval
="$enable_mem_tracing"
2115 if test "$enableval" = yes; then
2116 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
2118 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
2123 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2124 if test "x$LINE" != x
; then
2125 eval "DEFAULT_$LINE"
2130 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2135 eval "$ac_cv_use_mem_tracing"
2136 if test "$no_cache" != 1; then
2137 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2140 if test "$wxUSE_MEM_TRACING" = yes; then
2141 echo "$ac_t""yes" 1>&6
2143 echo "$ac_t""no" 1>&6
2147 echo $ac_n "checking "for --enable-profile"""... $ac_c" 1>&6
2148 echo "configure:2149: checking "for --enable-profile"" >&5
2150 # Check whether --enable-profile or --disable-profile was given.
2151 if test "${enable_profile+set}" = set; then
2152 enableval
="$enable_profile"
2154 if test "$enableval" = yes; then
2155 ac_cv_use_profile
='wxUSE_PROFILE=yes'
2157 ac_cv_use_profile
='wxUSE_PROFILE=no'
2162 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2163 if test "x$LINE" != x
; then
2164 eval "DEFAULT_$LINE"
2169 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2174 eval "$ac_cv_use_profile"
2175 if test "$no_cache" != 1; then
2176 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2179 if test "$wxUSE_PROFILE" = yes; then
2180 echo "$ac_t""yes" 1>&6
2182 echo "$ac_t""no" 1>&6
2186 echo $ac_n "checking "for --enable-no_rtti"""... $ac_c" 1>&6
2187 echo "configure:2188: checking "for --enable-no_rtti"" >&5
2189 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2190 if test "${enable_no_rtti+set}" = set; then
2191 enableval
="$enable_no_rtti"
2193 if test "$enableval" = yes; then
2194 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
2196 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
2201 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2202 if test "x$LINE" != x
; then
2203 eval "DEFAULT_$LINE"
2208 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2213 eval "$ac_cv_use_no_rtti"
2214 if test "$no_cache" != 1; then
2215 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2218 if test "$wxUSE_NO_RTTI" = yes; then
2219 echo "$ac_t""yes" 1>&6
2221 echo "$ac_t""no" 1>&6
2225 echo $ac_n "checking "for --enable-no_exceptions"""... $ac_c" 1>&6
2226 echo "configure:2227: checking "for --enable-no_exceptions"" >&5
2228 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2229 if test "${enable_no_exceptions+set}" = set; then
2230 enableval
="$enable_no_exceptions"
2232 if test "$enableval" = yes; then
2233 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
2235 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
2240 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2241 if test "x$LINE" != x
; then
2242 eval "DEFAULT_$LINE"
2247 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2252 eval "$ac_cv_use_no_exceptions"
2253 if test "$no_cache" != 1; then
2254 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2257 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2258 echo "$ac_t""yes" 1>&6
2260 echo "$ac_t""no" 1>&6
2264 echo $ac_n "checking "for --enable-permissive"""... $ac_c" 1>&6
2265 echo "configure:2266: checking "for --enable-permissive"" >&5
2267 # Check whether --enable-permissive or --disable-permissive was given.
2268 if test "${enable_permissive+set}" = set; then
2269 enableval
="$enable_permissive"
2271 if test "$enableval" = yes; then
2272 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
2274 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
2279 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2280 if test "x$LINE" != x
; then
2281 eval "DEFAULT_$LINE"
2286 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
2291 eval "$ac_cv_use_permissive"
2292 if test "$no_cache" != 1; then
2293 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
2296 if test "$wxUSE_PERMISSIVE" = yes; then
2297 echo "$ac_t""yes" 1>&6
2299 echo "$ac_t""no" 1>&6
2303 echo $ac_n "checking "for --enable-no_deps"""... $ac_c" 1>&6
2304 echo "configure:2305: checking "for --enable-no_deps"" >&5
2306 # Check whether --enable-no_deps or --disable-no_deps was given.
2307 if test "${enable_no_deps+set}" = set; then
2308 enableval
="$enable_no_deps"
2310 if test "$enableval" = yes; then
2311 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
2313 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
2318 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
2319 if test "x$LINE" != x
; then
2320 eval "DEFAULT_$LINE"
2325 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
2330 eval "$ac_cv_use_no_deps"
2331 if test "$no_cache" != 1; then
2332 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
2335 if test "$wxUSE_NO_DEPS" = yes; then
2336 echo "$ac_t""yes" 1>&6
2338 echo "$ac_t""no" 1>&6
2344 echo $ac_n "checking "for --enable-intl"""... $ac_c" 1>&6
2345 echo "configure:2346: checking "for --enable-intl"" >&5
2347 # Check whether --enable-intl or --disable-intl was given.
2348 if test "${enable_intl+set}" = set; then
2349 enableval
="$enable_intl"
2351 if test "$enableval" = yes; then
2352 ac_cv_use_intl
='wxUSE_INTL=yes'
2354 ac_cv_use_intl
='wxUSE_INTL=no'
2359 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
2360 if test "x$LINE" != x
; then
2361 eval "DEFAULT_$LINE"
2366 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
2371 eval "$ac_cv_use_intl"
2372 if test "$no_cache" != 1; then
2373 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
2376 if test "$wxUSE_INTL" = yes; then
2377 echo "$ac_t""yes" 1>&6
2379 echo "$ac_t""no" 1>&6
2383 echo $ac_n "checking "for --enable-config"""... $ac_c" 1>&6
2384 echo "configure:2385: checking "for --enable-config"" >&5
2386 # Check whether --enable-config or --disable-config was given.
2387 if test "${enable_config+set}" = set; then
2388 enableval
="$enable_config"
2390 if test "$enableval" = yes; then
2391 ac_cv_use_config
='wxUSE_CONFIG=yes'
2393 ac_cv_use_config
='wxUSE_CONFIG=no'
2398 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
2399 if test "x$LINE" != x
; then
2400 eval "DEFAULT_$LINE"
2405 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
2410 eval "$ac_cv_use_config"
2411 if test "$no_cache" != 1; then
2412 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
2415 if test "$wxUSE_CONFIG" = yes; then
2416 echo "$ac_t""yes" 1>&6
2418 echo "$ac_t""no" 1>&6
2422 echo $ac_n "checking "for --enable-sockets"""... $ac_c" 1>&6
2423 echo "configure:2424: checking "for --enable-sockets"" >&5
2425 # Check whether --enable-sockets or --disable-sockets was given.
2426 if test "${enable_sockets+set}" = set; then
2427 enableval
="$enable_sockets"
2429 if test "$enableval" = yes; then
2430 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
2432 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
2437 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
2438 if test "x$LINE" != x
; then
2439 eval "DEFAULT_$LINE"
2444 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
2449 eval "$ac_cv_use_sockets"
2450 if test "$no_cache" != 1; then
2451 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
2454 if test "$wxUSE_SOCKETS" = yes; then
2455 echo "$ac_t""yes" 1>&6
2457 echo "$ac_t""no" 1>&6
2461 echo $ac_n "checking "for --enable-dialupman"""... $ac_c" 1>&6
2462 echo "configure:2463: checking "for --enable-dialupman"" >&5
2464 # Check whether --enable-dialupman or --disable-dialupman was given.
2465 if test "${enable_dialupman+set}" = set; then
2466 enableval
="$enable_dialupman"
2468 if test "$enableval" = yes; then
2469 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
2471 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
2476 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
2477 if test "x$LINE" != x
; then
2478 eval "DEFAULT_$LINE"
2483 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
2488 eval "$ac_cv_use_dialupman"
2489 if test "$no_cache" != 1; then
2490 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
2493 if test "$wxUSE_DIALUP_MANAGER" = yes; then
2494 echo "$ac_t""yes" 1>&6
2496 echo "$ac_t""no" 1>&6
2500 echo $ac_n "checking "for --enable-ipc"""... $ac_c" 1>&6
2501 echo "configure:2502: checking "for --enable-ipc"" >&5
2503 # Check whether --enable-ipc or --disable-ipc was given.
2504 if test "${enable_ipc+set}" = set; then
2505 enableval
="$enable_ipc"
2507 if test "$enableval" = yes; then
2508 ac_cv_use_ipc
='wxUSE_IPC=yes'
2510 ac_cv_use_ipc
='wxUSE_IPC=no'
2515 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
2516 if test "x$LINE" != x
; then
2517 eval "DEFAULT_$LINE"
2522 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
2527 eval "$ac_cv_use_ipc"
2528 if test "$no_cache" != 1; then
2529 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
2532 if test "$wxUSE_IPC" = yes; then
2533 echo "$ac_t""yes" 1>&6
2535 echo "$ac_t""no" 1>&6
2539 echo $ac_n "checking "for --enable-apple_ieee"""... $ac_c" 1>&6
2540 echo "configure:2541: checking "for --enable-apple_ieee"" >&5
2542 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
2543 if test "${enable_apple_ieee+set}" = set; then
2544 enableval
="$enable_apple_ieee"
2546 if test "$enableval" = yes; then
2547 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
2549 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
2554 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
2555 if test "x$LINE" != x
; then
2556 eval "DEFAULT_$LINE"
2561 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
2566 eval "$ac_cv_use_apple_ieee"
2567 if test "$no_cache" != 1; then
2568 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
2571 if test "$wxUSE_APPLE_IEEE" = yes; then
2572 echo "$ac_t""yes" 1>&6
2574 echo "$ac_t""no" 1>&6
2578 echo $ac_n "checking "for --enable-timedate"""... $ac_c" 1>&6
2579 echo "configure:2580: checking "for --enable-timedate"" >&5
2581 # Check whether --enable-timedate or --disable-timedate was given.
2582 if test "${enable_timedate+set}" = set; then
2583 enableval
="$enable_timedate"
2585 if test "$enableval" = yes; then
2586 ac_cv_use_timedate
='wxUSE_TIMEDATE=yes'
2588 ac_cv_use_timedate
='wxUSE_TIMEDATE=no'
2593 LINE
=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}`
2594 if test "x$LINE" != x
; then
2595 eval "DEFAULT_$LINE"
2600 ac_cv_use_timedate
='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
2605 eval "$ac_cv_use_timedate"
2606 if test "$no_cache" != 1; then
2607 echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp
2610 if test "$wxUSE_TIMEDATE" = yes; then
2611 echo "$ac_t""yes" 1>&6
2613 echo "$ac_t""no" 1>&6
2617 echo $ac_n "checking "for --enable-wave"""... $ac_c" 1>&6
2618 echo "configure:2619: checking "for --enable-wave"" >&5
2620 # Check whether --enable-wave or --disable-wave was given.
2621 if test "${enable_wave+set}" = set; then
2622 enableval
="$enable_wave"
2624 if test "$enableval" = yes; then
2625 ac_cv_use_wave
='wxUSE_WAVE=yes'
2627 ac_cv_use_wave
='wxUSE_WAVE=no'
2632 LINE
=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
2633 if test "x$LINE" != x
; then
2634 eval "DEFAULT_$LINE"
2639 ac_cv_use_wave
='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
2644 eval "$ac_cv_use_wave"
2645 if test "$no_cache" != 1; then
2646 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
2649 if test "$wxUSE_WAVE" = yes; then
2650 echo "$ac_t""yes" 1>&6
2652 echo "$ac_t""no" 1>&6
2656 echo $ac_n "checking "for --enable-fraction"""... $ac_c" 1>&6
2657 echo "configure:2658: checking "for --enable-fraction"" >&5
2659 # Check whether --enable-fraction or --disable-fraction was given.
2660 if test "${enable_fraction+set}" = set; then
2661 enableval
="$enable_fraction"
2663 if test "$enableval" = yes; then
2664 ac_cv_use_fraction
='wxUSE_FRACTION=yes'
2666 ac_cv_use_fraction
='wxUSE_FRACTION=no'
2671 LINE
=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
2672 if test "x$LINE" != x
; then
2673 eval "DEFAULT_$LINE"
2678 ac_cv_use_fraction
='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
2683 eval "$ac_cv_use_fraction"
2684 if test "$no_cache" != 1; then
2685 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
2688 if test "$wxUSE_FRACTION" = yes; then
2689 echo "$ac_t""yes" 1>&6
2691 echo "$ac_t""no" 1>&6
2695 echo $ac_n "checking "for --enable-dynlib"""... $ac_c" 1>&6
2696 echo "configure:2697: checking "for --enable-dynlib"" >&5
2698 # Check whether --enable-dynlib or --disable-dynlib was given.
2699 if test "${enable_dynlib+set}" = set; then
2700 enableval
="$enable_dynlib"
2702 if test "$enableval" = yes; then
2703 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
2705 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
2710 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
2711 if test "x$LINE" != x
; then
2712 eval "DEFAULT_$LINE"
2717 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
2722 eval "$ac_cv_use_dynlib"
2723 if test "$no_cache" != 1; then
2724 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
2727 if test "$wxUSE_DYNLIB_CLASS" = yes; then
2728 echo "$ac_t""yes" 1>&6
2730 echo "$ac_t""no" 1>&6
2734 echo $ac_n "checking "for --enable-longlong"""... $ac_c" 1>&6
2735 echo "configure:2736: checking "for --enable-longlong"" >&5
2737 # Check whether --enable-longlong or --disable-longlong was given.
2738 if test "${enable_longlong+set}" = set; then
2739 enableval
="$enable_longlong"
2741 if test "$enableval" = yes; then
2742 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
2744 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
2749 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
2750 if test "x$LINE" != x
; then
2751 eval "DEFAULT_$LINE"
2756 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
2761 eval "$ac_cv_use_longlong"
2762 if test "$no_cache" != 1; then
2763 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
2766 if test "$wxUSE_LONGLONG" = yes; then
2767 echo "$ac_t""yes" 1>&6
2769 echo "$ac_t""no" 1>&6
2773 echo $ac_n "checking "for --enable-log"""... $ac_c" 1>&6
2774 echo "configure:2775: checking "for --enable-log"" >&5
2776 # Check whether --enable-log or --disable-log was given.
2777 if test "${enable_log+set}" = set; then
2778 enableval
="$enable_log"
2780 if test "$enableval" = yes; then
2781 ac_cv_use_log
='wxUSE_LOG=yes'
2783 ac_cv_use_log
='wxUSE_LOG=no'
2788 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
2789 if test "x$LINE" != x
; then
2790 eval "DEFAULT_$LINE"
2795 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
2800 eval "$ac_cv_use_log"
2801 if test "$no_cache" != 1; then
2802 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
2805 if test "$wxUSE_LOG" = yes; then
2806 echo "$ac_t""yes" 1>&6
2808 echo "$ac_t""no" 1>&6
2812 echo $ac_n "checking "for --enable-streams"""... $ac_c" 1>&6
2813 echo "configure:2814: checking "for --enable-streams"" >&5
2815 # Check whether --enable-streams or --disable-streams was given.
2816 if test "${enable_streams+set}" = set; then
2817 enableval
="$enable_streams"
2819 if test "$enableval" = yes; then
2820 ac_cv_use_streams
='wxUSE_STREAMS=yes'
2822 ac_cv_use_streams
='wxUSE_STREAMS=no'
2827 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
2828 if test "x$LINE" != x
; then
2829 eval "DEFAULT_$LINE"
2834 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
2839 eval "$ac_cv_use_streams"
2840 if test "$no_cache" != 1; then
2841 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
2844 if test "$wxUSE_STREAMS" = yes; then
2845 echo "$ac_t""yes" 1>&6
2847 echo "$ac_t""no" 1>&6
2851 echo $ac_n "checking "for --enable-file"""... $ac_c" 1>&6
2852 echo "configure:2853: checking "for --enable-file"" >&5
2854 # Check whether --enable-file or --disable-file was given.
2855 if test "${enable_file+set}" = set; then
2856 enableval
="$enable_file"
2858 if test "$enableval" = yes; then
2859 ac_cv_use_file
='wxUSE_FILE=yes'
2861 ac_cv_use_file
='wxUSE_FILE=no'
2866 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
2867 if test "x$LINE" != x
; then
2868 eval "DEFAULT_$LINE"
2873 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
2878 eval "$ac_cv_use_file"
2879 if test "$no_cache" != 1; then
2880 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
2883 if test "$wxUSE_FILE" = yes; then
2884 echo "$ac_t""yes" 1>&6
2886 echo "$ac_t""no" 1>&6
2890 echo $ac_n "checking "for --enable-textfile"""... $ac_c" 1>&6
2891 echo "configure:2892: checking "for --enable-textfile"" >&5
2893 # Check whether --enable-textfile or --disable-textfile was given.
2894 if test "${enable_textfile+set}" = set; then
2895 enableval
="$enable_textfile"
2897 if test "$enableval" = yes; then
2898 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
2900 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
2905 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
2906 if test "x$LINE" != x
; then
2907 eval "DEFAULT_$LINE"
2912 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
2917 eval "$ac_cv_use_textfile"
2918 if test "$no_cache" != 1; then
2919 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
2922 if test "$wxUSE_TEXTFILE" = yes; then
2923 echo "$ac_t""yes" 1>&6
2925 echo "$ac_t""no" 1>&6
2929 echo $ac_n "checking "for --enable-unicode"""... $ac_c" 1>&6
2930 echo "configure:2931: checking "for --enable-unicode"" >&5
2932 # Check whether --enable-unicode or --disable-unicode was given.
2933 if test "${enable_unicode+set}" = set; then
2934 enableval
="$enable_unicode"
2936 if test "$enableval" = yes; then
2937 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
2939 ac_cv_use_unicode
='wxUSE_UNICODE=no'
2944 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
2945 if test "x$LINE" != x
; then
2946 eval "DEFAULT_$LINE"
2951 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
2956 eval "$ac_cv_use_unicode"
2957 if test "$no_cache" != 1; then
2958 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
2961 if test "$wxUSE_UNICODE" = yes; then
2962 echo "$ac_t""yes" 1>&6
2964 echo "$ac_t""no" 1>&6
2968 echo $ac_n "checking "for --enable-wcsrtombs"""... $ac_c" 1>&6
2969 echo "configure:2970: checking "for --enable-wcsrtombs"" >&5
2971 # Check whether --enable-wcsrtombs or --disable-wcsrtombs was given.
2972 if test "${enable_wcsrtombs+set}" = set; then
2973 enableval
="$enable_wcsrtombs"
2975 if test "$enableval" = yes; then
2976 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS=yes'
2978 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS=no'
2983 LINE
=`grep "wxUSE_WCSRTOMBS" ${wx_arg_cache_file}`
2984 if test "x$LINE" != x
; then
2985 eval "DEFAULT_$LINE"
2990 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS='$DEFAULT_wxUSE_WCSRTOMBS
2995 eval "$ac_cv_use_wcsrtombs"
2996 if test "$no_cache" != 1; then
2997 echo $ac_cv_use_wcsrtombs >> ${wx_arg_cache_file}.tmp
3000 if test "$wxUSE_WCSRTOMBS" = yes; then
3001 echo "$ac_t""yes" 1>&6
3003 echo "$ac_t""no" 1>&6
3007 echo $ac_n "checking "for --enable-wxprintfv"""... $ac_c" 1>&6
3008 echo "configure:3009: checking "for --enable-wxprintfv"" >&5
3010 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
3011 if test "${enable_wxprintfv+set}" = set; then
3012 enableval
="$enable_wxprintfv"
3014 if test "$enableval" = yes; then
3015 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
3017 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
3022 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
3023 if test "x$LINE" != x
; then
3024 eval "DEFAULT_$LINE"
3029 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
3034 eval "$ac_cv_use_wxprintfv"
3035 if test "$no_cache" != 1; then
3036 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
3039 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
3040 echo "$ac_t""yes" 1>&6
3042 echo "$ac_t""no" 1>&6
3046 echo $ac_n "checking "for --enable-joystick"""... $ac_c" 1>&6
3047 echo "configure:3048: checking "for --enable-joystick"" >&5
3049 # Check whether --enable-joystick or --disable-joystick was given.
3050 if test "${enable_joystick+set}" = set; then
3051 enableval
="$enable_joystick"
3053 if test "$enableval" = yes; then
3054 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
3056 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
3061 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
3062 if test "x$LINE" != x
; then
3063 eval "DEFAULT_$LINE"
3068 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
3073 eval "$ac_cv_use_joystick"
3074 if test "$no_cache" != 1; then
3075 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
3078 if test "$wxUSE_JOYSTICK" = yes; then
3079 echo "$ac_t""yes" 1>&6
3081 echo "$ac_t""no" 1>&6
3085 echo $ac_n "checking "for --enable-std_iostreams"""... $ac_c" 1>&6
3086 echo "configure:3087: checking "for --enable-std_iostreams"" >&5
3088 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
3089 if test "${enable_std_iostreams+set}" = set; then
3090 enableval
="$enable_std_iostreams"
3092 if test "$enableval" = yes; then
3093 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
3095 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
3100 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
3101 if test "x$LINE" != x
; then
3102 eval "DEFAULT_$LINE"
3107 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
3112 eval "$ac_cv_use_std_iostreams"
3113 if test "$no_cache" != 1; then
3114 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
3117 if test "$wxUSE_STD_IOSTREAM" = yes; then
3118 echo "$ac_t""yes" 1>&6
3120 echo "$ac_t""no" 1>&6
3124 echo $ac_n "checking "for --enable-fs_inet"""... $ac_c" 1>&6
3125 echo "configure:3126: checking "for --enable-fs_inet"" >&5
3127 # Check whether --enable-fs_inet or --disable-fs_inet was given.
3128 if test "${enable_fs_inet+set}" = set; then
3129 enableval
="$enable_fs_inet"
3131 if test "$enableval" = yes; then
3132 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
3134 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
3139 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
3140 if test "x$LINE" != x
; then
3141 eval "DEFAULT_$LINE"
3146 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
3151 eval "$ac_cv_use_fs_inet"
3152 if test "$no_cache" != 1; then
3153 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
3156 if test "$wxUSE_FS_INET" = yes; then
3157 echo "$ac_t""yes" 1>&6
3159 echo "$ac_t""no" 1>&6
3163 echo $ac_n "checking "for --enable-fs_zip"""... $ac_c" 1>&6
3164 echo "configure:3165: checking "for --enable-fs_zip"" >&5
3166 # Check whether --enable-fs_zip or --disable-fs_zip was given.
3167 if test "${enable_fs_zip+set}" = set; then
3168 enableval
="$enable_fs_zip"
3170 if test "$enableval" = yes; then
3171 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
3173 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
3178 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
3179 if test "x$LINE" != x
; then
3180 eval "DEFAULT_$LINE"
3185 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
3190 eval "$ac_cv_use_fs_zip"
3191 if test "$no_cache" != 1; then
3192 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
3195 if test "$wxUSE_FS_ZIP" = yes; then
3196 echo "$ac_t""yes" 1>&6
3198 echo "$ac_t""no" 1>&6
3202 echo $ac_n "checking "for --enable-zipstream"""... $ac_c" 1>&6
3203 echo "configure:3204: checking "for --enable-zipstream"" >&5
3205 # Check whether --enable-zipstream or --disable-zipstream was given.
3206 if test "${enable_zipstream+set}" = set; then
3207 enableval
="$enable_zipstream"
3209 if test "$enableval" = yes; then
3210 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
3212 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
3217 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
3218 if test "x$LINE" != x
; then
3219 eval "DEFAULT_$LINE"
3224 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
3229 eval "$ac_cv_use_zipstream"
3230 if test "$no_cache" != 1; then
3231 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
3234 if test "$wxUSE_ZIPSTREAM" = yes; then
3235 echo "$ac_t""yes" 1>&6
3237 echo "$ac_t""no" 1>&6
3243 echo $ac_n "checking "for --enable-threads"""... $ac_c" 1>&6
3244 echo "configure:3245: checking "for --enable-threads"" >&5
3246 # Check whether --enable-threads or --disable-threads was given.
3247 if test "${enable_threads+set}" = set; then
3248 enableval
="$enable_threads"
3250 if test "$enableval" = yes; then
3251 ac_cv_use_threads
='wxUSE_THREADS=yes'
3253 ac_cv_use_threads
='wxUSE_THREADS=no'
3258 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
3259 if test "x$LINE" != x
; then
3260 eval "DEFAULT_$LINE"
3265 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
3270 eval "$ac_cv_use_threads"
3271 if test "$no_cache" != 1; then
3272 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
3275 if test "$wxUSE_THREADS" = yes; then
3276 echo "$ac_t""yes" 1>&6
3278 echo "$ac_t""no" 1>&6
3282 echo $ac_n "checking "for --enable-serial"""... $ac_c" 1>&6
3283 echo "configure:3284: checking "for --enable-serial"" >&5
3285 # Check whether --enable-serial or --disable-serial was given.
3286 if test "${enable_serial+set}" = set; then
3287 enableval
="$enable_serial"
3289 if test "$enableval" = yes; then
3290 ac_cv_use_serial
='wxUSE_SERIAL=yes'
3292 ac_cv_use_serial
='wxUSE_SERIAL=no'
3297 LINE
=`grep "wxUSE_SERIAL" ${wx_arg_cache_file}`
3298 if test "x$LINE" != x
; then
3299 eval "DEFAULT_$LINE"
3304 ac_cv_use_serial
='wxUSE_SERIAL='$DEFAULT_wxUSE_SERIAL
3309 eval "$ac_cv_use_serial"
3310 if test "$no_cache" != 1; then
3311 echo $ac_cv_use_serial >> ${wx_arg_cache_file}.tmp
3314 if test "$wxUSE_SERIAL" = yes; then
3315 echo "$ac_t""yes" 1>&6
3317 echo "$ac_t""no" 1>&6
3323 echo $ac_n "checking "for --enable-docview"""... $ac_c" 1>&6
3324 echo "configure:3325: checking "for --enable-docview"" >&5
3326 # Check whether --enable-docview or --disable-docview was given.
3327 if test "${enable_docview+set}" = set; then
3328 enableval
="$enable_docview"
3330 if test "$enableval" = yes; then
3331 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
3333 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
3338 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
3339 if test "x$LINE" != x
; then
3340 eval "DEFAULT_$LINE"
3345 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
3350 eval "$ac_cv_use_docview"
3351 if test "$no_cache" != 1; then
3352 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
3355 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
3356 echo "$ac_t""yes" 1>&6
3358 echo "$ac_t""no" 1>&6
3362 echo $ac_n "checking "for --enable-help"""... $ac_c" 1>&6
3363 echo "configure:3364: checking "for --enable-help"" >&5
3365 # Check whether --enable-help or --disable-help was given.
3366 if test "${enable_help+set}" = set; then
3367 enableval
="$enable_help"
3369 if test "$enableval" = yes; then
3370 ac_cv_use_help
='wxUSE_HELP=yes'
3372 ac_cv_use_help
='wxUSE_HELP=no'
3377 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
3378 if test "x$LINE" != x
; then
3379 eval "DEFAULT_$LINE"
3384 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
3389 eval "$ac_cv_use_help"
3390 if test "$no_cache" != 1; then
3391 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
3394 if test "$wxUSE_HELP" = yes; then
3395 echo "$ac_t""yes" 1>&6
3397 echo "$ac_t""no" 1>&6
3401 echo $ac_n "checking "for --enable-constraints"""... $ac_c" 1>&6
3402 echo "configure:3403: checking "for --enable-constraints"" >&5
3404 # Check whether --enable-constraints or --disable-constraints was given.
3405 if test "${enable_constraints+set}" = set; then
3406 enableval
="$enable_constraints"
3408 if test "$enableval" = yes; then
3409 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
3411 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
3416 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
3417 if test "x$LINE" != x
; then
3418 eval "DEFAULT_$LINE"
3423 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
3428 eval "$ac_cv_use_constraints"
3429 if test "$no_cache" != 1; then
3430 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
3433 if test "$wxUSE_CONSTRAINTS" = yes; then
3434 echo "$ac_t""yes" 1>&6
3436 echo "$ac_t""no" 1>&6
3440 echo $ac_n "checking "for --enable-printarch"""... $ac_c" 1>&6
3441 echo "configure:3442: checking "for --enable-printarch"" >&5
3443 # Check whether --enable-printarch or --disable-printarch was given.
3444 if test "${enable_printarch+set}" = set; then
3445 enableval
="$enable_printarch"
3447 if test "$enableval" = yes; then
3448 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
3450 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
3455 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
3456 if test "x$LINE" != x
; then
3457 eval "DEFAULT_$LINE"
3462 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
3467 eval "$ac_cv_use_printarch"
3468 if test "$no_cache" != 1; then
3469 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
3472 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
3473 echo "$ac_t""yes" 1>&6
3475 echo "$ac_t""no" 1>&6
3479 echo $ac_n "checking "for --enable-mdi"""... $ac_c" 1>&6
3480 echo "configure:3481: checking "for --enable-mdi"" >&5
3482 # Check whether --enable-mdi or --disable-mdi was given.
3483 if test "${enable_mdi+set}" = set; then
3484 enableval
="$enable_mdi"
3486 if test "$enableval" = yes; then
3487 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=yes'
3489 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=no'
3494 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
3495 if test "x$LINE" != x
; then
3496 eval "DEFAULT_$LINE"
3501 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
3506 eval "$ac_cv_use_mdi"
3507 if test "$no_cache" != 1; then
3508 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
3511 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
3512 echo "$ac_t""yes" 1>&6
3514 echo "$ac_t""no" 1>&6
3519 echo $ac_n "checking "for --enable-postscript"""... $ac_c" 1>&6
3520 echo "configure:3521: checking "for --enable-postscript"" >&5
3522 # Check whether --enable-postscript or --disable-postscript was given.
3523 if test "${enable_postscript+set}" = set; then
3524 enableval
="$enable_postscript"
3526 if test "$enableval" = yes; then
3527 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
3529 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
3534 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
3535 if test "x$LINE" != x
; then
3536 eval "DEFAULT_$LINE"
3541 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
3546 eval "$ac_cv_use_postscript"
3547 if test "$no_cache" != 1; then
3548 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
3551 if test "$wxUSE_POSTSCRIPT" = yes; then
3552 echo "$ac_t""yes" 1>&6
3554 echo "$ac_t""no" 1>&6
3560 echo $ac_n "checking "for --enable-prologio"""... $ac_c" 1>&6
3561 echo "configure:3562: checking "for --enable-prologio"" >&5
3563 # Check whether --enable-prologio or --disable-prologio was given.
3564 if test "${enable_prologio+set}" = set; then
3565 enableval
="$enable_prologio"
3567 if test "$enableval" = yes; then
3568 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
3570 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
3575 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
3576 if test "x$LINE" != x
; then
3577 eval "DEFAULT_$LINE"
3582 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
3587 eval "$ac_cv_use_prologio"
3588 if test "$no_cache" != 1; then
3589 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
3592 if test "$wxUSE_PROLOGIO" = yes; then
3593 echo "$ac_t""yes" 1>&6
3595 echo "$ac_t""no" 1>&6
3599 echo $ac_n "checking "for --enable-resources"""... $ac_c" 1>&6
3600 echo "configure:3601: checking "for --enable-resources"" >&5
3602 # Check whether --enable-resources or --disable-resources was given.
3603 if test "${enable_resources+set}" = set; then
3604 enableval
="$enable_resources"
3606 if test "$enableval" = yes; then
3607 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
3609 ac_cv_use_resources
='wxUSE_RESOURCES=no'
3614 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
3615 if test "x$LINE" != x
; then
3616 eval "DEFAULT_$LINE"
3621 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
3626 eval "$ac_cv_use_resources"
3627 if test "$no_cache" != 1; then
3628 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
3631 if test "$wxUSE_RESOURCES" = yes; then
3632 echo "$ac_t""yes" 1>&6
3634 echo "$ac_t""no" 1>&6
3639 echo $ac_n "checking "for --enable-xresources"""... $ac_c" 1>&6
3640 echo "configure:3641: checking "for --enable-xresources"" >&5
3642 # Check whether --enable-xresources or --disable-xresources was given.
3643 if test "${enable_xresources+set}" = set; then
3644 enableval
="$enable_xresources"
3646 if test "$enableval" = yes; then
3647 ac_cv_use_xresources
='wxUSE_X_RESOURCES=yes'
3649 ac_cv_use_xresources
='wxUSE_X_RESOURCES=no'
3654 LINE
=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
3655 if test "x$LINE" != x
; then
3656 eval "DEFAULT_$LINE"
3661 ac_cv_use_xresources
='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
3666 eval "$ac_cv_use_xresources"
3667 if test "$no_cache" != 1; then
3668 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
3671 if test "$wxUSE_X_RESOURCES" = yes; then
3672 echo "$ac_t""yes" 1>&6
3674 echo "$ac_t""no" 1>&6
3680 echo $ac_n "checking "for --enable-clipboard"""... $ac_c" 1>&6
3681 echo "configure:3682: checking "for --enable-clipboard"" >&5
3683 # Check whether --enable-clipboard or --disable-clipboard was given.
3684 if test "${enable_clipboard+set}" = set; then
3685 enableval
="$enable_clipboard"
3687 if test "$enableval" = yes; then
3688 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
3690 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
3695 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
3696 if test "x$LINE" != x
; then
3697 eval "DEFAULT_$LINE"
3702 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
3707 eval "$ac_cv_use_clipboard"
3708 if test "$no_cache" != 1; then
3709 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
3712 if test "$wxUSE_CLIPBOARD" = yes; then
3713 echo "$ac_t""yes" 1>&6
3715 echo "$ac_t""no" 1>&6
3719 echo $ac_n "checking "for --enable-dnd"""... $ac_c" 1>&6
3720 echo "configure:3721: checking "for --enable-dnd"" >&5
3722 # Check whether --enable-dnd or --disable-dnd was given.
3723 if test "${enable_dnd+set}" = set; then
3724 enableval
="$enable_dnd"
3726 if test "$enableval" = yes; then
3727 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
3729 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
3734 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
3735 if test "x$LINE" != x
; then
3736 eval "DEFAULT_$LINE"
3741 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
3746 eval "$ac_cv_use_dnd"
3747 if test "$no_cache" != 1; then
3748 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
3751 if test "$wxUSE_DRAG_AND_DROP" = yes; then
3752 echo "$ac_t""yes" 1>&6
3754 echo "$ac_t""no" 1>&6
3759 echo $ac_n "checking "for --enable-wxtree"""... $ac_c" 1>&6
3760 echo "configure:3761: checking "for --enable-wxtree"" >&5
3762 # Check whether --enable-wxtree or --disable-wxtree was given.
3763 if test "${enable_wxtree+set}" = set; then
3764 enableval
="$enable_wxtree"
3766 if test "$enableval" = yes; then
3767 ac_cv_use_wxtree
='wxUSE_WXTREE=yes'
3769 ac_cv_use_wxtree
='wxUSE_WXTREE=no'
3774 LINE
=`grep "wxUSE_WXTREE" ${wx_arg_cache_file}`
3775 if test "x$LINE" != x
; then
3776 eval "DEFAULT_$LINE"
3781 ac_cv_use_wxtree
='wxUSE_WXTREE='$DEFAULT_wxUSE_WXTREE
3786 eval "$ac_cv_use_wxtree"
3787 if test "$no_cache" != 1; then
3788 echo $ac_cv_use_wxtree >> ${wx_arg_cache_file}.tmp
3791 if test "$wxUSE_WXTREE" = yes; then
3792 echo "$ac_t""yes" 1>&6
3794 echo "$ac_t""no" 1>&6
3800 echo $ac_n "checking "for --enable-controls"""... $ac_c" 1>&6
3801 echo "configure:3802: checking "for --enable-controls"" >&5
3803 # Check whether --enable-controls or --disable-controls was given.
3804 if test "${enable_controls+set}" = set; then
3805 enableval
="$enable_controls"
3807 if test "$enableval" = yes; then
3808 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
3810 ac_cv_use_controls
='wxUSE_CONTROLS=no'
3815 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
3816 if test "x$LINE" != x
; then
3817 eval "DEFAULT_$LINE"
3822 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
3827 eval "$ac_cv_use_controls"
3828 if test "$no_cache" != 1; then
3829 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
3832 if test "$wxUSE_CONTROLS" = yes; then
3833 echo "$ac_t""yes" 1>&6
3835 echo "$ac_t""no" 1>&6
3839 if test "$wxUSE_CONTROLS" = "yes"; then
3840 DEFAULT_wxUSE_ACCEL
=yes
3841 DEFAULT_wxUSE_CARET
=yes
3842 DEFAULT_wxUSE_COMBOBOX
=yes
3843 DEFAULT_wxUSE_BMPBUTTON
=yes
3844 DEFAULT_wxUSE_CHECKBOX
=yes
3845 DEFAULT_wxUSE_CHECKLISTBOX
=yes
3846 DEFAULT_wxUSE_CHOICE
=yes
3847 DEFAULT_wxUSE_GAUGE
=yes
3848 DEFAULT_wxUSE_GRID
=yes
3849 DEFAULT_wxUSE_NEW_GRID
=no
3850 DEFAULT_wxUSE_IMAGLIST
=yes
3851 DEFAULT_wxUSE_LISTBOX
=yes
3852 DEFAULT_wxUSE_LISTCTRL
=yes
3853 DEFAULT_wxUSE_NOTEBOOK
=yes
3854 DEFAULT_wxUSE_RADIOBOX
=yes
3855 DEFAULT_wxUSE_RADIOBTN
=yes
3856 DEFAULT_wxUSE_SASH
=yes
3857 DEFAULT_wxUSE_SCROLLBAR
=yes
3858 DEFAULT_wxUSE_SLIDER
=yes
3859 DEFAULT_wxUSE_SPINBTN
=yes
3860 DEFAULT_wxUSE_SPLITTER
=yes
3861 DEFAULT_wxUSE_STATBMP
=yes
3862 DEFAULT_wxUSE_STATBOX
=yes
3863 DEFAULT_wxUSE_STATLINE
=yes
3864 DEFAULT_wxUSE_STATUSBAR
=yes
3865 DEFAULT_wxUSE_TAB_DIALOG
=yes
3866 DEFAULT_wxUSE_TOOLBAR
=yes
3867 DEFAULT_wxUSE_TOOLTIPS
=yes
3868 DEFAULT_wxUSE_TREECTRL
=yes
3869 elif test "$wxUSE_CONTROLS" = "no"; then
3870 DEFAULT_wxUSE_ACCEL
=no
3871 DEFAULT_wxUSE_CARET
=no
3872 DEFAULT_wxUSE_COMBOBOX
=no
3873 DEFAULT_wxUSE_BMPBUTTON
=no
3874 DEFAULT_wxUSE_CHECKBOX
=no
3875 DEFAULT_wxUSE_CHECKLISTBOX
=no
3876 DEFAULT_wxUSE_CHOICE
=no
3877 DEFAULT_wxUSE_GAUGE
=no
3878 DEFAULT_wxUSE_GRID
=no
3879 DEFAULT_wxUSE_NEW_GRID
=no
3880 DEFAULT_wxUSE_IMAGLIST
=no
3881 DEFAULT_wxUSE_LISTBOX
=no
3882 DEFAULT_wxUSE_LISTCTRL
=no
3883 DEFAULT_wxUSE_NOTEBOOK
=no
3884 DEFAULT_wxUSE_RADIOBOX
=no
3885 DEFAULT_wxUSE_RADIOBTN
=no
3886 DEFAULT_wxUSE_SASH
=no
3887 DEFAULT_wxUSE_SCROLLBAR
=no
3888 DEFAULT_wxUSE_SLIDER
=no
3889 DEFAULT_wxUSE_SPINBTN
=no
3890 DEFAULT_wxUSE_SPLITTER
=no
3891 DEFAULT_wxUSE_STATBMP
=no
3892 DEFAULT_wxUSE_STATBOX
=no
3893 DEFAULT_wxUSE_STATLINE
=no
3894 DEFAULT_wxUSE_STATUSBAR
=no
3895 DEFAULT_wxUSE_TAB_DIALOG
=no
3896 DEFAULT_wxUSE_TOOLBAR
=no
3897 DEFAULT_wxUSE_TOOLTIPS
=no
3898 DEFAULT_wxUSE_TREECTRL
=no
3902 echo $ac_n "checking "for --enable-accel"""... $ac_c" 1>&6
3903 echo "configure:3904: checking "for --enable-accel"" >&5
3905 # Check whether --enable-accel or --disable-accel was given.
3906 if test "${enable_accel+set}" = set; then
3907 enableval
="$enable_accel"
3909 if test "$enableval" = yes; then
3910 ac_cv_use_accel
='wxUSE_ACCEL=yes'
3912 ac_cv_use_accel
='wxUSE_ACCEL=no'
3917 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
3918 if test "x$LINE" != x
; then
3919 eval "DEFAULT_$LINE"
3924 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
3929 eval "$ac_cv_use_accel"
3930 if test "$no_cache" != 1; then
3931 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
3934 if test "$wxUSE_ACCEL" = yes; then
3935 echo "$ac_t""yes" 1>&6
3937 echo "$ac_t""no" 1>&6
3941 echo $ac_n "checking "for --enable-caret"""... $ac_c" 1>&6
3942 echo "configure:3943: checking "for --enable-caret"" >&5
3944 # Check whether --enable-caret or --disable-caret was given.
3945 if test "${enable_caret+set}" = set; then
3946 enableval
="$enable_caret"
3948 if test "$enableval" = yes; then
3949 ac_cv_use_caret
='wxUSE_CARET=yes'
3951 ac_cv_use_caret
='wxUSE_CARET=no'
3956 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
3957 if test "x$LINE" != x
; then
3958 eval "DEFAULT_$LINE"
3963 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
3968 eval "$ac_cv_use_caret"
3969 if test "$no_cache" != 1; then
3970 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
3973 if test "$wxUSE_CARET" = yes; then
3974 echo "$ac_t""yes" 1>&6
3976 echo "$ac_t""no" 1>&6
3980 echo $ac_n "checking "for --enable-bmpbutton"""... $ac_c" 1>&6
3981 echo "configure:3982: checking "for --enable-bmpbutton"" >&5
3983 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
3984 if test "${enable_bmpbutton+set}" = set; then
3985 enableval
="$enable_bmpbutton"
3987 if test "$enableval" = yes; then
3988 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
3990 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
3995 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
3996 if test "x$LINE" != x
; then
3997 eval "DEFAULT_$LINE"
4002 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
4007 eval "$ac_cv_use_bmpbutton"
4008 if test "$no_cache" != 1; then
4009 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
4012 if test "$wxUSE_BMPBUTTON" = yes; then
4013 echo "$ac_t""yes" 1>&6
4015 echo "$ac_t""no" 1>&6
4019 echo $ac_n "checking "for --enable-checkbox"""... $ac_c" 1>&6
4020 echo "configure:4021: checking "for --enable-checkbox"" >&5
4022 # Check whether --enable-checkbox or --disable-checkbox was given.
4023 if test "${enable_checkbox+set}" = set; then
4024 enableval
="$enable_checkbox"
4026 if test "$enableval" = yes; then
4027 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
4029 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
4034 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
4035 if test "x$LINE" != x
; then
4036 eval "DEFAULT_$LINE"
4041 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
4046 eval "$ac_cv_use_checkbox"
4047 if test "$no_cache" != 1; then
4048 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
4051 if test "$wxUSE_CHECKBOX" = yes; then
4052 echo "$ac_t""yes" 1>&6
4054 echo "$ac_t""no" 1>&6
4058 echo $ac_n "checking "for --enable-checklst"""... $ac_c" 1>&6
4059 echo "configure:4060: checking "for --enable-checklst"" >&5
4061 # Check whether --enable-checklst or --disable-checklst was given.
4062 if test "${enable_checklst+set}" = set; then
4063 enableval
="$enable_checklst"
4065 if test "$enableval" = yes; then
4066 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
4068 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
4073 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
4074 if test "x$LINE" != x
; then
4075 eval "DEFAULT_$LINE"
4080 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
4085 eval "$ac_cv_use_checklst"
4086 if test "$no_cache" != 1; then
4087 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
4090 if test "$wxUSE_CHECKLST" = yes; then
4091 echo "$ac_t""yes" 1>&6
4093 echo "$ac_t""no" 1>&6
4097 echo $ac_n "checking "for --enable-choice"""... $ac_c" 1>&6
4098 echo "configure:4099: checking "for --enable-choice"" >&5
4100 # Check whether --enable-choice or --disable-choice was given.
4101 if test "${enable_choice+set}" = set; then
4102 enableval
="$enable_choice"
4104 if test "$enableval" = yes; then
4105 ac_cv_use_choice
='wxUSE_CHOICE=yes'
4107 ac_cv_use_choice
='wxUSE_CHOICE=no'
4112 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
4113 if test "x$LINE" != x
; then
4114 eval "DEFAULT_$LINE"
4119 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
4124 eval "$ac_cv_use_choice"
4125 if test "$no_cache" != 1; then
4126 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
4129 if test "$wxUSE_CHOICE" = yes; then
4130 echo "$ac_t""yes" 1>&6
4132 echo "$ac_t""no" 1>&6
4136 echo $ac_n "checking "for --enable-combobox"""... $ac_c" 1>&6
4137 echo "configure:4138: checking "for --enable-combobox"" >&5
4139 # Check whether --enable-combobox or --disable-combobox was given.
4140 if test "${enable_combobox+set}" = set; then
4141 enableval
="$enable_combobox"
4143 if test "$enableval" = yes; then
4144 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
4146 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
4151 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
4152 if test "x$LINE" != x
; then
4153 eval "DEFAULT_$LINE"
4158 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
4163 eval "$ac_cv_use_combobox"
4164 if test "$no_cache" != 1; then
4165 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
4168 if test "$wxUSE_COMBOBOX" = yes; then
4169 echo "$ac_t""yes" 1>&6
4171 echo "$ac_t""no" 1>&6
4175 echo $ac_n "checking "for --enable-gauge"""... $ac_c" 1>&6
4176 echo "configure:4177: checking "for --enable-gauge"" >&5
4178 # Check whether --enable-gauge or --disable-gauge was given.
4179 if test "${enable_gauge+set}" = set; then
4180 enableval
="$enable_gauge"
4182 if test "$enableval" = yes; then
4183 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
4185 ac_cv_use_gauge
='wxUSE_GAUGE=no'
4190 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
4191 if test "x$LINE" != x
; then
4192 eval "DEFAULT_$LINE"
4197 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
4202 eval "$ac_cv_use_gauge"
4203 if test "$no_cache" != 1; then
4204 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
4207 if test "$wxUSE_GAUGE" = yes; then
4208 echo "$ac_t""yes" 1>&6
4210 echo "$ac_t""no" 1>&6
4214 echo $ac_n "checking "for --enable-grid"""... $ac_c" 1>&6
4215 echo "configure:4216: checking "for --enable-grid"" >&5
4217 # Check whether --enable-grid or --disable-grid was given.
4218 if test "${enable_grid+set}" = set; then
4219 enableval
="$enable_grid"
4221 if test "$enableval" = yes; then
4222 ac_cv_use_grid
='wxUSE_GRID=yes'
4224 ac_cv_use_grid
='wxUSE_GRID=no'
4229 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
4230 if test "x$LINE" != x
; then
4231 eval "DEFAULT_$LINE"
4236 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
4241 eval "$ac_cv_use_grid"
4242 if test "$no_cache" != 1; then
4243 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
4246 if test "$wxUSE_GRID" = yes; then
4247 echo "$ac_t""yes" 1>&6
4249 echo "$ac_t""no" 1>&6
4253 echo $ac_n "checking "for --enable-newgrid"""... $ac_c" 1>&6
4254 echo "configure:4255: checking "for --enable-newgrid"" >&5
4256 # Check whether --enable-newgrid or --disable-newgrid was given.
4257 if test "${enable_newgrid+set}" = set; then
4258 enableval
="$enable_newgrid"
4260 if test "$enableval" = yes; then
4261 ac_cv_use_newgrid
='wxUSE_NEW_GRID=yes'
4263 ac_cv_use_newgrid
='wxUSE_NEW_GRID=no'
4268 LINE
=`grep "wxUSE_NEW_GRID" ${wx_arg_cache_file}`
4269 if test "x$LINE" != x
; then
4270 eval "DEFAULT_$LINE"
4275 ac_cv_use_newgrid
='wxUSE_NEW_GRID='$DEFAULT_wxUSE_NEW_GRID
4280 eval "$ac_cv_use_newgrid"
4281 if test "$no_cache" != 1; then
4282 echo $ac_cv_use_newgrid >> ${wx_arg_cache_file}.tmp
4285 if test "$wxUSE_NEW_GRID" = yes; then
4286 echo "$ac_t""yes" 1>&6
4288 echo "$ac_t""no" 1>&6
4292 echo $ac_n "checking "for --enable-imaglist"""... $ac_c" 1>&6
4293 echo "configure:4294: checking "for --enable-imaglist"" >&5
4295 # Check whether --enable-imaglist or --disable-imaglist was given.
4296 if test "${enable_imaglist+set}" = set; then
4297 enableval
="$enable_imaglist"
4299 if test "$enableval" = yes; then
4300 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
4302 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
4307 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
4308 if test "x$LINE" != x
; then
4309 eval "DEFAULT_$LINE"
4314 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
4319 eval "$ac_cv_use_imaglist"
4320 if test "$no_cache" != 1; then
4321 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
4324 if test "$wxUSE_IMAGLIST" = yes; then
4325 echo "$ac_t""yes" 1>&6
4327 echo "$ac_t""no" 1>&6
4331 echo $ac_n "checking "for --enable-listbox"""... $ac_c" 1>&6
4332 echo "configure:4333: checking "for --enable-listbox"" >&5
4334 # Check whether --enable-listbox or --disable-listbox was given.
4335 if test "${enable_listbox+set}" = set; then
4336 enableval
="$enable_listbox"
4338 if test "$enableval" = yes; then
4339 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
4341 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
4346 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
4347 if test "x$LINE" != x
; then
4348 eval "DEFAULT_$LINE"
4353 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
4358 eval "$ac_cv_use_listbox"
4359 if test "$no_cache" != 1; then
4360 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
4363 if test "$wxUSE_LISTBOX" = yes; then
4364 echo "$ac_t""yes" 1>&6
4366 echo "$ac_t""no" 1>&6
4370 echo $ac_n "checking "for --enable-listctrl"""... $ac_c" 1>&6
4371 echo "configure:4372: checking "for --enable-listctrl"" >&5
4373 # Check whether --enable-listctrl or --disable-listctrl was given.
4374 if test "${enable_listctrl+set}" = set; then
4375 enableval
="$enable_listctrl"
4377 if test "$enableval" = yes; then
4378 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
4380 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
4385 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
4386 if test "x$LINE" != x
; then
4387 eval "DEFAULT_$LINE"
4392 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
4397 eval "$ac_cv_use_listctrl"
4398 if test "$no_cache" != 1; then
4399 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
4402 if test "$wxUSE_LISTCTRL" = yes; then
4403 echo "$ac_t""yes" 1>&6
4405 echo "$ac_t""no" 1>&6
4409 echo $ac_n "checking "for --enable-notebook"""... $ac_c" 1>&6
4410 echo "configure:4411: checking "for --enable-notebook"" >&5
4412 # Check whether --enable-notebook or --disable-notebook was given.
4413 if test "${enable_notebook+set}" = set; then
4414 enableval
="$enable_notebook"
4416 if test "$enableval" = yes; then
4417 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
4419 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
4424 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
4425 if test "x$LINE" != x
; then
4426 eval "DEFAULT_$LINE"
4431 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
4436 eval "$ac_cv_use_notebook"
4437 if test "$no_cache" != 1; then
4438 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
4441 if test "$wxUSE_NOTEBOOK" = yes; then
4442 echo "$ac_t""yes" 1>&6
4444 echo "$ac_t""no" 1>&6
4448 echo $ac_n "checking "for --enable-radiobox"""... $ac_c" 1>&6
4449 echo "configure:4450: checking "for --enable-radiobox"" >&5
4451 # Check whether --enable-radiobox or --disable-radiobox was given.
4452 if test "${enable_radiobox+set}" = set; then
4453 enableval
="$enable_radiobox"
4455 if test "$enableval" = yes; then
4456 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
4458 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
4463 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
4464 if test "x$LINE" != x
; then
4465 eval "DEFAULT_$LINE"
4470 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
4475 eval "$ac_cv_use_radiobox"
4476 if test "$no_cache" != 1; then
4477 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
4480 if test "$wxUSE_RADIOBOX" = yes; then
4481 echo "$ac_t""yes" 1>&6
4483 echo "$ac_t""no" 1>&6
4487 echo $ac_n "checking "for --enable-radiobtn"""... $ac_c" 1>&6
4488 echo "configure:4489: checking "for --enable-radiobtn"" >&5
4490 # Check whether --enable-radiobtn or --disable-radiobtn was given.
4491 if test "${enable_radiobtn+set}" = set; then
4492 enableval
="$enable_radiobtn"
4494 if test "$enableval" = yes; then
4495 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
4497 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
4502 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
4503 if test "x$LINE" != x
; then
4504 eval "DEFAULT_$LINE"
4509 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
4514 eval "$ac_cv_use_radiobtn"
4515 if test "$no_cache" != 1; then
4516 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
4519 if test "$wxUSE_RADIOBTN" = yes; then
4520 echo "$ac_t""yes" 1>&6
4522 echo "$ac_t""no" 1>&6
4526 echo $ac_n "checking "for --enable-sash"""... $ac_c" 1>&6
4527 echo "configure:4528: checking "for --enable-sash"" >&5
4529 # Check whether --enable-sash or --disable-sash was given.
4530 if test "${enable_sash+set}" = set; then
4531 enableval
="$enable_sash"
4533 if test "$enableval" = yes; then
4534 ac_cv_use_sash
='wxUSE_SASH=yes'
4536 ac_cv_use_sash
='wxUSE_SASH=no'
4541 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
4542 if test "x$LINE" != x
; then
4543 eval "DEFAULT_$LINE"
4548 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
4553 eval "$ac_cv_use_sash"
4554 if test "$no_cache" != 1; then
4555 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
4558 if test "$wxUSE_SASH" = yes; then
4559 echo "$ac_t""yes" 1>&6
4561 echo "$ac_t""no" 1>&6
4565 echo $ac_n "checking "for --enable-scrollbar"""... $ac_c" 1>&6
4566 echo "configure:4567: checking "for --enable-scrollbar"" >&5
4568 # Check whether --enable-scrollbar or --disable-scrollbar was given.
4569 if test "${enable_scrollbar+set}" = set; then
4570 enableval
="$enable_scrollbar"
4572 if test "$enableval" = yes; then
4573 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
4575 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
4580 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
4581 if test "x$LINE" != x
; then
4582 eval "DEFAULT_$LINE"
4587 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
4592 eval "$ac_cv_use_scrollbar"
4593 if test "$no_cache" != 1; then
4594 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
4597 if test "$wxUSE_SCROLLBAR" = yes; then
4598 echo "$ac_t""yes" 1>&6
4600 echo "$ac_t""no" 1>&6
4604 echo $ac_n "checking "for --enable-slider"""... $ac_c" 1>&6
4605 echo "configure:4606: checking "for --enable-slider"" >&5
4607 # Check whether --enable-slider or --disable-slider was given.
4608 if test "${enable_slider+set}" = set; then
4609 enableval
="$enable_slider"
4611 if test "$enableval" = yes; then
4612 ac_cv_use_slider
='wxUSE_SLIDER=yes'
4614 ac_cv_use_slider
='wxUSE_SLIDER=no'
4619 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
4620 if test "x$LINE" != x
; then
4621 eval "DEFAULT_$LINE"
4626 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
4631 eval "$ac_cv_use_slider"
4632 if test "$no_cache" != 1; then
4633 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
4636 if test "$wxUSE_SLIDER" = yes; then
4637 echo "$ac_t""yes" 1>&6
4639 echo "$ac_t""no" 1>&6
4643 echo $ac_n "checking "for --enable-spinbtn"""... $ac_c" 1>&6
4644 echo "configure:4645: checking "for --enable-spinbtn"" >&5
4646 # Check whether --enable-spinbtn or --disable-spinbtn was given.
4647 if test "${enable_spinbtn+set}" = set; then
4648 enableval
="$enable_spinbtn"
4650 if test "$enableval" = yes; then
4651 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
4653 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
4658 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
4659 if test "x$LINE" != x
; then
4660 eval "DEFAULT_$LINE"
4665 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
4670 eval "$ac_cv_use_spinbtn"
4671 if test "$no_cache" != 1; then
4672 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
4675 if test "$wxUSE_SPINBTN" = yes; then
4676 echo "$ac_t""yes" 1>&6
4678 echo "$ac_t""no" 1>&6
4682 echo $ac_n "checking "for --enable-splitter"""... $ac_c" 1>&6
4683 echo "configure:4684: checking "for --enable-splitter"" >&5
4685 # Check whether --enable-splitter or --disable-splitter was given.
4686 if test "${enable_splitter+set}" = set; then
4687 enableval
="$enable_splitter"
4689 if test "$enableval" = yes; then
4690 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
4692 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
4697 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
4698 if test "x$LINE" != x
; then
4699 eval "DEFAULT_$LINE"
4704 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
4709 eval "$ac_cv_use_splitter"
4710 if test "$no_cache" != 1; then
4711 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
4714 if test "$wxUSE_SPLITTER" = yes; then
4715 echo "$ac_t""yes" 1>&6
4717 echo "$ac_t""no" 1>&6
4721 echo $ac_n "checking "for --enable-statbmp"""... $ac_c" 1>&6
4722 echo "configure:4723: checking "for --enable-statbmp"" >&5
4724 # Check whether --enable-statbmp or --disable-statbmp was given.
4725 if test "${enable_statbmp+set}" = set; then
4726 enableval
="$enable_statbmp"
4728 if test "$enableval" = yes; then
4729 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
4731 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
4736 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
4737 if test "x$LINE" != x
; then
4738 eval "DEFAULT_$LINE"
4743 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
4748 eval "$ac_cv_use_statbmp"
4749 if test "$no_cache" != 1; then
4750 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
4753 if test "$wxUSE_STATBMP" = yes; then
4754 echo "$ac_t""yes" 1>&6
4756 echo "$ac_t""no" 1>&6
4760 echo $ac_n "checking "for --enable-statbox"""... $ac_c" 1>&6
4761 echo "configure:4762: checking "for --enable-statbox"" >&5
4763 # Check whether --enable-statbox or --disable-statbox was given.
4764 if test "${enable_statbox+set}" = set; then
4765 enableval
="$enable_statbox"
4767 if test "$enableval" = yes; then
4768 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
4770 ac_cv_use_statbox
='wxUSE_STATBOX=no'
4775 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
4776 if test "x$LINE" != x
; then
4777 eval "DEFAULT_$LINE"
4782 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
4787 eval "$ac_cv_use_statbox"
4788 if test "$no_cache" != 1; then
4789 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
4792 if test "$wxUSE_STATBOX" = yes; then
4793 echo "$ac_t""yes" 1>&6
4795 echo "$ac_t""no" 1>&6
4799 echo $ac_n "checking "for --enable-statline"""... $ac_c" 1>&6
4800 echo "configure:4801: checking "for --enable-statline"" >&5
4802 # Check whether --enable-statline or --disable-statline was given.
4803 if test "${enable_statline+set}" = set; then
4804 enableval
="$enable_statline"
4806 if test "$enableval" = yes; then
4807 ac_cv_use_statline
='wxUSE_STATLINE=yes'
4809 ac_cv_use_statline
='wxUSE_STATLINE=no'
4814 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
4815 if test "x$LINE" != x
; then
4816 eval "DEFAULT_$LINE"
4821 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
4826 eval "$ac_cv_use_statline"
4827 if test "$no_cache" != 1; then
4828 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
4831 if test "$wxUSE_STATLINE" = yes; then
4832 echo "$ac_t""yes" 1>&6
4834 echo "$ac_t""no" 1>&6
4838 echo $ac_n "checking "for --enable-statusbar"""... $ac_c" 1>&6
4839 echo "configure:4840: checking "for --enable-statusbar"" >&5
4841 # Check whether --enable-statusbar or --disable-statusbar was given.
4842 if test "${enable_statusbar+set}" = set; then
4843 enableval
="$enable_statusbar"
4845 if test "$enableval" = yes; then
4846 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
4848 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
4853 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
4854 if test "x$LINE" != x
; then
4855 eval "DEFAULT_$LINE"
4860 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
4865 eval "$ac_cv_use_statusbar"
4866 if test "$no_cache" != 1; then
4867 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
4870 if test "$wxUSE_STATUSBAR" = yes; then
4871 echo "$ac_t""yes" 1>&6
4873 echo "$ac_t""no" 1>&6
4877 echo $ac_n "checking "for --enable-tabdialog"""... $ac_c" 1>&6
4878 echo "configure:4879: checking "for --enable-tabdialog"" >&5
4880 # Check whether --enable-tabdialog or --disable-tabdialog was given.
4881 if test "${enable_tabdialog+set}" = set; then
4882 enableval
="$enable_tabdialog"
4884 if test "$enableval" = yes; then
4885 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
4887 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
4892 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
4893 if test "x$LINE" != x
; then
4894 eval "DEFAULT_$LINE"
4899 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
4904 eval "$ac_cv_use_tabdialog"
4905 if test "$no_cache" != 1; then
4906 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
4909 if test "$wxUSE_TABDIALOG" = yes; then
4910 echo "$ac_t""yes" 1>&6
4912 echo "$ac_t""no" 1>&6
4916 echo $ac_n "checking "for --enable-toolbar"""... $ac_c" 1>&6
4917 echo "configure:4918: checking "for --enable-toolbar"" >&5
4919 # Check whether --enable-toolbar or --disable-toolbar was given.
4920 if test "${enable_toolbar+set}" = set; then
4921 enableval
="$enable_toolbar"
4923 if test "$enableval" = yes; then
4924 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
4926 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
4931 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
4932 if test "x$LINE" != x
; then
4933 eval "DEFAULT_$LINE"
4938 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
4943 eval "$ac_cv_use_toolbar"
4944 if test "$no_cache" != 1; then
4945 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
4948 if test "$wxUSE_TOOLBAR" = yes; then
4949 echo "$ac_t""yes" 1>&6
4951 echo "$ac_t""no" 1>&6
4955 echo $ac_n "checking "for --enable-treectrl"""... $ac_c" 1>&6
4956 echo "configure:4957: checking "for --enable-treectrl"" >&5
4958 # Check whether --enable-treectrl or --disable-treectrl was given.
4959 if test "${enable_treectrl+set}" = set; then
4960 enableval
="$enable_treectrl"
4962 if test "$enableval" = yes; then
4963 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
4965 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
4970 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
4971 if test "x$LINE" != x
; then
4972 eval "DEFAULT_$LINE"
4977 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
4982 eval "$ac_cv_use_treectrl"
4983 if test "$no_cache" != 1; then
4984 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
4987 if test "$wxUSE_TREECTRL" = yes; then
4988 echo "$ac_t""yes" 1>&6
4990 echo "$ac_t""no" 1>&6
4996 echo $ac_n "checking "for --enable-commondlg"""... $ac_c" 1>&6
4997 echo "configure:4998: checking "for --enable-commondlg"" >&5
4999 # Check whether --enable-commondlg or --disable-commondlg was given.
5000 if test "${enable_commondlg+set}" = set; then
5001 enableval
="$enable_commondlg"
5003 if test "$enableval" = yes; then
5004 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
5006 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
5011 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
5012 if test "x$LINE" != x
; then
5013 eval "DEFAULT_$LINE"
5018 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
5023 eval "$ac_cv_use_commondlg"
5024 if test "$no_cache" != 1; then
5025 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
5028 if test "$wxUSE_COMMONDLGS" = yes; then
5029 echo "$ac_t""yes" 1>&6
5031 echo "$ac_t""no" 1>&6
5035 echo $ac_n "checking "for --enable-dirdlg"""... $ac_c" 1>&6
5036 echo "configure:5037: checking "for --enable-dirdlg"" >&5
5038 # Check whether --enable-dirdlg or --disable-dirdlg was given.
5039 if test "${enable_dirdlg+set}" = set; then
5040 enableval
="$enable_dirdlg"
5042 if test "$enableval" = yes; then
5043 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
5045 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
5050 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
5051 if test "x$LINE" != x
; then
5052 eval "DEFAULT_$LINE"
5057 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
5062 eval "$ac_cv_use_dirdlg"
5063 if test "$no_cache" != 1; then
5064 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
5067 if test "$wxUSE_DIRDLG" = yes; then
5068 echo "$ac_t""yes" 1>&6
5070 echo "$ac_t""no" 1>&6
5074 echo $ac_n "checking "for --enable-textdlg"""... $ac_c" 1>&6
5075 echo "configure:5076: checking "for --enable-textdlg"" >&5
5077 # Check whether --enable-textdlg or --disable-textdlg was given.
5078 if test "${enable_textdlg+set}" = set; then
5079 enableval
="$enable_textdlg"
5081 if test "$enableval" = yes; then
5082 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
5084 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
5089 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
5090 if test "x$LINE" != x
; then
5091 eval "DEFAULT_$LINE"
5096 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
5101 eval "$ac_cv_use_textdlg"
5102 if test "$no_cache" != 1; then
5103 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
5106 if test "$wxUSE_TEXTDLG" = yes; then
5107 echo "$ac_t""yes" 1>&6
5109 echo "$ac_t""no" 1>&6
5113 echo $ac_n "checking "for --enable-tipdlg"""... $ac_c" 1>&6
5114 echo "configure:5115: checking "for --enable-tipdlg"" >&5
5116 # Check whether --enable-tipdlg or --disable-tipdlg was given.
5117 if test "${enable_tipdlg+set}" = set; then
5118 enableval
="$enable_tipdlg"
5120 if test "$enableval" = yes; then
5121 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
5123 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
5128 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
5129 if test "x$LINE" != x
; then
5130 eval "DEFAULT_$LINE"
5135 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
5140 eval "$ac_cv_use_tipdlg"
5141 if test "$no_cache" != 1; then
5142 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
5145 if test "$wxUSE_STARTUP_TIPS" = yes; then
5146 echo "$ac_t""yes" 1>&6
5148 echo "$ac_t""no" 1>&6
5152 echo $ac_n "checking "for --enable-progressdlg"""... $ac_c" 1>&6
5153 echo "configure:5154: checking "for --enable-progressdlg"" >&5
5155 # Check whether --enable-progressdlg or --disable-progressdlg was given.
5156 if test "${enable_progressdlg+set}" = set; then
5157 enableval
="$enable_progressdlg"
5159 if test "$enableval" = yes; then
5160 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
5162 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
5167 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
5168 if test "x$LINE" != x
; then
5169 eval "DEFAULT_$LINE"
5174 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
5179 eval "$ac_cv_use_progressdlg"
5180 if test "$no_cache" != 1; then
5181 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
5184 if test "$wxUSE_PROGRESSDLG" = yes; then
5185 echo "$ac_t""yes" 1>&6
5187 echo "$ac_t""no" 1>&6
5191 echo $ac_n "checking "for --enable-miniframe"""... $ac_c" 1>&6
5192 echo "configure:5193: checking "for --enable-miniframe"" >&5
5194 # Check whether --enable-miniframe or --disable-miniframe was given.
5195 if test "${enable_miniframe+set}" = set; then
5196 enableval
="$enable_miniframe"
5198 if test "$enableval" = yes; then
5199 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
5201 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
5206 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
5207 if test "x$LINE" != x
; then
5208 eval "DEFAULT_$LINE"
5213 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
5218 eval "$ac_cv_use_miniframe"
5219 if test "$no_cache" != 1; then
5220 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
5223 if test "$wxUSE_MINIFRAME" = yes; then
5224 echo "$ac_t""yes" 1>&6
5226 echo "$ac_t""no" 1>&6
5230 echo $ac_n "checking "for --enable-html"""... $ac_c" 1>&6
5231 echo "configure:5232: checking "for --enable-html"" >&5
5233 # Check whether --enable-html or --disable-html was given.
5234 if test "${enable_html+set}" = set; then
5235 enableval
="$enable_html"
5237 if test "$enableval" = yes; then
5238 ac_cv_use_html
='wxUSE_HTML=yes'
5240 ac_cv_use_html
='wxUSE_HTML=no'
5245 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
5246 if test "x$LINE" != x
; then
5247 eval "DEFAULT_$LINE"
5252 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
5257 eval "$ac_cv_use_html"
5258 if test "$no_cache" != 1; then
5259 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
5262 if test "$wxUSE_HTML" = yes; then
5263 echo "$ac_t""yes" 1>&6
5265 echo "$ac_t""no" 1>&6
5269 echo $ac_n "checking "for --enable-tooltips"""... $ac_c" 1>&6
5270 echo "configure:5271: checking "for --enable-tooltips"" >&5
5272 # Check whether --enable-tooltips or --disable-tooltips was given.
5273 if test "${enable_tooltips+set}" = set; then
5274 enableval
="$enable_tooltips"
5276 if test "$enableval" = yes; then
5277 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
5279 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
5284 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
5285 if test "x$LINE" != x
; then
5286 eval "DEFAULT_$LINE"
5291 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
5296 eval "$ac_cv_use_tooltips"
5297 if test "$no_cache" != 1; then
5298 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
5301 if test "$wxUSE_TOOLTIPS" = yes; then
5302 echo "$ac_t""yes" 1>&6
5304 echo "$ac_t""no" 1>&6
5308 echo $ac_n "checking "for --enable-splines"""... $ac_c" 1>&6
5309 echo "configure:5310: checking "for --enable-splines"" >&5
5311 # Check whether --enable-splines or --disable-splines was given.
5312 if test "${enable_splines+set}" = set; then
5313 enableval
="$enable_splines"
5315 if test "$enableval" = yes; then
5316 ac_cv_use_splines
='wxUSE_SPLINES=yes'
5318 ac_cv_use_splines
='wxUSE_SPLINES=no'
5323 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
5324 if test "x$LINE" != x
; then
5325 eval "DEFAULT_$LINE"
5330 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
5335 eval "$ac_cv_use_splines"
5336 if test "$no_cache" != 1; then
5337 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
5340 if test "$wxUSE_SPLINES" = yes; then
5341 echo "$ac_t""yes" 1>&6
5343 echo "$ac_t""no" 1>&6
5347 echo $ac_n "checking "for --enable-validators"""... $ac_c" 1>&6
5348 echo "configure:5349: checking "for --enable-validators"" >&5
5350 # Check whether --enable-validators or --disable-validators was given.
5351 if test "${enable_validators+set}" = set; then
5352 enableval
="$enable_validators"
5354 if test "$enableval" = yes; then
5355 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
5357 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
5362 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
5363 if test "x$LINE" != x
; then
5364 eval "DEFAULT_$LINE"
5369 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
5374 eval "$ac_cv_use_validators"
5375 if test "$no_cache" != 1; then
5376 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
5379 if test "$wxUSE_VALIDATORS" = yes; then
5380 echo "$ac_t""yes" 1>&6
5382 echo "$ac_t""no" 1>&6
5386 echo $ac_n "checking "for --enable-busyinfo"""... $ac_c" 1>&6
5387 echo "configure:5388: checking "for --enable-busyinfo"" >&5
5389 # Check whether --enable-busyinfo or --disable-busyinfo was given.
5390 if test "${enable_busyinfo+set}" = set; then
5391 enableval
="$enable_busyinfo"
5393 if test "$enableval" = yes; then
5394 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
5396 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
5401 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
5402 if test "x$LINE" != x
; then
5403 eval "DEFAULT_$LINE"
5408 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
5413 eval "$ac_cv_use_busyinfo"
5414 if test "$no_cache" != 1; then
5415 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
5418 if test "$wxUSE_BUSYINFO" = yes; then
5419 echo "$ac_t""yes" 1>&6
5421 echo "$ac_t""no" 1>&6
5427 echo $ac_n "checking "for --enable-gif"""... $ac_c" 1>&6
5428 echo "configure:5429: checking "for --enable-gif"" >&5
5430 # Check whether --enable-gif or --disable-gif was given.
5431 if test "${enable_gif+set}" = set; then
5432 enableval
="$enable_gif"
5434 if test "$enableval" = yes; then
5435 ac_cv_use_gif
='wxUSE_GIF=yes'
5437 ac_cv_use_gif
='wxUSE_GIF=no'
5442 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
5443 if test "x$LINE" != x
; then
5444 eval "DEFAULT_$LINE"
5449 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
5454 eval "$ac_cv_use_gif"
5455 if test "$no_cache" != 1; then
5456 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
5459 if test "$wxUSE_GIF" = yes; then
5460 echo "$ac_t""yes" 1>&6
5462 echo "$ac_t""no" 1>&6
5466 echo $ac_n "checking "for --enable-pcx"""... $ac_c" 1>&6
5467 echo "configure:5468: checking "for --enable-pcx"" >&5
5469 # Check whether --enable-pcx or --disable-pcx was given.
5470 if test "${enable_pcx+set}" = set; then
5471 enableval
="$enable_pcx"
5473 if test "$enableval" = yes; then
5474 ac_cv_use_pcx
='wxUSE_PCX=yes'
5476 ac_cv_use_pcx
='wxUSE_PCX=no'
5481 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
5482 if test "x$LINE" != x
; then
5483 eval "DEFAULT_$LINE"
5488 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
5493 eval "$ac_cv_use_pcx"
5494 if test "$no_cache" != 1; then
5495 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
5498 if test "$wxUSE_PCX" = yes; then
5499 echo "$ac_t""yes" 1>&6
5501 echo "$ac_t""no" 1>&6
5505 echo $ac_n "checking "for --enable-pnm"""... $ac_c" 1>&6
5506 echo "configure:5507: checking "for --enable-pnm"" >&5
5508 # Check whether --enable-pnm or --disable-pnm was given.
5509 if test "${enable_pnm+set}" = set; then
5510 enableval
="$enable_pnm"
5512 if test "$enableval" = yes; then
5513 ac_cv_use_pnm
='wxUSE_PNM=yes'
5515 ac_cv_use_pnm
='wxUSE_PNM=no'
5520 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
5521 if test "x$LINE" != x
; then
5522 eval "DEFAULT_$LINE"
5527 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
5532 eval "$ac_cv_use_pnm"
5533 if test "$no_cache" != 1; then
5534 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
5537 if test "$wxUSE_PNM" = yes; then
5538 echo "$ac_t""yes" 1>&6
5540 echo "$ac_t""no" 1>&6
5545 echo "saving argument cache $wx_arg_cache_file"
5546 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
5550 echo $ac_n "checking for toolkit""... $ac_c" 1>&6
5551 echo "configure:5552: checking for toolkit" >&5
5553 if test "$wxUSE_GUI" = "yes"; then
5555 if test "$TOOLKIT_GIVEN" = 1; then
5556 for toolkit
in `echo $ALL_TOOLKITS`; do
5558 eval "value=\$${var}"
5559 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
5562 for toolkit
in `echo $ALL_TOOLKITS`; do
5563 if test "$has_toolkit_in_cache" != 1; then
5564 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
5566 var
=DEFAULT_wxUSE_
$toolkit
5568 eval "wxUSE_$toolkit=\$${var}"
5572 NUM_TOOLKITS
=`expr ${wxUSE_GTK:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_WINE:-0} + ${wxUSE_MINGW:-0} + ${wxUSE_CYGWIN:-0}`
5574 case "$NUM_TOOLKITS" in
5578 { echo "configure: error: Please specify a toolkit - cannot determine the default for ${host}" 1>&2; exit 1; }
5581 { echo "configure: error: Please specify at most one toolkit (may be some are cached?)" 1>&2; exit 1; }
5584 for toolkit
in `echo $ALL_TOOLKITS`; do
5586 eval "value=\$${var}"
5587 if test "x$value" != x
; then
5588 cache_var
=CACHE_
$toolkit
5589 eval "cache=\$${cache_var}"
5590 if test "$cache" = 1; then
5591 echo "$var=$value" >> ${wx_arg_cache_file}
5593 if test "$value" = 1; then
5594 echo "$ac_t""`echo $toolkit | tr A-Z a-z`" 1>&6
5600 echo "$ac_t""base only" 1>&6
5604 cat > confcache
<<\EOF
5605 # This file is a shell script that caches the results of configure
5606 # tests run on this system so they can be shared between configure
5607 # scripts and configure runs. It is not useful on other systems.
5608 # If it contains results you don't want to keep, you may remove or edit it.
5610 # By default, configure uses ./config.cache as the cache file,
5611 # creating it if it does not exist already. You can give configure
5612 # the --cache-file=FILE option to use a different cache file; that is
5613 # what configure does when it calls configure scripts in
5614 # subdirectories, so they share the cache.
5615 # Giving --cache-file=/dev/null disables caching, for debugging configure.
5616 # config.status only pays attention to the cache file if you give it the
5617 # --recheck option to rerun configure.
5620 # The following way of writing the cache mishandles newlines in values,
5621 # but we know of no workaround that is simple, portable, and efficient.
5622 # So, don't put newlines in cache variables' values.
5623 # Ultrix sh set writes to stderr and can't be redirected directly,
5624 # and sets the high bit in the cache file unless we assign to the vars.
5626 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5628 # `set' does not quote correctly, so add quotes (double-quote substitution
5629 # turns \\\\ into \\, and sed turns \\ into \).
5631 -e "s/'/'\\\\''/g" \
5632 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
5635 # `set' quotes correctly as required by POSIX, so do not add quotes.
5636 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
5639 if cmp -s $cache_file confcache
; then
5642 if test -w $cache_file; then
5643 echo "updating cache $cache_file"
5644 cat confcache
> $cache_file
5646 echo "not updating unwritable cache $cache_file"
5652 if eval "test $host != $build"; then
5653 if eval "test $host_alias != NONE"; then
5657 RANLIB
=$host_alias-ranlib
5658 DLLTOOL
=$host_alias-dlltool
5661 STRIP
=$host_alias-strip
5665 # Extract the first word of "gcc", so it can be a program name with args.
5666 set dummy gcc
; ac_word
=$2
5667 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5668 echo "configure:5669: checking for $ac_word" >&5
5669 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
5670 echo $ac_n "(cached) $ac_c" 1>&6
5672 if test -n "$CC"; then
5673 ac_cv_prog_CC
="$CC" # Let the user override the test.
5675 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
5677 for ac_dir
in $ac_dummy; do
5678 test -z "$ac_dir" && ac_dir
=.
5679 if test -f $ac_dir/$ac_word; then
5688 if test -n "$CC"; then
5689 echo "$ac_t""$CC" 1>&6
5691 echo "$ac_t""no" 1>&6
5694 if test -z "$CC"; then
5695 # Extract the first word of "cc", so it can be a program name with args.
5696 set dummy cc
; ac_word
=$2
5697 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5698 echo "configure:5699: checking for $ac_word" >&5
5699 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
5700 echo $ac_n "(cached) $ac_c" 1>&6
5702 if test -n "$CC"; then
5703 ac_cv_prog_CC
="$CC" # Let the user override the test.
5705 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
5708 for ac_dir
in $ac_dummy; do
5709 test -z "$ac_dir" && ac_dir
=.
5710 if test -f $ac_dir/$ac_word; then
5711 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
5712 ac_prog_rejected
=yes
5720 if test $ac_prog_rejected = yes; then
5721 # We found a bogon in the path, so make sure we never use it.
5722 set dummy
$ac_cv_prog_CC
5724 if test $# -gt 0; then
5725 # We chose a different compiler from the bogus one.
5726 # However, it has the same basename, so the bogon will be chosen
5727 # first if we set CC to just the basename; use the full file name.
5729 set dummy
"$ac_dir/$ac_word" "$@"
5737 if test -n "$CC"; then
5738 echo "$ac_t""$CC" 1>&6
5740 echo "$ac_t""no" 1>&6
5743 if test -z "$CC"; then
5744 case "`uname -s`" in
5746 # Extract the first word of "cl", so it can be a program name with args.
5747 set dummy cl
; ac_word
=$2
5748 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5749 echo "configure:5750: checking for $ac_word" >&5
5750 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
5751 echo $ac_n "(cached) $ac_c" 1>&6
5753 if test -n "$CC"; then
5754 ac_cv_prog_CC
="$CC" # Let the user override the test.
5756 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
5758 for ac_dir
in $ac_dummy; do
5759 test -z "$ac_dir" && ac_dir
=.
5760 if test -f $ac_dir/$ac_word; then
5769 if test -n "$CC"; then
5770 echo "$ac_t""$CC" 1>&6
5772 echo "$ac_t""no" 1>&6
5777 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
5780 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
5781 echo "configure:5782: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
5784 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5785 ac_cpp
='$CPP $CPPFLAGS'
5786 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5787 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5788 cross_compiling
=$ac_cv_prog_cc_cross
5790 cat > conftest.
$ac_ext << EOF
5792 #line 5793 "configure"
5793 #include "confdefs.h"
5797 if { (eval echo configure
:5798: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
5798 ac_cv_prog_cc_works
=yes
5799 # If we can't run a trivial program, we are probably using a cross compiler.
5800 if (.
/conftest
; exit) 2>/dev
/null
; then
5801 ac_cv_prog_cc_cross
=no
5803 ac_cv_prog_cc_cross
=yes
5806 echo "configure: failed program was:" >&5
5807 cat conftest.
$ac_ext >&5
5808 ac_cv_prog_cc_works
=no
5812 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5813 ac_cpp
='$CPP $CPPFLAGS'
5814 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5815 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5816 cross_compiling
=$ac_cv_prog_cc_cross
5818 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
5819 if test $ac_cv_prog_cc_works = no
; then
5820 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
5822 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
5823 echo "configure:5824: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
5824 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
5825 cross_compiling
=$ac_cv_prog_cc_cross
5827 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
5828 echo "configure:5829: checking whether we are using GNU C" >&5
5829 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
5830 echo $ac_n "(cached) $ac_c" 1>&6
5832 cat > conftest.c
<<EOF
5837 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:5838: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
5844 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
5846 if test $ac_cv_prog_gcc = yes; then
5852 ac_test_CFLAGS
="${CFLAGS+set}"
5853 ac_save_CFLAGS
="$CFLAGS"
5855 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
5856 echo "configure:5857: checking whether ${CC-cc} accepts -g" >&5
5857 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
5858 echo $ac_n "(cached) $ac_c" 1>&6
5860 echo 'void f(){}' > conftest.c
5861 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
5870 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
5871 if test "$ac_test_CFLAGS" = set; then
5872 CFLAGS
="$ac_save_CFLAGS"
5873 elif test $ac_cv_prog_cc_g = yes; then
5874 if test "$GCC" = yes; then
5880 if test "$GCC" = yes; then
5888 CFLAGS
=`echo "$CFLAGS" | sed 's/-g//g'`
5890 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
5891 echo "configure:5892: checking how to run the C preprocessor" >&5
5892 # On Suns, sometimes $CPP names a directory.
5893 if test -n "$CPP" && test -d "$CPP"; then
5896 if test -z "$CPP"; then
5897 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
5898 echo $ac_n "(cached) $ac_c" 1>&6
5900 # This must be in double quotes, not single quotes, because CPP may get
5901 # substituted into the Makefile and "${CC-cc}" will confuse make.
5903 # On the NeXT, cc -E runs the code through the compiler's parser,
5904 # not just through cpp.
5905 cat > conftest.
$ac_ext <<EOF
5906 #line 5907 "configure"
5907 #include "confdefs.h"
5911 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5912 { (eval echo configure
:5913: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5913 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5914 if test -z "$ac_err"; then
5918 echo "configure: failed program was:" >&5
5919 cat conftest.
$ac_ext >&5
5921 CPP
="${CC-cc} -E -traditional-cpp"
5922 cat > conftest.
$ac_ext <<EOF
5923 #line 5924 "configure"
5924 #include "confdefs.h"
5928 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5929 { (eval echo configure
:5930: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5930 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5931 if test -z "$ac_err"; then
5935 echo "configure: failed program was:" >&5
5936 cat conftest.
$ac_ext >&5
5938 CPP
="${CC-cc} -nologo -E"
5939 cat > conftest.
$ac_ext <<EOF
5940 #line 5941 "configure"
5941 #include "confdefs.h"
5945 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5946 { (eval echo configure
:5947: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5947 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5948 if test -z "$ac_err"; then
5952 echo "configure: failed program was:" >&5
5953 cat conftest.
$ac_ext >&5
5962 ac_cv_prog_CPP
="$CPP"
5964 CPP
="$ac_cv_prog_CPP"
5966 ac_cv_prog_CPP
="$CPP"
5968 echo "$ac_t""$CPP" 1>&6
5971 if test $ac_cv_prog_gcc = yes; then
5972 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
5973 echo "configure:5974: checking whether ${CC-cc} needs -traditional" >&5
5974 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
5975 echo $ac_n "(cached) $ac_c" 1>&6
5977 ac_pattern
="Autoconf.*'x'"
5978 cat > conftest.
$ac_ext <<EOF
5979 #line 5980 "configure"
5980 #include "confdefs.h"
5984 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5985 egrep "$ac_pattern" >/dev
/null
2>&1; then
5987 ac_cv_prog_gcc_traditional
=yes
5990 ac_cv_prog_gcc_traditional
=no
5995 if test $ac_cv_prog_gcc_traditional = no
; then
5996 cat > conftest.
$ac_ext <<EOF
5997 #line 5998 "configure"
5998 #include "confdefs.h"
6002 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6003 egrep "$ac_pattern" >/dev
/null
2>&1; then
6005 ac_cv_prog_gcc_traditional
=yes
6012 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
6013 if test $ac_cv_prog_gcc_traditional = yes; then
6014 CC
="$CC -traditional"
6021 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6022 ac_cpp
='$CXXCPP $CPPFLAGS'
6023 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6024 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6025 cross_compiling
=$ac_cv_prog_cxx_cross
6028 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++ cl
6030 # Extract the first word of "$ac_prog", so it can be a program name with args.
6031 set dummy
$ac_prog; ac_word
=$2
6032 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6033 echo "configure:6034: checking for $ac_word" >&5
6034 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
6035 echo $ac_n "(cached) $ac_c" 1>&6
6037 if test -n "$CXX"; then
6038 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
6040 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6042 for ac_dir
in $ac_dummy; do
6043 test -z "$ac_dir" && ac_dir
=.
6044 if test -f $ac_dir/$ac_word; then
6045 ac_cv_prog_CXX
="$ac_prog"
6052 CXX
="$ac_cv_prog_CXX"
6053 if test -n "$CXX"; then
6054 echo "$ac_t""$CXX" 1>&6
6056 echo "$ac_t""no" 1>&6
6059 test -n "$CXX" && break
6061 test -n "$CXX" || CXX
="gcc"
6064 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
6065 echo "configure:6066: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
6068 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6069 ac_cpp
='$CXXCPP $CPPFLAGS'
6070 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6071 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6072 cross_compiling
=$ac_cv_prog_cxx_cross
6074 cat > conftest.
$ac_ext << EOF
6076 #line 6077 "configure"
6077 #include "confdefs.h"
6079 int main(){return(0);}
6081 if { (eval echo configure
:6082: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6082 ac_cv_prog_cxx_works
=yes
6083 # If we can't run a trivial program, we are probably using a cross compiler.
6084 if (.
/conftest
; exit) 2>/dev
/null
; then
6085 ac_cv_prog_cxx_cross
=no
6087 ac_cv_prog_cxx_cross
=yes
6090 echo "configure: failed program was:" >&5
6091 cat conftest.
$ac_ext >&5
6092 ac_cv_prog_cxx_works
=no
6096 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6097 ac_cpp
='$CXXCPP $CPPFLAGS'
6098 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6099 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6100 cross_compiling
=$ac_cv_prog_cxx_cross
6102 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
6103 if test $ac_cv_prog_cxx_works = no
; then
6104 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
6106 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
6107 echo "configure:6108: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
6108 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
6109 cross_compiling
=$ac_cv_prog_cxx_cross
6111 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
6112 echo "configure:6113: checking whether we are using GNU C++" >&5
6113 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
6114 echo $ac_n "(cached) $ac_c" 1>&6
6116 cat > conftest.C
<<EOF
6121 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:6122: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
6128 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
6130 if test $ac_cv_prog_gxx = yes; then
6136 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
6137 ac_save_CXXFLAGS
="$CXXFLAGS"
6139 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
6140 echo "configure:6141: checking whether ${CXX-g++} accepts -g" >&5
6141 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
6142 echo $ac_n "(cached) $ac_c" 1>&6
6144 echo 'void f(){}' > conftest.cc
6145 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
6146 ac_cv_prog_cxx_g
=yes
6154 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
6155 if test "$ac_test_CXXFLAGS" = set; then
6156 CXXFLAGS
="$ac_save_CXXFLAGS"
6157 elif test $ac_cv_prog_cxx_g = yes; then
6158 if test "$GXX" = yes; then
6164 if test "$GXX" = yes; then
6172 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
6173 echo "configure:6174: checking how to run the C++ preprocessor" >&5
6174 if test -z "$CXXCPP"; then
6175 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
6176 echo $ac_n "(cached) $ac_c" 1>&6
6179 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6180 ac_cpp
='$CXXCPP $CPPFLAGS'
6181 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6182 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6183 cross_compiling
=$ac_cv_prog_cxx_cross
6184 CXXCPP
="${CXX-g++} -E"
6185 cat > conftest.
$ac_ext <<EOF
6186 #line 6187 "configure"
6187 #include "confdefs.h"
6190 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6191 { (eval echo configure
:6192: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6192 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6193 if test -z "$ac_err"; then
6197 echo "configure: failed program was:" >&5
6198 cat conftest.
$ac_ext >&5
6203 ac_cv_prog_CXXCPP
="$CXXCPP"
6205 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6206 ac_cpp
='$CXXCPP $CPPFLAGS'
6207 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6208 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6209 cross_compiling
=$ac_cv_prog_cxx_cross
6212 CXXCPP
="$ac_cv_prog_CXXCPP"
6213 echo "$ac_t""$CXXCPP" 1>&6
6216 CXXFLAGS
=`echo "$CXXFLAGS" | sed 's/-g//g'`
6219 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6220 ac_cpp
='$CPP $CPPFLAGS'
6221 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6222 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6223 cross_compiling
=$ac_cv_prog_cc_cross
6226 # Extract the first word of "ranlib", so it can be a program name with args.
6227 set dummy ranlib
; ac_word
=$2
6228 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6229 echo "configure:6230: checking for $ac_word" >&5
6230 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
6231 echo $ac_n "(cached) $ac_c" 1>&6
6233 if test -n "$RANLIB"; then
6234 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6236 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6238 for ac_dir
in $ac_dummy; do
6239 test -z "$ac_dir" && ac_dir
=.
6240 if test -f $ac_dir/$ac_word; then
6241 ac_cv_prog_RANLIB
="ranlib"
6246 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
6249 RANLIB
="$ac_cv_prog_RANLIB"
6250 if test -n "$RANLIB"; then
6251 echo "$ac_t""$RANLIB" 1>&6
6253 echo "$ac_t""no" 1>&6
6257 # Extract the first word of "ar", so it can be a program name with args.
6258 set dummy
ar; ac_word
=$2
6259 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6260 echo "configure:6261: checking for $ac_word" >&5
6261 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
6262 echo $ac_n "(cached) $ac_c" 1>&6
6264 if test -n "$AR"; then
6265 ac_cv_prog_AR
="$AR" # Let the user override the test.
6267 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6269 for ac_dir
in $ac_dummy; do
6270 test -z "$ac_dir" && ac_dir
=.
6271 if test -f $ac_dir/$ac_word; then
6277 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
6281 if test -n "$AR"; then
6282 echo "$ac_t""$AR" 1>&6
6284 echo "$ac_t""no" 1>&6
6288 # Find a good install program. We prefer a C program (faster),
6289 # so one script is as good as another. But avoid the broken or
6290 # incompatible versions:
6291 # SysV /etc/install, /usr/sbin/install
6292 # SunOS /usr/etc/install
6293 # IRIX /sbin/install
6295 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6296 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6297 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6298 # ./install, which can be erroneously created by make from ./install.sh.
6299 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
6300 echo "configure:6301: checking for a BSD compatible install" >&5
6301 if test -z "$INSTALL"; then
6302 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
6303 echo $ac_n "(cached) $ac_c" 1>&6
6305 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
6306 for ac_dir
in $PATH; do
6307 # Account for people who put trailing slashes in PATH elements.
6309 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
6311 # OSF1 and SCO ODT 3.0 have their own names for install.
6312 # Don't use installbsd from OSF since it installs stuff as root
6314 for ac_prog
in ginstall scoinst
install; do
6315 if test -f $ac_dir/$ac_prog; then
6316 if test $ac_prog = install &&
6317 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
6318 # AIX install. It has an incompatible calling convention.
6321 ac_cv_path_install
="$ac_dir/$ac_prog -c"
6332 if test "${ac_cv_path_install+set}" = set; then
6333 INSTALL
="$ac_cv_path_install"
6335 # As a last resort, use the slow shell script. We don't cache a
6336 # path for INSTALL within a source directory, because that will
6337 # break other packages using the cache if that directory is
6338 # removed, or if the path is relative.
6339 INSTALL
="$ac_install_sh"
6342 echo "$ac_t""$INSTALL" 1>&6
6344 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6345 # It thinks the first close brace ends the variable substitution.
6346 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
6348 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
6350 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
6353 # Extract the first word of "strip", so it can be a program name with args.
6354 set dummy strip
; ac_word
=$2
6355 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6356 echo "configure:6357: checking for $ac_word" >&5
6357 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
6358 echo $ac_n "(cached) $ac_c" 1>&6
6360 if test -n "$STRIP"; then
6361 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6363 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6365 for ac_dir
in $ac_dummy; do
6366 test -z "$ac_dir" && ac_dir
=.
6367 if test -f $ac_dir/$ac_word; then
6368 ac_cv_prog_STRIP
="strip"
6373 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
6376 STRIP
="$ac_cv_prog_STRIP"
6377 if test -n "$STRIP"; then
6378 echo "$ac_t""$STRIP" 1>&6
6380 echo "$ac_t""no" 1>&6
6384 echo $ac_n "checking "make for VPATH support
"""... $ac_c" 1>&6
6385 echo "configure:6386: checking "make for VPATH support
"" >&5
6386 cat - << EOF > confMake
6392 if test ! -d sub
; then
6395 echo dummy
> sub
/file
6396 ${MAKE-make} -f confMake VPATH
=sub
2> config.log
> /dev
/null
6398 rm -f sub
/file check final_file confMake
6400 if test "$RESULT" = 0; then
6401 echo "$ac_t""yes" 1>&6
6403 echo "$ac_t""no" 1>&6
6404 { echo "configure: error: You need a make-utility that is able to use the variable
6406 If your version of make does not support VPATH correctly" 1>&2; exit 1; }
6409 for ac_prog
in 'bison -y' byacc
6411 # Extract the first word of "$ac_prog", so it can be a program name with args.
6412 set dummy
$ac_prog; ac_word
=$2
6413 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6414 echo "configure:6415: checking for $ac_word" >&5
6415 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
6416 echo $ac_n "(cached) $ac_c" 1>&6
6418 if test -n "$YACC"; then
6419 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
6421 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6423 for ac_dir
in $ac_dummy; do
6424 test -z "$ac_dir" && ac_dir
=.
6425 if test -f $ac_dir/$ac_word; then
6426 ac_cv_prog_YACC
="$ac_prog"
6433 YACC
="$ac_cv_prog_YACC"
6434 if test -n "$YACC"; then
6435 echo "$ac_t""$YACC" 1>&6
6437 echo "$ac_t""no" 1>&6
6440 test -n "$YACC" && break
6442 test -n "$YACC" || YACC
="yacc"
6445 # Extract the first word of "flex", so it can be a program name with args.
6446 set dummy flex
; ac_word
=$2
6447 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6448 echo "configure:6449: checking for $ac_word" >&5
6449 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
6450 echo $ac_n "(cached) $ac_c" 1>&6
6452 if test -n "$LEX"; then
6453 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
6455 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6457 for ac_dir
in $ac_dummy; do
6458 test -z "$ac_dir" && ac_dir
=.
6459 if test -f $ac_dir/$ac_word; then
6460 ac_cv_prog_LEX
="flex"
6465 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
6468 LEX
="$ac_cv_prog_LEX"
6469 if test -n "$LEX"; then
6470 echo "$ac_t""$LEX" 1>&6
6472 echo "$ac_t""no" 1>&6
6475 if test -z "$LEXLIB"
6481 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
6482 echo "configure:6483: checking for yywrap in -l$ac_lib" >&5
6483 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
6484 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6485 echo $ac_n "(cached) $ac_c" 1>&6
6487 ac_save_LIBS
="$LIBS"
6488 LIBS
="-l$ac_lib $LIBS"
6489 cat > conftest.
$ac_ext <<EOF
6490 #line 6491 "configure"
6491 #include "confdefs.h"
6492 /* Override any gcc2 internal prototype to avoid an error. */
6493 /* We use char because int might match the return type of a gcc2
6494 builtin and then its argument prototype would still apply. */
6501 if { (eval echo configure
:6502: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6503 eval "ac_cv_lib_$ac_lib_var=yes"
6505 echo "configure: failed program was:" >&5
6506 cat conftest.
$ac_ext >&5
6508 eval "ac_cv_lib_$ac_lib_var=no"
6511 LIBS
="$ac_save_LIBS"
6514 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6515 echo "$ac_t""yes" 1>&6
6518 echo "$ac_t""no" 1>&6
6524 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
6525 echo "configure:6526: checking whether ln -s works" >&5
6526 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
6527 echo $ac_n "(cached) $ac_c" 1>&6
6530 if ln -s X conftestdata
2>/dev
/null
6533 ac_cv_prog_LN_S
="ln -s"
6538 LN_S
="$ac_cv_prog_LN_S"
6539 if test "$ac_cv_prog_LN_S" = "ln -s"; then
6540 echo "$ac_t""yes" 1>&6
6542 echo "$ac_t""no" 1>&6
6548 /usr/local/include \
6550 /usr/Motif-1.2/include \
6551 /usr/Motif-2.1/include \
6553 /usr/include/Motif1.2 \
6554 /opt/xpm/include/X11 \
6555 /opt/GBxpm/include/ \
6556 /opt/GBxpm/X11/include/ \
6558 /usr/Motif1.2/include \
6560 /usr/openwin/include \
6564 /usr/X11R6/include \
6565 /usr/X11R6.4/include \
6566 /usr/X11R5/include \
6567 /usr/X11R4/include \
6569 /usr/include/X11R6 \
6570 /usr/include/X11R5 \
6571 /usr/include/X11R4 \
6573 /usr/local/X11R6/include \
6574 /usr/local/X11R5/include \
6575 /usr/local/X11R4/include \
6577 /usr/local/include/X11R6 \
6578 /usr/local/include/X11R5 \
6579 /usr/local/include/X11R4 \
6583 /usr/local/X11/include \
6584 /usr/local/include/X11 \
6588 /usr/XFree86/include/X11 \
6591 /usr/local/include/gtk \
6593 /usr/local/include/glib \
6596 /usr/local/include/qt \
6598 /usr/include/windows \
6600 /usr/local/include/wine \
6602 /usr/unsupported/include \
6603 /usr/athena/include \
6604 /usr/local/x11r5/include \
6605 /usr/lpp/Xamples/include \
6607 /usr/openwin/share/include \
6611 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
6614 cat > confcache
<<\EOF
6615 # This file is a shell script that caches the results of configure
6616 # tests run on this system so they can be shared between configure
6617 # scripts and configure runs. It is not useful on other systems.
6618 # If it contains results you don't want to keep, you may remove or edit it.
6620 # By default, configure uses ./config.cache as the cache file,
6621 # creating it if it does not exist already. You can give configure
6622 # the --cache-file=FILE option to use a different cache file; that is
6623 # what configure does when it calls configure scripts in
6624 # subdirectories, so they share the cache.
6625 # Giving --cache-file=/dev/null disables caching, for debugging configure.
6626 # config.status only pays attention to the cache file if you give it the
6627 # --recheck option to rerun configure.
6630 # The following way of writing the cache mishandles newlines in values,
6631 # but we know of no workaround that is simple, portable, and efficient.
6632 # So, don't put newlines in cache variables' values.
6633 # Ultrix sh set writes to stderr and can't be redirected directly,
6634 # and sets the high bit in the cache file unless we assign to the vars.
6636 case `(ac_space=' '; set | grep ac_space) 2>&1` in
6638 # `set' does not quote correctly, so add quotes (double-quote substitution
6639 # turns \\\\ into \\, and sed turns \\ into \).
6641 -e "s/'/'\\\\''/g" \
6642 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
6645 # `set' quotes correctly as required by POSIX, so do not add quotes.
6646 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
6649 if cmp -s $cache_file confcache
; then
6652 if test -w $cache_file; then
6653 echo "updating cache $cache_file"
6654 cat confcache
> $cache_file
6656 echo "not updating unwritable cache $cache_file"
6663 if test "$wxUSE_GUI" = "yes"; then
6681 if test "$wxUSE_CYGWIN" = 1 || test "$wxUSE_MINGW" = 1 ; then
6682 if test "$cross_compiling" = "yes" ; then
6683 echo "configure: warning: Cross compiling --- skipping windows.h check" 1>&2
6685 echo $ac_n "checking for Windows headers""... $ac_c" 1>&6
6686 echo "configure:6687: checking for Windows headers" >&5
6689 for ac_dir
in $SEARCH_INCLUDE;
6691 if test -f "$ac_dir/windows.h"; then
6692 ac_find_includes
=$ac_dir
6697 if test "$ac_find_includes" != "" ; then
6698 echo "$ac_t""found $ac_find_includes" 1>&6
6699 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE -I$ac_find_includes"
6701 echo "$ac_t""no" 1>&6
6702 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
6706 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS msw"
6707 LIBS
="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -lcrtdll -ladvapi32 -lwsock32"
6709 if test "$wxUSE_MINGW" = 1; then
6710 LDFLAGS
="$LDFLAGS -mwindows"
6715 GUIOBJS
="\$(MSW_GUIOBJS)"
6716 GUIHEADERS
="\$(MSW_HEADERS)"
6717 COMMONOBJS
="\$(MSW_COMMONOBJS)"
6718 GENERICOBJS
="\$(MSW_GENERICOBJS)"
6724 if test "$wxUSE_GTK" = 1; then
6726 if test x
$gtk_config_exec_prefix != x
; then
6727 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
6728 if test x
${GTK_CONFIG+set} != xset
; then
6729 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
6732 if test x
$gtk_config_prefix != x
; then
6733 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
6734 if test x
${GTK_CONFIG+set} != xset
; then
6735 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
6739 # Extract the first word of "gtk-config", so it can be a program name with args.
6740 set dummy gtk
-config; ac_word
=$2
6741 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6742 echo "configure:6743: checking for $ac_word" >&5
6743 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
6744 echo $ac_n "(cached) $ac_c" 1>&6
6746 case "$GTK_CONFIG" in
6748 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
6751 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
6754 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6756 for ac_dir
in $ac_dummy; do
6757 test -z "$ac_dir" && ac_dir
=.
6758 if test -f $ac_dir/$ac_word; then
6759 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
6764 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
6768 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
6769 if test -n "$GTK_CONFIG"; then
6770 echo "$ac_t""$GTK_CONFIG" 1>&6
6772 echo "$ac_t""no" 1>&6
6775 min_gtk_version
=1.2.1
6776 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
6777 echo "configure:6778: checking for GTK - version >= $min_gtk_version" >&5
6779 if test "$GTK_CONFIG" != "no" ; then
6780 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
6781 GTK_LIBS
=`$GTK_CONFIG --libs`
6782 ac_save_CFLAGS
="$CFLAGS"
6783 ac_save_LIBS
="$LIBS"
6784 CFLAGS
="$CFLAGS $GTK_CFLAGS"
6785 LIBS
="$LIBS $GTK_LIBS"
6786 if test "$cross_compiling" = yes; then
6787 echo $ac_n "cross compiling; assumed OK... $ac_c"
6789 cat > conftest.
$ac_ext <<EOF
6790 #line 6791 "configure"
6791 #include "confdefs.h"
6793 #include <gtk/gtk.h>
6794 #include <gtk/gtkfeatures.h>
6800 int major, minor, micro;
6802 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
6803 printf("%s, bad version string\n", "$min_gtk_version");
6807 if ((GTK_MAJOR_VERSION != gtk_major_version) ||
6808 (GTK_MINOR_VERSION != gtk_minor_version) ||
6809 (GTK_MICRO_VERSION != gtk_micro_version)) {
6810 printf("Headers vs. library version mismatch!\n");
6814 if (gtk_minor_version == 1) return FALSE;
6816 return !((gtk_major_version > major) ||
6817 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
6818 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
6822 if { (eval echo configure
:6823: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
6826 echo "configure: failed program was:" >&5
6827 cat conftest.
$ac_ext >&5
6834 CFLAGS
="$ac_save_CFLAGS"
6835 LIBS
="$ac_save_LIBS"
6839 if test "x$no_gtk" = x
; then
6840 echo "$ac_t""yes" 1>&6
6843 echo "$ac_t""no" 1>&6
6846 { echo "configure: error: Is gtk-config in path and GTK+ is version 1.2.1 or above?" 1>&2; exit 1; }
6852 TOOLKIT_INCLUDE
="$GTK_CFLAGS"
6853 GUI_TK_LIBRARY
="$GTK_LIBS"
6856 GUIOBJS
="\$(GTK_GUIOBJS)"
6857 GUIHEADERS
="\$(GTK_HEADERS)"
6858 COMMONOBJS
="\$(GTK_COMMONOBJS)"
6859 GENERICOBJS
="\$(GTK_GENERICOBJS)"
6860 GUIDEPS
="\$(GTK_GUIDEPS)"
6861 COMMONDEPS
="\$(GTK_COMMONDEPS)"
6862 GENERICDEPS
="\$(GTK_GENERICDEPS)"
6863 UNIXOBJS
="\$(UNIX_OBJS)"
6867 if test "$wxUSE_WINE" = 1; then
6868 echo $ac_n "checking for WINE includes""... $ac_c" 1>&6
6869 echo "configure:6870: checking for WINE includes" >&5
6872 for ac_dir
in $SEARCH_INCLUDE;
6874 if test -f "$ac_dir/windows.h"; then
6875 ac_find_includes
=$ac_dir
6880 if test "$ac_find_includes" != "" ; then
6881 echo "$ac_t""found $ac_find_includes" 1>&6
6882 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE -I$ac_find_includes"
6884 echo "$ac_t""no" 1>&6
6885 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
6889 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
6890 echo "configure:6891: checking for Xpm library" >&5
6893 for ac_dir
in $SEARCH_LIB;
6895 for ac_extension
in a so sl
; do
6896 if test -f "$ac_dir/libXpm.$ac_extension"; then
6897 ac_find_libraries
=$ac_dir
6903 if test "$ac_find_libraries" != "" ; then
6904 GUI_TK_LIBRARY
="-L$ac_find_libraries"
6906 cat >> confdefs.h
<<\EOF
6907 #define wxHAVE_LIB_XPM 1
6910 echo "$ac_t""found at $ac_find_libraries" 1>&6
6912 echo "$ac_t""no" 1>&6
6913 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
6917 echo $ac_n "checking for Mesa library""... $ac_c" 1>&6
6918 echo "configure:6919: checking for Mesa library" >&5
6921 for ac_dir
in $SEARCH_LIB;
6923 for ac_extension
in a so sl
; do
6924 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
6925 ac_find_libraries
=$ac_dir
6931 if test "$ac_find_libraries" != "" ; then
6932 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -L$ac_find_libraries"
6933 MESA_LINK
="-lMesaGL"
6934 echo "$ac_t""found at $ac_find_libraries" 1>&6
6936 { echo "configure: error: no" 1>&2; exit 1; }
6939 GUI_TK_LINK
="-lwine $MESA_LINK $XPM_LINK -lXxf86dga -lXxf86vm -lSM -lICE -lXext -lXmu -lX11 -lncurses -lm"
6940 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GUI_TK_LINK"
6944 GUIHEADERS
="\$(MSW_HEADERS)"
6945 GUIOBJS
="\$(MSW_GUIOBJS)"
6946 COMMONOBJS
="\$(MSW_COMMONOBJS)"
6947 GENERICOBJS
="\$(MSW_GENERICOBJS)"
6948 GUIDEPS
="\$(MSW_GUIDEPS)"
6949 COMMONDEPS
="\$(MSW_COMMONDEPS)"
6950 GENERICDEPS
="\$(MSW_GENERICDEPS)"
6951 UNIXOBJS
="\$(UNIX_OBJS)"
6955 if test "$wxUSE_MOTIF" = 1; then
6956 # If we find X, set shell vars x_includes and x_libraries to the
6957 # paths, otherwise set no_x=yes.
6958 # Uses ac_ vars as temps to allow command line to override cache and checks.
6959 # --without-x overrides everything else, but does not touch the cache.
6960 echo $ac_n "checking for X""... $ac_c" 1>&6
6961 echo "configure:6962: checking for X" >&5
6963 # Check whether --with-x or --without-x was given.
6964 if test "${with_x+set}" = set; then
6969 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
6970 if test "x$with_x" = xno
; then
6971 # The user explicitly disabled X.
6974 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
6975 # Both variables are already set.
6978 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
6979 echo $ac_n "(cached) $ac_c" 1>&6
6981 # One or both of the vars are not set, and there is no cached value.
6982 ac_x_includes
=NO ac_x_libraries
=NO
6984 if mkdir conftestdir
; then
6986 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
6987 cat > Imakefile
<<'EOF'
6989 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
6991 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
6992 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
6993 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
6994 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
6995 for ac_extension
in a so sl
; do
6996 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
6997 test -f $ac_im_libdir/libX11.
$ac_extension; then
6998 ac_im_usrlibdir
=$ac_im_libdir; break
7001 # Screen out bogus values from the imake configuration. They are
7002 # bogus both because they are the default anyway, and because
7003 # using them would break gcc on systems where it needs fixed includes.
7004 case "$ac_im_incroot" in
7006 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;;
7008 case "$ac_im_usrlibdir" in
7010 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;;
7017 if test "$ac_x_includes" = NO
; then
7018 # Guess where to find include files, by looking for this one X11 .h file.
7019 test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
7021 # First, try using that file with no special directory specified.
7022 cat > conftest.
$ac_ext <<EOF
7023 #line 7024 "configure"
7024 #include "confdefs.h"
7025 #include <$x_direct_test_include>
7027 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7028 { (eval echo configure
:7029: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7029 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7030 if test -z "$ac_err"; then
7032 # We can compile using X headers with no special include directory.
7036 echo "configure: failed program was:" >&5
7037 cat conftest.
$ac_ext >&5
7039 # Look for the header file in a standard set of common directories.
7040 # Check X11 before X11Rn because it is often a symlink to the current release.
7043 /usr
/X
11R
6/include \
7044 /usr
/X
11R
5/include \
7045 /usr
/X
11R
4/include \
7048 /usr
/include
/X11R6 \
7049 /usr
/include
/X11R5 \
7050 /usr
/include
/X11R4 \
7052 /usr
/local
/X
11/include \
7053 /usr
/local
/X
11R
6/include \
7054 /usr
/local
/X
11R
5/include \
7055 /usr
/local
/X
11R
4/include \
7057 /usr
/local
/include
/X11 \
7058 /usr
/local
/include
/X11R6 \
7059 /usr
/local
/include
/X11R5 \
7060 /usr
/local
/include
/X11R4 \
7064 /usr
/XFree
86/include
/X11 \
7067 /usr
/local
/include \
7068 /usr
/unsupported
/include \
7069 /usr
/athena
/include \
7070 /usr
/local
/x
11r
5/include \
7071 /usr
/lpp
/Xamples
/include \
7073 /usr
/openwin
/include \
7074 /usr
/openwin
/share
/include \
7077 if test -r "$ac_dir/$x_direct_test_include"; then
7078 ac_x_includes
=$ac_dir
7084 fi # $ac_x_includes = NO
7086 if test "$ac_x_libraries" = NO
; then
7087 # Check for the libraries.
7089 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
7090 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
7092 # See if we find them without any special options.
7093 # Don't add to $LIBS permanently.
7094 ac_save_LIBS
="$LIBS"
7095 LIBS
="-l$x_direct_test_library $LIBS"
7096 cat > conftest.
$ac_ext <<EOF
7097 #line 7098 "configure"
7098 #include "confdefs.h"
7101 ${x_direct_test_function}()
7104 if { (eval echo configure
:7105: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7106 LIBS
="$ac_save_LIBS"
7107 # We can link X programs with no special library path.
7110 echo "configure: failed program was:" >&5
7111 cat conftest.
$ac_ext >&5
7113 LIBS
="$ac_save_LIBS"
7114 # First see if replacing the include by lib works.
7115 # Check X11 before X11Rn because it is often a symlink to the current release.
7116 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib/` \
7127 /usr
/local
/X
11/lib \
7128 /usr
/local
/X
11R
6/lib \
7129 /usr
/local
/X
11R
5/lib \
7130 /usr
/local
/X
11R
4/lib \
7132 /usr
/local
/lib
/X11 \
7133 /usr
/local
/lib
/X11R6 \
7134 /usr
/local
/lib
/X11R5 \
7135 /usr
/local
/lib
/X11R4 \
7139 /usr
/XFree
86/lib
/X11 \
7143 /usr
/unsupported
/lib \
7145 /usr
/local
/x
11r
5/lib \
7146 /usr
/lpp
/Xamples
/lib \
7150 /usr
/openwin
/share
/lib \
7153 for ac_extension
in a so sl
; do
7154 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
7155 ac_x_libraries
=$ac_dir
7162 fi # $ac_x_libraries = NO
7164 if test "$ac_x_includes" = NO
|| test "$ac_x_libraries" = NO
; then
7165 # Didn't find X anywhere. Cache the known absence of X.
7166 ac_cv_have_x
="have_x=no"
7168 # Record where we found X for the cache.
7169 ac_cv_have_x
="have_x=yes \
7170 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
7174 eval "$ac_cv_have_x"
7177 if test "$have_x" != yes; then
7178 echo "$ac_t""$have_x" 1>&6
7181 # If each of the values was on the command line, it overrides each guess.
7182 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
7183 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
7184 # Update the cache value to reflect the command line values.
7185 ac_cv_have_x
="have_x=yes \
7186 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
7187 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
7190 if test "$no_x" = yes; then
7191 # Not all programs may use this symbol, but it does not hurt to define it.
7192 cat >> confdefs.h
<<\EOF
7193 #define X_DISPLAY_MISSING 1
7196 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
7198 if test -n "$x_includes"; then
7199 X_CFLAGS
="$X_CFLAGS -I$x_includes"
7202 # It would also be nice to do this for all -L options, not just this one.
7203 if test -n "$x_libraries"; then
7204 X_LIBS
="$X_LIBS -L$x_libraries"
7205 # For Solaris; some versions of Sun CC require a space after -R and
7206 # others require no space. Words are not sufficient . . . .
7207 case "`(uname -sr) 2>/dev/null`" in
7209 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
7210 echo "configure:7211: checking whether -R must be followed by a space" >&5
7211 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
7212 cat > conftest.
$ac_ext <<EOF
7213 #line 7214 "configure"
7214 #include "confdefs.h"
7220 if { (eval echo configure
:7221: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7224 echo "configure: failed program was:" >&5
7225 cat conftest.
$ac_ext >&5
7230 if test $ac_R_nospace = yes; then
7231 echo "$ac_t""no" 1>&6
7232 X_LIBS
="$X_LIBS -R$x_libraries"
7234 LIBS
="$ac_xsave_LIBS -R $x_libraries"
7235 cat > conftest.
$ac_ext <<EOF
7236 #line 7237 "configure"
7237 #include "confdefs.h"
7243 if { (eval echo configure
:7244: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7247 echo "configure: failed program was:" >&5
7248 cat conftest.
$ac_ext >&5
7253 if test $ac_R_space = yes; then
7254 echo "$ac_t""yes" 1>&6
7255 X_LIBS
="$X_LIBS -R $x_libraries"
7257 echo "$ac_t""neither works" 1>&6
7260 LIBS
="$ac_xsave_LIBS"
7264 # Check for system-dependent libraries X programs must link with.
7265 # Do this before checking for the system-independent R6 libraries
7266 # (-lICE), since we may need -lsocket or whatever for X linking.
7268 if test "$ISC" = yes; then
7269 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
7271 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
7272 # libraries were built with DECnet support. And karl@cs.umb.edu says
7273 # the Alpha needs dnet_stub (dnet does not exist).
7274 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
7275 echo "configure:7276: checking for dnet_ntoa in -ldnet" >&5
7276 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
7277 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7278 echo $ac_n "(cached) $ac_c" 1>&6
7280 ac_save_LIBS
="$LIBS"
7282 cat > conftest.
$ac_ext <<EOF
7283 #line 7284 "configure"
7284 #include "confdefs.h"
7285 /* Override any gcc2 internal prototype to avoid an error. */
7286 /* We use char because int might match the return type of a gcc2
7287 builtin and then its argument prototype would still apply. */
7294 if { (eval echo configure
:7295: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7296 eval "ac_cv_lib_$ac_lib_var=yes"
7298 echo "configure: failed program was:" >&5
7299 cat conftest.
$ac_ext >&5
7301 eval "ac_cv_lib_$ac_lib_var=no"
7304 LIBS
="$ac_save_LIBS"
7307 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7308 echo "$ac_t""yes" 1>&6
7309 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
7311 echo "$ac_t""no" 1>&6
7314 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
7315 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
7316 echo "configure:7317: checking for dnet_ntoa in -ldnet_stub" >&5
7317 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
7318 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7319 echo $ac_n "(cached) $ac_c" 1>&6
7321 ac_save_LIBS
="$LIBS"
7322 LIBS
="-ldnet_stub $LIBS"
7323 cat > conftest.
$ac_ext <<EOF
7324 #line 7325 "configure"
7325 #include "confdefs.h"
7326 /* Override any gcc2 internal prototype to avoid an error. */
7327 /* We use char because int might match the return type of a gcc2
7328 builtin and then its argument prototype would still apply. */
7335 if { (eval echo configure
:7336: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7337 eval "ac_cv_lib_$ac_lib_var=yes"
7339 echo "configure: failed program was:" >&5
7340 cat conftest.
$ac_ext >&5
7342 eval "ac_cv_lib_$ac_lib_var=no"
7345 LIBS
="$ac_save_LIBS"
7348 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7349 echo "$ac_t""yes" 1>&6
7350 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
7352 echo "$ac_t""no" 1>&6
7357 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
7358 # to get the SysV transport functions.
7359 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
7361 # The nsl library prevents programs from opening the X display
7362 # on Irix 5.2, according to dickey@clark.net.
7363 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
7364 echo "configure:7365: checking for gethostbyname" >&5
7365 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
7366 echo $ac_n "(cached) $ac_c" 1>&6
7368 cat > conftest.
$ac_ext <<EOF
7369 #line 7370 "configure"
7370 #include "confdefs.h"
7371 /* System header to define __stub macros and hopefully few prototypes,
7372 which can conflict with char gethostbyname(); below. */
7374 /* Override any gcc2 internal prototype to avoid an error. */
7375 /* We use char because int might match the return type of a gcc2
7376 builtin and then its argument prototype would still apply. */
7377 char gethostbyname();
7382 /* The GNU C library defines this for functions which it implements
7383 to always fail with ENOSYS. Some functions are actually named
7384 something starting with __ and the normal name is an alias. */
7385 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
7393 if { (eval echo configure
:7394: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7395 eval "ac_cv_func_gethostbyname=yes"
7397 echo "configure: failed program was:" >&5
7398 cat conftest.
$ac_ext >&5
7400 eval "ac_cv_func_gethostbyname=no"
7405 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
7406 echo "$ac_t""yes" 1>&6
7409 echo "$ac_t""no" 1>&6
7412 if test $ac_cv_func_gethostbyname = no
; then
7413 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
7414 echo "configure:7415: checking for gethostbyname in -lnsl" >&5
7415 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
7416 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7417 echo $ac_n "(cached) $ac_c" 1>&6
7419 ac_save_LIBS
="$LIBS"
7421 cat > conftest.
$ac_ext <<EOF
7422 #line 7423 "configure"
7423 #include "confdefs.h"
7424 /* Override any gcc2 internal prototype to avoid an error. */
7425 /* We use char because int might match the return type of a gcc2
7426 builtin and then its argument prototype would still apply. */
7427 char gethostbyname();
7433 if { (eval echo configure
:7434: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7435 eval "ac_cv_lib_$ac_lib_var=yes"
7437 echo "configure: failed program was:" >&5
7438 cat conftest.
$ac_ext >&5
7440 eval "ac_cv_lib_$ac_lib_var=no"
7443 LIBS
="$ac_save_LIBS"
7446 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7447 echo "$ac_t""yes" 1>&6
7448 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
7450 echo "$ac_t""no" 1>&6
7455 # lieder@skyler.mavd.honeywell.com says without -lsocket,
7456 # socket/setsockopt and other routines are undefined under SCO ODT
7457 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
7458 # on later versions), says simon@lia.di.epfl.ch: it contains
7459 # gethostby* variants that don't use the nameserver (or something).
7460 # -lsocket must be given before -lnsl if both are needed.
7461 # We assume that if connect needs -lnsl, so does gethostbyname.
7462 echo $ac_n "checking for connect""... $ac_c" 1>&6
7463 echo "configure:7464: checking for connect" >&5
7464 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
7465 echo $ac_n "(cached) $ac_c" 1>&6
7467 cat > conftest.
$ac_ext <<EOF
7468 #line 7469 "configure"
7469 #include "confdefs.h"
7470 /* System header to define __stub macros and hopefully few prototypes,
7471 which can conflict with char connect(); below. */
7473 /* Override any gcc2 internal prototype to avoid an error. */
7474 /* We use char because int might match the return type of a gcc2
7475 builtin and then its argument prototype would still apply. */
7481 /* The GNU C library defines this for functions which it implements
7482 to always fail with ENOSYS. Some functions are actually named
7483 something starting with __ and the normal name is an alias. */
7484 #if defined (__stub_connect) || defined (__stub___connect)
7492 if { (eval echo configure
:7493: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7494 eval "ac_cv_func_connect=yes"
7496 echo "configure: failed program was:" >&5
7497 cat conftest.
$ac_ext >&5
7499 eval "ac_cv_func_connect=no"
7504 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
7505 echo "$ac_t""yes" 1>&6
7508 echo "$ac_t""no" 1>&6
7511 if test $ac_cv_func_connect = no
; then
7512 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
7513 echo "configure:7514: checking for connect in -lsocket" >&5
7514 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
7515 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7516 echo $ac_n "(cached) $ac_c" 1>&6
7518 ac_save_LIBS
="$LIBS"
7519 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
7520 cat > conftest.
$ac_ext <<EOF
7521 #line 7522 "configure"
7522 #include "confdefs.h"
7523 /* Override any gcc2 internal prototype to avoid an error. */
7524 /* We use char because int might match the return type of a gcc2
7525 builtin and then its argument prototype would still apply. */
7532 if { (eval echo configure
:7533: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7534 eval "ac_cv_lib_$ac_lib_var=yes"
7536 echo "configure: failed program was:" >&5
7537 cat conftest.
$ac_ext >&5
7539 eval "ac_cv_lib_$ac_lib_var=no"
7542 LIBS
="$ac_save_LIBS"
7545 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7546 echo "$ac_t""yes" 1>&6
7547 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
7549 echo "$ac_t""no" 1>&6
7554 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
7555 echo $ac_n "checking for remove""... $ac_c" 1>&6
7556 echo "configure:7557: checking for remove" >&5
7557 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
7558 echo $ac_n "(cached) $ac_c" 1>&6
7560 cat > conftest.
$ac_ext <<EOF
7561 #line 7562 "configure"
7562 #include "confdefs.h"
7563 /* System header to define __stub macros and hopefully few prototypes,
7564 which can conflict with char remove(); below. */
7566 /* Override any gcc2 internal prototype to avoid an error. */
7567 /* We use char because int might match the return type of a gcc2
7568 builtin and then its argument prototype would still apply. */
7574 /* The GNU C library defines this for functions which it implements
7575 to always fail with ENOSYS. Some functions are actually named
7576 something starting with __ and the normal name is an alias. */
7577 #if defined (__stub_remove) || defined (__stub___remove)
7585 if { (eval echo configure
:7586: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7587 eval "ac_cv_func_remove=yes"
7589 echo "configure: failed program was:" >&5
7590 cat conftest.
$ac_ext >&5
7592 eval "ac_cv_func_remove=no"
7597 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
7598 echo "$ac_t""yes" 1>&6
7601 echo "$ac_t""no" 1>&6
7604 if test $ac_cv_func_remove = no
; then
7605 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
7606 echo "configure:7607: checking for remove in -lposix" >&5
7607 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
7608 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7609 echo $ac_n "(cached) $ac_c" 1>&6
7611 ac_save_LIBS
="$LIBS"
7612 LIBS
="-lposix $LIBS"
7613 cat > conftest.
$ac_ext <<EOF
7614 #line 7615 "configure"
7615 #include "confdefs.h"
7616 /* Override any gcc2 internal prototype to avoid an error. */
7617 /* We use char because int might match the return type of a gcc2
7618 builtin and then its argument prototype would still apply. */
7625 if { (eval echo configure
:7626: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7627 eval "ac_cv_lib_$ac_lib_var=yes"
7629 echo "configure: failed program was:" >&5
7630 cat conftest.
$ac_ext >&5
7632 eval "ac_cv_lib_$ac_lib_var=no"
7635 LIBS
="$ac_save_LIBS"
7638 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7639 echo "$ac_t""yes" 1>&6
7640 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
7642 echo "$ac_t""no" 1>&6
7647 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
7648 echo $ac_n "checking for shmat""... $ac_c" 1>&6
7649 echo "configure:7650: checking for shmat" >&5
7650 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
7651 echo $ac_n "(cached) $ac_c" 1>&6
7653 cat > conftest.
$ac_ext <<EOF
7654 #line 7655 "configure"
7655 #include "confdefs.h"
7656 /* System header to define __stub macros and hopefully few prototypes,
7657 which can conflict with char shmat(); below. */
7659 /* Override any gcc2 internal prototype to avoid an error. */
7660 /* We use char because int might match the return type of a gcc2
7661 builtin and then its argument prototype would still apply. */
7667 /* The GNU C library defines this for functions which it implements
7668 to always fail with ENOSYS. Some functions are actually named
7669 something starting with __ and the normal name is an alias. */
7670 #if defined (__stub_shmat) || defined (__stub___shmat)
7678 if { (eval echo configure
:7679: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7680 eval "ac_cv_func_shmat=yes"
7682 echo "configure: failed program was:" >&5
7683 cat conftest.
$ac_ext >&5
7685 eval "ac_cv_func_shmat=no"
7690 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
7691 echo "$ac_t""yes" 1>&6
7694 echo "$ac_t""no" 1>&6
7697 if test $ac_cv_func_shmat = no
; then
7698 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
7699 echo "configure:7700: checking for shmat in -lipc" >&5
7700 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
7701 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7702 echo $ac_n "(cached) $ac_c" 1>&6
7704 ac_save_LIBS
="$LIBS"
7706 cat > conftest.
$ac_ext <<EOF
7707 #line 7708 "configure"
7708 #include "confdefs.h"
7709 /* Override any gcc2 internal prototype to avoid an error. */
7710 /* We use char because int might match the return type of a gcc2
7711 builtin and then its argument prototype would still apply. */
7718 if { (eval echo configure
:7719: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7720 eval "ac_cv_lib_$ac_lib_var=yes"
7722 echo "configure: failed program was:" >&5
7723 cat conftest.
$ac_ext >&5
7725 eval "ac_cv_lib_$ac_lib_var=no"
7728 LIBS
="$ac_save_LIBS"
7731 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7732 echo "$ac_t""yes" 1>&6
7733 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
7735 echo "$ac_t""no" 1>&6
7741 # Check for libraries that X11R6 Xt/Xaw programs need.
7742 ac_save_LDFLAGS
="$LDFLAGS"
7743 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
7744 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
7745 # check for ICE first), but we must link in the order -lSM -lICE or
7746 # we get undefined symbols. So assume we have SM if we have ICE.
7747 # These have to be linked with before -lX11, unlike the other
7748 # libraries we check for below, so use a different variable.
7749 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
7750 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
7751 echo "configure:7752: checking for IceConnectionNumber in -lICE" >&5
7752 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
7753 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7754 echo $ac_n "(cached) $ac_c" 1>&6
7756 ac_save_LIBS
="$LIBS"
7757 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
7758 cat > conftest.
$ac_ext <<EOF
7759 #line 7760 "configure"
7760 #include "confdefs.h"
7761 /* Override any gcc2 internal prototype to avoid an error. */
7762 /* We use char because int might match the return type of a gcc2
7763 builtin and then its argument prototype would still apply. */
7764 char IceConnectionNumber();
7767 IceConnectionNumber()
7770 if { (eval echo configure
:7771: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7772 eval "ac_cv_lib_$ac_lib_var=yes"
7774 echo "configure: failed program was:" >&5
7775 cat conftest.
$ac_ext >&5
7777 eval "ac_cv_lib_$ac_lib_var=no"
7780 LIBS
="$ac_save_LIBS"
7783 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7784 echo "$ac_t""yes" 1>&6
7785 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
7787 echo "$ac_t""no" 1>&6
7790 LDFLAGS
="$ac_save_LDFLAGS"
7795 if test "$no_x" = "yes"; then
7796 { echo "configure: error: X11 not found" 1>&2; exit 1; }
7799 GUI_TK_LIBRARY
="$X_LIBS"
7800 TOOLKIT_INCLUDE
="$X_CFLAGS"
7803 echo $ac_n "checking for Motif/Lesstif headers""... $ac_c" 1>&6
7804 echo "configure:7805: checking for Motif/Lesstif headers" >&5
7807 for ac_dir
in $SEARCH_INCLUDE;
7809 if test -f "$ac_dir/Xm/Xm.h"; then
7810 ac_find_includes
=$ac_dir
7815 if test "$ac_find_includes" != "" ; then
7816 echo "$ac_t""found $ac_find_includes" 1>&6
7818 echo "$ac_t""no" 1>&6
7819 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
7822 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
7823 echo "configure:7824: checking for Motif/Lesstif library" >&5
7826 for ac_dir
in $SEARCH_LIB;
7828 for ac_extension
in a so sl
; do
7829 if test -f "$ac_dir/libXm.$ac_extension"; then
7830 ac_find_libraries
=$ac_dir
7836 if test "$ac_find_libraries" != "" ; then
7838 ac_path_to_include
=$ac_find_includes
7839 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
7841 if test $result = 0; then
7842 ac_path_to_include
=""
7844 ac_path_to_include
="-I$ac_find_includes"
7848 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
7850 if test $result = 0; then
7853 ac_path_to_link
="-L$ac_find_libraries"
7857 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
7858 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE $ac_path_to_include"
7859 echo "$ac_t""found at $ac_find_libraries" 1>&6
7861 echo "$ac_t""no" 1>&6
7862 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
7865 echo $ac_n "checking for Xt library""... $ac_c" 1>&6
7866 echo "configure:7867: checking for Xt library" >&5
7869 for ac_dir
in $SEARCH_LIB;
7871 for ac_extension
in a so sl
; do
7872 if test -f "$ac_dir/libXt.$ac_extension"; then
7873 ac_find_libraries
=$ac_dir
7879 if test "$ac_find_libraries" != "" ; then
7881 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
7883 if test $result = 0; then
7886 ac_path_to_link
="-L$ac_find_libraries"
7889 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
7890 echo "$ac_t""found at $ac_find_libraries" 1>&6
7892 echo "$ac_t""no" 1>&6
7893 { echo "configure: error: please set LDFLAGS to contain the location of libXt" 1>&2; exit 1; }
7897 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
7898 echo "configure:7899: checking for Xpm library" >&5
7901 for ac_dir
in $SEARCH_LIB;
7903 for ac_extension
in a so sl
; do
7904 if test -f "$ac_dir/libXpm.$ac_extension"; then
7905 ac_find_libraries
=$ac_dir
7911 if test "$ac_find_libraries" != "" ; then
7913 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
7915 if test $result = 0; then
7918 ac_path_to_link
="-L$ac_find_libraries"
7921 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
7923 cat >> confdefs.h
<<\EOF
7924 #define wxHAVE_LIB_XPM 1
7927 echo "$ac_t""found at $ac_find_libraries" 1>&6
7929 echo "$ac_t""no" 1>&6
7930 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
7933 GUI_TK_LINK
="-lXm $XPM_LINK -lXmu -lXext -lXt -lX11 -lm"
7934 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GUI_TK_LINK"
7937 GUIHEADERS
="\$(MOTIF_HEADERS)"
7938 GUIOBJS
="\$(MOTIF_GUIOBJS)"
7939 COMMONOBJS
="\$(MOTIF_COMMONOBJS)"
7940 GENERICOBJS
="\$(MOTIF_GENERICOBJS)"
7941 GUIDEPS
="\$(MOTIF_GUIDEPS)"
7942 COMMONDEPS
="\$(MOTIF_COMMONDEPS)"
7943 GENERICDEPS
="\$(MOTIF_GENERICDEPS)"
7944 UNIXOBJS
="\$(UNIX_OBJS)"
7948 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "A-Z" "a-z"`
7950 TOOLKIT_DEF
="-D__WX${TOOLKIT}__"
7952 WX_LIBRARY
="wx_${TOOLKIT_DIR}"
7954 ALL_OBJECTS
="\$(GUIOBJS) \$(COMMONOBJS) \$(GENERICOBJS) \$(UNIXOBJS) \$(HTMLOBJS) \$(JPEGOBJS) \$(PNGOBJS) \$(ZLIBOBJS) \$(IODBCOBJS)"
7955 ALL_DEPFILES
="\$(GUIDEPS) \$(COMMONDEPS) \$(GENERICDEPS) \$(UNIXDEPS) \$(HTMLDEPS)"
7956 ALL_HEADERS
="\$(GUIHEADERS) \$(HTML_HEADERS) \$(UNIX_HEADERS) \$(PROTOCOL_HEADERS) \$(GENERIC_HEADERS) \$(WX_HEADERS)"
7959 ALL_OBJECTS
="\$(BASE_OBJS)"
7960 ALL_DEPFILES
="\${BASE_DEPS}"
7961 ALL_HEADERS
="\${BASE_HEADERS}"
7966 WX_LIBRARY_NAME
="lib${WX_LIBRARY}.la"
7968 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
7970 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}-${WX_RELEASE}.so.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
7972 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}-${WX_RELEASE}.so.${WX_CURRENT}"
7973 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}-${WX_RELEASE}.so"
7974 WX_LIBRARY_LINK3
="lib${WX_LIBRARY}.so"
7981 if test "$wxUSE_SHARED" = "yes"; then
7984 if test "$GCC" = yes ; then
7985 SHARED_LD
="${CC} -shared -fPIC -o"
7988 SHARED_LD
="${CXX} -b -o"
7991 WX_LIBRARY_NAME_SHARED
="libwx_${TOOLKIT_DIR}.sl"
7992 WX_ALL
=${WX_LIBRARY_NAME_SHARED}
7995 SHARED_LD
="${CC} -shared -o"
7997 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
7998 WX_ALL
="CREATE_LINKS"
8000 *-*-irix5* | *-*-irix6* )
8001 if test "$GCC" = yes ; then
8002 SHARED_LD
="${CC} -shared -o"
8005 SHARED_LD
="${CXX} -shared -o"
8007 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8008 WX_ALL
="CREATE_LINKS"
8011 if test "$GCC" = yes ; then
8012 SHARED_LD
="${CC} -shared -o"
8015 SHARED_LD
="${CXX} -G -o"
8018 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8019 WX_ALL
="CREATE_LINKS"
8022 SHARED_LD
="${CC} -shared -o"
8024 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8025 WX_ALL
="CREATE_LINKS"
8027 *-*-freebsd* | *-*-netbsd*)
8028 SHARED_LD
="${CC} -shared -o"
8030 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8031 WX_ALL
="CREATE_LINKS"
8034 SHARED_LD
="${CXX} -shared -o"
8036 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8037 WX_ALL
="CREATE_LINKS"
8040 SHARED_LD
="${CXX} -shared -o"
8042 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8043 WX_ALL
="CREATE_LINKS"
8046 SHARED_LD
="${CC} -shared -o"
8048 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8049 WX_ALL
="CREATE_LINKS"
8052 SHARED_LD
="/usr/lpp/xlC/bin/makeC++SharedLib -p 0 -o"
8053 WX_ALL
=${WX_LIBRARY_NAME_SHARED}
8056 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
8057 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
8060 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
8061 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
8066 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
8069 if test "x$WX_TARGET_LIBRARY" = "x"; then
8070 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
8073 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
8074 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
8078 for ac_hdr
in strings.h
8080 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8081 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8082 echo "configure:8083: checking for $ac_hdr" >&5
8083 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8084 echo $ac_n "(cached) $ac_c" 1>&6
8086 cat > conftest.
$ac_ext <<EOF
8087 #line 8088 "configure"
8088 #include "confdefs.h"
8091 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8092 { (eval echo configure
:8093: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8093 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8094 if test -z "$ac_err"; then
8096 eval "ac_cv_header_$ac_safe=yes"
8099 echo "configure: failed program was:" >&5
8100 cat conftest.
$ac_ext >&5
8102 eval "ac_cv_header_$ac_safe=no"
8106 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8107 echo "$ac_t""yes" 1>&6
8108 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8109 cat >> confdefs.h
<<EOF
8110 #define $ac_tr_hdr 1
8114 echo "$ac_t""no" 1>&6
8118 for ac_hdr
in unistd.h
8120 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8121 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8122 echo "configure:8123: checking for $ac_hdr" >&5
8123 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8124 echo $ac_n "(cached) $ac_c" 1>&6
8126 cat > conftest.
$ac_ext <<EOF
8127 #line 8128 "configure"
8128 #include "confdefs.h"
8131 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8132 { (eval echo configure
:8133: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8133 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8134 if test -z "$ac_err"; then
8136 eval "ac_cv_header_$ac_safe=yes"
8139 echo "configure: failed program was:" >&5
8140 cat conftest.
$ac_ext >&5
8142 eval "ac_cv_header_$ac_safe=no"
8146 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8147 echo "$ac_t""yes" 1>&6
8148 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8149 cat >> confdefs.h
<<EOF
8150 #define $ac_tr_hdr 1
8154 echo "$ac_t""no" 1>&6
8158 for ac_hdr
in wchar.h
8160 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8161 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8162 echo "configure:8163: checking for $ac_hdr" >&5
8163 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8164 echo $ac_n "(cached) $ac_c" 1>&6
8166 cat > conftest.
$ac_ext <<EOF
8167 #line 8168 "configure"
8168 #include "confdefs.h"
8171 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8172 { (eval echo configure
:8173: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8173 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8174 if test -z "$ac_err"; then
8176 eval "ac_cv_header_$ac_safe=yes"
8179 echo "configure: failed program was:" >&5
8180 cat conftest.
$ac_ext >&5
8182 eval "ac_cv_header_$ac_safe=no"
8186 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8187 echo "$ac_t""yes" 1>&6
8188 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8189 cat >> confdefs.h
<<EOF
8190 #define $ac_tr_hdr 1
8194 echo "$ac_t""no" 1>&6
8198 for ac_hdr
in wcstr.h
8200 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8201 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8202 echo "configure:8203: checking for $ac_hdr" >&5
8203 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8204 echo $ac_n "(cached) $ac_c" 1>&6
8206 cat > conftest.
$ac_ext <<EOF
8207 #line 8208 "configure"
8208 #include "confdefs.h"
8211 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8212 { (eval echo configure
:8213: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8213 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8214 if test -z "$ac_err"; then
8216 eval "ac_cv_header_$ac_safe=yes"
8219 echo "configure: failed program was:" >&5
8220 cat conftest.
$ac_ext >&5
8222 eval "ac_cv_header_$ac_safe=no"
8226 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8227 echo "$ac_t""yes" 1>&6
8228 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8229 cat >> confdefs.h
<<EOF
8230 #define $ac_tr_hdr 1
8234 echo "$ac_t""no" 1>&6
8238 for ac_hdr
in fnmatch.h
8240 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8241 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8242 echo "configure:8243: checking for $ac_hdr" >&5
8243 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8244 echo $ac_n "(cached) $ac_c" 1>&6
8246 cat > conftest.
$ac_ext <<EOF
8247 #line 8248 "configure"
8248 #include "confdefs.h"
8251 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8252 { (eval echo configure
:8253: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8253 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8254 if test -z "$ac_err"; then
8256 eval "ac_cv_header_$ac_safe=yes"
8259 echo "configure: failed program was:" >&5
8260 cat conftest.
$ac_ext >&5
8262 eval "ac_cv_header_$ac_safe=no"
8266 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8267 echo "$ac_t""yes" 1>&6
8268 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8269 cat >> confdefs.h
<<EOF
8270 #define $ac_tr_hdr 1
8274 echo "$ac_t""no" 1>&6
8279 if test "$wxUSE_GUI" = "yes"; then
8280 for ac_hdr
in X
11/XKBlib.h
8282 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8283 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8284 echo "configure:8285: checking for $ac_hdr" >&5
8285 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8286 echo $ac_n "(cached) $ac_c" 1>&6
8288 cat > conftest.
$ac_ext <<EOF
8289 #line 8290 "configure"
8290 #include "confdefs.h"
8293 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8294 { (eval echo configure
:8295: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8295 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8296 if test -z "$ac_err"; then
8298 eval "ac_cv_header_$ac_safe=yes"
8301 echo "configure: failed program was:" >&5
8302 cat conftest.
$ac_ext >&5
8304 eval "ac_cv_header_$ac_safe=no"
8308 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8309 echo "$ac_t""yes" 1>&6
8310 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8311 cat >> confdefs.h
<<EOF
8312 #define $ac_tr_hdr 1
8316 echo "$ac_t""no" 1>&6
8323 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
8324 echo "configure:8325: checking for ANSI C header files" >&5
8325 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
8326 echo $ac_n "(cached) $ac_c" 1>&6
8328 cat > conftest.
$ac_ext <<EOF
8329 #line 8330 "configure"
8330 #include "confdefs.h"
8336 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8337 { (eval echo configure
:8338: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8338 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8339 if test -z "$ac_err"; then
8341 ac_cv_header_stdc
=yes
8344 echo "configure: failed program was:" >&5
8345 cat conftest.
$ac_ext >&5
8347 ac_cv_header_stdc
=no
8351 if test $ac_cv_header_stdc = yes; then
8352 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8353 cat > conftest.
$ac_ext <<EOF
8354 #line 8355 "configure"
8355 #include "confdefs.h"
8358 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8359 egrep "memchr" >/dev
/null
2>&1; then
8363 ac_cv_header_stdc
=no
8369 if test $ac_cv_header_stdc = yes; then
8370 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8371 cat > conftest.
$ac_ext <<EOF
8372 #line 8373 "configure"
8373 #include "confdefs.h"
8376 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8377 egrep "free" >/dev
/null
2>&1; then
8381 ac_cv_header_stdc
=no
8387 if test $ac_cv_header_stdc = yes; then
8388 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8389 if test "$cross_compiling" = yes; then
8392 cat > conftest.
$ac_ext <<EOF
8393 #line 8394 "configure"
8394 #include "confdefs.h"
8396 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8397 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8398 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8399 int main () { int i; for (i = 0; i < 256; i++)
8400 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
8404 if { (eval echo configure
:8405: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
8408 echo "configure: failed program was:" >&5
8409 cat conftest.
$ac_ext >&5
8411 ac_cv_header_stdc
=no
8419 echo "$ac_t""$ac_cv_header_stdc" 1>&6
8420 if test $ac_cv_header_stdc = yes; then
8421 cat >> confdefs.h
<<\EOF
8422 #define STDC_HEADERS 1
8427 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
8428 echo "configure:8429: checking for mode_t" >&5
8429 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
8430 echo $ac_n "(cached) $ac_c" 1>&6
8432 cat > conftest.
$ac_ext <<EOF
8433 #line 8434 "configure"
8434 #include "confdefs.h"
8435 #include <sys/types.h>
8441 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8442 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
8444 ac_cv_type_mode_t
=yes
8447 ac_cv_type_mode_t
=no
8452 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
8453 if test $ac_cv_type_mode_t = no
; then
8454 cat >> confdefs.h
<<\EOF
8460 echo $ac_n "checking for off_t""... $ac_c" 1>&6
8461 echo "configure:8462: checking for off_t" >&5
8462 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
8463 echo $ac_n "(cached) $ac_c" 1>&6
8465 cat > conftest.
$ac_ext <<EOF
8466 #line 8467 "configure"
8467 #include "confdefs.h"
8468 #include <sys/types.h>
8474 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8475 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
8477 ac_cv_type_off_t
=yes
8485 echo "$ac_t""$ac_cv_type_off_t" 1>&6
8486 if test $ac_cv_type_off_t = no
; then
8487 cat >> confdefs.h
<<\EOF
8493 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
8494 echo "configure:8495: checking for pid_t" >&5
8495 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
8496 echo $ac_n "(cached) $ac_c" 1>&6
8498 cat > conftest.
$ac_ext <<EOF
8499 #line 8500 "configure"
8500 #include "confdefs.h"
8501 #include <sys/types.h>
8507 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8508 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
8510 ac_cv_type_pid_t
=yes
8518 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
8519 if test $ac_cv_type_pid_t = no
; then
8520 cat >> confdefs.h
<<\EOF
8526 echo $ac_n "checking for size_t""... $ac_c" 1>&6
8527 echo "configure:8528: checking for size_t" >&5
8528 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
8529 echo $ac_n "(cached) $ac_c" 1>&6
8531 cat > conftest.
$ac_ext <<EOF
8532 #line 8533 "configure"
8533 #include "confdefs.h"
8534 #include <sys/types.h>
8540 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8541 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
8543 ac_cv_type_size_t
=yes
8546 ac_cv_type_size_t
=no
8551 echo "$ac_t""$ac_cv_type_size_t" 1>&6
8552 if test $ac_cv_type_size_t = no
; then
8553 cat >> confdefs.h
<<\EOF
8554 #define size_t unsigned
8559 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
8560 echo "configure:8561: checking for uid_t in sys/types.h" >&5
8561 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
8562 echo $ac_n "(cached) $ac_c" 1>&6
8564 cat > conftest.
$ac_ext <<EOF
8565 #line 8566 "configure"
8566 #include "confdefs.h"
8567 #include <sys/types.h>
8569 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8570 egrep "uid_t" >/dev
/null
2>&1; then
8572 ac_cv_type_uid_t
=yes
8581 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
8582 if test $ac_cv_type_uid_t = no
; then
8583 cat >> confdefs.h
<<\EOF
8587 cat >> confdefs.h
<<\EOF
8596 echo $ac_n "checking for working const""... $ac_c" 1>&6
8597 echo "configure:8598: checking for working const" >&5
8598 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
8599 echo $ac_n "(cached) $ac_c" 1>&6
8601 cat > conftest.
$ac_ext <<EOF
8602 #line 8603 "configure"
8603 #include "confdefs.h"
8607 /* Ultrix mips cc rejects this. */
8608 typedef int charset[2]; const charset x;
8609 /* SunOS 4.1.1 cc rejects this. */
8610 char const *const *ccp;
8612 /* NEC SVR4.0.2 mips cc rejects this. */
8613 struct point {int x, y;};
8614 static struct point const zero = {0,0};
8615 /* AIX XL C 1.02.0.0 rejects this.
8616 It does not let you subtract one const X* pointer from another in an arm
8617 of an if-expression whose if-part is not a constant expression */
8618 const char *g = "string";
8619 ccp = &g + (g ? g-g : 0);
8620 /* HPUX 7.0 cc rejects these. */
8623 ccp = (char const *const *) p;
8624 { /* SCO 3.2v4 cc rejects this. */
8626 char const *s = 0 ? (char *) 0 : (char const *) 0;
8630 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
8632 const int *foo = &x[0];
8635 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
8636 typedef const int *iptr;
8640 { /* AIX XL C 1.02.0.0 rejects this saying
8641 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
8642 struct s { int j; const int *ap[3]; };
8643 struct s *b; b->j = 5;
8645 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
8651 if { (eval echo configure
:8652: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8655 echo "configure: failed program was:" >&5
8656 cat conftest.
$ac_ext >&5
8663 echo "$ac_t""$ac_cv_c_const" 1>&6
8664 if test $ac_cv_c_const = no
; then
8665 cat >> confdefs.h
<<\EOF
8671 echo $ac_n "checking for inline""... $ac_c" 1>&6
8672 echo "configure:8673: checking for inline" >&5
8673 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
8674 echo $ac_n "(cached) $ac_c" 1>&6
8677 for ac_kw
in inline __inline__ __inline
; do
8678 cat > conftest.
$ac_ext <<EOF
8679 #line 8680 "configure"
8680 #include "confdefs.h"
8686 if { (eval echo configure
:8687: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8688 ac_cv_c_inline
=$ac_kw; break
8690 echo "configure: failed program was:" >&5
8691 cat conftest.
$ac_ext >&5
8698 echo "$ac_t""$ac_cv_c_inline" 1>&6
8699 case "$ac_cv_c_inline" in
8701 no
) cat >> confdefs.h
<<\EOF
8705 *) cat >> confdefs.h
<<EOF
8706 #define inline $ac_cv_c_inline
8712 echo $ac_n "checking size of char""... $ac_c" 1>&6
8713 echo "configure:8714: checking size of char" >&5
8714 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
8715 echo $ac_n "(cached) $ac_c" 1>&6
8717 if test "$cross_compiling" = yes; then
8720 cat > conftest.
$ac_ext <<EOF
8721 #line 8722 "configure"
8722 #include "confdefs.h"
8726 FILE *f=fopen("conftestval", "w");
8728 fprintf(f, "%d\n", sizeof(char));
8732 if { (eval echo configure
:8733: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
8734 ac_cv_sizeof_char
=`cat conftestval`
8736 echo "configure: failed program was:" >&5
8737 cat conftest.
$ac_ext >&5
8745 echo "$ac_t""$ac_cv_sizeof_char" 1>&6
8746 cat >> confdefs.h
<<EOF
8747 #define SIZEOF_CHAR $ac_cv_sizeof_char
8751 echo $ac_n "checking size of short""... $ac_c" 1>&6
8752 echo "configure:8753: checking size of short" >&5
8753 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
8754 echo $ac_n "(cached) $ac_c" 1>&6
8756 if test "$cross_compiling" = yes; then
8757 ac_cv_sizeof_short
=2
8759 cat > conftest.
$ac_ext <<EOF
8760 #line 8761 "configure"
8761 #include "confdefs.h"
8765 FILE *f=fopen("conftestval", "w");
8767 fprintf(f, "%d\n", sizeof(short));
8771 if { (eval echo configure
:8772: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
8773 ac_cv_sizeof_short
=`cat conftestval`
8775 echo "configure: failed program was:" >&5
8776 cat conftest.
$ac_ext >&5
8778 ac_cv_sizeof_short
=0
8784 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
8785 cat >> confdefs.h
<<EOF
8786 #define SIZEOF_SHORT $ac_cv_sizeof_short
8790 echo $ac_n "checking size of int *""... $ac_c" 1>&6
8791 echo "configure:8792: checking size of int *" >&5
8792 if eval "test \"`echo '$''{'ac_cv_sizeof_int_p'+set}'`\" = set"; then
8793 echo $ac_n "(cached) $ac_c" 1>&6
8795 if test "$cross_compiling" = yes; then
8796 ac_cv_sizeof_int_p
=4
8798 cat > conftest.
$ac_ext <<EOF
8799 #line 8800 "configure"
8800 #include "confdefs.h"
8804 FILE *f=fopen("conftestval", "w");
8806 fprintf(f, "%d\n", sizeof(int *));
8810 if { (eval echo configure
:8811: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
8812 ac_cv_sizeof_int_p
=`cat conftestval`
8814 echo "configure: failed program was:" >&5
8815 cat conftest.
$ac_ext >&5
8817 ac_cv_sizeof_int_p
=0
8823 echo "$ac_t""$ac_cv_sizeof_int_p" 1>&6
8824 cat >> confdefs.h
<<EOF
8825 #define SIZEOF_INT_P $ac_cv_sizeof_int_p
8829 echo $ac_n "checking size of int""... $ac_c" 1>&6
8830 echo "configure:8831: checking size of int" >&5
8831 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
8832 echo $ac_n "(cached) $ac_c" 1>&6
8834 if test "$cross_compiling" = yes; then
8837 cat > conftest.
$ac_ext <<EOF
8838 #line 8839 "configure"
8839 #include "confdefs.h"
8843 FILE *f=fopen("conftestval", "w");
8845 fprintf(f, "%d\n", sizeof(int));
8849 if { (eval echo configure
:8850: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
8851 ac_cv_sizeof_int
=`cat conftestval`
8853 echo "configure: failed program was:" >&5
8854 cat conftest.
$ac_ext >&5
8862 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
8863 cat >> confdefs.h
<<EOF
8864 #define SIZEOF_INT $ac_cv_sizeof_int
8868 echo $ac_n "checking size of long""... $ac_c" 1>&6
8869 echo "configure:8870: checking size of long" >&5
8870 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
8871 echo $ac_n "(cached) $ac_c" 1>&6
8873 if test "$cross_compiling" = yes; then
8876 cat > conftest.
$ac_ext <<EOF
8877 #line 8878 "configure"
8878 #include "confdefs.h"
8882 FILE *f=fopen("conftestval", "w");
8884 fprintf(f, "%d\n", sizeof(long));
8888 if { (eval echo configure
:8889: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
8890 ac_cv_sizeof_long
=`cat conftestval`
8892 echo "configure: failed program was:" >&5
8893 cat conftest.
$ac_ext >&5
8901 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
8902 cat >> confdefs.h
<<EOF
8903 #define SIZEOF_LONG $ac_cv_sizeof_long
8907 echo $ac_n "checking size of long long""... $ac_c" 1>&6
8908 echo "configure:8909: checking size of long long" >&5
8909 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
8910 echo $ac_n "(cached) $ac_c" 1>&6
8912 if test "$cross_compiling" = yes; then
8913 ac_cv_sizeof_long_long
=0
8915 cat > conftest.
$ac_ext <<EOF
8916 #line 8917 "configure"
8917 #include "confdefs.h"
8921 FILE *f=fopen("conftestval", "w");
8923 fprintf(f, "%d\n", sizeof(long long));
8927 if { (eval echo configure
:8928: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
8929 ac_cv_sizeof_long_long
=`cat conftestval`
8931 echo "configure: failed program was:" >&5
8932 cat conftest.
$ac_ext >&5
8934 ac_cv_sizeof_long_long
=0
8940 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
8941 cat >> confdefs.h
<<EOF
8942 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
8947 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
8948 echo "configure:8949: checking whether byte ordering is bigendian" >&5
8949 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
8950 echo $ac_n "(cached) $ac_c" 1>&6
8952 ac_cv_c_bigendian
=unknown
8953 # See if sys/param.h defines the BYTE_ORDER macro.
8954 cat > conftest.
$ac_ext <<EOF
8955 #line 8956 "configure"
8956 #include "confdefs.h"
8957 #include <sys/types.h>
8958 #include <sys/param.h>
8961 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
8966 if { (eval echo configure
:8967: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8968 # It does; now see whether it defined to BIG_ENDIAN or not.
8969 cat > conftest.
$ac_ext <<EOF
8970 #line 8971 "configure"
8971 #include "confdefs.h"
8972 #include <sys/types.h>
8973 #include <sys/param.h>
8976 #if BYTE_ORDER != BIG_ENDIAN
8981 if { (eval echo configure
:8982: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8983 ac_cv_c_bigendian
=yes
8985 echo "configure: failed program was:" >&5
8986 cat conftest.
$ac_ext >&5
8988 ac_cv_c_bigendian
=no
8992 echo "configure: failed program was:" >&5
8993 cat conftest.
$ac_ext >&5
8996 if test $ac_cv_c_bigendian = unknown
; then
8997 if test "$cross_compiling" = yes; then
8998 ac_cv_c_bigendian
=unknown
9000 cat > conftest.
$ac_ext <<EOF
9001 #line 9002 "configure"
9002 #include "confdefs.h"
9004 /* Are we little or big endian? From Harbison&Steele. */
9008 char c[sizeof (long)];
9011 exit (u.c[sizeof (long) - 1] == 1);
9014 if { (eval echo configure
:9015: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9016 ac_cv_c_bigendian
=no
9018 echo "configure: failed program was:" >&5
9019 cat conftest.
$ac_ext >&5
9021 ac_cv_c_bigendian
=yes
9029 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
9030 if test $ac_cv_c_bigendian = unknown
; then
9031 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
9033 if test $ac_cv_c_bigendian = yes; then
9034 cat >> confdefs.h
<<\EOF
9035 #define WORDS_BIGENDIAN 1
9042 if test "$cross_compiling" = "yes"; then
9043 cat >> confdefs.h
<<\EOF
9044 #define wxUSE_IOSTREAMH 1
9050 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9051 ac_cpp
='$CXXCPP $CPPFLAGS'
9052 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9053 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9054 cross_compiling
=$ac_cv_prog_cxx_cross
9057 for ac_hdr
in iostream
9059 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9060 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9061 echo "configure:9062: checking for $ac_hdr" >&5
9062 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9063 echo $ac_n "(cached) $ac_c" 1>&6
9065 cat > conftest.
$ac_ext <<EOF
9066 #line 9067 "configure"
9067 #include "confdefs.h"
9070 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9071 { (eval echo configure
:9072: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9072 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9073 if test -z "$ac_err"; then
9075 eval "ac_cv_header_$ac_safe=yes"
9078 echo "configure: failed program was:" >&5
9079 cat conftest.
$ac_ext >&5
9081 eval "ac_cv_header_$ac_safe=no"
9085 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9086 echo "$ac_t""yes" 1>&6
9087 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9088 cat >> confdefs.h
<<EOF
9089 #define $ac_tr_hdr 1
9093 echo "$ac_t""no" 1>&6
9098 if test "x$HAVE_IOSTREAM" = x
; then
9099 cat >> confdefs.h
<<\EOF
9100 #define wxUSE_IOSTREAMH 1
9108 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9109 ac_cpp
='$CPP $CPPFLAGS'
9110 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9111 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9112 cross_compiling
=$ac_cv_prog_cc_cross
9118 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
9119 echo "configure:9120: checking if C++ compiler supports bool" >&5
9120 if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
9121 echo $ac_n "(cached) $ac_c" 1>&6
9126 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9127 ac_cpp
='$CXXCPP $CPPFLAGS'
9128 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9129 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9130 cross_compiling
=$ac_cv_prog_cxx_cross
9133 cat > conftest.
$ac_ext <<EOF
9134 #line 9135 "configure"
9135 #include "confdefs.h"
9146 if { (eval echo configure
:9147: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9149 cat >> confdefs.h
<<\EOF
9156 echo "configure: failed program was:" >&5
9157 cat conftest.
$ac_ext >&5
9167 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9168 ac_cpp
='$CPP $CPPFLAGS'
9169 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9170 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9171 cross_compiling
=$ac_cv_prog_cc_cross
9176 echo "$ac_t""$wx_cv_cpp_bool" 1>&6
9178 if test "$wx_cv_cpp_bool" = "yes"; then
9179 cat >> confdefs.h
<<\EOF
9187 echo $ac_n "checking if you need GNU extensions""... $ac_c" 1>&6
9188 echo "configure:9189: checking if you need GNU extensions" >&5
9189 if eval "test \"`echo '$''{'wx_cv_gnu_extensions'+set}'`\" = set"; then
9190 echo $ac_n "(cached) $ac_c" 1>&6
9193 cat > conftest.
$ac_ext <<EOF
9194 #line 9195 "configure"
9195 #include "confdefs.h"
9196 #include <features.h>
9200 #ifndef __GNU_LIBRARY__
9201 Compile error wanted
9207 if { (eval echo configure
:9208: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9209 wx_cv_gnu_extensions
=yes
9211 echo "configure: failed program was:" >&5
9212 cat conftest.
$ac_ext >&5
9214 wx_cv_gnu_extensions
=no
9221 echo "$ac_t""$wx_cv_gnu_extensions" 1>&6
9222 if test "$wx_cv_gnu_extensions" = "yes"; then
9223 cat >> confdefs.h
<<EOF
9224 #define _GNU_SOURCE 1
9231 echo $ac_n "checking for wcslen in -lc""... $ac_c" 1>&6
9232 echo "configure:9233: checking for wcslen in -lc" >&5
9233 ac_lib_var
=`echo c'_'wcslen | sed 'y%./+-%__p_%'`
9234 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9235 echo $ac_n "(cached) $ac_c" 1>&6
9237 ac_save_LIBS
="$LIBS"
9239 cat > conftest.
$ac_ext <<EOF
9240 #line 9241 "configure"
9241 #include "confdefs.h"
9242 /* Override any gcc2 internal prototype to avoid an error. */
9243 /* We use char because int might match the return type of a gcc2
9244 builtin and then its argument prototype would still apply. */
9251 if { (eval echo configure
:9252: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9253 eval "ac_cv_lib_$ac_lib_var=yes"
9255 echo "configure: failed program was:" >&5
9256 cat conftest.
$ac_ext >&5
9258 eval "ac_cv_lib_$ac_lib_var=no"
9261 LIBS
="$ac_save_LIBS"
9264 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9265 echo "$ac_t""yes" 1>&6
9267 cat >> confdefs.h
<<\EOF
9268 #define HAVE_WCSLEN 1
9274 echo "$ac_t""no" 1>&6
9276 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
9277 echo "configure:9278: checking for wcslen in -lw" >&5
9278 ac_lib_var
=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
9279 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9280 echo $ac_n "(cached) $ac_c" 1>&6
9282 ac_save_LIBS
="$LIBS"
9284 cat > conftest.
$ac_ext <<EOF
9285 #line 9286 "configure"
9286 #include "confdefs.h"
9287 /* Override any gcc2 internal prototype to avoid an error. */
9288 /* We use char because int might match the return type of a gcc2
9289 builtin and then its argument prototype would still apply. */
9296 if { (eval echo configure
:9297: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9298 eval "ac_cv_lib_$ac_lib_var=yes"
9300 echo "configure: failed program was:" >&5
9301 cat conftest.
$ac_ext >&5
9303 eval "ac_cv_lib_$ac_lib_var=no"
9306 LIBS
="$ac_save_LIBS"
9309 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9310 echo "$ac_t""yes" 1>&6
9312 cat >> confdefs.h
<<\EOF
9313 #define HAVE_WCSLEN 1
9319 echo "$ac_t""no" 1>&6
9326 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
9327 echo "configure:9328: checking for vprintf" >&5
9328 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
9329 echo $ac_n "(cached) $ac_c" 1>&6
9331 cat > conftest.
$ac_ext <<EOF
9332 #line 9333 "configure"
9333 #include "confdefs.h"
9334 /* System header to define __stub macros and hopefully few prototypes,
9335 which can conflict with char vprintf(); below. */
9337 /* Override any gcc2 internal prototype to avoid an error. */
9338 /* We use char because int might match the return type of a gcc2
9339 builtin and then its argument prototype would still apply. */
9345 /* The GNU C library defines this for functions which it implements
9346 to always fail with ENOSYS. Some functions are actually named
9347 something starting with __ and the normal name is an alias. */
9348 #if defined (__stub_vprintf) || defined (__stub___vprintf)
9356 if { (eval echo configure
:9357: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9358 eval "ac_cv_func_vprintf=yes"
9360 echo "configure: failed program was:" >&5
9361 cat conftest.
$ac_ext >&5
9363 eval "ac_cv_func_vprintf=no"
9368 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
9369 echo "$ac_t""yes" 1>&6
9370 cat >> confdefs.h
<<\EOF
9371 #define HAVE_VPRINTF 1
9375 echo "$ac_t""no" 1>&6
9378 if test "$ac_cv_func_vprintf" != yes; then
9379 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
9380 echo "configure:9381: checking for _doprnt" >&5
9381 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
9382 echo $ac_n "(cached) $ac_c" 1>&6
9384 cat > conftest.
$ac_ext <<EOF
9385 #line 9386 "configure"
9386 #include "confdefs.h"
9387 /* System header to define __stub macros and hopefully few prototypes,
9388 which can conflict with char _doprnt(); below. */
9390 /* Override any gcc2 internal prototype to avoid an error. */
9391 /* We use char because int might match the return type of a gcc2
9392 builtin and then its argument prototype would still apply. */
9398 /* The GNU C library defines this for functions which it implements
9399 to always fail with ENOSYS. Some functions are actually named
9400 something starting with __ and the normal name is an alias. */
9401 #if defined (__stub__doprnt) || defined (__stub____doprnt)
9409 if { (eval echo configure
:9410: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9411 eval "ac_cv_func__doprnt=yes"
9413 echo "configure: failed program was:" >&5
9414 cat conftest.
$ac_ext >&5
9416 eval "ac_cv_func__doprnt=no"
9421 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
9422 echo "$ac_t""yes" 1>&6
9423 cat >> confdefs.h
<<\EOF
9424 #define HAVE_DOPRNT 1
9428 echo "$ac_t""no" 1>&6
9434 for ac_func
in vsnprintf
9436 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9437 echo "configure:9438: checking for $ac_func" >&5
9438 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9439 echo $ac_n "(cached) $ac_c" 1>&6
9441 cat > conftest.
$ac_ext <<EOF
9442 #line 9443 "configure"
9443 #include "confdefs.h"
9444 /* System header to define __stub macros and hopefully few prototypes,
9445 which can conflict with char $ac_func(); below. */
9447 /* Override any gcc2 internal prototype to avoid an error. */
9448 /* We use char because int might match the return type of a gcc2
9449 builtin and then its argument prototype would still apply. */
9455 /* The GNU C library defines this for functions which it implements
9456 to always fail with ENOSYS. Some functions are actually named
9457 something starting with __ and the normal name is an alias. */
9458 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9466 if { (eval echo configure
:9467: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9468 eval "ac_cv_func_$ac_func=yes"
9470 echo "configure: failed program was:" >&5
9471 cat conftest.
$ac_ext >&5
9473 eval "ac_cv_func_$ac_func=no"
9478 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9479 echo "$ac_t""yes" 1>&6
9480 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9481 cat >> confdefs.h
<<EOF
9482 #define $ac_tr_func 1
9484 cat >> confdefs.h
<<\EOF
9485 #define HAVE_VSNPRINTF 1
9489 echo "$ac_t""no" 1>&6
9490 echo "configure: warning: unsafe function sprintf will be used instead of snprintf" 1>&2
9498 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9499 ac_cpp
='$CXXCPP $CPPFLAGS'
9500 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9501 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9502 cross_compiling
=$ac_cv_prog_cxx_cross
9505 echo $ac_n "checking for vsscanf""... $ac_c" 1>&6
9506 echo "configure:9507: checking for vsscanf" >&5
9507 if eval "test \"`echo '$''{'wx_cv_func_vsscanf'+set}'`\" = set"; then
9508 echo $ac_n "(cached) $ac_c" 1>&6
9511 if test "$cross_compiling" = yes; then
9512 wx_cv_func_vsscanf
=no
9515 cat > conftest.
$ac_ext <<EOF
9516 #line 9517 "configure"
9517 #include "confdefs.h"
9519 extern "C" void exit(int);
9525 int try_vsscanf(const char *format, ...)
9528 va_start(ap, format);
9530 vsscanf("17", format, ap);
9538 try_vsscanf("%d", &i);
9539 return i == 17 ? 0 : 1;
9543 if { (eval echo configure
:9544: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9546 cat >> confdefs.h
<<\EOF
9547 #define HAVE_VSSCANF 1
9550 wx_cv_func_vsscanf
=yes
9553 echo "configure: failed program was:" >&5
9554 cat conftest.
$ac_ext >&5
9556 wx_cv_func_vsscanf
=no
9564 echo "$ac_t""$wx_cv_func_vsscanf" 1>&6
9567 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9568 ac_cpp
='$CPP $CPPFLAGS'
9569 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9570 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9571 cross_compiling
=$ac_cv_prog_cc_cross
9574 if test "$USE_UNIX" = 1; then
9576 for ac_func
in vfork
9578 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9579 echo "configure:9580: checking for $ac_func" >&5
9580 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9581 echo $ac_n "(cached) $ac_c" 1>&6
9583 cat > conftest.
$ac_ext <<EOF
9584 #line 9585 "configure"
9585 #include "confdefs.h"
9586 /* System header to define __stub macros and hopefully few prototypes,
9587 which can conflict with char $ac_func(); below. */
9589 /* Override any gcc2 internal prototype to avoid an error. */
9590 /* We use char because int might match the return type of a gcc2
9591 builtin and then its argument prototype would still apply. */
9597 /* The GNU C library defines this for functions which it implements
9598 to always fail with ENOSYS. Some functions are actually named
9599 something starting with __ and the normal name is an alias. */
9600 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9608 if { (eval echo configure
:9609: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9610 eval "ac_cv_func_$ac_func=yes"
9612 echo "configure: failed program was:" >&5
9613 cat conftest.
$ac_ext >&5
9615 eval "ac_cv_func_$ac_func=no"
9620 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9621 echo "$ac_t""yes" 1>&6
9622 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9623 cat >> confdefs.h
<<EOF
9624 #define $ac_tr_func 1
9628 echo "$ac_t""no" 1>&6
9634 for ac_func
in nanosleep
9636 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9637 echo "configure:9638: checking for $ac_func" >&5
9638 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9639 echo $ac_n "(cached) $ac_c" 1>&6
9641 cat > conftest.
$ac_ext <<EOF
9642 #line 9643 "configure"
9643 #include "confdefs.h"
9644 /* System header to define __stub macros and hopefully few prototypes,
9645 which can conflict with char $ac_func(); below. */
9647 /* Override any gcc2 internal prototype to avoid an error. */
9648 /* We use char because int might match the return type of a gcc2
9649 builtin and then its argument prototype would still apply. */
9655 /* The GNU C library defines this for functions which it implements
9656 to always fail with ENOSYS. Some functions are actually named
9657 something starting with __ and the normal name is an alias. */
9658 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9666 if { (eval echo configure
:9667: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9668 eval "ac_cv_func_$ac_func=yes"
9670 echo "configure: failed program was:" >&5
9671 cat conftest.
$ac_ext >&5
9673 eval "ac_cv_func_$ac_func=no"
9678 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9679 echo "$ac_t""yes" 1>&6
9680 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9681 cat >> confdefs.h
<<EOF
9682 #define $ac_tr_func 1
9684 cat >> confdefs.h
<<\EOF
9685 #define HAVE_NANOSLEEP 1
9689 echo "$ac_t""no" 1>&6
9690 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
9691 echo "configure:9692: checking for nanosleep in -lposix4" >&5
9692 ac_lib_var
=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
9693 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9694 echo $ac_n "(cached) $ac_c" 1>&6
9696 ac_save_LIBS
="$LIBS"
9697 LIBS
="-lposix4 $LIBS"
9698 cat > conftest.
$ac_ext <<EOF
9699 #line 9700 "configure"
9700 #include "confdefs.h"
9701 /* Override any gcc2 internal prototype to avoid an error. */
9702 /* We use char because int might match the return type of a gcc2
9703 builtin and then its argument prototype would still apply. */
9710 if { (eval echo configure
:9711: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9712 eval "ac_cv_lib_$ac_lib_var=yes"
9714 echo "configure: failed program was:" >&5
9715 cat conftest.
$ac_ext >&5
9717 eval "ac_cv_lib_$ac_lib_var=no"
9720 LIBS
="$ac_save_LIBS"
9723 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9724 echo "$ac_t""yes" 1>&6
9726 cat >> confdefs.h
<<\EOF
9727 #define HAVE_NANOSLEEP 1
9730 POSIX4_LINK
="-lposix4"
9733 echo "$ac_t""no" 1>&6
9735 for ac_func
in usleep
9737 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9738 echo "configure:9739: checking for $ac_func" >&5
9739 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9740 echo $ac_n "(cached) $ac_c" 1>&6
9742 cat > conftest.
$ac_ext <<EOF
9743 #line 9744 "configure"
9744 #include "confdefs.h"
9745 /* System header to define __stub macros and hopefully few prototypes,
9746 which can conflict with char $ac_func(); below. */
9748 /* Override any gcc2 internal prototype to avoid an error. */
9749 /* We use char because int might match the return type of a gcc2
9750 builtin and then its argument prototype would still apply. */
9756 /* The GNU C library defines this for functions which it implements
9757 to always fail with ENOSYS. Some functions are actually named
9758 something starting with __ and the normal name is an alias. */
9759 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9767 if { (eval echo configure
:9768: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9769 eval "ac_cv_func_$ac_func=yes"
9771 echo "configure: failed program was:" >&5
9772 cat conftest.
$ac_ext >&5
9774 eval "ac_cv_func_$ac_func=no"
9779 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9780 echo "$ac_t""yes" 1>&6
9781 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9782 cat >> confdefs.h
<<EOF
9783 #define $ac_tr_func 1
9785 cat >> confdefs.h
<<\EOF
9786 #define HAVE_USLEEP 1
9790 echo "$ac_t""no" 1>&6
9791 echo "configure: warning: wxSleep() function will not work" 1>&2
9803 for ac_func
in uname gethostname
9805 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9806 echo "configure:9807: checking for $ac_func" >&5
9807 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9808 echo $ac_n "(cached) $ac_c" 1>&6
9810 cat > conftest.
$ac_ext <<EOF
9811 #line 9812 "configure"
9812 #include "confdefs.h"
9813 /* System header to define __stub macros and hopefully few prototypes,
9814 which can conflict with char $ac_func(); below. */
9816 /* Override any gcc2 internal prototype to avoid an error. */
9817 /* We use char because int might match the return type of a gcc2
9818 builtin and then its argument prototype would still apply. */
9824 /* The GNU C library defines this for functions which it implements
9825 to always fail with ENOSYS. Some functions are actually named
9826 something starting with __ and the normal name is an alias. */
9827 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9835 if { (eval echo configure
:9836: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9837 eval "ac_cv_func_$ac_func=yes"
9839 echo "configure: failed program was:" >&5
9840 cat conftest.
$ac_ext >&5
9842 eval "ac_cv_func_$ac_func=no"
9847 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9848 echo "$ac_t""yes" 1>&6
9849 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9850 cat >> confdefs.h
<<EOF
9851 #define $ac_tr_func 1
9855 echo "$ac_t""no" 1>&6
9860 for ac_func
in strtok_r
9862 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9863 echo "configure:9864: checking for $ac_func" >&5
9864 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9865 echo $ac_n "(cached) $ac_c" 1>&6
9867 cat > conftest.
$ac_ext <<EOF
9868 #line 9869 "configure"
9869 #include "confdefs.h"
9870 /* System header to define __stub macros and hopefully few prototypes,
9871 which can conflict with char $ac_func(); below. */
9873 /* Override any gcc2 internal prototype to avoid an error. */
9874 /* We use char because int might match the return type of a gcc2
9875 builtin and then its argument prototype would still apply. */
9881 /* The GNU C library defines this for functions which it implements
9882 to always fail with ENOSYS. Some functions are actually named
9883 something starting with __ and the normal name is an alias. */
9884 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9892 if { (eval echo configure
:9893: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9894 eval "ac_cv_func_$ac_func=yes"
9896 echo "configure: failed program was:" >&5
9897 cat conftest.
$ac_ext >&5
9899 eval "ac_cv_func_$ac_func=no"
9904 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9905 echo "$ac_t""yes" 1>&6
9906 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9907 cat >> confdefs.h
<<EOF
9908 #define $ac_tr_func 1
9912 echo "$ac_t""no" 1>&6
9918 for ac_func
in inet_addr
9920 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9921 echo "configure:9922: checking for $ac_func" >&5
9922 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9923 echo $ac_n "(cached) $ac_c" 1>&6
9925 cat > conftest.
$ac_ext <<EOF
9926 #line 9927 "configure"
9927 #include "confdefs.h"
9928 /* System header to define __stub macros and hopefully few prototypes,
9929 which can conflict with char $ac_func(); below. */
9931 /* Override any gcc2 internal prototype to avoid an error. */
9932 /* We use char because int might match the return type of a gcc2
9933 builtin and then its argument prototype would still apply. */
9939 /* The GNU C library defines this for functions which it implements
9940 to always fail with ENOSYS. Some functions are actually named
9941 something starting with __ and the normal name is an alias. */
9942 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9950 if { (eval echo configure
:9951: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9952 eval "ac_cv_func_$ac_func=yes"
9954 echo "configure: failed program was:" >&5
9955 cat conftest.
$ac_ext >&5
9957 eval "ac_cv_func_$ac_func=no"
9962 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9963 echo "$ac_t""yes" 1>&6
9964 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9965 cat >> confdefs.h
<<EOF
9966 #define $ac_tr_func 1
9968 cat >> confdefs.h
<<\EOF
9969 #define HAVE_INET_ADDR 1
9973 echo "$ac_t""no" 1>&6
9974 echo $ac_n "checking for inet_addr in -lnsl""... $ac_c" 1>&6
9975 echo "configure:9976: checking for inet_addr in -lnsl" >&5
9976 ac_lib_var
=`echo nsl'_'inet_addr | sed 'y%./+-%__p_%'`
9977 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9978 echo $ac_n "(cached) $ac_c" 1>&6
9980 ac_save_LIBS
="$LIBS"
9982 cat > conftest.
$ac_ext <<EOF
9983 #line 9984 "configure"
9984 #include "confdefs.h"
9985 /* Override any gcc2 internal prototype to avoid an error. */
9986 /* We use char because int might match the return type of a gcc2
9987 builtin and then its argument prototype would still apply. */
9994 if { (eval echo configure
:9995: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9996 eval "ac_cv_lib_$ac_lib_var=yes"
9998 echo "configure: failed program was:" >&5
9999 cat conftest.
$ac_ext >&5
10001 eval "ac_cv_lib_$ac_lib_var=no"
10004 LIBS
="$ac_save_LIBS"
10007 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10008 echo "$ac_t""yes" 1>&6
10011 echo "$ac_t""no" 1>&6
10012 echo $ac_n "checking for inet_addr in -lresolv""... $ac_c" 1>&6
10013 echo "configure:10014: checking for inet_addr in -lresolv" >&5
10014 ac_lib_var
=`echo resolv'_'inet_addr | sed 'y%./+-%__p_%'`
10015 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10016 echo $ac_n "(cached) $ac_c" 1>&6
10018 ac_save_LIBS
="$LIBS"
10019 LIBS
="-lresolv $LIBS"
10020 cat > conftest.
$ac_ext <<EOF
10021 #line 10022 "configure"
10022 #include "confdefs.h"
10023 /* Override any gcc2 internal prototype to avoid an error. */
10024 /* We use char because int might match the return type of a gcc2
10025 builtin and then its argument prototype would still apply. */
10032 if { (eval echo configure
:10033: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10034 eval "ac_cv_lib_$ac_lib_var=yes"
10036 echo "configure: failed program was:" >&5
10037 cat conftest.
$ac_ext >&5
10039 eval "ac_cv_lib_$ac_lib_var=no"
10042 LIBS
="$ac_save_LIBS"
10045 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10046 echo "$ac_t""yes" 1>&6
10050 echo "$ac_t""no" 1>&6
10062 for ac_func
in inet_aton
10064 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10065 echo "configure:10066: checking for $ac_func" >&5
10066 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10067 echo $ac_n "(cached) $ac_c" 1>&6
10069 cat > conftest.
$ac_ext <<EOF
10070 #line 10071 "configure"
10071 #include "confdefs.h"
10072 /* System header to define __stub macros and hopefully few prototypes,
10073 which can conflict with char $ac_func(); below. */
10074 #include <assert.h>
10075 /* Override any gcc2 internal prototype to avoid an error. */
10076 /* We use char because int might match the return type of a gcc2
10077 builtin and then its argument prototype would still apply. */
10083 /* The GNU C library defines this for functions which it implements
10084 to always fail with ENOSYS. Some functions are actually named
10085 something starting with __ and the normal name is an alias. */
10086 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10094 if { (eval echo configure
:10095: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10096 eval "ac_cv_func_$ac_func=yes"
10098 echo "configure: failed program was:" >&5
10099 cat conftest.
$ac_ext >&5
10101 eval "ac_cv_func_$ac_func=no"
10106 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10107 echo "$ac_t""yes" 1>&6
10108 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10109 cat >> confdefs.h
<<EOF
10110 #define $ac_tr_func 1
10112 cat >> confdefs.h
<<\EOF
10113 #define HAVE_INET_ATON 1
10117 echo "$ac_t""no" 1>&6
10118 echo $ac_n "checking for inet_aton in -l$INET_LINK""... $ac_c" 1>&6
10119 echo "configure:10120: checking for inet_aton in -l$INET_LINK" >&5
10120 ac_lib_var
=`echo $INET_LINK'_'inet_aton | sed 'y%./+-%__p_%'`
10121 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10122 echo $ac_n "(cached) $ac_c" 1>&6
10124 ac_save_LIBS
="$LIBS"
10125 LIBS
="-l$INET_LINK $LIBS"
10126 cat > conftest.
$ac_ext <<EOF
10127 #line 10128 "configure"
10128 #include "confdefs.h"
10129 /* Override any gcc2 internal prototype to avoid an error. */
10130 /* We use char because int might match the return type of a gcc2
10131 builtin and then its argument prototype would still apply. */
10138 if { (eval echo configure
:10139: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10140 eval "ac_cv_lib_$ac_lib_var=yes"
10142 echo "configure: failed program was:" >&5
10143 cat conftest.
$ac_ext >&5
10145 eval "ac_cv_lib_$ac_lib_var=no"
10148 LIBS
="$ac_save_LIBS"
10151 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10152 echo "$ac_t""yes" 1>&6
10153 cat >> confdefs.h
<<\EOF
10154 #define HAVE_INET_ATON 1
10158 echo "$ac_t""no" 1>&6
10166 if test "x$INET_LINK" != "x"; then
10167 cat >> confdefs.h
<<\EOF
10168 #define HAVE_INET_ADDR 1
10171 INET_LINK
="-l$INET_LINK"
10177 cat > confcache
<<\EOF
10178 # This file is a shell script that caches the results of configure
10179 # tests run on this system so they can be shared between configure
10180 # scripts and configure runs. It is not useful on other systems.
10181 # If it contains results you don't want to keep, you may remove or edit it.
10183 # By default, configure uses ./config.cache as the cache file,
10184 # creating it if it does not exist already. You can give configure
10185 # the --cache-file=FILE option to use a different cache file; that is
10186 # what configure does when it calls configure scripts in
10187 # subdirectories, so they share the cache.
10188 # Giving --cache-file=/dev/null disables caching, for debugging configure.
10189 # config.status only pays attention to the cache file if you give it the
10190 # --recheck option to rerun configure.
10193 # The following way of writing the cache mishandles newlines in values,
10194 # but we know of no workaround that is simple, portable, and efficient.
10195 # So, don't put newlines in cache variables' values.
10196 # Ultrix sh set writes to stderr and can't be redirected directly,
10197 # and sets the high bit in the cache file unless we assign to the vars.
10199 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10201 # `set' does not quote correctly, so add quotes (double-quote substitution
10202 # turns \\\\ into \\, and sed turns \\ into \).
10204 -e "s/'/'\\\\''/g" \
10205 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
10208 # `set' quotes correctly as required by POSIX, so do not add quotes.
10209 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
10212 if cmp -s $cache_file confcache
; then
10215 if test -w $cache_file; then
10216 echo "updating cache $cache_file"
10217 cat confcache
> $cache_file
10219 echo "not updating unwritable cache $cache_file"
10226 if test "$USE_UNIX" = 1; then
10232 if test "$wxUSE_THREADS" = "yes" ; then
10233 if test "$wxUSE_WINE" = 1 ; then
10234 echo "configure: warning: Threads are not supported under WINE" 1>&2
10239 if test "$wxUSE_THREADS" = "yes" ; then
10241 echo $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6
10242 echo "configure:10243: checking for pthread_create in -lpthread" >&5
10243 ac_lib_var
=`echo pthread'_'pthread_create | sed 'y%./+-%__p_%'`
10244 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10245 echo $ac_n "(cached) $ac_c" 1>&6
10247 ac_save_LIBS
="$LIBS"
10248 LIBS
="-lpthread $LIBS"
10249 cat > conftest.
$ac_ext <<EOF
10250 #line 10251 "configure"
10251 #include "confdefs.h"
10252 /* Override any gcc2 internal prototype to avoid an error. */
10253 /* We use char because int might match the return type of a gcc2
10254 builtin and then its argument prototype would still apply. */
10255 char pthread_create();
10261 if { (eval echo configure
:10262: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10263 eval "ac_cv_lib_$ac_lib_var=yes"
10265 echo "configure: failed program was:" >&5
10266 cat conftest.
$ac_ext >&5
10268 eval "ac_cv_lib_$ac_lib_var=no"
10271 LIBS
="$ac_save_LIBS"
10274 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10275 echo "$ac_t""yes" 1>&6
10277 THREADS_OBJ
="threadpsx.lo"
10278 THREADS_LINK
="pthread"
10281 echo "$ac_t""no" 1>&6
10283 echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
10284 echo "configure:10285: checking for pthread_create in -lc_r" >&5
10285 ac_lib_var
=`echo c_r'_'pthread_create | sed 'y%./+-%__p_%'`
10286 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10287 echo $ac_n "(cached) $ac_c" 1>&6
10289 ac_save_LIBS
="$LIBS"
10291 cat > conftest.
$ac_ext <<EOF
10292 #line 10293 "configure"
10293 #include "confdefs.h"
10294 /* Override any gcc2 internal prototype to avoid an error. */
10295 /* We use char because int might match the return type of a gcc2
10296 builtin and then its argument prototype would still apply. */
10297 char pthread_create();
10303 if { (eval echo configure
:10304: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10305 eval "ac_cv_lib_$ac_lib_var=yes"
10307 echo "configure: failed program was:" >&5
10308 cat conftest.
$ac_ext >&5
10310 eval "ac_cv_lib_$ac_lib_var=no"
10313 LIBS
="$ac_save_LIBS"
10316 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10317 echo "$ac_t""yes" 1>&6
10319 THREADS_OBJ
="threadpsx.lo"
10323 echo "$ac_t""no" 1>&6
10325 ac_safe
=`echo "sys/prctl.h" | sed 'y%./+-%__p_%'`
10326 echo $ac_n "checking for sys/prctl.h""... $ac_c" 1>&6
10327 echo "configure:10328: checking for sys/prctl.h" >&5
10328 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10329 echo $ac_n "(cached) $ac_c" 1>&6
10331 cat > conftest.
$ac_ext <<EOF
10332 #line 10333 "configure"
10333 #include "confdefs.h"
10334 #include <sys/prctl.h>
10336 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10337 { (eval echo configure
:10338: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10338 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10339 if test -z "$ac_err"; then
10341 eval "ac_cv_header_$ac_safe=yes"
10344 echo "configure: failed program was:" >&5
10345 cat conftest.
$ac_ext >&5
10347 eval "ac_cv_header_$ac_safe=no"
10351 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10352 echo "$ac_t""yes" 1>&6
10354 THREADS_OBJ
="threadsgi.lo"
10357 echo "$ac_t""no" 1>&6
10367 if test -z "$THREADS_OBJ" ; then
10369 echo "configure: warning: No thread support on this system" 1>&2
10373 if test "$wxUSE_THREADS" = "yes" ; then
10375 for ac_hdr
in sched.h
10377 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10378 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10379 echo "configure:10380: checking for $ac_hdr" >&5
10380 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10381 echo $ac_n "(cached) $ac_c" 1>&6
10383 cat > conftest.
$ac_ext <<EOF
10384 #line 10385 "configure"
10385 #include "confdefs.h"
10388 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10389 { (eval echo configure
:10390: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10390 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10391 if test -z "$ac_err"; then
10393 eval "ac_cv_header_$ac_safe=yes"
10396 echo "configure: failed program was:" >&5
10397 cat conftest.
$ac_ext >&5
10399 eval "ac_cv_header_$ac_safe=no"
10403 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10404 echo "$ac_t""yes" 1>&6
10405 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10406 cat >> confdefs.h
<<EOF
10407 #define $ac_tr_hdr 1
10411 echo "$ac_t""no" 1>&6
10416 echo $ac_n "checking for sched_yield in -l$THREADS_LINK""... $ac_c" 1>&6
10417 echo "configure:10418: checking for sched_yield in -l$THREADS_LINK" >&5
10418 ac_lib_var
=`echo $THREADS_LINK'_'sched_yield | sed 'y%./+-%__p_%'`
10419 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10420 echo $ac_n "(cached) $ac_c" 1>&6
10422 ac_save_LIBS
="$LIBS"
10423 LIBS
="-l$THREADS_LINK $LIBS"
10424 cat > conftest.
$ac_ext <<EOF
10425 #line 10426 "configure"
10426 #include "confdefs.h"
10427 /* Override any gcc2 internal prototype to avoid an error. */
10428 /* We use char because int might match the return type of a gcc2
10429 builtin and then its argument prototype would still apply. */
10430 char sched_yield();
10436 if { (eval echo configure
:10437: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10438 eval "ac_cv_lib_$ac_lib_var=yes"
10440 echo "configure: failed program was:" >&5
10441 cat conftest.
$ac_ext >&5
10443 eval "ac_cv_lib_$ac_lib_var=no"
10446 LIBS
="$ac_save_LIBS"
10449 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10450 echo "$ac_t""yes" 1>&6
10451 cat >> confdefs.h
<<\EOF
10452 #define HAVE_SCHED_YIELD 1
10456 echo "$ac_t""no" 1>&6
10457 echo $ac_n "checking for sched_yield in -l"posix4
"""... $ac_c" 1>&6
10458 echo "configure:10459: checking for sched_yield in -l"posix4
"" >&5
10459 ac_lib_var
=`echo "posix4"'_'sched_yield | sed 'y%./+-%__p_%'`
10460 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10461 echo $ac_n "(cached) $ac_c" 1>&6
10463 ac_save_LIBS
="$LIBS"
10464 LIBS
="-l"posix4
" $LIBS"
10465 cat > conftest.
$ac_ext <<EOF
10466 #line 10467 "configure"
10467 #include "confdefs.h"
10468 /* Override any gcc2 internal prototype to avoid an error. */
10469 /* We use char because int might match the return type of a gcc2
10470 builtin and then its argument prototype would still apply. */
10471 char sched_yield();
10477 if { (eval echo configure
:10478: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10479 eval "ac_cv_lib_$ac_lib_var=yes"
10481 echo "configure: failed program was:" >&5
10482 cat conftest.
$ac_ext >&5
10484 eval "ac_cv_lib_$ac_lib_var=no"
10487 LIBS
="$ac_save_LIBS"
10490 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10491 echo "$ac_t""yes" 1>&6
10492 cat >> confdefs.h
<<\EOF
10493 #define HAVE_SCHED_YIELD 1
10495 POSIX4_LINK
="-lposix4"
10497 echo "$ac_t""no" 1>&6
10498 echo "configure: warning: wxThread::Yield will not work properly" 1>&2
10506 echo $ac_n "checking for pthread_attr_getschedpolicy in -l$THREADS_LINK""... $ac_c" 1>&6
10507 echo "configure:10508: checking for pthread_attr_getschedpolicy in -l$THREADS_LINK" >&5
10508 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
10509 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10510 echo $ac_n "(cached) $ac_c" 1>&6
10512 ac_save_LIBS
="$LIBS"
10513 LIBS
="-l$THREADS_LINK $LIBS"
10514 cat > conftest.
$ac_ext <<EOF
10515 #line 10516 "configure"
10516 #include "confdefs.h"
10517 /* Override any gcc2 internal prototype to avoid an error. */
10518 /* We use char because int might match the return type of a gcc2
10519 builtin and then its argument prototype would still apply. */
10520 char pthread_attr_getschedpolicy();
10523 pthread_attr_getschedpolicy()
10526 if { (eval echo configure
:10527: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10528 eval "ac_cv_lib_$ac_lib_var=yes"
10530 echo "configure: failed program was:" >&5
10531 cat conftest.
$ac_ext >&5
10533 eval "ac_cv_lib_$ac_lib_var=no"
10536 LIBS
="$ac_save_LIBS"
10539 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10540 echo "$ac_t""yes" 1>&6
10541 cat >> confdefs.h
<<\EOF
10542 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
10546 echo "$ac_t""no" 1>&6
10547 echo $ac_n "checking for pthread_attr_getschedpolicy in -l"posix4
"""... $ac_c" 1>&6
10548 echo "configure:10549: checking for pthread_attr_getschedpolicy in -l"posix4
"" >&5
10549 ac_lib_var
=`echo "posix4"'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
10550 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10551 echo $ac_n "(cached) $ac_c" 1>&6
10553 ac_save_LIBS
="$LIBS"
10554 LIBS
="-l"posix4
" $LIBS"
10555 cat > conftest.
$ac_ext <<EOF
10556 #line 10557 "configure"
10557 #include "confdefs.h"
10558 /* Override any gcc2 internal prototype to avoid an error. */
10559 /* We use char because int might match the return type of a gcc2
10560 builtin and then its argument prototype would still apply. */
10561 char pthread_attr_getschedpolicy();
10564 pthread_attr_getschedpolicy()
10567 if { (eval echo configure
:10568: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10569 eval "ac_cv_lib_$ac_lib_var=yes"
10571 echo "configure: failed program was:" >&5
10572 cat conftest.
$ac_ext >&5
10574 eval "ac_cv_lib_$ac_lib_var=no"
10577 LIBS
="$ac_save_LIBS"
10580 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10581 echo "$ac_t""yes" 1>&6
10582 cat >> confdefs.h
<<\EOF
10583 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
10585 POSIX4_LINK
="-lposix4"
10587 echo "$ac_t""no" 1>&6
10588 echo "configure: warning: Setting thread priority will not work" 1>&2
10596 echo $ac_n "checking for pthread_cancel in -l$THREADS_LINK""... $ac_c" 1>&6
10597 echo "configure:10598: checking for pthread_cancel in -l$THREADS_LINK" >&5
10598 ac_lib_var
=`echo $THREADS_LINK'_'pthread_cancel | sed 'y%./+-%__p_%'`
10599 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10600 echo $ac_n "(cached) $ac_c" 1>&6
10602 ac_save_LIBS
="$LIBS"
10603 LIBS
="-l$THREADS_LINK $LIBS"
10604 cat > conftest.
$ac_ext <<EOF
10605 #line 10606 "configure"
10606 #include "confdefs.h"
10607 /* Override any gcc2 internal prototype to avoid an error. */
10608 /* We use char because int might match the return type of a gcc2
10609 builtin and then its argument prototype would still apply. */
10610 char pthread_cancel();
10616 if { (eval echo configure
:10617: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10618 eval "ac_cv_lib_$ac_lib_var=yes"
10620 echo "configure: failed program was:" >&5
10621 cat conftest.
$ac_ext >&5
10623 eval "ac_cv_lib_$ac_lib_var=no"
10626 LIBS
="$ac_save_LIBS"
10629 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10630 echo "$ac_t""yes" 1>&6
10631 cat >> confdefs.h
<<\EOF
10632 #define HAVE_PTHREAD_CANCEL 1
10636 echo "$ac_t""no" 1>&6
10637 echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
10641 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
10642 echo "configure:10643: checking for pthread_cleanup_push/pop" >&5
10643 if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
10644 echo $ac_n "(cached) $ac_c" 1>&6
10647 cat > conftest.
$ac_ext <<EOF
10648 #line 10649 "configure"
10649 #include "confdefs.h"
10650 #include <pthread.h>
10653 pthread_cleanup_push(NULL, NULL);
10654 pthread_cleanup_pop(0);
10658 if { (eval echo configure
:10659: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10661 wx_cv_func_pthread_cleanup_push
=yes
10662 cat >> confdefs.h
<<\EOF
10663 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
10668 echo "configure: failed program was:" >&5
10669 cat conftest.
$ac_ext >&5
10672 wx_cv_func_pthread_cleanup_push
=no
10679 echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
10681 THREADS_LINK
="-l$THREADS_LINK"
10686 if test "$wxUSE_THREADS" = "yes"; then
10687 cat >> confdefs.h
<<\EOF
10688 #define wxUSE_THREADS 1
10692 CFLAGS
="${CFLAGS} -D_REENTRANT"
10693 CXXFLAGS
="${CXXFLAGS} -D_REENTRANT"
10695 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
10697 if test "$ac_cv_func_strtok_r" = "yes"; then
10698 echo $ac_n "checking if -D_REENTRANT is needed""... $ac_c" 1>&6
10699 echo "configure:10700: checking if -D_REENTRANT is needed" >&5
10700 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
10701 CFLAGS
="${CFLAGS} -D_REENTRANT"
10702 CXXFLAGS
="${CXXFLAGS} -D_REENTRANT"
10703 echo "$ac_t""yes" 1>&6
10705 echo "$ac_t""no" 1>&6
10710 if test "$WXGTK12" = 1 ; then
10711 cat >> confdefs.h
<<EOF
10712 #define __WXGTK12__ $WXGTK12
10717 if test "$WXWINE" = 1 ; then
10718 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WXWINE__"
10721 if test "$wxUSE_CYGWIN" = 1 ; then
10722 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WIN95__"
10727 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
10732 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
10733 wxUSE_DEBUG_INFO
=yes
10737 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
10738 cat >> confdefs.h
<<\EOF
10742 WXDEBUG_DEFINE
="-D__WXDEBUG__"
10744 if test "$wxUSE_GTK" = 1 ; then
10745 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
10749 if test "$wxUSE_MEM_TRACING" = "yes" ; then
10750 cat >> confdefs.h
<<\EOF
10751 #define wxUSE_MEMORY_TRACING 1
10754 cat >> confdefs.h
<<\EOF
10755 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
10758 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
10761 if test "$wxUSE_DMALLOC" = "yes" ; then
10762 DMALLOC_LINK
="-ldmalloc"
10766 if test "$wxUSE_PROFILE" = "yes" ; then
10771 if test "$GCC" = yes ; then
10772 if test "$wxUSE_NO_RTTI" = "yes" ; then
10773 WXDEBUG_DEFINE
="$WXDEBUG_DEFINE -fno-rtti"
10775 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
10776 WXDEBUG_DEFINE
="$WXDEBUG_DEFINE -fno-exceptions"
10778 if test "$wxUSE_PERMISSIVE" = "yes" ; then
10779 CFLAGS
="${CFLAGS} -fpermissive"
10780 CXXFLAGS
="${CXXFLAGS} -fpermissive"
10782 if test "$wxUSE_NO_DEPS" = "no" ; then
10783 DEP_INFO_FLAGS
="-MMD"
10788 CXXFLAGS
=`echo "${CXXFLAGS}" | sed "s/\-O.//g" `
10789 CFLAGS
=`echo "${CFLAGS}" | sed "s/\-O.//g" `
10790 if test "$wxUSE_OPTIMISE" = "no" ; then
10793 if test "$GCC" = yes ; then
10796 i586
-*-*|i686
-*-* )
10797 OPTIMISE
="${OPTIMISE} "
10807 if test "$wxUSE_ZLIB" = "yes" ; then
10808 cat >> confdefs.h
<<\EOF
10809 #define wxUSE_ZLIB 1
10812 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
10816 if test "$wxUSE_LIBPNG" = "yes" ; then
10817 cat >> confdefs.h
<<\EOF
10818 #define wxUSE_LIBPNG 1
10821 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
10822 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
10826 if test "$wxUSE_LIBJPEG" = "yes" ; then
10827 cat >> confdefs.h
<<\EOF
10828 #define wxUSE_LIBJPEG 1
10831 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
10834 if test "$wxUSE_OPENGL" = "yes"; then
10835 ac_safe
=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
10836 echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
10837 echo "configure:10838: checking for GL/gl.h" >&5
10838 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10839 echo $ac_n "(cached) $ac_c" 1>&6
10841 cat > conftest.
$ac_ext <<EOF
10842 #line 10843 "configure"
10843 #include "confdefs.h"
10846 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10847 { (eval echo configure
:10848: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10848 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10849 if test -z "$ac_err"; then
10851 eval "ac_cv_header_$ac_safe=yes"
10854 echo "configure: failed program was:" >&5
10855 cat conftest.
$ac_ext >&5
10857 eval "ac_cv_header_$ac_safe=no"
10861 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10862 echo "$ac_t""yes" 1>&6
10864 echo $ac_n "checking for glInitNames in -lGL""... $ac_c" 1>&6
10865 echo "configure:10866: checking for glInitNames in -lGL" >&5
10866 ac_lib_var
=`echo GL'_'glInitNames | sed 'y%./+-%__p_%'`
10867 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10868 echo $ac_n "(cached) $ac_c" 1>&6
10870 ac_save_LIBS
="$LIBS"
10871 LIBS
="-lGL wxUSE_OPENGL=0 $LIBS"
10872 cat > conftest.
$ac_ext <<EOF
10873 #line 10874 "configure"
10874 #include "confdefs.h"
10875 /* Override any gcc2 internal prototype to avoid an error. */
10876 /* We use char because int might match the return type of a gcc2
10877 builtin and then its argument prototype would still apply. */
10878 char glInitNames();
10884 if { (eval echo configure
:10885: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10886 eval "ac_cv_lib_$ac_lib_var=yes"
10888 echo "configure: failed program was:" >&5
10889 cat conftest.
$ac_ext >&5
10891 eval "ac_cv_lib_$ac_lib_var=no"
10894 LIBS
="$ac_save_LIBS"
10897 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10898 echo "$ac_t""yes" 1>&6
10901 cat >> confdefs.h
<<\EOF
10902 #define wxUSE_OPENGL 1
10905 UTILS_SUBDIRS
="$UTILS_SUBDIRS glcanvas/src"
10908 echo "$ac_t""no" 1>&6
10910 echo $ac_n "checking for glInitNames in -lMesaGL""... $ac_c" 1>&6
10911 echo "configure:10912: checking for glInitNames in -lMesaGL" >&5
10912 ac_lib_var
=`echo MesaGL'_'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
="-lMesaGL $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
10946 OPENGL_LINK
="-lMesaGL"
10947 cat >> confdefs.h
<<\EOF
10948 #define wxUSE_OPENGL 1
10951 UTILS_SUBDIRS
="$UTILS_SUBDIRS glcanvas/src"
10954 echo "$ac_t""no" 1>&6
10963 echo "$ac_t""no" 1>&6
10970 if test "$wxUSE_GUI" = "yes"; then
10971 cat >> confdefs.h
<<\EOF
10972 #define wxUSE_GUI 1
10977 cat >> confdefs.h
<<\EOF
10978 #define wxUSE_NOGUI 1
10984 if test "$wxUSE_UNIX" = "yes"; then
10985 cat >> confdefs.h
<<\EOF
10986 #define wxUSE_UNIX 1
10992 if test "$wxUSE_APPLE_IEEE" = "yes"; then
10993 cat >> confdefs.h
<<\EOF
10994 #define wxUSE_APPLE_IEEE 1
10999 if test "$wxUSE_WAVE" = "yes"; then
11000 cat >> confdefs.h
<<\EOF
11001 #define wxUSE_WAVE 1
11006 if test "$wxUSE_FILE" = "yes"; then
11007 cat >> confdefs.h
<<\EOF
11008 #define wxUSE_FILE 1
11013 if test "$wxUSE_FS_INET" = "yes"; then
11014 cat >> confdefs.h
<<\EOF
11015 #define wxUSE_FS_INET 1
11020 if test "$wxUSE_FS_ZIP" = "yes"; then
11021 cat >> confdefs.h
<<\EOF
11022 #define wxUSE_FS_ZIP 1
11027 if test "$wxUSE_ZIPSTREAM" = "yes"; then
11028 cat >> confdefs.h
<<\EOF
11029 #define wxUSE_ZIPSTREAM 1
11034 if test "$wxUSE_BUSYINFO" = "yes"; then
11035 cat >> confdefs.h
<<\EOF
11036 #define wxUSE_BUSYINFO 1
11041 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
11042 cat >> confdefs.h
<<\EOF
11043 #define wxUSE_STD_IOSTREAM 1
11048 if test "$wxUSE_TEXTFILE" = "yes"; then
11049 if test "$wxUSE_FILE" != "yes"; then
11050 echo "configure: warning: wxTextFile requires wxFile and it won't be compiled without it" 1>&2
11052 cat >> confdefs.h
<<\EOF
11053 #define wxUSE_TEXTFILE 1
11059 if test "$wxUSE_CONFIG" = "yes" ; then
11060 if test "$wxUSE_TEXTFILE" != "yes"; then
11061 echo "configure: warning: wxConfig requires wxTextFile and it won't be compiled without it" 1>&2
11063 cat >> confdefs.h
<<\EOF
11064 #define wxUSE_CONFIG 1
11067 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
11071 if test "$wxUSE_INTL" = "yes" ; then
11072 if test "$wxUSE_FILE" != "yes"; then
11073 echo "configure: warning: I18n code requires wxFile and it won't be compiled without it" 1>&2
11075 cat >> confdefs.h
<<\EOF
11076 #define wxUSE_INTL 1
11079 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
11083 if test "$wxUSE_LOG" = "yes"; then
11084 cat >> confdefs.h
<<\EOF
11085 #define wxUSE_LOG 1
11090 if test "$wxUSE_LONGLONG" = "yes"; then
11091 cat >> confdefs.h
<<\EOF
11092 #define wxUSE_LONGLONG 1
11097 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
11098 cat >> confdefs.h
<<\EOF
11099 #define wxUSE_DIALUP_MANAGER 1
11102 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS nettest"
11105 if test "$wxUSE_STREAMS" = "yes" ; then
11106 cat >> confdefs.h
<<\EOF
11107 #define wxUSE_STREAMS 1
11112 if test "$wxUSE_SERIAL" = "yes" ; then
11113 cat >> confdefs.h
<<\EOF
11114 #define wxUSE_SERIAL 1
11120 if test "$wxUSE_TIMEDATE" = "yes"; then
11121 for ac_func
in localtime gettimeofday ftime
11123 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11124 echo "configure:11125: checking for $ac_func" >&5
11125 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11126 echo $ac_n "(cached) $ac_c" 1>&6
11128 cat > conftest.
$ac_ext <<EOF
11129 #line 11130 "configure"
11130 #include "confdefs.h"
11131 /* System header to define __stub macros and hopefully few prototypes,
11132 which can conflict with char $ac_func(); below. */
11133 #include <assert.h>
11134 /* Override any gcc2 internal prototype to avoid an error. */
11135 /* We use char because int might match the return type of a gcc2
11136 builtin and then its argument prototype would still apply. */
11142 /* The GNU C library defines this for functions which it implements
11143 to always fail with ENOSYS. Some functions are actually named
11144 something starting with __ and the normal name is an alias. */
11145 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11153 if { (eval echo configure
:11154: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11155 eval "ac_cv_func_$ac_func=yes"
11157 echo "configure: failed program was:" >&5
11158 cat conftest.
$ac_ext >&5
11160 eval "ac_cv_func_$ac_func=no"
11165 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11166 echo "$ac_t""yes" 1>&6
11167 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11168 cat >> confdefs.h
<<EOF
11169 #define $ac_tr_func 1
11173 echo "$ac_t""no" 1>&6
11178 if test "$ac_cv_func_localtime" = "yes"; then
11179 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
11180 echo "configure:11181: checking for tm_gmtoff in struct tm" >&5
11181 if eval "test \"`echo '$''{'wx_cv_struct_tm_has_gmtoff'+set}'`\" = set"; then
11182 echo $ac_n "(cached) $ac_c" 1>&6
11185 cat > conftest.
$ac_ext <<EOF
11186 #line 11187 "configure"
11187 #include "confdefs.h"
11198 if { (eval echo configure
:11199: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11201 wx_cv_struct_tm_has_gmtoff
=yes
11202 cat >> confdefs.h
<<\EOF
11203 #define WX_GMTOFF_IN_TM 1
11208 echo "configure: failed program was:" >&5
11209 cat conftest.
$ac_ext >&5
11211 wx_cv_struct_tm_has_gmtoff
=no
11218 echo "$ac_t""$wx_cv_struct_tm_has_gmtoff" 1>&6
11219 elif test "$ac_cv_func_gettimeofday" = "yes"; then
11220 echo $ac_n "checking whether gettimeofday takes two arguments""... $ac_c" 1>&6
11221 echo "configure:11222: checking whether gettimeofday takes two arguments" >&5
11222 if eval "test \"`echo '$''{'wx_cv_func_gettimeofday_has_2_args'+set}'`\" = set"; then
11223 echo $ac_n "(cached) $ac_c" 1>&6
11228 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11229 ac_cpp
='$CXXCPP $CPPFLAGS'
11230 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11231 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11232 cross_compiling
=$ac_cv_prog_cxx_cross
11235 cat > conftest.
$ac_ext <<EOF
11236 #line 11237 "configure"
11237 #include "confdefs.h"
11239 #include <sys/time.h>
11240 #include <unistd.h>
11245 struct timezone tz;
11246 gettimeofday(&tv, &tz);
11250 if { (eval echo configure
:11251: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11252 wx_cv_func_gettimeofday_has_2_args
=yes
11254 echo "configure: failed program was:" >&5
11255 cat conftest.
$ac_ext >&5
11257 cat > conftest.
$ac_ext <<EOF
11258 #line 11259 "configure"
11259 #include "confdefs.h"
11261 #include <sys/time.h>
11262 #include <unistd.h>
11271 if { (eval echo configure
:11272: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11273 wx_cv_func_gettimeofday_has_2_args
=no
11275 echo "configure: failed program was:" >&5
11276 cat conftest.
$ac_ext >&5
11278 wx_cv_func_gettimeofday_has_2_args
=unknown
11286 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11287 ac_cpp
='$CPP $CPPFLAGS'
11288 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11289 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11290 cross_compiling
=$ac_cv_prog_cc_cross
11295 echo "$ac_t""$wx_cv_func_gettimeofday_has_2_args" 1>&6
11297 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
11298 cat >> confdefs.h
<<\EOF
11299 #define WX_GETTIMEOFDAY_NO_TZ 1
11305 cat >> confdefs.h
<<\EOF
11306 #define wxUSE_TIMEDATE 1
11309 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
11313 if test "$wxUSE_SOCKETS" = "yes"; then
11314 echo $ac_n "checking for socket""... $ac_c" 1>&6
11315 echo "configure:11316: checking for socket" >&5
11316 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
11317 echo $ac_n "(cached) $ac_c" 1>&6
11319 cat > conftest.
$ac_ext <<EOF
11320 #line 11321 "configure"
11321 #include "confdefs.h"
11322 /* System header to define __stub macros and hopefully few prototypes,
11323 which can conflict with char socket(); below. */
11324 #include <assert.h>
11325 /* Override any gcc2 internal prototype to avoid an error. */
11326 /* We use char because int might match the return type of a gcc2
11327 builtin and then its argument prototype would still apply. */
11333 /* The GNU C library defines this for functions which it implements
11334 to always fail with ENOSYS. Some functions are actually named
11335 something starting with __ and the normal name is an alias. */
11336 #if defined (__stub_socket) || defined (__stub___socket)
11344 if { (eval echo configure
:11345: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11346 eval "ac_cv_func_socket=yes"
11348 echo "configure: failed program was:" >&5
11349 cat conftest.
$ac_ext >&5
11351 eval "ac_cv_func_socket=no"
11356 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
11357 echo "$ac_t""yes" 1>&6
11360 echo "$ac_t""no" 1>&6
11361 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
11362 echo "configure:11363: checking for socket in -lsocket" >&5
11363 ac_lib_var
=`echo socket'_'socket | sed 'y%./+-%__p_%'`
11364 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11365 echo $ac_n "(cached) $ac_c" 1>&6
11367 ac_save_LIBS
="$LIBS"
11368 LIBS
="-lsocket $LIBS"
11369 cat > conftest.
$ac_ext <<EOF
11370 #line 11371 "configure"
11371 #include "confdefs.h"
11372 /* Override any gcc2 internal prototype to avoid an error. */
11373 /* We use char because int might match the return type of a gcc2
11374 builtin and then its argument prototype would still apply. */
11381 if { (eval echo configure
:11382: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11383 eval "ac_cv_lib_$ac_lib_var=yes"
11385 echo "configure: failed program was:" >&5
11386 cat conftest.
$ac_ext >&5
11388 eval "ac_cv_lib_$ac_lib_var=no"
11391 LIBS
="$ac_save_LIBS"
11394 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11395 echo "$ac_t""yes" 1>&6
11396 INET_LINK
="$INET_LINK -lsocket"
11398 echo "$ac_t""no" 1>&6
11400 echo "configure: warning: socket library not found - sockets will be disabled" 1>&2
11411 if test "$wxUSE_SOCKETS" = "yes" ; then
11414 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11415 ac_cpp
='$CXXCPP $CPPFLAGS'
11416 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11417 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11418 cross_compiling
=$ac_cv_prog_cxx_cross
11420 echo $ac_n "checking the type of the third argument of getsockname""... $ac_c" 1>&6
11421 echo "configure:11422: checking the type of the third argument of getsockname" >&5
11422 cat > conftest.
$ac_ext <<EOF
11423 #line 11424 "configure"
11424 #include "confdefs.h"
11425 #include <sys/socket.h>
11427 socklen_t len; getsockname(0, 0, &len);
11430 if { (eval echo configure
:11431: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11432 cat >> confdefs.h
<<\EOF
11433 #define SOCKLEN_T socklen_t
11435 echo "$ac_t""socklen_t" 1>&6
11437 echo "configure: failed program was:" >&5
11438 cat conftest.
$ac_ext >&5
11440 cat > conftest.
$ac_ext <<EOF
11441 #line 11442 "configure"
11442 #include "confdefs.h"
11443 #include <sys/socket.h>
11445 size_t len; getsockname(0, 0, &len);
11448 if { (eval echo configure
:11449: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11450 cat >> confdefs.h
<<\EOF
11451 #define SOCKLEN_T size_t
11453 echo "$ac_t""size_t" 1>&6
11455 echo "configure: failed program was:" >&5
11456 cat conftest.
$ac_ext >&5
11458 cat > conftest.
$ac_ext <<EOF
11459 #line 11460 "configure"
11460 #include "confdefs.h"
11461 #include <sys/socket.h>
11463 int len; getsockname(0, 0, &len);
11466 if { (eval echo configure
:11467: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11468 cat >> confdefs.h
<<\EOF
11469 #define SOCKLEN_T int
11471 echo "$ac_t""int" 1>&6
11473 echo "configure: failed program was:" >&5
11474 cat conftest.
$ac_ext >&5
11476 echo "$ac_t""unknown" 1>&6
11487 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11488 ac_cpp
='$CPP $CPPFLAGS'
11489 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11490 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11491 cross_compiling
=$ac_cv_prog_cc_cross
11494 cat >> confdefs.h
<<\EOF
11495 #define wxUSE_SOCKETS 1
11498 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wxsocket"
11499 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS protocol"
11503 if test "$wxUSE_JOYSTICK" = 1; then
11504 for ac_hdr
in linux
/joystick.h
11506 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11507 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11508 echo "configure:11509: checking for $ac_hdr" >&5
11509 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11510 echo $ac_n "(cached) $ac_c" 1>&6
11512 cat > conftest.
$ac_ext <<EOF
11513 #line 11514 "configure"
11514 #include "confdefs.h"
11517 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11518 { (eval echo configure
:11519: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11519 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11520 if test -z "$ac_err"; then
11522 eval "ac_cv_header_$ac_safe=yes"
11525 echo "configure: failed program was:" >&5
11526 cat conftest.
$ac_ext >&5
11528 eval "ac_cv_header_$ac_safe=no"
11532 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11533 echo "$ac_t""yes" 1>&6
11534 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11535 cat >> confdefs.h
<<EOF
11536 #define $ac_tr_hdr 1
11540 echo "$ac_t""no" 1>&6
11544 if test "$ac_cv_header_linux_joystick_h" = "yes"; then
11545 cat >> confdefs.h
<<\EOF
11546 #define wxUSE_JOYSTICK 1
11549 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
11556 if test "$wxUSE_DYNLIB_CLASS" = "yes"; then
11557 for ac_func
in dlopen
11559 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11560 echo "configure:11561: checking for $ac_func" >&5
11561 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11562 echo $ac_n "(cached) $ac_c" 1>&6
11564 cat > conftest.
$ac_ext <<EOF
11565 #line 11566 "configure"
11566 #include "confdefs.h"
11567 /* System header to define __stub macros and hopefully few prototypes,
11568 which can conflict with char $ac_func(); below. */
11569 #include <assert.h>
11570 /* Override any gcc2 internal prototype to avoid an error. */
11571 /* We use char because int might match the return type of a gcc2
11572 builtin and then its argument prototype would still apply. */
11578 /* The GNU C library defines this for functions which it implements
11579 to always fail with ENOSYS. Some functions are actually named
11580 something starting with __ and the normal name is an alias. */
11581 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11589 if { (eval echo configure
:11590: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11591 eval "ac_cv_func_$ac_func=yes"
11593 echo "configure: failed program was:" >&5
11594 cat conftest.
$ac_ext >&5
11596 eval "ac_cv_func_$ac_func=no"
11601 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11602 echo "$ac_t""yes" 1>&6
11603 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11604 cat >> confdefs.h
<<EOF
11605 #define $ac_tr_func 1
11608 cat >> confdefs.h
<<\EOF
11609 #define HAVE_DLOPEN 1
11615 echo "$ac_t""no" 1>&6
11616 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
11617 echo "configure:11618: checking for dlopen in -ldl" >&5
11618 ac_lib_var
=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
11619 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11620 echo $ac_n "(cached) $ac_c" 1>&6
11622 ac_save_LIBS
="$LIBS"
11624 cat > conftest.
$ac_ext <<EOF
11625 #line 11626 "configure"
11626 #include "confdefs.h"
11627 /* Override any gcc2 internal prototype to avoid an error. */
11628 /* We use char because int might match the return type of a gcc2
11629 builtin and then its argument prototype would still apply. */
11636 if { (eval echo configure
:11637: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11638 eval "ac_cv_lib_$ac_lib_var=yes"
11640 echo "configure: failed program was:" >&5
11641 cat conftest.
$ac_ext >&5
11643 eval "ac_cv_lib_$ac_lib_var=no"
11646 LIBS
="$ac_save_LIBS"
11649 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11650 echo "$ac_t""yes" 1>&6
11652 cat >> confdefs.h
<<\EOF
11653 #define HAVE_DLOPEN 1
11660 echo "$ac_t""no" 1>&6
11662 for ac_func
in shl_load
11664 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11665 echo "configure:11666: checking for $ac_func" >&5
11666 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11667 echo $ac_n "(cached) $ac_c" 1>&6
11669 cat > conftest.
$ac_ext <<EOF
11670 #line 11671 "configure"
11671 #include "confdefs.h"
11672 /* System header to define __stub macros and hopefully few prototypes,
11673 which can conflict with char $ac_func(); below. */
11674 #include <assert.h>
11675 /* Override any gcc2 internal prototype to avoid an error. */
11676 /* We use char because int might match the return type of a gcc2
11677 builtin and then its argument prototype would still apply. */
11683 /* The GNU C library defines this for functions which it implements
11684 to always fail with ENOSYS. Some functions are actually named
11685 something starting with __ and the normal name is an alias. */
11686 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11694 if { (eval echo configure
:11695: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11696 eval "ac_cv_func_$ac_func=yes"
11698 echo "configure: failed program was:" >&5
11699 cat conftest.
$ac_ext >&5
11701 eval "ac_cv_func_$ac_func=no"
11706 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11707 echo "$ac_t""yes" 1>&6
11708 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11709 cat >> confdefs.h
<<EOF
11710 #define $ac_tr_func 1
11713 cat >> confdefs.h
<<\EOF
11714 #define HAVE_SHL_LOAD 1
11720 echo "$ac_t""no" 1>&6
11732 if test "$HAVE_DL_FUNCS" = 0; then
11733 if test "$HAVE_SHL_FUNCS" = 0; then
11734 if test "$USE_UNIX" = 1; then
11735 echo "configure: warning: "--with-dynlib and
--with-odbc will be disabled due to missing shared library support
"" 1>&2
11737 wxUSE_DYNLIB_CLASS
=no
11739 echo "configure: warning: "Cannot check dynlib requirements on non
-Unix platforms. dynlib remains enabled.
"" 1>&2
11745 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
11746 cat >> confdefs.h
<<\EOF
11747 #define wxUSE_DYNLIB_CLASS 1
11753 if test "$wxUSE_UNICODE" = "yes" ; then
11754 cat >> confdefs.h
<<\EOF
11755 #define wxUSE_UNICODE 1
11760 if test "$wxUSE_WCSRTOMBS" = "yes" ; then
11761 cat >> confdefs.h
<<\EOF
11762 #define wxUSE_WCSRTOMBS 1
11767 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
11768 cat >> confdefs.h
<<\EOF
11769 #define wxUSE_EXPERIMENTAL_PRINTF 1
11776 if test "$wxUSE_ODBC" = "yes" ; then
11777 cat >> confdefs.h
<<\EOF
11778 #define wxUSE_ODBC 1
11781 WXODBCFLAG
="-D_IODBC_"
11782 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
11783 IODBCOBJS
="\$(IODBC_OBJS)"
11789 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
11790 cat >> confdefs.h
<<\EOF
11791 #define wxUSE_POSTSCRIPT 1
11796 cat >> confdefs.h
<<\EOF
11797 #define wxUSE_AFM_FOR_POSTSCRIPT 1
11801 cat >> confdefs.h
<<\EOF
11802 #define wxUSE_NORMALIZED_PS_FONTS 1
11807 if test "$wxUSE_CONSTRAINTS" = "yes"; then
11808 cat >> confdefs.h
<<\EOF
11809 #define wxUSE_CONSTRAINTS 1
11812 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
11815 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
11816 cat >> confdefs.h
<<\EOF
11817 #define wxUSE_MDI_ARCHITECTURE 1
11820 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
11823 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
11824 cat >> confdefs.h
<<\EOF
11825 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
11828 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
11829 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
11830 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
11834 if test "$wxUSE_HELP" = "yes"; then
11835 cat >> confdefs.h
<<\EOF
11836 #define wxUSE_HELP 1
11839 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
11842 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
11843 if test "$wxUSE_CONSTRAINTS" != "yes"; then
11844 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
11846 cat >> confdefs.h
<<\EOF
11847 #define wxUSE_PRINTING_ARCHITECTURE 1
11851 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
11854 if test "$wxUSE_PROLOGIO" = "yes" ; then
11855 cat >> confdefs.h
<<\EOF
11856 #define wxUSE_PROLOGIO 1
11861 if test "$wxUSE_RESOURCES" = "yes" ; then
11862 if test "$wxUSE_PROLOGIO" = "yes" ; then
11863 cat >> confdefs.h
<<\EOF
11864 #define wxUSE_RESOURCES 1
11867 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS resource"
11869 echo "configure: warning: wxWindows ressource system requires PrologIO and can't be compiled without it." 1>&2
11873 if test "$wxUSE_X_RESOURCES" = "yes"; then
11874 cat >> confdefs.h
<<\EOF
11875 #define wxUSE_X_RESOURCES 1
11881 if test "$wxUSE_IPC" = "yes"; then
11882 cat >> confdefs.h
<<\EOF
11883 #define wxUSE_IPC 1
11888 if test "$wxUSE_CLIPBOARD" = "yes"; then
11889 cat >> confdefs.h
<<\EOF
11890 #define wxUSE_CLIPBOARD 1
11895 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
11896 if test "$wxUSE_GTK" = 1; then
11897 if test "$WXGTK12" != 1; then
11898 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2" 1>&2
11899 wxUSE_DRAG_AND_DROP
=no
11903 if test "$wxUSE_MOTIF" = 1; then
11904 echo "configure: warning: Drag and drop is not yet supported under Motif" 1>&2
11905 wxUSE_DRAG_AND_DROP
=no
11908 if test "$USE_WIN32" = 1; then
11909 for ac_hdr
in ole2.h
11911 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11912 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11913 echo "configure:11914: checking for $ac_hdr" >&5
11914 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11915 echo $ac_n "(cached) $ac_c" 1>&6
11917 cat > conftest.
$ac_ext <<EOF
11918 #line 11919 "configure"
11919 #include "confdefs.h"
11922 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11923 { (eval echo configure
:11924: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11924 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11925 if test -z "$ac_err"; then
11927 eval "ac_cv_header_$ac_safe=yes"
11930 echo "configure: failed program was:" >&5
11931 cat conftest.
$ac_ext >&5
11933 eval "ac_cv_header_$ac_safe=no"
11937 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11938 echo "$ac_t""yes" 1>&6
11939 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11940 cat >> confdefs.h
<<EOF
11941 #define $ac_tr_hdr 1
11945 echo "$ac_t""no" 1>&6
11949 if test "x$HAVE_OLE2_H" = x
; then
11950 echo "configure: warning: Drag and drop disabled because OLE headers not found" 1>&2
11951 wxUSE_DRAG_AND_DROP
=no
11955 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
11956 cat >> confdefs.h
<<\EOF
11957 #define wxUSE_DRAG_AND_DROP 1
11960 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
11965 if test "$wxUSE_SPLINES" = "yes" ; then
11966 cat >> confdefs.h
<<\EOF
11967 #define wxUSE_SPLINES 1
11973 if test "$wxUSE_ACCEL" = "yes"; then
11974 cat >> confdefs.h
<<\EOF
11975 #define wxUSE_ACCEL 1
11980 if test "$wxUSE_CARET" = "yes"; then
11981 cat >> confdefs.h
<<\EOF
11982 #define wxUSE_CARET 1
11985 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
11988 if test "$wxUSE_COMBOBOX" = "yes"; then
11989 cat >> confdefs.h
<<\EOF
11990 #define wxUSE_COMBOBOX 1
11995 if test "$wxUSE_CHOICE" = "yes"; then
11996 cat >> confdefs.h
<<\EOF
11997 #define wxUSE_CHOICE 1
12002 if test "$wxUSE_BMPBUTTON" = "yes"; then
12003 cat >> confdefs.h
<<\EOF
12004 #define wxUSE_BMPBUTTON 1
12009 if test "$wxUSE_CHECKBOX" = "yes"; then
12010 cat >> confdefs.h
<<\EOF
12011 #define wxUSE_CHECKBOX 1
12016 if test "$wxUSE_CHECKLST" = "yes"; then
12017 cat >> confdefs.h
<<\EOF
12018 #define wxUSE_CHECKLISTBOX 1
12021 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
12024 if test "$wxUSE_GAUGE" = "yes"; then
12025 cat >> confdefs.h
<<\EOF
12026 #define wxUSE_GAUGE 1
12031 if test "$wxUSE_GRID" = "yes"; then
12032 cat >> confdefs.h
<<\EOF
12033 #define wxUSE_GRID 1
12036 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
12039 if test "$wxUSE_NEW_GRID" = "yes"; then
12040 cat >> confdefs.h
<<\EOF
12041 #define wxUSE_NEW_GRID 1
12044 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS newgrid"
12047 if test "$wxUSE_IMAGLIST" = "yes"; then
12048 cat >> confdefs.h
<<\EOF
12049 #define wxUSE_IMAGLIST 1
12054 if test "$wxUSE_LISTBOX" = "yes"; then
12055 cat >> confdefs.h
<<\EOF
12056 #define wxUSE_LISTBOX 1
12061 if test "$wxUSE_LISTCTRL" = "yes"; then
12062 if test "$wxUSE_IMAGLIST" = "yes"; then
12063 cat >> confdefs.h
<<\EOF
12064 #define wxUSE_LISTCTRL 1
12067 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
12069 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
12073 if test "$wxUSE_NOTEBOOK" = "yes"; then
12074 cat >> confdefs.h
<<\EOF
12075 #define wxUSE_NOTEBOOK 1
12078 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
12081 if test "$wxUSE_RADIOBOX" = "yes"; then
12082 cat >> confdefs.h
<<\EOF
12083 #define wxUSE_RADIOBOX 1
12088 if test "$wxUSE_RADIOBTN" = "yes"; then
12089 cat >> confdefs.h
<<\EOF
12090 #define wxUSE_RADIOBTN 1
12095 if test "$wxUSE_SASH" = "yes"; then
12096 cat >> confdefs.h
<<\EOF
12097 #define wxUSE_SASH 1
12100 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
12103 if test "$wxUSE_SCROLLBAR" = "yes"; then
12104 cat >> confdefs.h
<<\EOF
12105 #define wxUSE_SCROLLBAR 1
12108 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
12111 if test "$wxUSE_SLIDER" = "yes"; then
12112 cat >> confdefs.h
<<\EOF
12113 #define wxUSE_SLIDER 1
12118 if test "$wxUSE_SPINBTN" = "yes"; then
12119 cat >> confdefs.h
<<\EOF
12120 #define wxUSE_SPINBTN 1
12125 if test "$wxUSE_SPLITTER" = "yes"; then
12126 cat >> confdefs.h
<<\EOF
12127 #define wxUSE_SPLITTER 1
12130 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
12133 if test "$wxUSE_STATBMP" = "yes"; then
12134 cat >> confdefs.h
<<\EOF
12135 #define wxUSE_STATBMP 1
12140 if test "$wxUSE_STATBOX" = "yes"; then
12141 cat >> confdefs.h
<<\EOF
12142 #define wxUSE_STATBOX 1
12147 if test "$wxUSE_STATLINE" = "yes"; then
12148 if test "$wxUSE_WINE" = 1 ; then
12149 echo "configure: warning: wxStaticLine is not supported under WINE" 1>&2
12151 cat >> confdefs.h
<<\EOF
12152 #define wxUSE_STATLINE 1
12158 if test "$wxUSE_STATUSBAR" = "yes"; then
12159 cat >> confdefs.h
<<\EOF
12160 #define wxUSE_STATUSBAR 1
12165 if test "$wxUSE_TABDIALOG" = "yes"; then
12166 cat >> confdefs.h
<<\EOF
12167 #define wxUSE_TAB_DIALOG 1
12170 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
12173 if test "$wxUSE_TOOLBAR" = "yes"; then
12174 cat >> confdefs.h
<<\EOF
12175 #define wxUSE_TOOLBAR 1
12178 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
12181 if test "$wxUSE_TOOLTIPS" = "yes"; then
12182 if test "$wxUSE_MOTIF" = 1; then
12183 echo "configure: warning: wxTooltip not supported yet under Motif" 1>&2
12185 if test "$wxUSE_WINE" = 1; then
12186 echo "configure: warning: wxTooltip not supported under WINE" 1>&2
12188 cat >> confdefs.h
<<\EOF
12189 #define wxUSE_TOOLTIPS 1
12196 if test "$wxUSE_TREECTRL" = "yes"; then
12197 if test "$wxUSE_IMAGLIST" = "yes"; then
12198 cat >> confdefs.h
<<\EOF
12199 #define wxUSE_TREECTRL 1
12202 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
12204 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
12210 if test "$wxUSE_METAFILE" = "yes"; then
12211 cat >> confdefs.h
<<\EOF
12212 #define wxUSE_METAFILE 1
12217 if test "$wxUSE_DIRDLG" = "yes"; then
12218 if test "$wxUSE_CONSTRAINTS" != "yes"; then
12219 echo "configure: warning: wxDirDialog requires constraints so it won't be compiled without them" 1>&2
12221 if test "$wxUSE_TREECTRL" != "yes"; then
12222 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
12224 cat >> confdefs.h
<<\EOF
12225 #define wxUSE_DIRDLG 1
12232 if test "$wxUSE_TEXTDLG" = "yes"; then
12233 cat >> confdefs.h
<<\EOF
12234 #define wxUSE_TEXTDLG 1
12239 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
12240 if test "$wxUSE_CONSTRAINTS" != "yes"; then
12241 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
12243 cat >> confdefs.h
<<\EOF
12244 #define wxUSE_STARTUP_TIPS 1
12250 if test "$wxUSE_PROGRESSDLG" = "yes"; then
12251 if test "$wxUSE_CONSTRAINTS" != "yes"; then
12252 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
12254 cat >> confdefs.h
<<\EOF
12255 #define wxUSE_PROGRESSDLG 1
12261 if test "$wxUSE_MINIFRAME" = "yes"; then
12262 cat >> confdefs.h
<<\EOF
12263 #define wxUSE_MINIFRAME 1
12266 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
12269 if test "$wxUSE_HTML" = "yes"; then
12270 cat >> confdefs.h
<<\EOF
12271 #define wxUSE_HTML 1
12274 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html"
12275 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS html"
12278 if test "$wxUSE_VALIDATORS" = "yes"; then
12279 cat >> confdefs.h
<<\EOF
12280 #define wxUSE_VALIDATORS 1
12283 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
12286 if test "$wxUSE_GIF" = "yes" ; then
12287 cat >> confdefs.h
<<\EOF
12288 #define wxUSE_GIF 1
12293 if test "$wxUSE_PCX" = "yes" ; then
12294 cat >> confdefs.h
<<\EOF
12295 #define wxUSE_PCX 1
12300 if test "$wxUSE_PNM" = "yes" ; then
12301 cat >> confdefs.h
<<\EOF
12302 #define wxUSE_PNM 1
12308 GUILIBS
="$GUI_TK_LIBRARY $OPENGL_LINK $LIBPNG_LINK $ZLIB_LINK $TOOLKIT_LINK"
12310 EXTRA_LIBS
="$LIBS $POSIX4_LINK $INET_LINK $WCHAR_LINK $THREADS_LINK $DMALLOC_LINK $DL_LINK"
12311 if test "$wxUSE_GUI" = "yes"; then
12312 EXTRA_LIBS
="$EXTRA_LIBS $GUILIBS"
12315 LD_LIBS
="\${top_builddir}/lib/${WX_LIBRARY_NAME_STATIC} $EXTRA_LIBS"
12317 INCLUDES
="-I. -I\${top_builddir}/include -I\${top_srcdir}/include $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TOOLKIT_INCLUDE"
12319 if test "$GXX" = yes ; then
12320 CXXWARNINGS
="-Wall"
12322 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE $INCLUDES"
12324 CFLAGS
=`echo $CFLAGS $EXTRA_CFLAGS | sed 's/ \\+/ /g'`
12325 CXXFLAGS
=`echo $CXXFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
12327 if test "$wxUSE_GUI" = "yes"; then
12329 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS bombs controls dialogs drawing dynamic \
12330 font forty fractal image minimal richedit wxpoem"
12335 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '`"
12390 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
12391 echo "configure:12392: checking whether ${MAKE-make} sets \${MAKE}" >&5
12392 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
12393 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
12394 echo $ac_n "(cached) $ac_c" 1>&6
12396 cat > conftestmake
<<\EOF
12398 @
echo 'ac_maketemp="${MAKE}"'
12400 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
12401 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
12402 if test -n "$ac_maketemp"; then
12403 eval ac_cv_prog_make_
${ac_make}_set
=yes
12405 eval ac_cv_prog_make_
${ac_make}_set
=no
12409 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
12410 echo "$ac_t""yes" 1>&6
12413 echo "$ac_t""no" 1>&6
12414 SET_MAKE
="MAKE=${MAKE-make}"
12420 if test "${TOOLKIT_DIR}" = "msw" ; then
12421 GL_TOOLKIT_DIR
="win"
12423 GL_TOOLKIT_DIR
="${TOOLKIT_DIR}"
12428 cat > confcache
<<\EOF
12429 # This file is a shell script that caches the results of configure
12430 # tests run on this system so they can be shared between configure
12431 # scripts and configure runs. It is not useful on other systems.
12432 # If it contains results you don't want to keep, you may remove or edit it.
12434 # By default, configure uses ./config.cache as the cache file,
12435 # creating it if it does not exist already. You can give configure
12436 # the --cache-file=FILE option to use a different cache file; that is
12437 # what configure does when it calls configure scripts in
12438 # subdirectories, so they share the cache.
12439 # Giving --cache-file=/dev/null disables caching, for debugging configure.
12440 # config.status only pays attention to the cache file if you give it the
12441 # --recheck option to rerun configure.
12444 # The following way of writing the cache mishandles newlines in values,
12445 # but we know of no workaround that is simple, portable, and efficient.
12446 # So, don't put newlines in cache variables' values.
12447 # Ultrix sh set writes to stderr and can't be redirected directly,
12448 # and sets the high bit in the cache file unless we assign to the vars.
12450 case `(ac_space=' '; set | grep ac_space) 2>&1` in
12452 # `set' does not quote correctly, so add quotes (double-quote substitution
12453 # turns \\\\ into \\, and sed turns \\ into \).
12455 -e "s/'/'\\\\''/g" \
12456 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
12459 # `set' quotes correctly as required by POSIX, so do not add quotes.
12460 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
12463 if cmp -s $cache_file confcache
; then
12466 if test -w $cache_file; then
12467 echo "updating cache $cache_file"
12468 cat confcache
> $cache_file
12470 echo "not updating unwritable cache $cache_file"
12475 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
12477 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
12478 # Let make expand exec_prefix.
12479 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
12481 # Any assignment to VPATH causes Sun make to only execute
12482 # the first set of double-colon rules, so remove it if not needed.
12483 # If there is a colon in the path, we need to keep it.
12484 if test "x$srcdir" = x.
; then
12485 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
12488 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
12490 DEFS
=-DHAVE_CONFIG_H
12492 # Without the "./", some shells look in PATH for config.status.
12493 : ${CONFIG_STATUS=./config.status}
12495 echo creating
$CONFIG_STATUS
12496 rm -f $CONFIG_STATUS
12497 cat > $CONFIG_STATUS <<EOF
12499 # Generated automatically by configure.
12500 # Run this file to recreate the current configuration.
12501 # This directory was configured as follows,
12502 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
12504 # $0 $ac_configure_args
12506 # Compiler output produced by configure, useful for debugging
12507 # configure, is in ./config.log if it exists.
12509 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
12512 case "\$ac_option" in
12513 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
12514 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
12515 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
12516 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
12517 echo "$CONFIG_STATUS generated by autoconf version 2.14"
12519 -help | --help | --hel | --he | --h)
12520 echo "\$ac_cs_usage"; exit 0 ;;
12521 *) echo "\$ac_cs_usage"; exit 1 ;;
12525 ac_given_srcdir=$srcdir
12526 ac_given_INSTALL="$INSTALL"
12528 trap 'rm -fr `echo "
12535 samples/bombs/Makefile
12536 samples/caret/Makefile
12537 samples/checklst/Makefile
12538 samples/config/Makefile
12539 samples/controls/Makefile
12540 samples/db/Makefile
12541 samples/dialogs/Makefile
12542 samples/docview/Makefile
12543 samples/docvwmdi/Makefile
12544 samples/dnd/Makefile
12545 samples/drawing/Makefile
12546 samples/forty/Makefile
12547 samples/font/Makefile
12548 samples/fractal/Makefile
12549 samples/image/Makefile
12550 samples/internat/Makefile
12551 samples/layout/Makefile
12552 samples/listctrl/Makefile
12553 samples/mdi/Makefile
12554 samples/minifram/Makefile
12555 samples/minimal/Makefile
12556 samples/nettest/Makefile
12557 samples/newgrid/Makefile
12558 samples/notebook/Makefile
12559 samples/png/Makefile
12560 samples/printing/Makefile
12561 samples/proplist/Makefile
12562 samples/richedit/Makefile
12563 samples/resource/Makefile
12564 samples/sashtest/Makefile
12565 samples/scroll/Makefile
12566 samples/scrollsub/Makefile
12567 samples/splitter/Makefile
12568 samples/text/Makefile
12569 samples/thread/Makefile
12570 samples/toolbar/Makefile
12571 samples/treectrl/Makefile
12572 samples/typetest/Makefile
12573 samples/validate/Makefile
12574 samples/wxpoem/Makefile
12575 samples/wxsocket/Makefile
12576 samples/wizard/Makefile
12577 samples/html/Makefile
12578 samples/html/about/Makefile
12579 samples/html/help/Makefile
12580 samples/html/printing/Makefile
12581 samples/html/helpview/Makefile
12582 samples/html/test/Makefile
12583 samples/html/zip/Makefile
12584 samples/html/virtual/Makefile
12585 samples/html/widget/Makefile
12587 utils/wxMMedia2/Makefile
12588 utils/wxMMedia2/lib/Makefile
12589 utils/wxMMedia2/sample/Makefile
12590 utils/glcanvas/Makefile
12591 utils/glcanvas/${GL_TOOLKIT_DIR}/Makefile
12593 utils/ogl/src/Makefile
12594 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
12596 cat >> $CONFIG_STATUS <<EOF
12598 # Protect against being on the right side of a sed subst in config.status.
12599 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
12600 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
12604 s%@CFLAGS@%$CFLAGS%g
12605 s%@CPPFLAGS@%$CPPFLAGS%g
12606 s%@CXXFLAGS@%$CXXFLAGS%g
12607 s%@FFLAGS@%$FFLAGS%g
12609 s%@LDFLAGS@%$LDFLAGS%g
12611 s%@exec_prefix@%$exec_prefix%g
12612 s%@prefix@%$prefix%g
12613 s%@program_transform_name@%$program_transform_name%g
12614 s%@bindir@%$bindir%g
12615 s%@sbindir@%$sbindir%g
12616 s%@libexecdir@%$libexecdir%g
12617 s%@datadir@%$datadir%g
12618 s%@sysconfdir@%$sysconfdir%g
12619 s%@sharedstatedir@%$sharedstatedir%g
12620 s%@localstatedir@%$localstatedir%g
12621 s%@libdir@%$libdir%g
12622 s%@includedir@%$includedir%g
12623 s%@oldincludedir@%$oldincludedir%g
12624 s%@infodir@%$infodir%g
12625 s%@mandir@%$mandir%g
12627 s%@host_alias@%$host_alias%g
12628 s%@host_cpu@%$host_cpu%g
12629 s%@host_vendor@%$host_vendor%g
12630 s%@host_os@%$host_os%g
12631 s%@target@%$target%g
12632 s%@target_alias@%$target_alias%g
12633 s%@target_cpu@%$target_cpu%g
12634 s%@target_vendor@%$target_vendor%g
12635 s%@target_os@%$target_os%g
12637 s%@build_alias@%$build_alias%g
12638 s%@build_cpu@%$build_cpu%g
12639 s%@build_vendor@%$build_vendor%g
12640 s%@build_os@%$build_os%g
12644 s%@CXXCPP@%$CXXCPP%g
12645 s%@RANLIB@%$RANLIB%g
12647 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
12648 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
12649 s%@INSTALL_DATA@%$INSTALL_DATA%g
12653 s%@LEXLIB@%$LEXLIB%g
12655 s%@GTK_CONFIG@%$GTK_CONFIG%g
12656 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
12657 s%@GTK_LIBS@%$GTK_LIBS%g
12658 s%@X_CFLAGS@%$X_CFLAGS%g
12659 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
12660 s%@X_LIBS@%$X_LIBS%g
12661 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
12662 s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
12663 s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
12664 s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
12665 s%@WX_LIBRARY_NAME@%$WX_LIBRARY_NAME%g
12666 s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
12667 s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
12668 s%@WX_LIBRARY@%$WX_LIBRARY%g
12669 s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
12670 s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
12671 s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
12672 s%@WX_LIBRARY_LINK3@%$WX_LIBRARY_LINK3%g
12673 s%@PROGRAM_EXT@%$PROGRAM_EXT%g
12674 s%@WX_ALL@%$WX_ALL%g
12675 s%@WX_ALL_INSTALLED@%$WX_ALL_INSTALLED%g
12676 s%@SHARED_LD@%$SHARED_LD%g
12677 s%@PIC_FLAG@%$PIC_FLAG%g
12678 s%@DEP_INFO_FLAGS@%$DEP_INFO_FLAGS%g
12679 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
12680 s%@TOOLKIT@%$TOOLKIT%g
12681 s%@TOOLKIT_DEF@%$TOOLKIT_DEF%g
12682 s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
12683 s%@TOOLKIT_INCLUDE@%$TOOLKIT_INCLUDE%g
12684 s%@GUIHEADERS@%$GUIHEADERS%g
12685 s%@GUIOBJS@%$GUIOBJS%g
12686 s%@COMMONOBJS@%$COMMONOBJS%g
12687 s%@GENERICOBJS@%$GENERICOBJS%g
12688 s%@GUIDEPS@%$GUIDEPS%g
12689 s%@COMMONDEPS@%$COMMONDEPS%g
12690 s%@GENERICDEPS@%$GENERICDEPS%g
12691 s%@IODBCOBJS@%$IODBCOBJS%g
12692 s%@UNIXOBJS@%$UNIXOBJS%g
12693 s%@UNIXDEPS@%$UNIXDEPS%g
12694 s%@ALL_OBJECTS@%$ALL_OBJECTS%g
12695 s%@ALL_DEPFILES@%$ALL_DEPFILES%g
12696 s%@ALL_HEADERS@%$ALL_HEADERS%g
12697 s%@GUIDIST@%$GUIDIST%g
12698 s%@SRC_SUBDIRS@%$SRC_SUBDIRS%g
12699 s%@INCLUDE_SUBDIRS@%$INCLUDE_SUBDIRS%g
12700 s%@UTILS_SUBDIRS@%$UTILS_SUBDIRS%g
12701 s%@DOCS_SUBDIRS@%$DOCS_SUBDIRS%g
12702 s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
12703 s%@USER_SUBDIRS@%$USER_SUBDIRS%g
12704 s%@EXTRA_LIBS@%$EXTRA_LIBS%g
12705 s%@LD_LIBS@%$LD_LIBS%g
12706 s%@SET_MAKE@%$SET_MAKE%g
12707 s%@GL_TOOLKIT_DIR@%$GL_TOOLKIT_DIR%g
12712 cat >> $CONFIG_STATUS <<\EOF
12714 # Split the substitutions into bite-sized pieces for seds with
12715 # small command number limits, like on Digital OSF/1 and HP-UX.
12716 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
12717 ac_file
=1 # Number of current file.
12718 ac_beg
=1 # First line for current file.
12719 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
12722 while $ac_more_lines; do
12723 if test $ac_beg -gt 1; then
12724 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
12726 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
12728 if test ! -s conftest.s
$ac_file; then
12729 ac_more_lines
=false
12730 rm -f conftest.s
$ac_file
12732 if test -z "$ac_sed_cmds"; then
12733 ac_sed_cmds
="sed -f conftest.s$ac_file"
12735 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
12737 ac_file
=`expr $ac_file + 1`
12739 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
12742 if test -z "$ac_sed_cmds"; then
12747 cat >> $CONFIG_STATUS <<EOF
12749 CONFIG_FILES=\${CONFIG_FILES-"wx-config
12755 samples/bombs/Makefile
12756 samples/caret/Makefile
12757 samples/checklst/Makefile
12758 samples/config/Makefile
12759 samples/controls/Makefile
12760 samples/db/Makefile
12761 samples/dialogs/Makefile
12762 samples/docview/Makefile
12763 samples/docvwmdi/Makefile
12764 samples/dnd/Makefile
12765 samples/drawing/Makefile
12766 samples/forty/Makefile
12767 samples/font/Makefile
12768 samples/fractal/Makefile
12769 samples/image/Makefile
12770 samples/internat/Makefile
12771 samples/layout/Makefile
12772 samples/listctrl/Makefile
12773 samples/mdi/Makefile
12774 samples/minifram/Makefile
12775 samples/minimal/Makefile
12776 samples/nettest/Makefile
12777 samples/newgrid/Makefile
12778 samples/notebook/Makefile
12779 samples/png/Makefile
12780 samples/printing/Makefile
12781 samples/proplist/Makefile
12782 samples/richedit/Makefile
12783 samples/resource/Makefile
12784 samples/sashtest/Makefile
12785 samples/scroll/Makefile
12786 samples/scrollsub/Makefile
12787 samples/splitter/Makefile
12788 samples/text/Makefile
12789 samples/thread/Makefile
12790 samples/toolbar/Makefile
12791 samples/treectrl/Makefile
12792 samples/typetest/Makefile
12793 samples/validate/Makefile
12794 samples/wxpoem/Makefile
12795 samples/wxsocket/Makefile
12796 samples/wizard/Makefile
12797 samples/html/Makefile
12798 samples/html/about/Makefile
12799 samples/html/help/Makefile
12800 samples/html/printing/Makefile
12801 samples/html/helpview/Makefile
12802 samples/html/test/Makefile
12803 samples/html/zip/Makefile
12804 samples/html/virtual/Makefile
12805 samples/html/widget/Makefile
12807 utils/wxMMedia2/Makefile
12808 utils/wxMMedia2/lib/Makefile
12809 utils/wxMMedia2/sample/Makefile
12810 utils/glcanvas/Makefile
12811 utils/glcanvas/${GL_TOOLKIT_DIR}/Makefile
12813 utils/ogl/src/Makefile
12816 cat >> $CONFIG_STATUS <<\EOF
12817 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
12818 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
12820 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
12821 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
12822 *) ac_file_in
="${ac_file}.in" ;;
12825 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
12827 # Remove last slash and all that follows it. Not all systems have dirname.
12828 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
12829 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
12830 # The file is in a subdirectory.
12831 test ! -d "$ac_dir" && mkdir "$ac_dir"
12832 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
12833 # A "../" for each directory in $ac_dir_suffix.
12834 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
12836 ac_dir_suffix
= ac_dots
=
12839 case "$ac_given_srcdir" in
12841 if test -z "$ac_dots"; then top_srcdir
=.
12842 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
12843 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
12844 *) # Relative path.
12845 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
12846 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
12849 case "$ac_given_INSTALL" in
12850 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
12851 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
12854 echo creating
"$ac_file"
12856 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
12858 *Makefile
*) ac_comsub
="1i\\
12859 # $configure_input" ;;
12863 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
12865 s%@configure_input@%$configure_input%g
12866 s%@srcdir@%$srcdir%g
12867 s%@top_srcdir@%$top_srcdir%g
12868 s%@INSTALL@%$INSTALL%g
12869 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
12873 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
12874 # NAME is the cpp macro being defined and VALUE is the value it is being given.
12876 # ac_d sets the value in "#define NAME VALUE" lines.
12877 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
12878 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
12881 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
12882 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
12883 ac_uB
='\([ ]\)%\1#\2define\3'
12886 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
12887 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
12888 ac_eB
='$%\1#\2define\3'
12892 if test "${CONFIG_HEADERS+set}" != set; then
12894 cat >> $CONFIG_STATUS <<EOF
12895 CONFIG_HEADERS="setup.h:setup.h.in"
12897 cat >> $CONFIG_STATUS <<\EOF
12899 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
12900 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
12902 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
12903 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
12904 *) ac_file_in
="${ac_file}.in" ;;
12907 echo creating
$ac_file
12909 rm -f conftest.frag conftest.
in conftest.out
12910 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
12911 cat $ac_file_inputs > conftest.
in
12915 # Transform confdefs.h into a sed script conftest.vals that substitutes
12916 # the proper values into config.h.in to produce config.h. And first:
12917 # Protect against being on the right side of a sed subst in config.status.
12918 # Protect against being in an unquoted here document in config.status.
12919 rm -f conftest.vals
12920 cat > conftest.hdr
<<\EOF
12923 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
12927 sed -n -f conftest.hdr confdefs.h > conftest.vals
12930 # This sed command replaces #undef with comments. This is necessary, for
12931 # example, in the case of _POSIX_SOURCE, which is predefined and required
12932 # on some systems where configure will not decide to define it.
12933 cat >> conftest.vals <<\EOF
12934 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
12937 # Break up conftest.vals because some shells have a limit on
12938 # the size of here documents, and old seds have small limits too.
12940 rm -f conftest.tail
12943 ac_lines=`grep -c . conftest.vals
`
12944 # grep -c gives empty output for an empty file on some AIX systems.
12945 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
12946 # Write a limited-size here document to conftest.frag.
12947 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
12948 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
12950 sed -f conftest.frag conftest.in > conftest.out
12952 mv conftest.out conftest.in
12953 ' >> $CONFIG_STATUS
12954 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
12955 rm -f conftest.vals
12956 mv conftest.tail conftest.vals
12958 rm -f conftest.vals
12960 cat >> $CONFIG_STATUS <<\EOF
12961 rm -f conftest.frag conftest.h
12962 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
12963 cat conftest.in >> conftest.h
12965 if cmp -s $ac_file conftest.h 2>/dev/null; then
12966 echo "$ac_file is unchanged"
12969 # Remove last slash and all that follows it. Not all systems have dirname.
12970 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
12971 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
12972 # The file is in a subdirectory.
12973 test ! -d "$ac_dir" && mkdir "$ac_dir"
12976 mv conftest.h $ac_file
12981 cat >> $CONFIG_STATUS <<EOF
12983 TOOLKIT_DIR="${TOOLKIT_DIR}"
12987 cat >> $CONFIG_STATUS <<\EOF
12990 if test ! -d include; then
12993 if test ! -d include/wx; then
12996 if test ! -d include/wx/${TOOLKIT_DIR}; then
12997 mkdir include/wx/${TOOLKIT_DIR}
12999 if test -f setup.h; then
13000 mv -f setup.h include/wx/${TOOLKIT_DIR}/setup.h
13005 chmod +x $CONFIG_STATUS
13006 rm -fr confdefs* $ac_clean_files
13007 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1