3 # From configure.in Id: configure.in
42 # Guess values for system-dependent variables and create Makefiles.
43 # Generated automatically using autoconf version 2.13
44 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
46 # This configure script is free software; the Free Software Foundation
47 # gives unlimited permission to copy, distribute and modify it.
51 ac_default_prefix
=/usr
/local
52 # Any additions from configure.in:
54 --enable-gui use GUI classes"
58 --with-motif use Motif/Lesstif"
62 --with-cygwin use Cygwin for MS-Windows"
64 --with-mingw use GCC Minimal MS-Windows"
66 --with-pm use OS/2 Presentation Manager"
68 --with-gtk-prefix=PFX Prefix where GTK is installed"
70 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed"
72 --with-libpng use libpng (PNG image format)"
74 --with-libjpeg use libjpeg (JPEG file format)"
76 --with-libtiff use libtiff (TIFF file format)"
78 --with-opengl use OpenGL (or Mesa)"
80 --with-dmalloc use dmalloc library (www.letters.com/dmalloc)"
82 --with-zlib use zlib for LZW compression"
84 --with-odbc use the IODBC and wxODBC classes"
86 --enable-shared create shared library code"
88 --enable-burnt_name create set name in shared library "
90 --enable-optimise create optimised code"
92 --enable-debug same as debug_flag and debug_info"
94 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)"
96 --enable-debug_info create code with debugging information"
98 --enable-debug_gdb create code with extra GDB debugging information"
100 --enable-debug_cntxt use wxDebugContext"
102 --enable-mem_tracing create code with memory tracing"
104 --enable-profile create code with profiling information"
106 --enable-no_rtti create code without RTTI information"
108 --enable-no_exceptions create code without exceptions information"
110 --enable-permissive compile code disregarding strict ANSI"
112 --enable-no_deps create code without dependency information"
114 --enable-intl use internationalization system"
116 --enable-config use wxConfig (and derived) classes"
118 --enable-sockets use socket/network classes"
120 --enable-dialupman use dialup network classes"
122 --enable-ipc use interprocess communication (wxSocket etc.)"
124 --enable-apple_ieee use the Apple IEEE codec"
126 --enable-timedate use date/time classes"
128 --enable-wave use wxWave class"
130 --enable-fraction use wxFraction class"
132 --enable-dynlib use wxLibrary class for DLL loading"
134 --enable-longlong use wxLongLong class"
136 --enable-log use logging system"
138 --enable-streams use wxStream etc classes"
140 --enable-file use wxFile classes"
142 --enable-textfile use wxTextFile classes"
144 --enable-unicode compile wxString with Unicode support"
146 --enable-wcsrtombs use wcsrtombs instead of buggy (GNU libc1/Linux libc5) wcstombs"
148 --enable-wxprintfv use wxWindows implementation of vprintf()"
150 --enable-joystick compile in joystick support (Linux only)"
152 --enable-std_iostreams use standard C++ stream classes"
154 --enable-filesystem use virtual file systems classes"
156 --enable-fs_inet use virtual HTTP/FTP filesystems"
158 --enable-fs_zip use virtual ZIP filesystems"
160 --enable-zipstream use wxZipInputStream"
162 --enable-threads use threads"
164 --enable-serial use class serialization"
166 --enable-docview use document view architecture"
168 --enable-help use help (using external browser at present)"
170 --enable-constraints use layout-constraints system"
172 --enable-printarch use printing architecture"
174 --enable-mdi use multiple document interface architecture"
176 --enable-postscript use wxPostscriptDC device context (default for gtk+)"
178 --enable-prologio use Prolog IO library"
180 --enable-resources use wxWindows resources"
182 --enable-xresources use X resources for save (default for gtk+)"
184 --enable-clipboard use wxClipboard classes"
186 --enable-dnd use Drag'n'Drop classes"
188 --enable-wxtree make wxTree library"
190 --enable-controls use all usual controls"
192 --enable-accel use accelerators"
194 --enable-caret use wxCaret class"
196 --enable-bmpbutton use wxBitmapButton class"
198 --enable-checkbox use wxCheckBox class"
200 --enable-checklst use wxCheckListBox (listbox with checkboxes) class"
202 --enable-choice use wxChoice class"
204 --enable-combobox use wxComboBox classes"
206 --enable-gauge use wxGauge class"
208 --enable-grid use wxGrid class"
210 --enable-newgrid use new wxGrid class"
212 --enable-imaglist use wxImageList class"
214 --enable-listbox use wxListBox class"
216 --enable-listctrl use wxListCtrl class"
218 --enable-notebook use wxNotebook class"
220 --enable-radiobox use wxRadioBox class"
222 --enable-radiobtn use wxRadioButton class"
224 --enable-sash use wxSashWindow class"
226 --enable-scrollbar use wxScrollBar class and scrollable windows"
228 --enable-slider use wxSlider class"
230 --enable-spinbtn use wxSpinButton class"
232 --enable-spinctrl use wxSpinCtrl class"
234 --enable-splitter use wxSplitterWindow class"
236 --enable-statbmp use wxStaticBitmap class"
238 --enable-statbox use wxStaticBox class"
240 --enable-statline use wxStaticLine class"
242 --enable-statusbar use wxStatusBar class"
244 --enable-tabdialog use wxTabControl class"
246 --enable-toolbar use wxToolBar class"
248 --enable-tbarnative use native wxToolBar class"
250 --enable-tbarsmpl use wxToolBarSimple class"
252 --enable-treectrl use wxTreeCtrl class"
254 --enable-commondlg use common dialogs (wxDirDialog, wxProgressDialog, wxTextDialog, ...)"
256 --enable-dirdlg use wxDirDialog"
258 --enable-textdlg use wxTextDialog"
260 --enable-tipdlg use startup tips"
262 --enable-progressdlg use wxProgressDialog"
264 --enable-miniframe use wxMiniFrame class"
266 --enable-html use wxHTML sub-library"
268 --enable-tooltips use wxToolTip class"
270 --enable-splines use spline drawing code"
272 --enable-validators use wxValidator and derived classes"
274 --enable-busyinfo use wxBusyInfo"
276 --enable-plot use wxPlot"
278 --enable-gif use gif images (GIF file format)"
280 --enable-pcx use pcx images (PCX file format)"
282 --enable-pnm use pnm images (PNM file format)"
284 --with-x use the X Window System"
286 # Initialize some variables set by options.
287 # The variables have the same names as the options, with
288 # dashes changed to underlines.
290 cache_file
=.
/config.cache
299 program_transform_name
=s
,x
,x
,
307 bindir
='${exec_prefix}/bin'
308 sbindir
='${exec_prefix}/sbin'
309 libexecdir
='${exec_prefix}/libexec'
310 datadir
='${prefix}/share'
311 sysconfdir
='${prefix}/etc'
312 sharedstatedir
='${prefix}/com'
313 localstatedir
='${prefix}/var'
314 libdir
='${exec_prefix}/lib'
315 includedir
='${prefix}/include'
316 oldincludedir
='/usr/include'
317 infodir
='${prefix}/info'
318 mandir
='${prefix}/man'
320 # Initialize some other variables.
323 SHELL
=${CONFIG_SHELL-/bin/sh}
324 # Maximum number of lines to put in a shell here document.
331 # If the previous option needs an argument, assign it.
332 if test -n "$ac_prev"; then
333 eval "$ac_prev=\$ac_option"
339 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
343 # Accept the important Cygnus configure options, so we can diagnose typos.
347 -bindir | --bindir | --bindi | --bind | --bin | --bi)
349 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
350 bindir
="$ac_optarg" ;;
352 -build | --build | --buil | --bui | --bu)
354 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
355 build
="$ac_optarg" ;;
357 -cache-file | --cache-file | --cache-fil | --cache-fi \
358 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
359 ac_prev
=cache_file
;;
360 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
361 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
362 cache_file
="$ac_optarg" ;;
364 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
366 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
368 datadir
="$ac_optarg" ;;
370 -disable-* | --disable-*)
371 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
372 # Reject names that are not valid shell variable names.
373 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
374 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
376 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
377 eval "enable_${ac_feature}=no" ;;
379 -enable-* | --enable-*)
380 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
381 # Reject names that are not valid shell variable names.
382 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
383 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
385 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
390 eval "enable_${ac_feature}='$ac_optarg'" ;;
392 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
393 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
394 | --exec | --exe | --ex)
395 ac_prev
=exec_prefix
;;
396 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
397 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
398 | --exec=* | --exe=* | --ex=*)
399 exec_prefix
="$ac_optarg" ;;
401 -gas | --gas | --ga | --g)
402 # Obsolete; use --with-gas.
405 -help | --help | --hel | --he)
406 # Omit some internal or obsolete options to make the list less imposing.
407 # This message is too long to be a string in the A/UX 3.1 sh.
409 Usage: configure [options] [host]
410 Options: [defaults in brackets after descriptions]
412 --cache-file=FILE cache test results in FILE
413 --help print this message
414 --no-create do not create output files
415 --quiet, --silent do not print \`checking...' messages
416 --version print the version of autoconf that created configure
417 Directory and file names:
418 --prefix=PREFIX install architecture-independent files in PREFIX
420 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
422 --bindir=DIR user executables in DIR [EPREFIX/bin]
423 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
424 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
425 --datadir=DIR read-only architecture-independent data in DIR
427 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
428 --sharedstatedir=DIR modifiable architecture-independent data in DIR
430 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
431 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
432 --includedir=DIR C header files in DIR [PREFIX/include]
433 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
434 --infodir=DIR info documentation in DIR [PREFIX/info]
435 --mandir=DIR man documentation in DIR [PREFIX/man]
436 --srcdir=DIR find the sources in DIR [configure dir or ..]
437 --program-prefix=PREFIX prepend PREFIX to installed program names
438 --program-suffix=SUFFIX append SUFFIX to installed program names
439 --program-transform-name=PROGRAM
440 run sed PROGRAM on installed program names
444 --build=BUILD configure for building on BUILD [BUILD=HOST]
445 --host=HOST configure for HOST [guessed]
446 --target=TARGET configure for TARGET [TARGET=HOST]
447 Features and packages:
448 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
449 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
450 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
451 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
452 --x-includes=DIR X include files are in DIR
453 --x-libraries=DIR X library files are in DIR
455 if test -n "$ac_help"; then
456 echo "--enable and --with options recognized:$ac_help"
460 -host | --host | --hos | --ho)
462 -host=* | --host=* | --hos=* | --ho=*)
465 -includedir | --includedir | --includedi | --included | --include \
466 | --includ | --inclu | --incl | --inc)
467 ac_prev
=includedir
;;
468 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
469 | --includ=* | --inclu=* | --incl=* | --inc=*)
470 includedir
="$ac_optarg" ;;
472 -infodir | --infodir | --infodi | --infod | --info | --inf)
474 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
475 infodir
="$ac_optarg" ;;
477 -libdir | --libdir | --libdi | --libd)
479 -libdir=* | --libdir=* | --libdi=* | --libd=*)
480 libdir
="$ac_optarg" ;;
482 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
483 | --libexe | --libex | --libe)
484 ac_prev
=libexecdir
;;
485 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
486 | --libexe=* | --libex=* | --libe=*)
487 libexecdir
="$ac_optarg" ;;
489 -localstatedir | --localstatedir | --localstatedi | --localstated \
490 | --localstate | --localstat | --localsta | --localst \
491 | --locals | --local | --loca | --loc | --lo)
492 ac_prev
=localstatedir
;;
493 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
494 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
495 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
496 localstatedir
="$ac_optarg" ;;
498 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
500 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
501 mandir
="$ac_optarg" ;;
504 # Obsolete; use --without-fp.
507 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
511 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
512 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
515 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
516 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
517 | --oldin | --oldi | --old | --ol | --o)
518 ac_prev
=oldincludedir
;;
519 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
520 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
521 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
522 oldincludedir
="$ac_optarg" ;;
524 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
526 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
527 prefix
="$ac_optarg" ;;
529 -program-prefix | --program-prefix | --program-prefi | --program-pref \
530 | --program-pre | --program-pr | --program-p)
531 ac_prev
=program_prefix
;;
532 -program-prefix=* | --program-prefix=* | --program-prefi=* \
533 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
534 program_prefix
="$ac_optarg" ;;
536 -program-suffix | --program-suffix | --program-suffi | --program-suff \
537 | --program-suf | --program-su | --program-s)
538 ac_prev
=program_suffix
;;
539 -program-suffix=* | --program-suffix=* | --program-suffi=* \
540 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
541 program_suffix
="$ac_optarg" ;;
543 -program-transform-name | --program-transform-name \
544 | --program-transform-nam | --program-transform-na \
545 | --program-transform-n | --program-transform- \
546 | --program-transform | --program-transfor \
547 | --program-transfo | --program-transf \
548 | --program-trans | --program-tran \
549 | --progr-tra | --program-tr | --program-t)
550 ac_prev
=program_transform_name
;;
551 -program-transform-name=* | --program-transform-name=* \
552 | --program-transform-nam=* | --program-transform-na=* \
553 | --program-transform-n=* | --program-transform-=* \
554 | --program-transform=* | --program-transfor=* \
555 | --program-transfo=* | --program-transf=* \
556 | --program-trans=* | --program-tran=* \
557 | --progr-tra=* | --program-tr=* | --program-t=*)
558 program_transform_name
="$ac_optarg" ;;
560 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
561 | -silent | --silent | --silen | --sile | --sil)
564 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
566 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
568 sbindir
="$ac_optarg" ;;
570 -sharedstatedir | --sharedstatedir | --sharedstatedi \
571 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
572 | --sharedst | --shareds | --shared | --share | --shar \
574 ac_prev
=sharedstatedir
;;
575 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
576 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
577 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
579 sharedstatedir
="$ac_optarg" ;;
581 -site | --site | --sit)
583 -site=* | --site=* | --sit=*)
586 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
588 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
589 srcdir
="$ac_optarg" ;;
591 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
592 | --syscon | --sysco | --sysc | --sys | --sy)
593 ac_prev
=sysconfdir
;;
594 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
595 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
596 sysconfdir
="$ac_optarg" ;;
598 -target | --target | --targe | --targ | --tar | --ta | --t)
600 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
601 target
="$ac_optarg" ;;
603 -v | -verbose | --verbose | --verbos | --verbo | --verb)
606 -version | --version | --versio | --versi | --vers)
607 echo "configure generated by autoconf version 2.13"
611 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
612 # Reject names that are not valid shell variable names.
613 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
614 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
616 ac_package
=`echo $ac_package| sed 's/-/_/g'`
621 eval "with_${ac_package}='$ac_optarg'" ;;
623 -without-* | --without-*)
624 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
625 # Reject names that are not valid shell variable names.
626 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
627 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
629 ac_package
=`echo $ac_package| sed 's/-/_/g'`
630 eval "with_${ac_package}=no" ;;
633 # Obsolete; use --with-x.
636 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
637 | --x-incl | --x-inc | --x-in | --x-i)
638 ac_prev
=x_includes
;;
639 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
640 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
641 x_includes
="$ac_optarg" ;;
643 -x-libraries | --x-libraries | --x-librarie | --x-librari \
644 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
645 ac_prev
=x_libraries
;;
646 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
647 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
648 x_libraries
="$ac_optarg" ;;
650 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
654 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
655 echo "configure: warning: $ac_option: invalid host type" 1>&2
657 if test "x$nonopt" != xNONE
; then
658 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
666 if test -n "$ac_prev"; then
667 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
670 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
672 # File descriptor usage:
675 # 2 errors and warnings
676 # 3 some systems may open it to /dev/tty
677 # 4 used on the Kubota Titan
678 # 6 checking for... messages and results
679 # 5 compiler messages saved in config.log
680 if test "$silent" = yes; then
688 This file contains any messages produced by compilers while
689 running configure, to aid debugging if configure makes a mistake.
692 # Strip out --no-create and --no-recursion so they do not pile up.
693 # Also quote any args containing shell metacharacters.
698 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
699 | --no-cr | --no-c) ;;
700 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
701 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
702 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
703 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
704 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
709 # Only set these to C if already set. These must not be set unconditionally
710 # because not all systems understand e.g. LANG=C (notably SCO).
711 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
712 # Non-C LC_CTYPE values break the ctype check.
713 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
714 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
715 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
716 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
718 # confdefs.h avoids OS command line length limits that DEFS can exceed.
719 rm -rf conftest
* confdefs.h
720 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
723 # A filename unique to this package, relative to the directory that
724 # configure is in, which we can look for to find out if srcdir is correct.
725 ac_unique_file
=wx
-config.
in
727 # Find the source files, if location was not specified.
728 if test -z "$srcdir"; then
729 ac_srcdir_defaulted
=yes
730 # Try the directory containing this script, then its parent.
732 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
733 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
735 if test ! -r $srcdir/$ac_unique_file; then
739 ac_srcdir_defaulted
=no
741 if test ! -r $srcdir/$ac_unique_file; then
742 if test "$ac_srcdir_defaulted" = yes; then
743 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
745 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
748 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
750 # Prefer explicitly selected file to automatically selected ones.
751 if test -z "$CONFIG_SITE"; then
752 if test "x$prefix" != xNONE
; then
753 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
755 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
758 for ac_site_file
in $CONFIG_SITE; do
759 if test -r "$ac_site_file"; then
760 echo "loading site script $ac_site_file"
765 if test -r "$cache_file"; then
766 echo "loading cache $cache_file"
769 echo "creating cache $cache_file"
774 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
775 ac_cpp
='$CPP $CPPFLAGS'
776 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
777 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
778 cross_compiling
=$ac_cv_prog_cc_cross
782 if (echo "testing\c"; echo 1,2,3) | grep c
>/dev
/null
; then
783 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
784 if (echo -n testing
; echo 1,2,3) | sed s
/-n/xn
/ | grep xn
>/dev
/null
; then
791 ac_n
= ac_c
='\c' ac_t
=
797 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
798 if test -f $ac_dir/install-sh; then
800 ac_install_sh
="$ac_aux_dir/install-sh -c"
802 elif test -f $ac_dir/install.sh
; then
804 ac_install_sh
="$ac_aux_dir/install.sh -c"
808 if test -z "$ac_aux_dir"; then
809 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
811 ac_config_guess
=$ac_aux_dir/config.guess
812 ac_config_sub
=$ac_aux_dir/config.sub
813 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
816 # Do some error checking and defaulting for the host and target type.
818 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
821 # 1. You are not allowed to specify --host, --target, and nonopt at the
823 # 2. Host defaults to nonopt.
824 # 3. If nonopt is not specified, then host defaults to the current host,
825 # as determined by config.guess.
826 # 4. Target and build default to nonopt.
827 # 5. If nonopt is not specified, then target and build default to host.
829 # The aliases save the names the user supplied, while $host etc.
830 # will get canonicalized.
831 case $host---$target---$nonopt in
832 NONE
---*---* | *---NONE---* | *---*---NONE) ;;
833 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
837 # Make sure we can run config.sub.
838 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
839 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
842 echo $ac_n "checking host system type""... $ac_c" 1>&6
843 echo "configure:844: checking host system type" >&5
846 case "$host_alias" in
850 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
851 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
853 *) host_alias
=$nonopt ;;
857 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
858 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
859 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
860 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
861 echo "$ac_t""$host" 1>&6
863 echo $ac_n "checking target system type""... $ac_c" 1>&6
864 echo "configure:865: checking target system type" >&5
867 case "$target_alias" in
870 NONE
) target_alias
=$host_alias ;;
871 *) target_alias
=$nonopt ;;
875 target
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
876 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
877 target_vendor
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
878 target_os
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
879 echo "$ac_t""$target" 1>&6
881 echo $ac_n "checking build system type""... $ac_c" 1>&6
882 echo "configure:883: checking build system type" >&5
885 case "$build_alias" in
888 NONE
) build_alias
=$host_alias ;;
889 *) build_alias
=$nonopt ;;
893 build
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
894 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
895 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
896 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
897 echo "$ac_t""$build" 1>&6
899 test "$host_alias" != "$target_alias" &&
900 test "$program_prefix$program_suffix$program_transform_name" = \
902 program_prefix
=${target_alias}-
906 WX_MAJOR_VERSION_NUMBER
=2
907 WX_MINOR_VERSION_NUMBER
=1
913 WX_VERSION
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER.
$WX_RELEASE_NUMBER
915 WX_RELEASE
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER
916 WX_CURRENT
=`expr $WX_RELEASE_NUMBER - $WX_INTERFACE_AGE`
917 WX_REVISION
=$WX_INTERFACE_AGE
918 WX_AGE
=`expr $WX_BINARY_AGE - $WX_INTERFACE_AGE`
944 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
946 ALL_TOOLKITS
="CYGWIN GTK MINGW MOTIF WINE PM"
949 DEFAULT_wxUSE_MOTIF
=0
954 DEFAULT_DEFAULT_wxUSE_GTK
=0
955 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
956 DEFAULT_DEFAULT_wxUSE_MSW
=0
957 DEFAULT_DEFAULT_wxUSE_WINE
=0
958 DEFAULT_DEFAULT_wxUSE_PM
=0
965 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
966 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
967 cat >> confdefs.h
<<\EOF
974 cat >> confdefs.h
<<\EOF
979 if test "x$TMP" = "xalpha"; then
981 cat >> confdefs.h
<<\EOF
986 DEFAULT_DEFAULT_wxUSE_GTK
=1
988 *-*-irix5* | *-*-irix6* )
991 cat >> confdefs.h
<<\EOF
995 cat >> confdefs.h
<<\EOF
999 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1005 cat >> confdefs.h
<<\EOF
1009 cat >> confdefs.h
<<\EOF
1010 #define __SOLARIS__ 1
1013 cat >> confdefs.h
<<\EOF
1017 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1018 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1024 cat >> confdefs.h
<<\EOF
1028 cat >> confdefs.h
<<\EOF
1032 cat >> confdefs.h
<<\EOF
1036 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1038 *-*-freebsd* | *-*-netbsd*)
1041 cat >> confdefs.h
<<\EOF
1042 #define __FREEBSD__ 1
1045 cat >> confdefs.h
<<\EOF
1049 DEFAULT_DEFAULT_wxUSE_GTK
=1
1054 cat >> confdefs.h
<<\EOF
1058 cat >> confdefs.h
<<\EOF
1062 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1067 cat >> confdefs.h
<<\EOF
1071 cat >> confdefs.h
<<\EOF
1075 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1080 cat >> confdefs.h
<<\EOF
1084 cat >> confdefs.h
<<\EOF
1088 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1094 cat >> confdefs.h
<<\EOF
1098 cat >> confdefs.h
<<\EOF
1102 cat >> confdefs.h
<<\EOF
1106 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1109 *-*-cygwin32* | *-*-mingw32* )
1112 cat >> confdefs.h
<<\EOF
1116 cat >> confdefs.h
<<\EOF
1120 cat >> confdefs.h
<<\EOF
1121 #define __WINDOWS__ 1
1124 cat >> confdefs.h
<<\EOF
1125 #define __GNUWIN32__ 1
1128 cat >> confdefs.h
<<\EOF
1132 cat >> confdefs.h
<<\EOF
1133 #define WINVER 0x0400
1137 DEFAULT_DEFAULT_wxUSE_MSW
=1
1141 cat >> confdefs.h
<<\EOF
1146 DEFAULT_DEFAULT_wxUSE_PM
=1
1151 cat >> confdefs.h
<<\EOF
1158 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
1161 if test "$USE_UNIX" = 1 ; then
1163 cat >> confdefs.h
<<\EOF
1168 SRC_SUBDIRS
="$SRC_SUBDIRS unix"
1169 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS unix"
1172 if test "$USE_BEOS" = 1; then
1173 SRC_SUBDIRS
="$SRC_SUBDIRS be"
1174 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS be"
1177 if test "$USE_LINUX" = 1; then
1178 echo $ac_n "checking for gettext in -lc""... $ac_c" 1>&6
1179 echo "configure:1180: checking for gettext in -lc" >&5
1180 ac_lib_var
=`echo c'_'gettext | sed 'y%./+-%__p_%'`
1181 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1182 echo $ac_n "(cached) $ac_c" 1>&6
1184 ac_save_LIBS
="$LIBS"
1186 cat > conftest.
$ac_ext <<EOF
1187 #line 1188 "configure"
1188 #include "confdefs.h"
1189 /* Override any gcc2 internal prototype to avoid an error. */
1190 /* We use char because int might match the return type of a gcc2
1191 builtin and then its argument prototype would still apply. */
1198 if { (eval echo configure
:1199: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
1200 eval "ac_cv_lib_$ac_lib_var=yes"
1202 echo "configure: failed program was:" >&5
1203 cat conftest.
$ac_ext >&5
1205 eval "ac_cv_lib_$ac_lib_var=no"
1208 LIBS
="$ac_save_LIBS"
1211 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1212 echo "$ac_t""yes" 1>&6
1213 cat >> confdefs.h
<<\EOF
1214 #define wxHAVE_GLIBC2 1
1218 echo "$ac_t""no" 1>&6
1226 wx_arg_cache_file
="configarg.cache"
1227 echo "loading argument cache $wx_arg_cache_file"
1228 rm -f ${wx_arg_cache_file}.tmp
1229 touch ${wx_arg_cache_file}.tmp
1230 touch ${wx_arg_cache_file}
1234 if test $DEBUG_CONFIGURE = 1; then
1235 DEFAULT_wxUSE_THREADS
=yes
1237 DEFAULT_wxUSE_SHARED
=yes
1238 DEFAULT_wxUSE_BURNT_NAME
=no
1239 DEFAULT_wxUSE_OPTIMISE
=yes
1240 DEFAULT_wxUSE_PROFILE
=no
1241 DEFAULT_wxUSE_NO_DEPS
=no
1242 DEFAULT_wxUSE_NO_RTTI
=no
1243 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1244 DEFAULT_wxUSE_PERMISSIVE
=no
1245 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1246 DEFAULT_wxUSE_DEBUG_INFO
=yes
1247 DEFAULT_wxUSE_DEBUG_GDB
=yes
1248 DEFAULT_wxUSE_MEM_TRACING
=no
1249 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1250 DEFAULT_wxUSE_DMALLOC
=no
1251 DEFAULT_wxUSE_APPLE_IEEE
=no
1253 DEFAULT_wxUSE_LOG
=yes
1255 DEFAULT_wxUSE_GUI
=yes
1257 DEFAULT_wxUSE_ZLIB
=no
1258 DEFAULT_wxUSE_LIBPNG
=no
1259 DEFAULT_wxUSE_LIBJPEG
=no
1260 DEFAULT_wxUSE_LIBTIFF
=no
1261 DEFAULT_wxUSE_ODBC
=no
1262 DEFAULT_wxUSE_OPENGL
=no
1264 DEFAULT_wxUSE_STD_IOSTREAM
=no
1265 DEFAULT_wxUSE_FILE
=no
1266 DEFAULT_wxUSE_TEXTFILE
=no
1267 DEFAULT_wxUSE_TIMEDATE
=no
1268 DEFAULT_wxUSE_WAVE
=no
1269 DEFAULT_wxUSE_INTL
=no
1270 DEFAULT_wxUSE_CONFIG
=no
1271 DEFAULT_wxUSE_STREAMS
=no
1272 DEFAULT_wxUSE_SOCKETS
=no
1273 DEFAULT_wxUSE_DIALUP_MANAGER
=no
1274 DEFAULT_wxUSE_SERIAL
=no
1275 DEFAULT_wxUSE_JOYSTICK
=no
1276 DEFAULT_wxUSE_DYNLIB_CLASS
=no
1277 DEFAULT_wxUSE_LONGLONG
=no
1279 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
1280 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
1281 DEFAULT_wxUSE_POSTSCRIPT
=no
1283 DEFAULT_wxUSE_X_RESOURCES
=no
1284 DEFAULT_wxUSE_CLIPBOARD
=no
1285 DEFAULT_wxUSE_TOOLTIPS
=no
1286 DEFAULT_wxUSE_DRAG_AND_DROP
=no
1287 DEFAULT_wxUSE_SPLINES
=no
1289 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
1290 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
1291 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
1293 DEFAULT_wxUSE_PROLOGIO
=no
1294 DEFAULT_wxUSE_RESOURCES
=no
1295 DEFAULT_wxUSE_CONSTRAINTS
=no
1296 DEFAULT_wxUSE_IPC
=no
1297 DEFAULT_wxUSE_HELP
=no
1298 DEFAULT_wxUSE_WXTREE
=no
1299 DEFAULT_wxUSE_METAFILE
=no
1301 DEFAULT_wxUSE_COMMONDLGS
=no
1302 DEFAULT_wxUSE_DIRDLG
=no
1303 DEFAULT_wxUSE_TEXTDLG
=no
1304 DEFAULT_wxUSE_STARTUP_TIPS
=no
1305 DEFAULT_wxUSE_PROGRESSDLG
=no
1306 DEFAULT_wxUSE_MINIFRAME
=no
1307 DEFAULT_wxUSE_HTML
=no
1308 DEFAULT_wxUSE_FILESYSTEM
=no
1309 DEFAULT_wxUSE_FS_INET
=no
1310 DEFAULT_wxUSE_FS_ZIP
=no
1311 DEFAULT_wxUSE_BUSYINFO
=no
1312 DEFAULT_wxUSE_ZIPSTREAM
=no
1313 DEFAULT_wxUSE_VALIDATORS
=yes
1315 DEFAULT_wxUSE_ACCEL
=no
1316 DEFAULT_wxUSE_CARET
=no
1317 DEFAULT_wxUSE_BMPBUTTON
=no
1318 DEFAULT_wxUSE_CHECKBOX
=no
1319 DEFAULT_wxUSE_CHECKLST
=no
1320 DEFAULT_wxUSE_CHOICE
=yes
1321 DEFAULT_wxUSE_COMBOBOX
=no
1322 DEFAULT_wxUSE_GAUGE
=no
1323 DEFAULT_wxUSE_GRID
=no
1324 DEFAULT_wxUSE_NEW_GRID
=no
1325 DEFAULT_wxUSE_IMAGLIST
=no
1326 DEFAULT_wxUSE_LISTBOX
=no
1327 DEFAULT_wxUSE_LISTCTRL
=no
1328 DEFAULT_wxUSE_NOTEBOOK
=no
1329 DEFAULT_wxUSE_PLOT
=no
1330 DEFAULT_wxUSE_RADIOBOX
=no
1331 DEFAULT_wxUSE_RADIOBTN
=no
1332 DEFAULT_wxUSE_SASH
=no
1333 DEFAULT_wxUSE_SCROLLBAR
=no
1334 DEFAULT_wxUSE_SLIDER
=no
1335 DEFAULT_wxUSE_SPINBTN
=no
1336 DEFAULT_wxUSE_SPINCTRL
=no
1337 DEFAULT_wxUSE_SPLITTER
=no
1338 DEFAULT_wxUSE_STATBMP
=no
1339 DEFAULT_wxUSE_STATBOX
=no
1340 DEFAULT_wxUSE_STATLINE
=no
1341 DEFAULT_wxUSE_STATUSBAR
=yes
1342 DEFAULT_wxUSE_TABDIALOG
=no
1343 DEFAULT_wxUSE_TOOLBAR
=no
1344 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
1345 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
1346 DEFAULT_wxUSE_TREECTRL
=no
1348 DEFAULT_wxUSE_UNICODE
=no
1349 DEFAULT_wxUSE_WCSRTOMBS
=no
1351 DEFAULT_wxUSE_GIF
=no
1352 DEFAULT_wxUSE_PCX
=no
1353 DEFAULT_wxUSE_PNM
=no
1355 DEFAULT_wxUSE_THREADS
=yes
1357 DEFAULT_wxUSE_SHARED
=yes
1358 DEFAULT_wxUSE_BURNT_NAME
=no
1359 DEFAULT_wxUSE_OPTIMISE
=yes
1360 DEFAULT_wxUSE_PROFILE
=no
1361 DEFAULT_wxUSE_NO_DEPS
=no
1362 DEFAULT_wxUSE_NO_RTTI
=no
1363 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1364 DEFAULT_wxUSE_PERMISSIVE
=no
1365 DEFAULT_wxUSE_DEBUG_FLAG
=no
1366 DEFAULT_wxUSE_DEBUG_INFO
=no
1367 DEFAULT_wxUSE_DEBUG_GDB
=no
1368 DEFAULT_wxUSE_MEM_TRACING
=no
1369 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1370 DEFAULT_wxUSE_DMALLOC
=no
1371 DEFAULT_wxUSE_APPLE_IEEE
=yes
1373 DEFAULT_wxUSE_LOG
=yes
1375 DEFAULT_wxUSE_GUI
=yes
1377 DEFAULT_wxUSE_ZLIB
=yes
1378 DEFAULT_wxUSE_LIBPNG
=yes
1379 DEFAULT_wxUSE_LIBJPEG
=yes
1380 DEFAULT_wxUSE_LIBTIFF
=yes
1381 DEFAULT_wxUSE_ODBC
=no
1382 DEFAULT_wxUSE_OPENGL
=no
1384 DEFAULT_wxUSE_STD_IOSTREAM
=no
1385 DEFAULT_wxUSE_FILE
=yes
1386 DEFAULT_wxUSE_TEXTFILE
=yes
1387 DEFAULT_wxUSE_TIMEDATE
=yes
1388 DEFAULT_wxUSE_WAVE
=no
1389 DEFAULT_wxUSE_INTL
=yes
1390 DEFAULT_wxUSE_CONFIG
=yes
1391 DEFAULT_wxUSE_STREAMS
=yes
1392 DEFAULT_wxUSE_SOCKETS
=yes
1393 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
1394 DEFAULT_wxUSE_SERIAL
=yes
1395 DEFAULT_wxUSE_JOYSTICK
=yes
1396 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
1397 DEFAULT_wxUSE_LONGLONG
=yes
1399 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
1400 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
1401 DEFAULT_wxUSE_POSTSCRIPT
=yes
1403 DEFAULT_wxUSE_X_RESOURCES
=no
1404 DEFAULT_wxUSE_CLIPBOARD
=yes
1405 DEFAULT_wxUSE_TOOLTIPS
=yes
1406 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
1407 DEFAULT_wxUSE_SPLINES
=yes
1409 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
1410 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
1411 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
1413 DEFAULT_wxUSE_PROLOGIO
=yes
1414 DEFAULT_wxUSE_RESOURCES
=yes
1415 DEFAULT_wxUSE_CONSTRAINTS
=yes
1416 DEFAULT_wxUSE_IPC
=yes
1417 DEFAULT_wxUSE_HELP
=yes
1418 DEFAULT_wxUSE_WXTREE
=yes
1419 DEFAULT_wxUSE_METAFILE
=yes
1421 DEFAULT_wxUSE_COMMONDLGS
=yes
1422 DEFAULT_wxUSE_DIRDLG
=yes
1423 DEFAULT_wxUSE_TEXTDLG
=yes
1424 DEFAULT_wxUSE_STARTUP_TIPS
=yes
1425 DEFAULT_wxUSE_PROGRESSDLG
=yes
1426 DEFAULT_wxUSE_MINIFRAME
=yes
1427 DEFAULT_wxUSE_HTML
=yes
1428 DEFAULT_wxUSE_FILESYSTEM
=yes
1429 DEFAULT_wxUSE_FS_INET
=yes
1430 DEFAULT_wxUSE_FS_ZIP
=yes
1431 DEFAULT_wxUSE_BUSYINFO
=yes
1432 DEFAULT_wxUSE_ZIPSTREAM
=yes
1433 DEFAULT_wxUSE_VALIDATORS
=yes
1435 DEFAULT_wxUSE_ACCEL
=yes
1436 DEFAULT_wxUSE_CARET
=yes
1437 DEFAULT_wxUSE_BMPBUTTON
=yes
1438 DEFAULT_wxUSE_CHECKBOX
=yes
1439 DEFAULT_wxUSE_CHECKLST
=yes
1440 DEFAULT_wxUSE_CHOICE
=yes
1441 DEFAULT_wxUSE_COMBOBOX
=yes
1442 DEFAULT_wxUSE_GAUGE
=yes
1443 DEFAULT_wxUSE_GRID
=yes
1444 DEFAULT_wxUSE_NEW_GRID
=yes
1445 DEFAULT_wxUSE_IMAGLIST
=yes
1446 DEFAULT_wxUSE_LISTBOX
=yes
1447 DEFAULT_wxUSE_LISTCTRL
=yes
1448 DEFAULT_wxUSE_NOTEBOOK
=yes
1449 DEFAULT_wxUSE_PLOT
=yes
1450 DEFAULT_wxUSE_RADIOBOX
=yes
1451 DEFAULT_wxUSE_RADIOBTN
=yes
1452 DEFAULT_wxUSE_SASH
=yes
1453 DEFAULT_wxUSE_SCROLLBAR
=yes
1454 DEFAULT_wxUSE_SLIDER
=yes
1455 DEFAULT_wxUSE_SPINBTN
=yes
1456 DEFAULT_wxUSE_SPINCTRL
=yes
1457 DEFAULT_wxUSE_SPLITTER
=yes
1458 DEFAULT_wxUSE_STATBMP
=yes
1459 DEFAULT_wxUSE_STATBOX
=yes
1460 DEFAULT_wxUSE_STATLINE
=yes
1461 DEFAULT_wxUSE_STATUSBAR
=yes
1462 DEFAULT_wxUSE_TABDIALOG
=no
1463 DEFAULT_wxUSE_TOOLBAR
=yes
1464 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
1465 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
1466 DEFAULT_wxUSE_TREECTRL
=yes
1468 DEFAULT_wxUSE_UNICODE
=no
1469 DEFAULT_wxUSE_WCSRTOMBS
=no
1471 DEFAULT_wxUSE_GIF
=yes
1472 DEFAULT_wxUSE_PCX
=yes
1473 DEFAULT_wxUSE_PNM
=yes
1478 for toolkit
in `echo $ALL_TOOLKITS`; do
1479 LINE
=`grep "wxUSE_$toolkit" ${wx_arg_cache_file}`
1480 if test "x$LINE" != x
; then
1481 has_toolkit_in_cache
=1
1482 eval "DEFAULT_$LINE"
1483 eval "CACHE_$toolkit=1"
1489 echo $ac_n "checking "for --enable-gui"""... $ac_c" 1>&6
1490 echo "configure:1491: checking "for --enable-gui"" >&5
1492 # Check whether --enable-gui or --disable-gui was given.
1493 if test "${enable_gui+set}" = set; then
1494 enableval
="$enable_gui"
1496 if test "$enableval" = yes; then
1497 ac_cv_use_gui
='wxUSE_GUI=yes'
1499 ac_cv_use_gui
='wxUSE_GUI=no'
1504 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
1505 if test "x$LINE" != x
; then
1506 eval "DEFAULT_$LINE"
1511 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
1516 eval "$ac_cv_use_gui"
1517 if test "$no_cache" != 1; then
1518 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
1521 if test "$wxUSE_GUI" = yes; then
1522 echo "$ac_t""yes" 1>&6
1524 echo "$ac_t""no" 1>&6
1528 if test "$wxUSE_GUI" = "yes"; then
1530 # Check whether --with-gtk or --without-gtk was given.
1531 if test "${with_gtk+set}" = set; then
1533 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
1536 # Check whether --with-motif or --without-motif was given.
1537 if test "${with_motif+set}" = set; then
1538 withval
="$with_motif"
1539 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
1542 # Check whether --with-wine or --without-wine was given.
1543 if test "${with_wine+set}" = set; then
1544 withval
="$with_wine"
1545 wxUSE_WINE
="$withval" CACHE_WINE
=1 TOOLKIT_GIVEN
=1
1548 # Check whether --with-cygwin or --without-cygwin was given.
1549 if test "${with_cygwin+set}" = set; then
1550 withval
="$with_cygwin"
1551 wxUSE_CYGWIN
="$withval" CACHE_CYGWIN
=1 TOOLKIT_GIVEN
=1
1554 # Check whether --with-mingw or --without-mingw was given.
1555 if test "${with_mingw+set}" = set; then
1556 withval
="$with_mingw"
1557 wxUSE_MINGW
="$withval" CACHE_MINGW
=1 TOOLKIT_GIVEN
=1
1560 # Check whether --with-pm or --without-pm was given.
1561 if test "${with_pm+set}" = set; then
1563 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
1567 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
1568 if test "${with_gtk_prefix+set}" = set; then
1569 withval
="$with_gtk_prefix"
1570 gtk_config_prefix
="$withval"
1572 gtk_config_prefix
=""
1575 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
1576 if test "${with_gtk_exec_prefix+set}" = set; then
1577 withval
="$with_gtk_exec_prefix"
1578 gtk_config_exec_prefix
="$withval"
1580 gtk_config_exec_prefix
=""
1585 echo $ac_n "checking "for --with-libpng"""... $ac_c" 1>&6
1586 echo "configure:1587: checking "for --with-libpng"" >&5
1588 # Check whether --with-libpng or --without-libpng was given.
1589 if test "${with_libpng+set}" = set; then
1590 withval
="$with_libpng"
1592 if test "$withval" = yes; then
1593 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
1594 elif test "$withval" = no
; then
1595 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
1596 elif test "$withval" = sys
; then
1597 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
1599 { echo "configure: error: Invalid value for --with-libpng: should be yes, no or sys" 1>&2; exit 1; }
1604 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
1605 if test "x$LINE" != x
; then
1606 eval "DEFAULT_$LINE"
1611 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
1616 eval "$ac_cv_use_libpng"
1617 if test "$no_cache" != 1; then
1618 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
1621 if test "$wxUSE_LIBPNG" = yes; then
1622 echo "$ac_t""yes" 1>&6
1623 elif test "$wxUSE_LIBPNG" = no
; then
1624 echo "$ac_t""no" 1>&6
1625 elif test "$wxUSE_LIBPNG" = sys
; then
1626 echo "$ac_t""system version" 1>&6
1628 { echo "configure: error: Invalid value for --with-libpng: should be yes, no or sys" 1>&2; exit 1; }
1632 echo $ac_n "checking "for --with-libjpeg"""... $ac_c" 1>&6
1633 echo "configure:1634: checking "for --with-libjpeg"" >&5
1635 # Check whether --with-libjpeg or --without-libjpeg was given.
1636 if test "${with_libjpeg+set}" = set; then
1637 withval
="$with_libjpeg"
1639 if test "$withval" = yes; then
1640 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
1641 elif test "$withval" = no
; then
1642 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
1643 elif test "$withval" = sys
; then
1644 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
1646 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no or sys" 1>&2; exit 1; }
1651 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
1652 if test "x$LINE" != x
; then
1653 eval "DEFAULT_$LINE"
1658 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
1663 eval "$ac_cv_use_libjpeg"
1664 if test "$no_cache" != 1; then
1665 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
1668 if test "$wxUSE_LIBJPEG" = yes; then
1669 echo "$ac_t""yes" 1>&6
1670 elif test "$wxUSE_LIBJPEG" = no
; then
1671 echo "$ac_t""no" 1>&6
1672 elif test "$wxUSE_LIBJPEG" = sys
; then
1673 echo "$ac_t""system version" 1>&6
1675 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no or sys" 1>&2; exit 1; }
1679 echo $ac_n "checking "for --with-libtiff"""... $ac_c" 1>&6
1680 echo "configure:1681: checking "for --with-libtiff"" >&5
1682 # Check whether --with-libtiff or --without-libtiff was given.
1683 if test "${with_libtiff+set}" = set; then
1684 withval
="$with_libtiff"
1686 if test "$withval" = yes; then
1687 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
1688 elif test "$withval" = no
; then
1689 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
1690 elif test "$withval" = sys
; then
1691 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
1693 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no or sys" 1>&2; exit 1; }
1698 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
1699 if test "x$LINE" != x
; then
1700 eval "DEFAULT_$LINE"
1705 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
1710 eval "$ac_cv_use_libtiff"
1711 if test "$no_cache" != 1; then
1712 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
1715 if test "$wxUSE_LIBTIFF" = yes; then
1716 echo "$ac_t""yes" 1>&6
1717 elif test "$wxUSE_LIBTIFF" = no
; then
1718 echo "$ac_t""no" 1>&6
1719 elif test "$wxUSE_LIBTIFF" = sys
; then
1720 echo "$ac_t""system version" 1>&6
1722 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no or sys" 1>&2; exit 1; }
1726 echo $ac_n "checking "for --with-opengl"""... $ac_c" 1>&6
1727 echo "configure:1728: checking "for --with-opengl"" >&5
1729 # Check whether --with-opengl or --without-opengl was given.
1730 if test "${with_opengl+set}" = set; then
1731 withval
="$with_opengl"
1733 if test "$withval" = yes; then
1734 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
1736 ac_cv_use_opengl
='wxUSE_OPENGL=no'
1741 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
1742 if test "x$LINE" != x
; then
1743 eval "DEFAULT_$LINE"
1748 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
1753 eval "$ac_cv_use_opengl"
1754 if test "$no_cache" != 1; then
1755 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
1758 if test "$wxUSE_OPENGL" = yes; then
1759 echo "$ac_t""yes" 1>&6
1761 echo "$ac_t""no" 1>&6
1768 echo $ac_n "checking "for --with-dmalloc"""... $ac_c" 1>&6
1769 echo "configure:1770: checking "for --with-dmalloc"" >&5
1771 # Check whether --with-dmalloc or --without-dmalloc was given.
1772 if test "${with_dmalloc+set}" = set; then
1773 withval
="$with_dmalloc"
1775 if test "$withval" = yes; then
1776 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
1778 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
1783 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
1784 if test "x$LINE" != x
; then
1785 eval "DEFAULT_$LINE"
1790 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
1795 eval "$ac_cv_use_dmalloc"
1796 if test "$no_cache" != 1; then
1797 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
1800 if test "$wxUSE_DMALLOC" = yes; then
1801 echo "$ac_t""yes" 1>&6
1803 echo "$ac_t""no" 1>&6
1807 echo $ac_n "checking "for --with-zlib"""... $ac_c" 1>&6
1808 echo "configure:1809: checking "for --with-zlib"" >&5
1810 # Check whether --with-zlib or --without-zlib was given.
1811 if test "${with_zlib+set}" = set; then
1812 withval
="$with_zlib"
1814 if test "$withval" = yes; then
1815 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
1816 elif test "$withval" = no
; then
1817 ac_cv_use_zlib
='wxUSE_ZLIB=no'
1818 elif test "$withval" = sys
; then
1819 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
1821 { echo "configure: error: Invalid value for --with-zlib: should be yes, no or sys" 1>&2; exit 1; }
1826 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
1827 if test "x$LINE" != x
; then
1828 eval "DEFAULT_$LINE"
1833 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
1838 eval "$ac_cv_use_zlib"
1839 if test "$no_cache" != 1; then
1840 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
1843 if test "$wxUSE_ZLIB" = yes; then
1844 echo "$ac_t""yes" 1>&6
1845 elif test "$wxUSE_ZLIB" = no
; then
1846 echo "$ac_t""no" 1>&6
1847 elif test "$wxUSE_ZLIB" = sys
; then
1848 echo "$ac_t""system version" 1>&6
1850 { echo "configure: error: Invalid value for --with-zlib: should be yes, no or sys" 1>&2; exit 1; }
1854 echo $ac_n "checking "for --with-odbc"""... $ac_c" 1>&6
1855 echo "configure:1856: checking "for --with-odbc"" >&5
1857 # Check whether --with-odbc or --without-odbc was given.
1858 if test "${with_odbc+set}" = set; then
1859 withval
="$with_odbc"
1861 if test "$withval" = yes; then
1862 ac_cv_use_odbc
='wxUSE_ODBC=yes'
1864 ac_cv_use_odbc
='wxUSE_ODBC=no'
1869 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
1870 if test "x$LINE" != x
; then
1871 eval "DEFAULT_$LINE"
1876 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
1881 eval "$ac_cv_use_odbc"
1882 if test "$no_cache" != 1; then
1883 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
1886 if test "$wxUSE_ODBC" = yes; then
1887 echo "$ac_t""yes" 1>&6
1889 echo "$ac_t""no" 1>&6
1896 echo $ac_n "checking "for --enable-shared"""... $ac_c" 1>&6
1897 echo "configure:1898: checking "for --enable-shared"" >&5
1899 # Check whether --enable-shared or --disable-shared was given.
1900 if test "${enable_shared+set}" = set; then
1901 enableval
="$enable_shared"
1903 if test "$enableval" = yes; then
1904 ac_cv_use_shared
='wxUSE_SHARED=yes'
1906 ac_cv_use_shared
='wxUSE_SHARED=no'
1911 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
1912 if test "x$LINE" != x
; then
1913 eval "DEFAULT_$LINE"
1918 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
1923 eval "$ac_cv_use_shared"
1924 if test "$no_cache" != 1; then
1925 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
1928 if test "$wxUSE_SHARED" = yes; then
1929 echo "$ac_t""yes" 1>&6
1931 echo "$ac_t""no" 1>&6
1935 echo $ac_n "checking "for --enable-burnt_name"""... $ac_c" 1>&6
1936 echo "configure:1937: checking "for --enable-burnt_name"" >&5
1938 # Check whether --enable-burnt_name or --disable-burnt_name was given.
1939 if test "${enable_burnt_name+set}" = set; then
1940 enableval
="$enable_burnt_name"
1942 if test "$enableval" = yes; then
1943 ac_cv_use_burnt_name
='wxUSE_BURNT_NAME=yes'
1945 ac_cv_use_burnt_name
='wxUSE_BURNT_NAME=no'
1950 LINE
=`grep "wxUSE_BURNT_NAME" ${wx_arg_cache_file}`
1951 if test "x$LINE" != x
; then
1952 eval "DEFAULT_$LINE"
1957 ac_cv_use_burnt_name
='wxUSE_BURNT_NAME='$DEFAULT_wxUSE_BURNT_NAME
1962 eval "$ac_cv_use_burnt_name"
1963 if test "$no_cache" != 1; then
1964 echo $ac_cv_use_burnt_name >> ${wx_arg_cache_file}.tmp
1967 if test "$wxUSE_BURNT_NAME" = yes; then
1968 echo "$ac_t""yes" 1>&6
1970 echo "$ac_t""no" 1>&6
1974 echo $ac_n "checking "for --enable-optimise"""... $ac_c" 1>&6
1975 echo "configure:1976: checking "for --enable-optimise"" >&5
1977 # Check whether --enable-optimise or --disable-optimise was given.
1978 if test "${enable_optimise+set}" = set; then
1979 enableval
="$enable_optimise"
1981 if test "$enableval" = yes; then
1982 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
1984 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
1989 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
1990 if test "x$LINE" != x
; then
1991 eval "DEFAULT_$LINE"
1996 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
2001 eval "$ac_cv_use_optimise"
2002 if test "$no_cache" != 1; then
2003 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
2006 if test "$wxUSE_OPTIMISE" = yes; then
2007 echo "$ac_t""yes" 1>&6
2009 echo "$ac_t""no" 1>&6
2013 echo $ac_n "checking "for --enable-debug"""... $ac_c" 1>&6
2014 echo "configure:2015: checking "for --enable-debug"" >&5
2016 # Check whether --enable-debug or --disable-debug was given.
2017 if test "${enable_debug+set}" = set; then
2018 enableval
="$enable_debug"
2020 if test "$enableval" = yes; then
2021 ac_cv_use_debug
='wxUSE_DEBUG=yes'
2023 ac_cv_use_debug
='wxUSE_DEBUG=no'
2028 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
2029 if test "x$LINE" != x
; then
2030 eval "DEFAULT_$LINE"
2035 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
2040 eval "$ac_cv_use_debug"
2041 if test "$no_cache" != 1; then
2042 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
2045 if test "$wxUSE_DEBUG" = yes; then
2046 echo "$ac_t""yes" 1>&6
2048 echo "$ac_t""no" 1>&6
2052 if test "$wxUSE_DEBUG" = "yes"; then
2053 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2054 DEFAULT_wxUSE_DEBUG_INFO
=yes
2055 elif test "$wxUSE_DEBUG" = "no"; then
2056 DEFAULT_wxUSE_DEBUG_FLAG
=no
2057 DEFAULT_wxUSE_DEBUG_INFO
=no
2061 echo $ac_n "checking "for --enable-debug_flag"""... $ac_c" 1>&6
2062 echo "configure:2063: checking "for --enable-debug_flag"" >&5
2064 # Check whether --enable-debug_flag or --disable-debug_flag was given.
2065 if test "${enable_debug_flag+set}" = set; then
2066 enableval
="$enable_debug_flag"
2068 if test "$enableval" = yes; then
2069 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
2071 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
2076 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
2077 if test "x$LINE" != x
; then
2078 eval "DEFAULT_$LINE"
2083 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
2088 eval "$ac_cv_use_debug_flag"
2089 if test "$no_cache" != 1; then
2090 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
2093 if test "$wxUSE_DEBUG_FLAG" = yes; then
2094 echo "$ac_t""yes" 1>&6
2096 echo "$ac_t""no" 1>&6
2100 echo $ac_n "checking "for --enable-debug_info"""... $ac_c" 1>&6
2101 echo "configure:2102: checking "for --enable-debug_info"" >&5
2103 # Check whether --enable-debug_info or --disable-debug_info was given.
2104 if test "${enable_debug_info+set}" = set; then
2105 enableval
="$enable_debug_info"
2107 if test "$enableval" = yes; then
2108 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
2110 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
2115 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
2116 if test "x$LINE" != x
; then
2117 eval "DEFAULT_$LINE"
2122 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
2127 eval "$ac_cv_use_debug_info"
2128 if test "$no_cache" != 1; then
2129 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
2132 if test "$wxUSE_DEBUG_INFO" = yes; then
2133 echo "$ac_t""yes" 1>&6
2135 echo "$ac_t""no" 1>&6
2139 echo $ac_n "checking "for --enable-debug_gdb"""... $ac_c" 1>&6
2140 echo "configure:2141: checking "for --enable-debug_gdb"" >&5
2142 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
2143 if test "${enable_debug_gdb+set}" = set; then
2144 enableval
="$enable_debug_gdb"
2146 if test "$enableval" = yes; then
2147 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
2149 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
2154 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
2155 if test "x$LINE" != x
; then
2156 eval "DEFAULT_$LINE"
2161 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
2166 eval "$ac_cv_use_debug_gdb"
2167 if test "$no_cache" != 1; then
2168 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
2171 if test "$wxUSE_DEBUG_GDB" = yes; then
2172 echo "$ac_t""yes" 1>&6
2174 echo "$ac_t""no" 1>&6
2178 echo $ac_n "checking "for --enable-debug_cntxt"""... $ac_c" 1>&6
2179 echo "configure:2180: checking "for --enable-debug_cntxt"" >&5
2181 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
2182 if test "${enable_debug_cntxt+set}" = set; then
2183 enableval
="$enable_debug_cntxt"
2185 if test "$enableval" = yes; then
2186 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
2188 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
2193 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2194 if test "x$LINE" != x
; then
2195 eval "DEFAULT_$LINE"
2200 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2205 eval "$ac_cv_use_debug_cntxt"
2206 if test "$no_cache" != 1; then
2207 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2210 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2211 echo "$ac_t""yes" 1>&6
2213 echo "$ac_t""no" 1>&6
2217 echo $ac_n "checking "for --enable-mem_tracing"""... $ac_c" 1>&6
2218 echo "configure:2219: checking "for --enable-mem_tracing"" >&5
2220 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2221 if test "${enable_mem_tracing+set}" = set; then
2222 enableval
="$enable_mem_tracing"
2224 if test "$enableval" = yes; then
2225 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
2227 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
2232 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2233 if test "x$LINE" != x
; then
2234 eval "DEFAULT_$LINE"
2239 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2244 eval "$ac_cv_use_mem_tracing"
2245 if test "$no_cache" != 1; then
2246 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2249 if test "$wxUSE_MEM_TRACING" = yes; then
2250 echo "$ac_t""yes" 1>&6
2252 echo "$ac_t""no" 1>&6
2256 echo $ac_n "checking "for --enable-profile"""... $ac_c" 1>&6
2257 echo "configure:2258: checking "for --enable-profile"" >&5
2259 # Check whether --enable-profile or --disable-profile was given.
2260 if test "${enable_profile+set}" = set; then
2261 enableval
="$enable_profile"
2263 if test "$enableval" = yes; then
2264 ac_cv_use_profile
='wxUSE_PROFILE=yes'
2266 ac_cv_use_profile
='wxUSE_PROFILE=no'
2271 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2272 if test "x$LINE" != x
; then
2273 eval "DEFAULT_$LINE"
2278 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2283 eval "$ac_cv_use_profile"
2284 if test "$no_cache" != 1; then
2285 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2288 if test "$wxUSE_PROFILE" = yes; then
2289 echo "$ac_t""yes" 1>&6
2291 echo "$ac_t""no" 1>&6
2295 echo $ac_n "checking "for --enable-no_rtti"""... $ac_c" 1>&6
2296 echo "configure:2297: checking "for --enable-no_rtti"" >&5
2298 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2299 if test "${enable_no_rtti+set}" = set; then
2300 enableval
="$enable_no_rtti"
2302 if test "$enableval" = yes; then
2303 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
2305 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
2310 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2311 if test "x$LINE" != x
; then
2312 eval "DEFAULT_$LINE"
2317 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2322 eval "$ac_cv_use_no_rtti"
2323 if test "$no_cache" != 1; then
2324 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2327 if test "$wxUSE_NO_RTTI" = yes; then
2328 echo "$ac_t""yes" 1>&6
2330 echo "$ac_t""no" 1>&6
2334 echo $ac_n "checking "for --enable-no_exceptions"""... $ac_c" 1>&6
2335 echo "configure:2336: checking "for --enable-no_exceptions"" >&5
2337 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2338 if test "${enable_no_exceptions+set}" = set; then
2339 enableval
="$enable_no_exceptions"
2341 if test "$enableval" = yes; then
2342 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
2344 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
2349 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2350 if test "x$LINE" != x
; then
2351 eval "DEFAULT_$LINE"
2356 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2361 eval "$ac_cv_use_no_exceptions"
2362 if test "$no_cache" != 1; then
2363 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2366 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2367 echo "$ac_t""yes" 1>&6
2369 echo "$ac_t""no" 1>&6
2373 echo $ac_n "checking "for --enable-permissive"""... $ac_c" 1>&6
2374 echo "configure:2375: checking "for --enable-permissive"" >&5
2376 # Check whether --enable-permissive or --disable-permissive was given.
2377 if test "${enable_permissive+set}" = set; then
2378 enableval
="$enable_permissive"
2380 if test "$enableval" = yes; then
2381 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
2383 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
2388 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2389 if test "x$LINE" != x
; then
2390 eval "DEFAULT_$LINE"
2395 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
2400 eval "$ac_cv_use_permissive"
2401 if test "$no_cache" != 1; then
2402 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
2405 if test "$wxUSE_PERMISSIVE" = yes; then
2406 echo "$ac_t""yes" 1>&6
2408 echo "$ac_t""no" 1>&6
2412 echo $ac_n "checking "for --enable-no_deps"""... $ac_c" 1>&6
2413 echo "configure:2414: checking "for --enable-no_deps"" >&5
2415 # Check whether --enable-no_deps or --disable-no_deps was given.
2416 if test "${enable_no_deps+set}" = set; then
2417 enableval
="$enable_no_deps"
2419 if test "$enableval" = yes; then
2420 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
2422 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
2427 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
2428 if test "x$LINE" != x
; then
2429 eval "DEFAULT_$LINE"
2434 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
2439 eval "$ac_cv_use_no_deps"
2440 if test "$no_cache" != 1; then
2441 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
2444 if test "$wxUSE_NO_DEPS" = yes; then
2445 echo "$ac_t""yes" 1>&6
2447 echo "$ac_t""no" 1>&6
2453 echo $ac_n "checking "for --enable-intl"""... $ac_c" 1>&6
2454 echo "configure:2455: checking "for --enable-intl"" >&5
2456 # Check whether --enable-intl or --disable-intl was given.
2457 if test "${enable_intl+set}" = set; then
2458 enableval
="$enable_intl"
2460 if test "$enableval" = yes; then
2461 ac_cv_use_intl
='wxUSE_INTL=yes'
2463 ac_cv_use_intl
='wxUSE_INTL=no'
2468 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
2469 if test "x$LINE" != x
; then
2470 eval "DEFAULT_$LINE"
2475 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
2480 eval "$ac_cv_use_intl"
2481 if test "$no_cache" != 1; then
2482 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
2485 if test "$wxUSE_INTL" = yes; then
2486 echo "$ac_t""yes" 1>&6
2488 echo "$ac_t""no" 1>&6
2492 echo $ac_n "checking "for --enable-config"""... $ac_c" 1>&6
2493 echo "configure:2494: checking "for --enable-config"" >&5
2495 # Check whether --enable-config or --disable-config was given.
2496 if test "${enable_config+set}" = set; then
2497 enableval
="$enable_config"
2499 if test "$enableval" = yes; then
2500 ac_cv_use_config
='wxUSE_CONFIG=yes'
2502 ac_cv_use_config
='wxUSE_CONFIG=no'
2507 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
2508 if test "x$LINE" != x
; then
2509 eval "DEFAULT_$LINE"
2514 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
2519 eval "$ac_cv_use_config"
2520 if test "$no_cache" != 1; then
2521 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
2524 if test "$wxUSE_CONFIG" = yes; then
2525 echo "$ac_t""yes" 1>&6
2527 echo "$ac_t""no" 1>&6
2531 if test "$wxUSE_GUI" = "yes"; then
2533 echo $ac_n "checking "for --enable-sockets"""... $ac_c" 1>&6
2534 echo "configure:2535: checking "for --enable-sockets"" >&5
2536 # Check whether --enable-sockets or --disable-sockets was given.
2537 if test "${enable_sockets+set}" = set; then
2538 enableval
="$enable_sockets"
2540 if test "$enableval" = yes; then
2541 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
2543 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
2548 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
2549 if test "x$LINE" != x
; then
2550 eval "DEFAULT_$LINE"
2555 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
2560 eval "$ac_cv_use_sockets"
2561 if test "$no_cache" != 1; then
2562 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
2565 if test "$wxUSE_SOCKETS" = yes; then
2566 echo "$ac_t""yes" 1>&6
2568 echo "$ac_t""no" 1>&6
2576 echo $ac_n "checking "for --enable-dialupman"""... $ac_c" 1>&6
2577 echo "configure:2578: checking "for --enable-dialupman"" >&5
2579 # Check whether --enable-dialupman or --disable-dialupman was given.
2580 if test "${enable_dialupman+set}" = set; then
2581 enableval
="$enable_dialupman"
2583 if test "$enableval" = yes; then
2584 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
2586 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
2591 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
2592 if test "x$LINE" != x
; then
2593 eval "DEFAULT_$LINE"
2598 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
2603 eval "$ac_cv_use_dialupman"
2604 if test "$no_cache" != 1; then
2605 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
2608 if test "$wxUSE_DIALUP_MANAGER" = yes; then
2609 echo "$ac_t""yes" 1>&6
2611 echo "$ac_t""no" 1>&6
2615 echo $ac_n "checking "for --enable-ipc"""... $ac_c" 1>&6
2616 echo "configure:2617: checking "for --enable-ipc"" >&5
2618 # Check whether --enable-ipc or --disable-ipc was given.
2619 if test "${enable_ipc+set}" = set; then
2620 enableval
="$enable_ipc"
2622 if test "$enableval" = yes; then
2623 ac_cv_use_ipc
='wxUSE_IPC=yes'
2625 ac_cv_use_ipc
='wxUSE_IPC=no'
2630 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
2631 if test "x$LINE" != x
; then
2632 eval "DEFAULT_$LINE"
2637 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
2642 eval "$ac_cv_use_ipc"
2643 if test "$no_cache" != 1; then
2644 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
2647 if test "$wxUSE_IPC" = yes; then
2648 echo "$ac_t""yes" 1>&6
2650 echo "$ac_t""no" 1>&6
2654 echo $ac_n "checking "for --enable-apple_ieee"""... $ac_c" 1>&6
2655 echo "configure:2656: checking "for --enable-apple_ieee"" >&5
2657 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
2658 if test "${enable_apple_ieee+set}" = set; then
2659 enableval
="$enable_apple_ieee"
2661 if test "$enableval" = yes; then
2662 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
2664 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
2669 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
2670 if test "x$LINE" != x
; then
2671 eval "DEFAULT_$LINE"
2676 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
2681 eval "$ac_cv_use_apple_ieee"
2682 if test "$no_cache" != 1; then
2683 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
2686 if test "$wxUSE_APPLE_IEEE" = yes; then
2687 echo "$ac_t""yes" 1>&6
2689 echo "$ac_t""no" 1>&6
2693 echo $ac_n "checking "for --enable-timedate"""... $ac_c" 1>&6
2694 echo "configure:2695: checking "for --enable-timedate"" >&5
2696 # Check whether --enable-timedate or --disable-timedate was given.
2697 if test "${enable_timedate+set}" = set; then
2698 enableval
="$enable_timedate"
2700 if test "$enableval" = yes; then
2701 ac_cv_use_timedate
='wxUSE_TIMEDATE=yes'
2703 ac_cv_use_timedate
='wxUSE_TIMEDATE=no'
2708 LINE
=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}`
2709 if test "x$LINE" != x
; then
2710 eval "DEFAULT_$LINE"
2715 ac_cv_use_timedate
='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
2720 eval "$ac_cv_use_timedate"
2721 if test "$no_cache" != 1; then
2722 echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp
2725 if test "$wxUSE_TIMEDATE" = yes; then
2726 echo "$ac_t""yes" 1>&6
2728 echo "$ac_t""no" 1>&6
2732 echo $ac_n "checking "for --enable-wave"""... $ac_c" 1>&6
2733 echo "configure:2734: checking "for --enable-wave"" >&5
2735 # Check whether --enable-wave or --disable-wave was given.
2736 if test "${enable_wave+set}" = set; then
2737 enableval
="$enable_wave"
2739 if test "$enableval" = yes; then
2740 ac_cv_use_wave
='wxUSE_WAVE=yes'
2742 ac_cv_use_wave
='wxUSE_WAVE=no'
2747 LINE
=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
2748 if test "x$LINE" != x
; then
2749 eval "DEFAULT_$LINE"
2754 ac_cv_use_wave
='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
2759 eval "$ac_cv_use_wave"
2760 if test "$no_cache" != 1; then
2761 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
2764 if test "$wxUSE_WAVE" = yes; then
2765 echo "$ac_t""yes" 1>&6
2767 echo "$ac_t""no" 1>&6
2771 echo $ac_n "checking "for --enable-fraction"""... $ac_c" 1>&6
2772 echo "configure:2773: checking "for --enable-fraction"" >&5
2774 # Check whether --enable-fraction or --disable-fraction was given.
2775 if test "${enable_fraction+set}" = set; then
2776 enableval
="$enable_fraction"
2778 if test "$enableval" = yes; then
2779 ac_cv_use_fraction
='wxUSE_FRACTION=yes'
2781 ac_cv_use_fraction
='wxUSE_FRACTION=no'
2786 LINE
=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
2787 if test "x$LINE" != x
; then
2788 eval "DEFAULT_$LINE"
2793 ac_cv_use_fraction
='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
2798 eval "$ac_cv_use_fraction"
2799 if test "$no_cache" != 1; then
2800 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
2803 if test "$wxUSE_FRACTION" = yes; then
2804 echo "$ac_t""yes" 1>&6
2806 echo "$ac_t""no" 1>&6
2810 echo $ac_n "checking "for --enable-dynlib"""... $ac_c" 1>&6
2811 echo "configure:2812: checking "for --enable-dynlib"" >&5
2813 # Check whether --enable-dynlib or --disable-dynlib was given.
2814 if test "${enable_dynlib+set}" = set; then
2815 enableval
="$enable_dynlib"
2817 if test "$enableval" = yes; then
2818 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
2820 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
2825 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
2826 if test "x$LINE" != x
; then
2827 eval "DEFAULT_$LINE"
2832 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
2837 eval "$ac_cv_use_dynlib"
2838 if test "$no_cache" != 1; then
2839 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
2842 if test "$wxUSE_DYNLIB_CLASS" = yes; then
2843 echo "$ac_t""yes" 1>&6
2845 echo "$ac_t""no" 1>&6
2849 echo $ac_n "checking "for --enable-longlong"""... $ac_c" 1>&6
2850 echo "configure:2851: checking "for --enable-longlong"" >&5
2852 # Check whether --enable-longlong or --disable-longlong was given.
2853 if test "${enable_longlong+set}" = set; then
2854 enableval
="$enable_longlong"
2856 if test "$enableval" = yes; then
2857 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
2859 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
2864 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
2865 if test "x$LINE" != x
; then
2866 eval "DEFAULT_$LINE"
2871 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
2876 eval "$ac_cv_use_longlong"
2877 if test "$no_cache" != 1; then
2878 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
2881 if test "$wxUSE_LONGLONG" = yes; then
2882 echo "$ac_t""yes" 1>&6
2884 echo "$ac_t""no" 1>&6
2888 echo $ac_n "checking "for --enable-log"""... $ac_c" 1>&6
2889 echo "configure:2890: checking "for --enable-log"" >&5
2891 # Check whether --enable-log or --disable-log was given.
2892 if test "${enable_log+set}" = set; then
2893 enableval
="$enable_log"
2895 if test "$enableval" = yes; then
2896 ac_cv_use_log
='wxUSE_LOG=yes'
2898 ac_cv_use_log
='wxUSE_LOG=no'
2903 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
2904 if test "x$LINE" != x
; then
2905 eval "DEFAULT_$LINE"
2910 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
2915 eval "$ac_cv_use_log"
2916 if test "$no_cache" != 1; then
2917 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
2920 if test "$wxUSE_LOG" = yes; then
2921 echo "$ac_t""yes" 1>&6
2923 echo "$ac_t""no" 1>&6
2927 echo $ac_n "checking "for --enable-streams"""... $ac_c" 1>&6
2928 echo "configure:2929: checking "for --enable-streams"" >&5
2930 # Check whether --enable-streams or --disable-streams was given.
2931 if test "${enable_streams+set}" = set; then
2932 enableval
="$enable_streams"
2934 if test "$enableval" = yes; then
2935 ac_cv_use_streams
='wxUSE_STREAMS=yes'
2937 ac_cv_use_streams
='wxUSE_STREAMS=no'
2942 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
2943 if test "x$LINE" != x
; then
2944 eval "DEFAULT_$LINE"
2949 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
2954 eval "$ac_cv_use_streams"
2955 if test "$no_cache" != 1; then
2956 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
2959 if test "$wxUSE_STREAMS" = yes; then
2960 echo "$ac_t""yes" 1>&6
2962 echo "$ac_t""no" 1>&6
2966 echo $ac_n "checking "for --enable-file"""... $ac_c" 1>&6
2967 echo "configure:2968: checking "for --enable-file"" >&5
2969 # Check whether --enable-file or --disable-file was given.
2970 if test "${enable_file+set}" = set; then
2971 enableval
="$enable_file"
2973 if test "$enableval" = yes; then
2974 ac_cv_use_file
='wxUSE_FILE=yes'
2976 ac_cv_use_file
='wxUSE_FILE=no'
2981 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
2982 if test "x$LINE" != x
; then
2983 eval "DEFAULT_$LINE"
2988 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
2993 eval "$ac_cv_use_file"
2994 if test "$no_cache" != 1; then
2995 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
2998 if test "$wxUSE_FILE" = yes; then
2999 echo "$ac_t""yes" 1>&6
3001 echo "$ac_t""no" 1>&6
3005 echo $ac_n "checking "for --enable-textfile"""... $ac_c" 1>&6
3006 echo "configure:3007: checking "for --enable-textfile"" >&5
3008 # Check whether --enable-textfile or --disable-textfile was given.
3009 if test "${enable_textfile+set}" = set; then
3010 enableval
="$enable_textfile"
3012 if test "$enableval" = yes; then
3013 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
3015 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
3020 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
3021 if test "x$LINE" != x
; then
3022 eval "DEFAULT_$LINE"
3027 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
3032 eval "$ac_cv_use_textfile"
3033 if test "$no_cache" != 1; then
3034 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
3037 if test "$wxUSE_TEXTFILE" = yes; then
3038 echo "$ac_t""yes" 1>&6
3040 echo "$ac_t""no" 1>&6
3044 echo $ac_n "checking "for --enable-unicode"""... $ac_c" 1>&6
3045 echo "configure:3046: checking "for --enable-unicode"" >&5
3047 # Check whether --enable-unicode or --disable-unicode was given.
3048 if test "${enable_unicode+set}" = set; then
3049 enableval
="$enable_unicode"
3051 if test "$enableval" = yes; then
3052 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
3054 ac_cv_use_unicode
='wxUSE_UNICODE=no'
3059 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
3060 if test "x$LINE" != x
; then
3061 eval "DEFAULT_$LINE"
3066 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
3071 eval "$ac_cv_use_unicode"
3072 if test "$no_cache" != 1; then
3073 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
3076 if test "$wxUSE_UNICODE" = yes; then
3077 echo "$ac_t""yes" 1>&6
3079 echo "$ac_t""no" 1>&6
3083 echo $ac_n "checking "for --enable-wcsrtombs"""... $ac_c" 1>&6
3084 echo "configure:3085: checking "for --enable-wcsrtombs"" >&5
3086 # Check whether --enable-wcsrtombs or --disable-wcsrtombs was given.
3087 if test "${enable_wcsrtombs+set}" = set; then
3088 enableval
="$enable_wcsrtombs"
3090 if test "$enableval" = yes; then
3091 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS=yes'
3093 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS=no'
3098 LINE
=`grep "wxUSE_WCSRTOMBS" ${wx_arg_cache_file}`
3099 if test "x$LINE" != x
; then
3100 eval "DEFAULT_$LINE"
3105 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS='$DEFAULT_wxUSE_WCSRTOMBS
3110 eval "$ac_cv_use_wcsrtombs"
3111 if test "$no_cache" != 1; then
3112 echo $ac_cv_use_wcsrtombs >> ${wx_arg_cache_file}.tmp
3115 if test "$wxUSE_WCSRTOMBS" = yes; then
3116 echo "$ac_t""yes" 1>&6
3118 echo "$ac_t""no" 1>&6
3122 echo $ac_n "checking "for --enable-wxprintfv"""... $ac_c" 1>&6
3123 echo "configure:3124: checking "for --enable-wxprintfv"" >&5
3125 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
3126 if test "${enable_wxprintfv+set}" = set; then
3127 enableval
="$enable_wxprintfv"
3129 if test "$enableval" = yes; then
3130 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
3132 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
3137 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
3138 if test "x$LINE" != x
; then
3139 eval "DEFAULT_$LINE"
3144 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
3149 eval "$ac_cv_use_wxprintfv"
3150 if test "$no_cache" != 1; then
3151 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
3154 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
3155 echo "$ac_t""yes" 1>&6
3157 echo "$ac_t""no" 1>&6
3161 echo $ac_n "checking "for --enable-joystick"""... $ac_c" 1>&6
3162 echo "configure:3163: checking "for --enable-joystick"" >&5
3164 # Check whether --enable-joystick or --disable-joystick was given.
3165 if test "${enable_joystick+set}" = set; then
3166 enableval
="$enable_joystick"
3168 if test "$enableval" = yes; then
3169 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
3171 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
3176 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
3177 if test "x$LINE" != x
; then
3178 eval "DEFAULT_$LINE"
3183 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
3188 eval "$ac_cv_use_joystick"
3189 if test "$no_cache" != 1; then
3190 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
3193 if test "$wxUSE_JOYSTICK" = yes; then
3194 echo "$ac_t""yes" 1>&6
3196 echo "$ac_t""no" 1>&6
3200 echo $ac_n "checking "for --enable-std_iostreams"""... $ac_c" 1>&6
3201 echo "configure:3202: checking "for --enable-std_iostreams"" >&5
3203 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
3204 if test "${enable_std_iostreams+set}" = set; then
3205 enableval
="$enable_std_iostreams"
3207 if test "$enableval" = yes; then
3208 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
3210 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
3215 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
3216 if test "x$LINE" != x
; then
3217 eval "DEFAULT_$LINE"
3222 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
3227 eval "$ac_cv_use_std_iostreams"
3228 if test "$no_cache" != 1; then
3229 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
3232 if test "$wxUSE_STD_IOSTREAM" = yes; then
3233 echo "$ac_t""yes" 1>&6
3235 echo "$ac_t""no" 1>&6
3239 echo $ac_n "checking "for --enable-filesystem"""... $ac_c" 1>&6
3240 echo "configure:3241: checking "for --enable-filesystem"" >&5
3242 # Check whether --enable-filesystem or --disable-filesystem was given.
3243 if test "${enable_filesystem+set}" = set; then
3244 enableval
="$enable_filesystem"
3246 if test "$enableval" = yes; then
3247 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
3249 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
3254 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
3255 if test "x$LINE" != x
; then
3256 eval "DEFAULT_$LINE"
3261 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
3266 eval "$ac_cv_use_filesystem"
3267 if test "$no_cache" != 1; then
3268 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
3271 if test "$wxUSE_FILESYSTEM" = yes; then
3272 echo "$ac_t""yes" 1>&6
3274 echo "$ac_t""no" 1>&6
3278 echo $ac_n "checking "for --enable-fs_inet"""... $ac_c" 1>&6
3279 echo "configure:3280: checking "for --enable-fs_inet"" >&5
3281 # Check whether --enable-fs_inet or --disable-fs_inet was given.
3282 if test "${enable_fs_inet+set}" = set; then
3283 enableval
="$enable_fs_inet"
3285 if test "$enableval" = yes; then
3286 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
3288 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
3293 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
3294 if test "x$LINE" != x
; then
3295 eval "DEFAULT_$LINE"
3300 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
3305 eval "$ac_cv_use_fs_inet"
3306 if test "$no_cache" != 1; then
3307 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
3310 if test "$wxUSE_FS_INET" = yes; then
3311 echo "$ac_t""yes" 1>&6
3313 echo "$ac_t""no" 1>&6
3317 echo $ac_n "checking "for --enable-fs_zip"""... $ac_c" 1>&6
3318 echo "configure:3319: checking "for --enable-fs_zip"" >&5
3320 # Check whether --enable-fs_zip or --disable-fs_zip was given.
3321 if test "${enable_fs_zip+set}" = set; then
3322 enableval
="$enable_fs_zip"
3324 if test "$enableval" = yes; then
3325 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
3327 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
3332 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
3333 if test "x$LINE" != x
; then
3334 eval "DEFAULT_$LINE"
3339 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
3344 eval "$ac_cv_use_fs_zip"
3345 if test "$no_cache" != 1; then
3346 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
3349 if test "$wxUSE_FS_ZIP" = yes; then
3350 echo "$ac_t""yes" 1>&6
3352 echo "$ac_t""no" 1>&6
3356 echo $ac_n "checking "for --enable-zipstream"""... $ac_c" 1>&6
3357 echo "configure:3358: checking "for --enable-zipstream"" >&5
3359 # Check whether --enable-zipstream or --disable-zipstream was given.
3360 if test "${enable_zipstream+set}" = set; then
3361 enableval
="$enable_zipstream"
3363 if test "$enableval" = yes; then
3364 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
3366 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
3371 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
3372 if test "x$LINE" != x
; then
3373 eval "DEFAULT_$LINE"
3378 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
3383 eval "$ac_cv_use_zipstream"
3384 if test "$no_cache" != 1; then
3385 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
3388 if test "$wxUSE_ZIPSTREAM" = yes; then
3389 echo "$ac_t""yes" 1>&6
3391 echo "$ac_t""no" 1>&6
3397 echo $ac_n "checking "for --enable-threads"""... $ac_c" 1>&6
3398 echo "configure:3399: checking "for --enable-threads"" >&5
3400 # Check whether --enable-threads or --disable-threads was given.
3401 if test "${enable_threads+set}" = set; then
3402 enableval
="$enable_threads"
3404 if test "$enableval" = yes; then
3405 ac_cv_use_threads
='wxUSE_THREADS=yes'
3407 ac_cv_use_threads
='wxUSE_THREADS=no'
3412 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
3413 if test "x$LINE" != x
; then
3414 eval "DEFAULT_$LINE"
3419 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
3424 eval "$ac_cv_use_threads"
3425 if test "$no_cache" != 1; then
3426 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
3429 if test "$wxUSE_THREADS" = yes; then
3430 echo "$ac_t""yes" 1>&6
3432 echo "$ac_t""no" 1>&6
3436 echo $ac_n "checking "for --enable-serial"""... $ac_c" 1>&6
3437 echo "configure:3438: checking "for --enable-serial"" >&5
3439 # Check whether --enable-serial or --disable-serial was given.
3440 if test "${enable_serial+set}" = set; then
3441 enableval
="$enable_serial"
3443 if test "$enableval" = yes; then
3444 ac_cv_use_serial
='wxUSE_SERIAL=yes'
3446 ac_cv_use_serial
='wxUSE_SERIAL=no'
3451 LINE
=`grep "wxUSE_SERIAL" ${wx_arg_cache_file}`
3452 if test "x$LINE" != x
; then
3453 eval "DEFAULT_$LINE"
3458 ac_cv_use_serial
='wxUSE_SERIAL='$DEFAULT_wxUSE_SERIAL
3463 eval "$ac_cv_use_serial"
3464 if test "$no_cache" != 1; then
3465 echo $ac_cv_use_serial >> ${wx_arg_cache_file}.tmp
3468 if test "$wxUSE_SERIAL" = yes; then
3469 echo "$ac_t""yes" 1>&6
3471 echo "$ac_t""no" 1>&6
3475 if test "$wxUSE_GUI" = "yes"; then
3479 echo $ac_n "checking "for --enable-docview"""... $ac_c" 1>&6
3480 echo "configure:3481: checking "for --enable-docview"" >&5
3482 # Check whether --enable-docview or --disable-docview was given.
3483 if test "${enable_docview+set}" = set; then
3484 enableval
="$enable_docview"
3486 if test "$enableval" = yes; then
3487 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
3489 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
3494 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
3495 if test "x$LINE" != x
; then
3496 eval "DEFAULT_$LINE"
3501 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
3506 eval "$ac_cv_use_docview"
3507 if test "$no_cache" != 1; then
3508 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
3511 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
3512 echo "$ac_t""yes" 1>&6
3514 echo "$ac_t""no" 1>&6
3518 echo $ac_n "checking "for --enable-help"""... $ac_c" 1>&6
3519 echo "configure:3520: checking "for --enable-help"" >&5
3521 # Check whether --enable-help or --disable-help was given.
3522 if test "${enable_help+set}" = set; then
3523 enableval
="$enable_help"
3525 if test "$enableval" = yes; then
3526 ac_cv_use_help
='wxUSE_HELP=yes'
3528 ac_cv_use_help
='wxUSE_HELP=no'
3533 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
3534 if test "x$LINE" != x
; then
3535 eval "DEFAULT_$LINE"
3540 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
3545 eval "$ac_cv_use_help"
3546 if test "$no_cache" != 1; then
3547 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
3550 if test "$wxUSE_HELP" = yes; then
3551 echo "$ac_t""yes" 1>&6
3553 echo "$ac_t""no" 1>&6
3557 echo $ac_n "checking "for --enable-constraints"""... $ac_c" 1>&6
3558 echo "configure:3559: checking "for --enable-constraints"" >&5
3560 # Check whether --enable-constraints or --disable-constraints was given.
3561 if test "${enable_constraints+set}" = set; then
3562 enableval
="$enable_constraints"
3564 if test "$enableval" = yes; then
3565 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
3567 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
3572 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
3573 if test "x$LINE" != x
; then
3574 eval "DEFAULT_$LINE"
3579 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
3584 eval "$ac_cv_use_constraints"
3585 if test "$no_cache" != 1; then
3586 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
3589 if test "$wxUSE_CONSTRAINTS" = yes; then
3590 echo "$ac_t""yes" 1>&6
3592 echo "$ac_t""no" 1>&6
3596 echo $ac_n "checking "for --enable-printarch"""... $ac_c" 1>&6
3597 echo "configure:3598: checking "for --enable-printarch"" >&5
3599 # Check whether --enable-printarch or --disable-printarch was given.
3600 if test "${enable_printarch+set}" = set; then
3601 enableval
="$enable_printarch"
3603 if test "$enableval" = yes; then
3604 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
3606 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
3611 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
3612 if test "x$LINE" != x
; then
3613 eval "DEFAULT_$LINE"
3618 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
3623 eval "$ac_cv_use_printarch"
3624 if test "$no_cache" != 1; then
3625 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
3628 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
3629 echo "$ac_t""yes" 1>&6
3631 echo "$ac_t""no" 1>&6
3635 echo $ac_n "checking "for --enable-mdi"""... $ac_c" 1>&6
3636 echo "configure:3637: checking "for --enable-mdi"" >&5
3638 # Check whether --enable-mdi or --disable-mdi was given.
3639 if test "${enable_mdi+set}" = set; then
3640 enableval
="$enable_mdi"
3642 if test "$enableval" = yes; then
3643 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=yes'
3645 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=no'
3650 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
3651 if test "x$LINE" != x
; then
3652 eval "DEFAULT_$LINE"
3657 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
3662 eval "$ac_cv_use_mdi"
3663 if test "$no_cache" != 1; then
3664 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
3667 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
3668 echo "$ac_t""yes" 1>&6
3670 echo "$ac_t""no" 1>&6
3675 echo $ac_n "checking "for --enable-postscript"""... $ac_c" 1>&6
3676 echo "configure:3677: checking "for --enable-postscript"" >&5
3678 # Check whether --enable-postscript or --disable-postscript was given.
3679 if test "${enable_postscript+set}" = set; then
3680 enableval
="$enable_postscript"
3682 if test "$enableval" = yes; then
3683 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
3685 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
3690 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
3691 if test "x$LINE" != x
; then
3692 eval "DEFAULT_$LINE"
3697 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
3702 eval "$ac_cv_use_postscript"
3703 if test "$no_cache" != 1; then
3704 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
3707 if test "$wxUSE_POSTSCRIPT" = yes; then
3708 echo "$ac_t""yes" 1>&6
3710 echo "$ac_t""no" 1>&6
3716 echo $ac_n "checking "for --enable-prologio"""... $ac_c" 1>&6
3717 echo "configure:3718: checking "for --enable-prologio"" >&5
3719 # Check whether --enable-prologio or --disable-prologio was given.
3720 if test "${enable_prologio+set}" = set; then
3721 enableval
="$enable_prologio"
3723 if test "$enableval" = yes; then
3724 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
3726 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
3731 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
3732 if test "x$LINE" != x
; then
3733 eval "DEFAULT_$LINE"
3738 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
3743 eval "$ac_cv_use_prologio"
3744 if test "$no_cache" != 1; then
3745 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
3748 if test "$wxUSE_PROLOGIO" = yes; then
3749 echo "$ac_t""yes" 1>&6
3751 echo "$ac_t""no" 1>&6
3755 echo $ac_n "checking "for --enable-resources"""... $ac_c" 1>&6
3756 echo "configure:3757: checking "for --enable-resources"" >&5
3758 # Check whether --enable-resources or --disable-resources was given.
3759 if test "${enable_resources+set}" = set; then
3760 enableval
="$enable_resources"
3762 if test "$enableval" = yes; then
3763 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
3765 ac_cv_use_resources
='wxUSE_RESOURCES=no'
3770 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
3771 if test "x$LINE" != x
; then
3772 eval "DEFAULT_$LINE"
3777 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
3782 eval "$ac_cv_use_resources"
3783 if test "$no_cache" != 1; then
3784 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
3787 if test "$wxUSE_RESOURCES" = yes; then
3788 echo "$ac_t""yes" 1>&6
3790 echo "$ac_t""no" 1>&6
3795 echo $ac_n "checking "for --enable-xresources"""... $ac_c" 1>&6
3796 echo "configure:3797: checking "for --enable-xresources"" >&5
3798 # Check whether --enable-xresources or --disable-xresources was given.
3799 if test "${enable_xresources+set}" = set; then
3800 enableval
="$enable_xresources"
3802 if test "$enableval" = yes; then
3803 ac_cv_use_xresources
='wxUSE_X_RESOURCES=yes'
3805 ac_cv_use_xresources
='wxUSE_X_RESOURCES=no'
3810 LINE
=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
3811 if test "x$LINE" != x
; then
3812 eval "DEFAULT_$LINE"
3817 ac_cv_use_xresources
='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
3822 eval "$ac_cv_use_xresources"
3823 if test "$no_cache" != 1; then
3824 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
3827 if test "$wxUSE_X_RESOURCES" = yes; then
3828 echo "$ac_t""yes" 1>&6
3830 echo "$ac_t""no" 1>&6
3836 echo $ac_n "checking "for --enable-clipboard"""... $ac_c" 1>&6
3837 echo "configure:3838: checking "for --enable-clipboard"" >&5
3839 # Check whether --enable-clipboard or --disable-clipboard was given.
3840 if test "${enable_clipboard+set}" = set; then
3841 enableval
="$enable_clipboard"
3843 if test "$enableval" = yes; then
3844 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
3846 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
3851 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
3852 if test "x$LINE" != x
; then
3853 eval "DEFAULT_$LINE"
3858 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
3863 eval "$ac_cv_use_clipboard"
3864 if test "$no_cache" != 1; then
3865 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
3868 if test "$wxUSE_CLIPBOARD" = yes; then
3869 echo "$ac_t""yes" 1>&6
3871 echo "$ac_t""no" 1>&6
3875 echo $ac_n "checking "for --enable-dnd"""... $ac_c" 1>&6
3876 echo "configure:3877: checking "for --enable-dnd"" >&5
3878 # Check whether --enable-dnd or --disable-dnd was given.
3879 if test "${enable_dnd+set}" = set; then
3880 enableval
="$enable_dnd"
3882 if test "$enableval" = yes; then
3883 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
3885 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
3890 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
3891 if test "x$LINE" != x
; then
3892 eval "DEFAULT_$LINE"
3897 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
3902 eval "$ac_cv_use_dnd"
3903 if test "$no_cache" != 1; then
3904 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
3907 if test "$wxUSE_DRAG_AND_DROP" = yes; then
3908 echo "$ac_t""yes" 1>&6
3910 echo "$ac_t""no" 1>&6
3915 echo $ac_n "checking "for --enable-wxtree"""... $ac_c" 1>&6
3916 echo "configure:3917: checking "for --enable-wxtree"" >&5
3918 # Check whether --enable-wxtree or --disable-wxtree was given.
3919 if test "${enable_wxtree+set}" = set; then
3920 enableval
="$enable_wxtree"
3922 if test "$enableval" = yes; then
3923 ac_cv_use_wxtree
='wxUSE_WXTREE=yes'
3925 ac_cv_use_wxtree
='wxUSE_WXTREE=no'
3930 LINE
=`grep "wxUSE_WXTREE" ${wx_arg_cache_file}`
3931 if test "x$LINE" != x
; then
3932 eval "DEFAULT_$LINE"
3937 ac_cv_use_wxtree
='wxUSE_WXTREE='$DEFAULT_wxUSE_WXTREE
3942 eval "$ac_cv_use_wxtree"
3943 if test "$no_cache" != 1; then
3944 echo $ac_cv_use_wxtree >> ${wx_arg_cache_file}.tmp
3947 if test "$wxUSE_WXTREE" = yes; then
3948 echo "$ac_t""yes" 1>&6
3950 echo "$ac_t""no" 1>&6
3956 echo $ac_n "checking "for --enable-controls"""... $ac_c" 1>&6
3957 echo "configure:3958: checking "for --enable-controls"" >&5
3959 # Check whether --enable-controls or --disable-controls was given.
3960 if test "${enable_controls+set}" = set; then
3961 enableval
="$enable_controls"
3963 if test "$enableval" = yes; then
3964 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
3966 ac_cv_use_controls
='wxUSE_CONTROLS=no'
3971 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
3972 if test "x$LINE" != x
; then
3973 eval "DEFAULT_$LINE"
3978 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
3983 eval "$ac_cv_use_controls"
3984 if test "$no_cache" != 1; then
3985 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
3988 if test "$wxUSE_CONTROLS" = yes; then
3989 echo "$ac_t""yes" 1>&6
3991 echo "$ac_t""no" 1>&6
3995 if test "$wxUSE_CONTROLS" = "yes"; then
3996 DEFAULT_wxUSE_ACCEL
=yes
3997 DEFAULT_wxUSE_CARET
=yes
3998 DEFAULT_wxUSE_COMBOBOX
=yes
3999 DEFAULT_wxUSE_BMPBUTTON
=yes
4000 DEFAULT_wxUSE_CHECKBOX
=yes
4001 DEFAULT_wxUSE_CHECKLISTBOX
=yes
4002 DEFAULT_wxUSE_CHOICE
=yes
4003 DEFAULT_wxUSE_GAUGE
=yes
4004 DEFAULT_wxUSE_GRID
=yes
4005 DEFAULT_wxUSE_NEW_GRID
=yes
4006 DEFAULT_wxUSE_IMAGLIST
=yes
4007 DEFAULT_wxUSE_LISTBOX
=yes
4008 DEFAULT_wxUSE_LISTCTRL
=yes
4009 DEFAULT_wxUSE_NOTEBOOK
=yes
4010 DEFAULT_wxUSE_RADIOBOX
=yes
4011 DEFAULT_wxUSE_RADIOBTN
=yes
4012 DEFAULT_wxUSE_SASH
=yes
4013 DEFAULT_wxUSE_SCROLLBAR
=yes
4014 DEFAULT_wxUSE_SLIDER
=yes
4015 DEFAULT_wxUSE_SPINBTN
=yes
4016 DEFAULT_wxUSE_SPINCTRL
=yes
4017 DEFAULT_wxUSE_SPLITTER
=yes
4018 DEFAULT_wxUSE_STATBMP
=yes
4019 DEFAULT_wxUSE_STATBOX
=yes
4020 DEFAULT_wxUSE_STATLINE
=yes
4021 DEFAULT_wxUSE_STATUSBAR
=yes
4022 DEFAULT_wxUSE_TAB_DIALOG
=yes
4023 DEFAULT_wxUSE_TOOLBAR
=yes
4024 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
4025 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
4026 DEFAULT_wxUSE_TOOLTIPS
=yes
4027 DEFAULT_wxUSE_TREECTRL
=yes
4028 elif test "$wxUSE_CONTROLS" = "no"; then
4029 DEFAULT_wxUSE_ACCEL
=no
4030 DEFAULT_wxUSE_CARET
=no
4031 DEFAULT_wxUSE_COMBOBOX
=no
4032 DEFAULT_wxUSE_BMPBUTTON
=no
4033 DEFAULT_wxUSE_CHECKBOX
=no
4034 DEFAULT_wxUSE_CHECKLISTBOX
=no
4035 DEFAULT_wxUSE_CHOICE
=no
4036 DEFAULT_wxUSE_GAUGE
=no
4037 DEFAULT_wxUSE_GRID
=no
4038 DEFAULT_wxUSE_NEW_GRID
=no
4039 DEFAULT_wxUSE_IMAGLIST
=no
4040 DEFAULT_wxUSE_LISTBOX
=no
4041 DEFAULT_wxUSE_LISTCTRL
=no
4042 DEFAULT_wxUSE_NOTEBOOK
=no
4043 DEFAULT_wxUSE_RADIOBOX
=no
4044 DEFAULT_wxUSE_RADIOBTN
=no
4045 DEFAULT_wxUSE_SASH
=no
4046 DEFAULT_wxUSE_SCROLLBAR
=no
4047 DEFAULT_wxUSE_SLIDER
=no
4048 DEFAULT_wxUSE_SPINBTN
=no
4049 DEFAULT_wxUSE_SPINCTRL
=no
4050 DEFAULT_wxUSE_SPLITTER
=no
4051 DEFAULT_wxUSE_STATBMP
=no
4052 DEFAULT_wxUSE_STATBOX
=no
4053 DEFAULT_wxUSE_STATLINE
=no
4054 DEFAULT_wxUSE_STATUSBAR
=no
4055 DEFAULT_wxUSE_TAB_DIALOG
=no
4056 DEFAULT_wxUSE_TOOLBAR
=no
4057 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
4058 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
4059 DEFAULT_wxUSE_TOOLTIPS
=no
4060 DEFAULT_wxUSE_TREECTRL
=no
4064 echo $ac_n "checking "for --enable-accel"""... $ac_c" 1>&6
4065 echo "configure:4066: checking "for --enable-accel"" >&5
4067 # Check whether --enable-accel or --disable-accel was given.
4068 if test "${enable_accel+set}" = set; then
4069 enableval
="$enable_accel"
4071 if test "$enableval" = yes; then
4072 ac_cv_use_accel
='wxUSE_ACCEL=yes'
4074 ac_cv_use_accel
='wxUSE_ACCEL=no'
4079 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
4080 if test "x$LINE" != x
; then
4081 eval "DEFAULT_$LINE"
4086 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
4091 eval "$ac_cv_use_accel"
4092 if test "$no_cache" != 1; then
4093 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
4096 if test "$wxUSE_ACCEL" = yes; then
4097 echo "$ac_t""yes" 1>&6
4099 echo "$ac_t""no" 1>&6
4103 echo $ac_n "checking "for --enable-caret"""... $ac_c" 1>&6
4104 echo "configure:4105: checking "for --enable-caret"" >&5
4106 # Check whether --enable-caret or --disable-caret was given.
4107 if test "${enable_caret+set}" = set; then
4108 enableval
="$enable_caret"
4110 if test "$enableval" = yes; then
4111 ac_cv_use_caret
='wxUSE_CARET=yes'
4113 ac_cv_use_caret
='wxUSE_CARET=no'
4118 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
4119 if test "x$LINE" != x
; then
4120 eval "DEFAULT_$LINE"
4125 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
4130 eval "$ac_cv_use_caret"
4131 if test "$no_cache" != 1; then
4132 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
4135 if test "$wxUSE_CARET" = yes; then
4136 echo "$ac_t""yes" 1>&6
4138 echo "$ac_t""no" 1>&6
4142 echo $ac_n "checking "for --enable-bmpbutton"""... $ac_c" 1>&6
4143 echo "configure:4144: checking "for --enable-bmpbutton"" >&5
4145 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
4146 if test "${enable_bmpbutton+set}" = set; then
4147 enableval
="$enable_bmpbutton"
4149 if test "$enableval" = yes; then
4150 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
4152 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
4157 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
4158 if test "x$LINE" != x
; then
4159 eval "DEFAULT_$LINE"
4164 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
4169 eval "$ac_cv_use_bmpbutton"
4170 if test "$no_cache" != 1; then
4171 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
4174 if test "$wxUSE_BMPBUTTON" = yes; then
4175 echo "$ac_t""yes" 1>&6
4177 echo "$ac_t""no" 1>&6
4181 echo $ac_n "checking "for --enable-checkbox"""... $ac_c" 1>&6
4182 echo "configure:4183: checking "for --enable-checkbox"" >&5
4184 # Check whether --enable-checkbox or --disable-checkbox was given.
4185 if test "${enable_checkbox+set}" = set; then
4186 enableval
="$enable_checkbox"
4188 if test "$enableval" = yes; then
4189 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
4191 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
4196 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
4197 if test "x$LINE" != x
; then
4198 eval "DEFAULT_$LINE"
4203 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
4208 eval "$ac_cv_use_checkbox"
4209 if test "$no_cache" != 1; then
4210 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
4213 if test "$wxUSE_CHECKBOX" = yes; then
4214 echo "$ac_t""yes" 1>&6
4216 echo "$ac_t""no" 1>&6
4220 echo $ac_n "checking "for --enable-checklst"""... $ac_c" 1>&6
4221 echo "configure:4222: checking "for --enable-checklst"" >&5
4223 # Check whether --enable-checklst or --disable-checklst was given.
4224 if test "${enable_checklst+set}" = set; then
4225 enableval
="$enable_checklst"
4227 if test "$enableval" = yes; then
4228 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
4230 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
4235 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
4236 if test "x$LINE" != x
; then
4237 eval "DEFAULT_$LINE"
4242 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
4247 eval "$ac_cv_use_checklst"
4248 if test "$no_cache" != 1; then
4249 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
4252 if test "$wxUSE_CHECKLST" = yes; then
4253 echo "$ac_t""yes" 1>&6
4255 echo "$ac_t""no" 1>&6
4259 echo $ac_n "checking "for --enable-choice"""... $ac_c" 1>&6
4260 echo "configure:4261: checking "for --enable-choice"" >&5
4262 # Check whether --enable-choice or --disable-choice was given.
4263 if test "${enable_choice+set}" = set; then
4264 enableval
="$enable_choice"
4266 if test "$enableval" = yes; then
4267 ac_cv_use_choice
='wxUSE_CHOICE=yes'
4269 ac_cv_use_choice
='wxUSE_CHOICE=no'
4274 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
4275 if test "x$LINE" != x
; then
4276 eval "DEFAULT_$LINE"
4281 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
4286 eval "$ac_cv_use_choice"
4287 if test "$no_cache" != 1; then
4288 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
4291 if test "$wxUSE_CHOICE" = yes; then
4292 echo "$ac_t""yes" 1>&6
4294 echo "$ac_t""no" 1>&6
4298 echo $ac_n "checking "for --enable-combobox"""... $ac_c" 1>&6
4299 echo "configure:4300: checking "for --enable-combobox"" >&5
4301 # Check whether --enable-combobox or --disable-combobox was given.
4302 if test "${enable_combobox+set}" = set; then
4303 enableval
="$enable_combobox"
4305 if test "$enableval" = yes; then
4306 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
4308 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
4313 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
4314 if test "x$LINE" != x
; then
4315 eval "DEFAULT_$LINE"
4320 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
4325 eval "$ac_cv_use_combobox"
4326 if test "$no_cache" != 1; then
4327 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
4330 if test "$wxUSE_COMBOBOX" = yes; then
4331 echo "$ac_t""yes" 1>&6
4333 echo "$ac_t""no" 1>&6
4337 echo $ac_n "checking "for --enable-gauge"""... $ac_c" 1>&6
4338 echo "configure:4339: checking "for --enable-gauge"" >&5
4340 # Check whether --enable-gauge or --disable-gauge was given.
4341 if test "${enable_gauge+set}" = set; then
4342 enableval
="$enable_gauge"
4344 if test "$enableval" = yes; then
4345 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
4347 ac_cv_use_gauge
='wxUSE_GAUGE=no'
4352 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
4353 if test "x$LINE" != x
; then
4354 eval "DEFAULT_$LINE"
4359 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
4364 eval "$ac_cv_use_gauge"
4365 if test "$no_cache" != 1; then
4366 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
4369 if test "$wxUSE_GAUGE" = yes; then
4370 echo "$ac_t""yes" 1>&6
4372 echo "$ac_t""no" 1>&6
4376 echo $ac_n "checking "for --enable-grid"""... $ac_c" 1>&6
4377 echo "configure:4378: checking "for --enable-grid"" >&5
4379 # Check whether --enable-grid or --disable-grid was given.
4380 if test "${enable_grid+set}" = set; then
4381 enableval
="$enable_grid"
4383 if test "$enableval" = yes; then
4384 ac_cv_use_grid
='wxUSE_GRID=yes'
4386 ac_cv_use_grid
='wxUSE_GRID=no'
4391 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
4392 if test "x$LINE" != x
; then
4393 eval "DEFAULT_$LINE"
4398 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
4403 eval "$ac_cv_use_grid"
4404 if test "$no_cache" != 1; then
4405 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
4408 if test "$wxUSE_GRID" = yes; then
4409 echo "$ac_t""yes" 1>&6
4411 echo "$ac_t""no" 1>&6
4415 echo $ac_n "checking "for --enable-newgrid"""... $ac_c" 1>&6
4416 echo "configure:4417: checking "for --enable-newgrid"" >&5
4418 # Check whether --enable-newgrid or --disable-newgrid was given.
4419 if test "${enable_newgrid+set}" = set; then
4420 enableval
="$enable_newgrid"
4422 if test "$enableval" = yes; then
4423 ac_cv_use_newgrid
='wxUSE_NEW_GRID=yes'
4425 ac_cv_use_newgrid
='wxUSE_NEW_GRID=no'
4430 LINE
=`grep "wxUSE_NEW_GRID" ${wx_arg_cache_file}`
4431 if test "x$LINE" != x
; then
4432 eval "DEFAULT_$LINE"
4437 ac_cv_use_newgrid
='wxUSE_NEW_GRID='$DEFAULT_wxUSE_NEW_GRID
4442 eval "$ac_cv_use_newgrid"
4443 if test "$no_cache" != 1; then
4444 echo $ac_cv_use_newgrid >> ${wx_arg_cache_file}.tmp
4447 if test "$wxUSE_NEW_GRID" = yes; then
4448 echo "$ac_t""yes" 1>&6
4450 echo "$ac_t""no" 1>&6
4454 echo $ac_n "checking "for --enable-imaglist"""... $ac_c" 1>&6
4455 echo "configure:4456: checking "for --enable-imaglist"" >&5
4457 # Check whether --enable-imaglist or --disable-imaglist was given.
4458 if test "${enable_imaglist+set}" = set; then
4459 enableval
="$enable_imaglist"
4461 if test "$enableval" = yes; then
4462 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
4464 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
4469 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
4470 if test "x$LINE" != x
; then
4471 eval "DEFAULT_$LINE"
4476 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
4481 eval "$ac_cv_use_imaglist"
4482 if test "$no_cache" != 1; then
4483 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
4486 if test "$wxUSE_IMAGLIST" = yes; then
4487 echo "$ac_t""yes" 1>&6
4489 echo "$ac_t""no" 1>&6
4493 echo $ac_n "checking "for --enable-listbox"""... $ac_c" 1>&6
4494 echo "configure:4495: checking "for --enable-listbox"" >&5
4496 # Check whether --enable-listbox or --disable-listbox was given.
4497 if test "${enable_listbox+set}" = set; then
4498 enableval
="$enable_listbox"
4500 if test "$enableval" = yes; then
4501 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
4503 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
4508 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
4509 if test "x$LINE" != x
; then
4510 eval "DEFAULT_$LINE"
4515 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
4520 eval "$ac_cv_use_listbox"
4521 if test "$no_cache" != 1; then
4522 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
4525 if test "$wxUSE_LISTBOX" = yes; then
4526 echo "$ac_t""yes" 1>&6
4528 echo "$ac_t""no" 1>&6
4532 echo $ac_n "checking "for --enable-listctrl"""... $ac_c" 1>&6
4533 echo "configure:4534: checking "for --enable-listctrl"" >&5
4535 # Check whether --enable-listctrl or --disable-listctrl was given.
4536 if test "${enable_listctrl+set}" = set; then
4537 enableval
="$enable_listctrl"
4539 if test "$enableval" = yes; then
4540 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
4542 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
4547 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
4548 if test "x$LINE" != x
; then
4549 eval "DEFAULT_$LINE"
4554 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
4559 eval "$ac_cv_use_listctrl"
4560 if test "$no_cache" != 1; then
4561 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
4564 if test "$wxUSE_LISTCTRL" = yes; then
4565 echo "$ac_t""yes" 1>&6
4567 echo "$ac_t""no" 1>&6
4571 echo $ac_n "checking "for --enable-notebook"""... $ac_c" 1>&6
4572 echo "configure:4573: checking "for --enable-notebook"" >&5
4574 # Check whether --enable-notebook or --disable-notebook was given.
4575 if test "${enable_notebook+set}" = set; then
4576 enableval
="$enable_notebook"
4578 if test "$enableval" = yes; then
4579 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
4581 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
4586 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
4587 if test "x$LINE" != x
; then
4588 eval "DEFAULT_$LINE"
4593 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
4598 eval "$ac_cv_use_notebook"
4599 if test "$no_cache" != 1; then
4600 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
4603 if test "$wxUSE_NOTEBOOK" = yes; then
4604 echo "$ac_t""yes" 1>&6
4606 echo "$ac_t""no" 1>&6
4610 echo $ac_n "checking "for --enable-radiobox"""... $ac_c" 1>&6
4611 echo "configure:4612: checking "for --enable-radiobox"" >&5
4613 # Check whether --enable-radiobox or --disable-radiobox was given.
4614 if test "${enable_radiobox+set}" = set; then
4615 enableval
="$enable_radiobox"
4617 if test "$enableval" = yes; then
4618 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
4620 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
4625 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
4626 if test "x$LINE" != x
; then
4627 eval "DEFAULT_$LINE"
4632 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
4637 eval "$ac_cv_use_radiobox"
4638 if test "$no_cache" != 1; then
4639 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
4642 if test "$wxUSE_RADIOBOX" = yes; then
4643 echo "$ac_t""yes" 1>&6
4645 echo "$ac_t""no" 1>&6
4649 echo $ac_n "checking "for --enable-radiobtn"""... $ac_c" 1>&6
4650 echo "configure:4651: checking "for --enable-radiobtn"" >&5
4652 # Check whether --enable-radiobtn or --disable-radiobtn was given.
4653 if test "${enable_radiobtn+set}" = set; then
4654 enableval
="$enable_radiobtn"
4656 if test "$enableval" = yes; then
4657 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
4659 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
4664 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
4665 if test "x$LINE" != x
; then
4666 eval "DEFAULT_$LINE"
4671 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
4676 eval "$ac_cv_use_radiobtn"
4677 if test "$no_cache" != 1; then
4678 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
4681 if test "$wxUSE_RADIOBTN" = yes; then
4682 echo "$ac_t""yes" 1>&6
4684 echo "$ac_t""no" 1>&6
4688 echo $ac_n "checking "for --enable-sash"""... $ac_c" 1>&6
4689 echo "configure:4690: checking "for --enable-sash"" >&5
4691 # Check whether --enable-sash or --disable-sash was given.
4692 if test "${enable_sash+set}" = set; then
4693 enableval
="$enable_sash"
4695 if test "$enableval" = yes; then
4696 ac_cv_use_sash
='wxUSE_SASH=yes'
4698 ac_cv_use_sash
='wxUSE_SASH=no'
4703 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
4704 if test "x$LINE" != x
; then
4705 eval "DEFAULT_$LINE"
4710 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
4715 eval "$ac_cv_use_sash"
4716 if test "$no_cache" != 1; then
4717 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
4720 if test "$wxUSE_SASH" = yes; then
4721 echo "$ac_t""yes" 1>&6
4723 echo "$ac_t""no" 1>&6
4727 echo $ac_n "checking "for --enable-scrollbar"""... $ac_c" 1>&6
4728 echo "configure:4729: checking "for --enable-scrollbar"" >&5
4730 # Check whether --enable-scrollbar or --disable-scrollbar was given.
4731 if test "${enable_scrollbar+set}" = set; then
4732 enableval
="$enable_scrollbar"
4734 if test "$enableval" = yes; then
4735 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
4737 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
4742 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
4743 if test "x$LINE" != x
; then
4744 eval "DEFAULT_$LINE"
4749 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
4754 eval "$ac_cv_use_scrollbar"
4755 if test "$no_cache" != 1; then
4756 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
4759 if test "$wxUSE_SCROLLBAR" = yes; then
4760 echo "$ac_t""yes" 1>&6
4762 echo "$ac_t""no" 1>&6
4766 echo $ac_n "checking "for --enable-slider"""... $ac_c" 1>&6
4767 echo "configure:4768: checking "for --enable-slider"" >&5
4769 # Check whether --enable-slider or --disable-slider was given.
4770 if test "${enable_slider+set}" = set; then
4771 enableval
="$enable_slider"
4773 if test "$enableval" = yes; then
4774 ac_cv_use_slider
='wxUSE_SLIDER=yes'
4776 ac_cv_use_slider
='wxUSE_SLIDER=no'
4781 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
4782 if test "x$LINE" != x
; then
4783 eval "DEFAULT_$LINE"
4788 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
4793 eval "$ac_cv_use_slider"
4794 if test "$no_cache" != 1; then
4795 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
4798 if test "$wxUSE_SLIDER" = yes; then
4799 echo "$ac_t""yes" 1>&6
4801 echo "$ac_t""no" 1>&6
4805 echo $ac_n "checking "for --enable-spinbtn"""... $ac_c" 1>&6
4806 echo "configure:4807: checking "for --enable-spinbtn"" >&5
4808 # Check whether --enable-spinbtn or --disable-spinbtn was given.
4809 if test "${enable_spinbtn+set}" = set; then
4810 enableval
="$enable_spinbtn"
4812 if test "$enableval" = yes; then
4813 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
4815 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
4820 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
4821 if test "x$LINE" != x
; then
4822 eval "DEFAULT_$LINE"
4827 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
4832 eval "$ac_cv_use_spinbtn"
4833 if test "$no_cache" != 1; then
4834 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
4837 if test "$wxUSE_SPINBTN" = yes; then
4838 echo "$ac_t""yes" 1>&6
4840 echo "$ac_t""no" 1>&6
4844 echo $ac_n "checking "for --enable-spinctrl"""... $ac_c" 1>&6
4845 echo "configure:4846: checking "for --enable-spinctrl"" >&5
4847 # Check whether --enable-spinctrl or --disable-spinctrl was given.
4848 if test "${enable_spinctrl+set}" = set; then
4849 enableval
="$enable_spinctrl"
4851 if test "$enableval" = yes; then
4852 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
4854 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
4859 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
4860 if test "x$LINE" != x
; then
4861 eval "DEFAULT_$LINE"
4866 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
4871 eval "$ac_cv_use_spinctrl"
4872 if test "$no_cache" != 1; then
4873 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
4876 if test "$wxUSE_SPINCTRL" = yes; then
4877 echo "$ac_t""yes" 1>&6
4879 echo "$ac_t""no" 1>&6
4883 echo $ac_n "checking "for --enable-splitter"""... $ac_c" 1>&6
4884 echo "configure:4885: checking "for --enable-splitter"" >&5
4886 # Check whether --enable-splitter or --disable-splitter was given.
4887 if test "${enable_splitter+set}" = set; then
4888 enableval
="$enable_splitter"
4890 if test "$enableval" = yes; then
4891 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
4893 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
4898 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
4899 if test "x$LINE" != x
; then
4900 eval "DEFAULT_$LINE"
4905 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
4910 eval "$ac_cv_use_splitter"
4911 if test "$no_cache" != 1; then
4912 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
4915 if test "$wxUSE_SPLITTER" = yes; then
4916 echo "$ac_t""yes" 1>&6
4918 echo "$ac_t""no" 1>&6
4922 echo $ac_n "checking "for --enable-statbmp"""... $ac_c" 1>&6
4923 echo "configure:4924: checking "for --enable-statbmp"" >&5
4925 # Check whether --enable-statbmp or --disable-statbmp was given.
4926 if test "${enable_statbmp+set}" = set; then
4927 enableval
="$enable_statbmp"
4929 if test "$enableval" = yes; then
4930 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
4932 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
4937 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
4938 if test "x$LINE" != x
; then
4939 eval "DEFAULT_$LINE"
4944 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
4949 eval "$ac_cv_use_statbmp"
4950 if test "$no_cache" != 1; then
4951 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
4954 if test "$wxUSE_STATBMP" = yes; then
4955 echo "$ac_t""yes" 1>&6
4957 echo "$ac_t""no" 1>&6
4961 echo $ac_n "checking "for --enable-statbox"""... $ac_c" 1>&6
4962 echo "configure:4963: checking "for --enable-statbox"" >&5
4964 # Check whether --enable-statbox or --disable-statbox was given.
4965 if test "${enable_statbox+set}" = set; then
4966 enableval
="$enable_statbox"
4968 if test "$enableval" = yes; then
4969 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
4971 ac_cv_use_statbox
='wxUSE_STATBOX=no'
4976 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
4977 if test "x$LINE" != x
; then
4978 eval "DEFAULT_$LINE"
4983 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
4988 eval "$ac_cv_use_statbox"
4989 if test "$no_cache" != 1; then
4990 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
4993 if test "$wxUSE_STATBOX" = yes; then
4994 echo "$ac_t""yes" 1>&6
4996 echo "$ac_t""no" 1>&6
5000 echo $ac_n "checking "for --enable-statline"""... $ac_c" 1>&6
5001 echo "configure:5002: checking "for --enable-statline"" >&5
5003 # Check whether --enable-statline or --disable-statline was given.
5004 if test "${enable_statline+set}" = set; then
5005 enableval
="$enable_statline"
5007 if test "$enableval" = yes; then
5008 ac_cv_use_statline
='wxUSE_STATLINE=yes'
5010 ac_cv_use_statline
='wxUSE_STATLINE=no'
5015 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
5016 if test "x$LINE" != x
; then
5017 eval "DEFAULT_$LINE"
5022 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
5027 eval "$ac_cv_use_statline"
5028 if test "$no_cache" != 1; then
5029 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
5032 if test "$wxUSE_STATLINE" = yes; then
5033 echo "$ac_t""yes" 1>&6
5035 echo "$ac_t""no" 1>&6
5039 echo $ac_n "checking "for --enable-statusbar"""... $ac_c" 1>&6
5040 echo "configure:5041: checking "for --enable-statusbar"" >&5
5042 # Check whether --enable-statusbar or --disable-statusbar was given.
5043 if test "${enable_statusbar+set}" = set; then
5044 enableval
="$enable_statusbar"
5046 if test "$enableval" = yes; then
5047 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
5049 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
5054 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
5055 if test "x$LINE" != x
; then
5056 eval "DEFAULT_$LINE"
5061 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
5066 eval "$ac_cv_use_statusbar"
5067 if test "$no_cache" != 1; then
5068 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
5071 if test "$wxUSE_STATUSBAR" = yes; then
5072 echo "$ac_t""yes" 1>&6
5074 echo "$ac_t""no" 1>&6
5078 echo $ac_n "checking "for --enable-tabdialog"""... $ac_c" 1>&6
5079 echo "configure:5080: checking "for --enable-tabdialog"" >&5
5081 # Check whether --enable-tabdialog or --disable-tabdialog was given.
5082 if test "${enable_tabdialog+set}" = set; then
5083 enableval
="$enable_tabdialog"
5085 if test "$enableval" = yes; then
5086 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
5088 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
5093 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
5094 if test "x$LINE" != x
; then
5095 eval "DEFAULT_$LINE"
5100 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
5105 eval "$ac_cv_use_tabdialog"
5106 if test "$no_cache" != 1; then
5107 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
5110 if test "$wxUSE_TABDIALOG" = yes; then
5111 echo "$ac_t""yes" 1>&6
5113 echo "$ac_t""no" 1>&6
5117 echo $ac_n "checking "for --enable-toolbar"""... $ac_c" 1>&6
5118 echo "configure:5119: checking "for --enable-toolbar"" >&5
5120 # Check whether --enable-toolbar or --disable-toolbar was given.
5121 if test "${enable_toolbar+set}" = set; then
5122 enableval
="$enable_toolbar"
5124 if test "$enableval" = yes; then
5125 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
5127 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
5132 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
5133 if test "x$LINE" != x
; then
5134 eval "DEFAULT_$LINE"
5139 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
5144 eval "$ac_cv_use_toolbar"
5145 if test "$no_cache" != 1; then
5146 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
5149 if test "$wxUSE_TOOLBAR" = yes; then
5150 echo "$ac_t""yes" 1>&6
5152 echo "$ac_t""no" 1>&6
5156 echo $ac_n "checking "for --enable-tbarnative"""... $ac_c" 1>&6
5157 echo "configure:5158: checking "for --enable-tbarnative"" >&5
5159 # Check whether --enable-tbarnative or --disable-tbarnative was given.
5160 if test "${enable_tbarnative+set}" = set; then
5161 enableval
="$enable_tbarnative"
5163 if test "$enableval" = yes; then
5164 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
5166 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
5171 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
5172 if test "x$LINE" != x
; then
5173 eval "DEFAULT_$LINE"
5178 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
5183 eval "$ac_cv_use_tbarnative"
5184 if test "$no_cache" != 1; then
5185 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
5188 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
5189 echo "$ac_t""yes" 1>&6
5191 echo "$ac_t""no" 1>&6
5195 echo $ac_n "checking "for --enable-tbarsmpl"""... $ac_c" 1>&6
5196 echo "configure:5197: checking "for --enable-tbarsmpl"" >&5
5198 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
5199 if test "${enable_tbarsmpl+set}" = set; then
5200 enableval
="$enable_tbarsmpl"
5202 if test "$enableval" = yes; then
5203 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
5205 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
5210 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
5211 if test "x$LINE" != x
; then
5212 eval "DEFAULT_$LINE"
5217 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
5222 eval "$ac_cv_use_tbarsmpl"
5223 if test "$no_cache" != 1; then
5224 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
5227 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
5228 echo "$ac_t""yes" 1>&6
5230 echo "$ac_t""no" 1>&6
5234 echo $ac_n "checking "for --enable-treectrl"""... $ac_c" 1>&6
5235 echo "configure:5236: checking "for --enable-treectrl"" >&5
5237 # Check whether --enable-treectrl or --disable-treectrl was given.
5238 if test "${enable_treectrl+set}" = set; then
5239 enableval
="$enable_treectrl"
5241 if test "$enableval" = yes; then
5242 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
5244 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
5249 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
5250 if test "x$LINE" != x
; then
5251 eval "DEFAULT_$LINE"
5256 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
5261 eval "$ac_cv_use_treectrl"
5262 if test "$no_cache" != 1; then
5263 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
5266 if test "$wxUSE_TREECTRL" = yes; then
5267 echo "$ac_t""yes" 1>&6
5269 echo "$ac_t""no" 1>&6
5275 echo $ac_n "checking "for --enable-commondlg"""... $ac_c" 1>&6
5276 echo "configure:5277: checking "for --enable-commondlg"" >&5
5278 # Check whether --enable-commondlg or --disable-commondlg was given.
5279 if test "${enable_commondlg+set}" = set; then
5280 enableval
="$enable_commondlg"
5282 if test "$enableval" = yes; then
5283 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
5285 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
5290 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
5291 if test "x$LINE" != x
; then
5292 eval "DEFAULT_$LINE"
5297 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
5302 eval "$ac_cv_use_commondlg"
5303 if test "$no_cache" != 1; then
5304 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
5307 if test "$wxUSE_COMMONDLGS" = yes; then
5308 echo "$ac_t""yes" 1>&6
5310 echo "$ac_t""no" 1>&6
5314 echo $ac_n "checking "for --enable-dirdlg"""... $ac_c" 1>&6
5315 echo "configure:5316: checking "for --enable-dirdlg"" >&5
5317 # Check whether --enable-dirdlg or --disable-dirdlg was given.
5318 if test "${enable_dirdlg+set}" = set; then
5319 enableval
="$enable_dirdlg"
5321 if test "$enableval" = yes; then
5322 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
5324 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
5329 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
5330 if test "x$LINE" != x
; then
5331 eval "DEFAULT_$LINE"
5336 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
5341 eval "$ac_cv_use_dirdlg"
5342 if test "$no_cache" != 1; then
5343 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
5346 if test "$wxUSE_DIRDLG" = yes; then
5347 echo "$ac_t""yes" 1>&6
5349 echo "$ac_t""no" 1>&6
5353 echo $ac_n "checking "for --enable-textdlg"""... $ac_c" 1>&6
5354 echo "configure:5355: checking "for --enable-textdlg"" >&5
5356 # Check whether --enable-textdlg or --disable-textdlg was given.
5357 if test "${enable_textdlg+set}" = set; then
5358 enableval
="$enable_textdlg"
5360 if test "$enableval" = yes; then
5361 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
5363 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
5368 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
5369 if test "x$LINE" != x
; then
5370 eval "DEFAULT_$LINE"
5375 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
5380 eval "$ac_cv_use_textdlg"
5381 if test "$no_cache" != 1; then
5382 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
5385 if test "$wxUSE_TEXTDLG" = yes; then
5386 echo "$ac_t""yes" 1>&6
5388 echo "$ac_t""no" 1>&6
5392 echo $ac_n "checking "for --enable-tipdlg"""... $ac_c" 1>&6
5393 echo "configure:5394: checking "for --enable-tipdlg"" >&5
5395 # Check whether --enable-tipdlg or --disable-tipdlg was given.
5396 if test "${enable_tipdlg+set}" = set; then
5397 enableval
="$enable_tipdlg"
5399 if test "$enableval" = yes; then
5400 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
5402 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
5407 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
5408 if test "x$LINE" != x
; then
5409 eval "DEFAULT_$LINE"
5414 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
5419 eval "$ac_cv_use_tipdlg"
5420 if test "$no_cache" != 1; then
5421 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
5424 if test "$wxUSE_STARTUP_TIPS" = yes; then
5425 echo "$ac_t""yes" 1>&6
5427 echo "$ac_t""no" 1>&6
5431 echo $ac_n "checking "for --enable-progressdlg"""... $ac_c" 1>&6
5432 echo "configure:5433: checking "for --enable-progressdlg"" >&5
5434 # Check whether --enable-progressdlg or --disable-progressdlg was given.
5435 if test "${enable_progressdlg+set}" = set; then
5436 enableval
="$enable_progressdlg"
5438 if test "$enableval" = yes; then
5439 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
5441 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
5446 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
5447 if test "x$LINE" != x
; then
5448 eval "DEFAULT_$LINE"
5453 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
5458 eval "$ac_cv_use_progressdlg"
5459 if test "$no_cache" != 1; then
5460 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
5463 if test "$wxUSE_PROGRESSDLG" = yes; then
5464 echo "$ac_t""yes" 1>&6
5466 echo "$ac_t""no" 1>&6
5470 echo $ac_n "checking "for --enable-miniframe"""... $ac_c" 1>&6
5471 echo "configure:5472: checking "for --enable-miniframe"" >&5
5473 # Check whether --enable-miniframe or --disable-miniframe was given.
5474 if test "${enable_miniframe+set}" = set; then
5475 enableval
="$enable_miniframe"
5477 if test "$enableval" = yes; then
5478 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
5480 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
5485 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
5486 if test "x$LINE" != x
; then
5487 eval "DEFAULT_$LINE"
5492 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
5497 eval "$ac_cv_use_miniframe"
5498 if test "$no_cache" != 1; then
5499 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
5502 if test "$wxUSE_MINIFRAME" = yes; then
5503 echo "$ac_t""yes" 1>&6
5505 echo "$ac_t""no" 1>&6
5509 echo $ac_n "checking "for --enable-html"""... $ac_c" 1>&6
5510 echo "configure:5511: checking "for --enable-html"" >&5
5512 # Check whether --enable-html or --disable-html was given.
5513 if test "${enable_html+set}" = set; then
5514 enableval
="$enable_html"
5516 if test "$enableval" = yes; then
5517 ac_cv_use_html
='wxUSE_HTML=yes'
5519 ac_cv_use_html
='wxUSE_HTML=no'
5524 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
5525 if test "x$LINE" != x
; then
5526 eval "DEFAULT_$LINE"
5531 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
5536 eval "$ac_cv_use_html"
5537 if test "$no_cache" != 1; then
5538 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
5541 if test "$wxUSE_HTML" = yes; then
5542 echo "$ac_t""yes" 1>&6
5544 echo "$ac_t""no" 1>&6
5548 echo $ac_n "checking "for --enable-tooltips"""... $ac_c" 1>&6
5549 echo "configure:5550: checking "for --enable-tooltips"" >&5
5551 # Check whether --enable-tooltips or --disable-tooltips was given.
5552 if test "${enable_tooltips+set}" = set; then
5553 enableval
="$enable_tooltips"
5555 if test "$enableval" = yes; then
5556 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
5558 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
5563 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
5564 if test "x$LINE" != x
; then
5565 eval "DEFAULT_$LINE"
5570 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
5575 eval "$ac_cv_use_tooltips"
5576 if test "$no_cache" != 1; then
5577 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
5580 if test "$wxUSE_TOOLTIPS" = yes; then
5581 echo "$ac_t""yes" 1>&6
5583 echo "$ac_t""no" 1>&6
5587 echo $ac_n "checking "for --enable-splines"""... $ac_c" 1>&6
5588 echo "configure:5589: checking "for --enable-splines"" >&5
5590 # Check whether --enable-splines or --disable-splines was given.
5591 if test "${enable_splines+set}" = set; then
5592 enableval
="$enable_splines"
5594 if test "$enableval" = yes; then
5595 ac_cv_use_splines
='wxUSE_SPLINES=yes'
5597 ac_cv_use_splines
='wxUSE_SPLINES=no'
5602 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
5603 if test "x$LINE" != x
; then
5604 eval "DEFAULT_$LINE"
5609 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
5614 eval "$ac_cv_use_splines"
5615 if test "$no_cache" != 1; then
5616 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
5619 if test "$wxUSE_SPLINES" = yes; then
5620 echo "$ac_t""yes" 1>&6
5622 echo "$ac_t""no" 1>&6
5626 echo $ac_n "checking "for --enable-validators"""... $ac_c" 1>&6
5627 echo "configure:5628: checking "for --enable-validators"" >&5
5629 # Check whether --enable-validators or --disable-validators was given.
5630 if test "${enable_validators+set}" = set; then
5631 enableval
="$enable_validators"
5633 if test "$enableval" = yes; then
5634 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
5636 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
5641 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
5642 if test "x$LINE" != x
; then
5643 eval "DEFAULT_$LINE"
5648 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
5653 eval "$ac_cv_use_validators"
5654 if test "$no_cache" != 1; then
5655 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
5658 if test "$wxUSE_VALIDATORS" = yes; then
5659 echo "$ac_t""yes" 1>&6
5661 echo "$ac_t""no" 1>&6
5665 echo $ac_n "checking "for --enable-busyinfo"""... $ac_c" 1>&6
5666 echo "configure:5667: checking "for --enable-busyinfo"" >&5
5668 # Check whether --enable-busyinfo or --disable-busyinfo was given.
5669 if test "${enable_busyinfo+set}" = set; then
5670 enableval
="$enable_busyinfo"
5672 if test "$enableval" = yes; then
5673 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
5675 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
5680 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
5681 if test "x$LINE" != x
; then
5682 eval "DEFAULT_$LINE"
5687 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
5692 eval "$ac_cv_use_busyinfo"
5693 if test "$no_cache" != 1; then
5694 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
5697 if test "$wxUSE_BUSYINFO" = yes; then
5698 echo "$ac_t""yes" 1>&6
5700 echo "$ac_t""no" 1>&6
5704 echo $ac_n "checking "for --enable-plot"""... $ac_c" 1>&6
5705 echo "configure:5706: checking "for --enable-plot"" >&5
5707 # Check whether --enable-plot or --disable-plot was given.
5708 if test "${enable_plot+set}" = set; then
5709 enableval
="$enable_plot"
5711 if test "$enableval" = yes; then
5712 ac_cv_use_plot
='wxUSE_PLOT=yes'
5714 ac_cv_use_plot
='wxUSE_PLOT=no'
5719 LINE
=`grep "wxUSE_PLOT" ${wx_arg_cache_file}`
5720 if test "x$LINE" != x
; then
5721 eval "DEFAULT_$LINE"
5726 ac_cv_use_plot
='wxUSE_PLOT='$DEFAULT_wxUSE_PLOT
5731 eval "$ac_cv_use_plot"
5732 if test "$no_cache" != 1; then
5733 echo $ac_cv_use_plot >> ${wx_arg_cache_file}.tmp
5736 if test "$wxUSE_PLOT" = yes; then
5737 echo "$ac_t""yes" 1>&6
5739 echo "$ac_t""no" 1>&6
5745 echo $ac_n "checking "for --enable-gif"""... $ac_c" 1>&6
5746 echo "configure:5747: checking "for --enable-gif"" >&5
5748 # Check whether --enable-gif or --disable-gif was given.
5749 if test "${enable_gif+set}" = set; then
5750 enableval
="$enable_gif"
5752 if test "$enableval" = yes; then
5753 ac_cv_use_gif
='wxUSE_GIF=yes'
5755 ac_cv_use_gif
='wxUSE_GIF=no'
5760 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
5761 if test "x$LINE" != x
; then
5762 eval "DEFAULT_$LINE"
5767 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
5772 eval "$ac_cv_use_gif"
5773 if test "$no_cache" != 1; then
5774 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
5777 if test "$wxUSE_GIF" = yes; then
5778 echo "$ac_t""yes" 1>&6
5780 echo "$ac_t""no" 1>&6
5784 echo $ac_n "checking "for --enable-pcx"""... $ac_c" 1>&6
5785 echo "configure:5786: checking "for --enable-pcx"" >&5
5787 # Check whether --enable-pcx or --disable-pcx was given.
5788 if test "${enable_pcx+set}" = set; then
5789 enableval
="$enable_pcx"
5791 if test "$enableval" = yes; then
5792 ac_cv_use_pcx
='wxUSE_PCX=yes'
5794 ac_cv_use_pcx
='wxUSE_PCX=no'
5799 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
5800 if test "x$LINE" != x
; then
5801 eval "DEFAULT_$LINE"
5806 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
5811 eval "$ac_cv_use_pcx"
5812 if test "$no_cache" != 1; then
5813 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
5816 if test "$wxUSE_PCX" = yes; then
5817 echo "$ac_t""yes" 1>&6
5819 echo "$ac_t""no" 1>&6
5823 echo $ac_n "checking "for --enable-pnm"""... $ac_c" 1>&6
5824 echo "configure:5825: checking "for --enable-pnm"" >&5
5826 # Check whether --enable-pnm or --disable-pnm was given.
5827 if test "${enable_pnm+set}" = set; then
5828 enableval
="$enable_pnm"
5830 if test "$enableval" = yes; then
5831 ac_cv_use_pnm
='wxUSE_PNM=yes'
5833 ac_cv_use_pnm
='wxUSE_PNM=no'
5838 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
5839 if test "x$LINE" != x
; then
5840 eval "DEFAULT_$LINE"
5845 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
5850 eval "$ac_cv_use_pnm"
5851 if test "$no_cache" != 1; then
5852 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
5855 if test "$wxUSE_PNM" = yes; then
5856 echo "$ac_t""yes" 1>&6
5858 echo "$ac_t""no" 1>&6
5865 echo "saving argument cache $wx_arg_cache_file"
5866 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
5870 echo $ac_n "checking for toolkit""... $ac_c" 1>&6
5871 echo "configure:5872: checking for toolkit" >&5
5873 if test "$wxUSE_GUI" = "yes"; then
5875 if test "$USE_BEOS" = 1; then
5876 { echo "configure: error: BeOS GUI is not supported yet, use --disable-gui" 1>&2; exit 1; }
5879 if test "$TOOLKIT_GIVEN" = 1; then
5880 for toolkit
in `echo $ALL_TOOLKITS`; do
5882 eval "value=\$${var}"
5883 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
5886 for toolkit
in `echo $ALL_TOOLKITS`; do
5887 if test "$has_toolkit_in_cache" != 1; then
5888 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
5890 var
=DEFAULT_wxUSE_
$toolkit
5892 eval "wxUSE_$toolkit=\$${var}"
5896 NUM_TOOLKITS
=`expr ${wxUSE_GTK:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_WINE:-0} + ${wxUSE_MINGW:-0} + ${wxUSE_CYGWIN:-0}`
5900 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
5901 # PATH_IFS is autodetected by OS/2's configure (usually ';')
5910 case "$NUM_TOOLKITS" in
5914 { echo "configure: error: Please specify a toolkit - cannot determine the default for ${host}" 1>&2; exit 1; }
5917 { echo "configure: error: Please specify at most one toolkit (may be some are cached?)" 1>&2; exit 1; }
5920 for toolkit
in `echo $ALL_TOOLKITS`; do
5922 eval "value=\$${var}"
5923 if test "x$value" != x
; then
5924 cache_var
=CACHE_
$toolkit
5925 eval "cache=\$${cache_var}"
5926 if test "$cache" = 1; then
5927 echo "$var=$value" >> ${wx_arg_cache_file}
5929 if test "$value" = 1; then
5930 echo "$ac_t""`echo $toolkit | tr A-Z a-z`" 1>&6
5937 echo "$ac_t""base only" 1>&6
5941 cat > confcache
<<\EOF
5942 # This file is a shell script that caches the results of configure
5943 # tests run on this system so they can be shared between configure
5944 # scripts and configure runs. It is not useful on other systems.
5945 # If it contains results you don't want to keep, you may remove or edit it.
5947 # By default, configure uses ./config.cache as the cache file,
5948 # creating it if it does not exist already. You can give configure
5949 # the --cache-file=FILE option to use a different cache file; that is
5950 # what configure does when it calls configure scripts in
5951 # subdirectories, so they share the cache.
5952 # Giving --cache-file=/dev/null disables caching, for debugging configure.
5953 # config.status only pays attention to the cache file if you give it the
5954 # --recheck option to rerun configure.
5957 # The following way of writing the cache mishandles newlines in values,
5958 # but we know of no workaround that is simple, portable, and efficient.
5959 # So, don't put newlines in cache variables' values.
5960 # Ultrix sh set writes to stderr and can't be redirected directly,
5961 # and sets the high bit in the cache file unless we assign to the vars.
5963 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5965 # `set' does not quote correctly, so add quotes (double-quote substitution
5966 # turns \\\\ into \\, and sed turns \\ into \).
5968 -e "s/'/'\\\\''/g" \
5969 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
5972 # `set' quotes correctly as required by POSIX, so do not add quotes.
5973 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
5976 if cmp -s $cache_file confcache
; then
5979 if test -w $cache_file; then
5980 echo "updating cache $cache_file"
5981 cat confcache
> $cache_file
5983 echo "not updating unwritable cache $cache_file"
5989 if test "$build" != "$host" ; then
5993 RANLIB
=$host_alias-ranlib
5994 DLLTOOL
=$host_alias-dlltool
5995 RESCOMP
=$host_alias-windres
5998 STRIP
=$host_alias-strip
6001 # Extract the first word of "gcc", so it can be a program name with args.
6002 set dummy gcc
; ac_word
=$2
6003 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6004 echo "configure:6005: checking for $ac_word" >&5
6005 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
6006 echo $ac_n "(cached) $ac_c" 1>&6
6008 if test -n "$CC"; then
6009 ac_cv_prog_CC
="$CC" # Let the user override the test.
6011 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6013 for ac_dir
in $ac_dummy; do
6014 test -z "$ac_dir" && ac_dir
=.
6015 if test -f $ac_dir/$ac_word; then
6024 if test -n "$CC"; then
6025 echo "$ac_t""$CC" 1>&6
6027 echo "$ac_t""no" 1>&6
6030 if test -z "$CC"; then
6031 # Extract the first word of "cc", so it can be a program name with args.
6032 set dummy cc
; ac_word
=$2
6033 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6034 echo "configure:6035: checking for $ac_word" >&5
6035 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
6036 echo $ac_n "(cached) $ac_c" 1>&6
6038 if test -n "$CC"; then
6039 ac_cv_prog_CC
="$CC" # Let the user override the test.
6041 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6044 for ac_dir
in $ac_dummy; do
6045 test -z "$ac_dir" && ac_dir
=.
6046 if test -f $ac_dir/$ac_word; then
6047 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
6048 ac_prog_rejected
=yes
6056 if test $ac_prog_rejected = yes; then
6057 # We found a bogon in the path, so make sure we never use it.
6058 set dummy
$ac_cv_prog_CC
6060 if test $# -gt 0; then
6061 # We chose a different compiler from the bogus one.
6062 # However, it has the same basename, so the bogon will be chosen
6063 # first if we set CC to just the basename; use the full file name.
6065 set dummy
"$ac_dir/$ac_word" "$@"
6073 if test -n "$CC"; then
6074 echo "$ac_t""$CC" 1>&6
6076 echo "$ac_t""no" 1>&6
6079 if test -z "$CC"; then
6080 case "`uname -s`" in
6082 # Extract the first word of "cl", so it can be a program name with args.
6083 set dummy cl
; ac_word
=$2
6084 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6085 echo "configure:6086: checking for $ac_word" >&5
6086 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
6087 echo $ac_n "(cached) $ac_c" 1>&6
6089 if test -n "$CC"; then
6090 ac_cv_prog_CC
="$CC" # Let the user override the test.
6092 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6094 for ac_dir
in $ac_dummy; do
6095 test -z "$ac_dir" && ac_dir
=.
6096 if test -f $ac_dir/$ac_word; then
6105 if test -n "$CC"; then
6106 echo "$ac_t""$CC" 1>&6
6108 echo "$ac_t""no" 1>&6
6113 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
6116 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
6117 echo "configure:6118: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
6120 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6121 ac_cpp
='$CPP $CPPFLAGS'
6122 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6123 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6124 cross_compiling
=$ac_cv_prog_cc_cross
6126 cat > conftest.
$ac_ext << EOF
6128 #line 6129 "configure"
6129 #include "confdefs.h"
6133 if { (eval echo configure
:6134: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6134 ac_cv_prog_cc_works
=yes
6135 # If we can't run a trivial program, we are probably using a cross compiler.
6136 if (.
/conftest
; exit) 2>/dev
/null
; then
6137 ac_cv_prog_cc_cross
=no
6139 ac_cv_prog_cc_cross
=yes
6142 echo "configure: failed program was:" >&5
6143 cat conftest.
$ac_ext >&5
6144 ac_cv_prog_cc_works
=no
6148 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6149 ac_cpp
='$CPP $CPPFLAGS'
6150 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6151 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6152 cross_compiling
=$ac_cv_prog_cc_cross
6154 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
6155 if test $ac_cv_prog_cc_works = no
; then
6156 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
6158 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
6159 echo "configure:6160: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
6160 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
6161 cross_compiling
=$ac_cv_prog_cc_cross
6163 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
6164 echo "configure:6165: checking whether we are using GNU C" >&5
6165 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
6166 echo $ac_n "(cached) $ac_c" 1>&6
6168 cat > conftest.c
<<EOF
6173 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:6174: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
6180 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
6182 if test $ac_cv_prog_gcc = yes; then
6188 ac_test_CFLAGS
="${CFLAGS+set}"
6189 ac_save_CFLAGS
="$CFLAGS"
6191 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
6192 echo "configure:6193: checking whether ${CC-cc} accepts -g" >&5
6193 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
6194 echo $ac_n "(cached) $ac_c" 1>&6
6196 echo 'void f(){}' > conftest.c
6197 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
6206 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
6207 if test "$ac_test_CFLAGS" = set; then
6208 CFLAGS
="$ac_save_CFLAGS"
6209 elif test $ac_cv_prog_cc_g = yes; then
6210 if test "$GCC" = yes; then
6216 if test "$GCC" = yes; then
6224 CFLAGS
=`echo "$CFLAGS" | sed 's/-g//g'`
6226 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
6227 echo "configure:6228: checking how to run the C preprocessor" >&5
6228 # On Suns, sometimes $CPP names a directory.
6229 if test -n "$CPP" && test -d "$CPP"; then
6232 if test -z "$CPP"; then
6233 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
6234 echo $ac_n "(cached) $ac_c" 1>&6
6236 # This must be in double quotes, not single quotes, because CPP may get
6237 # substituted into the Makefile and "${CC-cc}" will confuse make.
6239 # On the NeXT, cc -E runs the code through the compiler's parser,
6240 # not just through cpp.
6241 cat > conftest.
$ac_ext <<EOF
6242 #line 6243 "configure"
6243 #include "confdefs.h"
6247 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6248 { (eval echo configure
:6249: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6249 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6250 if test -z "$ac_err"; then
6254 echo "configure: failed program was:" >&5
6255 cat conftest.
$ac_ext >&5
6257 CPP
="${CC-cc} -E -traditional-cpp"
6258 cat > conftest.
$ac_ext <<EOF
6259 #line 6260 "configure"
6260 #include "confdefs.h"
6264 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6265 { (eval echo configure
:6266: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6266 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6267 if test -z "$ac_err"; then
6271 echo "configure: failed program was:" >&5
6272 cat conftest.
$ac_ext >&5
6274 CPP
="${CC-cc} -nologo -E"
6275 cat > conftest.
$ac_ext <<EOF
6276 #line 6277 "configure"
6277 #include "confdefs.h"
6281 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6282 { (eval echo configure
:6283: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6283 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6284 if test -z "$ac_err"; then
6288 echo "configure: failed program was:" >&5
6289 cat conftest.
$ac_ext >&5
6298 ac_cv_prog_CPP
="$CPP"
6300 CPP
="$ac_cv_prog_CPP"
6302 ac_cv_prog_CPP
="$CPP"
6304 echo "$ac_t""$CPP" 1>&6
6307 if test $ac_cv_prog_gcc = yes; then
6308 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
6309 echo "configure:6310: checking whether ${CC-cc} needs -traditional" >&5
6310 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
6311 echo $ac_n "(cached) $ac_c" 1>&6
6313 ac_pattern
="Autoconf.*'x'"
6314 cat > conftest.
$ac_ext <<EOF
6315 #line 6316 "configure"
6316 #include "confdefs.h"
6320 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6321 egrep "$ac_pattern" >/dev
/null
2>&1; then
6323 ac_cv_prog_gcc_traditional
=yes
6326 ac_cv_prog_gcc_traditional
=no
6331 if test $ac_cv_prog_gcc_traditional = no
; then
6332 cat > conftest.
$ac_ext <<EOF
6333 #line 6334 "configure"
6334 #include "confdefs.h"
6338 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6339 egrep "$ac_pattern" >/dev
/null
2>&1; then
6341 ac_cv_prog_gcc_traditional
=yes
6348 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
6349 if test $ac_cv_prog_gcc_traditional = yes; then
6350 CC
="$CC -traditional"
6357 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6358 ac_cpp
='$CXXCPP $CPPFLAGS'
6359 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6360 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6361 cross_compiling
=$ac_cv_prog_cxx_cross
6364 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++ cl
6366 # Extract the first word of "$ac_prog", so it can be a program name with args.
6367 set dummy
$ac_prog; ac_word
=$2
6368 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6369 echo "configure:6370: checking for $ac_word" >&5
6370 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
6371 echo $ac_n "(cached) $ac_c" 1>&6
6373 if test -n "$CXX"; then
6374 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
6376 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6378 for ac_dir
in $ac_dummy; do
6379 test -z "$ac_dir" && ac_dir
=.
6380 if test -f $ac_dir/$ac_word; then
6381 ac_cv_prog_CXX
="$ac_prog"
6388 CXX
="$ac_cv_prog_CXX"
6389 if test -n "$CXX"; then
6390 echo "$ac_t""$CXX" 1>&6
6392 echo "$ac_t""no" 1>&6
6395 test -n "$CXX" && break
6397 test -n "$CXX" || CXX
="gcc"
6400 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
6401 echo "configure:6402: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
6404 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6405 ac_cpp
='$CXXCPP $CPPFLAGS'
6406 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6407 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6408 cross_compiling
=$ac_cv_prog_cxx_cross
6410 cat > conftest.
$ac_ext << EOF
6412 #line 6413 "configure"
6413 #include "confdefs.h"
6415 int main(){return(0);}
6417 if { (eval echo configure
:6418: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6418 ac_cv_prog_cxx_works
=yes
6419 # If we can't run a trivial program, we are probably using a cross compiler.
6420 if (.
/conftest
; exit) 2>/dev
/null
; then
6421 ac_cv_prog_cxx_cross
=no
6423 ac_cv_prog_cxx_cross
=yes
6426 echo "configure: failed program was:" >&5
6427 cat conftest.
$ac_ext >&5
6428 ac_cv_prog_cxx_works
=no
6432 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6433 ac_cpp
='$CXXCPP $CPPFLAGS'
6434 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6435 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6436 cross_compiling
=$ac_cv_prog_cxx_cross
6438 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
6439 if test $ac_cv_prog_cxx_works = no
; then
6440 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
6442 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
6443 echo "configure:6444: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
6444 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
6445 cross_compiling
=$ac_cv_prog_cxx_cross
6447 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
6448 echo "configure:6449: checking whether we are using GNU C++" >&5
6449 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
6450 echo $ac_n "(cached) $ac_c" 1>&6
6452 cat > conftest.C
<<EOF
6457 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:6458: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
6464 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
6466 if test $ac_cv_prog_gxx = yes; then
6472 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
6473 ac_save_CXXFLAGS
="$CXXFLAGS"
6475 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
6476 echo "configure:6477: checking whether ${CXX-g++} accepts -g" >&5
6477 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
6478 echo $ac_n "(cached) $ac_c" 1>&6
6480 echo 'void f(){}' > conftest.cc
6481 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
6482 ac_cv_prog_cxx_g
=yes
6490 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
6491 if test "$ac_test_CXXFLAGS" = set; then
6492 CXXFLAGS
="$ac_save_CXXFLAGS"
6493 elif test $ac_cv_prog_cxx_g = yes; then
6494 if test "$GXX" = yes; then
6500 if test "$GXX" = yes; then
6508 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
6509 echo "configure:6510: checking how to run the C++ preprocessor" >&5
6510 if test -z "$CXXCPP"; then
6511 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
6512 echo $ac_n "(cached) $ac_c" 1>&6
6515 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6516 ac_cpp
='$CXXCPP $CPPFLAGS'
6517 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6518 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6519 cross_compiling
=$ac_cv_prog_cxx_cross
6520 CXXCPP
="${CXX-g++} -E"
6521 cat > conftest.
$ac_ext <<EOF
6522 #line 6523 "configure"
6523 #include "confdefs.h"
6526 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6527 { (eval echo configure
:6528: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6528 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6529 if test -z "$ac_err"; then
6533 echo "configure: failed program was:" >&5
6534 cat conftest.
$ac_ext >&5
6539 ac_cv_prog_CXXCPP
="$CXXCPP"
6541 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6542 ac_cpp
='$CXXCPP $CPPFLAGS'
6543 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6544 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6545 cross_compiling
=$ac_cv_prog_cxx_cross
6548 CXXCPP
="$ac_cv_prog_CXXCPP"
6549 echo "$ac_t""$CXXCPP" 1>&6
6552 CXXFLAGS
=`echo "$CXXFLAGS" | sed 's/-g//g'`
6555 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6556 ac_cpp
='$CPP $CPPFLAGS'
6557 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6558 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6559 cross_compiling
=$ac_cv_prog_cc_cross
6562 # Extract the first word of "ranlib", so it can be a program name with args.
6563 set dummy ranlib
; ac_word
=$2
6564 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6565 echo "configure:6566: checking for $ac_word" >&5
6566 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
6567 echo $ac_n "(cached) $ac_c" 1>&6
6569 if test -n "$RANLIB"; then
6570 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6572 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6574 for ac_dir
in $ac_dummy; do
6575 test -z "$ac_dir" && ac_dir
=.
6576 if test -f $ac_dir/$ac_word; then
6577 ac_cv_prog_RANLIB
="ranlib"
6582 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
6585 RANLIB
="$ac_cv_prog_RANLIB"
6586 if test -n "$RANLIB"; then
6587 echo "$ac_t""$RANLIB" 1>&6
6589 echo "$ac_t""no" 1>&6
6593 # Extract the first word of "ar", so it can be a program name with args.
6594 set dummy
ar; ac_word
=$2
6595 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6596 echo "configure:6597: checking for $ac_word" >&5
6597 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
6598 echo $ac_n "(cached) $ac_c" 1>&6
6600 if test -n "$AR"; then
6601 ac_cv_prog_AR
="$AR" # Let the user override the test.
6603 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6605 for ac_dir
in $ac_dummy; do
6606 test -z "$ac_dir" && ac_dir
=.
6607 if test -f $ac_dir/$ac_word; then
6613 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
6617 if test -n "$AR"; then
6618 echo "$ac_t""$AR" 1>&6
6620 echo "$ac_t""no" 1>&6
6624 # Find a good install program. We prefer a C program (faster),
6625 # so one script is as good as another. But avoid the broken or
6626 # incompatible versions:
6627 # SysV /etc/install, /usr/sbin/install
6628 # SunOS /usr/etc/install
6629 # IRIX /sbin/install
6631 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6632 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6633 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6634 # ./install, which can be erroneously created by make from ./install.sh.
6635 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
6636 echo "configure:6637: checking for a BSD compatible install" >&5
6637 if test -z "$INSTALL"; then
6638 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
6639 echo $ac_n "(cached) $ac_c" 1>&6
6641 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
6642 for ac_dir
in $PATH; do
6643 # Account for people who put trailing slashes in PATH elements.
6645 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
6647 # OSF1 and SCO ODT 3.0 have their own names for install.
6648 # Don't use installbsd from OSF since it installs stuff as root
6650 for ac_prog
in ginstall scoinst
install; do
6651 if test -f $ac_dir/$ac_prog; then
6652 if test $ac_prog = install &&
6653 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
6654 # AIX install. It has an incompatible calling convention.
6657 ac_cv_path_install
="$ac_dir/$ac_prog -c"
6668 if test "${ac_cv_path_install+set}" = set; then
6669 INSTALL
="$ac_cv_path_install"
6671 # As a last resort, use the slow shell script. We don't cache a
6672 # path for INSTALL within a source directory, because that will
6673 # break other packages using the cache if that directory is
6674 # removed, or if the path is relative.
6675 INSTALL
="$ac_install_sh"
6678 echo "$ac_t""$INSTALL" 1>&6
6680 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6681 # It thinks the first close brace ends the variable substitution.
6682 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
6684 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
6686 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
6689 # Extract the first word of "strip", so it can be a program name with args.
6690 set dummy strip
; ac_word
=$2
6691 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6692 echo "configure:6693: checking for $ac_word" >&5
6693 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
6694 echo $ac_n "(cached) $ac_c" 1>&6
6696 if test -n "$STRIP"; then
6697 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6699 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6701 for ac_dir
in $ac_dummy; do
6702 test -z "$ac_dir" && ac_dir
=.
6703 if test -f $ac_dir/$ac_word; then
6704 ac_cv_prog_STRIP
="strip"
6709 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
6712 STRIP
="$ac_cv_prog_STRIP"
6713 if test -n "$STRIP"; then
6714 echo "$ac_t""$STRIP" 1>&6
6716 echo "$ac_t""no" 1>&6
6720 echo $ac_n "checking "make for VPATH support
"""... $ac_c" 1>&6
6721 echo "configure:6722: checking "make for VPATH support
"" >&5
6722 cat - << EOF > confMake
6728 if test ! -d sub
; then
6731 echo dummy
> sub
/file
6732 ${MAKE-make} -f confMake VPATH
=sub
2> config.log
> /dev
/null
6734 rm -f sub
/file check final_file confMake
6736 if test "$RESULT" = 0; then
6737 echo "$ac_t""yes" 1>&6
6739 echo "$ac_t""no" 1>&6
6740 { echo "configure: error: You need a make-utility that is able to use the variable
6742 If your version of make does not support VPATH correctly" 1>&2; exit 1; }
6745 for ac_prog
in 'bison -y' byacc
6747 # Extract the first word of "$ac_prog", so it can be a program name with args.
6748 set dummy
$ac_prog; ac_word
=$2
6749 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6750 echo "configure:6751: checking for $ac_word" >&5
6751 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
6752 echo $ac_n "(cached) $ac_c" 1>&6
6754 if test -n "$YACC"; then
6755 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
6757 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6759 for ac_dir
in $ac_dummy; do
6760 test -z "$ac_dir" && ac_dir
=.
6761 if test -f $ac_dir/$ac_word; then
6762 ac_cv_prog_YACC
="$ac_prog"
6769 YACC
="$ac_cv_prog_YACC"
6770 if test -n "$YACC"; then
6771 echo "$ac_t""$YACC" 1>&6
6773 echo "$ac_t""no" 1>&6
6776 test -n "$YACC" && break
6778 test -n "$YACC" || YACC
="yacc"
6781 # Extract the first word of "flex", so it can be a program name with args.
6782 set dummy flex
; ac_word
=$2
6783 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6784 echo "configure:6785: checking for $ac_word" >&5
6785 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
6786 echo $ac_n "(cached) $ac_c" 1>&6
6788 if test -n "$LEX"; then
6789 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
6791 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6793 for ac_dir
in $ac_dummy; do
6794 test -z "$ac_dir" && ac_dir
=.
6795 if test -f $ac_dir/$ac_word; then
6796 ac_cv_prog_LEX
="flex"
6801 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
6804 LEX
="$ac_cv_prog_LEX"
6805 if test -n "$LEX"; then
6806 echo "$ac_t""$LEX" 1>&6
6808 echo "$ac_t""no" 1>&6
6811 if test -z "$LEXLIB"
6817 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
6818 echo "configure:6819: checking for yywrap in -l$ac_lib" >&5
6819 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
6820 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6821 echo $ac_n "(cached) $ac_c" 1>&6
6823 ac_save_LIBS
="$LIBS"
6824 LIBS
="-l$ac_lib $LIBS"
6825 cat > conftest.
$ac_ext <<EOF
6826 #line 6827 "configure"
6827 #include "confdefs.h"
6828 /* Override any gcc2 internal prototype to avoid an error. */
6829 /* We use char because int might match the return type of a gcc2
6830 builtin and then its argument prototype would still apply. */
6837 if { (eval echo configure
:6838: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6839 eval "ac_cv_lib_$ac_lib_var=yes"
6841 echo "configure: failed program was:" >&5
6842 cat conftest.
$ac_ext >&5
6844 eval "ac_cv_lib_$ac_lib_var=no"
6847 LIBS
="$ac_save_LIBS"
6850 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6851 echo "$ac_t""yes" 1>&6
6854 echo "$ac_t""no" 1>&6
6860 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
6861 echo "configure:6862: checking whether ln -s works" >&5
6862 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
6863 echo $ac_n "(cached) $ac_c" 1>&6
6866 if ln -s X conftestdata
2>/dev
/null
6869 ac_cv_prog_LN_S
="ln -s"
6874 LN_S
="$ac_cv_prog_LN_S"
6875 if test "$ac_cv_prog_LN_S" = "ln -s"; then
6876 echo "$ac_t""yes" 1>&6
6878 echo "$ac_t""no" 1>&6
6884 /usr/local/include \
6886 /usr/Motif-1.2/include \
6887 /usr/Motif-2.1/include \
6889 /usr/include/Motif1.2 \
6890 /opt/xpm/include/X11 \
6891 /opt/GBxpm/include/ \
6892 /opt/GBxpm/X11/include/ \
6894 /usr/Motif1.2/include \
6896 /usr/openwin/include \
6900 /usr/X11R6/include \
6901 /usr/X11R6.4/include \
6902 /usr/X11R5/include \
6903 /usr/X11R4/include \
6905 /usr/include/X11R6 \
6906 /usr/include/X11R5 \
6907 /usr/include/X11R4 \
6909 /usr/local/X11R6/include \
6910 /usr/local/X11R5/include \
6911 /usr/local/X11R4/include \
6913 /usr/local/include/X11R6 \
6914 /usr/local/include/X11R5 \
6915 /usr/local/include/X11R4 \
6919 /usr/local/X11/include \
6920 /usr/local/include/X11 \
6924 /usr/XFree86/include/X11 \
6926 X:/XFree86/include \
6927 X:/XFree86/include/X11 \
6930 /usr/local/include/gtk \
6932 /usr/local/include/glib \
6935 /usr/local/include/qt \
6937 /usr/include/windows \
6939 /usr/local/include/wine \
6941 /usr/unsupported/include \
6942 /usr/athena/include \
6943 /usr/local/x11r5/include \
6944 /usr/lpp/Xamples/include \
6946 /usr/openwin/share/include \
6950 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
6953 cat > confcache
<<\EOF
6954 # This file is a shell script that caches the results of configure
6955 # tests run on this system so they can be shared between configure
6956 # scripts and configure runs. It is not useful on other systems.
6957 # If it contains results you don't want to keep, you may remove or edit it.
6959 # By default, configure uses ./config.cache as the cache file,
6960 # creating it if it does not exist already. You can give configure
6961 # the --cache-file=FILE option to use a different cache file; that is
6962 # what configure does when it calls configure scripts in
6963 # subdirectories, so they share the cache.
6964 # Giving --cache-file=/dev/null disables caching, for debugging configure.
6965 # config.status only pays attention to the cache file if you give it the
6966 # --recheck option to rerun configure.
6969 # The following way of writing the cache mishandles newlines in values,
6970 # but we know of no workaround that is simple, portable, and efficient.
6971 # So, don't put newlines in cache variables' values.
6972 # Ultrix sh set writes to stderr and can't be redirected directly,
6973 # and sets the high bit in the cache file unless we assign to the vars.
6975 case `(ac_space=' '; set | grep ac_space) 2>&1` in
6977 # `set' does not quote correctly, so add quotes (double-quote substitution
6978 # turns \\\\ into \\, and sed turns \\ into \).
6980 -e "s/'/'\\\\''/g" \
6981 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
6984 # `set' quotes correctly as required by POSIX, so do not add quotes.
6985 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
6988 if cmp -s $cache_file confcache
; then
6991 if test -w $cache_file; then
6992 echo "updating cache $cache_file"
6993 cat confcache
> $cache_file
6995 echo "not updating unwritable cache $cache_file"
7004 if test "$wxUSE_GUI" = "yes"; then
7023 if test "$wxUSE_CYGWIN" = 1 || test "$wxUSE_MINGW" = 1 ; then
7024 if test "$cross_compiling" = "yes" ; then
7025 echo "configure: warning: skipping windows.h check for cross-compilation" 1>&2
7027 echo $ac_n "checking for Windows headers""... $ac_c" 1>&6
7028 echo "configure:7029: checking for Windows headers" >&5
7031 for ac_dir
in $SEARCH_INCLUDE;
7033 if test -f "$ac_dir/windows.h"; then
7034 ac_find_includes
=$ac_dir
7039 if test "$ac_find_includes" != "" ; then
7040 echo "$ac_t""found $ac_find_includes" 1>&6
7041 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE -I$ac_find_includes"
7043 echo "$ac_t""no" 1>&6
7044 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
7048 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS msw"
7049 LIBS
="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -lcrtdll -ladvapi32 -lwsock32"
7051 if test "$wxUSE_ODBC" = "yes" ; then
7052 LIBS
="$LIBS -lodbc32 -lole32 -loleaut32"
7055 if test "$wxUSE_MINGW" = 1; then
7056 LDFLAGS
="$LDFLAGS -mwindows"
7061 GUIOBJS
="\$(MSW_GUIOBJS)"
7062 GUIHEADERS
="\$(MSW_HEADERS)"
7063 COMMONOBJS
="\$(MSW_COMMONOBJS)"
7064 GENERICOBJS
="\$(MSW_GENERICOBJS)"
7068 RCINCSWITCH
="--include-dir"
7069 RCDEFSWITCH
="--define"
7070 RCPREPROCESSOR
="--preprocessor \"\$(CC) -c -E -xc-header -DRC_INVOKED\""
7073 RESFLAGS
="$RCPREPROCESSOR $RCINCSWITCH \$(top_srcdir)/include $RCINCSWITCH \$(top_srcdir)/\$(program_dir) $RCDEFSWITCH __WIN32__ $RCDEFSWITCH __WIN95__ $RCDEFSWITCH __GNUWIN32__"
7075 RESPROGRAM
="\$(RES_PROGRAM)"
7079 if test "$wxUSE_GTK" = 1; then
7081 if test x
$gtk_config_exec_prefix != x
; then
7082 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
7083 if test x
${GTK_CONFIG+set} != xset
; then
7084 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
7087 if test x
$gtk_config_prefix != x
; then
7088 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
7089 if test x
${GTK_CONFIG+set} != xset
; then
7090 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
7094 # Extract the first word of "gtk-config", so it can be a program name with args.
7095 set dummy gtk
-config; ac_word
=$2
7096 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7097 echo "configure:7098: checking for $ac_word" >&5
7098 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
7099 echo $ac_n "(cached) $ac_c" 1>&6
7101 case "$GTK_CONFIG" in
7103 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
7106 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
7109 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7111 for ac_dir
in $ac_dummy; do
7112 test -z "$ac_dir" && ac_dir
=.
7113 if test -f $ac_dir/$ac_word; then
7114 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
7119 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
7123 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
7124 if test -n "$GTK_CONFIG"; then
7125 echo "$ac_t""$GTK_CONFIG" 1>&6
7127 echo "$ac_t""no" 1>&6
7130 min_gtk_version
=1.2.3
7131 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
7132 echo "configure:7133: checking for GTK - version >= $min_gtk_version" >&5
7134 if test "$GTK_CONFIG" != "no" ; then
7135 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
7136 GTK_LIBS
=`$GTK_CONFIG --libs gthread`
7137 ac_save_CFLAGS
="$CFLAGS"
7138 ac_save_LIBS
="$LIBS"
7139 CFLAGS
="$CFLAGS $GTK_CFLAGS"
7140 LIBS
="$LIBS $GTK_LIBS"
7141 if test "$cross_compiling" = yes; then
7142 echo $ac_n "cross compiling; assumed OK... $ac_c"
7144 cat > conftest.
$ac_ext <<EOF
7145 #line 7146 "configure"
7146 #include "confdefs.h"
7148 #include <gtk/gtk.h>
7149 #include <gtk/gtkfeatures.h>
7156 int major, minor, micro;
7158 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
7159 printf("%s, bad version string\n", "$min_gtk_version");
7163 if ((GTK_MAJOR_VERSION != gtk_major_version) ||
7164 (GTK_MINOR_VERSION != gtk_minor_version) ||
7165 (GTK_MICRO_VERSION != gtk_micro_version)) {
7166 printf("Headers vs. library version mismatch!\n");
7170 if (gtk_minor_version == 1) return FALSE;
7172 return !((gtk_major_version > major) ||
7173 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
7174 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
7178 if { (eval echo configure
:7179: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
7182 echo "configure: failed program was:" >&5
7183 cat conftest.
$ac_ext >&5
7190 CFLAGS
="$ac_save_CFLAGS"
7191 LIBS
="$ac_save_LIBS"
7195 if test "x$no_gtk" = x
; then
7196 echo "$ac_t""yes" 1>&6
7199 echo "$ac_t""no" 1>&6
7208 if test "$WXGTK12" != 1; then
7209 { echo "configure: error:
7210 Please check that gtk-config is in path, the directory
7211 where GTK+ libraries are installed (returned by
7212 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
7213 equivalent variable and GTK+ is version 1.2.3 or above.
7218 TOOLKIT_INCLUDE
="$GTK_CFLAGS"
7221 GUI_TK_LIBRARY
="$GTK_LIBS"
7225 AFMINSTALL
=afminstall
7227 GUIOBJS
="\$(GTK_GUIOBJS)"
7228 GUIHEADERS
="\$(GTK_HEADERS)"
7229 COMMONOBJS
="\$(GTK_COMMONOBJS)"
7230 GENERICOBJS
="\$(GTK_GENERICOBJS)"
7231 GUIDEPS
="\$(GTK_GUIDEPS)"
7232 COMMONDEPS
="\$(GTK_COMMONDEPS)"
7233 GENERICDEPS
="\$(GTK_GENERICDEPS)"
7234 UNIXOBJS
="\$(UNIX_OBJS)"
7235 UNIXDEPS
="\$(UNIX_DEPS)"
7238 echo $ac_n "checking for gdk_im_open in -lgdk""... $ac_c" 1>&6
7239 echo "configure:7240: checking for gdk_im_open in -lgdk" >&5
7240 ac_lib_var
=`echo gdk'_'gdk_im_open | sed 'y%./+-%__p_%'`
7241 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7242 echo $ac_n "(cached) $ac_c" 1>&6
7244 ac_save_LIBS
="$LIBS"
7246 cat > conftest.
$ac_ext <<EOF
7247 #line 7248 "configure"
7248 #include "confdefs.h"
7249 /* Override any gcc2 internal prototype to avoid an error. */
7250 /* We use char because int might match the return type of a gcc2
7251 builtin and then its argument prototype would still apply. */
7258 if { (eval echo configure
:7259: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7260 eval "ac_cv_lib_$ac_lib_var=yes"
7262 echo "configure: failed program was:" >&5
7263 cat conftest.
$ac_ext >&5
7265 eval "ac_cv_lib_$ac_lib_var=no"
7268 LIBS
="$ac_save_LIBS"
7271 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7272 echo "$ac_t""yes" 1>&6
7273 cat >> confdefs.h
<<\EOF
7278 echo "$ac_t""no" 1>&6
7283 if test "$wxUSE_WINE" = 1; then
7284 echo $ac_n "checking for WINE includes""... $ac_c" 1>&6
7285 echo "configure:7286: checking for WINE includes" >&5
7288 for ac_dir
in $SEARCH_INCLUDE;
7290 if test -f "$ac_dir/windows.h"; then
7291 ac_find_includes
=$ac_dir
7296 if test "$ac_find_includes" != "" ; then
7297 echo "$ac_t""found $ac_find_includes" 1>&6
7298 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE -I$ac_find_includes"
7300 echo "$ac_t""no" 1>&6
7301 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
7305 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
7306 echo "configure:7307: checking for Xpm library" >&5
7309 for ac_dir
in $SEARCH_LIB;
7311 for ac_extension
in a so sl
; do
7312 if test -f "$ac_dir/libXpm.$ac_extension"; then
7313 ac_find_libraries
=$ac_dir
7319 if test "$ac_find_libraries" != "" ; then
7320 GUI_TK_LIBRARY
="-L$ac_find_libraries"
7322 cat >> confdefs.h
<<\EOF
7323 #define wxHAVE_LIB_XPM 1
7326 echo "$ac_t""found at $ac_find_libraries" 1>&6
7328 echo "$ac_t""no" 1>&6
7329 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
7333 echo $ac_n "checking for Mesa library""... $ac_c" 1>&6
7334 echo "configure:7335: checking for Mesa library" >&5
7337 for ac_dir
in $SEARCH_LIB;
7339 for ac_extension
in a so sl
; do
7340 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
7341 ac_find_libraries
=$ac_dir
7347 if test "$ac_find_libraries" != "" ; then
7348 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -L$ac_find_libraries"
7349 MESA_LINK
="-lMesaGL"
7350 echo "$ac_t""found at $ac_find_libraries" 1>&6
7352 { echo "configure: error: no" 1>&2; exit 1; }
7355 GUI_TK_LINK
="-lwine $MESA_LINK $XPM_LINK -lXxf86dga -lXxf86vm -lSM -lICE -lXext -lXmu -lX11 -lncurses -lm"
7356 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GUI_TK_LINK"
7360 GUIHEADERS
="\$(MSW_HEADERS)"
7361 GUIOBJS
="\$(MSW_GUIOBJS)"
7362 COMMONOBJS
="\$(MSW_COMMONOBJS)"
7363 GENERICOBJS
="\$(MSW_GENERICOBJS)"
7364 GUIDEPS
="\$(MSW_GUIDEPS)"
7365 COMMONDEPS
="\$(MSW_COMMONDEPS)"
7366 GENERICDEPS
="\$(MSW_GENERICDEPS)"
7367 UNIXOBJS
="\$(UNIX_OBJS)"
7368 UNIXDEPS
="\$(UNIX_DEPS)"
7372 if test "$wxUSE_MOTIF" = 1; then
7373 # If we find X, set shell vars x_includes and x_libraries to the
7374 # paths, otherwise set no_x=yes.
7375 # Uses ac_ vars as temps to allow command line to override cache and checks.
7376 # --without-x overrides everything else, but does not touch the cache.
7377 echo $ac_n "checking for X""... $ac_c" 1>&6
7378 echo "configure:7379: checking for X" >&5
7380 # Check whether --with-x or --without-x was given.
7381 if test "${with_x+set}" = set; then
7386 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
7387 if test "x$with_x" = xno
; then
7388 # The user explicitly disabled X.
7391 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
7392 # Both variables are already set.
7395 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
7396 echo $ac_n "(cached) $ac_c" 1>&6
7398 # One or both of the vars are not set, and there is no cached value.
7399 ac_x_includes
=NO ac_x_libraries
=NO
7401 if mkdir conftestdir
; then
7403 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
7404 cat > Imakefile
<<'EOF'
7406 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
7408 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
7409 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
7410 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
7411 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
7412 for ac_extension
in a so sl
; do
7413 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
7414 test -f $ac_im_libdir/libX11.
$ac_extension; then
7415 ac_im_usrlibdir
=$ac_im_libdir; break
7418 # Screen out bogus values from the imake configuration. They are
7419 # bogus both because they are the default anyway, and because
7420 # using them would break gcc on systems where it needs fixed includes.
7421 case "$ac_im_incroot" in
7423 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;;
7425 case "$ac_im_usrlibdir" in
7427 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;;
7434 if test "$ac_x_includes" = NO
; then
7435 # Guess where to find include files, by looking for this one X11 .h file.
7436 test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
7438 # First, try using that file with no special directory specified.
7439 cat > conftest.
$ac_ext <<EOF
7440 #line 7441 "configure"
7441 #include "confdefs.h"
7442 #include <$x_direct_test_include>
7444 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7445 { (eval echo configure
:7446: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7446 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7447 if test -z "$ac_err"; then
7449 # We can compile using X headers with no special include directory.
7453 echo "configure: failed program was:" >&5
7454 cat conftest.
$ac_ext >&5
7456 # Look for the header file in a standard set of common directories.
7457 # Check X11 before X11Rn because it is often a symlink to the current release.
7460 /usr
/X
11R
6/include \
7461 /usr
/X
11R
5/include \
7462 /usr
/X
11R
4/include \
7465 /usr
/include
/X11R6 \
7466 /usr
/include
/X11R5 \
7467 /usr
/include
/X11R4 \
7469 /usr
/local
/X
11/include \
7470 /usr
/local
/X
11R
6/include \
7471 /usr
/local
/X
11R
5/include \
7472 /usr
/local
/X
11R
4/include \
7474 /usr
/local
/include
/X11 \
7475 /usr
/local
/include
/X11R6 \
7476 /usr
/local
/include
/X11R5 \
7477 /usr
/local
/include
/X11R4 \
7481 /usr
/XFree
86/include
/X11 \
7484 /usr
/local
/include \
7485 /usr
/unsupported
/include \
7486 /usr
/athena
/include \
7487 /usr
/local
/x
11r
5/include \
7488 /usr
/lpp
/Xamples
/include \
7490 /usr
/openwin
/include \
7491 /usr
/openwin
/share
/include \
7494 if test -r "$ac_dir/$x_direct_test_include"; then
7495 ac_x_includes
=$ac_dir
7501 fi # $ac_x_includes = NO
7503 if test "$ac_x_libraries" = NO
; then
7504 # Check for the libraries.
7506 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
7507 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
7509 # See if we find them without any special options.
7510 # Don't add to $LIBS permanently.
7511 ac_save_LIBS
="$LIBS"
7512 LIBS
="-l$x_direct_test_library $LIBS"
7513 cat > conftest.
$ac_ext <<EOF
7514 #line 7515 "configure"
7515 #include "confdefs.h"
7518 ${x_direct_test_function}()
7521 if { (eval echo configure
:7522: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7523 LIBS
="$ac_save_LIBS"
7524 # We can link X programs with no special library path.
7527 echo "configure: failed program was:" >&5
7528 cat conftest.
$ac_ext >&5
7530 LIBS
="$ac_save_LIBS"
7531 # First see if replacing the include by lib works.
7532 # Check X11 before X11Rn because it is often a symlink to the current release.
7533 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib/` \
7544 /usr
/local
/X
11/lib \
7545 /usr
/local
/X
11R
6/lib \
7546 /usr
/local
/X
11R
5/lib \
7547 /usr
/local
/X
11R
4/lib \
7549 /usr
/local
/lib
/X11 \
7550 /usr
/local
/lib
/X11R6 \
7551 /usr
/local
/lib
/X11R5 \
7552 /usr
/local
/lib
/X11R4 \
7556 /usr
/XFree
86/lib
/X11 \
7560 /usr
/unsupported
/lib \
7562 /usr
/local
/x
11r
5/lib \
7563 /usr
/lpp
/Xamples
/lib \
7567 /usr
/openwin
/share
/lib \
7570 for ac_extension
in a so sl
; do
7571 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
7572 ac_x_libraries
=$ac_dir
7579 fi # $ac_x_libraries = NO
7581 if test "$ac_x_includes" = NO
|| test "$ac_x_libraries" = NO
; then
7582 # Didn't find X anywhere. Cache the known absence of X.
7583 ac_cv_have_x
="have_x=no"
7585 # Record where we found X for the cache.
7586 ac_cv_have_x
="have_x=yes \
7587 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
7591 eval "$ac_cv_have_x"
7594 if test "$have_x" != yes; then
7595 echo "$ac_t""$have_x" 1>&6
7598 # If each of the values was on the command line, it overrides each guess.
7599 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
7600 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
7601 # Update the cache value to reflect the command line values.
7602 ac_cv_have_x
="have_x=yes \
7603 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
7604 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
7607 if test "$no_x" = yes; then
7608 # Not all programs may use this symbol, but it does not hurt to define it.
7609 cat >> confdefs.h
<<\EOF
7610 #define X_DISPLAY_MISSING 1
7613 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
7615 if test -n "$x_includes"; then
7616 X_CFLAGS
="$X_CFLAGS -I$x_includes"
7619 # It would also be nice to do this for all -L options, not just this one.
7620 if test -n "$x_libraries"; then
7621 X_LIBS
="$X_LIBS -L$x_libraries"
7622 # For Solaris; some versions of Sun CC require a space after -R and
7623 # others require no space. Words are not sufficient . . . .
7624 case "`(uname -sr) 2>/dev/null`" in
7626 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
7627 echo "configure:7628: checking whether -R must be followed by a space" >&5
7628 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
7629 cat > conftest.
$ac_ext <<EOF
7630 #line 7631 "configure"
7631 #include "confdefs.h"
7637 if { (eval echo configure
:7638: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7641 echo "configure: failed program was:" >&5
7642 cat conftest.
$ac_ext >&5
7647 if test $ac_R_nospace = yes; then
7648 echo "$ac_t""no" 1>&6
7649 X_LIBS
="$X_LIBS -R$x_libraries"
7651 LIBS
="$ac_xsave_LIBS -R $x_libraries"
7652 cat > conftest.
$ac_ext <<EOF
7653 #line 7654 "configure"
7654 #include "confdefs.h"
7660 if { (eval echo configure
:7661: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7664 echo "configure: failed program was:" >&5
7665 cat conftest.
$ac_ext >&5
7670 if test $ac_R_space = yes; then
7671 echo "$ac_t""yes" 1>&6
7672 X_LIBS
="$X_LIBS -R $x_libraries"
7674 echo "$ac_t""neither works" 1>&6
7677 LIBS
="$ac_xsave_LIBS"
7681 # Check for system-dependent libraries X programs must link with.
7682 # Do this before checking for the system-independent R6 libraries
7683 # (-lICE), since we may need -lsocket or whatever for X linking.
7685 if test "$ISC" = yes; then
7686 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
7688 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
7689 # libraries were built with DECnet support. And karl@cs.umb.edu says
7690 # the Alpha needs dnet_stub (dnet does not exist).
7691 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
7692 echo "configure:7693: checking for dnet_ntoa in -ldnet" >&5
7693 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
7694 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7695 echo $ac_n "(cached) $ac_c" 1>&6
7697 ac_save_LIBS
="$LIBS"
7699 cat > conftest.
$ac_ext <<EOF
7700 #line 7701 "configure"
7701 #include "confdefs.h"
7702 /* Override any gcc2 internal prototype to avoid an error. */
7703 /* We use char because int might match the return type of a gcc2
7704 builtin and then its argument prototype would still apply. */
7711 if { (eval echo configure
:7712: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7713 eval "ac_cv_lib_$ac_lib_var=yes"
7715 echo "configure: failed program was:" >&5
7716 cat conftest.
$ac_ext >&5
7718 eval "ac_cv_lib_$ac_lib_var=no"
7721 LIBS
="$ac_save_LIBS"
7724 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7725 echo "$ac_t""yes" 1>&6
7726 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
7728 echo "$ac_t""no" 1>&6
7731 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
7732 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
7733 echo "configure:7734: checking for dnet_ntoa in -ldnet_stub" >&5
7734 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
7735 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7736 echo $ac_n "(cached) $ac_c" 1>&6
7738 ac_save_LIBS
="$LIBS"
7739 LIBS
="-ldnet_stub $LIBS"
7740 cat > conftest.
$ac_ext <<EOF
7741 #line 7742 "configure"
7742 #include "confdefs.h"
7743 /* Override any gcc2 internal prototype to avoid an error. */
7744 /* We use char because int might match the return type of a gcc2
7745 builtin and then its argument prototype would still apply. */
7752 if { (eval echo configure
:7753: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7754 eval "ac_cv_lib_$ac_lib_var=yes"
7756 echo "configure: failed program was:" >&5
7757 cat conftest.
$ac_ext >&5
7759 eval "ac_cv_lib_$ac_lib_var=no"
7762 LIBS
="$ac_save_LIBS"
7765 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7766 echo "$ac_t""yes" 1>&6
7767 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
7769 echo "$ac_t""no" 1>&6
7774 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
7775 # to get the SysV transport functions.
7776 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
7778 # The nsl library prevents programs from opening the X display
7779 # on Irix 5.2, according to dickey@clark.net.
7780 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
7781 echo "configure:7782: checking for gethostbyname" >&5
7782 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
7783 echo $ac_n "(cached) $ac_c" 1>&6
7785 cat > conftest.
$ac_ext <<EOF
7786 #line 7787 "configure"
7787 #include "confdefs.h"
7788 /* System header to define __stub macros and hopefully few prototypes,
7789 which can conflict with char gethostbyname(); below. */
7791 /* Override any gcc2 internal prototype to avoid an error. */
7792 /* We use char because int might match the return type of a gcc2
7793 builtin and then its argument prototype would still apply. */
7794 char gethostbyname();
7798 /* The GNU C library defines this for functions which it implements
7799 to always fail with ENOSYS. Some functions are actually named
7800 something starting with __ and the normal name is an alias. */
7801 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
7809 if { (eval echo configure
:7810: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7811 eval "ac_cv_func_gethostbyname=yes"
7813 echo "configure: failed program was:" >&5
7814 cat conftest.
$ac_ext >&5
7816 eval "ac_cv_func_gethostbyname=no"
7821 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
7822 echo "$ac_t""yes" 1>&6
7825 echo "$ac_t""no" 1>&6
7828 if test $ac_cv_func_gethostbyname = no
; then
7829 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
7830 echo "configure:7831: checking for gethostbyname in -lnsl" >&5
7831 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
7832 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7833 echo $ac_n "(cached) $ac_c" 1>&6
7835 ac_save_LIBS
="$LIBS"
7837 cat > conftest.
$ac_ext <<EOF
7838 #line 7839 "configure"
7839 #include "confdefs.h"
7840 /* Override any gcc2 internal prototype to avoid an error. */
7841 /* We use char because int might match the return type of a gcc2
7842 builtin and then its argument prototype would still apply. */
7843 char gethostbyname();
7849 if { (eval echo configure
:7850: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7851 eval "ac_cv_lib_$ac_lib_var=yes"
7853 echo "configure: failed program was:" >&5
7854 cat conftest.
$ac_ext >&5
7856 eval "ac_cv_lib_$ac_lib_var=no"
7859 LIBS
="$ac_save_LIBS"
7862 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7863 echo "$ac_t""yes" 1>&6
7864 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
7866 echo "$ac_t""no" 1>&6
7871 # lieder@skyler.mavd.honeywell.com says without -lsocket,
7872 # socket/setsockopt and other routines are undefined under SCO ODT
7873 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
7874 # on later versions), says simon@lia.di.epfl.ch: it contains
7875 # gethostby* variants that don't use the nameserver (or something).
7876 # -lsocket must be given before -lnsl if both are needed.
7877 # We assume that if connect needs -lnsl, so does gethostbyname.
7878 echo $ac_n "checking for connect""... $ac_c" 1>&6
7879 echo "configure:7880: checking for connect" >&5
7880 if eval "test \"`echo '$''{'ac_cv_func_connect'+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 connect(); 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. */
7896 /* The GNU C library defines this for functions which it implements
7897 to always fail with ENOSYS. Some functions are actually named
7898 something starting with __ and the normal name is an alias. */
7899 #if defined (__stub_connect) || defined (__stub___connect)
7907 if { (eval echo configure
:7908: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7909 eval "ac_cv_func_connect=yes"
7911 echo "configure: failed program was:" >&5
7912 cat conftest.
$ac_ext >&5
7914 eval "ac_cv_func_connect=no"
7919 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
7920 echo "$ac_t""yes" 1>&6
7923 echo "$ac_t""no" 1>&6
7926 if test $ac_cv_func_connect = no
; then
7927 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
7928 echo "configure:7929: checking for connect in -lsocket" >&5
7929 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
7930 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7931 echo $ac_n "(cached) $ac_c" 1>&6
7933 ac_save_LIBS
="$LIBS"
7934 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
7935 cat > conftest.
$ac_ext <<EOF
7936 #line 7937 "configure"
7937 #include "confdefs.h"
7938 /* Override any gcc2 internal prototype to avoid an error. */
7939 /* We use char because int might match the return type of a gcc2
7940 builtin and then its argument prototype would still apply. */
7947 if { (eval echo configure
:7948: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7949 eval "ac_cv_lib_$ac_lib_var=yes"
7951 echo "configure: failed program was:" >&5
7952 cat conftest.
$ac_ext >&5
7954 eval "ac_cv_lib_$ac_lib_var=no"
7957 LIBS
="$ac_save_LIBS"
7960 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7961 echo "$ac_t""yes" 1>&6
7962 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
7964 echo "$ac_t""no" 1>&6
7969 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
7970 echo $ac_n "checking for remove""... $ac_c" 1>&6
7971 echo "configure:7972: checking for remove" >&5
7972 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
7973 echo $ac_n "(cached) $ac_c" 1>&6
7975 cat > conftest.
$ac_ext <<EOF
7976 #line 7977 "configure"
7977 #include "confdefs.h"
7978 /* System header to define __stub macros and hopefully few prototypes,
7979 which can conflict with char remove(); below. */
7981 /* Override any gcc2 internal prototype to avoid an error. */
7982 /* We use char because int might match the return type of a gcc2
7983 builtin and then its argument prototype would still apply. */
7988 /* The GNU C library defines this for functions which it implements
7989 to always fail with ENOSYS. Some functions are actually named
7990 something starting with __ and the normal name is an alias. */
7991 #if defined (__stub_remove) || defined (__stub___remove)
7999 if { (eval echo configure
:8000: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8001 eval "ac_cv_func_remove=yes"
8003 echo "configure: failed program was:" >&5
8004 cat conftest.
$ac_ext >&5
8006 eval "ac_cv_func_remove=no"
8011 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
8012 echo "$ac_t""yes" 1>&6
8015 echo "$ac_t""no" 1>&6
8018 if test $ac_cv_func_remove = no
; then
8019 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
8020 echo "configure:8021: checking for remove in -lposix" >&5
8021 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
8022 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8023 echo $ac_n "(cached) $ac_c" 1>&6
8025 ac_save_LIBS
="$LIBS"
8026 LIBS
="-lposix $LIBS"
8027 cat > conftest.
$ac_ext <<EOF
8028 #line 8029 "configure"
8029 #include "confdefs.h"
8030 /* Override any gcc2 internal prototype to avoid an error. */
8031 /* We use char because int might match the return type of a gcc2
8032 builtin and then its argument prototype would still apply. */
8039 if { (eval echo configure
:8040: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8041 eval "ac_cv_lib_$ac_lib_var=yes"
8043 echo "configure: failed program was:" >&5
8044 cat conftest.
$ac_ext >&5
8046 eval "ac_cv_lib_$ac_lib_var=no"
8049 LIBS
="$ac_save_LIBS"
8052 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8053 echo "$ac_t""yes" 1>&6
8054 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
8056 echo "$ac_t""no" 1>&6
8061 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
8062 echo $ac_n "checking for shmat""... $ac_c" 1>&6
8063 echo "configure:8064: checking for shmat" >&5
8064 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
8065 echo $ac_n "(cached) $ac_c" 1>&6
8067 cat > conftest.
$ac_ext <<EOF
8068 #line 8069 "configure"
8069 #include "confdefs.h"
8070 /* System header to define __stub macros and hopefully few prototypes,
8071 which can conflict with char shmat(); below. */
8073 /* Override any gcc2 internal prototype to avoid an error. */
8074 /* We use char because int might match the return type of a gcc2
8075 builtin and then its argument prototype would still apply. */
8080 /* The GNU C library defines this for functions which it implements
8081 to always fail with ENOSYS. Some functions are actually named
8082 something starting with __ and the normal name is an alias. */
8083 #if defined (__stub_shmat) || defined (__stub___shmat)
8091 if { (eval echo configure
:8092: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8093 eval "ac_cv_func_shmat=yes"
8095 echo "configure: failed program was:" >&5
8096 cat conftest.
$ac_ext >&5
8098 eval "ac_cv_func_shmat=no"
8103 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
8104 echo "$ac_t""yes" 1>&6
8107 echo "$ac_t""no" 1>&6
8110 if test $ac_cv_func_shmat = no
; then
8111 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
8112 echo "configure:8113: checking for shmat in -lipc" >&5
8113 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
8114 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8115 echo $ac_n "(cached) $ac_c" 1>&6
8117 ac_save_LIBS
="$LIBS"
8119 cat > conftest.
$ac_ext <<EOF
8120 #line 8121 "configure"
8121 #include "confdefs.h"
8122 /* Override any gcc2 internal prototype to avoid an error. */
8123 /* We use char because int might match the return type of a gcc2
8124 builtin and then its argument prototype would still apply. */
8131 if { (eval echo configure
:8132: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8133 eval "ac_cv_lib_$ac_lib_var=yes"
8135 echo "configure: failed program was:" >&5
8136 cat conftest.
$ac_ext >&5
8138 eval "ac_cv_lib_$ac_lib_var=no"
8141 LIBS
="$ac_save_LIBS"
8144 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8145 echo "$ac_t""yes" 1>&6
8146 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
8148 echo "$ac_t""no" 1>&6
8154 # Check for libraries that X11R6 Xt/Xaw programs need.
8155 ac_save_LDFLAGS
="$LDFLAGS"
8156 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
8157 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
8158 # check for ICE first), but we must link in the order -lSM -lICE or
8159 # we get undefined symbols. So assume we have SM if we have ICE.
8160 # These have to be linked with before -lX11, unlike the other
8161 # libraries we check for below, so use a different variable.
8162 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
8163 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
8164 echo "configure:8165: checking for IceConnectionNumber in -lICE" >&5
8165 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
8166 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8167 echo $ac_n "(cached) $ac_c" 1>&6
8169 ac_save_LIBS
="$LIBS"
8170 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
8171 cat > conftest.
$ac_ext <<EOF
8172 #line 8173 "configure"
8173 #include "confdefs.h"
8174 /* Override any gcc2 internal prototype to avoid an error. */
8175 /* We use char because int might match the return type of a gcc2
8176 builtin and then its argument prototype would still apply. */
8177 char IceConnectionNumber();
8180 IceConnectionNumber()
8183 if { (eval echo configure
:8184: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8185 eval "ac_cv_lib_$ac_lib_var=yes"
8187 echo "configure: failed program was:" >&5
8188 cat conftest.
$ac_ext >&5
8190 eval "ac_cv_lib_$ac_lib_var=no"
8193 LIBS
="$ac_save_LIBS"
8196 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8197 echo "$ac_t""yes" 1>&6
8198 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
8200 echo "$ac_t""no" 1>&6
8203 LDFLAGS
="$ac_save_LDFLAGS"
8208 if test "$no_x" = "yes"; then
8209 { echo "configure: error: X11 not found" 1>&2; exit 1; }
8212 GUI_TK_LIBRARY
="$X_LIBS"
8213 TOOLKIT_INCLUDE
="$X_CFLAGS"
8215 AFMINSTALL
=afminstall
8218 COMPILED_X_PROGRAM
=0
8220 echo $ac_n "checking for Motif/Lesstif headers""... $ac_c" 1>&6
8221 echo "configure:8222: checking for Motif/Lesstif headers" >&5
8224 for ac_dir
in $SEARCH_INCLUDE;
8226 if test -f "$ac_dir/Xm/Xm.h"; then
8227 ac_find_includes
=$ac_dir
8232 if test "$ac_find_includes" != "" ; then
8233 echo "$ac_t""found $ac_find_includes" 1>&6
8235 cat > conftest.
$ac_ext <<EOF
8236 #line 8237 "configure"
8237 #include "confdefs.h"
8245 version = xmUseVersion;
8249 if { (eval echo configure
:8250: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8252 echo "$ac_t""found in default search path" 1>&6
8253 COMPILED_X_PROGRAM
=1
8256 echo "configure: failed program was:" >&5
8257 cat conftest.
$ac_ext >&5
8260 echo "$ac_t""no" 1>&6
8261 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
8268 if test "$COMPILED_X_PROGRAM" = 0; then
8269 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
8270 echo "configure:8271: checking for Motif/Lesstif library" >&5
8273 for ac_dir
in $SEARCH_LIB;
8275 for ac_extension
in a so sl
; do
8276 if test -f "$ac_dir/libXm.$ac_extension"; then
8277 ac_find_libraries
=$ac_dir
8283 if test "$ac_find_libraries" != "" ; then
8285 ac_path_to_include
=$ac_find_includes
8286 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
8288 if test $result = 0; then
8289 ac_path_to_include
=""
8291 ac_path_to_include
="-I$ac_find_includes"
8295 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
8297 if test $result = 0; then
8300 ac_path_to_link
="-L$ac_find_libraries"
8304 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
8305 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE $ac_path_to_include"
8306 echo "$ac_t""found at $ac_find_libraries" 1>&6
8308 cat > conftest.
$ac_ext <<EOF
8309 #line 8310 "configure"
8310 #include "confdefs.h"
8318 version = xmUseVersion;
8322 if { (eval echo configure
:8323: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8325 echo "$ac_t""found in default search path" 1>&6
8326 COMPILED_X_PROGRAM
=1
8329 echo "configure: failed program was:" >&5
8330 cat conftest.
$ac_ext >&5
8333 echo "$ac_t""no" 1>&6
8334 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
8344 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
8345 echo "configure:8346: checking for Xpm library" >&5
8348 for ac_dir
in $SEARCH_LIB;
8350 for ac_extension
in a so sl
; do
8351 if test -f "$ac_dir/libXpm.$ac_extension"; then
8352 ac_find_libraries
=$ac_dir
8358 if test "$ac_find_libraries" != "" ; then
8360 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
8362 if test $result = 0; then
8365 ac_path_to_link
="-L$ac_find_libraries"
8368 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
8370 cat >> confdefs.h
<<\EOF
8371 #define wxHAVE_LIB_XPM 1
8374 echo "$ac_t""found at $ac_find_libraries" 1>&6
8376 cat > conftest.
$ac_ext <<EOF
8377 #line 8378 "configure"
8378 #include "confdefs.h"
8380 #include <X11/xpm.h>
8386 version = XpmLibraryVersion();
8390 if { (eval echo configure
:8391: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8394 cat >> confdefs.h
<<\EOF
8395 #define wxHAVE_LIB_XPM 1
8398 echo "$ac_t""found in default search path" 1>&6
8399 COMPILED_X_PROGRAM
=0
8402 echo "configure: failed program was:" >&5
8403 cat conftest.
$ac_ext >&5
8406 echo "$ac_t""no" 1>&6
8407 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
8414 GUI_TK_LINK
="-lXm $XPM_LINK -lXmu -lXext -lXt -lX11 -lm"
8415 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GUI_TK_LINK"
8418 GUIHEADERS
="\$(MOTIF_HEADERS)"
8419 GUIOBJS
="\$(MOTIF_GUIOBJS)"
8420 COMMONOBJS
="\$(MOTIF_COMMONOBJS)"
8421 GENERICOBJS
="\$(MOTIF_GENERICOBJS)"
8422 GUIDEPS
="\$(MOTIF_GUIDEPS)"
8423 COMMONDEPS
="\$(MOTIF_COMMONDEPS)"
8424 GENERICDEPS
="\$(MOTIF_GENERICDEPS)"
8425 UNIXOBJS
="\$(UNIX_OBJS)"
8426 UNIXDEPS
="\$(UNIX_DEPS)"
8430 if test "$wxUSE_PM" = 1; then
8433 GUIOBJS
="\$(PM_GUIOBJS)"
8434 GUIHEADERS
="\$(PM_HEADERS)"
8435 COMMONOBJS
="\$(PM_COMMONOBJS)"
8436 GENERICOBJS
="\$(PM_GENERICOBJS)"
8437 GUIDEPS
="\$(PM_GUIDEPS)"
8438 COMMONDEPS
="\$(PM_COMMONDEPS)"
8439 GENERICDEPS
="\$(PM_GENERICDEPS)"
8445 if test "$TOOLKIT" != "PM" ; then
8446 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
8451 TOOLKIT_DEF
="-D__WX${TOOLKIT}__"
8453 WX_LIBRARY
="wx_${TOOLKIT_DIR}"
8455 ALL_OBJECTS
="\$(GUIOBJS) \$(COMMONOBJS) \$(GENERICOBJS) \$(UNIXOBJS) \$(HTMLOBJS) \$(OGLOBJS)"
8457 if test "$TOOLKIT" != "MSW"; then
8458 if test "$wxUSE_ODBC" = "yes" ; then
8459 ALL_OBJECTS
="${ALL_OBJECTS} \$(IODBCOBJS)"
8463 if test "$wxUSE_LIBJPEG" = "yes" ; then
8464 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
8466 if test "$wxUSE_LIBTIFF" = "yes" ; then
8467 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
8469 if test "$wxUSE_LIBPNG" = "yes" ; then
8470 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
8472 if test "$wxUSE_ZLIB" = "yes" ; then
8473 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
8475 ALL_DEPFILES
="\$(GUIDEPS) \$(COMMONDEPS) \$(GENERICDEPS) \$(UNIXDEPS) \$(HTMLDEPS) \$(OGLDEPS)"
8477 PORT_FILES
="src/\$(TOOLKITDIR)/files.lst"
8478 RPM_FILES
="src/\$(TOOLKITDIR)/rpmfiles.lst"
8479 RPM_SPEC
="wx\$(TOOLKIT).spec"
8481 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
8482 DISTDIR
="wx\$(TOOLKIT)"
8487 TOOLKIT_DEF
="-D__WXBASE__"
8489 ALL_OBJECTS
="\$(BASE_OBJS) \${BASE_UNIX_OBJS}"
8490 ALL_DEPFILES
="\${BASE_DEPS} \${BASE_UNIX_DEPS}"
8494 PORT_FILES
="src/files.lst"
8495 RPM_FILES
="src/rpmfiles.lst"
8496 RPM_SPEC
="wxBase.spec"
8502 WX_LIBRARY_NAME
="lib${WX_LIBRARY}.la"
8503 WX_LIBRARY_NAME_GL
="lib${WX_LIBRARY}_gl.la"
8505 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
8506 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY}_gl.a"
8508 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}-${WX_RELEASE}.so.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
8509 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.so.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
8511 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}-${WX_RELEASE}.so.${WX_CURRENT}"
8512 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}-${WX_RELEASE}.so"
8513 WX_LIBRARY_LINK3
="lib${WX_LIBRARY}.so"
8514 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.so.${WX_CURRENT}"
8515 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.so"
8516 WX_LIBRARY_LINK3_GL
="lib${WX_LIBRARY}_gl.so"
8525 if test "$wxUSE_SHARED" = "yes"; then
8528 if test "$GCC" = yes ; then
8529 SHARED_LD
="${CC} -shared -fPIC -o"
8532 SHARED_LD
="${CXX} -b -o"
8535 WX_LIBRARY_NAME_SHARED
="libwx_${TOOLKIT_DIR}.sl"
8536 WX_LIBRARY_NAME_SHARED_GL
="libwx_${TOOLKIT_DIR}_gl.sl"
8537 if test "$wxUSE_OPENGL" = "yes"; then
8538 WX_ALL
="${WX_LIBRARY_NAME_SHARED} ${WX_LIBRARY_NAME_SHARED_GL}"
8540 WX_ALL
="${WX_LIBRARY_NAME_SHARED}"
8545 SHARED_LD
="${CC} -shared -o"
8547 if test "$wxUSE_BURNT_NAME" = "yes" ; then
8548 BURNT_LIBRARY_NAME
="-Wl,-soname,${WX_LIBRARY_LINK1}"
8549 BURNT_LIBRARY_NAME_GL
="-Wl,-soname,${WX_LIBRARY_LINK1_GL}"
8551 if test "$wxUSE_OPENGL" = "yes"; then
8552 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
8553 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
8555 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8556 WX_ALL
="CREATE_LINKS"
8559 *-*-irix5* | *-*-irix6* )
8560 if test "$GCC" = yes ; then
8561 SHARED_LD
="${CC} -shared -o"
8564 SHARED_LD
="${CXX} -shared -o"
8566 if test "$wxUSE_OPENGL" = "yes"; then
8567 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
8568 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
8570 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8571 WX_ALL
="CREATE_LINKS"
8575 if test "$GCC" = yes ; then
8576 SHARED_LD
="${CC} -shared -o"
8579 SHARED_LD
="${CXX} -G -o"
8582 if test "$wxUSE_OPENGL" = "yes"; then
8583 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
8584 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
8586 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8587 WX_ALL
="CREATE_LINKS"
8591 SHARED_LD
="${CC} -shared -o"
8593 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8594 WX_ALL
="CREATE_LINKS"
8596 *-*-freebsd* | *-*-netbsd*)
8597 SHARED_LD
="${CC} -shared -o"
8599 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8600 WX_ALL
="CREATE_LINKS"
8603 SHARED_LD
="${CXX} -shared -o"
8605 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8606 WX_ALL
="CREATE_LINKS"
8609 SHARED_LD
="${CXX} -shared -o"
8611 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8612 WX_ALL
="CREATE_LINKS"
8615 SHARED_LD
="${CC} -shared -o"
8617 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8618 WX_ALL
="CREATE_LINKS"
8621 SHARED_LD
="/usr/lpp/xlC/bin/makeC++SharedLib -p 0 -o"
8622 WX_ALL
=${WX_LIBRARY_NAME_SHARED}
8625 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
8626 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
8627 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
8630 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
8631 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
8632 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
8635 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
8636 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
8639 SHARED_LD
="${LD} -shared -o"
8641 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8642 WX_ALL
="CREATE_LINKS"
8645 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
8648 if test "x$WX_TARGET_LIBRARY" = "x"; then
8649 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
8650 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
8653 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
8654 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
8655 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
8659 for ac_hdr
in strings.h
8661 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8662 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8663 echo "configure:8664: checking for $ac_hdr" >&5
8664 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8665 echo $ac_n "(cached) $ac_c" 1>&6
8667 cat > conftest.
$ac_ext <<EOF
8668 #line 8669 "configure"
8669 #include "confdefs.h"
8672 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8673 { (eval echo configure
:8674: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8674 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8675 if test -z "$ac_err"; then
8677 eval "ac_cv_header_$ac_safe=yes"
8680 echo "configure: failed program was:" >&5
8681 cat conftest.
$ac_ext >&5
8683 eval "ac_cv_header_$ac_safe=no"
8687 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8688 echo "$ac_t""yes" 1>&6
8689 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8690 cat >> confdefs.h
<<EOF
8691 #define $ac_tr_hdr 1
8695 echo "$ac_t""no" 1>&6
8699 for ac_hdr
in unistd.h
8701 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8702 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8703 echo "configure:8704: checking for $ac_hdr" >&5
8704 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8705 echo $ac_n "(cached) $ac_c" 1>&6
8707 cat > conftest.
$ac_ext <<EOF
8708 #line 8709 "configure"
8709 #include "confdefs.h"
8712 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8713 { (eval echo configure
:8714: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8714 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8715 if test -z "$ac_err"; then
8717 eval "ac_cv_header_$ac_safe=yes"
8720 echo "configure: failed program was:" >&5
8721 cat conftest.
$ac_ext >&5
8723 eval "ac_cv_header_$ac_safe=no"
8727 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8728 echo "$ac_t""yes" 1>&6
8729 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8730 cat >> confdefs.h
<<EOF
8731 #define $ac_tr_hdr 1
8735 echo "$ac_t""no" 1>&6
8739 for ac_hdr
in wchar.h
8741 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8742 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8743 echo "configure:8744: checking for $ac_hdr" >&5
8744 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8745 echo $ac_n "(cached) $ac_c" 1>&6
8747 cat > conftest.
$ac_ext <<EOF
8748 #line 8749 "configure"
8749 #include "confdefs.h"
8752 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8753 { (eval echo configure
:8754: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8754 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8755 if test -z "$ac_err"; then
8757 eval "ac_cv_header_$ac_safe=yes"
8760 echo "configure: failed program was:" >&5
8761 cat conftest.
$ac_ext >&5
8763 eval "ac_cv_header_$ac_safe=no"
8767 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8768 echo "$ac_t""yes" 1>&6
8769 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8770 cat >> confdefs.h
<<EOF
8771 #define $ac_tr_hdr 1
8775 echo "$ac_t""no" 1>&6
8779 for ac_hdr
in wcstr.h
8781 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8782 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8783 echo "configure:8784: checking for $ac_hdr" >&5
8784 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8785 echo $ac_n "(cached) $ac_c" 1>&6
8787 cat > conftest.
$ac_ext <<EOF
8788 #line 8789 "configure"
8789 #include "confdefs.h"
8792 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8793 { (eval echo configure
:8794: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8794 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8795 if test -z "$ac_err"; then
8797 eval "ac_cv_header_$ac_safe=yes"
8800 echo "configure: failed program was:" >&5
8801 cat conftest.
$ac_ext >&5
8803 eval "ac_cv_header_$ac_safe=no"
8807 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8808 echo "$ac_t""yes" 1>&6
8809 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8810 cat >> confdefs.h
<<EOF
8811 #define $ac_tr_hdr 1
8815 echo "$ac_t""no" 1>&6
8819 for ac_hdr
in fnmatch.h
8821 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8822 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8823 echo "configure:8824: checking for $ac_hdr" >&5
8824 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8825 echo $ac_n "(cached) $ac_c" 1>&6
8827 cat > conftest.
$ac_ext <<EOF
8828 #line 8829 "configure"
8829 #include "confdefs.h"
8832 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8833 { (eval echo configure
:8834: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8834 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8835 if test -z "$ac_err"; then
8837 eval "ac_cv_header_$ac_safe=yes"
8840 echo "configure: failed program was:" >&5
8841 cat conftest.
$ac_ext >&5
8843 eval "ac_cv_header_$ac_safe=no"
8847 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8848 echo "$ac_t""yes" 1>&6
8849 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8850 cat >> confdefs.h
<<EOF
8851 #define $ac_tr_hdr 1
8855 echo "$ac_t""no" 1>&6
8860 if test "$wxUSE_GUI" = "yes"; then
8861 if test "$wxUSE_UNIX" = "yes"; then
8862 for ac_hdr
in X
11/XKBlib.h
8864 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8865 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8866 echo "configure:8867: checking for $ac_hdr" >&5
8867 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8868 echo $ac_n "(cached) $ac_c" 1>&6
8870 cat > conftest.
$ac_ext <<EOF
8871 #line 8872 "configure"
8872 #include "confdefs.h"
8875 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8876 { (eval echo configure
:8877: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8877 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8878 if test -z "$ac_err"; then
8880 eval "ac_cv_header_$ac_safe=yes"
8883 echo "configure: failed program was:" >&5
8884 cat conftest.
$ac_ext >&5
8886 eval "ac_cv_header_$ac_safe=no"
8890 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8891 echo "$ac_t""yes" 1>&6
8892 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8893 cat >> confdefs.h
<<EOF
8894 #define $ac_tr_hdr 1
8898 echo "$ac_t""no" 1>&6
8906 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
8907 echo "configure:8908: checking for ANSI C header files" >&5
8908 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
8909 echo $ac_n "(cached) $ac_c" 1>&6
8911 cat > conftest.
$ac_ext <<EOF
8912 #line 8913 "configure"
8913 #include "confdefs.h"
8919 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8920 { (eval echo configure
:8921: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8921 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8922 if test -z "$ac_err"; then
8924 ac_cv_header_stdc
=yes
8927 echo "configure: failed program was:" >&5
8928 cat conftest.
$ac_ext >&5
8930 ac_cv_header_stdc
=no
8934 if test $ac_cv_header_stdc = yes; then
8935 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8936 cat > conftest.
$ac_ext <<EOF
8937 #line 8938 "configure"
8938 #include "confdefs.h"
8941 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8942 egrep "memchr" >/dev
/null
2>&1; then
8946 ac_cv_header_stdc
=no
8952 if test $ac_cv_header_stdc = yes; then
8953 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8954 cat > conftest.
$ac_ext <<EOF
8955 #line 8956 "configure"
8956 #include "confdefs.h"
8959 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8960 egrep "free" >/dev
/null
2>&1; then
8964 ac_cv_header_stdc
=no
8970 if test $ac_cv_header_stdc = yes; then
8971 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8972 if test "$cross_compiling" = yes; then
8975 cat > conftest.
$ac_ext <<EOF
8976 #line 8977 "configure"
8977 #include "confdefs.h"
8979 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8980 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8981 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8982 int main () { int i; for (i = 0; i < 256; i++)
8983 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
8987 if { (eval echo configure
:8988: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
8991 echo "configure: failed program was:" >&5
8992 cat conftest.
$ac_ext >&5
8994 ac_cv_header_stdc
=no
9002 echo "$ac_t""$ac_cv_header_stdc" 1>&6
9003 if test $ac_cv_header_stdc = yes; then
9004 cat >> confdefs.h
<<\EOF
9005 #define STDC_HEADERS 1
9010 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
9011 echo "configure:9012: checking for mode_t" >&5
9012 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
9013 echo $ac_n "(cached) $ac_c" 1>&6
9015 cat > conftest.
$ac_ext <<EOF
9016 #line 9017 "configure"
9017 #include "confdefs.h"
9018 #include <sys/types.h>
9024 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9025 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
9027 ac_cv_type_mode_t
=yes
9030 ac_cv_type_mode_t
=no
9035 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
9036 if test $ac_cv_type_mode_t = no
; then
9037 cat >> confdefs.h
<<\EOF
9043 echo $ac_n "checking for off_t""... $ac_c" 1>&6
9044 echo "configure:9045: checking for off_t" >&5
9045 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
9046 echo $ac_n "(cached) $ac_c" 1>&6
9048 cat > conftest.
$ac_ext <<EOF
9049 #line 9050 "configure"
9050 #include "confdefs.h"
9051 #include <sys/types.h>
9057 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9058 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
9060 ac_cv_type_off_t
=yes
9068 echo "$ac_t""$ac_cv_type_off_t" 1>&6
9069 if test $ac_cv_type_off_t = no
; then
9070 cat >> confdefs.h
<<\EOF
9076 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
9077 echo "configure:9078: checking for pid_t" >&5
9078 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
9079 echo $ac_n "(cached) $ac_c" 1>&6
9081 cat > conftest.
$ac_ext <<EOF
9082 #line 9083 "configure"
9083 #include "confdefs.h"
9084 #include <sys/types.h>
9090 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9091 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
9093 ac_cv_type_pid_t
=yes
9101 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
9102 if test $ac_cv_type_pid_t = no
; then
9103 cat >> confdefs.h
<<\EOF
9109 echo $ac_n "checking for size_t""... $ac_c" 1>&6
9110 echo "configure:9111: checking for size_t" >&5
9111 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
9112 echo $ac_n "(cached) $ac_c" 1>&6
9114 cat > conftest.
$ac_ext <<EOF
9115 #line 9116 "configure"
9116 #include "confdefs.h"
9117 #include <sys/types.h>
9123 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9124 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
9126 ac_cv_type_size_t
=yes
9129 ac_cv_type_size_t
=no
9134 echo "$ac_t""$ac_cv_type_size_t" 1>&6
9135 if test $ac_cv_type_size_t = no
; then
9136 cat >> confdefs.h
<<\EOF
9137 #define size_t unsigned
9142 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
9143 echo "configure:9144: checking for uid_t in sys/types.h" >&5
9144 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
9145 echo $ac_n "(cached) $ac_c" 1>&6
9147 cat > conftest.
$ac_ext <<EOF
9148 #line 9149 "configure"
9149 #include "confdefs.h"
9150 #include <sys/types.h>
9152 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9153 egrep "uid_t" >/dev
/null
2>&1; then
9155 ac_cv_type_uid_t
=yes
9164 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
9165 if test $ac_cv_type_uid_t = no
; then
9166 cat >> confdefs.h
<<\EOF
9170 cat >> confdefs.h
<<\EOF
9178 echo $ac_n "checking for pw_gecos in struct passwd""... $ac_c" 1>&6
9179 echo "configure:9180: checking for pw_gecos in struct passwd" >&5
9180 if eval "test \"`echo '$''{'wx_cv_struct_pw_gecos'+set}'`\" = set"; then
9181 echo $ac_n "(cached) $ac_c" 1>&6
9184 cat > conftest.
$ac_ext <<EOF
9185 #line 9186 "configure"
9186 #include "confdefs.h"
9196 if { (eval echo configure
:9197: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9199 wx_cv_struct_pw_gecos
=yes
9200 cat >> confdefs.h
<<\EOF
9201 #define HAVE_PW_GECOS 1
9206 echo "configure: failed program was:" >&5
9207 cat conftest.
$ac_ext >&5
9210 wx_cv_struct_pw_gecos
=no
9219 echo "$ac_t""$wx_cv_struct_pw_gecos" 1>&6
9222 echo $ac_n "checking for working const""... $ac_c" 1>&6
9223 echo "configure:9224: checking for working const" >&5
9224 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
9225 echo $ac_n "(cached) $ac_c" 1>&6
9227 cat > conftest.
$ac_ext <<EOF
9228 #line 9229 "configure"
9229 #include "confdefs.h"
9233 /* Ultrix mips cc rejects this. */
9234 typedef int charset[2]; const charset x;
9235 /* SunOS 4.1.1 cc rejects this. */
9236 char const *const *ccp;
9238 /* NEC SVR4.0.2 mips cc rejects this. */
9239 struct point {int x, y;};
9240 static struct point const zero = {0,0};
9241 /* AIX XL C 1.02.0.0 rejects this.
9242 It does not let you subtract one const X* pointer from another in an arm
9243 of an if-expression whose if-part is not a constant expression */
9244 const char *g = "string";
9245 ccp = &g + (g ? g-g : 0);
9246 /* HPUX 7.0 cc rejects these. */
9249 ccp = (char const *const *) p;
9250 { /* SCO 3.2v4 cc rejects this. */
9252 char const *s = 0 ? (char *) 0 : (char const *) 0;
9256 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
9258 const int *foo = &x[0];
9261 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
9262 typedef const int *iptr;
9266 { /* AIX XL C 1.02.0.0 rejects this saying
9267 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
9268 struct s { int j; const int *ap[3]; };
9269 struct s *b; b->j = 5;
9271 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
9277 if { (eval echo configure
:9278: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9281 echo "configure: failed program was:" >&5
9282 cat conftest.
$ac_ext >&5
9289 echo "$ac_t""$ac_cv_c_const" 1>&6
9290 if test $ac_cv_c_const = no
; then
9291 cat >> confdefs.h
<<\EOF
9297 echo $ac_n "checking for inline""... $ac_c" 1>&6
9298 echo "configure:9299: checking for inline" >&5
9299 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
9300 echo $ac_n "(cached) $ac_c" 1>&6
9303 for ac_kw
in inline __inline__ __inline
; do
9304 cat > conftest.
$ac_ext <<EOF
9305 #line 9306 "configure"
9306 #include "confdefs.h"
9312 if { (eval echo configure
:9313: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9314 ac_cv_c_inline
=$ac_kw; break
9316 echo "configure: failed program was:" >&5
9317 cat conftest.
$ac_ext >&5
9324 echo "$ac_t""$ac_cv_c_inline" 1>&6
9325 case "$ac_cv_c_inline" in
9327 no
) cat >> confdefs.h
<<\EOF
9331 *) cat >> confdefs.h
<<EOF
9332 #define inline $ac_cv_c_inline
9338 echo $ac_n "checking size of char""... $ac_c" 1>&6
9339 echo "configure:9340: checking size of char" >&5
9340 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
9341 echo $ac_n "(cached) $ac_c" 1>&6
9343 if test "$cross_compiling" = yes; then
9346 cat > conftest.
$ac_ext <<EOF
9347 #line 9348 "configure"
9348 #include "confdefs.h"
9352 FILE *f=fopen("conftestval", "w");
9354 fprintf(f, "%d\n", sizeof(char));
9358 if { (eval echo configure
:9359: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9360 ac_cv_sizeof_char
=`cat conftestval`
9362 echo "configure: failed program was:" >&5
9363 cat conftest.
$ac_ext >&5
9371 echo "$ac_t""$ac_cv_sizeof_char" 1>&6
9372 cat >> confdefs.h
<<EOF
9373 #define SIZEOF_CHAR $ac_cv_sizeof_char
9377 echo $ac_n "checking size of short""... $ac_c" 1>&6
9378 echo "configure:9379: checking size of short" >&5
9379 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
9380 echo $ac_n "(cached) $ac_c" 1>&6
9382 if test "$cross_compiling" = yes; then
9383 ac_cv_sizeof_short
=2
9385 cat > conftest.
$ac_ext <<EOF
9386 #line 9387 "configure"
9387 #include "confdefs.h"
9391 FILE *f=fopen("conftestval", "w");
9393 fprintf(f, "%d\n", sizeof(short));
9397 if { (eval echo configure
:9398: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9399 ac_cv_sizeof_short
=`cat conftestval`
9401 echo "configure: failed program was:" >&5
9402 cat conftest.
$ac_ext >&5
9404 ac_cv_sizeof_short
=0
9410 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
9411 cat >> confdefs.h
<<EOF
9412 #define SIZEOF_SHORT $ac_cv_sizeof_short
9416 echo $ac_n "checking size of int *""... $ac_c" 1>&6
9417 echo "configure:9418: checking size of int *" >&5
9418 if eval "test \"`echo '$''{'ac_cv_sizeof_int_p'+set}'`\" = set"; then
9419 echo $ac_n "(cached) $ac_c" 1>&6
9421 if test "$cross_compiling" = yes; then
9422 ac_cv_sizeof_int_p
=4
9424 cat > conftest.
$ac_ext <<EOF
9425 #line 9426 "configure"
9426 #include "confdefs.h"
9430 FILE *f=fopen("conftestval", "w");
9432 fprintf(f, "%d\n", sizeof(int *));
9436 if { (eval echo configure
:9437: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9438 ac_cv_sizeof_int_p
=`cat conftestval`
9440 echo "configure: failed program was:" >&5
9441 cat conftest.
$ac_ext >&5
9443 ac_cv_sizeof_int_p
=0
9449 echo "$ac_t""$ac_cv_sizeof_int_p" 1>&6
9450 cat >> confdefs.h
<<EOF
9451 #define SIZEOF_INT_P $ac_cv_sizeof_int_p
9455 echo $ac_n "checking size of int""... $ac_c" 1>&6
9456 echo "configure:9457: checking size of int" >&5
9457 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
9458 echo $ac_n "(cached) $ac_c" 1>&6
9460 if test "$cross_compiling" = yes; then
9463 cat > conftest.
$ac_ext <<EOF
9464 #line 9465 "configure"
9465 #include "confdefs.h"
9469 FILE *f=fopen("conftestval", "w");
9471 fprintf(f, "%d\n", sizeof(int));
9475 if { (eval echo configure
:9476: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9477 ac_cv_sizeof_int
=`cat conftestval`
9479 echo "configure: failed program was:" >&5
9480 cat conftest.
$ac_ext >&5
9488 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
9489 cat >> confdefs.h
<<EOF
9490 #define SIZEOF_INT $ac_cv_sizeof_int
9494 echo $ac_n "checking size of long""... $ac_c" 1>&6
9495 echo "configure:9496: checking size of long" >&5
9496 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
9497 echo $ac_n "(cached) $ac_c" 1>&6
9499 if test "$cross_compiling" = yes; then
9502 cat > conftest.
$ac_ext <<EOF
9503 #line 9504 "configure"
9504 #include "confdefs.h"
9508 FILE *f=fopen("conftestval", "w");
9510 fprintf(f, "%d\n", sizeof(long));
9514 if { (eval echo configure
:9515: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9516 ac_cv_sizeof_long
=`cat conftestval`
9518 echo "configure: failed program was:" >&5
9519 cat conftest.
$ac_ext >&5
9527 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
9528 cat >> confdefs.h
<<EOF
9529 #define SIZEOF_LONG $ac_cv_sizeof_long
9533 echo $ac_n "checking size of long long""... $ac_c" 1>&6
9534 echo "configure:9535: checking size of long long" >&5
9535 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
9536 echo $ac_n "(cached) $ac_c" 1>&6
9538 if test "$cross_compiling" = yes; then
9539 ac_cv_sizeof_long_long
=0
9541 cat > conftest.
$ac_ext <<EOF
9542 #line 9543 "configure"
9543 #include "confdefs.h"
9547 FILE *f=fopen("conftestval", "w");
9549 fprintf(f, "%d\n", sizeof(long long));
9553 if { (eval echo configure
:9554: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9555 ac_cv_sizeof_long_long
=`cat conftestval`
9557 echo "configure: failed program was:" >&5
9558 cat conftest.
$ac_ext >&5
9560 ac_cv_sizeof_long_long
=0
9566 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
9567 cat >> confdefs.h
<<EOF
9568 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
9573 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
9574 echo "configure:9575: checking whether byte ordering is bigendian" >&5
9575 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
9576 echo $ac_n "(cached) $ac_c" 1>&6
9578 ac_cv_c_bigendian
=unknown
9579 # See if sys/param.h defines the BYTE_ORDER macro.
9580 cat > conftest.
$ac_ext <<EOF
9581 #line 9582 "configure"
9582 #include "confdefs.h"
9583 #include <sys/types.h>
9584 #include <sys/param.h>
9587 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
9592 if { (eval echo configure
:9593: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9594 # It does; now see whether it defined to BIG_ENDIAN or not.
9595 cat > conftest.
$ac_ext <<EOF
9596 #line 9597 "configure"
9597 #include "confdefs.h"
9598 #include <sys/types.h>
9599 #include <sys/param.h>
9602 #if BYTE_ORDER != BIG_ENDIAN
9607 if { (eval echo configure
:9608: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9609 ac_cv_c_bigendian
=yes
9611 echo "configure: failed program was:" >&5
9612 cat conftest.
$ac_ext >&5
9614 ac_cv_c_bigendian
=no
9618 echo "configure: failed program was:" >&5
9619 cat conftest.
$ac_ext >&5
9622 if test $ac_cv_c_bigendian = unknown
; then
9623 if test "$cross_compiling" = yes; then
9624 ac_cv_c_bigendian
=unknown
9626 cat > conftest.
$ac_ext <<EOF
9627 #line 9628 "configure"
9628 #include "confdefs.h"
9630 /* Are we little or big endian? From Harbison&Steele. */
9634 char c[sizeof (long)];
9637 exit (u.c[sizeof (long) - 1] == 1);
9640 if { (eval echo configure
:9641: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9642 ac_cv_c_bigendian
=no
9644 echo "configure: failed program was:" >&5
9645 cat conftest.
$ac_ext >&5
9647 ac_cv_c_bigendian
=yes
9655 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
9656 if test $ac_cv_c_bigendian = unknown
; then
9657 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
9659 if test $ac_cv_c_bigendian = yes; then
9660 cat >> confdefs.h
<<\EOF
9661 #define WORDS_BIGENDIAN 1
9668 if test "$cross_compiling" = "yes"; then
9669 cat >> confdefs.h
<<\EOF
9670 #define wxUSE_IOSTREAMH 1
9676 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9677 ac_cpp
='$CXXCPP $CPPFLAGS'
9678 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9679 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9680 cross_compiling
=$ac_cv_prog_cxx_cross
9683 for ac_hdr
in iostream
9685 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9686 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9687 echo "configure:9688: checking for $ac_hdr" >&5
9688 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9689 echo $ac_n "(cached) $ac_c" 1>&6
9691 cat > conftest.
$ac_ext <<EOF
9692 #line 9693 "configure"
9693 #include "confdefs.h"
9696 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9697 { (eval echo configure
:9698: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9698 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9699 if test -z "$ac_err"; then
9701 eval "ac_cv_header_$ac_safe=yes"
9704 echo "configure: failed program was:" >&5
9705 cat conftest.
$ac_ext >&5
9707 eval "ac_cv_header_$ac_safe=no"
9711 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9712 echo "$ac_t""yes" 1>&6
9713 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9714 cat >> confdefs.h
<<EOF
9715 #define $ac_tr_hdr 1
9719 echo "$ac_t""no" 1>&6
9724 if test "x$HAVE_IOSTREAM" = x
; then
9725 cat >> confdefs.h
<<\EOF
9726 #define wxUSE_IOSTREAMH 1
9734 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9735 ac_cpp
='$CPP $CPPFLAGS'
9736 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9737 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9738 cross_compiling
=$ac_cv_prog_cc_cross
9744 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
9745 echo "configure:9746: checking if C++ compiler supports bool" >&5
9746 if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
9747 echo $ac_n "(cached) $ac_c" 1>&6
9752 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9753 ac_cpp
='$CXXCPP $CPPFLAGS'
9754 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9755 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9756 cross_compiling
=$ac_cv_prog_cxx_cross
9759 cat > conftest.
$ac_ext <<EOF
9760 #line 9761 "configure"
9761 #include "confdefs.h"
9772 if { (eval echo configure
:9773: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9775 cat >> confdefs.h
<<\EOF
9782 echo "configure: failed program was:" >&5
9783 cat conftest.
$ac_ext >&5
9793 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9794 ac_cpp
='$CPP $CPPFLAGS'
9795 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9796 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9797 cross_compiling
=$ac_cv_prog_cc_cross
9802 echo "$ac_t""$wx_cv_cpp_bool" 1>&6
9804 if test "$wx_cv_cpp_bool" = "yes"; then
9805 cat >> confdefs.h
<<\EOF
9813 echo $ac_n "checking if you need GNU extensions""... $ac_c" 1>&6
9814 echo "configure:9815: checking if you need GNU extensions" >&5
9815 if eval "test \"`echo '$''{'wx_cv_gnu_extensions'+set}'`\" = set"; then
9816 echo $ac_n "(cached) $ac_c" 1>&6
9819 cat > conftest.
$ac_ext <<EOF
9820 #line 9821 "configure"
9821 #include "confdefs.h"
9822 #include <features.h>
9826 #ifndef __GNU_LIBRARY__
9827 Compile error wanted
9833 if { (eval echo configure
:9834: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9835 wx_cv_gnu_extensions
=yes
9837 echo "configure: failed program was:" >&5
9838 cat conftest.
$ac_ext >&5
9840 wx_cv_gnu_extensions
=no
9847 echo "$ac_t""$wx_cv_gnu_extensions" 1>&6
9848 if test "$wx_cv_gnu_extensions" = "yes"; then
9849 cat >> confdefs.h
<<EOF
9850 #define _GNU_SOURCE 1
9857 echo $ac_n "checking for wcslen in -lc""... $ac_c" 1>&6
9858 echo "configure:9859: checking for wcslen in -lc" >&5
9859 ac_lib_var
=`echo c'_'wcslen | sed 'y%./+-%__p_%'`
9860 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9861 echo $ac_n "(cached) $ac_c" 1>&6
9863 ac_save_LIBS
="$LIBS"
9865 cat > conftest.
$ac_ext <<EOF
9866 #line 9867 "configure"
9867 #include "confdefs.h"
9868 /* Override any gcc2 internal prototype to avoid an error. */
9869 /* We use char because int might match the return type of a gcc2
9870 builtin and then its argument prototype would still apply. */
9877 if { (eval echo configure
:9878: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9879 eval "ac_cv_lib_$ac_lib_var=yes"
9881 echo "configure: failed program was:" >&5
9882 cat conftest.
$ac_ext >&5
9884 eval "ac_cv_lib_$ac_lib_var=no"
9887 LIBS
="$ac_save_LIBS"
9890 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9891 echo "$ac_t""yes" 1>&6
9893 cat >> confdefs.h
<<\EOF
9894 #define HAVE_WCSLEN 1
9900 echo "$ac_t""no" 1>&6
9902 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
9903 echo "configure:9904: checking for wcslen in -lw" >&5
9904 ac_lib_var
=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
9905 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9906 echo $ac_n "(cached) $ac_c" 1>&6
9908 ac_save_LIBS
="$LIBS"
9910 cat > conftest.
$ac_ext <<EOF
9911 #line 9912 "configure"
9912 #include "confdefs.h"
9913 /* Override any gcc2 internal prototype to avoid an error. */
9914 /* We use char because int might match the return type of a gcc2
9915 builtin and then its argument prototype would still apply. */
9922 if { (eval echo configure
:9923: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9924 eval "ac_cv_lib_$ac_lib_var=yes"
9926 echo "configure: failed program was:" >&5
9927 cat conftest.
$ac_ext >&5
9929 eval "ac_cv_lib_$ac_lib_var=no"
9932 LIBS
="$ac_save_LIBS"
9935 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9936 echo "$ac_t""yes" 1>&6
9938 cat >> confdefs.h
<<\EOF
9939 #define HAVE_WCSLEN 1
9945 echo "$ac_t""no" 1>&6
9952 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
9953 echo "configure:9954: checking for vprintf" >&5
9954 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
9955 echo $ac_n "(cached) $ac_c" 1>&6
9957 cat > conftest.
$ac_ext <<EOF
9958 #line 9959 "configure"
9959 #include "confdefs.h"
9960 /* System header to define __stub macros and hopefully few prototypes,
9961 which can conflict with char vprintf(); below. */
9963 /* Override any gcc2 internal prototype to avoid an error. */
9964 /* We use char because int might match the return type of a gcc2
9965 builtin and then its argument prototype would still apply. */
9970 /* The GNU C library defines this for functions which it implements
9971 to always fail with ENOSYS. Some functions are actually named
9972 something starting with __ and the normal name is an alias. */
9973 #if defined (__stub_vprintf) || defined (__stub___vprintf)
9981 if { (eval echo configure
:9982: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9983 eval "ac_cv_func_vprintf=yes"
9985 echo "configure: failed program was:" >&5
9986 cat conftest.
$ac_ext >&5
9988 eval "ac_cv_func_vprintf=no"
9993 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
9994 echo "$ac_t""yes" 1>&6
9995 cat >> confdefs.h
<<\EOF
9996 #define HAVE_VPRINTF 1
10000 echo "$ac_t""no" 1>&6
10003 if test "$ac_cv_func_vprintf" != yes; then
10004 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
10005 echo "configure:10006: checking for _doprnt" >&5
10006 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
10007 echo $ac_n "(cached) $ac_c" 1>&6
10009 cat > conftest.
$ac_ext <<EOF
10010 #line 10011 "configure"
10011 #include "confdefs.h"
10012 /* System header to define __stub macros and hopefully few prototypes,
10013 which can conflict with char _doprnt(); below. */
10014 #include <assert.h>
10015 /* Override any gcc2 internal prototype to avoid an error. */
10016 /* We use char because int might match the return type of a gcc2
10017 builtin and then its argument prototype would still apply. */
10022 /* The GNU C library defines this for functions which it implements
10023 to always fail with ENOSYS. Some functions are actually named
10024 something starting with __ and the normal name is an alias. */
10025 #if defined (__stub__doprnt) || defined (__stub____doprnt)
10033 if { (eval echo configure
:10034: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10035 eval "ac_cv_func__doprnt=yes"
10037 echo "configure: failed program was:" >&5
10038 cat conftest.
$ac_ext >&5
10040 eval "ac_cv_func__doprnt=no"
10045 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
10046 echo "$ac_t""yes" 1>&6
10047 cat >> confdefs.h
<<\EOF
10048 #define HAVE_DOPRNT 1
10052 echo "$ac_t""no" 1>&6
10058 for ac_func
in vsnprintf
10060 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10061 echo "configure:10062: checking for $ac_func" >&5
10062 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10063 echo $ac_n "(cached) $ac_c" 1>&6
10065 cat > conftest.
$ac_ext <<EOF
10066 #line 10067 "configure"
10067 #include "confdefs.h"
10068 /* System header to define __stub macros and hopefully few prototypes,
10069 which can conflict with char $ac_func(); below. */
10070 #include <assert.h>
10071 /* Override any gcc2 internal prototype to avoid an error. */
10072 /* We use char because int might match the return type of a gcc2
10073 builtin and then its argument prototype would still apply. */
10078 /* The GNU C library defines this for functions which it implements
10079 to always fail with ENOSYS. Some functions are actually named
10080 something starting with __ and the normal name is an alias. */
10081 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10089 if { (eval echo configure
:10090: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10091 eval "ac_cv_func_$ac_func=yes"
10093 echo "configure: failed program was:" >&5
10094 cat conftest.
$ac_ext >&5
10096 eval "ac_cv_func_$ac_func=no"
10101 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10102 echo "$ac_t""yes" 1>&6
10103 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10104 cat >> confdefs.h
<<EOF
10105 #define $ac_tr_func 1
10107 cat >> confdefs.h
<<\EOF
10108 #define HAVE_VSNPRINTF 1
10112 echo "$ac_t""no" 1>&6
10113 echo "configure: warning: unsafe function sprintf will be used instead of snprintf" 1>&2
10121 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10122 ac_cpp
='$CXXCPP $CPPFLAGS'
10123 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10124 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10125 cross_compiling
=$ac_cv_prog_cxx_cross
10128 echo $ac_n "checking for vsscanf""... $ac_c" 1>&6
10129 echo "configure:10130: checking for vsscanf" >&5
10130 if eval "test \"`echo '$''{'wx_cv_func_vsscanf'+set}'`\" = set"; then
10131 echo $ac_n "(cached) $ac_c" 1>&6
10134 if test "$cross_compiling" = yes; then
10135 wx_cv_func_vsscanf
=no
10138 cat > conftest.
$ac_ext <<EOF
10139 #line 10140 "configure"
10140 #include "confdefs.h"
10142 extern "C" void exit(int);
10146 #include <stdarg.h>
10148 int try_vsscanf(const char *format, ...)
10151 va_start(ap, format);
10153 vsscanf("17", format, ap);
10161 try_vsscanf("%d", &i);
10162 return i == 17 ? 0 : 1;
10166 if { (eval echo configure
:10167: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10169 cat >> confdefs.h
<<\EOF
10170 #define HAVE_VSSCANF 1
10173 wx_cv_func_vsscanf
=yes
10176 echo "configure: failed program was:" >&5
10177 cat conftest.
$ac_ext >&5
10179 wx_cv_func_vsscanf
=no
10187 echo "$ac_t""$wx_cv_func_vsscanf" 1>&6
10190 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10191 ac_cpp
='$CPP $CPPFLAGS'
10192 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10193 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10194 cross_compiling
=$ac_cv_prog_cc_cross
10197 if test "$TOOLKIT" != "MSW"; then
10199 for ac_func
in vfork
10201 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10202 echo "configure:10203: checking for $ac_func" >&5
10203 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10204 echo $ac_n "(cached) $ac_c" 1>&6
10206 cat > conftest.
$ac_ext <<EOF
10207 #line 10208 "configure"
10208 #include "confdefs.h"
10209 /* System header to define __stub macros and hopefully few prototypes,
10210 which can conflict with char $ac_func(); below. */
10211 #include <assert.h>
10212 /* Override any gcc2 internal prototype to avoid an error. */
10213 /* We use char because int might match the return type of a gcc2
10214 builtin and then its argument prototype would still apply. */
10219 /* The GNU C library defines this for functions which it implements
10220 to always fail with ENOSYS. Some functions are actually named
10221 something starting with __ and the normal name is an alias. */
10222 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10230 if { (eval echo configure
:10231: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10232 eval "ac_cv_func_$ac_func=yes"
10234 echo "configure: failed program was:" >&5
10235 cat conftest.
$ac_ext >&5
10237 eval "ac_cv_func_$ac_func=no"
10242 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10243 echo "$ac_t""yes" 1>&6
10244 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10245 cat >> confdefs.h
<<EOF
10246 #define $ac_tr_func 1
10250 echo "$ac_t""no" 1>&6
10255 for ac_func
in timegm
10257 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10258 echo "configure:10259: checking for $ac_func" >&5
10259 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10260 echo $ac_n "(cached) $ac_c" 1>&6
10262 cat > conftest.
$ac_ext <<EOF
10263 #line 10264 "configure"
10264 #include "confdefs.h"
10265 /* System header to define __stub macros and hopefully few prototypes,
10266 which can conflict with char $ac_func(); below. */
10267 #include <assert.h>
10268 /* Override any gcc2 internal prototype to avoid an error. */
10269 /* We use char because int might match the return type of a gcc2
10270 builtin and then its argument prototype would still apply. */
10275 /* The GNU C library defines this for functions which it implements
10276 to always fail with ENOSYS. Some functions are actually named
10277 something starting with __ and the normal name is an alias. */
10278 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10286 if { (eval echo configure
:10287: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10288 eval "ac_cv_func_$ac_func=yes"
10290 echo "configure: failed program was:" >&5
10291 cat conftest.
$ac_ext >&5
10293 eval "ac_cv_func_$ac_func=no"
10298 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10299 echo "$ac_t""yes" 1>&6
10300 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10301 cat >> confdefs.h
<<EOF
10302 #define $ac_tr_func 1
10306 echo "$ac_t""no" 1>&6
10311 HAVE_SOME_SLEEP_FUNC
=0
10312 if test "$USE_BEOS" = 1; then
10313 cat >> confdefs.h
<<\EOF
10314 #define HAVE_SLEEP 1
10317 HAVE_SOME_SLEEP_FUNC
=1
10320 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
10322 for ac_func
in nanosleep
10324 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10325 echo "configure:10326: checking for $ac_func" >&5
10326 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10327 echo $ac_n "(cached) $ac_c" 1>&6
10329 cat > conftest.
$ac_ext <<EOF
10330 #line 10331 "configure"
10331 #include "confdefs.h"
10332 /* System header to define __stub macros and hopefully few prototypes,
10333 which can conflict with char $ac_func(); below. */
10334 #include <assert.h>
10335 /* Override any gcc2 internal prototype to avoid an error. */
10336 /* We use char because int might match the return type of a gcc2
10337 builtin and then its argument prototype would still apply. */
10342 /* The GNU C library defines this for functions which it implements
10343 to always fail with ENOSYS. Some functions are actually named
10344 something starting with __ and the normal name is an alias. */
10345 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10353 if { (eval echo configure
:10354: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10355 eval "ac_cv_func_$ac_func=yes"
10357 echo "configure: failed program was:" >&5
10358 cat conftest.
$ac_ext >&5
10360 eval "ac_cv_func_$ac_func=no"
10365 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10366 echo "$ac_t""yes" 1>&6
10367 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10368 cat >> confdefs.h
<<EOF
10369 #define $ac_tr_func 1
10371 cat >> confdefs.h
<<\EOF
10372 #define HAVE_NANOSLEEP 1
10376 echo "$ac_t""no" 1>&6
10377 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
10378 echo "configure:10379: checking for nanosleep in -lposix4" >&5
10379 ac_lib_var
=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
10380 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10381 echo $ac_n "(cached) $ac_c" 1>&6
10383 ac_save_LIBS
="$LIBS"
10384 LIBS
="-lposix4 $LIBS"
10385 cat > conftest.
$ac_ext <<EOF
10386 #line 10387 "configure"
10387 #include "confdefs.h"
10388 /* Override any gcc2 internal prototype to avoid an error. */
10389 /* We use char because int might match the return type of a gcc2
10390 builtin and then its argument prototype would still apply. */
10397 if { (eval echo configure
:10398: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10399 eval "ac_cv_lib_$ac_lib_var=yes"
10401 echo "configure: failed program was:" >&5
10402 cat conftest.
$ac_ext >&5
10404 eval "ac_cv_lib_$ac_lib_var=no"
10407 LIBS
="$ac_save_LIBS"
10410 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10411 echo "$ac_t""yes" 1>&6
10413 cat >> confdefs.h
<<\EOF
10414 #define HAVE_NANOSLEEP 1
10417 POSIX4_LINK
="-lposix4"
10420 echo "$ac_t""no" 1>&6
10422 for ac_func
in usleep
10424 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10425 echo "configure:10426: checking for $ac_func" >&5
10426 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10427 echo $ac_n "(cached) $ac_c" 1>&6
10429 cat > conftest.
$ac_ext <<EOF
10430 #line 10431 "configure"
10431 #include "confdefs.h"
10432 /* System header to define __stub macros and hopefully few prototypes,
10433 which can conflict with char $ac_func(); below. */
10434 #include <assert.h>
10435 /* Override any gcc2 internal prototype to avoid an error. */
10436 /* We use char because int might match the return type of a gcc2
10437 builtin and then its argument prototype would still apply. */
10442 /* The GNU C library defines this for functions which it implements
10443 to always fail with ENOSYS. Some functions are actually named
10444 something starting with __ and the normal name is an alias. */
10445 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10453 if { (eval echo configure
:10454: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10455 eval "ac_cv_func_$ac_func=yes"
10457 echo "configure: failed program was:" >&5
10458 cat conftest.
$ac_ext >&5
10460 eval "ac_cv_func_$ac_func=no"
10465 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10466 echo "$ac_t""yes" 1>&6
10467 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10468 cat >> confdefs.h
<<EOF
10469 #define $ac_tr_func 1
10473 echo "$ac_t""no" 1>&6
10477 echo "configure: warning: wxSleep() function will not work" 1>&2
10489 for ac_func
in uname gethostname
10491 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10492 echo "configure:10493: checking for $ac_func" >&5
10493 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10494 echo $ac_n "(cached) $ac_c" 1>&6
10496 cat > conftest.
$ac_ext <<EOF
10497 #line 10498 "configure"
10498 #include "confdefs.h"
10499 /* System header to define __stub macros and hopefully few prototypes,
10500 which can conflict with char $ac_func(); below. */
10501 #include <assert.h>
10502 /* Override any gcc2 internal prototype to avoid an error. */
10503 /* We use char because int might match the return type of a gcc2
10504 builtin and then its argument prototype would still apply. */
10509 /* The GNU C library defines this for functions which it implements
10510 to always fail with ENOSYS. Some functions are actually named
10511 something starting with __ and the normal name is an alias. */
10512 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10520 if { (eval echo configure
:10521: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10522 eval "ac_cv_func_$ac_func=yes"
10524 echo "configure: failed program was:" >&5
10525 cat conftest.
$ac_ext >&5
10527 eval "ac_cv_func_$ac_func=no"
10532 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10533 echo "$ac_t""yes" 1>&6
10534 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10535 cat >> confdefs.h
<<EOF
10536 #define $ac_tr_func 1
10540 echo "$ac_t""no" 1>&6
10547 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10548 ac_cpp
='$CXXCPP $CPPFLAGS'
10549 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10550 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10551 cross_compiling
=$ac_cv_prog_cxx_cross
10554 for ac_func
in strtok_r
10556 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10557 echo "configure:10558: checking for $ac_func" >&5
10558 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10559 echo $ac_n "(cached) $ac_c" 1>&6
10561 cat > conftest.
$ac_ext <<EOF
10562 #line 10563 "configure"
10563 #include "confdefs.h"
10564 /* System header to define __stub macros and hopefully few prototypes,
10565 which can conflict with char $ac_func(); below. */
10566 #include <assert.h>
10567 /* Override any gcc2 internal prototype to avoid an error. */
10571 /* We use char because int might match the return type of a gcc2
10572 builtin and then its argument prototype would still apply. */
10577 /* The GNU C library defines this for functions which it implements
10578 to always fail with ENOSYS. Some functions are actually named
10579 something starting with __ and the normal name is an alias. */
10580 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10588 if { (eval echo configure
:10589: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10590 eval "ac_cv_func_$ac_func=yes"
10592 echo "configure: failed program was:" >&5
10593 cat conftest.
$ac_ext >&5
10595 eval "ac_cv_func_$ac_func=no"
10600 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10601 echo "$ac_t""yes" 1>&6
10602 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10603 cat >> confdefs.h
<<EOF
10604 #define $ac_tr_func 1
10608 echo "$ac_t""no" 1>&6
10614 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10615 ac_cpp
='$CPP $CPPFLAGS'
10616 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10617 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10618 cross_compiling
=$ac_cv_prog_cc_cross
10622 for ac_func
in inet_addr
10624 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10625 echo "configure:10626: checking for $ac_func" >&5
10626 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10627 echo $ac_n "(cached) $ac_c" 1>&6
10629 cat > conftest.
$ac_ext <<EOF
10630 #line 10631 "configure"
10631 #include "confdefs.h"
10632 /* System header to define __stub macros and hopefully few prototypes,
10633 which can conflict with char $ac_func(); below. */
10634 #include <assert.h>
10635 /* Override any gcc2 internal prototype to avoid an error. */
10636 /* We use char because int might match the return type of a gcc2
10637 builtin and then its argument prototype would still apply. */
10642 /* The GNU C library defines this for functions which it implements
10643 to always fail with ENOSYS. Some functions are actually named
10644 something starting with __ and the normal name is an alias. */
10645 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10653 if { (eval echo configure
:10654: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10655 eval "ac_cv_func_$ac_func=yes"
10657 echo "configure: failed program was:" >&5
10658 cat conftest.
$ac_ext >&5
10660 eval "ac_cv_func_$ac_func=no"
10665 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10666 echo "$ac_t""yes" 1>&6
10667 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10668 cat >> confdefs.h
<<EOF
10669 #define $ac_tr_func 1
10671 cat >> confdefs.h
<<\EOF
10672 #define HAVE_INET_ADDR 1
10676 echo "$ac_t""no" 1>&6
10677 echo $ac_n "checking for inet_addr in -lnsl""... $ac_c" 1>&6
10678 echo "configure:10679: checking for inet_addr in -lnsl" >&5
10679 ac_lib_var
=`echo nsl'_'inet_addr | sed 'y%./+-%__p_%'`
10680 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10681 echo $ac_n "(cached) $ac_c" 1>&6
10683 ac_save_LIBS
="$LIBS"
10685 cat > conftest.
$ac_ext <<EOF
10686 #line 10687 "configure"
10687 #include "confdefs.h"
10688 /* Override any gcc2 internal prototype to avoid an error. */
10689 /* We use char because int might match the return type of a gcc2
10690 builtin and then its argument prototype would still apply. */
10697 if { (eval echo configure
:10698: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10699 eval "ac_cv_lib_$ac_lib_var=yes"
10701 echo "configure: failed program was:" >&5
10702 cat conftest.
$ac_ext >&5
10704 eval "ac_cv_lib_$ac_lib_var=no"
10707 LIBS
="$ac_save_LIBS"
10710 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10711 echo "$ac_t""yes" 1>&6
10714 echo "$ac_t""no" 1>&6
10715 echo $ac_n "checking for inet_addr in -lresolv""... $ac_c" 1>&6
10716 echo "configure:10717: checking for inet_addr in -lresolv" >&5
10717 ac_lib_var
=`echo resolv'_'inet_addr | sed 'y%./+-%__p_%'`
10718 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10719 echo $ac_n "(cached) $ac_c" 1>&6
10721 ac_save_LIBS
="$LIBS"
10722 LIBS
="-lresolv $LIBS"
10723 cat > conftest.
$ac_ext <<EOF
10724 #line 10725 "configure"
10725 #include "confdefs.h"
10726 /* Override any gcc2 internal prototype to avoid an error. */
10727 /* We use char because int might match the return type of a gcc2
10728 builtin and then its argument prototype would still apply. */
10735 if { (eval echo configure
:10736: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10737 eval "ac_cv_lib_$ac_lib_var=yes"
10739 echo "configure: failed program was:" >&5
10740 cat conftest.
$ac_ext >&5
10742 eval "ac_cv_lib_$ac_lib_var=no"
10745 LIBS
="$ac_save_LIBS"
10748 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10749 echo "$ac_t""yes" 1>&6
10753 echo "$ac_t""no" 1>&6
10765 for ac_func
in inet_aton
10767 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10768 echo "configure:10769: checking for $ac_func" >&5
10769 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10770 echo $ac_n "(cached) $ac_c" 1>&6
10772 cat > conftest.
$ac_ext <<EOF
10773 #line 10774 "configure"
10774 #include "confdefs.h"
10775 /* System header to define __stub macros and hopefully few prototypes,
10776 which can conflict with char $ac_func(); below. */
10777 #include <assert.h>
10778 /* Override any gcc2 internal prototype to avoid an error. */
10779 /* We use char because int might match the return type of a gcc2
10780 builtin and then its argument prototype would still apply. */
10785 /* The GNU C library defines this for functions which it implements
10786 to always fail with ENOSYS. Some functions are actually named
10787 something starting with __ and the normal name is an alias. */
10788 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10796 if { (eval echo configure
:10797: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10798 eval "ac_cv_func_$ac_func=yes"
10800 echo "configure: failed program was:" >&5
10801 cat conftest.
$ac_ext >&5
10803 eval "ac_cv_func_$ac_func=no"
10808 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10809 echo "$ac_t""yes" 1>&6
10810 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10811 cat >> confdefs.h
<<EOF
10812 #define $ac_tr_func 1
10814 cat >> confdefs.h
<<\EOF
10815 #define HAVE_INET_ATON 1
10819 echo "$ac_t""no" 1>&6
10820 echo $ac_n "checking for inet_aton in -l$INET_LINK""... $ac_c" 1>&6
10821 echo "configure:10822: checking for inet_aton in -l$INET_LINK" >&5
10822 ac_lib_var
=`echo $INET_LINK'_'inet_aton | sed 'y%./+-%__p_%'`
10823 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10824 echo $ac_n "(cached) $ac_c" 1>&6
10826 ac_save_LIBS
="$LIBS"
10827 LIBS
="-l$INET_LINK $LIBS"
10828 cat > conftest.
$ac_ext <<EOF
10829 #line 10830 "configure"
10830 #include "confdefs.h"
10831 /* Override any gcc2 internal prototype to avoid an error. */
10832 /* We use char because int might match the return type of a gcc2
10833 builtin and then its argument prototype would still apply. */
10840 if { (eval echo configure
:10841: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10842 eval "ac_cv_lib_$ac_lib_var=yes"
10844 echo "configure: failed program was:" >&5
10845 cat conftest.
$ac_ext >&5
10847 eval "ac_cv_lib_$ac_lib_var=no"
10850 LIBS
="$ac_save_LIBS"
10853 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10854 echo "$ac_t""yes" 1>&6
10855 cat >> confdefs.h
<<\EOF
10856 #define HAVE_INET_ATON 1
10860 echo "$ac_t""no" 1>&6
10868 if test "x$INET_LINK" != "x"; then
10869 cat >> confdefs.h
<<\EOF
10870 #define HAVE_INET_ADDR 1
10873 INET_LINK
="-l$INET_LINK"
10879 cat > confcache
<<\EOF
10880 # This file is a shell script that caches the results of configure
10881 # tests run on this system so they can be shared between configure
10882 # scripts and configure runs. It is not useful on other systems.
10883 # If it contains results you don't want to keep, you may remove or edit it.
10885 # By default, configure uses ./config.cache as the cache file,
10886 # creating it if it does not exist already. You can give configure
10887 # the --cache-file=FILE option to use a different cache file; that is
10888 # what configure does when it calls configure scripts in
10889 # subdirectories, so they share the cache.
10890 # Giving --cache-file=/dev/null disables caching, for debugging configure.
10891 # config.status only pays attention to the cache file if you give it the
10892 # --recheck option to rerun configure.
10895 # The following way of writing the cache mishandles newlines in values,
10896 # but we know of no workaround that is simple, portable, and efficient.
10897 # So, don't put newlines in cache variables' values.
10898 # Ultrix sh set writes to stderr and can't be redirected directly,
10899 # and sets the high bit in the cache file unless we assign to the vars.
10901 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10903 # `set' does not quote correctly, so add quotes (double-quote substitution
10904 # turns \\\\ into \\, and sed turns \\ into \).
10906 -e "s/'/'\\\\''/g" \
10907 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
10910 # `set' quotes correctly as required by POSIX, so do not add quotes.
10911 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
10914 if cmp -s $cache_file confcache
; then
10917 if test -w $cache_file; then
10918 echo "updating cache $cache_file"
10919 cat confcache
> $cache_file
10921 echo "not updating unwritable cache $cache_file"
10928 if test "$TOOLKIT" != "MSW"; then
10934 if test "$wxUSE_THREADS" = "yes" ; then
10935 if test "$wxUSE_WINE" = 1 ; then
10936 echo "configure: warning: Threads are not supported under WINE" 1>&2
10938 elif test "$USE_BEOS" = 1; then
10939 echo "configure: warning: BeOS threads are not yet supported" 1>&2
10944 if test "$wxUSE_THREADS" = "yes" ; then
10946 echo $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6
10947 echo "configure:10948: checking for pthread_create in -lpthread" >&5
10948 ac_lib_var
=`echo pthread'_'pthread_create | sed 'y%./+-%__p_%'`
10949 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10950 echo $ac_n "(cached) $ac_c" 1>&6
10952 ac_save_LIBS
="$LIBS"
10953 LIBS
="-lpthread $LIBS"
10954 cat > conftest.
$ac_ext <<EOF
10955 #line 10956 "configure"
10956 #include "confdefs.h"
10957 /* Override any gcc2 internal prototype to avoid an error. */
10958 /* We use char because int might match the return type of a gcc2
10959 builtin and then its argument prototype would still apply. */
10960 char pthread_create();
10966 if { (eval echo configure
:10967: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10968 eval "ac_cv_lib_$ac_lib_var=yes"
10970 echo "configure: failed program was:" >&5
10971 cat conftest.
$ac_ext >&5
10973 eval "ac_cv_lib_$ac_lib_var=no"
10976 LIBS
="$ac_save_LIBS"
10979 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10980 echo "$ac_t""yes" 1>&6
10982 THREADS_OBJ
="threadpsx.lo"
10983 THREADS_LINK
="pthread"
10986 echo "$ac_t""no" 1>&6
10988 echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
10989 echo "configure:10990: checking for pthread_create in -lc_r" >&5
10990 ac_lib_var
=`echo c_r'_'pthread_create | sed 'y%./+-%__p_%'`
10991 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10992 echo $ac_n "(cached) $ac_c" 1>&6
10994 ac_save_LIBS
="$LIBS"
10996 cat > conftest.
$ac_ext <<EOF
10997 #line 10998 "configure"
10998 #include "confdefs.h"
10999 /* Override any gcc2 internal prototype to avoid an error. */
11000 /* We use char because int might match the return type of a gcc2
11001 builtin and then its argument prototype would still apply. */
11002 char pthread_create();
11008 if { (eval echo configure
:11009: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11010 eval "ac_cv_lib_$ac_lib_var=yes"
11012 echo "configure: failed program was:" >&5
11013 cat conftest.
$ac_ext >&5
11015 eval "ac_cv_lib_$ac_lib_var=no"
11018 LIBS
="$ac_save_LIBS"
11021 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11022 echo "$ac_t""yes" 1>&6
11024 THREADS_OBJ
="threadpsx.lo"
11028 echo "$ac_t""no" 1>&6
11030 ac_safe
=`echo "sys/prctl.h" | sed 'y%./+-%__p_%'`
11031 echo $ac_n "checking for sys/prctl.h""... $ac_c" 1>&6
11032 echo "configure:11033: checking for sys/prctl.h" >&5
11033 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11034 echo $ac_n "(cached) $ac_c" 1>&6
11036 cat > conftest.
$ac_ext <<EOF
11037 #line 11038 "configure"
11038 #include "confdefs.h"
11039 #include <sys/prctl.h>
11041 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11042 { (eval echo configure
:11043: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11043 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11044 if test -z "$ac_err"; then
11046 eval "ac_cv_header_$ac_safe=yes"
11049 echo "configure: failed program was:" >&5
11050 cat conftest.
$ac_ext >&5
11052 eval "ac_cv_header_$ac_safe=no"
11056 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11057 echo "$ac_t""yes" 1>&6
11059 THREADS_OBJ
="threadsgi.lo"
11062 echo "$ac_t""no" 1>&6
11072 if test -z "$THREADS_OBJ" ; then
11074 echo "configure: warning: No thread support on this system" 1>&2
11078 if test "$wxUSE_THREADS" = "yes" ; then
11079 for ac_func
in thr_setconcurrency
11081 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11082 echo "configure:11083: checking for $ac_func" >&5
11083 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11084 echo $ac_n "(cached) $ac_c" 1>&6
11086 cat > conftest.
$ac_ext <<EOF
11087 #line 11088 "configure"
11088 #include "confdefs.h"
11089 /* System header to define __stub macros and hopefully few prototypes,
11090 which can conflict with char $ac_func(); below. */
11091 #include <assert.h>
11092 /* Override any gcc2 internal prototype to avoid an error. */
11093 /* We use char because int might match the return type of a gcc2
11094 builtin and then its argument prototype would still apply. */
11099 /* The GNU C library defines this for functions which it implements
11100 to always fail with ENOSYS. Some functions are actually named
11101 something starting with __ and the normal name is an alias. */
11102 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11110 if { (eval echo configure
:11111: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11112 eval "ac_cv_func_$ac_func=yes"
11114 echo "configure: failed program was:" >&5
11115 cat conftest.
$ac_ext >&5
11117 eval "ac_cv_func_$ac_func=no"
11122 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11123 echo "$ac_t""yes" 1>&6
11124 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11125 cat >> confdefs.h
<<EOF
11126 #define $ac_tr_func 1
11130 echo "$ac_t""no" 1>&6
11136 for ac_hdr
in sched.h
11138 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11139 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11140 echo "configure:11141: checking for $ac_hdr" >&5
11141 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11142 echo $ac_n "(cached) $ac_c" 1>&6
11144 cat > conftest.
$ac_ext <<EOF
11145 #line 11146 "configure"
11146 #include "confdefs.h"
11149 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11150 { (eval echo configure
:11151: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11151 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11152 if test -z "$ac_err"; then
11154 eval "ac_cv_header_$ac_safe=yes"
11157 echo "configure: failed program was:" >&5
11158 cat conftest.
$ac_ext >&5
11160 eval "ac_cv_header_$ac_safe=no"
11164 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11165 echo "$ac_t""yes" 1>&6
11166 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11167 cat >> confdefs.h
<<EOF
11168 #define $ac_tr_hdr 1
11172 echo "$ac_t""no" 1>&6
11177 echo $ac_n "checking for sched_yield in -l$THREADS_LINK""... $ac_c" 1>&6
11178 echo "configure:11179: checking for sched_yield in -l$THREADS_LINK" >&5
11179 ac_lib_var
=`echo $THREADS_LINK'_'sched_yield | sed 'y%./+-%__p_%'`
11180 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11181 echo $ac_n "(cached) $ac_c" 1>&6
11183 ac_save_LIBS
="$LIBS"
11184 LIBS
="-l$THREADS_LINK $LIBS"
11185 cat > conftest.
$ac_ext <<EOF
11186 #line 11187 "configure"
11187 #include "confdefs.h"
11188 /* Override any gcc2 internal prototype to avoid an error. */
11189 /* We use char because int might match the return type of a gcc2
11190 builtin and then its argument prototype would still apply. */
11191 char sched_yield();
11197 if { (eval echo configure
:11198: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11199 eval "ac_cv_lib_$ac_lib_var=yes"
11201 echo "configure: failed program was:" >&5
11202 cat conftest.
$ac_ext >&5
11204 eval "ac_cv_lib_$ac_lib_var=no"
11207 LIBS
="$ac_save_LIBS"
11210 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11211 echo "$ac_t""yes" 1>&6
11212 cat >> confdefs.h
<<\EOF
11213 #define HAVE_SCHED_YIELD 1
11217 echo "$ac_t""no" 1>&6
11218 echo $ac_n "checking for sched_yield in -l"posix4
"""... $ac_c" 1>&6
11219 echo "configure:11220: checking for sched_yield in -l"posix4
"" >&5
11220 ac_lib_var
=`echo "posix4"'_'sched_yield | sed 'y%./+-%__p_%'`
11221 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11222 echo $ac_n "(cached) $ac_c" 1>&6
11224 ac_save_LIBS
="$LIBS"
11225 LIBS
="-l"posix4
" $LIBS"
11226 cat > conftest.
$ac_ext <<EOF
11227 #line 11228 "configure"
11228 #include "confdefs.h"
11229 /* Override any gcc2 internal prototype to avoid an error. */
11230 /* We use char because int might match the return type of a gcc2
11231 builtin and then its argument prototype would still apply. */
11232 char sched_yield();
11238 if { (eval echo configure
:11239: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11240 eval "ac_cv_lib_$ac_lib_var=yes"
11242 echo "configure: failed program was:" >&5
11243 cat conftest.
$ac_ext >&5
11245 eval "ac_cv_lib_$ac_lib_var=no"
11248 LIBS
="$ac_save_LIBS"
11251 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11252 echo "$ac_t""yes" 1>&6
11253 cat >> confdefs.h
<<\EOF
11254 #define HAVE_SCHED_YIELD 1
11256 POSIX4_LINK
="-lposix4"
11258 echo "$ac_t""no" 1>&6
11259 echo "configure: warning: wxThread::Yield will not work properly" 1>&2
11267 echo $ac_n "checking for pthread_attr_getschedpolicy in -l$THREADS_LINK""... $ac_c" 1>&6
11268 echo "configure:11269: checking for pthread_attr_getschedpolicy in -l$THREADS_LINK" >&5
11269 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
11270 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11271 echo $ac_n "(cached) $ac_c" 1>&6
11273 ac_save_LIBS
="$LIBS"
11274 LIBS
="-l$THREADS_LINK $LIBS"
11275 cat > conftest.
$ac_ext <<EOF
11276 #line 11277 "configure"
11277 #include "confdefs.h"
11278 /* Override any gcc2 internal prototype to avoid an error. */
11279 /* We use char because int might match the return type of a gcc2
11280 builtin and then its argument prototype would still apply. */
11281 char pthread_attr_getschedpolicy();
11284 pthread_attr_getschedpolicy()
11287 if { (eval echo configure
:11288: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11289 eval "ac_cv_lib_$ac_lib_var=yes"
11291 echo "configure: failed program was:" >&5
11292 cat conftest.
$ac_ext >&5
11294 eval "ac_cv_lib_$ac_lib_var=no"
11297 LIBS
="$ac_save_LIBS"
11300 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11301 echo "$ac_t""yes" 1>&6
11302 cat >> confdefs.h
<<\EOF
11303 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
11307 echo "$ac_t""no" 1>&6
11308 echo $ac_n "checking for pthread_attr_getschedpolicy in -l"posix4
"""... $ac_c" 1>&6
11309 echo "configure:11310: checking for pthread_attr_getschedpolicy in -l"posix4
"" >&5
11310 ac_lib_var
=`echo "posix4"'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
11311 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11312 echo $ac_n "(cached) $ac_c" 1>&6
11314 ac_save_LIBS
="$LIBS"
11315 LIBS
="-l"posix4
" $LIBS"
11316 cat > conftest.
$ac_ext <<EOF
11317 #line 11318 "configure"
11318 #include "confdefs.h"
11319 /* Override any gcc2 internal prototype to avoid an error. */
11320 /* We use char because int might match the return type of a gcc2
11321 builtin and then its argument prototype would still apply. */
11322 char pthread_attr_getschedpolicy();
11325 pthread_attr_getschedpolicy()
11328 if { (eval echo configure
:11329: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11330 eval "ac_cv_lib_$ac_lib_var=yes"
11332 echo "configure: failed program was:" >&5
11333 cat conftest.
$ac_ext >&5
11335 eval "ac_cv_lib_$ac_lib_var=no"
11338 LIBS
="$ac_save_LIBS"
11341 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11342 echo "$ac_t""yes" 1>&6
11343 cat >> confdefs.h
<<\EOF
11344 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
11346 POSIX4_LINK
="-lposix4"
11348 echo "$ac_t""no" 1>&6
11349 echo "configure: warning: Setting thread priority will not work" 1>&2
11357 echo $ac_n "checking for pthread_cancel in -l$THREADS_LINK""... $ac_c" 1>&6
11358 echo "configure:11359: checking for pthread_cancel in -l$THREADS_LINK" >&5
11359 ac_lib_var
=`echo $THREADS_LINK'_'pthread_cancel | sed 'y%./+-%__p_%'`
11360 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11361 echo $ac_n "(cached) $ac_c" 1>&6
11363 ac_save_LIBS
="$LIBS"
11364 LIBS
="-l$THREADS_LINK $LIBS"
11365 cat > conftest.
$ac_ext <<EOF
11366 #line 11367 "configure"
11367 #include "confdefs.h"
11368 /* Override any gcc2 internal prototype to avoid an error. */
11369 /* We use char because int might match the return type of a gcc2
11370 builtin and then its argument prototype would still apply. */
11371 char pthread_cancel();
11377 if { (eval echo configure
:11378: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11379 eval "ac_cv_lib_$ac_lib_var=yes"
11381 echo "configure: failed program was:" >&5
11382 cat conftest.
$ac_ext >&5
11384 eval "ac_cv_lib_$ac_lib_var=no"
11387 LIBS
="$ac_save_LIBS"
11390 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11391 echo "$ac_t""yes" 1>&6
11392 cat >> confdefs.h
<<\EOF
11393 #define HAVE_PTHREAD_CANCEL 1
11397 echo "$ac_t""no" 1>&6
11398 echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
11402 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
11403 echo "configure:11404: checking for pthread_cleanup_push/pop" >&5
11404 if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
11405 echo $ac_n "(cached) $ac_c" 1>&6
11408 cat > conftest.
$ac_ext <<EOF
11409 #line 11410 "configure"
11410 #include "confdefs.h"
11411 #include <pthread.h>
11414 pthread_cleanup_push(NULL, NULL);
11415 pthread_cleanup_pop(0);
11419 if { (eval echo configure
:11420: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11422 wx_cv_func_pthread_cleanup_push
=yes
11423 cat >> confdefs.h
<<\EOF
11424 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
11429 echo "configure: failed program was:" >&5
11430 cat conftest.
$ac_ext >&5
11433 wx_cv_func_pthread_cleanup_push
=no
11440 echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
11442 THREADS_LINK
="-l$THREADS_LINK"
11447 if test "$wxUSE_THREADS" = "yes"; then
11448 cat >> confdefs.h
<<\EOF
11449 #define wxUSE_THREADS 1
11453 CFLAGS
="${CFLAGS} -D_REENTRANT"
11454 CXXFLAGS
="${CXXFLAGS} -D_REENTRANT"
11456 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
11458 if test "$ac_cv_func_strtok_r" = "yes"; then
11459 echo $ac_n "checking if -D_REENTRANT is needed""... $ac_c" 1>&6
11460 echo "configure:11461: checking if -D_REENTRANT is needed" >&5
11461 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
11462 CFLAGS
="${CFLAGS} -D_REENTRANT"
11463 CXXFLAGS
="${CXXFLAGS} -D_REENTRANT"
11464 echo "$ac_t""yes" 1>&6
11466 echo "$ac_t""no" 1>&6
11471 if test "$WXGTK13" = 1 ; then
11472 cat >> confdefs.h
<<EOF
11473 #define __WXGTK13__ $WXGTK13
11479 if test "$WXGTK12" = 1 ; then
11480 cat >> confdefs.h
<<EOF
11481 #define __WXGTK12__ $WXGTK12
11486 if test "$WXWINE" = 1 ; then
11487 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WXWINE__"
11490 if test "$wxUSE_CYGWIN" = 1 ; then
11491 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WIN95__"
11496 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
11501 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
11502 wxUSE_DEBUG_INFO
=yes
11506 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
11507 cat >> confdefs.h
<<\EOF
11511 WXDEBUG_DEFINE
="-D__WXDEBUG__"
11513 if test "$wxUSE_GTK" = 1 ; then
11514 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
11518 if test "$wxUSE_MEM_TRACING" = "yes" ; then
11519 cat >> confdefs.h
<<\EOF
11520 #define wxUSE_MEMORY_TRACING 1
11523 cat >> confdefs.h
<<\EOF
11524 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
11527 cat >> confdefs.h
<<\EOF
11528 #define wxUSE_DEBUG_NEW_ALWAYS 1
11531 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
11534 if test "$wxUSE_DMALLOC" = "yes" ; then
11535 DMALLOC_LINK
="-ldmalloc"
11539 if test "$wxUSE_PROFILE" = "yes" ; then
11545 if test "$GCC" = yes ; then
11546 if test "$wxUSE_NO_RTTI" = "yes" ; then
11547 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fno-rtti"
11549 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
11550 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fno-exceptions"
11552 if test "$wxUSE_PERMISSIVE" = "yes" ; then
11553 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
11555 if test "$wxUSE_NO_DEPS" = "no" ; then
11556 DEP_INFO_FLAGS
="-MMD"
11561 CXXFLAGS
=`echo "${CXXFLAGS}" | sed "s/\-O.//g" `
11562 CFLAGS
=`echo "${CFLAGS}" | sed "s/\-O.//g" `
11563 if test "$wxUSE_OPTIMISE" = "no" ; then
11566 if test "$GCC" = yes ; then
11569 i586
-*-*|i686
-*-* )
11570 OPTIMISE
="${OPTIMISE} "
11580 if test "$wxUSE_ZLIB" = "yes" -o "$wxUSE_ZLIB" = "sys" ; then
11581 cat >> confdefs.h
<<\EOF
11582 #define wxUSE_ZLIB 1
11585 if test "$wxUSE_ZLIB" = "yes" ; then
11586 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
11589 ac_safe
=`echo "zlib.h" | sed 'y%./+-%__p_%'`
11590 echo $ac_n "checking for zlib.h""... $ac_c" 1>&6
11591 echo "configure:11592: checking for zlib.h" >&5
11592 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11593 echo $ac_n "(cached) $ac_c" 1>&6
11595 cat > conftest.
$ac_ext <<EOF
11596 #line 11597 "configure"
11597 #include "confdefs.h"
11600 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11601 { (eval echo configure
:11602: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11602 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11603 if test -z "$ac_err"; then
11605 eval "ac_cv_header_$ac_safe=yes"
11608 echo "configure: failed program was:" >&5
11609 cat conftest.
$ac_ext >&5
11611 eval "ac_cv_header_$ac_safe=no"
11615 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11616 echo "$ac_t""yes" 1>&6
11617 echo $ac_n "checking for deflate in -lz""... $ac_c" 1>&6
11618 echo "configure:11619: checking for deflate in -lz" >&5
11619 ac_lib_var
=`echo z'_'deflate | sed 'y%./+-%__p_%'`
11620 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11621 echo $ac_n "(cached) $ac_c" 1>&6
11623 ac_save_LIBS
="$LIBS"
11625 cat > conftest.
$ac_ext <<EOF
11626 #line 11627 "configure"
11627 #include "confdefs.h"
11628 /* Override any gcc2 internal prototype to avoid an error. */
11629 /* We use char because int might match the return type of a gcc2
11630 builtin and then its argument prototype would still apply. */
11637 if { (eval echo configure
:11638: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11639 eval "ac_cv_lib_$ac_lib_var=yes"
11641 echo "configure: failed program was:" >&5
11642 cat conftest.
$ac_ext >&5
11644 eval "ac_cv_lib_$ac_lib_var=no"
11647 LIBS
="$ac_save_LIBS"
11650 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11651 echo "$ac_t""yes" 1>&6
11654 echo "$ac_t""no" 1>&6
11658 echo "$ac_t""no" 1>&6
11661 if test "x$ZLIB_LINK" = "x" ; then
11662 { echo "configure: error: system zlib compression library not found! Use --with-zlib=yes to use built-in zlib" 1>&2; exit 1; }
11668 if test "$wxUSE_LIBPNG" = "yes" -o "$wxUSE_LIBPNG" = "sys" ; then
11669 cat >> confdefs.h
<<\EOF
11670 #define wxUSE_LIBPNG 1
11673 if test "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
11674 echo "configure: warning: --with-libpng=sys doesn't work without --with-zlib=sys, will compile the built-in libpng instead" 1>&2
11678 if test "$wxUSE_LIBPNG" = "yes" ; then
11679 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
11682 ac_safe
=`echo "png.h" | sed 'y%./+-%__p_%'`
11683 echo $ac_n "checking for png.h""... $ac_c" 1>&6
11684 echo "configure:11685: checking for png.h" >&5
11685 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11686 echo $ac_n "(cached) $ac_c" 1>&6
11688 cat > conftest.
$ac_ext <<EOF
11689 #line 11690 "configure"
11690 #include "confdefs.h"
11693 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11694 { (eval echo configure
:11695: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11695 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11696 if test -z "$ac_err"; then
11698 eval "ac_cv_header_$ac_safe=yes"
11701 echo "configure: failed program was:" >&5
11702 cat conftest.
$ac_ext >&5
11704 eval "ac_cv_header_$ac_safe=no"
11708 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11709 echo "$ac_t""yes" 1>&6
11710 echo $ac_n "checking for png_check_sig in -lpng""... $ac_c" 1>&6
11711 echo "configure:11712: checking for png_check_sig in -lpng" >&5
11712 ac_lib_var
=`echo png'_'png_check_sig | sed 'y%./+-%__p_%'`
11713 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11714 echo $ac_n "(cached) $ac_c" 1>&6
11716 ac_save_LIBS
="$LIBS"
11717 LIBS
="-lpng -lz -lm $LIBS"
11718 cat > conftest.
$ac_ext <<EOF
11719 #line 11720 "configure"
11720 #include "confdefs.h"
11721 /* Override any gcc2 internal prototype to avoid an error. */
11722 /* We use char because int might match the return type of a gcc2
11723 builtin and then its argument prototype would still apply. */
11724 char png_check_sig();
11730 if { (eval echo configure
:11731: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11732 eval "ac_cv_lib_$ac_lib_var=yes"
11734 echo "configure: failed program was:" >&5
11735 cat conftest.
$ac_ext >&5
11737 eval "ac_cv_lib_$ac_lib_var=no"
11740 LIBS
="$ac_save_LIBS"
11743 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11744 echo "$ac_t""yes" 1>&6
11747 echo "$ac_t""no" 1>&6
11752 echo "$ac_t""no" 1>&6
11755 if test "x$PNG_LINK" = "x" ; then
11756 { echo "configure: error: system png library not found! Use --with-libpng=yes to use the built-in libpng" 1>&2; exit 1; }
11760 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
11764 if test "$wxUSE_LIBJPEG" = "yes" -o "$wxUSE_LIBJPEG" = "sys" ; then
11765 cat >> confdefs.h
<<\EOF
11766 #define wxUSE_LIBJPEG 1
11769 if test "$wxUSE_LIBJPEG" = "yes" ; then
11770 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
11773 ac_safe
=`echo "jpeglib.h" | sed 'y%./+-%__p_%'`
11774 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6
11775 echo "configure:11776: checking for jpeglib.h" >&5
11776 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11777 echo $ac_n "(cached) $ac_c" 1>&6
11779 cat > conftest.
$ac_ext <<EOF
11780 #line 11781 "configure"
11781 #include "confdefs.h"
11782 #include <jpeglib.h>
11784 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11785 { (eval echo configure
:11786: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11786 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11787 if test -z "$ac_err"; then
11789 eval "ac_cv_header_$ac_safe=yes"
11792 echo "configure: failed program was:" >&5
11793 cat conftest.
$ac_ext >&5
11795 eval "ac_cv_header_$ac_safe=no"
11799 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11800 echo "$ac_t""yes" 1>&6
11801 echo $ac_n "checking for jpeg_read_header in -ljpeg""... $ac_c" 1>&6
11802 echo "configure:11803: checking for jpeg_read_header in -ljpeg" >&5
11803 ac_lib_var
=`echo jpeg'_'jpeg_read_header | sed 'y%./+-%__p_%'`
11804 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11805 echo $ac_n "(cached) $ac_c" 1>&6
11807 ac_save_LIBS
="$LIBS"
11808 LIBS
="-ljpeg $LIBS"
11809 cat > conftest.
$ac_ext <<EOF
11810 #line 11811 "configure"
11811 #include "confdefs.h"
11812 /* Override any gcc2 internal prototype to avoid an error. */
11813 /* We use char because int might match the return type of a gcc2
11814 builtin and then its argument prototype would still apply. */
11815 char jpeg_read_header();
11821 if { (eval echo configure
:11822: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11823 eval "ac_cv_lib_$ac_lib_var=yes"
11825 echo "configure: failed program was:" >&5
11826 cat conftest.
$ac_ext >&5
11828 eval "ac_cv_lib_$ac_lib_var=no"
11831 LIBS
="$ac_save_LIBS"
11834 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11835 echo "$ac_t""yes" 1>&6
11838 echo "$ac_t""no" 1>&6
11842 echo "$ac_t""no" 1>&6
11845 if test "x$JPEG_LINK" = "x" ; then
11846 { echo "configure: error: system jpeg library not found! Use --with-libjpeg=yes to use the built-in one" 1>&2; exit 1; }
11852 if test "$wxUSE_LIBTIFF" = "yes" -o "$wxUSE_LIBTIFF" = "sys" ; then
11853 cat >> confdefs.h
<<\EOF
11854 #define wxUSE_LIBTIFF 1
11857 if test "$wxUSE_LIBTIFF" = "yes" ; then
11858 TIFF_INCLUDE
="-I\${top_srcdir}/src/tiff"
11861 ac_safe
=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
11862 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
11863 echo "configure:11864: checking for tiffio.h" >&5
11864 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11865 echo $ac_n "(cached) $ac_c" 1>&6
11867 cat > conftest.
$ac_ext <<EOF
11868 #line 11869 "configure"
11869 #include "confdefs.h"
11870 #include <tiffio.h>
11872 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11873 { (eval echo configure
:11874: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11874 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11875 if test -z "$ac_err"; then
11877 eval "ac_cv_header_$ac_safe=yes"
11880 echo "configure: failed program was:" >&5
11881 cat conftest.
$ac_ext >&5
11883 eval "ac_cv_header_$ac_safe=no"
11887 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11888 echo "$ac_t""yes" 1>&6
11889 echo $ac_n "checking for TIFFError in -ltiff""... $ac_c" 1>&6
11890 echo "configure:11891: checking for TIFFError in -ltiff" >&5
11891 ac_lib_var
=`echo tiff'_'TIFFError | sed 'y%./+-%__p_%'`
11892 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11893 echo $ac_n "(cached) $ac_c" 1>&6
11895 ac_save_LIBS
="$LIBS"
11896 LIBS
="-ltiff -lm $LIBS"
11897 cat > conftest.
$ac_ext <<EOF
11898 #line 11899 "configure"
11899 #include "confdefs.h"
11900 /* Override any gcc2 internal prototype to avoid an error. */
11901 /* We use char because int might match the return type of a gcc2
11902 builtin and then its argument prototype would still apply. */
11909 if { (eval echo configure
:11910: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11911 eval "ac_cv_lib_$ac_lib_var=yes"
11913 echo "configure: failed program was:" >&5
11914 cat conftest.
$ac_ext >&5
11916 eval "ac_cv_lib_$ac_lib_var=no"
11919 LIBS
="$ac_save_LIBS"
11922 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11923 echo "$ac_t""yes" 1>&6
11926 echo "$ac_t""no" 1>&6
11930 echo "$ac_t""no" 1>&6
11933 if test "x$TIFF_LINK" = "x" ; then
11934 { echo "configure: error: system tiff library not found! Use --with-libtiff=yes to use the built-in one" 1>&2; exit 1; }
11939 if test "$wxUSE_OPENGL" = "yes"; then
11940 ac_safe
=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
11941 echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
11942 echo "configure:11943: checking for GL/gl.h" >&5
11943 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11944 echo $ac_n "(cached) $ac_c" 1>&6
11946 cat > conftest.
$ac_ext <<EOF
11947 #line 11948 "configure"
11948 #include "confdefs.h"
11951 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11952 { (eval echo configure
:11953: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11953 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11954 if test -z "$ac_err"; then
11956 eval "ac_cv_header_$ac_safe=yes"
11959 echo "configure: failed program was:" >&5
11960 cat conftest.
$ac_ext >&5
11962 eval "ac_cv_header_$ac_safe=no"
11966 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11967 echo "$ac_t""yes" 1>&6
11969 cat >> confdefs.h
<<\EOF
11970 #define wxUSE_OPENGL 1
11973 cat >> confdefs.h
<<\EOF
11974 #define wxUSE_GLCANVAS 1
11977 echo $ac_n "checking for glFlush in -lGL""... $ac_c" 1>&6
11978 echo "configure:11979: checking for glFlush in -lGL" >&5
11979 ac_lib_var
=`echo GL'_'glFlush | sed 'y%./+-%__p_%'`
11980 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11981 echo $ac_n "(cached) $ac_c" 1>&6
11983 ac_save_LIBS
="$LIBS"
11985 cat > conftest.
$ac_ext <<EOF
11986 #line 11987 "configure"
11987 #include "confdefs.h"
11988 /* Override any gcc2 internal prototype to avoid an error. */
11989 /* We use char because int might match the return type of a gcc2
11990 builtin and then its argument prototype would still apply. */
11997 if { (eval echo configure
:11998: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11999 eval "ac_cv_lib_$ac_lib_var=yes"
12001 echo "configure: failed program was:" >&5
12002 cat conftest.
$ac_ext >&5
12004 eval "ac_cv_lib_$ac_lib_var=no"
12007 LIBS
="$ac_save_LIBS"
12010 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12011 echo "$ac_t""yes" 1>&6
12016 echo "$ac_t""no" 1>&6
12018 echo $ac_n "checking for glFlush in -lMesaGL""... $ac_c" 1>&6
12019 echo "configure:12020: checking for glFlush in -lMesaGL" >&5
12020 ac_lib_var
=`echo MesaGL'_'glFlush | sed 'y%./+-%__p_%'`
12021 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12022 echo $ac_n "(cached) $ac_c" 1>&6
12024 ac_save_LIBS
="$LIBS"
12025 LIBS
="-lMesaGL $LIBS"
12026 cat > conftest.
$ac_ext <<EOF
12027 #line 12028 "configure"
12028 #include "confdefs.h"
12029 /* Override any gcc2 internal prototype to avoid an error. */
12030 /* We use char because int might match the return type of a gcc2
12031 builtin and then its argument prototype would still apply. */
12038 if { (eval echo configure
:12039: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12040 eval "ac_cv_lib_$ac_lib_var=yes"
12042 echo "configure: failed program was:" >&5
12043 cat conftest.
$ac_ext >&5
12045 eval "ac_cv_lib_$ac_lib_var=no"
12048 LIBS
="$ac_save_LIBS"
12051 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12052 echo "$ac_t""yes" 1>&6
12054 OPENGL_LINK
="-lMesaGL"
12057 echo "$ac_t""no" 1>&6
12065 echo "$ac_t""no" 1>&6
12072 if test "$wxUSE_GUI" = "yes"; then
12073 cat >> confdefs.h
<<\EOF
12074 #define wxUSE_GUI 1
12079 cat >> confdefs.h
<<\EOF
12080 #define wxUSE_NOGUI 1
12086 if test "$wxUSE_UNIX" = "yes"; then
12087 cat >> confdefs.h
<<\EOF
12088 #define wxUSE_UNIX 1
12094 if test "$wxUSE_APPLE_IEEE" = "yes"; then
12095 cat >> confdefs.h
<<\EOF
12096 #define wxUSE_APPLE_IEEE 1
12101 if test "$wxUSE_WAVE" = "yes"; then
12102 cat >> confdefs.h
<<\EOF
12103 #define wxUSE_WAVE 1
12108 if test "$wxUSE_FILE" = "yes"; then
12109 cat >> confdefs.h
<<\EOF
12110 #define wxUSE_FILE 1
12115 if test "$wxUSE_FILESYSTEM" = "yes"; then
12116 cat >> confdefs.h
<<\EOF
12117 #define wxUSE_FILESYSTEM 1
12122 if test "$wxUSE_FS_INET" = "yes"; then
12123 cat >> confdefs.h
<<\EOF
12124 #define wxUSE_FS_INET 1
12129 if test "$wxUSE_FS_ZIP" = "yes"; then
12130 cat >> confdefs.h
<<\EOF
12131 #define wxUSE_FS_ZIP 1
12136 if test "$wxUSE_ZIPSTREAM" = "yes"; then
12137 cat >> confdefs.h
<<\EOF
12138 #define wxUSE_ZIPSTREAM 1
12143 if test "$wxUSE_BUSYINFO" = "yes"; then
12144 cat >> confdefs.h
<<\EOF
12145 #define wxUSE_BUSYINFO 1
12150 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
12151 cat >> confdefs.h
<<\EOF
12152 #define wxUSE_STD_IOSTREAM 1
12157 if test "$wxUSE_TEXTFILE" = "yes"; then
12158 if test "$wxUSE_FILE" != "yes"; then
12159 echo "configure: warning: wxTextFile requires wxFile and it won't be compiled without it" 1>&2
12161 cat >> confdefs.h
<<\EOF
12162 #define wxUSE_TEXTFILE 1
12168 if test "$wxUSE_CONFIG" = "yes" ; then
12169 if test "$wxUSE_TEXTFILE" != "yes"; then
12170 echo "configure: warning: wxConfig requires wxTextFile and it won't be compiled without it" 1>&2
12172 cat >> confdefs.h
<<\EOF
12173 #define wxUSE_CONFIG 1
12176 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
12180 if test "$wxUSE_INTL" = "yes" ; then
12181 if test "$wxUSE_FILE" != "yes"; then
12182 echo "configure: warning: I18n code requires wxFile and it won't be compiled without it" 1>&2
12184 cat >> confdefs.h
<<\EOF
12185 #define wxUSE_INTL 1
12188 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
12192 if test "$wxUSE_LOG" = "yes"; then
12193 cat >> confdefs.h
<<\EOF
12194 #define wxUSE_LOG 1
12199 if test "$wxUSE_LONGLONG" = "yes"; then
12200 cat >> confdefs.h
<<\EOF
12201 #define wxUSE_LONGLONG 1
12206 if test "$wxUSE_PLOT" = "yes"; then
12207 cat >> confdefs.h
<<\EOF
12208 #define wxUSE_PLOT 1
12213 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
12214 cat >> confdefs.h
<<\EOF
12215 #define wxUSE_DIALUP_MANAGER 1
12218 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
12221 if test "$wxUSE_STREAMS" = "yes" ; then
12222 cat >> confdefs.h
<<\EOF
12223 #define wxUSE_STREAMS 1
12229 if test "$wxUSE_TIMEDATE" = "yes"; then
12230 for ac_func
in strptime
12232 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12233 echo "configure:12234: checking for $ac_func" >&5
12234 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12235 echo $ac_n "(cached) $ac_c" 1>&6
12237 cat > conftest.
$ac_ext <<EOF
12238 #line 12239 "configure"
12239 #include "confdefs.h"
12240 /* System header to define __stub macros and hopefully few prototypes,
12241 which can conflict with char $ac_func(); below. */
12242 #include <assert.h>
12243 /* Override any gcc2 internal prototype to avoid an error. */
12244 /* We use char because int might match the return type of a gcc2
12245 builtin and then its argument prototype would still apply. */
12250 /* The GNU C library defines this for functions which it implements
12251 to always fail with ENOSYS. Some functions are actually named
12252 something starting with __ and the normal name is an alias. */
12253 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12261 if { (eval echo configure
:12262: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12263 eval "ac_cv_func_$ac_func=yes"
12265 echo "configure: failed program was:" >&5
12266 cat conftest.
$ac_ext >&5
12268 eval "ac_cv_func_$ac_func=no"
12273 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12274 echo "$ac_t""yes" 1>&6
12275 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12276 cat >> confdefs.h
<<EOF
12277 #define $ac_tr_func 1
12281 echo "$ac_t""no" 1>&6
12286 echo $ac_n "checking for timezone variable in <time.h>""... $ac_c" 1>&6
12287 echo "configure:12288: checking for timezone variable in <time.h>" >&5
12288 if eval "test \"`echo '$''{'wx_cv_var_timezone'+set}'`\" = set"; then
12289 echo $ac_n "(cached) $ac_c" 1>&6
12292 cat > conftest.
$ac_ext <<EOF
12293 #line 12294 "configure"
12294 #include "confdefs.h"
12305 if { (eval echo configure
:12306: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12308 wx_cv_var_timezone
=__timezone
12311 echo "configure: failed program was:" >&5
12312 cat conftest.
$ac_ext >&5
12315 cat > conftest.
$ac_ext <<EOF
12316 #line 12317 "configure"
12317 #include "confdefs.h"
12328 if { (eval echo configure
:12329: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12331 wx_cv_var_timezone
=_timezone
12334 echo "configure: failed program was:" >&5
12335 cat conftest.
$ac_ext >&5
12338 cat > conftest.
$ac_ext <<EOF
12339 #line 12340 "configure"
12340 #include "confdefs.h"
12351 if { (eval echo configure
:12352: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12354 wx_cv_var_timezone
=timezone
12357 echo "configure: failed program was:" >&5
12358 cat conftest.
$ac_ext >&5
12360 { echo "configure: error: no timezone variable" 1>&2; exit 1; }
12376 echo "$ac_t""$wx_cv_var_timezone" 1>&6
12378 cat >> confdefs.h
<<EOF
12379 #define WX_TIMEZONE $wx_cv_var_timezone
12383 for ac_func
in localtime
12385 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12386 echo "configure:12387: checking for $ac_func" >&5
12387 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12388 echo $ac_n "(cached) $ac_c" 1>&6
12390 cat > conftest.
$ac_ext <<EOF
12391 #line 12392 "configure"
12392 #include "confdefs.h"
12393 /* System header to define __stub macros and hopefully few prototypes,
12394 which can conflict with char $ac_func(); below. */
12395 #include <assert.h>
12396 /* Override any gcc2 internal prototype to avoid an error. */
12397 /* We use char because int might match the return type of a gcc2
12398 builtin and then its argument prototype would still apply. */
12403 /* The GNU C library defines this for functions which it implements
12404 to always fail with ENOSYS. Some functions are actually named
12405 something starting with __ and the normal name is an alias. */
12406 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12414 if { (eval echo configure
:12415: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12416 eval "ac_cv_func_$ac_func=yes"
12418 echo "configure: failed program was:" >&5
12419 cat conftest.
$ac_ext >&5
12421 eval "ac_cv_func_$ac_func=no"
12426 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12427 echo "$ac_t""yes" 1>&6
12428 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12429 cat >> confdefs.h
<<EOF
12430 #define $ac_tr_func 1
12434 echo "$ac_t""no" 1>&6
12439 if test "$ac_cv_func_localtime" = "yes"; then
12440 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
12441 echo "configure:12442: checking for tm_gmtoff in struct tm" >&5
12442 if eval "test \"`echo '$''{'wx_cv_struct_tm_has_gmtoff'+set}'`\" = set"; then
12443 echo $ac_n "(cached) $ac_c" 1>&6
12446 cat > conftest.
$ac_ext <<EOF
12447 #line 12448 "configure"
12448 #include "confdefs.h"
12459 if { (eval echo configure
:12460: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12462 wx_cv_struct_tm_has_gmtoff
=yes
12463 cat >> confdefs.h
<<\EOF
12464 #define WX_GMTOFF_IN_TM 1
12469 echo "configure: failed program was:" >&5
12470 cat conftest.
$ac_ext >&5
12472 wx_cv_struct_tm_has_gmtoff
=no
12479 echo "$ac_t""$wx_cv_struct_tm_has_gmtoff" 1>&6
12482 for ac_func
in gettimeofday ftime
12484 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12485 echo "configure:12486: checking for $ac_func" >&5
12486 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12487 echo $ac_n "(cached) $ac_c" 1>&6
12489 cat > conftest.
$ac_ext <<EOF
12490 #line 12491 "configure"
12491 #include "confdefs.h"
12492 /* System header to define __stub macros and hopefully few prototypes,
12493 which can conflict with char $ac_func(); below. */
12494 #include <assert.h>
12495 /* Override any gcc2 internal prototype to avoid an error. */
12496 /* We use char because int might match the return type of a gcc2
12497 builtin and then its argument prototype would still apply. */
12502 /* The GNU C library defines this for functions which it implements
12503 to always fail with ENOSYS. Some functions are actually named
12504 something starting with __ and the normal name is an alias. */
12505 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12513 if { (eval echo configure
:12514: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12515 eval "ac_cv_func_$ac_func=yes"
12517 echo "configure: failed program was:" >&5
12518 cat conftest.
$ac_ext >&5
12520 eval "ac_cv_func_$ac_func=no"
12525 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12526 echo "$ac_t""yes" 1>&6
12527 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12528 cat >> confdefs.h
<<EOF
12529 #define $ac_tr_func 1
12533 echo "$ac_t""no" 1>&6
12538 if test "$ac_cv_func_gettimeofday" = "yes"; then
12539 echo $ac_n "checking whether gettimeofday takes two arguments""... $ac_c" 1>&6
12540 echo "configure:12541: checking whether gettimeofday takes two arguments" >&5
12541 if eval "test \"`echo '$''{'wx_cv_func_gettimeofday_has_2_args'+set}'`\" = set"; then
12542 echo $ac_n "(cached) $ac_c" 1>&6
12547 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12548 ac_cpp
='$CXXCPP $CPPFLAGS'
12549 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12550 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12551 cross_compiling
=$ac_cv_prog_cxx_cross
12554 cat > conftest.
$ac_ext <<EOF
12555 #line 12556 "configure"
12556 #include "confdefs.h"
12558 #include <sys/time.h>
12559 #include <unistd.h>
12564 struct timezone tz;
12565 gettimeofday(&tv, &tz);
12569 if { (eval echo configure
:12570: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12571 wx_cv_func_gettimeofday_has_2_args
=yes
12573 echo "configure: failed program was:" >&5
12574 cat conftest.
$ac_ext >&5
12576 cat > conftest.
$ac_ext <<EOF
12577 #line 12578 "configure"
12578 #include "confdefs.h"
12580 #include <sys/time.h>
12581 #include <unistd.h>
12590 if { (eval echo configure
:12591: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12592 wx_cv_func_gettimeofday_has_2_args
=no
12594 echo "configure: failed program was:" >&5
12595 cat conftest.
$ac_ext >&5
12597 wx_cv_func_gettimeofday_has_2_args
=unknown
12605 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12606 ac_cpp
='$CPP $CPPFLAGS'
12607 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12608 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12609 cross_compiling
=$ac_cv_prog_cc_cross
12614 echo "$ac_t""$wx_cv_func_gettimeofday_has_2_args" 1>&6
12616 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
12617 cat >> confdefs.h
<<\EOF
12618 #define WX_GETTIMEOFDAY_NO_TZ 1
12624 cat >> confdefs.h
<<\EOF
12625 #define wxUSE_TIMEDATE 1
12628 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
12632 if test "$TOOLKIT" != "MSW"; then
12634 if test "$wxUSE_SOCKETS" = "yes"; then
12635 echo $ac_n "checking for socket""... $ac_c" 1>&6
12636 echo "configure:12637: checking for socket" >&5
12637 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
12638 echo $ac_n "(cached) $ac_c" 1>&6
12640 cat > conftest.
$ac_ext <<EOF
12641 #line 12642 "configure"
12642 #include "confdefs.h"
12643 /* System header to define __stub macros and hopefully few prototypes,
12644 which can conflict with char socket(); below. */
12645 #include <assert.h>
12646 /* Override any gcc2 internal prototype to avoid an error. */
12647 /* We use char because int might match the return type of a gcc2
12648 builtin and then its argument prototype would still apply. */
12653 /* The GNU C library defines this for functions which it implements
12654 to always fail with ENOSYS. Some functions are actually named
12655 something starting with __ and the normal name is an alias. */
12656 #if defined (__stub_socket) || defined (__stub___socket)
12664 if { (eval echo configure
:12665: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12666 eval "ac_cv_func_socket=yes"
12668 echo "configure: failed program was:" >&5
12669 cat conftest.
$ac_ext >&5
12671 eval "ac_cv_func_socket=no"
12676 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
12677 echo "$ac_t""yes" 1>&6
12680 echo "$ac_t""no" 1>&6
12681 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
12682 echo "configure:12683: checking for socket in -lsocket" >&5
12683 ac_lib_var
=`echo socket'_'socket | sed 'y%./+-%__p_%'`
12684 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12685 echo $ac_n "(cached) $ac_c" 1>&6
12687 ac_save_LIBS
="$LIBS"
12688 LIBS
="-lsocket $LIBS"
12689 cat > conftest.
$ac_ext <<EOF
12690 #line 12691 "configure"
12691 #include "confdefs.h"
12692 /* Override any gcc2 internal prototype to avoid an error. */
12693 /* We use char because int might match the return type of a gcc2
12694 builtin and then its argument prototype would still apply. */
12701 if { (eval echo configure
:12702: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12703 eval "ac_cv_lib_$ac_lib_var=yes"
12705 echo "configure: failed program was:" >&5
12706 cat conftest.
$ac_ext >&5
12708 eval "ac_cv_lib_$ac_lib_var=no"
12711 LIBS
="$ac_save_LIBS"
12714 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12715 echo "$ac_t""yes" 1>&6
12716 INET_LINK
="$INET_LINK -lsocket"
12718 echo "$ac_t""no" 1>&6
12720 echo "configure: warning: socket library not found - sockets will be disabled" 1>&2
12733 if test "$wxUSE_SOCKETS" = "yes" ; then
12734 echo $ac_n "checking what is the type of the third argument of getsockname""... $ac_c" 1>&6
12735 echo "configure:12736: checking what is the type of the third argument of getsockname" >&5
12736 if eval "test \"`echo '$''{'wx_cv_type_getsockname3'+set}'`\" = set"; then
12737 echo $ac_n "(cached) $ac_c" 1>&6
12742 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12743 ac_cpp
='$CXXCPP $CPPFLAGS'
12744 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12745 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12746 cross_compiling
=$ac_cv_prog_cxx_cross
12749 cat > conftest.
$ac_ext <<EOF
12750 #line 12751 "configure"
12751 #include "confdefs.h"
12753 #include <sys/types.h>
12754 #include <sys/socket.h>
12759 getsockname(0, 0, &len);
12763 if { (eval echo configure
:12764: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12765 wx_cv_type_getsockname3
=socklen_t
12767 echo "configure: failed program was:" >&5
12768 cat conftest.
$ac_ext >&5
12770 cat > conftest.
$ac_ext <<EOF
12771 #line 12772 "configure"
12772 #include "confdefs.h"
12774 #include <sys/types.h>
12775 #include <sys/socket.h>
12780 getsockname(0, 0, &len);
12784 if { (eval echo configure
:12785: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12786 wx_cv_type_getsockname3
=size_t
12788 echo "configure: failed program was:" >&5
12789 cat conftest.
$ac_ext >&5
12791 cat > conftest.
$ac_ext <<EOF
12792 #line 12793 "configure"
12793 #include "confdefs.h"
12795 #include <sys/types.h>
12796 #include <sys/socket.h>
12801 getsockname(0, 0, &len);
12805 if { (eval echo configure
:12806: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12807 wx_cv_type_getsockname3
=int
12809 echo "configure: failed program was:" >&5
12810 cat conftest.
$ac_ext >&5
12812 wx_cv_type_getsockname3
=unknown
12824 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12825 ac_cpp
='$CPP $CPPFLAGS'
12826 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12827 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12828 cross_compiling
=$ac_cv_prog_cc_cross
12833 echo "$ac_t""$wx_cv_type_getsockname3" 1>&6
12835 if test "$wx_cv_type_getsockname3" = "unknown"; then
12837 echo "configure: warning: Couldn't find socklen_t synonym for this system" 1>&2
12839 cat >> confdefs.h
<<EOF
12840 #define SOCKLEN_T $wx_cv_type_getsockname3
12846 if test "$wxUSE_SOCKETS" = "yes" ; then
12847 cat >> confdefs.h
<<\EOF
12848 #define wxUSE_SOCKETS 1
12851 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
12852 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS protocol"
12856 if test "$TOOLKIT" != "MSW"; then
12858 if test "$wxUSE_JOYSTICK" = 1; then
12859 for ac_hdr
in linux
/joystick.h
12861 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12862 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12863 echo "configure:12864: checking for $ac_hdr" >&5
12864 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12865 echo $ac_n "(cached) $ac_c" 1>&6
12867 cat > conftest.
$ac_ext <<EOF
12868 #line 12869 "configure"
12869 #include "confdefs.h"
12872 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12873 { (eval echo configure
:12874: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12874 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12875 if test -z "$ac_err"; then
12877 eval "ac_cv_header_$ac_safe=yes"
12880 echo "configure: failed program was:" >&5
12881 cat conftest.
$ac_ext >&5
12883 eval "ac_cv_header_$ac_safe=no"
12887 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12888 echo "$ac_t""yes" 1>&6
12889 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12890 cat >> confdefs.h
<<EOF
12891 #define $ac_tr_hdr 1
12895 echo "$ac_t""no" 1>&6
12899 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
12901 echo "configure: warning: Joystick not supported yb this system" 1>&2
12907 if test "$wxUSE_JOYSTICK" = 1; then
12908 cat >> confdefs.h
<<\EOF
12909 #define wxUSE_JOYSTICK 1
12912 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
12916 if test "$TOOLKIT" != "MSW"; then
12920 if test "$wxUSE_DYNLIB_CLASS" = "yes"; then
12921 for ac_func
in dlopen
12923 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12924 echo "configure:12925: checking for $ac_func" >&5
12925 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12926 echo $ac_n "(cached) $ac_c" 1>&6
12928 cat > conftest.
$ac_ext <<EOF
12929 #line 12930 "configure"
12930 #include "confdefs.h"
12931 /* System header to define __stub macros and hopefully few prototypes,
12932 which can conflict with char $ac_func(); below. */
12933 #include <assert.h>
12934 /* Override any gcc2 internal prototype to avoid an error. */
12935 /* We use char because int might match the return type of a gcc2
12936 builtin and then its argument prototype would still apply. */
12941 /* The GNU C library defines this for functions which it implements
12942 to always fail with ENOSYS. Some functions are actually named
12943 something starting with __ and the normal name is an alias. */
12944 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12952 if { (eval echo configure
:12953: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12954 eval "ac_cv_func_$ac_func=yes"
12956 echo "configure: failed program was:" >&5
12957 cat conftest.
$ac_ext >&5
12959 eval "ac_cv_func_$ac_func=no"
12964 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12965 echo "$ac_t""yes" 1>&6
12966 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12967 cat >> confdefs.h
<<EOF
12968 #define $ac_tr_func 1
12971 cat >> confdefs.h
<<\EOF
12972 #define HAVE_DLOPEN 1
12978 echo "$ac_t""no" 1>&6
12979 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
12980 echo "configure:12981: checking for dlopen in -ldl" >&5
12981 ac_lib_var
=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
12982 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12983 echo $ac_n "(cached) $ac_c" 1>&6
12985 ac_save_LIBS
="$LIBS"
12987 cat > conftest.
$ac_ext <<EOF
12988 #line 12989 "configure"
12989 #include "confdefs.h"
12990 /* Override any gcc2 internal prototype to avoid an error. */
12991 /* We use char because int might match the return type of a gcc2
12992 builtin and then its argument prototype would still apply. */
12999 if { (eval echo configure
:13000: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13001 eval "ac_cv_lib_$ac_lib_var=yes"
13003 echo "configure: failed program was:" >&5
13004 cat conftest.
$ac_ext >&5
13006 eval "ac_cv_lib_$ac_lib_var=no"
13009 LIBS
="$ac_save_LIBS"
13012 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13013 echo "$ac_t""yes" 1>&6
13015 cat >> confdefs.h
<<\EOF
13016 #define HAVE_DLOPEN 1
13023 echo "$ac_t""no" 1>&6
13025 for ac_func
in shl_load
13027 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13028 echo "configure:13029: checking for $ac_func" >&5
13029 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13030 echo $ac_n "(cached) $ac_c" 1>&6
13032 cat > conftest.
$ac_ext <<EOF
13033 #line 13034 "configure"
13034 #include "confdefs.h"
13035 /* System header to define __stub macros and hopefully few prototypes,
13036 which can conflict with char $ac_func(); below. */
13037 #include <assert.h>
13038 /* Override any gcc2 internal prototype to avoid an error. */
13039 /* We use char because int might match the return type of a gcc2
13040 builtin and then its argument prototype would still apply. */
13045 /* The GNU C library defines this for functions which it implements
13046 to always fail with ENOSYS. Some functions are actually named
13047 something starting with __ and the normal name is an alias. */
13048 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13056 if { (eval echo configure
:13057: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13058 eval "ac_cv_func_$ac_func=yes"
13060 echo "configure: failed program was:" >&5
13061 cat conftest.
$ac_ext >&5
13063 eval "ac_cv_func_$ac_func=no"
13068 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13069 echo "$ac_t""yes" 1>&6
13070 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13071 cat >> confdefs.h
<<EOF
13072 #define $ac_tr_func 1
13075 cat >> confdefs.h
<<\EOF
13076 #define HAVE_SHL_LOAD 1
13082 echo "$ac_t""no" 1>&6
13094 if test "$HAVE_DL_FUNCS" = 0; then
13095 if test "$HAVE_SHL_FUNCS" = 0; then
13096 if test "$USE_UNIX" = 1; then
13097 echo "configure: warning: Missing dynamic loading support, several features will be disabled" 1>&2
13098 wxUSE_DYNLIB_CLASS
=no
13100 echo "configure: warning: Assuming wxLibrary class works on this platform" 1>&2
13108 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
13109 cat >> confdefs.h
<<\EOF
13110 #define wxUSE_DYNLIB_CLASS 1
13119 if test "$wxUSE_UNICODE" = "yes" ; then
13120 cat >> confdefs.h
<<\EOF
13121 #define wxUSE_UNICODE 1
13126 if test "$wxUSE_WCSRTOMBS" = "yes" ; then
13127 cat >> confdefs.h
<<\EOF
13128 #define wxUSE_WCSRTOMBS 1
13133 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
13134 cat >> confdefs.h
<<\EOF
13135 #define wxUSE_EXPERIMENTAL_PRINTF 1
13141 if test "$wxUSE_SERIAL" = "yes" ; then
13142 cat >> confdefs.h
<<\EOF
13143 #define wxUSE_SERIAL 1
13150 if test "$wxUSE_ODBC" = "yes" ; then
13151 cat >> confdefs.h
<<\EOF
13152 #define wxUSE_ODBC 1
13155 WXODBCFLAG
="-D_IODBC_"
13156 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
13157 IODBCOBJS
="\$(IODBC_OBJS)"
13163 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
13164 cat >> confdefs.h
<<\EOF
13165 #define wxUSE_POSTSCRIPT 1
13170 cat >> confdefs.h
<<\EOF
13171 #define wxUSE_AFM_FOR_POSTSCRIPT 1
13175 cat >> confdefs.h
<<\EOF
13176 #define wxUSE_NORMALIZED_PS_FONTS 1
13181 if test "$wxUSE_CONSTRAINTS" = "yes"; then
13182 cat >> confdefs.h
<<\EOF
13183 #define wxUSE_CONSTRAINTS 1
13186 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
13189 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
13190 cat >> confdefs.h
<<\EOF
13191 #define wxUSE_MDI_ARCHITECTURE 1
13194 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
13197 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
13198 cat >> confdefs.h
<<\EOF
13199 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
13202 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
13203 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
13204 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
13208 if test "$wxUSE_HELP" = "yes"; then
13209 cat >> confdefs.h
<<\EOF
13210 #define wxUSE_HELP 1
13213 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
13216 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
13217 if test "$wxUSE_CONSTRAINTS" != "yes"; then
13218 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
13220 cat >> confdefs.h
<<\EOF
13221 #define wxUSE_PRINTING_ARCHITECTURE 1
13225 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
13228 if test "$wxUSE_PROLOGIO" = "yes" ; then
13229 cat >> confdefs.h
<<\EOF
13230 #define wxUSE_PROLOGIO 1
13235 if test "$wxUSE_RESOURCES" = "yes" ; then
13236 if test "$wxUSE_PROLOGIO" = "yes" ; then
13237 cat >> confdefs.h
<<\EOF
13238 #define wxUSE_RESOURCES 1
13241 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS resource"
13243 echo "configure: warning: wxWindows ressource system requires PrologIO and can't be compiled without it." 1>&2
13247 if test "$wxUSE_X_RESOURCES" = "yes"; then
13248 cat >> confdefs.h
<<\EOF
13249 #define wxUSE_X_RESOURCES 1
13255 if test "$wxUSE_IPC" = "yes"; then
13256 cat >> confdefs.h
<<\EOF
13257 #define wxUSE_IPC 1
13262 if test "$wxUSE_CLIPBOARD" = "yes"; then
13263 cat >> confdefs.h
<<\EOF
13264 #define wxUSE_CLIPBOARD 1
13269 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
13270 if test "$wxUSE_GTK" = 1; then
13271 if test "$WXGTK12" != 1; then
13272 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2" 1>&2
13273 wxUSE_DRAG_AND_DROP
=no
13277 if test "$wxUSE_MOTIF" = 1; then
13278 echo "configure: warning: Drag and drop is not yet supported under Motif" 1>&2
13279 wxUSE_DRAG_AND_DROP
=no
13282 if test "$USE_WIN32" = 1; then
13283 for ac_hdr
in ole2.h
13285 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13286 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13287 echo "configure:13288: checking for $ac_hdr" >&5
13288 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13289 echo $ac_n "(cached) $ac_c" 1>&6
13291 cat > conftest.
$ac_ext <<EOF
13292 #line 13293 "configure"
13293 #include "confdefs.h"
13296 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13297 { (eval echo configure
:13298: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13298 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13299 if test -z "$ac_err"; then
13301 eval "ac_cv_header_$ac_safe=yes"
13304 echo "configure: failed program was:" >&5
13305 cat conftest.
$ac_ext >&5
13307 eval "ac_cv_header_$ac_safe=no"
13311 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13312 echo "$ac_t""yes" 1>&6
13313 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13314 cat >> confdefs.h
<<EOF
13315 #define $ac_tr_hdr 1
13319 echo "$ac_t""no" 1>&6
13323 if test "x$HAVE_OLE2_H" = x
; then
13324 echo "configure: warning: Drag and drop disabled because OLE headers not found" 1>&2
13325 wxUSE_DRAG_AND_DROP
=no
13329 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
13330 cat >> confdefs.h
<<\EOF
13331 #define wxUSE_DRAG_AND_DROP 1
13334 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
13339 if test "$wxUSE_SPLINES" = "yes" ; then
13340 cat >> confdefs.h
<<\EOF
13341 #define wxUSE_SPLINES 1
13347 if test "$wxUSE_ACCEL" = "yes"; then
13348 cat >> confdefs.h
<<\EOF
13349 #define wxUSE_ACCEL 1
13354 if test "$wxUSE_CARET" = "yes"; then
13355 cat >> confdefs.h
<<\EOF
13356 #define wxUSE_CARET 1
13359 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
13362 if test "$wxUSE_COMBOBOX" = "yes"; then
13363 cat >> confdefs.h
<<\EOF
13364 #define wxUSE_COMBOBOX 1
13369 if test "$wxUSE_CHOICE" = "yes"; then
13370 cat >> confdefs.h
<<\EOF
13371 #define wxUSE_CHOICE 1
13376 if test "$wxUSE_BMPBUTTON" = "yes"; then
13377 cat >> confdefs.h
<<\EOF
13378 #define wxUSE_BMPBUTTON 1
13383 if test "$wxUSE_CHECKBOX" = "yes"; then
13384 cat >> confdefs.h
<<\EOF
13385 #define wxUSE_CHECKBOX 1
13390 if test "$wxUSE_CHECKLST" = "yes"; then
13391 cat >> confdefs.h
<<\EOF
13392 #define wxUSE_CHECKLISTBOX 1
13395 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
13398 if test "$wxUSE_GAUGE" = "yes"; then
13399 cat >> confdefs.h
<<\EOF
13400 #define wxUSE_GAUGE 1
13405 if test "$wxUSE_NEW_GRID" = "yes"; then
13407 cat >> confdefs.h
<<\EOF
13408 #define wxUSE_NEW_GRID 1
13411 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS newgrid"
13414 if test "$wxUSE_GRID" = "yes"; then
13415 cat >> confdefs.h
<<\EOF
13416 #define wxUSE_GRID 1
13419 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
13422 if test "$wxUSE_IMAGLIST" = "yes"; then
13423 cat >> confdefs.h
<<\EOF
13424 #define wxUSE_IMAGLIST 1
13429 if test "$wxUSE_LISTBOX" = "yes"; then
13430 cat >> confdefs.h
<<\EOF
13431 #define wxUSE_LISTBOX 1
13436 if test "$wxUSE_LISTCTRL" = "yes"; then
13437 if test "$wxUSE_IMAGLIST" = "yes"; then
13438 cat >> confdefs.h
<<\EOF
13439 #define wxUSE_LISTCTRL 1
13442 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
13444 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
13448 if test "$wxUSE_NOTEBOOK" = "yes"; then
13449 cat >> confdefs.h
<<\EOF
13450 #define wxUSE_NOTEBOOK 1
13453 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
13456 if test "$wxUSE_RADIOBOX" = "yes"; then
13457 cat >> confdefs.h
<<\EOF
13458 #define wxUSE_RADIOBOX 1
13463 if test "$wxUSE_RADIOBTN" = "yes"; then
13464 cat >> confdefs.h
<<\EOF
13465 #define wxUSE_RADIOBTN 1
13470 if test "$wxUSE_SASH" = "yes"; then
13471 cat >> confdefs.h
<<\EOF
13472 #define wxUSE_SASH 1
13475 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
13478 if test "$wxUSE_SCROLLBAR" = "yes"; then
13479 cat >> confdefs.h
<<\EOF
13480 #define wxUSE_SCROLLBAR 1
13483 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
13486 if test "$wxUSE_SLIDER" = "yes"; then
13487 cat >> confdefs.h
<<\EOF
13488 #define wxUSE_SLIDER 1
13493 if test "$wxUSE_SPINBTN" = "yes"; then
13494 cat >> confdefs.h
<<\EOF
13495 #define wxUSE_SPINBTN 1
13500 if test "$wxUSE_SPINCTRL" = "yes"; then
13501 cat >> confdefs.h
<<\EOF
13502 #define wxUSE_SPINCTRL 1
13507 if test "$wxUSE_SPLITTER" = "yes"; then
13508 cat >> confdefs.h
<<\EOF
13509 #define wxUSE_SPLITTER 1
13512 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
13515 if test "$wxUSE_STATBMP" = "yes"; then
13516 cat >> confdefs.h
<<\EOF
13517 #define wxUSE_STATBMP 1
13522 if test "$wxUSE_STATBOX" = "yes"; then
13523 cat >> confdefs.h
<<\EOF
13524 #define wxUSE_STATBOX 1
13529 if test "$wxUSE_STATLINE" = "yes"; then
13530 if test "$wxUSE_WINE" = 1 ; then
13531 echo "configure: warning: wxStaticLine is not supported under WINE" 1>&2
13533 cat >> confdefs.h
<<\EOF
13534 #define wxUSE_STATLINE 1
13540 if test "$wxUSE_STATUSBAR" = "yes"; then
13541 cat >> confdefs.h
<<\EOF
13542 #define wxUSE_STATUSBAR 1
13546 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
13549 if test "$wxUSE_TABDIALOG" = "yes"; then
13550 cat >> confdefs.h
<<\EOF
13551 #define wxUSE_TAB_DIALOG 1
13554 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
13557 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
13558 cat >> confdefs.h
<<\EOF
13559 #define wxUSE_TOOLBAR_SIMPLE 1
13562 wxUSE_TOOLBAR
="yes"
13565 if test "$wxUSE_TOOLBAR" = "yes"; then
13566 cat >> confdefs.h
<<\EOF
13567 #define wxUSE_TOOLBAR 1
13571 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
13572 wxUSE_TOOLBAR_NATIVE
="yes"
13575 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
13578 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
13579 cat >> confdefs.h
<<\EOF
13580 #define wxUSE_TOOLBAR_NATIVE 1
13585 if test "$wxUSE_TOOLTIPS" = "yes"; then
13586 if test "$wxUSE_MOTIF" = 1; then
13587 echo "configure: warning: wxTooltip not supported yet under Motif" 1>&2
13589 if test "$wxUSE_WINE" = 1; then
13590 echo "configure: warning: wxTooltip not supported under WINE" 1>&2
13592 cat >> confdefs.h
<<\EOF
13593 #define wxUSE_TOOLTIPS 1
13600 if test "$wxUSE_TREECTRL" = "yes"; then
13601 if test "$wxUSE_IMAGLIST" = "yes"; then
13602 cat >> confdefs.h
<<\EOF
13603 #define wxUSE_TREECTRL 1
13606 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
13608 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
13614 if test "$wxUSE_METAFILE" = "yes"; then
13615 cat >> confdefs.h
<<\EOF
13616 #define wxUSE_METAFILE 1
13621 if test "$wxUSE_DIRDLG" = "yes"; then
13622 if test "$wxUSE_CONSTRAINTS" != "yes"; then
13623 echo "configure: warning: wxDirDialog requires constraints so it won't be compiled without them" 1>&2
13625 if test "$wxUSE_TREECTRL" != "yes"; then
13626 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
13628 cat >> confdefs.h
<<\EOF
13629 #define wxUSE_DIRDLG 1
13636 if test "$wxUSE_TEXTDLG" = "yes"; then
13637 cat >> confdefs.h
<<\EOF
13638 #define wxUSE_TEXTDLG 1
13643 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
13644 if test "$wxUSE_CONSTRAINTS" != "yes"; then
13645 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
13647 cat >> confdefs.h
<<\EOF
13648 #define wxUSE_STARTUP_TIPS 1
13654 if test "$wxUSE_PROGRESSDLG" = "yes"; then
13655 if test "$wxUSE_CONSTRAINTS" != "yes"; then
13656 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
13658 cat >> confdefs.h
<<\EOF
13659 #define wxUSE_PROGRESSDLG 1
13665 if test "$wxUSE_MINIFRAME" = "yes"; then
13666 cat >> confdefs.h
<<\EOF
13667 #define wxUSE_MINIFRAME 1
13670 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
13673 if test "$wxUSE_HTML" = "yes"; then
13674 cat >> confdefs.h
<<\EOF
13675 #define wxUSE_HTML 1
13678 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html"
13679 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS html"
13682 if test "$wxUSE_VALIDATORS" = "yes"; then
13683 cat >> confdefs.h
<<\EOF
13684 #define wxUSE_VALIDATORS 1
13687 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
13690 if test "$wxUSE_GIF" = "yes" ; then
13691 cat >> confdefs.h
<<\EOF
13692 #define wxUSE_GIF 1
13697 if test "$wxUSE_PCX" = "yes" ; then
13698 cat >> confdefs.h
<<\EOF
13699 #define wxUSE_PCX 1
13704 if test "$wxUSE_PNM" = "yes" ; then
13705 cat >> confdefs.h
<<\EOF
13706 #define wxUSE_PNM 1
13712 if test "$cross_compiling" = "yes"; then
13715 OSINFO
=`uname -s -r -m`
13716 OSINFO
="\"$OSINFO\""
13719 cat >> confdefs.h
<<EOF
13720 #define WXWIN_OS_DESCRIPTION $OSINFO
13725 GUILIBS
="$GUI_TK_LIBRARY $OPENGL_LINK $TOOLKIT_LINK"
13727 EXTRA_LIBS
="$LIBS $ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $THREADS_LINK $DMALLOC_LINK $DL_LINK"
13728 if test "$wxUSE_GUI" = "yes"; then
13729 EXTRA_LIBS
="$EXTRA_LIBS $GUILIBS $PNG_LINK $JPEG_LINK $TIFF_LINK"
13732 LD_LIBS
="\${top_builddir}/lib/${WX_LIBRARY_NAME_STATIC} $EXTRA_LIBS"
13734 INCLUDES
="-I. -I\${top_builddir}/include -I\${top_srcdir}/include -I\${top_srcdir}/contrib/include $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE $TOOLKIT_INCLUDE"
13736 if test "$GXX" = yes ; then
13737 CXXWARNINGS
="-Wall"
13739 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE $INCLUDES"
13741 CFLAGS
=`echo $CFLAGS $EXTRA_CFLAGS | sed 's/ \\+/ /g'`
13742 CXXFLAGS
=`echo $CXXFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
13744 LDFLAGS
="$LDFLAGS $PROFILE"
13746 if test "$wxUSE_GUI" = "yes"; then
13748 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS controls dialogs dragimag drawing dynamic \
13749 font fractal image menu minimal richedit"
13751 CPPFLAGS
="$CPPFLAGS \$(EXTRADEFS) \$(APPEXTRADEFS)"
13756 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
13847 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
13848 echo "configure:13849: checking whether ${MAKE-make} sets \${MAKE}" >&5
13849 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
13850 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
13851 echo $ac_n "(cached) $ac_c" 1>&6
13853 cat > conftestmake
<<\EOF
13855 @
echo 'ac_maketemp="${MAKE}"'
13857 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
13858 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
13859 if test -n "$ac_maketemp"; then
13860 eval ac_cv_prog_make_
${ac_make}_set
=yes
13862 eval ac_cv_prog_make_
${ac_make}_set
=no
13866 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
13867 echo "$ac_t""yes" 1>&6
13870 echo "$ac_t""no" 1>&6
13871 SET_MAKE
="MAKE=${MAKE-make}"
13875 if test -d include
; then
13876 if test -d include
/wx
; then
13877 if test -d include
/wx
/${TOOLKIT_DIR}; then
13878 if test -f include
/wx
/${TOOLKIT_DIR}/setup.h
; then
13879 mv -f include
/wx
/${TOOLKIT_DIR}/setup.h setup.h
13887 if test "$wxUSE_GUI" = "yes"; then
13888 wx_cv_path_samplesubdirs
=$SAMPLES_SUBDIRS
13889 wx_cv_path_ifs
=$PATH_IFS
13890 wx_cv_program_ext
=$PROGRAM_EXT
13891 wx_cv_target_library
=$WX_TARGET_LIBRARY
13892 subdirs
="demos samples utils contrib"
13897 cat > confcache
<<\EOF
13898 # This file is a shell script that caches the results of configure
13899 # tests run on this system so they can be shared between configure
13900 # scripts and configure runs. It is not useful on other systems.
13901 # If it contains results you don't want to keep, you may remove or edit it.
13903 # By default, configure uses ./config.cache as the cache file,
13904 # creating it if it does not exist already. You can give configure
13905 # the --cache-file=FILE option to use a different cache file; that is
13906 # what configure does when it calls configure scripts in
13907 # subdirectories, so they share the cache.
13908 # Giving --cache-file=/dev/null disables caching, for debugging configure.
13909 # config.status only pays attention to the cache file if you give it the
13910 # --recheck option to rerun configure.
13913 # The following way of writing the cache mishandles newlines in values,
13914 # but we know of no workaround that is simple, portable, and efficient.
13915 # So, don't put newlines in cache variables' values.
13916 # Ultrix sh set writes to stderr and can't be redirected directly,
13917 # and sets the high bit in the cache file unless we assign to the vars.
13919 case `(ac_space=' '; set | grep ac_space) 2>&1` in
13921 # `set' does not quote correctly, so add quotes (double-quote substitution
13922 # turns \\\\ into \\, and sed turns \\ into \).
13924 -e "s/'/'\\\\''/g" \
13925 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
13928 # `set' quotes correctly as required by POSIX, so do not add quotes.
13929 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
13932 if cmp -s $cache_file confcache
; then
13935 if test -w $cache_file; then
13936 echo "updating cache $cache_file"
13937 cat confcache
> $cache_file
13939 echo "not updating unwritable cache $cache_file"
13944 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
13946 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
13947 # Let make expand exec_prefix.
13948 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
13950 # Any assignment to VPATH causes Sun make to only execute
13951 # the first set of double-colon rules, so remove it if not needed.
13952 # If there is a colon in the path, we need to keep it.
13953 if test "x$srcdir" = x.
; then
13954 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
13957 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
13959 DEFS
=-DHAVE_CONFIG_H
13961 # Without the "./", some shells look in PATH for config.status.
13962 : ${CONFIG_STATUS=./config.status}
13964 echo creating
$CONFIG_STATUS
13965 rm -f $CONFIG_STATUS
13966 cat > $CONFIG_STATUS <<EOF
13968 # Generated automatically by configure.
13969 # Run this file to recreate the current configuration.
13970 # This directory was configured as follows,
13971 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13973 # $0 $ac_configure_args
13975 # Compiler output produced by configure, useful for debugging
13976 # configure, is in ./config.log if it exists.
13978 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
13981 case "\$ac_option" in
13982 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13983 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
13984 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
13985 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
13986 echo "$CONFIG_STATUS generated by autoconf version 2.13"
13988 -help | --help | --hel | --he | --h)
13989 echo "\$ac_cs_usage"; exit 0 ;;
13990 *) echo "\$ac_cs_usage"; exit 1 ;;
13994 ac_given_srcdir=$srcdir
13995 ac_given_INSTALL="$INSTALL"
13997 trap 'rm -fr `echo "
14003 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
14005 cat >> $CONFIG_STATUS <<EOF
14007 # Protect against being on the right side of a sed subst in config.status.
14008 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
14009 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
14013 s%@CFLAGS@%$CFLAGS%g
14014 s%@CPPFLAGS@%$CPPFLAGS%g
14015 s%@CXXFLAGS@%$CXXFLAGS%g
14016 s%@FFLAGS@%$FFLAGS%g
14018 s%@LDFLAGS@%$LDFLAGS%g
14020 s%@exec_prefix@%$exec_prefix%g
14021 s%@prefix@%$prefix%g
14022 s%@program_transform_name@%$program_transform_name%g
14023 s%@bindir@%$bindir%g
14024 s%@sbindir@%$sbindir%g
14025 s%@libexecdir@%$libexecdir%g
14026 s%@datadir@%$datadir%g
14027 s%@sysconfdir@%$sysconfdir%g
14028 s%@sharedstatedir@%$sharedstatedir%g
14029 s%@localstatedir@%$localstatedir%g
14030 s%@libdir@%$libdir%g
14031 s%@includedir@%$includedir%g
14032 s%@oldincludedir@%$oldincludedir%g
14033 s%@infodir@%$infodir%g
14034 s%@mandir@%$mandir%g
14036 s%@host_alias@%$host_alias%g
14037 s%@host_cpu@%$host_cpu%g
14038 s%@host_vendor@%$host_vendor%g
14039 s%@host_os@%$host_os%g
14040 s%@target@%$target%g
14041 s%@target_alias@%$target_alias%g
14042 s%@target_cpu@%$target_cpu%g
14043 s%@target_vendor@%$target_vendor%g
14044 s%@target_os@%$target_os%g
14046 s%@build_alias@%$build_alias%g
14047 s%@build_cpu@%$build_cpu%g
14048 s%@build_vendor@%$build_vendor%g
14049 s%@build_os@%$build_os%g
14053 s%@CXXCPP@%$CXXCPP%g
14054 s%@RANLIB@%$RANLIB%g
14056 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
14057 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
14058 s%@INSTALL_DATA@%$INSTALL_DATA%g
14062 s%@LEXLIB@%$LEXLIB%g
14064 s%@GTK_CONFIG@%$GTK_CONFIG%g
14065 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
14066 s%@GTK_LIBS@%$GTK_LIBS%g
14067 s%@X_CFLAGS@%$X_CFLAGS%g
14068 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
14069 s%@X_LIBS@%$X_LIBS%g
14070 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
14071 s%@LEX_STEM@%$LEX_STEM%g
14072 s%@PATH_IFS@%$PATH_IFS%g
14073 s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
14074 s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
14075 s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
14076 s%@WX_LIBRARY_NAME@%$WX_LIBRARY_NAME%g
14077 s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
14078 s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
14079 s%@WX_LIBRARY@%$WX_LIBRARY%g
14080 s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
14081 s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
14082 s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
14083 s%@WX_LIBRARY_LINK3@%$WX_LIBRARY_LINK3%g
14084 s%@PROGRAM_EXT@%$PROGRAM_EXT%g
14085 s%@WX_LIBRARY_NAME_GL@%$WX_LIBRARY_NAME_GL%g
14086 s%@WX_LIBRARY_NAME_STATIC_GL@%$WX_LIBRARY_NAME_STATIC_GL%g
14087 s%@WX_LIBRARY_NAME_SHARED_GL@%$WX_LIBRARY_NAME_SHARED_GL%g
14088 s%@WX_LIBRARY_GL@%$WX_LIBRARY_GL%g
14089 s%@WX_TARGET_LIBRARY_GL@%$WX_TARGET_LIBRARY_GL%g
14090 s%@WX_LIBRARY_LINK1_GL@%$WX_LIBRARY_LINK1_GL%g
14091 s%@WX_LIBRARY_LINK2_GL@%$WX_LIBRARY_LINK2_GL%g
14092 s%@WX_LIBRARY_LINK3_GL@%$WX_LIBRARY_LINK3_GL%g
14093 s%@WX_ALL@%$WX_ALL%g
14094 s%@WX_ALL_INSTALLED@%$WX_ALL_INSTALLED%g
14095 s%@SHARED_LD@%$SHARED_LD%g
14096 s%@PIC_FLAG@%$PIC_FLAG%g
14097 s%@DEP_INFO_FLAGS@%$DEP_INFO_FLAGS%g
14098 s%@CODE_GEN_FLAGS@%$CODE_GEN_FLAGS%g
14099 s%@BURNT_LIBRARY_NAME@%$BURNT_LIBRARY_NAME%g
14100 s%@BURNT_LIBRARY_NAME_GL@%$BURNT_LIBRARY_NAME_GL%g
14101 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
14102 s%@USE_GUI@%$USE_GUI%g
14103 s%@AFMINSTALL@%$AFMINSTALL%g
14104 s%@TOOLKIT@%$TOOLKIT%g
14105 s%@TOOLKIT_DEF@%$TOOLKIT_DEF%g
14106 s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
14107 s%@TOOLKIT_INCLUDE@%$TOOLKIT_INCLUDE%g
14108 s%@GUIHEADERS@%$GUIHEADERS%g
14109 s%@GUIOBJS@%$GUIOBJS%g
14110 s%@COMMONOBJS@%$COMMONOBJS%g
14111 s%@GENERICOBJS@%$GENERICOBJS%g
14112 s%@GUIDEPS@%$GUIDEPS%g
14113 s%@COMMONDEPS@%$COMMONDEPS%g
14114 s%@GENERICDEPS@%$GENERICDEPS%g
14115 s%@IODBCOBJS@%$IODBCOBJS%g
14116 s%@UNIXOBJS@%$UNIXOBJS%g
14117 s%@UNIXDEPS@%$UNIXDEPS%g
14118 s%@ALL_OBJECTS@%$ALL_OBJECTS%g
14119 s%@ALL_DEPFILES@%$ALL_DEPFILES%g
14120 s%@GUIDIST@%$GUIDIST%g
14121 s%@PORT_FILES@%$PORT_FILES%g
14122 s%@DISTDIR@%$DISTDIR%g
14123 s%@RPM_SPEC@%$RPM_SPEC%g
14124 s%@RPM_FILES@%$RPM_FILES%g
14125 s%@SRC_SUBDIRS@%$SRC_SUBDIRS%g
14126 s%@INCLUDE_SUBDIRS@%$INCLUDE_SUBDIRS%g
14127 s%@UTILS_SUBDIRS@%$UTILS_SUBDIRS%g
14128 s%@DOCS_SUBDIRS@%$DOCS_SUBDIRS%g
14129 s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
14130 s%@USER_SUBDIRS@%$USER_SUBDIRS%g
14131 s%@EXTRA_LIBS@%$EXTRA_LIBS%g
14132 s%@EXTRADEFS@%$EXTRADEFS%g
14133 s%@LD_LIBS@%$LD_LIBS%g
14134 s%@RCINPUTSWITCH@%$RCINPUTSWITCH%g
14135 s%@RCOUTPUTSWITCH@%$RCOUTPUTSWITCH%g
14136 s%@RESPROGRAM@%$RESPROGRAM%g
14137 s%@RESCOMP@%$RESCOMP%g
14138 s%@RESFLAGS@%$RESFLAGS%g
14139 s%@DLLTOOL@%$DLLTOOL%g
14143 s%@MAKEINFO@%$MAKEINFO%g
14144 s%@SET_MAKE@%$SET_MAKE%g
14145 s%@subdirs@%$subdirs%g
14150 cat >> $CONFIG_STATUS <<\EOF
14152 # Split the substitutions into bite-sized pieces for seds with
14153 # small command number limits, like on Digital OSF/1 and HP-UX.
14154 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
14155 ac_file
=1 # Number of current file.
14156 ac_beg
=1 # First line for current file.
14157 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
14160 while $ac_more_lines; do
14161 if test $ac_beg -gt 1; then
14162 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
14164 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
14166 if test ! -s conftest.s
$ac_file; then
14167 ac_more_lines
=false
14168 rm -f conftest.s
$ac_file
14170 if test -z "$ac_sed_cmds"; then
14171 ac_sed_cmds
="sed -f conftest.s$ac_file"
14173 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
14175 ac_file
=`expr $ac_file + 1`
14177 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
14180 if test -z "$ac_sed_cmds"; then
14185 cat >> $CONFIG_STATUS <<EOF
14187 CONFIG_FILES=\${CONFIG_FILES-"wx-config
14194 cat >> $CONFIG_STATUS <<\EOF
14195 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
14196 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
14198 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
14199 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
14200 *) ac_file_in
="${ac_file}.in" ;;
14203 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
14205 # Remove last slash and all that follows it. Not all systems have dirname.
14206 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
14207 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
14208 # The file is in a subdirectory.
14209 test ! -d "$ac_dir" && mkdir "$ac_dir"
14210 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
14211 # A "../" for each directory in $ac_dir_suffix.
14212 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
14214 ac_dir_suffix
= ac_dots
=
14217 case "$ac_given_srcdir" in
14219 if test -z "$ac_dots"; then top_srcdir
=.
14220 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
14221 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
14222 *) # Relative path.
14223 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
14224 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
14227 case "$ac_given_INSTALL" in
14228 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
14229 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
14232 echo creating
"$ac_file"
14234 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
14236 *Makefile
*) ac_comsub
="1i\\
14237 # $configure_input" ;;
14241 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
14243 s%@configure_input@%$configure_input%g
14244 s%@srcdir@%$srcdir%g
14245 s%@top_srcdir@%$top_srcdir%g
14246 s%@INSTALL@%$INSTALL%g
14247 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
14251 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
14252 # NAME is the cpp macro being defined and VALUE is the value it is being given.
14254 # ac_d sets the value in "#define NAME VALUE" lines.
14255 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
14256 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
14259 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
14260 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
14261 ac_uB
='\([ ]\)%\1#\2define\3'
14264 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
14265 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
14266 ac_eB
='$%\1#\2define\3'
14270 if test "${CONFIG_HEADERS+set}" != set; then
14272 cat >> $CONFIG_STATUS <<EOF
14273 CONFIG_HEADERS="setup.h:setup.h.in"
14275 cat >> $CONFIG_STATUS <<\EOF
14277 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
14278 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
14280 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
14281 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
14282 *) ac_file_in
="${ac_file}.in" ;;
14285 echo creating
$ac_file
14287 rm -f conftest.frag conftest.
in conftest.out
14288 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
14289 cat $ac_file_inputs > conftest.
in
14293 # Transform confdefs.h into a sed script conftest.vals that substitutes
14294 # the proper values into config.h.in to produce config.h. And first:
14295 # Protect against being on the right side of a sed subst in config.status.
14296 # Protect against being in an unquoted here document in config.status.
14297 rm -f conftest.vals
14298 cat > conftest.hdr
<<\EOF
14301 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
14305 sed -n -f conftest.hdr confdefs.h > conftest.vals
14308 # This sed command replaces #undef with comments. This is necessary, for
14309 # example, in the case of _POSIX_SOURCE, which is predefined and required
14310 # on some systems where configure will not decide to define it.
14311 cat >> conftest.vals <<\EOF
14312 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
14315 # Break up conftest.vals because some shells have a limit on
14316 # the size of here documents, and old seds have small limits too.
14318 rm -f conftest.tail
14321 ac_lines=`grep -c . conftest.vals
`
14322 # grep -c gives empty output for an empty file on some AIX systems.
14323 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
14324 # Write a limited-size here document to conftest.frag.
14325 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
14326 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
14328 sed -f conftest.frag conftest.in > conftest.out
14330 mv conftest.out conftest.in
14331 ' >> $CONFIG_STATUS
14332 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
14333 rm -f conftest.vals
14334 mv conftest.tail conftest.vals
14336 rm -f conftest.vals
14338 cat >> $CONFIG_STATUS <<\EOF
14339 rm -f conftest.frag conftest.h
14340 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
14341 cat conftest.in >> conftest.h
14343 if cmp -s $ac_file conftest.h 2>/dev/null; then
14344 echo "$ac_file is unchanged"
14347 # Remove last slash and all that follows it. Not all systems have dirname.
14348 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
14349 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
14350 # The file is in a subdirectory.
14351 test ! -d "$ac_dir" && mkdir "$ac_dir"
14354 mv conftest.h $ac_file
14359 cat >> $CONFIG_STATUS <<EOF
14361 TOOLKIT_DIR="${TOOLKIT_DIR}"
14366 cat >> $CONFIG_STATUS <<\EOF
14369 mv wx-config wx${TOOLKIT_DIR}-config
14370 ${LN_S} wx${TOOLKIT_DIR}-config wx-config
14373 if test ! -d lib; then
14376 if test ! -d lib/wx; then
14379 if test ! -d lib/wx/include; then
14380 mkdir lib/wx/include
14382 if test ! -d lib/wx/include/wx; then
14383 mkdir lib/wx/include/wx
14385 if test ! -d lib/wx/include/wx/${TOOLKIT_DIR}; then
14386 mkdir lib/wx/include/wx/${TOOLKIT_DIR}
14388 if test -f setup.h; then
14389 cp -f setup.h lib/wx/include/wx/${TOOLKIT_DIR}/setup.h
14393 if test ! -d include; then
14396 if test ! -d include/wx; then
14399 if test ! -d include/wx/${TOOLKIT_DIR}; then
14400 mkdir include/wx/${TOOLKIT_DIR}
14402 if test -f setup.h; then
14403 mv -f setup.h include/wx/${TOOLKIT_DIR}/setup.h
14409 chmod +x $CONFIG_STATUS
14410 rm -fr confdefs* $ac_clean_files
14411 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
14413 if test "$no_recursion" != yes; then
14415 # Remove --cache-file and --srcdir arguments so they do not pile up.
14416 ac_sub_configure_args=
14418 for ac_arg in $ac_configure_args; do
14419 if test -n "$ac_prev"; then
14424 -cache-file | --cache-file | --cache-fil | --cache-fi \
14425 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
14426 ac_prev=cache_file ;;
14427 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
14428 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
14430 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
14432 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
14434 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
14438 for ac_config_dir in demos samples utils contrib; do
14440 # Do not complain, so a configure script can configure whichever
14441 # parts of a large source tree are present.
14442 if test ! -d $srcdir/$ac_config_dir; then
14446 echo configuring in $ac_config_dir
14451 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
14453 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
14461 # A "../" for each directory in /$ac_config_dir.
14462 ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
14465 .) # No --srcdir option. We are building in place.
14466 ac_sub_srcdir=$srcdir ;;
14467 /*) # Absolute path.
14468 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
14469 *) # Relative path.
14470 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
14473 # Check for guested configure; otherwise get Cygnus style configure.
14474 if test -f $ac_sub_srcdir/configure; then
14475 ac_sub_configure=$ac_sub_srcdir/configure
14476 elif test -f $ac_sub_srcdir/configure.in; then
14477 ac_sub_configure=$ac_configure
14479 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
14483 # The recursion is here.
14484 if test -n "$ac_sub_configure"; then
14486 # Make the cache file name correct relative to the subdirectory.
14487 case "$cache_file" in
14488 /*) ac_sub_cache_file=$cache_file ;;
14489 *) # Relative path.
14490 ac_sub_cache_file="$ac_dots$cache_file" ;;
14492 case "$ac_given_INSTALL" in
14493 [/$]*) INSTALL="$ac_given_INSTALL" ;;
14494 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
14497 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
14498 # The eval makes quoting arguments work.
14499 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
14502 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }