3 # From configure.in Id: configure.in
40 # Guess values for system-dependent variables and create Makefiles.
41 # Generated automatically using autoconf version 2.13
42 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
44 # This configure script is free software; the Free Software Foundation
45 # gives unlimited permission to copy, distribute and modify it.
49 ac_default_prefix
=/usr
/local
50 # Any additions from configure.in:
52 --enable-gui use GUI classes"
56 --with-motif use Motif/Lesstif"
60 --with-cygwin use Cygwin for MS-Windows"
62 --with-mingw use GCC Minimal MS-Windows"
64 --with-pm use OS/2 Presentation Manager"
66 --with-gtk-prefix=PFX Prefix where GTK is installed"
68 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed"
70 --with-libpng use libpng (PNG image format)"
72 --with-libjpeg use libjpeg (JPEG file format)"
74 --with-libtiff use libtiff (TIFF file format)"
76 --with-opengl use OpenGL (or Mesa)"
78 --with-dmalloc use dmalloc library (www.letters.com/dmalloc)"
80 --with-zlib use zlib for LZW compression"
82 --with-odbc use the IODBC and wxODBC classes"
84 --enable-shared create shared library code"
86 --enable-burnt_name create set name in shared library "
88 --enable-optimise create optimised code"
90 --enable-debug same as debug_flag and debug_info"
92 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)"
94 --enable-debug_info create code with debugging information"
96 --enable-debug_gdb create code with extra GDB debugging information"
98 --enable-debug_cntxt use wxDebugContext"
100 --enable-mem_tracing create code with memory tracing"
102 --enable-profile create code with profiling information"
104 --enable-no_rtti create code without RTTI information"
106 --enable-no_exceptions create code without exceptions information"
108 --enable-permissive compile code disregarding strict ANSI"
110 --enable-no_deps create code without dependency information"
112 --enable-intl use internationalization system"
114 --enable-config use wxConfig (and derived) classes"
116 --enable-sockets use socket/network classes"
118 --enable-dialupman use dialup network classes"
120 --enable-ipc use interprocess communication (wxSocket etc.)"
122 --enable-apple_ieee use the Apple IEEE codec"
124 --enable-timedate use date/time classes"
126 --enable-wave use wxWave class"
128 --enable-fraction use wxFraction class"
130 --enable-dynlib use wxLibrary class for DLL loading"
132 --enable-longlong use wxLongLong class"
134 --enable-log use logging system"
136 --enable-streams use wxStream etc classes"
138 --enable-file use wxFile classes"
140 --enable-textfile use wxTextFile classes"
142 --enable-unicode compile wxString with Unicode support"
144 --enable-wcsrtombs use wcsrtombs instead of buggy (GNU libc1/Linux libc5) wcstombs"
146 --enable-wxprintfv use wxWindows implementation of vprintf()"
148 --enable-joystick compile in joystick support (Linux only)"
150 --enable-std_iostreams use standard C++ stream classes"
152 --enable-filesystem use virtual file systems classes"
154 --enable-fs_inet use virtual HTTP/FTP filesystems"
156 --enable-fs_zip use virtual ZIP filesystems"
158 --enable-zipstream use wxZipInputStream"
160 --enable-threads use threads"
162 --enable-serial use class serialization"
164 --enable-docview use document view architecture"
166 --enable-help use help (using external browser at present)"
168 --enable-constraints use layout-constraints system"
170 --enable-printarch use printing architecture"
172 --enable-mdi use multiple document interface architecture"
174 --enable-postscript use wxPostscriptDC device context (default for gtk+)"
176 --enable-prologio use Prolog IO library"
178 --enable-resources use wxWindows resources"
180 --enable-xresources use X resources for save (default for gtk+)"
182 --enable-clipboard use wxClipboard classes"
184 --enable-dnd use Drag'n'Drop classes"
186 --enable-wxtree make wxTree library"
188 --enable-controls use all usual controls"
190 --enable-accel use accelerators"
192 --enable-caret use wxCaret class"
194 --enable-bmpbutton use wxBitmapButton class"
196 --enable-checkbox use wxCheckBox class"
198 --enable-checklst use wxCheckListBox (listbox with checkboxes) class"
200 --enable-choice use wxChoice class"
202 --enable-combobox use wxComboBox classes"
204 --enable-gauge use wxGauge class"
206 --enable-grid use wxGrid class"
208 --enable-newgrid use new wxGrid class"
210 --enable-imaglist use wxImageList class"
212 --enable-listbox use wxListBox class"
214 --enable-listctrl use wxListCtrl class"
216 --enable-notebook use wxNotebook class"
218 --enable-radiobox use wxRadioBox class"
220 --enable-radiobtn use wxRadioButton class"
222 --enable-sash use wxSashWindow class"
224 --enable-scrollbar use wxScrollBar class and scrollable windows"
226 --enable-slider use wxSlider class"
228 --enable-spinbtn use wxSpinButton class"
230 --enable-spinctrl use wxSpinCtrl class"
232 --enable-splitter use wxSplitterWindow class"
234 --enable-statbmp use wxStaticBitmap class"
236 --enable-statbox use wxStaticBox class"
238 --enable-statline use wxStaticLine class"
240 --enable-statusbar use wxStatusBar class"
242 --enable-tabdialog use wxTabControl class"
244 --enable-toolbar use wxToolBar class"
246 --enable-tbarnative use native wxToolBar class"
248 --enable-tbarsmpl use wxToolBarSimple class"
250 --enable-treectrl use wxTreeCtrl class"
252 --enable-commondlg use common dialogs (wxDirDialog, wxProgressDialog, wxTextDialog, ...)"
254 --enable-dirdlg use wxDirDialog"
256 --enable-textdlg use wxTextDialog"
258 --enable-tipdlg use startup tips"
260 --enable-progressdlg use wxProgressDialog"
262 --enable-miniframe use wxMiniFrame class"
264 --enable-html use wxHTML sub-library"
266 --enable-tooltips use wxToolTip class"
268 --enable-splines use spline drawing code"
270 --enable-validators use wxValidator and derived classes"
272 --enable-busyinfo use wxBusyInfo"
274 --enable-plot use wxPlot"
276 --enable-gif use gif images (GIF file format)"
278 --enable-pcx use pcx images (PCX file format)"
280 --enable-pnm use pnm images (PNM file format)"
282 --with-x use the X Window System"
284 # Initialize some variables set by options.
285 # The variables have the same names as the options, with
286 # dashes changed to underlines.
288 cache_file
=.
/config.cache
297 program_transform_name
=s
,x
,x
,
305 bindir
='${exec_prefix}/bin'
306 sbindir
='${exec_prefix}/sbin'
307 libexecdir
='${exec_prefix}/libexec'
308 datadir
='${prefix}/share'
309 sysconfdir
='${prefix}/etc'
310 sharedstatedir
='${prefix}/com'
311 localstatedir
='${prefix}/var'
312 libdir
='${exec_prefix}/lib'
313 includedir
='${prefix}/include'
314 oldincludedir
='/usr/include'
315 infodir
='${prefix}/info'
316 mandir
='${prefix}/man'
318 # Initialize some other variables.
321 SHELL
=${CONFIG_SHELL-/bin/sh}
322 # Maximum number of lines to put in a shell here document.
329 # If the previous option needs an argument, assign it.
330 if test -n "$ac_prev"; then
331 eval "$ac_prev=\$ac_option"
337 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
341 # Accept the important Cygnus configure options, so we can diagnose typos.
345 -bindir | --bindir | --bindi | --bind | --bin | --bi)
347 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
348 bindir
="$ac_optarg" ;;
350 -build | --build | --buil | --bui | --bu)
352 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
353 build
="$ac_optarg" ;;
355 -cache-file | --cache-file | --cache-fil | --cache-fi \
356 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
357 ac_prev
=cache_file
;;
358 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
359 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
360 cache_file
="$ac_optarg" ;;
362 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
364 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
366 datadir
="$ac_optarg" ;;
368 -disable-* | --disable-*)
369 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
370 # Reject names that are not valid shell variable names.
371 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
372 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
374 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
375 eval "enable_${ac_feature}=no" ;;
377 -enable-* | --enable-*)
378 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
379 # Reject names that are not valid shell variable names.
380 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
381 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
383 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
388 eval "enable_${ac_feature}='$ac_optarg'" ;;
390 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
391 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
392 | --exec | --exe | --ex)
393 ac_prev
=exec_prefix
;;
394 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
395 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
396 | --exec=* | --exe=* | --ex=*)
397 exec_prefix
="$ac_optarg" ;;
399 -gas | --gas | --ga | --g)
400 # Obsolete; use --with-gas.
403 -help | --help | --hel | --he)
404 # Omit some internal or obsolete options to make the list less imposing.
405 # This message is too long to be a string in the A/UX 3.1 sh.
407 Usage: configure [options] [host]
408 Options: [defaults in brackets after descriptions]
410 --cache-file=FILE cache test results in FILE
411 --help print this message
412 --no-create do not create output files
413 --quiet, --silent do not print \`checking...' messages
414 --version print the version of autoconf that created configure
415 Directory and file names:
416 --prefix=PREFIX install architecture-independent files in PREFIX
418 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
420 --bindir=DIR user executables in DIR [EPREFIX/bin]
421 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
422 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
423 --datadir=DIR read-only architecture-independent data in DIR
425 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
426 --sharedstatedir=DIR modifiable architecture-independent data in DIR
428 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
429 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
430 --includedir=DIR C header files in DIR [PREFIX/include]
431 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
432 --infodir=DIR info documentation in DIR [PREFIX/info]
433 --mandir=DIR man documentation in DIR [PREFIX/man]
434 --srcdir=DIR find the sources in DIR [configure dir or ..]
435 --program-prefix=PREFIX prepend PREFIX to installed program names
436 --program-suffix=SUFFIX append SUFFIX to installed program names
437 --program-transform-name=PROGRAM
438 run sed PROGRAM on installed program names
442 --build=BUILD configure for building on BUILD [BUILD=HOST]
443 --host=HOST configure for HOST [guessed]
444 --target=TARGET configure for TARGET [TARGET=HOST]
445 Features and packages:
446 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
447 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
448 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
449 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
450 --x-includes=DIR X include files are in DIR
451 --x-libraries=DIR X library files are in DIR
453 if test -n "$ac_help"; then
454 echo "--enable and --with options recognized:$ac_help"
458 -host | --host | --hos | --ho)
460 -host=* | --host=* | --hos=* | --ho=*)
463 -includedir | --includedir | --includedi | --included | --include \
464 | --includ | --inclu | --incl | --inc)
465 ac_prev
=includedir
;;
466 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
467 | --includ=* | --inclu=* | --incl=* | --inc=*)
468 includedir
="$ac_optarg" ;;
470 -infodir | --infodir | --infodi | --infod | --info | --inf)
472 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
473 infodir
="$ac_optarg" ;;
475 -libdir | --libdir | --libdi | --libd)
477 -libdir=* | --libdir=* | --libdi=* | --libd=*)
478 libdir
="$ac_optarg" ;;
480 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
481 | --libexe | --libex | --libe)
482 ac_prev
=libexecdir
;;
483 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
484 | --libexe=* | --libex=* | --libe=*)
485 libexecdir
="$ac_optarg" ;;
487 -localstatedir | --localstatedir | --localstatedi | --localstated \
488 | --localstate | --localstat | --localsta | --localst \
489 | --locals | --local | --loca | --loc | --lo)
490 ac_prev
=localstatedir
;;
491 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
492 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
493 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
494 localstatedir
="$ac_optarg" ;;
496 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
498 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
499 mandir
="$ac_optarg" ;;
502 # Obsolete; use --without-fp.
505 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
509 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
510 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
513 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
514 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
515 | --oldin | --oldi | --old | --ol | --o)
516 ac_prev
=oldincludedir
;;
517 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
518 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
519 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
520 oldincludedir
="$ac_optarg" ;;
522 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
524 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
525 prefix
="$ac_optarg" ;;
527 -program-prefix | --program-prefix | --program-prefi | --program-pref \
528 | --program-pre | --program-pr | --program-p)
529 ac_prev
=program_prefix
;;
530 -program-prefix=* | --program-prefix=* | --program-prefi=* \
531 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
532 program_prefix
="$ac_optarg" ;;
534 -program-suffix | --program-suffix | --program-suffi | --program-suff \
535 | --program-suf | --program-su | --program-s)
536 ac_prev
=program_suffix
;;
537 -program-suffix=* | --program-suffix=* | --program-suffi=* \
538 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
539 program_suffix
="$ac_optarg" ;;
541 -program-transform-name | --program-transform-name \
542 | --program-transform-nam | --program-transform-na \
543 | --program-transform-n | --program-transform- \
544 | --program-transform | --program-transfor \
545 | --program-transfo | --program-transf \
546 | --program-trans | --program-tran \
547 | --progr-tra | --program-tr | --program-t)
548 ac_prev
=program_transform_name
;;
549 -program-transform-name=* | --program-transform-name=* \
550 | --program-transform-nam=* | --program-transform-na=* \
551 | --program-transform-n=* | --program-transform-=* \
552 | --program-transform=* | --program-transfor=* \
553 | --program-transfo=* | --program-transf=* \
554 | --program-trans=* | --program-tran=* \
555 | --progr-tra=* | --program-tr=* | --program-t=*)
556 program_transform_name
="$ac_optarg" ;;
558 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
559 | -silent | --silent | --silen | --sile | --sil)
562 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
564 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
566 sbindir
="$ac_optarg" ;;
568 -sharedstatedir | --sharedstatedir | --sharedstatedi \
569 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
570 | --sharedst | --shareds | --shared | --share | --shar \
572 ac_prev
=sharedstatedir
;;
573 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
574 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
575 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
577 sharedstatedir
="$ac_optarg" ;;
579 -site | --site | --sit)
581 -site=* | --site=* | --sit=*)
584 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
586 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
587 srcdir
="$ac_optarg" ;;
589 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
590 | --syscon | --sysco | --sysc | --sys | --sy)
591 ac_prev
=sysconfdir
;;
592 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
593 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
594 sysconfdir
="$ac_optarg" ;;
596 -target | --target | --targe | --targ | --tar | --ta | --t)
598 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
599 target
="$ac_optarg" ;;
601 -v | -verbose | --verbose | --verbos | --verbo | --verb)
604 -version | --version | --versio | --versi | --vers)
605 echo "configure generated by autoconf version 2.13"
609 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
610 # Reject names that are not valid shell variable names.
611 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
612 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
614 ac_package
=`echo $ac_package| sed 's/-/_/g'`
619 eval "with_${ac_package}='$ac_optarg'" ;;
621 -without-* | --without-*)
622 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
623 # Reject names that are not valid shell variable names.
624 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
625 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
627 ac_package
=`echo $ac_package| sed 's/-/_/g'`
628 eval "with_${ac_package}=no" ;;
631 # Obsolete; use --with-x.
634 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
635 | --x-incl | --x-inc | --x-in | --x-i)
636 ac_prev
=x_includes
;;
637 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
638 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
639 x_includes
="$ac_optarg" ;;
641 -x-libraries | --x-libraries | --x-librarie | --x-librari \
642 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
643 ac_prev
=x_libraries
;;
644 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
645 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
646 x_libraries
="$ac_optarg" ;;
648 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
652 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
653 echo "configure: warning: $ac_option: invalid host type" 1>&2
655 if test "x$nonopt" != xNONE
; then
656 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
664 if test -n "$ac_prev"; then
665 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
668 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
670 # File descriptor usage:
673 # 2 errors and warnings
674 # 3 some systems may open it to /dev/tty
675 # 4 used on the Kubota Titan
676 # 6 checking for... messages and results
677 # 5 compiler messages saved in config.log
678 if test "$silent" = yes; then
686 This file contains any messages produced by compilers while
687 running configure, to aid debugging if configure makes a mistake.
690 # Strip out --no-create and --no-recursion so they do not pile up.
691 # Also quote any args containing shell metacharacters.
696 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
697 | --no-cr | --no-c) ;;
698 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
699 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
700 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
701 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
702 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
707 # Only set these to C if already set. These must not be set unconditionally
708 # because not all systems understand e.g. LANG=C (notably SCO).
709 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
710 # Non-C LC_CTYPE values break the ctype check.
711 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
712 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
713 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
714 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
716 # confdefs.h avoids OS command line length limits that DEFS can exceed.
717 rm -rf conftest
* confdefs.h
718 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
721 # A filename unique to this package, relative to the directory that
722 # configure is in, which we can look for to find out if srcdir is correct.
723 ac_unique_file
=wx
-config.
in
725 # Find the source files, if location was not specified.
726 if test -z "$srcdir"; then
727 ac_srcdir_defaulted
=yes
728 # Try the directory containing this script, then its parent.
730 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
731 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
733 if test ! -r $srcdir/$ac_unique_file; then
737 ac_srcdir_defaulted
=no
739 if test ! -r $srcdir/$ac_unique_file; then
740 if test "$ac_srcdir_defaulted" = yes; then
741 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
743 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
746 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
748 # Prefer explicitly selected file to automatically selected ones.
749 if test -z "$CONFIG_SITE"; then
750 if test "x$prefix" != xNONE
; then
751 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
753 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
756 for ac_site_file
in $CONFIG_SITE; do
757 if test -r "$ac_site_file"; then
758 echo "loading site script $ac_site_file"
763 if test -r "$cache_file"; then
764 echo "loading cache $cache_file"
767 echo "creating cache $cache_file"
772 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
773 ac_cpp
='$CPP $CPPFLAGS'
774 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
775 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
776 cross_compiling
=$ac_cv_prog_cc_cross
780 if (echo "testing\c"; echo 1,2,3) | grep c
>/dev
/null
; then
781 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
782 if (echo -n testing
; echo 1,2,3) | sed s
/-n/xn
/ | grep xn
>/dev
/null
; then
789 ac_n
= ac_c
='\c' ac_t
=
795 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
796 if test -f $ac_dir/install-sh; then
798 ac_install_sh
="$ac_aux_dir/install-sh -c"
800 elif test -f $ac_dir/install.sh
; then
802 ac_install_sh
="$ac_aux_dir/install.sh -c"
806 if test -z "$ac_aux_dir"; then
807 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
809 ac_config_guess
=$ac_aux_dir/config.guess
810 ac_config_sub
=$ac_aux_dir/config.sub
811 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
814 # Do some error checking and defaulting for the host and target type.
816 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
819 # 1. You are not allowed to specify --host, --target, and nonopt at the
821 # 2. Host defaults to nonopt.
822 # 3. If nonopt is not specified, then host defaults to the current host,
823 # as determined by config.guess.
824 # 4. Target and build default to nonopt.
825 # 5. If nonopt is not specified, then target and build default to host.
827 # The aliases save the names the user supplied, while $host etc.
828 # will get canonicalized.
829 case $host---$target---$nonopt in
830 NONE
---*---* | *---NONE---* | *---*---NONE) ;;
831 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
835 # Make sure we can run config.sub.
836 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
837 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
840 echo $ac_n "checking host system type""... $ac_c" 1>&6
841 echo "configure:842: checking host system type" >&5
844 case "$host_alias" in
848 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
849 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
851 *) host_alias
=$nonopt ;;
855 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
856 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
857 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
858 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
859 echo "$ac_t""$host" 1>&6
861 echo $ac_n "checking target system type""... $ac_c" 1>&6
862 echo "configure:863: checking target system type" >&5
865 case "$target_alias" in
868 NONE
) target_alias
=$host_alias ;;
869 *) target_alias
=$nonopt ;;
873 target
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
874 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
875 target_vendor
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
876 target_os
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
877 echo "$ac_t""$target" 1>&6
879 echo $ac_n "checking build system type""... $ac_c" 1>&6
880 echo "configure:881: checking build system type" >&5
883 case "$build_alias" in
886 NONE
) build_alias
=$host_alias ;;
887 *) build_alias
=$nonopt ;;
891 build
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
892 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
893 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
894 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
895 echo "$ac_t""$build" 1>&6
897 test "$host_alias" != "$target_alias" &&
898 test "$program_prefix$program_suffix$program_transform_name" = \
900 program_prefix
=${target_alias}-
904 WX_MAJOR_VERSION_NUMBER
=2
905 WX_MINOR_VERSION_NUMBER
=1
911 WX_VERSION
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER.
$WX_RELEASE_NUMBER
913 WX_RELEASE
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER
914 WX_CURRENT
=`expr $WX_RELEASE_NUMBER - $WX_INTERFACE_AGE`
915 WX_REVISION
=$WX_INTERFACE_AGE
916 WX_AGE
=`expr $WX_BINARY_AGE - $WX_INTERFACE_AGE`
942 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
944 ALL_TOOLKITS
="CYGWIN GTK MINGW MOTIF WINE PM"
947 DEFAULT_wxUSE_MOTIF
=0
952 DEFAULT_DEFAULT_wxUSE_GTK
=0
953 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
954 DEFAULT_DEFAULT_wxUSE_MSW
=0
955 DEFAULT_DEFAULT_wxUSE_WINE
=0
956 DEFAULT_DEFAULT_wxUSE_PM
=0
963 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
964 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
965 cat >> confdefs.h
<<\EOF
972 cat >> confdefs.h
<<\EOF
977 if test "x$TMP" = "xalpha"; then
979 cat >> confdefs.h
<<\EOF
984 DEFAULT_DEFAULT_wxUSE_GTK
=1
986 *-*-irix5* | *-*-irix6* )
989 cat >> confdefs.h
<<\EOF
993 cat >> confdefs.h
<<\EOF
997 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1003 cat >> confdefs.h
<<\EOF
1007 cat >> confdefs.h
<<\EOF
1008 #define __SOLARIS__ 1
1011 cat >> confdefs.h
<<\EOF
1015 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1016 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1022 cat >> confdefs.h
<<\EOF
1026 cat >> confdefs.h
<<\EOF
1030 cat >> confdefs.h
<<\EOF
1034 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1036 *-*-freebsd* | *-*-netbsd*)
1039 cat >> confdefs.h
<<\EOF
1040 #define __FREEBSD__ 1
1043 cat >> confdefs.h
<<\EOF
1047 DEFAULT_DEFAULT_wxUSE_GTK
=1
1052 cat >> confdefs.h
<<\EOF
1056 cat >> confdefs.h
<<\EOF
1060 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1065 cat >> confdefs.h
<<\EOF
1069 cat >> confdefs.h
<<\EOF
1073 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1078 cat >> confdefs.h
<<\EOF
1082 cat >> confdefs.h
<<\EOF
1086 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1092 cat >> confdefs.h
<<\EOF
1096 cat >> confdefs.h
<<\EOF
1100 cat >> confdefs.h
<<\EOF
1104 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1107 *-*-cygwin32* | *-*-mingw32* )
1110 cat >> confdefs.h
<<\EOF
1114 cat >> confdefs.h
<<\EOF
1118 cat >> confdefs.h
<<\EOF
1119 #define __WINDOWS__ 1
1122 cat >> confdefs.h
<<\EOF
1123 #define __GNUWIN32__ 1
1126 cat >> confdefs.h
<<\EOF
1130 cat >> confdefs.h
<<\EOF
1131 #define WINVER 0x0400
1135 DEFAULT_DEFAULT_wxUSE_MSW
=1
1139 cat >> confdefs.h
<<\EOF
1144 DEFAULT_DEFAULT_wxUSE_PM
=1
1149 cat >> confdefs.h
<<\EOF
1156 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
1159 if test "$USE_UNIX" = 1 ; then
1161 cat >> confdefs.h
<<\EOF
1166 SRC_SUBDIRS
="$SRC_SUBDIRS unix"
1167 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS unix"
1170 if test "$USE_BEOS" = 1; then
1171 SRC_SUBDIRS
="$SRC_SUBDIRS be"
1172 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS be"
1175 if test "$USE_LINUX" = 1; then
1176 echo $ac_n "checking for gettext in -lc""... $ac_c" 1>&6
1177 echo "configure:1178: checking for gettext in -lc" >&5
1178 ac_lib_var
=`echo c'_'gettext | sed 'y%./+-%__p_%'`
1179 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1180 echo $ac_n "(cached) $ac_c" 1>&6
1182 ac_save_LIBS
="$LIBS"
1184 cat > conftest.
$ac_ext <<EOF
1185 #line 1186 "configure"
1186 #include "confdefs.h"
1187 /* Override any gcc2 internal prototype to avoid an error. */
1188 /* We use char because int might match the return type of a gcc2
1189 builtin and then its argument prototype would still apply. */
1196 if { (eval echo configure
:1197: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
1198 eval "ac_cv_lib_$ac_lib_var=yes"
1200 echo "configure: failed program was:" >&5
1201 cat conftest.
$ac_ext >&5
1203 eval "ac_cv_lib_$ac_lib_var=no"
1206 LIBS
="$ac_save_LIBS"
1209 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1210 echo "$ac_t""yes" 1>&6
1211 cat >> confdefs.h
<<\EOF
1212 #define wxHAVE_GLIBC2 1
1216 echo "$ac_t""no" 1>&6
1224 wx_arg_cache_file
="configarg.cache"
1225 echo "loading argument cache $wx_arg_cache_file"
1226 rm -f ${wx_arg_cache_file}.tmp
1227 touch ${wx_arg_cache_file}.tmp
1228 touch ${wx_arg_cache_file}
1232 if test $DEBUG_CONFIGURE = 1; then
1233 DEFAULT_wxUSE_THREADS
=yes
1235 DEFAULT_wxUSE_SHARED
=yes
1236 DEFAULT_wxUSE_BURNT_NAME
=no
1237 DEFAULT_wxUSE_OPTIMISE
=yes
1238 DEFAULT_wxUSE_PROFILE
=no
1239 DEFAULT_wxUSE_NO_DEPS
=no
1240 DEFAULT_wxUSE_NO_RTTI
=no
1241 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1242 DEFAULT_wxUSE_PERMISSIVE
=no
1243 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1244 DEFAULT_wxUSE_DEBUG_INFO
=yes
1245 DEFAULT_wxUSE_DEBUG_GDB
=yes
1246 DEFAULT_wxUSE_MEM_TRACING
=no
1247 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1248 DEFAULT_wxUSE_DMALLOC
=no
1249 DEFAULT_wxUSE_APPLE_IEEE
=no
1251 DEFAULT_wxUSE_LOG
=yes
1253 DEFAULT_wxUSE_GUI
=yes
1255 DEFAULT_wxUSE_ZLIB
=no
1256 DEFAULT_wxUSE_LIBPNG
=no
1257 DEFAULT_wxUSE_LIBJPEG
=no
1258 DEFAULT_wxUSE_LIBTIFF
=no
1259 DEFAULT_wxUSE_ODBC
=no
1260 DEFAULT_wxUSE_OPENGL
=no
1262 DEFAULT_wxUSE_STD_IOSTREAM
=no
1263 DEFAULT_wxUSE_FILE
=no
1264 DEFAULT_wxUSE_TEXTFILE
=no
1265 DEFAULT_wxUSE_TIMEDATE
=no
1266 DEFAULT_wxUSE_WAVE
=no
1267 DEFAULT_wxUSE_INTL
=no
1268 DEFAULT_wxUSE_CONFIG
=no
1269 DEFAULT_wxUSE_STREAMS
=no
1270 DEFAULT_wxUSE_SOCKETS
=no
1271 DEFAULT_wxUSE_DIALUP_MANAGER
=no
1272 DEFAULT_wxUSE_SERIAL
=no
1273 DEFAULT_wxUSE_JOYSTICK
=no
1274 DEFAULT_wxUSE_DYNLIB_CLASS
=no
1275 DEFAULT_wxUSE_LONGLONG
=no
1277 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
1278 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
1279 DEFAULT_wxUSE_POSTSCRIPT
=no
1281 DEFAULT_wxUSE_X_RESOURCES
=no
1282 DEFAULT_wxUSE_CLIPBOARD
=no
1283 DEFAULT_wxUSE_TOOLTIPS
=no
1284 DEFAULT_wxUSE_DRAG_AND_DROP
=no
1285 DEFAULT_wxUSE_SPLINES
=no
1287 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
1288 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
1289 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
1291 DEFAULT_wxUSE_PROLOGIO
=no
1292 DEFAULT_wxUSE_RESOURCES
=no
1293 DEFAULT_wxUSE_CONSTRAINTS
=no
1294 DEFAULT_wxUSE_IPC
=no
1295 DEFAULT_wxUSE_HELP
=no
1296 DEFAULT_wxUSE_WXTREE
=no
1297 DEFAULT_wxUSE_METAFILE
=no
1299 DEFAULT_wxUSE_COMMONDLGS
=no
1300 DEFAULT_wxUSE_DIRDLG
=no
1301 DEFAULT_wxUSE_TEXTDLG
=no
1302 DEFAULT_wxUSE_STARTUP_TIPS
=no
1303 DEFAULT_wxUSE_PROGRESSDLG
=no
1304 DEFAULT_wxUSE_MINIFRAME
=no
1305 DEFAULT_wxUSE_HTML
=no
1306 DEFAULT_wxUSE_FILESYSTEM
=no
1307 DEFAULT_wxUSE_FS_INET
=no
1308 DEFAULT_wxUSE_FS_ZIP
=no
1309 DEFAULT_wxUSE_BUSYINFO
=no
1310 DEFAULT_wxUSE_ZIPSTREAM
=no
1311 DEFAULT_wxUSE_VALIDATORS
=yes
1313 DEFAULT_wxUSE_ACCEL
=no
1314 DEFAULT_wxUSE_CARET
=no
1315 DEFAULT_wxUSE_BMPBUTTON
=no
1316 DEFAULT_wxUSE_CHECKBOX
=no
1317 DEFAULT_wxUSE_CHECKLST
=no
1318 DEFAULT_wxUSE_CHOICE
=yes
1319 DEFAULT_wxUSE_COMBOBOX
=no
1320 DEFAULT_wxUSE_GAUGE
=no
1321 DEFAULT_wxUSE_GRID
=no
1322 DEFAULT_wxUSE_NEW_GRID
=no
1323 DEFAULT_wxUSE_IMAGLIST
=no
1324 DEFAULT_wxUSE_LISTBOX
=no
1325 DEFAULT_wxUSE_LISTCTRL
=no
1326 DEFAULT_wxUSE_NOTEBOOK
=no
1327 DEFAULT_wxUSE_PLOT
=no
1328 DEFAULT_wxUSE_RADIOBOX
=no
1329 DEFAULT_wxUSE_RADIOBTN
=no
1330 DEFAULT_wxUSE_SASH
=no
1331 DEFAULT_wxUSE_SCROLLBAR
=no
1332 DEFAULT_wxUSE_SLIDER
=no
1333 DEFAULT_wxUSE_SPINBTN
=no
1334 DEFAULT_wxUSE_SPINCTRL
=no
1335 DEFAULT_wxUSE_SPLITTER
=no
1336 DEFAULT_wxUSE_STATBMP
=no
1337 DEFAULT_wxUSE_STATBOX
=no
1338 DEFAULT_wxUSE_STATLINE
=no
1339 DEFAULT_wxUSE_STATUSBAR
=yes
1340 DEFAULT_wxUSE_TABDIALOG
=no
1341 DEFAULT_wxUSE_TOOLBAR
=no
1342 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
1343 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
1344 DEFAULT_wxUSE_TREECTRL
=no
1346 DEFAULT_wxUSE_UNICODE
=no
1347 DEFAULT_wxUSE_WCSRTOMBS
=no
1349 DEFAULT_wxUSE_GIF
=no
1350 DEFAULT_wxUSE_PCX
=no
1351 DEFAULT_wxUSE_PNM
=no
1353 DEFAULT_wxUSE_THREADS
=yes
1355 DEFAULT_wxUSE_SHARED
=yes
1356 DEFAULT_wxUSE_BURNT_NAME
=no
1357 DEFAULT_wxUSE_OPTIMISE
=yes
1358 DEFAULT_wxUSE_PROFILE
=no
1359 DEFAULT_wxUSE_NO_DEPS
=no
1360 DEFAULT_wxUSE_NO_RTTI
=no
1361 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1362 DEFAULT_wxUSE_PERMISSIVE
=no
1363 DEFAULT_wxUSE_DEBUG_FLAG
=no
1364 DEFAULT_wxUSE_DEBUG_INFO
=no
1365 DEFAULT_wxUSE_DEBUG_GDB
=no
1366 DEFAULT_wxUSE_MEM_TRACING
=no
1367 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1368 DEFAULT_wxUSE_DMALLOC
=no
1369 DEFAULT_wxUSE_APPLE_IEEE
=yes
1371 DEFAULT_wxUSE_LOG
=yes
1373 DEFAULT_wxUSE_GUI
=yes
1375 DEFAULT_wxUSE_ZLIB
=yes
1376 DEFAULT_wxUSE_LIBPNG
=yes
1377 DEFAULT_wxUSE_LIBJPEG
=yes
1378 DEFAULT_wxUSE_LIBTIFF
=yes
1379 DEFAULT_wxUSE_ODBC
=no
1380 DEFAULT_wxUSE_OPENGL
=no
1382 DEFAULT_wxUSE_STD_IOSTREAM
=no
1383 DEFAULT_wxUSE_FILE
=yes
1384 DEFAULT_wxUSE_TEXTFILE
=yes
1385 DEFAULT_wxUSE_TIMEDATE
=yes
1386 DEFAULT_wxUSE_WAVE
=no
1387 DEFAULT_wxUSE_INTL
=yes
1388 DEFAULT_wxUSE_CONFIG
=yes
1389 DEFAULT_wxUSE_STREAMS
=yes
1390 DEFAULT_wxUSE_SOCKETS
=yes
1391 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
1392 DEFAULT_wxUSE_SERIAL
=yes
1393 DEFAULT_wxUSE_JOYSTICK
=yes
1394 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
1395 DEFAULT_wxUSE_LONGLONG
=yes
1397 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
1398 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
1399 DEFAULT_wxUSE_POSTSCRIPT
=yes
1401 DEFAULT_wxUSE_X_RESOURCES
=no
1402 DEFAULT_wxUSE_CLIPBOARD
=yes
1403 DEFAULT_wxUSE_TOOLTIPS
=yes
1404 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
1405 DEFAULT_wxUSE_SPLINES
=yes
1407 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
1408 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
1409 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
1411 DEFAULT_wxUSE_PROLOGIO
=yes
1412 DEFAULT_wxUSE_RESOURCES
=yes
1413 DEFAULT_wxUSE_CONSTRAINTS
=yes
1414 DEFAULT_wxUSE_IPC
=yes
1415 DEFAULT_wxUSE_HELP
=yes
1416 DEFAULT_wxUSE_WXTREE
=yes
1417 DEFAULT_wxUSE_METAFILE
=yes
1419 DEFAULT_wxUSE_COMMONDLGS
=yes
1420 DEFAULT_wxUSE_DIRDLG
=yes
1421 DEFAULT_wxUSE_TEXTDLG
=yes
1422 DEFAULT_wxUSE_STARTUP_TIPS
=yes
1423 DEFAULT_wxUSE_PROGRESSDLG
=yes
1424 DEFAULT_wxUSE_MINIFRAME
=yes
1425 DEFAULT_wxUSE_HTML
=yes
1426 DEFAULT_wxUSE_FILESYSTEM
=yes
1427 DEFAULT_wxUSE_FS_INET
=yes
1428 DEFAULT_wxUSE_FS_ZIP
=yes
1429 DEFAULT_wxUSE_BUSYINFO
=yes
1430 DEFAULT_wxUSE_ZIPSTREAM
=yes
1431 DEFAULT_wxUSE_VALIDATORS
=yes
1433 DEFAULT_wxUSE_ACCEL
=yes
1434 DEFAULT_wxUSE_CARET
=yes
1435 DEFAULT_wxUSE_BMPBUTTON
=yes
1436 DEFAULT_wxUSE_CHECKBOX
=yes
1437 DEFAULT_wxUSE_CHECKLST
=yes
1438 DEFAULT_wxUSE_CHOICE
=yes
1439 DEFAULT_wxUSE_COMBOBOX
=yes
1440 DEFAULT_wxUSE_GAUGE
=yes
1441 DEFAULT_wxUSE_GRID
=yes
1442 DEFAULT_wxUSE_NEW_GRID
=yes
1443 DEFAULT_wxUSE_IMAGLIST
=yes
1444 DEFAULT_wxUSE_LISTBOX
=yes
1445 DEFAULT_wxUSE_LISTCTRL
=yes
1446 DEFAULT_wxUSE_NOTEBOOK
=yes
1447 DEFAULT_wxUSE_PLOT
=yes
1448 DEFAULT_wxUSE_RADIOBOX
=yes
1449 DEFAULT_wxUSE_RADIOBTN
=yes
1450 DEFAULT_wxUSE_SASH
=yes
1451 DEFAULT_wxUSE_SCROLLBAR
=yes
1452 DEFAULT_wxUSE_SLIDER
=yes
1453 DEFAULT_wxUSE_SPINBTN
=yes
1454 DEFAULT_wxUSE_SPINCTRL
=yes
1455 DEFAULT_wxUSE_SPLITTER
=yes
1456 DEFAULT_wxUSE_STATBMP
=yes
1457 DEFAULT_wxUSE_STATBOX
=yes
1458 DEFAULT_wxUSE_STATLINE
=yes
1459 DEFAULT_wxUSE_STATUSBAR
=yes
1460 DEFAULT_wxUSE_TABDIALOG
=no
1461 DEFAULT_wxUSE_TOOLBAR
=yes
1462 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
1463 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
1464 DEFAULT_wxUSE_TREECTRL
=yes
1466 DEFAULT_wxUSE_UNICODE
=no
1467 DEFAULT_wxUSE_WCSRTOMBS
=no
1469 DEFAULT_wxUSE_GIF
=yes
1470 DEFAULT_wxUSE_PCX
=yes
1471 DEFAULT_wxUSE_PNM
=yes
1476 for toolkit
in `echo $ALL_TOOLKITS`; do
1477 LINE
=`grep "wxUSE_$toolkit" ${wx_arg_cache_file}`
1478 if test "x$LINE" != x
; then
1479 has_toolkit_in_cache
=1
1480 eval "DEFAULT_$LINE"
1481 eval "CACHE_$toolkit=1"
1487 echo $ac_n "checking "for --enable-gui"""... $ac_c" 1>&6
1488 echo "configure:1489: checking "for --enable-gui"" >&5
1490 # Check whether --enable-gui or --disable-gui was given.
1491 if test "${enable_gui+set}" = set; then
1492 enableval
="$enable_gui"
1494 if test "$enableval" = yes; then
1495 ac_cv_use_gui
='wxUSE_GUI=yes'
1497 ac_cv_use_gui
='wxUSE_GUI=no'
1502 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
1503 if test "x$LINE" != x
; then
1504 eval "DEFAULT_$LINE"
1509 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
1514 eval "$ac_cv_use_gui"
1515 if test "$no_cache" != 1; then
1516 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
1519 if test "$wxUSE_GUI" = yes; then
1520 echo "$ac_t""yes" 1>&6
1522 echo "$ac_t""no" 1>&6
1526 if test "$wxUSE_GUI" = "yes"; then
1528 # Check whether --with-gtk or --without-gtk was given.
1529 if test "${with_gtk+set}" = set; then
1531 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
1534 # Check whether --with-motif or --without-motif was given.
1535 if test "${with_motif+set}" = set; then
1536 withval
="$with_motif"
1537 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
1540 # Check whether --with-wine or --without-wine was given.
1541 if test "${with_wine+set}" = set; then
1542 withval
="$with_wine"
1543 wxUSE_WINE
="$withval" CACHE_WINE
=1 TOOLKIT_GIVEN
=1
1546 # Check whether --with-cygwin or --without-cygwin was given.
1547 if test "${with_cygwin+set}" = set; then
1548 withval
="$with_cygwin"
1549 wxUSE_CYGWIN
="$withval" CACHE_CYGWIN
=1 TOOLKIT_GIVEN
=1
1552 # Check whether --with-mingw or --without-mingw was given.
1553 if test "${with_mingw+set}" = set; then
1554 withval
="$with_mingw"
1555 wxUSE_MINGW
="$withval" CACHE_MINGW
=1 TOOLKIT_GIVEN
=1
1558 # Check whether --with-pm or --without-pm was given.
1559 if test "${with_pm+set}" = set; then
1561 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
1565 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
1566 if test "${with_gtk_prefix+set}" = set; then
1567 withval
="$with_gtk_prefix"
1568 gtk_config_prefix
="$withval"
1570 gtk_config_prefix
=""
1573 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
1574 if test "${with_gtk_exec_prefix+set}" = set; then
1575 withval
="$with_gtk_exec_prefix"
1576 gtk_config_exec_prefix
="$withval"
1578 gtk_config_exec_prefix
=""
1583 echo $ac_n "checking "for --with-libpng"""... $ac_c" 1>&6
1584 echo "configure:1585: checking "for --with-libpng"" >&5
1586 # Check whether --with-libpng or --without-libpng was given.
1587 if test "${with_libpng+set}" = set; then
1588 withval
="$with_libpng"
1590 if test "$withval" = yes; then
1591 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
1593 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
1598 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
1599 if test "x$LINE" != x
; then
1600 eval "DEFAULT_$LINE"
1605 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
1610 eval "$ac_cv_use_libpng"
1611 if test "$no_cache" != 1; then
1612 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
1615 if test "$wxUSE_LIBPNG" = yes; then
1616 echo "$ac_t""yes" 1>&6
1618 echo "$ac_t""no" 1>&6
1622 echo $ac_n "checking "for --with-libjpeg"""... $ac_c" 1>&6
1623 echo "configure:1624: checking "for --with-libjpeg"" >&5
1625 # Check whether --with-libjpeg or --without-libjpeg was given.
1626 if test "${with_libjpeg+set}" = set; then
1627 withval
="$with_libjpeg"
1629 if test "$withval" = yes; then
1630 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
1632 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
1637 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
1638 if test "x$LINE" != x
; then
1639 eval "DEFAULT_$LINE"
1644 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
1649 eval "$ac_cv_use_libjpeg"
1650 if test "$no_cache" != 1; then
1651 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
1654 if test "$wxUSE_LIBJPEG" = yes; then
1655 echo "$ac_t""yes" 1>&6
1657 echo "$ac_t""no" 1>&6
1661 echo $ac_n "checking "for --with-libtiff"""... $ac_c" 1>&6
1662 echo "configure:1663: checking "for --with-libtiff"" >&5
1664 # Check whether --with-libtiff or --without-libtiff was given.
1665 if test "${with_libtiff+set}" = set; then
1666 withval
="$with_libtiff"
1668 if test "$withval" = yes; then
1669 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
1671 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
1676 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
1677 if test "x$LINE" != x
; then
1678 eval "DEFAULT_$LINE"
1683 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
1688 eval "$ac_cv_use_libtiff"
1689 if test "$no_cache" != 1; then
1690 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
1693 if test "$wxUSE_LIBTIFF" = yes; then
1694 echo "$ac_t""yes" 1>&6
1696 echo "$ac_t""no" 1>&6
1700 echo $ac_n "checking "for --with-opengl"""... $ac_c" 1>&6
1701 echo "configure:1702: checking "for --with-opengl"" >&5
1703 # Check whether --with-opengl or --without-opengl was given.
1704 if test "${with_opengl+set}" = set; then
1705 withval
="$with_opengl"
1707 if test "$withval" = yes; then
1708 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
1710 ac_cv_use_opengl
='wxUSE_OPENGL=no'
1715 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
1716 if test "x$LINE" != x
; then
1717 eval "DEFAULT_$LINE"
1722 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
1727 eval "$ac_cv_use_opengl"
1728 if test "$no_cache" != 1; then
1729 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
1732 if test "$wxUSE_OPENGL" = yes; then
1733 echo "$ac_t""yes" 1>&6
1735 echo "$ac_t""no" 1>&6
1742 echo $ac_n "checking "for --with-dmalloc"""... $ac_c" 1>&6
1743 echo "configure:1744: checking "for --with-dmalloc"" >&5
1745 # Check whether --with-dmalloc or --without-dmalloc was given.
1746 if test "${with_dmalloc+set}" = set; then
1747 withval
="$with_dmalloc"
1749 if test "$withval" = yes; then
1750 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
1752 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
1757 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
1758 if test "x$LINE" != x
; then
1759 eval "DEFAULT_$LINE"
1764 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
1769 eval "$ac_cv_use_dmalloc"
1770 if test "$no_cache" != 1; then
1771 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
1774 if test "$wxUSE_DMALLOC" = yes; then
1775 echo "$ac_t""yes" 1>&6
1777 echo "$ac_t""no" 1>&6
1781 echo $ac_n "checking "for --with-zlib"""... $ac_c" 1>&6
1782 echo "configure:1783: checking "for --with-zlib"" >&5
1784 # Check whether --with-zlib or --without-zlib was given.
1785 if test "${with_zlib+set}" = set; then
1786 withval
="$with_zlib"
1788 if test "$withval" = yes; then
1789 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
1791 ac_cv_use_zlib
='wxUSE_ZLIB=no'
1796 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
1797 if test "x$LINE" != x
; then
1798 eval "DEFAULT_$LINE"
1803 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
1808 eval "$ac_cv_use_zlib"
1809 if test "$no_cache" != 1; then
1810 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
1813 if test "$wxUSE_ZLIB" = yes; then
1814 echo "$ac_t""yes" 1>&6
1816 echo "$ac_t""no" 1>&6
1820 echo $ac_n "checking "for --with-odbc"""... $ac_c" 1>&6
1821 echo "configure:1822: checking "for --with-odbc"" >&5
1823 # Check whether --with-odbc or --without-odbc was given.
1824 if test "${with_odbc+set}" = set; then
1825 withval
="$with_odbc"
1827 if test "$withval" = yes; then
1828 ac_cv_use_odbc
='wxUSE_ODBC=yes'
1830 ac_cv_use_odbc
='wxUSE_ODBC=no'
1835 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
1836 if test "x$LINE" != x
; then
1837 eval "DEFAULT_$LINE"
1842 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
1847 eval "$ac_cv_use_odbc"
1848 if test "$no_cache" != 1; then
1849 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
1852 if test "$wxUSE_ODBC" = yes; then
1853 echo "$ac_t""yes" 1>&6
1855 echo "$ac_t""no" 1>&6
1862 echo $ac_n "checking "for --enable-shared"""... $ac_c" 1>&6
1863 echo "configure:1864: checking "for --enable-shared"" >&5
1865 # Check whether --enable-shared or --disable-shared was given.
1866 if test "${enable_shared+set}" = set; then
1867 enableval
="$enable_shared"
1869 if test "$enableval" = yes; then
1870 ac_cv_use_shared
='wxUSE_SHARED=yes'
1872 ac_cv_use_shared
='wxUSE_SHARED=no'
1877 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
1878 if test "x$LINE" != x
; then
1879 eval "DEFAULT_$LINE"
1884 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
1889 eval "$ac_cv_use_shared"
1890 if test "$no_cache" != 1; then
1891 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
1894 if test "$wxUSE_SHARED" = yes; then
1895 echo "$ac_t""yes" 1>&6
1897 echo "$ac_t""no" 1>&6
1901 echo $ac_n "checking "for --enable-burnt_name"""... $ac_c" 1>&6
1902 echo "configure:1903: checking "for --enable-burnt_name"" >&5
1904 # Check whether --enable-burnt_name or --disable-burnt_name was given.
1905 if test "${enable_burnt_name+set}" = set; then
1906 enableval
="$enable_burnt_name"
1908 if test "$enableval" = yes; then
1909 ac_cv_use_burnt_name
='wxUSE_BURNT_NAME=yes'
1911 ac_cv_use_burnt_name
='wxUSE_BURNT_NAME=no'
1916 LINE
=`grep "wxUSE_BURNT_NAME" ${wx_arg_cache_file}`
1917 if test "x$LINE" != x
; then
1918 eval "DEFAULT_$LINE"
1923 ac_cv_use_burnt_name
='wxUSE_BURNT_NAME='$DEFAULT_wxUSE_BURNT_NAME
1928 eval "$ac_cv_use_burnt_name"
1929 if test "$no_cache" != 1; then
1930 echo $ac_cv_use_burnt_name >> ${wx_arg_cache_file}.tmp
1933 if test "$wxUSE_BURNT_NAME" = yes; then
1934 echo "$ac_t""yes" 1>&6
1936 echo "$ac_t""no" 1>&6
1940 echo $ac_n "checking "for --enable-optimise"""... $ac_c" 1>&6
1941 echo "configure:1942: checking "for --enable-optimise"" >&5
1943 # Check whether --enable-optimise or --disable-optimise was given.
1944 if test "${enable_optimise+set}" = set; then
1945 enableval
="$enable_optimise"
1947 if test "$enableval" = yes; then
1948 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
1950 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
1955 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
1956 if test "x$LINE" != x
; then
1957 eval "DEFAULT_$LINE"
1962 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
1967 eval "$ac_cv_use_optimise"
1968 if test "$no_cache" != 1; then
1969 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
1972 if test "$wxUSE_OPTIMISE" = yes; then
1973 echo "$ac_t""yes" 1>&6
1975 echo "$ac_t""no" 1>&6
1979 echo $ac_n "checking "for --enable-debug"""... $ac_c" 1>&6
1980 echo "configure:1981: checking "for --enable-debug"" >&5
1982 # Check whether --enable-debug or --disable-debug was given.
1983 if test "${enable_debug+set}" = set; then
1984 enableval
="$enable_debug"
1986 if test "$enableval" = yes; then
1987 ac_cv_use_debug
='wxUSE_DEBUG=yes'
1989 ac_cv_use_debug
='wxUSE_DEBUG=no'
1994 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
1995 if test "x$LINE" != x
; then
1996 eval "DEFAULT_$LINE"
2001 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
2006 eval "$ac_cv_use_debug"
2007 if test "$no_cache" != 1; then
2008 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
2011 if test "$wxUSE_DEBUG" = yes; then
2012 echo "$ac_t""yes" 1>&6
2014 echo "$ac_t""no" 1>&6
2018 if test "$wxUSE_DEBUG" = "yes"; then
2019 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2020 DEFAULT_wxUSE_DEBUG_INFO
=yes
2021 elif test "$wxUSE_DEBUG" = "no"; then
2022 DEFAULT_wxUSE_DEBUG_FLAG
=no
2023 DEFAULT_wxUSE_DEBUG_INFO
=no
2027 echo $ac_n "checking "for --enable-debug_flag"""... $ac_c" 1>&6
2028 echo "configure:2029: checking "for --enable-debug_flag"" >&5
2030 # Check whether --enable-debug_flag or --disable-debug_flag was given.
2031 if test "${enable_debug_flag+set}" = set; then
2032 enableval
="$enable_debug_flag"
2034 if test "$enableval" = yes; then
2035 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
2037 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
2042 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
2043 if test "x$LINE" != x
; then
2044 eval "DEFAULT_$LINE"
2049 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
2054 eval "$ac_cv_use_debug_flag"
2055 if test "$no_cache" != 1; then
2056 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
2059 if test "$wxUSE_DEBUG_FLAG" = yes; then
2060 echo "$ac_t""yes" 1>&6
2062 echo "$ac_t""no" 1>&6
2066 echo $ac_n "checking "for --enable-debug_info"""... $ac_c" 1>&6
2067 echo "configure:2068: checking "for --enable-debug_info"" >&5
2069 # Check whether --enable-debug_info or --disable-debug_info was given.
2070 if test "${enable_debug_info+set}" = set; then
2071 enableval
="$enable_debug_info"
2073 if test "$enableval" = yes; then
2074 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
2076 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
2081 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
2082 if test "x$LINE" != x
; then
2083 eval "DEFAULT_$LINE"
2088 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
2093 eval "$ac_cv_use_debug_info"
2094 if test "$no_cache" != 1; then
2095 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
2098 if test "$wxUSE_DEBUG_INFO" = yes; then
2099 echo "$ac_t""yes" 1>&6
2101 echo "$ac_t""no" 1>&6
2105 echo $ac_n "checking "for --enable-debug_gdb"""... $ac_c" 1>&6
2106 echo "configure:2107: checking "for --enable-debug_gdb"" >&5
2108 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
2109 if test "${enable_debug_gdb+set}" = set; then
2110 enableval
="$enable_debug_gdb"
2112 if test "$enableval" = yes; then
2113 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
2115 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
2120 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
2121 if test "x$LINE" != x
; then
2122 eval "DEFAULT_$LINE"
2127 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
2132 eval "$ac_cv_use_debug_gdb"
2133 if test "$no_cache" != 1; then
2134 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
2137 if test "$wxUSE_DEBUG_GDB" = yes; then
2138 echo "$ac_t""yes" 1>&6
2140 echo "$ac_t""no" 1>&6
2144 echo $ac_n "checking "for --enable-debug_cntxt"""... $ac_c" 1>&6
2145 echo "configure:2146: checking "for --enable-debug_cntxt"" >&5
2147 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
2148 if test "${enable_debug_cntxt+set}" = set; then
2149 enableval
="$enable_debug_cntxt"
2151 if test "$enableval" = yes; then
2152 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
2154 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
2159 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2160 if test "x$LINE" != x
; then
2161 eval "DEFAULT_$LINE"
2166 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2171 eval "$ac_cv_use_debug_cntxt"
2172 if test "$no_cache" != 1; then
2173 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2176 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2177 echo "$ac_t""yes" 1>&6
2179 echo "$ac_t""no" 1>&6
2183 echo $ac_n "checking "for --enable-mem_tracing"""... $ac_c" 1>&6
2184 echo "configure:2185: checking "for --enable-mem_tracing"" >&5
2186 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2187 if test "${enable_mem_tracing+set}" = set; then
2188 enableval
="$enable_mem_tracing"
2190 if test "$enableval" = yes; then
2191 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
2193 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
2198 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2199 if test "x$LINE" != x
; then
2200 eval "DEFAULT_$LINE"
2205 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2210 eval "$ac_cv_use_mem_tracing"
2211 if test "$no_cache" != 1; then
2212 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2215 if test "$wxUSE_MEM_TRACING" = yes; then
2216 echo "$ac_t""yes" 1>&6
2218 echo "$ac_t""no" 1>&6
2222 echo $ac_n "checking "for --enable-profile"""... $ac_c" 1>&6
2223 echo "configure:2224: checking "for --enable-profile"" >&5
2225 # Check whether --enable-profile or --disable-profile was given.
2226 if test "${enable_profile+set}" = set; then
2227 enableval
="$enable_profile"
2229 if test "$enableval" = yes; then
2230 ac_cv_use_profile
='wxUSE_PROFILE=yes'
2232 ac_cv_use_profile
='wxUSE_PROFILE=no'
2237 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2238 if test "x$LINE" != x
; then
2239 eval "DEFAULT_$LINE"
2244 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2249 eval "$ac_cv_use_profile"
2250 if test "$no_cache" != 1; then
2251 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2254 if test "$wxUSE_PROFILE" = yes; then
2255 echo "$ac_t""yes" 1>&6
2257 echo "$ac_t""no" 1>&6
2261 echo $ac_n "checking "for --enable-no_rtti"""... $ac_c" 1>&6
2262 echo "configure:2263: checking "for --enable-no_rtti"" >&5
2264 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2265 if test "${enable_no_rtti+set}" = set; then
2266 enableval
="$enable_no_rtti"
2268 if test "$enableval" = yes; then
2269 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
2271 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
2276 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2277 if test "x$LINE" != x
; then
2278 eval "DEFAULT_$LINE"
2283 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2288 eval "$ac_cv_use_no_rtti"
2289 if test "$no_cache" != 1; then
2290 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2293 if test "$wxUSE_NO_RTTI" = yes; then
2294 echo "$ac_t""yes" 1>&6
2296 echo "$ac_t""no" 1>&6
2300 echo $ac_n "checking "for --enable-no_exceptions"""... $ac_c" 1>&6
2301 echo "configure:2302: checking "for --enable-no_exceptions"" >&5
2303 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2304 if test "${enable_no_exceptions+set}" = set; then
2305 enableval
="$enable_no_exceptions"
2307 if test "$enableval" = yes; then
2308 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
2310 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
2315 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2316 if test "x$LINE" != x
; then
2317 eval "DEFAULT_$LINE"
2322 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2327 eval "$ac_cv_use_no_exceptions"
2328 if test "$no_cache" != 1; then
2329 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2332 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2333 echo "$ac_t""yes" 1>&6
2335 echo "$ac_t""no" 1>&6
2339 echo $ac_n "checking "for --enable-permissive"""... $ac_c" 1>&6
2340 echo "configure:2341: checking "for --enable-permissive"" >&5
2342 # Check whether --enable-permissive or --disable-permissive was given.
2343 if test "${enable_permissive+set}" = set; then
2344 enableval
="$enable_permissive"
2346 if test "$enableval" = yes; then
2347 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
2349 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
2354 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2355 if test "x$LINE" != x
; then
2356 eval "DEFAULT_$LINE"
2361 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
2366 eval "$ac_cv_use_permissive"
2367 if test "$no_cache" != 1; then
2368 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
2371 if test "$wxUSE_PERMISSIVE" = yes; then
2372 echo "$ac_t""yes" 1>&6
2374 echo "$ac_t""no" 1>&6
2378 echo $ac_n "checking "for --enable-no_deps"""... $ac_c" 1>&6
2379 echo "configure:2380: checking "for --enable-no_deps"" >&5
2381 # Check whether --enable-no_deps or --disable-no_deps was given.
2382 if test "${enable_no_deps+set}" = set; then
2383 enableval
="$enable_no_deps"
2385 if test "$enableval" = yes; then
2386 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
2388 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
2393 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
2394 if test "x$LINE" != x
; then
2395 eval "DEFAULT_$LINE"
2400 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
2405 eval "$ac_cv_use_no_deps"
2406 if test "$no_cache" != 1; then
2407 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
2410 if test "$wxUSE_NO_DEPS" = yes; then
2411 echo "$ac_t""yes" 1>&6
2413 echo "$ac_t""no" 1>&6
2419 echo $ac_n "checking "for --enable-intl"""... $ac_c" 1>&6
2420 echo "configure:2421: checking "for --enable-intl"" >&5
2422 # Check whether --enable-intl or --disable-intl was given.
2423 if test "${enable_intl+set}" = set; then
2424 enableval
="$enable_intl"
2426 if test "$enableval" = yes; then
2427 ac_cv_use_intl
='wxUSE_INTL=yes'
2429 ac_cv_use_intl
='wxUSE_INTL=no'
2434 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
2435 if test "x$LINE" != x
; then
2436 eval "DEFAULT_$LINE"
2441 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
2446 eval "$ac_cv_use_intl"
2447 if test "$no_cache" != 1; then
2448 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
2451 if test "$wxUSE_INTL" = yes; then
2452 echo "$ac_t""yes" 1>&6
2454 echo "$ac_t""no" 1>&6
2458 echo $ac_n "checking "for --enable-config"""... $ac_c" 1>&6
2459 echo "configure:2460: checking "for --enable-config"" >&5
2461 # Check whether --enable-config or --disable-config was given.
2462 if test "${enable_config+set}" = set; then
2463 enableval
="$enable_config"
2465 if test "$enableval" = yes; then
2466 ac_cv_use_config
='wxUSE_CONFIG=yes'
2468 ac_cv_use_config
='wxUSE_CONFIG=no'
2473 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
2474 if test "x$LINE" != x
; then
2475 eval "DEFAULT_$LINE"
2480 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
2485 eval "$ac_cv_use_config"
2486 if test "$no_cache" != 1; then
2487 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
2490 if test "$wxUSE_CONFIG" = yes; then
2491 echo "$ac_t""yes" 1>&6
2493 echo "$ac_t""no" 1>&6
2497 if test "$wxUSE_GUI" = "yes"; then
2499 echo $ac_n "checking "for --enable-sockets"""... $ac_c" 1>&6
2500 echo "configure:2501: checking "for --enable-sockets"" >&5
2502 # Check whether --enable-sockets or --disable-sockets was given.
2503 if test "${enable_sockets+set}" = set; then
2504 enableval
="$enable_sockets"
2506 if test "$enableval" = yes; then
2507 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
2509 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
2514 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
2515 if test "x$LINE" != x
; then
2516 eval "DEFAULT_$LINE"
2521 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
2526 eval "$ac_cv_use_sockets"
2527 if test "$no_cache" != 1; then
2528 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
2531 if test "$wxUSE_SOCKETS" = yes; then
2532 echo "$ac_t""yes" 1>&6
2534 echo "$ac_t""no" 1>&6
2542 echo $ac_n "checking "for --enable-dialupman"""... $ac_c" 1>&6
2543 echo "configure:2544: checking "for --enable-dialupman"" >&5
2545 # Check whether --enable-dialupman or --disable-dialupman was given.
2546 if test "${enable_dialupman+set}" = set; then
2547 enableval
="$enable_dialupman"
2549 if test "$enableval" = yes; then
2550 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
2552 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
2557 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
2558 if test "x$LINE" != x
; then
2559 eval "DEFAULT_$LINE"
2564 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
2569 eval "$ac_cv_use_dialupman"
2570 if test "$no_cache" != 1; then
2571 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
2574 if test "$wxUSE_DIALUP_MANAGER" = yes; then
2575 echo "$ac_t""yes" 1>&6
2577 echo "$ac_t""no" 1>&6
2581 echo $ac_n "checking "for --enable-ipc"""... $ac_c" 1>&6
2582 echo "configure:2583: checking "for --enable-ipc"" >&5
2584 # Check whether --enable-ipc or --disable-ipc was given.
2585 if test "${enable_ipc+set}" = set; then
2586 enableval
="$enable_ipc"
2588 if test "$enableval" = yes; then
2589 ac_cv_use_ipc
='wxUSE_IPC=yes'
2591 ac_cv_use_ipc
='wxUSE_IPC=no'
2596 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
2597 if test "x$LINE" != x
; then
2598 eval "DEFAULT_$LINE"
2603 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
2608 eval "$ac_cv_use_ipc"
2609 if test "$no_cache" != 1; then
2610 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
2613 if test "$wxUSE_IPC" = yes; then
2614 echo "$ac_t""yes" 1>&6
2616 echo "$ac_t""no" 1>&6
2620 echo $ac_n "checking "for --enable-apple_ieee"""... $ac_c" 1>&6
2621 echo "configure:2622: checking "for --enable-apple_ieee"" >&5
2623 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
2624 if test "${enable_apple_ieee+set}" = set; then
2625 enableval
="$enable_apple_ieee"
2627 if test "$enableval" = yes; then
2628 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
2630 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
2635 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
2636 if test "x$LINE" != x
; then
2637 eval "DEFAULT_$LINE"
2642 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
2647 eval "$ac_cv_use_apple_ieee"
2648 if test "$no_cache" != 1; then
2649 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
2652 if test "$wxUSE_APPLE_IEEE" = yes; then
2653 echo "$ac_t""yes" 1>&6
2655 echo "$ac_t""no" 1>&6
2659 echo $ac_n "checking "for --enable-timedate"""... $ac_c" 1>&6
2660 echo "configure:2661: checking "for --enable-timedate"" >&5
2662 # Check whether --enable-timedate or --disable-timedate was given.
2663 if test "${enable_timedate+set}" = set; then
2664 enableval
="$enable_timedate"
2666 if test "$enableval" = yes; then
2667 ac_cv_use_timedate
='wxUSE_TIMEDATE=yes'
2669 ac_cv_use_timedate
='wxUSE_TIMEDATE=no'
2674 LINE
=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}`
2675 if test "x$LINE" != x
; then
2676 eval "DEFAULT_$LINE"
2681 ac_cv_use_timedate
='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
2686 eval "$ac_cv_use_timedate"
2687 if test "$no_cache" != 1; then
2688 echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp
2691 if test "$wxUSE_TIMEDATE" = yes; then
2692 echo "$ac_t""yes" 1>&6
2694 echo "$ac_t""no" 1>&6
2698 echo $ac_n "checking "for --enable-wave"""... $ac_c" 1>&6
2699 echo "configure:2700: checking "for --enable-wave"" >&5
2701 # Check whether --enable-wave or --disable-wave was given.
2702 if test "${enable_wave+set}" = set; then
2703 enableval
="$enable_wave"
2705 if test "$enableval" = yes; then
2706 ac_cv_use_wave
='wxUSE_WAVE=yes'
2708 ac_cv_use_wave
='wxUSE_WAVE=no'
2713 LINE
=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
2714 if test "x$LINE" != x
; then
2715 eval "DEFAULT_$LINE"
2720 ac_cv_use_wave
='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
2725 eval "$ac_cv_use_wave"
2726 if test "$no_cache" != 1; then
2727 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
2730 if test "$wxUSE_WAVE" = yes; then
2731 echo "$ac_t""yes" 1>&6
2733 echo "$ac_t""no" 1>&6
2737 echo $ac_n "checking "for --enable-fraction"""... $ac_c" 1>&6
2738 echo "configure:2739: checking "for --enable-fraction"" >&5
2740 # Check whether --enable-fraction or --disable-fraction was given.
2741 if test "${enable_fraction+set}" = set; then
2742 enableval
="$enable_fraction"
2744 if test "$enableval" = yes; then
2745 ac_cv_use_fraction
='wxUSE_FRACTION=yes'
2747 ac_cv_use_fraction
='wxUSE_FRACTION=no'
2752 LINE
=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
2753 if test "x$LINE" != x
; then
2754 eval "DEFAULT_$LINE"
2759 ac_cv_use_fraction
='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
2764 eval "$ac_cv_use_fraction"
2765 if test "$no_cache" != 1; then
2766 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
2769 if test "$wxUSE_FRACTION" = yes; then
2770 echo "$ac_t""yes" 1>&6
2772 echo "$ac_t""no" 1>&6
2776 echo $ac_n "checking "for --enable-dynlib"""... $ac_c" 1>&6
2777 echo "configure:2778: checking "for --enable-dynlib"" >&5
2779 # Check whether --enable-dynlib or --disable-dynlib was given.
2780 if test "${enable_dynlib+set}" = set; then
2781 enableval
="$enable_dynlib"
2783 if test "$enableval" = yes; then
2784 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
2786 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
2791 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
2792 if test "x$LINE" != x
; then
2793 eval "DEFAULT_$LINE"
2798 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
2803 eval "$ac_cv_use_dynlib"
2804 if test "$no_cache" != 1; then
2805 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
2808 if test "$wxUSE_DYNLIB_CLASS" = yes; then
2809 echo "$ac_t""yes" 1>&6
2811 echo "$ac_t""no" 1>&6
2815 echo $ac_n "checking "for --enable-longlong"""... $ac_c" 1>&6
2816 echo "configure:2817: checking "for --enable-longlong"" >&5
2818 # Check whether --enable-longlong or --disable-longlong was given.
2819 if test "${enable_longlong+set}" = set; then
2820 enableval
="$enable_longlong"
2822 if test "$enableval" = yes; then
2823 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
2825 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
2830 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
2831 if test "x$LINE" != x
; then
2832 eval "DEFAULT_$LINE"
2837 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
2842 eval "$ac_cv_use_longlong"
2843 if test "$no_cache" != 1; then
2844 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
2847 if test "$wxUSE_LONGLONG" = yes; then
2848 echo "$ac_t""yes" 1>&6
2850 echo "$ac_t""no" 1>&6
2854 echo $ac_n "checking "for --enable-log"""... $ac_c" 1>&6
2855 echo "configure:2856: checking "for --enable-log"" >&5
2857 # Check whether --enable-log or --disable-log was given.
2858 if test "${enable_log+set}" = set; then
2859 enableval
="$enable_log"
2861 if test "$enableval" = yes; then
2862 ac_cv_use_log
='wxUSE_LOG=yes'
2864 ac_cv_use_log
='wxUSE_LOG=no'
2869 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
2870 if test "x$LINE" != x
; then
2871 eval "DEFAULT_$LINE"
2876 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
2881 eval "$ac_cv_use_log"
2882 if test "$no_cache" != 1; then
2883 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
2886 if test "$wxUSE_LOG" = yes; then
2887 echo "$ac_t""yes" 1>&6
2889 echo "$ac_t""no" 1>&6
2893 echo $ac_n "checking "for --enable-streams"""... $ac_c" 1>&6
2894 echo "configure:2895: checking "for --enable-streams"" >&5
2896 # Check whether --enable-streams or --disable-streams was given.
2897 if test "${enable_streams+set}" = set; then
2898 enableval
="$enable_streams"
2900 if test "$enableval" = yes; then
2901 ac_cv_use_streams
='wxUSE_STREAMS=yes'
2903 ac_cv_use_streams
='wxUSE_STREAMS=no'
2908 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
2909 if test "x$LINE" != x
; then
2910 eval "DEFAULT_$LINE"
2915 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
2920 eval "$ac_cv_use_streams"
2921 if test "$no_cache" != 1; then
2922 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
2925 if test "$wxUSE_STREAMS" = yes; then
2926 echo "$ac_t""yes" 1>&6
2928 echo "$ac_t""no" 1>&6
2932 echo $ac_n "checking "for --enable-file"""... $ac_c" 1>&6
2933 echo "configure:2934: checking "for --enable-file"" >&5
2935 # Check whether --enable-file or --disable-file was given.
2936 if test "${enable_file+set}" = set; then
2937 enableval
="$enable_file"
2939 if test "$enableval" = yes; then
2940 ac_cv_use_file
='wxUSE_FILE=yes'
2942 ac_cv_use_file
='wxUSE_FILE=no'
2947 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
2948 if test "x$LINE" != x
; then
2949 eval "DEFAULT_$LINE"
2954 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
2959 eval "$ac_cv_use_file"
2960 if test "$no_cache" != 1; then
2961 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
2964 if test "$wxUSE_FILE" = yes; then
2965 echo "$ac_t""yes" 1>&6
2967 echo "$ac_t""no" 1>&6
2971 echo $ac_n "checking "for --enable-textfile"""... $ac_c" 1>&6
2972 echo "configure:2973: checking "for --enable-textfile"" >&5
2974 # Check whether --enable-textfile or --disable-textfile was given.
2975 if test "${enable_textfile+set}" = set; then
2976 enableval
="$enable_textfile"
2978 if test "$enableval" = yes; then
2979 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
2981 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
2986 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
2987 if test "x$LINE" != x
; then
2988 eval "DEFAULT_$LINE"
2993 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
2998 eval "$ac_cv_use_textfile"
2999 if test "$no_cache" != 1; then
3000 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
3003 if test "$wxUSE_TEXTFILE" = yes; then
3004 echo "$ac_t""yes" 1>&6
3006 echo "$ac_t""no" 1>&6
3010 echo $ac_n "checking "for --enable-unicode"""... $ac_c" 1>&6
3011 echo "configure:3012: checking "for --enable-unicode"" >&5
3013 # Check whether --enable-unicode or --disable-unicode was given.
3014 if test "${enable_unicode+set}" = set; then
3015 enableval
="$enable_unicode"
3017 if test "$enableval" = yes; then
3018 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
3020 ac_cv_use_unicode
='wxUSE_UNICODE=no'
3025 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
3026 if test "x$LINE" != x
; then
3027 eval "DEFAULT_$LINE"
3032 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
3037 eval "$ac_cv_use_unicode"
3038 if test "$no_cache" != 1; then
3039 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
3042 if test "$wxUSE_UNICODE" = yes; then
3043 echo "$ac_t""yes" 1>&6
3045 echo "$ac_t""no" 1>&6
3049 echo $ac_n "checking "for --enable-wcsrtombs"""... $ac_c" 1>&6
3050 echo "configure:3051: checking "for --enable-wcsrtombs"" >&5
3052 # Check whether --enable-wcsrtombs or --disable-wcsrtombs was given.
3053 if test "${enable_wcsrtombs+set}" = set; then
3054 enableval
="$enable_wcsrtombs"
3056 if test "$enableval" = yes; then
3057 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS=yes'
3059 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS=no'
3064 LINE
=`grep "wxUSE_WCSRTOMBS" ${wx_arg_cache_file}`
3065 if test "x$LINE" != x
; then
3066 eval "DEFAULT_$LINE"
3071 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS='$DEFAULT_wxUSE_WCSRTOMBS
3076 eval "$ac_cv_use_wcsrtombs"
3077 if test "$no_cache" != 1; then
3078 echo $ac_cv_use_wcsrtombs >> ${wx_arg_cache_file}.tmp
3081 if test "$wxUSE_WCSRTOMBS" = yes; then
3082 echo "$ac_t""yes" 1>&6
3084 echo "$ac_t""no" 1>&6
3088 echo $ac_n "checking "for --enable-wxprintfv"""... $ac_c" 1>&6
3089 echo "configure:3090: checking "for --enable-wxprintfv"" >&5
3091 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
3092 if test "${enable_wxprintfv+set}" = set; then
3093 enableval
="$enable_wxprintfv"
3095 if test "$enableval" = yes; then
3096 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
3098 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
3103 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
3104 if test "x$LINE" != x
; then
3105 eval "DEFAULT_$LINE"
3110 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
3115 eval "$ac_cv_use_wxprintfv"
3116 if test "$no_cache" != 1; then
3117 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
3120 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
3121 echo "$ac_t""yes" 1>&6
3123 echo "$ac_t""no" 1>&6
3127 echo $ac_n "checking "for --enable-joystick"""... $ac_c" 1>&6
3128 echo "configure:3129: checking "for --enable-joystick"" >&5
3130 # Check whether --enable-joystick or --disable-joystick was given.
3131 if test "${enable_joystick+set}" = set; then
3132 enableval
="$enable_joystick"
3134 if test "$enableval" = yes; then
3135 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
3137 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
3142 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
3143 if test "x$LINE" != x
; then
3144 eval "DEFAULT_$LINE"
3149 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
3154 eval "$ac_cv_use_joystick"
3155 if test "$no_cache" != 1; then
3156 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
3159 if test "$wxUSE_JOYSTICK" = yes; then
3160 echo "$ac_t""yes" 1>&6
3162 echo "$ac_t""no" 1>&6
3166 echo $ac_n "checking "for --enable-std_iostreams"""... $ac_c" 1>&6
3167 echo "configure:3168: checking "for --enable-std_iostreams"" >&5
3169 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
3170 if test "${enable_std_iostreams+set}" = set; then
3171 enableval
="$enable_std_iostreams"
3173 if test "$enableval" = yes; then
3174 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
3176 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
3181 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
3182 if test "x$LINE" != x
; then
3183 eval "DEFAULT_$LINE"
3188 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
3193 eval "$ac_cv_use_std_iostreams"
3194 if test "$no_cache" != 1; then
3195 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
3198 if test "$wxUSE_STD_IOSTREAM" = yes; then
3199 echo "$ac_t""yes" 1>&6
3201 echo "$ac_t""no" 1>&6
3205 echo $ac_n "checking "for --enable-filesystem"""... $ac_c" 1>&6
3206 echo "configure:3207: checking "for --enable-filesystem"" >&5
3208 # Check whether --enable-filesystem or --disable-filesystem was given.
3209 if test "${enable_filesystem+set}" = set; then
3210 enableval
="$enable_filesystem"
3212 if test "$enableval" = yes; then
3213 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
3215 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
3220 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
3221 if test "x$LINE" != x
; then
3222 eval "DEFAULT_$LINE"
3227 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
3232 eval "$ac_cv_use_filesystem"
3233 if test "$no_cache" != 1; then
3234 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
3237 if test "$wxUSE_FILESYSTEM" = yes; then
3238 echo "$ac_t""yes" 1>&6
3240 echo "$ac_t""no" 1>&6
3244 echo $ac_n "checking "for --enable-fs_inet"""... $ac_c" 1>&6
3245 echo "configure:3246: checking "for --enable-fs_inet"" >&5
3247 # Check whether --enable-fs_inet or --disable-fs_inet was given.
3248 if test "${enable_fs_inet+set}" = set; then
3249 enableval
="$enable_fs_inet"
3251 if test "$enableval" = yes; then
3252 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
3254 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
3259 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
3260 if test "x$LINE" != x
; then
3261 eval "DEFAULT_$LINE"
3266 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
3271 eval "$ac_cv_use_fs_inet"
3272 if test "$no_cache" != 1; then
3273 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
3276 if test "$wxUSE_FS_INET" = yes; then
3277 echo "$ac_t""yes" 1>&6
3279 echo "$ac_t""no" 1>&6
3283 echo $ac_n "checking "for --enable-fs_zip"""... $ac_c" 1>&6
3284 echo "configure:3285: checking "for --enable-fs_zip"" >&5
3286 # Check whether --enable-fs_zip or --disable-fs_zip was given.
3287 if test "${enable_fs_zip+set}" = set; then
3288 enableval
="$enable_fs_zip"
3290 if test "$enableval" = yes; then
3291 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
3293 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
3298 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
3299 if test "x$LINE" != x
; then
3300 eval "DEFAULT_$LINE"
3305 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
3310 eval "$ac_cv_use_fs_zip"
3311 if test "$no_cache" != 1; then
3312 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
3315 if test "$wxUSE_FS_ZIP" = yes; then
3316 echo "$ac_t""yes" 1>&6
3318 echo "$ac_t""no" 1>&6
3322 echo $ac_n "checking "for --enable-zipstream"""... $ac_c" 1>&6
3323 echo "configure:3324: checking "for --enable-zipstream"" >&5
3325 # Check whether --enable-zipstream or --disable-zipstream was given.
3326 if test "${enable_zipstream+set}" = set; then
3327 enableval
="$enable_zipstream"
3329 if test "$enableval" = yes; then
3330 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
3332 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
3337 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
3338 if test "x$LINE" != x
; then
3339 eval "DEFAULT_$LINE"
3344 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
3349 eval "$ac_cv_use_zipstream"
3350 if test "$no_cache" != 1; then
3351 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
3354 if test "$wxUSE_ZIPSTREAM" = yes; then
3355 echo "$ac_t""yes" 1>&6
3357 echo "$ac_t""no" 1>&6
3363 echo $ac_n "checking "for --enable-threads"""... $ac_c" 1>&6
3364 echo "configure:3365: checking "for --enable-threads"" >&5
3366 # Check whether --enable-threads or --disable-threads was given.
3367 if test "${enable_threads+set}" = set; then
3368 enableval
="$enable_threads"
3370 if test "$enableval" = yes; then
3371 ac_cv_use_threads
='wxUSE_THREADS=yes'
3373 ac_cv_use_threads
='wxUSE_THREADS=no'
3378 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
3379 if test "x$LINE" != x
; then
3380 eval "DEFAULT_$LINE"
3385 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
3390 eval "$ac_cv_use_threads"
3391 if test "$no_cache" != 1; then
3392 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
3395 if test "$wxUSE_THREADS" = yes; then
3396 echo "$ac_t""yes" 1>&6
3398 echo "$ac_t""no" 1>&6
3402 echo $ac_n "checking "for --enable-serial"""... $ac_c" 1>&6
3403 echo "configure:3404: checking "for --enable-serial"" >&5
3405 # Check whether --enable-serial or --disable-serial was given.
3406 if test "${enable_serial+set}" = set; then
3407 enableval
="$enable_serial"
3409 if test "$enableval" = yes; then
3410 ac_cv_use_serial
='wxUSE_SERIAL=yes'
3412 ac_cv_use_serial
='wxUSE_SERIAL=no'
3417 LINE
=`grep "wxUSE_SERIAL" ${wx_arg_cache_file}`
3418 if test "x$LINE" != x
; then
3419 eval "DEFAULT_$LINE"
3424 ac_cv_use_serial
='wxUSE_SERIAL='$DEFAULT_wxUSE_SERIAL
3429 eval "$ac_cv_use_serial"
3430 if test "$no_cache" != 1; then
3431 echo $ac_cv_use_serial >> ${wx_arg_cache_file}.tmp
3434 if test "$wxUSE_SERIAL" = yes; then
3435 echo "$ac_t""yes" 1>&6
3437 echo "$ac_t""no" 1>&6
3441 if test "$wxUSE_GUI" = "yes"; then
3445 echo $ac_n "checking "for --enable-docview"""... $ac_c" 1>&6
3446 echo "configure:3447: checking "for --enable-docview"" >&5
3448 # Check whether --enable-docview or --disable-docview was given.
3449 if test "${enable_docview+set}" = set; then
3450 enableval
="$enable_docview"
3452 if test "$enableval" = yes; then
3453 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
3455 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
3460 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
3461 if test "x$LINE" != x
; then
3462 eval "DEFAULT_$LINE"
3467 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
3472 eval "$ac_cv_use_docview"
3473 if test "$no_cache" != 1; then
3474 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
3477 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
3478 echo "$ac_t""yes" 1>&6
3480 echo "$ac_t""no" 1>&6
3484 echo $ac_n "checking "for --enable-help"""... $ac_c" 1>&6
3485 echo "configure:3486: checking "for --enable-help"" >&5
3487 # Check whether --enable-help or --disable-help was given.
3488 if test "${enable_help+set}" = set; then
3489 enableval
="$enable_help"
3491 if test "$enableval" = yes; then
3492 ac_cv_use_help
='wxUSE_HELP=yes'
3494 ac_cv_use_help
='wxUSE_HELP=no'
3499 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
3500 if test "x$LINE" != x
; then
3501 eval "DEFAULT_$LINE"
3506 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
3511 eval "$ac_cv_use_help"
3512 if test "$no_cache" != 1; then
3513 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
3516 if test "$wxUSE_HELP" = yes; then
3517 echo "$ac_t""yes" 1>&6
3519 echo "$ac_t""no" 1>&6
3523 echo $ac_n "checking "for --enable-constraints"""... $ac_c" 1>&6
3524 echo "configure:3525: checking "for --enable-constraints"" >&5
3526 # Check whether --enable-constraints or --disable-constraints was given.
3527 if test "${enable_constraints+set}" = set; then
3528 enableval
="$enable_constraints"
3530 if test "$enableval" = yes; then
3531 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
3533 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
3538 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
3539 if test "x$LINE" != x
; then
3540 eval "DEFAULT_$LINE"
3545 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
3550 eval "$ac_cv_use_constraints"
3551 if test "$no_cache" != 1; then
3552 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
3555 if test "$wxUSE_CONSTRAINTS" = yes; then
3556 echo "$ac_t""yes" 1>&6
3558 echo "$ac_t""no" 1>&6
3562 echo $ac_n "checking "for --enable-printarch"""... $ac_c" 1>&6
3563 echo "configure:3564: checking "for --enable-printarch"" >&5
3565 # Check whether --enable-printarch or --disable-printarch was given.
3566 if test "${enable_printarch+set}" = set; then
3567 enableval
="$enable_printarch"
3569 if test "$enableval" = yes; then
3570 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
3572 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
3577 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
3578 if test "x$LINE" != x
; then
3579 eval "DEFAULT_$LINE"
3584 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
3589 eval "$ac_cv_use_printarch"
3590 if test "$no_cache" != 1; then
3591 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
3594 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
3595 echo "$ac_t""yes" 1>&6
3597 echo "$ac_t""no" 1>&6
3601 echo $ac_n "checking "for --enable-mdi"""... $ac_c" 1>&6
3602 echo "configure:3603: checking "for --enable-mdi"" >&5
3604 # Check whether --enable-mdi or --disable-mdi was given.
3605 if test "${enable_mdi+set}" = set; then
3606 enableval
="$enable_mdi"
3608 if test "$enableval" = yes; then
3609 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=yes'
3611 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=no'
3616 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
3617 if test "x$LINE" != x
; then
3618 eval "DEFAULT_$LINE"
3623 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
3628 eval "$ac_cv_use_mdi"
3629 if test "$no_cache" != 1; then
3630 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
3633 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
3634 echo "$ac_t""yes" 1>&6
3636 echo "$ac_t""no" 1>&6
3641 echo $ac_n "checking "for --enable-postscript"""... $ac_c" 1>&6
3642 echo "configure:3643: checking "for --enable-postscript"" >&5
3644 # Check whether --enable-postscript or --disable-postscript was given.
3645 if test "${enable_postscript+set}" = set; then
3646 enableval
="$enable_postscript"
3648 if test "$enableval" = yes; then
3649 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
3651 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
3656 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
3657 if test "x$LINE" != x
; then
3658 eval "DEFAULT_$LINE"
3663 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
3668 eval "$ac_cv_use_postscript"
3669 if test "$no_cache" != 1; then
3670 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
3673 if test "$wxUSE_POSTSCRIPT" = yes; then
3674 echo "$ac_t""yes" 1>&6
3676 echo "$ac_t""no" 1>&6
3682 echo $ac_n "checking "for --enable-prologio"""... $ac_c" 1>&6
3683 echo "configure:3684: checking "for --enable-prologio"" >&5
3685 # Check whether --enable-prologio or --disable-prologio was given.
3686 if test "${enable_prologio+set}" = set; then
3687 enableval
="$enable_prologio"
3689 if test "$enableval" = yes; then
3690 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
3692 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
3697 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
3698 if test "x$LINE" != x
; then
3699 eval "DEFAULT_$LINE"
3704 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
3709 eval "$ac_cv_use_prologio"
3710 if test "$no_cache" != 1; then
3711 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
3714 if test "$wxUSE_PROLOGIO" = yes; then
3715 echo "$ac_t""yes" 1>&6
3717 echo "$ac_t""no" 1>&6
3721 echo $ac_n "checking "for --enable-resources"""... $ac_c" 1>&6
3722 echo "configure:3723: checking "for --enable-resources"" >&5
3724 # Check whether --enable-resources or --disable-resources was given.
3725 if test "${enable_resources+set}" = set; then
3726 enableval
="$enable_resources"
3728 if test "$enableval" = yes; then
3729 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
3731 ac_cv_use_resources
='wxUSE_RESOURCES=no'
3736 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
3737 if test "x$LINE" != x
; then
3738 eval "DEFAULT_$LINE"
3743 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
3748 eval "$ac_cv_use_resources"
3749 if test "$no_cache" != 1; then
3750 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
3753 if test "$wxUSE_RESOURCES" = yes; then
3754 echo "$ac_t""yes" 1>&6
3756 echo "$ac_t""no" 1>&6
3761 echo $ac_n "checking "for --enable-xresources"""... $ac_c" 1>&6
3762 echo "configure:3763: checking "for --enable-xresources"" >&5
3764 # Check whether --enable-xresources or --disable-xresources was given.
3765 if test "${enable_xresources+set}" = set; then
3766 enableval
="$enable_xresources"
3768 if test "$enableval" = yes; then
3769 ac_cv_use_xresources
='wxUSE_X_RESOURCES=yes'
3771 ac_cv_use_xresources
='wxUSE_X_RESOURCES=no'
3776 LINE
=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
3777 if test "x$LINE" != x
; then
3778 eval "DEFAULT_$LINE"
3783 ac_cv_use_xresources
='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
3788 eval "$ac_cv_use_xresources"
3789 if test "$no_cache" != 1; then
3790 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
3793 if test "$wxUSE_X_RESOURCES" = yes; then
3794 echo "$ac_t""yes" 1>&6
3796 echo "$ac_t""no" 1>&6
3802 echo $ac_n "checking "for --enable-clipboard"""... $ac_c" 1>&6
3803 echo "configure:3804: checking "for --enable-clipboard"" >&5
3805 # Check whether --enable-clipboard or --disable-clipboard was given.
3806 if test "${enable_clipboard+set}" = set; then
3807 enableval
="$enable_clipboard"
3809 if test "$enableval" = yes; then
3810 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
3812 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
3817 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
3818 if test "x$LINE" != x
; then
3819 eval "DEFAULT_$LINE"
3824 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
3829 eval "$ac_cv_use_clipboard"
3830 if test "$no_cache" != 1; then
3831 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
3834 if test "$wxUSE_CLIPBOARD" = yes; then
3835 echo "$ac_t""yes" 1>&6
3837 echo "$ac_t""no" 1>&6
3841 echo $ac_n "checking "for --enable-dnd"""... $ac_c" 1>&6
3842 echo "configure:3843: checking "for --enable-dnd"" >&5
3844 # Check whether --enable-dnd or --disable-dnd was given.
3845 if test "${enable_dnd+set}" = set; then
3846 enableval
="$enable_dnd"
3848 if test "$enableval" = yes; then
3849 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
3851 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
3856 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
3857 if test "x$LINE" != x
; then
3858 eval "DEFAULT_$LINE"
3863 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
3868 eval "$ac_cv_use_dnd"
3869 if test "$no_cache" != 1; then
3870 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
3873 if test "$wxUSE_DRAG_AND_DROP" = yes; then
3874 echo "$ac_t""yes" 1>&6
3876 echo "$ac_t""no" 1>&6
3881 echo $ac_n "checking "for --enable-wxtree"""... $ac_c" 1>&6
3882 echo "configure:3883: checking "for --enable-wxtree"" >&5
3884 # Check whether --enable-wxtree or --disable-wxtree was given.
3885 if test "${enable_wxtree+set}" = set; then
3886 enableval
="$enable_wxtree"
3888 if test "$enableval" = yes; then
3889 ac_cv_use_wxtree
='wxUSE_WXTREE=yes'
3891 ac_cv_use_wxtree
='wxUSE_WXTREE=no'
3896 LINE
=`grep "wxUSE_WXTREE" ${wx_arg_cache_file}`
3897 if test "x$LINE" != x
; then
3898 eval "DEFAULT_$LINE"
3903 ac_cv_use_wxtree
='wxUSE_WXTREE='$DEFAULT_wxUSE_WXTREE
3908 eval "$ac_cv_use_wxtree"
3909 if test "$no_cache" != 1; then
3910 echo $ac_cv_use_wxtree >> ${wx_arg_cache_file}.tmp
3913 if test "$wxUSE_WXTREE" = yes; then
3914 echo "$ac_t""yes" 1>&6
3916 echo "$ac_t""no" 1>&6
3922 echo $ac_n "checking "for --enable-controls"""... $ac_c" 1>&6
3923 echo "configure:3924: checking "for --enable-controls"" >&5
3925 # Check whether --enable-controls or --disable-controls was given.
3926 if test "${enable_controls+set}" = set; then
3927 enableval
="$enable_controls"
3929 if test "$enableval" = yes; then
3930 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
3932 ac_cv_use_controls
='wxUSE_CONTROLS=no'
3937 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
3938 if test "x$LINE" != x
; then
3939 eval "DEFAULT_$LINE"
3944 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
3949 eval "$ac_cv_use_controls"
3950 if test "$no_cache" != 1; then
3951 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
3954 if test "$wxUSE_CONTROLS" = yes; then
3955 echo "$ac_t""yes" 1>&6
3957 echo "$ac_t""no" 1>&6
3961 if test "$wxUSE_CONTROLS" = "yes"; then
3962 DEFAULT_wxUSE_ACCEL
=yes
3963 DEFAULT_wxUSE_CARET
=yes
3964 DEFAULT_wxUSE_COMBOBOX
=yes
3965 DEFAULT_wxUSE_BMPBUTTON
=yes
3966 DEFAULT_wxUSE_CHECKBOX
=yes
3967 DEFAULT_wxUSE_CHECKLISTBOX
=yes
3968 DEFAULT_wxUSE_CHOICE
=yes
3969 DEFAULT_wxUSE_GAUGE
=yes
3970 DEFAULT_wxUSE_GRID
=yes
3971 DEFAULT_wxUSE_NEW_GRID
=yes
3972 DEFAULT_wxUSE_IMAGLIST
=yes
3973 DEFAULT_wxUSE_LISTBOX
=yes
3974 DEFAULT_wxUSE_LISTCTRL
=yes
3975 DEFAULT_wxUSE_NOTEBOOK
=yes
3976 DEFAULT_wxUSE_RADIOBOX
=yes
3977 DEFAULT_wxUSE_RADIOBTN
=yes
3978 DEFAULT_wxUSE_SASH
=yes
3979 DEFAULT_wxUSE_SCROLLBAR
=yes
3980 DEFAULT_wxUSE_SLIDER
=yes
3981 DEFAULT_wxUSE_SPINBTN
=yes
3982 DEFAULT_wxUSE_SPINCTRL
=yes
3983 DEFAULT_wxUSE_SPLITTER
=yes
3984 DEFAULT_wxUSE_STATBMP
=yes
3985 DEFAULT_wxUSE_STATBOX
=yes
3986 DEFAULT_wxUSE_STATLINE
=yes
3987 DEFAULT_wxUSE_STATUSBAR
=yes
3988 DEFAULT_wxUSE_TAB_DIALOG
=yes
3989 DEFAULT_wxUSE_TOOLBAR
=yes
3990 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
3991 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
3992 DEFAULT_wxUSE_TOOLTIPS
=yes
3993 DEFAULT_wxUSE_TREECTRL
=yes
3994 elif test "$wxUSE_CONTROLS" = "no"; then
3995 DEFAULT_wxUSE_ACCEL
=no
3996 DEFAULT_wxUSE_CARET
=no
3997 DEFAULT_wxUSE_COMBOBOX
=no
3998 DEFAULT_wxUSE_BMPBUTTON
=no
3999 DEFAULT_wxUSE_CHECKBOX
=no
4000 DEFAULT_wxUSE_CHECKLISTBOX
=no
4001 DEFAULT_wxUSE_CHOICE
=no
4002 DEFAULT_wxUSE_GAUGE
=no
4003 DEFAULT_wxUSE_GRID
=no
4004 DEFAULT_wxUSE_NEW_GRID
=no
4005 DEFAULT_wxUSE_IMAGLIST
=no
4006 DEFAULT_wxUSE_LISTBOX
=no
4007 DEFAULT_wxUSE_LISTCTRL
=no
4008 DEFAULT_wxUSE_NOTEBOOK
=no
4009 DEFAULT_wxUSE_RADIOBOX
=no
4010 DEFAULT_wxUSE_RADIOBTN
=no
4011 DEFAULT_wxUSE_SASH
=no
4012 DEFAULT_wxUSE_SCROLLBAR
=no
4013 DEFAULT_wxUSE_SLIDER
=no
4014 DEFAULT_wxUSE_SPINBTN
=no
4015 DEFAULT_wxUSE_SPINCTRL
=no
4016 DEFAULT_wxUSE_SPLITTER
=no
4017 DEFAULT_wxUSE_STATBMP
=no
4018 DEFAULT_wxUSE_STATBOX
=no
4019 DEFAULT_wxUSE_STATLINE
=no
4020 DEFAULT_wxUSE_STATUSBAR
=no
4021 DEFAULT_wxUSE_TAB_DIALOG
=no
4022 DEFAULT_wxUSE_TOOLBAR
=no
4023 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
4024 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
4025 DEFAULT_wxUSE_TOOLTIPS
=no
4026 DEFAULT_wxUSE_TREECTRL
=no
4030 echo $ac_n "checking "for --enable-accel"""... $ac_c" 1>&6
4031 echo "configure:4032: checking "for --enable-accel"" >&5
4033 # Check whether --enable-accel or --disable-accel was given.
4034 if test "${enable_accel+set}" = set; then
4035 enableval
="$enable_accel"
4037 if test "$enableval" = yes; then
4038 ac_cv_use_accel
='wxUSE_ACCEL=yes'
4040 ac_cv_use_accel
='wxUSE_ACCEL=no'
4045 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
4046 if test "x$LINE" != x
; then
4047 eval "DEFAULT_$LINE"
4052 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
4057 eval "$ac_cv_use_accel"
4058 if test "$no_cache" != 1; then
4059 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
4062 if test "$wxUSE_ACCEL" = yes; then
4063 echo "$ac_t""yes" 1>&6
4065 echo "$ac_t""no" 1>&6
4069 echo $ac_n "checking "for --enable-caret"""... $ac_c" 1>&6
4070 echo "configure:4071: checking "for --enable-caret"" >&5
4072 # Check whether --enable-caret or --disable-caret was given.
4073 if test "${enable_caret+set}" = set; then
4074 enableval
="$enable_caret"
4076 if test "$enableval" = yes; then
4077 ac_cv_use_caret
='wxUSE_CARET=yes'
4079 ac_cv_use_caret
='wxUSE_CARET=no'
4084 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
4085 if test "x$LINE" != x
; then
4086 eval "DEFAULT_$LINE"
4091 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
4096 eval "$ac_cv_use_caret"
4097 if test "$no_cache" != 1; then
4098 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
4101 if test "$wxUSE_CARET" = yes; then
4102 echo "$ac_t""yes" 1>&6
4104 echo "$ac_t""no" 1>&6
4108 echo $ac_n "checking "for --enable-bmpbutton"""... $ac_c" 1>&6
4109 echo "configure:4110: checking "for --enable-bmpbutton"" >&5
4111 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
4112 if test "${enable_bmpbutton+set}" = set; then
4113 enableval
="$enable_bmpbutton"
4115 if test "$enableval" = yes; then
4116 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
4118 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
4123 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
4124 if test "x$LINE" != x
; then
4125 eval "DEFAULT_$LINE"
4130 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
4135 eval "$ac_cv_use_bmpbutton"
4136 if test "$no_cache" != 1; then
4137 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
4140 if test "$wxUSE_BMPBUTTON" = yes; then
4141 echo "$ac_t""yes" 1>&6
4143 echo "$ac_t""no" 1>&6
4147 echo $ac_n "checking "for --enable-checkbox"""... $ac_c" 1>&6
4148 echo "configure:4149: checking "for --enable-checkbox"" >&5
4150 # Check whether --enable-checkbox or --disable-checkbox was given.
4151 if test "${enable_checkbox+set}" = set; then
4152 enableval
="$enable_checkbox"
4154 if test "$enableval" = yes; then
4155 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
4157 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
4162 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
4163 if test "x$LINE" != x
; then
4164 eval "DEFAULT_$LINE"
4169 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
4174 eval "$ac_cv_use_checkbox"
4175 if test "$no_cache" != 1; then
4176 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
4179 if test "$wxUSE_CHECKBOX" = yes; then
4180 echo "$ac_t""yes" 1>&6
4182 echo "$ac_t""no" 1>&6
4186 echo $ac_n "checking "for --enable-checklst"""... $ac_c" 1>&6
4187 echo "configure:4188: checking "for --enable-checklst"" >&5
4189 # Check whether --enable-checklst or --disable-checklst was given.
4190 if test "${enable_checklst+set}" = set; then
4191 enableval
="$enable_checklst"
4193 if test "$enableval" = yes; then
4194 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
4196 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
4201 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
4202 if test "x$LINE" != x
; then
4203 eval "DEFAULT_$LINE"
4208 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
4213 eval "$ac_cv_use_checklst"
4214 if test "$no_cache" != 1; then
4215 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
4218 if test "$wxUSE_CHECKLST" = yes; then
4219 echo "$ac_t""yes" 1>&6
4221 echo "$ac_t""no" 1>&6
4225 echo $ac_n "checking "for --enable-choice"""... $ac_c" 1>&6
4226 echo "configure:4227: checking "for --enable-choice"" >&5
4228 # Check whether --enable-choice or --disable-choice was given.
4229 if test "${enable_choice+set}" = set; then
4230 enableval
="$enable_choice"
4232 if test "$enableval" = yes; then
4233 ac_cv_use_choice
='wxUSE_CHOICE=yes'
4235 ac_cv_use_choice
='wxUSE_CHOICE=no'
4240 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
4241 if test "x$LINE" != x
; then
4242 eval "DEFAULT_$LINE"
4247 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
4252 eval "$ac_cv_use_choice"
4253 if test "$no_cache" != 1; then
4254 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
4257 if test "$wxUSE_CHOICE" = yes; then
4258 echo "$ac_t""yes" 1>&6
4260 echo "$ac_t""no" 1>&6
4264 echo $ac_n "checking "for --enable-combobox"""... $ac_c" 1>&6
4265 echo "configure:4266: checking "for --enable-combobox"" >&5
4267 # Check whether --enable-combobox or --disable-combobox was given.
4268 if test "${enable_combobox+set}" = set; then
4269 enableval
="$enable_combobox"
4271 if test "$enableval" = yes; then
4272 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
4274 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
4279 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
4280 if test "x$LINE" != x
; then
4281 eval "DEFAULT_$LINE"
4286 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
4291 eval "$ac_cv_use_combobox"
4292 if test "$no_cache" != 1; then
4293 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
4296 if test "$wxUSE_COMBOBOX" = yes; then
4297 echo "$ac_t""yes" 1>&6
4299 echo "$ac_t""no" 1>&6
4303 echo $ac_n "checking "for --enable-gauge"""... $ac_c" 1>&6
4304 echo "configure:4305: checking "for --enable-gauge"" >&5
4306 # Check whether --enable-gauge or --disable-gauge was given.
4307 if test "${enable_gauge+set}" = set; then
4308 enableval
="$enable_gauge"
4310 if test "$enableval" = yes; then
4311 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
4313 ac_cv_use_gauge
='wxUSE_GAUGE=no'
4318 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
4319 if test "x$LINE" != x
; then
4320 eval "DEFAULT_$LINE"
4325 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
4330 eval "$ac_cv_use_gauge"
4331 if test "$no_cache" != 1; then
4332 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
4335 if test "$wxUSE_GAUGE" = yes; then
4336 echo "$ac_t""yes" 1>&6
4338 echo "$ac_t""no" 1>&6
4342 echo $ac_n "checking "for --enable-grid"""... $ac_c" 1>&6
4343 echo "configure:4344: checking "for --enable-grid"" >&5
4345 # Check whether --enable-grid or --disable-grid was given.
4346 if test "${enable_grid+set}" = set; then
4347 enableval
="$enable_grid"
4349 if test "$enableval" = yes; then
4350 ac_cv_use_grid
='wxUSE_GRID=yes'
4352 ac_cv_use_grid
='wxUSE_GRID=no'
4357 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
4358 if test "x$LINE" != x
; then
4359 eval "DEFAULT_$LINE"
4364 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
4369 eval "$ac_cv_use_grid"
4370 if test "$no_cache" != 1; then
4371 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
4374 if test "$wxUSE_GRID" = yes; then
4375 echo "$ac_t""yes" 1>&6
4377 echo "$ac_t""no" 1>&6
4381 echo $ac_n "checking "for --enable-newgrid"""... $ac_c" 1>&6
4382 echo "configure:4383: checking "for --enable-newgrid"" >&5
4384 # Check whether --enable-newgrid or --disable-newgrid was given.
4385 if test "${enable_newgrid+set}" = set; then
4386 enableval
="$enable_newgrid"
4388 if test "$enableval" = yes; then
4389 ac_cv_use_newgrid
='wxUSE_NEW_GRID=yes'
4391 ac_cv_use_newgrid
='wxUSE_NEW_GRID=no'
4396 LINE
=`grep "wxUSE_NEW_GRID" ${wx_arg_cache_file}`
4397 if test "x$LINE" != x
; then
4398 eval "DEFAULT_$LINE"
4403 ac_cv_use_newgrid
='wxUSE_NEW_GRID='$DEFAULT_wxUSE_NEW_GRID
4408 eval "$ac_cv_use_newgrid"
4409 if test "$no_cache" != 1; then
4410 echo $ac_cv_use_newgrid >> ${wx_arg_cache_file}.tmp
4413 if test "$wxUSE_NEW_GRID" = yes; then
4414 echo "$ac_t""yes" 1>&6
4416 echo "$ac_t""no" 1>&6
4420 echo $ac_n "checking "for --enable-imaglist"""... $ac_c" 1>&6
4421 echo "configure:4422: checking "for --enable-imaglist"" >&5
4423 # Check whether --enable-imaglist or --disable-imaglist was given.
4424 if test "${enable_imaglist+set}" = set; then
4425 enableval
="$enable_imaglist"
4427 if test "$enableval" = yes; then
4428 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
4430 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
4435 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
4436 if test "x$LINE" != x
; then
4437 eval "DEFAULT_$LINE"
4442 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
4447 eval "$ac_cv_use_imaglist"
4448 if test "$no_cache" != 1; then
4449 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
4452 if test "$wxUSE_IMAGLIST" = yes; then
4453 echo "$ac_t""yes" 1>&6
4455 echo "$ac_t""no" 1>&6
4459 echo $ac_n "checking "for --enable-listbox"""... $ac_c" 1>&6
4460 echo "configure:4461: checking "for --enable-listbox"" >&5
4462 # Check whether --enable-listbox or --disable-listbox was given.
4463 if test "${enable_listbox+set}" = set; then
4464 enableval
="$enable_listbox"
4466 if test "$enableval" = yes; then
4467 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
4469 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
4474 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
4475 if test "x$LINE" != x
; then
4476 eval "DEFAULT_$LINE"
4481 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
4486 eval "$ac_cv_use_listbox"
4487 if test "$no_cache" != 1; then
4488 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
4491 if test "$wxUSE_LISTBOX" = yes; then
4492 echo "$ac_t""yes" 1>&6
4494 echo "$ac_t""no" 1>&6
4498 echo $ac_n "checking "for --enable-listctrl"""... $ac_c" 1>&6
4499 echo "configure:4500: checking "for --enable-listctrl"" >&5
4501 # Check whether --enable-listctrl or --disable-listctrl was given.
4502 if test "${enable_listctrl+set}" = set; then
4503 enableval
="$enable_listctrl"
4505 if test "$enableval" = yes; then
4506 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
4508 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
4513 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
4514 if test "x$LINE" != x
; then
4515 eval "DEFAULT_$LINE"
4520 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
4525 eval "$ac_cv_use_listctrl"
4526 if test "$no_cache" != 1; then
4527 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
4530 if test "$wxUSE_LISTCTRL" = yes; then
4531 echo "$ac_t""yes" 1>&6
4533 echo "$ac_t""no" 1>&6
4537 echo $ac_n "checking "for --enable-notebook"""... $ac_c" 1>&6
4538 echo "configure:4539: checking "for --enable-notebook"" >&5
4540 # Check whether --enable-notebook or --disable-notebook was given.
4541 if test "${enable_notebook+set}" = set; then
4542 enableval
="$enable_notebook"
4544 if test "$enableval" = yes; then
4545 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
4547 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
4552 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
4553 if test "x$LINE" != x
; then
4554 eval "DEFAULT_$LINE"
4559 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
4564 eval "$ac_cv_use_notebook"
4565 if test "$no_cache" != 1; then
4566 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
4569 if test "$wxUSE_NOTEBOOK" = yes; then
4570 echo "$ac_t""yes" 1>&6
4572 echo "$ac_t""no" 1>&6
4576 echo $ac_n "checking "for --enable-radiobox"""... $ac_c" 1>&6
4577 echo "configure:4578: checking "for --enable-radiobox"" >&5
4579 # Check whether --enable-radiobox or --disable-radiobox was given.
4580 if test "${enable_radiobox+set}" = set; then
4581 enableval
="$enable_radiobox"
4583 if test "$enableval" = yes; then
4584 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
4586 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
4591 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
4592 if test "x$LINE" != x
; then
4593 eval "DEFAULT_$LINE"
4598 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
4603 eval "$ac_cv_use_radiobox"
4604 if test "$no_cache" != 1; then
4605 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
4608 if test "$wxUSE_RADIOBOX" = yes; then
4609 echo "$ac_t""yes" 1>&6
4611 echo "$ac_t""no" 1>&6
4615 echo $ac_n "checking "for --enable-radiobtn"""... $ac_c" 1>&6
4616 echo "configure:4617: checking "for --enable-radiobtn"" >&5
4618 # Check whether --enable-radiobtn or --disable-radiobtn was given.
4619 if test "${enable_radiobtn+set}" = set; then
4620 enableval
="$enable_radiobtn"
4622 if test "$enableval" = yes; then
4623 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
4625 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
4630 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
4631 if test "x$LINE" != x
; then
4632 eval "DEFAULT_$LINE"
4637 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
4642 eval "$ac_cv_use_radiobtn"
4643 if test "$no_cache" != 1; then
4644 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
4647 if test "$wxUSE_RADIOBTN" = yes; then
4648 echo "$ac_t""yes" 1>&6
4650 echo "$ac_t""no" 1>&6
4654 echo $ac_n "checking "for --enable-sash"""... $ac_c" 1>&6
4655 echo "configure:4656: checking "for --enable-sash"" >&5
4657 # Check whether --enable-sash or --disable-sash was given.
4658 if test "${enable_sash+set}" = set; then
4659 enableval
="$enable_sash"
4661 if test "$enableval" = yes; then
4662 ac_cv_use_sash
='wxUSE_SASH=yes'
4664 ac_cv_use_sash
='wxUSE_SASH=no'
4669 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
4670 if test "x$LINE" != x
; then
4671 eval "DEFAULT_$LINE"
4676 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
4681 eval "$ac_cv_use_sash"
4682 if test "$no_cache" != 1; then
4683 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
4686 if test "$wxUSE_SASH" = yes; then
4687 echo "$ac_t""yes" 1>&6
4689 echo "$ac_t""no" 1>&6
4693 echo $ac_n "checking "for --enable-scrollbar"""... $ac_c" 1>&6
4694 echo "configure:4695: checking "for --enable-scrollbar"" >&5
4696 # Check whether --enable-scrollbar or --disable-scrollbar was given.
4697 if test "${enable_scrollbar+set}" = set; then
4698 enableval
="$enable_scrollbar"
4700 if test "$enableval" = yes; then
4701 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
4703 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
4708 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
4709 if test "x$LINE" != x
; then
4710 eval "DEFAULT_$LINE"
4715 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
4720 eval "$ac_cv_use_scrollbar"
4721 if test "$no_cache" != 1; then
4722 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
4725 if test "$wxUSE_SCROLLBAR" = yes; then
4726 echo "$ac_t""yes" 1>&6
4728 echo "$ac_t""no" 1>&6
4732 echo $ac_n "checking "for --enable-slider"""... $ac_c" 1>&6
4733 echo "configure:4734: checking "for --enable-slider"" >&5
4735 # Check whether --enable-slider or --disable-slider was given.
4736 if test "${enable_slider+set}" = set; then
4737 enableval
="$enable_slider"
4739 if test "$enableval" = yes; then
4740 ac_cv_use_slider
='wxUSE_SLIDER=yes'
4742 ac_cv_use_slider
='wxUSE_SLIDER=no'
4747 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
4748 if test "x$LINE" != x
; then
4749 eval "DEFAULT_$LINE"
4754 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
4759 eval "$ac_cv_use_slider"
4760 if test "$no_cache" != 1; then
4761 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
4764 if test "$wxUSE_SLIDER" = yes; then
4765 echo "$ac_t""yes" 1>&6
4767 echo "$ac_t""no" 1>&6
4771 echo $ac_n "checking "for --enable-spinbtn"""... $ac_c" 1>&6
4772 echo "configure:4773: checking "for --enable-spinbtn"" >&5
4774 # Check whether --enable-spinbtn or --disable-spinbtn was given.
4775 if test "${enable_spinbtn+set}" = set; then
4776 enableval
="$enable_spinbtn"
4778 if test "$enableval" = yes; then
4779 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
4781 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
4786 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
4787 if test "x$LINE" != x
; then
4788 eval "DEFAULT_$LINE"
4793 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
4798 eval "$ac_cv_use_spinbtn"
4799 if test "$no_cache" != 1; then
4800 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
4803 if test "$wxUSE_SPINBTN" = yes; then
4804 echo "$ac_t""yes" 1>&6
4806 echo "$ac_t""no" 1>&6
4810 echo $ac_n "checking "for --enable-spinctrl"""... $ac_c" 1>&6
4811 echo "configure:4812: checking "for --enable-spinctrl"" >&5
4813 # Check whether --enable-spinctrl or --disable-spinctrl was given.
4814 if test "${enable_spinctrl+set}" = set; then
4815 enableval
="$enable_spinctrl"
4817 if test "$enableval" = yes; then
4818 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
4820 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
4825 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
4826 if test "x$LINE" != x
; then
4827 eval "DEFAULT_$LINE"
4832 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
4837 eval "$ac_cv_use_spinctrl"
4838 if test "$no_cache" != 1; then
4839 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
4842 if test "$wxUSE_SPINCTRL" = yes; then
4843 echo "$ac_t""yes" 1>&6
4845 echo "$ac_t""no" 1>&6
4849 echo $ac_n "checking "for --enable-splitter"""... $ac_c" 1>&6
4850 echo "configure:4851: checking "for --enable-splitter"" >&5
4852 # Check whether --enable-splitter or --disable-splitter was given.
4853 if test "${enable_splitter+set}" = set; then
4854 enableval
="$enable_splitter"
4856 if test "$enableval" = yes; then
4857 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
4859 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
4864 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
4865 if test "x$LINE" != x
; then
4866 eval "DEFAULT_$LINE"
4871 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
4876 eval "$ac_cv_use_splitter"
4877 if test "$no_cache" != 1; then
4878 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
4881 if test "$wxUSE_SPLITTER" = yes; then
4882 echo "$ac_t""yes" 1>&6
4884 echo "$ac_t""no" 1>&6
4888 echo $ac_n "checking "for --enable-statbmp"""... $ac_c" 1>&6
4889 echo "configure:4890: checking "for --enable-statbmp"" >&5
4891 # Check whether --enable-statbmp or --disable-statbmp was given.
4892 if test "${enable_statbmp+set}" = set; then
4893 enableval
="$enable_statbmp"
4895 if test "$enableval" = yes; then
4896 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
4898 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
4903 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
4904 if test "x$LINE" != x
; then
4905 eval "DEFAULT_$LINE"
4910 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
4915 eval "$ac_cv_use_statbmp"
4916 if test "$no_cache" != 1; then
4917 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
4920 if test "$wxUSE_STATBMP" = yes; then
4921 echo "$ac_t""yes" 1>&6
4923 echo "$ac_t""no" 1>&6
4927 echo $ac_n "checking "for --enable-statbox"""... $ac_c" 1>&6
4928 echo "configure:4929: checking "for --enable-statbox"" >&5
4930 # Check whether --enable-statbox or --disable-statbox was given.
4931 if test "${enable_statbox+set}" = set; then
4932 enableval
="$enable_statbox"
4934 if test "$enableval" = yes; then
4935 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
4937 ac_cv_use_statbox
='wxUSE_STATBOX=no'
4942 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
4943 if test "x$LINE" != x
; then
4944 eval "DEFAULT_$LINE"
4949 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
4954 eval "$ac_cv_use_statbox"
4955 if test "$no_cache" != 1; then
4956 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
4959 if test "$wxUSE_STATBOX" = yes; then
4960 echo "$ac_t""yes" 1>&6
4962 echo "$ac_t""no" 1>&6
4966 echo $ac_n "checking "for --enable-statline"""... $ac_c" 1>&6
4967 echo "configure:4968: checking "for --enable-statline"" >&5
4969 # Check whether --enable-statline or --disable-statline was given.
4970 if test "${enable_statline+set}" = set; then
4971 enableval
="$enable_statline"
4973 if test "$enableval" = yes; then
4974 ac_cv_use_statline
='wxUSE_STATLINE=yes'
4976 ac_cv_use_statline
='wxUSE_STATLINE=no'
4981 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
4982 if test "x$LINE" != x
; then
4983 eval "DEFAULT_$LINE"
4988 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
4993 eval "$ac_cv_use_statline"
4994 if test "$no_cache" != 1; then
4995 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
4998 if test "$wxUSE_STATLINE" = yes; then
4999 echo "$ac_t""yes" 1>&6
5001 echo "$ac_t""no" 1>&6
5005 echo $ac_n "checking "for --enable-statusbar"""... $ac_c" 1>&6
5006 echo "configure:5007: checking "for --enable-statusbar"" >&5
5008 # Check whether --enable-statusbar or --disable-statusbar was given.
5009 if test "${enable_statusbar+set}" = set; then
5010 enableval
="$enable_statusbar"
5012 if test "$enableval" = yes; then
5013 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
5015 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
5020 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
5021 if test "x$LINE" != x
; then
5022 eval "DEFAULT_$LINE"
5027 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
5032 eval "$ac_cv_use_statusbar"
5033 if test "$no_cache" != 1; then
5034 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
5037 if test "$wxUSE_STATUSBAR" = yes; then
5038 echo "$ac_t""yes" 1>&6
5040 echo "$ac_t""no" 1>&6
5044 echo $ac_n "checking "for --enable-tabdialog"""... $ac_c" 1>&6
5045 echo "configure:5046: checking "for --enable-tabdialog"" >&5
5047 # Check whether --enable-tabdialog or --disable-tabdialog was given.
5048 if test "${enable_tabdialog+set}" = set; then
5049 enableval
="$enable_tabdialog"
5051 if test "$enableval" = yes; then
5052 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
5054 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
5059 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
5060 if test "x$LINE" != x
; then
5061 eval "DEFAULT_$LINE"
5066 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
5071 eval "$ac_cv_use_tabdialog"
5072 if test "$no_cache" != 1; then
5073 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
5076 if test "$wxUSE_TABDIALOG" = yes; then
5077 echo "$ac_t""yes" 1>&6
5079 echo "$ac_t""no" 1>&6
5083 echo $ac_n "checking "for --enable-toolbar"""... $ac_c" 1>&6
5084 echo "configure:5085: checking "for --enable-toolbar"" >&5
5086 # Check whether --enable-toolbar or --disable-toolbar was given.
5087 if test "${enable_toolbar+set}" = set; then
5088 enableval
="$enable_toolbar"
5090 if test "$enableval" = yes; then
5091 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
5093 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
5098 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
5099 if test "x$LINE" != x
; then
5100 eval "DEFAULT_$LINE"
5105 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
5110 eval "$ac_cv_use_toolbar"
5111 if test "$no_cache" != 1; then
5112 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
5115 if test "$wxUSE_TOOLBAR" = yes; then
5116 echo "$ac_t""yes" 1>&6
5118 echo "$ac_t""no" 1>&6
5122 echo $ac_n "checking "for --enable-tbarnative"""... $ac_c" 1>&6
5123 echo "configure:5124: checking "for --enable-tbarnative"" >&5
5125 # Check whether --enable-tbarnative or --disable-tbarnative was given.
5126 if test "${enable_tbarnative+set}" = set; then
5127 enableval
="$enable_tbarnative"
5129 if test "$enableval" = yes; then
5130 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
5132 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
5137 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
5138 if test "x$LINE" != x
; then
5139 eval "DEFAULT_$LINE"
5144 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
5149 eval "$ac_cv_use_tbarnative"
5150 if test "$no_cache" != 1; then
5151 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
5154 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
5155 echo "$ac_t""yes" 1>&6
5157 echo "$ac_t""no" 1>&6
5161 echo $ac_n "checking "for --enable-tbarsmpl"""... $ac_c" 1>&6
5162 echo "configure:5163: checking "for --enable-tbarsmpl"" >&5
5164 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
5165 if test "${enable_tbarsmpl+set}" = set; then
5166 enableval
="$enable_tbarsmpl"
5168 if test "$enableval" = yes; then
5169 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
5171 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
5176 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
5177 if test "x$LINE" != x
; then
5178 eval "DEFAULT_$LINE"
5183 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
5188 eval "$ac_cv_use_tbarsmpl"
5189 if test "$no_cache" != 1; then
5190 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
5193 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
5194 echo "$ac_t""yes" 1>&6
5196 echo "$ac_t""no" 1>&6
5200 echo $ac_n "checking "for --enable-treectrl"""... $ac_c" 1>&6
5201 echo "configure:5202: checking "for --enable-treectrl"" >&5
5203 # Check whether --enable-treectrl or --disable-treectrl was given.
5204 if test "${enable_treectrl+set}" = set; then
5205 enableval
="$enable_treectrl"
5207 if test "$enableval" = yes; then
5208 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
5210 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
5215 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
5216 if test "x$LINE" != x
; then
5217 eval "DEFAULT_$LINE"
5222 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
5227 eval "$ac_cv_use_treectrl"
5228 if test "$no_cache" != 1; then
5229 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
5232 if test "$wxUSE_TREECTRL" = yes; then
5233 echo "$ac_t""yes" 1>&6
5235 echo "$ac_t""no" 1>&6
5241 echo $ac_n "checking "for --enable-commondlg"""... $ac_c" 1>&6
5242 echo "configure:5243: checking "for --enable-commondlg"" >&5
5244 # Check whether --enable-commondlg or --disable-commondlg was given.
5245 if test "${enable_commondlg+set}" = set; then
5246 enableval
="$enable_commondlg"
5248 if test "$enableval" = yes; then
5249 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
5251 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
5256 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
5257 if test "x$LINE" != x
; then
5258 eval "DEFAULT_$LINE"
5263 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
5268 eval "$ac_cv_use_commondlg"
5269 if test "$no_cache" != 1; then
5270 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
5273 if test "$wxUSE_COMMONDLGS" = yes; then
5274 echo "$ac_t""yes" 1>&6
5276 echo "$ac_t""no" 1>&6
5280 echo $ac_n "checking "for --enable-dirdlg"""... $ac_c" 1>&6
5281 echo "configure:5282: checking "for --enable-dirdlg"" >&5
5283 # Check whether --enable-dirdlg or --disable-dirdlg was given.
5284 if test "${enable_dirdlg+set}" = set; then
5285 enableval
="$enable_dirdlg"
5287 if test "$enableval" = yes; then
5288 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
5290 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
5295 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
5296 if test "x$LINE" != x
; then
5297 eval "DEFAULT_$LINE"
5302 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
5307 eval "$ac_cv_use_dirdlg"
5308 if test "$no_cache" != 1; then
5309 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
5312 if test "$wxUSE_DIRDLG" = yes; then
5313 echo "$ac_t""yes" 1>&6
5315 echo "$ac_t""no" 1>&6
5319 echo $ac_n "checking "for --enable-textdlg"""... $ac_c" 1>&6
5320 echo "configure:5321: checking "for --enable-textdlg"" >&5
5322 # Check whether --enable-textdlg or --disable-textdlg was given.
5323 if test "${enable_textdlg+set}" = set; then
5324 enableval
="$enable_textdlg"
5326 if test "$enableval" = yes; then
5327 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
5329 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
5334 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
5335 if test "x$LINE" != x
; then
5336 eval "DEFAULT_$LINE"
5341 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
5346 eval "$ac_cv_use_textdlg"
5347 if test "$no_cache" != 1; then
5348 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
5351 if test "$wxUSE_TEXTDLG" = yes; then
5352 echo "$ac_t""yes" 1>&6
5354 echo "$ac_t""no" 1>&6
5358 echo $ac_n "checking "for --enable-tipdlg"""... $ac_c" 1>&6
5359 echo "configure:5360: checking "for --enable-tipdlg"" >&5
5361 # Check whether --enable-tipdlg or --disable-tipdlg was given.
5362 if test "${enable_tipdlg+set}" = set; then
5363 enableval
="$enable_tipdlg"
5365 if test "$enableval" = yes; then
5366 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
5368 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
5373 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
5374 if test "x$LINE" != x
; then
5375 eval "DEFAULT_$LINE"
5380 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
5385 eval "$ac_cv_use_tipdlg"
5386 if test "$no_cache" != 1; then
5387 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
5390 if test "$wxUSE_STARTUP_TIPS" = yes; then
5391 echo "$ac_t""yes" 1>&6
5393 echo "$ac_t""no" 1>&6
5397 echo $ac_n "checking "for --enable-progressdlg"""... $ac_c" 1>&6
5398 echo "configure:5399: checking "for --enable-progressdlg"" >&5
5400 # Check whether --enable-progressdlg or --disable-progressdlg was given.
5401 if test "${enable_progressdlg+set}" = set; then
5402 enableval
="$enable_progressdlg"
5404 if test "$enableval" = yes; then
5405 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
5407 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
5412 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
5413 if test "x$LINE" != x
; then
5414 eval "DEFAULT_$LINE"
5419 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
5424 eval "$ac_cv_use_progressdlg"
5425 if test "$no_cache" != 1; then
5426 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
5429 if test "$wxUSE_PROGRESSDLG" = yes; then
5430 echo "$ac_t""yes" 1>&6
5432 echo "$ac_t""no" 1>&6
5436 echo $ac_n "checking "for --enable-miniframe"""... $ac_c" 1>&6
5437 echo "configure:5438: checking "for --enable-miniframe"" >&5
5439 # Check whether --enable-miniframe or --disable-miniframe was given.
5440 if test "${enable_miniframe+set}" = set; then
5441 enableval
="$enable_miniframe"
5443 if test "$enableval" = yes; then
5444 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
5446 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
5451 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
5452 if test "x$LINE" != x
; then
5453 eval "DEFAULT_$LINE"
5458 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
5463 eval "$ac_cv_use_miniframe"
5464 if test "$no_cache" != 1; then
5465 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
5468 if test "$wxUSE_MINIFRAME" = yes; then
5469 echo "$ac_t""yes" 1>&6
5471 echo "$ac_t""no" 1>&6
5475 echo $ac_n "checking "for --enable-html"""... $ac_c" 1>&6
5476 echo "configure:5477: checking "for --enable-html"" >&5
5478 # Check whether --enable-html or --disable-html was given.
5479 if test "${enable_html+set}" = set; then
5480 enableval
="$enable_html"
5482 if test "$enableval" = yes; then
5483 ac_cv_use_html
='wxUSE_HTML=yes'
5485 ac_cv_use_html
='wxUSE_HTML=no'
5490 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
5491 if test "x$LINE" != x
; then
5492 eval "DEFAULT_$LINE"
5497 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
5502 eval "$ac_cv_use_html"
5503 if test "$no_cache" != 1; then
5504 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
5507 if test "$wxUSE_HTML" = yes; then
5508 echo "$ac_t""yes" 1>&6
5510 echo "$ac_t""no" 1>&6
5514 echo $ac_n "checking "for --enable-tooltips"""... $ac_c" 1>&6
5515 echo "configure:5516: checking "for --enable-tooltips"" >&5
5517 # Check whether --enable-tooltips or --disable-tooltips was given.
5518 if test "${enable_tooltips+set}" = set; then
5519 enableval
="$enable_tooltips"
5521 if test "$enableval" = yes; then
5522 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
5524 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
5529 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
5530 if test "x$LINE" != x
; then
5531 eval "DEFAULT_$LINE"
5536 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
5541 eval "$ac_cv_use_tooltips"
5542 if test "$no_cache" != 1; then
5543 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
5546 if test "$wxUSE_TOOLTIPS" = yes; then
5547 echo "$ac_t""yes" 1>&6
5549 echo "$ac_t""no" 1>&6
5553 echo $ac_n "checking "for --enable-splines"""... $ac_c" 1>&6
5554 echo "configure:5555: checking "for --enable-splines"" >&5
5556 # Check whether --enable-splines or --disable-splines was given.
5557 if test "${enable_splines+set}" = set; then
5558 enableval
="$enable_splines"
5560 if test "$enableval" = yes; then
5561 ac_cv_use_splines
='wxUSE_SPLINES=yes'
5563 ac_cv_use_splines
='wxUSE_SPLINES=no'
5568 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
5569 if test "x$LINE" != x
; then
5570 eval "DEFAULT_$LINE"
5575 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
5580 eval "$ac_cv_use_splines"
5581 if test "$no_cache" != 1; then
5582 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
5585 if test "$wxUSE_SPLINES" = yes; then
5586 echo "$ac_t""yes" 1>&6
5588 echo "$ac_t""no" 1>&6
5592 echo $ac_n "checking "for --enable-validators"""... $ac_c" 1>&6
5593 echo "configure:5594: checking "for --enable-validators"" >&5
5595 # Check whether --enable-validators or --disable-validators was given.
5596 if test "${enable_validators+set}" = set; then
5597 enableval
="$enable_validators"
5599 if test "$enableval" = yes; then
5600 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
5602 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
5607 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
5608 if test "x$LINE" != x
; then
5609 eval "DEFAULT_$LINE"
5614 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
5619 eval "$ac_cv_use_validators"
5620 if test "$no_cache" != 1; then
5621 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
5624 if test "$wxUSE_VALIDATORS" = yes; then
5625 echo "$ac_t""yes" 1>&6
5627 echo "$ac_t""no" 1>&6
5631 echo $ac_n "checking "for --enable-busyinfo"""... $ac_c" 1>&6
5632 echo "configure:5633: checking "for --enable-busyinfo"" >&5
5634 # Check whether --enable-busyinfo or --disable-busyinfo was given.
5635 if test "${enable_busyinfo+set}" = set; then
5636 enableval
="$enable_busyinfo"
5638 if test "$enableval" = yes; then
5639 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
5641 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
5646 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
5647 if test "x$LINE" != x
; then
5648 eval "DEFAULT_$LINE"
5653 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
5658 eval "$ac_cv_use_busyinfo"
5659 if test "$no_cache" != 1; then
5660 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
5663 if test "$wxUSE_BUSYINFO" = yes; then
5664 echo "$ac_t""yes" 1>&6
5666 echo "$ac_t""no" 1>&6
5670 echo $ac_n "checking "for --enable-plot"""... $ac_c" 1>&6
5671 echo "configure:5672: checking "for --enable-plot"" >&5
5673 # Check whether --enable-plot or --disable-plot was given.
5674 if test "${enable_plot+set}" = set; then
5675 enableval
="$enable_plot"
5677 if test "$enableval" = yes; then
5678 ac_cv_use_plot
='wxUSE_PLOT=yes'
5680 ac_cv_use_plot
='wxUSE_PLOT=no'
5685 LINE
=`grep "wxUSE_PLOT" ${wx_arg_cache_file}`
5686 if test "x$LINE" != x
; then
5687 eval "DEFAULT_$LINE"
5692 ac_cv_use_plot
='wxUSE_PLOT='$DEFAULT_wxUSE_PLOT
5697 eval "$ac_cv_use_plot"
5698 if test "$no_cache" != 1; then
5699 echo $ac_cv_use_plot >> ${wx_arg_cache_file}.tmp
5702 if test "$wxUSE_PLOT" = yes; then
5703 echo "$ac_t""yes" 1>&6
5705 echo "$ac_t""no" 1>&6
5711 echo $ac_n "checking "for --enable-gif"""... $ac_c" 1>&6
5712 echo "configure:5713: checking "for --enable-gif"" >&5
5714 # Check whether --enable-gif or --disable-gif was given.
5715 if test "${enable_gif+set}" = set; then
5716 enableval
="$enable_gif"
5718 if test "$enableval" = yes; then
5719 ac_cv_use_gif
='wxUSE_GIF=yes'
5721 ac_cv_use_gif
='wxUSE_GIF=no'
5726 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
5727 if test "x$LINE" != x
; then
5728 eval "DEFAULT_$LINE"
5733 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
5738 eval "$ac_cv_use_gif"
5739 if test "$no_cache" != 1; then
5740 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
5743 if test "$wxUSE_GIF" = yes; then
5744 echo "$ac_t""yes" 1>&6
5746 echo "$ac_t""no" 1>&6
5750 echo $ac_n "checking "for --enable-pcx"""... $ac_c" 1>&6
5751 echo "configure:5752: checking "for --enable-pcx"" >&5
5753 # Check whether --enable-pcx or --disable-pcx was given.
5754 if test "${enable_pcx+set}" = set; then
5755 enableval
="$enable_pcx"
5757 if test "$enableval" = yes; then
5758 ac_cv_use_pcx
='wxUSE_PCX=yes'
5760 ac_cv_use_pcx
='wxUSE_PCX=no'
5765 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
5766 if test "x$LINE" != x
; then
5767 eval "DEFAULT_$LINE"
5772 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
5777 eval "$ac_cv_use_pcx"
5778 if test "$no_cache" != 1; then
5779 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
5782 if test "$wxUSE_PCX" = yes; then
5783 echo "$ac_t""yes" 1>&6
5785 echo "$ac_t""no" 1>&6
5789 echo $ac_n "checking "for --enable-pnm"""... $ac_c" 1>&6
5790 echo "configure:5791: checking "for --enable-pnm"" >&5
5792 # Check whether --enable-pnm or --disable-pnm was given.
5793 if test "${enable_pnm+set}" = set; then
5794 enableval
="$enable_pnm"
5796 if test "$enableval" = yes; then
5797 ac_cv_use_pnm
='wxUSE_PNM=yes'
5799 ac_cv_use_pnm
='wxUSE_PNM=no'
5804 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
5805 if test "x$LINE" != x
; then
5806 eval "DEFAULT_$LINE"
5811 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
5816 eval "$ac_cv_use_pnm"
5817 if test "$no_cache" != 1; then
5818 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
5821 if test "$wxUSE_PNM" = yes; then
5822 echo "$ac_t""yes" 1>&6
5824 echo "$ac_t""no" 1>&6
5831 echo "saving argument cache $wx_arg_cache_file"
5832 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
5836 echo $ac_n "checking for toolkit""... $ac_c" 1>&6
5837 echo "configure:5838: checking for toolkit" >&5
5839 if test "$wxUSE_GUI" = "yes"; then
5841 if test "$USE_BEOS" = 1; then
5842 { echo "configure: error: BeOS GUI is not supported yet, use --disable-gui" 1>&2; exit 1; }
5845 if test "$TOOLKIT_GIVEN" = 1; then
5846 for toolkit
in `echo $ALL_TOOLKITS`; do
5848 eval "value=\$${var}"
5849 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
5852 for toolkit
in `echo $ALL_TOOLKITS`; do
5853 if test "$has_toolkit_in_cache" != 1; then
5854 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
5856 var
=DEFAULT_wxUSE_
$toolkit
5858 eval "wxUSE_$toolkit=\$${var}"
5862 NUM_TOOLKITS
=`expr ${wxUSE_GTK:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_WINE:-0} + ${wxUSE_MINGW:-0} + ${wxUSE_CYGWIN:-0}`
5866 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
5867 # PATH_IFS is autodetected by OS/2's configure (usually ';')
5876 case "$NUM_TOOLKITS" in
5880 { echo "configure: error: Please specify a toolkit - cannot determine the default for ${host}" 1>&2; exit 1; }
5883 { echo "configure: error: Please specify at most one toolkit (may be some are cached?)" 1>&2; exit 1; }
5886 for toolkit
in `echo $ALL_TOOLKITS`; do
5888 eval "value=\$${var}"
5889 if test "x$value" != x
; then
5890 cache_var
=CACHE_
$toolkit
5891 eval "cache=\$${cache_var}"
5892 if test "$cache" = 1; then
5893 echo "$var=$value" >> ${wx_arg_cache_file}
5895 if test "$value" = 1; then
5896 echo "$ac_t""`echo $toolkit | tr A-Z a-z`" 1>&6
5903 echo "$ac_t""base only" 1>&6
5907 cat > confcache
<<\EOF
5908 # This file is a shell script that caches the results of configure
5909 # tests run on this system so they can be shared between configure
5910 # scripts and configure runs. It is not useful on other systems.
5911 # If it contains results you don't want to keep, you may remove or edit it.
5913 # By default, configure uses ./config.cache as the cache file,
5914 # creating it if it does not exist already. You can give configure
5915 # the --cache-file=FILE option to use a different cache file; that is
5916 # what configure does when it calls configure scripts in
5917 # subdirectories, so they share the cache.
5918 # Giving --cache-file=/dev/null disables caching, for debugging configure.
5919 # config.status only pays attention to the cache file if you give it the
5920 # --recheck option to rerun configure.
5923 # The following way of writing the cache mishandles newlines in values,
5924 # but we know of no workaround that is simple, portable, and efficient.
5925 # So, don't put newlines in cache variables' values.
5926 # Ultrix sh set writes to stderr and can't be redirected directly,
5927 # and sets the high bit in the cache file unless we assign to the vars.
5929 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5931 # `set' does not quote correctly, so add quotes (double-quote substitution
5932 # turns \\\\ into \\, and sed turns \\ into \).
5934 -e "s/'/'\\\\''/g" \
5935 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
5938 # `set' quotes correctly as required by POSIX, so do not add quotes.
5939 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
5942 if cmp -s $cache_file confcache
; then
5945 if test -w $cache_file; then
5946 echo "updating cache $cache_file"
5947 cat confcache
> $cache_file
5949 echo "not updating unwritable cache $cache_file"
5955 if eval "test $host != $build"; then
5956 if eval "test $host_alias != NONE"; then
5960 RANLIB
=$host_alias-ranlib
5961 DLLTOOL
=$host_alias-dlltool
5964 STRIP
=$host_alias-strip
5968 # Extract the first word of "gcc", so it can be a program name with args.
5969 set dummy gcc
; ac_word
=$2
5970 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5971 echo "configure:5972: checking for $ac_word" >&5
5972 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
5973 echo $ac_n "(cached) $ac_c" 1>&6
5975 if test -n "$CC"; then
5976 ac_cv_prog_CC
="$CC" # Let the user override the test.
5978 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
5980 for ac_dir
in $ac_dummy; do
5981 test -z "$ac_dir" && ac_dir
=.
5982 if test -f $ac_dir/$ac_word; then
5991 if test -n "$CC"; then
5992 echo "$ac_t""$CC" 1>&6
5994 echo "$ac_t""no" 1>&6
5997 if test -z "$CC"; then
5998 # Extract the first word of "cc", so it can be a program name with args.
5999 set dummy cc
; ac_word
=$2
6000 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6001 echo "configure:6002: checking for $ac_word" >&5
6002 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
6003 echo $ac_n "(cached) $ac_c" 1>&6
6005 if test -n "$CC"; then
6006 ac_cv_prog_CC
="$CC" # Let the user override the test.
6008 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6011 for ac_dir
in $ac_dummy; do
6012 test -z "$ac_dir" && ac_dir
=.
6013 if test -f $ac_dir/$ac_word; then
6014 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
6015 ac_prog_rejected
=yes
6023 if test $ac_prog_rejected = yes; then
6024 # We found a bogon in the path, so make sure we never use it.
6025 set dummy
$ac_cv_prog_CC
6027 if test $# -gt 0; then
6028 # We chose a different compiler from the bogus one.
6029 # However, it has the same basename, so the bogon will be chosen
6030 # first if we set CC to just the basename; use the full file name.
6032 set dummy
"$ac_dir/$ac_word" "$@"
6040 if test -n "$CC"; then
6041 echo "$ac_t""$CC" 1>&6
6043 echo "$ac_t""no" 1>&6
6046 if test -z "$CC"; then
6047 case "`uname -s`" in
6049 # Extract the first word of "cl", so it can be a program name with args.
6050 set dummy cl
; ac_word
=$2
6051 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6052 echo "configure:6053: checking for $ac_word" >&5
6053 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
6054 echo $ac_n "(cached) $ac_c" 1>&6
6056 if test -n "$CC"; then
6057 ac_cv_prog_CC
="$CC" # Let the user override the test.
6059 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6061 for ac_dir
in $ac_dummy; do
6062 test -z "$ac_dir" && ac_dir
=.
6063 if test -f $ac_dir/$ac_word; then
6072 if test -n "$CC"; then
6073 echo "$ac_t""$CC" 1>&6
6075 echo "$ac_t""no" 1>&6
6080 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
6083 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
6084 echo "configure:6085: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
6087 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6088 ac_cpp
='$CPP $CPPFLAGS'
6089 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6090 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6091 cross_compiling
=$ac_cv_prog_cc_cross
6093 cat > conftest.
$ac_ext << EOF
6095 #line 6096 "configure"
6096 #include "confdefs.h"
6100 if { (eval echo configure
:6101: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6101 ac_cv_prog_cc_works
=yes
6102 # If we can't run a trivial program, we are probably using a cross compiler.
6103 if (.
/conftest
; exit) 2>/dev
/null
; then
6104 ac_cv_prog_cc_cross
=no
6106 ac_cv_prog_cc_cross
=yes
6109 echo "configure: failed program was:" >&5
6110 cat conftest.
$ac_ext >&5
6111 ac_cv_prog_cc_works
=no
6115 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6116 ac_cpp
='$CPP $CPPFLAGS'
6117 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6118 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6119 cross_compiling
=$ac_cv_prog_cc_cross
6121 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
6122 if test $ac_cv_prog_cc_works = no
; then
6123 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
6125 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
6126 echo "configure:6127: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
6127 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
6128 cross_compiling
=$ac_cv_prog_cc_cross
6130 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
6131 echo "configure:6132: checking whether we are using GNU C" >&5
6132 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
6133 echo $ac_n "(cached) $ac_c" 1>&6
6135 cat > conftest.c
<<EOF
6140 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:6141: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
6147 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
6149 if test $ac_cv_prog_gcc = yes; then
6155 ac_test_CFLAGS
="${CFLAGS+set}"
6156 ac_save_CFLAGS
="$CFLAGS"
6158 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
6159 echo "configure:6160: checking whether ${CC-cc} accepts -g" >&5
6160 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
6161 echo $ac_n "(cached) $ac_c" 1>&6
6163 echo 'void f(){}' > conftest.c
6164 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
6173 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
6174 if test "$ac_test_CFLAGS" = set; then
6175 CFLAGS
="$ac_save_CFLAGS"
6176 elif test $ac_cv_prog_cc_g = yes; then
6177 if test "$GCC" = yes; then
6183 if test "$GCC" = yes; then
6191 CFLAGS
=`echo "$CFLAGS" | sed 's/-g//g'`
6193 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
6194 echo "configure:6195: checking how to run the C preprocessor" >&5
6195 # On Suns, sometimes $CPP names a directory.
6196 if test -n "$CPP" && test -d "$CPP"; then
6199 if test -z "$CPP"; then
6200 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
6201 echo $ac_n "(cached) $ac_c" 1>&6
6203 # This must be in double quotes, not single quotes, because CPP may get
6204 # substituted into the Makefile and "${CC-cc}" will confuse make.
6206 # On the NeXT, cc -E runs the code through the compiler's parser,
6207 # not just through cpp.
6208 cat > conftest.
$ac_ext <<EOF
6209 #line 6210 "configure"
6210 #include "confdefs.h"
6214 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6215 { (eval echo configure
:6216: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6216 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6217 if test -z "$ac_err"; then
6221 echo "configure: failed program was:" >&5
6222 cat conftest.
$ac_ext >&5
6224 CPP
="${CC-cc} -E -traditional-cpp"
6225 cat > conftest.
$ac_ext <<EOF
6226 #line 6227 "configure"
6227 #include "confdefs.h"
6231 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6232 { (eval echo configure
:6233: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6233 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6234 if test -z "$ac_err"; then
6238 echo "configure: failed program was:" >&5
6239 cat conftest.
$ac_ext >&5
6241 CPP
="${CC-cc} -nologo -E"
6242 cat > conftest.
$ac_ext <<EOF
6243 #line 6244 "configure"
6244 #include "confdefs.h"
6248 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6249 { (eval echo configure
:6250: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6250 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6251 if test -z "$ac_err"; then
6255 echo "configure: failed program was:" >&5
6256 cat conftest.
$ac_ext >&5
6265 ac_cv_prog_CPP
="$CPP"
6267 CPP
="$ac_cv_prog_CPP"
6269 ac_cv_prog_CPP
="$CPP"
6271 echo "$ac_t""$CPP" 1>&6
6274 if test $ac_cv_prog_gcc = yes; then
6275 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
6276 echo "configure:6277: checking whether ${CC-cc} needs -traditional" >&5
6277 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
6278 echo $ac_n "(cached) $ac_c" 1>&6
6280 ac_pattern
="Autoconf.*'x'"
6281 cat > conftest.
$ac_ext <<EOF
6282 #line 6283 "configure"
6283 #include "confdefs.h"
6287 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6288 egrep "$ac_pattern" >/dev
/null
2>&1; then
6290 ac_cv_prog_gcc_traditional
=yes
6293 ac_cv_prog_gcc_traditional
=no
6298 if test $ac_cv_prog_gcc_traditional = no
; then
6299 cat > conftest.
$ac_ext <<EOF
6300 #line 6301 "configure"
6301 #include "confdefs.h"
6305 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6306 egrep "$ac_pattern" >/dev
/null
2>&1; then
6308 ac_cv_prog_gcc_traditional
=yes
6315 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
6316 if test $ac_cv_prog_gcc_traditional = yes; then
6317 CC
="$CC -traditional"
6324 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6325 ac_cpp
='$CXXCPP $CPPFLAGS'
6326 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6327 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6328 cross_compiling
=$ac_cv_prog_cxx_cross
6331 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++ cl
6333 # Extract the first word of "$ac_prog", so it can be a program name with args.
6334 set dummy
$ac_prog; ac_word
=$2
6335 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6336 echo "configure:6337: checking for $ac_word" >&5
6337 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
6338 echo $ac_n "(cached) $ac_c" 1>&6
6340 if test -n "$CXX"; then
6341 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
6343 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6345 for ac_dir
in $ac_dummy; do
6346 test -z "$ac_dir" && ac_dir
=.
6347 if test -f $ac_dir/$ac_word; then
6348 ac_cv_prog_CXX
="$ac_prog"
6355 CXX
="$ac_cv_prog_CXX"
6356 if test -n "$CXX"; then
6357 echo "$ac_t""$CXX" 1>&6
6359 echo "$ac_t""no" 1>&6
6362 test -n "$CXX" && break
6364 test -n "$CXX" || CXX
="gcc"
6367 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
6368 echo "configure:6369: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
6371 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6372 ac_cpp
='$CXXCPP $CPPFLAGS'
6373 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6374 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6375 cross_compiling
=$ac_cv_prog_cxx_cross
6377 cat > conftest.
$ac_ext << EOF
6379 #line 6380 "configure"
6380 #include "confdefs.h"
6382 int main(){return(0);}
6384 if { (eval echo configure
:6385: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6385 ac_cv_prog_cxx_works
=yes
6386 # If we can't run a trivial program, we are probably using a cross compiler.
6387 if (.
/conftest
; exit) 2>/dev
/null
; then
6388 ac_cv_prog_cxx_cross
=no
6390 ac_cv_prog_cxx_cross
=yes
6393 echo "configure: failed program was:" >&5
6394 cat conftest.
$ac_ext >&5
6395 ac_cv_prog_cxx_works
=no
6399 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6400 ac_cpp
='$CXXCPP $CPPFLAGS'
6401 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6402 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6403 cross_compiling
=$ac_cv_prog_cxx_cross
6405 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
6406 if test $ac_cv_prog_cxx_works = no
; then
6407 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
6409 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
6410 echo "configure:6411: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
6411 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
6412 cross_compiling
=$ac_cv_prog_cxx_cross
6414 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
6415 echo "configure:6416: checking whether we are using GNU C++" >&5
6416 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
6417 echo $ac_n "(cached) $ac_c" 1>&6
6419 cat > conftest.C
<<EOF
6424 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:6425: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
6431 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
6433 if test $ac_cv_prog_gxx = yes; then
6439 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
6440 ac_save_CXXFLAGS
="$CXXFLAGS"
6442 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
6443 echo "configure:6444: checking whether ${CXX-g++} accepts -g" >&5
6444 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
6445 echo $ac_n "(cached) $ac_c" 1>&6
6447 echo 'void f(){}' > conftest.cc
6448 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
6449 ac_cv_prog_cxx_g
=yes
6457 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
6458 if test "$ac_test_CXXFLAGS" = set; then
6459 CXXFLAGS
="$ac_save_CXXFLAGS"
6460 elif test $ac_cv_prog_cxx_g = yes; then
6461 if test "$GXX" = yes; then
6467 if test "$GXX" = yes; then
6475 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
6476 echo "configure:6477: checking how to run the C++ preprocessor" >&5
6477 if test -z "$CXXCPP"; then
6478 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
6479 echo $ac_n "(cached) $ac_c" 1>&6
6482 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6483 ac_cpp
='$CXXCPP $CPPFLAGS'
6484 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6485 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6486 cross_compiling
=$ac_cv_prog_cxx_cross
6487 CXXCPP
="${CXX-g++} -E"
6488 cat > conftest.
$ac_ext <<EOF
6489 #line 6490 "configure"
6490 #include "confdefs.h"
6493 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6494 { (eval echo configure
:6495: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6495 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6496 if test -z "$ac_err"; then
6500 echo "configure: failed program was:" >&5
6501 cat conftest.
$ac_ext >&5
6506 ac_cv_prog_CXXCPP
="$CXXCPP"
6508 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6509 ac_cpp
='$CXXCPP $CPPFLAGS'
6510 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6511 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6512 cross_compiling
=$ac_cv_prog_cxx_cross
6515 CXXCPP
="$ac_cv_prog_CXXCPP"
6516 echo "$ac_t""$CXXCPP" 1>&6
6519 CXXFLAGS
=`echo "$CXXFLAGS" | sed 's/-g//g'`
6522 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6523 ac_cpp
='$CPP $CPPFLAGS'
6524 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6525 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6526 cross_compiling
=$ac_cv_prog_cc_cross
6529 # Extract the first word of "ranlib", so it can be a program name with args.
6530 set dummy ranlib
; ac_word
=$2
6531 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6532 echo "configure:6533: checking for $ac_word" >&5
6533 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
6534 echo $ac_n "(cached) $ac_c" 1>&6
6536 if test -n "$RANLIB"; then
6537 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6539 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6541 for ac_dir
in $ac_dummy; do
6542 test -z "$ac_dir" && ac_dir
=.
6543 if test -f $ac_dir/$ac_word; then
6544 ac_cv_prog_RANLIB
="ranlib"
6549 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
6552 RANLIB
="$ac_cv_prog_RANLIB"
6553 if test -n "$RANLIB"; then
6554 echo "$ac_t""$RANLIB" 1>&6
6556 echo "$ac_t""no" 1>&6
6560 # Extract the first word of "ar", so it can be a program name with args.
6561 set dummy
ar; ac_word
=$2
6562 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6563 echo "configure:6564: checking for $ac_word" >&5
6564 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
6565 echo $ac_n "(cached) $ac_c" 1>&6
6567 if test -n "$AR"; then
6568 ac_cv_prog_AR
="$AR" # Let the user override the test.
6570 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6572 for ac_dir
in $ac_dummy; do
6573 test -z "$ac_dir" && ac_dir
=.
6574 if test -f $ac_dir/$ac_word; then
6580 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
6584 if test -n "$AR"; then
6585 echo "$ac_t""$AR" 1>&6
6587 echo "$ac_t""no" 1>&6
6591 # Find a good install program. We prefer a C program (faster),
6592 # so one script is as good as another. But avoid the broken or
6593 # incompatible versions:
6594 # SysV /etc/install, /usr/sbin/install
6595 # SunOS /usr/etc/install
6596 # IRIX /sbin/install
6598 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6599 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6600 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6601 # ./install, which can be erroneously created by make from ./install.sh.
6602 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
6603 echo "configure:6604: checking for a BSD compatible install" >&5
6604 if test -z "$INSTALL"; then
6605 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
6606 echo $ac_n "(cached) $ac_c" 1>&6
6608 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
6609 for ac_dir
in $PATH; do
6610 # Account for people who put trailing slashes in PATH elements.
6612 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
6614 # OSF1 and SCO ODT 3.0 have their own names for install.
6615 # Don't use installbsd from OSF since it installs stuff as root
6617 for ac_prog
in ginstall scoinst
install; do
6618 if test -f $ac_dir/$ac_prog; then
6619 if test $ac_prog = install &&
6620 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
6621 # AIX install. It has an incompatible calling convention.
6624 ac_cv_path_install
="$ac_dir/$ac_prog -c"
6635 if test "${ac_cv_path_install+set}" = set; then
6636 INSTALL
="$ac_cv_path_install"
6638 # As a last resort, use the slow shell script. We don't cache a
6639 # path for INSTALL within a source directory, because that will
6640 # break other packages using the cache if that directory is
6641 # removed, or if the path is relative.
6642 INSTALL
="$ac_install_sh"
6645 echo "$ac_t""$INSTALL" 1>&6
6647 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6648 # It thinks the first close brace ends the variable substitution.
6649 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
6651 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
6653 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
6656 # Extract the first word of "strip", so it can be a program name with args.
6657 set dummy strip
; ac_word
=$2
6658 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6659 echo "configure:6660: checking for $ac_word" >&5
6660 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
6661 echo $ac_n "(cached) $ac_c" 1>&6
6663 if test -n "$STRIP"; then
6664 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6666 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6668 for ac_dir
in $ac_dummy; do
6669 test -z "$ac_dir" && ac_dir
=.
6670 if test -f $ac_dir/$ac_word; then
6671 ac_cv_prog_STRIP
="strip"
6676 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
6679 STRIP
="$ac_cv_prog_STRIP"
6680 if test -n "$STRIP"; then
6681 echo "$ac_t""$STRIP" 1>&6
6683 echo "$ac_t""no" 1>&6
6687 echo $ac_n "checking "make for VPATH support
"""... $ac_c" 1>&6
6688 echo "configure:6689: checking "make for VPATH support
"" >&5
6689 cat - << EOF > confMake
6695 if test ! -d sub
; then
6698 echo dummy
> sub
/file
6699 ${MAKE-make} -f confMake VPATH
=sub
2> config.log
> /dev
/null
6701 rm -f sub
/file check final_file confMake
6703 if test "$RESULT" = 0; then
6704 echo "$ac_t""yes" 1>&6
6706 echo "$ac_t""no" 1>&6
6707 { echo "configure: error: You need a make-utility that is able to use the variable
6709 If your version of make does not support VPATH correctly" 1>&2; exit 1; }
6712 for ac_prog
in 'bison -y' byacc
6714 # Extract the first word of "$ac_prog", so it can be a program name with args.
6715 set dummy
$ac_prog; ac_word
=$2
6716 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6717 echo "configure:6718: checking for $ac_word" >&5
6718 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
6719 echo $ac_n "(cached) $ac_c" 1>&6
6721 if test -n "$YACC"; then
6722 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
6724 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6726 for ac_dir
in $ac_dummy; do
6727 test -z "$ac_dir" && ac_dir
=.
6728 if test -f $ac_dir/$ac_word; then
6729 ac_cv_prog_YACC
="$ac_prog"
6736 YACC
="$ac_cv_prog_YACC"
6737 if test -n "$YACC"; then
6738 echo "$ac_t""$YACC" 1>&6
6740 echo "$ac_t""no" 1>&6
6743 test -n "$YACC" && break
6745 test -n "$YACC" || YACC
="yacc"
6748 # Extract the first word of "flex", so it can be a program name with args.
6749 set dummy flex
; ac_word
=$2
6750 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6751 echo "configure:6752: checking for $ac_word" >&5
6752 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
6753 echo $ac_n "(cached) $ac_c" 1>&6
6755 if test -n "$LEX"; then
6756 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
6758 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6760 for ac_dir
in $ac_dummy; do
6761 test -z "$ac_dir" && ac_dir
=.
6762 if test -f $ac_dir/$ac_word; then
6763 ac_cv_prog_LEX
="flex"
6768 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
6771 LEX
="$ac_cv_prog_LEX"
6772 if test -n "$LEX"; then
6773 echo "$ac_t""$LEX" 1>&6
6775 echo "$ac_t""no" 1>&6
6778 if test -z "$LEXLIB"
6784 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
6785 echo "configure:6786: checking for yywrap in -l$ac_lib" >&5
6786 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
6787 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6788 echo $ac_n "(cached) $ac_c" 1>&6
6790 ac_save_LIBS
="$LIBS"
6791 LIBS
="-l$ac_lib $LIBS"
6792 cat > conftest.
$ac_ext <<EOF
6793 #line 6794 "configure"
6794 #include "confdefs.h"
6795 /* Override any gcc2 internal prototype to avoid an error. */
6796 /* We use char because int might match the return type of a gcc2
6797 builtin and then its argument prototype would still apply. */
6804 if { (eval echo configure
:6805: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6806 eval "ac_cv_lib_$ac_lib_var=yes"
6808 echo "configure: failed program was:" >&5
6809 cat conftest.
$ac_ext >&5
6811 eval "ac_cv_lib_$ac_lib_var=no"
6814 LIBS
="$ac_save_LIBS"
6817 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6818 echo "$ac_t""yes" 1>&6
6821 echo "$ac_t""no" 1>&6
6827 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
6828 echo "configure:6829: checking whether ln -s works" >&5
6829 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
6830 echo $ac_n "(cached) $ac_c" 1>&6
6833 if ln -s X conftestdata
2>/dev
/null
6836 ac_cv_prog_LN_S
="ln -s"
6841 LN_S
="$ac_cv_prog_LN_S"
6842 if test "$ac_cv_prog_LN_S" = "ln -s"; then
6843 echo "$ac_t""yes" 1>&6
6845 echo "$ac_t""no" 1>&6
6851 /usr/local/include \
6853 /usr/Motif-1.2/include \
6854 /usr/Motif-2.1/include \
6856 /usr/include/Motif1.2 \
6857 /opt/xpm/include/X11 \
6858 /opt/GBxpm/include/ \
6859 /opt/GBxpm/X11/include/ \
6861 /usr/Motif1.2/include \
6863 /usr/openwin/include \
6867 /usr/X11R6/include \
6868 /usr/X11R6.4/include \
6869 /usr/X11R5/include \
6870 /usr/X11R4/include \
6872 /usr/include/X11R6 \
6873 /usr/include/X11R5 \
6874 /usr/include/X11R4 \
6876 /usr/local/X11R6/include \
6877 /usr/local/X11R5/include \
6878 /usr/local/X11R4/include \
6880 /usr/local/include/X11R6 \
6881 /usr/local/include/X11R5 \
6882 /usr/local/include/X11R4 \
6886 /usr/local/X11/include \
6887 /usr/local/include/X11 \
6891 /usr/XFree86/include/X11 \
6893 X:/XFree86/include \
6894 X:/XFree86/include/X11 \
6897 /usr/local/include/gtk \
6899 /usr/local/include/glib \
6902 /usr/local/include/qt \
6904 /usr/include/windows \
6906 /usr/local/include/wine \
6908 /usr/unsupported/include \
6909 /usr/athena/include \
6910 /usr/local/x11r5/include \
6911 /usr/lpp/Xamples/include \
6913 /usr/openwin/share/include \
6917 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
6920 cat > confcache
<<\EOF
6921 # This file is a shell script that caches the results of configure
6922 # tests run on this system so they can be shared between configure
6923 # scripts and configure runs. It is not useful on other systems.
6924 # If it contains results you don't want to keep, you may remove or edit it.
6926 # By default, configure uses ./config.cache as the cache file,
6927 # creating it if it does not exist already. You can give configure
6928 # the --cache-file=FILE option to use a different cache file; that is
6929 # what configure does when it calls configure scripts in
6930 # subdirectories, so they share the cache.
6931 # Giving --cache-file=/dev/null disables caching, for debugging configure.
6932 # config.status only pays attention to the cache file if you give it the
6933 # --recheck option to rerun configure.
6936 # The following way of writing the cache mishandles newlines in values,
6937 # but we know of no workaround that is simple, portable, and efficient.
6938 # So, don't put newlines in cache variables' values.
6939 # Ultrix sh set writes to stderr and can't be redirected directly,
6940 # and sets the high bit in the cache file unless we assign to the vars.
6942 case `(ac_space=' '; set | grep ac_space) 2>&1` in
6944 # `set' does not quote correctly, so add quotes (double-quote substitution
6945 # turns \\\\ into \\, and sed turns \\ into \).
6947 -e "s/'/'\\\\''/g" \
6948 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
6951 # `set' quotes correctly as required by POSIX, so do not add quotes.
6952 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
6955 if cmp -s $cache_file confcache
; then
6958 if test -w $cache_file; then
6959 echo "updating cache $cache_file"
6960 cat confcache
> $cache_file
6962 echo "not updating unwritable cache $cache_file"
6971 if test "$wxUSE_GUI" = "yes"; then
6990 if test "$wxUSE_CYGWIN" = 1 || test "$wxUSE_MINGW" = 1 ; then
6991 if test "$cross_compiling" = "yes" ; then
6992 echo "configure: warning: Cross compiling --- skipping windows.h check" 1>&2
6994 echo $ac_n "checking for Windows headers""... $ac_c" 1>&6
6995 echo "configure:6996: checking for Windows headers" >&5
6998 for ac_dir
in $SEARCH_INCLUDE;
7000 if test -f "$ac_dir/windows.h"; then
7001 ac_find_includes
=$ac_dir
7006 if test "$ac_find_includes" != "" ; then
7007 echo "$ac_t""found $ac_find_includes" 1>&6
7008 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE -I$ac_find_includes"
7010 echo "$ac_t""no" 1>&6
7011 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
7015 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS msw"
7016 LIBS
="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -lcrtdll -ladvapi32 -lwsock32"
7018 if test "$wxUSE_MINGW" = 1; then
7019 LDFLAGS
="$LDFLAGS -mwindows"
7024 GUIOBJS
="\$(MSW_GUIOBJS)"
7025 GUIHEADERS
="\$(MSW_HEADERS)"
7026 COMMONOBJS
="\$(MSW_COMMONOBJS)"
7027 GENERICOBJS
="\$(MSW_GENERICOBJS)"
7032 if test "$wxUSE_GTK" = 1; then
7034 if test x
$gtk_config_exec_prefix != x
; then
7035 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
7036 if test x
${GTK_CONFIG+set} != xset
; then
7037 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
7040 if test x
$gtk_config_prefix != x
; then
7041 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
7042 if test x
${GTK_CONFIG+set} != xset
; then
7043 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
7047 # Extract the first word of "gtk-config", so it can be a program name with args.
7048 set dummy gtk
-config; ac_word
=$2
7049 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7050 echo "configure:7051: checking for $ac_word" >&5
7051 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
7052 echo $ac_n "(cached) $ac_c" 1>&6
7054 case "$GTK_CONFIG" in
7056 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
7059 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
7062 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7064 for ac_dir
in $ac_dummy; do
7065 test -z "$ac_dir" && ac_dir
=.
7066 if test -f $ac_dir/$ac_word; then
7067 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
7072 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
7076 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
7077 if test -n "$GTK_CONFIG"; then
7078 echo "$ac_t""$GTK_CONFIG" 1>&6
7080 echo "$ac_t""no" 1>&6
7083 min_gtk_version
=1.2.3
7084 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
7085 echo "configure:7086: checking for GTK - version >= $min_gtk_version" >&5
7087 if test "$GTK_CONFIG" != "no" ; then
7088 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
7089 GTK_LIBS
=`$GTK_CONFIG --libs gthread`
7090 ac_save_CFLAGS
="$CFLAGS"
7091 ac_save_LIBS
="$LIBS"
7092 CFLAGS
="$CFLAGS $GTK_CFLAGS"
7093 LIBS
="$LIBS $GTK_LIBS"
7094 if test "$cross_compiling" = yes; then
7095 echo $ac_n "cross compiling; assumed OK... $ac_c"
7097 cat > conftest.
$ac_ext <<EOF
7098 #line 7099 "configure"
7099 #include "confdefs.h"
7101 #include <gtk/gtk.h>
7102 #include <gtk/gtkfeatures.h>
7108 int major, minor, micro;
7110 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
7111 printf("%s, bad version string\n", "$min_gtk_version");
7115 if ((GTK_MAJOR_VERSION != gtk_major_version) ||
7116 (GTK_MINOR_VERSION != gtk_minor_version) ||
7117 (GTK_MICRO_VERSION != gtk_micro_version)) {
7118 printf("Headers vs. library version mismatch!\n");
7122 if (gtk_minor_version == 1) return FALSE;
7124 return !((gtk_major_version > major) ||
7125 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
7126 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
7130 if { (eval echo configure
:7131: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
7134 echo "configure: failed program was:" >&5
7135 cat conftest.
$ac_ext >&5
7142 CFLAGS
="$ac_save_CFLAGS"
7143 LIBS
="$ac_save_LIBS"
7147 if test "x$no_gtk" = x
; then
7148 echo "$ac_t""yes" 1>&6
7151 echo "$ac_t""no" 1>&6
7160 if test "$WXGTK12" != 1; then
7161 { echo "configure: error:
7162 Please check that gtk-config is in path, the directory
7163 where GTK+ libraries are installed (returned by
7164 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
7165 equivalent variable and GTK+ is version 1.2.3 or above.
7170 TOOLKIT_INCLUDE
="$GTK_CFLAGS"
7173 GUI_TK_LIBRARY
="$GTK_LIBS"
7177 AFMINSTALL
=afminstall
7179 GUIOBJS
="\$(GTK_GUIOBJS)"
7180 GUIHEADERS
="\$(GTK_HEADERS)"
7181 COMMONOBJS
="\$(GTK_COMMONOBJS)"
7182 GENERICOBJS
="\$(GTK_GENERICOBJS)"
7183 GUIDEPS
="\$(GTK_GUIDEPS)"
7184 COMMONDEPS
="\$(GTK_COMMONDEPS)"
7185 GENERICDEPS
="\$(GTK_GENERICDEPS)"
7186 UNIXOBJS
="\$(UNIX_OBJS)"
7187 UNIXDEPS
="\$(UNIX_DEPS)"
7190 echo $ac_n "checking for gdk_im_open in -lgdk""... $ac_c" 1>&6
7191 echo "configure:7192: checking for gdk_im_open in -lgdk" >&5
7192 ac_lib_var
=`echo gdk'_'gdk_im_open | sed 'y%./+-%__p_%'`
7193 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7194 echo $ac_n "(cached) $ac_c" 1>&6
7196 ac_save_LIBS
="$LIBS"
7198 cat > conftest.
$ac_ext <<EOF
7199 #line 7200 "configure"
7200 #include "confdefs.h"
7201 /* Override any gcc2 internal prototype to avoid an error. */
7202 /* We use char because int might match the return type of a gcc2
7203 builtin and then its argument prototype would still apply. */
7210 if { (eval echo configure
:7211: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7212 eval "ac_cv_lib_$ac_lib_var=yes"
7214 echo "configure: failed program was:" >&5
7215 cat conftest.
$ac_ext >&5
7217 eval "ac_cv_lib_$ac_lib_var=no"
7220 LIBS
="$ac_save_LIBS"
7223 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7224 echo "$ac_t""yes" 1>&6
7225 cat >> confdefs.h
<<\EOF
7230 echo "$ac_t""no" 1>&6
7235 if test "$wxUSE_WINE" = 1; then
7236 echo $ac_n "checking for WINE includes""... $ac_c" 1>&6
7237 echo "configure:7238: checking for WINE includes" >&5
7240 for ac_dir
in $SEARCH_INCLUDE;
7242 if test -f "$ac_dir/windows.h"; then
7243 ac_find_includes
=$ac_dir
7248 if test "$ac_find_includes" != "" ; then
7249 echo "$ac_t""found $ac_find_includes" 1>&6
7250 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE -I$ac_find_includes"
7252 echo "$ac_t""no" 1>&6
7253 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
7257 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
7258 echo "configure:7259: checking for Xpm library" >&5
7261 for ac_dir
in $SEARCH_LIB;
7263 for ac_extension
in a so sl
; do
7264 if test -f "$ac_dir/libXpm.$ac_extension"; then
7265 ac_find_libraries
=$ac_dir
7271 if test "$ac_find_libraries" != "" ; then
7272 GUI_TK_LIBRARY
="-L$ac_find_libraries"
7274 cat >> confdefs.h
<<\EOF
7275 #define wxHAVE_LIB_XPM 1
7278 echo "$ac_t""found at $ac_find_libraries" 1>&6
7280 echo "$ac_t""no" 1>&6
7281 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
7285 echo $ac_n "checking for Mesa library""... $ac_c" 1>&6
7286 echo "configure:7287: checking for Mesa library" >&5
7289 for ac_dir
in $SEARCH_LIB;
7291 for ac_extension
in a so sl
; do
7292 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
7293 ac_find_libraries
=$ac_dir
7299 if test "$ac_find_libraries" != "" ; then
7300 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -L$ac_find_libraries"
7301 MESA_LINK
="-lMesaGL"
7302 echo "$ac_t""found at $ac_find_libraries" 1>&6
7304 { echo "configure: error: no" 1>&2; exit 1; }
7307 GUI_TK_LINK
="-lwine $MESA_LINK $XPM_LINK -lXxf86dga -lXxf86vm -lSM -lICE -lXext -lXmu -lX11 -lncurses -lm"
7308 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GUI_TK_LINK"
7312 GUIHEADERS
="\$(MSW_HEADERS)"
7313 GUIOBJS
="\$(MSW_GUIOBJS)"
7314 COMMONOBJS
="\$(MSW_COMMONOBJS)"
7315 GENERICOBJS
="\$(MSW_GENERICOBJS)"
7316 GUIDEPS
="\$(MSW_GUIDEPS)"
7317 COMMONDEPS
="\$(MSW_COMMONDEPS)"
7318 GENERICDEPS
="\$(MSW_GENERICDEPS)"
7319 UNIXOBJS
="\$(UNIX_OBJS)"
7320 UNIXDEPS
="\$(UNIX_DEPS)"
7324 if test "$wxUSE_MOTIF" = 1; then
7325 # If we find X, set shell vars x_includes and x_libraries to the
7326 # paths, otherwise set no_x=yes.
7327 # Uses ac_ vars as temps to allow command line to override cache and checks.
7328 # --without-x overrides everything else, but does not touch the cache.
7329 echo $ac_n "checking for X""... $ac_c" 1>&6
7330 echo "configure:7331: checking for X" >&5
7332 # Check whether --with-x or --without-x was given.
7333 if test "${with_x+set}" = set; then
7338 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
7339 if test "x$with_x" = xno
; then
7340 # The user explicitly disabled X.
7343 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
7344 # Both variables are already set.
7347 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
7348 echo $ac_n "(cached) $ac_c" 1>&6
7350 # One or both of the vars are not set, and there is no cached value.
7351 ac_x_includes
=NO ac_x_libraries
=NO
7353 if mkdir conftestdir
; then
7355 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
7356 cat > Imakefile
<<'EOF'
7358 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
7360 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
7361 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
7362 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
7363 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
7364 for ac_extension
in a so sl
; do
7365 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
7366 test -f $ac_im_libdir/libX11.
$ac_extension; then
7367 ac_im_usrlibdir
=$ac_im_libdir; break
7370 # Screen out bogus values from the imake configuration. They are
7371 # bogus both because they are the default anyway, and because
7372 # using them would break gcc on systems where it needs fixed includes.
7373 case "$ac_im_incroot" in
7375 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;;
7377 case "$ac_im_usrlibdir" in
7379 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;;
7386 if test "$ac_x_includes" = NO
; then
7387 # Guess where to find include files, by looking for this one X11 .h file.
7388 test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
7390 # First, try using that file with no special directory specified.
7391 cat > conftest.
$ac_ext <<EOF
7392 #line 7393 "configure"
7393 #include "confdefs.h"
7394 #include <$x_direct_test_include>
7396 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7397 { (eval echo configure
:7398: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7398 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7399 if test -z "$ac_err"; then
7401 # We can compile using X headers with no special include directory.
7405 echo "configure: failed program was:" >&5
7406 cat conftest.
$ac_ext >&5
7408 # Look for the header file in a standard set of common directories.
7409 # Check X11 before X11Rn because it is often a symlink to the current release.
7412 /usr
/X
11R
6/include \
7413 /usr
/X
11R
5/include \
7414 /usr
/X
11R
4/include \
7417 /usr
/include
/X11R6 \
7418 /usr
/include
/X11R5 \
7419 /usr
/include
/X11R4 \
7421 /usr
/local
/X
11/include \
7422 /usr
/local
/X
11R
6/include \
7423 /usr
/local
/X
11R
5/include \
7424 /usr
/local
/X
11R
4/include \
7426 /usr
/local
/include
/X11 \
7427 /usr
/local
/include
/X11R6 \
7428 /usr
/local
/include
/X11R5 \
7429 /usr
/local
/include
/X11R4 \
7433 /usr
/XFree
86/include
/X11 \
7436 /usr
/local
/include \
7437 /usr
/unsupported
/include \
7438 /usr
/athena
/include \
7439 /usr
/local
/x
11r
5/include \
7440 /usr
/lpp
/Xamples
/include \
7442 /usr
/openwin
/include \
7443 /usr
/openwin
/share
/include \
7446 if test -r "$ac_dir/$x_direct_test_include"; then
7447 ac_x_includes
=$ac_dir
7453 fi # $ac_x_includes = NO
7455 if test "$ac_x_libraries" = NO
; then
7456 # Check for the libraries.
7458 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
7459 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
7461 # See if we find them without any special options.
7462 # Don't add to $LIBS permanently.
7463 ac_save_LIBS
="$LIBS"
7464 LIBS
="-l$x_direct_test_library $LIBS"
7465 cat > conftest.
$ac_ext <<EOF
7466 #line 7467 "configure"
7467 #include "confdefs.h"
7470 ${x_direct_test_function}()
7473 if { (eval echo configure
:7474: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7475 LIBS
="$ac_save_LIBS"
7476 # We can link X programs with no special library path.
7479 echo "configure: failed program was:" >&5
7480 cat conftest.
$ac_ext >&5
7482 LIBS
="$ac_save_LIBS"
7483 # First see if replacing the include by lib works.
7484 # Check X11 before X11Rn because it is often a symlink to the current release.
7485 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib/` \
7496 /usr
/local
/X
11/lib \
7497 /usr
/local
/X
11R
6/lib \
7498 /usr
/local
/X
11R
5/lib \
7499 /usr
/local
/X
11R
4/lib \
7501 /usr
/local
/lib
/X11 \
7502 /usr
/local
/lib
/X11R6 \
7503 /usr
/local
/lib
/X11R5 \
7504 /usr
/local
/lib
/X11R4 \
7508 /usr
/XFree
86/lib
/X11 \
7512 /usr
/unsupported
/lib \
7514 /usr
/local
/x
11r
5/lib \
7515 /usr
/lpp
/Xamples
/lib \
7519 /usr
/openwin
/share
/lib \
7522 for ac_extension
in a so sl
; do
7523 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
7524 ac_x_libraries
=$ac_dir
7531 fi # $ac_x_libraries = NO
7533 if test "$ac_x_includes" = NO
|| test "$ac_x_libraries" = NO
; then
7534 # Didn't find X anywhere. Cache the known absence of X.
7535 ac_cv_have_x
="have_x=no"
7537 # Record where we found X for the cache.
7538 ac_cv_have_x
="have_x=yes \
7539 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
7543 eval "$ac_cv_have_x"
7546 if test "$have_x" != yes; then
7547 echo "$ac_t""$have_x" 1>&6
7550 # If each of the values was on the command line, it overrides each guess.
7551 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
7552 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
7553 # Update the cache value to reflect the command line values.
7554 ac_cv_have_x
="have_x=yes \
7555 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
7556 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
7559 if test "$no_x" = yes; then
7560 # Not all programs may use this symbol, but it does not hurt to define it.
7561 cat >> confdefs.h
<<\EOF
7562 #define X_DISPLAY_MISSING 1
7565 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
7567 if test -n "$x_includes"; then
7568 X_CFLAGS
="$X_CFLAGS -I$x_includes"
7571 # It would also be nice to do this for all -L options, not just this one.
7572 if test -n "$x_libraries"; then
7573 X_LIBS
="$X_LIBS -L$x_libraries"
7574 # For Solaris; some versions of Sun CC require a space after -R and
7575 # others require no space. Words are not sufficient . . . .
7576 case "`(uname -sr) 2>/dev/null`" in
7578 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
7579 echo "configure:7580: checking whether -R must be followed by a space" >&5
7580 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
7581 cat > conftest.
$ac_ext <<EOF
7582 #line 7583 "configure"
7583 #include "confdefs.h"
7589 if { (eval echo configure
:7590: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7593 echo "configure: failed program was:" >&5
7594 cat conftest.
$ac_ext >&5
7599 if test $ac_R_nospace = yes; then
7600 echo "$ac_t""no" 1>&6
7601 X_LIBS
="$X_LIBS -R$x_libraries"
7603 LIBS
="$ac_xsave_LIBS -R $x_libraries"
7604 cat > conftest.
$ac_ext <<EOF
7605 #line 7606 "configure"
7606 #include "confdefs.h"
7612 if { (eval echo configure
:7613: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7616 echo "configure: failed program was:" >&5
7617 cat conftest.
$ac_ext >&5
7622 if test $ac_R_space = yes; then
7623 echo "$ac_t""yes" 1>&6
7624 X_LIBS
="$X_LIBS -R $x_libraries"
7626 echo "$ac_t""neither works" 1>&6
7629 LIBS
="$ac_xsave_LIBS"
7633 # Check for system-dependent libraries X programs must link with.
7634 # Do this before checking for the system-independent R6 libraries
7635 # (-lICE), since we may need -lsocket or whatever for X linking.
7637 if test "$ISC" = yes; then
7638 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
7640 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
7641 # libraries were built with DECnet support. And karl@cs.umb.edu says
7642 # the Alpha needs dnet_stub (dnet does not exist).
7643 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
7644 echo "configure:7645: checking for dnet_ntoa in -ldnet" >&5
7645 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
7646 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7647 echo $ac_n "(cached) $ac_c" 1>&6
7649 ac_save_LIBS
="$LIBS"
7651 cat > conftest.
$ac_ext <<EOF
7652 #line 7653 "configure"
7653 #include "confdefs.h"
7654 /* Override any gcc2 internal prototype to avoid an error. */
7655 /* We use char because int might match the return type of a gcc2
7656 builtin and then its argument prototype would still apply. */
7663 if { (eval echo configure
:7664: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7665 eval "ac_cv_lib_$ac_lib_var=yes"
7667 echo "configure: failed program was:" >&5
7668 cat conftest.
$ac_ext >&5
7670 eval "ac_cv_lib_$ac_lib_var=no"
7673 LIBS
="$ac_save_LIBS"
7676 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7677 echo "$ac_t""yes" 1>&6
7678 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
7680 echo "$ac_t""no" 1>&6
7683 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
7684 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
7685 echo "configure:7686: checking for dnet_ntoa in -ldnet_stub" >&5
7686 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
7687 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7688 echo $ac_n "(cached) $ac_c" 1>&6
7690 ac_save_LIBS
="$LIBS"
7691 LIBS
="-ldnet_stub $LIBS"
7692 cat > conftest.
$ac_ext <<EOF
7693 #line 7694 "configure"
7694 #include "confdefs.h"
7695 /* Override any gcc2 internal prototype to avoid an error. */
7696 /* We use char because int might match the return type of a gcc2
7697 builtin and then its argument prototype would still apply. */
7704 if { (eval echo configure
:7705: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7706 eval "ac_cv_lib_$ac_lib_var=yes"
7708 echo "configure: failed program was:" >&5
7709 cat conftest.
$ac_ext >&5
7711 eval "ac_cv_lib_$ac_lib_var=no"
7714 LIBS
="$ac_save_LIBS"
7717 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7718 echo "$ac_t""yes" 1>&6
7719 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
7721 echo "$ac_t""no" 1>&6
7726 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
7727 # to get the SysV transport functions.
7728 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
7730 # The nsl library prevents programs from opening the X display
7731 # on Irix 5.2, according to dickey@clark.net.
7732 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
7733 echo "configure:7734: checking for gethostbyname" >&5
7734 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
7735 echo $ac_n "(cached) $ac_c" 1>&6
7737 cat > conftest.
$ac_ext <<EOF
7738 #line 7739 "configure"
7739 #include "confdefs.h"
7740 /* System header to define __stub macros and hopefully few prototypes,
7741 which can conflict with char gethostbyname(); below. */
7743 /* Override any gcc2 internal prototype to avoid an error. */
7744 /* We use char because int might match the return type of a gcc2
7745 builtin and then its argument prototype would still apply. */
7746 char gethostbyname();
7750 /* The GNU C library defines this for functions which it implements
7751 to always fail with ENOSYS. Some functions are actually named
7752 something starting with __ and the normal name is an alias. */
7753 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
7761 if { (eval echo configure
:7762: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7763 eval "ac_cv_func_gethostbyname=yes"
7765 echo "configure: failed program was:" >&5
7766 cat conftest.
$ac_ext >&5
7768 eval "ac_cv_func_gethostbyname=no"
7773 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
7774 echo "$ac_t""yes" 1>&6
7777 echo "$ac_t""no" 1>&6
7780 if test $ac_cv_func_gethostbyname = no
; then
7781 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
7782 echo "configure:7783: checking for gethostbyname in -lnsl" >&5
7783 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
7784 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7785 echo $ac_n "(cached) $ac_c" 1>&6
7787 ac_save_LIBS
="$LIBS"
7789 cat > conftest.
$ac_ext <<EOF
7790 #line 7791 "configure"
7791 #include "confdefs.h"
7792 /* Override any gcc2 internal prototype to avoid an error. */
7793 /* We use char because int might match the return type of a gcc2
7794 builtin and then its argument prototype would still apply. */
7795 char gethostbyname();
7801 if { (eval echo configure
:7802: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7803 eval "ac_cv_lib_$ac_lib_var=yes"
7805 echo "configure: failed program was:" >&5
7806 cat conftest.
$ac_ext >&5
7808 eval "ac_cv_lib_$ac_lib_var=no"
7811 LIBS
="$ac_save_LIBS"
7814 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7815 echo "$ac_t""yes" 1>&6
7816 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
7818 echo "$ac_t""no" 1>&6
7823 # lieder@skyler.mavd.honeywell.com says without -lsocket,
7824 # socket/setsockopt and other routines are undefined under SCO ODT
7825 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
7826 # on later versions), says simon@lia.di.epfl.ch: it contains
7827 # gethostby* variants that don't use the nameserver (or something).
7828 # -lsocket must be given before -lnsl if both are needed.
7829 # We assume that if connect needs -lnsl, so does gethostbyname.
7830 echo $ac_n "checking for connect""... $ac_c" 1>&6
7831 echo "configure:7832: checking for connect" >&5
7832 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
7833 echo $ac_n "(cached) $ac_c" 1>&6
7835 cat > conftest.
$ac_ext <<EOF
7836 #line 7837 "configure"
7837 #include "confdefs.h"
7838 /* System header to define __stub macros and hopefully few prototypes,
7839 which can conflict with char connect(); below. */
7841 /* Override any gcc2 internal prototype to avoid an error. */
7842 /* We use char because int might match the return type of a gcc2
7843 builtin and then its argument prototype would still apply. */
7848 /* The GNU C library defines this for functions which it implements
7849 to always fail with ENOSYS. Some functions are actually named
7850 something starting with __ and the normal name is an alias. */
7851 #if defined (__stub_connect) || defined (__stub___connect)
7859 if { (eval echo configure
:7860: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7861 eval "ac_cv_func_connect=yes"
7863 echo "configure: failed program was:" >&5
7864 cat conftest.
$ac_ext >&5
7866 eval "ac_cv_func_connect=no"
7871 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
7872 echo "$ac_t""yes" 1>&6
7875 echo "$ac_t""no" 1>&6
7878 if test $ac_cv_func_connect = no
; then
7879 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
7880 echo "configure:7881: checking for connect in -lsocket" >&5
7881 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
7882 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7883 echo $ac_n "(cached) $ac_c" 1>&6
7885 ac_save_LIBS
="$LIBS"
7886 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
7887 cat > conftest.
$ac_ext <<EOF
7888 #line 7889 "configure"
7889 #include "confdefs.h"
7890 /* Override any gcc2 internal prototype to avoid an error. */
7891 /* We use char because int might match the return type of a gcc2
7892 builtin and then its argument prototype would still apply. */
7899 if { (eval echo configure
:7900: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7901 eval "ac_cv_lib_$ac_lib_var=yes"
7903 echo "configure: failed program was:" >&5
7904 cat conftest.
$ac_ext >&5
7906 eval "ac_cv_lib_$ac_lib_var=no"
7909 LIBS
="$ac_save_LIBS"
7912 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7913 echo "$ac_t""yes" 1>&6
7914 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
7916 echo "$ac_t""no" 1>&6
7921 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
7922 echo $ac_n "checking for remove""... $ac_c" 1>&6
7923 echo "configure:7924: checking for remove" >&5
7924 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
7925 echo $ac_n "(cached) $ac_c" 1>&6
7927 cat > conftest.
$ac_ext <<EOF
7928 #line 7929 "configure"
7929 #include "confdefs.h"
7930 /* System header to define __stub macros and hopefully few prototypes,
7931 which can conflict with char remove(); below. */
7933 /* Override any gcc2 internal prototype to avoid an error. */
7934 /* We use char because int might match the return type of a gcc2
7935 builtin and then its argument prototype would still apply. */
7940 /* The GNU C library defines this for functions which it implements
7941 to always fail with ENOSYS. Some functions are actually named
7942 something starting with __ and the normal name is an alias. */
7943 #if defined (__stub_remove) || defined (__stub___remove)
7951 if { (eval echo configure
:7952: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7953 eval "ac_cv_func_remove=yes"
7955 echo "configure: failed program was:" >&5
7956 cat conftest.
$ac_ext >&5
7958 eval "ac_cv_func_remove=no"
7963 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
7964 echo "$ac_t""yes" 1>&6
7967 echo "$ac_t""no" 1>&6
7970 if test $ac_cv_func_remove = no
; then
7971 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
7972 echo "configure:7973: checking for remove in -lposix" >&5
7973 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
7974 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7975 echo $ac_n "(cached) $ac_c" 1>&6
7977 ac_save_LIBS
="$LIBS"
7978 LIBS
="-lposix $LIBS"
7979 cat > conftest.
$ac_ext <<EOF
7980 #line 7981 "configure"
7981 #include "confdefs.h"
7982 /* Override any gcc2 internal prototype to avoid an error. */
7983 /* We use char because int might match the return type of a gcc2
7984 builtin and then its argument prototype would still apply. */
7991 if { (eval echo configure
:7992: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7993 eval "ac_cv_lib_$ac_lib_var=yes"
7995 echo "configure: failed program was:" >&5
7996 cat conftest.
$ac_ext >&5
7998 eval "ac_cv_lib_$ac_lib_var=no"
8001 LIBS
="$ac_save_LIBS"
8004 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8005 echo "$ac_t""yes" 1>&6
8006 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
8008 echo "$ac_t""no" 1>&6
8013 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
8014 echo $ac_n "checking for shmat""... $ac_c" 1>&6
8015 echo "configure:8016: checking for shmat" >&5
8016 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
8017 echo $ac_n "(cached) $ac_c" 1>&6
8019 cat > conftest.
$ac_ext <<EOF
8020 #line 8021 "configure"
8021 #include "confdefs.h"
8022 /* System header to define __stub macros and hopefully few prototypes,
8023 which can conflict with char shmat(); below. */
8025 /* Override any gcc2 internal prototype to avoid an error. */
8026 /* We use char because int might match the return type of a gcc2
8027 builtin and then its argument prototype would still apply. */
8032 /* The GNU C library defines this for functions which it implements
8033 to always fail with ENOSYS. Some functions are actually named
8034 something starting with __ and the normal name is an alias. */
8035 #if defined (__stub_shmat) || defined (__stub___shmat)
8043 if { (eval echo configure
:8044: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8045 eval "ac_cv_func_shmat=yes"
8047 echo "configure: failed program was:" >&5
8048 cat conftest.
$ac_ext >&5
8050 eval "ac_cv_func_shmat=no"
8055 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
8056 echo "$ac_t""yes" 1>&6
8059 echo "$ac_t""no" 1>&6
8062 if test $ac_cv_func_shmat = no
; then
8063 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
8064 echo "configure:8065: checking for shmat in -lipc" >&5
8065 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
8066 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8067 echo $ac_n "(cached) $ac_c" 1>&6
8069 ac_save_LIBS
="$LIBS"
8071 cat > conftest.
$ac_ext <<EOF
8072 #line 8073 "configure"
8073 #include "confdefs.h"
8074 /* Override any gcc2 internal prototype to avoid an error. */
8075 /* We use char because int might match the return type of a gcc2
8076 builtin and then its argument prototype would still apply. */
8083 if { (eval echo configure
:8084: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8085 eval "ac_cv_lib_$ac_lib_var=yes"
8087 echo "configure: failed program was:" >&5
8088 cat conftest.
$ac_ext >&5
8090 eval "ac_cv_lib_$ac_lib_var=no"
8093 LIBS
="$ac_save_LIBS"
8096 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8097 echo "$ac_t""yes" 1>&6
8098 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
8100 echo "$ac_t""no" 1>&6
8106 # Check for libraries that X11R6 Xt/Xaw programs need.
8107 ac_save_LDFLAGS
="$LDFLAGS"
8108 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
8109 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
8110 # check for ICE first), but we must link in the order -lSM -lICE or
8111 # we get undefined symbols. So assume we have SM if we have ICE.
8112 # These have to be linked with before -lX11, unlike the other
8113 # libraries we check for below, so use a different variable.
8114 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
8115 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
8116 echo "configure:8117: checking for IceConnectionNumber in -lICE" >&5
8117 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
8118 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8119 echo $ac_n "(cached) $ac_c" 1>&6
8121 ac_save_LIBS
="$LIBS"
8122 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
8123 cat > conftest.
$ac_ext <<EOF
8124 #line 8125 "configure"
8125 #include "confdefs.h"
8126 /* Override any gcc2 internal prototype to avoid an error. */
8127 /* We use char because int might match the return type of a gcc2
8128 builtin and then its argument prototype would still apply. */
8129 char IceConnectionNumber();
8132 IceConnectionNumber()
8135 if { (eval echo configure
:8136: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8137 eval "ac_cv_lib_$ac_lib_var=yes"
8139 echo "configure: failed program was:" >&5
8140 cat conftest.
$ac_ext >&5
8142 eval "ac_cv_lib_$ac_lib_var=no"
8145 LIBS
="$ac_save_LIBS"
8148 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8149 echo "$ac_t""yes" 1>&6
8150 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
8152 echo "$ac_t""no" 1>&6
8155 LDFLAGS
="$ac_save_LDFLAGS"
8160 if test "$no_x" = "yes"; then
8161 { echo "configure: error: X11 not found" 1>&2; exit 1; }
8164 GUI_TK_LIBRARY
="$X_LIBS"
8165 TOOLKIT_INCLUDE
="$X_CFLAGS"
8167 AFMINSTALL
=afminstall
8170 COMPILED_X_PROGRAM
=0
8172 echo $ac_n "checking for Motif/Lesstif headers""... $ac_c" 1>&6
8173 echo "configure:8174: checking for Motif/Lesstif headers" >&5
8176 for ac_dir
in $SEARCH_INCLUDE;
8178 if test -f "$ac_dir/Xm/Xm.h"; then
8179 ac_find_includes
=$ac_dir
8184 if test "$ac_find_includes" != "" ; then
8185 echo "$ac_t""found $ac_find_includes" 1>&6
8187 cat > conftest.
$ac_ext <<EOF
8188 #line 8189 "configure"
8189 #include "confdefs.h"
8197 version = xmUseVersion;
8201 if { (eval echo configure
:8202: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8204 echo "$ac_t""found in default search path" 1>&6
8205 COMPILED_X_PROGRAM
=1
8208 echo "configure: failed program was:" >&5
8209 cat conftest.
$ac_ext >&5
8212 echo "$ac_t""no" 1>&6
8213 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
8220 if test "$COMPILED_X_PROGRAM" = 0; then
8221 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
8222 echo "configure:8223: checking for Motif/Lesstif library" >&5
8225 for ac_dir
in $SEARCH_LIB;
8227 for ac_extension
in a so sl
; do
8228 if test -f "$ac_dir/libXm.$ac_extension"; then
8229 ac_find_libraries
=$ac_dir
8235 if test "$ac_find_libraries" != "" ; then
8237 ac_path_to_include
=$ac_find_includes
8238 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
8240 if test $result = 0; then
8241 ac_path_to_include
=""
8243 ac_path_to_include
="-I$ac_find_includes"
8247 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
8249 if test $result = 0; then
8252 ac_path_to_link
="-L$ac_find_libraries"
8256 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
8257 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE $ac_path_to_include"
8258 echo "$ac_t""found at $ac_find_libraries" 1>&6
8260 cat > conftest.
$ac_ext <<EOF
8261 #line 8262 "configure"
8262 #include "confdefs.h"
8270 version = xmUseVersion;
8274 if { (eval echo configure
:8275: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8277 echo "$ac_t""found in default search path" 1>&6
8278 COMPILED_X_PROGRAM
=1
8281 echo "configure: failed program was:" >&5
8282 cat conftest.
$ac_ext >&5
8285 echo "$ac_t""no" 1>&6
8286 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
8296 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
8297 echo "configure:8298: checking for Xpm library" >&5
8300 for ac_dir
in $SEARCH_LIB;
8302 for ac_extension
in a so sl
; do
8303 if test -f "$ac_dir/libXpm.$ac_extension"; then
8304 ac_find_libraries
=$ac_dir
8310 if test "$ac_find_libraries" != "" ; then
8312 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
8314 if test $result = 0; then
8317 ac_path_to_link
="-L$ac_find_libraries"
8320 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
8322 cat >> confdefs.h
<<\EOF
8323 #define wxHAVE_LIB_XPM 1
8326 echo "$ac_t""found at $ac_find_libraries" 1>&6
8328 cat > conftest.
$ac_ext <<EOF
8329 #line 8330 "configure"
8330 #include "confdefs.h"
8332 #include <X11/xpm.h>
8338 version = XpmLibraryVersion();
8342 if { (eval echo configure
:8343: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8346 cat >> confdefs.h
<<\EOF
8347 #define wxHAVE_LIB_XPM 1
8350 echo "$ac_t""found in default search path" 1>&6
8351 COMPILED_X_PROGRAM
=0
8354 echo "configure: failed program was:" >&5
8355 cat conftest.
$ac_ext >&5
8358 echo "$ac_t""no" 1>&6
8359 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
8366 GUI_TK_LINK
="-lXm $XPM_LINK -lXmu -lXext -lXt -lX11 -lm"
8367 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GUI_TK_LINK"
8370 GUIHEADERS
="\$(MOTIF_HEADERS)"
8371 GUIOBJS
="\$(MOTIF_GUIOBJS)"
8372 COMMONOBJS
="\$(MOTIF_COMMONOBJS)"
8373 GENERICOBJS
="\$(MOTIF_GENERICOBJS)"
8374 GUIDEPS
="\$(MOTIF_GUIDEPS)"
8375 COMMONDEPS
="\$(MOTIF_COMMONDEPS)"
8376 GENERICDEPS
="\$(MOTIF_GENERICDEPS)"
8377 UNIXOBJS
="\$(UNIX_OBJS)"
8378 UNIXDEPS
="\$(UNIX_DEPS)"
8382 if test "$wxUSE_PM" = 1; then
8385 GUIOBJS
="\$(PM_GUIOBJS)"
8386 GUIHEADERS
="\$(PM_HEADERS)"
8387 COMMONOBJS
="\$(PM_COMMONOBJS)"
8388 GENERICOBJS
="\$(PM_GENERICOBJS)"
8389 GUIDEPS
="\$(PM_GUIDEPS)"
8390 COMMONDEPS
="\$(PM_COMMONDEPS)"
8391 GENERICDEPS
="\$(PM_GENERICDEPS)"
8397 if test "$TOOLKIT" != "PM" ; then
8398 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
8403 TOOLKIT_DEF
="-D__WX${TOOLKIT}__"
8405 WX_LIBRARY
="wx_${TOOLKIT_DIR}"
8407 ALL_OBJECTS
="\$(GUIOBJS) \$(COMMONOBJS) \$(GENERICOBJS) \$(UNIXOBJS) \$(HTMLOBJS) \$(OGLOBJS)"
8409 if test "$TOOLKIT" != "MSW"; then
8410 if test "$wxUSE_ODBC" = "yes" ; then
8411 ALL_OBJECTS
="${ALL_OBJECTS} \$(IODBCOBJS)"
8415 if test "$wxUSE_LIBJPEG" = "yes" ; then
8416 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
8418 if test "$wxUSE_LIBTIFF" = "yes" ; then
8419 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
8421 if test "$wxUSE_LIBPNG" = "yes" ; then
8422 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
8424 if test "$wxUSE_ZLIB" = "yes" ; then
8425 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
8427 ALL_DEPFILES
="\$(GUIDEPS) \$(COMMONDEPS) \$(GENERICDEPS) \$(UNIXDEPS) \$(HTMLDEPS) \$(OGLDEPS)"
8429 PORT_FILES
="src/\$(TOOLKITDIR)/files.lst"
8430 RPM_FILES
="src/\$(TOOLKITDIR)/rpmfiles.lst"
8431 RPM_SPEC
="wx\$(TOOLKIT).spec"
8433 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
8434 DISTDIR
="wx\$(TOOLKIT)"
8439 TOOLKIT_DEF
="-D__WXBASE__"
8441 ALL_OBJECTS
="\$(BASE_OBJS) \${BASE_UNIX_OBJS}"
8442 ALL_DEPFILES
="\${BASE_DEPS} \${BASE_UNIX_DEPS}"
8446 PORT_FILES
="src/files.lst"
8447 RPM_FILES
="src/rpmfiles.lst"
8448 RPM_SPEC
="wxBase.spec"
8454 WX_LIBRARY_NAME
="lib${WX_LIBRARY}.la"
8455 WX_LIBRARY_NAME_GL
="lib${WX_LIBRARY}_gl.la"
8457 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
8458 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY}_gl.a"
8460 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}-${WX_RELEASE}.so.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
8461 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.so.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
8463 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}-${WX_RELEASE}.so.${WX_CURRENT}"
8464 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}-${WX_RELEASE}.so"
8465 WX_LIBRARY_LINK3
="lib${WX_LIBRARY}.so"
8466 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.so.${WX_CURRENT}"
8467 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.so"
8468 WX_LIBRARY_LINK3_GL
="lib${WX_LIBRARY}_gl.so"
8477 if test "$wxUSE_SHARED" = "yes"; then
8480 if test "$GCC" = yes ; then
8481 SHARED_LD
="${CC} -shared -fPIC -o"
8484 SHARED_LD
="${CXX} -b -o"
8487 WX_LIBRARY_NAME_SHARED
="libwx_${TOOLKIT_DIR}.sl"
8488 WX_LIBRARY_NAME_SHARED_GL
="libwx_${TOOLKIT_DIR}_gl.sl"
8489 WX_ALL
=${WX_LIBRARY_NAME_SHARED}
8493 SHARED_LD
="${CC} -shared -o"
8495 if test "$wxUSE_BURNT_NAME" = "yes" ; then
8496 BURNT_LIBRARY_NAME
="-Wl,-soname,${WX_LIBRARY_LINK1}"
8497 BURNT_LIBRARY_NAME_GL
="-Wl,-soname,${WX_LIBRARY_LINK1_GL}"
8499 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8500 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
8502 *-*-irix5* | *-*-irix6* )
8503 if test "$GCC" = yes ; then
8504 SHARED_LD
="${CC} -shared -o"
8507 SHARED_LD
="${CXX} -shared -o"
8509 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8510 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
8513 if test "$GCC" = yes ; then
8514 SHARED_LD
="${CC} -shared -o"
8517 SHARED_LD
="${CXX} -G -o"
8520 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8521 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
8524 SHARED_LD
="${CC} -shared -o"
8526 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8527 WX_ALL
="CREATE_LINKS"
8529 *-*-freebsd* | *-*-netbsd*)
8530 SHARED_LD
="${CC} -shared -o"
8532 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8533 WX_ALL
="CREATE_LINKS"
8536 SHARED_LD
="${CXX} -shared -o"
8538 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8539 WX_ALL
="CREATE_LINKS"
8542 SHARED_LD
="${CXX} -shared -o"
8544 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8545 WX_ALL
="CREATE_LINKS"
8548 SHARED_LD
="${CC} -shared -o"
8550 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8551 WX_ALL
="CREATE_LINKS"
8554 SHARED_LD
="/usr/lpp/xlC/bin/makeC++SharedLib -p 0 -o"
8555 WX_ALL
=${WX_LIBRARY_NAME_SHARED}
8558 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
8559 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
8560 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
8563 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
8564 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
8565 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
8568 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
8569 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
8572 SHARED_LD
="${LD} -shared -o"
8574 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8575 WX_ALL
="CREATE_LINKS"
8578 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
8581 if test "x$WX_TARGET_LIBRARY" = "x"; then
8582 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
8583 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
8586 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
8587 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
8588 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
8592 for ac_hdr
in strings.h
8594 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8595 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8596 echo "configure:8597: checking for $ac_hdr" >&5
8597 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8598 echo $ac_n "(cached) $ac_c" 1>&6
8600 cat > conftest.
$ac_ext <<EOF
8601 #line 8602 "configure"
8602 #include "confdefs.h"
8605 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8606 { (eval echo configure
:8607: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8607 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8608 if test -z "$ac_err"; then
8610 eval "ac_cv_header_$ac_safe=yes"
8613 echo "configure: failed program was:" >&5
8614 cat conftest.
$ac_ext >&5
8616 eval "ac_cv_header_$ac_safe=no"
8620 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8621 echo "$ac_t""yes" 1>&6
8622 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8623 cat >> confdefs.h
<<EOF
8624 #define $ac_tr_hdr 1
8628 echo "$ac_t""no" 1>&6
8632 for ac_hdr
in unistd.h
8634 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8635 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8636 echo "configure:8637: checking for $ac_hdr" >&5
8637 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8638 echo $ac_n "(cached) $ac_c" 1>&6
8640 cat > conftest.
$ac_ext <<EOF
8641 #line 8642 "configure"
8642 #include "confdefs.h"
8645 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8646 { (eval echo configure
:8647: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8647 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8648 if test -z "$ac_err"; then
8650 eval "ac_cv_header_$ac_safe=yes"
8653 echo "configure: failed program was:" >&5
8654 cat conftest.
$ac_ext >&5
8656 eval "ac_cv_header_$ac_safe=no"
8660 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8661 echo "$ac_t""yes" 1>&6
8662 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8663 cat >> confdefs.h
<<EOF
8664 #define $ac_tr_hdr 1
8668 echo "$ac_t""no" 1>&6
8672 for ac_hdr
in wchar.h
8674 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8675 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8676 echo "configure:8677: checking for $ac_hdr" >&5
8677 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8678 echo $ac_n "(cached) $ac_c" 1>&6
8680 cat > conftest.
$ac_ext <<EOF
8681 #line 8682 "configure"
8682 #include "confdefs.h"
8685 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8686 { (eval echo configure
:8687: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8687 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8688 if test -z "$ac_err"; then
8690 eval "ac_cv_header_$ac_safe=yes"
8693 echo "configure: failed program was:" >&5
8694 cat conftest.
$ac_ext >&5
8696 eval "ac_cv_header_$ac_safe=no"
8700 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8701 echo "$ac_t""yes" 1>&6
8702 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8703 cat >> confdefs.h
<<EOF
8704 #define $ac_tr_hdr 1
8708 echo "$ac_t""no" 1>&6
8712 for ac_hdr
in wcstr.h
8714 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8715 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8716 echo "configure:8717: checking for $ac_hdr" >&5
8717 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8718 echo $ac_n "(cached) $ac_c" 1>&6
8720 cat > conftest.
$ac_ext <<EOF
8721 #line 8722 "configure"
8722 #include "confdefs.h"
8725 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8726 { (eval echo configure
:8727: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8727 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8728 if test -z "$ac_err"; then
8730 eval "ac_cv_header_$ac_safe=yes"
8733 echo "configure: failed program was:" >&5
8734 cat conftest.
$ac_ext >&5
8736 eval "ac_cv_header_$ac_safe=no"
8740 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8741 echo "$ac_t""yes" 1>&6
8742 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8743 cat >> confdefs.h
<<EOF
8744 #define $ac_tr_hdr 1
8748 echo "$ac_t""no" 1>&6
8752 for ac_hdr
in fnmatch.h
8754 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8755 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8756 echo "configure:8757: checking for $ac_hdr" >&5
8757 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8758 echo $ac_n "(cached) $ac_c" 1>&6
8760 cat > conftest.
$ac_ext <<EOF
8761 #line 8762 "configure"
8762 #include "confdefs.h"
8765 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8766 { (eval echo configure
:8767: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8767 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8768 if test -z "$ac_err"; then
8770 eval "ac_cv_header_$ac_safe=yes"
8773 echo "configure: failed program was:" >&5
8774 cat conftest.
$ac_ext >&5
8776 eval "ac_cv_header_$ac_safe=no"
8780 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8781 echo "$ac_t""yes" 1>&6
8782 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8783 cat >> confdefs.h
<<EOF
8784 #define $ac_tr_hdr 1
8788 echo "$ac_t""no" 1>&6
8793 if test "$wxUSE_GUI" = "yes"; then
8794 for ac_hdr
in X
11/XKBlib.h
8796 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8797 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8798 echo "configure:8799: checking for $ac_hdr" >&5
8799 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8800 echo $ac_n "(cached) $ac_c" 1>&6
8802 cat > conftest.
$ac_ext <<EOF
8803 #line 8804 "configure"
8804 #include "confdefs.h"
8807 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8808 { (eval echo configure
:8809: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8809 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8810 if test -z "$ac_err"; then
8812 eval "ac_cv_header_$ac_safe=yes"
8815 echo "configure: failed program was:" >&5
8816 cat conftest.
$ac_ext >&5
8818 eval "ac_cv_header_$ac_safe=no"
8822 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8823 echo "$ac_t""yes" 1>&6
8824 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8825 cat >> confdefs.h
<<EOF
8826 #define $ac_tr_hdr 1
8830 echo "$ac_t""no" 1>&6
8837 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
8838 echo "configure:8839: checking for ANSI C header files" >&5
8839 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
8840 echo $ac_n "(cached) $ac_c" 1>&6
8842 cat > conftest.
$ac_ext <<EOF
8843 #line 8844 "configure"
8844 #include "confdefs.h"
8850 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8851 { (eval echo configure
:8852: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8852 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8853 if test -z "$ac_err"; then
8855 ac_cv_header_stdc
=yes
8858 echo "configure: failed program was:" >&5
8859 cat conftest.
$ac_ext >&5
8861 ac_cv_header_stdc
=no
8865 if test $ac_cv_header_stdc = yes; then
8866 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8867 cat > conftest.
$ac_ext <<EOF
8868 #line 8869 "configure"
8869 #include "confdefs.h"
8872 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8873 egrep "memchr" >/dev
/null
2>&1; then
8877 ac_cv_header_stdc
=no
8883 if test $ac_cv_header_stdc = yes; then
8884 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8885 cat > conftest.
$ac_ext <<EOF
8886 #line 8887 "configure"
8887 #include "confdefs.h"
8890 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8891 egrep "free" >/dev
/null
2>&1; then
8895 ac_cv_header_stdc
=no
8901 if test $ac_cv_header_stdc = yes; then
8902 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8903 if test "$cross_compiling" = yes; then
8906 cat > conftest.
$ac_ext <<EOF
8907 #line 8908 "configure"
8908 #include "confdefs.h"
8910 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8911 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8912 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8913 int main () { int i; for (i = 0; i < 256; i++)
8914 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
8918 if { (eval echo configure
:8919: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
8922 echo "configure: failed program was:" >&5
8923 cat conftest.
$ac_ext >&5
8925 ac_cv_header_stdc
=no
8933 echo "$ac_t""$ac_cv_header_stdc" 1>&6
8934 if test $ac_cv_header_stdc = yes; then
8935 cat >> confdefs.h
<<\EOF
8936 #define STDC_HEADERS 1
8941 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
8942 echo "configure:8943: checking for mode_t" >&5
8943 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
8944 echo $ac_n "(cached) $ac_c" 1>&6
8946 cat > conftest.
$ac_ext <<EOF
8947 #line 8948 "configure"
8948 #include "confdefs.h"
8949 #include <sys/types.h>
8955 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8956 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
8958 ac_cv_type_mode_t
=yes
8961 ac_cv_type_mode_t
=no
8966 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
8967 if test $ac_cv_type_mode_t = no
; then
8968 cat >> confdefs.h
<<\EOF
8974 echo $ac_n "checking for off_t""... $ac_c" 1>&6
8975 echo "configure:8976: checking for off_t" >&5
8976 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
8977 echo $ac_n "(cached) $ac_c" 1>&6
8979 cat > conftest.
$ac_ext <<EOF
8980 #line 8981 "configure"
8981 #include "confdefs.h"
8982 #include <sys/types.h>
8988 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8989 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
8991 ac_cv_type_off_t
=yes
8999 echo "$ac_t""$ac_cv_type_off_t" 1>&6
9000 if test $ac_cv_type_off_t = no
; then
9001 cat >> confdefs.h
<<\EOF
9007 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
9008 echo "configure:9009: checking for pid_t" >&5
9009 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
9010 echo $ac_n "(cached) $ac_c" 1>&6
9012 cat > conftest.
$ac_ext <<EOF
9013 #line 9014 "configure"
9014 #include "confdefs.h"
9015 #include <sys/types.h>
9021 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9022 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
9024 ac_cv_type_pid_t
=yes
9032 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
9033 if test $ac_cv_type_pid_t = no
; then
9034 cat >> confdefs.h
<<\EOF
9040 echo $ac_n "checking for size_t""... $ac_c" 1>&6
9041 echo "configure:9042: checking for size_t" >&5
9042 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
9043 echo $ac_n "(cached) $ac_c" 1>&6
9045 cat > conftest.
$ac_ext <<EOF
9046 #line 9047 "configure"
9047 #include "confdefs.h"
9048 #include <sys/types.h>
9054 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9055 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
9057 ac_cv_type_size_t
=yes
9060 ac_cv_type_size_t
=no
9065 echo "$ac_t""$ac_cv_type_size_t" 1>&6
9066 if test $ac_cv_type_size_t = no
; then
9067 cat >> confdefs.h
<<\EOF
9068 #define size_t unsigned
9073 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
9074 echo "configure:9075: checking for uid_t in sys/types.h" >&5
9075 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
9076 echo $ac_n "(cached) $ac_c" 1>&6
9078 cat > conftest.
$ac_ext <<EOF
9079 #line 9080 "configure"
9080 #include "confdefs.h"
9081 #include <sys/types.h>
9083 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9084 egrep "uid_t" >/dev
/null
2>&1; then
9086 ac_cv_type_uid_t
=yes
9095 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
9096 if test $ac_cv_type_uid_t = no
; then
9097 cat >> confdefs.h
<<\EOF
9101 cat >> confdefs.h
<<\EOF
9109 echo $ac_n "checking for pw_gecos in struct passwd""... $ac_c" 1>&6
9110 echo "configure:9111: checking for pw_gecos in struct passwd" >&5
9111 if eval "test \"`echo '$''{'wx_cv_struct_pw_gecos'+set}'`\" = set"; then
9112 echo $ac_n "(cached) $ac_c" 1>&6
9115 cat > conftest.
$ac_ext <<EOF
9116 #line 9117 "configure"
9117 #include "confdefs.h"
9127 if { (eval echo configure
:9128: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9130 wx_cv_struct_pw_gecos
=yes
9131 cat >> confdefs.h
<<\EOF
9132 #define HAVE_PW_GECOS 1
9137 echo "configure: failed program was:" >&5
9138 cat conftest.
$ac_ext >&5
9141 wx_cv_struct_pw_gecos
=no
9150 echo "$ac_t""$wx_cv_struct_pw_gecos" 1>&6
9153 echo $ac_n "checking for working const""... $ac_c" 1>&6
9154 echo "configure:9155: checking for working const" >&5
9155 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
9156 echo $ac_n "(cached) $ac_c" 1>&6
9158 cat > conftest.
$ac_ext <<EOF
9159 #line 9160 "configure"
9160 #include "confdefs.h"
9164 /* Ultrix mips cc rejects this. */
9165 typedef int charset[2]; const charset x;
9166 /* SunOS 4.1.1 cc rejects this. */
9167 char const *const *ccp;
9169 /* NEC SVR4.0.2 mips cc rejects this. */
9170 struct point {int x, y;};
9171 static struct point const zero = {0,0};
9172 /* AIX XL C 1.02.0.0 rejects this.
9173 It does not let you subtract one const X* pointer from another in an arm
9174 of an if-expression whose if-part is not a constant expression */
9175 const char *g = "string";
9176 ccp = &g + (g ? g-g : 0);
9177 /* HPUX 7.0 cc rejects these. */
9180 ccp = (char const *const *) p;
9181 { /* SCO 3.2v4 cc rejects this. */
9183 char const *s = 0 ? (char *) 0 : (char const *) 0;
9187 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
9189 const int *foo = &x[0];
9192 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
9193 typedef const int *iptr;
9197 { /* AIX XL C 1.02.0.0 rejects this saying
9198 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
9199 struct s { int j; const int *ap[3]; };
9200 struct s *b; b->j = 5;
9202 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
9208 if { (eval echo configure
:9209: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9212 echo "configure: failed program was:" >&5
9213 cat conftest.
$ac_ext >&5
9220 echo "$ac_t""$ac_cv_c_const" 1>&6
9221 if test $ac_cv_c_const = no
; then
9222 cat >> confdefs.h
<<\EOF
9228 echo $ac_n "checking for inline""... $ac_c" 1>&6
9229 echo "configure:9230: checking for inline" >&5
9230 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
9231 echo $ac_n "(cached) $ac_c" 1>&6
9234 for ac_kw
in inline __inline__ __inline
; do
9235 cat > conftest.
$ac_ext <<EOF
9236 #line 9237 "configure"
9237 #include "confdefs.h"
9243 if { (eval echo configure
:9244: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9245 ac_cv_c_inline
=$ac_kw; break
9247 echo "configure: failed program was:" >&5
9248 cat conftest.
$ac_ext >&5
9255 echo "$ac_t""$ac_cv_c_inline" 1>&6
9256 case "$ac_cv_c_inline" in
9258 no
) cat >> confdefs.h
<<\EOF
9262 *) cat >> confdefs.h
<<EOF
9263 #define inline $ac_cv_c_inline
9269 echo $ac_n "checking size of char""... $ac_c" 1>&6
9270 echo "configure:9271: checking size of char" >&5
9271 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
9272 echo $ac_n "(cached) $ac_c" 1>&6
9274 if test "$cross_compiling" = yes; then
9277 cat > conftest.
$ac_ext <<EOF
9278 #line 9279 "configure"
9279 #include "confdefs.h"
9283 FILE *f=fopen("conftestval", "w");
9285 fprintf(f, "%d\n", sizeof(char));
9289 if { (eval echo configure
:9290: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9291 ac_cv_sizeof_char
=`cat conftestval`
9293 echo "configure: failed program was:" >&5
9294 cat conftest.
$ac_ext >&5
9302 echo "$ac_t""$ac_cv_sizeof_char" 1>&6
9303 cat >> confdefs.h
<<EOF
9304 #define SIZEOF_CHAR $ac_cv_sizeof_char
9308 echo $ac_n "checking size of short""... $ac_c" 1>&6
9309 echo "configure:9310: checking size of short" >&5
9310 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
9311 echo $ac_n "(cached) $ac_c" 1>&6
9313 if test "$cross_compiling" = yes; then
9314 ac_cv_sizeof_short
=2
9316 cat > conftest.
$ac_ext <<EOF
9317 #line 9318 "configure"
9318 #include "confdefs.h"
9322 FILE *f=fopen("conftestval", "w");
9324 fprintf(f, "%d\n", sizeof(short));
9328 if { (eval echo configure
:9329: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9330 ac_cv_sizeof_short
=`cat conftestval`
9332 echo "configure: failed program was:" >&5
9333 cat conftest.
$ac_ext >&5
9335 ac_cv_sizeof_short
=0
9341 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
9342 cat >> confdefs.h
<<EOF
9343 #define SIZEOF_SHORT $ac_cv_sizeof_short
9347 echo $ac_n "checking size of int *""... $ac_c" 1>&6
9348 echo "configure:9349: checking size of int *" >&5
9349 if eval "test \"`echo '$''{'ac_cv_sizeof_int_p'+set}'`\" = set"; then
9350 echo $ac_n "(cached) $ac_c" 1>&6
9352 if test "$cross_compiling" = yes; then
9353 ac_cv_sizeof_int_p
=4
9355 cat > conftest.
$ac_ext <<EOF
9356 #line 9357 "configure"
9357 #include "confdefs.h"
9361 FILE *f=fopen("conftestval", "w");
9363 fprintf(f, "%d\n", sizeof(int *));
9367 if { (eval echo configure
:9368: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9369 ac_cv_sizeof_int_p
=`cat conftestval`
9371 echo "configure: failed program was:" >&5
9372 cat conftest.
$ac_ext >&5
9374 ac_cv_sizeof_int_p
=0
9380 echo "$ac_t""$ac_cv_sizeof_int_p" 1>&6
9381 cat >> confdefs.h
<<EOF
9382 #define SIZEOF_INT_P $ac_cv_sizeof_int_p
9386 echo $ac_n "checking size of int""... $ac_c" 1>&6
9387 echo "configure:9388: checking size of int" >&5
9388 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
9389 echo $ac_n "(cached) $ac_c" 1>&6
9391 if test "$cross_compiling" = yes; then
9394 cat > conftest.
$ac_ext <<EOF
9395 #line 9396 "configure"
9396 #include "confdefs.h"
9400 FILE *f=fopen("conftestval", "w");
9402 fprintf(f, "%d\n", sizeof(int));
9406 if { (eval echo configure
:9407: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9408 ac_cv_sizeof_int
=`cat conftestval`
9410 echo "configure: failed program was:" >&5
9411 cat conftest.
$ac_ext >&5
9419 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
9420 cat >> confdefs.h
<<EOF
9421 #define SIZEOF_INT $ac_cv_sizeof_int
9425 echo $ac_n "checking size of long""... $ac_c" 1>&6
9426 echo "configure:9427: checking size of long" >&5
9427 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
9428 echo $ac_n "(cached) $ac_c" 1>&6
9430 if test "$cross_compiling" = yes; then
9433 cat > conftest.
$ac_ext <<EOF
9434 #line 9435 "configure"
9435 #include "confdefs.h"
9439 FILE *f=fopen("conftestval", "w");
9441 fprintf(f, "%d\n", sizeof(long));
9445 if { (eval echo configure
:9446: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9447 ac_cv_sizeof_long
=`cat conftestval`
9449 echo "configure: failed program was:" >&5
9450 cat conftest.
$ac_ext >&5
9458 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
9459 cat >> confdefs.h
<<EOF
9460 #define SIZEOF_LONG $ac_cv_sizeof_long
9464 echo $ac_n "checking size of long long""... $ac_c" 1>&6
9465 echo "configure:9466: checking size of long long" >&5
9466 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
9467 echo $ac_n "(cached) $ac_c" 1>&6
9469 if test "$cross_compiling" = yes; then
9470 ac_cv_sizeof_long_long
=0
9472 cat > conftest.
$ac_ext <<EOF
9473 #line 9474 "configure"
9474 #include "confdefs.h"
9478 FILE *f=fopen("conftestval", "w");
9480 fprintf(f, "%d\n", sizeof(long long));
9484 if { (eval echo configure
:9485: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9486 ac_cv_sizeof_long_long
=`cat conftestval`
9488 echo "configure: failed program was:" >&5
9489 cat conftest.
$ac_ext >&5
9491 ac_cv_sizeof_long_long
=0
9497 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
9498 cat >> confdefs.h
<<EOF
9499 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
9504 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
9505 echo "configure:9506: checking whether byte ordering is bigendian" >&5
9506 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
9507 echo $ac_n "(cached) $ac_c" 1>&6
9509 ac_cv_c_bigendian
=unknown
9510 # See if sys/param.h defines the BYTE_ORDER macro.
9511 cat > conftest.
$ac_ext <<EOF
9512 #line 9513 "configure"
9513 #include "confdefs.h"
9514 #include <sys/types.h>
9515 #include <sys/param.h>
9518 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
9523 if { (eval echo configure
:9524: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9525 # It does; now see whether it defined to BIG_ENDIAN or not.
9526 cat > conftest.
$ac_ext <<EOF
9527 #line 9528 "configure"
9528 #include "confdefs.h"
9529 #include <sys/types.h>
9530 #include <sys/param.h>
9533 #if BYTE_ORDER != BIG_ENDIAN
9538 if { (eval echo configure
:9539: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9540 ac_cv_c_bigendian
=yes
9542 echo "configure: failed program was:" >&5
9543 cat conftest.
$ac_ext >&5
9545 ac_cv_c_bigendian
=no
9549 echo "configure: failed program was:" >&5
9550 cat conftest.
$ac_ext >&5
9553 if test $ac_cv_c_bigendian = unknown
; then
9554 if test "$cross_compiling" = yes; then
9555 ac_cv_c_bigendian
=unknown
9557 cat > conftest.
$ac_ext <<EOF
9558 #line 9559 "configure"
9559 #include "confdefs.h"
9561 /* Are we little or big endian? From Harbison&Steele. */
9565 char c[sizeof (long)];
9568 exit (u.c[sizeof (long) - 1] == 1);
9571 if { (eval echo configure
:9572: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9573 ac_cv_c_bigendian
=no
9575 echo "configure: failed program was:" >&5
9576 cat conftest.
$ac_ext >&5
9578 ac_cv_c_bigendian
=yes
9586 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
9587 if test $ac_cv_c_bigendian = unknown
; then
9588 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
9590 if test $ac_cv_c_bigendian = yes; then
9591 cat >> confdefs.h
<<\EOF
9592 #define WORDS_BIGENDIAN 1
9599 if test "$cross_compiling" = "yes"; then
9600 cat >> confdefs.h
<<\EOF
9601 #define wxUSE_IOSTREAMH 1
9607 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9608 ac_cpp
='$CXXCPP $CPPFLAGS'
9609 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9610 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9611 cross_compiling
=$ac_cv_prog_cxx_cross
9614 for ac_hdr
in iostream
9616 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9617 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9618 echo "configure:9619: checking for $ac_hdr" >&5
9619 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9620 echo $ac_n "(cached) $ac_c" 1>&6
9622 cat > conftest.
$ac_ext <<EOF
9623 #line 9624 "configure"
9624 #include "confdefs.h"
9627 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9628 { (eval echo configure
:9629: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9629 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9630 if test -z "$ac_err"; then
9632 eval "ac_cv_header_$ac_safe=yes"
9635 echo "configure: failed program was:" >&5
9636 cat conftest.
$ac_ext >&5
9638 eval "ac_cv_header_$ac_safe=no"
9642 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9643 echo "$ac_t""yes" 1>&6
9644 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9645 cat >> confdefs.h
<<EOF
9646 #define $ac_tr_hdr 1
9650 echo "$ac_t""no" 1>&6
9655 if test "x$HAVE_IOSTREAM" = x
; then
9656 cat >> confdefs.h
<<\EOF
9657 #define wxUSE_IOSTREAMH 1
9665 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9666 ac_cpp
='$CPP $CPPFLAGS'
9667 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9668 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9669 cross_compiling
=$ac_cv_prog_cc_cross
9675 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
9676 echo "configure:9677: checking if C++ compiler supports bool" >&5
9677 if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
9678 echo $ac_n "(cached) $ac_c" 1>&6
9683 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9684 ac_cpp
='$CXXCPP $CPPFLAGS'
9685 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9686 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9687 cross_compiling
=$ac_cv_prog_cxx_cross
9690 cat > conftest.
$ac_ext <<EOF
9691 #line 9692 "configure"
9692 #include "confdefs.h"
9703 if { (eval echo configure
:9704: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9706 cat >> confdefs.h
<<\EOF
9713 echo "configure: failed program was:" >&5
9714 cat conftest.
$ac_ext >&5
9724 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9725 ac_cpp
='$CPP $CPPFLAGS'
9726 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9727 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9728 cross_compiling
=$ac_cv_prog_cc_cross
9733 echo "$ac_t""$wx_cv_cpp_bool" 1>&6
9735 if test "$wx_cv_cpp_bool" = "yes"; then
9736 cat >> confdefs.h
<<\EOF
9744 echo $ac_n "checking if you need GNU extensions""... $ac_c" 1>&6
9745 echo "configure:9746: checking if you need GNU extensions" >&5
9746 if eval "test \"`echo '$''{'wx_cv_gnu_extensions'+set}'`\" = set"; then
9747 echo $ac_n "(cached) $ac_c" 1>&6
9750 cat > conftest.
$ac_ext <<EOF
9751 #line 9752 "configure"
9752 #include "confdefs.h"
9753 #include <features.h>
9757 #ifndef __GNU_LIBRARY__
9758 Compile error wanted
9764 if { (eval echo configure
:9765: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9766 wx_cv_gnu_extensions
=yes
9768 echo "configure: failed program was:" >&5
9769 cat conftest.
$ac_ext >&5
9771 wx_cv_gnu_extensions
=no
9778 echo "$ac_t""$wx_cv_gnu_extensions" 1>&6
9779 if test "$wx_cv_gnu_extensions" = "yes"; then
9780 cat >> confdefs.h
<<EOF
9781 #define _GNU_SOURCE 1
9788 echo $ac_n "checking for wcslen in -lc""... $ac_c" 1>&6
9789 echo "configure:9790: checking for wcslen in -lc" >&5
9790 ac_lib_var
=`echo c'_'wcslen | sed 'y%./+-%__p_%'`
9791 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9792 echo $ac_n "(cached) $ac_c" 1>&6
9794 ac_save_LIBS
="$LIBS"
9796 cat > conftest.
$ac_ext <<EOF
9797 #line 9798 "configure"
9798 #include "confdefs.h"
9799 /* Override any gcc2 internal prototype to avoid an error. */
9800 /* We use char because int might match the return type of a gcc2
9801 builtin and then its argument prototype would still apply. */
9808 if { (eval echo configure
:9809: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9810 eval "ac_cv_lib_$ac_lib_var=yes"
9812 echo "configure: failed program was:" >&5
9813 cat conftest.
$ac_ext >&5
9815 eval "ac_cv_lib_$ac_lib_var=no"
9818 LIBS
="$ac_save_LIBS"
9821 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9822 echo "$ac_t""yes" 1>&6
9824 cat >> confdefs.h
<<\EOF
9825 #define HAVE_WCSLEN 1
9831 echo "$ac_t""no" 1>&6
9833 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
9834 echo "configure:9835: checking for wcslen in -lw" >&5
9835 ac_lib_var
=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
9836 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9837 echo $ac_n "(cached) $ac_c" 1>&6
9839 ac_save_LIBS
="$LIBS"
9841 cat > conftest.
$ac_ext <<EOF
9842 #line 9843 "configure"
9843 #include "confdefs.h"
9844 /* Override any gcc2 internal prototype to avoid an error. */
9845 /* We use char because int might match the return type of a gcc2
9846 builtin and then its argument prototype would still apply. */
9853 if { (eval echo configure
:9854: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9855 eval "ac_cv_lib_$ac_lib_var=yes"
9857 echo "configure: failed program was:" >&5
9858 cat conftest.
$ac_ext >&5
9860 eval "ac_cv_lib_$ac_lib_var=no"
9863 LIBS
="$ac_save_LIBS"
9866 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9867 echo "$ac_t""yes" 1>&6
9869 cat >> confdefs.h
<<\EOF
9870 #define HAVE_WCSLEN 1
9876 echo "$ac_t""no" 1>&6
9883 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
9884 echo "configure:9885: checking for vprintf" >&5
9885 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
9886 echo $ac_n "(cached) $ac_c" 1>&6
9888 cat > conftest.
$ac_ext <<EOF
9889 #line 9890 "configure"
9890 #include "confdefs.h"
9891 /* System header to define __stub macros and hopefully few prototypes,
9892 which can conflict with char vprintf(); below. */
9894 /* Override any gcc2 internal prototype to avoid an error. */
9895 /* We use char because int might match the return type of a gcc2
9896 builtin and then its argument prototype would still apply. */
9901 /* The GNU C library defines this for functions which it implements
9902 to always fail with ENOSYS. Some functions are actually named
9903 something starting with __ and the normal name is an alias. */
9904 #if defined (__stub_vprintf) || defined (__stub___vprintf)
9912 if { (eval echo configure
:9913: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9914 eval "ac_cv_func_vprintf=yes"
9916 echo "configure: failed program was:" >&5
9917 cat conftest.
$ac_ext >&5
9919 eval "ac_cv_func_vprintf=no"
9924 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
9925 echo "$ac_t""yes" 1>&6
9926 cat >> confdefs.h
<<\EOF
9927 #define HAVE_VPRINTF 1
9931 echo "$ac_t""no" 1>&6
9934 if test "$ac_cv_func_vprintf" != yes; then
9935 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
9936 echo "configure:9937: checking for _doprnt" >&5
9937 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
9938 echo $ac_n "(cached) $ac_c" 1>&6
9940 cat > conftest.
$ac_ext <<EOF
9941 #line 9942 "configure"
9942 #include "confdefs.h"
9943 /* System header to define __stub macros and hopefully few prototypes,
9944 which can conflict with char _doprnt(); below. */
9946 /* Override any gcc2 internal prototype to avoid an error. */
9947 /* We use char because int might match the return type of a gcc2
9948 builtin and then its argument prototype would still apply. */
9953 /* The GNU C library defines this for functions which it implements
9954 to always fail with ENOSYS. Some functions are actually named
9955 something starting with __ and the normal name is an alias. */
9956 #if defined (__stub__doprnt) || defined (__stub____doprnt)
9964 if { (eval echo configure
:9965: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9966 eval "ac_cv_func__doprnt=yes"
9968 echo "configure: failed program was:" >&5
9969 cat conftest.
$ac_ext >&5
9971 eval "ac_cv_func__doprnt=no"
9976 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
9977 echo "$ac_t""yes" 1>&6
9978 cat >> confdefs.h
<<\EOF
9979 #define HAVE_DOPRNT 1
9983 echo "$ac_t""no" 1>&6
9989 for ac_func
in vsnprintf
9991 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9992 echo "configure:9993: checking for $ac_func" >&5
9993 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9994 echo $ac_n "(cached) $ac_c" 1>&6
9996 cat > conftest.
$ac_ext <<EOF
9997 #line 9998 "configure"
9998 #include "confdefs.h"
9999 /* System header to define __stub macros and hopefully few prototypes,
10000 which can conflict with char $ac_func(); below. */
10001 #include <assert.h>
10002 /* Override any gcc2 internal prototype to avoid an error. */
10003 /* We use char because int might match the return type of a gcc2
10004 builtin and then its argument prototype would still apply. */
10009 /* The GNU C library defines this for functions which it implements
10010 to always fail with ENOSYS. Some functions are actually named
10011 something starting with __ and the normal name is an alias. */
10012 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10020 if { (eval echo configure
:10021: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10022 eval "ac_cv_func_$ac_func=yes"
10024 echo "configure: failed program was:" >&5
10025 cat conftest.
$ac_ext >&5
10027 eval "ac_cv_func_$ac_func=no"
10032 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10033 echo "$ac_t""yes" 1>&6
10034 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10035 cat >> confdefs.h
<<EOF
10036 #define $ac_tr_func 1
10038 cat >> confdefs.h
<<\EOF
10039 #define HAVE_VSNPRINTF 1
10043 echo "$ac_t""no" 1>&6
10044 echo "configure: warning: unsafe function sprintf will be used instead of snprintf" 1>&2
10052 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10053 ac_cpp
='$CXXCPP $CPPFLAGS'
10054 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10055 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10056 cross_compiling
=$ac_cv_prog_cxx_cross
10059 echo $ac_n "checking for vsscanf""... $ac_c" 1>&6
10060 echo "configure:10061: checking for vsscanf" >&5
10061 if eval "test \"`echo '$''{'wx_cv_func_vsscanf'+set}'`\" = set"; then
10062 echo $ac_n "(cached) $ac_c" 1>&6
10065 if test "$cross_compiling" = yes; then
10066 wx_cv_func_vsscanf
=no
10069 cat > conftest.
$ac_ext <<EOF
10070 #line 10071 "configure"
10071 #include "confdefs.h"
10073 extern "C" void exit(int);
10077 #include <stdarg.h>
10079 int try_vsscanf(const char *format, ...)
10082 va_start(ap, format);
10084 vsscanf("17", format, ap);
10092 try_vsscanf("%d", &i);
10093 return i == 17 ? 0 : 1;
10097 if { (eval echo configure
:10098: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10100 cat >> confdefs.h
<<\EOF
10101 #define HAVE_VSSCANF 1
10104 wx_cv_func_vsscanf
=yes
10107 echo "configure: failed program was:" >&5
10108 cat conftest.
$ac_ext >&5
10110 wx_cv_func_vsscanf
=no
10118 echo "$ac_t""$wx_cv_func_vsscanf" 1>&6
10121 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10122 ac_cpp
='$CPP $CPPFLAGS'
10123 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10124 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10125 cross_compiling
=$ac_cv_prog_cc_cross
10128 if test "$TOOLKIT" != "MSW"; then
10130 for ac_func
in vfork
10132 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10133 echo "configure:10134: checking for $ac_func" >&5
10134 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10135 echo $ac_n "(cached) $ac_c" 1>&6
10137 cat > conftest.
$ac_ext <<EOF
10138 #line 10139 "configure"
10139 #include "confdefs.h"
10140 /* System header to define __stub macros and hopefully few prototypes,
10141 which can conflict with char $ac_func(); below. */
10142 #include <assert.h>
10143 /* Override any gcc2 internal prototype to avoid an error. */
10144 /* We use char because int might match the return type of a gcc2
10145 builtin and then its argument prototype would still apply. */
10150 /* The GNU C library defines this for functions which it implements
10151 to always fail with ENOSYS. Some functions are actually named
10152 something starting with __ and the normal name is an alias. */
10153 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10161 if { (eval echo configure
:10162: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10163 eval "ac_cv_func_$ac_func=yes"
10165 echo "configure: failed program was:" >&5
10166 cat conftest.
$ac_ext >&5
10168 eval "ac_cv_func_$ac_func=no"
10173 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10174 echo "$ac_t""yes" 1>&6
10175 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10176 cat >> confdefs.h
<<EOF
10177 #define $ac_tr_func 1
10181 echo "$ac_t""no" 1>&6
10186 for ac_func
in timegm
10188 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10189 echo "configure:10190: checking for $ac_func" >&5
10190 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10191 echo $ac_n "(cached) $ac_c" 1>&6
10193 cat > conftest.
$ac_ext <<EOF
10194 #line 10195 "configure"
10195 #include "confdefs.h"
10196 /* System header to define __stub macros and hopefully few prototypes,
10197 which can conflict with char $ac_func(); below. */
10198 #include <assert.h>
10199 /* Override any gcc2 internal prototype to avoid an error. */
10200 /* We use char because int might match the return type of a gcc2
10201 builtin and then its argument prototype would still apply. */
10206 /* The GNU C library defines this for functions which it implements
10207 to always fail with ENOSYS. Some functions are actually named
10208 something starting with __ and the normal name is an alias. */
10209 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10217 if { (eval echo configure
:10218: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10219 eval "ac_cv_func_$ac_func=yes"
10221 echo "configure: failed program was:" >&5
10222 cat conftest.
$ac_ext >&5
10224 eval "ac_cv_func_$ac_func=no"
10229 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10230 echo "$ac_t""yes" 1>&6
10231 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10232 cat >> confdefs.h
<<EOF
10233 #define $ac_tr_func 1
10237 echo "$ac_t""no" 1>&6
10242 HAVE_SOME_SLEEP_FUNC
=0
10243 if test "$USE_BEOS" = 1; then
10244 cat >> confdefs.h
<<\EOF
10245 #define HAVE_SLEEP 1
10248 HAVE_SOME_SLEEP_FUNC
=1
10251 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
10253 for ac_func
in nanosleep
10255 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10256 echo "configure:10257: checking for $ac_func" >&5
10257 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10258 echo $ac_n "(cached) $ac_c" 1>&6
10260 cat > conftest.
$ac_ext <<EOF
10261 #line 10262 "configure"
10262 #include "confdefs.h"
10263 /* System header to define __stub macros and hopefully few prototypes,
10264 which can conflict with char $ac_func(); below. */
10265 #include <assert.h>
10266 /* Override any gcc2 internal prototype to avoid an error. */
10267 /* We use char because int might match the return type of a gcc2
10268 builtin and then its argument prototype would still apply. */
10273 /* The GNU C library defines this for functions which it implements
10274 to always fail with ENOSYS. Some functions are actually named
10275 something starting with __ and the normal name is an alias. */
10276 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10284 if { (eval echo configure
:10285: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10286 eval "ac_cv_func_$ac_func=yes"
10288 echo "configure: failed program was:" >&5
10289 cat conftest.
$ac_ext >&5
10291 eval "ac_cv_func_$ac_func=no"
10296 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10297 echo "$ac_t""yes" 1>&6
10298 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10299 cat >> confdefs.h
<<EOF
10300 #define $ac_tr_func 1
10302 cat >> confdefs.h
<<\EOF
10303 #define HAVE_NANOSLEEP 1
10307 echo "$ac_t""no" 1>&6
10308 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
10309 echo "configure:10310: checking for nanosleep in -lposix4" >&5
10310 ac_lib_var
=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
10311 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10312 echo $ac_n "(cached) $ac_c" 1>&6
10314 ac_save_LIBS
="$LIBS"
10315 LIBS
="-lposix4 $LIBS"
10316 cat > conftest.
$ac_ext <<EOF
10317 #line 10318 "configure"
10318 #include "confdefs.h"
10319 /* Override any gcc2 internal prototype to avoid an error. */
10320 /* We use char because int might match the return type of a gcc2
10321 builtin and then its argument prototype would still apply. */
10328 if { (eval echo configure
:10329: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10330 eval "ac_cv_lib_$ac_lib_var=yes"
10332 echo "configure: failed program was:" >&5
10333 cat conftest.
$ac_ext >&5
10335 eval "ac_cv_lib_$ac_lib_var=no"
10338 LIBS
="$ac_save_LIBS"
10341 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10342 echo "$ac_t""yes" 1>&6
10344 cat >> confdefs.h
<<\EOF
10345 #define HAVE_NANOSLEEP 1
10348 POSIX4_LINK
="-lposix4"
10351 echo "$ac_t""no" 1>&6
10353 for ac_func
in usleep
10355 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10356 echo "configure:10357: checking for $ac_func" >&5
10357 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10358 echo $ac_n "(cached) $ac_c" 1>&6
10360 cat > conftest.
$ac_ext <<EOF
10361 #line 10362 "configure"
10362 #include "confdefs.h"
10363 /* System header to define __stub macros and hopefully few prototypes,
10364 which can conflict with char $ac_func(); below. */
10365 #include <assert.h>
10366 /* Override any gcc2 internal prototype to avoid an error. */
10367 /* We use char because int might match the return type of a gcc2
10368 builtin and then its argument prototype would still apply. */
10373 /* The GNU C library defines this for functions which it implements
10374 to always fail with ENOSYS. Some functions are actually named
10375 something starting with __ and the normal name is an alias. */
10376 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10384 if { (eval echo configure
:10385: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10386 eval "ac_cv_func_$ac_func=yes"
10388 echo "configure: failed program was:" >&5
10389 cat conftest.
$ac_ext >&5
10391 eval "ac_cv_func_$ac_func=no"
10396 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10397 echo "$ac_t""yes" 1>&6
10398 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10399 cat >> confdefs.h
<<EOF
10400 #define $ac_tr_func 1
10404 echo "$ac_t""no" 1>&6
10408 echo "configure: warning: wxSleep() function will not work" 1>&2
10420 for ac_func
in uname gethostname
10422 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10423 echo "configure:10424: checking for $ac_func" >&5
10424 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10425 echo $ac_n "(cached) $ac_c" 1>&6
10427 cat > conftest.
$ac_ext <<EOF
10428 #line 10429 "configure"
10429 #include "confdefs.h"
10430 /* System header to define __stub macros and hopefully few prototypes,
10431 which can conflict with char $ac_func(); below. */
10432 #include <assert.h>
10433 /* Override any gcc2 internal prototype to avoid an error. */
10434 /* We use char because int might match the return type of a gcc2
10435 builtin and then its argument prototype would still apply. */
10440 /* The GNU C library defines this for functions which it implements
10441 to always fail with ENOSYS. Some functions are actually named
10442 something starting with __ and the normal name is an alias. */
10443 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10451 if { (eval echo configure
:10452: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10453 eval "ac_cv_func_$ac_func=yes"
10455 echo "configure: failed program was:" >&5
10456 cat conftest.
$ac_ext >&5
10458 eval "ac_cv_func_$ac_func=no"
10463 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10464 echo "$ac_t""yes" 1>&6
10465 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10466 cat >> confdefs.h
<<EOF
10467 #define $ac_tr_func 1
10471 echo "$ac_t""no" 1>&6
10476 for ac_func
in strtok_r
10478 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10479 echo "configure:10480: checking for $ac_func" >&5
10480 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10481 echo $ac_n "(cached) $ac_c" 1>&6
10483 cat > conftest.
$ac_ext <<EOF
10484 #line 10485 "configure"
10485 #include "confdefs.h"
10486 /* System header to define __stub macros and hopefully few prototypes,
10487 which can conflict with char $ac_func(); below. */
10488 #include <assert.h>
10489 /* Override any gcc2 internal prototype to avoid an error. */
10490 /* We use char because int might match the return type of a gcc2
10491 builtin and then its argument prototype would still apply. */
10496 /* The GNU C library defines this for functions which it implements
10497 to always fail with ENOSYS. Some functions are actually named
10498 something starting with __ and the normal name is an alias. */
10499 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10507 if { (eval echo configure
:10508: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10509 eval "ac_cv_func_$ac_func=yes"
10511 echo "configure: failed program was:" >&5
10512 cat conftest.
$ac_ext >&5
10514 eval "ac_cv_func_$ac_func=no"
10519 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10520 echo "$ac_t""yes" 1>&6
10521 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10522 cat >> confdefs.h
<<EOF
10523 #define $ac_tr_func 1
10527 echo "$ac_t""no" 1>&6
10533 for ac_func
in inet_addr
10535 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10536 echo "configure:10537: checking for $ac_func" >&5
10537 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10538 echo $ac_n "(cached) $ac_c" 1>&6
10540 cat > conftest.
$ac_ext <<EOF
10541 #line 10542 "configure"
10542 #include "confdefs.h"
10543 /* System header to define __stub macros and hopefully few prototypes,
10544 which can conflict with char $ac_func(); below. */
10545 #include <assert.h>
10546 /* Override any gcc2 internal prototype to avoid an error. */
10547 /* We use char because int might match the return type of a gcc2
10548 builtin and then its argument prototype would still apply. */
10553 /* The GNU C library defines this for functions which it implements
10554 to always fail with ENOSYS. Some functions are actually named
10555 something starting with __ and the normal name is an alias. */
10556 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10564 if { (eval echo configure
:10565: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10566 eval "ac_cv_func_$ac_func=yes"
10568 echo "configure: failed program was:" >&5
10569 cat conftest.
$ac_ext >&5
10571 eval "ac_cv_func_$ac_func=no"
10576 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10577 echo "$ac_t""yes" 1>&6
10578 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10579 cat >> confdefs.h
<<EOF
10580 #define $ac_tr_func 1
10582 cat >> confdefs.h
<<\EOF
10583 #define HAVE_INET_ADDR 1
10587 echo "$ac_t""no" 1>&6
10588 echo $ac_n "checking for inet_addr in -lnsl""... $ac_c" 1>&6
10589 echo "configure:10590: checking for inet_addr in -lnsl" >&5
10590 ac_lib_var
=`echo nsl'_'inet_addr | sed 'y%./+-%__p_%'`
10591 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10592 echo $ac_n "(cached) $ac_c" 1>&6
10594 ac_save_LIBS
="$LIBS"
10596 cat > conftest.
$ac_ext <<EOF
10597 #line 10598 "configure"
10598 #include "confdefs.h"
10599 /* Override any gcc2 internal prototype to avoid an error. */
10600 /* We use char because int might match the return type of a gcc2
10601 builtin and then its argument prototype would still apply. */
10608 if { (eval echo configure
:10609: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10610 eval "ac_cv_lib_$ac_lib_var=yes"
10612 echo "configure: failed program was:" >&5
10613 cat conftest.
$ac_ext >&5
10615 eval "ac_cv_lib_$ac_lib_var=no"
10618 LIBS
="$ac_save_LIBS"
10621 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10622 echo "$ac_t""yes" 1>&6
10625 echo "$ac_t""no" 1>&6
10626 echo $ac_n "checking for inet_addr in -lresolv""... $ac_c" 1>&6
10627 echo "configure:10628: checking for inet_addr in -lresolv" >&5
10628 ac_lib_var
=`echo resolv'_'inet_addr | sed 'y%./+-%__p_%'`
10629 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10630 echo $ac_n "(cached) $ac_c" 1>&6
10632 ac_save_LIBS
="$LIBS"
10633 LIBS
="-lresolv $LIBS"
10634 cat > conftest.
$ac_ext <<EOF
10635 #line 10636 "configure"
10636 #include "confdefs.h"
10637 /* Override any gcc2 internal prototype to avoid an error. */
10638 /* We use char because int might match the return type of a gcc2
10639 builtin and then its argument prototype would still apply. */
10646 if { (eval echo configure
:10647: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10648 eval "ac_cv_lib_$ac_lib_var=yes"
10650 echo "configure: failed program was:" >&5
10651 cat conftest.
$ac_ext >&5
10653 eval "ac_cv_lib_$ac_lib_var=no"
10656 LIBS
="$ac_save_LIBS"
10659 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10660 echo "$ac_t""yes" 1>&6
10664 echo "$ac_t""no" 1>&6
10676 for ac_func
in inet_aton
10678 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10679 echo "configure:10680: checking for $ac_func" >&5
10680 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10681 echo $ac_n "(cached) $ac_c" 1>&6
10683 cat > conftest.
$ac_ext <<EOF
10684 #line 10685 "configure"
10685 #include "confdefs.h"
10686 /* System header to define __stub macros and hopefully few prototypes,
10687 which can conflict with char $ac_func(); below. */
10688 #include <assert.h>
10689 /* Override any gcc2 internal prototype to avoid an error. */
10690 /* We use char because int might match the return type of a gcc2
10691 builtin and then its argument prototype would still apply. */
10696 /* The GNU C library defines this for functions which it implements
10697 to always fail with ENOSYS. Some functions are actually named
10698 something starting with __ and the normal name is an alias. */
10699 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10707 if { (eval echo configure
:10708: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10709 eval "ac_cv_func_$ac_func=yes"
10711 echo "configure: failed program was:" >&5
10712 cat conftest.
$ac_ext >&5
10714 eval "ac_cv_func_$ac_func=no"
10719 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10720 echo "$ac_t""yes" 1>&6
10721 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10722 cat >> confdefs.h
<<EOF
10723 #define $ac_tr_func 1
10725 cat >> confdefs.h
<<\EOF
10726 #define HAVE_INET_ATON 1
10730 echo "$ac_t""no" 1>&6
10731 echo $ac_n "checking for inet_aton in -l$INET_LINK""... $ac_c" 1>&6
10732 echo "configure:10733: checking for inet_aton in -l$INET_LINK" >&5
10733 ac_lib_var
=`echo $INET_LINK'_'inet_aton | sed 'y%./+-%__p_%'`
10734 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10735 echo $ac_n "(cached) $ac_c" 1>&6
10737 ac_save_LIBS
="$LIBS"
10738 LIBS
="-l$INET_LINK $LIBS"
10739 cat > conftest.
$ac_ext <<EOF
10740 #line 10741 "configure"
10741 #include "confdefs.h"
10742 /* Override any gcc2 internal prototype to avoid an error. */
10743 /* We use char because int might match the return type of a gcc2
10744 builtin and then its argument prototype would still apply. */
10751 if { (eval echo configure
:10752: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10753 eval "ac_cv_lib_$ac_lib_var=yes"
10755 echo "configure: failed program was:" >&5
10756 cat conftest.
$ac_ext >&5
10758 eval "ac_cv_lib_$ac_lib_var=no"
10761 LIBS
="$ac_save_LIBS"
10764 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10765 echo "$ac_t""yes" 1>&6
10766 cat >> confdefs.h
<<\EOF
10767 #define HAVE_INET_ATON 1
10771 echo "$ac_t""no" 1>&6
10779 if test "x$INET_LINK" != "x"; then
10780 cat >> confdefs.h
<<\EOF
10781 #define HAVE_INET_ADDR 1
10784 INET_LINK
="-l$INET_LINK"
10790 cat > confcache
<<\EOF
10791 # This file is a shell script that caches the results of configure
10792 # tests run on this system so they can be shared between configure
10793 # scripts and configure runs. It is not useful on other systems.
10794 # If it contains results you don't want to keep, you may remove or edit it.
10796 # By default, configure uses ./config.cache as the cache file,
10797 # creating it if it does not exist already. You can give configure
10798 # the --cache-file=FILE option to use a different cache file; that is
10799 # what configure does when it calls configure scripts in
10800 # subdirectories, so they share the cache.
10801 # Giving --cache-file=/dev/null disables caching, for debugging configure.
10802 # config.status only pays attention to the cache file if you give it the
10803 # --recheck option to rerun configure.
10806 # The following way of writing the cache mishandles newlines in values,
10807 # but we know of no workaround that is simple, portable, and efficient.
10808 # So, don't put newlines in cache variables' values.
10809 # Ultrix sh set writes to stderr and can't be redirected directly,
10810 # and sets the high bit in the cache file unless we assign to the vars.
10812 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10814 # `set' does not quote correctly, so add quotes (double-quote substitution
10815 # turns \\\\ into \\, and sed turns \\ into \).
10817 -e "s/'/'\\\\''/g" \
10818 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
10821 # `set' quotes correctly as required by POSIX, so do not add quotes.
10822 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
10825 if cmp -s $cache_file confcache
; then
10828 if test -w $cache_file; then
10829 echo "updating cache $cache_file"
10830 cat confcache
> $cache_file
10832 echo "not updating unwritable cache $cache_file"
10839 if test "$TOOLKIT" != "MSW"; then
10845 if test "$wxUSE_THREADS" = "yes" ; then
10846 if test "$wxUSE_WINE" = 1 ; then
10847 echo "configure: warning: Threads are not supported under WINE" 1>&2
10849 elif test "$USE_BEOS" = 1; then
10850 echo "configure: warning: BeOS threads are not yet supported" 1>&2
10855 if test "$wxUSE_THREADS" = "yes" ; then
10857 echo $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6
10858 echo "configure:10859: checking for pthread_create in -lpthread" >&5
10859 ac_lib_var
=`echo pthread'_'pthread_create | sed 'y%./+-%__p_%'`
10860 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10861 echo $ac_n "(cached) $ac_c" 1>&6
10863 ac_save_LIBS
="$LIBS"
10864 LIBS
="-lpthread $LIBS"
10865 cat > conftest.
$ac_ext <<EOF
10866 #line 10867 "configure"
10867 #include "confdefs.h"
10868 /* Override any gcc2 internal prototype to avoid an error. */
10869 /* We use char because int might match the return type of a gcc2
10870 builtin and then its argument prototype would still apply. */
10871 char pthread_create();
10877 if { (eval echo configure
:10878: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10879 eval "ac_cv_lib_$ac_lib_var=yes"
10881 echo "configure: failed program was:" >&5
10882 cat conftest.
$ac_ext >&5
10884 eval "ac_cv_lib_$ac_lib_var=no"
10887 LIBS
="$ac_save_LIBS"
10890 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10891 echo "$ac_t""yes" 1>&6
10893 THREADS_OBJ
="threadpsx.lo"
10894 THREADS_LINK
="pthread"
10897 echo "$ac_t""no" 1>&6
10899 echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
10900 echo "configure:10901: checking for pthread_create in -lc_r" >&5
10901 ac_lib_var
=`echo c_r'_'pthread_create | sed 'y%./+-%__p_%'`
10902 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10903 echo $ac_n "(cached) $ac_c" 1>&6
10905 ac_save_LIBS
="$LIBS"
10907 cat > conftest.
$ac_ext <<EOF
10908 #line 10909 "configure"
10909 #include "confdefs.h"
10910 /* Override any gcc2 internal prototype to avoid an error. */
10911 /* We use char because int might match the return type of a gcc2
10912 builtin and then its argument prototype would still apply. */
10913 char pthread_create();
10919 if { (eval echo configure
:10920: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10921 eval "ac_cv_lib_$ac_lib_var=yes"
10923 echo "configure: failed program was:" >&5
10924 cat conftest.
$ac_ext >&5
10926 eval "ac_cv_lib_$ac_lib_var=no"
10929 LIBS
="$ac_save_LIBS"
10932 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10933 echo "$ac_t""yes" 1>&6
10935 THREADS_OBJ
="threadpsx.lo"
10939 echo "$ac_t""no" 1>&6
10941 ac_safe
=`echo "sys/prctl.h" | sed 'y%./+-%__p_%'`
10942 echo $ac_n "checking for sys/prctl.h""... $ac_c" 1>&6
10943 echo "configure:10944: checking for sys/prctl.h" >&5
10944 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10945 echo $ac_n "(cached) $ac_c" 1>&6
10947 cat > conftest.
$ac_ext <<EOF
10948 #line 10949 "configure"
10949 #include "confdefs.h"
10950 #include <sys/prctl.h>
10952 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10953 { (eval echo configure
:10954: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10954 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10955 if test -z "$ac_err"; then
10957 eval "ac_cv_header_$ac_safe=yes"
10960 echo "configure: failed program was:" >&5
10961 cat conftest.
$ac_ext >&5
10963 eval "ac_cv_header_$ac_safe=no"
10967 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10968 echo "$ac_t""yes" 1>&6
10970 THREADS_OBJ
="threadsgi.lo"
10973 echo "$ac_t""no" 1>&6
10983 if test -z "$THREADS_OBJ" ; then
10985 echo "configure: warning: No thread support on this system" 1>&2
10989 if test "$wxUSE_THREADS" = "yes" ; then
10990 for ac_func
in thr_setconcurrency
10992 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10993 echo "configure:10994: checking for $ac_func" >&5
10994 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10995 echo $ac_n "(cached) $ac_c" 1>&6
10997 cat > conftest.
$ac_ext <<EOF
10998 #line 10999 "configure"
10999 #include "confdefs.h"
11000 /* System header to define __stub macros and hopefully few prototypes,
11001 which can conflict with char $ac_func(); below. */
11002 #include <assert.h>
11003 /* Override any gcc2 internal prototype to avoid an error. */
11004 /* We use char because int might match the return type of a gcc2
11005 builtin and then its argument prototype would still apply. */
11010 /* The GNU C library defines this for functions which it implements
11011 to always fail with ENOSYS. Some functions are actually named
11012 something starting with __ and the normal name is an alias. */
11013 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11021 if { (eval echo configure
:11022: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11023 eval "ac_cv_func_$ac_func=yes"
11025 echo "configure: failed program was:" >&5
11026 cat conftest.
$ac_ext >&5
11028 eval "ac_cv_func_$ac_func=no"
11033 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11034 echo "$ac_t""yes" 1>&6
11035 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11036 cat >> confdefs.h
<<EOF
11037 #define $ac_tr_func 1
11041 echo "$ac_t""no" 1>&6
11047 for ac_hdr
in sched.h
11049 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11050 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11051 echo "configure:11052: checking for $ac_hdr" >&5
11052 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11053 echo $ac_n "(cached) $ac_c" 1>&6
11055 cat > conftest.
$ac_ext <<EOF
11056 #line 11057 "configure"
11057 #include "confdefs.h"
11060 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11061 { (eval echo configure
:11062: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11062 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11063 if test -z "$ac_err"; then
11065 eval "ac_cv_header_$ac_safe=yes"
11068 echo "configure: failed program was:" >&5
11069 cat conftest.
$ac_ext >&5
11071 eval "ac_cv_header_$ac_safe=no"
11075 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11076 echo "$ac_t""yes" 1>&6
11077 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11078 cat >> confdefs.h
<<EOF
11079 #define $ac_tr_hdr 1
11083 echo "$ac_t""no" 1>&6
11088 echo $ac_n "checking for sched_yield in -l$THREADS_LINK""... $ac_c" 1>&6
11089 echo "configure:11090: checking for sched_yield in -l$THREADS_LINK" >&5
11090 ac_lib_var
=`echo $THREADS_LINK'_'sched_yield | sed 'y%./+-%__p_%'`
11091 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11092 echo $ac_n "(cached) $ac_c" 1>&6
11094 ac_save_LIBS
="$LIBS"
11095 LIBS
="-l$THREADS_LINK $LIBS"
11096 cat > conftest.
$ac_ext <<EOF
11097 #line 11098 "configure"
11098 #include "confdefs.h"
11099 /* Override any gcc2 internal prototype to avoid an error. */
11100 /* We use char because int might match the return type of a gcc2
11101 builtin and then its argument prototype would still apply. */
11102 char sched_yield();
11108 if { (eval echo configure
:11109: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11110 eval "ac_cv_lib_$ac_lib_var=yes"
11112 echo "configure: failed program was:" >&5
11113 cat conftest.
$ac_ext >&5
11115 eval "ac_cv_lib_$ac_lib_var=no"
11118 LIBS
="$ac_save_LIBS"
11121 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11122 echo "$ac_t""yes" 1>&6
11123 cat >> confdefs.h
<<\EOF
11124 #define HAVE_SCHED_YIELD 1
11128 echo "$ac_t""no" 1>&6
11129 echo $ac_n "checking for sched_yield in -l"posix4
"""... $ac_c" 1>&6
11130 echo "configure:11131: checking for sched_yield in -l"posix4
"" >&5
11131 ac_lib_var
=`echo "posix4"'_'sched_yield | sed 'y%./+-%__p_%'`
11132 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11133 echo $ac_n "(cached) $ac_c" 1>&6
11135 ac_save_LIBS
="$LIBS"
11136 LIBS
="-l"posix4
" $LIBS"
11137 cat > conftest.
$ac_ext <<EOF
11138 #line 11139 "configure"
11139 #include "confdefs.h"
11140 /* Override any gcc2 internal prototype to avoid an error. */
11141 /* We use char because int might match the return type of a gcc2
11142 builtin and then its argument prototype would still apply. */
11143 char sched_yield();
11149 if { (eval echo configure
:11150: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11151 eval "ac_cv_lib_$ac_lib_var=yes"
11153 echo "configure: failed program was:" >&5
11154 cat conftest.
$ac_ext >&5
11156 eval "ac_cv_lib_$ac_lib_var=no"
11159 LIBS
="$ac_save_LIBS"
11162 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11163 echo "$ac_t""yes" 1>&6
11164 cat >> confdefs.h
<<\EOF
11165 #define HAVE_SCHED_YIELD 1
11167 POSIX4_LINK
="-lposix4"
11169 echo "$ac_t""no" 1>&6
11170 echo "configure: warning: wxThread::Yield will not work properly" 1>&2
11178 echo $ac_n "checking for pthread_attr_getschedpolicy in -l$THREADS_LINK""... $ac_c" 1>&6
11179 echo "configure:11180: checking for pthread_attr_getschedpolicy in -l$THREADS_LINK" >&5
11180 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
11181 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11182 echo $ac_n "(cached) $ac_c" 1>&6
11184 ac_save_LIBS
="$LIBS"
11185 LIBS
="-l$THREADS_LINK $LIBS"
11186 cat > conftest.
$ac_ext <<EOF
11187 #line 11188 "configure"
11188 #include "confdefs.h"
11189 /* Override any gcc2 internal prototype to avoid an error. */
11190 /* We use char because int might match the return type of a gcc2
11191 builtin and then its argument prototype would still apply. */
11192 char pthread_attr_getschedpolicy();
11195 pthread_attr_getschedpolicy()
11198 if { (eval echo configure
:11199: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11200 eval "ac_cv_lib_$ac_lib_var=yes"
11202 echo "configure: failed program was:" >&5
11203 cat conftest.
$ac_ext >&5
11205 eval "ac_cv_lib_$ac_lib_var=no"
11208 LIBS
="$ac_save_LIBS"
11211 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11212 echo "$ac_t""yes" 1>&6
11213 cat >> confdefs.h
<<\EOF
11214 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
11218 echo "$ac_t""no" 1>&6
11219 echo $ac_n "checking for pthread_attr_getschedpolicy in -l"posix4
"""... $ac_c" 1>&6
11220 echo "configure:11221: checking for pthread_attr_getschedpolicy in -l"posix4
"" >&5
11221 ac_lib_var
=`echo "posix4"'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
11222 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11223 echo $ac_n "(cached) $ac_c" 1>&6
11225 ac_save_LIBS
="$LIBS"
11226 LIBS
="-l"posix4
" $LIBS"
11227 cat > conftest.
$ac_ext <<EOF
11228 #line 11229 "configure"
11229 #include "confdefs.h"
11230 /* Override any gcc2 internal prototype to avoid an error. */
11231 /* We use char because int might match the return type of a gcc2
11232 builtin and then its argument prototype would still apply. */
11233 char pthread_attr_getschedpolicy();
11236 pthread_attr_getschedpolicy()
11239 if { (eval echo configure
:11240: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11241 eval "ac_cv_lib_$ac_lib_var=yes"
11243 echo "configure: failed program was:" >&5
11244 cat conftest.
$ac_ext >&5
11246 eval "ac_cv_lib_$ac_lib_var=no"
11249 LIBS
="$ac_save_LIBS"
11252 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11253 echo "$ac_t""yes" 1>&6
11254 cat >> confdefs.h
<<\EOF
11255 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
11257 POSIX4_LINK
="-lposix4"
11259 echo "$ac_t""no" 1>&6
11260 echo "configure: warning: Setting thread priority will not work" 1>&2
11268 echo $ac_n "checking for pthread_cancel in -l$THREADS_LINK""... $ac_c" 1>&6
11269 echo "configure:11270: checking for pthread_cancel in -l$THREADS_LINK" >&5
11270 ac_lib_var
=`echo $THREADS_LINK'_'pthread_cancel | sed 'y%./+-%__p_%'`
11271 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11272 echo $ac_n "(cached) $ac_c" 1>&6
11274 ac_save_LIBS
="$LIBS"
11275 LIBS
="-l$THREADS_LINK $LIBS"
11276 cat > conftest.
$ac_ext <<EOF
11277 #line 11278 "configure"
11278 #include "confdefs.h"
11279 /* Override any gcc2 internal prototype to avoid an error. */
11280 /* We use char because int might match the return type of a gcc2
11281 builtin and then its argument prototype would still apply. */
11282 char pthread_cancel();
11288 if { (eval echo configure
:11289: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11290 eval "ac_cv_lib_$ac_lib_var=yes"
11292 echo "configure: failed program was:" >&5
11293 cat conftest.
$ac_ext >&5
11295 eval "ac_cv_lib_$ac_lib_var=no"
11298 LIBS
="$ac_save_LIBS"
11301 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11302 echo "$ac_t""yes" 1>&6
11303 cat >> confdefs.h
<<\EOF
11304 #define HAVE_PTHREAD_CANCEL 1
11308 echo "$ac_t""no" 1>&6
11309 echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
11313 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
11314 echo "configure:11315: checking for pthread_cleanup_push/pop" >&5
11315 if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
11316 echo $ac_n "(cached) $ac_c" 1>&6
11319 cat > conftest.
$ac_ext <<EOF
11320 #line 11321 "configure"
11321 #include "confdefs.h"
11322 #include <pthread.h>
11325 pthread_cleanup_push(NULL, NULL);
11326 pthread_cleanup_pop(0);
11330 if { (eval echo configure
:11331: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11333 wx_cv_func_pthread_cleanup_push
=yes
11334 cat >> confdefs.h
<<\EOF
11335 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
11340 echo "configure: failed program was:" >&5
11341 cat conftest.
$ac_ext >&5
11344 wx_cv_func_pthread_cleanup_push
=no
11351 echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
11353 THREADS_LINK
="-l$THREADS_LINK"
11358 if test "$wxUSE_THREADS" = "yes"; then
11359 cat >> confdefs.h
<<\EOF
11360 #define wxUSE_THREADS 1
11364 CFLAGS
="${CFLAGS} -D_REENTRANT"
11365 CXXFLAGS
="${CXXFLAGS} -D_REENTRANT"
11367 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
11369 if test "$ac_cv_func_strtok_r" = "yes"; then
11370 echo $ac_n "checking if -D_REENTRANT is needed""... $ac_c" 1>&6
11371 echo "configure:11372: checking if -D_REENTRANT is needed" >&5
11372 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
11373 CFLAGS
="${CFLAGS} -D_REENTRANT"
11374 CXXFLAGS
="${CXXFLAGS} -D_REENTRANT"
11375 echo "$ac_t""yes" 1>&6
11377 echo "$ac_t""no" 1>&6
11382 if test "$WXGTK13" = 1 ; then
11383 cat >> confdefs.h
<<EOF
11384 #define __WXGTK13__ $WXGTK13
11390 if test "$WXGTK12" = 1 ; then
11391 cat >> confdefs.h
<<EOF
11392 #define __WXGTK12__ $WXGTK12
11397 if test "$WXWINE" = 1 ; then
11398 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WXWINE__"
11401 if test "$wxUSE_CYGWIN" = 1 ; then
11402 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WIN95__"
11407 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
11412 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
11413 wxUSE_DEBUG_INFO
=yes
11417 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
11418 cat >> confdefs.h
<<\EOF
11422 WXDEBUG_DEFINE
="-D__WXDEBUG__"
11424 if test "$wxUSE_GTK" = 1 ; then
11425 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
11429 if test "$wxUSE_MEM_TRACING" = "yes" ; then
11430 cat >> confdefs.h
<<\EOF
11431 #define wxUSE_MEMORY_TRACING 1
11434 cat >> confdefs.h
<<\EOF
11435 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
11438 cat >> confdefs.h
<<\EOF
11439 #define wxUSE_DEBUG_NEW_ALWAYS 1
11442 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
11445 if test "$wxUSE_DMALLOC" = "yes" ; then
11446 DMALLOC_LINK
="-ldmalloc"
11450 if test "$wxUSE_PROFILE" = "yes" ; then
11456 if test "$GCC" = yes ; then
11457 if test "$wxUSE_NO_RTTI" = "yes" ; then
11458 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fno-rtti"
11460 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
11461 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fno-exceptions"
11463 if test "$wxUSE_PERMISSIVE" = "yes" ; then
11464 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
11466 if test "$wxUSE_NO_DEPS" = "no" ; then
11467 DEP_INFO_FLAGS
="-MMD"
11472 CXXFLAGS
=`echo "${CXXFLAGS}" | sed "s/\-O.//g" `
11473 CFLAGS
=`echo "${CFLAGS}" | sed "s/\-O.//g" `
11474 if test "$wxUSE_OPTIMISE" = "no" ; then
11477 if test "$GCC" = yes ; then
11480 i586
-*-*|i686
-*-* )
11481 OPTIMISE
="${OPTIMISE} "
11491 if test "$wxUSE_ZLIB" = "yes" ; then
11492 cat >> confdefs.h
<<\EOF
11493 #define wxUSE_ZLIB 1
11496 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
11500 if test "$wxUSE_LIBPNG" = "yes" ; then
11501 cat >> confdefs.h
<<\EOF
11502 #define wxUSE_LIBPNG 1
11505 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
11506 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
11510 if test "$wxUSE_LIBJPEG" = "yes" ; then
11511 cat >> confdefs.h
<<\EOF
11512 #define wxUSE_LIBJPEG 1
11515 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
11519 if test "$wxUSE_LIBTIFF" = "yes" ; then
11520 cat >> confdefs.h
<<\EOF
11521 #define wxUSE_LIBTIFF 1
11524 TIFF_INCLUDE
="-I\${top_srcdir}/src/tiff"
11527 if test "$wxUSE_OPENGL" = "yes"; then
11528 ac_safe
=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
11529 echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
11530 echo "configure:11531: checking for GL/gl.h" >&5
11531 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11532 echo $ac_n "(cached) $ac_c" 1>&6
11534 cat > conftest.
$ac_ext <<EOF
11535 #line 11536 "configure"
11536 #include "confdefs.h"
11539 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11540 { (eval echo configure
:11541: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11541 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11542 if test -z "$ac_err"; then
11544 eval "ac_cv_header_$ac_safe=yes"
11547 echo "configure: failed program was:" >&5
11548 cat conftest.
$ac_ext >&5
11550 eval "ac_cv_header_$ac_safe=no"
11554 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11555 echo "$ac_t""yes" 1>&6
11557 cat >> confdefs.h
<<\EOF
11558 #define wxUSE_OPENGL 1
11561 cat >> confdefs.h
<<\EOF
11562 #define wxUSE_GLCANVAS 1
11565 echo $ac_n "checking for glFlush in -lGL""... $ac_c" 1>&6
11566 echo "configure:11567: checking for glFlush in -lGL" >&5
11567 ac_lib_var
=`echo GL'_'glFlush | sed 'y%./+-%__p_%'`
11568 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11569 echo $ac_n "(cached) $ac_c" 1>&6
11571 ac_save_LIBS
="$LIBS"
11573 cat > conftest.
$ac_ext <<EOF
11574 #line 11575 "configure"
11575 #include "confdefs.h"
11576 /* Override any gcc2 internal prototype to avoid an error. */
11577 /* We use char because int might match the return type of a gcc2
11578 builtin and then its argument prototype would still apply. */
11585 if { (eval echo configure
:11586: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11587 eval "ac_cv_lib_$ac_lib_var=yes"
11589 echo "configure: failed program was:" >&5
11590 cat conftest.
$ac_ext >&5
11592 eval "ac_cv_lib_$ac_lib_var=no"
11595 LIBS
="$ac_save_LIBS"
11598 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11599 echo "$ac_t""yes" 1>&6
11604 echo "$ac_t""no" 1>&6
11606 echo $ac_n "checking for glFlush in -lMesaGL""... $ac_c" 1>&6
11607 echo "configure:11608: checking for glFlush in -lMesaGL" >&5
11608 ac_lib_var
=`echo MesaGL'_'glFlush | sed 'y%./+-%__p_%'`
11609 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11610 echo $ac_n "(cached) $ac_c" 1>&6
11612 ac_save_LIBS
="$LIBS"
11613 LIBS
="-lMesaGL $LIBS"
11614 cat > conftest.
$ac_ext <<EOF
11615 #line 11616 "configure"
11616 #include "confdefs.h"
11617 /* Override any gcc2 internal prototype to avoid an error. */
11618 /* We use char because int might match the return type of a gcc2
11619 builtin and then its argument prototype would still apply. */
11626 if { (eval echo configure
:11627: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11628 eval "ac_cv_lib_$ac_lib_var=yes"
11630 echo "configure: failed program was:" >&5
11631 cat conftest.
$ac_ext >&5
11633 eval "ac_cv_lib_$ac_lib_var=no"
11636 LIBS
="$ac_save_LIBS"
11639 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11640 echo "$ac_t""yes" 1>&6
11642 OPENGL_LINK
="-lMesaGL"
11645 echo "$ac_t""no" 1>&6
11653 echo "$ac_t""no" 1>&6
11660 if test "$wxUSE_GUI" = "yes"; then
11661 cat >> confdefs.h
<<\EOF
11662 #define wxUSE_GUI 1
11667 cat >> confdefs.h
<<\EOF
11668 #define wxUSE_NOGUI 1
11674 if test "$wxUSE_UNIX" = "yes"; then
11675 cat >> confdefs.h
<<\EOF
11676 #define wxUSE_UNIX 1
11682 if test "$wxUSE_APPLE_IEEE" = "yes"; then
11683 cat >> confdefs.h
<<\EOF
11684 #define wxUSE_APPLE_IEEE 1
11689 if test "$wxUSE_WAVE" = "yes"; then
11690 cat >> confdefs.h
<<\EOF
11691 #define wxUSE_WAVE 1
11696 if test "$wxUSE_FILE" = "yes"; then
11697 cat >> confdefs.h
<<\EOF
11698 #define wxUSE_FILE 1
11703 if test "$wxUSE_FILESYSTEM" = "yes"; then
11704 cat >> confdefs.h
<<\EOF
11705 #define wxUSE_FILESYSTEM 1
11710 if test "$wxUSE_FS_INET" = "yes"; then
11711 cat >> confdefs.h
<<\EOF
11712 #define wxUSE_FS_INET 1
11717 if test "$wxUSE_FS_ZIP" = "yes"; then
11718 cat >> confdefs.h
<<\EOF
11719 #define wxUSE_FS_ZIP 1
11724 if test "$wxUSE_ZIPSTREAM" = "yes"; then
11725 cat >> confdefs.h
<<\EOF
11726 #define wxUSE_ZIPSTREAM 1
11731 if test "$wxUSE_BUSYINFO" = "yes"; then
11732 cat >> confdefs.h
<<\EOF
11733 #define wxUSE_BUSYINFO 1
11738 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
11739 cat >> confdefs.h
<<\EOF
11740 #define wxUSE_STD_IOSTREAM 1
11745 if test "$wxUSE_TEXTFILE" = "yes"; then
11746 if test "$wxUSE_FILE" != "yes"; then
11747 echo "configure: warning: wxTextFile requires wxFile and it won't be compiled without it" 1>&2
11749 cat >> confdefs.h
<<\EOF
11750 #define wxUSE_TEXTFILE 1
11756 if test "$wxUSE_CONFIG" = "yes" ; then
11757 if test "$wxUSE_TEXTFILE" != "yes"; then
11758 echo "configure: warning: wxConfig requires wxTextFile and it won't be compiled without it" 1>&2
11760 cat >> confdefs.h
<<\EOF
11761 #define wxUSE_CONFIG 1
11764 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
11768 if test "$wxUSE_INTL" = "yes" ; then
11769 if test "$wxUSE_FILE" != "yes"; then
11770 echo "configure: warning: I18n code requires wxFile and it won't be compiled without it" 1>&2
11772 cat >> confdefs.h
<<\EOF
11773 #define wxUSE_INTL 1
11776 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
11780 if test "$wxUSE_LOG" = "yes"; then
11781 cat >> confdefs.h
<<\EOF
11782 #define wxUSE_LOG 1
11787 if test "$wxUSE_LONGLONG" = "yes"; then
11788 cat >> confdefs.h
<<\EOF
11789 #define wxUSE_LONGLONG 1
11794 if test "$wxUSE_PLOT" = "yes"; then
11795 cat >> confdefs.h
<<\EOF
11796 #define wxUSE_PLOT 1
11801 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
11802 cat >> confdefs.h
<<\EOF
11803 #define wxUSE_DIALUP_MANAGER 1
11806 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
11809 if test "$wxUSE_STREAMS" = "yes" ; then
11810 cat >> confdefs.h
<<\EOF
11811 #define wxUSE_STREAMS 1
11817 if test "$wxUSE_TIMEDATE" = "yes"; then
11818 for ac_func
in strptime
11820 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11821 echo "configure:11822: checking for $ac_func" >&5
11822 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11823 echo $ac_n "(cached) $ac_c" 1>&6
11825 cat > conftest.
$ac_ext <<EOF
11826 #line 11827 "configure"
11827 #include "confdefs.h"
11828 /* System header to define __stub macros and hopefully few prototypes,
11829 which can conflict with char $ac_func(); below. */
11830 #include <assert.h>
11831 /* Override any gcc2 internal prototype to avoid an error. */
11832 /* We use char because int might match the return type of a gcc2
11833 builtin and then its argument prototype would still apply. */
11838 /* The GNU C library defines this for functions which it implements
11839 to always fail with ENOSYS. Some functions are actually named
11840 something starting with __ and the normal name is an alias. */
11841 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11849 if { (eval echo configure
:11850: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11851 eval "ac_cv_func_$ac_func=yes"
11853 echo "configure: failed program was:" >&5
11854 cat conftest.
$ac_ext >&5
11856 eval "ac_cv_func_$ac_func=no"
11861 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11862 echo "$ac_t""yes" 1>&6
11863 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11864 cat >> confdefs.h
<<EOF
11865 #define $ac_tr_func 1
11869 echo "$ac_t""no" 1>&6
11874 echo $ac_n "checking for timezone variable in <time.h>""... $ac_c" 1>&6
11875 echo "configure:11876: checking for timezone variable in <time.h>" >&5
11876 if eval "test \"`echo '$''{'wx_cv_var_timezone'+set}'`\" = set"; then
11877 echo $ac_n "(cached) $ac_c" 1>&6
11880 cat > conftest.
$ac_ext <<EOF
11881 #line 11882 "configure"
11882 #include "confdefs.h"
11893 if { (eval echo configure
:11894: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11896 wx_cv_var_timezone
=__timezone
11899 echo "configure: failed program was:" >&5
11900 cat conftest.
$ac_ext >&5
11903 cat > conftest.
$ac_ext <<EOF
11904 #line 11905 "configure"
11905 #include "confdefs.h"
11916 if { (eval echo configure
:11917: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11919 wx_cv_var_timezone
=_timezone
11922 echo "configure: failed program was:" >&5
11923 cat conftest.
$ac_ext >&5
11926 cat > conftest.
$ac_ext <<EOF
11927 #line 11928 "configure"
11928 #include "confdefs.h"
11939 if { (eval echo configure
:11940: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11942 wx_cv_var_timezone
=timezone
11945 echo "configure: failed program was:" >&5
11946 cat conftest.
$ac_ext >&5
11948 { echo "configure: error: no timezone variable" 1>&2; exit 1; }
11964 echo "$ac_t""$wx_cv_var_timezone" 1>&6
11966 cat >> confdefs.h
<<EOF
11967 #define WX_TIMEZONE $wx_cv_var_timezone
11971 for ac_func
in localtime
11973 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11974 echo "configure:11975: checking for $ac_func" >&5
11975 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11976 echo $ac_n "(cached) $ac_c" 1>&6
11978 cat > conftest.
$ac_ext <<EOF
11979 #line 11980 "configure"
11980 #include "confdefs.h"
11981 /* System header to define __stub macros and hopefully few prototypes,
11982 which can conflict with char $ac_func(); below. */
11983 #include <assert.h>
11984 /* Override any gcc2 internal prototype to avoid an error. */
11985 /* We use char because int might match the return type of a gcc2
11986 builtin and then its argument prototype would still apply. */
11991 /* The GNU C library defines this for functions which it implements
11992 to always fail with ENOSYS. Some functions are actually named
11993 something starting with __ and the normal name is an alias. */
11994 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12002 if { (eval echo configure
:12003: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12004 eval "ac_cv_func_$ac_func=yes"
12006 echo "configure: failed program was:" >&5
12007 cat conftest.
$ac_ext >&5
12009 eval "ac_cv_func_$ac_func=no"
12014 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12015 echo "$ac_t""yes" 1>&6
12016 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12017 cat >> confdefs.h
<<EOF
12018 #define $ac_tr_func 1
12022 echo "$ac_t""no" 1>&6
12027 if test "$ac_cv_func_localtime" = "yes"; then
12028 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
12029 echo "configure:12030: checking for tm_gmtoff in struct tm" >&5
12030 if eval "test \"`echo '$''{'wx_cv_struct_tm_has_gmtoff'+set}'`\" = set"; then
12031 echo $ac_n "(cached) $ac_c" 1>&6
12034 cat > conftest.
$ac_ext <<EOF
12035 #line 12036 "configure"
12036 #include "confdefs.h"
12047 if { (eval echo configure
:12048: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12050 wx_cv_struct_tm_has_gmtoff
=yes
12051 cat >> confdefs.h
<<\EOF
12052 #define WX_GMTOFF_IN_TM 1
12057 echo "configure: failed program was:" >&5
12058 cat conftest.
$ac_ext >&5
12060 wx_cv_struct_tm_has_gmtoff
=no
12067 echo "$ac_t""$wx_cv_struct_tm_has_gmtoff" 1>&6
12070 for ac_func
in gettimeofday ftime
12072 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12073 echo "configure:12074: checking for $ac_func" >&5
12074 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12075 echo $ac_n "(cached) $ac_c" 1>&6
12077 cat > conftest.
$ac_ext <<EOF
12078 #line 12079 "configure"
12079 #include "confdefs.h"
12080 /* System header to define __stub macros and hopefully few prototypes,
12081 which can conflict with char $ac_func(); below. */
12082 #include <assert.h>
12083 /* Override any gcc2 internal prototype to avoid an error. */
12084 /* We use char because int might match the return type of a gcc2
12085 builtin and then its argument prototype would still apply. */
12090 /* The GNU C library defines this for functions which it implements
12091 to always fail with ENOSYS. Some functions are actually named
12092 something starting with __ and the normal name is an alias. */
12093 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12101 if { (eval echo configure
:12102: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12103 eval "ac_cv_func_$ac_func=yes"
12105 echo "configure: failed program was:" >&5
12106 cat conftest.
$ac_ext >&5
12108 eval "ac_cv_func_$ac_func=no"
12113 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12114 echo "$ac_t""yes" 1>&6
12115 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12116 cat >> confdefs.h
<<EOF
12117 #define $ac_tr_func 1
12121 echo "$ac_t""no" 1>&6
12126 if test "$ac_cv_func_gettimeofday" = "yes"; then
12127 echo $ac_n "checking whether gettimeofday takes two arguments""... $ac_c" 1>&6
12128 echo "configure:12129: checking whether gettimeofday takes two arguments" >&5
12129 if eval "test \"`echo '$''{'wx_cv_func_gettimeofday_has_2_args'+set}'`\" = set"; then
12130 echo $ac_n "(cached) $ac_c" 1>&6
12135 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12136 ac_cpp
='$CXXCPP $CPPFLAGS'
12137 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12138 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12139 cross_compiling
=$ac_cv_prog_cxx_cross
12142 cat > conftest.
$ac_ext <<EOF
12143 #line 12144 "configure"
12144 #include "confdefs.h"
12146 #include <sys/time.h>
12147 #include <unistd.h>
12152 struct timezone tz;
12153 gettimeofday(&tv, &tz);
12157 if { (eval echo configure
:12158: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12159 wx_cv_func_gettimeofday_has_2_args
=yes
12161 echo "configure: failed program was:" >&5
12162 cat conftest.
$ac_ext >&5
12164 cat > conftest.
$ac_ext <<EOF
12165 #line 12166 "configure"
12166 #include "confdefs.h"
12168 #include <sys/time.h>
12169 #include <unistd.h>
12178 if { (eval echo configure
:12179: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12180 wx_cv_func_gettimeofday_has_2_args
=no
12182 echo "configure: failed program was:" >&5
12183 cat conftest.
$ac_ext >&5
12185 wx_cv_func_gettimeofday_has_2_args
=unknown
12193 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12194 ac_cpp
='$CPP $CPPFLAGS'
12195 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12196 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12197 cross_compiling
=$ac_cv_prog_cc_cross
12202 echo "$ac_t""$wx_cv_func_gettimeofday_has_2_args" 1>&6
12204 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
12205 cat >> confdefs.h
<<\EOF
12206 #define WX_GETTIMEOFDAY_NO_TZ 1
12212 cat >> confdefs.h
<<\EOF
12213 #define wxUSE_TIMEDATE 1
12216 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
12220 if test "$TOOLKIT" != "MSW"; then
12222 if test "$wxUSE_SOCKETS" = "yes"; then
12223 echo $ac_n "checking for socket""... $ac_c" 1>&6
12224 echo "configure:12225: checking for socket" >&5
12225 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
12226 echo $ac_n "(cached) $ac_c" 1>&6
12228 cat > conftest.
$ac_ext <<EOF
12229 #line 12230 "configure"
12230 #include "confdefs.h"
12231 /* System header to define __stub macros and hopefully few prototypes,
12232 which can conflict with char socket(); below. */
12233 #include <assert.h>
12234 /* Override any gcc2 internal prototype to avoid an error. */
12235 /* We use char because int might match the return type of a gcc2
12236 builtin and then its argument prototype would still apply. */
12241 /* The GNU C library defines this for functions which it implements
12242 to always fail with ENOSYS. Some functions are actually named
12243 something starting with __ and the normal name is an alias. */
12244 #if defined (__stub_socket) || defined (__stub___socket)
12252 if { (eval echo configure
:12253: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12254 eval "ac_cv_func_socket=yes"
12256 echo "configure: failed program was:" >&5
12257 cat conftest.
$ac_ext >&5
12259 eval "ac_cv_func_socket=no"
12264 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
12265 echo "$ac_t""yes" 1>&6
12268 echo "$ac_t""no" 1>&6
12269 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
12270 echo "configure:12271: checking for socket in -lsocket" >&5
12271 ac_lib_var
=`echo socket'_'socket | sed 'y%./+-%__p_%'`
12272 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12273 echo $ac_n "(cached) $ac_c" 1>&6
12275 ac_save_LIBS
="$LIBS"
12276 LIBS
="-lsocket $LIBS"
12277 cat > conftest.
$ac_ext <<EOF
12278 #line 12279 "configure"
12279 #include "confdefs.h"
12280 /* Override any gcc2 internal prototype to avoid an error. */
12281 /* We use char because int might match the return type of a gcc2
12282 builtin and then its argument prototype would still apply. */
12289 if { (eval echo configure
:12290: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12291 eval "ac_cv_lib_$ac_lib_var=yes"
12293 echo "configure: failed program was:" >&5
12294 cat conftest.
$ac_ext >&5
12296 eval "ac_cv_lib_$ac_lib_var=no"
12299 LIBS
="$ac_save_LIBS"
12302 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12303 echo "$ac_t""yes" 1>&6
12304 INET_LINK
="$INET_LINK -lsocket"
12306 echo "$ac_t""no" 1>&6
12308 echo "configure: warning: socket library not found - sockets will be disabled" 1>&2
12321 if test "$wxUSE_SOCKETS" = "yes" ; then
12322 echo $ac_n "checking what is the type of the third argument of getsockname""... $ac_c" 1>&6
12323 echo "configure:12324: checking what is the type of the third argument of getsockname" >&5
12324 if eval "test \"`echo '$''{'wx_cv_type_getsockname3'+set}'`\" = set"; then
12325 echo $ac_n "(cached) $ac_c" 1>&6
12330 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12331 ac_cpp
='$CXXCPP $CPPFLAGS'
12332 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12333 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12334 cross_compiling
=$ac_cv_prog_cxx_cross
12337 cat > conftest.
$ac_ext <<EOF
12338 #line 12339 "configure"
12339 #include "confdefs.h"
12341 #include <sys/types.h>
12342 #include <sys/socket.h>
12347 getsockname(0, 0, &len);
12351 if { (eval echo configure
:12352: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12353 wx_cv_type_getsockname3
=socklen_t
12355 echo "configure: failed program was:" >&5
12356 cat conftest.
$ac_ext >&5
12358 cat > conftest.
$ac_ext <<EOF
12359 #line 12360 "configure"
12360 #include "confdefs.h"
12362 #include <sys/types.h>
12363 #include <sys/socket.h>
12368 getsockname(0, 0, &len);
12372 if { (eval echo configure
:12373: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12374 wx_cv_type_getsockname3
=size_t
12376 echo "configure: failed program was:" >&5
12377 cat conftest.
$ac_ext >&5
12379 cat > conftest.
$ac_ext <<EOF
12380 #line 12381 "configure"
12381 #include "confdefs.h"
12383 #include <sys/types.h>
12384 #include <sys/socket.h>
12389 getsockname(0, 0, &len);
12393 if { (eval echo configure
:12394: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12395 wx_cv_type_getsockname3
=int
12397 echo "configure: failed program was:" >&5
12398 cat conftest.
$ac_ext >&5
12400 wx_cv_type_getsockname3
=unknown
12412 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12413 ac_cpp
='$CPP $CPPFLAGS'
12414 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12415 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12416 cross_compiling
=$ac_cv_prog_cc_cross
12421 echo "$ac_t""$wx_cv_type_getsockname3" 1>&6
12423 if test "$wx_cv_type_getsockname3" = "unknown"; then
12425 echo "configure: warning: Couldn't find socklen_t synonym for this system" 1>&2
12427 cat >> confdefs.h
<<EOF
12428 #define SOCKLEN_T $wx_cv_type_getsockname3
12434 if test "$wxUSE_SOCKETS" = "yes" ; then
12435 cat >> confdefs.h
<<\EOF
12436 #define wxUSE_SOCKETS 1
12439 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
12440 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS protocol"
12444 if test "$TOOLKIT" != "MSW"; then
12446 if test "$wxUSE_JOYSTICK" = 1; then
12447 for ac_hdr
in linux
/joystick.h
12449 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12450 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12451 echo "configure:12452: checking for $ac_hdr" >&5
12452 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12453 echo $ac_n "(cached) $ac_c" 1>&6
12455 cat > conftest.
$ac_ext <<EOF
12456 #line 12457 "configure"
12457 #include "confdefs.h"
12460 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12461 { (eval echo configure
:12462: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12462 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12463 if test -z "$ac_err"; then
12465 eval "ac_cv_header_$ac_safe=yes"
12468 echo "configure: failed program was:" >&5
12469 cat conftest.
$ac_ext >&5
12471 eval "ac_cv_header_$ac_safe=no"
12475 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12476 echo "$ac_t""yes" 1>&6
12477 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12478 cat >> confdefs.h
<<EOF
12479 #define $ac_tr_hdr 1
12483 echo "$ac_t""no" 1>&6
12487 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
12489 echo "configure: warning: Joystick not supported yb this system" 1>&2
12495 if test "$wxUSE_JOYSTICK" = 1; then
12496 cat >> confdefs.h
<<\EOF
12497 #define wxUSE_JOYSTICK 1
12500 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
12504 if test "$TOOLKIT" != "MSW"; then
12508 if test "$wxUSE_DYNLIB_CLASS" = "yes"; then
12509 for ac_func
in dlopen
12511 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12512 echo "configure:12513: checking for $ac_func" >&5
12513 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12514 echo $ac_n "(cached) $ac_c" 1>&6
12516 cat > conftest.
$ac_ext <<EOF
12517 #line 12518 "configure"
12518 #include "confdefs.h"
12519 /* System header to define __stub macros and hopefully few prototypes,
12520 which can conflict with char $ac_func(); below. */
12521 #include <assert.h>
12522 /* Override any gcc2 internal prototype to avoid an error. */
12523 /* We use char because int might match the return type of a gcc2
12524 builtin and then its argument prototype would still apply. */
12529 /* The GNU C library defines this for functions which it implements
12530 to always fail with ENOSYS. Some functions are actually named
12531 something starting with __ and the normal name is an alias. */
12532 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12540 if { (eval echo configure
:12541: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12542 eval "ac_cv_func_$ac_func=yes"
12544 echo "configure: failed program was:" >&5
12545 cat conftest.
$ac_ext >&5
12547 eval "ac_cv_func_$ac_func=no"
12552 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12553 echo "$ac_t""yes" 1>&6
12554 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12555 cat >> confdefs.h
<<EOF
12556 #define $ac_tr_func 1
12559 cat >> confdefs.h
<<\EOF
12560 #define HAVE_DLOPEN 1
12566 echo "$ac_t""no" 1>&6
12567 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
12568 echo "configure:12569: checking for dlopen in -ldl" >&5
12569 ac_lib_var
=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
12570 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12571 echo $ac_n "(cached) $ac_c" 1>&6
12573 ac_save_LIBS
="$LIBS"
12575 cat > conftest.
$ac_ext <<EOF
12576 #line 12577 "configure"
12577 #include "confdefs.h"
12578 /* Override any gcc2 internal prototype to avoid an error. */
12579 /* We use char because int might match the return type of a gcc2
12580 builtin and then its argument prototype would still apply. */
12587 if { (eval echo configure
:12588: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12589 eval "ac_cv_lib_$ac_lib_var=yes"
12591 echo "configure: failed program was:" >&5
12592 cat conftest.
$ac_ext >&5
12594 eval "ac_cv_lib_$ac_lib_var=no"
12597 LIBS
="$ac_save_LIBS"
12600 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12601 echo "$ac_t""yes" 1>&6
12603 cat >> confdefs.h
<<\EOF
12604 #define HAVE_DLOPEN 1
12611 echo "$ac_t""no" 1>&6
12613 for ac_func
in shl_load
12615 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12616 echo "configure:12617: checking for $ac_func" >&5
12617 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12618 echo $ac_n "(cached) $ac_c" 1>&6
12620 cat > conftest.
$ac_ext <<EOF
12621 #line 12622 "configure"
12622 #include "confdefs.h"
12623 /* System header to define __stub macros and hopefully few prototypes,
12624 which can conflict with char $ac_func(); below. */
12625 #include <assert.h>
12626 /* Override any gcc2 internal prototype to avoid an error. */
12627 /* We use char because int might match the return type of a gcc2
12628 builtin and then its argument prototype would still apply. */
12633 /* The GNU C library defines this for functions which it implements
12634 to always fail with ENOSYS. Some functions are actually named
12635 something starting with __ and the normal name is an alias. */
12636 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12644 if { (eval echo configure
:12645: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12646 eval "ac_cv_func_$ac_func=yes"
12648 echo "configure: failed program was:" >&5
12649 cat conftest.
$ac_ext >&5
12651 eval "ac_cv_func_$ac_func=no"
12656 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12657 echo "$ac_t""yes" 1>&6
12658 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12659 cat >> confdefs.h
<<EOF
12660 #define $ac_tr_func 1
12663 cat >> confdefs.h
<<\EOF
12664 #define HAVE_SHL_LOAD 1
12670 echo "$ac_t""no" 1>&6
12682 if test "$HAVE_DL_FUNCS" = 0; then
12683 if test "$HAVE_SHL_FUNCS" = 0; then
12684 if test "$USE_UNIX" = 1; then
12685 echo "configure: warning: Missing dynamic loading support, several features will be disabled" 1>&2
12686 wxUSE_DYNLIB_CLASS
=no
12688 echo "configure: warning: Assuming wxLibrary class works on this platform" 1>&2
12696 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
12697 cat >> confdefs.h
<<\EOF
12698 #define wxUSE_DYNLIB_CLASS 1
12707 if test "$wxUSE_UNICODE" = "yes" ; then
12708 cat >> confdefs.h
<<\EOF
12709 #define wxUSE_UNICODE 1
12714 if test "$wxUSE_WCSRTOMBS" = "yes" ; then
12715 cat >> confdefs.h
<<\EOF
12716 #define wxUSE_WCSRTOMBS 1
12721 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
12722 cat >> confdefs.h
<<\EOF
12723 #define wxUSE_EXPERIMENTAL_PRINTF 1
12729 if test "$wxUSE_SERIAL" = "yes" ; then
12730 cat >> confdefs.h
<<\EOF
12731 #define wxUSE_SERIAL 1
12738 if test "$wxUSE_ODBC" = "yes" ; then
12739 cat >> confdefs.h
<<\EOF
12740 #define wxUSE_ODBC 1
12743 WXODBCFLAG
="-D_IODBC_"
12744 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
12745 IODBCOBJS
="\$(IODBC_OBJS)"
12751 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
12752 cat >> confdefs.h
<<\EOF
12753 #define wxUSE_POSTSCRIPT 1
12758 cat >> confdefs.h
<<\EOF
12759 #define wxUSE_AFM_FOR_POSTSCRIPT 1
12763 cat >> confdefs.h
<<\EOF
12764 #define wxUSE_NORMALIZED_PS_FONTS 1
12769 if test "$wxUSE_CONSTRAINTS" = "yes"; then
12770 cat >> confdefs.h
<<\EOF
12771 #define wxUSE_CONSTRAINTS 1
12774 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
12777 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
12778 cat >> confdefs.h
<<\EOF
12779 #define wxUSE_MDI_ARCHITECTURE 1
12782 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
12785 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
12786 cat >> confdefs.h
<<\EOF
12787 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
12790 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
12791 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
12792 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
12796 if test "$wxUSE_HELP" = "yes"; then
12797 cat >> confdefs.h
<<\EOF
12798 #define wxUSE_HELP 1
12801 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
12804 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
12805 if test "$wxUSE_CONSTRAINTS" != "yes"; then
12806 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
12808 cat >> confdefs.h
<<\EOF
12809 #define wxUSE_PRINTING_ARCHITECTURE 1
12813 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
12816 if test "$wxUSE_PROLOGIO" = "yes" ; then
12817 cat >> confdefs.h
<<\EOF
12818 #define wxUSE_PROLOGIO 1
12823 if test "$wxUSE_RESOURCES" = "yes" ; then
12824 if test "$wxUSE_PROLOGIO" = "yes" ; then
12825 cat >> confdefs.h
<<\EOF
12826 #define wxUSE_RESOURCES 1
12829 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS resource"
12831 echo "configure: warning: wxWindows ressource system requires PrologIO and can't be compiled without it." 1>&2
12835 if test "$wxUSE_X_RESOURCES" = "yes"; then
12836 cat >> confdefs.h
<<\EOF
12837 #define wxUSE_X_RESOURCES 1
12843 if test "$wxUSE_IPC" = "yes"; then
12844 cat >> confdefs.h
<<\EOF
12845 #define wxUSE_IPC 1
12850 if test "$wxUSE_CLIPBOARD" = "yes"; then
12851 cat >> confdefs.h
<<\EOF
12852 #define wxUSE_CLIPBOARD 1
12857 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
12858 if test "$wxUSE_GTK" = 1; then
12859 if test "$WXGTK12" != 1; then
12860 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2" 1>&2
12861 wxUSE_DRAG_AND_DROP
=no
12865 if test "$wxUSE_MOTIF" = 1; then
12866 echo "configure: warning: Drag and drop is not yet supported under Motif" 1>&2
12867 wxUSE_DRAG_AND_DROP
=no
12870 if test "$USE_WIN32" = 1; then
12871 for ac_hdr
in ole2.h
12873 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12874 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12875 echo "configure:12876: checking for $ac_hdr" >&5
12876 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12877 echo $ac_n "(cached) $ac_c" 1>&6
12879 cat > conftest.
$ac_ext <<EOF
12880 #line 12881 "configure"
12881 #include "confdefs.h"
12884 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12885 { (eval echo configure
:12886: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12886 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12887 if test -z "$ac_err"; then
12889 eval "ac_cv_header_$ac_safe=yes"
12892 echo "configure: failed program was:" >&5
12893 cat conftest.
$ac_ext >&5
12895 eval "ac_cv_header_$ac_safe=no"
12899 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12900 echo "$ac_t""yes" 1>&6
12901 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12902 cat >> confdefs.h
<<EOF
12903 #define $ac_tr_hdr 1
12907 echo "$ac_t""no" 1>&6
12911 if test "x$HAVE_OLE2_H" = x
; then
12912 echo "configure: warning: Drag and drop disabled because OLE headers not found" 1>&2
12913 wxUSE_DRAG_AND_DROP
=no
12917 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
12918 cat >> confdefs.h
<<\EOF
12919 #define wxUSE_DRAG_AND_DROP 1
12922 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
12927 if test "$wxUSE_SPLINES" = "yes" ; then
12928 cat >> confdefs.h
<<\EOF
12929 #define wxUSE_SPLINES 1
12935 if test "$wxUSE_ACCEL" = "yes"; then
12936 cat >> confdefs.h
<<\EOF
12937 #define wxUSE_ACCEL 1
12942 if test "$wxUSE_CARET" = "yes"; then
12943 cat >> confdefs.h
<<\EOF
12944 #define wxUSE_CARET 1
12947 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
12950 if test "$wxUSE_COMBOBOX" = "yes"; then
12951 cat >> confdefs.h
<<\EOF
12952 #define wxUSE_COMBOBOX 1
12957 if test "$wxUSE_CHOICE" = "yes"; then
12958 cat >> confdefs.h
<<\EOF
12959 #define wxUSE_CHOICE 1
12964 if test "$wxUSE_BMPBUTTON" = "yes"; then
12965 cat >> confdefs.h
<<\EOF
12966 #define wxUSE_BMPBUTTON 1
12971 if test "$wxUSE_CHECKBOX" = "yes"; then
12972 cat >> confdefs.h
<<\EOF
12973 #define wxUSE_CHECKBOX 1
12978 if test "$wxUSE_CHECKLST" = "yes"; then
12979 cat >> confdefs.h
<<\EOF
12980 #define wxUSE_CHECKLISTBOX 1
12983 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
12986 if test "$wxUSE_GAUGE" = "yes"; then
12987 cat >> confdefs.h
<<\EOF
12988 #define wxUSE_GAUGE 1
12993 if test "$wxUSE_NEW_GRID" = "yes"; then
12995 cat >> confdefs.h
<<\EOF
12996 #define wxUSE_NEW_GRID 1
12999 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS newgrid"
13002 if test "$wxUSE_GRID" = "yes"; then
13003 cat >> confdefs.h
<<\EOF
13004 #define wxUSE_GRID 1
13007 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
13010 if test "$wxUSE_IMAGLIST" = "yes"; then
13011 cat >> confdefs.h
<<\EOF
13012 #define wxUSE_IMAGLIST 1
13017 if test "$wxUSE_LISTBOX" = "yes"; then
13018 cat >> confdefs.h
<<\EOF
13019 #define wxUSE_LISTBOX 1
13024 if test "$wxUSE_LISTCTRL" = "yes"; then
13025 if test "$wxUSE_IMAGLIST" = "yes"; then
13026 cat >> confdefs.h
<<\EOF
13027 #define wxUSE_LISTCTRL 1
13030 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
13032 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
13036 if test "$wxUSE_NOTEBOOK" = "yes"; then
13037 cat >> confdefs.h
<<\EOF
13038 #define wxUSE_NOTEBOOK 1
13041 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
13044 if test "$wxUSE_RADIOBOX" = "yes"; then
13045 cat >> confdefs.h
<<\EOF
13046 #define wxUSE_RADIOBOX 1
13051 if test "$wxUSE_RADIOBTN" = "yes"; then
13052 cat >> confdefs.h
<<\EOF
13053 #define wxUSE_RADIOBTN 1
13058 if test "$wxUSE_SASH" = "yes"; then
13059 cat >> confdefs.h
<<\EOF
13060 #define wxUSE_SASH 1
13063 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
13066 if test "$wxUSE_SCROLLBAR" = "yes"; then
13067 cat >> confdefs.h
<<\EOF
13068 #define wxUSE_SCROLLBAR 1
13071 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
13074 if test "$wxUSE_SLIDER" = "yes"; then
13075 cat >> confdefs.h
<<\EOF
13076 #define wxUSE_SLIDER 1
13081 if test "$wxUSE_SPINBTN" = "yes"; then
13082 cat >> confdefs.h
<<\EOF
13083 #define wxUSE_SPINBTN 1
13088 if test "$wxUSE_SPINCTRL" = "yes"; then
13089 cat >> confdefs.h
<<\EOF
13090 #define wxUSE_SPINCTRL 1
13095 if test "$wxUSE_SPLITTER" = "yes"; then
13096 cat >> confdefs.h
<<\EOF
13097 #define wxUSE_SPLITTER 1
13100 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
13103 if test "$wxUSE_STATBMP" = "yes"; then
13104 cat >> confdefs.h
<<\EOF
13105 #define wxUSE_STATBMP 1
13110 if test "$wxUSE_STATBOX" = "yes"; then
13111 cat >> confdefs.h
<<\EOF
13112 #define wxUSE_STATBOX 1
13117 if test "$wxUSE_STATLINE" = "yes"; then
13118 if test "$wxUSE_WINE" = 1 ; then
13119 echo "configure: warning: wxStaticLine is not supported under WINE" 1>&2
13121 cat >> confdefs.h
<<\EOF
13122 #define wxUSE_STATLINE 1
13128 if test "$wxUSE_STATUSBAR" = "yes"; then
13129 cat >> confdefs.h
<<\EOF
13130 #define wxUSE_STATUSBAR 1
13134 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
13137 if test "$wxUSE_TABDIALOG" = "yes"; then
13138 cat >> confdefs.h
<<\EOF
13139 #define wxUSE_TAB_DIALOG 1
13142 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
13145 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
13146 cat >> confdefs.h
<<\EOF
13147 #define wxUSE_TOOLBAR_SIMPLE 1
13150 wxUSE_TOOLBAR
="yes"
13153 if test "$wxUSE_TOOLBAR" = "yes"; then
13154 cat >> confdefs.h
<<\EOF
13155 #define wxUSE_TOOLBAR 1
13159 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
13160 wxUSE_TOOLBAR_NATIVE
="yes"
13163 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
13166 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
13167 cat >> confdefs.h
<<\EOF
13168 #define wxUSE_TOOLBAR_NATIVE 1
13173 if test "$wxUSE_TOOLTIPS" = "yes"; then
13174 if test "$wxUSE_MOTIF" = 1; then
13175 echo "configure: warning: wxTooltip not supported yet under Motif" 1>&2
13177 if test "$wxUSE_WINE" = 1; then
13178 echo "configure: warning: wxTooltip not supported under WINE" 1>&2
13180 cat >> confdefs.h
<<\EOF
13181 #define wxUSE_TOOLTIPS 1
13188 if test "$wxUSE_TREECTRL" = "yes"; then
13189 if test "$wxUSE_IMAGLIST" = "yes"; then
13190 cat >> confdefs.h
<<\EOF
13191 #define wxUSE_TREECTRL 1
13194 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
13196 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
13202 if test "$wxUSE_METAFILE" = "yes"; then
13203 cat >> confdefs.h
<<\EOF
13204 #define wxUSE_METAFILE 1
13209 if test "$wxUSE_DIRDLG" = "yes"; then
13210 if test "$wxUSE_CONSTRAINTS" != "yes"; then
13211 echo "configure: warning: wxDirDialog requires constraints so it won't be compiled without them" 1>&2
13213 if test "$wxUSE_TREECTRL" != "yes"; then
13214 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
13216 cat >> confdefs.h
<<\EOF
13217 #define wxUSE_DIRDLG 1
13224 if test "$wxUSE_TEXTDLG" = "yes"; then
13225 cat >> confdefs.h
<<\EOF
13226 #define wxUSE_TEXTDLG 1
13231 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
13232 if test "$wxUSE_CONSTRAINTS" != "yes"; then
13233 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
13235 cat >> confdefs.h
<<\EOF
13236 #define wxUSE_STARTUP_TIPS 1
13242 if test "$wxUSE_PROGRESSDLG" = "yes"; then
13243 if test "$wxUSE_CONSTRAINTS" != "yes"; then
13244 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
13246 cat >> confdefs.h
<<\EOF
13247 #define wxUSE_PROGRESSDLG 1
13253 if test "$wxUSE_MINIFRAME" = "yes"; then
13254 cat >> confdefs.h
<<\EOF
13255 #define wxUSE_MINIFRAME 1
13258 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
13261 if test "$wxUSE_HTML" = "yes"; then
13262 cat >> confdefs.h
<<\EOF
13263 #define wxUSE_HTML 1
13266 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html"
13267 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS html"
13270 if test "$wxUSE_VALIDATORS" = "yes"; then
13271 cat >> confdefs.h
<<\EOF
13272 #define wxUSE_VALIDATORS 1
13275 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
13278 if test "$wxUSE_GIF" = "yes" ; then
13279 cat >> confdefs.h
<<\EOF
13280 #define wxUSE_GIF 1
13285 if test "$wxUSE_PCX" = "yes" ; then
13286 cat >> confdefs.h
<<\EOF
13287 #define wxUSE_PCX 1
13292 if test "$wxUSE_PNM" = "yes" ; then
13293 cat >> confdefs.h
<<\EOF
13294 #define wxUSE_PNM 1
13300 OSINFO
=`uname -s -r -m`
13301 OSINFO
="\"$OSINFO\""
13302 cat >> confdefs.h
<<EOF
13303 #define WXWIN_OS_DESCRIPTION $OSINFO
13308 GUILIBS
="$GUI_TK_LIBRARY $OPENGL_LINK $TOOLKIT_LINK"
13310 EXTRA_LIBS
="$LIBS $POSIX4_LINK $INET_LINK $WCHAR_LINK $THREADS_LINK $DMALLOC_LINK $DL_LINK"
13311 if test "$wxUSE_GUI" = "yes"; then
13312 EXTRA_LIBS
="$EXTRA_LIBS $GUILIBS"
13315 LD_LIBS
="\${top_builddir}/lib/${WX_LIBRARY_NAME_STATIC} $EXTRA_LIBS"
13317 INCLUDES
="-I. -I\${top_builddir}/include -I\${top_srcdir}/include $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE $TOOLKIT_INCLUDE"
13319 if test "$GXX" = yes ; then
13320 CXXWARNINGS
="-Wall"
13322 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE $INCLUDES"
13324 CFLAGS
=`echo $CFLAGS $EXTRA_CFLAGS | sed 's/ \\+/ /g'`
13325 CXXFLAGS
=`echo $CXXFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
13327 LDFLAGS
="$LDFLAGS $PROFILE"
13329 if test "$wxUSE_GUI" = "yes"; then
13331 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS controls dialogs dragimag drawing dynamic \
13332 font fractal image menu minimal richedit"
13334 CPPFLAGS
="$CPPFLAGS \$(EXTRADEFS) \$(APPEXTRADEFS)"
13339 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
13417 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
13418 echo "configure:13419: checking whether ${MAKE-make} sets \${MAKE}" >&5
13419 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
13420 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
13421 echo $ac_n "(cached) $ac_c" 1>&6
13423 cat > conftestmake
<<\EOF
13425 @
echo 'ac_maketemp="${MAKE}"'
13427 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
13428 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
13429 if test -n "$ac_maketemp"; then
13430 eval ac_cv_prog_make_
${ac_make}_set
=yes
13432 eval ac_cv_prog_make_
${ac_make}_set
=no
13436 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
13437 echo "$ac_t""yes" 1>&6
13440 echo "$ac_t""no" 1>&6
13441 SET_MAKE
="MAKE=${MAKE-make}"
13445 if test -d include
; then
13446 if test -d include
/wx
; then
13447 if test -d include
/wx
/${TOOLKIT_DIR}; then
13448 if test -f include
/wx
/${TOOLKIT_DIR}/setup.h
; then
13449 mv -f include
/wx
/${TOOLKIT_DIR}/setup.h setup.h
13457 if test "$wxUSE_GUI" = "yes"; then
13458 wx_cv_path_samplesubdirs
=$SAMPLES_SUBDIRS
13459 subdirs
="demos samples utils"
13464 cat > confcache
<<\EOF
13465 # This file is a shell script that caches the results of configure
13466 # tests run on this system so they can be shared between configure
13467 # scripts and configure runs. It is not useful on other systems.
13468 # If it contains results you don't want to keep, you may remove or edit it.
13470 # By default, configure uses ./config.cache as the cache file,
13471 # creating it if it does not exist already. You can give configure
13472 # the --cache-file=FILE option to use a different cache file; that is
13473 # what configure does when it calls configure scripts in
13474 # subdirectories, so they share the cache.
13475 # Giving --cache-file=/dev/null disables caching, for debugging configure.
13476 # config.status only pays attention to the cache file if you give it the
13477 # --recheck option to rerun configure.
13480 # The following way of writing the cache mishandles newlines in values,
13481 # but we know of no workaround that is simple, portable, and efficient.
13482 # So, don't put newlines in cache variables' values.
13483 # Ultrix sh set writes to stderr and can't be redirected directly,
13484 # and sets the high bit in the cache file unless we assign to the vars.
13486 case `(ac_space=' '; set | grep ac_space) 2>&1` in
13488 # `set' does not quote correctly, so add quotes (double-quote substitution
13489 # turns \\\\ into \\, and sed turns \\ into \).
13491 -e "s/'/'\\\\''/g" \
13492 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
13495 # `set' quotes correctly as required by POSIX, so do not add quotes.
13496 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
13499 if cmp -s $cache_file confcache
; then
13502 if test -w $cache_file; then
13503 echo "updating cache $cache_file"
13504 cat confcache
> $cache_file
13506 echo "not updating unwritable cache $cache_file"
13511 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
13513 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
13514 # Let make expand exec_prefix.
13515 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
13517 # Any assignment to VPATH causes Sun make to only execute
13518 # the first set of double-colon rules, so remove it if not needed.
13519 # If there is a colon in the path, we need to keep it.
13520 if test "x$srcdir" = x.
; then
13521 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
13524 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
13526 DEFS
=-DHAVE_CONFIG_H
13528 # Without the "./", some shells look in PATH for config.status.
13529 : ${CONFIG_STATUS=./config.status}
13531 echo creating
$CONFIG_STATUS
13532 rm -f $CONFIG_STATUS
13533 cat > $CONFIG_STATUS <<EOF
13535 # Generated automatically by configure.
13536 # Run this file to recreate the current configuration.
13537 # This directory was configured as follows,
13538 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13540 # $0 $ac_configure_args
13542 # Compiler output produced by configure, useful for debugging
13543 # configure, is in ./config.log if it exists.
13545 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
13548 case "\$ac_option" in
13549 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13550 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
13551 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
13552 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
13553 echo "$CONFIG_STATUS generated by autoconf version 2.13"
13555 -help | --help | --hel | --he | --h)
13556 echo "\$ac_cs_usage"; exit 0 ;;
13557 *) echo "\$ac_cs_usage"; exit 1 ;;
13561 ac_given_srcdir=$srcdir
13562 ac_given_INSTALL="$INSTALL"
13564 trap 'rm -fr `echo "
13570 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
13572 cat >> $CONFIG_STATUS <<EOF
13574 # Protect against being on the right side of a sed subst in config.status.
13575 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
13576 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
13580 s%@CFLAGS@%$CFLAGS%g
13581 s%@CPPFLAGS@%$CPPFLAGS%g
13582 s%@CXXFLAGS@%$CXXFLAGS%g
13583 s%@FFLAGS@%$FFLAGS%g
13585 s%@LDFLAGS@%$LDFLAGS%g
13587 s%@exec_prefix@%$exec_prefix%g
13588 s%@prefix@%$prefix%g
13589 s%@program_transform_name@%$program_transform_name%g
13590 s%@bindir@%$bindir%g
13591 s%@sbindir@%$sbindir%g
13592 s%@libexecdir@%$libexecdir%g
13593 s%@datadir@%$datadir%g
13594 s%@sysconfdir@%$sysconfdir%g
13595 s%@sharedstatedir@%$sharedstatedir%g
13596 s%@localstatedir@%$localstatedir%g
13597 s%@libdir@%$libdir%g
13598 s%@includedir@%$includedir%g
13599 s%@oldincludedir@%$oldincludedir%g
13600 s%@infodir@%$infodir%g
13601 s%@mandir@%$mandir%g
13603 s%@host_alias@%$host_alias%g
13604 s%@host_cpu@%$host_cpu%g
13605 s%@host_vendor@%$host_vendor%g
13606 s%@host_os@%$host_os%g
13607 s%@target@%$target%g
13608 s%@target_alias@%$target_alias%g
13609 s%@target_cpu@%$target_cpu%g
13610 s%@target_vendor@%$target_vendor%g
13611 s%@target_os@%$target_os%g
13613 s%@build_alias@%$build_alias%g
13614 s%@build_cpu@%$build_cpu%g
13615 s%@build_vendor@%$build_vendor%g
13616 s%@build_os@%$build_os%g
13620 s%@CXXCPP@%$CXXCPP%g
13621 s%@RANLIB@%$RANLIB%g
13623 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
13624 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
13625 s%@INSTALL_DATA@%$INSTALL_DATA%g
13629 s%@LEXLIB@%$LEXLIB%g
13631 s%@GTK_CONFIG@%$GTK_CONFIG%g
13632 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
13633 s%@GTK_LIBS@%$GTK_LIBS%g
13634 s%@X_CFLAGS@%$X_CFLAGS%g
13635 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
13636 s%@X_LIBS@%$X_LIBS%g
13637 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
13638 s%@LEX_STEM@%$LEX_STEM%g
13639 s%@PATH_IFS@%$PATH_IFS%g
13640 s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
13641 s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
13642 s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
13643 s%@WX_LIBRARY_NAME@%$WX_LIBRARY_NAME%g
13644 s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
13645 s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
13646 s%@WX_LIBRARY@%$WX_LIBRARY%g
13647 s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
13648 s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
13649 s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
13650 s%@WX_LIBRARY_LINK3@%$WX_LIBRARY_LINK3%g
13651 s%@PROGRAM_EXT@%$PROGRAM_EXT%g
13652 s%@WX_LIBRARY_NAME_GL@%$WX_LIBRARY_NAME_GL%g
13653 s%@WX_LIBRARY_NAME_STATIC_GL@%$WX_LIBRARY_NAME_STATIC_GL%g
13654 s%@WX_LIBRARY_NAME_SHARED_GL@%$WX_LIBRARY_NAME_SHARED_GL%g
13655 s%@WX_LIBRARY_GL@%$WX_LIBRARY_GL%g
13656 s%@WX_TARGET_LIBRARY_GL@%$WX_TARGET_LIBRARY_GL%g
13657 s%@WX_LIBRARY_LINK1_GL@%$WX_LIBRARY_LINK1_GL%g
13658 s%@WX_LIBRARY_LINK2_GL@%$WX_LIBRARY_LINK2_GL%g
13659 s%@WX_LIBRARY_LINK3_GL@%$WX_LIBRARY_LINK3_GL%g
13660 s%@WX_ALL@%$WX_ALL%g
13661 s%@WX_ALL_INSTALLED@%$WX_ALL_INSTALLED%g
13662 s%@SHARED_LD@%$SHARED_LD%g
13663 s%@PIC_FLAG@%$PIC_FLAG%g
13664 s%@DEP_INFO_FLAGS@%$DEP_INFO_FLAGS%g
13665 s%@CODE_GEN_FLAGS@%$CODE_GEN_FLAGS%g
13666 s%@BURNT_LIBRARY_NAME@%$BURNT_LIBRARY_NAME%g
13667 s%@BURNT_LIBRARY_NAME_GL@%$BURNT_LIBRARY_NAME_GL%g
13668 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
13669 s%@USE_GUI@%$USE_GUI%g
13670 s%@AFMINSTALL@%$AFMINSTALL%g
13671 s%@TOOLKIT@%$TOOLKIT%g
13672 s%@TOOLKIT_DEF@%$TOOLKIT_DEF%g
13673 s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
13674 s%@TOOLKIT_INCLUDE@%$TOOLKIT_INCLUDE%g
13675 s%@GUIHEADERS@%$GUIHEADERS%g
13676 s%@GUIOBJS@%$GUIOBJS%g
13677 s%@COMMONOBJS@%$COMMONOBJS%g
13678 s%@GENERICOBJS@%$GENERICOBJS%g
13679 s%@GUIDEPS@%$GUIDEPS%g
13680 s%@COMMONDEPS@%$COMMONDEPS%g
13681 s%@GENERICDEPS@%$GENERICDEPS%g
13682 s%@IODBCOBJS@%$IODBCOBJS%g
13683 s%@UNIXOBJS@%$UNIXOBJS%g
13684 s%@UNIXDEPS@%$UNIXDEPS%g
13685 s%@ALL_OBJECTS@%$ALL_OBJECTS%g
13686 s%@ALL_DEPFILES@%$ALL_DEPFILES%g
13687 s%@GUIDIST@%$GUIDIST%g
13688 s%@PORT_FILES@%$PORT_FILES%g
13689 s%@DISTDIR@%$DISTDIR%g
13690 s%@RPM_SPEC@%$RPM_SPEC%g
13691 s%@RPM_FILES@%$RPM_FILES%g
13692 s%@SRC_SUBDIRS@%$SRC_SUBDIRS%g
13693 s%@INCLUDE_SUBDIRS@%$INCLUDE_SUBDIRS%g
13694 s%@UTILS_SUBDIRS@%$UTILS_SUBDIRS%g
13695 s%@DOCS_SUBDIRS@%$DOCS_SUBDIRS%g
13696 s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
13697 s%@USER_SUBDIRS@%$USER_SUBDIRS%g
13698 s%@EXTRA_LIBS@%$EXTRA_LIBS%g
13699 s%@EXTRADEFS@%$EXTRADEFS%g
13700 s%@LD_LIBS@%$LD_LIBS%g
13701 s%@SET_MAKE@%$SET_MAKE%g
13702 s%@subdirs@%$subdirs%g
13707 cat >> $CONFIG_STATUS <<\EOF
13709 # Split the substitutions into bite-sized pieces for seds with
13710 # small command number limits, like on Digital OSF/1 and HP-UX.
13711 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
13712 ac_file
=1 # Number of current file.
13713 ac_beg
=1 # First line for current file.
13714 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
13717 while $ac_more_lines; do
13718 if test $ac_beg -gt 1; then
13719 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
13721 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
13723 if test ! -s conftest.s
$ac_file; then
13724 ac_more_lines
=false
13725 rm -f conftest.s
$ac_file
13727 if test -z "$ac_sed_cmds"; then
13728 ac_sed_cmds
="sed -f conftest.s$ac_file"
13730 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
13732 ac_file
=`expr $ac_file + 1`
13734 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
13737 if test -z "$ac_sed_cmds"; then
13742 cat >> $CONFIG_STATUS <<EOF
13744 CONFIG_FILES=\${CONFIG_FILES-"wx-config
13751 cat >> $CONFIG_STATUS <<\EOF
13752 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
13753 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
13755 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
13756 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
13757 *) ac_file_in
="${ac_file}.in" ;;
13760 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
13762 # Remove last slash and all that follows it. Not all systems have dirname.
13763 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
13764 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
13765 # The file is in a subdirectory.
13766 test ! -d "$ac_dir" && mkdir "$ac_dir"
13767 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
13768 # A "../" for each directory in $ac_dir_suffix.
13769 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
13771 ac_dir_suffix
= ac_dots
=
13774 case "$ac_given_srcdir" in
13776 if test -z "$ac_dots"; then top_srcdir
=.
13777 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
13778 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
13779 *) # Relative path.
13780 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
13781 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
13784 case "$ac_given_INSTALL" in
13785 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
13786 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
13789 echo creating
"$ac_file"
13791 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
13793 *Makefile
*) ac_comsub
="1i\\
13794 # $configure_input" ;;
13798 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
13800 s%@configure_input@%$configure_input%g
13801 s%@srcdir@%$srcdir%g
13802 s%@top_srcdir@%$top_srcdir%g
13803 s%@INSTALL@%$INSTALL%g
13804 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
13808 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
13809 # NAME is the cpp macro being defined and VALUE is the value it is being given.
13811 # ac_d sets the value in "#define NAME VALUE" lines.
13812 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
13813 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
13816 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
13817 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
13818 ac_uB
='\([ ]\)%\1#\2define\3'
13821 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
13822 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
13823 ac_eB
='$%\1#\2define\3'
13827 if test "${CONFIG_HEADERS+set}" != set; then
13829 cat >> $CONFIG_STATUS <<EOF
13830 CONFIG_HEADERS="setup.h:setup.h.in"
13832 cat >> $CONFIG_STATUS <<\EOF
13834 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
13835 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
13837 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
13838 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
13839 *) ac_file_in
="${ac_file}.in" ;;
13842 echo creating
$ac_file
13844 rm -f conftest.frag conftest.
in conftest.out
13845 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
13846 cat $ac_file_inputs > conftest.
in
13850 # Transform confdefs.h into a sed script conftest.vals that substitutes
13851 # the proper values into config.h.in to produce config.h. And first:
13852 # Protect against being on the right side of a sed subst in config.status.
13853 # Protect against being in an unquoted here document in config.status.
13854 rm -f conftest.vals
13855 cat > conftest.hdr
<<\EOF
13858 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
13862 sed -n -f conftest.hdr confdefs.h > conftest.vals
13865 # This sed command replaces #undef with comments. This is necessary, for
13866 # example, in the case of _POSIX_SOURCE, which is predefined and required
13867 # on some systems where configure will not decide to define it.
13868 cat >> conftest.vals <<\EOF
13869 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
13872 # Break up conftest.vals because some shells have a limit on
13873 # the size of here documents, and old seds have small limits too.
13875 rm -f conftest.tail
13878 ac_lines=`grep -c . conftest.vals
`
13879 # grep -c gives empty output for an empty file on some AIX systems.
13880 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
13881 # Write a limited-size here document to conftest.frag.
13882 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
13883 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
13885 sed -f conftest.frag conftest.in > conftest.out
13887 mv conftest.out conftest.in
13888 ' >> $CONFIG_STATUS
13889 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
13890 rm -f conftest.vals
13891 mv conftest.tail conftest.vals
13893 rm -f conftest.vals
13895 cat >> $CONFIG_STATUS <<\EOF
13896 rm -f conftest.frag conftest.h
13897 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
13898 cat conftest.in >> conftest.h
13900 if cmp -s $ac_file conftest.h 2>/dev/null; then
13901 echo "$ac_file is unchanged"
13904 # Remove last slash and all that follows it. Not all systems have dirname.
13905 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
13906 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
13907 # The file is in a subdirectory.
13908 test ! -d "$ac_dir" && mkdir "$ac_dir"
13911 mv conftest.h $ac_file
13916 cat >> $CONFIG_STATUS <<EOF
13918 TOOLKIT_DIR="${TOOLKIT_DIR}"
13923 cat >> $CONFIG_STATUS <<\EOF
13926 mv wx-config wx${TOOLKIT_DIR}-config
13927 ${LN_S} wx${TOOLKIT_DIR}-config wx-config
13930 if test ! -d lib; then
13933 if test ! -d lib/wx; then
13936 if test ! -d lib/wx/include; then
13937 mkdir lib/wx/include
13939 if test ! -d lib/wx/include/wx; then
13940 mkdir lib/wx/include/wx
13942 if test ! -d lib/wx/include/wx/${TOOLKIT_DIR}; then
13943 mkdir lib/wx/include/wx/${TOOLKIT_DIR}
13945 if test -f setup.h; then
13946 cp -f setup.h lib/wx/include/wx/${TOOLKIT_DIR}/setup.h
13950 if test ! -d include; then
13953 if test ! -d include/wx; then
13956 if test ! -d include/wx/${TOOLKIT_DIR}; then
13957 mkdir include/wx/${TOOLKIT_DIR}
13959 if test -f setup.h; then
13960 mv -f setup.h include/wx/${TOOLKIT_DIR}/setup.h
13966 chmod +x $CONFIG_STATUS
13967 rm -fr confdefs* $ac_clean_files
13968 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
13970 if test "$no_recursion" != yes; then
13972 # Remove --cache-file and --srcdir arguments so they do not pile up.
13973 ac_sub_configure_args=
13975 for ac_arg in $ac_configure_args; do
13976 if test -n "$ac_prev"; then
13981 -cache-file | --cache-file | --cache-fil | --cache-fi \
13982 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
13983 ac_prev=cache_file ;;
13984 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
13985 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
13987 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
13989 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
13991 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
13995 for ac_config_dir in demos samples utils; do
13997 # Do not complain, so a configure script can configure whichever
13998 # parts of a large source tree are present.
13999 if test ! -d $srcdir/$ac_config_dir; then
14003 echo configuring in $ac_config_dir
14008 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
14010 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
14018 # A "../" for each directory in /$ac_config_dir.
14019 ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
14022 .) # No --srcdir option. We are building in place.
14023 ac_sub_srcdir=$srcdir ;;
14024 /*) # Absolute path.
14025 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
14026 *) # Relative path.
14027 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
14030 # Check for guested configure; otherwise get Cygnus style configure.
14031 if test -f $ac_sub_srcdir/configure; then
14032 ac_sub_configure=$ac_sub_srcdir/configure
14033 elif test -f $ac_sub_srcdir/configure.in; then
14034 ac_sub_configure=$ac_configure
14036 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
14040 # The recursion is here.
14041 if test -n "$ac_sub_configure"; then
14043 # Make the cache file name correct relative to the subdirectory.
14044 case "$cache_file" in
14045 /*) ac_sub_cache_file=$cache_file ;;
14046 *) # Relative path.
14047 ac_sub_cache_file="$ac_dots$cache_file" ;;
14049 case "$ac_given_INSTALL" in
14050 [/$]*) INSTALL="$ac_given_INSTALL" ;;
14051 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
14054 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
14055 # The eval makes quoting arguments work.
14056 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
14059 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }