3 # From configure.in Id: configure.in
42 # Guess values for system-dependent variables and create Makefiles.
43 # Generated automatically using autoconf version 2.13
44 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
46 # This configure script is free software; the Free Software Foundation
47 # gives unlimited permission to copy, distribute and modify it.
51 ac_default_prefix
=/usr
/local
52 # Any additions from configure.in:
54 --enable-gui use GUI classes"
58 --with-motif use Motif/Lesstif"
62 --with-cygwin use Cygwin for MS-Windows"
64 --with-mingw use GCC Minimal MS-Windows"
66 --with-pm use OS/2 Presentation Manager"
68 --with-gtk-prefix=PFX Prefix where GTK is installed"
70 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed"
72 --with-libpng use libpng (PNG image format)"
74 --with-libjpeg use libjpeg (JPEG file format)"
76 --with-libtiff use libtiff (TIFF file format)"
78 --with-opengl use OpenGL (or Mesa)"
80 --with-dmalloc use dmalloc library (www.letters.com/dmalloc)"
82 --with-zlib use zlib for LZW compression"
84 --with-odbc use the IODBC and wxODBC classes"
86 --enable-shared create shared library code"
88 --enable-burnt_name create set name in shared library "
90 --enable-optimise create optimised code"
92 --enable-debug same as debug_flag and debug_info"
94 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)"
96 --enable-debug_info create code with debugging information"
98 --enable-debug_gdb create code with extra GDB debugging information"
100 --enable-debug_cntxt use wxDebugContext"
102 --enable-mem_tracing create code with memory tracing"
104 --enable-profile create code with profiling information"
106 --enable-no_rtti create code without RTTI information"
108 --enable-no_exceptions create code without exceptions information"
110 --enable-permissive compile code disregarding strict ANSI"
112 --enable-no_deps create code without dependency information"
114 --enable-intl use internationalization system"
116 --enable-config use wxConfig (and derived) classes"
118 --enable-sockets use socket/network classes"
120 --enable-dialupman use dialup network classes"
122 --enable-ipc use interprocess communication (wxSocket etc.)"
124 --enable-apple_ieee use the Apple IEEE codec"
126 --enable-timedate use date/time classes"
128 --enable-wave use wxWave class"
130 --enable-fraction use wxFraction class"
132 --enable-dynlib use wxLibrary class for DLL loading"
134 --enable-longlong use wxLongLong class"
136 --enable-log use logging system"
138 --enable-streams use wxStream etc classes"
140 --enable-file use wxFile classes"
142 --enable-textfile use wxTextFile classes"
144 --enable-unicode compile wxString with Unicode support"
146 --enable-wcsrtombs use wcsrtombs instead of buggy (GNU libc1/Linux libc5) wcstombs"
148 --enable-wxprintfv use wxWindows implementation of vprintf()"
150 --enable-joystick compile in joystick support (Linux only)"
152 --enable-std_iostreams use standard C++ stream classes"
154 --enable-filesystem use virtual file systems classes"
156 --enable-fs_inet use virtual HTTP/FTP filesystems"
158 --enable-fs_zip use virtual ZIP filesystems"
160 --enable-zipstream use wxZipInputStream"
162 --enable-threads use threads"
164 --enable-serial use class serialization"
166 --enable-docview use document view architecture"
168 --enable-help use help (using external browser at present)"
170 --enable-constraints use layout-constraints system"
172 --enable-printarch use printing architecture"
174 --enable-mdi use multiple document interface architecture"
176 --enable-postscript use wxPostscriptDC device context (default for gtk+)"
178 --enable-prologio use Prolog IO library"
180 --enable-resources use wxWindows resources"
182 --enable-xresources use X resources for save (default for gtk+)"
184 --enable-clipboard use wxClipboard classes"
186 --enable-dnd use Drag'n'Drop classes"
188 --enable-wxtree make wxTree library"
190 --enable-controls use all usual controls"
192 --enable-accel use accelerators"
194 --enable-caret use wxCaret class"
196 --enable-bmpbutton use wxBitmapButton class"
198 --enable-checkbox use wxCheckBox class"
200 --enable-checklst use wxCheckListBox (listbox with checkboxes) class"
202 --enable-choice use wxChoice class"
204 --enable-combobox use wxComboBox classes"
206 --enable-gauge use wxGauge class"
208 --enable-grid use wxGrid class"
210 --enable-newgrid use new wxGrid class"
212 --enable-imaglist use wxImageList class"
214 --enable-listbox use wxListBox class"
216 --enable-listctrl use wxListCtrl class"
218 --enable-notebook use wxNotebook class"
220 --enable-radiobox use wxRadioBox class"
222 --enable-radiobtn use wxRadioButton class"
224 --enable-sash use wxSashWindow class"
226 --enable-scrollbar use wxScrollBar class and scrollable windows"
228 --enable-slider use wxSlider class"
230 --enable-spinbtn use wxSpinButton class"
232 --enable-spinctrl use wxSpinCtrl class"
234 --enable-splitter use wxSplitterWindow class"
236 --enable-statbmp use wxStaticBitmap class"
238 --enable-statbox use wxStaticBox class"
240 --enable-statline use wxStaticLine class"
242 --enable-statusbar use wxStatusBar class"
244 --enable-tabdialog use wxTabControl class"
246 --enable-toolbar use wxToolBar class"
248 --enable-tbarnative use native wxToolBar class"
250 --enable-tbarsmpl use wxToolBarSimple class"
252 --enable-treectrl use wxTreeCtrl class"
254 --enable-commondlg use common dialogs (wxDirDialog, wxProgressDialog, wxTextDialog, ...)"
256 --enable-dirdlg use wxDirDialog"
258 --enable-textdlg use wxTextDialog"
260 --enable-tipdlg use startup tips"
262 --enable-progressdlg use wxProgressDialog"
264 --enable-miniframe use wxMiniFrame class"
266 --enable-html use wxHTML sub-library"
268 --enable-tooltips use wxToolTip class"
270 --enable-splines use spline drawing code"
272 --enable-validators use wxValidator and derived classes"
274 --enable-busyinfo use wxBusyInfo"
276 --enable-plot use wxPlot"
278 --enable-gif use gif images (GIF file format)"
280 --enable-pcx use pcx images (PCX file format)"
282 --enable-pnm use pnm images (PNM file format)"
284 --with-x use the X Window System"
286 # Initialize some variables set by options.
287 # The variables have the same names as the options, with
288 # dashes changed to underlines.
290 cache_file
=.
/config.cache
299 program_transform_name
=s
,x
,x
,
307 bindir
='${exec_prefix}/bin'
308 sbindir
='${exec_prefix}/sbin'
309 libexecdir
='${exec_prefix}/libexec'
310 datadir
='${prefix}/share'
311 sysconfdir
='${prefix}/etc'
312 sharedstatedir
='${prefix}/com'
313 localstatedir
='${prefix}/var'
314 libdir
='${exec_prefix}/lib'
315 includedir
='${prefix}/include'
316 oldincludedir
='/usr/include'
317 infodir
='${prefix}/info'
318 mandir
='${prefix}/man'
320 # Initialize some other variables.
323 SHELL
=${CONFIG_SHELL-/bin/sh}
324 # Maximum number of lines to put in a shell here document.
331 # If the previous option needs an argument, assign it.
332 if test -n "$ac_prev"; then
333 eval "$ac_prev=\$ac_option"
339 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
343 # Accept the important Cygnus configure options, so we can diagnose typos.
347 -bindir | --bindir | --bindi | --bind | --bin | --bi)
349 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
350 bindir
="$ac_optarg" ;;
352 -build | --build | --buil | --bui | --bu)
354 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
355 build
="$ac_optarg" ;;
357 -cache-file | --cache-file | --cache-fil | --cache-fi \
358 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
359 ac_prev
=cache_file
;;
360 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
361 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
362 cache_file
="$ac_optarg" ;;
364 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
366 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
368 datadir
="$ac_optarg" ;;
370 -disable-* | --disable-*)
371 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
372 # Reject names that are not valid shell variable names.
373 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
374 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
376 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
377 eval "enable_${ac_feature}=no" ;;
379 -enable-* | --enable-*)
380 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
381 # Reject names that are not valid shell variable names.
382 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
383 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
385 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
390 eval "enable_${ac_feature}='$ac_optarg'" ;;
392 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
393 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
394 | --exec | --exe | --ex)
395 ac_prev
=exec_prefix
;;
396 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
397 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
398 | --exec=* | --exe=* | --ex=*)
399 exec_prefix
="$ac_optarg" ;;
401 -gas | --gas | --ga | --g)
402 # Obsolete; use --with-gas.
405 -help | --help | --hel | --he)
406 # Omit some internal or obsolete options to make the list less imposing.
407 # This message is too long to be a string in the A/UX 3.1 sh.
409 Usage: configure [options] [host]
410 Options: [defaults in brackets after descriptions]
412 --cache-file=FILE cache test results in FILE
413 --help print this message
414 --no-create do not create output files
415 --quiet, --silent do not print \`checking...' messages
416 --version print the version of autoconf that created configure
417 Directory and file names:
418 --prefix=PREFIX install architecture-independent files in PREFIX
420 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
422 --bindir=DIR user executables in DIR [EPREFIX/bin]
423 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
424 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
425 --datadir=DIR read-only architecture-independent data in DIR
427 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
428 --sharedstatedir=DIR modifiable architecture-independent data in DIR
430 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
431 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
432 --includedir=DIR C header files in DIR [PREFIX/include]
433 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
434 --infodir=DIR info documentation in DIR [PREFIX/info]
435 --mandir=DIR man documentation in DIR [PREFIX/man]
436 --srcdir=DIR find the sources in DIR [configure dir or ..]
437 --program-prefix=PREFIX prepend PREFIX to installed program names
438 --program-suffix=SUFFIX append SUFFIX to installed program names
439 --program-transform-name=PROGRAM
440 run sed PROGRAM on installed program names
444 --build=BUILD configure for building on BUILD [BUILD=HOST]
445 --host=HOST configure for HOST [guessed]
446 --target=TARGET configure for TARGET [TARGET=HOST]
447 Features and packages:
448 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
449 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
450 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
451 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
452 --x-includes=DIR X include files are in DIR
453 --x-libraries=DIR X library files are in DIR
455 if test -n "$ac_help"; then
456 echo "--enable and --with options recognized:$ac_help"
460 -host | --host | --hos | --ho)
462 -host=* | --host=* | --hos=* | --ho=*)
465 -includedir | --includedir | --includedi | --included | --include \
466 | --includ | --inclu | --incl | --inc)
467 ac_prev
=includedir
;;
468 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
469 | --includ=* | --inclu=* | --incl=* | --inc=*)
470 includedir
="$ac_optarg" ;;
472 -infodir | --infodir | --infodi | --infod | --info | --inf)
474 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
475 infodir
="$ac_optarg" ;;
477 -libdir | --libdir | --libdi | --libd)
479 -libdir=* | --libdir=* | --libdi=* | --libd=*)
480 libdir
="$ac_optarg" ;;
482 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
483 | --libexe | --libex | --libe)
484 ac_prev
=libexecdir
;;
485 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
486 | --libexe=* | --libex=* | --libe=*)
487 libexecdir
="$ac_optarg" ;;
489 -localstatedir | --localstatedir | --localstatedi | --localstated \
490 | --localstate | --localstat | --localsta | --localst \
491 | --locals | --local | --loca | --loc | --lo)
492 ac_prev
=localstatedir
;;
493 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
494 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
495 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
496 localstatedir
="$ac_optarg" ;;
498 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
500 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
501 mandir
="$ac_optarg" ;;
504 # Obsolete; use --without-fp.
507 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
511 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
512 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
515 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
516 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
517 | --oldin | --oldi | --old | --ol | --o)
518 ac_prev
=oldincludedir
;;
519 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
520 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
521 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
522 oldincludedir
="$ac_optarg" ;;
524 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
526 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
527 prefix
="$ac_optarg" ;;
529 -program-prefix | --program-prefix | --program-prefi | --program-pref \
530 | --program-pre | --program-pr | --program-p)
531 ac_prev
=program_prefix
;;
532 -program-prefix=* | --program-prefix=* | --program-prefi=* \
533 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
534 program_prefix
="$ac_optarg" ;;
536 -program-suffix | --program-suffix | --program-suffi | --program-suff \
537 | --program-suf | --program-su | --program-s)
538 ac_prev
=program_suffix
;;
539 -program-suffix=* | --program-suffix=* | --program-suffi=* \
540 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
541 program_suffix
="$ac_optarg" ;;
543 -program-transform-name | --program-transform-name \
544 | --program-transform-nam | --program-transform-na \
545 | --program-transform-n | --program-transform- \
546 | --program-transform | --program-transfor \
547 | --program-transfo | --program-transf \
548 | --program-trans | --program-tran \
549 | --progr-tra | --program-tr | --program-t)
550 ac_prev
=program_transform_name
;;
551 -program-transform-name=* | --program-transform-name=* \
552 | --program-transform-nam=* | --program-transform-na=* \
553 | --program-transform-n=* | --program-transform-=* \
554 | --program-transform=* | --program-transfor=* \
555 | --program-transfo=* | --program-transf=* \
556 | --program-trans=* | --program-tran=* \
557 | --progr-tra=* | --program-tr=* | --program-t=*)
558 program_transform_name
="$ac_optarg" ;;
560 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
561 | -silent | --silent | --silen | --sile | --sil)
564 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
566 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
568 sbindir
="$ac_optarg" ;;
570 -sharedstatedir | --sharedstatedir | --sharedstatedi \
571 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
572 | --sharedst | --shareds | --shared | --share | --shar \
574 ac_prev
=sharedstatedir
;;
575 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
576 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
577 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
579 sharedstatedir
="$ac_optarg" ;;
581 -site | --site | --sit)
583 -site=* | --site=* | --sit=*)
586 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
588 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
589 srcdir
="$ac_optarg" ;;
591 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
592 | --syscon | --sysco | --sysc | --sys | --sy)
593 ac_prev
=sysconfdir
;;
594 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
595 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
596 sysconfdir
="$ac_optarg" ;;
598 -target | --target | --targe | --targ | --tar | --ta | --t)
600 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
601 target
="$ac_optarg" ;;
603 -v | -verbose | --verbose | --verbos | --verbo | --verb)
606 -version | --version | --versio | --versi | --vers)
607 echo "configure generated by autoconf version 2.13"
611 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
612 # Reject names that are not valid shell variable names.
613 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
614 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
616 ac_package
=`echo $ac_package| sed 's/-/_/g'`
621 eval "with_${ac_package}='$ac_optarg'" ;;
623 -without-* | --without-*)
624 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
625 # Reject names that are not valid shell variable names.
626 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
627 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
629 ac_package
=`echo $ac_package| sed 's/-/_/g'`
630 eval "with_${ac_package}=no" ;;
633 # Obsolete; use --with-x.
636 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
637 | --x-incl | --x-inc | --x-in | --x-i)
638 ac_prev
=x_includes
;;
639 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
640 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
641 x_includes
="$ac_optarg" ;;
643 -x-libraries | --x-libraries | --x-librarie | --x-librari \
644 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
645 ac_prev
=x_libraries
;;
646 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
647 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
648 x_libraries
="$ac_optarg" ;;
650 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
654 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
655 echo "configure: warning: $ac_option: invalid host type" 1>&2
657 if test "x$nonopt" != xNONE
; then
658 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
666 if test -n "$ac_prev"; then
667 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
670 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
672 # File descriptor usage:
675 # 2 errors and warnings
676 # 3 some systems may open it to /dev/tty
677 # 4 used on the Kubota Titan
678 # 6 checking for... messages and results
679 # 5 compiler messages saved in config.log
680 if test "$silent" = yes; then
688 This file contains any messages produced by compilers while
689 running configure, to aid debugging if configure makes a mistake.
692 # Strip out --no-create and --no-recursion so they do not pile up.
693 # Also quote any args containing shell metacharacters.
698 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
699 | --no-cr | --no-c) ;;
700 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
701 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
702 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
703 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
704 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
709 # Only set these to C if already set. These must not be set unconditionally
710 # because not all systems understand e.g. LANG=C (notably SCO).
711 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
712 # Non-C LC_CTYPE values break the ctype check.
713 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
714 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
715 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
716 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
718 # confdefs.h avoids OS command line length limits that DEFS can exceed.
719 rm -rf conftest
* confdefs.h
720 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
723 # A filename unique to this package, relative to the directory that
724 # configure is in, which we can look for to find out if srcdir is correct.
725 ac_unique_file
=wx
-config.
in
727 # Find the source files, if location was not specified.
728 if test -z "$srcdir"; then
729 ac_srcdir_defaulted
=yes
730 # Try the directory containing this script, then its parent.
732 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
733 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
735 if test ! -r $srcdir/$ac_unique_file; then
739 ac_srcdir_defaulted
=no
741 if test ! -r $srcdir/$ac_unique_file; then
742 if test "$ac_srcdir_defaulted" = yes; then
743 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
745 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
748 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
750 # Prefer explicitly selected file to automatically selected ones.
751 if test -z "$CONFIG_SITE"; then
752 if test "x$prefix" != xNONE
; then
753 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
755 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
758 for ac_site_file
in $CONFIG_SITE; do
759 if test -r "$ac_site_file"; then
760 echo "loading site script $ac_site_file"
765 if test -r "$cache_file"; then
766 echo "loading cache $cache_file"
769 echo "creating cache $cache_file"
774 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
775 ac_cpp
='$CPP $CPPFLAGS'
776 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
777 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
778 cross_compiling
=$ac_cv_prog_cc_cross
782 if (echo "testing\c"; echo 1,2,3) | grep c
>/dev
/null
; then
783 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
784 if (echo -n testing
; echo 1,2,3) | sed s
/-n/xn
/ | grep xn
>/dev
/null
; then
791 ac_n
= ac_c
='\c' ac_t
=
797 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
798 if test -f $ac_dir/install-sh; then
800 ac_install_sh
="$ac_aux_dir/install-sh -c"
802 elif test -f $ac_dir/install.sh
; then
804 ac_install_sh
="$ac_aux_dir/install.sh -c"
808 if test -z "$ac_aux_dir"; then
809 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
811 ac_config_guess
=$ac_aux_dir/config.guess
812 ac_config_sub
=$ac_aux_dir/config.sub
813 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
816 # Do some error checking and defaulting for the host and target type.
818 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
821 # 1. You are not allowed to specify --host, --target, and nonopt at the
823 # 2. Host defaults to nonopt.
824 # 3. If nonopt is not specified, then host defaults to the current host,
825 # as determined by config.guess.
826 # 4. Target and build default to nonopt.
827 # 5. If nonopt is not specified, then target and build default to host.
829 # The aliases save the names the user supplied, while $host etc.
830 # will get canonicalized.
831 case $host---$target---$nonopt in
832 NONE
---*---* | *---NONE---* | *---*---NONE) ;;
833 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
837 # Make sure we can run config.sub.
838 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
839 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
842 echo $ac_n "checking host system type""... $ac_c" 1>&6
843 echo "configure:844: checking host system type" >&5
846 case "$host_alias" in
850 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
851 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
853 *) host_alias
=$nonopt ;;
857 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
858 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
859 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
860 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
861 echo "$ac_t""$host" 1>&6
863 echo $ac_n "checking target system type""... $ac_c" 1>&6
864 echo "configure:865: checking target system type" >&5
867 case "$target_alias" in
870 NONE
) target_alias
=$host_alias ;;
871 *) target_alias
=$nonopt ;;
875 target
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
876 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
877 target_vendor
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
878 target_os
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
879 echo "$ac_t""$target" 1>&6
881 echo $ac_n "checking build system type""... $ac_c" 1>&6
882 echo "configure:883: checking build system type" >&5
885 case "$build_alias" in
888 NONE
) build_alias
=$host_alias ;;
889 *) build_alias
=$nonopt ;;
893 build
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
894 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
895 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
896 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
897 echo "$ac_t""$build" 1>&6
899 test "$host_alias" != "$target_alias" &&
900 test "$program_prefix$program_suffix$program_transform_name" = \
902 program_prefix
=${target_alias}-
906 WX_MAJOR_VERSION_NUMBER
=2
907 WX_MINOR_VERSION_NUMBER
=1
913 WX_VERSION
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER.
$WX_RELEASE_NUMBER
915 WX_RELEASE
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER
916 WX_CURRENT
=`expr $WX_RELEASE_NUMBER - $WX_INTERFACE_AGE`
917 WX_REVISION
=$WX_INTERFACE_AGE
918 WX_AGE
=`expr $WX_BINARY_AGE - $WX_INTERFACE_AGE`
944 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
946 ALL_TOOLKITS
="CYGWIN GTK MINGW MOTIF WINE PM"
949 DEFAULT_wxUSE_MOTIF
=0
954 DEFAULT_DEFAULT_wxUSE_GTK
=0
955 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
956 DEFAULT_DEFAULT_wxUSE_MSW
=0
957 DEFAULT_DEFAULT_wxUSE_WINE
=0
958 DEFAULT_DEFAULT_wxUSE_PM
=0
965 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
966 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
967 cat >> confdefs.h
<<\EOF
974 cat >> confdefs.h
<<\EOF
979 if test "x$TMP" = "xalpha"; then
981 cat >> confdefs.h
<<\EOF
986 DEFAULT_DEFAULT_wxUSE_GTK
=1
988 *-*-irix5* | *-*-irix6* )
991 cat >> confdefs.h
<<\EOF
995 cat >> confdefs.h
<<\EOF
999 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1005 cat >> confdefs.h
<<\EOF
1009 cat >> confdefs.h
<<\EOF
1010 #define __SOLARIS__ 1
1013 cat >> confdefs.h
<<\EOF
1017 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1018 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1024 cat >> confdefs.h
<<\EOF
1028 cat >> confdefs.h
<<\EOF
1032 cat >> confdefs.h
<<\EOF
1036 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1038 *-*-freebsd* | *-*-netbsd*)
1041 cat >> confdefs.h
<<\EOF
1042 #define __FREEBSD__ 1
1045 cat >> confdefs.h
<<\EOF
1049 DEFAULT_DEFAULT_wxUSE_GTK
=1
1054 cat >> confdefs.h
<<\EOF
1058 cat >> confdefs.h
<<\EOF
1062 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1067 cat >> confdefs.h
<<\EOF
1071 cat >> confdefs.h
<<\EOF
1075 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1080 cat >> confdefs.h
<<\EOF
1084 cat >> confdefs.h
<<\EOF
1088 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1094 cat >> confdefs.h
<<\EOF
1098 cat >> confdefs.h
<<\EOF
1102 cat >> confdefs.h
<<\EOF
1106 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1109 *-*-cygwin32* | *-*-mingw32* )
1112 cat >> confdefs.h
<<\EOF
1116 cat >> confdefs.h
<<\EOF
1120 cat >> confdefs.h
<<\EOF
1121 #define __WINDOWS__ 1
1124 cat >> confdefs.h
<<\EOF
1125 #define __GNUWIN32__ 1
1128 cat >> confdefs.h
<<\EOF
1132 cat >> confdefs.h
<<\EOF
1133 #define WINVER 0x0400
1137 DEFAULT_DEFAULT_wxUSE_MSW
=1
1141 cat >> confdefs.h
<<\EOF
1146 DEFAULT_DEFAULT_wxUSE_PM
=1
1151 cat >> confdefs.h
<<\EOF
1158 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
1161 if test "$USE_UNIX" = 1 ; then
1163 cat >> confdefs.h
<<\EOF
1168 SRC_SUBDIRS
="$SRC_SUBDIRS unix"
1169 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS unix"
1172 if test "$USE_BEOS" = 1; then
1173 SRC_SUBDIRS
="$SRC_SUBDIRS be"
1174 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS be"
1177 if test "$USE_LINUX" = 1; then
1178 echo $ac_n "checking for gettext in -lc""... $ac_c" 1>&6
1179 echo "configure:1180: checking for gettext in -lc" >&5
1180 ac_lib_var
=`echo c'_'gettext | sed 'y%./+-%__p_%'`
1181 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1182 echo $ac_n "(cached) $ac_c" 1>&6
1184 ac_save_LIBS
="$LIBS"
1186 cat > conftest.
$ac_ext <<EOF
1187 #line 1188 "configure"
1188 #include "confdefs.h"
1189 /* Override any gcc2 internal prototype to avoid an error. */
1190 /* We use char because int might match the return type of a gcc2
1191 builtin and then its argument prototype would still apply. */
1198 if { (eval echo configure
:1199: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
1200 eval "ac_cv_lib_$ac_lib_var=yes"
1202 echo "configure: failed program was:" >&5
1203 cat conftest.
$ac_ext >&5
1205 eval "ac_cv_lib_$ac_lib_var=no"
1208 LIBS
="$ac_save_LIBS"
1211 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1212 echo "$ac_t""yes" 1>&6
1213 cat >> confdefs.h
<<\EOF
1214 #define wxHAVE_GLIBC2 1
1218 echo "$ac_t""no" 1>&6
1226 wx_arg_cache_file
="configarg.cache"
1227 echo "loading argument cache $wx_arg_cache_file"
1228 rm -f ${wx_arg_cache_file}.tmp
1229 touch ${wx_arg_cache_file}.tmp
1230 touch ${wx_arg_cache_file}
1234 if test $DEBUG_CONFIGURE = 1; then
1235 DEFAULT_wxUSE_THREADS
=yes
1237 DEFAULT_wxUSE_SHARED
=yes
1238 DEFAULT_wxUSE_BURNT_NAME
=no
1239 DEFAULT_wxUSE_OPTIMISE
=yes
1240 DEFAULT_wxUSE_PROFILE
=no
1241 DEFAULT_wxUSE_NO_DEPS
=no
1242 DEFAULT_wxUSE_NO_RTTI
=no
1243 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1244 DEFAULT_wxUSE_PERMISSIVE
=no
1245 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1246 DEFAULT_wxUSE_DEBUG_INFO
=yes
1247 DEFAULT_wxUSE_DEBUG_GDB
=yes
1248 DEFAULT_wxUSE_MEM_TRACING
=no
1249 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1250 DEFAULT_wxUSE_DMALLOC
=no
1251 DEFAULT_wxUSE_APPLE_IEEE
=no
1253 DEFAULT_wxUSE_LOG
=yes
1255 DEFAULT_wxUSE_GUI
=yes
1257 DEFAULT_wxUSE_ZLIB
=no
1258 DEFAULT_wxUSE_LIBPNG
=no
1259 DEFAULT_wxUSE_LIBJPEG
=no
1260 DEFAULT_wxUSE_LIBTIFF
=no
1261 DEFAULT_wxUSE_ODBC
=no
1262 DEFAULT_wxUSE_OPENGL
=no
1264 DEFAULT_wxUSE_STD_IOSTREAM
=no
1265 DEFAULT_wxUSE_FILE
=no
1266 DEFAULT_wxUSE_TEXTFILE
=no
1267 DEFAULT_wxUSE_TIMEDATE
=no
1268 DEFAULT_wxUSE_WAVE
=no
1269 DEFAULT_wxUSE_INTL
=no
1270 DEFAULT_wxUSE_CONFIG
=no
1271 DEFAULT_wxUSE_STREAMS
=no
1272 DEFAULT_wxUSE_SOCKETS
=no
1273 DEFAULT_wxUSE_DIALUP_MANAGER
=no
1274 DEFAULT_wxUSE_SERIAL
=no
1275 DEFAULT_wxUSE_JOYSTICK
=no
1276 DEFAULT_wxUSE_DYNLIB_CLASS
=no
1277 DEFAULT_wxUSE_LONGLONG
=no
1279 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
1280 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
1281 DEFAULT_wxUSE_POSTSCRIPT
=no
1283 DEFAULT_wxUSE_X_RESOURCES
=no
1284 DEFAULT_wxUSE_CLIPBOARD
=no
1285 DEFAULT_wxUSE_TOOLTIPS
=no
1286 DEFAULT_wxUSE_DRAG_AND_DROP
=no
1287 DEFAULT_wxUSE_SPLINES
=no
1289 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
1290 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
1291 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
1293 DEFAULT_wxUSE_PROLOGIO
=no
1294 DEFAULT_wxUSE_RESOURCES
=no
1295 DEFAULT_wxUSE_CONSTRAINTS
=no
1296 DEFAULT_wxUSE_IPC
=no
1297 DEFAULT_wxUSE_HELP
=no
1298 DEFAULT_wxUSE_WXTREE
=no
1299 DEFAULT_wxUSE_METAFILE
=no
1301 DEFAULT_wxUSE_COMMONDLGS
=no
1302 DEFAULT_wxUSE_DIRDLG
=no
1303 DEFAULT_wxUSE_TEXTDLG
=no
1304 DEFAULT_wxUSE_STARTUP_TIPS
=no
1305 DEFAULT_wxUSE_PROGRESSDLG
=no
1306 DEFAULT_wxUSE_MINIFRAME
=no
1307 DEFAULT_wxUSE_HTML
=no
1308 DEFAULT_wxUSE_FILESYSTEM
=no
1309 DEFAULT_wxUSE_FS_INET
=no
1310 DEFAULT_wxUSE_FS_ZIP
=no
1311 DEFAULT_wxUSE_BUSYINFO
=no
1312 DEFAULT_wxUSE_ZIPSTREAM
=no
1313 DEFAULT_wxUSE_VALIDATORS
=yes
1315 DEFAULT_wxUSE_ACCEL
=no
1316 DEFAULT_wxUSE_CARET
=no
1317 DEFAULT_wxUSE_BMPBUTTON
=no
1318 DEFAULT_wxUSE_CHECKBOX
=no
1319 DEFAULT_wxUSE_CHECKLST
=no
1320 DEFAULT_wxUSE_CHOICE
=yes
1321 DEFAULT_wxUSE_COMBOBOX
=no
1322 DEFAULT_wxUSE_GAUGE
=no
1323 DEFAULT_wxUSE_GRID
=no
1324 DEFAULT_wxUSE_NEW_GRID
=no
1325 DEFAULT_wxUSE_IMAGLIST
=no
1326 DEFAULT_wxUSE_LISTBOX
=no
1327 DEFAULT_wxUSE_LISTCTRL
=no
1328 DEFAULT_wxUSE_NOTEBOOK
=no
1329 DEFAULT_wxUSE_PLOT
=no
1330 DEFAULT_wxUSE_RADIOBOX
=no
1331 DEFAULT_wxUSE_RADIOBTN
=no
1332 DEFAULT_wxUSE_SASH
=no
1333 DEFAULT_wxUSE_SCROLLBAR
=no
1334 DEFAULT_wxUSE_SLIDER
=no
1335 DEFAULT_wxUSE_SPINBTN
=no
1336 DEFAULT_wxUSE_SPINCTRL
=no
1337 DEFAULT_wxUSE_SPLITTER
=no
1338 DEFAULT_wxUSE_STATBMP
=no
1339 DEFAULT_wxUSE_STATBOX
=no
1340 DEFAULT_wxUSE_STATLINE
=no
1341 DEFAULT_wxUSE_STATUSBAR
=yes
1342 DEFAULT_wxUSE_TABDIALOG
=no
1343 DEFAULT_wxUSE_TOOLBAR
=no
1344 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
1345 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
1346 DEFAULT_wxUSE_TREECTRL
=no
1348 DEFAULT_wxUSE_UNICODE
=no
1349 DEFAULT_wxUSE_WCSRTOMBS
=no
1351 DEFAULT_wxUSE_GIF
=no
1352 DEFAULT_wxUSE_PCX
=no
1353 DEFAULT_wxUSE_PNM
=no
1355 DEFAULT_wxUSE_THREADS
=yes
1357 DEFAULT_wxUSE_SHARED
=yes
1358 DEFAULT_wxUSE_BURNT_NAME
=no
1359 DEFAULT_wxUSE_OPTIMISE
=yes
1360 DEFAULT_wxUSE_PROFILE
=no
1361 DEFAULT_wxUSE_NO_DEPS
=no
1362 DEFAULT_wxUSE_NO_RTTI
=no
1363 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1364 DEFAULT_wxUSE_PERMISSIVE
=no
1365 DEFAULT_wxUSE_DEBUG_FLAG
=no
1366 DEFAULT_wxUSE_DEBUG_INFO
=no
1367 DEFAULT_wxUSE_DEBUG_GDB
=no
1368 DEFAULT_wxUSE_MEM_TRACING
=no
1369 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1370 DEFAULT_wxUSE_DMALLOC
=no
1371 DEFAULT_wxUSE_APPLE_IEEE
=yes
1373 DEFAULT_wxUSE_LOG
=yes
1375 DEFAULT_wxUSE_GUI
=yes
1377 DEFAULT_wxUSE_ZLIB
=yes
1378 DEFAULT_wxUSE_LIBPNG
=yes
1379 DEFAULT_wxUSE_LIBJPEG
=yes
1380 DEFAULT_wxUSE_LIBTIFF
=yes
1381 DEFAULT_wxUSE_ODBC
=no
1382 DEFAULT_wxUSE_OPENGL
=no
1384 DEFAULT_wxUSE_STD_IOSTREAM
=no
1385 DEFAULT_wxUSE_FILE
=yes
1386 DEFAULT_wxUSE_TEXTFILE
=yes
1387 DEFAULT_wxUSE_TIMEDATE
=yes
1388 DEFAULT_wxUSE_WAVE
=no
1389 DEFAULT_wxUSE_INTL
=yes
1390 DEFAULT_wxUSE_CONFIG
=yes
1391 DEFAULT_wxUSE_STREAMS
=yes
1392 DEFAULT_wxUSE_SOCKETS
=yes
1393 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
1394 DEFAULT_wxUSE_SERIAL
=yes
1395 DEFAULT_wxUSE_JOYSTICK
=yes
1396 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
1397 DEFAULT_wxUSE_LONGLONG
=yes
1399 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
1400 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
1401 DEFAULT_wxUSE_POSTSCRIPT
=yes
1403 DEFAULT_wxUSE_X_RESOURCES
=no
1404 DEFAULT_wxUSE_CLIPBOARD
=yes
1405 DEFAULT_wxUSE_TOOLTIPS
=yes
1406 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
1407 DEFAULT_wxUSE_SPLINES
=yes
1409 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
1410 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
1411 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
1413 DEFAULT_wxUSE_PROLOGIO
=yes
1414 DEFAULT_wxUSE_RESOURCES
=yes
1415 DEFAULT_wxUSE_CONSTRAINTS
=yes
1416 DEFAULT_wxUSE_IPC
=yes
1417 DEFAULT_wxUSE_HELP
=yes
1418 DEFAULT_wxUSE_WXTREE
=yes
1419 DEFAULT_wxUSE_METAFILE
=yes
1421 DEFAULT_wxUSE_COMMONDLGS
=yes
1422 DEFAULT_wxUSE_DIRDLG
=yes
1423 DEFAULT_wxUSE_TEXTDLG
=yes
1424 DEFAULT_wxUSE_STARTUP_TIPS
=yes
1425 DEFAULT_wxUSE_PROGRESSDLG
=yes
1426 DEFAULT_wxUSE_MINIFRAME
=yes
1427 DEFAULT_wxUSE_HTML
=yes
1428 DEFAULT_wxUSE_FILESYSTEM
=yes
1429 DEFAULT_wxUSE_FS_INET
=yes
1430 DEFAULT_wxUSE_FS_ZIP
=yes
1431 DEFAULT_wxUSE_BUSYINFO
=yes
1432 DEFAULT_wxUSE_ZIPSTREAM
=yes
1433 DEFAULT_wxUSE_VALIDATORS
=yes
1435 DEFAULT_wxUSE_ACCEL
=yes
1436 DEFAULT_wxUSE_CARET
=yes
1437 DEFAULT_wxUSE_BMPBUTTON
=yes
1438 DEFAULT_wxUSE_CHECKBOX
=yes
1439 DEFAULT_wxUSE_CHECKLST
=yes
1440 DEFAULT_wxUSE_CHOICE
=yes
1441 DEFAULT_wxUSE_COMBOBOX
=yes
1442 DEFAULT_wxUSE_GAUGE
=yes
1443 DEFAULT_wxUSE_GRID
=yes
1444 DEFAULT_wxUSE_NEW_GRID
=yes
1445 DEFAULT_wxUSE_IMAGLIST
=yes
1446 DEFAULT_wxUSE_LISTBOX
=yes
1447 DEFAULT_wxUSE_LISTCTRL
=yes
1448 DEFAULT_wxUSE_NOTEBOOK
=yes
1449 DEFAULT_wxUSE_PLOT
=yes
1450 DEFAULT_wxUSE_RADIOBOX
=yes
1451 DEFAULT_wxUSE_RADIOBTN
=yes
1452 DEFAULT_wxUSE_SASH
=yes
1453 DEFAULT_wxUSE_SCROLLBAR
=yes
1454 DEFAULT_wxUSE_SLIDER
=yes
1455 DEFAULT_wxUSE_SPINBTN
=yes
1456 DEFAULT_wxUSE_SPINCTRL
=yes
1457 DEFAULT_wxUSE_SPLITTER
=yes
1458 DEFAULT_wxUSE_STATBMP
=yes
1459 DEFAULT_wxUSE_STATBOX
=yes
1460 DEFAULT_wxUSE_STATLINE
=yes
1461 DEFAULT_wxUSE_STATUSBAR
=yes
1462 DEFAULT_wxUSE_TABDIALOG
=no
1463 DEFAULT_wxUSE_TOOLBAR
=yes
1464 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
1465 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
1466 DEFAULT_wxUSE_TREECTRL
=yes
1468 DEFAULT_wxUSE_UNICODE
=no
1469 DEFAULT_wxUSE_WCSRTOMBS
=no
1471 DEFAULT_wxUSE_GIF
=yes
1472 DEFAULT_wxUSE_PCX
=yes
1473 DEFAULT_wxUSE_PNM
=yes
1478 for toolkit
in `echo $ALL_TOOLKITS`; do
1479 LINE
=`grep "wxUSE_$toolkit" ${wx_arg_cache_file}`
1480 if test "x$LINE" != x
; then
1481 has_toolkit_in_cache
=1
1482 eval "DEFAULT_$LINE"
1483 eval "CACHE_$toolkit=1"
1489 echo $ac_n "checking "for --enable-gui"""... $ac_c" 1>&6
1490 echo "configure:1491: checking "for --enable-gui"" >&5
1492 # Check whether --enable-gui or --disable-gui was given.
1493 if test "${enable_gui+set}" = set; then
1494 enableval
="$enable_gui"
1496 if test "$enableval" = yes; then
1497 ac_cv_use_gui
='wxUSE_GUI=yes'
1499 ac_cv_use_gui
='wxUSE_GUI=no'
1504 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
1505 if test "x$LINE" != x
; then
1506 eval "DEFAULT_$LINE"
1511 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
1516 eval "$ac_cv_use_gui"
1517 if test "$no_cache" != 1; then
1518 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
1521 if test "$wxUSE_GUI" = yes; then
1522 echo "$ac_t""yes" 1>&6
1524 echo "$ac_t""no" 1>&6
1528 if test "$wxUSE_GUI" = "yes"; then
1530 # Check whether --with-gtk or --without-gtk was given.
1531 if test "${with_gtk+set}" = set; then
1533 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
1536 # Check whether --with-motif or --without-motif was given.
1537 if test "${with_motif+set}" = set; then
1538 withval
="$with_motif"
1539 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
1542 # Check whether --with-wine or --without-wine was given.
1543 if test "${with_wine+set}" = set; then
1544 withval
="$with_wine"
1545 wxUSE_WINE
="$withval" CACHE_WINE
=1 TOOLKIT_GIVEN
=1
1548 # Check whether --with-cygwin or --without-cygwin was given.
1549 if test "${with_cygwin+set}" = set; then
1550 withval
="$with_cygwin"
1551 wxUSE_CYGWIN
="$withval" CACHE_CYGWIN
=1 TOOLKIT_GIVEN
=1
1554 # Check whether --with-mingw or --without-mingw was given.
1555 if test "${with_mingw+set}" = set; then
1556 withval
="$with_mingw"
1557 wxUSE_MINGW
="$withval" CACHE_MINGW
=1 TOOLKIT_GIVEN
=1
1560 # Check whether --with-pm or --without-pm was given.
1561 if test "${with_pm+set}" = set; then
1563 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
1567 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
1568 if test "${with_gtk_prefix+set}" = set; then
1569 withval
="$with_gtk_prefix"
1570 gtk_config_prefix
="$withval"
1572 gtk_config_prefix
=""
1575 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
1576 if test "${with_gtk_exec_prefix+set}" = set; then
1577 withval
="$with_gtk_exec_prefix"
1578 gtk_config_exec_prefix
="$withval"
1580 gtk_config_exec_prefix
=""
1585 echo $ac_n "checking "for --with-libpng"""... $ac_c" 1>&6
1586 echo "configure:1587: checking "for --with-libpng"" >&5
1588 # Check whether --with-libpng or --without-libpng was given.
1589 if test "${with_libpng+set}" = set; then
1590 withval
="$with_libpng"
1592 if test "$withval" = yes; then
1593 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
1594 elif test "$withval" = no
; then
1595 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
1596 elif test "$withval" = sys
; then
1597 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
1599 { echo "configure: error: Invalid value for --with-libpng: should be yes, no or sys" 1>&2; exit 1; }
1604 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
1605 if test "x$LINE" != x
; then
1606 eval "DEFAULT_$LINE"
1611 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
1616 eval "$ac_cv_use_libpng"
1617 if test "$no_cache" != 1; then
1618 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
1621 if test "$wxUSE_LIBPNG" = yes; then
1622 echo "$ac_t""yes" 1>&6
1623 elif test "$wxUSE_LIBPNG" = no
; then
1624 echo "$ac_t""no" 1>&6
1625 elif test "$wxUSE_LIBPNG" = sys
; then
1626 echo "$ac_t""system version" 1>&6
1628 { echo "configure: error: Invalid value for --with-libpng: should be yes, no or sys" 1>&2; exit 1; }
1632 echo $ac_n "checking "for --with-libjpeg"""... $ac_c" 1>&6
1633 echo "configure:1634: checking "for --with-libjpeg"" >&5
1635 # Check whether --with-libjpeg or --without-libjpeg was given.
1636 if test "${with_libjpeg+set}" = set; then
1637 withval
="$with_libjpeg"
1639 if test "$withval" = yes; then
1640 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
1641 elif test "$withval" = no
; then
1642 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
1643 elif test "$withval" = sys
; then
1644 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
1646 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no or sys" 1>&2; exit 1; }
1651 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
1652 if test "x$LINE" != x
; then
1653 eval "DEFAULT_$LINE"
1658 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
1663 eval "$ac_cv_use_libjpeg"
1664 if test "$no_cache" != 1; then
1665 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
1668 if test "$wxUSE_LIBJPEG" = yes; then
1669 echo "$ac_t""yes" 1>&6
1670 elif test "$wxUSE_LIBJPEG" = no
; then
1671 echo "$ac_t""no" 1>&6
1672 elif test "$wxUSE_LIBJPEG" = sys
; then
1673 echo "$ac_t""system version" 1>&6
1675 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no or sys" 1>&2; exit 1; }
1679 echo $ac_n "checking "for --with-libtiff"""... $ac_c" 1>&6
1680 echo "configure:1681: checking "for --with-libtiff"" >&5
1682 # Check whether --with-libtiff or --without-libtiff was given.
1683 if test "${with_libtiff+set}" = set; then
1684 withval
="$with_libtiff"
1686 if test "$withval" = yes; then
1687 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
1688 elif test "$withval" = no
; then
1689 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
1690 elif test "$withval" = sys
; then
1691 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
1693 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no or sys" 1>&2; exit 1; }
1698 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
1699 if test "x$LINE" != x
; then
1700 eval "DEFAULT_$LINE"
1705 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
1710 eval "$ac_cv_use_libtiff"
1711 if test "$no_cache" != 1; then
1712 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
1715 if test "$wxUSE_LIBTIFF" = yes; then
1716 echo "$ac_t""yes" 1>&6
1717 elif test "$wxUSE_LIBTIFF" = no
; then
1718 echo "$ac_t""no" 1>&6
1719 elif test "$wxUSE_LIBTIFF" = sys
; then
1720 echo "$ac_t""system version" 1>&6
1722 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no or sys" 1>&2; exit 1; }
1726 echo $ac_n "checking "for --with-opengl"""... $ac_c" 1>&6
1727 echo "configure:1728: checking "for --with-opengl"" >&5
1729 # Check whether --with-opengl or --without-opengl was given.
1730 if test "${with_opengl+set}" = set; then
1731 withval
="$with_opengl"
1733 if test "$withval" = yes; then
1734 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
1736 ac_cv_use_opengl
='wxUSE_OPENGL=no'
1741 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
1742 if test "x$LINE" != x
; then
1743 eval "DEFAULT_$LINE"
1748 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
1753 eval "$ac_cv_use_opengl"
1754 if test "$no_cache" != 1; then
1755 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
1758 if test "$wxUSE_OPENGL" = yes; then
1759 echo "$ac_t""yes" 1>&6
1761 echo "$ac_t""no" 1>&6
1768 echo $ac_n "checking "for --with-dmalloc"""... $ac_c" 1>&6
1769 echo "configure:1770: checking "for --with-dmalloc"" >&5
1771 # Check whether --with-dmalloc or --without-dmalloc was given.
1772 if test "${with_dmalloc+set}" = set; then
1773 withval
="$with_dmalloc"
1775 if test "$withval" = yes; then
1776 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
1778 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
1783 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
1784 if test "x$LINE" != x
; then
1785 eval "DEFAULT_$LINE"
1790 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
1795 eval "$ac_cv_use_dmalloc"
1796 if test "$no_cache" != 1; then
1797 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
1800 if test "$wxUSE_DMALLOC" = yes; then
1801 echo "$ac_t""yes" 1>&6
1803 echo "$ac_t""no" 1>&6
1807 echo $ac_n "checking "for --with-zlib"""... $ac_c" 1>&6
1808 echo "configure:1809: checking "for --with-zlib"" >&5
1810 # Check whether --with-zlib or --without-zlib was given.
1811 if test "${with_zlib+set}" = set; then
1812 withval
="$with_zlib"
1814 if test "$withval" = yes; then
1815 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
1816 elif test "$withval" = no
; then
1817 ac_cv_use_zlib
='wxUSE_ZLIB=no'
1818 elif test "$withval" = sys
; then
1819 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
1821 { echo "configure: error: Invalid value for --with-zlib: should be yes, no or sys" 1>&2; exit 1; }
1826 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
1827 if test "x$LINE" != x
; then
1828 eval "DEFAULT_$LINE"
1833 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
1838 eval "$ac_cv_use_zlib"
1839 if test "$no_cache" != 1; then
1840 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
1843 if test "$wxUSE_ZLIB" = yes; then
1844 echo "$ac_t""yes" 1>&6
1845 elif test "$wxUSE_ZLIB" = no
; then
1846 echo "$ac_t""no" 1>&6
1847 elif test "$wxUSE_ZLIB" = sys
; then
1848 echo "$ac_t""system version" 1>&6
1850 { echo "configure: error: Invalid value for --with-zlib: should be yes, no or sys" 1>&2; exit 1; }
1854 echo $ac_n "checking "for --with-odbc"""... $ac_c" 1>&6
1855 echo "configure:1856: checking "for --with-odbc"" >&5
1857 # Check whether --with-odbc or --without-odbc was given.
1858 if test "${with_odbc+set}" = set; then
1859 withval
="$with_odbc"
1861 if test "$withval" = yes; then
1862 ac_cv_use_odbc
='wxUSE_ODBC=yes'
1864 ac_cv_use_odbc
='wxUSE_ODBC=no'
1869 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
1870 if test "x$LINE" != x
; then
1871 eval "DEFAULT_$LINE"
1876 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
1881 eval "$ac_cv_use_odbc"
1882 if test "$no_cache" != 1; then
1883 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
1886 if test "$wxUSE_ODBC" = yes; then
1887 echo "$ac_t""yes" 1>&6
1889 echo "$ac_t""no" 1>&6
1896 echo $ac_n "checking "for --enable-shared"""... $ac_c" 1>&6
1897 echo "configure:1898: checking "for --enable-shared"" >&5
1899 # Check whether --enable-shared or --disable-shared was given.
1900 if test "${enable_shared+set}" = set; then
1901 enableval
="$enable_shared"
1903 if test "$enableval" = yes; then
1904 ac_cv_use_shared
='wxUSE_SHARED=yes'
1906 ac_cv_use_shared
='wxUSE_SHARED=no'
1911 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
1912 if test "x$LINE" != x
; then
1913 eval "DEFAULT_$LINE"
1918 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
1923 eval "$ac_cv_use_shared"
1924 if test "$no_cache" != 1; then
1925 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
1928 if test "$wxUSE_SHARED" = yes; then
1929 echo "$ac_t""yes" 1>&6
1931 echo "$ac_t""no" 1>&6
1935 echo $ac_n "checking "for --enable-burnt_name"""... $ac_c" 1>&6
1936 echo "configure:1937: checking "for --enable-burnt_name"" >&5
1938 # Check whether --enable-burnt_name or --disable-burnt_name was given.
1939 if test "${enable_burnt_name+set}" = set; then
1940 enableval
="$enable_burnt_name"
1942 if test "$enableval" = yes; then
1943 ac_cv_use_burnt_name
='wxUSE_BURNT_NAME=yes'
1945 ac_cv_use_burnt_name
='wxUSE_BURNT_NAME=no'
1950 LINE
=`grep "wxUSE_BURNT_NAME" ${wx_arg_cache_file}`
1951 if test "x$LINE" != x
; then
1952 eval "DEFAULT_$LINE"
1957 ac_cv_use_burnt_name
='wxUSE_BURNT_NAME='$DEFAULT_wxUSE_BURNT_NAME
1962 eval "$ac_cv_use_burnt_name"
1963 if test "$no_cache" != 1; then
1964 echo $ac_cv_use_burnt_name >> ${wx_arg_cache_file}.tmp
1967 if test "$wxUSE_BURNT_NAME" = yes; then
1968 echo "$ac_t""yes" 1>&6
1970 echo "$ac_t""no" 1>&6
1974 echo $ac_n "checking "for --enable-optimise"""... $ac_c" 1>&6
1975 echo "configure:1976: checking "for --enable-optimise"" >&5
1977 # Check whether --enable-optimise or --disable-optimise was given.
1978 if test "${enable_optimise+set}" = set; then
1979 enableval
="$enable_optimise"
1981 if test "$enableval" = yes; then
1982 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
1984 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
1989 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
1990 if test "x$LINE" != x
; then
1991 eval "DEFAULT_$LINE"
1996 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
2001 eval "$ac_cv_use_optimise"
2002 if test "$no_cache" != 1; then
2003 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
2006 if test "$wxUSE_OPTIMISE" = yes; then
2007 echo "$ac_t""yes" 1>&6
2009 echo "$ac_t""no" 1>&6
2013 echo $ac_n "checking "for --enable-debug"""... $ac_c" 1>&6
2014 echo "configure:2015: checking "for --enable-debug"" >&5
2016 # Check whether --enable-debug or --disable-debug was given.
2017 if test "${enable_debug+set}" = set; then
2018 enableval
="$enable_debug"
2020 if test "$enableval" = yes; then
2021 ac_cv_use_debug
='wxUSE_DEBUG=yes'
2023 ac_cv_use_debug
='wxUSE_DEBUG=no'
2028 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
2029 if test "x$LINE" != x
; then
2030 eval "DEFAULT_$LINE"
2035 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
2040 eval "$ac_cv_use_debug"
2041 if test "$no_cache" != 1; then
2042 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
2045 if test "$wxUSE_DEBUG" = yes; then
2046 echo "$ac_t""yes" 1>&6
2048 echo "$ac_t""no" 1>&6
2052 if test "$wxUSE_DEBUG" = "yes"; then
2053 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2054 DEFAULT_wxUSE_DEBUG_INFO
=yes
2055 elif test "$wxUSE_DEBUG" = "no"; then
2056 DEFAULT_wxUSE_DEBUG_FLAG
=no
2057 DEFAULT_wxUSE_DEBUG_INFO
=no
2061 echo $ac_n "checking "for --enable-debug_flag"""... $ac_c" 1>&6
2062 echo "configure:2063: checking "for --enable-debug_flag"" >&5
2064 # Check whether --enable-debug_flag or --disable-debug_flag was given.
2065 if test "${enable_debug_flag+set}" = set; then
2066 enableval
="$enable_debug_flag"
2068 if test "$enableval" = yes; then
2069 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
2071 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
2076 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
2077 if test "x$LINE" != x
; then
2078 eval "DEFAULT_$LINE"
2083 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
2088 eval "$ac_cv_use_debug_flag"
2089 if test "$no_cache" != 1; then
2090 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
2093 if test "$wxUSE_DEBUG_FLAG" = yes; then
2094 echo "$ac_t""yes" 1>&6
2096 echo "$ac_t""no" 1>&6
2100 echo $ac_n "checking "for --enable-debug_info"""... $ac_c" 1>&6
2101 echo "configure:2102: checking "for --enable-debug_info"" >&5
2103 # Check whether --enable-debug_info or --disable-debug_info was given.
2104 if test "${enable_debug_info+set}" = set; then
2105 enableval
="$enable_debug_info"
2107 if test "$enableval" = yes; then
2108 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
2110 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
2115 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
2116 if test "x$LINE" != x
; then
2117 eval "DEFAULT_$LINE"
2122 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
2127 eval "$ac_cv_use_debug_info"
2128 if test "$no_cache" != 1; then
2129 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
2132 if test "$wxUSE_DEBUG_INFO" = yes; then
2133 echo "$ac_t""yes" 1>&6
2135 echo "$ac_t""no" 1>&6
2139 echo $ac_n "checking "for --enable-debug_gdb"""... $ac_c" 1>&6
2140 echo "configure:2141: checking "for --enable-debug_gdb"" >&5
2142 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
2143 if test "${enable_debug_gdb+set}" = set; then
2144 enableval
="$enable_debug_gdb"
2146 if test "$enableval" = yes; then
2147 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
2149 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
2154 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
2155 if test "x$LINE" != x
; then
2156 eval "DEFAULT_$LINE"
2161 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
2166 eval "$ac_cv_use_debug_gdb"
2167 if test "$no_cache" != 1; then
2168 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
2171 if test "$wxUSE_DEBUG_GDB" = yes; then
2172 echo "$ac_t""yes" 1>&6
2174 echo "$ac_t""no" 1>&6
2178 echo $ac_n "checking "for --enable-debug_cntxt"""... $ac_c" 1>&6
2179 echo "configure:2180: checking "for --enable-debug_cntxt"" >&5
2181 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
2182 if test "${enable_debug_cntxt+set}" = set; then
2183 enableval
="$enable_debug_cntxt"
2185 if test "$enableval" = yes; then
2186 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
2188 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
2193 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2194 if test "x$LINE" != x
; then
2195 eval "DEFAULT_$LINE"
2200 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2205 eval "$ac_cv_use_debug_cntxt"
2206 if test "$no_cache" != 1; then
2207 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2210 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2211 echo "$ac_t""yes" 1>&6
2213 echo "$ac_t""no" 1>&6
2217 echo $ac_n "checking "for --enable-mem_tracing"""... $ac_c" 1>&6
2218 echo "configure:2219: checking "for --enable-mem_tracing"" >&5
2220 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2221 if test "${enable_mem_tracing+set}" = set; then
2222 enableval
="$enable_mem_tracing"
2224 if test "$enableval" = yes; then
2225 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
2227 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
2232 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2233 if test "x$LINE" != x
; then
2234 eval "DEFAULT_$LINE"
2239 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2244 eval "$ac_cv_use_mem_tracing"
2245 if test "$no_cache" != 1; then
2246 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2249 if test "$wxUSE_MEM_TRACING" = yes; then
2250 echo "$ac_t""yes" 1>&6
2252 echo "$ac_t""no" 1>&6
2256 echo $ac_n "checking "for --enable-profile"""... $ac_c" 1>&6
2257 echo "configure:2258: checking "for --enable-profile"" >&5
2259 # Check whether --enable-profile or --disable-profile was given.
2260 if test "${enable_profile+set}" = set; then
2261 enableval
="$enable_profile"
2263 if test "$enableval" = yes; then
2264 ac_cv_use_profile
='wxUSE_PROFILE=yes'
2266 ac_cv_use_profile
='wxUSE_PROFILE=no'
2271 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2272 if test "x$LINE" != x
; then
2273 eval "DEFAULT_$LINE"
2278 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2283 eval "$ac_cv_use_profile"
2284 if test "$no_cache" != 1; then
2285 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2288 if test "$wxUSE_PROFILE" = yes; then
2289 echo "$ac_t""yes" 1>&6
2291 echo "$ac_t""no" 1>&6
2295 echo $ac_n "checking "for --enable-no_rtti"""... $ac_c" 1>&6
2296 echo "configure:2297: checking "for --enable-no_rtti"" >&5
2298 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2299 if test "${enable_no_rtti+set}" = set; then
2300 enableval
="$enable_no_rtti"
2302 if test "$enableval" = yes; then
2303 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
2305 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
2310 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2311 if test "x$LINE" != x
; then
2312 eval "DEFAULT_$LINE"
2317 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2322 eval "$ac_cv_use_no_rtti"
2323 if test "$no_cache" != 1; then
2324 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2327 if test "$wxUSE_NO_RTTI" = yes; then
2328 echo "$ac_t""yes" 1>&6
2330 echo "$ac_t""no" 1>&6
2334 echo $ac_n "checking "for --enable-no_exceptions"""... $ac_c" 1>&6
2335 echo "configure:2336: checking "for --enable-no_exceptions"" >&5
2337 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2338 if test "${enable_no_exceptions+set}" = set; then
2339 enableval
="$enable_no_exceptions"
2341 if test "$enableval" = yes; then
2342 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
2344 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
2349 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2350 if test "x$LINE" != x
; then
2351 eval "DEFAULT_$LINE"
2356 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2361 eval "$ac_cv_use_no_exceptions"
2362 if test "$no_cache" != 1; then
2363 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2366 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2367 echo "$ac_t""yes" 1>&6
2369 echo "$ac_t""no" 1>&6
2373 echo $ac_n "checking "for --enable-permissive"""... $ac_c" 1>&6
2374 echo "configure:2375: checking "for --enable-permissive"" >&5
2376 # Check whether --enable-permissive or --disable-permissive was given.
2377 if test "${enable_permissive+set}" = set; then
2378 enableval
="$enable_permissive"
2380 if test "$enableval" = yes; then
2381 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
2383 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
2388 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2389 if test "x$LINE" != x
; then
2390 eval "DEFAULT_$LINE"
2395 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
2400 eval "$ac_cv_use_permissive"
2401 if test "$no_cache" != 1; then
2402 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
2405 if test "$wxUSE_PERMISSIVE" = yes; then
2406 echo "$ac_t""yes" 1>&6
2408 echo "$ac_t""no" 1>&6
2412 echo $ac_n "checking "for --enable-no_deps"""... $ac_c" 1>&6
2413 echo "configure:2414: checking "for --enable-no_deps"" >&5
2415 # Check whether --enable-no_deps or --disable-no_deps was given.
2416 if test "${enable_no_deps+set}" = set; then
2417 enableval
="$enable_no_deps"
2419 if test "$enableval" = yes; then
2420 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
2422 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
2427 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
2428 if test "x$LINE" != x
; then
2429 eval "DEFAULT_$LINE"
2434 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
2439 eval "$ac_cv_use_no_deps"
2440 if test "$no_cache" != 1; then
2441 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
2444 if test "$wxUSE_NO_DEPS" = yes; then
2445 echo "$ac_t""yes" 1>&6
2447 echo "$ac_t""no" 1>&6
2453 echo $ac_n "checking "for --enable-intl"""... $ac_c" 1>&6
2454 echo "configure:2455: checking "for --enable-intl"" >&5
2456 # Check whether --enable-intl or --disable-intl was given.
2457 if test "${enable_intl+set}" = set; then
2458 enableval
="$enable_intl"
2460 if test "$enableval" = yes; then
2461 ac_cv_use_intl
='wxUSE_INTL=yes'
2463 ac_cv_use_intl
='wxUSE_INTL=no'
2468 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
2469 if test "x$LINE" != x
; then
2470 eval "DEFAULT_$LINE"
2475 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
2480 eval "$ac_cv_use_intl"
2481 if test "$no_cache" != 1; then
2482 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
2485 if test "$wxUSE_INTL" = yes; then
2486 echo "$ac_t""yes" 1>&6
2488 echo "$ac_t""no" 1>&6
2492 echo $ac_n "checking "for --enable-config"""... $ac_c" 1>&6
2493 echo "configure:2494: checking "for --enable-config"" >&5
2495 # Check whether --enable-config or --disable-config was given.
2496 if test "${enable_config+set}" = set; then
2497 enableval
="$enable_config"
2499 if test "$enableval" = yes; then
2500 ac_cv_use_config
='wxUSE_CONFIG=yes'
2502 ac_cv_use_config
='wxUSE_CONFIG=no'
2507 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
2508 if test "x$LINE" != x
; then
2509 eval "DEFAULT_$LINE"
2514 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
2519 eval "$ac_cv_use_config"
2520 if test "$no_cache" != 1; then
2521 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
2524 if test "$wxUSE_CONFIG" = yes; then
2525 echo "$ac_t""yes" 1>&6
2527 echo "$ac_t""no" 1>&6
2532 echo $ac_n "checking "for --enable-sockets"""... $ac_c" 1>&6
2533 echo "configure:2534: checking "for --enable-sockets"" >&5
2535 # Check whether --enable-sockets or --disable-sockets was given.
2536 if test "${enable_sockets+set}" = set; then
2537 enableval
="$enable_sockets"
2539 if test "$enableval" = yes; then
2540 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
2542 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
2547 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
2548 if test "x$LINE" != x
; then
2549 eval "DEFAULT_$LINE"
2554 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
2559 eval "$ac_cv_use_sockets"
2560 if test "$no_cache" != 1; then
2561 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
2564 if test "$wxUSE_SOCKETS" = yes; then
2565 echo "$ac_t""yes" 1>&6
2567 echo "$ac_t""no" 1>&6
2572 echo $ac_n "checking "for --enable-dialupman"""... $ac_c" 1>&6
2573 echo "configure:2574: checking "for --enable-dialupman"" >&5
2575 # Check whether --enable-dialupman or --disable-dialupman was given.
2576 if test "${enable_dialupman+set}" = set; then
2577 enableval
="$enable_dialupman"
2579 if test "$enableval" = yes; then
2580 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
2582 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
2587 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
2588 if test "x$LINE" != x
; then
2589 eval "DEFAULT_$LINE"
2594 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
2599 eval "$ac_cv_use_dialupman"
2600 if test "$no_cache" != 1; then
2601 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
2604 if test "$wxUSE_DIALUP_MANAGER" = yes; then
2605 echo "$ac_t""yes" 1>&6
2607 echo "$ac_t""no" 1>&6
2611 echo $ac_n "checking "for --enable-ipc"""... $ac_c" 1>&6
2612 echo "configure:2613: checking "for --enable-ipc"" >&5
2614 # Check whether --enable-ipc or --disable-ipc was given.
2615 if test "${enable_ipc+set}" = set; then
2616 enableval
="$enable_ipc"
2618 if test "$enableval" = yes; then
2619 ac_cv_use_ipc
='wxUSE_IPC=yes'
2621 ac_cv_use_ipc
='wxUSE_IPC=no'
2626 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
2627 if test "x$LINE" != x
; then
2628 eval "DEFAULT_$LINE"
2633 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
2638 eval "$ac_cv_use_ipc"
2639 if test "$no_cache" != 1; then
2640 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
2643 if test "$wxUSE_IPC" = yes; then
2644 echo "$ac_t""yes" 1>&6
2646 echo "$ac_t""no" 1>&6
2650 echo $ac_n "checking "for --enable-apple_ieee"""... $ac_c" 1>&6
2651 echo "configure:2652: checking "for --enable-apple_ieee"" >&5
2653 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
2654 if test "${enable_apple_ieee+set}" = set; then
2655 enableval
="$enable_apple_ieee"
2657 if test "$enableval" = yes; then
2658 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
2660 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
2665 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
2666 if test "x$LINE" != x
; then
2667 eval "DEFAULT_$LINE"
2672 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
2677 eval "$ac_cv_use_apple_ieee"
2678 if test "$no_cache" != 1; then
2679 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
2682 if test "$wxUSE_APPLE_IEEE" = yes; then
2683 echo "$ac_t""yes" 1>&6
2685 echo "$ac_t""no" 1>&6
2689 echo $ac_n "checking "for --enable-timedate"""... $ac_c" 1>&6
2690 echo "configure:2691: checking "for --enable-timedate"" >&5
2692 # Check whether --enable-timedate or --disable-timedate was given.
2693 if test "${enable_timedate+set}" = set; then
2694 enableval
="$enable_timedate"
2696 if test "$enableval" = yes; then
2697 ac_cv_use_timedate
='wxUSE_TIMEDATE=yes'
2699 ac_cv_use_timedate
='wxUSE_TIMEDATE=no'
2704 LINE
=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}`
2705 if test "x$LINE" != x
; then
2706 eval "DEFAULT_$LINE"
2711 ac_cv_use_timedate
='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
2716 eval "$ac_cv_use_timedate"
2717 if test "$no_cache" != 1; then
2718 echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp
2721 if test "$wxUSE_TIMEDATE" = yes; then
2722 echo "$ac_t""yes" 1>&6
2724 echo "$ac_t""no" 1>&6
2728 echo $ac_n "checking "for --enable-wave"""... $ac_c" 1>&6
2729 echo "configure:2730: checking "for --enable-wave"" >&5
2731 # Check whether --enable-wave or --disable-wave was given.
2732 if test "${enable_wave+set}" = set; then
2733 enableval
="$enable_wave"
2735 if test "$enableval" = yes; then
2736 ac_cv_use_wave
='wxUSE_WAVE=yes'
2738 ac_cv_use_wave
='wxUSE_WAVE=no'
2743 LINE
=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
2744 if test "x$LINE" != x
; then
2745 eval "DEFAULT_$LINE"
2750 ac_cv_use_wave
='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
2755 eval "$ac_cv_use_wave"
2756 if test "$no_cache" != 1; then
2757 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
2760 if test "$wxUSE_WAVE" = yes; then
2761 echo "$ac_t""yes" 1>&6
2763 echo "$ac_t""no" 1>&6
2767 echo $ac_n "checking "for --enable-fraction"""... $ac_c" 1>&6
2768 echo "configure:2769: checking "for --enable-fraction"" >&5
2770 # Check whether --enable-fraction or --disable-fraction was given.
2771 if test "${enable_fraction+set}" = set; then
2772 enableval
="$enable_fraction"
2774 if test "$enableval" = yes; then
2775 ac_cv_use_fraction
='wxUSE_FRACTION=yes'
2777 ac_cv_use_fraction
='wxUSE_FRACTION=no'
2782 LINE
=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
2783 if test "x$LINE" != x
; then
2784 eval "DEFAULT_$LINE"
2789 ac_cv_use_fraction
='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
2794 eval "$ac_cv_use_fraction"
2795 if test "$no_cache" != 1; then
2796 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
2799 if test "$wxUSE_FRACTION" = yes; then
2800 echo "$ac_t""yes" 1>&6
2802 echo "$ac_t""no" 1>&6
2806 echo $ac_n "checking "for --enable-dynlib"""... $ac_c" 1>&6
2807 echo "configure:2808: checking "for --enable-dynlib"" >&5
2809 # Check whether --enable-dynlib or --disable-dynlib was given.
2810 if test "${enable_dynlib+set}" = set; then
2811 enableval
="$enable_dynlib"
2813 if test "$enableval" = yes; then
2814 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
2816 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
2821 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
2822 if test "x$LINE" != x
; then
2823 eval "DEFAULT_$LINE"
2828 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
2833 eval "$ac_cv_use_dynlib"
2834 if test "$no_cache" != 1; then
2835 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
2838 if test "$wxUSE_DYNLIB_CLASS" = yes; then
2839 echo "$ac_t""yes" 1>&6
2841 echo "$ac_t""no" 1>&6
2845 echo $ac_n "checking "for --enable-longlong"""... $ac_c" 1>&6
2846 echo "configure:2847: checking "for --enable-longlong"" >&5
2848 # Check whether --enable-longlong or --disable-longlong was given.
2849 if test "${enable_longlong+set}" = set; then
2850 enableval
="$enable_longlong"
2852 if test "$enableval" = yes; then
2853 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
2855 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
2860 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
2861 if test "x$LINE" != x
; then
2862 eval "DEFAULT_$LINE"
2867 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
2872 eval "$ac_cv_use_longlong"
2873 if test "$no_cache" != 1; then
2874 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
2877 if test "$wxUSE_LONGLONG" = yes; then
2878 echo "$ac_t""yes" 1>&6
2880 echo "$ac_t""no" 1>&6
2884 echo $ac_n "checking "for --enable-log"""... $ac_c" 1>&6
2885 echo "configure:2886: checking "for --enable-log"" >&5
2887 # Check whether --enable-log or --disable-log was given.
2888 if test "${enable_log+set}" = set; then
2889 enableval
="$enable_log"
2891 if test "$enableval" = yes; then
2892 ac_cv_use_log
='wxUSE_LOG=yes'
2894 ac_cv_use_log
='wxUSE_LOG=no'
2899 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
2900 if test "x$LINE" != x
; then
2901 eval "DEFAULT_$LINE"
2906 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
2911 eval "$ac_cv_use_log"
2912 if test "$no_cache" != 1; then
2913 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
2916 if test "$wxUSE_LOG" = yes; then
2917 echo "$ac_t""yes" 1>&6
2919 echo "$ac_t""no" 1>&6
2923 echo $ac_n "checking "for --enable-streams"""... $ac_c" 1>&6
2924 echo "configure:2925: checking "for --enable-streams"" >&5
2926 # Check whether --enable-streams or --disable-streams was given.
2927 if test "${enable_streams+set}" = set; then
2928 enableval
="$enable_streams"
2930 if test "$enableval" = yes; then
2931 ac_cv_use_streams
='wxUSE_STREAMS=yes'
2933 ac_cv_use_streams
='wxUSE_STREAMS=no'
2938 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
2939 if test "x$LINE" != x
; then
2940 eval "DEFAULT_$LINE"
2945 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
2950 eval "$ac_cv_use_streams"
2951 if test "$no_cache" != 1; then
2952 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
2955 if test "$wxUSE_STREAMS" = yes; then
2956 echo "$ac_t""yes" 1>&6
2958 echo "$ac_t""no" 1>&6
2962 echo $ac_n "checking "for --enable-file"""... $ac_c" 1>&6
2963 echo "configure:2964: checking "for --enable-file"" >&5
2965 # Check whether --enable-file or --disable-file was given.
2966 if test "${enable_file+set}" = set; then
2967 enableval
="$enable_file"
2969 if test "$enableval" = yes; then
2970 ac_cv_use_file
='wxUSE_FILE=yes'
2972 ac_cv_use_file
='wxUSE_FILE=no'
2977 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
2978 if test "x$LINE" != x
; then
2979 eval "DEFAULT_$LINE"
2984 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
2989 eval "$ac_cv_use_file"
2990 if test "$no_cache" != 1; then
2991 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
2994 if test "$wxUSE_FILE" = yes; then
2995 echo "$ac_t""yes" 1>&6
2997 echo "$ac_t""no" 1>&6
3001 echo $ac_n "checking "for --enable-textfile"""... $ac_c" 1>&6
3002 echo "configure:3003: checking "for --enable-textfile"" >&5
3004 # Check whether --enable-textfile or --disable-textfile was given.
3005 if test "${enable_textfile+set}" = set; then
3006 enableval
="$enable_textfile"
3008 if test "$enableval" = yes; then
3009 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
3011 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
3016 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
3017 if test "x$LINE" != x
; then
3018 eval "DEFAULT_$LINE"
3023 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
3028 eval "$ac_cv_use_textfile"
3029 if test "$no_cache" != 1; then
3030 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
3033 if test "$wxUSE_TEXTFILE" = yes; then
3034 echo "$ac_t""yes" 1>&6
3036 echo "$ac_t""no" 1>&6
3040 echo $ac_n "checking "for --enable-unicode"""... $ac_c" 1>&6
3041 echo "configure:3042: checking "for --enable-unicode"" >&5
3043 # Check whether --enable-unicode or --disable-unicode was given.
3044 if test "${enable_unicode+set}" = set; then
3045 enableval
="$enable_unicode"
3047 if test "$enableval" = yes; then
3048 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
3050 ac_cv_use_unicode
='wxUSE_UNICODE=no'
3055 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
3056 if test "x$LINE" != x
; then
3057 eval "DEFAULT_$LINE"
3062 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
3067 eval "$ac_cv_use_unicode"
3068 if test "$no_cache" != 1; then
3069 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
3072 if test "$wxUSE_UNICODE" = yes; then
3073 echo "$ac_t""yes" 1>&6
3075 echo "$ac_t""no" 1>&6
3079 echo $ac_n "checking "for --enable-wcsrtombs"""... $ac_c" 1>&6
3080 echo "configure:3081: checking "for --enable-wcsrtombs"" >&5
3082 # Check whether --enable-wcsrtombs or --disable-wcsrtombs was given.
3083 if test "${enable_wcsrtombs+set}" = set; then
3084 enableval
="$enable_wcsrtombs"
3086 if test "$enableval" = yes; then
3087 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS=yes'
3089 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS=no'
3094 LINE
=`grep "wxUSE_WCSRTOMBS" ${wx_arg_cache_file}`
3095 if test "x$LINE" != x
; then
3096 eval "DEFAULT_$LINE"
3101 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS='$DEFAULT_wxUSE_WCSRTOMBS
3106 eval "$ac_cv_use_wcsrtombs"
3107 if test "$no_cache" != 1; then
3108 echo $ac_cv_use_wcsrtombs >> ${wx_arg_cache_file}.tmp
3111 if test "$wxUSE_WCSRTOMBS" = yes; then
3112 echo "$ac_t""yes" 1>&6
3114 echo "$ac_t""no" 1>&6
3118 echo $ac_n "checking "for --enable-wxprintfv"""... $ac_c" 1>&6
3119 echo "configure:3120: checking "for --enable-wxprintfv"" >&5
3121 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
3122 if test "${enable_wxprintfv+set}" = set; then
3123 enableval
="$enable_wxprintfv"
3125 if test "$enableval" = yes; then
3126 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
3128 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
3133 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
3134 if test "x$LINE" != x
; then
3135 eval "DEFAULT_$LINE"
3140 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
3145 eval "$ac_cv_use_wxprintfv"
3146 if test "$no_cache" != 1; then
3147 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
3150 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
3151 echo "$ac_t""yes" 1>&6
3153 echo "$ac_t""no" 1>&6
3157 echo $ac_n "checking "for --enable-joystick"""... $ac_c" 1>&6
3158 echo "configure:3159: checking "for --enable-joystick"" >&5
3160 # Check whether --enable-joystick or --disable-joystick was given.
3161 if test "${enable_joystick+set}" = set; then
3162 enableval
="$enable_joystick"
3164 if test "$enableval" = yes; then
3165 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
3167 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
3172 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
3173 if test "x$LINE" != x
; then
3174 eval "DEFAULT_$LINE"
3179 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
3184 eval "$ac_cv_use_joystick"
3185 if test "$no_cache" != 1; then
3186 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
3189 if test "$wxUSE_JOYSTICK" = yes; then
3190 echo "$ac_t""yes" 1>&6
3192 echo "$ac_t""no" 1>&6
3196 echo $ac_n "checking "for --enable-std_iostreams"""... $ac_c" 1>&6
3197 echo "configure:3198: checking "for --enable-std_iostreams"" >&5
3199 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
3200 if test "${enable_std_iostreams+set}" = set; then
3201 enableval
="$enable_std_iostreams"
3203 if test "$enableval" = yes; then
3204 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
3206 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
3211 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
3212 if test "x$LINE" != x
; then
3213 eval "DEFAULT_$LINE"
3218 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
3223 eval "$ac_cv_use_std_iostreams"
3224 if test "$no_cache" != 1; then
3225 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
3228 if test "$wxUSE_STD_IOSTREAM" = yes; then
3229 echo "$ac_t""yes" 1>&6
3231 echo "$ac_t""no" 1>&6
3235 echo $ac_n "checking "for --enable-filesystem"""... $ac_c" 1>&6
3236 echo "configure:3237: checking "for --enable-filesystem"" >&5
3238 # Check whether --enable-filesystem or --disable-filesystem was given.
3239 if test "${enable_filesystem+set}" = set; then
3240 enableval
="$enable_filesystem"
3242 if test "$enableval" = yes; then
3243 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
3245 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
3250 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
3251 if test "x$LINE" != x
; then
3252 eval "DEFAULT_$LINE"
3257 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
3262 eval "$ac_cv_use_filesystem"
3263 if test "$no_cache" != 1; then
3264 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
3267 if test "$wxUSE_FILESYSTEM" = yes; then
3268 echo "$ac_t""yes" 1>&6
3270 echo "$ac_t""no" 1>&6
3274 echo $ac_n "checking "for --enable-fs_inet"""... $ac_c" 1>&6
3275 echo "configure:3276: checking "for --enable-fs_inet"" >&5
3277 # Check whether --enable-fs_inet or --disable-fs_inet was given.
3278 if test "${enable_fs_inet+set}" = set; then
3279 enableval
="$enable_fs_inet"
3281 if test "$enableval" = yes; then
3282 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
3284 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
3289 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
3290 if test "x$LINE" != x
; then
3291 eval "DEFAULT_$LINE"
3296 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
3301 eval "$ac_cv_use_fs_inet"
3302 if test "$no_cache" != 1; then
3303 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
3306 if test "$wxUSE_FS_INET" = yes; then
3307 echo "$ac_t""yes" 1>&6
3309 echo "$ac_t""no" 1>&6
3313 echo $ac_n "checking "for --enable-fs_zip"""... $ac_c" 1>&6
3314 echo "configure:3315: checking "for --enable-fs_zip"" >&5
3316 # Check whether --enable-fs_zip or --disable-fs_zip was given.
3317 if test "${enable_fs_zip+set}" = set; then
3318 enableval
="$enable_fs_zip"
3320 if test "$enableval" = yes; then
3321 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
3323 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
3328 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
3329 if test "x$LINE" != x
; then
3330 eval "DEFAULT_$LINE"
3335 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
3340 eval "$ac_cv_use_fs_zip"
3341 if test "$no_cache" != 1; then
3342 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
3345 if test "$wxUSE_FS_ZIP" = yes; then
3346 echo "$ac_t""yes" 1>&6
3348 echo "$ac_t""no" 1>&6
3352 echo $ac_n "checking "for --enable-zipstream"""... $ac_c" 1>&6
3353 echo "configure:3354: checking "for --enable-zipstream"" >&5
3355 # Check whether --enable-zipstream or --disable-zipstream was given.
3356 if test "${enable_zipstream+set}" = set; then
3357 enableval
="$enable_zipstream"
3359 if test "$enableval" = yes; then
3360 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
3362 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
3367 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
3368 if test "x$LINE" != x
; then
3369 eval "DEFAULT_$LINE"
3374 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
3379 eval "$ac_cv_use_zipstream"
3380 if test "$no_cache" != 1; then
3381 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
3384 if test "$wxUSE_ZIPSTREAM" = yes; then
3385 echo "$ac_t""yes" 1>&6
3387 echo "$ac_t""no" 1>&6
3393 echo $ac_n "checking "for --enable-threads"""... $ac_c" 1>&6
3394 echo "configure:3395: checking "for --enable-threads"" >&5
3396 # Check whether --enable-threads or --disable-threads was given.
3397 if test "${enable_threads+set}" = set; then
3398 enableval
="$enable_threads"
3400 if test "$enableval" = yes; then
3401 ac_cv_use_threads
='wxUSE_THREADS=yes'
3403 ac_cv_use_threads
='wxUSE_THREADS=no'
3408 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
3409 if test "x$LINE" != x
; then
3410 eval "DEFAULT_$LINE"
3415 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
3420 eval "$ac_cv_use_threads"
3421 if test "$no_cache" != 1; then
3422 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
3425 if test "$wxUSE_THREADS" = yes; then
3426 echo "$ac_t""yes" 1>&6
3428 echo "$ac_t""no" 1>&6
3432 echo $ac_n "checking "for --enable-serial"""... $ac_c" 1>&6
3433 echo "configure:3434: checking "for --enable-serial"" >&5
3435 # Check whether --enable-serial or --disable-serial was given.
3436 if test "${enable_serial+set}" = set; then
3437 enableval
="$enable_serial"
3439 if test "$enableval" = yes; then
3440 ac_cv_use_serial
='wxUSE_SERIAL=yes'
3442 ac_cv_use_serial
='wxUSE_SERIAL=no'
3447 LINE
=`grep "wxUSE_SERIAL" ${wx_arg_cache_file}`
3448 if test "x$LINE" != x
; then
3449 eval "DEFAULT_$LINE"
3454 ac_cv_use_serial
='wxUSE_SERIAL='$DEFAULT_wxUSE_SERIAL
3459 eval "$ac_cv_use_serial"
3460 if test "$no_cache" != 1; then
3461 echo $ac_cv_use_serial >> ${wx_arg_cache_file}.tmp
3464 if test "$wxUSE_SERIAL" = yes; then
3465 echo "$ac_t""yes" 1>&6
3467 echo "$ac_t""no" 1>&6
3471 if test "$wxUSE_GUI" = "yes"; then
3475 echo $ac_n "checking "for --enable-docview"""... $ac_c" 1>&6
3476 echo "configure:3477: checking "for --enable-docview"" >&5
3478 # Check whether --enable-docview or --disable-docview was given.
3479 if test "${enable_docview+set}" = set; then
3480 enableval
="$enable_docview"
3482 if test "$enableval" = yes; then
3483 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
3485 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
3490 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
3491 if test "x$LINE" != x
; then
3492 eval "DEFAULT_$LINE"
3497 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
3502 eval "$ac_cv_use_docview"
3503 if test "$no_cache" != 1; then
3504 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
3507 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
3508 echo "$ac_t""yes" 1>&6
3510 echo "$ac_t""no" 1>&6
3514 echo $ac_n "checking "for --enable-help"""... $ac_c" 1>&6
3515 echo "configure:3516: checking "for --enable-help"" >&5
3517 # Check whether --enable-help or --disable-help was given.
3518 if test "${enable_help+set}" = set; then
3519 enableval
="$enable_help"
3521 if test "$enableval" = yes; then
3522 ac_cv_use_help
='wxUSE_HELP=yes'
3524 ac_cv_use_help
='wxUSE_HELP=no'
3529 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
3530 if test "x$LINE" != x
; then
3531 eval "DEFAULT_$LINE"
3536 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
3541 eval "$ac_cv_use_help"
3542 if test "$no_cache" != 1; then
3543 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
3546 if test "$wxUSE_HELP" = yes; then
3547 echo "$ac_t""yes" 1>&6
3549 echo "$ac_t""no" 1>&6
3553 echo $ac_n "checking "for --enable-constraints"""... $ac_c" 1>&6
3554 echo "configure:3555: checking "for --enable-constraints"" >&5
3556 # Check whether --enable-constraints or --disable-constraints was given.
3557 if test "${enable_constraints+set}" = set; then
3558 enableval
="$enable_constraints"
3560 if test "$enableval" = yes; then
3561 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
3563 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
3568 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
3569 if test "x$LINE" != x
; then
3570 eval "DEFAULT_$LINE"
3575 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
3580 eval "$ac_cv_use_constraints"
3581 if test "$no_cache" != 1; then
3582 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
3585 if test "$wxUSE_CONSTRAINTS" = yes; then
3586 echo "$ac_t""yes" 1>&6
3588 echo "$ac_t""no" 1>&6
3592 echo $ac_n "checking "for --enable-printarch"""... $ac_c" 1>&6
3593 echo "configure:3594: checking "for --enable-printarch"" >&5
3595 # Check whether --enable-printarch or --disable-printarch was given.
3596 if test "${enable_printarch+set}" = set; then
3597 enableval
="$enable_printarch"
3599 if test "$enableval" = yes; then
3600 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
3602 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
3607 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
3608 if test "x$LINE" != x
; then
3609 eval "DEFAULT_$LINE"
3614 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
3619 eval "$ac_cv_use_printarch"
3620 if test "$no_cache" != 1; then
3621 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
3624 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
3625 echo "$ac_t""yes" 1>&6
3627 echo "$ac_t""no" 1>&6
3631 echo $ac_n "checking "for --enable-mdi"""... $ac_c" 1>&6
3632 echo "configure:3633: checking "for --enable-mdi"" >&5
3634 # Check whether --enable-mdi or --disable-mdi was given.
3635 if test "${enable_mdi+set}" = set; then
3636 enableval
="$enable_mdi"
3638 if test "$enableval" = yes; then
3639 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=yes'
3641 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=no'
3646 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
3647 if test "x$LINE" != x
; then
3648 eval "DEFAULT_$LINE"
3653 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
3658 eval "$ac_cv_use_mdi"
3659 if test "$no_cache" != 1; then
3660 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
3663 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
3664 echo "$ac_t""yes" 1>&6
3666 echo "$ac_t""no" 1>&6
3671 echo $ac_n "checking "for --enable-postscript"""... $ac_c" 1>&6
3672 echo "configure:3673: checking "for --enable-postscript"" >&5
3674 # Check whether --enable-postscript or --disable-postscript was given.
3675 if test "${enable_postscript+set}" = set; then
3676 enableval
="$enable_postscript"
3678 if test "$enableval" = yes; then
3679 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
3681 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
3686 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
3687 if test "x$LINE" != x
; then
3688 eval "DEFAULT_$LINE"
3693 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
3698 eval "$ac_cv_use_postscript"
3699 if test "$no_cache" != 1; then
3700 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
3703 if test "$wxUSE_POSTSCRIPT" = yes; then
3704 echo "$ac_t""yes" 1>&6
3706 echo "$ac_t""no" 1>&6
3712 echo $ac_n "checking "for --enable-prologio"""... $ac_c" 1>&6
3713 echo "configure:3714: checking "for --enable-prologio"" >&5
3715 # Check whether --enable-prologio or --disable-prologio was given.
3716 if test "${enable_prologio+set}" = set; then
3717 enableval
="$enable_prologio"
3719 if test "$enableval" = yes; then
3720 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
3722 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
3727 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
3728 if test "x$LINE" != x
; then
3729 eval "DEFAULT_$LINE"
3734 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
3739 eval "$ac_cv_use_prologio"
3740 if test "$no_cache" != 1; then
3741 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
3744 if test "$wxUSE_PROLOGIO" = yes; then
3745 echo "$ac_t""yes" 1>&6
3747 echo "$ac_t""no" 1>&6
3751 echo $ac_n "checking "for --enable-resources"""... $ac_c" 1>&6
3752 echo "configure:3753: checking "for --enable-resources"" >&5
3754 # Check whether --enable-resources or --disable-resources was given.
3755 if test "${enable_resources+set}" = set; then
3756 enableval
="$enable_resources"
3758 if test "$enableval" = yes; then
3759 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
3761 ac_cv_use_resources
='wxUSE_RESOURCES=no'
3766 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
3767 if test "x$LINE" != x
; then
3768 eval "DEFAULT_$LINE"
3773 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
3778 eval "$ac_cv_use_resources"
3779 if test "$no_cache" != 1; then
3780 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
3783 if test "$wxUSE_RESOURCES" = yes; then
3784 echo "$ac_t""yes" 1>&6
3786 echo "$ac_t""no" 1>&6
3791 echo $ac_n "checking "for --enable-xresources"""... $ac_c" 1>&6
3792 echo "configure:3793: checking "for --enable-xresources"" >&5
3794 # Check whether --enable-xresources or --disable-xresources was given.
3795 if test "${enable_xresources+set}" = set; then
3796 enableval
="$enable_xresources"
3798 if test "$enableval" = yes; then
3799 ac_cv_use_xresources
='wxUSE_X_RESOURCES=yes'
3801 ac_cv_use_xresources
='wxUSE_X_RESOURCES=no'
3806 LINE
=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
3807 if test "x$LINE" != x
; then
3808 eval "DEFAULT_$LINE"
3813 ac_cv_use_xresources
='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
3818 eval "$ac_cv_use_xresources"
3819 if test "$no_cache" != 1; then
3820 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
3823 if test "$wxUSE_X_RESOURCES" = yes; then
3824 echo "$ac_t""yes" 1>&6
3826 echo "$ac_t""no" 1>&6
3832 echo $ac_n "checking "for --enable-clipboard"""... $ac_c" 1>&6
3833 echo "configure:3834: checking "for --enable-clipboard"" >&5
3835 # Check whether --enable-clipboard or --disable-clipboard was given.
3836 if test "${enable_clipboard+set}" = set; then
3837 enableval
="$enable_clipboard"
3839 if test "$enableval" = yes; then
3840 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
3842 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
3847 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
3848 if test "x$LINE" != x
; then
3849 eval "DEFAULT_$LINE"
3854 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
3859 eval "$ac_cv_use_clipboard"
3860 if test "$no_cache" != 1; then
3861 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
3864 if test "$wxUSE_CLIPBOARD" = yes; then
3865 echo "$ac_t""yes" 1>&6
3867 echo "$ac_t""no" 1>&6
3871 echo $ac_n "checking "for --enable-dnd"""... $ac_c" 1>&6
3872 echo "configure:3873: checking "for --enable-dnd"" >&5
3874 # Check whether --enable-dnd or --disable-dnd was given.
3875 if test "${enable_dnd+set}" = set; then
3876 enableval
="$enable_dnd"
3878 if test "$enableval" = yes; then
3879 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
3881 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
3886 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
3887 if test "x$LINE" != x
; then
3888 eval "DEFAULT_$LINE"
3893 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
3898 eval "$ac_cv_use_dnd"
3899 if test "$no_cache" != 1; then
3900 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
3903 if test "$wxUSE_DRAG_AND_DROP" = yes; then
3904 echo "$ac_t""yes" 1>&6
3906 echo "$ac_t""no" 1>&6
3911 echo $ac_n "checking "for --enable-wxtree"""... $ac_c" 1>&6
3912 echo "configure:3913: checking "for --enable-wxtree"" >&5
3914 # Check whether --enable-wxtree or --disable-wxtree was given.
3915 if test "${enable_wxtree+set}" = set; then
3916 enableval
="$enable_wxtree"
3918 if test "$enableval" = yes; then
3919 ac_cv_use_wxtree
='wxUSE_WXTREE=yes'
3921 ac_cv_use_wxtree
='wxUSE_WXTREE=no'
3926 LINE
=`grep "wxUSE_WXTREE" ${wx_arg_cache_file}`
3927 if test "x$LINE" != x
; then
3928 eval "DEFAULT_$LINE"
3933 ac_cv_use_wxtree
='wxUSE_WXTREE='$DEFAULT_wxUSE_WXTREE
3938 eval "$ac_cv_use_wxtree"
3939 if test "$no_cache" != 1; then
3940 echo $ac_cv_use_wxtree >> ${wx_arg_cache_file}.tmp
3943 if test "$wxUSE_WXTREE" = yes; then
3944 echo "$ac_t""yes" 1>&6
3946 echo "$ac_t""no" 1>&6
3952 echo $ac_n "checking "for --enable-controls"""... $ac_c" 1>&6
3953 echo "configure:3954: checking "for --enable-controls"" >&5
3955 # Check whether --enable-controls or --disable-controls was given.
3956 if test "${enable_controls+set}" = set; then
3957 enableval
="$enable_controls"
3959 if test "$enableval" = yes; then
3960 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
3962 ac_cv_use_controls
='wxUSE_CONTROLS=no'
3967 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
3968 if test "x$LINE" != x
; then
3969 eval "DEFAULT_$LINE"
3974 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
3979 eval "$ac_cv_use_controls"
3980 if test "$no_cache" != 1; then
3981 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
3984 if test "$wxUSE_CONTROLS" = yes; then
3985 echo "$ac_t""yes" 1>&6
3987 echo "$ac_t""no" 1>&6
3991 if test "$wxUSE_CONTROLS" = "yes"; then
3992 DEFAULT_wxUSE_ACCEL
=yes
3993 DEFAULT_wxUSE_CARET
=yes
3994 DEFAULT_wxUSE_COMBOBOX
=yes
3995 DEFAULT_wxUSE_BMPBUTTON
=yes
3996 DEFAULT_wxUSE_CHECKBOX
=yes
3997 DEFAULT_wxUSE_CHECKLISTBOX
=yes
3998 DEFAULT_wxUSE_CHOICE
=yes
3999 DEFAULT_wxUSE_GAUGE
=yes
4000 DEFAULT_wxUSE_GRID
=yes
4001 DEFAULT_wxUSE_NEW_GRID
=yes
4002 DEFAULT_wxUSE_IMAGLIST
=yes
4003 DEFAULT_wxUSE_LISTBOX
=yes
4004 DEFAULT_wxUSE_LISTCTRL
=yes
4005 DEFAULT_wxUSE_NOTEBOOK
=yes
4006 DEFAULT_wxUSE_RADIOBOX
=yes
4007 DEFAULT_wxUSE_RADIOBTN
=yes
4008 DEFAULT_wxUSE_SASH
=yes
4009 DEFAULT_wxUSE_SCROLLBAR
=yes
4010 DEFAULT_wxUSE_SLIDER
=yes
4011 DEFAULT_wxUSE_SPINBTN
=yes
4012 DEFAULT_wxUSE_SPINCTRL
=yes
4013 DEFAULT_wxUSE_SPLITTER
=yes
4014 DEFAULT_wxUSE_STATBMP
=yes
4015 DEFAULT_wxUSE_STATBOX
=yes
4016 DEFAULT_wxUSE_STATLINE
=yes
4017 DEFAULT_wxUSE_STATUSBAR
=yes
4018 DEFAULT_wxUSE_TAB_DIALOG
=yes
4019 DEFAULT_wxUSE_TOOLBAR
=yes
4020 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
4021 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
4022 DEFAULT_wxUSE_TOOLTIPS
=yes
4023 DEFAULT_wxUSE_TREECTRL
=yes
4024 elif test "$wxUSE_CONTROLS" = "no"; then
4025 DEFAULT_wxUSE_ACCEL
=no
4026 DEFAULT_wxUSE_CARET
=no
4027 DEFAULT_wxUSE_COMBOBOX
=no
4028 DEFAULT_wxUSE_BMPBUTTON
=no
4029 DEFAULT_wxUSE_CHECKBOX
=no
4030 DEFAULT_wxUSE_CHECKLISTBOX
=no
4031 DEFAULT_wxUSE_CHOICE
=no
4032 DEFAULT_wxUSE_GAUGE
=no
4033 DEFAULT_wxUSE_GRID
=no
4034 DEFAULT_wxUSE_NEW_GRID
=no
4035 DEFAULT_wxUSE_IMAGLIST
=no
4036 DEFAULT_wxUSE_LISTBOX
=no
4037 DEFAULT_wxUSE_LISTCTRL
=no
4038 DEFAULT_wxUSE_NOTEBOOK
=no
4039 DEFAULT_wxUSE_RADIOBOX
=no
4040 DEFAULT_wxUSE_RADIOBTN
=no
4041 DEFAULT_wxUSE_SASH
=no
4042 DEFAULT_wxUSE_SCROLLBAR
=no
4043 DEFAULT_wxUSE_SLIDER
=no
4044 DEFAULT_wxUSE_SPINBTN
=no
4045 DEFAULT_wxUSE_SPINCTRL
=no
4046 DEFAULT_wxUSE_SPLITTER
=no
4047 DEFAULT_wxUSE_STATBMP
=no
4048 DEFAULT_wxUSE_STATBOX
=no
4049 DEFAULT_wxUSE_STATLINE
=no
4050 DEFAULT_wxUSE_STATUSBAR
=no
4051 DEFAULT_wxUSE_TAB_DIALOG
=no
4052 DEFAULT_wxUSE_TOOLBAR
=no
4053 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
4054 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
4055 DEFAULT_wxUSE_TOOLTIPS
=no
4056 DEFAULT_wxUSE_TREECTRL
=no
4060 echo $ac_n "checking "for --enable-accel"""... $ac_c" 1>&6
4061 echo "configure:4062: checking "for --enable-accel"" >&5
4063 # Check whether --enable-accel or --disable-accel was given.
4064 if test "${enable_accel+set}" = set; then
4065 enableval
="$enable_accel"
4067 if test "$enableval" = yes; then
4068 ac_cv_use_accel
='wxUSE_ACCEL=yes'
4070 ac_cv_use_accel
='wxUSE_ACCEL=no'
4075 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
4076 if test "x$LINE" != x
; then
4077 eval "DEFAULT_$LINE"
4082 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
4087 eval "$ac_cv_use_accel"
4088 if test "$no_cache" != 1; then
4089 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
4092 if test "$wxUSE_ACCEL" = yes; then
4093 echo "$ac_t""yes" 1>&6
4095 echo "$ac_t""no" 1>&6
4099 echo $ac_n "checking "for --enable-caret"""... $ac_c" 1>&6
4100 echo "configure:4101: checking "for --enable-caret"" >&5
4102 # Check whether --enable-caret or --disable-caret was given.
4103 if test "${enable_caret+set}" = set; then
4104 enableval
="$enable_caret"
4106 if test "$enableval" = yes; then
4107 ac_cv_use_caret
='wxUSE_CARET=yes'
4109 ac_cv_use_caret
='wxUSE_CARET=no'
4114 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
4115 if test "x$LINE" != x
; then
4116 eval "DEFAULT_$LINE"
4121 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
4126 eval "$ac_cv_use_caret"
4127 if test "$no_cache" != 1; then
4128 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
4131 if test "$wxUSE_CARET" = yes; then
4132 echo "$ac_t""yes" 1>&6
4134 echo "$ac_t""no" 1>&6
4138 echo $ac_n "checking "for --enable-bmpbutton"""... $ac_c" 1>&6
4139 echo "configure:4140: checking "for --enable-bmpbutton"" >&5
4141 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
4142 if test "${enable_bmpbutton+set}" = set; then
4143 enableval
="$enable_bmpbutton"
4145 if test "$enableval" = yes; then
4146 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
4148 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
4153 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
4154 if test "x$LINE" != x
; then
4155 eval "DEFAULT_$LINE"
4160 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
4165 eval "$ac_cv_use_bmpbutton"
4166 if test "$no_cache" != 1; then
4167 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
4170 if test "$wxUSE_BMPBUTTON" = yes; then
4171 echo "$ac_t""yes" 1>&6
4173 echo "$ac_t""no" 1>&6
4177 echo $ac_n "checking "for --enable-checkbox"""... $ac_c" 1>&6
4178 echo "configure:4179: checking "for --enable-checkbox"" >&5
4180 # Check whether --enable-checkbox or --disable-checkbox was given.
4181 if test "${enable_checkbox+set}" = set; then
4182 enableval
="$enable_checkbox"
4184 if test "$enableval" = yes; then
4185 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
4187 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
4192 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
4193 if test "x$LINE" != x
; then
4194 eval "DEFAULT_$LINE"
4199 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
4204 eval "$ac_cv_use_checkbox"
4205 if test "$no_cache" != 1; then
4206 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
4209 if test "$wxUSE_CHECKBOX" = yes; then
4210 echo "$ac_t""yes" 1>&6
4212 echo "$ac_t""no" 1>&6
4216 echo $ac_n "checking "for --enable-checklst"""... $ac_c" 1>&6
4217 echo "configure:4218: checking "for --enable-checklst"" >&5
4219 # Check whether --enable-checklst or --disable-checklst was given.
4220 if test "${enable_checklst+set}" = set; then
4221 enableval
="$enable_checklst"
4223 if test "$enableval" = yes; then
4224 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
4226 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
4231 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
4232 if test "x$LINE" != x
; then
4233 eval "DEFAULT_$LINE"
4238 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
4243 eval "$ac_cv_use_checklst"
4244 if test "$no_cache" != 1; then
4245 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
4248 if test "$wxUSE_CHECKLST" = yes; then
4249 echo "$ac_t""yes" 1>&6
4251 echo "$ac_t""no" 1>&6
4255 echo $ac_n "checking "for --enable-choice"""... $ac_c" 1>&6
4256 echo "configure:4257: checking "for --enable-choice"" >&5
4258 # Check whether --enable-choice or --disable-choice was given.
4259 if test "${enable_choice+set}" = set; then
4260 enableval
="$enable_choice"
4262 if test "$enableval" = yes; then
4263 ac_cv_use_choice
='wxUSE_CHOICE=yes'
4265 ac_cv_use_choice
='wxUSE_CHOICE=no'
4270 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
4271 if test "x$LINE" != x
; then
4272 eval "DEFAULT_$LINE"
4277 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
4282 eval "$ac_cv_use_choice"
4283 if test "$no_cache" != 1; then
4284 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
4287 if test "$wxUSE_CHOICE" = yes; then
4288 echo "$ac_t""yes" 1>&6
4290 echo "$ac_t""no" 1>&6
4294 echo $ac_n "checking "for --enable-combobox"""... $ac_c" 1>&6
4295 echo "configure:4296: checking "for --enable-combobox"" >&5
4297 # Check whether --enable-combobox or --disable-combobox was given.
4298 if test "${enable_combobox+set}" = set; then
4299 enableval
="$enable_combobox"
4301 if test "$enableval" = yes; then
4302 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
4304 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
4309 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
4310 if test "x$LINE" != x
; then
4311 eval "DEFAULT_$LINE"
4316 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
4321 eval "$ac_cv_use_combobox"
4322 if test "$no_cache" != 1; then
4323 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
4326 if test "$wxUSE_COMBOBOX" = yes; then
4327 echo "$ac_t""yes" 1>&6
4329 echo "$ac_t""no" 1>&6
4333 echo $ac_n "checking "for --enable-gauge"""... $ac_c" 1>&6
4334 echo "configure:4335: checking "for --enable-gauge"" >&5
4336 # Check whether --enable-gauge or --disable-gauge was given.
4337 if test "${enable_gauge+set}" = set; then
4338 enableval
="$enable_gauge"
4340 if test "$enableval" = yes; then
4341 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
4343 ac_cv_use_gauge
='wxUSE_GAUGE=no'
4348 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
4349 if test "x$LINE" != x
; then
4350 eval "DEFAULT_$LINE"
4355 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
4360 eval "$ac_cv_use_gauge"
4361 if test "$no_cache" != 1; then
4362 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
4365 if test "$wxUSE_GAUGE" = yes; then
4366 echo "$ac_t""yes" 1>&6
4368 echo "$ac_t""no" 1>&6
4372 echo $ac_n "checking "for --enable-grid"""... $ac_c" 1>&6
4373 echo "configure:4374: checking "for --enable-grid"" >&5
4375 # Check whether --enable-grid or --disable-grid was given.
4376 if test "${enable_grid+set}" = set; then
4377 enableval
="$enable_grid"
4379 if test "$enableval" = yes; then
4380 ac_cv_use_grid
='wxUSE_GRID=yes'
4382 ac_cv_use_grid
='wxUSE_GRID=no'
4387 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
4388 if test "x$LINE" != x
; then
4389 eval "DEFAULT_$LINE"
4394 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
4399 eval "$ac_cv_use_grid"
4400 if test "$no_cache" != 1; then
4401 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
4404 if test "$wxUSE_GRID" = yes; then
4405 echo "$ac_t""yes" 1>&6
4407 echo "$ac_t""no" 1>&6
4411 echo $ac_n "checking "for --enable-newgrid"""... $ac_c" 1>&6
4412 echo "configure:4413: checking "for --enable-newgrid"" >&5
4414 # Check whether --enable-newgrid or --disable-newgrid was given.
4415 if test "${enable_newgrid+set}" = set; then
4416 enableval
="$enable_newgrid"
4418 if test "$enableval" = yes; then
4419 ac_cv_use_newgrid
='wxUSE_NEW_GRID=yes'
4421 ac_cv_use_newgrid
='wxUSE_NEW_GRID=no'
4426 LINE
=`grep "wxUSE_NEW_GRID" ${wx_arg_cache_file}`
4427 if test "x$LINE" != x
; then
4428 eval "DEFAULT_$LINE"
4433 ac_cv_use_newgrid
='wxUSE_NEW_GRID='$DEFAULT_wxUSE_NEW_GRID
4438 eval "$ac_cv_use_newgrid"
4439 if test "$no_cache" != 1; then
4440 echo $ac_cv_use_newgrid >> ${wx_arg_cache_file}.tmp
4443 if test "$wxUSE_NEW_GRID" = yes; then
4444 echo "$ac_t""yes" 1>&6
4446 echo "$ac_t""no" 1>&6
4450 echo $ac_n "checking "for --enable-imaglist"""... $ac_c" 1>&6
4451 echo "configure:4452: checking "for --enable-imaglist"" >&5
4453 # Check whether --enable-imaglist or --disable-imaglist was given.
4454 if test "${enable_imaglist+set}" = set; then
4455 enableval
="$enable_imaglist"
4457 if test "$enableval" = yes; then
4458 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
4460 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
4465 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
4466 if test "x$LINE" != x
; then
4467 eval "DEFAULT_$LINE"
4472 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
4477 eval "$ac_cv_use_imaglist"
4478 if test "$no_cache" != 1; then
4479 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
4482 if test "$wxUSE_IMAGLIST" = yes; then
4483 echo "$ac_t""yes" 1>&6
4485 echo "$ac_t""no" 1>&6
4489 echo $ac_n "checking "for --enable-listbox"""... $ac_c" 1>&6
4490 echo "configure:4491: checking "for --enable-listbox"" >&5
4492 # Check whether --enable-listbox or --disable-listbox was given.
4493 if test "${enable_listbox+set}" = set; then
4494 enableval
="$enable_listbox"
4496 if test "$enableval" = yes; then
4497 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
4499 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
4504 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
4505 if test "x$LINE" != x
; then
4506 eval "DEFAULT_$LINE"
4511 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
4516 eval "$ac_cv_use_listbox"
4517 if test "$no_cache" != 1; then
4518 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
4521 if test "$wxUSE_LISTBOX" = yes; then
4522 echo "$ac_t""yes" 1>&6
4524 echo "$ac_t""no" 1>&6
4528 echo $ac_n "checking "for --enable-listctrl"""... $ac_c" 1>&6
4529 echo "configure:4530: checking "for --enable-listctrl"" >&5
4531 # Check whether --enable-listctrl or --disable-listctrl was given.
4532 if test "${enable_listctrl+set}" = set; then
4533 enableval
="$enable_listctrl"
4535 if test "$enableval" = yes; then
4536 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
4538 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
4543 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
4544 if test "x$LINE" != x
; then
4545 eval "DEFAULT_$LINE"
4550 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
4555 eval "$ac_cv_use_listctrl"
4556 if test "$no_cache" != 1; then
4557 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
4560 if test "$wxUSE_LISTCTRL" = yes; then
4561 echo "$ac_t""yes" 1>&6
4563 echo "$ac_t""no" 1>&6
4567 echo $ac_n "checking "for --enable-notebook"""... $ac_c" 1>&6
4568 echo "configure:4569: checking "for --enable-notebook"" >&5
4570 # Check whether --enable-notebook or --disable-notebook was given.
4571 if test "${enable_notebook+set}" = set; then
4572 enableval
="$enable_notebook"
4574 if test "$enableval" = yes; then
4575 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
4577 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
4582 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
4583 if test "x$LINE" != x
; then
4584 eval "DEFAULT_$LINE"
4589 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
4594 eval "$ac_cv_use_notebook"
4595 if test "$no_cache" != 1; then
4596 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
4599 if test "$wxUSE_NOTEBOOK" = yes; then
4600 echo "$ac_t""yes" 1>&6
4602 echo "$ac_t""no" 1>&6
4606 echo $ac_n "checking "for --enable-radiobox"""... $ac_c" 1>&6
4607 echo "configure:4608: checking "for --enable-radiobox"" >&5
4609 # Check whether --enable-radiobox or --disable-radiobox was given.
4610 if test "${enable_radiobox+set}" = set; then
4611 enableval
="$enable_radiobox"
4613 if test "$enableval" = yes; then
4614 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
4616 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
4621 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
4622 if test "x$LINE" != x
; then
4623 eval "DEFAULT_$LINE"
4628 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
4633 eval "$ac_cv_use_radiobox"
4634 if test "$no_cache" != 1; then
4635 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
4638 if test "$wxUSE_RADIOBOX" = yes; then
4639 echo "$ac_t""yes" 1>&6
4641 echo "$ac_t""no" 1>&6
4645 echo $ac_n "checking "for --enable-radiobtn"""... $ac_c" 1>&6
4646 echo "configure:4647: checking "for --enable-radiobtn"" >&5
4648 # Check whether --enable-radiobtn or --disable-radiobtn was given.
4649 if test "${enable_radiobtn+set}" = set; then
4650 enableval
="$enable_radiobtn"
4652 if test "$enableval" = yes; then
4653 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
4655 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
4660 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
4661 if test "x$LINE" != x
; then
4662 eval "DEFAULT_$LINE"
4667 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
4672 eval "$ac_cv_use_radiobtn"
4673 if test "$no_cache" != 1; then
4674 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
4677 if test "$wxUSE_RADIOBTN" = yes; then
4678 echo "$ac_t""yes" 1>&6
4680 echo "$ac_t""no" 1>&6
4684 echo $ac_n "checking "for --enable-sash"""... $ac_c" 1>&6
4685 echo "configure:4686: checking "for --enable-sash"" >&5
4687 # Check whether --enable-sash or --disable-sash was given.
4688 if test "${enable_sash+set}" = set; then
4689 enableval
="$enable_sash"
4691 if test "$enableval" = yes; then
4692 ac_cv_use_sash
='wxUSE_SASH=yes'
4694 ac_cv_use_sash
='wxUSE_SASH=no'
4699 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
4700 if test "x$LINE" != x
; then
4701 eval "DEFAULT_$LINE"
4706 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
4711 eval "$ac_cv_use_sash"
4712 if test "$no_cache" != 1; then
4713 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
4716 if test "$wxUSE_SASH" = yes; then
4717 echo "$ac_t""yes" 1>&6
4719 echo "$ac_t""no" 1>&6
4723 echo $ac_n "checking "for --enable-scrollbar"""... $ac_c" 1>&6
4724 echo "configure:4725: checking "for --enable-scrollbar"" >&5
4726 # Check whether --enable-scrollbar or --disable-scrollbar was given.
4727 if test "${enable_scrollbar+set}" = set; then
4728 enableval
="$enable_scrollbar"
4730 if test "$enableval" = yes; then
4731 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
4733 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
4738 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
4739 if test "x$LINE" != x
; then
4740 eval "DEFAULT_$LINE"
4745 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
4750 eval "$ac_cv_use_scrollbar"
4751 if test "$no_cache" != 1; then
4752 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
4755 if test "$wxUSE_SCROLLBAR" = yes; then
4756 echo "$ac_t""yes" 1>&6
4758 echo "$ac_t""no" 1>&6
4762 echo $ac_n "checking "for --enable-slider"""... $ac_c" 1>&6
4763 echo "configure:4764: checking "for --enable-slider"" >&5
4765 # Check whether --enable-slider or --disable-slider was given.
4766 if test "${enable_slider+set}" = set; then
4767 enableval
="$enable_slider"
4769 if test "$enableval" = yes; then
4770 ac_cv_use_slider
='wxUSE_SLIDER=yes'
4772 ac_cv_use_slider
='wxUSE_SLIDER=no'
4777 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
4778 if test "x$LINE" != x
; then
4779 eval "DEFAULT_$LINE"
4784 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
4789 eval "$ac_cv_use_slider"
4790 if test "$no_cache" != 1; then
4791 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
4794 if test "$wxUSE_SLIDER" = yes; then
4795 echo "$ac_t""yes" 1>&6
4797 echo "$ac_t""no" 1>&6
4801 echo $ac_n "checking "for --enable-spinbtn"""... $ac_c" 1>&6
4802 echo "configure:4803: checking "for --enable-spinbtn"" >&5
4804 # Check whether --enable-spinbtn or --disable-spinbtn was given.
4805 if test "${enable_spinbtn+set}" = set; then
4806 enableval
="$enable_spinbtn"
4808 if test "$enableval" = yes; then
4809 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
4811 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
4816 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
4817 if test "x$LINE" != x
; then
4818 eval "DEFAULT_$LINE"
4823 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
4828 eval "$ac_cv_use_spinbtn"
4829 if test "$no_cache" != 1; then
4830 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
4833 if test "$wxUSE_SPINBTN" = yes; then
4834 echo "$ac_t""yes" 1>&6
4836 echo "$ac_t""no" 1>&6
4840 echo $ac_n "checking "for --enable-spinctrl"""... $ac_c" 1>&6
4841 echo "configure:4842: checking "for --enable-spinctrl"" >&5
4843 # Check whether --enable-spinctrl or --disable-spinctrl was given.
4844 if test "${enable_spinctrl+set}" = set; then
4845 enableval
="$enable_spinctrl"
4847 if test "$enableval" = yes; then
4848 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
4850 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
4855 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
4856 if test "x$LINE" != x
; then
4857 eval "DEFAULT_$LINE"
4862 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
4867 eval "$ac_cv_use_spinctrl"
4868 if test "$no_cache" != 1; then
4869 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
4872 if test "$wxUSE_SPINCTRL" = yes; then
4873 echo "$ac_t""yes" 1>&6
4875 echo "$ac_t""no" 1>&6
4879 echo $ac_n "checking "for --enable-splitter"""... $ac_c" 1>&6
4880 echo "configure:4881: checking "for --enable-splitter"" >&5
4882 # Check whether --enable-splitter or --disable-splitter was given.
4883 if test "${enable_splitter+set}" = set; then
4884 enableval
="$enable_splitter"
4886 if test "$enableval" = yes; then
4887 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
4889 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
4894 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
4895 if test "x$LINE" != x
; then
4896 eval "DEFAULT_$LINE"
4901 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
4906 eval "$ac_cv_use_splitter"
4907 if test "$no_cache" != 1; then
4908 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
4911 if test "$wxUSE_SPLITTER" = yes; then
4912 echo "$ac_t""yes" 1>&6
4914 echo "$ac_t""no" 1>&6
4918 echo $ac_n "checking "for --enable-statbmp"""... $ac_c" 1>&6
4919 echo "configure:4920: checking "for --enable-statbmp"" >&5
4921 # Check whether --enable-statbmp or --disable-statbmp was given.
4922 if test "${enable_statbmp+set}" = set; then
4923 enableval
="$enable_statbmp"
4925 if test "$enableval" = yes; then
4926 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
4928 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
4933 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
4934 if test "x$LINE" != x
; then
4935 eval "DEFAULT_$LINE"
4940 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
4945 eval "$ac_cv_use_statbmp"
4946 if test "$no_cache" != 1; then
4947 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
4950 if test "$wxUSE_STATBMP" = yes; then
4951 echo "$ac_t""yes" 1>&6
4953 echo "$ac_t""no" 1>&6
4957 echo $ac_n "checking "for --enable-statbox"""... $ac_c" 1>&6
4958 echo "configure:4959: checking "for --enable-statbox"" >&5
4960 # Check whether --enable-statbox or --disable-statbox was given.
4961 if test "${enable_statbox+set}" = set; then
4962 enableval
="$enable_statbox"
4964 if test "$enableval" = yes; then
4965 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
4967 ac_cv_use_statbox
='wxUSE_STATBOX=no'
4972 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
4973 if test "x$LINE" != x
; then
4974 eval "DEFAULT_$LINE"
4979 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
4984 eval "$ac_cv_use_statbox"
4985 if test "$no_cache" != 1; then
4986 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
4989 if test "$wxUSE_STATBOX" = yes; then
4990 echo "$ac_t""yes" 1>&6
4992 echo "$ac_t""no" 1>&6
4996 echo $ac_n "checking "for --enable-statline"""... $ac_c" 1>&6
4997 echo "configure:4998: checking "for --enable-statline"" >&5
4999 # Check whether --enable-statline or --disable-statline was given.
5000 if test "${enable_statline+set}" = set; then
5001 enableval
="$enable_statline"
5003 if test "$enableval" = yes; then
5004 ac_cv_use_statline
='wxUSE_STATLINE=yes'
5006 ac_cv_use_statline
='wxUSE_STATLINE=no'
5011 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
5012 if test "x$LINE" != x
; then
5013 eval "DEFAULT_$LINE"
5018 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
5023 eval "$ac_cv_use_statline"
5024 if test "$no_cache" != 1; then
5025 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
5028 if test "$wxUSE_STATLINE" = yes; then
5029 echo "$ac_t""yes" 1>&6
5031 echo "$ac_t""no" 1>&6
5035 echo $ac_n "checking "for --enable-statusbar"""... $ac_c" 1>&6
5036 echo "configure:5037: checking "for --enable-statusbar"" >&5
5038 # Check whether --enable-statusbar or --disable-statusbar was given.
5039 if test "${enable_statusbar+set}" = set; then
5040 enableval
="$enable_statusbar"
5042 if test "$enableval" = yes; then
5043 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
5045 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
5050 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
5051 if test "x$LINE" != x
; then
5052 eval "DEFAULT_$LINE"
5057 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
5062 eval "$ac_cv_use_statusbar"
5063 if test "$no_cache" != 1; then
5064 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
5067 if test "$wxUSE_STATUSBAR" = yes; then
5068 echo "$ac_t""yes" 1>&6
5070 echo "$ac_t""no" 1>&6
5074 echo $ac_n "checking "for --enable-tabdialog"""... $ac_c" 1>&6
5075 echo "configure:5076: checking "for --enable-tabdialog"" >&5
5077 # Check whether --enable-tabdialog or --disable-tabdialog was given.
5078 if test "${enable_tabdialog+set}" = set; then
5079 enableval
="$enable_tabdialog"
5081 if test "$enableval" = yes; then
5082 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
5084 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
5089 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
5090 if test "x$LINE" != x
; then
5091 eval "DEFAULT_$LINE"
5096 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
5101 eval "$ac_cv_use_tabdialog"
5102 if test "$no_cache" != 1; then
5103 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
5106 if test "$wxUSE_TABDIALOG" = yes; then
5107 echo "$ac_t""yes" 1>&6
5109 echo "$ac_t""no" 1>&6
5113 echo $ac_n "checking "for --enable-toolbar"""... $ac_c" 1>&6
5114 echo "configure:5115: checking "for --enable-toolbar"" >&5
5116 # Check whether --enable-toolbar or --disable-toolbar was given.
5117 if test "${enable_toolbar+set}" = set; then
5118 enableval
="$enable_toolbar"
5120 if test "$enableval" = yes; then
5121 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
5123 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
5128 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
5129 if test "x$LINE" != x
; then
5130 eval "DEFAULT_$LINE"
5135 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
5140 eval "$ac_cv_use_toolbar"
5141 if test "$no_cache" != 1; then
5142 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
5145 if test "$wxUSE_TOOLBAR" = yes; then
5146 echo "$ac_t""yes" 1>&6
5148 echo "$ac_t""no" 1>&6
5152 echo $ac_n "checking "for --enable-tbarnative"""... $ac_c" 1>&6
5153 echo "configure:5154: checking "for --enable-tbarnative"" >&5
5155 # Check whether --enable-tbarnative or --disable-tbarnative was given.
5156 if test "${enable_tbarnative+set}" = set; then
5157 enableval
="$enable_tbarnative"
5159 if test "$enableval" = yes; then
5160 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
5162 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
5167 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
5168 if test "x$LINE" != x
; then
5169 eval "DEFAULT_$LINE"
5174 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
5179 eval "$ac_cv_use_tbarnative"
5180 if test "$no_cache" != 1; then
5181 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
5184 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
5185 echo "$ac_t""yes" 1>&6
5187 echo "$ac_t""no" 1>&6
5191 echo $ac_n "checking "for --enable-tbarsmpl"""... $ac_c" 1>&6
5192 echo "configure:5193: checking "for --enable-tbarsmpl"" >&5
5194 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
5195 if test "${enable_tbarsmpl+set}" = set; then
5196 enableval
="$enable_tbarsmpl"
5198 if test "$enableval" = yes; then
5199 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
5201 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
5206 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
5207 if test "x$LINE" != x
; then
5208 eval "DEFAULT_$LINE"
5213 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
5218 eval "$ac_cv_use_tbarsmpl"
5219 if test "$no_cache" != 1; then
5220 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
5223 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
5224 echo "$ac_t""yes" 1>&6
5226 echo "$ac_t""no" 1>&6
5230 echo $ac_n "checking "for --enable-treectrl"""... $ac_c" 1>&6
5231 echo "configure:5232: checking "for --enable-treectrl"" >&5
5233 # Check whether --enable-treectrl or --disable-treectrl was given.
5234 if test "${enable_treectrl+set}" = set; then
5235 enableval
="$enable_treectrl"
5237 if test "$enableval" = yes; then
5238 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
5240 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
5245 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
5246 if test "x$LINE" != x
; then
5247 eval "DEFAULT_$LINE"
5252 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
5257 eval "$ac_cv_use_treectrl"
5258 if test "$no_cache" != 1; then
5259 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
5262 if test "$wxUSE_TREECTRL" = yes; then
5263 echo "$ac_t""yes" 1>&6
5265 echo "$ac_t""no" 1>&6
5271 echo $ac_n "checking "for --enable-commondlg"""... $ac_c" 1>&6
5272 echo "configure:5273: checking "for --enable-commondlg"" >&5
5274 # Check whether --enable-commondlg or --disable-commondlg was given.
5275 if test "${enable_commondlg+set}" = set; then
5276 enableval
="$enable_commondlg"
5278 if test "$enableval" = yes; then
5279 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
5281 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
5286 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
5287 if test "x$LINE" != x
; then
5288 eval "DEFAULT_$LINE"
5293 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
5298 eval "$ac_cv_use_commondlg"
5299 if test "$no_cache" != 1; then
5300 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
5303 if test "$wxUSE_COMMONDLGS" = yes; then
5304 echo "$ac_t""yes" 1>&6
5306 echo "$ac_t""no" 1>&6
5310 echo $ac_n "checking "for --enable-dirdlg"""... $ac_c" 1>&6
5311 echo "configure:5312: checking "for --enable-dirdlg"" >&5
5313 # Check whether --enable-dirdlg or --disable-dirdlg was given.
5314 if test "${enable_dirdlg+set}" = set; then
5315 enableval
="$enable_dirdlg"
5317 if test "$enableval" = yes; then
5318 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
5320 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
5325 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
5326 if test "x$LINE" != x
; then
5327 eval "DEFAULT_$LINE"
5332 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
5337 eval "$ac_cv_use_dirdlg"
5338 if test "$no_cache" != 1; then
5339 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
5342 if test "$wxUSE_DIRDLG" = yes; then
5343 echo "$ac_t""yes" 1>&6
5345 echo "$ac_t""no" 1>&6
5349 echo $ac_n "checking "for --enable-textdlg"""... $ac_c" 1>&6
5350 echo "configure:5351: checking "for --enable-textdlg"" >&5
5352 # Check whether --enable-textdlg or --disable-textdlg was given.
5353 if test "${enable_textdlg+set}" = set; then
5354 enableval
="$enable_textdlg"
5356 if test "$enableval" = yes; then
5357 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
5359 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
5364 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
5365 if test "x$LINE" != x
; then
5366 eval "DEFAULT_$LINE"
5371 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
5376 eval "$ac_cv_use_textdlg"
5377 if test "$no_cache" != 1; then
5378 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
5381 if test "$wxUSE_TEXTDLG" = yes; then
5382 echo "$ac_t""yes" 1>&6
5384 echo "$ac_t""no" 1>&6
5388 echo $ac_n "checking "for --enable-tipdlg"""... $ac_c" 1>&6
5389 echo "configure:5390: checking "for --enable-tipdlg"" >&5
5391 # Check whether --enable-tipdlg or --disable-tipdlg was given.
5392 if test "${enable_tipdlg+set}" = set; then
5393 enableval
="$enable_tipdlg"
5395 if test "$enableval" = yes; then
5396 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
5398 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
5403 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
5404 if test "x$LINE" != x
; then
5405 eval "DEFAULT_$LINE"
5410 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
5415 eval "$ac_cv_use_tipdlg"
5416 if test "$no_cache" != 1; then
5417 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
5420 if test "$wxUSE_STARTUP_TIPS" = yes; then
5421 echo "$ac_t""yes" 1>&6
5423 echo "$ac_t""no" 1>&6
5427 echo $ac_n "checking "for --enable-progressdlg"""... $ac_c" 1>&6
5428 echo "configure:5429: checking "for --enable-progressdlg"" >&5
5430 # Check whether --enable-progressdlg or --disable-progressdlg was given.
5431 if test "${enable_progressdlg+set}" = set; then
5432 enableval
="$enable_progressdlg"
5434 if test "$enableval" = yes; then
5435 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
5437 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
5442 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
5443 if test "x$LINE" != x
; then
5444 eval "DEFAULT_$LINE"
5449 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
5454 eval "$ac_cv_use_progressdlg"
5455 if test "$no_cache" != 1; then
5456 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
5459 if test "$wxUSE_PROGRESSDLG" = yes; then
5460 echo "$ac_t""yes" 1>&6
5462 echo "$ac_t""no" 1>&6
5466 echo $ac_n "checking "for --enable-miniframe"""... $ac_c" 1>&6
5467 echo "configure:5468: checking "for --enable-miniframe"" >&5
5469 # Check whether --enable-miniframe or --disable-miniframe was given.
5470 if test "${enable_miniframe+set}" = set; then
5471 enableval
="$enable_miniframe"
5473 if test "$enableval" = yes; then
5474 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
5476 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
5481 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
5482 if test "x$LINE" != x
; then
5483 eval "DEFAULT_$LINE"
5488 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
5493 eval "$ac_cv_use_miniframe"
5494 if test "$no_cache" != 1; then
5495 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
5498 if test "$wxUSE_MINIFRAME" = yes; then
5499 echo "$ac_t""yes" 1>&6
5501 echo "$ac_t""no" 1>&6
5505 echo $ac_n "checking "for --enable-html"""... $ac_c" 1>&6
5506 echo "configure:5507: checking "for --enable-html"" >&5
5508 # Check whether --enable-html or --disable-html was given.
5509 if test "${enable_html+set}" = set; then
5510 enableval
="$enable_html"
5512 if test "$enableval" = yes; then
5513 ac_cv_use_html
='wxUSE_HTML=yes'
5515 ac_cv_use_html
='wxUSE_HTML=no'
5520 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
5521 if test "x$LINE" != x
; then
5522 eval "DEFAULT_$LINE"
5527 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
5532 eval "$ac_cv_use_html"
5533 if test "$no_cache" != 1; then
5534 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
5537 if test "$wxUSE_HTML" = yes; then
5538 echo "$ac_t""yes" 1>&6
5540 echo "$ac_t""no" 1>&6
5544 echo $ac_n "checking "for --enable-tooltips"""... $ac_c" 1>&6
5545 echo "configure:5546: checking "for --enable-tooltips"" >&5
5547 # Check whether --enable-tooltips or --disable-tooltips was given.
5548 if test "${enable_tooltips+set}" = set; then
5549 enableval
="$enable_tooltips"
5551 if test "$enableval" = yes; then
5552 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
5554 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
5559 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
5560 if test "x$LINE" != x
; then
5561 eval "DEFAULT_$LINE"
5566 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
5571 eval "$ac_cv_use_tooltips"
5572 if test "$no_cache" != 1; then
5573 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
5576 if test "$wxUSE_TOOLTIPS" = yes; then
5577 echo "$ac_t""yes" 1>&6
5579 echo "$ac_t""no" 1>&6
5583 echo $ac_n "checking "for --enable-splines"""... $ac_c" 1>&6
5584 echo "configure:5585: checking "for --enable-splines"" >&5
5586 # Check whether --enable-splines or --disable-splines was given.
5587 if test "${enable_splines+set}" = set; then
5588 enableval
="$enable_splines"
5590 if test "$enableval" = yes; then
5591 ac_cv_use_splines
='wxUSE_SPLINES=yes'
5593 ac_cv_use_splines
='wxUSE_SPLINES=no'
5598 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
5599 if test "x$LINE" != x
; then
5600 eval "DEFAULT_$LINE"
5605 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
5610 eval "$ac_cv_use_splines"
5611 if test "$no_cache" != 1; then
5612 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
5615 if test "$wxUSE_SPLINES" = yes; then
5616 echo "$ac_t""yes" 1>&6
5618 echo "$ac_t""no" 1>&6
5622 echo $ac_n "checking "for --enable-validators"""... $ac_c" 1>&6
5623 echo "configure:5624: checking "for --enable-validators"" >&5
5625 # Check whether --enable-validators or --disable-validators was given.
5626 if test "${enable_validators+set}" = set; then
5627 enableval
="$enable_validators"
5629 if test "$enableval" = yes; then
5630 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
5632 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
5637 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
5638 if test "x$LINE" != x
; then
5639 eval "DEFAULT_$LINE"
5644 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
5649 eval "$ac_cv_use_validators"
5650 if test "$no_cache" != 1; then
5651 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
5654 if test "$wxUSE_VALIDATORS" = yes; then
5655 echo "$ac_t""yes" 1>&6
5657 echo "$ac_t""no" 1>&6
5661 echo $ac_n "checking "for --enable-busyinfo"""... $ac_c" 1>&6
5662 echo "configure:5663: checking "for --enable-busyinfo"" >&5
5664 # Check whether --enable-busyinfo or --disable-busyinfo was given.
5665 if test "${enable_busyinfo+set}" = set; then
5666 enableval
="$enable_busyinfo"
5668 if test "$enableval" = yes; then
5669 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
5671 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
5676 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
5677 if test "x$LINE" != x
; then
5678 eval "DEFAULT_$LINE"
5683 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
5688 eval "$ac_cv_use_busyinfo"
5689 if test "$no_cache" != 1; then
5690 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
5693 if test "$wxUSE_BUSYINFO" = yes; then
5694 echo "$ac_t""yes" 1>&6
5696 echo "$ac_t""no" 1>&6
5700 echo $ac_n "checking "for --enable-plot"""... $ac_c" 1>&6
5701 echo "configure:5702: checking "for --enable-plot"" >&5
5703 # Check whether --enable-plot or --disable-plot was given.
5704 if test "${enable_plot+set}" = set; then
5705 enableval
="$enable_plot"
5707 if test "$enableval" = yes; then
5708 ac_cv_use_plot
='wxUSE_PLOT=yes'
5710 ac_cv_use_plot
='wxUSE_PLOT=no'
5715 LINE
=`grep "wxUSE_PLOT" ${wx_arg_cache_file}`
5716 if test "x$LINE" != x
; then
5717 eval "DEFAULT_$LINE"
5722 ac_cv_use_plot
='wxUSE_PLOT='$DEFAULT_wxUSE_PLOT
5727 eval "$ac_cv_use_plot"
5728 if test "$no_cache" != 1; then
5729 echo $ac_cv_use_plot >> ${wx_arg_cache_file}.tmp
5732 if test "$wxUSE_PLOT" = yes; then
5733 echo "$ac_t""yes" 1>&6
5735 echo "$ac_t""no" 1>&6
5741 echo $ac_n "checking "for --enable-gif"""... $ac_c" 1>&6
5742 echo "configure:5743: checking "for --enable-gif"" >&5
5744 # Check whether --enable-gif or --disable-gif was given.
5745 if test "${enable_gif+set}" = set; then
5746 enableval
="$enable_gif"
5748 if test "$enableval" = yes; then
5749 ac_cv_use_gif
='wxUSE_GIF=yes'
5751 ac_cv_use_gif
='wxUSE_GIF=no'
5756 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
5757 if test "x$LINE" != x
; then
5758 eval "DEFAULT_$LINE"
5763 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
5768 eval "$ac_cv_use_gif"
5769 if test "$no_cache" != 1; then
5770 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
5773 if test "$wxUSE_GIF" = yes; then
5774 echo "$ac_t""yes" 1>&6
5776 echo "$ac_t""no" 1>&6
5780 echo $ac_n "checking "for --enable-pcx"""... $ac_c" 1>&6
5781 echo "configure:5782: checking "for --enable-pcx"" >&5
5783 # Check whether --enable-pcx or --disable-pcx was given.
5784 if test "${enable_pcx+set}" = set; then
5785 enableval
="$enable_pcx"
5787 if test "$enableval" = yes; then
5788 ac_cv_use_pcx
='wxUSE_PCX=yes'
5790 ac_cv_use_pcx
='wxUSE_PCX=no'
5795 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
5796 if test "x$LINE" != x
; then
5797 eval "DEFAULT_$LINE"
5802 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
5807 eval "$ac_cv_use_pcx"
5808 if test "$no_cache" != 1; then
5809 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
5812 if test "$wxUSE_PCX" = yes; then
5813 echo "$ac_t""yes" 1>&6
5815 echo "$ac_t""no" 1>&6
5819 echo $ac_n "checking "for --enable-pnm"""... $ac_c" 1>&6
5820 echo "configure:5821: checking "for --enable-pnm"" >&5
5822 # Check whether --enable-pnm or --disable-pnm was given.
5823 if test "${enable_pnm+set}" = set; then
5824 enableval
="$enable_pnm"
5826 if test "$enableval" = yes; then
5827 ac_cv_use_pnm
='wxUSE_PNM=yes'
5829 ac_cv_use_pnm
='wxUSE_PNM=no'
5834 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
5835 if test "x$LINE" != x
; then
5836 eval "DEFAULT_$LINE"
5841 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
5846 eval "$ac_cv_use_pnm"
5847 if test "$no_cache" != 1; then
5848 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
5851 if test "$wxUSE_PNM" = yes; then
5852 echo "$ac_t""yes" 1>&6
5854 echo "$ac_t""no" 1>&6
5861 echo "saving argument cache $wx_arg_cache_file"
5862 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
5866 echo $ac_n "checking for toolkit""... $ac_c" 1>&6
5867 echo "configure:5868: checking for toolkit" >&5
5869 if test "$wxUSE_GUI" = "yes"; then
5871 if test "$USE_BEOS" = 1; then
5872 { echo "configure: error: BeOS GUI is not supported yet, use --disable-gui" 1>&2; exit 1; }
5875 if test "$TOOLKIT_GIVEN" = 1; then
5876 for toolkit
in `echo $ALL_TOOLKITS`; do
5878 eval "value=\$${var}"
5879 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
5882 for toolkit
in `echo $ALL_TOOLKITS`; do
5883 if test "$has_toolkit_in_cache" != 1; then
5884 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
5886 var
=DEFAULT_wxUSE_
$toolkit
5888 eval "wxUSE_$toolkit=\$${var}"
5892 NUM_TOOLKITS
=`expr ${wxUSE_GTK:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_WINE:-0} + ${wxUSE_MINGW:-0} + ${wxUSE_CYGWIN:-0}`
5896 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
5897 # PATH_IFS is autodetected by OS/2's configure (usually ';')
5906 case "$NUM_TOOLKITS" in
5910 { echo "configure: error: Please specify a toolkit - cannot determine the default for ${host}" 1>&2; exit 1; }
5913 { echo "configure: error: Please specify at most one toolkit (may be some are cached?)" 1>&2; exit 1; }
5916 for toolkit
in `echo $ALL_TOOLKITS`; do
5918 eval "value=\$${var}"
5919 if test "x$value" != x
; then
5920 cache_var
=CACHE_
$toolkit
5921 eval "cache=\$${cache_var}"
5922 if test "$cache" = 1; then
5923 echo "$var=$value" >> ${wx_arg_cache_file}
5925 if test "$value" = 1; then
5926 echo "$ac_t""`echo $toolkit | tr A-Z a-z`" 1>&6
5933 echo "$ac_t""base only" 1>&6
5937 cat > confcache
<<\EOF
5938 # This file is a shell script that caches the results of configure
5939 # tests run on this system so they can be shared between configure
5940 # scripts and configure runs. It is not useful on other systems.
5941 # If it contains results you don't want to keep, you may remove or edit it.
5943 # By default, configure uses ./config.cache as the cache file,
5944 # creating it if it does not exist already. You can give configure
5945 # the --cache-file=FILE option to use a different cache file; that is
5946 # what configure does when it calls configure scripts in
5947 # subdirectories, so they share the cache.
5948 # Giving --cache-file=/dev/null disables caching, for debugging configure.
5949 # config.status only pays attention to the cache file if you give it the
5950 # --recheck option to rerun configure.
5953 # The following way of writing the cache mishandles newlines in values,
5954 # but we know of no workaround that is simple, portable, and efficient.
5955 # So, don't put newlines in cache variables' values.
5956 # Ultrix sh set writes to stderr and can't be redirected directly,
5957 # and sets the high bit in the cache file unless we assign to the vars.
5959 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5961 # `set' does not quote correctly, so add quotes (double-quote substitution
5962 # turns \\\\ into \\, and sed turns \\ into \).
5964 -e "s/'/'\\\\''/g" \
5965 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
5968 # `set' quotes correctly as required by POSIX, so do not add quotes.
5969 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
5972 if cmp -s $cache_file confcache
; then
5975 if test -w $cache_file; then
5976 echo "updating cache $cache_file"
5977 cat confcache
> $cache_file
5979 echo "not updating unwritable cache $cache_file"
5985 if test "$build" != "$host" ; then
5989 RANLIB
=$host_alias-ranlib
5990 DLLTOOL
=$host_alias-dlltool
5991 RESCOMP
=$host_alias-windres
5994 STRIP
=$host_alias-strip
5997 # Extract the first word of "gcc", so it can be a program name with args.
5998 set dummy gcc
; ac_word
=$2
5999 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6000 echo "configure:6001: checking for $ac_word" >&5
6001 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
6002 echo $ac_n "(cached) $ac_c" 1>&6
6004 if test -n "$CC"; then
6005 ac_cv_prog_CC
="$CC" # Let the user override the test.
6007 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6009 for ac_dir
in $ac_dummy; do
6010 test -z "$ac_dir" && ac_dir
=.
6011 if test -f $ac_dir/$ac_word; then
6020 if test -n "$CC"; then
6021 echo "$ac_t""$CC" 1>&6
6023 echo "$ac_t""no" 1>&6
6026 if test -z "$CC"; then
6027 # Extract the first word of "cc", so it can be a program name with args.
6028 set dummy cc
; ac_word
=$2
6029 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6030 echo "configure:6031: checking for $ac_word" >&5
6031 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
6032 echo $ac_n "(cached) $ac_c" 1>&6
6034 if test -n "$CC"; then
6035 ac_cv_prog_CC
="$CC" # Let the user override the test.
6037 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6040 for ac_dir
in $ac_dummy; do
6041 test -z "$ac_dir" && ac_dir
=.
6042 if test -f $ac_dir/$ac_word; then
6043 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
6044 ac_prog_rejected
=yes
6052 if test $ac_prog_rejected = yes; then
6053 # We found a bogon in the path, so make sure we never use it.
6054 set dummy
$ac_cv_prog_CC
6056 if test $# -gt 0; then
6057 # We chose a different compiler from the bogus one.
6058 # However, it has the same basename, so the bogon will be chosen
6059 # first if we set CC to just the basename; use the full file name.
6061 set dummy
"$ac_dir/$ac_word" "$@"
6069 if test -n "$CC"; then
6070 echo "$ac_t""$CC" 1>&6
6072 echo "$ac_t""no" 1>&6
6075 if test -z "$CC"; then
6076 case "`uname -s`" in
6078 # Extract the first word of "cl", so it can be a program name with args.
6079 set dummy cl
; ac_word
=$2
6080 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6081 echo "configure:6082: checking for $ac_word" >&5
6082 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
6083 echo $ac_n "(cached) $ac_c" 1>&6
6085 if test -n "$CC"; then
6086 ac_cv_prog_CC
="$CC" # Let the user override the test.
6088 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6090 for ac_dir
in $ac_dummy; do
6091 test -z "$ac_dir" && ac_dir
=.
6092 if test -f $ac_dir/$ac_word; then
6101 if test -n "$CC"; then
6102 echo "$ac_t""$CC" 1>&6
6104 echo "$ac_t""no" 1>&6
6109 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
6112 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
6113 echo "configure:6114: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
6116 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6117 ac_cpp
='$CPP $CPPFLAGS'
6118 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6119 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6120 cross_compiling
=$ac_cv_prog_cc_cross
6122 cat > conftest.
$ac_ext << EOF
6124 #line 6125 "configure"
6125 #include "confdefs.h"
6129 if { (eval echo configure
:6130: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6130 ac_cv_prog_cc_works
=yes
6131 # If we can't run a trivial program, we are probably using a cross compiler.
6132 if (.
/conftest
; exit) 2>/dev
/null
; then
6133 ac_cv_prog_cc_cross
=no
6135 ac_cv_prog_cc_cross
=yes
6138 echo "configure: failed program was:" >&5
6139 cat conftest.
$ac_ext >&5
6140 ac_cv_prog_cc_works
=no
6144 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6145 ac_cpp
='$CPP $CPPFLAGS'
6146 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6147 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6148 cross_compiling
=$ac_cv_prog_cc_cross
6150 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
6151 if test $ac_cv_prog_cc_works = no
; then
6152 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
6154 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
6155 echo "configure:6156: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
6156 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
6157 cross_compiling
=$ac_cv_prog_cc_cross
6159 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
6160 echo "configure:6161: checking whether we are using GNU C" >&5
6161 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
6162 echo $ac_n "(cached) $ac_c" 1>&6
6164 cat > conftest.c
<<EOF
6169 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:6170: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
6176 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
6178 if test $ac_cv_prog_gcc = yes; then
6184 ac_test_CFLAGS
="${CFLAGS+set}"
6185 ac_save_CFLAGS
="$CFLAGS"
6187 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
6188 echo "configure:6189: checking whether ${CC-cc} accepts -g" >&5
6189 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
6190 echo $ac_n "(cached) $ac_c" 1>&6
6192 echo 'void f(){}' > conftest.c
6193 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
6202 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
6203 if test "$ac_test_CFLAGS" = set; then
6204 CFLAGS
="$ac_save_CFLAGS"
6205 elif test $ac_cv_prog_cc_g = yes; then
6206 if test "$GCC" = yes; then
6212 if test "$GCC" = yes; then
6220 CFLAGS
=`echo "$CFLAGS" | sed 's/-g//g'`
6222 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
6223 echo "configure:6224: checking how to run the C preprocessor" >&5
6224 # On Suns, sometimes $CPP names a directory.
6225 if test -n "$CPP" && test -d "$CPP"; then
6228 if test -z "$CPP"; then
6229 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
6230 echo $ac_n "(cached) $ac_c" 1>&6
6232 # This must be in double quotes, not single quotes, because CPP may get
6233 # substituted into the Makefile and "${CC-cc}" will confuse make.
6235 # On the NeXT, cc -E runs the code through the compiler's parser,
6236 # not just through cpp.
6237 cat > conftest.
$ac_ext <<EOF
6238 #line 6239 "configure"
6239 #include "confdefs.h"
6243 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6244 { (eval echo configure
:6245: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6245 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6246 if test -z "$ac_err"; then
6250 echo "configure: failed program was:" >&5
6251 cat conftest.
$ac_ext >&5
6253 CPP
="${CC-cc} -E -traditional-cpp"
6254 cat > conftest.
$ac_ext <<EOF
6255 #line 6256 "configure"
6256 #include "confdefs.h"
6260 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6261 { (eval echo configure
:6262: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6262 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6263 if test -z "$ac_err"; then
6267 echo "configure: failed program was:" >&5
6268 cat conftest.
$ac_ext >&5
6270 CPP
="${CC-cc} -nologo -E"
6271 cat > conftest.
$ac_ext <<EOF
6272 #line 6273 "configure"
6273 #include "confdefs.h"
6277 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6278 { (eval echo configure
:6279: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6279 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6280 if test -z "$ac_err"; then
6284 echo "configure: failed program was:" >&5
6285 cat conftest.
$ac_ext >&5
6294 ac_cv_prog_CPP
="$CPP"
6296 CPP
="$ac_cv_prog_CPP"
6298 ac_cv_prog_CPP
="$CPP"
6300 echo "$ac_t""$CPP" 1>&6
6303 if test $ac_cv_prog_gcc = yes; then
6304 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
6305 echo "configure:6306: checking whether ${CC-cc} needs -traditional" >&5
6306 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
6307 echo $ac_n "(cached) $ac_c" 1>&6
6309 ac_pattern
="Autoconf.*'x'"
6310 cat > conftest.
$ac_ext <<EOF
6311 #line 6312 "configure"
6312 #include "confdefs.h"
6316 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6317 egrep "$ac_pattern" >/dev
/null
2>&1; then
6319 ac_cv_prog_gcc_traditional
=yes
6322 ac_cv_prog_gcc_traditional
=no
6327 if test $ac_cv_prog_gcc_traditional = no
; then
6328 cat > conftest.
$ac_ext <<EOF
6329 #line 6330 "configure"
6330 #include "confdefs.h"
6334 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6335 egrep "$ac_pattern" >/dev
/null
2>&1; then
6337 ac_cv_prog_gcc_traditional
=yes
6344 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
6345 if test $ac_cv_prog_gcc_traditional = yes; then
6346 CC
="$CC -traditional"
6353 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6354 ac_cpp
='$CXXCPP $CPPFLAGS'
6355 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6356 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6357 cross_compiling
=$ac_cv_prog_cxx_cross
6360 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++ cl
6362 # Extract the first word of "$ac_prog", so it can be a program name with args.
6363 set dummy
$ac_prog; ac_word
=$2
6364 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6365 echo "configure:6366: checking for $ac_word" >&5
6366 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
6367 echo $ac_n "(cached) $ac_c" 1>&6
6369 if test -n "$CXX"; then
6370 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
6372 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6374 for ac_dir
in $ac_dummy; do
6375 test -z "$ac_dir" && ac_dir
=.
6376 if test -f $ac_dir/$ac_word; then
6377 ac_cv_prog_CXX
="$ac_prog"
6384 CXX
="$ac_cv_prog_CXX"
6385 if test -n "$CXX"; then
6386 echo "$ac_t""$CXX" 1>&6
6388 echo "$ac_t""no" 1>&6
6391 test -n "$CXX" && break
6393 test -n "$CXX" || CXX
="gcc"
6396 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
6397 echo "configure:6398: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
6400 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6401 ac_cpp
='$CXXCPP $CPPFLAGS'
6402 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6403 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6404 cross_compiling
=$ac_cv_prog_cxx_cross
6406 cat > conftest.
$ac_ext << EOF
6408 #line 6409 "configure"
6409 #include "confdefs.h"
6411 int main(){return(0);}
6413 if { (eval echo configure
:6414: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6414 ac_cv_prog_cxx_works
=yes
6415 # If we can't run a trivial program, we are probably using a cross compiler.
6416 if (.
/conftest
; exit) 2>/dev
/null
; then
6417 ac_cv_prog_cxx_cross
=no
6419 ac_cv_prog_cxx_cross
=yes
6422 echo "configure: failed program was:" >&5
6423 cat conftest.
$ac_ext >&5
6424 ac_cv_prog_cxx_works
=no
6428 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6429 ac_cpp
='$CXXCPP $CPPFLAGS'
6430 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6431 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6432 cross_compiling
=$ac_cv_prog_cxx_cross
6434 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
6435 if test $ac_cv_prog_cxx_works = no
; then
6436 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
6438 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
6439 echo "configure:6440: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
6440 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
6441 cross_compiling
=$ac_cv_prog_cxx_cross
6443 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
6444 echo "configure:6445: checking whether we are using GNU C++" >&5
6445 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
6446 echo $ac_n "(cached) $ac_c" 1>&6
6448 cat > conftest.C
<<EOF
6453 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:6454: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
6460 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
6462 if test $ac_cv_prog_gxx = yes; then
6468 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
6469 ac_save_CXXFLAGS
="$CXXFLAGS"
6471 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
6472 echo "configure:6473: checking whether ${CXX-g++} accepts -g" >&5
6473 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
6474 echo $ac_n "(cached) $ac_c" 1>&6
6476 echo 'void f(){}' > conftest.cc
6477 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
6478 ac_cv_prog_cxx_g
=yes
6486 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
6487 if test "$ac_test_CXXFLAGS" = set; then
6488 CXXFLAGS
="$ac_save_CXXFLAGS"
6489 elif test $ac_cv_prog_cxx_g = yes; then
6490 if test "$GXX" = yes; then
6496 if test "$GXX" = yes; then
6504 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
6505 echo "configure:6506: checking how to run the C++ preprocessor" >&5
6506 if test -z "$CXXCPP"; then
6507 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
6508 echo $ac_n "(cached) $ac_c" 1>&6
6511 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6512 ac_cpp
='$CXXCPP $CPPFLAGS'
6513 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6514 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6515 cross_compiling
=$ac_cv_prog_cxx_cross
6516 CXXCPP
="${CXX-g++} -E"
6517 cat > conftest.
$ac_ext <<EOF
6518 #line 6519 "configure"
6519 #include "confdefs.h"
6522 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6523 { (eval echo configure
:6524: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6524 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6525 if test -z "$ac_err"; then
6529 echo "configure: failed program was:" >&5
6530 cat conftest.
$ac_ext >&5
6535 ac_cv_prog_CXXCPP
="$CXXCPP"
6537 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6538 ac_cpp
='$CXXCPP $CPPFLAGS'
6539 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6540 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6541 cross_compiling
=$ac_cv_prog_cxx_cross
6544 CXXCPP
="$ac_cv_prog_CXXCPP"
6545 echo "$ac_t""$CXXCPP" 1>&6
6548 CXXFLAGS
=`echo "$CXXFLAGS" | sed 's/-g//g'`
6551 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6552 ac_cpp
='$CPP $CPPFLAGS'
6553 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6554 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6555 cross_compiling
=$ac_cv_prog_cc_cross
6558 # Extract the first word of "ranlib", so it can be a program name with args.
6559 set dummy ranlib
; ac_word
=$2
6560 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6561 echo "configure:6562: checking for $ac_word" >&5
6562 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
6563 echo $ac_n "(cached) $ac_c" 1>&6
6565 if test -n "$RANLIB"; then
6566 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6568 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6570 for ac_dir
in $ac_dummy; do
6571 test -z "$ac_dir" && ac_dir
=.
6572 if test -f $ac_dir/$ac_word; then
6573 ac_cv_prog_RANLIB
="ranlib"
6578 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
6581 RANLIB
="$ac_cv_prog_RANLIB"
6582 if test -n "$RANLIB"; then
6583 echo "$ac_t""$RANLIB" 1>&6
6585 echo "$ac_t""no" 1>&6
6589 # Extract the first word of "ar", so it can be a program name with args.
6590 set dummy
ar; ac_word
=$2
6591 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6592 echo "configure:6593: checking for $ac_word" >&5
6593 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
6594 echo $ac_n "(cached) $ac_c" 1>&6
6596 if test -n "$AR"; then
6597 ac_cv_prog_AR
="$AR" # Let the user override the test.
6599 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6601 for ac_dir
in $ac_dummy; do
6602 test -z "$ac_dir" && ac_dir
=.
6603 if test -f $ac_dir/$ac_word; then
6609 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
6613 if test -n "$AR"; then
6614 echo "$ac_t""$AR" 1>&6
6616 echo "$ac_t""no" 1>&6
6620 # Find a good install program. We prefer a C program (faster),
6621 # so one script is as good as another. But avoid the broken or
6622 # incompatible versions:
6623 # SysV /etc/install, /usr/sbin/install
6624 # SunOS /usr/etc/install
6625 # IRIX /sbin/install
6627 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6628 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6629 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6630 # ./install, which can be erroneously created by make from ./install.sh.
6631 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
6632 echo "configure:6633: checking for a BSD compatible install" >&5
6633 if test -z "$INSTALL"; then
6634 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
6635 echo $ac_n "(cached) $ac_c" 1>&6
6637 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
6638 for ac_dir
in $PATH; do
6639 # Account for people who put trailing slashes in PATH elements.
6641 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
6643 # OSF1 and SCO ODT 3.0 have their own names for install.
6644 # Don't use installbsd from OSF since it installs stuff as root
6646 for ac_prog
in ginstall scoinst
install; do
6647 if test -f $ac_dir/$ac_prog; then
6648 if test $ac_prog = install &&
6649 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
6650 # AIX install. It has an incompatible calling convention.
6653 ac_cv_path_install
="$ac_dir/$ac_prog -c"
6664 if test "${ac_cv_path_install+set}" = set; then
6665 INSTALL
="$ac_cv_path_install"
6667 # As a last resort, use the slow shell script. We don't cache a
6668 # path for INSTALL within a source directory, because that will
6669 # break other packages using the cache if that directory is
6670 # removed, or if the path is relative.
6671 INSTALL
="$ac_install_sh"
6674 echo "$ac_t""$INSTALL" 1>&6
6676 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6677 # It thinks the first close brace ends the variable substitution.
6678 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
6680 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
6682 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
6685 # Extract the first word of "strip", so it can be a program name with args.
6686 set dummy strip
; ac_word
=$2
6687 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6688 echo "configure:6689: checking for $ac_word" >&5
6689 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
6690 echo $ac_n "(cached) $ac_c" 1>&6
6692 if test -n "$STRIP"; then
6693 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6695 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6697 for ac_dir
in $ac_dummy; do
6698 test -z "$ac_dir" && ac_dir
=.
6699 if test -f $ac_dir/$ac_word; then
6700 ac_cv_prog_STRIP
="strip"
6705 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
6708 STRIP
="$ac_cv_prog_STRIP"
6709 if test -n "$STRIP"; then
6710 echo "$ac_t""$STRIP" 1>&6
6712 echo "$ac_t""no" 1>&6
6716 echo $ac_n "checking "make for VPATH support
"""... $ac_c" 1>&6
6717 echo "configure:6718: checking "make for VPATH support
"" >&5
6718 cat - << EOF > confMake
6724 if test ! -d sub
; then
6727 echo dummy
> sub
/file
6728 ${MAKE-make} -f confMake VPATH
=sub
2> config.log
> /dev
/null
6730 rm -f sub
/file check final_file confMake
6732 if test "$RESULT" = 0; then
6733 echo "$ac_t""yes" 1>&6
6735 echo "$ac_t""no" 1>&6
6736 { echo "configure: error: You need a make-utility that is able to use the variable
6738 If your version of make does not support VPATH correctly" 1>&2; exit 1; }
6741 for ac_prog
in 'bison -y' byacc
6743 # Extract the first word of "$ac_prog", so it can be a program name with args.
6744 set dummy
$ac_prog; ac_word
=$2
6745 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6746 echo "configure:6747: checking for $ac_word" >&5
6747 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
6748 echo $ac_n "(cached) $ac_c" 1>&6
6750 if test -n "$YACC"; then
6751 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
6753 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6755 for ac_dir
in $ac_dummy; do
6756 test -z "$ac_dir" && ac_dir
=.
6757 if test -f $ac_dir/$ac_word; then
6758 ac_cv_prog_YACC
="$ac_prog"
6765 YACC
="$ac_cv_prog_YACC"
6766 if test -n "$YACC"; then
6767 echo "$ac_t""$YACC" 1>&6
6769 echo "$ac_t""no" 1>&6
6772 test -n "$YACC" && break
6774 test -n "$YACC" || YACC
="yacc"
6777 # Extract the first word of "flex", so it can be a program name with args.
6778 set dummy flex
; ac_word
=$2
6779 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6780 echo "configure:6781: checking for $ac_word" >&5
6781 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
6782 echo $ac_n "(cached) $ac_c" 1>&6
6784 if test -n "$LEX"; then
6785 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
6787 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6789 for ac_dir
in $ac_dummy; do
6790 test -z "$ac_dir" && ac_dir
=.
6791 if test -f $ac_dir/$ac_word; then
6792 ac_cv_prog_LEX
="flex"
6797 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
6800 LEX
="$ac_cv_prog_LEX"
6801 if test -n "$LEX"; then
6802 echo "$ac_t""$LEX" 1>&6
6804 echo "$ac_t""no" 1>&6
6807 if test -z "$LEXLIB"
6813 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
6814 echo "configure:6815: checking for yywrap in -l$ac_lib" >&5
6815 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
6816 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6817 echo $ac_n "(cached) $ac_c" 1>&6
6819 ac_save_LIBS
="$LIBS"
6820 LIBS
="-l$ac_lib $LIBS"
6821 cat > conftest.
$ac_ext <<EOF
6822 #line 6823 "configure"
6823 #include "confdefs.h"
6824 /* Override any gcc2 internal prototype to avoid an error. */
6825 /* We use char because int might match the return type of a gcc2
6826 builtin and then its argument prototype would still apply. */
6833 if { (eval echo configure
:6834: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6835 eval "ac_cv_lib_$ac_lib_var=yes"
6837 echo "configure: failed program was:" >&5
6838 cat conftest.
$ac_ext >&5
6840 eval "ac_cv_lib_$ac_lib_var=no"
6843 LIBS
="$ac_save_LIBS"
6846 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6847 echo "$ac_t""yes" 1>&6
6850 echo "$ac_t""no" 1>&6
6856 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
6857 echo "configure:6858: checking whether ln -s works" >&5
6858 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
6859 echo $ac_n "(cached) $ac_c" 1>&6
6862 if ln -s X conftestdata
2>/dev
/null
6865 ac_cv_prog_LN_S
="ln -s"
6870 LN_S
="$ac_cv_prog_LN_S"
6871 if test "$ac_cv_prog_LN_S" = "ln -s"; then
6872 echo "$ac_t""yes" 1>&6
6874 echo "$ac_t""no" 1>&6
6880 /usr/local/include \
6882 /usr/Motif-1.2/include \
6883 /usr/Motif-2.1/include \
6885 /usr/include/Motif1.2 \
6886 /opt/xpm/include/X11 \
6887 /opt/GBxpm/include/ \
6888 /opt/GBxpm/X11/include/ \
6890 /usr/Motif1.2/include \
6892 /usr/openwin/include \
6896 /usr/X11R6/include \
6897 /usr/X11R6.4/include \
6898 /usr/X11R5/include \
6899 /usr/X11R4/include \
6901 /usr/include/X11R6 \
6902 /usr/include/X11R5 \
6903 /usr/include/X11R4 \
6905 /usr/local/X11R6/include \
6906 /usr/local/X11R5/include \
6907 /usr/local/X11R4/include \
6909 /usr/local/include/X11R6 \
6910 /usr/local/include/X11R5 \
6911 /usr/local/include/X11R4 \
6915 /usr/local/X11/include \
6916 /usr/local/include/X11 \
6920 /usr/XFree86/include/X11 \
6922 X:/XFree86/include \
6923 X:/XFree86/include/X11 \
6926 /usr/local/include/gtk \
6928 /usr/local/include/glib \
6931 /usr/local/include/qt \
6933 /usr/include/windows \
6935 /usr/local/include/wine \
6937 /usr/unsupported/include \
6938 /usr/athena/include \
6939 /usr/local/x11r5/include \
6940 /usr/lpp/Xamples/include \
6942 /usr/openwin/share/include \
6946 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
6949 cat > confcache
<<\EOF
6950 # This file is a shell script that caches the results of configure
6951 # tests run on this system so they can be shared between configure
6952 # scripts and configure runs. It is not useful on other systems.
6953 # If it contains results you don't want to keep, you may remove or edit it.
6955 # By default, configure uses ./config.cache as the cache file,
6956 # creating it if it does not exist already. You can give configure
6957 # the --cache-file=FILE option to use a different cache file; that is
6958 # what configure does when it calls configure scripts in
6959 # subdirectories, so they share the cache.
6960 # Giving --cache-file=/dev/null disables caching, for debugging configure.
6961 # config.status only pays attention to the cache file if you give it the
6962 # --recheck option to rerun configure.
6965 # The following way of writing the cache mishandles newlines in values,
6966 # but we know of no workaround that is simple, portable, and efficient.
6967 # So, don't put newlines in cache variables' values.
6968 # Ultrix sh set writes to stderr and can't be redirected directly,
6969 # and sets the high bit in the cache file unless we assign to the vars.
6971 case `(ac_space=' '; set | grep ac_space) 2>&1` in
6973 # `set' does not quote correctly, so add quotes (double-quote substitution
6974 # turns \\\\ into \\, and sed turns \\ into \).
6976 -e "s/'/'\\\\''/g" \
6977 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
6980 # `set' quotes correctly as required by POSIX, so do not add quotes.
6981 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
6984 if cmp -s $cache_file confcache
; then
6987 if test -w $cache_file; then
6988 echo "updating cache $cache_file"
6989 cat confcache
> $cache_file
6991 echo "not updating unwritable cache $cache_file"
7000 if test "$wxUSE_GUI" = "yes"; then
7019 if test "$wxUSE_CYGWIN" = 1 || test "$wxUSE_MINGW" = 1 ; then
7020 if test "$cross_compiling" = "yes" ; then
7021 echo "configure: warning: skipping windows.h check for cross-compilation" 1>&2
7023 echo $ac_n "checking for Windows headers""... $ac_c" 1>&6
7024 echo "configure:7025: checking for Windows headers" >&5
7027 for ac_dir
in $SEARCH_INCLUDE;
7029 if test -f "$ac_dir/windows.h"; then
7030 ac_find_includes
=$ac_dir
7035 if test "$ac_find_includes" != "" ; then
7036 echo "$ac_t""found $ac_find_includes" 1>&6
7037 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE -I$ac_find_includes"
7039 echo "$ac_t""no" 1>&6
7040 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
7044 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS msw"
7045 LIBS
="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -lcrtdll -ladvapi32 -lwsock32"
7047 if test "$wxUSE_ODBC" = "yes" ; then
7048 LIBS
="$LIBS -lodbc32 -lole32 -loleaut32"
7051 if test "$wxUSE_MINGW" = 1; then
7052 LDFLAGS
="$LDFLAGS -mwindows"
7057 GUIOBJS
="\$(MSW_GUIOBJS)"
7058 GUIHEADERS
="\$(MSW_HEADERS)"
7059 COMMONOBJS
="\$(MSW_COMMONOBJS)"
7060 GENERICOBJS
="\$(MSW_GENERICOBJS)"
7064 RCINCSWITCH
="--include-dir"
7065 RCDEFSWITCH
="--define"
7066 RCPREPROCESSOR
="--preprocessor \"\$(CC) -c -E -xc-header -DRC_INVOKED\""
7069 RESFLAGS
="$RCPREPROCESSOR $RCINCSWITCH \$(top_srcdir)/include $RCINCSWITCH \$(top_srcdir)/\$(program_dir) $RCDEFSWITCH __WIN32__ $RCDEFSWITCH __WIN95__ $RCDEFSWITCH __GNUWIN32__"
7071 RESPROGRAM
="\$(RES_PROGRAM)"
7075 if test "$wxUSE_GTK" = 1; then
7077 if test x
$gtk_config_exec_prefix != x
; then
7078 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
7079 if test x
${GTK_CONFIG+set} != xset
; then
7080 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
7083 if test x
$gtk_config_prefix != x
; then
7084 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
7085 if test x
${GTK_CONFIG+set} != xset
; then
7086 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
7090 # Extract the first word of "gtk-config", so it can be a program name with args.
7091 set dummy gtk
-config; ac_word
=$2
7092 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7093 echo "configure:7094: checking for $ac_word" >&5
7094 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
7095 echo $ac_n "(cached) $ac_c" 1>&6
7097 case "$GTK_CONFIG" in
7099 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
7102 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
7105 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7107 for ac_dir
in $ac_dummy; do
7108 test -z "$ac_dir" && ac_dir
=.
7109 if test -f $ac_dir/$ac_word; then
7110 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
7115 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
7119 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
7120 if test -n "$GTK_CONFIG"; then
7121 echo "$ac_t""$GTK_CONFIG" 1>&6
7123 echo "$ac_t""no" 1>&6
7126 min_gtk_version
=1.2.3
7127 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
7128 echo "configure:7129: checking for GTK - version >= $min_gtk_version" >&5
7130 if test "$GTK_CONFIG" != "no" ; then
7131 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
7132 GTK_LIBS
=`$GTK_CONFIG --libs gthread`
7133 ac_save_CFLAGS
="$CFLAGS"
7134 ac_save_LIBS
="$LIBS"
7135 CFLAGS
="$CFLAGS $GTK_CFLAGS"
7136 LIBS
="$LIBS $GTK_LIBS"
7137 if test "$cross_compiling" = yes; then
7138 echo $ac_n "cross compiling; assumed OK... $ac_c"
7140 cat > conftest.
$ac_ext <<EOF
7141 #line 7142 "configure"
7142 #include "confdefs.h"
7144 #include <gtk/gtk.h>
7145 #include <gtk/gtkfeatures.h>
7152 int major, minor, micro;
7154 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
7155 printf("%s, bad version string\n", "$min_gtk_version");
7159 if ((GTK_MAJOR_VERSION != gtk_major_version) ||
7160 (GTK_MINOR_VERSION != gtk_minor_version) ||
7161 (GTK_MICRO_VERSION != gtk_micro_version)) {
7162 printf("Headers vs. library version mismatch!\n");
7166 if (gtk_minor_version == 1) return FALSE;
7168 return !((gtk_major_version > major) ||
7169 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
7170 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
7174 if { (eval echo configure
:7175: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
7178 echo "configure: failed program was:" >&5
7179 cat conftest.
$ac_ext >&5
7186 CFLAGS
="$ac_save_CFLAGS"
7187 LIBS
="$ac_save_LIBS"
7191 if test "x$no_gtk" = x
; then
7192 echo "$ac_t""yes" 1>&6
7195 echo "$ac_t""no" 1>&6
7204 if test "$WXGTK12" != 1; then
7205 { echo "configure: error:
7206 Please check that gtk-config is in path, the directory
7207 where GTK+ libraries are installed (returned by
7208 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
7209 equivalent variable and GTK+ is version 1.2.3 or above.
7214 TOOLKIT_INCLUDE
="$GTK_CFLAGS"
7217 GUI_TK_LIBRARY
="$GTK_LIBS"
7221 AFMINSTALL
=afminstall
7223 GUIOBJS
="\$(GTK_GUIOBJS)"
7224 GUIHEADERS
="\$(GTK_HEADERS)"
7225 COMMONOBJS
="\$(GTK_COMMONOBJS)"
7226 GENERICOBJS
="\$(GTK_GENERICOBJS)"
7227 GUIDEPS
="\$(GTK_GUIDEPS)"
7228 COMMONDEPS
="\$(GTK_COMMONDEPS)"
7229 GENERICDEPS
="\$(GTK_GENERICDEPS)"
7230 UNIXOBJS
="\$(UNIX_OBJS)"
7231 UNIXDEPS
="\$(UNIX_DEPS)"
7234 echo $ac_n "checking for gdk_im_open in -lgdk""... $ac_c" 1>&6
7235 echo "configure:7236: checking for gdk_im_open in -lgdk" >&5
7236 ac_lib_var
=`echo gdk'_'gdk_im_open | sed 'y%./+-%__p_%'`
7237 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7238 echo $ac_n "(cached) $ac_c" 1>&6
7240 ac_save_LIBS
="$LIBS"
7242 cat > conftest.
$ac_ext <<EOF
7243 #line 7244 "configure"
7244 #include "confdefs.h"
7245 /* Override any gcc2 internal prototype to avoid an error. */
7246 /* We use char because int might match the return type of a gcc2
7247 builtin and then its argument prototype would still apply. */
7254 if { (eval echo configure
:7255: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7256 eval "ac_cv_lib_$ac_lib_var=yes"
7258 echo "configure: failed program was:" >&5
7259 cat conftest.
$ac_ext >&5
7261 eval "ac_cv_lib_$ac_lib_var=no"
7264 LIBS
="$ac_save_LIBS"
7267 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7268 echo "$ac_t""yes" 1>&6
7269 cat >> confdefs.h
<<\EOF
7274 echo "$ac_t""no" 1>&6
7279 if test "$wxUSE_WINE" = 1; then
7280 echo $ac_n "checking for WINE includes""... $ac_c" 1>&6
7281 echo "configure:7282: checking for WINE includes" >&5
7284 for ac_dir
in $SEARCH_INCLUDE;
7286 if test -f "$ac_dir/windows.h"; then
7287 ac_find_includes
=$ac_dir
7292 if test "$ac_find_includes" != "" ; then
7293 echo "$ac_t""found $ac_find_includes" 1>&6
7294 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE -I$ac_find_includes"
7296 echo "$ac_t""no" 1>&6
7297 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
7301 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
7302 echo "configure:7303: checking for Xpm library" >&5
7305 for ac_dir
in $SEARCH_LIB;
7307 for ac_extension
in a so sl
; do
7308 if test -f "$ac_dir/libXpm.$ac_extension"; then
7309 ac_find_libraries
=$ac_dir
7315 if test "$ac_find_libraries" != "" ; then
7316 GUI_TK_LIBRARY
="-L$ac_find_libraries"
7318 cat >> confdefs.h
<<\EOF
7319 #define wxHAVE_LIB_XPM 1
7322 echo "$ac_t""found at $ac_find_libraries" 1>&6
7324 echo "$ac_t""no" 1>&6
7325 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
7329 echo $ac_n "checking for Mesa library""... $ac_c" 1>&6
7330 echo "configure:7331: checking for Mesa library" >&5
7333 for ac_dir
in $SEARCH_LIB;
7335 for ac_extension
in a so sl
; do
7336 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
7337 ac_find_libraries
=$ac_dir
7343 if test "$ac_find_libraries" != "" ; then
7344 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -L$ac_find_libraries"
7345 MESA_LINK
="-lMesaGL"
7346 echo "$ac_t""found at $ac_find_libraries" 1>&6
7348 { echo "configure: error: no" 1>&2; exit 1; }
7351 GUI_TK_LINK
="-lwine $MESA_LINK $XPM_LINK -lXxf86dga -lXxf86vm -lSM -lICE -lXext -lXmu -lX11 -lncurses -lm"
7352 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GUI_TK_LINK"
7356 GUIHEADERS
="\$(MSW_HEADERS)"
7357 GUIOBJS
="\$(MSW_GUIOBJS)"
7358 COMMONOBJS
="\$(MSW_COMMONOBJS)"
7359 GENERICOBJS
="\$(MSW_GENERICOBJS)"
7360 GUIDEPS
="\$(MSW_GUIDEPS)"
7361 COMMONDEPS
="\$(MSW_COMMONDEPS)"
7362 GENERICDEPS
="\$(MSW_GENERICDEPS)"
7363 UNIXOBJS
="\$(UNIX_OBJS)"
7364 UNIXDEPS
="\$(UNIX_DEPS)"
7368 if test "$wxUSE_MOTIF" = 1; then
7369 # If we find X, set shell vars x_includes and x_libraries to the
7370 # paths, otherwise set no_x=yes.
7371 # Uses ac_ vars as temps to allow command line to override cache and checks.
7372 # --without-x overrides everything else, but does not touch the cache.
7373 echo $ac_n "checking for X""... $ac_c" 1>&6
7374 echo "configure:7375: checking for X" >&5
7376 # Check whether --with-x or --without-x was given.
7377 if test "${with_x+set}" = set; then
7382 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
7383 if test "x$with_x" = xno
; then
7384 # The user explicitly disabled X.
7387 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
7388 # Both variables are already set.
7391 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
7392 echo $ac_n "(cached) $ac_c" 1>&6
7394 # One or both of the vars are not set, and there is no cached value.
7395 ac_x_includes
=NO ac_x_libraries
=NO
7397 if mkdir conftestdir
; then
7399 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
7400 cat > Imakefile
<<'EOF'
7402 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
7404 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
7405 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
7406 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
7407 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
7408 for ac_extension
in a so sl
; do
7409 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
7410 test -f $ac_im_libdir/libX11.
$ac_extension; then
7411 ac_im_usrlibdir
=$ac_im_libdir; break
7414 # Screen out bogus values from the imake configuration. They are
7415 # bogus both because they are the default anyway, and because
7416 # using them would break gcc on systems where it needs fixed includes.
7417 case "$ac_im_incroot" in
7419 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;;
7421 case "$ac_im_usrlibdir" in
7423 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;;
7430 if test "$ac_x_includes" = NO
; then
7431 # Guess where to find include files, by looking for this one X11 .h file.
7432 test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
7434 # First, try using that file with no special directory specified.
7435 cat > conftest.
$ac_ext <<EOF
7436 #line 7437 "configure"
7437 #include "confdefs.h"
7438 #include <$x_direct_test_include>
7440 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7441 { (eval echo configure
:7442: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7442 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7443 if test -z "$ac_err"; then
7445 # We can compile using X headers with no special include directory.
7449 echo "configure: failed program was:" >&5
7450 cat conftest.
$ac_ext >&5
7452 # Look for the header file in a standard set of common directories.
7453 # Check X11 before X11Rn because it is often a symlink to the current release.
7456 /usr
/X
11R
6/include \
7457 /usr
/X
11R
5/include \
7458 /usr
/X
11R
4/include \
7461 /usr
/include
/X11R6 \
7462 /usr
/include
/X11R5 \
7463 /usr
/include
/X11R4 \
7465 /usr
/local
/X
11/include \
7466 /usr
/local
/X
11R
6/include \
7467 /usr
/local
/X
11R
5/include \
7468 /usr
/local
/X
11R
4/include \
7470 /usr
/local
/include
/X11 \
7471 /usr
/local
/include
/X11R6 \
7472 /usr
/local
/include
/X11R5 \
7473 /usr
/local
/include
/X11R4 \
7477 /usr
/XFree
86/include
/X11 \
7480 /usr
/local
/include \
7481 /usr
/unsupported
/include \
7482 /usr
/athena
/include \
7483 /usr
/local
/x
11r
5/include \
7484 /usr
/lpp
/Xamples
/include \
7486 /usr
/openwin
/include \
7487 /usr
/openwin
/share
/include \
7490 if test -r "$ac_dir/$x_direct_test_include"; then
7491 ac_x_includes
=$ac_dir
7497 fi # $ac_x_includes = NO
7499 if test "$ac_x_libraries" = NO
; then
7500 # Check for the libraries.
7502 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
7503 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
7505 # See if we find them without any special options.
7506 # Don't add to $LIBS permanently.
7507 ac_save_LIBS
="$LIBS"
7508 LIBS
="-l$x_direct_test_library $LIBS"
7509 cat > conftest.
$ac_ext <<EOF
7510 #line 7511 "configure"
7511 #include "confdefs.h"
7514 ${x_direct_test_function}()
7517 if { (eval echo configure
:7518: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7519 LIBS
="$ac_save_LIBS"
7520 # We can link X programs with no special library path.
7523 echo "configure: failed program was:" >&5
7524 cat conftest.
$ac_ext >&5
7526 LIBS
="$ac_save_LIBS"
7527 # First see if replacing the include by lib works.
7528 # Check X11 before X11Rn because it is often a symlink to the current release.
7529 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib/` \
7540 /usr
/local
/X
11/lib \
7541 /usr
/local
/X
11R
6/lib \
7542 /usr
/local
/X
11R
5/lib \
7543 /usr
/local
/X
11R
4/lib \
7545 /usr
/local
/lib
/X11 \
7546 /usr
/local
/lib
/X11R6 \
7547 /usr
/local
/lib
/X11R5 \
7548 /usr
/local
/lib
/X11R4 \
7552 /usr
/XFree
86/lib
/X11 \
7556 /usr
/unsupported
/lib \
7558 /usr
/local
/x
11r
5/lib \
7559 /usr
/lpp
/Xamples
/lib \
7563 /usr
/openwin
/share
/lib \
7566 for ac_extension
in a so sl
; do
7567 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
7568 ac_x_libraries
=$ac_dir
7575 fi # $ac_x_libraries = NO
7577 if test "$ac_x_includes" = NO
|| test "$ac_x_libraries" = NO
; then
7578 # Didn't find X anywhere. Cache the known absence of X.
7579 ac_cv_have_x
="have_x=no"
7581 # Record where we found X for the cache.
7582 ac_cv_have_x
="have_x=yes \
7583 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
7587 eval "$ac_cv_have_x"
7590 if test "$have_x" != yes; then
7591 echo "$ac_t""$have_x" 1>&6
7594 # If each of the values was on the command line, it overrides each guess.
7595 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
7596 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
7597 # Update the cache value to reflect the command line values.
7598 ac_cv_have_x
="have_x=yes \
7599 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
7600 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
7603 if test "$no_x" = yes; then
7604 # Not all programs may use this symbol, but it does not hurt to define it.
7605 cat >> confdefs.h
<<\EOF
7606 #define X_DISPLAY_MISSING 1
7609 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
7611 if test -n "$x_includes"; then
7612 X_CFLAGS
="$X_CFLAGS -I$x_includes"
7615 # It would also be nice to do this for all -L options, not just this one.
7616 if test -n "$x_libraries"; then
7617 X_LIBS
="$X_LIBS -L$x_libraries"
7618 # For Solaris; some versions of Sun CC require a space after -R and
7619 # others require no space. Words are not sufficient . . . .
7620 case "`(uname -sr) 2>/dev/null`" in
7622 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
7623 echo "configure:7624: checking whether -R must be followed by a space" >&5
7624 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
7625 cat > conftest.
$ac_ext <<EOF
7626 #line 7627 "configure"
7627 #include "confdefs.h"
7633 if { (eval echo configure
:7634: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7637 echo "configure: failed program was:" >&5
7638 cat conftest.
$ac_ext >&5
7643 if test $ac_R_nospace = yes; then
7644 echo "$ac_t""no" 1>&6
7645 X_LIBS
="$X_LIBS -R$x_libraries"
7647 LIBS
="$ac_xsave_LIBS -R $x_libraries"
7648 cat > conftest.
$ac_ext <<EOF
7649 #line 7650 "configure"
7650 #include "confdefs.h"
7656 if { (eval echo configure
:7657: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7660 echo "configure: failed program was:" >&5
7661 cat conftest.
$ac_ext >&5
7666 if test $ac_R_space = yes; then
7667 echo "$ac_t""yes" 1>&6
7668 X_LIBS
="$X_LIBS -R $x_libraries"
7670 echo "$ac_t""neither works" 1>&6
7673 LIBS
="$ac_xsave_LIBS"
7677 # Check for system-dependent libraries X programs must link with.
7678 # Do this before checking for the system-independent R6 libraries
7679 # (-lICE), since we may need -lsocket or whatever for X linking.
7681 if test "$ISC" = yes; then
7682 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
7684 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
7685 # libraries were built with DECnet support. And karl@cs.umb.edu says
7686 # the Alpha needs dnet_stub (dnet does not exist).
7687 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
7688 echo "configure:7689: checking for dnet_ntoa in -ldnet" >&5
7689 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
7690 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7691 echo $ac_n "(cached) $ac_c" 1>&6
7693 ac_save_LIBS
="$LIBS"
7695 cat > conftest.
$ac_ext <<EOF
7696 #line 7697 "configure"
7697 #include "confdefs.h"
7698 /* Override any gcc2 internal prototype to avoid an error. */
7699 /* We use char because int might match the return type of a gcc2
7700 builtin and then its argument prototype would still apply. */
7707 if { (eval echo configure
:7708: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7709 eval "ac_cv_lib_$ac_lib_var=yes"
7711 echo "configure: failed program was:" >&5
7712 cat conftest.
$ac_ext >&5
7714 eval "ac_cv_lib_$ac_lib_var=no"
7717 LIBS
="$ac_save_LIBS"
7720 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7721 echo "$ac_t""yes" 1>&6
7722 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
7724 echo "$ac_t""no" 1>&6
7727 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
7728 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
7729 echo "configure:7730: checking for dnet_ntoa in -ldnet_stub" >&5
7730 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
7731 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7732 echo $ac_n "(cached) $ac_c" 1>&6
7734 ac_save_LIBS
="$LIBS"
7735 LIBS
="-ldnet_stub $LIBS"
7736 cat > conftest.
$ac_ext <<EOF
7737 #line 7738 "configure"
7738 #include "confdefs.h"
7739 /* Override any gcc2 internal prototype to avoid an error. */
7740 /* We use char because int might match the return type of a gcc2
7741 builtin and then its argument prototype would still apply. */
7748 if { (eval echo configure
:7749: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7750 eval "ac_cv_lib_$ac_lib_var=yes"
7752 echo "configure: failed program was:" >&5
7753 cat conftest.
$ac_ext >&5
7755 eval "ac_cv_lib_$ac_lib_var=no"
7758 LIBS
="$ac_save_LIBS"
7761 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7762 echo "$ac_t""yes" 1>&6
7763 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
7765 echo "$ac_t""no" 1>&6
7770 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
7771 # to get the SysV transport functions.
7772 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
7774 # The nsl library prevents programs from opening the X display
7775 # on Irix 5.2, according to dickey@clark.net.
7776 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
7777 echo "configure:7778: checking for gethostbyname" >&5
7778 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
7779 echo $ac_n "(cached) $ac_c" 1>&6
7781 cat > conftest.
$ac_ext <<EOF
7782 #line 7783 "configure"
7783 #include "confdefs.h"
7784 /* System header to define __stub macros and hopefully few prototypes,
7785 which can conflict with char gethostbyname(); below. */
7787 /* Override any gcc2 internal prototype to avoid an error. */
7788 /* We use char because int might match the return type of a gcc2
7789 builtin and then its argument prototype would still apply. */
7790 char gethostbyname();
7794 /* The GNU C library defines this for functions which it implements
7795 to always fail with ENOSYS. Some functions are actually named
7796 something starting with __ and the normal name is an alias. */
7797 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
7805 if { (eval echo configure
:7806: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7807 eval "ac_cv_func_gethostbyname=yes"
7809 echo "configure: failed program was:" >&5
7810 cat conftest.
$ac_ext >&5
7812 eval "ac_cv_func_gethostbyname=no"
7817 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
7818 echo "$ac_t""yes" 1>&6
7821 echo "$ac_t""no" 1>&6
7824 if test $ac_cv_func_gethostbyname = no
; then
7825 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
7826 echo "configure:7827: checking for gethostbyname in -lnsl" >&5
7827 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
7828 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7829 echo $ac_n "(cached) $ac_c" 1>&6
7831 ac_save_LIBS
="$LIBS"
7833 cat > conftest.
$ac_ext <<EOF
7834 #line 7835 "configure"
7835 #include "confdefs.h"
7836 /* Override any gcc2 internal prototype to avoid an error. */
7837 /* We use char because int might match the return type of a gcc2
7838 builtin and then its argument prototype would still apply. */
7839 char gethostbyname();
7845 if { (eval echo configure
:7846: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7847 eval "ac_cv_lib_$ac_lib_var=yes"
7849 echo "configure: failed program was:" >&5
7850 cat conftest.
$ac_ext >&5
7852 eval "ac_cv_lib_$ac_lib_var=no"
7855 LIBS
="$ac_save_LIBS"
7858 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7859 echo "$ac_t""yes" 1>&6
7860 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
7862 echo "$ac_t""no" 1>&6
7867 # lieder@skyler.mavd.honeywell.com says without -lsocket,
7868 # socket/setsockopt and other routines are undefined under SCO ODT
7869 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
7870 # on later versions), says simon@lia.di.epfl.ch: it contains
7871 # gethostby* variants that don't use the nameserver (or something).
7872 # -lsocket must be given before -lnsl if both are needed.
7873 # We assume that if connect needs -lnsl, so does gethostbyname.
7874 echo $ac_n "checking for connect""... $ac_c" 1>&6
7875 echo "configure:7876: checking for connect" >&5
7876 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
7877 echo $ac_n "(cached) $ac_c" 1>&6
7879 cat > conftest.
$ac_ext <<EOF
7880 #line 7881 "configure"
7881 #include "confdefs.h"
7882 /* System header to define __stub macros and hopefully few prototypes,
7883 which can conflict with char connect(); below. */
7885 /* Override any gcc2 internal prototype to avoid an error. */
7886 /* We use char because int might match the return type of a gcc2
7887 builtin and then its argument prototype would still apply. */
7892 /* The GNU C library defines this for functions which it implements
7893 to always fail with ENOSYS. Some functions are actually named
7894 something starting with __ and the normal name is an alias. */
7895 #if defined (__stub_connect) || defined (__stub___connect)
7903 if { (eval echo configure
:7904: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7905 eval "ac_cv_func_connect=yes"
7907 echo "configure: failed program was:" >&5
7908 cat conftest.
$ac_ext >&5
7910 eval "ac_cv_func_connect=no"
7915 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
7916 echo "$ac_t""yes" 1>&6
7919 echo "$ac_t""no" 1>&6
7922 if test $ac_cv_func_connect = no
; then
7923 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
7924 echo "configure:7925: checking for connect in -lsocket" >&5
7925 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
7926 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7927 echo $ac_n "(cached) $ac_c" 1>&6
7929 ac_save_LIBS
="$LIBS"
7930 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
7931 cat > conftest.
$ac_ext <<EOF
7932 #line 7933 "configure"
7933 #include "confdefs.h"
7934 /* Override any gcc2 internal prototype to avoid an error. */
7935 /* We use char because int might match the return type of a gcc2
7936 builtin and then its argument prototype would still apply. */
7943 if { (eval echo configure
:7944: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7945 eval "ac_cv_lib_$ac_lib_var=yes"
7947 echo "configure: failed program was:" >&5
7948 cat conftest.
$ac_ext >&5
7950 eval "ac_cv_lib_$ac_lib_var=no"
7953 LIBS
="$ac_save_LIBS"
7956 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7957 echo "$ac_t""yes" 1>&6
7958 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
7960 echo "$ac_t""no" 1>&6
7965 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
7966 echo $ac_n "checking for remove""... $ac_c" 1>&6
7967 echo "configure:7968: checking for remove" >&5
7968 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
7969 echo $ac_n "(cached) $ac_c" 1>&6
7971 cat > conftest.
$ac_ext <<EOF
7972 #line 7973 "configure"
7973 #include "confdefs.h"
7974 /* System header to define __stub macros and hopefully few prototypes,
7975 which can conflict with char remove(); below. */
7977 /* Override any gcc2 internal prototype to avoid an error. */
7978 /* We use char because int might match the return type of a gcc2
7979 builtin and then its argument prototype would still apply. */
7984 /* The GNU C library defines this for functions which it implements
7985 to always fail with ENOSYS. Some functions are actually named
7986 something starting with __ and the normal name is an alias. */
7987 #if defined (__stub_remove) || defined (__stub___remove)
7995 if { (eval echo configure
:7996: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7997 eval "ac_cv_func_remove=yes"
7999 echo "configure: failed program was:" >&5
8000 cat conftest.
$ac_ext >&5
8002 eval "ac_cv_func_remove=no"
8007 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
8008 echo "$ac_t""yes" 1>&6
8011 echo "$ac_t""no" 1>&6
8014 if test $ac_cv_func_remove = no
; then
8015 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
8016 echo "configure:8017: checking for remove in -lposix" >&5
8017 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
8018 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8019 echo $ac_n "(cached) $ac_c" 1>&6
8021 ac_save_LIBS
="$LIBS"
8022 LIBS
="-lposix $LIBS"
8023 cat > conftest.
$ac_ext <<EOF
8024 #line 8025 "configure"
8025 #include "confdefs.h"
8026 /* Override any gcc2 internal prototype to avoid an error. */
8027 /* We use char because int might match the return type of a gcc2
8028 builtin and then its argument prototype would still apply. */
8035 if { (eval echo configure
:8036: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8037 eval "ac_cv_lib_$ac_lib_var=yes"
8039 echo "configure: failed program was:" >&5
8040 cat conftest.
$ac_ext >&5
8042 eval "ac_cv_lib_$ac_lib_var=no"
8045 LIBS
="$ac_save_LIBS"
8048 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8049 echo "$ac_t""yes" 1>&6
8050 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
8052 echo "$ac_t""no" 1>&6
8057 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
8058 echo $ac_n "checking for shmat""... $ac_c" 1>&6
8059 echo "configure:8060: checking for shmat" >&5
8060 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
8061 echo $ac_n "(cached) $ac_c" 1>&6
8063 cat > conftest.
$ac_ext <<EOF
8064 #line 8065 "configure"
8065 #include "confdefs.h"
8066 /* System header to define __stub macros and hopefully few prototypes,
8067 which can conflict with char shmat(); below. */
8069 /* Override any gcc2 internal prototype to avoid an error. */
8070 /* We use char because int might match the return type of a gcc2
8071 builtin and then its argument prototype would still apply. */
8076 /* The GNU C library defines this for functions which it implements
8077 to always fail with ENOSYS. Some functions are actually named
8078 something starting with __ and the normal name is an alias. */
8079 #if defined (__stub_shmat) || defined (__stub___shmat)
8087 if { (eval echo configure
:8088: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8089 eval "ac_cv_func_shmat=yes"
8091 echo "configure: failed program was:" >&5
8092 cat conftest.
$ac_ext >&5
8094 eval "ac_cv_func_shmat=no"
8099 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
8100 echo "$ac_t""yes" 1>&6
8103 echo "$ac_t""no" 1>&6
8106 if test $ac_cv_func_shmat = no
; then
8107 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
8108 echo "configure:8109: checking for shmat in -lipc" >&5
8109 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
8110 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8111 echo $ac_n "(cached) $ac_c" 1>&6
8113 ac_save_LIBS
="$LIBS"
8115 cat > conftest.
$ac_ext <<EOF
8116 #line 8117 "configure"
8117 #include "confdefs.h"
8118 /* Override any gcc2 internal prototype to avoid an error. */
8119 /* We use char because int might match the return type of a gcc2
8120 builtin and then its argument prototype would still apply. */
8127 if { (eval echo configure
:8128: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8129 eval "ac_cv_lib_$ac_lib_var=yes"
8131 echo "configure: failed program was:" >&5
8132 cat conftest.
$ac_ext >&5
8134 eval "ac_cv_lib_$ac_lib_var=no"
8137 LIBS
="$ac_save_LIBS"
8140 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8141 echo "$ac_t""yes" 1>&6
8142 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
8144 echo "$ac_t""no" 1>&6
8150 # Check for libraries that X11R6 Xt/Xaw programs need.
8151 ac_save_LDFLAGS
="$LDFLAGS"
8152 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
8153 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
8154 # check for ICE first), but we must link in the order -lSM -lICE or
8155 # we get undefined symbols. So assume we have SM if we have ICE.
8156 # These have to be linked with before -lX11, unlike the other
8157 # libraries we check for below, so use a different variable.
8158 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
8159 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
8160 echo "configure:8161: checking for IceConnectionNumber in -lICE" >&5
8161 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
8162 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8163 echo $ac_n "(cached) $ac_c" 1>&6
8165 ac_save_LIBS
="$LIBS"
8166 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
8167 cat > conftest.
$ac_ext <<EOF
8168 #line 8169 "configure"
8169 #include "confdefs.h"
8170 /* Override any gcc2 internal prototype to avoid an error. */
8171 /* We use char because int might match the return type of a gcc2
8172 builtin and then its argument prototype would still apply. */
8173 char IceConnectionNumber();
8176 IceConnectionNumber()
8179 if { (eval echo configure
:8180: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8181 eval "ac_cv_lib_$ac_lib_var=yes"
8183 echo "configure: failed program was:" >&5
8184 cat conftest.
$ac_ext >&5
8186 eval "ac_cv_lib_$ac_lib_var=no"
8189 LIBS
="$ac_save_LIBS"
8192 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8193 echo "$ac_t""yes" 1>&6
8194 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
8196 echo "$ac_t""no" 1>&6
8199 LDFLAGS
="$ac_save_LDFLAGS"
8204 if test "$no_x" = "yes"; then
8205 { echo "configure: error: X11 not found" 1>&2; exit 1; }
8208 GUI_TK_LIBRARY
="$X_LIBS"
8209 TOOLKIT_INCLUDE
="$X_CFLAGS"
8211 AFMINSTALL
=afminstall
8214 COMPILED_X_PROGRAM
=0
8216 echo $ac_n "checking for Motif/Lesstif headers""... $ac_c" 1>&6
8217 echo "configure:8218: checking for Motif/Lesstif headers" >&5
8220 for ac_dir
in $SEARCH_INCLUDE;
8222 if test -f "$ac_dir/Xm/Xm.h"; then
8223 ac_find_includes
=$ac_dir
8228 if test "$ac_find_includes" != "" ; then
8229 echo "$ac_t""found $ac_find_includes" 1>&6
8231 cat > conftest.
$ac_ext <<EOF
8232 #line 8233 "configure"
8233 #include "confdefs.h"
8241 version = xmUseVersion;
8245 if { (eval echo configure
:8246: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8248 echo "$ac_t""found in default search path" 1>&6
8249 COMPILED_X_PROGRAM
=1
8252 echo "configure: failed program was:" >&5
8253 cat conftest.
$ac_ext >&5
8256 echo "$ac_t""no" 1>&6
8257 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
8264 if test "$COMPILED_X_PROGRAM" = 0; then
8265 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
8266 echo "configure:8267: checking for Motif/Lesstif library" >&5
8269 for ac_dir
in $SEARCH_LIB;
8271 for ac_extension
in a so sl
; do
8272 if test -f "$ac_dir/libXm.$ac_extension"; then
8273 ac_find_libraries
=$ac_dir
8279 if test "$ac_find_libraries" != "" ; then
8281 ac_path_to_include
=$ac_find_includes
8282 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
8284 if test $result = 0; then
8285 ac_path_to_include
=""
8287 ac_path_to_include
="-I$ac_find_includes"
8291 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
8293 if test $result = 0; then
8296 ac_path_to_link
="-L$ac_find_libraries"
8300 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
8301 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE $ac_path_to_include"
8302 echo "$ac_t""found at $ac_find_libraries" 1>&6
8304 cat > conftest.
$ac_ext <<EOF
8305 #line 8306 "configure"
8306 #include "confdefs.h"
8314 version = xmUseVersion;
8318 if { (eval echo configure
:8319: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8321 echo "$ac_t""found in default search path" 1>&6
8322 COMPILED_X_PROGRAM
=1
8325 echo "configure: failed program was:" >&5
8326 cat conftest.
$ac_ext >&5
8329 echo "$ac_t""no" 1>&6
8330 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
8340 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
8341 echo "configure:8342: checking for Xpm library" >&5
8344 for ac_dir
in $SEARCH_LIB;
8346 for ac_extension
in a so sl
; do
8347 if test -f "$ac_dir/libXpm.$ac_extension"; then
8348 ac_find_libraries
=$ac_dir
8354 if test "$ac_find_libraries" != "" ; then
8356 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
8358 if test $result = 0; then
8361 ac_path_to_link
="-L$ac_find_libraries"
8364 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
8366 cat >> confdefs.h
<<\EOF
8367 #define wxHAVE_LIB_XPM 1
8370 echo "$ac_t""found at $ac_find_libraries" 1>&6
8372 cat > conftest.
$ac_ext <<EOF
8373 #line 8374 "configure"
8374 #include "confdefs.h"
8376 #include <X11/xpm.h>
8382 version = XpmLibraryVersion();
8386 if { (eval echo configure
:8387: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8390 cat >> confdefs.h
<<\EOF
8391 #define wxHAVE_LIB_XPM 1
8394 echo "$ac_t""found in default search path" 1>&6
8395 COMPILED_X_PROGRAM
=0
8398 echo "configure: failed program was:" >&5
8399 cat conftest.
$ac_ext >&5
8402 echo "$ac_t""no" 1>&6
8403 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
8410 GUI_TK_LINK
="-lXm $XPM_LINK -lXmu -lXext -lXt -lX11 -lm"
8411 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GUI_TK_LINK"
8414 GUIHEADERS
="\$(MOTIF_HEADERS)"
8415 GUIOBJS
="\$(MOTIF_GUIOBJS)"
8416 COMMONOBJS
="\$(MOTIF_COMMONOBJS)"
8417 GENERICOBJS
="\$(MOTIF_GENERICOBJS)"
8418 GUIDEPS
="\$(MOTIF_GUIDEPS)"
8419 COMMONDEPS
="\$(MOTIF_COMMONDEPS)"
8420 GENERICDEPS
="\$(MOTIF_GENERICDEPS)"
8421 UNIXOBJS
="\$(UNIX_OBJS)"
8422 UNIXDEPS
="\$(UNIX_DEPS)"
8426 if test "$wxUSE_PM" = 1; then
8429 GUIOBJS
="\$(PM_GUIOBJS)"
8430 GUIHEADERS
="\$(PM_HEADERS)"
8431 COMMONOBJS
="\$(PM_COMMONOBJS)"
8432 GENERICOBJS
="\$(PM_GENERICOBJS)"
8433 GUIDEPS
="\$(PM_GUIDEPS)"
8434 COMMONDEPS
="\$(PM_COMMONDEPS)"
8435 GENERICDEPS
="\$(PM_GENERICDEPS)"
8441 if test "$TOOLKIT" != "PM" ; then
8442 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
8447 TOOLKIT_DEF
="-D__WX${TOOLKIT}__"
8449 WX_LIBRARY
="wx_${TOOLKIT_DIR}"
8451 ALL_OBJECTS
="\$(GUIOBJS) \$(COMMONOBJS) \$(GENERICOBJS) \$(UNIXOBJS) \$(HTMLOBJS) \$(OGLOBJS)"
8453 if test "$TOOLKIT" != "MSW"; then
8454 if test "$wxUSE_ODBC" = "yes" ; then
8455 ALL_OBJECTS
="${ALL_OBJECTS} \$(IODBCOBJS)"
8459 if test "$wxUSE_LIBJPEG" = "yes" ; then
8460 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
8462 if test "$wxUSE_LIBTIFF" = "yes" ; then
8463 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
8465 if test "$wxUSE_LIBPNG" = "yes" ; then
8466 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
8468 if test "$wxUSE_ZLIB" = "yes" ; then
8469 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
8471 ALL_DEPFILES
="\$(GUIDEPS) \$(COMMONDEPS) \$(GENERICDEPS) \$(UNIXDEPS) \$(HTMLDEPS) \$(OGLDEPS)"
8473 PORT_FILES
="src/\$(TOOLKITDIR)/files.lst"
8474 RPM_FILES
="src/\$(TOOLKITDIR)/rpmfiles.lst"
8475 RPM_SPEC
="wx\$(TOOLKIT).spec"
8477 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
8478 DISTDIR
="wx\$(TOOLKIT)"
8483 TOOLKIT_DEF
="-D__WXBASE__"
8485 ALL_OBJECTS
="\$(BASE_OBJS) \${BASE_UNIX_OBJS}"
8486 ALL_DEPFILES
="\${BASE_DEPS} \${BASE_UNIX_DEPS}"
8490 PORT_FILES
="src/files.lst"
8491 RPM_FILES
="src/rpmfiles.lst"
8492 RPM_SPEC
="wxBase.spec"
8498 WX_LIBRARY_NAME
="lib${WX_LIBRARY}.la"
8499 WX_LIBRARY_NAME_GL
="lib${WX_LIBRARY}_gl.la"
8501 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
8502 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY}_gl.a"
8504 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}-${WX_RELEASE}.so.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
8505 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.so.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
8507 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}-${WX_RELEASE}.so.${WX_CURRENT}"
8508 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}-${WX_RELEASE}.so"
8509 WX_LIBRARY_LINK3
="lib${WX_LIBRARY}.so"
8510 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.so.${WX_CURRENT}"
8511 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.so"
8512 WX_LIBRARY_LINK3_GL
="lib${WX_LIBRARY}_gl.so"
8521 if test "$wxUSE_SHARED" = "yes"; then
8524 if test "$GCC" = yes ; then
8525 SHARED_LD
="${CC} -shared -fPIC -o"
8528 SHARED_LD
="${CXX} -b -o"
8531 WX_LIBRARY_NAME_SHARED
="libwx_${TOOLKIT_DIR}.sl"
8532 WX_LIBRARY_NAME_SHARED_GL
="libwx_${TOOLKIT_DIR}_gl.sl"
8533 if test "$wxUSE_OPENGL" = "yes"; then
8534 WX_ALL
="${WX_LIBRARY_NAME_SHARED} ${WX_LIBRARY_NAME_SHARED_GL}"
8536 WX_ALL
="${WX_LIBRARY_NAME_SHARED}"
8541 SHARED_LD
="${CC} -shared -o"
8543 if test "$wxUSE_BURNT_NAME" = "yes" ; then
8544 BURNT_LIBRARY_NAME
="-Wl,-soname,${WX_LIBRARY_LINK1}"
8545 BURNT_LIBRARY_NAME_GL
="-Wl,-soname,${WX_LIBRARY_LINK1_GL}"
8547 if test "$wxUSE_OPENGL" = "yes"; then
8548 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
8549 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
8551 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8552 WX_ALL
="CREATE_LINKS"
8555 *-*-irix5* | *-*-irix6* )
8556 if test "$GCC" = yes ; then
8557 SHARED_LD
="${CC} -shared -o"
8560 SHARED_LD
="${CXX} -shared -o"
8562 if test "$wxUSE_OPENGL" = "yes"; then
8563 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
8564 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
8566 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8567 WX_ALL
="CREATE_LINKS"
8571 if test "$GCC" = yes ; then
8572 SHARED_LD
="${CC} -shared -o"
8575 SHARED_LD
="${CXX} -G -o"
8578 if test "$wxUSE_OPENGL" = "yes"; then
8579 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
8580 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
8582 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8583 WX_ALL
="CREATE_LINKS"
8587 SHARED_LD
="${CC} -shared -o"
8589 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8590 WX_ALL
="CREATE_LINKS"
8592 *-*-freebsd* | *-*-netbsd*)
8593 SHARED_LD
="${CC} -shared -o"
8595 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8596 WX_ALL
="CREATE_LINKS"
8599 SHARED_LD
="${CXX} -shared -o"
8601 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8602 WX_ALL
="CREATE_LINKS"
8605 SHARED_LD
="${CXX} -shared -o"
8607 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8608 WX_ALL
="CREATE_LINKS"
8611 SHARED_LD
="${CC} -shared -o"
8613 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8614 WX_ALL
="CREATE_LINKS"
8617 SHARED_LD
="/usr/lpp/xlC/bin/makeC++SharedLib -p 0 -o"
8618 WX_ALL
=${WX_LIBRARY_NAME_SHARED}
8621 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
8622 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
8623 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
8626 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
8627 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
8628 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
8631 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
8632 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
8635 SHARED_LD
="${LD} -shared -o"
8637 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8638 WX_ALL
="CREATE_LINKS"
8641 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
8644 if test "x$WX_TARGET_LIBRARY" = "x"; then
8645 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
8646 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
8649 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
8650 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
8651 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
8655 for ac_hdr
in strings.h
8657 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8658 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8659 echo "configure:8660: checking for $ac_hdr" >&5
8660 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8661 echo $ac_n "(cached) $ac_c" 1>&6
8663 cat > conftest.
$ac_ext <<EOF
8664 #line 8665 "configure"
8665 #include "confdefs.h"
8668 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8669 { (eval echo configure
:8670: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8670 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8671 if test -z "$ac_err"; then
8673 eval "ac_cv_header_$ac_safe=yes"
8676 echo "configure: failed program was:" >&5
8677 cat conftest.
$ac_ext >&5
8679 eval "ac_cv_header_$ac_safe=no"
8683 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8684 echo "$ac_t""yes" 1>&6
8685 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8686 cat >> confdefs.h
<<EOF
8687 #define $ac_tr_hdr 1
8691 echo "$ac_t""no" 1>&6
8695 for ac_hdr
in unistd.h
8697 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8698 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8699 echo "configure:8700: checking for $ac_hdr" >&5
8700 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8701 echo $ac_n "(cached) $ac_c" 1>&6
8703 cat > conftest.
$ac_ext <<EOF
8704 #line 8705 "configure"
8705 #include "confdefs.h"
8708 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8709 { (eval echo configure
:8710: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8710 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8711 if test -z "$ac_err"; then
8713 eval "ac_cv_header_$ac_safe=yes"
8716 echo "configure: failed program was:" >&5
8717 cat conftest.
$ac_ext >&5
8719 eval "ac_cv_header_$ac_safe=no"
8723 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8724 echo "$ac_t""yes" 1>&6
8725 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8726 cat >> confdefs.h
<<EOF
8727 #define $ac_tr_hdr 1
8731 echo "$ac_t""no" 1>&6
8735 for ac_hdr
in wchar.h
8737 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8738 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8739 echo "configure:8740: checking for $ac_hdr" >&5
8740 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8741 echo $ac_n "(cached) $ac_c" 1>&6
8743 cat > conftest.
$ac_ext <<EOF
8744 #line 8745 "configure"
8745 #include "confdefs.h"
8748 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8749 { (eval echo configure
:8750: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8750 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8751 if test -z "$ac_err"; then
8753 eval "ac_cv_header_$ac_safe=yes"
8756 echo "configure: failed program was:" >&5
8757 cat conftest.
$ac_ext >&5
8759 eval "ac_cv_header_$ac_safe=no"
8763 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8764 echo "$ac_t""yes" 1>&6
8765 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8766 cat >> confdefs.h
<<EOF
8767 #define $ac_tr_hdr 1
8771 echo "$ac_t""no" 1>&6
8775 for ac_hdr
in wcstr.h
8777 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8778 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8779 echo "configure:8780: checking for $ac_hdr" >&5
8780 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8781 echo $ac_n "(cached) $ac_c" 1>&6
8783 cat > conftest.
$ac_ext <<EOF
8784 #line 8785 "configure"
8785 #include "confdefs.h"
8788 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8789 { (eval echo configure
:8790: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8790 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8791 if test -z "$ac_err"; then
8793 eval "ac_cv_header_$ac_safe=yes"
8796 echo "configure: failed program was:" >&5
8797 cat conftest.
$ac_ext >&5
8799 eval "ac_cv_header_$ac_safe=no"
8803 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8804 echo "$ac_t""yes" 1>&6
8805 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8806 cat >> confdefs.h
<<EOF
8807 #define $ac_tr_hdr 1
8811 echo "$ac_t""no" 1>&6
8815 for ac_hdr
in fnmatch.h
8817 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8818 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8819 echo "configure:8820: checking for $ac_hdr" >&5
8820 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8821 echo $ac_n "(cached) $ac_c" 1>&6
8823 cat > conftest.
$ac_ext <<EOF
8824 #line 8825 "configure"
8825 #include "confdefs.h"
8828 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8829 { (eval echo configure
:8830: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8830 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8831 if test -z "$ac_err"; then
8833 eval "ac_cv_header_$ac_safe=yes"
8836 echo "configure: failed program was:" >&5
8837 cat conftest.
$ac_ext >&5
8839 eval "ac_cv_header_$ac_safe=no"
8843 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8844 echo "$ac_t""yes" 1>&6
8845 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8846 cat >> confdefs.h
<<EOF
8847 #define $ac_tr_hdr 1
8851 echo "$ac_t""no" 1>&6
8856 if test "$wxUSE_GUI" = "yes"; then
8857 if test "$wxUSE_UNIX" = "yes"; then
8858 for ac_hdr
in X
11/XKBlib.h
8860 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8861 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8862 echo "configure:8863: checking for $ac_hdr" >&5
8863 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8864 echo $ac_n "(cached) $ac_c" 1>&6
8866 cat > conftest.
$ac_ext <<EOF
8867 #line 8868 "configure"
8868 #include "confdefs.h"
8871 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8872 { (eval echo configure
:8873: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8873 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8874 if test -z "$ac_err"; then
8876 eval "ac_cv_header_$ac_safe=yes"
8879 echo "configure: failed program was:" >&5
8880 cat conftest.
$ac_ext >&5
8882 eval "ac_cv_header_$ac_safe=no"
8886 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8887 echo "$ac_t""yes" 1>&6
8888 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8889 cat >> confdefs.h
<<EOF
8890 #define $ac_tr_hdr 1
8894 echo "$ac_t""no" 1>&6
8902 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
8903 echo "configure:8904: checking for ANSI C header files" >&5
8904 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
8905 echo $ac_n "(cached) $ac_c" 1>&6
8907 cat > conftest.
$ac_ext <<EOF
8908 #line 8909 "configure"
8909 #include "confdefs.h"
8915 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8916 { (eval echo configure
:8917: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8917 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8918 if test -z "$ac_err"; then
8920 ac_cv_header_stdc
=yes
8923 echo "configure: failed program was:" >&5
8924 cat conftest.
$ac_ext >&5
8926 ac_cv_header_stdc
=no
8930 if test $ac_cv_header_stdc = yes; then
8931 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8932 cat > conftest.
$ac_ext <<EOF
8933 #line 8934 "configure"
8934 #include "confdefs.h"
8937 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8938 egrep "memchr" >/dev
/null
2>&1; then
8942 ac_cv_header_stdc
=no
8948 if test $ac_cv_header_stdc = yes; then
8949 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8950 cat > conftest.
$ac_ext <<EOF
8951 #line 8952 "configure"
8952 #include "confdefs.h"
8955 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8956 egrep "free" >/dev
/null
2>&1; then
8960 ac_cv_header_stdc
=no
8966 if test $ac_cv_header_stdc = yes; then
8967 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8968 if test "$cross_compiling" = yes; then
8971 cat > conftest.
$ac_ext <<EOF
8972 #line 8973 "configure"
8973 #include "confdefs.h"
8975 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8976 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8977 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8978 int main () { int i; for (i = 0; i < 256; i++)
8979 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
8983 if { (eval echo configure
:8984: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
8987 echo "configure: failed program was:" >&5
8988 cat conftest.
$ac_ext >&5
8990 ac_cv_header_stdc
=no
8998 echo "$ac_t""$ac_cv_header_stdc" 1>&6
8999 if test $ac_cv_header_stdc = yes; then
9000 cat >> confdefs.h
<<\EOF
9001 #define STDC_HEADERS 1
9006 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
9007 echo "configure:9008: checking for mode_t" >&5
9008 if eval "test \"`echo '$''{'ac_cv_type_mode_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])mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
9023 ac_cv_type_mode_t
=yes
9026 ac_cv_type_mode_t
=no
9031 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
9032 if test $ac_cv_type_mode_t = no
; then
9033 cat >> confdefs.h
<<\EOF
9039 echo $ac_n "checking for off_t""... $ac_c" 1>&6
9040 echo "configure:9041: checking for off_t" >&5
9041 if eval "test \"`echo '$''{'ac_cv_type_off_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])off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
9056 ac_cv_type_off_t
=yes
9064 echo "$ac_t""$ac_cv_type_off_t" 1>&6
9065 if test $ac_cv_type_off_t = no
; then
9066 cat >> confdefs.h
<<\EOF
9072 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
9073 echo "configure:9074: checking for pid_t" >&5
9074 if eval "test \"`echo '$''{'ac_cv_type_pid_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])pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
9089 ac_cv_type_pid_t
=yes
9097 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
9098 if test $ac_cv_type_pid_t = no
; then
9099 cat >> confdefs.h
<<\EOF
9105 echo $ac_n "checking for size_t""... $ac_c" 1>&6
9106 echo "configure:9107: checking for size_t" >&5
9107 if eval "test \"`echo '$''{'ac_cv_type_size_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>
9119 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9120 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
9122 ac_cv_type_size_t
=yes
9125 ac_cv_type_size_t
=no
9130 echo "$ac_t""$ac_cv_type_size_t" 1>&6
9131 if test $ac_cv_type_size_t = no
; then
9132 cat >> confdefs.h
<<\EOF
9133 #define size_t unsigned
9138 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
9139 echo "configure:9140: checking for uid_t in sys/types.h" >&5
9140 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
9141 echo $ac_n "(cached) $ac_c" 1>&6
9143 cat > conftest.
$ac_ext <<EOF
9144 #line 9145 "configure"
9145 #include "confdefs.h"
9146 #include <sys/types.h>
9148 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9149 egrep "uid_t" >/dev
/null
2>&1; then
9151 ac_cv_type_uid_t
=yes
9160 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
9161 if test $ac_cv_type_uid_t = no
; then
9162 cat >> confdefs.h
<<\EOF
9166 cat >> confdefs.h
<<\EOF
9174 echo $ac_n "checking for pw_gecos in struct passwd""... $ac_c" 1>&6
9175 echo "configure:9176: checking for pw_gecos in struct passwd" >&5
9176 if eval "test \"`echo '$''{'wx_cv_struct_pw_gecos'+set}'`\" = set"; then
9177 echo $ac_n "(cached) $ac_c" 1>&6
9180 cat > conftest.
$ac_ext <<EOF
9181 #line 9182 "configure"
9182 #include "confdefs.h"
9192 if { (eval echo configure
:9193: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9195 wx_cv_struct_pw_gecos
=yes
9196 cat >> confdefs.h
<<\EOF
9197 #define HAVE_PW_GECOS 1
9202 echo "configure: failed program was:" >&5
9203 cat conftest.
$ac_ext >&5
9206 wx_cv_struct_pw_gecos
=no
9215 echo "$ac_t""$wx_cv_struct_pw_gecos" 1>&6
9218 echo $ac_n "checking for working const""... $ac_c" 1>&6
9219 echo "configure:9220: checking for working const" >&5
9220 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
9221 echo $ac_n "(cached) $ac_c" 1>&6
9223 cat > conftest.
$ac_ext <<EOF
9224 #line 9225 "configure"
9225 #include "confdefs.h"
9229 /* Ultrix mips cc rejects this. */
9230 typedef int charset[2]; const charset x;
9231 /* SunOS 4.1.1 cc rejects this. */
9232 char const *const *ccp;
9234 /* NEC SVR4.0.2 mips cc rejects this. */
9235 struct point {int x, y;};
9236 static struct point const zero = {0,0};
9237 /* AIX XL C 1.02.0.0 rejects this.
9238 It does not let you subtract one const X* pointer from another in an arm
9239 of an if-expression whose if-part is not a constant expression */
9240 const char *g = "string";
9241 ccp = &g + (g ? g-g : 0);
9242 /* HPUX 7.0 cc rejects these. */
9245 ccp = (char const *const *) p;
9246 { /* SCO 3.2v4 cc rejects this. */
9248 char const *s = 0 ? (char *) 0 : (char const *) 0;
9252 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
9254 const int *foo = &x[0];
9257 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
9258 typedef const int *iptr;
9262 { /* AIX XL C 1.02.0.0 rejects this saying
9263 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
9264 struct s { int j; const int *ap[3]; };
9265 struct s *b; b->j = 5;
9267 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
9273 if { (eval echo configure
:9274: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9277 echo "configure: failed program was:" >&5
9278 cat conftest.
$ac_ext >&5
9285 echo "$ac_t""$ac_cv_c_const" 1>&6
9286 if test $ac_cv_c_const = no
; then
9287 cat >> confdefs.h
<<\EOF
9293 echo $ac_n "checking for inline""... $ac_c" 1>&6
9294 echo "configure:9295: checking for inline" >&5
9295 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
9296 echo $ac_n "(cached) $ac_c" 1>&6
9299 for ac_kw
in inline __inline__ __inline
; do
9300 cat > conftest.
$ac_ext <<EOF
9301 #line 9302 "configure"
9302 #include "confdefs.h"
9308 if { (eval echo configure
:9309: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9310 ac_cv_c_inline
=$ac_kw; break
9312 echo "configure: failed program was:" >&5
9313 cat conftest.
$ac_ext >&5
9320 echo "$ac_t""$ac_cv_c_inline" 1>&6
9321 case "$ac_cv_c_inline" in
9323 no
) cat >> confdefs.h
<<\EOF
9327 *) cat >> confdefs.h
<<EOF
9328 #define inline $ac_cv_c_inline
9334 echo $ac_n "checking size of char""... $ac_c" 1>&6
9335 echo "configure:9336: checking size of char" >&5
9336 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
9337 echo $ac_n "(cached) $ac_c" 1>&6
9339 if test "$cross_compiling" = yes; then
9342 cat > conftest.
$ac_ext <<EOF
9343 #line 9344 "configure"
9344 #include "confdefs.h"
9348 FILE *f=fopen("conftestval", "w");
9350 fprintf(f, "%d\n", sizeof(char));
9354 if { (eval echo configure
:9355: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9356 ac_cv_sizeof_char
=`cat conftestval`
9358 echo "configure: failed program was:" >&5
9359 cat conftest.
$ac_ext >&5
9367 echo "$ac_t""$ac_cv_sizeof_char" 1>&6
9368 cat >> confdefs.h
<<EOF
9369 #define SIZEOF_CHAR $ac_cv_sizeof_char
9373 echo $ac_n "checking size of short""... $ac_c" 1>&6
9374 echo "configure:9375: checking size of short" >&5
9375 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
9376 echo $ac_n "(cached) $ac_c" 1>&6
9378 if test "$cross_compiling" = yes; then
9379 ac_cv_sizeof_short
=2
9381 cat > conftest.
$ac_ext <<EOF
9382 #line 9383 "configure"
9383 #include "confdefs.h"
9387 FILE *f=fopen("conftestval", "w");
9389 fprintf(f, "%d\n", sizeof(short));
9393 if { (eval echo configure
:9394: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9395 ac_cv_sizeof_short
=`cat conftestval`
9397 echo "configure: failed program was:" >&5
9398 cat conftest.
$ac_ext >&5
9400 ac_cv_sizeof_short
=0
9406 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
9407 cat >> confdefs.h
<<EOF
9408 #define SIZEOF_SHORT $ac_cv_sizeof_short
9412 echo $ac_n "checking size of int *""... $ac_c" 1>&6
9413 echo "configure:9414: checking size of int *" >&5
9414 if eval "test \"`echo '$''{'ac_cv_sizeof_int_p'+set}'`\" = set"; then
9415 echo $ac_n "(cached) $ac_c" 1>&6
9417 if test "$cross_compiling" = yes; then
9418 ac_cv_sizeof_int_p
=4
9420 cat > conftest.
$ac_ext <<EOF
9421 #line 9422 "configure"
9422 #include "confdefs.h"
9426 FILE *f=fopen("conftestval", "w");
9428 fprintf(f, "%d\n", sizeof(int *));
9432 if { (eval echo configure
:9433: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9434 ac_cv_sizeof_int_p
=`cat conftestval`
9436 echo "configure: failed program was:" >&5
9437 cat conftest.
$ac_ext >&5
9439 ac_cv_sizeof_int_p
=0
9445 echo "$ac_t""$ac_cv_sizeof_int_p" 1>&6
9446 cat >> confdefs.h
<<EOF
9447 #define SIZEOF_INT_P $ac_cv_sizeof_int_p
9451 echo $ac_n "checking size of int""... $ac_c" 1>&6
9452 echo "configure:9453: checking size of int" >&5
9453 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
9454 echo $ac_n "(cached) $ac_c" 1>&6
9456 if test "$cross_compiling" = yes; then
9459 cat > conftest.
$ac_ext <<EOF
9460 #line 9461 "configure"
9461 #include "confdefs.h"
9465 FILE *f=fopen("conftestval", "w");
9467 fprintf(f, "%d\n", sizeof(int));
9471 if { (eval echo configure
:9472: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9473 ac_cv_sizeof_int
=`cat conftestval`
9475 echo "configure: failed program was:" >&5
9476 cat conftest.
$ac_ext >&5
9484 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
9485 cat >> confdefs.h
<<EOF
9486 #define SIZEOF_INT $ac_cv_sizeof_int
9490 echo $ac_n "checking size of long""... $ac_c" 1>&6
9491 echo "configure:9492: checking size of long" >&5
9492 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
9493 echo $ac_n "(cached) $ac_c" 1>&6
9495 if test "$cross_compiling" = yes; then
9498 cat > conftest.
$ac_ext <<EOF
9499 #line 9500 "configure"
9500 #include "confdefs.h"
9504 FILE *f=fopen("conftestval", "w");
9506 fprintf(f, "%d\n", sizeof(long));
9510 if { (eval echo configure
:9511: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9512 ac_cv_sizeof_long
=`cat conftestval`
9514 echo "configure: failed program was:" >&5
9515 cat conftest.
$ac_ext >&5
9523 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
9524 cat >> confdefs.h
<<EOF
9525 #define SIZEOF_LONG $ac_cv_sizeof_long
9529 echo $ac_n "checking size of long long""... $ac_c" 1>&6
9530 echo "configure:9531: checking size of long long" >&5
9531 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
9532 echo $ac_n "(cached) $ac_c" 1>&6
9534 if test "$cross_compiling" = yes; then
9535 ac_cv_sizeof_long_long
=0
9537 cat > conftest.
$ac_ext <<EOF
9538 #line 9539 "configure"
9539 #include "confdefs.h"
9543 FILE *f=fopen("conftestval", "w");
9545 fprintf(f, "%d\n", sizeof(long long));
9549 if { (eval echo configure
:9550: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9551 ac_cv_sizeof_long_long
=`cat conftestval`
9553 echo "configure: failed program was:" >&5
9554 cat conftest.
$ac_ext >&5
9556 ac_cv_sizeof_long_long
=0
9562 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
9563 cat >> confdefs.h
<<EOF
9564 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
9569 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
9570 echo "configure:9571: checking whether byte ordering is bigendian" >&5
9571 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
9572 echo $ac_n "(cached) $ac_c" 1>&6
9574 ac_cv_c_bigendian
=unknown
9575 # See if sys/param.h defines the BYTE_ORDER macro.
9576 cat > conftest.
$ac_ext <<EOF
9577 #line 9578 "configure"
9578 #include "confdefs.h"
9579 #include <sys/types.h>
9580 #include <sys/param.h>
9583 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
9588 if { (eval echo configure
:9589: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9590 # It does; now see whether it defined to BIG_ENDIAN or not.
9591 cat > conftest.
$ac_ext <<EOF
9592 #line 9593 "configure"
9593 #include "confdefs.h"
9594 #include <sys/types.h>
9595 #include <sys/param.h>
9598 #if BYTE_ORDER != BIG_ENDIAN
9603 if { (eval echo configure
:9604: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9605 ac_cv_c_bigendian
=yes
9607 echo "configure: failed program was:" >&5
9608 cat conftest.
$ac_ext >&5
9610 ac_cv_c_bigendian
=no
9614 echo "configure: failed program was:" >&5
9615 cat conftest.
$ac_ext >&5
9618 if test $ac_cv_c_bigendian = unknown
; then
9619 if test "$cross_compiling" = yes; then
9620 ac_cv_c_bigendian
=unknown
9622 cat > conftest.
$ac_ext <<EOF
9623 #line 9624 "configure"
9624 #include "confdefs.h"
9626 /* Are we little or big endian? From Harbison&Steele. */
9630 char c[sizeof (long)];
9633 exit (u.c[sizeof (long) - 1] == 1);
9636 if { (eval echo configure
:9637: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9638 ac_cv_c_bigendian
=no
9640 echo "configure: failed program was:" >&5
9641 cat conftest.
$ac_ext >&5
9643 ac_cv_c_bigendian
=yes
9651 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
9652 if test $ac_cv_c_bigendian = unknown
; then
9653 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
9655 if test $ac_cv_c_bigendian = yes; then
9656 cat >> confdefs.h
<<\EOF
9657 #define WORDS_BIGENDIAN 1
9664 if test "$cross_compiling" = "yes"; then
9665 cat >> confdefs.h
<<\EOF
9666 #define wxUSE_IOSTREAMH 1
9672 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9673 ac_cpp
='$CXXCPP $CPPFLAGS'
9674 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9675 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9676 cross_compiling
=$ac_cv_prog_cxx_cross
9679 for ac_hdr
in iostream
9681 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9682 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9683 echo "configure:9684: checking for $ac_hdr" >&5
9684 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9685 echo $ac_n "(cached) $ac_c" 1>&6
9687 cat > conftest.
$ac_ext <<EOF
9688 #line 9689 "configure"
9689 #include "confdefs.h"
9692 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9693 { (eval echo configure
:9694: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9694 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9695 if test -z "$ac_err"; then
9697 eval "ac_cv_header_$ac_safe=yes"
9700 echo "configure: failed program was:" >&5
9701 cat conftest.
$ac_ext >&5
9703 eval "ac_cv_header_$ac_safe=no"
9707 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9708 echo "$ac_t""yes" 1>&6
9709 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9710 cat >> confdefs.h
<<EOF
9711 #define $ac_tr_hdr 1
9715 echo "$ac_t""no" 1>&6
9720 if test "x$HAVE_IOSTREAM" = x
; then
9721 cat >> confdefs.h
<<\EOF
9722 #define wxUSE_IOSTREAMH 1
9730 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9731 ac_cpp
='$CPP $CPPFLAGS'
9732 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9733 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9734 cross_compiling
=$ac_cv_prog_cc_cross
9740 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
9741 echo "configure:9742: checking if C++ compiler supports bool" >&5
9742 if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
9743 echo $ac_n "(cached) $ac_c" 1>&6
9748 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9749 ac_cpp
='$CXXCPP $CPPFLAGS'
9750 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9751 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9752 cross_compiling
=$ac_cv_prog_cxx_cross
9755 cat > conftest.
$ac_ext <<EOF
9756 #line 9757 "configure"
9757 #include "confdefs.h"
9768 if { (eval echo configure
:9769: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9771 cat >> confdefs.h
<<\EOF
9778 echo "configure: failed program was:" >&5
9779 cat conftest.
$ac_ext >&5
9789 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9790 ac_cpp
='$CPP $CPPFLAGS'
9791 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9792 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9793 cross_compiling
=$ac_cv_prog_cc_cross
9798 echo "$ac_t""$wx_cv_cpp_bool" 1>&6
9800 if test "$wx_cv_cpp_bool" = "yes"; then
9801 cat >> confdefs.h
<<\EOF
9809 echo $ac_n "checking if you need GNU extensions""... $ac_c" 1>&6
9810 echo "configure:9811: checking if you need GNU extensions" >&5
9811 if eval "test \"`echo '$''{'wx_cv_gnu_extensions'+set}'`\" = set"; then
9812 echo $ac_n "(cached) $ac_c" 1>&6
9815 cat > conftest.
$ac_ext <<EOF
9816 #line 9817 "configure"
9817 #include "confdefs.h"
9818 #include <features.h>
9822 #ifndef __GNU_LIBRARY__
9823 Compile error wanted
9829 if { (eval echo configure
:9830: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9831 wx_cv_gnu_extensions
=yes
9833 echo "configure: failed program was:" >&5
9834 cat conftest.
$ac_ext >&5
9836 wx_cv_gnu_extensions
=no
9843 echo "$ac_t""$wx_cv_gnu_extensions" 1>&6
9844 if test "$wx_cv_gnu_extensions" = "yes"; then
9845 cat >> confdefs.h
<<EOF
9846 #define _GNU_SOURCE 1
9853 echo $ac_n "checking for wcslen in -lc""... $ac_c" 1>&6
9854 echo "configure:9855: checking for wcslen in -lc" >&5
9855 ac_lib_var
=`echo c'_'wcslen | sed 'y%./+-%__p_%'`
9856 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9857 echo $ac_n "(cached) $ac_c" 1>&6
9859 ac_save_LIBS
="$LIBS"
9861 cat > conftest.
$ac_ext <<EOF
9862 #line 9863 "configure"
9863 #include "confdefs.h"
9864 /* Override any gcc2 internal prototype to avoid an error. */
9865 /* We use char because int might match the return type of a gcc2
9866 builtin and then its argument prototype would still apply. */
9873 if { (eval echo configure
:9874: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9875 eval "ac_cv_lib_$ac_lib_var=yes"
9877 echo "configure: failed program was:" >&5
9878 cat conftest.
$ac_ext >&5
9880 eval "ac_cv_lib_$ac_lib_var=no"
9883 LIBS
="$ac_save_LIBS"
9886 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9887 echo "$ac_t""yes" 1>&6
9889 cat >> confdefs.h
<<\EOF
9890 #define HAVE_WCSLEN 1
9896 echo "$ac_t""no" 1>&6
9898 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
9899 echo "configure:9900: checking for wcslen in -lw" >&5
9900 ac_lib_var
=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
9901 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9902 echo $ac_n "(cached) $ac_c" 1>&6
9904 ac_save_LIBS
="$LIBS"
9906 cat > conftest.
$ac_ext <<EOF
9907 #line 9908 "configure"
9908 #include "confdefs.h"
9909 /* Override any gcc2 internal prototype to avoid an error. */
9910 /* We use char because int might match the return type of a gcc2
9911 builtin and then its argument prototype would still apply. */
9918 if { (eval echo configure
:9919: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9920 eval "ac_cv_lib_$ac_lib_var=yes"
9922 echo "configure: failed program was:" >&5
9923 cat conftest.
$ac_ext >&5
9925 eval "ac_cv_lib_$ac_lib_var=no"
9928 LIBS
="$ac_save_LIBS"
9931 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9932 echo "$ac_t""yes" 1>&6
9934 cat >> confdefs.h
<<\EOF
9935 #define HAVE_WCSLEN 1
9941 echo "$ac_t""no" 1>&6
9948 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
9949 echo "configure:9950: checking for vprintf" >&5
9950 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
9951 echo $ac_n "(cached) $ac_c" 1>&6
9953 cat > conftest.
$ac_ext <<EOF
9954 #line 9955 "configure"
9955 #include "confdefs.h"
9956 /* System header to define __stub macros and hopefully few prototypes,
9957 which can conflict with char vprintf(); below. */
9959 /* Override any gcc2 internal prototype to avoid an error. */
9960 /* We use char because int might match the return type of a gcc2
9961 builtin and then its argument prototype would still apply. */
9966 /* The GNU C library defines this for functions which it implements
9967 to always fail with ENOSYS. Some functions are actually named
9968 something starting with __ and the normal name is an alias. */
9969 #if defined (__stub_vprintf) || defined (__stub___vprintf)
9977 if { (eval echo configure
:9978: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9979 eval "ac_cv_func_vprintf=yes"
9981 echo "configure: failed program was:" >&5
9982 cat conftest.
$ac_ext >&5
9984 eval "ac_cv_func_vprintf=no"
9989 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
9990 echo "$ac_t""yes" 1>&6
9991 cat >> confdefs.h
<<\EOF
9992 #define HAVE_VPRINTF 1
9996 echo "$ac_t""no" 1>&6
9999 if test "$ac_cv_func_vprintf" != yes; then
10000 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
10001 echo "configure:10002: checking for _doprnt" >&5
10002 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
10003 echo $ac_n "(cached) $ac_c" 1>&6
10005 cat > conftest.
$ac_ext <<EOF
10006 #line 10007 "configure"
10007 #include "confdefs.h"
10008 /* System header to define __stub macros and hopefully few prototypes,
10009 which can conflict with char _doprnt(); below. */
10010 #include <assert.h>
10011 /* Override any gcc2 internal prototype to avoid an error. */
10012 /* We use char because int might match the return type of a gcc2
10013 builtin and then its argument prototype would still apply. */
10018 /* The GNU C library defines this for functions which it implements
10019 to always fail with ENOSYS. Some functions are actually named
10020 something starting with __ and the normal name is an alias. */
10021 #if defined (__stub__doprnt) || defined (__stub____doprnt)
10029 if { (eval echo configure
:10030: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10031 eval "ac_cv_func__doprnt=yes"
10033 echo "configure: failed program was:" >&5
10034 cat conftest.
$ac_ext >&5
10036 eval "ac_cv_func__doprnt=no"
10041 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
10042 echo "$ac_t""yes" 1>&6
10043 cat >> confdefs.h
<<\EOF
10044 #define HAVE_DOPRNT 1
10048 echo "$ac_t""no" 1>&6
10054 for ac_func
in vsnprintf
10056 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10057 echo "configure:10058: checking for $ac_func" >&5
10058 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10059 echo $ac_n "(cached) $ac_c" 1>&6
10061 cat > conftest.
$ac_ext <<EOF
10062 #line 10063 "configure"
10063 #include "confdefs.h"
10064 /* System header to define __stub macros and hopefully few prototypes,
10065 which can conflict with char $ac_func(); below. */
10066 #include <assert.h>
10067 /* Override any gcc2 internal prototype to avoid an error. */
10068 /* We use char because int might match the return type of a gcc2
10069 builtin and then its argument prototype would still apply. */
10074 /* The GNU C library defines this for functions which it implements
10075 to always fail with ENOSYS. Some functions are actually named
10076 something starting with __ and the normal name is an alias. */
10077 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10085 if { (eval echo configure
:10086: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10087 eval "ac_cv_func_$ac_func=yes"
10089 echo "configure: failed program was:" >&5
10090 cat conftest.
$ac_ext >&5
10092 eval "ac_cv_func_$ac_func=no"
10097 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10098 echo "$ac_t""yes" 1>&6
10099 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10100 cat >> confdefs.h
<<EOF
10101 #define $ac_tr_func 1
10103 cat >> confdefs.h
<<\EOF
10104 #define HAVE_VSNPRINTF 1
10108 echo "$ac_t""no" 1>&6
10109 echo "configure: warning: unsafe function sprintf will be used instead of snprintf" 1>&2
10117 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10118 ac_cpp
='$CXXCPP $CPPFLAGS'
10119 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10120 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10121 cross_compiling
=$ac_cv_prog_cxx_cross
10124 echo $ac_n "checking for vsscanf""... $ac_c" 1>&6
10125 echo "configure:10126: checking for vsscanf" >&5
10126 if eval "test \"`echo '$''{'wx_cv_func_vsscanf'+set}'`\" = set"; then
10127 echo $ac_n "(cached) $ac_c" 1>&6
10130 if test "$cross_compiling" = yes; then
10131 wx_cv_func_vsscanf
=no
10134 cat > conftest.
$ac_ext <<EOF
10135 #line 10136 "configure"
10136 #include "confdefs.h"
10138 extern "C" void exit(int);
10142 #include <stdarg.h>
10144 int try_vsscanf(const char *format, ...)
10147 va_start(ap, format);
10149 vsscanf("17", format, ap);
10157 try_vsscanf("%d", &i);
10158 return i == 17 ? 0 : 1;
10162 if { (eval echo configure
:10163: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10165 cat >> confdefs.h
<<\EOF
10166 #define HAVE_VSSCANF 1
10169 wx_cv_func_vsscanf
=yes
10172 echo "configure: failed program was:" >&5
10173 cat conftest.
$ac_ext >&5
10175 wx_cv_func_vsscanf
=no
10183 echo "$ac_t""$wx_cv_func_vsscanf" 1>&6
10186 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10187 ac_cpp
='$CPP $CPPFLAGS'
10188 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10189 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10190 cross_compiling
=$ac_cv_prog_cc_cross
10193 if test "$TOOLKIT" != "MSW"; then
10195 for ac_func
in vfork
10197 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10198 echo "configure:10199: checking for $ac_func" >&5
10199 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10200 echo $ac_n "(cached) $ac_c" 1>&6
10202 cat > conftest.
$ac_ext <<EOF
10203 #line 10204 "configure"
10204 #include "confdefs.h"
10205 /* System header to define __stub macros and hopefully few prototypes,
10206 which can conflict with char $ac_func(); below. */
10207 #include <assert.h>
10208 /* Override any gcc2 internal prototype to avoid an error. */
10209 /* We use char because int might match the return type of a gcc2
10210 builtin and then its argument prototype would still apply. */
10215 /* The GNU C library defines this for functions which it implements
10216 to always fail with ENOSYS. Some functions are actually named
10217 something starting with __ and the normal name is an alias. */
10218 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10226 if { (eval echo configure
:10227: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10228 eval "ac_cv_func_$ac_func=yes"
10230 echo "configure: failed program was:" >&5
10231 cat conftest.
$ac_ext >&5
10233 eval "ac_cv_func_$ac_func=no"
10238 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10239 echo "$ac_t""yes" 1>&6
10240 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10241 cat >> confdefs.h
<<EOF
10242 #define $ac_tr_func 1
10246 echo "$ac_t""no" 1>&6
10251 for ac_func
in timegm
10253 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10254 echo "configure:10255: checking for $ac_func" >&5
10255 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10256 echo $ac_n "(cached) $ac_c" 1>&6
10258 cat > conftest.
$ac_ext <<EOF
10259 #line 10260 "configure"
10260 #include "confdefs.h"
10261 /* System header to define __stub macros and hopefully few prototypes,
10262 which can conflict with char $ac_func(); below. */
10263 #include <assert.h>
10264 /* Override any gcc2 internal prototype to avoid an error. */
10265 /* We use char because int might match the return type of a gcc2
10266 builtin and then its argument prototype would still apply. */
10271 /* The GNU C library defines this for functions which it implements
10272 to always fail with ENOSYS. Some functions are actually named
10273 something starting with __ and the normal name is an alias. */
10274 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10282 if { (eval echo configure
:10283: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10284 eval "ac_cv_func_$ac_func=yes"
10286 echo "configure: failed program was:" >&5
10287 cat conftest.
$ac_ext >&5
10289 eval "ac_cv_func_$ac_func=no"
10294 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10295 echo "$ac_t""yes" 1>&6
10296 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10297 cat >> confdefs.h
<<EOF
10298 #define $ac_tr_func 1
10302 echo "$ac_t""no" 1>&6
10307 HAVE_SOME_SLEEP_FUNC
=0
10308 if test "$USE_BEOS" = 1; then
10309 cat >> confdefs.h
<<\EOF
10310 #define HAVE_SLEEP 1
10313 HAVE_SOME_SLEEP_FUNC
=1
10316 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
10318 for ac_func
in nanosleep
10320 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10321 echo "configure:10322: checking for $ac_func" >&5
10322 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10323 echo $ac_n "(cached) $ac_c" 1>&6
10325 cat > conftest.
$ac_ext <<EOF
10326 #line 10327 "configure"
10327 #include "confdefs.h"
10328 /* System header to define __stub macros and hopefully few prototypes,
10329 which can conflict with char $ac_func(); below. */
10330 #include <assert.h>
10331 /* Override any gcc2 internal prototype to avoid an error. */
10332 /* We use char because int might match the return type of a gcc2
10333 builtin and then its argument prototype would still apply. */
10338 /* The GNU C library defines this for functions which it implements
10339 to always fail with ENOSYS. Some functions are actually named
10340 something starting with __ and the normal name is an alias. */
10341 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10349 if { (eval echo configure
:10350: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10351 eval "ac_cv_func_$ac_func=yes"
10353 echo "configure: failed program was:" >&5
10354 cat conftest.
$ac_ext >&5
10356 eval "ac_cv_func_$ac_func=no"
10361 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10362 echo "$ac_t""yes" 1>&6
10363 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10364 cat >> confdefs.h
<<EOF
10365 #define $ac_tr_func 1
10367 cat >> confdefs.h
<<\EOF
10368 #define HAVE_NANOSLEEP 1
10372 echo "$ac_t""no" 1>&6
10373 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
10374 echo "configure:10375: checking for nanosleep in -lposix4" >&5
10375 ac_lib_var
=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
10376 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10377 echo $ac_n "(cached) $ac_c" 1>&6
10379 ac_save_LIBS
="$LIBS"
10380 LIBS
="-lposix4 $LIBS"
10381 cat > conftest.
$ac_ext <<EOF
10382 #line 10383 "configure"
10383 #include "confdefs.h"
10384 /* Override any gcc2 internal prototype to avoid an error. */
10385 /* We use char because int might match the return type of a gcc2
10386 builtin and then its argument prototype would still apply. */
10393 if { (eval echo configure
:10394: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10395 eval "ac_cv_lib_$ac_lib_var=yes"
10397 echo "configure: failed program was:" >&5
10398 cat conftest.
$ac_ext >&5
10400 eval "ac_cv_lib_$ac_lib_var=no"
10403 LIBS
="$ac_save_LIBS"
10406 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10407 echo "$ac_t""yes" 1>&6
10409 cat >> confdefs.h
<<\EOF
10410 #define HAVE_NANOSLEEP 1
10413 POSIX4_LINK
="-lposix4"
10416 echo "$ac_t""no" 1>&6
10418 for ac_func
in usleep
10420 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10421 echo "configure:10422: checking for $ac_func" >&5
10422 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10423 echo $ac_n "(cached) $ac_c" 1>&6
10425 cat > conftest.
$ac_ext <<EOF
10426 #line 10427 "configure"
10427 #include "confdefs.h"
10428 /* System header to define __stub macros and hopefully few prototypes,
10429 which can conflict with char $ac_func(); below. */
10430 #include <assert.h>
10431 /* Override any gcc2 internal prototype to avoid an error. */
10432 /* We use char because int might match the return type of a gcc2
10433 builtin and then its argument prototype would still apply. */
10438 /* The GNU C library defines this for functions which it implements
10439 to always fail with ENOSYS. Some functions are actually named
10440 something starting with __ and the normal name is an alias. */
10441 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10449 if { (eval echo configure
:10450: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10451 eval "ac_cv_func_$ac_func=yes"
10453 echo "configure: failed program was:" >&5
10454 cat conftest.
$ac_ext >&5
10456 eval "ac_cv_func_$ac_func=no"
10461 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10462 echo "$ac_t""yes" 1>&6
10463 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10464 cat >> confdefs.h
<<EOF
10465 #define $ac_tr_func 1
10469 echo "$ac_t""no" 1>&6
10473 echo "configure: warning: wxSleep() function will not work" 1>&2
10485 for ac_func
in uname gethostname
10487 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10488 echo "configure:10489: checking for $ac_func" >&5
10489 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10490 echo $ac_n "(cached) $ac_c" 1>&6
10492 cat > conftest.
$ac_ext <<EOF
10493 #line 10494 "configure"
10494 #include "confdefs.h"
10495 /* System header to define __stub macros and hopefully few prototypes,
10496 which can conflict with char $ac_func(); below. */
10497 #include <assert.h>
10498 /* Override any gcc2 internal prototype to avoid an error. */
10499 /* We use char because int might match the return type of a gcc2
10500 builtin and then its argument prototype would still apply. */
10505 /* The GNU C library defines this for functions which it implements
10506 to always fail with ENOSYS. Some functions are actually named
10507 something starting with __ and the normal name is an alias. */
10508 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10516 if { (eval echo configure
:10517: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10518 eval "ac_cv_func_$ac_func=yes"
10520 echo "configure: failed program was:" >&5
10521 cat conftest.
$ac_ext >&5
10523 eval "ac_cv_func_$ac_func=no"
10528 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10529 echo "$ac_t""yes" 1>&6
10530 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10531 cat >> confdefs.h
<<EOF
10532 #define $ac_tr_func 1
10536 echo "$ac_t""no" 1>&6
10543 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10544 ac_cpp
='$CXXCPP $CPPFLAGS'
10545 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10546 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10547 cross_compiling
=$ac_cv_prog_cxx_cross
10550 for ac_func
in strtok_r
10552 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10553 echo "configure:10554: checking for $ac_func" >&5
10554 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10555 echo $ac_n "(cached) $ac_c" 1>&6
10557 cat > conftest.
$ac_ext <<EOF
10558 #line 10559 "configure"
10559 #include "confdefs.h"
10560 /* System header to define __stub macros and hopefully few prototypes,
10561 which can conflict with char $ac_func(); below. */
10562 #include <assert.h>
10563 /* Override any gcc2 internal prototype to avoid an error. */
10567 /* We use char because int might match the return type of a gcc2
10568 builtin and then its argument prototype would still apply. */
10573 /* The GNU C library defines this for functions which it implements
10574 to always fail with ENOSYS. Some functions are actually named
10575 something starting with __ and the normal name is an alias. */
10576 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10584 if { (eval echo configure
:10585: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10586 eval "ac_cv_func_$ac_func=yes"
10588 echo "configure: failed program was:" >&5
10589 cat conftest.
$ac_ext >&5
10591 eval "ac_cv_func_$ac_func=no"
10596 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10597 echo "$ac_t""yes" 1>&6
10598 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10599 cat >> confdefs.h
<<EOF
10600 #define $ac_tr_func 1
10604 echo "$ac_t""no" 1>&6
10610 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10611 ac_cpp
='$CPP $CPPFLAGS'
10612 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10613 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10614 cross_compiling
=$ac_cv_prog_cc_cross
10618 for ac_func
in inet_addr
10620 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10621 echo "configure:10622: checking for $ac_func" >&5
10622 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10623 echo $ac_n "(cached) $ac_c" 1>&6
10625 cat > conftest.
$ac_ext <<EOF
10626 #line 10627 "configure"
10627 #include "confdefs.h"
10628 /* System header to define __stub macros and hopefully few prototypes,
10629 which can conflict with char $ac_func(); below. */
10630 #include <assert.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. */
10638 /* The GNU C library defines this for functions which it implements
10639 to always fail with ENOSYS. Some functions are actually named
10640 something starting with __ and the normal name is an alias. */
10641 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10649 if { (eval echo configure
:10650: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10651 eval "ac_cv_func_$ac_func=yes"
10653 echo "configure: failed program was:" >&5
10654 cat conftest.
$ac_ext >&5
10656 eval "ac_cv_func_$ac_func=no"
10661 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10662 echo "$ac_t""yes" 1>&6
10663 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10664 cat >> confdefs.h
<<EOF
10665 #define $ac_tr_func 1
10667 cat >> confdefs.h
<<\EOF
10668 #define HAVE_INET_ADDR 1
10672 echo "$ac_t""no" 1>&6
10673 echo $ac_n "checking for inet_addr in -lnsl""... $ac_c" 1>&6
10674 echo "configure:10675: checking for inet_addr in -lnsl" >&5
10675 ac_lib_var
=`echo nsl'_'inet_addr | sed 'y%./+-%__p_%'`
10676 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10677 echo $ac_n "(cached) $ac_c" 1>&6
10679 ac_save_LIBS
="$LIBS"
10681 cat > conftest.
$ac_ext <<EOF
10682 #line 10683 "configure"
10683 #include "confdefs.h"
10684 /* Override any gcc2 internal prototype to avoid an error. */
10685 /* We use char because int might match the return type of a gcc2
10686 builtin and then its argument prototype would still apply. */
10693 if { (eval echo configure
:10694: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10695 eval "ac_cv_lib_$ac_lib_var=yes"
10697 echo "configure: failed program was:" >&5
10698 cat conftest.
$ac_ext >&5
10700 eval "ac_cv_lib_$ac_lib_var=no"
10703 LIBS
="$ac_save_LIBS"
10706 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10707 echo "$ac_t""yes" 1>&6
10710 echo "$ac_t""no" 1>&6
10711 echo $ac_n "checking for inet_addr in -lresolv""... $ac_c" 1>&6
10712 echo "configure:10713: checking for inet_addr in -lresolv" >&5
10713 ac_lib_var
=`echo resolv'_'inet_addr | sed 'y%./+-%__p_%'`
10714 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10715 echo $ac_n "(cached) $ac_c" 1>&6
10717 ac_save_LIBS
="$LIBS"
10718 LIBS
="-lresolv $LIBS"
10719 cat > conftest.
$ac_ext <<EOF
10720 #line 10721 "configure"
10721 #include "confdefs.h"
10722 /* Override any gcc2 internal prototype to avoid an error. */
10723 /* We use char because int might match the return type of a gcc2
10724 builtin and then its argument prototype would still apply. */
10731 if { (eval echo configure
:10732: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10733 eval "ac_cv_lib_$ac_lib_var=yes"
10735 echo "configure: failed program was:" >&5
10736 cat conftest.
$ac_ext >&5
10738 eval "ac_cv_lib_$ac_lib_var=no"
10741 LIBS
="$ac_save_LIBS"
10744 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10745 echo "$ac_t""yes" 1>&6
10749 echo "$ac_t""no" 1>&6
10761 for ac_func
in inet_aton
10763 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10764 echo "configure:10765: checking for $ac_func" >&5
10765 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10766 echo $ac_n "(cached) $ac_c" 1>&6
10768 cat > conftest.
$ac_ext <<EOF
10769 #line 10770 "configure"
10770 #include "confdefs.h"
10771 /* System header to define __stub macros and hopefully few prototypes,
10772 which can conflict with char $ac_func(); below. */
10773 #include <assert.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. */
10781 /* The GNU C library defines this for functions which it implements
10782 to always fail with ENOSYS. Some functions are actually named
10783 something starting with __ and the normal name is an alias. */
10784 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10792 if { (eval echo configure
:10793: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10794 eval "ac_cv_func_$ac_func=yes"
10796 echo "configure: failed program was:" >&5
10797 cat conftest.
$ac_ext >&5
10799 eval "ac_cv_func_$ac_func=no"
10804 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10805 echo "$ac_t""yes" 1>&6
10806 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10807 cat >> confdefs.h
<<EOF
10808 #define $ac_tr_func 1
10810 cat >> confdefs.h
<<\EOF
10811 #define HAVE_INET_ATON 1
10815 echo "$ac_t""no" 1>&6
10816 echo $ac_n "checking for inet_aton in -l$INET_LINK""... $ac_c" 1>&6
10817 echo "configure:10818: checking for inet_aton in -l$INET_LINK" >&5
10818 ac_lib_var
=`echo $INET_LINK'_'inet_aton | sed 'y%./+-%__p_%'`
10819 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10820 echo $ac_n "(cached) $ac_c" 1>&6
10822 ac_save_LIBS
="$LIBS"
10823 LIBS
="-l$INET_LINK $LIBS"
10824 cat > conftest.
$ac_ext <<EOF
10825 #line 10826 "configure"
10826 #include "confdefs.h"
10827 /* Override any gcc2 internal prototype to avoid an error. */
10828 /* We use char because int might match the return type of a gcc2
10829 builtin and then its argument prototype would still apply. */
10836 if { (eval echo configure
:10837: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10838 eval "ac_cv_lib_$ac_lib_var=yes"
10840 echo "configure: failed program was:" >&5
10841 cat conftest.
$ac_ext >&5
10843 eval "ac_cv_lib_$ac_lib_var=no"
10846 LIBS
="$ac_save_LIBS"
10849 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10850 echo "$ac_t""yes" 1>&6
10851 cat >> confdefs.h
<<\EOF
10852 #define HAVE_INET_ATON 1
10856 echo "$ac_t""no" 1>&6
10864 if test "x$INET_LINK" != "x"; then
10865 cat >> confdefs.h
<<\EOF
10866 #define HAVE_INET_ADDR 1
10869 INET_LINK
="-l$INET_LINK"
10875 cat > confcache
<<\EOF
10876 # This file is a shell script that caches the results of configure
10877 # tests run on this system so they can be shared between configure
10878 # scripts and configure runs. It is not useful on other systems.
10879 # If it contains results you don't want to keep, you may remove or edit it.
10881 # By default, configure uses ./config.cache as the cache file,
10882 # creating it if it does not exist already. You can give configure
10883 # the --cache-file=FILE option to use a different cache file; that is
10884 # what configure does when it calls configure scripts in
10885 # subdirectories, so they share the cache.
10886 # Giving --cache-file=/dev/null disables caching, for debugging configure.
10887 # config.status only pays attention to the cache file if you give it the
10888 # --recheck option to rerun configure.
10891 # The following way of writing the cache mishandles newlines in values,
10892 # but we know of no workaround that is simple, portable, and efficient.
10893 # So, don't put newlines in cache variables' values.
10894 # Ultrix sh set writes to stderr and can't be redirected directly,
10895 # and sets the high bit in the cache file unless we assign to the vars.
10897 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10899 # `set' does not quote correctly, so add quotes (double-quote substitution
10900 # turns \\\\ into \\, and sed turns \\ into \).
10902 -e "s/'/'\\\\''/g" \
10903 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
10906 # `set' quotes correctly as required by POSIX, so do not add quotes.
10907 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
10910 if cmp -s $cache_file confcache
; then
10913 if test -w $cache_file; then
10914 echo "updating cache $cache_file"
10915 cat confcache
> $cache_file
10917 echo "not updating unwritable cache $cache_file"
10924 if test "$TOOLKIT" != "MSW"; then
10930 if test "$wxUSE_THREADS" = "yes" ; then
10931 if test "$wxUSE_WINE" = 1 ; then
10932 echo "configure: warning: Threads are not supported under WINE" 1>&2
10934 elif test "$USE_BEOS" = 1; then
10935 echo "configure: warning: BeOS threads are not yet supported" 1>&2
10940 if test "$wxUSE_THREADS" = "yes" ; then
10942 echo $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6
10943 echo "configure:10944: checking for pthread_create in -lpthread" >&5
10944 ac_lib_var
=`echo pthread'_'pthread_create | sed 'y%./+-%__p_%'`
10945 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10946 echo $ac_n "(cached) $ac_c" 1>&6
10948 ac_save_LIBS
="$LIBS"
10949 LIBS
="-lpthread $LIBS"
10950 cat > conftest.
$ac_ext <<EOF
10951 #line 10952 "configure"
10952 #include "confdefs.h"
10953 /* Override any gcc2 internal prototype to avoid an error. */
10954 /* We use char because int might match the return type of a gcc2
10955 builtin and then its argument prototype would still apply. */
10956 char pthread_create();
10962 if { (eval echo configure
:10963: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10964 eval "ac_cv_lib_$ac_lib_var=yes"
10966 echo "configure: failed program was:" >&5
10967 cat conftest.
$ac_ext >&5
10969 eval "ac_cv_lib_$ac_lib_var=no"
10972 LIBS
="$ac_save_LIBS"
10975 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10976 echo "$ac_t""yes" 1>&6
10978 THREADS_OBJ
="threadpsx.lo"
10979 THREADS_LINK
="pthread"
10982 echo "$ac_t""no" 1>&6
10984 echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
10985 echo "configure:10986: checking for pthread_create in -lc_r" >&5
10986 ac_lib_var
=`echo c_r'_'pthread_create | sed 'y%./+-%__p_%'`
10987 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10988 echo $ac_n "(cached) $ac_c" 1>&6
10990 ac_save_LIBS
="$LIBS"
10992 cat > conftest.
$ac_ext <<EOF
10993 #line 10994 "configure"
10994 #include "confdefs.h"
10995 /* Override any gcc2 internal prototype to avoid an error. */
10996 /* We use char because int might match the return type of a gcc2
10997 builtin and then its argument prototype would still apply. */
10998 char pthread_create();
11004 if { (eval echo configure
:11005: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11006 eval "ac_cv_lib_$ac_lib_var=yes"
11008 echo "configure: failed program was:" >&5
11009 cat conftest.
$ac_ext >&5
11011 eval "ac_cv_lib_$ac_lib_var=no"
11014 LIBS
="$ac_save_LIBS"
11017 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11018 echo "$ac_t""yes" 1>&6
11020 THREADS_OBJ
="threadpsx.lo"
11024 echo "$ac_t""no" 1>&6
11026 ac_safe
=`echo "sys/prctl.h" | sed 'y%./+-%__p_%'`
11027 echo $ac_n "checking for sys/prctl.h""... $ac_c" 1>&6
11028 echo "configure:11029: checking for sys/prctl.h" >&5
11029 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11030 echo $ac_n "(cached) $ac_c" 1>&6
11032 cat > conftest.
$ac_ext <<EOF
11033 #line 11034 "configure"
11034 #include "confdefs.h"
11035 #include <sys/prctl.h>
11037 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11038 { (eval echo configure
:11039: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11039 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11040 if test -z "$ac_err"; then
11042 eval "ac_cv_header_$ac_safe=yes"
11045 echo "configure: failed program was:" >&5
11046 cat conftest.
$ac_ext >&5
11048 eval "ac_cv_header_$ac_safe=no"
11052 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11053 echo "$ac_t""yes" 1>&6
11055 THREADS_OBJ
="threadsgi.lo"
11058 echo "$ac_t""no" 1>&6
11068 if test -z "$THREADS_OBJ" ; then
11070 echo "configure: warning: No thread support on this system" 1>&2
11074 if test "$wxUSE_THREADS" = "yes" ; then
11075 for ac_func
in thr_setconcurrency
11077 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11078 echo "configure:11079: checking for $ac_func" >&5
11079 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11080 echo $ac_n "(cached) $ac_c" 1>&6
11082 cat > conftest.
$ac_ext <<EOF
11083 #line 11084 "configure"
11084 #include "confdefs.h"
11085 /* System header to define __stub macros and hopefully few prototypes,
11086 which can conflict with char $ac_func(); below. */
11087 #include <assert.h>
11088 /* Override any gcc2 internal prototype to avoid an error. */
11089 /* We use char because int might match the return type of a gcc2
11090 builtin and then its argument prototype would still apply. */
11095 /* The GNU C library defines this for functions which it implements
11096 to always fail with ENOSYS. Some functions are actually named
11097 something starting with __ and the normal name is an alias. */
11098 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11106 if { (eval echo configure
:11107: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11108 eval "ac_cv_func_$ac_func=yes"
11110 echo "configure: failed program was:" >&5
11111 cat conftest.
$ac_ext >&5
11113 eval "ac_cv_func_$ac_func=no"
11118 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11119 echo "$ac_t""yes" 1>&6
11120 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11121 cat >> confdefs.h
<<EOF
11122 #define $ac_tr_func 1
11126 echo "$ac_t""no" 1>&6
11132 for ac_hdr
in sched.h
11134 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11135 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11136 echo "configure:11137: checking for $ac_hdr" >&5
11137 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11138 echo $ac_n "(cached) $ac_c" 1>&6
11140 cat > conftest.
$ac_ext <<EOF
11141 #line 11142 "configure"
11142 #include "confdefs.h"
11145 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11146 { (eval echo configure
:11147: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11147 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11148 if test -z "$ac_err"; then
11150 eval "ac_cv_header_$ac_safe=yes"
11153 echo "configure: failed program was:" >&5
11154 cat conftest.
$ac_ext >&5
11156 eval "ac_cv_header_$ac_safe=no"
11160 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11161 echo "$ac_t""yes" 1>&6
11162 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11163 cat >> confdefs.h
<<EOF
11164 #define $ac_tr_hdr 1
11168 echo "$ac_t""no" 1>&6
11173 echo $ac_n "checking for sched_yield in -l$THREADS_LINK""... $ac_c" 1>&6
11174 echo "configure:11175: checking for sched_yield in -l$THREADS_LINK" >&5
11175 ac_lib_var
=`echo $THREADS_LINK'_'sched_yield | sed 'y%./+-%__p_%'`
11176 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11177 echo $ac_n "(cached) $ac_c" 1>&6
11179 ac_save_LIBS
="$LIBS"
11180 LIBS
="-l$THREADS_LINK $LIBS"
11181 cat > conftest.
$ac_ext <<EOF
11182 #line 11183 "configure"
11183 #include "confdefs.h"
11184 /* Override any gcc2 internal prototype to avoid an error. */
11185 /* We use char because int might match the return type of a gcc2
11186 builtin and then its argument prototype would still apply. */
11187 char sched_yield();
11193 if { (eval echo configure
:11194: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11195 eval "ac_cv_lib_$ac_lib_var=yes"
11197 echo "configure: failed program was:" >&5
11198 cat conftest.
$ac_ext >&5
11200 eval "ac_cv_lib_$ac_lib_var=no"
11203 LIBS
="$ac_save_LIBS"
11206 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11207 echo "$ac_t""yes" 1>&6
11208 cat >> confdefs.h
<<\EOF
11209 #define HAVE_SCHED_YIELD 1
11213 echo "$ac_t""no" 1>&6
11214 echo $ac_n "checking for sched_yield in -l"posix4
"""... $ac_c" 1>&6
11215 echo "configure:11216: checking for sched_yield in -l"posix4
"" >&5
11216 ac_lib_var
=`echo "posix4"'_'sched_yield | sed 'y%./+-%__p_%'`
11217 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11218 echo $ac_n "(cached) $ac_c" 1>&6
11220 ac_save_LIBS
="$LIBS"
11221 LIBS
="-l"posix4
" $LIBS"
11222 cat > conftest.
$ac_ext <<EOF
11223 #line 11224 "configure"
11224 #include "confdefs.h"
11225 /* Override any gcc2 internal prototype to avoid an error. */
11226 /* We use char because int might match the return type of a gcc2
11227 builtin and then its argument prototype would still apply. */
11228 char sched_yield();
11234 if { (eval echo configure
:11235: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11236 eval "ac_cv_lib_$ac_lib_var=yes"
11238 echo "configure: failed program was:" >&5
11239 cat conftest.
$ac_ext >&5
11241 eval "ac_cv_lib_$ac_lib_var=no"
11244 LIBS
="$ac_save_LIBS"
11247 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11248 echo "$ac_t""yes" 1>&6
11249 cat >> confdefs.h
<<\EOF
11250 #define HAVE_SCHED_YIELD 1
11252 POSIX4_LINK
="-lposix4"
11254 echo "$ac_t""no" 1>&6
11255 echo "configure: warning: wxThread::Yield will not work properly" 1>&2
11263 echo $ac_n "checking for pthread_attr_getschedpolicy in -l$THREADS_LINK""... $ac_c" 1>&6
11264 echo "configure:11265: checking for pthread_attr_getschedpolicy in -l$THREADS_LINK" >&5
11265 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
11266 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11267 echo $ac_n "(cached) $ac_c" 1>&6
11269 ac_save_LIBS
="$LIBS"
11270 LIBS
="-l$THREADS_LINK $LIBS"
11271 cat > conftest.
$ac_ext <<EOF
11272 #line 11273 "configure"
11273 #include "confdefs.h"
11274 /* Override any gcc2 internal prototype to avoid an error. */
11275 /* We use char because int might match the return type of a gcc2
11276 builtin and then its argument prototype would still apply. */
11277 char pthread_attr_getschedpolicy();
11280 pthread_attr_getschedpolicy()
11283 if { (eval echo configure
:11284: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11285 eval "ac_cv_lib_$ac_lib_var=yes"
11287 echo "configure: failed program was:" >&5
11288 cat conftest.
$ac_ext >&5
11290 eval "ac_cv_lib_$ac_lib_var=no"
11293 LIBS
="$ac_save_LIBS"
11296 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11297 echo "$ac_t""yes" 1>&6
11298 cat >> confdefs.h
<<\EOF
11299 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
11303 echo "$ac_t""no" 1>&6
11304 echo $ac_n "checking for pthread_attr_getschedpolicy in -l"posix4
"""... $ac_c" 1>&6
11305 echo "configure:11306: checking for pthread_attr_getschedpolicy in -l"posix4
"" >&5
11306 ac_lib_var
=`echo "posix4"'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
11307 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11308 echo $ac_n "(cached) $ac_c" 1>&6
11310 ac_save_LIBS
="$LIBS"
11311 LIBS
="-l"posix4
" $LIBS"
11312 cat > conftest.
$ac_ext <<EOF
11313 #line 11314 "configure"
11314 #include "confdefs.h"
11315 /* Override any gcc2 internal prototype to avoid an error. */
11316 /* We use char because int might match the return type of a gcc2
11317 builtin and then its argument prototype would still apply. */
11318 char pthread_attr_getschedpolicy();
11321 pthread_attr_getschedpolicy()
11324 if { (eval echo configure
:11325: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11326 eval "ac_cv_lib_$ac_lib_var=yes"
11328 echo "configure: failed program was:" >&5
11329 cat conftest.
$ac_ext >&5
11331 eval "ac_cv_lib_$ac_lib_var=no"
11334 LIBS
="$ac_save_LIBS"
11337 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11338 echo "$ac_t""yes" 1>&6
11339 cat >> confdefs.h
<<\EOF
11340 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
11342 POSIX4_LINK
="-lposix4"
11344 echo "$ac_t""no" 1>&6
11345 echo "configure: warning: Setting thread priority will not work" 1>&2
11353 echo $ac_n "checking for pthread_cancel in -l$THREADS_LINK""... $ac_c" 1>&6
11354 echo "configure:11355: checking for pthread_cancel in -l$THREADS_LINK" >&5
11355 ac_lib_var
=`echo $THREADS_LINK'_'pthread_cancel | sed 'y%./+-%__p_%'`
11356 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11357 echo $ac_n "(cached) $ac_c" 1>&6
11359 ac_save_LIBS
="$LIBS"
11360 LIBS
="-l$THREADS_LINK $LIBS"
11361 cat > conftest.
$ac_ext <<EOF
11362 #line 11363 "configure"
11363 #include "confdefs.h"
11364 /* Override any gcc2 internal prototype to avoid an error. */
11365 /* We use char because int might match the return type of a gcc2
11366 builtin and then its argument prototype would still apply. */
11367 char pthread_cancel();
11373 if { (eval echo configure
:11374: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11375 eval "ac_cv_lib_$ac_lib_var=yes"
11377 echo "configure: failed program was:" >&5
11378 cat conftest.
$ac_ext >&5
11380 eval "ac_cv_lib_$ac_lib_var=no"
11383 LIBS
="$ac_save_LIBS"
11386 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11387 echo "$ac_t""yes" 1>&6
11388 cat >> confdefs.h
<<\EOF
11389 #define HAVE_PTHREAD_CANCEL 1
11393 echo "$ac_t""no" 1>&6
11394 echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
11398 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
11399 echo "configure:11400: checking for pthread_cleanup_push/pop" >&5
11400 if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
11401 echo $ac_n "(cached) $ac_c" 1>&6
11404 cat > conftest.
$ac_ext <<EOF
11405 #line 11406 "configure"
11406 #include "confdefs.h"
11407 #include <pthread.h>
11410 pthread_cleanup_push(NULL, NULL);
11411 pthread_cleanup_pop(0);
11415 if { (eval echo configure
:11416: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11418 wx_cv_func_pthread_cleanup_push
=yes
11419 cat >> confdefs.h
<<\EOF
11420 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
11425 echo "configure: failed program was:" >&5
11426 cat conftest.
$ac_ext >&5
11429 wx_cv_func_pthread_cleanup_push
=no
11436 echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
11438 THREADS_LINK
="-l$THREADS_LINK"
11443 if test "$wxUSE_THREADS" = "yes"; then
11444 cat >> confdefs.h
<<\EOF
11445 #define wxUSE_THREADS 1
11449 CFLAGS
="${CFLAGS} -D_REENTRANT"
11450 CXXFLAGS
="${CXXFLAGS} -D_REENTRANT"
11452 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
11454 if test "$ac_cv_func_strtok_r" = "yes"; then
11455 echo $ac_n "checking if -D_REENTRANT is needed""... $ac_c" 1>&6
11456 echo "configure:11457: checking if -D_REENTRANT is needed" >&5
11457 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
11458 CFLAGS
="${CFLAGS} -D_REENTRANT"
11459 CXXFLAGS
="${CXXFLAGS} -D_REENTRANT"
11460 echo "$ac_t""yes" 1>&6
11462 echo "$ac_t""no" 1>&6
11467 if test "$WXGTK13" = 1 ; then
11468 cat >> confdefs.h
<<EOF
11469 #define __WXGTK13__ $WXGTK13
11475 if test "$WXGTK12" = 1 ; then
11476 cat >> confdefs.h
<<EOF
11477 #define __WXGTK12__ $WXGTK12
11482 if test "$WXWINE" = 1 ; then
11483 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WXWINE__"
11486 if test "$wxUSE_CYGWIN" = 1 ; then
11487 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WIN95__"
11492 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
11497 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
11498 wxUSE_DEBUG_INFO
=yes
11502 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
11503 cat >> confdefs.h
<<\EOF
11507 WXDEBUG_DEFINE
="-D__WXDEBUG__"
11509 if test "$wxUSE_GTK" = 1 ; then
11510 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
11514 if test "$wxUSE_MEM_TRACING" = "yes" ; then
11515 cat >> confdefs.h
<<\EOF
11516 #define wxUSE_MEMORY_TRACING 1
11519 cat >> confdefs.h
<<\EOF
11520 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
11523 cat >> confdefs.h
<<\EOF
11524 #define wxUSE_DEBUG_NEW_ALWAYS 1
11527 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
11530 if test "$wxUSE_DMALLOC" = "yes" ; then
11531 DMALLOC_LINK
="-ldmalloc"
11535 if test "$wxUSE_PROFILE" = "yes" ; then
11541 if test "$GCC" = yes ; then
11542 if test "$wxUSE_NO_RTTI" = "yes" ; then
11543 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fno-rtti"
11545 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
11546 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fno-exceptions"
11548 if test "$wxUSE_PERMISSIVE" = "yes" ; then
11549 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
11551 if test "$wxUSE_NO_DEPS" = "no" ; then
11552 DEP_INFO_FLAGS
="-MMD"
11557 CXXFLAGS
=`echo "${CXXFLAGS}" | sed "s/\-O.//g" `
11558 CFLAGS
=`echo "${CFLAGS}" | sed "s/\-O.//g" `
11559 if test "$wxUSE_OPTIMISE" = "no" ; then
11562 if test "$GCC" = yes ; then
11565 i586
-*-*|i686
-*-* )
11566 OPTIMISE
="${OPTIMISE} "
11576 if test "$wxUSE_ZLIB" = "yes" -o "$wxUSE_ZLIB" = "sys" ; then
11577 cat >> confdefs.h
<<\EOF
11578 #define wxUSE_ZLIB 1
11581 if test "$wxUSE_ZLIB" = "yes" ; then
11582 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
11585 ac_safe
=`echo "zlib.h" | sed 'y%./+-%__p_%'`
11586 echo $ac_n "checking for zlib.h""... $ac_c" 1>&6
11587 echo "configure:11588: checking for zlib.h" >&5
11588 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11589 echo $ac_n "(cached) $ac_c" 1>&6
11591 cat > conftest.
$ac_ext <<EOF
11592 #line 11593 "configure"
11593 #include "confdefs.h"
11596 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11597 { (eval echo configure
:11598: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11598 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11599 if test -z "$ac_err"; then
11601 eval "ac_cv_header_$ac_safe=yes"
11604 echo "configure: failed program was:" >&5
11605 cat conftest.
$ac_ext >&5
11607 eval "ac_cv_header_$ac_safe=no"
11611 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11612 echo "$ac_t""yes" 1>&6
11613 echo $ac_n "checking for deflate in -lz""... $ac_c" 1>&6
11614 echo "configure:11615: checking for deflate in -lz" >&5
11615 ac_lib_var
=`echo z'_'deflate | sed 'y%./+-%__p_%'`
11616 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11617 echo $ac_n "(cached) $ac_c" 1>&6
11619 ac_save_LIBS
="$LIBS"
11621 cat > conftest.
$ac_ext <<EOF
11622 #line 11623 "configure"
11623 #include "confdefs.h"
11624 /* Override any gcc2 internal prototype to avoid an error. */
11625 /* We use char because int might match the return type of a gcc2
11626 builtin and then its argument prototype would still apply. */
11633 if { (eval echo configure
:11634: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11635 eval "ac_cv_lib_$ac_lib_var=yes"
11637 echo "configure: failed program was:" >&5
11638 cat conftest.
$ac_ext >&5
11640 eval "ac_cv_lib_$ac_lib_var=no"
11643 LIBS
="$ac_save_LIBS"
11646 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11647 echo "$ac_t""yes" 1>&6
11650 echo "$ac_t""no" 1>&6
11654 echo "$ac_t""no" 1>&6
11657 if test "x$ZLIB_LINK" = "x" ; then
11658 { echo "configure: error: system zlib compression library not found! Use --with-zlib=yes to use built-in zlib" 1>&2; exit 1; }
11664 if test "$wxUSE_LIBPNG" = "yes" -o "$wxUSE_LIBPNG" = "sys" ; then
11665 cat >> confdefs.h
<<\EOF
11666 #define wxUSE_LIBPNG 1
11669 if test "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
11670 echo "configure: warning: --with-libpng=sys doesn't work without --with-zlib=sys, will compile the built-in libpng instead" 1>&2
11674 if test "$wxUSE_LIBPNG" = "yes" ; then
11675 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
11678 ac_safe
=`echo "png.h" | sed 'y%./+-%__p_%'`
11679 echo $ac_n "checking for png.h""... $ac_c" 1>&6
11680 echo "configure:11681: checking for png.h" >&5
11681 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11682 echo $ac_n "(cached) $ac_c" 1>&6
11684 cat > conftest.
$ac_ext <<EOF
11685 #line 11686 "configure"
11686 #include "confdefs.h"
11689 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11690 { (eval echo configure
:11691: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11691 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11692 if test -z "$ac_err"; then
11694 eval "ac_cv_header_$ac_safe=yes"
11697 echo "configure: failed program was:" >&5
11698 cat conftest.
$ac_ext >&5
11700 eval "ac_cv_header_$ac_safe=no"
11704 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11705 echo "$ac_t""yes" 1>&6
11706 echo $ac_n "checking for png_check_sig in -lpng""... $ac_c" 1>&6
11707 echo "configure:11708: checking for png_check_sig in -lpng" >&5
11708 ac_lib_var
=`echo png'_'png_check_sig | sed 'y%./+-%__p_%'`
11709 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11710 echo $ac_n "(cached) $ac_c" 1>&6
11712 ac_save_LIBS
="$LIBS"
11713 LIBS
="-lpng -lz -lm $LIBS"
11714 cat > conftest.
$ac_ext <<EOF
11715 #line 11716 "configure"
11716 #include "confdefs.h"
11717 /* Override any gcc2 internal prototype to avoid an error. */
11718 /* We use char because int might match the return type of a gcc2
11719 builtin and then its argument prototype would still apply. */
11720 char png_check_sig();
11726 if { (eval echo configure
:11727: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11728 eval "ac_cv_lib_$ac_lib_var=yes"
11730 echo "configure: failed program was:" >&5
11731 cat conftest.
$ac_ext >&5
11733 eval "ac_cv_lib_$ac_lib_var=no"
11736 LIBS
="$ac_save_LIBS"
11739 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11740 echo "$ac_t""yes" 1>&6
11743 echo "$ac_t""no" 1>&6
11748 echo "$ac_t""no" 1>&6
11751 if test "x$PNG_LINK" = "x" ; then
11752 { echo "configure: error: system png library not found! Use --with-libpng=yes to use the built-in libpng" 1>&2; exit 1; }
11756 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
11760 if test "$wxUSE_LIBJPEG" = "yes" -o "$wxUSE_LIBJPEG" = "sys" ; then
11761 cat >> confdefs.h
<<\EOF
11762 #define wxUSE_LIBJPEG 1
11765 if test "$wxUSE_LIBJPEG" = "yes" ; then
11766 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
11769 ac_safe
=`echo "jpeglib.h" | sed 'y%./+-%__p_%'`
11770 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6
11771 echo "configure:11772: checking for jpeglib.h" >&5
11772 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11773 echo $ac_n "(cached) $ac_c" 1>&6
11775 cat > conftest.
$ac_ext <<EOF
11776 #line 11777 "configure"
11777 #include "confdefs.h"
11778 #include <jpeglib.h>
11780 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11781 { (eval echo configure
:11782: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11782 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11783 if test -z "$ac_err"; then
11785 eval "ac_cv_header_$ac_safe=yes"
11788 echo "configure: failed program was:" >&5
11789 cat conftest.
$ac_ext >&5
11791 eval "ac_cv_header_$ac_safe=no"
11795 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11796 echo "$ac_t""yes" 1>&6
11797 echo $ac_n "checking for jpeg_read_header in -ljpeg""... $ac_c" 1>&6
11798 echo "configure:11799: checking for jpeg_read_header in -ljpeg" >&5
11799 ac_lib_var
=`echo jpeg'_'jpeg_read_header | sed 'y%./+-%__p_%'`
11800 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11801 echo $ac_n "(cached) $ac_c" 1>&6
11803 ac_save_LIBS
="$LIBS"
11804 LIBS
="-ljpeg $LIBS"
11805 cat > conftest.
$ac_ext <<EOF
11806 #line 11807 "configure"
11807 #include "confdefs.h"
11808 /* Override any gcc2 internal prototype to avoid an error. */
11809 /* We use char because int might match the return type of a gcc2
11810 builtin and then its argument prototype would still apply. */
11811 char jpeg_read_header();
11817 if { (eval echo configure
:11818: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11819 eval "ac_cv_lib_$ac_lib_var=yes"
11821 echo "configure: failed program was:" >&5
11822 cat conftest.
$ac_ext >&5
11824 eval "ac_cv_lib_$ac_lib_var=no"
11827 LIBS
="$ac_save_LIBS"
11830 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11831 echo "$ac_t""yes" 1>&6
11834 echo "$ac_t""no" 1>&6
11838 echo "$ac_t""no" 1>&6
11841 if test "x$JPEG_LINK" = "x" ; then
11842 { echo "configure: error: system jpeg library not found! Use --with-libjpeg=yes to use the built-in one" 1>&2; exit 1; }
11848 if test "$wxUSE_LIBTIFF" = "yes" -o "$wxUSE_LIBTIFF" = "sys" ; then
11849 cat >> confdefs.h
<<\EOF
11850 #define wxUSE_LIBTIFF 1
11853 if test "$wxUSE_LIBTIFF" = "yes" ; then
11854 TIFF_INCLUDE
="-I\${top_srcdir}/src/tiff"
11857 ac_safe
=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
11858 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
11859 echo "configure:11860: checking for tiffio.h" >&5
11860 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11861 echo $ac_n "(cached) $ac_c" 1>&6
11863 cat > conftest.
$ac_ext <<EOF
11864 #line 11865 "configure"
11865 #include "confdefs.h"
11866 #include <tiffio.h>
11868 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11869 { (eval echo configure
:11870: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11870 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11871 if test -z "$ac_err"; then
11873 eval "ac_cv_header_$ac_safe=yes"
11876 echo "configure: failed program was:" >&5
11877 cat conftest.
$ac_ext >&5
11879 eval "ac_cv_header_$ac_safe=no"
11883 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11884 echo "$ac_t""yes" 1>&6
11885 echo $ac_n "checking for TIFFError in -ltiff""... $ac_c" 1>&6
11886 echo "configure:11887: checking for TIFFError in -ltiff" >&5
11887 ac_lib_var
=`echo tiff'_'TIFFError | sed 'y%./+-%__p_%'`
11888 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11889 echo $ac_n "(cached) $ac_c" 1>&6
11891 ac_save_LIBS
="$LIBS"
11892 LIBS
="-ltiff -lm $LIBS"
11893 cat > conftest.
$ac_ext <<EOF
11894 #line 11895 "configure"
11895 #include "confdefs.h"
11896 /* Override any gcc2 internal prototype to avoid an error. */
11897 /* We use char because int might match the return type of a gcc2
11898 builtin and then its argument prototype would still apply. */
11905 if { (eval echo configure
:11906: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11907 eval "ac_cv_lib_$ac_lib_var=yes"
11909 echo "configure: failed program was:" >&5
11910 cat conftest.
$ac_ext >&5
11912 eval "ac_cv_lib_$ac_lib_var=no"
11915 LIBS
="$ac_save_LIBS"
11918 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11919 echo "$ac_t""yes" 1>&6
11922 echo "$ac_t""no" 1>&6
11926 echo "$ac_t""no" 1>&6
11929 if test "x$TIFF_LINK" = "x" ; then
11930 { echo "configure: error: system tiff library not found! Use --with-libtiff=yes to use the built-in one" 1>&2; exit 1; }
11935 if test "$wxUSE_OPENGL" = "yes"; then
11936 ac_safe
=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
11937 echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
11938 echo "configure:11939: checking for GL/gl.h" >&5
11939 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11940 echo $ac_n "(cached) $ac_c" 1>&6
11942 cat > conftest.
$ac_ext <<EOF
11943 #line 11944 "configure"
11944 #include "confdefs.h"
11947 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11948 { (eval echo configure
:11949: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11949 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11950 if test -z "$ac_err"; then
11952 eval "ac_cv_header_$ac_safe=yes"
11955 echo "configure: failed program was:" >&5
11956 cat conftest.
$ac_ext >&5
11958 eval "ac_cv_header_$ac_safe=no"
11962 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11963 echo "$ac_t""yes" 1>&6
11965 cat >> confdefs.h
<<\EOF
11966 #define wxUSE_OPENGL 1
11969 cat >> confdefs.h
<<\EOF
11970 #define wxUSE_GLCANVAS 1
11973 echo $ac_n "checking for glFlush in -lGL""... $ac_c" 1>&6
11974 echo "configure:11975: checking for glFlush in -lGL" >&5
11975 ac_lib_var
=`echo GL'_'glFlush | sed 'y%./+-%__p_%'`
11976 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11977 echo $ac_n "(cached) $ac_c" 1>&6
11979 ac_save_LIBS
="$LIBS"
11981 cat > conftest.
$ac_ext <<EOF
11982 #line 11983 "configure"
11983 #include "confdefs.h"
11984 /* Override any gcc2 internal prototype to avoid an error. */
11985 /* We use char because int might match the return type of a gcc2
11986 builtin and then its argument prototype would still apply. */
11993 if { (eval echo configure
:11994: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11995 eval "ac_cv_lib_$ac_lib_var=yes"
11997 echo "configure: failed program was:" >&5
11998 cat conftest.
$ac_ext >&5
12000 eval "ac_cv_lib_$ac_lib_var=no"
12003 LIBS
="$ac_save_LIBS"
12006 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12007 echo "$ac_t""yes" 1>&6
12012 echo "$ac_t""no" 1>&6
12014 echo $ac_n "checking for glFlush in -lMesaGL""... $ac_c" 1>&6
12015 echo "configure:12016: checking for glFlush in -lMesaGL" >&5
12016 ac_lib_var
=`echo MesaGL'_'glFlush | sed 'y%./+-%__p_%'`
12017 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12018 echo $ac_n "(cached) $ac_c" 1>&6
12020 ac_save_LIBS
="$LIBS"
12021 LIBS
="-lMesaGL $LIBS"
12022 cat > conftest.
$ac_ext <<EOF
12023 #line 12024 "configure"
12024 #include "confdefs.h"
12025 /* Override any gcc2 internal prototype to avoid an error. */
12026 /* We use char because int might match the return type of a gcc2
12027 builtin and then its argument prototype would still apply. */
12034 if { (eval echo configure
:12035: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12036 eval "ac_cv_lib_$ac_lib_var=yes"
12038 echo "configure: failed program was:" >&5
12039 cat conftest.
$ac_ext >&5
12041 eval "ac_cv_lib_$ac_lib_var=no"
12044 LIBS
="$ac_save_LIBS"
12047 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12048 echo "$ac_t""yes" 1>&6
12050 OPENGL_LINK
="-lMesaGL"
12053 echo "$ac_t""no" 1>&6
12061 echo "$ac_t""no" 1>&6
12068 if test "$wxUSE_GUI" = "yes"; then
12069 cat >> confdefs.h
<<\EOF
12070 #define wxUSE_GUI 1
12075 cat >> confdefs.h
<<\EOF
12076 #define wxUSE_NOGUI 1
12082 if test "$wxUSE_UNIX" = "yes"; then
12083 cat >> confdefs.h
<<\EOF
12084 #define wxUSE_UNIX 1
12090 if test "$wxUSE_APPLE_IEEE" = "yes"; then
12091 cat >> confdefs.h
<<\EOF
12092 #define wxUSE_APPLE_IEEE 1
12097 if test "$wxUSE_WAVE" = "yes"; then
12098 cat >> confdefs.h
<<\EOF
12099 #define wxUSE_WAVE 1
12104 if test "$wxUSE_FILE" = "yes"; then
12105 cat >> confdefs.h
<<\EOF
12106 #define wxUSE_FILE 1
12111 if test "$wxUSE_FILESYSTEM" = "yes"; then
12112 cat >> confdefs.h
<<\EOF
12113 #define wxUSE_FILESYSTEM 1
12118 if test "$wxUSE_FS_INET" = "yes"; then
12119 cat >> confdefs.h
<<\EOF
12120 #define wxUSE_FS_INET 1
12125 if test "$wxUSE_FS_ZIP" = "yes"; then
12126 cat >> confdefs.h
<<\EOF
12127 #define wxUSE_FS_ZIP 1
12132 if test "$wxUSE_ZIPSTREAM" = "yes"; then
12133 cat >> confdefs.h
<<\EOF
12134 #define wxUSE_ZIPSTREAM 1
12139 if test "$wxUSE_BUSYINFO" = "yes"; then
12140 cat >> confdefs.h
<<\EOF
12141 #define wxUSE_BUSYINFO 1
12146 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
12147 cat >> confdefs.h
<<\EOF
12148 #define wxUSE_STD_IOSTREAM 1
12153 if test "$wxUSE_TEXTFILE" = "yes"; then
12154 if test "$wxUSE_FILE" != "yes"; then
12155 echo "configure: warning: wxTextFile requires wxFile and it won't be compiled without it" 1>&2
12157 cat >> confdefs.h
<<\EOF
12158 #define wxUSE_TEXTFILE 1
12164 if test "$wxUSE_CONFIG" = "yes" ; then
12165 if test "$wxUSE_TEXTFILE" != "yes"; then
12166 echo "configure: warning: wxConfig requires wxTextFile and it won't be compiled without it" 1>&2
12168 cat >> confdefs.h
<<\EOF
12169 #define wxUSE_CONFIG 1
12172 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
12176 if test "$wxUSE_INTL" = "yes" ; then
12177 if test "$wxUSE_FILE" != "yes"; then
12178 echo "configure: warning: I18n code requires wxFile and it won't be compiled without it" 1>&2
12180 cat >> confdefs.h
<<\EOF
12181 #define wxUSE_INTL 1
12184 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
12188 if test "$wxUSE_LOG" = "yes"; then
12189 cat >> confdefs.h
<<\EOF
12190 #define wxUSE_LOG 1
12195 if test "$wxUSE_LONGLONG" = "yes"; then
12196 cat >> confdefs.h
<<\EOF
12197 #define wxUSE_LONGLONG 1
12202 if test "$wxUSE_PLOT" = "yes"; then
12203 cat >> confdefs.h
<<\EOF
12204 #define wxUSE_PLOT 1
12209 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
12210 cat >> confdefs.h
<<\EOF
12211 #define wxUSE_DIALUP_MANAGER 1
12214 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
12217 if test "$wxUSE_STREAMS" = "yes" ; then
12218 cat >> confdefs.h
<<\EOF
12219 #define wxUSE_STREAMS 1
12225 if test "$wxUSE_TIMEDATE" = "yes"; then
12226 for ac_func
in strptime
12228 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12229 echo "configure:12230: checking for $ac_func" >&5
12230 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12231 echo $ac_n "(cached) $ac_c" 1>&6
12233 cat > conftest.
$ac_ext <<EOF
12234 #line 12235 "configure"
12235 #include "confdefs.h"
12236 /* System header to define __stub macros and hopefully few prototypes,
12237 which can conflict with char $ac_func(); below. */
12238 #include <assert.h>
12239 /* Override any gcc2 internal prototype to avoid an error. */
12240 /* We use char because int might match the return type of a gcc2
12241 builtin and then its argument prototype would still apply. */
12246 /* The GNU C library defines this for functions which it implements
12247 to always fail with ENOSYS. Some functions are actually named
12248 something starting with __ and the normal name is an alias. */
12249 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12257 if { (eval echo configure
:12258: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12259 eval "ac_cv_func_$ac_func=yes"
12261 echo "configure: failed program was:" >&5
12262 cat conftest.
$ac_ext >&5
12264 eval "ac_cv_func_$ac_func=no"
12269 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12270 echo "$ac_t""yes" 1>&6
12271 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12272 cat >> confdefs.h
<<EOF
12273 #define $ac_tr_func 1
12277 echo "$ac_t""no" 1>&6
12282 echo $ac_n "checking for timezone variable in <time.h>""... $ac_c" 1>&6
12283 echo "configure:12284: checking for timezone variable in <time.h>" >&5
12284 if eval "test \"`echo '$''{'wx_cv_var_timezone'+set}'`\" = set"; then
12285 echo $ac_n "(cached) $ac_c" 1>&6
12288 cat > conftest.
$ac_ext <<EOF
12289 #line 12290 "configure"
12290 #include "confdefs.h"
12301 if { (eval echo configure
:12302: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12304 wx_cv_var_timezone
=__timezone
12307 echo "configure: failed program was:" >&5
12308 cat conftest.
$ac_ext >&5
12311 cat > conftest.
$ac_ext <<EOF
12312 #line 12313 "configure"
12313 #include "confdefs.h"
12324 if { (eval echo configure
:12325: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12327 wx_cv_var_timezone
=_timezone
12330 echo "configure: failed program was:" >&5
12331 cat conftest.
$ac_ext >&5
12334 cat > conftest.
$ac_ext <<EOF
12335 #line 12336 "configure"
12336 #include "confdefs.h"
12347 if { (eval echo configure
:12348: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12350 wx_cv_var_timezone
=timezone
12353 echo "configure: failed program was:" >&5
12354 cat conftest.
$ac_ext >&5
12356 { echo "configure: error: no timezone variable" 1>&2; exit 1; }
12372 echo "$ac_t""$wx_cv_var_timezone" 1>&6
12374 cat >> confdefs.h
<<EOF
12375 #define WX_TIMEZONE $wx_cv_var_timezone
12379 for ac_func
in localtime
12381 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12382 echo "configure:12383: checking for $ac_func" >&5
12383 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12384 echo $ac_n "(cached) $ac_c" 1>&6
12386 cat > conftest.
$ac_ext <<EOF
12387 #line 12388 "configure"
12388 #include "confdefs.h"
12389 /* System header to define __stub macros and hopefully few prototypes,
12390 which can conflict with char $ac_func(); below. */
12391 #include <assert.h>
12392 /* Override any gcc2 internal prototype to avoid an error. */
12393 /* We use char because int might match the return type of a gcc2
12394 builtin and then its argument prototype would still apply. */
12399 /* The GNU C library defines this for functions which it implements
12400 to always fail with ENOSYS. Some functions are actually named
12401 something starting with __ and the normal name is an alias. */
12402 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12410 if { (eval echo configure
:12411: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12412 eval "ac_cv_func_$ac_func=yes"
12414 echo "configure: failed program was:" >&5
12415 cat conftest.
$ac_ext >&5
12417 eval "ac_cv_func_$ac_func=no"
12422 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12423 echo "$ac_t""yes" 1>&6
12424 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12425 cat >> confdefs.h
<<EOF
12426 #define $ac_tr_func 1
12430 echo "$ac_t""no" 1>&6
12435 if test "$ac_cv_func_localtime" = "yes"; then
12436 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
12437 echo "configure:12438: checking for tm_gmtoff in struct tm" >&5
12438 if eval "test \"`echo '$''{'wx_cv_struct_tm_has_gmtoff'+set}'`\" = set"; then
12439 echo $ac_n "(cached) $ac_c" 1>&6
12442 cat > conftest.
$ac_ext <<EOF
12443 #line 12444 "configure"
12444 #include "confdefs.h"
12455 if { (eval echo configure
:12456: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12458 wx_cv_struct_tm_has_gmtoff
=yes
12459 cat >> confdefs.h
<<\EOF
12460 #define WX_GMTOFF_IN_TM 1
12465 echo "configure: failed program was:" >&5
12466 cat conftest.
$ac_ext >&5
12468 wx_cv_struct_tm_has_gmtoff
=no
12475 echo "$ac_t""$wx_cv_struct_tm_has_gmtoff" 1>&6
12478 for ac_func
in gettimeofday ftime
12480 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12481 echo "configure:12482: checking for $ac_func" >&5
12482 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12483 echo $ac_n "(cached) $ac_c" 1>&6
12485 cat > conftest.
$ac_ext <<EOF
12486 #line 12487 "configure"
12487 #include "confdefs.h"
12488 /* System header to define __stub macros and hopefully few prototypes,
12489 which can conflict with char $ac_func(); below. */
12490 #include <assert.h>
12491 /* Override any gcc2 internal prototype to avoid an error. */
12492 /* We use char because int might match the return type of a gcc2
12493 builtin and then its argument prototype would still apply. */
12498 /* The GNU C library defines this for functions which it implements
12499 to always fail with ENOSYS. Some functions are actually named
12500 something starting with __ and the normal name is an alias. */
12501 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12509 if { (eval echo configure
:12510: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12511 eval "ac_cv_func_$ac_func=yes"
12513 echo "configure: failed program was:" >&5
12514 cat conftest.
$ac_ext >&5
12516 eval "ac_cv_func_$ac_func=no"
12521 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12522 echo "$ac_t""yes" 1>&6
12523 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12524 cat >> confdefs.h
<<EOF
12525 #define $ac_tr_func 1
12529 echo "$ac_t""no" 1>&6
12534 if test "$ac_cv_func_gettimeofday" = "yes"; then
12535 echo $ac_n "checking whether gettimeofday takes two arguments""... $ac_c" 1>&6
12536 echo "configure:12537: checking whether gettimeofday takes two arguments" >&5
12537 if eval "test \"`echo '$''{'wx_cv_func_gettimeofday_has_2_args'+set}'`\" = set"; then
12538 echo $ac_n "(cached) $ac_c" 1>&6
12543 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12544 ac_cpp
='$CXXCPP $CPPFLAGS'
12545 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12546 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12547 cross_compiling
=$ac_cv_prog_cxx_cross
12550 cat > conftest.
$ac_ext <<EOF
12551 #line 12552 "configure"
12552 #include "confdefs.h"
12554 #include <sys/time.h>
12555 #include <unistd.h>
12560 struct timezone tz;
12561 gettimeofday(&tv, &tz);
12565 if { (eval echo configure
:12566: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12567 wx_cv_func_gettimeofday_has_2_args
=yes
12569 echo "configure: failed program was:" >&5
12570 cat conftest.
$ac_ext >&5
12572 cat > conftest.
$ac_ext <<EOF
12573 #line 12574 "configure"
12574 #include "confdefs.h"
12576 #include <sys/time.h>
12577 #include <unistd.h>
12586 if { (eval echo configure
:12587: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12588 wx_cv_func_gettimeofday_has_2_args
=no
12590 echo "configure: failed program was:" >&5
12591 cat conftest.
$ac_ext >&5
12593 wx_cv_func_gettimeofday_has_2_args
=unknown
12601 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12602 ac_cpp
='$CPP $CPPFLAGS'
12603 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12604 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12605 cross_compiling
=$ac_cv_prog_cc_cross
12610 echo "$ac_t""$wx_cv_func_gettimeofday_has_2_args" 1>&6
12612 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
12613 cat >> confdefs.h
<<\EOF
12614 #define WX_GETTIMEOFDAY_NO_TZ 1
12620 cat >> confdefs.h
<<\EOF
12621 #define wxUSE_TIMEDATE 1
12624 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
12628 if test "$TOOLKIT" != "MSW"; then
12630 if test "$wxUSE_SOCKETS" = "yes"; then
12631 echo $ac_n "checking for socket""... $ac_c" 1>&6
12632 echo "configure:12633: checking for socket" >&5
12633 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
12634 echo $ac_n "(cached) $ac_c" 1>&6
12636 cat > conftest.
$ac_ext <<EOF
12637 #line 12638 "configure"
12638 #include "confdefs.h"
12639 /* System header to define __stub macros and hopefully few prototypes,
12640 which can conflict with char socket(); below. */
12641 #include <assert.h>
12642 /* Override any gcc2 internal prototype to avoid an error. */
12643 /* We use char because int might match the return type of a gcc2
12644 builtin and then its argument prototype would still apply. */
12649 /* The GNU C library defines this for functions which it implements
12650 to always fail with ENOSYS. Some functions are actually named
12651 something starting with __ and the normal name is an alias. */
12652 #if defined (__stub_socket) || defined (__stub___socket)
12660 if { (eval echo configure
:12661: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12662 eval "ac_cv_func_socket=yes"
12664 echo "configure: failed program was:" >&5
12665 cat conftest.
$ac_ext >&5
12667 eval "ac_cv_func_socket=no"
12672 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
12673 echo "$ac_t""yes" 1>&6
12676 echo "$ac_t""no" 1>&6
12677 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
12678 echo "configure:12679: checking for socket in -lsocket" >&5
12679 ac_lib_var
=`echo socket'_'socket | sed 'y%./+-%__p_%'`
12680 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12681 echo $ac_n "(cached) $ac_c" 1>&6
12683 ac_save_LIBS
="$LIBS"
12684 LIBS
="-lsocket $LIBS"
12685 cat > conftest.
$ac_ext <<EOF
12686 #line 12687 "configure"
12687 #include "confdefs.h"
12688 /* Override any gcc2 internal prototype to avoid an error. */
12689 /* We use char because int might match the return type of a gcc2
12690 builtin and then its argument prototype would still apply. */
12697 if { (eval echo configure
:12698: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12699 eval "ac_cv_lib_$ac_lib_var=yes"
12701 echo "configure: failed program was:" >&5
12702 cat conftest.
$ac_ext >&5
12704 eval "ac_cv_lib_$ac_lib_var=no"
12707 LIBS
="$ac_save_LIBS"
12710 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12711 echo "$ac_t""yes" 1>&6
12712 INET_LINK
="$INET_LINK -lsocket"
12714 echo "$ac_t""no" 1>&6
12716 echo "configure: warning: socket library not found - sockets will be disabled" 1>&2
12729 if test "$wxUSE_SOCKETS" = "yes" ; then
12730 echo $ac_n "checking what is the type of the third argument of getsockname""... $ac_c" 1>&6
12731 echo "configure:12732: checking what is the type of the third argument of getsockname" >&5
12732 if eval "test \"`echo '$''{'wx_cv_type_getsockname3'+set}'`\" = set"; then
12733 echo $ac_n "(cached) $ac_c" 1>&6
12738 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12739 ac_cpp
='$CXXCPP $CPPFLAGS'
12740 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12741 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12742 cross_compiling
=$ac_cv_prog_cxx_cross
12745 cat > conftest.
$ac_ext <<EOF
12746 #line 12747 "configure"
12747 #include "confdefs.h"
12749 #include <sys/types.h>
12750 #include <sys/socket.h>
12755 getsockname(0, 0, &len);
12759 if { (eval echo configure
:12760: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12761 wx_cv_type_getsockname3
=socklen_t
12763 echo "configure: failed program was:" >&5
12764 cat conftest.
$ac_ext >&5
12766 cat > conftest.
$ac_ext <<EOF
12767 #line 12768 "configure"
12768 #include "confdefs.h"
12770 #include <sys/types.h>
12771 #include <sys/socket.h>
12776 getsockname(0, 0, &len);
12780 if { (eval echo configure
:12781: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12782 wx_cv_type_getsockname3
=size_t
12784 echo "configure: failed program was:" >&5
12785 cat conftest.
$ac_ext >&5
12787 cat > conftest.
$ac_ext <<EOF
12788 #line 12789 "configure"
12789 #include "confdefs.h"
12791 #include <sys/types.h>
12792 #include <sys/socket.h>
12797 getsockname(0, 0, &len);
12801 if { (eval echo configure
:12802: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12803 wx_cv_type_getsockname3
=int
12805 echo "configure: failed program was:" >&5
12806 cat conftest.
$ac_ext >&5
12808 wx_cv_type_getsockname3
=unknown
12820 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12821 ac_cpp
='$CPP $CPPFLAGS'
12822 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12823 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12824 cross_compiling
=$ac_cv_prog_cc_cross
12829 echo "$ac_t""$wx_cv_type_getsockname3" 1>&6
12831 if test "$wx_cv_type_getsockname3" = "unknown"; then
12833 echo "configure: warning: Couldn't find socklen_t synonym for this system" 1>&2
12835 cat >> confdefs.h
<<EOF
12836 #define SOCKLEN_T $wx_cv_type_getsockname3
12842 if test "$wxUSE_SOCKETS" = "yes" ; then
12843 cat >> confdefs.h
<<\EOF
12844 #define wxUSE_SOCKETS 1
12847 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
12848 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS protocol"
12852 if test "$TOOLKIT" != "MSW"; then
12854 if test "$wxUSE_JOYSTICK" = 1; then
12855 for ac_hdr
in linux
/joystick.h
12857 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12858 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12859 echo "configure:12860: checking for $ac_hdr" >&5
12860 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12861 echo $ac_n "(cached) $ac_c" 1>&6
12863 cat > conftest.
$ac_ext <<EOF
12864 #line 12865 "configure"
12865 #include "confdefs.h"
12868 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12869 { (eval echo configure
:12870: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12870 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12871 if test -z "$ac_err"; then
12873 eval "ac_cv_header_$ac_safe=yes"
12876 echo "configure: failed program was:" >&5
12877 cat conftest.
$ac_ext >&5
12879 eval "ac_cv_header_$ac_safe=no"
12883 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12884 echo "$ac_t""yes" 1>&6
12885 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12886 cat >> confdefs.h
<<EOF
12887 #define $ac_tr_hdr 1
12891 echo "$ac_t""no" 1>&6
12895 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
12897 echo "configure: warning: Joystick not supported yb this system" 1>&2
12903 if test "$wxUSE_JOYSTICK" = 1; then
12904 cat >> confdefs.h
<<\EOF
12905 #define wxUSE_JOYSTICK 1
12908 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
12912 if test "$TOOLKIT" != "MSW"; then
12916 if test "$wxUSE_DYNLIB_CLASS" = "yes"; then
12917 for ac_func
in dlopen
12919 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12920 echo "configure:12921: checking for $ac_func" >&5
12921 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12922 echo $ac_n "(cached) $ac_c" 1>&6
12924 cat > conftest.
$ac_ext <<EOF
12925 #line 12926 "configure"
12926 #include "confdefs.h"
12927 /* System header to define __stub macros and hopefully few prototypes,
12928 which can conflict with char $ac_func(); below. */
12929 #include <assert.h>
12930 /* Override any gcc2 internal prototype to avoid an error. */
12931 /* We use char because int might match the return type of a gcc2
12932 builtin and then its argument prototype would still apply. */
12937 /* The GNU C library defines this for functions which it implements
12938 to always fail with ENOSYS. Some functions are actually named
12939 something starting with __ and the normal name is an alias. */
12940 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12948 if { (eval echo configure
:12949: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12950 eval "ac_cv_func_$ac_func=yes"
12952 echo "configure: failed program was:" >&5
12953 cat conftest.
$ac_ext >&5
12955 eval "ac_cv_func_$ac_func=no"
12960 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12961 echo "$ac_t""yes" 1>&6
12962 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12963 cat >> confdefs.h
<<EOF
12964 #define $ac_tr_func 1
12967 cat >> confdefs.h
<<\EOF
12968 #define HAVE_DLOPEN 1
12974 echo "$ac_t""no" 1>&6
12975 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
12976 echo "configure:12977: checking for dlopen in -ldl" >&5
12977 ac_lib_var
=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
12978 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12979 echo $ac_n "(cached) $ac_c" 1>&6
12981 ac_save_LIBS
="$LIBS"
12983 cat > conftest.
$ac_ext <<EOF
12984 #line 12985 "configure"
12985 #include "confdefs.h"
12986 /* Override any gcc2 internal prototype to avoid an error. */
12987 /* We use char because int might match the return type of a gcc2
12988 builtin and then its argument prototype would still apply. */
12995 if { (eval echo configure
:12996: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12997 eval "ac_cv_lib_$ac_lib_var=yes"
12999 echo "configure: failed program was:" >&5
13000 cat conftest.
$ac_ext >&5
13002 eval "ac_cv_lib_$ac_lib_var=no"
13005 LIBS
="$ac_save_LIBS"
13008 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13009 echo "$ac_t""yes" 1>&6
13011 cat >> confdefs.h
<<\EOF
13012 #define HAVE_DLOPEN 1
13019 echo "$ac_t""no" 1>&6
13021 for ac_func
in shl_load
13023 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13024 echo "configure:13025: checking for $ac_func" >&5
13025 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13026 echo $ac_n "(cached) $ac_c" 1>&6
13028 cat > conftest.
$ac_ext <<EOF
13029 #line 13030 "configure"
13030 #include "confdefs.h"
13031 /* System header to define __stub macros and hopefully few prototypes,
13032 which can conflict with char $ac_func(); below. */
13033 #include <assert.h>
13034 /* Override any gcc2 internal prototype to avoid an error. */
13035 /* We use char because int might match the return type of a gcc2
13036 builtin and then its argument prototype would still apply. */
13041 /* The GNU C library defines this for functions which it implements
13042 to always fail with ENOSYS. Some functions are actually named
13043 something starting with __ and the normal name is an alias. */
13044 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13052 if { (eval echo configure
:13053: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13054 eval "ac_cv_func_$ac_func=yes"
13056 echo "configure: failed program was:" >&5
13057 cat conftest.
$ac_ext >&5
13059 eval "ac_cv_func_$ac_func=no"
13064 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13065 echo "$ac_t""yes" 1>&6
13066 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13067 cat >> confdefs.h
<<EOF
13068 #define $ac_tr_func 1
13071 cat >> confdefs.h
<<\EOF
13072 #define HAVE_SHL_LOAD 1
13078 echo "$ac_t""no" 1>&6
13090 if test "$HAVE_DL_FUNCS" = 0; then
13091 if test "$HAVE_SHL_FUNCS" = 0; then
13092 if test "$USE_UNIX" = 1; then
13093 echo "configure: warning: Missing dynamic loading support, several features will be disabled" 1>&2
13094 wxUSE_DYNLIB_CLASS
=no
13096 echo "configure: warning: Assuming wxLibrary class works on this platform" 1>&2
13104 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
13105 cat >> confdefs.h
<<\EOF
13106 #define wxUSE_DYNLIB_CLASS 1
13115 if test "$wxUSE_UNICODE" = "yes" ; then
13116 cat >> confdefs.h
<<\EOF
13117 #define wxUSE_UNICODE 1
13122 if test "$wxUSE_WCSRTOMBS" = "yes" ; then
13123 cat >> confdefs.h
<<\EOF
13124 #define wxUSE_WCSRTOMBS 1
13129 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
13130 cat >> confdefs.h
<<\EOF
13131 #define wxUSE_EXPERIMENTAL_PRINTF 1
13137 if test "$wxUSE_SERIAL" = "yes" ; then
13138 cat >> confdefs.h
<<\EOF
13139 #define wxUSE_SERIAL 1
13146 if test "$wxUSE_ODBC" = "yes" ; then
13147 cat >> confdefs.h
<<\EOF
13148 #define wxUSE_ODBC 1
13151 WXODBCFLAG
="-D_IODBC_"
13152 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
13153 IODBCOBJS
="\$(IODBC_OBJS)"
13159 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
13160 cat >> confdefs.h
<<\EOF
13161 #define wxUSE_POSTSCRIPT 1
13166 cat >> confdefs.h
<<\EOF
13167 #define wxUSE_AFM_FOR_POSTSCRIPT 1
13171 cat >> confdefs.h
<<\EOF
13172 #define wxUSE_NORMALIZED_PS_FONTS 1
13177 if test "$wxUSE_CONSTRAINTS" = "yes"; then
13178 cat >> confdefs.h
<<\EOF
13179 #define wxUSE_CONSTRAINTS 1
13182 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
13185 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
13186 cat >> confdefs.h
<<\EOF
13187 #define wxUSE_MDI_ARCHITECTURE 1
13190 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
13193 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
13194 cat >> confdefs.h
<<\EOF
13195 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
13198 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
13199 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
13200 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
13204 if test "$wxUSE_HELP" = "yes"; then
13205 cat >> confdefs.h
<<\EOF
13206 #define wxUSE_HELP 1
13209 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
13212 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
13213 if test "$wxUSE_CONSTRAINTS" != "yes"; then
13214 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
13216 cat >> confdefs.h
<<\EOF
13217 #define wxUSE_PRINTING_ARCHITECTURE 1
13221 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
13224 if test "$wxUSE_PROLOGIO" = "yes" ; then
13225 cat >> confdefs.h
<<\EOF
13226 #define wxUSE_PROLOGIO 1
13231 if test "$wxUSE_RESOURCES" = "yes" ; then
13232 if test "$wxUSE_PROLOGIO" = "yes" ; then
13233 cat >> confdefs.h
<<\EOF
13234 #define wxUSE_RESOURCES 1
13237 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS resource"
13239 echo "configure: warning: wxWindows ressource system requires PrologIO and can't be compiled without it." 1>&2
13243 if test "$wxUSE_X_RESOURCES" = "yes"; then
13244 cat >> confdefs.h
<<\EOF
13245 #define wxUSE_X_RESOURCES 1
13251 if test "$wxUSE_IPC" = "yes"; then
13252 cat >> confdefs.h
<<\EOF
13253 #define wxUSE_IPC 1
13258 if test "$wxUSE_CLIPBOARD" = "yes"; then
13259 cat >> confdefs.h
<<\EOF
13260 #define wxUSE_CLIPBOARD 1
13265 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
13266 if test "$wxUSE_GTK" = 1; then
13267 if test "$WXGTK12" != 1; then
13268 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2" 1>&2
13269 wxUSE_DRAG_AND_DROP
=no
13273 if test "$wxUSE_MOTIF" = 1; then
13274 echo "configure: warning: Drag and drop is not yet supported under Motif" 1>&2
13275 wxUSE_DRAG_AND_DROP
=no
13278 if test "$USE_WIN32" = 1; then
13279 for ac_hdr
in ole2.h
13281 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13282 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13283 echo "configure:13284: checking for $ac_hdr" >&5
13284 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13285 echo $ac_n "(cached) $ac_c" 1>&6
13287 cat > conftest.
$ac_ext <<EOF
13288 #line 13289 "configure"
13289 #include "confdefs.h"
13292 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13293 { (eval echo configure
:13294: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13294 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13295 if test -z "$ac_err"; then
13297 eval "ac_cv_header_$ac_safe=yes"
13300 echo "configure: failed program was:" >&5
13301 cat conftest.
$ac_ext >&5
13303 eval "ac_cv_header_$ac_safe=no"
13307 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13308 echo "$ac_t""yes" 1>&6
13309 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13310 cat >> confdefs.h
<<EOF
13311 #define $ac_tr_hdr 1
13315 echo "$ac_t""no" 1>&6
13319 if test "x$HAVE_OLE2_H" = x
; then
13320 echo "configure: warning: Drag and drop disabled because OLE headers not found" 1>&2
13321 wxUSE_DRAG_AND_DROP
=no
13325 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
13326 cat >> confdefs.h
<<\EOF
13327 #define wxUSE_DRAG_AND_DROP 1
13330 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
13335 if test "$wxUSE_SPLINES" = "yes" ; then
13336 cat >> confdefs.h
<<\EOF
13337 #define wxUSE_SPLINES 1
13343 if test "$wxUSE_ACCEL" = "yes"; then
13344 cat >> confdefs.h
<<\EOF
13345 #define wxUSE_ACCEL 1
13350 if test "$wxUSE_CARET" = "yes"; then
13351 cat >> confdefs.h
<<\EOF
13352 #define wxUSE_CARET 1
13355 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
13358 if test "$wxUSE_COMBOBOX" = "yes"; then
13359 cat >> confdefs.h
<<\EOF
13360 #define wxUSE_COMBOBOX 1
13365 if test "$wxUSE_CHOICE" = "yes"; then
13366 cat >> confdefs.h
<<\EOF
13367 #define wxUSE_CHOICE 1
13372 if test "$wxUSE_BMPBUTTON" = "yes"; then
13373 cat >> confdefs.h
<<\EOF
13374 #define wxUSE_BMPBUTTON 1
13379 if test "$wxUSE_CHECKBOX" = "yes"; then
13380 cat >> confdefs.h
<<\EOF
13381 #define wxUSE_CHECKBOX 1
13386 if test "$wxUSE_CHECKLST" = "yes"; then
13387 cat >> confdefs.h
<<\EOF
13388 #define wxUSE_CHECKLISTBOX 1
13391 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
13394 if test "$wxUSE_GAUGE" = "yes"; then
13395 cat >> confdefs.h
<<\EOF
13396 #define wxUSE_GAUGE 1
13401 if test "$wxUSE_NEW_GRID" = "yes"; then
13403 cat >> confdefs.h
<<\EOF
13404 #define wxUSE_NEW_GRID 1
13407 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS newgrid"
13410 if test "$wxUSE_GRID" = "yes"; then
13411 cat >> confdefs.h
<<\EOF
13412 #define wxUSE_GRID 1
13415 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
13418 if test "$wxUSE_IMAGLIST" = "yes"; then
13419 cat >> confdefs.h
<<\EOF
13420 #define wxUSE_IMAGLIST 1
13425 if test "$wxUSE_LISTBOX" = "yes"; then
13426 cat >> confdefs.h
<<\EOF
13427 #define wxUSE_LISTBOX 1
13432 if test "$wxUSE_LISTCTRL" = "yes"; then
13433 if test "$wxUSE_IMAGLIST" = "yes"; then
13434 cat >> confdefs.h
<<\EOF
13435 #define wxUSE_LISTCTRL 1
13438 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
13440 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
13444 if test "$wxUSE_NOTEBOOK" = "yes"; then
13445 cat >> confdefs.h
<<\EOF
13446 #define wxUSE_NOTEBOOK 1
13449 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
13452 if test "$wxUSE_RADIOBOX" = "yes"; then
13453 cat >> confdefs.h
<<\EOF
13454 #define wxUSE_RADIOBOX 1
13459 if test "$wxUSE_RADIOBTN" = "yes"; then
13460 cat >> confdefs.h
<<\EOF
13461 #define wxUSE_RADIOBTN 1
13466 if test "$wxUSE_SASH" = "yes"; then
13467 cat >> confdefs.h
<<\EOF
13468 #define wxUSE_SASH 1
13471 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
13474 if test "$wxUSE_SCROLLBAR" = "yes"; then
13475 cat >> confdefs.h
<<\EOF
13476 #define wxUSE_SCROLLBAR 1
13479 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
13482 if test "$wxUSE_SLIDER" = "yes"; then
13483 cat >> confdefs.h
<<\EOF
13484 #define wxUSE_SLIDER 1
13489 if test "$wxUSE_SPINBTN" = "yes"; then
13490 cat >> confdefs.h
<<\EOF
13491 #define wxUSE_SPINBTN 1
13496 if test "$wxUSE_SPINCTRL" = "yes"; then
13497 cat >> confdefs.h
<<\EOF
13498 #define wxUSE_SPINCTRL 1
13503 if test "$wxUSE_SPLITTER" = "yes"; then
13504 cat >> confdefs.h
<<\EOF
13505 #define wxUSE_SPLITTER 1
13508 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
13511 if test "$wxUSE_STATBMP" = "yes"; then
13512 cat >> confdefs.h
<<\EOF
13513 #define wxUSE_STATBMP 1
13518 if test "$wxUSE_STATBOX" = "yes"; then
13519 cat >> confdefs.h
<<\EOF
13520 #define wxUSE_STATBOX 1
13525 if test "$wxUSE_STATLINE" = "yes"; then
13526 if test "$wxUSE_WINE" = 1 ; then
13527 echo "configure: warning: wxStaticLine is not supported under WINE" 1>&2
13529 cat >> confdefs.h
<<\EOF
13530 #define wxUSE_STATLINE 1
13536 if test "$wxUSE_STATUSBAR" = "yes"; then
13537 cat >> confdefs.h
<<\EOF
13538 #define wxUSE_STATUSBAR 1
13542 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
13545 if test "$wxUSE_TABDIALOG" = "yes"; then
13546 cat >> confdefs.h
<<\EOF
13547 #define wxUSE_TAB_DIALOG 1
13550 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
13553 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
13554 cat >> confdefs.h
<<\EOF
13555 #define wxUSE_TOOLBAR_SIMPLE 1
13558 wxUSE_TOOLBAR
="yes"
13561 if test "$wxUSE_TOOLBAR" = "yes"; then
13562 cat >> confdefs.h
<<\EOF
13563 #define wxUSE_TOOLBAR 1
13567 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
13568 wxUSE_TOOLBAR_NATIVE
="yes"
13571 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
13574 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
13575 cat >> confdefs.h
<<\EOF
13576 #define wxUSE_TOOLBAR_NATIVE 1
13581 if test "$wxUSE_TOOLTIPS" = "yes"; then
13582 if test "$wxUSE_MOTIF" = 1; then
13583 echo "configure: warning: wxTooltip not supported yet under Motif" 1>&2
13585 if test "$wxUSE_WINE" = 1; then
13586 echo "configure: warning: wxTooltip not supported under WINE" 1>&2
13588 cat >> confdefs.h
<<\EOF
13589 #define wxUSE_TOOLTIPS 1
13596 if test "$wxUSE_TREECTRL" = "yes"; then
13597 if test "$wxUSE_IMAGLIST" = "yes"; then
13598 cat >> confdefs.h
<<\EOF
13599 #define wxUSE_TREECTRL 1
13602 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
13604 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
13610 if test "$wxUSE_METAFILE" = "yes"; then
13611 cat >> confdefs.h
<<\EOF
13612 #define wxUSE_METAFILE 1
13617 if test "$wxUSE_DIRDLG" = "yes"; then
13618 if test "$wxUSE_CONSTRAINTS" != "yes"; then
13619 echo "configure: warning: wxDirDialog requires constraints so it won't be compiled without them" 1>&2
13621 if test "$wxUSE_TREECTRL" != "yes"; then
13622 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
13624 cat >> confdefs.h
<<\EOF
13625 #define wxUSE_DIRDLG 1
13632 if test "$wxUSE_TEXTDLG" = "yes"; then
13633 cat >> confdefs.h
<<\EOF
13634 #define wxUSE_TEXTDLG 1
13639 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
13640 if test "$wxUSE_CONSTRAINTS" != "yes"; then
13641 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
13643 cat >> confdefs.h
<<\EOF
13644 #define wxUSE_STARTUP_TIPS 1
13650 if test "$wxUSE_PROGRESSDLG" = "yes"; then
13651 if test "$wxUSE_CONSTRAINTS" != "yes"; then
13652 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
13654 cat >> confdefs.h
<<\EOF
13655 #define wxUSE_PROGRESSDLG 1
13661 if test "$wxUSE_MINIFRAME" = "yes"; then
13662 cat >> confdefs.h
<<\EOF
13663 #define wxUSE_MINIFRAME 1
13666 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
13669 if test "$wxUSE_HTML" = "yes"; then
13670 cat >> confdefs.h
<<\EOF
13671 #define wxUSE_HTML 1
13674 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html"
13675 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS html"
13678 if test "$wxUSE_VALIDATORS" = "yes"; then
13679 cat >> confdefs.h
<<\EOF
13680 #define wxUSE_VALIDATORS 1
13683 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
13686 if test "$wxUSE_GIF" = "yes" ; then
13687 cat >> confdefs.h
<<\EOF
13688 #define wxUSE_GIF 1
13693 if test "$wxUSE_PCX" = "yes" ; then
13694 cat >> confdefs.h
<<\EOF
13695 #define wxUSE_PCX 1
13700 if test "$wxUSE_PNM" = "yes" ; then
13701 cat >> confdefs.h
<<\EOF
13702 #define wxUSE_PNM 1
13708 if test "$cross_compiling" = "yes"; then
13711 OSINFO
=`uname -s -r -m`
13712 OSINFO
="\"$OSINFO\""
13715 cat >> confdefs.h
<<EOF
13716 #define WXWIN_OS_DESCRIPTION $OSINFO
13721 GUILIBS
="$GUI_TK_LIBRARY $OPENGL_LINK $TOOLKIT_LINK"
13723 EXTRA_LIBS
="$LIBS $ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $THREADS_LINK $DMALLOC_LINK $DL_LINK"
13724 if test "$wxUSE_GUI" = "yes"; then
13725 EXTRA_LIBS
="$EXTRA_LIBS $GUILIBS $PNG_LINK $JPEG_LINK $TIFF_LINK"
13728 LD_LIBS
="\${top_builddir}/lib/${WX_LIBRARY_NAME_STATIC} $EXTRA_LIBS"
13730 INCLUDES
="-I. -I\${top_builddir}/include -I\${top_srcdir}/include $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE $TOOLKIT_INCLUDE"
13732 if test "$GXX" = yes ; then
13733 CXXWARNINGS
="-Wall"
13735 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE $INCLUDES"
13737 CFLAGS
=`echo $CFLAGS $EXTRA_CFLAGS | sed 's/ \\+/ /g'`
13738 CXXFLAGS
=`echo $CXXFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
13740 LDFLAGS
="$LDFLAGS $PROFILE"
13742 if test "$wxUSE_GUI" = "yes"; then
13744 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS controls dialogs dragimag drawing dynamic \
13745 font fractal image menu minimal richedit"
13747 CPPFLAGS
="$CPPFLAGS \$(EXTRADEFS) \$(APPEXTRADEFS)"
13752 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
13843 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
13844 echo "configure:13845: checking whether ${MAKE-make} sets \${MAKE}" >&5
13845 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
13846 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
13847 echo $ac_n "(cached) $ac_c" 1>&6
13849 cat > conftestmake
<<\EOF
13851 @
echo 'ac_maketemp="${MAKE}"'
13853 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
13854 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
13855 if test -n "$ac_maketemp"; then
13856 eval ac_cv_prog_make_
${ac_make}_set
=yes
13858 eval ac_cv_prog_make_
${ac_make}_set
=no
13862 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
13863 echo "$ac_t""yes" 1>&6
13866 echo "$ac_t""no" 1>&6
13867 SET_MAKE
="MAKE=${MAKE-make}"
13871 if test -d include
; then
13872 if test -d include
/wx
; then
13873 if test -d include
/wx
/${TOOLKIT_DIR}; then
13874 if test -f include
/wx
/${TOOLKIT_DIR}/setup.h
; then
13875 mv -f include
/wx
/${TOOLKIT_DIR}/setup.h setup.h
13883 if test "$wxUSE_GUI" = "yes"; then
13884 wx_cv_path_samplesubdirs
=$SAMPLES_SUBDIRS
13885 wx_cv_path_ifs
=$PATH_IFS
13886 wx_cv_program_ext
=$PROGRAM_EXT
13887 wx_cv_target_library
=$WX_TARGET_LIBRARY
13888 subdirs
="demos samples utils contrib"
13893 cat > confcache
<<\EOF
13894 # This file is a shell script that caches the results of configure
13895 # tests run on this system so they can be shared between configure
13896 # scripts and configure runs. It is not useful on other systems.
13897 # If it contains results you don't want to keep, you may remove or edit it.
13899 # By default, configure uses ./config.cache as the cache file,
13900 # creating it if it does not exist already. You can give configure
13901 # the --cache-file=FILE option to use a different cache file; that is
13902 # what configure does when it calls configure scripts in
13903 # subdirectories, so they share the cache.
13904 # Giving --cache-file=/dev/null disables caching, for debugging configure.
13905 # config.status only pays attention to the cache file if you give it the
13906 # --recheck option to rerun configure.
13909 # The following way of writing the cache mishandles newlines in values,
13910 # but we know of no workaround that is simple, portable, and efficient.
13911 # So, don't put newlines in cache variables' values.
13912 # Ultrix sh set writes to stderr and can't be redirected directly,
13913 # and sets the high bit in the cache file unless we assign to the vars.
13915 case `(ac_space=' '; set | grep ac_space) 2>&1` in
13917 # `set' does not quote correctly, so add quotes (double-quote substitution
13918 # turns \\\\ into \\, and sed turns \\ into \).
13920 -e "s/'/'\\\\''/g" \
13921 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
13924 # `set' quotes correctly as required by POSIX, so do not add quotes.
13925 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
13928 if cmp -s $cache_file confcache
; then
13931 if test -w $cache_file; then
13932 echo "updating cache $cache_file"
13933 cat confcache
> $cache_file
13935 echo "not updating unwritable cache $cache_file"
13940 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
13942 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
13943 # Let make expand exec_prefix.
13944 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
13946 # Any assignment to VPATH causes Sun make to only execute
13947 # the first set of double-colon rules, so remove it if not needed.
13948 # If there is a colon in the path, we need to keep it.
13949 if test "x$srcdir" = x.
; then
13950 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
13953 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
13955 DEFS
=-DHAVE_CONFIG_H
13957 # Without the "./", some shells look in PATH for config.status.
13958 : ${CONFIG_STATUS=./config.status}
13960 echo creating
$CONFIG_STATUS
13961 rm -f $CONFIG_STATUS
13962 cat > $CONFIG_STATUS <<EOF
13964 # Generated automatically by configure.
13965 # Run this file to recreate the current configuration.
13966 # This directory was configured as follows,
13967 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13969 # $0 $ac_configure_args
13971 # Compiler output produced by configure, useful for debugging
13972 # configure, is in ./config.log if it exists.
13974 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
13977 case "\$ac_option" in
13978 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13979 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
13980 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
13981 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
13982 echo "$CONFIG_STATUS generated by autoconf version 2.13"
13984 -help | --help | --hel | --he | --h)
13985 echo "\$ac_cs_usage"; exit 0 ;;
13986 *) echo "\$ac_cs_usage"; exit 1 ;;
13990 ac_given_srcdir=$srcdir
13991 ac_given_INSTALL="$INSTALL"
13993 trap 'rm -fr `echo "
13999 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
14001 cat >> $CONFIG_STATUS <<EOF
14003 # Protect against being on the right side of a sed subst in config.status.
14004 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
14005 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
14009 s%@CFLAGS@%$CFLAGS%g
14010 s%@CPPFLAGS@%$CPPFLAGS%g
14011 s%@CXXFLAGS@%$CXXFLAGS%g
14012 s%@FFLAGS@%$FFLAGS%g
14014 s%@LDFLAGS@%$LDFLAGS%g
14016 s%@exec_prefix@%$exec_prefix%g
14017 s%@prefix@%$prefix%g
14018 s%@program_transform_name@%$program_transform_name%g
14019 s%@bindir@%$bindir%g
14020 s%@sbindir@%$sbindir%g
14021 s%@libexecdir@%$libexecdir%g
14022 s%@datadir@%$datadir%g
14023 s%@sysconfdir@%$sysconfdir%g
14024 s%@sharedstatedir@%$sharedstatedir%g
14025 s%@localstatedir@%$localstatedir%g
14026 s%@libdir@%$libdir%g
14027 s%@includedir@%$includedir%g
14028 s%@oldincludedir@%$oldincludedir%g
14029 s%@infodir@%$infodir%g
14030 s%@mandir@%$mandir%g
14032 s%@host_alias@%$host_alias%g
14033 s%@host_cpu@%$host_cpu%g
14034 s%@host_vendor@%$host_vendor%g
14035 s%@host_os@%$host_os%g
14036 s%@target@%$target%g
14037 s%@target_alias@%$target_alias%g
14038 s%@target_cpu@%$target_cpu%g
14039 s%@target_vendor@%$target_vendor%g
14040 s%@target_os@%$target_os%g
14042 s%@build_alias@%$build_alias%g
14043 s%@build_cpu@%$build_cpu%g
14044 s%@build_vendor@%$build_vendor%g
14045 s%@build_os@%$build_os%g
14049 s%@CXXCPP@%$CXXCPP%g
14050 s%@RANLIB@%$RANLIB%g
14052 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
14053 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
14054 s%@INSTALL_DATA@%$INSTALL_DATA%g
14058 s%@LEXLIB@%$LEXLIB%g
14060 s%@GTK_CONFIG@%$GTK_CONFIG%g
14061 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
14062 s%@GTK_LIBS@%$GTK_LIBS%g
14063 s%@X_CFLAGS@%$X_CFLAGS%g
14064 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
14065 s%@X_LIBS@%$X_LIBS%g
14066 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
14067 s%@LEX_STEM@%$LEX_STEM%g
14068 s%@PATH_IFS@%$PATH_IFS%g
14069 s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
14070 s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
14071 s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
14072 s%@WX_LIBRARY_NAME@%$WX_LIBRARY_NAME%g
14073 s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
14074 s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
14075 s%@WX_LIBRARY@%$WX_LIBRARY%g
14076 s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
14077 s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
14078 s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
14079 s%@WX_LIBRARY_LINK3@%$WX_LIBRARY_LINK3%g
14080 s%@PROGRAM_EXT@%$PROGRAM_EXT%g
14081 s%@WX_LIBRARY_NAME_GL@%$WX_LIBRARY_NAME_GL%g
14082 s%@WX_LIBRARY_NAME_STATIC_GL@%$WX_LIBRARY_NAME_STATIC_GL%g
14083 s%@WX_LIBRARY_NAME_SHARED_GL@%$WX_LIBRARY_NAME_SHARED_GL%g
14084 s%@WX_LIBRARY_GL@%$WX_LIBRARY_GL%g
14085 s%@WX_TARGET_LIBRARY_GL@%$WX_TARGET_LIBRARY_GL%g
14086 s%@WX_LIBRARY_LINK1_GL@%$WX_LIBRARY_LINK1_GL%g
14087 s%@WX_LIBRARY_LINK2_GL@%$WX_LIBRARY_LINK2_GL%g
14088 s%@WX_LIBRARY_LINK3_GL@%$WX_LIBRARY_LINK3_GL%g
14089 s%@WX_ALL@%$WX_ALL%g
14090 s%@WX_ALL_INSTALLED@%$WX_ALL_INSTALLED%g
14091 s%@SHARED_LD@%$SHARED_LD%g
14092 s%@PIC_FLAG@%$PIC_FLAG%g
14093 s%@DEP_INFO_FLAGS@%$DEP_INFO_FLAGS%g
14094 s%@CODE_GEN_FLAGS@%$CODE_GEN_FLAGS%g
14095 s%@BURNT_LIBRARY_NAME@%$BURNT_LIBRARY_NAME%g
14096 s%@BURNT_LIBRARY_NAME_GL@%$BURNT_LIBRARY_NAME_GL%g
14097 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
14098 s%@USE_GUI@%$USE_GUI%g
14099 s%@AFMINSTALL@%$AFMINSTALL%g
14100 s%@TOOLKIT@%$TOOLKIT%g
14101 s%@TOOLKIT_DEF@%$TOOLKIT_DEF%g
14102 s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
14103 s%@TOOLKIT_INCLUDE@%$TOOLKIT_INCLUDE%g
14104 s%@GUIHEADERS@%$GUIHEADERS%g
14105 s%@GUIOBJS@%$GUIOBJS%g
14106 s%@COMMONOBJS@%$COMMONOBJS%g
14107 s%@GENERICOBJS@%$GENERICOBJS%g
14108 s%@GUIDEPS@%$GUIDEPS%g
14109 s%@COMMONDEPS@%$COMMONDEPS%g
14110 s%@GENERICDEPS@%$GENERICDEPS%g
14111 s%@IODBCOBJS@%$IODBCOBJS%g
14112 s%@UNIXOBJS@%$UNIXOBJS%g
14113 s%@UNIXDEPS@%$UNIXDEPS%g
14114 s%@ALL_OBJECTS@%$ALL_OBJECTS%g
14115 s%@ALL_DEPFILES@%$ALL_DEPFILES%g
14116 s%@GUIDIST@%$GUIDIST%g
14117 s%@PORT_FILES@%$PORT_FILES%g
14118 s%@DISTDIR@%$DISTDIR%g
14119 s%@RPM_SPEC@%$RPM_SPEC%g
14120 s%@RPM_FILES@%$RPM_FILES%g
14121 s%@SRC_SUBDIRS@%$SRC_SUBDIRS%g
14122 s%@INCLUDE_SUBDIRS@%$INCLUDE_SUBDIRS%g
14123 s%@UTILS_SUBDIRS@%$UTILS_SUBDIRS%g
14124 s%@DOCS_SUBDIRS@%$DOCS_SUBDIRS%g
14125 s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
14126 s%@USER_SUBDIRS@%$USER_SUBDIRS%g
14127 s%@EXTRA_LIBS@%$EXTRA_LIBS%g
14128 s%@EXTRADEFS@%$EXTRADEFS%g
14129 s%@LD_LIBS@%$LD_LIBS%g
14130 s%@RCINPUTSWITCH@%$RCINPUTSWITCH%g
14131 s%@RCOUTPUTSWITCH@%$RCOUTPUTSWITCH%g
14132 s%@RESPROGRAM@%$RESPROGRAM%g
14133 s%@RESCOMP@%$RESCOMP%g
14134 s%@RESFLAGS@%$RESFLAGS%g
14135 s%@DLLTOOL@%$DLLTOOL%g
14139 s%@MAKEINFO@%$MAKEINFO%g
14140 s%@SET_MAKE@%$SET_MAKE%g
14141 s%@subdirs@%$subdirs%g
14146 cat >> $CONFIG_STATUS <<\EOF
14148 # Split the substitutions into bite-sized pieces for seds with
14149 # small command number limits, like on Digital OSF/1 and HP-UX.
14150 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
14151 ac_file
=1 # Number of current file.
14152 ac_beg
=1 # First line for current file.
14153 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
14156 while $ac_more_lines; do
14157 if test $ac_beg -gt 1; then
14158 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
14160 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
14162 if test ! -s conftest.s
$ac_file; then
14163 ac_more_lines
=false
14164 rm -f conftest.s
$ac_file
14166 if test -z "$ac_sed_cmds"; then
14167 ac_sed_cmds
="sed -f conftest.s$ac_file"
14169 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
14171 ac_file
=`expr $ac_file + 1`
14173 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
14176 if test -z "$ac_sed_cmds"; then
14181 cat >> $CONFIG_STATUS <<EOF
14183 CONFIG_FILES=\${CONFIG_FILES-"wx-config
14190 cat >> $CONFIG_STATUS <<\EOF
14191 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
14192 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
14194 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
14195 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
14196 *) ac_file_in
="${ac_file}.in" ;;
14199 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
14201 # Remove last slash and all that follows it. Not all systems have dirname.
14202 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
14203 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
14204 # The file is in a subdirectory.
14205 test ! -d "$ac_dir" && mkdir "$ac_dir"
14206 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
14207 # A "../" for each directory in $ac_dir_suffix.
14208 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
14210 ac_dir_suffix
= ac_dots
=
14213 case "$ac_given_srcdir" in
14215 if test -z "$ac_dots"; then top_srcdir
=.
14216 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
14217 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
14218 *) # Relative path.
14219 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
14220 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
14223 case "$ac_given_INSTALL" in
14224 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
14225 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
14228 echo creating
"$ac_file"
14230 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
14232 *Makefile
*) ac_comsub
="1i\\
14233 # $configure_input" ;;
14237 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
14239 s%@configure_input@%$configure_input%g
14240 s%@srcdir@%$srcdir%g
14241 s%@top_srcdir@%$top_srcdir%g
14242 s%@INSTALL@%$INSTALL%g
14243 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
14247 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
14248 # NAME is the cpp macro being defined and VALUE is the value it is being given.
14250 # ac_d sets the value in "#define NAME VALUE" lines.
14251 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
14252 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
14255 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
14256 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
14257 ac_uB
='\([ ]\)%\1#\2define\3'
14260 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
14261 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
14262 ac_eB
='$%\1#\2define\3'
14266 if test "${CONFIG_HEADERS+set}" != set; then
14268 cat >> $CONFIG_STATUS <<EOF
14269 CONFIG_HEADERS="setup.h:setup.h.in"
14271 cat >> $CONFIG_STATUS <<\EOF
14273 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
14274 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
14276 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
14277 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
14278 *) ac_file_in
="${ac_file}.in" ;;
14281 echo creating
$ac_file
14283 rm -f conftest.frag conftest.
in conftest.out
14284 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
14285 cat $ac_file_inputs > conftest.
in
14289 # Transform confdefs.h into a sed script conftest.vals that substitutes
14290 # the proper values into config.h.in to produce config.h. And first:
14291 # Protect against being on the right side of a sed subst in config.status.
14292 # Protect against being in an unquoted here document in config.status.
14293 rm -f conftest.vals
14294 cat > conftest.hdr
<<\EOF
14297 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
14301 sed -n -f conftest.hdr confdefs.h > conftest.vals
14304 # This sed command replaces #undef with comments. This is necessary, for
14305 # example, in the case of _POSIX_SOURCE, which is predefined and required
14306 # on some systems where configure will not decide to define it.
14307 cat >> conftest.vals <<\EOF
14308 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
14311 # Break up conftest.vals because some shells have a limit on
14312 # the size of here documents, and old seds have small limits too.
14314 rm -f conftest.tail
14317 ac_lines=`grep -c . conftest.vals
`
14318 # grep -c gives empty output for an empty file on some AIX systems.
14319 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
14320 # Write a limited-size here document to conftest.frag.
14321 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
14322 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
14324 sed -f conftest.frag conftest.in > conftest.out
14326 mv conftest.out conftest.in
14327 ' >> $CONFIG_STATUS
14328 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
14329 rm -f conftest.vals
14330 mv conftest.tail conftest.vals
14332 rm -f conftest.vals
14334 cat >> $CONFIG_STATUS <<\EOF
14335 rm -f conftest.frag conftest.h
14336 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
14337 cat conftest.in >> conftest.h
14339 if cmp -s $ac_file conftest.h 2>/dev/null; then
14340 echo "$ac_file is unchanged"
14343 # Remove last slash and all that follows it. Not all systems have dirname.
14344 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
14345 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
14346 # The file is in a subdirectory.
14347 test ! -d "$ac_dir" && mkdir "$ac_dir"
14350 mv conftest.h $ac_file
14355 cat >> $CONFIG_STATUS <<EOF
14357 TOOLKIT_DIR="${TOOLKIT_DIR}"
14362 cat >> $CONFIG_STATUS <<\EOF
14365 mv wx-config wx${TOOLKIT_DIR}-config
14366 ${LN_S} wx${TOOLKIT_DIR}-config wx-config
14369 if test ! -d lib; then
14372 if test ! -d lib/wx; then
14375 if test ! -d lib/wx/include; then
14376 mkdir lib/wx/include
14378 if test ! -d lib/wx/include/wx; then
14379 mkdir lib/wx/include/wx
14381 if test ! -d lib/wx/include/wx/${TOOLKIT_DIR}; then
14382 mkdir lib/wx/include/wx/${TOOLKIT_DIR}
14384 if test -f setup.h; then
14385 cp -f setup.h lib/wx/include/wx/${TOOLKIT_DIR}/setup.h
14389 if test ! -d include; then
14392 if test ! -d include/wx; then
14395 if test ! -d include/wx/${TOOLKIT_DIR}; then
14396 mkdir include/wx/${TOOLKIT_DIR}
14398 if test -f setup.h; then
14399 mv -f setup.h include/wx/${TOOLKIT_DIR}/setup.h
14405 chmod +x $CONFIG_STATUS
14406 rm -fr confdefs* $ac_clean_files
14407 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
14409 if test "$no_recursion" != yes; then
14411 # Remove --cache-file and --srcdir arguments so they do not pile up.
14412 ac_sub_configure_args=
14414 for ac_arg in $ac_configure_args; do
14415 if test -n "$ac_prev"; then
14420 -cache-file | --cache-file | --cache-fil | --cache-fi \
14421 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
14422 ac_prev=cache_file ;;
14423 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
14424 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
14426 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
14428 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
14430 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
14434 for ac_config_dir in demos samples utils contrib; do
14436 # Do not complain, so a configure script can configure whichever
14437 # parts of a large source tree are present.
14438 if test ! -d $srcdir/$ac_config_dir; then
14442 echo configuring in $ac_config_dir
14447 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
14449 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
14457 # A "../" for each directory in /$ac_config_dir.
14458 ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
14461 .) # No --srcdir option. We are building in place.
14462 ac_sub_srcdir=$srcdir ;;
14463 /*) # Absolute path.
14464 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
14465 *) # Relative path.
14466 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
14469 # Check for guested configure; otherwise get Cygnus style configure.
14470 if test -f $ac_sub_srcdir/configure; then
14471 ac_sub_configure=$ac_sub_srcdir/configure
14472 elif test -f $ac_sub_srcdir/configure.in; then
14473 ac_sub_configure=$ac_configure
14475 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
14479 # The recursion is here.
14480 if test -n "$ac_sub_configure"; then
14482 # Make the cache file name correct relative to the subdirectory.
14483 case "$cache_file" in
14484 /*) ac_sub_cache_file=$cache_file ;;
14485 *) # Relative path.
14486 ac_sub_cache_file="$ac_dots$cache_file" ;;
14488 case "$ac_given_INSTALL" in
14489 [/$]*) INSTALL="$ac_given_INSTALL" ;;
14490 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
14493 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
14494 # The eval makes quoting arguments work.
14495 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
14498 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }