3 # From configure.in Id: configure.in
40 # Guess values for system-dependent variables and create Makefiles.
41 # Generated automatically using autoconf version 2.13
42 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
44 # This configure script is free software; the Free Software Foundation
45 # gives unlimited permission to copy, distribute and modify it.
49 ac_default_prefix
=/usr
/local
50 # Any additions from configure.in:
52 --enable-gui use GUI classes"
56 --with-motif use Motif/Lesstif"
60 --with-cygwin use Cygwin for MS-Windows"
62 --with-mingw use GCC Minimal MS-Windows"
64 --with-pm use OS/2 Presentation Manager"
66 --with-gtk-prefix=PFX Prefix where GTK is installed"
68 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed"
70 --with-libpng use libpng (PNG image format)"
72 --with-libjpeg use libjpeg (JPEG file format)"
74 --with-libtiff use libtiff (TIFF file format)"
76 --with-opengl use OpenGL (or Mesa)"
78 --with-dmalloc use dmalloc library (www.letters.com/dmalloc)"
80 --with-zlib use zlib for LZW compression"
82 --with-odbc use the IODBC and wxODBC classes"
84 --enable-shared create shared library code"
86 --enable-burnt_name create set name in shared library "
88 --enable-optimise create optimised code"
90 --enable-debug same as debug_flag and debug_info"
92 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)"
94 --enable-debug_info create code with debugging information"
96 --enable-debug_gdb create code with extra GDB debugging information"
98 --enable-debug_cntxt use wxDebugContext"
100 --enable-mem_tracing create code with memory tracing"
102 --enable-profile create code with profiling information"
104 --enable-no_rtti create code without RTTI information"
106 --enable-no_exceptions create code without exceptions information"
108 --enable-permissive compile code disregarding strict ANSI"
110 --enable-no_deps create code without dependency information"
112 --enable-intl use internationalization system"
114 --enable-config use wxConfig (and derived) classes"
116 --enable-sockets use socket/network classes"
118 --enable-dialupman use dialup network classes"
120 --enable-ipc use interprocess communication (wxSocket etc.)"
122 --enable-apple_ieee use the Apple IEEE codec"
124 --enable-timedate use date/time classes"
126 --enable-wave use wxWave class"
128 --enable-fraction use wxFraction class"
130 --enable-dynlib use wxLibrary class for DLL loading"
132 --enable-longlong use wxLongLong class"
134 --enable-log use logging system"
136 --enable-streams use wxStream etc classes"
138 --enable-file use wxFile classes"
140 --enable-textfile use wxTextFile classes"
142 --enable-unicode compile wxString with Unicode support"
144 --enable-wcsrtombs use wcsrtombs instead of buggy (GNU libc1/Linux libc5) wcstombs"
146 --enable-wxprintfv use wxWindows implementation of vprintf()"
148 --enable-joystick compile in joystick support (Linux only)"
150 --enable-std_iostreams use standard C++ stream classes"
152 --enable-fs_inet use virtual HTTP/FTP filesystems"
154 --enable-fs_zip use virtual ZIP filesystems"
156 --enable-zipstream use wxZipInputStream"
158 --enable-threads use threads"
160 --enable-serial use class serialization"
162 --enable-docview use document view architecture"
164 --enable-help use help (using external browser at present)"
166 --enable-constraints use layout-constraints system"
168 --enable-printarch use printing architecture"
170 --enable-mdi use multiple document interface architecture"
172 --enable-postscript use wxPostscriptDC device context (default for gtk+)"
174 --enable-prologio use Prolog IO library"
176 --enable-resources use wxWindows resources"
178 --enable-xresources use X resources for save (default for gtk+)"
180 --enable-clipboard use wxClipboard classes"
182 --enable-dnd use Drag'n'Drop classes"
184 --enable-wxtree make wxTree library"
186 --enable-controls use all usual controls"
188 --enable-accel use accelerators"
190 --enable-caret use wxCaret class"
192 --enable-bmpbutton use wxBitmapButton class"
194 --enable-checkbox use wxCheckBox class"
196 --enable-checklst use wxCheckListBox (listbox with checkboxes) class"
198 --enable-choice use wxChoice class"
200 --enable-combobox use wxComboBox classes"
202 --enable-gauge use wxGauge class"
204 --enable-grid use wxGrid class"
206 --enable-newgrid use new wxGrid class"
208 --enable-imaglist use wxImageList class"
210 --enable-listbox use wxListBox class"
212 --enable-listctrl use wxListCtrl class"
214 --enable-notebook use wxNotebook class"
216 --enable-radiobox use wxRadioBox class"
218 --enable-radiobtn use wxRadioButton class"
220 --enable-sash use wxSashWindow class"
222 --enable-scrollbar use wxScrollBar class and scrollable windows"
224 --enable-slider use wxSlider class"
226 --enable-spinbtn use wxSpinButton class"
228 --enable-spinctrl use wxSpinCtrl class"
230 --enable-splitter use wxSplitterWindow class"
232 --enable-statbmp use wxStaticBitmap class"
234 --enable-statbox use wxStaticBox class"
236 --enable-statline use wxStaticLine class"
238 --enable-statusbar use wxStatusBar class"
240 --enable-tabdialog use wxTabControl class"
242 --enable-toolbar use wxToolBar class"
244 --enable-tbarnative use native wxToolBar class"
246 --enable-tbarsmpl use wxToolBarSimple class"
248 --enable-treectrl use wxTreeCtrl class"
250 --enable-commondlg use common dialogs (wxDirDialog, wxProgressDialog, wxTextDialog, ...)"
252 --enable-dirdlg use wxDirDialog"
254 --enable-textdlg use wxTextDialog"
256 --enable-tipdlg use startup tips"
258 --enable-progressdlg use wxProgressDialog"
260 --enable-miniframe use wxMiniFrame class"
262 --enable-html use wxHTML sub-library"
264 --enable-tooltips use wxToolTip class"
266 --enable-splines use spline drawing code"
268 --enable-validators use wxValidator and derived classes"
270 --enable-busyinfo use wxBusyInfo"
272 --enable-plot use wxPlot"
274 --enable-gif use gif images (GIF file format)"
276 --enable-pcx use pcx images (PCX file format)"
278 --enable-pnm use pnm images (PNM file format)"
280 --with-x use the X Window System"
282 # Initialize some variables set by options.
283 # The variables have the same names as the options, with
284 # dashes changed to underlines.
286 cache_file
=.
/config.cache
295 program_transform_name
=s
,x
,x
,
303 bindir
='${exec_prefix}/bin'
304 sbindir
='${exec_prefix}/sbin'
305 libexecdir
='${exec_prefix}/libexec'
306 datadir
='${prefix}/share'
307 sysconfdir
='${prefix}/etc'
308 sharedstatedir
='${prefix}/com'
309 localstatedir
='${prefix}/var'
310 libdir
='${exec_prefix}/lib'
311 includedir
='${prefix}/include'
312 oldincludedir
='/usr/include'
313 infodir
='${prefix}/info'
314 mandir
='${prefix}/man'
316 # Initialize some other variables.
319 SHELL
=${CONFIG_SHELL-/bin/sh}
320 # Maximum number of lines to put in a shell here document.
327 # If the previous option needs an argument, assign it.
328 if test -n "$ac_prev"; then
329 eval "$ac_prev=\$ac_option"
335 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
339 # Accept the important Cygnus configure options, so we can diagnose typos.
343 -bindir | --bindir | --bindi | --bind | --bin | --bi)
345 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
346 bindir
="$ac_optarg" ;;
348 -build | --build | --buil | --bui | --bu)
350 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
351 build
="$ac_optarg" ;;
353 -cache-file | --cache-file | --cache-fil | --cache-fi \
354 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
355 ac_prev
=cache_file
;;
356 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
357 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
358 cache_file
="$ac_optarg" ;;
360 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
362 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
364 datadir
="$ac_optarg" ;;
366 -disable-* | --disable-*)
367 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
368 # Reject names that are not valid shell variable names.
369 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
370 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
372 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
373 eval "enable_${ac_feature}=no" ;;
375 -enable-* | --enable-*)
376 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
377 # Reject names that are not valid shell variable names.
378 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
379 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
381 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
386 eval "enable_${ac_feature}='$ac_optarg'" ;;
388 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
389 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
390 | --exec | --exe | --ex)
391 ac_prev
=exec_prefix
;;
392 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
393 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
394 | --exec=* | --exe=* | --ex=*)
395 exec_prefix
="$ac_optarg" ;;
397 -gas | --gas | --ga | --g)
398 # Obsolete; use --with-gas.
401 -help | --help | --hel | --he)
402 # Omit some internal or obsolete options to make the list less imposing.
403 # This message is too long to be a string in the A/UX 3.1 sh.
405 Usage: configure [options] [host]
406 Options: [defaults in brackets after descriptions]
408 --cache-file=FILE cache test results in FILE
409 --help print this message
410 --no-create do not create output files
411 --quiet, --silent do not print \`checking...' messages
412 --version print the version of autoconf that created configure
413 Directory and file names:
414 --prefix=PREFIX install architecture-independent files in PREFIX
416 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
418 --bindir=DIR user executables in DIR [EPREFIX/bin]
419 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
420 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
421 --datadir=DIR read-only architecture-independent data in DIR
423 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
424 --sharedstatedir=DIR modifiable architecture-independent data in DIR
426 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
427 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
428 --includedir=DIR C header files in DIR [PREFIX/include]
429 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
430 --infodir=DIR info documentation in DIR [PREFIX/info]
431 --mandir=DIR man documentation in DIR [PREFIX/man]
432 --srcdir=DIR find the sources in DIR [configure dir or ..]
433 --program-prefix=PREFIX prepend PREFIX to installed program names
434 --program-suffix=SUFFIX append SUFFIX to installed program names
435 --program-transform-name=PROGRAM
436 run sed PROGRAM on installed program names
440 --build=BUILD configure for building on BUILD [BUILD=HOST]
441 --host=HOST configure for HOST [guessed]
442 --target=TARGET configure for TARGET [TARGET=HOST]
443 Features and packages:
444 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
445 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
446 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
447 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
448 --x-includes=DIR X include files are in DIR
449 --x-libraries=DIR X library files are in DIR
451 if test -n "$ac_help"; then
452 echo "--enable and --with options recognized:$ac_help"
456 -host | --host | --hos | --ho)
458 -host=* | --host=* | --hos=* | --ho=*)
461 -includedir | --includedir | --includedi | --included | --include \
462 | --includ | --inclu | --incl | --inc)
463 ac_prev
=includedir
;;
464 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
465 | --includ=* | --inclu=* | --incl=* | --inc=*)
466 includedir
="$ac_optarg" ;;
468 -infodir | --infodir | --infodi | --infod | --info | --inf)
470 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
471 infodir
="$ac_optarg" ;;
473 -libdir | --libdir | --libdi | --libd)
475 -libdir=* | --libdir=* | --libdi=* | --libd=*)
476 libdir
="$ac_optarg" ;;
478 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
479 | --libexe | --libex | --libe)
480 ac_prev
=libexecdir
;;
481 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
482 | --libexe=* | --libex=* | --libe=*)
483 libexecdir
="$ac_optarg" ;;
485 -localstatedir | --localstatedir | --localstatedi | --localstated \
486 | --localstate | --localstat | --localsta | --localst \
487 | --locals | --local | --loca | --loc | --lo)
488 ac_prev
=localstatedir
;;
489 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
490 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
491 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
492 localstatedir
="$ac_optarg" ;;
494 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
496 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
497 mandir
="$ac_optarg" ;;
500 # Obsolete; use --without-fp.
503 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
507 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
508 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
511 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
512 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
513 | --oldin | --oldi | --old | --ol | --o)
514 ac_prev
=oldincludedir
;;
515 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
516 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
517 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
518 oldincludedir
="$ac_optarg" ;;
520 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
522 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
523 prefix
="$ac_optarg" ;;
525 -program-prefix | --program-prefix | --program-prefi | --program-pref \
526 | --program-pre | --program-pr | --program-p)
527 ac_prev
=program_prefix
;;
528 -program-prefix=* | --program-prefix=* | --program-prefi=* \
529 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
530 program_prefix
="$ac_optarg" ;;
532 -program-suffix | --program-suffix | --program-suffi | --program-suff \
533 | --program-suf | --program-su | --program-s)
534 ac_prev
=program_suffix
;;
535 -program-suffix=* | --program-suffix=* | --program-suffi=* \
536 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
537 program_suffix
="$ac_optarg" ;;
539 -program-transform-name | --program-transform-name \
540 | --program-transform-nam | --program-transform-na \
541 | --program-transform-n | --program-transform- \
542 | --program-transform | --program-transfor \
543 | --program-transfo | --program-transf \
544 | --program-trans | --program-tran \
545 | --progr-tra | --program-tr | --program-t)
546 ac_prev
=program_transform_name
;;
547 -program-transform-name=* | --program-transform-name=* \
548 | --program-transform-nam=* | --program-transform-na=* \
549 | --program-transform-n=* | --program-transform-=* \
550 | --program-transform=* | --program-transfor=* \
551 | --program-transfo=* | --program-transf=* \
552 | --program-trans=* | --program-tran=* \
553 | --progr-tra=* | --program-tr=* | --program-t=*)
554 program_transform_name
="$ac_optarg" ;;
556 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
557 | -silent | --silent | --silen | --sile | --sil)
560 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
562 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
564 sbindir
="$ac_optarg" ;;
566 -sharedstatedir | --sharedstatedir | --sharedstatedi \
567 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
568 | --sharedst | --shareds | --shared | --share | --shar \
570 ac_prev
=sharedstatedir
;;
571 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
572 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
573 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
575 sharedstatedir
="$ac_optarg" ;;
577 -site | --site | --sit)
579 -site=* | --site=* | --sit=*)
582 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
584 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
585 srcdir
="$ac_optarg" ;;
587 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
588 | --syscon | --sysco | --sysc | --sys | --sy)
589 ac_prev
=sysconfdir
;;
590 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
591 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
592 sysconfdir
="$ac_optarg" ;;
594 -target | --target | --targe | --targ | --tar | --ta | --t)
596 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
597 target
="$ac_optarg" ;;
599 -v | -verbose | --verbose | --verbos | --verbo | --verb)
602 -version | --version | --versio | --versi | --vers)
603 echo "configure generated by autoconf version 2.13"
607 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
608 # Reject names that are not valid shell variable names.
609 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
610 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
612 ac_package
=`echo $ac_package| sed 's/-/_/g'`
617 eval "with_${ac_package}='$ac_optarg'" ;;
619 -without-* | --without-*)
620 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
621 # Reject names that are not valid shell variable names.
622 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
623 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
625 ac_package
=`echo $ac_package| sed 's/-/_/g'`
626 eval "with_${ac_package}=no" ;;
629 # Obsolete; use --with-x.
632 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
633 | --x-incl | --x-inc | --x-in | --x-i)
634 ac_prev
=x_includes
;;
635 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
636 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
637 x_includes
="$ac_optarg" ;;
639 -x-libraries | --x-libraries | --x-librarie | --x-librari \
640 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
641 ac_prev
=x_libraries
;;
642 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
643 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
644 x_libraries
="$ac_optarg" ;;
646 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
650 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
651 echo "configure: warning: $ac_option: invalid host type" 1>&2
653 if test "x$nonopt" != xNONE
; then
654 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
662 if test -n "$ac_prev"; then
663 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
666 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
668 # File descriptor usage:
671 # 2 errors and warnings
672 # 3 some systems may open it to /dev/tty
673 # 4 used on the Kubota Titan
674 # 6 checking for... messages and results
675 # 5 compiler messages saved in config.log
676 if test "$silent" = yes; then
684 This file contains any messages produced by compilers while
685 running configure, to aid debugging if configure makes a mistake.
688 # Strip out --no-create and --no-recursion so they do not pile up.
689 # Also quote any args containing shell metacharacters.
694 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
695 | --no-cr | --no-c) ;;
696 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
697 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
698 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
699 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
700 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
705 # Only set these to C if already set. These must not be set unconditionally
706 # because not all systems understand e.g. LANG=C (notably SCO).
707 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
708 # Non-C LC_CTYPE values break the ctype check.
709 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
710 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
711 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
712 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
714 # confdefs.h avoids OS command line length limits that DEFS can exceed.
715 rm -rf conftest
* confdefs.h
716 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
719 # A filename unique to this package, relative to the directory that
720 # configure is in, which we can look for to find out if srcdir is correct.
721 ac_unique_file
=wx
-config.
in
723 # Find the source files, if location was not specified.
724 if test -z "$srcdir"; then
725 ac_srcdir_defaulted
=yes
726 # Try the directory containing this script, then its parent.
728 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
729 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
731 if test ! -r $srcdir/$ac_unique_file; then
735 ac_srcdir_defaulted
=no
737 if test ! -r $srcdir/$ac_unique_file; then
738 if test "$ac_srcdir_defaulted" = yes; then
739 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
741 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
744 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
746 # Prefer explicitly selected file to automatically selected ones.
747 if test -z "$CONFIG_SITE"; then
748 if test "x$prefix" != xNONE
; then
749 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
751 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
754 for ac_site_file
in $CONFIG_SITE; do
755 if test -r "$ac_site_file"; then
756 echo "loading site script $ac_site_file"
761 if test -r "$cache_file"; then
762 echo "loading cache $cache_file"
765 echo "creating cache $cache_file"
770 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
771 ac_cpp
='$CPP $CPPFLAGS'
772 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
773 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
774 cross_compiling
=$ac_cv_prog_cc_cross
778 if (echo "testing\c"; echo 1,2,3) | grep c
>/dev
/null
; then
779 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
780 if (echo -n testing
; echo 1,2,3) | sed s
/-n/xn
/ | grep xn
>/dev
/null
; then
787 ac_n
= ac_c
='\c' ac_t
=
793 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
794 if test -f $ac_dir/install-sh; then
796 ac_install_sh
="$ac_aux_dir/install-sh -c"
798 elif test -f $ac_dir/install.sh
; then
800 ac_install_sh
="$ac_aux_dir/install.sh -c"
804 if test -z "$ac_aux_dir"; then
805 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
807 ac_config_guess
=$ac_aux_dir/config.guess
808 ac_config_sub
=$ac_aux_dir/config.sub
809 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
812 # Do some error checking and defaulting for the host and target type.
814 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
817 # 1. You are not allowed to specify --host, --target, and nonopt at the
819 # 2. Host defaults to nonopt.
820 # 3. If nonopt is not specified, then host defaults to the current host,
821 # as determined by config.guess.
822 # 4. Target and build default to nonopt.
823 # 5. If nonopt is not specified, then target and build default to host.
825 # The aliases save the names the user supplied, while $host etc.
826 # will get canonicalized.
827 case $host---$target---$nonopt in
828 NONE
---*---* | *---NONE---* | *---*---NONE) ;;
829 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
833 # Make sure we can run config.sub.
834 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
835 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
838 echo $ac_n "checking host system type""... $ac_c" 1>&6
839 echo "configure:840: checking host system type" >&5
842 case "$host_alias" in
846 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
847 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
849 *) host_alias
=$nonopt ;;
853 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
854 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
855 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
856 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
857 echo "$ac_t""$host" 1>&6
859 echo $ac_n "checking target system type""... $ac_c" 1>&6
860 echo "configure:861: checking target system type" >&5
863 case "$target_alias" in
866 NONE
) target_alias
=$host_alias ;;
867 *) target_alias
=$nonopt ;;
871 target
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
872 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
873 target_vendor
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
874 target_os
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
875 echo "$ac_t""$target" 1>&6
877 echo $ac_n "checking build system type""... $ac_c" 1>&6
878 echo "configure:879: checking build system type" >&5
881 case "$build_alias" in
884 NONE
) build_alias
=$host_alias ;;
885 *) build_alias
=$nonopt ;;
889 build
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
890 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
891 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
892 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
893 echo "$ac_t""$build" 1>&6
895 test "$host_alias" != "$target_alias" &&
896 test "$program_prefix$program_suffix$program_transform_name" = \
898 program_prefix
=${target_alias}-
902 WX_MAJOR_VERSION_NUMBER
=2
903 WX_MINOR_VERSION_NUMBER
=1
909 WX_VERSION
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER.
$WX_RELEASE_NUMBER
911 WX_RELEASE
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER
912 WX_CURRENT
=`expr $WX_RELEASE_NUMBER - $WX_INTERFACE_AGE`
913 WX_REVISION
=$WX_INTERFACE_AGE
914 WX_AGE
=`expr $WX_BINARY_AGE - $WX_INTERFACE_AGE`
940 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
942 ALL_TOOLKITS
="CYGWIN GTK MINGW MOTIF WINE PM"
945 DEFAULT_wxUSE_MOTIF
=0
950 DEFAULT_DEFAULT_wxUSE_GTK
=0
951 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
952 DEFAULT_DEFAULT_wxUSE_MSW
=0
953 DEFAULT_DEFAULT_wxUSE_WINE
=0
954 DEFAULT_DEFAULT_wxUSE_PM
=0
961 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
962 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
963 cat >> confdefs.h
<<\EOF
970 cat >> confdefs.h
<<\EOF
975 if test "x$TMP" = "xalpha"; then
977 cat >> confdefs.h
<<\EOF
982 DEFAULT_DEFAULT_wxUSE_GTK
=1
984 *-*-irix5* | *-*-irix6* )
987 cat >> confdefs.h
<<\EOF
991 cat >> confdefs.h
<<\EOF
995 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1001 cat >> confdefs.h
<<\EOF
1005 cat >> confdefs.h
<<\EOF
1006 #define __SOLARIS__ 1
1009 cat >> confdefs.h
<<\EOF
1013 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1014 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1020 cat >> confdefs.h
<<\EOF
1024 cat >> confdefs.h
<<\EOF
1028 cat >> confdefs.h
<<\EOF
1032 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1034 *-*-freebsd* | *-*-netbsd*)
1037 cat >> confdefs.h
<<\EOF
1038 #define __FREEBSD__ 1
1041 cat >> confdefs.h
<<\EOF
1045 DEFAULT_DEFAULT_wxUSE_GTK
=1
1050 cat >> confdefs.h
<<\EOF
1054 cat >> confdefs.h
<<\EOF
1058 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1063 cat >> confdefs.h
<<\EOF
1067 cat >> confdefs.h
<<\EOF
1071 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1076 cat >> confdefs.h
<<\EOF
1080 cat >> confdefs.h
<<\EOF
1084 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1090 cat >> confdefs.h
<<\EOF
1094 cat >> confdefs.h
<<\EOF
1098 cat >> confdefs.h
<<\EOF
1102 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1105 *-*-cygwin32* | *-*-mingw32* )
1108 cat >> confdefs.h
<<\EOF
1112 cat >> confdefs.h
<<\EOF
1116 cat >> confdefs.h
<<\EOF
1117 #define __WINDOWS__ 1
1120 cat >> confdefs.h
<<\EOF
1121 #define __GNUWIN32__ 1
1124 cat >> confdefs.h
<<\EOF
1128 cat >> confdefs.h
<<\EOF
1129 #define WINVER 0x0400
1133 DEFAULT_DEFAULT_wxUSE_MSW
=1
1137 cat >> confdefs.h
<<\EOF
1142 DEFAULT_DEFAULT_wxUSE_PM
=1
1147 cat >> confdefs.h
<<\EOF
1154 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
1157 if test "$USE_UNIX" = 1 ; then
1159 cat >> confdefs.h
<<\EOF
1164 SRC_SUBDIRS
="$SRC_SUBDIRS unix"
1165 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS unix"
1168 if test "$USE_BEOS" = 1; then
1169 SRC_SUBDIRS
="$SRC_SUBDIRS be"
1170 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS be"
1173 if test "$USE_LINUX" = 1; then
1174 echo $ac_n "checking for gettext in -lc""... $ac_c" 1>&6
1175 echo "configure:1176: checking for gettext in -lc" >&5
1176 ac_lib_var
=`echo c'_'gettext | sed 'y%./+-%__p_%'`
1177 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1178 echo $ac_n "(cached) $ac_c" 1>&6
1180 ac_save_LIBS
="$LIBS"
1182 cat > conftest.
$ac_ext <<EOF
1183 #line 1184 "configure"
1184 #include "confdefs.h"
1185 /* Override any gcc2 internal prototype to avoid an error. */
1186 /* We use char because int might match the return type of a gcc2
1187 builtin and then its argument prototype would still apply. */
1194 if { (eval echo configure
:1195: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
1196 eval "ac_cv_lib_$ac_lib_var=yes"
1198 echo "configure: failed program was:" >&5
1199 cat conftest.
$ac_ext >&5
1201 eval "ac_cv_lib_$ac_lib_var=no"
1204 LIBS
="$ac_save_LIBS"
1207 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1208 echo "$ac_t""yes" 1>&6
1209 cat >> confdefs.h
<<\EOF
1210 #define wxHAVE_GLIBC2 1
1214 echo "$ac_t""no" 1>&6
1222 wx_arg_cache_file
="configarg.cache"
1223 echo "loading argument cache $wx_arg_cache_file"
1224 rm -f ${wx_arg_cache_file}.tmp
1225 touch ${wx_arg_cache_file}.tmp
1226 touch ${wx_arg_cache_file}
1230 if test $DEBUG_CONFIGURE = 1; then
1231 DEFAULT_wxUSE_THREADS
=yes
1233 DEFAULT_wxUSE_SHARED
=yes
1234 DEFAULT_wxUSE_BURNT_NAME
=no
1235 DEFAULT_wxUSE_OPTIMISE
=yes
1236 DEFAULT_wxUSE_PROFILE
=no
1237 DEFAULT_wxUSE_NO_DEPS
=no
1238 DEFAULT_wxUSE_NO_RTTI
=no
1239 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1240 DEFAULT_wxUSE_PERMISSIVE
=no
1241 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1242 DEFAULT_wxUSE_DEBUG_INFO
=yes
1243 DEFAULT_wxUSE_DEBUG_GDB
=yes
1244 DEFAULT_wxUSE_MEM_TRACING
=no
1245 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1246 DEFAULT_wxUSE_DMALLOC
=no
1247 DEFAULT_wxUSE_APPLE_IEEE
=no
1249 DEFAULT_wxUSE_LOG
=yes
1251 DEFAULT_wxUSE_GUI
=yes
1253 DEFAULT_wxUSE_ZLIB
=no
1254 DEFAULT_wxUSE_LIBPNG
=no
1255 DEFAULT_wxUSE_LIBJPEG
=no
1256 DEFAULT_wxUSE_LIBTIFF
=no
1257 DEFAULT_wxUSE_ODBC
=no
1259 DEFAULT_wxUSE_STD_IOSTREAM
=no
1260 DEFAULT_wxUSE_FILE
=no
1261 DEFAULT_wxUSE_TEXTFILE
=no
1262 DEFAULT_wxUSE_TIMEDATE
=no
1263 DEFAULT_wxUSE_WAVE
=no
1264 DEFAULT_wxUSE_INTL
=no
1265 DEFAULT_wxUSE_CONFIG
=no
1266 DEFAULT_wxUSE_STREAMS
=no
1267 DEFAULT_wxUSE_SOCKETS
=no
1268 DEFAULT_wxUSE_DIALUP_MANAGER
=no
1269 DEFAULT_wxUSE_SERIAL
=no
1270 DEFAULT_wxUSE_JOYSTICK
=no
1271 DEFAULT_wxUSE_DYNLIB_CLASS
=no
1272 DEFAULT_wxUSE_LONGLONG
=no
1274 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
1275 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
1276 DEFAULT_wxUSE_POSTSCRIPT
=no
1278 DEFAULT_wxUSE_X_RESOURCES
=no
1279 DEFAULT_wxUSE_CLIPBOARD
=no
1280 DEFAULT_wxUSE_TOOLTIPS
=no
1281 DEFAULT_wxUSE_DRAG_AND_DROP
=no
1282 DEFAULT_wxUSE_SPLINES
=no
1284 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
1285 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
1286 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
1288 DEFAULT_wxUSE_PROLOGIO
=no
1289 DEFAULT_wxUSE_RESOURCES
=no
1290 DEFAULT_wxUSE_CONSTRAINTS
=no
1291 DEFAULT_wxUSE_IPC
=no
1292 DEFAULT_wxUSE_HELP
=no
1293 DEFAULT_wxUSE_WXTREE
=no
1294 DEFAULT_wxUSE_METAFILE
=no
1296 DEFAULT_wxUSE_COMMONDLGS
=no
1297 DEFAULT_wxUSE_DIRDLG
=no
1298 DEFAULT_wxUSE_TEXTDLG
=no
1299 DEFAULT_wxUSE_STARTUP_TIPS
=no
1300 DEFAULT_wxUSE_PROGRESSDLG
=no
1301 DEFAULT_wxUSE_MINIFRAME
=no
1302 DEFAULT_wxUSE_HTML
=no
1303 DEFAULT_wxUSE_FS_INET
=no
1304 DEFAULT_wxUSE_FS_ZIP
=no
1305 DEFAULT_wxUSE_BUSYINFO
=no
1306 DEFAULT_wxUSE_ZIPSTREAM
=no
1307 DEFAULT_wxUSE_VALIDATORS
=yes
1309 DEFAULT_wxUSE_ACCEL
=no
1310 DEFAULT_wxUSE_CARET
=no
1311 DEFAULT_wxUSE_BMPBUTTON
=no
1312 DEFAULT_wxUSE_CHECKBOX
=no
1313 DEFAULT_wxUSE_CHECKLST
=no
1314 DEFAULT_wxUSE_CHOICE
=yes
1315 DEFAULT_wxUSE_COMBOBOX
=no
1316 DEFAULT_wxUSE_GAUGE
=no
1317 DEFAULT_wxUSE_GRID
=no
1318 DEFAULT_wxUSE_NEW_GRID
=no
1319 DEFAULT_wxUSE_IMAGLIST
=no
1320 DEFAULT_wxUSE_LISTBOX
=no
1321 DEFAULT_wxUSE_LISTCTRL
=no
1322 DEFAULT_wxUSE_NOTEBOOK
=no
1323 DEFAULT_wxUSE_PLOT
=no
1324 DEFAULT_wxUSE_RADIOBOX
=no
1325 DEFAULT_wxUSE_RADIOBTN
=no
1326 DEFAULT_wxUSE_SASH
=no
1327 DEFAULT_wxUSE_SCROLLBAR
=no
1328 DEFAULT_wxUSE_SLIDER
=no
1329 DEFAULT_wxUSE_SPINBTN
=no
1330 DEFAULT_wxUSE_SPINCTRL
=no
1331 DEFAULT_wxUSE_SPLITTER
=no
1332 DEFAULT_wxUSE_STATBMP
=no
1333 DEFAULT_wxUSE_STATBOX
=no
1334 DEFAULT_wxUSE_STATLINE
=no
1335 DEFAULT_wxUSE_STATUSBAR
=yes
1336 DEFAULT_wxUSE_TABDIALOG
=no
1337 DEFAULT_wxUSE_TOOLBAR
=no
1338 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
1339 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
1340 DEFAULT_wxUSE_TREECTRL
=no
1342 DEFAULT_wxUSE_UNICODE
=no
1343 DEFAULT_wxUSE_WCSRTOMBS
=no
1345 DEFAULT_wxUSE_GIF
=no
1346 DEFAULT_wxUSE_PCX
=no
1347 DEFAULT_wxUSE_PNM
=no
1349 DEFAULT_wxUSE_THREADS
=yes
1351 DEFAULT_wxUSE_SHARED
=yes
1352 DEFAULT_wxUSE_BURNT_NAME
=no
1353 DEFAULT_wxUSE_OPTIMISE
=yes
1354 DEFAULT_wxUSE_PROFILE
=no
1355 DEFAULT_wxUSE_NO_DEPS
=no
1356 DEFAULT_wxUSE_NO_RTTI
=no
1357 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1358 DEFAULT_wxUSE_PERMISSIVE
=no
1359 DEFAULT_wxUSE_DEBUG_FLAG
=no
1360 DEFAULT_wxUSE_DEBUG_INFO
=no
1361 DEFAULT_wxUSE_DEBUG_GDB
=no
1362 DEFAULT_wxUSE_MEM_TRACING
=no
1363 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1364 DEFAULT_wxUSE_DMALLOC
=no
1365 DEFAULT_wxUSE_APPLE_IEEE
=yes
1367 DEFAULT_wxUSE_LOG
=yes
1369 DEFAULT_wxUSE_GUI
=yes
1371 DEFAULT_wxUSE_ZLIB
=yes
1372 DEFAULT_wxUSE_LIBPNG
=yes
1373 DEFAULT_wxUSE_LIBJPEG
=yes
1374 DEFAULT_wxUSE_LIBTIFF
=yes
1375 DEFAULT_wxUSE_ODBC
=no
1377 DEFAULT_wxUSE_STD_IOSTREAM
=no
1378 DEFAULT_wxUSE_FILE
=yes
1379 DEFAULT_wxUSE_TEXTFILE
=yes
1380 DEFAULT_wxUSE_TIMEDATE
=yes
1381 DEFAULT_wxUSE_WAVE
=no
1382 DEFAULT_wxUSE_INTL
=yes
1383 DEFAULT_wxUSE_CONFIG
=yes
1384 DEFAULT_wxUSE_STREAMS
=yes
1385 DEFAULT_wxUSE_SOCKETS
=yes
1386 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
1387 DEFAULT_wxUSE_SERIAL
=yes
1388 DEFAULT_wxUSE_JOYSTICK
=yes
1389 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
1390 DEFAULT_wxUSE_LONGLONG
=yes
1392 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
1393 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
1394 DEFAULT_wxUSE_POSTSCRIPT
=yes
1396 DEFAULT_wxUSE_X_RESOURCES
=no
1397 DEFAULT_wxUSE_CLIPBOARD
=yes
1398 DEFAULT_wxUSE_TOOLTIPS
=yes
1399 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
1400 DEFAULT_wxUSE_SPLINES
=yes
1402 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
1403 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
1404 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
1406 DEFAULT_wxUSE_PROLOGIO
=yes
1407 DEFAULT_wxUSE_RESOURCES
=yes
1408 DEFAULT_wxUSE_CONSTRAINTS
=yes
1409 DEFAULT_wxUSE_IPC
=yes
1410 DEFAULT_wxUSE_HELP
=yes
1411 DEFAULT_wxUSE_WXTREE
=yes
1412 DEFAULT_wxUSE_METAFILE
=yes
1414 DEFAULT_wxUSE_COMMONDLGS
=yes
1415 DEFAULT_wxUSE_DIRDLG
=yes
1416 DEFAULT_wxUSE_TEXTDLG
=yes
1417 DEFAULT_wxUSE_STARTUP_TIPS
=yes
1418 DEFAULT_wxUSE_PROGRESSDLG
=yes
1419 DEFAULT_wxUSE_MINIFRAME
=yes
1420 DEFAULT_wxUSE_HTML
=yes
1421 DEFAULT_wxUSE_FS_INET
=yes
1422 DEFAULT_wxUSE_FS_ZIP
=yes
1423 DEFAULT_wxUSE_BUSYINFO
=yes
1424 DEFAULT_wxUSE_ZIPSTREAM
=yes
1425 DEFAULT_wxUSE_VALIDATORS
=yes
1427 DEFAULT_wxUSE_ACCEL
=yes
1428 DEFAULT_wxUSE_CARET
=yes
1429 DEFAULT_wxUSE_BMPBUTTON
=yes
1430 DEFAULT_wxUSE_CHECKBOX
=yes
1431 DEFAULT_wxUSE_CHECKLST
=yes
1432 DEFAULT_wxUSE_CHOICE
=yes
1433 DEFAULT_wxUSE_COMBOBOX
=yes
1434 DEFAULT_wxUSE_GAUGE
=yes
1435 DEFAULT_wxUSE_GRID
=yes
1436 DEFAULT_wxUSE_NEW_GRID
=yes
1437 DEFAULT_wxUSE_IMAGLIST
=yes
1438 DEFAULT_wxUSE_LISTBOX
=yes
1439 DEFAULT_wxUSE_LISTCTRL
=yes
1440 DEFAULT_wxUSE_NOTEBOOK
=yes
1441 DEFAULT_wxUSE_PLOT
=yes
1442 DEFAULT_wxUSE_RADIOBOX
=yes
1443 DEFAULT_wxUSE_RADIOBTN
=yes
1444 DEFAULT_wxUSE_SASH
=yes
1445 DEFAULT_wxUSE_SCROLLBAR
=yes
1446 DEFAULT_wxUSE_SLIDER
=yes
1447 DEFAULT_wxUSE_SPINBTN
=yes
1448 DEFAULT_wxUSE_SPINCTRL
=yes
1449 DEFAULT_wxUSE_SPLITTER
=yes
1450 DEFAULT_wxUSE_STATBMP
=yes
1451 DEFAULT_wxUSE_STATBOX
=yes
1452 DEFAULT_wxUSE_STATLINE
=yes
1453 DEFAULT_wxUSE_STATUSBAR
=yes
1454 DEFAULT_wxUSE_TABDIALOG
=no
1455 DEFAULT_wxUSE_TOOLBAR
=yes
1456 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
1457 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
1458 DEFAULT_wxUSE_TREECTRL
=yes
1460 DEFAULT_wxUSE_UNICODE
=no
1461 DEFAULT_wxUSE_WCSRTOMBS
=no
1463 DEFAULT_wxUSE_GIF
=yes
1464 DEFAULT_wxUSE_PCX
=yes
1465 DEFAULT_wxUSE_PNM
=yes
1470 for toolkit
in `echo $ALL_TOOLKITS`; do
1471 LINE
=`grep "wxUSE_$toolkit" ${wx_arg_cache_file}`
1472 if test "x$LINE" != x
; then
1473 has_toolkit_in_cache
=1
1474 eval "DEFAULT_$LINE"
1475 eval "CACHE_$toolkit=1"
1481 echo $ac_n "checking "for --enable-gui"""... $ac_c" 1>&6
1482 echo "configure:1483: checking "for --enable-gui"" >&5
1484 # Check whether --enable-gui or --disable-gui was given.
1485 if test "${enable_gui+set}" = set; then
1486 enableval
="$enable_gui"
1488 if test "$enableval" = yes; then
1489 ac_cv_use_gui
='wxUSE_GUI=yes'
1491 ac_cv_use_gui
='wxUSE_GUI=no'
1496 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
1497 if test "x$LINE" != x
; then
1498 eval "DEFAULT_$LINE"
1503 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
1508 eval "$ac_cv_use_gui"
1509 if test "$no_cache" != 1; then
1510 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
1513 if test "$wxUSE_GUI" = yes; then
1514 echo "$ac_t""yes" 1>&6
1516 echo "$ac_t""no" 1>&6
1520 if test "$wxUSE_GUI" = "yes"; then
1522 # Check whether --with-gtk or --without-gtk was given.
1523 if test "${with_gtk+set}" = set; then
1525 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
1528 # Check whether --with-motif or --without-motif was given.
1529 if test "${with_motif+set}" = set; then
1530 withval
="$with_motif"
1531 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
1534 # Check whether --with-wine or --without-wine was given.
1535 if test "${with_wine+set}" = set; then
1536 withval
="$with_wine"
1537 wxUSE_WINE
="$withval" CACHE_WINE
=1 TOOLKIT_GIVEN
=1
1540 # Check whether --with-cygwin or --without-cygwin was given.
1541 if test "${with_cygwin+set}" = set; then
1542 withval
="$with_cygwin"
1543 wxUSE_CYGWIN
="$withval" CACHE_CYGWIN
=1 TOOLKIT_GIVEN
=1
1546 # Check whether --with-mingw or --without-mingw was given.
1547 if test "${with_mingw+set}" = set; then
1548 withval
="$with_mingw"
1549 wxUSE_MINGW
="$withval" CACHE_MINGW
=1 TOOLKIT_GIVEN
=1
1552 # Check whether --with-pm or --without-pm was given.
1553 if test "${with_pm+set}" = set; then
1555 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
1559 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
1560 if test "${with_gtk_prefix+set}" = set; then
1561 withval
="$with_gtk_prefix"
1562 gtk_config_prefix
="$withval"
1564 gtk_config_prefix
=""
1567 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
1568 if test "${with_gtk_exec_prefix+set}" = set; then
1569 withval
="$with_gtk_exec_prefix"
1570 gtk_config_exec_prefix
="$withval"
1572 gtk_config_exec_prefix
=""
1577 echo $ac_n "checking "for --with-libpng"""... $ac_c" 1>&6
1578 echo "configure:1579: checking "for --with-libpng"" >&5
1580 # Check whether --with-libpng or --without-libpng was given.
1581 if test "${with_libpng+set}" = set; then
1582 withval
="$with_libpng"
1584 if test "$withval" = yes; then
1585 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
1587 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
1592 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
1593 if test "x$LINE" != x
; then
1594 eval "DEFAULT_$LINE"
1599 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
1604 eval "$ac_cv_use_libpng"
1605 if test "$no_cache" != 1; then
1606 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
1609 if test "$wxUSE_LIBPNG" = yes; then
1610 echo "$ac_t""yes" 1>&6
1612 echo "$ac_t""no" 1>&6
1616 echo $ac_n "checking "for --with-libjpeg"""... $ac_c" 1>&6
1617 echo "configure:1618: checking "for --with-libjpeg"" >&5
1619 # Check whether --with-libjpeg or --without-libjpeg was given.
1620 if test "${with_libjpeg+set}" = set; then
1621 withval
="$with_libjpeg"
1623 if test "$withval" = yes; then
1624 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
1626 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
1631 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
1632 if test "x$LINE" != x
; then
1633 eval "DEFAULT_$LINE"
1638 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
1643 eval "$ac_cv_use_libjpeg"
1644 if test "$no_cache" != 1; then
1645 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
1648 if test "$wxUSE_LIBJPEG" = yes; then
1649 echo "$ac_t""yes" 1>&6
1651 echo "$ac_t""no" 1>&6
1655 echo $ac_n "checking "for --with-libtiff"""... $ac_c" 1>&6
1656 echo "configure:1657: checking "for --with-libtiff"" >&5
1658 # Check whether --with-libtiff or --without-libtiff was given.
1659 if test "${with_libtiff+set}" = set; then
1660 withval
="$with_libtiff"
1662 if test "$withval" = yes; then
1663 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
1665 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
1670 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
1671 if test "x$LINE" != x
; then
1672 eval "DEFAULT_$LINE"
1677 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
1682 eval "$ac_cv_use_libtiff"
1683 if test "$no_cache" != 1; then
1684 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
1687 if test "$wxUSE_LIBTIFF" = yes; then
1688 echo "$ac_t""yes" 1>&6
1690 echo "$ac_t""no" 1>&6
1694 echo $ac_n "checking "for --with-opengl"""... $ac_c" 1>&6
1695 echo "configure:1696: checking "for --with-opengl"" >&5
1697 # Check whether --with-opengl or --without-opengl was given.
1698 if test "${with_opengl+set}" = set; then
1699 withval
="$with_opengl"
1701 if test "$withval" = yes; then
1702 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
1704 ac_cv_use_opengl
='wxUSE_OPENGL=no'
1709 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
1710 if test "x$LINE" != x
; then
1711 eval "DEFAULT_$LINE"
1716 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
1721 eval "$ac_cv_use_opengl"
1722 if test "$no_cache" != 1; then
1723 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
1726 if test "$wxUSE_OPENGL" = yes; then
1727 echo "$ac_t""yes" 1>&6
1729 echo "$ac_t""no" 1>&6
1736 echo $ac_n "checking "for --with-dmalloc"""... $ac_c" 1>&6
1737 echo "configure:1738: checking "for --with-dmalloc"" >&5
1739 # Check whether --with-dmalloc or --without-dmalloc was given.
1740 if test "${with_dmalloc+set}" = set; then
1741 withval
="$with_dmalloc"
1743 if test "$withval" = yes; then
1744 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
1746 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
1751 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
1752 if test "x$LINE" != x
; then
1753 eval "DEFAULT_$LINE"
1758 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
1763 eval "$ac_cv_use_dmalloc"
1764 if test "$no_cache" != 1; then
1765 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
1768 if test "$wxUSE_DMALLOC" = yes; then
1769 echo "$ac_t""yes" 1>&6
1771 echo "$ac_t""no" 1>&6
1775 echo $ac_n "checking "for --with-zlib"""... $ac_c" 1>&6
1776 echo "configure:1777: checking "for --with-zlib"" >&5
1778 # Check whether --with-zlib or --without-zlib was given.
1779 if test "${with_zlib+set}" = set; then
1780 withval
="$with_zlib"
1782 if test "$withval" = yes; then
1783 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
1785 ac_cv_use_zlib
='wxUSE_ZLIB=no'
1790 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
1791 if test "x$LINE" != x
; then
1792 eval "DEFAULT_$LINE"
1797 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
1802 eval "$ac_cv_use_zlib"
1803 if test "$no_cache" != 1; then
1804 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
1807 if test "$wxUSE_ZLIB" = yes; then
1808 echo "$ac_t""yes" 1>&6
1810 echo "$ac_t""no" 1>&6
1814 echo $ac_n "checking "for --with-odbc"""... $ac_c" 1>&6
1815 echo "configure:1816: checking "for --with-odbc"" >&5
1817 # Check whether --with-odbc or --without-odbc was given.
1818 if test "${with_odbc+set}" = set; then
1819 withval
="$with_odbc"
1821 if test "$withval" = yes; then
1822 ac_cv_use_odbc
='wxUSE_ODBC=yes'
1824 ac_cv_use_odbc
='wxUSE_ODBC=no'
1829 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
1830 if test "x$LINE" != x
; then
1831 eval "DEFAULT_$LINE"
1836 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
1841 eval "$ac_cv_use_odbc"
1842 if test "$no_cache" != 1; then
1843 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
1846 if test "$wxUSE_ODBC" = yes; then
1847 echo "$ac_t""yes" 1>&6
1849 echo "$ac_t""no" 1>&6
1856 echo $ac_n "checking "for --enable-shared"""... $ac_c" 1>&6
1857 echo "configure:1858: checking "for --enable-shared"" >&5
1859 # Check whether --enable-shared or --disable-shared was given.
1860 if test "${enable_shared+set}" = set; then
1861 enableval
="$enable_shared"
1863 if test "$enableval" = yes; then
1864 ac_cv_use_shared
='wxUSE_SHARED=yes'
1866 ac_cv_use_shared
='wxUSE_SHARED=no'
1871 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
1872 if test "x$LINE" != x
; then
1873 eval "DEFAULT_$LINE"
1878 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
1883 eval "$ac_cv_use_shared"
1884 if test "$no_cache" != 1; then
1885 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
1888 if test "$wxUSE_SHARED" = yes; then
1889 echo "$ac_t""yes" 1>&6
1891 echo "$ac_t""no" 1>&6
1895 echo $ac_n "checking "for --enable-burnt_name"""... $ac_c" 1>&6
1896 echo "configure:1897: checking "for --enable-burnt_name"" >&5
1898 # Check whether --enable-burnt_name or --disable-burnt_name was given.
1899 if test "${enable_burnt_name+set}" = set; then
1900 enableval
="$enable_burnt_name"
1902 if test "$enableval" = yes; then
1903 ac_cv_use_burnt_name
='wxUSE_BURNT_NAME=yes'
1905 ac_cv_use_burnt_name
='wxUSE_BURNT_NAME=no'
1910 LINE
=`grep "wxUSE_BURNT_NAME" ${wx_arg_cache_file}`
1911 if test "x$LINE" != x
; then
1912 eval "DEFAULT_$LINE"
1917 ac_cv_use_burnt_name
='wxUSE_BURNT_NAME='$DEFAULT_wxUSE_BURNT_NAME
1922 eval "$ac_cv_use_burnt_name"
1923 if test "$no_cache" != 1; then
1924 echo $ac_cv_use_burnt_name >> ${wx_arg_cache_file}.tmp
1927 if test "$wxUSE_BURNT_NAME" = yes; then
1928 echo "$ac_t""yes" 1>&6
1930 echo "$ac_t""no" 1>&6
1934 echo $ac_n "checking "for --enable-optimise"""... $ac_c" 1>&6
1935 echo "configure:1936: checking "for --enable-optimise"" >&5
1937 # Check whether --enable-optimise or --disable-optimise was given.
1938 if test "${enable_optimise+set}" = set; then
1939 enableval
="$enable_optimise"
1941 if test "$enableval" = yes; then
1942 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
1944 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
1949 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
1950 if test "x$LINE" != x
; then
1951 eval "DEFAULT_$LINE"
1956 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
1961 eval "$ac_cv_use_optimise"
1962 if test "$no_cache" != 1; then
1963 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
1966 if test "$wxUSE_OPTIMISE" = yes; then
1967 echo "$ac_t""yes" 1>&6
1969 echo "$ac_t""no" 1>&6
1973 echo $ac_n "checking "for --enable-debug"""... $ac_c" 1>&6
1974 echo "configure:1975: checking "for --enable-debug"" >&5
1976 # Check whether --enable-debug or --disable-debug was given.
1977 if test "${enable_debug+set}" = set; then
1978 enableval
="$enable_debug"
1980 if test "$enableval" = yes; then
1981 ac_cv_use_debug
='wxUSE_DEBUG=yes'
1983 ac_cv_use_debug
='wxUSE_DEBUG=no'
1988 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
1989 if test "x$LINE" != x
; then
1990 eval "DEFAULT_$LINE"
1995 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
2000 eval "$ac_cv_use_debug"
2001 if test "$no_cache" != 1; then
2002 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
2005 if test "$wxUSE_DEBUG" = yes; then
2006 echo "$ac_t""yes" 1>&6
2008 echo "$ac_t""no" 1>&6
2012 if test "$wxUSE_DEBUG" = "yes"; then
2013 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2014 DEFAULT_wxUSE_DEBUG_INFO
=yes
2015 elif test "$wxUSE_DEBUG" = "no"; then
2016 DEFAULT_wxUSE_DEBUG_FLAG
=no
2017 DEFAULT_wxUSE_DEBUG_INFO
=no
2021 echo $ac_n "checking "for --enable-debug_flag"""... $ac_c" 1>&6
2022 echo "configure:2023: checking "for --enable-debug_flag"" >&5
2024 # Check whether --enable-debug_flag or --disable-debug_flag was given.
2025 if test "${enable_debug_flag+set}" = set; then
2026 enableval
="$enable_debug_flag"
2028 if test "$enableval" = yes; then
2029 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
2031 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
2036 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
2037 if test "x$LINE" != x
; then
2038 eval "DEFAULT_$LINE"
2043 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
2048 eval "$ac_cv_use_debug_flag"
2049 if test "$no_cache" != 1; then
2050 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
2053 if test "$wxUSE_DEBUG_FLAG" = yes; then
2054 echo "$ac_t""yes" 1>&6
2056 echo "$ac_t""no" 1>&6
2060 echo $ac_n "checking "for --enable-debug_info"""... $ac_c" 1>&6
2061 echo "configure:2062: checking "for --enable-debug_info"" >&5
2063 # Check whether --enable-debug_info or --disable-debug_info was given.
2064 if test "${enable_debug_info+set}" = set; then
2065 enableval
="$enable_debug_info"
2067 if test "$enableval" = yes; then
2068 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
2070 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
2075 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
2076 if test "x$LINE" != x
; then
2077 eval "DEFAULT_$LINE"
2082 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
2087 eval "$ac_cv_use_debug_info"
2088 if test "$no_cache" != 1; then
2089 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
2092 if test "$wxUSE_DEBUG_INFO" = yes; then
2093 echo "$ac_t""yes" 1>&6
2095 echo "$ac_t""no" 1>&6
2099 echo $ac_n "checking "for --enable-debug_gdb"""... $ac_c" 1>&6
2100 echo "configure:2101: checking "for --enable-debug_gdb"" >&5
2102 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
2103 if test "${enable_debug_gdb+set}" = set; then
2104 enableval
="$enable_debug_gdb"
2106 if test "$enableval" = yes; then
2107 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
2109 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
2114 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
2115 if test "x$LINE" != x
; then
2116 eval "DEFAULT_$LINE"
2121 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
2126 eval "$ac_cv_use_debug_gdb"
2127 if test "$no_cache" != 1; then
2128 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
2131 if test "$wxUSE_DEBUG_GDB" = yes; then
2132 echo "$ac_t""yes" 1>&6
2134 echo "$ac_t""no" 1>&6
2138 echo $ac_n "checking "for --enable-debug_cntxt"""... $ac_c" 1>&6
2139 echo "configure:2140: checking "for --enable-debug_cntxt"" >&5
2141 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
2142 if test "${enable_debug_cntxt+set}" = set; then
2143 enableval
="$enable_debug_cntxt"
2145 if test "$enableval" = yes; then
2146 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
2148 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
2153 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2154 if test "x$LINE" != x
; then
2155 eval "DEFAULT_$LINE"
2160 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2165 eval "$ac_cv_use_debug_cntxt"
2166 if test "$no_cache" != 1; then
2167 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2170 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2171 echo "$ac_t""yes" 1>&6
2173 echo "$ac_t""no" 1>&6
2177 echo $ac_n "checking "for --enable-mem_tracing"""... $ac_c" 1>&6
2178 echo "configure:2179: checking "for --enable-mem_tracing"" >&5
2180 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2181 if test "${enable_mem_tracing+set}" = set; then
2182 enableval
="$enable_mem_tracing"
2184 if test "$enableval" = yes; then
2185 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
2187 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
2192 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2193 if test "x$LINE" != x
; then
2194 eval "DEFAULT_$LINE"
2199 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2204 eval "$ac_cv_use_mem_tracing"
2205 if test "$no_cache" != 1; then
2206 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2209 if test "$wxUSE_MEM_TRACING" = yes; then
2210 echo "$ac_t""yes" 1>&6
2212 echo "$ac_t""no" 1>&6
2216 echo $ac_n "checking "for --enable-profile"""... $ac_c" 1>&6
2217 echo "configure:2218: checking "for --enable-profile"" >&5
2219 # Check whether --enable-profile or --disable-profile was given.
2220 if test "${enable_profile+set}" = set; then
2221 enableval
="$enable_profile"
2223 if test "$enableval" = yes; then
2224 ac_cv_use_profile
='wxUSE_PROFILE=yes'
2226 ac_cv_use_profile
='wxUSE_PROFILE=no'
2231 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2232 if test "x$LINE" != x
; then
2233 eval "DEFAULT_$LINE"
2238 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2243 eval "$ac_cv_use_profile"
2244 if test "$no_cache" != 1; then
2245 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2248 if test "$wxUSE_PROFILE" = yes; then
2249 echo "$ac_t""yes" 1>&6
2251 echo "$ac_t""no" 1>&6
2255 echo $ac_n "checking "for --enable-no_rtti"""... $ac_c" 1>&6
2256 echo "configure:2257: checking "for --enable-no_rtti"" >&5
2258 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2259 if test "${enable_no_rtti+set}" = set; then
2260 enableval
="$enable_no_rtti"
2262 if test "$enableval" = yes; then
2263 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
2265 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
2270 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2271 if test "x$LINE" != x
; then
2272 eval "DEFAULT_$LINE"
2277 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2282 eval "$ac_cv_use_no_rtti"
2283 if test "$no_cache" != 1; then
2284 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2287 if test "$wxUSE_NO_RTTI" = yes; then
2288 echo "$ac_t""yes" 1>&6
2290 echo "$ac_t""no" 1>&6
2294 echo $ac_n "checking "for --enable-no_exceptions"""... $ac_c" 1>&6
2295 echo "configure:2296: checking "for --enable-no_exceptions"" >&5
2297 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2298 if test "${enable_no_exceptions+set}" = set; then
2299 enableval
="$enable_no_exceptions"
2301 if test "$enableval" = yes; then
2302 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
2304 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
2309 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2310 if test "x$LINE" != x
; then
2311 eval "DEFAULT_$LINE"
2316 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2321 eval "$ac_cv_use_no_exceptions"
2322 if test "$no_cache" != 1; then
2323 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2326 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2327 echo "$ac_t""yes" 1>&6
2329 echo "$ac_t""no" 1>&6
2333 echo $ac_n "checking "for --enable-permissive"""... $ac_c" 1>&6
2334 echo "configure:2335: checking "for --enable-permissive"" >&5
2336 # Check whether --enable-permissive or --disable-permissive was given.
2337 if test "${enable_permissive+set}" = set; then
2338 enableval
="$enable_permissive"
2340 if test "$enableval" = yes; then
2341 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
2343 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
2348 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2349 if test "x$LINE" != x
; then
2350 eval "DEFAULT_$LINE"
2355 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
2360 eval "$ac_cv_use_permissive"
2361 if test "$no_cache" != 1; then
2362 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
2365 if test "$wxUSE_PERMISSIVE" = yes; then
2366 echo "$ac_t""yes" 1>&6
2368 echo "$ac_t""no" 1>&6
2372 echo $ac_n "checking "for --enable-no_deps"""... $ac_c" 1>&6
2373 echo "configure:2374: checking "for --enable-no_deps"" >&5
2375 # Check whether --enable-no_deps or --disable-no_deps was given.
2376 if test "${enable_no_deps+set}" = set; then
2377 enableval
="$enable_no_deps"
2379 if test "$enableval" = yes; then
2380 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
2382 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
2387 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
2388 if test "x$LINE" != x
; then
2389 eval "DEFAULT_$LINE"
2394 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
2399 eval "$ac_cv_use_no_deps"
2400 if test "$no_cache" != 1; then
2401 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
2404 if test "$wxUSE_NO_DEPS" = yes; then
2405 echo "$ac_t""yes" 1>&6
2407 echo "$ac_t""no" 1>&6
2413 echo $ac_n "checking "for --enable-intl"""... $ac_c" 1>&6
2414 echo "configure:2415: checking "for --enable-intl"" >&5
2416 # Check whether --enable-intl or --disable-intl was given.
2417 if test "${enable_intl+set}" = set; then
2418 enableval
="$enable_intl"
2420 if test "$enableval" = yes; then
2421 ac_cv_use_intl
='wxUSE_INTL=yes'
2423 ac_cv_use_intl
='wxUSE_INTL=no'
2428 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
2429 if test "x$LINE" != x
; then
2430 eval "DEFAULT_$LINE"
2435 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
2440 eval "$ac_cv_use_intl"
2441 if test "$no_cache" != 1; then
2442 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
2445 if test "$wxUSE_INTL" = yes; then
2446 echo "$ac_t""yes" 1>&6
2448 echo "$ac_t""no" 1>&6
2452 echo $ac_n "checking "for --enable-config"""... $ac_c" 1>&6
2453 echo "configure:2454: checking "for --enable-config"" >&5
2455 # Check whether --enable-config or --disable-config was given.
2456 if test "${enable_config+set}" = set; then
2457 enableval
="$enable_config"
2459 if test "$enableval" = yes; then
2460 ac_cv_use_config
='wxUSE_CONFIG=yes'
2462 ac_cv_use_config
='wxUSE_CONFIG=no'
2467 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
2468 if test "x$LINE" != x
; then
2469 eval "DEFAULT_$LINE"
2474 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
2479 eval "$ac_cv_use_config"
2480 if test "$no_cache" != 1; then
2481 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
2484 if test "$wxUSE_CONFIG" = yes; then
2485 echo "$ac_t""yes" 1>&6
2487 echo "$ac_t""no" 1>&6
2491 if test "$wxUSE_GUI" = "yes"; then
2493 echo $ac_n "checking "for --enable-sockets"""... $ac_c" 1>&6
2494 echo "configure:2495: checking "for --enable-sockets"" >&5
2496 # Check whether --enable-sockets or --disable-sockets was given.
2497 if test "${enable_sockets+set}" = set; then
2498 enableval
="$enable_sockets"
2500 if test "$enableval" = yes; then
2501 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
2503 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
2508 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
2509 if test "x$LINE" != x
; then
2510 eval "DEFAULT_$LINE"
2515 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
2520 eval "$ac_cv_use_sockets"
2521 if test "$no_cache" != 1; then
2522 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
2525 if test "$wxUSE_SOCKETS" = yes; then
2526 echo "$ac_t""yes" 1>&6
2528 echo "$ac_t""no" 1>&6
2536 echo $ac_n "checking "for --enable-dialupman"""... $ac_c" 1>&6
2537 echo "configure:2538: checking "for --enable-dialupman"" >&5
2539 # Check whether --enable-dialupman or --disable-dialupman was given.
2540 if test "${enable_dialupman+set}" = set; then
2541 enableval
="$enable_dialupman"
2543 if test "$enableval" = yes; then
2544 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
2546 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
2551 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
2552 if test "x$LINE" != x
; then
2553 eval "DEFAULT_$LINE"
2558 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
2563 eval "$ac_cv_use_dialupman"
2564 if test "$no_cache" != 1; then
2565 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
2568 if test "$wxUSE_DIALUP_MANAGER" = yes; then
2569 echo "$ac_t""yes" 1>&6
2571 echo "$ac_t""no" 1>&6
2575 echo $ac_n "checking "for --enable-ipc"""... $ac_c" 1>&6
2576 echo "configure:2577: checking "for --enable-ipc"" >&5
2578 # Check whether --enable-ipc or --disable-ipc was given.
2579 if test "${enable_ipc+set}" = set; then
2580 enableval
="$enable_ipc"
2582 if test "$enableval" = yes; then
2583 ac_cv_use_ipc
='wxUSE_IPC=yes'
2585 ac_cv_use_ipc
='wxUSE_IPC=no'
2590 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
2591 if test "x$LINE" != x
; then
2592 eval "DEFAULT_$LINE"
2597 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
2602 eval "$ac_cv_use_ipc"
2603 if test "$no_cache" != 1; then
2604 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
2607 if test "$wxUSE_IPC" = yes; then
2608 echo "$ac_t""yes" 1>&6
2610 echo "$ac_t""no" 1>&6
2614 echo $ac_n "checking "for --enable-apple_ieee"""... $ac_c" 1>&6
2615 echo "configure:2616: checking "for --enable-apple_ieee"" >&5
2617 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
2618 if test "${enable_apple_ieee+set}" = set; then
2619 enableval
="$enable_apple_ieee"
2621 if test "$enableval" = yes; then
2622 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
2624 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
2629 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
2630 if test "x$LINE" != x
; then
2631 eval "DEFAULT_$LINE"
2636 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
2641 eval "$ac_cv_use_apple_ieee"
2642 if test "$no_cache" != 1; then
2643 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
2646 if test "$wxUSE_APPLE_IEEE" = yes; then
2647 echo "$ac_t""yes" 1>&6
2649 echo "$ac_t""no" 1>&6
2653 echo $ac_n "checking "for --enable-timedate"""... $ac_c" 1>&6
2654 echo "configure:2655: checking "for --enable-timedate"" >&5
2656 # Check whether --enable-timedate or --disable-timedate was given.
2657 if test "${enable_timedate+set}" = set; then
2658 enableval
="$enable_timedate"
2660 if test "$enableval" = yes; then
2661 ac_cv_use_timedate
='wxUSE_TIMEDATE=yes'
2663 ac_cv_use_timedate
='wxUSE_TIMEDATE=no'
2668 LINE
=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}`
2669 if test "x$LINE" != x
; then
2670 eval "DEFAULT_$LINE"
2675 ac_cv_use_timedate
='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
2680 eval "$ac_cv_use_timedate"
2681 if test "$no_cache" != 1; then
2682 echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp
2685 if test "$wxUSE_TIMEDATE" = yes; then
2686 echo "$ac_t""yes" 1>&6
2688 echo "$ac_t""no" 1>&6
2692 echo $ac_n "checking "for --enable-wave"""... $ac_c" 1>&6
2693 echo "configure:2694: checking "for --enable-wave"" >&5
2695 # Check whether --enable-wave or --disable-wave was given.
2696 if test "${enable_wave+set}" = set; then
2697 enableval
="$enable_wave"
2699 if test "$enableval" = yes; then
2700 ac_cv_use_wave
='wxUSE_WAVE=yes'
2702 ac_cv_use_wave
='wxUSE_WAVE=no'
2707 LINE
=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
2708 if test "x$LINE" != x
; then
2709 eval "DEFAULT_$LINE"
2714 ac_cv_use_wave
='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
2719 eval "$ac_cv_use_wave"
2720 if test "$no_cache" != 1; then
2721 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
2724 if test "$wxUSE_WAVE" = yes; then
2725 echo "$ac_t""yes" 1>&6
2727 echo "$ac_t""no" 1>&6
2731 echo $ac_n "checking "for --enable-fraction"""... $ac_c" 1>&6
2732 echo "configure:2733: checking "for --enable-fraction"" >&5
2734 # Check whether --enable-fraction or --disable-fraction was given.
2735 if test "${enable_fraction+set}" = set; then
2736 enableval
="$enable_fraction"
2738 if test "$enableval" = yes; then
2739 ac_cv_use_fraction
='wxUSE_FRACTION=yes'
2741 ac_cv_use_fraction
='wxUSE_FRACTION=no'
2746 LINE
=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
2747 if test "x$LINE" != x
; then
2748 eval "DEFAULT_$LINE"
2753 ac_cv_use_fraction
='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
2758 eval "$ac_cv_use_fraction"
2759 if test "$no_cache" != 1; then
2760 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
2763 if test "$wxUSE_FRACTION" = yes; then
2764 echo "$ac_t""yes" 1>&6
2766 echo "$ac_t""no" 1>&6
2770 echo $ac_n "checking "for --enable-dynlib"""... $ac_c" 1>&6
2771 echo "configure:2772: checking "for --enable-dynlib"" >&5
2773 # Check whether --enable-dynlib or --disable-dynlib was given.
2774 if test "${enable_dynlib+set}" = set; then
2775 enableval
="$enable_dynlib"
2777 if test "$enableval" = yes; then
2778 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
2780 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
2785 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
2786 if test "x$LINE" != x
; then
2787 eval "DEFAULT_$LINE"
2792 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
2797 eval "$ac_cv_use_dynlib"
2798 if test "$no_cache" != 1; then
2799 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
2802 if test "$wxUSE_DYNLIB_CLASS" = yes; then
2803 echo "$ac_t""yes" 1>&6
2805 echo "$ac_t""no" 1>&6
2809 echo $ac_n "checking "for --enable-longlong"""... $ac_c" 1>&6
2810 echo "configure:2811: checking "for --enable-longlong"" >&5
2812 # Check whether --enable-longlong or --disable-longlong was given.
2813 if test "${enable_longlong+set}" = set; then
2814 enableval
="$enable_longlong"
2816 if test "$enableval" = yes; then
2817 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
2819 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
2824 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
2825 if test "x$LINE" != x
; then
2826 eval "DEFAULT_$LINE"
2831 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
2836 eval "$ac_cv_use_longlong"
2837 if test "$no_cache" != 1; then
2838 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
2841 if test "$wxUSE_LONGLONG" = yes; then
2842 echo "$ac_t""yes" 1>&6
2844 echo "$ac_t""no" 1>&6
2848 echo $ac_n "checking "for --enable-log"""... $ac_c" 1>&6
2849 echo "configure:2850: checking "for --enable-log"" >&5
2851 # Check whether --enable-log or --disable-log was given.
2852 if test "${enable_log+set}" = set; then
2853 enableval
="$enable_log"
2855 if test "$enableval" = yes; then
2856 ac_cv_use_log
='wxUSE_LOG=yes'
2858 ac_cv_use_log
='wxUSE_LOG=no'
2863 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
2864 if test "x$LINE" != x
; then
2865 eval "DEFAULT_$LINE"
2870 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
2875 eval "$ac_cv_use_log"
2876 if test "$no_cache" != 1; then
2877 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
2880 if test "$wxUSE_LOG" = yes; then
2881 echo "$ac_t""yes" 1>&6
2883 echo "$ac_t""no" 1>&6
2887 echo $ac_n "checking "for --enable-streams"""... $ac_c" 1>&6
2888 echo "configure:2889: checking "for --enable-streams"" >&5
2890 # Check whether --enable-streams or --disable-streams was given.
2891 if test "${enable_streams+set}" = set; then
2892 enableval
="$enable_streams"
2894 if test "$enableval" = yes; then
2895 ac_cv_use_streams
='wxUSE_STREAMS=yes'
2897 ac_cv_use_streams
='wxUSE_STREAMS=no'
2902 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
2903 if test "x$LINE" != x
; then
2904 eval "DEFAULT_$LINE"
2909 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
2914 eval "$ac_cv_use_streams"
2915 if test "$no_cache" != 1; then
2916 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
2919 if test "$wxUSE_STREAMS" = yes; then
2920 echo "$ac_t""yes" 1>&6
2922 echo "$ac_t""no" 1>&6
2926 echo $ac_n "checking "for --enable-file"""... $ac_c" 1>&6
2927 echo "configure:2928: checking "for --enable-file"" >&5
2929 # Check whether --enable-file or --disable-file was given.
2930 if test "${enable_file+set}" = set; then
2931 enableval
="$enable_file"
2933 if test "$enableval" = yes; then
2934 ac_cv_use_file
='wxUSE_FILE=yes'
2936 ac_cv_use_file
='wxUSE_FILE=no'
2941 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
2942 if test "x$LINE" != x
; then
2943 eval "DEFAULT_$LINE"
2948 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
2953 eval "$ac_cv_use_file"
2954 if test "$no_cache" != 1; then
2955 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
2958 if test "$wxUSE_FILE" = yes; then
2959 echo "$ac_t""yes" 1>&6
2961 echo "$ac_t""no" 1>&6
2965 echo $ac_n "checking "for --enable-textfile"""... $ac_c" 1>&6
2966 echo "configure:2967: checking "for --enable-textfile"" >&5
2968 # Check whether --enable-textfile or --disable-textfile was given.
2969 if test "${enable_textfile+set}" = set; then
2970 enableval
="$enable_textfile"
2972 if test "$enableval" = yes; then
2973 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
2975 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
2980 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
2981 if test "x$LINE" != x
; then
2982 eval "DEFAULT_$LINE"
2987 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
2992 eval "$ac_cv_use_textfile"
2993 if test "$no_cache" != 1; then
2994 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
2997 if test "$wxUSE_TEXTFILE" = yes; then
2998 echo "$ac_t""yes" 1>&6
3000 echo "$ac_t""no" 1>&6
3004 echo $ac_n "checking "for --enable-unicode"""... $ac_c" 1>&6
3005 echo "configure:3006: checking "for --enable-unicode"" >&5
3007 # Check whether --enable-unicode or --disable-unicode was given.
3008 if test "${enable_unicode+set}" = set; then
3009 enableval
="$enable_unicode"
3011 if test "$enableval" = yes; then
3012 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
3014 ac_cv_use_unicode
='wxUSE_UNICODE=no'
3019 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
3020 if test "x$LINE" != x
; then
3021 eval "DEFAULT_$LINE"
3026 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
3031 eval "$ac_cv_use_unicode"
3032 if test "$no_cache" != 1; then
3033 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
3036 if test "$wxUSE_UNICODE" = yes; then
3037 echo "$ac_t""yes" 1>&6
3039 echo "$ac_t""no" 1>&6
3043 echo $ac_n "checking "for --enable-wcsrtombs"""... $ac_c" 1>&6
3044 echo "configure:3045: checking "for --enable-wcsrtombs"" >&5
3046 # Check whether --enable-wcsrtombs or --disable-wcsrtombs was given.
3047 if test "${enable_wcsrtombs+set}" = set; then
3048 enableval
="$enable_wcsrtombs"
3050 if test "$enableval" = yes; then
3051 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS=yes'
3053 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS=no'
3058 LINE
=`grep "wxUSE_WCSRTOMBS" ${wx_arg_cache_file}`
3059 if test "x$LINE" != x
; then
3060 eval "DEFAULT_$LINE"
3065 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS='$DEFAULT_wxUSE_WCSRTOMBS
3070 eval "$ac_cv_use_wcsrtombs"
3071 if test "$no_cache" != 1; then
3072 echo $ac_cv_use_wcsrtombs >> ${wx_arg_cache_file}.tmp
3075 if test "$wxUSE_WCSRTOMBS" = yes; then
3076 echo "$ac_t""yes" 1>&6
3078 echo "$ac_t""no" 1>&6
3082 echo $ac_n "checking "for --enable-wxprintfv"""... $ac_c" 1>&6
3083 echo "configure:3084: checking "for --enable-wxprintfv"" >&5
3085 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
3086 if test "${enable_wxprintfv+set}" = set; then
3087 enableval
="$enable_wxprintfv"
3089 if test "$enableval" = yes; then
3090 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
3092 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
3097 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
3098 if test "x$LINE" != x
; then
3099 eval "DEFAULT_$LINE"
3104 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
3109 eval "$ac_cv_use_wxprintfv"
3110 if test "$no_cache" != 1; then
3111 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
3114 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
3115 echo "$ac_t""yes" 1>&6
3117 echo "$ac_t""no" 1>&6
3121 echo $ac_n "checking "for --enable-joystick"""... $ac_c" 1>&6
3122 echo "configure:3123: checking "for --enable-joystick"" >&5
3124 # Check whether --enable-joystick or --disable-joystick was given.
3125 if test "${enable_joystick+set}" = set; then
3126 enableval
="$enable_joystick"
3128 if test "$enableval" = yes; then
3129 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
3131 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
3136 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
3137 if test "x$LINE" != x
; then
3138 eval "DEFAULT_$LINE"
3143 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
3148 eval "$ac_cv_use_joystick"
3149 if test "$no_cache" != 1; then
3150 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
3153 if test "$wxUSE_JOYSTICK" = yes; then
3154 echo "$ac_t""yes" 1>&6
3156 echo "$ac_t""no" 1>&6
3160 echo $ac_n "checking "for --enable-std_iostreams"""... $ac_c" 1>&6
3161 echo "configure:3162: checking "for --enable-std_iostreams"" >&5
3163 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
3164 if test "${enable_std_iostreams+set}" = set; then
3165 enableval
="$enable_std_iostreams"
3167 if test "$enableval" = yes; then
3168 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
3170 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
3175 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
3176 if test "x$LINE" != x
; then
3177 eval "DEFAULT_$LINE"
3182 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
3187 eval "$ac_cv_use_std_iostreams"
3188 if test "$no_cache" != 1; then
3189 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
3192 if test "$wxUSE_STD_IOSTREAM" = yes; then
3193 echo "$ac_t""yes" 1>&6
3195 echo "$ac_t""no" 1>&6
3199 echo $ac_n "checking "for --enable-fs_inet"""... $ac_c" 1>&6
3200 echo "configure:3201: checking "for --enable-fs_inet"" >&5
3202 # Check whether --enable-fs_inet or --disable-fs_inet was given.
3203 if test "${enable_fs_inet+set}" = set; then
3204 enableval
="$enable_fs_inet"
3206 if test "$enableval" = yes; then
3207 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
3209 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
3214 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
3215 if test "x$LINE" != x
; then
3216 eval "DEFAULT_$LINE"
3221 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
3226 eval "$ac_cv_use_fs_inet"
3227 if test "$no_cache" != 1; then
3228 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
3231 if test "$wxUSE_FS_INET" = yes; then
3232 echo "$ac_t""yes" 1>&6
3234 echo "$ac_t""no" 1>&6
3238 echo $ac_n "checking "for --enable-fs_zip"""... $ac_c" 1>&6
3239 echo "configure:3240: checking "for --enable-fs_zip"" >&5
3241 # Check whether --enable-fs_zip or --disable-fs_zip was given.
3242 if test "${enable_fs_zip+set}" = set; then
3243 enableval
="$enable_fs_zip"
3245 if test "$enableval" = yes; then
3246 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
3248 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
3253 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
3254 if test "x$LINE" != x
; then
3255 eval "DEFAULT_$LINE"
3260 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
3265 eval "$ac_cv_use_fs_zip"
3266 if test "$no_cache" != 1; then
3267 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
3270 if test "$wxUSE_FS_ZIP" = yes; then
3271 echo "$ac_t""yes" 1>&6
3273 echo "$ac_t""no" 1>&6
3277 echo $ac_n "checking "for --enable-zipstream"""... $ac_c" 1>&6
3278 echo "configure:3279: checking "for --enable-zipstream"" >&5
3280 # Check whether --enable-zipstream or --disable-zipstream was given.
3281 if test "${enable_zipstream+set}" = set; then
3282 enableval
="$enable_zipstream"
3284 if test "$enableval" = yes; then
3285 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
3287 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
3292 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
3293 if test "x$LINE" != x
; then
3294 eval "DEFAULT_$LINE"
3299 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
3304 eval "$ac_cv_use_zipstream"
3305 if test "$no_cache" != 1; then
3306 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
3309 if test "$wxUSE_ZIPSTREAM" = yes; then
3310 echo "$ac_t""yes" 1>&6
3312 echo "$ac_t""no" 1>&6
3318 echo $ac_n "checking "for --enable-threads"""... $ac_c" 1>&6
3319 echo "configure:3320: checking "for --enable-threads"" >&5
3321 # Check whether --enable-threads or --disable-threads was given.
3322 if test "${enable_threads+set}" = set; then
3323 enableval
="$enable_threads"
3325 if test "$enableval" = yes; then
3326 ac_cv_use_threads
='wxUSE_THREADS=yes'
3328 ac_cv_use_threads
='wxUSE_THREADS=no'
3333 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
3334 if test "x$LINE" != x
; then
3335 eval "DEFAULT_$LINE"
3340 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
3345 eval "$ac_cv_use_threads"
3346 if test "$no_cache" != 1; then
3347 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
3350 if test "$wxUSE_THREADS" = yes; then
3351 echo "$ac_t""yes" 1>&6
3353 echo "$ac_t""no" 1>&6
3357 echo $ac_n "checking "for --enable-serial"""... $ac_c" 1>&6
3358 echo "configure:3359: checking "for --enable-serial"" >&5
3360 # Check whether --enable-serial or --disable-serial was given.
3361 if test "${enable_serial+set}" = set; then
3362 enableval
="$enable_serial"
3364 if test "$enableval" = yes; then
3365 ac_cv_use_serial
='wxUSE_SERIAL=yes'
3367 ac_cv_use_serial
='wxUSE_SERIAL=no'
3372 LINE
=`grep "wxUSE_SERIAL" ${wx_arg_cache_file}`
3373 if test "x$LINE" != x
; then
3374 eval "DEFAULT_$LINE"
3379 ac_cv_use_serial
='wxUSE_SERIAL='$DEFAULT_wxUSE_SERIAL
3384 eval "$ac_cv_use_serial"
3385 if test "$no_cache" != 1; then
3386 echo $ac_cv_use_serial >> ${wx_arg_cache_file}.tmp
3389 if test "$wxUSE_SERIAL" = yes; then
3390 echo "$ac_t""yes" 1>&6
3392 echo "$ac_t""no" 1>&6
3396 if test "$wxUSE_GUI" = "yes"; then
3400 echo $ac_n "checking "for --enable-docview"""... $ac_c" 1>&6
3401 echo "configure:3402: checking "for --enable-docview"" >&5
3403 # Check whether --enable-docview or --disable-docview was given.
3404 if test "${enable_docview+set}" = set; then
3405 enableval
="$enable_docview"
3407 if test "$enableval" = yes; then
3408 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
3410 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
3415 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
3416 if test "x$LINE" != x
; then
3417 eval "DEFAULT_$LINE"
3422 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
3427 eval "$ac_cv_use_docview"
3428 if test "$no_cache" != 1; then
3429 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
3432 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
3433 echo "$ac_t""yes" 1>&6
3435 echo "$ac_t""no" 1>&6
3439 echo $ac_n "checking "for --enable-help"""... $ac_c" 1>&6
3440 echo "configure:3441: checking "for --enable-help"" >&5
3442 # Check whether --enable-help or --disable-help was given.
3443 if test "${enable_help+set}" = set; then
3444 enableval
="$enable_help"
3446 if test "$enableval" = yes; then
3447 ac_cv_use_help
='wxUSE_HELP=yes'
3449 ac_cv_use_help
='wxUSE_HELP=no'
3454 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
3455 if test "x$LINE" != x
; then
3456 eval "DEFAULT_$LINE"
3461 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
3466 eval "$ac_cv_use_help"
3467 if test "$no_cache" != 1; then
3468 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
3471 if test "$wxUSE_HELP" = yes; then
3472 echo "$ac_t""yes" 1>&6
3474 echo "$ac_t""no" 1>&6
3478 echo $ac_n "checking "for --enable-constraints"""... $ac_c" 1>&6
3479 echo "configure:3480: checking "for --enable-constraints"" >&5
3481 # Check whether --enable-constraints or --disable-constraints was given.
3482 if test "${enable_constraints+set}" = set; then
3483 enableval
="$enable_constraints"
3485 if test "$enableval" = yes; then
3486 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
3488 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
3493 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
3494 if test "x$LINE" != x
; then
3495 eval "DEFAULT_$LINE"
3500 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
3505 eval "$ac_cv_use_constraints"
3506 if test "$no_cache" != 1; then
3507 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
3510 if test "$wxUSE_CONSTRAINTS" = yes; then
3511 echo "$ac_t""yes" 1>&6
3513 echo "$ac_t""no" 1>&6
3517 echo $ac_n "checking "for --enable-printarch"""... $ac_c" 1>&6
3518 echo "configure:3519: checking "for --enable-printarch"" >&5
3520 # Check whether --enable-printarch or --disable-printarch was given.
3521 if test "${enable_printarch+set}" = set; then
3522 enableval
="$enable_printarch"
3524 if test "$enableval" = yes; then
3525 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
3527 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
3532 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
3533 if test "x$LINE" != x
; then
3534 eval "DEFAULT_$LINE"
3539 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
3544 eval "$ac_cv_use_printarch"
3545 if test "$no_cache" != 1; then
3546 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
3549 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
3550 echo "$ac_t""yes" 1>&6
3552 echo "$ac_t""no" 1>&6
3556 echo $ac_n "checking "for --enable-mdi"""... $ac_c" 1>&6
3557 echo "configure:3558: checking "for --enable-mdi"" >&5
3559 # Check whether --enable-mdi or --disable-mdi was given.
3560 if test "${enable_mdi+set}" = set; then
3561 enableval
="$enable_mdi"
3563 if test "$enableval" = yes; then
3564 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=yes'
3566 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=no'
3571 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
3572 if test "x$LINE" != x
; then
3573 eval "DEFAULT_$LINE"
3578 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
3583 eval "$ac_cv_use_mdi"
3584 if test "$no_cache" != 1; then
3585 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
3588 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
3589 echo "$ac_t""yes" 1>&6
3591 echo "$ac_t""no" 1>&6
3596 echo $ac_n "checking "for --enable-postscript"""... $ac_c" 1>&6
3597 echo "configure:3598: checking "for --enable-postscript"" >&5
3599 # Check whether --enable-postscript or --disable-postscript was given.
3600 if test "${enable_postscript+set}" = set; then
3601 enableval
="$enable_postscript"
3603 if test "$enableval" = yes; then
3604 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
3606 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
3611 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
3612 if test "x$LINE" != x
; then
3613 eval "DEFAULT_$LINE"
3618 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
3623 eval "$ac_cv_use_postscript"
3624 if test "$no_cache" != 1; then
3625 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
3628 if test "$wxUSE_POSTSCRIPT" = yes; then
3629 echo "$ac_t""yes" 1>&6
3631 echo "$ac_t""no" 1>&6
3637 echo $ac_n "checking "for --enable-prologio"""... $ac_c" 1>&6
3638 echo "configure:3639: checking "for --enable-prologio"" >&5
3640 # Check whether --enable-prologio or --disable-prologio was given.
3641 if test "${enable_prologio+set}" = set; then
3642 enableval
="$enable_prologio"
3644 if test "$enableval" = yes; then
3645 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
3647 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
3652 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
3653 if test "x$LINE" != x
; then
3654 eval "DEFAULT_$LINE"
3659 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
3664 eval "$ac_cv_use_prologio"
3665 if test "$no_cache" != 1; then
3666 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
3669 if test "$wxUSE_PROLOGIO" = yes; then
3670 echo "$ac_t""yes" 1>&6
3672 echo "$ac_t""no" 1>&6
3676 echo $ac_n "checking "for --enable-resources"""... $ac_c" 1>&6
3677 echo "configure:3678: checking "for --enable-resources"" >&5
3679 # Check whether --enable-resources or --disable-resources was given.
3680 if test "${enable_resources+set}" = set; then
3681 enableval
="$enable_resources"
3683 if test "$enableval" = yes; then
3684 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
3686 ac_cv_use_resources
='wxUSE_RESOURCES=no'
3691 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
3692 if test "x$LINE" != x
; then
3693 eval "DEFAULT_$LINE"
3698 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
3703 eval "$ac_cv_use_resources"
3704 if test "$no_cache" != 1; then
3705 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
3708 if test "$wxUSE_RESOURCES" = yes; then
3709 echo "$ac_t""yes" 1>&6
3711 echo "$ac_t""no" 1>&6
3716 echo $ac_n "checking "for --enable-xresources"""... $ac_c" 1>&6
3717 echo "configure:3718: checking "for --enable-xresources"" >&5
3719 # Check whether --enable-xresources or --disable-xresources was given.
3720 if test "${enable_xresources+set}" = set; then
3721 enableval
="$enable_xresources"
3723 if test "$enableval" = yes; then
3724 ac_cv_use_xresources
='wxUSE_X_RESOURCES=yes'
3726 ac_cv_use_xresources
='wxUSE_X_RESOURCES=no'
3731 LINE
=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
3732 if test "x$LINE" != x
; then
3733 eval "DEFAULT_$LINE"
3738 ac_cv_use_xresources
='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
3743 eval "$ac_cv_use_xresources"
3744 if test "$no_cache" != 1; then
3745 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
3748 if test "$wxUSE_X_RESOURCES" = yes; then
3749 echo "$ac_t""yes" 1>&6
3751 echo "$ac_t""no" 1>&6
3757 echo $ac_n "checking "for --enable-clipboard"""... $ac_c" 1>&6
3758 echo "configure:3759: checking "for --enable-clipboard"" >&5
3760 # Check whether --enable-clipboard or --disable-clipboard was given.
3761 if test "${enable_clipboard+set}" = set; then
3762 enableval
="$enable_clipboard"
3764 if test "$enableval" = yes; then
3765 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
3767 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
3772 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
3773 if test "x$LINE" != x
; then
3774 eval "DEFAULT_$LINE"
3779 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
3784 eval "$ac_cv_use_clipboard"
3785 if test "$no_cache" != 1; then
3786 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
3789 if test "$wxUSE_CLIPBOARD" = yes; then
3790 echo "$ac_t""yes" 1>&6
3792 echo "$ac_t""no" 1>&6
3796 echo $ac_n "checking "for --enable-dnd"""... $ac_c" 1>&6
3797 echo "configure:3798: checking "for --enable-dnd"" >&5
3799 # Check whether --enable-dnd or --disable-dnd was given.
3800 if test "${enable_dnd+set}" = set; then
3801 enableval
="$enable_dnd"
3803 if test "$enableval" = yes; then
3804 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
3806 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
3811 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
3812 if test "x$LINE" != x
; then
3813 eval "DEFAULT_$LINE"
3818 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
3823 eval "$ac_cv_use_dnd"
3824 if test "$no_cache" != 1; then
3825 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
3828 if test "$wxUSE_DRAG_AND_DROP" = yes; then
3829 echo "$ac_t""yes" 1>&6
3831 echo "$ac_t""no" 1>&6
3836 echo $ac_n "checking "for --enable-wxtree"""... $ac_c" 1>&6
3837 echo "configure:3838: checking "for --enable-wxtree"" >&5
3839 # Check whether --enable-wxtree or --disable-wxtree was given.
3840 if test "${enable_wxtree+set}" = set; then
3841 enableval
="$enable_wxtree"
3843 if test "$enableval" = yes; then
3844 ac_cv_use_wxtree
='wxUSE_WXTREE=yes'
3846 ac_cv_use_wxtree
='wxUSE_WXTREE=no'
3851 LINE
=`grep "wxUSE_WXTREE" ${wx_arg_cache_file}`
3852 if test "x$LINE" != x
; then
3853 eval "DEFAULT_$LINE"
3858 ac_cv_use_wxtree
='wxUSE_WXTREE='$DEFAULT_wxUSE_WXTREE
3863 eval "$ac_cv_use_wxtree"
3864 if test "$no_cache" != 1; then
3865 echo $ac_cv_use_wxtree >> ${wx_arg_cache_file}.tmp
3868 if test "$wxUSE_WXTREE" = yes; then
3869 echo "$ac_t""yes" 1>&6
3871 echo "$ac_t""no" 1>&6
3877 echo $ac_n "checking "for --enable-controls"""... $ac_c" 1>&6
3878 echo "configure:3879: checking "for --enable-controls"" >&5
3880 # Check whether --enable-controls or --disable-controls was given.
3881 if test "${enable_controls+set}" = set; then
3882 enableval
="$enable_controls"
3884 if test "$enableval" = yes; then
3885 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
3887 ac_cv_use_controls
='wxUSE_CONTROLS=no'
3892 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
3893 if test "x$LINE" != x
; then
3894 eval "DEFAULT_$LINE"
3899 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
3904 eval "$ac_cv_use_controls"
3905 if test "$no_cache" != 1; then
3906 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
3909 if test "$wxUSE_CONTROLS" = yes; then
3910 echo "$ac_t""yes" 1>&6
3912 echo "$ac_t""no" 1>&6
3916 if test "$wxUSE_CONTROLS" = "yes"; then
3917 DEFAULT_wxUSE_ACCEL
=yes
3918 DEFAULT_wxUSE_CARET
=yes
3919 DEFAULT_wxUSE_COMBOBOX
=yes
3920 DEFAULT_wxUSE_BMPBUTTON
=yes
3921 DEFAULT_wxUSE_CHECKBOX
=yes
3922 DEFAULT_wxUSE_CHECKLISTBOX
=yes
3923 DEFAULT_wxUSE_CHOICE
=yes
3924 DEFAULT_wxUSE_GAUGE
=yes
3925 DEFAULT_wxUSE_GRID
=yes
3926 DEFAULT_wxUSE_NEW_GRID
=yes
3927 DEFAULT_wxUSE_IMAGLIST
=yes
3928 DEFAULT_wxUSE_LISTBOX
=yes
3929 DEFAULT_wxUSE_LISTCTRL
=yes
3930 DEFAULT_wxUSE_NOTEBOOK
=yes
3931 DEFAULT_wxUSE_RADIOBOX
=yes
3932 DEFAULT_wxUSE_RADIOBTN
=yes
3933 DEFAULT_wxUSE_SASH
=yes
3934 DEFAULT_wxUSE_SCROLLBAR
=yes
3935 DEFAULT_wxUSE_SLIDER
=yes
3936 DEFAULT_wxUSE_SPINBTN
=yes
3937 DEFAULT_wxUSE_SPINCTRL
=yes
3938 DEFAULT_wxUSE_SPLITTER
=yes
3939 DEFAULT_wxUSE_STATBMP
=yes
3940 DEFAULT_wxUSE_STATBOX
=yes
3941 DEFAULT_wxUSE_STATLINE
=yes
3942 DEFAULT_wxUSE_STATUSBAR
=yes
3943 DEFAULT_wxUSE_TAB_DIALOG
=yes
3944 DEFAULT_wxUSE_TOOLBAR
=yes
3945 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
3946 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
3947 DEFAULT_wxUSE_TOOLTIPS
=yes
3948 DEFAULT_wxUSE_TREECTRL
=yes
3949 elif test "$wxUSE_CONTROLS" = "no"; then
3950 DEFAULT_wxUSE_ACCEL
=no
3951 DEFAULT_wxUSE_CARET
=no
3952 DEFAULT_wxUSE_COMBOBOX
=no
3953 DEFAULT_wxUSE_BMPBUTTON
=no
3954 DEFAULT_wxUSE_CHECKBOX
=no
3955 DEFAULT_wxUSE_CHECKLISTBOX
=no
3956 DEFAULT_wxUSE_CHOICE
=no
3957 DEFAULT_wxUSE_GAUGE
=no
3958 DEFAULT_wxUSE_GRID
=no
3959 DEFAULT_wxUSE_NEW_GRID
=no
3960 DEFAULT_wxUSE_IMAGLIST
=no
3961 DEFAULT_wxUSE_LISTBOX
=no
3962 DEFAULT_wxUSE_LISTCTRL
=no
3963 DEFAULT_wxUSE_NOTEBOOK
=no
3964 DEFAULT_wxUSE_RADIOBOX
=no
3965 DEFAULT_wxUSE_RADIOBTN
=no
3966 DEFAULT_wxUSE_SASH
=no
3967 DEFAULT_wxUSE_SCROLLBAR
=no
3968 DEFAULT_wxUSE_SLIDER
=no
3969 DEFAULT_wxUSE_SPINBTN
=no
3970 DEFAULT_wxUSE_SPINCTRL
=no
3971 DEFAULT_wxUSE_SPLITTER
=no
3972 DEFAULT_wxUSE_STATBMP
=no
3973 DEFAULT_wxUSE_STATBOX
=no
3974 DEFAULT_wxUSE_STATLINE
=no
3975 DEFAULT_wxUSE_STATUSBAR
=no
3976 DEFAULT_wxUSE_TAB_DIALOG
=no
3977 DEFAULT_wxUSE_TOOLBAR
=no
3978 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
3979 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
3980 DEFAULT_wxUSE_TOOLTIPS
=no
3981 DEFAULT_wxUSE_TREECTRL
=no
3985 echo $ac_n "checking "for --enable-accel"""... $ac_c" 1>&6
3986 echo "configure:3987: checking "for --enable-accel"" >&5
3988 # Check whether --enable-accel or --disable-accel was given.
3989 if test "${enable_accel+set}" = set; then
3990 enableval
="$enable_accel"
3992 if test "$enableval" = yes; then
3993 ac_cv_use_accel
='wxUSE_ACCEL=yes'
3995 ac_cv_use_accel
='wxUSE_ACCEL=no'
4000 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
4001 if test "x$LINE" != x
; then
4002 eval "DEFAULT_$LINE"
4007 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
4012 eval "$ac_cv_use_accel"
4013 if test "$no_cache" != 1; then
4014 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
4017 if test "$wxUSE_ACCEL" = yes; then
4018 echo "$ac_t""yes" 1>&6
4020 echo "$ac_t""no" 1>&6
4024 echo $ac_n "checking "for --enable-caret"""... $ac_c" 1>&6
4025 echo "configure:4026: checking "for --enable-caret"" >&5
4027 # Check whether --enable-caret or --disable-caret was given.
4028 if test "${enable_caret+set}" = set; then
4029 enableval
="$enable_caret"
4031 if test "$enableval" = yes; then
4032 ac_cv_use_caret
='wxUSE_CARET=yes'
4034 ac_cv_use_caret
='wxUSE_CARET=no'
4039 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
4040 if test "x$LINE" != x
; then
4041 eval "DEFAULT_$LINE"
4046 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
4051 eval "$ac_cv_use_caret"
4052 if test "$no_cache" != 1; then
4053 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
4056 if test "$wxUSE_CARET" = yes; then
4057 echo "$ac_t""yes" 1>&6
4059 echo "$ac_t""no" 1>&6
4063 echo $ac_n "checking "for --enable-bmpbutton"""... $ac_c" 1>&6
4064 echo "configure:4065: checking "for --enable-bmpbutton"" >&5
4066 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
4067 if test "${enable_bmpbutton+set}" = set; then
4068 enableval
="$enable_bmpbutton"
4070 if test "$enableval" = yes; then
4071 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
4073 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
4078 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
4079 if test "x$LINE" != x
; then
4080 eval "DEFAULT_$LINE"
4085 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
4090 eval "$ac_cv_use_bmpbutton"
4091 if test "$no_cache" != 1; then
4092 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
4095 if test "$wxUSE_BMPBUTTON" = yes; then
4096 echo "$ac_t""yes" 1>&6
4098 echo "$ac_t""no" 1>&6
4102 echo $ac_n "checking "for --enable-checkbox"""... $ac_c" 1>&6
4103 echo "configure:4104: checking "for --enable-checkbox"" >&5
4105 # Check whether --enable-checkbox or --disable-checkbox was given.
4106 if test "${enable_checkbox+set}" = set; then
4107 enableval
="$enable_checkbox"
4109 if test "$enableval" = yes; then
4110 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
4112 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
4117 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
4118 if test "x$LINE" != x
; then
4119 eval "DEFAULT_$LINE"
4124 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
4129 eval "$ac_cv_use_checkbox"
4130 if test "$no_cache" != 1; then
4131 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
4134 if test "$wxUSE_CHECKBOX" = yes; then
4135 echo "$ac_t""yes" 1>&6
4137 echo "$ac_t""no" 1>&6
4141 echo $ac_n "checking "for --enable-checklst"""... $ac_c" 1>&6
4142 echo "configure:4143: checking "for --enable-checklst"" >&5
4144 # Check whether --enable-checklst or --disable-checklst was given.
4145 if test "${enable_checklst+set}" = set; then
4146 enableval
="$enable_checklst"
4148 if test "$enableval" = yes; then
4149 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
4151 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
4156 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
4157 if test "x$LINE" != x
; then
4158 eval "DEFAULT_$LINE"
4163 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
4168 eval "$ac_cv_use_checklst"
4169 if test "$no_cache" != 1; then
4170 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
4173 if test "$wxUSE_CHECKLST" = yes; then
4174 echo "$ac_t""yes" 1>&6
4176 echo "$ac_t""no" 1>&6
4180 echo $ac_n "checking "for --enable-choice"""... $ac_c" 1>&6
4181 echo "configure:4182: checking "for --enable-choice"" >&5
4183 # Check whether --enable-choice or --disable-choice was given.
4184 if test "${enable_choice+set}" = set; then
4185 enableval
="$enable_choice"
4187 if test "$enableval" = yes; then
4188 ac_cv_use_choice
='wxUSE_CHOICE=yes'
4190 ac_cv_use_choice
='wxUSE_CHOICE=no'
4195 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
4196 if test "x$LINE" != x
; then
4197 eval "DEFAULT_$LINE"
4202 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
4207 eval "$ac_cv_use_choice"
4208 if test "$no_cache" != 1; then
4209 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
4212 if test "$wxUSE_CHOICE" = yes; then
4213 echo "$ac_t""yes" 1>&6
4215 echo "$ac_t""no" 1>&6
4219 echo $ac_n "checking "for --enable-combobox"""... $ac_c" 1>&6
4220 echo "configure:4221: checking "for --enable-combobox"" >&5
4222 # Check whether --enable-combobox or --disable-combobox was given.
4223 if test "${enable_combobox+set}" = set; then
4224 enableval
="$enable_combobox"
4226 if test "$enableval" = yes; then
4227 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
4229 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
4234 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
4235 if test "x$LINE" != x
; then
4236 eval "DEFAULT_$LINE"
4241 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
4246 eval "$ac_cv_use_combobox"
4247 if test "$no_cache" != 1; then
4248 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
4251 if test "$wxUSE_COMBOBOX" = yes; then
4252 echo "$ac_t""yes" 1>&6
4254 echo "$ac_t""no" 1>&6
4258 echo $ac_n "checking "for --enable-gauge"""... $ac_c" 1>&6
4259 echo "configure:4260: checking "for --enable-gauge"" >&5
4261 # Check whether --enable-gauge or --disable-gauge was given.
4262 if test "${enable_gauge+set}" = set; then
4263 enableval
="$enable_gauge"
4265 if test "$enableval" = yes; then
4266 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
4268 ac_cv_use_gauge
='wxUSE_GAUGE=no'
4273 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
4274 if test "x$LINE" != x
; then
4275 eval "DEFAULT_$LINE"
4280 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
4285 eval "$ac_cv_use_gauge"
4286 if test "$no_cache" != 1; then
4287 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
4290 if test "$wxUSE_GAUGE" = yes; then
4291 echo "$ac_t""yes" 1>&6
4293 echo "$ac_t""no" 1>&6
4297 echo $ac_n "checking "for --enable-grid"""... $ac_c" 1>&6
4298 echo "configure:4299: checking "for --enable-grid"" >&5
4300 # Check whether --enable-grid or --disable-grid was given.
4301 if test "${enable_grid+set}" = set; then
4302 enableval
="$enable_grid"
4304 if test "$enableval" = yes; then
4305 ac_cv_use_grid
='wxUSE_GRID=yes'
4307 ac_cv_use_grid
='wxUSE_GRID=no'
4312 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
4313 if test "x$LINE" != x
; then
4314 eval "DEFAULT_$LINE"
4319 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
4324 eval "$ac_cv_use_grid"
4325 if test "$no_cache" != 1; then
4326 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
4329 if test "$wxUSE_GRID" = yes; then
4330 echo "$ac_t""yes" 1>&6
4332 echo "$ac_t""no" 1>&6
4336 echo $ac_n "checking "for --enable-newgrid"""... $ac_c" 1>&6
4337 echo "configure:4338: checking "for --enable-newgrid"" >&5
4339 # Check whether --enable-newgrid or --disable-newgrid was given.
4340 if test "${enable_newgrid+set}" = set; then
4341 enableval
="$enable_newgrid"
4343 if test "$enableval" = yes; then
4344 ac_cv_use_newgrid
='wxUSE_NEW_GRID=yes'
4346 ac_cv_use_newgrid
='wxUSE_NEW_GRID=no'
4351 LINE
=`grep "wxUSE_NEW_GRID" ${wx_arg_cache_file}`
4352 if test "x$LINE" != x
; then
4353 eval "DEFAULT_$LINE"
4358 ac_cv_use_newgrid
='wxUSE_NEW_GRID='$DEFAULT_wxUSE_NEW_GRID
4363 eval "$ac_cv_use_newgrid"
4364 if test "$no_cache" != 1; then
4365 echo $ac_cv_use_newgrid >> ${wx_arg_cache_file}.tmp
4368 if test "$wxUSE_NEW_GRID" = yes; then
4369 echo "$ac_t""yes" 1>&6
4371 echo "$ac_t""no" 1>&6
4375 echo $ac_n "checking "for --enable-imaglist"""... $ac_c" 1>&6
4376 echo "configure:4377: checking "for --enable-imaglist"" >&5
4378 # Check whether --enable-imaglist or --disable-imaglist was given.
4379 if test "${enable_imaglist+set}" = set; then
4380 enableval
="$enable_imaglist"
4382 if test "$enableval" = yes; then
4383 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
4385 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
4390 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
4391 if test "x$LINE" != x
; then
4392 eval "DEFAULT_$LINE"
4397 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
4402 eval "$ac_cv_use_imaglist"
4403 if test "$no_cache" != 1; then
4404 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
4407 if test "$wxUSE_IMAGLIST" = yes; then
4408 echo "$ac_t""yes" 1>&6
4410 echo "$ac_t""no" 1>&6
4414 echo $ac_n "checking "for --enable-listbox"""... $ac_c" 1>&6
4415 echo "configure:4416: checking "for --enable-listbox"" >&5
4417 # Check whether --enable-listbox or --disable-listbox was given.
4418 if test "${enable_listbox+set}" = set; then
4419 enableval
="$enable_listbox"
4421 if test "$enableval" = yes; then
4422 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
4424 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
4429 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
4430 if test "x$LINE" != x
; then
4431 eval "DEFAULT_$LINE"
4436 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
4441 eval "$ac_cv_use_listbox"
4442 if test "$no_cache" != 1; then
4443 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
4446 if test "$wxUSE_LISTBOX" = yes; then
4447 echo "$ac_t""yes" 1>&6
4449 echo "$ac_t""no" 1>&6
4453 echo $ac_n "checking "for --enable-listctrl"""... $ac_c" 1>&6
4454 echo "configure:4455: checking "for --enable-listctrl"" >&5
4456 # Check whether --enable-listctrl or --disable-listctrl was given.
4457 if test "${enable_listctrl+set}" = set; then
4458 enableval
="$enable_listctrl"
4460 if test "$enableval" = yes; then
4461 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
4463 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
4468 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
4469 if test "x$LINE" != x
; then
4470 eval "DEFAULT_$LINE"
4475 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
4480 eval "$ac_cv_use_listctrl"
4481 if test "$no_cache" != 1; then
4482 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
4485 if test "$wxUSE_LISTCTRL" = yes; then
4486 echo "$ac_t""yes" 1>&6
4488 echo "$ac_t""no" 1>&6
4492 echo $ac_n "checking "for --enable-notebook"""... $ac_c" 1>&6
4493 echo "configure:4494: checking "for --enable-notebook"" >&5
4495 # Check whether --enable-notebook or --disable-notebook was given.
4496 if test "${enable_notebook+set}" = set; then
4497 enableval
="$enable_notebook"
4499 if test "$enableval" = yes; then
4500 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
4502 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
4507 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
4508 if test "x$LINE" != x
; then
4509 eval "DEFAULT_$LINE"
4514 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
4519 eval "$ac_cv_use_notebook"
4520 if test "$no_cache" != 1; then
4521 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
4524 if test "$wxUSE_NOTEBOOK" = yes; then
4525 echo "$ac_t""yes" 1>&6
4527 echo "$ac_t""no" 1>&6
4531 echo $ac_n "checking "for --enable-radiobox"""... $ac_c" 1>&6
4532 echo "configure:4533: checking "for --enable-radiobox"" >&5
4534 # Check whether --enable-radiobox or --disable-radiobox was given.
4535 if test "${enable_radiobox+set}" = set; then
4536 enableval
="$enable_radiobox"
4538 if test "$enableval" = yes; then
4539 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
4541 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
4546 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
4547 if test "x$LINE" != x
; then
4548 eval "DEFAULT_$LINE"
4553 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
4558 eval "$ac_cv_use_radiobox"
4559 if test "$no_cache" != 1; then
4560 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
4563 if test "$wxUSE_RADIOBOX" = yes; then
4564 echo "$ac_t""yes" 1>&6
4566 echo "$ac_t""no" 1>&6
4570 echo $ac_n "checking "for --enable-radiobtn"""... $ac_c" 1>&6
4571 echo "configure:4572: checking "for --enable-radiobtn"" >&5
4573 # Check whether --enable-radiobtn or --disable-radiobtn was given.
4574 if test "${enable_radiobtn+set}" = set; then
4575 enableval
="$enable_radiobtn"
4577 if test "$enableval" = yes; then
4578 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
4580 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
4585 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
4586 if test "x$LINE" != x
; then
4587 eval "DEFAULT_$LINE"
4592 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
4597 eval "$ac_cv_use_radiobtn"
4598 if test "$no_cache" != 1; then
4599 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
4602 if test "$wxUSE_RADIOBTN" = yes; then
4603 echo "$ac_t""yes" 1>&6
4605 echo "$ac_t""no" 1>&6
4609 echo $ac_n "checking "for --enable-sash"""... $ac_c" 1>&6
4610 echo "configure:4611: checking "for --enable-sash"" >&5
4612 # Check whether --enable-sash or --disable-sash was given.
4613 if test "${enable_sash+set}" = set; then
4614 enableval
="$enable_sash"
4616 if test "$enableval" = yes; then
4617 ac_cv_use_sash
='wxUSE_SASH=yes'
4619 ac_cv_use_sash
='wxUSE_SASH=no'
4624 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
4625 if test "x$LINE" != x
; then
4626 eval "DEFAULT_$LINE"
4631 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
4636 eval "$ac_cv_use_sash"
4637 if test "$no_cache" != 1; then
4638 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
4641 if test "$wxUSE_SASH" = yes; then
4642 echo "$ac_t""yes" 1>&6
4644 echo "$ac_t""no" 1>&6
4648 echo $ac_n "checking "for --enable-scrollbar"""... $ac_c" 1>&6
4649 echo "configure:4650: checking "for --enable-scrollbar"" >&5
4651 # Check whether --enable-scrollbar or --disable-scrollbar was given.
4652 if test "${enable_scrollbar+set}" = set; then
4653 enableval
="$enable_scrollbar"
4655 if test "$enableval" = yes; then
4656 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
4658 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
4663 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
4664 if test "x$LINE" != x
; then
4665 eval "DEFAULT_$LINE"
4670 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
4675 eval "$ac_cv_use_scrollbar"
4676 if test "$no_cache" != 1; then
4677 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
4680 if test "$wxUSE_SCROLLBAR" = yes; then
4681 echo "$ac_t""yes" 1>&6
4683 echo "$ac_t""no" 1>&6
4687 echo $ac_n "checking "for --enable-slider"""... $ac_c" 1>&6
4688 echo "configure:4689: checking "for --enable-slider"" >&5
4690 # Check whether --enable-slider or --disable-slider was given.
4691 if test "${enable_slider+set}" = set; then
4692 enableval
="$enable_slider"
4694 if test "$enableval" = yes; then
4695 ac_cv_use_slider
='wxUSE_SLIDER=yes'
4697 ac_cv_use_slider
='wxUSE_SLIDER=no'
4702 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
4703 if test "x$LINE" != x
; then
4704 eval "DEFAULT_$LINE"
4709 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
4714 eval "$ac_cv_use_slider"
4715 if test "$no_cache" != 1; then
4716 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
4719 if test "$wxUSE_SLIDER" = yes; then
4720 echo "$ac_t""yes" 1>&6
4722 echo "$ac_t""no" 1>&6
4726 echo $ac_n "checking "for --enable-spinbtn"""... $ac_c" 1>&6
4727 echo "configure:4728: checking "for --enable-spinbtn"" >&5
4729 # Check whether --enable-spinbtn or --disable-spinbtn was given.
4730 if test "${enable_spinbtn+set}" = set; then
4731 enableval
="$enable_spinbtn"
4733 if test "$enableval" = yes; then
4734 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
4736 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
4741 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
4742 if test "x$LINE" != x
; then
4743 eval "DEFAULT_$LINE"
4748 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
4753 eval "$ac_cv_use_spinbtn"
4754 if test "$no_cache" != 1; then
4755 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
4758 if test "$wxUSE_SPINBTN" = yes; then
4759 echo "$ac_t""yes" 1>&6
4761 echo "$ac_t""no" 1>&6
4765 echo $ac_n "checking "for --enable-spinctrl"""... $ac_c" 1>&6
4766 echo "configure:4767: checking "for --enable-spinctrl"" >&5
4768 # Check whether --enable-spinctrl or --disable-spinctrl was given.
4769 if test "${enable_spinctrl+set}" = set; then
4770 enableval
="$enable_spinctrl"
4772 if test "$enableval" = yes; then
4773 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
4775 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
4780 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
4781 if test "x$LINE" != x
; then
4782 eval "DEFAULT_$LINE"
4787 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
4792 eval "$ac_cv_use_spinctrl"
4793 if test "$no_cache" != 1; then
4794 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
4797 if test "$wxUSE_SPINCTRL" = yes; then
4798 echo "$ac_t""yes" 1>&6
4800 echo "$ac_t""no" 1>&6
4804 echo $ac_n "checking "for --enable-splitter"""... $ac_c" 1>&6
4805 echo "configure:4806: checking "for --enable-splitter"" >&5
4807 # Check whether --enable-splitter or --disable-splitter was given.
4808 if test "${enable_splitter+set}" = set; then
4809 enableval
="$enable_splitter"
4811 if test "$enableval" = yes; then
4812 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
4814 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
4819 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
4820 if test "x$LINE" != x
; then
4821 eval "DEFAULT_$LINE"
4826 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
4831 eval "$ac_cv_use_splitter"
4832 if test "$no_cache" != 1; then
4833 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
4836 if test "$wxUSE_SPLITTER" = yes; then
4837 echo "$ac_t""yes" 1>&6
4839 echo "$ac_t""no" 1>&6
4843 echo $ac_n "checking "for --enable-statbmp"""... $ac_c" 1>&6
4844 echo "configure:4845: checking "for --enable-statbmp"" >&5
4846 # Check whether --enable-statbmp or --disable-statbmp was given.
4847 if test "${enable_statbmp+set}" = set; then
4848 enableval
="$enable_statbmp"
4850 if test "$enableval" = yes; then
4851 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
4853 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
4858 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
4859 if test "x$LINE" != x
; then
4860 eval "DEFAULT_$LINE"
4865 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
4870 eval "$ac_cv_use_statbmp"
4871 if test "$no_cache" != 1; then
4872 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
4875 if test "$wxUSE_STATBMP" = yes; then
4876 echo "$ac_t""yes" 1>&6
4878 echo "$ac_t""no" 1>&6
4882 echo $ac_n "checking "for --enable-statbox"""... $ac_c" 1>&6
4883 echo "configure:4884: checking "for --enable-statbox"" >&5
4885 # Check whether --enable-statbox or --disable-statbox was given.
4886 if test "${enable_statbox+set}" = set; then
4887 enableval
="$enable_statbox"
4889 if test "$enableval" = yes; then
4890 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
4892 ac_cv_use_statbox
='wxUSE_STATBOX=no'
4897 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
4898 if test "x$LINE" != x
; then
4899 eval "DEFAULT_$LINE"
4904 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
4909 eval "$ac_cv_use_statbox"
4910 if test "$no_cache" != 1; then
4911 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
4914 if test "$wxUSE_STATBOX" = yes; then
4915 echo "$ac_t""yes" 1>&6
4917 echo "$ac_t""no" 1>&6
4921 echo $ac_n "checking "for --enable-statline"""... $ac_c" 1>&6
4922 echo "configure:4923: checking "for --enable-statline"" >&5
4924 # Check whether --enable-statline or --disable-statline was given.
4925 if test "${enable_statline+set}" = set; then
4926 enableval
="$enable_statline"
4928 if test "$enableval" = yes; then
4929 ac_cv_use_statline
='wxUSE_STATLINE=yes'
4931 ac_cv_use_statline
='wxUSE_STATLINE=no'
4936 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
4937 if test "x$LINE" != x
; then
4938 eval "DEFAULT_$LINE"
4943 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
4948 eval "$ac_cv_use_statline"
4949 if test "$no_cache" != 1; then
4950 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
4953 if test "$wxUSE_STATLINE" = yes; then
4954 echo "$ac_t""yes" 1>&6
4956 echo "$ac_t""no" 1>&6
4960 echo $ac_n "checking "for --enable-statusbar"""... $ac_c" 1>&6
4961 echo "configure:4962: checking "for --enable-statusbar"" >&5
4963 # Check whether --enable-statusbar or --disable-statusbar was given.
4964 if test "${enable_statusbar+set}" = set; then
4965 enableval
="$enable_statusbar"
4967 if test "$enableval" = yes; then
4968 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
4970 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
4975 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
4976 if test "x$LINE" != x
; then
4977 eval "DEFAULT_$LINE"
4982 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
4987 eval "$ac_cv_use_statusbar"
4988 if test "$no_cache" != 1; then
4989 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
4992 if test "$wxUSE_STATUSBAR" = yes; then
4993 echo "$ac_t""yes" 1>&6
4995 echo "$ac_t""no" 1>&6
4999 echo $ac_n "checking "for --enable-tabdialog"""... $ac_c" 1>&6
5000 echo "configure:5001: checking "for --enable-tabdialog"" >&5
5002 # Check whether --enable-tabdialog or --disable-tabdialog was given.
5003 if test "${enable_tabdialog+set}" = set; then
5004 enableval
="$enable_tabdialog"
5006 if test "$enableval" = yes; then
5007 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
5009 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
5014 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
5015 if test "x$LINE" != x
; then
5016 eval "DEFAULT_$LINE"
5021 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
5026 eval "$ac_cv_use_tabdialog"
5027 if test "$no_cache" != 1; then
5028 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
5031 if test "$wxUSE_TABDIALOG" = yes; then
5032 echo "$ac_t""yes" 1>&6
5034 echo "$ac_t""no" 1>&6
5038 echo $ac_n "checking "for --enable-toolbar"""... $ac_c" 1>&6
5039 echo "configure:5040: checking "for --enable-toolbar"" >&5
5041 # Check whether --enable-toolbar or --disable-toolbar was given.
5042 if test "${enable_toolbar+set}" = set; then
5043 enableval
="$enable_toolbar"
5045 if test "$enableval" = yes; then
5046 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
5048 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
5053 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
5054 if test "x$LINE" != x
; then
5055 eval "DEFAULT_$LINE"
5060 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
5065 eval "$ac_cv_use_toolbar"
5066 if test "$no_cache" != 1; then
5067 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
5070 if test "$wxUSE_TOOLBAR" = yes; then
5071 echo "$ac_t""yes" 1>&6
5073 echo "$ac_t""no" 1>&6
5077 echo $ac_n "checking "for --enable-tbarnative"""... $ac_c" 1>&6
5078 echo "configure:5079: checking "for --enable-tbarnative"" >&5
5080 # Check whether --enable-tbarnative or --disable-tbarnative was given.
5081 if test "${enable_tbarnative+set}" = set; then
5082 enableval
="$enable_tbarnative"
5084 if test "$enableval" = yes; then
5085 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
5087 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
5092 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
5093 if test "x$LINE" != x
; then
5094 eval "DEFAULT_$LINE"
5099 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
5104 eval "$ac_cv_use_tbarnative"
5105 if test "$no_cache" != 1; then
5106 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
5109 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
5110 echo "$ac_t""yes" 1>&6
5112 echo "$ac_t""no" 1>&6
5116 echo $ac_n "checking "for --enable-tbarsmpl"""... $ac_c" 1>&6
5117 echo "configure:5118: checking "for --enable-tbarsmpl"" >&5
5119 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
5120 if test "${enable_tbarsmpl+set}" = set; then
5121 enableval
="$enable_tbarsmpl"
5123 if test "$enableval" = yes; then
5124 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
5126 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
5131 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
5132 if test "x$LINE" != x
; then
5133 eval "DEFAULT_$LINE"
5138 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
5143 eval "$ac_cv_use_tbarsmpl"
5144 if test "$no_cache" != 1; then
5145 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
5148 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
5149 echo "$ac_t""yes" 1>&6
5151 echo "$ac_t""no" 1>&6
5155 echo $ac_n "checking "for --enable-treectrl"""... $ac_c" 1>&6
5156 echo "configure:5157: checking "for --enable-treectrl"" >&5
5158 # Check whether --enable-treectrl or --disable-treectrl was given.
5159 if test "${enable_treectrl+set}" = set; then
5160 enableval
="$enable_treectrl"
5162 if test "$enableval" = yes; then
5163 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
5165 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
5170 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
5171 if test "x$LINE" != x
; then
5172 eval "DEFAULT_$LINE"
5177 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
5182 eval "$ac_cv_use_treectrl"
5183 if test "$no_cache" != 1; then
5184 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
5187 if test "$wxUSE_TREECTRL" = yes; then
5188 echo "$ac_t""yes" 1>&6
5190 echo "$ac_t""no" 1>&6
5196 echo $ac_n "checking "for --enable-commondlg"""... $ac_c" 1>&6
5197 echo "configure:5198: checking "for --enable-commondlg"" >&5
5199 # Check whether --enable-commondlg or --disable-commondlg was given.
5200 if test "${enable_commondlg+set}" = set; then
5201 enableval
="$enable_commondlg"
5203 if test "$enableval" = yes; then
5204 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
5206 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
5211 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
5212 if test "x$LINE" != x
; then
5213 eval "DEFAULT_$LINE"
5218 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
5223 eval "$ac_cv_use_commondlg"
5224 if test "$no_cache" != 1; then
5225 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
5228 if test "$wxUSE_COMMONDLGS" = yes; then
5229 echo "$ac_t""yes" 1>&6
5231 echo "$ac_t""no" 1>&6
5235 echo $ac_n "checking "for --enable-dirdlg"""... $ac_c" 1>&6
5236 echo "configure:5237: checking "for --enable-dirdlg"" >&5
5238 # Check whether --enable-dirdlg or --disable-dirdlg was given.
5239 if test "${enable_dirdlg+set}" = set; then
5240 enableval
="$enable_dirdlg"
5242 if test "$enableval" = yes; then
5243 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
5245 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
5250 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
5251 if test "x$LINE" != x
; then
5252 eval "DEFAULT_$LINE"
5257 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
5262 eval "$ac_cv_use_dirdlg"
5263 if test "$no_cache" != 1; then
5264 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
5267 if test "$wxUSE_DIRDLG" = yes; then
5268 echo "$ac_t""yes" 1>&6
5270 echo "$ac_t""no" 1>&6
5274 echo $ac_n "checking "for --enable-textdlg"""... $ac_c" 1>&6
5275 echo "configure:5276: checking "for --enable-textdlg"" >&5
5277 # Check whether --enable-textdlg or --disable-textdlg was given.
5278 if test "${enable_textdlg+set}" = set; then
5279 enableval
="$enable_textdlg"
5281 if test "$enableval" = yes; then
5282 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
5284 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
5289 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
5290 if test "x$LINE" != x
; then
5291 eval "DEFAULT_$LINE"
5296 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
5301 eval "$ac_cv_use_textdlg"
5302 if test "$no_cache" != 1; then
5303 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
5306 if test "$wxUSE_TEXTDLG" = yes; then
5307 echo "$ac_t""yes" 1>&6
5309 echo "$ac_t""no" 1>&6
5313 echo $ac_n "checking "for --enable-tipdlg"""... $ac_c" 1>&6
5314 echo "configure:5315: checking "for --enable-tipdlg"" >&5
5316 # Check whether --enable-tipdlg or --disable-tipdlg was given.
5317 if test "${enable_tipdlg+set}" = set; then
5318 enableval
="$enable_tipdlg"
5320 if test "$enableval" = yes; then
5321 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
5323 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
5328 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
5329 if test "x$LINE" != x
; then
5330 eval "DEFAULT_$LINE"
5335 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
5340 eval "$ac_cv_use_tipdlg"
5341 if test "$no_cache" != 1; then
5342 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
5345 if test "$wxUSE_STARTUP_TIPS" = yes; then
5346 echo "$ac_t""yes" 1>&6
5348 echo "$ac_t""no" 1>&6
5352 echo $ac_n "checking "for --enable-progressdlg"""... $ac_c" 1>&6
5353 echo "configure:5354: checking "for --enable-progressdlg"" >&5
5355 # Check whether --enable-progressdlg or --disable-progressdlg was given.
5356 if test "${enable_progressdlg+set}" = set; then
5357 enableval
="$enable_progressdlg"
5359 if test "$enableval" = yes; then
5360 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
5362 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
5367 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
5368 if test "x$LINE" != x
; then
5369 eval "DEFAULT_$LINE"
5374 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
5379 eval "$ac_cv_use_progressdlg"
5380 if test "$no_cache" != 1; then
5381 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
5384 if test "$wxUSE_PROGRESSDLG" = yes; then
5385 echo "$ac_t""yes" 1>&6
5387 echo "$ac_t""no" 1>&6
5391 echo $ac_n "checking "for --enable-miniframe"""... $ac_c" 1>&6
5392 echo "configure:5393: checking "for --enable-miniframe"" >&5
5394 # Check whether --enable-miniframe or --disable-miniframe was given.
5395 if test "${enable_miniframe+set}" = set; then
5396 enableval
="$enable_miniframe"
5398 if test "$enableval" = yes; then
5399 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
5401 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
5406 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
5407 if test "x$LINE" != x
; then
5408 eval "DEFAULT_$LINE"
5413 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
5418 eval "$ac_cv_use_miniframe"
5419 if test "$no_cache" != 1; then
5420 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
5423 if test "$wxUSE_MINIFRAME" = yes; then
5424 echo "$ac_t""yes" 1>&6
5426 echo "$ac_t""no" 1>&6
5430 echo $ac_n "checking "for --enable-html"""... $ac_c" 1>&6
5431 echo "configure:5432: checking "for --enable-html"" >&5
5433 # Check whether --enable-html or --disable-html was given.
5434 if test "${enable_html+set}" = set; then
5435 enableval
="$enable_html"
5437 if test "$enableval" = yes; then
5438 ac_cv_use_html
='wxUSE_HTML=yes'
5440 ac_cv_use_html
='wxUSE_HTML=no'
5445 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
5446 if test "x$LINE" != x
; then
5447 eval "DEFAULT_$LINE"
5452 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
5457 eval "$ac_cv_use_html"
5458 if test "$no_cache" != 1; then
5459 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
5462 if test "$wxUSE_HTML" = yes; then
5463 echo "$ac_t""yes" 1>&6
5465 echo "$ac_t""no" 1>&6
5469 echo $ac_n "checking "for --enable-tooltips"""... $ac_c" 1>&6
5470 echo "configure:5471: checking "for --enable-tooltips"" >&5
5472 # Check whether --enable-tooltips or --disable-tooltips was given.
5473 if test "${enable_tooltips+set}" = set; then
5474 enableval
="$enable_tooltips"
5476 if test "$enableval" = yes; then
5477 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
5479 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
5484 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
5485 if test "x$LINE" != x
; then
5486 eval "DEFAULT_$LINE"
5491 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
5496 eval "$ac_cv_use_tooltips"
5497 if test "$no_cache" != 1; then
5498 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
5501 if test "$wxUSE_TOOLTIPS" = yes; then
5502 echo "$ac_t""yes" 1>&6
5504 echo "$ac_t""no" 1>&6
5508 echo $ac_n "checking "for --enable-splines"""... $ac_c" 1>&6
5509 echo "configure:5510: checking "for --enable-splines"" >&5
5511 # Check whether --enable-splines or --disable-splines was given.
5512 if test "${enable_splines+set}" = set; then
5513 enableval
="$enable_splines"
5515 if test "$enableval" = yes; then
5516 ac_cv_use_splines
='wxUSE_SPLINES=yes'
5518 ac_cv_use_splines
='wxUSE_SPLINES=no'
5523 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
5524 if test "x$LINE" != x
; then
5525 eval "DEFAULT_$LINE"
5530 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
5535 eval "$ac_cv_use_splines"
5536 if test "$no_cache" != 1; then
5537 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
5540 if test "$wxUSE_SPLINES" = yes; then
5541 echo "$ac_t""yes" 1>&6
5543 echo "$ac_t""no" 1>&6
5547 echo $ac_n "checking "for --enable-validators"""... $ac_c" 1>&6
5548 echo "configure:5549: checking "for --enable-validators"" >&5
5550 # Check whether --enable-validators or --disable-validators was given.
5551 if test "${enable_validators+set}" = set; then
5552 enableval
="$enable_validators"
5554 if test "$enableval" = yes; then
5555 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
5557 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
5562 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
5563 if test "x$LINE" != x
; then
5564 eval "DEFAULT_$LINE"
5569 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
5574 eval "$ac_cv_use_validators"
5575 if test "$no_cache" != 1; then
5576 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
5579 if test "$wxUSE_VALIDATORS" = yes; then
5580 echo "$ac_t""yes" 1>&6
5582 echo "$ac_t""no" 1>&6
5586 echo $ac_n "checking "for --enable-busyinfo"""... $ac_c" 1>&6
5587 echo "configure:5588: checking "for --enable-busyinfo"" >&5
5589 # Check whether --enable-busyinfo or --disable-busyinfo was given.
5590 if test "${enable_busyinfo+set}" = set; then
5591 enableval
="$enable_busyinfo"
5593 if test "$enableval" = yes; then
5594 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
5596 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
5601 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
5602 if test "x$LINE" != x
; then
5603 eval "DEFAULT_$LINE"
5608 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
5613 eval "$ac_cv_use_busyinfo"
5614 if test "$no_cache" != 1; then
5615 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
5618 if test "$wxUSE_BUSYINFO" = yes; then
5619 echo "$ac_t""yes" 1>&6
5621 echo "$ac_t""no" 1>&6
5625 echo $ac_n "checking "for --enable-plot"""... $ac_c" 1>&6
5626 echo "configure:5627: checking "for --enable-plot"" >&5
5628 # Check whether --enable-plot or --disable-plot was given.
5629 if test "${enable_plot+set}" = set; then
5630 enableval
="$enable_plot"
5632 if test "$enableval" = yes; then
5633 ac_cv_use_plot
='wxUSE_PLOT=yes'
5635 ac_cv_use_plot
='wxUSE_PLOT=no'
5640 LINE
=`grep "wxUSE_PLOT" ${wx_arg_cache_file}`
5641 if test "x$LINE" != x
; then
5642 eval "DEFAULT_$LINE"
5647 ac_cv_use_plot
='wxUSE_PLOT='$DEFAULT_wxUSE_PLOT
5652 eval "$ac_cv_use_plot"
5653 if test "$no_cache" != 1; then
5654 echo $ac_cv_use_plot >> ${wx_arg_cache_file}.tmp
5657 if test "$wxUSE_PLOT" = yes; then
5658 echo "$ac_t""yes" 1>&6
5660 echo "$ac_t""no" 1>&6
5666 echo $ac_n "checking "for --enable-gif"""... $ac_c" 1>&6
5667 echo "configure:5668: checking "for --enable-gif"" >&5
5669 # Check whether --enable-gif or --disable-gif was given.
5670 if test "${enable_gif+set}" = set; then
5671 enableval
="$enable_gif"
5673 if test "$enableval" = yes; then
5674 ac_cv_use_gif
='wxUSE_GIF=yes'
5676 ac_cv_use_gif
='wxUSE_GIF=no'
5681 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
5682 if test "x$LINE" != x
; then
5683 eval "DEFAULT_$LINE"
5688 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
5693 eval "$ac_cv_use_gif"
5694 if test "$no_cache" != 1; then
5695 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
5698 if test "$wxUSE_GIF" = yes; then
5699 echo "$ac_t""yes" 1>&6
5701 echo "$ac_t""no" 1>&6
5705 echo $ac_n "checking "for --enable-pcx"""... $ac_c" 1>&6
5706 echo "configure:5707: checking "for --enable-pcx"" >&5
5708 # Check whether --enable-pcx or --disable-pcx was given.
5709 if test "${enable_pcx+set}" = set; then
5710 enableval
="$enable_pcx"
5712 if test "$enableval" = yes; then
5713 ac_cv_use_pcx
='wxUSE_PCX=yes'
5715 ac_cv_use_pcx
='wxUSE_PCX=no'
5720 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
5721 if test "x$LINE" != x
; then
5722 eval "DEFAULT_$LINE"
5727 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
5732 eval "$ac_cv_use_pcx"
5733 if test "$no_cache" != 1; then
5734 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
5737 if test "$wxUSE_PCX" = yes; then
5738 echo "$ac_t""yes" 1>&6
5740 echo "$ac_t""no" 1>&6
5744 echo $ac_n "checking "for --enable-pnm"""... $ac_c" 1>&6
5745 echo "configure:5746: checking "for --enable-pnm"" >&5
5747 # Check whether --enable-pnm or --disable-pnm was given.
5748 if test "${enable_pnm+set}" = set; then
5749 enableval
="$enable_pnm"
5751 if test "$enableval" = yes; then
5752 ac_cv_use_pnm
='wxUSE_PNM=yes'
5754 ac_cv_use_pnm
='wxUSE_PNM=no'
5759 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
5760 if test "x$LINE" != x
; then
5761 eval "DEFAULT_$LINE"
5766 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
5771 eval "$ac_cv_use_pnm"
5772 if test "$no_cache" != 1; then
5773 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
5776 if test "$wxUSE_PNM" = yes; then
5777 echo "$ac_t""yes" 1>&6
5779 echo "$ac_t""no" 1>&6
5786 echo "saving argument cache $wx_arg_cache_file"
5787 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
5791 echo $ac_n "checking for toolkit""... $ac_c" 1>&6
5792 echo "configure:5793: checking for toolkit" >&5
5794 if test "$wxUSE_GUI" = "yes"; then
5796 if test "$USE_BEOS" = 1; then
5797 { echo "configure: error: BeOS GUI is not supported yet, use --disable-gui" 1>&2; exit 1; }
5800 if test "$TOOLKIT_GIVEN" = 1; then
5801 for toolkit
in `echo $ALL_TOOLKITS`; do
5803 eval "value=\$${var}"
5804 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
5807 for toolkit
in `echo $ALL_TOOLKITS`; do
5808 if test "$has_toolkit_in_cache" != 1; then
5809 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
5811 var
=DEFAULT_wxUSE_
$toolkit
5813 eval "wxUSE_$toolkit=\$${var}"
5817 NUM_TOOLKITS
=`expr ${wxUSE_GTK:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_WINE:-0} + ${wxUSE_MINGW:-0} + ${wxUSE_CYGWIN:-0}`
5821 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
5822 # PATH_IFS is autodetected by OS/2's configure (usually ';')
5831 case "$NUM_TOOLKITS" in
5835 { echo "configure: error: Please specify a toolkit - cannot determine the default for ${host}" 1>&2; exit 1; }
5838 { echo "configure: error: Please specify at most one toolkit (may be some are cached?)" 1>&2; exit 1; }
5841 for toolkit
in `echo $ALL_TOOLKITS`; do
5843 eval "value=\$${var}"
5844 if test "x$value" != x
; then
5845 cache_var
=CACHE_
$toolkit
5846 eval "cache=\$${cache_var}"
5847 if test "$cache" = 1; then
5848 echo "$var=$value" >> ${wx_arg_cache_file}
5850 if test "$value" = 1; then
5851 echo "$ac_t""`echo $toolkit | tr A-Z a-z`" 1>&6
5858 echo "$ac_t""base only" 1>&6
5862 cat > confcache
<<\EOF
5863 # This file is a shell script that caches the results of configure
5864 # tests run on this system so they can be shared between configure
5865 # scripts and configure runs. It is not useful on other systems.
5866 # If it contains results you don't want to keep, you may remove or edit it.
5868 # By default, configure uses ./config.cache as the cache file,
5869 # creating it if it does not exist already. You can give configure
5870 # the --cache-file=FILE option to use a different cache file; that is
5871 # what configure does when it calls configure scripts in
5872 # subdirectories, so they share the cache.
5873 # Giving --cache-file=/dev/null disables caching, for debugging configure.
5874 # config.status only pays attention to the cache file if you give it the
5875 # --recheck option to rerun configure.
5878 # The following way of writing the cache mishandles newlines in values,
5879 # but we know of no workaround that is simple, portable, and efficient.
5880 # So, don't put newlines in cache variables' values.
5881 # Ultrix sh set writes to stderr and can't be redirected directly,
5882 # and sets the high bit in the cache file unless we assign to the vars.
5884 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5886 # `set' does not quote correctly, so add quotes (double-quote substitution
5887 # turns \\\\ into \\, and sed turns \\ into \).
5889 -e "s/'/'\\\\''/g" \
5890 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
5893 # `set' quotes correctly as required by POSIX, so do not add quotes.
5894 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
5897 if cmp -s $cache_file confcache
; then
5900 if test -w $cache_file; then
5901 echo "updating cache $cache_file"
5902 cat confcache
> $cache_file
5904 echo "not updating unwritable cache $cache_file"
5910 if eval "test $host != $build"; then
5911 if eval "test $host_alias != NONE"; then
5915 RANLIB
=$host_alias-ranlib
5916 DLLTOOL
=$host_alias-dlltool
5919 STRIP
=$host_alias-strip
5923 # Extract the first word of "gcc", so it can be a program name with args.
5924 set dummy gcc
; ac_word
=$2
5925 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5926 echo "configure:5927: checking for $ac_word" >&5
5927 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
5928 echo $ac_n "(cached) $ac_c" 1>&6
5930 if test -n "$CC"; then
5931 ac_cv_prog_CC
="$CC" # Let the user override the test.
5933 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
5935 for ac_dir
in $ac_dummy; do
5936 test -z "$ac_dir" && ac_dir
=.
5937 if test -f $ac_dir/$ac_word; then
5946 if test -n "$CC"; then
5947 echo "$ac_t""$CC" 1>&6
5949 echo "$ac_t""no" 1>&6
5952 if test -z "$CC"; then
5953 # Extract the first word of "cc", so it can be a program name with args.
5954 set dummy cc
; ac_word
=$2
5955 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5956 echo "configure:5957: checking for $ac_word" >&5
5957 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
5958 echo $ac_n "(cached) $ac_c" 1>&6
5960 if test -n "$CC"; then
5961 ac_cv_prog_CC
="$CC" # Let the user override the test.
5963 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
5966 for ac_dir
in $ac_dummy; do
5967 test -z "$ac_dir" && ac_dir
=.
5968 if test -f $ac_dir/$ac_word; then
5969 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
5970 ac_prog_rejected
=yes
5978 if test $ac_prog_rejected = yes; then
5979 # We found a bogon in the path, so make sure we never use it.
5980 set dummy
$ac_cv_prog_CC
5982 if test $# -gt 0; then
5983 # We chose a different compiler from the bogus one.
5984 # However, it has the same basename, so the bogon will be chosen
5985 # first if we set CC to just the basename; use the full file name.
5987 set dummy
"$ac_dir/$ac_word" "$@"
5995 if test -n "$CC"; then
5996 echo "$ac_t""$CC" 1>&6
5998 echo "$ac_t""no" 1>&6
6001 if test -z "$CC"; then
6002 case "`uname -s`" in
6004 # Extract the first word of "cl", so it can be a program name with args.
6005 set dummy cl
; ac_word
=$2
6006 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6007 echo "configure:6008: checking for $ac_word" >&5
6008 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
6009 echo $ac_n "(cached) $ac_c" 1>&6
6011 if test -n "$CC"; then
6012 ac_cv_prog_CC
="$CC" # Let the user override the test.
6014 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6016 for ac_dir
in $ac_dummy; do
6017 test -z "$ac_dir" && ac_dir
=.
6018 if test -f $ac_dir/$ac_word; then
6027 if test -n "$CC"; then
6028 echo "$ac_t""$CC" 1>&6
6030 echo "$ac_t""no" 1>&6
6035 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
6038 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
6039 echo "configure:6040: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
6042 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6043 ac_cpp
='$CPP $CPPFLAGS'
6044 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6045 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6046 cross_compiling
=$ac_cv_prog_cc_cross
6048 cat > conftest.
$ac_ext << EOF
6050 #line 6051 "configure"
6051 #include "confdefs.h"
6055 if { (eval echo configure
:6056: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6056 ac_cv_prog_cc_works
=yes
6057 # If we can't run a trivial program, we are probably using a cross compiler.
6058 if (.
/conftest
; exit) 2>/dev
/null
; then
6059 ac_cv_prog_cc_cross
=no
6061 ac_cv_prog_cc_cross
=yes
6064 echo "configure: failed program was:" >&5
6065 cat conftest.
$ac_ext >&5
6066 ac_cv_prog_cc_works
=no
6070 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6071 ac_cpp
='$CPP $CPPFLAGS'
6072 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6073 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6074 cross_compiling
=$ac_cv_prog_cc_cross
6076 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
6077 if test $ac_cv_prog_cc_works = no
; then
6078 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
6080 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
6081 echo "configure:6082: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
6082 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
6083 cross_compiling
=$ac_cv_prog_cc_cross
6085 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
6086 echo "configure:6087: checking whether we are using GNU C" >&5
6087 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
6088 echo $ac_n "(cached) $ac_c" 1>&6
6090 cat > conftest.c
<<EOF
6095 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:6096: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
6102 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
6104 if test $ac_cv_prog_gcc = yes; then
6110 ac_test_CFLAGS
="${CFLAGS+set}"
6111 ac_save_CFLAGS
="$CFLAGS"
6113 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
6114 echo "configure:6115: checking whether ${CC-cc} accepts -g" >&5
6115 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
6116 echo $ac_n "(cached) $ac_c" 1>&6
6118 echo 'void f(){}' > conftest.c
6119 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
6128 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
6129 if test "$ac_test_CFLAGS" = set; then
6130 CFLAGS
="$ac_save_CFLAGS"
6131 elif test $ac_cv_prog_cc_g = yes; then
6132 if test "$GCC" = yes; then
6138 if test "$GCC" = yes; then
6146 CFLAGS
=`echo "$CFLAGS" | sed 's/-g//g'`
6148 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
6149 echo "configure:6150: checking how to run the C preprocessor" >&5
6150 # On Suns, sometimes $CPP names a directory.
6151 if test -n "$CPP" && test -d "$CPP"; then
6154 if test -z "$CPP"; then
6155 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
6156 echo $ac_n "(cached) $ac_c" 1>&6
6158 # This must be in double quotes, not single quotes, because CPP may get
6159 # substituted into the Makefile and "${CC-cc}" will confuse make.
6161 # On the NeXT, cc -E runs the code through the compiler's parser,
6162 # not just through cpp.
6163 cat > conftest.
$ac_ext <<EOF
6164 #line 6165 "configure"
6165 #include "confdefs.h"
6169 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6170 { (eval echo configure
:6171: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6171 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6172 if test -z "$ac_err"; then
6176 echo "configure: failed program was:" >&5
6177 cat conftest.
$ac_ext >&5
6179 CPP
="${CC-cc} -E -traditional-cpp"
6180 cat > conftest.
$ac_ext <<EOF
6181 #line 6182 "configure"
6182 #include "confdefs.h"
6186 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6187 { (eval echo configure
:6188: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6188 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6189 if test -z "$ac_err"; then
6193 echo "configure: failed program was:" >&5
6194 cat conftest.
$ac_ext >&5
6196 CPP
="${CC-cc} -nologo -E"
6197 cat > conftest.
$ac_ext <<EOF
6198 #line 6199 "configure"
6199 #include "confdefs.h"
6203 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6204 { (eval echo configure
:6205: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6205 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6206 if test -z "$ac_err"; then
6210 echo "configure: failed program was:" >&5
6211 cat conftest.
$ac_ext >&5
6220 ac_cv_prog_CPP
="$CPP"
6222 CPP
="$ac_cv_prog_CPP"
6224 ac_cv_prog_CPP
="$CPP"
6226 echo "$ac_t""$CPP" 1>&6
6229 if test $ac_cv_prog_gcc = yes; then
6230 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
6231 echo "configure:6232: checking whether ${CC-cc} needs -traditional" >&5
6232 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
6233 echo $ac_n "(cached) $ac_c" 1>&6
6235 ac_pattern
="Autoconf.*'x'"
6236 cat > conftest.
$ac_ext <<EOF
6237 #line 6238 "configure"
6238 #include "confdefs.h"
6242 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6243 egrep "$ac_pattern" >/dev
/null
2>&1; then
6245 ac_cv_prog_gcc_traditional
=yes
6248 ac_cv_prog_gcc_traditional
=no
6253 if test $ac_cv_prog_gcc_traditional = no
; then
6254 cat > conftest.
$ac_ext <<EOF
6255 #line 6256 "configure"
6256 #include "confdefs.h"
6260 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6261 egrep "$ac_pattern" >/dev
/null
2>&1; then
6263 ac_cv_prog_gcc_traditional
=yes
6270 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
6271 if test $ac_cv_prog_gcc_traditional = yes; then
6272 CC
="$CC -traditional"
6279 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6280 ac_cpp
='$CXXCPP $CPPFLAGS'
6281 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6282 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6283 cross_compiling
=$ac_cv_prog_cxx_cross
6286 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++ cl
6288 # Extract the first word of "$ac_prog", so it can be a program name with args.
6289 set dummy
$ac_prog; ac_word
=$2
6290 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6291 echo "configure:6292: checking for $ac_word" >&5
6292 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
6293 echo $ac_n "(cached) $ac_c" 1>&6
6295 if test -n "$CXX"; then
6296 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
6298 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6300 for ac_dir
in $ac_dummy; do
6301 test -z "$ac_dir" && ac_dir
=.
6302 if test -f $ac_dir/$ac_word; then
6303 ac_cv_prog_CXX
="$ac_prog"
6310 CXX
="$ac_cv_prog_CXX"
6311 if test -n "$CXX"; then
6312 echo "$ac_t""$CXX" 1>&6
6314 echo "$ac_t""no" 1>&6
6317 test -n "$CXX" && break
6319 test -n "$CXX" || CXX
="gcc"
6322 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
6323 echo "configure:6324: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
6326 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6327 ac_cpp
='$CXXCPP $CPPFLAGS'
6328 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6329 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6330 cross_compiling
=$ac_cv_prog_cxx_cross
6332 cat > conftest.
$ac_ext << EOF
6334 #line 6335 "configure"
6335 #include "confdefs.h"
6337 int main(){return(0);}
6339 if { (eval echo configure
:6340: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6340 ac_cv_prog_cxx_works
=yes
6341 # If we can't run a trivial program, we are probably using a cross compiler.
6342 if (.
/conftest
; exit) 2>/dev
/null
; then
6343 ac_cv_prog_cxx_cross
=no
6345 ac_cv_prog_cxx_cross
=yes
6348 echo "configure: failed program was:" >&5
6349 cat conftest.
$ac_ext >&5
6350 ac_cv_prog_cxx_works
=no
6354 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6355 ac_cpp
='$CXXCPP $CPPFLAGS'
6356 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6357 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6358 cross_compiling
=$ac_cv_prog_cxx_cross
6360 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
6361 if test $ac_cv_prog_cxx_works = no
; then
6362 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
6364 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
6365 echo "configure:6366: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
6366 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
6367 cross_compiling
=$ac_cv_prog_cxx_cross
6369 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
6370 echo "configure:6371: checking whether we are using GNU C++" >&5
6371 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
6372 echo $ac_n "(cached) $ac_c" 1>&6
6374 cat > conftest.C
<<EOF
6379 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:6380: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
6386 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
6388 if test $ac_cv_prog_gxx = yes; then
6394 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
6395 ac_save_CXXFLAGS
="$CXXFLAGS"
6397 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
6398 echo "configure:6399: checking whether ${CXX-g++} accepts -g" >&5
6399 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
6400 echo $ac_n "(cached) $ac_c" 1>&6
6402 echo 'void f(){}' > conftest.cc
6403 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
6404 ac_cv_prog_cxx_g
=yes
6412 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
6413 if test "$ac_test_CXXFLAGS" = set; then
6414 CXXFLAGS
="$ac_save_CXXFLAGS"
6415 elif test $ac_cv_prog_cxx_g = yes; then
6416 if test "$GXX" = yes; then
6422 if test "$GXX" = yes; then
6430 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
6431 echo "configure:6432: checking how to run the C++ preprocessor" >&5
6432 if test -z "$CXXCPP"; then
6433 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
6434 echo $ac_n "(cached) $ac_c" 1>&6
6437 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6438 ac_cpp
='$CXXCPP $CPPFLAGS'
6439 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6440 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6441 cross_compiling
=$ac_cv_prog_cxx_cross
6442 CXXCPP
="${CXX-g++} -E"
6443 cat > conftest.
$ac_ext <<EOF
6444 #line 6445 "configure"
6445 #include "confdefs.h"
6448 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6449 { (eval echo configure
:6450: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6450 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6451 if test -z "$ac_err"; then
6455 echo "configure: failed program was:" >&5
6456 cat conftest.
$ac_ext >&5
6461 ac_cv_prog_CXXCPP
="$CXXCPP"
6463 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6464 ac_cpp
='$CXXCPP $CPPFLAGS'
6465 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6466 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6467 cross_compiling
=$ac_cv_prog_cxx_cross
6470 CXXCPP
="$ac_cv_prog_CXXCPP"
6471 echo "$ac_t""$CXXCPP" 1>&6
6474 CXXFLAGS
=`echo "$CXXFLAGS" | sed 's/-g//g'`
6477 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6478 ac_cpp
='$CPP $CPPFLAGS'
6479 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6480 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6481 cross_compiling
=$ac_cv_prog_cc_cross
6484 # Extract the first word of "ranlib", so it can be a program name with args.
6485 set dummy ranlib
; ac_word
=$2
6486 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6487 echo "configure:6488: checking for $ac_word" >&5
6488 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
6489 echo $ac_n "(cached) $ac_c" 1>&6
6491 if test -n "$RANLIB"; then
6492 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6494 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6496 for ac_dir
in $ac_dummy; do
6497 test -z "$ac_dir" && ac_dir
=.
6498 if test -f $ac_dir/$ac_word; then
6499 ac_cv_prog_RANLIB
="ranlib"
6504 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
6507 RANLIB
="$ac_cv_prog_RANLIB"
6508 if test -n "$RANLIB"; then
6509 echo "$ac_t""$RANLIB" 1>&6
6511 echo "$ac_t""no" 1>&6
6515 # Extract the first word of "ar", so it can be a program name with args.
6516 set dummy
ar; ac_word
=$2
6517 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6518 echo "configure:6519: checking for $ac_word" >&5
6519 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
6520 echo $ac_n "(cached) $ac_c" 1>&6
6522 if test -n "$AR"; then
6523 ac_cv_prog_AR
="$AR" # Let the user override the test.
6525 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6527 for ac_dir
in $ac_dummy; do
6528 test -z "$ac_dir" && ac_dir
=.
6529 if test -f $ac_dir/$ac_word; then
6535 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
6539 if test -n "$AR"; then
6540 echo "$ac_t""$AR" 1>&6
6542 echo "$ac_t""no" 1>&6
6546 # Find a good install program. We prefer a C program (faster),
6547 # so one script is as good as another. But avoid the broken or
6548 # incompatible versions:
6549 # SysV /etc/install, /usr/sbin/install
6550 # SunOS /usr/etc/install
6551 # IRIX /sbin/install
6553 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6554 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6555 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6556 # ./install, which can be erroneously created by make from ./install.sh.
6557 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
6558 echo "configure:6559: checking for a BSD compatible install" >&5
6559 if test -z "$INSTALL"; then
6560 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
6561 echo $ac_n "(cached) $ac_c" 1>&6
6563 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
6564 for ac_dir
in $PATH; do
6565 # Account for people who put trailing slashes in PATH elements.
6567 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
6569 # OSF1 and SCO ODT 3.0 have their own names for install.
6570 # Don't use installbsd from OSF since it installs stuff as root
6572 for ac_prog
in ginstall scoinst
install; do
6573 if test -f $ac_dir/$ac_prog; then
6574 if test $ac_prog = install &&
6575 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
6576 # AIX install. It has an incompatible calling convention.
6579 ac_cv_path_install
="$ac_dir/$ac_prog -c"
6590 if test "${ac_cv_path_install+set}" = set; then
6591 INSTALL
="$ac_cv_path_install"
6593 # As a last resort, use the slow shell script. We don't cache a
6594 # path for INSTALL within a source directory, because that will
6595 # break other packages using the cache if that directory is
6596 # removed, or if the path is relative.
6597 INSTALL
="$ac_install_sh"
6600 echo "$ac_t""$INSTALL" 1>&6
6602 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6603 # It thinks the first close brace ends the variable substitution.
6604 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
6606 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
6608 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
6611 # Extract the first word of "strip", so it can be a program name with args.
6612 set dummy strip
; ac_word
=$2
6613 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6614 echo "configure:6615: checking for $ac_word" >&5
6615 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
6616 echo $ac_n "(cached) $ac_c" 1>&6
6618 if test -n "$STRIP"; then
6619 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6621 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6623 for ac_dir
in $ac_dummy; do
6624 test -z "$ac_dir" && ac_dir
=.
6625 if test -f $ac_dir/$ac_word; then
6626 ac_cv_prog_STRIP
="strip"
6631 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
6634 STRIP
="$ac_cv_prog_STRIP"
6635 if test -n "$STRIP"; then
6636 echo "$ac_t""$STRIP" 1>&6
6638 echo "$ac_t""no" 1>&6
6642 echo $ac_n "checking "make for VPATH support
"""... $ac_c" 1>&6
6643 echo "configure:6644: checking "make for VPATH support
"" >&5
6644 cat - << EOF > confMake
6650 if test ! -d sub
; then
6653 echo dummy
> sub
/file
6654 ${MAKE-make} -f confMake VPATH
=sub
2> config.log
> /dev
/null
6656 rm -f sub
/file check final_file confMake
6658 if test "$RESULT" = 0; then
6659 echo "$ac_t""yes" 1>&6
6661 echo "$ac_t""no" 1>&6
6662 { echo "configure: error: You need a make-utility that is able to use the variable
6664 If your version of make does not support VPATH correctly" 1>&2; exit 1; }
6667 for ac_prog
in 'bison -y' byacc
6669 # Extract the first word of "$ac_prog", so it can be a program name with args.
6670 set dummy
$ac_prog; ac_word
=$2
6671 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6672 echo "configure:6673: checking for $ac_word" >&5
6673 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
6674 echo $ac_n "(cached) $ac_c" 1>&6
6676 if test -n "$YACC"; then
6677 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
6679 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6681 for ac_dir
in $ac_dummy; do
6682 test -z "$ac_dir" && ac_dir
=.
6683 if test -f $ac_dir/$ac_word; then
6684 ac_cv_prog_YACC
="$ac_prog"
6691 YACC
="$ac_cv_prog_YACC"
6692 if test -n "$YACC"; then
6693 echo "$ac_t""$YACC" 1>&6
6695 echo "$ac_t""no" 1>&6
6698 test -n "$YACC" && break
6700 test -n "$YACC" || YACC
="yacc"
6703 # Extract the first word of "flex", so it can be a program name with args.
6704 set dummy flex
; ac_word
=$2
6705 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6706 echo "configure:6707: checking for $ac_word" >&5
6707 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
6708 echo $ac_n "(cached) $ac_c" 1>&6
6710 if test -n "$LEX"; then
6711 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
6713 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6715 for ac_dir
in $ac_dummy; do
6716 test -z "$ac_dir" && ac_dir
=.
6717 if test -f $ac_dir/$ac_word; then
6718 ac_cv_prog_LEX
="flex"
6723 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
6726 LEX
="$ac_cv_prog_LEX"
6727 if test -n "$LEX"; then
6728 echo "$ac_t""$LEX" 1>&6
6730 echo "$ac_t""no" 1>&6
6733 if test -z "$LEXLIB"
6739 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
6740 echo "configure:6741: checking for yywrap in -l$ac_lib" >&5
6741 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
6742 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6743 echo $ac_n "(cached) $ac_c" 1>&6
6745 ac_save_LIBS
="$LIBS"
6746 LIBS
="-l$ac_lib $LIBS"
6747 cat > conftest.
$ac_ext <<EOF
6748 #line 6749 "configure"
6749 #include "confdefs.h"
6750 /* Override any gcc2 internal prototype to avoid an error. */
6751 /* We use char because int might match the return type of a gcc2
6752 builtin and then its argument prototype would still apply. */
6759 if { (eval echo configure
:6760: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6761 eval "ac_cv_lib_$ac_lib_var=yes"
6763 echo "configure: failed program was:" >&5
6764 cat conftest.
$ac_ext >&5
6766 eval "ac_cv_lib_$ac_lib_var=no"
6769 LIBS
="$ac_save_LIBS"
6772 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6773 echo "$ac_t""yes" 1>&6
6776 echo "$ac_t""no" 1>&6
6782 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
6783 echo "configure:6784: checking whether ln -s works" >&5
6784 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
6785 echo $ac_n "(cached) $ac_c" 1>&6
6788 if ln -s X conftestdata
2>/dev
/null
6791 ac_cv_prog_LN_S
="ln -s"
6796 LN_S
="$ac_cv_prog_LN_S"
6797 if test "$ac_cv_prog_LN_S" = "ln -s"; then
6798 echo "$ac_t""yes" 1>&6
6800 echo "$ac_t""no" 1>&6
6806 /usr/local/include \
6808 /usr/Motif-1.2/include \
6809 /usr/Motif-2.1/include \
6811 /usr/include/Motif1.2 \
6812 /opt/xpm/include/X11 \
6813 /opt/GBxpm/include/ \
6814 /opt/GBxpm/X11/include/ \
6816 /usr/Motif1.2/include \
6818 /usr/openwin/include \
6822 /usr/X11R6/include \
6823 /usr/X11R6.4/include \
6824 /usr/X11R5/include \
6825 /usr/X11R4/include \
6827 /usr/include/X11R6 \
6828 /usr/include/X11R5 \
6829 /usr/include/X11R4 \
6831 /usr/local/X11R6/include \
6832 /usr/local/X11R5/include \
6833 /usr/local/X11R4/include \
6835 /usr/local/include/X11R6 \
6836 /usr/local/include/X11R5 \
6837 /usr/local/include/X11R4 \
6841 /usr/local/X11/include \
6842 /usr/local/include/X11 \
6846 /usr/XFree86/include/X11 \
6848 X:/XFree86/include \
6849 X:/XFree86/include/X11 \
6852 /usr/local/include/gtk \
6854 /usr/local/include/glib \
6857 /usr/local/include/qt \
6859 /usr/include/windows \
6861 /usr/local/include/wine \
6863 /usr/unsupported/include \
6864 /usr/athena/include \
6865 /usr/local/x11r5/include \
6866 /usr/lpp/Xamples/include \
6868 /usr/openwin/share/include \
6872 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
6875 cat > confcache
<<\EOF
6876 # This file is a shell script that caches the results of configure
6877 # tests run on this system so they can be shared between configure
6878 # scripts and configure runs. It is not useful on other systems.
6879 # If it contains results you don't want to keep, you may remove or edit it.
6881 # By default, configure uses ./config.cache as the cache file,
6882 # creating it if it does not exist already. You can give configure
6883 # the --cache-file=FILE option to use a different cache file; that is
6884 # what configure does when it calls configure scripts in
6885 # subdirectories, so they share the cache.
6886 # Giving --cache-file=/dev/null disables caching, for debugging configure.
6887 # config.status only pays attention to the cache file if you give it the
6888 # --recheck option to rerun configure.
6891 # The following way of writing the cache mishandles newlines in values,
6892 # but we know of no workaround that is simple, portable, and efficient.
6893 # So, don't put newlines in cache variables' values.
6894 # Ultrix sh set writes to stderr and can't be redirected directly,
6895 # and sets the high bit in the cache file unless we assign to the vars.
6897 case `(ac_space=' '; set | grep ac_space) 2>&1` in
6899 # `set' does not quote correctly, so add quotes (double-quote substitution
6900 # turns \\\\ into \\, and sed turns \\ into \).
6902 -e "s/'/'\\\\''/g" \
6903 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
6906 # `set' quotes correctly as required by POSIX, so do not add quotes.
6907 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
6910 if cmp -s $cache_file confcache
; then
6913 if test -w $cache_file; then
6914 echo "updating cache $cache_file"
6915 cat confcache
> $cache_file
6917 echo "not updating unwritable cache $cache_file"
6926 if test "$wxUSE_GUI" = "yes"; then
6945 if test "$wxUSE_CYGWIN" = 1 || test "$wxUSE_MINGW" = 1 ; then
6946 if test "$cross_compiling" = "yes" ; then
6947 echo "configure: warning: Cross compiling --- skipping windows.h check" 1>&2
6949 echo $ac_n "checking for Windows headers""... $ac_c" 1>&6
6950 echo "configure:6951: checking for Windows headers" >&5
6953 for ac_dir
in $SEARCH_INCLUDE;
6955 if test -f "$ac_dir/windows.h"; then
6956 ac_find_includes
=$ac_dir
6961 if test "$ac_find_includes" != "" ; then
6962 echo "$ac_t""found $ac_find_includes" 1>&6
6963 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE -I$ac_find_includes"
6965 echo "$ac_t""no" 1>&6
6966 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
6970 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS msw"
6971 LIBS
="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -lcrtdll -ladvapi32 -lwsock32"
6973 if test "$wxUSE_MINGW" = 1; then
6974 LDFLAGS
="$LDFLAGS -mwindows"
6979 GUIOBJS
="\$(MSW_GUIOBJS)"
6980 GUIHEADERS
="\$(MSW_HEADERS)"
6981 COMMONOBJS
="\$(MSW_COMMONOBJS)"
6982 GENERICOBJS
="\$(MSW_GENERICOBJS)"
6987 if test "$wxUSE_GTK" = 1; then
6989 if test x
$gtk_config_exec_prefix != x
; then
6990 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
6991 if test x
${GTK_CONFIG+set} != xset
; then
6992 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
6995 if test x
$gtk_config_prefix != x
; then
6996 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
6997 if test x
${GTK_CONFIG+set} != xset
; then
6998 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
7002 # Extract the first word of "gtk-config", so it can be a program name with args.
7003 set dummy gtk
-config; ac_word
=$2
7004 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7005 echo "configure:7006: checking for $ac_word" >&5
7006 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
7007 echo $ac_n "(cached) $ac_c" 1>&6
7009 case "$GTK_CONFIG" in
7011 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
7014 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
7017 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7019 for ac_dir
in $ac_dummy; do
7020 test -z "$ac_dir" && ac_dir
=.
7021 if test -f $ac_dir/$ac_word; then
7022 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
7027 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
7031 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
7032 if test -n "$GTK_CONFIG"; then
7033 echo "$ac_t""$GTK_CONFIG" 1>&6
7035 echo "$ac_t""no" 1>&6
7038 min_gtk_version
=1.2.3
7039 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
7040 echo "configure:7041: checking for GTK - version >= $min_gtk_version" >&5
7042 if test "$GTK_CONFIG" != "no" ; then
7043 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
7044 GTK_LIBS
=`$GTK_CONFIG --libs gthread`
7045 ac_save_CFLAGS
="$CFLAGS"
7046 ac_save_LIBS
="$LIBS"
7047 CFLAGS
="$CFLAGS $GTK_CFLAGS"
7048 LIBS
="$LIBS $GTK_LIBS"
7049 if test "$cross_compiling" = yes; then
7050 echo $ac_n "cross compiling; assumed OK... $ac_c"
7052 cat > conftest.
$ac_ext <<EOF
7053 #line 7054 "configure"
7054 #include "confdefs.h"
7056 #include <gtk/gtk.h>
7057 #include <gtk/gtkfeatures.h>
7063 int major, minor, micro;
7065 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
7066 printf("%s, bad version string\n", "$min_gtk_version");
7070 if ((GTK_MAJOR_VERSION != gtk_major_version) ||
7071 (GTK_MINOR_VERSION != gtk_minor_version) ||
7072 (GTK_MICRO_VERSION != gtk_micro_version)) {
7073 printf("Headers vs. library version mismatch!\n");
7077 if (gtk_minor_version == 1) return FALSE;
7079 return !((gtk_major_version > major) ||
7080 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
7081 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
7085 if { (eval echo configure
:7086: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
7089 echo "configure: failed program was:" >&5
7090 cat conftest.
$ac_ext >&5
7097 CFLAGS
="$ac_save_CFLAGS"
7098 LIBS
="$ac_save_LIBS"
7102 if test "x$no_gtk" = x
; then
7103 echo "$ac_t""yes" 1>&6
7106 echo "$ac_t""no" 1>&6
7115 if test "$WXGTK12" != 1; then
7116 { echo "configure: error:
7117 Please check that gtk-config is in path, the directory
7118 where GTK+ libraries are installed (returned by
7119 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
7120 equivalent variable and GTK+ is version 1.2.3 or above.
7125 TOOLKIT_INCLUDE
="$GTK_CFLAGS"
7128 GUI_TK_LIBRARY
="$GTK_LIBS"
7132 AFMINSTALL
=afminstall
7134 GUIOBJS
="\$(GTK_GUIOBJS)"
7135 GUIHEADERS
="\$(GTK_HEADERS)"
7136 COMMONOBJS
="\$(GTK_COMMONOBJS)"
7137 GENERICOBJS
="\$(GTK_GENERICOBJS)"
7138 GUIDEPS
="\$(GTK_GUIDEPS)"
7139 COMMONDEPS
="\$(GTK_COMMONDEPS)"
7140 GENERICDEPS
="\$(GTK_GENERICDEPS)"
7141 UNIXOBJS
="\$(UNIX_OBJS)"
7142 UNIXDEPS
="\$(UNIX_DEPS)"
7145 echo $ac_n "checking for gdk_im_open in -lgdk""... $ac_c" 1>&6
7146 echo "configure:7147: checking for gdk_im_open in -lgdk" >&5
7147 ac_lib_var
=`echo gdk'_'gdk_im_open | sed 'y%./+-%__p_%'`
7148 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7149 echo $ac_n "(cached) $ac_c" 1>&6
7151 ac_save_LIBS
="$LIBS"
7153 cat > conftest.
$ac_ext <<EOF
7154 #line 7155 "configure"
7155 #include "confdefs.h"
7156 /* Override any gcc2 internal prototype to avoid an error. */
7157 /* We use char because int might match the return type of a gcc2
7158 builtin and then its argument prototype would still apply. */
7165 if { (eval echo configure
:7166: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7167 eval "ac_cv_lib_$ac_lib_var=yes"
7169 echo "configure: failed program was:" >&5
7170 cat conftest.
$ac_ext >&5
7172 eval "ac_cv_lib_$ac_lib_var=no"
7175 LIBS
="$ac_save_LIBS"
7178 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7179 echo "$ac_t""yes" 1>&6
7180 cat >> confdefs.h
<<\EOF
7185 echo "$ac_t""no" 1>&6
7190 if test "$wxUSE_WINE" = 1; then
7191 echo $ac_n "checking for WINE includes""... $ac_c" 1>&6
7192 echo "configure:7193: checking for WINE includes" >&5
7195 for ac_dir
in $SEARCH_INCLUDE;
7197 if test -f "$ac_dir/windows.h"; then
7198 ac_find_includes
=$ac_dir
7203 if test "$ac_find_includes" != "" ; then
7204 echo "$ac_t""found $ac_find_includes" 1>&6
7205 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE -I$ac_find_includes"
7207 echo "$ac_t""no" 1>&6
7208 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
7212 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
7213 echo "configure:7214: checking for Xpm library" >&5
7216 for ac_dir
in $SEARCH_LIB;
7218 for ac_extension
in a so sl
; do
7219 if test -f "$ac_dir/libXpm.$ac_extension"; then
7220 ac_find_libraries
=$ac_dir
7226 if test "$ac_find_libraries" != "" ; then
7227 GUI_TK_LIBRARY
="-L$ac_find_libraries"
7229 cat >> confdefs.h
<<\EOF
7230 #define wxHAVE_LIB_XPM 1
7233 echo "$ac_t""found at $ac_find_libraries" 1>&6
7235 echo "$ac_t""no" 1>&6
7236 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
7240 echo $ac_n "checking for Mesa library""... $ac_c" 1>&6
7241 echo "configure:7242: checking for Mesa library" >&5
7244 for ac_dir
in $SEARCH_LIB;
7246 for ac_extension
in a so sl
; do
7247 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
7248 ac_find_libraries
=$ac_dir
7254 if test "$ac_find_libraries" != "" ; then
7255 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -L$ac_find_libraries"
7256 MESA_LINK
="-lMesaGL"
7257 echo "$ac_t""found at $ac_find_libraries" 1>&6
7259 { echo "configure: error: no" 1>&2; exit 1; }
7262 GUI_TK_LINK
="-lwine $MESA_LINK $XPM_LINK -lXxf86dga -lXxf86vm -lSM -lICE -lXext -lXmu -lX11 -lncurses -lm"
7263 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GUI_TK_LINK"
7267 GUIHEADERS
="\$(MSW_HEADERS)"
7268 GUIOBJS
="\$(MSW_GUIOBJS)"
7269 COMMONOBJS
="\$(MSW_COMMONOBJS)"
7270 GENERICOBJS
="\$(MSW_GENERICOBJS)"
7271 GUIDEPS
="\$(MSW_GUIDEPS)"
7272 COMMONDEPS
="\$(MSW_COMMONDEPS)"
7273 GENERICDEPS
="\$(MSW_GENERICDEPS)"
7274 UNIXOBJS
="\$(UNIX_OBJS)"
7275 UNIXDEPS
="\$(UNIX_DEPS)"
7279 if test "$wxUSE_MOTIF" = 1; then
7280 # If we find X, set shell vars x_includes and x_libraries to the
7281 # paths, otherwise set no_x=yes.
7282 # Uses ac_ vars as temps to allow command line to override cache and checks.
7283 # --without-x overrides everything else, but does not touch the cache.
7284 echo $ac_n "checking for X""... $ac_c" 1>&6
7285 echo "configure:7286: checking for X" >&5
7287 # Check whether --with-x or --without-x was given.
7288 if test "${with_x+set}" = set; then
7293 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
7294 if test "x$with_x" = xno
; then
7295 # The user explicitly disabled X.
7298 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
7299 # Both variables are already set.
7302 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
7303 echo $ac_n "(cached) $ac_c" 1>&6
7305 # One or both of the vars are not set, and there is no cached value.
7306 ac_x_includes
=NO ac_x_libraries
=NO
7308 if mkdir conftestdir
; then
7310 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
7311 cat > Imakefile
<<'EOF'
7313 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
7315 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
7316 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
7317 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
7318 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
7319 for ac_extension
in a so sl
; do
7320 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
7321 test -f $ac_im_libdir/libX11.
$ac_extension; then
7322 ac_im_usrlibdir
=$ac_im_libdir; break
7325 # Screen out bogus values from the imake configuration. They are
7326 # bogus both because they are the default anyway, and because
7327 # using them would break gcc on systems where it needs fixed includes.
7328 case "$ac_im_incroot" in
7330 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;;
7332 case "$ac_im_usrlibdir" in
7334 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;;
7341 if test "$ac_x_includes" = NO
; then
7342 # Guess where to find include files, by looking for this one X11 .h file.
7343 test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
7345 # First, try using that file with no special directory specified.
7346 cat > conftest.
$ac_ext <<EOF
7347 #line 7348 "configure"
7348 #include "confdefs.h"
7349 #include <$x_direct_test_include>
7351 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7352 { (eval echo configure
:7353: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7353 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7354 if test -z "$ac_err"; then
7356 # We can compile using X headers with no special include directory.
7360 echo "configure: failed program was:" >&5
7361 cat conftest.
$ac_ext >&5
7363 # Look for the header file in a standard set of common directories.
7364 # Check X11 before X11Rn because it is often a symlink to the current release.
7367 /usr
/X
11R
6/include \
7368 /usr
/X
11R
5/include \
7369 /usr
/X
11R
4/include \
7372 /usr
/include
/X11R6 \
7373 /usr
/include
/X11R5 \
7374 /usr
/include
/X11R4 \
7376 /usr
/local
/X
11/include \
7377 /usr
/local
/X
11R
6/include \
7378 /usr
/local
/X
11R
5/include \
7379 /usr
/local
/X
11R
4/include \
7381 /usr
/local
/include
/X11 \
7382 /usr
/local
/include
/X11R6 \
7383 /usr
/local
/include
/X11R5 \
7384 /usr
/local
/include
/X11R4 \
7388 /usr
/XFree
86/include
/X11 \
7391 /usr
/local
/include \
7392 /usr
/unsupported
/include \
7393 /usr
/athena
/include \
7394 /usr
/local
/x
11r
5/include \
7395 /usr
/lpp
/Xamples
/include \
7397 /usr
/openwin
/include \
7398 /usr
/openwin
/share
/include \
7401 if test -r "$ac_dir/$x_direct_test_include"; then
7402 ac_x_includes
=$ac_dir
7408 fi # $ac_x_includes = NO
7410 if test "$ac_x_libraries" = NO
; then
7411 # Check for the libraries.
7413 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
7414 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
7416 # See if we find them without any special options.
7417 # Don't add to $LIBS permanently.
7418 ac_save_LIBS
="$LIBS"
7419 LIBS
="-l$x_direct_test_library $LIBS"
7420 cat > conftest.
$ac_ext <<EOF
7421 #line 7422 "configure"
7422 #include "confdefs.h"
7425 ${x_direct_test_function}()
7428 if { (eval echo configure
:7429: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7430 LIBS
="$ac_save_LIBS"
7431 # We can link X programs with no special library path.
7434 echo "configure: failed program was:" >&5
7435 cat conftest.
$ac_ext >&5
7437 LIBS
="$ac_save_LIBS"
7438 # First see if replacing the include by lib works.
7439 # Check X11 before X11Rn because it is often a symlink to the current release.
7440 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib/` \
7451 /usr
/local
/X
11/lib \
7452 /usr
/local
/X
11R
6/lib \
7453 /usr
/local
/X
11R
5/lib \
7454 /usr
/local
/X
11R
4/lib \
7456 /usr
/local
/lib
/X11 \
7457 /usr
/local
/lib
/X11R6 \
7458 /usr
/local
/lib
/X11R5 \
7459 /usr
/local
/lib
/X11R4 \
7463 /usr
/XFree
86/lib
/X11 \
7467 /usr
/unsupported
/lib \
7469 /usr
/local
/x
11r
5/lib \
7470 /usr
/lpp
/Xamples
/lib \
7474 /usr
/openwin
/share
/lib \
7477 for ac_extension
in a so sl
; do
7478 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
7479 ac_x_libraries
=$ac_dir
7486 fi # $ac_x_libraries = NO
7488 if test "$ac_x_includes" = NO
|| test "$ac_x_libraries" = NO
; then
7489 # Didn't find X anywhere. Cache the known absence of X.
7490 ac_cv_have_x
="have_x=no"
7492 # Record where we found X for the cache.
7493 ac_cv_have_x
="have_x=yes \
7494 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
7498 eval "$ac_cv_have_x"
7501 if test "$have_x" != yes; then
7502 echo "$ac_t""$have_x" 1>&6
7505 # If each of the values was on the command line, it overrides each guess.
7506 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
7507 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
7508 # Update the cache value to reflect the command line values.
7509 ac_cv_have_x
="have_x=yes \
7510 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
7511 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
7514 if test "$no_x" = yes; then
7515 # Not all programs may use this symbol, but it does not hurt to define it.
7516 cat >> confdefs.h
<<\EOF
7517 #define X_DISPLAY_MISSING 1
7520 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
7522 if test -n "$x_includes"; then
7523 X_CFLAGS
="$X_CFLAGS -I$x_includes"
7526 # It would also be nice to do this for all -L options, not just this one.
7527 if test -n "$x_libraries"; then
7528 X_LIBS
="$X_LIBS -L$x_libraries"
7529 # For Solaris; some versions of Sun CC require a space after -R and
7530 # others require no space. Words are not sufficient . . . .
7531 case "`(uname -sr) 2>/dev/null`" in
7533 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
7534 echo "configure:7535: checking whether -R must be followed by a space" >&5
7535 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
7536 cat > conftest.
$ac_ext <<EOF
7537 #line 7538 "configure"
7538 #include "confdefs.h"
7544 if { (eval echo configure
:7545: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7548 echo "configure: failed program was:" >&5
7549 cat conftest.
$ac_ext >&5
7554 if test $ac_R_nospace = yes; then
7555 echo "$ac_t""no" 1>&6
7556 X_LIBS
="$X_LIBS -R$x_libraries"
7558 LIBS
="$ac_xsave_LIBS -R $x_libraries"
7559 cat > conftest.
$ac_ext <<EOF
7560 #line 7561 "configure"
7561 #include "confdefs.h"
7567 if { (eval echo configure
:7568: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7571 echo "configure: failed program was:" >&5
7572 cat conftest.
$ac_ext >&5
7577 if test $ac_R_space = yes; then
7578 echo "$ac_t""yes" 1>&6
7579 X_LIBS
="$X_LIBS -R $x_libraries"
7581 echo "$ac_t""neither works" 1>&6
7584 LIBS
="$ac_xsave_LIBS"
7588 # Check for system-dependent libraries X programs must link with.
7589 # Do this before checking for the system-independent R6 libraries
7590 # (-lICE), since we may need -lsocket or whatever for X linking.
7592 if test "$ISC" = yes; then
7593 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
7595 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
7596 # libraries were built with DECnet support. And karl@cs.umb.edu says
7597 # the Alpha needs dnet_stub (dnet does not exist).
7598 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
7599 echo "configure:7600: checking for dnet_ntoa in -ldnet" >&5
7600 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
7601 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7602 echo $ac_n "(cached) $ac_c" 1>&6
7604 ac_save_LIBS
="$LIBS"
7606 cat > conftest.
$ac_ext <<EOF
7607 #line 7608 "configure"
7608 #include "confdefs.h"
7609 /* Override any gcc2 internal prototype to avoid an error. */
7610 /* We use char because int might match the return type of a gcc2
7611 builtin and then its argument prototype would still apply. */
7618 if { (eval echo configure
:7619: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7620 eval "ac_cv_lib_$ac_lib_var=yes"
7622 echo "configure: failed program was:" >&5
7623 cat conftest.
$ac_ext >&5
7625 eval "ac_cv_lib_$ac_lib_var=no"
7628 LIBS
="$ac_save_LIBS"
7631 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7632 echo "$ac_t""yes" 1>&6
7633 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
7635 echo "$ac_t""no" 1>&6
7638 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
7639 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
7640 echo "configure:7641: checking for dnet_ntoa in -ldnet_stub" >&5
7641 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
7642 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7643 echo $ac_n "(cached) $ac_c" 1>&6
7645 ac_save_LIBS
="$LIBS"
7646 LIBS
="-ldnet_stub $LIBS"
7647 cat > conftest.
$ac_ext <<EOF
7648 #line 7649 "configure"
7649 #include "confdefs.h"
7650 /* Override any gcc2 internal prototype to avoid an error. */
7651 /* We use char because int might match the return type of a gcc2
7652 builtin and then its argument prototype would still apply. */
7659 if { (eval echo configure
:7660: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7661 eval "ac_cv_lib_$ac_lib_var=yes"
7663 echo "configure: failed program was:" >&5
7664 cat conftest.
$ac_ext >&5
7666 eval "ac_cv_lib_$ac_lib_var=no"
7669 LIBS
="$ac_save_LIBS"
7672 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7673 echo "$ac_t""yes" 1>&6
7674 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
7676 echo "$ac_t""no" 1>&6
7681 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
7682 # to get the SysV transport functions.
7683 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
7685 # The nsl library prevents programs from opening the X display
7686 # on Irix 5.2, according to dickey@clark.net.
7687 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
7688 echo "configure:7689: checking for gethostbyname" >&5
7689 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
7690 echo $ac_n "(cached) $ac_c" 1>&6
7692 cat > conftest.
$ac_ext <<EOF
7693 #line 7694 "configure"
7694 #include "confdefs.h"
7695 /* System header to define __stub macros and hopefully few prototypes,
7696 which can conflict with char gethostbyname(); below. */
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. */
7701 char gethostbyname();
7705 /* The GNU C library defines this for functions which it implements
7706 to always fail with ENOSYS. Some functions are actually named
7707 something starting with __ and the normal name is an alias. */
7708 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
7716 if { (eval echo configure
:7717: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7718 eval "ac_cv_func_gethostbyname=yes"
7720 echo "configure: failed program was:" >&5
7721 cat conftest.
$ac_ext >&5
7723 eval "ac_cv_func_gethostbyname=no"
7728 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
7729 echo "$ac_t""yes" 1>&6
7732 echo "$ac_t""no" 1>&6
7735 if test $ac_cv_func_gethostbyname = no
; then
7736 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
7737 echo "configure:7738: checking for gethostbyname in -lnsl" >&5
7738 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
7739 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7740 echo $ac_n "(cached) $ac_c" 1>&6
7742 ac_save_LIBS
="$LIBS"
7744 cat > conftest.
$ac_ext <<EOF
7745 #line 7746 "configure"
7746 #include "confdefs.h"
7747 /* Override any gcc2 internal prototype to avoid an error. */
7748 /* We use char because int might match the return type of a gcc2
7749 builtin and then its argument prototype would still apply. */
7750 char gethostbyname();
7756 if { (eval echo configure
:7757: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7758 eval "ac_cv_lib_$ac_lib_var=yes"
7760 echo "configure: failed program was:" >&5
7761 cat conftest.
$ac_ext >&5
7763 eval "ac_cv_lib_$ac_lib_var=no"
7766 LIBS
="$ac_save_LIBS"
7769 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7770 echo "$ac_t""yes" 1>&6
7771 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
7773 echo "$ac_t""no" 1>&6
7778 # lieder@skyler.mavd.honeywell.com says without -lsocket,
7779 # socket/setsockopt and other routines are undefined under SCO ODT
7780 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
7781 # on later versions), says simon@lia.di.epfl.ch: it contains
7782 # gethostby* variants that don't use the nameserver (or something).
7783 # -lsocket must be given before -lnsl if both are needed.
7784 # We assume that if connect needs -lnsl, so does gethostbyname.
7785 echo $ac_n "checking for connect""... $ac_c" 1>&6
7786 echo "configure:7787: checking for connect" >&5
7787 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
7788 echo $ac_n "(cached) $ac_c" 1>&6
7790 cat > conftest.
$ac_ext <<EOF
7791 #line 7792 "configure"
7792 #include "confdefs.h"
7793 /* System header to define __stub macros and hopefully few prototypes,
7794 which can conflict with char connect(); below. */
7796 /* Override any gcc2 internal prototype to avoid an error. */
7797 /* We use char because int might match the return type of a gcc2
7798 builtin and then its argument prototype would still apply. */
7803 /* The GNU C library defines this for functions which it implements
7804 to always fail with ENOSYS. Some functions are actually named
7805 something starting with __ and the normal name is an alias. */
7806 #if defined (__stub_connect) || defined (__stub___connect)
7814 if { (eval echo configure
:7815: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7816 eval "ac_cv_func_connect=yes"
7818 echo "configure: failed program was:" >&5
7819 cat conftest.
$ac_ext >&5
7821 eval "ac_cv_func_connect=no"
7826 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
7827 echo "$ac_t""yes" 1>&6
7830 echo "$ac_t""no" 1>&6
7833 if test $ac_cv_func_connect = no
; then
7834 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
7835 echo "configure:7836: checking for connect in -lsocket" >&5
7836 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
7837 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7838 echo $ac_n "(cached) $ac_c" 1>&6
7840 ac_save_LIBS
="$LIBS"
7841 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
7842 cat > conftest.
$ac_ext <<EOF
7843 #line 7844 "configure"
7844 #include "confdefs.h"
7845 /* Override any gcc2 internal prototype to avoid an error. */
7846 /* We use char because int might match the return type of a gcc2
7847 builtin and then its argument prototype would still apply. */
7854 if { (eval echo configure
:7855: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7856 eval "ac_cv_lib_$ac_lib_var=yes"
7858 echo "configure: failed program was:" >&5
7859 cat conftest.
$ac_ext >&5
7861 eval "ac_cv_lib_$ac_lib_var=no"
7864 LIBS
="$ac_save_LIBS"
7867 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7868 echo "$ac_t""yes" 1>&6
7869 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
7871 echo "$ac_t""no" 1>&6
7876 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
7877 echo $ac_n "checking for remove""... $ac_c" 1>&6
7878 echo "configure:7879: checking for remove" >&5
7879 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
7880 echo $ac_n "(cached) $ac_c" 1>&6
7882 cat > conftest.
$ac_ext <<EOF
7883 #line 7884 "configure"
7884 #include "confdefs.h"
7885 /* System header to define __stub macros and hopefully few prototypes,
7886 which can conflict with char remove(); below. */
7888 /* Override any gcc2 internal prototype to avoid an error. */
7889 /* We use char because int might match the return type of a gcc2
7890 builtin and then its argument prototype would still apply. */
7895 /* The GNU C library defines this for functions which it implements
7896 to always fail with ENOSYS. Some functions are actually named
7897 something starting with __ and the normal name is an alias. */
7898 #if defined (__stub_remove) || defined (__stub___remove)
7906 if { (eval echo configure
:7907: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7908 eval "ac_cv_func_remove=yes"
7910 echo "configure: failed program was:" >&5
7911 cat conftest.
$ac_ext >&5
7913 eval "ac_cv_func_remove=no"
7918 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
7919 echo "$ac_t""yes" 1>&6
7922 echo "$ac_t""no" 1>&6
7925 if test $ac_cv_func_remove = no
; then
7926 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
7927 echo "configure:7928: checking for remove in -lposix" >&5
7928 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
7929 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7930 echo $ac_n "(cached) $ac_c" 1>&6
7932 ac_save_LIBS
="$LIBS"
7933 LIBS
="-lposix $LIBS"
7934 cat > conftest.
$ac_ext <<EOF
7935 #line 7936 "configure"
7936 #include "confdefs.h"
7937 /* Override any gcc2 internal prototype to avoid an error. */
7938 /* We use char because int might match the return type of a gcc2
7939 builtin and then its argument prototype would still apply. */
7946 if { (eval echo configure
:7947: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7948 eval "ac_cv_lib_$ac_lib_var=yes"
7950 echo "configure: failed program was:" >&5
7951 cat conftest.
$ac_ext >&5
7953 eval "ac_cv_lib_$ac_lib_var=no"
7956 LIBS
="$ac_save_LIBS"
7959 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7960 echo "$ac_t""yes" 1>&6
7961 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
7963 echo "$ac_t""no" 1>&6
7968 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
7969 echo $ac_n "checking for shmat""... $ac_c" 1>&6
7970 echo "configure:7971: checking for shmat" >&5
7971 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
7972 echo $ac_n "(cached) $ac_c" 1>&6
7974 cat > conftest.
$ac_ext <<EOF
7975 #line 7976 "configure"
7976 #include "confdefs.h"
7977 /* System header to define __stub macros and hopefully few prototypes,
7978 which can conflict with char shmat(); below. */
7980 /* Override any gcc2 internal prototype to avoid an error. */
7981 /* We use char because int might match the return type of a gcc2
7982 builtin and then its argument prototype would still apply. */
7987 /* The GNU C library defines this for functions which it implements
7988 to always fail with ENOSYS. Some functions are actually named
7989 something starting with __ and the normal name is an alias. */
7990 #if defined (__stub_shmat) || defined (__stub___shmat)
7998 if { (eval echo configure
:7999: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8000 eval "ac_cv_func_shmat=yes"
8002 echo "configure: failed program was:" >&5
8003 cat conftest.
$ac_ext >&5
8005 eval "ac_cv_func_shmat=no"
8010 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
8011 echo "$ac_t""yes" 1>&6
8014 echo "$ac_t""no" 1>&6
8017 if test $ac_cv_func_shmat = no
; then
8018 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
8019 echo "configure:8020: checking for shmat in -lipc" >&5
8020 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
8021 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8022 echo $ac_n "(cached) $ac_c" 1>&6
8024 ac_save_LIBS
="$LIBS"
8026 cat > conftest.
$ac_ext <<EOF
8027 #line 8028 "configure"
8028 #include "confdefs.h"
8029 /* Override any gcc2 internal prototype to avoid an error. */
8030 /* We use char because int might match the return type of a gcc2
8031 builtin and then its argument prototype would still apply. */
8038 if { (eval echo configure
:8039: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8040 eval "ac_cv_lib_$ac_lib_var=yes"
8042 echo "configure: failed program was:" >&5
8043 cat conftest.
$ac_ext >&5
8045 eval "ac_cv_lib_$ac_lib_var=no"
8048 LIBS
="$ac_save_LIBS"
8051 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8052 echo "$ac_t""yes" 1>&6
8053 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
8055 echo "$ac_t""no" 1>&6
8061 # Check for libraries that X11R6 Xt/Xaw programs need.
8062 ac_save_LDFLAGS
="$LDFLAGS"
8063 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
8064 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
8065 # check for ICE first), but we must link in the order -lSM -lICE or
8066 # we get undefined symbols. So assume we have SM if we have ICE.
8067 # These have to be linked with before -lX11, unlike the other
8068 # libraries we check for below, so use a different variable.
8069 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
8070 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
8071 echo "configure:8072: checking for IceConnectionNumber in -lICE" >&5
8072 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
8073 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8074 echo $ac_n "(cached) $ac_c" 1>&6
8076 ac_save_LIBS
="$LIBS"
8077 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
8078 cat > conftest.
$ac_ext <<EOF
8079 #line 8080 "configure"
8080 #include "confdefs.h"
8081 /* Override any gcc2 internal prototype to avoid an error. */
8082 /* We use char because int might match the return type of a gcc2
8083 builtin and then its argument prototype would still apply. */
8084 char IceConnectionNumber();
8087 IceConnectionNumber()
8090 if { (eval echo configure
:8091: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8092 eval "ac_cv_lib_$ac_lib_var=yes"
8094 echo "configure: failed program was:" >&5
8095 cat conftest.
$ac_ext >&5
8097 eval "ac_cv_lib_$ac_lib_var=no"
8100 LIBS
="$ac_save_LIBS"
8103 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8104 echo "$ac_t""yes" 1>&6
8105 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
8107 echo "$ac_t""no" 1>&6
8110 LDFLAGS
="$ac_save_LDFLAGS"
8115 if test "$no_x" = "yes"; then
8116 { echo "configure: error: X11 not found" 1>&2; exit 1; }
8119 GUI_TK_LIBRARY
="$X_LIBS"
8120 TOOLKIT_INCLUDE
="$X_CFLAGS"
8122 AFMINSTALL
=afminstall
8125 COMPILED_X_PROGRAM
=0
8127 echo $ac_n "checking for Motif/Lesstif headers""... $ac_c" 1>&6
8128 echo "configure:8129: checking for Motif/Lesstif headers" >&5
8131 for ac_dir
in $SEARCH_INCLUDE;
8133 if test -f "$ac_dir/Xm/Xm.h"; then
8134 ac_find_includes
=$ac_dir
8139 if test "$ac_find_includes" != "" ; then
8140 echo "$ac_t""found $ac_find_includes" 1>&6
8142 cat > conftest.
$ac_ext <<EOF
8143 #line 8144 "configure"
8144 #include "confdefs.h"
8152 version = xmUseVersion;
8156 if { (eval echo configure
:8157: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8159 echo "$ac_t""found in default search path" 1>&6
8160 COMPILED_X_PROGRAM
=1
8163 echo "configure: failed program was:" >&5
8164 cat conftest.
$ac_ext >&5
8167 echo "$ac_t""no" 1>&6
8168 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
8175 if test "$COMPILED_X_PROGRAM" = 0; then
8176 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
8177 echo "configure:8178: checking for Motif/Lesstif library" >&5
8180 for ac_dir
in $SEARCH_LIB;
8182 for ac_extension
in a so sl
; do
8183 if test -f "$ac_dir/libXm.$ac_extension"; then
8184 ac_find_libraries
=$ac_dir
8190 if test "$ac_find_libraries" != "" ; then
8192 ac_path_to_include
=$ac_find_includes
8193 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
8195 if test $result = 0; then
8196 ac_path_to_include
=""
8198 ac_path_to_include
="-I$ac_find_includes"
8202 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
8204 if test $result = 0; then
8207 ac_path_to_link
="-L$ac_find_libraries"
8211 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
8212 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE $ac_path_to_include"
8213 echo "$ac_t""found at $ac_find_libraries" 1>&6
8215 cat > conftest.
$ac_ext <<EOF
8216 #line 8217 "configure"
8217 #include "confdefs.h"
8225 version = xmUseVersion;
8229 if { (eval echo configure
:8230: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8232 echo "$ac_t""found in default search path" 1>&6
8233 COMPILED_X_PROGRAM
=1
8236 echo "configure: failed program was:" >&5
8237 cat conftest.
$ac_ext >&5
8240 echo "$ac_t""no" 1>&6
8241 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
8251 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
8252 echo "configure:8253: checking for Xpm library" >&5
8255 for ac_dir
in $SEARCH_LIB;
8257 for ac_extension
in a so sl
; do
8258 if test -f "$ac_dir/libXpm.$ac_extension"; then
8259 ac_find_libraries
=$ac_dir
8265 if test "$ac_find_libraries" != "" ; then
8267 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
8269 if test $result = 0; then
8272 ac_path_to_link
="-L$ac_find_libraries"
8275 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
8277 cat >> confdefs.h
<<\EOF
8278 #define wxHAVE_LIB_XPM 1
8281 echo "$ac_t""found at $ac_find_libraries" 1>&6
8283 cat > conftest.
$ac_ext <<EOF
8284 #line 8285 "configure"
8285 #include "confdefs.h"
8287 #include <X11/xpm.h>
8293 version = XpmLibraryVersion();
8297 if { (eval echo configure
:8298: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8301 cat >> confdefs.h
<<\EOF
8302 #define wxHAVE_LIB_XPM 1
8305 echo "$ac_t""found in default search path" 1>&6
8306 COMPILED_X_PROGRAM
=0
8309 echo "configure: failed program was:" >&5
8310 cat conftest.
$ac_ext >&5
8313 echo "$ac_t""no" 1>&6
8314 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
8321 GUI_TK_LINK
="-lXm $XPM_LINK -lXmu -lXext -lXt -lX11 -lm"
8322 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GUI_TK_LINK"
8325 GUIHEADERS
="\$(MOTIF_HEADERS)"
8326 GUIOBJS
="\$(MOTIF_GUIOBJS)"
8327 COMMONOBJS
="\$(MOTIF_COMMONOBJS)"
8328 GENERICOBJS
="\$(MOTIF_GENERICOBJS)"
8329 GUIDEPS
="\$(MOTIF_GUIDEPS)"
8330 COMMONDEPS
="\$(MOTIF_COMMONDEPS)"
8331 GENERICDEPS
="\$(MOTIF_GENERICDEPS)"
8332 UNIXOBJS
="\$(UNIX_OBJS)"
8333 UNIXDEPS
="\$(UNIX_DEPS)"
8337 if test "$wxUSE_PM" = 1; then
8340 GUIOBJS
="\$(PM_GUIOBJS)"
8341 GUIHEADERS
="\$(PM_HEADERS)"
8342 COMMONOBJS
="\$(PM_COMMONOBJS)"
8343 GENERICOBJS
="\$(PM_GENERICOBJS)"
8344 GUIDEPS
="\$(PM_GUIDEPS)"
8345 COMMONDEPS
="\$(PM_COMMONDEPS)"
8346 GENERICDEPS
="\$(PM_GENERICDEPS)"
8352 if test "$TOOLKIT" != "PM" ; then
8353 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
8358 TOOLKIT_DEF
="-D__WX${TOOLKIT}__"
8360 WX_LIBRARY
="wx_${TOOLKIT_DIR}"
8362 ALL_OBJECTS
="\$(GUIOBJS) \$(COMMONOBJS) \$(GENERICOBJS) \$(UNIXOBJS) \$(HTMLOBJS)"
8364 if test "$TOOLKIT" != "MSW"; then
8365 if test "$wxUSE_ODBC" = "yes" ; then
8366 ALL_OBJECTS
="${ALL_OBJECTS} \$(IODBCOBJS)"
8370 if test "$wxUSE_LIBJPEG" = "yes" ; then
8371 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
8373 if test "$wxUSE_LIBTIFF" = "yes" ; then
8374 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
8376 if test "$wxUSE_LIBPNG" = "yes" ; then
8377 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
8379 if test "$wxUSE_ZLIB" = "yes" ; then
8380 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
8382 ALL_DEPFILES
="\$(GUIDEPS) \$(COMMONDEPS) \$(GENERICDEPS) \$(UNIXDEPS) \$(HTMLDEPS)"
8384 PORT_FILES
="src/\$(TOOLKITDIR)/files.lst"
8385 RPM_FILES
="src/\$(TOOLKITDIR)/rpmfiles.lst"
8386 RPM_SPEC
="wx\$(TOOLKIT).spec"
8388 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
8389 DISTDIR
="wx\$(TOOLKIT)"
8394 TOOLKIT_DEF
="-D__WXBASE__"
8396 ALL_OBJECTS
="\$(BASE_OBJS) \${BASE_UNIX_OBJS}"
8397 ALL_DEPFILES
="\${BASE_DEPS} \${BASE_UNIX_DEPS}"
8401 PORT_FILES
="src/files.lst"
8402 RPM_FILES
="src/rpmfiles.lst"
8403 RPM_SPEC
="wxBase.spec"
8409 WX_LIBRARY_NAME
="lib${WX_LIBRARY}.la"
8411 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
8413 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}-${WX_RELEASE}.so.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
8415 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}-${WX_RELEASE}.so.${WX_CURRENT}"
8416 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}-${WX_RELEASE}.so"
8417 WX_LIBRARY_LINK3
="lib${WX_LIBRARY}.so"
8426 if test "$wxUSE_SHARED" = "yes"; then
8429 if test "$GCC" = yes ; then
8430 SHARED_LD
="${CC} -shared -fPIC -o"
8433 SHARED_LD
="${CXX} -b -o"
8436 WX_LIBRARY_NAME_SHARED
="libwx_${TOOLKIT_DIR}.sl"
8437 WX_ALL
=${WX_LIBRARY_NAME_SHARED}
8441 SHARED_LD
="${CC} -shared -o"
8443 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8444 WX_ALL
="CREATE_LINKS"
8445 if test "$wxUSE_BURNT_NAME" = "yes" ; then
8446 BURNT_LIBRARY_NAME
="-Wl,-soname,${WX_LIBRARY_LINK1}"
8449 *-*-irix5* | *-*-irix6* )
8450 if test "$GCC" = yes ; then
8451 SHARED_LD
="${CC} -shared -o"
8454 SHARED_LD
="${CXX} -shared -o"
8456 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8457 WX_ALL
="CREATE_LINKS"
8460 if test "$GCC" = yes ; then
8461 SHARED_LD
="${CC} -shared -o"
8464 SHARED_LD
="${CXX} -G -o"
8467 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8468 WX_ALL
="CREATE_LINKS"
8471 SHARED_LD
="${CC} -shared -o"
8473 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8474 WX_ALL
="CREATE_LINKS"
8476 *-*-freebsd* | *-*-netbsd*)
8477 SHARED_LD
="${CC} -shared -o"
8479 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8480 WX_ALL
="CREATE_LINKS"
8483 SHARED_LD
="${CXX} -shared -o"
8485 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8486 WX_ALL
="CREATE_LINKS"
8489 SHARED_LD
="${CXX} -shared -o"
8491 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8492 WX_ALL
="CREATE_LINKS"
8495 SHARED_LD
="${CC} -shared -o"
8497 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8498 WX_ALL
="CREATE_LINKS"
8501 SHARED_LD
="/usr/lpp/xlC/bin/makeC++SharedLib -p 0 -o"
8502 WX_ALL
=${WX_LIBRARY_NAME_SHARED}
8505 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
8506 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
8509 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
8510 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
8513 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
8514 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
8517 SHARED_LD
="${LD} -shared -o"
8519 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8520 WX_ALL
="CREATE_LINKS"
8523 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
8526 if test "x$WX_TARGET_LIBRARY" = "x"; then
8527 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
8530 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
8531 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
8535 for ac_hdr
in strings.h
8537 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8538 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8539 echo "configure:8540: checking for $ac_hdr" >&5
8540 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8541 echo $ac_n "(cached) $ac_c" 1>&6
8543 cat > conftest.
$ac_ext <<EOF
8544 #line 8545 "configure"
8545 #include "confdefs.h"
8548 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8549 { (eval echo configure
:8550: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8550 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8551 if test -z "$ac_err"; then
8553 eval "ac_cv_header_$ac_safe=yes"
8556 echo "configure: failed program was:" >&5
8557 cat conftest.
$ac_ext >&5
8559 eval "ac_cv_header_$ac_safe=no"
8563 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8564 echo "$ac_t""yes" 1>&6
8565 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8566 cat >> confdefs.h
<<EOF
8567 #define $ac_tr_hdr 1
8571 echo "$ac_t""no" 1>&6
8575 for ac_hdr
in unistd.h
8577 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8578 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8579 echo "configure:8580: checking for $ac_hdr" >&5
8580 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8581 echo $ac_n "(cached) $ac_c" 1>&6
8583 cat > conftest.
$ac_ext <<EOF
8584 #line 8585 "configure"
8585 #include "confdefs.h"
8588 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8589 { (eval echo configure
:8590: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8590 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8591 if test -z "$ac_err"; then
8593 eval "ac_cv_header_$ac_safe=yes"
8596 echo "configure: failed program was:" >&5
8597 cat conftest.
$ac_ext >&5
8599 eval "ac_cv_header_$ac_safe=no"
8603 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8604 echo "$ac_t""yes" 1>&6
8605 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8606 cat >> confdefs.h
<<EOF
8607 #define $ac_tr_hdr 1
8611 echo "$ac_t""no" 1>&6
8615 for ac_hdr
in wchar.h
8617 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8618 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8619 echo "configure:8620: checking for $ac_hdr" >&5
8620 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8621 echo $ac_n "(cached) $ac_c" 1>&6
8623 cat > conftest.
$ac_ext <<EOF
8624 #line 8625 "configure"
8625 #include "confdefs.h"
8628 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8629 { (eval echo configure
:8630: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8630 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8631 if test -z "$ac_err"; then
8633 eval "ac_cv_header_$ac_safe=yes"
8636 echo "configure: failed program was:" >&5
8637 cat conftest.
$ac_ext >&5
8639 eval "ac_cv_header_$ac_safe=no"
8643 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8644 echo "$ac_t""yes" 1>&6
8645 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8646 cat >> confdefs.h
<<EOF
8647 #define $ac_tr_hdr 1
8651 echo "$ac_t""no" 1>&6
8655 for ac_hdr
in wcstr.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 fnmatch.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
8736 if test "$wxUSE_GUI" = "yes"; then
8737 for ac_hdr
in X
11/XKBlib.h
8739 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8740 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8741 echo "configure:8742: checking for $ac_hdr" >&5
8742 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8743 echo $ac_n "(cached) $ac_c" 1>&6
8745 cat > conftest.
$ac_ext <<EOF
8746 #line 8747 "configure"
8747 #include "confdefs.h"
8750 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8751 { (eval echo configure
:8752: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8752 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8753 if test -z "$ac_err"; then
8755 eval "ac_cv_header_$ac_safe=yes"
8758 echo "configure: failed program was:" >&5
8759 cat conftest.
$ac_ext >&5
8761 eval "ac_cv_header_$ac_safe=no"
8765 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8766 echo "$ac_t""yes" 1>&6
8767 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8768 cat >> confdefs.h
<<EOF
8769 #define $ac_tr_hdr 1
8773 echo "$ac_t""no" 1>&6
8780 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
8781 echo "configure:8782: checking for ANSI C header files" >&5
8782 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
8783 echo $ac_n "(cached) $ac_c" 1>&6
8785 cat > conftest.
$ac_ext <<EOF
8786 #line 8787 "configure"
8787 #include "confdefs.h"
8793 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8794 { (eval echo configure
:8795: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8795 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8796 if test -z "$ac_err"; then
8798 ac_cv_header_stdc
=yes
8801 echo "configure: failed program was:" >&5
8802 cat conftest.
$ac_ext >&5
8804 ac_cv_header_stdc
=no
8808 if test $ac_cv_header_stdc = yes; then
8809 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8810 cat > conftest.
$ac_ext <<EOF
8811 #line 8812 "configure"
8812 #include "confdefs.h"
8815 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8816 egrep "memchr" >/dev
/null
2>&1; then
8820 ac_cv_header_stdc
=no
8826 if test $ac_cv_header_stdc = yes; then
8827 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8828 cat > conftest.
$ac_ext <<EOF
8829 #line 8830 "configure"
8830 #include "confdefs.h"
8833 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8834 egrep "free" >/dev
/null
2>&1; then
8838 ac_cv_header_stdc
=no
8844 if test $ac_cv_header_stdc = yes; then
8845 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8846 if test "$cross_compiling" = yes; then
8849 cat > conftest.
$ac_ext <<EOF
8850 #line 8851 "configure"
8851 #include "confdefs.h"
8853 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8854 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8855 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8856 int main () { int i; for (i = 0; i < 256; i++)
8857 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
8861 if { (eval echo configure
:8862: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
8865 echo "configure: failed program was:" >&5
8866 cat conftest.
$ac_ext >&5
8868 ac_cv_header_stdc
=no
8876 echo "$ac_t""$ac_cv_header_stdc" 1>&6
8877 if test $ac_cv_header_stdc = yes; then
8878 cat >> confdefs.h
<<\EOF
8879 #define STDC_HEADERS 1
8884 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
8885 echo "configure:8886: checking for mode_t" >&5
8886 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
8887 echo $ac_n "(cached) $ac_c" 1>&6
8889 cat > conftest.
$ac_ext <<EOF
8890 #line 8891 "configure"
8891 #include "confdefs.h"
8892 #include <sys/types.h>
8898 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8899 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
8901 ac_cv_type_mode_t
=yes
8904 ac_cv_type_mode_t
=no
8909 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
8910 if test $ac_cv_type_mode_t = no
; then
8911 cat >> confdefs.h
<<\EOF
8917 echo $ac_n "checking for off_t""... $ac_c" 1>&6
8918 echo "configure:8919: checking for off_t" >&5
8919 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
8920 echo $ac_n "(cached) $ac_c" 1>&6
8922 cat > conftest.
$ac_ext <<EOF
8923 #line 8924 "configure"
8924 #include "confdefs.h"
8925 #include <sys/types.h>
8931 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8932 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
8934 ac_cv_type_off_t
=yes
8942 echo "$ac_t""$ac_cv_type_off_t" 1>&6
8943 if test $ac_cv_type_off_t = no
; then
8944 cat >> confdefs.h
<<\EOF
8950 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
8951 echo "configure:8952: checking for pid_t" >&5
8952 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
8953 echo $ac_n "(cached) $ac_c" 1>&6
8955 cat > conftest.
$ac_ext <<EOF
8956 #line 8957 "configure"
8957 #include "confdefs.h"
8958 #include <sys/types.h>
8964 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8965 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
8967 ac_cv_type_pid_t
=yes
8975 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
8976 if test $ac_cv_type_pid_t = no
; then
8977 cat >> confdefs.h
<<\EOF
8983 echo $ac_n "checking for size_t""... $ac_c" 1>&6
8984 echo "configure:8985: checking for size_t" >&5
8985 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
8986 echo $ac_n "(cached) $ac_c" 1>&6
8988 cat > conftest.
$ac_ext <<EOF
8989 #line 8990 "configure"
8990 #include "confdefs.h"
8991 #include <sys/types.h>
8997 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8998 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
9000 ac_cv_type_size_t
=yes
9003 ac_cv_type_size_t
=no
9008 echo "$ac_t""$ac_cv_type_size_t" 1>&6
9009 if test $ac_cv_type_size_t = no
; then
9010 cat >> confdefs.h
<<\EOF
9011 #define size_t unsigned
9016 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
9017 echo "configure:9018: checking for uid_t in sys/types.h" >&5
9018 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
9019 echo $ac_n "(cached) $ac_c" 1>&6
9021 cat > conftest.
$ac_ext <<EOF
9022 #line 9023 "configure"
9023 #include "confdefs.h"
9024 #include <sys/types.h>
9026 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9027 egrep "uid_t" >/dev
/null
2>&1; then
9029 ac_cv_type_uid_t
=yes
9038 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
9039 if test $ac_cv_type_uid_t = no
; then
9040 cat >> confdefs.h
<<\EOF
9044 cat >> confdefs.h
<<\EOF
9052 echo $ac_n "checking for pw_gecos in struct passwd""... $ac_c" 1>&6
9053 echo "configure:9054: checking for pw_gecos in struct passwd" >&5
9054 if eval "test \"`echo '$''{'wx_cv_struct_pw_gecos'+set}'`\" = set"; then
9055 echo $ac_n "(cached) $ac_c" 1>&6
9058 cat > conftest.
$ac_ext <<EOF
9059 #line 9060 "configure"
9060 #include "confdefs.h"
9070 if { (eval echo configure
:9071: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9073 wx_cv_struct_pw_gecos
=yes
9074 cat >> confdefs.h
<<\EOF
9075 #define HAVE_PW_GECOS 1
9080 echo "configure: failed program was:" >&5
9081 cat conftest.
$ac_ext >&5
9084 wx_cv_struct_pw_gecos
=no
9093 echo "$ac_t""$wx_cv_struct_pw_gecos" 1>&6
9096 echo $ac_n "checking for working const""... $ac_c" 1>&6
9097 echo "configure:9098: checking for working const" >&5
9098 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
9099 echo $ac_n "(cached) $ac_c" 1>&6
9101 cat > conftest.
$ac_ext <<EOF
9102 #line 9103 "configure"
9103 #include "confdefs.h"
9107 /* Ultrix mips cc rejects this. */
9108 typedef int charset[2]; const charset x = {0,0};
9109 /* SunOS 4.1.1 cc rejects this. */
9110 char const *const *ccp;
9112 /* NEC SVR4.0.2 mips cc rejects this. */
9113 struct point {int x, y;};
9114 static struct point const zero = {0,0};
9115 /* AIX XL C 1.02.0.0 rejects this.
9116 It does not let you subtract one const X* pointer from another in an arm
9117 of an if-expression whose if-part is not a constant expression */
9118 const char *g = "string";
9119 ccp = &g + (g ? g-g : 0);
9120 /* HPUX 7.0 cc rejects these. */
9123 ccp = (char const *const *) p;
9124 { /* SCO 3.2v4 cc rejects this. */
9126 char const *s = 0 ? (char *) 0 : (char const *) 0;
9130 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
9132 const int *foo = &x[0];
9135 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
9136 typedef const int *iptr;
9140 { /* AIX XL C 1.02.0.0 rejects this saying
9141 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
9142 struct s { int j; const int *ap[3]; };
9143 struct s *b; b->j = 5;
9145 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
9151 if { (eval echo configure
:9152: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9155 echo "configure: failed program was:" >&5
9156 cat conftest.
$ac_ext >&5
9163 echo "$ac_t""$ac_cv_c_const" 1>&6
9164 if test $ac_cv_c_const = no
; then
9165 cat >> confdefs.h
<<\EOF
9171 echo $ac_n "checking for inline""... $ac_c" 1>&6
9172 echo "configure:9173: checking for inline" >&5
9173 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
9174 echo $ac_n "(cached) $ac_c" 1>&6
9177 for ac_kw
in inline __inline__ __inline
; do
9178 cat > conftest.
$ac_ext <<EOF
9179 #line 9180 "configure"
9180 #include "confdefs.h"
9183 } int $ac_kw foo() {
9186 if { (eval echo configure
:9187: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9188 ac_cv_c_inline
=$ac_kw; break
9190 echo "configure: failed program was:" >&5
9191 cat conftest.
$ac_ext >&5
9198 echo "$ac_t""$ac_cv_c_inline" 1>&6
9199 case "$ac_cv_c_inline" in
9201 no
) cat >> confdefs.h
<<\EOF
9205 *) cat >> confdefs.h
<<EOF
9206 #define inline $ac_cv_c_inline
9212 echo $ac_n "checking size of char""... $ac_c" 1>&6
9213 echo "configure:9214: checking size of char" >&5
9214 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
9215 echo $ac_n "(cached) $ac_c" 1>&6
9217 if test "$cross_compiling" = yes; then
9220 cat > conftest.
$ac_ext <<EOF
9221 #line 9222 "configure"
9222 #include "confdefs.h"
9226 FILE *f=fopen("conftestval", "w");
9228 fprintf(f, "%d\n", sizeof(char));
9232 if { (eval echo configure
:9233: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9234 ac_cv_sizeof_char
=`cat conftestval`
9236 echo "configure: failed program was:" >&5
9237 cat conftest.
$ac_ext >&5
9245 echo "$ac_t""$ac_cv_sizeof_char" 1>&6
9246 cat >> confdefs.h
<<EOF
9247 #define SIZEOF_CHAR $ac_cv_sizeof_char
9251 echo $ac_n "checking size of short""... $ac_c" 1>&6
9252 echo "configure:9253: checking size of short" >&5
9253 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
9254 echo $ac_n "(cached) $ac_c" 1>&6
9256 if test "$cross_compiling" = yes; then
9257 ac_cv_sizeof_short
=2
9259 cat > conftest.
$ac_ext <<EOF
9260 #line 9261 "configure"
9261 #include "confdefs.h"
9265 FILE *f=fopen("conftestval", "w");
9267 fprintf(f, "%d\n", sizeof(short));
9271 if { (eval echo configure
:9272: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9273 ac_cv_sizeof_short
=`cat conftestval`
9275 echo "configure: failed program was:" >&5
9276 cat conftest.
$ac_ext >&5
9278 ac_cv_sizeof_short
=0
9284 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
9285 cat >> confdefs.h
<<EOF
9286 #define SIZEOF_SHORT $ac_cv_sizeof_short
9290 echo $ac_n "checking size of int *""... $ac_c" 1>&6
9291 echo "configure:9292: checking size of int *" >&5
9292 if eval "test \"`echo '$''{'ac_cv_sizeof_int_p'+set}'`\" = set"; then
9293 echo $ac_n "(cached) $ac_c" 1>&6
9295 if test "$cross_compiling" = yes; then
9296 ac_cv_sizeof_int_p
=4
9298 cat > conftest.
$ac_ext <<EOF
9299 #line 9300 "configure"
9300 #include "confdefs.h"
9304 FILE *f=fopen("conftestval", "w");
9306 fprintf(f, "%d\n", sizeof(int *));
9310 if { (eval echo configure
:9311: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9312 ac_cv_sizeof_int_p
=`cat conftestval`
9314 echo "configure: failed program was:" >&5
9315 cat conftest.
$ac_ext >&5
9317 ac_cv_sizeof_int_p
=0
9323 echo "$ac_t""$ac_cv_sizeof_int_p" 1>&6
9324 cat >> confdefs.h
<<EOF
9325 #define SIZEOF_INT_P $ac_cv_sizeof_int_p
9329 echo $ac_n "checking size of int""... $ac_c" 1>&6
9330 echo "configure:9331: checking size of int" >&5
9331 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
9332 echo $ac_n "(cached) $ac_c" 1>&6
9334 if test "$cross_compiling" = yes; then
9337 cat > conftest.
$ac_ext <<EOF
9338 #line 9339 "configure"
9339 #include "confdefs.h"
9343 FILE *f=fopen("conftestval", "w");
9345 fprintf(f, "%d\n", sizeof(int));
9349 if { (eval echo configure
:9350: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9351 ac_cv_sizeof_int
=`cat conftestval`
9353 echo "configure: failed program was:" >&5
9354 cat conftest.
$ac_ext >&5
9362 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
9363 cat >> confdefs.h
<<EOF
9364 #define SIZEOF_INT $ac_cv_sizeof_int
9368 echo $ac_n "checking size of long""... $ac_c" 1>&6
9369 echo "configure:9370: checking size of long" >&5
9370 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
9371 echo $ac_n "(cached) $ac_c" 1>&6
9373 if test "$cross_compiling" = yes; then
9376 cat > conftest.
$ac_ext <<EOF
9377 #line 9378 "configure"
9378 #include "confdefs.h"
9382 FILE *f=fopen("conftestval", "w");
9384 fprintf(f, "%d\n", sizeof(long));
9388 if { (eval echo configure
:9389: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9390 ac_cv_sizeof_long
=`cat conftestval`
9392 echo "configure: failed program was:" >&5
9393 cat conftest.
$ac_ext >&5
9401 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
9402 cat >> confdefs.h
<<EOF
9403 #define SIZEOF_LONG $ac_cv_sizeof_long
9407 echo $ac_n "checking size of long long""... $ac_c" 1>&6
9408 echo "configure:9409: checking size of long long" >&5
9409 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
9410 echo $ac_n "(cached) $ac_c" 1>&6
9412 if test "$cross_compiling" = yes; then
9413 ac_cv_sizeof_long_long
=0
9415 cat > conftest.
$ac_ext <<EOF
9416 #line 9417 "configure"
9417 #include "confdefs.h"
9421 FILE *f=fopen("conftestval", "w");
9423 fprintf(f, "%d\n", sizeof(long long));
9427 if { (eval echo configure
:9428: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9429 ac_cv_sizeof_long_long
=`cat conftestval`
9431 echo "configure: failed program was:" >&5
9432 cat conftest.
$ac_ext >&5
9434 ac_cv_sizeof_long_long
=0
9440 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
9441 cat >> confdefs.h
<<EOF
9442 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
9447 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
9448 echo "configure:9449: checking whether byte ordering is bigendian" >&5
9449 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
9450 echo $ac_n "(cached) $ac_c" 1>&6
9452 ac_cv_c_bigendian
=unknown
9453 # See if sys/param.h defines the BYTE_ORDER macro.
9454 cat > conftest.
$ac_ext <<EOF
9455 #line 9456 "configure"
9456 #include "confdefs.h"
9457 #include <sys/types.h>
9458 #include <sys/param.h>
9461 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
9466 if { (eval echo configure
:9467: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9468 # It does; now see whether it defined to BIG_ENDIAN or not.
9469 cat > conftest.
$ac_ext <<EOF
9470 #line 9471 "configure"
9471 #include "confdefs.h"
9472 #include <sys/types.h>
9473 #include <sys/param.h>
9476 #if BYTE_ORDER != BIG_ENDIAN
9481 if { (eval echo configure
:9482: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9483 ac_cv_c_bigendian
=yes
9485 echo "configure: failed program was:" >&5
9486 cat conftest.
$ac_ext >&5
9488 ac_cv_c_bigendian
=no
9492 echo "configure: failed program was:" >&5
9493 cat conftest.
$ac_ext >&5
9496 if test $ac_cv_c_bigendian = unknown
; then
9497 if test "$cross_compiling" = yes; then
9498 ac_cv_c_bigendian
=unknown
9500 cat > conftest.
$ac_ext <<EOF
9501 #line 9502 "configure"
9502 #include "confdefs.h"
9504 /* Are we little or big endian? From Harbison&Steele. */
9508 char c[sizeof (long)];
9511 exit (u.c[sizeof (long) - 1] == 1);
9514 if { (eval echo configure
:9515: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9516 ac_cv_c_bigendian
=no
9518 echo "configure: failed program was:" >&5
9519 cat conftest.
$ac_ext >&5
9521 ac_cv_c_bigendian
=yes
9529 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
9530 if test $ac_cv_c_bigendian = unknown
; then
9531 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
9533 if test $ac_cv_c_bigendian = yes; then
9534 cat >> confdefs.h
<<\EOF
9535 #define WORDS_BIGENDIAN 1
9542 if test "$cross_compiling" = "yes"; then
9543 cat >> confdefs.h
<<\EOF
9544 #define wxUSE_IOSTREAMH 1
9550 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9551 ac_cpp
='$CXXCPP $CPPFLAGS'
9552 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9553 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9554 cross_compiling
=$ac_cv_prog_cxx_cross
9557 for ac_hdr
in iostream
9559 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9560 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9561 echo "configure:9562: checking for $ac_hdr" >&5
9562 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9563 echo $ac_n "(cached) $ac_c" 1>&6
9565 cat > conftest.
$ac_ext <<EOF
9566 #line 9567 "configure"
9567 #include "confdefs.h"
9570 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9571 { (eval echo configure
:9572: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9572 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9573 if test -z "$ac_err"; then
9575 eval "ac_cv_header_$ac_safe=yes"
9578 echo "configure: failed program was:" >&5
9579 cat conftest.
$ac_ext >&5
9581 eval "ac_cv_header_$ac_safe=no"
9585 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9586 echo "$ac_t""yes" 1>&6
9587 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9588 cat >> confdefs.h
<<EOF
9589 #define $ac_tr_hdr 1
9593 echo "$ac_t""no" 1>&6
9598 if test "x$HAVE_IOSTREAM" = x
; then
9599 cat >> confdefs.h
<<\EOF
9600 #define wxUSE_IOSTREAMH 1
9608 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9609 ac_cpp
='$CPP $CPPFLAGS'
9610 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9611 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9612 cross_compiling
=$ac_cv_prog_cc_cross
9618 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
9619 echo "configure:9620: checking if C++ compiler supports bool" >&5
9620 if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
9621 echo $ac_n "(cached) $ac_c" 1>&6
9626 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9627 ac_cpp
='$CXXCPP $CPPFLAGS'
9628 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9629 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9630 cross_compiling
=$ac_cv_prog_cxx_cross
9633 cat > conftest.
$ac_ext <<EOF
9634 #line 9635 "configure"
9635 #include "confdefs.h"
9646 if { (eval echo configure
:9647: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9649 cat >> confdefs.h
<<\EOF
9656 echo "configure: failed program was:" >&5
9657 cat conftest.
$ac_ext >&5
9667 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9668 ac_cpp
='$CPP $CPPFLAGS'
9669 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9670 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9671 cross_compiling
=$ac_cv_prog_cc_cross
9676 echo "$ac_t""$wx_cv_cpp_bool" 1>&6
9678 if test "$wx_cv_cpp_bool" = "yes"; then
9679 cat >> confdefs.h
<<\EOF
9687 echo $ac_n "checking if you need GNU extensions""... $ac_c" 1>&6
9688 echo "configure:9689: checking if you need GNU extensions" >&5
9689 if eval "test \"`echo '$''{'wx_cv_gnu_extensions'+set}'`\" = set"; then
9690 echo $ac_n "(cached) $ac_c" 1>&6
9693 cat > conftest.
$ac_ext <<EOF
9694 #line 9695 "configure"
9695 #include "confdefs.h"
9696 #include <features.h>
9700 #ifndef __GNU_LIBRARY__
9701 Compile error wanted
9707 if { (eval echo configure
:9708: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9709 wx_cv_gnu_extensions
=yes
9711 echo "configure: failed program was:" >&5
9712 cat conftest.
$ac_ext >&5
9714 wx_cv_gnu_extensions
=no
9721 echo "$ac_t""$wx_cv_gnu_extensions" 1>&6
9722 if test "$wx_cv_gnu_extensions" = "yes"; then
9723 cat >> confdefs.h
<<EOF
9724 #define _GNU_SOURCE 1
9731 echo $ac_n "checking for wcslen in -lc""... $ac_c" 1>&6
9732 echo "configure:9733: checking for wcslen in -lc" >&5
9733 ac_lib_var
=`echo c'_'wcslen | sed 'y%./+-%__p_%'`
9734 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9735 echo $ac_n "(cached) $ac_c" 1>&6
9737 ac_save_LIBS
="$LIBS"
9739 cat > conftest.
$ac_ext <<EOF
9740 #line 9741 "configure"
9741 #include "confdefs.h"
9742 /* Override any gcc2 internal prototype to avoid an error. */
9743 /* We use char because int might match the return type of a gcc2
9744 builtin and then its argument prototype would still apply. */
9751 if { (eval echo configure
:9752: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9753 eval "ac_cv_lib_$ac_lib_var=yes"
9755 echo "configure: failed program was:" >&5
9756 cat conftest.
$ac_ext >&5
9758 eval "ac_cv_lib_$ac_lib_var=no"
9761 LIBS
="$ac_save_LIBS"
9764 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9765 echo "$ac_t""yes" 1>&6
9767 cat >> confdefs.h
<<\EOF
9768 #define HAVE_WCSLEN 1
9774 echo "$ac_t""no" 1>&6
9776 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
9777 echo "configure:9778: checking for wcslen in -lw" >&5
9778 ac_lib_var
=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
9779 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9780 echo $ac_n "(cached) $ac_c" 1>&6
9782 ac_save_LIBS
="$LIBS"
9784 cat > conftest.
$ac_ext <<EOF
9785 #line 9786 "configure"
9786 #include "confdefs.h"
9787 /* Override any gcc2 internal prototype to avoid an error. */
9788 /* We use char because int might match the return type of a gcc2
9789 builtin and then its argument prototype would still apply. */
9796 if { (eval echo configure
:9797: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9798 eval "ac_cv_lib_$ac_lib_var=yes"
9800 echo "configure: failed program was:" >&5
9801 cat conftest.
$ac_ext >&5
9803 eval "ac_cv_lib_$ac_lib_var=no"
9806 LIBS
="$ac_save_LIBS"
9809 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9810 echo "$ac_t""yes" 1>&6
9812 cat >> confdefs.h
<<\EOF
9813 #define HAVE_WCSLEN 1
9819 echo "$ac_t""no" 1>&6
9826 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
9827 echo "configure:9828: checking for vprintf" >&5
9828 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
9829 echo $ac_n "(cached) $ac_c" 1>&6
9831 cat > conftest.
$ac_ext <<EOF
9832 #line 9833 "configure"
9833 #include "confdefs.h"
9834 /* System header to define __stub macros and hopefully few prototypes,
9835 which can conflict with char vprintf(); below. */
9837 /* Override any gcc2 internal prototype to avoid an error. */
9838 /* We use char because int might match the return type of a gcc2
9839 builtin and then its argument prototype would still apply. */
9844 /* The GNU C library defines this for functions which it implements
9845 to always fail with ENOSYS. Some functions are actually named
9846 something starting with __ and the normal name is an alias. */
9847 #if defined (__stub_vprintf) || defined (__stub___vprintf)
9855 if { (eval echo configure
:9856: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9857 eval "ac_cv_func_vprintf=yes"
9859 echo "configure: failed program was:" >&5
9860 cat conftest.
$ac_ext >&5
9862 eval "ac_cv_func_vprintf=no"
9867 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
9868 echo "$ac_t""yes" 1>&6
9869 cat >> confdefs.h
<<\EOF
9870 #define HAVE_VPRINTF 1
9874 echo "$ac_t""no" 1>&6
9877 if test "$ac_cv_func_vprintf" != yes; then
9878 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
9879 echo "configure:9880: checking for _doprnt" >&5
9880 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
9881 echo $ac_n "(cached) $ac_c" 1>&6
9883 cat > conftest.
$ac_ext <<EOF
9884 #line 9885 "configure"
9885 #include "confdefs.h"
9886 /* System header to define __stub macros and hopefully few prototypes,
9887 which can conflict with char _doprnt(); below. */
9889 /* Override any gcc2 internal prototype to avoid an error. */
9890 /* We use char because int might match the return type of a gcc2
9891 builtin and then its argument prototype would still apply. */
9896 /* The GNU C library defines this for functions which it implements
9897 to always fail with ENOSYS. Some functions are actually named
9898 something starting with __ and the normal name is an alias. */
9899 #if defined (__stub__doprnt) || defined (__stub____doprnt)
9907 if { (eval echo configure
:9908: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9909 eval "ac_cv_func__doprnt=yes"
9911 echo "configure: failed program was:" >&5
9912 cat conftest.
$ac_ext >&5
9914 eval "ac_cv_func__doprnt=no"
9919 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
9920 echo "$ac_t""yes" 1>&6
9921 cat >> confdefs.h
<<\EOF
9922 #define HAVE_DOPRNT 1
9926 echo "$ac_t""no" 1>&6
9932 for ac_func
in vsnprintf
9934 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9935 echo "configure:9936: checking for $ac_func" >&5
9936 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9937 echo $ac_n "(cached) $ac_c" 1>&6
9939 cat > conftest.
$ac_ext <<EOF
9940 #line 9941 "configure"
9941 #include "confdefs.h"
9942 /* System header to define __stub macros and hopefully few prototypes,
9943 which can conflict with char $ac_func(); below. */
9945 /* Override any gcc2 internal prototype to avoid an error. */
9946 /* We use char because int might match the return type of a gcc2
9947 builtin and then its argument prototype would still apply. */
9952 /* The GNU C library defines this for functions which it implements
9953 to always fail with ENOSYS. Some functions are actually named
9954 something starting with __ and the normal name is an alias. */
9955 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9963 if { (eval echo configure
:9964: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9965 eval "ac_cv_func_$ac_func=yes"
9967 echo "configure: failed program was:" >&5
9968 cat conftest.
$ac_ext >&5
9970 eval "ac_cv_func_$ac_func=no"
9975 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9976 echo "$ac_t""yes" 1>&6
9977 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9978 cat >> confdefs.h
<<EOF
9979 #define $ac_tr_func 1
9981 cat >> confdefs.h
<<\EOF
9982 #define HAVE_VSNPRINTF 1
9986 echo "$ac_t""no" 1>&6
9987 echo "configure: warning: unsafe function sprintf will be used instead of snprintf" 1>&2
9995 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9996 ac_cpp
='$CXXCPP $CPPFLAGS'
9997 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9998 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9999 cross_compiling
=$ac_cv_prog_cxx_cross
10002 echo $ac_n "checking for vsscanf""... $ac_c" 1>&6
10003 echo "configure:10004: checking for vsscanf" >&5
10004 if eval "test \"`echo '$''{'wx_cv_func_vsscanf'+set}'`\" = set"; then
10005 echo $ac_n "(cached) $ac_c" 1>&6
10008 if test "$cross_compiling" = yes; then
10009 wx_cv_func_vsscanf
=no
10012 cat > conftest.
$ac_ext <<EOF
10013 #line 10014 "configure"
10014 #include "confdefs.h"
10016 extern "C" void exit(int);
10020 #include <stdarg.h>
10022 int try_vsscanf(const char *format, ...)
10025 va_start(ap, format);
10027 vsscanf("17", format, ap);
10035 try_vsscanf("%d", &i);
10036 return i == 17 ? 0 : 1;
10040 if { (eval echo configure
:10041: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10043 cat >> confdefs.h
<<\EOF
10044 #define HAVE_VSSCANF 1
10047 wx_cv_func_vsscanf
=yes
10050 echo "configure: failed program was:" >&5
10051 cat conftest.
$ac_ext >&5
10053 wx_cv_func_vsscanf
=no
10061 echo "$ac_t""$wx_cv_func_vsscanf" 1>&6
10064 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10065 ac_cpp
='$CPP $CPPFLAGS'
10066 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10067 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10068 cross_compiling
=$ac_cv_prog_cc_cross
10071 if test "$TOOLKIT" != "MSW"; then
10073 for ac_func
in vfork
10075 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10076 echo "configure:10077: checking for $ac_func" >&5
10077 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10078 echo $ac_n "(cached) $ac_c" 1>&6
10080 cat > conftest.
$ac_ext <<EOF
10081 #line 10082 "configure"
10082 #include "confdefs.h"
10083 /* System header to define __stub macros and hopefully few prototypes,
10084 which can conflict with char $ac_func(); below. */
10085 #include <assert.h>
10086 /* Override any gcc2 internal prototype to avoid an error. */
10087 /* We use char because int might match the return type of a gcc2
10088 builtin and then its argument prototype would still apply. */
10093 /* The GNU C library defines this for functions which it implements
10094 to always fail with ENOSYS. Some functions are actually named
10095 something starting with __ and the normal name is an alias. */
10096 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10104 if { (eval echo configure
:10105: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10106 eval "ac_cv_func_$ac_func=yes"
10108 echo "configure: failed program was:" >&5
10109 cat conftest.
$ac_ext >&5
10111 eval "ac_cv_func_$ac_func=no"
10116 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10117 echo "$ac_t""yes" 1>&6
10118 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10119 cat >> confdefs.h
<<EOF
10120 #define $ac_tr_func 1
10124 echo "$ac_t""no" 1>&6
10129 for ac_func
in timegm
10131 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10132 echo "configure:10133: checking for $ac_func" >&5
10133 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10134 echo $ac_n "(cached) $ac_c" 1>&6
10136 cat > conftest.
$ac_ext <<EOF
10137 #line 10138 "configure"
10138 #include "confdefs.h"
10139 /* System header to define __stub macros and hopefully few prototypes,
10140 which can conflict with char $ac_func(); below. */
10141 #include <assert.h>
10142 /* Override any gcc2 internal prototype to avoid an error. */
10143 /* We use char because int might match the return type of a gcc2
10144 builtin and then its argument prototype would still apply. */
10149 /* The GNU C library defines this for functions which it implements
10150 to always fail with ENOSYS. Some functions are actually named
10151 something starting with __ and the normal name is an alias. */
10152 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10160 if { (eval echo configure
:10161: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10162 eval "ac_cv_func_$ac_func=yes"
10164 echo "configure: failed program was:" >&5
10165 cat conftest.
$ac_ext >&5
10167 eval "ac_cv_func_$ac_func=no"
10172 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10173 echo "$ac_t""yes" 1>&6
10174 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10175 cat >> confdefs.h
<<EOF
10176 #define $ac_tr_func 1
10180 echo "$ac_t""no" 1>&6
10185 HAVE_SOME_SLEEP_FUNC
=0
10186 if test "$USE_BEOS" = 1; then
10187 cat >> confdefs.h
<<\EOF
10188 #define HAVE_SLEEP 1
10191 HAVE_SOME_SLEEP_FUNC
=1
10194 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
10196 for ac_func
in nanosleep
10198 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10199 echo "configure:10200: checking for $ac_func" >&5
10200 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10201 echo $ac_n "(cached) $ac_c" 1>&6
10203 cat > conftest.
$ac_ext <<EOF
10204 #line 10205 "configure"
10205 #include "confdefs.h"
10206 /* System header to define __stub macros and hopefully few prototypes,
10207 which can conflict with char $ac_func(); below. */
10208 #include <assert.h>
10209 /* Override any gcc2 internal prototype to avoid an error. */
10210 /* We use char because int might match the return type of a gcc2
10211 builtin and then its argument prototype would still apply. */
10216 /* The GNU C library defines this for functions which it implements
10217 to always fail with ENOSYS. Some functions are actually named
10218 something starting with __ and the normal name is an alias. */
10219 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10227 if { (eval echo configure
:10228: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10229 eval "ac_cv_func_$ac_func=yes"
10231 echo "configure: failed program was:" >&5
10232 cat conftest.
$ac_ext >&5
10234 eval "ac_cv_func_$ac_func=no"
10239 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10240 echo "$ac_t""yes" 1>&6
10241 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10242 cat >> confdefs.h
<<EOF
10243 #define $ac_tr_func 1
10245 cat >> confdefs.h
<<\EOF
10246 #define HAVE_NANOSLEEP 1
10250 echo "$ac_t""no" 1>&6
10251 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
10252 echo "configure:10253: checking for nanosleep in -lposix4" >&5
10253 ac_lib_var
=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
10254 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10255 echo $ac_n "(cached) $ac_c" 1>&6
10257 ac_save_LIBS
="$LIBS"
10258 LIBS
="-lposix4 $LIBS"
10259 cat > conftest.
$ac_ext <<EOF
10260 #line 10261 "configure"
10261 #include "confdefs.h"
10262 /* Override any gcc2 internal prototype to avoid an error. */
10263 /* We use char because int might match the return type of a gcc2
10264 builtin and then its argument prototype would still apply. */
10271 if { (eval echo configure
:10272: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10273 eval "ac_cv_lib_$ac_lib_var=yes"
10275 echo "configure: failed program was:" >&5
10276 cat conftest.
$ac_ext >&5
10278 eval "ac_cv_lib_$ac_lib_var=no"
10281 LIBS
="$ac_save_LIBS"
10284 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10285 echo "$ac_t""yes" 1>&6
10287 cat >> confdefs.h
<<\EOF
10288 #define HAVE_NANOSLEEP 1
10291 POSIX4_LINK
="-lposix4"
10294 echo "$ac_t""no" 1>&6
10296 for ac_func
in usleep
10298 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10299 echo "configure:10300: checking for $ac_func" >&5
10300 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10301 echo $ac_n "(cached) $ac_c" 1>&6
10303 cat > conftest.
$ac_ext <<EOF
10304 #line 10305 "configure"
10305 #include "confdefs.h"
10306 /* System header to define __stub macros and hopefully few prototypes,
10307 which can conflict with char $ac_func(); below. */
10308 #include <assert.h>
10309 /* Override any gcc2 internal prototype to avoid an error. */
10310 /* We use char because int might match the return type of a gcc2
10311 builtin and then its argument prototype would still apply. */
10316 /* The GNU C library defines this for functions which it implements
10317 to always fail with ENOSYS. Some functions are actually named
10318 something starting with __ and the normal name is an alias. */
10319 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10327 if { (eval echo configure
:10328: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10329 eval "ac_cv_func_$ac_func=yes"
10331 echo "configure: failed program was:" >&5
10332 cat conftest.
$ac_ext >&5
10334 eval "ac_cv_func_$ac_func=no"
10339 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10340 echo "$ac_t""yes" 1>&6
10341 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10342 cat >> confdefs.h
<<EOF
10343 #define $ac_tr_func 1
10347 echo "$ac_t""no" 1>&6
10351 echo "configure: warning: wxSleep() function will not work" 1>&2
10363 for ac_func
in uname gethostname
10365 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10366 echo "configure:10367: checking for $ac_func" >&5
10367 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10368 echo $ac_n "(cached) $ac_c" 1>&6
10370 cat > conftest.
$ac_ext <<EOF
10371 #line 10372 "configure"
10372 #include "confdefs.h"
10373 /* System header to define __stub macros and hopefully few prototypes,
10374 which can conflict with char $ac_func(); below. */
10375 #include <assert.h>
10376 /* Override any gcc2 internal prototype to avoid an error. */
10377 /* We use char because int might match the return type of a gcc2
10378 builtin and then its argument prototype would still apply. */
10383 /* The GNU C library defines this for functions which it implements
10384 to always fail with ENOSYS. Some functions are actually named
10385 something starting with __ and the normal name is an alias. */
10386 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10394 if { (eval echo configure
:10395: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10396 eval "ac_cv_func_$ac_func=yes"
10398 echo "configure: failed program was:" >&5
10399 cat conftest.
$ac_ext >&5
10401 eval "ac_cv_func_$ac_func=no"
10406 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10407 echo "$ac_t""yes" 1>&6
10408 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10409 cat >> confdefs.h
<<EOF
10410 #define $ac_tr_func 1
10414 echo "$ac_t""no" 1>&6
10419 for ac_func
in strtok_r
10421 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10422 echo "configure:10423: checking for $ac_func" >&5
10423 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10424 echo $ac_n "(cached) $ac_c" 1>&6
10426 cat > conftest.
$ac_ext <<EOF
10427 #line 10428 "configure"
10428 #include "confdefs.h"
10429 /* System header to define __stub macros and hopefully few prototypes,
10430 which can conflict with char $ac_func(); below. */
10431 #include <assert.h>
10432 /* Override any gcc2 internal prototype to avoid an error. */
10433 /* We use char because int might match the return type of a gcc2
10434 builtin and then its argument prototype would still apply. */
10439 /* The GNU C library defines this for functions which it implements
10440 to always fail with ENOSYS. Some functions are actually named
10441 something starting with __ and the normal name is an alias. */
10442 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10450 if { (eval echo configure
:10451: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10452 eval "ac_cv_func_$ac_func=yes"
10454 echo "configure: failed program was:" >&5
10455 cat conftest.
$ac_ext >&5
10457 eval "ac_cv_func_$ac_func=no"
10462 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10463 echo "$ac_t""yes" 1>&6
10464 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10465 cat >> confdefs.h
<<EOF
10466 #define $ac_tr_func 1
10470 echo "$ac_t""no" 1>&6
10476 for ac_func
in inet_addr
10478 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10479 echo "configure:10480: checking for $ac_func" >&5
10480 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10481 echo $ac_n "(cached) $ac_c" 1>&6
10483 cat > conftest.
$ac_ext <<EOF
10484 #line 10485 "configure"
10485 #include "confdefs.h"
10486 /* System header to define __stub macros and hopefully few prototypes,
10487 which can conflict with char $ac_func(); below. */
10488 #include <assert.h>
10489 /* Override any gcc2 internal prototype to avoid an error. */
10490 /* We use char because int might match the return type of a gcc2
10491 builtin and then its argument prototype would still apply. */
10496 /* The GNU C library defines this for functions which it implements
10497 to always fail with ENOSYS. Some functions are actually named
10498 something starting with __ and the normal name is an alias. */
10499 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10507 if { (eval echo configure
:10508: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10509 eval "ac_cv_func_$ac_func=yes"
10511 echo "configure: failed program was:" >&5
10512 cat conftest.
$ac_ext >&5
10514 eval "ac_cv_func_$ac_func=no"
10519 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10520 echo "$ac_t""yes" 1>&6
10521 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10522 cat >> confdefs.h
<<EOF
10523 #define $ac_tr_func 1
10525 cat >> confdefs.h
<<\EOF
10526 #define HAVE_INET_ADDR 1
10530 echo "$ac_t""no" 1>&6
10531 echo $ac_n "checking for inet_addr in -lnsl""... $ac_c" 1>&6
10532 echo "configure:10533: checking for inet_addr in -lnsl" >&5
10533 ac_lib_var
=`echo nsl'_'inet_addr | sed 'y%./+-%__p_%'`
10534 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10535 echo $ac_n "(cached) $ac_c" 1>&6
10537 ac_save_LIBS
="$LIBS"
10539 cat > conftest.
$ac_ext <<EOF
10540 #line 10541 "configure"
10541 #include "confdefs.h"
10542 /* Override any gcc2 internal prototype to avoid an error. */
10543 /* We use char because int might match the return type of a gcc2
10544 builtin and then its argument prototype would still apply. */
10551 if { (eval echo configure
:10552: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10553 eval "ac_cv_lib_$ac_lib_var=yes"
10555 echo "configure: failed program was:" >&5
10556 cat conftest.
$ac_ext >&5
10558 eval "ac_cv_lib_$ac_lib_var=no"
10561 LIBS
="$ac_save_LIBS"
10564 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10565 echo "$ac_t""yes" 1>&6
10568 echo "$ac_t""no" 1>&6
10569 echo $ac_n "checking for inet_addr in -lresolv""... $ac_c" 1>&6
10570 echo "configure:10571: checking for inet_addr in -lresolv" >&5
10571 ac_lib_var
=`echo resolv'_'inet_addr | sed 'y%./+-%__p_%'`
10572 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10573 echo $ac_n "(cached) $ac_c" 1>&6
10575 ac_save_LIBS
="$LIBS"
10576 LIBS
="-lresolv $LIBS"
10577 cat > conftest.
$ac_ext <<EOF
10578 #line 10579 "configure"
10579 #include "confdefs.h"
10580 /* Override any gcc2 internal prototype to avoid an error. */
10581 /* We use char because int might match the return type of a gcc2
10582 builtin and then its argument prototype would still apply. */
10589 if { (eval echo configure
:10590: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10591 eval "ac_cv_lib_$ac_lib_var=yes"
10593 echo "configure: failed program was:" >&5
10594 cat conftest.
$ac_ext >&5
10596 eval "ac_cv_lib_$ac_lib_var=no"
10599 LIBS
="$ac_save_LIBS"
10602 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10603 echo "$ac_t""yes" 1>&6
10607 echo "$ac_t""no" 1>&6
10619 for ac_func
in inet_aton
10621 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10622 echo "configure:10623: checking for $ac_func" >&5
10623 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10624 echo $ac_n "(cached) $ac_c" 1>&6
10626 cat > conftest.
$ac_ext <<EOF
10627 #line 10628 "configure"
10628 #include "confdefs.h"
10629 /* System header to define __stub macros and hopefully few prototypes,
10630 which can conflict with char $ac_func(); below. */
10631 #include <assert.h>
10632 /* Override any gcc2 internal prototype to avoid an error. */
10633 /* We use char because int might match the return type of a gcc2
10634 builtin and then its argument prototype would still apply. */
10639 /* The GNU C library defines this for functions which it implements
10640 to always fail with ENOSYS. Some functions are actually named
10641 something starting with __ and the normal name is an alias. */
10642 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10650 if { (eval echo configure
:10651: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10652 eval "ac_cv_func_$ac_func=yes"
10654 echo "configure: failed program was:" >&5
10655 cat conftest.
$ac_ext >&5
10657 eval "ac_cv_func_$ac_func=no"
10662 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10663 echo "$ac_t""yes" 1>&6
10664 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10665 cat >> confdefs.h
<<EOF
10666 #define $ac_tr_func 1
10668 cat >> confdefs.h
<<\EOF
10669 #define HAVE_INET_ATON 1
10673 echo "$ac_t""no" 1>&6
10674 echo $ac_n "checking for inet_aton in -l$INET_LINK""... $ac_c" 1>&6
10675 echo "configure:10676: checking for inet_aton in -l$INET_LINK" >&5
10676 ac_lib_var
=`echo $INET_LINK'_'inet_aton | sed 'y%./+-%__p_%'`
10677 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10678 echo $ac_n "(cached) $ac_c" 1>&6
10680 ac_save_LIBS
="$LIBS"
10681 LIBS
="-l$INET_LINK $LIBS"
10682 cat > conftest.
$ac_ext <<EOF
10683 #line 10684 "configure"
10684 #include "confdefs.h"
10685 /* Override any gcc2 internal prototype to avoid an error. */
10686 /* We use char because int might match the return type of a gcc2
10687 builtin and then its argument prototype would still apply. */
10694 if { (eval echo configure
:10695: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10696 eval "ac_cv_lib_$ac_lib_var=yes"
10698 echo "configure: failed program was:" >&5
10699 cat conftest.
$ac_ext >&5
10701 eval "ac_cv_lib_$ac_lib_var=no"
10704 LIBS
="$ac_save_LIBS"
10707 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10708 echo "$ac_t""yes" 1>&6
10709 cat >> confdefs.h
<<\EOF
10710 #define HAVE_INET_ATON 1
10714 echo "$ac_t""no" 1>&6
10722 if test "x$INET_LINK" != "x"; then
10723 cat >> confdefs.h
<<\EOF
10724 #define HAVE_INET_ADDR 1
10727 INET_LINK
="-l$INET_LINK"
10733 cat > confcache
<<\EOF
10734 # This file is a shell script that caches the results of configure
10735 # tests run on this system so they can be shared between configure
10736 # scripts and configure runs. It is not useful on other systems.
10737 # If it contains results you don't want to keep, you may remove or edit it.
10739 # By default, configure uses ./config.cache as the cache file,
10740 # creating it if it does not exist already. You can give configure
10741 # the --cache-file=FILE option to use a different cache file; that is
10742 # what configure does when it calls configure scripts in
10743 # subdirectories, so they share the cache.
10744 # Giving --cache-file=/dev/null disables caching, for debugging configure.
10745 # config.status only pays attention to the cache file if you give it the
10746 # --recheck option to rerun configure.
10749 # The following way of writing the cache mishandles newlines in values,
10750 # but we know of no workaround that is simple, portable, and efficient.
10751 # So, don't put newlines in cache variables' values.
10752 # Ultrix sh set writes to stderr and can't be redirected directly,
10753 # and sets the high bit in the cache file unless we assign to the vars.
10755 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10757 # `set' does not quote correctly, so add quotes (double-quote substitution
10758 # turns \\\\ into \\, and sed turns \\ into \).
10760 -e "s/'/'\\\\''/g" \
10761 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
10764 # `set' quotes correctly as required by POSIX, so do not add quotes.
10765 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
10768 if cmp -s $cache_file confcache
; then
10771 if test -w $cache_file; then
10772 echo "updating cache $cache_file"
10773 cat confcache
> $cache_file
10775 echo "not updating unwritable cache $cache_file"
10782 if test "$TOOLKIT" != "MSW"; then
10788 if test "$wxUSE_THREADS" = "yes" ; then
10789 if test "$wxUSE_WINE" = 1 ; then
10790 echo "configure: warning: Threads are not supported under WINE" 1>&2
10792 elif test "$USE_BEOS" = 1; then
10793 echo "configure: warning: BeOS threads are not yet supported" 1>&2
10798 if test "$wxUSE_THREADS" = "yes" ; then
10800 echo $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6
10801 echo "configure:10802: checking for pthread_create in -lpthread" >&5
10802 ac_lib_var
=`echo pthread'_'pthread_create | sed 'y%./+-%__p_%'`
10803 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10804 echo $ac_n "(cached) $ac_c" 1>&6
10806 ac_save_LIBS
="$LIBS"
10807 LIBS
="-lpthread $LIBS"
10808 cat > conftest.
$ac_ext <<EOF
10809 #line 10810 "configure"
10810 #include "confdefs.h"
10811 /* Override any gcc2 internal prototype to avoid an error. */
10812 /* We use char because int might match the return type of a gcc2
10813 builtin and then its argument prototype would still apply. */
10814 char pthread_create();
10820 if { (eval echo configure
:10821: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10822 eval "ac_cv_lib_$ac_lib_var=yes"
10824 echo "configure: failed program was:" >&5
10825 cat conftest.
$ac_ext >&5
10827 eval "ac_cv_lib_$ac_lib_var=no"
10830 LIBS
="$ac_save_LIBS"
10833 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10834 echo "$ac_t""yes" 1>&6
10836 THREADS_OBJ
="threadpsx.lo"
10837 THREADS_LINK
="pthread"
10840 echo "$ac_t""no" 1>&6
10842 echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
10843 echo "configure:10844: checking for pthread_create in -lc_r" >&5
10844 ac_lib_var
=`echo c_r'_'pthread_create | sed 'y%./+-%__p_%'`
10845 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10846 echo $ac_n "(cached) $ac_c" 1>&6
10848 ac_save_LIBS
="$LIBS"
10850 cat > conftest.
$ac_ext <<EOF
10851 #line 10852 "configure"
10852 #include "confdefs.h"
10853 /* Override any gcc2 internal prototype to avoid an error. */
10854 /* We use char because int might match the return type of a gcc2
10855 builtin and then its argument prototype would still apply. */
10856 char pthread_create();
10862 if { (eval echo configure
:10863: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10864 eval "ac_cv_lib_$ac_lib_var=yes"
10866 echo "configure: failed program was:" >&5
10867 cat conftest.
$ac_ext >&5
10869 eval "ac_cv_lib_$ac_lib_var=no"
10872 LIBS
="$ac_save_LIBS"
10875 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10876 echo "$ac_t""yes" 1>&6
10878 THREADS_OBJ
="threadpsx.lo"
10882 echo "$ac_t""no" 1>&6
10884 ac_safe
=`echo "sys/prctl.h" | sed 'y%./+-%__p_%'`
10885 echo $ac_n "checking for sys/prctl.h""... $ac_c" 1>&6
10886 echo "configure:10887: checking for sys/prctl.h" >&5
10887 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10888 echo $ac_n "(cached) $ac_c" 1>&6
10890 cat > conftest.
$ac_ext <<EOF
10891 #line 10892 "configure"
10892 #include "confdefs.h"
10893 #include <sys/prctl.h>
10895 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10896 { (eval echo configure
:10897: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10897 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10898 if test -z "$ac_err"; then
10900 eval "ac_cv_header_$ac_safe=yes"
10903 echo "configure: failed program was:" >&5
10904 cat conftest.
$ac_ext >&5
10906 eval "ac_cv_header_$ac_safe=no"
10910 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10911 echo "$ac_t""yes" 1>&6
10913 THREADS_OBJ
="threadsgi.lo"
10916 echo "$ac_t""no" 1>&6
10926 if test -z "$THREADS_OBJ" ; then
10928 echo "configure: warning: No thread support on this system" 1>&2
10932 if test "$wxUSE_THREADS" = "yes" ; then
10933 for ac_func
in thr_setconcurrency
10935 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10936 echo "configure:10937: checking for $ac_func" >&5
10937 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10938 echo $ac_n "(cached) $ac_c" 1>&6
10940 cat > conftest.
$ac_ext <<EOF
10941 #line 10942 "configure"
10942 #include "confdefs.h"
10943 /* System header to define __stub macros and hopefully few prototypes,
10944 which can conflict with char $ac_func(); below. */
10945 #include <assert.h>
10946 /* Override any gcc2 internal prototype to avoid an error. */
10947 /* We use char because int might match the return type of a gcc2
10948 builtin and then its argument prototype would still apply. */
10953 /* The GNU C library defines this for functions which it implements
10954 to always fail with ENOSYS. Some functions are actually named
10955 something starting with __ and the normal name is an alias. */
10956 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10964 if { (eval echo configure
:10965: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10966 eval "ac_cv_func_$ac_func=yes"
10968 echo "configure: failed program was:" >&5
10969 cat conftest.
$ac_ext >&5
10971 eval "ac_cv_func_$ac_func=no"
10976 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10977 echo "$ac_t""yes" 1>&6
10978 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10979 cat >> confdefs.h
<<EOF
10980 #define $ac_tr_func 1
10984 echo "$ac_t""no" 1>&6
10990 for ac_hdr
in sched.h
10992 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10993 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10994 echo "configure:10995: checking for $ac_hdr" >&5
10995 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10996 echo $ac_n "(cached) $ac_c" 1>&6
10998 cat > conftest.
$ac_ext <<EOF
10999 #line 11000 "configure"
11000 #include "confdefs.h"
11003 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11004 { (eval echo configure
:11005: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11005 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11006 if test -z "$ac_err"; then
11008 eval "ac_cv_header_$ac_safe=yes"
11011 echo "configure: failed program was:" >&5
11012 cat conftest.
$ac_ext >&5
11014 eval "ac_cv_header_$ac_safe=no"
11018 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11019 echo "$ac_t""yes" 1>&6
11020 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11021 cat >> confdefs.h
<<EOF
11022 #define $ac_tr_hdr 1
11026 echo "$ac_t""no" 1>&6
11031 echo $ac_n "checking for sched_yield in -l$THREADS_LINK""... $ac_c" 1>&6
11032 echo "configure:11033: checking for sched_yield in -l$THREADS_LINK" >&5
11033 ac_lib_var
=`echo $THREADS_LINK'_'sched_yield | sed 'y%./+-%__p_%'`
11034 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11035 echo $ac_n "(cached) $ac_c" 1>&6
11037 ac_save_LIBS
="$LIBS"
11038 LIBS
="-l$THREADS_LINK $LIBS"
11039 cat > conftest.
$ac_ext <<EOF
11040 #line 11041 "configure"
11041 #include "confdefs.h"
11042 /* Override any gcc2 internal prototype to avoid an error. */
11043 /* We use char because int might match the return type of a gcc2
11044 builtin and then its argument prototype would still apply. */
11045 char sched_yield();
11051 if { (eval echo configure
:11052: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11053 eval "ac_cv_lib_$ac_lib_var=yes"
11055 echo "configure: failed program was:" >&5
11056 cat conftest.
$ac_ext >&5
11058 eval "ac_cv_lib_$ac_lib_var=no"
11061 LIBS
="$ac_save_LIBS"
11064 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11065 echo "$ac_t""yes" 1>&6
11066 cat >> confdefs.h
<<\EOF
11067 #define HAVE_SCHED_YIELD 1
11071 echo "$ac_t""no" 1>&6
11072 echo $ac_n "checking for sched_yield in -l"posix4
"""... $ac_c" 1>&6
11073 echo "configure:11074: checking for sched_yield in -l"posix4
"" >&5
11074 ac_lib_var
=`echo "posix4"'_'sched_yield | sed 'y%./+-%__p_%'`
11075 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11076 echo $ac_n "(cached) $ac_c" 1>&6
11078 ac_save_LIBS
="$LIBS"
11079 LIBS
="-l"posix4
" $LIBS"
11080 cat > conftest.
$ac_ext <<EOF
11081 #line 11082 "configure"
11082 #include "confdefs.h"
11083 /* Override any gcc2 internal prototype to avoid an error. */
11084 /* We use char because int might match the return type of a gcc2
11085 builtin and then its argument prototype would still apply. */
11086 char sched_yield();
11092 if { (eval echo configure
:11093: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11094 eval "ac_cv_lib_$ac_lib_var=yes"
11096 echo "configure: failed program was:" >&5
11097 cat conftest.
$ac_ext >&5
11099 eval "ac_cv_lib_$ac_lib_var=no"
11102 LIBS
="$ac_save_LIBS"
11105 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11106 echo "$ac_t""yes" 1>&6
11107 cat >> confdefs.h
<<\EOF
11108 #define HAVE_SCHED_YIELD 1
11110 POSIX4_LINK
="-lposix4"
11112 echo "$ac_t""no" 1>&6
11113 echo "configure: warning: wxThread::Yield will not work properly" 1>&2
11121 echo $ac_n "checking for pthread_attr_getschedpolicy in -l$THREADS_LINK""... $ac_c" 1>&6
11122 echo "configure:11123: checking for pthread_attr_getschedpolicy in -l$THREADS_LINK" >&5
11123 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
11124 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11125 echo $ac_n "(cached) $ac_c" 1>&6
11127 ac_save_LIBS
="$LIBS"
11128 LIBS
="-l$THREADS_LINK $LIBS"
11129 cat > conftest.
$ac_ext <<EOF
11130 #line 11131 "configure"
11131 #include "confdefs.h"
11132 /* Override any gcc2 internal prototype to avoid an error. */
11133 /* We use char because int might match the return type of a gcc2
11134 builtin and then its argument prototype would still apply. */
11135 char pthread_attr_getschedpolicy();
11138 pthread_attr_getschedpolicy()
11141 if { (eval echo configure
:11142: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11143 eval "ac_cv_lib_$ac_lib_var=yes"
11145 echo "configure: failed program was:" >&5
11146 cat conftest.
$ac_ext >&5
11148 eval "ac_cv_lib_$ac_lib_var=no"
11151 LIBS
="$ac_save_LIBS"
11154 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11155 echo "$ac_t""yes" 1>&6
11156 cat >> confdefs.h
<<\EOF
11157 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
11161 echo "$ac_t""no" 1>&6
11162 echo $ac_n "checking for pthread_attr_getschedpolicy in -l"posix4
"""... $ac_c" 1>&6
11163 echo "configure:11164: checking for pthread_attr_getschedpolicy in -l"posix4
"" >&5
11164 ac_lib_var
=`echo "posix4"'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
11165 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11166 echo $ac_n "(cached) $ac_c" 1>&6
11168 ac_save_LIBS
="$LIBS"
11169 LIBS
="-l"posix4
" $LIBS"
11170 cat > conftest.
$ac_ext <<EOF
11171 #line 11172 "configure"
11172 #include "confdefs.h"
11173 /* Override any gcc2 internal prototype to avoid an error. */
11174 /* We use char because int might match the return type of a gcc2
11175 builtin and then its argument prototype would still apply. */
11176 char pthread_attr_getschedpolicy();
11179 pthread_attr_getschedpolicy()
11182 if { (eval echo configure
:11183: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11184 eval "ac_cv_lib_$ac_lib_var=yes"
11186 echo "configure: failed program was:" >&5
11187 cat conftest.
$ac_ext >&5
11189 eval "ac_cv_lib_$ac_lib_var=no"
11192 LIBS
="$ac_save_LIBS"
11195 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11196 echo "$ac_t""yes" 1>&6
11197 cat >> confdefs.h
<<\EOF
11198 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
11200 POSIX4_LINK
="-lposix4"
11202 echo "$ac_t""no" 1>&6
11203 echo "configure: warning: Setting thread priority will not work" 1>&2
11211 echo $ac_n "checking for pthread_cancel in -l$THREADS_LINK""... $ac_c" 1>&6
11212 echo "configure:11213: checking for pthread_cancel in -l$THREADS_LINK" >&5
11213 ac_lib_var
=`echo $THREADS_LINK'_'pthread_cancel | sed 'y%./+-%__p_%'`
11214 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11215 echo $ac_n "(cached) $ac_c" 1>&6
11217 ac_save_LIBS
="$LIBS"
11218 LIBS
="-l$THREADS_LINK $LIBS"
11219 cat > conftest.
$ac_ext <<EOF
11220 #line 11221 "configure"
11221 #include "confdefs.h"
11222 /* Override any gcc2 internal prototype to avoid an error. */
11223 /* We use char because int might match the return type of a gcc2
11224 builtin and then its argument prototype would still apply. */
11225 char pthread_cancel();
11231 if { (eval echo configure
:11232: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11233 eval "ac_cv_lib_$ac_lib_var=yes"
11235 echo "configure: failed program was:" >&5
11236 cat conftest.
$ac_ext >&5
11238 eval "ac_cv_lib_$ac_lib_var=no"
11241 LIBS
="$ac_save_LIBS"
11244 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11245 echo "$ac_t""yes" 1>&6
11246 cat >> confdefs.h
<<\EOF
11247 #define HAVE_PTHREAD_CANCEL 1
11251 echo "$ac_t""no" 1>&6
11252 echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
11256 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
11257 echo "configure:11258: checking for pthread_cleanup_push/pop" >&5
11258 if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
11259 echo $ac_n "(cached) $ac_c" 1>&6
11262 cat > conftest.
$ac_ext <<EOF
11263 #line 11264 "configure"
11264 #include "confdefs.h"
11265 #include <pthread.h>
11268 pthread_cleanup_push(NULL, NULL);
11269 pthread_cleanup_pop(0);
11273 if { (eval echo configure
:11274: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11276 wx_cv_func_pthread_cleanup_push
=yes
11277 cat >> confdefs.h
<<\EOF
11278 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
11283 echo "configure: failed program was:" >&5
11284 cat conftest.
$ac_ext >&5
11287 wx_cv_func_pthread_cleanup_push
=no
11294 echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
11296 THREADS_LINK
="-l$THREADS_LINK"
11301 if test "$wxUSE_THREADS" = "yes"; then
11302 cat >> confdefs.h
<<\EOF
11303 #define wxUSE_THREADS 1
11307 CFLAGS
="${CFLAGS} -D_REENTRANT"
11308 CXXFLAGS
="${CXXFLAGS} -D_REENTRANT"
11310 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
11312 if test "$ac_cv_func_strtok_r" = "yes"; then
11313 echo $ac_n "checking if -D_REENTRANT is needed""... $ac_c" 1>&6
11314 echo "configure:11315: checking if -D_REENTRANT is needed" >&5
11315 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
11316 CFLAGS
="${CFLAGS} -D_REENTRANT"
11317 CXXFLAGS
="${CXXFLAGS} -D_REENTRANT"
11318 echo "$ac_t""yes" 1>&6
11320 echo "$ac_t""no" 1>&6
11325 if test "$WXGTK13" = 1 ; then
11326 cat >> confdefs.h
<<EOF
11327 #define __WXGTK13__ $WXGTK13
11333 if test "$WXGTK12" = 1 ; then
11334 cat >> confdefs.h
<<EOF
11335 #define __WXGTK12__ $WXGTK12
11340 if test "$WXWINE" = 1 ; then
11341 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WXWINE__"
11344 if test "$wxUSE_CYGWIN" = 1 ; then
11345 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WIN95__"
11350 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
11355 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
11356 wxUSE_DEBUG_INFO
=yes
11360 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
11361 cat >> confdefs.h
<<\EOF
11365 WXDEBUG_DEFINE
="-D__WXDEBUG__"
11367 if test "$wxUSE_GTK" = 1 ; then
11368 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
11372 if test "$wxUSE_MEM_TRACING" = "yes" ; then
11373 cat >> confdefs.h
<<\EOF
11374 #define wxUSE_MEMORY_TRACING 1
11377 cat >> confdefs.h
<<\EOF
11378 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
11381 cat >> confdefs.h
<<\EOF
11382 #define wxUSE_DEBUG_NEW_ALWAYS 1
11385 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
11388 if test "$wxUSE_DMALLOC" = "yes" ; then
11389 DMALLOC_LINK
="-ldmalloc"
11393 if test "$wxUSE_PROFILE" = "yes" ; then
11399 if test "$GCC" = yes ; then
11400 if test "$wxUSE_NO_RTTI" = "yes" ; then
11401 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fno-rtti"
11403 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
11404 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fno-exceptions"
11406 if test "$wxUSE_PERMISSIVE" = "yes" ; then
11407 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
11409 if test "$wxUSE_NO_DEPS" = "no" ; then
11410 DEP_INFO_FLAGS
="-MMD"
11415 CXXFLAGS
=`echo "${CXXFLAGS}" | sed "s/\-O.//g" `
11416 CFLAGS
=`echo "${CFLAGS}" | sed "s/\-O.//g" `
11417 if test "$wxUSE_OPTIMISE" = "no" ; then
11420 if test "$GCC" = yes ; then
11423 i586
-*-*|i686
-*-* )
11424 OPTIMISE
="${OPTIMISE} "
11434 if test "$wxUSE_ZLIB" = "yes" ; then
11435 cat >> confdefs.h
<<\EOF
11436 #define wxUSE_ZLIB 1
11439 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
11443 if test "$wxUSE_LIBPNG" = "yes" ; then
11444 cat >> confdefs.h
<<\EOF
11445 #define wxUSE_LIBPNG 1
11448 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
11449 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
11453 if test "$wxUSE_LIBJPEG" = "yes" ; then
11454 cat >> confdefs.h
<<\EOF
11455 #define wxUSE_LIBJPEG 1
11458 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
11462 if test "$wxUSE_LIBTIFF" = "yes" ; then
11463 cat >> confdefs.h
<<\EOF
11464 #define wxUSE_LIBTIFF 1
11467 TIFF_INCLUDE
="-I\${top_srcdir}/src/tiff"
11470 if test "$wxUSE_OPENGL" = "yes"; then
11471 ac_safe
=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
11472 echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
11473 echo "configure:11474: checking for GL/gl.h" >&5
11474 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11475 echo $ac_n "(cached) $ac_c" 1>&6
11477 cat > conftest.
$ac_ext <<EOF
11478 #line 11479 "configure"
11479 #include "confdefs.h"
11482 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11483 { (eval echo configure
:11484: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11484 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11485 if test -z "$ac_err"; then
11487 eval "ac_cv_header_$ac_safe=yes"
11490 echo "configure: failed program was:" >&5
11491 cat conftest.
$ac_ext >&5
11493 eval "ac_cv_header_$ac_safe=no"
11497 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11498 echo "$ac_t""yes" 1>&6
11500 echo $ac_n "checking for glInitNames in -lGL""... $ac_c" 1>&6
11501 echo "configure:11502: checking for glInitNames in -lGL" >&5
11502 ac_lib_var
=`echo GL'_'glInitNames | sed 'y%./+-%__p_%'`
11503 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11504 echo $ac_n "(cached) $ac_c" 1>&6
11506 ac_save_LIBS
="$LIBS"
11507 LIBS
="-lGL wxUSE_OPENGL=0 $LIBS"
11508 cat > conftest.
$ac_ext <<EOF
11509 #line 11510 "configure"
11510 #include "confdefs.h"
11511 /* Override any gcc2 internal prototype to avoid an error. */
11512 /* We use char because int might match the return type of a gcc2
11513 builtin and then its argument prototype would still apply. */
11514 char glInitNames();
11520 if { (eval echo configure
:11521: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11522 eval "ac_cv_lib_$ac_lib_var=yes"
11524 echo "configure: failed program was:" >&5
11525 cat conftest.
$ac_ext >&5
11527 eval "ac_cv_lib_$ac_lib_var=no"
11530 LIBS
="$ac_save_LIBS"
11533 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11534 echo "$ac_t""yes" 1>&6
11537 cat >> confdefs.h
<<\EOF
11538 #define wxUSE_OPENGL 1
11541 UTILS_SUBDIRS
="$UTILS_SUBDIRS glcanvas/src"
11544 echo "$ac_t""no" 1>&6
11546 echo $ac_n "checking for glInitNames in -lMesaGL""... $ac_c" 1>&6
11547 echo "configure:11548: checking for glInitNames in -lMesaGL" >&5
11548 ac_lib_var
=`echo MesaGL'_'glInitNames | sed 'y%./+-%__p_%'`
11549 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11550 echo $ac_n "(cached) $ac_c" 1>&6
11552 ac_save_LIBS
="$LIBS"
11553 LIBS
="-lMesaGL $LIBS"
11554 cat > conftest.
$ac_ext <<EOF
11555 #line 11556 "configure"
11556 #include "confdefs.h"
11557 /* Override any gcc2 internal prototype to avoid an error. */
11558 /* We use char because int might match the return type of a gcc2
11559 builtin and then its argument prototype would still apply. */
11560 char glInitNames();
11566 if { (eval echo configure
:11567: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11568 eval "ac_cv_lib_$ac_lib_var=yes"
11570 echo "configure: failed program was:" >&5
11571 cat conftest.
$ac_ext >&5
11573 eval "ac_cv_lib_$ac_lib_var=no"
11576 LIBS
="$ac_save_LIBS"
11579 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11580 echo "$ac_t""yes" 1>&6
11582 OPENGL_LINK
="-lMesaGL"
11583 cat >> confdefs.h
<<\EOF
11584 #define wxUSE_OPENGL 1
11587 UTILS_SUBDIRS
="$UTILS_SUBDIRS glcanvas/src"
11590 echo "$ac_t""no" 1>&6
11599 echo "$ac_t""no" 1>&6
11606 if test "$wxUSE_GUI" = "yes"; then
11607 cat >> confdefs.h
<<\EOF
11608 #define wxUSE_GUI 1
11613 cat >> confdefs.h
<<\EOF
11614 #define wxUSE_NOGUI 1
11620 if test "$wxUSE_UNIX" = "yes"; then
11621 cat >> confdefs.h
<<\EOF
11622 #define wxUSE_UNIX 1
11628 if test "$wxUSE_APPLE_IEEE" = "yes"; then
11629 cat >> confdefs.h
<<\EOF
11630 #define wxUSE_APPLE_IEEE 1
11635 if test "$wxUSE_WAVE" = "yes"; then
11636 cat >> confdefs.h
<<\EOF
11637 #define wxUSE_WAVE 1
11642 if test "$wxUSE_FILE" = "yes"; then
11643 cat >> confdefs.h
<<\EOF
11644 #define wxUSE_FILE 1
11649 if test "$wxUSE_FS_INET" = "yes"; then
11650 cat >> confdefs.h
<<\EOF
11651 #define wxUSE_FS_INET 1
11656 if test "$wxUSE_FS_ZIP" = "yes"; then
11657 cat >> confdefs.h
<<\EOF
11658 #define wxUSE_FS_ZIP 1
11663 if test "$wxUSE_ZIPSTREAM" = "yes"; then
11664 cat >> confdefs.h
<<\EOF
11665 #define wxUSE_ZIPSTREAM 1
11670 if test "$wxUSE_BUSYINFO" = "yes"; then
11671 cat >> confdefs.h
<<\EOF
11672 #define wxUSE_BUSYINFO 1
11677 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
11678 cat >> confdefs.h
<<\EOF
11679 #define wxUSE_STD_IOSTREAM 1
11684 if test "$wxUSE_TEXTFILE" = "yes"; then
11685 if test "$wxUSE_FILE" != "yes"; then
11686 echo "configure: warning: wxTextFile requires wxFile and it won't be compiled without it" 1>&2
11688 cat >> confdefs.h
<<\EOF
11689 #define wxUSE_TEXTFILE 1
11695 if test "$wxUSE_CONFIG" = "yes" ; then
11696 if test "$wxUSE_TEXTFILE" != "yes"; then
11697 echo "configure: warning: wxConfig requires wxTextFile and it won't be compiled without it" 1>&2
11699 cat >> confdefs.h
<<\EOF
11700 #define wxUSE_CONFIG 1
11703 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
11707 if test "$wxUSE_INTL" = "yes" ; then
11708 if test "$wxUSE_FILE" != "yes"; then
11709 echo "configure: warning: I18n code requires wxFile and it won't be compiled without it" 1>&2
11711 cat >> confdefs.h
<<\EOF
11712 #define wxUSE_INTL 1
11715 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
11719 if test "$wxUSE_LOG" = "yes"; then
11720 cat >> confdefs.h
<<\EOF
11721 #define wxUSE_LOG 1
11726 if test "$wxUSE_LONGLONG" = "yes"; then
11727 cat >> confdefs.h
<<\EOF
11728 #define wxUSE_LONGLONG 1
11733 if test "$wxUSE_PLOT" = "yes"; then
11734 cat >> confdefs.h
<<\EOF
11735 #define wxUSE_PLOT 1
11740 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
11741 cat >> confdefs.h
<<\EOF
11742 #define wxUSE_DIALUP_MANAGER 1
11745 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
11748 if test "$wxUSE_STREAMS" = "yes" ; then
11749 cat >> confdefs.h
<<\EOF
11750 #define wxUSE_STREAMS 1
11756 if test "$wxUSE_TIMEDATE" = "yes"; then
11757 for ac_func
in strptime
11759 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11760 echo "configure:11761: checking for $ac_func" >&5
11761 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11762 echo $ac_n "(cached) $ac_c" 1>&6
11764 cat > conftest.
$ac_ext <<EOF
11765 #line 11766 "configure"
11766 #include "confdefs.h"
11767 /* System header to define __stub macros and hopefully few prototypes,
11768 which can conflict with char $ac_func(); below. */
11769 #include <assert.h>
11770 /* Override any gcc2 internal prototype to avoid an error. */
11771 /* We use char because int might match the return type of a gcc2
11772 builtin and then its argument prototype would still apply. */
11777 /* The GNU C library defines this for functions which it implements
11778 to always fail with ENOSYS. Some functions are actually named
11779 something starting with __ and the normal name is an alias. */
11780 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11788 if { (eval echo configure
:11789: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11790 eval "ac_cv_func_$ac_func=yes"
11792 echo "configure: failed program was:" >&5
11793 cat conftest.
$ac_ext >&5
11795 eval "ac_cv_func_$ac_func=no"
11800 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11801 echo "$ac_t""yes" 1>&6
11802 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11803 cat >> confdefs.h
<<EOF
11804 #define $ac_tr_func 1
11808 echo "$ac_t""no" 1>&6
11813 echo $ac_n "checking for timezone variable in <time.h>""... $ac_c" 1>&6
11814 echo "configure:11815: checking for timezone variable in <time.h>" >&5
11815 if eval "test \"`echo '$''{'wx_cv_var_timezone'+set}'`\" = set"; then
11816 echo $ac_n "(cached) $ac_c" 1>&6
11819 cat > conftest.
$ac_ext <<EOF
11820 #line 11821 "configure"
11821 #include "confdefs.h"
11832 if { (eval echo configure
:11833: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11835 wx_cv_var_timezone
=__timezone
11838 echo "configure: failed program was:" >&5
11839 cat conftest.
$ac_ext >&5
11842 cat > conftest.
$ac_ext <<EOF
11843 #line 11844 "configure"
11844 #include "confdefs.h"
11855 if { (eval echo configure
:11856: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11858 wx_cv_var_timezone
=_timezone
11861 echo "configure: failed program was:" >&5
11862 cat conftest.
$ac_ext >&5
11865 cat > conftest.
$ac_ext <<EOF
11866 #line 11867 "configure"
11867 #include "confdefs.h"
11878 if { (eval echo configure
:11879: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11881 wx_cv_var_timezone
=timezone
11884 echo "configure: failed program was:" >&5
11885 cat conftest.
$ac_ext >&5
11887 { echo "configure: error: no timezone variable" 1>&2; exit 1; }
11903 echo "$ac_t""$wx_cv_var_timezone" 1>&6
11905 cat >> confdefs.h
<<EOF
11906 #define WX_TIMEZONE $wx_cv_var_timezone
11910 for ac_func
in localtime
11912 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11913 echo "configure:11914: checking for $ac_func" >&5
11914 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11915 echo $ac_n "(cached) $ac_c" 1>&6
11917 cat > conftest.
$ac_ext <<EOF
11918 #line 11919 "configure"
11919 #include "confdefs.h"
11920 /* System header to define __stub macros and hopefully few prototypes,
11921 which can conflict with char $ac_func(); below. */
11922 #include <assert.h>
11923 /* Override any gcc2 internal prototype to avoid an error. */
11924 /* We use char because int might match the return type of a gcc2
11925 builtin and then its argument prototype would still apply. */
11930 /* The GNU C library defines this for functions which it implements
11931 to always fail with ENOSYS. Some functions are actually named
11932 something starting with __ and the normal name is an alias. */
11933 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11941 if { (eval echo configure
:11942: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11943 eval "ac_cv_func_$ac_func=yes"
11945 echo "configure: failed program was:" >&5
11946 cat conftest.
$ac_ext >&5
11948 eval "ac_cv_func_$ac_func=no"
11953 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11954 echo "$ac_t""yes" 1>&6
11955 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11956 cat >> confdefs.h
<<EOF
11957 #define $ac_tr_func 1
11961 echo "$ac_t""no" 1>&6
11966 if test "$ac_cv_func_localtime" = "yes"; then
11967 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
11968 echo "configure:11969: checking for tm_gmtoff in struct tm" >&5
11969 if eval "test \"`echo '$''{'wx_cv_struct_tm_has_gmtoff'+set}'`\" = set"; then
11970 echo $ac_n "(cached) $ac_c" 1>&6
11973 cat > conftest.
$ac_ext <<EOF
11974 #line 11975 "configure"
11975 #include "confdefs.h"
11986 if { (eval echo configure
:11987: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11989 wx_cv_struct_tm_has_gmtoff
=yes
11990 cat >> confdefs.h
<<\EOF
11991 #define WX_GMTOFF_IN_TM 1
11996 echo "configure: failed program was:" >&5
11997 cat conftest.
$ac_ext >&5
11999 wx_cv_struct_tm_has_gmtoff
=no
12006 echo "$ac_t""$wx_cv_struct_tm_has_gmtoff" 1>&6
12009 for ac_func
in gettimeofday ftime
12011 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12012 echo "configure:12013: checking for $ac_func" >&5
12013 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12014 echo $ac_n "(cached) $ac_c" 1>&6
12016 cat > conftest.
$ac_ext <<EOF
12017 #line 12018 "configure"
12018 #include "confdefs.h"
12019 /* System header to define __stub macros and hopefully few prototypes,
12020 which can conflict with char $ac_func(); below. */
12021 #include <assert.h>
12022 /* Override any gcc2 internal prototype to avoid an error. */
12023 /* We use char because int might match the return type of a gcc2
12024 builtin and then its argument prototype would still apply. */
12029 /* The GNU C library defines this for functions which it implements
12030 to always fail with ENOSYS. Some functions are actually named
12031 something starting with __ and the normal name is an alias. */
12032 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12040 if { (eval echo configure
:12041: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12042 eval "ac_cv_func_$ac_func=yes"
12044 echo "configure: failed program was:" >&5
12045 cat conftest.
$ac_ext >&5
12047 eval "ac_cv_func_$ac_func=no"
12052 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12053 echo "$ac_t""yes" 1>&6
12054 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12055 cat >> confdefs.h
<<EOF
12056 #define $ac_tr_func 1
12060 echo "$ac_t""no" 1>&6
12065 if test "$ac_cv_func_gettimeofday" = "yes"; then
12066 echo $ac_n "checking whether gettimeofday takes two arguments""... $ac_c" 1>&6
12067 echo "configure:12068: checking whether gettimeofday takes two arguments" >&5
12068 if eval "test \"`echo '$''{'wx_cv_func_gettimeofday_has_2_args'+set}'`\" = set"; then
12069 echo $ac_n "(cached) $ac_c" 1>&6
12074 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12075 ac_cpp
='$CXXCPP $CPPFLAGS'
12076 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12077 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12078 cross_compiling
=$ac_cv_prog_cxx_cross
12081 cat > conftest.
$ac_ext <<EOF
12082 #line 12083 "configure"
12083 #include "confdefs.h"
12085 #include <sys/time.h>
12086 #include <unistd.h>
12091 struct timezone tz;
12092 gettimeofday(&tv, &tz);
12096 if { (eval echo configure
:12097: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12098 wx_cv_func_gettimeofday_has_2_args
=yes
12100 echo "configure: failed program was:" >&5
12101 cat conftest.
$ac_ext >&5
12103 cat > conftest.
$ac_ext <<EOF
12104 #line 12105 "configure"
12105 #include "confdefs.h"
12107 #include <sys/time.h>
12108 #include <unistd.h>
12117 if { (eval echo configure
:12118: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12119 wx_cv_func_gettimeofday_has_2_args
=no
12121 echo "configure: failed program was:" >&5
12122 cat conftest.
$ac_ext >&5
12124 wx_cv_func_gettimeofday_has_2_args
=unknown
12132 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12133 ac_cpp
='$CPP $CPPFLAGS'
12134 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12135 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12136 cross_compiling
=$ac_cv_prog_cc_cross
12141 echo "$ac_t""$wx_cv_func_gettimeofday_has_2_args" 1>&6
12143 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
12144 cat >> confdefs.h
<<\EOF
12145 #define WX_GETTIMEOFDAY_NO_TZ 1
12151 cat >> confdefs.h
<<\EOF
12152 #define wxUSE_TIMEDATE 1
12155 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
12159 if test "$TOOLKIT" != "MSW"; then
12161 if test "$wxUSE_SOCKETS" = "yes"; then
12162 echo $ac_n "checking for socket""... $ac_c" 1>&6
12163 echo "configure:12164: checking for socket" >&5
12164 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
12165 echo $ac_n "(cached) $ac_c" 1>&6
12167 cat > conftest.
$ac_ext <<EOF
12168 #line 12169 "configure"
12169 #include "confdefs.h"
12170 /* System header to define __stub macros and hopefully few prototypes,
12171 which can conflict with char socket(); below. */
12172 #include <assert.h>
12173 /* Override any gcc2 internal prototype to avoid an error. */
12174 /* We use char because int might match the return type of a gcc2
12175 builtin and then its argument prototype would still apply. */
12180 /* The GNU C library defines this for functions which it implements
12181 to always fail with ENOSYS. Some functions are actually named
12182 something starting with __ and the normal name is an alias. */
12183 #if defined (__stub_socket) || defined (__stub___socket)
12191 if { (eval echo configure
:12192: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12193 eval "ac_cv_func_socket=yes"
12195 echo "configure: failed program was:" >&5
12196 cat conftest.
$ac_ext >&5
12198 eval "ac_cv_func_socket=no"
12203 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
12204 echo "$ac_t""yes" 1>&6
12207 echo "$ac_t""no" 1>&6
12208 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
12209 echo "configure:12210: checking for socket in -lsocket" >&5
12210 ac_lib_var
=`echo socket'_'socket | sed 'y%./+-%__p_%'`
12211 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12212 echo $ac_n "(cached) $ac_c" 1>&6
12214 ac_save_LIBS
="$LIBS"
12215 LIBS
="-lsocket $LIBS"
12216 cat > conftest.
$ac_ext <<EOF
12217 #line 12218 "configure"
12218 #include "confdefs.h"
12219 /* Override any gcc2 internal prototype to avoid an error. */
12220 /* We use char because int might match the return type of a gcc2
12221 builtin and then its argument prototype would still apply. */
12228 if { (eval echo configure
:12229: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12230 eval "ac_cv_lib_$ac_lib_var=yes"
12232 echo "configure: failed program was:" >&5
12233 cat conftest.
$ac_ext >&5
12235 eval "ac_cv_lib_$ac_lib_var=no"
12238 LIBS
="$ac_save_LIBS"
12241 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12242 echo "$ac_t""yes" 1>&6
12243 INET_LINK
="$INET_LINK -lsocket"
12245 echo "$ac_t""no" 1>&6
12247 echo "configure: warning: socket library not found - sockets will be disabled" 1>&2
12260 if test "$wxUSE_SOCKETS" = "yes" ; then
12261 echo $ac_n "checking what is the type of the third argument of getsockname""... $ac_c" 1>&6
12262 echo "configure:12263: checking what is the type of the third argument of getsockname" >&5
12263 if eval "test \"`echo '$''{'wx_cv_type_getsockname3'+set}'`\" = set"; then
12264 echo $ac_n "(cached) $ac_c" 1>&6
12269 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12270 ac_cpp
='$CXXCPP $CPPFLAGS'
12271 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12272 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12273 cross_compiling
=$ac_cv_prog_cxx_cross
12276 cat > conftest.
$ac_ext <<EOF
12277 #line 12278 "configure"
12278 #include "confdefs.h"
12280 #include <sys/types.h>
12281 #include <sys/socket.h>
12286 getsockname(0, 0, &len);
12290 if { (eval echo configure
:12291: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12292 wx_cv_type_getsockname3
=socklen_t
12294 echo "configure: failed program was:" >&5
12295 cat conftest.
$ac_ext >&5
12297 cat > conftest.
$ac_ext <<EOF
12298 #line 12299 "configure"
12299 #include "confdefs.h"
12301 #include <sys/types.h>
12302 #include <sys/socket.h>
12307 getsockname(0, 0, &len);
12311 if { (eval echo configure
:12312: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12313 wx_cv_type_getsockname3
=size_t
12315 echo "configure: failed program was:" >&5
12316 cat conftest.
$ac_ext >&5
12318 cat > conftest.
$ac_ext <<EOF
12319 #line 12320 "configure"
12320 #include "confdefs.h"
12322 #include <sys/types.h>
12323 #include <sys/socket.h>
12328 getsockname(0, 0, &len);
12332 if { (eval echo configure
:12333: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12334 wx_cv_type_getsockname3
=int
12336 echo "configure: failed program was:" >&5
12337 cat conftest.
$ac_ext >&5
12339 wx_cv_type_getsockname3
=unknown
12351 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12352 ac_cpp
='$CPP $CPPFLAGS'
12353 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12354 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12355 cross_compiling
=$ac_cv_prog_cc_cross
12360 echo "$ac_t""$wx_cv_type_getsockname3" 1>&6
12362 if test "$wx_cv_type_getsockname3" = "unknown"; then
12364 echo "configure: warning: Couldn't find socklen_t synonym for this system" 1>&2
12366 cat >> confdefs.h
<<EOF
12367 #define SOCKLEN_T $wx_cv_type_getsockname3
12373 if test "$wxUSE_SOCKETS" = "yes" ; then
12374 cat >> confdefs.h
<<\EOF
12375 #define wxUSE_SOCKETS 1
12378 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
12379 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS protocol"
12383 if test "$TOOLKIT" != "MSW"; then
12385 if test "$wxUSE_JOYSTICK" = 1; then
12386 for ac_hdr
in linux
/joystick.h
12388 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12389 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12390 echo "configure:12391: checking for $ac_hdr" >&5
12391 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12392 echo $ac_n "(cached) $ac_c" 1>&6
12394 cat > conftest.
$ac_ext <<EOF
12395 #line 12396 "configure"
12396 #include "confdefs.h"
12399 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12400 { (eval echo configure
:12401: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12401 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12402 if test -z "$ac_err"; then
12404 eval "ac_cv_header_$ac_safe=yes"
12407 echo "configure: failed program was:" >&5
12408 cat conftest.
$ac_ext >&5
12410 eval "ac_cv_header_$ac_safe=no"
12414 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12415 echo "$ac_t""yes" 1>&6
12416 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12417 cat >> confdefs.h
<<EOF
12418 #define $ac_tr_hdr 1
12422 echo "$ac_t""no" 1>&6
12426 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
12428 echo "configure: warning: Joystick not supported yb this system" 1>&2
12434 if test "$wxUSE_JOYSTICK" = 1; then
12435 cat >> confdefs.h
<<\EOF
12436 #define wxUSE_JOYSTICK 1
12439 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
12443 if test "$TOOLKIT" != "MSW"; then
12447 if test "$wxUSE_DYNLIB_CLASS" = "yes"; then
12448 for ac_func
in dlopen
12450 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12451 echo "configure:12452: checking for $ac_func" >&5
12452 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12453 echo $ac_n "(cached) $ac_c" 1>&6
12455 cat > conftest.
$ac_ext <<EOF
12456 #line 12457 "configure"
12457 #include "confdefs.h"
12458 /* System header to define __stub macros and hopefully few prototypes,
12459 which can conflict with char $ac_func(); below. */
12460 #include <assert.h>
12461 /* Override any gcc2 internal prototype to avoid an error. */
12462 /* We use char because int might match the return type of a gcc2
12463 builtin and then its argument prototype would still apply. */
12468 /* The GNU C library defines this for functions which it implements
12469 to always fail with ENOSYS. Some functions are actually named
12470 something starting with __ and the normal name is an alias. */
12471 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12479 if { (eval echo configure
:12480: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12481 eval "ac_cv_func_$ac_func=yes"
12483 echo "configure: failed program was:" >&5
12484 cat conftest.
$ac_ext >&5
12486 eval "ac_cv_func_$ac_func=no"
12491 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12492 echo "$ac_t""yes" 1>&6
12493 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12494 cat >> confdefs.h
<<EOF
12495 #define $ac_tr_func 1
12498 cat >> confdefs.h
<<\EOF
12499 #define HAVE_DLOPEN 1
12505 echo "$ac_t""no" 1>&6
12506 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
12507 echo "configure:12508: checking for dlopen in -ldl" >&5
12508 ac_lib_var
=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
12509 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12510 echo $ac_n "(cached) $ac_c" 1>&6
12512 ac_save_LIBS
="$LIBS"
12514 cat > conftest.
$ac_ext <<EOF
12515 #line 12516 "configure"
12516 #include "confdefs.h"
12517 /* Override any gcc2 internal prototype to avoid an error. */
12518 /* We use char because int might match the return type of a gcc2
12519 builtin and then its argument prototype would still apply. */
12526 if { (eval echo configure
:12527: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12528 eval "ac_cv_lib_$ac_lib_var=yes"
12530 echo "configure: failed program was:" >&5
12531 cat conftest.
$ac_ext >&5
12533 eval "ac_cv_lib_$ac_lib_var=no"
12536 LIBS
="$ac_save_LIBS"
12539 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12540 echo "$ac_t""yes" 1>&6
12542 cat >> confdefs.h
<<\EOF
12543 #define HAVE_DLOPEN 1
12550 echo "$ac_t""no" 1>&6
12552 for ac_func
in shl_load
12554 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12555 echo "configure:12556: checking for $ac_func" >&5
12556 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12557 echo $ac_n "(cached) $ac_c" 1>&6
12559 cat > conftest.
$ac_ext <<EOF
12560 #line 12561 "configure"
12561 #include "confdefs.h"
12562 /* System header to define __stub macros and hopefully few prototypes,
12563 which can conflict with char $ac_func(); below. */
12564 #include <assert.h>
12565 /* Override any gcc2 internal prototype to avoid an error. */
12566 /* We use char because int might match the return type of a gcc2
12567 builtin and then its argument prototype would still apply. */
12572 /* The GNU C library defines this for functions which it implements
12573 to always fail with ENOSYS. Some functions are actually named
12574 something starting with __ and the normal name is an alias. */
12575 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12583 if { (eval echo configure
:12584: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12585 eval "ac_cv_func_$ac_func=yes"
12587 echo "configure: failed program was:" >&5
12588 cat conftest.
$ac_ext >&5
12590 eval "ac_cv_func_$ac_func=no"
12595 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12596 echo "$ac_t""yes" 1>&6
12597 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12598 cat >> confdefs.h
<<EOF
12599 #define $ac_tr_func 1
12602 cat >> confdefs.h
<<\EOF
12603 #define HAVE_SHL_LOAD 1
12609 echo "$ac_t""no" 1>&6
12621 if test "$HAVE_DL_FUNCS" = 0; then
12622 if test "$HAVE_SHL_FUNCS" = 0; then
12623 if test "$USE_UNIX" = 1; then
12624 echo "configure: warning: Missing dynamic loading support, several features will be disabled" 1>&2
12625 wxUSE_DYNLIB_CLASS
=no
12627 echo "configure: warning: Assuming wxLibrary class works on this platform" 1>&2
12635 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
12636 cat >> confdefs.h
<<\EOF
12637 #define wxUSE_DYNLIB_CLASS 1
12646 if test "$wxUSE_UNICODE" = "yes" ; then
12647 cat >> confdefs.h
<<\EOF
12648 #define wxUSE_UNICODE 1
12653 if test "$wxUSE_WCSRTOMBS" = "yes" ; then
12654 cat >> confdefs.h
<<\EOF
12655 #define wxUSE_WCSRTOMBS 1
12660 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
12661 cat >> confdefs.h
<<\EOF
12662 #define wxUSE_EXPERIMENTAL_PRINTF 1
12668 if test "$wxUSE_SERIAL" = "yes" ; then
12669 cat >> confdefs.h
<<\EOF
12670 #define wxUSE_SERIAL 1
12677 if test "$wxUSE_ODBC" = "yes" ; then
12678 cat >> confdefs.h
<<\EOF
12679 #define wxUSE_ODBC 1
12682 WXODBCFLAG
="-D_IODBC_"
12683 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
12684 IODBCOBJS
="\$(IODBC_OBJS)"
12690 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
12691 cat >> confdefs.h
<<\EOF
12692 #define wxUSE_POSTSCRIPT 1
12697 cat >> confdefs.h
<<\EOF
12698 #define wxUSE_AFM_FOR_POSTSCRIPT 1
12702 cat >> confdefs.h
<<\EOF
12703 #define wxUSE_NORMALIZED_PS_FONTS 1
12708 if test "$wxUSE_CONSTRAINTS" = "yes"; then
12709 cat >> confdefs.h
<<\EOF
12710 #define wxUSE_CONSTRAINTS 1
12713 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
12716 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
12717 cat >> confdefs.h
<<\EOF
12718 #define wxUSE_MDI_ARCHITECTURE 1
12721 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
12724 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
12725 cat >> confdefs.h
<<\EOF
12726 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
12729 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
12730 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
12731 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
12735 if test "$wxUSE_HELP" = "yes"; then
12736 cat >> confdefs.h
<<\EOF
12737 #define wxUSE_HELP 1
12740 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
12743 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
12744 if test "$wxUSE_CONSTRAINTS" != "yes"; then
12745 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
12747 cat >> confdefs.h
<<\EOF
12748 #define wxUSE_PRINTING_ARCHITECTURE 1
12752 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
12755 if test "$wxUSE_PROLOGIO" = "yes" ; then
12756 cat >> confdefs.h
<<\EOF
12757 #define wxUSE_PROLOGIO 1
12762 if test "$wxUSE_RESOURCES" = "yes" ; then
12763 if test "$wxUSE_PROLOGIO" = "yes" ; then
12764 cat >> confdefs.h
<<\EOF
12765 #define wxUSE_RESOURCES 1
12768 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS resource"
12770 echo "configure: warning: wxWindows ressource system requires PrologIO and can't be compiled without it." 1>&2
12774 if test "$wxUSE_X_RESOURCES" = "yes"; then
12775 cat >> confdefs.h
<<\EOF
12776 #define wxUSE_X_RESOURCES 1
12782 if test "$wxUSE_IPC" = "yes"; then
12783 cat >> confdefs.h
<<\EOF
12784 #define wxUSE_IPC 1
12789 if test "$wxUSE_CLIPBOARD" = "yes"; then
12790 cat >> confdefs.h
<<\EOF
12791 #define wxUSE_CLIPBOARD 1
12796 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
12797 if test "$wxUSE_GTK" = 1; then
12798 if test "$WXGTK12" != 1; then
12799 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2" 1>&2
12800 wxUSE_DRAG_AND_DROP
=no
12804 if test "$wxUSE_MOTIF" = 1; then
12805 echo "configure: warning: Drag and drop is not yet supported under Motif" 1>&2
12806 wxUSE_DRAG_AND_DROP
=no
12809 if test "$USE_WIN32" = 1; then
12810 for ac_hdr
in ole2.h
12812 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12813 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12814 echo "configure:12815: checking for $ac_hdr" >&5
12815 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12816 echo $ac_n "(cached) $ac_c" 1>&6
12818 cat > conftest.
$ac_ext <<EOF
12819 #line 12820 "configure"
12820 #include "confdefs.h"
12823 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12824 { (eval echo configure
:12825: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12825 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12826 if test -z "$ac_err"; then
12828 eval "ac_cv_header_$ac_safe=yes"
12831 echo "configure: failed program was:" >&5
12832 cat conftest.
$ac_ext >&5
12834 eval "ac_cv_header_$ac_safe=no"
12838 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12839 echo "$ac_t""yes" 1>&6
12840 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12841 cat >> confdefs.h
<<EOF
12842 #define $ac_tr_hdr 1
12846 echo "$ac_t""no" 1>&6
12850 if test "x$HAVE_OLE2_H" = x
; then
12851 echo "configure: warning: Drag and drop disabled because OLE headers not found" 1>&2
12852 wxUSE_DRAG_AND_DROP
=no
12856 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
12857 cat >> confdefs.h
<<\EOF
12858 #define wxUSE_DRAG_AND_DROP 1
12861 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
12866 if test "$wxUSE_SPLINES" = "yes" ; then
12867 cat >> confdefs.h
<<\EOF
12868 #define wxUSE_SPLINES 1
12874 if test "$wxUSE_ACCEL" = "yes"; then
12875 cat >> confdefs.h
<<\EOF
12876 #define wxUSE_ACCEL 1
12881 if test "$wxUSE_CARET" = "yes"; then
12882 cat >> confdefs.h
<<\EOF
12883 #define wxUSE_CARET 1
12886 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
12889 if test "$wxUSE_COMBOBOX" = "yes"; then
12890 cat >> confdefs.h
<<\EOF
12891 #define wxUSE_COMBOBOX 1
12896 if test "$wxUSE_CHOICE" = "yes"; then
12897 cat >> confdefs.h
<<\EOF
12898 #define wxUSE_CHOICE 1
12903 if test "$wxUSE_BMPBUTTON" = "yes"; then
12904 cat >> confdefs.h
<<\EOF
12905 #define wxUSE_BMPBUTTON 1
12910 if test "$wxUSE_CHECKBOX" = "yes"; then
12911 cat >> confdefs.h
<<\EOF
12912 #define wxUSE_CHECKBOX 1
12917 if test "$wxUSE_CHECKLST" = "yes"; then
12918 cat >> confdefs.h
<<\EOF
12919 #define wxUSE_CHECKLISTBOX 1
12922 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
12925 if test "$wxUSE_GAUGE" = "yes"; then
12926 cat >> confdefs.h
<<\EOF
12927 #define wxUSE_GAUGE 1
12932 if test "$wxUSE_NEW_GRID" = "yes"; then
12934 cat >> confdefs.h
<<\EOF
12935 #define wxUSE_NEW_GRID 1
12938 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS newgrid"
12941 if test "$wxUSE_GRID" = "yes"; then
12942 cat >> confdefs.h
<<\EOF
12943 #define wxUSE_GRID 1
12946 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
12949 if test "$wxUSE_IMAGLIST" = "yes"; then
12950 cat >> confdefs.h
<<\EOF
12951 #define wxUSE_IMAGLIST 1
12956 if test "$wxUSE_LISTBOX" = "yes"; then
12957 cat >> confdefs.h
<<\EOF
12958 #define wxUSE_LISTBOX 1
12963 if test "$wxUSE_LISTCTRL" = "yes"; then
12964 if test "$wxUSE_IMAGLIST" = "yes"; then
12965 cat >> confdefs.h
<<\EOF
12966 #define wxUSE_LISTCTRL 1
12969 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
12971 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
12975 if test "$wxUSE_NOTEBOOK" = "yes"; then
12976 cat >> confdefs.h
<<\EOF
12977 #define wxUSE_NOTEBOOK 1
12980 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
12983 if test "$wxUSE_RADIOBOX" = "yes"; then
12984 cat >> confdefs.h
<<\EOF
12985 #define wxUSE_RADIOBOX 1
12990 if test "$wxUSE_RADIOBTN" = "yes"; then
12991 cat >> confdefs.h
<<\EOF
12992 #define wxUSE_RADIOBTN 1
12997 if test "$wxUSE_SASH" = "yes"; then
12998 cat >> confdefs.h
<<\EOF
12999 #define wxUSE_SASH 1
13002 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
13005 if test "$wxUSE_SCROLLBAR" = "yes"; then
13006 cat >> confdefs.h
<<\EOF
13007 #define wxUSE_SCROLLBAR 1
13010 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
13013 if test "$wxUSE_SLIDER" = "yes"; then
13014 cat >> confdefs.h
<<\EOF
13015 #define wxUSE_SLIDER 1
13020 if test "$wxUSE_SPINBTN" = "yes"; then
13021 cat >> confdefs.h
<<\EOF
13022 #define wxUSE_SPINBTN 1
13027 if test "$wxUSE_SPINCTRL" = "yes"; then
13028 cat >> confdefs.h
<<\EOF
13029 #define wxUSE_SPINCTRL 1
13034 if test "$wxUSE_SPLITTER" = "yes"; then
13035 cat >> confdefs.h
<<\EOF
13036 #define wxUSE_SPLITTER 1
13039 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
13042 if test "$wxUSE_STATBMP" = "yes"; then
13043 cat >> confdefs.h
<<\EOF
13044 #define wxUSE_STATBMP 1
13049 if test "$wxUSE_STATBOX" = "yes"; then
13050 cat >> confdefs.h
<<\EOF
13051 #define wxUSE_STATBOX 1
13056 if test "$wxUSE_STATLINE" = "yes"; then
13057 if test "$wxUSE_WINE" = 1 ; then
13058 echo "configure: warning: wxStaticLine is not supported under WINE" 1>&2
13060 cat >> confdefs.h
<<\EOF
13061 #define wxUSE_STATLINE 1
13067 if test "$wxUSE_STATUSBAR" = "yes"; then
13068 cat >> confdefs.h
<<\EOF
13069 #define wxUSE_STATUSBAR 1
13073 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
13076 if test "$wxUSE_TABDIALOG" = "yes"; then
13077 cat >> confdefs.h
<<\EOF
13078 #define wxUSE_TAB_DIALOG 1
13081 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
13084 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
13085 cat >> confdefs.h
<<\EOF
13086 #define wxUSE_TOOLBAR_SIMPLE 1
13089 wxUSE_TOOLBAR
="yes"
13092 if test "$wxUSE_TOOLBAR" = "yes"; then
13093 cat >> confdefs.h
<<\EOF
13094 #define wxUSE_TOOLBAR 1
13098 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
13099 wxUSE_TOOLBAR_NATIVE
="yes"
13102 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
13105 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
13106 cat >> confdefs.h
<<\EOF
13107 #define wxUSE_TOOLBAR_NATIVE 1
13112 if test "$wxUSE_TOOLTIPS" = "yes"; then
13113 if test "$wxUSE_MOTIF" = 1; then
13114 echo "configure: warning: wxTooltip not supported yet under Motif" 1>&2
13116 if test "$wxUSE_WINE" = 1; then
13117 echo "configure: warning: wxTooltip not supported under WINE" 1>&2
13119 cat >> confdefs.h
<<\EOF
13120 #define wxUSE_TOOLTIPS 1
13127 if test "$wxUSE_TREECTRL" = "yes"; then
13128 if test "$wxUSE_IMAGLIST" = "yes"; then
13129 cat >> confdefs.h
<<\EOF
13130 #define wxUSE_TREECTRL 1
13133 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
13135 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
13141 if test "$wxUSE_METAFILE" = "yes"; then
13142 cat >> confdefs.h
<<\EOF
13143 #define wxUSE_METAFILE 1
13148 if test "$wxUSE_DIRDLG" = "yes"; then
13149 if test "$wxUSE_CONSTRAINTS" != "yes"; then
13150 echo "configure: warning: wxDirDialog requires constraints so it won't be compiled without them" 1>&2
13152 if test "$wxUSE_TREECTRL" != "yes"; then
13153 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
13155 cat >> confdefs.h
<<\EOF
13156 #define wxUSE_DIRDLG 1
13163 if test "$wxUSE_TEXTDLG" = "yes"; then
13164 cat >> confdefs.h
<<\EOF
13165 #define wxUSE_TEXTDLG 1
13170 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
13171 if test "$wxUSE_CONSTRAINTS" != "yes"; then
13172 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
13174 cat >> confdefs.h
<<\EOF
13175 #define wxUSE_STARTUP_TIPS 1
13181 if test "$wxUSE_PROGRESSDLG" = "yes"; then
13182 if test "$wxUSE_CONSTRAINTS" != "yes"; then
13183 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
13185 cat >> confdefs.h
<<\EOF
13186 #define wxUSE_PROGRESSDLG 1
13192 if test "$wxUSE_MINIFRAME" = "yes"; then
13193 cat >> confdefs.h
<<\EOF
13194 #define wxUSE_MINIFRAME 1
13197 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
13200 if test "$wxUSE_HTML" = "yes"; then
13201 cat >> confdefs.h
<<\EOF
13202 #define wxUSE_HTML 1
13205 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html"
13206 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS html"
13209 if test "$wxUSE_VALIDATORS" = "yes"; then
13210 cat >> confdefs.h
<<\EOF
13211 #define wxUSE_VALIDATORS 1
13214 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
13217 if test "$wxUSE_GIF" = "yes" ; then
13218 cat >> confdefs.h
<<\EOF
13219 #define wxUSE_GIF 1
13224 if test "$wxUSE_PCX" = "yes" ; then
13225 cat >> confdefs.h
<<\EOF
13226 #define wxUSE_PCX 1
13231 if test "$wxUSE_PNM" = "yes" ; then
13232 cat >> confdefs.h
<<\EOF
13233 #define wxUSE_PNM 1
13239 OSINFO
=`uname -s -r -m`
13240 OSINFO
="\"$OSINFO\""
13241 cat >> confdefs.h
<<EOF
13242 #define WXWIN_OS_DESCRIPTION $OSINFO
13247 GUILIBS
="$GUI_TK_LIBRARY $OPENGL_LINK $LIBPNG_LINK $ZLIB_LINK $TOOLKIT_LINK"
13249 EXTRA_LIBS
="$LIBS $POSIX4_LINK $INET_LINK $WCHAR_LINK $THREADS_LINK $DMALLOC_LINK $DL_LINK"
13250 if test "$wxUSE_GUI" = "yes"; then
13251 EXTRA_LIBS
="$EXTRA_LIBS $GUILIBS"
13254 LD_LIBS
="\${top_builddir}/lib/${WX_LIBRARY_NAME_STATIC} $EXTRA_LIBS"
13256 INCLUDES
="-I. -I\${top_builddir}/include -I\${top_srcdir}/include $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE $TOOLKIT_INCLUDE"
13258 if test "$GXX" = yes ; then
13259 CXXWARNINGS
="-Wall"
13261 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE $INCLUDES"
13263 CFLAGS
=`echo $CFLAGS $EXTRA_CFLAGS | sed 's/ \\+/ /g'`
13264 CXXFLAGS
=`echo $CXXFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
13266 LDFLAGS
="$LDFLAGS $PROFILE"
13268 if test "$wxUSE_GUI" = "yes"; then
13270 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS controls dialogs drawing dynamic \
13271 font fractal image minimal richedit"
13273 CPPFLAGS
="$CPPFLAGS \$(EXTRADEFS) \$(APPEXTRADEFS)"
13278 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
13346 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
13347 echo "configure:13348: checking whether ${MAKE-make} sets \${MAKE}" >&5
13348 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
13349 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
13350 echo $ac_n "(cached) $ac_c" 1>&6
13352 cat > conftestmake
<<\EOF
13354 @
echo 'ac_maketemp="${MAKE}"'
13356 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
13357 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
13358 if test -n "$ac_maketemp"; then
13359 eval ac_cv_prog_make_
${ac_make}_set
=yes
13361 eval ac_cv_prog_make_
${ac_make}_set
=no
13365 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
13366 echo "$ac_t""yes" 1>&6
13369 echo "$ac_t""no" 1>&6
13370 SET_MAKE
="MAKE=${MAKE-make}"
13374 if test -d include
; then
13375 if test -d include
/wx
; then
13376 if test -d include
/wx
/${TOOLKIT_DIR}; then
13377 if test -f include
/wx
/${TOOLKIT_DIR}/setup.h
; then
13378 mv -f include
/wx
/${TOOLKIT_DIR}/setup.h setup.h
13386 if test "$wxUSE_GUI" = "yes"; then
13387 echo $ac_n "checking glcanvas subdirectory to use""... $ac_c" 1>&6
13388 echo "configure:13389: checking glcanvas subdirectory to use" >&5
13389 if eval "test \"`echo '$''{'wx_cv_path_glcanvas'+set}'`\" = set"; then
13390 echo $ac_n "(cached) $ac_c" 1>&6
13393 if test "${TOOLKIT_DIR}" = "msw" ; then
13394 wx_cv_path_glcanvas
="win"
13396 wx_cv_path_glcanvas
="${TOOLKIT_DIR}"
13401 echo "$ac_t""$wx_cv_path_glcanvas" 1>&6
13403 GL_TOOLKIT_DIR
=$wx_cv_path_glcanvas
13406 wx_cv_path_samplesubdirs
=$SAMPLES_SUBDIRS
13407 subdirs
="demos samples utils"
13412 cat > confcache
<<\EOF
13413 # This file is a shell script that caches the results of configure
13414 # tests run on this system so they can be shared between configure
13415 # scripts and configure runs. It is not useful on other systems.
13416 # If it contains results you don't want to keep, you may remove or edit it.
13418 # By default, configure uses ./config.cache as the cache file,
13419 # creating it if it does not exist already. You can give configure
13420 # the --cache-file=FILE option to use a different cache file; that is
13421 # what configure does when it calls configure scripts in
13422 # subdirectories, so they share the cache.
13423 # Giving --cache-file=/dev/null disables caching, for debugging configure.
13424 # config.status only pays attention to the cache file if you give it the
13425 # --recheck option to rerun configure.
13428 # The following way of writing the cache mishandles newlines in values,
13429 # but we know of no workaround that is simple, portable, and efficient.
13430 # So, don't put newlines in cache variables' values.
13431 # Ultrix sh set writes to stderr and can't be redirected directly,
13432 # and sets the high bit in the cache file unless we assign to the vars.
13434 case `(ac_space=' '; set | grep ac_space) 2>&1` in
13436 # `set' does not quote correctly, so add quotes (double-quote substitution
13437 # turns \\\\ into \\, and sed turns \\ into \).
13439 -e "s/'/'\\\\''/g" \
13440 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
13443 # `set' quotes correctly as required by POSIX, so do not add quotes.
13444 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
13447 if cmp -s $cache_file confcache
; then
13450 if test -w $cache_file; then
13451 echo "updating cache $cache_file"
13452 cat confcache
> $cache_file
13454 echo "not updating unwritable cache $cache_file"
13459 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
13461 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
13462 # Let make expand exec_prefix.
13463 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
13465 # Any assignment to VPATH causes Sun make to only execute
13466 # the first set of double-colon rules, so remove it if not needed.
13467 # If there is a colon in the path, we need to keep it.
13468 if test "x$srcdir" = x.
; then
13469 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
13472 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
13474 DEFS
=-DHAVE_CONFIG_H
13476 # Without the "./", some shells look in PATH for config.status.
13477 : ${CONFIG_STATUS=./config.status}
13479 echo creating
$CONFIG_STATUS
13480 rm -f $CONFIG_STATUS
13481 cat > $CONFIG_STATUS <<EOF
13483 # Generated automatically by configure.
13484 # Run this file to recreate the current configuration.
13485 # This directory was configured as follows,
13486 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13488 # $0 $ac_configure_args
13490 # Compiler output produced by configure, useful for debugging
13491 # configure, is in ./config.log if it exists.
13493 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
13496 case "\$ac_option" in
13497 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13498 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
13499 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
13500 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
13501 echo "$CONFIG_STATUS generated by autoconf version 2.13"
13503 -help | --help | --hel | --he | --h)
13504 echo "\$ac_cs_usage"; exit 0 ;;
13505 *) echo "\$ac_cs_usage"; exit 1 ;;
13509 ac_given_srcdir=$srcdir
13510 ac_given_INSTALL="$INSTALL"
13512 trap 'rm -fr `echo "
13518 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
13520 cat >> $CONFIG_STATUS <<EOF
13522 # Protect against being on the right side of a sed subst in config.status.
13523 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
13524 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
13528 s%@CFLAGS@%$CFLAGS%g
13529 s%@CPPFLAGS@%$CPPFLAGS%g
13530 s%@CXXFLAGS@%$CXXFLAGS%g
13531 s%@FFLAGS@%$FFLAGS%g
13533 s%@LDFLAGS@%$LDFLAGS%g
13535 s%@exec_prefix@%$exec_prefix%g
13536 s%@prefix@%$prefix%g
13537 s%@program_transform_name@%$program_transform_name%g
13538 s%@bindir@%$bindir%g
13539 s%@sbindir@%$sbindir%g
13540 s%@libexecdir@%$libexecdir%g
13541 s%@datadir@%$datadir%g
13542 s%@sysconfdir@%$sysconfdir%g
13543 s%@sharedstatedir@%$sharedstatedir%g
13544 s%@localstatedir@%$localstatedir%g
13545 s%@libdir@%$libdir%g
13546 s%@includedir@%$includedir%g
13547 s%@oldincludedir@%$oldincludedir%g
13548 s%@infodir@%$infodir%g
13549 s%@mandir@%$mandir%g
13551 s%@host_alias@%$host_alias%g
13552 s%@host_cpu@%$host_cpu%g
13553 s%@host_vendor@%$host_vendor%g
13554 s%@host_os@%$host_os%g
13555 s%@target@%$target%g
13556 s%@target_alias@%$target_alias%g
13557 s%@target_cpu@%$target_cpu%g
13558 s%@target_vendor@%$target_vendor%g
13559 s%@target_os@%$target_os%g
13561 s%@build_alias@%$build_alias%g
13562 s%@build_cpu@%$build_cpu%g
13563 s%@build_vendor@%$build_vendor%g
13564 s%@build_os@%$build_os%g
13568 s%@CXXCPP@%$CXXCPP%g
13569 s%@RANLIB@%$RANLIB%g
13571 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
13572 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
13573 s%@INSTALL_DATA@%$INSTALL_DATA%g
13577 s%@LEXLIB@%$LEXLIB%g
13579 s%@GTK_CONFIG@%$GTK_CONFIG%g
13580 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
13581 s%@GTK_LIBS@%$GTK_LIBS%g
13582 s%@X_CFLAGS@%$X_CFLAGS%g
13583 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
13584 s%@X_LIBS@%$X_LIBS%g
13585 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
13586 s%@LEX_STEM@%$LEX_STEM%g
13587 s%@PATH_IFS@%$PATH_IFS%g
13588 s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
13589 s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
13590 s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
13591 s%@WX_LIBRARY_NAME@%$WX_LIBRARY_NAME%g
13592 s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
13593 s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
13594 s%@WX_LIBRARY@%$WX_LIBRARY%g
13595 s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
13596 s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
13597 s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
13598 s%@WX_LIBRARY_LINK3@%$WX_LIBRARY_LINK3%g
13599 s%@PROGRAM_EXT@%$PROGRAM_EXT%g
13600 s%@WX_ALL@%$WX_ALL%g
13601 s%@WX_ALL_INSTALLED@%$WX_ALL_INSTALLED%g
13602 s%@SHARED_LD@%$SHARED_LD%g
13603 s%@PIC_FLAG@%$PIC_FLAG%g
13604 s%@DEP_INFO_FLAGS@%$DEP_INFO_FLAGS%g
13605 s%@CODE_GEN_FLAGS@%$CODE_GEN_FLAGS%g
13606 s%@BURNT_LIBRARY_NAME@%$BURNT_LIBRARY_NAME%g
13607 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
13608 s%@USE_GUI@%$USE_GUI%g
13609 s%@AFMINSTALL@%$AFMINSTALL%g
13610 s%@TOOLKIT@%$TOOLKIT%g
13611 s%@TOOLKIT_DEF@%$TOOLKIT_DEF%g
13612 s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
13613 s%@TOOLKIT_INCLUDE@%$TOOLKIT_INCLUDE%g
13614 s%@GUIHEADERS@%$GUIHEADERS%g
13615 s%@GUIOBJS@%$GUIOBJS%g
13616 s%@COMMONOBJS@%$COMMONOBJS%g
13617 s%@GENERICOBJS@%$GENERICOBJS%g
13618 s%@GUIDEPS@%$GUIDEPS%g
13619 s%@COMMONDEPS@%$COMMONDEPS%g
13620 s%@GENERICDEPS@%$GENERICDEPS%g
13621 s%@IODBCOBJS@%$IODBCOBJS%g
13622 s%@UNIXOBJS@%$UNIXOBJS%g
13623 s%@UNIXDEPS@%$UNIXDEPS%g
13624 s%@ALL_OBJECTS@%$ALL_OBJECTS%g
13625 s%@ALL_DEPFILES@%$ALL_DEPFILES%g
13626 s%@GUIDIST@%$GUIDIST%g
13627 s%@PORT_FILES@%$PORT_FILES%g
13628 s%@DISTDIR@%$DISTDIR%g
13629 s%@RPM_SPEC@%$RPM_SPEC%g
13630 s%@RPM_FILES@%$RPM_FILES%g
13631 s%@SRC_SUBDIRS@%$SRC_SUBDIRS%g
13632 s%@INCLUDE_SUBDIRS@%$INCLUDE_SUBDIRS%g
13633 s%@UTILS_SUBDIRS@%$UTILS_SUBDIRS%g
13634 s%@DOCS_SUBDIRS@%$DOCS_SUBDIRS%g
13635 s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
13636 s%@USER_SUBDIRS@%$USER_SUBDIRS%g
13637 s%@EXTRA_LIBS@%$EXTRA_LIBS%g
13638 s%@EXTRADEFS@%$EXTRADEFS%g
13639 s%@LD_LIBS@%$LD_LIBS%g
13640 s%@SET_MAKE@%$SET_MAKE%g
13641 s%@GL_TOOLKIT_DIR@%$GL_TOOLKIT_DIR%g
13642 s%@subdirs@%$subdirs%g
13647 cat >> $CONFIG_STATUS <<\EOF
13649 # Split the substitutions into bite-sized pieces for seds with
13650 # small command number limits, like on Digital OSF/1 and HP-UX.
13651 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
13652 ac_file
=1 # Number of current file.
13653 ac_beg
=1 # First line for current file.
13654 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
13657 while $ac_more_lines; do
13658 if test $ac_beg -gt 1; then
13659 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
13661 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
13663 if test ! -s conftest.s
$ac_file; then
13664 ac_more_lines
=false
13665 rm -f conftest.s
$ac_file
13667 if test -z "$ac_sed_cmds"; then
13668 ac_sed_cmds
="sed -f conftest.s$ac_file"
13670 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
13672 ac_file
=`expr $ac_file + 1`
13674 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
13677 if test -z "$ac_sed_cmds"; then
13682 cat >> $CONFIG_STATUS <<EOF
13684 CONFIG_FILES=\${CONFIG_FILES-"wx-config
13691 cat >> $CONFIG_STATUS <<\EOF
13692 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
13693 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
13695 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
13696 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
13697 *) ac_file_in
="${ac_file}.in" ;;
13700 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
13702 # Remove last slash and all that follows it. Not all systems have dirname.
13703 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
13704 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
13705 # The file is in a subdirectory.
13706 test ! -d "$ac_dir" && mkdir "$ac_dir"
13707 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
13708 # A "../" for each directory in $ac_dir_suffix.
13709 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
13711 ac_dir_suffix
= ac_dots
=
13714 case "$ac_given_srcdir" in
13716 if test -z "$ac_dots"; then top_srcdir
=.
13717 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
13718 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
13719 *) # Relative path.
13720 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
13721 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
13724 case "$ac_given_INSTALL" in
13725 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
13726 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
13729 echo creating
"$ac_file"
13731 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
13733 *Makefile
*) ac_comsub
="1i\\
13734 # $configure_input" ;;
13738 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
13740 s%@configure_input@%$configure_input%g
13741 s%@srcdir@%$srcdir%g
13742 s%@top_srcdir@%$top_srcdir%g
13743 s%@INSTALL@%$INSTALL%g
13744 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
13748 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
13749 # NAME is the cpp macro being defined and VALUE is the value it is being given.
13751 # ac_d sets the value in "#define NAME VALUE" lines.
13752 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
13753 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
13756 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
13757 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
13758 ac_uB
='\([ ]\)%\1#\2define\3'
13761 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
13762 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
13763 ac_eB
='$%\1#\2define\3'
13767 if test "${CONFIG_HEADERS+set}" != set; then
13769 cat >> $CONFIG_STATUS <<EOF
13770 CONFIG_HEADERS="setup.h:setup.h.in"
13772 cat >> $CONFIG_STATUS <<\EOF
13774 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
13775 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
13777 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
13778 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
13779 *) ac_file_in
="${ac_file}.in" ;;
13782 echo creating
$ac_file
13784 rm -f conftest.frag conftest.
in conftest.out
13785 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
13786 cat $ac_file_inputs > conftest.
in
13790 # Transform confdefs.h into a sed script conftest.vals that substitutes
13791 # the proper values into config.h.in to produce config.h. And first:
13792 # Protect against being on the right side of a sed subst in config.status.
13793 # Protect against being in an unquoted here document in config.status.
13794 rm -f conftest.vals
13795 cat > conftest.hdr
<<\EOF
13798 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
13802 sed -n -f conftest.hdr confdefs.h > conftest.vals
13805 # This sed command replaces #undef with comments. This is necessary, for
13806 # example, in the case of _POSIX_SOURCE, which is predefined and required
13807 # on some systems where configure will not decide to define it.
13808 cat >> conftest.vals <<\EOF
13809 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
13812 # Break up conftest.vals because some shells have a limit on
13813 # the size of here documents, and old seds have small limits too.
13815 rm -f conftest.tail
13818 ac_lines=`grep -c . conftest.vals
`
13819 # grep -c gives empty output for an empty file on some AIX systems.
13820 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
13821 # Write a limited-size here document to conftest.frag.
13822 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
13823 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
13825 sed -f conftest.frag conftest.in > conftest.out
13827 mv conftest.out conftest.in
13828 ' >> $CONFIG_STATUS
13829 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
13830 rm -f conftest.vals
13831 mv conftest.tail conftest.vals
13833 rm -f conftest.vals
13835 cat >> $CONFIG_STATUS <<\EOF
13836 rm -f conftest.frag conftest.h
13837 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
13838 cat conftest.in >> conftest.h
13840 if cmp -s $ac_file conftest.h 2>/dev/null; then
13841 echo "$ac_file is unchanged"
13844 # Remove last slash and all that follows it. Not all systems have dirname.
13845 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
13846 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
13847 # The file is in a subdirectory.
13848 test ! -d "$ac_dir" && mkdir "$ac_dir"
13851 mv conftest.h $ac_file
13856 cat >> $CONFIG_STATUS <<EOF
13858 TOOLKIT_DIR="${TOOLKIT_DIR}"
13863 cat >> $CONFIG_STATUS <<\EOF
13866 mv wx-config wx${TOOLKIT_DIR}-config
13867 ${LN_S} wx${TOOLKIT_DIR}-config wx-config
13870 if test ! -d lib; then
13873 if test ! -d lib/wx; then
13876 if test ! -d lib/wx/include; then
13877 mkdir lib/wx/include
13879 if test ! -d lib/wx/include/wx; then
13880 mkdir lib/wx/include/wx
13882 if test ! -d lib/wx/include/wx/${TOOLKIT_DIR}; then
13883 mkdir lib/wx/include/wx/${TOOLKIT_DIR}
13885 if test -f setup.h; then
13886 cp -f setup.h lib/wx/include/wx/${TOOLKIT_DIR}/setup.h
13890 if test ! -d include; then
13893 if test ! -d include/wx; then
13896 if test ! -d include/wx/${TOOLKIT_DIR}; then
13897 mkdir include/wx/${TOOLKIT_DIR}
13899 if test -f setup.h; then
13900 mv -f setup.h include/wx/${TOOLKIT_DIR}/setup.h
13906 chmod +x $CONFIG_STATUS
13907 rm -fr confdefs* $ac_clean_files
13908 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
13910 if test "$no_recursion" != yes; then
13912 # Remove --cache-file and --srcdir arguments so they do not pile up.
13913 ac_sub_configure_args=
13915 for ac_arg in $ac_configure_args; do
13916 if test -n "$ac_prev"; then
13921 -cache-file | --cache-file | --cache-fil | --cache-fi \
13922 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
13923 ac_prev=cache_file ;;
13924 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
13925 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
13927 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
13929 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
13931 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
13935 for ac_config_dir in demos samples utils; do
13937 # Do not complain, so a configure script can configure whichever
13938 # parts of a large source tree are present.
13939 if test ! -d $srcdir/$ac_config_dir; then
13943 echo configuring in $ac_config_dir
13948 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
13950 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
13958 # A "../" for each directory in /$ac_config_dir.
13959 ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
13962 .) # No --srcdir option. We are building in place.
13963 ac_sub_srcdir=$srcdir ;;
13964 /*) # Absolute path.
13965 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
13966 *) # Relative path.
13967 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
13970 # Check for guested configure; otherwise get Cygnus style configure.
13971 if test -f $ac_sub_srcdir/configure; then
13972 ac_sub_configure=$ac_sub_srcdir/configure
13973 elif test -f $ac_sub_srcdir/configure.in; then
13974 ac_sub_configure=$ac_configure
13976 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
13980 # The recursion is here.
13981 if test -n "$ac_sub_configure"; then
13983 # Make the cache file name correct relative to the subdirectory.
13984 case "$cache_file" in
13985 /*) ac_sub_cache_file=$cache_file ;;
13986 *) # Relative path.
13987 ac_sub_cache_file="$ac_dots$cache_file" ;;
13989 case "$ac_given_INSTALL" in
13990 [/$]*) INSTALL="$ac_given_INSTALL" ;;
13991 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
13994 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
13995 # The eval makes quoting arguments work.
13996 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
13999 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }