3 # From configure.in Id: configure.in
40 # Guess values for system-dependent variables and create Makefiles.
41 # Generated automatically using autoconf version 2.13
42 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
44 # This configure script is free software; the Free Software Foundation
45 # gives unlimited permission to copy, distribute and modify it.
49 ac_default_prefix
=/usr
/local
50 # Any additions from configure.in:
52 --enable-gui use GUI classes"
56 --with-motif use Motif/Lesstif"
60 --with-cygwin use Cygwin for MS-Windows"
62 --with-mingw use GCC Minimal MS-Windows"
64 --with-pm use OS/2 Presentation Manager"
66 --with-gtk-prefix=PFX Prefix where GTK is installed"
68 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed"
70 --with-libpng use libpng (PNG image format)"
72 --with-libjpeg use libjpeg (JPEG file format)"
74 --with-libtiff use libtiff (TIFF file format)"
76 --with-opengl use OpenGL (or Mesa)"
78 --with-dmalloc use dmalloc library (www.letters.com/dmalloc)"
80 --with-zlib use zlib for LZW compression"
82 --with-odbc use the IODBC and wxODBC classes"
84 --enable-shared create shared library code"
86 --enable-burnt_name create set name in shared library "
88 --enable-optimise create optimised code"
90 --enable-debug same as debug_flag and debug_info"
92 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)"
94 --enable-debug_info create code with debugging information"
96 --enable-debug_gdb create code with extra GDB debugging information"
98 --enable-debug_cntxt use wxDebugContext"
100 --enable-mem_tracing create code with memory tracing"
102 --enable-profile create code with profiling information"
104 --enable-no_rtti create code without RTTI information"
106 --enable-no_exceptions create code without exceptions information"
108 --enable-permissive compile code disregarding strict ANSI"
110 --enable-no_deps create code without dependency information"
112 --enable-intl use internationalization system"
114 --enable-config use wxConfig (and derived) classes"
116 --enable-sockets use socket/network classes"
118 --enable-dialupman use dialup network classes"
120 --enable-ipc use interprocess communication (wxSocket etc.)"
122 --enable-apple_ieee use the Apple IEEE codec"
124 --enable-timedate use date/time classes"
126 --enable-wave use wxWave class"
128 --enable-fraction use wxFraction class"
130 --enable-dynlib use wxLibrary class for DLL loading"
132 --enable-longlong use wxLongLong class"
134 --enable-log use logging system"
136 --enable-streams use wxStream etc classes"
138 --enable-file use wxFile classes"
140 --enable-textfile use wxTextFile classes"
142 --enable-unicode compile wxString with Unicode support"
144 --enable-wcsrtombs use wcsrtombs instead of buggy (GNU libc1/Linux libc5) wcstombs"
146 --enable-wxprintfv use wxWindows implementation of vprintf()"
148 --enable-joystick compile in joystick support (Linux only)"
150 --enable-std_iostreams use standard C++ stream classes"
152 --enable-filesystem use virtual file systems classes"
154 --enable-fs_inet use virtual HTTP/FTP filesystems"
156 --enable-fs_zip use virtual ZIP filesystems"
158 --enable-zipstream use wxZipInputStream"
160 --enable-threads use threads"
162 --enable-serial use class serialization"
164 --enable-docview use document view architecture"
166 --enable-help use help (using external browser at present)"
168 --enable-constraints use layout-constraints system"
170 --enable-printarch use printing architecture"
172 --enable-mdi use multiple document interface architecture"
174 --enable-postscript use wxPostscriptDC device context (default for gtk+)"
176 --enable-prologio use Prolog IO library"
178 --enable-resources use wxWindows resources"
180 --enable-xresources use X resources for save (default for gtk+)"
182 --enable-clipboard use wxClipboard classes"
184 --enable-dnd use Drag'n'Drop classes"
186 --enable-wxtree make wxTree library"
188 --enable-controls use all usual controls"
190 --enable-accel use accelerators"
192 --enable-caret use wxCaret class"
194 --enable-bmpbutton use wxBitmapButton class"
196 --enable-checkbox use wxCheckBox class"
198 --enable-checklst use wxCheckListBox (listbox with checkboxes) class"
200 --enable-choice use wxChoice class"
202 --enable-combobox use wxComboBox classes"
204 --enable-gauge use wxGauge class"
206 --enable-grid use wxGrid class"
208 --enable-newgrid use new wxGrid class"
210 --enable-imaglist use wxImageList class"
212 --enable-listbox use wxListBox class"
214 --enable-listctrl use wxListCtrl class"
216 --enable-notebook use wxNotebook class"
218 --enable-radiobox use wxRadioBox class"
220 --enable-radiobtn use wxRadioButton class"
222 --enable-sash use wxSashWindow class"
224 --enable-scrollbar use wxScrollBar class and scrollable windows"
226 --enable-slider use wxSlider class"
228 --enable-spinbtn use wxSpinButton class"
230 --enable-spinctrl use wxSpinCtrl class"
232 --enable-splitter use wxSplitterWindow class"
234 --enable-statbmp use wxStaticBitmap class"
236 --enable-statbox use wxStaticBox class"
238 --enable-statline use wxStaticLine class"
240 --enable-statusbar use wxStatusBar class"
242 --enable-tabdialog use wxTabControl class"
244 --enable-toolbar use wxToolBar class"
246 --enable-tbarnative use native wxToolBar class"
248 --enable-tbarsmpl use wxToolBarSimple class"
250 --enable-treectrl use wxTreeCtrl class"
252 --enable-commondlg use common dialogs (wxDirDialog, wxProgressDialog, wxTextDialog, ...)"
254 --enable-dirdlg use wxDirDialog"
256 --enable-textdlg use wxTextDialog"
258 --enable-tipdlg use startup tips"
260 --enable-progressdlg use wxProgressDialog"
262 --enable-miniframe use wxMiniFrame class"
264 --enable-html use wxHTML sub-library"
266 --enable-tooltips use wxToolTip class"
268 --enable-splines use spline drawing code"
270 --enable-validators use wxValidator and derived classes"
272 --enable-busyinfo use wxBusyInfo"
274 --enable-plot use wxPlot"
276 --enable-gif use gif images (GIF file format)"
278 --enable-pcx use pcx images (PCX file format)"
280 --enable-pnm use pnm images (PNM file format)"
282 --with-x use the X Window System"
284 # Initialize some variables set by options.
285 # The variables have the same names as the options, with
286 # dashes changed to underlines.
288 cache_file
=.
/config.cache
297 program_transform_name
=s
,x
,x
,
305 bindir
='${exec_prefix}/bin'
306 sbindir
='${exec_prefix}/sbin'
307 libexecdir
='${exec_prefix}/libexec'
308 datadir
='${prefix}/share'
309 sysconfdir
='${prefix}/etc'
310 sharedstatedir
='${prefix}/com'
311 localstatedir
='${prefix}/var'
312 libdir
='${exec_prefix}/lib'
313 includedir
='${prefix}/include'
314 oldincludedir
='/usr/include'
315 infodir
='${prefix}/info'
316 mandir
='${prefix}/man'
318 # Initialize some other variables.
321 SHELL
=${CONFIG_SHELL-/bin/sh}
322 # Maximum number of lines to put in a shell here document.
329 # If the previous option needs an argument, assign it.
330 if test -n "$ac_prev"; then
331 eval "$ac_prev=\$ac_option"
337 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
341 # Accept the important Cygnus configure options, so we can diagnose typos.
345 -bindir | --bindir | --bindi | --bind | --bin | --bi)
347 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
348 bindir
="$ac_optarg" ;;
350 -build | --build | --buil | --bui | --bu)
352 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
353 build
="$ac_optarg" ;;
355 -cache-file | --cache-file | --cache-fil | --cache-fi \
356 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
357 ac_prev
=cache_file
;;
358 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
359 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
360 cache_file
="$ac_optarg" ;;
362 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
364 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
366 datadir
="$ac_optarg" ;;
368 -disable-* | --disable-*)
369 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
370 # Reject names that are not valid shell variable names.
371 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
372 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
374 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
375 eval "enable_${ac_feature}=no" ;;
377 -enable-* | --enable-*)
378 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
379 # Reject names that are not valid shell variable names.
380 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
381 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
383 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
388 eval "enable_${ac_feature}='$ac_optarg'" ;;
390 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
391 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
392 | --exec | --exe | --ex)
393 ac_prev
=exec_prefix
;;
394 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
395 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
396 | --exec=* | --exe=* | --ex=*)
397 exec_prefix
="$ac_optarg" ;;
399 -gas | --gas | --ga | --g)
400 # Obsolete; use --with-gas.
403 -help | --help | --hel | --he)
404 # Omit some internal or obsolete options to make the list less imposing.
405 # This message is too long to be a string in the A/UX 3.1 sh.
407 Usage: configure [options] [host]
408 Options: [defaults in brackets after descriptions]
410 --cache-file=FILE cache test results in FILE
411 --help print this message
412 --no-create do not create output files
413 --quiet, --silent do not print \`checking...' messages
414 --version print the version of autoconf that created configure
415 Directory and file names:
416 --prefix=PREFIX install architecture-independent files in PREFIX
418 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
420 --bindir=DIR user executables in DIR [EPREFIX/bin]
421 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
422 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
423 --datadir=DIR read-only architecture-independent data in DIR
425 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
426 --sharedstatedir=DIR modifiable architecture-independent data in DIR
428 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
429 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
430 --includedir=DIR C header files in DIR [PREFIX/include]
431 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
432 --infodir=DIR info documentation in DIR [PREFIX/info]
433 --mandir=DIR man documentation in DIR [PREFIX/man]
434 --srcdir=DIR find the sources in DIR [configure dir or ..]
435 --program-prefix=PREFIX prepend PREFIX to installed program names
436 --program-suffix=SUFFIX append SUFFIX to installed program names
437 --program-transform-name=PROGRAM
438 run sed PROGRAM on installed program names
442 --build=BUILD configure for building on BUILD [BUILD=HOST]
443 --host=HOST configure for HOST [guessed]
444 --target=TARGET configure for TARGET [TARGET=HOST]
445 Features and packages:
446 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
447 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
448 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
449 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
450 --x-includes=DIR X include files are in DIR
451 --x-libraries=DIR X library files are in DIR
453 if test -n "$ac_help"; then
454 echo "--enable and --with options recognized:$ac_help"
458 -host | --host | --hos | --ho)
460 -host=* | --host=* | --hos=* | --ho=*)
463 -includedir | --includedir | --includedi | --included | --include \
464 | --includ | --inclu | --incl | --inc)
465 ac_prev
=includedir
;;
466 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
467 | --includ=* | --inclu=* | --incl=* | --inc=*)
468 includedir
="$ac_optarg" ;;
470 -infodir | --infodir | --infodi | --infod | --info | --inf)
472 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
473 infodir
="$ac_optarg" ;;
475 -libdir | --libdir | --libdi | --libd)
477 -libdir=* | --libdir=* | --libdi=* | --libd=*)
478 libdir
="$ac_optarg" ;;
480 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
481 | --libexe | --libex | --libe)
482 ac_prev
=libexecdir
;;
483 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
484 | --libexe=* | --libex=* | --libe=*)
485 libexecdir
="$ac_optarg" ;;
487 -localstatedir | --localstatedir | --localstatedi | --localstated \
488 | --localstate | --localstat | --localsta | --localst \
489 | --locals | --local | --loca | --loc | --lo)
490 ac_prev
=localstatedir
;;
491 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
492 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
493 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
494 localstatedir
="$ac_optarg" ;;
496 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
498 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
499 mandir
="$ac_optarg" ;;
502 # Obsolete; use --without-fp.
505 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
509 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
510 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
513 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
514 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
515 | --oldin | --oldi | --old | --ol | --o)
516 ac_prev
=oldincludedir
;;
517 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
518 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
519 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
520 oldincludedir
="$ac_optarg" ;;
522 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
524 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
525 prefix
="$ac_optarg" ;;
527 -program-prefix | --program-prefix | --program-prefi | --program-pref \
528 | --program-pre | --program-pr | --program-p)
529 ac_prev
=program_prefix
;;
530 -program-prefix=* | --program-prefix=* | --program-prefi=* \
531 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
532 program_prefix
="$ac_optarg" ;;
534 -program-suffix | --program-suffix | --program-suffi | --program-suff \
535 | --program-suf | --program-su | --program-s)
536 ac_prev
=program_suffix
;;
537 -program-suffix=* | --program-suffix=* | --program-suffi=* \
538 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
539 program_suffix
="$ac_optarg" ;;
541 -program-transform-name | --program-transform-name \
542 | --program-transform-nam | --program-transform-na \
543 | --program-transform-n | --program-transform- \
544 | --program-transform | --program-transfor \
545 | --program-transfo | --program-transf \
546 | --program-trans | --program-tran \
547 | --progr-tra | --program-tr | --program-t)
548 ac_prev
=program_transform_name
;;
549 -program-transform-name=* | --program-transform-name=* \
550 | --program-transform-nam=* | --program-transform-na=* \
551 | --program-transform-n=* | --program-transform-=* \
552 | --program-transform=* | --program-transfor=* \
553 | --program-transfo=* | --program-transf=* \
554 | --program-trans=* | --program-tran=* \
555 | --progr-tra=* | --program-tr=* | --program-t=*)
556 program_transform_name
="$ac_optarg" ;;
558 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
559 | -silent | --silent | --silen | --sile | --sil)
562 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
564 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
566 sbindir
="$ac_optarg" ;;
568 -sharedstatedir | --sharedstatedir | --sharedstatedi \
569 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
570 | --sharedst | --shareds | --shared | --share | --shar \
572 ac_prev
=sharedstatedir
;;
573 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
574 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
575 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
577 sharedstatedir
="$ac_optarg" ;;
579 -site | --site | --sit)
581 -site=* | --site=* | --sit=*)
584 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
586 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
587 srcdir
="$ac_optarg" ;;
589 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
590 | --syscon | --sysco | --sysc | --sys | --sy)
591 ac_prev
=sysconfdir
;;
592 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
593 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
594 sysconfdir
="$ac_optarg" ;;
596 -target | --target | --targe | --targ | --tar | --ta | --t)
598 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
599 target
="$ac_optarg" ;;
601 -v | -verbose | --verbose | --verbos | --verbo | --verb)
604 -version | --version | --versio | --versi | --vers)
605 echo "configure generated by autoconf version 2.13"
609 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
610 # Reject names that are not valid shell variable names.
611 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
612 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
614 ac_package
=`echo $ac_package| sed 's/-/_/g'`
619 eval "with_${ac_package}='$ac_optarg'" ;;
621 -without-* | --without-*)
622 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
623 # Reject names that are not valid shell variable names.
624 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
625 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
627 ac_package
=`echo $ac_package| sed 's/-/_/g'`
628 eval "with_${ac_package}=no" ;;
631 # Obsolete; use --with-x.
634 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
635 | --x-incl | --x-inc | --x-in | --x-i)
636 ac_prev
=x_includes
;;
637 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
638 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
639 x_includes
="$ac_optarg" ;;
641 -x-libraries | --x-libraries | --x-librarie | --x-librari \
642 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
643 ac_prev
=x_libraries
;;
644 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
645 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
646 x_libraries
="$ac_optarg" ;;
648 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
652 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
653 echo "configure: warning: $ac_option: invalid host type" 1>&2
655 if test "x$nonopt" != xNONE
; then
656 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
664 if test -n "$ac_prev"; then
665 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
668 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
670 # File descriptor usage:
673 # 2 errors and warnings
674 # 3 some systems may open it to /dev/tty
675 # 4 used on the Kubota Titan
676 # 6 checking for... messages and results
677 # 5 compiler messages saved in config.log
678 if test "$silent" = yes; then
686 This file contains any messages produced by compilers while
687 running configure, to aid debugging if configure makes a mistake.
690 # Strip out --no-create and --no-recursion so they do not pile up.
691 # Also quote any args containing shell metacharacters.
696 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
697 | --no-cr | --no-c) ;;
698 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
699 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
700 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
701 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
702 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
707 # Only set these to C if already set. These must not be set unconditionally
708 # because not all systems understand e.g. LANG=C (notably SCO).
709 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
710 # Non-C LC_CTYPE values break the ctype check.
711 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
712 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
713 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
714 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
716 # confdefs.h avoids OS command line length limits that DEFS can exceed.
717 rm -rf conftest
* confdefs.h
718 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
721 # A filename unique to this package, relative to the directory that
722 # configure is in, which we can look for to find out if srcdir is correct.
723 ac_unique_file
=wx
-config.
in
725 # Find the source files, if location was not specified.
726 if test -z "$srcdir"; then
727 ac_srcdir_defaulted
=yes
728 # Try the directory containing this script, then its parent.
730 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
731 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
733 if test ! -r $srcdir/$ac_unique_file; then
737 ac_srcdir_defaulted
=no
739 if test ! -r $srcdir/$ac_unique_file; then
740 if test "$ac_srcdir_defaulted" = yes; then
741 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
743 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
746 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
748 # Prefer explicitly selected file to automatically selected ones.
749 if test -z "$CONFIG_SITE"; then
750 if test "x$prefix" != xNONE
; then
751 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
753 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
756 for ac_site_file
in $CONFIG_SITE; do
757 if test -r "$ac_site_file"; then
758 echo "loading site script $ac_site_file"
763 if test -r "$cache_file"; then
764 echo "loading cache $cache_file"
767 echo "creating cache $cache_file"
772 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
773 ac_cpp
='$CPP $CPPFLAGS'
774 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
775 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
776 cross_compiling
=$ac_cv_prog_cc_cross
780 if (echo "testing\c"; echo 1,2,3) | grep c
>/dev
/null
; then
781 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
782 if (echo -n testing
; echo 1,2,3) | sed s
/-n/xn
/ | grep xn
>/dev
/null
; then
789 ac_n
= ac_c
='\c' ac_t
=
795 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
796 if test -f $ac_dir/install-sh; then
798 ac_install_sh
="$ac_aux_dir/install-sh -c"
800 elif test -f $ac_dir/install.sh
; then
802 ac_install_sh
="$ac_aux_dir/install.sh -c"
806 if test -z "$ac_aux_dir"; then
807 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
809 ac_config_guess
=$ac_aux_dir/config.guess
810 ac_config_sub
=$ac_aux_dir/config.sub
811 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
814 # Do some error checking and defaulting for the host and target type.
816 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
819 # 1. You are not allowed to specify --host, --target, and nonopt at the
821 # 2. Host defaults to nonopt.
822 # 3. If nonopt is not specified, then host defaults to the current host,
823 # as determined by config.guess.
824 # 4. Target and build default to nonopt.
825 # 5. If nonopt is not specified, then target and build default to host.
827 # The aliases save the names the user supplied, while $host etc.
828 # will get canonicalized.
829 case $host---$target---$nonopt in
830 NONE
---*---* | *---NONE---* | *---*---NONE) ;;
831 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
835 # Make sure we can run config.sub.
836 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
837 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
840 echo $ac_n "checking host system type""... $ac_c" 1>&6
841 echo "configure:842: checking host system type" >&5
844 case "$host_alias" in
848 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
849 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
851 *) host_alias
=$nonopt ;;
855 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
856 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
857 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
858 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
859 echo "$ac_t""$host" 1>&6
861 echo $ac_n "checking target system type""... $ac_c" 1>&6
862 echo "configure:863: checking target system type" >&5
865 case "$target_alias" in
868 NONE
) target_alias
=$host_alias ;;
869 *) target_alias
=$nonopt ;;
873 target
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
874 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
875 target_vendor
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
876 target_os
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
877 echo "$ac_t""$target" 1>&6
879 echo $ac_n "checking build system type""... $ac_c" 1>&6
880 echo "configure:881: checking build system type" >&5
883 case "$build_alias" in
886 NONE
) build_alias
=$host_alias ;;
887 *) build_alias
=$nonopt ;;
891 build
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
892 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
893 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
894 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
895 echo "$ac_t""$build" 1>&6
897 test "$host_alias" != "$target_alias" &&
898 test "$program_prefix$program_suffix$program_transform_name" = \
900 program_prefix
=${target_alias}-
904 WX_MAJOR_VERSION_NUMBER
=2
905 WX_MINOR_VERSION_NUMBER
=1
911 WX_VERSION
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER.
$WX_RELEASE_NUMBER
913 WX_RELEASE
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER
914 WX_CURRENT
=`expr $WX_RELEASE_NUMBER - $WX_INTERFACE_AGE`
915 WX_REVISION
=$WX_INTERFACE_AGE
916 WX_AGE
=`expr $WX_BINARY_AGE - $WX_INTERFACE_AGE`
942 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
944 ALL_TOOLKITS
="CYGWIN GTK MINGW MOTIF WINE PM"
947 DEFAULT_wxUSE_MOTIF
=0
952 DEFAULT_DEFAULT_wxUSE_GTK
=0
953 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
954 DEFAULT_DEFAULT_wxUSE_MSW
=0
955 DEFAULT_DEFAULT_wxUSE_WINE
=0
956 DEFAULT_DEFAULT_wxUSE_PM
=0
963 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
964 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
965 cat >> confdefs.h
<<\EOF
972 cat >> confdefs.h
<<\EOF
977 if test "x$TMP" = "xalpha"; then
979 cat >> confdefs.h
<<\EOF
984 DEFAULT_DEFAULT_wxUSE_GTK
=1
986 *-*-irix5* | *-*-irix6* )
989 cat >> confdefs.h
<<\EOF
993 cat >> confdefs.h
<<\EOF
997 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1003 cat >> confdefs.h
<<\EOF
1007 cat >> confdefs.h
<<\EOF
1008 #define __SOLARIS__ 1
1011 cat >> confdefs.h
<<\EOF
1015 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1016 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1022 cat >> confdefs.h
<<\EOF
1026 cat >> confdefs.h
<<\EOF
1030 cat >> confdefs.h
<<\EOF
1034 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1036 *-*-freebsd* | *-*-netbsd*)
1039 cat >> confdefs.h
<<\EOF
1040 #define __FREEBSD__ 1
1043 cat >> confdefs.h
<<\EOF
1047 DEFAULT_DEFAULT_wxUSE_GTK
=1
1052 cat >> confdefs.h
<<\EOF
1056 cat >> confdefs.h
<<\EOF
1060 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1065 cat >> confdefs.h
<<\EOF
1069 cat >> confdefs.h
<<\EOF
1073 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1078 cat >> confdefs.h
<<\EOF
1082 cat >> confdefs.h
<<\EOF
1086 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1092 cat >> confdefs.h
<<\EOF
1096 cat >> confdefs.h
<<\EOF
1100 cat >> confdefs.h
<<\EOF
1104 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1107 *-*-cygwin32* | *-*-mingw32* )
1110 cat >> confdefs.h
<<\EOF
1114 cat >> confdefs.h
<<\EOF
1118 cat >> confdefs.h
<<\EOF
1119 #define __WINDOWS__ 1
1122 cat >> confdefs.h
<<\EOF
1123 #define __GNUWIN32__ 1
1126 cat >> confdefs.h
<<\EOF
1130 cat >> confdefs.h
<<\EOF
1131 #define WINVER 0x0400
1135 DEFAULT_DEFAULT_wxUSE_MSW
=1
1139 cat >> confdefs.h
<<\EOF
1144 DEFAULT_DEFAULT_wxUSE_PM
=1
1149 cat >> confdefs.h
<<\EOF
1156 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
1159 if test "$USE_UNIX" = 1 ; then
1161 cat >> confdefs.h
<<\EOF
1166 SRC_SUBDIRS
="$SRC_SUBDIRS unix"
1167 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS unix"
1170 if test "$USE_BEOS" = 1; then
1171 SRC_SUBDIRS
="$SRC_SUBDIRS be"
1172 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS be"
1175 if test "$USE_LINUX" = 1; then
1176 echo $ac_n "checking for gettext in -lc""... $ac_c" 1>&6
1177 echo "configure:1178: checking for gettext in -lc" >&5
1178 ac_lib_var
=`echo c'_'gettext | sed 'y%./+-%__p_%'`
1179 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1180 echo $ac_n "(cached) $ac_c" 1>&6
1182 ac_save_LIBS
="$LIBS"
1184 cat > conftest.
$ac_ext <<EOF
1185 #line 1186 "configure"
1186 #include "confdefs.h"
1187 /* Override any gcc2 internal prototype to avoid an error. */
1188 /* We use char because int might match the return type of a gcc2
1189 builtin and then its argument prototype would still apply. */
1196 if { (eval echo configure
:1197: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
1198 eval "ac_cv_lib_$ac_lib_var=yes"
1200 echo "configure: failed program was:" >&5
1201 cat conftest.
$ac_ext >&5
1203 eval "ac_cv_lib_$ac_lib_var=no"
1206 LIBS
="$ac_save_LIBS"
1209 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1210 echo "$ac_t""yes" 1>&6
1211 cat >> confdefs.h
<<\EOF
1212 #define wxHAVE_GLIBC2 1
1216 echo "$ac_t""no" 1>&6
1224 wx_arg_cache_file
="configarg.cache"
1225 echo "loading argument cache $wx_arg_cache_file"
1226 rm -f ${wx_arg_cache_file}.tmp
1227 touch ${wx_arg_cache_file}.tmp
1228 touch ${wx_arg_cache_file}
1232 if test $DEBUG_CONFIGURE = 1; then
1233 DEFAULT_wxUSE_THREADS
=yes
1235 DEFAULT_wxUSE_SHARED
=yes
1236 DEFAULT_wxUSE_BURNT_NAME
=no
1237 DEFAULT_wxUSE_OPTIMISE
=yes
1238 DEFAULT_wxUSE_PROFILE
=no
1239 DEFAULT_wxUSE_NO_DEPS
=no
1240 DEFAULT_wxUSE_NO_RTTI
=no
1241 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1242 DEFAULT_wxUSE_PERMISSIVE
=no
1243 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1244 DEFAULT_wxUSE_DEBUG_INFO
=yes
1245 DEFAULT_wxUSE_DEBUG_GDB
=yes
1246 DEFAULT_wxUSE_MEM_TRACING
=no
1247 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1248 DEFAULT_wxUSE_DMALLOC
=no
1249 DEFAULT_wxUSE_APPLE_IEEE
=no
1251 DEFAULT_wxUSE_LOG
=yes
1253 DEFAULT_wxUSE_GUI
=yes
1255 DEFAULT_wxUSE_ZLIB
=no
1256 DEFAULT_wxUSE_LIBPNG
=no
1257 DEFAULT_wxUSE_LIBJPEG
=no
1258 DEFAULT_wxUSE_LIBTIFF
=no
1259 DEFAULT_wxUSE_ODBC
=no
1261 DEFAULT_wxUSE_STD_IOSTREAM
=no
1262 DEFAULT_wxUSE_FILE
=no
1263 DEFAULT_wxUSE_TEXTFILE
=no
1264 DEFAULT_wxUSE_TIMEDATE
=no
1265 DEFAULT_wxUSE_WAVE
=no
1266 DEFAULT_wxUSE_INTL
=no
1267 DEFAULT_wxUSE_CONFIG
=no
1268 DEFAULT_wxUSE_STREAMS
=no
1269 DEFAULT_wxUSE_SOCKETS
=no
1270 DEFAULT_wxUSE_DIALUP_MANAGER
=no
1271 DEFAULT_wxUSE_SERIAL
=no
1272 DEFAULT_wxUSE_JOYSTICK
=no
1273 DEFAULT_wxUSE_DYNLIB_CLASS
=no
1274 DEFAULT_wxUSE_LONGLONG
=no
1276 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
1277 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
1278 DEFAULT_wxUSE_POSTSCRIPT
=no
1280 DEFAULT_wxUSE_X_RESOURCES
=no
1281 DEFAULT_wxUSE_CLIPBOARD
=no
1282 DEFAULT_wxUSE_TOOLTIPS
=no
1283 DEFAULT_wxUSE_DRAG_AND_DROP
=no
1284 DEFAULT_wxUSE_SPLINES
=no
1286 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
1287 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
1288 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
1290 DEFAULT_wxUSE_PROLOGIO
=no
1291 DEFAULT_wxUSE_RESOURCES
=no
1292 DEFAULT_wxUSE_CONSTRAINTS
=no
1293 DEFAULT_wxUSE_IPC
=no
1294 DEFAULT_wxUSE_HELP
=no
1295 DEFAULT_wxUSE_WXTREE
=no
1296 DEFAULT_wxUSE_METAFILE
=no
1298 DEFAULT_wxUSE_COMMONDLGS
=no
1299 DEFAULT_wxUSE_DIRDLG
=no
1300 DEFAULT_wxUSE_TEXTDLG
=no
1301 DEFAULT_wxUSE_STARTUP_TIPS
=no
1302 DEFAULT_wxUSE_PROGRESSDLG
=no
1303 DEFAULT_wxUSE_MINIFRAME
=no
1304 DEFAULT_wxUSE_HTML
=no
1305 DEFAULT_wxUSE_FILESYSTEM
=no
1306 DEFAULT_wxUSE_FS_INET
=no
1307 DEFAULT_wxUSE_FS_ZIP
=no
1308 DEFAULT_wxUSE_BUSYINFO
=no
1309 DEFAULT_wxUSE_ZIPSTREAM
=no
1310 DEFAULT_wxUSE_VALIDATORS
=yes
1312 DEFAULT_wxUSE_ACCEL
=no
1313 DEFAULT_wxUSE_CARET
=no
1314 DEFAULT_wxUSE_BMPBUTTON
=no
1315 DEFAULT_wxUSE_CHECKBOX
=no
1316 DEFAULT_wxUSE_CHECKLST
=no
1317 DEFAULT_wxUSE_CHOICE
=yes
1318 DEFAULT_wxUSE_COMBOBOX
=no
1319 DEFAULT_wxUSE_GAUGE
=no
1320 DEFAULT_wxUSE_GRID
=no
1321 DEFAULT_wxUSE_NEW_GRID
=no
1322 DEFAULT_wxUSE_IMAGLIST
=no
1323 DEFAULT_wxUSE_LISTBOX
=no
1324 DEFAULT_wxUSE_LISTCTRL
=no
1325 DEFAULT_wxUSE_NOTEBOOK
=no
1326 DEFAULT_wxUSE_PLOT
=no
1327 DEFAULT_wxUSE_RADIOBOX
=no
1328 DEFAULT_wxUSE_RADIOBTN
=no
1329 DEFAULT_wxUSE_SASH
=no
1330 DEFAULT_wxUSE_SCROLLBAR
=no
1331 DEFAULT_wxUSE_SLIDER
=no
1332 DEFAULT_wxUSE_SPINBTN
=no
1333 DEFAULT_wxUSE_SPINCTRL
=no
1334 DEFAULT_wxUSE_SPLITTER
=no
1335 DEFAULT_wxUSE_STATBMP
=no
1336 DEFAULT_wxUSE_STATBOX
=no
1337 DEFAULT_wxUSE_STATLINE
=no
1338 DEFAULT_wxUSE_STATUSBAR
=yes
1339 DEFAULT_wxUSE_TABDIALOG
=no
1340 DEFAULT_wxUSE_TOOLBAR
=no
1341 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
1342 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
1343 DEFAULT_wxUSE_TREECTRL
=no
1345 DEFAULT_wxUSE_UNICODE
=no
1346 DEFAULT_wxUSE_WCSRTOMBS
=no
1348 DEFAULT_wxUSE_GIF
=no
1349 DEFAULT_wxUSE_PCX
=no
1350 DEFAULT_wxUSE_PNM
=no
1352 DEFAULT_wxUSE_THREADS
=yes
1354 DEFAULT_wxUSE_SHARED
=yes
1355 DEFAULT_wxUSE_BURNT_NAME
=no
1356 DEFAULT_wxUSE_OPTIMISE
=yes
1357 DEFAULT_wxUSE_PROFILE
=no
1358 DEFAULT_wxUSE_NO_DEPS
=no
1359 DEFAULT_wxUSE_NO_RTTI
=no
1360 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1361 DEFAULT_wxUSE_PERMISSIVE
=no
1362 DEFAULT_wxUSE_DEBUG_FLAG
=no
1363 DEFAULT_wxUSE_DEBUG_INFO
=no
1364 DEFAULT_wxUSE_DEBUG_GDB
=no
1365 DEFAULT_wxUSE_MEM_TRACING
=no
1366 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1367 DEFAULT_wxUSE_DMALLOC
=no
1368 DEFAULT_wxUSE_APPLE_IEEE
=yes
1370 DEFAULT_wxUSE_LOG
=yes
1372 DEFAULT_wxUSE_GUI
=yes
1374 DEFAULT_wxUSE_ZLIB
=yes
1375 DEFAULT_wxUSE_LIBPNG
=yes
1376 DEFAULT_wxUSE_LIBJPEG
=yes
1377 DEFAULT_wxUSE_LIBTIFF
=yes
1378 DEFAULT_wxUSE_ODBC
=no
1380 DEFAULT_wxUSE_STD_IOSTREAM
=no
1381 DEFAULT_wxUSE_FILE
=yes
1382 DEFAULT_wxUSE_TEXTFILE
=yes
1383 DEFAULT_wxUSE_TIMEDATE
=yes
1384 DEFAULT_wxUSE_WAVE
=no
1385 DEFAULT_wxUSE_INTL
=yes
1386 DEFAULT_wxUSE_CONFIG
=yes
1387 DEFAULT_wxUSE_STREAMS
=yes
1388 DEFAULT_wxUSE_SOCKETS
=yes
1389 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
1390 DEFAULT_wxUSE_SERIAL
=yes
1391 DEFAULT_wxUSE_JOYSTICK
=yes
1392 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
1393 DEFAULT_wxUSE_LONGLONG
=yes
1395 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
1396 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
1397 DEFAULT_wxUSE_POSTSCRIPT
=yes
1399 DEFAULT_wxUSE_X_RESOURCES
=no
1400 DEFAULT_wxUSE_CLIPBOARD
=yes
1401 DEFAULT_wxUSE_TOOLTIPS
=yes
1402 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
1403 DEFAULT_wxUSE_SPLINES
=yes
1405 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
1406 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
1407 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
1409 DEFAULT_wxUSE_PROLOGIO
=yes
1410 DEFAULT_wxUSE_RESOURCES
=yes
1411 DEFAULT_wxUSE_CONSTRAINTS
=yes
1412 DEFAULT_wxUSE_IPC
=yes
1413 DEFAULT_wxUSE_HELP
=yes
1414 DEFAULT_wxUSE_WXTREE
=yes
1415 DEFAULT_wxUSE_METAFILE
=yes
1417 DEFAULT_wxUSE_COMMONDLGS
=yes
1418 DEFAULT_wxUSE_DIRDLG
=yes
1419 DEFAULT_wxUSE_TEXTDLG
=yes
1420 DEFAULT_wxUSE_STARTUP_TIPS
=yes
1421 DEFAULT_wxUSE_PROGRESSDLG
=yes
1422 DEFAULT_wxUSE_MINIFRAME
=yes
1423 DEFAULT_wxUSE_HTML
=yes
1424 DEFAULT_wxUSE_FILESYSTEM
=yes
1425 DEFAULT_wxUSE_FS_INET
=yes
1426 DEFAULT_wxUSE_FS_ZIP
=yes
1427 DEFAULT_wxUSE_BUSYINFO
=yes
1428 DEFAULT_wxUSE_ZIPSTREAM
=yes
1429 DEFAULT_wxUSE_VALIDATORS
=yes
1431 DEFAULT_wxUSE_ACCEL
=yes
1432 DEFAULT_wxUSE_CARET
=yes
1433 DEFAULT_wxUSE_BMPBUTTON
=yes
1434 DEFAULT_wxUSE_CHECKBOX
=yes
1435 DEFAULT_wxUSE_CHECKLST
=yes
1436 DEFAULT_wxUSE_CHOICE
=yes
1437 DEFAULT_wxUSE_COMBOBOX
=yes
1438 DEFAULT_wxUSE_GAUGE
=yes
1439 DEFAULT_wxUSE_GRID
=yes
1440 DEFAULT_wxUSE_NEW_GRID
=yes
1441 DEFAULT_wxUSE_IMAGLIST
=yes
1442 DEFAULT_wxUSE_LISTBOX
=yes
1443 DEFAULT_wxUSE_LISTCTRL
=yes
1444 DEFAULT_wxUSE_NOTEBOOK
=yes
1445 DEFAULT_wxUSE_PLOT
=yes
1446 DEFAULT_wxUSE_RADIOBOX
=yes
1447 DEFAULT_wxUSE_RADIOBTN
=yes
1448 DEFAULT_wxUSE_SASH
=yes
1449 DEFAULT_wxUSE_SCROLLBAR
=yes
1450 DEFAULT_wxUSE_SLIDER
=yes
1451 DEFAULT_wxUSE_SPINBTN
=yes
1452 DEFAULT_wxUSE_SPINCTRL
=yes
1453 DEFAULT_wxUSE_SPLITTER
=yes
1454 DEFAULT_wxUSE_STATBMP
=yes
1455 DEFAULT_wxUSE_STATBOX
=yes
1456 DEFAULT_wxUSE_STATLINE
=yes
1457 DEFAULT_wxUSE_STATUSBAR
=yes
1458 DEFAULT_wxUSE_TABDIALOG
=no
1459 DEFAULT_wxUSE_TOOLBAR
=yes
1460 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
1461 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
1462 DEFAULT_wxUSE_TREECTRL
=yes
1464 DEFAULT_wxUSE_UNICODE
=no
1465 DEFAULT_wxUSE_WCSRTOMBS
=no
1467 DEFAULT_wxUSE_GIF
=yes
1468 DEFAULT_wxUSE_PCX
=yes
1469 DEFAULT_wxUSE_PNM
=yes
1474 for toolkit
in `echo $ALL_TOOLKITS`; do
1475 LINE
=`grep "wxUSE_$toolkit" ${wx_arg_cache_file}`
1476 if test "x$LINE" != x
; then
1477 has_toolkit_in_cache
=1
1478 eval "DEFAULT_$LINE"
1479 eval "CACHE_$toolkit=1"
1485 echo $ac_n "checking "for --enable-gui"""... $ac_c" 1>&6
1486 echo "configure:1487: checking "for --enable-gui"" >&5
1488 # Check whether --enable-gui or --disable-gui was given.
1489 if test "${enable_gui+set}" = set; then
1490 enableval
="$enable_gui"
1492 if test "$enableval" = yes; then
1493 ac_cv_use_gui
='wxUSE_GUI=yes'
1495 ac_cv_use_gui
='wxUSE_GUI=no'
1500 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
1501 if test "x$LINE" != x
; then
1502 eval "DEFAULT_$LINE"
1507 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
1512 eval "$ac_cv_use_gui"
1513 if test "$no_cache" != 1; then
1514 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
1517 if test "$wxUSE_GUI" = yes; then
1518 echo "$ac_t""yes" 1>&6
1520 echo "$ac_t""no" 1>&6
1524 if test "$wxUSE_GUI" = "yes"; then
1526 # Check whether --with-gtk or --without-gtk was given.
1527 if test "${with_gtk+set}" = set; then
1529 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
1532 # Check whether --with-motif or --without-motif was given.
1533 if test "${with_motif+set}" = set; then
1534 withval
="$with_motif"
1535 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
1538 # Check whether --with-wine or --without-wine was given.
1539 if test "${with_wine+set}" = set; then
1540 withval
="$with_wine"
1541 wxUSE_WINE
="$withval" CACHE_WINE
=1 TOOLKIT_GIVEN
=1
1544 # Check whether --with-cygwin or --without-cygwin was given.
1545 if test "${with_cygwin+set}" = set; then
1546 withval
="$with_cygwin"
1547 wxUSE_CYGWIN
="$withval" CACHE_CYGWIN
=1 TOOLKIT_GIVEN
=1
1550 # Check whether --with-mingw or --without-mingw was given.
1551 if test "${with_mingw+set}" = set; then
1552 withval
="$with_mingw"
1553 wxUSE_MINGW
="$withval" CACHE_MINGW
=1 TOOLKIT_GIVEN
=1
1556 # Check whether --with-pm or --without-pm was given.
1557 if test "${with_pm+set}" = set; then
1559 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
1563 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
1564 if test "${with_gtk_prefix+set}" = set; then
1565 withval
="$with_gtk_prefix"
1566 gtk_config_prefix
="$withval"
1568 gtk_config_prefix
=""
1571 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
1572 if test "${with_gtk_exec_prefix+set}" = set; then
1573 withval
="$with_gtk_exec_prefix"
1574 gtk_config_exec_prefix
="$withval"
1576 gtk_config_exec_prefix
=""
1581 echo $ac_n "checking "for --with-libpng"""... $ac_c" 1>&6
1582 echo "configure:1583: checking "for --with-libpng"" >&5
1584 # Check whether --with-libpng or --without-libpng was given.
1585 if test "${with_libpng+set}" = set; then
1586 withval
="$with_libpng"
1588 if test "$withval" = yes; then
1589 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
1591 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
1596 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
1597 if test "x$LINE" != x
; then
1598 eval "DEFAULT_$LINE"
1603 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
1608 eval "$ac_cv_use_libpng"
1609 if test "$no_cache" != 1; then
1610 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
1613 if test "$wxUSE_LIBPNG" = yes; then
1614 echo "$ac_t""yes" 1>&6
1616 echo "$ac_t""no" 1>&6
1620 echo $ac_n "checking "for --with-libjpeg"""... $ac_c" 1>&6
1621 echo "configure:1622: checking "for --with-libjpeg"" >&5
1623 # Check whether --with-libjpeg or --without-libjpeg was given.
1624 if test "${with_libjpeg+set}" = set; then
1625 withval
="$with_libjpeg"
1627 if test "$withval" = yes; then
1628 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
1630 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
1635 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
1636 if test "x$LINE" != x
; then
1637 eval "DEFAULT_$LINE"
1642 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
1647 eval "$ac_cv_use_libjpeg"
1648 if test "$no_cache" != 1; then
1649 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
1652 if test "$wxUSE_LIBJPEG" = yes; then
1653 echo "$ac_t""yes" 1>&6
1655 echo "$ac_t""no" 1>&6
1659 echo $ac_n "checking "for --with-libtiff"""... $ac_c" 1>&6
1660 echo "configure:1661: checking "for --with-libtiff"" >&5
1662 # Check whether --with-libtiff or --without-libtiff was given.
1663 if test "${with_libtiff+set}" = set; then
1664 withval
="$with_libtiff"
1666 if test "$withval" = yes; then
1667 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
1669 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
1674 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
1675 if test "x$LINE" != x
; then
1676 eval "DEFAULT_$LINE"
1681 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
1686 eval "$ac_cv_use_libtiff"
1687 if test "$no_cache" != 1; then
1688 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
1691 if test "$wxUSE_LIBTIFF" = yes; then
1692 echo "$ac_t""yes" 1>&6
1694 echo "$ac_t""no" 1>&6
1698 echo $ac_n "checking "for --with-opengl"""... $ac_c" 1>&6
1699 echo "configure:1700: checking "for --with-opengl"" >&5
1701 # Check whether --with-opengl or --without-opengl was given.
1702 if test "${with_opengl+set}" = set; then
1703 withval
="$with_opengl"
1705 if test "$withval" = yes; then
1706 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
1708 ac_cv_use_opengl
='wxUSE_OPENGL=no'
1713 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
1714 if test "x$LINE" != x
; then
1715 eval "DEFAULT_$LINE"
1720 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
1725 eval "$ac_cv_use_opengl"
1726 if test "$no_cache" != 1; then
1727 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
1730 if test "$wxUSE_OPENGL" = yes; then
1731 echo "$ac_t""yes" 1>&6
1733 echo "$ac_t""no" 1>&6
1740 echo $ac_n "checking "for --with-dmalloc"""... $ac_c" 1>&6
1741 echo "configure:1742: checking "for --with-dmalloc"" >&5
1743 # Check whether --with-dmalloc or --without-dmalloc was given.
1744 if test "${with_dmalloc+set}" = set; then
1745 withval
="$with_dmalloc"
1747 if test "$withval" = yes; then
1748 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
1750 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
1755 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
1756 if test "x$LINE" != x
; then
1757 eval "DEFAULT_$LINE"
1762 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
1767 eval "$ac_cv_use_dmalloc"
1768 if test "$no_cache" != 1; then
1769 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
1772 if test "$wxUSE_DMALLOC" = yes; then
1773 echo "$ac_t""yes" 1>&6
1775 echo "$ac_t""no" 1>&6
1779 echo $ac_n "checking "for --with-zlib"""... $ac_c" 1>&6
1780 echo "configure:1781: checking "for --with-zlib"" >&5
1782 # Check whether --with-zlib or --without-zlib was given.
1783 if test "${with_zlib+set}" = set; then
1784 withval
="$with_zlib"
1786 if test "$withval" = yes; then
1787 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
1789 ac_cv_use_zlib
='wxUSE_ZLIB=no'
1794 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
1795 if test "x$LINE" != x
; then
1796 eval "DEFAULT_$LINE"
1801 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
1806 eval "$ac_cv_use_zlib"
1807 if test "$no_cache" != 1; then
1808 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
1811 if test "$wxUSE_ZLIB" = yes; then
1812 echo "$ac_t""yes" 1>&6
1814 echo "$ac_t""no" 1>&6
1818 echo $ac_n "checking "for --with-odbc"""... $ac_c" 1>&6
1819 echo "configure:1820: checking "for --with-odbc"" >&5
1821 # Check whether --with-odbc or --without-odbc was given.
1822 if test "${with_odbc+set}" = set; then
1823 withval
="$with_odbc"
1825 if test "$withval" = yes; then
1826 ac_cv_use_odbc
='wxUSE_ODBC=yes'
1828 ac_cv_use_odbc
='wxUSE_ODBC=no'
1833 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
1834 if test "x$LINE" != x
; then
1835 eval "DEFAULT_$LINE"
1840 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
1845 eval "$ac_cv_use_odbc"
1846 if test "$no_cache" != 1; then
1847 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
1850 if test "$wxUSE_ODBC" = yes; then
1851 echo "$ac_t""yes" 1>&6
1853 echo "$ac_t""no" 1>&6
1860 echo $ac_n "checking "for --enable-shared"""... $ac_c" 1>&6
1861 echo "configure:1862: checking "for --enable-shared"" >&5
1863 # Check whether --enable-shared or --disable-shared was given.
1864 if test "${enable_shared+set}" = set; then
1865 enableval
="$enable_shared"
1867 if test "$enableval" = yes; then
1868 ac_cv_use_shared
='wxUSE_SHARED=yes'
1870 ac_cv_use_shared
='wxUSE_SHARED=no'
1875 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
1876 if test "x$LINE" != x
; then
1877 eval "DEFAULT_$LINE"
1882 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
1887 eval "$ac_cv_use_shared"
1888 if test "$no_cache" != 1; then
1889 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
1892 if test "$wxUSE_SHARED" = yes; then
1893 echo "$ac_t""yes" 1>&6
1895 echo "$ac_t""no" 1>&6
1899 echo $ac_n "checking "for --enable-burnt_name"""... $ac_c" 1>&6
1900 echo "configure:1901: checking "for --enable-burnt_name"" >&5
1902 # Check whether --enable-burnt_name or --disable-burnt_name was given.
1903 if test "${enable_burnt_name+set}" = set; then
1904 enableval
="$enable_burnt_name"
1906 if test "$enableval" = yes; then
1907 ac_cv_use_burnt_name
='wxUSE_BURNT_NAME=yes'
1909 ac_cv_use_burnt_name
='wxUSE_BURNT_NAME=no'
1914 LINE
=`grep "wxUSE_BURNT_NAME" ${wx_arg_cache_file}`
1915 if test "x$LINE" != x
; then
1916 eval "DEFAULT_$LINE"
1921 ac_cv_use_burnt_name
='wxUSE_BURNT_NAME='$DEFAULT_wxUSE_BURNT_NAME
1926 eval "$ac_cv_use_burnt_name"
1927 if test "$no_cache" != 1; then
1928 echo $ac_cv_use_burnt_name >> ${wx_arg_cache_file}.tmp
1931 if test "$wxUSE_BURNT_NAME" = yes; then
1932 echo "$ac_t""yes" 1>&6
1934 echo "$ac_t""no" 1>&6
1938 echo $ac_n "checking "for --enable-optimise"""... $ac_c" 1>&6
1939 echo "configure:1940: checking "for --enable-optimise"" >&5
1941 # Check whether --enable-optimise or --disable-optimise was given.
1942 if test "${enable_optimise+set}" = set; then
1943 enableval
="$enable_optimise"
1945 if test "$enableval" = yes; then
1946 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
1948 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
1953 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
1954 if test "x$LINE" != x
; then
1955 eval "DEFAULT_$LINE"
1960 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
1965 eval "$ac_cv_use_optimise"
1966 if test "$no_cache" != 1; then
1967 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
1970 if test "$wxUSE_OPTIMISE" = yes; then
1971 echo "$ac_t""yes" 1>&6
1973 echo "$ac_t""no" 1>&6
1977 echo $ac_n "checking "for --enable-debug"""... $ac_c" 1>&6
1978 echo "configure:1979: checking "for --enable-debug"" >&5
1980 # Check whether --enable-debug or --disable-debug was given.
1981 if test "${enable_debug+set}" = set; then
1982 enableval
="$enable_debug"
1984 if test "$enableval" = yes; then
1985 ac_cv_use_debug
='wxUSE_DEBUG=yes'
1987 ac_cv_use_debug
='wxUSE_DEBUG=no'
1992 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
1993 if test "x$LINE" != x
; then
1994 eval "DEFAULT_$LINE"
1999 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
2004 eval "$ac_cv_use_debug"
2005 if test "$no_cache" != 1; then
2006 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
2009 if test "$wxUSE_DEBUG" = yes; then
2010 echo "$ac_t""yes" 1>&6
2012 echo "$ac_t""no" 1>&6
2016 if test "$wxUSE_DEBUG" = "yes"; then
2017 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2018 DEFAULT_wxUSE_DEBUG_INFO
=yes
2019 elif test "$wxUSE_DEBUG" = "no"; then
2020 DEFAULT_wxUSE_DEBUG_FLAG
=no
2021 DEFAULT_wxUSE_DEBUG_INFO
=no
2025 echo $ac_n "checking "for --enable-debug_flag"""... $ac_c" 1>&6
2026 echo "configure:2027: checking "for --enable-debug_flag"" >&5
2028 # Check whether --enable-debug_flag or --disable-debug_flag was given.
2029 if test "${enable_debug_flag+set}" = set; then
2030 enableval
="$enable_debug_flag"
2032 if test "$enableval" = yes; then
2033 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
2035 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
2040 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
2041 if test "x$LINE" != x
; then
2042 eval "DEFAULT_$LINE"
2047 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
2052 eval "$ac_cv_use_debug_flag"
2053 if test "$no_cache" != 1; then
2054 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
2057 if test "$wxUSE_DEBUG_FLAG" = yes; then
2058 echo "$ac_t""yes" 1>&6
2060 echo "$ac_t""no" 1>&6
2064 echo $ac_n "checking "for --enable-debug_info"""... $ac_c" 1>&6
2065 echo "configure:2066: checking "for --enable-debug_info"" >&5
2067 # Check whether --enable-debug_info or --disable-debug_info was given.
2068 if test "${enable_debug_info+set}" = set; then
2069 enableval
="$enable_debug_info"
2071 if test "$enableval" = yes; then
2072 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
2074 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
2079 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
2080 if test "x$LINE" != x
; then
2081 eval "DEFAULT_$LINE"
2086 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
2091 eval "$ac_cv_use_debug_info"
2092 if test "$no_cache" != 1; then
2093 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
2096 if test "$wxUSE_DEBUG_INFO" = yes; then
2097 echo "$ac_t""yes" 1>&6
2099 echo "$ac_t""no" 1>&6
2103 echo $ac_n "checking "for --enable-debug_gdb"""... $ac_c" 1>&6
2104 echo "configure:2105: checking "for --enable-debug_gdb"" >&5
2106 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
2107 if test "${enable_debug_gdb+set}" = set; then
2108 enableval
="$enable_debug_gdb"
2110 if test "$enableval" = yes; then
2111 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
2113 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
2118 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
2119 if test "x$LINE" != x
; then
2120 eval "DEFAULT_$LINE"
2125 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
2130 eval "$ac_cv_use_debug_gdb"
2131 if test "$no_cache" != 1; then
2132 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
2135 if test "$wxUSE_DEBUG_GDB" = yes; then
2136 echo "$ac_t""yes" 1>&6
2138 echo "$ac_t""no" 1>&6
2142 echo $ac_n "checking "for --enable-debug_cntxt"""... $ac_c" 1>&6
2143 echo "configure:2144: checking "for --enable-debug_cntxt"" >&5
2145 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
2146 if test "${enable_debug_cntxt+set}" = set; then
2147 enableval
="$enable_debug_cntxt"
2149 if test "$enableval" = yes; then
2150 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
2152 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
2157 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2158 if test "x$LINE" != x
; then
2159 eval "DEFAULT_$LINE"
2164 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2169 eval "$ac_cv_use_debug_cntxt"
2170 if test "$no_cache" != 1; then
2171 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2174 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2175 echo "$ac_t""yes" 1>&6
2177 echo "$ac_t""no" 1>&6
2181 echo $ac_n "checking "for --enable-mem_tracing"""... $ac_c" 1>&6
2182 echo "configure:2183: checking "for --enable-mem_tracing"" >&5
2184 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2185 if test "${enable_mem_tracing+set}" = set; then
2186 enableval
="$enable_mem_tracing"
2188 if test "$enableval" = yes; then
2189 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
2191 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
2196 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2197 if test "x$LINE" != x
; then
2198 eval "DEFAULT_$LINE"
2203 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2208 eval "$ac_cv_use_mem_tracing"
2209 if test "$no_cache" != 1; then
2210 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2213 if test "$wxUSE_MEM_TRACING" = yes; then
2214 echo "$ac_t""yes" 1>&6
2216 echo "$ac_t""no" 1>&6
2220 echo $ac_n "checking "for --enable-profile"""... $ac_c" 1>&6
2221 echo "configure:2222: checking "for --enable-profile"" >&5
2223 # Check whether --enable-profile or --disable-profile was given.
2224 if test "${enable_profile+set}" = set; then
2225 enableval
="$enable_profile"
2227 if test "$enableval" = yes; then
2228 ac_cv_use_profile
='wxUSE_PROFILE=yes'
2230 ac_cv_use_profile
='wxUSE_PROFILE=no'
2235 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2236 if test "x$LINE" != x
; then
2237 eval "DEFAULT_$LINE"
2242 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2247 eval "$ac_cv_use_profile"
2248 if test "$no_cache" != 1; then
2249 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2252 if test "$wxUSE_PROFILE" = yes; then
2253 echo "$ac_t""yes" 1>&6
2255 echo "$ac_t""no" 1>&6
2259 echo $ac_n "checking "for --enable-no_rtti"""... $ac_c" 1>&6
2260 echo "configure:2261: checking "for --enable-no_rtti"" >&5
2262 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2263 if test "${enable_no_rtti+set}" = set; then
2264 enableval
="$enable_no_rtti"
2266 if test "$enableval" = yes; then
2267 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
2269 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
2274 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2275 if test "x$LINE" != x
; then
2276 eval "DEFAULT_$LINE"
2281 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2286 eval "$ac_cv_use_no_rtti"
2287 if test "$no_cache" != 1; then
2288 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2291 if test "$wxUSE_NO_RTTI" = yes; then
2292 echo "$ac_t""yes" 1>&6
2294 echo "$ac_t""no" 1>&6
2298 echo $ac_n "checking "for --enable-no_exceptions"""... $ac_c" 1>&6
2299 echo "configure:2300: checking "for --enable-no_exceptions"" >&5
2301 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2302 if test "${enable_no_exceptions+set}" = set; then
2303 enableval
="$enable_no_exceptions"
2305 if test "$enableval" = yes; then
2306 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
2308 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
2313 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2314 if test "x$LINE" != x
; then
2315 eval "DEFAULT_$LINE"
2320 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2325 eval "$ac_cv_use_no_exceptions"
2326 if test "$no_cache" != 1; then
2327 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2330 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2331 echo "$ac_t""yes" 1>&6
2333 echo "$ac_t""no" 1>&6
2337 echo $ac_n "checking "for --enable-permissive"""... $ac_c" 1>&6
2338 echo "configure:2339: checking "for --enable-permissive"" >&5
2340 # Check whether --enable-permissive or --disable-permissive was given.
2341 if test "${enable_permissive+set}" = set; then
2342 enableval
="$enable_permissive"
2344 if test "$enableval" = yes; then
2345 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
2347 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
2352 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2353 if test "x$LINE" != x
; then
2354 eval "DEFAULT_$LINE"
2359 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
2364 eval "$ac_cv_use_permissive"
2365 if test "$no_cache" != 1; then
2366 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
2369 if test "$wxUSE_PERMISSIVE" = yes; then
2370 echo "$ac_t""yes" 1>&6
2372 echo "$ac_t""no" 1>&6
2376 echo $ac_n "checking "for --enable-no_deps"""... $ac_c" 1>&6
2377 echo "configure:2378: checking "for --enable-no_deps"" >&5
2379 # Check whether --enable-no_deps or --disable-no_deps was given.
2380 if test "${enable_no_deps+set}" = set; then
2381 enableval
="$enable_no_deps"
2383 if test "$enableval" = yes; then
2384 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
2386 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
2391 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
2392 if test "x$LINE" != x
; then
2393 eval "DEFAULT_$LINE"
2398 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
2403 eval "$ac_cv_use_no_deps"
2404 if test "$no_cache" != 1; then
2405 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
2408 if test "$wxUSE_NO_DEPS" = yes; then
2409 echo "$ac_t""yes" 1>&6
2411 echo "$ac_t""no" 1>&6
2417 echo $ac_n "checking "for --enable-intl"""... $ac_c" 1>&6
2418 echo "configure:2419: checking "for --enable-intl"" >&5
2420 # Check whether --enable-intl or --disable-intl was given.
2421 if test "${enable_intl+set}" = set; then
2422 enableval
="$enable_intl"
2424 if test "$enableval" = yes; then
2425 ac_cv_use_intl
='wxUSE_INTL=yes'
2427 ac_cv_use_intl
='wxUSE_INTL=no'
2432 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
2433 if test "x$LINE" != x
; then
2434 eval "DEFAULT_$LINE"
2439 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
2444 eval "$ac_cv_use_intl"
2445 if test "$no_cache" != 1; then
2446 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
2449 if test "$wxUSE_INTL" = yes; then
2450 echo "$ac_t""yes" 1>&6
2452 echo "$ac_t""no" 1>&6
2456 echo $ac_n "checking "for --enable-config"""... $ac_c" 1>&6
2457 echo "configure:2458: checking "for --enable-config"" >&5
2459 # Check whether --enable-config or --disable-config was given.
2460 if test "${enable_config+set}" = set; then
2461 enableval
="$enable_config"
2463 if test "$enableval" = yes; then
2464 ac_cv_use_config
='wxUSE_CONFIG=yes'
2466 ac_cv_use_config
='wxUSE_CONFIG=no'
2471 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
2472 if test "x$LINE" != x
; then
2473 eval "DEFAULT_$LINE"
2478 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
2483 eval "$ac_cv_use_config"
2484 if test "$no_cache" != 1; then
2485 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
2488 if test "$wxUSE_CONFIG" = yes; then
2489 echo "$ac_t""yes" 1>&6
2491 echo "$ac_t""no" 1>&6
2495 if test "$wxUSE_GUI" = "yes"; then
2497 echo $ac_n "checking "for --enable-sockets"""... $ac_c" 1>&6
2498 echo "configure:2499: checking "for --enable-sockets"" >&5
2500 # Check whether --enable-sockets or --disable-sockets was given.
2501 if test "${enable_sockets+set}" = set; then
2502 enableval
="$enable_sockets"
2504 if test "$enableval" = yes; then
2505 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
2507 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
2512 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
2513 if test "x$LINE" != x
; then
2514 eval "DEFAULT_$LINE"
2519 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
2524 eval "$ac_cv_use_sockets"
2525 if test "$no_cache" != 1; then
2526 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
2529 if test "$wxUSE_SOCKETS" = yes; then
2530 echo "$ac_t""yes" 1>&6
2532 echo "$ac_t""no" 1>&6
2540 echo $ac_n "checking "for --enable-dialupman"""... $ac_c" 1>&6
2541 echo "configure:2542: checking "for --enable-dialupman"" >&5
2543 # Check whether --enable-dialupman or --disable-dialupman was given.
2544 if test "${enable_dialupman+set}" = set; then
2545 enableval
="$enable_dialupman"
2547 if test "$enableval" = yes; then
2548 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
2550 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
2555 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
2556 if test "x$LINE" != x
; then
2557 eval "DEFAULT_$LINE"
2562 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
2567 eval "$ac_cv_use_dialupman"
2568 if test "$no_cache" != 1; then
2569 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
2572 if test "$wxUSE_DIALUP_MANAGER" = yes; then
2573 echo "$ac_t""yes" 1>&6
2575 echo "$ac_t""no" 1>&6
2579 echo $ac_n "checking "for --enable-ipc"""... $ac_c" 1>&6
2580 echo "configure:2581: checking "for --enable-ipc"" >&5
2582 # Check whether --enable-ipc or --disable-ipc was given.
2583 if test "${enable_ipc+set}" = set; then
2584 enableval
="$enable_ipc"
2586 if test "$enableval" = yes; then
2587 ac_cv_use_ipc
='wxUSE_IPC=yes'
2589 ac_cv_use_ipc
='wxUSE_IPC=no'
2594 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
2595 if test "x$LINE" != x
; then
2596 eval "DEFAULT_$LINE"
2601 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
2606 eval "$ac_cv_use_ipc"
2607 if test "$no_cache" != 1; then
2608 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
2611 if test "$wxUSE_IPC" = yes; then
2612 echo "$ac_t""yes" 1>&6
2614 echo "$ac_t""no" 1>&6
2618 echo $ac_n "checking "for --enable-apple_ieee"""... $ac_c" 1>&6
2619 echo "configure:2620: checking "for --enable-apple_ieee"" >&5
2621 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
2622 if test "${enable_apple_ieee+set}" = set; then
2623 enableval
="$enable_apple_ieee"
2625 if test "$enableval" = yes; then
2626 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
2628 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
2633 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
2634 if test "x$LINE" != x
; then
2635 eval "DEFAULT_$LINE"
2640 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
2645 eval "$ac_cv_use_apple_ieee"
2646 if test "$no_cache" != 1; then
2647 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
2650 if test "$wxUSE_APPLE_IEEE" = yes; then
2651 echo "$ac_t""yes" 1>&6
2653 echo "$ac_t""no" 1>&6
2657 echo $ac_n "checking "for --enable-timedate"""... $ac_c" 1>&6
2658 echo "configure:2659: checking "for --enable-timedate"" >&5
2660 # Check whether --enable-timedate or --disable-timedate was given.
2661 if test "${enable_timedate+set}" = set; then
2662 enableval
="$enable_timedate"
2664 if test "$enableval" = yes; then
2665 ac_cv_use_timedate
='wxUSE_TIMEDATE=yes'
2667 ac_cv_use_timedate
='wxUSE_TIMEDATE=no'
2672 LINE
=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}`
2673 if test "x$LINE" != x
; then
2674 eval "DEFAULT_$LINE"
2679 ac_cv_use_timedate
='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
2684 eval "$ac_cv_use_timedate"
2685 if test "$no_cache" != 1; then
2686 echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp
2689 if test "$wxUSE_TIMEDATE" = yes; then
2690 echo "$ac_t""yes" 1>&6
2692 echo "$ac_t""no" 1>&6
2696 echo $ac_n "checking "for --enable-wave"""... $ac_c" 1>&6
2697 echo "configure:2698: checking "for --enable-wave"" >&5
2699 # Check whether --enable-wave or --disable-wave was given.
2700 if test "${enable_wave+set}" = set; then
2701 enableval
="$enable_wave"
2703 if test "$enableval" = yes; then
2704 ac_cv_use_wave
='wxUSE_WAVE=yes'
2706 ac_cv_use_wave
='wxUSE_WAVE=no'
2711 LINE
=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
2712 if test "x$LINE" != x
; then
2713 eval "DEFAULT_$LINE"
2718 ac_cv_use_wave
='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
2723 eval "$ac_cv_use_wave"
2724 if test "$no_cache" != 1; then
2725 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
2728 if test "$wxUSE_WAVE" = yes; then
2729 echo "$ac_t""yes" 1>&6
2731 echo "$ac_t""no" 1>&6
2735 echo $ac_n "checking "for --enable-fraction"""... $ac_c" 1>&6
2736 echo "configure:2737: checking "for --enable-fraction"" >&5
2738 # Check whether --enable-fraction or --disable-fraction was given.
2739 if test "${enable_fraction+set}" = set; then
2740 enableval
="$enable_fraction"
2742 if test "$enableval" = yes; then
2743 ac_cv_use_fraction
='wxUSE_FRACTION=yes'
2745 ac_cv_use_fraction
='wxUSE_FRACTION=no'
2750 LINE
=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
2751 if test "x$LINE" != x
; then
2752 eval "DEFAULT_$LINE"
2757 ac_cv_use_fraction
='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
2762 eval "$ac_cv_use_fraction"
2763 if test "$no_cache" != 1; then
2764 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
2767 if test "$wxUSE_FRACTION" = yes; then
2768 echo "$ac_t""yes" 1>&6
2770 echo "$ac_t""no" 1>&6
2774 echo $ac_n "checking "for --enable-dynlib"""... $ac_c" 1>&6
2775 echo "configure:2776: checking "for --enable-dynlib"" >&5
2777 # Check whether --enable-dynlib or --disable-dynlib was given.
2778 if test "${enable_dynlib+set}" = set; then
2779 enableval
="$enable_dynlib"
2781 if test "$enableval" = yes; then
2782 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
2784 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
2789 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
2790 if test "x$LINE" != x
; then
2791 eval "DEFAULT_$LINE"
2796 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
2801 eval "$ac_cv_use_dynlib"
2802 if test "$no_cache" != 1; then
2803 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
2806 if test "$wxUSE_DYNLIB_CLASS" = yes; then
2807 echo "$ac_t""yes" 1>&6
2809 echo "$ac_t""no" 1>&6
2813 echo $ac_n "checking "for --enable-longlong"""... $ac_c" 1>&6
2814 echo "configure:2815: checking "for --enable-longlong"" >&5
2816 # Check whether --enable-longlong or --disable-longlong was given.
2817 if test "${enable_longlong+set}" = set; then
2818 enableval
="$enable_longlong"
2820 if test "$enableval" = yes; then
2821 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
2823 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
2828 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
2829 if test "x$LINE" != x
; then
2830 eval "DEFAULT_$LINE"
2835 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
2840 eval "$ac_cv_use_longlong"
2841 if test "$no_cache" != 1; then
2842 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
2845 if test "$wxUSE_LONGLONG" = yes; then
2846 echo "$ac_t""yes" 1>&6
2848 echo "$ac_t""no" 1>&6
2852 echo $ac_n "checking "for --enable-log"""... $ac_c" 1>&6
2853 echo "configure:2854: checking "for --enable-log"" >&5
2855 # Check whether --enable-log or --disable-log was given.
2856 if test "${enable_log+set}" = set; then
2857 enableval
="$enable_log"
2859 if test "$enableval" = yes; then
2860 ac_cv_use_log
='wxUSE_LOG=yes'
2862 ac_cv_use_log
='wxUSE_LOG=no'
2867 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
2868 if test "x$LINE" != x
; then
2869 eval "DEFAULT_$LINE"
2874 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
2879 eval "$ac_cv_use_log"
2880 if test "$no_cache" != 1; then
2881 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
2884 if test "$wxUSE_LOG" = yes; then
2885 echo "$ac_t""yes" 1>&6
2887 echo "$ac_t""no" 1>&6
2891 echo $ac_n "checking "for --enable-streams"""... $ac_c" 1>&6
2892 echo "configure:2893: checking "for --enable-streams"" >&5
2894 # Check whether --enable-streams or --disable-streams was given.
2895 if test "${enable_streams+set}" = set; then
2896 enableval
="$enable_streams"
2898 if test "$enableval" = yes; then
2899 ac_cv_use_streams
='wxUSE_STREAMS=yes'
2901 ac_cv_use_streams
='wxUSE_STREAMS=no'
2906 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
2907 if test "x$LINE" != x
; then
2908 eval "DEFAULT_$LINE"
2913 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
2918 eval "$ac_cv_use_streams"
2919 if test "$no_cache" != 1; then
2920 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
2923 if test "$wxUSE_STREAMS" = yes; then
2924 echo "$ac_t""yes" 1>&6
2926 echo "$ac_t""no" 1>&6
2930 echo $ac_n "checking "for --enable-file"""... $ac_c" 1>&6
2931 echo "configure:2932: checking "for --enable-file"" >&5
2933 # Check whether --enable-file or --disable-file was given.
2934 if test "${enable_file+set}" = set; then
2935 enableval
="$enable_file"
2937 if test "$enableval" = yes; then
2938 ac_cv_use_file
='wxUSE_FILE=yes'
2940 ac_cv_use_file
='wxUSE_FILE=no'
2945 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
2946 if test "x$LINE" != x
; then
2947 eval "DEFAULT_$LINE"
2952 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
2957 eval "$ac_cv_use_file"
2958 if test "$no_cache" != 1; then
2959 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
2962 if test "$wxUSE_FILE" = yes; then
2963 echo "$ac_t""yes" 1>&6
2965 echo "$ac_t""no" 1>&6
2969 echo $ac_n "checking "for --enable-textfile"""... $ac_c" 1>&6
2970 echo "configure:2971: checking "for --enable-textfile"" >&5
2972 # Check whether --enable-textfile or --disable-textfile was given.
2973 if test "${enable_textfile+set}" = set; then
2974 enableval
="$enable_textfile"
2976 if test "$enableval" = yes; then
2977 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
2979 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
2984 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
2985 if test "x$LINE" != x
; then
2986 eval "DEFAULT_$LINE"
2991 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
2996 eval "$ac_cv_use_textfile"
2997 if test "$no_cache" != 1; then
2998 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
3001 if test "$wxUSE_TEXTFILE" = yes; then
3002 echo "$ac_t""yes" 1>&6
3004 echo "$ac_t""no" 1>&6
3008 echo $ac_n "checking "for --enable-unicode"""... $ac_c" 1>&6
3009 echo "configure:3010: checking "for --enable-unicode"" >&5
3011 # Check whether --enable-unicode or --disable-unicode was given.
3012 if test "${enable_unicode+set}" = set; then
3013 enableval
="$enable_unicode"
3015 if test "$enableval" = yes; then
3016 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
3018 ac_cv_use_unicode
='wxUSE_UNICODE=no'
3023 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
3024 if test "x$LINE" != x
; then
3025 eval "DEFAULT_$LINE"
3030 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
3035 eval "$ac_cv_use_unicode"
3036 if test "$no_cache" != 1; then
3037 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
3040 if test "$wxUSE_UNICODE" = yes; then
3041 echo "$ac_t""yes" 1>&6
3043 echo "$ac_t""no" 1>&6
3047 echo $ac_n "checking "for --enable-wcsrtombs"""... $ac_c" 1>&6
3048 echo "configure:3049: checking "for --enable-wcsrtombs"" >&5
3050 # Check whether --enable-wcsrtombs or --disable-wcsrtombs was given.
3051 if test "${enable_wcsrtombs+set}" = set; then
3052 enableval
="$enable_wcsrtombs"
3054 if test "$enableval" = yes; then
3055 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS=yes'
3057 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS=no'
3062 LINE
=`grep "wxUSE_WCSRTOMBS" ${wx_arg_cache_file}`
3063 if test "x$LINE" != x
; then
3064 eval "DEFAULT_$LINE"
3069 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS='$DEFAULT_wxUSE_WCSRTOMBS
3074 eval "$ac_cv_use_wcsrtombs"
3075 if test "$no_cache" != 1; then
3076 echo $ac_cv_use_wcsrtombs >> ${wx_arg_cache_file}.tmp
3079 if test "$wxUSE_WCSRTOMBS" = yes; then
3080 echo "$ac_t""yes" 1>&6
3082 echo "$ac_t""no" 1>&6
3086 echo $ac_n "checking "for --enable-wxprintfv"""... $ac_c" 1>&6
3087 echo "configure:3088: checking "for --enable-wxprintfv"" >&5
3089 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
3090 if test "${enable_wxprintfv+set}" = set; then
3091 enableval
="$enable_wxprintfv"
3093 if test "$enableval" = yes; then
3094 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
3096 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
3101 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
3102 if test "x$LINE" != x
; then
3103 eval "DEFAULT_$LINE"
3108 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
3113 eval "$ac_cv_use_wxprintfv"
3114 if test "$no_cache" != 1; then
3115 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
3118 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
3119 echo "$ac_t""yes" 1>&6
3121 echo "$ac_t""no" 1>&6
3125 echo $ac_n "checking "for --enable-joystick"""... $ac_c" 1>&6
3126 echo "configure:3127: checking "for --enable-joystick"" >&5
3128 # Check whether --enable-joystick or --disable-joystick was given.
3129 if test "${enable_joystick+set}" = set; then
3130 enableval
="$enable_joystick"
3132 if test "$enableval" = yes; then
3133 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
3135 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
3140 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
3141 if test "x$LINE" != x
; then
3142 eval "DEFAULT_$LINE"
3147 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
3152 eval "$ac_cv_use_joystick"
3153 if test "$no_cache" != 1; then
3154 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
3157 if test "$wxUSE_JOYSTICK" = yes; then
3158 echo "$ac_t""yes" 1>&6
3160 echo "$ac_t""no" 1>&6
3164 echo $ac_n "checking "for --enable-std_iostreams"""... $ac_c" 1>&6
3165 echo "configure:3166: checking "for --enable-std_iostreams"" >&5
3167 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
3168 if test "${enable_std_iostreams+set}" = set; then
3169 enableval
="$enable_std_iostreams"
3171 if test "$enableval" = yes; then
3172 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
3174 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
3179 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
3180 if test "x$LINE" != x
; then
3181 eval "DEFAULT_$LINE"
3186 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
3191 eval "$ac_cv_use_std_iostreams"
3192 if test "$no_cache" != 1; then
3193 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
3196 if test "$wxUSE_STD_IOSTREAM" = yes; then
3197 echo "$ac_t""yes" 1>&6
3199 echo "$ac_t""no" 1>&6
3203 echo $ac_n "checking "for --enable-filesystem"""... $ac_c" 1>&6
3204 echo "configure:3205: checking "for --enable-filesystem"" >&5
3206 # Check whether --enable-filesystem or --disable-filesystem was given.
3207 if test "${enable_filesystem+set}" = set; then
3208 enableval
="$enable_filesystem"
3210 if test "$enableval" = yes; then
3211 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
3213 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
3218 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
3219 if test "x$LINE" != x
; then
3220 eval "DEFAULT_$LINE"
3225 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
3230 eval "$ac_cv_use_filesystem"
3231 if test "$no_cache" != 1; then
3232 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
3235 if test "$wxUSE_FILESYSTEM" = yes; then
3236 echo "$ac_t""yes" 1>&6
3238 echo "$ac_t""no" 1>&6
3242 echo $ac_n "checking "for --enable-fs_inet"""... $ac_c" 1>&6
3243 echo "configure:3244: checking "for --enable-fs_inet"" >&5
3245 # Check whether --enable-fs_inet or --disable-fs_inet was given.
3246 if test "${enable_fs_inet+set}" = set; then
3247 enableval
="$enable_fs_inet"
3249 if test "$enableval" = yes; then
3250 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
3252 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
3257 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
3258 if test "x$LINE" != x
; then
3259 eval "DEFAULT_$LINE"
3264 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
3269 eval "$ac_cv_use_fs_inet"
3270 if test "$no_cache" != 1; then
3271 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
3274 if test "$wxUSE_FS_INET" = yes; then
3275 echo "$ac_t""yes" 1>&6
3277 echo "$ac_t""no" 1>&6
3281 echo $ac_n "checking "for --enable-fs_zip"""... $ac_c" 1>&6
3282 echo "configure:3283: checking "for --enable-fs_zip"" >&5
3284 # Check whether --enable-fs_zip or --disable-fs_zip was given.
3285 if test "${enable_fs_zip+set}" = set; then
3286 enableval
="$enable_fs_zip"
3288 if test "$enableval" = yes; then
3289 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
3291 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
3296 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
3297 if test "x$LINE" != x
; then
3298 eval "DEFAULT_$LINE"
3303 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
3308 eval "$ac_cv_use_fs_zip"
3309 if test "$no_cache" != 1; then
3310 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
3313 if test "$wxUSE_FS_ZIP" = yes; then
3314 echo "$ac_t""yes" 1>&6
3316 echo "$ac_t""no" 1>&6
3320 echo $ac_n "checking "for --enable-zipstream"""... $ac_c" 1>&6
3321 echo "configure:3322: checking "for --enable-zipstream"" >&5
3323 # Check whether --enable-zipstream or --disable-zipstream was given.
3324 if test "${enable_zipstream+set}" = set; then
3325 enableval
="$enable_zipstream"
3327 if test "$enableval" = yes; then
3328 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
3330 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
3335 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
3336 if test "x$LINE" != x
; then
3337 eval "DEFAULT_$LINE"
3342 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
3347 eval "$ac_cv_use_zipstream"
3348 if test "$no_cache" != 1; then
3349 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
3352 if test "$wxUSE_ZIPSTREAM" = yes; then
3353 echo "$ac_t""yes" 1>&6
3355 echo "$ac_t""no" 1>&6
3361 echo $ac_n "checking "for --enable-threads"""... $ac_c" 1>&6
3362 echo "configure:3363: checking "for --enable-threads"" >&5
3364 # Check whether --enable-threads or --disable-threads was given.
3365 if test "${enable_threads+set}" = set; then
3366 enableval
="$enable_threads"
3368 if test "$enableval" = yes; then
3369 ac_cv_use_threads
='wxUSE_THREADS=yes'
3371 ac_cv_use_threads
='wxUSE_THREADS=no'
3376 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
3377 if test "x$LINE" != x
; then
3378 eval "DEFAULT_$LINE"
3383 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
3388 eval "$ac_cv_use_threads"
3389 if test "$no_cache" != 1; then
3390 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
3393 if test "$wxUSE_THREADS" = yes; then
3394 echo "$ac_t""yes" 1>&6
3396 echo "$ac_t""no" 1>&6
3400 echo $ac_n "checking "for --enable-serial"""... $ac_c" 1>&6
3401 echo "configure:3402: checking "for --enable-serial"" >&5
3403 # Check whether --enable-serial or --disable-serial was given.
3404 if test "${enable_serial+set}" = set; then
3405 enableval
="$enable_serial"
3407 if test "$enableval" = yes; then
3408 ac_cv_use_serial
='wxUSE_SERIAL=yes'
3410 ac_cv_use_serial
='wxUSE_SERIAL=no'
3415 LINE
=`grep "wxUSE_SERIAL" ${wx_arg_cache_file}`
3416 if test "x$LINE" != x
; then
3417 eval "DEFAULT_$LINE"
3422 ac_cv_use_serial
='wxUSE_SERIAL='$DEFAULT_wxUSE_SERIAL
3427 eval "$ac_cv_use_serial"
3428 if test "$no_cache" != 1; then
3429 echo $ac_cv_use_serial >> ${wx_arg_cache_file}.tmp
3432 if test "$wxUSE_SERIAL" = yes; then
3433 echo "$ac_t""yes" 1>&6
3435 echo "$ac_t""no" 1>&6
3439 if test "$wxUSE_GUI" = "yes"; then
3443 echo $ac_n "checking "for --enable-docview"""... $ac_c" 1>&6
3444 echo "configure:3445: checking "for --enable-docview"" >&5
3446 # Check whether --enable-docview or --disable-docview was given.
3447 if test "${enable_docview+set}" = set; then
3448 enableval
="$enable_docview"
3450 if test "$enableval" = yes; then
3451 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
3453 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
3458 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
3459 if test "x$LINE" != x
; then
3460 eval "DEFAULT_$LINE"
3465 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
3470 eval "$ac_cv_use_docview"
3471 if test "$no_cache" != 1; then
3472 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
3475 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
3476 echo "$ac_t""yes" 1>&6
3478 echo "$ac_t""no" 1>&6
3482 echo $ac_n "checking "for --enable-help"""... $ac_c" 1>&6
3483 echo "configure:3484: checking "for --enable-help"" >&5
3485 # Check whether --enable-help or --disable-help was given.
3486 if test "${enable_help+set}" = set; then
3487 enableval
="$enable_help"
3489 if test "$enableval" = yes; then
3490 ac_cv_use_help
='wxUSE_HELP=yes'
3492 ac_cv_use_help
='wxUSE_HELP=no'
3497 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
3498 if test "x$LINE" != x
; then
3499 eval "DEFAULT_$LINE"
3504 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
3509 eval "$ac_cv_use_help"
3510 if test "$no_cache" != 1; then
3511 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
3514 if test "$wxUSE_HELP" = yes; then
3515 echo "$ac_t""yes" 1>&6
3517 echo "$ac_t""no" 1>&6
3521 echo $ac_n "checking "for --enable-constraints"""... $ac_c" 1>&6
3522 echo "configure:3523: checking "for --enable-constraints"" >&5
3524 # Check whether --enable-constraints or --disable-constraints was given.
3525 if test "${enable_constraints+set}" = set; then
3526 enableval
="$enable_constraints"
3528 if test "$enableval" = yes; then
3529 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
3531 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
3536 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
3537 if test "x$LINE" != x
; then
3538 eval "DEFAULT_$LINE"
3543 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
3548 eval "$ac_cv_use_constraints"
3549 if test "$no_cache" != 1; then
3550 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
3553 if test "$wxUSE_CONSTRAINTS" = yes; then
3554 echo "$ac_t""yes" 1>&6
3556 echo "$ac_t""no" 1>&6
3560 echo $ac_n "checking "for --enable-printarch"""... $ac_c" 1>&6
3561 echo "configure:3562: checking "for --enable-printarch"" >&5
3563 # Check whether --enable-printarch or --disable-printarch was given.
3564 if test "${enable_printarch+set}" = set; then
3565 enableval
="$enable_printarch"
3567 if test "$enableval" = yes; then
3568 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
3570 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
3575 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
3576 if test "x$LINE" != x
; then
3577 eval "DEFAULT_$LINE"
3582 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
3587 eval "$ac_cv_use_printarch"
3588 if test "$no_cache" != 1; then
3589 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
3592 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
3593 echo "$ac_t""yes" 1>&6
3595 echo "$ac_t""no" 1>&6
3599 echo $ac_n "checking "for --enable-mdi"""... $ac_c" 1>&6
3600 echo "configure:3601: checking "for --enable-mdi"" >&5
3602 # Check whether --enable-mdi or --disable-mdi was given.
3603 if test "${enable_mdi+set}" = set; then
3604 enableval
="$enable_mdi"
3606 if test "$enableval" = yes; then
3607 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=yes'
3609 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=no'
3614 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
3615 if test "x$LINE" != x
; then
3616 eval "DEFAULT_$LINE"
3621 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
3626 eval "$ac_cv_use_mdi"
3627 if test "$no_cache" != 1; then
3628 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
3631 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
3632 echo "$ac_t""yes" 1>&6
3634 echo "$ac_t""no" 1>&6
3639 echo $ac_n "checking "for --enable-postscript"""... $ac_c" 1>&6
3640 echo "configure:3641: checking "for --enable-postscript"" >&5
3642 # Check whether --enable-postscript or --disable-postscript was given.
3643 if test "${enable_postscript+set}" = set; then
3644 enableval
="$enable_postscript"
3646 if test "$enableval" = yes; then
3647 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
3649 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
3654 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
3655 if test "x$LINE" != x
; then
3656 eval "DEFAULT_$LINE"
3661 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
3666 eval "$ac_cv_use_postscript"
3667 if test "$no_cache" != 1; then
3668 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
3671 if test "$wxUSE_POSTSCRIPT" = yes; then
3672 echo "$ac_t""yes" 1>&6
3674 echo "$ac_t""no" 1>&6
3680 echo $ac_n "checking "for --enable-prologio"""... $ac_c" 1>&6
3681 echo "configure:3682: checking "for --enable-prologio"" >&5
3683 # Check whether --enable-prologio or --disable-prologio was given.
3684 if test "${enable_prologio+set}" = set; then
3685 enableval
="$enable_prologio"
3687 if test "$enableval" = yes; then
3688 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
3690 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
3695 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
3696 if test "x$LINE" != x
; then
3697 eval "DEFAULT_$LINE"
3702 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
3707 eval "$ac_cv_use_prologio"
3708 if test "$no_cache" != 1; then
3709 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
3712 if test "$wxUSE_PROLOGIO" = yes; then
3713 echo "$ac_t""yes" 1>&6
3715 echo "$ac_t""no" 1>&6
3719 echo $ac_n "checking "for --enable-resources"""... $ac_c" 1>&6
3720 echo "configure:3721: checking "for --enable-resources"" >&5
3722 # Check whether --enable-resources or --disable-resources was given.
3723 if test "${enable_resources+set}" = set; then
3724 enableval
="$enable_resources"
3726 if test "$enableval" = yes; then
3727 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
3729 ac_cv_use_resources
='wxUSE_RESOURCES=no'
3734 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
3735 if test "x$LINE" != x
; then
3736 eval "DEFAULT_$LINE"
3741 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
3746 eval "$ac_cv_use_resources"
3747 if test "$no_cache" != 1; then
3748 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
3751 if test "$wxUSE_RESOURCES" = yes; then
3752 echo "$ac_t""yes" 1>&6
3754 echo "$ac_t""no" 1>&6
3759 echo $ac_n "checking "for --enable-xresources"""... $ac_c" 1>&6
3760 echo "configure:3761: checking "for --enable-xresources"" >&5
3762 # Check whether --enable-xresources or --disable-xresources was given.
3763 if test "${enable_xresources+set}" = set; then
3764 enableval
="$enable_xresources"
3766 if test "$enableval" = yes; then
3767 ac_cv_use_xresources
='wxUSE_X_RESOURCES=yes'
3769 ac_cv_use_xresources
='wxUSE_X_RESOURCES=no'
3774 LINE
=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
3775 if test "x$LINE" != x
; then
3776 eval "DEFAULT_$LINE"
3781 ac_cv_use_xresources
='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
3786 eval "$ac_cv_use_xresources"
3787 if test "$no_cache" != 1; then
3788 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
3791 if test "$wxUSE_X_RESOURCES" = yes; then
3792 echo "$ac_t""yes" 1>&6
3794 echo "$ac_t""no" 1>&6
3800 echo $ac_n "checking "for --enable-clipboard"""... $ac_c" 1>&6
3801 echo "configure:3802: checking "for --enable-clipboard"" >&5
3803 # Check whether --enable-clipboard or --disable-clipboard was given.
3804 if test "${enable_clipboard+set}" = set; then
3805 enableval
="$enable_clipboard"
3807 if test "$enableval" = yes; then
3808 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
3810 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
3815 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
3816 if test "x$LINE" != x
; then
3817 eval "DEFAULT_$LINE"
3822 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
3827 eval "$ac_cv_use_clipboard"
3828 if test "$no_cache" != 1; then
3829 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
3832 if test "$wxUSE_CLIPBOARD" = yes; then
3833 echo "$ac_t""yes" 1>&6
3835 echo "$ac_t""no" 1>&6
3839 echo $ac_n "checking "for --enable-dnd"""... $ac_c" 1>&6
3840 echo "configure:3841: checking "for --enable-dnd"" >&5
3842 # Check whether --enable-dnd or --disable-dnd was given.
3843 if test "${enable_dnd+set}" = set; then
3844 enableval
="$enable_dnd"
3846 if test "$enableval" = yes; then
3847 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
3849 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
3854 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
3855 if test "x$LINE" != x
; then
3856 eval "DEFAULT_$LINE"
3861 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
3866 eval "$ac_cv_use_dnd"
3867 if test "$no_cache" != 1; then
3868 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
3871 if test "$wxUSE_DRAG_AND_DROP" = yes; then
3872 echo "$ac_t""yes" 1>&6
3874 echo "$ac_t""no" 1>&6
3879 echo $ac_n "checking "for --enable-wxtree"""... $ac_c" 1>&6
3880 echo "configure:3881: checking "for --enable-wxtree"" >&5
3882 # Check whether --enable-wxtree or --disable-wxtree was given.
3883 if test "${enable_wxtree+set}" = set; then
3884 enableval
="$enable_wxtree"
3886 if test "$enableval" = yes; then
3887 ac_cv_use_wxtree
='wxUSE_WXTREE=yes'
3889 ac_cv_use_wxtree
='wxUSE_WXTREE=no'
3894 LINE
=`grep "wxUSE_WXTREE" ${wx_arg_cache_file}`
3895 if test "x$LINE" != x
; then
3896 eval "DEFAULT_$LINE"
3901 ac_cv_use_wxtree
='wxUSE_WXTREE='$DEFAULT_wxUSE_WXTREE
3906 eval "$ac_cv_use_wxtree"
3907 if test "$no_cache" != 1; then
3908 echo $ac_cv_use_wxtree >> ${wx_arg_cache_file}.tmp
3911 if test "$wxUSE_WXTREE" = yes; then
3912 echo "$ac_t""yes" 1>&6
3914 echo "$ac_t""no" 1>&6
3920 echo $ac_n "checking "for --enable-controls"""... $ac_c" 1>&6
3921 echo "configure:3922: checking "for --enable-controls"" >&5
3923 # Check whether --enable-controls or --disable-controls was given.
3924 if test "${enable_controls+set}" = set; then
3925 enableval
="$enable_controls"
3927 if test "$enableval" = yes; then
3928 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
3930 ac_cv_use_controls
='wxUSE_CONTROLS=no'
3935 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
3936 if test "x$LINE" != x
; then
3937 eval "DEFAULT_$LINE"
3942 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
3947 eval "$ac_cv_use_controls"
3948 if test "$no_cache" != 1; then
3949 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
3952 if test "$wxUSE_CONTROLS" = yes; then
3953 echo "$ac_t""yes" 1>&6
3955 echo "$ac_t""no" 1>&6
3959 if test "$wxUSE_CONTROLS" = "yes"; then
3960 DEFAULT_wxUSE_ACCEL
=yes
3961 DEFAULT_wxUSE_CARET
=yes
3962 DEFAULT_wxUSE_COMBOBOX
=yes
3963 DEFAULT_wxUSE_BMPBUTTON
=yes
3964 DEFAULT_wxUSE_CHECKBOX
=yes
3965 DEFAULT_wxUSE_CHECKLISTBOX
=yes
3966 DEFAULT_wxUSE_CHOICE
=yes
3967 DEFAULT_wxUSE_GAUGE
=yes
3968 DEFAULT_wxUSE_GRID
=yes
3969 DEFAULT_wxUSE_NEW_GRID
=yes
3970 DEFAULT_wxUSE_IMAGLIST
=yes
3971 DEFAULT_wxUSE_LISTBOX
=yes
3972 DEFAULT_wxUSE_LISTCTRL
=yes
3973 DEFAULT_wxUSE_NOTEBOOK
=yes
3974 DEFAULT_wxUSE_RADIOBOX
=yes
3975 DEFAULT_wxUSE_RADIOBTN
=yes
3976 DEFAULT_wxUSE_SASH
=yes
3977 DEFAULT_wxUSE_SCROLLBAR
=yes
3978 DEFAULT_wxUSE_SLIDER
=yes
3979 DEFAULT_wxUSE_SPINBTN
=yes
3980 DEFAULT_wxUSE_SPINCTRL
=yes
3981 DEFAULT_wxUSE_SPLITTER
=yes
3982 DEFAULT_wxUSE_STATBMP
=yes
3983 DEFAULT_wxUSE_STATBOX
=yes
3984 DEFAULT_wxUSE_STATLINE
=yes
3985 DEFAULT_wxUSE_STATUSBAR
=yes
3986 DEFAULT_wxUSE_TAB_DIALOG
=yes
3987 DEFAULT_wxUSE_TOOLBAR
=yes
3988 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
3989 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
3990 DEFAULT_wxUSE_TOOLTIPS
=yes
3991 DEFAULT_wxUSE_TREECTRL
=yes
3992 elif test "$wxUSE_CONTROLS" = "no"; then
3993 DEFAULT_wxUSE_ACCEL
=no
3994 DEFAULT_wxUSE_CARET
=no
3995 DEFAULT_wxUSE_COMBOBOX
=no
3996 DEFAULT_wxUSE_BMPBUTTON
=no
3997 DEFAULT_wxUSE_CHECKBOX
=no
3998 DEFAULT_wxUSE_CHECKLISTBOX
=no
3999 DEFAULT_wxUSE_CHOICE
=no
4000 DEFAULT_wxUSE_GAUGE
=no
4001 DEFAULT_wxUSE_GRID
=no
4002 DEFAULT_wxUSE_NEW_GRID
=no
4003 DEFAULT_wxUSE_IMAGLIST
=no
4004 DEFAULT_wxUSE_LISTBOX
=no
4005 DEFAULT_wxUSE_LISTCTRL
=no
4006 DEFAULT_wxUSE_NOTEBOOK
=no
4007 DEFAULT_wxUSE_RADIOBOX
=no
4008 DEFAULT_wxUSE_RADIOBTN
=no
4009 DEFAULT_wxUSE_SASH
=no
4010 DEFAULT_wxUSE_SCROLLBAR
=no
4011 DEFAULT_wxUSE_SLIDER
=no
4012 DEFAULT_wxUSE_SPINBTN
=no
4013 DEFAULT_wxUSE_SPINCTRL
=no
4014 DEFAULT_wxUSE_SPLITTER
=no
4015 DEFAULT_wxUSE_STATBMP
=no
4016 DEFAULT_wxUSE_STATBOX
=no
4017 DEFAULT_wxUSE_STATLINE
=no
4018 DEFAULT_wxUSE_STATUSBAR
=no
4019 DEFAULT_wxUSE_TAB_DIALOG
=no
4020 DEFAULT_wxUSE_TOOLBAR
=no
4021 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
4022 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
4023 DEFAULT_wxUSE_TOOLTIPS
=no
4024 DEFAULT_wxUSE_TREECTRL
=no
4028 echo $ac_n "checking "for --enable-accel"""... $ac_c" 1>&6
4029 echo "configure:4030: checking "for --enable-accel"" >&5
4031 # Check whether --enable-accel or --disable-accel was given.
4032 if test "${enable_accel+set}" = set; then
4033 enableval
="$enable_accel"
4035 if test "$enableval" = yes; then
4036 ac_cv_use_accel
='wxUSE_ACCEL=yes'
4038 ac_cv_use_accel
='wxUSE_ACCEL=no'
4043 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
4044 if test "x$LINE" != x
; then
4045 eval "DEFAULT_$LINE"
4050 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
4055 eval "$ac_cv_use_accel"
4056 if test "$no_cache" != 1; then
4057 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
4060 if test "$wxUSE_ACCEL" = yes; then
4061 echo "$ac_t""yes" 1>&6
4063 echo "$ac_t""no" 1>&6
4067 echo $ac_n "checking "for --enable-caret"""... $ac_c" 1>&6
4068 echo "configure:4069: checking "for --enable-caret"" >&5
4070 # Check whether --enable-caret or --disable-caret was given.
4071 if test "${enable_caret+set}" = set; then
4072 enableval
="$enable_caret"
4074 if test "$enableval" = yes; then
4075 ac_cv_use_caret
='wxUSE_CARET=yes'
4077 ac_cv_use_caret
='wxUSE_CARET=no'
4082 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
4083 if test "x$LINE" != x
; then
4084 eval "DEFAULT_$LINE"
4089 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
4094 eval "$ac_cv_use_caret"
4095 if test "$no_cache" != 1; then
4096 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
4099 if test "$wxUSE_CARET" = yes; then
4100 echo "$ac_t""yes" 1>&6
4102 echo "$ac_t""no" 1>&6
4106 echo $ac_n "checking "for --enable-bmpbutton"""... $ac_c" 1>&6
4107 echo "configure:4108: checking "for --enable-bmpbutton"" >&5
4109 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
4110 if test "${enable_bmpbutton+set}" = set; then
4111 enableval
="$enable_bmpbutton"
4113 if test "$enableval" = yes; then
4114 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
4116 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
4121 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
4122 if test "x$LINE" != x
; then
4123 eval "DEFAULT_$LINE"
4128 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
4133 eval "$ac_cv_use_bmpbutton"
4134 if test "$no_cache" != 1; then
4135 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
4138 if test "$wxUSE_BMPBUTTON" = yes; then
4139 echo "$ac_t""yes" 1>&6
4141 echo "$ac_t""no" 1>&6
4145 echo $ac_n "checking "for --enable-checkbox"""... $ac_c" 1>&6
4146 echo "configure:4147: checking "for --enable-checkbox"" >&5
4148 # Check whether --enable-checkbox or --disable-checkbox was given.
4149 if test "${enable_checkbox+set}" = set; then
4150 enableval
="$enable_checkbox"
4152 if test "$enableval" = yes; then
4153 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
4155 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
4160 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
4161 if test "x$LINE" != x
; then
4162 eval "DEFAULT_$LINE"
4167 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
4172 eval "$ac_cv_use_checkbox"
4173 if test "$no_cache" != 1; then
4174 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
4177 if test "$wxUSE_CHECKBOX" = yes; then
4178 echo "$ac_t""yes" 1>&6
4180 echo "$ac_t""no" 1>&6
4184 echo $ac_n "checking "for --enable-checklst"""... $ac_c" 1>&6
4185 echo "configure:4186: checking "for --enable-checklst"" >&5
4187 # Check whether --enable-checklst or --disable-checklst was given.
4188 if test "${enable_checklst+set}" = set; then
4189 enableval
="$enable_checklst"
4191 if test "$enableval" = yes; then
4192 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
4194 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
4199 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
4200 if test "x$LINE" != x
; then
4201 eval "DEFAULT_$LINE"
4206 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
4211 eval "$ac_cv_use_checklst"
4212 if test "$no_cache" != 1; then
4213 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
4216 if test "$wxUSE_CHECKLST" = yes; then
4217 echo "$ac_t""yes" 1>&6
4219 echo "$ac_t""no" 1>&6
4223 echo $ac_n "checking "for --enable-choice"""... $ac_c" 1>&6
4224 echo "configure:4225: checking "for --enable-choice"" >&5
4226 # Check whether --enable-choice or --disable-choice was given.
4227 if test "${enable_choice+set}" = set; then
4228 enableval
="$enable_choice"
4230 if test "$enableval" = yes; then
4231 ac_cv_use_choice
='wxUSE_CHOICE=yes'
4233 ac_cv_use_choice
='wxUSE_CHOICE=no'
4238 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
4239 if test "x$LINE" != x
; then
4240 eval "DEFAULT_$LINE"
4245 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
4250 eval "$ac_cv_use_choice"
4251 if test "$no_cache" != 1; then
4252 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
4255 if test "$wxUSE_CHOICE" = yes; then
4256 echo "$ac_t""yes" 1>&6
4258 echo "$ac_t""no" 1>&6
4262 echo $ac_n "checking "for --enable-combobox"""... $ac_c" 1>&6
4263 echo "configure:4264: checking "for --enable-combobox"" >&5
4265 # Check whether --enable-combobox or --disable-combobox was given.
4266 if test "${enable_combobox+set}" = set; then
4267 enableval
="$enable_combobox"
4269 if test "$enableval" = yes; then
4270 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
4272 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
4277 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
4278 if test "x$LINE" != x
; then
4279 eval "DEFAULT_$LINE"
4284 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
4289 eval "$ac_cv_use_combobox"
4290 if test "$no_cache" != 1; then
4291 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
4294 if test "$wxUSE_COMBOBOX" = yes; then
4295 echo "$ac_t""yes" 1>&6
4297 echo "$ac_t""no" 1>&6
4301 echo $ac_n "checking "for --enable-gauge"""... $ac_c" 1>&6
4302 echo "configure:4303: checking "for --enable-gauge"" >&5
4304 # Check whether --enable-gauge or --disable-gauge was given.
4305 if test "${enable_gauge+set}" = set; then
4306 enableval
="$enable_gauge"
4308 if test "$enableval" = yes; then
4309 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
4311 ac_cv_use_gauge
='wxUSE_GAUGE=no'
4316 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
4317 if test "x$LINE" != x
; then
4318 eval "DEFAULT_$LINE"
4323 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
4328 eval "$ac_cv_use_gauge"
4329 if test "$no_cache" != 1; then
4330 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
4333 if test "$wxUSE_GAUGE" = yes; then
4334 echo "$ac_t""yes" 1>&6
4336 echo "$ac_t""no" 1>&6
4340 echo $ac_n "checking "for --enable-grid"""... $ac_c" 1>&6
4341 echo "configure:4342: checking "for --enable-grid"" >&5
4343 # Check whether --enable-grid or --disable-grid was given.
4344 if test "${enable_grid+set}" = set; then
4345 enableval
="$enable_grid"
4347 if test "$enableval" = yes; then
4348 ac_cv_use_grid
='wxUSE_GRID=yes'
4350 ac_cv_use_grid
='wxUSE_GRID=no'
4355 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
4356 if test "x$LINE" != x
; then
4357 eval "DEFAULT_$LINE"
4362 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
4367 eval "$ac_cv_use_grid"
4368 if test "$no_cache" != 1; then
4369 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
4372 if test "$wxUSE_GRID" = yes; then
4373 echo "$ac_t""yes" 1>&6
4375 echo "$ac_t""no" 1>&6
4379 echo $ac_n "checking "for --enable-newgrid"""... $ac_c" 1>&6
4380 echo "configure:4381: checking "for --enable-newgrid"" >&5
4382 # Check whether --enable-newgrid or --disable-newgrid was given.
4383 if test "${enable_newgrid+set}" = set; then
4384 enableval
="$enable_newgrid"
4386 if test "$enableval" = yes; then
4387 ac_cv_use_newgrid
='wxUSE_NEW_GRID=yes'
4389 ac_cv_use_newgrid
='wxUSE_NEW_GRID=no'
4394 LINE
=`grep "wxUSE_NEW_GRID" ${wx_arg_cache_file}`
4395 if test "x$LINE" != x
; then
4396 eval "DEFAULT_$LINE"
4401 ac_cv_use_newgrid
='wxUSE_NEW_GRID='$DEFAULT_wxUSE_NEW_GRID
4406 eval "$ac_cv_use_newgrid"
4407 if test "$no_cache" != 1; then
4408 echo $ac_cv_use_newgrid >> ${wx_arg_cache_file}.tmp
4411 if test "$wxUSE_NEW_GRID" = yes; then
4412 echo "$ac_t""yes" 1>&6
4414 echo "$ac_t""no" 1>&6
4418 echo $ac_n "checking "for --enable-imaglist"""... $ac_c" 1>&6
4419 echo "configure:4420: checking "for --enable-imaglist"" >&5
4421 # Check whether --enable-imaglist or --disable-imaglist was given.
4422 if test "${enable_imaglist+set}" = set; then
4423 enableval
="$enable_imaglist"
4425 if test "$enableval" = yes; then
4426 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
4428 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
4433 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
4434 if test "x$LINE" != x
; then
4435 eval "DEFAULT_$LINE"
4440 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
4445 eval "$ac_cv_use_imaglist"
4446 if test "$no_cache" != 1; then
4447 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
4450 if test "$wxUSE_IMAGLIST" = yes; then
4451 echo "$ac_t""yes" 1>&6
4453 echo "$ac_t""no" 1>&6
4457 echo $ac_n "checking "for --enable-listbox"""... $ac_c" 1>&6
4458 echo "configure:4459: checking "for --enable-listbox"" >&5
4460 # Check whether --enable-listbox or --disable-listbox was given.
4461 if test "${enable_listbox+set}" = set; then
4462 enableval
="$enable_listbox"
4464 if test "$enableval" = yes; then
4465 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
4467 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
4472 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
4473 if test "x$LINE" != x
; then
4474 eval "DEFAULT_$LINE"
4479 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
4484 eval "$ac_cv_use_listbox"
4485 if test "$no_cache" != 1; then
4486 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
4489 if test "$wxUSE_LISTBOX" = yes; then
4490 echo "$ac_t""yes" 1>&6
4492 echo "$ac_t""no" 1>&6
4496 echo $ac_n "checking "for --enable-listctrl"""... $ac_c" 1>&6
4497 echo "configure:4498: checking "for --enable-listctrl"" >&5
4499 # Check whether --enable-listctrl or --disable-listctrl was given.
4500 if test "${enable_listctrl+set}" = set; then
4501 enableval
="$enable_listctrl"
4503 if test "$enableval" = yes; then
4504 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
4506 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
4511 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
4512 if test "x$LINE" != x
; then
4513 eval "DEFAULT_$LINE"
4518 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
4523 eval "$ac_cv_use_listctrl"
4524 if test "$no_cache" != 1; then
4525 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
4528 if test "$wxUSE_LISTCTRL" = yes; then
4529 echo "$ac_t""yes" 1>&6
4531 echo "$ac_t""no" 1>&6
4535 echo $ac_n "checking "for --enable-notebook"""... $ac_c" 1>&6
4536 echo "configure:4537: checking "for --enable-notebook"" >&5
4538 # Check whether --enable-notebook or --disable-notebook was given.
4539 if test "${enable_notebook+set}" = set; then
4540 enableval
="$enable_notebook"
4542 if test "$enableval" = yes; then
4543 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
4545 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
4550 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
4551 if test "x$LINE" != x
; then
4552 eval "DEFAULT_$LINE"
4557 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
4562 eval "$ac_cv_use_notebook"
4563 if test "$no_cache" != 1; then
4564 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
4567 if test "$wxUSE_NOTEBOOK" = yes; then
4568 echo "$ac_t""yes" 1>&6
4570 echo "$ac_t""no" 1>&6
4574 echo $ac_n "checking "for --enable-radiobox"""... $ac_c" 1>&6
4575 echo "configure:4576: checking "for --enable-radiobox"" >&5
4577 # Check whether --enable-radiobox or --disable-radiobox was given.
4578 if test "${enable_radiobox+set}" = set; then
4579 enableval
="$enable_radiobox"
4581 if test "$enableval" = yes; then
4582 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
4584 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
4589 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
4590 if test "x$LINE" != x
; then
4591 eval "DEFAULT_$LINE"
4596 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
4601 eval "$ac_cv_use_radiobox"
4602 if test "$no_cache" != 1; then
4603 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
4606 if test "$wxUSE_RADIOBOX" = yes; then
4607 echo "$ac_t""yes" 1>&6
4609 echo "$ac_t""no" 1>&6
4613 echo $ac_n "checking "for --enable-radiobtn"""... $ac_c" 1>&6
4614 echo "configure:4615: checking "for --enable-radiobtn"" >&5
4616 # Check whether --enable-radiobtn or --disable-radiobtn was given.
4617 if test "${enable_radiobtn+set}" = set; then
4618 enableval
="$enable_radiobtn"
4620 if test "$enableval" = yes; then
4621 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
4623 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
4628 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
4629 if test "x$LINE" != x
; then
4630 eval "DEFAULT_$LINE"
4635 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
4640 eval "$ac_cv_use_radiobtn"
4641 if test "$no_cache" != 1; then
4642 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
4645 if test "$wxUSE_RADIOBTN" = yes; then
4646 echo "$ac_t""yes" 1>&6
4648 echo "$ac_t""no" 1>&6
4652 echo $ac_n "checking "for --enable-sash"""... $ac_c" 1>&6
4653 echo "configure:4654: checking "for --enable-sash"" >&5
4655 # Check whether --enable-sash or --disable-sash was given.
4656 if test "${enable_sash+set}" = set; then
4657 enableval
="$enable_sash"
4659 if test "$enableval" = yes; then
4660 ac_cv_use_sash
='wxUSE_SASH=yes'
4662 ac_cv_use_sash
='wxUSE_SASH=no'
4667 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
4668 if test "x$LINE" != x
; then
4669 eval "DEFAULT_$LINE"
4674 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
4679 eval "$ac_cv_use_sash"
4680 if test "$no_cache" != 1; then
4681 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
4684 if test "$wxUSE_SASH" = yes; then
4685 echo "$ac_t""yes" 1>&6
4687 echo "$ac_t""no" 1>&6
4691 echo $ac_n "checking "for --enable-scrollbar"""... $ac_c" 1>&6
4692 echo "configure:4693: checking "for --enable-scrollbar"" >&5
4694 # Check whether --enable-scrollbar or --disable-scrollbar was given.
4695 if test "${enable_scrollbar+set}" = set; then
4696 enableval
="$enable_scrollbar"
4698 if test "$enableval" = yes; then
4699 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
4701 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
4706 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
4707 if test "x$LINE" != x
; then
4708 eval "DEFAULT_$LINE"
4713 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
4718 eval "$ac_cv_use_scrollbar"
4719 if test "$no_cache" != 1; then
4720 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
4723 if test "$wxUSE_SCROLLBAR" = yes; then
4724 echo "$ac_t""yes" 1>&6
4726 echo "$ac_t""no" 1>&6
4730 echo $ac_n "checking "for --enable-slider"""... $ac_c" 1>&6
4731 echo "configure:4732: checking "for --enable-slider"" >&5
4733 # Check whether --enable-slider or --disable-slider was given.
4734 if test "${enable_slider+set}" = set; then
4735 enableval
="$enable_slider"
4737 if test "$enableval" = yes; then
4738 ac_cv_use_slider
='wxUSE_SLIDER=yes'
4740 ac_cv_use_slider
='wxUSE_SLIDER=no'
4745 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
4746 if test "x$LINE" != x
; then
4747 eval "DEFAULT_$LINE"
4752 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
4757 eval "$ac_cv_use_slider"
4758 if test "$no_cache" != 1; then
4759 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
4762 if test "$wxUSE_SLIDER" = yes; then
4763 echo "$ac_t""yes" 1>&6
4765 echo "$ac_t""no" 1>&6
4769 echo $ac_n "checking "for --enable-spinbtn"""... $ac_c" 1>&6
4770 echo "configure:4771: checking "for --enable-spinbtn"" >&5
4772 # Check whether --enable-spinbtn or --disable-spinbtn was given.
4773 if test "${enable_spinbtn+set}" = set; then
4774 enableval
="$enable_spinbtn"
4776 if test "$enableval" = yes; then
4777 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
4779 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
4784 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
4785 if test "x$LINE" != x
; then
4786 eval "DEFAULT_$LINE"
4791 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
4796 eval "$ac_cv_use_spinbtn"
4797 if test "$no_cache" != 1; then
4798 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
4801 if test "$wxUSE_SPINBTN" = yes; then
4802 echo "$ac_t""yes" 1>&6
4804 echo "$ac_t""no" 1>&6
4808 echo $ac_n "checking "for --enable-spinctrl"""... $ac_c" 1>&6
4809 echo "configure:4810: checking "for --enable-spinctrl"" >&5
4811 # Check whether --enable-spinctrl or --disable-spinctrl was given.
4812 if test "${enable_spinctrl+set}" = set; then
4813 enableval
="$enable_spinctrl"
4815 if test "$enableval" = yes; then
4816 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
4818 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
4823 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
4824 if test "x$LINE" != x
; then
4825 eval "DEFAULT_$LINE"
4830 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
4835 eval "$ac_cv_use_spinctrl"
4836 if test "$no_cache" != 1; then
4837 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
4840 if test "$wxUSE_SPINCTRL" = yes; then
4841 echo "$ac_t""yes" 1>&6
4843 echo "$ac_t""no" 1>&6
4847 echo $ac_n "checking "for --enable-splitter"""... $ac_c" 1>&6
4848 echo "configure:4849: checking "for --enable-splitter"" >&5
4850 # Check whether --enable-splitter or --disable-splitter was given.
4851 if test "${enable_splitter+set}" = set; then
4852 enableval
="$enable_splitter"
4854 if test "$enableval" = yes; then
4855 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
4857 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
4862 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
4863 if test "x$LINE" != x
; then
4864 eval "DEFAULT_$LINE"
4869 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
4874 eval "$ac_cv_use_splitter"
4875 if test "$no_cache" != 1; then
4876 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
4879 if test "$wxUSE_SPLITTER" = yes; then
4880 echo "$ac_t""yes" 1>&6
4882 echo "$ac_t""no" 1>&6
4886 echo $ac_n "checking "for --enable-statbmp"""... $ac_c" 1>&6
4887 echo "configure:4888: checking "for --enable-statbmp"" >&5
4889 # Check whether --enable-statbmp or --disable-statbmp was given.
4890 if test "${enable_statbmp+set}" = set; then
4891 enableval
="$enable_statbmp"
4893 if test "$enableval" = yes; then
4894 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
4896 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
4901 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
4902 if test "x$LINE" != x
; then
4903 eval "DEFAULT_$LINE"
4908 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
4913 eval "$ac_cv_use_statbmp"
4914 if test "$no_cache" != 1; then
4915 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
4918 if test "$wxUSE_STATBMP" = yes; then
4919 echo "$ac_t""yes" 1>&6
4921 echo "$ac_t""no" 1>&6
4925 echo $ac_n "checking "for --enable-statbox"""... $ac_c" 1>&6
4926 echo "configure:4927: checking "for --enable-statbox"" >&5
4928 # Check whether --enable-statbox or --disable-statbox was given.
4929 if test "${enable_statbox+set}" = set; then
4930 enableval
="$enable_statbox"
4932 if test "$enableval" = yes; then
4933 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
4935 ac_cv_use_statbox
='wxUSE_STATBOX=no'
4940 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
4941 if test "x$LINE" != x
; then
4942 eval "DEFAULT_$LINE"
4947 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
4952 eval "$ac_cv_use_statbox"
4953 if test "$no_cache" != 1; then
4954 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
4957 if test "$wxUSE_STATBOX" = yes; then
4958 echo "$ac_t""yes" 1>&6
4960 echo "$ac_t""no" 1>&6
4964 echo $ac_n "checking "for --enable-statline"""... $ac_c" 1>&6
4965 echo "configure:4966: checking "for --enable-statline"" >&5
4967 # Check whether --enable-statline or --disable-statline was given.
4968 if test "${enable_statline+set}" = set; then
4969 enableval
="$enable_statline"
4971 if test "$enableval" = yes; then
4972 ac_cv_use_statline
='wxUSE_STATLINE=yes'
4974 ac_cv_use_statline
='wxUSE_STATLINE=no'
4979 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
4980 if test "x$LINE" != x
; then
4981 eval "DEFAULT_$LINE"
4986 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
4991 eval "$ac_cv_use_statline"
4992 if test "$no_cache" != 1; then
4993 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
4996 if test "$wxUSE_STATLINE" = yes; then
4997 echo "$ac_t""yes" 1>&6
4999 echo "$ac_t""no" 1>&6
5003 echo $ac_n "checking "for --enable-statusbar"""... $ac_c" 1>&6
5004 echo "configure:5005: checking "for --enable-statusbar"" >&5
5006 # Check whether --enable-statusbar or --disable-statusbar was given.
5007 if test "${enable_statusbar+set}" = set; then
5008 enableval
="$enable_statusbar"
5010 if test "$enableval" = yes; then
5011 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
5013 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
5018 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
5019 if test "x$LINE" != x
; then
5020 eval "DEFAULT_$LINE"
5025 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
5030 eval "$ac_cv_use_statusbar"
5031 if test "$no_cache" != 1; then
5032 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
5035 if test "$wxUSE_STATUSBAR" = yes; then
5036 echo "$ac_t""yes" 1>&6
5038 echo "$ac_t""no" 1>&6
5042 echo $ac_n "checking "for --enable-tabdialog"""... $ac_c" 1>&6
5043 echo "configure:5044: checking "for --enable-tabdialog"" >&5
5045 # Check whether --enable-tabdialog or --disable-tabdialog was given.
5046 if test "${enable_tabdialog+set}" = set; then
5047 enableval
="$enable_tabdialog"
5049 if test "$enableval" = yes; then
5050 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
5052 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
5057 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
5058 if test "x$LINE" != x
; then
5059 eval "DEFAULT_$LINE"
5064 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
5069 eval "$ac_cv_use_tabdialog"
5070 if test "$no_cache" != 1; then
5071 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
5074 if test "$wxUSE_TABDIALOG" = yes; then
5075 echo "$ac_t""yes" 1>&6
5077 echo "$ac_t""no" 1>&6
5081 echo $ac_n "checking "for --enable-toolbar"""... $ac_c" 1>&6
5082 echo "configure:5083: checking "for --enable-toolbar"" >&5
5084 # Check whether --enable-toolbar or --disable-toolbar was given.
5085 if test "${enable_toolbar+set}" = set; then
5086 enableval
="$enable_toolbar"
5088 if test "$enableval" = yes; then
5089 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
5091 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
5096 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
5097 if test "x$LINE" != x
; then
5098 eval "DEFAULT_$LINE"
5103 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
5108 eval "$ac_cv_use_toolbar"
5109 if test "$no_cache" != 1; then
5110 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
5113 if test "$wxUSE_TOOLBAR" = yes; then
5114 echo "$ac_t""yes" 1>&6
5116 echo "$ac_t""no" 1>&6
5120 echo $ac_n "checking "for --enable-tbarnative"""... $ac_c" 1>&6
5121 echo "configure:5122: checking "for --enable-tbarnative"" >&5
5123 # Check whether --enable-tbarnative or --disable-tbarnative was given.
5124 if test "${enable_tbarnative+set}" = set; then
5125 enableval
="$enable_tbarnative"
5127 if test "$enableval" = yes; then
5128 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
5130 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
5135 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
5136 if test "x$LINE" != x
; then
5137 eval "DEFAULT_$LINE"
5142 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
5147 eval "$ac_cv_use_tbarnative"
5148 if test "$no_cache" != 1; then
5149 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
5152 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
5153 echo "$ac_t""yes" 1>&6
5155 echo "$ac_t""no" 1>&6
5159 echo $ac_n "checking "for --enable-tbarsmpl"""... $ac_c" 1>&6
5160 echo "configure:5161: checking "for --enable-tbarsmpl"" >&5
5162 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
5163 if test "${enable_tbarsmpl+set}" = set; then
5164 enableval
="$enable_tbarsmpl"
5166 if test "$enableval" = yes; then
5167 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
5169 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
5174 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
5175 if test "x$LINE" != x
; then
5176 eval "DEFAULT_$LINE"
5181 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
5186 eval "$ac_cv_use_tbarsmpl"
5187 if test "$no_cache" != 1; then
5188 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
5191 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
5192 echo "$ac_t""yes" 1>&6
5194 echo "$ac_t""no" 1>&6
5198 echo $ac_n "checking "for --enable-treectrl"""... $ac_c" 1>&6
5199 echo "configure:5200: checking "for --enable-treectrl"" >&5
5201 # Check whether --enable-treectrl or --disable-treectrl was given.
5202 if test "${enable_treectrl+set}" = set; then
5203 enableval
="$enable_treectrl"
5205 if test "$enableval" = yes; then
5206 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
5208 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
5213 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
5214 if test "x$LINE" != x
; then
5215 eval "DEFAULT_$LINE"
5220 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
5225 eval "$ac_cv_use_treectrl"
5226 if test "$no_cache" != 1; then
5227 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
5230 if test "$wxUSE_TREECTRL" = yes; then
5231 echo "$ac_t""yes" 1>&6
5233 echo "$ac_t""no" 1>&6
5239 echo $ac_n "checking "for --enable-commondlg"""... $ac_c" 1>&6
5240 echo "configure:5241: checking "for --enable-commondlg"" >&5
5242 # Check whether --enable-commondlg or --disable-commondlg was given.
5243 if test "${enable_commondlg+set}" = set; then
5244 enableval
="$enable_commondlg"
5246 if test "$enableval" = yes; then
5247 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
5249 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
5254 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
5255 if test "x$LINE" != x
; then
5256 eval "DEFAULT_$LINE"
5261 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
5266 eval "$ac_cv_use_commondlg"
5267 if test "$no_cache" != 1; then
5268 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
5271 if test "$wxUSE_COMMONDLGS" = yes; then
5272 echo "$ac_t""yes" 1>&6
5274 echo "$ac_t""no" 1>&6
5278 echo $ac_n "checking "for --enable-dirdlg"""... $ac_c" 1>&6
5279 echo "configure:5280: checking "for --enable-dirdlg"" >&5
5281 # Check whether --enable-dirdlg or --disable-dirdlg was given.
5282 if test "${enable_dirdlg+set}" = set; then
5283 enableval
="$enable_dirdlg"
5285 if test "$enableval" = yes; then
5286 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
5288 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
5293 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
5294 if test "x$LINE" != x
; then
5295 eval "DEFAULT_$LINE"
5300 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
5305 eval "$ac_cv_use_dirdlg"
5306 if test "$no_cache" != 1; then
5307 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
5310 if test "$wxUSE_DIRDLG" = yes; then
5311 echo "$ac_t""yes" 1>&6
5313 echo "$ac_t""no" 1>&6
5317 echo $ac_n "checking "for --enable-textdlg"""... $ac_c" 1>&6
5318 echo "configure:5319: checking "for --enable-textdlg"" >&5
5320 # Check whether --enable-textdlg or --disable-textdlg was given.
5321 if test "${enable_textdlg+set}" = set; then
5322 enableval
="$enable_textdlg"
5324 if test "$enableval" = yes; then
5325 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
5327 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
5332 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
5333 if test "x$LINE" != x
; then
5334 eval "DEFAULT_$LINE"
5339 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
5344 eval "$ac_cv_use_textdlg"
5345 if test "$no_cache" != 1; then
5346 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
5349 if test "$wxUSE_TEXTDLG" = yes; then
5350 echo "$ac_t""yes" 1>&6
5352 echo "$ac_t""no" 1>&6
5356 echo $ac_n "checking "for --enable-tipdlg"""... $ac_c" 1>&6
5357 echo "configure:5358: checking "for --enable-tipdlg"" >&5
5359 # Check whether --enable-tipdlg or --disable-tipdlg was given.
5360 if test "${enable_tipdlg+set}" = set; then
5361 enableval
="$enable_tipdlg"
5363 if test "$enableval" = yes; then
5364 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
5366 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
5371 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
5372 if test "x$LINE" != x
; then
5373 eval "DEFAULT_$LINE"
5378 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
5383 eval "$ac_cv_use_tipdlg"
5384 if test "$no_cache" != 1; then
5385 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
5388 if test "$wxUSE_STARTUP_TIPS" = yes; then
5389 echo "$ac_t""yes" 1>&6
5391 echo "$ac_t""no" 1>&6
5395 echo $ac_n "checking "for --enable-progressdlg"""... $ac_c" 1>&6
5396 echo "configure:5397: checking "for --enable-progressdlg"" >&5
5398 # Check whether --enable-progressdlg or --disable-progressdlg was given.
5399 if test "${enable_progressdlg+set}" = set; then
5400 enableval
="$enable_progressdlg"
5402 if test "$enableval" = yes; then
5403 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
5405 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
5410 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
5411 if test "x$LINE" != x
; then
5412 eval "DEFAULT_$LINE"
5417 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
5422 eval "$ac_cv_use_progressdlg"
5423 if test "$no_cache" != 1; then
5424 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
5427 if test "$wxUSE_PROGRESSDLG" = yes; then
5428 echo "$ac_t""yes" 1>&6
5430 echo "$ac_t""no" 1>&6
5434 echo $ac_n "checking "for --enable-miniframe"""... $ac_c" 1>&6
5435 echo "configure:5436: checking "for --enable-miniframe"" >&5
5437 # Check whether --enable-miniframe or --disable-miniframe was given.
5438 if test "${enable_miniframe+set}" = set; then
5439 enableval
="$enable_miniframe"
5441 if test "$enableval" = yes; then
5442 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
5444 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
5449 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
5450 if test "x$LINE" != x
; then
5451 eval "DEFAULT_$LINE"
5456 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
5461 eval "$ac_cv_use_miniframe"
5462 if test "$no_cache" != 1; then
5463 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
5466 if test "$wxUSE_MINIFRAME" = yes; then
5467 echo "$ac_t""yes" 1>&6
5469 echo "$ac_t""no" 1>&6
5473 echo $ac_n "checking "for --enable-html"""... $ac_c" 1>&6
5474 echo "configure:5475: checking "for --enable-html"" >&5
5476 # Check whether --enable-html or --disable-html was given.
5477 if test "${enable_html+set}" = set; then
5478 enableval
="$enable_html"
5480 if test "$enableval" = yes; then
5481 ac_cv_use_html
='wxUSE_HTML=yes'
5483 ac_cv_use_html
='wxUSE_HTML=no'
5488 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
5489 if test "x$LINE" != x
; then
5490 eval "DEFAULT_$LINE"
5495 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
5500 eval "$ac_cv_use_html"
5501 if test "$no_cache" != 1; then
5502 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
5505 if test "$wxUSE_HTML" = yes; then
5506 echo "$ac_t""yes" 1>&6
5508 echo "$ac_t""no" 1>&6
5512 echo $ac_n "checking "for --enable-tooltips"""... $ac_c" 1>&6
5513 echo "configure:5514: checking "for --enable-tooltips"" >&5
5515 # Check whether --enable-tooltips or --disable-tooltips was given.
5516 if test "${enable_tooltips+set}" = set; then
5517 enableval
="$enable_tooltips"
5519 if test "$enableval" = yes; then
5520 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
5522 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
5527 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
5528 if test "x$LINE" != x
; then
5529 eval "DEFAULT_$LINE"
5534 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
5539 eval "$ac_cv_use_tooltips"
5540 if test "$no_cache" != 1; then
5541 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
5544 if test "$wxUSE_TOOLTIPS" = yes; then
5545 echo "$ac_t""yes" 1>&6
5547 echo "$ac_t""no" 1>&6
5551 echo $ac_n "checking "for --enable-splines"""... $ac_c" 1>&6
5552 echo "configure:5553: checking "for --enable-splines"" >&5
5554 # Check whether --enable-splines or --disable-splines was given.
5555 if test "${enable_splines+set}" = set; then
5556 enableval
="$enable_splines"
5558 if test "$enableval" = yes; then
5559 ac_cv_use_splines
='wxUSE_SPLINES=yes'
5561 ac_cv_use_splines
='wxUSE_SPLINES=no'
5566 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
5567 if test "x$LINE" != x
; then
5568 eval "DEFAULT_$LINE"
5573 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
5578 eval "$ac_cv_use_splines"
5579 if test "$no_cache" != 1; then
5580 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
5583 if test "$wxUSE_SPLINES" = yes; then
5584 echo "$ac_t""yes" 1>&6
5586 echo "$ac_t""no" 1>&6
5590 echo $ac_n "checking "for --enable-validators"""... $ac_c" 1>&6
5591 echo "configure:5592: checking "for --enable-validators"" >&5
5593 # Check whether --enable-validators or --disable-validators was given.
5594 if test "${enable_validators+set}" = set; then
5595 enableval
="$enable_validators"
5597 if test "$enableval" = yes; then
5598 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
5600 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
5605 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
5606 if test "x$LINE" != x
; then
5607 eval "DEFAULT_$LINE"
5612 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
5617 eval "$ac_cv_use_validators"
5618 if test "$no_cache" != 1; then
5619 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
5622 if test "$wxUSE_VALIDATORS" = yes; then
5623 echo "$ac_t""yes" 1>&6
5625 echo "$ac_t""no" 1>&6
5629 echo $ac_n "checking "for --enable-busyinfo"""... $ac_c" 1>&6
5630 echo "configure:5631: checking "for --enable-busyinfo"" >&5
5632 # Check whether --enable-busyinfo or --disable-busyinfo was given.
5633 if test "${enable_busyinfo+set}" = set; then
5634 enableval
="$enable_busyinfo"
5636 if test "$enableval" = yes; then
5637 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
5639 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
5644 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
5645 if test "x$LINE" != x
; then
5646 eval "DEFAULT_$LINE"
5651 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
5656 eval "$ac_cv_use_busyinfo"
5657 if test "$no_cache" != 1; then
5658 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
5661 if test "$wxUSE_BUSYINFO" = yes; then
5662 echo "$ac_t""yes" 1>&6
5664 echo "$ac_t""no" 1>&6
5668 echo $ac_n "checking "for --enable-plot"""... $ac_c" 1>&6
5669 echo "configure:5670: checking "for --enable-plot"" >&5
5671 # Check whether --enable-plot or --disable-plot was given.
5672 if test "${enable_plot+set}" = set; then
5673 enableval
="$enable_plot"
5675 if test "$enableval" = yes; then
5676 ac_cv_use_plot
='wxUSE_PLOT=yes'
5678 ac_cv_use_plot
='wxUSE_PLOT=no'
5683 LINE
=`grep "wxUSE_PLOT" ${wx_arg_cache_file}`
5684 if test "x$LINE" != x
; then
5685 eval "DEFAULT_$LINE"
5690 ac_cv_use_plot
='wxUSE_PLOT='$DEFAULT_wxUSE_PLOT
5695 eval "$ac_cv_use_plot"
5696 if test "$no_cache" != 1; then
5697 echo $ac_cv_use_plot >> ${wx_arg_cache_file}.tmp
5700 if test "$wxUSE_PLOT" = yes; then
5701 echo "$ac_t""yes" 1>&6
5703 echo "$ac_t""no" 1>&6
5709 echo $ac_n "checking "for --enable-gif"""... $ac_c" 1>&6
5710 echo "configure:5711: checking "for --enable-gif"" >&5
5712 # Check whether --enable-gif or --disable-gif was given.
5713 if test "${enable_gif+set}" = set; then
5714 enableval
="$enable_gif"
5716 if test "$enableval" = yes; then
5717 ac_cv_use_gif
='wxUSE_GIF=yes'
5719 ac_cv_use_gif
='wxUSE_GIF=no'
5724 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
5725 if test "x$LINE" != x
; then
5726 eval "DEFAULT_$LINE"
5731 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
5736 eval "$ac_cv_use_gif"
5737 if test "$no_cache" != 1; then
5738 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
5741 if test "$wxUSE_GIF" = yes; then
5742 echo "$ac_t""yes" 1>&6
5744 echo "$ac_t""no" 1>&6
5748 echo $ac_n "checking "for --enable-pcx"""... $ac_c" 1>&6
5749 echo "configure:5750: checking "for --enable-pcx"" >&5
5751 # Check whether --enable-pcx or --disable-pcx was given.
5752 if test "${enable_pcx+set}" = set; then
5753 enableval
="$enable_pcx"
5755 if test "$enableval" = yes; then
5756 ac_cv_use_pcx
='wxUSE_PCX=yes'
5758 ac_cv_use_pcx
='wxUSE_PCX=no'
5763 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
5764 if test "x$LINE" != x
; then
5765 eval "DEFAULT_$LINE"
5770 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
5775 eval "$ac_cv_use_pcx"
5776 if test "$no_cache" != 1; then
5777 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
5780 if test "$wxUSE_PCX" = yes; then
5781 echo "$ac_t""yes" 1>&6
5783 echo "$ac_t""no" 1>&6
5787 echo $ac_n "checking "for --enable-pnm"""... $ac_c" 1>&6
5788 echo "configure:5789: checking "for --enable-pnm"" >&5
5790 # Check whether --enable-pnm or --disable-pnm was given.
5791 if test "${enable_pnm+set}" = set; then
5792 enableval
="$enable_pnm"
5794 if test "$enableval" = yes; then
5795 ac_cv_use_pnm
='wxUSE_PNM=yes'
5797 ac_cv_use_pnm
='wxUSE_PNM=no'
5802 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
5803 if test "x$LINE" != x
; then
5804 eval "DEFAULT_$LINE"
5809 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
5814 eval "$ac_cv_use_pnm"
5815 if test "$no_cache" != 1; then
5816 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
5819 if test "$wxUSE_PNM" = yes; then
5820 echo "$ac_t""yes" 1>&6
5822 echo "$ac_t""no" 1>&6
5829 echo "saving argument cache $wx_arg_cache_file"
5830 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
5834 echo $ac_n "checking for toolkit""... $ac_c" 1>&6
5835 echo "configure:5836: checking for toolkit" >&5
5837 if test "$wxUSE_GUI" = "yes"; then
5839 if test "$USE_BEOS" = 1; then
5840 { echo "configure: error: BeOS GUI is not supported yet, use --disable-gui" 1>&2; exit 1; }
5843 if test "$TOOLKIT_GIVEN" = 1; then
5844 for toolkit
in `echo $ALL_TOOLKITS`; do
5846 eval "value=\$${var}"
5847 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
5850 for toolkit
in `echo $ALL_TOOLKITS`; do
5851 if test "$has_toolkit_in_cache" != 1; then
5852 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
5854 var
=DEFAULT_wxUSE_
$toolkit
5856 eval "wxUSE_$toolkit=\$${var}"
5860 NUM_TOOLKITS
=`expr ${wxUSE_GTK:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_WINE:-0} + ${wxUSE_MINGW:-0} + ${wxUSE_CYGWIN:-0}`
5864 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
5865 # PATH_IFS is autodetected by OS/2's configure (usually ';')
5874 case "$NUM_TOOLKITS" in
5878 { echo "configure: error: Please specify a toolkit - cannot determine the default for ${host}" 1>&2; exit 1; }
5881 { echo "configure: error: Please specify at most one toolkit (may be some are cached?)" 1>&2; exit 1; }
5884 for toolkit
in `echo $ALL_TOOLKITS`; do
5886 eval "value=\$${var}"
5887 if test "x$value" != x
; then
5888 cache_var
=CACHE_
$toolkit
5889 eval "cache=\$${cache_var}"
5890 if test "$cache" = 1; then
5891 echo "$var=$value" >> ${wx_arg_cache_file}
5893 if test "$value" = 1; then
5894 echo "$ac_t""`echo $toolkit | tr A-Z a-z`" 1>&6
5901 echo "$ac_t""base only" 1>&6
5905 cat > confcache
<<\EOF
5906 # This file is a shell script that caches the results of configure
5907 # tests run on this system so they can be shared between configure
5908 # scripts and configure runs. It is not useful on other systems.
5909 # If it contains results you don't want to keep, you may remove or edit it.
5911 # By default, configure uses ./config.cache as the cache file,
5912 # creating it if it does not exist already. You can give configure
5913 # the --cache-file=FILE option to use a different cache file; that is
5914 # what configure does when it calls configure scripts in
5915 # subdirectories, so they share the cache.
5916 # Giving --cache-file=/dev/null disables caching, for debugging configure.
5917 # config.status only pays attention to the cache file if you give it the
5918 # --recheck option to rerun configure.
5921 # The following way of writing the cache mishandles newlines in values,
5922 # but we know of no workaround that is simple, portable, and efficient.
5923 # So, don't put newlines in cache variables' values.
5924 # Ultrix sh set writes to stderr and can't be redirected directly,
5925 # and sets the high bit in the cache file unless we assign to the vars.
5927 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5929 # `set' does not quote correctly, so add quotes (double-quote substitution
5930 # turns \\\\ into \\, and sed turns \\ into \).
5932 -e "s/'/'\\\\''/g" \
5933 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
5936 # `set' quotes correctly as required by POSIX, so do not add quotes.
5937 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
5940 if cmp -s $cache_file confcache
; then
5943 if test -w $cache_file; then
5944 echo "updating cache $cache_file"
5945 cat confcache
> $cache_file
5947 echo "not updating unwritable cache $cache_file"
5953 if eval "test $host != $build"; then
5954 if eval "test $host_alias != NONE"; then
5958 RANLIB
=$host_alias-ranlib
5959 DLLTOOL
=$host_alias-dlltool
5962 STRIP
=$host_alias-strip
5966 # Extract the first word of "gcc", so it can be a program name with args.
5967 set dummy gcc
; ac_word
=$2
5968 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5969 echo "configure:5970: checking for $ac_word" >&5
5970 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
5971 echo $ac_n "(cached) $ac_c" 1>&6
5973 if test -n "$CC"; then
5974 ac_cv_prog_CC
="$CC" # Let the user override the test.
5976 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
5978 for ac_dir
in $ac_dummy; do
5979 test -z "$ac_dir" && ac_dir
=.
5980 if test -f $ac_dir/$ac_word; then
5989 if test -n "$CC"; then
5990 echo "$ac_t""$CC" 1>&6
5992 echo "$ac_t""no" 1>&6
5995 if test -z "$CC"; then
5996 # Extract the first word of "cc", so it can be a program name with args.
5997 set dummy cc
; ac_word
=$2
5998 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5999 echo "configure:6000: checking for $ac_word" >&5
6000 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
6001 echo $ac_n "(cached) $ac_c" 1>&6
6003 if test -n "$CC"; then
6004 ac_cv_prog_CC
="$CC" # Let the user override the test.
6006 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6009 for ac_dir
in $ac_dummy; do
6010 test -z "$ac_dir" && ac_dir
=.
6011 if test -f $ac_dir/$ac_word; then
6012 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
6013 ac_prog_rejected
=yes
6021 if test $ac_prog_rejected = yes; then
6022 # We found a bogon in the path, so make sure we never use it.
6023 set dummy
$ac_cv_prog_CC
6025 if test $# -gt 0; then
6026 # We chose a different compiler from the bogus one.
6027 # However, it has the same basename, so the bogon will be chosen
6028 # first if we set CC to just the basename; use the full file name.
6030 set dummy
"$ac_dir/$ac_word" "$@"
6038 if test -n "$CC"; then
6039 echo "$ac_t""$CC" 1>&6
6041 echo "$ac_t""no" 1>&6
6044 if test -z "$CC"; then
6045 case "`uname -s`" in
6047 # Extract the first word of "cl", so it can be a program name with args.
6048 set dummy cl
; ac_word
=$2
6049 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6050 echo "configure:6051: checking for $ac_word" >&5
6051 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
6052 echo $ac_n "(cached) $ac_c" 1>&6
6054 if test -n "$CC"; then
6055 ac_cv_prog_CC
="$CC" # Let the user override the test.
6057 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6059 for ac_dir
in $ac_dummy; do
6060 test -z "$ac_dir" && ac_dir
=.
6061 if test -f $ac_dir/$ac_word; then
6070 if test -n "$CC"; then
6071 echo "$ac_t""$CC" 1>&6
6073 echo "$ac_t""no" 1>&6
6078 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
6081 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
6082 echo "configure:6083: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
6085 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6086 ac_cpp
='$CPP $CPPFLAGS'
6087 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6088 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6089 cross_compiling
=$ac_cv_prog_cc_cross
6091 cat > conftest.
$ac_ext << EOF
6093 #line 6094 "configure"
6094 #include "confdefs.h"
6098 if { (eval echo configure
:6099: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6099 ac_cv_prog_cc_works
=yes
6100 # If we can't run a trivial program, we are probably using a cross compiler.
6101 if (.
/conftest
; exit) 2>/dev
/null
; then
6102 ac_cv_prog_cc_cross
=no
6104 ac_cv_prog_cc_cross
=yes
6107 echo "configure: failed program was:" >&5
6108 cat conftest.
$ac_ext >&5
6109 ac_cv_prog_cc_works
=no
6113 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6114 ac_cpp
='$CPP $CPPFLAGS'
6115 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6116 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6117 cross_compiling
=$ac_cv_prog_cc_cross
6119 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
6120 if test $ac_cv_prog_cc_works = no
; then
6121 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
6123 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
6124 echo "configure:6125: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
6125 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
6126 cross_compiling
=$ac_cv_prog_cc_cross
6128 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
6129 echo "configure:6130: checking whether we are using GNU C" >&5
6130 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
6131 echo $ac_n "(cached) $ac_c" 1>&6
6133 cat > conftest.c
<<EOF
6138 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:6139: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
6145 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
6147 if test $ac_cv_prog_gcc = yes; then
6153 ac_test_CFLAGS
="${CFLAGS+set}"
6154 ac_save_CFLAGS
="$CFLAGS"
6156 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
6157 echo "configure:6158: checking whether ${CC-cc} accepts -g" >&5
6158 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
6159 echo $ac_n "(cached) $ac_c" 1>&6
6161 echo 'void f(){}' > conftest.c
6162 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
6171 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
6172 if test "$ac_test_CFLAGS" = set; then
6173 CFLAGS
="$ac_save_CFLAGS"
6174 elif test $ac_cv_prog_cc_g = yes; then
6175 if test "$GCC" = yes; then
6181 if test "$GCC" = yes; then
6189 CFLAGS
=`echo "$CFLAGS" | sed 's/-g//g'`
6191 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
6192 echo "configure:6193: checking how to run the C preprocessor" >&5
6193 # On Suns, sometimes $CPP names a directory.
6194 if test -n "$CPP" && test -d "$CPP"; then
6197 if test -z "$CPP"; then
6198 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
6199 echo $ac_n "(cached) $ac_c" 1>&6
6201 # This must be in double quotes, not single quotes, because CPP may get
6202 # substituted into the Makefile and "${CC-cc}" will confuse make.
6204 # On the NeXT, cc -E runs the code through the compiler's parser,
6205 # not just through cpp.
6206 cat > conftest.
$ac_ext <<EOF
6207 #line 6208 "configure"
6208 #include "confdefs.h"
6212 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6213 { (eval echo configure
:6214: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6214 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6215 if test -z "$ac_err"; then
6219 echo "configure: failed program was:" >&5
6220 cat conftest.
$ac_ext >&5
6222 CPP
="${CC-cc} -E -traditional-cpp"
6223 cat > conftest.
$ac_ext <<EOF
6224 #line 6225 "configure"
6225 #include "confdefs.h"
6229 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6230 { (eval echo configure
:6231: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6231 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6232 if test -z "$ac_err"; then
6236 echo "configure: failed program was:" >&5
6237 cat conftest.
$ac_ext >&5
6239 CPP
="${CC-cc} -nologo -E"
6240 cat > conftest.
$ac_ext <<EOF
6241 #line 6242 "configure"
6242 #include "confdefs.h"
6246 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6247 { (eval echo configure
:6248: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6248 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6249 if test -z "$ac_err"; then
6253 echo "configure: failed program was:" >&5
6254 cat conftest.
$ac_ext >&5
6263 ac_cv_prog_CPP
="$CPP"
6265 CPP
="$ac_cv_prog_CPP"
6267 ac_cv_prog_CPP
="$CPP"
6269 echo "$ac_t""$CPP" 1>&6
6272 if test $ac_cv_prog_gcc = yes; then
6273 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
6274 echo "configure:6275: checking whether ${CC-cc} needs -traditional" >&5
6275 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
6276 echo $ac_n "(cached) $ac_c" 1>&6
6278 ac_pattern
="Autoconf.*'x'"
6279 cat > conftest.
$ac_ext <<EOF
6280 #line 6281 "configure"
6281 #include "confdefs.h"
6285 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6286 egrep "$ac_pattern" >/dev
/null
2>&1; then
6288 ac_cv_prog_gcc_traditional
=yes
6291 ac_cv_prog_gcc_traditional
=no
6296 if test $ac_cv_prog_gcc_traditional = no
; then
6297 cat > conftest.
$ac_ext <<EOF
6298 #line 6299 "configure"
6299 #include "confdefs.h"
6303 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6304 egrep "$ac_pattern" >/dev
/null
2>&1; then
6306 ac_cv_prog_gcc_traditional
=yes
6313 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
6314 if test $ac_cv_prog_gcc_traditional = yes; then
6315 CC
="$CC -traditional"
6322 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6323 ac_cpp
='$CXXCPP $CPPFLAGS'
6324 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6325 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6326 cross_compiling
=$ac_cv_prog_cxx_cross
6329 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++ cl
6331 # Extract the first word of "$ac_prog", so it can be a program name with args.
6332 set dummy
$ac_prog; ac_word
=$2
6333 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6334 echo "configure:6335: checking for $ac_word" >&5
6335 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
6336 echo $ac_n "(cached) $ac_c" 1>&6
6338 if test -n "$CXX"; then
6339 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
6341 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6343 for ac_dir
in $ac_dummy; do
6344 test -z "$ac_dir" && ac_dir
=.
6345 if test -f $ac_dir/$ac_word; then
6346 ac_cv_prog_CXX
="$ac_prog"
6353 CXX
="$ac_cv_prog_CXX"
6354 if test -n "$CXX"; then
6355 echo "$ac_t""$CXX" 1>&6
6357 echo "$ac_t""no" 1>&6
6360 test -n "$CXX" && break
6362 test -n "$CXX" || CXX
="gcc"
6365 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
6366 echo "configure:6367: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
6369 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6370 ac_cpp
='$CXXCPP $CPPFLAGS'
6371 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6372 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6373 cross_compiling
=$ac_cv_prog_cxx_cross
6375 cat > conftest.
$ac_ext << EOF
6377 #line 6378 "configure"
6378 #include "confdefs.h"
6380 int main(){return(0);}
6382 if { (eval echo configure
:6383: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6383 ac_cv_prog_cxx_works
=yes
6384 # If we can't run a trivial program, we are probably using a cross compiler.
6385 if (.
/conftest
; exit) 2>/dev
/null
; then
6386 ac_cv_prog_cxx_cross
=no
6388 ac_cv_prog_cxx_cross
=yes
6391 echo "configure: failed program was:" >&5
6392 cat conftest.
$ac_ext >&5
6393 ac_cv_prog_cxx_works
=no
6397 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6398 ac_cpp
='$CXXCPP $CPPFLAGS'
6399 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6400 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6401 cross_compiling
=$ac_cv_prog_cxx_cross
6403 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
6404 if test $ac_cv_prog_cxx_works = no
; then
6405 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
6407 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
6408 echo "configure:6409: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
6409 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
6410 cross_compiling
=$ac_cv_prog_cxx_cross
6412 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
6413 echo "configure:6414: checking whether we are using GNU C++" >&5
6414 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
6415 echo $ac_n "(cached) $ac_c" 1>&6
6417 cat > conftest.C
<<EOF
6422 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:6423: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
6429 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
6431 if test $ac_cv_prog_gxx = yes; then
6437 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
6438 ac_save_CXXFLAGS
="$CXXFLAGS"
6440 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
6441 echo "configure:6442: checking whether ${CXX-g++} accepts -g" >&5
6442 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
6443 echo $ac_n "(cached) $ac_c" 1>&6
6445 echo 'void f(){}' > conftest.cc
6446 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
6447 ac_cv_prog_cxx_g
=yes
6455 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
6456 if test "$ac_test_CXXFLAGS" = set; then
6457 CXXFLAGS
="$ac_save_CXXFLAGS"
6458 elif test $ac_cv_prog_cxx_g = yes; then
6459 if test "$GXX" = yes; then
6465 if test "$GXX" = yes; then
6473 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
6474 echo "configure:6475: checking how to run the C++ preprocessor" >&5
6475 if test -z "$CXXCPP"; then
6476 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
6477 echo $ac_n "(cached) $ac_c" 1>&6
6480 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6481 ac_cpp
='$CXXCPP $CPPFLAGS'
6482 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6483 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6484 cross_compiling
=$ac_cv_prog_cxx_cross
6485 CXXCPP
="${CXX-g++} -E"
6486 cat > conftest.
$ac_ext <<EOF
6487 #line 6488 "configure"
6488 #include "confdefs.h"
6491 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6492 { (eval echo configure
:6493: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6493 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6494 if test -z "$ac_err"; then
6498 echo "configure: failed program was:" >&5
6499 cat conftest.
$ac_ext >&5
6504 ac_cv_prog_CXXCPP
="$CXXCPP"
6506 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6507 ac_cpp
='$CXXCPP $CPPFLAGS'
6508 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6509 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6510 cross_compiling
=$ac_cv_prog_cxx_cross
6513 CXXCPP
="$ac_cv_prog_CXXCPP"
6514 echo "$ac_t""$CXXCPP" 1>&6
6517 CXXFLAGS
=`echo "$CXXFLAGS" | sed 's/-g//g'`
6520 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6521 ac_cpp
='$CPP $CPPFLAGS'
6522 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6523 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6524 cross_compiling
=$ac_cv_prog_cc_cross
6527 # Extract the first word of "ranlib", so it can be a program name with args.
6528 set dummy ranlib
; ac_word
=$2
6529 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6530 echo "configure:6531: checking for $ac_word" >&5
6531 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
6532 echo $ac_n "(cached) $ac_c" 1>&6
6534 if test -n "$RANLIB"; then
6535 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6537 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6539 for ac_dir
in $ac_dummy; do
6540 test -z "$ac_dir" && ac_dir
=.
6541 if test -f $ac_dir/$ac_word; then
6542 ac_cv_prog_RANLIB
="ranlib"
6547 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
6550 RANLIB
="$ac_cv_prog_RANLIB"
6551 if test -n "$RANLIB"; then
6552 echo "$ac_t""$RANLIB" 1>&6
6554 echo "$ac_t""no" 1>&6
6558 # Extract the first word of "ar", so it can be a program name with args.
6559 set dummy
ar; ac_word
=$2
6560 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6561 echo "configure:6562: checking for $ac_word" >&5
6562 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
6563 echo $ac_n "(cached) $ac_c" 1>&6
6565 if test -n "$AR"; then
6566 ac_cv_prog_AR
="$AR" # Let the user override the test.
6568 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6570 for ac_dir
in $ac_dummy; do
6571 test -z "$ac_dir" && ac_dir
=.
6572 if test -f $ac_dir/$ac_word; then
6578 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
6582 if test -n "$AR"; then
6583 echo "$ac_t""$AR" 1>&6
6585 echo "$ac_t""no" 1>&6
6589 # Find a good install program. We prefer a C program (faster),
6590 # so one script is as good as another. But avoid the broken or
6591 # incompatible versions:
6592 # SysV /etc/install, /usr/sbin/install
6593 # SunOS /usr/etc/install
6594 # IRIX /sbin/install
6596 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6597 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6598 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6599 # ./install, which can be erroneously created by make from ./install.sh.
6600 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
6601 echo "configure:6602: checking for a BSD compatible install" >&5
6602 if test -z "$INSTALL"; then
6603 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
6604 echo $ac_n "(cached) $ac_c" 1>&6
6606 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
6607 for ac_dir
in $PATH; do
6608 # Account for people who put trailing slashes in PATH elements.
6610 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
6612 # OSF1 and SCO ODT 3.0 have their own names for install.
6613 # Don't use installbsd from OSF since it installs stuff as root
6615 for ac_prog
in ginstall scoinst
install; do
6616 if test -f $ac_dir/$ac_prog; then
6617 if test $ac_prog = install &&
6618 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
6619 # AIX install. It has an incompatible calling convention.
6622 ac_cv_path_install
="$ac_dir/$ac_prog -c"
6633 if test "${ac_cv_path_install+set}" = set; then
6634 INSTALL
="$ac_cv_path_install"
6636 # As a last resort, use the slow shell script. We don't cache a
6637 # path for INSTALL within a source directory, because that will
6638 # break other packages using the cache if that directory is
6639 # removed, or if the path is relative.
6640 INSTALL
="$ac_install_sh"
6643 echo "$ac_t""$INSTALL" 1>&6
6645 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6646 # It thinks the first close brace ends the variable substitution.
6647 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
6649 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
6651 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
6654 # Extract the first word of "strip", so it can be a program name with args.
6655 set dummy strip
; ac_word
=$2
6656 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6657 echo "configure:6658: checking for $ac_word" >&5
6658 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
6659 echo $ac_n "(cached) $ac_c" 1>&6
6661 if test -n "$STRIP"; then
6662 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6664 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6666 for ac_dir
in $ac_dummy; do
6667 test -z "$ac_dir" && ac_dir
=.
6668 if test -f $ac_dir/$ac_word; then
6669 ac_cv_prog_STRIP
="strip"
6674 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
6677 STRIP
="$ac_cv_prog_STRIP"
6678 if test -n "$STRIP"; then
6679 echo "$ac_t""$STRIP" 1>&6
6681 echo "$ac_t""no" 1>&6
6685 echo $ac_n "checking "make for VPATH support
"""... $ac_c" 1>&6
6686 echo "configure:6687: checking "make for VPATH support
"" >&5
6687 cat - << EOF > confMake
6693 if test ! -d sub
; then
6696 echo dummy
> sub
/file
6697 ${MAKE-make} -f confMake VPATH
=sub
2> config.log
> /dev
/null
6699 rm -f sub
/file check final_file confMake
6701 if test "$RESULT" = 0; then
6702 echo "$ac_t""yes" 1>&6
6704 echo "$ac_t""no" 1>&6
6705 { echo "configure: error: You need a make-utility that is able to use the variable
6707 If your version of make does not support VPATH correctly" 1>&2; exit 1; }
6710 for ac_prog
in 'bison -y' byacc
6712 # Extract the first word of "$ac_prog", so it can be a program name with args.
6713 set dummy
$ac_prog; ac_word
=$2
6714 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6715 echo "configure:6716: checking for $ac_word" >&5
6716 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
6717 echo $ac_n "(cached) $ac_c" 1>&6
6719 if test -n "$YACC"; then
6720 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
6722 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6724 for ac_dir
in $ac_dummy; do
6725 test -z "$ac_dir" && ac_dir
=.
6726 if test -f $ac_dir/$ac_word; then
6727 ac_cv_prog_YACC
="$ac_prog"
6734 YACC
="$ac_cv_prog_YACC"
6735 if test -n "$YACC"; then
6736 echo "$ac_t""$YACC" 1>&6
6738 echo "$ac_t""no" 1>&6
6741 test -n "$YACC" && break
6743 test -n "$YACC" || YACC
="yacc"
6746 # Extract the first word of "flex", so it can be a program name with args.
6747 set dummy flex
; ac_word
=$2
6748 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6749 echo "configure:6750: checking for $ac_word" >&5
6750 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
6751 echo $ac_n "(cached) $ac_c" 1>&6
6753 if test -n "$LEX"; then
6754 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
6756 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6758 for ac_dir
in $ac_dummy; do
6759 test -z "$ac_dir" && ac_dir
=.
6760 if test -f $ac_dir/$ac_word; then
6761 ac_cv_prog_LEX
="flex"
6766 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
6769 LEX
="$ac_cv_prog_LEX"
6770 if test -n "$LEX"; then
6771 echo "$ac_t""$LEX" 1>&6
6773 echo "$ac_t""no" 1>&6
6776 if test -z "$LEXLIB"
6782 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
6783 echo "configure:6784: checking for yywrap in -l$ac_lib" >&5
6784 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
6785 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6786 echo $ac_n "(cached) $ac_c" 1>&6
6788 ac_save_LIBS
="$LIBS"
6789 LIBS
="-l$ac_lib $LIBS"
6790 cat > conftest.
$ac_ext <<EOF
6791 #line 6792 "configure"
6792 #include "confdefs.h"
6793 /* Override any gcc2 internal prototype to avoid an error. */
6794 /* We use char because int might match the return type of a gcc2
6795 builtin and then its argument prototype would still apply. */
6802 if { (eval echo configure
:6803: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6804 eval "ac_cv_lib_$ac_lib_var=yes"
6806 echo "configure: failed program was:" >&5
6807 cat conftest.
$ac_ext >&5
6809 eval "ac_cv_lib_$ac_lib_var=no"
6812 LIBS
="$ac_save_LIBS"
6815 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6816 echo "$ac_t""yes" 1>&6
6819 echo "$ac_t""no" 1>&6
6825 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
6826 echo "configure:6827: checking whether ln -s works" >&5
6827 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
6828 echo $ac_n "(cached) $ac_c" 1>&6
6831 if ln -s X conftestdata
2>/dev
/null
6834 ac_cv_prog_LN_S
="ln -s"
6839 LN_S
="$ac_cv_prog_LN_S"
6840 if test "$ac_cv_prog_LN_S" = "ln -s"; then
6841 echo "$ac_t""yes" 1>&6
6843 echo "$ac_t""no" 1>&6
6849 /usr/local/include \
6851 /usr/Motif-1.2/include \
6852 /usr/Motif-2.1/include \
6854 /usr/include/Motif1.2 \
6855 /opt/xpm/include/X11 \
6856 /opt/GBxpm/include/ \
6857 /opt/GBxpm/X11/include/ \
6859 /usr/Motif1.2/include \
6861 /usr/openwin/include \
6865 /usr/X11R6/include \
6866 /usr/X11R6.4/include \
6867 /usr/X11R5/include \
6868 /usr/X11R4/include \
6870 /usr/include/X11R6 \
6871 /usr/include/X11R5 \
6872 /usr/include/X11R4 \
6874 /usr/local/X11R6/include \
6875 /usr/local/X11R5/include \
6876 /usr/local/X11R4/include \
6878 /usr/local/include/X11R6 \
6879 /usr/local/include/X11R5 \
6880 /usr/local/include/X11R4 \
6884 /usr/local/X11/include \
6885 /usr/local/include/X11 \
6889 /usr/XFree86/include/X11 \
6891 X:/XFree86/include \
6892 X:/XFree86/include/X11 \
6895 /usr/local/include/gtk \
6897 /usr/local/include/glib \
6900 /usr/local/include/qt \
6902 /usr/include/windows \
6904 /usr/local/include/wine \
6906 /usr/unsupported/include \
6907 /usr/athena/include \
6908 /usr/local/x11r5/include \
6909 /usr/lpp/Xamples/include \
6911 /usr/openwin/share/include \
6915 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
6918 cat > confcache
<<\EOF
6919 # This file is a shell script that caches the results of configure
6920 # tests run on this system so they can be shared between configure
6921 # scripts and configure runs. It is not useful on other systems.
6922 # If it contains results you don't want to keep, you may remove or edit it.
6924 # By default, configure uses ./config.cache as the cache file,
6925 # creating it if it does not exist already. You can give configure
6926 # the --cache-file=FILE option to use a different cache file; that is
6927 # what configure does when it calls configure scripts in
6928 # subdirectories, so they share the cache.
6929 # Giving --cache-file=/dev/null disables caching, for debugging configure.
6930 # config.status only pays attention to the cache file if you give it the
6931 # --recheck option to rerun configure.
6934 # The following way of writing the cache mishandles newlines in values,
6935 # but we know of no workaround that is simple, portable, and efficient.
6936 # So, don't put newlines in cache variables' values.
6937 # Ultrix sh set writes to stderr and can't be redirected directly,
6938 # and sets the high bit in the cache file unless we assign to the vars.
6940 case `(ac_space=' '; set | grep ac_space) 2>&1` in
6942 # `set' does not quote correctly, so add quotes (double-quote substitution
6943 # turns \\\\ into \\, and sed turns \\ into \).
6945 -e "s/'/'\\\\''/g" \
6946 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
6949 # `set' quotes correctly as required by POSIX, so do not add quotes.
6950 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
6953 if cmp -s $cache_file confcache
; then
6956 if test -w $cache_file; then
6957 echo "updating cache $cache_file"
6958 cat confcache
> $cache_file
6960 echo "not updating unwritable cache $cache_file"
6969 if test "$wxUSE_GUI" = "yes"; then
6988 if test "$wxUSE_CYGWIN" = 1 || test "$wxUSE_MINGW" = 1 ; then
6989 if test "$cross_compiling" = "yes" ; then
6990 echo "configure: warning: Cross compiling --- skipping windows.h check" 1>&2
6992 echo $ac_n "checking for Windows headers""... $ac_c" 1>&6
6993 echo "configure:6994: checking for Windows headers" >&5
6996 for ac_dir
in $SEARCH_INCLUDE;
6998 if test -f "$ac_dir/windows.h"; then
6999 ac_find_includes
=$ac_dir
7004 if test "$ac_find_includes" != "" ; then
7005 echo "$ac_t""found $ac_find_includes" 1>&6
7006 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE -I$ac_find_includes"
7008 echo "$ac_t""no" 1>&6
7009 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
7013 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS msw"
7014 LIBS
="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -lcrtdll -ladvapi32 -lwsock32"
7016 if test "$wxUSE_MINGW" = 1; then
7017 LDFLAGS
="$LDFLAGS -mwindows"
7022 GUIOBJS
="\$(MSW_GUIOBJS)"
7023 GUIHEADERS
="\$(MSW_HEADERS)"
7024 COMMONOBJS
="\$(MSW_COMMONOBJS)"
7025 GENERICOBJS
="\$(MSW_GENERICOBJS)"
7030 if test "$wxUSE_GTK" = 1; then
7032 if test x
$gtk_config_exec_prefix != x
; then
7033 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
7034 if test x
${GTK_CONFIG+set} != xset
; then
7035 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
7038 if test x
$gtk_config_prefix != x
; then
7039 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
7040 if test x
${GTK_CONFIG+set} != xset
; then
7041 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
7045 # Extract the first word of "gtk-config", so it can be a program name with args.
7046 set dummy gtk
-config; ac_word
=$2
7047 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7048 echo "configure:7049: checking for $ac_word" >&5
7049 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
7050 echo $ac_n "(cached) $ac_c" 1>&6
7052 case "$GTK_CONFIG" in
7054 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
7057 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
7060 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7062 for ac_dir
in $ac_dummy; do
7063 test -z "$ac_dir" && ac_dir
=.
7064 if test -f $ac_dir/$ac_word; then
7065 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
7070 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
7074 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
7075 if test -n "$GTK_CONFIG"; then
7076 echo "$ac_t""$GTK_CONFIG" 1>&6
7078 echo "$ac_t""no" 1>&6
7081 min_gtk_version
=1.2.3
7082 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
7083 echo "configure:7084: checking for GTK - version >= $min_gtk_version" >&5
7085 if test "$GTK_CONFIG" != "no" ; then
7086 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
7087 GTK_LIBS
=`$GTK_CONFIG --libs gthread`
7088 ac_save_CFLAGS
="$CFLAGS"
7089 ac_save_LIBS
="$LIBS"
7090 CFLAGS
="$CFLAGS $GTK_CFLAGS"
7091 LIBS
="$LIBS $GTK_LIBS"
7092 if test "$cross_compiling" = yes; then
7093 echo $ac_n "cross compiling; assumed OK... $ac_c"
7095 cat > conftest.
$ac_ext <<EOF
7096 #line 7097 "configure"
7097 #include "confdefs.h"
7099 #include <gtk/gtk.h>
7100 #include <gtk/gtkfeatures.h>
7106 int major, minor, micro;
7108 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
7109 printf("%s, bad version string\n", "$min_gtk_version");
7113 if ((GTK_MAJOR_VERSION != gtk_major_version) ||
7114 (GTK_MINOR_VERSION != gtk_minor_version) ||
7115 (GTK_MICRO_VERSION != gtk_micro_version)) {
7116 printf("Headers vs. library version mismatch!\n");
7120 if (gtk_minor_version == 1) return FALSE;
7122 return !((gtk_major_version > major) ||
7123 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
7124 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
7128 if { (eval echo configure
:7129: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
7132 echo "configure: failed program was:" >&5
7133 cat conftest.
$ac_ext >&5
7140 CFLAGS
="$ac_save_CFLAGS"
7141 LIBS
="$ac_save_LIBS"
7145 if test "x$no_gtk" = x
; then
7146 echo "$ac_t""yes" 1>&6
7149 echo "$ac_t""no" 1>&6
7158 if test "$WXGTK12" != 1; then
7159 { echo "configure: error:
7160 Please check that gtk-config is in path, the directory
7161 where GTK+ libraries are installed (returned by
7162 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
7163 equivalent variable and GTK+ is version 1.2.3 or above.
7168 TOOLKIT_INCLUDE
="$GTK_CFLAGS"
7171 GUI_TK_LIBRARY
="$GTK_LIBS"
7175 AFMINSTALL
=afminstall
7177 GUIOBJS
="\$(GTK_GUIOBJS)"
7178 GUIHEADERS
="\$(GTK_HEADERS)"
7179 COMMONOBJS
="\$(GTK_COMMONOBJS)"
7180 GENERICOBJS
="\$(GTK_GENERICOBJS)"
7181 GUIDEPS
="\$(GTK_GUIDEPS)"
7182 COMMONDEPS
="\$(GTK_COMMONDEPS)"
7183 GENERICDEPS
="\$(GTK_GENERICDEPS)"
7184 UNIXOBJS
="\$(UNIX_OBJS)"
7185 UNIXDEPS
="\$(UNIX_DEPS)"
7188 echo $ac_n "checking for gdk_im_open in -lgdk""... $ac_c" 1>&6
7189 echo "configure:7190: checking for gdk_im_open in -lgdk" >&5
7190 ac_lib_var
=`echo gdk'_'gdk_im_open | sed 'y%./+-%__p_%'`
7191 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7192 echo $ac_n "(cached) $ac_c" 1>&6
7194 ac_save_LIBS
="$LIBS"
7196 cat > conftest.
$ac_ext <<EOF
7197 #line 7198 "configure"
7198 #include "confdefs.h"
7199 /* Override any gcc2 internal prototype to avoid an error. */
7200 /* We use char because int might match the return type of a gcc2
7201 builtin and then its argument prototype would still apply. */
7208 if { (eval echo configure
:7209: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7210 eval "ac_cv_lib_$ac_lib_var=yes"
7212 echo "configure: failed program was:" >&5
7213 cat conftest.
$ac_ext >&5
7215 eval "ac_cv_lib_$ac_lib_var=no"
7218 LIBS
="$ac_save_LIBS"
7221 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7222 echo "$ac_t""yes" 1>&6
7223 cat >> confdefs.h
<<\EOF
7228 echo "$ac_t""no" 1>&6
7233 if test "$wxUSE_WINE" = 1; then
7234 echo $ac_n "checking for WINE includes""... $ac_c" 1>&6
7235 echo "configure:7236: checking for WINE includes" >&5
7238 for ac_dir
in $SEARCH_INCLUDE;
7240 if test -f "$ac_dir/windows.h"; then
7241 ac_find_includes
=$ac_dir
7246 if test "$ac_find_includes" != "" ; then
7247 echo "$ac_t""found $ac_find_includes" 1>&6
7248 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE -I$ac_find_includes"
7250 echo "$ac_t""no" 1>&6
7251 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
7255 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
7256 echo "configure:7257: checking for Xpm library" >&5
7259 for ac_dir
in $SEARCH_LIB;
7261 for ac_extension
in a so sl
; do
7262 if test -f "$ac_dir/libXpm.$ac_extension"; then
7263 ac_find_libraries
=$ac_dir
7269 if test "$ac_find_libraries" != "" ; then
7270 GUI_TK_LIBRARY
="-L$ac_find_libraries"
7272 cat >> confdefs.h
<<\EOF
7273 #define wxHAVE_LIB_XPM 1
7276 echo "$ac_t""found at $ac_find_libraries" 1>&6
7278 echo "$ac_t""no" 1>&6
7279 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
7283 echo $ac_n "checking for Mesa library""... $ac_c" 1>&6
7284 echo "configure:7285: checking for Mesa library" >&5
7287 for ac_dir
in $SEARCH_LIB;
7289 for ac_extension
in a so sl
; do
7290 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
7291 ac_find_libraries
=$ac_dir
7297 if test "$ac_find_libraries" != "" ; then
7298 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -L$ac_find_libraries"
7299 MESA_LINK
="-lMesaGL"
7300 echo "$ac_t""found at $ac_find_libraries" 1>&6
7302 { echo "configure: error: no" 1>&2; exit 1; }
7305 GUI_TK_LINK
="-lwine $MESA_LINK $XPM_LINK -lXxf86dga -lXxf86vm -lSM -lICE -lXext -lXmu -lX11 -lncurses -lm"
7306 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GUI_TK_LINK"
7310 GUIHEADERS
="\$(MSW_HEADERS)"
7311 GUIOBJS
="\$(MSW_GUIOBJS)"
7312 COMMONOBJS
="\$(MSW_COMMONOBJS)"
7313 GENERICOBJS
="\$(MSW_GENERICOBJS)"
7314 GUIDEPS
="\$(MSW_GUIDEPS)"
7315 COMMONDEPS
="\$(MSW_COMMONDEPS)"
7316 GENERICDEPS
="\$(MSW_GENERICDEPS)"
7317 UNIXOBJS
="\$(UNIX_OBJS)"
7318 UNIXDEPS
="\$(UNIX_DEPS)"
7322 if test "$wxUSE_MOTIF" = 1; then
7323 # If we find X, set shell vars x_includes and x_libraries to the
7324 # paths, otherwise set no_x=yes.
7325 # Uses ac_ vars as temps to allow command line to override cache and checks.
7326 # --without-x overrides everything else, but does not touch the cache.
7327 echo $ac_n "checking for X""... $ac_c" 1>&6
7328 echo "configure:7329: checking for X" >&5
7330 # Check whether --with-x or --without-x was given.
7331 if test "${with_x+set}" = set; then
7336 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
7337 if test "x$with_x" = xno
; then
7338 # The user explicitly disabled X.
7341 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
7342 # Both variables are already set.
7345 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
7346 echo $ac_n "(cached) $ac_c" 1>&6
7348 # One or both of the vars are not set, and there is no cached value.
7349 ac_x_includes
=NO ac_x_libraries
=NO
7351 if mkdir conftestdir
; then
7353 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
7354 cat > Imakefile
<<'EOF'
7356 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
7358 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
7359 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
7360 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
7361 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
7362 for ac_extension
in a so sl
; do
7363 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
7364 test -f $ac_im_libdir/libX11.
$ac_extension; then
7365 ac_im_usrlibdir
=$ac_im_libdir; break
7368 # Screen out bogus values from the imake configuration. They are
7369 # bogus both because they are the default anyway, and because
7370 # using them would break gcc on systems where it needs fixed includes.
7371 case "$ac_im_incroot" in
7373 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;;
7375 case "$ac_im_usrlibdir" in
7377 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;;
7384 if test "$ac_x_includes" = NO
; then
7385 # Guess where to find include files, by looking for this one X11 .h file.
7386 test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
7388 # First, try using that file with no special directory specified.
7389 cat > conftest.
$ac_ext <<EOF
7390 #line 7391 "configure"
7391 #include "confdefs.h"
7392 #include <$x_direct_test_include>
7394 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7395 { (eval echo configure
:7396: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7396 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7397 if test -z "$ac_err"; then
7399 # We can compile using X headers with no special include directory.
7403 echo "configure: failed program was:" >&5
7404 cat conftest.
$ac_ext >&5
7406 # Look for the header file in a standard set of common directories.
7407 # Check X11 before X11Rn because it is often a symlink to the current release.
7410 /usr
/X
11R
6/include \
7411 /usr
/X
11R
5/include \
7412 /usr
/X
11R
4/include \
7415 /usr
/include
/X11R6 \
7416 /usr
/include
/X11R5 \
7417 /usr
/include
/X11R4 \
7419 /usr
/local
/X
11/include \
7420 /usr
/local
/X
11R
6/include \
7421 /usr
/local
/X
11R
5/include \
7422 /usr
/local
/X
11R
4/include \
7424 /usr
/local
/include
/X11 \
7425 /usr
/local
/include
/X11R6 \
7426 /usr
/local
/include
/X11R5 \
7427 /usr
/local
/include
/X11R4 \
7431 /usr
/XFree
86/include
/X11 \
7434 /usr
/local
/include \
7435 /usr
/unsupported
/include \
7436 /usr
/athena
/include \
7437 /usr
/local
/x
11r
5/include \
7438 /usr
/lpp
/Xamples
/include \
7440 /usr
/openwin
/include \
7441 /usr
/openwin
/share
/include \
7444 if test -r "$ac_dir/$x_direct_test_include"; then
7445 ac_x_includes
=$ac_dir
7451 fi # $ac_x_includes = NO
7453 if test "$ac_x_libraries" = NO
; then
7454 # Check for the libraries.
7456 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
7457 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
7459 # See if we find them without any special options.
7460 # Don't add to $LIBS permanently.
7461 ac_save_LIBS
="$LIBS"
7462 LIBS
="-l$x_direct_test_library $LIBS"
7463 cat > conftest.
$ac_ext <<EOF
7464 #line 7465 "configure"
7465 #include "confdefs.h"
7468 ${x_direct_test_function}()
7471 if { (eval echo configure
:7472: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7473 LIBS
="$ac_save_LIBS"
7474 # We can link X programs with no special library path.
7477 echo "configure: failed program was:" >&5
7478 cat conftest.
$ac_ext >&5
7480 LIBS
="$ac_save_LIBS"
7481 # First see if replacing the include by lib works.
7482 # Check X11 before X11Rn because it is often a symlink to the current release.
7483 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib/` \
7494 /usr
/local
/X
11/lib \
7495 /usr
/local
/X
11R
6/lib \
7496 /usr
/local
/X
11R
5/lib \
7497 /usr
/local
/X
11R
4/lib \
7499 /usr
/local
/lib
/X11 \
7500 /usr
/local
/lib
/X11R6 \
7501 /usr
/local
/lib
/X11R5 \
7502 /usr
/local
/lib
/X11R4 \
7506 /usr
/XFree
86/lib
/X11 \
7510 /usr
/unsupported
/lib \
7512 /usr
/local
/x
11r
5/lib \
7513 /usr
/lpp
/Xamples
/lib \
7517 /usr
/openwin
/share
/lib \
7520 for ac_extension
in a so sl
; do
7521 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
7522 ac_x_libraries
=$ac_dir
7529 fi # $ac_x_libraries = NO
7531 if test "$ac_x_includes" = NO
|| test "$ac_x_libraries" = NO
; then
7532 # Didn't find X anywhere. Cache the known absence of X.
7533 ac_cv_have_x
="have_x=no"
7535 # Record where we found X for the cache.
7536 ac_cv_have_x
="have_x=yes \
7537 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
7541 eval "$ac_cv_have_x"
7544 if test "$have_x" != yes; then
7545 echo "$ac_t""$have_x" 1>&6
7548 # If each of the values was on the command line, it overrides each guess.
7549 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
7550 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
7551 # Update the cache value to reflect the command line values.
7552 ac_cv_have_x
="have_x=yes \
7553 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
7554 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
7557 if test "$no_x" = yes; then
7558 # Not all programs may use this symbol, but it does not hurt to define it.
7559 cat >> confdefs.h
<<\EOF
7560 #define X_DISPLAY_MISSING 1
7563 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
7565 if test -n "$x_includes"; then
7566 X_CFLAGS
="$X_CFLAGS -I$x_includes"
7569 # It would also be nice to do this for all -L options, not just this one.
7570 if test -n "$x_libraries"; then
7571 X_LIBS
="$X_LIBS -L$x_libraries"
7572 # For Solaris; some versions of Sun CC require a space after -R and
7573 # others require no space. Words are not sufficient . . . .
7574 case "`(uname -sr) 2>/dev/null`" in
7576 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
7577 echo "configure:7578: checking whether -R must be followed by a space" >&5
7578 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
7579 cat > conftest.
$ac_ext <<EOF
7580 #line 7581 "configure"
7581 #include "confdefs.h"
7587 if { (eval echo configure
:7588: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7591 echo "configure: failed program was:" >&5
7592 cat conftest.
$ac_ext >&5
7597 if test $ac_R_nospace = yes; then
7598 echo "$ac_t""no" 1>&6
7599 X_LIBS
="$X_LIBS -R$x_libraries"
7601 LIBS
="$ac_xsave_LIBS -R $x_libraries"
7602 cat > conftest.
$ac_ext <<EOF
7603 #line 7604 "configure"
7604 #include "confdefs.h"
7610 if { (eval echo configure
:7611: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7614 echo "configure: failed program was:" >&5
7615 cat conftest.
$ac_ext >&5
7620 if test $ac_R_space = yes; then
7621 echo "$ac_t""yes" 1>&6
7622 X_LIBS
="$X_LIBS -R $x_libraries"
7624 echo "$ac_t""neither works" 1>&6
7627 LIBS
="$ac_xsave_LIBS"
7631 # Check for system-dependent libraries X programs must link with.
7632 # Do this before checking for the system-independent R6 libraries
7633 # (-lICE), since we may need -lsocket or whatever for X linking.
7635 if test "$ISC" = yes; then
7636 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
7638 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
7639 # libraries were built with DECnet support. And karl@cs.umb.edu says
7640 # the Alpha needs dnet_stub (dnet does not exist).
7641 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
7642 echo "configure:7643: checking for dnet_ntoa in -ldnet" >&5
7643 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
7644 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7645 echo $ac_n "(cached) $ac_c" 1>&6
7647 ac_save_LIBS
="$LIBS"
7649 cat > conftest.
$ac_ext <<EOF
7650 #line 7651 "configure"
7651 #include "confdefs.h"
7652 /* Override any gcc2 internal prototype to avoid an error. */
7653 /* We use char because int might match the return type of a gcc2
7654 builtin and then its argument prototype would still apply. */
7661 if { (eval echo configure
:7662: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7663 eval "ac_cv_lib_$ac_lib_var=yes"
7665 echo "configure: failed program was:" >&5
7666 cat conftest.
$ac_ext >&5
7668 eval "ac_cv_lib_$ac_lib_var=no"
7671 LIBS
="$ac_save_LIBS"
7674 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7675 echo "$ac_t""yes" 1>&6
7676 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
7678 echo "$ac_t""no" 1>&6
7681 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
7682 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
7683 echo "configure:7684: checking for dnet_ntoa in -ldnet_stub" >&5
7684 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
7685 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7686 echo $ac_n "(cached) $ac_c" 1>&6
7688 ac_save_LIBS
="$LIBS"
7689 LIBS
="-ldnet_stub $LIBS"
7690 cat > conftest.
$ac_ext <<EOF
7691 #line 7692 "configure"
7692 #include "confdefs.h"
7693 /* Override any gcc2 internal prototype to avoid an error. */
7694 /* We use char because int might match the return type of a gcc2
7695 builtin and then its argument prototype would still apply. */
7702 if { (eval echo configure
:7703: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7704 eval "ac_cv_lib_$ac_lib_var=yes"
7706 echo "configure: failed program was:" >&5
7707 cat conftest.
$ac_ext >&5
7709 eval "ac_cv_lib_$ac_lib_var=no"
7712 LIBS
="$ac_save_LIBS"
7715 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7716 echo "$ac_t""yes" 1>&6
7717 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
7719 echo "$ac_t""no" 1>&6
7724 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
7725 # to get the SysV transport functions.
7726 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
7728 # The nsl library prevents programs from opening the X display
7729 # on Irix 5.2, according to dickey@clark.net.
7730 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
7731 echo "configure:7732: checking for gethostbyname" >&5
7732 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
7733 echo $ac_n "(cached) $ac_c" 1>&6
7735 cat > conftest.
$ac_ext <<EOF
7736 #line 7737 "configure"
7737 #include "confdefs.h"
7738 /* System header to define __stub macros and hopefully few prototypes,
7739 which can conflict with char gethostbyname(); below. */
7741 /* Override any gcc2 internal prototype to avoid an error. */
7742 /* We use char because int might match the return type of a gcc2
7743 builtin and then its argument prototype would still apply. */
7744 char gethostbyname();
7748 /* The GNU C library defines this for functions which it implements
7749 to always fail with ENOSYS. Some functions are actually named
7750 something starting with __ and the normal name is an alias. */
7751 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
7759 if { (eval echo configure
:7760: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7761 eval "ac_cv_func_gethostbyname=yes"
7763 echo "configure: failed program was:" >&5
7764 cat conftest.
$ac_ext >&5
7766 eval "ac_cv_func_gethostbyname=no"
7771 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
7772 echo "$ac_t""yes" 1>&6
7775 echo "$ac_t""no" 1>&6
7778 if test $ac_cv_func_gethostbyname = no
; then
7779 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
7780 echo "configure:7781: checking for gethostbyname in -lnsl" >&5
7781 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
7782 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7783 echo $ac_n "(cached) $ac_c" 1>&6
7785 ac_save_LIBS
="$LIBS"
7787 cat > conftest.
$ac_ext <<EOF
7788 #line 7789 "configure"
7789 #include "confdefs.h"
7790 /* Override any gcc2 internal prototype to avoid an error. */
7791 /* We use char because int might match the return type of a gcc2
7792 builtin and then its argument prototype would still apply. */
7793 char gethostbyname();
7799 if { (eval echo configure
:7800: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7801 eval "ac_cv_lib_$ac_lib_var=yes"
7803 echo "configure: failed program was:" >&5
7804 cat conftest.
$ac_ext >&5
7806 eval "ac_cv_lib_$ac_lib_var=no"
7809 LIBS
="$ac_save_LIBS"
7812 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7813 echo "$ac_t""yes" 1>&6
7814 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
7816 echo "$ac_t""no" 1>&6
7821 # lieder@skyler.mavd.honeywell.com says without -lsocket,
7822 # socket/setsockopt and other routines are undefined under SCO ODT
7823 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
7824 # on later versions), says simon@lia.di.epfl.ch: it contains
7825 # gethostby* variants that don't use the nameserver (or something).
7826 # -lsocket must be given before -lnsl if both are needed.
7827 # We assume that if connect needs -lnsl, so does gethostbyname.
7828 echo $ac_n "checking for connect""... $ac_c" 1>&6
7829 echo "configure:7830: checking for connect" >&5
7830 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
7831 echo $ac_n "(cached) $ac_c" 1>&6
7833 cat > conftest.
$ac_ext <<EOF
7834 #line 7835 "configure"
7835 #include "confdefs.h"
7836 /* System header to define __stub macros and hopefully few prototypes,
7837 which can conflict with char connect(); below. */
7839 /* Override any gcc2 internal prototype to avoid an error. */
7840 /* We use char because int might match the return type of a gcc2
7841 builtin and then its argument prototype would still apply. */
7846 /* The GNU C library defines this for functions which it implements
7847 to always fail with ENOSYS. Some functions are actually named
7848 something starting with __ and the normal name is an alias. */
7849 #if defined (__stub_connect) || defined (__stub___connect)
7857 if { (eval echo configure
:7858: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7859 eval "ac_cv_func_connect=yes"
7861 echo "configure: failed program was:" >&5
7862 cat conftest.
$ac_ext >&5
7864 eval "ac_cv_func_connect=no"
7869 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
7870 echo "$ac_t""yes" 1>&6
7873 echo "$ac_t""no" 1>&6
7876 if test $ac_cv_func_connect = no
; then
7877 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
7878 echo "configure:7879: checking for connect in -lsocket" >&5
7879 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
7880 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7881 echo $ac_n "(cached) $ac_c" 1>&6
7883 ac_save_LIBS
="$LIBS"
7884 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
7885 cat > conftest.
$ac_ext <<EOF
7886 #line 7887 "configure"
7887 #include "confdefs.h"
7888 /* Override any gcc2 internal prototype to avoid an error. */
7889 /* We use char because int might match the return type of a gcc2
7890 builtin and then its argument prototype would still apply. */
7897 if { (eval echo configure
:7898: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7899 eval "ac_cv_lib_$ac_lib_var=yes"
7901 echo "configure: failed program was:" >&5
7902 cat conftest.
$ac_ext >&5
7904 eval "ac_cv_lib_$ac_lib_var=no"
7907 LIBS
="$ac_save_LIBS"
7910 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7911 echo "$ac_t""yes" 1>&6
7912 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
7914 echo "$ac_t""no" 1>&6
7919 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
7920 echo $ac_n "checking for remove""... $ac_c" 1>&6
7921 echo "configure:7922: checking for remove" >&5
7922 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
7923 echo $ac_n "(cached) $ac_c" 1>&6
7925 cat > conftest.
$ac_ext <<EOF
7926 #line 7927 "configure"
7927 #include "confdefs.h"
7928 /* System header to define __stub macros and hopefully few prototypes,
7929 which can conflict with char remove(); below. */
7931 /* Override any gcc2 internal prototype to avoid an error. */
7932 /* We use char because int might match the return type of a gcc2
7933 builtin and then its argument prototype would still apply. */
7938 /* The GNU C library defines this for functions which it implements
7939 to always fail with ENOSYS. Some functions are actually named
7940 something starting with __ and the normal name is an alias. */
7941 #if defined (__stub_remove) || defined (__stub___remove)
7949 if { (eval echo configure
:7950: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7951 eval "ac_cv_func_remove=yes"
7953 echo "configure: failed program was:" >&5
7954 cat conftest.
$ac_ext >&5
7956 eval "ac_cv_func_remove=no"
7961 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
7962 echo "$ac_t""yes" 1>&6
7965 echo "$ac_t""no" 1>&6
7968 if test $ac_cv_func_remove = no
; then
7969 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
7970 echo "configure:7971: checking for remove in -lposix" >&5
7971 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
7972 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7973 echo $ac_n "(cached) $ac_c" 1>&6
7975 ac_save_LIBS
="$LIBS"
7976 LIBS
="-lposix $LIBS"
7977 cat > conftest.
$ac_ext <<EOF
7978 #line 7979 "configure"
7979 #include "confdefs.h"
7980 /* Override any gcc2 internal prototype to avoid an error. */
7981 /* We use char because int might match the return type of a gcc2
7982 builtin and then its argument prototype would still apply. */
7989 if { (eval echo configure
:7990: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7991 eval "ac_cv_lib_$ac_lib_var=yes"
7993 echo "configure: failed program was:" >&5
7994 cat conftest.
$ac_ext >&5
7996 eval "ac_cv_lib_$ac_lib_var=no"
7999 LIBS
="$ac_save_LIBS"
8002 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8003 echo "$ac_t""yes" 1>&6
8004 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
8006 echo "$ac_t""no" 1>&6
8011 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
8012 echo $ac_n "checking for shmat""... $ac_c" 1>&6
8013 echo "configure:8014: checking for shmat" >&5
8014 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
8015 echo $ac_n "(cached) $ac_c" 1>&6
8017 cat > conftest.
$ac_ext <<EOF
8018 #line 8019 "configure"
8019 #include "confdefs.h"
8020 /* System header to define __stub macros and hopefully few prototypes,
8021 which can conflict with char shmat(); below. */
8023 /* Override any gcc2 internal prototype to avoid an error. */
8024 /* We use char because int might match the return type of a gcc2
8025 builtin and then its argument prototype would still apply. */
8030 /* The GNU C library defines this for functions which it implements
8031 to always fail with ENOSYS. Some functions are actually named
8032 something starting with __ and the normal name is an alias. */
8033 #if defined (__stub_shmat) || defined (__stub___shmat)
8041 if { (eval echo configure
:8042: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8043 eval "ac_cv_func_shmat=yes"
8045 echo "configure: failed program was:" >&5
8046 cat conftest.
$ac_ext >&5
8048 eval "ac_cv_func_shmat=no"
8053 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
8054 echo "$ac_t""yes" 1>&6
8057 echo "$ac_t""no" 1>&6
8060 if test $ac_cv_func_shmat = no
; then
8061 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
8062 echo "configure:8063: checking for shmat in -lipc" >&5
8063 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
8064 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8065 echo $ac_n "(cached) $ac_c" 1>&6
8067 ac_save_LIBS
="$LIBS"
8069 cat > conftest.
$ac_ext <<EOF
8070 #line 8071 "configure"
8071 #include "confdefs.h"
8072 /* Override any gcc2 internal prototype to avoid an error. */
8073 /* We use char because int might match the return type of a gcc2
8074 builtin and then its argument prototype would still apply. */
8081 if { (eval echo configure
:8082: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8083 eval "ac_cv_lib_$ac_lib_var=yes"
8085 echo "configure: failed program was:" >&5
8086 cat conftest.
$ac_ext >&5
8088 eval "ac_cv_lib_$ac_lib_var=no"
8091 LIBS
="$ac_save_LIBS"
8094 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8095 echo "$ac_t""yes" 1>&6
8096 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
8098 echo "$ac_t""no" 1>&6
8104 # Check for libraries that X11R6 Xt/Xaw programs need.
8105 ac_save_LDFLAGS
="$LDFLAGS"
8106 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
8107 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
8108 # check for ICE first), but we must link in the order -lSM -lICE or
8109 # we get undefined symbols. So assume we have SM if we have ICE.
8110 # These have to be linked with before -lX11, unlike the other
8111 # libraries we check for below, so use a different variable.
8112 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
8113 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
8114 echo "configure:8115: checking for IceConnectionNumber in -lICE" >&5
8115 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
8116 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8117 echo $ac_n "(cached) $ac_c" 1>&6
8119 ac_save_LIBS
="$LIBS"
8120 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
8121 cat > conftest.
$ac_ext <<EOF
8122 #line 8123 "configure"
8123 #include "confdefs.h"
8124 /* Override any gcc2 internal prototype to avoid an error. */
8125 /* We use char because int might match the return type of a gcc2
8126 builtin and then its argument prototype would still apply. */
8127 char IceConnectionNumber();
8130 IceConnectionNumber()
8133 if { (eval echo configure
:8134: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8135 eval "ac_cv_lib_$ac_lib_var=yes"
8137 echo "configure: failed program was:" >&5
8138 cat conftest.
$ac_ext >&5
8140 eval "ac_cv_lib_$ac_lib_var=no"
8143 LIBS
="$ac_save_LIBS"
8146 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8147 echo "$ac_t""yes" 1>&6
8148 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
8150 echo "$ac_t""no" 1>&6
8153 LDFLAGS
="$ac_save_LDFLAGS"
8158 if test "$no_x" = "yes"; then
8159 { echo "configure: error: X11 not found" 1>&2; exit 1; }
8162 GUI_TK_LIBRARY
="$X_LIBS"
8163 TOOLKIT_INCLUDE
="$X_CFLAGS"
8165 AFMINSTALL
=afminstall
8168 COMPILED_X_PROGRAM
=0
8170 echo $ac_n "checking for Motif/Lesstif headers""... $ac_c" 1>&6
8171 echo "configure:8172: checking for Motif/Lesstif headers" >&5
8174 for ac_dir
in $SEARCH_INCLUDE;
8176 if test -f "$ac_dir/Xm/Xm.h"; then
8177 ac_find_includes
=$ac_dir
8182 if test "$ac_find_includes" != "" ; then
8183 echo "$ac_t""found $ac_find_includes" 1>&6
8185 cat > conftest.
$ac_ext <<EOF
8186 #line 8187 "configure"
8187 #include "confdefs.h"
8195 version = xmUseVersion;
8199 if { (eval echo configure
:8200: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8202 echo "$ac_t""found in default search path" 1>&6
8203 COMPILED_X_PROGRAM
=1
8206 echo "configure: failed program was:" >&5
8207 cat conftest.
$ac_ext >&5
8210 echo "$ac_t""no" 1>&6
8211 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
8218 if test "$COMPILED_X_PROGRAM" = 0; then
8219 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
8220 echo "configure:8221: checking for Motif/Lesstif library" >&5
8223 for ac_dir
in $SEARCH_LIB;
8225 for ac_extension
in a so sl
; do
8226 if test -f "$ac_dir/libXm.$ac_extension"; then
8227 ac_find_libraries
=$ac_dir
8233 if test "$ac_find_libraries" != "" ; then
8235 ac_path_to_include
=$ac_find_includes
8236 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
8238 if test $result = 0; then
8239 ac_path_to_include
=""
8241 ac_path_to_include
="-I$ac_find_includes"
8245 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
8247 if test $result = 0; then
8250 ac_path_to_link
="-L$ac_find_libraries"
8254 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
8255 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE $ac_path_to_include"
8256 echo "$ac_t""found at $ac_find_libraries" 1>&6
8258 cat > conftest.
$ac_ext <<EOF
8259 #line 8260 "configure"
8260 #include "confdefs.h"
8268 version = xmUseVersion;
8272 if { (eval echo configure
:8273: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8275 echo "$ac_t""found in default search path" 1>&6
8276 COMPILED_X_PROGRAM
=1
8279 echo "configure: failed program was:" >&5
8280 cat conftest.
$ac_ext >&5
8283 echo "$ac_t""no" 1>&6
8284 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
8294 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
8295 echo "configure:8296: checking for Xpm library" >&5
8298 for ac_dir
in $SEARCH_LIB;
8300 for ac_extension
in a so sl
; do
8301 if test -f "$ac_dir/libXpm.$ac_extension"; then
8302 ac_find_libraries
=$ac_dir
8308 if test "$ac_find_libraries" != "" ; then
8310 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
8312 if test $result = 0; then
8315 ac_path_to_link
="-L$ac_find_libraries"
8318 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
8320 cat >> confdefs.h
<<\EOF
8321 #define wxHAVE_LIB_XPM 1
8324 echo "$ac_t""found at $ac_find_libraries" 1>&6
8326 cat > conftest.
$ac_ext <<EOF
8327 #line 8328 "configure"
8328 #include "confdefs.h"
8330 #include <X11/xpm.h>
8336 version = XpmLibraryVersion();
8340 if { (eval echo configure
:8341: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8344 cat >> confdefs.h
<<\EOF
8345 #define wxHAVE_LIB_XPM 1
8348 echo "$ac_t""found in default search path" 1>&6
8349 COMPILED_X_PROGRAM
=0
8352 echo "configure: failed program was:" >&5
8353 cat conftest.
$ac_ext >&5
8356 echo "$ac_t""no" 1>&6
8357 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
8364 GUI_TK_LINK
="-lXm $XPM_LINK -lXmu -lXext -lXt -lX11 -lm"
8365 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GUI_TK_LINK"
8368 GUIHEADERS
="\$(MOTIF_HEADERS)"
8369 GUIOBJS
="\$(MOTIF_GUIOBJS)"
8370 COMMONOBJS
="\$(MOTIF_COMMONOBJS)"
8371 GENERICOBJS
="\$(MOTIF_GENERICOBJS)"
8372 GUIDEPS
="\$(MOTIF_GUIDEPS)"
8373 COMMONDEPS
="\$(MOTIF_COMMONDEPS)"
8374 GENERICDEPS
="\$(MOTIF_GENERICDEPS)"
8375 UNIXOBJS
="\$(UNIX_OBJS)"
8376 UNIXDEPS
="\$(UNIX_DEPS)"
8380 if test "$wxUSE_PM" = 1; then
8383 GUIOBJS
="\$(PM_GUIOBJS)"
8384 GUIHEADERS
="\$(PM_HEADERS)"
8385 COMMONOBJS
="\$(PM_COMMONOBJS)"
8386 GENERICOBJS
="\$(PM_GENERICOBJS)"
8387 GUIDEPS
="\$(PM_GUIDEPS)"
8388 COMMONDEPS
="\$(PM_COMMONDEPS)"
8389 GENERICDEPS
="\$(PM_GENERICDEPS)"
8395 if test "$TOOLKIT" != "PM" ; then
8396 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
8401 TOOLKIT_DEF
="-D__WX${TOOLKIT}__"
8403 WX_LIBRARY
="wx_${TOOLKIT_DIR}"
8405 ALL_OBJECTS
="\$(GUIOBJS) \$(COMMONOBJS) \$(GENERICOBJS) \$(UNIXOBJS) \$(HTMLOBJS)"
8407 if test "$TOOLKIT" != "MSW"; then
8408 if test "$wxUSE_ODBC" = "yes" ; then
8409 ALL_OBJECTS
="${ALL_OBJECTS} \$(IODBCOBJS)"
8413 if test "$wxUSE_LIBJPEG" = "yes" ; then
8414 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
8416 if test "$wxUSE_LIBTIFF" = "yes" ; then
8417 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
8419 if test "$wxUSE_LIBPNG" = "yes" ; then
8420 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
8422 if test "$wxUSE_ZLIB" = "yes" ; then
8423 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
8425 ALL_DEPFILES
="\$(GUIDEPS) \$(COMMONDEPS) \$(GENERICDEPS) \$(UNIXDEPS) \$(HTMLDEPS)"
8427 PORT_FILES
="src/\$(TOOLKITDIR)/files.lst"
8428 RPM_FILES
="src/\$(TOOLKITDIR)/rpmfiles.lst"
8429 RPM_SPEC
="wx\$(TOOLKIT).spec"
8431 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
8432 DISTDIR
="wx\$(TOOLKIT)"
8437 TOOLKIT_DEF
="-D__WXBASE__"
8439 ALL_OBJECTS
="\$(BASE_OBJS) \${BASE_UNIX_OBJS}"
8440 ALL_DEPFILES
="\${BASE_DEPS} \${BASE_UNIX_DEPS}"
8444 PORT_FILES
="src/files.lst"
8445 RPM_FILES
="src/rpmfiles.lst"
8446 RPM_SPEC
="wxBase.spec"
8452 WX_LIBRARY_NAME
="lib${WX_LIBRARY}.la"
8454 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
8456 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}-${WX_RELEASE}.so.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
8458 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}-${WX_RELEASE}.so.${WX_CURRENT}"
8459 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}-${WX_RELEASE}.so"
8460 WX_LIBRARY_LINK3
="lib${WX_LIBRARY}.so"
8469 if test "$wxUSE_SHARED" = "yes"; then
8472 if test "$GCC" = yes ; then
8473 SHARED_LD
="${CC} -shared -fPIC -o"
8476 SHARED_LD
="${CXX} -b -o"
8479 WX_LIBRARY_NAME_SHARED
="libwx_${TOOLKIT_DIR}.sl"
8480 WX_ALL
=${WX_LIBRARY_NAME_SHARED}
8484 SHARED_LD
="${CC} -shared -o"
8486 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8487 WX_ALL
="CREATE_LINKS"
8488 if test "$wxUSE_BURNT_NAME" = "yes" ; then
8489 BURNT_LIBRARY_NAME
="-Wl,-soname,${WX_LIBRARY_LINK1}"
8492 *-*-irix5* | *-*-irix6* )
8493 if test "$GCC" = yes ; then
8494 SHARED_LD
="${CC} -shared -o"
8497 SHARED_LD
="${CXX} -shared -o"
8499 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8500 WX_ALL
="CREATE_LINKS"
8503 if test "$GCC" = yes ; then
8504 SHARED_LD
="${CC} -shared -o"
8507 SHARED_LD
="${CXX} -G -o"
8510 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8511 WX_ALL
="CREATE_LINKS"
8514 SHARED_LD
="${CC} -shared -o"
8516 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8517 WX_ALL
="CREATE_LINKS"
8519 *-*-freebsd* | *-*-netbsd*)
8520 SHARED_LD
="${CC} -shared -o"
8522 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8523 WX_ALL
="CREATE_LINKS"
8526 SHARED_LD
="${CXX} -shared -o"
8528 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8529 WX_ALL
="CREATE_LINKS"
8532 SHARED_LD
="${CXX} -shared -o"
8534 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8535 WX_ALL
="CREATE_LINKS"
8538 SHARED_LD
="${CC} -shared -o"
8540 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8541 WX_ALL
="CREATE_LINKS"
8544 SHARED_LD
="/usr/lpp/xlC/bin/makeC++SharedLib -p 0 -o"
8545 WX_ALL
=${WX_LIBRARY_NAME_SHARED}
8548 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
8549 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
8552 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
8553 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
8556 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
8557 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
8560 SHARED_LD
="${LD} -shared -o"
8562 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8563 WX_ALL
="CREATE_LINKS"
8566 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
8569 if test "x$WX_TARGET_LIBRARY" = "x"; then
8570 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
8573 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
8574 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
8578 for ac_hdr
in strings.h
8580 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8581 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8582 echo "configure:8583: checking for $ac_hdr" >&5
8583 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8584 echo $ac_n "(cached) $ac_c" 1>&6
8586 cat > conftest.
$ac_ext <<EOF
8587 #line 8588 "configure"
8588 #include "confdefs.h"
8591 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8592 { (eval echo configure
:8593: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8593 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8594 if test -z "$ac_err"; then
8596 eval "ac_cv_header_$ac_safe=yes"
8599 echo "configure: failed program was:" >&5
8600 cat conftest.
$ac_ext >&5
8602 eval "ac_cv_header_$ac_safe=no"
8606 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8607 echo "$ac_t""yes" 1>&6
8608 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8609 cat >> confdefs.h
<<EOF
8610 #define $ac_tr_hdr 1
8614 echo "$ac_t""no" 1>&6
8618 for ac_hdr
in unistd.h
8620 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8621 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8622 echo "configure:8623: checking for $ac_hdr" >&5
8623 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8624 echo $ac_n "(cached) $ac_c" 1>&6
8626 cat > conftest.
$ac_ext <<EOF
8627 #line 8628 "configure"
8628 #include "confdefs.h"
8631 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8632 { (eval echo configure
:8633: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8633 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8634 if test -z "$ac_err"; then
8636 eval "ac_cv_header_$ac_safe=yes"
8639 echo "configure: failed program was:" >&5
8640 cat conftest.
$ac_ext >&5
8642 eval "ac_cv_header_$ac_safe=no"
8646 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8647 echo "$ac_t""yes" 1>&6
8648 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8649 cat >> confdefs.h
<<EOF
8650 #define $ac_tr_hdr 1
8654 echo "$ac_t""no" 1>&6
8658 for ac_hdr
in wchar.h
8660 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8661 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8662 echo "configure:8663: checking for $ac_hdr" >&5
8663 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8664 echo $ac_n "(cached) $ac_c" 1>&6
8666 cat > conftest.
$ac_ext <<EOF
8667 #line 8668 "configure"
8668 #include "confdefs.h"
8671 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8672 { (eval echo configure
:8673: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8673 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8674 if test -z "$ac_err"; then
8676 eval "ac_cv_header_$ac_safe=yes"
8679 echo "configure: failed program was:" >&5
8680 cat conftest.
$ac_ext >&5
8682 eval "ac_cv_header_$ac_safe=no"
8686 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8687 echo "$ac_t""yes" 1>&6
8688 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8689 cat >> confdefs.h
<<EOF
8690 #define $ac_tr_hdr 1
8694 echo "$ac_t""no" 1>&6
8698 for ac_hdr
in wcstr.h
8700 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8701 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8702 echo "configure:8703: checking for $ac_hdr" >&5
8703 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8704 echo $ac_n "(cached) $ac_c" 1>&6
8706 cat > conftest.
$ac_ext <<EOF
8707 #line 8708 "configure"
8708 #include "confdefs.h"
8711 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8712 { (eval echo configure
:8713: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8713 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8714 if test -z "$ac_err"; then
8716 eval "ac_cv_header_$ac_safe=yes"
8719 echo "configure: failed program was:" >&5
8720 cat conftest.
$ac_ext >&5
8722 eval "ac_cv_header_$ac_safe=no"
8726 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8727 echo "$ac_t""yes" 1>&6
8728 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8729 cat >> confdefs.h
<<EOF
8730 #define $ac_tr_hdr 1
8734 echo "$ac_t""no" 1>&6
8738 for ac_hdr
in fnmatch.h
8740 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8741 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8742 echo "configure:8743: checking for $ac_hdr" >&5
8743 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8744 echo $ac_n "(cached) $ac_c" 1>&6
8746 cat > conftest.
$ac_ext <<EOF
8747 #line 8748 "configure"
8748 #include "confdefs.h"
8751 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8752 { (eval echo configure
:8753: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8753 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8754 if test -z "$ac_err"; then
8756 eval "ac_cv_header_$ac_safe=yes"
8759 echo "configure: failed program was:" >&5
8760 cat conftest.
$ac_ext >&5
8762 eval "ac_cv_header_$ac_safe=no"
8766 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8767 echo "$ac_t""yes" 1>&6
8768 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8769 cat >> confdefs.h
<<EOF
8770 #define $ac_tr_hdr 1
8774 echo "$ac_t""no" 1>&6
8779 if test "$wxUSE_GUI" = "yes"; then
8780 for ac_hdr
in X
11/XKBlib.h
8782 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8783 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8784 echo "configure:8785: checking for $ac_hdr" >&5
8785 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8786 echo $ac_n "(cached) $ac_c" 1>&6
8788 cat > conftest.
$ac_ext <<EOF
8789 #line 8790 "configure"
8790 #include "confdefs.h"
8793 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8794 { (eval echo configure
:8795: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8795 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8796 if test -z "$ac_err"; then
8798 eval "ac_cv_header_$ac_safe=yes"
8801 echo "configure: failed program was:" >&5
8802 cat conftest.
$ac_ext >&5
8804 eval "ac_cv_header_$ac_safe=no"
8808 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8809 echo "$ac_t""yes" 1>&6
8810 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8811 cat >> confdefs.h
<<EOF
8812 #define $ac_tr_hdr 1
8816 echo "$ac_t""no" 1>&6
8823 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
8824 echo "configure:8825: checking for ANSI C header files" >&5
8825 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
8826 echo $ac_n "(cached) $ac_c" 1>&6
8828 cat > conftest.
$ac_ext <<EOF
8829 #line 8830 "configure"
8830 #include "confdefs.h"
8836 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8837 { (eval echo configure
:8838: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8838 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8839 if test -z "$ac_err"; then
8841 ac_cv_header_stdc
=yes
8844 echo "configure: failed program was:" >&5
8845 cat conftest.
$ac_ext >&5
8847 ac_cv_header_stdc
=no
8851 if test $ac_cv_header_stdc = yes; then
8852 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8853 cat > conftest.
$ac_ext <<EOF
8854 #line 8855 "configure"
8855 #include "confdefs.h"
8858 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8859 egrep "memchr" >/dev
/null
2>&1; then
8863 ac_cv_header_stdc
=no
8869 if test $ac_cv_header_stdc = yes; then
8870 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8871 cat > conftest.
$ac_ext <<EOF
8872 #line 8873 "configure"
8873 #include "confdefs.h"
8876 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8877 egrep "free" >/dev
/null
2>&1; then
8881 ac_cv_header_stdc
=no
8887 if test $ac_cv_header_stdc = yes; then
8888 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8889 if test "$cross_compiling" = yes; then
8892 cat > conftest.
$ac_ext <<EOF
8893 #line 8894 "configure"
8894 #include "confdefs.h"
8896 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8897 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8898 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8899 int main () { int i; for (i = 0; i < 256; i++)
8900 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
8904 if { (eval echo configure
:8905: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
8908 echo "configure: failed program was:" >&5
8909 cat conftest.
$ac_ext >&5
8911 ac_cv_header_stdc
=no
8919 echo "$ac_t""$ac_cv_header_stdc" 1>&6
8920 if test $ac_cv_header_stdc = yes; then
8921 cat >> confdefs.h
<<\EOF
8922 #define STDC_HEADERS 1
8927 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
8928 echo "configure:8929: checking for mode_t" >&5
8929 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
8930 echo $ac_n "(cached) $ac_c" 1>&6
8932 cat > conftest.
$ac_ext <<EOF
8933 #line 8934 "configure"
8934 #include "confdefs.h"
8935 #include <sys/types.h>
8941 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8942 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
8944 ac_cv_type_mode_t
=yes
8947 ac_cv_type_mode_t
=no
8952 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
8953 if test $ac_cv_type_mode_t = no
; then
8954 cat >> confdefs.h
<<\EOF
8960 echo $ac_n "checking for off_t""... $ac_c" 1>&6
8961 echo "configure:8962: checking for off_t" >&5
8962 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
8963 echo $ac_n "(cached) $ac_c" 1>&6
8965 cat > conftest.
$ac_ext <<EOF
8966 #line 8967 "configure"
8967 #include "confdefs.h"
8968 #include <sys/types.h>
8974 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8975 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
8977 ac_cv_type_off_t
=yes
8985 echo "$ac_t""$ac_cv_type_off_t" 1>&6
8986 if test $ac_cv_type_off_t = no
; then
8987 cat >> confdefs.h
<<\EOF
8993 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
8994 echo "configure:8995: checking for pid_t" >&5
8995 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
8996 echo $ac_n "(cached) $ac_c" 1>&6
8998 cat > conftest.
$ac_ext <<EOF
8999 #line 9000 "configure"
9000 #include "confdefs.h"
9001 #include <sys/types.h>
9007 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9008 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
9010 ac_cv_type_pid_t
=yes
9018 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
9019 if test $ac_cv_type_pid_t = no
; then
9020 cat >> confdefs.h
<<\EOF
9026 echo $ac_n "checking for size_t""... $ac_c" 1>&6
9027 echo "configure:9028: checking for size_t" >&5
9028 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
9029 echo $ac_n "(cached) $ac_c" 1>&6
9031 cat > conftest.
$ac_ext <<EOF
9032 #line 9033 "configure"
9033 #include "confdefs.h"
9034 #include <sys/types.h>
9040 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9041 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
9043 ac_cv_type_size_t
=yes
9046 ac_cv_type_size_t
=no
9051 echo "$ac_t""$ac_cv_type_size_t" 1>&6
9052 if test $ac_cv_type_size_t = no
; then
9053 cat >> confdefs.h
<<\EOF
9054 #define size_t unsigned
9059 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
9060 echo "configure:9061: checking for uid_t in sys/types.h" >&5
9061 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
9062 echo $ac_n "(cached) $ac_c" 1>&6
9064 cat > conftest.
$ac_ext <<EOF
9065 #line 9066 "configure"
9066 #include "confdefs.h"
9067 #include <sys/types.h>
9069 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9070 egrep "uid_t" >/dev
/null
2>&1; then
9072 ac_cv_type_uid_t
=yes
9081 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
9082 if test $ac_cv_type_uid_t = no
; then
9083 cat >> confdefs.h
<<\EOF
9087 cat >> confdefs.h
<<\EOF
9095 echo $ac_n "checking for pw_gecos in struct passwd""... $ac_c" 1>&6
9096 echo "configure:9097: checking for pw_gecos in struct passwd" >&5
9097 if eval "test \"`echo '$''{'wx_cv_struct_pw_gecos'+set}'`\" = set"; then
9098 echo $ac_n "(cached) $ac_c" 1>&6
9101 cat > conftest.
$ac_ext <<EOF
9102 #line 9103 "configure"
9103 #include "confdefs.h"
9113 if { (eval echo configure
:9114: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9116 wx_cv_struct_pw_gecos
=yes
9117 cat >> confdefs.h
<<\EOF
9118 #define HAVE_PW_GECOS 1
9123 echo "configure: failed program was:" >&5
9124 cat conftest.
$ac_ext >&5
9127 wx_cv_struct_pw_gecos
=no
9136 echo "$ac_t""$wx_cv_struct_pw_gecos" 1>&6
9139 echo $ac_n "checking for working const""... $ac_c" 1>&6
9140 echo "configure:9141: checking for working const" >&5
9141 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
9142 echo $ac_n "(cached) $ac_c" 1>&6
9144 cat > conftest.
$ac_ext <<EOF
9145 #line 9146 "configure"
9146 #include "confdefs.h"
9150 /* Ultrix mips cc rejects this. */
9151 typedef int charset[2]; const charset x;
9152 /* SunOS 4.1.1 cc rejects this. */
9153 char const *const *ccp;
9155 /* NEC SVR4.0.2 mips cc rejects this. */
9156 struct point {int x, y;};
9157 static struct point const zero = {0,0};
9158 /* AIX XL C 1.02.0.0 rejects this.
9159 It does not let you subtract one const X* pointer from another in an arm
9160 of an if-expression whose if-part is not a constant expression */
9161 const char *g = "string";
9162 ccp = &g + (g ? g-g : 0);
9163 /* HPUX 7.0 cc rejects these. */
9166 ccp = (char const *const *) p;
9167 { /* SCO 3.2v4 cc rejects this. */
9169 char const *s = 0 ? (char *) 0 : (char const *) 0;
9173 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
9175 const int *foo = &x[0];
9178 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
9179 typedef const int *iptr;
9183 { /* AIX XL C 1.02.0.0 rejects this saying
9184 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
9185 struct s { int j; const int *ap[3]; };
9186 struct s *b; b->j = 5;
9188 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
9194 if { (eval echo configure
:9195: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9198 echo "configure: failed program was:" >&5
9199 cat conftest.
$ac_ext >&5
9206 echo "$ac_t""$ac_cv_c_const" 1>&6
9207 if test $ac_cv_c_const = no
; then
9208 cat >> confdefs.h
<<\EOF
9214 echo $ac_n "checking for inline""... $ac_c" 1>&6
9215 echo "configure:9216: checking for inline" >&5
9216 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
9217 echo $ac_n "(cached) $ac_c" 1>&6
9220 for ac_kw
in inline __inline__ __inline
; do
9221 cat > conftest.
$ac_ext <<EOF
9222 #line 9223 "configure"
9223 #include "confdefs.h"
9229 if { (eval echo configure
:9230: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9231 ac_cv_c_inline
=$ac_kw; break
9233 echo "configure: failed program was:" >&5
9234 cat conftest.
$ac_ext >&5
9241 echo "$ac_t""$ac_cv_c_inline" 1>&6
9242 case "$ac_cv_c_inline" in
9244 no
) cat >> confdefs.h
<<\EOF
9248 *) cat >> confdefs.h
<<EOF
9249 #define inline $ac_cv_c_inline
9255 echo $ac_n "checking size of char""... $ac_c" 1>&6
9256 echo "configure:9257: checking size of char" >&5
9257 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
9258 echo $ac_n "(cached) $ac_c" 1>&6
9260 if test "$cross_compiling" = yes; then
9263 cat > conftest.
$ac_ext <<EOF
9264 #line 9265 "configure"
9265 #include "confdefs.h"
9269 FILE *f=fopen("conftestval", "w");
9271 fprintf(f, "%d\n", sizeof(char));
9275 if { (eval echo configure
:9276: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9277 ac_cv_sizeof_char
=`cat conftestval`
9279 echo "configure: failed program was:" >&5
9280 cat conftest.
$ac_ext >&5
9288 echo "$ac_t""$ac_cv_sizeof_char" 1>&6
9289 cat >> confdefs.h
<<EOF
9290 #define SIZEOF_CHAR $ac_cv_sizeof_char
9294 echo $ac_n "checking size of short""... $ac_c" 1>&6
9295 echo "configure:9296: checking size of short" >&5
9296 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
9297 echo $ac_n "(cached) $ac_c" 1>&6
9299 if test "$cross_compiling" = yes; then
9300 ac_cv_sizeof_short
=2
9302 cat > conftest.
$ac_ext <<EOF
9303 #line 9304 "configure"
9304 #include "confdefs.h"
9308 FILE *f=fopen("conftestval", "w");
9310 fprintf(f, "%d\n", sizeof(short));
9314 if { (eval echo configure
:9315: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9316 ac_cv_sizeof_short
=`cat conftestval`
9318 echo "configure: failed program was:" >&5
9319 cat conftest.
$ac_ext >&5
9321 ac_cv_sizeof_short
=0
9327 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
9328 cat >> confdefs.h
<<EOF
9329 #define SIZEOF_SHORT $ac_cv_sizeof_short
9333 echo $ac_n "checking size of int *""... $ac_c" 1>&6
9334 echo "configure:9335: checking size of int *" >&5
9335 if eval "test \"`echo '$''{'ac_cv_sizeof_int_p'+set}'`\" = set"; then
9336 echo $ac_n "(cached) $ac_c" 1>&6
9338 if test "$cross_compiling" = yes; then
9339 ac_cv_sizeof_int_p
=4
9341 cat > conftest.
$ac_ext <<EOF
9342 #line 9343 "configure"
9343 #include "confdefs.h"
9347 FILE *f=fopen("conftestval", "w");
9349 fprintf(f, "%d\n", sizeof(int *));
9353 if { (eval echo configure
:9354: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9355 ac_cv_sizeof_int_p
=`cat conftestval`
9357 echo "configure: failed program was:" >&5
9358 cat conftest.
$ac_ext >&5
9360 ac_cv_sizeof_int_p
=0
9366 echo "$ac_t""$ac_cv_sizeof_int_p" 1>&6
9367 cat >> confdefs.h
<<EOF
9368 #define SIZEOF_INT_P $ac_cv_sizeof_int_p
9372 echo $ac_n "checking size of int""... $ac_c" 1>&6
9373 echo "configure:9374: checking size of int" >&5
9374 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
9375 echo $ac_n "(cached) $ac_c" 1>&6
9377 if test "$cross_compiling" = yes; then
9380 cat > conftest.
$ac_ext <<EOF
9381 #line 9382 "configure"
9382 #include "confdefs.h"
9386 FILE *f=fopen("conftestval", "w");
9388 fprintf(f, "%d\n", sizeof(int));
9392 if { (eval echo configure
:9393: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9394 ac_cv_sizeof_int
=`cat conftestval`
9396 echo "configure: failed program was:" >&5
9397 cat conftest.
$ac_ext >&5
9405 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
9406 cat >> confdefs.h
<<EOF
9407 #define SIZEOF_INT $ac_cv_sizeof_int
9411 echo $ac_n "checking size of long""... $ac_c" 1>&6
9412 echo "configure:9413: checking size of long" >&5
9413 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
9414 echo $ac_n "(cached) $ac_c" 1>&6
9416 if test "$cross_compiling" = yes; then
9419 cat > conftest.
$ac_ext <<EOF
9420 #line 9421 "configure"
9421 #include "confdefs.h"
9425 FILE *f=fopen("conftestval", "w");
9427 fprintf(f, "%d\n", sizeof(long));
9431 if { (eval echo configure
:9432: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9433 ac_cv_sizeof_long
=`cat conftestval`
9435 echo "configure: failed program was:" >&5
9436 cat conftest.
$ac_ext >&5
9444 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
9445 cat >> confdefs.h
<<EOF
9446 #define SIZEOF_LONG $ac_cv_sizeof_long
9450 echo $ac_n "checking size of long long""... $ac_c" 1>&6
9451 echo "configure:9452: checking size of long long" >&5
9452 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
9453 echo $ac_n "(cached) $ac_c" 1>&6
9455 if test "$cross_compiling" = yes; then
9456 ac_cv_sizeof_long_long
=0
9458 cat > conftest.
$ac_ext <<EOF
9459 #line 9460 "configure"
9460 #include "confdefs.h"
9464 FILE *f=fopen("conftestval", "w");
9466 fprintf(f, "%d\n", sizeof(long long));
9470 if { (eval echo configure
:9471: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9472 ac_cv_sizeof_long_long
=`cat conftestval`
9474 echo "configure: failed program was:" >&5
9475 cat conftest.
$ac_ext >&5
9477 ac_cv_sizeof_long_long
=0
9483 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
9484 cat >> confdefs.h
<<EOF
9485 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
9490 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
9491 echo "configure:9492: checking whether byte ordering is bigendian" >&5
9492 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
9493 echo $ac_n "(cached) $ac_c" 1>&6
9495 ac_cv_c_bigendian
=unknown
9496 # See if sys/param.h defines the BYTE_ORDER macro.
9497 cat > conftest.
$ac_ext <<EOF
9498 #line 9499 "configure"
9499 #include "confdefs.h"
9500 #include <sys/types.h>
9501 #include <sys/param.h>
9504 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
9509 if { (eval echo configure
:9510: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9511 # It does; now see whether it defined to BIG_ENDIAN or not.
9512 cat > conftest.
$ac_ext <<EOF
9513 #line 9514 "configure"
9514 #include "confdefs.h"
9515 #include <sys/types.h>
9516 #include <sys/param.h>
9519 #if BYTE_ORDER != BIG_ENDIAN
9524 if { (eval echo configure
:9525: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9526 ac_cv_c_bigendian
=yes
9528 echo "configure: failed program was:" >&5
9529 cat conftest.
$ac_ext >&5
9531 ac_cv_c_bigendian
=no
9535 echo "configure: failed program was:" >&5
9536 cat conftest.
$ac_ext >&5
9539 if test $ac_cv_c_bigendian = unknown
; then
9540 if test "$cross_compiling" = yes; then
9541 ac_cv_c_bigendian
=unknown
9543 cat > conftest.
$ac_ext <<EOF
9544 #line 9545 "configure"
9545 #include "confdefs.h"
9547 /* Are we little or big endian? From Harbison&Steele. */
9551 char c[sizeof (long)];
9554 exit (u.c[sizeof (long) - 1] == 1);
9557 if { (eval echo configure
:9558: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9559 ac_cv_c_bigendian
=no
9561 echo "configure: failed program was:" >&5
9562 cat conftest.
$ac_ext >&5
9564 ac_cv_c_bigendian
=yes
9572 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
9573 if test $ac_cv_c_bigendian = unknown
; then
9574 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
9576 if test $ac_cv_c_bigendian = yes; then
9577 cat >> confdefs.h
<<\EOF
9578 #define WORDS_BIGENDIAN 1
9585 if test "$cross_compiling" = "yes"; then
9586 cat >> confdefs.h
<<\EOF
9587 #define wxUSE_IOSTREAMH 1
9593 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9594 ac_cpp
='$CXXCPP $CPPFLAGS'
9595 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9596 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9597 cross_compiling
=$ac_cv_prog_cxx_cross
9600 for ac_hdr
in iostream
9602 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9603 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9604 echo "configure:9605: checking for $ac_hdr" >&5
9605 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9606 echo $ac_n "(cached) $ac_c" 1>&6
9608 cat > conftest.
$ac_ext <<EOF
9609 #line 9610 "configure"
9610 #include "confdefs.h"
9613 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9614 { (eval echo configure
:9615: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9615 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9616 if test -z "$ac_err"; then
9618 eval "ac_cv_header_$ac_safe=yes"
9621 echo "configure: failed program was:" >&5
9622 cat conftest.
$ac_ext >&5
9624 eval "ac_cv_header_$ac_safe=no"
9628 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9629 echo "$ac_t""yes" 1>&6
9630 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9631 cat >> confdefs.h
<<EOF
9632 #define $ac_tr_hdr 1
9636 echo "$ac_t""no" 1>&6
9641 if test "x$HAVE_IOSTREAM" = x
; then
9642 cat >> confdefs.h
<<\EOF
9643 #define wxUSE_IOSTREAMH 1
9651 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9652 ac_cpp
='$CPP $CPPFLAGS'
9653 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9654 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9655 cross_compiling
=$ac_cv_prog_cc_cross
9661 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
9662 echo "configure:9663: checking if C++ compiler supports bool" >&5
9663 if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
9664 echo $ac_n "(cached) $ac_c" 1>&6
9669 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9670 ac_cpp
='$CXXCPP $CPPFLAGS'
9671 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9672 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9673 cross_compiling
=$ac_cv_prog_cxx_cross
9676 cat > conftest.
$ac_ext <<EOF
9677 #line 9678 "configure"
9678 #include "confdefs.h"
9689 if { (eval echo configure
:9690: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9692 cat >> confdefs.h
<<\EOF
9699 echo "configure: failed program was:" >&5
9700 cat conftest.
$ac_ext >&5
9710 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9711 ac_cpp
='$CPP $CPPFLAGS'
9712 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9713 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9714 cross_compiling
=$ac_cv_prog_cc_cross
9719 echo "$ac_t""$wx_cv_cpp_bool" 1>&6
9721 if test "$wx_cv_cpp_bool" = "yes"; then
9722 cat >> confdefs.h
<<\EOF
9730 echo $ac_n "checking if you need GNU extensions""... $ac_c" 1>&6
9731 echo "configure:9732: checking if you need GNU extensions" >&5
9732 if eval "test \"`echo '$''{'wx_cv_gnu_extensions'+set}'`\" = set"; then
9733 echo $ac_n "(cached) $ac_c" 1>&6
9736 cat > conftest.
$ac_ext <<EOF
9737 #line 9738 "configure"
9738 #include "confdefs.h"
9739 #include <features.h>
9743 #ifndef __GNU_LIBRARY__
9744 Compile error wanted
9750 if { (eval echo configure
:9751: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9752 wx_cv_gnu_extensions
=yes
9754 echo "configure: failed program was:" >&5
9755 cat conftest.
$ac_ext >&5
9757 wx_cv_gnu_extensions
=no
9764 echo "$ac_t""$wx_cv_gnu_extensions" 1>&6
9765 if test "$wx_cv_gnu_extensions" = "yes"; then
9766 cat >> confdefs.h
<<EOF
9767 #define _GNU_SOURCE 1
9774 echo $ac_n "checking for wcslen in -lc""... $ac_c" 1>&6
9775 echo "configure:9776: checking for wcslen in -lc" >&5
9776 ac_lib_var
=`echo c'_'wcslen | sed 'y%./+-%__p_%'`
9777 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9778 echo $ac_n "(cached) $ac_c" 1>&6
9780 ac_save_LIBS
="$LIBS"
9782 cat > conftest.
$ac_ext <<EOF
9783 #line 9784 "configure"
9784 #include "confdefs.h"
9785 /* Override any gcc2 internal prototype to avoid an error. */
9786 /* We use char because int might match the return type of a gcc2
9787 builtin and then its argument prototype would still apply. */
9794 if { (eval echo configure
:9795: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9796 eval "ac_cv_lib_$ac_lib_var=yes"
9798 echo "configure: failed program was:" >&5
9799 cat conftest.
$ac_ext >&5
9801 eval "ac_cv_lib_$ac_lib_var=no"
9804 LIBS
="$ac_save_LIBS"
9807 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9808 echo "$ac_t""yes" 1>&6
9810 cat >> confdefs.h
<<\EOF
9811 #define HAVE_WCSLEN 1
9817 echo "$ac_t""no" 1>&6
9819 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
9820 echo "configure:9821: checking for wcslen in -lw" >&5
9821 ac_lib_var
=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
9822 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9823 echo $ac_n "(cached) $ac_c" 1>&6
9825 ac_save_LIBS
="$LIBS"
9827 cat > conftest.
$ac_ext <<EOF
9828 #line 9829 "configure"
9829 #include "confdefs.h"
9830 /* Override any gcc2 internal prototype to avoid an error. */
9831 /* We use char because int might match the return type of a gcc2
9832 builtin and then its argument prototype would still apply. */
9839 if { (eval echo configure
:9840: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9841 eval "ac_cv_lib_$ac_lib_var=yes"
9843 echo "configure: failed program was:" >&5
9844 cat conftest.
$ac_ext >&5
9846 eval "ac_cv_lib_$ac_lib_var=no"
9849 LIBS
="$ac_save_LIBS"
9852 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9853 echo "$ac_t""yes" 1>&6
9855 cat >> confdefs.h
<<\EOF
9856 #define HAVE_WCSLEN 1
9862 echo "$ac_t""no" 1>&6
9869 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
9870 echo "configure:9871: checking for vprintf" >&5
9871 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
9872 echo $ac_n "(cached) $ac_c" 1>&6
9874 cat > conftest.
$ac_ext <<EOF
9875 #line 9876 "configure"
9876 #include "confdefs.h"
9877 /* System header to define __stub macros and hopefully few prototypes,
9878 which can conflict with char vprintf(); below. */
9880 /* Override any gcc2 internal prototype to avoid an error. */
9881 /* We use char because int might match the return type of a gcc2
9882 builtin and then its argument prototype would still apply. */
9887 /* The GNU C library defines this for functions which it implements
9888 to always fail with ENOSYS. Some functions are actually named
9889 something starting with __ and the normal name is an alias. */
9890 #if defined (__stub_vprintf) || defined (__stub___vprintf)
9898 if { (eval echo configure
:9899: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9900 eval "ac_cv_func_vprintf=yes"
9902 echo "configure: failed program was:" >&5
9903 cat conftest.
$ac_ext >&5
9905 eval "ac_cv_func_vprintf=no"
9910 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
9911 echo "$ac_t""yes" 1>&6
9912 cat >> confdefs.h
<<\EOF
9913 #define HAVE_VPRINTF 1
9917 echo "$ac_t""no" 1>&6
9920 if test "$ac_cv_func_vprintf" != yes; then
9921 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
9922 echo "configure:9923: checking for _doprnt" >&5
9923 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
9924 echo $ac_n "(cached) $ac_c" 1>&6
9926 cat > conftest.
$ac_ext <<EOF
9927 #line 9928 "configure"
9928 #include "confdefs.h"
9929 /* System header to define __stub macros and hopefully few prototypes,
9930 which can conflict with char _doprnt(); below. */
9932 /* Override any gcc2 internal prototype to avoid an error. */
9933 /* We use char because int might match the return type of a gcc2
9934 builtin and then its argument prototype would still apply. */
9939 /* The GNU C library defines this for functions which it implements
9940 to always fail with ENOSYS. Some functions are actually named
9941 something starting with __ and the normal name is an alias. */
9942 #if defined (__stub__doprnt) || defined (__stub____doprnt)
9950 if { (eval echo configure
:9951: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9952 eval "ac_cv_func__doprnt=yes"
9954 echo "configure: failed program was:" >&5
9955 cat conftest.
$ac_ext >&5
9957 eval "ac_cv_func__doprnt=no"
9962 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
9963 echo "$ac_t""yes" 1>&6
9964 cat >> confdefs.h
<<\EOF
9965 #define HAVE_DOPRNT 1
9969 echo "$ac_t""no" 1>&6
9975 for ac_func
in vsnprintf
9977 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9978 echo "configure:9979: checking for $ac_func" >&5
9979 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9980 echo $ac_n "(cached) $ac_c" 1>&6
9982 cat > conftest.
$ac_ext <<EOF
9983 #line 9984 "configure"
9984 #include "confdefs.h"
9985 /* System header to define __stub macros and hopefully few prototypes,
9986 which can conflict with char $ac_func(); below. */
9988 /* Override any gcc2 internal prototype to avoid an error. */
9989 /* We use char because int might match the return type of a gcc2
9990 builtin and then its argument prototype would still apply. */
9995 /* The GNU C library defines this for functions which it implements
9996 to always fail with ENOSYS. Some functions are actually named
9997 something starting with __ and the normal name is an alias. */
9998 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10006 if { (eval echo configure
:10007: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10008 eval "ac_cv_func_$ac_func=yes"
10010 echo "configure: failed program was:" >&5
10011 cat conftest.
$ac_ext >&5
10013 eval "ac_cv_func_$ac_func=no"
10018 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10019 echo "$ac_t""yes" 1>&6
10020 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10021 cat >> confdefs.h
<<EOF
10022 #define $ac_tr_func 1
10024 cat >> confdefs.h
<<\EOF
10025 #define HAVE_VSNPRINTF 1
10029 echo "$ac_t""no" 1>&6
10030 echo "configure: warning: unsafe function sprintf will be used instead of snprintf" 1>&2
10038 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10039 ac_cpp
='$CXXCPP $CPPFLAGS'
10040 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10041 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10042 cross_compiling
=$ac_cv_prog_cxx_cross
10045 echo $ac_n "checking for vsscanf""... $ac_c" 1>&6
10046 echo "configure:10047: checking for vsscanf" >&5
10047 if eval "test \"`echo '$''{'wx_cv_func_vsscanf'+set}'`\" = set"; then
10048 echo $ac_n "(cached) $ac_c" 1>&6
10051 if test "$cross_compiling" = yes; then
10052 wx_cv_func_vsscanf
=no
10055 cat > conftest.
$ac_ext <<EOF
10056 #line 10057 "configure"
10057 #include "confdefs.h"
10059 extern "C" void exit(int);
10063 #include <stdarg.h>
10065 int try_vsscanf(const char *format, ...)
10068 va_start(ap, format);
10070 vsscanf("17", format, ap);
10078 try_vsscanf("%d", &i);
10079 return i == 17 ? 0 : 1;
10083 if { (eval echo configure
:10084: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10086 cat >> confdefs.h
<<\EOF
10087 #define HAVE_VSSCANF 1
10090 wx_cv_func_vsscanf
=yes
10093 echo "configure: failed program was:" >&5
10094 cat conftest.
$ac_ext >&5
10096 wx_cv_func_vsscanf
=no
10104 echo "$ac_t""$wx_cv_func_vsscanf" 1>&6
10107 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10108 ac_cpp
='$CPP $CPPFLAGS'
10109 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10110 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10111 cross_compiling
=$ac_cv_prog_cc_cross
10114 if test "$TOOLKIT" != "MSW"; then
10116 for ac_func
in vfork
10118 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10119 echo "configure:10120: checking for $ac_func" >&5
10120 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10121 echo $ac_n "(cached) $ac_c" 1>&6
10123 cat > conftest.
$ac_ext <<EOF
10124 #line 10125 "configure"
10125 #include "confdefs.h"
10126 /* System header to define __stub macros and hopefully few prototypes,
10127 which can conflict with char $ac_func(); below. */
10128 #include <assert.h>
10129 /* Override any gcc2 internal prototype to avoid an error. */
10130 /* We use char because int might match the return type of a gcc2
10131 builtin and then its argument prototype would still apply. */
10136 /* The GNU C library defines this for functions which it implements
10137 to always fail with ENOSYS. Some functions are actually named
10138 something starting with __ and the normal name is an alias. */
10139 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10147 if { (eval echo configure
:10148: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10149 eval "ac_cv_func_$ac_func=yes"
10151 echo "configure: failed program was:" >&5
10152 cat conftest.
$ac_ext >&5
10154 eval "ac_cv_func_$ac_func=no"
10159 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10160 echo "$ac_t""yes" 1>&6
10161 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10162 cat >> confdefs.h
<<EOF
10163 #define $ac_tr_func 1
10167 echo "$ac_t""no" 1>&6
10172 for ac_func
in timegm
10174 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10175 echo "configure:10176: checking for $ac_func" >&5
10176 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10177 echo $ac_n "(cached) $ac_c" 1>&6
10179 cat > conftest.
$ac_ext <<EOF
10180 #line 10181 "configure"
10181 #include "confdefs.h"
10182 /* System header to define __stub macros and hopefully few prototypes,
10183 which can conflict with char $ac_func(); below. */
10184 #include <assert.h>
10185 /* Override any gcc2 internal prototype to avoid an error. */
10186 /* We use char because int might match the return type of a gcc2
10187 builtin and then its argument prototype would still apply. */
10192 /* The GNU C library defines this for functions which it implements
10193 to always fail with ENOSYS. Some functions are actually named
10194 something starting with __ and the normal name is an alias. */
10195 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10203 if { (eval echo configure
:10204: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10205 eval "ac_cv_func_$ac_func=yes"
10207 echo "configure: failed program was:" >&5
10208 cat conftest.
$ac_ext >&5
10210 eval "ac_cv_func_$ac_func=no"
10215 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10216 echo "$ac_t""yes" 1>&6
10217 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10218 cat >> confdefs.h
<<EOF
10219 #define $ac_tr_func 1
10223 echo "$ac_t""no" 1>&6
10228 HAVE_SOME_SLEEP_FUNC
=0
10229 if test "$USE_BEOS" = 1; then
10230 cat >> confdefs.h
<<\EOF
10231 #define HAVE_SLEEP 1
10234 HAVE_SOME_SLEEP_FUNC
=1
10237 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
10239 for ac_func
in nanosleep
10241 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10242 echo "configure:10243: checking for $ac_func" >&5
10243 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10244 echo $ac_n "(cached) $ac_c" 1>&6
10246 cat > conftest.
$ac_ext <<EOF
10247 #line 10248 "configure"
10248 #include "confdefs.h"
10249 /* System header to define __stub macros and hopefully few prototypes,
10250 which can conflict with char $ac_func(); below. */
10251 #include <assert.h>
10252 /* Override any gcc2 internal prototype to avoid an error. */
10253 /* We use char because int might match the return type of a gcc2
10254 builtin and then its argument prototype would still apply. */
10259 /* The GNU C library defines this for functions which it implements
10260 to always fail with ENOSYS. Some functions are actually named
10261 something starting with __ and the normal name is an alias. */
10262 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10270 if { (eval echo configure
:10271: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10272 eval "ac_cv_func_$ac_func=yes"
10274 echo "configure: failed program was:" >&5
10275 cat conftest.
$ac_ext >&5
10277 eval "ac_cv_func_$ac_func=no"
10282 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10283 echo "$ac_t""yes" 1>&6
10284 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10285 cat >> confdefs.h
<<EOF
10286 #define $ac_tr_func 1
10288 cat >> confdefs.h
<<\EOF
10289 #define HAVE_NANOSLEEP 1
10293 echo "$ac_t""no" 1>&6
10294 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
10295 echo "configure:10296: checking for nanosleep in -lposix4" >&5
10296 ac_lib_var
=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
10297 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10298 echo $ac_n "(cached) $ac_c" 1>&6
10300 ac_save_LIBS
="$LIBS"
10301 LIBS
="-lposix4 $LIBS"
10302 cat > conftest.
$ac_ext <<EOF
10303 #line 10304 "configure"
10304 #include "confdefs.h"
10305 /* Override any gcc2 internal prototype to avoid an error. */
10306 /* We use char because int might match the return type of a gcc2
10307 builtin and then its argument prototype would still apply. */
10314 if { (eval echo configure
:10315: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10316 eval "ac_cv_lib_$ac_lib_var=yes"
10318 echo "configure: failed program was:" >&5
10319 cat conftest.
$ac_ext >&5
10321 eval "ac_cv_lib_$ac_lib_var=no"
10324 LIBS
="$ac_save_LIBS"
10327 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10328 echo "$ac_t""yes" 1>&6
10330 cat >> confdefs.h
<<\EOF
10331 #define HAVE_NANOSLEEP 1
10334 POSIX4_LINK
="-lposix4"
10337 echo "$ac_t""no" 1>&6
10339 for ac_func
in usleep
10341 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10342 echo "configure:10343: checking for $ac_func" >&5
10343 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10344 echo $ac_n "(cached) $ac_c" 1>&6
10346 cat > conftest.
$ac_ext <<EOF
10347 #line 10348 "configure"
10348 #include "confdefs.h"
10349 /* System header to define __stub macros and hopefully few prototypes,
10350 which can conflict with char $ac_func(); below. */
10351 #include <assert.h>
10352 /* Override any gcc2 internal prototype to avoid an error. */
10353 /* We use char because int might match the return type of a gcc2
10354 builtin and then its argument prototype would still apply. */
10359 /* The GNU C library defines this for functions which it implements
10360 to always fail with ENOSYS. Some functions are actually named
10361 something starting with __ and the normal name is an alias. */
10362 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10370 if { (eval echo configure
:10371: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10372 eval "ac_cv_func_$ac_func=yes"
10374 echo "configure: failed program was:" >&5
10375 cat conftest.
$ac_ext >&5
10377 eval "ac_cv_func_$ac_func=no"
10382 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10383 echo "$ac_t""yes" 1>&6
10384 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10385 cat >> confdefs.h
<<EOF
10386 #define $ac_tr_func 1
10390 echo "$ac_t""no" 1>&6
10394 echo "configure: warning: wxSleep() function will not work" 1>&2
10406 for ac_func
in uname gethostname
10408 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10409 echo "configure:10410: checking for $ac_func" >&5
10410 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10411 echo $ac_n "(cached) $ac_c" 1>&6
10413 cat > conftest.
$ac_ext <<EOF
10414 #line 10415 "configure"
10415 #include "confdefs.h"
10416 /* System header to define __stub macros and hopefully few prototypes,
10417 which can conflict with char $ac_func(); below. */
10418 #include <assert.h>
10419 /* Override any gcc2 internal prototype to avoid an error. */
10420 /* We use char because int might match the return type of a gcc2
10421 builtin and then its argument prototype would still apply. */
10426 /* The GNU C library defines this for functions which it implements
10427 to always fail with ENOSYS. Some functions are actually named
10428 something starting with __ and the normal name is an alias. */
10429 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10437 if { (eval echo configure
:10438: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10439 eval "ac_cv_func_$ac_func=yes"
10441 echo "configure: failed program was:" >&5
10442 cat conftest.
$ac_ext >&5
10444 eval "ac_cv_func_$ac_func=no"
10449 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10450 echo "$ac_t""yes" 1>&6
10451 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10452 cat >> confdefs.h
<<EOF
10453 #define $ac_tr_func 1
10457 echo "$ac_t""no" 1>&6
10462 for ac_func
in strtok_r
10464 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10465 echo "configure:10466: checking for $ac_func" >&5
10466 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10467 echo $ac_n "(cached) $ac_c" 1>&6
10469 cat > conftest.
$ac_ext <<EOF
10470 #line 10471 "configure"
10471 #include "confdefs.h"
10472 /* System header to define __stub macros and hopefully few prototypes,
10473 which can conflict with char $ac_func(); below. */
10474 #include <assert.h>
10475 /* Override any gcc2 internal prototype to avoid an error. */
10476 /* We use char because int might match the return type of a gcc2
10477 builtin and then its argument prototype would still apply. */
10482 /* The GNU C library defines this for functions which it implements
10483 to always fail with ENOSYS. Some functions are actually named
10484 something starting with __ and the normal name is an alias. */
10485 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10493 if { (eval echo configure
:10494: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10495 eval "ac_cv_func_$ac_func=yes"
10497 echo "configure: failed program was:" >&5
10498 cat conftest.
$ac_ext >&5
10500 eval "ac_cv_func_$ac_func=no"
10505 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10506 echo "$ac_t""yes" 1>&6
10507 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10508 cat >> confdefs.h
<<EOF
10509 #define $ac_tr_func 1
10513 echo "$ac_t""no" 1>&6
10519 for ac_func
in inet_addr
10521 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10522 echo "configure:10523: checking for $ac_func" >&5
10523 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10524 echo $ac_n "(cached) $ac_c" 1>&6
10526 cat > conftest.
$ac_ext <<EOF
10527 #line 10528 "configure"
10528 #include "confdefs.h"
10529 /* System header to define __stub macros and hopefully few prototypes,
10530 which can conflict with char $ac_func(); below. */
10531 #include <assert.h>
10532 /* Override any gcc2 internal prototype to avoid an error. */
10533 /* We use char because int might match the return type of a gcc2
10534 builtin and then its argument prototype would still apply. */
10539 /* The GNU C library defines this for functions which it implements
10540 to always fail with ENOSYS. Some functions are actually named
10541 something starting with __ and the normal name is an alias. */
10542 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10550 if { (eval echo configure
:10551: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10552 eval "ac_cv_func_$ac_func=yes"
10554 echo "configure: failed program was:" >&5
10555 cat conftest.
$ac_ext >&5
10557 eval "ac_cv_func_$ac_func=no"
10562 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10563 echo "$ac_t""yes" 1>&6
10564 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10565 cat >> confdefs.h
<<EOF
10566 #define $ac_tr_func 1
10568 cat >> confdefs.h
<<\EOF
10569 #define HAVE_INET_ADDR 1
10573 echo "$ac_t""no" 1>&6
10574 echo $ac_n "checking for inet_addr in -lnsl""... $ac_c" 1>&6
10575 echo "configure:10576: checking for inet_addr in -lnsl" >&5
10576 ac_lib_var
=`echo nsl'_'inet_addr | sed 'y%./+-%__p_%'`
10577 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10578 echo $ac_n "(cached) $ac_c" 1>&6
10580 ac_save_LIBS
="$LIBS"
10582 cat > conftest.
$ac_ext <<EOF
10583 #line 10584 "configure"
10584 #include "confdefs.h"
10585 /* Override any gcc2 internal prototype to avoid an error. */
10586 /* We use char because int might match the return type of a gcc2
10587 builtin and then its argument prototype would still apply. */
10594 if { (eval echo configure
:10595: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10596 eval "ac_cv_lib_$ac_lib_var=yes"
10598 echo "configure: failed program was:" >&5
10599 cat conftest.
$ac_ext >&5
10601 eval "ac_cv_lib_$ac_lib_var=no"
10604 LIBS
="$ac_save_LIBS"
10607 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10608 echo "$ac_t""yes" 1>&6
10611 echo "$ac_t""no" 1>&6
10612 echo $ac_n "checking for inet_addr in -lresolv""... $ac_c" 1>&6
10613 echo "configure:10614: checking for inet_addr in -lresolv" >&5
10614 ac_lib_var
=`echo resolv'_'inet_addr | sed 'y%./+-%__p_%'`
10615 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10616 echo $ac_n "(cached) $ac_c" 1>&6
10618 ac_save_LIBS
="$LIBS"
10619 LIBS
="-lresolv $LIBS"
10620 cat > conftest.
$ac_ext <<EOF
10621 #line 10622 "configure"
10622 #include "confdefs.h"
10623 /* Override any gcc2 internal prototype to avoid an error. */
10624 /* We use char because int might match the return type of a gcc2
10625 builtin and then its argument prototype would still apply. */
10632 if { (eval echo configure
:10633: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10634 eval "ac_cv_lib_$ac_lib_var=yes"
10636 echo "configure: failed program was:" >&5
10637 cat conftest.
$ac_ext >&5
10639 eval "ac_cv_lib_$ac_lib_var=no"
10642 LIBS
="$ac_save_LIBS"
10645 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10646 echo "$ac_t""yes" 1>&6
10650 echo "$ac_t""no" 1>&6
10662 for ac_func
in inet_aton
10664 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10665 echo "configure:10666: checking for $ac_func" >&5
10666 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10667 echo $ac_n "(cached) $ac_c" 1>&6
10669 cat > conftest.
$ac_ext <<EOF
10670 #line 10671 "configure"
10671 #include "confdefs.h"
10672 /* System header to define __stub macros and hopefully few prototypes,
10673 which can conflict with char $ac_func(); below. */
10674 #include <assert.h>
10675 /* Override any gcc2 internal prototype to avoid an error. */
10676 /* We use char because int might match the return type of a gcc2
10677 builtin and then its argument prototype would still apply. */
10682 /* The GNU C library defines this for functions which it implements
10683 to always fail with ENOSYS. Some functions are actually named
10684 something starting with __ and the normal name is an alias. */
10685 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10693 if { (eval echo configure
:10694: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10695 eval "ac_cv_func_$ac_func=yes"
10697 echo "configure: failed program was:" >&5
10698 cat conftest.
$ac_ext >&5
10700 eval "ac_cv_func_$ac_func=no"
10705 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10706 echo "$ac_t""yes" 1>&6
10707 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10708 cat >> confdefs.h
<<EOF
10709 #define $ac_tr_func 1
10711 cat >> confdefs.h
<<\EOF
10712 #define HAVE_INET_ATON 1
10716 echo "$ac_t""no" 1>&6
10717 echo $ac_n "checking for inet_aton in -l$INET_LINK""... $ac_c" 1>&6
10718 echo "configure:10719: checking for inet_aton in -l$INET_LINK" >&5
10719 ac_lib_var
=`echo $INET_LINK'_'inet_aton | sed 'y%./+-%__p_%'`
10720 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10721 echo $ac_n "(cached) $ac_c" 1>&6
10723 ac_save_LIBS
="$LIBS"
10724 LIBS
="-l$INET_LINK $LIBS"
10725 cat > conftest.
$ac_ext <<EOF
10726 #line 10727 "configure"
10727 #include "confdefs.h"
10728 /* Override any gcc2 internal prototype to avoid an error. */
10729 /* We use char because int might match the return type of a gcc2
10730 builtin and then its argument prototype would still apply. */
10737 if { (eval echo configure
:10738: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10739 eval "ac_cv_lib_$ac_lib_var=yes"
10741 echo "configure: failed program was:" >&5
10742 cat conftest.
$ac_ext >&5
10744 eval "ac_cv_lib_$ac_lib_var=no"
10747 LIBS
="$ac_save_LIBS"
10750 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10751 echo "$ac_t""yes" 1>&6
10752 cat >> confdefs.h
<<\EOF
10753 #define HAVE_INET_ATON 1
10757 echo "$ac_t""no" 1>&6
10765 if test "x$INET_LINK" != "x"; then
10766 cat >> confdefs.h
<<\EOF
10767 #define HAVE_INET_ADDR 1
10770 INET_LINK
="-l$INET_LINK"
10776 cat > confcache
<<\EOF
10777 # This file is a shell script that caches the results of configure
10778 # tests run on this system so they can be shared between configure
10779 # scripts and configure runs. It is not useful on other systems.
10780 # If it contains results you don't want to keep, you may remove or edit it.
10782 # By default, configure uses ./config.cache as the cache file,
10783 # creating it if it does not exist already. You can give configure
10784 # the --cache-file=FILE option to use a different cache file; that is
10785 # what configure does when it calls configure scripts in
10786 # subdirectories, so they share the cache.
10787 # Giving --cache-file=/dev/null disables caching, for debugging configure.
10788 # config.status only pays attention to the cache file if you give it the
10789 # --recheck option to rerun configure.
10792 # The following way of writing the cache mishandles newlines in values,
10793 # but we know of no workaround that is simple, portable, and efficient.
10794 # So, don't put newlines in cache variables' values.
10795 # Ultrix sh set writes to stderr and can't be redirected directly,
10796 # and sets the high bit in the cache file unless we assign to the vars.
10798 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10800 # `set' does not quote correctly, so add quotes (double-quote substitution
10801 # turns \\\\ into \\, and sed turns \\ into \).
10803 -e "s/'/'\\\\''/g" \
10804 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
10807 # `set' quotes correctly as required by POSIX, so do not add quotes.
10808 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
10811 if cmp -s $cache_file confcache
; then
10814 if test -w $cache_file; then
10815 echo "updating cache $cache_file"
10816 cat confcache
> $cache_file
10818 echo "not updating unwritable cache $cache_file"
10825 if test "$TOOLKIT" != "MSW"; then
10831 if test "$wxUSE_THREADS" = "yes" ; then
10832 if test "$wxUSE_WINE" = 1 ; then
10833 echo "configure: warning: Threads are not supported under WINE" 1>&2
10835 elif test "$USE_BEOS" = 1; then
10836 echo "configure: warning: BeOS threads are not yet supported" 1>&2
10841 if test "$wxUSE_THREADS" = "yes" ; then
10843 echo $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6
10844 echo "configure:10845: checking for pthread_create in -lpthread" >&5
10845 ac_lib_var
=`echo pthread'_'pthread_create | sed 'y%./+-%__p_%'`
10846 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10847 echo $ac_n "(cached) $ac_c" 1>&6
10849 ac_save_LIBS
="$LIBS"
10850 LIBS
="-lpthread $LIBS"
10851 cat > conftest.
$ac_ext <<EOF
10852 #line 10853 "configure"
10853 #include "confdefs.h"
10854 /* Override any gcc2 internal prototype to avoid an error. */
10855 /* We use char because int might match the return type of a gcc2
10856 builtin and then its argument prototype would still apply. */
10857 char pthread_create();
10863 if { (eval echo configure
:10864: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10865 eval "ac_cv_lib_$ac_lib_var=yes"
10867 echo "configure: failed program was:" >&5
10868 cat conftest.
$ac_ext >&5
10870 eval "ac_cv_lib_$ac_lib_var=no"
10873 LIBS
="$ac_save_LIBS"
10876 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10877 echo "$ac_t""yes" 1>&6
10879 THREADS_OBJ
="threadpsx.lo"
10880 THREADS_LINK
="pthread"
10883 echo "$ac_t""no" 1>&6
10885 echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
10886 echo "configure:10887: checking for pthread_create in -lc_r" >&5
10887 ac_lib_var
=`echo c_r'_'pthread_create | sed 'y%./+-%__p_%'`
10888 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10889 echo $ac_n "(cached) $ac_c" 1>&6
10891 ac_save_LIBS
="$LIBS"
10893 cat > conftest.
$ac_ext <<EOF
10894 #line 10895 "configure"
10895 #include "confdefs.h"
10896 /* Override any gcc2 internal prototype to avoid an error. */
10897 /* We use char because int might match the return type of a gcc2
10898 builtin and then its argument prototype would still apply. */
10899 char pthread_create();
10905 if { (eval echo configure
:10906: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10907 eval "ac_cv_lib_$ac_lib_var=yes"
10909 echo "configure: failed program was:" >&5
10910 cat conftest.
$ac_ext >&5
10912 eval "ac_cv_lib_$ac_lib_var=no"
10915 LIBS
="$ac_save_LIBS"
10918 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10919 echo "$ac_t""yes" 1>&6
10921 THREADS_OBJ
="threadpsx.lo"
10925 echo "$ac_t""no" 1>&6
10927 ac_safe
=`echo "sys/prctl.h" | sed 'y%./+-%__p_%'`
10928 echo $ac_n "checking for sys/prctl.h""... $ac_c" 1>&6
10929 echo "configure:10930: checking for sys/prctl.h" >&5
10930 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10931 echo $ac_n "(cached) $ac_c" 1>&6
10933 cat > conftest.
$ac_ext <<EOF
10934 #line 10935 "configure"
10935 #include "confdefs.h"
10936 #include <sys/prctl.h>
10938 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10939 { (eval echo configure
:10940: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10940 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10941 if test -z "$ac_err"; then
10943 eval "ac_cv_header_$ac_safe=yes"
10946 echo "configure: failed program was:" >&5
10947 cat conftest.
$ac_ext >&5
10949 eval "ac_cv_header_$ac_safe=no"
10953 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10954 echo "$ac_t""yes" 1>&6
10956 THREADS_OBJ
="threadsgi.lo"
10959 echo "$ac_t""no" 1>&6
10969 if test -z "$THREADS_OBJ" ; then
10971 echo "configure: warning: No thread support on this system" 1>&2
10975 if test "$wxUSE_THREADS" = "yes" ; then
10976 for ac_func
in thr_setconcurrency
10978 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10979 echo "configure:10980: checking for $ac_func" >&5
10980 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10981 echo $ac_n "(cached) $ac_c" 1>&6
10983 cat > conftest.
$ac_ext <<EOF
10984 #line 10985 "configure"
10985 #include "confdefs.h"
10986 /* System header to define __stub macros and hopefully few prototypes,
10987 which can conflict with char $ac_func(); below. */
10988 #include <assert.h>
10989 /* Override any gcc2 internal prototype to avoid an error. */
10990 /* We use char because int might match the return type of a gcc2
10991 builtin and then its argument prototype would still apply. */
10996 /* The GNU C library defines this for functions which it implements
10997 to always fail with ENOSYS. Some functions are actually named
10998 something starting with __ and the normal name is an alias. */
10999 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11007 if { (eval echo configure
:11008: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11009 eval "ac_cv_func_$ac_func=yes"
11011 echo "configure: failed program was:" >&5
11012 cat conftest.
$ac_ext >&5
11014 eval "ac_cv_func_$ac_func=no"
11019 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11020 echo "$ac_t""yes" 1>&6
11021 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11022 cat >> confdefs.h
<<EOF
11023 #define $ac_tr_func 1
11027 echo "$ac_t""no" 1>&6
11033 for ac_hdr
in sched.h
11035 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11036 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11037 echo "configure:11038: checking for $ac_hdr" >&5
11038 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11039 echo $ac_n "(cached) $ac_c" 1>&6
11041 cat > conftest.
$ac_ext <<EOF
11042 #line 11043 "configure"
11043 #include "confdefs.h"
11046 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11047 { (eval echo configure
:11048: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11048 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11049 if test -z "$ac_err"; then
11051 eval "ac_cv_header_$ac_safe=yes"
11054 echo "configure: failed program was:" >&5
11055 cat conftest.
$ac_ext >&5
11057 eval "ac_cv_header_$ac_safe=no"
11061 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11062 echo "$ac_t""yes" 1>&6
11063 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11064 cat >> confdefs.h
<<EOF
11065 #define $ac_tr_hdr 1
11069 echo "$ac_t""no" 1>&6
11074 echo $ac_n "checking for sched_yield in -l$THREADS_LINK""... $ac_c" 1>&6
11075 echo "configure:11076: checking for sched_yield in -l$THREADS_LINK" >&5
11076 ac_lib_var
=`echo $THREADS_LINK'_'sched_yield | sed 'y%./+-%__p_%'`
11077 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11078 echo $ac_n "(cached) $ac_c" 1>&6
11080 ac_save_LIBS
="$LIBS"
11081 LIBS
="-l$THREADS_LINK $LIBS"
11082 cat > conftest.
$ac_ext <<EOF
11083 #line 11084 "configure"
11084 #include "confdefs.h"
11085 /* Override any gcc2 internal prototype to avoid an error. */
11086 /* We use char because int might match the return type of a gcc2
11087 builtin and then its argument prototype would still apply. */
11088 char sched_yield();
11094 if { (eval echo configure
:11095: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11096 eval "ac_cv_lib_$ac_lib_var=yes"
11098 echo "configure: failed program was:" >&5
11099 cat conftest.
$ac_ext >&5
11101 eval "ac_cv_lib_$ac_lib_var=no"
11104 LIBS
="$ac_save_LIBS"
11107 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11108 echo "$ac_t""yes" 1>&6
11109 cat >> confdefs.h
<<\EOF
11110 #define HAVE_SCHED_YIELD 1
11114 echo "$ac_t""no" 1>&6
11115 echo $ac_n "checking for sched_yield in -l"posix4
"""... $ac_c" 1>&6
11116 echo "configure:11117: checking for sched_yield in -l"posix4
"" >&5
11117 ac_lib_var
=`echo "posix4"'_'sched_yield | sed 'y%./+-%__p_%'`
11118 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11119 echo $ac_n "(cached) $ac_c" 1>&6
11121 ac_save_LIBS
="$LIBS"
11122 LIBS
="-l"posix4
" $LIBS"
11123 cat > conftest.
$ac_ext <<EOF
11124 #line 11125 "configure"
11125 #include "confdefs.h"
11126 /* Override any gcc2 internal prototype to avoid an error. */
11127 /* We use char because int might match the return type of a gcc2
11128 builtin and then its argument prototype would still apply. */
11129 char sched_yield();
11135 if { (eval echo configure
:11136: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11137 eval "ac_cv_lib_$ac_lib_var=yes"
11139 echo "configure: failed program was:" >&5
11140 cat conftest.
$ac_ext >&5
11142 eval "ac_cv_lib_$ac_lib_var=no"
11145 LIBS
="$ac_save_LIBS"
11148 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11149 echo "$ac_t""yes" 1>&6
11150 cat >> confdefs.h
<<\EOF
11151 #define HAVE_SCHED_YIELD 1
11153 POSIX4_LINK
="-lposix4"
11155 echo "$ac_t""no" 1>&6
11156 echo "configure: warning: wxThread::Yield will not work properly" 1>&2
11164 echo $ac_n "checking for pthread_attr_getschedpolicy in -l$THREADS_LINK""... $ac_c" 1>&6
11165 echo "configure:11166: checking for pthread_attr_getschedpolicy in -l$THREADS_LINK" >&5
11166 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
11167 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11168 echo $ac_n "(cached) $ac_c" 1>&6
11170 ac_save_LIBS
="$LIBS"
11171 LIBS
="-l$THREADS_LINK $LIBS"
11172 cat > conftest.
$ac_ext <<EOF
11173 #line 11174 "configure"
11174 #include "confdefs.h"
11175 /* Override any gcc2 internal prototype to avoid an error. */
11176 /* We use char because int might match the return type of a gcc2
11177 builtin and then its argument prototype would still apply. */
11178 char pthread_attr_getschedpolicy();
11181 pthread_attr_getschedpolicy()
11184 if { (eval echo configure
:11185: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11186 eval "ac_cv_lib_$ac_lib_var=yes"
11188 echo "configure: failed program was:" >&5
11189 cat conftest.
$ac_ext >&5
11191 eval "ac_cv_lib_$ac_lib_var=no"
11194 LIBS
="$ac_save_LIBS"
11197 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11198 echo "$ac_t""yes" 1>&6
11199 cat >> confdefs.h
<<\EOF
11200 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
11204 echo "$ac_t""no" 1>&6
11205 echo $ac_n "checking for pthread_attr_getschedpolicy in -l"posix4
"""... $ac_c" 1>&6
11206 echo "configure:11207: checking for pthread_attr_getschedpolicy in -l"posix4
"" >&5
11207 ac_lib_var
=`echo "posix4"'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
11208 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11209 echo $ac_n "(cached) $ac_c" 1>&6
11211 ac_save_LIBS
="$LIBS"
11212 LIBS
="-l"posix4
" $LIBS"
11213 cat > conftest.
$ac_ext <<EOF
11214 #line 11215 "configure"
11215 #include "confdefs.h"
11216 /* Override any gcc2 internal prototype to avoid an error. */
11217 /* We use char because int might match the return type of a gcc2
11218 builtin and then its argument prototype would still apply. */
11219 char pthread_attr_getschedpolicy();
11222 pthread_attr_getschedpolicy()
11225 if { (eval echo configure
:11226: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11227 eval "ac_cv_lib_$ac_lib_var=yes"
11229 echo "configure: failed program was:" >&5
11230 cat conftest.
$ac_ext >&5
11232 eval "ac_cv_lib_$ac_lib_var=no"
11235 LIBS
="$ac_save_LIBS"
11238 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11239 echo "$ac_t""yes" 1>&6
11240 cat >> confdefs.h
<<\EOF
11241 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
11243 POSIX4_LINK
="-lposix4"
11245 echo "$ac_t""no" 1>&6
11246 echo "configure: warning: Setting thread priority will not work" 1>&2
11254 echo $ac_n "checking for pthread_cancel in -l$THREADS_LINK""... $ac_c" 1>&6
11255 echo "configure:11256: checking for pthread_cancel in -l$THREADS_LINK" >&5
11256 ac_lib_var
=`echo $THREADS_LINK'_'pthread_cancel | sed 'y%./+-%__p_%'`
11257 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11258 echo $ac_n "(cached) $ac_c" 1>&6
11260 ac_save_LIBS
="$LIBS"
11261 LIBS
="-l$THREADS_LINK $LIBS"
11262 cat > conftest.
$ac_ext <<EOF
11263 #line 11264 "configure"
11264 #include "confdefs.h"
11265 /* Override any gcc2 internal prototype to avoid an error. */
11266 /* We use char because int might match the return type of a gcc2
11267 builtin and then its argument prototype would still apply. */
11268 char pthread_cancel();
11274 if { (eval echo configure
:11275: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11276 eval "ac_cv_lib_$ac_lib_var=yes"
11278 echo "configure: failed program was:" >&5
11279 cat conftest.
$ac_ext >&5
11281 eval "ac_cv_lib_$ac_lib_var=no"
11284 LIBS
="$ac_save_LIBS"
11287 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11288 echo "$ac_t""yes" 1>&6
11289 cat >> confdefs.h
<<\EOF
11290 #define HAVE_PTHREAD_CANCEL 1
11294 echo "$ac_t""no" 1>&6
11295 echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
11299 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
11300 echo "configure:11301: checking for pthread_cleanup_push/pop" >&5
11301 if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
11302 echo $ac_n "(cached) $ac_c" 1>&6
11305 cat > conftest.
$ac_ext <<EOF
11306 #line 11307 "configure"
11307 #include "confdefs.h"
11308 #include <pthread.h>
11311 pthread_cleanup_push(NULL, NULL);
11312 pthread_cleanup_pop(0);
11316 if { (eval echo configure
:11317: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11319 wx_cv_func_pthread_cleanup_push
=yes
11320 cat >> confdefs.h
<<\EOF
11321 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
11326 echo "configure: failed program was:" >&5
11327 cat conftest.
$ac_ext >&5
11330 wx_cv_func_pthread_cleanup_push
=no
11337 echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
11339 THREADS_LINK
="-l$THREADS_LINK"
11344 if test "$wxUSE_THREADS" = "yes"; then
11345 cat >> confdefs.h
<<\EOF
11346 #define wxUSE_THREADS 1
11350 CFLAGS
="${CFLAGS} -D_REENTRANT"
11351 CXXFLAGS
="${CXXFLAGS} -D_REENTRANT"
11353 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
11355 if test "$ac_cv_func_strtok_r" = "yes"; then
11356 echo $ac_n "checking if -D_REENTRANT is needed""... $ac_c" 1>&6
11357 echo "configure:11358: checking if -D_REENTRANT is needed" >&5
11358 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
11359 CFLAGS
="${CFLAGS} -D_REENTRANT"
11360 CXXFLAGS
="${CXXFLAGS} -D_REENTRANT"
11361 echo "$ac_t""yes" 1>&6
11363 echo "$ac_t""no" 1>&6
11368 if test "$WXGTK13" = 1 ; then
11369 cat >> confdefs.h
<<EOF
11370 #define __WXGTK13__ $WXGTK13
11376 if test "$WXGTK12" = 1 ; then
11377 cat >> confdefs.h
<<EOF
11378 #define __WXGTK12__ $WXGTK12
11383 if test "$WXWINE" = 1 ; then
11384 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WXWINE__"
11387 if test "$wxUSE_CYGWIN" = 1 ; then
11388 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WIN95__"
11393 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
11398 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
11399 wxUSE_DEBUG_INFO
=yes
11403 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
11404 cat >> confdefs.h
<<\EOF
11408 WXDEBUG_DEFINE
="-D__WXDEBUG__"
11410 if test "$wxUSE_GTK" = 1 ; then
11411 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
11415 if test "$wxUSE_MEM_TRACING" = "yes" ; then
11416 cat >> confdefs.h
<<\EOF
11417 #define wxUSE_MEMORY_TRACING 1
11420 cat >> confdefs.h
<<\EOF
11421 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
11424 cat >> confdefs.h
<<\EOF
11425 #define wxUSE_DEBUG_NEW_ALWAYS 1
11428 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
11431 if test "$wxUSE_DMALLOC" = "yes" ; then
11432 DMALLOC_LINK
="-ldmalloc"
11436 if test "$wxUSE_PROFILE" = "yes" ; then
11442 if test "$GCC" = yes ; then
11443 if test "$wxUSE_NO_RTTI" = "yes" ; then
11444 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fno-rtti"
11446 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
11447 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fno-exceptions"
11449 if test "$wxUSE_PERMISSIVE" = "yes" ; then
11450 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
11452 if test "$wxUSE_NO_DEPS" = "no" ; then
11453 DEP_INFO_FLAGS
="-MMD"
11458 CXXFLAGS
=`echo "${CXXFLAGS}" | sed "s/\-O.//g" `
11459 CFLAGS
=`echo "${CFLAGS}" | sed "s/\-O.//g" `
11460 if test "$wxUSE_OPTIMISE" = "no" ; then
11463 if test "$GCC" = yes ; then
11466 i586
-*-*|i686
-*-* )
11467 OPTIMISE
="${OPTIMISE} "
11477 if test "$wxUSE_ZLIB" = "yes" ; then
11478 cat >> confdefs.h
<<\EOF
11479 #define wxUSE_ZLIB 1
11482 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
11486 if test "$wxUSE_LIBPNG" = "yes" ; then
11487 cat >> confdefs.h
<<\EOF
11488 #define wxUSE_LIBPNG 1
11491 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
11492 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
11496 if test "$wxUSE_LIBJPEG" = "yes" ; then
11497 cat >> confdefs.h
<<\EOF
11498 #define wxUSE_LIBJPEG 1
11501 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
11505 if test "$wxUSE_LIBTIFF" = "yes" ; then
11506 cat >> confdefs.h
<<\EOF
11507 #define wxUSE_LIBTIFF 1
11510 TIFF_INCLUDE
="-I\${top_srcdir}/src/tiff"
11513 if test "$wxUSE_OPENGL" = "yes"; then
11514 ac_safe
=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
11515 echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
11516 echo "configure:11517: checking for GL/gl.h" >&5
11517 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11518 echo $ac_n "(cached) $ac_c" 1>&6
11520 cat > conftest.
$ac_ext <<EOF
11521 #line 11522 "configure"
11522 #include "confdefs.h"
11525 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11526 { (eval echo configure
:11527: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11527 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11528 if test -z "$ac_err"; then
11530 eval "ac_cv_header_$ac_safe=yes"
11533 echo "configure: failed program was:" >&5
11534 cat conftest.
$ac_ext >&5
11536 eval "ac_cv_header_$ac_safe=no"
11540 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11541 echo "$ac_t""yes" 1>&6
11543 echo $ac_n "checking for glInitNames in -lGL""... $ac_c" 1>&6
11544 echo "configure:11545: checking for glInitNames in -lGL" >&5
11545 ac_lib_var
=`echo GL'_'glInitNames | sed 'y%./+-%__p_%'`
11546 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11547 echo $ac_n "(cached) $ac_c" 1>&6
11549 ac_save_LIBS
="$LIBS"
11550 LIBS
="-lGL wxUSE_OPENGL=0 $LIBS"
11551 cat > conftest.
$ac_ext <<EOF
11552 #line 11553 "configure"
11553 #include "confdefs.h"
11554 /* Override any gcc2 internal prototype to avoid an error. */
11555 /* We use char because int might match the return type of a gcc2
11556 builtin and then its argument prototype would still apply. */
11557 char glInitNames();
11563 if { (eval echo configure
:11564: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11565 eval "ac_cv_lib_$ac_lib_var=yes"
11567 echo "configure: failed program was:" >&5
11568 cat conftest.
$ac_ext >&5
11570 eval "ac_cv_lib_$ac_lib_var=no"
11573 LIBS
="$ac_save_LIBS"
11576 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11577 echo "$ac_t""yes" 1>&6
11580 cat >> confdefs.h
<<\EOF
11581 #define wxUSE_OPENGL 1
11584 UTILS_SUBDIRS
="$UTILS_SUBDIRS glcanvas/src"
11587 echo "$ac_t""no" 1>&6
11589 echo $ac_n "checking for glInitNames in -lMesaGL""... $ac_c" 1>&6
11590 echo "configure:11591: checking for glInitNames in -lMesaGL" >&5
11591 ac_lib_var
=`echo MesaGL'_'glInitNames | sed 'y%./+-%__p_%'`
11592 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11593 echo $ac_n "(cached) $ac_c" 1>&6
11595 ac_save_LIBS
="$LIBS"
11596 LIBS
="-lMesaGL $LIBS"
11597 cat > conftest.
$ac_ext <<EOF
11598 #line 11599 "configure"
11599 #include "confdefs.h"
11600 /* Override any gcc2 internal prototype to avoid an error. */
11601 /* We use char because int might match the return type of a gcc2
11602 builtin and then its argument prototype would still apply. */
11603 char glInitNames();
11609 if { (eval echo configure
:11610: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11611 eval "ac_cv_lib_$ac_lib_var=yes"
11613 echo "configure: failed program was:" >&5
11614 cat conftest.
$ac_ext >&5
11616 eval "ac_cv_lib_$ac_lib_var=no"
11619 LIBS
="$ac_save_LIBS"
11622 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11623 echo "$ac_t""yes" 1>&6
11625 OPENGL_LINK
="-lMesaGL"
11626 cat >> confdefs.h
<<\EOF
11627 #define wxUSE_OPENGL 1
11630 UTILS_SUBDIRS
="$UTILS_SUBDIRS glcanvas/src"
11633 echo "$ac_t""no" 1>&6
11642 echo "$ac_t""no" 1>&6
11649 if test "$wxUSE_GUI" = "yes"; then
11650 cat >> confdefs.h
<<\EOF
11651 #define wxUSE_GUI 1
11656 cat >> confdefs.h
<<\EOF
11657 #define wxUSE_NOGUI 1
11663 if test "$wxUSE_UNIX" = "yes"; then
11664 cat >> confdefs.h
<<\EOF
11665 #define wxUSE_UNIX 1
11671 if test "$wxUSE_APPLE_IEEE" = "yes"; then
11672 cat >> confdefs.h
<<\EOF
11673 #define wxUSE_APPLE_IEEE 1
11678 if test "$wxUSE_WAVE" = "yes"; then
11679 cat >> confdefs.h
<<\EOF
11680 #define wxUSE_WAVE 1
11685 if test "$wxUSE_FILE" = "yes"; then
11686 cat >> confdefs.h
<<\EOF
11687 #define wxUSE_FILE 1
11692 if test "$wxUSE_FILESYSTEM" = "yes"; then
11693 cat >> confdefs.h
<<\EOF
11694 #define wxUSE_FILESYSTEM 1
11699 if test "$wxUSE_FS_INET" = "yes"; then
11700 cat >> confdefs.h
<<\EOF
11701 #define wxUSE_FS_INET 1
11706 if test "$wxUSE_FS_ZIP" = "yes"; then
11707 cat >> confdefs.h
<<\EOF
11708 #define wxUSE_FS_ZIP 1
11713 if test "$wxUSE_ZIPSTREAM" = "yes"; then
11714 cat >> confdefs.h
<<\EOF
11715 #define wxUSE_ZIPSTREAM 1
11720 if test "$wxUSE_BUSYINFO" = "yes"; then
11721 cat >> confdefs.h
<<\EOF
11722 #define wxUSE_BUSYINFO 1
11727 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
11728 cat >> confdefs.h
<<\EOF
11729 #define wxUSE_STD_IOSTREAM 1
11734 if test "$wxUSE_TEXTFILE" = "yes"; then
11735 if test "$wxUSE_FILE" != "yes"; then
11736 echo "configure: warning: wxTextFile requires wxFile and it won't be compiled without it" 1>&2
11738 cat >> confdefs.h
<<\EOF
11739 #define wxUSE_TEXTFILE 1
11745 if test "$wxUSE_CONFIG" = "yes" ; then
11746 if test "$wxUSE_TEXTFILE" != "yes"; then
11747 echo "configure: warning: wxConfig requires wxTextFile and it won't be compiled without it" 1>&2
11749 cat >> confdefs.h
<<\EOF
11750 #define wxUSE_CONFIG 1
11753 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
11757 if test "$wxUSE_INTL" = "yes" ; then
11758 if test "$wxUSE_FILE" != "yes"; then
11759 echo "configure: warning: I18n code requires wxFile and it won't be compiled without it" 1>&2
11761 cat >> confdefs.h
<<\EOF
11762 #define wxUSE_INTL 1
11765 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
11769 if test "$wxUSE_LOG" = "yes"; then
11770 cat >> confdefs.h
<<\EOF
11771 #define wxUSE_LOG 1
11776 if test "$wxUSE_LONGLONG" = "yes"; then
11777 cat >> confdefs.h
<<\EOF
11778 #define wxUSE_LONGLONG 1
11783 if test "$wxUSE_PLOT" = "yes"; then
11784 cat >> confdefs.h
<<\EOF
11785 #define wxUSE_PLOT 1
11790 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
11791 cat >> confdefs.h
<<\EOF
11792 #define wxUSE_DIALUP_MANAGER 1
11795 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
11798 if test "$wxUSE_STREAMS" = "yes" ; then
11799 cat >> confdefs.h
<<\EOF
11800 #define wxUSE_STREAMS 1
11806 if test "$wxUSE_TIMEDATE" = "yes"; then
11807 for ac_func
in strptime
11809 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11810 echo "configure:11811: checking for $ac_func" >&5
11811 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11812 echo $ac_n "(cached) $ac_c" 1>&6
11814 cat > conftest.
$ac_ext <<EOF
11815 #line 11816 "configure"
11816 #include "confdefs.h"
11817 /* System header to define __stub macros and hopefully few prototypes,
11818 which can conflict with char $ac_func(); below. */
11819 #include <assert.h>
11820 /* Override any gcc2 internal prototype to avoid an error. */
11821 /* We use char because int might match the return type of a gcc2
11822 builtin and then its argument prototype would still apply. */
11827 /* The GNU C library defines this for functions which it implements
11828 to always fail with ENOSYS. Some functions are actually named
11829 something starting with __ and the normal name is an alias. */
11830 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11838 if { (eval echo configure
:11839: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11840 eval "ac_cv_func_$ac_func=yes"
11842 echo "configure: failed program was:" >&5
11843 cat conftest.
$ac_ext >&5
11845 eval "ac_cv_func_$ac_func=no"
11850 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11851 echo "$ac_t""yes" 1>&6
11852 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11853 cat >> confdefs.h
<<EOF
11854 #define $ac_tr_func 1
11858 echo "$ac_t""no" 1>&6
11863 echo $ac_n "checking for timezone variable in <time.h>""... $ac_c" 1>&6
11864 echo "configure:11865: checking for timezone variable in <time.h>" >&5
11865 if eval "test \"`echo '$''{'wx_cv_var_timezone'+set}'`\" = set"; then
11866 echo $ac_n "(cached) $ac_c" 1>&6
11869 cat > conftest.
$ac_ext <<EOF
11870 #line 11871 "configure"
11871 #include "confdefs.h"
11882 if { (eval echo configure
:11883: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11885 wx_cv_var_timezone
=__timezone
11888 echo "configure: failed program was:" >&5
11889 cat conftest.
$ac_ext >&5
11892 cat > conftest.
$ac_ext <<EOF
11893 #line 11894 "configure"
11894 #include "confdefs.h"
11905 if { (eval echo configure
:11906: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11908 wx_cv_var_timezone
=_timezone
11911 echo "configure: failed program was:" >&5
11912 cat conftest.
$ac_ext >&5
11915 cat > conftest.
$ac_ext <<EOF
11916 #line 11917 "configure"
11917 #include "confdefs.h"
11928 if { (eval echo configure
:11929: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11931 wx_cv_var_timezone
=timezone
11934 echo "configure: failed program was:" >&5
11935 cat conftest.
$ac_ext >&5
11937 { echo "configure: error: no timezone variable" 1>&2; exit 1; }
11953 echo "$ac_t""$wx_cv_var_timezone" 1>&6
11955 cat >> confdefs.h
<<EOF
11956 #define WX_TIMEZONE $wx_cv_var_timezone
11960 for ac_func
in localtime
11962 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11963 echo "configure:11964: checking for $ac_func" >&5
11964 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11965 echo $ac_n "(cached) $ac_c" 1>&6
11967 cat > conftest.
$ac_ext <<EOF
11968 #line 11969 "configure"
11969 #include "confdefs.h"
11970 /* System header to define __stub macros and hopefully few prototypes,
11971 which can conflict with char $ac_func(); below. */
11972 #include <assert.h>
11973 /* Override any gcc2 internal prototype to avoid an error. */
11974 /* We use char because int might match the return type of a gcc2
11975 builtin and then its argument prototype would still apply. */
11980 /* The GNU C library defines this for functions which it implements
11981 to always fail with ENOSYS. Some functions are actually named
11982 something starting with __ and the normal name is an alias. */
11983 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11991 if { (eval echo configure
:11992: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11993 eval "ac_cv_func_$ac_func=yes"
11995 echo "configure: failed program was:" >&5
11996 cat conftest.
$ac_ext >&5
11998 eval "ac_cv_func_$ac_func=no"
12003 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12004 echo "$ac_t""yes" 1>&6
12005 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12006 cat >> confdefs.h
<<EOF
12007 #define $ac_tr_func 1
12011 echo "$ac_t""no" 1>&6
12016 if test "$ac_cv_func_localtime" = "yes"; then
12017 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
12018 echo "configure:12019: checking for tm_gmtoff in struct tm" >&5
12019 if eval "test \"`echo '$''{'wx_cv_struct_tm_has_gmtoff'+set}'`\" = set"; then
12020 echo $ac_n "(cached) $ac_c" 1>&6
12023 cat > conftest.
$ac_ext <<EOF
12024 #line 12025 "configure"
12025 #include "confdefs.h"
12036 if { (eval echo configure
:12037: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12039 wx_cv_struct_tm_has_gmtoff
=yes
12040 cat >> confdefs.h
<<\EOF
12041 #define WX_GMTOFF_IN_TM 1
12046 echo "configure: failed program was:" >&5
12047 cat conftest.
$ac_ext >&5
12049 wx_cv_struct_tm_has_gmtoff
=no
12056 echo "$ac_t""$wx_cv_struct_tm_has_gmtoff" 1>&6
12059 for ac_func
in gettimeofday ftime
12061 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12062 echo "configure:12063: checking for $ac_func" >&5
12063 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12064 echo $ac_n "(cached) $ac_c" 1>&6
12066 cat > conftest.
$ac_ext <<EOF
12067 #line 12068 "configure"
12068 #include "confdefs.h"
12069 /* System header to define __stub macros and hopefully few prototypes,
12070 which can conflict with char $ac_func(); below. */
12071 #include <assert.h>
12072 /* Override any gcc2 internal prototype to avoid an error. */
12073 /* We use char because int might match the return type of a gcc2
12074 builtin and then its argument prototype would still apply. */
12079 /* The GNU C library defines this for functions which it implements
12080 to always fail with ENOSYS. Some functions are actually named
12081 something starting with __ and the normal name is an alias. */
12082 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12090 if { (eval echo configure
:12091: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12092 eval "ac_cv_func_$ac_func=yes"
12094 echo "configure: failed program was:" >&5
12095 cat conftest.
$ac_ext >&5
12097 eval "ac_cv_func_$ac_func=no"
12102 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12103 echo "$ac_t""yes" 1>&6
12104 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12105 cat >> confdefs.h
<<EOF
12106 #define $ac_tr_func 1
12110 echo "$ac_t""no" 1>&6
12115 if test "$ac_cv_func_gettimeofday" = "yes"; then
12116 echo $ac_n "checking whether gettimeofday takes two arguments""... $ac_c" 1>&6
12117 echo "configure:12118: checking whether gettimeofday takes two arguments" >&5
12118 if eval "test \"`echo '$''{'wx_cv_func_gettimeofday_has_2_args'+set}'`\" = set"; then
12119 echo $ac_n "(cached) $ac_c" 1>&6
12124 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12125 ac_cpp
='$CXXCPP $CPPFLAGS'
12126 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12127 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12128 cross_compiling
=$ac_cv_prog_cxx_cross
12131 cat > conftest.
$ac_ext <<EOF
12132 #line 12133 "configure"
12133 #include "confdefs.h"
12135 #include <sys/time.h>
12136 #include <unistd.h>
12141 struct timezone tz;
12142 gettimeofday(&tv, &tz);
12146 if { (eval echo configure
:12147: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12148 wx_cv_func_gettimeofday_has_2_args
=yes
12150 echo "configure: failed program was:" >&5
12151 cat conftest.
$ac_ext >&5
12153 cat > conftest.
$ac_ext <<EOF
12154 #line 12155 "configure"
12155 #include "confdefs.h"
12157 #include <sys/time.h>
12158 #include <unistd.h>
12167 if { (eval echo configure
:12168: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12169 wx_cv_func_gettimeofday_has_2_args
=no
12171 echo "configure: failed program was:" >&5
12172 cat conftest.
$ac_ext >&5
12174 wx_cv_func_gettimeofday_has_2_args
=unknown
12182 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12183 ac_cpp
='$CPP $CPPFLAGS'
12184 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12185 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12186 cross_compiling
=$ac_cv_prog_cc_cross
12191 echo "$ac_t""$wx_cv_func_gettimeofday_has_2_args" 1>&6
12193 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
12194 cat >> confdefs.h
<<\EOF
12195 #define WX_GETTIMEOFDAY_NO_TZ 1
12201 cat >> confdefs.h
<<\EOF
12202 #define wxUSE_TIMEDATE 1
12205 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
12209 if test "$TOOLKIT" != "MSW"; then
12211 if test "$wxUSE_SOCKETS" = "yes"; then
12212 echo $ac_n "checking for socket""... $ac_c" 1>&6
12213 echo "configure:12214: checking for socket" >&5
12214 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
12215 echo $ac_n "(cached) $ac_c" 1>&6
12217 cat > conftest.
$ac_ext <<EOF
12218 #line 12219 "configure"
12219 #include "confdefs.h"
12220 /* System header to define __stub macros and hopefully few prototypes,
12221 which can conflict with char socket(); below. */
12222 #include <assert.h>
12223 /* Override any gcc2 internal prototype to avoid an error. */
12224 /* We use char because int might match the return type of a gcc2
12225 builtin and then its argument prototype would still apply. */
12230 /* The GNU C library defines this for functions which it implements
12231 to always fail with ENOSYS. Some functions are actually named
12232 something starting with __ and the normal name is an alias. */
12233 #if defined (__stub_socket) || defined (__stub___socket)
12241 if { (eval echo configure
:12242: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12243 eval "ac_cv_func_socket=yes"
12245 echo "configure: failed program was:" >&5
12246 cat conftest.
$ac_ext >&5
12248 eval "ac_cv_func_socket=no"
12253 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
12254 echo "$ac_t""yes" 1>&6
12257 echo "$ac_t""no" 1>&6
12258 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
12259 echo "configure:12260: checking for socket in -lsocket" >&5
12260 ac_lib_var
=`echo socket'_'socket | sed 'y%./+-%__p_%'`
12261 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12262 echo $ac_n "(cached) $ac_c" 1>&6
12264 ac_save_LIBS
="$LIBS"
12265 LIBS
="-lsocket $LIBS"
12266 cat > conftest.
$ac_ext <<EOF
12267 #line 12268 "configure"
12268 #include "confdefs.h"
12269 /* Override any gcc2 internal prototype to avoid an error. */
12270 /* We use char because int might match the return type of a gcc2
12271 builtin and then its argument prototype would still apply. */
12278 if { (eval echo configure
:12279: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12280 eval "ac_cv_lib_$ac_lib_var=yes"
12282 echo "configure: failed program was:" >&5
12283 cat conftest.
$ac_ext >&5
12285 eval "ac_cv_lib_$ac_lib_var=no"
12288 LIBS
="$ac_save_LIBS"
12291 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12292 echo "$ac_t""yes" 1>&6
12293 INET_LINK
="$INET_LINK -lsocket"
12295 echo "$ac_t""no" 1>&6
12297 echo "configure: warning: socket library not found - sockets will be disabled" 1>&2
12310 if test "$wxUSE_SOCKETS" = "yes" ; then
12311 echo $ac_n "checking what is the type of the third argument of getsockname""... $ac_c" 1>&6
12312 echo "configure:12313: checking what is the type of the third argument of getsockname" >&5
12313 if eval "test \"`echo '$''{'wx_cv_type_getsockname3'+set}'`\" = set"; then
12314 echo $ac_n "(cached) $ac_c" 1>&6
12319 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12320 ac_cpp
='$CXXCPP $CPPFLAGS'
12321 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12322 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12323 cross_compiling
=$ac_cv_prog_cxx_cross
12326 cat > conftest.
$ac_ext <<EOF
12327 #line 12328 "configure"
12328 #include "confdefs.h"
12330 #include <sys/types.h>
12331 #include <sys/socket.h>
12336 getsockname(0, 0, &len);
12340 if { (eval echo configure
:12341: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12342 wx_cv_type_getsockname3
=socklen_t
12344 echo "configure: failed program was:" >&5
12345 cat conftest.
$ac_ext >&5
12347 cat > conftest.
$ac_ext <<EOF
12348 #line 12349 "configure"
12349 #include "confdefs.h"
12351 #include <sys/types.h>
12352 #include <sys/socket.h>
12357 getsockname(0, 0, &len);
12361 if { (eval echo configure
:12362: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12363 wx_cv_type_getsockname3
=size_t
12365 echo "configure: failed program was:" >&5
12366 cat conftest.
$ac_ext >&5
12368 cat > conftest.
$ac_ext <<EOF
12369 #line 12370 "configure"
12370 #include "confdefs.h"
12372 #include <sys/types.h>
12373 #include <sys/socket.h>
12378 getsockname(0, 0, &len);
12382 if { (eval echo configure
:12383: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12384 wx_cv_type_getsockname3
=int
12386 echo "configure: failed program was:" >&5
12387 cat conftest.
$ac_ext >&5
12389 wx_cv_type_getsockname3
=unknown
12401 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12402 ac_cpp
='$CPP $CPPFLAGS'
12403 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12404 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12405 cross_compiling
=$ac_cv_prog_cc_cross
12410 echo "$ac_t""$wx_cv_type_getsockname3" 1>&6
12412 if test "$wx_cv_type_getsockname3" = "unknown"; then
12414 echo "configure: warning: Couldn't find socklen_t synonym for this system" 1>&2
12416 cat >> confdefs.h
<<EOF
12417 #define SOCKLEN_T $wx_cv_type_getsockname3
12423 if test "$wxUSE_SOCKETS" = "yes" ; then
12424 cat >> confdefs.h
<<\EOF
12425 #define wxUSE_SOCKETS 1
12428 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
12429 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS protocol"
12433 if test "$TOOLKIT" != "MSW"; then
12435 if test "$wxUSE_JOYSTICK" = 1; then
12436 for ac_hdr
in linux
/joystick.h
12438 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12439 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12440 echo "configure:12441: checking for $ac_hdr" >&5
12441 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12442 echo $ac_n "(cached) $ac_c" 1>&6
12444 cat > conftest.
$ac_ext <<EOF
12445 #line 12446 "configure"
12446 #include "confdefs.h"
12449 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12450 { (eval echo configure
:12451: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12451 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12452 if test -z "$ac_err"; then
12454 eval "ac_cv_header_$ac_safe=yes"
12457 echo "configure: failed program was:" >&5
12458 cat conftest.
$ac_ext >&5
12460 eval "ac_cv_header_$ac_safe=no"
12464 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12465 echo "$ac_t""yes" 1>&6
12466 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12467 cat >> confdefs.h
<<EOF
12468 #define $ac_tr_hdr 1
12472 echo "$ac_t""no" 1>&6
12476 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
12478 echo "configure: warning: Joystick not supported yb this system" 1>&2
12484 if test "$wxUSE_JOYSTICK" = 1; then
12485 cat >> confdefs.h
<<\EOF
12486 #define wxUSE_JOYSTICK 1
12489 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
12493 if test "$TOOLKIT" != "MSW"; then
12497 if test "$wxUSE_DYNLIB_CLASS" = "yes"; then
12498 for ac_func
in dlopen
12500 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12501 echo "configure:12502: checking for $ac_func" >&5
12502 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12503 echo $ac_n "(cached) $ac_c" 1>&6
12505 cat > conftest.
$ac_ext <<EOF
12506 #line 12507 "configure"
12507 #include "confdefs.h"
12508 /* System header to define __stub macros and hopefully few prototypes,
12509 which can conflict with char $ac_func(); below. */
12510 #include <assert.h>
12511 /* Override any gcc2 internal prototype to avoid an error. */
12512 /* We use char because int might match the return type of a gcc2
12513 builtin and then its argument prototype would still apply. */
12518 /* The GNU C library defines this for functions which it implements
12519 to always fail with ENOSYS. Some functions are actually named
12520 something starting with __ and the normal name is an alias. */
12521 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12529 if { (eval echo configure
:12530: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12531 eval "ac_cv_func_$ac_func=yes"
12533 echo "configure: failed program was:" >&5
12534 cat conftest.
$ac_ext >&5
12536 eval "ac_cv_func_$ac_func=no"
12541 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12542 echo "$ac_t""yes" 1>&6
12543 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12544 cat >> confdefs.h
<<EOF
12545 #define $ac_tr_func 1
12548 cat >> confdefs.h
<<\EOF
12549 #define HAVE_DLOPEN 1
12555 echo "$ac_t""no" 1>&6
12556 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
12557 echo "configure:12558: checking for dlopen in -ldl" >&5
12558 ac_lib_var
=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
12559 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12560 echo $ac_n "(cached) $ac_c" 1>&6
12562 ac_save_LIBS
="$LIBS"
12564 cat > conftest.
$ac_ext <<EOF
12565 #line 12566 "configure"
12566 #include "confdefs.h"
12567 /* Override any gcc2 internal prototype to avoid an error. */
12568 /* We use char because int might match the return type of a gcc2
12569 builtin and then its argument prototype would still apply. */
12576 if { (eval echo configure
:12577: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12578 eval "ac_cv_lib_$ac_lib_var=yes"
12580 echo "configure: failed program was:" >&5
12581 cat conftest.
$ac_ext >&5
12583 eval "ac_cv_lib_$ac_lib_var=no"
12586 LIBS
="$ac_save_LIBS"
12589 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12590 echo "$ac_t""yes" 1>&6
12592 cat >> confdefs.h
<<\EOF
12593 #define HAVE_DLOPEN 1
12600 echo "$ac_t""no" 1>&6
12602 for ac_func
in shl_load
12604 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12605 echo "configure:12606: checking for $ac_func" >&5
12606 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12607 echo $ac_n "(cached) $ac_c" 1>&6
12609 cat > conftest.
$ac_ext <<EOF
12610 #line 12611 "configure"
12611 #include "confdefs.h"
12612 /* System header to define __stub macros and hopefully few prototypes,
12613 which can conflict with char $ac_func(); below. */
12614 #include <assert.h>
12615 /* Override any gcc2 internal prototype to avoid an error. */
12616 /* We use char because int might match the return type of a gcc2
12617 builtin and then its argument prototype would still apply. */
12622 /* The GNU C library defines this for functions which it implements
12623 to always fail with ENOSYS. Some functions are actually named
12624 something starting with __ and the normal name is an alias. */
12625 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12633 if { (eval echo configure
:12634: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12635 eval "ac_cv_func_$ac_func=yes"
12637 echo "configure: failed program was:" >&5
12638 cat conftest.
$ac_ext >&5
12640 eval "ac_cv_func_$ac_func=no"
12645 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12646 echo "$ac_t""yes" 1>&6
12647 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12648 cat >> confdefs.h
<<EOF
12649 #define $ac_tr_func 1
12652 cat >> confdefs.h
<<\EOF
12653 #define HAVE_SHL_LOAD 1
12659 echo "$ac_t""no" 1>&6
12671 if test "$HAVE_DL_FUNCS" = 0; then
12672 if test "$HAVE_SHL_FUNCS" = 0; then
12673 if test "$USE_UNIX" = 1; then
12674 echo "configure: warning: Missing dynamic loading support, several features will be disabled" 1>&2
12675 wxUSE_DYNLIB_CLASS
=no
12677 echo "configure: warning: Assuming wxLibrary class works on this platform" 1>&2
12685 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
12686 cat >> confdefs.h
<<\EOF
12687 #define wxUSE_DYNLIB_CLASS 1
12696 if test "$wxUSE_UNICODE" = "yes" ; then
12697 cat >> confdefs.h
<<\EOF
12698 #define wxUSE_UNICODE 1
12703 if test "$wxUSE_WCSRTOMBS" = "yes" ; then
12704 cat >> confdefs.h
<<\EOF
12705 #define wxUSE_WCSRTOMBS 1
12710 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
12711 cat >> confdefs.h
<<\EOF
12712 #define wxUSE_EXPERIMENTAL_PRINTF 1
12718 if test "$wxUSE_SERIAL" = "yes" ; then
12719 cat >> confdefs.h
<<\EOF
12720 #define wxUSE_SERIAL 1
12727 if test "$wxUSE_ODBC" = "yes" ; then
12728 cat >> confdefs.h
<<\EOF
12729 #define wxUSE_ODBC 1
12732 WXODBCFLAG
="-D_IODBC_"
12733 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
12734 IODBCOBJS
="\$(IODBC_OBJS)"
12740 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
12741 cat >> confdefs.h
<<\EOF
12742 #define wxUSE_POSTSCRIPT 1
12747 cat >> confdefs.h
<<\EOF
12748 #define wxUSE_AFM_FOR_POSTSCRIPT 1
12752 cat >> confdefs.h
<<\EOF
12753 #define wxUSE_NORMALIZED_PS_FONTS 1
12758 if test "$wxUSE_CONSTRAINTS" = "yes"; then
12759 cat >> confdefs.h
<<\EOF
12760 #define wxUSE_CONSTRAINTS 1
12763 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
12766 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
12767 cat >> confdefs.h
<<\EOF
12768 #define wxUSE_MDI_ARCHITECTURE 1
12771 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
12774 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
12775 cat >> confdefs.h
<<\EOF
12776 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
12779 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
12780 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
12781 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
12785 if test "$wxUSE_HELP" = "yes"; then
12786 cat >> confdefs.h
<<\EOF
12787 #define wxUSE_HELP 1
12790 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
12793 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
12794 if test "$wxUSE_CONSTRAINTS" != "yes"; then
12795 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
12797 cat >> confdefs.h
<<\EOF
12798 #define wxUSE_PRINTING_ARCHITECTURE 1
12802 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
12805 if test "$wxUSE_PROLOGIO" = "yes" ; then
12806 cat >> confdefs.h
<<\EOF
12807 #define wxUSE_PROLOGIO 1
12812 if test "$wxUSE_RESOURCES" = "yes" ; then
12813 if test "$wxUSE_PROLOGIO" = "yes" ; then
12814 cat >> confdefs.h
<<\EOF
12815 #define wxUSE_RESOURCES 1
12818 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS resource"
12820 echo "configure: warning: wxWindows ressource system requires PrologIO and can't be compiled without it." 1>&2
12824 if test "$wxUSE_X_RESOURCES" = "yes"; then
12825 cat >> confdefs.h
<<\EOF
12826 #define wxUSE_X_RESOURCES 1
12832 if test "$wxUSE_IPC" = "yes"; then
12833 cat >> confdefs.h
<<\EOF
12834 #define wxUSE_IPC 1
12839 if test "$wxUSE_CLIPBOARD" = "yes"; then
12840 cat >> confdefs.h
<<\EOF
12841 #define wxUSE_CLIPBOARD 1
12846 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
12847 if test "$wxUSE_GTK" = 1; then
12848 if test "$WXGTK12" != 1; then
12849 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2" 1>&2
12850 wxUSE_DRAG_AND_DROP
=no
12854 if test "$wxUSE_MOTIF" = 1; then
12855 echo "configure: warning: Drag and drop is not yet supported under Motif" 1>&2
12856 wxUSE_DRAG_AND_DROP
=no
12859 if test "$USE_WIN32" = 1; then
12860 for ac_hdr
in ole2.h
12862 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12863 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12864 echo "configure:12865: checking for $ac_hdr" >&5
12865 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12866 echo $ac_n "(cached) $ac_c" 1>&6
12868 cat > conftest.
$ac_ext <<EOF
12869 #line 12870 "configure"
12870 #include "confdefs.h"
12873 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12874 { (eval echo configure
:12875: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12875 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12876 if test -z "$ac_err"; then
12878 eval "ac_cv_header_$ac_safe=yes"
12881 echo "configure: failed program was:" >&5
12882 cat conftest.
$ac_ext >&5
12884 eval "ac_cv_header_$ac_safe=no"
12888 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12889 echo "$ac_t""yes" 1>&6
12890 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12891 cat >> confdefs.h
<<EOF
12892 #define $ac_tr_hdr 1
12896 echo "$ac_t""no" 1>&6
12900 if test "x$HAVE_OLE2_H" = x
; then
12901 echo "configure: warning: Drag and drop disabled because OLE headers not found" 1>&2
12902 wxUSE_DRAG_AND_DROP
=no
12906 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
12907 cat >> confdefs.h
<<\EOF
12908 #define wxUSE_DRAG_AND_DROP 1
12911 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
12916 if test "$wxUSE_SPLINES" = "yes" ; then
12917 cat >> confdefs.h
<<\EOF
12918 #define wxUSE_SPLINES 1
12924 if test "$wxUSE_ACCEL" = "yes"; then
12925 cat >> confdefs.h
<<\EOF
12926 #define wxUSE_ACCEL 1
12931 if test "$wxUSE_CARET" = "yes"; then
12932 cat >> confdefs.h
<<\EOF
12933 #define wxUSE_CARET 1
12936 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
12939 if test "$wxUSE_COMBOBOX" = "yes"; then
12940 cat >> confdefs.h
<<\EOF
12941 #define wxUSE_COMBOBOX 1
12946 if test "$wxUSE_CHOICE" = "yes"; then
12947 cat >> confdefs.h
<<\EOF
12948 #define wxUSE_CHOICE 1
12953 if test "$wxUSE_BMPBUTTON" = "yes"; then
12954 cat >> confdefs.h
<<\EOF
12955 #define wxUSE_BMPBUTTON 1
12960 if test "$wxUSE_CHECKBOX" = "yes"; then
12961 cat >> confdefs.h
<<\EOF
12962 #define wxUSE_CHECKBOX 1
12967 if test "$wxUSE_CHECKLST" = "yes"; then
12968 cat >> confdefs.h
<<\EOF
12969 #define wxUSE_CHECKLISTBOX 1
12972 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
12975 if test "$wxUSE_GAUGE" = "yes"; then
12976 cat >> confdefs.h
<<\EOF
12977 #define wxUSE_GAUGE 1
12982 if test "$wxUSE_NEW_GRID" = "yes"; then
12984 cat >> confdefs.h
<<\EOF
12985 #define wxUSE_NEW_GRID 1
12988 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS newgrid"
12991 if test "$wxUSE_GRID" = "yes"; then
12992 cat >> confdefs.h
<<\EOF
12993 #define wxUSE_GRID 1
12996 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
12999 if test "$wxUSE_IMAGLIST" = "yes"; then
13000 cat >> confdefs.h
<<\EOF
13001 #define wxUSE_IMAGLIST 1
13006 if test "$wxUSE_LISTBOX" = "yes"; then
13007 cat >> confdefs.h
<<\EOF
13008 #define wxUSE_LISTBOX 1
13013 if test "$wxUSE_LISTCTRL" = "yes"; then
13014 if test "$wxUSE_IMAGLIST" = "yes"; then
13015 cat >> confdefs.h
<<\EOF
13016 #define wxUSE_LISTCTRL 1
13019 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
13021 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
13025 if test "$wxUSE_NOTEBOOK" = "yes"; then
13026 cat >> confdefs.h
<<\EOF
13027 #define wxUSE_NOTEBOOK 1
13030 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
13033 if test "$wxUSE_RADIOBOX" = "yes"; then
13034 cat >> confdefs.h
<<\EOF
13035 #define wxUSE_RADIOBOX 1
13040 if test "$wxUSE_RADIOBTN" = "yes"; then
13041 cat >> confdefs.h
<<\EOF
13042 #define wxUSE_RADIOBTN 1
13047 if test "$wxUSE_SASH" = "yes"; then
13048 cat >> confdefs.h
<<\EOF
13049 #define wxUSE_SASH 1
13052 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
13055 if test "$wxUSE_SCROLLBAR" = "yes"; then
13056 cat >> confdefs.h
<<\EOF
13057 #define wxUSE_SCROLLBAR 1
13060 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
13063 if test "$wxUSE_SLIDER" = "yes"; then
13064 cat >> confdefs.h
<<\EOF
13065 #define wxUSE_SLIDER 1
13070 if test "$wxUSE_SPINBTN" = "yes"; then
13071 cat >> confdefs.h
<<\EOF
13072 #define wxUSE_SPINBTN 1
13077 if test "$wxUSE_SPINCTRL" = "yes"; then
13078 cat >> confdefs.h
<<\EOF
13079 #define wxUSE_SPINCTRL 1
13084 if test "$wxUSE_SPLITTER" = "yes"; then
13085 cat >> confdefs.h
<<\EOF
13086 #define wxUSE_SPLITTER 1
13089 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
13092 if test "$wxUSE_STATBMP" = "yes"; then
13093 cat >> confdefs.h
<<\EOF
13094 #define wxUSE_STATBMP 1
13099 if test "$wxUSE_STATBOX" = "yes"; then
13100 cat >> confdefs.h
<<\EOF
13101 #define wxUSE_STATBOX 1
13106 if test "$wxUSE_STATLINE" = "yes"; then
13107 if test "$wxUSE_WINE" = 1 ; then
13108 echo "configure: warning: wxStaticLine is not supported under WINE" 1>&2
13110 cat >> confdefs.h
<<\EOF
13111 #define wxUSE_STATLINE 1
13117 if test "$wxUSE_STATUSBAR" = "yes"; then
13118 cat >> confdefs.h
<<\EOF
13119 #define wxUSE_STATUSBAR 1
13123 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
13126 if test "$wxUSE_TABDIALOG" = "yes"; then
13127 cat >> confdefs.h
<<\EOF
13128 #define wxUSE_TAB_DIALOG 1
13131 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
13134 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
13135 cat >> confdefs.h
<<\EOF
13136 #define wxUSE_TOOLBAR_SIMPLE 1
13139 wxUSE_TOOLBAR
="yes"
13142 if test "$wxUSE_TOOLBAR" = "yes"; then
13143 cat >> confdefs.h
<<\EOF
13144 #define wxUSE_TOOLBAR 1
13148 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
13149 wxUSE_TOOLBAR_NATIVE
="yes"
13152 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
13155 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
13156 cat >> confdefs.h
<<\EOF
13157 #define wxUSE_TOOLBAR_NATIVE 1
13162 if test "$wxUSE_TOOLTIPS" = "yes"; then
13163 if test "$wxUSE_MOTIF" = 1; then
13164 echo "configure: warning: wxTooltip not supported yet under Motif" 1>&2
13166 if test "$wxUSE_WINE" = 1; then
13167 echo "configure: warning: wxTooltip not supported under WINE" 1>&2
13169 cat >> confdefs.h
<<\EOF
13170 #define wxUSE_TOOLTIPS 1
13177 if test "$wxUSE_TREECTRL" = "yes"; then
13178 if test "$wxUSE_IMAGLIST" = "yes"; then
13179 cat >> confdefs.h
<<\EOF
13180 #define wxUSE_TREECTRL 1
13183 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
13185 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
13191 if test "$wxUSE_METAFILE" = "yes"; then
13192 cat >> confdefs.h
<<\EOF
13193 #define wxUSE_METAFILE 1
13198 if test "$wxUSE_DIRDLG" = "yes"; then
13199 if test "$wxUSE_CONSTRAINTS" != "yes"; then
13200 echo "configure: warning: wxDirDialog requires constraints so it won't be compiled without them" 1>&2
13202 if test "$wxUSE_TREECTRL" != "yes"; then
13203 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
13205 cat >> confdefs.h
<<\EOF
13206 #define wxUSE_DIRDLG 1
13213 if test "$wxUSE_TEXTDLG" = "yes"; then
13214 cat >> confdefs.h
<<\EOF
13215 #define wxUSE_TEXTDLG 1
13220 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
13221 if test "$wxUSE_CONSTRAINTS" != "yes"; then
13222 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
13224 cat >> confdefs.h
<<\EOF
13225 #define wxUSE_STARTUP_TIPS 1
13231 if test "$wxUSE_PROGRESSDLG" = "yes"; then
13232 if test "$wxUSE_CONSTRAINTS" != "yes"; then
13233 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
13235 cat >> confdefs.h
<<\EOF
13236 #define wxUSE_PROGRESSDLG 1
13242 if test "$wxUSE_MINIFRAME" = "yes"; then
13243 cat >> confdefs.h
<<\EOF
13244 #define wxUSE_MINIFRAME 1
13247 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
13250 if test "$wxUSE_HTML" = "yes"; then
13251 cat >> confdefs.h
<<\EOF
13252 #define wxUSE_HTML 1
13255 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html"
13256 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS html"
13259 if test "$wxUSE_VALIDATORS" = "yes"; then
13260 cat >> confdefs.h
<<\EOF
13261 #define wxUSE_VALIDATORS 1
13264 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
13267 if test "$wxUSE_GIF" = "yes" ; then
13268 cat >> confdefs.h
<<\EOF
13269 #define wxUSE_GIF 1
13274 if test "$wxUSE_PCX" = "yes" ; then
13275 cat >> confdefs.h
<<\EOF
13276 #define wxUSE_PCX 1
13281 if test "$wxUSE_PNM" = "yes" ; then
13282 cat >> confdefs.h
<<\EOF
13283 #define wxUSE_PNM 1
13289 OSINFO
=`uname -s -r -m`
13290 OSINFO
="\"$OSINFO\""
13291 cat >> confdefs.h
<<EOF
13292 #define WXWIN_OS_DESCRIPTION $OSINFO
13297 GUILIBS
="$GUI_TK_LIBRARY $OPENGL_LINK $LIBPNG_LINK $ZLIB_LINK $TOOLKIT_LINK"
13299 EXTRA_LIBS
="$LIBS $POSIX4_LINK $INET_LINK $WCHAR_LINK $THREADS_LINK $DMALLOC_LINK $DL_LINK"
13300 if test "$wxUSE_GUI" = "yes"; then
13301 EXTRA_LIBS
="$EXTRA_LIBS $GUILIBS"
13304 LD_LIBS
="\${top_builddir}/lib/${WX_LIBRARY_NAME_STATIC} $EXTRA_LIBS"
13306 INCLUDES
="-I. -I\${top_builddir}/include -I\${top_srcdir}/include $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE $TOOLKIT_INCLUDE"
13308 if test "$GXX" = yes ; then
13309 CXXWARNINGS
="-Wall"
13311 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE $INCLUDES"
13313 CFLAGS
=`echo $CFLAGS $EXTRA_CFLAGS | sed 's/ \\+/ /g'`
13314 CXXFLAGS
=`echo $CXXFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
13316 LDFLAGS
="$LDFLAGS $PROFILE"
13318 if test "$wxUSE_GUI" = "yes"; then
13320 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS controls dialogs drawing dynamic \
13321 font fractal image minimal richedit"
13323 CPPFLAGS
="$CPPFLAGS \$(EXTRADEFS) \$(APPEXTRADEFS)"
13328 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
13396 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
13397 echo "configure:13398: checking whether ${MAKE-make} sets \${MAKE}" >&5
13398 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
13399 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
13400 echo $ac_n "(cached) $ac_c" 1>&6
13402 cat > conftestmake
<<\EOF
13404 @
echo 'ac_maketemp="${MAKE}"'
13406 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
13407 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
13408 if test -n "$ac_maketemp"; then
13409 eval ac_cv_prog_make_
${ac_make}_set
=yes
13411 eval ac_cv_prog_make_
${ac_make}_set
=no
13415 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
13416 echo "$ac_t""yes" 1>&6
13419 echo "$ac_t""no" 1>&6
13420 SET_MAKE
="MAKE=${MAKE-make}"
13424 if test -d include
; then
13425 if test -d include
/wx
; then
13426 if test -d include
/wx
/${TOOLKIT_DIR}; then
13427 if test -f include
/wx
/${TOOLKIT_DIR}/setup.h
; then
13428 mv -f include
/wx
/${TOOLKIT_DIR}/setup.h setup.h
13436 if test "$wxUSE_GUI" = "yes"; then
13437 echo $ac_n "checking glcanvas subdirectory to use""... $ac_c" 1>&6
13438 echo "configure:13439: checking glcanvas subdirectory to use" >&5
13439 if eval "test \"`echo '$''{'wx_cv_path_glcanvas'+set}'`\" = set"; then
13440 echo $ac_n "(cached) $ac_c" 1>&6
13443 if test "${TOOLKIT_DIR}" = "msw" ; then
13444 wx_cv_path_glcanvas
="win"
13446 wx_cv_path_glcanvas
="${TOOLKIT_DIR}"
13451 echo "$ac_t""$wx_cv_path_glcanvas" 1>&6
13453 GL_TOOLKIT_DIR
=$wx_cv_path_glcanvas
13456 wx_cv_path_samplesubdirs
=$SAMPLES_SUBDIRS
13457 subdirs
="demos samples utils"
13462 cat > confcache
<<\EOF
13463 # This file is a shell script that caches the results of configure
13464 # tests run on this system so they can be shared between configure
13465 # scripts and configure runs. It is not useful on other systems.
13466 # If it contains results you don't want to keep, you may remove or edit it.
13468 # By default, configure uses ./config.cache as the cache file,
13469 # creating it if it does not exist already. You can give configure
13470 # the --cache-file=FILE option to use a different cache file; that is
13471 # what configure does when it calls configure scripts in
13472 # subdirectories, so they share the cache.
13473 # Giving --cache-file=/dev/null disables caching, for debugging configure.
13474 # config.status only pays attention to the cache file if you give it the
13475 # --recheck option to rerun configure.
13478 # The following way of writing the cache mishandles newlines in values,
13479 # but we know of no workaround that is simple, portable, and efficient.
13480 # So, don't put newlines in cache variables' values.
13481 # Ultrix sh set writes to stderr and can't be redirected directly,
13482 # and sets the high bit in the cache file unless we assign to the vars.
13484 case `(ac_space=' '; set | grep ac_space) 2>&1` in
13486 # `set' does not quote correctly, so add quotes (double-quote substitution
13487 # turns \\\\ into \\, and sed turns \\ into \).
13489 -e "s/'/'\\\\''/g" \
13490 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
13493 # `set' quotes correctly as required by POSIX, so do not add quotes.
13494 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
13497 if cmp -s $cache_file confcache
; then
13500 if test -w $cache_file; then
13501 echo "updating cache $cache_file"
13502 cat confcache
> $cache_file
13504 echo "not updating unwritable cache $cache_file"
13509 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
13511 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
13512 # Let make expand exec_prefix.
13513 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
13515 # Any assignment to VPATH causes Sun make to only execute
13516 # the first set of double-colon rules, so remove it if not needed.
13517 # If there is a colon in the path, we need to keep it.
13518 if test "x$srcdir" = x.
; then
13519 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
13522 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
13524 DEFS
=-DHAVE_CONFIG_H
13526 # Without the "./", some shells look in PATH for config.status.
13527 : ${CONFIG_STATUS=./config.status}
13529 echo creating
$CONFIG_STATUS
13530 rm -f $CONFIG_STATUS
13531 cat > $CONFIG_STATUS <<EOF
13533 # Generated automatically by configure.
13534 # Run this file to recreate the current configuration.
13535 # This directory was configured as follows,
13536 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13538 # $0 $ac_configure_args
13540 # Compiler output produced by configure, useful for debugging
13541 # configure, is in ./config.log if it exists.
13543 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
13546 case "\$ac_option" in
13547 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13548 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
13549 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
13550 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
13551 echo "$CONFIG_STATUS generated by autoconf version 2.13"
13553 -help | --help | --hel | --he | --h)
13554 echo "\$ac_cs_usage"; exit 0 ;;
13555 *) echo "\$ac_cs_usage"; exit 1 ;;
13559 ac_given_srcdir=$srcdir
13560 ac_given_INSTALL="$INSTALL"
13562 trap 'rm -fr `echo "
13568 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
13570 cat >> $CONFIG_STATUS <<EOF
13572 # Protect against being on the right side of a sed subst in config.status.
13573 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
13574 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
13578 s%@CFLAGS@%$CFLAGS%g
13579 s%@CPPFLAGS@%$CPPFLAGS%g
13580 s%@CXXFLAGS@%$CXXFLAGS%g
13581 s%@FFLAGS@%$FFLAGS%g
13583 s%@LDFLAGS@%$LDFLAGS%g
13585 s%@exec_prefix@%$exec_prefix%g
13586 s%@prefix@%$prefix%g
13587 s%@program_transform_name@%$program_transform_name%g
13588 s%@bindir@%$bindir%g
13589 s%@sbindir@%$sbindir%g
13590 s%@libexecdir@%$libexecdir%g
13591 s%@datadir@%$datadir%g
13592 s%@sysconfdir@%$sysconfdir%g
13593 s%@sharedstatedir@%$sharedstatedir%g
13594 s%@localstatedir@%$localstatedir%g
13595 s%@libdir@%$libdir%g
13596 s%@includedir@%$includedir%g
13597 s%@oldincludedir@%$oldincludedir%g
13598 s%@infodir@%$infodir%g
13599 s%@mandir@%$mandir%g
13601 s%@host_alias@%$host_alias%g
13602 s%@host_cpu@%$host_cpu%g
13603 s%@host_vendor@%$host_vendor%g
13604 s%@host_os@%$host_os%g
13605 s%@target@%$target%g
13606 s%@target_alias@%$target_alias%g
13607 s%@target_cpu@%$target_cpu%g
13608 s%@target_vendor@%$target_vendor%g
13609 s%@target_os@%$target_os%g
13611 s%@build_alias@%$build_alias%g
13612 s%@build_cpu@%$build_cpu%g
13613 s%@build_vendor@%$build_vendor%g
13614 s%@build_os@%$build_os%g
13618 s%@CXXCPP@%$CXXCPP%g
13619 s%@RANLIB@%$RANLIB%g
13621 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
13622 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
13623 s%@INSTALL_DATA@%$INSTALL_DATA%g
13627 s%@LEXLIB@%$LEXLIB%g
13629 s%@GTK_CONFIG@%$GTK_CONFIG%g
13630 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
13631 s%@GTK_LIBS@%$GTK_LIBS%g
13632 s%@X_CFLAGS@%$X_CFLAGS%g
13633 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
13634 s%@X_LIBS@%$X_LIBS%g
13635 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
13636 s%@LEX_STEM@%$LEX_STEM%g
13637 s%@PATH_IFS@%$PATH_IFS%g
13638 s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
13639 s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
13640 s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
13641 s%@WX_LIBRARY_NAME@%$WX_LIBRARY_NAME%g
13642 s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
13643 s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
13644 s%@WX_LIBRARY@%$WX_LIBRARY%g
13645 s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
13646 s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
13647 s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
13648 s%@WX_LIBRARY_LINK3@%$WX_LIBRARY_LINK3%g
13649 s%@PROGRAM_EXT@%$PROGRAM_EXT%g
13650 s%@WX_ALL@%$WX_ALL%g
13651 s%@WX_ALL_INSTALLED@%$WX_ALL_INSTALLED%g
13652 s%@SHARED_LD@%$SHARED_LD%g
13653 s%@PIC_FLAG@%$PIC_FLAG%g
13654 s%@DEP_INFO_FLAGS@%$DEP_INFO_FLAGS%g
13655 s%@CODE_GEN_FLAGS@%$CODE_GEN_FLAGS%g
13656 s%@BURNT_LIBRARY_NAME@%$BURNT_LIBRARY_NAME%g
13657 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
13658 s%@USE_GUI@%$USE_GUI%g
13659 s%@AFMINSTALL@%$AFMINSTALL%g
13660 s%@TOOLKIT@%$TOOLKIT%g
13661 s%@TOOLKIT_DEF@%$TOOLKIT_DEF%g
13662 s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
13663 s%@TOOLKIT_INCLUDE@%$TOOLKIT_INCLUDE%g
13664 s%@GUIHEADERS@%$GUIHEADERS%g
13665 s%@GUIOBJS@%$GUIOBJS%g
13666 s%@COMMONOBJS@%$COMMONOBJS%g
13667 s%@GENERICOBJS@%$GENERICOBJS%g
13668 s%@GUIDEPS@%$GUIDEPS%g
13669 s%@COMMONDEPS@%$COMMONDEPS%g
13670 s%@GENERICDEPS@%$GENERICDEPS%g
13671 s%@IODBCOBJS@%$IODBCOBJS%g
13672 s%@UNIXOBJS@%$UNIXOBJS%g
13673 s%@UNIXDEPS@%$UNIXDEPS%g
13674 s%@ALL_OBJECTS@%$ALL_OBJECTS%g
13675 s%@ALL_DEPFILES@%$ALL_DEPFILES%g
13676 s%@GUIDIST@%$GUIDIST%g
13677 s%@PORT_FILES@%$PORT_FILES%g
13678 s%@DISTDIR@%$DISTDIR%g
13679 s%@RPM_SPEC@%$RPM_SPEC%g
13680 s%@RPM_FILES@%$RPM_FILES%g
13681 s%@SRC_SUBDIRS@%$SRC_SUBDIRS%g
13682 s%@INCLUDE_SUBDIRS@%$INCLUDE_SUBDIRS%g
13683 s%@UTILS_SUBDIRS@%$UTILS_SUBDIRS%g
13684 s%@DOCS_SUBDIRS@%$DOCS_SUBDIRS%g
13685 s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
13686 s%@USER_SUBDIRS@%$USER_SUBDIRS%g
13687 s%@EXTRA_LIBS@%$EXTRA_LIBS%g
13688 s%@EXTRADEFS@%$EXTRADEFS%g
13689 s%@LD_LIBS@%$LD_LIBS%g
13690 s%@SET_MAKE@%$SET_MAKE%g
13691 s%@GL_TOOLKIT_DIR@%$GL_TOOLKIT_DIR%g
13692 s%@subdirs@%$subdirs%g
13697 cat >> $CONFIG_STATUS <<\EOF
13699 # Split the substitutions into bite-sized pieces for seds with
13700 # small command number limits, like on Digital OSF/1 and HP-UX.
13701 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
13702 ac_file
=1 # Number of current file.
13703 ac_beg
=1 # First line for current file.
13704 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
13707 while $ac_more_lines; do
13708 if test $ac_beg -gt 1; then
13709 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
13711 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
13713 if test ! -s conftest.s
$ac_file; then
13714 ac_more_lines
=false
13715 rm -f conftest.s
$ac_file
13717 if test -z "$ac_sed_cmds"; then
13718 ac_sed_cmds
="sed -f conftest.s$ac_file"
13720 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
13722 ac_file
=`expr $ac_file + 1`
13724 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
13727 if test -z "$ac_sed_cmds"; then
13732 cat >> $CONFIG_STATUS <<EOF
13734 CONFIG_FILES=\${CONFIG_FILES-"wx-config
13741 cat >> $CONFIG_STATUS <<\EOF
13742 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
13743 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
13745 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
13746 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
13747 *) ac_file_in
="${ac_file}.in" ;;
13750 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
13752 # Remove last slash and all that follows it. Not all systems have dirname.
13753 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
13754 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
13755 # The file is in a subdirectory.
13756 test ! -d "$ac_dir" && mkdir "$ac_dir"
13757 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
13758 # A "../" for each directory in $ac_dir_suffix.
13759 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
13761 ac_dir_suffix
= ac_dots
=
13764 case "$ac_given_srcdir" in
13766 if test -z "$ac_dots"; then top_srcdir
=.
13767 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
13768 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
13769 *) # Relative path.
13770 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
13771 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
13774 case "$ac_given_INSTALL" in
13775 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
13776 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
13779 echo creating
"$ac_file"
13781 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
13783 *Makefile
*) ac_comsub
="1i\\
13784 # $configure_input" ;;
13788 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
13790 s%@configure_input@%$configure_input%g
13791 s%@srcdir@%$srcdir%g
13792 s%@top_srcdir@%$top_srcdir%g
13793 s%@INSTALL@%$INSTALL%g
13794 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
13798 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
13799 # NAME is the cpp macro being defined and VALUE is the value it is being given.
13801 # ac_d sets the value in "#define NAME VALUE" lines.
13802 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
13803 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
13806 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
13807 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
13808 ac_uB
='\([ ]\)%\1#\2define\3'
13811 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
13812 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
13813 ac_eB
='$%\1#\2define\3'
13817 if test "${CONFIG_HEADERS+set}" != set; then
13819 cat >> $CONFIG_STATUS <<EOF
13820 CONFIG_HEADERS="setup.h:setup.h.in"
13822 cat >> $CONFIG_STATUS <<\EOF
13824 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
13825 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
13827 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
13828 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
13829 *) ac_file_in
="${ac_file}.in" ;;
13832 echo creating
$ac_file
13834 rm -f conftest.frag conftest.
in conftest.out
13835 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
13836 cat $ac_file_inputs > conftest.
in
13840 # Transform confdefs.h into a sed script conftest.vals that substitutes
13841 # the proper values into config.h.in to produce config.h. And first:
13842 # Protect against being on the right side of a sed subst in config.status.
13843 # Protect against being in an unquoted here document in config.status.
13844 rm -f conftest.vals
13845 cat > conftest.hdr
<<\EOF
13848 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
13852 sed -n -f conftest.hdr confdefs.h > conftest.vals
13855 # This sed command replaces #undef with comments. This is necessary, for
13856 # example, in the case of _POSIX_SOURCE, which is predefined and required
13857 # on some systems where configure will not decide to define it.
13858 cat >> conftest.vals <<\EOF
13859 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
13862 # Break up conftest.vals because some shells have a limit on
13863 # the size of here documents, and old seds have small limits too.
13865 rm -f conftest.tail
13868 ac_lines=`grep -c . conftest.vals
`
13869 # grep -c gives empty output for an empty file on some AIX systems.
13870 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
13871 # Write a limited-size here document to conftest.frag.
13872 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
13873 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
13875 sed -f conftest.frag conftest.in > conftest.out
13877 mv conftest.out conftest.in
13878 ' >> $CONFIG_STATUS
13879 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
13880 rm -f conftest.vals
13881 mv conftest.tail conftest.vals
13883 rm -f conftest.vals
13885 cat >> $CONFIG_STATUS <<\EOF
13886 rm -f conftest.frag conftest.h
13887 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
13888 cat conftest.in >> conftest.h
13890 if cmp -s $ac_file conftest.h 2>/dev/null; then
13891 echo "$ac_file is unchanged"
13894 # Remove last slash and all that follows it. Not all systems have dirname.
13895 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
13896 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
13897 # The file is in a subdirectory.
13898 test ! -d "$ac_dir" && mkdir "$ac_dir"
13901 mv conftest.h $ac_file
13906 cat >> $CONFIG_STATUS <<EOF
13908 TOOLKIT_DIR="${TOOLKIT_DIR}"
13913 cat >> $CONFIG_STATUS <<\EOF
13916 mv wx-config wx${TOOLKIT_DIR}-config
13917 ${LN_S} wx${TOOLKIT_DIR}-config wx-config
13920 if test ! -d lib; then
13923 if test ! -d lib/wx; then
13926 if test ! -d lib/wx/include; then
13927 mkdir lib/wx/include
13929 if test ! -d lib/wx/include/wx; then
13930 mkdir lib/wx/include/wx
13932 if test ! -d lib/wx/include/wx/${TOOLKIT_DIR}; then
13933 mkdir lib/wx/include/wx/${TOOLKIT_DIR}
13935 if test -f setup.h; then
13936 cp -f setup.h lib/wx/include/wx/${TOOLKIT_DIR}/setup.h
13940 if test ! -d include; then
13943 if test ! -d include/wx; then
13946 if test ! -d include/wx/${TOOLKIT_DIR}; then
13947 mkdir include/wx/${TOOLKIT_DIR}
13949 if test -f setup.h; then
13950 mv -f setup.h include/wx/${TOOLKIT_DIR}/setup.h
13956 chmod +x $CONFIG_STATUS
13957 rm -fr confdefs* $ac_clean_files
13958 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
13960 if test "$no_recursion" != yes; then
13962 # Remove --cache-file and --srcdir arguments so they do not pile up.
13963 ac_sub_configure_args=
13965 for ac_arg in $ac_configure_args; do
13966 if test -n "$ac_prev"; then
13971 -cache-file | --cache-file | --cache-fil | --cache-fi \
13972 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
13973 ac_prev=cache_file ;;
13974 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
13975 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
13977 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
13979 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
13981 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
13985 for ac_config_dir in demos samples utils; do
13987 # Do not complain, so a configure script can configure whichever
13988 # parts of a large source tree are present.
13989 if test ! -d $srcdir/$ac_config_dir; then
13993 echo configuring in $ac_config_dir
13998 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
14000 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
14008 # A "../" for each directory in /$ac_config_dir.
14009 ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
14012 .) # No --srcdir option. We are building in place.
14013 ac_sub_srcdir=$srcdir ;;
14014 /*) # Absolute path.
14015 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
14016 *) # Relative path.
14017 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
14020 # Check for guested configure; otherwise get Cygnus style configure.
14021 if test -f $ac_sub_srcdir/configure; then
14022 ac_sub_configure=$ac_sub_srcdir/configure
14023 elif test -f $ac_sub_srcdir/configure.in; then
14024 ac_sub_configure=$ac_configure
14026 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
14030 # The recursion is here.
14031 if test -n "$ac_sub_configure"; then
14033 # Make the cache file name correct relative to the subdirectory.
14034 case "$cache_file" in
14035 /*) ac_sub_cache_file=$cache_file ;;
14036 *) # Relative path.
14037 ac_sub_cache_file="$ac_dots$cache_file" ;;
14039 case "$ac_given_INSTALL" in
14040 [/$]*) INSTALL="$ac_given_INSTALL" ;;
14041 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
14044 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
14045 # The eval makes quoting arguments work.
14046 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
14049 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }