3 # From configure.in Id: configure.in
42 # Guess values for system-dependent variables and create Makefiles.
43 # Generated automatically using autoconf version 2.13
44 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
46 # This configure script is free software; the Free Software Foundation
47 # gives unlimited permission to copy, distribute and modify it.
51 ac_default_prefix
=/usr
/local
52 # Any additions from configure.in:
54 --enable-gui use GUI classes"
58 --with-motif use Motif/Lesstif"
62 --with-cygwin use Cygwin for MS-Windows"
64 --with-mingw use GCC Minimal MS-Windows"
66 --with-pm use OS/2 Presentation Manager"
68 --with-gtk-prefix=PFX Prefix where GTK is installed"
70 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed"
72 --with-libpng use libpng (PNG image format)"
74 --with-libjpeg use libjpeg (JPEG file format)"
76 --with-libtiff use libtiff (TIFF file format)"
78 --with-opengl use OpenGL (or Mesa)"
80 --with-dmalloc use dmalloc library (www.letters.com/dmalloc)"
82 --with-zlib use zlib for LZW compression"
84 --with-odbc use the IODBC and wxODBC classes"
86 --enable-shared create shared library code"
88 --enable-burnt_name create set name in shared library "
90 --enable-optimise create optimised code"
92 --enable-debug same as debug_flag and debug_info"
94 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)"
96 --enable-debug_info create code with debugging information"
98 --enable-debug_gdb create code with extra GDB debugging information"
100 --enable-debug_cntxt use wxDebugContext"
102 --enable-mem_tracing create code with memory tracing"
104 --enable-profile create code with profiling information"
106 --enable-no_rtti create code without RTTI information"
108 --enable-no_exceptions create code without exceptions information"
110 --enable-permissive compile code disregarding strict ANSI"
112 --enable-no_deps create code without dependency information"
114 --enable-intl use internationalization system"
116 --enable-config use wxConfig (and derived) classes"
118 --enable-sockets use socket/network classes"
120 --enable-dialupman use dialup network classes"
122 --enable-ipc use interprocess communication (wxSocket etc.)"
124 --enable-apple_ieee use the Apple IEEE codec"
126 --enable-timedate use date/time classes"
128 --enable-wave use wxWave class"
130 --enable-fraction use wxFraction class"
132 --enable-dynlib use wxLibrary class for DLL loading"
134 --enable-longlong use wxLongLong class"
136 --enable-log use logging system"
138 --enable-streams use wxStream etc classes"
140 --enable-file use wxFile classes"
142 --enable-textfile use wxTextFile classes"
144 --enable-unicode compile wxString with Unicode support"
146 --enable-wcsrtombs use wcsrtombs instead of buggy (GNU libc1/Linux libc5) wcstombs"
148 --enable-wxprintfv use wxWindows implementation of vprintf()"
150 --enable-joystick compile in joystick support (Linux only)"
152 --enable-std_iostreams use standard C++ stream classes"
154 --enable-filesystem use virtual file systems classes"
156 --enable-fs_inet use virtual HTTP/FTP filesystems"
158 --enable-fs_zip use virtual ZIP filesystems"
160 --enable-zipstream use wxZipInputStream"
162 --enable-threads use threads"
164 --enable-serial use class serialization"
166 --enable-docview use document view architecture"
168 --enable-help use help (using external browser at present)"
170 --enable-constraints use layout-constraints system"
172 --enable-printarch use printing architecture"
174 --enable-mdi use multiple document interface architecture"
176 --enable-postscript use wxPostscriptDC device context (default for gtk+)"
178 --enable-prologio use Prolog IO library"
180 --enable-resources use wxWindows resources"
182 --enable-xresources use X resources for save (default for gtk+)"
184 --enable-clipboard use wxClipboard classes"
186 --enable-dnd use Drag'n'Drop classes"
188 --enable-wxtree make wxTree library"
190 --enable-controls use all usual controls"
192 --enable-accel use accelerators"
194 --enable-caret use wxCaret class"
196 --enable-bmpbutton use wxBitmapButton class"
198 --enable-checkbox use wxCheckBox class"
200 --enable-checklst use wxCheckListBox (listbox with checkboxes) class"
202 --enable-choice use wxChoice class"
204 --enable-combobox use wxComboBox classes"
206 --enable-gauge use wxGauge class"
208 --enable-grid use wxGrid class"
210 --enable-newgrid use new wxGrid class"
212 --enable-imaglist use wxImageList class"
214 --enable-listbox use wxListBox class"
216 --enable-listctrl use wxListCtrl class"
218 --enable-notebook use wxNotebook class"
220 --enable-radiobox use wxRadioBox class"
222 --enable-radiobtn use wxRadioButton class"
224 --enable-sash use wxSashWindow class"
226 --enable-scrollbar use wxScrollBar class and scrollable windows"
228 --enable-slider use wxSlider class"
230 --enable-spinbtn use wxSpinButton class"
232 --enable-spinctrl use wxSpinCtrl class"
234 --enable-splitter use wxSplitterWindow class"
236 --enable-statbmp use wxStaticBitmap class"
238 --enable-statbox use wxStaticBox class"
240 --enable-statline use wxStaticLine class"
242 --enable-statusbar use wxStatusBar class"
244 --enable-tabdialog use wxTabControl class"
246 --enable-toolbar use wxToolBar class"
248 --enable-tbarnative use native wxToolBar class"
250 --enable-tbarsmpl use wxToolBarSimple class"
252 --enable-treectrl use wxTreeCtrl class"
254 --enable-commondlg use common dialogs (wxDirDialog, wxProgressDialog, wxTextDialog, ...)"
256 --enable-dirdlg use wxDirDialog"
258 --enable-textdlg use wxTextDialog"
260 --enable-tipdlg use startup tips"
262 --enable-progressdlg use wxProgressDialog"
264 --enable-miniframe use wxMiniFrame class"
266 --enable-html use wxHTML sub-library"
268 --enable-tooltips use wxToolTip class"
270 --enable-splines use spline drawing code"
272 --enable-validators use wxValidator and derived classes"
274 --enable-busyinfo use wxBusyInfo"
276 --enable-plot use wxPlot"
278 --enable-gif use gif images (GIF file format)"
280 --enable-pcx use pcx images (PCX file format)"
282 --enable-pnm use pnm images (PNM file format)"
284 --with-x use the X Window System"
286 # Initialize some variables set by options.
287 # The variables have the same names as the options, with
288 # dashes changed to underlines.
290 cache_file
=.
/config.cache
299 program_transform_name
=s
,x
,x
,
307 bindir
='${exec_prefix}/bin'
308 sbindir
='${exec_prefix}/sbin'
309 libexecdir
='${exec_prefix}/libexec'
310 datadir
='${prefix}/share'
311 sysconfdir
='${prefix}/etc'
312 sharedstatedir
='${prefix}/com'
313 localstatedir
='${prefix}/var'
314 libdir
='${exec_prefix}/lib'
315 includedir
='${prefix}/include'
316 oldincludedir
='/usr/include'
317 infodir
='${prefix}/info'
318 mandir
='${prefix}/man'
320 # Initialize some other variables.
323 SHELL
=${CONFIG_SHELL-/bin/sh}
324 # Maximum number of lines to put in a shell here document.
331 # If the previous option needs an argument, assign it.
332 if test -n "$ac_prev"; then
333 eval "$ac_prev=\$ac_option"
339 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
343 # Accept the important Cygnus configure options, so we can diagnose typos.
347 -bindir | --bindir | --bindi | --bind | --bin | --bi)
349 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
350 bindir
="$ac_optarg" ;;
352 -build | --build | --buil | --bui | --bu)
354 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
355 build
="$ac_optarg" ;;
357 -cache-file | --cache-file | --cache-fil | --cache-fi \
358 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
359 ac_prev
=cache_file
;;
360 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
361 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
362 cache_file
="$ac_optarg" ;;
364 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
366 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
368 datadir
="$ac_optarg" ;;
370 -disable-* | --disable-*)
371 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
372 # Reject names that are not valid shell variable names.
373 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
374 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
376 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
377 eval "enable_${ac_feature}=no" ;;
379 -enable-* | --enable-*)
380 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
381 # Reject names that are not valid shell variable names.
382 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
383 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
385 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
390 eval "enable_${ac_feature}='$ac_optarg'" ;;
392 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
393 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
394 | --exec | --exe | --ex)
395 ac_prev
=exec_prefix
;;
396 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
397 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
398 | --exec=* | --exe=* | --ex=*)
399 exec_prefix
="$ac_optarg" ;;
401 -gas | --gas | --ga | --g)
402 # Obsolete; use --with-gas.
405 -help | --help | --hel | --he)
406 # Omit some internal or obsolete options to make the list less imposing.
407 # This message is too long to be a string in the A/UX 3.1 sh.
409 Usage: configure [options] [host]
410 Options: [defaults in brackets after descriptions]
412 --cache-file=FILE cache test results in FILE
413 --help print this message
414 --no-create do not create output files
415 --quiet, --silent do not print \`checking...' messages
416 --version print the version of autoconf that created configure
417 Directory and file names:
418 --prefix=PREFIX install architecture-independent files in PREFIX
420 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
422 --bindir=DIR user executables in DIR [EPREFIX/bin]
423 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
424 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
425 --datadir=DIR read-only architecture-independent data in DIR
427 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
428 --sharedstatedir=DIR modifiable architecture-independent data in DIR
430 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
431 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
432 --includedir=DIR C header files in DIR [PREFIX/include]
433 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
434 --infodir=DIR info documentation in DIR [PREFIX/info]
435 --mandir=DIR man documentation in DIR [PREFIX/man]
436 --srcdir=DIR find the sources in DIR [configure dir or ..]
437 --program-prefix=PREFIX prepend PREFIX to installed program names
438 --program-suffix=SUFFIX append SUFFIX to installed program names
439 --program-transform-name=PROGRAM
440 run sed PROGRAM on installed program names
444 --build=BUILD configure for building on BUILD [BUILD=HOST]
445 --host=HOST configure for HOST [guessed]
446 --target=TARGET configure for TARGET [TARGET=HOST]
447 Features and packages:
448 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
449 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
450 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
451 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
452 --x-includes=DIR X include files are in DIR
453 --x-libraries=DIR X library files are in DIR
455 if test -n "$ac_help"; then
456 echo "--enable and --with options recognized:$ac_help"
460 -host | --host | --hos | --ho)
462 -host=* | --host=* | --hos=* | --ho=*)
465 -includedir | --includedir | --includedi | --included | --include \
466 | --includ | --inclu | --incl | --inc)
467 ac_prev
=includedir
;;
468 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
469 | --includ=* | --inclu=* | --incl=* | --inc=*)
470 includedir
="$ac_optarg" ;;
472 -infodir | --infodir | --infodi | --infod | --info | --inf)
474 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
475 infodir
="$ac_optarg" ;;
477 -libdir | --libdir | --libdi | --libd)
479 -libdir=* | --libdir=* | --libdi=* | --libd=*)
480 libdir
="$ac_optarg" ;;
482 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
483 | --libexe | --libex | --libe)
484 ac_prev
=libexecdir
;;
485 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
486 | --libexe=* | --libex=* | --libe=*)
487 libexecdir
="$ac_optarg" ;;
489 -localstatedir | --localstatedir | --localstatedi | --localstated \
490 | --localstate | --localstat | --localsta | --localst \
491 | --locals | --local | --loca | --loc | --lo)
492 ac_prev
=localstatedir
;;
493 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
494 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
495 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
496 localstatedir
="$ac_optarg" ;;
498 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
500 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
501 mandir
="$ac_optarg" ;;
504 # Obsolete; use --without-fp.
507 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
511 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
512 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
515 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
516 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
517 | --oldin | --oldi | --old | --ol | --o)
518 ac_prev
=oldincludedir
;;
519 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
520 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
521 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
522 oldincludedir
="$ac_optarg" ;;
524 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
526 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
527 prefix
="$ac_optarg" ;;
529 -program-prefix | --program-prefix | --program-prefi | --program-pref \
530 | --program-pre | --program-pr | --program-p)
531 ac_prev
=program_prefix
;;
532 -program-prefix=* | --program-prefix=* | --program-prefi=* \
533 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
534 program_prefix
="$ac_optarg" ;;
536 -program-suffix | --program-suffix | --program-suffi | --program-suff \
537 | --program-suf | --program-su | --program-s)
538 ac_prev
=program_suffix
;;
539 -program-suffix=* | --program-suffix=* | --program-suffi=* \
540 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
541 program_suffix
="$ac_optarg" ;;
543 -program-transform-name | --program-transform-name \
544 | --program-transform-nam | --program-transform-na \
545 | --program-transform-n | --program-transform- \
546 | --program-transform | --program-transfor \
547 | --program-transfo | --program-transf \
548 | --program-trans | --program-tran \
549 | --progr-tra | --program-tr | --program-t)
550 ac_prev
=program_transform_name
;;
551 -program-transform-name=* | --program-transform-name=* \
552 | --program-transform-nam=* | --program-transform-na=* \
553 | --program-transform-n=* | --program-transform-=* \
554 | --program-transform=* | --program-transfor=* \
555 | --program-transfo=* | --program-transf=* \
556 | --program-trans=* | --program-tran=* \
557 | --progr-tra=* | --program-tr=* | --program-t=*)
558 program_transform_name
="$ac_optarg" ;;
560 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
561 | -silent | --silent | --silen | --sile | --sil)
564 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
566 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
568 sbindir
="$ac_optarg" ;;
570 -sharedstatedir | --sharedstatedir | --sharedstatedi \
571 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
572 | --sharedst | --shareds | --shared | --share | --shar \
574 ac_prev
=sharedstatedir
;;
575 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
576 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
577 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
579 sharedstatedir
="$ac_optarg" ;;
581 -site | --site | --sit)
583 -site=* | --site=* | --sit=*)
586 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
588 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
589 srcdir
="$ac_optarg" ;;
591 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
592 | --syscon | --sysco | --sysc | --sys | --sy)
593 ac_prev
=sysconfdir
;;
594 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
595 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
596 sysconfdir
="$ac_optarg" ;;
598 -target | --target | --targe | --targ | --tar | --ta | --t)
600 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
601 target
="$ac_optarg" ;;
603 -v | -verbose | --verbose | --verbos | --verbo | --verb)
606 -version | --version | --versio | --versi | --vers)
607 echo "configure generated by autoconf version 2.13"
611 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
612 # Reject names that are not valid shell variable names.
613 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
614 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
616 ac_package
=`echo $ac_package| sed 's/-/_/g'`
621 eval "with_${ac_package}='$ac_optarg'" ;;
623 -without-* | --without-*)
624 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
625 # Reject names that are not valid shell variable names.
626 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
627 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
629 ac_package
=`echo $ac_package| sed 's/-/_/g'`
630 eval "with_${ac_package}=no" ;;
633 # Obsolete; use --with-x.
636 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
637 | --x-incl | --x-inc | --x-in | --x-i)
638 ac_prev
=x_includes
;;
639 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
640 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
641 x_includes
="$ac_optarg" ;;
643 -x-libraries | --x-libraries | --x-librarie | --x-librari \
644 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
645 ac_prev
=x_libraries
;;
646 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
647 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
648 x_libraries
="$ac_optarg" ;;
650 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
654 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
655 echo "configure: warning: $ac_option: invalid host type" 1>&2
657 if test "x$nonopt" != xNONE
; then
658 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
666 if test -n "$ac_prev"; then
667 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
670 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
672 # File descriptor usage:
675 # 2 errors and warnings
676 # 3 some systems may open it to /dev/tty
677 # 4 used on the Kubota Titan
678 # 6 checking for... messages and results
679 # 5 compiler messages saved in config.log
680 if test "$silent" = yes; then
688 This file contains any messages produced by compilers while
689 running configure, to aid debugging if configure makes a mistake.
692 # Strip out --no-create and --no-recursion so they do not pile up.
693 # Also quote any args containing shell metacharacters.
698 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
699 | --no-cr | --no-c) ;;
700 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
701 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
702 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
703 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
704 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
709 # Only set these to C if already set. These must not be set unconditionally
710 # because not all systems understand e.g. LANG=C (notably SCO).
711 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
712 # Non-C LC_CTYPE values break the ctype check.
713 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
714 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
715 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
716 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
718 # confdefs.h avoids OS command line length limits that DEFS can exceed.
719 rm -rf conftest
* confdefs.h
720 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
723 # A filename unique to this package, relative to the directory that
724 # configure is in, which we can look for to find out if srcdir is correct.
725 ac_unique_file
=wx
-config.
in
727 # Find the source files, if location was not specified.
728 if test -z "$srcdir"; then
729 ac_srcdir_defaulted
=yes
730 # Try the directory containing this script, then its parent.
732 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
733 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
735 if test ! -r $srcdir/$ac_unique_file; then
739 ac_srcdir_defaulted
=no
741 if test ! -r $srcdir/$ac_unique_file; then
742 if test "$ac_srcdir_defaulted" = yes; then
743 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
745 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
748 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
750 # Prefer explicitly selected file to automatically selected ones.
751 if test -z "$CONFIG_SITE"; then
752 if test "x$prefix" != xNONE
; then
753 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
755 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
758 for ac_site_file
in $CONFIG_SITE; do
759 if test -r "$ac_site_file"; then
760 echo "loading site script $ac_site_file"
765 if test -r "$cache_file"; then
766 echo "loading cache $cache_file"
769 echo "creating cache $cache_file"
774 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
775 ac_cpp
='$CPP $CPPFLAGS'
776 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
777 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
778 cross_compiling
=$ac_cv_prog_cc_cross
782 if (echo "testing\c"; echo 1,2,3) | grep c
>/dev
/null
; then
783 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
784 if (echo -n testing
; echo 1,2,3) | sed s
/-n/xn
/ | grep xn
>/dev
/null
; then
791 ac_n
= ac_c
='\c' ac_t
=
797 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
798 if test -f $ac_dir/install-sh; then
800 ac_install_sh
="$ac_aux_dir/install-sh -c"
802 elif test -f $ac_dir/install.sh
; then
804 ac_install_sh
="$ac_aux_dir/install.sh -c"
808 if test -z "$ac_aux_dir"; then
809 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
811 ac_config_guess
=$ac_aux_dir/config.guess
812 ac_config_sub
=$ac_aux_dir/config.sub
813 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
816 # Do some error checking and defaulting for the host and target type.
818 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
821 # 1. You are not allowed to specify --host, --target, and nonopt at the
823 # 2. Host defaults to nonopt.
824 # 3. If nonopt is not specified, then host defaults to the current host,
825 # as determined by config.guess.
826 # 4. Target and build default to nonopt.
827 # 5. If nonopt is not specified, then target and build default to host.
829 # The aliases save the names the user supplied, while $host etc.
830 # will get canonicalized.
831 case $host---$target---$nonopt in
832 NONE
---*---* | *---NONE---* | *---*---NONE) ;;
833 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
837 # Make sure we can run config.sub.
838 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
839 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
842 echo $ac_n "checking host system type""... $ac_c" 1>&6
843 echo "configure:844: checking host system type" >&5
846 case "$host_alias" in
850 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
851 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
853 *) host_alias
=$nonopt ;;
857 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
858 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
859 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
860 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
861 echo "$ac_t""$host" 1>&6
863 echo $ac_n "checking target system type""... $ac_c" 1>&6
864 echo "configure:865: checking target system type" >&5
867 case "$target_alias" in
870 NONE
) target_alias
=$host_alias ;;
871 *) target_alias
=$nonopt ;;
875 target
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
876 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
877 target_vendor
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
878 target_os
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
879 echo "$ac_t""$target" 1>&6
881 echo $ac_n "checking build system type""... $ac_c" 1>&6
882 echo "configure:883: checking build system type" >&5
885 case "$build_alias" in
888 NONE
) build_alias
=$host_alias ;;
889 *) build_alias
=$nonopt ;;
893 build
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
894 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
895 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
896 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
897 echo "$ac_t""$build" 1>&6
899 test "$host_alias" != "$target_alias" &&
900 test "$program_prefix$program_suffix$program_transform_name" = \
902 program_prefix
=${target_alias}-
906 WX_MAJOR_VERSION_NUMBER
=2
907 WX_MINOR_VERSION_NUMBER
=1
913 WX_VERSION
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER.
$WX_RELEASE_NUMBER
915 WX_RELEASE
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER
916 WX_CURRENT
=`expr $WX_RELEASE_NUMBER - $WX_INTERFACE_AGE`
917 WX_REVISION
=$WX_INTERFACE_AGE
918 WX_AGE
=`expr $WX_BINARY_AGE - $WX_INTERFACE_AGE`
944 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
946 ALL_TOOLKITS
="CYGWIN GTK MINGW MOTIF WINE PM"
949 DEFAULT_wxUSE_MOTIF
=0
954 DEFAULT_DEFAULT_wxUSE_GTK
=0
955 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
956 DEFAULT_DEFAULT_wxUSE_MSW
=0
957 DEFAULT_DEFAULT_wxUSE_WINE
=0
958 DEFAULT_DEFAULT_wxUSE_PM
=0
965 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
966 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
967 cat >> confdefs.h
<<\EOF
974 cat >> confdefs.h
<<\EOF
979 if test "x$TMP" = "xalpha"; then
981 cat >> confdefs.h
<<\EOF
986 DEFAULT_DEFAULT_wxUSE_GTK
=1
988 *-*-irix5* | *-*-irix6* )
991 cat >> confdefs.h
<<\EOF
995 cat >> confdefs.h
<<\EOF
999 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1005 cat >> confdefs.h
<<\EOF
1009 cat >> confdefs.h
<<\EOF
1010 #define __SOLARIS__ 1
1013 cat >> confdefs.h
<<\EOF
1017 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1018 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1024 cat >> confdefs.h
<<\EOF
1028 cat >> confdefs.h
<<\EOF
1032 cat >> confdefs.h
<<\EOF
1036 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1038 *-*-freebsd* | *-*-netbsd*)
1041 cat >> confdefs.h
<<\EOF
1042 #define __FREEBSD__ 1
1045 cat >> confdefs.h
<<\EOF
1049 DEFAULT_DEFAULT_wxUSE_GTK
=1
1054 cat >> confdefs.h
<<\EOF
1058 cat >> confdefs.h
<<\EOF
1062 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1067 cat >> confdefs.h
<<\EOF
1071 cat >> confdefs.h
<<\EOF
1075 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1080 cat >> confdefs.h
<<\EOF
1084 cat >> confdefs.h
<<\EOF
1088 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1094 cat >> confdefs.h
<<\EOF
1098 cat >> confdefs.h
<<\EOF
1102 cat >> confdefs.h
<<\EOF
1106 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1109 *-*-cygwin32* | *-*-mingw32* )
1112 cat >> confdefs.h
<<\EOF
1116 cat >> confdefs.h
<<\EOF
1120 cat >> confdefs.h
<<\EOF
1121 #define __WINDOWS__ 1
1124 cat >> confdefs.h
<<\EOF
1125 #define __GNUWIN32__ 1
1128 cat >> confdefs.h
<<\EOF
1132 cat >> confdefs.h
<<\EOF
1133 #define WINVER 0x0400
1137 DEFAULT_DEFAULT_wxUSE_MSW
=1
1141 cat >> confdefs.h
<<\EOF
1146 DEFAULT_DEFAULT_wxUSE_PM
=1
1151 cat >> confdefs.h
<<\EOF
1158 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
1161 if test "$USE_UNIX" = 1 ; then
1163 cat >> confdefs.h
<<\EOF
1168 SRC_SUBDIRS
="$SRC_SUBDIRS unix"
1169 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS unix"
1172 if test "$USE_BEOS" = 1; then
1173 SRC_SUBDIRS
="$SRC_SUBDIRS be"
1174 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS be"
1177 if test "$USE_LINUX" = 1; then
1178 echo $ac_n "checking for gettext in -lc""... $ac_c" 1>&6
1179 echo "configure:1180: checking for gettext in -lc" >&5
1180 ac_lib_var
=`echo c'_'gettext | sed 'y%./+-%__p_%'`
1181 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1182 echo $ac_n "(cached) $ac_c" 1>&6
1184 ac_save_LIBS
="$LIBS"
1186 cat > conftest.
$ac_ext <<EOF
1187 #line 1188 "configure"
1188 #include "confdefs.h"
1189 /* Override any gcc2 internal prototype to avoid an error. */
1190 /* We use char because int might match the return type of a gcc2
1191 builtin and then its argument prototype would still apply. */
1198 if { (eval echo configure
:1199: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
1200 eval "ac_cv_lib_$ac_lib_var=yes"
1202 echo "configure: failed program was:" >&5
1203 cat conftest.
$ac_ext >&5
1205 eval "ac_cv_lib_$ac_lib_var=no"
1208 LIBS
="$ac_save_LIBS"
1211 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1212 echo "$ac_t""yes" 1>&6
1213 cat >> confdefs.h
<<\EOF
1214 #define wxHAVE_GLIBC2 1
1218 echo "$ac_t""no" 1>&6
1226 wx_arg_cache_file
="configarg.cache"
1227 echo "loading argument cache $wx_arg_cache_file"
1228 rm -f ${wx_arg_cache_file}.tmp
1229 touch ${wx_arg_cache_file}.tmp
1230 touch ${wx_arg_cache_file}
1234 if test $DEBUG_CONFIGURE = 1; then
1235 DEFAULT_wxUSE_THREADS
=yes
1237 DEFAULT_wxUSE_SHARED
=yes
1238 DEFAULT_wxUSE_BURNT_NAME
=no
1239 DEFAULT_wxUSE_OPTIMISE
=yes
1240 DEFAULT_wxUSE_PROFILE
=no
1241 DEFAULT_wxUSE_NO_DEPS
=no
1242 DEFAULT_wxUSE_NO_RTTI
=no
1243 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1244 DEFAULT_wxUSE_PERMISSIVE
=no
1245 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1246 DEFAULT_wxUSE_DEBUG_INFO
=yes
1247 DEFAULT_wxUSE_DEBUG_GDB
=yes
1248 DEFAULT_wxUSE_MEM_TRACING
=no
1249 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1250 DEFAULT_wxUSE_DMALLOC
=no
1251 DEFAULT_wxUSE_APPLE_IEEE
=no
1253 DEFAULT_wxUSE_LOG
=yes
1255 DEFAULT_wxUSE_GUI
=yes
1257 DEFAULT_wxUSE_ZLIB
=no
1258 DEFAULT_wxUSE_LIBPNG
=no
1259 DEFAULT_wxUSE_LIBJPEG
=no
1260 DEFAULT_wxUSE_LIBTIFF
=no
1261 DEFAULT_wxUSE_ODBC
=no
1262 DEFAULT_wxUSE_OPENGL
=no
1264 DEFAULT_wxUSE_STD_IOSTREAM
=no
1265 DEFAULT_wxUSE_FILE
=no
1266 DEFAULT_wxUSE_TEXTFILE
=no
1267 DEFAULT_wxUSE_TIMEDATE
=no
1268 DEFAULT_wxUSE_WAVE
=no
1269 DEFAULT_wxUSE_INTL
=no
1270 DEFAULT_wxUSE_CONFIG
=no
1271 DEFAULT_wxUSE_STREAMS
=no
1272 DEFAULT_wxUSE_SOCKETS
=no
1273 DEFAULT_wxUSE_DIALUP_MANAGER
=no
1274 DEFAULT_wxUSE_SERIAL
=no
1275 DEFAULT_wxUSE_JOYSTICK
=no
1276 DEFAULT_wxUSE_DYNLIB_CLASS
=no
1277 DEFAULT_wxUSE_LONGLONG
=no
1279 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
1280 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
1281 DEFAULT_wxUSE_POSTSCRIPT
=no
1283 DEFAULT_wxUSE_X_RESOURCES
=no
1284 DEFAULT_wxUSE_CLIPBOARD
=no
1285 DEFAULT_wxUSE_TOOLTIPS
=no
1286 DEFAULT_wxUSE_DRAG_AND_DROP
=no
1287 DEFAULT_wxUSE_SPLINES
=no
1289 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
1290 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
1291 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
1293 DEFAULT_wxUSE_PROLOGIO
=no
1294 DEFAULT_wxUSE_RESOURCES
=no
1295 DEFAULT_wxUSE_CONSTRAINTS
=no
1296 DEFAULT_wxUSE_IPC
=no
1297 DEFAULT_wxUSE_HELP
=no
1298 DEFAULT_wxUSE_WXTREE
=no
1299 DEFAULT_wxUSE_METAFILE
=no
1301 DEFAULT_wxUSE_COMMONDLGS
=no
1302 DEFAULT_wxUSE_DIRDLG
=no
1303 DEFAULT_wxUSE_TEXTDLG
=no
1304 DEFAULT_wxUSE_STARTUP_TIPS
=no
1305 DEFAULT_wxUSE_PROGRESSDLG
=no
1306 DEFAULT_wxUSE_MINIFRAME
=no
1307 DEFAULT_wxUSE_HTML
=no
1308 DEFAULT_wxUSE_FILESYSTEM
=no
1309 DEFAULT_wxUSE_FS_INET
=no
1310 DEFAULT_wxUSE_FS_ZIP
=no
1311 DEFAULT_wxUSE_BUSYINFO
=no
1312 DEFAULT_wxUSE_ZIPSTREAM
=no
1313 DEFAULT_wxUSE_VALIDATORS
=yes
1315 DEFAULT_wxUSE_ACCEL
=no
1316 DEFAULT_wxUSE_CARET
=no
1317 DEFAULT_wxUSE_BMPBUTTON
=no
1318 DEFAULT_wxUSE_CHECKBOX
=no
1319 DEFAULT_wxUSE_CHECKLST
=no
1320 DEFAULT_wxUSE_CHOICE
=yes
1321 DEFAULT_wxUSE_COMBOBOX
=no
1322 DEFAULT_wxUSE_GAUGE
=no
1323 DEFAULT_wxUSE_GRID
=no
1324 DEFAULT_wxUSE_NEW_GRID
=no
1325 DEFAULT_wxUSE_IMAGLIST
=no
1326 DEFAULT_wxUSE_LISTBOX
=no
1327 DEFAULT_wxUSE_LISTCTRL
=no
1328 DEFAULT_wxUSE_NOTEBOOK
=no
1329 DEFAULT_wxUSE_PLOT
=no
1330 DEFAULT_wxUSE_RADIOBOX
=no
1331 DEFAULT_wxUSE_RADIOBTN
=no
1332 DEFAULT_wxUSE_SASH
=no
1333 DEFAULT_wxUSE_SCROLLBAR
=no
1334 DEFAULT_wxUSE_SLIDER
=no
1335 DEFAULT_wxUSE_SPINBTN
=no
1336 DEFAULT_wxUSE_SPINCTRL
=no
1337 DEFAULT_wxUSE_SPLITTER
=no
1338 DEFAULT_wxUSE_STATBMP
=no
1339 DEFAULT_wxUSE_STATBOX
=no
1340 DEFAULT_wxUSE_STATLINE
=no
1341 DEFAULT_wxUSE_STATUSBAR
=yes
1342 DEFAULT_wxUSE_TABDIALOG
=no
1343 DEFAULT_wxUSE_TOOLBAR
=no
1344 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
1345 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
1346 DEFAULT_wxUSE_TREECTRL
=no
1348 DEFAULT_wxUSE_UNICODE
=no
1349 DEFAULT_wxUSE_WCSRTOMBS
=no
1351 DEFAULT_wxUSE_GIF
=no
1352 DEFAULT_wxUSE_PCX
=no
1353 DEFAULT_wxUSE_PNM
=no
1355 DEFAULT_wxUSE_THREADS
=yes
1357 DEFAULT_wxUSE_SHARED
=yes
1358 DEFAULT_wxUSE_BURNT_NAME
=no
1359 DEFAULT_wxUSE_OPTIMISE
=yes
1360 DEFAULT_wxUSE_PROFILE
=no
1361 DEFAULT_wxUSE_NO_DEPS
=no
1362 DEFAULT_wxUSE_NO_RTTI
=no
1363 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1364 DEFAULT_wxUSE_PERMISSIVE
=no
1365 DEFAULT_wxUSE_DEBUG_FLAG
=no
1366 DEFAULT_wxUSE_DEBUG_INFO
=no
1367 DEFAULT_wxUSE_DEBUG_GDB
=no
1368 DEFAULT_wxUSE_MEM_TRACING
=no
1369 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1370 DEFAULT_wxUSE_DMALLOC
=no
1371 DEFAULT_wxUSE_APPLE_IEEE
=yes
1373 DEFAULT_wxUSE_LOG
=yes
1375 DEFAULT_wxUSE_GUI
=yes
1377 DEFAULT_wxUSE_ZLIB
=yes
1378 DEFAULT_wxUSE_LIBPNG
=yes
1379 DEFAULT_wxUSE_LIBJPEG
=yes
1380 DEFAULT_wxUSE_LIBTIFF
=yes
1381 DEFAULT_wxUSE_ODBC
=no
1382 DEFAULT_wxUSE_OPENGL
=no
1384 DEFAULT_wxUSE_STD_IOSTREAM
=no
1385 DEFAULT_wxUSE_FILE
=yes
1386 DEFAULT_wxUSE_TEXTFILE
=yes
1387 DEFAULT_wxUSE_TIMEDATE
=yes
1388 DEFAULT_wxUSE_WAVE
=no
1389 DEFAULT_wxUSE_INTL
=yes
1390 DEFAULT_wxUSE_CONFIG
=yes
1391 DEFAULT_wxUSE_STREAMS
=yes
1392 DEFAULT_wxUSE_SOCKETS
=yes
1393 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
1394 DEFAULT_wxUSE_SERIAL
=yes
1395 DEFAULT_wxUSE_JOYSTICK
=yes
1396 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
1397 DEFAULT_wxUSE_LONGLONG
=yes
1399 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
1400 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
1401 DEFAULT_wxUSE_POSTSCRIPT
=yes
1403 DEFAULT_wxUSE_X_RESOURCES
=no
1404 DEFAULT_wxUSE_CLIPBOARD
=yes
1405 DEFAULT_wxUSE_TOOLTIPS
=yes
1406 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
1407 DEFAULT_wxUSE_SPLINES
=yes
1409 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
1410 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
1411 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
1413 DEFAULT_wxUSE_PROLOGIO
=yes
1414 DEFAULT_wxUSE_RESOURCES
=yes
1415 DEFAULT_wxUSE_CONSTRAINTS
=yes
1416 DEFAULT_wxUSE_IPC
=yes
1417 DEFAULT_wxUSE_HELP
=yes
1418 DEFAULT_wxUSE_WXTREE
=yes
1419 DEFAULT_wxUSE_METAFILE
=yes
1421 DEFAULT_wxUSE_COMMONDLGS
=yes
1422 DEFAULT_wxUSE_DIRDLG
=yes
1423 DEFAULT_wxUSE_TEXTDLG
=yes
1424 DEFAULT_wxUSE_STARTUP_TIPS
=yes
1425 DEFAULT_wxUSE_PROGRESSDLG
=yes
1426 DEFAULT_wxUSE_MINIFRAME
=yes
1427 DEFAULT_wxUSE_HTML
=yes
1428 DEFAULT_wxUSE_FILESYSTEM
=yes
1429 DEFAULT_wxUSE_FS_INET
=yes
1430 DEFAULT_wxUSE_FS_ZIP
=yes
1431 DEFAULT_wxUSE_BUSYINFO
=yes
1432 DEFAULT_wxUSE_ZIPSTREAM
=yes
1433 DEFAULT_wxUSE_VALIDATORS
=yes
1435 DEFAULT_wxUSE_ACCEL
=yes
1436 DEFAULT_wxUSE_CARET
=yes
1437 DEFAULT_wxUSE_BMPBUTTON
=yes
1438 DEFAULT_wxUSE_CHECKBOX
=yes
1439 DEFAULT_wxUSE_CHECKLST
=yes
1440 DEFAULT_wxUSE_CHOICE
=yes
1441 DEFAULT_wxUSE_COMBOBOX
=yes
1442 DEFAULT_wxUSE_GAUGE
=yes
1443 DEFAULT_wxUSE_GRID
=yes
1444 DEFAULT_wxUSE_NEW_GRID
=yes
1445 DEFAULT_wxUSE_IMAGLIST
=yes
1446 DEFAULT_wxUSE_LISTBOX
=yes
1447 DEFAULT_wxUSE_LISTCTRL
=yes
1448 DEFAULT_wxUSE_NOTEBOOK
=yes
1449 DEFAULT_wxUSE_PLOT
=yes
1450 DEFAULT_wxUSE_RADIOBOX
=yes
1451 DEFAULT_wxUSE_RADIOBTN
=yes
1452 DEFAULT_wxUSE_SASH
=yes
1453 DEFAULT_wxUSE_SCROLLBAR
=yes
1454 DEFAULT_wxUSE_SLIDER
=yes
1455 DEFAULT_wxUSE_SPINBTN
=yes
1456 DEFAULT_wxUSE_SPINCTRL
=yes
1457 DEFAULT_wxUSE_SPLITTER
=yes
1458 DEFAULT_wxUSE_STATBMP
=yes
1459 DEFAULT_wxUSE_STATBOX
=yes
1460 DEFAULT_wxUSE_STATLINE
=yes
1461 DEFAULT_wxUSE_STATUSBAR
=yes
1462 DEFAULT_wxUSE_TABDIALOG
=no
1463 DEFAULT_wxUSE_TOOLBAR
=yes
1464 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
1465 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
1466 DEFAULT_wxUSE_TREECTRL
=yes
1468 DEFAULT_wxUSE_UNICODE
=no
1469 DEFAULT_wxUSE_WCSRTOMBS
=no
1471 DEFAULT_wxUSE_GIF
=yes
1472 DEFAULT_wxUSE_PCX
=yes
1473 DEFAULT_wxUSE_PNM
=yes
1478 for toolkit
in `echo $ALL_TOOLKITS`; do
1479 LINE
=`grep "wxUSE_$toolkit" ${wx_arg_cache_file}`
1480 if test "x$LINE" != x
; then
1481 has_toolkit_in_cache
=1
1482 eval "DEFAULT_$LINE"
1483 eval "CACHE_$toolkit=1"
1489 echo $ac_n "checking "for --enable-gui"""... $ac_c" 1>&6
1490 echo "configure:1491: checking "for --enable-gui"" >&5
1492 # Check whether --enable-gui or --disable-gui was given.
1493 if test "${enable_gui+set}" = set; then
1494 enableval
="$enable_gui"
1496 if test "$enableval" = yes; then
1497 ac_cv_use_gui
='wxUSE_GUI=yes'
1499 ac_cv_use_gui
='wxUSE_GUI=no'
1504 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
1505 if test "x$LINE" != x
; then
1506 eval "DEFAULT_$LINE"
1511 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
1516 eval "$ac_cv_use_gui"
1517 if test "$no_cache" != 1; then
1518 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
1521 if test "$wxUSE_GUI" = yes; then
1522 echo "$ac_t""yes" 1>&6
1524 echo "$ac_t""no" 1>&6
1528 if test "$wxUSE_GUI" = "yes"; then
1530 # Check whether --with-gtk or --without-gtk was given.
1531 if test "${with_gtk+set}" = set; then
1533 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
1536 # Check whether --with-motif or --without-motif was given.
1537 if test "${with_motif+set}" = set; then
1538 withval
="$with_motif"
1539 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
1542 # Check whether --with-wine or --without-wine was given.
1543 if test "${with_wine+set}" = set; then
1544 withval
="$with_wine"
1545 wxUSE_WINE
="$withval" CACHE_WINE
=1 TOOLKIT_GIVEN
=1
1548 # Check whether --with-cygwin or --without-cygwin was given.
1549 if test "${with_cygwin+set}" = set; then
1550 withval
="$with_cygwin"
1551 wxUSE_CYGWIN
="$withval" CACHE_CYGWIN
=1 TOOLKIT_GIVEN
=1
1554 # Check whether --with-mingw or --without-mingw was given.
1555 if test "${with_mingw+set}" = set; then
1556 withval
="$with_mingw"
1557 wxUSE_MINGW
="$withval" CACHE_MINGW
=1 TOOLKIT_GIVEN
=1
1560 # Check whether --with-pm or --without-pm was given.
1561 if test "${with_pm+set}" = set; then
1563 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
1567 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
1568 if test "${with_gtk_prefix+set}" = set; then
1569 withval
="$with_gtk_prefix"
1570 gtk_config_prefix
="$withval"
1572 gtk_config_prefix
=""
1575 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
1576 if test "${with_gtk_exec_prefix+set}" = set; then
1577 withval
="$with_gtk_exec_prefix"
1578 gtk_config_exec_prefix
="$withval"
1580 gtk_config_exec_prefix
=""
1585 echo $ac_n "checking "for --with-libpng"""... $ac_c" 1>&6
1586 echo "configure:1587: checking "for --with-libpng"" >&5
1588 # Check whether --with-libpng or --without-libpng was given.
1589 if test "${with_libpng+set}" = set; then
1590 withval
="$with_libpng"
1592 if test "$withval" = yes; then
1593 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
1594 elif test "$withval" = no
; then
1595 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
1596 elif test "$withval" = sys
; then
1597 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
1599 { echo "configure: error: Invalid value for --with-libpng: should be yes, no or sys" 1>&2; exit 1; }
1604 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
1605 if test "x$LINE" != x
; then
1606 eval "DEFAULT_$LINE"
1611 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
1616 eval "$ac_cv_use_libpng"
1617 if test "$no_cache" != 1; then
1618 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
1621 if test "$wxUSE_LIBPNG" = yes; then
1622 echo "$ac_t""yes" 1>&6
1623 elif test "$wxUSE_LIBPNG" = no
; then
1624 echo "$ac_t""no" 1>&6
1625 elif test "$wxUSE_LIBPNG" = sys
; then
1626 echo "$ac_t""system version" 1>&6
1628 { echo "configure: error: Invalid value for --with-libpng: should be yes, no or sys" 1>&2; exit 1; }
1632 echo $ac_n "checking "for --with-libjpeg"""... $ac_c" 1>&6
1633 echo "configure:1634: checking "for --with-libjpeg"" >&5
1635 # Check whether --with-libjpeg or --without-libjpeg was given.
1636 if test "${with_libjpeg+set}" = set; then
1637 withval
="$with_libjpeg"
1639 if test "$withval" = yes; then
1640 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
1641 elif test "$withval" = no
; then
1642 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
1643 elif test "$withval" = sys
; then
1644 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
1646 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no or sys" 1>&2; exit 1; }
1651 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
1652 if test "x$LINE" != x
; then
1653 eval "DEFAULT_$LINE"
1658 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
1663 eval "$ac_cv_use_libjpeg"
1664 if test "$no_cache" != 1; then
1665 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
1668 if test "$wxUSE_LIBJPEG" = yes; then
1669 echo "$ac_t""yes" 1>&6
1670 elif test "$wxUSE_LIBJPEG" = no
; then
1671 echo "$ac_t""no" 1>&6
1672 elif test "$wxUSE_LIBJPEG" = sys
; then
1673 echo "$ac_t""system version" 1>&6
1675 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no or sys" 1>&2; exit 1; }
1679 echo $ac_n "checking "for --with-libtiff"""... $ac_c" 1>&6
1680 echo "configure:1681: checking "for --with-libtiff"" >&5
1682 # Check whether --with-libtiff or --without-libtiff was given.
1683 if test "${with_libtiff+set}" = set; then
1684 withval
="$with_libtiff"
1686 if test "$withval" = yes; then
1687 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
1689 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
1694 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
1695 if test "x$LINE" != x
; then
1696 eval "DEFAULT_$LINE"
1701 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
1706 eval "$ac_cv_use_libtiff"
1707 if test "$no_cache" != 1; then
1708 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
1711 if test "$wxUSE_LIBTIFF" = yes; then
1712 echo "$ac_t""yes" 1>&6
1714 echo "$ac_t""no" 1>&6
1718 echo $ac_n "checking "for --with-opengl"""... $ac_c" 1>&6
1719 echo "configure:1720: checking "for --with-opengl"" >&5
1721 # Check whether --with-opengl or --without-opengl was given.
1722 if test "${with_opengl+set}" = set; then
1723 withval
="$with_opengl"
1725 if test "$withval" = yes; then
1726 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
1728 ac_cv_use_opengl
='wxUSE_OPENGL=no'
1733 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
1734 if test "x$LINE" != x
; then
1735 eval "DEFAULT_$LINE"
1740 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
1745 eval "$ac_cv_use_opengl"
1746 if test "$no_cache" != 1; then
1747 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
1750 if test "$wxUSE_OPENGL" = yes; then
1751 echo "$ac_t""yes" 1>&6
1753 echo "$ac_t""no" 1>&6
1760 echo $ac_n "checking "for --with-dmalloc"""... $ac_c" 1>&6
1761 echo "configure:1762: checking "for --with-dmalloc"" >&5
1763 # Check whether --with-dmalloc or --without-dmalloc was given.
1764 if test "${with_dmalloc+set}" = set; then
1765 withval
="$with_dmalloc"
1767 if test "$withval" = yes; then
1768 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
1770 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
1775 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
1776 if test "x$LINE" != x
; then
1777 eval "DEFAULT_$LINE"
1782 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
1787 eval "$ac_cv_use_dmalloc"
1788 if test "$no_cache" != 1; then
1789 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
1792 if test "$wxUSE_DMALLOC" = yes; then
1793 echo "$ac_t""yes" 1>&6
1795 echo "$ac_t""no" 1>&6
1799 echo $ac_n "checking "for --with-zlib"""... $ac_c" 1>&6
1800 echo "configure:1801: checking "for --with-zlib"" >&5
1802 # Check whether --with-zlib or --without-zlib was given.
1803 if test "${with_zlib+set}" = set; then
1804 withval
="$with_zlib"
1806 if test "$withval" = yes; then
1807 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
1808 elif test "$withval" = no
; then
1809 ac_cv_use_zlib
='wxUSE_ZLIB=no'
1810 elif test "$withval" = sys
; then
1811 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
1813 { echo "configure: error: Invalid value for --with-zlib: should be yes, no or sys" 1>&2; exit 1; }
1818 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
1819 if test "x$LINE" != x
; then
1820 eval "DEFAULT_$LINE"
1825 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
1830 eval "$ac_cv_use_zlib"
1831 if test "$no_cache" != 1; then
1832 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
1835 if test "$wxUSE_ZLIB" = yes; then
1836 echo "$ac_t""yes" 1>&6
1837 elif test "$wxUSE_ZLIB" = no
; then
1838 echo "$ac_t""no" 1>&6
1839 elif test "$wxUSE_ZLIB" = sys
; then
1840 echo "$ac_t""system version" 1>&6
1842 { echo "configure: error: Invalid value for --with-zlib: should be yes, no or sys" 1>&2; exit 1; }
1846 echo $ac_n "checking "for --with-odbc"""... $ac_c" 1>&6
1847 echo "configure:1848: checking "for --with-odbc"" >&5
1849 # Check whether --with-odbc or --without-odbc was given.
1850 if test "${with_odbc+set}" = set; then
1851 withval
="$with_odbc"
1853 if test "$withval" = yes; then
1854 ac_cv_use_odbc
='wxUSE_ODBC=yes'
1856 ac_cv_use_odbc
='wxUSE_ODBC=no'
1861 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
1862 if test "x$LINE" != x
; then
1863 eval "DEFAULT_$LINE"
1868 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
1873 eval "$ac_cv_use_odbc"
1874 if test "$no_cache" != 1; then
1875 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
1878 if test "$wxUSE_ODBC" = yes; then
1879 echo "$ac_t""yes" 1>&6
1881 echo "$ac_t""no" 1>&6
1888 echo $ac_n "checking "for --enable-shared"""... $ac_c" 1>&6
1889 echo "configure:1890: checking "for --enable-shared"" >&5
1891 # Check whether --enable-shared or --disable-shared was given.
1892 if test "${enable_shared+set}" = set; then
1893 enableval
="$enable_shared"
1895 if test "$enableval" = yes; then
1896 ac_cv_use_shared
='wxUSE_SHARED=yes'
1898 ac_cv_use_shared
='wxUSE_SHARED=no'
1903 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
1904 if test "x$LINE" != x
; then
1905 eval "DEFAULT_$LINE"
1910 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
1915 eval "$ac_cv_use_shared"
1916 if test "$no_cache" != 1; then
1917 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
1920 if test "$wxUSE_SHARED" = yes; then
1921 echo "$ac_t""yes" 1>&6
1923 echo "$ac_t""no" 1>&6
1927 echo $ac_n "checking "for --enable-burnt_name"""... $ac_c" 1>&6
1928 echo "configure:1929: checking "for --enable-burnt_name"" >&5
1930 # Check whether --enable-burnt_name or --disable-burnt_name was given.
1931 if test "${enable_burnt_name+set}" = set; then
1932 enableval
="$enable_burnt_name"
1934 if test "$enableval" = yes; then
1935 ac_cv_use_burnt_name
='wxUSE_BURNT_NAME=yes'
1937 ac_cv_use_burnt_name
='wxUSE_BURNT_NAME=no'
1942 LINE
=`grep "wxUSE_BURNT_NAME" ${wx_arg_cache_file}`
1943 if test "x$LINE" != x
; then
1944 eval "DEFAULT_$LINE"
1949 ac_cv_use_burnt_name
='wxUSE_BURNT_NAME='$DEFAULT_wxUSE_BURNT_NAME
1954 eval "$ac_cv_use_burnt_name"
1955 if test "$no_cache" != 1; then
1956 echo $ac_cv_use_burnt_name >> ${wx_arg_cache_file}.tmp
1959 if test "$wxUSE_BURNT_NAME" = yes; then
1960 echo "$ac_t""yes" 1>&6
1962 echo "$ac_t""no" 1>&6
1966 echo $ac_n "checking "for --enable-optimise"""... $ac_c" 1>&6
1967 echo "configure:1968: checking "for --enable-optimise"" >&5
1969 # Check whether --enable-optimise or --disable-optimise was given.
1970 if test "${enable_optimise+set}" = set; then
1971 enableval
="$enable_optimise"
1973 if test "$enableval" = yes; then
1974 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
1976 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
1981 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
1982 if test "x$LINE" != x
; then
1983 eval "DEFAULT_$LINE"
1988 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
1993 eval "$ac_cv_use_optimise"
1994 if test "$no_cache" != 1; then
1995 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
1998 if test "$wxUSE_OPTIMISE" = yes; then
1999 echo "$ac_t""yes" 1>&6
2001 echo "$ac_t""no" 1>&6
2005 echo $ac_n "checking "for --enable-debug"""... $ac_c" 1>&6
2006 echo "configure:2007: checking "for --enable-debug"" >&5
2008 # Check whether --enable-debug or --disable-debug was given.
2009 if test "${enable_debug+set}" = set; then
2010 enableval
="$enable_debug"
2012 if test "$enableval" = yes; then
2013 ac_cv_use_debug
='wxUSE_DEBUG=yes'
2015 ac_cv_use_debug
='wxUSE_DEBUG=no'
2020 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
2021 if test "x$LINE" != x
; then
2022 eval "DEFAULT_$LINE"
2027 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
2032 eval "$ac_cv_use_debug"
2033 if test "$no_cache" != 1; then
2034 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
2037 if test "$wxUSE_DEBUG" = yes; then
2038 echo "$ac_t""yes" 1>&6
2040 echo "$ac_t""no" 1>&6
2044 if test "$wxUSE_DEBUG" = "yes"; then
2045 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2046 DEFAULT_wxUSE_DEBUG_INFO
=yes
2047 elif test "$wxUSE_DEBUG" = "no"; then
2048 DEFAULT_wxUSE_DEBUG_FLAG
=no
2049 DEFAULT_wxUSE_DEBUG_INFO
=no
2053 echo $ac_n "checking "for --enable-debug_flag"""... $ac_c" 1>&6
2054 echo "configure:2055: checking "for --enable-debug_flag"" >&5
2056 # Check whether --enable-debug_flag or --disable-debug_flag was given.
2057 if test "${enable_debug_flag+set}" = set; then
2058 enableval
="$enable_debug_flag"
2060 if test "$enableval" = yes; then
2061 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
2063 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
2068 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
2069 if test "x$LINE" != x
; then
2070 eval "DEFAULT_$LINE"
2075 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
2080 eval "$ac_cv_use_debug_flag"
2081 if test "$no_cache" != 1; then
2082 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
2085 if test "$wxUSE_DEBUG_FLAG" = yes; then
2086 echo "$ac_t""yes" 1>&6
2088 echo "$ac_t""no" 1>&6
2092 echo $ac_n "checking "for --enable-debug_info"""... $ac_c" 1>&6
2093 echo "configure:2094: checking "for --enable-debug_info"" >&5
2095 # Check whether --enable-debug_info or --disable-debug_info was given.
2096 if test "${enable_debug_info+set}" = set; then
2097 enableval
="$enable_debug_info"
2099 if test "$enableval" = yes; then
2100 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
2102 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
2107 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
2108 if test "x$LINE" != x
; then
2109 eval "DEFAULT_$LINE"
2114 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
2119 eval "$ac_cv_use_debug_info"
2120 if test "$no_cache" != 1; then
2121 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
2124 if test "$wxUSE_DEBUG_INFO" = yes; then
2125 echo "$ac_t""yes" 1>&6
2127 echo "$ac_t""no" 1>&6
2131 echo $ac_n "checking "for --enable-debug_gdb"""... $ac_c" 1>&6
2132 echo "configure:2133: checking "for --enable-debug_gdb"" >&5
2134 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
2135 if test "${enable_debug_gdb+set}" = set; then
2136 enableval
="$enable_debug_gdb"
2138 if test "$enableval" = yes; then
2139 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
2141 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
2146 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
2147 if test "x$LINE" != x
; then
2148 eval "DEFAULT_$LINE"
2153 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
2158 eval "$ac_cv_use_debug_gdb"
2159 if test "$no_cache" != 1; then
2160 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
2163 if test "$wxUSE_DEBUG_GDB" = yes; then
2164 echo "$ac_t""yes" 1>&6
2166 echo "$ac_t""no" 1>&6
2170 echo $ac_n "checking "for --enable-debug_cntxt"""... $ac_c" 1>&6
2171 echo "configure:2172: checking "for --enable-debug_cntxt"" >&5
2173 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
2174 if test "${enable_debug_cntxt+set}" = set; then
2175 enableval
="$enable_debug_cntxt"
2177 if test "$enableval" = yes; then
2178 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
2180 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
2185 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2186 if test "x$LINE" != x
; then
2187 eval "DEFAULT_$LINE"
2192 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2197 eval "$ac_cv_use_debug_cntxt"
2198 if test "$no_cache" != 1; then
2199 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2202 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2203 echo "$ac_t""yes" 1>&6
2205 echo "$ac_t""no" 1>&6
2209 echo $ac_n "checking "for --enable-mem_tracing"""... $ac_c" 1>&6
2210 echo "configure:2211: checking "for --enable-mem_tracing"" >&5
2212 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2213 if test "${enable_mem_tracing+set}" = set; then
2214 enableval
="$enable_mem_tracing"
2216 if test "$enableval" = yes; then
2217 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
2219 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
2224 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2225 if test "x$LINE" != x
; then
2226 eval "DEFAULT_$LINE"
2231 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2236 eval "$ac_cv_use_mem_tracing"
2237 if test "$no_cache" != 1; then
2238 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2241 if test "$wxUSE_MEM_TRACING" = yes; then
2242 echo "$ac_t""yes" 1>&6
2244 echo "$ac_t""no" 1>&6
2248 echo $ac_n "checking "for --enable-profile"""... $ac_c" 1>&6
2249 echo "configure:2250: checking "for --enable-profile"" >&5
2251 # Check whether --enable-profile or --disable-profile was given.
2252 if test "${enable_profile+set}" = set; then
2253 enableval
="$enable_profile"
2255 if test "$enableval" = yes; then
2256 ac_cv_use_profile
='wxUSE_PROFILE=yes'
2258 ac_cv_use_profile
='wxUSE_PROFILE=no'
2263 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2264 if test "x$LINE" != x
; then
2265 eval "DEFAULT_$LINE"
2270 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2275 eval "$ac_cv_use_profile"
2276 if test "$no_cache" != 1; then
2277 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2280 if test "$wxUSE_PROFILE" = yes; then
2281 echo "$ac_t""yes" 1>&6
2283 echo "$ac_t""no" 1>&6
2287 echo $ac_n "checking "for --enable-no_rtti"""... $ac_c" 1>&6
2288 echo "configure:2289: checking "for --enable-no_rtti"" >&5
2290 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2291 if test "${enable_no_rtti+set}" = set; then
2292 enableval
="$enable_no_rtti"
2294 if test "$enableval" = yes; then
2295 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
2297 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
2302 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2303 if test "x$LINE" != x
; then
2304 eval "DEFAULT_$LINE"
2309 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2314 eval "$ac_cv_use_no_rtti"
2315 if test "$no_cache" != 1; then
2316 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2319 if test "$wxUSE_NO_RTTI" = yes; then
2320 echo "$ac_t""yes" 1>&6
2322 echo "$ac_t""no" 1>&6
2326 echo $ac_n "checking "for --enable-no_exceptions"""... $ac_c" 1>&6
2327 echo "configure:2328: checking "for --enable-no_exceptions"" >&5
2329 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2330 if test "${enable_no_exceptions+set}" = set; then
2331 enableval
="$enable_no_exceptions"
2333 if test "$enableval" = yes; then
2334 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
2336 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
2341 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2342 if test "x$LINE" != x
; then
2343 eval "DEFAULT_$LINE"
2348 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2353 eval "$ac_cv_use_no_exceptions"
2354 if test "$no_cache" != 1; then
2355 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2358 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2359 echo "$ac_t""yes" 1>&6
2361 echo "$ac_t""no" 1>&6
2365 echo $ac_n "checking "for --enable-permissive"""... $ac_c" 1>&6
2366 echo "configure:2367: checking "for --enable-permissive"" >&5
2368 # Check whether --enable-permissive or --disable-permissive was given.
2369 if test "${enable_permissive+set}" = set; then
2370 enableval
="$enable_permissive"
2372 if test "$enableval" = yes; then
2373 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
2375 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
2380 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2381 if test "x$LINE" != x
; then
2382 eval "DEFAULT_$LINE"
2387 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
2392 eval "$ac_cv_use_permissive"
2393 if test "$no_cache" != 1; then
2394 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
2397 if test "$wxUSE_PERMISSIVE" = yes; then
2398 echo "$ac_t""yes" 1>&6
2400 echo "$ac_t""no" 1>&6
2404 echo $ac_n "checking "for --enable-no_deps"""... $ac_c" 1>&6
2405 echo "configure:2406: checking "for --enable-no_deps"" >&5
2407 # Check whether --enable-no_deps or --disable-no_deps was given.
2408 if test "${enable_no_deps+set}" = set; then
2409 enableval
="$enable_no_deps"
2411 if test "$enableval" = yes; then
2412 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
2414 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
2419 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
2420 if test "x$LINE" != x
; then
2421 eval "DEFAULT_$LINE"
2426 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
2431 eval "$ac_cv_use_no_deps"
2432 if test "$no_cache" != 1; then
2433 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
2436 if test "$wxUSE_NO_DEPS" = yes; then
2437 echo "$ac_t""yes" 1>&6
2439 echo "$ac_t""no" 1>&6
2445 echo $ac_n "checking "for --enable-intl"""... $ac_c" 1>&6
2446 echo "configure:2447: checking "for --enable-intl"" >&5
2448 # Check whether --enable-intl or --disable-intl was given.
2449 if test "${enable_intl+set}" = set; then
2450 enableval
="$enable_intl"
2452 if test "$enableval" = yes; then
2453 ac_cv_use_intl
='wxUSE_INTL=yes'
2455 ac_cv_use_intl
='wxUSE_INTL=no'
2460 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
2461 if test "x$LINE" != x
; then
2462 eval "DEFAULT_$LINE"
2467 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
2472 eval "$ac_cv_use_intl"
2473 if test "$no_cache" != 1; then
2474 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
2477 if test "$wxUSE_INTL" = yes; then
2478 echo "$ac_t""yes" 1>&6
2480 echo "$ac_t""no" 1>&6
2484 echo $ac_n "checking "for --enable-config"""... $ac_c" 1>&6
2485 echo "configure:2486: checking "for --enable-config"" >&5
2487 # Check whether --enable-config or --disable-config was given.
2488 if test "${enable_config+set}" = set; then
2489 enableval
="$enable_config"
2491 if test "$enableval" = yes; then
2492 ac_cv_use_config
='wxUSE_CONFIG=yes'
2494 ac_cv_use_config
='wxUSE_CONFIG=no'
2499 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
2500 if test "x$LINE" != x
; then
2501 eval "DEFAULT_$LINE"
2506 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
2511 eval "$ac_cv_use_config"
2512 if test "$no_cache" != 1; then
2513 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
2516 if test "$wxUSE_CONFIG" = yes; then
2517 echo "$ac_t""yes" 1>&6
2519 echo "$ac_t""no" 1>&6
2523 if test "$wxUSE_GUI" = "yes"; then
2525 echo $ac_n "checking "for --enable-sockets"""... $ac_c" 1>&6
2526 echo "configure:2527: checking "for --enable-sockets"" >&5
2528 # Check whether --enable-sockets or --disable-sockets was given.
2529 if test "${enable_sockets+set}" = set; then
2530 enableval
="$enable_sockets"
2532 if test "$enableval" = yes; then
2533 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
2535 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
2540 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
2541 if test "x$LINE" != x
; then
2542 eval "DEFAULT_$LINE"
2547 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
2552 eval "$ac_cv_use_sockets"
2553 if test "$no_cache" != 1; then
2554 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
2557 if test "$wxUSE_SOCKETS" = yes; then
2558 echo "$ac_t""yes" 1>&6
2560 echo "$ac_t""no" 1>&6
2568 echo $ac_n "checking "for --enable-dialupman"""... $ac_c" 1>&6
2569 echo "configure:2570: checking "for --enable-dialupman"" >&5
2571 # Check whether --enable-dialupman or --disable-dialupman was given.
2572 if test "${enable_dialupman+set}" = set; then
2573 enableval
="$enable_dialupman"
2575 if test "$enableval" = yes; then
2576 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
2578 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
2583 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
2584 if test "x$LINE" != x
; then
2585 eval "DEFAULT_$LINE"
2590 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
2595 eval "$ac_cv_use_dialupman"
2596 if test "$no_cache" != 1; then
2597 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
2600 if test "$wxUSE_DIALUP_MANAGER" = yes; then
2601 echo "$ac_t""yes" 1>&6
2603 echo "$ac_t""no" 1>&6
2607 echo $ac_n "checking "for --enable-ipc"""... $ac_c" 1>&6
2608 echo "configure:2609: checking "for --enable-ipc"" >&5
2610 # Check whether --enable-ipc or --disable-ipc was given.
2611 if test "${enable_ipc+set}" = set; then
2612 enableval
="$enable_ipc"
2614 if test "$enableval" = yes; then
2615 ac_cv_use_ipc
='wxUSE_IPC=yes'
2617 ac_cv_use_ipc
='wxUSE_IPC=no'
2622 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
2623 if test "x$LINE" != x
; then
2624 eval "DEFAULT_$LINE"
2629 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
2634 eval "$ac_cv_use_ipc"
2635 if test "$no_cache" != 1; then
2636 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
2639 if test "$wxUSE_IPC" = yes; then
2640 echo "$ac_t""yes" 1>&6
2642 echo "$ac_t""no" 1>&6
2646 echo $ac_n "checking "for --enable-apple_ieee"""... $ac_c" 1>&6
2647 echo "configure:2648: checking "for --enable-apple_ieee"" >&5
2649 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
2650 if test "${enable_apple_ieee+set}" = set; then
2651 enableval
="$enable_apple_ieee"
2653 if test "$enableval" = yes; then
2654 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
2656 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
2661 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
2662 if test "x$LINE" != x
; then
2663 eval "DEFAULT_$LINE"
2668 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
2673 eval "$ac_cv_use_apple_ieee"
2674 if test "$no_cache" != 1; then
2675 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
2678 if test "$wxUSE_APPLE_IEEE" = yes; then
2679 echo "$ac_t""yes" 1>&6
2681 echo "$ac_t""no" 1>&6
2685 echo $ac_n "checking "for --enable-timedate"""... $ac_c" 1>&6
2686 echo "configure:2687: checking "for --enable-timedate"" >&5
2688 # Check whether --enable-timedate or --disable-timedate was given.
2689 if test "${enable_timedate+set}" = set; then
2690 enableval
="$enable_timedate"
2692 if test "$enableval" = yes; then
2693 ac_cv_use_timedate
='wxUSE_TIMEDATE=yes'
2695 ac_cv_use_timedate
='wxUSE_TIMEDATE=no'
2700 LINE
=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}`
2701 if test "x$LINE" != x
; then
2702 eval "DEFAULT_$LINE"
2707 ac_cv_use_timedate
='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
2712 eval "$ac_cv_use_timedate"
2713 if test "$no_cache" != 1; then
2714 echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp
2717 if test "$wxUSE_TIMEDATE" = yes; then
2718 echo "$ac_t""yes" 1>&6
2720 echo "$ac_t""no" 1>&6
2724 echo $ac_n "checking "for --enable-wave"""... $ac_c" 1>&6
2725 echo "configure:2726: checking "for --enable-wave"" >&5
2727 # Check whether --enable-wave or --disable-wave was given.
2728 if test "${enable_wave+set}" = set; then
2729 enableval
="$enable_wave"
2731 if test "$enableval" = yes; then
2732 ac_cv_use_wave
='wxUSE_WAVE=yes'
2734 ac_cv_use_wave
='wxUSE_WAVE=no'
2739 LINE
=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
2740 if test "x$LINE" != x
; then
2741 eval "DEFAULT_$LINE"
2746 ac_cv_use_wave
='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
2751 eval "$ac_cv_use_wave"
2752 if test "$no_cache" != 1; then
2753 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
2756 if test "$wxUSE_WAVE" = yes; then
2757 echo "$ac_t""yes" 1>&6
2759 echo "$ac_t""no" 1>&6
2763 echo $ac_n "checking "for --enable-fraction"""... $ac_c" 1>&6
2764 echo "configure:2765: checking "for --enable-fraction"" >&5
2766 # Check whether --enable-fraction or --disable-fraction was given.
2767 if test "${enable_fraction+set}" = set; then
2768 enableval
="$enable_fraction"
2770 if test "$enableval" = yes; then
2771 ac_cv_use_fraction
='wxUSE_FRACTION=yes'
2773 ac_cv_use_fraction
='wxUSE_FRACTION=no'
2778 LINE
=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
2779 if test "x$LINE" != x
; then
2780 eval "DEFAULT_$LINE"
2785 ac_cv_use_fraction
='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
2790 eval "$ac_cv_use_fraction"
2791 if test "$no_cache" != 1; then
2792 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
2795 if test "$wxUSE_FRACTION" = yes; then
2796 echo "$ac_t""yes" 1>&6
2798 echo "$ac_t""no" 1>&6
2802 echo $ac_n "checking "for --enable-dynlib"""... $ac_c" 1>&6
2803 echo "configure:2804: checking "for --enable-dynlib"" >&5
2805 # Check whether --enable-dynlib or --disable-dynlib was given.
2806 if test "${enable_dynlib+set}" = set; then
2807 enableval
="$enable_dynlib"
2809 if test "$enableval" = yes; then
2810 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
2812 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
2817 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
2818 if test "x$LINE" != x
; then
2819 eval "DEFAULT_$LINE"
2824 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
2829 eval "$ac_cv_use_dynlib"
2830 if test "$no_cache" != 1; then
2831 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
2834 if test "$wxUSE_DYNLIB_CLASS" = yes; then
2835 echo "$ac_t""yes" 1>&6
2837 echo "$ac_t""no" 1>&6
2841 echo $ac_n "checking "for --enable-longlong"""... $ac_c" 1>&6
2842 echo "configure:2843: checking "for --enable-longlong"" >&5
2844 # Check whether --enable-longlong or --disable-longlong was given.
2845 if test "${enable_longlong+set}" = set; then
2846 enableval
="$enable_longlong"
2848 if test "$enableval" = yes; then
2849 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
2851 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
2856 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
2857 if test "x$LINE" != x
; then
2858 eval "DEFAULT_$LINE"
2863 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
2868 eval "$ac_cv_use_longlong"
2869 if test "$no_cache" != 1; then
2870 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
2873 if test "$wxUSE_LONGLONG" = yes; then
2874 echo "$ac_t""yes" 1>&6
2876 echo "$ac_t""no" 1>&6
2880 echo $ac_n "checking "for --enable-log"""... $ac_c" 1>&6
2881 echo "configure:2882: checking "for --enable-log"" >&5
2883 # Check whether --enable-log or --disable-log was given.
2884 if test "${enable_log+set}" = set; then
2885 enableval
="$enable_log"
2887 if test "$enableval" = yes; then
2888 ac_cv_use_log
='wxUSE_LOG=yes'
2890 ac_cv_use_log
='wxUSE_LOG=no'
2895 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
2896 if test "x$LINE" != x
; then
2897 eval "DEFAULT_$LINE"
2902 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
2907 eval "$ac_cv_use_log"
2908 if test "$no_cache" != 1; then
2909 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
2912 if test "$wxUSE_LOG" = yes; then
2913 echo "$ac_t""yes" 1>&6
2915 echo "$ac_t""no" 1>&6
2919 echo $ac_n "checking "for --enable-streams"""... $ac_c" 1>&6
2920 echo "configure:2921: checking "for --enable-streams"" >&5
2922 # Check whether --enable-streams or --disable-streams was given.
2923 if test "${enable_streams+set}" = set; then
2924 enableval
="$enable_streams"
2926 if test "$enableval" = yes; then
2927 ac_cv_use_streams
='wxUSE_STREAMS=yes'
2929 ac_cv_use_streams
='wxUSE_STREAMS=no'
2934 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
2935 if test "x$LINE" != x
; then
2936 eval "DEFAULT_$LINE"
2941 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
2946 eval "$ac_cv_use_streams"
2947 if test "$no_cache" != 1; then
2948 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
2951 if test "$wxUSE_STREAMS" = yes; then
2952 echo "$ac_t""yes" 1>&6
2954 echo "$ac_t""no" 1>&6
2958 echo $ac_n "checking "for --enable-file"""... $ac_c" 1>&6
2959 echo "configure:2960: checking "for --enable-file"" >&5
2961 # Check whether --enable-file or --disable-file was given.
2962 if test "${enable_file+set}" = set; then
2963 enableval
="$enable_file"
2965 if test "$enableval" = yes; then
2966 ac_cv_use_file
='wxUSE_FILE=yes'
2968 ac_cv_use_file
='wxUSE_FILE=no'
2973 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
2974 if test "x$LINE" != x
; then
2975 eval "DEFAULT_$LINE"
2980 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
2985 eval "$ac_cv_use_file"
2986 if test "$no_cache" != 1; then
2987 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
2990 if test "$wxUSE_FILE" = yes; then
2991 echo "$ac_t""yes" 1>&6
2993 echo "$ac_t""no" 1>&6
2997 echo $ac_n "checking "for --enable-textfile"""... $ac_c" 1>&6
2998 echo "configure:2999: checking "for --enable-textfile"" >&5
3000 # Check whether --enable-textfile or --disable-textfile was given.
3001 if test "${enable_textfile+set}" = set; then
3002 enableval
="$enable_textfile"
3004 if test "$enableval" = yes; then
3005 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
3007 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
3012 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
3013 if test "x$LINE" != x
; then
3014 eval "DEFAULT_$LINE"
3019 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
3024 eval "$ac_cv_use_textfile"
3025 if test "$no_cache" != 1; then
3026 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
3029 if test "$wxUSE_TEXTFILE" = yes; then
3030 echo "$ac_t""yes" 1>&6
3032 echo "$ac_t""no" 1>&6
3036 echo $ac_n "checking "for --enable-unicode"""... $ac_c" 1>&6
3037 echo "configure:3038: checking "for --enable-unicode"" >&5
3039 # Check whether --enable-unicode or --disable-unicode was given.
3040 if test "${enable_unicode+set}" = set; then
3041 enableval
="$enable_unicode"
3043 if test "$enableval" = yes; then
3044 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
3046 ac_cv_use_unicode
='wxUSE_UNICODE=no'
3051 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
3052 if test "x$LINE" != x
; then
3053 eval "DEFAULT_$LINE"
3058 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
3063 eval "$ac_cv_use_unicode"
3064 if test "$no_cache" != 1; then
3065 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
3068 if test "$wxUSE_UNICODE" = yes; then
3069 echo "$ac_t""yes" 1>&6
3071 echo "$ac_t""no" 1>&6
3075 echo $ac_n "checking "for --enable-wcsrtombs"""... $ac_c" 1>&6
3076 echo "configure:3077: checking "for --enable-wcsrtombs"" >&5
3078 # Check whether --enable-wcsrtombs or --disable-wcsrtombs was given.
3079 if test "${enable_wcsrtombs+set}" = set; then
3080 enableval
="$enable_wcsrtombs"
3082 if test "$enableval" = yes; then
3083 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS=yes'
3085 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS=no'
3090 LINE
=`grep "wxUSE_WCSRTOMBS" ${wx_arg_cache_file}`
3091 if test "x$LINE" != x
; then
3092 eval "DEFAULT_$LINE"
3097 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS='$DEFAULT_wxUSE_WCSRTOMBS
3102 eval "$ac_cv_use_wcsrtombs"
3103 if test "$no_cache" != 1; then
3104 echo $ac_cv_use_wcsrtombs >> ${wx_arg_cache_file}.tmp
3107 if test "$wxUSE_WCSRTOMBS" = yes; then
3108 echo "$ac_t""yes" 1>&6
3110 echo "$ac_t""no" 1>&6
3114 echo $ac_n "checking "for --enable-wxprintfv"""... $ac_c" 1>&6
3115 echo "configure:3116: checking "for --enable-wxprintfv"" >&5
3117 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
3118 if test "${enable_wxprintfv+set}" = set; then
3119 enableval
="$enable_wxprintfv"
3121 if test "$enableval" = yes; then
3122 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
3124 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
3129 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
3130 if test "x$LINE" != x
; then
3131 eval "DEFAULT_$LINE"
3136 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
3141 eval "$ac_cv_use_wxprintfv"
3142 if test "$no_cache" != 1; then
3143 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
3146 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
3147 echo "$ac_t""yes" 1>&6
3149 echo "$ac_t""no" 1>&6
3153 echo $ac_n "checking "for --enable-joystick"""... $ac_c" 1>&6
3154 echo "configure:3155: checking "for --enable-joystick"" >&5
3156 # Check whether --enable-joystick or --disable-joystick was given.
3157 if test "${enable_joystick+set}" = set; then
3158 enableval
="$enable_joystick"
3160 if test "$enableval" = yes; then
3161 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
3163 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
3168 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
3169 if test "x$LINE" != x
; then
3170 eval "DEFAULT_$LINE"
3175 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
3180 eval "$ac_cv_use_joystick"
3181 if test "$no_cache" != 1; then
3182 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
3185 if test "$wxUSE_JOYSTICK" = yes; then
3186 echo "$ac_t""yes" 1>&6
3188 echo "$ac_t""no" 1>&6
3192 echo $ac_n "checking "for --enable-std_iostreams"""... $ac_c" 1>&6
3193 echo "configure:3194: checking "for --enable-std_iostreams"" >&5
3195 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
3196 if test "${enable_std_iostreams+set}" = set; then
3197 enableval
="$enable_std_iostreams"
3199 if test "$enableval" = yes; then
3200 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
3202 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
3207 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
3208 if test "x$LINE" != x
; then
3209 eval "DEFAULT_$LINE"
3214 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
3219 eval "$ac_cv_use_std_iostreams"
3220 if test "$no_cache" != 1; then
3221 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
3224 if test "$wxUSE_STD_IOSTREAM" = yes; then
3225 echo "$ac_t""yes" 1>&6
3227 echo "$ac_t""no" 1>&6
3231 echo $ac_n "checking "for --enable-filesystem"""... $ac_c" 1>&6
3232 echo "configure:3233: checking "for --enable-filesystem"" >&5
3234 # Check whether --enable-filesystem or --disable-filesystem was given.
3235 if test "${enable_filesystem+set}" = set; then
3236 enableval
="$enable_filesystem"
3238 if test "$enableval" = yes; then
3239 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
3241 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
3246 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
3247 if test "x$LINE" != x
; then
3248 eval "DEFAULT_$LINE"
3253 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
3258 eval "$ac_cv_use_filesystem"
3259 if test "$no_cache" != 1; then
3260 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
3263 if test "$wxUSE_FILESYSTEM" = yes; then
3264 echo "$ac_t""yes" 1>&6
3266 echo "$ac_t""no" 1>&6
3270 echo $ac_n "checking "for --enable-fs_inet"""... $ac_c" 1>&6
3271 echo "configure:3272: checking "for --enable-fs_inet"" >&5
3273 # Check whether --enable-fs_inet or --disable-fs_inet was given.
3274 if test "${enable_fs_inet+set}" = set; then
3275 enableval
="$enable_fs_inet"
3277 if test "$enableval" = yes; then
3278 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
3280 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
3285 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
3286 if test "x$LINE" != x
; then
3287 eval "DEFAULT_$LINE"
3292 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
3297 eval "$ac_cv_use_fs_inet"
3298 if test "$no_cache" != 1; then
3299 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
3302 if test "$wxUSE_FS_INET" = yes; then
3303 echo "$ac_t""yes" 1>&6
3305 echo "$ac_t""no" 1>&6
3309 echo $ac_n "checking "for --enable-fs_zip"""... $ac_c" 1>&6
3310 echo "configure:3311: checking "for --enable-fs_zip"" >&5
3312 # Check whether --enable-fs_zip or --disable-fs_zip was given.
3313 if test "${enable_fs_zip+set}" = set; then
3314 enableval
="$enable_fs_zip"
3316 if test "$enableval" = yes; then
3317 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
3319 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
3324 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
3325 if test "x$LINE" != x
; then
3326 eval "DEFAULT_$LINE"
3331 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
3336 eval "$ac_cv_use_fs_zip"
3337 if test "$no_cache" != 1; then
3338 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
3341 if test "$wxUSE_FS_ZIP" = yes; then
3342 echo "$ac_t""yes" 1>&6
3344 echo "$ac_t""no" 1>&6
3348 echo $ac_n "checking "for --enable-zipstream"""... $ac_c" 1>&6
3349 echo "configure:3350: checking "for --enable-zipstream"" >&5
3351 # Check whether --enable-zipstream or --disable-zipstream was given.
3352 if test "${enable_zipstream+set}" = set; then
3353 enableval
="$enable_zipstream"
3355 if test "$enableval" = yes; then
3356 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
3358 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
3363 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
3364 if test "x$LINE" != x
; then
3365 eval "DEFAULT_$LINE"
3370 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
3375 eval "$ac_cv_use_zipstream"
3376 if test "$no_cache" != 1; then
3377 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
3380 if test "$wxUSE_ZIPSTREAM" = yes; then
3381 echo "$ac_t""yes" 1>&6
3383 echo "$ac_t""no" 1>&6
3389 echo $ac_n "checking "for --enable-threads"""... $ac_c" 1>&6
3390 echo "configure:3391: checking "for --enable-threads"" >&5
3392 # Check whether --enable-threads or --disable-threads was given.
3393 if test "${enable_threads+set}" = set; then
3394 enableval
="$enable_threads"
3396 if test "$enableval" = yes; then
3397 ac_cv_use_threads
='wxUSE_THREADS=yes'
3399 ac_cv_use_threads
='wxUSE_THREADS=no'
3404 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
3405 if test "x$LINE" != x
; then
3406 eval "DEFAULT_$LINE"
3411 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
3416 eval "$ac_cv_use_threads"
3417 if test "$no_cache" != 1; then
3418 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
3421 if test "$wxUSE_THREADS" = yes; then
3422 echo "$ac_t""yes" 1>&6
3424 echo "$ac_t""no" 1>&6
3428 echo $ac_n "checking "for --enable-serial"""... $ac_c" 1>&6
3429 echo "configure:3430: checking "for --enable-serial"" >&5
3431 # Check whether --enable-serial or --disable-serial was given.
3432 if test "${enable_serial+set}" = set; then
3433 enableval
="$enable_serial"
3435 if test "$enableval" = yes; then
3436 ac_cv_use_serial
='wxUSE_SERIAL=yes'
3438 ac_cv_use_serial
='wxUSE_SERIAL=no'
3443 LINE
=`grep "wxUSE_SERIAL" ${wx_arg_cache_file}`
3444 if test "x$LINE" != x
; then
3445 eval "DEFAULT_$LINE"
3450 ac_cv_use_serial
='wxUSE_SERIAL='$DEFAULT_wxUSE_SERIAL
3455 eval "$ac_cv_use_serial"
3456 if test "$no_cache" != 1; then
3457 echo $ac_cv_use_serial >> ${wx_arg_cache_file}.tmp
3460 if test "$wxUSE_SERIAL" = yes; then
3461 echo "$ac_t""yes" 1>&6
3463 echo "$ac_t""no" 1>&6
3467 if test "$wxUSE_GUI" = "yes"; then
3471 echo $ac_n "checking "for --enable-docview"""... $ac_c" 1>&6
3472 echo "configure:3473: checking "for --enable-docview"" >&5
3474 # Check whether --enable-docview or --disable-docview was given.
3475 if test "${enable_docview+set}" = set; then
3476 enableval
="$enable_docview"
3478 if test "$enableval" = yes; then
3479 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
3481 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
3486 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
3487 if test "x$LINE" != x
; then
3488 eval "DEFAULT_$LINE"
3493 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
3498 eval "$ac_cv_use_docview"
3499 if test "$no_cache" != 1; then
3500 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
3503 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
3504 echo "$ac_t""yes" 1>&6
3506 echo "$ac_t""no" 1>&6
3510 echo $ac_n "checking "for --enable-help"""... $ac_c" 1>&6
3511 echo "configure:3512: checking "for --enable-help"" >&5
3513 # Check whether --enable-help or --disable-help was given.
3514 if test "${enable_help+set}" = set; then
3515 enableval
="$enable_help"
3517 if test "$enableval" = yes; then
3518 ac_cv_use_help
='wxUSE_HELP=yes'
3520 ac_cv_use_help
='wxUSE_HELP=no'
3525 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
3526 if test "x$LINE" != x
; then
3527 eval "DEFAULT_$LINE"
3532 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
3537 eval "$ac_cv_use_help"
3538 if test "$no_cache" != 1; then
3539 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
3542 if test "$wxUSE_HELP" = yes; then
3543 echo "$ac_t""yes" 1>&6
3545 echo "$ac_t""no" 1>&6
3549 echo $ac_n "checking "for --enable-constraints"""... $ac_c" 1>&6
3550 echo "configure:3551: checking "for --enable-constraints"" >&5
3552 # Check whether --enable-constraints or --disable-constraints was given.
3553 if test "${enable_constraints+set}" = set; then
3554 enableval
="$enable_constraints"
3556 if test "$enableval" = yes; then
3557 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
3559 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
3564 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
3565 if test "x$LINE" != x
; then
3566 eval "DEFAULT_$LINE"
3571 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
3576 eval "$ac_cv_use_constraints"
3577 if test "$no_cache" != 1; then
3578 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
3581 if test "$wxUSE_CONSTRAINTS" = yes; then
3582 echo "$ac_t""yes" 1>&6
3584 echo "$ac_t""no" 1>&6
3588 echo $ac_n "checking "for --enable-printarch"""... $ac_c" 1>&6
3589 echo "configure:3590: checking "for --enable-printarch"" >&5
3591 # Check whether --enable-printarch or --disable-printarch was given.
3592 if test "${enable_printarch+set}" = set; then
3593 enableval
="$enable_printarch"
3595 if test "$enableval" = yes; then
3596 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
3598 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
3603 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
3604 if test "x$LINE" != x
; then
3605 eval "DEFAULT_$LINE"
3610 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
3615 eval "$ac_cv_use_printarch"
3616 if test "$no_cache" != 1; then
3617 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
3620 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
3621 echo "$ac_t""yes" 1>&6
3623 echo "$ac_t""no" 1>&6
3627 echo $ac_n "checking "for --enable-mdi"""... $ac_c" 1>&6
3628 echo "configure:3629: checking "for --enable-mdi"" >&5
3630 # Check whether --enable-mdi or --disable-mdi was given.
3631 if test "${enable_mdi+set}" = set; then
3632 enableval
="$enable_mdi"
3634 if test "$enableval" = yes; then
3635 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=yes'
3637 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=no'
3642 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
3643 if test "x$LINE" != x
; then
3644 eval "DEFAULT_$LINE"
3649 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
3654 eval "$ac_cv_use_mdi"
3655 if test "$no_cache" != 1; then
3656 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
3659 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
3660 echo "$ac_t""yes" 1>&6
3662 echo "$ac_t""no" 1>&6
3667 echo $ac_n "checking "for --enable-postscript"""... $ac_c" 1>&6
3668 echo "configure:3669: checking "for --enable-postscript"" >&5
3670 # Check whether --enable-postscript or --disable-postscript was given.
3671 if test "${enable_postscript+set}" = set; then
3672 enableval
="$enable_postscript"
3674 if test "$enableval" = yes; then
3675 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
3677 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
3682 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
3683 if test "x$LINE" != x
; then
3684 eval "DEFAULT_$LINE"
3689 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
3694 eval "$ac_cv_use_postscript"
3695 if test "$no_cache" != 1; then
3696 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
3699 if test "$wxUSE_POSTSCRIPT" = yes; then
3700 echo "$ac_t""yes" 1>&6
3702 echo "$ac_t""no" 1>&6
3708 echo $ac_n "checking "for --enable-prologio"""... $ac_c" 1>&6
3709 echo "configure:3710: checking "for --enable-prologio"" >&5
3711 # Check whether --enable-prologio or --disable-prologio was given.
3712 if test "${enable_prologio+set}" = set; then
3713 enableval
="$enable_prologio"
3715 if test "$enableval" = yes; then
3716 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
3718 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
3723 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
3724 if test "x$LINE" != x
; then
3725 eval "DEFAULT_$LINE"
3730 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
3735 eval "$ac_cv_use_prologio"
3736 if test "$no_cache" != 1; then
3737 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
3740 if test "$wxUSE_PROLOGIO" = yes; then
3741 echo "$ac_t""yes" 1>&6
3743 echo "$ac_t""no" 1>&6
3747 echo $ac_n "checking "for --enable-resources"""... $ac_c" 1>&6
3748 echo "configure:3749: checking "for --enable-resources"" >&5
3750 # Check whether --enable-resources or --disable-resources was given.
3751 if test "${enable_resources+set}" = set; then
3752 enableval
="$enable_resources"
3754 if test "$enableval" = yes; then
3755 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
3757 ac_cv_use_resources
='wxUSE_RESOURCES=no'
3762 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
3763 if test "x$LINE" != x
; then
3764 eval "DEFAULT_$LINE"
3769 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
3774 eval "$ac_cv_use_resources"
3775 if test "$no_cache" != 1; then
3776 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
3779 if test "$wxUSE_RESOURCES" = yes; then
3780 echo "$ac_t""yes" 1>&6
3782 echo "$ac_t""no" 1>&6
3787 echo $ac_n "checking "for --enable-xresources"""... $ac_c" 1>&6
3788 echo "configure:3789: checking "for --enable-xresources"" >&5
3790 # Check whether --enable-xresources or --disable-xresources was given.
3791 if test "${enable_xresources+set}" = set; then
3792 enableval
="$enable_xresources"
3794 if test "$enableval" = yes; then
3795 ac_cv_use_xresources
='wxUSE_X_RESOURCES=yes'
3797 ac_cv_use_xresources
='wxUSE_X_RESOURCES=no'
3802 LINE
=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
3803 if test "x$LINE" != x
; then
3804 eval "DEFAULT_$LINE"
3809 ac_cv_use_xresources
='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
3814 eval "$ac_cv_use_xresources"
3815 if test "$no_cache" != 1; then
3816 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
3819 if test "$wxUSE_X_RESOURCES" = yes; then
3820 echo "$ac_t""yes" 1>&6
3822 echo "$ac_t""no" 1>&6
3828 echo $ac_n "checking "for --enable-clipboard"""... $ac_c" 1>&6
3829 echo "configure:3830: checking "for --enable-clipboard"" >&5
3831 # Check whether --enable-clipboard or --disable-clipboard was given.
3832 if test "${enable_clipboard+set}" = set; then
3833 enableval
="$enable_clipboard"
3835 if test "$enableval" = yes; then
3836 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
3838 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
3843 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
3844 if test "x$LINE" != x
; then
3845 eval "DEFAULT_$LINE"
3850 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
3855 eval "$ac_cv_use_clipboard"
3856 if test "$no_cache" != 1; then
3857 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
3860 if test "$wxUSE_CLIPBOARD" = yes; then
3861 echo "$ac_t""yes" 1>&6
3863 echo "$ac_t""no" 1>&6
3867 echo $ac_n "checking "for --enable-dnd"""... $ac_c" 1>&6
3868 echo "configure:3869: checking "for --enable-dnd"" >&5
3870 # Check whether --enable-dnd or --disable-dnd was given.
3871 if test "${enable_dnd+set}" = set; then
3872 enableval
="$enable_dnd"
3874 if test "$enableval" = yes; then
3875 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
3877 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
3882 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
3883 if test "x$LINE" != x
; then
3884 eval "DEFAULT_$LINE"
3889 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
3894 eval "$ac_cv_use_dnd"
3895 if test "$no_cache" != 1; then
3896 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
3899 if test "$wxUSE_DRAG_AND_DROP" = yes; then
3900 echo "$ac_t""yes" 1>&6
3902 echo "$ac_t""no" 1>&6
3907 echo $ac_n "checking "for --enable-wxtree"""... $ac_c" 1>&6
3908 echo "configure:3909: checking "for --enable-wxtree"" >&5
3910 # Check whether --enable-wxtree or --disable-wxtree was given.
3911 if test "${enable_wxtree+set}" = set; then
3912 enableval
="$enable_wxtree"
3914 if test "$enableval" = yes; then
3915 ac_cv_use_wxtree
='wxUSE_WXTREE=yes'
3917 ac_cv_use_wxtree
='wxUSE_WXTREE=no'
3922 LINE
=`grep "wxUSE_WXTREE" ${wx_arg_cache_file}`
3923 if test "x$LINE" != x
; then
3924 eval "DEFAULT_$LINE"
3929 ac_cv_use_wxtree
='wxUSE_WXTREE='$DEFAULT_wxUSE_WXTREE
3934 eval "$ac_cv_use_wxtree"
3935 if test "$no_cache" != 1; then
3936 echo $ac_cv_use_wxtree >> ${wx_arg_cache_file}.tmp
3939 if test "$wxUSE_WXTREE" = yes; then
3940 echo "$ac_t""yes" 1>&6
3942 echo "$ac_t""no" 1>&6
3948 echo $ac_n "checking "for --enable-controls"""... $ac_c" 1>&6
3949 echo "configure:3950: checking "for --enable-controls"" >&5
3951 # Check whether --enable-controls or --disable-controls was given.
3952 if test "${enable_controls+set}" = set; then
3953 enableval
="$enable_controls"
3955 if test "$enableval" = yes; then
3956 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
3958 ac_cv_use_controls
='wxUSE_CONTROLS=no'
3963 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
3964 if test "x$LINE" != x
; then
3965 eval "DEFAULT_$LINE"
3970 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
3975 eval "$ac_cv_use_controls"
3976 if test "$no_cache" != 1; then
3977 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
3980 if test "$wxUSE_CONTROLS" = yes; then
3981 echo "$ac_t""yes" 1>&6
3983 echo "$ac_t""no" 1>&6
3987 if test "$wxUSE_CONTROLS" = "yes"; then
3988 DEFAULT_wxUSE_ACCEL
=yes
3989 DEFAULT_wxUSE_CARET
=yes
3990 DEFAULT_wxUSE_COMBOBOX
=yes
3991 DEFAULT_wxUSE_BMPBUTTON
=yes
3992 DEFAULT_wxUSE_CHECKBOX
=yes
3993 DEFAULT_wxUSE_CHECKLISTBOX
=yes
3994 DEFAULT_wxUSE_CHOICE
=yes
3995 DEFAULT_wxUSE_GAUGE
=yes
3996 DEFAULT_wxUSE_GRID
=yes
3997 DEFAULT_wxUSE_NEW_GRID
=yes
3998 DEFAULT_wxUSE_IMAGLIST
=yes
3999 DEFAULT_wxUSE_LISTBOX
=yes
4000 DEFAULT_wxUSE_LISTCTRL
=yes
4001 DEFAULT_wxUSE_NOTEBOOK
=yes
4002 DEFAULT_wxUSE_RADIOBOX
=yes
4003 DEFAULT_wxUSE_RADIOBTN
=yes
4004 DEFAULT_wxUSE_SASH
=yes
4005 DEFAULT_wxUSE_SCROLLBAR
=yes
4006 DEFAULT_wxUSE_SLIDER
=yes
4007 DEFAULT_wxUSE_SPINBTN
=yes
4008 DEFAULT_wxUSE_SPINCTRL
=yes
4009 DEFAULT_wxUSE_SPLITTER
=yes
4010 DEFAULT_wxUSE_STATBMP
=yes
4011 DEFAULT_wxUSE_STATBOX
=yes
4012 DEFAULT_wxUSE_STATLINE
=yes
4013 DEFAULT_wxUSE_STATUSBAR
=yes
4014 DEFAULT_wxUSE_TAB_DIALOG
=yes
4015 DEFAULT_wxUSE_TOOLBAR
=yes
4016 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
4017 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
4018 DEFAULT_wxUSE_TOOLTIPS
=yes
4019 DEFAULT_wxUSE_TREECTRL
=yes
4020 elif test "$wxUSE_CONTROLS" = "no"; then
4021 DEFAULT_wxUSE_ACCEL
=no
4022 DEFAULT_wxUSE_CARET
=no
4023 DEFAULT_wxUSE_COMBOBOX
=no
4024 DEFAULT_wxUSE_BMPBUTTON
=no
4025 DEFAULT_wxUSE_CHECKBOX
=no
4026 DEFAULT_wxUSE_CHECKLISTBOX
=no
4027 DEFAULT_wxUSE_CHOICE
=no
4028 DEFAULT_wxUSE_GAUGE
=no
4029 DEFAULT_wxUSE_GRID
=no
4030 DEFAULT_wxUSE_NEW_GRID
=no
4031 DEFAULT_wxUSE_IMAGLIST
=no
4032 DEFAULT_wxUSE_LISTBOX
=no
4033 DEFAULT_wxUSE_LISTCTRL
=no
4034 DEFAULT_wxUSE_NOTEBOOK
=no
4035 DEFAULT_wxUSE_RADIOBOX
=no
4036 DEFAULT_wxUSE_RADIOBTN
=no
4037 DEFAULT_wxUSE_SASH
=no
4038 DEFAULT_wxUSE_SCROLLBAR
=no
4039 DEFAULT_wxUSE_SLIDER
=no
4040 DEFAULT_wxUSE_SPINBTN
=no
4041 DEFAULT_wxUSE_SPINCTRL
=no
4042 DEFAULT_wxUSE_SPLITTER
=no
4043 DEFAULT_wxUSE_STATBMP
=no
4044 DEFAULT_wxUSE_STATBOX
=no
4045 DEFAULT_wxUSE_STATLINE
=no
4046 DEFAULT_wxUSE_STATUSBAR
=no
4047 DEFAULT_wxUSE_TAB_DIALOG
=no
4048 DEFAULT_wxUSE_TOOLBAR
=no
4049 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
4050 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
4051 DEFAULT_wxUSE_TOOLTIPS
=no
4052 DEFAULT_wxUSE_TREECTRL
=no
4056 echo $ac_n "checking "for --enable-accel"""... $ac_c" 1>&6
4057 echo "configure:4058: checking "for --enable-accel"" >&5
4059 # Check whether --enable-accel or --disable-accel was given.
4060 if test "${enable_accel+set}" = set; then
4061 enableval
="$enable_accel"
4063 if test "$enableval" = yes; then
4064 ac_cv_use_accel
='wxUSE_ACCEL=yes'
4066 ac_cv_use_accel
='wxUSE_ACCEL=no'
4071 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
4072 if test "x$LINE" != x
; then
4073 eval "DEFAULT_$LINE"
4078 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
4083 eval "$ac_cv_use_accel"
4084 if test "$no_cache" != 1; then
4085 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
4088 if test "$wxUSE_ACCEL" = yes; then
4089 echo "$ac_t""yes" 1>&6
4091 echo "$ac_t""no" 1>&6
4095 echo $ac_n "checking "for --enable-caret"""... $ac_c" 1>&6
4096 echo "configure:4097: checking "for --enable-caret"" >&5
4098 # Check whether --enable-caret or --disable-caret was given.
4099 if test "${enable_caret+set}" = set; then
4100 enableval
="$enable_caret"
4102 if test "$enableval" = yes; then
4103 ac_cv_use_caret
='wxUSE_CARET=yes'
4105 ac_cv_use_caret
='wxUSE_CARET=no'
4110 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
4111 if test "x$LINE" != x
; then
4112 eval "DEFAULT_$LINE"
4117 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
4122 eval "$ac_cv_use_caret"
4123 if test "$no_cache" != 1; then
4124 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
4127 if test "$wxUSE_CARET" = yes; then
4128 echo "$ac_t""yes" 1>&6
4130 echo "$ac_t""no" 1>&6
4134 echo $ac_n "checking "for --enable-bmpbutton"""... $ac_c" 1>&6
4135 echo "configure:4136: checking "for --enable-bmpbutton"" >&5
4137 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
4138 if test "${enable_bmpbutton+set}" = set; then
4139 enableval
="$enable_bmpbutton"
4141 if test "$enableval" = yes; then
4142 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
4144 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
4149 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
4150 if test "x$LINE" != x
; then
4151 eval "DEFAULT_$LINE"
4156 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
4161 eval "$ac_cv_use_bmpbutton"
4162 if test "$no_cache" != 1; then
4163 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
4166 if test "$wxUSE_BMPBUTTON" = yes; then
4167 echo "$ac_t""yes" 1>&6
4169 echo "$ac_t""no" 1>&6
4173 echo $ac_n "checking "for --enable-checkbox"""... $ac_c" 1>&6
4174 echo "configure:4175: checking "for --enable-checkbox"" >&5
4176 # Check whether --enable-checkbox or --disable-checkbox was given.
4177 if test "${enable_checkbox+set}" = set; then
4178 enableval
="$enable_checkbox"
4180 if test "$enableval" = yes; then
4181 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
4183 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
4188 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
4189 if test "x$LINE" != x
; then
4190 eval "DEFAULT_$LINE"
4195 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
4200 eval "$ac_cv_use_checkbox"
4201 if test "$no_cache" != 1; then
4202 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
4205 if test "$wxUSE_CHECKBOX" = yes; then
4206 echo "$ac_t""yes" 1>&6
4208 echo "$ac_t""no" 1>&6
4212 echo $ac_n "checking "for --enable-checklst"""... $ac_c" 1>&6
4213 echo "configure:4214: checking "for --enable-checklst"" >&5
4215 # Check whether --enable-checklst or --disable-checklst was given.
4216 if test "${enable_checklst+set}" = set; then
4217 enableval
="$enable_checklst"
4219 if test "$enableval" = yes; then
4220 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
4222 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
4227 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
4228 if test "x$LINE" != x
; then
4229 eval "DEFAULT_$LINE"
4234 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
4239 eval "$ac_cv_use_checklst"
4240 if test "$no_cache" != 1; then
4241 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
4244 if test "$wxUSE_CHECKLST" = yes; then
4245 echo "$ac_t""yes" 1>&6
4247 echo "$ac_t""no" 1>&6
4251 echo $ac_n "checking "for --enable-choice"""... $ac_c" 1>&6
4252 echo "configure:4253: checking "for --enable-choice"" >&5
4254 # Check whether --enable-choice or --disable-choice was given.
4255 if test "${enable_choice+set}" = set; then
4256 enableval
="$enable_choice"
4258 if test "$enableval" = yes; then
4259 ac_cv_use_choice
='wxUSE_CHOICE=yes'
4261 ac_cv_use_choice
='wxUSE_CHOICE=no'
4266 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
4267 if test "x$LINE" != x
; then
4268 eval "DEFAULT_$LINE"
4273 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
4278 eval "$ac_cv_use_choice"
4279 if test "$no_cache" != 1; then
4280 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
4283 if test "$wxUSE_CHOICE" = yes; then
4284 echo "$ac_t""yes" 1>&6
4286 echo "$ac_t""no" 1>&6
4290 echo $ac_n "checking "for --enable-combobox"""... $ac_c" 1>&6
4291 echo "configure:4292: checking "for --enable-combobox"" >&5
4293 # Check whether --enable-combobox or --disable-combobox was given.
4294 if test "${enable_combobox+set}" = set; then
4295 enableval
="$enable_combobox"
4297 if test "$enableval" = yes; then
4298 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
4300 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
4305 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
4306 if test "x$LINE" != x
; then
4307 eval "DEFAULT_$LINE"
4312 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
4317 eval "$ac_cv_use_combobox"
4318 if test "$no_cache" != 1; then
4319 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
4322 if test "$wxUSE_COMBOBOX" = yes; then
4323 echo "$ac_t""yes" 1>&6
4325 echo "$ac_t""no" 1>&6
4329 echo $ac_n "checking "for --enable-gauge"""... $ac_c" 1>&6
4330 echo "configure:4331: checking "for --enable-gauge"" >&5
4332 # Check whether --enable-gauge or --disable-gauge was given.
4333 if test "${enable_gauge+set}" = set; then
4334 enableval
="$enable_gauge"
4336 if test "$enableval" = yes; then
4337 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
4339 ac_cv_use_gauge
='wxUSE_GAUGE=no'
4344 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
4345 if test "x$LINE" != x
; then
4346 eval "DEFAULT_$LINE"
4351 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
4356 eval "$ac_cv_use_gauge"
4357 if test "$no_cache" != 1; then
4358 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
4361 if test "$wxUSE_GAUGE" = yes; then
4362 echo "$ac_t""yes" 1>&6
4364 echo "$ac_t""no" 1>&6
4368 echo $ac_n "checking "for --enable-grid"""... $ac_c" 1>&6
4369 echo "configure:4370: checking "for --enable-grid"" >&5
4371 # Check whether --enable-grid or --disable-grid was given.
4372 if test "${enable_grid+set}" = set; then
4373 enableval
="$enable_grid"
4375 if test "$enableval" = yes; then
4376 ac_cv_use_grid
='wxUSE_GRID=yes'
4378 ac_cv_use_grid
='wxUSE_GRID=no'
4383 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
4384 if test "x$LINE" != x
; then
4385 eval "DEFAULT_$LINE"
4390 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
4395 eval "$ac_cv_use_grid"
4396 if test "$no_cache" != 1; then
4397 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
4400 if test "$wxUSE_GRID" = yes; then
4401 echo "$ac_t""yes" 1>&6
4403 echo "$ac_t""no" 1>&6
4407 echo $ac_n "checking "for --enable-newgrid"""... $ac_c" 1>&6
4408 echo "configure:4409: checking "for --enable-newgrid"" >&5
4410 # Check whether --enable-newgrid or --disable-newgrid was given.
4411 if test "${enable_newgrid+set}" = set; then
4412 enableval
="$enable_newgrid"
4414 if test "$enableval" = yes; then
4415 ac_cv_use_newgrid
='wxUSE_NEW_GRID=yes'
4417 ac_cv_use_newgrid
='wxUSE_NEW_GRID=no'
4422 LINE
=`grep "wxUSE_NEW_GRID" ${wx_arg_cache_file}`
4423 if test "x$LINE" != x
; then
4424 eval "DEFAULT_$LINE"
4429 ac_cv_use_newgrid
='wxUSE_NEW_GRID='$DEFAULT_wxUSE_NEW_GRID
4434 eval "$ac_cv_use_newgrid"
4435 if test "$no_cache" != 1; then
4436 echo $ac_cv_use_newgrid >> ${wx_arg_cache_file}.tmp
4439 if test "$wxUSE_NEW_GRID" = yes; then
4440 echo "$ac_t""yes" 1>&6
4442 echo "$ac_t""no" 1>&6
4446 echo $ac_n "checking "for --enable-imaglist"""... $ac_c" 1>&6
4447 echo "configure:4448: checking "for --enable-imaglist"" >&5
4449 # Check whether --enable-imaglist or --disable-imaglist was given.
4450 if test "${enable_imaglist+set}" = set; then
4451 enableval
="$enable_imaglist"
4453 if test "$enableval" = yes; then
4454 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
4456 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
4461 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
4462 if test "x$LINE" != x
; then
4463 eval "DEFAULT_$LINE"
4468 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
4473 eval "$ac_cv_use_imaglist"
4474 if test "$no_cache" != 1; then
4475 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
4478 if test "$wxUSE_IMAGLIST" = yes; then
4479 echo "$ac_t""yes" 1>&6
4481 echo "$ac_t""no" 1>&6
4485 echo $ac_n "checking "for --enable-listbox"""... $ac_c" 1>&6
4486 echo "configure:4487: checking "for --enable-listbox"" >&5
4488 # Check whether --enable-listbox or --disable-listbox was given.
4489 if test "${enable_listbox+set}" = set; then
4490 enableval
="$enable_listbox"
4492 if test "$enableval" = yes; then
4493 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
4495 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
4500 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
4501 if test "x$LINE" != x
; then
4502 eval "DEFAULT_$LINE"
4507 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
4512 eval "$ac_cv_use_listbox"
4513 if test "$no_cache" != 1; then
4514 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
4517 if test "$wxUSE_LISTBOX" = yes; then
4518 echo "$ac_t""yes" 1>&6
4520 echo "$ac_t""no" 1>&6
4524 echo $ac_n "checking "for --enable-listctrl"""... $ac_c" 1>&6
4525 echo "configure:4526: checking "for --enable-listctrl"" >&5
4527 # Check whether --enable-listctrl or --disable-listctrl was given.
4528 if test "${enable_listctrl+set}" = set; then
4529 enableval
="$enable_listctrl"
4531 if test "$enableval" = yes; then
4532 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
4534 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
4539 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
4540 if test "x$LINE" != x
; then
4541 eval "DEFAULT_$LINE"
4546 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
4551 eval "$ac_cv_use_listctrl"
4552 if test "$no_cache" != 1; then
4553 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
4556 if test "$wxUSE_LISTCTRL" = yes; then
4557 echo "$ac_t""yes" 1>&6
4559 echo "$ac_t""no" 1>&6
4563 echo $ac_n "checking "for --enable-notebook"""... $ac_c" 1>&6
4564 echo "configure:4565: checking "for --enable-notebook"" >&5
4566 # Check whether --enable-notebook or --disable-notebook was given.
4567 if test "${enable_notebook+set}" = set; then
4568 enableval
="$enable_notebook"
4570 if test "$enableval" = yes; then
4571 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
4573 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
4578 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
4579 if test "x$LINE" != x
; then
4580 eval "DEFAULT_$LINE"
4585 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
4590 eval "$ac_cv_use_notebook"
4591 if test "$no_cache" != 1; then
4592 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
4595 if test "$wxUSE_NOTEBOOK" = yes; then
4596 echo "$ac_t""yes" 1>&6
4598 echo "$ac_t""no" 1>&6
4602 echo $ac_n "checking "for --enable-radiobox"""... $ac_c" 1>&6
4603 echo "configure:4604: checking "for --enable-radiobox"" >&5
4605 # Check whether --enable-radiobox or --disable-radiobox was given.
4606 if test "${enable_radiobox+set}" = set; then
4607 enableval
="$enable_radiobox"
4609 if test "$enableval" = yes; then
4610 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
4612 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
4617 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
4618 if test "x$LINE" != x
; then
4619 eval "DEFAULT_$LINE"
4624 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
4629 eval "$ac_cv_use_radiobox"
4630 if test "$no_cache" != 1; then
4631 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
4634 if test "$wxUSE_RADIOBOX" = yes; then
4635 echo "$ac_t""yes" 1>&6
4637 echo "$ac_t""no" 1>&6
4641 echo $ac_n "checking "for --enable-radiobtn"""... $ac_c" 1>&6
4642 echo "configure:4643: checking "for --enable-radiobtn"" >&5
4644 # Check whether --enable-radiobtn or --disable-radiobtn was given.
4645 if test "${enable_radiobtn+set}" = set; then
4646 enableval
="$enable_radiobtn"
4648 if test "$enableval" = yes; then
4649 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
4651 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
4656 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
4657 if test "x$LINE" != x
; then
4658 eval "DEFAULT_$LINE"
4663 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
4668 eval "$ac_cv_use_radiobtn"
4669 if test "$no_cache" != 1; then
4670 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
4673 if test "$wxUSE_RADIOBTN" = yes; then
4674 echo "$ac_t""yes" 1>&6
4676 echo "$ac_t""no" 1>&6
4680 echo $ac_n "checking "for --enable-sash"""... $ac_c" 1>&6
4681 echo "configure:4682: checking "for --enable-sash"" >&5
4683 # Check whether --enable-sash or --disable-sash was given.
4684 if test "${enable_sash+set}" = set; then
4685 enableval
="$enable_sash"
4687 if test "$enableval" = yes; then
4688 ac_cv_use_sash
='wxUSE_SASH=yes'
4690 ac_cv_use_sash
='wxUSE_SASH=no'
4695 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
4696 if test "x$LINE" != x
; then
4697 eval "DEFAULT_$LINE"
4702 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
4707 eval "$ac_cv_use_sash"
4708 if test "$no_cache" != 1; then
4709 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
4712 if test "$wxUSE_SASH" = yes; then
4713 echo "$ac_t""yes" 1>&6
4715 echo "$ac_t""no" 1>&6
4719 echo $ac_n "checking "for --enable-scrollbar"""... $ac_c" 1>&6
4720 echo "configure:4721: checking "for --enable-scrollbar"" >&5
4722 # Check whether --enable-scrollbar or --disable-scrollbar was given.
4723 if test "${enable_scrollbar+set}" = set; then
4724 enableval
="$enable_scrollbar"
4726 if test "$enableval" = yes; then
4727 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
4729 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
4734 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
4735 if test "x$LINE" != x
; then
4736 eval "DEFAULT_$LINE"
4741 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
4746 eval "$ac_cv_use_scrollbar"
4747 if test "$no_cache" != 1; then
4748 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
4751 if test "$wxUSE_SCROLLBAR" = yes; then
4752 echo "$ac_t""yes" 1>&6
4754 echo "$ac_t""no" 1>&6
4758 echo $ac_n "checking "for --enable-slider"""... $ac_c" 1>&6
4759 echo "configure:4760: checking "for --enable-slider"" >&5
4761 # Check whether --enable-slider or --disable-slider was given.
4762 if test "${enable_slider+set}" = set; then
4763 enableval
="$enable_slider"
4765 if test "$enableval" = yes; then
4766 ac_cv_use_slider
='wxUSE_SLIDER=yes'
4768 ac_cv_use_slider
='wxUSE_SLIDER=no'
4773 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
4774 if test "x$LINE" != x
; then
4775 eval "DEFAULT_$LINE"
4780 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
4785 eval "$ac_cv_use_slider"
4786 if test "$no_cache" != 1; then
4787 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
4790 if test "$wxUSE_SLIDER" = yes; then
4791 echo "$ac_t""yes" 1>&6
4793 echo "$ac_t""no" 1>&6
4797 echo $ac_n "checking "for --enable-spinbtn"""... $ac_c" 1>&6
4798 echo "configure:4799: checking "for --enable-spinbtn"" >&5
4800 # Check whether --enable-spinbtn or --disable-spinbtn was given.
4801 if test "${enable_spinbtn+set}" = set; then
4802 enableval
="$enable_spinbtn"
4804 if test "$enableval" = yes; then
4805 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
4807 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
4812 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
4813 if test "x$LINE" != x
; then
4814 eval "DEFAULT_$LINE"
4819 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
4824 eval "$ac_cv_use_spinbtn"
4825 if test "$no_cache" != 1; then
4826 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
4829 if test "$wxUSE_SPINBTN" = yes; then
4830 echo "$ac_t""yes" 1>&6
4832 echo "$ac_t""no" 1>&6
4836 echo $ac_n "checking "for --enable-spinctrl"""... $ac_c" 1>&6
4837 echo "configure:4838: checking "for --enable-spinctrl"" >&5
4839 # Check whether --enable-spinctrl or --disable-spinctrl was given.
4840 if test "${enable_spinctrl+set}" = set; then
4841 enableval
="$enable_spinctrl"
4843 if test "$enableval" = yes; then
4844 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
4846 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
4851 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
4852 if test "x$LINE" != x
; then
4853 eval "DEFAULT_$LINE"
4858 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
4863 eval "$ac_cv_use_spinctrl"
4864 if test "$no_cache" != 1; then
4865 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
4868 if test "$wxUSE_SPINCTRL" = yes; then
4869 echo "$ac_t""yes" 1>&6
4871 echo "$ac_t""no" 1>&6
4875 echo $ac_n "checking "for --enable-splitter"""... $ac_c" 1>&6
4876 echo "configure:4877: checking "for --enable-splitter"" >&5
4878 # Check whether --enable-splitter or --disable-splitter was given.
4879 if test "${enable_splitter+set}" = set; then
4880 enableval
="$enable_splitter"
4882 if test "$enableval" = yes; then
4883 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
4885 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
4890 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
4891 if test "x$LINE" != x
; then
4892 eval "DEFAULT_$LINE"
4897 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
4902 eval "$ac_cv_use_splitter"
4903 if test "$no_cache" != 1; then
4904 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
4907 if test "$wxUSE_SPLITTER" = yes; then
4908 echo "$ac_t""yes" 1>&6
4910 echo "$ac_t""no" 1>&6
4914 echo $ac_n "checking "for --enable-statbmp"""... $ac_c" 1>&6
4915 echo "configure:4916: checking "for --enable-statbmp"" >&5
4917 # Check whether --enable-statbmp or --disable-statbmp was given.
4918 if test "${enable_statbmp+set}" = set; then
4919 enableval
="$enable_statbmp"
4921 if test "$enableval" = yes; then
4922 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
4924 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
4929 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
4930 if test "x$LINE" != x
; then
4931 eval "DEFAULT_$LINE"
4936 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
4941 eval "$ac_cv_use_statbmp"
4942 if test "$no_cache" != 1; then
4943 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
4946 if test "$wxUSE_STATBMP" = yes; then
4947 echo "$ac_t""yes" 1>&6
4949 echo "$ac_t""no" 1>&6
4953 echo $ac_n "checking "for --enable-statbox"""... $ac_c" 1>&6
4954 echo "configure:4955: checking "for --enable-statbox"" >&5
4956 # Check whether --enable-statbox or --disable-statbox was given.
4957 if test "${enable_statbox+set}" = set; then
4958 enableval
="$enable_statbox"
4960 if test "$enableval" = yes; then
4961 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
4963 ac_cv_use_statbox
='wxUSE_STATBOX=no'
4968 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
4969 if test "x$LINE" != x
; then
4970 eval "DEFAULT_$LINE"
4975 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
4980 eval "$ac_cv_use_statbox"
4981 if test "$no_cache" != 1; then
4982 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
4985 if test "$wxUSE_STATBOX" = yes; then
4986 echo "$ac_t""yes" 1>&6
4988 echo "$ac_t""no" 1>&6
4992 echo $ac_n "checking "for --enable-statline"""... $ac_c" 1>&6
4993 echo "configure:4994: checking "for --enable-statline"" >&5
4995 # Check whether --enable-statline or --disable-statline was given.
4996 if test "${enable_statline+set}" = set; then
4997 enableval
="$enable_statline"
4999 if test "$enableval" = yes; then
5000 ac_cv_use_statline
='wxUSE_STATLINE=yes'
5002 ac_cv_use_statline
='wxUSE_STATLINE=no'
5007 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
5008 if test "x$LINE" != x
; then
5009 eval "DEFAULT_$LINE"
5014 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
5019 eval "$ac_cv_use_statline"
5020 if test "$no_cache" != 1; then
5021 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
5024 if test "$wxUSE_STATLINE" = yes; then
5025 echo "$ac_t""yes" 1>&6
5027 echo "$ac_t""no" 1>&6
5031 echo $ac_n "checking "for --enable-statusbar"""... $ac_c" 1>&6
5032 echo "configure:5033: checking "for --enable-statusbar"" >&5
5034 # Check whether --enable-statusbar or --disable-statusbar was given.
5035 if test "${enable_statusbar+set}" = set; then
5036 enableval
="$enable_statusbar"
5038 if test "$enableval" = yes; then
5039 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
5041 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
5046 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
5047 if test "x$LINE" != x
; then
5048 eval "DEFAULT_$LINE"
5053 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
5058 eval "$ac_cv_use_statusbar"
5059 if test "$no_cache" != 1; then
5060 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
5063 if test "$wxUSE_STATUSBAR" = yes; then
5064 echo "$ac_t""yes" 1>&6
5066 echo "$ac_t""no" 1>&6
5070 echo $ac_n "checking "for --enable-tabdialog"""... $ac_c" 1>&6
5071 echo "configure:5072: checking "for --enable-tabdialog"" >&5
5073 # Check whether --enable-tabdialog or --disable-tabdialog was given.
5074 if test "${enable_tabdialog+set}" = set; then
5075 enableval
="$enable_tabdialog"
5077 if test "$enableval" = yes; then
5078 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
5080 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
5085 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
5086 if test "x$LINE" != x
; then
5087 eval "DEFAULT_$LINE"
5092 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
5097 eval "$ac_cv_use_tabdialog"
5098 if test "$no_cache" != 1; then
5099 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
5102 if test "$wxUSE_TABDIALOG" = yes; then
5103 echo "$ac_t""yes" 1>&6
5105 echo "$ac_t""no" 1>&6
5109 echo $ac_n "checking "for --enable-toolbar"""... $ac_c" 1>&6
5110 echo "configure:5111: checking "for --enable-toolbar"" >&5
5112 # Check whether --enable-toolbar or --disable-toolbar was given.
5113 if test "${enable_toolbar+set}" = set; then
5114 enableval
="$enable_toolbar"
5116 if test "$enableval" = yes; then
5117 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
5119 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
5124 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
5125 if test "x$LINE" != x
; then
5126 eval "DEFAULT_$LINE"
5131 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
5136 eval "$ac_cv_use_toolbar"
5137 if test "$no_cache" != 1; then
5138 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
5141 if test "$wxUSE_TOOLBAR" = yes; then
5142 echo "$ac_t""yes" 1>&6
5144 echo "$ac_t""no" 1>&6
5148 echo $ac_n "checking "for --enable-tbarnative"""... $ac_c" 1>&6
5149 echo "configure:5150: checking "for --enable-tbarnative"" >&5
5151 # Check whether --enable-tbarnative or --disable-tbarnative was given.
5152 if test "${enable_tbarnative+set}" = set; then
5153 enableval
="$enable_tbarnative"
5155 if test "$enableval" = yes; then
5156 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
5158 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
5163 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
5164 if test "x$LINE" != x
; then
5165 eval "DEFAULT_$LINE"
5170 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
5175 eval "$ac_cv_use_tbarnative"
5176 if test "$no_cache" != 1; then
5177 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
5180 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
5181 echo "$ac_t""yes" 1>&6
5183 echo "$ac_t""no" 1>&6
5187 echo $ac_n "checking "for --enable-tbarsmpl"""... $ac_c" 1>&6
5188 echo "configure:5189: checking "for --enable-tbarsmpl"" >&5
5190 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
5191 if test "${enable_tbarsmpl+set}" = set; then
5192 enableval
="$enable_tbarsmpl"
5194 if test "$enableval" = yes; then
5195 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
5197 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
5202 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
5203 if test "x$LINE" != x
; then
5204 eval "DEFAULT_$LINE"
5209 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
5214 eval "$ac_cv_use_tbarsmpl"
5215 if test "$no_cache" != 1; then
5216 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
5219 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
5220 echo "$ac_t""yes" 1>&6
5222 echo "$ac_t""no" 1>&6
5226 echo $ac_n "checking "for --enable-treectrl"""... $ac_c" 1>&6
5227 echo "configure:5228: checking "for --enable-treectrl"" >&5
5229 # Check whether --enable-treectrl or --disable-treectrl was given.
5230 if test "${enable_treectrl+set}" = set; then
5231 enableval
="$enable_treectrl"
5233 if test "$enableval" = yes; then
5234 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
5236 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
5241 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
5242 if test "x$LINE" != x
; then
5243 eval "DEFAULT_$LINE"
5248 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
5253 eval "$ac_cv_use_treectrl"
5254 if test "$no_cache" != 1; then
5255 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
5258 if test "$wxUSE_TREECTRL" = yes; then
5259 echo "$ac_t""yes" 1>&6
5261 echo "$ac_t""no" 1>&6
5267 echo $ac_n "checking "for --enable-commondlg"""... $ac_c" 1>&6
5268 echo "configure:5269: checking "for --enable-commondlg"" >&5
5270 # Check whether --enable-commondlg or --disable-commondlg was given.
5271 if test "${enable_commondlg+set}" = set; then
5272 enableval
="$enable_commondlg"
5274 if test "$enableval" = yes; then
5275 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
5277 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
5282 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
5283 if test "x$LINE" != x
; then
5284 eval "DEFAULT_$LINE"
5289 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
5294 eval "$ac_cv_use_commondlg"
5295 if test "$no_cache" != 1; then
5296 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
5299 if test "$wxUSE_COMMONDLGS" = yes; then
5300 echo "$ac_t""yes" 1>&6
5302 echo "$ac_t""no" 1>&6
5306 echo $ac_n "checking "for --enable-dirdlg"""... $ac_c" 1>&6
5307 echo "configure:5308: checking "for --enable-dirdlg"" >&5
5309 # Check whether --enable-dirdlg or --disable-dirdlg was given.
5310 if test "${enable_dirdlg+set}" = set; then
5311 enableval
="$enable_dirdlg"
5313 if test "$enableval" = yes; then
5314 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
5316 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
5321 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
5322 if test "x$LINE" != x
; then
5323 eval "DEFAULT_$LINE"
5328 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
5333 eval "$ac_cv_use_dirdlg"
5334 if test "$no_cache" != 1; then
5335 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
5338 if test "$wxUSE_DIRDLG" = yes; then
5339 echo "$ac_t""yes" 1>&6
5341 echo "$ac_t""no" 1>&6
5345 echo $ac_n "checking "for --enable-textdlg"""... $ac_c" 1>&6
5346 echo "configure:5347: checking "for --enable-textdlg"" >&5
5348 # Check whether --enable-textdlg or --disable-textdlg was given.
5349 if test "${enable_textdlg+set}" = set; then
5350 enableval
="$enable_textdlg"
5352 if test "$enableval" = yes; then
5353 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
5355 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
5360 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
5361 if test "x$LINE" != x
; then
5362 eval "DEFAULT_$LINE"
5367 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
5372 eval "$ac_cv_use_textdlg"
5373 if test "$no_cache" != 1; then
5374 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
5377 if test "$wxUSE_TEXTDLG" = yes; then
5378 echo "$ac_t""yes" 1>&6
5380 echo "$ac_t""no" 1>&6
5384 echo $ac_n "checking "for --enable-tipdlg"""... $ac_c" 1>&6
5385 echo "configure:5386: checking "for --enable-tipdlg"" >&5
5387 # Check whether --enable-tipdlg or --disable-tipdlg was given.
5388 if test "${enable_tipdlg+set}" = set; then
5389 enableval
="$enable_tipdlg"
5391 if test "$enableval" = yes; then
5392 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
5394 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
5399 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
5400 if test "x$LINE" != x
; then
5401 eval "DEFAULT_$LINE"
5406 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
5411 eval "$ac_cv_use_tipdlg"
5412 if test "$no_cache" != 1; then
5413 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
5416 if test "$wxUSE_STARTUP_TIPS" = yes; then
5417 echo "$ac_t""yes" 1>&6
5419 echo "$ac_t""no" 1>&6
5423 echo $ac_n "checking "for --enable-progressdlg"""... $ac_c" 1>&6
5424 echo "configure:5425: checking "for --enable-progressdlg"" >&5
5426 # Check whether --enable-progressdlg or --disable-progressdlg was given.
5427 if test "${enable_progressdlg+set}" = set; then
5428 enableval
="$enable_progressdlg"
5430 if test "$enableval" = yes; then
5431 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
5433 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
5438 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
5439 if test "x$LINE" != x
; then
5440 eval "DEFAULT_$LINE"
5445 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
5450 eval "$ac_cv_use_progressdlg"
5451 if test "$no_cache" != 1; then
5452 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
5455 if test "$wxUSE_PROGRESSDLG" = yes; then
5456 echo "$ac_t""yes" 1>&6
5458 echo "$ac_t""no" 1>&6
5462 echo $ac_n "checking "for --enable-miniframe"""... $ac_c" 1>&6
5463 echo "configure:5464: checking "for --enable-miniframe"" >&5
5465 # Check whether --enable-miniframe or --disable-miniframe was given.
5466 if test "${enable_miniframe+set}" = set; then
5467 enableval
="$enable_miniframe"
5469 if test "$enableval" = yes; then
5470 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
5472 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
5477 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
5478 if test "x$LINE" != x
; then
5479 eval "DEFAULT_$LINE"
5484 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
5489 eval "$ac_cv_use_miniframe"
5490 if test "$no_cache" != 1; then
5491 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
5494 if test "$wxUSE_MINIFRAME" = yes; then
5495 echo "$ac_t""yes" 1>&6
5497 echo "$ac_t""no" 1>&6
5501 echo $ac_n "checking "for --enable-html"""... $ac_c" 1>&6
5502 echo "configure:5503: checking "for --enable-html"" >&5
5504 # Check whether --enable-html or --disable-html was given.
5505 if test "${enable_html+set}" = set; then
5506 enableval
="$enable_html"
5508 if test "$enableval" = yes; then
5509 ac_cv_use_html
='wxUSE_HTML=yes'
5511 ac_cv_use_html
='wxUSE_HTML=no'
5516 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
5517 if test "x$LINE" != x
; then
5518 eval "DEFAULT_$LINE"
5523 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
5528 eval "$ac_cv_use_html"
5529 if test "$no_cache" != 1; then
5530 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
5533 if test "$wxUSE_HTML" = yes; then
5534 echo "$ac_t""yes" 1>&6
5536 echo "$ac_t""no" 1>&6
5540 echo $ac_n "checking "for --enable-tooltips"""... $ac_c" 1>&6
5541 echo "configure:5542: checking "for --enable-tooltips"" >&5
5543 # Check whether --enable-tooltips or --disable-tooltips was given.
5544 if test "${enable_tooltips+set}" = set; then
5545 enableval
="$enable_tooltips"
5547 if test "$enableval" = yes; then
5548 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
5550 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
5555 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
5556 if test "x$LINE" != x
; then
5557 eval "DEFAULT_$LINE"
5562 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
5567 eval "$ac_cv_use_tooltips"
5568 if test "$no_cache" != 1; then
5569 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
5572 if test "$wxUSE_TOOLTIPS" = yes; then
5573 echo "$ac_t""yes" 1>&6
5575 echo "$ac_t""no" 1>&6
5579 echo $ac_n "checking "for --enable-splines"""... $ac_c" 1>&6
5580 echo "configure:5581: checking "for --enable-splines"" >&5
5582 # Check whether --enable-splines or --disable-splines was given.
5583 if test "${enable_splines+set}" = set; then
5584 enableval
="$enable_splines"
5586 if test "$enableval" = yes; then
5587 ac_cv_use_splines
='wxUSE_SPLINES=yes'
5589 ac_cv_use_splines
='wxUSE_SPLINES=no'
5594 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
5595 if test "x$LINE" != x
; then
5596 eval "DEFAULT_$LINE"
5601 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
5606 eval "$ac_cv_use_splines"
5607 if test "$no_cache" != 1; then
5608 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
5611 if test "$wxUSE_SPLINES" = yes; then
5612 echo "$ac_t""yes" 1>&6
5614 echo "$ac_t""no" 1>&6
5618 echo $ac_n "checking "for --enable-validators"""... $ac_c" 1>&6
5619 echo "configure:5620: checking "for --enable-validators"" >&5
5621 # Check whether --enable-validators or --disable-validators was given.
5622 if test "${enable_validators+set}" = set; then
5623 enableval
="$enable_validators"
5625 if test "$enableval" = yes; then
5626 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
5628 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
5633 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
5634 if test "x$LINE" != x
; then
5635 eval "DEFAULT_$LINE"
5640 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
5645 eval "$ac_cv_use_validators"
5646 if test "$no_cache" != 1; then
5647 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
5650 if test "$wxUSE_VALIDATORS" = yes; then
5651 echo "$ac_t""yes" 1>&6
5653 echo "$ac_t""no" 1>&6
5657 echo $ac_n "checking "for --enable-busyinfo"""... $ac_c" 1>&6
5658 echo "configure:5659: checking "for --enable-busyinfo"" >&5
5660 # Check whether --enable-busyinfo or --disable-busyinfo was given.
5661 if test "${enable_busyinfo+set}" = set; then
5662 enableval
="$enable_busyinfo"
5664 if test "$enableval" = yes; then
5665 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
5667 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
5672 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
5673 if test "x$LINE" != x
; then
5674 eval "DEFAULT_$LINE"
5679 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
5684 eval "$ac_cv_use_busyinfo"
5685 if test "$no_cache" != 1; then
5686 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
5689 if test "$wxUSE_BUSYINFO" = yes; then
5690 echo "$ac_t""yes" 1>&6
5692 echo "$ac_t""no" 1>&6
5696 echo $ac_n "checking "for --enable-plot"""... $ac_c" 1>&6
5697 echo "configure:5698: checking "for --enable-plot"" >&5
5699 # Check whether --enable-plot or --disable-plot was given.
5700 if test "${enable_plot+set}" = set; then
5701 enableval
="$enable_plot"
5703 if test "$enableval" = yes; then
5704 ac_cv_use_plot
='wxUSE_PLOT=yes'
5706 ac_cv_use_plot
='wxUSE_PLOT=no'
5711 LINE
=`grep "wxUSE_PLOT" ${wx_arg_cache_file}`
5712 if test "x$LINE" != x
; then
5713 eval "DEFAULT_$LINE"
5718 ac_cv_use_plot
='wxUSE_PLOT='$DEFAULT_wxUSE_PLOT
5723 eval "$ac_cv_use_plot"
5724 if test "$no_cache" != 1; then
5725 echo $ac_cv_use_plot >> ${wx_arg_cache_file}.tmp
5728 if test "$wxUSE_PLOT" = yes; then
5729 echo "$ac_t""yes" 1>&6
5731 echo "$ac_t""no" 1>&6
5737 echo $ac_n "checking "for --enable-gif"""... $ac_c" 1>&6
5738 echo "configure:5739: checking "for --enable-gif"" >&5
5740 # Check whether --enable-gif or --disable-gif was given.
5741 if test "${enable_gif+set}" = set; then
5742 enableval
="$enable_gif"
5744 if test "$enableval" = yes; then
5745 ac_cv_use_gif
='wxUSE_GIF=yes'
5747 ac_cv_use_gif
='wxUSE_GIF=no'
5752 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
5753 if test "x$LINE" != x
; then
5754 eval "DEFAULT_$LINE"
5759 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
5764 eval "$ac_cv_use_gif"
5765 if test "$no_cache" != 1; then
5766 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
5769 if test "$wxUSE_GIF" = yes; then
5770 echo "$ac_t""yes" 1>&6
5772 echo "$ac_t""no" 1>&6
5776 echo $ac_n "checking "for --enable-pcx"""... $ac_c" 1>&6
5777 echo "configure:5778: checking "for --enable-pcx"" >&5
5779 # Check whether --enable-pcx or --disable-pcx was given.
5780 if test "${enable_pcx+set}" = set; then
5781 enableval
="$enable_pcx"
5783 if test "$enableval" = yes; then
5784 ac_cv_use_pcx
='wxUSE_PCX=yes'
5786 ac_cv_use_pcx
='wxUSE_PCX=no'
5791 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
5792 if test "x$LINE" != x
; then
5793 eval "DEFAULT_$LINE"
5798 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
5803 eval "$ac_cv_use_pcx"
5804 if test "$no_cache" != 1; then
5805 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
5808 if test "$wxUSE_PCX" = yes; then
5809 echo "$ac_t""yes" 1>&6
5811 echo "$ac_t""no" 1>&6
5815 echo $ac_n "checking "for --enable-pnm"""... $ac_c" 1>&6
5816 echo "configure:5817: checking "for --enable-pnm"" >&5
5818 # Check whether --enable-pnm or --disable-pnm was given.
5819 if test "${enable_pnm+set}" = set; then
5820 enableval
="$enable_pnm"
5822 if test "$enableval" = yes; then
5823 ac_cv_use_pnm
='wxUSE_PNM=yes'
5825 ac_cv_use_pnm
='wxUSE_PNM=no'
5830 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
5831 if test "x$LINE" != x
; then
5832 eval "DEFAULT_$LINE"
5837 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
5842 eval "$ac_cv_use_pnm"
5843 if test "$no_cache" != 1; then
5844 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
5847 if test "$wxUSE_PNM" = yes; then
5848 echo "$ac_t""yes" 1>&6
5850 echo "$ac_t""no" 1>&6
5857 echo "saving argument cache $wx_arg_cache_file"
5858 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
5862 echo $ac_n "checking for toolkit""... $ac_c" 1>&6
5863 echo "configure:5864: checking for toolkit" >&5
5865 if test "$wxUSE_GUI" = "yes"; then
5867 if test "$USE_BEOS" = 1; then
5868 { echo "configure: error: BeOS GUI is not supported yet, use --disable-gui" 1>&2; exit 1; }
5871 if test "$TOOLKIT_GIVEN" = 1; then
5872 for toolkit
in `echo $ALL_TOOLKITS`; do
5874 eval "value=\$${var}"
5875 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
5878 for toolkit
in `echo $ALL_TOOLKITS`; do
5879 if test "$has_toolkit_in_cache" != 1; then
5880 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
5882 var
=DEFAULT_wxUSE_
$toolkit
5884 eval "wxUSE_$toolkit=\$${var}"
5888 NUM_TOOLKITS
=`expr ${wxUSE_GTK:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_WINE:-0} + ${wxUSE_MINGW:-0} + ${wxUSE_CYGWIN:-0}`
5892 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
5893 # PATH_IFS is autodetected by OS/2's configure (usually ';')
5902 case "$NUM_TOOLKITS" in
5906 { echo "configure: error: Please specify a toolkit - cannot determine the default for ${host}" 1>&2; exit 1; }
5909 { echo "configure: error: Please specify at most one toolkit (may be some are cached?)" 1>&2; exit 1; }
5912 for toolkit
in `echo $ALL_TOOLKITS`; do
5914 eval "value=\$${var}"
5915 if test "x$value" != x
; then
5916 cache_var
=CACHE_
$toolkit
5917 eval "cache=\$${cache_var}"
5918 if test "$cache" = 1; then
5919 echo "$var=$value" >> ${wx_arg_cache_file}
5921 if test "$value" = 1; then
5922 echo "$ac_t""`echo $toolkit | tr A-Z a-z`" 1>&6
5929 echo "$ac_t""base only" 1>&6
5933 cat > confcache
<<\EOF
5934 # This file is a shell script that caches the results of configure
5935 # tests run on this system so they can be shared between configure
5936 # scripts and configure runs. It is not useful on other systems.
5937 # If it contains results you don't want to keep, you may remove or edit it.
5939 # By default, configure uses ./config.cache as the cache file,
5940 # creating it if it does not exist already. You can give configure
5941 # the --cache-file=FILE option to use a different cache file; that is
5942 # what configure does when it calls configure scripts in
5943 # subdirectories, so they share the cache.
5944 # Giving --cache-file=/dev/null disables caching, for debugging configure.
5945 # config.status only pays attention to the cache file if you give it the
5946 # --recheck option to rerun configure.
5949 # The following way of writing the cache mishandles newlines in values,
5950 # but we know of no workaround that is simple, portable, and efficient.
5951 # So, don't put newlines in cache variables' values.
5952 # Ultrix sh set writes to stderr and can't be redirected directly,
5953 # and sets the high bit in the cache file unless we assign to the vars.
5955 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5957 # `set' does not quote correctly, so add quotes (double-quote substitution
5958 # turns \\\\ into \\, and sed turns \\ into \).
5960 -e "s/'/'\\\\''/g" \
5961 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
5964 # `set' quotes correctly as required by POSIX, so do not add quotes.
5965 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
5968 if cmp -s $cache_file confcache
; then
5971 if test -w $cache_file; then
5972 echo "updating cache $cache_file"
5973 cat confcache
> $cache_file
5975 echo "not updating unwritable cache $cache_file"
5981 if eval "test $host != $build"; then
5982 if eval "test $host_alias != NONE"; then
5986 RANLIB
=$host_alias-ranlib
5987 DLLTOOL
=$host_alias-dlltool
5990 STRIP
=$host_alias-strip
5994 # Extract the first word of "gcc", so it can be a program name with args.
5995 set dummy gcc
; ac_word
=$2
5996 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5997 echo "configure:5998: checking for $ac_word" >&5
5998 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
5999 echo $ac_n "(cached) $ac_c" 1>&6
6001 if test -n "$CC"; then
6002 ac_cv_prog_CC
="$CC" # Let the user override the test.
6004 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6006 for ac_dir
in $ac_dummy; do
6007 test -z "$ac_dir" && ac_dir
=.
6008 if test -f $ac_dir/$ac_word; then
6017 if test -n "$CC"; then
6018 echo "$ac_t""$CC" 1>&6
6020 echo "$ac_t""no" 1>&6
6023 if test -z "$CC"; then
6024 # Extract the first word of "cc", so it can be a program name with args.
6025 set dummy cc
; ac_word
=$2
6026 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6027 echo "configure:6028: checking for $ac_word" >&5
6028 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
6029 echo $ac_n "(cached) $ac_c" 1>&6
6031 if test -n "$CC"; then
6032 ac_cv_prog_CC
="$CC" # Let the user override the test.
6034 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6037 for ac_dir
in $ac_dummy; do
6038 test -z "$ac_dir" && ac_dir
=.
6039 if test -f $ac_dir/$ac_word; then
6040 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
6041 ac_prog_rejected
=yes
6049 if test $ac_prog_rejected = yes; then
6050 # We found a bogon in the path, so make sure we never use it.
6051 set dummy
$ac_cv_prog_CC
6053 if test $# -gt 0; then
6054 # We chose a different compiler from the bogus one.
6055 # However, it has the same basename, so the bogon will be chosen
6056 # first if we set CC to just the basename; use the full file name.
6058 set dummy
"$ac_dir/$ac_word" "$@"
6066 if test -n "$CC"; then
6067 echo "$ac_t""$CC" 1>&6
6069 echo "$ac_t""no" 1>&6
6072 if test -z "$CC"; then
6073 case "`uname -s`" in
6075 # Extract the first word of "cl", so it can be a program name with args.
6076 set dummy cl
; ac_word
=$2
6077 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6078 echo "configure:6079: checking for $ac_word" >&5
6079 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
6080 echo $ac_n "(cached) $ac_c" 1>&6
6082 if test -n "$CC"; then
6083 ac_cv_prog_CC
="$CC" # Let the user override the test.
6085 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6087 for ac_dir
in $ac_dummy; do
6088 test -z "$ac_dir" && ac_dir
=.
6089 if test -f $ac_dir/$ac_word; then
6098 if test -n "$CC"; then
6099 echo "$ac_t""$CC" 1>&6
6101 echo "$ac_t""no" 1>&6
6106 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
6109 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
6110 echo "configure:6111: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
6113 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6114 ac_cpp
='$CPP $CPPFLAGS'
6115 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6116 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6117 cross_compiling
=$ac_cv_prog_cc_cross
6119 cat > conftest.
$ac_ext << EOF
6121 #line 6122 "configure"
6122 #include "confdefs.h"
6126 if { (eval echo configure
:6127: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6127 ac_cv_prog_cc_works
=yes
6128 # If we can't run a trivial program, we are probably using a cross compiler.
6129 if (.
/conftest
; exit) 2>/dev
/null
; then
6130 ac_cv_prog_cc_cross
=no
6132 ac_cv_prog_cc_cross
=yes
6135 echo "configure: failed program was:" >&5
6136 cat conftest.
$ac_ext >&5
6137 ac_cv_prog_cc_works
=no
6141 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6142 ac_cpp
='$CPP $CPPFLAGS'
6143 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6144 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6145 cross_compiling
=$ac_cv_prog_cc_cross
6147 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
6148 if test $ac_cv_prog_cc_works = no
; then
6149 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
6151 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
6152 echo "configure:6153: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
6153 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
6154 cross_compiling
=$ac_cv_prog_cc_cross
6156 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
6157 echo "configure:6158: checking whether we are using GNU C" >&5
6158 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
6159 echo $ac_n "(cached) $ac_c" 1>&6
6161 cat > conftest.c
<<EOF
6166 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:6167: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
6173 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
6175 if test $ac_cv_prog_gcc = yes; then
6181 ac_test_CFLAGS
="${CFLAGS+set}"
6182 ac_save_CFLAGS
="$CFLAGS"
6184 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
6185 echo "configure:6186: checking whether ${CC-cc} accepts -g" >&5
6186 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
6187 echo $ac_n "(cached) $ac_c" 1>&6
6189 echo 'void f(){}' > conftest.c
6190 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
6199 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
6200 if test "$ac_test_CFLAGS" = set; then
6201 CFLAGS
="$ac_save_CFLAGS"
6202 elif test $ac_cv_prog_cc_g = yes; then
6203 if test "$GCC" = yes; then
6209 if test "$GCC" = yes; then
6217 CFLAGS
=`echo "$CFLAGS" | sed 's/-g//g'`
6219 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
6220 echo "configure:6221: checking how to run the C preprocessor" >&5
6221 # On Suns, sometimes $CPP names a directory.
6222 if test -n "$CPP" && test -d "$CPP"; then
6225 if test -z "$CPP"; then
6226 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
6227 echo $ac_n "(cached) $ac_c" 1>&6
6229 # This must be in double quotes, not single quotes, because CPP may get
6230 # substituted into the Makefile and "${CC-cc}" will confuse make.
6232 # On the NeXT, cc -E runs the code through the compiler's parser,
6233 # not just through cpp.
6234 cat > conftest.
$ac_ext <<EOF
6235 #line 6236 "configure"
6236 #include "confdefs.h"
6240 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6241 { (eval echo configure
:6242: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6242 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6243 if test -z "$ac_err"; then
6247 echo "configure: failed program was:" >&5
6248 cat conftest.
$ac_ext >&5
6250 CPP
="${CC-cc} -E -traditional-cpp"
6251 cat > conftest.
$ac_ext <<EOF
6252 #line 6253 "configure"
6253 #include "confdefs.h"
6257 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6258 { (eval echo configure
:6259: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6259 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6260 if test -z "$ac_err"; then
6264 echo "configure: failed program was:" >&5
6265 cat conftest.
$ac_ext >&5
6267 CPP
="${CC-cc} -nologo -E"
6268 cat > conftest.
$ac_ext <<EOF
6269 #line 6270 "configure"
6270 #include "confdefs.h"
6274 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6275 { (eval echo configure
:6276: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6276 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6277 if test -z "$ac_err"; then
6281 echo "configure: failed program was:" >&5
6282 cat conftest.
$ac_ext >&5
6291 ac_cv_prog_CPP
="$CPP"
6293 CPP
="$ac_cv_prog_CPP"
6295 ac_cv_prog_CPP
="$CPP"
6297 echo "$ac_t""$CPP" 1>&6
6300 if test $ac_cv_prog_gcc = yes; then
6301 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
6302 echo "configure:6303: checking whether ${CC-cc} needs -traditional" >&5
6303 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
6304 echo $ac_n "(cached) $ac_c" 1>&6
6306 ac_pattern
="Autoconf.*'x'"
6307 cat > conftest.
$ac_ext <<EOF
6308 #line 6309 "configure"
6309 #include "confdefs.h"
6313 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6314 egrep "$ac_pattern" >/dev
/null
2>&1; then
6316 ac_cv_prog_gcc_traditional
=yes
6319 ac_cv_prog_gcc_traditional
=no
6324 if test $ac_cv_prog_gcc_traditional = no
; then
6325 cat > conftest.
$ac_ext <<EOF
6326 #line 6327 "configure"
6327 #include "confdefs.h"
6331 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6332 egrep "$ac_pattern" >/dev
/null
2>&1; then
6334 ac_cv_prog_gcc_traditional
=yes
6341 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
6342 if test $ac_cv_prog_gcc_traditional = yes; then
6343 CC
="$CC -traditional"
6350 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6351 ac_cpp
='$CXXCPP $CPPFLAGS'
6352 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6353 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6354 cross_compiling
=$ac_cv_prog_cxx_cross
6357 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++ cl
6359 # Extract the first word of "$ac_prog", so it can be a program name with args.
6360 set dummy
$ac_prog; ac_word
=$2
6361 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6362 echo "configure:6363: checking for $ac_word" >&5
6363 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
6364 echo $ac_n "(cached) $ac_c" 1>&6
6366 if test -n "$CXX"; then
6367 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
6369 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6371 for ac_dir
in $ac_dummy; do
6372 test -z "$ac_dir" && ac_dir
=.
6373 if test -f $ac_dir/$ac_word; then
6374 ac_cv_prog_CXX
="$ac_prog"
6381 CXX
="$ac_cv_prog_CXX"
6382 if test -n "$CXX"; then
6383 echo "$ac_t""$CXX" 1>&6
6385 echo "$ac_t""no" 1>&6
6388 test -n "$CXX" && break
6390 test -n "$CXX" || CXX
="gcc"
6393 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
6394 echo "configure:6395: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
6397 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6398 ac_cpp
='$CXXCPP $CPPFLAGS'
6399 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6400 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6401 cross_compiling
=$ac_cv_prog_cxx_cross
6403 cat > conftest.
$ac_ext << EOF
6405 #line 6406 "configure"
6406 #include "confdefs.h"
6408 int main(){return(0);}
6410 if { (eval echo configure
:6411: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6411 ac_cv_prog_cxx_works
=yes
6412 # If we can't run a trivial program, we are probably using a cross compiler.
6413 if (.
/conftest
; exit) 2>/dev
/null
; then
6414 ac_cv_prog_cxx_cross
=no
6416 ac_cv_prog_cxx_cross
=yes
6419 echo "configure: failed program was:" >&5
6420 cat conftest.
$ac_ext >&5
6421 ac_cv_prog_cxx_works
=no
6425 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6426 ac_cpp
='$CXXCPP $CPPFLAGS'
6427 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6428 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6429 cross_compiling
=$ac_cv_prog_cxx_cross
6431 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
6432 if test $ac_cv_prog_cxx_works = no
; then
6433 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
6435 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
6436 echo "configure:6437: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
6437 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
6438 cross_compiling
=$ac_cv_prog_cxx_cross
6440 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
6441 echo "configure:6442: checking whether we are using GNU C++" >&5
6442 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
6443 echo $ac_n "(cached) $ac_c" 1>&6
6445 cat > conftest.C
<<EOF
6450 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:6451: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
6457 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
6459 if test $ac_cv_prog_gxx = yes; then
6465 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
6466 ac_save_CXXFLAGS
="$CXXFLAGS"
6468 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
6469 echo "configure:6470: checking whether ${CXX-g++} accepts -g" >&5
6470 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
6471 echo $ac_n "(cached) $ac_c" 1>&6
6473 echo 'void f(){}' > conftest.cc
6474 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
6475 ac_cv_prog_cxx_g
=yes
6483 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
6484 if test "$ac_test_CXXFLAGS" = set; then
6485 CXXFLAGS
="$ac_save_CXXFLAGS"
6486 elif test $ac_cv_prog_cxx_g = yes; then
6487 if test "$GXX" = yes; then
6493 if test "$GXX" = yes; then
6501 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
6502 echo "configure:6503: checking how to run the C++ preprocessor" >&5
6503 if test -z "$CXXCPP"; then
6504 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
6505 echo $ac_n "(cached) $ac_c" 1>&6
6508 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6509 ac_cpp
='$CXXCPP $CPPFLAGS'
6510 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6511 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6512 cross_compiling
=$ac_cv_prog_cxx_cross
6513 CXXCPP
="${CXX-g++} -E"
6514 cat > conftest.
$ac_ext <<EOF
6515 #line 6516 "configure"
6516 #include "confdefs.h"
6519 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6520 { (eval echo configure
:6521: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6521 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6522 if test -z "$ac_err"; then
6526 echo "configure: failed program was:" >&5
6527 cat conftest.
$ac_ext >&5
6532 ac_cv_prog_CXXCPP
="$CXXCPP"
6534 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6535 ac_cpp
='$CXXCPP $CPPFLAGS'
6536 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6537 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6538 cross_compiling
=$ac_cv_prog_cxx_cross
6541 CXXCPP
="$ac_cv_prog_CXXCPP"
6542 echo "$ac_t""$CXXCPP" 1>&6
6545 CXXFLAGS
=`echo "$CXXFLAGS" | sed 's/-g//g'`
6548 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6549 ac_cpp
='$CPP $CPPFLAGS'
6550 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6551 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6552 cross_compiling
=$ac_cv_prog_cc_cross
6555 # Extract the first word of "ranlib", so it can be a program name with args.
6556 set dummy ranlib
; ac_word
=$2
6557 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6558 echo "configure:6559: checking for $ac_word" >&5
6559 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
6560 echo $ac_n "(cached) $ac_c" 1>&6
6562 if test -n "$RANLIB"; then
6563 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6565 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6567 for ac_dir
in $ac_dummy; do
6568 test -z "$ac_dir" && ac_dir
=.
6569 if test -f $ac_dir/$ac_word; then
6570 ac_cv_prog_RANLIB
="ranlib"
6575 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
6578 RANLIB
="$ac_cv_prog_RANLIB"
6579 if test -n "$RANLIB"; then
6580 echo "$ac_t""$RANLIB" 1>&6
6582 echo "$ac_t""no" 1>&6
6586 # Extract the first word of "ar", so it can be a program name with args.
6587 set dummy
ar; ac_word
=$2
6588 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6589 echo "configure:6590: checking for $ac_word" >&5
6590 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
6591 echo $ac_n "(cached) $ac_c" 1>&6
6593 if test -n "$AR"; then
6594 ac_cv_prog_AR
="$AR" # Let the user override the test.
6596 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6598 for ac_dir
in $ac_dummy; do
6599 test -z "$ac_dir" && ac_dir
=.
6600 if test -f $ac_dir/$ac_word; then
6606 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
6610 if test -n "$AR"; then
6611 echo "$ac_t""$AR" 1>&6
6613 echo "$ac_t""no" 1>&6
6617 # Find a good install program. We prefer a C program (faster),
6618 # so one script is as good as another. But avoid the broken or
6619 # incompatible versions:
6620 # SysV /etc/install, /usr/sbin/install
6621 # SunOS /usr/etc/install
6622 # IRIX /sbin/install
6624 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6625 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6626 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6627 # ./install, which can be erroneously created by make from ./install.sh.
6628 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
6629 echo "configure:6630: checking for a BSD compatible install" >&5
6630 if test -z "$INSTALL"; then
6631 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
6632 echo $ac_n "(cached) $ac_c" 1>&6
6634 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
6635 for ac_dir
in $PATH; do
6636 # Account for people who put trailing slashes in PATH elements.
6638 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
6640 # OSF1 and SCO ODT 3.0 have their own names for install.
6641 # Don't use installbsd from OSF since it installs stuff as root
6643 for ac_prog
in ginstall scoinst
install; do
6644 if test -f $ac_dir/$ac_prog; then
6645 if test $ac_prog = install &&
6646 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
6647 # AIX install. It has an incompatible calling convention.
6650 ac_cv_path_install
="$ac_dir/$ac_prog -c"
6661 if test "${ac_cv_path_install+set}" = set; then
6662 INSTALL
="$ac_cv_path_install"
6664 # As a last resort, use the slow shell script. We don't cache a
6665 # path for INSTALL within a source directory, because that will
6666 # break other packages using the cache if that directory is
6667 # removed, or if the path is relative.
6668 INSTALL
="$ac_install_sh"
6671 echo "$ac_t""$INSTALL" 1>&6
6673 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6674 # It thinks the first close brace ends the variable substitution.
6675 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
6677 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
6679 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
6682 # Extract the first word of "strip", so it can be a program name with args.
6683 set dummy strip
; ac_word
=$2
6684 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6685 echo "configure:6686: checking for $ac_word" >&5
6686 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
6687 echo $ac_n "(cached) $ac_c" 1>&6
6689 if test -n "$STRIP"; then
6690 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6692 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6694 for ac_dir
in $ac_dummy; do
6695 test -z "$ac_dir" && ac_dir
=.
6696 if test -f $ac_dir/$ac_word; then
6697 ac_cv_prog_STRIP
="strip"
6702 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
6705 STRIP
="$ac_cv_prog_STRIP"
6706 if test -n "$STRIP"; then
6707 echo "$ac_t""$STRIP" 1>&6
6709 echo "$ac_t""no" 1>&6
6713 echo $ac_n "checking "make for VPATH support
"""... $ac_c" 1>&6
6714 echo "configure:6715: checking "make for VPATH support
"" >&5
6715 cat - << EOF > confMake
6721 if test ! -d sub
; then
6724 echo dummy
> sub
/file
6725 ${MAKE-make} -f confMake VPATH
=sub
2> config.log
> /dev
/null
6727 rm -f sub
/file check final_file confMake
6729 if test "$RESULT" = 0; then
6730 echo "$ac_t""yes" 1>&6
6732 echo "$ac_t""no" 1>&6
6733 { echo "configure: error: You need a make-utility that is able to use the variable
6735 If your version of make does not support VPATH correctly" 1>&2; exit 1; }
6738 for ac_prog
in 'bison -y' byacc
6740 # Extract the first word of "$ac_prog", so it can be a program name with args.
6741 set dummy
$ac_prog; ac_word
=$2
6742 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6743 echo "configure:6744: checking for $ac_word" >&5
6744 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
6745 echo $ac_n "(cached) $ac_c" 1>&6
6747 if test -n "$YACC"; then
6748 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
6750 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6752 for ac_dir
in $ac_dummy; do
6753 test -z "$ac_dir" && ac_dir
=.
6754 if test -f $ac_dir/$ac_word; then
6755 ac_cv_prog_YACC
="$ac_prog"
6762 YACC
="$ac_cv_prog_YACC"
6763 if test -n "$YACC"; then
6764 echo "$ac_t""$YACC" 1>&6
6766 echo "$ac_t""no" 1>&6
6769 test -n "$YACC" && break
6771 test -n "$YACC" || YACC
="yacc"
6774 # Extract the first word of "flex", so it can be a program name with args.
6775 set dummy flex
; ac_word
=$2
6776 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6777 echo "configure:6778: checking for $ac_word" >&5
6778 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
6779 echo $ac_n "(cached) $ac_c" 1>&6
6781 if test -n "$LEX"; then
6782 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
6784 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6786 for ac_dir
in $ac_dummy; do
6787 test -z "$ac_dir" && ac_dir
=.
6788 if test -f $ac_dir/$ac_word; then
6789 ac_cv_prog_LEX
="flex"
6794 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
6797 LEX
="$ac_cv_prog_LEX"
6798 if test -n "$LEX"; then
6799 echo "$ac_t""$LEX" 1>&6
6801 echo "$ac_t""no" 1>&6
6804 if test -z "$LEXLIB"
6810 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
6811 echo "configure:6812: checking for yywrap in -l$ac_lib" >&5
6812 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
6813 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6814 echo $ac_n "(cached) $ac_c" 1>&6
6816 ac_save_LIBS
="$LIBS"
6817 LIBS
="-l$ac_lib $LIBS"
6818 cat > conftest.
$ac_ext <<EOF
6819 #line 6820 "configure"
6820 #include "confdefs.h"
6821 /* Override any gcc2 internal prototype to avoid an error. */
6822 /* We use char because int might match the return type of a gcc2
6823 builtin and then its argument prototype would still apply. */
6830 if { (eval echo configure
:6831: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6832 eval "ac_cv_lib_$ac_lib_var=yes"
6834 echo "configure: failed program was:" >&5
6835 cat conftest.
$ac_ext >&5
6837 eval "ac_cv_lib_$ac_lib_var=no"
6840 LIBS
="$ac_save_LIBS"
6843 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6844 echo "$ac_t""yes" 1>&6
6847 echo "$ac_t""no" 1>&6
6853 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
6854 echo "configure:6855: checking whether ln -s works" >&5
6855 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
6856 echo $ac_n "(cached) $ac_c" 1>&6
6859 if ln -s X conftestdata
2>/dev
/null
6862 ac_cv_prog_LN_S
="ln -s"
6867 LN_S
="$ac_cv_prog_LN_S"
6868 if test "$ac_cv_prog_LN_S" = "ln -s"; then
6869 echo "$ac_t""yes" 1>&6
6871 echo "$ac_t""no" 1>&6
6877 /usr/local/include \
6879 /usr/Motif-1.2/include \
6880 /usr/Motif-2.1/include \
6882 /usr/include/Motif1.2 \
6883 /opt/xpm/include/X11 \
6884 /opt/GBxpm/include/ \
6885 /opt/GBxpm/X11/include/ \
6887 /usr/Motif1.2/include \
6889 /usr/openwin/include \
6893 /usr/X11R6/include \
6894 /usr/X11R6.4/include \
6895 /usr/X11R5/include \
6896 /usr/X11R4/include \
6898 /usr/include/X11R6 \
6899 /usr/include/X11R5 \
6900 /usr/include/X11R4 \
6902 /usr/local/X11R6/include \
6903 /usr/local/X11R5/include \
6904 /usr/local/X11R4/include \
6906 /usr/local/include/X11R6 \
6907 /usr/local/include/X11R5 \
6908 /usr/local/include/X11R4 \
6912 /usr/local/X11/include \
6913 /usr/local/include/X11 \
6917 /usr/XFree86/include/X11 \
6919 X:/XFree86/include \
6920 X:/XFree86/include/X11 \
6923 /usr/local/include/gtk \
6925 /usr/local/include/glib \
6928 /usr/local/include/qt \
6930 /usr/include/windows \
6932 /usr/local/include/wine \
6934 /usr/unsupported/include \
6935 /usr/athena/include \
6936 /usr/local/x11r5/include \
6937 /usr/lpp/Xamples/include \
6939 /usr/openwin/share/include \
6943 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
6946 cat > confcache
<<\EOF
6947 # This file is a shell script that caches the results of configure
6948 # tests run on this system so they can be shared between configure
6949 # scripts and configure runs. It is not useful on other systems.
6950 # If it contains results you don't want to keep, you may remove or edit it.
6952 # By default, configure uses ./config.cache as the cache file,
6953 # creating it if it does not exist already. You can give configure
6954 # the --cache-file=FILE option to use a different cache file; that is
6955 # what configure does when it calls configure scripts in
6956 # subdirectories, so they share the cache.
6957 # Giving --cache-file=/dev/null disables caching, for debugging configure.
6958 # config.status only pays attention to the cache file if you give it the
6959 # --recheck option to rerun configure.
6962 # The following way of writing the cache mishandles newlines in values,
6963 # but we know of no workaround that is simple, portable, and efficient.
6964 # So, don't put newlines in cache variables' values.
6965 # Ultrix sh set writes to stderr and can't be redirected directly,
6966 # and sets the high bit in the cache file unless we assign to the vars.
6968 case `(ac_space=' '; set | grep ac_space) 2>&1` in
6970 # `set' does not quote correctly, so add quotes (double-quote substitution
6971 # turns \\\\ into \\, and sed turns \\ into \).
6973 -e "s/'/'\\\\''/g" \
6974 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
6977 # `set' quotes correctly as required by POSIX, so do not add quotes.
6978 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
6981 if cmp -s $cache_file confcache
; then
6984 if test -w $cache_file; then
6985 echo "updating cache $cache_file"
6986 cat confcache
> $cache_file
6988 echo "not updating unwritable cache $cache_file"
6997 if test "$wxUSE_GUI" = "yes"; then
7016 if test "$wxUSE_CYGWIN" = 1 || test "$wxUSE_MINGW" = 1 ; then
7017 if test "$cross_compiling" = "yes" ; then
7018 echo "configure: warning: Cross compiling --- skipping windows.h check" 1>&2
7020 echo $ac_n "checking for Windows headers""... $ac_c" 1>&6
7021 echo "configure:7022: checking for Windows headers" >&5
7024 for ac_dir
in $SEARCH_INCLUDE;
7026 if test -f "$ac_dir/windows.h"; then
7027 ac_find_includes
=$ac_dir
7032 if test "$ac_find_includes" != "" ; then
7033 echo "$ac_t""found $ac_find_includes" 1>&6
7034 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE -I$ac_find_includes"
7036 echo "$ac_t""no" 1>&6
7037 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
7041 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS msw"
7042 LIBS
="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -lcrtdll -ladvapi32 -lwsock32"
7044 if test "$wxUSE_MINGW" = 1; then
7045 LDFLAGS
="$LDFLAGS -mwindows"
7050 GUIOBJS
="\$(MSW_GUIOBJS)"
7051 GUIHEADERS
="\$(MSW_HEADERS)"
7052 COMMONOBJS
="\$(MSW_COMMONOBJS)"
7053 GENERICOBJS
="\$(MSW_GENERICOBJS)"
7058 if test "$wxUSE_GTK" = 1; then
7060 if test x
$gtk_config_exec_prefix != x
; then
7061 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
7062 if test x
${GTK_CONFIG+set} != xset
; then
7063 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
7066 if test x
$gtk_config_prefix != x
; then
7067 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
7068 if test x
${GTK_CONFIG+set} != xset
; then
7069 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
7073 # Extract the first word of "gtk-config", so it can be a program name with args.
7074 set dummy gtk
-config; ac_word
=$2
7075 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7076 echo "configure:7077: checking for $ac_word" >&5
7077 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
7078 echo $ac_n "(cached) $ac_c" 1>&6
7080 case "$GTK_CONFIG" in
7082 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
7085 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
7088 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7090 for ac_dir
in $ac_dummy; do
7091 test -z "$ac_dir" && ac_dir
=.
7092 if test -f $ac_dir/$ac_word; then
7093 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
7098 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
7102 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
7103 if test -n "$GTK_CONFIG"; then
7104 echo "$ac_t""$GTK_CONFIG" 1>&6
7106 echo "$ac_t""no" 1>&6
7109 min_gtk_version
=1.2.3
7110 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
7111 echo "configure:7112: checking for GTK - version >= $min_gtk_version" >&5
7113 if test "$GTK_CONFIG" != "no" ; then
7114 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
7115 GTK_LIBS
=`$GTK_CONFIG --libs gthread`
7116 ac_save_CFLAGS
="$CFLAGS"
7117 ac_save_LIBS
="$LIBS"
7118 CFLAGS
="$CFLAGS $GTK_CFLAGS"
7119 LIBS
="$LIBS $GTK_LIBS"
7120 if test "$cross_compiling" = yes; then
7121 echo $ac_n "cross compiling; assumed OK... $ac_c"
7123 cat > conftest.
$ac_ext <<EOF
7124 #line 7125 "configure"
7125 #include "confdefs.h"
7127 #include <gtk/gtk.h>
7128 #include <gtk/gtkfeatures.h>
7134 int major, minor, micro;
7136 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
7137 printf("%s, bad version string\n", "$min_gtk_version");
7141 if ((GTK_MAJOR_VERSION != gtk_major_version) ||
7142 (GTK_MINOR_VERSION != gtk_minor_version) ||
7143 (GTK_MICRO_VERSION != gtk_micro_version)) {
7144 printf("Headers vs. library version mismatch!\n");
7148 if (gtk_minor_version == 1) return FALSE;
7150 return !((gtk_major_version > major) ||
7151 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
7152 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
7156 if { (eval echo configure
:7157: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
7160 echo "configure: failed program was:" >&5
7161 cat conftest.
$ac_ext >&5
7168 CFLAGS
="$ac_save_CFLAGS"
7169 LIBS
="$ac_save_LIBS"
7173 if test "x$no_gtk" = x
; then
7174 echo "$ac_t""yes" 1>&6
7177 echo "$ac_t""no" 1>&6
7186 if test "$WXGTK12" != 1; then
7187 { echo "configure: error:
7188 Please check that gtk-config is in path, the directory
7189 where GTK+ libraries are installed (returned by
7190 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
7191 equivalent variable and GTK+ is version 1.2.3 or above.
7196 TOOLKIT_INCLUDE
="$GTK_CFLAGS"
7199 GUI_TK_LIBRARY
="$GTK_LIBS"
7203 AFMINSTALL
=afminstall
7205 GUIOBJS
="\$(GTK_GUIOBJS)"
7206 GUIHEADERS
="\$(GTK_HEADERS)"
7207 COMMONOBJS
="\$(GTK_COMMONOBJS)"
7208 GENERICOBJS
="\$(GTK_GENERICOBJS)"
7209 GUIDEPS
="\$(GTK_GUIDEPS)"
7210 COMMONDEPS
="\$(GTK_COMMONDEPS)"
7211 GENERICDEPS
="\$(GTK_GENERICDEPS)"
7212 UNIXOBJS
="\$(UNIX_OBJS)"
7213 UNIXDEPS
="\$(UNIX_DEPS)"
7216 echo $ac_n "checking for gdk_im_open in -lgdk""... $ac_c" 1>&6
7217 echo "configure:7218: checking for gdk_im_open in -lgdk" >&5
7218 ac_lib_var
=`echo gdk'_'gdk_im_open | sed 'y%./+-%__p_%'`
7219 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7220 echo $ac_n "(cached) $ac_c" 1>&6
7222 ac_save_LIBS
="$LIBS"
7224 cat > conftest.
$ac_ext <<EOF
7225 #line 7226 "configure"
7226 #include "confdefs.h"
7227 /* Override any gcc2 internal prototype to avoid an error. */
7228 /* We use char because int might match the return type of a gcc2
7229 builtin and then its argument prototype would still apply. */
7236 if { (eval echo configure
:7237: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7238 eval "ac_cv_lib_$ac_lib_var=yes"
7240 echo "configure: failed program was:" >&5
7241 cat conftest.
$ac_ext >&5
7243 eval "ac_cv_lib_$ac_lib_var=no"
7246 LIBS
="$ac_save_LIBS"
7249 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7250 echo "$ac_t""yes" 1>&6
7251 cat >> confdefs.h
<<\EOF
7256 echo "$ac_t""no" 1>&6
7261 if test "$wxUSE_WINE" = 1; then
7262 echo $ac_n "checking for WINE includes""... $ac_c" 1>&6
7263 echo "configure:7264: checking for WINE includes" >&5
7266 for ac_dir
in $SEARCH_INCLUDE;
7268 if test -f "$ac_dir/windows.h"; then
7269 ac_find_includes
=$ac_dir
7274 if test "$ac_find_includes" != "" ; then
7275 echo "$ac_t""found $ac_find_includes" 1>&6
7276 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE -I$ac_find_includes"
7278 echo "$ac_t""no" 1>&6
7279 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
7283 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
7284 echo "configure:7285: checking for Xpm library" >&5
7287 for ac_dir
in $SEARCH_LIB;
7289 for ac_extension
in a so sl
; do
7290 if test -f "$ac_dir/libXpm.$ac_extension"; then
7291 ac_find_libraries
=$ac_dir
7297 if test "$ac_find_libraries" != "" ; then
7298 GUI_TK_LIBRARY
="-L$ac_find_libraries"
7300 cat >> confdefs.h
<<\EOF
7301 #define wxHAVE_LIB_XPM 1
7304 echo "$ac_t""found at $ac_find_libraries" 1>&6
7306 echo "$ac_t""no" 1>&6
7307 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
7311 echo $ac_n "checking for Mesa library""... $ac_c" 1>&6
7312 echo "configure:7313: checking for Mesa library" >&5
7315 for ac_dir
in $SEARCH_LIB;
7317 for ac_extension
in a so sl
; do
7318 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
7319 ac_find_libraries
=$ac_dir
7325 if test "$ac_find_libraries" != "" ; then
7326 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -L$ac_find_libraries"
7327 MESA_LINK
="-lMesaGL"
7328 echo "$ac_t""found at $ac_find_libraries" 1>&6
7330 { echo "configure: error: no" 1>&2; exit 1; }
7333 GUI_TK_LINK
="-lwine $MESA_LINK $XPM_LINK -lXxf86dga -lXxf86vm -lSM -lICE -lXext -lXmu -lX11 -lncurses -lm"
7334 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GUI_TK_LINK"
7338 GUIHEADERS
="\$(MSW_HEADERS)"
7339 GUIOBJS
="\$(MSW_GUIOBJS)"
7340 COMMONOBJS
="\$(MSW_COMMONOBJS)"
7341 GENERICOBJS
="\$(MSW_GENERICOBJS)"
7342 GUIDEPS
="\$(MSW_GUIDEPS)"
7343 COMMONDEPS
="\$(MSW_COMMONDEPS)"
7344 GENERICDEPS
="\$(MSW_GENERICDEPS)"
7345 UNIXOBJS
="\$(UNIX_OBJS)"
7346 UNIXDEPS
="\$(UNIX_DEPS)"
7350 if test "$wxUSE_MOTIF" = 1; then
7351 # If we find X, set shell vars x_includes and x_libraries to the
7352 # paths, otherwise set no_x=yes.
7353 # Uses ac_ vars as temps to allow command line to override cache and checks.
7354 # --without-x overrides everything else, but does not touch the cache.
7355 echo $ac_n "checking for X""... $ac_c" 1>&6
7356 echo "configure:7357: checking for X" >&5
7358 # Check whether --with-x or --without-x was given.
7359 if test "${with_x+set}" = set; then
7364 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
7365 if test "x$with_x" = xno
; then
7366 # The user explicitly disabled X.
7369 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
7370 # Both variables are already set.
7373 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
7374 echo $ac_n "(cached) $ac_c" 1>&6
7376 # One or both of the vars are not set, and there is no cached value.
7377 ac_x_includes
=NO ac_x_libraries
=NO
7379 if mkdir conftestdir
; then
7381 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
7382 cat > Imakefile
<<'EOF'
7384 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
7386 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
7387 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
7388 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
7389 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
7390 for ac_extension
in a so sl
; do
7391 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
7392 test -f $ac_im_libdir/libX11.
$ac_extension; then
7393 ac_im_usrlibdir
=$ac_im_libdir; break
7396 # Screen out bogus values from the imake configuration. They are
7397 # bogus both because they are the default anyway, and because
7398 # using them would break gcc on systems where it needs fixed includes.
7399 case "$ac_im_incroot" in
7401 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;;
7403 case "$ac_im_usrlibdir" in
7405 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;;
7412 if test "$ac_x_includes" = NO
; then
7413 # Guess where to find include files, by looking for this one X11 .h file.
7414 test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
7416 # First, try using that file with no special directory specified.
7417 cat > conftest.
$ac_ext <<EOF
7418 #line 7419 "configure"
7419 #include "confdefs.h"
7420 #include <$x_direct_test_include>
7422 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7423 { (eval echo configure
:7424: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7424 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7425 if test -z "$ac_err"; then
7427 # We can compile using X headers with no special include directory.
7431 echo "configure: failed program was:" >&5
7432 cat conftest.
$ac_ext >&5
7434 # Look for the header file in a standard set of common directories.
7435 # Check X11 before X11Rn because it is often a symlink to the current release.
7438 /usr
/X
11R
6/include \
7439 /usr
/X
11R
5/include \
7440 /usr
/X
11R
4/include \
7443 /usr
/include
/X11R6 \
7444 /usr
/include
/X11R5 \
7445 /usr
/include
/X11R4 \
7447 /usr
/local
/X
11/include \
7448 /usr
/local
/X
11R
6/include \
7449 /usr
/local
/X
11R
5/include \
7450 /usr
/local
/X
11R
4/include \
7452 /usr
/local
/include
/X11 \
7453 /usr
/local
/include
/X11R6 \
7454 /usr
/local
/include
/X11R5 \
7455 /usr
/local
/include
/X11R4 \
7459 /usr
/XFree
86/include
/X11 \
7462 /usr
/local
/include \
7463 /usr
/unsupported
/include \
7464 /usr
/athena
/include \
7465 /usr
/local
/x
11r
5/include \
7466 /usr
/lpp
/Xamples
/include \
7468 /usr
/openwin
/include \
7469 /usr
/openwin
/share
/include \
7472 if test -r "$ac_dir/$x_direct_test_include"; then
7473 ac_x_includes
=$ac_dir
7479 fi # $ac_x_includes = NO
7481 if test "$ac_x_libraries" = NO
; then
7482 # Check for the libraries.
7484 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
7485 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
7487 # See if we find them without any special options.
7488 # Don't add to $LIBS permanently.
7489 ac_save_LIBS
="$LIBS"
7490 LIBS
="-l$x_direct_test_library $LIBS"
7491 cat > conftest.
$ac_ext <<EOF
7492 #line 7493 "configure"
7493 #include "confdefs.h"
7496 ${x_direct_test_function}()
7499 if { (eval echo configure
:7500: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7501 LIBS
="$ac_save_LIBS"
7502 # We can link X programs with no special library path.
7505 echo "configure: failed program was:" >&5
7506 cat conftest.
$ac_ext >&5
7508 LIBS
="$ac_save_LIBS"
7509 # First see if replacing the include by lib works.
7510 # Check X11 before X11Rn because it is often a symlink to the current release.
7511 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib/` \
7522 /usr
/local
/X
11/lib \
7523 /usr
/local
/X
11R
6/lib \
7524 /usr
/local
/X
11R
5/lib \
7525 /usr
/local
/X
11R
4/lib \
7527 /usr
/local
/lib
/X11 \
7528 /usr
/local
/lib
/X11R6 \
7529 /usr
/local
/lib
/X11R5 \
7530 /usr
/local
/lib
/X11R4 \
7534 /usr
/XFree
86/lib
/X11 \
7538 /usr
/unsupported
/lib \
7540 /usr
/local
/x
11r
5/lib \
7541 /usr
/lpp
/Xamples
/lib \
7545 /usr
/openwin
/share
/lib \
7548 for ac_extension
in a so sl
; do
7549 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
7550 ac_x_libraries
=$ac_dir
7557 fi # $ac_x_libraries = NO
7559 if test "$ac_x_includes" = NO
|| test "$ac_x_libraries" = NO
; then
7560 # Didn't find X anywhere. Cache the known absence of X.
7561 ac_cv_have_x
="have_x=no"
7563 # Record where we found X for the cache.
7564 ac_cv_have_x
="have_x=yes \
7565 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
7569 eval "$ac_cv_have_x"
7572 if test "$have_x" != yes; then
7573 echo "$ac_t""$have_x" 1>&6
7576 # If each of the values was on the command line, it overrides each guess.
7577 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
7578 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
7579 # Update the cache value to reflect the command line values.
7580 ac_cv_have_x
="have_x=yes \
7581 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
7582 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
7585 if test "$no_x" = yes; then
7586 # Not all programs may use this symbol, but it does not hurt to define it.
7587 cat >> confdefs.h
<<\EOF
7588 #define X_DISPLAY_MISSING 1
7591 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
7593 if test -n "$x_includes"; then
7594 X_CFLAGS
="$X_CFLAGS -I$x_includes"
7597 # It would also be nice to do this for all -L options, not just this one.
7598 if test -n "$x_libraries"; then
7599 X_LIBS
="$X_LIBS -L$x_libraries"
7600 # For Solaris; some versions of Sun CC require a space after -R and
7601 # others require no space. Words are not sufficient . . . .
7602 case "`(uname -sr) 2>/dev/null`" in
7604 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
7605 echo "configure:7606: checking whether -R must be followed by a space" >&5
7606 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
7607 cat > conftest.
$ac_ext <<EOF
7608 #line 7609 "configure"
7609 #include "confdefs.h"
7615 if { (eval echo configure
:7616: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7619 echo "configure: failed program was:" >&5
7620 cat conftest.
$ac_ext >&5
7625 if test $ac_R_nospace = yes; then
7626 echo "$ac_t""no" 1>&6
7627 X_LIBS
="$X_LIBS -R$x_libraries"
7629 LIBS
="$ac_xsave_LIBS -R $x_libraries"
7630 cat > conftest.
$ac_ext <<EOF
7631 #line 7632 "configure"
7632 #include "confdefs.h"
7638 if { (eval echo configure
:7639: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7642 echo "configure: failed program was:" >&5
7643 cat conftest.
$ac_ext >&5
7648 if test $ac_R_space = yes; then
7649 echo "$ac_t""yes" 1>&6
7650 X_LIBS
="$X_LIBS -R $x_libraries"
7652 echo "$ac_t""neither works" 1>&6
7655 LIBS
="$ac_xsave_LIBS"
7659 # Check for system-dependent libraries X programs must link with.
7660 # Do this before checking for the system-independent R6 libraries
7661 # (-lICE), since we may need -lsocket or whatever for X linking.
7663 if test "$ISC" = yes; then
7664 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
7666 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
7667 # libraries were built with DECnet support. And karl@cs.umb.edu says
7668 # the Alpha needs dnet_stub (dnet does not exist).
7669 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
7670 echo "configure:7671: checking for dnet_ntoa in -ldnet" >&5
7671 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
7672 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7673 echo $ac_n "(cached) $ac_c" 1>&6
7675 ac_save_LIBS
="$LIBS"
7677 cat > conftest.
$ac_ext <<EOF
7678 #line 7679 "configure"
7679 #include "confdefs.h"
7680 /* Override any gcc2 internal prototype to avoid an error. */
7681 /* We use char because int might match the return type of a gcc2
7682 builtin and then its argument prototype would still apply. */
7689 if { (eval echo configure
:7690: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7691 eval "ac_cv_lib_$ac_lib_var=yes"
7693 echo "configure: failed program was:" >&5
7694 cat conftest.
$ac_ext >&5
7696 eval "ac_cv_lib_$ac_lib_var=no"
7699 LIBS
="$ac_save_LIBS"
7702 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7703 echo "$ac_t""yes" 1>&6
7704 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
7706 echo "$ac_t""no" 1>&6
7709 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
7710 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
7711 echo "configure:7712: checking for dnet_ntoa in -ldnet_stub" >&5
7712 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
7713 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7714 echo $ac_n "(cached) $ac_c" 1>&6
7716 ac_save_LIBS
="$LIBS"
7717 LIBS
="-ldnet_stub $LIBS"
7718 cat > conftest.
$ac_ext <<EOF
7719 #line 7720 "configure"
7720 #include "confdefs.h"
7721 /* Override any gcc2 internal prototype to avoid an error. */
7722 /* We use char because int might match the return type of a gcc2
7723 builtin and then its argument prototype would still apply. */
7730 if { (eval echo configure
:7731: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7732 eval "ac_cv_lib_$ac_lib_var=yes"
7734 echo "configure: failed program was:" >&5
7735 cat conftest.
$ac_ext >&5
7737 eval "ac_cv_lib_$ac_lib_var=no"
7740 LIBS
="$ac_save_LIBS"
7743 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7744 echo "$ac_t""yes" 1>&6
7745 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
7747 echo "$ac_t""no" 1>&6
7752 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
7753 # to get the SysV transport functions.
7754 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
7756 # The nsl library prevents programs from opening the X display
7757 # on Irix 5.2, according to dickey@clark.net.
7758 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
7759 echo "configure:7760: checking for gethostbyname" >&5
7760 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
7761 echo $ac_n "(cached) $ac_c" 1>&6
7763 cat > conftest.
$ac_ext <<EOF
7764 #line 7765 "configure"
7765 #include "confdefs.h"
7766 /* System header to define __stub macros and hopefully few prototypes,
7767 which can conflict with char gethostbyname(); below. */
7769 /* Override any gcc2 internal prototype to avoid an error. */
7770 /* We use char because int might match the return type of a gcc2
7771 builtin and then its argument prototype would still apply. */
7772 char gethostbyname();
7776 /* The GNU C library defines this for functions which it implements
7777 to always fail with ENOSYS. Some functions are actually named
7778 something starting with __ and the normal name is an alias. */
7779 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
7787 if { (eval echo configure
:7788: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7789 eval "ac_cv_func_gethostbyname=yes"
7791 echo "configure: failed program was:" >&5
7792 cat conftest.
$ac_ext >&5
7794 eval "ac_cv_func_gethostbyname=no"
7799 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
7800 echo "$ac_t""yes" 1>&6
7803 echo "$ac_t""no" 1>&6
7806 if test $ac_cv_func_gethostbyname = no
; then
7807 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
7808 echo "configure:7809: checking for gethostbyname in -lnsl" >&5
7809 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
7810 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7811 echo $ac_n "(cached) $ac_c" 1>&6
7813 ac_save_LIBS
="$LIBS"
7815 cat > conftest.
$ac_ext <<EOF
7816 #line 7817 "configure"
7817 #include "confdefs.h"
7818 /* Override any gcc2 internal prototype to avoid an error. */
7819 /* We use char because int might match the return type of a gcc2
7820 builtin and then its argument prototype would still apply. */
7821 char gethostbyname();
7827 if { (eval echo configure
:7828: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7829 eval "ac_cv_lib_$ac_lib_var=yes"
7831 echo "configure: failed program was:" >&5
7832 cat conftest.
$ac_ext >&5
7834 eval "ac_cv_lib_$ac_lib_var=no"
7837 LIBS
="$ac_save_LIBS"
7840 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7841 echo "$ac_t""yes" 1>&6
7842 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
7844 echo "$ac_t""no" 1>&6
7849 # lieder@skyler.mavd.honeywell.com says without -lsocket,
7850 # socket/setsockopt and other routines are undefined under SCO ODT
7851 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
7852 # on later versions), says simon@lia.di.epfl.ch: it contains
7853 # gethostby* variants that don't use the nameserver (or something).
7854 # -lsocket must be given before -lnsl if both are needed.
7855 # We assume that if connect needs -lnsl, so does gethostbyname.
7856 echo $ac_n "checking for connect""... $ac_c" 1>&6
7857 echo "configure:7858: checking for connect" >&5
7858 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
7859 echo $ac_n "(cached) $ac_c" 1>&6
7861 cat > conftest.
$ac_ext <<EOF
7862 #line 7863 "configure"
7863 #include "confdefs.h"
7864 /* System header to define __stub macros and hopefully few prototypes,
7865 which can conflict with char connect(); below. */
7867 /* Override any gcc2 internal prototype to avoid an error. */
7868 /* We use char because int might match the return type of a gcc2
7869 builtin and then its argument prototype would still apply. */
7874 /* The GNU C library defines this for functions which it implements
7875 to always fail with ENOSYS. Some functions are actually named
7876 something starting with __ and the normal name is an alias. */
7877 #if defined (__stub_connect) || defined (__stub___connect)
7885 if { (eval echo configure
:7886: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7887 eval "ac_cv_func_connect=yes"
7889 echo "configure: failed program was:" >&5
7890 cat conftest.
$ac_ext >&5
7892 eval "ac_cv_func_connect=no"
7897 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
7898 echo "$ac_t""yes" 1>&6
7901 echo "$ac_t""no" 1>&6
7904 if test $ac_cv_func_connect = no
; then
7905 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
7906 echo "configure:7907: checking for connect in -lsocket" >&5
7907 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
7908 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7909 echo $ac_n "(cached) $ac_c" 1>&6
7911 ac_save_LIBS
="$LIBS"
7912 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
7913 cat > conftest.
$ac_ext <<EOF
7914 #line 7915 "configure"
7915 #include "confdefs.h"
7916 /* Override any gcc2 internal prototype to avoid an error. */
7917 /* We use char because int might match the return type of a gcc2
7918 builtin and then its argument prototype would still apply. */
7925 if { (eval echo configure
:7926: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7927 eval "ac_cv_lib_$ac_lib_var=yes"
7929 echo "configure: failed program was:" >&5
7930 cat conftest.
$ac_ext >&5
7932 eval "ac_cv_lib_$ac_lib_var=no"
7935 LIBS
="$ac_save_LIBS"
7938 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7939 echo "$ac_t""yes" 1>&6
7940 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
7942 echo "$ac_t""no" 1>&6
7947 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
7948 echo $ac_n "checking for remove""... $ac_c" 1>&6
7949 echo "configure:7950: checking for remove" >&5
7950 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
7951 echo $ac_n "(cached) $ac_c" 1>&6
7953 cat > conftest.
$ac_ext <<EOF
7954 #line 7955 "configure"
7955 #include "confdefs.h"
7956 /* System header to define __stub macros and hopefully few prototypes,
7957 which can conflict with char remove(); below. */
7959 /* Override any gcc2 internal prototype to avoid an error. */
7960 /* We use char because int might match the return type of a gcc2
7961 builtin and then its argument prototype would still apply. */
7966 /* The GNU C library defines this for functions which it implements
7967 to always fail with ENOSYS. Some functions are actually named
7968 something starting with __ and the normal name is an alias. */
7969 #if defined (__stub_remove) || defined (__stub___remove)
7977 if { (eval echo configure
:7978: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7979 eval "ac_cv_func_remove=yes"
7981 echo "configure: failed program was:" >&5
7982 cat conftest.
$ac_ext >&5
7984 eval "ac_cv_func_remove=no"
7989 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
7990 echo "$ac_t""yes" 1>&6
7993 echo "$ac_t""no" 1>&6
7996 if test $ac_cv_func_remove = no
; then
7997 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
7998 echo "configure:7999: checking for remove in -lposix" >&5
7999 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
8000 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8001 echo $ac_n "(cached) $ac_c" 1>&6
8003 ac_save_LIBS
="$LIBS"
8004 LIBS
="-lposix $LIBS"
8005 cat > conftest.
$ac_ext <<EOF
8006 #line 8007 "configure"
8007 #include "confdefs.h"
8008 /* Override any gcc2 internal prototype to avoid an error. */
8009 /* We use char because int might match the return type of a gcc2
8010 builtin and then its argument prototype would still apply. */
8017 if { (eval echo configure
:8018: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8019 eval "ac_cv_lib_$ac_lib_var=yes"
8021 echo "configure: failed program was:" >&5
8022 cat conftest.
$ac_ext >&5
8024 eval "ac_cv_lib_$ac_lib_var=no"
8027 LIBS
="$ac_save_LIBS"
8030 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8031 echo "$ac_t""yes" 1>&6
8032 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
8034 echo "$ac_t""no" 1>&6
8039 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
8040 echo $ac_n "checking for shmat""... $ac_c" 1>&6
8041 echo "configure:8042: checking for shmat" >&5
8042 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
8043 echo $ac_n "(cached) $ac_c" 1>&6
8045 cat > conftest.
$ac_ext <<EOF
8046 #line 8047 "configure"
8047 #include "confdefs.h"
8048 /* System header to define __stub macros and hopefully few prototypes,
8049 which can conflict with char shmat(); below. */
8051 /* Override any gcc2 internal prototype to avoid an error. */
8052 /* We use char because int might match the return type of a gcc2
8053 builtin and then its argument prototype would still apply. */
8058 /* The GNU C library defines this for functions which it implements
8059 to always fail with ENOSYS. Some functions are actually named
8060 something starting with __ and the normal name is an alias. */
8061 #if defined (__stub_shmat) || defined (__stub___shmat)
8069 if { (eval echo configure
:8070: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8071 eval "ac_cv_func_shmat=yes"
8073 echo "configure: failed program was:" >&5
8074 cat conftest.
$ac_ext >&5
8076 eval "ac_cv_func_shmat=no"
8081 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
8082 echo "$ac_t""yes" 1>&6
8085 echo "$ac_t""no" 1>&6
8088 if test $ac_cv_func_shmat = no
; then
8089 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
8090 echo "configure:8091: checking for shmat in -lipc" >&5
8091 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
8092 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8093 echo $ac_n "(cached) $ac_c" 1>&6
8095 ac_save_LIBS
="$LIBS"
8097 cat > conftest.
$ac_ext <<EOF
8098 #line 8099 "configure"
8099 #include "confdefs.h"
8100 /* Override any gcc2 internal prototype to avoid an error. */
8101 /* We use char because int might match the return type of a gcc2
8102 builtin and then its argument prototype would still apply. */
8109 if { (eval echo configure
:8110: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8111 eval "ac_cv_lib_$ac_lib_var=yes"
8113 echo "configure: failed program was:" >&5
8114 cat conftest.
$ac_ext >&5
8116 eval "ac_cv_lib_$ac_lib_var=no"
8119 LIBS
="$ac_save_LIBS"
8122 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8123 echo "$ac_t""yes" 1>&6
8124 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
8126 echo "$ac_t""no" 1>&6
8132 # Check for libraries that X11R6 Xt/Xaw programs need.
8133 ac_save_LDFLAGS
="$LDFLAGS"
8134 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
8135 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
8136 # check for ICE first), but we must link in the order -lSM -lICE or
8137 # we get undefined symbols. So assume we have SM if we have ICE.
8138 # These have to be linked with before -lX11, unlike the other
8139 # libraries we check for below, so use a different variable.
8140 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
8141 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
8142 echo "configure:8143: checking for IceConnectionNumber in -lICE" >&5
8143 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
8144 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8145 echo $ac_n "(cached) $ac_c" 1>&6
8147 ac_save_LIBS
="$LIBS"
8148 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
8149 cat > conftest.
$ac_ext <<EOF
8150 #line 8151 "configure"
8151 #include "confdefs.h"
8152 /* Override any gcc2 internal prototype to avoid an error. */
8153 /* We use char because int might match the return type of a gcc2
8154 builtin and then its argument prototype would still apply. */
8155 char IceConnectionNumber();
8158 IceConnectionNumber()
8161 if { (eval echo configure
:8162: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8163 eval "ac_cv_lib_$ac_lib_var=yes"
8165 echo "configure: failed program was:" >&5
8166 cat conftest.
$ac_ext >&5
8168 eval "ac_cv_lib_$ac_lib_var=no"
8171 LIBS
="$ac_save_LIBS"
8174 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8175 echo "$ac_t""yes" 1>&6
8176 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
8178 echo "$ac_t""no" 1>&6
8181 LDFLAGS
="$ac_save_LDFLAGS"
8186 if test "$no_x" = "yes"; then
8187 { echo "configure: error: X11 not found" 1>&2; exit 1; }
8190 GUI_TK_LIBRARY
="$X_LIBS"
8191 TOOLKIT_INCLUDE
="$X_CFLAGS"
8193 AFMINSTALL
=afminstall
8196 COMPILED_X_PROGRAM
=0
8198 echo $ac_n "checking for Motif/Lesstif headers""... $ac_c" 1>&6
8199 echo "configure:8200: checking for Motif/Lesstif headers" >&5
8202 for ac_dir
in $SEARCH_INCLUDE;
8204 if test -f "$ac_dir/Xm/Xm.h"; then
8205 ac_find_includes
=$ac_dir
8210 if test "$ac_find_includes" != "" ; then
8211 echo "$ac_t""found $ac_find_includes" 1>&6
8213 cat > conftest.
$ac_ext <<EOF
8214 #line 8215 "configure"
8215 #include "confdefs.h"
8223 version = xmUseVersion;
8227 if { (eval echo configure
:8228: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8230 echo "$ac_t""found in default search path" 1>&6
8231 COMPILED_X_PROGRAM
=1
8234 echo "configure: failed program was:" >&5
8235 cat conftest.
$ac_ext >&5
8238 echo "$ac_t""no" 1>&6
8239 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
8246 if test "$COMPILED_X_PROGRAM" = 0; then
8247 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
8248 echo "configure:8249: checking for Motif/Lesstif library" >&5
8251 for ac_dir
in $SEARCH_LIB;
8253 for ac_extension
in a so sl
; do
8254 if test -f "$ac_dir/libXm.$ac_extension"; then
8255 ac_find_libraries
=$ac_dir
8261 if test "$ac_find_libraries" != "" ; then
8263 ac_path_to_include
=$ac_find_includes
8264 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
8266 if test $result = 0; then
8267 ac_path_to_include
=""
8269 ac_path_to_include
="-I$ac_find_includes"
8273 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
8275 if test $result = 0; then
8278 ac_path_to_link
="-L$ac_find_libraries"
8282 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
8283 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE $ac_path_to_include"
8284 echo "$ac_t""found at $ac_find_libraries" 1>&6
8286 cat > conftest.
$ac_ext <<EOF
8287 #line 8288 "configure"
8288 #include "confdefs.h"
8296 version = xmUseVersion;
8300 if { (eval echo configure
:8301: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8303 echo "$ac_t""found in default search path" 1>&6
8304 COMPILED_X_PROGRAM
=1
8307 echo "configure: failed program was:" >&5
8308 cat conftest.
$ac_ext >&5
8311 echo "$ac_t""no" 1>&6
8312 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
8322 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
8323 echo "configure:8324: checking for Xpm library" >&5
8326 for ac_dir
in $SEARCH_LIB;
8328 for ac_extension
in a so sl
; do
8329 if test -f "$ac_dir/libXpm.$ac_extension"; then
8330 ac_find_libraries
=$ac_dir
8336 if test "$ac_find_libraries" != "" ; then
8338 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
8340 if test $result = 0; then
8343 ac_path_to_link
="-L$ac_find_libraries"
8346 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
8348 cat >> confdefs.h
<<\EOF
8349 #define wxHAVE_LIB_XPM 1
8352 echo "$ac_t""found at $ac_find_libraries" 1>&6
8354 cat > conftest.
$ac_ext <<EOF
8355 #line 8356 "configure"
8356 #include "confdefs.h"
8358 #include <X11/xpm.h>
8364 version = XpmLibraryVersion();
8368 if { (eval echo configure
:8369: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8372 cat >> confdefs.h
<<\EOF
8373 #define wxHAVE_LIB_XPM 1
8376 echo "$ac_t""found in default search path" 1>&6
8377 COMPILED_X_PROGRAM
=0
8380 echo "configure: failed program was:" >&5
8381 cat conftest.
$ac_ext >&5
8384 echo "$ac_t""no" 1>&6
8385 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
8392 GUI_TK_LINK
="-lXm $XPM_LINK -lXmu -lXext -lXt -lX11 -lm"
8393 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GUI_TK_LINK"
8396 GUIHEADERS
="\$(MOTIF_HEADERS)"
8397 GUIOBJS
="\$(MOTIF_GUIOBJS)"
8398 COMMONOBJS
="\$(MOTIF_COMMONOBJS)"
8399 GENERICOBJS
="\$(MOTIF_GENERICOBJS)"
8400 GUIDEPS
="\$(MOTIF_GUIDEPS)"
8401 COMMONDEPS
="\$(MOTIF_COMMONDEPS)"
8402 GENERICDEPS
="\$(MOTIF_GENERICDEPS)"
8403 UNIXOBJS
="\$(UNIX_OBJS)"
8404 UNIXDEPS
="\$(UNIX_DEPS)"
8408 if test "$wxUSE_PM" = 1; then
8411 GUIOBJS
="\$(PM_GUIOBJS)"
8412 GUIHEADERS
="\$(PM_HEADERS)"
8413 COMMONOBJS
="\$(PM_COMMONOBJS)"
8414 GENERICOBJS
="\$(PM_GENERICOBJS)"
8415 GUIDEPS
="\$(PM_GUIDEPS)"
8416 COMMONDEPS
="\$(PM_COMMONDEPS)"
8417 GENERICDEPS
="\$(PM_GENERICDEPS)"
8423 if test "$TOOLKIT" != "PM" ; then
8424 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
8429 TOOLKIT_DEF
="-D__WX${TOOLKIT}__"
8431 WX_LIBRARY
="wx_${TOOLKIT_DIR}"
8433 ALL_OBJECTS
="\$(GUIOBJS) \$(COMMONOBJS) \$(GENERICOBJS) \$(UNIXOBJS) \$(HTMLOBJS) \$(OGLOBJS)"
8435 if test "$TOOLKIT" != "MSW"; then
8436 if test "$wxUSE_ODBC" = "yes" ; then
8437 ALL_OBJECTS
="${ALL_OBJECTS} \$(IODBCOBJS)"
8441 if test "$wxUSE_LIBJPEG" = "yes" ; then
8442 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
8444 if test "$wxUSE_LIBTIFF" = "yes" ; then
8445 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
8447 if test "$wxUSE_LIBPNG" = "yes" ; then
8448 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
8450 if test "$wxUSE_ZLIB" = "yes" ; then
8451 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
8453 ALL_DEPFILES
="\$(GUIDEPS) \$(COMMONDEPS) \$(GENERICDEPS) \$(UNIXDEPS) \$(HTMLDEPS) \$(OGLDEPS)"
8455 PORT_FILES
="src/\$(TOOLKITDIR)/files.lst"
8456 RPM_FILES
="src/\$(TOOLKITDIR)/rpmfiles.lst"
8457 RPM_SPEC
="wx\$(TOOLKIT).spec"
8459 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
8460 DISTDIR
="wx\$(TOOLKIT)"
8465 TOOLKIT_DEF
="-D__WXBASE__"
8467 ALL_OBJECTS
="\$(BASE_OBJS) \${BASE_UNIX_OBJS}"
8468 ALL_DEPFILES
="\${BASE_DEPS} \${BASE_UNIX_DEPS}"
8472 PORT_FILES
="src/files.lst"
8473 RPM_FILES
="src/rpmfiles.lst"
8474 RPM_SPEC
="wxBase.spec"
8480 WX_LIBRARY_NAME
="lib${WX_LIBRARY}.la"
8481 WX_LIBRARY_NAME_GL
="lib${WX_LIBRARY}_gl.la"
8483 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
8484 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY}_gl.a"
8486 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}-${WX_RELEASE}.so.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
8487 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.so.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
8489 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}-${WX_RELEASE}.so.${WX_CURRENT}"
8490 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}-${WX_RELEASE}.so"
8491 WX_LIBRARY_LINK3
="lib${WX_LIBRARY}.so"
8492 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.so.${WX_CURRENT}"
8493 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.so"
8494 WX_LIBRARY_LINK3_GL
="lib${WX_LIBRARY}_gl.so"
8503 if test "$wxUSE_SHARED" = "yes"; then
8506 if test "$GCC" = yes ; then
8507 SHARED_LD
="${CC} -shared -fPIC -o"
8510 SHARED_LD
="${CXX} -b -o"
8513 WX_LIBRARY_NAME_SHARED
="libwx_${TOOLKIT_DIR}.sl"
8514 WX_LIBRARY_NAME_SHARED_GL
="libwx_${TOOLKIT_DIR}_gl.sl"
8515 WX_ALL
=${WX_LIBRARY_NAME_SHARED}
8519 SHARED_LD
="${CC} -shared -o"
8521 if test "$wxUSE_BURNT_NAME" = "yes" ; then
8522 BURNT_LIBRARY_NAME
="-Wl,-soname,${WX_LIBRARY_LINK1}"
8523 BURNT_LIBRARY_NAME_GL
="-Wl,-soname,${WX_LIBRARY_LINK1_GL}"
8525 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8526 WX_ALL
="CREATE_LINKS"
8527 if test "$USE_GUI" = 1; then
8528 WX_ALL
="$WX_ALL CREATE_LINKS_GL"
8531 *-*-irix5* | *-*-irix6* )
8532 if test "$GCC" = yes ; then
8533 SHARED_LD
="${CC} -shared -o"
8536 SHARED_LD
="${CXX} -shared -o"
8538 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8539 WX_ALL
="CREATE_LINKS"
8540 if test "$USE_GUI" = 1; then
8541 WX_ALL
="$WX_ALL CREATE_LINKS_GL"
8545 if test "$GCC" = yes ; then
8546 SHARED_LD
="${CC} -shared -o"
8549 SHARED_LD
="${CXX} -G -o"
8552 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8553 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
8556 SHARED_LD
="${CC} -shared -o"
8558 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8559 WX_ALL
="CREATE_LINKS"
8561 *-*-freebsd* | *-*-netbsd*)
8562 SHARED_LD
="${CC} -shared -o"
8564 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8565 WX_ALL
="CREATE_LINKS"
8568 SHARED_LD
="${CXX} -shared -o"
8570 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8571 WX_ALL
="CREATE_LINKS"
8574 SHARED_LD
="${CXX} -shared -o"
8576 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8577 WX_ALL
="CREATE_LINKS"
8580 SHARED_LD
="${CC} -shared -o"
8582 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8583 WX_ALL
="CREATE_LINKS"
8586 SHARED_LD
="/usr/lpp/xlC/bin/makeC++SharedLib -p 0 -o"
8587 WX_ALL
=${WX_LIBRARY_NAME_SHARED}
8590 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
8591 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
8592 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
8595 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
8596 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
8597 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
8600 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
8601 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
8604 SHARED_LD
="${LD} -shared -o"
8606 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8607 WX_ALL
="CREATE_LINKS"
8610 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
8613 if test "x$WX_TARGET_LIBRARY" = "x"; then
8614 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
8615 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
8618 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
8619 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
8620 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
8624 for ac_hdr
in strings.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 unistd.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 wchar.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 wcstr.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
8784 for ac_hdr
in fnmatch.h
8786 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8787 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8788 echo "configure:8789: checking for $ac_hdr" >&5
8789 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8790 echo $ac_n "(cached) $ac_c" 1>&6
8792 cat > conftest.
$ac_ext <<EOF
8793 #line 8794 "configure"
8794 #include "confdefs.h"
8797 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8798 { (eval echo configure
:8799: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8799 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8800 if test -z "$ac_err"; then
8802 eval "ac_cv_header_$ac_safe=yes"
8805 echo "configure: failed program was:" >&5
8806 cat conftest.
$ac_ext >&5
8808 eval "ac_cv_header_$ac_safe=no"
8812 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8813 echo "$ac_t""yes" 1>&6
8814 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8815 cat >> confdefs.h
<<EOF
8816 #define $ac_tr_hdr 1
8820 echo "$ac_t""no" 1>&6
8825 if test "$wxUSE_GUI" = "yes"; then
8826 for ac_hdr
in X
11/XKBlib.h
8828 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8829 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8830 echo "configure:8831: checking for $ac_hdr" >&5
8831 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+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"
8839 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8840 { (eval echo configure
:8841: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8841 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8842 if test -z "$ac_err"; then
8844 eval "ac_cv_header_$ac_safe=yes"
8847 echo "configure: failed program was:" >&5
8848 cat conftest.
$ac_ext >&5
8850 eval "ac_cv_header_$ac_safe=no"
8854 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8855 echo "$ac_t""yes" 1>&6
8856 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8857 cat >> confdefs.h
<<EOF
8858 #define $ac_tr_hdr 1
8862 echo "$ac_t""no" 1>&6
8869 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
8870 echo "configure:8871: checking for ANSI C header files" >&5
8871 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
8872 echo $ac_n "(cached) $ac_c" 1>&6
8874 cat > conftest.
$ac_ext <<EOF
8875 #line 8876 "configure"
8876 #include "confdefs.h"
8882 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8883 { (eval echo configure
:8884: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8884 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8885 if test -z "$ac_err"; then
8887 ac_cv_header_stdc
=yes
8890 echo "configure: failed program was:" >&5
8891 cat conftest.
$ac_ext >&5
8893 ac_cv_header_stdc
=no
8897 if test $ac_cv_header_stdc = yes; then
8898 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8899 cat > conftest.
$ac_ext <<EOF
8900 #line 8901 "configure"
8901 #include "confdefs.h"
8904 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8905 egrep "memchr" >/dev
/null
2>&1; then
8909 ac_cv_header_stdc
=no
8915 if test $ac_cv_header_stdc = yes; then
8916 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8917 cat > conftest.
$ac_ext <<EOF
8918 #line 8919 "configure"
8919 #include "confdefs.h"
8922 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8923 egrep "free" >/dev
/null
2>&1; then
8927 ac_cv_header_stdc
=no
8933 if test $ac_cv_header_stdc = yes; then
8934 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8935 if test "$cross_compiling" = yes; then
8938 cat > conftest.
$ac_ext <<EOF
8939 #line 8940 "configure"
8940 #include "confdefs.h"
8942 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8943 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8944 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8945 int main () { int i; for (i = 0; i < 256; i++)
8946 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
8950 if { (eval echo configure
:8951: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
8954 echo "configure: failed program was:" >&5
8955 cat conftest.
$ac_ext >&5
8957 ac_cv_header_stdc
=no
8965 echo "$ac_t""$ac_cv_header_stdc" 1>&6
8966 if test $ac_cv_header_stdc = yes; then
8967 cat >> confdefs.h
<<\EOF
8968 #define STDC_HEADERS 1
8973 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
8974 echo "configure:8975: checking for mode_t" >&5
8975 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
8976 echo $ac_n "(cached) $ac_c" 1>&6
8978 cat > conftest.
$ac_ext <<EOF
8979 #line 8980 "configure"
8980 #include "confdefs.h"
8981 #include <sys/types.h>
8987 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8988 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
8990 ac_cv_type_mode_t
=yes
8993 ac_cv_type_mode_t
=no
8998 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
8999 if test $ac_cv_type_mode_t = no
; then
9000 cat >> confdefs.h
<<\EOF
9006 echo $ac_n "checking for off_t""... $ac_c" 1>&6
9007 echo "configure:9008: checking for off_t" >&5
9008 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
9009 echo $ac_n "(cached) $ac_c" 1>&6
9011 cat > conftest.
$ac_ext <<EOF
9012 #line 9013 "configure"
9013 #include "confdefs.h"
9014 #include <sys/types.h>
9020 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9021 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
9023 ac_cv_type_off_t
=yes
9031 echo "$ac_t""$ac_cv_type_off_t" 1>&6
9032 if test $ac_cv_type_off_t = no
; then
9033 cat >> confdefs.h
<<\EOF
9039 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
9040 echo "configure:9041: checking for pid_t" >&5
9041 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
9042 echo $ac_n "(cached) $ac_c" 1>&6
9044 cat > conftest.
$ac_ext <<EOF
9045 #line 9046 "configure"
9046 #include "confdefs.h"
9047 #include <sys/types.h>
9053 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9054 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
9056 ac_cv_type_pid_t
=yes
9064 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
9065 if test $ac_cv_type_pid_t = no
; then
9066 cat >> confdefs.h
<<\EOF
9072 echo $ac_n "checking for size_t""... $ac_c" 1>&6
9073 echo "configure:9074: checking for size_t" >&5
9074 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
9075 echo $ac_n "(cached) $ac_c" 1>&6
9077 cat > conftest.
$ac_ext <<EOF
9078 #line 9079 "configure"
9079 #include "confdefs.h"
9080 #include <sys/types.h>
9086 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9087 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
9089 ac_cv_type_size_t
=yes
9092 ac_cv_type_size_t
=no
9097 echo "$ac_t""$ac_cv_type_size_t" 1>&6
9098 if test $ac_cv_type_size_t = no
; then
9099 cat >> confdefs.h
<<\EOF
9100 #define size_t unsigned
9105 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
9106 echo "configure:9107: checking for uid_t in sys/types.h" >&5
9107 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
9108 echo $ac_n "(cached) $ac_c" 1>&6
9110 cat > conftest.
$ac_ext <<EOF
9111 #line 9112 "configure"
9112 #include "confdefs.h"
9113 #include <sys/types.h>
9115 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9116 egrep "uid_t" >/dev
/null
2>&1; then
9118 ac_cv_type_uid_t
=yes
9127 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
9128 if test $ac_cv_type_uid_t = no
; then
9129 cat >> confdefs.h
<<\EOF
9133 cat >> confdefs.h
<<\EOF
9141 echo $ac_n "checking for pw_gecos in struct passwd""... $ac_c" 1>&6
9142 echo "configure:9143: checking for pw_gecos in struct passwd" >&5
9143 if eval "test \"`echo '$''{'wx_cv_struct_pw_gecos'+set}'`\" = set"; then
9144 echo $ac_n "(cached) $ac_c" 1>&6
9147 cat > conftest.
$ac_ext <<EOF
9148 #line 9149 "configure"
9149 #include "confdefs.h"
9159 if { (eval echo configure
:9160: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9162 wx_cv_struct_pw_gecos
=yes
9163 cat >> confdefs.h
<<\EOF
9164 #define HAVE_PW_GECOS 1
9169 echo "configure: failed program was:" >&5
9170 cat conftest.
$ac_ext >&5
9173 wx_cv_struct_pw_gecos
=no
9182 echo "$ac_t""$wx_cv_struct_pw_gecos" 1>&6
9185 echo $ac_n "checking for working const""... $ac_c" 1>&6
9186 echo "configure:9187: checking for working const" >&5
9187 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
9188 echo $ac_n "(cached) $ac_c" 1>&6
9190 cat > conftest.
$ac_ext <<EOF
9191 #line 9192 "configure"
9192 #include "confdefs.h"
9196 /* Ultrix mips cc rejects this. */
9197 typedef int charset[2]; const charset x;
9198 /* SunOS 4.1.1 cc rejects this. */
9199 char const *const *ccp;
9201 /* NEC SVR4.0.2 mips cc rejects this. */
9202 struct point {int x, y;};
9203 static struct point const zero = {0,0};
9204 /* AIX XL C 1.02.0.0 rejects this.
9205 It does not let you subtract one const X* pointer from another in an arm
9206 of an if-expression whose if-part is not a constant expression */
9207 const char *g = "string";
9208 ccp = &g + (g ? g-g : 0);
9209 /* HPUX 7.0 cc rejects these. */
9212 ccp = (char const *const *) p;
9213 { /* SCO 3.2v4 cc rejects this. */
9215 char const *s = 0 ? (char *) 0 : (char const *) 0;
9219 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
9221 const int *foo = &x[0];
9224 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
9225 typedef const int *iptr;
9229 { /* AIX XL C 1.02.0.0 rejects this saying
9230 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
9231 struct s { int j; const int *ap[3]; };
9232 struct s *b; b->j = 5;
9234 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
9240 if { (eval echo configure
:9241: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9244 echo "configure: failed program was:" >&5
9245 cat conftest.
$ac_ext >&5
9252 echo "$ac_t""$ac_cv_c_const" 1>&6
9253 if test $ac_cv_c_const = no
; then
9254 cat >> confdefs.h
<<\EOF
9260 echo $ac_n "checking for inline""... $ac_c" 1>&6
9261 echo "configure:9262: checking for inline" >&5
9262 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
9263 echo $ac_n "(cached) $ac_c" 1>&6
9266 for ac_kw
in inline __inline__ __inline
; do
9267 cat > conftest.
$ac_ext <<EOF
9268 #line 9269 "configure"
9269 #include "confdefs.h"
9275 if { (eval echo configure
:9276: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9277 ac_cv_c_inline
=$ac_kw; break
9279 echo "configure: failed program was:" >&5
9280 cat conftest.
$ac_ext >&5
9287 echo "$ac_t""$ac_cv_c_inline" 1>&6
9288 case "$ac_cv_c_inline" in
9290 no
) cat >> confdefs.h
<<\EOF
9294 *) cat >> confdefs.h
<<EOF
9295 #define inline $ac_cv_c_inline
9301 echo $ac_n "checking size of char""... $ac_c" 1>&6
9302 echo "configure:9303: checking size of char" >&5
9303 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
9304 echo $ac_n "(cached) $ac_c" 1>&6
9306 if test "$cross_compiling" = yes; then
9309 cat > conftest.
$ac_ext <<EOF
9310 #line 9311 "configure"
9311 #include "confdefs.h"
9315 FILE *f=fopen("conftestval", "w");
9317 fprintf(f, "%d\n", sizeof(char));
9321 if { (eval echo configure
:9322: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9323 ac_cv_sizeof_char
=`cat conftestval`
9325 echo "configure: failed program was:" >&5
9326 cat conftest.
$ac_ext >&5
9334 echo "$ac_t""$ac_cv_sizeof_char" 1>&6
9335 cat >> confdefs.h
<<EOF
9336 #define SIZEOF_CHAR $ac_cv_sizeof_char
9340 echo $ac_n "checking size of short""... $ac_c" 1>&6
9341 echo "configure:9342: checking size of short" >&5
9342 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
9343 echo $ac_n "(cached) $ac_c" 1>&6
9345 if test "$cross_compiling" = yes; then
9346 ac_cv_sizeof_short
=2
9348 cat > conftest.
$ac_ext <<EOF
9349 #line 9350 "configure"
9350 #include "confdefs.h"
9354 FILE *f=fopen("conftestval", "w");
9356 fprintf(f, "%d\n", sizeof(short));
9360 if { (eval echo configure
:9361: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9362 ac_cv_sizeof_short
=`cat conftestval`
9364 echo "configure: failed program was:" >&5
9365 cat conftest.
$ac_ext >&5
9367 ac_cv_sizeof_short
=0
9373 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
9374 cat >> confdefs.h
<<EOF
9375 #define SIZEOF_SHORT $ac_cv_sizeof_short
9379 echo $ac_n "checking size of int *""... $ac_c" 1>&6
9380 echo "configure:9381: checking size of int *" >&5
9381 if eval "test \"`echo '$''{'ac_cv_sizeof_int_p'+set}'`\" = set"; then
9382 echo $ac_n "(cached) $ac_c" 1>&6
9384 if test "$cross_compiling" = yes; then
9385 ac_cv_sizeof_int_p
=4
9387 cat > conftest.
$ac_ext <<EOF
9388 #line 9389 "configure"
9389 #include "confdefs.h"
9393 FILE *f=fopen("conftestval", "w");
9395 fprintf(f, "%d\n", sizeof(int *));
9399 if { (eval echo configure
:9400: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9401 ac_cv_sizeof_int_p
=`cat conftestval`
9403 echo "configure: failed program was:" >&5
9404 cat conftest.
$ac_ext >&5
9406 ac_cv_sizeof_int_p
=0
9412 echo "$ac_t""$ac_cv_sizeof_int_p" 1>&6
9413 cat >> confdefs.h
<<EOF
9414 #define SIZEOF_INT_P $ac_cv_sizeof_int_p
9418 echo $ac_n "checking size of int""... $ac_c" 1>&6
9419 echo "configure:9420: checking size of int" >&5
9420 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
9421 echo $ac_n "(cached) $ac_c" 1>&6
9423 if test "$cross_compiling" = yes; then
9426 cat > conftest.
$ac_ext <<EOF
9427 #line 9428 "configure"
9428 #include "confdefs.h"
9432 FILE *f=fopen("conftestval", "w");
9434 fprintf(f, "%d\n", sizeof(int));
9438 if { (eval echo configure
:9439: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9440 ac_cv_sizeof_int
=`cat conftestval`
9442 echo "configure: failed program was:" >&5
9443 cat conftest.
$ac_ext >&5
9451 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
9452 cat >> confdefs.h
<<EOF
9453 #define SIZEOF_INT $ac_cv_sizeof_int
9457 echo $ac_n "checking size of long""... $ac_c" 1>&6
9458 echo "configure:9459: checking size of long" >&5
9459 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
9460 echo $ac_n "(cached) $ac_c" 1>&6
9462 if test "$cross_compiling" = yes; then
9465 cat > conftest.
$ac_ext <<EOF
9466 #line 9467 "configure"
9467 #include "confdefs.h"
9471 FILE *f=fopen("conftestval", "w");
9473 fprintf(f, "%d\n", sizeof(long));
9477 if { (eval echo configure
:9478: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9479 ac_cv_sizeof_long
=`cat conftestval`
9481 echo "configure: failed program was:" >&5
9482 cat conftest.
$ac_ext >&5
9490 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
9491 cat >> confdefs.h
<<EOF
9492 #define SIZEOF_LONG $ac_cv_sizeof_long
9496 echo $ac_n "checking size of long long""... $ac_c" 1>&6
9497 echo "configure:9498: checking size of long long" >&5
9498 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
9499 echo $ac_n "(cached) $ac_c" 1>&6
9501 if test "$cross_compiling" = yes; then
9502 ac_cv_sizeof_long_long
=0
9504 cat > conftest.
$ac_ext <<EOF
9505 #line 9506 "configure"
9506 #include "confdefs.h"
9510 FILE *f=fopen("conftestval", "w");
9512 fprintf(f, "%d\n", sizeof(long long));
9516 if { (eval echo configure
:9517: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9518 ac_cv_sizeof_long_long
=`cat conftestval`
9520 echo "configure: failed program was:" >&5
9521 cat conftest.
$ac_ext >&5
9523 ac_cv_sizeof_long_long
=0
9529 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
9530 cat >> confdefs.h
<<EOF
9531 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
9536 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
9537 echo "configure:9538: checking whether byte ordering is bigendian" >&5
9538 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
9539 echo $ac_n "(cached) $ac_c" 1>&6
9541 ac_cv_c_bigendian
=unknown
9542 # See if sys/param.h defines the BYTE_ORDER macro.
9543 cat > conftest.
$ac_ext <<EOF
9544 #line 9545 "configure"
9545 #include "confdefs.h"
9546 #include <sys/types.h>
9547 #include <sys/param.h>
9550 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
9555 if { (eval echo configure
:9556: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9557 # It does; now see whether it defined to BIG_ENDIAN or not.
9558 cat > conftest.
$ac_ext <<EOF
9559 #line 9560 "configure"
9560 #include "confdefs.h"
9561 #include <sys/types.h>
9562 #include <sys/param.h>
9565 #if BYTE_ORDER != BIG_ENDIAN
9570 if { (eval echo configure
:9571: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9572 ac_cv_c_bigendian
=yes
9574 echo "configure: failed program was:" >&5
9575 cat conftest.
$ac_ext >&5
9577 ac_cv_c_bigendian
=no
9581 echo "configure: failed program was:" >&5
9582 cat conftest.
$ac_ext >&5
9585 if test $ac_cv_c_bigendian = unknown
; then
9586 if test "$cross_compiling" = yes; then
9587 ac_cv_c_bigendian
=unknown
9589 cat > conftest.
$ac_ext <<EOF
9590 #line 9591 "configure"
9591 #include "confdefs.h"
9593 /* Are we little or big endian? From Harbison&Steele. */
9597 char c[sizeof (long)];
9600 exit (u.c[sizeof (long) - 1] == 1);
9603 if { (eval echo configure
:9604: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9605 ac_cv_c_bigendian
=no
9607 echo "configure: failed program was:" >&5
9608 cat conftest.
$ac_ext >&5
9610 ac_cv_c_bigendian
=yes
9618 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
9619 if test $ac_cv_c_bigendian = unknown
; then
9620 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
9622 if test $ac_cv_c_bigendian = yes; then
9623 cat >> confdefs.h
<<\EOF
9624 #define WORDS_BIGENDIAN 1
9631 if test "$cross_compiling" = "yes"; then
9632 cat >> confdefs.h
<<\EOF
9633 #define wxUSE_IOSTREAMH 1
9639 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9640 ac_cpp
='$CXXCPP $CPPFLAGS'
9641 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9642 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9643 cross_compiling
=$ac_cv_prog_cxx_cross
9646 for ac_hdr
in iostream
9648 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9649 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9650 echo "configure:9651: checking for $ac_hdr" >&5
9651 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9652 echo $ac_n "(cached) $ac_c" 1>&6
9654 cat > conftest.
$ac_ext <<EOF
9655 #line 9656 "configure"
9656 #include "confdefs.h"
9659 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9660 { (eval echo configure
:9661: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9661 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9662 if test -z "$ac_err"; then
9664 eval "ac_cv_header_$ac_safe=yes"
9667 echo "configure: failed program was:" >&5
9668 cat conftest.
$ac_ext >&5
9670 eval "ac_cv_header_$ac_safe=no"
9674 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9675 echo "$ac_t""yes" 1>&6
9676 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9677 cat >> confdefs.h
<<EOF
9678 #define $ac_tr_hdr 1
9682 echo "$ac_t""no" 1>&6
9687 if test "x$HAVE_IOSTREAM" = x
; then
9688 cat >> confdefs.h
<<\EOF
9689 #define wxUSE_IOSTREAMH 1
9697 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9698 ac_cpp
='$CPP $CPPFLAGS'
9699 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9700 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9701 cross_compiling
=$ac_cv_prog_cc_cross
9707 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
9708 echo "configure:9709: checking if C++ compiler supports bool" >&5
9709 if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
9710 echo $ac_n "(cached) $ac_c" 1>&6
9715 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9716 ac_cpp
='$CXXCPP $CPPFLAGS'
9717 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9718 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9719 cross_compiling
=$ac_cv_prog_cxx_cross
9722 cat > conftest.
$ac_ext <<EOF
9723 #line 9724 "configure"
9724 #include "confdefs.h"
9735 if { (eval echo configure
:9736: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9738 cat >> confdefs.h
<<\EOF
9745 echo "configure: failed program was:" >&5
9746 cat conftest.
$ac_ext >&5
9756 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9757 ac_cpp
='$CPP $CPPFLAGS'
9758 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9759 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9760 cross_compiling
=$ac_cv_prog_cc_cross
9765 echo "$ac_t""$wx_cv_cpp_bool" 1>&6
9767 if test "$wx_cv_cpp_bool" = "yes"; then
9768 cat >> confdefs.h
<<\EOF
9776 echo $ac_n "checking if you need GNU extensions""... $ac_c" 1>&6
9777 echo "configure:9778: checking if you need GNU extensions" >&5
9778 if eval "test \"`echo '$''{'wx_cv_gnu_extensions'+set}'`\" = set"; then
9779 echo $ac_n "(cached) $ac_c" 1>&6
9782 cat > conftest.
$ac_ext <<EOF
9783 #line 9784 "configure"
9784 #include "confdefs.h"
9785 #include <features.h>
9789 #ifndef __GNU_LIBRARY__
9790 Compile error wanted
9796 if { (eval echo configure
:9797: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9798 wx_cv_gnu_extensions
=yes
9800 echo "configure: failed program was:" >&5
9801 cat conftest.
$ac_ext >&5
9803 wx_cv_gnu_extensions
=no
9810 echo "$ac_t""$wx_cv_gnu_extensions" 1>&6
9811 if test "$wx_cv_gnu_extensions" = "yes"; then
9812 cat >> confdefs.h
<<EOF
9813 #define _GNU_SOURCE 1
9820 echo $ac_n "checking for wcslen in -lc""... $ac_c" 1>&6
9821 echo "configure:9822: checking for wcslen in -lc" >&5
9822 ac_lib_var
=`echo c'_'wcslen | sed 'y%./+-%__p_%'`
9823 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9824 echo $ac_n "(cached) $ac_c" 1>&6
9826 ac_save_LIBS
="$LIBS"
9828 cat > conftest.
$ac_ext <<EOF
9829 #line 9830 "configure"
9830 #include "confdefs.h"
9831 /* Override any gcc2 internal prototype to avoid an error. */
9832 /* We use char because int might match the return type of a gcc2
9833 builtin and then its argument prototype would still apply. */
9840 if { (eval echo configure
:9841: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9842 eval "ac_cv_lib_$ac_lib_var=yes"
9844 echo "configure: failed program was:" >&5
9845 cat conftest.
$ac_ext >&5
9847 eval "ac_cv_lib_$ac_lib_var=no"
9850 LIBS
="$ac_save_LIBS"
9853 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9854 echo "$ac_t""yes" 1>&6
9856 cat >> confdefs.h
<<\EOF
9857 #define HAVE_WCSLEN 1
9863 echo "$ac_t""no" 1>&6
9865 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
9866 echo "configure:9867: checking for wcslen in -lw" >&5
9867 ac_lib_var
=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
9868 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9869 echo $ac_n "(cached) $ac_c" 1>&6
9871 ac_save_LIBS
="$LIBS"
9873 cat > conftest.
$ac_ext <<EOF
9874 #line 9875 "configure"
9875 #include "confdefs.h"
9876 /* Override any gcc2 internal prototype to avoid an error. */
9877 /* We use char because int might match the return type of a gcc2
9878 builtin and then its argument prototype would still apply. */
9885 if { (eval echo configure
:9886: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9887 eval "ac_cv_lib_$ac_lib_var=yes"
9889 echo "configure: failed program was:" >&5
9890 cat conftest.
$ac_ext >&5
9892 eval "ac_cv_lib_$ac_lib_var=no"
9895 LIBS
="$ac_save_LIBS"
9898 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9899 echo "$ac_t""yes" 1>&6
9901 cat >> confdefs.h
<<\EOF
9902 #define HAVE_WCSLEN 1
9908 echo "$ac_t""no" 1>&6
9915 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
9916 echo "configure:9917: checking for vprintf" >&5
9917 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
9918 echo $ac_n "(cached) $ac_c" 1>&6
9920 cat > conftest.
$ac_ext <<EOF
9921 #line 9922 "configure"
9922 #include "confdefs.h"
9923 /* System header to define __stub macros and hopefully few prototypes,
9924 which can conflict with char vprintf(); below. */
9926 /* Override any gcc2 internal prototype to avoid an error. */
9927 /* We use char because int might match the return type of a gcc2
9928 builtin and then its argument prototype would still apply. */
9933 /* The GNU C library defines this for functions which it implements
9934 to always fail with ENOSYS. Some functions are actually named
9935 something starting with __ and the normal name is an alias. */
9936 #if defined (__stub_vprintf) || defined (__stub___vprintf)
9944 if { (eval echo configure
:9945: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9946 eval "ac_cv_func_vprintf=yes"
9948 echo "configure: failed program was:" >&5
9949 cat conftest.
$ac_ext >&5
9951 eval "ac_cv_func_vprintf=no"
9956 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
9957 echo "$ac_t""yes" 1>&6
9958 cat >> confdefs.h
<<\EOF
9959 #define HAVE_VPRINTF 1
9963 echo "$ac_t""no" 1>&6
9966 if test "$ac_cv_func_vprintf" != yes; then
9967 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
9968 echo "configure:9969: checking for _doprnt" >&5
9969 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
9970 echo $ac_n "(cached) $ac_c" 1>&6
9972 cat > conftest.
$ac_ext <<EOF
9973 #line 9974 "configure"
9974 #include "confdefs.h"
9975 /* System header to define __stub macros and hopefully few prototypes,
9976 which can conflict with char _doprnt(); below. */
9978 /* Override any gcc2 internal prototype to avoid an error. */
9979 /* We use char because int might match the return type of a gcc2
9980 builtin and then its argument prototype would still apply. */
9985 /* The GNU C library defines this for functions which it implements
9986 to always fail with ENOSYS. Some functions are actually named
9987 something starting with __ and the normal name is an alias. */
9988 #if defined (__stub__doprnt) || defined (__stub____doprnt)
9996 if { (eval echo configure
:9997: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9998 eval "ac_cv_func__doprnt=yes"
10000 echo "configure: failed program was:" >&5
10001 cat conftest.
$ac_ext >&5
10003 eval "ac_cv_func__doprnt=no"
10008 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
10009 echo "$ac_t""yes" 1>&6
10010 cat >> confdefs.h
<<\EOF
10011 #define HAVE_DOPRNT 1
10015 echo "$ac_t""no" 1>&6
10021 for ac_func
in vsnprintf
10023 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10024 echo "configure:10025: checking for $ac_func" >&5
10025 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10026 echo $ac_n "(cached) $ac_c" 1>&6
10028 cat > conftest.
$ac_ext <<EOF
10029 #line 10030 "configure"
10030 #include "confdefs.h"
10031 /* System header to define __stub macros and hopefully few prototypes,
10032 which can conflict with char $ac_func(); below. */
10033 #include <assert.h>
10034 /* Override any gcc2 internal prototype to avoid an error. */
10035 /* We use char because int might match the return type of a gcc2
10036 builtin and then its argument prototype would still apply. */
10041 /* The GNU C library defines this for functions which it implements
10042 to always fail with ENOSYS. Some functions are actually named
10043 something starting with __ and the normal name is an alias. */
10044 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10052 if { (eval echo configure
:10053: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10054 eval "ac_cv_func_$ac_func=yes"
10056 echo "configure: failed program was:" >&5
10057 cat conftest.
$ac_ext >&5
10059 eval "ac_cv_func_$ac_func=no"
10064 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10065 echo "$ac_t""yes" 1>&6
10066 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10067 cat >> confdefs.h
<<EOF
10068 #define $ac_tr_func 1
10070 cat >> confdefs.h
<<\EOF
10071 #define HAVE_VSNPRINTF 1
10075 echo "$ac_t""no" 1>&6
10076 echo "configure: warning: unsafe function sprintf will be used instead of snprintf" 1>&2
10084 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10085 ac_cpp
='$CXXCPP $CPPFLAGS'
10086 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10087 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10088 cross_compiling
=$ac_cv_prog_cxx_cross
10091 echo $ac_n "checking for vsscanf""... $ac_c" 1>&6
10092 echo "configure:10093: checking for vsscanf" >&5
10093 if eval "test \"`echo '$''{'wx_cv_func_vsscanf'+set}'`\" = set"; then
10094 echo $ac_n "(cached) $ac_c" 1>&6
10097 if test "$cross_compiling" = yes; then
10098 wx_cv_func_vsscanf
=no
10101 cat > conftest.
$ac_ext <<EOF
10102 #line 10103 "configure"
10103 #include "confdefs.h"
10105 extern "C" void exit(int);
10109 #include <stdarg.h>
10111 int try_vsscanf(const char *format, ...)
10114 va_start(ap, format);
10116 vsscanf("17", format, ap);
10124 try_vsscanf("%d", &i);
10125 return i == 17 ? 0 : 1;
10129 if { (eval echo configure
:10130: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10132 cat >> confdefs.h
<<\EOF
10133 #define HAVE_VSSCANF 1
10136 wx_cv_func_vsscanf
=yes
10139 echo "configure: failed program was:" >&5
10140 cat conftest.
$ac_ext >&5
10142 wx_cv_func_vsscanf
=no
10150 echo "$ac_t""$wx_cv_func_vsscanf" 1>&6
10153 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10154 ac_cpp
='$CPP $CPPFLAGS'
10155 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10156 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10157 cross_compiling
=$ac_cv_prog_cc_cross
10160 if test "$TOOLKIT" != "MSW"; then
10162 for ac_func
in vfork
10164 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10165 echo "configure:10166: checking for $ac_func" >&5
10166 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10167 echo $ac_n "(cached) $ac_c" 1>&6
10169 cat > conftest.
$ac_ext <<EOF
10170 #line 10171 "configure"
10171 #include "confdefs.h"
10172 /* System header to define __stub macros and hopefully few prototypes,
10173 which can conflict with char $ac_func(); below. */
10174 #include <assert.h>
10175 /* Override any gcc2 internal prototype to avoid an error. */
10176 /* We use char because int might match the return type of a gcc2
10177 builtin and then its argument prototype would still apply. */
10182 /* The GNU C library defines this for functions which it implements
10183 to always fail with ENOSYS. Some functions are actually named
10184 something starting with __ and the normal name is an alias. */
10185 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10193 if { (eval echo configure
:10194: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10195 eval "ac_cv_func_$ac_func=yes"
10197 echo "configure: failed program was:" >&5
10198 cat conftest.
$ac_ext >&5
10200 eval "ac_cv_func_$ac_func=no"
10205 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10206 echo "$ac_t""yes" 1>&6
10207 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10208 cat >> confdefs.h
<<EOF
10209 #define $ac_tr_func 1
10213 echo "$ac_t""no" 1>&6
10218 for ac_func
in timegm
10220 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10221 echo "configure:10222: checking for $ac_func" >&5
10222 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10223 echo $ac_n "(cached) $ac_c" 1>&6
10225 cat > conftest.
$ac_ext <<EOF
10226 #line 10227 "configure"
10227 #include "confdefs.h"
10228 /* System header to define __stub macros and hopefully few prototypes,
10229 which can conflict with char $ac_func(); below. */
10230 #include <assert.h>
10231 /* Override any gcc2 internal prototype to avoid an error. */
10232 /* We use char because int might match the return type of a gcc2
10233 builtin and then its argument prototype would still apply. */
10238 /* The GNU C library defines this for functions which it implements
10239 to always fail with ENOSYS. Some functions are actually named
10240 something starting with __ and the normal name is an alias. */
10241 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10249 if { (eval echo configure
:10250: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10251 eval "ac_cv_func_$ac_func=yes"
10253 echo "configure: failed program was:" >&5
10254 cat conftest.
$ac_ext >&5
10256 eval "ac_cv_func_$ac_func=no"
10261 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10262 echo "$ac_t""yes" 1>&6
10263 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10264 cat >> confdefs.h
<<EOF
10265 #define $ac_tr_func 1
10269 echo "$ac_t""no" 1>&6
10274 HAVE_SOME_SLEEP_FUNC
=0
10275 if test "$USE_BEOS" = 1; then
10276 cat >> confdefs.h
<<\EOF
10277 #define HAVE_SLEEP 1
10280 HAVE_SOME_SLEEP_FUNC
=1
10283 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
10285 for ac_func
in nanosleep
10287 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10288 echo "configure:10289: checking for $ac_func" >&5
10289 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10290 echo $ac_n "(cached) $ac_c" 1>&6
10292 cat > conftest.
$ac_ext <<EOF
10293 #line 10294 "configure"
10294 #include "confdefs.h"
10295 /* System header to define __stub macros and hopefully few prototypes,
10296 which can conflict with char $ac_func(); below. */
10297 #include <assert.h>
10298 /* Override any gcc2 internal prototype to avoid an error. */
10299 /* We use char because int might match the return type of a gcc2
10300 builtin and then its argument prototype would still apply. */
10305 /* The GNU C library defines this for functions which it implements
10306 to always fail with ENOSYS. Some functions are actually named
10307 something starting with __ and the normal name is an alias. */
10308 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10316 if { (eval echo configure
:10317: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10318 eval "ac_cv_func_$ac_func=yes"
10320 echo "configure: failed program was:" >&5
10321 cat conftest.
$ac_ext >&5
10323 eval "ac_cv_func_$ac_func=no"
10328 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10329 echo "$ac_t""yes" 1>&6
10330 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10331 cat >> confdefs.h
<<EOF
10332 #define $ac_tr_func 1
10334 cat >> confdefs.h
<<\EOF
10335 #define HAVE_NANOSLEEP 1
10339 echo "$ac_t""no" 1>&6
10340 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
10341 echo "configure:10342: checking for nanosleep in -lposix4" >&5
10342 ac_lib_var
=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
10343 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10344 echo $ac_n "(cached) $ac_c" 1>&6
10346 ac_save_LIBS
="$LIBS"
10347 LIBS
="-lposix4 $LIBS"
10348 cat > conftest.
$ac_ext <<EOF
10349 #line 10350 "configure"
10350 #include "confdefs.h"
10351 /* Override any gcc2 internal prototype to avoid an error. */
10352 /* We use char because int might match the return type of a gcc2
10353 builtin and then its argument prototype would still apply. */
10360 if { (eval echo configure
:10361: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10362 eval "ac_cv_lib_$ac_lib_var=yes"
10364 echo "configure: failed program was:" >&5
10365 cat conftest.
$ac_ext >&5
10367 eval "ac_cv_lib_$ac_lib_var=no"
10370 LIBS
="$ac_save_LIBS"
10373 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10374 echo "$ac_t""yes" 1>&6
10376 cat >> confdefs.h
<<\EOF
10377 #define HAVE_NANOSLEEP 1
10380 POSIX4_LINK
="-lposix4"
10383 echo "$ac_t""no" 1>&6
10385 for ac_func
in usleep
10387 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10388 echo "configure:10389: checking for $ac_func" >&5
10389 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10390 echo $ac_n "(cached) $ac_c" 1>&6
10392 cat > conftest.
$ac_ext <<EOF
10393 #line 10394 "configure"
10394 #include "confdefs.h"
10395 /* System header to define __stub macros and hopefully few prototypes,
10396 which can conflict with char $ac_func(); below. */
10397 #include <assert.h>
10398 /* Override any gcc2 internal prototype to avoid an error. */
10399 /* We use char because int might match the return type of a gcc2
10400 builtin and then its argument prototype would still apply. */
10405 /* The GNU C library defines this for functions which it implements
10406 to always fail with ENOSYS. Some functions are actually named
10407 something starting with __ and the normal name is an alias. */
10408 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10416 if { (eval echo configure
:10417: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10418 eval "ac_cv_func_$ac_func=yes"
10420 echo "configure: failed program was:" >&5
10421 cat conftest.
$ac_ext >&5
10423 eval "ac_cv_func_$ac_func=no"
10428 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10429 echo "$ac_t""yes" 1>&6
10430 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10431 cat >> confdefs.h
<<EOF
10432 #define $ac_tr_func 1
10436 echo "$ac_t""no" 1>&6
10440 echo "configure: warning: wxSleep() function will not work" 1>&2
10452 for ac_func
in uname gethostname
10454 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10455 echo "configure:10456: checking for $ac_func" >&5
10456 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10457 echo $ac_n "(cached) $ac_c" 1>&6
10459 cat > conftest.
$ac_ext <<EOF
10460 #line 10461 "configure"
10461 #include "confdefs.h"
10462 /* System header to define __stub macros and hopefully few prototypes,
10463 which can conflict with char $ac_func(); below. */
10464 #include <assert.h>
10465 /* Override any gcc2 internal prototype to avoid an error. */
10466 /* We use char because int might match the return type of a gcc2
10467 builtin and then its argument prototype would still apply. */
10472 /* The GNU C library defines this for functions which it implements
10473 to always fail with ENOSYS. Some functions are actually named
10474 something starting with __ and the normal name is an alias. */
10475 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10483 if { (eval echo configure
:10484: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10485 eval "ac_cv_func_$ac_func=yes"
10487 echo "configure: failed program was:" >&5
10488 cat conftest.
$ac_ext >&5
10490 eval "ac_cv_func_$ac_func=no"
10495 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10496 echo "$ac_t""yes" 1>&6
10497 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10498 cat >> confdefs.h
<<EOF
10499 #define $ac_tr_func 1
10503 echo "$ac_t""no" 1>&6
10508 for ac_func
in strtok_r
10510 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10511 echo "configure:10512: checking for $ac_func" >&5
10512 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10513 echo $ac_n "(cached) $ac_c" 1>&6
10515 cat > conftest.
$ac_ext <<EOF
10516 #line 10517 "configure"
10517 #include "confdefs.h"
10518 /* System header to define __stub macros and hopefully few prototypes,
10519 which can conflict with char $ac_func(); below. */
10520 #include <assert.h>
10521 /* Override any gcc2 internal prototype to avoid an error. */
10522 /* We use char because int might match the return type of a gcc2
10523 builtin and then its argument prototype would still apply. */
10528 /* The GNU C library defines this for functions which it implements
10529 to always fail with ENOSYS. Some functions are actually named
10530 something starting with __ and the normal name is an alias. */
10531 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10539 if { (eval echo configure
:10540: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10541 eval "ac_cv_func_$ac_func=yes"
10543 echo "configure: failed program was:" >&5
10544 cat conftest.
$ac_ext >&5
10546 eval "ac_cv_func_$ac_func=no"
10551 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10552 echo "$ac_t""yes" 1>&6
10553 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10554 cat >> confdefs.h
<<EOF
10555 #define $ac_tr_func 1
10559 echo "$ac_t""no" 1>&6
10565 for ac_func
in inet_addr
10567 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10568 echo "configure:10569: checking for $ac_func" >&5
10569 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10570 echo $ac_n "(cached) $ac_c" 1>&6
10572 cat > conftest.
$ac_ext <<EOF
10573 #line 10574 "configure"
10574 #include "confdefs.h"
10575 /* System header to define __stub macros and hopefully few prototypes,
10576 which can conflict with char $ac_func(); below. */
10577 #include <assert.h>
10578 /* Override any gcc2 internal prototype to avoid an error. */
10579 /* We use char because int might match the return type of a gcc2
10580 builtin and then its argument prototype would still apply. */
10585 /* The GNU C library defines this for functions which it implements
10586 to always fail with ENOSYS. Some functions are actually named
10587 something starting with __ and the normal name is an alias. */
10588 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10596 if { (eval echo configure
:10597: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10598 eval "ac_cv_func_$ac_func=yes"
10600 echo "configure: failed program was:" >&5
10601 cat conftest.
$ac_ext >&5
10603 eval "ac_cv_func_$ac_func=no"
10608 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10609 echo "$ac_t""yes" 1>&6
10610 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10611 cat >> confdefs.h
<<EOF
10612 #define $ac_tr_func 1
10614 cat >> confdefs.h
<<\EOF
10615 #define HAVE_INET_ADDR 1
10619 echo "$ac_t""no" 1>&6
10620 echo $ac_n "checking for inet_addr in -lnsl""... $ac_c" 1>&6
10621 echo "configure:10622: checking for inet_addr in -lnsl" >&5
10622 ac_lib_var
=`echo nsl'_'inet_addr | sed 'y%./+-%__p_%'`
10623 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10624 echo $ac_n "(cached) $ac_c" 1>&6
10626 ac_save_LIBS
="$LIBS"
10628 cat > conftest.
$ac_ext <<EOF
10629 #line 10630 "configure"
10630 #include "confdefs.h"
10631 /* Override any gcc2 internal prototype to avoid an error. */
10632 /* We use char because int might match the return type of a gcc2
10633 builtin and then its argument prototype would still apply. */
10640 if { (eval echo configure
:10641: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10642 eval "ac_cv_lib_$ac_lib_var=yes"
10644 echo "configure: failed program was:" >&5
10645 cat conftest.
$ac_ext >&5
10647 eval "ac_cv_lib_$ac_lib_var=no"
10650 LIBS
="$ac_save_LIBS"
10653 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10654 echo "$ac_t""yes" 1>&6
10657 echo "$ac_t""no" 1>&6
10658 echo $ac_n "checking for inet_addr in -lresolv""... $ac_c" 1>&6
10659 echo "configure:10660: checking for inet_addr in -lresolv" >&5
10660 ac_lib_var
=`echo resolv'_'inet_addr | sed 'y%./+-%__p_%'`
10661 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10662 echo $ac_n "(cached) $ac_c" 1>&6
10664 ac_save_LIBS
="$LIBS"
10665 LIBS
="-lresolv $LIBS"
10666 cat > conftest.
$ac_ext <<EOF
10667 #line 10668 "configure"
10668 #include "confdefs.h"
10669 /* Override any gcc2 internal prototype to avoid an error. */
10670 /* We use char because int might match the return type of a gcc2
10671 builtin and then its argument prototype would still apply. */
10678 if { (eval echo configure
:10679: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10680 eval "ac_cv_lib_$ac_lib_var=yes"
10682 echo "configure: failed program was:" >&5
10683 cat conftest.
$ac_ext >&5
10685 eval "ac_cv_lib_$ac_lib_var=no"
10688 LIBS
="$ac_save_LIBS"
10691 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10692 echo "$ac_t""yes" 1>&6
10696 echo "$ac_t""no" 1>&6
10708 for ac_func
in inet_aton
10710 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10711 echo "configure:10712: checking for $ac_func" >&5
10712 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10713 echo $ac_n "(cached) $ac_c" 1>&6
10715 cat > conftest.
$ac_ext <<EOF
10716 #line 10717 "configure"
10717 #include "confdefs.h"
10718 /* System header to define __stub macros and hopefully few prototypes,
10719 which can conflict with char $ac_func(); below. */
10720 #include <assert.h>
10721 /* Override any gcc2 internal prototype to avoid an error. */
10722 /* We use char because int might match the return type of a gcc2
10723 builtin and then its argument prototype would still apply. */
10728 /* The GNU C library defines this for functions which it implements
10729 to always fail with ENOSYS. Some functions are actually named
10730 something starting with __ and the normal name is an alias. */
10731 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10739 if { (eval echo configure
:10740: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10741 eval "ac_cv_func_$ac_func=yes"
10743 echo "configure: failed program was:" >&5
10744 cat conftest.
$ac_ext >&5
10746 eval "ac_cv_func_$ac_func=no"
10751 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10752 echo "$ac_t""yes" 1>&6
10753 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10754 cat >> confdefs.h
<<EOF
10755 #define $ac_tr_func 1
10757 cat >> confdefs.h
<<\EOF
10758 #define HAVE_INET_ATON 1
10762 echo "$ac_t""no" 1>&6
10763 echo $ac_n "checking for inet_aton in -l$INET_LINK""... $ac_c" 1>&6
10764 echo "configure:10765: checking for inet_aton in -l$INET_LINK" >&5
10765 ac_lib_var
=`echo $INET_LINK'_'inet_aton | sed 'y%./+-%__p_%'`
10766 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10767 echo $ac_n "(cached) $ac_c" 1>&6
10769 ac_save_LIBS
="$LIBS"
10770 LIBS
="-l$INET_LINK $LIBS"
10771 cat > conftest.
$ac_ext <<EOF
10772 #line 10773 "configure"
10773 #include "confdefs.h"
10774 /* Override any gcc2 internal prototype to avoid an error. */
10775 /* We use char because int might match the return type of a gcc2
10776 builtin and then its argument prototype would still apply. */
10783 if { (eval echo configure
:10784: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10785 eval "ac_cv_lib_$ac_lib_var=yes"
10787 echo "configure: failed program was:" >&5
10788 cat conftest.
$ac_ext >&5
10790 eval "ac_cv_lib_$ac_lib_var=no"
10793 LIBS
="$ac_save_LIBS"
10796 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10797 echo "$ac_t""yes" 1>&6
10798 cat >> confdefs.h
<<\EOF
10799 #define HAVE_INET_ATON 1
10803 echo "$ac_t""no" 1>&6
10811 if test "x$INET_LINK" != "x"; then
10812 cat >> confdefs.h
<<\EOF
10813 #define HAVE_INET_ADDR 1
10816 INET_LINK
="-l$INET_LINK"
10822 cat > confcache
<<\EOF
10823 # This file is a shell script that caches the results of configure
10824 # tests run on this system so they can be shared between configure
10825 # scripts and configure runs. It is not useful on other systems.
10826 # If it contains results you don't want to keep, you may remove or edit it.
10828 # By default, configure uses ./config.cache as the cache file,
10829 # creating it if it does not exist already. You can give configure
10830 # the --cache-file=FILE option to use a different cache file; that is
10831 # what configure does when it calls configure scripts in
10832 # subdirectories, so they share the cache.
10833 # Giving --cache-file=/dev/null disables caching, for debugging configure.
10834 # config.status only pays attention to the cache file if you give it the
10835 # --recheck option to rerun configure.
10838 # The following way of writing the cache mishandles newlines in values,
10839 # but we know of no workaround that is simple, portable, and efficient.
10840 # So, don't put newlines in cache variables' values.
10841 # Ultrix sh set writes to stderr and can't be redirected directly,
10842 # and sets the high bit in the cache file unless we assign to the vars.
10844 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10846 # `set' does not quote correctly, so add quotes (double-quote substitution
10847 # turns \\\\ into \\, and sed turns \\ into \).
10849 -e "s/'/'\\\\''/g" \
10850 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
10853 # `set' quotes correctly as required by POSIX, so do not add quotes.
10854 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
10857 if cmp -s $cache_file confcache
; then
10860 if test -w $cache_file; then
10861 echo "updating cache $cache_file"
10862 cat confcache
> $cache_file
10864 echo "not updating unwritable cache $cache_file"
10871 if test "$TOOLKIT" != "MSW"; then
10877 if test "$wxUSE_THREADS" = "yes" ; then
10878 if test "$wxUSE_WINE" = 1 ; then
10879 echo "configure: warning: Threads are not supported under WINE" 1>&2
10881 elif test "$USE_BEOS" = 1; then
10882 echo "configure: warning: BeOS threads are not yet supported" 1>&2
10887 if test "$wxUSE_THREADS" = "yes" ; then
10889 echo $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6
10890 echo "configure:10891: checking for pthread_create in -lpthread" >&5
10891 ac_lib_var
=`echo pthread'_'pthread_create | sed 'y%./+-%__p_%'`
10892 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10893 echo $ac_n "(cached) $ac_c" 1>&6
10895 ac_save_LIBS
="$LIBS"
10896 LIBS
="-lpthread $LIBS"
10897 cat > conftest.
$ac_ext <<EOF
10898 #line 10899 "configure"
10899 #include "confdefs.h"
10900 /* Override any gcc2 internal prototype to avoid an error. */
10901 /* We use char because int might match the return type of a gcc2
10902 builtin and then its argument prototype would still apply. */
10903 char pthread_create();
10909 if { (eval echo configure
:10910: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10911 eval "ac_cv_lib_$ac_lib_var=yes"
10913 echo "configure: failed program was:" >&5
10914 cat conftest.
$ac_ext >&5
10916 eval "ac_cv_lib_$ac_lib_var=no"
10919 LIBS
="$ac_save_LIBS"
10922 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10923 echo "$ac_t""yes" 1>&6
10925 THREADS_OBJ
="threadpsx.lo"
10926 THREADS_LINK
="pthread"
10929 echo "$ac_t""no" 1>&6
10931 echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
10932 echo "configure:10933: checking for pthread_create in -lc_r" >&5
10933 ac_lib_var
=`echo c_r'_'pthread_create | sed 'y%./+-%__p_%'`
10934 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10935 echo $ac_n "(cached) $ac_c" 1>&6
10937 ac_save_LIBS
="$LIBS"
10939 cat > conftest.
$ac_ext <<EOF
10940 #line 10941 "configure"
10941 #include "confdefs.h"
10942 /* Override any gcc2 internal prototype to avoid an error. */
10943 /* We use char because int might match the return type of a gcc2
10944 builtin and then its argument prototype would still apply. */
10945 char pthread_create();
10951 if { (eval echo configure
:10952: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10953 eval "ac_cv_lib_$ac_lib_var=yes"
10955 echo "configure: failed program was:" >&5
10956 cat conftest.
$ac_ext >&5
10958 eval "ac_cv_lib_$ac_lib_var=no"
10961 LIBS
="$ac_save_LIBS"
10964 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10965 echo "$ac_t""yes" 1>&6
10967 THREADS_OBJ
="threadpsx.lo"
10971 echo "$ac_t""no" 1>&6
10973 ac_safe
=`echo "sys/prctl.h" | sed 'y%./+-%__p_%'`
10974 echo $ac_n "checking for sys/prctl.h""... $ac_c" 1>&6
10975 echo "configure:10976: checking for sys/prctl.h" >&5
10976 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10977 echo $ac_n "(cached) $ac_c" 1>&6
10979 cat > conftest.
$ac_ext <<EOF
10980 #line 10981 "configure"
10981 #include "confdefs.h"
10982 #include <sys/prctl.h>
10984 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10985 { (eval echo configure
:10986: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10986 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10987 if test -z "$ac_err"; then
10989 eval "ac_cv_header_$ac_safe=yes"
10992 echo "configure: failed program was:" >&5
10993 cat conftest.
$ac_ext >&5
10995 eval "ac_cv_header_$ac_safe=no"
10999 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11000 echo "$ac_t""yes" 1>&6
11002 THREADS_OBJ
="threadsgi.lo"
11005 echo "$ac_t""no" 1>&6
11015 if test -z "$THREADS_OBJ" ; then
11017 echo "configure: warning: No thread support on this system" 1>&2
11021 if test "$wxUSE_THREADS" = "yes" ; then
11022 for ac_func
in thr_setconcurrency
11024 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11025 echo "configure:11026: checking for $ac_func" >&5
11026 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11027 echo $ac_n "(cached) $ac_c" 1>&6
11029 cat > conftest.
$ac_ext <<EOF
11030 #line 11031 "configure"
11031 #include "confdefs.h"
11032 /* System header to define __stub macros and hopefully few prototypes,
11033 which can conflict with char $ac_func(); below. */
11034 #include <assert.h>
11035 /* Override any gcc2 internal prototype to avoid an error. */
11036 /* We use char because int might match the return type of a gcc2
11037 builtin and then its argument prototype would still apply. */
11042 /* The GNU C library defines this for functions which it implements
11043 to always fail with ENOSYS. Some functions are actually named
11044 something starting with __ and the normal name is an alias. */
11045 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11053 if { (eval echo configure
:11054: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11055 eval "ac_cv_func_$ac_func=yes"
11057 echo "configure: failed program was:" >&5
11058 cat conftest.
$ac_ext >&5
11060 eval "ac_cv_func_$ac_func=no"
11065 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11066 echo "$ac_t""yes" 1>&6
11067 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11068 cat >> confdefs.h
<<EOF
11069 #define $ac_tr_func 1
11073 echo "$ac_t""no" 1>&6
11079 for ac_hdr
in sched.h
11081 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11082 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11083 echo "configure:11084: checking for $ac_hdr" >&5
11084 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11085 echo $ac_n "(cached) $ac_c" 1>&6
11087 cat > conftest.
$ac_ext <<EOF
11088 #line 11089 "configure"
11089 #include "confdefs.h"
11092 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11093 { (eval echo configure
:11094: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11094 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11095 if test -z "$ac_err"; then
11097 eval "ac_cv_header_$ac_safe=yes"
11100 echo "configure: failed program was:" >&5
11101 cat conftest.
$ac_ext >&5
11103 eval "ac_cv_header_$ac_safe=no"
11107 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11108 echo "$ac_t""yes" 1>&6
11109 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11110 cat >> confdefs.h
<<EOF
11111 #define $ac_tr_hdr 1
11115 echo "$ac_t""no" 1>&6
11120 echo $ac_n "checking for sched_yield in -l$THREADS_LINK""... $ac_c" 1>&6
11121 echo "configure:11122: checking for sched_yield in -l$THREADS_LINK" >&5
11122 ac_lib_var
=`echo $THREADS_LINK'_'sched_yield | sed 'y%./+-%__p_%'`
11123 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11124 echo $ac_n "(cached) $ac_c" 1>&6
11126 ac_save_LIBS
="$LIBS"
11127 LIBS
="-l$THREADS_LINK $LIBS"
11128 cat > conftest.
$ac_ext <<EOF
11129 #line 11130 "configure"
11130 #include "confdefs.h"
11131 /* Override any gcc2 internal prototype to avoid an error. */
11132 /* We use char because int might match the return type of a gcc2
11133 builtin and then its argument prototype would still apply. */
11134 char sched_yield();
11140 if { (eval echo configure
:11141: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11142 eval "ac_cv_lib_$ac_lib_var=yes"
11144 echo "configure: failed program was:" >&5
11145 cat conftest.
$ac_ext >&5
11147 eval "ac_cv_lib_$ac_lib_var=no"
11150 LIBS
="$ac_save_LIBS"
11153 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11154 echo "$ac_t""yes" 1>&6
11155 cat >> confdefs.h
<<\EOF
11156 #define HAVE_SCHED_YIELD 1
11160 echo "$ac_t""no" 1>&6
11161 echo $ac_n "checking for sched_yield in -l"posix4
"""... $ac_c" 1>&6
11162 echo "configure:11163: checking for sched_yield in -l"posix4
"" >&5
11163 ac_lib_var
=`echo "posix4"'_'sched_yield | sed 'y%./+-%__p_%'`
11164 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11165 echo $ac_n "(cached) $ac_c" 1>&6
11167 ac_save_LIBS
="$LIBS"
11168 LIBS
="-l"posix4
" $LIBS"
11169 cat > conftest.
$ac_ext <<EOF
11170 #line 11171 "configure"
11171 #include "confdefs.h"
11172 /* Override any gcc2 internal prototype to avoid an error. */
11173 /* We use char because int might match the return type of a gcc2
11174 builtin and then its argument prototype would still apply. */
11175 char sched_yield();
11181 if { (eval echo configure
:11182: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11183 eval "ac_cv_lib_$ac_lib_var=yes"
11185 echo "configure: failed program was:" >&5
11186 cat conftest.
$ac_ext >&5
11188 eval "ac_cv_lib_$ac_lib_var=no"
11191 LIBS
="$ac_save_LIBS"
11194 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11195 echo "$ac_t""yes" 1>&6
11196 cat >> confdefs.h
<<\EOF
11197 #define HAVE_SCHED_YIELD 1
11199 POSIX4_LINK
="-lposix4"
11201 echo "$ac_t""no" 1>&6
11202 echo "configure: warning: wxThread::Yield will not work properly" 1>&2
11210 echo $ac_n "checking for pthread_attr_getschedpolicy in -l$THREADS_LINK""... $ac_c" 1>&6
11211 echo "configure:11212: checking for pthread_attr_getschedpolicy in -l$THREADS_LINK" >&5
11212 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
11213 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11214 echo $ac_n "(cached) $ac_c" 1>&6
11216 ac_save_LIBS
="$LIBS"
11217 LIBS
="-l$THREADS_LINK $LIBS"
11218 cat > conftest.
$ac_ext <<EOF
11219 #line 11220 "configure"
11220 #include "confdefs.h"
11221 /* Override any gcc2 internal prototype to avoid an error. */
11222 /* We use char because int might match the return type of a gcc2
11223 builtin and then its argument prototype would still apply. */
11224 char pthread_attr_getschedpolicy();
11227 pthread_attr_getschedpolicy()
11230 if { (eval echo configure
:11231: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11232 eval "ac_cv_lib_$ac_lib_var=yes"
11234 echo "configure: failed program was:" >&5
11235 cat conftest.
$ac_ext >&5
11237 eval "ac_cv_lib_$ac_lib_var=no"
11240 LIBS
="$ac_save_LIBS"
11243 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11244 echo "$ac_t""yes" 1>&6
11245 cat >> confdefs.h
<<\EOF
11246 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
11250 echo "$ac_t""no" 1>&6
11251 echo $ac_n "checking for pthread_attr_getschedpolicy in -l"posix4
"""... $ac_c" 1>&6
11252 echo "configure:11253: checking for pthread_attr_getschedpolicy in -l"posix4
"" >&5
11253 ac_lib_var
=`echo "posix4"'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
11254 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11255 echo $ac_n "(cached) $ac_c" 1>&6
11257 ac_save_LIBS
="$LIBS"
11258 LIBS
="-l"posix4
" $LIBS"
11259 cat > conftest.
$ac_ext <<EOF
11260 #line 11261 "configure"
11261 #include "confdefs.h"
11262 /* Override any gcc2 internal prototype to avoid an error. */
11263 /* We use char because int might match the return type of a gcc2
11264 builtin and then its argument prototype would still apply. */
11265 char pthread_attr_getschedpolicy();
11268 pthread_attr_getschedpolicy()
11271 if { (eval echo configure
:11272: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11273 eval "ac_cv_lib_$ac_lib_var=yes"
11275 echo "configure: failed program was:" >&5
11276 cat conftest.
$ac_ext >&5
11278 eval "ac_cv_lib_$ac_lib_var=no"
11281 LIBS
="$ac_save_LIBS"
11284 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11285 echo "$ac_t""yes" 1>&6
11286 cat >> confdefs.h
<<\EOF
11287 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
11289 POSIX4_LINK
="-lposix4"
11291 echo "$ac_t""no" 1>&6
11292 echo "configure: warning: Setting thread priority will not work" 1>&2
11300 echo $ac_n "checking for pthread_cancel in -l$THREADS_LINK""... $ac_c" 1>&6
11301 echo "configure:11302: checking for pthread_cancel in -l$THREADS_LINK" >&5
11302 ac_lib_var
=`echo $THREADS_LINK'_'pthread_cancel | sed 'y%./+-%__p_%'`
11303 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11304 echo $ac_n "(cached) $ac_c" 1>&6
11306 ac_save_LIBS
="$LIBS"
11307 LIBS
="-l$THREADS_LINK $LIBS"
11308 cat > conftest.
$ac_ext <<EOF
11309 #line 11310 "configure"
11310 #include "confdefs.h"
11311 /* Override any gcc2 internal prototype to avoid an error. */
11312 /* We use char because int might match the return type of a gcc2
11313 builtin and then its argument prototype would still apply. */
11314 char pthread_cancel();
11320 if { (eval echo configure
:11321: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11322 eval "ac_cv_lib_$ac_lib_var=yes"
11324 echo "configure: failed program was:" >&5
11325 cat conftest.
$ac_ext >&5
11327 eval "ac_cv_lib_$ac_lib_var=no"
11330 LIBS
="$ac_save_LIBS"
11333 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11334 echo "$ac_t""yes" 1>&6
11335 cat >> confdefs.h
<<\EOF
11336 #define HAVE_PTHREAD_CANCEL 1
11340 echo "$ac_t""no" 1>&6
11341 echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
11345 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
11346 echo "configure:11347: checking for pthread_cleanup_push/pop" >&5
11347 if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
11348 echo $ac_n "(cached) $ac_c" 1>&6
11351 cat > conftest.
$ac_ext <<EOF
11352 #line 11353 "configure"
11353 #include "confdefs.h"
11354 #include <pthread.h>
11357 pthread_cleanup_push(NULL, NULL);
11358 pthread_cleanup_pop(0);
11362 if { (eval echo configure
:11363: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11365 wx_cv_func_pthread_cleanup_push
=yes
11366 cat >> confdefs.h
<<\EOF
11367 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
11372 echo "configure: failed program was:" >&5
11373 cat conftest.
$ac_ext >&5
11376 wx_cv_func_pthread_cleanup_push
=no
11383 echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
11385 THREADS_LINK
="-l$THREADS_LINK"
11390 if test "$wxUSE_THREADS" = "yes"; then
11391 cat >> confdefs.h
<<\EOF
11392 #define wxUSE_THREADS 1
11396 CFLAGS
="${CFLAGS} -D_REENTRANT"
11397 CXXFLAGS
="${CXXFLAGS} -D_REENTRANT"
11399 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
11401 if test "$ac_cv_func_strtok_r" = "yes"; then
11402 echo $ac_n "checking if -D_REENTRANT is needed""... $ac_c" 1>&6
11403 echo "configure:11404: checking if -D_REENTRANT is needed" >&5
11404 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
11405 CFLAGS
="${CFLAGS} -D_REENTRANT"
11406 CXXFLAGS
="${CXXFLAGS} -D_REENTRANT"
11407 echo "$ac_t""yes" 1>&6
11409 echo "$ac_t""no" 1>&6
11414 if test "$WXGTK13" = 1 ; then
11415 cat >> confdefs.h
<<EOF
11416 #define __WXGTK13__ $WXGTK13
11422 if test "$WXGTK12" = 1 ; then
11423 cat >> confdefs.h
<<EOF
11424 #define __WXGTK12__ $WXGTK12
11429 if test "$WXWINE" = 1 ; then
11430 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WXWINE__"
11433 if test "$wxUSE_CYGWIN" = 1 ; then
11434 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WIN95__"
11439 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
11444 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
11445 wxUSE_DEBUG_INFO
=yes
11449 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
11450 cat >> confdefs.h
<<\EOF
11454 WXDEBUG_DEFINE
="-D__WXDEBUG__"
11456 if test "$wxUSE_GTK" = 1 ; then
11457 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
11461 if test "$wxUSE_MEM_TRACING" = "yes" ; then
11462 cat >> confdefs.h
<<\EOF
11463 #define wxUSE_MEMORY_TRACING 1
11466 cat >> confdefs.h
<<\EOF
11467 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
11470 cat >> confdefs.h
<<\EOF
11471 #define wxUSE_DEBUG_NEW_ALWAYS 1
11474 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
11477 if test "$wxUSE_DMALLOC" = "yes" ; then
11478 DMALLOC_LINK
="-ldmalloc"
11482 if test "$wxUSE_PROFILE" = "yes" ; then
11488 if test "$GCC" = yes ; then
11489 if test "$wxUSE_NO_RTTI" = "yes" ; then
11490 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fno-rtti"
11492 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
11493 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fno-exceptions"
11495 if test "$wxUSE_PERMISSIVE" = "yes" ; then
11496 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
11498 if test "$wxUSE_NO_DEPS" = "no" ; then
11499 DEP_INFO_FLAGS
="-MMD"
11504 CXXFLAGS
=`echo "${CXXFLAGS}" | sed "s/\-O.//g" `
11505 CFLAGS
=`echo "${CFLAGS}" | sed "s/\-O.//g" `
11506 if test "$wxUSE_OPTIMISE" = "no" ; then
11509 if test "$GCC" = yes ; then
11512 i586
-*-*|i686
-*-* )
11513 OPTIMISE
="${OPTIMISE} "
11523 if test "$wxUSE_ZLIB" = "yes" -o "$wxUSE_ZLIB" = "sys" ; then
11524 cat >> confdefs.h
<<\EOF
11525 #define wxUSE_ZLIB 1
11528 if test "$wxUSE_ZLIB" = "yes" ; then
11529 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
11532 ac_safe
=`echo "zlib.h" | sed 'y%./+-%__p_%'`
11533 echo $ac_n "checking for zlib.h""... $ac_c" 1>&6
11534 echo "configure:11535: checking for zlib.h" >&5
11535 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11536 echo $ac_n "(cached) $ac_c" 1>&6
11538 cat > conftest.
$ac_ext <<EOF
11539 #line 11540 "configure"
11540 #include "confdefs.h"
11543 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11544 { (eval echo configure
:11545: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11545 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11546 if test -z "$ac_err"; then
11548 eval "ac_cv_header_$ac_safe=yes"
11551 echo "configure: failed program was:" >&5
11552 cat conftest.
$ac_ext >&5
11554 eval "ac_cv_header_$ac_safe=no"
11558 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11559 echo "$ac_t""yes" 1>&6
11560 echo $ac_n "checking for deflate in -lz""... $ac_c" 1>&6
11561 echo "configure:11562: checking for deflate in -lz" >&5
11562 ac_lib_var
=`echo z'_'deflate | sed 'y%./+-%__p_%'`
11563 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11564 echo $ac_n "(cached) $ac_c" 1>&6
11566 ac_save_LIBS
="$LIBS"
11568 cat > conftest.
$ac_ext <<EOF
11569 #line 11570 "configure"
11570 #include "confdefs.h"
11571 /* Override any gcc2 internal prototype to avoid an error. */
11572 /* We use char because int might match the return type of a gcc2
11573 builtin and then its argument prototype would still apply. */
11580 if { (eval echo configure
:11581: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11582 eval "ac_cv_lib_$ac_lib_var=yes"
11584 echo "configure: failed program was:" >&5
11585 cat conftest.
$ac_ext >&5
11587 eval "ac_cv_lib_$ac_lib_var=no"
11590 LIBS
="$ac_save_LIBS"
11593 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11594 echo "$ac_t""yes" 1>&6
11597 echo "$ac_t""no" 1>&6
11601 echo "$ac_t""no" 1>&6
11604 if test "x$ZLIB_LINK" = "x" ; then
11605 { echo "configure: error: system zlib compression library not found! Use --with-zlib=yes to use built-in zlib" 1>&2; exit 1; }
11611 if test "$wxUSE_LIBPNG" = "yes" -o "$wxUSE_LIBPNG" = "sys" ; then
11612 cat >> confdefs.h
<<\EOF
11613 #define wxUSE_LIBPNG 1
11616 if test "$wxUSE_ZLIB" != "sys" ; then
11617 echo "configure: warning: --with-libpng=sys doesn't work without --with-zlib=sys, will compile the built-in libpng instead" 1>&2
11621 if test "$wxUSE_LIBPNG" = "yes" ; then
11622 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
11625 ac_safe
=`echo "png.h" | sed 'y%./+-%__p_%'`
11626 echo $ac_n "checking for png.h""... $ac_c" 1>&6
11627 echo "configure:11628: checking for png.h" >&5
11628 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11629 echo $ac_n "(cached) $ac_c" 1>&6
11631 cat > conftest.
$ac_ext <<EOF
11632 #line 11633 "configure"
11633 #include "confdefs.h"
11636 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11637 { (eval echo configure
:11638: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11638 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11639 if test -z "$ac_err"; then
11641 eval "ac_cv_header_$ac_safe=yes"
11644 echo "configure: failed program was:" >&5
11645 cat conftest.
$ac_ext >&5
11647 eval "ac_cv_header_$ac_safe=no"
11651 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11652 echo "$ac_t""yes" 1>&6
11653 echo $ac_n "checking for png_check_sig in -lpng""... $ac_c" 1>&6
11654 echo "configure:11655: checking for png_check_sig in -lpng" >&5
11655 ac_lib_var
=`echo png'_'png_check_sig | sed 'y%./+-%__p_%'`
11656 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11657 echo $ac_n "(cached) $ac_c" 1>&6
11659 ac_save_LIBS
="$LIBS"
11660 LIBS
="-lpng -lz -lm $LIBS"
11661 cat > conftest.
$ac_ext <<EOF
11662 #line 11663 "configure"
11663 #include "confdefs.h"
11664 /* Override any gcc2 internal prototype to avoid an error. */
11665 /* We use char because int might match the return type of a gcc2
11666 builtin and then its argument prototype would still apply. */
11667 char png_check_sig();
11673 if { (eval echo configure
:11674: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11675 eval "ac_cv_lib_$ac_lib_var=yes"
11677 echo "configure: failed program was:" >&5
11678 cat conftest.
$ac_ext >&5
11680 eval "ac_cv_lib_$ac_lib_var=no"
11683 LIBS
="$ac_save_LIBS"
11686 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11687 echo "$ac_t""yes" 1>&6
11690 echo "$ac_t""no" 1>&6
11695 echo "$ac_t""no" 1>&6
11698 if test "x$PNG_LINK" = "x" ; then
11699 { echo "configure: error: system png library not found! Use --with-png=yes to use built-in libpng" 1>&2; exit 1; }
11703 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
11707 if test "$wxUSE_LIBJPEG" = "yes" -o "$wxUSE_LIBJPEG" = "sys" ; then
11708 cat >> confdefs.h
<<\EOF
11709 #define wxUSE_LIBJPEG 1
11712 if test "$wxUSE_LIBJPEG" = "yes" ; then
11713 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
11716 ac_safe
=`echo "jpeglib.h" | sed 'y%./+-%__p_%'`
11717 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6
11718 echo "configure:11719: checking for jpeglib.h" >&5
11719 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11720 echo $ac_n "(cached) $ac_c" 1>&6
11722 cat > conftest.
$ac_ext <<EOF
11723 #line 11724 "configure"
11724 #include "confdefs.h"
11725 #include <jpeglib.h>
11727 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11728 { (eval echo configure
:11729: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11729 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11730 if test -z "$ac_err"; then
11732 eval "ac_cv_header_$ac_safe=yes"
11735 echo "configure: failed program was:" >&5
11736 cat conftest.
$ac_ext >&5
11738 eval "ac_cv_header_$ac_safe=no"
11742 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11743 echo "$ac_t""yes" 1>&6
11744 echo $ac_n "checking for jpeg_read_header in -ljpeg""... $ac_c" 1>&6
11745 echo "configure:11746: checking for jpeg_read_header in -ljpeg" >&5
11746 ac_lib_var
=`echo jpeg'_'jpeg_read_header | sed 'y%./+-%__p_%'`
11747 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11748 echo $ac_n "(cached) $ac_c" 1>&6
11750 ac_save_LIBS
="$LIBS"
11751 LIBS
="-ljpeg $LIBS"
11752 cat > conftest.
$ac_ext <<EOF
11753 #line 11754 "configure"
11754 #include "confdefs.h"
11755 /* Override any gcc2 internal prototype to avoid an error. */
11756 /* We use char because int might match the return type of a gcc2
11757 builtin and then its argument prototype would still apply. */
11758 char jpeg_read_header();
11764 if { (eval echo configure
:11765: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11766 eval "ac_cv_lib_$ac_lib_var=yes"
11768 echo "configure: failed program was:" >&5
11769 cat conftest.
$ac_ext >&5
11771 eval "ac_cv_lib_$ac_lib_var=no"
11774 LIBS
="$ac_save_LIBS"
11777 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11778 echo "$ac_t""yes" 1>&6
11781 echo "$ac_t""no" 1>&6
11785 echo "$ac_t""no" 1>&6
11788 if test "x$JPEG_LINK" = "x" ; then
11789 { echo "configure: error: system jpeg library not found! Use --with-jpeg=yes to use built-in one" 1>&2; exit 1; }
11795 if test "$wxUSE_LIBTIFF" = "yes" ; then
11796 cat >> confdefs.h
<<\EOF
11797 #define wxUSE_LIBTIFF 1
11800 TIFF_INCLUDE
="-I\${top_srcdir}/src/tiff"
11803 if test "$wxUSE_OPENGL" = "yes"; then
11804 ac_safe
=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
11805 echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
11806 echo "configure:11807: checking for GL/gl.h" >&5
11807 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11808 echo $ac_n "(cached) $ac_c" 1>&6
11810 cat > conftest.
$ac_ext <<EOF
11811 #line 11812 "configure"
11812 #include "confdefs.h"
11815 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11816 { (eval echo configure
:11817: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11817 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11818 if test -z "$ac_err"; then
11820 eval "ac_cv_header_$ac_safe=yes"
11823 echo "configure: failed program was:" >&5
11824 cat conftest.
$ac_ext >&5
11826 eval "ac_cv_header_$ac_safe=no"
11830 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11831 echo "$ac_t""yes" 1>&6
11833 cat >> confdefs.h
<<\EOF
11834 #define wxUSE_OPENGL 1
11837 cat >> confdefs.h
<<\EOF
11838 #define wxUSE_GLCANVAS 1
11841 echo $ac_n "checking for glFlush in -lGL""... $ac_c" 1>&6
11842 echo "configure:11843: checking for glFlush in -lGL" >&5
11843 ac_lib_var
=`echo GL'_'glFlush | sed 'y%./+-%__p_%'`
11844 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11845 echo $ac_n "(cached) $ac_c" 1>&6
11847 ac_save_LIBS
="$LIBS"
11849 cat > conftest.
$ac_ext <<EOF
11850 #line 11851 "configure"
11851 #include "confdefs.h"
11852 /* Override any gcc2 internal prototype to avoid an error. */
11853 /* We use char because int might match the return type of a gcc2
11854 builtin and then its argument prototype would still apply. */
11861 if { (eval echo configure
:11862: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11863 eval "ac_cv_lib_$ac_lib_var=yes"
11865 echo "configure: failed program was:" >&5
11866 cat conftest.
$ac_ext >&5
11868 eval "ac_cv_lib_$ac_lib_var=no"
11871 LIBS
="$ac_save_LIBS"
11874 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11875 echo "$ac_t""yes" 1>&6
11880 echo "$ac_t""no" 1>&6
11882 echo $ac_n "checking for glFlush in -lMesaGL""... $ac_c" 1>&6
11883 echo "configure:11884: checking for glFlush in -lMesaGL" >&5
11884 ac_lib_var
=`echo MesaGL'_'glFlush | sed 'y%./+-%__p_%'`
11885 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11886 echo $ac_n "(cached) $ac_c" 1>&6
11888 ac_save_LIBS
="$LIBS"
11889 LIBS
="-lMesaGL $LIBS"
11890 cat > conftest.
$ac_ext <<EOF
11891 #line 11892 "configure"
11892 #include "confdefs.h"
11893 /* Override any gcc2 internal prototype to avoid an error. */
11894 /* We use char because int might match the return type of a gcc2
11895 builtin and then its argument prototype would still apply. */
11902 if { (eval echo configure
:11903: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11904 eval "ac_cv_lib_$ac_lib_var=yes"
11906 echo "configure: failed program was:" >&5
11907 cat conftest.
$ac_ext >&5
11909 eval "ac_cv_lib_$ac_lib_var=no"
11912 LIBS
="$ac_save_LIBS"
11915 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11916 echo "$ac_t""yes" 1>&6
11918 OPENGL_LINK
="-lMesaGL"
11921 echo "$ac_t""no" 1>&6
11929 echo "$ac_t""no" 1>&6
11936 if test "$wxUSE_GUI" = "yes"; then
11937 cat >> confdefs.h
<<\EOF
11938 #define wxUSE_GUI 1
11943 cat >> confdefs.h
<<\EOF
11944 #define wxUSE_NOGUI 1
11950 if test "$wxUSE_UNIX" = "yes"; then
11951 cat >> confdefs.h
<<\EOF
11952 #define wxUSE_UNIX 1
11958 if test "$wxUSE_APPLE_IEEE" = "yes"; then
11959 cat >> confdefs.h
<<\EOF
11960 #define wxUSE_APPLE_IEEE 1
11965 if test "$wxUSE_WAVE" = "yes"; then
11966 cat >> confdefs.h
<<\EOF
11967 #define wxUSE_WAVE 1
11972 if test "$wxUSE_FILE" = "yes"; then
11973 cat >> confdefs.h
<<\EOF
11974 #define wxUSE_FILE 1
11979 if test "$wxUSE_FILESYSTEM" = "yes"; then
11980 cat >> confdefs.h
<<\EOF
11981 #define wxUSE_FILESYSTEM 1
11986 if test "$wxUSE_FS_INET" = "yes"; then
11987 cat >> confdefs.h
<<\EOF
11988 #define wxUSE_FS_INET 1
11993 if test "$wxUSE_FS_ZIP" = "yes"; then
11994 cat >> confdefs.h
<<\EOF
11995 #define wxUSE_FS_ZIP 1
12000 if test "$wxUSE_ZIPSTREAM" = "yes"; then
12001 cat >> confdefs.h
<<\EOF
12002 #define wxUSE_ZIPSTREAM 1
12007 if test "$wxUSE_BUSYINFO" = "yes"; then
12008 cat >> confdefs.h
<<\EOF
12009 #define wxUSE_BUSYINFO 1
12014 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
12015 cat >> confdefs.h
<<\EOF
12016 #define wxUSE_STD_IOSTREAM 1
12021 if test "$wxUSE_TEXTFILE" = "yes"; then
12022 if test "$wxUSE_FILE" != "yes"; then
12023 echo "configure: warning: wxTextFile requires wxFile and it won't be compiled without it" 1>&2
12025 cat >> confdefs.h
<<\EOF
12026 #define wxUSE_TEXTFILE 1
12032 if test "$wxUSE_CONFIG" = "yes" ; then
12033 if test "$wxUSE_TEXTFILE" != "yes"; then
12034 echo "configure: warning: wxConfig requires wxTextFile and it won't be compiled without it" 1>&2
12036 cat >> confdefs.h
<<\EOF
12037 #define wxUSE_CONFIG 1
12040 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
12044 if test "$wxUSE_INTL" = "yes" ; then
12045 if test "$wxUSE_FILE" != "yes"; then
12046 echo "configure: warning: I18n code requires wxFile and it won't be compiled without it" 1>&2
12048 cat >> confdefs.h
<<\EOF
12049 #define wxUSE_INTL 1
12052 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
12056 if test "$wxUSE_LOG" = "yes"; then
12057 cat >> confdefs.h
<<\EOF
12058 #define wxUSE_LOG 1
12063 if test "$wxUSE_LONGLONG" = "yes"; then
12064 cat >> confdefs.h
<<\EOF
12065 #define wxUSE_LONGLONG 1
12070 if test "$wxUSE_PLOT" = "yes"; then
12071 cat >> confdefs.h
<<\EOF
12072 #define wxUSE_PLOT 1
12077 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
12078 cat >> confdefs.h
<<\EOF
12079 #define wxUSE_DIALUP_MANAGER 1
12082 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
12085 if test "$wxUSE_STREAMS" = "yes" ; then
12086 cat >> confdefs.h
<<\EOF
12087 #define wxUSE_STREAMS 1
12093 if test "$wxUSE_TIMEDATE" = "yes"; then
12094 for ac_func
in strptime
12096 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12097 echo "configure:12098: checking for $ac_func" >&5
12098 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12099 echo $ac_n "(cached) $ac_c" 1>&6
12101 cat > conftest.
$ac_ext <<EOF
12102 #line 12103 "configure"
12103 #include "confdefs.h"
12104 /* System header to define __stub macros and hopefully few prototypes,
12105 which can conflict with char $ac_func(); below. */
12106 #include <assert.h>
12107 /* Override any gcc2 internal prototype to avoid an error. */
12108 /* We use char because int might match the return type of a gcc2
12109 builtin and then its argument prototype would still apply. */
12114 /* The GNU C library defines this for functions which it implements
12115 to always fail with ENOSYS. Some functions are actually named
12116 something starting with __ and the normal name is an alias. */
12117 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12125 if { (eval echo configure
:12126: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12127 eval "ac_cv_func_$ac_func=yes"
12129 echo "configure: failed program was:" >&5
12130 cat conftest.
$ac_ext >&5
12132 eval "ac_cv_func_$ac_func=no"
12137 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12138 echo "$ac_t""yes" 1>&6
12139 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12140 cat >> confdefs.h
<<EOF
12141 #define $ac_tr_func 1
12145 echo "$ac_t""no" 1>&6
12150 echo $ac_n "checking for timezone variable in <time.h>""... $ac_c" 1>&6
12151 echo "configure:12152: checking for timezone variable in <time.h>" >&5
12152 if eval "test \"`echo '$''{'wx_cv_var_timezone'+set}'`\" = set"; then
12153 echo $ac_n "(cached) $ac_c" 1>&6
12156 cat > conftest.
$ac_ext <<EOF
12157 #line 12158 "configure"
12158 #include "confdefs.h"
12169 if { (eval echo configure
:12170: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12172 wx_cv_var_timezone
=__timezone
12175 echo "configure: failed program was:" >&5
12176 cat conftest.
$ac_ext >&5
12179 cat > conftest.
$ac_ext <<EOF
12180 #line 12181 "configure"
12181 #include "confdefs.h"
12192 if { (eval echo configure
:12193: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12195 wx_cv_var_timezone
=_timezone
12198 echo "configure: failed program was:" >&5
12199 cat conftest.
$ac_ext >&5
12202 cat > conftest.
$ac_ext <<EOF
12203 #line 12204 "configure"
12204 #include "confdefs.h"
12215 if { (eval echo configure
:12216: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12218 wx_cv_var_timezone
=timezone
12221 echo "configure: failed program was:" >&5
12222 cat conftest.
$ac_ext >&5
12224 { echo "configure: error: no timezone variable" 1>&2; exit 1; }
12240 echo "$ac_t""$wx_cv_var_timezone" 1>&6
12242 cat >> confdefs.h
<<EOF
12243 #define WX_TIMEZONE $wx_cv_var_timezone
12247 for ac_func
in localtime
12249 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12250 echo "configure:12251: checking for $ac_func" >&5
12251 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12252 echo $ac_n "(cached) $ac_c" 1>&6
12254 cat > conftest.
$ac_ext <<EOF
12255 #line 12256 "configure"
12256 #include "confdefs.h"
12257 /* System header to define __stub macros and hopefully few prototypes,
12258 which can conflict with char $ac_func(); below. */
12259 #include <assert.h>
12260 /* Override any gcc2 internal prototype to avoid an error. */
12261 /* We use char because int might match the return type of a gcc2
12262 builtin and then its argument prototype would still apply. */
12267 /* The GNU C library defines this for functions which it implements
12268 to always fail with ENOSYS. Some functions are actually named
12269 something starting with __ and the normal name is an alias. */
12270 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12278 if { (eval echo configure
:12279: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12280 eval "ac_cv_func_$ac_func=yes"
12282 echo "configure: failed program was:" >&5
12283 cat conftest.
$ac_ext >&5
12285 eval "ac_cv_func_$ac_func=no"
12290 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12291 echo "$ac_t""yes" 1>&6
12292 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12293 cat >> confdefs.h
<<EOF
12294 #define $ac_tr_func 1
12298 echo "$ac_t""no" 1>&6
12303 if test "$ac_cv_func_localtime" = "yes"; then
12304 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
12305 echo "configure:12306: checking for tm_gmtoff in struct tm" >&5
12306 if eval "test \"`echo '$''{'wx_cv_struct_tm_has_gmtoff'+set}'`\" = set"; then
12307 echo $ac_n "(cached) $ac_c" 1>&6
12310 cat > conftest.
$ac_ext <<EOF
12311 #line 12312 "configure"
12312 #include "confdefs.h"
12323 if { (eval echo configure
:12324: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12326 wx_cv_struct_tm_has_gmtoff
=yes
12327 cat >> confdefs.h
<<\EOF
12328 #define WX_GMTOFF_IN_TM 1
12333 echo "configure: failed program was:" >&5
12334 cat conftest.
$ac_ext >&5
12336 wx_cv_struct_tm_has_gmtoff
=no
12343 echo "$ac_t""$wx_cv_struct_tm_has_gmtoff" 1>&6
12346 for ac_func
in gettimeofday ftime
12348 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12349 echo "configure:12350: checking for $ac_func" >&5
12350 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12351 echo $ac_n "(cached) $ac_c" 1>&6
12353 cat > conftest.
$ac_ext <<EOF
12354 #line 12355 "configure"
12355 #include "confdefs.h"
12356 /* System header to define __stub macros and hopefully few prototypes,
12357 which can conflict with char $ac_func(); below. */
12358 #include <assert.h>
12359 /* Override any gcc2 internal prototype to avoid an error. */
12360 /* We use char because int might match the return type of a gcc2
12361 builtin and then its argument prototype would still apply. */
12366 /* The GNU C library defines this for functions which it implements
12367 to always fail with ENOSYS. Some functions are actually named
12368 something starting with __ and the normal name is an alias. */
12369 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12377 if { (eval echo configure
:12378: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12379 eval "ac_cv_func_$ac_func=yes"
12381 echo "configure: failed program was:" >&5
12382 cat conftest.
$ac_ext >&5
12384 eval "ac_cv_func_$ac_func=no"
12389 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12390 echo "$ac_t""yes" 1>&6
12391 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12392 cat >> confdefs.h
<<EOF
12393 #define $ac_tr_func 1
12397 echo "$ac_t""no" 1>&6
12402 if test "$ac_cv_func_gettimeofday" = "yes"; then
12403 echo $ac_n "checking whether gettimeofday takes two arguments""... $ac_c" 1>&6
12404 echo "configure:12405: checking whether gettimeofday takes two arguments" >&5
12405 if eval "test \"`echo '$''{'wx_cv_func_gettimeofday_has_2_args'+set}'`\" = set"; then
12406 echo $ac_n "(cached) $ac_c" 1>&6
12411 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12412 ac_cpp
='$CXXCPP $CPPFLAGS'
12413 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12414 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12415 cross_compiling
=$ac_cv_prog_cxx_cross
12418 cat > conftest.
$ac_ext <<EOF
12419 #line 12420 "configure"
12420 #include "confdefs.h"
12422 #include <sys/time.h>
12423 #include <unistd.h>
12428 struct timezone tz;
12429 gettimeofday(&tv, &tz);
12433 if { (eval echo configure
:12434: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12435 wx_cv_func_gettimeofday_has_2_args
=yes
12437 echo "configure: failed program was:" >&5
12438 cat conftest.
$ac_ext >&5
12440 cat > conftest.
$ac_ext <<EOF
12441 #line 12442 "configure"
12442 #include "confdefs.h"
12444 #include <sys/time.h>
12445 #include <unistd.h>
12454 if { (eval echo configure
:12455: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12456 wx_cv_func_gettimeofday_has_2_args
=no
12458 echo "configure: failed program was:" >&5
12459 cat conftest.
$ac_ext >&5
12461 wx_cv_func_gettimeofday_has_2_args
=unknown
12469 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12470 ac_cpp
='$CPP $CPPFLAGS'
12471 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12472 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12473 cross_compiling
=$ac_cv_prog_cc_cross
12478 echo "$ac_t""$wx_cv_func_gettimeofday_has_2_args" 1>&6
12480 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
12481 cat >> confdefs.h
<<\EOF
12482 #define WX_GETTIMEOFDAY_NO_TZ 1
12488 cat >> confdefs.h
<<\EOF
12489 #define wxUSE_TIMEDATE 1
12492 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
12496 if test "$TOOLKIT" != "MSW"; then
12498 if test "$wxUSE_SOCKETS" = "yes"; then
12499 echo $ac_n "checking for socket""... $ac_c" 1>&6
12500 echo "configure:12501: checking for socket" >&5
12501 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
12502 echo $ac_n "(cached) $ac_c" 1>&6
12504 cat > conftest.
$ac_ext <<EOF
12505 #line 12506 "configure"
12506 #include "confdefs.h"
12507 /* System header to define __stub macros and hopefully few prototypes,
12508 which can conflict with char socket(); below. */
12509 #include <assert.h>
12510 /* Override any gcc2 internal prototype to avoid an error. */
12511 /* We use char because int might match the return type of a gcc2
12512 builtin and then its argument prototype would still apply. */
12517 /* The GNU C library defines this for functions which it implements
12518 to always fail with ENOSYS. Some functions are actually named
12519 something starting with __ and the normal name is an alias. */
12520 #if defined (__stub_socket) || defined (__stub___socket)
12528 if { (eval echo configure
:12529: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12530 eval "ac_cv_func_socket=yes"
12532 echo "configure: failed program was:" >&5
12533 cat conftest.
$ac_ext >&5
12535 eval "ac_cv_func_socket=no"
12540 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
12541 echo "$ac_t""yes" 1>&6
12544 echo "$ac_t""no" 1>&6
12545 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
12546 echo "configure:12547: checking for socket in -lsocket" >&5
12547 ac_lib_var
=`echo socket'_'socket | sed 'y%./+-%__p_%'`
12548 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12549 echo $ac_n "(cached) $ac_c" 1>&6
12551 ac_save_LIBS
="$LIBS"
12552 LIBS
="-lsocket $LIBS"
12553 cat > conftest.
$ac_ext <<EOF
12554 #line 12555 "configure"
12555 #include "confdefs.h"
12556 /* Override any gcc2 internal prototype to avoid an error. */
12557 /* We use char because int might match the return type of a gcc2
12558 builtin and then its argument prototype would still apply. */
12565 if { (eval echo configure
:12566: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12567 eval "ac_cv_lib_$ac_lib_var=yes"
12569 echo "configure: failed program was:" >&5
12570 cat conftest.
$ac_ext >&5
12572 eval "ac_cv_lib_$ac_lib_var=no"
12575 LIBS
="$ac_save_LIBS"
12578 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12579 echo "$ac_t""yes" 1>&6
12580 INET_LINK
="$INET_LINK -lsocket"
12582 echo "$ac_t""no" 1>&6
12584 echo "configure: warning: socket library not found - sockets will be disabled" 1>&2
12597 if test "$wxUSE_SOCKETS" = "yes" ; then
12598 echo $ac_n "checking what is the type of the third argument of getsockname""... $ac_c" 1>&6
12599 echo "configure:12600: checking what is the type of the third argument of getsockname" >&5
12600 if eval "test \"`echo '$''{'wx_cv_type_getsockname3'+set}'`\" = set"; then
12601 echo $ac_n "(cached) $ac_c" 1>&6
12606 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12607 ac_cpp
='$CXXCPP $CPPFLAGS'
12608 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12609 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12610 cross_compiling
=$ac_cv_prog_cxx_cross
12613 cat > conftest.
$ac_ext <<EOF
12614 #line 12615 "configure"
12615 #include "confdefs.h"
12617 #include <sys/types.h>
12618 #include <sys/socket.h>
12623 getsockname(0, 0, &len);
12627 if { (eval echo configure
:12628: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12629 wx_cv_type_getsockname3
=socklen_t
12631 echo "configure: failed program was:" >&5
12632 cat conftest.
$ac_ext >&5
12634 cat > conftest.
$ac_ext <<EOF
12635 #line 12636 "configure"
12636 #include "confdefs.h"
12638 #include <sys/types.h>
12639 #include <sys/socket.h>
12644 getsockname(0, 0, &len);
12648 if { (eval echo configure
:12649: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12650 wx_cv_type_getsockname3
=size_t
12652 echo "configure: failed program was:" >&5
12653 cat conftest.
$ac_ext >&5
12655 cat > conftest.
$ac_ext <<EOF
12656 #line 12657 "configure"
12657 #include "confdefs.h"
12659 #include <sys/types.h>
12660 #include <sys/socket.h>
12665 getsockname(0, 0, &len);
12669 if { (eval echo configure
:12670: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12671 wx_cv_type_getsockname3
=int
12673 echo "configure: failed program was:" >&5
12674 cat conftest.
$ac_ext >&5
12676 wx_cv_type_getsockname3
=unknown
12688 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12689 ac_cpp
='$CPP $CPPFLAGS'
12690 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12691 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12692 cross_compiling
=$ac_cv_prog_cc_cross
12697 echo "$ac_t""$wx_cv_type_getsockname3" 1>&6
12699 if test "$wx_cv_type_getsockname3" = "unknown"; then
12701 echo "configure: warning: Couldn't find socklen_t synonym for this system" 1>&2
12703 cat >> confdefs.h
<<EOF
12704 #define SOCKLEN_T $wx_cv_type_getsockname3
12710 if test "$wxUSE_SOCKETS" = "yes" ; then
12711 cat >> confdefs.h
<<\EOF
12712 #define wxUSE_SOCKETS 1
12715 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
12716 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS protocol"
12720 if test "$TOOLKIT" != "MSW"; then
12722 if test "$wxUSE_JOYSTICK" = 1; then
12723 for ac_hdr
in linux
/joystick.h
12725 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12726 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12727 echo "configure:12728: checking for $ac_hdr" >&5
12728 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12729 echo $ac_n "(cached) $ac_c" 1>&6
12731 cat > conftest.
$ac_ext <<EOF
12732 #line 12733 "configure"
12733 #include "confdefs.h"
12736 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12737 { (eval echo configure
:12738: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12738 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12739 if test -z "$ac_err"; then
12741 eval "ac_cv_header_$ac_safe=yes"
12744 echo "configure: failed program was:" >&5
12745 cat conftest.
$ac_ext >&5
12747 eval "ac_cv_header_$ac_safe=no"
12751 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12752 echo "$ac_t""yes" 1>&6
12753 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12754 cat >> confdefs.h
<<EOF
12755 #define $ac_tr_hdr 1
12759 echo "$ac_t""no" 1>&6
12763 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
12765 echo "configure: warning: Joystick not supported yb this system" 1>&2
12771 if test "$wxUSE_JOYSTICK" = 1; then
12772 cat >> confdefs.h
<<\EOF
12773 #define wxUSE_JOYSTICK 1
12776 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
12780 if test "$TOOLKIT" != "MSW"; then
12784 if test "$wxUSE_DYNLIB_CLASS" = "yes"; then
12785 for ac_func
in dlopen
12787 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12788 echo "configure:12789: checking for $ac_func" >&5
12789 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12790 echo $ac_n "(cached) $ac_c" 1>&6
12792 cat > conftest.
$ac_ext <<EOF
12793 #line 12794 "configure"
12794 #include "confdefs.h"
12795 /* System header to define __stub macros and hopefully few prototypes,
12796 which can conflict with char $ac_func(); below. */
12797 #include <assert.h>
12798 /* Override any gcc2 internal prototype to avoid an error. */
12799 /* We use char because int might match the return type of a gcc2
12800 builtin and then its argument prototype would still apply. */
12805 /* The GNU C library defines this for functions which it implements
12806 to always fail with ENOSYS. Some functions are actually named
12807 something starting with __ and the normal name is an alias. */
12808 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12816 if { (eval echo configure
:12817: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12818 eval "ac_cv_func_$ac_func=yes"
12820 echo "configure: failed program was:" >&5
12821 cat conftest.
$ac_ext >&5
12823 eval "ac_cv_func_$ac_func=no"
12828 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12829 echo "$ac_t""yes" 1>&6
12830 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12831 cat >> confdefs.h
<<EOF
12832 #define $ac_tr_func 1
12835 cat >> confdefs.h
<<\EOF
12836 #define HAVE_DLOPEN 1
12842 echo "$ac_t""no" 1>&6
12843 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
12844 echo "configure:12845: checking for dlopen in -ldl" >&5
12845 ac_lib_var
=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
12846 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12847 echo $ac_n "(cached) $ac_c" 1>&6
12849 ac_save_LIBS
="$LIBS"
12851 cat > conftest.
$ac_ext <<EOF
12852 #line 12853 "configure"
12853 #include "confdefs.h"
12854 /* Override any gcc2 internal prototype to avoid an error. */
12855 /* We use char because int might match the return type of a gcc2
12856 builtin and then its argument prototype would still apply. */
12863 if { (eval echo configure
:12864: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12865 eval "ac_cv_lib_$ac_lib_var=yes"
12867 echo "configure: failed program was:" >&5
12868 cat conftest.
$ac_ext >&5
12870 eval "ac_cv_lib_$ac_lib_var=no"
12873 LIBS
="$ac_save_LIBS"
12876 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12877 echo "$ac_t""yes" 1>&6
12879 cat >> confdefs.h
<<\EOF
12880 #define HAVE_DLOPEN 1
12887 echo "$ac_t""no" 1>&6
12889 for ac_func
in shl_load
12891 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12892 echo "configure:12893: checking for $ac_func" >&5
12893 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12894 echo $ac_n "(cached) $ac_c" 1>&6
12896 cat > conftest.
$ac_ext <<EOF
12897 #line 12898 "configure"
12898 #include "confdefs.h"
12899 /* System header to define __stub macros and hopefully few prototypes,
12900 which can conflict with char $ac_func(); below. */
12901 #include <assert.h>
12902 /* Override any gcc2 internal prototype to avoid an error. */
12903 /* We use char because int might match the return type of a gcc2
12904 builtin and then its argument prototype would still apply. */
12909 /* The GNU C library defines this for functions which it implements
12910 to always fail with ENOSYS. Some functions are actually named
12911 something starting with __ and the normal name is an alias. */
12912 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12920 if { (eval echo configure
:12921: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12922 eval "ac_cv_func_$ac_func=yes"
12924 echo "configure: failed program was:" >&5
12925 cat conftest.
$ac_ext >&5
12927 eval "ac_cv_func_$ac_func=no"
12932 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12933 echo "$ac_t""yes" 1>&6
12934 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12935 cat >> confdefs.h
<<EOF
12936 #define $ac_tr_func 1
12939 cat >> confdefs.h
<<\EOF
12940 #define HAVE_SHL_LOAD 1
12946 echo "$ac_t""no" 1>&6
12958 if test "$HAVE_DL_FUNCS" = 0; then
12959 if test "$HAVE_SHL_FUNCS" = 0; then
12960 if test "$USE_UNIX" = 1; then
12961 echo "configure: warning: Missing dynamic loading support, several features will be disabled" 1>&2
12962 wxUSE_DYNLIB_CLASS
=no
12964 echo "configure: warning: Assuming wxLibrary class works on this platform" 1>&2
12972 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
12973 cat >> confdefs.h
<<\EOF
12974 #define wxUSE_DYNLIB_CLASS 1
12983 if test "$wxUSE_UNICODE" = "yes" ; then
12984 cat >> confdefs.h
<<\EOF
12985 #define wxUSE_UNICODE 1
12990 if test "$wxUSE_WCSRTOMBS" = "yes" ; then
12991 cat >> confdefs.h
<<\EOF
12992 #define wxUSE_WCSRTOMBS 1
12997 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
12998 cat >> confdefs.h
<<\EOF
12999 #define wxUSE_EXPERIMENTAL_PRINTF 1
13005 if test "$wxUSE_SERIAL" = "yes" ; then
13006 cat >> confdefs.h
<<\EOF
13007 #define wxUSE_SERIAL 1
13014 if test "$wxUSE_ODBC" = "yes" ; then
13015 cat >> confdefs.h
<<\EOF
13016 #define wxUSE_ODBC 1
13019 WXODBCFLAG
="-D_IODBC_"
13020 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
13021 IODBCOBJS
="\$(IODBC_OBJS)"
13027 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
13028 cat >> confdefs.h
<<\EOF
13029 #define wxUSE_POSTSCRIPT 1
13034 cat >> confdefs.h
<<\EOF
13035 #define wxUSE_AFM_FOR_POSTSCRIPT 1
13039 cat >> confdefs.h
<<\EOF
13040 #define wxUSE_NORMALIZED_PS_FONTS 1
13045 if test "$wxUSE_CONSTRAINTS" = "yes"; then
13046 cat >> confdefs.h
<<\EOF
13047 #define wxUSE_CONSTRAINTS 1
13050 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
13053 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
13054 cat >> confdefs.h
<<\EOF
13055 #define wxUSE_MDI_ARCHITECTURE 1
13058 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
13061 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
13062 cat >> confdefs.h
<<\EOF
13063 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
13066 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
13067 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
13068 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
13072 if test "$wxUSE_HELP" = "yes"; then
13073 cat >> confdefs.h
<<\EOF
13074 #define wxUSE_HELP 1
13077 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
13080 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
13081 if test "$wxUSE_CONSTRAINTS" != "yes"; then
13082 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
13084 cat >> confdefs.h
<<\EOF
13085 #define wxUSE_PRINTING_ARCHITECTURE 1
13089 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
13092 if test "$wxUSE_PROLOGIO" = "yes" ; then
13093 cat >> confdefs.h
<<\EOF
13094 #define wxUSE_PROLOGIO 1
13099 if test "$wxUSE_RESOURCES" = "yes" ; then
13100 if test "$wxUSE_PROLOGIO" = "yes" ; then
13101 cat >> confdefs.h
<<\EOF
13102 #define wxUSE_RESOURCES 1
13105 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS resource"
13107 echo "configure: warning: wxWindows ressource system requires PrologIO and can't be compiled without it." 1>&2
13111 if test "$wxUSE_X_RESOURCES" = "yes"; then
13112 cat >> confdefs.h
<<\EOF
13113 #define wxUSE_X_RESOURCES 1
13119 if test "$wxUSE_IPC" = "yes"; then
13120 cat >> confdefs.h
<<\EOF
13121 #define wxUSE_IPC 1
13126 if test "$wxUSE_CLIPBOARD" = "yes"; then
13127 cat >> confdefs.h
<<\EOF
13128 #define wxUSE_CLIPBOARD 1
13133 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
13134 if test "$wxUSE_GTK" = 1; then
13135 if test "$WXGTK12" != 1; then
13136 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2" 1>&2
13137 wxUSE_DRAG_AND_DROP
=no
13141 if test "$wxUSE_MOTIF" = 1; then
13142 echo "configure: warning: Drag and drop is not yet supported under Motif" 1>&2
13143 wxUSE_DRAG_AND_DROP
=no
13146 if test "$USE_WIN32" = 1; then
13147 for ac_hdr
in ole2.h
13149 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13150 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13151 echo "configure:13152: checking for $ac_hdr" >&5
13152 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13153 echo $ac_n "(cached) $ac_c" 1>&6
13155 cat > conftest.
$ac_ext <<EOF
13156 #line 13157 "configure"
13157 #include "confdefs.h"
13160 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13161 { (eval echo configure
:13162: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13162 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13163 if test -z "$ac_err"; then
13165 eval "ac_cv_header_$ac_safe=yes"
13168 echo "configure: failed program was:" >&5
13169 cat conftest.
$ac_ext >&5
13171 eval "ac_cv_header_$ac_safe=no"
13175 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13176 echo "$ac_t""yes" 1>&6
13177 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13178 cat >> confdefs.h
<<EOF
13179 #define $ac_tr_hdr 1
13183 echo "$ac_t""no" 1>&6
13187 if test "x$HAVE_OLE2_H" = x
; then
13188 echo "configure: warning: Drag and drop disabled because OLE headers not found" 1>&2
13189 wxUSE_DRAG_AND_DROP
=no
13193 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
13194 cat >> confdefs.h
<<\EOF
13195 #define wxUSE_DRAG_AND_DROP 1
13198 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
13203 if test "$wxUSE_SPLINES" = "yes" ; then
13204 cat >> confdefs.h
<<\EOF
13205 #define wxUSE_SPLINES 1
13211 if test "$wxUSE_ACCEL" = "yes"; then
13212 cat >> confdefs.h
<<\EOF
13213 #define wxUSE_ACCEL 1
13218 if test "$wxUSE_CARET" = "yes"; then
13219 cat >> confdefs.h
<<\EOF
13220 #define wxUSE_CARET 1
13223 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
13226 if test "$wxUSE_COMBOBOX" = "yes"; then
13227 cat >> confdefs.h
<<\EOF
13228 #define wxUSE_COMBOBOX 1
13233 if test "$wxUSE_CHOICE" = "yes"; then
13234 cat >> confdefs.h
<<\EOF
13235 #define wxUSE_CHOICE 1
13240 if test "$wxUSE_BMPBUTTON" = "yes"; then
13241 cat >> confdefs.h
<<\EOF
13242 #define wxUSE_BMPBUTTON 1
13247 if test "$wxUSE_CHECKBOX" = "yes"; then
13248 cat >> confdefs.h
<<\EOF
13249 #define wxUSE_CHECKBOX 1
13254 if test "$wxUSE_CHECKLST" = "yes"; then
13255 cat >> confdefs.h
<<\EOF
13256 #define wxUSE_CHECKLISTBOX 1
13259 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
13262 if test "$wxUSE_GAUGE" = "yes"; then
13263 cat >> confdefs.h
<<\EOF
13264 #define wxUSE_GAUGE 1
13269 if test "$wxUSE_NEW_GRID" = "yes"; then
13271 cat >> confdefs.h
<<\EOF
13272 #define wxUSE_NEW_GRID 1
13275 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS newgrid"
13278 if test "$wxUSE_GRID" = "yes"; then
13279 cat >> confdefs.h
<<\EOF
13280 #define wxUSE_GRID 1
13283 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
13286 if test "$wxUSE_IMAGLIST" = "yes"; then
13287 cat >> confdefs.h
<<\EOF
13288 #define wxUSE_IMAGLIST 1
13293 if test "$wxUSE_LISTBOX" = "yes"; then
13294 cat >> confdefs.h
<<\EOF
13295 #define wxUSE_LISTBOX 1
13300 if test "$wxUSE_LISTCTRL" = "yes"; then
13301 if test "$wxUSE_IMAGLIST" = "yes"; then
13302 cat >> confdefs.h
<<\EOF
13303 #define wxUSE_LISTCTRL 1
13306 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
13308 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
13312 if test "$wxUSE_NOTEBOOK" = "yes"; then
13313 cat >> confdefs.h
<<\EOF
13314 #define wxUSE_NOTEBOOK 1
13317 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
13320 if test "$wxUSE_RADIOBOX" = "yes"; then
13321 cat >> confdefs.h
<<\EOF
13322 #define wxUSE_RADIOBOX 1
13327 if test "$wxUSE_RADIOBTN" = "yes"; then
13328 cat >> confdefs.h
<<\EOF
13329 #define wxUSE_RADIOBTN 1
13334 if test "$wxUSE_SASH" = "yes"; then
13335 cat >> confdefs.h
<<\EOF
13336 #define wxUSE_SASH 1
13339 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
13342 if test "$wxUSE_SCROLLBAR" = "yes"; then
13343 cat >> confdefs.h
<<\EOF
13344 #define wxUSE_SCROLLBAR 1
13347 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
13350 if test "$wxUSE_SLIDER" = "yes"; then
13351 cat >> confdefs.h
<<\EOF
13352 #define wxUSE_SLIDER 1
13357 if test "$wxUSE_SPINBTN" = "yes"; then
13358 cat >> confdefs.h
<<\EOF
13359 #define wxUSE_SPINBTN 1
13364 if test "$wxUSE_SPINCTRL" = "yes"; then
13365 cat >> confdefs.h
<<\EOF
13366 #define wxUSE_SPINCTRL 1
13371 if test "$wxUSE_SPLITTER" = "yes"; then
13372 cat >> confdefs.h
<<\EOF
13373 #define wxUSE_SPLITTER 1
13376 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
13379 if test "$wxUSE_STATBMP" = "yes"; then
13380 cat >> confdefs.h
<<\EOF
13381 #define wxUSE_STATBMP 1
13386 if test "$wxUSE_STATBOX" = "yes"; then
13387 cat >> confdefs.h
<<\EOF
13388 #define wxUSE_STATBOX 1
13393 if test "$wxUSE_STATLINE" = "yes"; then
13394 if test "$wxUSE_WINE" = 1 ; then
13395 echo "configure: warning: wxStaticLine is not supported under WINE" 1>&2
13397 cat >> confdefs.h
<<\EOF
13398 #define wxUSE_STATLINE 1
13404 if test "$wxUSE_STATUSBAR" = "yes"; then
13405 cat >> confdefs.h
<<\EOF
13406 #define wxUSE_STATUSBAR 1
13410 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
13413 if test "$wxUSE_TABDIALOG" = "yes"; then
13414 cat >> confdefs.h
<<\EOF
13415 #define wxUSE_TAB_DIALOG 1
13418 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
13421 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
13422 cat >> confdefs.h
<<\EOF
13423 #define wxUSE_TOOLBAR_SIMPLE 1
13426 wxUSE_TOOLBAR
="yes"
13429 if test "$wxUSE_TOOLBAR" = "yes"; then
13430 cat >> confdefs.h
<<\EOF
13431 #define wxUSE_TOOLBAR 1
13435 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
13436 wxUSE_TOOLBAR_NATIVE
="yes"
13439 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
13442 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
13443 cat >> confdefs.h
<<\EOF
13444 #define wxUSE_TOOLBAR_NATIVE 1
13449 if test "$wxUSE_TOOLTIPS" = "yes"; then
13450 if test "$wxUSE_MOTIF" = 1; then
13451 echo "configure: warning: wxTooltip not supported yet under Motif" 1>&2
13453 if test "$wxUSE_WINE" = 1; then
13454 echo "configure: warning: wxTooltip not supported under WINE" 1>&2
13456 cat >> confdefs.h
<<\EOF
13457 #define wxUSE_TOOLTIPS 1
13464 if test "$wxUSE_TREECTRL" = "yes"; then
13465 if test "$wxUSE_IMAGLIST" = "yes"; then
13466 cat >> confdefs.h
<<\EOF
13467 #define wxUSE_TREECTRL 1
13470 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
13472 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
13478 if test "$wxUSE_METAFILE" = "yes"; then
13479 cat >> confdefs.h
<<\EOF
13480 #define wxUSE_METAFILE 1
13485 if test "$wxUSE_DIRDLG" = "yes"; then
13486 if test "$wxUSE_CONSTRAINTS" != "yes"; then
13487 echo "configure: warning: wxDirDialog requires constraints so it won't be compiled without them" 1>&2
13489 if test "$wxUSE_TREECTRL" != "yes"; then
13490 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
13492 cat >> confdefs.h
<<\EOF
13493 #define wxUSE_DIRDLG 1
13500 if test "$wxUSE_TEXTDLG" = "yes"; then
13501 cat >> confdefs.h
<<\EOF
13502 #define wxUSE_TEXTDLG 1
13507 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
13508 if test "$wxUSE_CONSTRAINTS" != "yes"; then
13509 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
13511 cat >> confdefs.h
<<\EOF
13512 #define wxUSE_STARTUP_TIPS 1
13518 if test "$wxUSE_PROGRESSDLG" = "yes"; then
13519 if test "$wxUSE_CONSTRAINTS" != "yes"; then
13520 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
13522 cat >> confdefs.h
<<\EOF
13523 #define wxUSE_PROGRESSDLG 1
13529 if test "$wxUSE_MINIFRAME" = "yes"; then
13530 cat >> confdefs.h
<<\EOF
13531 #define wxUSE_MINIFRAME 1
13534 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
13537 if test "$wxUSE_HTML" = "yes"; then
13538 cat >> confdefs.h
<<\EOF
13539 #define wxUSE_HTML 1
13542 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html"
13543 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS html"
13546 if test "$wxUSE_VALIDATORS" = "yes"; then
13547 cat >> confdefs.h
<<\EOF
13548 #define wxUSE_VALIDATORS 1
13551 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
13554 if test "$wxUSE_GIF" = "yes" ; then
13555 cat >> confdefs.h
<<\EOF
13556 #define wxUSE_GIF 1
13561 if test "$wxUSE_PCX" = "yes" ; then
13562 cat >> confdefs.h
<<\EOF
13563 #define wxUSE_PCX 1
13568 if test "$wxUSE_PNM" = "yes" ; then
13569 cat >> confdefs.h
<<\EOF
13570 #define wxUSE_PNM 1
13576 OSINFO
=`uname -s -r -m`
13577 OSINFO
="\"$OSINFO\""
13578 cat >> confdefs.h
<<EOF
13579 #define WXWIN_OS_DESCRIPTION $OSINFO
13584 GUILIBS
="$GUI_TK_LIBRARY $OPENGL_LINK $TOOLKIT_LINK"
13586 EXTRA_LIBS
="$LIBS $ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $THREADS_LINK $DMALLOC_LINK $DL_LINK"
13587 if test "$wxUSE_GUI" = "yes"; then
13588 EXTRA_LIBS
="$EXTRA_LIBS $GUILIBS $PNG_LINK $JPEG_LINK"
13591 LD_LIBS
="\${top_builddir}/lib/${WX_LIBRARY_NAME_STATIC} $EXTRA_LIBS"
13593 INCLUDES
="-I. -I\${top_builddir}/include -I\${top_srcdir}/include $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE $TOOLKIT_INCLUDE"
13595 if test "$GXX" = yes ; then
13596 CXXWARNINGS
="-Wall"
13598 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE $INCLUDES"
13600 CFLAGS
=`echo $CFLAGS $EXTRA_CFLAGS | sed 's/ \\+/ /g'`
13601 CXXFLAGS
=`echo $CXXFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
13603 LDFLAGS
="$LDFLAGS $PROFILE"
13605 if test "$wxUSE_GUI" = "yes"; then
13607 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS controls dialogs dragimag drawing dynamic \
13608 font fractal image menu minimal richedit"
13610 CPPFLAGS
="$CPPFLAGS \$(EXTRADEFS) \$(APPEXTRADEFS)"
13615 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
13693 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
13694 echo "configure:13695: checking whether ${MAKE-make} sets \${MAKE}" >&5
13695 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
13696 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
13697 echo $ac_n "(cached) $ac_c" 1>&6
13699 cat > conftestmake
<<\EOF
13701 @
echo 'ac_maketemp="${MAKE}"'
13703 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
13704 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
13705 if test -n "$ac_maketemp"; then
13706 eval ac_cv_prog_make_
${ac_make}_set
=yes
13708 eval ac_cv_prog_make_
${ac_make}_set
=no
13712 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
13713 echo "$ac_t""yes" 1>&6
13716 echo "$ac_t""no" 1>&6
13717 SET_MAKE
="MAKE=${MAKE-make}"
13721 if test -d include
; then
13722 if test -d include
/wx
; then
13723 if test -d include
/wx
/${TOOLKIT_DIR}; then
13724 if test -f include
/wx
/${TOOLKIT_DIR}/setup.h
; then
13725 mv -f include
/wx
/${TOOLKIT_DIR}/setup.h setup.h
13733 if test "$wxUSE_GUI" = "yes"; then
13734 wx_cv_path_samplesubdirs
=$SAMPLES_SUBDIRS
13735 subdirs
="demos samples utils"
13740 cat > confcache
<<\EOF
13741 # This file is a shell script that caches the results of configure
13742 # tests run on this system so they can be shared between configure
13743 # scripts and configure runs. It is not useful on other systems.
13744 # If it contains results you don't want to keep, you may remove or edit it.
13746 # By default, configure uses ./config.cache as the cache file,
13747 # creating it if it does not exist already. You can give configure
13748 # the --cache-file=FILE option to use a different cache file; that is
13749 # what configure does when it calls configure scripts in
13750 # subdirectories, so they share the cache.
13751 # Giving --cache-file=/dev/null disables caching, for debugging configure.
13752 # config.status only pays attention to the cache file if you give it the
13753 # --recheck option to rerun configure.
13756 # The following way of writing the cache mishandles newlines in values,
13757 # but we know of no workaround that is simple, portable, and efficient.
13758 # So, don't put newlines in cache variables' values.
13759 # Ultrix sh set writes to stderr and can't be redirected directly,
13760 # and sets the high bit in the cache file unless we assign to the vars.
13762 case `(ac_space=' '; set | grep ac_space) 2>&1` in
13764 # `set' does not quote correctly, so add quotes (double-quote substitution
13765 # turns \\\\ into \\, and sed turns \\ into \).
13767 -e "s/'/'\\\\''/g" \
13768 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
13771 # `set' quotes correctly as required by POSIX, so do not add quotes.
13772 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
13775 if cmp -s $cache_file confcache
; then
13778 if test -w $cache_file; then
13779 echo "updating cache $cache_file"
13780 cat confcache
> $cache_file
13782 echo "not updating unwritable cache $cache_file"
13787 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
13789 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
13790 # Let make expand exec_prefix.
13791 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
13793 # Any assignment to VPATH causes Sun make to only execute
13794 # the first set of double-colon rules, so remove it if not needed.
13795 # If there is a colon in the path, we need to keep it.
13796 if test "x$srcdir" = x.
; then
13797 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
13800 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
13802 DEFS
=-DHAVE_CONFIG_H
13804 # Without the "./", some shells look in PATH for config.status.
13805 : ${CONFIG_STATUS=./config.status}
13807 echo creating
$CONFIG_STATUS
13808 rm -f $CONFIG_STATUS
13809 cat > $CONFIG_STATUS <<EOF
13811 # Generated automatically by configure.
13812 # Run this file to recreate the current configuration.
13813 # This directory was configured as follows,
13814 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13816 # $0 $ac_configure_args
13818 # Compiler output produced by configure, useful for debugging
13819 # configure, is in ./config.log if it exists.
13821 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
13824 case "\$ac_option" in
13825 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13826 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
13827 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
13828 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
13829 echo "$CONFIG_STATUS generated by autoconf version 2.13"
13831 -help | --help | --hel | --he | --h)
13832 echo "\$ac_cs_usage"; exit 0 ;;
13833 *) echo "\$ac_cs_usage"; exit 1 ;;
13837 ac_given_srcdir=$srcdir
13838 ac_given_INSTALL="$INSTALL"
13840 trap 'rm -fr `echo "
13846 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
13848 cat >> $CONFIG_STATUS <<EOF
13850 # Protect against being on the right side of a sed subst in config.status.
13851 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
13852 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
13856 s%@CFLAGS@%$CFLAGS%g
13857 s%@CPPFLAGS@%$CPPFLAGS%g
13858 s%@CXXFLAGS@%$CXXFLAGS%g
13859 s%@FFLAGS@%$FFLAGS%g
13861 s%@LDFLAGS@%$LDFLAGS%g
13863 s%@exec_prefix@%$exec_prefix%g
13864 s%@prefix@%$prefix%g
13865 s%@program_transform_name@%$program_transform_name%g
13866 s%@bindir@%$bindir%g
13867 s%@sbindir@%$sbindir%g
13868 s%@libexecdir@%$libexecdir%g
13869 s%@datadir@%$datadir%g
13870 s%@sysconfdir@%$sysconfdir%g
13871 s%@sharedstatedir@%$sharedstatedir%g
13872 s%@localstatedir@%$localstatedir%g
13873 s%@libdir@%$libdir%g
13874 s%@includedir@%$includedir%g
13875 s%@oldincludedir@%$oldincludedir%g
13876 s%@infodir@%$infodir%g
13877 s%@mandir@%$mandir%g
13879 s%@host_alias@%$host_alias%g
13880 s%@host_cpu@%$host_cpu%g
13881 s%@host_vendor@%$host_vendor%g
13882 s%@host_os@%$host_os%g
13883 s%@target@%$target%g
13884 s%@target_alias@%$target_alias%g
13885 s%@target_cpu@%$target_cpu%g
13886 s%@target_vendor@%$target_vendor%g
13887 s%@target_os@%$target_os%g
13889 s%@build_alias@%$build_alias%g
13890 s%@build_cpu@%$build_cpu%g
13891 s%@build_vendor@%$build_vendor%g
13892 s%@build_os@%$build_os%g
13896 s%@CXXCPP@%$CXXCPP%g
13897 s%@RANLIB@%$RANLIB%g
13899 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
13900 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
13901 s%@INSTALL_DATA@%$INSTALL_DATA%g
13905 s%@LEXLIB@%$LEXLIB%g
13907 s%@GTK_CONFIG@%$GTK_CONFIG%g
13908 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
13909 s%@GTK_LIBS@%$GTK_LIBS%g
13910 s%@X_CFLAGS@%$X_CFLAGS%g
13911 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
13912 s%@X_LIBS@%$X_LIBS%g
13913 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
13914 s%@LEX_STEM@%$LEX_STEM%g
13915 s%@PATH_IFS@%$PATH_IFS%g
13916 s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
13917 s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
13918 s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
13919 s%@WX_LIBRARY_NAME@%$WX_LIBRARY_NAME%g
13920 s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
13921 s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
13922 s%@WX_LIBRARY@%$WX_LIBRARY%g
13923 s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
13924 s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
13925 s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
13926 s%@WX_LIBRARY_LINK3@%$WX_LIBRARY_LINK3%g
13927 s%@PROGRAM_EXT@%$PROGRAM_EXT%g
13928 s%@WX_LIBRARY_NAME_GL@%$WX_LIBRARY_NAME_GL%g
13929 s%@WX_LIBRARY_NAME_STATIC_GL@%$WX_LIBRARY_NAME_STATIC_GL%g
13930 s%@WX_LIBRARY_NAME_SHARED_GL@%$WX_LIBRARY_NAME_SHARED_GL%g
13931 s%@WX_LIBRARY_GL@%$WX_LIBRARY_GL%g
13932 s%@WX_TARGET_LIBRARY_GL@%$WX_TARGET_LIBRARY_GL%g
13933 s%@WX_LIBRARY_LINK1_GL@%$WX_LIBRARY_LINK1_GL%g
13934 s%@WX_LIBRARY_LINK2_GL@%$WX_LIBRARY_LINK2_GL%g
13935 s%@WX_LIBRARY_LINK3_GL@%$WX_LIBRARY_LINK3_GL%g
13936 s%@WX_ALL@%$WX_ALL%g
13937 s%@WX_ALL_INSTALLED@%$WX_ALL_INSTALLED%g
13938 s%@SHARED_LD@%$SHARED_LD%g
13939 s%@PIC_FLAG@%$PIC_FLAG%g
13940 s%@DEP_INFO_FLAGS@%$DEP_INFO_FLAGS%g
13941 s%@CODE_GEN_FLAGS@%$CODE_GEN_FLAGS%g
13942 s%@BURNT_LIBRARY_NAME@%$BURNT_LIBRARY_NAME%g
13943 s%@BURNT_LIBRARY_NAME_GL@%$BURNT_LIBRARY_NAME_GL%g
13944 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
13945 s%@USE_GUI@%$USE_GUI%g
13946 s%@AFMINSTALL@%$AFMINSTALL%g
13947 s%@TOOLKIT@%$TOOLKIT%g
13948 s%@TOOLKIT_DEF@%$TOOLKIT_DEF%g
13949 s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
13950 s%@TOOLKIT_INCLUDE@%$TOOLKIT_INCLUDE%g
13951 s%@GUIHEADERS@%$GUIHEADERS%g
13952 s%@GUIOBJS@%$GUIOBJS%g
13953 s%@COMMONOBJS@%$COMMONOBJS%g
13954 s%@GENERICOBJS@%$GENERICOBJS%g
13955 s%@GUIDEPS@%$GUIDEPS%g
13956 s%@COMMONDEPS@%$COMMONDEPS%g
13957 s%@GENERICDEPS@%$GENERICDEPS%g
13958 s%@IODBCOBJS@%$IODBCOBJS%g
13959 s%@UNIXOBJS@%$UNIXOBJS%g
13960 s%@UNIXDEPS@%$UNIXDEPS%g
13961 s%@ALL_OBJECTS@%$ALL_OBJECTS%g
13962 s%@ALL_DEPFILES@%$ALL_DEPFILES%g
13963 s%@GUIDIST@%$GUIDIST%g
13964 s%@PORT_FILES@%$PORT_FILES%g
13965 s%@DISTDIR@%$DISTDIR%g
13966 s%@RPM_SPEC@%$RPM_SPEC%g
13967 s%@RPM_FILES@%$RPM_FILES%g
13968 s%@SRC_SUBDIRS@%$SRC_SUBDIRS%g
13969 s%@INCLUDE_SUBDIRS@%$INCLUDE_SUBDIRS%g
13970 s%@UTILS_SUBDIRS@%$UTILS_SUBDIRS%g
13971 s%@DOCS_SUBDIRS@%$DOCS_SUBDIRS%g
13972 s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
13973 s%@USER_SUBDIRS@%$USER_SUBDIRS%g
13974 s%@EXTRA_LIBS@%$EXTRA_LIBS%g
13975 s%@EXTRADEFS@%$EXTRADEFS%g
13976 s%@LD_LIBS@%$LD_LIBS%g
13977 s%@SET_MAKE@%$SET_MAKE%g
13978 s%@subdirs@%$subdirs%g
13983 cat >> $CONFIG_STATUS <<\EOF
13985 # Split the substitutions into bite-sized pieces for seds with
13986 # small command number limits, like on Digital OSF/1 and HP-UX.
13987 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
13988 ac_file
=1 # Number of current file.
13989 ac_beg
=1 # First line for current file.
13990 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
13993 while $ac_more_lines; do
13994 if test $ac_beg -gt 1; then
13995 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
13997 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
13999 if test ! -s conftest.s
$ac_file; then
14000 ac_more_lines
=false
14001 rm -f conftest.s
$ac_file
14003 if test -z "$ac_sed_cmds"; then
14004 ac_sed_cmds
="sed -f conftest.s$ac_file"
14006 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
14008 ac_file
=`expr $ac_file + 1`
14010 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
14013 if test -z "$ac_sed_cmds"; then
14018 cat >> $CONFIG_STATUS <<EOF
14020 CONFIG_FILES=\${CONFIG_FILES-"wx-config
14027 cat >> $CONFIG_STATUS <<\EOF
14028 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
14029 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
14031 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
14032 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
14033 *) ac_file_in
="${ac_file}.in" ;;
14036 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
14038 # Remove last slash and all that follows it. Not all systems have dirname.
14039 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
14040 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
14041 # The file is in a subdirectory.
14042 test ! -d "$ac_dir" && mkdir "$ac_dir"
14043 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
14044 # A "../" for each directory in $ac_dir_suffix.
14045 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
14047 ac_dir_suffix
= ac_dots
=
14050 case "$ac_given_srcdir" in
14052 if test -z "$ac_dots"; then top_srcdir
=.
14053 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
14054 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
14055 *) # Relative path.
14056 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
14057 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
14060 case "$ac_given_INSTALL" in
14061 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
14062 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
14065 echo creating
"$ac_file"
14067 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
14069 *Makefile
*) ac_comsub
="1i\\
14070 # $configure_input" ;;
14074 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
14076 s%@configure_input@%$configure_input%g
14077 s%@srcdir@%$srcdir%g
14078 s%@top_srcdir@%$top_srcdir%g
14079 s%@INSTALL@%$INSTALL%g
14080 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
14084 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
14085 # NAME is the cpp macro being defined and VALUE is the value it is being given.
14087 # ac_d sets the value in "#define NAME VALUE" lines.
14088 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
14089 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
14092 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
14093 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
14094 ac_uB
='\([ ]\)%\1#\2define\3'
14097 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
14098 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
14099 ac_eB
='$%\1#\2define\3'
14103 if test "${CONFIG_HEADERS+set}" != set; then
14105 cat >> $CONFIG_STATUS <<EOF
14106 CONFIG_HEADERS="setup.h:setup.h.in"
14108 cat >> $CONFIG_STATUS <<\EOF
14110 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
14111 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
14113 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
14114 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
14115 *) ac_file_in
="${ac_file}.in" ;;
14118 echo creating
$ac_file
14120 rm -f conftest.frag conftest.
in conftest.out
14121 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
14122 cat $ac_file_inputs > conftest.
in
14126 # Transform confdefs.h into a sed script conftest.vals that substitutes
14127 # the proper values into config.h.in to produce config.h. And first:
14128 # Protect against being on the right side of a sed subst in config.status.
14129 # Protect against being in an unquoted here document in config.status.
14130 rm -f conftest.vals
14131 cat > conftest.hdr
<<\EOF
14134 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
14138 sed -n -f conftest.hdr confdefs.h > conftest.vals
14141 # This sed command replaces #undef with comments. This is necessary, for
14142 # example, in the case of _POSIX_SOURCE, which is predefined and required
14143 # on some systems where configure will not decide to define it.
14144 cat >> conftest.vals <<\EOF
14145 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
14148 # Break up conftest.vals because some shells have a limit on
14149 # the size of here documents, and old seds have small limits too.
14151 rm -f conftest.tail
14154 ac_lines=`grep -c . conftest.vals
`
14155 # grep -c gives empty output for an empty file on some AIX systems.
14156 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
14157 # Write a limited-size here document to conftest.frag.
14158 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
14159 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
14161 sed -f conftest.frag conftest.in > conftest.out
14163 mv conftest.out conftest.in
14164 ' >> $CONFIG_STATUS
14165 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
14166 rm -f conftest.vals
14167 mv conftest.tail conftest.vals
14169 rm -f conftest.vals
14171 cat >> $CONFIG_STATUS <<\EOF
14172 rm -f conftest.frag conftest.h
14173 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
14174 cat conftest.in >> conftest.h
14176 if cmp -s $ac_file conftest.h 2>/dev/null; then
14177 echo "$ac_file is unchanged"
14180 # Remove last slash and all that follows it. Not all systems have dirname.
14181 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
14182 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
14183 # The file is in a subdirectory.
14184 test ! -d "$ac_dir" && mkdir "$ac_dir"
14187 mv conftest.h $ac_file
14192 cat >> $CONFIG_STATUS <<EOF
14194 TOOLKIT_DIR="${TOOLKIT_DIR}"
14199 cat >> $CONFIG_STATUS <<\EOF
14202 mv wx-config wx${TOOLKIT_DIR}-config
14203 ${LN_S} wx${TOOLKIT_DIR}-config wx-config
14206 if test ! -d lib; then
14209 if test ! -d lib/wx; then
14212 if test ! -d lib/wx/include; then
14213 mkdir lib/wx/include
14215 if test ! -d lib/wx/include/wx; then
14216 mkdir lib/wx/include/wx
14218 if test ! -d lib/wx/include/wx/${TOOLKIT_DIR}; then
14219 mkdir lib/wx/include/wx/${TOOLKIT_DIR}
14221 if test -f setup.h; then
14222 cp -f setup.h lib/wx/include/wx/${TOOLKIT_DIR}/setup.h
14226 if test ! -d include; then
14229 if test ! -d include/wx; then
14232 if test ! -d include/wx/${TOOLKIT_DIR}; then
14233 mkdir include/wx/${TOOLKIT_DIR}
14235 if test -f setup.h; then
14236 mv -f setup.h include/wx/${TOOLKIT_DIR}/setup.h
14242 chmod +x $CONFIG_STATUS
14243 rm -fr confdefs* $ac_clean_files
14244 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
14246 if test "$no_recursion" != yes; then
14248 # Remove --cache-file and --srcdir arguments so they do not pile up.
14249 ac_sub_configure_args=
14251 for ac_arg in $ac_configure_args; do
14252 if test -n "$ac_prev"; then
14257 -cache-file | --cache-file | --cache-fil | --cache-fi \
14258 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
14259 ac_prev=cache_file ;;
14260 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
14261 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
14263 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
14265 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
14267 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
14271 for ac_config_dir in demos samples utils; do
14273 # Do not complain, so a configure script can configure whichever
14274 # parts of a large source tree are present.
14275 if test ! -d $srcdir/$ac_config_dir; then
14279 echo configuring in $ac_config_dir
14284 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
14286 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
14294 # A "../" for each directory in /$ac_config_dir.
14295 ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
14298 .) # No --srcdir option. We are building in place.
14299 ac_sub_srcdir=$srcdir ;;
14300 /*) # Absolute path.
14301 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
14302 *) # Relative path.
14303 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
14306 # Check for guested configure; otherwise get Cygnus style configure.
14307 if test -f $ac_sub_srcdir/configure; then
14308 ac_sub_configure=$ac_sub_srcdir/configure
14309 elif test -f $ac_sub_srcdir/configure.in; then
14310 ac_sub_configure=$ac_configure
14312 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
14316 # The recursion is here.
14317 if test -n "$ac_sub_configure"; then
14319 # Make the cache file name correct relative to the subdirectory.
14320 case "$cache_file" in
14321 /*) ac_sub_cache_file=$cache_file ;;
14322 *) # Relative path.
14323 ac_sub_cache_file="$ac_dots$cache_file" ;;
14325 case "$ac_given_INSTALL" in
14326 [/$]*) INSTALL="$ac_given_INSTALL" ;;
14327 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
14330 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
14331 # The eval makes quoting arguments work.
14332 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
14335 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }