3 # From configure.in Id: configure.in
42 # Guess values for system-dependent variables and create Makefiles.
43 # Generated automatically using autoconf version 2.13
44 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
46 # This configure script is free software; the Free Software Foundation
47 # gives unlimited permission to copy, distribute and modify it.
51 ac_default_prefix
=/usr
/local
52 # Any additions from configure.in:
54 --enable-gui use GUI classes"
58 --with-motif use Motif/Lesstif"
62 --with-cygwin use Cygwin for MS-Windows"
64 --with-mingw use GCC Minimal MS-Windows"
66 --with-pm use OS/2 Presentation Manager"
68 --with-gtk-prefix=PFX Prefix where GTK is installed"
70 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed"
72 --with-libpng use libpng (PNG image format)"
74 --with-libjpeg use libjpeg (JPEG file format)"
76 --with-libtiff use libtiff (TIFF file format)"
78 --with-opengl use OpenGL (or Mesa)"
80 --with-dmalloc use dmalloc library (www.letters.com/dmalloc)"
82 --with-zlib use zlib for LZW compression"
84 --with-odbc use the IODBC and wxODBC classes"
86 --enable-shared create shared library code"
88 --enable-burnt_name create set name in shared library "
90 --enable-optimise create optimised code"
92 --enable-debug same as debug_flag and debug_info"
94 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)"
96 --enable-debug_info create code with debugging information"
98 --enable-debug_gdb create code with extra GDB debugging information"
100 --enable-debug_cntxt use wxDebugContext"
102 --enable-mem_tracing create code with memory tracing"
104 --enable-profile create code with profiling information"
106 --enable-no_rtti create code without RTTI information"
108 --enable-no_exceptions create code without exceptions information"
110 --enable-permissive compile code disregarding strict ANSI"
112 --enable-no_deps create code without dependency information"
114 --enable-intl use internationalization system"
116 --enable-config use wxConfig (and derived) classes"
118 --enable-sockets use socket/network classes"
120 --enable-dialupman use dialup network classes"
122 --enable-ipc use interprocess communication (wxSocket etc.)"
124 --enable-apple_ieee use the Apple IEEE codec"
126 --enable-timedate use date/time classes"
128 --enable-wave use wxWave class"
130 --enable-fraction use wxFraction class"
132 --enable-dynlib use wxLibrary class for DLL loading"
134 --enable-longlong use wxLongLong class"
136 --enable-log use logging system"
138 --enable-streams use wxStream etc classes"
140 --enable-file use wxFile classes"
142 --enable-textfile use wxTextFile classes"
144 --enable-unicode compile wxString with Unicode support"
146 --enable-wcsrtombs use wcsrtombs instead of buggy (GNU libc1/Linux libc5) wcstombs"
148 --enable-wxprintfv use wxWindows implementation of vprintf()"
150 --enable-joystick compile in joystick support (Linux only)"
152 --enable-std_iostreams use standard C++ stream classes"
154 --enable-filesystem use virtual file systems classes"
156 --enable-fs_inet use virtual HTTP/FTP filesystems"
158 --enable-fs_zip use virtual ZIP filesystems"
160 --enable-zipstream use wxZipInputStream"
162 --enable-threads use threads"
164 --enable-serial use class serialization"
166 --enable-docview use document view architecture"
168 --enable-help use help (using external browser at present)"
170 --enable-constraints use layout-constraints system"
172 --enable-printarch use printing architecture"
174 --enable-mdi use multiple document interface architecture"
176 --enable-postscript use wxPostscriptDC device context (default for gtk+)"
178 --enable-prologio use Prolog IO library"
180 --enable-resources use wxWindows resources"
182 --enable-xresources use X resources for save (default for gtk+)"
184 --enable-clipboard use wxClipboard classes"
186 --enable-dnd use Drag'n'Drop classes"
188 --enable-wxtree make wxTree library"
190 --enable-controls use all usual controls"
192 --enable-accel use accelerators"
194 --enable-caret use wxCaret class"
196 --enable-bmpbutton use wxBitmapButton class"
198 --enable-checkbox use wxCheckBox class"
200 --enable-checklst use wxCheckListBox (listbox with checkboxes) class"
202 --enable-choice use wxChoice class"
204 --enable-combobox use wxComboBox classes"
206 --enable-gauge use wxGauge class"
208 --enable-grid use wxGrid class"
210 --enable-newgrid use new wxGrid class"
212 --enable-imaglist use wxImageList class"
214 --enable-listbox use wxListBox class"
216 --enable-listctrl use wxListCtrl class"
218 --enable-notebook use wxNotebook class"
220 --enable-radiobox use wxRadioBox class"
222 --enable-radiobtn use wxRadioButton class"
224 --enable-sash use wxSashWindow class"
226 --enable-scrollbar use wxScrollBar class and scrollable windows"
228 --enable-slider use wxSlider class"
230 --enable-spinbtn use wxSpinButton class"
232 --enable-spinctrl use wxSpinCtrl class"
234 --enable-splitter use wxSplitterWindow class"
236 --enable-statbmp use wxStaticBitmap class"
238 --enable-statbox use wxStaticBox class"
240 --enable-statline use wxStaticLine class"
242 --enable-statusbar use wxStatusBar class"
244 --enable-tabdialog use wxTabControl class"
246 --enable-toolbar use wxToolBar class"
248 --enable-tbarnative use native wxToolBar class"
250 --enable-tbarsmpl use wxToolBarSimple class"
252 --enable-treectrl use wxTreeCtrl class"
254 --enable-commondlg use common dialogs (wxDirDialog, wxProgressDialog, wxTextDialog, ...)"
256 --enable-dirdlg use wxDirDialog"
258 --enable-textdlg use wxTextDialog"
260 --enable-tipdlg use startup tips"
262 --enable-progressdlg use wxProgressDialog"
264 --enable-miniframe use wxMiniFrame class"
266 --enable-html use wxHTML sub-library"
268 --enable-tooltips use wxToolTip class"
270 --enable-splines use spline drawing code"
272 --enable-validators use wxValidator and derived classes"
274 --enable-busyinfo use wxBusyInfo"
276 --enable-plot use wxPlot"
278 --enable-gif use gif images (GIF file format)"
280 --enable-pcx use pcx images (PCX file format)"
282 --enable-pnm use pnm images (PNM file format)"
284 --with-x use the X Window System"
286 # Initialize some variables set by options.
287 # The variables have the same names as the options, with
288 # dashes changed to underlines.
290 cache_file
=.
/config.cache
299 program_transform_name
=s
,x
,x
,
307 bindir
='${exec_prefix}/bin'
308 sbindir
='${exec_prefix}/sbin'
309 libexecdir
='${exec_prefix}/libexec'
310 datadir
='${prefix}/share'
311 sysconfdir
='${prefix}/etc'
312 sharedstatedir
='${prefix}/com'
313 localstatedir
='${prefix}/var'
314 libdir
='${exec_prefix}/lib'
315 includedir
='${prefix}/include'
316 oldincludedir
='/usr/include'
317 infodir
='${prefix}/info'
318 mandir
='${prefix}/man'
320 # Initialize some other variables.
323 SHELL
=${CONFIG_SHELL-/bin/sh}
324 # Maximum number of lines to put in a shell here document.
331 # If the previous option needs an argument, assign it.
332 if test -n "$ac_prev"; then
333 eval "$ac_prev=\$ac_option"
339 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
343 # Accept the important Cygnus configure options, so we can diagnose typos.
347 -bindir | --bindir | --bindi | --bind | --bin | --bi)
349 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
350 bindir
="$ac_optarg" ;;
352 -build | --build | --buil | --bui | --bu)
354 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
355 build
="$ac_optarg" ;;
357 -cache-file | --cache-file | --cache-fil | --cache-fi \
358 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
359 ac_prev
=cache_file
;;
360 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
361 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
362 cache_file
="$ac_optarg" ;;
364 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
366 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
368 datadir
="$ac_optarg" ;;
370 -disable-* | --disable-*)
371 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
372 # Reject names that are not valid shell variable names.
373 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
374 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
376 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
377 eval "enable_${ac_feature}=no" ;;
379 -enable-* | --enable-*)
380 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
381 # Reject names that are not valid shell variable names.
382 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
383 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
385 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
390 eval "enable_${ac_feature}='$ac_optarg'" ;;
392 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
393 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
394 | --exec | --exe | --ex)
395 ac_prev
=exec_prefix
;;
396 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
397 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
398 | --exec=* | --exe=* | --ex=*)
399 exec_prefix
="$ac_optarg" ;;
401 -gas | --gas | --ga | --g)
402 # Obsolete; use --with-gas.
405 -help | --help | --hel | --he)
406 # Omit some internal or obsolete options to make the list less imposing.
407 # This message is too long to be a string in the A/UX 3.1 sh.
409 Usage: configure [options] [host]
410 Options: [defaults in brackets after descriptions]
412 --cache-file=FILE cache test results in FILE
413 --help print this message
414 --no-create do not create output files
415 --quiet, --silent do not print \`checking...' messages
416 --version print the version of autoconf that created configure
417 Directory and file names:
418 --prefix=PREFIX install architecture-independent files in PREFIX
420 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
422 --bindir=DIR user executables in DIR [EPREFIX/bin]
423 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
424 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
425 --datadir=DIR read-only architecture-independent data in DIR
427 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
428 --sharedstatedir=DIR modifiable architecture-independent data in DIR
430 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
431 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
432 --includedir=DIR C header files in DIR [PREFIX/include]
433 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
434 --infodir=DIR info documentation in DIR [PREFIX/info]
435 --mandir=DIR man documentation in DIR [PREFIX/man]
436 --srcdir=DIR find the sources in DIR [configure dir or ..]
437 --program-prefix=PREFIX prepend PREFIX to installed program names
438 --program-suffix=SUFFIX append SUFFIX to installed program names
439 --program-transform-name=PROGRAM
440 run sed PROGRAM on installed program names
444 --build=BUILD configure for building on BUILD [BUILD=HOST]
445 --host=HOST configure for HOST [guessed]
446 --target=TARGET configure for TARGET [TARGET=HOST]
447 Features and packages:
448 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
449 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
450 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
451 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
452 --x-includes=DIR X include files are in DIR
453 --x-libraries=DIR X library files are in DIR
455 if test -n "$ac_help"; then
456 echo "--enable and --with options recognized:$ac_help"
460 -host | --host | --hos | --ho)
462 -host=* | --host=* | --hos=* | --ho=*)
465 -includedir | --includedir | --includedi | --included | --include \
466 | --includ | --inclu | --incl | --inc)
467 ac_prev
=includedir
;;
468 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
469 | --includ=* | --inclu=* | --incl=* | --inc=*)
470 includedir
="$ac_optarg" ;;
472 -infodir | --infodir | --infodi | --infod | --info | --inf)
474 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
475 infodir
="$ac_optarg" ;;
477 -libdir | --libdir | --libdi | --libd)
479 -libdir=* | --libdir=* | --libdi=* | --libd=*)
480 libdir
="$ac_optarg" ;;
482 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
483 | --libexe | --libex | --libe)
484 ac_prev
=libexecdir
;;
485 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
486 | --libexe=* | --libex=* | --libe=*)
487 libexecdir
="$ac_optarg" ;;
489 -localstatedir | --localstatedir | --localstatedi | --localstated \
490 | --localstate | --localstat | --localsta | --localst \
491 | --locals | --local | --loca | --loc | --lo)
492 ac_prev
=localstatedir
;;
493 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
494 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
495 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
496 localstatedir
="$ac_optarg" ;;
498 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
500 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
501 mandir
="$ac_optarg" ;;
504 # Obsolete; use --without-fp.
507 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
511 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
512 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
515 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
516 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
517 | --oldin | --oldi | --old | --ol | --o)
518 ac_prev
=oldincludedir
;;
519 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
520 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
521 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
522 oldincludedir
="$ac_optarg" ;;
524 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
526 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
527 prefix
="$ac_optarg" ;;
529 -program-prefix | --program-prefix | --program-prefi | --program-pref \
530 | --program-pre | --program-pr | --program-p)
531 ac_prev
=program_prefix
;;
532 -program-prefix=* | --program-prefix=* | --program-prefi=* \
533 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
534 program_prefix
="$ac_optarg" ;;
536 -program-suffix | --program-suffix | --program-suffi | --program-suff \
537 | --program-suf | --program-su | --program-s)
538 ac_prev
=program_suffix
;;
539 -program-suffix=* | --program-suffix=* | --program-suffi=* \
540 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
541 program_suffix
="$ac_optarg" ;;
543 -program-transform-name | --program-transform-name \
544 | --program-transform-nam | --program-transform-na \
545 | --program-transform-n | --program-transform- \
546 | --program-transform | --program-transfor \
547 | --program-transfo | --program-transf \
548 | --program-trans | --program-tran \
549 | --progr-tra | --program-tr | --program-t)
550 ac_prev
=program_transform_name
;;
551 -program-transform-name=* | --program-transform-name=* \
552 | --program-transform-nam=* | --program-transform-na=* \
553 | --program-transform-n=* | --program-transform-=* \
554 | --program-transform=* | --program-transfor=* \
555 | --program-transfo=* | --program-transf=* \
556 | --program-trans=* | --program-tran=* \
557 | --progr-tra=* | --program-tr=* | --program-t=*)
558 program_transform_name
="$ac_optarg" ;;
560 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
561 | -silent | --silent | --silen | --sile | --sil)
564 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
566 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
568 sbindir
="$ac_optarg" ;;
570 -sharedstatedir | --sharedstatedir | --sharedstatedi \
571 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
572 | --sharedst | --shareds | --shared | --share | --shar \
574 ac_prev
=sharedstatedir
;;
575 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
576 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
577 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
579 sharedstatedir
="$ac_optarg" ;;
581 -site | --site | --sit)
583 -site=* | --site=* | --sit=*)
586 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
588 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
589 srcdir
="$ac_optarg" ;;
591 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
592 | --syscon | --sysco | --sysc | --sys | --sy)
593 ac_prev
=sysconfdir
;;
594 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
595 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
596 sysconfdir
="$ac_optarg" ;;
598 -target | --target | --targe | --targ | --tar | --ta | --t)
600 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
601 target
="$ac_optarg" ;;
603 -v | -verbose | --verbose | --verbos | --verbo | --verb)
606 -version | --version | --versio | --versi | --vers)
607 echo "configure generated by autoconf version 2.13"
611 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
612 # Reject names that are not valid shell variable names.
613 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
614 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
616 ac_package
=`echo $ac_package| sed 's/-/_/g'`
621 eval "with_${ac_package}='$ac_optarg'" ;;
623 -without-* | --without-*)
624 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
625 # Reject names that are not valid shell variable names.
626 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
627 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
629 ac_package
=`echo $ac_package| sed 's/-/_/g'`
630 eval "with_${ac_package}=no" ;;
633 # Obsolete; use --with-x.
636 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
637 | --x-incl | --x-inc | --x-in | --x-i)
638 ac_prev
=x_includes
;;
639 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
640 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
641 x_includes
="$ac_optarg" ;;
643 -x-libraries | --x-libraries | --x-librarie | --x-librari \
644 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
645 ac_prev
=x_libraries
;;
646 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
647 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
648 x_libraries
="$ac_optarg" ;;
650 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
654 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
655 echo "configure: warning: $ac_option: invalid host type" 1>&2
657 if test "x$nonopt" != xNONE
; then
658 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
666 if test -n "$ac_prev"; then
667 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
670 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
672 # File descriptor usage:
675 # 2 errors and warnings
676 # 3 some systems may open it to /dev/tty
677 # 4 used on the Kubota Titan
678 # 6 checking for... messages and results
679 # 5 compiler messages saved in config.log
680 if test "$silent" = yes; then
688 This file contains any messages produced by compilers while
689 running configure, to aid debugging if configure makes a mistake.
692 # Strip out --no-create and --no-recursion so they do not pile up.
693 # Also quote any args containing shell metacharacters.
698 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
699 | --no-cr | --no-c) ;;
700 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
701 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
702 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
703 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
704 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
709 # Only set these to C if already set. These must not be set unconditionally
710 # because not all systems understand e.g. LANG=C (notably SCO).
711 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
712 # Non-C LC_CTYPE values break the ctype check.
713 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
714 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
715 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
716 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
718 # confdefs.h avoids OS command line length limits that DEFS can exceed.
719 rm -rf conftest
* confdefs.h
720 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
723 # A filename unique to this package, relative to the directory that
724 # configure is in, which we can look for to find out if srcdir is correct.
725 ac_unique_file
=wx
-config.
in
727 # Find the source files, if location was not specified.
728 if test -z "$srcdir"; then
729 ac_srcdir_defaulted
=yes
730 # Try the directory containing this script, then its parent.
732 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
733 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
735 if test ! -r $srcdir/$ac_unique_file; then
739 ac_srcdir_defaulted
=no
741 if test ! -r $srcdir/$ac_unique_file; then
742 if test "$ac_srcdir_defaulted" = yes; then
743 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
745 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
748 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
750 # Prefer explicitly selected file to automatically selected ones.
751 if test -z "$CONFIG_SITE"; then
752 if test "x$prefix" != xNONE
; then
753 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
755 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
758 for ac_site_file
in $CONFIG_SITE; do
759 if test -r "$ac_site_file"; then
760 echo "loading site script $ac_site_file"
765 if test -r "$cache_file"; then
766 echo "loading cache $cache_file"
769 echo "creating cache $cache_file"
774 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
775 ac_cpp
='$CPP $CPPFLAGS'
776 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
777 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
778 cross_compiling
=$ac_cv_prog_cc_cross
782 if (echo "testing\c"; echo 1,2,3) | grep c
>/dev
/null
; then
783 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
784 if (echo -n testing
; echo 1,2,3) | sed s
/-n/xn
/ | grep xn
>/dev
/null
; then
791 ac_n
= ac_c
='\c' ac_t
=
797 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
798 if test -f $ac_dir/install-sh; then
800 ac_install_sh
="$ac_aux_dir/install-sh -c"
802 elif test -f $ac_dir/install.sh
; then
804 ac_install_sh
="$ac_aux_dir/install.sh -c"
808 if test -z "$ac_aux_dir"; then
809 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
811 ac_config_guess
=$ac_aux_dir/config.guess
812 ac_config_sub
=$ac_aux_dir/config.sub
813 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
816 # Do some error checking and defaulting for the host and target type.
818 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
821 # 1. You are not allowed to specify --host, --target, and nonopt at the
823 # 2. Host defaults to nonopt.
824 # 3. If nonopt is not specified, then host defaults to the current host,
825 # as determined by config.guess.
826 # 4. Target and build default to nonopt.
827 # 5. If nonopt is not specified, then target and build default to host.
829 # The aliases save the names the user supplied, while $host etc.
830 # will get canonicalized.
831 case $host---$target---$nonopt in
832 NONE
---*---* | *---NONE---* | *---*---NONE) ;;
833 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
837 # Make sure we can run config.sub.
838 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
839 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
842 echo $ac_n "checking host system type""... $ac_c" 1>&6
843 echo "configure:844: checking host system type" >&5
846 case "$host_alias" in
850 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
851 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
853 *) host_alias
=$nonopt ;;
857 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
858 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
859 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
860 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
861 echo "$ac_t""$host" 1>&6
863 echo $ac_n "checking target system type""... $ac_c" 1>&6
864 echo "configure:865: checking target system type" >&5
867 case "$target_alias" in
870 NONE
) target_alias
=$host_alias ;;
871 *) target_alias
=$nonopt ;;
875 target
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
876 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
877 target_vendor
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
878 target_os
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
879 echo "$ac_t""$target" 1>&6
881 echo $ac_n "checking build system type""... $ac_c" 1>&6
882 echo "configure:883: checking build system type" >&5
885 case "$build_alias" in
888 NONE
) build_alias
=$host_alias ;;
889 *) build_alias
=$nonopt ;;
893 build
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
894 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
895 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
896 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
897 echo "$ac_t""$build" 1>&6
899 test "$host_alias" != "$target_alias" &&
900 test "$program_prefix$program_suffix$program_transform_name" = \
902 program_prefix
=${target_alias}-
906 WX_MAJOR_VERSION_NUMBER
=2
907 WX_MINOR_VERSION_NUMBER
=1
913 WX_VERSION
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER.
$WX_RELEASE_NUMBER
915 WX_RELEASE
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER
916 WX_CURRENT
=`expr $WX_RELEASE_NUMBER - $WX_INTERFACE_AGE`
917 WX_REVISION
=$WX_INTERFACE_AGE
918 WX_AGE
=`expr $WX_BINARY_AGE - $WX_INTERFACE_AGE`
944 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
946 ALL_TOOLKITS
="CYGWIN GTK MINGW MOTIF WINE PM"
949 DEFAULT_wxUSE_MOTIF
=0
954 DEFAULT_DEFAULT_wxUSE_GTK
=0
955 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
956 DEFAULT_DEFAULT_wxUSE_MSW
=0
957 DEFAULT_DEFAULT_wxUSE_WINE
=0
958 DEFAULT_DEFAULT_wxUSE_PM
=0
965 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
966 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
967 cat >> confdefs.h
<<\EOF
974 cat >> confdefs.h
<<\EOF
979 if test "x$TMP" = "xalpha"; then
981 cat >> confdefs.h
<<\EOF
986 DEFAULT_DEFAULT_wxUSE_GTK
=1
988 *-*-irix5* | *-*-irix6* )
991 cat >> confdefs.h
<<\EOF
995 cat >> confdefs.h
<<\EOF
999 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1005 cat >> confdefs.h
<<\EOF
1009 cat >> confdefs.h
<<\EOF
1010 #define __SOLARIS__ 1
1013 cat >> confdefs.h
<<\EOF
1017 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1018 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1024 cat >> confdefs.h
<<\EOF
1028 cat >> confdefs.h
<<\EOF
1032 cat >> confdefs.h
<<\EOF
1036 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1038 *-*-freebsd* | *-*-netbsd*)
1041 cat >> confdefs.h
<<\EOF
1042 #define __FREEBSD__ 1
1045 cat >> confdefs.h
<<\EOF
1049 DEFAULT_DEFAULT_wxUSE_GTK
=1
1054 cat >> confdefs.h
<<\EOF
1058 cat >> confdefs.h
<<\EOF
1062 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1067 cat >> confdefs.h
<<\EOF
1071 cat >> confdefs.h
<<\EOF
1075 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1080 cat >> confdefs.h
<<\EOF
1084 cat >> confdefs.h
<<\EOF
1088 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1094 cat >> confdefs.h
<<\EOF
1098 cat >> confdefs.h
<<\EOF
1102 cat >> confdefs.h
<<\EOF
1106 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1109 *-*-cygwin32* | *-*-mingw32* )
1112 cat >> confdefs.h
<<\EOF
1116 cat >> confdefs.h
<<\EOF
1120 cat >> confdefs.h
<<\EOF
1121 #define __WINDOWS__ 1
1124 cat >> confdefs.h
<<\EOF
1125 #define __GNUWIN32__ 1
1128 cat >> confdefs.h
<<\EOF
1132 cat >> confdefs.h
<<\EOF
1133 #define WINVER 0x0400
1137 DEFAULT_DEFAULT_wxUSE_MSW
=1
1141 cat >> confdefs.h
<<\EOF
1146 DEFAULT_DEFAULT_wxUSE_PM
=1
1151 cat >> confdefs.h
<<\EOF
1158 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
1161 if test "$USE_UNIX" = 1 ; then
1163 cat >> confdefs.h
<<\EOF
1168 SRC_SUBDIRS
="$SRC_SUBDIRS unix"
1169 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS unix"
1172 if test "$USE_BEOS" = 1; then
1173 SRC_SUBDIRS
="$SRC_SUBDIRS be"
1174 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS be"
1177 if test "$USE_LINUX" = 1; then
1178 echo $ac_n "checking for gettext in -lc""... $ac_c" 1>&6
1179 echo "configure:1180: checking for gettext in -lc" >&5
1180 ac_lib_var
=`echo c'_'gettext | sed 'y%./+-%__p_%'`
1181 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1182 echo $ac_n "(cached) $ac_c" 1>&6
1184 ac_save_LIBS
="$LIBS"
1186 cat > conftest.
$ac_ext <<EOF
1187 #line 1188 "configure"
1188 #include "confdefs.h"
1189 /* Override any gcc2 internal prototype to avoid an error. */
1190 /* We use char because int might match the return type of a gcc2
1191 builtin and then its argument prototype would still apply. */
1198 if { (eval echo configure
:1199: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
1200 eval "ac_cv_lib_$ac_lib_var=yes"
1202 echo "configure: failed program was:" >&5
1203 cat conftest.
$ac_ext >&5
1205 eval "ac_cv_lib_$ac_lib_var=no"
1208 LIBS
="$ac_save_LIBS"
1211 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1212 echo "$ac_t""yes" 1>&6
1213 cat >> confdefs.h
<<\EOF
1214 #define wxHAVE_GLIBC2 1
1218 echo "$ac_t""no" 1>&6
1226 wx_arg_cache_file
="configarg.cache"
1227 echo "loading argument cache $wx_arg_cache_file"
1228 rm -f ${wx_arg_cache_file}.tmp
1229 touch ${wx_arg_cache_file}.tmp
1230 touch ${wx_arg_cache_file}
1234 if test $DEBUG_CONFIGURE = 1; then
1235 DEFAULT_wxUSE_THREADS
=yes
1237 DEFAULT_wxUSE_SHARED
=yes
1238 DEFAULT_wxUSE_BURNT_NAME
=no
1239 DEFAULT_wxUSE_OPTIMISE
=yes
1240 DEFAULT_wxUSE_PROFILE
=no
1241 DEFAULT_wxUSE_NO_DEPS
=no
1242 DEFAULT_wxUSE_NO_RTTI
=no
1243 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1244 DEFAULT_wxUSE_PERMISSIVE
=no
1245 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1246 DEFAULT_wxUSE_DEBUG_INFO
=yes
1247 DEFAULT_wxUSE_DEBUG_GDB
=yes
1248 DEFAULT_wxUSE_MEM_TRACING
=no
1249 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1250 DEFAULT_wxUSE_DMALLOC
=no
1251 DEFAULT_wxUSE_APPLE_IEEE
=no
1253 DEFAULT_wxUSE_LOG
=yes
1255 DEFAULT_wxUSE_GUI
=yes
1257 DEFAULT_wxUSE_ZLIB
=no
1258 DEFAULT_wxUSE_LIBPNG
=no
1259 DEFAULT_wxUSE_LIBJPEG
=no
1260 DEFAULT_wxUSE_LIBTIFF
=no
1261 DEFAULT_wxUSE_ODBC
=no
1263 DEFAULT_wxUSE_STD_IOSTREAM
=no
1264 DEFAULT_wxUSE_FILE
=no
1265 DEFAULT_wxUSE_TEXTFILE
=no
1266 DEFAULT_wxUSE_TIMEDATE
=no
1267 DEFAULT_wxUSE_WAVE
=no
1268 DEFAULT_wxUSE_INTL
=no
1269 DEFAULT_wxUSE_CONFIG
=no
1270 DEFAULT_wxUSE_STREAMS
=no
1271 DEFAULT_wxUSE_SOCKETS
=no
1272 DEFAULT_wxUSE_DIALUP_MANAGER
=no
1273 DEFAULT_wxUSE_SERIAL
=no
1274 DEFAULT_wxUSE_JOYSTICK
=no
1275 DEFAULT_wxUSE_DYNLIB_CLASS
=no
1276 DEFAULT_wxUSE_LONGLONG
=no
1278 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
1279 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
1280 DEFAULT_wxUSE_POSTSCRIPT
=no
1282 DEFAULT_wxUSE_X_RESOURCES
=no
1283 DEFAULT_wxUSE_CLIPBOARD
=no
1284 DEFAULT_wxUSE_TOOLTIPS
=no
1285 DEFAULT_wxUSE_DRAG_AND_DROP
=no
1286 DEFAULT_wxUSE_SPLINES
=no
1288 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
1289 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
1290 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
1292 DEFAULT_wxUSE_PROLOGIO
=no
1293 DEFAULT_wxUSE_RESOURCES
=no
1294 DEFAULT_wxUSE_CONSTRAINTS
=no
1295 DEFAULT_wxUSE_IPC
=no
1296 DEFAULT_wxUSE_HELP
=no
1297 DEFAULT_wxUSE_WXTREE
=no
1298 DEFAULT_wxUSE_METAFILE
=no
1300 DEFAULT_wxUSE_COMMONDLGS
=no
1301 DEFAULT_wxUSE_DIRDLG
=no
1302 DEFAULT_wxUSE_TEXTDLG
=no
1303 DEFAULT_wxUSE_STARTUP_TIPS
=no
1304 DEFAULT_wxUSE_PROGRESSDLG
=no
1305 DEFAULT_wxUSE_MINIFRAME
=no
1306 DEFAULT_wxUSE_HTML
=no
1307 DEFAULT_wxUSE_FILESYSTEM
=no
1308 DEFAULT_wxUSE_FS_INET
=no
1309 DEFAULT_wxUSE_FS_ZIP
=no
1310 DEFAULT_wxUSE_BUSYINFO
=no
1311 DEFAULT_wxUSE_ZIPSTREAM
=no
1312 DEFAULT_wxUSE_VALIDATORS
=yes
1314 DEFAULT_wxUSE_ACCEL
=no
1315 DEFAULT_wxUSE_CARET
=no
1316 DEFAULT_wxUSE_BMPBUTTON
=no
1317 DEFAULT_wxUSE_CHECKBOX
=no
1318 DEFAULT_wxUSE_CHECKLST
=no
1319 DEFAULT_wxUSE_CHOICE
=yes
1320 DEFAULT_wxUSE_COMBOBOX
=no
1321 DEFAULT_wxUSE_GAUGE
=no
1322 DEFAULT_wxUSE_GRID
=no
1323 DEFAULT_wxUSE_NEW_GRID
=no
1324 DEFAULT_wxUSE_IMAGLIST
=no
1325 DEFAULT_wxUSE_LISTBOX
=no
1326 DEFAULT_wxUSE_LISTCTRL
=no
1327 DEFAULT_wxUSE_NOTEBOOK
=no
1328 DEFAULT_wxUSE_PLOT
=no
1329 DEFAULT_wxUSE_RADIOBOX
=no
1330 DEFAULT_wxUSE_RADIOBTN
=no
1331 DEFAULT_wxUSE_SASH
=no
1332 DEFAULT_wxUSE_SCROLLBAR
=no
1333 DEFAULT_wxUSE_SLIDER
=no
1334 DEFAULT_wxUSE_SPINBTN
=no
1335 DEFAULT_wxUSE_SPINCTRL
=no
1336 DEFAULT_wxUSE_SPLITTER
=no
1337 DEFAULT_wxUSE_STATBMP
=no
1338 DEFAULT_wxUSE_STATBOX
=no
1339 DEFAULT_wxUSE_STATLINE
=no
1340 DEFAULT_wxUSE_STATUSBAR
=yes
1341 DEFAULT_wxUSE_TABDIALOG
=no
1342 DEFAULT_wxUSE_TOOLBAR
=no
1343 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
1344 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
1345 DEFAULT_wxUSE_TREECTRL
=no
1347 DEFAULT_wxUSE_UNICODE
=no
1348 DEFAULT_wxUSE_WCSRTOMBS
=no
1350 DEFAULT_wxUSE_GIF
=no
1351 DEFAULT_wxUSE_PCX
=no
1352 DEFAULT_wxUSE_PNM
=no
1354 DEFAULT_wxUSE_THREADS
=yes
1356 DEFAULT_wxUSE_SHARED
=yes
1357 DEFAULT_wxUSE_BURNT_NAME
=no
1358 DEFAULT_wxUSE_OPTIMISE
=yes
1359 DEFAULT_wxUSE_PROFILE
=no
1360 DEFAULT_wxUSE_NO_DEPS
=no
1361 DEFAULT_wxUSE_NO_RTTI
=no
1362 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1363 DEFAULT_wxUSE_PERMISSIVE
=no
1364 DEFAULT_wxUSE_DEBUG_FLAG
=no
1365 DEFAULT_wxUSE_DEBUG_INFO
=no
1366 DEFAULT_wxUSE_DEBUG_GDB
=no
1367 DEFAULT_wxUSE_MEM_TRACING
=no
1368 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1369 DEFAULT_wxUSE_DMALLOC
=no
1370 DEFAULT_wxUSE_APPLE_IEEE
=yes
1372 DEFAULT_wxUSE_LOG
=yes
1374 DEFAULT_wxUSE_GUI
=yes
1376 DEFAULT_wxUSE_ZLIB
=yes
1377 DEFAULT_wxUSE_LIBPNG
=yes
1378 DEFAULT_wxUSE_LIBJPEG
=yes
1379 DEFAULT_wxUSE_LIBTIFF
=yes
1380 DEFAULT_wxUSE_ODBC
=no
1382 DEFAULT_wxUSE_STD_IOSTREAM
=no
1383 DEFAULT_wxUSE_FILE
=yes
1384 DEFAULT_wxUSE_TEXTFILE
=yes
1385 DEFAULT_wxUSE_TIMEDATE
=yes
1386 DEFAULT_wxUSE_WAVE
=no
1387 DEFAULT_wxUSE_INTL
=yes
1388 DEFAULT_wxUSE_CONFIG
=yes
1389 DEFAULT_wxUSE_STREAMS
=yes
1390 DEFAULT_wxUSE_SOCKETS
=yes
1391 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
1392 DEFAULT_wxUSE_SERIAL
=yes
1393 DEFAULT_wxUSE_JOYSTICK
=yes
1394 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
1395 DEFAULT_wxUSE_LONGLONG
=yes
1397 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
1398 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
1399 DEFAULT_wxUSE_POSTSCRIPT
=yes
1401 DEFAULT_wxUSE_X_RESOURCES
=no
1402 DEFAULT_wxUSE_CLIPBOARD
=yes
1403 DEFAULT_wxUSE_TOOLTIPS
=yes
1404 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
1405 DEFAULT_wxUSE_SPLINES
=yes
1407 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
1408 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
1409 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
1411 DEFAULT_wxUSE_PROLOGIO
=yes
1412 DEFAULT_wxUSE_RESOURCES
=yes
1413 DEFAULT_wxUSE_CONSTRAINTS
=yes
1414 DEFAULT_wxUSE_IPC
=yes
1415 DEFAULT_wxUSE_HELP
=yes
1416 DEFAULT_wxUSE_WXTREE
=yes
1417 DEFAULT_wxUSE_METAFILE
=yes
1419 DEFAULT_wxUSE_COMMONDLGS
=yes
1420 DEFAULT_wxUSE_DIRDLG
=yes
1421 DEFAULT_wxUSE_TEXTDLG
=yes
1422 DEFAULT_wxUSE_STARTUP_TIPS
=yes
1423 DEFAULT_wxUSE_PROGRESSDLG
=yes
1424 DEFAULT_wxUSE_MINIFRAME
=yes
1425 DEFAULT_wxUSE_HTML
=yes
1426 DEFAULT_wxUSE_FILESYSTEM
=yes
1427 DEFAULT_wxUSE_FS_INET
=yes
1428 DEFAULT_wxUSE_FS_ZIP
=yes
1429 DEFAULT_wxUSE_BUSYINFO
=yes
1430 DEFAULT_wxUSE_ZIPSTREAM
=yes
1431 DEFAULT_wxUSE_VALIDATORS
=yes
1433 DEFAULT_wxUSE_ACCEL
=yes
1434 DEFAULT_wxUSE_CARET
=yes
1435 DEFAULT_wxUSE_BMPBUTTON
=yes
1436 DEFAULT_wxUSE_CHECKBOX
=yes
1437 DEFAULT_wxUSE_CHECKLST
=yes
1438 DEFAULT_wxUSE_CHOICE
=yes
1439 DEFAULT_wxUSE_COMBOBOX
=yes
1440 DEFAULT_wxUSE_GAUGE
=yes
1441 DEFAULT_wxUSE_GRID
=yes
1442 DEFAULT_wxUSE_NEW_GRID
=yes
1443 DEFAULT_wxUSE_IMAGLIST
=yes
1444 DEFAULT_wxUSE_LISTBOX
=yes
1445 DEFAULT_wxUSE_LISTCTRL
=yes
1446 DEFAULT_wxUSE_NOTEBOOK
=yes
1447 DEFAULT_wxUSE_PLOT
=yes
1448 DEFAULT_wxUSE_RADIOBOX
=yes
1449 DEFAULT_wxUSE_RADIOBTN
=yes
1450 DEFAULT_wxUSE_SASH
=yes
1451 DEFAULT_wxUSE_SCROLLBAR
=yes
1452 DEFAULT_wxUSE_SLIDER
=yes
1453 DEFAULT_wxUSE_SPINBTN
=yes
1454 DEFAULT_wxUSE_SPINCTRL
=yes
1455 DEFAULT_wxUSE_SPLITTER
=yes
1456 DEFAULT_wxUSE_STATBMP
=yes
1457 DEFAULT_wxUSE_STATBOX
=yes
1458 DEFAULT_wxUSE_STATLINE
=yes
1459 DEFAULT_wxUSE_STATUSBAR
=yes
1460 DEFAULT_wxUSE_TABDIALOG
=no
1461 DEFAULT_wxUSE_TOOLBAR
=yes
1462 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
1463 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
1464 DEFAULT_wxUSE_TREECTRL
=yes
1466 DEFAULT_wxUSE_UNICODE
=no
1467 DEFAULT_wxUSE_WCSRTOMBS
=no
1469 DEFAULT_wxUSE_GIF
=yes
1470 DEFAULT_wxUSE_PCX
=yes
1471 DEFAULT_wxUSE_PNM
=yes
1476 for toolkit
in `echo $ALL_TOOLKITS`; do
1477 LINE
=`grep "wxUSE_$toolkit" ${wx_arg_cache_file}`
1478 if test "x$LINE" != x
; then
1479 has_toolkit_in_cache
=1
1480 eval "DEFAULT_$LINE"
1481 eval "CACHE_$toolkit=1"
1487 echo $ac_n "checking "for --enable-gui"""... $ac_c" 1>&6
1488 echo "configure:1489: checking "for --enable-gui"" >&5
1490 # Check whether --enable-gui or --disable-gui was given.
1491 if test "${enable_gui+set}" = set; then
1492 enableval
="$enable_gui"
1494 if test "$enableval" = yes; then
1495 ac_cv_use_gui
='wxUSE_GUI=yes'
1497 ac_cv_use_gui
='wxUSE_GUI=no'
1502 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
1503 if test "x$LINE" != x
; then
1504 eval "DEFAULT_$LINE"
1509 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
1514 eval "$ac_cv_use_gui"
1515 if test "$no_cache" != 1; then
1516 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
1519 if test "$wxUSE_GUI" = yes; then
1520 echo "$ac_t""yes" 1>&6
1522 echo "$ac_t""no" 1>&6
1526 if test "$wxUSE_GUI" = "yes"; then
1528 # Check whether --with-gtk or --without-gtk was given.
1529 if test "${with_gtk+set}" = set; then
1531 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
1534 # Check whether --with-motif or --without-motif was given.
1535 if test "${with_motif+set}" = set; then
1536 withval
="$with_motif"
1537 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
1540 # Check whether --with-wine or --without-wine was given.
1541 if test "${with_wine+set}" = set; then
1542 withval
="$with_wine"
1543 wxUSE_WINE
="$withval" CACHE_WINE
=1 TOOLKIT_GIVEN
=1
1546 # Check whether --with-cygwin or --without-cygwin was given.
1547 if test "${with_cygwin+set}" = set; then
1548 withval
="$with_cygwin"
1549 wxUSE_CYGWIN
="$withval" CACHE_CYGWIN
=1 TOOLKIT_GIVEN
=1
1552 # Check whether --with-mingw or --without-mingw was given.
1553 if test "${with_mingw+set}" = set; then
1554 withval
="$with_mingw"
1555 wxUSE_MINGW
="$withval" CACHE_MINGW
=1 TOOLKIT_GIVEN
=1
1558 # Check whether --with-pm or --without-pm was given.
1559 if test "${with_pm+set}" = set; then
1561 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
1565 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
1566 if test "${with_gtk_prefix+set}" = set; then
1567 withval
="$with_gtk_prefix"
1568 gtk_config_prefix
="$withval"
1570 gtk_config_prefix
=""
1573 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
1574 if test "${with_gtk_exec_prefix+set}" = set; then
1575 withval
="$with_gtk_exec_prefix"
1576 gtk_config_exec_prefix
="$withval"
1578 gtk_config_exec_prefix
=""
1583 echo $ac_n "checking "for --with-libpng"""... $ac_c" 1>&6
1584 echo "configure:1585: checking "for --with-libpng"" >&5
1586 # Check whether --with-libpng or --without-libpng was given.
1587 if test "${with_libpng+set}" = set; then
1588 withval
="$with_libpng"
1590 if test "$withval" = yes; then
1591 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
1593 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
1598 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
1599 if test "x$LINE" != x
; then
1600 eval "DEFAULT_$LINE"
1605 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
1610 eval "$ac_cv_use_libpng"
1611 if test "$no_cache" != 1; then
1612 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
1615 if test "$wxUSE_LIBPNG" = yes; then
1616 echo "$ac_t""yes" 1>&6
1618 echo "$ac_t""no" 1>&6
1622 echo $ac_n "checking "for --with-libjpeg"""... $ac_c" 1>&6
1623 echo "configure:1624: checking "for --with-libjpeg"" >&5
1625 # Check whether --with-libjpeg or --without-libjpeg was given.
1626 if test "${with_libjpeg+set}" = set; then
1627 withval
="$with_libjpeg"
1629 if test "$withval" = yes; then
1630 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
1632 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
1637 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
1638 if test "x$LINE" != x
; then
1639 eval "DEFAULT_$LINE"
1644 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
1649 eval "$ac_cv_use_libjpeg"
1650 if test "$no_cache" != 1; then
1651 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
1654 if test "$wxUSE_LIBJPEG" = yes; then
1655 echo "$ac_t""yes" 1>&6
1657 echo "$ac_t""no" 1>&6
1661 echo $ac_n "checking "for --with-libtiff"""... $ac_c" 1>&6
1662 echo "configure:1663: checking "for --with-libtiff"" >&5
1664 # Check whether --with-libtiff or --without-libtiff was given.
1665 if test "${with_libtiff+set}" = set; then
1666 withval
="$with_libtiff"
1668 if test "$withval" = yes; then
1669 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
1671 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
1676 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
1677 if test "x$LINE" != x
; then
1678 eval "DEFAULT_$LINE"
1683 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
1688 eval "$ac_cv_use_libtiff"
1689 if test "$no_cache" != 1; then
1690 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
1693 if test "$wxUSE_LIBTIFF" = yes; then
1694 echo "$ac_t""yes" 1>&6
1696 echo "$ac_t""no" 1>&6
1700 echo $ac_n "checking "for --with-opengl"""... $ac_c" 1>&6
1701 echo "configure:1702: checking "for --with-opengl"" >&5
1703 # Check whether --with-opengl or --without-opengl was given.
1704 if test "${with_opengl+set}" = set; then
1705 withval
="$with_opengl"
1707 if test "$withval" = yes; then
1708 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
1710 ac_cv_use_opengl
='wxUSE_OPENGL=no'
1715 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
1716 if test "x$LINE" != x
; then
1717 eval "DEFAULT_$LINE"
1722 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
1727 eval "$ac_cv_use_opengl"
1728 if test "$no_cache" != 1; then
1729 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
1732 if test "$wxUSE_OPENGL" = yes; then
1733 echo "$ac_t""yes" 1>&6
1735 echo "$ac_t""no" 1>&6
1742 echo $ac_n "checking "for --with-dmalloc"""... $ac_c" 1>&6
1743 echo "configure:1744: checking "for --with-dmalloc"" >&5
1745 # Check whether --with-dmalloc or --without-dmalloc was given.
1746 if test "${with_dmalloc+set}" = set; then
1747 withval
="$with_dmalloc"
1749 if test "$withval" = yes; then
1750 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
1752 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
1757 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
1758 if test "x$LINE" != x
; then
1759 eval "DEFAULT_$LINE"
1764 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
1769 eval "$ac_cv_use_dmalloc"
1770 if test "$no_cache" != 1; then
1771 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
1774 if test "$wxUSE_DMALLOC" = yes; then
1775 echo "$ac_t""yes" 1>&6
1777 echo "$ac_t""no" 1>&6
1781 echo $ac_n "checking "for --with-zlib"""... $ac_c" 1>&6
1782 echo "configure:1783: checking "for --with-zlib"" >&5
1784 # Check whether --with-zlib or --without-zlib was given.
1785 if test "${with_zlib+set}" = set; then
1786 withval
="$with_zlib"
1788 if test "$withval" = yes; then
1789 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
1790 elif test "$withval" = sys
; then
1791 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
1793 ac_cv_use_zlib
='wxUSE_ZLIB=no'
1798 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
1799 if test "x$LINE" != x
; then
1800 eval "DEFAULT_$LINE"
1805 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
1810 eval "$ac_cv_use_zlib"
1811 if test "$no_cache" != 1; then
1812 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
1815 if test "$wxUSE_ZLIB" = yes; then
1816 echo "$ac_t""yes" 1>&6
1817 elif test "$wxUSE_ZLIB" = no
; then
1818 echo "$ac_t""no" 1>&6
1820 echo "$ac_t""system version" 1>&6
1824 echo $ac_n "checking "for --with-odbc"""... $ac_c" 1>&6
1825 echo "configure:1826: checking "for --with-odbc"" >&5
1827 # Check whether --with-odbc or --without-odbc was given.
1828 if test "${with_odbc+set}" = set; then
1829 withval
="$with_odbc"
1831 if test "$withval" = yes; then
1832 ac_cv_use_odbc
='wxUSE_ODBC=yes'
1834 ac_cv_use_odbc
='wxUSE_ODBC=no'
1839 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
1840 if test "x$LINE" != x
; then
1841 eval "DEFAULT_$LINE"
1846 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
1851 eval "$ac_cv_use_odbc"
1852 if test "$no_cache" != 1; then
1853 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
1856 if test "$wxUSE_ODBC" = yes; then
1857 echo "$ac_t""yes" 1>&6
1859 echo "$ac_t""no" 1>&6
1866 echo $ac_n "checking "for --enable-shared"""... $ac_c" 1>&6
1867 echo "configure:1868: checking "for --enable-shared"" >&5
1869 # Check whether --enable-shared or --disable-shared was given.
1870 if test "${enable_shared+set}" = set; then
1871 enableval
="$enable_shared"
1873 if test "$enableval" = yes; then
1874 ac_cv_use_shared
='wxUSE_SHARED=yes'
1876 ac_cv_use_shared
='wxUSE_SHARED=no'
1881 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
1882 if test "x$LINE" != x
; then
1883 eval "DEFAULT_$LINE"
1888 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
1893 eval "$ac_cv_use_shared"
1894 if test "$no_cache" != 1; then
1895 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
1898 if test "$wxUSE_SHARED" = yes; then
1899 echo "$ac_t""yes" 1>&6
1901 echo "$ac_t""no" 1>&6
1905 echo $ac_n "checking "for --enable-burnt_name"""... $ac_c" 1>&6
1906 echo "configure:1907: checking "for --enable-burnt_name"" >&5
1908 # Check whether --enable-burnt_name or --disable-burnt_name was given.
1909 if test "${enable_burnt_name+set}" = set; then
1910 enableval
="$enable_burnt_name"
1912 if test "$enableval" = yes; then
1913 ac_cv_use_burnt_name
='wxUSE_BURNT_NAME=yes'
1915 ac_cv_use_burnt_name
='wxUSE_BURNT_NAME=no'
1920 LINE
=`grep "wxUSE_BURNT_NAME" ${wx_arg_cache_file}`
1921 if test "x$LINE" != x
; then
1922 eval "DEFAULT_$LINE"
1927 ac_cv_use_burnt_name
='wxUSE_BURNT_NAME='$DEFAULT_wxUSE_BURNT_NAME
1932 eval "$ac_cv_use_burnt_name"
1933 if test "$no_cache" != 1; then
1934 echo $ac_cv_use_burnt_name >> ${wx_arg_cache_file}.tmp
1937 if test "$wxUSE_BURNT_NAME" = yes; then
1938 echo "$ac_t""yes" 1>&6
1940 echo "$ac_t""no" 1>&6
1944 echo $ac_n "checking "for --enable-optimise"""... $ac_c" 1>&6
1945 echo "configure:1946: checking "for --enable-optimise"" >&5
1947 # Check whether --enable-optimise or --disable-optimise was given.
1948 if test "${enable_optimise+set}" = set; then
1949 enableval
="$enable_optimise"
1951 if test "$enableval" = yes; then
1952 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
1954 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
1959 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
1960 if test "x$LINE" != x
; then
1961 eval "DEFAULT_$LINE"
1966 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
1971 eval "$ac_cv_use_optimise"
1972 if test "$no_cache" != 1; then
1973 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
1976 if test "$wxUSE_OPTIMISE" = yes; then
1977 echo "$ac_t""yes" 1>&6
1979 echo "$ac_t""no" 1>&6
1983 echo $ac_n "checking "for --enable-debug"""... $ac_c" 1>&6
1984 echo "configure:1985: checking "for --enable-debug"" >&5
1986 # Check whether --enable-debug or --disable-debug was given.
1987 if test "${enable_debug+set}" = set; then
1988 enableval
="$enable_debug"
1990 if test "$enableval" = yes; then
1991 ac_cv_use_debug
='wxUSE_DEBUG=yes'
1993 ac_cv_use_debug
='wxUSE_DEBUG=no'
1998 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
1999 if test "x$LINE" != x
; then
2000 eval "DEFAULT_$LINE"
2005 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
2010 eval "$ac_cv_use_debug"
2011 if test "$no_cache" != 1; then
2012 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
2015 if test "$wxUSE_DEBUG" = yes; then
2016 echo "$ac_t""yes" 1>&6
2018 echo "$ac_t""no" 1>&6
2022 if test "$wxUSE_DEBUG" = "yes"; then
2023 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2024 DEFAULT_wxUSE_DEBUG_INFO
=yes
2025 elif test "$wxUSE_DEBUG" = "no"; then
2026 DEFAULT_wxUSE_DEBUG_FLAG
=no
2027 DEFAULT_wxUSE_DEBUG_INFO
=no
2031 echo $ac_n "checking "for --enable-debug_flag"""... $ac_c" 1>&6
2032 echo "configure:2033: checking "for --enable-debug_flag"" >&5
2034 # Check whether --enable-debug_flag or --disable-debug_flag was given.
2035 if test "${enable_debug_flag+set}" = set; then
2036 enableval
="$enable_debug_flag"
2038 if test "$enableval" = yes; then
2039 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
2041 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
2046 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
2047 if test "x$LINE" != x
; then
2048 eval "DEFAULT_$LINE"
2053 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
2058 eval "$ac_cv_use_debug_flag"
2059 if test "$no_cache" != 1; then
2060 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
2063 if test "$wxUSE_DEBUG_FLAG" = yes; then
2064 echo "$ac_t""yes" 1>&6
2066 echo "$ac_t""no" 1>&6
2070 echo $ac_n "checking "for --enable-debug_info"""... $ac_c" 1>&6
2071 echo "configure:2072: checking "for --enable-debug_info"" >&5
2073 # Check whether --enable-debug_info or --disable-debug_info was given.
2074 if test "${enable_debug_info+set}" = set; then
2075 enableval
="$enable_debug_info"
2077 if test "$enableval" = yes; then
2078 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
2080 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
2085 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
2086 if test "x$LINE" != x
; then
2087 eval "DEFAULT_$LINE"
2092 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
2097 eval "$ac_cv_use_debug_info"
2098 if test "$no_cache" != 1; then
2099 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
2102 if test "$wxUSE_DEBUG_INFO" = yes; then
2103 echo "$ac_t""yes" 1>&6
2105 echo "$ac_t""no" 1>&6
2109 echo $ac_n "checking "for --enable-debug_gdb"""... $ac_c" 1>&6
2110 echo "configure:2111: checking "for --enable-debug_gdb"" >&5
2112 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
2113 if test "${enable_debug_gdb+set}" = set; then
2114 enableval
="$enable_debug_gdb"
2116 if test "$enableval" = yes; then
2117 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
2119 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
2124 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
2125 if test "x$LINE" != x
; then
2126 eval "DEFAULT_$LINE"
2131 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
2136 eval "$ac_cv_use_debug_gdb"
2137 if test "$no_cache" != 1; then
2138 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
2141 if test "$wxUSE_DEBUG_GDB" = yes; then
2142 echo "$ac_t""yes" 1>&6
2144 echo "$ac_t""no" 1>&6
2148 echo $ac_n "checking "for --enable-debug_cntxt"""... $ac_c" 1>&6
2149 echo "configure:2150: checking "for --enable-debug_cntxt"" >&5
2151 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
2152 if test "${enable_debug_cntxt+set}" = set; then
2153 enableval
="$enable_debug_cntxt"
2155 if test "$enableval" = yes; then
2156 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
2158 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
2163 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2164 if test "x$LINE" != x
; then
2165 eval "DEFAULT_$LINE"
2170 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2175 eval "$ac_cv_use_debug_cntxt"
2176 if test "$no_cache" != 1; then
2177 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2180 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2181 echo "$ac_t""yes" 1>&6
2183 echo "$ac_t""no" 1>&6
2187 echo $ac_n "checking "for --enable-mem_tracing"""... $ac_c" 1>&6
2188 echo "configure:2189: checking "for --enable-mem_tracing"" >&5
2190 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2191 if test "${enable_mem_tracing+set}" = set; then
2192 enableval
="$enable_mem_tracing"
2194 if test "$enableval" = yes; then
2195 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
2197 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
2202 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2203 if test "x$LINE" != x
; then
2204 eval "DEFAULT_$LINE"
2209 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2214 eval "$ac_cv_use_mem_tracing"
2215 if test "$no_cache" != 1; then
2216 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2219 if test "$wxUSE_MEM_TRACING" = yes; then
2220 echo "$ac_t""yes" 1>&6
2222 echo "$ac_t""no" 1>&6
2226 echo $ac_n "checking "for --enable-profile"""... $ac_c" 1>&6
2227 echo "configure:2228: checking "for --enable-profile"" >&5
2229 # Check whether --enable-profile or --disable-profile was given.
2230 if test "${enable_profile+set}" = set; then
2231 enableval
="$enable_profile"
2233 if test "$enableval" = yes; then
2234 ac_cv_use_profile
='wxUSE_PROFILE=yes'
2236 ac_cv_use_profile
='wxUSE_PROFILE=no'
2241 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2242 if test "x$LINE" != x
; then
2243 eval "DEFAULT_$LINE"
2248 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2253 eval "$ac_cv_use_profile"
2254 if test "$no_cache" != 1; then
2255 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2258 if test "$wxUSE_PROFILE" = yes; then
2259 echo "$ac_t""yes" 1>&6
2261 echo "$ac_t""no" 1>&6
2265 echo $ac_n "checking "for --enable-no_rtti"""... $ac_c" 1>&6
2266 echo "configure:2267: checking "for --enable-no_rtti"" >&5
2268 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2269 if test "${enable_no_rtti+set}" = set; then
2270 enableval
="$enable_no_rtti"
2272 if test "$enableval" = yes; then
2273 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
2275 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
2280 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2281 if test "x$LINE" != x
; then
2282 eval "DEFAULT_$LINE"
2287 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2292 eval "$ac_cv_use_no_rtti"
2293 if test "$no_cache" != 1; then
2294 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2297 if test "$wxUSE_NO_RTTI" = yes; then
2298 echo "$ac_t""yes" 1>&6
2300 echo "$ac_t""no" 1>&6
2304 echo $ac_n "checking "for --enable-no_exceptions"""... $ac_c" 1>&6
2305 echo "configure:2306: checking "for --enable-no_exceptions"" >&5
2307 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2308 if test "${enable_no_exceptions+set}" = set; then
2309 enableval
="$enable_no_exceptions"
2311 if test "$enableval" = yes; then
2312 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
2314 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
2319 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2320 if test "x$LINE" != x
; then
2321 eval "DEFAULT_$LINE"
2326 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2331 eval "$ac_cv_use_no_exceptions"
2332 if test "$no_cache" != 1; then
2333 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2336 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2337 echo "$ac_t""yes" 1>&6
2339 echo "$ac_t""no" 1>&6
2343 echo $ac_n "checking "for --enable-permissive"""... $ac_c" 1>&6
2344 echo "configure:2345: checking "for --enable-permissive"" >&5
2346 # Check whether --enable-permissive or --disable-permissive was given.
2347 if test "${enable_permissive+set}" = set; then
2348 enableval
="$enable_permissive"
2350 if test "$enableval" = yes; then
2351 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
2353 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
2358 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2359 if test "x$LINE" != x
; then
2360 eval "DEFAULT_$LINE"
2365 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
2370 eval "$ac_cv_use_permissive"
2371 if test "$no_cache" != 1; then
2372 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
2375 if test "$wxUSE_PERMISSIVE" = yes; then
2376 echo "$ac_t""yes" 1>&6
2378 echo "$ac_t""no" 1>&6
2382 echo $ac_n "checking "for --enable-no_deps"""... $ac_c" 1>&6
2383 echo "configure:2384: checking "for --enable-no_deps"" >&5
2385 # Check whether --enable-no_deps or --disable-no_deps was given.
2386 if test "${enable_no_deps+set}" = set; then
2387 enableval
="$enable_no_deps"
2389 if test "$enableval" = yes; then
2390 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
2392 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
2397 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
2398 if test "x$LINE" != x
; then
2399 eval "DEFAULT_$LINE"
2404 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
2409 eval "$ac_cv_use_no_deps"
2410 if test "$no_cache" != 1; then
2411 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
2414 if test "$wxUSE_NO_DEPS" = yes; then
2415 echo "$ac_t""yes" 1>&6
2417 echo "$ac_t""no" 1>&6
2423 echo $ac_n "checking "for --enable-intl"""... $ac_c" 1>&6
2424 echo "configure:2425: checking "for --enable-intl"" >&5
2426 # Check whether --enable-intl or --disable-intl was given.
2427 if test "${enable_intl+set}" = set; then
2428 enableval
="$enable_intl"
2430 if test "$enableval" = yes; then
2431 ac_cv_use_intl
='wxUSE_INTL=yes'
2433 ac_cv_use_intl
='wxUSE_INTL=no'
2438 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
2439 if test "x$LINE" != x
; then
2440 eval "DEFAULT_$LINE"
2445 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
2450 eval "$ac_cv_use_intl"
2451 if test "$no_cache" != 1; then
2452 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
2455 if test "$wxUSE_INTL" = yes; then
2456 echo "$ac_t""yes" 1>&6
2458 echo "$ac_t""no" 1>&6
2462 echo $ac_n "checking "for --enable-config"""... $ac_c" 1>&6
2463 echo "configure:2464: checking "for --enable-config"" >&5
2465 # Check whether --enable-config or --disable-config was given.
2466 if test "${enable_config+set}" = set; then
2467 enableval
="$enable_config"
2469 if test "$enableval" = yes; then
2470 ac_cv_use_config
='wxUSE_CONFIG=yes'
2472 ac_cv_use_config
='wxUSE_CONFIG=no'
2477 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
2478 if test "x$LINE" != x
; then
2479 eval "DEFAULT_$LINE"
2484 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
2489 eval "$ac_cv_use_config"
2490 if test "$no_cache" != 1; then
2491 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
2494 if test "$wxUSE_CONFIG" = yes; then
2495 echo "$ac_t""yes" 1>&6
2497 echo "$ac_t""no" 1>&6
2501 if test "$wxUSE_GUI" = "yes"; then
2503 echo $ac_n "checking "for --enable-sockets"""... $ac_c" 1>&6
2504 echo "configure:2505: checking "for --enable-sockets"" >&5
2506 # Check whether --enable-sockets or --disable-sockets was given.
2507 if test "${enable_sockets+set}" = set; then
2508 enableval
="$enable_sockets"
2510 if test "$enableval" = yes; then
2511 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
2513 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
2518 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
2519 if test "x$LINE" != x
; then
2520 eval "DEFAULT_$LINE"
2525 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
2530 eval "$ac_cv_use_sockets"
2531 if test "$no_cache" != 1; then
2532 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
2535 if test "$wxUSE_SOCKETS" = yes; then
2536 echo "$ac_t""yes" 1>&6
2538 echo "$ac_t""no" 1>&6
2546 echo $ac_n "checking "for --enable-dialupman"""... $ac_c" 1>&6
2547 echo "configure:2548: checking "for --enable-dialupman"" >&5
2549 # Check whether --enable-dialupman or --disable-dialupman was given.
2550 if test "${enable_dialupman+set}" = set; then
2551 enableval
="$enable_dialupman"
2553 if test "$enableval" = yes; then
2554 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
2556 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
2561 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
2562 if test "x$LINE" != x
; then
2563 eval "DEFAULT_$LINE"
2568 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
2573 eval "$ac_cv_use_dialupman"
2574 if test "$no_cache" != 1; then
2575 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
2578 if test "$wxUSE_DIALUP_MANAGER" = yes; then
2579 echo "$ac_t""yes" 1>&6
2581 echo "$ac_t""no" 1>&6
2585 echo $ac_n "checking "for --enable-ipc"""... $ac_c" 1>&6
2586 echo "configure:2587: checking "for --enable-ipc"" >&5
2588 # Check whether --enable-ipc or --disable-ipc was given.
2589 if test "${enable_ipc+set}" = set; then
2590 enableval
="$enable_ipc"
2592 if test "$enableval" = yes; then
2593 ac_cv_use_ipc
='wxUSE_IPC=yes'
2595 ac_cv_use_ipc
='wxUSE_IPC=no'
2600 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
2601 if test "x$LINE" != x
; then
2602 eval "DEFAULT_$LINE"
2607 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
2612 eval "$ac_cv_use_ipc"
2613 if test "$no_cache" != 1; then
2614 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
2617 if test "$wxUSE_IPC" = yes; then
2618 echo "$ac_t""yes" 1>&6
2620 echo "$ac_t""no" 1>&6
2624 echo $ac_n "checking "for --enable-apple_ieee"""... $ac_c" 1>&6
2625 echo "configure:2626: checking "for --enable-apple_ieee"" >&5
2627 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
2628 if test "${enable_apple_ieee+set}" = set; then
2629 enableval
="$enable_apple_ieee"
2631 if test "$enableval" = yes; then
2632 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
2634 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
2639 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
2640 if test "x$LINE" != x
; then
2641 eval "DEFAULT_$LINE"
2646 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
2651 eval "$ac_cv_use_apple_ieee"
2652 if test "$no_cache" != 1; then
2653 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
2656 if test "$wxUSE_APPLE_IEEE" = yes; then
2657 echo "$ac_t""yes" 1>&6
2659 echo "$ac_t""no" 1>&6
2663 echo $ac_n "checking "for --enable-timedate"""... $ac_c" 1>&6
2664 echo "configure:2665: checking "for --enable-timedate"" >&5
2666 # Check whether --enable-timedate or --disable-timedate was given.
2667 if test "${enable_timedate+set}" = set; then
2668 enableval
="$enable_timedate"
2670 if test "$enableval" = yes; then
2671 ac_cv_use_timedate
='wxUSE_TIMEDATE=yes'
2673 ac_cv_use_timedate
='wxUSE_TIMEDATE=no'
2678 LINE
=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}`
2679 if test "x$LINE" != x
; then
2680 eval "DEFAULT_$LINE"
2685 ac_cv_use_timedate
='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
2690 eval "$ac_cv_use_timedate"
2691 if test "$no_cache" != 1; then
2692 echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp
2695 if test "$wxUSE_TIMEDATE" = yes; then
2696 echo "$ac_t""yes" 1>&6
2698 echo "$ac_t""no" 1>&6
2702 echo $ac_n "checking "for --enable-wave"""... $ac_c" 1>&6
2703 echo "configure:2704: checking "for --enable-wave"" >&5
2705 # Check whether --enable-wave or --disable-wave was given.
2706 if test "${enable_wave+set}" = set; then
2707 enableval
="$enable_wave"
2709 if test "$enableval" = yes; then
2710 ac_cv_use_wave
='wxUSE_WAVE=yes'
2712 ac_cv_use_wave
='wxUSE_WAVE=no'
2717 LINE
=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
2718 if test "x$LINE" != x
; then
2719 eval "DEFAULT_$LINE"
2724 ac_cv_use_wave
='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
2729 eval "$ac_cv_use_wave"
2730 if test "$no_cache" != 1; then
2731 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
2734 if test "$wxUSE_WAVE" = yes; then
2735 echo "$ac_t""yes" 1>&6
2737 echo "$ac_t""no" 1>&6
2741 echo $ac_n "checking "for --enable-fraction"""... $ac_c" 1>&6
2742 echo "configure:2743: checking "for --enable-fraction"" >&5
2744 # Check whether --enable-fraction or --disable-fraction was given.
2745 if test "${enable_fraction+set}" = set; then
2746 enableval
="$enable_fraction"
2748 if test "$enableval" = yes; then
2749 ac_cv_use_fraction
='wxUSE_FRACTION=yes'
2751 ac_cv_use_fraction
='wxUSE_FRACTION=no'
2756 LINE
=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
2757 if test "x$LINE" != x
; then
2758 eval "DEFAULT_$LINE"
2763 ac_cv_use_fraction
='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
2768 eval "$ac_cv_use_fraction"
2769 if test "$no_cache" != 1; then
2770 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
2773 if test "$wxUSE_FRACTION" = yes; then
2774 echo "$ac_t""yes" 1>&6
2776 echo "$ac_t""no" 1>&6
2780 echo $ac_n "checking "for --enable-dynlib"""... $ac_c" 1>&6
2781 echo "configure:2782: checking "for --enable-dynlib"" >&5
2783 # Check whether --enable-dynlib or --disable-dynlib was given.
2784 if test "${enable_dynlib+set}" = set; then
2785 enableval
="$enable_dynlib"
2787 if test "$enableval" = yes; then
2788 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
2790 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
2795 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
2796 if test "x$LINE" != x
; then
2797 eval "DEFAULT_$LINE"
2802 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
2807 eval "$ac_cv_use_dynlib"
2808 if test "$no_cache" != 1; then
2809 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
2812 if test "$wxUSE_DYNLIB_CLASS" = yes; then
2813 echo "$ac_t""yes" 1>&6
2815 echo "$ac_t""no" 1>&6
2819 echo $ac_n "checking "for --enable-longlong"""... $ac_c" 1>&6
2820 echo "configure:2821: checking "for --enable-longlong"" >&5
2822 # Check whether --enable-longlong or --disable-longlong was given.
2823 if test "${enable_longlong+set}" = set; then
2824 enableval
="$enable_longlong"
2826 if test "$enableval" = yes; then
2827 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
2829 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
2834 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
2835 if test "x$LINE" != x
; then
2836 eval "DEFAULT_$LINE"
2841 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
2846 eval "$ac_cv_use_longlong"
2847 if test "$no_cache" != 1; then
2848 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
2851 if test "$wxUSE_LONGLONG" = yes; then
2852 echo "$ac_t""yes" 1>&6
2854 echo "$ac_t""no" 1>&6
2858 echo $ac_n "checking "for --enable-log"""... $ac_c" 1>&6
2859 echo "configure:2860: checking "for --enable-log"" >&5
2861 # Check whether --enable-log or --disable-log was given.
2862 if test "${enable_log+set}" = set; then
2863 enableval
="$enable_log"
2865 if test "$enableval" = yes; then
2866 ac_cv_use_log
='wxUSE_LOG=yes'
2868 ac_cv_use_log
='wxUSE_LOG=no'
2873 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
2874 if test "x$LINE" != x
; then
2875 eval "DEFAULT_$LINE"
2880 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
2885 eval "$ac_cv_use_log"
2886 if test "$no_cache" != 1; then
2887 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
2890 if test "$wxUSE_LOG" = yes; then
2891 echo "$ac_t""yes" 1>&6
2893 echo "$ac_t""no" 1>&6
2897 echo $ac_n "checking "for --enable-streams"""... $ac_c" 1>&6
2898 echo "configure:2899: checking "for --enable-streams"" >&5
2900 # Check whether --enable-streams or --disable-streams was given.
2901 if test "${enable_streams+set}" = set; then
2902 enableval
="$enable_streams"
2904 if test "$enableval" = yes; then
2905 ac_cv_use_streams
='wxUSE_STREAMS=yes'
2907 ac_cv_use_streams
='wxUSE_STREAMS=no'
2912 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
2913 if test "x$LINE" != x
; then
2914 eval "DEFAULT_$LINE"
2919 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
2924 eval "$ac_cv_use_streams"
2925 if test "$no_cache" != 1; then
2926 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
2929 if test "$wxUSE_STREAMS" = yes; then
2930 echo "$ac_t""yes" 1>&6
2932 echo "$ac_t""no" 1>&6
2936 echo $ac_n "checking "for --enable-file"""... $ac_c" 1>&6
2937 echo "configure:2938: checking "for --enable-file"" >&5
2939 # Check whether --enable-file or --disable-file was given.
2940 if test "${enable_file+set}" = set; then
2941 enableval
="$enable_file"
2943 if test "$enableval" = yes; then
2944 ac_cv_use_file
='wxUSE_FILE=yes'
2946 ac_cv_use_file
='wxUSE_FILE=no'
2951 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
2952 if test "x$LINE" != x
; then
2953 eval "DEFAULT_$LINE"
2958 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
2963 eval "$ac_cv_use_file"
2964 if test "$no_cache" != 1; then
2965 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
2968 if test "$wxUSE_FILE" = yes; then
2969 echo "$ac_t""yes" 1>&6
2971 echo "$ac_t""no" 1>&6
2975 echo $ac_n "checking "for --enable-textfile"""... $ac_c" 1>&6
2976 echo "configure:2977: checking "for --enable-textfile"" >&5
2978 # Check whether --enable-textfile or --disable-textfile was given.
2979 if test "${enable_textfile+set}" = set; then
2980 enableval
="$enable_textfile"
2982 if test "$enableval" = yes; then
2983 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
2985 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
2990 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
2991 if test "x$LINE" != x
; then
2992 eval "DEFAULT_$LINE"
2997 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
3002 eval "$ac_cv_use_textfile"
3003 if test "$no_cache" != 1; then
3004 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
3007 if test "$wxUSE_TEXTFILE" = yes; then
3008 echo "$ac_t""yes" 1>&6
3010 echo "$ac_t""no" 1>&6
3014 echo $ac_n "checking "for --enable-unicode"""... $ac_c" 1>&6
3015 echo "configure:3016: checking "for --enable-unicode"" >&5
3017 # Check whether --enable-unicode or --disable-unicode was given.
3018 if test "${enable_unicode+set}" = set; then
3019 enableval
="$enable_unicode"
3021 if test "$enableval" = yes; then
3022 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
3024 ac_cv_use_unicode
='wxUSE_UNICODE=no'
3029 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
3030 if test "x$LINE" != x
; then
3031 eval "DEFAULT_$LINE"
3036 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
3041 eval "$ac_cv_use_unicode"
3042 if test "$no_cache" != 1; then
3043 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
3046 if test "$wxUSE_UNICODE" = yes; then
3047 echo "$ac_t""yes" 1>&6
3049 echo "$ac_t""no" 1>&6
3053 echo $ac_n "checking "for --enable-wcsrtombs"""... $ac_c" 1>&6
3054 echo "configure:3055: checking "for --enable-wcsrtombs"" >&5
3056 # Check whether --enable-wcsrtombs or --disable-wcsrtombs was given.
3057 if test "${enable_wcsrtombs+set}" = set; then
3058 enableval
="$enable_wcsrtombs"
3060 if test "$enableval" = yes; then
3061 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS=yes'
3063 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS=no'
3068 LINE
=`grep "wxUSE_WCSRTOMBS" ${wx_arg_cache_file}`
3069 if test "x$LINE" != x
; then
3070 eval "DEFAULT_$LINE"
3075 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS='$DEFAULT_wxUSE_WCSRTOMBS
3080 eval "$ac_cv_use_wcsrtombs"
3081 if test "$no_cache" != 1; then
3082 echo $ac_cv_use_wcsrtombs >> ${wx_arg_cache_file}.tmp
3085 if test "$wxUSE_WCSRTOMBS" = yes; then
3086 echo "$ac_t""yes" 1>&6
3088 echo "$ac_t""no" 1>&6
3092 echo $ac_n "checking "for --enable-wxprintfv"""... $ac_c" 1>&6
3093 echo "configure:3094: checking "for --enable-wxprintfv"" >&5
3095 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
3096 if test "${enable_wxprintfv+set}" = set; then
3097 enableval
="$enable_wxprintfv"
3099 if test "$enableval" = yes; then
3100 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
3102 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
3107 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
3108 if test "x$LINE" != x
; then
3109 eval "DEFAULT_$LINE"
3114 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
3119 eval "$ac_cv_use_wxprintfv"
3120 if test "$no_cache" != 1; then
3121 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
3124 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
3125 echo "$ac_t""yes" 1>&6
3127 echo "$ac_t""no" 1>&6
3131 echo $ac_n "checking "for --enable-joystick"""... $ac_c" 1>&6
3132 echo "configure:3133: checking "for --enable-joystick"" >&5
3134 # Check whether --enable-joystick or --disable-joystick was given.
3135 if test "${enable_joystick+set}" = set; then
3136 enableval
="$enable_joystick"
3138 if test "$enableval" = yes; then
3139 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
3141 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
3146 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
3147 if test "x$LINE" != x
; then
3148 eval "DEFAULT_$LINE"
3153 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
3158 eval "$ac_cv_use_joystick"
3159 if test "$no_cache" != 1; then
3160 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
3163 if test "$wxUSE_JOYSTICK" = yes; then
3164 echo "$ac_t""yes" 1>&6
3166 echo "$ac_t""no" 1>&6
3170 echo $ac_n "checking "for --enable-std_iostreams"""... $ac_c" 1>&6
3171 echo "configure:3172: checking "for --enable-std_iostreams"" >&5
3173 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
3174 if test "${enable_std_iostreams+set}" = set; then
3175 enableval
="$enable_std_iostreams"
3177 if test "$enableval" = yes; then
3178 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
3180 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
3185 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
3186 if test "x$LINE" != x
; then
3187 eval "DEFAULT_$LINE"
3192 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
3197 eval "$ac_cv_use_std_iostreams"
3198 if test "$no_cache" != 1; then
3199 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
3202 if test "$wxUSE_STD_IOSTREAM" = yes; then
3203 echo "$ac_t""yes" 1>&6
3205 echo "$ac_t""no" 1>&6
3209 echo $ac_n "checking "for --enable-filesystem"""... $ac_c" 1>&6
3210 echo "configure:3211: checking "for --enable-filesystem"" >&5
3212 # Check whether --enable-filesystem or --disable-filesystem was given.
3213 if test "${enable_filesystem+set}" = set; then
3214 enableval
="$enable_filesystem"
3216 if test "$enableval" = yes; then
3217 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
3219 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
3224 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
3225 if test "x$LINE" != x
; then
3226 eval "DEFAULT_$LINE"
3231 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
3236 eval "$ac_cv_use_filesystem"
3237 if test "$no_cache" != 1; then
3238 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
3241 if test "$wxUSE_FILESYSTEM" = yes; then
3242 echo "$ac_t""yes" 1>&6
3244 echo "$ac_t""no" 1>&6
3248 echo $ac_n "checking "for --enable-fs_inet"""... $ac_c" 1>&6
3249 echo "configure:3250: checking "for --enable-fs_inet"" >&5
3251 # Check whether --enable-fs_inet or --disable-fs_inet was given.
3252 if test "${enable_fs_inet+set}" = set; then
3253 enableval
="$enable_fs_inet"
3255 if test "$enableval" = yes; then
3256 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
3258 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
3263 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
3264 if test "x$LINE" != x
; then
3265 eval "DEFAULT_$LINE"
3270 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
3275 eval "$ac_cv_use_fs_inet"
3276 if test "$no_cache" != 1; then
3277 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
3280 if test "$wxUSE_FS_INET" = yes; then
3281 echo "$ac_t""yes" 1>&6
3283 echo "$ac_t""no" 1>&6
3287 echo $ac_n "checking "for --enable-fs_zip"""... $ac_c" 1>&6
3288 echo "configure:3289: checking "for --enable-fs_zip"" >&5
3290 # Check whether --enable-fs_zip or --disable-fs_zip was given.
3291 if test "${enable_fs_zip+set}" = set; then
3292 enableval
="$enable_fs_zip"
3294 if test "$enableval" = yes; then
3295 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
3297 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
3302 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
3303 if test "x$LINE" != x
; then
3304 eval "DEFAULT_$LINE"
3309 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
3314 eval "$ac_cv_use_fs_zip"
3315 if test "$no_cache" != 1; then
3316 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
3319 if test "$wxUSE_FS_ZIP" = yes; then
3320 echo "$ac_t""yes" 1>&6
3322 echo "$ac_t""no" 1>&6
3326 echo $ac_n "checking "for --enable-zipstream"""... $ac_c" 1>&6
3327 echo "configure:3328: checking "for --enable-zipstream"" >&5
3329 # Check whether --enable-zipstream or --disable-zipstream was given.
3330 if test "${enable_zipstream+set}" = set; then
3331 enableval
="$enable_zipstream"
3333 if test "$enableval" = yes; then
3334 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
3336 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
3341 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
3342 if test "x$LINE" != x
; then
3343 eval "DEFAULT_$LINE"
3348 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
3353 eval "$ac_cv_use_zipstream"
3354 if test "$no_cache" != 1; then
3355 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
3358 if test "$wxUSE_ZIPSTREAM" = yes; then
3359 echo "$ac_t""yes" 1>&6
3361 echo "$ac_t""no" 1>&6
3367 echo $ac_n "checking "for --enable-threads"""... $ac_c" 1>&6
3368 echo "configure:3369: checking "for --enable-threads"" >&5
3370 # Check whether --enable-threads or --disable-threads was given.
3371 if test "${enable_threads+set}" = set; then
3372 enableval
="$enable_threads"
3374 if test "$enableval" = yes; then
3375 ac_cv_use_threads
='wxUSE_THREADS=yes'
3377 ac_cv_use_threads
='wxUSE_THREADS=no'
3382 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
3383 if test "x$LINE" != x
; then
3384 eval "DEFAULT_$LINE"
3389 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
3394 eval "$ac_cv_use_threads"
3395 if test "$no_cache" != 1; then
3396 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
3399 if test "$wxUSE_THREADS" = yes; then
3400 echo "$ac_t""yes" 1>&6
3402 echo "$ac_t""no" 1>&6
3406 echo $ac_n "checking "for --enable-serial"""... $ac_c" 1>&6
3407 echo "configure:3408: checking "for --enable-serial"" >&5
3409 # Check whether --enable-serial or --disable-serial was given.
3410 if test "${enable_serial+set}" = set; then
3411 enableval
="$enable_serial"
3413 if test "$enableval" = yes; then
3414 ac_cv_use_serial
='wxUSE_SERIAL=yes'
3416 ac_cv_use_serial
='wxUSE_SERIAL=no'
3421 LINE
=`grep "wxUSE_SERIAL" ${wx_arg_cache_file}`
3422 if test "x$LINE" != x
; then
3423 eval "DEFAULT_$LINE"
3428 ac_cv_use_serial
='wxUSE_SERIAL='$DEFAULT_wxUSE_SERIAL
3433 eval "$ac_cv_use_serial"
3434 if test "$no_cache" != 1; then
3435 echo $ac_cv_use_serial >> ${wx_arg_cache_file}.tmp
3438 if test "$wxUSE_SERIAL" = yes; then
3439 echo "$ac_t""yes" 1>&6
3441 echo "$ac_t""no" 1>&6
3445 if test "$wxUSE_GUI" = "yes"; then
3449 echo $ac_n "checking "for --enable-docview"""... $ac_c" 1>&6
3450 echo "configure:3451: checking "for --enable-docview"" >&5
3452 # Check whether --enable-docview or --disable-docview was given.
3453 if test "${enable_docview+set}" = set; then
3454 enableval
="$enable_docview"
3456 if test "$enableval" = yes; then
3457 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
3459 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
3464 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
3465 if test "x$LINE" != x
; then
3466 eval "DEFAULT_$LINE"
3471 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
3476 eval "$ac_cv_use_docview"
3477 if test "$no_cache" != 1; then
3478 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
3481 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
3482 echo "$ac_t""yes" 1>&6
3484 echo "$ac_t""no" 1>&6
3488 echo $ac_n "checking "for --enable-help"""... $ac_c" 1>&6
3489 echo "configure:3490: checking "for --enable-help"" >&5
3491 # Check whether --enable-help or --disable-help was given.
3492 if test "${enable_help+set}" = set; then
3493 enableval
="$enable_help"
3495 if test "$enableval" = yes; then
3496 ac_cv_use_help
='wxUSE_HELP=yes'
3498 ac_cv_use_help
='wxUSE_HELP=no'
3503 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
3504 if test "x$LINE" != x
; then
3505 eval "DEFAULT_$LINE"
3510 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
3515 eval "$ac_cv_use_help"
3516 if test "$no_cache" != 1; then
3517 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
3520 if test "$wxUSE_HELP" = yes; then
3521 echo "$ac_t""yes" 1>&6
3523 echo "$ac_t""no" 1>&6
3527 echo $ac_n "checking "for --enable-constraints"""... $ac_c" 1>&6
3528 echo "configure:3529: checking "for --enable-constraints"" >&5
3530 # Check whether --enable-constraints or --disable-constraints was given.
3531 if test "${enable_constraints+set}" = set; then
3532 enableval
="$enable_constraints"
3534 if test "$enableval" = yes; then
3535 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
3537 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
3542 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
3543 if test "x$LINE" != x
; then
3544 eval "DEFAULT_$LINE"
3549 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
3554 eval "$ac_cv_use_constraints"
3555 if test "$no_cache" != 1; then
3556 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
3559 if test "$wxUSE_CONSTRAINTS" = yes; then
3560 echo "$ac_t""yes" 1>&6
3562 echo "$ac_t""no" 1>&6
3566 echo $ac_n "checking "for --enable-printarch"""... $ac_c" 1>&6
3567 echo "configure:3568: checking "for --enable-printarch"" >&5
3569 # Check whether --enable-printarch or --disable-printarch was given.
3570 if test "${enable_printarch+set}" = set; then
3571 enableval
="$enable_printarch"
3573 if test "$enableval" = yes; then
3574 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
3576 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
3581 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
3582 if test "x$LINE" != x
; then
3583 eval "DEFAULT_$LINE"
3588 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
3593 eval "$ac_cv_use_printarch"
3594 if test "$no_cache" != 1; then
3595 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
3598 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
3599 echo "$ac_t""yes" 1>&6
3601 echo "$ac_t""no" 1>&6
3605 echo $ac_n "checking "for --enable-mdi"""... $ac_c" 1>&6
3606 echo "configure:3607: checking "for --enable-mdi"" >&5
3608 # Check whether --enable-mdi or --disable-mdi was given.
3609 if test "${enable_mdi+set}" = set; then
3610 enableval
="$enable_mdi"
3612 if test "$enableval" = yes; then
3613 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=yes'
3615 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=no'
3620 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
3621 if test "x$LINE" != x
; then
3622 eval "DEFAULT_$LINE"
3627 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
3632 eval "$ac_cv_use_mdi"
3633 if test "$no_cache" != 1; then
3634 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
3637 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
3638 echo "$ac_t""yes" 1>&6
3640 echo "$ac_t""no" 1>&6
3645 echo $ac_n "checking "for --enable-postscript"""... $ac_c" 1>&6
3646 echo "configure:3647: checking "for --enable-postscript"" >&5
3648 # Check whether --enable-postscript or --disable-postscript was given.
3649 if test "${enable_postscript+set}" = set; then
3650 enableval
="$enable_postscript"
3652 if test "$enableval" = yes; then
3653 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
3655 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
3660 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
3661 if test "x$LINE" != x
; then
3662 eval "DEFAULT_$LINE"
3667 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
3672 eval "$ac_cv_use_postscript"
3673 if test "$no_cache" != 1; then
3674 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
3677 if test "$wxUSE_POSTSCRIPT" = yes; then
3678 echo "$ac_t""yes" 1>&6
3680 echo "$ac_t""no" 1>&6
3686 echo $ac_n "checking "for --enable-prologio"""... $ac_c" 1>&6
3687 echo "configure:3688: checking "for --enable-prologio"" >&5
3689 # Check whether --enable-prologio or --disable-prologio was given.
3690 if test "${enable_prologio+set}" = set; then
3691 enableval
="$enable_prologio"
3693 if test "$enableval" = yes; then
3694 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
3696 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
3701 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
3702 if test "x$LINE" != x
; then
3703 eval "DEFAULT_$LINE"
3708 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
3713 eval "$ac_cv_use_prologio"
3714 if test "$no_cache" != 1; then
3715 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
3718 if test "$wxUSE_PROLOGIO" = yes; then
3719 echo "$ac_t""yes" 1>&6
3721 echo "$ac_t""no" 1>&6
3725 echo $ac_n "checking "for --enable-resources"""... $ac_c" 1>&6
3726 echo "configure:3727: checking "for --enable-resources"" >&5
3728 # Check whether --enable-resources or --disable-resources was given.
3729 if test "${enable_resources+set}" = set; then
3730 enableval
="$enable_resources"
3732 if test "$enableval" = yes; then
3733 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
3735 ac_cv_use_resources
='wxUSE_RESOURCES=no'
3740 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
3741 if test "x$LINE" != x
; then
3742 eval "DEFAULT_$LINE"
3747 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
3752 eval "$ac_cv_use_resources"
3753 if test "$no_cache" != 1; then
3754 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
3757 if test "$wxUSE_RESOURCES" = yes; then
3758 echo "$ac_t""yes" 1>&6
3760 echo "$ac_t""no" 1>&6
3765 echo $ac_n "checking "for --enable-xresources"""... $ac_c" 1>&6
3766 echo "configure:3767: checking "for --enable-xresources"" >&5
3768 # Check whether --enable-xresources or --disable-xresources was given.
3769 if test "${enable_xresources+set}" = set; then
3770 enableval
="$enable_xresources"
3772 if test "$enableval" = yes; then
3773 ac_cv_use_xresources
='wxUSE_X_RESOURCES=yes'
3775 ac_cv_use_xresources
='wxUSE_X_RESOURCES=no'
3780 LINE
=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
3781 if test "x$LINE" != x
; then
3782 eval "DEFAULT_$LINE"
3787 ac_cv_use_xresources
='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
3792 eval "$ac_cv_use_xresources"
3793 if test "$no_cache" != 1; then
3794 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
3797 if test "$wxUSE_X_RESOURCES" = yes; then
3798 echo "$ac_t""yes" 1>&6
3800 echo "$ac_t""no" 1>&6
3806 echo $ac_n "checking "for --enable-clipboard"""... $ac_c" 1>&6
3807 echo "configure:3808: checking "for --enable-clipboard"" >&5
3809 # Check whether --enable-clipboard or --disable-clipboard was given.
3810 if test "${enable_clipboard+set}" = set; then
3811 enableval
="$enable_clipboard"
3813 if test "$enableval" = yes; then
3814 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
3816 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
3821 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
3822 if test "x$LINE" != x
; then
3823 eval "DEFAULT_$LINE"
3828 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
3833 eval "$ac_cv_use_clipboard"
3834 if test "$no_cache" != 1; then
3835 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
3838 if test "$wxUSE_CLIPBOARD" = yes; then
3839 echo "$ac_t""yes" 1>&6
3841 echo "$ac_t""no" 1>&6
3845 echo $ac_n "checking "for --enable-dnd"""... $ac_c" 1>&6
3846 echo "configure:3847: checking "for --enable-dnd"" >&5
3848 # Check whether --enable-dnd or --disable-dnd was given.
3849 if test "${enable_dnd+set}" = set; then
3850 enableval
="$enable_dnd"
3852 if test "$enableval" = yes; then
3853 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
3855 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
3860 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
3861 if test "x$LINE" != x
; then
3862 eval "DEFAULT_$LINE"
3867 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
3872 eval "$ac_cv_use_dnd"
3873 if test "$no_cache" != 1; then
3874 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
3877 if test "$wxUSE_DRAG_AND_DROP" = yes; then
3878 echo "$ac_t""yes" 1>&6
3880 echo "$ac_t""no" 1>&6
3885 echo $ac_n "checking "for --enable-wxtree"""... $ac_c" 1>&6
3886 echo "configure:3887: checking "for --enable-wxtree"" >&5
3888 # Check whether --enable-wxtree or --disable-wxtree was given.
3889 if test "${enable_wxtree+set}" = set; then
3890 enableval
="$enable_wxtree"
3892 if test "$enableval" = yes; then
3893 ac_cv_use_wxtree
='wxUSE_WXTREE=yes'
3895 ac_cv_use_wxtree
='wxUSE_WXTREE=no'
3900 LINE
=`grep "wxUSE_WXTREE" ${wx_arg_cache_file}`
3901 if test "x$LINE" != x
; then
3902 eval "DEFAULT_$LINE"
3907 ac_cv_use_wxtree
='wxUSE_WXTREE='$DEFAULT_wxUSE_WXTREE
3912 eval "$ac_cv_use_wxtree"
3913 if test "$no_cache" != 1; then
3914 echo $ac_cv_use_wxtree >> ${wx_arg_cache_file}.tmp
3917 if test "$wxUSE_WXTREE" = yes; then
3918 echo "$ac_t""yes" 1>&6
3920 echo "$ac_t""no" 1>&6
3926 echo $ac_n "checking "for --enable-controls"""... $ac_c" 1>&6
3927 echo "configure:3928: checking "for --enable-controls"" >&5
3929 # Check whether --enable-controls or --disable-controls was given.
3930 if test "${enable_controls+set}" = set; then
3931 enableval
="$enable_controls"
3933 if test "$enableval" = yes; then
3934 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
3936 ac_cv_use_controls
='wxUSE_CONTROLS=no'
3941 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
3942 if test "x$LINE" != x
; then
3943 eval "DEFAULT_$LINE"
3948 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
3953 eval "$ac_cv_use_controls"
3954 if test "$no_cache" != 1; then
3955 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
3958 if test "$wxUSE_CONTROLS" = yes; then
3959 echo "$ac_t""yes" 1>&6
3961 echo "$ac_t""no" 1>&6
3965 if test "$wxUSE_CONTROLS" = "yes"; then
3966 DEFAULT_wxUSE_ACCEL
=yes
3967 DEFAULT_wxUSE_CARET
=yes
3968 DEFAULT_wxUSE_COMBOBOX
=yes
3969 DEFAULT_wxUSE_BMPBUTTON
=yes
3970 DEFAULT_wxUSE_CHECKBOX
=yes
3971 DEFAULT_wxUSE_CHECKLISTBOX
=yes
3972 DEFAULT_wxUSE_CHOICE
=yes
3973 DEFAULT_wxUSE_GAUGE
=yes
3974 DEFAULT_wxUSE_GRID
=yes
3975 DEFAULT_wxUSE_NEW_GRID
=yes
3976 DEFAULT_wxUSE_IMAGLIST
=yes
3977 DEFAULT_wxUSE_LISTBOX
=yes
3978 DEFAULT_wxUSE_LISTCTRL
=yes
3979 DEFAULT_wxUSE_NOTEBOOK
=yes
3980 DEFAULT_wxUSE_RADIOBOX
=yes
3981 DEFAULT_wxUSE_RADIOBTN
=yes
3982 DEFAULT_wxUSE_SASH
=yes
3983 DEFAULT_wxUSE_SCROLLBAR
=yes
3984 DEFAULT_wxUSE_SLIDER
=yes
3985 DEFAULT_wxUSE_SPINBTN
=yes
3986 DEFAULT_wxUSE_SPINCTRL
=yes
3987 DEFAULT_wxUSE_SPLITTER
=yes
3988 DEFAULT_wxUSE_STATBMP
=yes
3989 DEFAULT_wxUSE_STATBOX
=yes
3990 DEFAULT_wxUSE_STATLINE
=yes
3991 DEFAULT_wxUSE_STATUSBAR
=yes
3992 DEFAULT_wxUSE_TAB_DIALOG
=yes
3993 DEFAULT_wxUSE_TOOLBAR
=yes
3994 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
3995 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
3996 DEFAULT_wxUSE_TOOLTIPS
=yes
3997 DEFAULT_wxUSE_TREECTRL
=yes
3998 elif test "$wxUSE_CONTROLS" = "no"; then
3999 DEFAULT_wxUSE_ACCEL
=no
4000 DEFAULT_wxUSE_CARET
=no
4001 DEFAULT_wxUSE_COMBOBOX
=no
4002 DEFAULT_wxUSE_BMPBUTTON
=no
4003 DEFAULT_wxUSE_CHECKBOX
=no
4004 DEFAULT_wxUSE_CHECKLISTBOX
=no
4005 DEFAULT_wxUSE_CHOICE
=no
4006 DEFAULT_wxUSE_GAUGE
=no
4007 DEFAULT_wxUSE_GRID
=no
4008 DEFAULT_wxUSE_NEW_GRID
=no
4009 DEFAULT_wxUSE_IMAGLIST
=no
4010 DEFAULT_wxUSE_LISTBOX
=no
4011 DEFAULT_wxUSE_LISTCTRL
=no
4012 DEFAULT_wxUSE_NOTEBOOK
=no
4013 DEFAULT_wxUSE_RADIOBOX
=no
4014 DEFAULT_wxUSE_RADIOBTN
=no
4015 DEFAULT_wxUSE_SASH
=no
4016 DEFAULT_wxUSE_SCROLLBAR
=no
4017 DEFAULT_wxUSE_SLIDER
=no
4018 DEFAULT_wxUSE_SPINBTN
=no
4019 DEFAULT_wxUSE_SPINCTRL
=no
4020 DEFAULT_wxUSE_SPLITTER
=no
4021 DEFAULT_wxUSE_STATBMP
=no
4022 DEFAULT_wxUSE_STATBOX
=no
4023 DEFAULT_wxUSE_STATLINE
=no
4024 DEFAULT_wxUSE_STATUSBAR
=no
4025 DEFAULT_wxUSE_TAB_DIALOG
=no
4026 DEFAULT_wxUSE_TOOLBAR
=no
4027 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
4028 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
4029 DEFAULT_wxUSE_TOOLTIPS
=no
4030 DEFAULT_wxUSE_TREECTRL
=no
4034 echo $ac_n "checking "for --enable-accel"""... $ac_c" 1>&6
4035 echo "configure:4036: checking "for --enable-accel"" >&5
4037 # Check whether --enable-accel or --disable-accel was given.
4038 if test "${enable_accel+set}" = set; then
4039 enableval
="$enable_accel"
4041 if test "$enableval" = yes; then
4042 ac_cv_use_accel
='wxUSE_ACCEL=yes'
4044 ac_cv_use_accel
='wxUSE_ACCEL=no'
4049 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
4050 if test "x$LINE" != x
; then
4051 eval "DEFAULT_$LINE"
4056 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
4061 eval "$ac_cv_use_accel"
4062 if test "$no_cache" != 1; then
4063 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
4066 if test "$wxUSE_ACCEL" = yes; then
4067 echo "$ac_t""yes" 1>&6
4069 echo "$ac_t""no" 1>&6
4073 echo $ac_n "checking "for --enable-caret"""... $ac_c" 1>&6
4074 echo "configure:4075: checking "for --enable-caret"" >&5
4076 # Check whether --enable-caret or --disable-caret was given.
4077 if test "${enable_caret+set}" = set; then
4078 enableval
="$enable_caret"
4080 if test "$enableval" = yes; then
4081 ac_cv_use_caret
='wxUSE_CARET=yes'
4083 ac_cv_use_caret
='wxUSE_CARET=no'
4088 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
4089 if test "x$LINE" != x
; then
4090 eval "DEFAULT_$LINE"
4095 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
4100 eval "$ac_cv_use_caret"
4101 if test "$no_cache" != 1; then
4102 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
4105 if test "$wxUSE_CARET" = yes; then
4106 echo "$ac_t""yes" 1>&6
4108 echo "$ac_t""no" 1>&6
4112 echo $ac_n "checking "for --enable-bmpbutton"""... $ac_c" 1>&6
4113 echo "configure:4114: checking "for --enable-bmpbutton"" >&5
4115 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
4116 if test "${enable_bmpbutton+set}" = set; then
4117 enableval
="$enable_bmpbutton"
4119 if test "$enableval" = yes; then
4120 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
4122 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
4127 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
4128 if test "x$LINE" != x
; then
4129 eval "DEFAULT_$LINE"
4134 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
4139 eval "$ac_cv_use_bmpbutton"
4140 if test "$no_cache" != 1; then
4141 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
4144 if test "$wxUSE_BMPBUTTON" = yes; then
4145 echo "$ac_t""yes" 1>&6
4147 echo "$ac_t""no" 1>&6
4151 echo $ac_n "checking "for --enable-checkbox"""... $ac_c" 1>&6
4152 echo "configure:4153: checking "for --enable-checkbox"" >&5
4154 # Check whether --enable-checkbox or --disable-checkbox was given.
4155 if test "${enable_checkbox+set}" = set; then
4156 enableval
="$enable_checkbox"
4158 if test "$enableval" = yes; then
4159 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
4161 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
4166 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
4167 if test "x$LINE" != x
; then
4168 eval "DEFAULT_$LINE"
4173 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
4178 eval "$ac_cv_use_checkbox"
4179 if test "$no_cache" != 1; then
4180 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
4183 if test "$wxUSE_CHECKBOX" = yes; then
4184 echo "$ac_t""yes" 1>&6
4186 echo "$ac_t""no" 1>&6
4190 echo $ac_n "checking "for --enable-checklst"""... $ac_c" 1>&6
4191 echo "configure:4192: checking "for --enable-checklst"" >&5
4193 # Check whether --enable-checklst or --disable-checklst was given.
4194 if test "${enable_checklst+set}" = set; then
4195 enableval
="$enable_checklst"
4197 if test "$enableval" = yes; then
4198 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
4200 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
4205 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
4206 if test "x$LINE" != x
; then
4207 eval "DEFAULT_$LINE"
4212 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
4217 eval "$ac_cv_use_checklst"
4218 if test "$no_cache" != 1; then
4219 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
4222 if test "$wxUSE_CHECKLST" = yes; then
4223 echo "$ac_t""yes" 1>&6
4225 echo "$ac_t""no" 1>&6
4229 echo $ac_n "checking "for --enable-choice"""... $ac_c" 1>&6
4230 echo "configure:4231: checking "for --enable-choice"" >&5
4232 # Check whether --enable-choice or --disable-choice was given.
4233 if test "${enable_choice+set}" = set; then
4234 enableval
="$enable_choice"
4236 if test "$enableval" = yes; then
4237 ac_cv_use_choice
='wxUSE_CHOICE=yes'
4239 ac_cv_use_choice
='wxUSE_CHOICE=no'
4244 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
4245 if test "x$LINE" != x
; then
4246 eval "DEFAULT_$LINE"
4251 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
4256 eval "$ac_cv_use_choice"
4257 if test "$no_cache" != 1; then
4258 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
4261 if test "$wxUSE_CHOICE" = yes; then
4262 echo "$ac_t""yes" 1>&6
4264 echo "$ac_t""no" 1>&6
4268 echo $ac_n "checking "for --enable-combobox"""... $ac_c" 1>&6
4269 echo "configure:4270: checking "for --enable-combobox"" >&5
4271 # Check whether --enable-combobox or --disable-combobox was given.
4272 if test "${enable_combobox+set}" = set; then
4273 enableval
="$enable_combobox"
4275 if test "$enableval" = yes; then
4276 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
4278 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
4283 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
4284 if test "x$LINE" != x
; then
4285 eval "DEFAULT_$LINE"
4290 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
4295 eval "$ac_cv_use_combobox"
4296 if test "$no_cache" != 1; then
4297 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
4300 if test "$wxUSE_COMBOBOX" = yes; then
4301 echo "$ac_t""yes" 1>&6
4303 echo "$ac_t""no" 1>&6
4307 echo $ac_n "checking "for --enable-gauge"""... $ac_c" 1>&6
4308 echo "configure:4309: checking "for --enable-gauge"" >&5
4310 # Check whether --enable-gauge or --disable-gauge was given.
4311 if test "${enable_gauge+set}" = set; then
4312 enableval
="$enable_gauge"
4314 if test "$enableval" = yes; then
4315 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
4317 ac_cv_use_gauge
='wxUSE_GAUGE=no'
4322 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
4323 if test "x$LINE" != x
; then
4324 eval "DEFAULT_$LINE"
4329 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
4334 eval "$ac_cv_use_gauge"
4335 if test "$no_cache" != 1; then
4336 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
4339 if test "$wxUSE_GAUGE" = yes; then
4340 echo "$ac_t""yes" 1>&6
4342 echo "$ac_t""no" 1>&6
4346 echo $ac_n "checking "for --enable-grid"""... $ac_c" 1>&6
4347 echo "configure:4348: checking "for --enable-grid"" >&5
4349 # Check whether --enable-grid or --disable-grid was given.
4350 if test "${enable_grid+set}" = set; then
4351 enableval
="$enable_grid"
4353 if test "$enableval" = yes; then
4354 ac_cv_use_grid
='wxUSE_GRID=yes'
4356 ac_cv_use_grid
='wxUSE_GRID=no'
4361 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
4362 if test "x$LINE" != x
; then
4363 eval "DEFAULT_$LINE"
4368 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
4373 eval "$ac_cv_use_grid"
4374 if test "$no_cache" != 1; then
4375 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
4378 if test "$wxUSE_GRID" = yes; then
4379 echo "$ac_t""yes" 1>&6
4381 echo "$ac_t""no" 1>&6
4385 echo $ac_n "checking "for --enable-newgrid"""... $ac_c" 1>&6
4386 echo "configure:4387: checking "for --enable-newgrid"" >&5
4388 # Check whether --enable-newgrid or --disable-newgrid was given.
4389 if test "${enable_newgrid+set}" = set; then
4390 enableval
="$enable_newgrid"
4392 if test "$enableval" = yes; then
4393 ac_cv_use_newgrid
='wxUSE_NEW_GRID=yes'
4395 ac_cv_use_newgrid
='wxUSE_NEW_GRID=no'
4400 LINE
=`grep "wxUSE_NEW_GRID" ${wx_arg_cache_file}`
4401 if test "x$LINE" != x
; then
4402 eval "DEFAULT_$LINE"
4407 ac_cv_use_newgrid
='wxUSE_NEW_GRID='$DEFAULT_wxUSE_NEW_GRID
4412 eval "$ac_cv_use_newgrid"
4413 if test "$no_cache" != 1; then
4414 echo $ac_cv_use_newgrid >> ${wx_arg_cache_file}.tmp
4417 if test "$wxUSE_NEW_GRID" = yes; then
4418 echo "$ac_t""yes" 1>&6
4420 echo "$ac_t""no" 1>&6
4424 echo $ac_n "checking "for --enable-imaglist"""... $ac_c" 1>&6
4425 echo "configure:4426: checking "for --enable-imaglist"" >&5
4427 # Check whether --enable-imaglist or --disable-imaglist was given.
4428 if test "${enable_imaglist+set}" = set; then
4429 enableval
="$enable_imaglist"
4431 if test "$enableval" = yes; then
4432 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
4434 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
4439 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
4440 if test "x$LINE" != x
; then
4441 eval "DEFAULT_$LINE"
4446 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
4451 eval "$ac_cv_use_imaglist"
4452 if test "$no_cache" != 1; then
4453 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
4456 if test "$wxUSE_IMAGLIST" = yes; then
4457 echo "$ac_t""yes" 1>&6
4459 echo "$ac_t""no" 1>&6
4463 echo $ac_n "checking "for --enable-listbox"""... $ac_c" 1>&6
4464 echo "configure:4465: checking "for --enable-listbox"" >&5
4466 # Check whether --enable-listbox or --disable-listbox was given.
4467 if test "${enable_listbox+set}" = set; then
4468 enableval
="$enable_listbox"
4470 if test "$enableval" = yes; then
4471 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
4473 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
4478 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
4479 if test "x$LINE" != x
; then
4480 eval "DEFAULT_$LINE"
4485 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
4490 eval "$ac_cv_use_listbox"
4491 if test "$no_cache" != 1; then
4492 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
4495 if test "$wxUSE_LISTBOX" = yes; then
4496 echo "$ac_t""yes" 1>&6
4498 echo "$ac_t""no" 1>&6
4502 echo $ac_n "checking "for --enable-listctrl"""... $ac_c" 1>&6
4503 echo "configure:4504: checking "for --enable-listctrl"" >&5
4505 # Check whether --enable-listctrl or --disable-listctrl was given.
4506 if test "${enable_listctrl+set}" = set; then
4507 enableval
="$enable_listctrl"
4509 if test "$enableval" = yes; then
4510 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
4512 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
4517 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
4518 if test "x$LINE" != x
; then
4519 eval "DEFAULT_$LINE"
4524 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
4529 eval "$ac_cv_use_listctrl"
4530 if test "$no_cache" != 1; then
4531 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
4534 if test "$wxUSE_LISTCTRL" = yes; then
4535 echo "$ac_t""yes" 1>&6
4537 echo "$ac_t""no" 1>&6
4541 echo $ac_n "checking "for --enable-notebook"""... $ac_c" 1>&6
4542 echo "configure:4543: checking "for --enable-notebook"" >&5
4544 # Check whether --enable-notebook or --disable-notebook was given.
4545 if test "${enable_notebook+set}" = set; then
4546 enableval
="$enable_notebook"
4548 if test "$enableval" = yes; then
4549 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
4551 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
4556 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
4557 if test "x$LINE" != x
; then
4558 eval "DEFAULT_$LINE"
4563 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
4568 eval "$ac_cv_use_notebook"
4569 if test "$no_cache" != 1; then
4570 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
4573 if test "$wxUSE_NOTEBOOK" = yes; then
4574 echo "$ac_t""yes" 1>&6
4576 echo "$ac_t""no" 1>&6
4580 echo $ac_n "checking "for --enable-radiobox"""... $ac_c" 1>&6
4581 echo "configure:4582: checking "for --enable-radiobox"" >&5
4583 # Check whether --enable-radiobox or --disable-radiobox was given.
4584 if test "${enable_radiobox+set}" = set; then
4585 enableval
="$enable_radiobox"
4587 if test "$enableval" = yes; then
4588 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
4590 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
4595 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
4596 if test "x$LINE" != x
; then
4597 eval "DEFAULT_$LINE"
4602 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
4607 eval "$ac_cv_use_radiobox"
4608 if test "$no_cache" != 1; then
4609 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
4612 if test "$wxUSE_RADIOBOX" = yes; then
4613 echo "$ac_t""yes" 1>&6
4615 echo "$ac_t""no" 1>&6
4619 echo $ac_n "checking "for --enable-radiobtn"""... $ac_c" 1>&6
4620 echo "configure:4621: checking "for --enable-radiobtn"" >&5
4622 # Check whether --enable-radiobtn or --disable-radiobtn was given.
4623 if test "${enable_radiobtn+set}" = set; then
4624 enableval
="$enable_radiobtn"
4626 if test "$enableval" = yes; then
4627 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
4629 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
4634 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
4635 if test "x$LINE" != x
; then
4636 eval "DEFAULT_$LINE"
4641 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
4646 eval "$ac_cv_use_radiobtn"
4647 if test "$no_cache" != 1; then
4648 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
4651 if test "$wxUSE_RADIOBTN" = yes; then
4652 echo "$ac_t""yes" 1>&6
4654 echo "$ac_t""no" 1>&6
4658 echo $ac_n "checking "for --enable-sash"""... $ac_c" 1>&6
4659 echo "configure:4660: checking "for --enable-sash"" >&5
4661 # Check whether --enable-sash or --disable-sash was given.
4662 if test "${enable_sash+set}" = set; then
4663 enableval
="$enable_sash"
4665 if test "$enableval" = yes; then
4666 ac_cv_use_sash
='wxUSE_SASH=yes'
4668 ac_cv_use_sash
='wxUSE_SASH=no'
4673 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
4674 if test "x$LINE" != x
; then
4675 eval "DEFAULT_$LINE"
4680 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
4685 eval "$ac_cv_use_sash"
4686 if test "$no_cache" != 1; then
4687 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
4690 if test "$wxUSE_SASH" = yes; then
4691 echo "$ac_t""yes" 1>&6
4693 echo "$ac_t""no" 1>&6
4697 echo $ac_n "checking "for --enable-scrollbar"""... $ac_c" 1>&6
4698 echo "configure:4699: checking "for --enable-scrollbar"" >&5
4700 # Check whether --enable-scrollbar or --disable-scrollbar was given.
4701 if test "${enable_scrollbar+set}" = set; then
4702 enableval
="$enable_scrollbar"
4704 if test "$enableval" = yes; then
4705 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
4707 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
4712 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
4713 if test "x$LINE" != x
; then
4714 eval "DEFAULT_$LINE"
4719 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
4724 eval "$ac_cv_use_scrollbar"
4725 if test "$no_cache" != 1; then
4726 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
4729 if test "$wxUSE_SCROLLBAR" = yes; then
4730 echo "$ac_t""yes" 1>&6
4732 echo "$ac_t""no" 1>&6
4736 echo $ac_n "checking "for --enable-slider"""... $ac_c" 1>&6
4737 echo "configure:4738: checking "for --enable-slider"" >&5
4739 # Check whether --enable-slider or --disable-slider was given.
4740 if test "${enable_slider+set}" = set; then
4741 enableval
="$enable_slider"
4743 if test "$enableval" = yes; then
4744 ac_cv_use_slider
='wxUSE_SLIDER=yes'
4746 ac_cv_use_slider
='wxUSE_SLIDER=no'
4751 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
4752 if test "x$LINE" != x
; then
4753 eval "DEFAULT_$LINE"
4758 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
4763 eval "$ac_cv_use_slider"
4764 if test "$no_cache" != 1; then
4765 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
4768 if test "$wxUSE_SLIDER" = yes; then
4769 echo "$ac_t""yes" 1>&6
4771 echo "$ac_t""no" 1>&6
4775 echo $ac_n "checking "for --enable-spinbtn"""... $ac_c" 1>&6
4776 echo "configure:4777: checking "for --enable-spinbtn"" >&5
4778 # Check whether --enable-spinbtn or --disable-spinbtn was given.
4779 if test "${enable_spinbtn+set}" = set; then
4780 enableval
="$enable_spinbtn"
4782 if test "$enableval" = yes; then
4783 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
4785 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
4790 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
4791 if test "x$LINE" != x
; then
4792 eval "DEFAULT_$LINE"
4797 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
4802 eval "$ac_cv_use_spinbtn"
4803 if test "$no_cache" != 1; then
4804 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
4807 if test "$wxUSE_SPINBTN" = yes; then
4808 echo "$ac_t""yes" 1>&6
4810 echo "$ac_t""no" 1>&6
4814 echo $ac_n "checking "for --enable-spinctrl"""... $ac_c" 1>&6
4815 echo "configure:4816: checking "for --enable-spinctrl"" >&5
4817 # Check whether --enable-spinctrl or --disable-spinctrl was given.
4818 if test "${enable_spinctrl+set}" = set; then
4819 enableval
="$enable_spinctrl"
4821 if test "$enableval" = yes; then
4822 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
4824 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
4829 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
4830 if test "x$LINE" != x
; then
4831 eval "DEFAULT_$LINE"
4836 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
4841 eval "$ac_cv_use_spinctrl"
4842 if test "$no_cache" != 1; then
4843 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
4846 if test "$wxUSE_SPINCTRL" = yes; then
4847 echo "$ac_t""yes" 1>&6
4849 echo "$ac_t""no" 1>&6
4853 echo $ac_n "checking "for --enable-splitter"""... $ac_c" 1>&6
4854 echo "configure:4855: checking "for --enable-splitter"" >&5
4856 # Check whether --enable-splitter or --disable-splitter was given.
4857 if test "${enable_splitter+set}" = set; then
4858 enableval
="$enable_splitter"
4860 if test "$enableval" = yes; then
4861 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
4863 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
4868 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
4869 if test "x$LINE" != x
; then
4870 eval "DEFAULT_$LINE"
4875 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
4880 eval "$ac_cv_use_splitter"
4881 if test "$no_cache" != 1; then
4882 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
4885 if test "$wxUSE_SPLITTER" = yes; then
4886 echo "$ac_t""yes" 1>&6
4888 echo "$ac_t""no" 1>&6
4892 echo $ac_n "checking "for --enable-statbmp"""... $ac_c" 1>&6
4893 echo "configure:4894: checking "for --enable-statbmp"" >&5
4895 # Check whether --enable-statbmp or --disable-statbmp was given.
4896 if test "${enable_statbmp+set}" = set; then
4897 enableval
="$enable_statbmp"
4899 if test "$enableval" = yes; then
4900 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
4902 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
4907 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
4908 if test "x$LINE" != x
; then
4909 eval "DEFAULT_$LINE"
4914 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
4919 eval "$ac_cv_use_statbmp"
4920 if test "$no_cache" != 1; then
4921 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
4924 if test "$wxUSE_STATBMP" = yes; then
4925 echo "$ac_t""yes" 1>&6
4927 echo "$ac_t""no" 1>&6
4931 echo $ac_n "checking "for --enable-statbox"""... $ac_c" 1>&6
4932 echo "configure:4933: checking "for --enable-statbox"" >&5
4934 # Check whether --enable-statbox or --disable-statbox was given.
4935 if test "${enable_statbox+set}" = set; then
4936 enableval
="$enable_statbox"
4938 if test "$enableval" = yes; then
4939 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
4941 ac_cv_use_statbox
='wxUSE_STATBOX=no'
4946 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
4947 if test "x$LINE" != x
; then
4948 eval "DEFAULT_$LINE"
4953 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
4958 eval "$ac_cv_use_statbox"
4959 if test "$no_cache" != 1; then
4960 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
4963 if test "$wxUSE_STATBOX" = yes; then
4964 echo "$ac_t""yes" 1>&6
4966 echo "$ac_t""no" 1>&6
4970 echo $ac_n "checking "for --enable-statline"""... $ac_c" 1>&6
4971 echo "configure:4972: checking "for --enable-statline"" >&5
4973 # Check whether --enable-statline or --disable-statline was given.
4974 if test "${enable_statline+set}" = set; then
4975 enableval
="$enable_statline"
4977 if test "$enableval" = yes; then
4978 ac_cv_use_statline
='wxUSE_STATLINE=yes'
4980 ac_cv_use_statline
='wxUSE_STATLINE=no'
4985 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
4986 if test "x$LINE" != x
; then
4987 eval "DEFAULT_$LINE"
4992 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
4997 eval "$ac_cv_use_statline"
4998 if test "$no_cache" != 1; then
4999 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
5002 if test "$wxUSE_STATLINE" = yes; then
5003 echo "$ac_t""yes" 1>&6
5005 echo "$ac_t""no" 1>&6
5009 echo $ac_n "checking "for --enable-statusbar"""... $ac_c" 1>&6
5010 echo "configure:5011: checking "for --enable-statusbar"" >&5
5012 # Check whether --enable-statusbar or --disable-statusbar was given.
5013 if test "${enable_statusbar+set}" = set; then
5014 enableval
="$enable_statusbar"
5016 if test "$enableval" = yes; then
5017 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
5019 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
5024 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
5025 if test "x$LINE" != x
; then
5026 eval "DEFAULT_$LINE"
5031 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
5036 eval "$ac_cv_use_statusbar"
5037 if test "$no_cache" != 1; then
5038 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
5041 if test "$wxUSE_STATUSBAR" = yes; then
5042 echo "$ac_t""yes" 1>&6
5044 echo "$ac_t""no" 1>&6
5048 echo $ac_n "checking "for --enable-tabdialog"""... $ac_c" 1>&6
5049 echo "configure:5050: checking "for --enable-tabdialog"" >&5
5051 # Check whether --enable-tabdialog or --disable-tabdialog was given.
5052 if test "${enable_tabdialog+set}" = set; then
5053 enableval
="$enable_tabdialog"
5055 if test "$enableval" = yes; then
5056 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
5058 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
5063 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
5064 if test "x$LINE" != x
; then
5065 eval "DEFAULT_$LINE"
5070 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
5075 eval "$ac_cv_use_tabdialog"
5076 if test "$no_cache" != 1; then
5077 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
5080 if test "$wxUSE_TABDIALOG" = yes; then
5081 echo "$ac_t""yes" 1>&6
5083 echo "$ac_t""no" 1>&6
5087 echo $ac_n "checking "for --enable-toolbar"""... $ac_c" 1>&6
5088 echo "configure:5089: checking "for --enable-toolbar"" >&5
5090 # Check whether --enable-toolbar or --disable-toolbar was given.
5091 if test "${enable_toolbar+set}" = set; then
5092 enableval
="$enable_toolbar"
5094 if test "$enableval" = yes; then
5095 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
5097 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
5102 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
5103 if test "x$LINE" != x
; then
5104 eval "DEFAULT_$LINE"
5109 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
5114 eval "$ac_cv_use_toolbar"
5115 if test "$no_cache" != 1; then
5116 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
5119 if test "$wxUSE_TOOLBAR" = yes; then
5120 echo "$ac_t""yes" 1>&6
5122 echo "$ac_t""no" 1>&6
5126 echo $ac_n "checking "for --enable-tbarnative"""... $ac_c" 1>&6
5127 echo "configure:5128: checking "for --enable-tbarnative"" >&5
5129 # Check whether --enable-tbarnative or --disable-tbarnative was given.
5130 if test "${enable_tbarnative+set}" = set; then
5131 enableval
="$enable_tbarnative"
5133 if test "$enableval" = yes; then
5134 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
5136 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
5141 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
5142 if test "x$LINE" != x
; then
5143 eval "DEFAULT_$LINE"
5148 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
5153 eval "$ac_cv_use_tbarnative"
5154 if test "$no_cache" != 1; then
5155 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
5158 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
5159 echo "$ac_t""yes" 1>&6
5161 echo "$ac_t""no" 1>&6
5165 echo $ac_n "checking "for --enable-tbarsmpl"""... $ac_c" 1>&6
5166 echo "configure:5167: checking "for --enable-tbarsmpl"" >&5
5168 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
5169 if test "${enable_tbarsmpl+set}" = set; then
5170 enableval
="$enable_tbarsmpl"
5172 if test "$enableval" = yes; then
5173 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
5175 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
5180 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
5181 if test "x$LINE" != x
; then
5182 eval "DEFAULT_$LINE"
5187 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
5192 eval "$ac_cv_use_tbarsmpl"
5193 if test "$no_cache" != 1; then
5194 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
5197 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
5198 echo "$ac_t""yes" 1>&6
5200 echo "$ac_t""no" 1>&6
5204 echo $ac_n "checking "for --enable-treectrl"""... $ac_c" 1>&6
5205 echo "configure:5206: checking "for --enable-treectrl"" >&5
5207 # Check whether --enable-treectrl or --disable-treectrl was given.
5208 if test "${enable_treectrl+set}" = set; then
5209 enableval
="$enable_treectrl"
5211 if test "$enableval" = yes; then
5212 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
5214 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
5219 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
5220 if test "x$LINE" != x
; then
5221 eval "DEFAULT_$LINE"
5226 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
5231 eval "$ac_cv_use_treectrl"
5232 if test "$no_cache" != 1; then
5233 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
5236 if test "$wxUSE_TREECTRL" = yes; then
5237 echo "$ac_t""yes" 1>&6
5239 echo "$ac_t""no" 1>&6
5245 echo $ac_n "checking "for --enable-commondlg"""... $ac_c" 1>&6
5246 echo "configure:5247: checking "for --enable-commondlg"" >&5
5248 # Check whether --enable-commondlg or --disable-commondlg was given.
5249 if test "${enable_commondlg+set}" = set; then
5250 enableval
="$enable_commondlg"
5252 if test "$enableval" = yes; then
5253 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
5255 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
5260 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
5261 if test "x$LINE" != x
; then
5262 eval "DEFAULT_$LINE"
5267 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
5272 eval "$ac_cv_use_commondlg"
5273 if test "$no_cache" != 1; then
5274 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
5277 if test "$wxUSE_COMMONDLGS" = yes; then
5278 echo "$ac_t""yes" 1>&6
5280 echo "$ac_t""no" 1>&6
5284 echo $ac_n "checking "for --enable-dirdlg"""... $ac_c" 1>&6
5285 echo "configure:5286: checking "for --enable-dirdlg"" >&5
5287 # Check whether --enable-dirdlg or --disable-dirdlg was given.
5288 if test "${enable_dirdlg+set}" = set; then
5289 enableval
="$enable_dirdlg"
5291 if test "$enableval" = yes; then
5292 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
5294 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
5299 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
5300 if test "x$LINE" != x
; then
5301 eval "DEFAULT_$LINE"
5306 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
5311 eval "$ac_cv_use_dirdlg"
5312 if test "$no_cache" != 1; then
5313 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
5316 if test "$wxUSE_DIRDLG" = yes; then
5317 echo "$ac_t""yes" 1>&6
5319 echo "$ac_t""no" 1>&6
5323 echo $ac_n "checking "for --enable-textdlg"""... $ac_c" 1>&6
5324 echo "configure:5325: checking "for --enable-textdlg"" >&5
5326 # Check whether --enable-textdlg or --disable-textdlg was given.
5327 if test "${enable_textdlg+set}" = set; then
5328 enableval
="$enable_textdlg"
5330 if test "$enableval" = yes; then
5331 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
5333 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
5338 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
5339 if test "x$LINE" != x
; then
5340 eval "DEFAULT_$LINE"
5345 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
5350 eval "$ac_cv_use_textdlg"
5351 if test "$no_cache" != 1; then
5352 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
5355 if test "$wxUSE_TEXTDLG" = yes; then
5356 echo "$ac_t""yes" 1>&6
5358 echo "$ac_t""no" 1>&6
5362 echo $ac_n "checking "for --enable-tipdlg"""... $ac_c" 1>&6
5363 echo "configure:5364: checking "for --enable-tipdlg"" >&5
5365 # Check whether --enable-tipdlg or --disable-tipdlg was given.
5366 if test "${enable_tipdlg+set}" = set; then
5367 enableval
="$enable_tipdlg"
5369 if test "$enableval" = yes; then
5370 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
5372 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
5377 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
5378 if test "x$LINE" != x
; then
5379 eval "DEFAULT_$LINE"
5384 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
5389 eval "$ac_cv_use_tipdlg"
5390 if test "$no_cache" != 1; then
5391 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
5394 if test "$wxUSE_STARTUP_TIPS" = yes; then
5395 echo "$ac_t""yes" 1>&6
5397 echo "$ac_t""no" 1>&6
5401 echo $ac_n "checking "for --enable-progressdlg"""... $ac_c" 1>&6
5402 echo "configure:5403: checking "for --enable-progressdlg"" >&5
5404 # Check whether --enable-progressdlg or --disable-progressdlg was given.
5405 if test "${enable_progressdlg+set}" = set; then
5406 enableval
="$enable_progressdlg"
5408 if test "$enableval" = yes; then
5409 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
5411 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
5416 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
5417 if test "x$LINE" != x
; then
5418 eval "DEFAULT_$LINE"
5423 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
5428 eval "$ac_cv_use_progressdlg"
5429 if test "$no_cache" != 1; then
5430 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
5433 if test "$wxUSE_PROGRESSDLG" = yes; then
5434 echo "$ac_t""yes" 1>&6
5436 echo "$ac_t""no" 1>&6
5440 echo $ac_n "checking "for --enable-miniframe"""... $ac_c" 1>&6
5441 echo "configure:5442: checking "for --enable-miniframe"" >&5
5443 # Check whether --enable-miniframe or --disable-miniframe was given.
5444 if test "${enable_miniframe+set}" = set; then
5445 enableval
="$enable_miniframe"
5447 if test "$enableval" = yes; then
5448 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
5450 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
5455 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
5456 if test "x$LINE" != x
; then
5457 eval "DEFAULT_$LINE"
5462 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
5467 eval "$ac_cv_use_miniframe"
5468 if test "$no_cache" != 1; then
5469 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
5472 if test "$wxUSE_MINIFRAME" = yes; then
5473 echo "$ac_t""yes" 1>&6
5475 echo "$ac_t""no" 1>&6
5479 echo $ac_n "checking "for --enable-html"""... $ac_c" 1>&6
5480 echo "configure:5481: checking "for --enable-html"" >&5
5482 # Check whether --enable-html or --disable-html was given.
5483 if test "${enable_html+set}" = set; then
5484 enableval
="$enable_html"
5486 if test "$enableval" = yes; then
5487 ac_cv_use_html
='wxUSE_HTML=yes'
5489 ac_cv_use_html
='wxUSE_HTML=no'
5494 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
5495 if test "x$LINE" != x
; then
5496 eval "DEFAULT_$LINE"
5501 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
5506 eval "$ac_cv_use_html"
5507 if test "$no_cache" != 1; then
5508 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
5511 if test "$wxUSE_HTML" = yes; then
5512 echo "$ac_t""yes" 1>&6
5514 echo "$ac_t""no" 1>&6
5518 echo $ac_n "checking "for --enable-tooltips"""... $ac_c" 1>&6
5519 echo "configure:5520: checking "for --enable-tooltips"" >&5
5521 # Check whether --enable-tooltips or --disable-tooltips was given.
5522 if test "${enable_tooltips+set}" = set; then
5523 enableval
="$enable_tooltips"
5525 if test "$enableval" = yes; then
5526 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
5528 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
5533 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
5534 if test "x$LINE" != x
; then
5535 eval "DEFAULT_$LINE"
5540 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
5545 eval "$ac_cv_use_tooltips"
5546 if test "$no_cache" != 1; then
5547 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
5550 if test "$wxUSE_TOOLTIPS" = yes; then
5551 echo "$ac_t""yes" 1>&6
5553 echo "$ac_t""no" 1>&6
5557 echo $ac_n "checking "for --enable-splines"""... $ac_c" 1>&6
5558 echo "configure:5559: checking "for --enable-splines"" >&5
5560 # Check whether --enable-splines or --disable-splines was given.
5561 if test "${enable_splines+set}" = set; then
5562 enableval
="$enable_splines"
5564 if test "$enableval" = yes; then
5565 ac_cv_use_splines
='wxUSE_SPLINES=yes'
5567 ac_cv_use_splines
='wxUSE_SPLINES=no'
5572 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
5573 if test "x$LINE" != x
; then
5574 eval "DEFAULT_$LINE"
5579 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
5584 eval "$ac_cv_use_splines"
5585 if test "$no_cache" != 1; then
5586 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
5589 if test "$wxUSE_SPLINES" = yes; then
5590 echo "$ac_t""yes" 1>&6
5592 echo "$ac_t""no" 1>&6
5596 echo $ac_n "checking "for --enable-validators"""... $ac_c" 1>&6
5597 echo "configure:5598: checking "for --enable-validators"" >&5
5599 # Check whether --enable-validators or --disable-validators was given.
5600 if test "${enable_validators+set}" = set; then
5601 enableval
="$enable_validators"
5603 if test "$enableval" = yes; then
5604 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
5606 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
5611 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
5612 if test "x$LINE" != x
; then
5613 eval "DEFAULT_$LINE"
5618 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
5623 eval "$ac_cv_use_validators"
5624 if test "$no_cache" != 1; then
5625 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
5628 if test "$wxUSE_VALIDATORS" = yes; then
5629 echo "$ac_t""yes" 1>&6
5631 echo "$ac_t""no" 1>&6
5635 echo $ac_n "checking "for --enable-busyinfo"""... $ac_c" 1>&6
5636 echo "configure:5637: checking "for --enable-busyinfo"" >&5
5638 # Check whether --enable-busyinfo or --disable-busyinfo was given.
5639 if test "${enable_busyinfo+set}" = set; then
5640 enableval
="$enable_busyinfo"
5642 if test "$enableval" = yes; then
5643 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
5645 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
5650 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
5651 if test "x$LINE" != x
; then
5652 eval "DEFAULT_$LINE"
5657 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
5662 eval "$ac_cv_use_busyinfo"
5663 if test "$no_cache" != 1; then
5664 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
5667 if test "$wxUSE_BUSYINFO" = yes; then
5668 echo "$ac_t""yes" 1>&6
5670 echo "$ac_t""no" 1>&6
5674 echo $ac_n "checking "for --enable-plot"""... $ac_c" 1>&6
5675 echo "configure:5676: checking "for --enable-plot"" >&5
5677 # Check whether --enable-plot or --disable-plot was given.
5678 if test "${enable_plot+set}" = set; then
5679 enableval
="$enable_plot"
5681 if test "$enableval" = yes; then
5682 ac_cv_use_plot
='wxUSE_PLOT=yes'
5684 ac_cv_use_plot
='wxUSE_PLOT=no'
5689 LINE
=`grep "wxUSE_PLOT" ${wx_arg_cache_file}`
5690 if test "x$LINE" != x
; then
5691 eval "DEFAULT_$LINE"
5696 ac_cv_use_plot
='wxUSE_PLOT='$DEFAULT_wxUSE_PLOT
5701 eval "$ac_cv_use_plot"
5702 if test "$no_cache" != 1; then
5703 echo $ac_cv_use_plot >> ${wx_arg_cache_file}.tmp
5706 if test "$wxUSE_PLOT" = yes; then
5707 echo "$ac_t""yes" 1>&6
5709 echo "$ac_t""no" 1>&6
5715 echo $ac_n "checking "for --enable-gif"""... $ac_c" 1>&6
5716 echo "configure:5717: checking "for --enable-gif"" >&5
5718 # Check whether --enable-gif or --disable-gif was given.
5719 if test "${enable_gif+set}" = set; then
5720 enableval
="$enable_gif"
5722 if test "$enableval" = yes; then
5723 ac_cv_use_gif
='wxUSE_GIF=yes'
5725 ac_cv_use_gif
='wxUSE_GIF=no'
5730 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
5731 if test "x$LINE" != x
; then
5732 eval "DEFAULT_$LINE"
5737 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
5742 eval "$ac_cv_use_gif"
5743 if test "$no_cache" != 1; then
5744 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
5747 if test "$wxUSE_GIF" = yes; then
5748 echo "$ac_t""yes" 1>&6
5750 echo "$ac_t""no" 1>&6
5754 echo $ac_n "checking "for --enable-pcx"""... $ac_c" 1>&6
5755 echo "configure:5756: checking "for --enable-pcx"" >&5
5757 # Check whether --enable-pcx or --disable-pcx was given.
5758 if test "${enable_pcx+set}" = set; then
5759 enableval
="$enable_pcx"
5761 if test "$enableval" = yes; then
5762 ac_cv_use_pcx
='wxUSE_PCX=yes'
5764 ac_cv_use_pcx
='wxUSE_PCX=no'
5769 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
5770 if test "x$LINE" != x
; then
5771 eval "DEFAULT_$LINE"
5776 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
5781 eval "$ac_cv_use_pcx"
5782 if test "$no_cache" != 1; then
5783 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
5786 if test "$wxUSE_PCX" = yes; then
5787 echo "$ac_t""yes" 1>&6
5789 echo "$ac_t""no" 1>&6
5793 echo $ac_n "checking "for --enable-pnm"""... $ac_c" 1>&6
5794 echo "configure:5795: checking "for --enable-pnm"" >&5
5796 # Check whether --enable-pnm or --disable-pnm was given.
5797 if test "${enable_pnm+set}" = set; then
5798 enableval
="$enable_pnm"
5800 if test "$enableval" = yes; then
5801 ac_cv_use_pnm
='wxUSE_PNM=yes'
5803 ac_cv_use_pnm
='wxUSE_PNM=no'
5808 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
5809 if test "x$LINE" != x
; then
5810 eval "DEFAULT_$LINE"
5815 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
5820 eval "$ac_cv_use_pnm"
5821 if test "$no_cache" != 1; then
5822 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
5825 if test "$wxUSE_PNM" = yes; then
5826 echo "$ac_t""yes" 1>&6
5828 echo "$ac_t""no" 1>&6
5835 echo "saving argument cache $wx_arg_cache_file"
5836 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
5840 echo $ac_n "checking for toolkit""... $ac_c" 1>&6
5841 echo "configure:5842: checking for toolkit" >&5
5843 if test "$wxUSE_GUI" = "yes"; then
5845 if test "$USE_BEOS" = 1; then
5846 { echo "configure: error: BeOS GUI is not supported yet, use --disable-gui" 1>&2; exit 1; }
5849 if test "$TOOLKIT_GIVEN" = 1; then
5850 for toolkit
in `echo $ALL_TOOLKITS`; do
5852 eval "value=\$${var}"
5853 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
5856 for toolkit
in `echo $ALL_TOOLKITS`; do
5857 if test "$has_toolkit_in_cache" != 1; then
5858 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
5860 var
=DEFAULT_wxUSE_
$toolkit
5862 eval "wxUSE_$toolkit=\$${var}"
5866 NUM_TOOLKITS
=`expr ${wxUSE_GTK:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_WINE:-0} + ${wxUSE_MINGW:-0} + ${wxUSE_CYGWIN:-0}`
5870 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
5871 # PATH_IFS is autodetected by OS/2's configure (usually ';')
5880 case "$NUM_TOOLKITS" in
5884 { echo "configure: error: Please specify a toolkit - cannot determine the default for ${host}" 1>&2; exit 1; }
5887 { echo "configure: error: Please specify at most one toolkit (may be some are cached?)" 1>&2; exit 1; }
5890 for toolkit
in `echo $ALL_TOOLKITS`; do
5892 eval "value=\$${var}"
5893 if test "x$value" != x
; then
5894 cache_var
=CACHE_
$toolkit
5895 eval "cache=\$${cache_var}"
5896 if test "$cache" = 1; then
5897 echo "$var=$value" >> ${wx_arg_cache_file}
5899 if test "$value" = 1; then
5900 echo "$ac_t""`echo $toolkit | tr A-Z a-z`" 1>&6
5907 echo "$ac_t""base only" 1>&6
5911 cat > confcache
<<\EOF
5912 # This file is a shell script that caches the results of configure
5913 # tests run on this system so they can be shared between configure
5914 # scripts and configure runs. It is not useful on other systems.
5915 # If it contains results you don't want to keep, you may remove or edit it.
5917 # By default, configure uses ./config.cache as the cache file,
5918 # creating it if it does not exist already. You can give configure
5919 # the --cache-file=FILE option to use a different cache file; that is
5920 # what configure does when it calls configure scripts in
5921 # subdirectories, so they share the cache.
5922 # Giving --cache-file=/dev/null disables caching, for debugging configure.
5923 # config.status only pays attention to the cache file if you give it the
5924 # --recheck option to rerun configure.
5927 # The following way of writing the cache mishandles newlines in values,
5928 # but we know of no workaround that is simple, portable, and efficient.
5929 # So, don't put newlines in cache variables' values.
5930 # Ultrix sh set writes to stderr and can't be redirected directly,
5931 # and sets the high bit in the cache file unless we assign to the vars.
5933 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5935 # `set' does not quote correctly, so add quotes (double-quote substitution
5936 # turns \\\\ into \\, and sed turns \\ into \).
5938 -e "s/'/'\\\\''/g" \
5939 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
5942 # `set' quotes correctly as required by POSIX, so do not add quotes.
5943 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
5946 if cmp -s $cache_file confcache
; then
5949 if test -w $cache_file; then
5950 echo "updating cache $cache_file"
5951 cat confcache
> $cache_file
5953 echo "not updating unwritable cache $cache_file"
5959 if eval "test $host != $build"; then
5960 if eval "test $host_alias != NONE"; then
5964 RANLIB
=$host_alias-ranlib
5965 DLLTOOL
=$host_alias-dlltool
5968 STRIP
=$host_alias-strip
5972 # Extract the first word of "gcc", so it can be a program name with args.
5973 set dummy gcc
; ac_word
=$2
5974 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5975 echo "configure:5976: checking for $ac_word" >&5
5976 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
5977 echo $ac_n "(cached) $ac_c" 1>&6
5979 if test -n "$CC"; then
5980 ac_cv_prog_CC
="$CC" # Let the user override the test.
5982 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
5984 for ac_dir
in $ac_dummy; do
5985 test -z "$ac_dir" && ac_dir
=.
5986 if test -f $ac_dir/$ac_word; then
5995 if test -n "$CC"; then
5996 echo "$ac_t""$CC" 1>&6
5998 echo "$ac_t""no" 1>&6
6001 if test -z "$CC"; then
6002 # Extract the first word of "cc", so it can be a program name with args.
6003 set dummy cc
; ac_word
=$2
6004 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6005 echo "configure:6006: checking for $ac_word" >&5
6006 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
6007 echo $ac_n "(cached) $ac_c" 1>&6
6009 if test -n "$CC"; then
6010 ac_cv_prog_CC
="$CC" # Let the user override the test.
6012 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6015 for ac_dir
in $ac_dummy; do
6016 test -z "$ac_dir" && ac_dir
=.
6017 if test -f $ac_dir/$ac_word; then
6018 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
6019 ac_prog_rejected
=yes
6027 if test $ac_prog_rejected = yes; then
6028 # We found a bogon in the path, so make sure we never use it.
6029 set dummy
$ac_cv_prog_CC
6031 if test $# -gt 0; then
6032 # We chose a different compiler from the bogus one.
6033 # However, it has the same basename, so the bogon will be chosen
6034 # first if we set CC to just the basename; use the full file name.
6036 set dummy
"$ac_dir/$ac_word" "$@"
6044 if test -n "$CC"; then
6045 echo "$ac_t""$CC" 1>&6
6047 echo "$ac_t""no" 1>&6
6050 if test -z "$CC"; then
6051 case "`uname -s`" in
6053 # Extract the first word of "cl", so it can be a program name with args.
6054 set dummy cl
; ac_word
=$2
6055 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6056 echo "configure:6057: checking for $ac_word" >&5
6057 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
6058 echo $ac_n "(cached) $ac_c" 1>&6
6060 if test -n "$CC"; then
6061 ac_cv_prog_CC
="$CC" # Let the user override the test.
6063 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6065 for ac_dir
in $ac_dummy; do
6066 test -z "$ac_dir" && ac_dir
=.
6067 if test -f $ac_dir/$ac_word; then
6076 if test -n "$CC"; then
6077 echo "$ac_t""$CC" 1>&6
6079 echo "$ac_t""no" 1>&6
6084 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
6087 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
6088 echo "configure:6089: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
6091 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6092 ac_cpp
='$CPP $CPPFLAGS'
6093 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6094 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6095 cross_compiling
=$ac_cv_prog_cc_cross
6097 cat > conftest.
$ac_ext << EOF
6099 #line 6100 "configure"
6100 #include "confdefs.h"
6104 if { (eval echo configure
:6105: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6105 ac_cv_prog_cc_works
=yes
6106 # If we can't run a trivial program, we are probably using a cross compiler.
6107 if (.
/conftest
; exit) 2>/dev
/null
; then
6108 ac_cv_prog_cc_cross
=no
6110 ac_cv_prog_cc_cross
=yes
6113 echo "configure: failed program was:" >&5
6114 cat conftest.
$ac_ext >&5
6115 ac_cv_prog_cc_works
=no
6119 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6120 ac_cpp
='$CPP $CPPFLAGS'
6121 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6122 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6123 cross_compiling
=$ac_cv_prog_cc_cross
6125 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
6126 if test $ac_cv_prog_cc_works = no
; then
6127 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
6129 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
6130 echo "configure:6131: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
6131 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
6132 cross_compiling
=$ac_cv_prog_cc_cross
6134 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
6135 echo "configure:6136: checking whether we are using GNU C" >&5
6136 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
6137 echo $ac_n "(cached) $ac_c" 1>&6
6139 cat > conftest.c
<<EOF
6144 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:6145: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
6151 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
6153 if test $ac_cv_prog_gcc = yes; then
6159 ac_test_CFLAGS
="${CFLAGS+set}"
6160 ac_save_CFLAGS
="$CFLAGS"
6162 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
6163 echo "configure:6164: checking whether ${CC-cc} accepts -g" >&5
6164 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
6165 echo $ac_n "(cached) $ac_c" 1>&6
6167 echo 'void f(){}' > conftest.c
6168 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
6177 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
6178 if test "$ac_test_CFLAGS" = set; then
6179 CFLAGS
="$ac_save_CFLAGS"
6180 elif test $ac_cv_prog_cc_g = yes; then
6181 if test "$GCC" = yes; then
6187 if test "$GCC" = yes; then
6195 CFLAGS
=`echo "$CFLAGS" | sed 's/-g//g'`
6197 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
6198 echo "configure:6199: checking how to run the C preprocessor" >&5
6199 # On Suns, sometimes $CPP names a directory.
6200 if test -n "$CPP" && test -d "$CPP"; then
6203 if test -z "$CPP"; then
6204 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
6205 echo $ac_n "(cached) $ac_c" 1>&6
6207 # This must be in double quotes, not single quotes, because CPP may get
6208 # substituted into the Makefile and "${CC-cc}" will confuse make.
6210 # On the NeXT, cc -E runs the code through the compiler's parser,
6211 # not just through cpp.
6212 cat > conftest.
$ac_ext <<EOF
6213 #line 6214 "configure"
6214 #include "confdefs.h"
6218 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6219 { (eval echo configure
:6220: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6220 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6221 if test -z "$ac_err"; then
6225 echo "configure: failed program was:" >&5
6226 cat conftest.
$ac_ext >&5
6228 CPP
="${CC-cc} -E -traditional-cpp"
6229 cat > conftest.
$ac_ext <<EOF
6230 #line 6231 "configure"
6231 #include "confdefs.h"
6235 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6236 { (eval echo configure
:6237: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6237 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6238 if test -z "$ac_err"; then
6242 echo "configure: failed program was:" >&5
6243 cat conftest.
$ac_ext >&5
6245 CPP
="${CC-cc} -nologo -E"
6246 cat > conftest.
$ac_ext <<EOF
6247 #line 6248 "configure"
6248 #include "confdefs.h"
6252 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6253 { (eval echo configure
:6254: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6254 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6255 if test -z "$ac_err"; then
6259 echo "configure: failed program was:" >&5
6260 cat conftest.
$ac_ext >&5
6269 ac_cv_prog_CPP
="$CPP"
6271 CPP
="$ac_cv_prog_CPP"
6273 ac_cv_prog_CPP
="$CPP"
6275 echo "$ac_t""$CPP" 1>&6
6278 if test $ac_cv_prog_gcc = yes; then
6279 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
6280 echo "configure:6281: checking whether ${CC-cc} needs -traditional" >&5
6281 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
6282 echo $ac_n "(cached) $ac_c" 1>&6
6284 ac_pattern
="Autoconf.*'x'"
6285 cat > conftest.
$ac_ext <<EOF
6286 #line 6287 "configure"
6287 #include "confdefs.h"
6291 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6292 egrep "$ac_pattern" >/dev
/null
2>&1; then
6294 ac_cv_prog_gcc_traditional
=yes
6297 ac_cv_prog_gcc_traditional
=no
6302 if test $ac_cv_prog_gcc_traditional = no
; then
6303 cat > conftest.
$ac_ext <<EOF
6304 #line 6305 "configure"
6305 #include "confdefs.h"
6309 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6310 egrep "$ac_pattern" >/dev
/null
2>&1; then
6312 ac_cv_prog_gcc_traditional
=yes
6319 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
6320 if test $ac_cv_prog_gcc_traditional = yes; then
6321 CC
="$CC -traditional"
6328 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6329 ac_cpp
='$CXXCPP $CPPFLAGS'
6330 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6331 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6332 cross_compiling
=$ac_cv_prog_cxx_cross
6335 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++ cl
6337 # Extract the first word of "$ac_prog", so it can be a program name with args.
6338 set dummy
$ac_prog; ac_word
=$2
6339 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6340 echo "configure:6341: checking for $ac_word" >&5
6341 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
6342 echo $ac_n "(cached) $ac_c" 1>&6
6344 if test -n "$CXX"; then
6345 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
6347 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6349 for ac_dir
in $ac_dummy; do
6350 test -z "$ac_dir" && ac_dir
=.
6351 if test -f $ac_dir/$ac_word; then
6352 ac_cv_prog_CXX
="$ac_prog"
6359 CXX
="$ac_cv_prog_CXX"
6360 if test -n "$CXX"; then
6361 echo "$ac_t""$CXX" 1>&6
6363 echo "$ac_t""no" 1>&6
6366 test -n "$CXX" && break
6368 test -n "$CXX" || CXX
="gcc"
6371 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
6372 echo "configure:6373: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
6375 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6376 ac_cpp
='$CXXCPP $CPPFLAGS'
6377 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6378 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6379 cross_compiling
=$ac_cv_prog_cxx_cross
6381 cat > conftest.
$ac_ext << EOF
6383 #line 6384 "configure"
6384 #include "confdefs.h"
6386 int main(){return(0);}
6388 if { (eval echo configure
:6389: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6389 ac_cv_prog_cxx_works
=yes
6390 # If we can't run a trivial program, we are probably using a cross compiler.
6391 if (.
/conftest
; exit) 2>/dev
/null
; then
6392 ac_cv_prog_cxx_cross
=no
6394 ac_cv_prog_cxx_cross
=yes
6397 echo "configure: failed program was:" >&5
6398 cat conftest.
$ac_ext >&5
6399 ac_cv_prog_cxx_works
=no
6403 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6404 ac_cpp
='$CXXCPP $CPPFLAGS'
6405 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6406 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6407 cross_compiling
=$ac_cv_prog_cxx_cross
6409 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
6410 if test $ac_cv_prog_cxx_works = no
; then
6411 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
6413 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
6414 echo "configure:6415: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
6415 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
6416 cross_compiling
=$ac_cv_prog_cxx_cross
6418 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
6419 echo "configure:6420: checking whether we are using GNU C++" >&5
6420 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
6421 echo $ac_n "(cached) $ac_c" 1>&6
6423 cat > conftest.C
<<EOF
6428 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:6429: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
6435 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
6437 if test $ac_cv_prog_gxx = yes; then
6443 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
6444 ac_save_CXXFLAGS
="$CXXFLAGS"
6446 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
6447 echo "configure:6448: checking whether ${CXX-g++} accepts -g" >&5
6448 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
6449 echo $ac_n "(cached) $ac_c" 1>&6
6451 echo 'void f(){}' > conftest.cc
6452 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
6453 ac_cv_prog_cxx_g
=yes
6461 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
6462 if test "$ac_test_CXXFLAGS" = set; then
6463 CXXFLAGS
="$ac_save_CXXFLAGS"
6464 elif test $ac_cv_prog_cxx_g = yes; then
6465 if test "$GXX" = yes; then
6471 if test "$GXX" = yes; then
6479 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
6480 echo "configure:6481: checking how to run the C++ preprocessor" >&5
6481 if test -z "$CXXCPP"; then
6482 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
6483 echo $ac_n "(cached) $ac_c" 1>&6
6486 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6487 ac_cpp
='$CXXCPP $CPPFLAGS'
6488 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6489 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6490 cross_compiling
=$ac_cv_prog_cxx_cross
6491 CXXCPP
="${CXX-g++} -E"
6492 cat > conftest.
$ac_ext <<EOF
6493 #line 6494 "configure"
6494 #include "confdefs.h"
6497 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6498 { (eval echo configure
:6499: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6499 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6500 if test -z "$ac_err"; then
6504 echo "configure: failed program was:" >&5
6505 cat conftest.
$ac_ext >&5
6510 ac_cv_prog_CXXCPP
="$CXXCPP"
6512 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6513 ac_cpp
='$CXXCPP $CPPFLAGS'
6514 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6515 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6516 cross_compiling
=$ac_cv_prog_cxx_cross
6519 CXXCPP
="$ac_cv_prog_CXXCPP"
6520 echo "$ac_t""$CXXCPP" 1>&6
6523 CXXFLAGS
=`echo "$CXXFLAGS" | sed 's/-g//g'`
6526 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6527 ac_cpp
='$CPP $CPPFLAGS'
6528 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6529 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6530 cross_compiling
=$ac_cv_prog_cc_cross
6533 # Extract the first word of "ranlib", so it can be a program name with args.
6534 set dummy ranlib
; ac_word
=$2
6535 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6536 echo "configure:6537: checking for $ac_word" >&5
6537 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
6538 echo $ac_n "(cached) $ac_c" 1>&6
6540 if test -n "$RANLIB"; then
6541 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6543 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6545 for ac_dir
in $ac_dummy; do
6546 test -z "$ac_dir" && ac_dir
=.
6547 if test -f $ac_dir/$ac_word; then
6548 ac_cv_prog_RANLIB
="ranlib"
6553 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
6556 RANLIB
="$ac_cv_prog_RANLIB"
6557 if test -n "$RANLIB"; then
6558 echo "$ac_t""$RANLIB" 1>&6
6560 echo "$ac_t""no" 1>&6
6564 # Extract the first word of "ar", so it can be a program name with args.
6565 set dummy
ar; ac_word
=$2
6566 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6567 echo "configure:6568: checking for $ac_word" >&5
6568 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
6569 echo $ac_n "(cached) $ac_c" 1>&6
6571 if test -n "$AR"; then
6572 ac_cv_prog_AR
="$AR" # Let the user override the test.
6574 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6576 for ac_dir
in $ac_dummy; do
6577 test -z "$ac_dir" && ac_dir
=.
6578 if test -f $ac_dir/$ac_word; then
6584 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
6588 if test -n "$AR"; then
6589 echo "$ac_t""$AR" 1>&6
6591 echo "$ac_t""no" 1>&6
6595 # Find a good install program. We prefer a C program (faster),
6596 # so one script is as good as another. But avoid the broken or
6597 # incompatible versions:
6598 # SysV /etc/install, /usr/sbin/install
6599 # SunOS /usr/etc/install
6600 # IRIX /sbin/install
6602 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6603 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6604 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6605 # ./install, which can be erroneously created by make from ./install.sh.
6606 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
6607 echo "configure:6608: checking for a BSD compatible install" >&5
6608 if test -z "$INSTALL"; then
6609 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
6610 echo $ac_n "(cached) $ac_c" 1>&6
6612 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
6613 for ac_dir
in $PATH; do
6614 # Account for people who put trailing slashes in PATH elements.
6616 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
6618 # OSF1 and SCO ODT 3.0 have their own names for install.
6619 # Don't use installbsd from OSF since it installs stuff as root
6621 for ac_prog
in ginstall scoinst
install; do
6622 if test -f $ac_dir/$ac_prog; then
6623 if test $ac_prog = install &&
6624 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
6625 # AIX install. It has an incompatible calling convention.
6628 ac_cv_path_install
="$ac_dir/$ac_prog -c"
6639 if test "${ac_cv_path_install+set}" = set; then
6640 INSTALL
="$ac_cv_path_install"
6642 # As a last resort, use the slow shell script. We don't cache a
6643 # path for INSTALL within a source directory, because that will
6644 # break other packages using the cache if that directory is
6645 # removed, or if the path is relative.
6646 INSTALL
="$ac_install_sh"
6649 echo "$ac_t""$INSTALL" 1>&6
6651 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6652 # It thinks the first close brace ends the variable substitution.
6653 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
6655 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
6657 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
6660 # Extract the first word of "strip", so it can be a program name with args.
6661 set dummy strip
; ac_word
=$2
6662 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6663 echo "configure:6664: checking for $ac_word" >&5
6664 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
6665 echo $ac_n "(cached) $ac_c" 1>&6
6667 if test -n "$STRIP"; then
6668 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6670 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6672 for ac_dir
in $ac_dummy; do
6673 test -z "$ac_dir" && ac_dir
=.
6674 if test -f $ac_dir/$ac_word; then
6675 ac_cv_prog_STRIP
="strip"
6680 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
6683 STRIP
="$ac_cv_prog_STRIP"
6684 if test -n "$STRIP"; then
6685 echo "$ac_t""$STRIP" 1>&6
6687 echo "$ac_t""no" 1>&6
6691 echo $ac_n "checking "make for VPATH support
"""... $ac_c" 1>&6
6692 echo "configure:6693: checking "make for VPATH support
"" >&5
6693 cat - << EOF > confMake
6699 if test ! -d sub
; then
6702 echo dummy
> sub
/file
6703 ${MAKE-make} -f confMake VPATH
=sub
2> config.log
> /dev
/null
6705 rm -f sub
/file check final_file confMake
6707 if test "$RESULT" = 0; then
6708 echo "$ac_t""yes" 1>&6
6710 echo "$ac_t""no" 1>&6
6711 { echo "configure: error: You need a make-utility that is able to use the variable
6713 If your version of make does not support VPATH correctly" 1>&2; exit 1; }
6716 for ac_prog
in 'bison -y' byacc
6718 # Extract the first word of "$ac_prog", so it can be a program name with args.
6719 set dummy
$ac_prog; ac_word
=$2
6720 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6721 echo "configure:6722: checking for $ac_word" >&5
6722 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
6723 echo $ac_n "(cached) $ac_c" 1>&6
6725 if test -n "$YACC"; then
6726 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
6728 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6730 for ac_dir
in $ac_dummy; do
6731 test -z "$ac_dir" && ac_dir
=.
6732 if test -f $ac_dir/$ac_word; then
6733 ac_cv_prog_YACC
="$ac_prog"
6740 YACC
="$ac_cv_prog_YACC"
6741 if test -n "$YACC"; then
6742 echo "$ac_t""$YACC" 1>&6
6744 echo "$ac_t""no" 1>&6
6747 test -n "$YACC" && break
6749 test -n "$YACC" || YACC
="yacc"
6752 # Extract the first word of "flex", so it can be a program name with args.
6753 set dummy flex
; ac_word
=$2
6754 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6755 echo "configure:6756: checking for $ac_word" >&5
6756 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
6757 echo $ac_n "(cached) $ac_c" 1>&6
6759 if test -n "$LEX"; then
6760 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
6762 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6764 for ac_dir
in $ac_dummy; do
6765 test -z "$ac_dir" && ac_dir
=.
6766 if test -f $ac_dir/$ac_word; then
6767 ac_cv_prog_LEX
="flex"
6772 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
6775 LEX
="$ac_cv_prog_LEX"
6776 if test -n "$LEX"; then
6777 echo "$ac_t""$LEX" 1>&6
6779 echo "$ac_t""no" 1>&6
6782 if test -z "$LEXLIB"
6788 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
6789 echo "configure:6790: checking for yywrap in -l$ac_lib" >&5
6790 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
6791 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6792 echo $ac_n "(cached) $ac_c" 1>&6
6794 ac_save_LIBS
="$LIBS"
6795 LIBS
="-l$ac_lib $LIBS"
6796 cat > conftest.
$ac_ext <<EOF
6797 #line 6798 "configure"
6798 #include "confdefs.h"
6799 /* Override any gcc2 internal prototype to avoid an error. */
6800 /* We use char because int might match the return type of a gcc2
6801 builtin and then its argument prototype would still apply. */
6808 if { (eval echo configure
:6809: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6810 eval "ac_cv_lib_$ac_lib_var=yes"
6812 echo "configure: failed program was:" >&5
6813 cat conftest.
$ac_ext >&5
6815 eval "ac_cv_lib_$ac_lib_var=no"
6818 LIBS
="$ac_save_LIBS"
6821 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6822 echo "$ac_t""yes" 1>&6
6825 echo "$ac_t""no" 1>&6
6831 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
6832 echo "configure:6833: checking whether ln -s works" >&5
6833 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
6834 echo $ac_n "(cached) $ac_c" 1>&6
6837 if ln -s X conftestdata
2>/dev
/null
6840 ac_cv_prog_LN_S
="ln -s"
6845 LN_S
="$ac_cv_prog_LN_S"
6846 if test "$ac_cv_prog_LN_S" = "ln -s"; then
6847 echo "$ac_t""yes" 1>&6
6849 echo "$ac_t""no" 1>&6
6855 /usr/local/include \
6857 /usr/Motif-1.2/include \
6858 /usr/Motif-2.1/include \
6860 /usr/include/Motif1.2 \
6861 /opt/xpm/include/X11 \
6862 /opt/GBxpm/include/ \
6863 /opt/GBxpm/X11/include/ \
6865 /usr/Motif1.2/include \
6867 /usr/openwin/include \
6871 /usr/X11R6/include \
6872 /usr/X11R6.4/include \
6873 /usr/X11R5/include \
6874 /usr/X11R4/include \
6876 /usr/include/X11R6 \
6877 /usr/include/X11R5 \
6878 /usr/include/X11R4 \
6880 /usr/local/X11R6/include \
6881 /usr/local/X11R5/include \
6882 /usr/local/X11R4/include \
6884 /usr/local/include/X11R6 \
6885 /usr/local/include/X11R5 \
6886 /usr/local/include/X11R4 \
6890 /usr/local/X11/include \
6891 /usr/local/include/X11 \
6895 /usr/XFree86/include/X11 \
6897 X:/XFree86/include \
6898 X:/XFree86/include/X11 \
6901 /usr/local/include/gtk \
6903 /usr/local/include/glib \
6906 /usr/local/include/qt \
6908 /usr/include/windows \
6910 /usr/local/include/wine \
6912 /usr/unsupported/include \
6913 /usr/athena/include \
6914 /usr/local/x11r5/include \
6915 /usr/lpp/Xamples/include \
6917 /usr/openwin/share/include \
6921 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
6924 cat > confcache
<<\EOF
6925 # This file is a shell script that caches the results of configure
6926 # tests run on this system so they can be shared between configure
6927 # scripts and configure runs. It is not useful on other systems.
6928 # If it contains results you don't want to keep, you may remove or edit it.
6930 # By default, configure uses ./config.cache as the cache file,
6931 # creating it if it does not exist already. You can give configure
6932 # the --cache-file=FILE option to use a different cache file; that is
6933 # what configure does when it calls configure scripts in
6934 # subdirectories, so they share the cache.
6935 # Giving --cache-file=/dev/null disables caching, for debugging configure.
6936 # config.status only pays attention to the cache file if you give it the
6937 # --recheck option to rerun configure.
6940 # The following way of writing the cache mishandles newlines in values,
6941 # but we know of no workaround that is simple, portable, and efficient.
6942 # So, don't put newlines in cache variables' values.
6943 # Ultrix sh set writes to stderr and can't be redirected directly,
6944 # and sets the high bit in the cache file unless we assign to the vars.
6946 case `(ac_space=' '; set | grep ac_space) 2>&1` in
6948 # `set' does not quote correctly, so add quotes (double-quote substitution
6949 # turns \\\\ into \\, and sed turns \\ into \).
6951 -e "s/'/'\\\\''/g" \
6952 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
6955 # `set' quotes correctly as required by POSIX, so do not add quotes.
6956 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
6959 if cmp -s $cache_file confcache
; then
6962 if test -w $cache_file; then
6963 echo "updating cache $cache_file"
6964 cat confcache
> $cache_file
6966 echo "not updating unwritable cache $cache_file"
6975 if test "$wxUSE_GUI" = "yes"; then
6994 if test "$wxUSE_CYGWIN" = 1 || test "$wxUSE_MINGW" = 1 ; then
6995 if test "$cross_compiling" = "yes" ; then
6996 echo "configure: warning: Cross compiling --- skipping windows.h check" 1>&2
6998 echo $ac_n "checking for Windows headers""... $ac_c" 1>&6
6999 echo "configure:7000: checking for Windows headers" >&5
7002 for ac_dir
in $SEARCH_INCLUDE;
7004 if test -f "$ac_dir/windows.h"; then
7005 ac_find_includes
=$ac_dir
7010 if test "$ac_find_includes" != "" ; then
7011 echo "$ac_t""found $ac_find_includes" 1>&6
7012 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE -I$ac_find_includes"
7014 echo "$ac_t""no" 1>&6
7015 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
7019 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS msw"
7020 LIBS
="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -lcrtdll -ladvapi32 -lwsock32"
7022 if test "$wxUSE_MINGW" = 1; then
7023 LDFLAGS
="$LDFLAGS -mwindows"
7028 GUIOBJS
="\$(MSW_GUIOBJS)"
7029 GUIHEADERS
="\$(MSW_HEADERS)"
7030 COMMONOBJS
="\$(MSW_COMMONOBJS)"
7031 GENERICOBJS
="\$(MSW_GENERICOBJS)"
7036 if test "$wxUSE_GTK" = 1; then
7038 if test x
$gtk_config_exec_prefix != x
; then
7039 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
7040 if test x
${GTK_CONFIG+set} != xset
; then
7041 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
7044 if test x
$gtk_config_prefix != x
; then
7045 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
7046 if test x
${GTK_CONFIG+set} != xset
; then
7047 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
7051 # Extract the first word of "gtk-config", so it can be a program name with args.
7052 set dummy gtk
-config; ac_word
=$2
7053 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7054 echo "configure:7055: checking for $ac_word" >&5
7055 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
7056 echo $ac_n "(cached) $ac_c" 1>&6
7058 case "$GTK_CONFIG" in
7060 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
7063 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
7066 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7068 for ac_dir
in $ac_dummy; do
7069 test -z "$ac_dir" && ac_dir
=.
7070 if test -f $ac_dir/$ac_word; then
7071 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
7076 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
7080 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
7081 if test -n "$GTK_CONFIG"; then
7082 echo "$ac_t""$GTK_CONFIG" 1>&6
7084 echo "$ac_t""no" 1>&6
7087 min_gtk_version
=1.2.3
7088 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
7089 echo "configure:7090: checking for GTK - version >= $min_gtk_version" >&5
7091 if test "$GTK_CONFIG" != "no" ; then
7092 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
7093 GTK_LIBS
=`$GTK_CONFIG --libs gthread`
7094 ac_save_CFLAGS
="$CFLAGS"
7095 ac_save_LIBS
="$LIBS"
7096 CFLAGS
="$CFLAGS $GTK_CFLAGS"
7097 LIBS
="$LIBS $GTK_LIBS"
7098 if test "$cross_compiling" = yes; then
7099 echo $ac_n "cross compiling; assumed OK... $ac_c"
7101 cat > conftest.
$ac_ext <<EOF
7102 #line 7103 "configure"
7103 #include "confdefs.h"
7105 #include <gtk/gtk.h>
7106 #include <gtk/gtkfeatures.h>
7112 int major, minor, micro;
7114 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
7115 printf("%s, bad version string\n", "$min_gtk_version");
7119 if ((GTK_MAJOR_VERSION != gtk_major_version) ||
7120 (GTK_MINOR_VERSION != gtk_minor_version) ||
7121 (GTK_MICRO_VERSION != gtk_micro_version)) {
7122 printf("Headers vs. library version mismatch!\n");
7126 if (gtk_minor_version == 1) return FALSE;
7128 return !((gtk_major_version > major) ||
7129 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
7130 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
7134 if { (eval echo configure
:7135: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
7138 echo "configure: failed program was:" >&5
7139 cat conftest.
$ac_ext >&5
7146 CFLAGS
="$ac_save_CFLAGS"
7147 LIBS
="$ac_save_LIBS"
7151 if test "x$no_gtk" = x
; then
7152 echo "$ac_t""yes" 1>&6
7155 echo "$ac_t""no" 1>&6
7164 if test "$WXGTK12" != 1; then
7165 { echo "configure: error:
7166 Please check that gtk-config is in path, the directory
7167 where GTK+ libraries are installed (returned by
7168 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
7169 equivalent variable and GTK+ is version 1.2.3 or above.
7174 TOOLKIT_INCLUDE
="$GTK_CFLAGS"
7177 GUI_TK_LIBRARY
="$GTK_LIBS"
7181 AFMINSTALL
=afminstall
7183 GUIOBJS
="\$(GTK_GUIOBJS)"
7184 GUIHEADERS
="\$(GTK_HEADERS)"
7185 COMMONOBJS
="\$(GTK_COMMONOBJS)"
7186 GENERICOBJS
="\$(GTK_GENERICOBJS)"
7187 GUIDEPS
="\$(GTK_GUIDEPS)"
7188 COMMONDEPS
="\$(GTK_COMMONDEPS)"
7189 GENERICDEPS
="\$(GTK_GENERICDEPS)"
7190 UNIXOBJS
="\$(UNIX_OBJS)"
7191 UNIXDEPS
="\$(UNIX_DEPS)"
7194 echo $ac_n "checking for gdk_im_open in -lgdk""... $ac_c" 1>&6
7195 echo "configure:7196: checking for gdk_im_open in -lgdk" >&5
7196 ac_lib_var
=`echo gdk'_'gdk_im_open | sed 'y%./+-%__p_%'`
7197 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7198 echo $ac_n "(cached) $ac_c" 1>&6
7200 ac_save_LIBS
="$LIBS"
7202 cat > conftest.
$ac_ext <<EOF
7203 #line 7204 "configure"
7204 #include "confdefs.h"
7205 /* Override any gcc2 internal prototype to avoid an error. */
7206 /* We use char because int might match the return type of a gcc2
7207 builtin and then its argument prototype would still apply. */
7214 if { (eval echo configure
:7215: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7216 eval "ac_cv_lib_$ac_lib_var=yes"
7218 echo "configure: failed program was:" >&5
7219 cat conftest.
$ac_ext >&5
7221 eval "ac_cv_lib_$ac_lib_var=no"
7224 LIBS
="$ac_save_LIBS"
7227 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7228 echo "$ac_t""yes" 1>&6
7229 cat >> confdefs.h
<<\EOF
7234 echo "$ac_t""no" 1>&6
7239 if test "$wxUSE_WINE" = 1; then
7240 echo $ac_n "checking for WINE includes""... $ac_c" 1>&6
7241 echo "configure:7242: checking for WINE includes" >&5
7244 for ac_dir
in $SEARCH_INCLUDE;
7246 if test -f "$ac_dir/windows.h"; then
7247 ac_find_includes
=$ac_dir
7252 if test "$ac_find_includes" != "" ; then
7253 echo "$ac_t""found $ac_find_includes" 1>&6
7254 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE -I$ac_find_includes"
7256 echo "$ac_t""no" 1>&6
7257 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
7261 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
7262 echo "configure:7263: checking for Xpm library" >&5
7265 for ac_dir
in $SEARCH_LIB;
7267 for ac_extension
in a so sl
; do
7268 if test -f "$ac_dir/libXpm.$ac_extension"; then
7269 ac_find_libraries
=$ac_dir
7275 if test "$ac_find_libraries" != "" ; then
7276 GUI_TK_LIBRARY
="-L$ac_find_libraries"
7278 cat >> confdefs.h
<<\EOF
7279 #define wxHAVE_LIB_XPM 1
7282 echo "$ac_t""found at $ac_find_libraries" 1>&6
7284 echo "$ac_t""no" 1>&6
7285 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
7289 echo $ac_n "checking for Mesa library""... $ac_c" 1>&6
7290 echo "configure:7291: checking for Mesa library" >&5
7293 for ac_dir
in $SEARCH_LIB;
7295 for ac_extension
in a so sl
; do
7296 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
7297 ac_find_libraries
=$ac_dir
7303 if test "$ac_find_libraries" != "" ; then
7304 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -L$ac_find_libraries"
7305 MESA_LINK
="-lMesaGL"
7306 echo "$ac_t""found at $ac_find_libraries" 1>&6
7308 { echo "configure: error: no" 1>&2; exit 1; }
7311 GUI_TK_LINK
="-lwine $MESA_LINK $XPM_LINK -lXxf86dga -lXxf86vm -lSM -lICE -lXext -lXmu -lX11 -lncurses -lm"
7312 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GUI_TK_LINK"
7316 GUIHEADERS
="\$(MSW_HEADERS)"
7317 GUIOBJS
="\$(MSW_GUIOBJS)"
7318 COMMONOBJS
="\$(MSW_COMMONOBJS)"
7319 GENERICOBJS
="\$(MSW_GENERICOBJS)"
7320 GUIDEPS
="\$(MSW_GUIDEPS)"
7321 COMMONDEPS
="\$(MSW_COMMONDEPS)"
7322 GENERICDEPS
="\$(MSW_GENERICDEPS)"
7323 UNIXOBJS
="\$(UNIX_OBJS)"
7324 UNIXDEPS
="\$(UNIX_DEPS)"
7328 if test "$wxUSE_MOTIF" = 1; then
7329 # If we find X, set shell vars x_includes and x_libraries to the
7330 # paths, otherwise set no_x=yes.
7331 # Uses ac_ vars as temps to allow command line to override cache and checks.
7332 # --without-x overrides everything else, but does not touch the cache.
7333 echo $ac_n "checking for X""... $ac_c" 1>&6
7334 echo "configure:7335: checking for X" >&5
7336 # Check whether --with-x or --without-x was given.
7337 if test "${with_x+set}" = set; then
7342 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
7343 if test "x$with_x" = xno
; then
7344 # The user explicitly disabled X.
7347 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
7348 # Both variables are already set.
7351 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
7352 echo $ac_n "(cached) $ac_c" 1>&6
7354 # One or both of the vars are not set, and there is no cached value.
7355 ac_x_includes
=NO ac_x_libraries
=NO
7357 if mkdir conftestdir
; then
7359 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
7360 cat > Imakefile
<<'EOF'
7362 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
7364 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
7365 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
7366 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
7367 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
7368 for ac_extension
in a so sl
; do
7369 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
7370 test -f $ac_im_libdir/libX11.
$ac_extension; then
7371 ac_im_usrlibdir
=$ac_im_libdir; break
7374 # Screen out bogus values from the imake configuration. They are
7375 # bogus both because they are the default anyway, and because
7376 # using them would break gcc on systems where it needs fixed includes.
7377 case "$ac_im_incroot" in
7379 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;;
7381 case "$ac_im_usrlibdir" in
7383 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;;
7390 if test "$ac_x_includes" = NO
; then
7391 # Guess where to find include files, by looking for this one X11 .h file.
7392 test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
7394 # First, try using that file with no special directory specified.
7395 cat > conftest.
$ac_ext <<EOF
7396 #line 7397 "configure"
7397 #include "confdefs.h"
7398 #include <$x_direct_test_include>
7400 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7401 { (eval echo configure
:7402: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7402 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7403 if test -z "$ac_err"; then
7405 # We can compile using X headers with no special include directory.
7409 echo "configure: failed program was:" >&5
7410 cat conftest.
$ac_ext >&5
7412 # Look for the header file in a standard set of common directories.
7413 # Check X11 before X11Rn because it is often a symlink to the current release.
7416 /usr
/X
11R
6/include \
7417 /usr
/X
11R
5/include \
7418 /usr
/X
11R
4/include \
7421 /usr
/include
/X11R6 \
7422 /usr
/include
/X11R5 \
7423 /usr
/include
/X11R4 \
7425 /usr
/local
/X
11/include \
7426 /usr
/local
/X
11R
6/include \
7427 /usr
/local
/X
11R
5/include \
7428 /usr
/local
/X
11R
4/include \
7430 /usr
/local
/include
/X11 \
7431 /usr
/local
/include
/X11R6 \
7432 /usr
/local
/include
/X11R5 \
7433 /usr
/local
/include
/X11R4 \
7437 /usr
/XFree
86/include
/X11 \
7440 /usr
/local
/include \
7441 /usr
/unsupported
/include \
7442 /usr
/athena
/include \
7443 /usr
/local
/x
11r
5/include \
7444 /usr
/lpp
/Xamples
/include \
7446 /usr
/openwin
/include \
7447 /usr
/openwin
/share
/include \
7450 if test -r "$ac_dir/$x_direct_test_include"; then
7451 ac_x_includes
=$ac_dir
7457 fi # $ac_x_includes = NO
7459 if test "$ac_x_libraries" = NO
; then
7460 # Check for the libraries.
7462 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
7463 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
7465 # See if we find them without any special options.
7466 # Don't add to $LIBS permanently.
7467 ac_save_LIBS
="$LIBS"
7468 LIBS
="-l$x_direct_test_library $LIBS"
7469 cat > conftest.
$ac_ext <<EOF
7470 #line 7471 "configure"
7471 #include "confdefs.h"
7474 ${x_direct_test_function}()
7477 if { (eval echo configure
:7478: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7479 LIBS
="$ac_save_LIBS"
7480 # We can link X programs with no special library path.
7483 echo "configure: failed program was:" >&5
7484 cat conftest.
$ac_ext >&5
7486 LIBS
="$ac_save_LIBS"
7487 # First see if replacing the include by lib works.
7488 # Check X11 before X11Rn because it is often a symlink to the current release.
7489 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib/` \
7500 /usr
/local
/X
11/lib \
7501 /usr
/local
/X
11R
6/lib \
7502 /usr
/local
/X
11R
5/lib \
7503 /usr
/local
/X
11R
4/lib \
7505 /usr
/local
/lib
/X11 \
7506 /usr
/local
/lib
/X11R6 \
7507 /usr
/local
/lib
/X11R5 \
7508 /usr
/local
/lib
/X11R4 \
7512 /usr
/XFree
86/lib
/X11 \
7516 /usr
/unsupported
/lib \
7518 /usr
/local
/x
11r
5/lib \
7519 /usr
/lpp
/Xamples
/lib \
7523 /usr
/openwin
/share
/lib \
7526 for ac_extension
in a so sl
; do
7527 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
7528 ac_x_libraries
=$ac_dir
7535 fi # $ac_x_libraries = NO
7537 if test "$ac_x_includes" = NO
|| test "$ac_x_libraries" = NO
; then
7538 # Didn't find X anywhere. Cache the known absence of X.
7539 ac_cv_have_x
="have_x=no"
7541 # Record where we found X for the cache.
7542 ac_cv_have_x
="have_x=yes \
7543 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
7547 eval "$ac_cv_have_x"
7550 if test "$have_x" != yes; then
7551 echo "$ac_t""$have_x" 1>&6
7554 # If each of the values was on the command line, it overrides each guess.
7555 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
7556 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
7557 # Update the cache value to reflect the command line values.
7558 ac_cv_have_x
="have_x=yes \
7559 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
7560 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
7563 if test "$no_x" = yes; then
7564 # Not all programs may use this symbol, but it does not hurt to define it.
7565 cat >> confdefs.h
<<\EOF
7566 #define X_DISPLAY_MISSING 1
7569 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
7571 if test -n "$x_includes"; then
7572 X_CFLAGS
="$X_CFLAGS -I$x_includes"
7575 # It would also be nice to do this for all -L options, not just this one.
7576 if test -n "$x_libraries"; then
7577 X_LIBS
="$X_LIBS -L$x_libraries"
7578 # For Solaris; some versions of Sun CC require a space after -R and
7579 # others require no space. Words are not sufficient . . . .
7580 case "`(uname -sr) 2>/dev/null`" in
7582 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
7583 echo "configure:7584: checking whether -R must be followed by a space" >&5
7584 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
7585 cat > conftest.
$ac_ext <<EOF
7586 #line 7587 "configure"
7587 #include "confdefs.h"
7593 if { (eval echo configure
:7594: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7597 echo "configure: failed program was:" >&5
7598 cat conftest.
$ac_ext >&5
7603 if test $ac_R_nospace = yes; then
7604 echo "$ac_t""no" 1>&6
7605 X_LIBS
="$X_LIBS -R$x_libraries"
7607 LIBS
="$ac_xsave_LIBS -R $x_libraries"
7608 cat > conftest.
$ac_ext <<EOF
7609 #line 7610 "configure"
7610 #include "confdefs.h"
7616 if { (eval echo configure
:7617: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7620 echo "configure: failed program was:" >&5
7621 cat conftest.
$ac_ext >&5
7626 if test $ac_R_space = yes; then
7627 echo "$ac_t""yes" 1>&6
7628 X_LIBS
="$X_LIBS -R $x_libraries"
7630 echo "$ac_t""neither works" 1>&6
7633 LIBS
="$ac_xsave_LIBS"
7637 # Check for system-dependent libraries X programs must link with.
7638 # Do this before checking for the system-independent R6 libraries
7639 # (-lICE), since we may need -lsocket or whatever for X linking.
7641 if test "$ISC" = yes; then
7642 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
7644 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
7645 # libraries were built with DECnet support. And karl@cs.umb.edu says
7646 # the Alpha needs dnet_stub (dnet does not exist).
7647 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
7648 echo "configure:7649: checking for dnet_ntoa in -ldnet" >&5
7649 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
7650 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7651 echo $ac_n "(cached) $ac_c" 1>&6
7653 ac_save_LIBS
="$LIBS"
7655 cat > conftest.
$ac_ext <<EOF
7656 #line 7657 "configure"
7657 #include "confdefs.h"
7658 /* Override any gcc2 internal prototype to avoid an error. */
7659 /* We use char because int might match the return type of a gcc2
7660 builtin and then its argument prototype would still apply. */
7667 if { (eval echo configure
:7668: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7669 eval "ac_cv_lib_$ac_lib_var=yes"
7671 echo "configure: failed program was:" >&5
7672 cat conftest.
$ac_ext >&5
7674 eval "ac_cv_lib_$ac_lib_var=no"
7677 LIBS
="$ac_save_LIBS"
7680 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7681 echo "$ac_t""yes" 1>&6
7682 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
7684 echo "$ac_t""no" 1>&6
7687 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
7688 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
7689 echo "configure:7690: checking for dnet_ntoa in -ldnet_stub" >&5
7690 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
7691 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7692 echo $ac_n "(cached) $ac_c" 1>&6
7694 ac_save_LIBS
="$LIBS"
7695 LIBS
="-ldnet_stub $LIBS"
7696 cat > conftest.
$ac_ext <<EOF
7697 #line 7698 "configure"
7698 #include "confdefs.h"
7699 /* Override any gcc2 internal prototype to avoid an error. */
7700 /* We use char because int might match the return type of a gcc2
7701 builtin and then its argument prototype would still apply. */
7708 if { (eval echo configure
:7709: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7710 eval "ac_cv_lib_$ac_lib_var=yes"
7712 echo "configure: failed program was:" >&5
7713 cat conftest.
$ac_ext >&5
7715 eval "ac_cv_lib_$ac_lib_var=no"
7718 LIBS
="$ac_save_LIBS"
7721 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7722 echo "$ac_t""yes" 1>&6
7723 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
7725 echo "$ac_t""no" 1>&6
7730 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
7731 # to get the SysV transport functions.
7732 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
7734 # The nsl library prevents programs from opening the X display
7735 # on Irix 5.2, according to dickey@clark.net.
7736 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
7737 echo "configure:7738: checking for gethostbyname" >&5
7738 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
7739 echo $ac_n "(cached) $ac_c" 1>&6
7741 cat > conftest.
$ac_ext <<EOF
7742 #line 7743 "configure"
7743 #include "confdefs.h"
7744 /* System header to define __stub macros and hopefully few prototypes,
7745 which can conflict with char gethostbyname(); below. */
7747 /* Override any gcc2 internal prototype to avoid an error. */
7748 /* We use char because int might match the return type of a gcc2
7749 builtin and then its argument prototype would still apply. */
7750 char gethostbyname();
7754 /* The GNU C library defines this for functions which it implements
7755 to always fail with ENOSYS. Some functions are actually named
7756 something starting with __ and the normal name is an alias. */
7757 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
7765 if { (eval echo configure
:7766: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7767 eval "ac_cv_func_gethostbyname=yes"
7769 echo "configure: failed program was:" >&5
7770 cat conftest.
$ac_ext >&5
7772 eval "ac_cv_func_gethostbyname=no"
7777 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
7778 echo "$ac_t""yes" 1>&6
7781 echo "$ac_t""no" 1>&6
7784 if test $ac_cv_func_gethostbyname = no
; then
7785 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
7786 echo "configure:7787: checking for gethostbyname in -lnsl" >&5
7787 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
7788 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7789 echo $ac_n "(cached) $ac_c" 1>&6
7791 ac_save_LIBS
="$LIBS"
7793 cat > conftest.
$ac_ext <<EOF
7794 #line 7795 "configure"
7795 #include "confdefs.h"
7796 /* Override any gcc2 internal prototype to avoid an error. */
7797 /* We use char because int might match the return type of a gcc2
7798 builtin and then its argument prototype would still apply. */
7799 char gethostbyname();
7805 if { (eval echo configure
:7806: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7807 eval "ac_cv_lib_$ac_lib_var=yes"
7809 echo "configure: failed program was:" >&5
7810 cat conftest.
$ac_ext >&5
7812 eval "ac_cv_lib_$ac_lib_var=no"
7815 LIBS
="$ac_save_LIBS"
7818 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7819 echo "$ac_t""yes" 1>&6
7820 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
7822 echo "$ac_t""no" 1>&6
7827 # lieder@skyler.mavd.honeywell.com says without -lsocket,
7828 # socket/setsockopt and other routines are undefined under SCO ODT
7829 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
7830 # on later versions), says simon@lia.di.epfl.ch: it contains
7831 # gethostby* variants that don't use the nameserver (or something).
7832 # -lsocket must be given before -lnsl if both are needed.
7833 # We assume that if connect needs -lnsl, so does gethostbyname.
7834 echo $ac_n "checking for connect""... $ac_c" 1>&6
7835 echo "configure:7836: checking for connect" >&5
7836 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
7837 echo $ac_n "(cached) $ac_c" 1>&6
7839 cat > conftest.
$ac_ext <<EOF
7840 #line 7841 "configure"
7841 #include "confdefs.h"
7842 /* System header to define __stub macros and hopefully few prototypes,
7843 which can conflict with char connect(); below. */
7845 /* Override any gcc2 internal prototype to avoid an error. */
7846 /* We use char because int might match the return type of a gcc2
7847 builtin and then its argument prototype would still apply. */
7852 /* The GNU C library defines this for functions which it implements
7853 to always fail with ENOSYS. Some functions are actually named
7854 something starting with __ and the normal name is an alias. */
7855 #if defined (__stub_connect) || defined (__stub___connect)
7863 if { (eval echo configure
:7864: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7865 eval "ac_cv_func_connect=yes"
7867 echo "configure: failed program was:" >&5
7868 cat conftest.
$ac_ext >&5
7870 eval "ac_cv_func_connect=no"
7875 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
7876 echo "$ac_t""yes" 1>&6
7879 echo "$ac_t""no" 1>&6
7882 if test $ac_cv_func_connect = no
; then
7883 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
7884 echo "configure:7885: checking for connect in -lsocket" >&5
7885 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
7886 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7887 echo $ac_n "(cached) $ac_c" 1>&6
7889 ac_save_LIBS
="$LIBS"
7890 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
7891 cat > conftest.
$ac_ext <<EOF
7892 #line 7893 "configure"
7893 #include "confdefs.h"
7894 /* Override any gcc2 internal prototype to avoid an error. */
7895 /* We use char because int might match the return type of a gcc2
7896 builtin and then its argument prototype would still apply. */
7903 if { (eval echo configure
:7904: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7905 eval "ac_cv_lib_$ac_lib_var=yes"
7907 echo "configure: failed program was:" >&5
7908 cat conftest.
$ac_ext >&5
7910 eval "ac_cv_lib_$ac_lib_var=no"
7913 LIBS
="$ac_save_LIBS"
7916 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7917 echo "$ac_t""yes" 1>&6
7918 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
7920 echo "$ac_t""no" 1>&6
7925 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
7926 echo $ac_n "checking for remove""... $ac_c" 1>&6
7927 echo "configure:7928: checking for remove" >&5
7928 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
7929 echo $ac_n "(cached) $ac_c" 1>&6
7931 cat > conftest.
$ac_ext <<EOF
7932 #line 7933 "configure"
7933 #include "confdefs.h"
7934 /* System header to define __stub macros and hopefully few prototypes,
7935 which can conflict with char remove(); below. */
7937 /* Override any gcc2 internal prototype to avoid an error. */
7938 /* We use char because int might match the return type of a gcc2
7939 builtin and then its argument prototype would still apply. */
7944 /* The GNU C library defines this for functions which it implements
7945 to always fail with ENOSYS. Some functions are actually named
7946 something starting with __ and the normal name is an alias. */
7947 #if defined (__stub_remove) || defined (__stub___remove)
7955 if { (eval echo configure
:7956: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7957 eval "ac_cv_func_remove=yes"
7959 echo "configure: failed program was:" >&5
7960 cat conftest.
$ac_ext >&5
7962 eval "ac_cv_func_remove=no"
7967 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
7968 echo "$ac_t""yes" 1>&6
7971 echo "$ac_t""no" 1>&6
7974 if test $ac_cv_func_remove = no
; then
7975 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
7976 echo "configure:7977: checking for remove in -lposix" >&5
7977 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
7978 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7979 echo $ac_n "(cached) $ac_c" 1>&6
7981 ac_save_LIBS
="$LIBS"
7982 LIBS
="-lposix $LIBS"
7983 cat > conftest.
$ac_ext <<EOF
7984 #line 7985 "configure"
7985 #include "confdefs.h"
7986 /* Override any gcc2 internal prototype to avoid an error. */
7987 /* We use char because int might match the return type of a gcc2
7988 builtin and then its argument prototype would still apply. */
7995 if { (eval echo configure
:7996: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7997 eval "ac_cv_lib_$ac_lib_var=yes"
7999 echo "configure: failed program was:" >&5
8000 cat conftest.
$ac_ext >&5
8002 eval "ac_cv_lib_$ac_lib_var=no"
8005 LIBS
="$ac_save_LIBS"
8008 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8009 echo "$ac_t""yes" 1>&6
8010 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
8012 echo "$ac_t""no" 1>&6
8017 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
8018 echo $ac_n "checking for shmat""... $ac_c" 1>&6
8019 echo "configure:8020: checking for shmat" >&5
8020 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
8021 echo $ac_n "(cached) $ac_c" 1>&6
8023 cat > conftest.
$ac_ext <<EOF
8024 #line 8025 "configure"
8025 #include "confdefs.h"
8026 /* System header to define __stub macros and hopefully few prototypes,
8027 which can conflict with char shmat(); below. */
8029 /* Override any gcc2 internal prototype to avoid an error. */
8030 /* We use char because int might match the return type of a gcc2
8031 builtin and then its argument prototype would still apply. */
8036 /* The GNU C library defines this for functions which it implements
8037 to always fail with ENOSYS. Some functions are actually named
8038 something starting with __ and the normal name is an alias. */
8039 #if defined (__stub_shmat) || defined (__stub___shmat)
8047 if { (eval echo configure
:8048: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8049 eval "ac_cv_func_shmat=yes"
8051 echo "configure: failed program was:" >&5
8052 cat conftest.
$ac_ext >&5
8054 eval "ac_cv_func_shmat=no"
8059 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
8060 echo "$ac_t""yes" 1>&6
8063 echo "$ac_t""no" 1>&6
8066 if test $ac_cv_func_shmat = no
; then
8067 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
8068 echo "configure:8069: checking for shmat in -lipc" >&5
8069 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
8070 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8071 echo $ac_n "(cached) $ac_c" 1>&6
8073 ac_save_LIBS
="$LIBS"
8075 cat > conftest.
$ac_ext <<EOF
8076 #line 8077 "configure"
8077 #include "confdefs.h"
8078 /* Override any gcc2 internal prototype to avoid an error. */
8079 /* We use char because int might match the return type of a gcc2
8080 builtin and then its argument prototype would still apply. */
8087 if { (eval echo configure
:8088: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8089 eval "ac_cv_lib_$ac_lib_var=yes"
8091 echo "configure: failed program was:" >&5
8092 cat conftest.
$ac_ext >&5
8094 eval "ac_cv_lib_$ac_lib_var=no"
8097 LIBS
="$ac_save_LIBS"
8100 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8101 echo "$ac_t""yes" 1>&6
8102 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
8104 echo "$ac_t""no" 1>&6
8110 # Check for libraries that X11R6 Xt/Xaw programs need.
8111 ac_save_LDFLAGS
="$LDFLAGS"
8112 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
8113 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
8114 # check for ICE first), but we must link in the order -lSM -lICE or
8115 # we get undefined symbols. So assume we have SM if we have ICE.
8116 # These have to be linked with before -lX11, unlike the other
8117 # libraries we check for below, so use a different variable.
8118 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
8119 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
8120 echo "configure:8121: checking for IceConnectionNumber in -lICE" >&5
8121 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
8122 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8123 echo $ac_n "(cached) $ac_c" 1>&6
8125 ac_save_LIBS
="$LIBS"
8126 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
8127 cat > conftest.
$ac_ext <<EOF
8128 #line 8129 "configure"
8129 #include "confdefs.h"
8130 /* Override any gcc2 internal prototype to avoid an error. */
8131 /* We use char because int might match the return type of a gcc2
8132 builtin and then its argument prototype would still apply. */
8133 char IceConnectionNumber();
8136 IceConnectionNumber()
8139 if { (eval echo configure
:8140: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8141 eval "ac_cv_lib_$ac_lib_var=yes"
8143 echo "configure: failed program was:" >&5
8144 cat conftest.
$ac_ext >&5
8146 eval "ac_cv_lib_$ac_lib_var=no"
8149 LIBS
="$ac_save_LIBS"
8152 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8153 echo "$ac_t""yes" 1>&6
8154 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
8156 echo "$ac_t""no" 1>&6
8159 LDFLAGS
="$ac_save_LDFLAGS"
8164 if test "$no_x" = "yes"; then
8165 { echo "configure: error: X11 not found" 1>&2; exit 1; }
8168 GUI_TK_LIBRARY
="$X_LIBS"
8169 TOOLKIT_INCLUDE
="$X_CFLAGS"
8171 AFMINSTALL
=afminstall
8174 COMPILED_X_PROGRAM
=0
8176 echo $ac_n "checking for Motif/Lesstif headers""... $ac_c" 1>&6
8177 echo "configure:8178: checking for Motif/Lesstif headers" >&5
8180 for ac_dir
in $SEARCH_INCLUDE;
8182 if test -f "$ac_dir/Xm/Xm.h"; then
8183 ac_find_includes
=$ac_dir
8188 if test "$ac_find_includes" != "" ; then
8189 echo "$ac_t""found $ac_find_includes" 1>&6
8191 cat > conftest.
$ac_ext <<EOF
8192 #line 8193 "configure"
8193 #include "confdefs.h"
8201 version = xmUseVersion;
8205 if { (eval echo configure
:8206: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8208 echo "$ac_t""found in default search path" 1>&6
8209 COMPILED_X_PROGRAM
=1
8212 echo "configure: failed program was:" >&5
8213 cat conftest.
$ac_ext >&5
8216 echo "$ac_t""no" 1>&6
8217 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
8224 if test "$COMPILED_X_PROGRAM" = 0; then
8225 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
8226 echo "configure:8227: checking for Motif/Lesstif library" >&5
8229 for ac_dir
in $SEARCH_LIB;
8231 for ac_extension
in a so sl
; do
8232 if test -f "$ac_dir/libXm.$ac_extension"; then
8233 ac_find_libraries
=$ac_dir
8239 if test "$ac_find_libraries" != "" ; then
8241 ac_path_to_include
=$ac_find_includes
8242 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
8244 if test $result = 0; then
8245 ac_path_to_include
=""
8247 ac_path_to_include
="-I$ac_find_includes"
8251 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
8253 if test $result = 0; then
8256 ac_path_to_link
="-L$ac_find_libraries"
8260 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
8261 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE $ac_path_to_include"
8262 echo "$ac_t""found at $ac_find_libraries" 1>&6
8264 cat > conftest.
$ac_ext <<EOF
8265 #line 8266 "configure"
8266 #include "confdefs.h"
8274 version = xmUseVersion;
8278 if { (eval echo configure
:8279: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8281 echo "$ac_t""found in default search path" 1>&6
8282 COMPILED_X_PROGRAM
=1
8285 echo "configure: failed program was:" >&5
8286 cat conftest.
$ac_ext >&5
8289 echo "$ac_t""no" 1>&6
8290 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
8300 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
8301 echo "configure:8302: checking for Xpm library" >&5
8304 for ac_dir
in $SEARCH_LIB;
8306 for ac_extension
in a so sl
; do
8307 if test -f "$ac_dir/libXpm.$ac_extension"; then
8308 ac_find_libraries
=$ac_dir
8314 if test "$ac_find_libraries" != "" ; then
8316 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
8318 if test $result = 0; then
8321 ac_path_to_link
="-L$ac_find_libraries"
8324 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
8326 cat >> confdefs.h
<<\EOF
8327 #define wxHAVE_LIB_XPM 1
8330 echo "$ac_t""found at $ac_find_libraries" 1>&6
8332 cat > conftest.
$ac_ext <<EOF
8333 #line 8334 "configure"
8334 #include "confdefs.h"
8336 #include <X11/xpm.h>
8342 version = XpmLibraryVersion();
8346 if { (eval echo configure
:8347: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8350 cat >> confdefs.h
<<\EOF
8351 #define wxHAVE_LIB_XPM 1
8354 echo "$ac_t""found in default search path" 1>&6
8355 COMPILED_X_PROGRAM
=0
8358 echo "configure: failed program was:" >&5
8359 cat conftest.
$ac_ext >&5
8362 echo "$ac_t""no" 1>&6
8363 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
8370 GUI_TK_LINK
="-lXm $XPM_LINK -lXmu -lXext -lXt -lX11 -lm"
8371 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GUI_TK_LINK"
8374 GUIHEADERS
="\$(MOTIF_HEADERS)"
8375 GUIOBJS
="\$(MOTIF_GUIOBJS)"
8376 COMMONOBJS
="\$(MOTIF_COMMONOBJS)"
8377 GENERICOBJS
="\$(MOTIF_GENERICOBJS)"
8378 GUIDEPS
="\$(MOTIF_GUIDEPS)"
8379 COMMONDEPS
="\$(MOTIF_COMMONDEPS)"
8380 GENERICDEPS
="\$(MOTIF_GENERICDEPS)"
8381 UNIXOBJS
="\$(UNIX_OBJS)"
8382 UNIXDEPS
="\$(UNIX_DEPS)"
8386 if test "$wxUSE_PM" = 1; then
8389 GUIOBJS
="\$(PM_GUIOBJS)"
8390 GUIHEADERS
="\$(PM_HEADERS)"
8391 COMMONOBJS
="\$(PM_COMMONOBJS)"
8392 GENERICOBJS
="\$(PM_GENERICOBJS)"
8393 GUIDEPS
="\$(PM_GUIDEPS)"
8394 COMMONDEPS
="\$(PM_COMMONDEPS)"
8395 GENERICDEPS
="\$(PM_GENERICDEPS)"
8401 if test "$TOOLKIT" != "PM" ; then
8402 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
8407 TOOLKIT_DEF
="-D__WX${TOOLKIT}__"
8409 WX_LIBRARY
="wx_${TOOLKIT_DIR}"
8411 ALL_OBJECTS
="\$(GUIOBJS) \$(COMMONOBJS) \$(GENERICOBJS) \$(UNIXOBJS) \$(HTMLOBJS)"
8413 if test "$TOOLKIT" != "MSW"; then
8414 if test "$wxUSE_ODBC" = "yes" ; then
8415 ALL_OBJECTS
="${ALL_OBJECTS} \$(IODBCOBJS)"
8419 if test "$wxUSE_LIBJPEG" = "yes" ; then
8420 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
8422 if test "$wxUSE_LIBTIFF" = "yes" ; then
8423 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
8425 if test "$wxUSE_LIBPNG" = "yes" ; then
8426 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
8428 if test "$wxUSE_ZLIB" = "yes" ; then
8429 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
8431 ALL_DEPFILES
="\$(GUIDEPS) \$(COMMONDEPS) \$(GENERICDEPS) \$(UNIXDEPS) \$(HTMLDEPS)"
8433 PORT_FILES
="src/\$(TOOLKITDIR)/files.lst"
8434 RPM_FILES
="src/\$(TOOLKITDIR)/rpmfiles.lst"
8435 RPM_SPEC
="wx\$(TOOLKIT).spec"
8437 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
8438 DISTDIR
="wx\$(TOOLKIT)"
8443 TOOLKIT_DEF
="-D__WXBASE__"
8445 ALL_OBJECTS
="\$(BASE_OBJS) \${BASE_UNIX_OBJS}"
8446 ALL_DEPFILES
="\${BASE_DEPS} \${BASE_UNIX_DEPS}"
8450 PORT_FILES
="src/files.lst"
8451 RPM_FILES
="src/rpmfiles.lst"
8452 RPM_SPEC
="wxBase.spec"
8458 WX_LIBRARY_NAME
="lib${WX_LIBRARY}.la"
8460 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
8462 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}-${WX_RELEASE}.so.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
8464 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}-${WX_RELEASE}.so.${WX_CURRENT}"
8465 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}-${WX_RELEASE}.so"
8466 WX_LIBRARY_LINK3
="lib${WX_LIBRARY}.so"
8475 if test "$wxUSE_SHARED" = "yes"; then
8478 if test "$GCC" = yes ; then
8479 SHARED_LD
="${CC} -shared -fPIC -o"
8482 SHARED_LD
="${CXX} -b -o"
8485 WX_LIBRARY_NAME_SHARED
="libwx_${TOOLKIT_DIR}.sl"
8486 WX_ALL
=${WX_LIBRARY_NAME_SHARED}
8490 SHARED_LD
="${CC} -shared -o"
8492 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8493 WX_ALL
="CREATE_LINKS"
8494 if test "$wxUSE_BURNT_NAME" = "yes" ; then
8495 BURNT_LIBRARY_NAME
="-Wl,-soname,${WX_LIBRARY_LINK1}"
8498 *-*-irix5* | *-*-irix6* )
8499 if test "$GCC" = yes ; then
8500 SHARED_LD
="${CC} -shared -o"
8503 SHARED_LD
="${CXX} -shared -o"
8505 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8506 WX_ALL
="CREATE_LINKS"
8509 if test "$GCC" = yes ; then
8510 SHARED_LD
="${CC} -shared -o"
8513 SHARED_LD
="${CXX} -G -o"
8516 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8517 WX_ALL
="CREATE_LINKS"
8520 SHARED_LD
="${CC} -shared -o"
8522 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8523 WX_ALL
="CREATE_LINKS"
8525 *-*-freebsd* | *-*-netbsd*)
8526 SHARED_LD
="${CC} -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
="${CXX} -shared -o"
8540 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8541 WX_ALL
="CREATE_LINKS"
8544 SHARED_LD
="${CC} -shared -o"
8546 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8547 WX_ALL
="CREATE_LINKS"
8550 SHARED_LD
="/usr/lpp/xlC/bin/makeC++SharedLib -p 0 -o"
8551 WX_ALL
=${WX_LIBRARY_NAME_SHARED}
8554 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
8555 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
8558 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
8559 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
8562 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
8563 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
8566 SHARED_LD
="${LD} -shared -o"
8568 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8569 WX_ALL
="CREATE_LINKS"
8572 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
8575 if test "x$WX_TARGET_LIBRARY" = "x"; then
8576 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
8579 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
8580 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
8584 for ac_hdr
in strings.h
8586 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8587 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8588 echo "configure:8589: checking for $ac_hdr" >&5
8589 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8590 echo $ac_n "(cached) $ac_c" 1>&6
8592 cat > conftest.
$ac_ext <<EOF
8593 #line 8594 "configure"
8594 #include "confdefs.h"
8597 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8598 { (eval echo configure
:8599: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8599 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8600 if test -z "$ac_err"; then
8602 eval "ac_cv_header_$ac_safe=yes"
8605 echo "configure: failed program was:" >&5
8606 cat conftest.
$ac_ext >&5
8608 eval "ac_cv_header_$ac_safe=no"
8612 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8613 echo "$ac_t""yes" 1>&6
8614 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8615 cat >> confdefs.h
<<EOF
8616 #define $ac_tr_hdr 1
8620 echo "$ac_t""no" 1>&6
8624 for ac_hdr
in unistd.h
8626 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8627 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8628 echo "configure:8629: checking for $ac_hdr" >&5
8629 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8630 echo $ac_n "(cached) $ac_c" 1>&6
8632 cat > conftest.
$ac_ext <<EOF
8633 #line 8634 "configure"
8634 #include "confdefs.h"
8637 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8638 { (eval echo configure
:8639: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8639 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8640 if test -z "$ac_err"; then
8642 eval "ac_cv_header_$ac_safe=yes"
8645 echo "configure: failed program was:" >&5
8646 cat conftest.
$ac_ext >&5
8648 eval "ac_cv_header_$ac_safe=no"
8652 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8653 echo "$ac_t""yes" 1>&6
8654 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8655 cat >> confdefs.h
<<EOF
8656 #define $ac_tr_hdr 1
8660 echo "$ac_t""no" 1>&6
8664 for ac_hdr
in wchar.h
8666 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8667 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8668 echo "configure:8669: checking for $ac_hdr" >&5
8669 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8670 echo $ac_n "(cached) $ac_c" 1>&6
8672 cat > conftest.
$ac_ext <<EOF
8673 #line 8674 "configure"
8674 #include "confdefs.h"
8677 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8678 { (eval echo configure
:8679: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8679 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8680 if test -z "$ac_err"; then
8682 eval "ac_cv_header_$ac_safe=yes"
8685 echo "configure: failed program was:" >&5
8686 cat conftest.
$ac_ext >&5
8688 eval "ac_cv_header_$ac_safe=no"
8692 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8693 echo "$ac_t""yes" 1>&6
8694 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8695 cat >> confdefs.h
<<EOF
8696 #define $ac_tr_hdr 1
8700 echo "$ac_t""no" 1>&6
8704 for ac_hdr
in wcstr.h
8706 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8707 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8708 echo "configure:8709: checking for $ac_hdr" >&5
8709 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8710 echo $ac_n "(cached) $ac_c" 1>&6
8712 cat > conftest.
$ac_ext <<EOF
8713 #line 8714 "configure"
8714 #include "confdefs.h"
8717 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8718 { (eval echo configure
:8719: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8719 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8720 if test -z "$ac_err"; then
8722 eval "ac_cv_header_$ac_safe=yes"
8725 echo "configure: failed program was:" >&5
8726 cat conftest.
$ac_ext >&5
8728 eval "ac_cv_header_$ac_safe=no"
8732 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8733 echo "$ac_t""yes" 1>&6
8734 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8735 cat >> confdefs.h
<<EOF
8736 #define $ac_tr_hdr 1
8740 echo "$ac_t""no" 1>&6
8744 for ac_hdr
in fnmatch.h
8746 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8747 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8748 echo "configure:8749: checking for $ac_hdr" >&5
8749 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8750 echo $ac_n "(cached) $ac_c" 1>&6
8752 cat > conftest.
$ac_ext <<EOF
8753 #line 8754 "configure"
8754 #include "confdefs.h"
8757 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8758 { (eval echo configure
:8759: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8759 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8760 if test -z "$ac_err"; then
8762 eval "ac_cv_header_$ac_safe=yes"
8765 echo "configure: failed program was:" >&5
8766 cat conftest.
$ac_ext >&5
8768 eval "ac_cv_header_$ac_safe=no"
8772 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8773 echo "$ac_t""yes" 1>&6
8774 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8775 cat >> confdefs.h
<<EOF
8776 #define $ac_tr_hdr 1
8780 echo "$ac_t""no" 1>&6
8785 if test "$wxUSE_GUI" = "yes"; then
8786 for ac_hdr
in X
11/XKBlib.h
8788 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8789 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8790 echo "configure:8791: checking for $ac_hdr" >&5
8791 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8792 echo $ac_n "(cached) $ac_c" 1>&6
8794 cat > conftest.
$ac_ext <<EOF
8795 #line 8796 "configure"
8796 #include "confdefs.h"
8799 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8800 { (eval echo configure
:8801: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8801 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8802 if test -z "$ac_err"; then
8804 eval "ac_cv_header_$ac_safe=yes"
8807 echo "configure: failed program was:" >&5
8808 cat conftest.
$ac_ext >&5
8810 eval "ac_cv_header_$ac_safe=no"
8814 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8815 echo "$ac_t""yes" 1>&6
8816 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8817 cat >> confdefs.h
<<EOF
8818 #define $ac_tr_hdr 1
8822 echo "$ac_t""no" 1>&6
8829 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
8830 echo "configure:8831: checking for ANSI C header files" >&5
8831 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
8832 echo $ac_n "(cached) $ac_c" 1>&6
8834 cat > conftest.
$ac_ext <<EOF
8835 #line 8836 "configure"
8836 #include "confdefs.h"
8842 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8843 { (eval echo configure
:8844: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8844 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8845 if test -z "$ac_err"; then
8847 ac_cv_header_stdc
=yes
8850 echo "configure: failed program was:" >&5
8851 cat conftest.
$ac_ext >&5
8853 ac_cv_header_stdc
=no
8857 if test $ac_cv_header_stdc = yes; then
8858 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8859 cat > conftest.
$ac_ext <<EOF
8860 #line 8861 "configure"
8861 #include "confdefs.h"
8864 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8865 egrep "memchr" >/dev
/null
2>&1; then
8869 ac_cv_header_stdc
=no
8875 if test $ac_cv_header_stdc = yes; then
8876 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8877 cat > conftest.
$ac_ext <<EOF
8878 #line 8879 "configure"
8879 #include "confdefs.h"
8882 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8883 egrep "free" >/dev
/null
2>&1; then
8887 ac_cv_header_stdc
=no
8893 if test $ac_cv_header_stdc = yes; then
8894 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8895 if test "$cross_compiling" = yes; then
8898 cat > conftest.
$ac_ext <<EOF
8899 #line 8900 "configure"
8900 #include "confdefs.h"
8902 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8903 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8904 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8905 int main () { int i; for (i = 0; i < 256; i++)
8906 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
8910 if { (eval echo configure
:8911: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
8914 echo "configure: failed program was:" >&5
8915 cat conftest.
$ac_ext >&5
8917 ac_cv_header_stdc
=no
8925 echo "$ac_t""$ac_cv_header_stdc" 1>&6
8926 if test $ac_cv_header_stdc = yes; then
8927 cat >> confdefs.h
<<\EOF
8928 #define STDC_HEADERS 1
8933 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
8934 echo "configure:8935: checking for mode_t" >&5
8935 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
8936 echo $ac_n "(cached) $ac_c" 1>&6
8938 cat > conftest.
$ac_ext <<EOF
8939 #line 8940 "configure"
8940 #include "confdefs.h"
8941 #include <sys/types.h>
8947 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8948 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
8950 ac_cv_type_mode_t
=yes
8953 ac_cv_type_mode_t
=no
8958 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
8959 if test $ac_cv_type_mode_t = no
; then
8960 cat >> confdefs.h
<<\EOF
8966 echo $ac_n "checking for off_t""... $ac_c" 1>&6
8967 echo "configure:8968: checking for off_t" >&5
8968 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
8969 echo $ac_n "(cached) $ac_c" 1>&6
8971 cat > conftest.
$ac_ext <<EOF
8972 #line 8973 "configure"
8973 #include "confdefs.h"
8974 #include <sys/types.h>
8980 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8981 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
8983 ac_cv_type_off_t
=yes
8991 echo "$ac_t""$ac_cv_type_off_t" 1>&6
8992 if test $ac_cv_type_off_t = no
; then
8993 cat >> confdefs.h
<<\EOF
8999 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
9000 echo "configure:9001: checking for pid_t" >&5
9001 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
9002 echo $ac_n "(cached) $ac_c" 1>&6
9004 cat > conftest.
$ac_ext <<EOF
9005 #line 9006 "configure"
9006 #include "confdefs.h"
9007 #include <sys/types.h>
9013 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9014 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
9016 ac_cv_type_pid_t
=yes
9024 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
9025 if test $ac_cv_type_pid_t = no
; then
9026 cat >> confdefs.h
<<\EOF
9032 echo $ac_n "checking for size_t""... $ac_c" 1>&6
9033 echo "configure:9034: checking for size_t" >&5
9034 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
9035 echo $ac_n "(cached) $ac_c" 1>&6
9037 cat > conftest.
$ac_ext <<EOF
9038 #line 9039 "configure"
9039 #include "confdefs.h"
9040 #include <sys/types.h>
9046 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9047 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
9049 ac_cv_type_size_t
=yes
9052 ac_cv_type_size_t
=no
9057 echo "$ac_t""$ac_cv_type_size_t" 1>&6
9058 if test $ac_cv_type_size_t = no
; then
9059 cat >> confdefs.h
<<\EOF
9060 #define size_t unsigned
9065 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
9066 echo "configure:9067: checking for uid_t in sys/types.h" >&5
9067 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
9068 echo $ac_n "(cached) $ac_c" 1>&6
9070 cat > conftest.
$ac_ext <<EOF
9071 #line 9072 "configure"
9072 #include "confdefs.h"
9073 #include <sys/types.h>
9075 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9076 egrep "uid_t" >/dev
/null
2>&1; then
9078 ac_cv_type_uid_t
=yes
9087 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
9088 if test $ac_cv_type_uid_t = no
; then
9089 cat >> confdefs.h
<<\EOF
9093 cat >> confdefs.h
<<\EOF
9101 echo $ac_n "checking for pw_gecos in struct passwd""... $ac_c" 1>&6
9102 echo "configure:9103: checking for pw_gecos in struct passwd" >&5
9103 if eval "test \"`echo '$''{'wx_cv_struct_pw_gecos'+set}'`\" = set"; then
9104 echo $ac_n "(cached) $ac_c" 1>&6
9107 cat > conftest.
$ac_ext <<EOF
9108 #line 9109 "configure"
9109 #include "confdefs.h"
9119 if { (eval echo configure
:9120: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9122 wx_cv_struct_pw_gecos
=yes
9123 cat >> confdefs.h
<<\EOF
9124 #define HAVE_PW_GECOS 1
9129 echo "configure: failed program was:" >&5
9130 cat conftest.
$ac_ext >&5
9133 wx_cv_struct_pw_gecos
=no
9142 echo "$ac_t""$wx_cv_struct_pw_gecos" 1>&6
9145 echo $ac_n "checking for working const""... $ac_c" 1>&6
9146 echo "configure:9147: checking for working const" >&5
9147 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
9148 echo $ac_n "(cached) $ac_c" 1>&6
9150 cat > conftest.
$ac_ext <<EOF
9151 #line 9152 "configure"
9152 #include "confdefs.h"
9156 /* Ultrix mips cc rejects this. */
9157 typedef int charset[2]; const charset x;
9158 /* SunOS 4.1.1 cc rejects this. */
9159 char const *const *ccp;
9161 /* NEC SVR4.0.2 mips cc rejects this. */
9162 struct point {int x, y;};
9163 static struct point const zero = {0,0};
9164 /* AIX XL C 1.02.0.0 rejects this.
9165 It does not let you subtract one const X* pointer from another in an arm
9166 of an if-expression whose if-part is not a constant expression */
9167 const char *g = "string";
9168 ccp = &g + (g ? g-g : 0);
9169 /* HPUX 7.0 cc rejects these. */
9172 ccp = (char const *const *) p;
9173 { /* SCO 3.2v4 cc rejects this. */
9175 char const *s = 0 ? (char *) 0 : (char const *) 0;
9179 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
9181 const int *foo = &x[0];
9184 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
9185 typedef const int *iptr;
9189 { /* AIX XL C 1.02.0.0 rejects this saying
9190 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
9191 struct s { int j; const int *ap[3]; };
9192 struct s *b; b->j = 5;
9194 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
9200 if { (eval echo configure
:9201: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9204 echo "configure: failed program was:" >&5
9205 cat conftest.
$ac_ext >&5
9212 echo "$ac_t""$ac_cv_c_const" 1>&6
9213 if test $ac_cv_c_const = no
; then
9214 cat >> confdefs.h
<<\EOF
9220 echo $ac_n "checking for inline""... $ac_c" 1>&6
9221 echo "configure:9222: checking for inline" >&5
9222 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
9223 echo $ac_n "(cached) $ac_c" 1>&6
9226 for ac_kw
in inline __inline__ __inline
; do
9227 cat > conftest.
$ac_ext <<EOF
9228 #line 9229 "configure"
9229 #include "confdefs.h"
9235 if { (eval echo configure
:9236: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9237 ac_cv_c_inline
=$ac_kw; break
9239 echo "configure: failed program was:" >&5
9240 cat conftest.
$ac_ext >&5
9247 echo "$ac_t""$ac_cv_c_inline" 1>&6
9248 case "$ac_cv_c_inline" in
9250 no
) cat >> confdefs.h
<<\EOF
9254 *) cat >> confdefs.h
<<EOF
9255 #define inline $ac_cv_c_inline
9261 echo $ac_n "checking size of char""... $ac_c" 1>&6
9262 echo "configure:9263: checking size of char" >&5
9263 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
9264 echo $ac_n "(cached) $ac_c" 1>&6
9266 if test "$cross_compiling" = yes; then
9269 cat > conftest.
$ac_ext <<EOF
9270 #line 9271 "configure"
9271 #include "confdefs.h"
9275 FILE *f=fopen("conftestval", "w");
9277 fprintf(f, "%d\n", sizeof(char));
9281 if { (eval echo configure
:9282: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9283 ac_cv_sizeof_char
=`cat conftestval`
9285 echo "configure: failed program was:" >&5
9286 cat conftest.
$ac_ext >&5
9294 echo "$ac_t""$ac_cv_sizeof_char" 1>&6
9295 cat >> confdefs.h
<<EOF
9296 #define SIZEOF_CHAR $ac_cv_sizeof_char
9300 echo $ac_n "checking size of short""... $ac_c" 1>&6
9301 echo "configure:9302: checking size of short" >&5
9302 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
9303 echo $ac_n "(cached) $ac_c" 1>&6
9305 if test "$cross_compiling" = yes; then
9306 ac_cv_sizeof_short
=2
9308 cat > conftest.
$ac_ext <<EOF
9309 #line 9310 "configure"
9310 #include "confdefs.h"
9314 FILE *f=fopen("conftestval", "w");
9316 fprintf(f, "%d\n", sizeof(short));
9320 if { (eval echo configure
:9321: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9322 ac_cv_sizeof_short
=`cat conftestval`
9324 echo "configure: failed program was:" >&5
9325 cat conftest.
$ac_ext >&5
9327 ac_cv_sizeof_short
=0
9333 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
9334 cat >> confdefs.h
<<EOF
9335 #define SIZEOF_SHORT $ac_cv_sizeof_short
9339 echo $ac_n "checking size of int *""... $ac_c" 1>&6
9340 echo "configure:9341: checking size of int *" >&5
9341 if eval "test \"`echo '$''{'ac_cv_sizeof_int_p'+set}'`\" = set"; then
9342 echo $ac_n "(cached) $ac_c" 1>&6
9344 if test "$cross_compiling" = yes; then
9345 ac_cv_sizeof_int_p
=4
9347 cat > conftest.
$ac_ext <<EOF
9348 #line 9349 "configure"
9349 #include "confdefs.h"
9353 FILE *f=fopen("conftestval", "w");
9355 fprintf(f, "%d\n", sizeof(int *));
9359 if { (eval echo configure
:9360: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9361 ac_cv_sizeof_int_p
=`cat conftestval`
9363 echo "configure: failed program was:" >&5
9364 cat conftest.
$ac_ext >&5
9366 ac_cv_sizeof_int_p
=0
9372 echo "$ac_t""$ac_cv_sizeof_int_p" 1>&6
9373 cat >> confdefs.h
<<EOF
9374 #define SIZEOF_INT_P $ac_cv_sizeof_int_p
9378 echo $ac_n "checking size of int""... $ac_c" 1>&6
9379 echo "configure:9380: checking size of int" >&5
9380 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
9381 echo $ac_n "(cached) $ac_c" 1>&6
9383 if test "$cross_compiling" = yes; then
9386 cat > conftest.
$ac_ext <<EOF
9387 #line 9388 "configure"
9388 #include "confdefs.h"
9392 FILE *f=fopen("conftestval", "w");
9394 fprintf(f, "%d\n", sizeof(int));
9398 if { (eval echo configure
:9399: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9400 ac_cv_sizeof_int
=`cat conftestval`
9402 echo "configure: failed program was:" >&5
9403 cat conftest.
$ac_ext >&5
9411 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
9412 cat >> confdefs.h
<<EOF
9413 #define SIZEOF_INT $ac_cv_sizeof_int
9417 echo $ac_n "checking size of long""... $ac_c" 1>&6
9418 echo "configure:9419: checking size of long" >&5
9419 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
9420 echo $ac_n "(cached) $ac_c" 1>&6
9422 if test "$cross_compiling" = yes; then
9425 cat > conftest.
$ac_ext <<EOF
9426 #line 9427 "configure"
9427 #include "confdefs.h"
9431 FILE *f=fopen("conftestval", "w");
9433 fprintf(f, "%d\n", sizeof(long));
9437 if { (eval echo configure
:9438: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9439 ac_cv_sizeof_long
=`cat conftestval`
9441 echo "configure: failed program was:" >&5
9442 cat conftest.
$ac_ext >&5
9450 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
9451 cat >> confdefs.h
<<EOF
9452 #define SIZEOF_LONG $ac_cv_sizeof_long
9456 echo $ac_n "checking size of long long""... $ac_c" 1>&6
9457 echo "configure:9458: checking size of long long" >&5
9458 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
9459 echo $ac_n "(cached) $ac_c" 1>&6
9461 if test "$cross_compiling" = yes; then
9462 ac_cv_sizeof_long_long
=0
9464 cat > conftest.
$ac_ext <<EOF
9465 #line 9466 "configure"
9466 #include "confdefs.h"
9470 FILE *f=fopen("conftestval", "w");
9472 fprintf(f, "%d\n", sizeof(long long));
9476 if { (eval echo configure
:9477: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9478 ac_cv_sizeof_long_long
=`cat conftestval`
9480 echo "configure: failed program was:" >&5
9481 cat conftest.
$ac_ext >&5
9483 ac_cv_sizeof_long_long
=0
9489 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
9490 cat >> confdefs.h
<<EOF
9491 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
9496 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
9497 echo "configure:9498: checking whether byte ordering is bigendian" >&5
9498 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
9499 echo $ac_n "(cached) $ac_c" 1>&6
9501 ac_cv_c_bigendian
=unknown
9502 # See if sys/param.h defines the BYTE_ORDER macro.
9503 cat > conftest.
$ac_ext <<EOF
9504 #line 9505 "configure"
9505 #include "confdefs.h"
9506 #include <sys/types.h>
9507 #include <sys/param.h>
9510 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
9515 if { (eval echo configure
:9516: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9517 # It does; now see whether it defined to BIG_ENDIAN or not.
9518 cat > conftest.
$ac_ext <<EOF
9519 #line 9520 "configure"
9520 #include "confdefs.h"
9521 #include <sys/types.h>
9522 #include <sys/param.h>
9525 #if BYTE_ORDER != BIG_ENDIAN
9530 if { (eval echo configure
:9531: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9532 ac_cv_c_bigendian
=yes
9534 echo "configure: failed program was:" >&5
9535 cat conftest.
$ac_ext >&5
9537 ac_cv_c_bigendian
=no
9541 echo "configure: failed program was:" >&5
9542 cat conftest.
$ac_ext >&5
9545 if test $ac_cv_c_bigendian = unknown
; then
9546 if test "$cross_compiling" = yes; then
9547 ac_cv_c_bigendian
=unknown
9549 cat > conftest.
$ac_ext <<EOF
9550 #line 9551 "configure"
9551 #include "confdefs.h"
9553 /* Are we little or big endian? From Harbison&Steele. */
9557 char c[sizeof (long)];
9560 exit (u.c[sizeof (long) - 1] == 1);
9563 if { (eval echo configure
:9564: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9565 ac_cv_c_bigendian
=no
9567 echo "configure: failed program was:" >&5
9568 cat conftest.
$ac_ext >&5
9570 ac_cv_c_bigendian
=yes
9578 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
9579 if test $ac_cv_c_bigendian = unknown
; then
9580 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
9582 if test $ac_cv_c_bigendian = yes; then
9583 cat >> confdefs.h
<<\EOF
9584 #define WORDS_BIGENDIAN 1
9591 if test "$cross_compiling" = "yes"; then
9592 cat >> confdefs.h
<<\EOF
9593 #define wxUSE_IOSTREAMH 1
9599 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9600 ac_cpp
='$CXXCPP $CPPFLAGS'
9601 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9602 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9603 cross_compiling
=$ac_cv_prog_cxx_cross
9606 for ac_hdr
in iostream
9608 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9609 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9610 echo "configure:9611: checking for $ac_hdr" >&5
9611 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9612 echo $ac_n "(cached) $ac_c" 1>&6
9614 cat > conftest.
$ac_ext <<EOF
9615 #line 9616 "configure"
9616 #include "confdefs.h"
9619 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9620 { (eval echo configure
:9621: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9621 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9622 if test -z "$ac_err"; then
9624 eval "ac_cv_header_$ac_safe=yes"
9627 echo "configure: failed program was:" >&5
9628 cat conftest.
$ac_ext >&5
9630 eval "ac_cv_header_$ac_safe=no"
9634 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9635 echo "$ac_t""yes" 1>&6
9636 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9637 cat >> confdefs.h
<<EOF
9638 #define $ac_tr_hdr 1
9642 echo "$ac_t""no" 1>&6
9647 if test "x$HAVE_IOSTREAM" = x
; then
9648 cat >> confdefs.h
<<\EOF
9649 #define wxUSE_IOSTREAMH 1
9657 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9658 ac_cpp
='$CPP $CPPFLAGS'
9659 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9660 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9661 cross_compiling
=$ac_cv_prog_cc_cross
9667 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
9668 echo "configure:9669: checking if C++ compiler supports bool" >&5
9669 if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
9670 echo $ac_n "(cached) $ac_c" 1>&6
9675 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9676 ac_cpp
='$CXXCPP $CPPFLAGS'
9677 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9678 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9679 cross_compiling
=$ac_cv_prog_cxx_cross
9682 cat > conftest.
$ac_ext <<EOF
9683 #line 9684 "configure"
9684 #include "confdefs.h"
9695 if { (eval echo configure
:9696: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9698 cat >> confdefs.h
<<\EOF
9705 echo "configure: failed program was:" >&5
9706 cat conftest.
$ac_ext >&5
9716 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9717 ac_cpp
='$CPP $CPPFLAGS'
9718 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9719 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9720 cross_compiling
=$ac_cv_prog_cc_cross
9725 echo "$ac_t""$wx_cv_cpp_bool" 1>&6
9727 if test "$wx_cv_cpp_bool" = "yes"; then
9728 cat >> confdefs.h
<<\EOF
9736 echo $ac_n "checking if you need GNU extensions""... $ac_c" 1>&6
9737 echo "configure:9738: checking if you need GNU extensions" >&5
9738 if eval "test \"`echo '$''{'wx_cv_gnu_extensions'+set}'`\" = set"; then
9739 echo $ac_n "(cached) $ac_c" 1>&6
9742 cat > conftest.
$ac_ext <<EOF
9743 #line 9744 "configure"
9744 #include "confdefs.h"
9745 #include <features.h>
9749 #ifndef __GNU_LIBRARY__
9750 Compile error wanted
9756 if { (eval echo configure
:9757: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9758 wx_cv_gnu_extensions
=yes
9760 echo "configure: failed program was:" >&5
9761 cat conftest.
$ac_ext >&5
9763 wx_cv_gnu_extensions
=no
9770 echo "$ac_t""$wx_cv_gnu_extensions" 1>&6
9771 if test "$wx_cv_gnu_extensions" = "yes"; then
9772 cat >> confdefs.h
<<EOF
9773 #define _GNU_SOURCE 1
9780 echo $ac_n "checking for wcslen in -lc""... $ac_c" 1>&6
9781 echo "configure:9782: checking for wcslen in -lc" >&5
9782 ac_lib_var
=`echo c'_'wcslen | sed 'y%./+-%__p_%'`
9783 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9784 echo $ac_n "(cached) $ac_c" 1>&6
9786 ac_save_LIBS
="$LIBS"
9788 cat > conftest.
$ac_ext <<EOF
9789 #line 9790 "configure"
9790 #include "confdefs.h"
9791 /* Override any gcc2 internal prototype to avoid an error. */
9792 /* We use char because int might match the return type of a gcc2
9793 builtin and then its argument prototype would still apply. */
9800 if { (eval echo configure
:9801: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9802 eval "ac_cv_lib_$ac_lib_var=yes"
9804 echo "configure: failed program was:" >&5
9805 cat conftest.
$ac_ext >&5
9807 eval "ac_cv_lib_$ac_lib_var=no"
9810 LIBS
="$ac_save_LIBS"
9813 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9814 echo "$ac_t""yes" 1>&6
9816 cat >> confdefs.h
<<\EOF
9817 #define HAVE_WCSLEN 1
9823 echo "$ac_t""no" 1>&6
9825 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
9826 echo "configure:9827: checking for wcslen in -lw" >&5
9827 ac_lib_var
=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
9828 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9829 echo $ac_n "(cached) $ac_c" 1>&6
9831 ac_save_LIBS
="$LIBS"
9833 cat > conftest.
$ac_ext <<EOF
9834 #line 9835 "configure"
9835 #include "confdefs.h"
9836 /* Override any gcc2 internal prototype to avoid an error. */
9837 /* We use char because int might match the return type of a gcc2
9838 builtin and then its argument prototype would still apply. */
9845 if { (eval echo configure
:9846: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9847 eval "ac_cv_lib_$ac_lib_var=yes"
9849 echo "configure: failed program was:" >&5
9850 cat conftest.
$ac_ext >&5
9852 eval "ac_cv_lib_$ac_lib_var=no"
9855 LIBS
="$ac_save_LIBS"
9858 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9859 echo "$ac_t""yes" 1>&6
9861 cat >> confdefs.h
<<\EOF
9862 #define HAVE_WCSLEN 1
9868 echo "$ac_t""no" 1>&6
9875 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
9876 echo "configure:9877: checking for vprintf" >&5
9877 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
9878 echo $ac_n "(cached) $ac_c" 1>&6
9880 cat > conftest.
$ac_ext <<EOF
9881 #line 9882 "configure"
9882 #include "confdefs.h"
9883 /* System header to define __stub macros and hopefully few prototypes,
9884 which can conflict with char vprintf(); below. */
9886 /* Override any gcc2 internal prototype to avoid an error. */
9887 /* We use char because int might match the return type of a gcc2
9888 builtin and then its argument prototype would still apply. */
9893 /* The GNU C library defines this for functions which it implements
9894 to always fail with ENOSYS. Some functions are actually named
9895 something starting with __ and the normal name is an alias. */
9896 #if defined (__stub_vprintf) || defined (__stub___vprintf)
9904 if { (eval echo configure
:9905: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9906 eval "ac_cv_func_vprintf=yes"
9908 echo "configure: failed program was:" >&5
9909 cat conftest.
$ac_ext >&5
9911 eval "ac_cv_func_vprintf=no"
9916 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
9917 echo "$ac_t""yes" 1>&6
9918 cat >> confdefs.h
<<\EOF
9919 #define HAVE_VPRINTF 1
9923 echo "$ac_t""no" 1>&6
9926 if test "$ac_cv_func_vprintf" != yes; then
9927 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
9928 echo "configure:9929: checking for _doprnt" >&5
9929 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
9930 echo $ac_n "(cached) $ac_c" 1>&6
9932 cat > conftest.
$ac_ext <<EOF
9933 #line 9934 "configure"
9934 #include "confdefs.h"
9935 /* System header to define __stub macros and hopefully few prototypes,
9936 which can conflict with char _doprnt(); below. */
9938 /* Override any gcc2 internal prototype to avoid an error. */
9939 /* We use char because int might match the return type of a gcc2
9940 builtin and then its argument prototype would still apply. */
9945 /* The GNU C library defines this for functions which it implements
9946 to always fail with ENOSYS. Some functions are actually named
9947 something starting with __ and the normal name is an alias. */
9948 #if defined (__stub__doprnt) || defined (__stub____doprnt)
9956 if { (eval echo configure
:9957: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9958 eval "ac_cv_func__doprnt=yes"
9960 echo "configure: failed program was:" >&5
9961 cat conftest.
$ac_ext >&5
9963 eval "ac_cv_func__doprnt=no"
9968 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
9969 echo "$ac_t""yes" 1>&6
9970 cat >> confdefs.h
<<\EOF
9971 #define HAVE_DOPRNT 1
9975 echo "$ac_t""no" 1>&6
9981 for ac_func
in vsnprintf
9983 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9984 echo "configure:9985: checking for $ac_func" >&5
9985 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9986 echo $ac_n "(cached) $ac_c" 1>&6
9988 cat > conftest.
$ac_ext <<EOF
9989 #line 9990 "configure"
9990 #include "confdefs.h"
9991 /* System header to define __stub macros and hopefully few prototypes,
9992 which can conflict with char $ac_func(); below. */
9994 /* Override any gcc2 internal prototype to avoid an error. */
9995 /* We use char because int might match the return type of a gcc2
9996 builtin and then its argument prototype would still apply. */
10001 /* The GNU C library defines this for functions which it implements
10002 to always fail with ENOSYS. Some functions are actually named
10003 something starting with __ and the normal name is an alias. */
10004 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10012 if { (eval echo configure
:10013: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10014 eval "ac_cv_func_$ac_func=yes"
10016 echo "configure: failed program was:" >&5
10017 cat conftest.
$ac_ext >&5
10019 eval "ac_cv_func_$ac_func=no"
10024 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10025 echo "$ac_t""yes" 1>&6
10026 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10027 cat >> confdefs.h
<<EOF
10028 #define $ac_tr_func 1
10030 cat >> confdefs.h
<<\EOF
10031 #define HAVE_VSNPRINTF 1
10035 echo "$ac_t""no" 1>&6
10036 echo "configure: warning: unsafe function sprintf will be used instead of snprintf" 1>&2
10044 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10045 ac_cpp
='$CXXCPP $CPPFLAGS'
10046 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10047 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10048 cross_compiling
=$ac_cv_prog_cxx_cross
10051 echo $ac_n "checking for vsscanf""... $ac_c" 1>&6
10052 echo "configure:10053: checking for vsscanf" >&5
10053 if eval "test \"`echo '$''{'wx_cv_func_vsscanf'+set}'`\" = set"; then
10054 echo $ac_n "(cached) $ac_c" 1>&6
10057 if test "$cross_compiling" = yes; then
10058 wx_cv_func_vsscanf
=no
10061 cat > conftest.
$ac_ext <<EOF
10062 #line 10063 "configure"
10063 #include "confdefs.h"
10065 extern "C" void exit(int);
10069 #include <stdarg.h>
10071 int try_vsscanf(const char *format, ...)
10074 va_start(ap, format);
10076 vsscanf("17", format, ap);
10084 try_vsscanf("%d", &i);
10085 return i == 17 ? 0 : 1;
10089 if { (eval echo configure
:10090: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10092 cat >> confdefs.h
<<\EOF
10093 #define HAVE_VSSCANF 1
10096 wx_cv_func_vsscanf
=yes
10099 echo "configure: failed program was:" >&5
10100 cat conftest.
$ac_ext >&5
10102 wx_cv_func_vsscanf
=no
10110 echo "$ac_t""$wx_cv_func_vsscanf" 1>&6
10113 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10114 ac_cpp
='$CPP $CPPFLAGS'
10115 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10116 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10117 cross_compiling
=$ac_cv_prog_cc_cross
10120 if test "$TOOLKIT" != "MSW"; then
10122 for ac_func
in vfork
10124 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10125 echo "configure:10126: checking for $ac_func" >&5
10126 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10127 echo $ac_n "(cached) $ac_c" 1>&6
10129 cat > conftest.
$ac_ext <<EOF
10130 #line 10131 "configure"
10131 #include "confdefs.h"
10132 /* System header to define __stub macros and hopefully few prototypes,
10133 which can conflict with char $ac_func(); below. */
10134 #include <assert.h>
10135 /* Override any gcc2 internal prototype to avoid an error. */
10136 /* We use char because int might match the return type of a gcc2
10137 builtin and then its argument prototype would still apply. */
10142 /* The GNU C library defines this for functions which it implements
10143 to always fail with ENOSYS. Some functions are actually named
10144 something starting with __ and the normal name is an alias. */
10145 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10153 if { (eval echo configure
:10154: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10155 eval "ac_cv_func_$ac_func=yes"
10157 echo "configure: failed program was:" >&5
10158 cat conftest.
$ac_ext >&5
10160 eval "ac_cv_func_$ac_func=no"
10165 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10166 echo "$ac_t""yes" 1>&6
10167 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10168 cat >> confdefs.h
<<EOF
10169 #define $ac_tr_func 1
10173 echo "$ac_t""no" 1>&6
10178 for ac_func
in timegm
10180 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10181 echo "configure:10182: checking for $ac_func" >&5
10182 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10183 echo $ac_n "(cached) $ac_c" 1>&6
10185 cat > conftest.
$ac_ext <<EOF
10186 #line 10187 "configure"
10187 #include "confdefs.h"
10188 /* System header to define __stub macros and hopefully few prototypes,
10189 which can conflict with char $ac_func(); below. */
10190 #include <assert.h>
10191 /* Override any gcc2 internal prototype to avoid an error. */
10192 /* We use char because int might match the return type of a gcc2
10193 builtin and then its argument prototype would still apply. */
10198 /* The GNU C library defines this for functions which it implements
10199 to always fail with ENOSYS. Some functions are actually named
10200 something starting with __ and the normal name is an alias. */
10201 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10209 if { (eval echo configure
:10210: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10211 eval "ac_cv_func_$ac_func=yes"
10213 echo "configure: failed program was:" >&5
10214 cat conftest.
$ac_ext >&5
10216 eval "ac_cv_func_$ac_func=no"
10221 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10222 echo "$ac_t""yes" 1>&6
10223 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10224 cat >> confdefs.h
<<EOF
10225 #define $ac_tr_func 1
10229 echo "$ac_t""no" 1>&6
10234 HAVE_SOME_SLEEP_FUNC
=0
10235 if test "$USE_BEOS" = 1; then
10236 cat >> confdefs.h
<<\EOF
10237 #define HAVE_SLEEP 1
10240 HAVE_SOME_SLEEP_FUNC
=1
10243 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
10245 for ac_func
in nanosleep
10247 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10248 echo "configure:10249: checking for $ac_func" >&5
10249 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10250 echo $ac_n "(cached) $ac_c" 1>&6
10252 cat > conftest.
$ac_ext <<EOF
10253 #line 10254 "configure"
10254 #include "confdefs.h"
10255 /* System header to define __stub macros and hopefully few prototypes,
10256 which can conflict with char $ac_func(); below. */
10257 #include <assert.h>
10258 /* Override any gcc2 internal prototype to avoid an error. */
10259 /* We use char because int might match the return type of a gcc2
10260 builtin and then its argument prototype would still apply. */
10265 /* The GNU C library defines this for functions which it implements
10266 to always fail with ENOSYS. Some functions are actually named
10267 something starting with __ and the normal name is an alias. */
10268 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10276 if { (eval echo configure
:10277: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10278 eval "ac_cv_func_$ac_func=yes"
10280 echo "configure: failed program was:" >&5
10281 cat conftest.
$ac_ext >&5
10283 eval "ac_cv_func_$ac_func=no"
10288 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10289 echo "$ac_t""yes" 1>&6
10290 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10291 cat >> confdefs.h
<<EOF
10292 #define $ac_tr_func 1
10294 cat >> confdefs.h
<<\EOF
10295 #define HAVE_NANOSLEEP 1
10299 echo "$ac_t""no" 1>&6
10300 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
10301 echo "configure:10302: checking for nanosleep in -lposix4" >&5
10302 ac_lib_var
=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
10303 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10304 echo $ac_n "(cached) $ac_c" 1>&6
10306 ac_save_LIBS
="$LIBS"
10307 LIBS
="-lposix4 $LIBS"
10308 cat > conftest.
$ac_ext <<EOF
10309 #line 10310 "configure"
10310 #include "confdefs.h"
10311 /* Override any gcc2 internal prototype to avoid an error. */
10312 /* We use char because int might match the return type of a gcc2
10313 builtin and then its argument prototype would still apply. */
10320 if { (eval echo configure
:10321: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10322 eval "ac_cv_lib_$ac_lib_var=yes"
10324 echo "configure: failed program was:" >&5
10325 cat conftest.
$ac_ext >&5
10327 eval "ac_cv_lib_$ac_lib_var=no"
10330 LIBS
="$ac_save_LIBS"
10333 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10334 echo "$ac_t""yes" 1>&6
10336 cat >> confdefs.h
<<\EOF
10337 #define HAVE_NANOSLEEP 1
10340 POSIX4_LINK
="-lposix4"
10343 echo "$ac_t""no" 1>&6
10345 for ac_func
in usleep
10347 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10348 echo "configure:10349: checking for $ac_func" >&5
10349 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10350 echo $ac_n "(cached) $ac_c" 1>&6
10352 cat > conftest.
$ac_ext <<EOF
10353 #line 10354 "configure"
10354 #include "confdefs.h"
10355 /* System header to define __stub macros and hopefully few prototypes,
10356 which can conflict with char $ac_func(); below. */
10357 #include <assert.h>
10358 /* Override any gcc2 internal prototype to avoid an error. */
10359 /* We use char because int might match the return type of a gcc2
10360 builtin and then its argument prototype would still apply. */
10365 /* The GNU C library defines this for functions which it implements
10366 to always fail with ENOSYS. Some functions are actually named
10367 something starting with __ and the normal name is an alias. */
10368 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10376 if { (eval echo configure
:10377: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10378 eval "ac_cv_func_$ac_func=yes"
10380 echo "configure: failed program was:" >&5
10381 cat conftest.
$ac_ext >&5
10383 eval "ac_cv_func_$ac_func=no"
10388 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10389 echo "$ac_t""yes" 1>&6
10390 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10391 cat >> confdefs.h
<<EOF
10392 #define $ac_tr_func 1
10396 echo "$ac_t""no" 1>&6
10400 echo "configure: warning: wxSleep() function will not work" 1>&2
10412 for ac_func
in uname gethostname
10414 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10415 echo "configure:10416: checking for $ac_func" >&5
10416 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10417 echo $ac_n "(cached) $ac_c" 1>&6
10419 cat > conftest.
$ac_ext <<EOF
10420 #line 10421 "configure"
10421 #include "confdefs.h"
10422 /* System header to define __stub macros and hopefully few prototypes,
10423 which can conflict with char $ac_func(); below. */
10424 #include <assert.h>
10425 /* Override any gcc2 internal prototype to avoid an error. */
10426 /* We use char because int might match the return type of a gcc2
10427 builtin and then its argument prototype would still apply. */
10432 /* The GNU C library defines this for functions which it implements
10433 to always fail with ENOSYS. Some functions are actually named
10434 something starting with __ and the normal name is an alias. */
10435 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10443 if { (eval echo configure
:10444: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10445 eval "ac_cv_func_$ac_func=yes"
10447 echo "configure: failed program was:" >&5
10448 cat conftest.
$ac_ext >&5
10450 eval "ac_cv_func_$ac_func=no"
10455 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10456 echo "$ac_t""yes" 1>&6
10457 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10458 cat >> confdefs.h
<<EOF
10459 #define $ac_tr_func 1
10463 echo "$ac_t""no" 1>&6
10468 for ac_func
in strtok_r
10470 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10471 echo "configure:10472: checking for $ac_func" >&5
10472 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10473 echo $ac_n "(cached) $ac_c" 1>&6
10475 cat > conftest.
$ac_ext <<EOF
10476 #line 10477 "configure"
10477 #include "confdefs.h"
10478 /* System header to define __stub macros and hopefully few prototypes,
10479 which can conflict with char $ac_func(); below. */
10480 #include <assert.h>
10481 /* Override any gcc2 internal prototype to avoid an error. */
10482 /* We use char because int might match the return type of a gcc2
10483 builtin and then its argument prototype would still apply. */
10488 /* The GNU C library defines this for functions which it implements
10489 to always fail with ENOSYS. Some functions are actually named
10490 something starting with __ and the normal name is an alias. */
10491 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10499 if { (eval echo configure
:10500: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10501 eval "ac_cv_func_$ac_func=yes"
10503 echo "configure: failed program was:" >&5
10504 cat conftest.
$ac_ext >&5
10506 eval "ac_cv_func_$ac_func=no"
10511 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10512 echo "$ac_t""yes" 1>&6
10513 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10514 cat >> confdefs.h
<<EOF
10515 #define $ac_tr_func 1
10519 echo "$ac_t""no" 1>&6
10525 for ac_func
in inet_addr
10527 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10528 echo "configure:10529: checking for $ac_func" >&5
10529 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10530 echo $ac_n "(cached) $ac_c" 1>&6
10532 cat > conftest.
$ac_ext <<EOF
10533 #line 10534 "configure"
10534 #include "confdefs.h"
10535 /* System header to define __stub macros and hopefully few prototypes,
10536 which can conflict with char $ac_func(); below. */
10537 #include <assert.h>
10538 /* Override any gcc2 internal prototype to avoid an error. */
10539 /* We use char because int might match the return type of a gcc2
10540 builtin and then its argument prototype would still apply. */
10545 /* The GNU C library defines this for functions which it implements
10546 to always fail with ENOSYS. Some functions are actually named
10547 something starting with __ and the normal name is an alias. */
10548 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10556 if { (eval echo configure
:10557: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10558 eval "ac_cv_func_$ac_func=yes"
10560 echo "configure: failed program was:" >&5
10561 cat conftest.
$ac_ext >&5
10563 eval "ac_cv_func_$ac_func=no"
10568 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10569 echo "$ac_t""yes" 1>&6
10570 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10571 cat >> confdefs.h
<<EOF
10572 #define $ac_tr_func 1
10574 cat >> confdefs.h
<<\EOF
10575 #define HAVE_INET_ADDR 1
10579 echo "$ac_t""no" 1>&6
10580 echo $ac_n "checking for inet_addr in -lnsl""... $ac_c" 1>&6
10581 echo "configure:10582: checking for inet_addr in -lnsl" >&5
10582 ac_lib_var
=`echo nsl'_'inet_addr | sed 'y%./+-%__p_%'`
10583 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10584 echo $ac_n "(cached) $ac_c" 1>&6
10586 ac_save_LIBS
="$LIBS"
10588 cat > conftest.
$ac_ext <<EOF
10589 #line 10590 "configure"
10590 #include "confdefs.h"
10591 /* Override any gcc2 internal prototype to avoid an error. */
10592 /* We use char because int might match the return type of a gcc2
10593 builtin and then its argument prototype would still apply. */
10600 if { (eval echo configure
:10601: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10602 eval "ac_cv_lib_$ac_lib_var=yes"
10604 echo "configure: failed program was:" >&5
10605 cat conftest.
$ac_ext >&5
10607 eval "ac_cv_lib_$ac_lib_var=no"
10610 LIBS
="$ac_save_LIBS"
10613 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10614 echo "$ac_t""yes" 1>&6
10617 echo "$ac_t""no" 1>&6
10618 echo $ac_n "checking for inet_addr in -lresolv""... $ac_c" 1>&6
10619 echo "configure:10620: checking for inet_addr in -lresolv" >&5
10620 ac_lib_var
=`echo resolv'_'inet_addr | sed 'y%./+-%__p_%'`
10621 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10622 echo $ac_n "(cached) $ac_c" 1>&6
10624 ac_save_LIBS
="$LIBS"
10625 LIBS
="-lresolv $LIBS"
10626 cat > conftest.
$ac_ext <<EOF
10627 #line 10628 "configure"
10628 #include "confdefs.h"
10629 /* Override any gcc2 internal prototype to avoid an error. */
10630 /* We use char because int might match the return type of a gcc2
10631 builtin and then its argument prototype would still apply. */
10638 if { (eval echo configure
:10639: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10640 eval "ac_cv_lib_$ac_lib_var=yes"
10642 echo "configure: failed program was:" >&5
10643 cat conftest.
$ac_ext >&5
10645 eval "ac_cv_lib_$ac_lib_var=no"
10648 LIBS
="$ac_save_LIBS"
10651 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10652 echo "$ac_t""yes" 1>&6
10656 echo "$ac_t""no" 1>&6
10668 for ac_func
in inet_aton
10670 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10671 echo "configure:10672: checking for $ac_func" >&5
10672 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10673 echo $ac_n "(cached) $ac_c" 1>&6
10675 cat > conftest.
$ac_ext <<EOF
10676 #line 10677 "configure"
10677 #include "confdefs.h"
10678 /* System header to define __stub macros and hopefully few prototypes,
10679 which can conflict with char $ac_func(); below. */
10680 #include <assert.h>
10681 /* Override any gcc2 internal prototype to avoid an error. */
10682 /* We use char because int might match the return type of a gcc2
10683 builtin and then its argument prototype would still apply. */
10688 /* The GNU C library defines this for functions which it implements
10689 to always fail with ENOSYS. Some functions are actually named
10690 something starting with __ and the normal name is an alias. */
10691 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10699 if { (eval echo configure
:10700: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10701 eval "ac_cv_func_$ac_func=yes"
10703 echo "configure: failed program was:" >&5
10704 cat conftest.
$ac_ext >&5
10706 eval "ac_cv_func_$ac_func=no"
10711 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10712 echo "$ac_t""yes" 1>&6
10713 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10714 cat >> confdefs.h
<<EOF
10715 #define $ac_tr_func 1
10717 cat >> confdefs.h
<<\EOF
10718 #define HAVE_INET_ATON 1
10722 echo "$ac_t""no" 1>&6
10723 echo $ac_n "checking for inet_aton in -l$INET_LINK""... $ac_c" 1>&6
10724 echo "configure:10725: checking for inet_aton in -l$INET_LINK" >&5
10725 ac_lib_var
=`echo $INET_LINK'_'inet_aton | sed 'y%./+-%__p_%'`
10726 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10727 echo $ac_n "(cached) $ac_c" 1>&6
10729 ac_save_LIBS
="$LIBS"
10730 LIBS
="-l$INET_LINK $LIBS"
10731 cat > conftest.
$ac_ext <<EOF
10732 #line 10733 "configure"
10733 #include "confdefs.h"
10734 /* Override any gcc2 internal prototype to avoid an error. */
10735 /* We use char because int might match the return type of a gcc2
10736 builtin and then its argument prototype would still apply. */
10743 if { (eval echo configure
:10744: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10745 eval "ac_cv_lib_$ac_lib_var=yes"
10747 echo "configure: failed program was:" >&5
10748 cat conftest.
$ac_ext >&5
10750 eval "ac_cv_lib_$ac_lib_var=no"
10753 LIBS
="$ac_save_LIBS"
10756 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10757 echo "$ac_t""yes" 1>&6
10758 cat >> confdefs.h
<<\EOF
10759 #define HAVE_INET_ATON 1
10763 echo "$ac_t""no" 1>&6
10771 if test "x$INET_LINK" != "x"; then
10772 cat >> confdefs.h
<<\EOF
10773 #define HAVE_INET_ADDR 1
10776 INET_LINK
="-l$INET_LINK"
10782 cat > confcache
<<\EOF
10783 # This file is a shell script that caches the results of configure
10784 # tests run on this system so they can be shared between configure
10785 # scripts and configure runs. It is not useful on other systems.
10786 # If it contains results you don't want to keep, you may remove or edit it.
10788 # By default, configure uses ./config.cache as the cache file,
10789 # creating it if it does not exist already. You can give configure
10790 # the --cache-file=FILE option to use a different cache file; that is
10791 # what configure does when it calls configure scripts in
10792 # subdirectories, so they share the cache.
10793 # Giving --cache-file=/dev/null disables caching, for debugging configure.
10794 # config.status only pays attention to the cache file if you give it the
10795 # --recheck option to rerun configure.
10798 # The following way of writing the cache mishandles newlines in values,
10799 # but we know of no workaround that is simple, portable, and efficient.
10800 # So, don't put newlines in cache variables' values.
10801 # Ultrix sh set writes to stderr and can't be redirected directly,
10802 # and sets the high bit in the cache file unless we assign to the vars.
10804 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10806 # `set' does not quote correctly, so add quotes (double-quote substitution
10807 # turns \\\\ into \\, and sed turns \\ into \).
10809 -e "s/'/'\\\\''/g" \
10810 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
10813 # `set' quotes correctly as required by POSIX, so do not add quotes.
10814 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
10817 if cmp -s $cache_file confcache
; then
10820 if test -w $cache_file; then
10821 echo "updating cache $cache_file"
10822 cat confcache
> $cache_file
10824 echo "not updating unwritable cache $cache_file"
10831 if test "$TOOLKIT" != "MSW"; then
10837 if test "$wxUSE_THREADS" = "yes" ; then
10838 if test "$wxUSE_WINE" = 1 ; then
10839 echo "configure: warning: Threads are not supported under WINE" 1>&2
10841 elif test "$USE_BEOS" = 1; then
10842 echo "configure: warning: BeOS threads are not yet supported" 1>&2
10847 if test "$wxUSE_THREADS" = "yes" ; then
10849 echo $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6
10850 echo "configure:10851: checking for pthread_create in -lpthread" >&5
10851 ac_lib_var
=`echo pthread'_'pthread_create | sed 'y%./+-%__p_%'`
10852 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10853 echo $ac_n "(cached) $ac_c" 1>&6
10855 ac_save_LIBS
="$LIBS"
10856 LIBS
="-lpthread $LIBS"
10857 cat > conftest.
$ac_ext <<EOF
10858 #line 10859 "configure"
10859 #include "confdefs.h"
10860 /* Override any gcc2 internal prototype to avoid an error. */
10861 /* We use char because int might match the return type of a gcc2
10862 builtin and then its argument prototype would still apply. */
10863 char pthread_create();
10869 if { (eval echo configure
:10870: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10871 eval "ac_cv_lib_$ac_lib_var=yes"
10873 echo "configure: failed program was:" >&5
10874 cat conftest.
$ac_ext >&5
10876 eval "ac_cv_lib_$ac_lib_var=no"
10879 LIBS
="$ac_save_LIBS"
10882 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10883 echo "$ac_t""yes" 1>&6
10885 THREADS_OBJ
="threadpsx.lo"
10886 THREADS_LINK
="pthread"
10889 echo "$ac_t""no" 1>&6
10891 echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
10892 echo "configure:10893: checking for pthread_create in -lc_r" >&5
10893 ac_lib_var
=`echo c_r'_'pthread_create | sed 'y%./+-%__p_%'`
10894 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10895 echo $ac_n "(cached) $ac_c" 1>&6
10897 ac_save_LIBS
="$LIBS"
10899 cat > conftest.
$ac_ext <<EOF
10900 #line 10901 "configure"
10901 #include "confdefs.h"
10902 /* Override any gcc2 internal prototype to avoid an error. */
10903 /* We use char because int might match the return type of a gcc2
10904 builtin and then its argument prototype would still apply. */
10905 char pthread_create();
10911 if { (eval echo configure
:10912: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10913 eval "ac_cv_lib_$ac_lib_var=yes"
10915 echo "configure: failed program was:" >&5
10916 cat conftest.
$ac_ext >&5
10918 eval "ac_cv_lib_$ac_lib_var=no"
10921 LIBS
="$ac_save_LIBS"
10924 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10925 echo "$ac_t""yes" 1>&6
10927 THREADS_OBJ
="threadpsx.lo"
10931 echo "$ac_t""no" 1>&6
10933 ac_safe
=`echo "sys/prctl.h" | sed 'y%./+-%__p_%'`
10934 echo $ac_n "checking for sys/prctl.h""... $ac_c" 1>&6
10935 echo "configure:10936: checking for sys/prctl.h" >&5
10936 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10937 echo $ac_n "(cached) $ac_c" 1>&6
10939 cat > conftest.
$ac_ext <<EOF
10940 #line 10941 "configure"
10941 #include "confdefs.h"
10942 #include <sys/prctl.h>
10944 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10945 { (eval echo configure
:10946: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10946 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10947 if test -z "$ac_err"; then
10949 eval "ac_cv_header_$ac_safe=yes"
10952 echo "configure: failed program was:" >&5
10953 cat conftest.
$ac_ext >&5
10955 eval "ac_cv_header_$ac_safe=no"
10959 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10960 echo "$ac_t""yes" 1>&6
10962 THREADS_OBJ
="threadsgi.lo"
10965 echo "$ac_t""no" 1>&6
10975 if test -z "$THREADS_OBJ" ; then
10977 echo "configure: warning: No thread support on this system" 1>&2
10981 if test "$wxUSE_THREADS" = "yes" ; then
10982 for ac_func
in thr_setconcurrency
10984 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10985 echo "configure:10986: checking for $ac_func" >&5
10986 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10987 echo $ac_n "(cached) $ac_c" 1>&6
10989 cat > conftest.
$ac_ext <<EOF
10990 #line 10991 "configure"
10991 #include "confdefs.h"
10992 /* System header to define __stub macros and hopefully few prototypes,
10993 which can conflict with char $ac_func(); below. */
10994 #include <assert.h>
10995 /* Override any gcc2 internal prototype to avoid an error. */
10996 /* We use char because int might match the return type of a gcc2
10997 builtin and then its argument prototype would still apply. */
11002 /* The GNU C library defines this for functions which it implements
11003 to always fail with ENOSYS. Some functions are actually named
11004 something starting with __ and the normal name is an alias. */
11005 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11013 if { (eval echo configure
:11014: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11015 eval "ac_cv_func_$ac_func=yes"
11017 echo "configure: failed program was:" >&5
11018 cat conftest.
$ac_ext >&5
11020 eval "ac_cv_func_$ac_func=no"
11025 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11026 echo "$ac_t""yes" 1>&6
11027 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11028 cat >> confdefs.h
<<EOF
11029 #define $ac_tr_func 1
11033 echo "$ac_t""no" 1>&6
11039 for ac_hdr
in sched.h
11041 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11042 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11043 echo "configure:11044: checking for $ac_hdr" >&5
11044 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11045 echo $ac_n "(cached) $ac_c" 1>&6
11047 cat > conftest.
$ac_ext <<EOF
11048 #line 11049 "configure"
11049 #include "confdefs.h"
11052 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11053 { (eval echo configure
:11054: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11054 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11055 if test -z "$ac_err"; then
11057 eval "ac_cv_header_$ac_safe=yes"
11060 echo "configure: failed program was:" >&5
11061 cat conftest.
$ac_ext >&5
11063 eval "ac_cv_header_$ac_safe=no"
11067 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11068 echo "$ac_t""yes" 1>&6
11069 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11070 cat >> confdefs.h
<<EOF
11071 #define $ac_tr_hdr 1
11075 echo "$ac_t""no" 1>&6
11080 echo $ac_n "checking for sched_yield in -l$THREADS_LINK""... $ac_c" 1>&6
11081 echo "configure:11082: checking for sched_yield in -l$THREADS_LINK" >&5
11082 ac_lib_var
=`echo $THREADS_LINK'_'sched_yield | sed 'y%./+-%__p_%'`
11083 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11084 echo $ac_n "(cached) $ac_c" 1>&6
11086 ac_save_LIBS
="$LIBS"
11087 LIBS
="-l$THREADS_LINK $LIBS"
11088 cat > conftest.
$ac_ext <<EOF
11089 #line 11090 "configure"
11090 #include "confdefs.h"
11091 /* Override any gcc2 internal prototype to avoid an error. */
11092 /* We use char because int might match the return type of a gcc2
11093 builtin and then its argument prototype would still apply. */
11094 char sched_yield();
11100 if { (eval echo configure
:11101: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11102 eval "ac_cv_lib_$ac_lib_var=yes"
11104 echo "configure: failed program was:" >&5
11105 cat conftest.
$ac_ext >&5
11107 eval "ac_cv_lib_$ac_lib_var=no"
11110 LIBS
="$ac_save_LIBS"
11113 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11114 echo "$ac_t""yes" 1>&6
11115 cat >> confdefs.h
<<\EOF
11116 #define HAVE_SCHED_YIELD 1
11120 echo "$ac_t""no" 1>&6
11121 echo $ac_n "checking for sched_yield in -l"posix4
"""... $ac_c" 1>&6
11122 echo "configure:11123: checking for sched_yield in -l"posix4
"" >&5
11123 ac_lib_var
=`echo "posix4"'_'sched_yield | sed 'y%./+-%__p_%'`
11124 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11125 echo $ac_n "(cached) $ac_c" 1>&6
11127 ac_save_LIBS
="$LIBS"
11128 LIBS
="-l"posix4
" $LIBS"
11129 cat > conftest.
$ac_ext <<EOF
11130 #line 11131 "configure"
11131 #include "confdefs.h"
11132 /* Override any gcc2 internal prototype to avoid an error. */
11133 /* We use char because int might match the return type of a gcc2
11134 builtin and then its argument prototype would still apply. */
11135 char sched_yield();
11141 if { (eval echo configure
:11142: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11143 eval "ac_cv_lib_$ac_lib_var=yes"
11145 echo "configure: failed program was:" >&5
11146 cat conftest.
$ac_ext >&5
11148 eval "ac_cv_lib_$ac_lib_var=no"
11151 LIBS
="$ac_save_LIBS"
11154 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11155 echo "$ac_t""yes" 1>&6
11156 cat >> confdefs.h
<<\EOF
11157 #define HAVE_SCHED_YIELD 1
11159 POSIX4_LINK
="-lposix4"
11161 echo "$ac_t""no" 1>&6
11162 echo "configure: warning: wxThread::Yield will not work properly" 1>&2
11170 echo $ac_n "checking for pthread_attr_getschedpolicy in -l$THREADS_LINK""... $ac_c" 1>&6
11171 echo "configure:11172: checking for pthread_attr_getschedpolicy in -l$THREADS_LINK" >&5
11172 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
11173 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11174 echo $ac_n "(cached) $ac_c" 1>&6
11176 ac_save_LIBS
="$LIBS"
11177 LIBS
="-l$THREADS_LINK $LIBS"
11178 cat > conftest.
$ac_ext <<EOF
11179 #line 11180 "configure"
11180 #include "confdefs.h"
11181 /* Override any gcc2 internal prototype to avoid an error. */
11182 /* We use char because int might match the return type of a gcc2
11183 builtin and then its argument prototype would still apply. */
11184 char pthread_attr_getschedpolicy();
11187 pthread_attr_getschedpolicy()
11190 if { (eval echo configure
:11191: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11192 eval "ac_cv_lib_$ac_lib_var=yes"
11194 echo "configure: failed program was:" >&5
11195 cat conftest.
$ac_ext >&5
11197 eval "ac_cv_lib_$ac_lib_var=no"
11200 LIBS
="$ac_save_LIBS"
11203 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11204 echo "$ac_t""yes" 1>&6
11205 cat >> confdefs.h
<<\EOF
11206 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
11210 echo "$ac_t""no" 1>&6
11211 echo $ac_n "checking for pthread_attr_getschedpolicy in -l"posix4
"""... $ac_c" 1>&6
11212 echo "configure:11213: checking for pthread_attr_getschedpolicy in -l"posix4
"" >&5
11213 ac_lib_var
=`echo "posix4"'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
11214 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11215 echo $ac_n "(cached) $ac_c" 1>&6
11217 ac_save_LIBS
="$LIBS"
11218 LIBS
="-l"posix4
" $LIBS"
11219 cat > conftest.
$ac_ext <<EOF
11220 #line 11221 "configure"
11221 #include "confdefs.h"
11222 /* Override any gcc2 internal prototype to avoid an error. */
11223 /* We use char because int might match the return type of a gcc2
11224 builtin and then its argument prototype would still apply. */
11225 char pthread_attr_getschedpolicy();
11228 pthread_attr_getschedpolicy()
11231 if { (eval echo configure
:11232: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11233 eval "ac_cv_lib_$ac_lib_var=yes"
11235 echo "configure: failed program was:" >&5
11236 cat conftest.
$ac_ext >&5
11238 eval "ac_cv_lib_$ac_lib_var=no"
11241 LIBS
="$ac_save_LIBS"
11244 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11245 echo "$ac_t""yes" 1>&6
11246 cat >> confdefs.h
<<\EOF
11247 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
11249 POSIX4_LINK
="-lposix4"
11251 echo "$ac_t""no" 1>&6
11252 echo "configure: warning: Setting thread priority will not work" 1>&2
11260 echo $ac_n "checking for pthread_cancel in -l$THREADS_LINK""... $ac_c" 1>&6
11261 echo "configure:11262: checking for pthread_cancel in -l$THREADS_LINK" >&5
11262 ac_lib_var
=`echo $THREADS_LINK'_'pthread_cancel | sed 'y%./+-%__p_%'`
11263 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11264 echo $ac_n "(cached) $ac_c" 1>&6
11266 ac_save_LIBS
="$LIBS"
11267 LIBS
="-l$THREADS_LINK $LIBS"
11268 cat > conftest.
$ac_ext <<EOF
11269 #line 11270 "configure"
11270 #include "confdefs.h"
11271 /* Override any gcc2 internal prototype to avoid an error. */
11272 /* We use char because int might match the return type of a gcc2
11273 builtin and then its argument prototype would still apply. */
11274 char pthread_cancel();
11280 if { (eval echo configure
:11281: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11282 eval "ac_cv_lib_$ac_lib_var=yes"
11284 echo "configure: failed program was:" >&5
11285 cat conftest.
$ac_ext >&5
11287 eval "ac_cv_lib_$ac_lib_var=no"
11290 LIBS
="$ac_save_LIBS"
11293 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11294 echo "$ac_t""yes" 1>&6
11295 cat >> confdefs.h
<<\EOF
11296 #define HAVE_PTHREAD_CANCEL 1
11300 echo "$ac_t""no" 1>&6
11301 echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
11305 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
11306 echo "configure:11307: checking for pthread_cleanup_push/pop" >&5
11307 if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
11308 echo $ac_n "(cached) $ac_c" 1>&6
11311 cat > conftest.
$ac_ext <<EOF
11312 #line 11313 "configure"
11313 #include "confdefs.h"
11314 #include <pthread.h>
11317 pthread_cleanup_push(NULL, NULL);
11318 pthread_cleanup_pop(0);
11322 if { (eval echo configure
:11323: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11325 wx_cv_func_pthread_cleanup_push
=yes
11326 cat >> confdefs.h
<<\EOF
11327 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
11332 echo "configure: failed program was:" >&5
11333 cat conftest.
$ac_ext >&5
11336 wx_cv_func_pthread_cleanup_push
=no
11343 echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
11345 THREADS_LINK
="-l$THREADS_LINK"
11350 if test "$wxUSE_THREADS" = "yes"; then
11351 cat >> confdefs.h
<<\EOF
11352 #define wxUSE_THREADS 1
11356 CFLAGS
="${CFLAGS} -D_REENTRANT"
11357 CXXFLAGS
="${CXXFLAGS} -D_REENTRANT"
11359 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
11361 if test "$ac_cv_func_strtok_r" = "yes"; then
11362 echo $ac_n "checking if -D_REENTRANT is needed""... $ac_c" 1>&6
11363 echo "configure:11364: checking if -D_REENTRANT is needed" >&5
11364 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
11365 CFLAGS
="${CFLAGS} -D_REENTRANT"
11366 CXXFLAGS
="${CXXFLAGS} -D_REENTRANT"
11367 echo "$ac_t""yes" 1>&6
11369 echo "$ac_t""no" 1>&6
11374 if test "$WXGTK13" = 1 ; then
11375 cat >> confdefs.h
<<EOF
11376 #define __WXGTK13__ $WXGTK13
11382 if test "$WXGTK12" = 1 ; then
11383 cat >> confdefs.h
<<EOF
11384 #define __WXGTK12__ $WXGTK12
11389 if test "$WXWINE" = 1 ; then
11390 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WXWINE__"
11393 if test "$wxUSE_CYGWIN" = 1 ; then
11394 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WIN95__"
11399 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
11404 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
11405 wxUSE_DEBUG_INFO
=yes
11409 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
11410 cat >> confdefs.h
<<\EOF
11414 WXDEBUG_DEFINE
="-D__WXDEBUG__"
11416 if test "$wxUSE_GTK" = 1 ; then
11417 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
11421 if test "$wxUSE_MEM_TRACING" = "yes" ; then
11422 cat >> confdefs.h
<<\EOF
11423 #define wxUSE_MEMORY_TRACING 1
11426 cat >> confdefs.h
<<\EOF
11427 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
11430 cat >> confdefs.h
<<\EOF
11431 #define wxUSE_DEBUG_NEW_ALWAYS 1
11434 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
11437 if test "$wxUSE_DMALLOC" = "yes" ; then
11438 DMALLOC_LINK
="-ldmalloc"
11442 if test "$wxUSE_PROFILE" = "yes" ; then
11448 if test "$GCC" = yes ; then
11449 if test "$wxUSE_NO_RTTI" = "yes" ; then
11450 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fno-rtti"
11452 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
11453 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fno-exceptions"
11455 if test "$wxUSE_PERMISSIVE" = "yes" ; then
11456 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
11458 if test "$wxUSE_NO_DEPS" = "no" ; then
11459 DEP_INFO_FLAGS
="-MMD"
11464 CXXFLAGS
=`echo "${CXXFLAGS}" | sed "s/\-O.//g" `
11465 CFLAGS
=`echo "${CFLAGS}" | sed "s/\-O.//g" `
11466 if test "$wxUSE_OPTIMISE" = "no" ; then
11469 if test "$GCC" = yes ; then
11472 i586
-*-*|i686
-*-* )
11473 OPTIMISE
="${OPTIMISE} "
11483 if test "$wxUSE_ZLIB" = "yes" -o "$wxUSE_ZLIB" = "sys" ; then
11484 cat >> confdefs.h
<<\EOF
11485 #define wxUSE_ZLIB 1
11488 if test "$wxUSE_ZLIB" = "yes" ; then
11489 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
11492 ac_safe
=`echo "zlib.h" | sed 'y%./+-%__p_%'`
11493 echo $ac_n "checking for zlib.h""... $ac_c" 1>&6
11494 echo "configure:11495: checking for zlib.h" >&5
11495 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11496 echo $ac_n "(cached) $ac_c" 1>&6
11498 cat > conftest.
$ac_ext <<EOF
11499 #line 11500 "configure"
11500 #include "confdefs.h"
11503 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11504 { (eval echo configure
:11505: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11505 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11506 if test -z "$ac_err"; then
11508 eval "ac_cv_header_$ac_safe=yes"
11511 echo "configure: failed program was:" >&5
11512 cat conftest.
$ac_ext >&5
11514 eval "ac_cv_header_$ac_safe=no"
11518 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11519 echo "$ac_t""yes" 1>&6
11520 echo $ac_n "checking for deflate in -lz""... $ac_c" 1>&6
11521 echo "configure:11522: checking for deflate in -lz" >&5
11522 ac_lib_var
=`echo z'_'deflate | sed 'y%./+-%__p_%'`
11523 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11524 echo $ac_n "(cached) $ac_c" 1>&6
11526 ac_save_LIBS
="$LIBS"
11528 cat > conftest.
$ac_ext <<EOF
11529 #line 11530 "configure"
11530 #include "confdefs.h"
11531 /* Override any gcc2 internal prototype to avoid an error. */
11532 /* We use char because int might match the return type of a gcc2
11533 builtin and then its argument prototype would still apply. */
11540 if { (eval echo configure
:11541: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11542 eval "ac_cv_lib_$ac_lib_var=yes"
11544 echo "configure: failed program was:" >&5
11545 cat conftest.
$ac_ext >&5
11547 eval "ac_cv_lib_$ac_lib_var=no"
11550 LIBS
="$ac_save_LIBS"
11553 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11554 echo "$ac_t""yes" 1>&6
11557 echo "$ac_t""no" 1>&6
11561 echo "$ac_t""no" 1>&6
11565 if test "x$ZLIB_LINK" = "x" ; then
11566 { echo "configure: error: system zlib compression library not found! Use --with-zlib=yes to use built-in zlib" 1>&2; exit 1; }
11572 if test "$wxUSE_LIBPNG" = "yes" ; then
11573 cat >> confdefs.h
<<\EOF
11574 #define wxUSE_LIBPNG 1
11577 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
11578 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
11582 if test "$wxUSE_LIBJPEG" = "yes" ; then
11583 cat >> confdefs.h
<<\EOF
11584 #define wxUSE_LIBJPEG 1
11587 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
11591 if test "$wxUSE_LIBTIFF" = "yes" ; then
11592 cat >> confdefs.h
<<\EOF
11593 #define wxUSE_LIBTIFF 1
11596 TIFF_INCLUDE
="-I\${top_srcdir}/src/tiff"
11599 if test "$wxUSE_OPENGL" = "yes"; then
11600 ac_safe
=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
11601 echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
11602 echo "configure:11603: checking for GL/gl.h" >&5
11603 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11604 echo $ac_n "(cached) $ac_c" 1>&6
11606 cat > conftest.
$ac_ext <<EOF
11607 #line 11608 "configure"
11608 #include "confdefs.h"
11611 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11612 { (eval echo configure
:11613: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11613 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11614 if test -z "$ac_err"; then
11616 eval "ac_cv_header_$ac_safe=yes"
11619 echo "configure: failed program was:" >&5
11620 cat conftest.
$ac_ext >&5
11622 eval "ac_cv_header_$ac_safe=no"
11626 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11627 echo "$ac_t""yes" 1>&6
11629 echo $ac_n "checking for glInitNames in -lGL""... $ac_c" 1>&6
11630 echo "configure:11631: checking for glInitNames in -lGL" >&5
11631 ac_lib_var
=`echo GL'_'glInitNames | sed 'y%./+-%__p_%'`
11632 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11633 echo $ac_n "(cached) $ac_c" 1>&6
11635 ac_save_LIBS
="$LIBS"
11636 LIBS
="-lGL wxUSE_OPENGL=0 $LIBS"
11637 cat > conftest.
$ac_ext <<EOF
11638 #line 11639 "configure"
11639 #include "confdefs.h"
11640 /* Override any gcc2 internal prototype to avoid an error. */
11641 /* We use char because int might match the return type of a gcc2
11642 builtin and then its argument prototype would still apply. */
11643 char glInitNames();
11649 if { (eval echo configure
:11650: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11651 eval "ac_cv_lib_$ac_lib_var=yes"
11653 echo "configure: failed program was:" >&5
11654 cat conftest.
$ac_ext >&5
11656 eval "ac_cv_lib_$ac_lib_var=no"
11659 LIBS
="$ac_save_LIBS"
11662 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11663 echo "$ac_t""yes" 1>&6
11666 cat >> confdefs.h
<<\EOF
11667 #define wxUSE_OPENGL 1
11670 UTILS_SUBDIRS
="$UTILS_SUBDIRS glcanvas/src"
11673 echo "$ac_t""no" 1>&6
11675 echo $ac_n "checking for glInitNames in -lMesaGL""... $ac_c" 1>&6
11676 echo "configure:11677: checking for glInitNames in -lMesaGL" >&5
11677 ac_lib_var
=`echo MesaGL'_'glInitNames | sed 'y%./+-%__p_%'`
11678 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11679 echo $ac_n "(cached) $ac_c" 1>&6
11681 ac_save_LIBS
="$LIBS"
11682 LIBS
="-lMesaGL $LIBS"
11683 cat > conftest.
$ac_ext <<EOF
11684 #line 11685 "configure"
11685 #include "confdefs.h"
11686 /* Override any gcc2 internal prototype to avoid an error. */
11687 /* We use char because int might match the return type of a gcc2
11688 builtin and then its argument prototype would still apply. */
11689 char glInitNames();
11695 if { (eval echo configure
:11696: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11697 eval "ac_cv_lib_$ac_lib_var=yes"
11699 echo "configure: failed program was:" >&5
11700 cat conftest.
$ac_ext >&5
11702 eval "ac_cv_lib_$ac_lib_var=no"
11705 LIBS
="$ac_save_LIBS"
11708 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11709 echo "$ac_t""yes" 1>&6
11711 OPENGL_LINK
="-lMesaGL"
11712 cat >> confdefs.h
<<\EOF
11713 #define wxUSE_OPENGL 1
11716 UTILS_SUBDIRS
="$UTILS_SUBDIRS glcanvas/src"
11719 echo "$ac_t""no" 1>&6
11728 echo "$ac_t""no" 1>&6
11735 if test "$wxUSE_GUI" = "yes"; then
11736 cat >> confdefs.h
<<\EOF
11737 #define wxUSE_GUI 1
11742 cat >> confdefs.h
<<\EOF
11743 #define wxUSE_NOGUI 1
11749 if test "$wxUSE_UNIX" = "yes"; then
11750 cat >> confdefs.h
<<\EOF
11751 #define wxUSE_UNIX 1
11757 if test "$wxUSE_APPLE_IEEE" = "yes"; then
11758 cat >> confdefs.h
<<\EOF
11759 #define wxUSE_APPLE_IEEE 1
11764 if test "$wxUSE_WAVE" = "yes"; then
11765 cat >> confdefs.h
<<\EOF
11766 #define wxUSE_WAVE 1
11771 if test "$wxUSE_FILE" = "yes"; then
11772 cat >> confdefs.h
<<\EOF
11773 #define wxUSE_FILE 1
11778 if test "$wxUSE_FILESYSTEM" = "yes"; then
11779 cat >> confdefs.h
<<\EOF
11780 #define wxUSE_FILESYSTEM 1
11785 if test "$wxUSE_FS_INET" = "yes"; then
11786 cat >> confdefs.h
<<\EOF
11787 #define wxUSE_FS_INET 1
11792 if test "$wxUSE_FS_ZIP" = "yes"; then
11793 cat >> confdefs.h
<<\EOF
11794 #define wxUSE_FS_ZIP 1
11799 if test "$wxUSE_ZIPSTREAM" = "yes"; then
11800 cat >> confdefs.h
<<\EOF
11801 #define wxUSE_ZIPSTREAM 1
11806 if test "$wxUSE_BUSYINFO" = "yes"; then
11807 cat >> confdefs.h
<<\EOF
11808 #define wxUSE_BUSYINFO 1
11813 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
11814 cat >> confdefs.h
<<\EOF
11815 #define wxUSE_STD_IOSTREAM 1
11820 if test "$wxUSE_TEXTFILE" = "yes"; then
11821 if test "$wxUSE_FILE" != "yes"; then
11822 echo "configure: warning: wxTextFile requires wxFile and it won't be compiled without it" 1>&2
11824 cat >> confdefs.h
<<\EOF
11825 #define wxUSE_TEXTFILE 1
11831 if test "$wxUSE_CONFIG" = "yes" ; then
11832 if test "$wxUSE_TEXTFILE" != "yes"; then
11833 echo "configure: warning: wxConfig requires wxTextFile and it won't be compiled without it" 1>&2
11835 cat >> confdefs.h
<<\EOF
11836 #define wxUSE_CONFIG 1
11839 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
11843 if test "$wxUSE_INTL" = "yes" ; then
11844 if test "$wxUSE_FILE" != "yes"; then
11845 echo "configure: warning: I18n code requires wxFile and it won't be compiled without it" 1>&2
11847 cat >> confdefs.h
<<\EOF
11848 #define wxUSE_INTL 1
11851 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
11855 if test "$wxUSE_LOG" = "yes"; then
11856 cat >> confdefs.h
<<\EOF
11857 #define wxUSE_LOG 1
11862 if test "$wxUSE_LONGLONG" = "yes"; then
11863 cat >> confdefs.h
<<\EOF
11864 #define wxUSE_LONGLONG 1
11869 if test "$wxUSE_PLOT" = "yes"; then
11870 cat >> confdefs.h
<<\EOF
11871 #define wxUSE_PLOT 1
11876 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
11877 cat >> confdefs.h
<<\EOF
11878 #define wxUSE_DIALUP_MANAGER 1
11881 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
11884 if test "$wxUSE_STREAMS" = "yes" ; then
11885 cat >> confdefs.h
<<\EOF
11886 #define wxUSE_STREAMS 1
11892 if test "$wxUSE_TIMEDATE" = "yes"; then
11893 for ac_func
in strptime
11895 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11896 echo "configure:11897: checking for $ac_func" >&5
11897 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11898 echo $ac_n "(cached) $ac_c" 1>&6
11900 cat > conftest.
$ac_ext <<EOF
11901 #line 11902 "configure"
11902 #include "confdefs.h"
11903 /* System header to define __stub macros and hopefully few prototypes,
11904 which can conflict with char $ac_func(); below. */
11905 #include <assert.h>
11906 /* Override any gcc2 internal prototype to avoid an error. */
11907 /* We use char because int might match the return type of a gcc2
11908 builtin and then its argument prototype would still apply. */
11913 /* The GNU C library defines this for functions which it implements
11914 to always fail with ENOSYS. Some functions are actually named
11915 something starting with __ and the normal name is an alias. */
11916 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11924 if { (eval echo configure
:11925: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11926 eval "ac_cv_func_$ac_func=yes"
11928 echo "configure: failed program was:" >&5
11929 cat conftest.
$ac_ext >&5
11931 eval "ac_cv_func_$ac_func=no"
11936 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11937 echo "$ac_t""yes" 1>&6
11938 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11939 cat >> confdefs.h
<<EOF
11940 #define $ac_tr_func 1
11944 echo "$ac_t""no" 1>&6
11949 echo $ac_n "checking for timezone variable in <time.h>""... $ac_c" 1>&6
11950 echo "configure:11951: checking for timezone variable in <time.h>" >&5
11951 if eval "test \"`echo '$''{'wx_cv_var_timezone'+set}'`\" = set"; then
11952 echo $ac_n "(cached) $ac_c" 1>&6
11955 cat > conftest.
$ac_ext <<EOF
11956 #line 11957 "configure"
11957 #include "confdefs.h"
11968 if { (eval echo configure
:11969: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11971 wx_cv_var_timezone
=__timezone
11974 echo "configure: failed program was:" >&5
11975 cat conftest.
$ac_ext >&5
11978 cat > conftest.
$ac_ext <<EOF
11979 #line 11980 "configure"
11980 #include "confdefs.h"
11991 if { (eval echo configure
:11992: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11994 wx_cv_var_timezone
=_timezone
11997 echo "configure: failed program was:" >&5
11998 cat conftest.
$ac_ext >&5
12001 cat > conftest.
$ac_ext <<EOF
12002 #line 12003 "configure"
12003 #include "confdefs.h"
12014 if { (eval echo configure
:12015: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12017 wx_cv_var_timezone
=timezone
12020 echo "configure: failed program was:" >&5
12021 cat conftest.
$ac_ext >&5
12023 { echo "configure: error: no timezone variable" 1>&2; exit 1; }
12039 echo "$ac_t""$wx_cv_var_timezone" 1>&6
12041 cat >> confdefs.h
<<EOF
12042 #define WX_TIMEZONE $wx_cv_var_timezone
12046 for ac_func
in localtime
12048 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12049 echo "configure:12050: checking for $ac_func" >&5
12050 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12051 echo $ac_n "(cached) $ac_c" 1>&6
12053 cat > conftest.
$ac_ext <<EOF
12054 #line 12055 "configure"
12055 #include "confdefs.h"
12056 /* System header to define __stub macros and hopefully few prototypes,
12057 which can conflict with char $ac_func(); below. */
12058 #include <assert.h>
12059 /* Override any gcc2 internal prototype to avoid an error. */
12060 /* We use char because int might match the return type of a gcc2
12061 builtin and then its argument prototype would still apply. */
12066 /* The GNU C library defines this for functions which it implements
12067 to always fail with ENOSYS. Some functions are actually named
12068 something starting with __ and the normal name is an alias. */
12069 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12077 if { (eval echo configure
:12078: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12079 eval "ac_cv_func_$ac_func=yes"
12081 echo "configure: failed program was:" >&5
12082 cat conftest.
$ac_ext >&5
12084 eval "ac_cv_func_$ac_func=no"
12089 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12090 echo "$ac_t""yes" 1>&6
12091 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12092 cat >> confdefs.h
<<EOF
12093 #define $ac_tr_func 1
12097 echo "$ac_t""no" 1>&6
12102 if test "$ac_cv_func_localtime" = "yes"; then
12103 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
12104 echo "configure:12105: checking for tm_gmtoff in struct tm" >&5
12105 if eval "test \"`echo '$''{'wx_cv_struct_tm_has_gmtoff'+set}'`\" = set"; then
12106 echo $ac_n "(cached) $ac_c" 1>&6
12109 cat > conftest.
$ac_ext <<EOF
12110 #line 12111 "configure"
12111 #include "confdefs.h"
12122 if { (eval echo configure
:12123: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12125 wx_cv_struct_tm_has_gmtoff
=yes
12126 cat >> confdefs.h
<<\EOF
12127 #define WX_GMTOFF_IN_TM 1
12132 echo "configure: failed program was:" >&5
12133 cat conftest.
$ac_ext >&5
12135 wx_cv_struct_tm_has_gmtoff
=no
12142 echo "$ac_t""$wx_cv_struct_tm_has_gmtoff" 1>&6
12145 for ac_func
in gettimeofday ftime
12147 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12148 echo "configure:12149: checking for $ac_func" >&5
12149 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12150 echo $ac_n "(cached) $ac_c" 1>&6
12152 cat > conftest.
$ac_ext <<EOF
12153 #line 12154 "configure"
12154 #include "confdefs.h"
12155 /* System header to define __stub macros and hopefully few prototypes,
12156 which can conflict with char $ac_func(); below. */
12157 #include <assert.h>
12158 /* Override any gcc2 internal prototype to avoid an error. */
12159 /* We use char because int might match the return type of a gcc2
12160 builtin and then its argument prototype would still apply. */
12165 /* The GNU C library defines this for functions which it implements
12166 to always fail with ENOSYS. Some functions are actually named
12167 something starting with __ and the normal name is an alias. */
12168 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12176 if { (eval echo configure
:12177: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12178 eval "ac_cv_func_$ac_func=yes"
12180 echo "configure: failed program was:" >&5
12181 cat conftest.
$ac_ext >&5
12183 eval "ac_cv_func_$ac_func=no"
12188 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12189 echo "$ac_t""yes" 1>&6
12190 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12191 cat >> confdefs.h
<<EOF
12192 #define $ac_tr_func 1
12196 echo "$ac_t""no" 1>&6
12201 if test "$ac_cv_func_gettimeofday" = "yes"; then
12202 echo $ac_n "checking whether gettimeofday takes two arguments""... $ac_c" 1>&6
12203 echo "configure:12204: checking whether gettimeofday takes two arguments" >&5
12204 if eval "test \"`echo '$''{'wx_cv_func_gettimeofday_has_2_args'+set}'`\" = set"; then
12205 echo $ac_n "(cached) $ac_c" 1>&6
12210 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12211 ac_cpp
='$CXXCPP $CPPFLAGS'
12212 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12213 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12214 cross_compiling
=$ac_cv_prog_cxx_cross
12217 cat > conftest.
$ac_ext <<EOF
12218 #line 12219 "configure"
12219 #include "confdefs.h"
12221 #include <sys/time.h>
12222 #include <unistd.h>
12227 struct timezone tz;
12228 gettimeofday(&tv, &tz);
12232 if { (eval echo configure
:12233: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12234 wx_cv_func_gettimeofday_has_2_args
=yes
12236 echo "configure: failed program was:" >&5
12237 cat conftest.
$ac_ext >&5
12239 cat > conftest.
$ac_ext <<EOF
12240 #line 12241 "configure"
12241 #include "confdefs.h"
12243 #include <sys/time.h>
12244 #include <unistd.h>
12253 if { (eval echo configure
:12254: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12255 wx_cv_func_gettimeofday_has_2_args
=no
12257 echo "configure: failed program was:" >&5
12258 cat conftest.
$ac_ext >&5
12260 wx_cv_func_gettimeofday_has_2_args
=unknown
12268 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12269 ac_cpp
='$CPP $CPPFLAGS'
12270 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12271 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12272 cross_compiling
=$ac_cv_prog_cc_cross
12277 echo "$ac_t""$wx_cv_func_gettimeofday_has_2_args" 1>&6
12279 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
12280 cat >> confdefs.h
<<\EOF
12281 #define WX_GETTIMEOFDAY_NO_TZ 1
12287 cat >> confdefs.h
<<\EOF
12288 #define wxUSE_TIMEDATE 1
12291 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
12295 if test "$TOOLKIT" != "MSW"; then
12297 if test "$wxUSE_SOCKETS" = "yes"; then
12298 echo $ac_n "checking for socket""... $ac_c" 1>&6
12299 echo "configure:12300: checking for socket" >&5
12300 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
12301 echo $ac_n "(cached) $ac_c" 1>&6
12303 cat > conftest.
$ac_ext <<EOF
12304 #line 12305 "configure"
12305 #include "confdefs.h"
12306 /* System header to define __stub macros and hopefully few prototypes,
12307 which can conflict with char socket(); below. */
12308 #include <assert.h>
12309 /* Override any gcc2 internal prototype to avoid an error. */
12310 /* We use char because int might match the return type of a gcc2
12311 builtin and then its argument prototype would still apply. */
12316 /* The GNU C library defines this for functions which it implements
12317 to always fail with ENOSYS. Some functions are actually named
12318 something starting with __ and the normal name is an alias. */
12319 #if defined (__stub_socket) || defined (__stub___socket)
12327 if { (eval echo configure
:12328: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12329 eval "ac_cv_func_socket=yes"
12331 echo "configure: failed program was:" >&5
12332 cat conftest.
$ac_ext >&5
12334 eval "ac_cv_func_socket=no"
12339 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
12340 echo "$ac_t""yes" 1>&6
12343 echo "$ac_t""no" 1>&6
12344 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
12345 echo "configure:12346: checking for socket in -lsocket" >&5
12346 ac_lib_var
=`echo socket'_'socket | sed 'y%./+-%__p_%'`
12347 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12348 echo $ac_n "(cached) $ac_c" 1>&6
12350 ac_save_LIBS
="$LIBS"
12351 LIBS
="-lsocket $LIBS"
12352 cat > conftest.
$ac_ext <<EOF
12353 #line 12354 "configure"
12354 #include "confdefs.h"
12355 /* Override any gcc2 internal prototype to avoid an error. */
12356 /* We use char because int might match the return type of a gcc2
12357 builtin and then its argument prototype would still apply. */
12364 if { (eval echo configure
:12365: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12366 eval "ac_cv_lib_$ac_lib_var=yes"
12368 echo "configure: failed program was:" >&5
12369 cat conftest.
$ac_ext >&5
12371 eval "ac_cv_lib_$ac_lib_var=no"
12374 LIBS
="$ac_save_LIBS"
12377 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12378 echo "$ac_t""yes" 1>&6
12379 INET_LINK
="$INET_LINK -lsocket"
12381 echo "$ac_t""no" 1>&6
12383 echo "configure: warning: socket library not found - sockets will be disabled" 1>&2
12396 if test "$wxUSE_SOCKETS" = "yes" ; then
12397 echo $ac_n "checking what is the type of the third argument of getsockname""... $ac_c" 1>&6
12398 echo "configure:12399: checking what is the type of the third argument of getsockname" >&5
12399 if eval "test \"`echo '$''{'wx_cv_type_getsockname3'+set}'`\" = set"; then
12400 echo $ac_n "(cached) $ac_c" 1>&6
12405 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12406 ac_cpp
='$CXXCPP $CPPFLAGS'
12407 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12408 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12409 cross_compiling
=$ac_cv_prog_cxx_cross
12412 cat > conftest.
$ac_ext <<EOF
12413 #line 12414 "configure"
12414 #include "confdefs.h"
12416 #include <sys/types.h>
12417 #include <sys/socket.h>
12422 getsockname(0, 0, &len);
12426 if { (eval echo configure
:12427: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12428 wx_cv_type_getsockname3
=socklen_t
12430 echo "configure: failed program was:" >&5
12431 cat conftest.
$ac_ext >&5
12433 cat > conftest.
$ac_ext <<EOF
12434 #line 12435 "configure"
12435 #include "confdefs.h"
12437 #include <sys/types.h>
12438 #include <sys/socket.h>
12443 getsockname(0, 0, &len);
12447 if { (eval echo configure
:12448: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12449 wx_cv_type_getsockname3
=size_t
12451 echo "configure: failed program was:" >&5
12452 cat conftest.
$ac_ext >&5
12454 cat > conftest.
$ac_ext <<EOF
12455 #line 12456 "configure"
12456 #include "confdefs.h"
12458 #include <sys/types.h>
12459 #include <sys/socket.h>
12464 getsockname(0, 0, &len);
12468 if { (eval echo configure
:12469: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12470 wx_cv_type_getsockname3
=int
12472 echo "configure: failed program was:" >&5
12473 cat conftest.
$ac_ext >&5
12475 wx_cv_type_getsockname3
=unknown
12487 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12488 ac_cpp
='$CPP $CPPFLAGS'
12489 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12490 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12491 cross_compiling
=$ac_cv_prog_cc_cross
12496 echo "$ac_t""$wx_cv_type_getsockname3" 1>&6
12498 if test "$wx_cv_type_getsockname3" = "unknown"; then
12500 echo "configure: warning: Couldn't find socklen_t synonym for this system" 1>&2
12502 cat >> confdefs.h
<<EOF
12503 #define SOCKLEN_T $wx_cv_type_getsockname3
12509 if test "$wxUSE_SOCKETS" = "yes" ; then
12510 cat >> confdefs.h
<<\EOF
12511 #define wxUSE_SOCKETS 1
12514 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
12515 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS protocol"
12519 if test "$TOOLKIT" != "MSW"; then
12521 if test "$wxUSE_JOYSTICK" = 1; then
12522 for ac_hdr
in linux
/joystick.h
12524 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12525 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12526 echo "configure:12527: checking for $ac_hdr" >&5
12527 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12528 echo $ac_n "(cached) $ac_c" 1>&6
12530 cat > conftest.
$ac_ext <<EOF
12531 #line 12532 "configure"
12532 #include "confdefs.h"
12535 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12536 { (eval echo configure
:12537: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12537 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12538 if test -z "$ac_err"; then
12540 eval "ac_cv_header_$ac_safe=yes"
12543 echo "configure: failed program was:" >&5
12544 cat conftest.
$ac_ext >&5
12546 eval "ac_cv_header_$ac_safe=no"
12550 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12551 echo "$ac_t""yes" 1>&6
12552 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12553 cat >> confdefs.h
<<EOF
12554 #define $ac_tr_hdr 1
12558 echo "$ac_t""no" 1>&6
12562 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
12564 echo "configure: warning: Joystick not supported yb this system" 1>&2
12570 if test "$wxUSE_JOYSTICK" = 1; then
12571 cat >> confdefs.h
<<\EOF
12572 #define wxUSE_JOYSTICK 1
12575 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
12579 if test "$TOOLKIT" != "MSW"; then
12583 if test "$wxUSE_DYNLIB_CLASS" = "yes"; then
12584 for ac_func
in dlopen
12586 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12587 echo "configure:12588: checking for $ac_func" >&5
12588 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12589 echo $ac_n "(cached) $ac_c" 1>&6
12591 cat > conftest.
$ac_ext <<EOF
12592 #line 12593 "configure"
12593 #include "confdefs.h"
12594 /* System header to define __stub macros and hopefully few prototypes,
12595 which can conflict with char $ac_func(); below. */
12596 #include <assert.h>
12597 /* Override any gcc2 internal prototype to avoid an error. */
12598 /* We use char because int might match the return type of a gcc2
12599 builtin and then its argument prototype would still apply. */
12604 /* The GNU C library defines this for functions which it implements
12605 to always fail with ENOSYS. Some functions are actually named
12606 something starting with __ and the normal name is an alias. */
12607 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12615 if { (eval echo configure
:12616: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12617 eval "ac_cv_func_$ac_func=yes"
12619 echo "configure: failed program was:" >&5
12620 cat conftest.
$ac_ext >&5
12622 eval "ac_cv_func_$ac_func=no"
12627 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12628 echo "$ac_t""yes" 1>&6
12629 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12630 cat >> confdefs.h
<<EOF
12631 #define $ac_tr_func 1
12634 cat >> confdefs.h
<<\EOF
12635 #define HAVE_DLOPEN 1
12641 echo "$ac_t""no" 1>&6
12642 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
12643 echo "configure:12644: checking for dlopen in -ldl" >&5
12644 ac_lib_var
=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
12645 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12646 echo $ac_n "(cached) $ac_c" 1>&6
12648 ac_save_LIBS
="$LIBS"
12650 cat > conftest.
$ac_ext <<EOF
12651 #line 12652 "configure"
12652 #include "confdefs.h"
12653 /* Override any gcc2 internal prototype to avoid an error. */
12654 /* We use char because int might match the return type of a gcc2
12655 builtin and then its argument prototype would still apply. */
12662 if { (eval echo configure
:12663: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12664 eval "ac_cv_lib_$ac_lib_var=yes"
12666 echo "configure: failed program was:" >&5
12667 cat conftest.
$ac_ext >&5
12669 eval "ac_cv_lib_$ac_lib_var=no"
12672 LIBS
="$ac_save_LIBS"
12675 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12676 echo "$ac_t""yes" 1>&6
12678 cat >> confdefs.h
<<\EOF
12679 #define HAVE_DLOPEN 1
12686 echo "$ac_t""no" 1>&6
12688 for ac_func
in shl_load
12690 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12691 echo "configure:12692: checking for $ac_func" >&5
12692 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12693 echo $ac_n "(cached) $ac_c" 1>&6
12695 cat > conftest.
$ac_ext <<EOF
12696 #line 12697 "configure"
12697 #include "confdefs.h"
12698 /* System header to define __stub macros and hopefully few prototypes,
12699 which can conflict with char $ac_func(); below. */
12700 #include <assert.h>
12701 /* Override any gcc2 internal prototype to avoid an error. */
12702 /* We use char because int might match the return type of a gcc2
12703 builtin and then its argument prototype would still apply. */
12708 /* The GNU C library defines this for functions which it implements
12709 to always fail with ENOSYS. Some functions are actually named
12710 something starting with __ and the normal name is an alias. */
12711 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12719 if { (eval echo configure
:12720: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12721 eval "ac_cv_func_$ac_func=yes"
12723 echo "configure: failed program was:" >&5
12724 cat conftest.
$ac_ext >&5
12726 eval "ac_cv_func_$ac_func=no"
12731 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12732 echo "$ac_t""yes" 1>&6
12733 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12734 cat >> confdefs.h
<<EOF
12735 #define $ac_tr_func 1
12738 cat >> confdefs.h
<<\EOF
12739 #define HAVE_SHL_LOAD 1
12745 echo "$ac_t""no" 1>&6
12757 if test "$HAVE_DL_FUNCS" = 0; then
12758 if test "$HAVE_SHL_FUNCS" = 0; then
12759 if test "$USE_UNIX" = 1; then
12760 echo "configure: warning: Missing dynamic loading support, several features will be disabled" 1>&2
12761 wxUSE_DYNLIB_CLASS
=no
12763 echo "configure: warning: Assuming wxLibrary class works on this platform" 1>&2
12771 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
12772 cat >> confdefs.h
<<\EOF
12773 #define wxUSE_DYNLIB_CLASS 1
12782 if test "$wxUSE_UNICODE" = "yes" ; then
12783 cat >> confdefs.h
<<\EOF
12784 #define wxUSE_UNICODE 1
12789 if test "$wxUSE_WCSRTOMBS" = "yes" ; then
12790 cat >> confdefs.h
<<\EOF
12791 #define wxUSE_WCSRTOMBS 1
12796 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
12797 cat >> confdefs.h
<<\EOF
12798 #define wxUSE_EXPERIMENTAL_PRINTF 1
12804 if test "$wxUSE_SERIAL" = "yes" ; then
12805 cat >> confdefs.h
<<\EOF
12806 #define wxUSE_SERIAL 1
12813 if test "$wxUSE_ODBC" = "yes" ; then
12814 cat >> confdefs.h
<<\EOF
12815 #define wxUSE_ODBC 1
12818 WXODBCFLAG
="-D_IODBC_"
12819 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
12820 IODBCOBJS
="\$(IODBC_OBJS)"
12826 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
12827 cat >> confdefs.h
<<\EOF
12828 #define wxUSE_POSTSCRIPT 1
12833 cat >> confdefs.h
<<\EOF
12834 #define wxUSE_AFM_FOR_POSTSCRIPT 1
12838 cat >> confdefs.h
<<\EOF
12839 #define wxUSE_NORMALIZED_PS_FONTS 1
12844 if test "$wxUSE_CONSTRAINTS" = "yes"; then
12845 cat >> confdefs.h
<<\EOF
12846 #define wxUSE_CONSTRAINTS 1
12849 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
12852 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
12853 cat >> confdefs.h
<<\EOF
12854 #define wxUSE_MDI_ARCHITECTURE 1
12857 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
12860 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
12861 cat >> confdefs.h
<<\EOF
12862 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
12865 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
12866 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
12867 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
12871 if test "$wxUSE_HELP" = "yes"; then
12872 cat >> confdefs.h
<<\EOF
12873 #define wxUSE_HELP 1
12876 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
12879 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
12880 if test "$wxUSE_CONSTRAINTS" != "yes"; then
12881 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
12883 cat >> confdefs.h
<<\EOF
12884 #define wxUSE_PRINTING_ARCHITECTURE 1
12888 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
12891 if test "$wxUSE_PROLOGIO" = "yes" ; then
12892 cat >> confdefs.h
<<\EOF
12893 #define wxUSE_PROLOGIO 1
12898 if test "$wxUSE_RESOURCES" = "yes" ; then
12899 if test "$wxUSE_PROLOGIO" = "yes" ; then
12900 cat >> confdefs.h
<<\EOF
12901 #define wxUSE_RESOURCES 1
12904 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS resource"
12906 echo "configure: warning: wxWindows ressource system requires PrologIO and can't be compiled without it." 1>&2
12910 if test "$wxUSE_X_RESOURCES" = "yes"; then
12911 cat >> confdefs.h
<<\EOF
12912 #define wxUSE_X_RESOURCES 1
12918 if test "$wxUSE_IPC" = "yes"; then
12919 cat >> confdefs.h
<<\EOF
12920 #define wxUSE_IPC 1
12925 if test "$wxUSE_CLIPBOARD" = "yes"; then
12926 cat >> confdefs.h
<<\EOF
12927 #define wxUSE_CLIPBOARD 1
12932 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
12933 if test "$wxUSE_GTK" = 1; then
12934 if test "$WXGTK12" != 1; then
12935 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2" 1>&2
12936 wxUSE_DRAG_AND_DROP
=no
12940 if test "$wxUSE_MOTIF" = 1; then
12941 echo "configure: warning: Drag and drop is not yet supported under Motif" 1>&2
12942 wxUSE_DRAG_AND_DROP
=no
12945 if test "$USE_WIN32" = 1; then
12946 for ac_hdr
in ole2.h
12948 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12949 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12950 echo "configure:12951: checking for $ac_hdr" >&5
12951 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12952 echo $ac_n "(cached) $ac_c" 1>&6
12954 cat > conftest.
$ac_ext <<EOF
12955 #line 12956 "configure"
12956 #include "confdefs.h"
12959 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12960 { (eval echo configure
:12961: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12961 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12962 if test -z "$ac_err"; then
12964 eval "ac_cv_header_$ac_safe=yes"
12967 echo "configure: failed program was:" >&5
12968 cat conftest.
$ac_ext >&5
12970 eval "ac_cv_header_$ac_safe=no"
12974 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12975 echo "$ac_t""yes" 1>&6
12976 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12977 cat >> confdefs.h
<<EOF
12978 #define $ac_tr_hdr 1
12982 echo "$ac_t""no" 1>&6
12986 if test "x$HAVE_OLE2_H" = x
; then
12987 echo "configure: warning: Drag and drop disabled because OLE headers not found" 1>&2
12988 wxUSE_DRAG_AND_DROP
=no
12992 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
12993 cat >> confdefs.h
<<\EOF
12994 #define wxUSE_DRAG_AND_DROP 1
12997 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
13002 if test "$wxUSE_SPLINES" = "yes" ; then
13003 cat >> confdefs.h
<<\EOF
13004 #define wxUSE_SPLINES 1
13010 if test "$wxUSE_ACCEL" = "yes"; then
13011 cat >> confdefs.h
<<\EOF
13012 #define wxUSE_ACCEL 1
13017 if test "$wxUSE_CARET" = "yes"; then
13018 cat >> confdefs.h
<<\EOF
13019 #define wxUSE_CARET 1
13022 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
13025 if test "$wxUSE_COMBOBOX" = "yes"; then
13026 cat >> confdefs.h
<<\EOF
13027 #define wxUSE_COMBOBOX 1
13032 if test "$wxUSE_CHOICE" = "yes"; then
13033 cat >> confdefs.h
<<\EOF
13034 #define wxUSE_CHOICE 1
13039 if test "$wxUSE_BMPBUTTON" = "yes"; then
13040 cat >> confdefs.h
<<\EOF
13041 #define wxUSE_BMPBUTTON 1
13046 if test "$wxUSE_CHECKBOX" = "yes"; then
13047 cat >> confdefs.h
<<\EOF
13048 #define wxUSE_CHECKBOX 1
13053 if test "$wxUSE_CHECKLST" = "yes"; then
13054 cat >> confdefs.h
<<\EOF
13055 #define wxUSE_CHECKLISTBOX 1
13058 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
13061 if test "$wxUSE_GAUGE" = "yes"; then
13062 cat >> confdefs.h
<<\EOF
13063 #define wxUSE_GAUGE 1
13068 if test "$wxUSE_NEW_GRID" = "yes"; then
13070 cat >> confdefs.h
<<\EOF
13071 #define wxUSE_NEW_GRID 1
13074 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS newgrid"
13077 if test "$wxUSE_GRID" = "yes"; then
13078 cat >> confdefs.h
<<\EOF
13079 #define wxUSE_GRID 1
13082 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
13085 if test "$wxUSE_IMAGLIST" = "yes"; then
13086 cat >> confdefs.h
<<\EOF
13087 #define wxUSE_IMAGLIST 1
13092 if test "$wxUSE_LISTBOX" = "yes"; then
13093 cat >> confdefs.h
<<\EOF
13094 #define wxUSE_LISTBOX 1
13099 if test "$wxUSE_LISTCTRL" = "yes"; then
13100 if test "$wxUSE_IMAGLIST" = "yes"; then
13101 cat >> confdefs.h
<<\EOF
13102 #define wxUSE_LISTCTRL 1
13105 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
13107 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
13111 if test "$wxUSE_NOTEBOOK" = "yes"; then
13112 cat >> confdefs.h
<<\EOF
13113 #define wxUSE_NOTEBOOK 1
13116 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
13119 if test "$wxUSE_RADIOBOX" = "yes"; then
13120 cat >> confdefs.h
<<\EOF
13121 #define wxUSE_RADIOBOX 1
13126 if test "$wxUSE_RADIOBTN" = "yes"; then
13127 cat >> confdefs.h
<<\EOF
13128 #define wxUSE_RADIOBTN 1
13133 if test "$wxUSE_SASH" = "yes"; then
13134 cat >> confdefs.h
<<\EOF
13135 #define wxUSE_SASH 1
13138 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
13141 if test "$wxUSE_SCROLLBAR" = "yes"; then
13142 cat >> confdefs.h
<<\EOF
13143 #define wxUSE_SCROLLBAR 1
13146 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
13149 if test "$wxUSE_SLIDER" = "yes"; then
13150 cat >> confdefs.h
<<\EOF
13151 #define wxUSE_SLIDER 1
13156 if test "$wxUSE_SPINBTN" = "yes"; then
13157 cat >> confdefs.h
<<\EOF
13158 #define wxUSE_SPINBTN 1
13163 if test "$wxUSE_SPINCTRL" = "yes"; then
13164 cat >> confdefs.h
<<\EOF
13165 #define wxUSE_SPINCTRL 1
13170 if test "$wxUSE_SPLITTER" = "yes"; then
13171 cat >> confdefs.h
<<\EOF
13172 #define wxUSE_SPLITTER 1
13175 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
13178 if test "$wxUSE_STATBMP" = "yes"; then
13179 cat >> confdefs.h
<<\EOF
13180 #define wxUSE_STATBMP 1
13185 if test "$wxUSE_STATBOX" = "yes"; then
13186 cat >> confdefs.h
<<\EOF
13187 #define wxUSE_STATBOX 1
13192 if test "$wxUSE_STATLINE" = "yes"; then
13193 if test "$wxUSE_WINE" = 1 ; then
13194 echo "configure: warning: wxStaticLine is not supported under WINE" 1>&2
13196 cat >> confdefs.h
<<\EOF
13197 #define wxUSE_STATLINE 1
13203 if test "$wxUSE_STATUSBAR" = "yes"; then
13204 cat >> confdefs.h
<<\EOF
13205 #define wxUSE_STATUSBAR 1
13209 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
13212 if test "$wxUSE_TABDIALOG" = "yes"; then
13213 cat >> confdefs.h
<<\EOF
13214 #define wxUSE_TAB_DIALOG 1
13217 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
13220 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
13221 cat >> confdefs.h
<<\EOF
13222 #define wxUSE_TOOLBAR_SIMPLE 1
13225 wxUSE_TOOLBAR
="yes"
13228 if test "$wxUSE_TOOLBAR" = "yes"; then
13229 cat >> confdefs.h
<<\EOF
13230 #define wxUSE_TOOLBAR 1
13234 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
13235 wxUSE_TOOLBAR_NATIVE
="yes"
13238 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
13241 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
13242 cat >> confdefs.h
<<\EOF
13243 #define wxUSE_TOOLBAR_NATIVE 1
13248 if test "$wxUSE_TOOLTIPS" = "yes"; then
13249 if test "$wxUSE_MOTIF" = 1; then
13250 echo "configure: warning: wxTooltip not supported yet under Motif" 1>&2
13252 if test "$wxUSE_WINE" = 1; then
13253 echo "configure: warning: wxTooltip not supported under WINE" 1>&2
13255 cat >> confdefs.h
<<\EOF
13256 #define wxUSE_TOOLTIPS 1
13263 if test "$wxUSE_TREECTRL" = "yes"; then
13264 if test "$wxUSE_IMAGLIST" = "yes"; then
13265 cat >> confdefs.h
<<\EOF
13266 #define wxUSE_TREECTRL 1
13269 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
13271 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
13277 if test "$wxUSE_METAFILE" = "yes"; then
13278 cat >> confdefs.h
<<\EOF
13279 #define wxUSE_METAFILE 1
13284 if test "$wxUSE_DIRDLG" = "yes"; then
13285 if test "$wxUSE_CONSTRAINTS" != "yes"; then
13286 echo "configure: warning: wxDirDialog requires constraints so it won't be compiled without them" 1>&2
13288 if test "$wxUSE_TREECTRL" != "yes"; then
13289 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
13291 cat >> confdefs.h
<<\EOF
13292 #define wxUSE_DIRDLG 1
13299 if test "$wxUSE_TEXTDLG" = "yes"; then
13300 cat >> confdefs.h
<<\EOF
13301 #define wxUSE_TEXTDLG 1
13306 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
13307 if test "$wxUSE_CONSTRAINTS" != "yes"; then
13308 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
13310 cat >> confdefs.h
<<\EOF
13311 #define wxUSE_STARTUP_TIPS 1
13317 if test "$wxUSE_PROGRESSDLG" = "yes"; then
13318 if test "$wxUSE_CONSTRAINTS" != "yes"; then
13319 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
13321 cat >> confdefs.h
<<\EOF
13322 #define wxUSE_PROGRESSDLG 1
13328 if test "$wxUSE_MINIFRAME" = "yes"; then
13329 cat >> confdefs.h
<<\EOF
13330 #define wxUSE_MINIFRAME 1
13333 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
13336 if test "$wxUSE_HTML" = "yes"; then
13337 cat >> confdefs.h
<<\EOF
13338 #define wxUSE_HTML 1
13341 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html"
13342 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS html"
13345 if test "$wxUSE_VALIDATORS" = "yes"; then
13346 cat >> confdefs.h
<<\EOF
13347 #define wxUSE_VALIDATORS 1
13350 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
13353 if test "$wxUSE_GIF" = "yes" ; then
13354 cat >> confdefs.h
<<\EOF
13355 #define wxUSE_GIF 1
13360 if test "$wxUSE_PCX" = "yes" ; then
13361 cat >> confdefs.h
<<\EOF
13362 #define wxUSE_PCX 1
13367 if test "$wxUSE_PNM" = "yes" ; then
13368 cat >> confdefs.h
<<\EOF
13369 #define wxUSE_PNM 1
13375 OSINFO
=`uname -s -r -m`
13376 OSINFO
="\"$OSINFO\""
13377 cat >> confdefs.h
<<EOF
13378 #define WXWIN_OS_DESCRIPTION $OSINFO
13383 GUILIBS
="$GUI_TK_LIBRARY $OPENGL_LINK $LIBPNG_LINK $ZLIB_LINK $TOOLKIT_LINK"
13385 EXTRA_LIBS
="$LIBS $POSIX4_LINK $INET_LINK $WCHAR_LINK $THREADS_LINK $DMALLOC_LINK $DL_LINK"
13386 if test "$wxUSE_GUI" = "yes"; then
13387 EXTRA_LIBS
="$EXTRA_LIBS $GUILIBS"
13390 LD_LIBS
="\${top_builddir}/lib/${WX_LIBRARY_NAME_STATIC} $EXTRA_LIBS"
13392 INCLUDES
="-I. -I\${top_builddir}/include -I\${top_srcdir}/include $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE $TOOLKIT_INCLUDE"
13394 if test "$GXX" = yes ; then
13395 CXXWARNINGS
="-Wall"
13397 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE $INCLUDES"
13399 CFLAGS
=`echo $CFLAGS $EXTRA_CFLAGS | sed 's/ \\+/ /g'`
13400 CXXFLAGS
=`echo $CXXFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
13402 LDFLAGS
="$LDFLAGS $PROFILE"
13404 if test "$wxUSE_GUI" = "yes"; then
13406 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS controls dialogs drawing dynamic \
13407 font fractal image minimal richedit"
13409 CPPFLAGS
="$CPPFLAGS \$(EXTRADEFS) \$(APPEXTRADEFS)"
13414 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
13482 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
13483 echo "configure:13484: checking whether ${MAKE-make} sets \${MAKE}" >&5
13484 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
13485 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
13486 echo $ac_n "(cached) $ac_c" 1>&6
13488 cat > conftestmake
<<\EOF
13490 @
echo 'ac_maketemp="${MAKE}"'
13492 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
13493 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
13494 if test -n "$ac_maketemp"; then
13495 eval ac_cv_prog_make_
${ac_make}_set
=yes
13497 eval ac_cv_prog_make_
${ac_make}_set
=no
13501 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
13502 echo "$ac_t""yes" 1>&6
13505 echo "$ac_t""no" 1>&6
13506 SET_MAKE
="MAKE=${MAKE-make}"
13510 if test -d include
; then
13511 if test -d include
/wx
; then
13512 if test -d include
/wx
/${TOOLKIT_DIR}; then
13513 if test -f include
/wx
/${TOOLKIT_DIR}/setup.h
; then
13514 mv -f include
/wx
/${TOOLKIT_DIR}/setup.h setup.h
13522 if test "$wxUSE_GUI" = "yes"; then
13523 echo $ac_n "checking glcanvas subdirectory to use""... $ac_c" 1>&6
13524 echo "configure:13525: checking glcanvas subdirectory to use" >&5
13525 if eval "test \"`echo '$''{'wx_cv_path_glcanvas'+set}'`\" = set"; then
13526 echo $ac_n "(cached) $ac_c" 1>&6
13529 if test "${TOOLKIT_DIR}" = "msw" ; then
13530 wx_cv_path_glcanvas
="win"
13532 wx_cv_path_glcanvas
="${TOOLKIT_DIR}"
13537 echo "$ac_t""$wx_cv_path_glcanvas" 1>&6
13539 GL_TOOLKIT_DIR
=$wx_cv_path_glcanvas
13542 wx_cv_path_samplesubdirs
=$SAMPLES_SUBDIRS
13543 subdirs
="demos samples utils"
13548 cat > confcache
<<\EOF
13549 # This file is a shell script that caches the results of configure
13550 # tests run on this system so they can be shared between configure
13551 # scripts and configure runs. It is not useful on other systems.
13552 # If it contains results you don't want to keep, you may remove or edit it.
13554 # By default, configure uses ./config.cache as the cache file,
13555 # creating it if it does not exist already. You can give configure
13556 # the --cache-file=FILE option to use a different cache file; that is
13557 # what configure does when it calls configure scripts in
13558 # subdirectories, so they share the cache.
13559 # Giving --cache-file=/dev/null disables caching, for debugging configure.
13560 # config.status only pays attention to the cache file if you give it the
13561 # --recheck option to rerun configure.
13564 # The following way of writing the cache mishandles newlines in values,
13565 # but we know of no workaround that is simple, portable, and efficient.
13566 # So, don't put newlines in cache variables' values.
13567 # Ultrix sh set writes to stderr and can't be redirected directly,
13568 # and sets the high bit in the cache file unless we assign to the vars.
13570 case `(ac_space=' '; set | grep ac_space) 2>&1` in
13572 # `set' does not quote correctly, so add quotes (double-quote substitution
13573 # turns \\\\ into \\, and sed turns \\ into \).
13575 -e "s/'/'\\\\''/g" \
13576 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
13579 # `set' quotes correctly as required by POSIX, so do not add quotes.
13580 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
13583 if cmp -s $cache_file confcache
; then
13586 if test -w $cache_file; then
13587 echo "updating cache $cache_file"
13588 cat confcache
> $cache_file
13590 echo "not updating unwritable cache $cache_file"
13595 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
13597 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
13598 # Let make expand exec_prefix.
13599 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
13601 # Any assignment to VPATH causes Sun make to only execute
13602 # the first set of double-colon rules, so remove it if not needed.
13603 # If there is a colon in the path, we need to keep it.
13604 if test "x$srcdir" = x.
; then
13605 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
13608 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
13610 DEFS
=-DHAVE_CONFIG_H
13612 # Without the "./", some shells look in PATH for config.status.
13613 : ${CONFIG_STATUS=./config.status}
13615 echo creating
$CONFIG_STATUS
13616 rm -f $CONFIG_STATUS
13617 cat > $CONFIG_STATUS <<EOF
13619 # Generated automatically by configure.
13620 # Run this file to recreate the current configuration.
13621 # This directory was configured as follows,
13622 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13624 # $0 $ac_configure_args
13626 # Compiler output produced by configure, useful for debugging
13627 # configure, is in ./config.log if it exists.
13629 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
13632 case "\$ac_option" in
13633 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13634 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
13635 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
13636 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
13637 echo "$CONFIG_STATUS generated by autoconf version 2.13"
13639 -help | --help | --hel | --he | --h)
13640 echo "\$ac_cs_usage"; exit 0 ;;
13641 *) echo "\$ac_cs_usage"; exit 1 ;;
13645 ac_given_srcdir=$srcdir
13646 ac_given_INSTALL="$INSTALL"
13648 trap 'rm -fr `echo "
13654 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
13656 cat >> $CONFIG_STATUS <<EOF
13658 # Protect against being on the right side of a sed subst in config.status.
13659 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
13660 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
13664 s%@CFLAGS@%$CFLAGS%g
13665 s%@CPPFLAGS@%$CPPFLAGS%g
13666 s%@CXXFLAGS@%$CXXFLAGS%g
13667 s%@FFLAGS@%$FFLAGS%g
13669 s%@LDFLAGS@%$LDFLAGS%g
13671 s%@exec_prefix@%$exec_prefix%g
13672 s%@prefix@%$prefix%g
13673 s%@program_transform_name@%$program_transform_name%g
13674 s%@bindir@%$bindir%g
13675 s%@sbindir@%$sbindir%g
13676 s%@libexecdir@%$libexecdir%g
13677 s%@datadir@%$datadir%g
13678 s%@sysconfdir@%$sysconfdir%g
13679 s%@sharedstatedir@%$sharedstatedir%g
13680 s%@localstatedir@%$localstatedir%g
13681 s%@libdir@%$libdir%g
13682 s%@includedir@%$includedir%g
13683 s%@oldincludedir@%$oldincludedir%g
13684 s%@infodir@%$infodir%g
13685 s%@mandir@%$mandir%g
13687 s%@host_alias@%$host_alias%g
13688 s%@host_cpu@%$host_cpu%g
13689 s%@host_vendor@%$host_vendor%g
13690 s%@host_os@%$host_os%g
13691 s%@target@%$target%g
13692 s%@target_alias@%$target_alias%g
13693 s%@target_cpu@%$target_cpu%g
13694 s%@target_vendor@%$target_vendor%g
13695 s%@target_os@%$target_os%g
13697 s%@build_alias@%$build_alias%g
13698 s%@build_cpu@%$build_cpu%g
13699 s%@build_vendor@%$build_vendor%g
13700 s%@build_os@%$build_os%g
13704 s%@CXXCPP@%$CXXCPP%g
13705 s%@RANLIB@%$RANLIB%g
13707 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
13708 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
13709 s%@INSTALL_DATA@%$INSTALL_DATA%g
13713 s%@LEXLIB@%$LEXLIB%g
13715 s%@GTK_CONFIG@%$GTK_CONFIG%g
13716 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
13717 s%@GTK_LIBS@%$GTK_LIBS%g
13718 s%@X_CFLAGS@%$X_CFLAGS%g
13719 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
13720 s%@X_LIBS@%$X_LIBS%g
13721 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
13722 s%@LEX_STEM@%$LEX_STEM%g
13723 s%@PATH_IFS@%$PATH_IFS%g
13724 s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
13725 s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
13726 s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
13727 s%@WX_LIBRARY_NAME@%$WX_LIBRARY_NAME%g
13728 s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
13729 s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
13730 s%@WX_LIBRARY@%$WX_LIBRARY%g
13731 s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
13732 s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
13733 s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
13734 s%@WX_LIBRARY_LINK3@%$WX_LIBRARY_LINK3%g
13735 s%@PROGRAM_EXT@%$PROGRAM_EXT%g
13736 s%@WX_ALL@%$WX_ALL%g
13737 s%@WX_ALL_INSTALLED@%$WX_ALL_INSTALLED%g
13738 s%@SHARED_LD@%$SHARED_LD%g
13739 s%@PIC_FLAG@%$PIC_FLAG%g
13740 s%@DEP_INFO_FLAGS@%$DEP_INFO_FLAGS%g
13741 s%@CODE_GEN_FLAGS@%$CODE_GEN_FLAGS%g
13742 s%@BURNT_LIBRARY_NAME@%$BURNT_LIBRARY_NAME%g
13743 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
13744 s%@USE_GUI@%$USE_GUI%g
13745 s%@AFMINSTALL@%$AFMINSTALL%g
13746 s%@TOOLKIT@%$TOOLKIT%g
13747 s%@TOOLKIT_DEF@%$TOOLKIT_DEF%g
13748 s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
13749 s%@TOOLKIT_INCLUDE@%$TOOLKIT_INCLUDE%g
13750 s%@GUIHEADERS@%$GUIHEADERS%g
13751 s%@GUIOBJS@%$GUIOBJS%g
13752 s%@COMMONOBJS@%$COMMONOBJS%g
13753 s%@GENERICOBJS@%$GENERICOBJS%g
13754 s%@GUIDEPS@%$GUIDEPS%g
13755 s%@COMMONDEPS@%$COMMONDEPS%g
13756 s%@GENERICDEPS@%$GENERICDEPS%g
13757 s%@IODBCOBJS@%$IODBCOBJS%g
13758 s%@UNIXOBJS@%$UNIXOBJS%g
13759 s%@UNIXDEPS@%$UNIXDEPS%g
13760 s%@ALL_OBJECTS@%$ALL_OBJECTS%g
13761 s%@ALL_DEPFILES@%$ALL_DEPFILES%g
13762 s%@GUIDIST@%$GUIDIST%g
13763 s%@PORT_FILES@%$PORT_FILES%g
13764 s%@DISTDIR@%$DISTDIR%g
13765 s%@RPM_SPEC@%$RPM_SPEC%g
13766 s%@RPM_FILES@%$RPM_FILES%g
13767 s%@SRC_SUBDIRS@%$SRC_SUBDIRS%g
13768 s%@INCLUDE_SUBDIRS@%$INCLUDE_SUBDIRS%g
13769 s%@UTILS_SUBDIRS@%$UTILS_SUBDIRS%g
13770 s%@DOCS_SUBDIRS@%$DOCS_SUBDIRS%g
13771 s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
13772 s%@USER_SUBDIRS@%$USER_SUBDIRS%g
13773 s%@EXTRA_LIBS@%$EXTRA_LIBS%g
13774 s%@EXTRADEFS@%$EXTRADEFS%g
13775 s%@LD_LIBS@%$LD_LIBS%g
13776 s%@SET_MAKE@%$SET_MAKE%g
13777 s%@GL_TOOLKIT_DIR@%$GL_TOOLKIT_DIR%g
13778 s%@subdirs@%$subdirs%g
13783 cat >> $CONFIG_STATUS <<\EOF
13785 # Split the substitutions into bite-sized pieces for seds with
13786 # small command number limits, like on Digital OSF/1 and HP-UX.
13787 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
13788 ac_file
=1 # Number of current file.
13789 ac_beg
=1 # First line for current file.
13790 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
13793 while $ac_more_lines; do
13794 if test $ac_beg -gt 1; then
13795 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
13797 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
13799 if test ! -s conftest.s
$ac_file; then
13800 ac_more_lines
=false
13801 rm -f conftest.s
$ac_file
13803 if test -z "$ac_sed_cmds"; then
13804 ac_sed_cmds
="sed -f conftest.s$ac_file"
13806 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
13808 ac_file
=`expr $ac_file + 1`
13810 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
13813 if test -z "$ac_sed_cmds"; then
13818 cat >> $CONFIG_STATUS <<EOF
13820 CONFIG_FILES=\${CONFIG_FILES-"wx-config
13827 cat >> $CONFIG_STATUS <<\EOF
13828 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
13829 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
13831 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
13832 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
13833 *) ac_file_in
="${ac_file}.in" ;;
13836 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
13838 # Remove last slash and all that follows it. Not all systems have dirname.
13839 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
13840 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
13841 # The file is in a subdirectory.
13842 test ! -d "$ac_dir" && mkdir "$ac_dir"
13843 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
13844 # A "../" for each directory in $ac_dir_suffix.
13845 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
13847 ac_dir_suffix
= ac_dots
=
13850 case "$ac_given_srcdir" in
13852 if test -z "$ac_dots"; then top_srcdir
=.
13853 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
13854 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
13855 *) # Relative path.
13856 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
13857 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
13860 case "$ac_given_INSTALL" in
13861 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
13862 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
13865 echo creating
"$ac_file"
13867 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
13869 *Makefile
*) ac_comsub
="1i\\
13870 # $configure_input" ;;
13874 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
13876 s%@configure_input@%$configure_input%g
13877 s%@srcdir@%$srcdir%g
13878 s%@top_srcdir@%$top_srcdir%g
13879 s%@INSTALL@%$INSTALL%g
13880 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
13884 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
13885 # NAME is the cpp macro being defined and VALUE is the value it is being given.
13887 # ac_d sets the value in "#define NAME VALUE" lines.
13888 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
13889 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
13892 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
13893 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
13894 ac_uB
='\([ ]\)%\1#\2define\3'
13897 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
13898 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
13899 ac_eB
='$%\1#\2define\3'
13903 if test "${CONFIG_HEADERS+set}" != set; then
13905 cat >> $CONFIG_STATUS <<EOF
13906 CONFIG_HEADERS="setup.h:setup.h.in"
13908 cat >> $CONFIG_STATUS <<\EOF
13910 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
13911 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
13913 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
13914 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
13915 *) ac_file_in
="${ac_file}.in" ;;
13918 echo creating
$ac_file
13920 rm -f conftest.frag conftest.
in conftest.out
13921 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
13922 cat $ac_file_inputs > conftest.
in
13926 # Transform confdefs.h into a sed script conftest.vals that substitutes
13927 # the proper values into config.h.in to produce config.h. And first:
13928 # Protect against being on the right side of a sed subst in config.status.
13929 # Protect against being in an unquoted here document in config.status.
13930 rm -f conftest.vals
13931 cat > conftest.hdr
<<\EOF
13934 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
13938 sed -n -f conftest.hdr confdefs.h > conftest.vals
13941 # This sed command replaces #undef with comments. This is necessary, for
13942 # example, in the case of _POSIX_SOURCE, which is predefined and required
13943 # on some systems where configure will not decide to define it.
13944 cat >> conftest.vals <<\EOF
13945 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
13948 # Break up conftest.vals because some shells have a limit on
13949 # the size of here documents, and old seds have small limits too.
13951 rm -f conftest.tail
13954 ac_lines=`grep -c . conftest.vals
`
13955 # grep -c gives empty output for an empty file on some AIX systems.
13956 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
13957 # Write a limited-size here document to conftest.frag.
13958 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
13959 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
13961 sed -f conftest.frag conftest.in > conftest.out
13963 mv conftest.out conftest.in
13964 ' >> $CONFIG_STATUS
13965 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
13966 rm -f conftest.vals
13967 mv conftest.tail conftest.vals
13969 rm -f conftest.vals
13971 cat >> $CONFIG_STATUS <<\EOF
13972 rm -f conftest.frag conftest.h
13973 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
13974 cat conftest.in >> conftest.h
13976 if cmp -s $ac_file conftest.h 2>/dev/null; then
13977 echo "$ac_file is unchanged"
13980 # Remove last slash and all that follows it. Not all systems have dirname.
13981 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
13982 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
13983 # The file is in a subdirectory.
13984 test ! -d "$ac_dir" && mkdir "$ac_dir"
13987 mv conftest.h $ac_file
13992 cat >> $CONFIG_STATUS <<EOF
13994 TOOLKIT_DIR="${TOOLKIT_DIR}"
13999 cat >> $CONFIG_STATUS <<\EOF
14002 mv wx-config wx${TOOLKIT_DIR}-config
14003 ${LN_S} wx${TOOLKIT_DIR}-config wx-config
14006 if test ! -d lib; then
14009 if test ! -d lib/wx; then
14012 if test ! -d lib/wx/include; then
14013 mkdir lib/wx/include
14015 if test ! -d lib/wx/include/wx; then
14016 mkdir lib/wx/include/wx
14018 if test ! -d lib/wx/include/wx/${TOOLKIT_DIR}; then
14019 mkdir lib/wx/include/wx/${TOOLKIT_DIR}
14021 if test -f setup.h; then
14022 cp -f setup.h lib/wx/include/wx/${TOOLKIT_DIR}/setup.h
14026 if test ! -d include; then
14029 if test ! -d include/wx; then
14032 if test ! -d include/wx/${TOOLKIT_DIR}; then
14033 mkdir include/wx/${TOOLKIT_DIR}
14035 if test -f setup.h; then
14036 mv -f setup.h include/wx/${TOOLKIT_DIR}/setup.h
14042 chmod +x $CONFIG_STATUS
14043 rm -fr confdefs* $ac_clean_files
14044 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
14046 if test "$no_recursion" != yes; then
14048 # Remove --cache-file and --srcdir arguments so they do not pile up.
14049 ac_sub_configure_args=
14051 for ac_arg in $ac_configure_args; do
14052 if test -n "$ac_prev"; then
14057 -cache-file | --cache-file | --cache-fil | --cache-fi \
14058 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
14059 ac_prev=cache_file ;;
14060 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
14061 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
14063 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
14065 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
14067 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
14071 for ac_config_dir in demos samples utils; do
14073 # Do not complain, so a configure script can configure whichever
14074 # parts of a large source tree are present.
14075 if test ! -d $srcdir/$ac_config_dir; then
14079 echo configuring in $ac_config_dir
14084 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
14086 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
14094 # A "../" for each directory in /$ac_config_dir.
14095 ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
14098 .) # No --srcdir option. We are building in place.
14099 ac_sub_srcdir=$srcdir ;;
14100 /*) # Absolute path.
14101 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
14102 *) # Relative path.
14103 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
14106 # Check for guested configure; otherwise get Cygnus style configure.
14107 if test -f $ac_sub_srcdir/configure; then
14108 ac_sub_configure=$ac_sub_srcdir/configure
14109 elif test -f $ac_sub_srcdir/configure.in; then
14110 ac_sub_configure=$ac_configure
14112 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
14116 # The recursion is here.
14117 if test -n "$ac_sub_configure"; then
14119 # Make the cache file name correct relative to the subdirectory.
14120 case "$cache_file" in
14121 /*) ac_sub_cache_file=$cache_file ;;
14122 *) # Relative path.
14123 ac_sub_cache_file="$ac_dots$cache_file" ;;
14125 case "$ac_given_INSTALL" in
14126 [/$]*) INSTALL="$ac_given_INSTALL" ;;
14127 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
14130 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
14131 # The eval makes quoting arguments work.
14132 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
14135 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }