3 # From configure.in Id: configure.in
40 # Guess values for system-dependent variables and create Makefiles.
41 # Generated automatically using autoconf version 2.14
42 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
44 # This configure script is free software; the Free Software Foundation
45 # gives unlimited permission to copy, distribute and modify it.
49 ac_default_prefix
=/usr
/local
50 # Any additions from configure.in:
52 --enable-gui use GUI classes"
56 --with-motif use Motif/Lesstif"
60 --with-cygwin use Cygwin for MS-Windows"
62 --with-mingw use GCC Minimal MS-Windows"
64 --with-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-fs_inet use virtual HTTP/FTP filesystems"
154 --enable-fs_zip use virtual ZIP filesystems"
156 --enable-zipstream use wxZipInputStream"
158 --enable-threads use threads"
160 --enable-serial use class serialization"
162 --enable-docview use document view architecture"
164 --enable-help use help (using external browser at present)"
166 --enable-constraints use layout-constraints system"
168 --enable-printarch use printing architecture"
170 --enable-mdi use multiple document interface architecture"
172 --enable-postscript use wxPostscriptDC device context (default for gtk+)"
174 --enable-prologio use Prolog IO library"
176 --enable-resources use wxWindows resources"
178 --enable-xresources use X resources for save (default for gtk+)"
180 --enable-clipboard use wxClipboard classes"
182 --enable-dnd use Drag'n'Drop classes"
184 --enable-wxtree make wxTree library"
186 --enable-controls use all usual controls"
188 --enable-accel use accelerators"
190 --enable-caret use wxCaret class"
192 --enable-bmpbutton use wxBitmapButton class"
194 --enable-checkbox use wxCheckBox class"
196 --enable-checklst use wxCheckListBox (listbox with checkboxes) class"
198 --enable-choice use wxChoice class"
200 --enable-combobox use wxComboBox classes"
202 --enable-gauge use wxGauge class"
204 --enable-grid use wxGrid class"
206 --enable-newgrid use new wxGrid class"
208 --enable-imaglist use wxImageList class"
210 --enable-listbox use wxListBox class"
212 --enable-listctrl use wxListCtrl class"
214 --enable-notebook use wxNotebook class"
216 --enable-radiobox use wxRadioBox class"
218 --enable-radiobtn use wxRadioButton class"
220 --enable-sash use wxSashWindow class"
222 --enable-scrollbar use wxScrollBar class and scrollable windows"
224 --enable-slider use wxSlider class"
226 --enable-spinbtn use wxSpinButton class"
228 --enable-spinctrl use wxSpinCtrl class"
230 --enable-splitter use wxSplitterWindow class"
232 --enable-statbmp use wxStaticBitmap class"
234 --enable-statbox use wxStaticBox class"
236 --enable-statline use wxStaticLine class"
238 --enable-statusbar use wxStatusBar class"
240 --enable-tabdialog use wxTabControl class"
242 --enable-toolbar use wxToolBar class"
244 --enable-tbarnative use native wxToolBar class"
246 --enable-tbarsmpl use wxToolBarSimple class"
248 --enable-treectrl use wxTreeCtrl class"
250 --enable-commondlg use common dialogs (wxDirDialog, wxProgressDialog, wxTextDialog, ...)"
252 --enable-dirdlg use wxDirDialog"
254 --enable-textdlg use wxTextDialog"
256 --enable-tipdlg use startup tips"
258 --enable-progressdlg use wxProgressDialog"
260 --enable-miniframe use wxMiniFrame class"
262 --enable-html use wxHTML sub-library"
264 --enable-tooltips use wxToolTip class"
266 --enable-splines use spline drawing code"
268 --enable-validators use wxValidator and derived classes"
270 --enable-busyinfo use wxBusyInfo"
272 --enable-plot use wxPlot"
274 --enable-gif use gif images (GIF file format)"
276 --enable-pcx use pcx images (PCX file format)"
278 --enable-pnm use pnm images (PNM file format)"
280 --with-x use the X Window System"
282 # Initialize some variables set by options.
283 # The variables have the same names as the options, with
284 # dashes changed to underlines.
286 cache_file
=.
/config.cache
295 program_transform_name
=s
,x
,x
,
303 bindir
='${exec_prefix}/bin'
304 sbindir
='${exec_prefix}/sbin'
305 libexecdir
='${exec_prefix}/libexec'
306 datadir
='${prefix}/share'
307 sysconfdir
='${prefix}/etc'
308 sharedstatedir
='${prefix}/com'
309 localstatedir
='${prefix}/var'
310 libdir
='${exec_prefix}/lib'
311 includedir
='${prefix}/include'
312 oldincludedir
='/usr/include'
313 infodir
='${prefix}/info'
314 mandir
='${prefix}/man'
316 # Initialize some other variables.
319 SHELL
=${CONFIG_SHELL-/bin/sh}
320 # Maximum number of lines to put in a shell here document.
327 # If the previous option needs an argument, assign it.
328 if test -n "$ac_prev"; then
329 eval "$ac_prev=\$ac_option"
335 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
339 # Accept the important Cygnus configure options, so we can diagnose typos.
343 -bindir | --bindir | --bindi | --bind | --bin | --bi)
345 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
346 bindir
="$ac_optarg" ;;
348 -build | --build | --buil | --bui | --bu)
350 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
351 build
="$ac_optarg" ;;
353 -cache-file | --cache-file | --cache-fil | --cache-fi \
354 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
355 ac_prev
=cache_file
;;
356 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
357 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
358 cache_file
="$ac_optarg" ;;
360 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
362 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
364 datadir
="$ac_optarg" ;;
366 -disable-* | --disable-*)
367 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
368 # Reject names that are not valid shell variable names.
369 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
370 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
372 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
373 eval "enable_${ac_feature}=no" ;;
375 -enable-* | --enable-*)
376 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
377 # Reject names that are not valid shell variable names.
378 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
379 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
381 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
386 eval "enable_${ac_feature}='$ac_optarg'" ;;
388 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
389 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
390 | --exec | --exe | --ex)
391 ac_prev
=exec_prefix
;;
392 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
393 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
394 | --exec=* | --exe=* | --ex=*)
395 exec_prefix
="$ac_optarg" ;;
397 -gas | --gas | --ga | --g)
398 # Obsolete; use --with-gas.
401 -help | --help | --hel | --he)
402 # Omit some internal or obsolete options to make the list less imposing.
403 # This message is too long to be a string in the A/UX 3.1 sh.
405 Usage: configure [options] [host]
406 Options: [defaults in brackets after descriptions]
408 --cache-file=FILE cache test results in FILE
409 --help print this message
410 --no-create do not create output files
411 --quiet, --silent do not print \`checking...' messages
412 --version print the version of autoconf that created configure
413 Directory and file names:
414 --prefix=PREFIX install architecture-independent files in PREFIX
416 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
418 --bindir=DIR user executables in DIR [EPREFIX/bin]
419 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
420 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
421 --datadir=DIR read-only architecture-independent data in DIR
423 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
424 --sharedstatedir=DIR modifiable architecture-independent data in DIR
426 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
427 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
428 --includedir=DIR C header files in DIR [PREFIX/include]
429 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
430 --infodir=DIR info documentation in DIR [PREFIX/info]
431 --mandir=DIR man documentation in DIR [PREFIX/man]
432 --srcdir=DIR find the sources in DIR [configure dir or ..]
433 --program-prefix=PREFIX prepend PREFIX to installed program names
434 --program-suffix=SUFFIX append SUFFIX to installed program names
435 --program-transform-name=PROGRAM
436 run sed PROGRAM on installed program names
440 --build=BUILD configure for building on BUILD [BUILD=HOST]
441 --host=HOST configure for HOST [guessed]
442 --target=TARGET configure for TARGET [TARGET=HOST]
443 Features and packages:
444 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
445 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
446 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
447 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
448 --x-includes=DIR X include files are in DIR
449 --x-libraries=DIR X library files are in DIR
451 if test -n "$ac_help"; then
452 echo "--enable and --with options recognized:$ac_help"
456 -host | --host | --hos | --ho)
458 -host=* | --host=* | --hos=* | --ho=*)
461 -includedir | --includedir | --includedi | --included | --include \
462 | --includ | --inclu | --incl | --inc)
463 ac_prev
=includedir
;;
464 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
465 | --includ=* | --inclu=* | --incl=* | --inc=*)
466 includedir
="$ac_optarg" ;;
468 -infodir | --infodir | --infodi | --infod | --info | --inf)
470 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
471 infodir
="$ac_optarg" ;;
473 -libdir | --libdir | --libdi | --libd)
475 -libdir=* | --libdir=* | --libdi=* | --libd=*)
476 libdir
="$ac_optarg" ;;
478 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
479 | --libexe | --libex | --libe)
480 ac_prev
=libexecdir
;;
481 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
482 | --libexe=* | --libex=* | --libe=*)
483 libexecdir
="$ac_optarg" ;;
485 -localstatedir | --localstatedir | --localstatedi | --localstated \
486 | --localstate | --localstat | --localsta | --localst \
487 | --locals | --local | --loca | --loc | --lo)
488 ac_prev
=localstatedir
;;
489 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
490 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
491 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
492 localstatedir
="$ac_optarg" ;;
494 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
496 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
497 mandir
="$ac_optarg" ;;
500 # Obsolete; use --without-fp.
503 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
507 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
508 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
511 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
512 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
513 | --oldin | --oldi | --old | --ol | --o)
514 ac_prev
=oldincludedir
;;
515 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
516 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
517 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
518 oldincludedir
="$ac_optarg" ;;
520 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
522 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
523 prefix
="$ac_optarg" ;;
525 -program-prefix | --program-prefix | --program-prefi | --program-pref \
526 | --program-pre | --program-pr | --program-p)
527 ac_prev
=program_prefix
;;
528 -program-prefix=* | --program-prefix=* | --program-prefi=* \
529 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
530 program_prefix
="$ac_optarg" ;;
532 -program-suffix | --program-suffix | --program-suffi | --program-suff \
533 | --program-suf | --program-su | --program-s)
534 ac_prev
=program_suffix
;;
535 -program-suffix=* | --program-suffix=* | --program-suffi=* \
536 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
537 program_suffix
="$ac_optarg" ;;
539 -program-transform-name | --program-transform-name \
540 | --program-transform-nam | --program-transform-na \
541 | --program-transform-n | --program-transform- \
542 | --program-transform | --program-transfor \
543 | --program-transfo | --program-transf \
544 | --program-trans | --program-tran \
545 | --progr-tra | --program-tr | --program-t)
546 ac_prev
=program_transform_name
;;
547 -program-transform-name=* | --program-transform-name=* \
548 | --program-transform-nam=* | --program-transform-na=* \
549 | --program-transform-n=* | --program-transform-=* \
550 | --program-transform=* | --program-transfor=* \
551 | --program-transfo=* | --program-transf=* \
552 | --program-trans=* | --program-tran=* \
553 | --progr-tra=* | --program-tr=* | --program-t=*)
554 program_transform_name
="$ac_optarg" ;;
556 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
557 | -silent | --silent | --silen | --sile | --sil)
560 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
562 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
564 sbindir
="$ac_optarg" ;;
566 -sharedstatedir | --sharedstatedir | --sharedstatedi \
567 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
568 | --sharedst | --shareds | --shared | --share | --shar \
570 ac_prev
=sharedstatedir
;;
571 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
572 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
573 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
575 sharedstatedir
="$ac_optarg" ;;
577 -site | --site | --sit)
579 -site=* | --site=* | --sit=*)
582 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
584 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
585 srcdir
="$ac_optarg" ;;
587 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
588 | --syscon | --sysco | --sysc | --sys | --sy)
589 ac_prev
=sysconfdir
;;
590 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
591 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
592 sysconfdir
="$ac_optarg" ;;
594 -target | --target | --targe | --targ | --tar | --ta | --t)
596 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
597 target
="$ac_optarg" ;;
599 -v | -verbose | --verbose | --verbos | --verbo | --verb)
602 -version | --version | --versio | --versi | --vers)
603 echo "configure generated by autoconf version 2.14"
607 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
608 # Reject names that are not valid shell variable names.
609 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
610 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
612 ac_package
=`echo $ac_package| sed 's/-/_/g'`
617 eval "with_${ac_package}='$ac_optarg'" ;;
619 -without-* | --without-*)
620 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
621 # Reject names that are not valid shell variable names.
622 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
623 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
625 ac_package
=`echo $ac_package| sed 's/-/_/g'`
626 eval "with_${ac_package}=no" ;;
629 # Obsolete; use --with-x.
632 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
633 | --x-incl | --x-inc | --x-in | --x-i)
634 ac_prev
=x_includes
;;
635 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
636 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
637 x_includes
="$ac_optarg" ;;
639 -x-libraries | --x-libraries | --x-librarie | --x-librari \
640 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
641 ac_prev
=x_libraries
;;
642 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
643 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
644 x_libraries
="$ac_optarg" ;;
646 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
650 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
651 echo "configure: warning: $ac_option: invalid host type" 1>&2
653 if test "x$nonopt" != xNONE
; then
654 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
662 if test -n "$ac_prev"; then
663 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
666 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
668 # File descriptor usage:
671 # 2 errors and warnings
672 # 3 some systems may open it to /dev/tty
673 # 4 used on the Kubota Titan
674 # 6 checking for... messages and results
675 # 5 compiler messages saved in config.log
676 if test "$silent" = yes; then
684 This file contains any messages produced by compilers while
685 running configure, to aid debugging if configure makes a mistake.
688 # Strip out --no-create and --no-recursion so they do not pile up.
689 # Also quote any args containing shell metacharacters.
694 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
695 | --no-cr | --no-c) ;;
696 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
697 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
698 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
699 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
700 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
705 # Only set these to C if already set. These must not be set unconditionally
706 # because not all systems understand e.g. LANG=C (notably SCO).
707 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
708 # Non-C LC_CTYPE values break the ctype check.
709 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
710 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
711 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
712 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
714 # confdefs.h avoids OS command line length limits that DEFS can exceed.
715 rm -rf conftest
* confdefs.h
716 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
719 # A filename unique to this package, relative to the directory that
720 # configure is in, which we can look for to find out if srcdir is correct.
721 ac_unique_file
=wx
-config.
in
723 # Find the source files, if location was not specified.
724 if test -z "$srcdir"; then
725 ac_srcdir_defaulted
=yes
726 # Try the directory containing this script, then its parent.
728 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
729 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
731 if test ! -r $srcdir/$ac_unique_file; then
735 ac_srcdir_defaulted
=no
737 if test ! -r $srcdir/$ac_unique_file; then
738 if test "$ac_srcdir_defaulted" = yes; then
739 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
741 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
744 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
746 # Prefer explicitly selected file to automatically selected ones.
747 if test -z "$CONFIG_SITE"; then
748 if test "x$prefix" != xNONE
; then
749 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
751 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
754 for ac_site_file
in $CONFIG_SITE; do
755 if test -r "$ac_site_file"; then
756 echo "loading site script $ac_site_file"
761 if test -r "$cache_file"; then
762 echo "loading cache $cache_file"
765 echo "creating cache $cache_file"
770 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
771 ac_cpp
='$CPP $CPPFLAGS'
772 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
773 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
774 cross_compiling
=$ac_cv_prog_cc_cross
778 if (echo "testing\c"; echo 1,2,3) | grep c
>/dev
/null
; then
779 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
780 if (echo -n testing
; echo 1,2,3) | sed s
/-n/xn
/ | grep xn
>/dev
/null
; then
787 ac_n
= ac_c
='\c' ac_t
=
793 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
794 if test -f $ac_dir/install-sh; then
796 ac_install_sh
="$ac_aux_dir/install-sh -c"
798 elif test -f $ac_dir/install.sh
; then
800 ac_install_sh
="$ac_aux_dir/install.sh -c"
804 if test -z "$ac_aux_dir"; then
805 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
807 ac_config_guess
=$ac_aux_dir/config.guess
808 ac_config_sub
=$ac_aux_dir/config.sub
809 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
812 # Do some error checking and defaulting for the host and target type.
814 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
817 # 1. You are not allowed to specify --host, --target, and nonopt at the
819 # 2. Host defaults to nonopt.
820 # 3. If nonopt is not specified, then host defaults to the current host,
821 # as determined by config.guess.
822 # 4. Target and build default to nonopt.
823 # 5. If nonopt is not specified, then target and build default to host.
825 # The aliases save the names the user supplied, while $host etc.
826 # will get canonicalized.
827 case $host---$target---$nonopt in
828 NONE
---*---* | *---NONE---* | *---*---NONE) ;;
829 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
833 # Make sure we can run config.sub.
834 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
835 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
838 echo $ac_n "checking host system type""... $ac_c" 1>&6
839 echo "configure:840: checking host system type" >&5
842 case "$host_alias" in
846 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
847 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
849 *) host_alias
=$nonopt ;;
853 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
854 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
855 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
856 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
857 echo "$ac_t""$host" 1>&6
859 echo $ac_n "checking target system type""... $ac_c" 1>&6
860 echo "configure:861: checking target system type" >&5
863 case "$target_alias" in
866 NONE
) target_alias
=$host_alias ;;
867 *) target_alias
=$nonopt ;;
871 target
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
872 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
873 target_vendor
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
874 target_os
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
875 echo "$ac_t""$target" 1>&6
877 echo $ac_n "checking build system type""... $ac_c" 1>&6
878 echo "configure:879: checking build system type" >&5
881 case "$build_alias" in
884 NONE
) build_alias
=$host_alias ;;
885 *) build_alias
=$nonopt ;;
889 build
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
890 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
891 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
892 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
893 echo "$ac_t""$build" 1>&6
895 test "$host_alias" != "$target_alias" &&
896 test "$program_prefix$program_suffix$program_transform_name" = \
898 program_prefix
=${target_alias}-
902 WX_MAJOR_VERSION_NUMBER
=2
903 WX_MINOR_VERSION_NUMBER
=1
909 WX_VERSION
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER.
$WX_RELEASE_NUMBER
911 WX_RELEASE
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER
912 WX_CURRENT
=`expr $WX_RELEASE_NUMBER - $WX_INTERFACE_AGE`
913 WX_REVISION
=$WX_INTERFACE_AGE
914 WX_AGE
=`expr $WX_BINARY_AGE - $WX_INTERFACE_AGE`
940 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
942 ALL_TOOLKITS
="CYGWIN GTK MINGW MOTIF WINE PM"
945 DEFAULT_wxUSE_MOTIF
=0
950 DEFAULT_DEFAULT_wxUSE_GTK
=0
951 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
952 DEFAULT_DEFAULT_wxUSE_MSW
=0
953 DEFAULT_DEFAULT_wxUSE_WINE
=0
954 DEFAULT_DEFAULT_wxUSE_PM
=0
959 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
960 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
961 cat >> confdefs.h
<<\EOF
968 cat >> confdefs.h
<<\EOF
973 if test "x$TMP" = "xalpha"; then
975 cat >> confdefs.h
<<\EOF
980 DEFAULT_DEFAULT_wxUSE_GTK
=1
982 *-*-irix5* | *-*-irix6* )
985 cat >> confdefs.h
<<\EOF
989 cat >> confdefs.h
<<\EOF
993 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
999 cat >> confdefs.h
<<\EOF
1003 cat >> confdefs.h
<<\EOF
1004 #define __SOLARIS__ 1
1007 cat >> confdefs.h
<<\EOF
1011 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1012 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1018 cat >> confdefs.h
<<\EOF
1022 cat >> confdefs.h
<<\EOF
1026 cat >> confdefs.h
<<\EOF
1030 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1032 *-*-freebsd* | *-*-netbsd*)
1035 cat >> confdefs.h
<<\EOF
1036 #define __FREEBSD__ 1
1039 cat >> confdefs.h
<<\EOF
1043 DEFAULT_DEFAULT_wxUSE_GTK
=1
1048 cat >> confdefs.h
<<\EOF
1052 cat >> confdefs.h
<<\EOF
1056 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1061 cat >> confdefs.h
<<\EOF
1065 cat >> confdefs.h
<<\EOF
1069 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1074 cat >> confdefs.h
<<\EOF
1078 cat >> confdefs.h
<<\EOF
1082 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1088 cat >> confdefs.h
<<\EOF
1092 cat >> confdefs.h
<<\EOF
1096 cat >> confdefs.h
<<\EOF
1100 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1103 *-*-cygwin32* | *-*-mingw32* )
1106 cat >> confdefs.h
<<\EOF
1110 cat >> confdefs.h
<<\EOF
1114 cat >> confdefs.h
<<\EOF
1115 #define __WINDOWS__ 1
1118 cat >> confdefs.h
<<\EOF
1119 #define __GNUWIN32__ 1
1122 cat >> confdefs.h
<<\EOF
1126 cat >> confdefs.h
<<\EOF
1127 #define WINVER 0x0400
1131 DEFAULT_DEFAULT_wxUSE_MSW
=1
1135 cat >> confdefs.h
<<\EOF
1140 DEFAULT_DEFAULT_wxUSE_PM
=1
1145 cat >> confdefs.h
<<\EOF
1152 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
1155 if test "$USE_UNIX" = 1 ; then
1157 cat >> confdefs.h
<<\EOF
1162 SRC_SUBDIRS
="$SRC_SUBDIRS unix"
1163 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS unix"
1166 if test "$USE_BEOS" = 1; then
1167 SRC_SUBDIRS
="$SRC_SUBDIRS be"
1168 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS be"
1171 if test "$USE_LINUX" = 1; then
1172 echo $ac_n "checking for gettext in -lc""... $ac_c" 1>&6
1173 echo "configure:1174: checking for gettext in -lc" >&5
1174 ac_lib_var
=`echo c'_'gettext | sed 'y%./+-%__p_%'`
1175 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1176 echo $ac_n "(cached) $ac_c" 1>&6
1178 ac_save_LIBS
="$LIBS"
1180 cat > conftest.
$ac_ext <<EOF
1181 #line 1182 "configure"
1182 #include "confdefs.h"
1183 /* Override any gcc2 internal prototype to avoid an error. */
1184 /* We use char because int might match the return type of a gcc2
1185 builtin and then its argument prototype would still apply. */
1192 if { (eval echo configure
:1193: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
1194 eval "ac_cv_lib_$ac_lib_var=yes"
1196 echo "configure: failed program was:" >&5
1197 cat conftest.
$ac_ext >&5
1199 eval "ac_cv_lib_$ac_lib_var=no"
1202 LIBS
="$ac_save_LIBS"
1205 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1206 echo "$ac_t""yes" 1>&6
1207 cat >> confdefs.h
<<\EOF
1208 #define wxHAVE_GLIBC2 1
1212 echo "$ac_t""no" 1>&6
1220 wx_arg_cache_file
="configarg.cache"
1221 echo "loading argument cache $wx_arg_cache_file"
1222 rm -f ${wx_arg_cache_file}.tmp
1223 touch ${wx_arg_cache_file}.tmp
1224 touch ${wx_arg_cache_file}
1228 if test $DEBUG_CONFIGURE = 1; then
1229 DEFAULT_wxUSE_THREADS
=yes
1231 DEFAULT_wxUSE_SHARED
=yes
1232 DEFAULT_wxUSE_BURNT_NAME
=no
1233 DEFAULT_wxUSE_OPTIMISE
=yes
1234 DEFAULT_wxUSE_PROFILE
=no
1235 DEFAULT_wxUSE_NO_DEPS
=no
1236 DEFAULT_wxUSE_NO_RTTI
=no
1237 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1238 DEFAULT_wxUSE_PERMISSIVE
=no
1239 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1240 DEFAULT_wxUSE_DEBUG_INFO
=yes
1241 DEFAULT_wxUSE_DEBUG_GDB
=yes
1242 DEFAULT_wxUSE_MEM_TRACING
=no
1243 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1244 DEFAULT_wxUSE_DMALLOC
=no
1245 DEFAULT_wxUSE_APPLE_IEEE
=no
1247 DEFAULT_wxUSE_LOG
=yes
1249 DEFAULT_wxUSE_GUI
=yes
1251 DEFAULT_wxUSE_ZLIB
=no
1252 DEFAULT_wxUSE_LIBPNG
=no
1253 DEFAULT_wxUSE_LIBJPEG
=no
1254 DEFAULT_wxUSE_LIBTIFF
=no
1255 DEFAULT_wxUSE_ODBC
=no
1257 DEFAULT_wxUSE_STD_IOSTREAM
=no
1258 DEFAULT_wxUSE_FILE
=no
1259 DEFAULT_wxUSE_TEXTFILE
=no
1260 DEFAULT_wxUSE_TIMEDATE
=no
1261 DEFAULT_wxUSE_WAVE
=no
1262 DEFAULT_wxUSE_INTL
=no
1263 DEFAULT_wxUSE_CONFIG
=no
1264 DEFAULT_wxUSE_STREAMS
=no
1265 DEFAULT_wxUSE_SOCKETS
=no
1266 DEFAULT_wxUSE_DIALUP_MANAGER
=no
1267 DEFAULT_wxUSE_SERIAL
=no
1268 DEFAULT_wxUSE_JOYSTICK
=no
1269 DEFAULT_wxUSE_DYNLIB_CLASS
=no
1270 DEFAULT_wxUSE_LONGLONG
=no
1272 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
1273 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
1274 DEFAULT_wxUSE_POSTSCRIPT
=no
1276 DEFAULT_wxUSE_X_RESOURCES
=no
1277 DEFAULT_wxUSE_CLIPBOARD
=no
1278 DEFAULT_wxUSE_TOOLTIPS
=no
1279 DEFAULT_wxUSE_DRAG_AND_DROP
=no
1280 DEFAULT_wxUSE_SPLINES
=no
1282 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
1283 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
1284 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
1286 DEFAULT_wxUSE_PROLOGIO
=no
1287 DEFAULT_wxUSE_RESOURCES
=no
1288 DEFAULT_wxUSE_CONSTRAINTS
=no
1289 DEFAULT_wxUSE_IPC
=no
1290 DEFAULT_wxUSE_HELP
=no
1291 DEFAULT_wxUSE_WXTREE
=no
1292 DEFAULT_wxUSE_METAFILE
=no
1294 DEFAULT_wxUSE_COMMONDLGS
=no
1295 DEFAULT_wxUSE_DIRDLG
=no
1296 DEFAULT_wxUSE_TEXTDLG
=no
1297 DEFAULT_wxUSE_STARTUP_TIPS
=no
1298 DEFAULT_wxUSE_PROGRESSDLG
=no
1299 DEFAULT_wxUSE_MINIFRAME
=no
1300 DEFAULT_wxUSE_HTML
=no
1301 DEFAULT_wxUSE_FS_INET
=no
1302 DEFAULT_wxUSE_FS_ZIP
=no
1303 DEFAULT_wxUSE_BUSYINFO
=no
1304 DEFAULT_wxUSE_ZIPSTREAM
=no
1305 DEFAULT_wxUSE_VALIDATORS
=yes
1307 DEFAULT_wxUSE_ACCEL
=no
1308 DEFAULT_wxUSE_CARET
=no
1309 DEFAULT_wxUSE_BMPBUTTON
=no
1310 DEFAULT_wxUSE_CHECKBOX
=no
1311 DEFAULT_wxUSE_CHECKLST
=no
1312 DEFAULT_wxUSE_CHOICE
=yes
1313 DEFAULT_wxUSE_COMBOBOX
=no
1314 DEFAULT_wxUSE_GAUGE
=no
1315 DEFAULT_wxUSE_GRID
=no
1316 DEFAULT_wxUSE_NEW_GRID
=no
1317 DEFAULT_wxUSE_IMAGLIST
=no
1318 DEFAULT_wxUSE_LISTBOX
=no
1319 DEFAULT_wxUSE_LISTCTRL
=no
1320 DEFAULT_wxUSE_NOTEBOOK
=no
1321 DEFAULT_wxUSE_PLOT
=no
1322 DEFAULT_wxUSE_RADIOBOX
=no
1323 DEFAULT_wxUSE_RADIOBTN
=no
1324 DEFAULT_wxUSE_SASH
=no
1325 DEFAULT_wxUSE_SCROLLBAR
=no
1326 DEFAULT_wxUSE_SLIDER
=no
1327 DEFAULT_wxUSE_SPINBTN
=no
1328 DEFAULT_wxUSE_SPINCTRL
=no
1329 DEFAULT_wxUSE_SPLITTER
=no
1330 DEFAULT_wxUSE_STATBMP
=no
1331 DEFAULT_wxUSE_STATBOX
=no
1332 DEFAULT_wxUSE_STATLINE
=no
1333 DEFAULT_wxUSE_STATUSBAR
=yes
1334 DEFAULT_wxUSE_TABDIALOG
=no
1335 DEFAULT_wxUSE_TOOLBAR
=no
1336 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
1337 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
1338 DEFAULT_wxUSE_TREECTRL
=no
1340 DEFAULT_wxUSE_UNICODE
=no
1341 DEFAULT_wxUSE_WCSRTOMBS
=no
1343 DEFAULT_wxUSE_GIF
=no
1344 DEFAULT_wxUSE_PCX
=no
1345 DEFAULT_wxUSE_PNM
=no
1347 DEFAULT_wxUSE_THREADS
=yes
1349 DEFAULT_wxUSE_SHARED
=yes
1350 DEFAULT_wxUSE_BURNT_NAME
=no
1351 DEFAULT_wxUSE_OPTIMISE
=yes
1352 DEFAULT_wxUSE_PROFILE
=no
1353 DEFAULT_wxUSE_NO_DEPS
=no
1354 DEFAULT_wxUSE_NO_RTTI
=no
1355 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1356 DEFAULT_wxUSE_PERMISSIVE
=no
1357 DEFAULT_wxUSE_DEBUG_FLAG
=no
1358 DEFAULT_wxUSE_DEBUG_INFO
=no
1359 DEFAULT_wxUSE_DEBUG_GDB
=no
1360 DEFAULT_wxUSE_MEM_TRACING
=no
1361 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1362 DEFAULT_wxUSE_DMALLOC
=no
1363 DEFAULT_wxUSE_APPLE_IEEE
=yes
1365 DEFAULT_wxUSE_LOG
=yes
1367 DEFAULT_wxUSE_GUI
=yes
1369 DEFAULT_wxUSE_ZLIB
=yes
1370 DEFAULT_wxUSE_LIBPNG
=yes
1371 DEFAULT_wxUSE_LIBJPEG
=yes
1372 DEFAULT_wxUSE_LIBTIFF
=yes
1373 DEFAULT_wxUSE_ODBC
=no
1375 DEFAULT_wxUSE_STD_IOSTREAM
=no
1376 DEFAULT_wxUSE_FILE
=yes
1377 DEFAULT_wxUSE_TEXTFILE
=yes
1378 DEFAULT_wxUSE_TIMEDATE
=yes
1379 DEFAULT_wxUSE_WAVE
=no
1380 DEFAULT_wxUSE_INTL
=yes
1381 DEFAULT_wxUSE_CONFIG
=yes
1382 DEFAULT_wxUSE_STREAMS
=yes
1383 DEFAULT_wxUSE_SOCKETS
=yes
1384 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
1385 DEFAULT_wxUSE_SERIAL
=yes
1386 DEFAULT_wxUSE_JOYSTICK
=yes
1387 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
1388 DEFAULT_wxUSE_LONGLONG
=yes
1390 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
1391 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
1392 DEFAULT_wxUSE_POSTSCRIPT
=yes
1394 DEFAULT_wxUSE_X_RESOURCES
=no
1395 DEFAULT_wxUSE_CLIPBOARD
=yes
1396 DEFAULT_wxUSE_TOOLTIPS
=yes
1397 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
1398 DEFAULT_wxUSE_SPLINES
=yes
1400 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
1401 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
1402 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
1404 DEFAULT_wxUSE_PROLOGIO
=yes
1405 DEFAULT_wxUSE_RESOURCES
=yes
1406 DEFAULT_wxUSE_CONSTRAINTS
=yes
1407 DEFAULT_wxUSE_IPC
=yes
1408 DEFAULT_wxUSE_HELP
=yes
1409 DEFAULT_wxUSE_WXTREE
=yes
1410 DEFAULT_wxUSE_METAFILE
=yes
1412 DEFAULT_wxUSE_COMMONDLGS
=yes
1413 DEFAULT_wxUSE_DIRDLG
=yes
1414 DEFAULT_wxUSE_TEXTDLG
=yes
1415 DEFAULT_wxUSE_STARTUP_TIPS
=yes
1416 DEFAULT_wxUSE_PROGRESSDLG
=yes
1417 DEFAULT_wxUSE_MINIFRAME
=yes
1418 DEFAULT_wxUSE_HTML
=yes
1419 DEFAULT_wxUSE_FS_INET
=yes
1420 DEFAULT_wxUSE_FS_ZIP
=yes
1421 DEFAULT_wxUSE_BUSYINFO
=yes
1422 DEFAULT_wxUSE_ZIPSTREAM
=yes
1423 DEFAULT_wxUSE_VALIDATORS
=yes
1425 DEFAULT_wxUSE_ACCEL
=yes
1426 DEFAULT_wxUSE_CARET
=yes
1427 DEFAULT_wxUSE_BMPBUTTON
=yes
1428 DEFAULT_wxUSE_CHECKBOX
=yes
1429 DEFAULT_wxUSE_CHECKLST
=yes
1430 DEFAULT_wxUSE_CHOICE
=yes
1431 DEFAULT_wxUSE_COMBOBOX
=yes
1432 DEFAULT_wxUSE_GAUGE
=yes
1433 DEFAULT_wxUSE_GRID
=yes
1434 DEFAULT_wxUSE_NEW_GRID
=yes
1435 DEFAULT_wxUSE_IMAGLIST
=yes
1436 DEFAULT_wxUSE_LISTBOX
=yes
1437 DEFAULT_wxUSE_LISTCTRL
=yes
1438 DEFAULT_wxUSE_NOTEBOOK
=yes
1439 DEFAULT_wxUSE_PLOT
=yes
1440 DEFAULT_wxUSE_RADIOBOX
=yes
1441 DEFAULT_wxUSE_RADIOBTN
=yes
1442 DEFAULT_wxUSE_SASH
=yes
1443 DEFAULT_wxUSE_SCROLLBAR
=yes
1444 DEFAULT_wxUSE_SLIDER
=yes
1445 DEFAULT_wxUSE_SPINBTN
=yes
1446 DEFAULT_wxUSE_SPINCTRL
=yes
1447 DEFAULT_wxUSE_SPLITTER
=yes
1448 DEFAULT_wxUSE_STATBMP
=yes
1449 DEFAULT_wxUSE_STATBOX
=yes
1450 DEFAULT_wxUSE_STATLINE
=yes
1451 DEFAULT_wxUSE_STATUSBAR
=yes
1452 DEFAULT_wxUSE_TABDIALOG
=no
1453 DEFAULT_wxUSE_TOOLBAR
=yes
1454 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
1455 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
1456 DEFAULT_wxUSE_TREECTRL
=yes
1458 DEFAULT_wxUSE_UNICODE
=no
1459 DEFAULT_wxUSE_WCSRTOMBS
=no
1461 DEFAULT_wxUSE_GIF
=yes
1462 DEFAULT_wxUSE_PCX
=yes
1463 DEFAULT_wxUSE_PNM
=yes
1468 for toolkit
in `echo $ALL_TOOLKITS`; do
1469 LINE
=`grep "wxUSE_$toolkit" ${wx_arg_cache_file}`
1470 if test "x$LINE" != x
; then
1471 has_toolkit_in_cache
=1
1472 eval "DEFAULT_$LINE"
1473 eval "CACHE_$toolkit=1"
1479 echo $ac_n "checking "for --enable-gui"""... $ac_c" 1>&6
1480 echo "configure:1481: checking "for --enable-gui"" >&5
1482 # Check whether --enable-gui or --disable-gui was given.
1483 if test "${enable_gui+set}" = set; then
1484 enableval
="$enable_gui"
1486 if test "$enableval" = yes; then
1487 ac_cv_use_gui
='wxUSE_GUI=yes'
1489 ac_cv_use_gui
='wxUSE_GUI=no'
1494 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
1495 if test "x$LINE" != x
; then
1496 eval "DEFAULT_$LINE"
1501 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
1506 eval "$ac_cv_use_gui"
1507 if test "$no_cache" != 1; then
1508 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
1511 if test "$wxUSE_GUI" = yes; then
1512 echo "$ac_t""yes" 1>&6
1514 echo "$ac_t""no" 1>&6
1518 if test "$wxUSE_GUI" = "yes"; then
1520 # Check whether --with-gtk or --without-gtk was given.
1521 if test "${with_gtk+set}" = set; then
1523 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
1526 # Check whether --with-motif or --without-motif was given.
1527 if test "${with_motif+set}" = set; then
1528 withval
="$with_motif"
1529 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
1532 # Check whether --with-wine or --without-wine was given.
1533 if test "${with_wine+set}" = set; then
1534 withval
="$with_wine"
1535 wxUSE_WINE
="$withval" CACHE_WINE
=1 TOOLKIT_GIVEN
=1
1538 # Check whether --with-cygwin or --without-cygwin was given.
1539 if test "${with_cygwin+set}" = set; then
1540 withval
="$with_cygwin"
1541 wxUSE_CYGWIN
="$withval" CACHE_CYGWIN
=1 TOOLKIT_GIVEN
=1
1544 # Check whether --with-mingw or --without-mingw was given.
1545 if test "${with_mingw+set}" = set; then
1546 withval
="$with_mingw"
1547 wxUSE_MINGW
="$withval" CACHE_MINGW
=1 TOOLKIT_GIVEN
=1
1550 # Check whether --with-pm or --without-pm was given.
1551 if test "${with_pm+set}" = set; then
1553 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
1557 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
1558 if test "${with_gtk_prefix+set}" = set; then
1559 withval
="$with_gtk_prefix"
1560 gtk_config_prefix
="$withval"
1562 gtk_config_prefix
=""
1565 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
1566 if test "${with_gtk_exec_prefix+set}" = set; then
1567 withval
="$with_gtk_exec_prefix"
1568 gtk_config_exec_prefix
="$withval"
1570 gtk_config_exec_prefix
=""
1575 echo $ac_n "checking "for --with-libpng"""... $ac_c" 1>&6
1576 echo "configure:1577: checking "for --with-libpng"" >&5
1578 # Check whether --with-libpng or --without-libpng was given.
1579 if test "${with_libpng+set}" = set; then
1580 withval
="$with_libpng"
1582 if test "$withval" = yes; then
1583 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
1585 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
1590 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
1591 if test "x$LINE" != x
; then
1592 eval "DEFAULT_$LINE"
1597 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
1602 eval "$ac_cv_use_libpng"
1603 if test "$no_cache" != 1; then
1604 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
1607 if test "$wxUSE_LIBPNG" = yes; then
1608 echo "$ac_t""yes" 1>&6
1610 echo "$ac_t""no" 1>&6
1614 echo $ac_n "checking "for --with-libjpeg"""... $ac_c" 1>&6
1615 echo "configure:1616: checking "for --with-libjpeg"" >&5
1617 # Check whether --with-libjpeg or --without-libjpeg was given.
1618 if test "${with_libjpeg+set}" = set; then
1619 withval
="$with_libjpeg"
1621 if test "$withval" = yes; then
1622 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
1624 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
1629 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
1630 if test "x$LINE" != x
; then
1631 eval "DEFAULT_$LINE"
1636 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
1641 eval "$ac_cv_use_libjpeg"
1642 if test "$no_cache" != 1; then
1643 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
1646 if test "$wxUSE_LIBJPEG" = yes; then
1647 echo "$ac_t""yes" 1>&6
1649 echo "$ac_t""no" 1>&6
1653 echo $ac_n "checking "for --with-libtiff"""... $ac_c" 1>&6
1654 echo "configure:1655: checking "for --with-libtiff"" >&5
1656 # Check whether --with-libtiff or --without-libtiff was given.
1657 if test "${with_libtiff+set}" = set; then
1658 withval
="$with_libtiff"
1660 if test "$withval" = yes; then
1661 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
1663 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
1668 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
1669 if test "x$LINE" != x
; then
1670 eval "DEFAULT_$LINE"
1675 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
1680 eval "$ac_cv_use_libtiff"
1681 if test "$no_cache" != 1; then
1682 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
1685 if test "$wxUSE_LIBTIFF" = yes; then
1686 echo "$ac_t""yes" 1>&6
1688 echo "$ac_t""no" 1>&6
1692 echo $ac_n "checking "for --with-opengl"""... $ac_c" 1>&6
1693 echo "configure:1694: checking "for --with-opengl"" >&5
1695 # Check whether --with-opengl or --without-opengl was given.
1696 if test "${with_opengl+set}" = set; then
1697 withval
="$with_opengl"
1699 if test "$withval" = yes; then
1700 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
1702 ac_cv_use_opengl
='wxUSE_OPENGL=no'
1707 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
1708 if test "x$LINE" != x
; then
1709 eval "DEFAULT_$LINE"
1714 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
1719 eval "$ac_cv_use_opengl"
1720 if test "$no_cache" != 1; then
1721 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
1724 if test "$wxUSE_OPENGL" = yes; then
1725 echo "$ac_t""yes" 1>&6
1727 echo "$ac_t""no" 1>&6
1734 echo $ac_n "checking "for --with-dmalloc"""... $ac_c" 1>&6
1735 echo "configure:1736: checking "for --with-dmalloc"" >&5
1737 # Check whether --with-dmalloc or --without-dmalloc was given.
1738 if test "${with_dmalloc+set}" = set; then
1739 withval
="$with_dmalloc"
1741 if test "$withval" = yes; then
1742 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
1744 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
1749 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
1750 if test "x$LINE" != x
; then
1751 eval "DEFAULT_$LINE"
1756 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
1761 eval "$ac_cv_use_dmalloc"
1762 if test "$no_cache" != 1; then
1763 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
1766 if test "$wxUSE_DMALLOC" = yes; then
1767 echo "$ac_t""yes" 1>&6
1769 echo "$ac_t""no" 1>&6
1773 echo $ac_n "checking "for --with-zlib"""... $ac_c" 1>&6
1774 echo "configure:1775: checking "for --with-zlib"" >&5
1776 # Check whether --with-zlib or --without-zlib was given.
1777 if test "${with_zlib+set}" = set; then
1778 withval
="$with_zlib"
1780 if test "$withval" = yes; then
1781 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
1783 ac_cv_use_zlib
='wxUSE_ZLIB=no'
1788 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
1789 if test "x$LINE" != x
; then
1790 eval "DEFAULT_$LINE"
1795 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
1800 eval "$ac_cv_use_zlib"
1801 if test "$no_cache" != 1; then
1802 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
1805 if test "$wxUSE_ZLIB" = yes; then
1806 echo "$ac_t""yes" 1>&6
1808 echo "$ac_t""no" 1>&6
1812 echo $ac_n "checking "for --with-odbc"""... $ac_c" 1>&6
1813 echo "configure:1814: checking "for --with-odbc"" >&5
1815 # Check whether --with-odbc or --without-odbc was given.
1816 if test "${with_odbc+set}" = set; then
1817 withval
="$with_odbc"
1819 if test "$withval" = yes; then
1820 ac_cv_use_odbc
='wxUSE_ODBC=yes'
1822 ac_cv_use_odbc
='wxUSE_ODBC=no'
1827 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
1828 if test "x$LINE" != x
; then
1829 eval "DEFAULT_$LINE"
1834 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
1839 eval "$ac_cv_use_odbc"
1840 if test "$no_cache" != 1; then
1841 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
1844 if test "$wxUSE_ODBC" = yes; then
1845 echo "$ac_t""yes" 1>&6
1847 echo "$ac_t""no" 1>&6
1854 echo $ac_n "checking "for --enable-shared"""... $ac_c" 1>&6
1855 echo "configure:1856: checking "for --enable-shared"" >&5
1857 # Check whether --enable-shared or --disable-shared was given.
1858 if test "${enable_shared+set}" = set; then
1859 enableval
="$enable_shared"
1861 if test "$enableval" = yes; then
1862 ac_cv_use_shared
='wxUSE_SHARED=yes'
1864 ac_cv_use_shared
='wxUSE_SHARED=no'
1869 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
1870 if test "x$LINE" != x
; then
1871 eval "DEFAULT_$LINE"
1876 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
1881 eval "$ac_cv_use_shared"
1882 if test "$no_cache" != 1; then
1883 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
1886 if test "$wxUSE_SHARED" = yes; then
1887 echo "$ac_t""yes" 1>&6
1889 echo "$ac_t""no" 1>&6
1893 echo $ac_n "checking "for --enable-burnt_name"""... $ac_c" 1>&6
1894 echo "configure:1895: checking "for --enable-burnt_name"" >&5
1896 # Check whether --enable-burnt_name or --disable-burnt_name was given.
1897 if test "${enable_burnt_name+set}" = set; then
1898 enableval
="$enable_burnt_name"
1900 if test "$enableval" = yes; then
1901 ac_cv_use_burnt_name
='wxUSE_BURNT_NAME=yes'
1903 ac_cv_use_burnt_name
='wxUSE_BURNT_NAME=no'
1908 LINE
=`grep "wxUSE_BURNT_NAME" ${wx_arg_cache_file}`
1909 if test "x$LINE" != x
; then
1910 eval "DEFAULT_$LINE"
1915 ac_cv_use_burnt_name
='wxUSE_BURNT_NAME='$DEFAULT_wxUSE_BURNT_NAME
1920 eval "$ac_cv_use_burnt_name"
1921 if test "$no_cache" != 1; then
1922 echo $ac_cv_use_burnt_name >> ${wx_arg_cache_file}.tmp
1925 if test "$wxUSE_BURNT_NAME" = yes; then
1926 echo "$ac_t""yes" 1>&6
1928 echo "$ac_t""no" 1>&6
1932 echo $ac_n "checking "for --enable-optimise"""... $ac_c" 1>&6
1933 echo "configure:1934: checking "for --enable-optimise"" >&5
1935 # Check whether --enable-optimise or --disable-optimise was given.
1936 if test "${enable_optimise+set}" = set; then
1937 enableval
="$enable_optimise"
1939 if test "$enableval" = yes; then
1940 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
1942 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
1947 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
1948 if test "x$LINE" != x
; then
1949 eval "DEFAULT_$LINE"
1954 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
1959 eval "$ac_cv_use_optimise"
1960 if test "$no_cache" != 1; then
1961 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
1964 if test "$wxUSE_OPTIMISE" = yes; then
1965 echo "$ac_t""yes" 1>&6
1967 echo "$ac_t""no" 1>&6
1971 echo $ac_n "checking "for --enable-debug"""... $ac_c" 1>&6
1972 echo "configure:1973: checking "for --enable-debug"" >&5
1974 # Check whether --enable-debug or --disable-debug was given.
1975 if test "${enable_debug+set}" = set; then
1976 enableval
="$enable_debug"
1978 if test "$enableval" = yes; then
1979 ac_cv_use_debug
='wxUSE_DEBUG=yes'
1981 ac_cv_use_debug
='wxUSE_DEBUG=no'
1986 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
1987 if test "x$LINE" != x
; then
1988 eval "DEFAULT_$LINE"
1993 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
1998 eval "$ac_cv_use_debug"
1999 if test "$no_cache" != 1; then
2000 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
2003 if test "$wxUSE_DEBUG" = yes; then
2004 echo "$ac_t""yes" 1>&6
2006 echo "$ac_t""no" 1>&6
2010 if test "$wxUSE_DEBUG" = "yes"; then
2011 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2012 DEFAULT_wxUSE_DEBUG_INFO
=yes
2013 elif test "$wxUSE_DEBUG" = "no"; then
2014 DEFAULT_wxUSE_DEBUG_FLAG
=no
2015 DEFAULT_wxUSE_DEBUG_INFO
=no
2019 echo $ac_n "checking "for --enable-debug_flag"""... $ac_c" 1>&6
2020 echo "configure:2021: checking "for --enable-debug_flag"" >&5
2022 # Check whether --enable-debug_flag or --disable-debug_flag was given.
2023 if test "${enable_debug_flag+set}" = set; then
2024 enableval
="$enable_debug_flag"
2026 if test "$enableval" = yes; then
2027 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
2029 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
2034 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
2035 if test "x$LINE" != x
; then
2036 eval "DEFAULT_$LINE"
2041 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
2046 eval "$ac_cv_use_debug_flag"
2047 if test "$no_cache" != 1; then
2048 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
2051 if test "$wxUSE_DEBUG_FLAG" = yes; then
2052 echo "$ac_t""yes" 1>&6
2054 echo "$ac_t""no" 1>&6
2058 echo $ac_n "checking "for --enable-debug_info"""... $ac_c" 1>&6
2059 echo "configure:2060: checking "for --enable-debug_info"" >&5
2061 # Check whether --enable-debug_info or --disable-debug_info was given.
2062 if test "${enable_debug_info+set}" = set; then
2063 enableval
="$enable_debug_info"
2065 if test "$enableval" = yes; then
2066 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
2068 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
2073 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
2074 if test "x$LINE" != x
; then
2075 eval "DEFAULT_$LINE"
2080 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
2085 eval "$ac_cv_use_debug_info"
2086 if test "$no_cache" != 1; then
2087 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
2090 if test "$wxUSE_DEBUG_INFO" = yes; then
2091 echo "$ac_t""yes" 1>&6
2093 echo "$ac_t""no" 1>&6
2097 echo $ac_n "checking "for --enable-debug_gdb"""... $ac_c" 1>&6
2098 echo "configure:2099: checking "for --enable-debug_gdb"" >&5
2100 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
2101 if test "${enable_debug_gdb+set}" = set; then
2102 enableval
="$enable_debug_gdb"
2104 if test "$enableval" = yes; then
2105 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
2107 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
2112 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
2113 if test "x$LINE" != x
; then
2114 eval "DEFAULT_$LINE"
2119 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
2124 eval "$ac_cv_use_debug_gdb"
2125 if test "$no_cache" != 1; then
2126 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
2129 if test "$wxUSE_DEBUG_GDB" = yes; then
2130 echo "$ac_t""yes" 1>&6
2132 echo "$ac_t""no" 1>&6
2136 echo $ac_n "checking "for --enable-debug_cntxt"""... $ac_c" 1>&6
2137 echo "configure:2138: checking "for --enable-debug_cntxt"" >&5
2139 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
2140 if test "${enable_debug_cntxt+set}" = set; then
2141 enableval
="$enable_debug_cntxt"
2143 if test "$enableval" = yes; then
2144 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
2146 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
2151 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2152 if test "x$LINE" != x
; then
2153 eval "DEFAULT_$LINE"
2158 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2163 eval "$ac_cv_use_debug_cntxt"
2164 if test "$no_cache" != 1; then
2165 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2168 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2169 echo "$ac_t""yes" 1>&6
2171 echo "$ac_t""no" 1>&6
2175 echo $ac_n "checking "for --enable-mem_tracing"""... $ac_c" 1>&6
2176 echo "configure:2177: checking "for --enable-mem_tracing"" >&5
2178 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2179 if test "${enable_mem_tracing+set}" = set; then
2180 enableval
="$enable_mem_tracing"
2182 if test "$enableval" = yes; then
2183 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
2185 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
2190 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2191 if test "x$LINE" != x
; then
2192 eval "DEFAULT_$LINE"
2197 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2202 eval "$ac_cv_use_mem_tracing"
2203 if test "$no_cache" != 1; then
2204 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2207 if test "$wxUSE_MEM_TRACING" = yes; then
2208 echo "$ac_t""yes" 1>&6
2210 echo "$ac_t""no" 1>&6
2214 echo $ac_n "checking "for --enable-profile"""... $ac_c" 1>&6
2215 echo "configure:2216: checking "for --enable-profile"" >&5
2217 # Check whether --enable-profile or --disable-profile was given.
2218 if test "${enable_profile+set}" = set; then
2219 enableval
="$enable_profile"
2221 if test "$enableval" = yes; then
2222 ac_cv_use_profile
='wxUSE_PROFILE=yes'
2224 ac_cv_use_profile
='wxUSE_PROFILE=no'
2229 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2230 if test "x$LINE" != x
; then
2231 eval "DEFAULT_$LINE"
2236 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2241 eval "$ac_cv_use_profile"
2242 if test "$no_cache" != 1; then
2243 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2246 if test "$wxUSE_PROFILE" = yes; then
2247 echo "$ac_t""yes" 1>&6
2249 echo "$ac_t""no" 1>&6
2253 echo $ac_n "checking "for --enable-no_rtti"""... $ac_c" 1>&6
2254 echo "configure:2255: checking "for --enable-no_rtti"" >&5
2256 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2257 if test "${enable_no_rtti+set}" = set; then
2258 enableval
="$enable_no_rtti"
2260 if test "$enableval" = yes; then
2261 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
2263 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
2268 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2269 if test "x$LINE" != x
; then
2270 eval "DEFAULT_$LINE"
2275 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2280 eval "$ac_cv_use_no_rtti"
2281 if test "$no_cache" != 1; then
2282 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2285 if test "$wxUSE_NO_RTTI" = yes; then
2286 echo "$ac_t""yes" 1>&6
2288 echo "$ac_t""no" 1>&6
2292 echo $ac_n "checking "for --enable-no_exceptions"""... $ac_c" 1>&6
2293 echo "configure:2294: checking "for --enable-no_exceptions"" >&5
2295 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2296 if test "${enable_no_exceptions+set}" = set; then
2297 enableval
="$enable_no_exceptions"
2299 if test "$enableval" = yes; then
2300 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
2302 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
2307 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2308 if test "x$LINE" != x
; then
2309 eval "DEFAULT_$LINE"
2314 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2319 eval "$ac_cv_use_no_exceptions"
2320 if test "$no_cache" != 1; then
2321 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2324 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2325 echo "$ac_t""yes" 1>&6
2327 echo "$ac_t""no" 1>&6
2331 echo $ac_n "checking "for --enable-permissive"""... $ac_c" 1>&6
2332 echo "configure:2333: checking "for --enable-permissive"" >&5
2334 # Check whether --enable-permissive or --disable-permissive was given.
2335 if test "${enable_permissive+set}" = set; then
2336 enableval
="$enable_permissive"
2338 if test "$enableval" = yes; then
2339 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
2341 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
2346 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2347 if test "x$LINE" != x
; then
2348 eval "DEFAULT_$LINE"
2353 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
2358 eval "$ac_cv_use_permissive"
2359 if test "$no_cache" != 1; then
2360 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
2363 if test "$wxUSE_PERMISSIVE" = yes; then
2364 echo "$ac_t""yes" 1>&6
2366 echo "$ac_t""no" 1>&6
2370 echo $ac_n "checking "for --enable-no_deps"""... $ac_c" 1>&6
2371 echo "configure:2372: checking "for --enable-no_deps"" >&5
2373 # Check whether --enable-no_deps or --disable-no_deps was given.
2374 if test "${enable_no_deps+set}" = set; then
2375 enableval
="$enable_no_deps"
2377 if test "$enableval" = yes; then
2378 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
2380 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
2385 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
2386 if test "x$LINE" != x
; then
2387 eval "DEFAULT_$LINE"
2392 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
2397 eval "$ac_cv_use_no_deps"
2398 if test "$no_cache" != 1; then
2399 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
2402 if test "$wxUSE_NO_DEPS" = yes; then
2403 echo "$ac_t""yes" 1>&6
2405 echo "$ac_t""no" 1>&6
2411 echo $ac_n "checking "for --enable-intl"""... $ac_c" 1>&6
2412 echo "configure:2413: checking "for --enable-intl"" >&5
2414 # Check whether --enable-intl or --disable-intl was given.
2415 if test "${enable_intl+set}" = set; then
2416 enableval
="$enable_intl"
2418 if test "$enableval" = yes; then
2419 ac_cv_use_intl
='wxUSE_INTL=yes'
2421 ac_cv_use_intl
='wxUSE_INTL=no'
2426 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
2427 if test "x$LINE" != x
; then
2428 eval "DEFAULT_$LINE"
2433 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
2438 eval "$ac_cv_use_intl"
2439 if test "$no_cache" != 1; then
2440 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
2443 if test "$wxUSE_INTL" = yes; then
2444 echo "$ac_t""yes" 1>&6
2446 echo "$ac_t""no" 1>&6
2450 echo $ac_n "checking "for --enable-config"""... $ac_c" 1>&6
2451 echo "configure:2452: checking "for --enable-config"" >&5
2453 # Check whether --enable-config or --disable-config was given.
2454 if test "${enable_config+set}" = set; then
2455 enableval
="$enable_config"
2457 if test "$enableval" = yes; then
2458 ac_cv_use_config
='wxUSE_CONFIG=yes'
2460 ac_cv_use_config
='wxUSE_CONFIG=no'
2465 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
2466 if test "x$LINE" != x
; then
2467 eval "DEFAULT_$LINE"
2472 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
2477 eval "$ac_cv_use_config"
2478 if test "$no_cache" != 1; then
2479 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
2482 if test "$wxUSE_CONFIG" = yes; then
2483 echo "$ac_t""yes" 1>&6
2485 echo "$ac_t""no" 1>&6
2489 if test "$wxUSE_GUI" = "yes"; then
2491 echo $ac_n "checking "for --enable-sockets"""... $ac_c" 1>&6
2492 echo "configure:2493: checking "for --enable-sockets"" >&5
2494 # Check whether --enable-sockets or --disable-sockets was given.
2495 if test "${enable_sockets+set}" = set; then
2496 enableval
="$enable_sockets"
2498 if test "$enableval" = yes; then
2499 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
2501 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
2506 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
2507 if test "x$LINE" != x
; then
2508 eval "DEFAULT_$LINE"
2513 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
2518 eval "$ac_cv_use_sockets"
2519 if test "$no_cache" != 1; then
2520 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
2523 if test "$wxUSE_SOCKETS" = yes; then
2524 echo "$ac_t""yes" 1>&6
2526 echo "$ac_t""no" 1>&6
2534 echo $ac_n "checking "for --enable-dialupman"""... $ac_c" 1>&6
2535 echo "configure:2536: checking "for --enable-dialupman"" >&5
2537 # Check whether --enable-dialupman or --disable-dialupman was given.
2538 if test "${enable_dialupman+set}" = set; then
2539 enableval
="$enable_dialupman"
2541 if test "$enableval" = yes; then
2542 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
2544 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
2549 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
2550 if test "x$LINE" != x
; then
2551 eval "DEFAULT_$LINE"
2556 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
2561 eval "$ac_cv_use_dialupman"
2562 if test "$no_cache" != 1; then
2563 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
2566 if test "$wxUSE_DIALUP_MANAGER" = yes; then
2567 echo "$ac_t""yes" 1>&6
2569 echo "$ac_t""no" 1>&6
2573 echo $ac_n "checking "for --enable-ipc"""... $ac_c" 1>&6
2574 echo "configure:2575: checking "for --enable-ipc"" >&5
2576 # Check whether --enable-ipc or --disable-ipc was given.
2577 if test "${enable_ipc+set}" = set; then
2578 enableval
="$enable_ipc"
2580 if test "$enableval" = yes; then
2581 ac_cv_use_ipc
='wxUSE_IPC=yes'
2583 ac_cv_use_ipc
='wxUSE_IPC=no'
2588 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
2589 if test "x$LINE" != x
; then
2590 eval "DEFAULT_$LINE"
2595 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
2600 eval "$ac_cv_use_ipc"
2601 if test "$no_cache" != 1; then
2602 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
2605 if test "$wxUSE_IPC" = yes; then
2606 echo "$ac_t""yes" 1>&6
2608 echo "$ac_t""no" 1>&6
2612 echo $ac_n "checking "for --enable-apple_ieee"""... $ac_c" 1>&6
2613 echo "configure:2614: checking "for --enable-apple_ieee"" >&5
2615 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
2616 if test "${enable_apple_ieee+set}" = set; then
2617 enableval
="$enable_apple_ieee"
2619 if test "$enableval" = yes; then
2620 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
2622 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
2627 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
2628 if test "x$LINE" != x
; then
2629 eval "DEFAULT_$LINE"
2634 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
2639 eval "$ac_cv_use_apple_ieee"
2640 if test "$no_cache" != 1; then
2641 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
2644 if test "$wxUSE_APPLE_IEEE" = yes; then
2645 echo "$ac_t""yes" 1>&6
2647 echo "$ac_t""no" 1>&6
2651 echo $ac_n "checking "for --enable-timedate"""... $ac_c" 1>&6
2652 echo "configure:2653: checking "for --enable-timedate"" >&5
2654 # Check whether --enable-timedate or --disable-timedate was given.
2655 if test "${enable_timedate+set}" = set; then
2656 enableval
="$enable_timedate"
2658 if test "$enableval" = yes; then
2659 ac_cv_use_timedate
='wxUSE_TIMEDATE=yes'
2661 ac_cv_use_timedate
='wxUSE_TIMEDATE=no'
2666 LINE
=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}`
2667 if test "x$LINE" != x
; then
2668 eval "DEFAULT_$LINE"
2673 ac_cv_use_timedate
='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
2678 eval "$ac_cv_use_timedate"
2679 if test "$no_cache" != 1; then
2680 echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp
2683 if test "$wxUSE_TIMEDATE" = yes; then
2684 echo "$ac_t""yes" 1>&6
2686 echo "$ac_t""no" 1>&6
2690 echo $ac_n "checking "for --enable-wave"""... $ac_c" 1>&6
2691 echo "configure:2692: checking "for --enable-wave"" >&5
2693 # Check whether --enable-wave or --disable-wave was given.
2694 if test "${enable_wave+set}" = set; then
2695 enableval
="$enable_wave"
2697 if test "$enableval" = yes; then
2698 ac_cv_use_wave
='wxUSE_WAVE=yes'
2700 ac_cv_use_wave
='wxUSE_WAVE=no'
2705 LINE
=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
2706 if test "x$LINE" != x
; then
2707 eval "DEFAULT_$LINE"
2712 ac_cv_use_wave
='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
2717 eval "$ac_cv_use_wave"
2718 if test "$no_cache" != 1; then
2719 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
2722 if test "$wxUSE_WAVE" = yes; then
2723 echo "$ac_t""yes" 1>&6
2725 echo "$ac_t""no" 1>&6
2729 echo $ac_n "checking "for --enable-fraction"""... $ac_c" 1>&6
2730 echo "configure:2731: checking "for --enable-fraction"" >&5
2732 # Check whether --enable-fraction or --disable-fraction was given.
2733 if test "${enable_fraction+set}" = set; then
2734 enableval
="$enable_fraction"
2736 if test "$enableval" = yes; then
2737 ac_cv_use_fraction
='wxUSE_FRACTION=yes'
2739 ac_cv_use_fraction
='wxUSE_FRACTION=no'
2744 LINE
=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
2745 if test "x$LINE" != x
; then
2746 eval "DEFAULT_$LINE"
2751 ac_cv_use_fraction
='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
2756 eval "$ac_cv_use_fraction"
2757 if test "$no_cache" != 1; then
2758 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
2761 if test "$wxUSE_FRACTION" = yes; then
2762 echo "$ac_t""yes" 1>&6
2764 echo "$ac_t""no" 1>&6
2768 echo $ac_n "checking "for --enable-dynlib"""... $ac_c" 1>&6
2769 echo "configure:2770: checking "for --enable-dynlib"" >&5
2771 # Check whether --enable-dynlib or --disable-dynlib was given.
2772 if test "${enable_dynlib+set}" = set; then
2773 enableval
="$enable_dynlib"
2775 if test "$enableval" = yes; then
2776 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
2778 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
2783 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
2784 if test "x$LINE" != x
; then
2785 eval "DEFAULT_$LINE"
2790 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
2795 eval "$ac_cv_use_dynlib"
2796 if test "$no_cache" != 1; then
2797 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
2800 if test "$wxUSE_DYNLIB_CLASS" = yes; then
2801 echo "$ac_t""yes" 1>&6
2803 echo "$ac_t""no" 1>&6
2807 echo $ac_n "checking "for --enable-longlong"""... $ac_c" 1>&6
2808 echo "configure:2809: checking "for --enable-longlong"" >&5
2810 # Check whether --enable-longlong or --disable-longlong was given.
2811 if test "${enable_longlong+set}" = set; then
2812 enableval
="$enable_longlong"
2814 if test "$enableval" = yes; then
2815 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
2817 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
2822 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
2823 if test "x$LINE" != x
; then
2824 eval "DEFAULT_$LINE"
2829 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
2834 eval "$ac_cv_use_longlong"
2835 if test "$no_cache" != 1; then
2836 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
2839 if test "$wxUSE_LONGLONG" = yes; then
2840 echo "$ac_t""yes" 1>&6
2842 echo "$ac_t""no" 1>&6
2846 echo $ac_n "checking "for --enable-log"""... $ac_c" 1>&6
2847 echo "configure:2848: checking "for --enable-log"" >&5
2849 # Check whether --enable-log or --disable-log was given.
2850 if test "${enable_log+set}" = set; then
2851 enableval
="$enable_log"
2853 if test "$enableval" = yes; then
2854 ac_cv_use_log
='wxUSE_LOG=yes'
2856 ac_cv_use_log
='wxUSE_LOG=no'
2861 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
2862 if test "x$LINE" != x
; then
2863 eval "DEFAULT_$LINE"
2868 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
2873 eval "$ac_cv_use_log"
2874 if test "$no_cache" != 1; then
2875 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
2878 if test "$wxUSE_LOG" = yes; then
2879 echo "$ac_t""yes" 1>&6
2881 echo "$ac_t""no" 1>&6
2885 echo $ac_n "checking "for --enable-streams"""... $ac_c" 1>&6
2886 echo "configure:2887: checking "for --enable-streams"" >&5
2888 # Check whether --enable-streams or --disable-streams was given.
2889 if test "${enable_streams+set}" = set; then
2890 enableval
="$enable_streams"
2892 if test "$enableval" = yes; then
2893 ac_cv_use_streams
='wxUSE_STREAMS=yes'
2895 ac_cv_use_streams
='wxUSE_STREAMS=no'
2900 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
2901 if test "x$LINE" != x
; then
2902 eval "DEFAULT_$LINE"
2907 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
2912 eval "$ac_cv_use_streams"
2913 if test "$no_cache" != 1; then
2914 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
2917 if test "$wxUSE_STREAMS" = yes; then
2918 echo "$ac_t""yes" 1>&6
2920 echo "$ac_t""no" 1>&6
2924 echo $ac_n "checking "for --enable-file"""... $ac_c" 1>&6
2925 echo "configure:2926: checking "for --enable-file"" >&5
2927 # Check whether --enable-file or --disable-file was given.
2928 if test "${enable_file+set}" = set; then
2929 enableval
="$enable_file"
2931 if test "$enableval" = yes; then
2932 ac_cv_use_file
='wxUSE_FILE=yes'
2934 ac_cv_use_file
='wxUSE_FILE=no'
2939 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
2940 if test "x$LINE" != x
; then
2941 eval "DEFAULT_$LINE"
2946 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
2951 eval "$ac_cv_use_file"
2952 if test "$no_cache" != 1; then
2953 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
2956 if test "$wxUSE_FILE" = yes; then
2957 echo "$ac_t""yes" 1>&6
2959 echo "$ac_t""no" 1>&6
2963 echo $ac_n "checking "for --enable-textfile"""... $ac_c" 1>&6
2964 echo "configure:2965: checking "for --enable-textfile"" >&5
2966 # Check whether --enable-textfile or --disable-textfile was given.
2967 if test "${enable_textfile+set}" = set; then
2968 enableval
="$enable_textfile"
2970 if test "$enableval" = yes; then
2971 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
2973 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
2978 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
2979 if test "x$LINE" != x
; then
2980 eval "DEFAULT_$LINE"
2985 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
2990 eval "$ac_cv_use_textfile"
2991 if test "$no_cache" != 1; then
2992 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
2995 if test "$wxUSE_TEXTFILE" = yes; then
2996 echo "$ac_t""yes" 1>&6
2998 echo "$ac_t""no" 1>&6
3002 echo $ac_n "checking "for --enable-unicode"""... $ac_c" 1>&6
3003 echo "configure:3004: checking "for --enable-unicode"" >&5
3005 # Check whether --enable-unicode or --disable-unicode was given.
3006 if test "${enable_unicode+set}" = set; then
3007 enableval
="$enable_unicode"
3009 if test "$enableval" = yes; then
3010 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
3012 ac_cv_use_unicode
='wxUSE_UNICODE=no'
3017 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
3018 if test "x$LINE" != x
; then
3019 eval "DEFAULT_$LINE"
3024 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
3029 eval "$ac_cv_use_unicode"
3030 if test "$no_cache" != 1; then
3031 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
3034 if test "$wxUSE_UNICODE" = yes; then
3035 echo "$ac_t""yes" 1>&6
3037 echo "$ac_t""no" 1>&6
3041 echo $ac_n "checking "for --enable-wcsrtombs"""... $ac_c" 1>&6
3042 echo "configure:3043: checking "for --enable-wcsrtombs"" >&5
3044 # Check whether --enable-wcsrtombs or --disable-wcsrtombs was given.
3045 if test "${enable_wcsrtombs+set}" = set; then
3046 enableval
="$enable_wcsrtombs"
3048 if test "$enableval" = yes; then
3049 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS=yes'
3051 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS=no'
3056 LINE
=`grep "wxUSE_WCSRTOMBS" ${wx_arg_cache_file}`
3057 if test "x$LINE" != x
; then
3058 eval "DEFAULT_$LINE"
3063 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS='$DEFAULT_wxUSE_WCSRTOMBS
3068 eval "$ac_cv_use_wcsrtombs"
3069 if test "$no_cache" != 1; then
3070 echo $ac_cv_use_wcsrtombs >> ${wx_arg_cache_file}.tmp
3073 if test "$wxUSE_WCSRTOMBS" = yes; then
3074 echo "$ac_t""yes" 1>&6
3076 echo "$ac_t""no" 1>&6
3080 echo $ac_n "checking "for --enable-wxprintfv"""... $ac_c" 1>&6
3081 echo "configure:3082: checking "for --enable-wxprintfv"" >&5
3083 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
3084 if test "${enable_wxprintfv+set}" = set; then
3085 enableval
="$enable_wxprintfv"
3087 if test "$enableval" = yes; then
3088 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
3090 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
3095 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
3096 if test "x$LINE" != x
; then
3097 eval "DEFAULT_$LINE"
3102 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
3107 eval "$ac_cv_use_wxprintfv"
3108 if test "$no_cache" != 1; then
3109 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
3112 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
3113 echo "$ac_t""yes" 1>&6
3115 echo "$ac_t""no" 1>&6
3119 echo $ac_n "checking "for --enable-joystick"""... $ac_c" 1>&6
3120 echo "configure:3121: checking "for --enable-joystick"" >&5
3122 # Check whether --enable-joystick or --disable-joystick was given.
3123 if test "${enable_joystick+set}" = set; then
3124 enableval
="$enable_joystick"
3126 if test "$enableval" = yes; then
3127 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
3129 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
3134 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
3135 if test "x$LINE" != x
; then
3136 eval "DEFAULT_$LINE"
3141 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
3146 eval "$ac_cv_use_joystick"
3147 if test "$no_cache" != 1; then
3148 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
3151 if test "$wxUSE_JOYSTICK" = yes; then
3152 echo "$ac_t""yes" 1>&6
3154 echo "$ac_t""no" 1>&6
3158 echo $ac_n "checking "for --enable-std_iostreams"""... $ac_c" 1>&6
3159 echo "configure:3160: checking "for --enable-std_iostreams"" >&5
3161 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
3162 if test "${enable_std_iostreams+set}" = set; then
3163 enableval
="$enable_std_iostreams"
3165 if test "$enableval" = yes; then
3166 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
3168 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
3173 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
3174 if test "x$LINE" != x
; then
3175 eval "DEFAULT_$LINE"
3180 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
3185 eval "$ac_cv_use_std_iostreams"
3186 if test "$no_cache" != 1; then
3187 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
3190 if test "$wxUSE_STD_IOSTREAM" = yes; then
3191 echo "$ac_t""yes" 1>&6
3193 echo "$ac_t""no" 1>&6
3197 echo $ac_n "checking "for --enable-fs_inet"""... $ac_c" 1>&6
3198 echo "configure:3199: checking "for --enable-fs_inet"" >&5
3200 # Check whether --enable-fs_inet or --disable-fs_inet was given.
3201 if test "${enable_fs_inet+set}" = set; then
3202 enableval
="$enable_fs_inet"
3204 if test "$enableval" = yes; then
3205 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
3207 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
3212 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
3213 if test "x$LINE" != x
; then
3214 eval "DEFAULT_$LINE"
3219 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
3224 eval "$ac_cv_use_fs_inet"
3225 if test "$no_cache" != 1; then
3226 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
3229 if test "$wxUSE_FS_INET" = yes; then
3230 echo "$ac_t""yes" 1>&6
3232 echo "$ac_t""no" 1>&6
3236 echo $ac_n "checking "for --enable-fs_zip"""... $ac_c" 1>&6
3237 echo "configure:3238: checking "for --enable-fs_zip"" >&5
3239 # Check whether --enable-fs_zip or --disable-fs_zip was given.
3240 if test "${enable_fs_zip+set}" = set; then
3241 enableval
="$enable_fs_zip"
3243 if test "$enableval" = yes; then
3244 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
3246 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
3251 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
3252 if test "x$LINE" != x
; then
3253 eval "DEFAULT_$LINE"
3258 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
3263 eval "$ac_cv_use_fs_zip"
3264 if test "$no_cache" != 1; then
3265 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
3268 if test "$wxUSE_FS_ZIP" = yes; then
3269 echo "$ac_t""yes" 1>&6
3271 echo "$ac_t""no" 1>&6
3275 echo $ac_n "checking "for --enable-zipstream"""... $ac_c" 1>&6
3276 echo "configure:3277: checking "for --enable-zipstream"" >&5
3278 # Check whether --enable-zipstream or --disable-zipstream was given.
3279 if test "${enable_zipstream+set}" = set; then
3280 enableval
="$enable_zipstream"
3282 if test "$enableval" = yes; then
3283 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
3285 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
3290 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
3291 if test "x$LINE" != x
; then
3292 eval "DEFAULT_$LINE"
3297 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
3302 eval "$ac_cv_use_zipstream"
3303 if test "$no_cache" != 1; then
3304 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
3307 if test "$wxUSE_ZIPSTREAM" = yes; then
3308 echo "$ac_t""yes" 1>&6
3310 echo "$ac_t""no" 1>&6
3316 echo $ac_n "checking "for --enable-threads"""... $ac_c" 1>&6
3317 echo "configure:3318: checking "for --enable-threads"" >&5
3319 # Check whether --enable-threads or --disable-threads was given.
3320 if test "${enable_threads+set}" = set; then
3321 enableval
="$enable_threads"
3323 if test "$enableval" = yes; then
3324 ac_cv_use_threads
='wxUSE_THREADS=yes'
3326 ac_cv_use_threads
='wxUSE_THREADS=no'
3331 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
3332 if test "x$LINE" != x
; then
3333 eval "DEFAULT_$LINE"
3338 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
3343 eval "$ac_cv_use_threads"
3344 if test "$no_cache" != 1; then
3345 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
3348 if test "$wxUSE_THREADS" = yes; then
3349 echo "$ac_t""yes" 1>&6
3351 echo "$ac_t""no" 1>&6
3355 echo $ac_n "checking "for --enable-serial"""... $ac_c" 1>&6
3356 echo "configure:3357: checking "for --enable-serial"" >&5
3358 # Check whether --enable-serial or --disable-serial was given.
3359 if test "${enable_serial+set}" = set; then
3360 enableval
="$enable_serial"
3362 if test "$enableval" = yes; then
3363 ac_cv_use_serial
='wxUSE_SERIAL=yes'
3365 ac_cv_use_serial
='wxUSE_SERIAL=no'
3370 LINE
=`grep "wxUSE_SERIAL" ${wx_arg_cache_file}`
3371 if test "x$LINE" != x
; then
3372 eval "DEFAULT_$LINE"
3377 ac_cv_use_serial
='wxUSE_SERIAL='$DEFAULT_wxUSE_SERIAL
3382 eval "$ac_cv_use_serial"
3383 if test "$no_cache" != 1; then
3384 echo $ac_cv_use_serial >> ${wx_arg_cache_file}.tmp
3387 if test "$wxUSE_SERIAL" = yes; then
3388 echo "$ac_t""yes" 1>&6
3390 echo "$ac_t""no" 1>&6
3394 if test "$wxUSE_GUI" = "yes"; then
3398 echo $ac_n "checking "for --enable-docview"""... $ac_c" 1>&6
3399 echo "configure:3400: checking "for --enable-docview"" >&5
3401 # Check whether --enable-docview or --disable-docview was given.
3402 if test "${enable_docview+set}" = set; then
3403 enableval
="$enable_docview"
3405 if test "$enableval" = yes; then
3406 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
3408 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
3413 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
3414 if test "x$LINE" != x
; then
3415 eval "DEFAULT_$LINE"
3420 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
3425 eval "$ac_cv_use_docview"
3426 if test "$no_cache" != 1; then
3427 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
3430 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
3431 echo "$ac_t""yes" 1>&6
3433 echo "$ac_t""no" 1>&6
3437 echo $ac_n "checking "for --enable-help"""... $ac_c" 1>&6
3438 echo "configure:3439: checking "for --enable-help"" >&5
3440 # Check whether --enable-help or --disable-help was given.
3441 if test "${enable_help+set}" = set; then
3442 enableval
="$enable_help"
3444 if test "$enableval" = yes; then
3445 ac_cv_use_help
='wxUSE_HELP=yes'
3447 ac_cv_use_help
='wxUSE_HELP=no'
3452 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
3453 if test "x$LINE" != x
; then
3454 eval "DEFAULT_$LINE"
3459 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
3464 eval "$ac_cv_use_help"
3465 if test "$no_cache" != 1; then
3466 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
3469 if test "$wxUSE_HELP" = yes; then
3470 echo "$ac_t""yes" 1>&6
3472 echo "$ac_t""no" 1>&6
3476 echo $ac_n "checking "for --enable-constraints"""... $ac_c" 1>&6
3477 echo "configure:3478: checking "for --enable-constraints"" >&5
3479 # Check whether --enable-constraints or --disable-constraints was given.
3480 if test "${enable_constraints+set}" = set; then
3481 enableval
="$enable_constraints"
3483 if test "$enableval" = yes; then
3484 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
3486 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
3491 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
3492 if test "x$LINE" != x
; then
3493 eval "DEFAULT_$LINE"
3498 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
3503 eval "$ac_cv_use_constraints"
3504 if test "$no_cache" != 1; then
3505 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
3508 if test "$wxUSE_CONSTRAINTS" = yes; then
3509 echo "$ac_t""yes" 1>&6
3511 echo "$ac_t""no" 1>&6
3515 echo $ac_n "checking "for --enable-printarch"""... $ac_c" 1>&6
3516 echo "configure:3517: checking "for --enable-printarch"" >&5
3518 # Check whether --enable-printarch or --disable-printarch was given.
3519 if test "${enable_printarch+set}" = set; then
3520 enableval
="$enable_printarch"
3522 if test "$enableval" = yes; then
3523 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
3525 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
3530 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
3531 if test "x$LINE" != x
; then
3532 eval "DEFAULT_$LINE"
3537 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
3542 eval "$ac_cv_use_printarch"
3543 if test "$no_cache" != 1; then
3544 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
3547 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
3548 echo "$ac_t""yes" 1>&6
3550 echo "$ac_t""no" 1>&6
3554 echo $ac_n "checking "for --enable-mdi"""... $ac_c" 1>&6
3555 echo "configure:3556: checking "for --enable-mdi"" >&5
3557 # Check whether --enable-mdi or --disable-mdi was given.
3558 if test "${enable_mdi+set}" = set; then
3559 enableval
="$enable_mdi"
3561 if test "$enableval" = yes; then
3562 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=yes'
3564 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=no'
3569 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
3570 if test "x$LINE" != x
; then
3571 eval "DEFAULT_$LINE"
3576 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
3581 eval "$ac_cv_use_mdi"
3582 if test "$no_cache" != 1; then
3583 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
3586 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
3587 echo "$ac_t""yes" 1>&6
3589 echo "$ac_t""no" 1>&6
3594 echo $ac_n "checking "for --enable-postscript"""... $ac_c" 1>&6
3595 echo "configure:3596: checking "for --enable-postscript"" >&5
3597 # Check whether --enable-postscript or --disable-postscript was given.
3598 if test "${enable_postscript+set}" = set; then
3599 enableval
="$enable_postscript"
3601 if test "$enableval" = yes; then
3602 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
3604 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
3609 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
3610 if test "x$LINE" != x
; then
3611 eval "DEFAULT_$LINE"
3616 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
3621 eval "$ac_cv_use_postscript"
3622 if test "$no_cache" != 1; then
3623 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
3626 if test "$wxUSE_POSTSCRIPT" = yes; then
3627 echo "$ac_t""yes" 1>&6
3629 echo "$ac_t""no" 1>&6
3635 echo $ac_n "checking "for --enable-prologio"""... $ac_c" 1>&6
3636 echo "configure:3637: checking "for --enable-prologio"" >&5
3638 # Check whether --enable-prologio or --disable-prologio was given.
3639 if test "${enable_prologio+set}" = set; then
3640 enableval
="$enable_prologio"
3642 if test "$enableval" = yes; then
3643 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
3645 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
3650 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
3651 if test "x$LINE" != x
; then
3652 eval "DEFAULT_$LINE"
3657 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
3662 eval "$ac_cv_use_prologio"
3663 if test "$no_cache" != 1; then
3664 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
3667 if test "$wxUSE_PROLOGIO" = yes; then
3668 echo "$ac_t""yes" 1>&6
3670 echo "$ac_t""no" 1>&6
3674 echo $ac_n "checking "for --enable-resources"""... $ac_c" 1>&6
3675 echo "configure:3676: checking "for --enable-resources"" >&5
3677 # Check whether --enable-resources or --disable-resources was given.
3678 if test "${enable_resources+set}" = set; then
3679 enableval
="$enable_resources"
3681 if test "$enableval" = yes; then
3682 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
3684 ac_cv_use_resources
='wxUSE_RESOURCES=no'
3689 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
3690 if test "x$LINE" != x
; then
3691 eval "DEFAULT_$LINE"
3696 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
3701 eval "$ac_cv_use_resources"
3702 if test "$no_cache" != 1; then
3703 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
3706 if test "$wxUSE_RESOURCES" = yes; then
3707 echo "$ac_t""yes" 1>&6
3709 echo "$ac_t""no" 1>&6
3714 echo $ac_n "checking "for --enable-xresources"""... $ac_c" 1>&6
3715 echo "configure:3716: checking "for --enable-xresources"" >&5
3717 # Check whether --enable-xresources or --disable-xresources was given.
3718 if test "${enable_xresources+set}" = set; then
3719 enableval
="$enable_xresources"
3721 if test "$enableval" = yes; then
3722 ac_cv_use_xresources
='wxUSE_X_RESOURCES=yes'
3724 ac_cv_use_xresources
='wxUSE_X_RESOURCES=no'
3729 LINE
=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
3730 if test "x$LINE" != x
; then
3731 eval "DEFAULT_$LINE"
3736 ac_cv_use_xresources
='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
3741 eval "$ac_cv_use_xresources"
3742 if test "$no_cache" != 1; then
3743 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
3746 if test "$wxUSE_X_RESOURCES" = yes; then
3747 echo "$ac_t""yes" 1>&6
3749 echo "$ac_t""no" 1>&6
3755 echo $ac_n "checking "for --enable-clipboard"""... $ac_c" 1>&6
3756 echo "configure:3757: checking "for --enable-clipboard"" >&5
3758 # Check whether --enable-clipboard or --disable-clipboard was given.
3759 if test "${enable_clipboard+set}" = set; then
3760 enableval
="$enable_clipboard"
3762 if test "$enableval" = yes; then
3763 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
3765 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
3770 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
3771 if test "x$LINE" != x
; then
3772 eval "DEFAULT_$LINE"
3777 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
3782 eval "$ac_cv_use_clipboard"
3783 if test "$no_cache" != 1; then
3784 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
3787 if test "$wxUSE_CLIPBOARD" = yes; then
3788 echo "$ac_t""yes" 1>&6
3790 echo "$ac_t""no" 1>&6
3794 echo $ac_n "checking "for --enable-dnd"""... $ac_c" 1>&6
3795 echo "configure:3796: checking "for --enable-dnd"" >&5
3797 # Check whether --enable-dnd or --disable-dnd was given.
3798 if test "${enable_dnd+set}" = set; then
3799 enableval
="$enable_dnd"
3801 if test "$enableval" = yes; then
3802 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
3804 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
3809 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
3810 if test "x$LINE" != x
; then
3811 eval "DEFAULT_$LINE"
3816 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
3821 eval "$ac_cv_use_dnd"
3822 if test "$no_cache" != 1; then
3823 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
3826 if test "$wxUSE_DRAG_AND_DROP" = yes; then
3827 echo "$ac_t""yes" 1>&6
3829 echo "$ac_t""no" 1>&6
3834 echo $ac_n "checking "for --enable-wxtree"""... $ac_c" 1>&6
3835 echo "configure:3836: checking "for --enable-wxtree"" >&5
3837 # Check whether --enable-wxtree or --disable-wxtree was given.
3838 if test "${enable_wxtree+set}" = set; then
3839 enableval
="$enable_wxtree"
3841 if test "$enableval" = yes; then
3842 ac_cv_use_wxtree
='wxUSE_WXTREE=yes'
3844 ac_cv_use_wxtree
='wxUSE_WXTREE=no'
3849 LINE
=`grep "wxUSE_WXTREE" ${wx_arg_cache_file}`
3850 if test "x$LINE" != x
; then
3851 eval "DEFAULT_$LINE"
3856 ac_cv_use_wxtree
='wxUSE_WXTREE='$DEFAULT_wxUSE_WXTREE
3861 eval "$ac_cv_use_wxtree"
3862 if test "$no_cache" != 1; then
3863 echo $ac_cv_use_wxtree >> ${wx_arg_cache_file}.tmp
3866 if test "$wxUSE_WXTREE" = yes; then
3867 echo "$ac_t""yes" 1>&6
3869 echo "$ac_t""no" 1>&6
3875 echo $ac_n "checking "for --enable-controls"""... $ac_c" 1>&6
3876 echo "configure:3877: checking "for --enable-controls"" >&5
3878 # Check whether --enable-controls or --disable-controls was given.
3879 if test "${enable_controls+set}" = set; then
3880 enableval
="$enable_controls"
3882 if test "$enableval" = yes; then
3883 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
3885 ac_cv_use_controls
='wxUSE_CONTROLS=no'
3890 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
3891 if test "x$LINE" != x
; then
3892 eval "DEFAULT_$LINE"
3897 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
3902 eval "$ac_cv_use_controls"
3903 if test "$no_cache" != 1; then
3904 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
3907 if test "$wxUSE_CONTROLS" = yes; then
3908 echo "$ac_t""yes" 1>&6
3910 echo "$ac_t""no" 1>&6
3914 if test "$wxUSE_CONTROLS" = "yes"; then
3915 DEFAULT_wxUSE_ACCEL
=yes
3916 DEFAULT_wxUSE_CARET
=yes
3917 DEFAULT_wxUSE_COMBOBOX
=yes
3918 DEFAULT_wxUSE_BMPBUTTON
=yes
3919 DEFAULT_wxUSE_CHECKBOX
=yes
3920 DEFAULT_wxUSE_CHECKLISTBOX
=yes
3921 DEFAULT_wxUSE_CHOICE
=yes
3922 DEFAULT_wxUSE_GAUGE
=yes
3923 DEFAULT_wxUSE_GRID
=yes
3924 DEFAULT_wxUSE_NEW_GRID
=yes
3925 DEFAULT_wxUSE_IMAGLIST
=yes
3926 DEFAULT_wxUSE_LISTBOX
=yes
3927 DEFAULT_wxUSE_LISTCTRL
=yes
3928 DEFAULT_wxUSE_NOTEBOOK
=yes
3929 DEFAULT_wxUSE_RADIOBOX
=yes
3930 DEFAULT_wxUSE_RADIOBTN
=yes
3931 DEFAULT_wxUSE_SASH
=yes
3932 DEFAULT_wxUSE_SCROLLBAR
=yes
3933 DEFAULT_wxUSE_SLIDER
=yes
3934 DEFAULT_wxUSE_SPINBTN
=yes
3935 DEFAULT_wxUSE_SPINCTRL
=yes
3936 DEFAULT_wxUSE_SPLITTER
=yes
3937 DEFAULT_wxUSE_STATBMP
=yes
3938 DEFAULT_wxUSE_STATBOX
=yes
3939 DEFAULT_wxUSE_STATLINE
=yes
3940 DEFAULT_wxUSE_STATUSBAR
=yes
3941 DEFAULT_wxUSE_TAB_DIALOG
=yes
3942 DEFAULT_wxUSE_TOOLBAR
=yes
3943 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
3944 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
3945 DEFAULT_wxUSE_TOOLTIPS
=yes
3946 DEFAULT_wxUSE_TREECTRL
=yes
3947 elif test "$wxUSE_CONTROLS" = "no"; then
3948 DEFAULT_wxUSE_ACCEL
=no
3949 DEFAULT_wxUSE_CARET
=no
3950 DEFAULT_wxUSE_COMBOBOX
=no
3951 DEFAULT_wxUSE_BMPBUTTON
=no
3952 DEFAULT_wxUSE_CHECKBOX
=no
3953 DEFAULT_wxUSE_CHECKLISTBOX
=no
3954 DEFAULT_wxUSE_CHOICE
=no
3955 DEFAULT_wxUSE_GAUGE
=no
3956 DEFAULT_wxUSE_GRID
=no
3957 DEFAULT_wxUSE_NEW_GRID
=no
3958 DEFAULT_wxUSE_IMAGLIST
=no
3959 DEFAULT_wxUSE_LISTBOX
=no
3960 DEFAULT_wxUSE_LISTCTRL
=no
3961 DEFAULT_wxUSE_NOTEBOOK
=no
3962 DEFAULT_wxUSE_RADIOBOX
=no
3963 DEFAULT_wxUSE_RADIOBTN
=no
3964 DEFAULT_wxUSE_SASH
=no
3965 DEFAULT_wxUSE_SCROLLBAR
=no
3966 DEFAULT_wxUSE_SLIDER
=no
3967 DEFAULT_wxUSE_SPINBTN
=no
3968 DEFAULT_wxUSE_SPINCTRL
=no
3969 DEFAULT_wxUSE_SPLITTER
=no
3970 DEFAULT_wxUSE_STATBMP
=no
3971 DEFAULT_wxUSE_STATBOX
=no
3972 DEFAULT_wxUSE_STATLINE
=no
3973 DEFAULT_wxUSE_STATUSBAR
=no
3974 DEFAULT_wxUSE_TAB_DIALOG
=no
3975 DEFAULT_wxUSE_TOOLBAR
=no
3976 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
3977 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
3978 DEFAULT_wxUSE_TOOLTIPS
=no
3979 DEFAULT_wxUSE_TREECTRL
=no
3983 echo $ac_n "checking "for --enable-accel"""... $ac_c" 1>&6
3984 echo "configure:3985: checking "for --enable-accel"" >&5
3986 # Check whether --enable-accel or --disable-accel was given.
3987 if test "${enable_accel+set}" = set; then
3988 enableval
="$enable_accel"
3990 if test "$enableval" = yes; then
3991 ac_cv_use_accel
='wxUSE_ACCEL=yes'
3993 ac_cv_use_accel
='wxUSE_ACCEL=no'
3998 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
3999 if test "x$LINE" != x
; then
4000 eval "DEFAULT_$LINE"
4005 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
4010 eval "$ac_cv_use_accel"
4011 if test "$no_cache" != 1; then
4012 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
4015 if test "$wxUSE_ACCEL" = yes; then
4016 echo "$ac_t""yes" 1>&6
4018 echo "$ac_t""no" 1>&6
4022 echo $ac_n "checking "for --enable-caret"""... $ac_c" 1>&6
4023 echo "configure:4024: checking "for --enable-caret"" >&5
4025 # Check whether --enable-caret or --disable-caret was given.
4026 if test "${enable_caret+set}" = set; then
4027 enableval
="$enable_caret"
4029 if test "$enableval" = yes; then
4030 ac_cv_use_caret
='wxUSE_CARET=yes'
4032 ac_cv_use_caret
='wxUSE_CARET=no'
4037 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
4038 if test "x$LINE" != x
; then
4039 eval "DEFAULT_$LINE"
4044 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
4049 eval "$ac_cv_use_caret"
4050 if test "$no_cache" != 1; then
4051 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
4054 if test "$wxUSE_CARET" = yes; then
4055 echo "$ac_t""yes" 1>&6
4057 echo "$ac_t""no" 1>&6
4061 echo $ac_n "checking "for --enable-bmpbutton"""... $ac_c" 1>&6
4062 echo "configure:4063: checking "for --enable-bmpbutton"" >&5
4064 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
4065 if test "${enable_bmpbutton+set}" = set; then
4066 enableval
="$enable_bmpbutton"
4068 if test "$enableval" = yes; then
4069 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
4071 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
4076 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
4077 if test "x$LINE" != x
; then
4078 eval "DEFAULT_$LINE"
4083 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
4088 eval "$ac_cv_use_bmpbutton"
4089 if test "$no_cache" != 1; then
4090 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
4093 if test "$wxUSE_BMPBUTTON" = yes; then
4094 echo "$ac_t""yes" 1>&6
4096 echo "$ac_t""no" 1>&6
4100 echo $ac_n "checking "for --enable-checkbox"""... $ac_c" 1>&6
4101 echo "configure:4102: checking "for --enable-checkbox"" >&5
4103 # Check whether --enable-checkbox or --disable-checkbox was given.
4104 if test "${enable_checkbox+set}" = set; then
4105 enableval
="$enable_checkbox"
4107 if test "$enableval" = yes; then
4108 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
4110 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
4115 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
4116 if test "x$LINE" != x
; then
4117 eval "DEFAULT_$LINE"
4122 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
4127 eval "$ac_cv_use_checkbox"
4128 if test "$no_cache" != 1; then
4129 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
4132 if test "$wxUSE_CHECKBOX" = yes; then
4133 echo "$ac_t""yes" 1>&6
4135 echo "$ac_t""no" 1>&6
4139 echo $ac_n "checking "for --enable-checklst"""... $ac_c" 1>&6
4140 echo "configure:4141: checking "for --enable-checklst"" >&5
4142 # Check whether --enable-checklst or --disable-checklst was given.
4143 if test "${enable_checklst+set}" = set; then
4144 enableval
="$enable_checklst"
4146 if test "$enableval" = yes; then
4147 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
4149 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
4154 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
4155 if test "x$LINE" != x
; then
4156 eval "DEFAULT_$LINE"
4161 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
4166 eval "$ac_cv_use_checklst"
4167 if test "$no_cache" != 1; then
4168 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
4171 if test "$wxUSE_CHECKLST" = yes; then
4172 echo "$ac_t""yes" 1>&6
4174 echo "$ac_t""no" 1>&6
4178 echo $ac_n "checking "for --enable-choice"""... $ac_c" 1>&6
4179 echo "configure:4180: checking "for --enable-choice"" >&5
4181 # Check whether --enable-choice or --disable-choice was given.
4182 if test "${enable_choice+set}" = set; then
4183 enableval
="$enable_choice"
4185 if test "$enableval" = yes; then
4186 ac_cv_use_choice
='wxUSE_CHOICE=yes'
4188 ac_cv_use_choice
='wxUSE_CHOICE=no'
4193 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
4194 if test "x$LINE" != x
; then
4195 eval "DEFAULT_$LINE"
4200 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
4205 eval "$ac_cv_use_choice"
4206 if test "$no_cache" != 1; then
4207 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
4210 if test "$wxUSE_CHOICE" = yes; then
4211 echo "$ac_t""yes" 1>&6
4213 echo "$ac_t""no" 1>&6
4217 echo $ac_n "checking "for --enable-combobox"""... $ac_c" 1>&6
4218 echo "configure:4219: checking "for --enable-combobox"" >&5
4220 # Check whether --enable-combobox or --disable-combobox was given.
4221 if test "${enable_combobox+set}" = set; then
4222 enableval
="$enable_combobox"
4224 if test "$enableval" = yes; then
4225 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
4227 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
4232 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
4233 if test "x$LINE" != x
; then
4234 eval "DEFAULT_$LINE"
4239 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
4244 eval "$ac_cv_use_combobox"
4245 if test "$no_cache" != 1; then
4246 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
4249 if test "$wxUSE_COMBOBOX" = yes; then
4250 echo "$ac_t""yes" 1>&6
4252 echo "$ac_t""no" 1>&6
4256 echo $ac_n "checking "for --enable-gauge"""... $ac_c" 1>&6
4257 echo "configure:4258: checking "for --enable-gauge"" >&5
4259 # Check whether --enable-gauge or --disable-gauge was given.
4260 if test "${enable_gauge+set}" = set; then
4261 enableval
="$enable_gauge"
4263 if test "$enableval" = yes; then
4264 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
4266 ac_cv_use_gauge
='wxUSE_GAUGE=no'
4271 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
4272 if test "x$LINE" != x
; then
4273 eval "DEFAULT_$LINE"
4278 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
4283 eval "$ac_cv_use_gauge"
4284 if test "$no_cache" != 1; then
4285 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
4288 if test "$wxUSE_GAUGE" = yes; then
4289 echo "$ac_t""yes" 1>&6
4291 echo "$ac_t""no" 1>&6
4295 echo $ac_n "checking "for --enable-grid"""... $ac_c" 1>&6
4296 echo "configure:4297: checking "for --enable-grid"" >&5
4298 # Check whether --enable-grid or --disable-grid was given.
4299 if test "${enable_grid+set}" = set; then
4300 enableval
="$enable_grid"
4302 if test "$enableval" = yes; then
4303 ac_cv_use_grid
='wxUSE_GRID=yes'
4305 ac_cv_use_grid
='wxUSE_GRID=no'
4310 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
4311 if test "x$LINE" != x
; then
4312 eval "DEFAULT_$LINE"
4317 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
4322 eval "$ac_cv_use_grid"
4323 if test "$no_cache" != 1; then
4324 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
4327 if test "$wxUSE_GRID" = yes; then
4328 echo "$ac_t""yes" 1>&6
4330 echo "$ac_t""no" 1>&6
4334 echo $ac_n "checking "for --enable-newgrid"""... $ac_c" 1>&6
4335 echo "configure:4336: checking "for --enable-newgrid"" >&5
4337 # Check whether --enable-newgrid or --disable-newgrid was given.
4338 if test "${enable_newgrid+set}" = set; then
4339 enableval
="$enable_newgrid"
4341 if test "$enableval" = yes; then
4342 ac_cv_use_newgrid
='wxUSE_NEW_GRID=yes'
4344 ac_cv_use_newgrid
='wxUSE_NEW_GRID=no'
4349 LINE
=`grep "wxUSE_NEW_GRID" ${wx_arg_cache_file}`
4350 if test "x$LINE" != x
; then
4351 eval "DEFAULT_$LINE"
4356 ac_cv_use_newgrid
='wxUSE_NEW_GRID='$DEFAULT_wxUSE_NEW_GRID
4361 eval "$ac_cv_use_newgrid"
4362 if test "$no_cache" != 1; then
4363 echo $ac_cv_use_newgrid >> ${wx_arg_cache_file}.tmp
4366 if test "$wxUSE_NEW_GRID" = yes; then
4367 echo "$ac_t""yes" 1>&6
4369 echo "$ac_t""no" 1>&6
4373 echo $ac_n "checking "for --enable-imaglist"""... $ac_c" 1>&6
4374 echo "configure:4375: checking "for --enable-imaglist"" >&5
4376 # Check whether --enable-imaglist or --disable-imaglist was given.
4377 if test "${enable_imaglist+set}" = set; then
4378 enableval
="$enable_imaglist"
4380 if test "$enableval" = yes; then
4381 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
4383 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
4388 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
4389 if test "x$LINE" != x
; then
4390 eval "DEFAULT_$LINE"
4395 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
4400 eval "$ac_cv_use_imaglist"
4401 if test "$no_cache" != 1; then
4402 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
4405 if test "$wxUSE_IMAGLIST" = yes; then
4406 echo "$ac_t""yes" 1>&6
4408 echo "$ac_t""no" 1>&6
4412 echo $ac_n "checking "for --enable-listbox"""... $ac_c" 1>&6
4413 echo "configure:4414: checking "for --enable-listbox"" >&5
4415 # Check whether --enable-listbox or --disable-listbox was given.
4416 if test "${enable_listbox+set}" = set; then
4417 enableval
="$enable_listbox"
4419 if test "$enableval" = yes; then
4420 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
4422 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
4427 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
4428 if test "x$LINE" != x
; then
4429 eval "DEFAULT_$LINE"
4434 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
4439 eval "$ac_cv_use_listbox"
4440 if test "$no_cache" != 1; then
4441 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
4444 if test "$wxUSE_LISTBOX" = yes; then
4445 echo "$ac_t""yes" 1>&6
4447 echo "$ac_t""no" 1>&6
4451 echo $ac_n "checking "for --enable-listctrl"""... $ac_c" 1>&6
4452 echo "configure:4453: checking "for --enable-listctrl"" >&5
4454 # Check whether --enable-listctrl or --disable-listctrl was given.
4455 if test "${enable_listctrl+set}" = set; then
4456 enableval
="$enable_listctrl"
4458 if test "$enableval" = yes; then
4459 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
4461 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
4466 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
4467 if test "x$LINE" != x
; then
4468 eval "DEFAULT_$LINE"
4473 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
4478 eval "$ac_cv_use_listctrl"
4479 if test "$no_cache" != 1; then
4480 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
4483 if test "$wxUSE_LISTCTRL" = yes; then
4484 echo "$ac_t""yes" 1>&6
4486 echo "$ac_t""no" 1>&6
4490 echo $ac_n "checking "for --enable-notebook"""... $ac_c" 1>&6
4491 echo "configure:4492: checking "for --enable-notebook"" >&5
4493 # Check whether --enable-notebook or --disable-notebook was given.
4494 if test "${enable_notebook+set}" = set; then
4495 enableval
="$enable_notebook"
4497 if test "$enableval" = yes; then
4498 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
4500 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
4505 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
4506 if test "x$LINE" != x
; then
4507 eval "DEFAULT_$LINE"
4512 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
4517 eval "$ac_cv_use_notebook"
4518 if test "$no_cache" != 1; then
4519 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
4522 if test "$wxUSE_NOTEBOOK" = yes; then
4523 echo "$ac_t""yes" 1>&6
4525 echo "$ac_t""no" 1>&6
4529 echo $ac_n "checking "for --enable-radiobox"""... $ac_c" 1>&6
4530 echo "configure:4531: checking "for --enable-radiobox"" >&5
4532 # Check whether --enable-radiobox or --disable-radiobox was given.
4533 if test "${enable_radiobox+set}" = set; then
4534 enableval
="$enable_radiobox"
4536 if test "$enableval" = yes; then
4537 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
4539 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
4544 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
4545 if test "x$LINE" != x
; then
4546 eval "DEFAULT_$LINE"
4551 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
4556 eval "$ac_cv_use_radiobox"
4557 if test "$no_cache" != 1; then
4558 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
4561 if test "$wxUSE_RADIOBOX" = yes; then
4562 echo "$ac_t""yes" 1>&6
4564 echo "$ac_t""no" 1>&6
4568 echo $ac_n "checking "for --enable-radiobtn"""... $ac_c" 1>&6
4569 echo "configure:4570: checking "for --enable-radiobtn"" >&5
4571 # Check whether --enable-radiobtn or --disable-radiobtn was given.
4572 if test "${enable_radiobtn+set}" = set; then
4573 enableval
="$enable_radiobtn"
4575 if test "$enableval" = yes; then
4576 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
4578 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
4583 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
4584 if test "x$LINE" != x
; then
4585 eval "DEFAULT_$LINE"
4590 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
4595 eval "$ac_cv_use_radiobtn"
4596 if test "$no_cache" != 1; then
4597 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
4600 if test "$wxUSE_RADIOBTN" = yes; then
4601 echo "$ac_t""yes" 1>&6
4603 echo "$ac_t""no" 1>&6
4607 echo $ac_n "checking "for --enable-sash"""... $ac_c" 1>&6
4608 echo "configure:4609: checking "for --enable-sash"" >&5
4610 # Check whether --enable-sash or --disable-sash was given.
4611 if test "${enable_sash+set}" = set; then
4612 enableval
="$enable_sash"
4614 if test "$enableval" = yes; then
4615 ac_cv_use_sash
='wxUSE_SASH=yes'
4617 ac_cv_use_sash
='wxUSE_SASH=no'
4622 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
4623 if test "x$LINE" != x
; then
4624 eval "DEFAULT_$LINE"
4629 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
4634 eval "$ac_cv_use_sash"
4635 if test "$no_cache" != 1; then
4636 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
4639 if test "$wxUSE_SASH" = yes; then
4640 echo "$ac_t""yes" 1>&6
4642 echo "$ac_t""no" 1>&6
4646 echo $ac_n "checking "for --enable-scrollbar"""... $ac_c" 1>&6
4647 echo "configure:4648: checking "for --enable-scrollbar"" >&5
4649 # Check whether --enable-scrollbar or --disable-scrollbar was given.
4650 if test "${enable_scrollbar+set}" = set; then
4651 enableval
="$enable_scrollbar"
4653 if test "$enableval" = yes; then
4654 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
4656 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
4661 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
4662 if test "x$LINE" != x
; then
4663 eval "DEFAULT_$LINE"
4668 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
4673 eval "$ac_cv_use_scrollbar"
4674 if test "$no_cache" != 1; then
4675 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
4678 if test "$wxUSE_SCROLLBAR" = yes; then
4679 echo "$ac_t""yes" 1>&6
4681 echo "$ac_t""no" 1>&6
4685 echo $ac_n "checking "for --enable-slider"""... $ac_c" 1>&6
4686 echo "configure:4687: checking "for --enable-slider"" >&5
4688 # Check whether --enable-slider or --disable-slider was given.
4689 if test "${enable_slider+set}" = set; then
4690 enableval
="$enable_slider"
4692 if test "$enableval" = yes; then
4693 ac_cv_use_slider
='wxUSE_SLIDER=yes'
4695 ac_cv_use_slider
='wxUSE_SLIDER=no'
4700 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
4701 if test "x$LINE" != x
; then
4702 eval "DEFAULT_$LINE"
4707 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
4712 eval "$ac_cv_use_slider"
4713 if test "$no_cache" != 1; then
4714 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
4717 if test "$wxUSE_SLIDER" = yes; then
4718 echo "$ac_t""yes" 1>&6
4720 echo "$ac_t""no" 1>&6
4724 echo $ac_n "checking "for --enable-spinbtn"""... $ac_c" 1>&6
4725 echo "configure:4726: checking "for --enable-spinbtn"" >&5
4727 # Check whether --enable-spinbtn or --disable-spinbtn was given.
4728 if test "${enable_spinbtn+set}" = set; then
4729 enableval
="$enable_spinbtn"
4731 if test "$enableval" = yes; then
4732 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
4734 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
4739 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
4740 if test "x$LINE" != x
; then
4741 eval "DEFAULT_$LINE"
4746 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
4751 eval "$ac_cv_use_spinbtn"
4752 if test "$no_cache" != 1; then
4753 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
4756 if test "$wxUSE_SPINBTN" = yes; then
4757 echo "$ac_t""yes" 1>&6
4759 echo "$ac_t""no" 1>&6
4763 echo $ac_n "checking "for --enable-spinctrl"""... $ac_c" 1>&6
4764 echo "configure:4765: checking "for --enable-spinctrl"" >&5
4766 # Check whether --enable-spinctrl or --disable-spinctrl was given.
4767 if test "${enable_spinctrl+set}" = set; then
4768 enableval
="$enable_spinctrl"
4770 if test "$enableval" = yes; then
4771 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
4773 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
4778 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
4779 if test "x$LINE" != x
; then
4780 eval "DEFAULT_$LINE"
4785 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
4790 eval "$ac_cv_use_spinctrl"
4791 if test "$no_cache" != 1; then
4792 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
4795 if test "$wxUSE_SPINCTRL" = yes; then
4796 echo "$ac_t""yes" 1>&6
4798 echo "$ac_t""no" 1>&6
4802 echo $ac_n "checking "for --enable-splitter"""... $ac_c" 1>&6
4803 echo "configure:4804: checking "for --enable-splitter"" >&5
4805 # Check whether --enable-splitter or --disable-splitter was given.
4806 if test "${enable_splitter+set}" = set; then
4807 enableval
="$enable_splitter"
4809 if test "$enableval" = yes; then
4810 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
4812 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
4817 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
4818 if test "x$LINE" != x
; then
4819 eval "DEFAULT_$LINE"
4824 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
4829 eval "$ac_cv_use_splitter"
4830 if test "$no_cache" != 1; then
4831 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
4834 if test "$wxUSE_SPLITTER" = yes; then
4835 echo "$ac_t""yes" 1>&6
4837 echo "$ac_t""no" 1>&6
4841 echo $ac_n "checking "for --enable-statbmp"""... $ac_c" 1>&6
4842 echo "configure:4843: checking "for --enable-statbmp"" >&5
4844 # Check whether --enable-statbmp or --disable-statbmp was given.
4845 if test "${enable_statbmp+set}" = set; then
4846 enableval
="$enable_statbmp"
4848 if test "$enableval" = yes; then
4849 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
4851 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
4856 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
4857 if test "x$LINE" != x
; then
4858 eval "DEFAULT_$LINE"
4863 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
4868 eval "$ac_cv_use_statbmp"
4869 if test "$no_cache" != 1; then
4870 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
4873 if test "$wxUSE_STATBMP" = yes; then
4874 echo "$ac_t""yes" 1>&6
4876 echo "$ac_t""no" 1>&6
4880 echo $ac_n "checking "for --enable-statbox"""... $ac_c" 1>&6
4881 echo "configure:4882: checking "for --enable-statbox"" >&5
4883 # Check whether --enable-statbox or --disable-statbox was given.
4884 if test "${enable_statbox+set}" = set; then
4885 enableval
="$enable_statbox"
4887 if test "$enableval" = yes; then
4888 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
4890 ac_cv_use_statbox
='wxUSE_STATBOX=no'
4895 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
4896 if test "x$LINE" != x
; then
4897 eval "DEFAULT_$LINE"
4902 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
4907 eval "$ac_cv_use_statbox"
4908 if test "$no_cache" != 1; then
4909 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
4912 if test "$wxUSE_STATBOX" = yes; then
4913 echo "$ac_t""yes" 1>&6
4915 echo "$ac_t""no" 1>&6
4919 echo $ac_n "checking "for --enable-statline"""... $ac_c" 1>&6
4920 echo "configure:4921: checking "for --enable-statline"" >&5
4922 # Check whether --enable-statline or --disable-statline was given.
4923 if test "${enable_statline+set}" = set; then
4924 enableval
="$enable_statline"
4926 if test "$enableval" = yes; then
4927 ac_cv_use_statline
='wxUSE_STATLINE=yes'
4929 ac_cv_use_statline
='wxUSE_STATLINE=no'
4934 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
4935 if test "x$LINE" != x
; then
4936 eval "DEFAULT_$LINE"
4941 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
4946 eval "$ac_cv_use_statline"
4947 if test "$no_cache" != 1; then
4948 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
4951 if test "$wxUSE_STATLINE" = yes; then
4952 echo "$ac_t""yes" 1>&6
4954 echo "$ac_t""no" 1>&6
4958 echo $ac_n "checking "for --enable-statusbar"""... $ac_c" 1>&6
4959 echo "configure:4960: checking "for --enable-statusbar"" >&5
4961 # Check whether --enable-statusbar or --disable-statusbar was given.
4962 if test "${enable_statusbar+set}" = set; then
4963 enableval
="$enable_statusbar"
4965 if test "$enableval" = yes; then
4966 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
4968 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
4973 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
4974 if test "x$LINE" != x
; then
4975 eval "DEFAULT_$LINE"
4980 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
4985 eval "$ac_cv_use_statusbar"
4986 if test "$no_cache" != 1; then
4987 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
4990 if test "$wxUSE_STATUSBAR" = yes; then
4991 echo "$ac_t""yes" 1>&6
4993 echo "$ac_t""no" 1>&6
4997 echo $ac_n "checking "for --enable-tabdialog"""... $ac_c" 1>&6
4998 echo "configure:4999: checking "for --enable-tabdialog"" >&5
5000 # Check whether --enable-tabdialog or --disable-tabdialog was given.
5001 if test "${enable_tabdialog+set}" = set; then
5002 enableval
="$enable_tabdialog"
5004 if test "$enableval" = yes; then
5005 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
5007 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
5012 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
5013 if test "x$LINE" != x
; then
5014 eval "DEFAULT_$LINE"
5019 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
5024 eval "$ac_cv_use_tabdialog"
5025 if test "$no_cache" != 1; then
5026 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
5029 if test "$wxUSE_TABDIALOG" = yes; then
5030 echo "$ac_t""yes" 1>&6
5032 echo "$ac_t""no" 1>&6
5036 echo $ac_n "checking "for --enable-toolbar"""... $ac_c" 1>&6
5037 echo "configure:5038: checking "for --enable-toolbar"" >&5
5039 # Check whether --enable-toolbar or --disable-toolbar was given.
5040 if test "${enable_toolbar+set}" = set; then
5041 enableval
="$enable_toolbar"
5043 if test "$enableval" = yes; then
5044 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
5046 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
5051 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
5052 if test "x$LINE" != x
; then
5053 eval "DEFAULT_$LINE"
5058 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
5063 eval "$ac_cv_use_toolbar"
5064 if test "$no_cache" != 1; then
5065 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
5068 if test "$wxUSE_TOOLBAR" = yes; then
5069 echo "$ac_t""yes" 1>&6
5071 echo "$ac_t""no" 1>&6
5075 echo $ac_n "checking "for --enable-tbarnative"""... $ac_c" 1>&6
5076 echo "configure:5077: checking "for --enable-tbarnative"" >&5
5078 # Check whether --enable-tbarnative or --disable-tbarnative was given.
5079 if test "${enable_tbarnative+set}" = set; then
5080 enableval
="$enable_tbarnative"
5082 if test "$enableval" = yes; then
5083 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
5085 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
5090 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
5091 if test "x$LINE" != x
; then
5092 eval "DEFAULT_$LINE"
5097 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
5102 eval "$ac_cv_use_tbarnative"
5103 if test "$no_cache" != 1; then
5104 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
5107 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
5108 echo "$ac_t""yes" 1>&6
5110 echo "$ac_t""no" 1>&6
5114 echo $ac_n "checking "for --enable-tbarsmpl"""... $ac_c" 1>&6
5115 echo "configure:5116: checking "for --enable-tbarsmpl"" >&5
5117 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
5118 if test "${enable_tbarsmpl+set}" = set; then
5119 enableval
="$enable_tbarsmpl"
5121 if test "$enableval" = yes; then
5122 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
5124 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
5129 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
5130 if test "x$LINE" != x
; then
5131 eval "DEFAULT_$LINE"
5136 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
5141 eval "$ac_cv_use_tbarsmpl"
5142 if test "$no_cache" != 1; then
5143 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
5146 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
5147 echo "$ac_t""yes" 1>&6
5149 echo "$ac_t""no" 1>&6
5153 echo $ac_n "checking "for --enable-treectrl"""... $ac_c" 1>&6
5154 echo "configure:5155: checking "for --enable-treectrl"" >&5
5156 # Check whether --enable-treectrl or --disable-treectrl was given.
5157 if test "${enable_treectrl+set}" = set; then
5158 enableval
="$enable_treectrl"
5160 if test "$enableval" = yes; then
5161 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
5163 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
5168 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
5169 if test "x$LINE" != x
; then
5170 eval "DEFAULT_$LINE"
5175 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
5180 eval "$ac_cv_use_treectrl"
5181 if test "$no_cache" != 1; then
5182 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
5185 if test "$wxUSE_TREECTRL" = yes; then
5186 echo "$ac_t""yes" 1>&6
5188 echo "$ac_t""no" 1>&6
5194 echo $ac_n "checking "for --enable-commondlg"""... $ac_c" 1>&6
5195 echo "configure:5196: checking "for --enable-commondlg"" >&5
5197 # Check whether --enable-commondlg or --disable-commondlg was given.
5198 if test "${enable_commondlg+set}" = set; then
5199 enableval
="$enable_commondlg"
5201 if test "$enableval" = yes; then
5202 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
5204 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
5209 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
5210 if test "x$LINE" != x
; then
5211 eval "DEFAULT_$LINE"
5216 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
5221 eval "$ac_cv_use_commondlg"
5222 if test "$no_cache" != 1; then
5223 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
5226 if test "$wxUSE_COMMONDLGS" = yes; then
5227 echo "$ac_t""yes" 1>&6
5229 echo "$ac_t""no" 1>&6
5233 echo $ac_n "checking "for --enable-dirdlg"""... $ac_c" 1>&6
5234 echo "configure:5235: checking "for --enable-dirdlg"" >&5
5236 # Check whether --enable-dirdlg or --disable-dirdlg was given.
5237 if test "${enable_dirdlg+set}" = set; then
5238 enableval
="$enable_dirdlg"
5240 if test "$enableval" = yes; then
5241 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
5243 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
5248 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
5249 if test "x$LINE" != x
; then
5250 eval "DEFAULT_$LINE"
5255 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
5260 eval "$ac_cv_use_dirdlg"
5261 if test "$no_cache" != 1; then
5262 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
5265 if test "$wxUSE_DIRDLG" = yes; then
5266 echo "$ac_t""yes" 1>&6
5268 echo "$ac_t""no" 1>&6
5272 echo $ac_n "checking "for --enable-textdlg"""... $ac_c" 1>&6
5273 echo "configure:5274: checking "for --enable-textdlg"" >&5
5275 # Check whether --enable-textdlg or --disable-textdlg was given.
5276 if test "${enable_textdlg+set}" = set; then
5277 enableval
="$enable_textdlg"
5279 if test "$enableval" = yes; then
5280 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
5282 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
5287 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
5288 if test "x$LINE" != x
; then
5289 eval "DEFAULT_$LINE"
5294 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
5299 eval "$ac_cv_use_textdlg"
5300 if test "$no_cache" != 1; then
5301 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
5304 if test "$wxUSE_TEXTDLG" = yes; then
5305 echo "$ac_t""yes" 1>&6
5307 echo "$ac_t""no" 1>&6
5311 echo $ac_n "checking "for --enable-tipdlg"""... $ac_c" 1>&6
5312 echo "configure:5313: checking "for --enable-tipdlg"" >&5
5314 # Check whether --enable-tipdlg or --disable-tipdlg was given.
5315 if test "${enable_tipdlg+set}" = set; then
5316 enableval
="$enable_tipdlg"
5318 if test "$enableval" = yes; then
5319 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
5321 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
5326 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
5327 if test "x$LINE" != x
; then
5328 eval "DEFAULT_$LINE"
5333 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
5338 eval "$ac_cv_use_tipdlg"
5339 if test "$no_cache" != 1; then
5340 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
5343 if test "$wxUSE_STARTUP_TIPS" = yes; then
5344 echo "$ac_t""yes" 1>&6
5346 echo "$ac_t""no" 1>&6
5350 echo $ac_n "checking "for --enable-progressdlg"""... $ac_c" 1>&6
5351 echo "configure:5352: checking "for --enable-progressdlg"" >&5
5353 # Check whether --enable-progressdlg or --disable-progressdlg was given.
5354 if test "${enable_progressdlg+set}" = set; then
5355 enableval
="$enable_progressdlg"
5357 if test "$enableval" = yes; then
5358 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
5360 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
5365 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
5366 if test "x$LINE" != x
; then
5367 eval "DEFAULT_$LINE"
5372 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
5377 eval "$ac_cv_use_progressdlg"
5378 if test "$no_cache" != 1; then
5379 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
5382 if test "$wxUSE_PROGRESSDLG" = yes; then
5383 echo "$ac_t""yes" 1>&6
5385 echo "$ac_t""no" 1>&6
5389 echo $ac_n "checking "for --enable-miniframe"""... $ac_c" 1>&6
5390 echo "configure:5391: checking "for --enable-miniframe"" >&5
5392 # Check whether --enable-miniframe or --disable-miniframe was given.
5393 if test "${enable_miniframe+set}" = set; then
5394 enableval
="$enable_miniframe"
5396 if test "$enableval" = yes; then
5397 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
5399 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
5404 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
5405 if test "x$LINE" != x
; then
5406 eval "DEFAULT_$LINE"
5411 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
5416 eval "$ac_cv_use_miniframe"
5417 if test "$no_cache" != 1; then
5418 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
5421 if test "$wxUSE_MINIFRAME" = yes; then
5422 echo "$ac_t""yes" 1>&6
5424 echo "$ac_t""no" 1>&6
5428 echo $ac_n "checking "for --enable-html"""... $ac_c" 1>&6
5429 echo "configure:5430: checking "for --enable-html"" >&5
5431 # Check whether --enable-html or --disable-html was given.
5432 if test "${enable_html+set}" = set; then
5433 enableval
="$enable_html"
5435 if test "$enableval" = yes; then
5436 ac_cv_use_html
='wxUSE_HTML=yes'
5438 ac_cv_use_html
='wxUSE_HTML=no'
5443 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
5444 if test "x$LINE" != x
; then
5445 eval "DEFAULT_$LINE"
5450 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
5455 eval "$ac_cv_use_html"
5456 if test "$no_cache" != 1; then
5457 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
5460 if test "$wxUSE_HTML" = yes; then
5461 echo "$ac_t""yes" 1>&6
5463 echo "$ac_t""no" 1>&6
5467 echo $ac_n "checking "for --enable-tooltips"""... $ac_c" 1>&6
5468 echo "configure:5469: checking "for --enable-tooltips"" >&5
5470 # Check whether --enable-tooltips or --disable-tooltips was given.
5471 if test "${enable_tooltips+set}" = set; then
5472 enableval
="$enable_tooltips"
5474 if test "$enableval" = yes; then
5475 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
5477 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
5482 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
5483 if test "x$LINE" != x
; then
5484 eval "DEFAULT_$LINE"
5489 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
5494 eval "$ac_cv_use_tooltips"
5495 if test "$no_cache" != 1; then
5496 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
5499 if test "$wxUSE_TOOLTIPS" = yes; then
5500 echo "$ac_t""yes" 1>&6
5502 echo "$ac_t""no" 1>&6
5506 echo $ac_n "checking "for --enable-splines"""... $ac_c" 1>&6
5507 echo "configure:5508: checking "for --enable-splines"" >&5
5509 # Check whether --enable-splines or --disable-splines was given.
5510 if test "${enable_splines+set}" = set; then
5511 enableval
="$enable_splines"
5513 if test "$enableval" = yes; then
5514 ac_cv_use_splines
='wxUSE_SPLINES=yes'
5516 ac_cv_use_splines
='wxUSE_SPLINES=no'
5521 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
5522 if test "x$LINE" != x
; then
5523 eval "DEFAULT_$LINE"
5528 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
5533 eval "$ac_cv_use_splines"
5534 if test "$no_cache" != 1; then
5535 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
5538 if test "$wxUSE_SPLINES" = yes; then
5539 echo "$ac_t""yes" 1>&6
5541 echo "$ac_t""no" 1>&6
5545 echo $ac_n "checking "for --enable-validators"""... $ac_c" 1>&6
5546 echo "configure:5547: checking "for --enable-validators"" >&5
5548 # Check whether --enable-validators or --disable-validators was given.
5549 if test "${enable_validators+set}" = set; then
5550 enableval
="$enable_validators"
5552 if test "$enableval" = yes; then
5553 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
5555 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
5560 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
5561 if test "x$LINE" != x
; then
5562 eval "DEFAULT_$LINE"
5567 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
5572 eval "$ac_cv_use_validators"
5573 if test "$no_cache" != 1; then
5574 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
5577 if test "$wxUSE_VALIDATORS" = yes; then
5578 echo "$ac_t""yes" 1>&6
5580 echo "$ac_t""no" 1>&6
5584 echo $ac_n "checking "for --enable-busyinfo"""... $ac_c" 1>&6
5585 echo "configure:5586: checking "for --enable-busyinfo"" >&5
5587 # Check whether --enable-busyinfo or --disable-busyinfo was given.
5588 if test "${enable_busyinfo+set}" = set; then
5589 enableval
="$enable_busyinfo"
5591 if test "$enableval" = yes; then
5592 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
5594 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
5599 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
5600 if test "x$LINE" != x
; then
5601 eval "DEFAULT_$LINE"
5606 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
5611 eval "$ac_cv_use_busyinfo"
5612 if test "$no_cache" != 1; then
5613 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
5616 if test "$wxUSE_BUSYINFO" = yes; then
5617 echo "$ac_t""yes" 1>&6
5619 echo "$ac_t""no" 1>&6
5623 echo $ac_n "checking "for --enable-plot"""... $ac_c" 1>&6
5624 echo "configure:5625: checking "for --enable-plot"" >&5
5626 # Check whether --enable-plot or --disable-plot was given.
5627 if test "${enable_plot+set}" = set; then
5628 enableval
="$enable_plot"
5630 if test "$enableval" = yes; then
5631 ac_cv_use_plot
='wxUSE_PLOT=yes'
5633 ac_cv_use_plot
='wxUSE_PLOT=no'
5638 LINE
=`grep "wxUSE_PLOT" ${wx_arg_cache_file}`
5639 if test "x$LINE" != x
; then
5640 eval "DEFAULT_$LINE"
5645 ac_cv_use_plot
='wxUSE_PLOT='$DEFAULT_wxUSE_PLOT
5650 eval "$ac_cv_use_plot"
5651 if test "$no_cache" != 1; then
5652 echo $ac_cv_use_plot >> ${wx_arg_cache_file}.tmp
5655 if test "$wxUSE_PLOT" = yes; then
5656 echo "$ac_t""yes" 1>&6
5658 echo "$ac_t""no" 1>&6
5664 echo $ac_n "checking "for --enable-gif"""... $ac_c" 1>&6
5665 echo "configure:5666: checking "for --enable-gif"" >&5
5667 # Check whether --enable-gif or --disable-gif was given.
5668 if test "${enable_gif+set}" = set; then
5669 enableval
="$enable_gif"
5671 if test "$enableval" = yes; then
5672 ac_cv_use_gif
='wxUSE_GIF=yes'
5674 ac_cv_use_gif
='wxUSE_GIF=no'
5679 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
5680 if test "x$LINE" != x
; then
5681 eval "DEFAULT_$LINE"
5686 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
5691 eval "$ac_cv_use_gif"
5692 if test "$no_cache" != 1; then
5693 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
5696 if test "$wxUSE_GIF" = yes; then
5697 echo "$ac_t""yes" 1>&6
5699 echo "$ac_t""no" 1>&6
5703 echo $ac_n "checking "for --enable-pcx"""... $ac_c" 1>&6
5704 echo "configure:5705: checking "for --enable-pcx"" >&5
5706 # Check whether --enable-pcx or --disable-pcx was given.
5707 if test "${enable_pcx+set}" = set; then
5708 enableval
="$enable_pcx"
5710 if test "$enableval" = yes; then
5711 ac_cv_use_pcx
='wxUSE_PCX=yes'
5713 ac_cv_use_pcx
='wxUSE_PCX=no'
5718 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
5719 if test "x$LINE" != x
; then
5720 eval "DEFAULT_$LINE"
5725 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
5730 eval "$ac_cv_use_pcx"
5731 if test "$no_cache" != 1; then
5732 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
5735 if test "$wxUSE_PCX" = yes; then
5736 echo "$ac_t""yes" 1>&6
5738 echo "$ac_t""no" 1>&6
5742 echo $ac_n "checking "for --enable-pnm"""... $ac_c" 1>&6
5743 echo "configure:5744: checking "for --enable-pnm"" >&5
5745 # Check whether --enable-pnm or --disable-pnm was given.
5746 if test "${enable_pnm+set}" = set; then
5747 enableval
="$enable_pnm"
5749 if test "$enableval" = yes; then
5750 ac_cv_use_pnm
='wxUSE_PNM=yes'
5752 ac_cv_use_pnm
='wxUSE_PNM=no'
5757 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
5758 if test "x$LINE" != x
; then
5759 eval "DEFAULT_$LINE"
5764 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
5769 eval "$ac_cv_use_pnm"
5770 if test "$no_cache" != 1; then
5771 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
5774 if test "$wxUSE_PNM" = yes; then
5775 echo "$ac_t""yes" 1>&6
5777 echo "$ac_t""no" 1>&6
5784 echo "saving argument cache $wx_arg_cache_file"
5785 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
5789 echo $ac_n "checking for toolkit""... $ac_c" 1>&6
5790 echo "configure:5791: checking for toolkit" >&5
5792 if test "$wxUSE_GUI" = "yes"; then
5794 if test "$USE_BEOS" = 1; then
5795 { echo "configure: error: BeOS GUI is not supported yet, use --disable-gui" 1>&2; exit 1; }
5798 if test "$TOOLKIT_GIVEN" = 1; then
5799 for toolkit
in `echo $ALL_TOOLKITS`; do
5801 eval "value=\$${var}"
5802 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
5805 for toolkit
in `echo $ALL_TOOLKITS`; do
5806 if test "$has_toolkit_in_cache" != 1; then
5807 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
5809 var
=DEFAULT_wxUSE_
$toolkit
5811 eval "wxUSE_$toolkit=\$${var}"
5815 NUM_TOOLKITS
=`expr ${wxUSE_GTK:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_WINE:-0} + ${wxUSE_MINGW:-0} + ${wxUSE_CYGWIN:-0}`
5819 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
5820 # PATH_IFS is autodetected by OS/2's configure (usually ';')
5830 case "$NUM_TOOLKITS" in
5834 { echo "configure: error: Please specify a toolkit - cannot determine the default for ${host}" 1>&2; exit 1; }
5837 { echo "configure: error: Please specify at most one toolkit (may be some are cached?)" 1>&2; exit 1; }
5840 for toolkit
in `echo $ALL_TOOLKITS`; do
5842 eval "value=\$${var}"
5843 if test "x$value" != x
; then
5844 cache_var
=CACHE_
$toolkit
5845 eval "cache=\$${cache_var}"
5846 if test "$cache" = 1; then
5847 echo "$var=$value" >> ${wx_arg_cache_file}
5849 if test "$value" = 1; then
5850 echo "$ac_t""`echo $toolkit | tr A-Z a-z`" 1>&6
5857 echo "$ac_t""base only" 1>&6
5861 cat > confcache
<<\EOF
5862 # This file is a shell script that caches the results of configure
5863 # tests run on this system so they can be shared between configure
5864 # scripts and configure runs. It is not useful on other systems.
5865 # If it contains results you don't want to keep, you may remove or edit it.
5867 # By default, configure uses ./config.cache as the cache file,
5868 # creating it if it does not exist already. You can give configure
5869 # the --cache-file=FILE option to use a different cache file; that is
5870 # what configure does when it calls configure scripts in
5871 # subdirectories, so they share the cache.
5872 # Giving --cache-file=/dev/null disables caching, for debugging configure.
5873 # config.status only pays attention to the cache file if you give it the
5874 # --recheck option to rerun configure.
5877 # The following way of writing the cache mishandles newlines in values,
5878 # but we know of no workaround that is simple, portable, and efficient.
5879 # So, don't put newlines in cache variables' values.
5880 # Ultrix sh set writes to stderr and can't be redirected directly,
5881 # and sets the high bit in the cache file unless we assign to the vars.
5883 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5885 # `set' does not quote correctly, so add quotes (double-quote substitution
5886 # turns \\\\ into \\, and sed turns \\ into \).
5888 -e "s/'/'\\\\''/g" \
5889 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
5892 # `set' quotes correctly as required by POSIX, so do not add quotes.
5893 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
5896 if cmp -s $cache_file confcache
; then
5899 if test -w $cache_file; then
5900 echo "updating cache $cache_file"
5901 cat confcache
> $cache_file
5903 echo "not updating unwritable cache $cache_file"
5909 if eval "test $host != $build"; then
5910 if eval "test $host_alias != NONE"; then
5914 RANLIB
=$host_alias-ranlib
5915 DLLTOOL
=$host_alias-dlltool
5918 STRIP
=$host_alias-strip
5922 # Extract the first word of "gcc", so it can be a program name with args.
5923 set dummy gcc
; ac_word
=$2
5924 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5925 echo "configure:5926: checking for $ac_word" >&5
5926 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
5927 echo $ac_n "(cached) $ac_c" 1>&6
5929 if test -n "$CC"; then
5930 ac_cv_prog_CC
="$CC" # Let the user override the test.
5932 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
5934 for ac_dir
in $ac_dummy; do
5935 test -z "$ac_dir" && ac_dir
=.
5936 if test -f $ac_dir/$ac_word; then
5945 if test -n "$CC"; then
5946 echo "$ac_t""$CC" 1>&6
5948 echo "$ac_t""no" 1>&6
5951 if test -z "$CC"; then
5952 # Extract the first word of "cc", so it can be a program name with args.
5953 set dummy cc
; ac_word
=$2
5954 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5955 echo "configure:5956: checking for $ac_word" >&5
5956 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
5957 echo $ac_n "(cached) $ac_c" 1>&6
5959 if test -n "$CC"; then
5960 ac_cv_prog_CC
="$CC" # Let the user override the test.
5962 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
5965 for ac_dir
in $ac_dummy; do
5966 test -z "$ac_dir" && ac_dir
=.
5967 if test -f $ac_dir/$ac_word; then
5968 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
5969 ac_prog_rejected
=yes
5977 if test $ac_prog_rejected = yes; then
5978 # We found a bogon in the path, so make sure we never use it.
5979 set dummy
$ac_cv_prog_CC
5981 if test $# -gt 0; then
5982 # We chose a different compiler from the bogus one.
5983 # However, it has the same basename, so the bogon will be chosen
5984 # first if we set CC to just the basename; use the full file name.
5986 set dummy
"$ac_dir/$ac_word" "$@"
5994 if test -n "$CC"; then
5995 echo "$ac_t""$CC" 1>&6
5997 echo "$ac_t""no" 1>&6
6000 if test -z "$CC"; then
6001 case "`uname -s`" in
6003 # Extract the first word of "cl", so it can be a program name with args.
6004 set dummy cl
; ac_word
=$2
6005 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6006 echo "configure:6007: checking for $ac_word" >&5
6007 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
6008 echo $ac_n "(cached) $ac_c" 1>&6
6010 if test -n "$CC"; then
6011 ac_cv_prog_CC
="$CC" # Let the user override the test.
6013 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6015 for ac_dir
in $ac_dummy; do
6016 test -z "$ac_dir" && ac_dir
=.
6017 if test -f $ac_dir/$ac_word; then
6026 if test -n "$CC"; then
6027 echo "$ac_t""$CC" 1>&6
6029 echo "$ac_t""no" 1>&6
6034 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
6037 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
6038 echo "configure:6039: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
6041 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6042 ac_cpp
='$CPP $CPPFLAGS'
6043 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6044 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6045 cross_compiling
=$ac_cv_prog_cc_cross
6047 cat > conftest.
$ac_ext << EOF
6049 #line 6050 "configure"
6050 #include "confdefs.h"
6054 if { (eval echo configure
:6055: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6055 ac_cv_prog_cc_works
=yes
6056 # If we can't run a trivial program, we are probably using a cross compiler.
6057 if (.
/conftest
; exit) 2>/dev
/null
; then
6058 ac_cv_prog_cc_cross
=no
6060 ac_cv_prog_cc_cross
=yes
6063 echo "configure: failed program was:" >&5
6064 cat conftest.
$ac_ext >&5
6065 ac_cv_prog_cc_works
=no
6069 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6070 ac_cpp
='$CPP $CPPFLAGS'
6071 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6072 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6073 cross_compiling
=$ac_cv_prog_cc_cross
6075 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
6076 if test $ac_cv_prog_cc_works = no
; then
6077 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
6079 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
6080 echo "configure:6081: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
6081 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
6082 cross_compiling
=$ac_cv_prog_cc_cross
6084 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
6085 echo "configure:6086: checking whether we are using GNU C" >&5
6086 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
6087 echo $ac_n "(cached) $ac_c" 1>&6
6089 cat > conftest.c
<<EOF
6094 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:6095: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
6101 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
6103 if test $ac_cv_prog_gcc = yes; then
6109 ac_test_CFLAGS
="${CFLAGS+set}"
6110 ac_save_CFLAGS
="$CFLAGS"
6112 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
6113 echo "configure:6114: checking whether ${CC-cc} accepts -g" >&5
6114 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
6115 echo $ac_n "(cached) $ac_c" 1>&6
6117 echo 'void f(){}' > conftest.c
6118 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
6127 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
6128 if test "$ac_test_CFLAGS" = set; then
6129 CFLAGS
="$ac_save_CFLAGS"
6130 elif test $ac_cv_prog_cc_g = yes; then
6131 if test "$GCC" = yes; then
6137 if test "$GCC" = yes; then
6145 CFLAGS
=`echo "$CFLAGS" | sed 's/-g//g'`
6147 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
6148 echo "configure:6149: checking how to run the C preprocessor" >&5
6149 # On Suns, sometimes $CPP names a directory.
6150 if test -n "$CPP" && test -d "$CPP"; then
6153 if test -z "$CPP"; then
6154 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
6155 echo $ac_n "(cached) $ac_c" 1>&6
6157 # This must be in double quotes, not single quotes, because CPP may get
6158 # substituted into the Makefile and "${CC-cc}" will confuse make.
6160 # On the NeXT, cc -E runs the code through the compiler's parser,
6161 # not just through cpp.
6162 cat > conftest.
$ac_ext <<EOF
6163 #line 6164 "configure"
6164 #include "confdefs.h"
6168 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6169 { (eval echo configure
:6170: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6170 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6171 if test -z "$ac_err"; then
6175 echo "configure: failed program was:" >&5
6176 cat conftest.
$ac_ext >&5
6178 CPP
="${CC-cc} -E -traditional-cpp"
6179 cat > conftest.
$ac_ext <<EOF
6180 #line 6181 "configure"
6181 #include "confdefs.h"
6185 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6186 { (eval echo configure
:6187: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6187 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6188 if test -z "$ac_err"; then
6192 echo "configure: failed program was:" >&5
6193 cat conftest.
$ac_ext >&5
6195 CPP
="${CC-cc} -nologo -E"
6196 cat > conftest.
$ac_ext <<EOF
6197 #line 6198 "configure"
6198 #include "confdefs.h"
6202 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6203 { (eval echo configure
:6204: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6204 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6205 if test -z "$ac_err"; then
6209 echo "configure: failed program was:" >&5
6210 cat conftest.
$ac_ext >&5
6219 ac_cv_prog_CPP
="$CPP"
6221 CPP
="$ac_cv_prog_CPP"
6223 ac_cv_prog_CPP
="$CPP"
6225 echo "$ac_t""$CPP" 1>&6
6228 if test $ac_cv_prog_gcc = yes; then
6229 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
6230 echo "configure:6231: checking whether ${CC-cc} needs -traditional" >&5
6231 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
6232 echo $ac_n "(cached) $ac_c" 1>&6
6234 ac_pattern
="Autoconf.*'x'"
6235 cat > conftest.
$ac_ext <<EOF
6236 #line 6237 "configure"
6237 #include "confdefs.h"
6241 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6242 egrep "$ac_pattern" >/dev
/null
2>&1; then
6244 ac_cv_prog_gcc_traditional
=yes
6247 ac_cv_prog_gcc_traditional
=no
6252 if test $ac_cv_prog_gcc_traditional = no
; then
6253 cat > conftest.
$ac_ext <<EOF
6254 #line 6255 "configure"
6255 #include "confdefs.h"
6259 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6260 egrep "$ac_pattern" >/dev
/null
2>&1; then
6262 ac_cv_prog_gcc_traditional
=yes
6269 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
6270 if test $ac_cv_prog_gcc_traditional = yes; then
6271 CC
="$CC -traditional"
6278 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6279 ac_cpp
='$CXXCPP $CPPFLAGS'
6280 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6281 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6282 cross_compiling
=$ac_cv_prog_cxx_cross
6285 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++ cl
6287 # Extract the first word of "$ac_prog", so it can be a program name with args.
6288 set dummy
$ac_prog; ac_word
=$2
6289 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6290 echo "configure:6291: checking for $ac_word" >&5
6291 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
6292 echo $ac_n "(cached) $ac_c" 1>&6
6294 if test -n "$CXX"; then
6295 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
6297 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6299 for ac_dir
in $ac_dummy; do
6300 test -z "$ac_dir" && ac_dir
=.
6301 if test -f $ac_dir/$ac_word; then
6302 ac_cv_prog_CXX
="$ac_prog"
6309 CXX
="$ac_cv_prog_CXX"
6310 if test -n "$CXX"; then
6311 echo "$ac_t""$CXX" 1>&6
6313 echo "$ac_t""no" 1>&6
6316 test -n "$CXX" && break
6318 test -n "$CXX" || CXX
="gcc"
6321 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
6322 echo "configure:6323: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
6325 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6326 ac_cpp
='$CXXCPP $CPPFLAGS'
6327 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6328 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6329 cross_compiling
=$ac_cv_prog_cxx_cross
6331 cat > conftest.
$ac_ext << EOF
6333 #line 6334 "configure"
6334 #include "confdefs.h"
6336 int main(){return(0);}
6338 if { (eval echo configure
:6339: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6339 ac_cv_prog_cxx_works
=yes
6340 # If we can't run a trivial program, we are probably using a cross compiler.
6341 if (.
/conftest
; exit) 2>/dev
/null
; then
6342 ac_cv_prog_cxx_cross
=no
6344 ac_cv_prog_cxx_cross
=yes
6347 echo "configure: failed program was:" >&5
6348 cat conftest.
$ac_ext >&5
6349 ac_cv_prog_cxx_works
=no
6353 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6354 ac_cpp
='$CXXCPP $CPPFLAGS'
6355 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6356 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6357 cross_compiling
=$ac_cv_prog_cxx_cross
6359 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
6360 if test $ac_cv_prog_cxx_works = no
; then
6361 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
6363 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
6364 echo "configure:6365: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
6365 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
6366 cross_compiling
=$ac_cv_prog_cxx_cross
6368 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
6369 echo "configure:6370: checking whether we are using GNU C++" >&5
6370 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
6371 echo $ac_n "(cached) $ac_c" 1>&6
6373 cat > conftest.C
<<EOF
6378 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:6379: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
6385 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
6387 if test $ac_cv_prog_gxx = yes; then
6393 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
6394 ac_save_CXXFLAGS
="$CXXFLAGS"
6396 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
6397 echo "configure:6398: checking whether ${CXX-g++} accepts -g" >&5
6398 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
6399 echo $ac_n "(cached) $ac_c" 1>&6
6401 echo 'void f(){}' > conftest.cc
6402 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
6403 ac_cv_prog_cxx_g
=yes
6411 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
6412 if test "$ac_test_CXXFLAGS" = set; then
6413 CXXFLAGS
="$ac_save_CXXFLAGS"
6414 elif test $ac_cv_prog_cxx_g = yes; then
6415 if test "$GXX" = yes; then
6421 if test "$GXX" = yes; then
6429 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
6430 echo "configure:6431: checking how to run the C++ preprocessor" >&5
6431 if test -z "$CXXCPP"; then
6432 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
6433 echo $ac_n "(cached) $ac_c" 1>&6
6436 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6437 ac_cpp
='$CXXCPP $CPPFLAGS'
6438 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6439 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6440 cross_compiling
=$ac_cv_prog_cxx_cross
6441 CXXCPP
="${CXX-g++} -E"
6442 cat > conftest.
$ac_ext <<EOF
6443 #line 6444 "configure"
6444 #include "confdefs.h"
6447 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6448 { (eval echo configure
:6449: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6449 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6450 if test -z "$ac_err"; then
6454 echo "configure: failed program was:" >&5
6455 cat conftest.
$ac_ext >&5
6460 ac_cv_prog_CXXCPP
="$CXXCPP"
6462 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6463 ac_cpp
='$CXXCPP $CPPFLAGS'
6464 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6465 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6466 cross_compiling
=$ac_cv_prog_cxx_cross
6469 CXXCPP
="$ac_cv_prog_CXXCPP"
6470 echo "$ac_t""$CXXCPP" 1>&6
6473 CXXFLAGS
=`echo "$CXXFLAGS" | sed 's/-g//g'`
6476 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6477 ac_cpp
='$CPP $CPPFLAGS'
6478 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6479 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6480 cross_compiling
=$ac_cv_prog_cc_cross
6483 # Extract the first word of "ranlib", so it can be a program name with args.
6484 set dummy ranlib
; ac_word
=$2
6485 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6486 echo "configure:6487: checking for $ac_word" >&5
6487 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
6488 echo $ac_n "(cached) $ac_c" 1>&6
6490 if test -n "$RANLIB"; then
6491 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6493 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6495 for ac_dir
in $ac_dummy; do
6496 test -z "$ac_dir" && ac_dir
=.
6497 if test -f $ac_dir/$ac_word; then
6498 ac_cv_prog_RANLIB
="ranlib"
6503 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
6506 RANLIB
="$ac_cv_prog_RANLIB"
6507 if test -n "$RANLIB"; then
6508 echo "$ac_t""$RANLIB" 1>&6
6510 echo "$ac_t""no" 1>&6
6514 # Extract the first word of "ar", so it can be a program name with args.
6515 set dummy
ar; ac_word
=$2
6516 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6517 echo "configure:6518: checking for $ac_word" >&5
6518 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
6519 echo $ac_n "(cached) $ac_c" 1>&6
6521 if test -n "$AR"; then
6522 ac_cv_prog_AR
="$AR" # Let the user override the test.
6524 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6526 for ac_dir
in $ac_dummy; do
6527 test -z "$ac_dir" && ac_dir
=.
6528 if test -f $ac_dir/$ac_word; then
6534 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
6538 if test -n "$AR"; then
6539 echo "$ac_t""$AR" 1>&6
6541 echo "$ac_t""no" 1>&6
6545 # Find a good install program. We prefer a C program (faster),
6546 # so one script is as good as another. But avoid the broken or
6547 # incompatible versions:
6548 # SysV /etc/install, /usr/sbin/install
6549 # SunOS /usr/etc/install
6550 # IRIX /sbin/install
6552 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6553 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6554 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6555 # ./install, which can be erroneously created by make from ./install.sh.
6556 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
6557 echo "configure:6558: checking for a BSD compatible install" >&5
6558 if test -z "$INSTALL"; then
6559 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
6560 echo $ac_n "(cached) $ac_c" 1>&6
6562 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
6563 for ac_dir
in $PATH; do
6564 # Account for people who put trailing slashes in PATH elements.
6566 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
6568 # OSF1 and SCO ODT 3.0 have their own names for install.
6569 # Don't use installbsd from OSF since it installs stuff as root
6571 for ac_prog
in ginstall scoinst
install; do
6572 if test -f $ac_dir/$ac_prog; then
6573 if test $ac_prog = install &&
6574 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
6575 # AIX install. It has an incompatible calling convention.
6578 ac_cv_path_install
="$ac_dir/$ac_prog -c"
6589 if test "${ac_cv_path_install+set}" = set; then
6590 INSTALL
="$ac_cv_path_install"
6592 # As a last resort, use the slow shell script. We don't cache a
6593 # path for INSTALL within a source directory, because that will
6594 # break other packages using the cache if that directory is
6595 # removed, or if the path is relative.
6596 INSTALL
="$ac_install_sh"
6599 echo "$ac_t""$INSTALL" 1>&6
6601 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6602 # It thinks the first close brace ends the variable substitution.
6603 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
6605 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
6607 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
6610 # Extract the first word of "strip", so it can be a program name with args.
6611 set dummy strip
; ac_word
=$2
6612 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6613 echo "configure:6614: checking for $ac_word" >&5
6614 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
6615 echo $ac_n "(cached) $ac_c" 1>&6
6617 if test -n "$STRIP"; then
6618 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6620 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6622 for ac_dir
in $ac_dummy; do
6623 test -z "$ac_dir" && ac_dir
=.
6624 if test -f $ac_dir/$ac_word; then
6625 ac_cv_prog_STRIP
="strip"
6630 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
6633 STRIP
="$ac_cv_prog_STRIP"
6634 if test -n "$STRIP"; then
6635 echo "$ac_t""$STRIP" 1>&6
6637 echo "$ac_t""no" 1>&6
6641 echo $ac_n "checking "make for VPATH support
"""... $ac_c" 1>&6
6642 echo "configure:6643: checking "make for VPATH support
"" >&5
6643 cat - << EOF > confMake
6649 if test ! -d sub
; then
6652 echo dummy
> sub
/file
6653 ${MAKE-make} -f confMake VPATH
=sub
2> config.log
> /dev
/null
6655 rm -f sub
/file check final_file confMake
6657 if test "$RESULT" = 0; then
6658 echo "$ac_t""yes" 1>&6
6660 echo "$ac_t""no" 1>&6
6661 { echo "configure: error: You need a make-utility that is able to use the variable
6663 If your version of make does not support VPATH correctly" 1>&2; exit 1; }
6666 for ac_prog
in 'bison -y' byacc
6668 # Extract the first word of "$ac_prog", so it can be a program name with args.
6669 set dummy
$ac_prog; ac_word
=$2
6670 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6671 echo "configure:6672: checking for $ac_word" >&5
6672 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
6673 echo $ac_n "(cached) $ac_c" 1>&6
6675 if test -n "$YACC"; then
6676 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
6678 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6680 for ac_dir
in $ac_dummy; do
6681 test -z "$ac_dir" && ac_dir
=.
6682 if test -f $ac_dir/$ac_word; then
6683 ac_cv_prog_YACC
="$ac_prog"
6690 YACC
="$ac_cv_prog_YACC"
6691 if test -n "$YACC"; then
6692 echo "$ac_t""$YACC" 1>&6
6694 echo "$ac_t""no" 1>&6
6697 test -n "$YACC" && break
6699 test -n "$YACC" || YACC
="yacc"
6702 # Extract the first word of "flex", so it can be a program name with args.
6703 set dummy flex
; ac_word
=$2
6704 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6705 echo "configure:6706: checking for $ac_word" >&5
6706 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
6707 echo $ac_n "(cached) $ac_c" 1>&6
6709 if test -n "$LEX"; then
6710 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
6712 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6714 for ac_dir
in $ac_dummy; do
6715 test -z "$ac_dir" && ac_dir
=.
6716 if test -f $ac_dir/$ac_word; then
6717 ac_cv_prog_LEX
="flex"
6722 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
6725 LEX
="$ac_cv_prog_LEX"
6726 if test -n "$LEX"; then
6727 echo "$ac_t""$LEX" 1>&6
6729 echo "$ac_t""no" 1>&6
6732 if test -z "$LEXLIB"
6738 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
6739 echo "configure:6740: checking for yywrap in -l$ac_lib" >&5
6740 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
6741 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6742 echo $ac_n "(cached) $ac_c" 1>&6
6744 ac_save_LIBS
="$LIBS"
6745 LIBS
="-l$ac_lib $LIBS"
6746 cat > conftest.
$ac_ext <<EOF
6747 #line 6748 "configure"
6748 #include "confdefs.h"
6749 /* Override any gcc2 internal prototype to avoid an error. */
6750 /* We use char because int might match the return type of a gcc2
6751 builtin and then its argument prototype would still apply. */
6758 if { (eval echo configure
:6759: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6760 eval "ac_cv_lib_$ac_lib_var=yes"
6762 echo "configure: failed program was:" >&5
6763 cat conftest.
$ac_ext >&5
6765 eval "ac_cv_lib_$ac_lib_var=no"
6768 LIBS
="$ac_save_LIBS"
6771 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6772 echo "$ac_t""yes" 1>&6
6775 echo "$ac_t""no" 1>&6
6781 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
6782 echo "configure:6783: checking whether ln -s works" >&5
6783 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
6784 echo $ac_n "(cached) $ac_c" 1>&6
6787 if ln -s X conftestdata
2>/dev
/null
6790 ac_cv_prog_LN_S
="ln -s"
6795 LN_S
="$ac_cv_prog_LN_S"
6796 if test "$ac_cv_prog_LN_S" = "ln -s"; then
6797 echo "$ac_t""yes" 1>&6
6799 echo "$ac_t""no" 1>&6
6805 /usr/local/include \
6807 /usr/Motif-1.2/include \
6808 /usr/Motif-2.1/include \
6810 /usr/include/Motif1.2 \
6811 /opt/xpm/include/X11 \
6812 /opt/GBxpm/include/ \
6813 /opt/GBxpm/X11/include/ \
6815 /usr/Motif1.2/include \
6817 /usr/openwin/include \
6821 /usr/X11R6/include \
6822 /usr/X11R6.4/include \
6823 /usr/X11R5/include \
6824 /usr/X11R4/include \
6826 /usr/include/X11R6 \
6827 /usr/include/X11R5 \
6828 /usr/include/X11R4 \
6830 /usr/local/X11R6/include \
6831 /usr/local/X11R5/include \
6832 /usr/local/X11R4/include \
6834 /usr/local/include/X11R6 \
6835 /usr/local/include/X11R5 \
6836 /usr/local/include/X11R4 \
6840 /usr/local/X11/include \
6841 /usr/local/include/X11 \
6845 /usr/XFree86/include/X11 \
6847 X:/XFree86/include \
6848 X:/XFree86/include/X11 \
6851 /usr/local/include/gtk \
6853 /usr/local/include/glib \
6856 /usr/local/include/qt \
6858 /usr/include/windows \
6860 /usr/local/include/wine \
6862 /usr/unsupported/include \
6863 /usr/athena/include \
6864 /usr/local/x11r5/include \
6865 /usr/lpp/Xamples/include \
6867 /usr/openwin/share/include \
6871 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
6874 cat > confcache
<<\EOF
6875 # This file is a shell script that caches the results of configure
6876 # tests run on this system so they can be shared between configure
6877 # scripts and configure runs. It is not useful on other systems.
6878 # If it contains results you don't want to keep, you may remove or edit it.
6880 # By default, configure uses ./config.cache as the cache file,
6881 # creating it if it does not exist already. You can give configure
6882 # the --cache-file=FILE option to use a different cache file; that is
6883 # what configure does when it calls configure scripts in
6884 # subdirectories, so they share the cache.
6885 # Giving --cache-file=/dev/null disables caching, for debugging configure.
6886 # config.status only pays attention to the cache file if you give it the
6887 # --recheck option to rerun configure.
6890 # The following way of writing the cache mishandles newlines in values,
6891 # but we know of no workaround that is simple, portable, and efficient.
6892 # So, don't put newlines in cache variables' values.
6893 # Ultrix sh set writes to stderr and can't be redirected directly,
6894 # and sets the high bit in the cache file unless we assign to the vars.
6896 case `(ac_space=' '; set | grep ac_space) 2>&1` in
6898 # `set' does not quote correctly, so add quotes (double-quote substitution
6899 # turns \\\\ into \\, and sed turns \\ into \).
6901 -e "s/'/'\\\\''/g" \
6902 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
6905 # `set' quotes correctly as required by POSIX, so do not add quotes.
6906 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
6909 if cmp -s $cache_file confcache
; then
6912 if test -w $cache_file; then
6913 echo "updating cache $cache_file"
6914 cat confcache
> $cache_file
6916 echo "not updating unwritable cache $cache_file"
6925 if test "$wxUSE_GUI" = "yes"; then
6944 if test "$wxUSE_CYGWIN" = 1 || test "$wxUSE_MINGW" = 1 ; then
6945 if test "$cross_compiling" = "yes" ; then
6946 echo "configure: warning: Cross compiling --- skipping windows.h check" 1>&2
6948 echo $ac_n "checking for Windows headers""... $ac_c" 1>&6
6949 echo "configure:6950: checking for Windows headers" >&5
6952 for ac_dir
in $SEARCH_INCLUDE;
6954 if test -f "$ac_dir/windows.h"; then
6955 ac_find_includes
=$ac_dir
6960 if test "$ac_find_includes" != "" ; then
6961 echo "$ac_t""found $ac_find_includes" 1>&6
6962 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE -I$ac_find_includes"
6964 echo "$ac_t""no" 1>&6
6965 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
6969 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS msw"
6970 LIBS
="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -lcrtdll -ladvapi32 -lwsock32"
6972 if test "$wxUSE_MINGW" = 1; then
6973 LDFLAGS
="$LDFLAGS -mwindows"
6978 GUIOBJS
="\$(MSW_GUIOBJS)"
6979 GUIHEADERS
="\$(MSW_HEADERS)"
6980 COMMONOBJS
="\$(MSW_COMMONOBJS)"
6981 GENERICOBJS
="\$(MSW_GENERICOBJS)"
6986 if test "$wxUSE_GTK" = 1; then
6988 if test x
$gtk_config_exec_prefix != x
; then
6989 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
6990 if test x
${GTK_CONFIG+set} != xset
; then
6991 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
6994 if test x
$gtk_config_prefix != x
; then
6995 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
6996 if test x
${GTK_CONFIG+set} != xset
; then
6997 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
7001 # Extract the first word of "gtk-config", so it can be a program name with args.
7002 set dummy gtk
-config; ac_word
=$2
7003 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7004 echo "configure:7005: checking for $ac_word" >&5
7005 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
7006 echo $ac_n "(cached) $ac_c" 1>&6
7008 case "$GTK_CONFIG" in
7010 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
7013 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
7016 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7018 for ac_dir
in $ac_dummy; do
7019 test -z "$ac_dir" && ac_dir
=.
7020 if test -f $ac_dir/$ac_word; then
7021 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
7026 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
7030 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
7031 if test -n "$GTK_CONFIG"; then
7032 echo "$ac_t""$GTK_CONFIG" 1>&6
7034 echo "$ac_t""no" 1>&6
7037 min_gtk_version
=1.2.3
7038 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
7039 echo "configure:7040: checking for GTK - version >= $min_gtk_version" >&5
7041 if test "$GTK_CONFIG" != "no" ; then
7042 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
7043 GTK_LIBS
=`$GTK_CONFIG --libs gthread`
7044 ac_save_CFLAGS
="$CFLAGS"
7045 ac_save_LIBS
="$LIBS"
7046 CFLAGS
="$CFLAGS $GTK_CFLAGS"
7047 LIBS
="$LIBS $GTK_LIBS"
7048 if test "$cross_compiling" = yes; then
7049 echo $ac_n "cross compiling; assumed OK... $ac_c"
7051 cat > conftest.
$ac_ext <<EOF
7052 #line 7053 "configure"
7053 #include "confdefs.h"
7055 #include <gtk/gtk.h>
7056 #include <gtk/gtkfeatures.h>
7062 int major, minor, micro;
7064 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
7065 printf("%s, bad version string\n", "$min_gtk_version");
7069 if ((GTK_MAJOR_VERSION != gtk_major_version) ||
7070 (GTK_MINOR_VERSION != gtk_minor_version) ||
7071 (GTK_MICRO_VERSION != gtk_micro_version)) {
7072 printf("Headers vs. library version mismatch!\n");
7076 if (gtk_minor_version == 1) return FALSE;
7078 return !((gtk_major_version > major) ||
7079 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
7080 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
7084 if { (eval echo configure
:7085: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
7088 echo "configure: failed program was:" >&5
7089 cat conftest.
$ac_ext >&5
7096 CFLAGS
="$ac_save_CFLAGS"
7097 LIBS
="$ac_save_LIBS"
7101 if test "x$no_gtk" = x
; then
7102 echo "$ac_t""yes" 1>&6
7105 echo "$ac_t""no" 1>&6
7114 if test "$WXGTK12" != 1; then
7115 { echo "configure: error:
7116 Please check that gtk-config is in path, the directory
7117 where GTK+ libraries are installed (returned by
7118 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
7119 equivalent variable and GTK+ is version 1.2.3 or above.
7124 TOOLKIT_INCLUDE
="$GTK_CFLAGS"
7127 GUI_TK_LIBRARY
="$GTK_LIBS"
7131 AFMINSTALL
=afminstall
7133 GUIOBJS
="\$(GTK_GUIOBJS)"
7134 GUIHEADERS
="\$(GTK_HEADERS)"
7135 COMMONOBJS
="\$(GTK_COMMONOBJS)"
7136 GENERICOBJS
="\$(GTK_GENERICOBJS)"
7137 GUIDEPS
="\$(GTK_GUIDEPS)"
7138 COMMONDEPS
="\$(GTK_COMMONDEPS)"
7139 GENERICDEPS
="\$(GTK_GENERICDEPS)"
7140 UNIXOBJS
="\$(UNIX_OBJS)"
7141 UNIXDEPS
="\$(UNIX_DEPS)"
7144 echo $ac_n "checking for gdk_im_open in -lgdk""... $ac_c" 1>&6
7145 echo "configure:7146: checking for gdk_im_open in -lgdk" >&5
7146 ac_lib_var
=`echo gdk'_'gdk_im_open | sed 'y%./+-%__p_%'`
7147 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7148 echo $ac_n "(cached) $ac_c" 1>&6
7150 ac_save_LIBS
="$LIBS"
7152 cat > conftest.
$ac_ext <<EOF
7153 #line 7154 "configure"
7154 #include "confdefs.h"
7155 /* Override any gcc2 internal prototype to avoid an error. */
7156 /* We use char because int might match the return type of a gcc2
7157 builtin and then its argument prototype would still apply. */
7164 if { (eval echo configure
:7165: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7166 eval "ac_cv_lib_$ac_lib_var=yes"
7168 echo "configure: failed program was:" >&5
7169 cat conftest.
$ac_ext >&5
7171 eval "ac_cv_lib_$ac_lib_var=no"
7174 LIBS
="$ac_save_LIBS"
7177 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7178 echo "$ac_t""yes" 1>&6
7179 cat >> confdefs.h
<<\EOF
7184 echo "$ac_t""no" 1>&6
7189 if test "$wxUSE_WINE" = 1; then
7190 echo $ac_n "checking for WINE includes""... $ac_c" 1>&6
7191 echo "configure:7192: checking for WINE includes" >&5
7194 for ac_dir
in $SEARCH_INCLUDE;
7196 if test -f "$ac_dir/windows.h"; then
7197 ac_find_includes
=$ac_dir
7202 if test "$ac_find_includes" != "" ; then
7203 echo "$ac_t""found $ac_find_includes" 1>&6
7204 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE -I$ac_find_includes"
7206 echo "$ac_t""no" 1>&6
7207 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
7211 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
7212 echo "configure:7213: checking for Xpm library" >&5
7215 for ac_dir
in $SEARCH_LIB;
7217 for ac_extension
in a so sl
; do
7218 if test -f "$ac_dir/libXpm.$ac_extension"; then
7219 ac_find_libraries
=$ac_dir
7225 if test "$ac_find_libraries" != "" ; then
7226 GUI_TK_LIBRARY
="-L$ac_find_libraries"
7228 cat >> confdefs.h
<<\EOF
7229 #define wxHAVE_LIB_XPM 1
7232 echo "$ac_t""found at $ac_find_libraries" 1>&6
7234 echo "$ac_t""no" 1>&6
7235 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
7239 echo $ac_n "checking for Mesa library""... $ac_c" 1>&6
7240 echo "configure:7241: checking for Mesa library" >&5
7243 for ac_dir
in $SEARCH_LIB;
7245 for ac_extension
in a so sl
; do
7246 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
7247 ac_find_libraries
=$ac_dir
7253 if test "$ac_find_libraries" != "" ; then
7254 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -L$ac_find_libraries"
7255 MESA_LINK
="-lMesaGL"
7256 echo "$ac_t""found at $ac_find_libraries" 1>&6
7258 { echo "configure: error: no" 1>&2; exit 1; }
7261 GUI_TK_LINK
="-lwine $MESA_LINK $XPM_LINK -lXxf86dga -lXxf86vm -lSM -lICE -lXext -lXmu -lX11 -lncurses -lm"
7262 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GUI_TK_LINK"
7266 GUIHEADERS
="\$(MSW_HEADERS)"
7267 GUIOBJS
="\$(MSW_GUIOBJS)"
7268 COMMONOBJS
="\$(MSW_COMMONOBJS)"
7269 GENERICOBJS
="\$(MSW_GENERICOBJS)"
7270 GUIDEPS
="\$(MSW_GUIDEPS)"
7271 COMMONDEPS
="\$(MSW_COMMONDEPS)"
7272 GENERICDEPS
="\$(MSW_GENERICDEPS)"
7273 UNIXOBJS
="\$(UNIX_OBJS)"
7274 UNIXDEPS
="\$(UNIX_DEPS)"
7278 if test "$wxUSE_MOTIF" = 1; then
7279 # If we find X, set shell vars x_includes and x_libraries to the
7280 # paths, otherwise set no_x=yes.
7281 # Uses ac_ vars as temps to allow command line to override cache and checks.
7282 # --without-x overrides everything else, but does not touch the cache.
7283 echo $ac_n "checking for X""... $ac_c" 1>&6
7284 echo "configure:7285: checking for X" >&5
7286 # Check whether --with-x or --without-x was given.
7287 if test "${with_x+set}" = set; then
7292 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
7293 if test "x$with_x" = xno
; then
7294 # The user explicitly disabled X.
7297 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
7298 # Both variables are already set.
7301 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
7302 echo $ac_n "(cached) $ac_c" 1>&6
7304 # One or both of the vars are not set, and there is no cached value.
7305 ac_x_includes
=NO ac_x_libraries
=NO
7307 if mkdir conftestdir
; then
7309 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
7310 cat > Imakefile
<<'EOF'
7312 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
7314 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
7315 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
7316 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
7317 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
7318 for ac_extension
in a so sl
; do
7319 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
7320 test -f $ac_im_libdir/libX11.
$ac_extension; then
7321 ac_im_usrlibdir
=$ac_im_libdir; break
7324 # Screen out bogus values from the imake configuration. They are
7325 # bogus both because they are the default anyway, and because
7326 # using them would break gcc on systems where it needs fixed includes.
7327 case "$ac_im_incroot" in
7329 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;;
7331 case "$ac_im_usrlibdir" in
7333 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;;
7340 if test "$ac_x_includes" = NO
; then
7341 # Guess where to find include files, by looking for this one X11 .h file.
7342 test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
7344 # First, try using that file with no special directory specified.
7345 cat > conftest.
$ac_ext <<EOF
7346 #line 7347 "configure"
7347 #include "confdefs.h"
7348 #include <$x_direct_test_include>
7350 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7351 { (eval echo configure
:7352: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7352 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7353 if test -z "$ac_err"; then
7355 # We can compile using X headers with no special include directory.
7359 echo "configure: failed program was:" >&5
7360 cat conftest.
$ac_ext >&5
7362 # Look for the header file in a standard set of common directories.
7363 # Check X11 before X11Rn because it is often a symlink to the current release.
7366 /usr
/X
11R
6/include \
7367 /usr
/X
11R
5/include \
7368 /usr
/X
11R
4/include \
7371 /usr
/include
/X11R6 \
7372 /usr
/include
/X11R5 \
7373 /usr
/include
/X11R4 \
7375 /usr
/local
/X
11/include \
7376 /usr
/local
/X
11R
6/include \
7377 /usr
/local
/X
11R
5/include \
7378 /usr
/local
/X
11R
4/include \
7380 /usr
/local
/include
/X11 \
7381 /usr
/local
/include
/X11R6 \
7382 /usr
/local
/include
/X11R5 \
7383 /usr
/local
/include
/X11R4 \
7387 /usr
/XFree
86/include
/X11 \
7390 /usr
/local
/include \
7391 /usr
/unsupported
/include \
7392 /usr
/athena
/include \
7393 /usr
/local
/x
11r
5/include \
7394 /usr
/lpp
/Xamples
/include \
7396 /usr
/openwin
/include \
7397 /usr
/openwin
/share
/include \
7400 if test -r "$ac_dir/$x_direct_test_include"; then
7401 ac_x_includes
=$ac_dir
7407 fi # $ac_x_includes = NO
7409 if test "$ac_x_libraries" = NO
; then
7410 # Check for the libraries.
7412 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
7413 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
7415 # See if we find them without any special options.
7416 # Don't add to $LIBS permanently.
7417 ac_save_LIBS
="$LIBS"
7418 LIBS
="-l$x_direct_test_library $LIBS"
7419 cat > conftest.
$ac_ext <<EOF
7420 #line 7421 "configure"
7421 #include "confdefs.h"
7424 ${x_direct_test_function}()
7427 if { (eval echo configure
:7428: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7429 LIBS
="$ac_save_LIBS"
7430 # We can link X programs with no special library path.
7433 echo "configure: failed program was:" >&5
7434 cat conftest.
$ac_ext >&5
7436 LIBS
="$ac_save_LIBS"
7437 # First see if replacing the include by lib works.
7438 # Check X11 before X11Rn because it is often a symlink to the current release.
7439 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib/` \
7450 /usr
/local
/X
11/lib \
7451 /usr
/local
/X
11R
6/lib \
7452 /usr
/local
/X
11R
5/lib \
7453 /usr
/local
/X
11R
4/lib \
7455 /usr
/local
/lib
/X11 \
7456 /usr
/local
/lib
/X11R6 \
7457 /usr
/local
/lib
/X11R5 \
7458 /usr
/local
/lib
/X11R4 \
7462 /usr
/XFree
86/lib
/X11 \
7466 /usr
/unsupported
/lib \
7468 /usr
/local
/x
11r
5/lib \
7469 /usr
/lpp
/Xamples
/lib \
7473 /usr
/openwin
/share
/lib \
7476 for ac_extension
in a so sl
; do
7477 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
7478 ac_x_libraries
=$ac_dir
7485 fi # $ac_x_libraries = NO
7487 if test "$ac_x_includes" = NO
|| test "$ac_x_libraries" = NO
; then
7488 # Didn't find X anywhere. Cache the known absence of X.
7489 ac_cv_have_x
="have_x=no"
7491 # Record where we found X for the cache.
7492 ac_cv_have_x
="have_x=yes \
7493 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
7497 eval "$ac_cv_have_x"
7500 if test "$have_x" != yes; then
7501 echo "$ac_t""$have_x" 1>&6
7504 # If each of the values was on the command line, it overrides each guess.
7505 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
7506 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
7507 # Update the cache value to reflect the command line values.
7508 ac_cv_have_x
="have_x=yes \
7509 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
7510 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
7513 if test "$no_x" = yes; then
7514 # Not all programs may use this symbol, but it does not hurt to define it.
7515 cat >> confdefs.h
<<\EOF
7516 #define X_DISPLAY_MISSING 1
7519 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
7521 if test -n "$x_includes"; then
7522 X_CFLAGS
="$X_CFLAGS -I$x_includes"
7525 # It would also be nice to do this for all -L options, not just this one.
7526 if test -n "$x_libraries"; then
7527 X_LIBS
="$X_LIBS -L$x_libraries"
7528 # For Solaris; some versions of Sun CC require a space after -R and
7529 # others require no space. Words are not sufficient . . . .
7530 case "`(uname -sr) 2>/dev/null`" in
7532 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
7533 echo "configure:7534: checking whether -R must be followed by a space" >&5
7534 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
7535 cat > conftest.
$ac_ext <<EOF
7536 #line 7537 "configure"
7537 #include "confdefs.h"
7543 if { (eval echo configure
:7544: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7547 echo "configure: failed program was:" >&5
7548 cat conftest.
$ac_ext >&5
7553 if test $ac_R_nospace = yes; then
7554 echo "$ac_t""no" 1>&6
7555 X_LIBS
="$X_LIBS -R$x_libraries"
7557 LIBS
="$ac_xsave_LIBS -R $x_libraries"
7558 cat > conftest.
$ac_ext <<EOF
7559 #line 7560 "configure"
7560 #include "confdefs.h"
7566 if { (eval echo configure
:7567: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7570 echo "configure: failed program was:" >&5
7571 cat conftest.
$ac_ext >&5
7576 if test $ac_R_space = yes; then
7577 echo "$ac_t""yes" 1>&6
7578 X_LIBS
="$X_LIBS -R $x_libraries"
7580 echo "$ac_t""neither works" 1>&6
7583 LIBS
="$ac_xsave_LIBS"
7587 # Check for system-dependent libraries X programs must link with.
7588 # Do this before checking for the system-independent R6 libraries
7589 # (-lICE), since we may need -lsocket or whatever for X linking.
7591 if test "$ISC" = yes; then
7592 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
7594 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
7595 # libraries were built with DECnet support. And karl@cs.umb.edu says
7596 # the Alpha needs dnet_stub (dnet does not exist).
7597 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
7598 echo "configure:7599: checking for dnet_ntoa in -ldnet" >&5
7599 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
7600 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7601 echo $ac_n "(cached) $ac_c" 1>&6
7603 ac_save_LIBS
="$LIBS"
7605 cat > conftest.
$ac_ext <<EOF
7606 #line 7607 "configure"
7607 #include "confdefs.h"
7608 /* Override any gcc2 internal prototype to avoid an error. */
7609 /* We use char because int might match the return type of a gcc2
7610 builtin and then its argument prototype would still apply. */
7617 if { (eval echo configure
:7618: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7619 eval "ac_cv_lib_$ac_lib_var=yes"
7621 echo "configure: failed program was:" >&5
7622 cat conftest.
$ac_ext >&5
7624 eval "ac_cv_lib_$ac_lib_var=no"
7627 LIBS
="$ac_save_LIBS"
7630 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7631 echo "$ac_t""yes" 1>&6
7632 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
7634 echo "$ac_t""no" 1>&6
7637 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
7638 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
7639 echo "configure:7640: checking for dnet_ntoa in -ldnet_stub" >&5
7640 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
7641 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7642 echo $ac_n "(cached) $ac_c" 1>&6
7644 ac_save_LIBS
="$LIBS"
7645 LIBS
="-ldnet_stub $LIBS"
7646 cat > conftest.
$ac_ext <<EOF
7647 #line 7648 "configure"
7648 #include "confdefs.h"
7649 /* Override any gcc2 internal prototype to avoid an error. */
7650 /* We use char because int might match the return type of a gcc2
7651 builtin and then its argument prototype would still apply. */
7658 if { (eval echo configure
:7659: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7660 eval "ac_cv_lib_$ac_lib_var=yes"
7662 echo "configure: failed program was:" >&5
7663 cat conftest.
$ac_ext >&5
7665 eval "ac_cv_lib_$ac_lib_var=no"
7668 LIBS
="$ac_save_LIBS"
7671 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7672 echo "$ac_t""yes" 1>&6
7673 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
7675 echo "$ac_t""no" 1>&6
7680 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
7681 # to get the SysV transport functions.
7682 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
7684 # The nsl library prevents programs from opening the X display
7685 # on Irix 5.2, according to dickey@clark.net.
7686 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
7687 echo "configure:7688: checking for gethostbyname" >&5
7688 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
7689 echo $ac_n "(cached) $ac_c" 1>&6
7691 cat > conftest.
$ac_ext <<EOF
7692 #line 7693 "configure"
7693 #include "confdefs.h"
7694 /* System header to define __stub macros and hopefully few prototypes,
7695 which can conflict with char gethostbyname(); below. */
7697 /* Override any gcc2 internal prototype to avoid an error. */
7698 /* We use char because int might match the return type of a gcc2
7699 builtin and then its argument prototype would still apply. */
7700 char gethostbyname();
7705 /* The GNU C library defines this for functions which it implements
7706 to always fail with ENOSYS. Some functions are actually named
7707 something starting with __ and the normal name is an alias. */
7708 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
7716 if { (eval echo configure
:7717: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7718 eval "ac_cv_func_gethostbyname=yes"
7720 echo "configure: failed program was:" >&5
7721 cat conftest.
$ac_ext >&5
7723 eval "ac_cv_func_gethostbyname=no"
7728 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
7729 echo "$ac_t""yes" 1>&6
7732 echo "$ac_t""no" 1>&6
7735 if test $ac_cv_func_gethostbyname = no
; then
7736 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
7737 echo "configure:7738: checking for gethostbyname in -lnsl" >&5
7738 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
7739 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7740 echo $ac_n "(cached) $ac_c" 1>&6
7742 ac_save_LIBS
="$LIBS"
7744 cat > conftest.
$ac_ext <<EOF
7745 #line 7746 "configure"
7746 #include "confdefs.h"
7747 /* Override any gcc2 internal prototype to avoid an error. */
7748 /* We use char because int might match the return type of a gcc2
7749 builtin and then its argument prototype would still apply. */
7750 char gethostbyname();
7756 if { (eval echo configure
:7757: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7758 eval "ac_cv_lib_$ac_lib_var=yes"
7760 echo "configure: failed program was:" >&5
7761 cat conftest.
$ac_ext >&5
7763 eval "ac_cv_lib_$ac_lib_var=no"
7766 LIBS
="$ac_save_LIBS"
7769 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7770 echo "$ac_t""yes" 1>&6
7771 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
7773 echo "$ac_t""no" 1>&6
7778 # lieder@skyler.mavd.honeywell.com says without -lsocket,
7779 # socket/setsockopt and other routines are undefined under SCO ODT
7780 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
7781 # on later versions), says simon@lia.di.epfl.ch: it contains
7782 # gethostby* variants that don't use the nameserver (or something).
7783 # -lsocket must be given before -lnsl if both are needed.
7784 # We assume that if connect needs -lnsl, so does gethostbyname.
7785 echo $ac_n "checking for connect""... $ac_c" 1>&6
7786 echo "configure:7787: checking for connect" >&5
7787 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
7788 echo $ac_n "(cached) $ac_c" 1>&6
7790 cat > conftest.
$ac_ext <<EOF
7791 #line 7792 "configure"
7792 #include "confdefs.h"
7793 /* System header to define __stub macros and hopefully few prototypes,
7794 which can conflict with char connect(); below. */
7796 /* Override any gcc2 internal prototype to avoid an error. */
7797 /* We use char because int might match the return type of a gcc2
7798 builtin and then its argument prototype would still apply. */
7804 /* The GNU C library defines this for functions which it implements
7805 to always fail with ENOSYS. Some functions are actually named
7806 something starting with __ and the normal name is an alias. */
7807 #if defined (__stub_connect) || defined (__stub___connect)
7815 if { (eval echo configure
:7816: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7817 eval "ac_cv_func_connect=yes"
7819 echo "configure: failed program was:" >&5
7820 cat conftest.
$ac_ext >&5
7822 eval "ac_cv_func_connect=no"
7827 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
7828 echo "$ac_t""yes" 1>&6
7831 echo "$ac_t""no" 1>&6
7834 if test $ac_cv_func_connect = no
; then
7835 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
7836 echo "configure:7837: checking for connect in -lsocket" >&5
7837 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
7838 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7839 echo $ac_n "(cached) $ac_c" 1>&6
7841 ac_save_LIBS
="$LIBS"
7842 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
7843 cat > conftest.
$ac_ext <<EOF
7844 #line 7845 "configure"
7845 #include "confdefs.h"
7846 /* Override any gcc2 internal prototype to avoid an error. */
7847 /* We use char because int might match the return type of a gcc2
7848 builtin and then its argument prototype would still apply. */
7855 if { (eval echo configure
:7856: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7857 eval "ac_cv_lib_$ac_lib_var=yes"
7859 echo "configure: failed program was:" >&5
7860 cat conftest.
$ac_ext >&5
7862 eval "ac_cv_lib_$ac_lib_var=no"
7865 LIBS
="$ac_save_LIBS"
7868 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7869 echo "$ac_t""yes" 1>&6
7870 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
7872 echo "$ac_t""no" 1>&6
7877 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
7878 echo $ac_n "checking for remove""... $ac_c" 1>&6
7879 echo "configure:7880: checking for remove" >&5
7880 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
7881 echo $ac_n "(cached) $ac_c" 1>&6
7883 cat > conftest.
$ac_ext <<EOF
7884 #line 7885 "configure"
7885 #include "confdefs.h"
7886 /* System header to define __stub macros and hopefully few prototypes,
7887 which can conflict with char remove(); below. */
7889 /* Override any gcc2 internal prototype to avoid an error. */
7890 /* We use char because int might match the return type of a gcc2
7891 builtin and then its argument prototype would still apply. */
7897 /* The GNU C library defines this for functions which it implements
7898 to always fail with ENOSYS. Some functions are actually named
7899 something starting with __ and the normal name is an alias. */
7900 #if defined (__stub_remove) || defined (__stub___remove)
7908 if { (eval echo configure
:7909: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7910 eval "ac_cv_func_remove=yes"
7912 echo "configure: failed program was:" >&5
7913 cat conftest.
$ac_ext >&5
7915 eval "ac_cv_func_remove=no"
7920 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
7921 echo "$ac_t""yes" 1>&6
7924 echo "$ac_t""no" 1>&6
7927 if test $ac_cv_func_remove = no
; then
7928 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
7929 echo "configure:7930: checking for remove in -lposix" >&5
7930 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
7931 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7932 echo $ac_n "(cached) $ac_c" 1>&6
7934 ac_save_LIBS
="$LIBS"
7935 LIBS
="-lposix $LIBS"
7936 cat > conftest.
$ac_ext <<EOF
7937 #line 7938 "configure"
7938 #include "confdefs.h"
7939 /* Override any gcc2 internal prototype to avoid an error. */
7940 /* We use char because int might match the return type of a gcc2
7941 builtin and then its argument prototype would still apply. */
7948 if { (eval echo configure
:7949: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7950 eval "ac_cv_lib_$ac_lib_var=yes"
7952 echo "configure: failed program was:" >&5
7953 cat conftest.
$ac_ext >&5
7955 eval "ac_cv_lib_$ac_lib_var=no"
7958 LIBS
="$ac_save_LIBS"
7961 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7962 echo "$ac_t""yes" 1>&6
7963 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
7965 echo "$ac_t""no" 1>&6
7970 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
7971 echo $ac_n "checking for shmat""... $ac_c" 1>&6
7972 echo "configure:7973: checking for shmat" >&5
7973 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
7974 echo $ac_n "(cached) $ac_c" 1>&6
7976 cat > conftest.
$ac_ext <<EOF
7977 #line 7978 "configure"
7978 #include "confdefs.h"
7979 /* System header to define __stub macros and hopefully few prototypes,
7980 which can conflict with char shmat(); below. */
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. */
7990 /* The GNU C library defines this for functions which it implements
7991 to always fail with ENOSYS. Some functions are actually named
7992 something starting with __ and the normal name is an alias. */
7993 #if defined (__stub_shmat) || defined (__stub___shmat)
8001 if { (eval echo configure
:8002: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8003 eval "ac_cv_func_shmat=yes"
8005 echo "configure: failed program was:" >&5
8006 cat conftest.
$ac_ext >&5
8008 eval "ac_cv_func_shmat=no"
8013 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
8014 echo "$ac_t""yes" 1>&6
8017 echo "$ac_t""no" 1>&6
8020 if test $ac_cv_func_shmat = no
; then
8021 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
8022 echo "configure:8023: checking for shmat in -lipc" >&5
8023 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
8024 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8025 echo $ac_n "(cached) $ac_c" 1>&6
8027 ac_save_LIBS
="$LIBS"
8029 cat > conftest.
$ac_ext <<EOF
8030 #line 8031 "configure"
8031 #include "confdefs.h"
8032 /* Override any gcc2 internal prototype to avoid an error. */
8033 /* We use char because int might match the return type of a gcc2
8034 builtin and then its argument prototype would still apply. */
8041 if { (eval echo configure
:8042: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8043 eval "ac_cv_lib_$ac_lib_var=yes"
8045 echo "configure: failed program was:" >&5
8046 cat conftest.
$ac_ext >&5
8048 eval "ac_cv_lib_$ac_lib_var=no"
8051 LIBS
="$ac_save_LIBS"
8054 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8055 echo "$ac_t""yes" 1>&6
8056 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
8058 echo "$ac_t""no" 1>&6
8064 # Check for libraries that X11R6 Xt/Xaw programs need.
8065 ac_save_LDFLAGS
="$LDFLAGS"
8066 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
8067 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
8068 # check for ICE first), but we must link in the order -lSM -lICE or
8069 # we get undefined symbols. So assume we have SM if we have ICE.
8070 # These have to be linked with before -lX11, unlike the other
8071 # libraries we check for below, so use a different variable.
8072 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
8073 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
8074 echo "configure:8075: checking for IceConnectionNumber in -lICE" >&5
8075 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
8076 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8077 echo $ac_n "(cached) $ac_c" 1>&6
8079 ac_save_LIBS
="$LIBS"
8080 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
8081 cat > conftest.
$ac_ext <<EOF
8082 #line 8083 "configure"
8083 #include "confdefs.h"
8084 /* Override any gcc2 internal prototype to avoid an error. */
8085 /* We use char because int might match the return type of a gcc2
8086 builtin and then its argument prototype would still apply. */
8087 char IceConnectionNumber();
8090 IceConnectionNumber()
8093 if { (eval echo configure
:8094: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8095 eval "ac_cv_lib_$ac_lib_var=yes"
8097 echo "configure: failed program was:" >&5
8098 cat conftest.
$ac_ext >&5
8100 eval "ac_cv_lib_$ac_lib_var=no"
8103 LIBS
="$ac_save_LIBS"
8106 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8107 echo "$ac_t""yes" 1>&6
8108 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
8110 echo "$ac_t""no" 1>&6
8113 LDFLAGS
="$ac_save_LDFLAGS"
8118 if test "$no_x" = "yes"; then
8119 { echo "configure: error: X11 not found" 1>&2; exit 1; }
8122 GUI_TK_LIBRARY
="$X_LIBS"
8123 TOOLKIT_INCLUDE
="$X_CFLAGS"
8125 AFMINSTALL
=afminstall
8128 COMPILED_X_PROGRAM
=0
8130 echo $ac_n "checking for Motif/Lesstif headers""... $ac_c" 1>&6
8131 echo "configure:8132: checking for Motif/Lesstif headers" >&5
8134 for ac_dir
in $SEARCH_INCLUDE;
8136 if test -f "$ac_dir/Xm/Xm.h"; then
8137 ac_find_includes
=$ac_dir
8142 if test "$ac_find_includes" != "" ; then
8143 echo "$ac_t""found $ac_find_includes" 1>&6
8145 cat > conftest.
$ac_ext <<EOF
8146 #line 8147 "configure"
8147 #include "confdefs.h"
8155 version = xmUseVersion;
8159 if { (eval echo configure
:8160: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8162 echo "$ac_t""found in default search path" 1>&6
8163 COMPILED_X_PROGRAM
=1
8166 echo "configure: failed program was:" >&5
8167 cat conftest.
$ac_ext >&5
8170 echo "$ac_t""no" 1>&6
8171 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
8178 if test "$COMPILED_X_PROGRAM" = 0; then
8179 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
8180 echo "configure:8181: checking for Motif/Lesstif library" >&5
8183 for ac_dir
in $SEARCH_LIB;
8185 for ac_extension
in a so sl
; do
8186 if test -f "$ac_dir/libXm.$ac_extension"; then
8187 ac_find_libraries
=$ac_dir
8193 if test "$ac_find_libraries" != "" ; then
8195 ac_path_to_include
=$ac_find_includes
8196 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
8198 if test $result = 0; then
8199 ac_path_to_include
=""
8201 ac_path_to_include
="-I$ac_find_includes"
8205 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
8207 if test $result = 0; then
8210 ac_path_to_link
="-L$ac_find_libraries"
8214 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
8215 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE $ac_path_to_include"
8216 echo "$ac_t""found at $ac_find_libraries" 1>&6
8218 cat > conftest.
$ac_ext <<EOF
8219 #line 8220 "configure"
8220 #include "confdefs.h"
8228 version = xmUseVersion;
8232 if { (eval echo configure
:8233: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8235 echo "$ac_t""found in default search path" 1>&6
8236 COMPILED_X_PROGRAM
=1
8239 echo "configure: failed program was:" >&5
8240 cat conftest.
$ac_ext >&5
8243 echo "$ac_t""no" 1>&6
8244 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
8254 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
8255 echo "configure:8256: checking for Xpm library" >&5
8258 for ac_dir
in $SEARCH_LIB;
8260 for ac_extension
in a so sl
; do
8261 if test -f "$ac_dir/libXpm.$ac_extension"; then
8262 ac_find_libraries
=$ac_dir
8268 if test "$ac_find_libraries" != "" ; then
8270 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
8272 if test $result = 0; then
8275 ac_path_to_link
="-L$ac_find_libraries"
8278 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
8280 cat >> confdefs.h
<<\EOF
8281 #define wxHAVE_LIB_XPM 1
8284 echo "$ac_t""found at $ac_find_libraries" 1>&6
8286 cat > conftest.
$ac_ext <<EOF
8287 #line 8288 "configure"
8288 #include "confdefs.h"
8290 #include <X11/xpm.h>
8296 version = XpmLibraryVersion();
8300 if { (eval echo configure
:8301: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8304 cat >> confdefs.h
<<\EOF
8305 #define wxHAVE_LIB_XPM 1
8308 echo "$ac_t""found in default search path" 1>&6
8309 COMPILED_X_PROGRAM
=0
8312 echo "configure: failed program was:" >&5
8313 cat conftest.
$ac_ext >&5
8316 echo "$ac_t""no" 1>&6
8317 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
8324 GUI_TK_LINK
="-lXm $XPM_LINK -lXmu -lXext -lXt -lX11 -lm"
8325 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GUI_TK_LINK"
8328 GUIHEADERS
="\$(MOTIF_HEADERS)"
8329 GUIOBJS
="\$(MOTIF_GUIOBJS)"
8330 COMMONOBJS
="\$(MOTIF_COMMONOBJS)"
8331 GENERICOBJS
="\$(MOTIF_GENERICOBJS)"
8332 GUIDEPS
="\$(MOTIF_GUIDEPS)"
8333 COMMONDEPS
="\$(MOTIF_COMMONDEPS)"
8334 GENERICDEPS
="\$(MOTIF_GENERICDEPS)"
8335 UNIXOBJS
="\$(UNIX_OBJS)"
8336 UNIXDEPS
="\$(UNIX_DEPS)"
8340 if test "$wxUSE_PM" = 1; then
8343 GUIOBJS
="\$(PM_GUIOBJS)"
8344 GUIHEADERS
="\$(PM_HEADERS)"
8345 COMMONOBJS
="\$(PM_COMMONOBJS)"
8346 GENERICOBJS
="\$(PM_GENERICOBJS)"
8347 GUIDEPS
="\$(PM_GUIDEPS)"
8348 COMMONDEPS
="\$(PM_COMMONDEPS)"
8349 GENERICDEPS
="\$(PM_GENERICDEPS)"
8355 if test "$TOOLKIT" != "PM" ; then
8356 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
8361 TOOLKIT_DEF
="-D__WX${TOOLKIT}__"
8363 WX_LIBRARY
="wx_${TOOLKIT_DIR}"
8365 ALL_OBJECTS
="\$(GUIOBJS) \$(COMMONOBJS) \$(GENERICOBJS) \$(UNIXOBJS) \$(HTMLOBJS)"
8367 if test "$TOOLKIT" != "MSW"; then
8368 if test "$wxUSE_ODBC" = "yes" ; then
8369 ALL_OBJECTS
="${ALL_OBJECTS} \$(IODBCOBJS)"
8373 if test "$wxUSE_LIBJPEG" = "yes" ; then
8374 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
8376 if test "$wxUSE_LIBTIFF" = "yes" ; then
8377 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
8379 if test "$wxUSE_LIBPNG" = "yes" ; then
8380 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
8382 if test "$wxUSE_ZLIB" = "yes" ; then
8383 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
8385 ALL_DEPFILES
="\$(GUIDEPS) \$(COMMONDEPS) \$(GENERICDEPS) \$(UNIXDEPS) \$(HTMLDEPS)"
8387 PORT_FILES
="src/\$(TOOLKITDIR)/files.lst"
8388 RPM_FILES
="src/\$(TOOLKITDIR)/rpmfiles.lst"
8389 RPM_SPEC
="wx\$(TOOLKIT).spec"
8391 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
8392 DISTDIR
="wx\$(TOOLKIT)"
8397 ALL_OBJECTS
="\$(BASE_OBJS) \${BASE_UNIX_OBJS}"
8398 ALL_DEPFILES
="\${BASE_DEPS} \${BASE_UNIX_DEPS}"
8402 PORT_FILES
="src/files.lst"
8403 RPM_FILES
="src/rpmfiles.lst"
8404 RPM_SPEC
="wxBase.spec"
8410 WX_LIBRARY_NAME
="lib${WX_LIBRARY}.la"
8412 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
8414 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}-${WX_RELEASE}.so.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
8416 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}-${WX_RELEASE}.so.${WX_CURRENT}"
8417 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}-${WX_RELEASE}.so"
8418 WX_LIBRARY_LINK3
="lib${WX_LIBRARY}.so"
8427 if test "$wxUSE_SHARED" = "yes"; then
8430 if test "$GCC" = yes ; then
8431 SHARED_LD
="${CC} -shared -fPIC -o"
8434 SHARED_LD
="${CXX} -b -o"
8437 WX_LIBRARY_NAME_SHARED
="libwx_${TOOLKIT_DIR}.sl"
8438 WX_ALL
=${WX_LIBRARY_NAME_SHARED}
8442 SHARED_LD
="${CC} -shared -o"
8444 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8445 WX_ALL
="CREATE_LINKS"
8446 if test "$wxUSE_BURNT_NAME" = "yes" ; then
8447 BURNT_LIBRARY_NAME
="-Wl,-soname -Wl,${WX_LIBRARY_NAME_SHARED}"
8450 *-*-irix5* | *-*-irix6* )
8451 if test "$GCC" = yes ; then
8452 SHARED_LD
="${CC} -shared -o"
8455 SHARED_LD
="${CXX} -shared -o"
8457 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8458 WX_ALL
="CREATE_LINKS"
8461 if test "$GCC" = yes ; then
8462 SHARED_LD
="${CC} -shared -o"
8465 SHARED_LD
="${CXX} -G -o"
8468 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8469 WX_ALL
="CREATE_LINKS"
8472 SHARED_LD
="${CC} -shared -o"
8474 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8475 WX_ALL
="CREATE_LINKS"
8477 *-*-freebsd* | *-*-netbsd*)
8478 SHARED_LD
="${CC} -shared -o"
8480 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8481 WX_ALL
="CREATE_LINKS"
8484 SHARED_LD
="${CXX} -shared -o"
8486 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8487 WX_ALL
="CREATE_LINKS"
8490 SHARED_LD
="${CXX} -shared -o"
8492 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8493 WX_ALL
="CREATE_LINKS"
8496 SHARED_LD
="${CC} -shared -o"
8498 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8499 WX_ALL
="CREATE_LINKS"
8502 SHARED_LD
="/usr/lpp/xlC/bin/makeC++SharedLib -p 0 -o"
8503 WX_ALL
=${WX_LIBRARY_NAME_SHARED}
8506 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
8507 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
8510 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
8511 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
8514 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
8515 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
8518 SHARED_LD
="${LD} -shared -o"
8520 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8521 WX_ALL
="CREATE_LINKS"
8524 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
8527 if test "x$WX_TARGET_LIBRARY" = "x"; then
8528 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
8531 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
8532 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
8536 for ac_hdr
in strings.h
8538 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8539 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8540 echo "configure:8541: checking for $ac_hdr" >&5
8541 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8542 echo $ac_n "(cached) $ac_c" 1>&6
8544 cat > conftest.
$ac_ext <<EOF
8545 #line 8546 "configure"
8546 #include "confdefs.h"
8549 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8550 { (eval echo configure
:8551: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8551 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8552 if test -z "$ac_err"; then
8554 eval "ac_cv_header_$ac_safe=yes"
8557 echo "configure: failed program was:" >&5
8558 cat conftest.
$ac_ext >&5
8560 eval "ac_cv_header_$ac_safe=no"
8564 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8565 echo "$ac_t""yes" 1>&6
8566 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8567 cat >> confdefs.h
<<EOF
8568 #define $ac_tr_hdr 1
8572 echo "$ac_t""no" 1>&6
8576 for ac_hdr
in unistd.h
8578 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8579 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8580 echo "configure:8581: checking for $ac_hdr" >&5
8581 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8582 echo $ac_n "(cached) $ac_c" 1>&6
8584 cat > conftest.
$ac_ext <<EOF
8585 #line 8586 "configure"
8586 #include "confdefs.h"
8589 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8590 { (eval echo configure
:8591: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8591 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8592 if test -z "$ac_err"; then
8594 eval "ac_cv_header_$ac_safe=yes"
8597 echo "configure: failed program was:" >&5
8598 cat conftest.
$ac_ext >&5
8600 eval "ac_cv_header_$ac_safe=no"
8604 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8605 echo "$ac_t""yes" 1>&6
8606 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8607 cat >> confdefs.h
<<EOF
8608 #define $ac_tr_hdr 1
8612 echo "$ac_t""no" 1>&6
8616 for ac_hdr
in wchar.h
8618 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8619 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8620 echo "configure:8621: checking for $ac_hdr" >&5
8621 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8622 echo $ac_n "(cached) $ac_c" 1>&6
8624 cat > conftest.
$ac_ext <<EOF
8625 #line 8626 "configure"
8626 #include "confdefs.h"
8629 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8630 { (eval echo configure
:8631: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8631 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8632 if test -z "$ac_err"; then
8634 eval "ac_cv_header_$ac_safe=yes"
8637 echo "configure: failed program was:" >&5
8638 cat conftest.
$ac_ext >&5
8640 eval "ac_cv_header_$ac_safe=no"
8644 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8645 echo "$ac_t""yes" 1>&6
8646 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8647 cat >> confdefs.h
<<EOF
8648 #define $ac_tr_hdr 1
8652 echo "$ac_t""no" 1>&6
8656 for ac_hdr
in wcstr.h
8658 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8659 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8660 echo "configure:8661: checking for $ac_hdr" >&5
8661 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8662 echo $ac_n "(cached) $ac_c" 1>&6
8664 cat > conftest.
$ac_ext <<EOF
8665 #line 8666 "configure"
8666 #include "confdefs.h"
8669 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8670 { (eval echo configure
:8671: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8671 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8672 if test -z "$ac_err"; then
8674 eval "ac_cv_header_$ac_safe=yes"
8677 echo "configure: failed program was:" >&5
8678 cat conftest.
$ac_ext >&5
8680 eval "ac_cv_header_$ac_safe=no"
8684 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8685 echo "$ac_t""yes" 1>&6
8686 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8687 cat >> confdefs.h
<<EOF
8688 #define $ac_tr_hdr 1
8692 echo "$ac_t""no" 1>&6
8696 for ac_hdr
in fnmatch.h
8698 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8699 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8700 echo "configure:8701: checking for $ac_hdr" >&5
8701 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8702 echo $ac_n "(cached) $ac_c" 1>&6
8704 cat > conftest.
$ac_ext <<EOF
8705 #line 8706 "configure"
8706 #include "confdefs.h"
8709 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8710 { (eval echo configure
:8711: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8711 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8712 if test -z "$ac_err"; then
8714 eval "ac_cv_header_$ac_safe=yes"
8717 echo "configure: failed program was:" >&5
8718 cat conftest.
$ac_ext >&5
8720 eval "ac_cv_header_$ac_safe=no"
8724 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8725 echo "$ac_t""yes" 1>&6
8726 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8727 cat >> confdefs.h
<<EOF
8728 #define $ac_tr_hdr 1
8732 echo "$ac_t""no" 1>&6
8737 if test "$wxUSE_GUI" = "yes"; then
8738 for ac_hdr
in X
11/XKBlib.h
8740 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8741 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8742 echo "configure:8743: checking for $ac_hdr" >&5
8743 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8744 echo $ac_n "(cached) $ac_c" 1>&6
8746 cat > conftest.
$ac_ext <<EOF
8747 #line 8748 "configure"
8748 #include "confdefs.h"
8751 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8752 { (eval echo configure
:8753: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8753 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8754 if test -z "$ac_err"; then
8756 eval "ac_cv_header_$ac_safe=yes"
8759 echo "configure: failed program was:" >&5
8760 cat conftest.
$ac_ext >&5
8762 eval "ac_cv_header_$ac_safe=no"
8766 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8767 echo "$ac_t""yes" 1>&6
8768 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8769 cat >> confdefs.h
<<EOF
8770 #define $ac_tr_hdr 1
8774 echo "$ac_t""no" 1>&6
8781 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
8782 echo "configure:8783: checking for ANSI C header files" >&5
8783 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
8784 echo $ac_n "(cached) $ac_c" 1>&6
8786 cat > conftest.
$ac_ext <<EOF
8787 #line 8788 "configure"
8788 #include "confdefs.h"
8794 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8795 { (eval echo configure
:8796: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8796 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8797 if test -z "$ac_err"; then
8799 ac_cv_header_stdc
=yes
8802 echo "configure: failed program was:" >&5
8803 cat conftest.
$ac_ext >&5
8805 ac_cv_header_stdc
=no
8809 if test $ac_cv_header_stdc = yes; then
8810 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8811 cat > conftest.
$ac_ext <<EOF
8812 #line 8813 "configure"
8813 #include "confdefs.h"
8816 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8817 egrep "memchr" >/dev
/null
2>&1; then
8821 ac_cv_header_stdc
=no
8827 if test $ac_cv_header_stdc = yes; then
8828 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8829 cat > conftest.
$ac_ext <<EOF
8830 #line 8831 "configure"
8831 #include "confdefs.h"
8834 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8835 egrep "free" >/dev
/null
2>&1; then
8839 ac_cv_header_stdc
=no
8845 if test $ac_cv_header_stdc = yes; then
8846 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8847 if test "$cross_compiling" = yes; then
8850 cat > conftest.
$ac_ext <<EOF
8851 #line 8852 "configure"
8852 #include "confdefs.h"
8854 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8855 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8856 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8857 int main () { int i; for (i = 0; i < 256; i++)
8858 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
8862 if { (eval echo configure
:8863: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
8866 echo "configure: failed program was:" >&5
8867 cat conftest.
$ac_ext >&5
8869 ac_cv_header_stdc
=no
8877 echo "$ac_t""$ac_cv_header_stdc" 1>&6
8878 if test $ac_cv_header_stdc = yes; then
8879 cat >> confdefs.h
<<\EOF
8880 #define STDC_HEADERS 1
8885 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
8886 echo "configure:8887: checking for mode_t" >&5
8887 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
8888 echo $ac_n "(cached) $ac_c" 1>&6
8890 cat > conftest.
$ac_ext <<EOF
8891 #line 8892 "configure"
8892 #include "confdefs.h"
8893 #include <sys/types.h>
8899 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8900 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
8902 ac_cv_type_mode_t
=yes
8905 ac_cv_type_mode_t
=no
8910 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
8911 if test $ac_cv_type_mode_t = no
; then
8912 cat >> confdefs.h
<<\EOF
8918 echo $ac_n "checking for off_t""... $ac_c" 1>&6
8919 echo "configure:8920: checking for off_t" >&5
8920 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
8921 echo $ac_n "(cached) $ac_c" 1>&6
8923 cat > conftest.
$ac_ext <<EOF
8924 #line 8925 "configure"
8925 #include "confdefs.h"
8926 #include <sys/types.h>
8932 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8933 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
8935 ac_cv_type_off_t
=yes
8943 echo "$ac_t""$ac_cv_type_off_t" 1>&6
8944 if test $ac_cv_type_off_t = no
; then
8945 cat >> confdefs.h
<<\EOF
8951 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
8952 echo "configure:8953: checking for pid_t" >&5
8953 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
8954 echo $ac_n "(cached) $ac_c" 1>&6
8956 cat > conftest.
$ac_ext <<EOF
8957 #line 8958 "configure"
8958 #include "confdefs.h"
8959 #include <sys/types.h>
8965 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8966 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
8968 ac_cv_type_pid_t
=yes
8976 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
8977 if test $ac_cv_type_pid_t = no
; then
8978 cat >> confdefs.h
<<\EOF
8984 echo $ac_n "checking for size_t""... $ac_c" 1>&6
8985 echo "configure:8986: checking for size_t" >&5
8986 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
8987 echo $ac_n "(cached) $ac_c" 1>&6
8989 cat > conftest.
$ac_ext <<EOF
8990 #line 8991 "configure"
8991 #include "confdefs.h"
8992 #include <sys/types.h>
8998 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8999 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
9001 ac_cv_type_size_t
=yes
9004 ac_cv_type_size_t
=no
9009 echo "$ac_t""$ac_cv_type_size_t" 1>&6
9010 if test $ac_cv_type_size_t = no
; then
9011 cat >> confdefs.h
<<\EOF
9012 #define size_t unsigned
9017 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
9018 echo "configure:9019: checking for uid_t in sys/types.h" >&5
9019 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
9020 echo $ac_n "(cached) $ac_c" 1>&6
9022 cat > conftest.
$ac_ext <<EOF
9023 #line 9024 "configure"
9024 #include "confdefs.h"
9025 #include <sys/types.h>
9027 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9028 egrep "uid_t" >/dev
/null
2>&1; then
9030 ac_cv_type_uid_t
=yes
9039 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
9040 if test $ac_cv_type_uid_t = no
; then
9041 cat >> confdefs.h
<<\EOF
9045 cat >> confdefs.h
<<\EOF
9053 echo $ac_n "checking for pw_gecos in struct passwd""... $ac_c" 1>&6
9054 echo "configure:9055: checking for pw_gecos in struct passwd" >&5
9055 if eval "test \"`echo '$''{'wx_cv_struct_pw_gecos'+set}'`\" = set"; then
9056 echo $ac_n "(cached) $ac_c" 1>&6
9059 cat > conftest.
$ac_ext <<EOF
9060 #line 9061 "configure"
9061 #include "confdefs.h"
9071 if { (eval echo configure
:9072: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9074 wx_cv_struct_pw_gecos
=yes
9075 cat >> confdefs.h
<<\EOF
9076 #define HAVE_PW_GECOS 1
9081 echo "configure: failed program was:" >&5
9082 cat conftest.
$ac_ext >&5
9085 wx_cv_struct_pw_gecos
=no
9094 echo "$ac_t""$wx_cv_struct_pw_gecos" 1>&6
9097 echo $ac_n "checking for working const""... $ac_c" 1>&6
9098 echo "configure:9099: checking for working const" >&5
9099 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
9100 echo $ac_n "(cached) $ac_c" 1>&6
9102 cat > conftest.
$ac_ext <<EOF
9103 #line 9104 "configure"
9104 #include "confdefs.h"
9108 /* Ultrix mips cc rejects this. */
9109 typedef int charset[2]; const charset x;
9110 /* SunOS 4.1.1 cc rejects this. */
9111 char const *const *ccp;
9113 /* NEC SVR4.0.2 mips cc rejects this. */
9114 struct point {int x, y;};
9115 static struct point const zero = {0,0};
9116 /* AIX XL C 1.02.0.0 rejects this.
9117 It does not let you subtract one const X* pointer from another in an arm
9118 of an if-expression whose if-part is not a constant expression */
9119 const char *g = "string";
9120 ccp = &g + (g ? g-g : 0);
9121 /* HPUX 7.0 cc rejects these. */
9124 ccp = (char const *const *) p;
9125 { /* SCO 3.2v4 cc rejects this. */
9127 char const *s = 0 ? (char *) 0 : (char const *) 0;
9131 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
9133 const int *foo = &x[0];
9136 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
9137 typedef const int *iptr;
9141 { /* AIX XL C 1.02.0.0 rejects this saying
9142 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
9143 struct s { int j; const int *ap[3]; };
9144 struct s *b; b->j = 5;
9146 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
9152 if { (eval echo configure
:9153: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9156 echo "configure: failed program was:" >&5
9157 cat conftest.
$ac_ext >&5
9164 echo "$ac_t""$ac_cv_c_const" 1>&6
9165 if test $ac_cv_c_const = no
; then
9166 cat >> confdefs.h
<<\EOF
9172 echo $ac_n "checking for inline""... $ac_c" 1>&6
9173 echo "configure:9174: checking for inline" >&5
9174 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
9175 echo $ac_n "(cached) $ac_c" 1>&6
9178 for ac_kw
in inline __inline__ __inline
; do
9179 cat > conftest.
$ac_ext <<EOF
9180 #line 9181 "configure"
9181 #include "confdefs.h"
9187 if { (eval echo configure
:9188: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9189 ac_cv_c_inline
=$ac_kw; break
9191 echo "configure: failed program was:" >&5
9192 cat conftest.
$ac_ext >&5
9199 echo "$ac_t""$ac_cv_c_inline" 1>&6
9200 case "$ac_cv_c_inline" in
9202 no
) cat >> confdefs.h
<<\EOF
9206 *) cat >> confdefs.h
<<EOF
9207 #define inline $ac_cv_c_inline
9213 echo $ac_n "checking size of char""... $ac_c" 1>&6
9214 echo "configure:9215: checking size of char" >&5
9215 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
9216 echo $ac_n "(cached) $ac_c" 1>&6
9218 if test "$cross_compiling" = yes; then
9221 cat > conftest.
$ac_ext <<EOF
9222 #line 9223 "configure"
9223 #include "confdefs.h"
9227 FILE *f=fopen("conftestval", "w");
9229 fprintf(f, "%d\n", sizeof(char));
9233 if { (eval echo configure
:9234: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9235 ac_cv_sizeof_char
=`cat conftestval`
9237 echo "configure: failed program was:" >&5
9238 cat conftest.
$ac_ext >&5
9246 echo "$ac_t""$ac_cv_sizeof_char" 1>&6
9247 cat >> confdefs.h
<<EOF
9248 #define SIZEOF_CHAR $ac_cv_sizeof_char
9252 echo $ac_n "checking size of short""... $ac_c" 1>&6
9253 echo "configure:9254: checking size of short" >&5
9254 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
9255 echo $ac_n "(cached) $ac_c" 1>&6
9257 if test "$cross_compiling" = yes; then
9258 ac_cv_sizeof_short
=2
9260 cat > conftest.
$ac_ext <<EOF
9261 #line 9262 "configure"
9262 #include "confdefs.h"
9266 FILE *f=fopen("conftestval", "w");
9268 fprintf(f, "%d\n", sizeof(short));
9272 if { (eval echo configure
:9273: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9274 ac_cv_sizeof_short
=`cat conftestval`
9276 echo "configure: failed program was:" >&5
9277 cat conftest.
$ac_ext >&5
9279 ac_cv_sizeof_short
=0
9285 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
9286 cat >> confdefs.h
<<EOF
9287 #define SIZEOF_SHORT $ac_cv_sizeof_short
9291 echo $ac_n "checking size of int *""... $ac_c" 1>&6
9292 echo "configure:9293: checking size of int *" >&5
9293 if eval "test \"`echo '$''{'ac_cv_sizeof_int_p'+set}'`\" = set"; then
9294 echo $ac_n "(cached) $ac_c" 1>&6
9296 if test "$cross_compiling" = yes; then
9297 ac_cv_sizeof_int_p
=4
9299 cat > conftest.
$ac_ext <<EOF
9300 #line 9301 "configure"
9301 #include "confdefs.h"
9305 FILE *f=fopen("conftestval", "w");
9307 fprintf(f, "%d\n", sizeof(int *));
9311 if { (eval echo configure
:9312: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9313 ac_cv_sizeof_int_p
=`cat conftestval`
9315 echo "configure: failed program was:" >&5
9316 cat conftest.
$ac_ext >&5
9318 ac_cv_sizeof_int_p
=0
9324 echo "$ac_t""$ac_cv_sizeof_int_p" 1>&6
9325 cat >> confdefs.h
<<EOF
9326 #define SIZEOF_INT_P $ac_cv_sizeof_int_p
9330 echo $ac_n "checking size of int""... $ac_c" 1>&6
9331 echo "configure:9332: checking size of int" >&5
9332 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
9333 echo $ac_n "(cached) $ac_c" 1>&6
9335 if test "$cross_compiling" = yes; then
9338 cat > conftest.
$ac_ext <<EOF
9339 #line 9340 "configure"
9340 #include "confdefs.h"
9344 FILE *f=fopen("conftestval", "w");
9346 fprintf(f, "%d\n", sizeof(int));
9350 if { (eval echo configure
:9351: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9352 ac_cv_sizeof_int
=`cat conftestval`
9354 echo "configure: failed program was:" >&5
9355 cat conftest.
$ac_ext >&5
9363 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
9364 cat >> confdefs.h
<<EOF
9365 #define SIZEOF_INT $ac_cv_sizeof_int
9369 echo $ac_n "checking size of long""... $ac_c" 1>&6
9370 echo "configure:9371: checking size of long" >&5
9371 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
9372 echo $ac_n "(cached) $ac_c" 1>&6
9374 if test "$cross_compiling" = yes; then
9377 cat > conftest.
$ac_ext <<EOF
9378 #line 9379 "configure"
9379 #include "confdefs.h"
9383 FILE *f=fopen("conftestval", "w");
9385 fprintf(f, "%d\n", sizeof(long));
9389 if { (eval echo configure
:9390: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9391 ac_cv_sizeof_long
=`cat conftestval`
9393 echo "configure: failed program was:" >&5
9394 cat conftest.
$ac_ext >&5
9402 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
9403 cat >> confdefs.h
<<EOF
9404 #define SIZEOF_LONG $ac_cv_sizeof_long
9408 echo $ac_n "checking size of long long""... $ac_c" 1>&6
9409 echo "configure:9410: checking size of long long" >&5
9410 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
9411 echo $ac_n "(cached) $ac_c" 1>&6
9413 if test "$cross_compiling" = yes; then
9414 ac_cv_sizeof_long_long
=0
9416 cat > conftest.
$ac_ext <<EOF
9417 #line 9418 "configure"
9418 #include "confdefs.h"
9422 FILE *f=fopen("conftestval", "w");
9424 fprintf(f, "%d\n", sizeof(long long));
9428 if { (eval echo configure
:9429: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9430 ac_cv_sizeof_long_long
=`cat conftestval`
9432 echo "configure: failed program was:" >&5
9433 cat conftest.
$ac_ext >&5
9435 ac_cv_sizeof_long_long
=0
9441 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
9442 cat >> confdefs.h
<<EOF
9443 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
9448 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
9449 echo "configure:9450: checking whether byte ordering is bigendian" >&5
9450 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
9451 echo $ac_n "(cached) $ac_c" 1>&6
9453 ac_cv_c_bigendian
=unknown
9454 # See if sys/param.h defines the BYTE_ORDER macro.
9455 cat > conftest.
$ac_ext <<EOF
9456 #line 9457 "configure"
9457 #include "confdefs.h"
9458 #include <sys/types.h>
9459 #include <sys/param.h>
9462 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
9467 if { (eval echo configure
:9468: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9469 # It does; now see whether it defined to BIG_ENDIAN or not.
9470 cat > conftest.
$ac_ext <<EOF
9471 #line 9472 "configure"
9472 #include "confdefs.h"
9473 #include <sys/types.h>
9474 #include <sys/param.h>
9477 #if BYTE_ORDER != BIG_ENDIAN
9482 if { (eval echo configure
:9483: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9484 ac_cv_c_bigendian
=yes
9486 echo "configure: failed program was:" >&5
9487 cat conftest.
$ac_ext >&5
9489 ac_cv_c_bigendian
=no
9493 echo "configure: failed program was:" >&5
9494 cat conftest.
$ac_ext >&5
9497 if test $ac_cv_c_bigendian = unknown
; then
9498 if test "$cross_compiling" = yes; then
9499 ac_cv_c_bigendian
=unknown
9501 cat > conftest.
$ac_ext <<EOF
9502 #line 9503 "configure"
9503 #include "confdefs.h"
9505 /* Are we little or big endian? From Harbison&Steele. */
9509 char c[sizeof (long)];
9512 exit (u.c[sizeof (long) - 1] == 1);
9515 if { (eval echo configure
:9516: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9517 ac_cv_c_bigendian
=no
9519 echo "configure: failed program was:" >&5
9520 cat conftest.
$ac_ext >&5
9522 ac_cv_c_bigendian
=yes
9530 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
9531 if test $ac_cv_c_bigendian = unknown
; then
9532 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
9534 if test $ac_cv_c_bigendian = yes; then
9535 cat >> confdefs.h
<<\EOF
9536 #define WORDS_BIGENDIAN 1
9543 if test "$cross_compiling" = "yes"; then
9544 cat >> confdefs.h
<<\EOF
9545 #define wxUSE_IOSTREAMH 1
9551 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9552 ac_cpp
='$CXXCPP $CPPFLAGS'
9553 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9554 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9555 cross_compiling
=$ac_cv_prog_cxx_cross
9558 for ac_hdr
in iostream
9560 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9561 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9562 echo "configure:9563: checking for $ac_hdr" >&5
9563 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9564 echo $ac_n "(cached) $ac_c" 1>&6
9566 cat > conftest.
$ac_ext <<EOF
9567 #line 9568 "configure"
9568 #include "confdefs.h"
9571 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9572 { (eval echo configure
:9573: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9573 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9574 if test -z "$ac_err"; then
9576 eval "ac_cv_header_$ac_safe=yes"
9579 echo "configure: failed program was:" >&5
9580 cat conftest.
$ac_ext >&5
9582 eval "ac_cv_header_$ac_safe=no"
9586 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9587 echo "$ac_t""yes" 1>&6
9588 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9589 cat >> confdefs.h
<<EOF
9590 #define $ac_tr_hdr 1
9594 echo "$ac_t""no" 1>&6
9599 if test "x$HAVE_IOSTREAM" = x
; then
9600 cat >> confdefs.h
<<\EOF
9601 #define wxUSE_IOSTREAMH 1
9609 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9610 ac_cpp
='$CPP $CPPFLAGS'
9611 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9612 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9613 cross_compiling
=$ac_cv_prog_cc_cross
9619 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
9620 echo "configure:9621: checking if C++ compiler supports bool" >&5
9621 if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
9622 echo $ac_n "(cached) $ac_c" 1>&6
9627 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9628 ac_cpp
='$CXXCPP $CPPFLAGS'
9629 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9630 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9631 cross_compiling
=$ac_cv_prog_cxx_cross
9634 cat > conftest.
$ac_ext <<EOF
9635 #line 9636 "configure"
9636 #include "confdefs.h"
9647 if { (eval echo configure
:9648: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9650 cat >> confdefs.h
<<\EOF
9657 echo "configure: failed program was:" >&5
9658 cat conftest.
$ac_ext >&5
9668 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9669 ac_cpp
='$CPP $CPPFLAGS'
9670 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9671 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9672 cross_compiling
=$ac_cv_prog_cc_cross
9677 echo "$ac_t""$wx_cv_cpp_bool" 1>&6
9679 if test "$wx_cv_cpp_bool" = "yes"; then
9680 cat >> confdefs.h
<<\EOF
9688 echo $ac_n "checking if you need GNU extensions""... $ac_c" 1>&6
9689 echo "configure:9690: checking if you need GNU extensions" >&5
9690 if eval "test \"`echo '$''{'wx_cv_gnu_extensions'+set}'`\" = set"; then
9691 echo $ac_n "(cached) $ac_c" 1>&6
9694 cat > conftest.
$ac_ext <<EOF
9695 #line 9696 "configure"
9696 #include "confdefs.h"
9697 #include <features.h>
9701 #ifndef __GNU_LIBRARY__
9702 Compile error wanted
9708 if { (eval echo configure
:9709: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9710 wx_cv_gnu_extensions
=yes
9712 echo "configure: failed program was:" >&5
9713 cat conftest.
$ac_ext >&5
9715 wx_cv_gnu_extensions
=no
9722 echo "$ac_t""$wx_cv_gnu_extensions" 1>&6
9723 if test "$wx_cv_gnu_extensions" = "yes"; then
9724 cat >> confdefs.h
<<EOF
9725 #define _GNU_SOURCE 1
9732 echo $ac_n "checking for wcslen in -lc""... $ac_c" 1>&6
9733 echo "configure:9734: checking for wcslen in -lc" >&5
9734 ac_lib_var
=`echo c'_'wcslen | sed 'y%./+-%__p_%'`
9735 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9736 echo $ac_n "(cached) $ac_c" 1>&6
9738 ac_save_LIBS
="$LIBS"
9740 cat > conftest.
$ac_ext <<EOF
9741 #line 9742 "configure"
9742 #include "confdefs.h"
9743 /* Override any gcc2 internal prototype to avoid an error. */
9744 /* We use char because int might match the return type of a gcc2
9745 builtin and then its argument prototype would still apply. */
9752 if { (eval echo configure
:9753: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9754 eval "ac_cv_lib_$ac_lib_var=yes"
9756 echo "configure: failed program was:" >&5
9757 cat conftest.
$ac_ext >&5
9759 eval "ac_cv_lib_$ac_lib_var=no"
9762 LIBS
="$ac_save_LIBS"
9765 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9766 echo "$ac_t""yes" 1>&6
9768 cat >> confdefs.h
<<\EOF
9769 #define HAVE_WCSLEN 1
9775 echo "$ac_t""no" 1>&6
9777 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
9778 echo "configure:9779: checking for wcslen in -lw" >&5
9779 ac_lib_var
=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
9780 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9781 echo $ac_n "(cached) $ac_c" 1>&6
9783 ac_save_LIBS
="$LIBS"
9785 cat > conftest.
$ac_ext <<EOF
9786 #line 9787 "configure"
9787 #include "confdefs.h"
9788 /* Override any gcc2 internal prototype to avoid an error. */
9789 /* We use char because int might match the return type of a gcc2
9790 builtin and then its argument prototype would still apply. */
9797 if { (eval echo configure
:9798: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9799 eval "ac_cv_lib_$ac_lib_var=yes"
9801 echo "configure: failed program was:" >&5
9802 cat conftest.
$ac_ext >&5
9804 eval "ac_cv_lib_$ac_lib_var=no"
9807 LIBS
="$ac_save_LIBS"
9810 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9811 echo "$ac_t""yes" 1>&6
9813 cat >> confdefs.h
<<\EOF
9814 #define HAVE_WCSLEN 1
9820 echo "$ac_t""no" 1>&6
9827 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
9828 echo "configure:9829: checking for vprintf" >&5
9829 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
9830 echo $ac_n "(cached) $ac_c" 1>&6
9832 cat > conftest.
$ac_ext <<EOF
9833 #line 9834 "configure"
9834 #include "confdefs.h"
9835 /* System header to define __stub macros and hopefully few prototypes,
9836 which can conflict with char vprintf(); below. */
9838 /* Override any gcc2 internal prototype to avoid an error. */
9839 /* We use char because int might match the return type of a gcc2
9840 builtin and then its argument prototype would still apply. */
9846 /* The GNU C library defines this for functions which it implements
9847 to always fail with ENOSYS. Some functions are actually named
9848 something starting with __ and the normal name is an alias. */
9849 #if defined (__stub_vprintf) || defined (__stub___vprintf)
9857 if { (eval echo configure
:9858: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9859 eval "ac_cv_func_vprintf=yes"
9861 echo "configure: failed program was:" >&5
9862 cat conftest.
$ac_ext >&5
9864 eval "ac_cv_func_vprintf=no"
9869 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
9870 echo "$ac_t""yes" 1>&6
9871 cat >> confdefs.h
<<\EOF
9872 #define HAVE_VPRINTF 1
9876 echo "$ac_t""no" 1>&6
9879 if test "$ac_cv_func_vprintf" != yes; then
9880 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
9881 echo "configure:9882: checking for _doprnt" >&5
9882 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
9883 echo $ac_n "(cached) $ac_c" 1>&6
9885 cat > conftest.
$ac_ext <<EOF
9886 #line 9887 "configure"
9887 #include "confdefs.h"
9888 /* System header to define __stub macros and hopefully few prototypes,
9889 which can conflict with char _doprnt(); below. */
9891 /* Override any gcc2 internal prototype to avoid an error. */
9892 /* We use char because int might match the return type of a gcc2
9893 builtin and then its argument prototype would still apply. */
9899 /* The GNU C library defines this for functions which it implements
9900 to always fail with ENOSYS. Some functions are actually named
9901 something starting with __ and the normal name is an alias. */
9902 #if defined (__stub__doprnt) || defined (__stub____doprnt)
9910 if { (eval echo configure
:9911: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9912 eval "ac_cv_func__doprnt=yes"
9914 echo "configure: failed program was:" >&5
9915 cat conftest.
$ac_ext >&5
9917 eval "ac_cv_func__doprnt=no"
9922 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
9923 echo "$ac_t""yes" 1>&6
9924 cat >> confdefs.h
<<\EOF
9925 #define HAVE_DOPRNT 1
9929 echo "$ac_t""no" 1>&6
9935 for ac_func
in vsnprintf
9937 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9938 echo "configure:9939: checking for $ac_func" >&5
9939 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9940 echo $ac_n "(cached) $ac_c" 1>&6
9942 cat > conftest.
$ac_ext <<EOF
9943 #line 9944 "configure"
9944 #include "confdefs.h"
9945 /* System header to define __stub macros and hopefully few prototypes,
9946 which can conflict with char $ac_func(); below. */
9948 /* Override any gcc2 internal prototype to avoid an error. */
9949 /* We use char because int might match the return type of a gcc2
9950 builtin and then its argument prototype would still apply. */
9956 /* The GNU C library defines this for functions which it implements
9957 to always fail with ENOSYS. Some functions are actually named
9958 something starting with __ and the normal name is an alias. */
9959 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9967 if { (eval echo configure
:9968: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9969 eval "ac_cv_func_$ac_func=yes"
9971 echo "configure: failed program was:" >&5
9972 cat conftest.
$ac_ext >&5
9974 eval "ac_cv_func_$ac_func=no"
9979 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9980 echo "$ac_t""yes" 1>&6
9981 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9982 cat >> confdefs.h
<<EOF
9983 #define $ac_tr_func 1
9985 cat >> confdefs.h
<<\EOF
9986 #define HAVE_VSNPRINTF 1
9990 echo "$ac_t""no" 1>&6
9991 echo "configure: warning: unsafe function sprintf will be used instead of snprintf" 1>&2
9999 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10000 ac_cpp
='$CXXCPP $CPPFLAGS'
10001 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10002 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10003 cross_compiling
=$ac_cv_prog_cxx_cross
10006 echo $ac_n "checking for vsscanf""... $ac_c" 1>&6
10007 echo "configure:10008: checking for vsscanf" >&5
10008 if eval "test \"`echo '$''{'wx_cv_func_vsscanf'+set}'`\" = set"; then
10009 echo $ac_n "(cached) $ac_c" 1>&6
10012 if test "$cross_compiling" = yes; then
10013 wx_cv_func_vsscanf
=no
10016 cat > conftest.
$ac_ext <<EOF
10017 #line 10018 "configure"
10018 #include "confdefs.h"
10020 extern "C" void exit(int);
10024 #include <stdarg.h>
10026 int try_vsscanf(const char *format, ...)
10029 va_start(ap, format);
10031 vsscanf("17", format, ap);
10039 try_vsscanf("%d", &i);
10040 return i == 17 ? 0 : 1;
10044 if { (eval echo configure
:10045: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10047 cat >> confdefs.h
<<\EOF
10048 #define HAVE_VSSCANF 1
10051 wx_cv_func_vsscanf
=yes
10054 echo "configure: failed program was:" >&5
10055 cat conftest.
$ac_ext >&5
10057 wx_cv_func_vsscanf
=no
10065 echo "$ac_t""$wx_cv_func_vsscanf" 1>&6
10068 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10069 ac_cpp
='$CPP $CPPFLAGS'
10070 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10071 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10072 cross_compiling
=$ac_cv_prog_cc_cross
10075 if test "$TOOLKIT" != "MSW"; then
10077 for ac_func
in vfork
10079 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10080 echo "configure:10081: checking for $ac_func" >&5
10081 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10082 echo $ac_n "(cached) $ac_c" 1>&6
10084 cat > conftest.
$ac_ext <<EOF
10085 #line 10086 "configure"
10086 #include "confdefs.h"
10087 /* System header to define __stub macros and hopefully few prototypes,
10088 which can conflict with char $ac_func(); below. */
10089 #include <assert.h>
10090 /* Override any gcc2 internal prototype to avoid an error. */
10091 /* We use char because int might match the return type of a gcc2
10092 builtin and then its argument prototype would still apply. */
10098 /* The GNU C library defines this for functions which it implements
10099 to always fail with ENOSYS. Some functions are actually named
10100 something starting with __ and the normal name is an alias. */
10101 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10109 if { (eval echo configure
:10110: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10111 eval "ac_cv_func_$ac_func=yes"
10113 echo "configure: failed program was:" >&5
10114 cat conftest.
$ac_ext >&5
10116 eval "ac_cv_func_$ac_func=no"
10121 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10122 echo "$ac_t""yes" 1>&6
10123 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10124 cat >> confdefs.h
<<EOF
10125 #define $ac_tr_func 1
10129 echo "$ac_t""no" 1>&6
10134 for ac_func
in timegm
10136 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10137 echo "configure:10138: checking for $ac_func" >&5
10138 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10139 echo $ac_n "(cached) $ac_c" 1>&6
10141 cat > conftest.
$ac_ext <<EOF
10142 #line 10143 "configure"
10143 #include "confdefs.h"
10144 /* System header to define __stub macros and hopefully few prototypes,
10145 which can conflict with char $ac_func(); below. */
10146 #include <assert.h>
10147 /* Override any gcc2 internal prototype to avoid an error. */
10148 /* We use char because int might match the return type of a gcc2
10149 builtin and then its argument prototype would still apply. */
10155 /* The GNU C library defines this for functions which it implements
10156 to always fail with ENOSYS. Some functions are actually named
10157 something starting with __ and the normal name is an alias. */
10158 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10166 if { (eval echo configure
:10167: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10168 eval "ac_cv_func_$ac_func=yes"
10170 echo "configure: failed program was:" >&5
10171 cat conftest.
$ac_ext >&5
10173 eval "ac_cv_func_$ac_func=no"
10178 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10179 echo "$ac_t""yes" 1>&6
10180 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10181 cat >> confdefs.h
<<EOF
10182 #define $ac_tr_func 1
10186 echo "$ac_t""no" 1>&6
10191 HAVE_SOME_SLEEP_FUNC
=0
10192 if test "$USE_BEOS" = 1; then
10193 cat >> confdefs.h
<<\EOF
10194 #define HAVE_SLEEP 1
10197 HAVE_SOME_SLEEP_FUNC
=1
10200 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
10202 for ac_func
in nanosleep
10204 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10205 echo "configure:10206: checking for $ac_func" >&5
10206 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10207 echo $ac_n "(cached) $ac_c" 1>&6
10209 cat > conftest.
$ac_ext <<EOF
10210 #line 10211 "configure"
10211 #include "confdefs.h"
10212 /* System header to define __stub macros and hopefully few prototypes,
10213 which can conflict with char $ac_func(); below. */
10214 #include <assert.h>
10215 /* Override any gcc2 internal prototype to avoid an error. */
10216 /* We use char because int might match the return type of a gcc2
10217 builtin and then its argument prototype would still apply. */
10223 /* The GNU C library defines this for functions which it implements
10224 to always fail with ENOSYS. Some functions are actually named
10225 something starting with __ and the normal name is an alias. */
10226 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10234 if { (eval echo configure
:10235: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10236 eval "ac_cv_func_$ac_func=yes"
10238 echo "configure: failed program was:" >&5
10239 cat conftest.
$ac_ext >&5
10241 eval "ac_cv_func_$ac_func=no"
10246 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10247 echo "$ac_t""yes" 1>&6
10248 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10249 cat >> confdefs.h
<<EOF
10250 #define $ac_tr_func 1
10252 cat >> confdefs.h
<<\EOF
10253 #define HAVE_NANOSLEEP 1
10257 echo "$ac_t""no" 1>&6
10258 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
10259 echo "configure:10260: checking for nanosleep in -lposix4" >&5
10260 ac_lib_var
=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
10261 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10262 echo $ac_n "(cached) $ac_c" 1>&6
10264 ac_save_LIBS
="$LIBS"
10265 LIBS
="-lposix4 $LIBS"
10266 cat > conftest.
$ac_ext <<EOF
10267 #line 10268 "configure"
10268 #include "confdefs.h"
10269 /* Override any gcc2 internal prototype to avoid an error. */
10270 /* We use char because int might match the return type of a gcc2
10271 builtin and then its argument prototype would still apply. */
10278 if { (eval echo configure
:10279: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10280 eval "ac_cv_lib_$ac_lib_var=yes"
10282 echo "configure: failed program was:" >&5
10283 cat conftest.
$ac_ext >&5
10285 eval "ac_cv_lib_$ac_lib_var=no"
10288 LIBS
="$ac_save_LIBS"
10291 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10292 echo "$ac_t""yes" 1>&6
10294 cat >> confdefs.h
<<\EOF
10295 #define HAVE_NANOSLEEP 1
10298 POSIX4_LINK
="-lposix4"
10301 echo "$ac_t""no" 1>&6
10303 for ac_func
in usleep
10305 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10306 echo "configure:10307: checking for $ac_func" >&5
10307 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10308 echo $ac_n "(cached) $ac_c" 1>&6
10310 cat > conftest.
$ac_ext <<EOF
10311 #line 10312 "configure"
10312 #include "confdefs.h"
10313 /* System header to define __stub macros and hopefully few prototypes,
10314 which can conflict with char $ac_func(); below. */
10315 #include <assert.h>
10316 /* Override any gcc2 internal prototype to avoid an error. */
10317 /* We use char because int might match the return type of a gcc2
10318 builtin and then its argument prototype would still apply. */
10324 /* The GNU C library defines this for functions which it implements
10325 to always fail with ENOSYS. Some functions are actually named
10326 something starting with __ and the normal name is an alias. */
10327 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10335 if { (eval echo configure
:10336: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10337 eval "ac_cv_func_$ac_func=yes"
10339 echo "configure: failed program was:" >&5
10340 cat conftest.
$ac_ext >&5
10342 eval "ac_cv_func_$ac_func=no"
10347 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10348 echo "$ac_t""yes" 1>&6
10349 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10350 cat >> confdefs.h
<<EOF
10351 #define $ac_tr_func 1
10355 echo "$ac_t""no" 1>&6
10359 echo "configure: warning: wxSleep() function will not work" 1>&2
10371 for ac_func
in uname gethostname
10373 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10374 echo "configure:10375: checking for $ac_func" >&5
10375 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10376 echo $ac_n "(cached) $ac_c" 1>&6
10378 cat > conftest.
$ac_ext <<EOF
10379 #line 10380 "configure"
10380 #include "confdefs.h"
10381 /* System header to define __stub macros and hopefully few prototypes,
10382 which can conflict with char $ac_func(); below. */
10383 #include <assert.h>
10384 /* Override any gcc2 internal prototype to avoid an error. */
10385 /* We use char because int might match the return type of a gcc2
10386 builtin and then its argument prototype would still apply. */
10392 /* The GNU C library defines this for functions which it implements
10393 to always fail with ENOSYS. Some functions are actually named
10394 something starting with __ and the normal name is an alias. */
10395 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10403 if { (eval echo configure
:10404: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10405 eval "ac_cv_func_$ac_func=yes"
10407 echo "configure: failed program was:" >&5
10408 cat conftest.
$ac_ext >&5
10410 eval "ac_cv_func_$ac_func=no"
10415 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10416 echo "$ac_t""yes" 1>&6
10417 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10418 cat >> confdefs.h
<<EOF
10419 #define $ac_tr_func 1
10423 echo "$ac_t""no" 1>&6
10428 for ac_func
in strtok_r
10430 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10431 echo "configure:10432: checking for $ac_func" >&5
10432 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10433 echo $ac_n "(cached) $ac_c" 1>&6
10435 cat > conftest.
$ac_ext <<EOF
10436 #line 10437 "configure"
10437 #include "confdefs.h"
10438 /* System header to define __stub macros and hopefully few prototypes,
10439 which can conflict with char $ac_func(); below. */
10440 #include <assert.h>
10441 /* Override any gcc2 internal prototype to avoid an error. */
10442 /* We use char because int might match the return type of a gcc2
10443 builtin and then its argument prototype would still apply. */
10449 /* The GNU C library defines this for functions which it implements
10450 to always fail with ENOSYS. Some functions are actually named
10451 something starting with __ and the normal name is an alias. */
10452 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10460 if { (eval echo configure
:10461: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10462 eval "ac_cv_func_$ac_func=yes"
10464 echo "configure: failed program was:" >&5
10465 cat conftest.
$ac_ext >&5
10467 eval "ac_cv_func_$ac_func=no"
10472 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10473 echo "$ac_t""yes" 1>&6
10474 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10475 cat >> confdefs.h
<<EOF
10476 #define $ac_tr_func 1
10480 echo "$ac_t""no" 1>&6
10486 for ac_func
in inet_addr
10488 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10489 echo "configure:10490: checking for $ac_func" >&5
10490 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10491 echo $ac_n "(cached) $ac_c" 1>&6
10493 cat > conftest.
$ac_ext <<EOF
10494 #line 10495 "configure"
10495 #include "confdefs.h"
10496 /* System header to define __stub macros and hopefully few prototypes,
10497 which can conflict with char $ac_func(); below. */
10498 #include <assert.h>
10499 /* Override any gcc2 internal prototype to avoid an error. */
10500 /* We use char because int might match the return type of a gcc2
10501 builtin and then its argument prototype would still apply. */
10507 /* The GNU C library defines this for functions which it implements
10508 to always fail with ENOSYS. Some functions are actually named
10509 something starting with __ and the normal name is an alias. */
10510 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10518 if { (eval echo configure
:10519: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10520 eval "ac_cv_func_$ac_func=yes"
10522 echo "configure: failed program was:" >&5
10523 cat conftest.
$ac_ext >&5
10525 eval "ac_cv_func_$ac_func=no"
10530 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10531 echo "$ac_t""yes" 1>&6
10532 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10533 cat >> confdefs.h
<<EOF
10534 #define $ac_tr_func 1
10536 cat >> confdefs.h
<<\EOF
10537 #define HAVE_INET_ADDR 1
10541 echo "$ac_t""no" 1>&6
10542 echo $ac_n "checking for inet_addr in -lnsl""... $ac_c" 1>&6
10543 echo "configure:10544: checking for inet_addr in -lnsl" >&5
10544 ac_lib_var
=`echo nsl'_'inet_addr | sed 'y%./+-%__p_%'`
10545 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10546 echo $ac_n "(cached) $ac_c" 1>&6
10548 ac_save_LIBS
="$LIBS"
10550 cat > conftest.
$ac_ext <<EOF
10551 #line 10552 "configure"
10552 #include "confdefs.h"
10553 /* Override any gcc2 internal prototype to avoid an error. */
10554 /* We use char because int might match the return type of a gcc2
10555 builtin and then its argument prototype would still apply. */
10562 if { (eval echo configure
:10563: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10564 eval "ac_cv_lib_$ac_lib_var=yes"
10566 echo "configure: failed program was:" >&5
10567 cat conftest.
$ac_ext >&5
10569 eval "ac_cv_lib_$ac_lib_var=no"
10572 LIBS
="$ac_save_LIBS"
10575 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10576 echo "$ac_t""yes" 1>&6
10579 echo "$ac_t""no" 1>&6
10580 echo $ac_n "checking for inet_addr in -lresolv""... $ac_c" 1>&6
10581 echo "configure:10582: checking for inet_addr in -lresolv" >&5
10582 ac_lib_var
=`echo resolv'_'inet_addr | sed 'y%./+-%__p_%'`
10583 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10584 echo $ac_n "(cached) $ac_c" 1>&6
10586 ac_save_LIBS
="$LIBS"
10587 LIBS
="-lresolv $LIBS"
10588 cat > conftest.
$ac_ext <<EOF
10589 #line 10590 "configure"
10590 #include "confdefs.h"
10591 /* Override any gcc2 internal prototype to avoid an error. */
10592 /* We use char because int might match the return type of a gcc2
10593 builtin and then its argument prototype would still apply. */
10600 if { (eval echo configure
:10601: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10602 eval "ac_cv_lib_$ac_lib_var=yes"
10604 echo "configure: failed program was:" >&5
10605 cat conftest.
$ac_ext >&5
10607 eval "ac_cv_lib_$ac_lib_var=no"
10610 LIBS
="$ac_save_LIBS"
10613 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10614 echo "$ac_t""yes" 1>&6
10618 echo "$ac_t""no" 1>&6
10630 for ac_func
in inet_aton
10632 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10633 echo "configure:10634: checking for $ac_func" >&5
10634 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10635 echo $ac_n "(cached) $ac_c" 1>&6
10637 cat > conftest.
$ac_ext <<EOF
10638 #line 10639 "configure"
10639 #include "confdefs.h"
10640 /* System header to define __stub macros and hopefully few prototypes,
10641 which can conflict with char $ac_func(); below. */
10642 #include <assert.h>
10643 /* Override any gcc2 internal prototype to avoid an error. */
10644 /* We use char because int might match the return type of a gcc2
10645 builtin and then its argument prototype would still apply. */
10651 /* The GNU C library defines this for functions which it implements
10652 to always fail with ENOSYS. Some functions are actually named
10653 something starting with __ and the normal name is an alias. */
10654 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10662 if { (eval echo configure
:10663: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10664 eval "ac_cv_func_$ac_func=yes"
10666 echo "configure: failed program was:" >&5
10667 cat conftest.
$ac_ext >&5
10669 eval "ac_cv_func_$ac_func=no"
10674 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10675 echo "$ac_t""yes" 1>&6
10676 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10677 cat >> confdefs.h
<<EOF
10678 #define $ac_tr_func 1
10680 cat >> confdefs.h
<<\EOF
10681 #define HAVE_INET_ATON 1
10685 echo "$ac_t""no" 1>&6
10686 echo $ac_n "checking for inet_aton in -l$INET_LINK""... $ac_c" 1>&6
10687 echo "configure:10688: checking for inet_aton in -l$INET_LINK" >&5
10688 ac_lib_var
=`echo $INET_LINK'_'inet_aton | sed 'y%./+-%__p_%'`
10689 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10690 echo $ac_n "(cached) $ac_c" 1>&6
10692 ac_save_LIBS
="$LIBS"
10693 LIBS
="-l$INET_LINK $LIBS"
10694 cat > conftest.
$ac_ext <<EOF
10695 #line 10696 "configure"
10696 #include "confdefs.h"
10697 /* Override any gcc2 internal prototype to avoid an error. */
10698 /* We use char because int might match the return type of a gcc2
10699 builtin and then its argument prototype would still apply. */
10706 if { (eval echo configure
:10707: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10708 eval "ac_cv_lib_$ac_lib_var=yes"
10710 echo "configure: failed program was:" >&5
10711 cat conftest.
$ac_ext >&5
10713 eval "ac_cv_lib_$ac_lib_var=no"
10716 LIBS
="$ac_save_LIBS"
10719 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10720 echo "$ac_t""yes" 1>&6
10721 cat >> confdefs.h
<<\EOF
10722 #define HAVE_INET_ATON 1
10726 echo "$ac_t""no" 1>&6
10734 if test "x$INET_LINK" != "x"; then
10735 cat >> confdefs.h
<<\EOF
10736 #define HAVE_INET_ADDR 1
10739 INET_LINK
="-l$INET_LINK"
10745 cat > confcache
<<\EOF
10746 # This file is a shell script that caches the results of configure
10747 # tests run on this system so they can be shared between configure
10748 # scripts and configure runs. It is not useful on other systems.
10749 # If it contains results you don't want to keep, you may remove or edit it.
10751 # By default, configure uses ./config.cache as the cache file,
10752 # creating it if it does not exist already. You can give configure
10753 # the --cache-file=FILE option to use a different cache file; that is
10754 # what configure does when it calls configure scripts in
10755 # subdirectories, so they share the cache.
10756 # Giving --cache-file=/dev/null disables caching, for debugging configure.
10757 # config.status only pays attention to the cache file if you give it the
10758 # --recheck option to rerun configure.
10761 # The following way of writing the cache mishandles newlines in values,
10762 # but we know of no workaround that is simple, portable, and efficient.
10763 # So, don't put newlines in cache variables' values.
10764 # Ultrix sh set writes to stderr and can't be redirected directly,
10765 # and sets the high bit in the cache file unless we assign to the vars.
10767 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10769 # `set' does not quote correctly, so add quotes (double-quote substitution
10770 # turns \\\\ into \\, and sed turns \\ into \).
10772 -e "s/'/'\\\\''/g" \
10773 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
10776 # `set' quotes correctly as required by POSIX, so do not add quotes.
10777 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
10780 if cmp -s $cache_file confcache
; then
10783 if test -w $cache_file; then
10784 echo "updating cache $cache_file"
10785 cat confcache
> $cache_file
10787 echo "not updating unwritable cache $cache_file"
10794 if test "$TOOLKIT" != "MSW"; then
10800 if test "$wxUSE_THREADS" = "yes" ; then
10801 if test "$wxUSE_WINE" = 1 ; then
10802 echo "configure: warning: Threads are not supported under WINE" 1>&2
10804 elif test "$USE_BEOS" = 1; then
10805 echo "configure: warning: BeOS threads are not yet supported" 1>&2
10810 if test "$wxUSE_THREADS" = "yes" ; then
10812 echo $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6
10813 echo "configure:10814: checking for pthread_create in -lpthread" >&5
10814 ac_lib_var
=`echo pthread'_'pthread_create | sed 'y%./+-%__p_%'`
10815 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10816 echo $ac_n "(cached) $ac_c" 1>&6
10818 ac_save_LIBS
="$LIBS"
10819 LIBS
="-lpthread $LIBS"
10820 cat > conftest.
$ac_ext <<EOF
10821 #line 10822 "configure"
10822 #include "confdefs.h"
10823 /* Override any gcc2 internal prototype to avoid an error. */
10824 /* We use char because int might match the return type of a gcc2
10825 builtin and then its argument prototype would still apply. */
10826 char pthread_create();
10832 if { (eval echo configure
:10833: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10834 eval "ac_cv_lib_$ac_lib_var=yes"
10836 echo "configure: failed program was:" >&5
10837 cat conftest.
$ac_ext >&5
10839 eval "ac_cv_lib_$ac_lib_var=no"
10842 LIBS
="$ac_save_LIBS"
10845 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10846 echo "$ac_t""yes" 1>&6
10848 THREADS_OBJ
="threadpsx.lo"
10849 THREADS_LINK
="pthread"
10852 echo "$ac_t""no" 1>&6
10854 echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
10855 echo "configure:10856: checking for pthread_create in -lc_r" >&5
10856 ac_lib_var
=`echo c_r'_'pthread_create | sed 'y%./+-%__p_%'`
10857 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10858 echo $ac_n "(cached) $ac_c" 1>&6
10860 ac_save_LIBS
="$LIBS"
10862 cat > conftest.
$ac_ext <<EOF
10863 #line 10864 "configure"
10864 #include "confdefs.h"
10865 /* Override any gcc2 internal prototype to avoid an error. */
10866 /* We use char because int might match the return type of a gcc2
10867 builtin and then its argument prototype would still apply. */
10868 char pthread_create();
10874 if { (eval echo configure
:10875: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10876 eval "ac_cv_lib_$ac_lib_var=yes"
10878 echo "configure: failed program was:" >&5
10879 cat conftest.
$ac_ext >&5
10881 eval "ac_cv_lib_$ac_lib_var=no"
10884 LIBS
="$ac_save_LIBS"
10887 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10888 echo "$ac_t""yes" 1>&6
10890 THREADS_OBJ
="threadpsx.lo"
10894 echo "$ac_t""no" 1>&6
10896 ac_safe
=`echo "sys/prctl.h" | sed 'y%./+-%__p_%'`
10897 echo $ac_n "checking for sys/prctl.h""... $ac_c" 1>&6
10898 echo "configure:10899: checking for sys/prctl.h" >&5
10899 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10900 echo $ac_n "(cached) $ac_c" 1>&6
10902 cat > conftest.
$ac_ext <<EOF
10903 #line 10904 "configure"
10904 #include "confdefs.h"
10905 #include <sys/prctl.h>
10907 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10908 { (eval echo configure
:10909: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10909 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10910 if test -z "$ac_err"; then
10912 eval "ac_cv_header_$ac_safe=yes"
10915 echo "configure: failed program was:" >&5
10916 cat conftest.
$ac_ext >&5
10918 eval "ac_cv_header_$ac_safe=no"
10922 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10923 echo "$ac_t""yes" 1>&6
10925 THREADS_OBJ
="threadsgi.lo"
10928 echo "$ac_t""no" 1>&6
10938 if test -z "$THREADS_OBJ" ; then
10940 echo "configure: warning: No thread support on this system" 1>&2
10944 if test "$wxUSE_THREADS" = "yes" ; then
10945 for ac_func
in thr_setconcurrency
10947 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10948 echo "configure:10949: checking for $ac_func" >&5
10949 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10950 echo $ac_n "(cached) $ac_c" 1>&6
10952 cat > conftest.
$ac_ext <<EOF
10953 #line 10954 "configure"
10954 #include "confdefs.h"
10955 /* System header to define __stub macros and hopefully few prototypes,
10956 which can conflict with char $ac_func(); below. */
10957 #include <assert.h>
10958 /* Override any gcc2 internal prototype to avoid an error. */
10959 /* We use char because int might match the return type of a gcc2
10960 builtin and then its argument prototype would still apply. */
10966 /* The GNU C library defines this for functions which it implements
10967 to always fail with ENOSYS. Some functions are actually named
10968 something starting with __ and the normal name is an alias. */
10969 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10977 if { (eval echo configure
:10978: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10979 eval "ac_cv_func_$ac_func=yes"
10981 echo "configure: failed program was:" >&5
10982 cat conftest.
$ac_ext >&5
10984 eval "ac_cv_func_$ac_func=no"
10989 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10990 echo "$ac_t""yes" 1>&6
10991 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10992 cat >> confdefs.h
<<EOF
10993 #define $ac_tr_func 1
10997 echo "$ac_t""no" 1>&6
11003 for ac_hdr
in sched.h
11005 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11006 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11007 echo "configure:11008: checking for $ac_hdr" >&5
11008 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11009 echo $ac_n "(cached) $ac_c" 1>&6
11011 cat > conftest.
$ac_ext <<EOF
11012 #line 11013 "configure"
11013 #include "confdefs.h"
11016 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11017 { (eval echo configure
:11018: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11018 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11019 if test -z "$ac_err"; then
11021 eval "ac_cv_header_$ac_safe=yes"
11024 echo "configure: failed program was:" >&5
11025 cat conftest.
$ac_ext >&5
11027 eval "ac_cv_header_$ac_safe=no"
11031 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11032 echo "$ac_t""yes" 1>&6
11033 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11034 cat >> confdefs.h
<<EOF
11035 #define $ac_tr_hdr 1
11039 echo "$ac_t""no" 1>&6
11044 echo $ac_n "checking for sched_yield in -l$THREADS_LINK""... $ac_c" 1>&6
11045 echo "configure:11046: checking for sched_yield in -l$THREADS_LINK" >&5
11046 ac_lib_var
=`echo $THREADS_LINK'_'sched_yield | sed 'y%./+-%__p_%'`
11047 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11048 echo $ac_n "(cached) $ac_c" 1>&6
11050 ac_save_LIBS
="$LIBS"
11051 LIBS
="-l$THREADS_LINK $LIBS"
11052 cat > conftest.
$ac_ext <<EOF
11053 #line 11054 "configure"
11054 #include "confdefs.h"
11055 /* Override any gcc2 internal prototype to avoid an error. */
11056 /* We use char because int might match the return type of a gcc2
11057 builtin and then its argument prototype would still apply. */
11058 char sched_yield();
11064 if { (eval echo configure
:11065: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11066 eval "ac_cv_lib_$ac_lib_var=yes"
11068 echo "configure: failed program was:" >&5
11069 cat conftest.
$ac_ext >&5
11071 eval "ac_cv_lib_$ac_lib_var=no"
11074 LIBS
="$ac_save_LIBS"
11077 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11078 echo "$ac_t""yes" 1>&6
11079 cat >> confdefs.h
<<\EOF
11080 #define HAVE_SCHED_YIELD 1
11084 echo "$ac_t""no" 1>&6
11085 echo $ac_n "checking for sched_yield in -l"posix4
"""... $ac_c" 1>&6
11086 echo "configure:11087: checking for sched_yield in -l"posix4
"" >&5
11087 ac_lib_var
=`echo "posix4"'_'sched_yield | sed 'y%./+-%__p_%'`
11088 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11089 echo $ac_n "(cached) $ac_c" 1>&6
11091 ac_save_LIBS
="$LIBS"
11092 LIBS
="-l"posix4
" $LIBS"
11093 cat > conftest.
$ac_ext <<EOF
11094 #line 11095 "configure"
11095 #include "confdefs.h"
11096 /* Override any gcc2 internal prototype to avoid an error. */
11097 /* We use char because int might match the return type of a gcc2
11098 builtin and then its argument prototype would still apply. */
11099 char sched_yield();
11105 if { (eval echo configure
:11106: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11107 eval "ac_cv_lib_$ac_lib_var=yes"
11109 echo "configure: failed program was:" >&5
11110 cat conftest.
$ac_ext >&5
11112 eval "ac_cv_lib_$ac_lib_var=no"
11115 LIBS
="$ac_save_LIBS"
11118 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11119 echo "$ac_t""yes" 1>&6
11120 cat >> confdefs.h
<<\EOF
11121 #define HAVE_SCHED_YIELD 1
11123 POSIX4_LINK
="-lposix4"
11125 echo "$ac_t""no" 1>&6
11126 echo "configure: warning: wxThread::Yield will not work properly" 1>&2
11134 echo $ac_n "checking for pthread_attr_getschedpolicy in -l$THREADS_LINK""... $ac_c" 1>&6
11135 echo "configure:11136: checking for pthread_attr_getschedpolicy in -l$THREADS_LINK" >&5
11136 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
11137 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11138 echo $ac_n "(cached) $ac_c" 1>&6
11140 ac_save_LIBS
="$LIBS"
11141 LIBS
="-l$THREADS_LINK $LIBS"
11142 cat > conftest.
$ac_ext <<EOF
11143 #line 11144 "configure"
11144 #include "confdefs.h"
11145 /* Override any gcc2 internal prototype to avoid an error. */
11146 /* We use char because int might match the return type of a gcc2
11147 builtin and then its argument prototype would still apply. */
11148 char pthread_attr_getschedpolicy();
11151 pthread_attr_getschedpolicy()
11154 if { (eval echo configure
:11155: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11156 eval "ac_cv_lib_$ac_lib_var=yes"
11158 echo "configure: failed program was:" >&5
11159 cat conftest.
$ac_ext >&5
11161 eval "ac_cv_lib_$ac_lib_var=no"
11164 LIBS
="$ac_save_LIBS"
11167 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11168 echo "$ac_t""yes" 1>&6
11169 cat >> confdefs.h
<<\EOF
11170 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
11174 echo "$ac_t""no" 1>&6
11175 echo $ac_n "checking for pthread_attr_getschedpolicy in -l"posix4
"""... $ac_c" 1>&6
11176 echo "configure:11177: checking for pthread_attr_getschedpolicy in -l"posix4
"" >&5
11177 ac_lib_var
=`echo "posix4"'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
11178 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11179 echo $ac_n "(cached) $ac_c" 1>&6
11181 ac_save_LIBS
="$LIBS"
11182 LIBS
="-l"posix4
" $LIBS"
11183 cat > conftest.
$ac_ext <<EOF
11184 #line 11185 "configure"
11185 #include "confdefs.h"
11186 /* Override any gcc2 internal prototype to avoid an error. */
11187 /* We use char because int might match the return type of a gcc2
11188 builtin and then its argument prototype would still apply. */
11189 char pthread_attr_getschedpolicy();
11192 pthread_attr_getschedpolicy()
11195 if { (eval echo configure
:11196: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11197 eval "ac_cv_lib_$ac_lib_var=yes"
11199 echo "configure: failed program was:" >&5
11200 cat conftest.
$ac_ext >&5
11202 eval "ac_cv_lib_$ac_lib_var=no"
11205 LIBS
="$ac_save_LIBS"
11208 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11209 echo "$ac_t""yes" 1>&6
11210 cat >> confdefs.h
<<\EOF
11211 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
11213 POSIX4_LINK
="-lposix4"
11215 echo "$ac_t""no" 1>&6
11216 echo "configure: warning: Setting thread priority will not work" 1>&2
11224 echo $ac_n "checking for pthread_cancel in -l$THREADS_LINK""... $ac_c" 1>&6
11225 echo "configure:11226: checking for pthread_cancel in -l$THREADS_LINK" >&5
11226 ac_lib_var
=`echo $THREADS_LINK'_'pthread_cancel | sed 'y%./+-%__p_%'`
11227 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11228 echo $ac_n "(cached) $ac_c" 1>&6
11230 ac_save_LIBS
="$LIBS"
11231 LIBS
="-l$THREADS_LINK $LIBS"
11232 cat > conftest.
$ac_ext <<EOF
11233 #line 11234 "configure"
11234 #include "confdefs.h"
11235 /* Override any gcc2 internal prototype to avoid an error. */
11236 /* We use char because int might match the return type of a gcc2
11237 builtin and then its argument prototype would still apply. */
11238 char pthread_cancel();
11244 if { (eval echo configure
:11245: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11246 eval "ac_cv_lib_$ac_lib_var=yes"
11248 echo "configure: failed program was:" >&5
11249 cat conftest.
$ac_ext >&5
11251 eval "ac_cv_lib_$ac_lib_var=no"
11254 LIBS
="$ac_save_LIBS"
11257 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11258 echo "$ac_t""yes" 1>&6
11259 cat >> confdefs.h
<<\EOF
11260 #define HAVE_PTHREAD_CANCEL 1
11264 echo "$ac_t""no" 1>&6
11265 echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
11269 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
11270 echo "configure:11271: checking for pthread_cleanup_push/pop" >&5
11271 if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
11272 echo $ac_n "(cached) $ac_c" 1>&6
11275 cat > conftest.
$ac_ext <<EOF
11276 #line 11277 "configure"
11277 #include "confdefs.h"
11278 #include <pthread.h>
11281 pthread_cleanup_push(NULL, NULL);
11282 pthread_cleanup_pop(0);
11286 if { (eval echo configure
:11287: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11289 wx_cv_func_pthread_cleanup_push
=yes
11290 cat >> confdefs.h
<<\EOF
11291 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
11296 echo "configure: failed program was:" >&5
11297 cat conftest.
$ac_ext >&5
11300 wx_cv_func_pthread_cleanup_push
=no
11307 echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
11309 THREADS_LINK
="-l$THREADS_LINK"
11314 if test "$wxUSE_THREADS" = "yes"; then
11315 cat >> confdefs.h
<<\EOF
11316 #define wxUSE_THREADS 1
11320 CFLAGS
="${CFLAGS} -D_REENTRANT"
11321 CXXFLAGS
="${CXXFLAGS} -D_REENTRANT"
11323 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
11325 if test "$ac_cv_func_strtok_r" = "yes"; then
11326 echo $ac_n "checking if -D_REENTRANT is needed""... $ac_c" 1>&6
11327 echo "configure:11328: checking if -D_REENTRANT is needed" >&5
11328 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
11329 CFLAGS
="${CFLAGS} -D_REENTRANT"
11330 CXXFLAGS
="${CXXFLAGS} -D_REENTRANT"
11331 echo "$ac_t""yes" 1>&6
11333 echo "$ac_t""no" 1>&6
11338 if test "$WXGTK13" = 1 ; then
11339 cat >> confdefs.h
<<EOF
11340 #define __WXGTK13__ $WXGTK13
11346 if test "$WXGTK12" = 1 ; then
11347 cat >> confdefs.h
<<EOF
11348 #define __WXGTK12__ $WXGTK12
11353 if test "$WXWINE" = 1 ; then
11354 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WXWINE__"
11357 if test "$wxUSE_CYGWIN" = 1 ; then
11358 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WIN95__"
11363 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
11368 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
11369 wxUSE_DEBUG_INFO
=yes
11373 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
11374 cat >> confdefs.h
<<\EOF
11378 WXDEBUG_DEFINE
="-D__WXDEBUG__"
11380 if test "$wxUSE_GTK" = 1 ; then
11381 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
11385 if test "$wxUSE_MEM_TRACING" = "yes" ; then
11386 cat >> confdefs.h
<<\EOF
11387 #define wxUSE_MEMORY_TRACING 1
11390 cat >> confdefs.h
<<\EOF
11391 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
11394 cat >> confdefs.h
<<\EOF
11395 #define wxUSE_DEBUG_NEW_ALWAYS 1
11398 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
11401 if test "$wxUSE_DMALLOC" = "yes" ; then
11402 DMALLOC_LINK
="-ldmalloc"
11406 if test "$wxUSE_PROFILE" = "yes" ; then
11412 if test "$GCC" = yes ; then
11413 if test "$wxUSE_NO_RTTI" = "yes" ; then
11414 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fno-rtti"
11416 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
11417 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fno-exceptions"
11419 if test "$wxUSE_PERMISSIVE" = "yes" ; then
11420 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
11422 if test "$wxUSE_NO_DEPS" = "no" ; then
11423 DEP_INFO_FLAGS
="-MMD"
11428 CXXFLAGS
=`echo "${CXXFLAGS}" | sed "s/\-O.//g" `
11429 CFLAGS
=`echo "${CFLAGS}" | sed "s/\-O.//g" `
11430 if test "$wxUSE_OPTIMISE" = "no" ; then
11433 if test "$GCC" = yes ; then
11436 i586
-*-*|i686
-*-* )
11437 OPTIMISE
="${OPTIMISE} "
11447 if test "$wxUSE_ZLIB" = "yes" ; then
11448 cat >> confdefs.h
<<\EOF
11449 #define wxUSE_ZLIB 1
11452 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
11456 if test "$wxUSE_LIBPNG" = "yes" ; then
11457 cat >> confdefs.h
<<\EOF
11458 #define wxUSE_LIBPNG 1
11461 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
11462 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
11466 if test "$wxUSE_LIBJPEG" = "yes" ; then
11467 cat >> confdefs.h
<<\EOF
11468 #define wxUSE_LIBJPEG 1
11471 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
11475 if test "$wxUSE_LIBTIFF" = "yes" ; then
11476 cat >> confdefs.h
<<\EOF
11477 #define wxUSE_LIBTIFF 1
11480 TIFF_INCLUDE
="-I\${top_srcdir}/src/tiff"
11483 if test "$wxUSE_OPENGL" = "yes"; then
11484 ac_safe
=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
11485 echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
11486 echo "configure:11487: checking for GL/gl.h" >&5
11487 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11488 echo $ac_n "(cached) $ac_c" 1>&6
11490 cat > conftest.
$ac_ext <<EOF
11491 #line 11492 "configure"
11492 #include "confdefs.h"
11495 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11496 { (eval echo configure
:11497: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11497 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11498 if test -z "$ac_err"; then
11500 eval "ac_cv_header_$ac_safe=yes"
11503 echo "configure: failed program was:" >&5
11504 cat conftest.
$ac_ext >&5
11506 eval "ac_cv_header_$ac_safe=no"
11510 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11511 echo "$ac_t""yes" 1>&6
11513 echo $ac_n "checking for glInitNames in -lGL""... $ac_c" 1>&6
11514 echo "configure:11515: checking for glInitNames in -lGL" >&5
11515 ac_lib_var
=`echo GL'_'glInitNames | sed 'y%./+-%__p_%'`
11516 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11517 echo $ac_n "(cached) $ac_c" 1>&6
11519 ac_save_LIBS
="$LIBS"
11520 LIBS
="-lGL wxUSE_OPENGL=0 $LIBS"
11521 cat > conftest.
$ac_ext <<EOF
11522 #line 11523 "configure"
11523 #include "confdefs.h"
11524 /* Override any gcc2 internal prototype to avoid an error. */
11525 /* We use char because int might match the return type of a gcc2
11526 builtin and then its argument prototype would still apply. */
11527 char glInitNames();
11533 if { (eval echo configure
:11534: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11535 eval "ac_cv_lib_$ac_lib_var=yes"
11537 echo "configure: failed program was:" >&5
11538 cat conftest.
$ac_ext >&5
11540 eval "ac_cv_lib_$ac_lib_var=no"
11543 LIBS
="$ac_save_LIBS"
11546 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11547 echo "$ac_t""yes" 1>&6
11550 cat >> confdefs.h
<<\EOF
11551 #define wxUSE_OPENGL 1
11554 UTILS_SUBDIRS
="$UTILS_SUBDIRS glcanvas/src"
11557 echo "$ac_t""no" 1>&6
11559 echo $ac_n "checking for glInitNames in -lMesaGL""... $ac_c" 1>&6
11560 echo "configure:11561: checking for glInitNames in -lMesaGL" >&5
11561 ac_lib_var
=`echo MesaGL'_'glInitNames | sed 'y%./+-%__p_%'`
11562 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11563 echo $ac_n "(cached) $ac_c" 1>&6
11565 ac_save_LIBS
="$LIBS"
11566 LIBS
="-lMesaGL $LIBS"
11567 cat > conftest.
$ac_ext <<EOF
11568 #line 11569 "configure"
11569 #include "confdefs.h"
11570 /* Override any gcc2 internal prototype to avoid an error. */
11571 /* We use char because int might match the return type of a gcc2
11572 builtin and then its argument prototype would still apply. */
11573 char glInitNames();
11579 if { (eval echo configure
:11580: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11581 eval "ac_cv_lib_$ac_lib_var=yes"
11583 echo "configure: failed program was:" >&5
11584 cat conftest.
$ac_ext >&5
11586 eval "ac_cv_lib_$ac_lib_var=no"
11589 LIBS
="$ac_save_LIBS"
11592 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11593 echo "$ac_t""yes" 1>&6
11595 OPENGL_LINK
="-lMesaGL"
11596 cat >> confdefs.h
<<\EOF
11597 #define wxUSE_OPENGL 1
11600 UTILS_SUBDIRS
="$UTILS_SUBDIRS glcanvas/src"
11603 echo "$ac_t""no" 1>&6
11612 echo "$ac_t""no" 1>&6
11619 if test "$wxUSE_GUI" = "yes"; then
11620 cat >> confdefs.h
<<\EOF
11621 #define wxUSE_GUI 1
11626 cat >> confdefs.h
<<\EOF
11627 #define wxUSE_NOGUI 1
11633 if test "$wxUSE_UNIX" = "yes"; then
11634 cat >> confdefs.h
<<\EOF
11635 #define wxUSE_UNIX 1
11641 if test "$wxUSE_APPLE_IEEE" = "yes"; then
11642 cat >> confdefs.h
<<\EOF
11643 #define wxUSE_APPLE_IEEE 1
11648 if test "$wxUSE_WAVE" = "yes"; then
11649 cat >> confdefs.h
<<\EOF
11650 #define wxUSE_WAVE 1
11655 if test "$wxUSE_FILE" = "yes"; then
11656 cat >> confdefs.h
<<\EOF
11657 #define wxUSE_FILE 1
11662 if test "$wxUSE_FS_INET" = "yes"; then
11663 cat >> confdefs.h
<<\EOF
11664 #define wxUSE_FS_INET 1
11669 if test "$wxUSE_FS_ZIP" = "yes"; then
11670 cat >> confdefs.h
<<\EOF
11671 #define wxUSE_FS_ZIP 1
11676 if test "$wxUSE_ZIPSTREAM" = "yes"; then
11677 cat >> confdefs.h
<<\EOF
11678 #define wxUSE_ZIPSTREAM 1
11683 if test "$wxUSE_BUSYINFO" = "yes"; then
11684 cat >> confdefs.h
<<\EOF
11685 #define wxUSE_BUSYINFO 1
11690 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
11691 cat >> confdefs.h
<<\EOF
11692 #define wxUSE_STD_IOSTREAM 1
11697 if test "$wxUSE_TEXTFILE" = "yes"; then
11698 if test "$wxUSE_FILE" != "yes"; then
11699 echo "configure: warning: wxTextFile requires wxFile and it won't be compiled without it" 1>&2
11701 cat >> confdefs.h
<<\EOF
11702 #define wxUSE_TEXTFILE 1
11708 if test "$wxUSE_CONFIG" = "yes" ; then
11709 if test "$wxUSE_TEXTFILE" != "yes"; then
11710 echo "configure: warning: wxConfig requires wxTextFile and it won't be compiled without it" 1>&2
11712 cat >> confdefs.h
<<\EOF
11713 #define wxUSE_CONFIG 1
11716 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
11720 if test "$wxUSE_INTL" = "yes" ; then
11721 if test "$wxUSE_FILE" != "yes"; then
11722 echo "configure: warning: I18n code requires wxFile and it won't be compiled without it" 1>&2
11724 cat >> confdefs.h
<<\EOF
11725 #define wxUSE_INTL 1
11728 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
11732 if test "$wxUSE_LOG" = "yes"; then
11733 cat >> confdefs.h
<<\EOF
11734 #define wxUSE_LOG 1
11739 if test "$wxUSE_LONGLONG" = "yes"; then
11740 cat >> confdefs.h
<<\EOF
11741 #define wxUSE_LONGLONG 1
11746 if test "$wxUSE_PLOT" = "yes"; then
11747 cat >> confdefs.h
<<\EOF
11748 #define wxUSE_PLOT 1
11753 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
11754 cat >> confdefs.h
<<\EOF
11755 #define wxUSE_DIALUP_MANAGER 1
11758 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
11761 if test "$wxUSE_STREAMS" = "yes" ; then
11762 cat >> confdefs.h
<<\EOF
11763 #define wxUSE_STREAMS 1
11769 if test "$wxUSE_TIMEDATE" = "yes"; then
11770 for ac_func
in strptime
11772 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11773 echo "configure:11774: checking for $ac_func" >&5
11774 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11775 echo $ac_n "(cached) $ac_c" 1>&6
11777 cat > conftest.
$ac_ext <<EOF
11778 #line 11779 "configure"
11779 #include "confdefs.h"
11780 /* System header to define __stub macros and hopefully few prototypes,
11781 which can conflict with char $ac_func(); below. */
11782 #include <assert.h>
11783 /* Override any gcc2 internal prototype to avoid an error. */
11784 /* We use char because int might match the return type of a gcc2
11785 builtin and then its argument prototype would still apply. */
11791 /* The GNU C library defines this for functions which it implements
11792 to always fail with ENOSYS. Some functions are actually named
11793 something starting with __ and the normal name is an alias. */
11794 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11802 if { (eval echo configure
:11803: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11804 eval "ac_cv_func_$ac_func=yes"
11806 echo "configure: failed program was:" >&5
11807 cat conftest.
$ac_ext >&5
11809 eval "ac_cv_func_$ac_func=no"
11814 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11815 echo "$ac_t""yes" 1>&6
11816 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11817 cat >> confdefs.h
<<EOF
11818 #define $ac_tr_func 1
11822 echo "$ac_t""no" 1>&6
11827 echo $ac_n "checking for timezone variable in <time.h>""... $ac_c" 1>&6
11828 echo "configure:11829: checking for timezone variable in <time.h>" >&5
11829 if eval "test \"`echo '$''{'wx_cv_var_timezone'+set}'`\" = set"; then
11830 echo $ac_n "(cached) $ac_c" 1>&6
11833 cat > conftest.
$ac_ext <<EOF
11834 #line 11835 "configure"
11835 #include "confdefs.h"
11846 if { (eval echo configure
:11847: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11849 wx_cv_var_timezone
=__timezone
11852 echo "configure: failed program was:" >&5
11853 cat conftest.
$ac_ext >&5
11856 cat > conftest.
$ac_ext <<EOF
11857 #line 11858 "configure"
11858 #include "confdefs.h"
11869 if { (eval echo configure
:11870: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11872 wx_cv_var_timezone
=_timezone
11875 echo "configure: failed program was:" >&5
11876 cat conftest.
$ac_ext >&5
11879 cat > conftest.
$ac_ext <<EOF
11880 #line 11881 "configure"
11881 #include "confdefs.h"
11892 if { (eval echo configure
:11893: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11895 wx_cv_var_timezone
=timezone
11898 echo "configure: failed program was:" >&5
11899 cat conftest.
$ac_ext >&5
11901 { echo "configure: error: no timezone variable" 1>&2; exit 1; }
11917 echo "$ac_t""$wx_cv_var_timezone" 1>&6
11919 cat >> confdefs.h
<<EOF
11920 #define WX_TIMEZONE $wx_cv_var_timezone
11924 for ac_func
in localtime
11926 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11927 echo "configure:11928: checking for $ac_func" >&5
11928 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11929 echo $ac_n "(cached) $ac_c" 1>&6
11931 cat > conftest.
$ac_ext <<EOF
11932 #line 11933 "configure"
11933 #include "confdefs.h"
11934 /* System header to define __stub macros and hopefully few prototypes,
11935 which can conflict with char $ac_func(); below. */
11936 #include <assert.h>
11937 /* Override any gcc2 internal prototype to avoid an error. */
11938 /* We use char because int might match the return type of a gcc2
11939 builtin and then its argument prototype would still apply. */
11945 /* The GNU C library defines this for functions which it implements
11946 to always fail with ENOSYS. Some functions are actually named
11947 something starting with __ and the normal name is an alias. */
11948 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11956 if { (eval echo configure
:11957: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11958 eval "ac_cv_func_$ac_func=yes"
11960 echo "configure: failed program was:" >&5
11961 cat conftest.
$ac_ext >&5
11963 eval "ac_cv_func_$ac_func=no"
11968 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11969 echo "$ac_t""yes" 1>&6
11970 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11971 cat >> confdefs.h
<<EOF
11972 #define $ac_tr_func 1
11976 echo "$ac_t""no" 1>&6
11981 if test "$ac_cv_func_localtime" = "yes"; then
11982 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
11983 echo "configure:11984: checking for tm_gmtoff in struct tm" >&5
11984 if eval "test \"`echo '$''{'wx_cv_struct_tm_has_gmtoff'+set}'`\" = set"; then
11985 echo $ac_n "(cached) $ac_c" 1>&6
11988 cat > conftest.
$ac_ext <<EOF
11989 #line 11990 "configure"
11990 #include "confdefs.h"
12001 if { (eval echo configure
:12002: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12004 wx_cv_struct_tm_has_gmtoff
=yes
12005 cat >> confdefs.h
<<\EOF
12006 #define WX_GMTOFF_IN_TM 1
12011 echo "configure: failed program was:" >&5
12012 cat conftest.
$ac_ext >&5
12014 wx_cv_struct_tm_has_gmtoff
=no
12021 echo "$ac_t""$wx_cv_struct_tm_has_gmtoff" 1>&6
12024 for ac_func
in gettimeofday ftime
12026 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12027 echo "configure:12028: checking for $ac_func" >&5
12028 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12029 echo $ac_n "(cached) $ac_c" 1>&6
12031 cat > conftest.
$ac_ext <<EOF
12032 #line 12033 "configure"
12033 #include "confdefs.h"
12034 /* System header to define __stub macros and hopefully few prototypes,
12035 which can conflict with char $ac_func(); below. */
12036 #include <assert.h>
12037 /* Override any gcc2 internal prototype to avoid an error. */
12038 /* We use char because int might match the return type of a gcc2
12039 builtin and then its argument prototype would still apply. */
12045 /* The GNU C library defines this for functions which it implements
12046 to always fail with ENOSYS. Some functions are actually named
12047 something starting with __ and the normal name is an alias. */
12048 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12056 if { (eval echo configure
:12057: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12058 eval "ac_cv_func_$ac_func=yes"
12060 echo "configure: failed program was:" >&5
12061 cat conftest.
$ac_ext >&5
12063 eval "ac_cv_func_$ac_func=no"
12068 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12069 echo "$ac_t""yes" 1>&6
12070 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12071 cat >> confdefs.h
<<EOF
12072 #define $ac_tr_func 1
12076 echo "$ac_t""no" 1>&6
12081 if test "$ac_cv_func_gettimeofday" = "yes"; then
12082 echo $ac_n "checking whether gettimeofday takes two arguments""... $ac_c" 1>&6
12083 echo "configure:12084: checking whether gettimeofday takes two arguments" >&5
12084 if eval "test \"`echo '$''{'wx_cv_func_gettimeofday_has_2_args'+set}'`\" = set"; then
12085 echo $ac_n "(cached) $ac_c" 1>&6
12090 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12091 ac_cpp
='$CXXCPP $CPPFLAGS'
12092 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12093 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12094 cross_compiling
=$ac_cv_prog_cxx_cross
12097 cat > conftest.
$ac_ext <<EOF
12098 #line 12099 "configure"
12099 #include "confdefs.h"
12101 #include <sys/time.h>
12102 #include <unistd.h>
12107 struct timezone tz;
12108 gettimeofday(&tv, &tz);
12112 if { (eval echo configure
:12113: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12114 wx_cv_func_gettimeofday_has_2_args
=yes
12116 echo "configure: failed program was:" >&5
12117 cat conftest.
$ac_ext >&5
12119 cat > conftest.
$ac_ext <<EOF
12120 #line 12121 "configure"
12121 #include "confdefs.h"
12123 #include <sys/time.h>
12124 #include <unistd.h>
12133 if { (eval echo configure
:12134: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12135 wx_cv_func_gettimeofday_has_2_args
=no
12137 echo "configure: failed program was:" >&5
12138 cat conftest.
$ac_ext >&5
12140 wx_cv_func_gettimeofday_has_2_args
=unknown
12148 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12149 ac_cpp
='$CPP $CPPFLAGS'
12150 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12151 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12152 cross_compiling
=$ac_cv_prog_cc_cross
12157 echo "$ac_t""$wx_cv_func_gettimeofday_has_2_args" 1>&6
12159 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
12160 cat >> confdefs.h
<<\EOF
12161 #define WX_GETTIMEOFDAY_NO_TZ 1
12167 cat >> confdefs.h
<<\EOF
12168 #define wxUSE_TIMEDATE 1
12171 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
12175 if test "$TOOLKIT" != "MSW"; then
12177 if test "$wxUSE_SOCKETS" = "yes"; then
12178 echo $ac_n "checking for socket""... $ac_c" 1>&6
12179 echo "configure:12180: checking for socket" >&5
12180 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
12181 echo $ac_n "(cached) $ac_c" 1>&6
12183 cat > conftest.
$ac_ext <<EOF
12184 #line 12185 "configure"
12185 #include "confdefs.h"
12186 /* System header to define __stub macros and hopefully few prototypes,
12187 which can conflict with char socket(); below. */
12188 #include <assert.h>
12189 /* Override any gcc2 internal prototype to avoid an error. */
12190 /* We use char because int might match the return type of a gcc2
12191 builtin and then its argument prototype would still apply. */
12197 /* The GNU C library defines this for functions which it implements
12198 to always fail with ENOSYS. Some functions are actually named
12199 something starting with __ and the normal name is an alias. */
12200 #if defined (__stub_socket) || defined (__stub___socket)
12208 if { (eval echo configure
:12209: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12210 eval "ac_cv_func_socket=yes"
12212 echo "configure: failed program was:" >&5
12213 cat conftest.
$ac_ext >&5
12215 eval "ac_cv_func_socket=no"
12220 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
12221 echo "$ac_t""yes" 1>&6
12224 echo "$ac_t""no" 1>&6
12225 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
12226 echo "configure:12227: checking for socket in -lsocket" >&5
12227 ac_lib_var
=`echo socket'_'socket | sed 'y%./+-%__p_%'`
12228 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12229 echo $ac_n "(cached) $ac_c" 1>&6
12231 ac_save_LIBS
="$LIBS"
12232 LIBS
="-lsocket $LIBS"
12233 cat > conftest.
$ac_ext <<EOF
12234 #line 12235 "configure"
12235 #include "confdefs.h"
12236 /* Override any gcc2 internal prototype to avoid an error. */
12237 /* We use char because int might match the return type of a gcc2
12238 builtin and then its argument prototype would still apply. */
12245 if { (eval echo configure
:12246: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12247 eval "ac_cv_lib_$ac_lib_var=yes"
12249 echo "configure: failed program was:" >&5
12250 cat conftest.
$ac_ext >&5
12252 eval "ac_cv_lib_$ac_lib_var=no"
12255 LIBS
="$ac_save_LIBS"
12258 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12259 echo "$ac_t""yes" 1>&6
12260 INET_LINK
="$INET_LINK -lsocket"
12262 echo "$ac_t""no" 1>&6
12264 echo "configure: warning: socket library not found - sockets will be disabled" 1>&2
12277 if test "$wxUSE_SOCKETS" = "yes" ; then
12278 echo $ac_n "checking what is the type of the third argument of getsockname""... $ac_c" 1>&6
12279 echo "configure:12280: checking what is the type of the third argument of getsockname" >&5
12280 if eval "test \"`echo '$''{'wx_cv_type_getsockname3'+set}'`\" = set"; then
12281 echo $ac_n "(cached) $ac_c" 1>&6
12286 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12287 ac_cpp
='$CXXCPP $CPPFLAGS'
12288 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12289 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12290 cross_compiling
=$ac_cv_prog_cxx_cross
12293 cat > conftest.
$ac_ext <<EOF
12294 #line 12295 "configure"
12295 #include "confdefs.h"
12297 #include <sys/types.h>
12298 #include <sys/socket.h>
12303 getsockname(0, 0, &len);
12307 if { (eval echo configure
:12308: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12309 wx_cv_type_getsockname3
=socklen_t
12311 echo "configure: failed program was:" >&5
12312 cat conftest.
$ac_ext >&5
12314 cat > conftest.
$ac_ext <<EOF
12315 #line 12316 "configure"
12316 #include "confdefs.h"
12318 #include <sys/types.h>
12319 #include <sys/socket.h>
12324 getsockname(0, 0, &len);
12328 if { (eval echo configure
:12329: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12330 wx_cv_type_getsockname3
=size_t
12332 echo "configure: failed program was:" >&5
12333 cat conftest.
$ac_ext >&5
12335 cat > conftest.
$ac_ext <<EOF
12336 #line 12337 "configure"
12337 #include "confdefs.h"
12339 #include <sys/types.h>
12340 #include <sys/socket.h>
12345 getsockname(0, 0, &len);
12349 if { (eval echo configure
:12350: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12351 wx_cv_type_getsockname3
=int
12353 echo "configure: failed program was:" >&5
12354 cat conftest.
$ac_ext >&5
12356 wx_cv_type_getsockname3
=unknown
12368 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12369 ac_cpp
='$CPP $CPPFLAGS'
12370 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12371 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12372 cross_compiling
=$ac_cv_prog_cc_cross
12377 echo "$ac_t""$wx_cv_type_getsockname3" 1>&6
12379 if test "$wx_cv_type_getsockname3" = "unknown"; then
12381 echo "configure: warning: Couldn't find socklen_t synonym for this system" 1>&2
12383 cat >> confdefs.h
<<EOF
12384 #define SOCKLEN_T $wx_cv_type_getsockname3
12390 if test "$wxUSE_SOCKETS" = "yes" ; then
12391 cat >> confdefs.h
<<\EOF
12392 #define wxUSE_SOCKETS 1
12395 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
12396 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS protocol"
12400 if test "$TOOLKIT" != "MSW"; then
12402 if test "$wxUSE_JOYSTICK" = 1; then
12403 for ac_hdr
in linux
/joystick.h
12405 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12406 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12407 echo "configure:12408: checking for $ac_hdr" >&5
12408 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12409 echo $ac_n "(cached) $ac_c" 1>&6
12411 cat > conftest.
$ac_ext <<EOF
12412 #line 12413 "configure"
12413 #include "confdefs.h"
12416 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12417 { (eval echo configure
:12418: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12418 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12419 if test -z "$ac_err"; then
12421 eval "ac_cv_header_$ac_safe=yes"
12424 echo "configure: failed program was:" >&5
12425 cat conftest.
$ac_ext >&5
12427 eval "ac_cv_header_$ac_safe=no"
12431 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12432 echo "$ac_t""yes" 1>&6
12433 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12434 cat >> confdefs.h
<<EOF
12435 #define $ac_tr_hdr 1
12439 echo "$ac_t""no" 1>&6
12443 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
12445 echo "configure: warning: Joystick not supported yb this system" 1>&2
12451 if test "$wxUSE_JOYSTICK" = 1; then
12452 cat >> confdefs.h
<<\EOF
12453 #define wxUSE_JOYSTICK 1
12456 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
12460 if test "$TOOLKIT" != "MSW"; then
12464 if test "$wxUSE_DYNLIB_CLASS" = "yes"; then
12465 for ac_func
in dlopen
12467 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12468 echo "configure:12469: checking for $ac_func" >&5
12469 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12470 echo $ac_n "(cached) $ac_c" 1>&6
12472 cat > conftest.
$ac_ext <<EOF
12473 #line 12474 "configure"
12474 #include "confdefs.h"
12475 /* System header to define __stub macros and hopefully few prototypes,
12476 which can conflict with char $ac_func(); below. */
12477 #include <assert.h>
12478 /* Override any gcc2 internal prototype to avoid an error. */
12479 /* We use char because int might match the return type of a gcc2
12480 builtin and then its argument prototype would still apply. */
12486 /* The GNU C library defines this for functions which it implements
12487 to always fail with ENOSYS. Some functions are actually named
12488 something starting with __ and the normal name is an alias. */
12489 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12497 if { (eval echo configure
:12498: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12499 eval "ac_cv_func_$ac_func=yes"
12501 echo "configure: failed program was:" >&5
12502 cat conftest.
$ac_ext >&5
12504 eval "ac_cv_func_$ac_func=no"
12509 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12510 echo "$ac_t""yes" 1>&6
12511 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12512 cat >> confdefs.h
<<EOF
12513 #define $ac_tr_func 1
12516 cat >> confdefs.h
<<\EOF
12517 #define HAVE_DLOPEN 1
12523 echo "$ac_t""no" 1>&6
12524 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
12525 echo "configure:12526: checking for dlopen in -ldl" >&5
12526 ac_lib_var
=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
12527 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12528 echo $ac_n "(cached) $ac_c" 1>&6
12530 ac_save_LIBS
="$LIBS"
12532 cat > conftest.
$ac_ext <<EOF
12533 #line 12534 "configure"
12534 #include "confdefs.h"
12535 /* Override any gcc2 internal prototype to avoid an error. */
12536 /* We use char because int might match the return type of a gcc2
12537 builtin and then its argument prototype would still apply. */
12544 if { (eval echo configure
:12545: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12546 eval "ac_cv_lib_$ac_lib_var=yes"
12548 echo "configure: failed program was:" >&5
12549 cat conftest.
$ac_ext >&5
12551 eval "ac_cv_lib_$ac_lib_var=no"
12554 LIBS
="$ac_save_LIBS"
12557 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12558 echo "$ac_t""yes" 1>&6
12560 cat >> confdefs.h
<<\EOF
12561 #define HAVE_DLOPEN 1
12568 echo "$ac_t""no" 1>&6
12570 for ac_func
in shl_load
12572 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12573 echo "configure:12574: checking for $ac_func" >&5
12574 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12575 echo $ac_n "(cached) $ac_c" 1>&6
12577 cat > conftest.
$ac_ext <<EOF
12578 #line 12579 "configure"
12579 #include "confdefs.h"
12580 /* System header to define __stub macros and hopefully few prototypes,
12581 which can conflict with char $ac_func(); below. */
12582 #include <assert.h>
12583 /* Override any gcc2 internal prototype to avoid an error. */
12584 /* We use char because int might match the return type of a gcc2
12585 builtin and then its argument prototype would still apply. */
12591 /* The GNU C library defines this for functions which it implements
12592 to always fail with ENOSYS. Some functions are actually named
12593 something starting with __ and the normal name is an alias. */
12594 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12602 if { (eval echo configure
:12603: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12604 eval "ac_cv_func_$ac_func=yes"
12606 echo "configure: failed program was:" >&5
12607 cat conftest.
$ac_ext >&5
12609 eval "ac_cv_func_$ac_func=no"
12614 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12615 echo "$ac_t""yes" 1>&6
12616 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12617 cat >> confdefs.h
<<EOF
12618 #define $ac_tr_func 1
12621 cat >> confdefs.h
<<\EOF
12622 #define HAVE_SHL_LOAD 1
12628 echo "$ac_t""no" 1>&6
12640 if test "$HAVE_DL_FUNCS" = 0; then
12641 if test "$HAVE_SHL_FUNCS" = 0; then
12642 if test "$USE_UNIX" = 1; then
12643 echo "configure: warning: Missing dynamic loading support, several features will be disabled" 1>&2
12644 wxUSE_DYNLIB_CLASS
=no
12646 echo "configure: warning: Assuming wxLibrary class works on this platform" 1>&2
12654 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
12655 cat >> confdefs.h
<<\EOF
12656 #define wxUSE_DYNLIB_CLASS 1
12665 if test "$wxUSE_UNICODE" = "yes" ; then
12666 cat >> confdefs.h
<<\EOF
12667 #define wxUSE_UNICODE 1
12672 if test "$wxUSE_WCSRTOMBS" = "yes" ; then
12673 cat >> confdefs.h
<<\EOF
12674 #define wxUSE_WCSRTOMBS 1
12679 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
12680 cat >> confdefs.h
<<\EOF
12681 #define wxUSE_EXPERIMENTAL_PRINTF 1
12687 if test "$wxUSE_SERIAL" = "yes" ; then
12688 cat >> confdefs.h
<<\EOF
12689 #define wxUSE_SERIAL 1
12696 if test "$wxUSE_ODBC" = "yes" ; then
12697 cat >> confdefs.h
<<\EOF
12698 #define wxUSE_ODBC 1
12701 WXODBCFLAG
="-D_IODBC_"
12702 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
12703 IODBCOBJS
="\$(IODBC_OBJS)"
12709 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
12710 cat >> confdefs.h
<<\EOF
12711 #define wxUSE_POSTSCRIPT 1
12716 cat >> confdefs.h
<<\EOF
12717 #define wxUSE_AFM_FOR_POSTSCRIPT 1
12721 cat >> confdefs.h
<<\EOF
12722 #define wxUSE_NORMALIZED_PS_FONTS 1
12727 if test "$wxUSE_CONSTRAINTS" = "yes"; then
12728 cat >> confdefs.h
<<\EOF
12729 #define wxUSE_CONSTRAINTS 1
12732 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
12735 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
12736 cat >> confdefs.h
<<\EOF
12737 #define wxUSE_MDI_ARCHITECTURE 1
12740 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
12743 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
12744 cat >> confdefs.h
<<\EOF
12745 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
12748 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
12749 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
12750 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
12754 if test "$wxUSE_HELP" = "yes"; then
12755 cat >> confdefs.h
<<\EOF
12756 #define wxUSE_HELP 1
12759 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
12762 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
12763 if test "$wxUSE_CONSTRAINTS" != "yes"; then
12764 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
12766 cat >> confdefs.h
<<\EOF
12767 #define wxUSE_PRINTING_ARCHITECTURE 1
12771 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
12774 if test "$wxUSE_PROLOGIO" = "yes" ; then
12775 cat >> confdefs.h
<<\EOF
12776 #define wxUSE_PROLOGIO 1
12781 if test "$wxUSE_RESOURCES" = "yes" ; then
12782 if test "$wxUSE_PROLOGIO" = "yes" ; then
12783 cat >> confdefs.h
<<\EOF
12784 #define wxUSE_RESOURCES 1
12787 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS resource"
12789 echo "configure: warning: wxWindows ressource system requires PrologIO and can't be compiled without it." 1>&2
12793 if test "$wxUSE_X_RESOURCES" = "yes"; then
12794 cat >> confdefs.h
<<\EOF
12795 #define wxUSE_X_RESOURCES 1
12801 if test "$wxUSE_IPC" = "yes"; then
12802 cat >> confdefs.h
<<\EOF
12803 #define wxUSE_IPC 1
12808 if test "$wxUSE_CLIPBOARD" = "yes"; then
12809 cat >> confdefs.h
<<\EOF
12810 #define wxUSE_CLIPBOARD 1
12815 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
12816 if test "$wxUSE_GTK" = 1; then
12817 if test "$WXGTK12" != 1; then
12818 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2" 1>&2
12819 wxUSE_DRAG_AND_DROP
=no
12823 if test "$wxUSE_MOTIF" = 1; then
12824 echo "configure: warning: Drag and drop is not yet supported under Motif" 1>&2
12825 wxUSE_DRAG_AND_DROP
=no
12828 if test "$USE_WIN32" = 1; then
12829 for ac_hdr
in ole2.h
12831 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12832 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12833 echo "configure:12834: checking for $ac_hdr" >&5
12834 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12835 echo $ac_n "(cached) $ac_c" 1>&6
12837 cat > conftest.
$ac_ext <<EOF
12838 #line 12839 "configure"
12839 #include "confdefs.h"
12842 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12843 { (eval echo configure
:12844: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12844 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12845 if test -z "$ac_err"; then
12847 eval "ac_cv_header_$ac_safe=yes"
12850 echo "configure: failed program was:" >&5
12851 cat conftest.
$ac_ext >&5
12853 eval "ac_cv_header_$ac_safe=no"
12857 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12858 echo "$ac_t""yes" 1>&6
12859 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12860 cat >> confdefs.h
<<EOF
12861 #define $ac_tr_hdr 1
12865 echo "$ac_t""no" 1>&6
12869 if test "x$HAVE_OLE2_H" = x
; then
12870 echo "configure: warning: Drag and drop disabled because OLE headers not found" 1>&2
12871 wxUSE_DRAG_AND_DROP
=no
12875 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
12876 cat >> confdefs.h
<<\EOF
12877 #define wxUSE_DRAG_AND_DROP 1
12880 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
12885 if test "$wxUSE_SPLINES" = "yes" ; then
12886 cat >> confdefs.h
<<\EOF
12887 #define wxUSE_SPLINES 1
12893 if test "$wxUSE_ACCEL" = "yes"; then
12894 cat >> confdefs.h
<<\EOF
12895 #define wxUSE_ACCEL 1
12900 if test "$wxUSE_CARET" = "yes"; then
12901 cat >> confdefs.h
<<\EOF
12902 #define wxUSE_CARET 1
12905 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
12908 if test "$wxUSE_COMBOBOX" = "yes"; then
12909 cat >> confdefs.h
<<\EOF
12910 #define wxUSE_COMBOBOX 1
12915 if test "$wxUSE_CHOICE" = "yes"; then
12916 cat >> confdefs.h
<<\EOF
12917 #define wxUSE_CHOICE 1
12922 if test "$wxUSE_BMPBUTTON" = "yes"; then
12923 cat >> confdefs.h
<<\EOF
12924 #define wxUSE_BMPBUTTON 1
12929 if test "$wxUSE_CHECKBOX" = "yes"; then
12930 cat >> confdefs.h
<<\EOF
12931 #define wxUSE_CHECKBOX 1
12936 if test "$wxUSE_CHECKLST" = "yes"; then
12937 cat >> confdefs.h
<<\EOF
12938 #define wxUSE_CHECKLISTBOX 1
12941 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
12944 if test "$wxUSE_GAUGE" = "yes"; then
12945 cat >> confdefs.h
<<\EOF
12946 #define wxUSE_GAUGE 1
12951 if test "$wxUSE_GRID" = "yes"; then
12952 cat >> confdefs.h
<<\EOF
12953 #define wxUSE_GRID 1
12956 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
12959 if test "$wxUSE_NEW_GRID" = "yes"; then
12960 cat >> confdefs.h
<<\EOF
12961 #define wxUSE_NEW_GRID 1
12964 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS newgrid"
12967 if test "$wxUSE_IMAGLIST" = "yes"; then
12968 cat >> confdefs.h
<<\EOF
12969 #define wxUSE_IMAGLIST 1
12974 if test "$wxUSE_LISTBOX" = "yes"; then
12975 cat >> confdefs.h
<<\EOF
12976 #define wxUSE_LISTBOX 1
12981 if test "$wxUSE_LISTCTRL" = "yes"; then
12982 if test "$wxUSE_IMAGLIST" = "yes"; then
12983 cat >> confdefs.h
<<\EOF
12984 #define wxUSE_LISTCTRL 1
12987 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
12989 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
12993 if test "$wxUSE_NOTEBOOK" = "yes"; then
12994 cat >> confdefs.h
<<\EOF
12995 #define wxUSE_NOTEBOOK 1
12998 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
13001 if test "$wxUSE_RADIOBOX" = "yes"; then
13002 cat >> confdefs.h
<<\EOF
13003 #define wxUSE_RADIOBOX 1
13008 if test "$wxUSE_RADIOBTN" = "yes"; then
13009 cat >> confdefs.h
<<\EOF
13010 #define wxUSE_RADIOBTN 1
13015 if test "$wxUSE_SASH" = "yes"; then
13016 cat >> confdefs.h
<<\EOF
13017 #define wxUSE_SASH 1
13020 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
13023 if test "$wxUSE_SCROLLBAR" = "yes"; then
13024 cat >> confdefs.h
<<\EOF
13025 #define wxUSE_SCROLLBAR 1
13028 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
13031 if test "$wxUSE_SLIDER" = "yes"; then
13032 cat >> confdefs.h
<<\EOF
13033 #define wxUSE_SLIDER 1
13038 if test "$wxUSE_SPINBTN" = "yes"; then
13039 cat >> confdefs.h
<<\EOF
13040 #define wxUSE_SPINBTN 1
13045 if test "$wxUSE_SPINCTRL" = "yes"; then
13046 cat >> confdefs.h
<<\EOF
13047 #define wxUSE_SPINCTRL 1
13052 if test "$wxUSE_SPLITTER" = "yes"; then
13053 cat >> confdefs.h
<<\EOF
13054 #define wxUSE_SPLITTER 1
13057 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
13060 if test "$wxUSE_STATBMP" = "yes"; then
13061 cat >> confdefs.h
<<\EOF
13062 #define wxUSE_STATBMP 1
13067 if test "$wxUSE_STATBOX" = "yes"; then
13068 cat >> confdefs.h
<<\EOF
13069 #define wxUSE_STATBOX 1
13074 if test "$wxUSE_STATLINE" = "yes"; then
13075 if test "$wxUSE_WINE" = 1 ; then
13076 echo "configure: warning: wxStaticLine is not supported under WINE" 1>&2
13078 cat >> confdefs.h
<<\EOF
13079 #define wxUSE_STATLINE 1
13085 if test "$wxUSE_STATUSBAR" = "yes"; then
13086 cat >> confdefs.h
<<\EOF
13087 #define wxUSE_STATUSBAR 1
13091 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
13094 if test "$wxUSE_TABDIALOG" = "yes"; then
13095 cat >> confdefs.h
<<\EOF
13096 #define wxUSE_TAB_DIALOG 1
13099 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
13102 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
13103 cat >> confdefs.h
<<\EOF
13104 #define wxUSE_TOOLBAR_SIMPLE 1
13107 wxUSE_TOOLBAR
="yes"
13110 if test "$wxUSE_TOOLBAR" = "yes"; then
13111 cat >> confdefs.h
<<\EOF
13112 #define wxUSE_TOOLBAR 1
13116 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
13117 wxUSE_TOOLBAR_NATIVE
="yes"
13120 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
13123 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
13124 cat >> confdefs.h
<<\EOF
13125 #define wxUSE_TOOLBAR_NATIVE 1
13130 if test "$wxUSE_TOOLTIPS" = "yes"; then
13131 if test "$wxUSE_MOTIF" = 1; then
13132 echo "configure: warning: wxTooltip not supported yet under Motif" 1>&2
13134 if test "$wxUSE_WINE" = 1; then
13135 echo "configure: warning: wxTooltip not supported under WINE" 1>&2
13137 cat >> confdefs.h
<<\EOF
13138 #define wxUSE_TOOLTIPS 1
13145 if test "$wxUSE_TREECTRL" = "yes"; then
13146 if test "$wxUSE_IMAGLIST" = "yes"; then
13147 cat >> confdefs.h
<<\EOF
13148 #define wxUSE_TREECTRL 1
13151 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
13153 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
13159 if test "$wxUSE_METAFILE" = "yes"; then
13160 cat >> confdefs.h
<<\EOF
13161 #define wxUSE_METAFILE 1
13166 if test "$wxUSE_DIRDLG" = "yes"; then
13167 if test "$wxUSE_CONSTRAINTS" != "yes"; then
13168 echo "configure: warning: wxDirDialog requires constraints so it won't be compiled without them" 1>&2
13170 if test "$wxUSE_TREECTRL" != "yes"; then
13171 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
13173 cat >> confdefs.h
<<\EOF
13174 #define wxUSE_DIRDLG 1
13181 if test "$wxUSE_TEXTDLG" = "yes"; then
13182 cat >> confdefs.h
<<\EOF
13183 #define wxUSE_TEXTDLG 1
13188 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
13189 if test "$wxUSE_CONSTRAINTS" != "yes"; then
13190 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
13192 cat >> confdefs.h
<<\EOF
13193 #define wxUSE_STARTUP_TIPS 1
13199 if test "$wxUSE_PROGRESSDLG" = "yes"; then
13200 if test "$wxUSE_CONSTRAINTS" != "yes"; then
13201 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
13203 cat >> confdefs.h
<<\EOF
13204 #define wxUSE_PROGRESSDLG 1
13210 if test "$wxUSE_MINIFRAME" = "yes"; then
13211 cat >> confdefs.h
<<\EOF
13212 #define wxUSE_MINIFRAME 1
13215 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
13218 if test "$wxUSE_HTML" = "yes"; then
13219 cat >> confdefs.h
<<\EOF
13220 #define wxUSE_HTML 1
13223 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html"
13224 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS html"
13227 if test "$wxUSE_VALIDATORS" = "yes"; then
13228 cat >> confdefs.h
<<\EOF
13229 #define wxUSE_VALIDATORS 1
13232 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
13235 if test "$wxUSE_GIF" = "yes" ; then
13236 cat >> confdefs.h
<<\EOF
13237 #define wxUSE_GIF 1
13242 if test "$wxUSE_PCX" = "yes" ; then
13243 cat >> confdefs.h
<<\EOF
13244 #define wxUSE_PCX 1
13249 if test "$wxUSE_PNM" = "yes" ; then
13250 cat >> confdefs.h
<<\EOF
13251 #define wxUSE_PNM 1
13257 OSINFO
=`uname -s -r -m`
13258 OSINFO
="\"$OSINFO\""
13259 cat >> confdefs.h
<<EOF
13260 #define WXWIN_OS_DESCRIPTION $OSINFO
13265 GUILIBS
="$GUI_TK_LIBRARY $OPENGL_LINK $LIBPNG_LINK $ZLIB_LINK $TOOLKIT_LINK"
13267 EXTRA_LIBS
="$LIBS $POSIX4_LINK $INET_LINK $WCHAR_LINK $THREADS_LINK $DMALLOC_LINK $DL_LINK"
13268 if test "$wxUSE_GUI" = "yes"; then
13269 EXTRA_LIBS
="$EXTRA_LIBS $GUILIBS"
13272 LD_LIBS
="\${top_builddir}/lib/${WX_LIBRARY_NAME_STATIC} $EXTRA_LIBS"
13274 INCLUDES
="-I. -I\${top_builddir}/include -I\${top_srcdir}/include $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE $TOOLKIT_INCLUDE"
13276 if test "$GXX" = yes ; then
13277 CXXWARNINGS
="-Wall"
13279 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE $INCLUDES"
13281 CFLAGS
=`echo $CFLAGS $EXTRA_CFLAGS | sed 's/ \\+/ /g'`
13282 CXXFLAGS
=`echo $CXXFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
13284 LDFLAGS
="$LDFLAGS $PROFILE"
13286 if test "$wxUSE_GUI" = "yes"; then
13288 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS controls dialogs drawing dynamic \
13289 font fractal image minimal richedit"
13291 CPPFLAGS
="$CPPFLAGS \$(EXTRADEFS) \$(APPEXTRADEFS)"
13296 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
13364 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
13365 echo "configure:13366: checking whether ${MAKE-make} sets \${MAKE}" >&5
13366 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
13367 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
13368 echo $ac_n "(cached) $ac_c" 1>&6
13370 cat > conftestmake
<<\EOF
13372 @
echo 'ac_maketemp="${MAKE}"'
13374 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
13375 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
13376 if test -n "$ac_maketemp"; then
13377 eval ac_cv_prog_make_
${ac_make}_set
=yes
13379 eval ac_cv_prog_make_
${ac_make}_set
=no
13383 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
13384 echo "$ac_t""yes" 1>&6
13387 echo "$ac_t""no" 1>&6
13388 SET_MAKE
="MAKE=${MAKE-make}"
13392 if test -d include
; then
13393 if test -d include
/wx
; then
13394 if test -d include
/wx
/${TOOLKIT_DIR}; then
13395 if test -f include
/wx
/${TOOLKIT_DIR}/setup.h
; then
13396 mv -f include
/wx
/${TOOLKIT_DIR}/setup.h setup.h
13404 if test "$wxUSE_GUI" = "yes"; then
13405 echo $ac_n "checking glcanvas subdirectory to use""... $ac_c" 1>&6
13406 echo "configure:13407: checking glcanvas subdirectory to use" >&5
13407 if eval "test \"`echo '$''{'wx_cv_path_glcanvas'+set}'`\" = set"; then
13408 echo $ac_n "(cached) $ac_c" 1>&6
13411 if test "${TOOLKIT_DIR}" = "msw" ; then
13412 wx_cv_path_glcanvas
="win"
13414 wx_cv_path_glcanvas
="${TOOLKIT_DIR}"
13419 echo "$ac_t""$wx_cv_path_glcanvas" 1>&6
13421 GL_TOOLKIT_DIR
=$wx_cv_path_glcanvas
13424 wx_cv_path_samplesubdirs
=$SAMPLES_SUBDIRS
13425 subdirs
="demos samples utils"
13430 cat > confcache
<<\EOF
13431 # This file is a shell script that caches the results of configure
13432 # tests run on this system so they can be shared between configure
13433 # scripts and configure runs. It is not useful on other systems.
13434 # If it contains results you don't want to keep, you may remove or edit it.
13436 # By default, configure uses ./config.cache as the cache file,
13437 # creating it if it does not exist already. You can give configure
13438 # the --cache-file=FILE option to use a different cache file; that is
13439 # what configure does when it calls configure scripts in
13440 # subdirectories, so they share the cache.
13441 # Giving --cache-file=/dev/null disables caching, for debugging configure.
13442 # config.status only pays attention to the cache file if you give it the
13443 # --recheck option to rerun configure.
13446 # The following way of writing the cache mishandles newlines in values,
13447 # but we know of no workaround that is simple, portable, and efficient.
13448 # So, don't put newlines in cache variables' values.
13449 # Ultrix sh set writes to stderr and can't be redirected directly,
13450 # and sets the high bit in the cache file unless we assign to the vars.
13452 case `(ac_space=' '; set | grep ac_space) 2>&1` in
13454 # `set' does not quote correctly, so add quotes (double-quote substitution
13455 # turns \\\\ into \\, and sed turns \\ into \).
13457 -e "s/'/'\\\\''/g" \
13458 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
13461 # `set' quotes correctly as required by POSIX, so do not add quotes.
13462 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
13465 if cmp -s $cache_file confcache
; then
13468 if test -w $cache_file; then
13469 echo "updating cache $cache_file"
13470 cat confcache
> $cache_file
13472 echo "not updating unwritable cache $cache_file"
13477 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
13479 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
13480 # Let make expand exec_prefix.
13481 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
13483 # Any assignment to VPATH causes Sun make to only execute
13484 # the first set of double-colon rules, so remove it if not needed.
13485 # If there is a colon in the path, we need to keep it.
13486 if test "x$srcdir" = x.
; then
13487 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
13490 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
13492 DEFS
=-DHAVE_CONFIG_H
13494 # Without the "./", some shells look in PATH for config.status.
13495 : ${CONFIG_STATUS=./config.status}
13497 echo creating
$CONFIG_STATUS
13498 rm -f $CONFIG_STATUS
13499 cat > $CONFIG_STATUS <<EOF
13501 # Generated automatically by configure.
13502 # Run this file to recreate the current configuration.
13503 # This directory was configured as follows,
13504 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13506 # $0 $ac_configure_args
13508 # Compiler output produced by configure, useful for debugging
13509 # configure, is in ./config.log if it exists.
13511 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
13514 case "\$ac_option" in
13515 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13516 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
13517 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
13518 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
13519 echo "$CONFIG_STATUS generated by autoconf version 2.14"
13521 -help | --help | --hel | --he | --h)
13522 echo "\$ac_cs_usage"; exit 0 ;;
13523 *) echo "\$ac_cs_usage"; exit 1 ;;
13527 ac_given_srcdir=$srcdir
13528 ac_given_INSTALL="$INSTALL"
13530 trap 'rm -fr `echo "
13536 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
13538 cat >> $CONFIG_STATUS <<EOF
13540 # Protect against being on the right side of a sed subst in config.status.
13541 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
13542 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
13546 s%@CFLAGS@%$CFLAGS%g
13547 s%@CPPFLAGS@%$CPPFLAGS%g
13548 s%@CXXFLAGS@%$CXXFLAGS%g
13549 s%@FFLAGS@%$FFLAGS%g
13551 s%@LDFLAGS@%$LDFLAGS%g
13553 s%@exec_prefix@%$exec_prefix%g
13554 s%@prefix@%$prefix%g
13555 s%@program_transform_name@%$program_transform_name%g
13556 s%@bindir@%$bindir%g
13557 s%@sbindir@%$sbindir%g
13558 s%@libexecdir@%$libexecdir%g
13559 s%@datadir@%$datadir%g
13560 s%@sysconfdir@%$sysconfdir%g
13561 s%@sharedstatedir@%$sharedstatedir%g
13562 s%@localstatedir@%$localstatedir%g
13563 s%@libdir@%$libdir%g
13564 s%@includedir@%$includedir%g
13565 s%@oldincludedir@%$oldincludedir%g
13566 s%@infodir@%$infodir%g
13567 s%@mandir@%$mandir%g
13569 s%@host_alias@%$host_alias%g
13570 s%@host_cpu@%$host_cpu%g
13571 s%@host_vendor@%$host_vendor%g
13572 s%@host_os@%$host_os%g
13573 s%@target@%$target%g
13574 s%@target_alias@%$target_alias%g
13575 s%@target_cpu@%$target_cpu%g
13576 s%@target_vendor@%$target_vendor%g
13577 s%@target_os@%$target_os%g
13579 s%@build_alias@%$build_alias%g
13580 s%@build_cpu@%$build_cpu%g
13581 s%@build_vendor@%$build_vendor%g
13582 s%@build_os@%$build_os%g
13586 s%@CXXCPP@%$CXXCPP%g
13587 s%@RANLIB@%$RANLIB%g
13589 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
13590 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
13591 s%@INSTALL_DATA@%$INSTALL_DATA%g
13595 s%@LEXLIB@%$LEXLIB%g
13597 s%@GTK_CONFIG@%$GTK_CONFIG%g
13598 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
13599 s%@GTK_LIBS@%$GTK_LIBS%g
13600 s%@X_CFLAGS@%$X_CFLAGS%g
13601 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
13602 s%@X_LIBS@%$X_LIBS%g
13603 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
13604 s%@LEX_STEM@%$LEX_STEM%g
13605 s%@PATH_IFS@%$PATH_IFS%g
13606 s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
13607 s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
13608 s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
13609 s%@WX_LIBRARY_NAME@%$WX_LIBRARY_NAME%g
13610 s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
13611 s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
13612 s%@WX_LIBRARY@%$WX_LIBRARY%g
13613 s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
13614 s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
13615 s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
13616 s%@WX_LIBRARY_LINK3@%$WX_LIBRARY_LINK3%g
13617 s%@PROGRAM_EXT@%$PROGRAM_EXT%g
13618 s%@WX_ALL@%$WX_ALL%g
13619 s%@WX_ALL_INSTALLED@%$WX_ALL_INSTALLED%g
13620 s%@SHARED_LD@%$SHARED_LD%g
13621 s%@PIC_FLAG@%$PIC_FLAG%g
13622 s%@DEP_INFO_FLAGS@%$DEP_INFO_FLAGS%g
13623 s%@CODE_GEN_FLAGS@%$CODE_GEN_FLAGS%g
13624 s%@BURNT_LIBRARY_NAME@%$BURNT_LIBRARY_NAME%g
13625 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
13626 s%@USE_GUI@%$USE_GUI%g
13627 s%@AFMINSTALL@%$AFMINSTALL%g
13628 s%@TOOLKIT@%$TOOLKIT%g
13629 s%@TOOLKIT_DEF@%$TOOLKIT_DEF%g
13630 s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
13631 s%@TOOLKIT_INCLUDE@%$TOOLKIT_INCLUDE%g
13632 s%@GUIHEADERS@%$GUIHEADERS%g
13633 s%@GUIOBJS@%$GUIOBJS%g
13634 s%@COMMONOBJS@%$COMMONOBJS%g
13635 s%@GENERICOBJS@%$GENERICOBJS%g
13636 s%@GUIDEPS@%$GUIDEPS%g
13637 s%@COMMONDEPS@%$COMMONDEPS%g
13638 s%@GENERICDEPS@%$GENERICDEPS%g
13639 s%@IODBCOBJS@%$IODBCOBJS%g
13640 s%@UNIXOBJS@%$UNIXOBJS%g
13641 s%@UNIXDEPS@%$UNIXDEPS%g
13642 s%@ALL_OBJECTS@%$ALL_OBJECTS%g
13643 s%@ALL_DEPFILES@%$ALL_DEPFILES%g
13644 s%@GUIDIST@%$GUIDIST%g
13645 s%@PORT_FILES@%$PORT_FILES%g
13646 s%@DISTDIR@%$DISTDIR%g
13647 s%@RPM_SPEC@%$RPM_SPEC%g
13648 s%@RPM_FILES@%$RPM_FILES%g
13649 s%@SRC_SUBDIRS@%$SRC_SUBDIRS%g
13650 s%@INCLUDE_SUBDIRS@%$INCLUDE_SUBDIRS%g
13651 s%@UTILS_SUBDIRS@%$UTILS_SUBDIRS%g
13652 s%@DOCS_SUBDIRS@%$DOCS_SUBDIRS%g
13653 s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
13654 s%@USER_SUBDIRS@%$USER_SUBDIRS%g
13655 s%@EXTRA_LIBS@%$EXTRA_LIBS%g
13656 s%@EXTRADEFS@%$EXTRADEFS%g
13657 s%@LD_LIBS@%$LD_LIBS%g
13658 s%@SET_MAKE@%$SET_MAKE%g
13659 s%@GL_TOOLKIT_DIR@%$GL_TOOLKIT_DIR%g
13660 s%@subdirs@%$subdirs%g
13665 cat >> $CONFIG_STATUS <<\EOF
13667 # Split the substitutions into bite-sized pieces for seds with
13668 # small command number limits, like on Digital OSF/1 and HP-UX.
13669 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
13670 ac_file
=1 # Number of current file.
13671 ac_beg
=1 # First line for current file.
13672 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
13675 while $ac_more_lines; do
13676 if test $ac_beg -gt 1; then
13677 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
13679 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
13681 if test ! -s conftest.s
$ac_file; then
13682 ac_more_lines
=false
13683 rm -f conftest.s
$ac_file
13685 if test -z "$ac_sed_cmds"; then
13686 ac_sed_cmds
="sed -f conftest.s$ac_file"
13688 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
13690 ac_file
=`expr $ac_file + 1`
13692 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
13695 if test -z "$ac_sed_cmds"; then
13700 cat >> $CONFIG_STATUS <<EOF
13702 CONFIG_FILES=\${CONFIG_FILES-"wx-config
13709 cat >> $CONFIG_STATUS <<\EOF
13710 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
13711 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
13713 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
13714 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
13715 *) ac_file_in
="${ac_file}.in" ;;
13718 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
13720 # Remove last slash and all that follows it. Not all systems have dirname.
13721 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
13722 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
13723 # The file is in a subdirectory.
13724 test ! -d "$ac_dir" && mkdir "$ac_dir"
13725 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
13726 # A "../" for each directory in $ac_dir_suffix.
13727 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
13729 ac_dir_suffix
= ac_dots
=
13732 case "$ac_given_srcdir" in
13734 if test -z "$ac_dots"; then top_srcdir
=.
13735 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
13736 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
13737 *) # Relative path.
13738 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
13739 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
13742 case "$ac_given_INSTALL" in
13743 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
13744 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
13747 echo creating
"$ac_file"
13749 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
13751 *Makefile
*) ac_comsub
="1i\\
13752 # $configure_input" ;;
13756 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
13758 s%@configure_input@%$configure_input%g
13759 s%@srcdir@%$srcdir%g
13760 s%@top_srcdir@%$top_srcdir%g
13761 s%@INSTALL@%$INSTALL%g
13762 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
13766 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
13767 # NAME is the cpp macro being defined and VALUE is the value it is being given.
13769 # ac_d sets the value in "#define NAME VALUE" lines.
13770 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
13771 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
13774 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
13775 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
13776 ac_uB
='\([ ]\)%\1#\2define\3'
13779 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
13780 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
13781 ac_eB
='$%\1#\2define\3'
13785 if test "${CONFIG_HEADERS+set}" != set; then
13787 cat >> $CONFIG_STATUS <<EOF
13788 CONFIG_HEADERS="setup.h:setup.h.in"
13790 cat >> $CONFIG_STATUS <<\EOF
13792 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
13793 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
13795 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
13796 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
13797 *) ac_file_in
="${ac_file}.in" ;;
13800 echo creating
$ac_file
13802 rm -f conftest.frag conftest.
in conftest.out
13803 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
13804 cat $ac_file_inputs > conftest.
in
13808 # Transform confdefs.h into a sed script conftest.vals that substitutes
13809 # the proper values into config.h.in to produce config.h. And first:
13810 # Protect against being on the right side of a sed subst in config.status.
13811 # Protect against being in an unquoted here document in config.status.
13812 rm -f conftest.vals
13813 cat > conftest.hdr
<<\EOF
13816 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
13820 sed -n -f conftest.hdr confdefs.h > conftest.vals
13823 # This sed command replaces #undef with comments. This is necessary, for
13824 # example, in the case of _POSIX_SOURCE, which is predefined and required
13825 # on some systems where configure will not decide to define it.
13826 cat >> conftest.vals <<\EOF
13827 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
13830 # Break up conftest.vals because some shells have a limit on
13831 # the size of here documents, and old seds have small limits too.
13833 rm -f conftest.tail
13836 ac_lines=`grep -c . conftest.vals
`
13837 # grep -c gives empty output for an empty file on some AIX systems.
13838 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
13839 # Write a limited-size here document to conftest.frag.
13840 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
13841 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
13843 sed -f conftest.frag conftest.in > conftest.out
13845 mv conftest.out conftest.in
13846 ' >> $CONFIG_STATUS
13847 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
13848 rm -f conftest.vals
13849 mv conftest.tail conftest.vals
13851 rm -f conftest.vals
13853 cat >> $CONFIG_STATUS <<\EOF
13854 rm -f conftest.frag conftest.h
13855 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
13856 cat conftest.in >> conftest.h
13858 if cmp -s $ac_file conftest.h 2>/dev/null; then
13859 echo "$ac_file is unchanged"
13862 # Remove last slash and all that follows it. Not all systems have dirname.
13863 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
13864 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
13865 # The file is in a subdirectory.
13866 test ! -d "$ac_dir" && mkdir "$ac_dir"
13869 mv conftest.h $ac_file
13874 cat >> $CONFIG_STATUS <<EOF
13876 TOOLKIT_DIR="${TOOLKIT_DIR}"
13880 cat >> $CONFIG_STATUS <<\EOF
13885 if test ! -d lib; then
13888 if test ! -d lib/wx; then
13891 if test ! -d lib/wx/include; then
13892 mkdir lib/wx/include
13894 if test ! -d lib/wx/include/wx; then
13895 mkdir lib/wx/include/wx
13897 if test ! -d lib/wx/include/wx/${TOOLKIT_DIR}; then
13898 mkdir lib/wx/include/wx/${TOOLKIT_DIR}
13900 if test -f setup.h; then
13901 cp -f setup.h lib/wx/include/wx/${TOOLKIT_DIR}/setup.h
13905 if test ! -d include; then
13908 if test ! -d include/wx; then
13911 if test ! -d include/wx/${TOOLKIT_DIR}; then
13912 mkdir include/wx/${TOOLKIT_DIR}
13914 if test -f setup.h; then
13915 mv -f setup.h include/wx/${TOOLKIT_DIR}/setup.h
13921 chmod +x $CONFIG_STATUS
13922 rm -fr confdefs* $ac_clean_files
13923 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
13925 if test "$no_recursion" != yes; then
13927 # Remove --cache-file and --srcdir arguments so they do not pile up.
13928 ac_sub_configure_args=
13930 for ac_arg in $ac_configure_args; do
13931 if test -n "$ac_prev"; then
13936 -cache-file | --cache-file | --cache-fil | --cache-fi \
13937 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
13938 ac_prev=cache_file ;;
13939 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
13940 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
13942 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
13944 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
13946 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
13950 for ac_config_dir in demos samples utils; do
13952 # Do not complain, so a configure script can configure whichever
13953 # parts of a large source tree are present.
13954 if test ! -d $srcdir/$ac_config_dir; then
13958 echo configuring in $ac_config_dir
13963 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
13965 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
13973 # A "../" for each directory in /$ac_config_dir.
13974 ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
13977 .) # No --srcdir option. We are building in place.
13978 ac_sub_srcdir=$srcdir ;;
13979 /*) # Absolute path.
13980 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
13981 *) # Relative path.
13982 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
13985 # Check for guested configure; otherwise get Cygnus style configure.
13986 if test -f $ac_sub_srcdir/configure; then
13987 ac_sub_configure=$ac_sub_srcdir/configure
13988 elif test -f $ac_sub_srcdir/configure.in; then
13989 ac_sub_configure=$ac_configure
13991 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
13995 # The recursion is here.
13996 if test -n "$ac_sub_configure"; then
13998 # Make the cache file name correct relative to the subdirectory.
13999 case "$cache_file" in
14000 /*) ac_sub_cache_file=$cache_file ;;
14001 *) # Relative path.
14002 ac_sub_cache_file="$ac_dots$cache_file" ;;
14004 case "$ac_given_INSTALL" in
14005 [/$]*) INSTALL="$ac_given_INSTALL" ;;
14006 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
14009 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
14010 # The eval makes quoting arguments work.
14011 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
14014 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }