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-gtk-prefix=PFX Prefix where GTK is installed"
66 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed"
68 --with-dmalloc use dmalloc library (www.letters.com/dmalloc)"
70 --with-zlib use zlib for LZW compression"
72 --with-libpng use libpng (PNG image format)"
74 --with-libjpeg use libjpeg (JPEG file format)"
76 --with-libtiff use libtiff (TIFF file format)"
78 --with-opengl use OpenGL (or Mesa)"
80 --with-odbc use the IODBC and wxODBC classes"
82 --enable-shared create shared library code"
84 --enable-optimise create optimised code"
86 --enable-debug same as debug_flag and debug_info"
88 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)"
90 --enable-debug_info create code with debugging information"
92 --enable-debug_gdb create code with extra GDB debugging information"
94 --enable-debug_cntxt use wxDebugContext"
96 --enable-mem_tracing create code with memory tracing"
98 --enable-profile create code with profiling information"
100 --enable-no_rtti create code without RTTI information"
102 --enable-no_exceptions create code without exceptions information"
104 --enable-permissive compile code disregarding strict ANSI"
106 --enable-no_deps create code without dependency information"
108 --enable-intl use internationalization system"
110 --enable-config use wxConfig (and derived) classes"
112 --enable-sockets use socket/network classes"
114 --enable-dialupman use dialup network classes"
116 --enable-ipc use interprocess communication (wxSocket etc.)"
118 --enable-apple_ieee use the Apple IEEE codec"
120 --enable-timedate use date/time classes"
122 --enable-wave use wxWave class"
124 --enable-fraction use wxFraction class"
126 --enable-dynlib use wxLibrary class for DLL loading"
128 --enable-longlong use wxLongLong class"
130 --enable-log use logging system"
132 --enable-streams use wxStream etc classes"
134 --enable-file use wxFile classes"
136 --enable-textfile use wxTextFile classes"
138 --enable-unicode compile wxString with Unicode support"
140 --enable-wcsrtombs use wcsrtombs instead of buggy (GNU libc1/Linux libc5) wcstombs"
142 --enable-wxprintfv use wxWindows implementation of vprintf()"
144 --enable-joystick compile in joystick support (Linux only)"
146 --enable-std_iostreams use standard C++ stream classes"
148 --enable-fs_inet use virtual HTTP/FTP filesystems"
150 --enable-fs_zip use virtual ZIP filesystems"
152 --enable-zipstream use wxZipInputStream"
154 --enable-threads use threads"
156 --enable-serial use class serialization"
158 --enable-docview use document view architecture"
160 --enable-help use help (using external browser at present)"
162 --enable-constraints use layout-constraints system"
164 --enable-printarch use printing architecture"
166 --enable-mdi use multiple document interface architecture"
168 --enable-postscript use wxPostscriptDC device context (default for gtk+)"
170 --enable-prologio use Prolog IO library"
172 --enable-resources use wxWindows resources"
174 --enable-xresources use X resources for save (default for gtk+)"
176 --enable-clipboard use wxClipboard classes"
178 --enable-dnd use Drag'n'Drop classes"
180 --enable-wxtree make wxTree library"
182 --enable-controls use all usual controls"
184 --enable-accel use accelerators"
186 --enable-caret use wxCaret class"
188 --enable-bmpbutton use wxBitmapButton class"
190 --enable-checkbox use wxCheckBox class"
192 --enable-checklst use wxCheckListBox (listbox with checkboxes) class"
194 --enable-choice use wxChoice class"
196 --enable-combobox use wxComboBox classes"
198 --enable-gauge use wxGauge class"
200 --enable-grid use wxGrid class"
202 --enable-newgrid use new wxGrid class"
204 --enable-imaglist use wxImageList class"
206 --enable-listbox use wxListBox class"
208 --enable-listctrl use wxListCtrl class"
210 --enable-notebook use wxNotebook class"
212 --enable-radiobox use wxRadioBox class"
214 --enable-radiobtn use wxRadioButton class"
216 --enable-sash use wxSashWindow class"
218 --enable-scrollbar use wxScrollBar class and scrollable windows"
220 --enable-slider use wxSlider class"
222 --enable-spinbtn use wxSpinButton class"
224 --enable-spinctrl use wxSpinCtrl class"
226 --enable-splitter use wxSplitterWindow class"
228 --enable-statbmp use wxStaticBitmap class"
230 --enable-statbox use wxStaticBox class"
232 --enable-statline use wxStaticLine class"
234 --enable-statusbar use wxStatusBar class"
236 --enable-tabdialog use wxTabControl class"
238 --enable-toolbar use wxToolBar class"
240 --enable-treectrl use wxTreeCtrl class"
242 --enable-commondlg use common dialogs (wxDirDialog, wxProgressDialog, wxTextDialog, ...)"
244 --enable-dirdlg use wxDirDialog"
246 --enable-textdlg use wxTextDialog"
248 --enable-tipdlg use startup tips"
250 --enable-progressdlg use wxProgressDialog"
252 --enable-miniframe use wxMiniFrame class"
254 --enable-html use wxHTML sub-library"
256 --enable-tooltips use wxToolTip class"
258 --enable-splines use spline drawing code"
260 --enable-validators use wxValidator and derived classes"
262 --enable-busyinfo use wxBusyInfo"
264 --enable-gif use gif images (GIF file format)"
266 --enable-pcx use pcx images (PCX file format)"
268 --enable-pnm use pnm images (PNM file format)"
270 --with-x use the X Window System"
272 # Initialize some variables set by options.
273 # The variables have the same names as the options, with
274 # dashes changed to underlines.
276 cache_file
=.
/config.cache
285 program_transform_name
=s
,x
,x
,
293 bindir
='${exec_prefix}/bin'
294 sbindir
='${exec_prefix}/sbin'
295 libexecdir
='${exec_prefix}/libexec'
296 datadir
='${prefix}/share'
297 sysconfdir
='${prefix}/etc'
298 sharedstatedir
='${prefix}/com'
299 localstatedir
='${prefix}/var'
300 libdir
='${exec_prefix}/lib'
301 includedir
='${prefix}/include'
302 oldincludedir
='/usr/include'
303 infodir
='${prefix}/info'
304 mandir
='${prefix}/man'
306 # Initialize some other variables.
309 SHELL
=${CONFIG_SHELL-/bin/sh}
310 # Maximum number of lines to put in a shell here document.
317 # If the previous option needs an argument, assign it.
318 if test -n "$ac_prev"; then
319 eval "$ac_prev=\$ac_option"
325 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
329 # Accept the important Cygnus configure options, so we can diagnose typos.
333 -bindir | --bindir | --bindi | --bind | --bin | --bi)
335 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
336 bindir
="$ac_optarg" ;;
338 -build | --build | --buil | --bui | --bu)
340 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
341 build
="$ac_optarg" ;;
343 -cache-file | --cache-file | --cache-fil | --cache-fi \
344 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
345 ac_prev
=cache_file
;;
346 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
347 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
348 cache_file
="$ac_optarg" ;;
350 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
352 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
354 datadir
="$ac_optarg" ;;
356 -disable-* | --disable-*)
357 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
358 # Reject names that are not valid shell variable names.
359 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
360 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
362 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
363 eval "enable_${ac_feature}=no" ;;
365 -enable-* | --enable-*)
366 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
367 # Reject names that are not valid shell variable names.
368 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
369 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
371 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
376 eval "enable_${ac_feature}='$ac_optarg'" ;;
378 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
379 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
380 | --exec | --exe | --ex)
381 ac_prev
=exec_prefix
;;
382 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
383 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
384 | --exec=* | --exe=* | --ex=*)
385 exec_prefix
="$ac_optarg" ;;
387 -gas | --gas | --ga | --g)
388 # Obsolete; use --with-gas.
391 -help | --help | --hel | --he)
392 # Omit some internal or obsolete options to make the list less imposing.
393 # This message is too long to be a string in the A/UX 3.1 sh.
395 Usage: configure [options] [host]
396 Options: [defaults in brackets after descriptions]
398 --cache-file=FILE cache test results in FILE
399 --help print this message
400 --no-create do not create output files
401 --quiet, --silent do not print \`checking...' messages
402 --version print the version of autoconf that created configure
403 Directory and file names:
404 --prefix=PREFIX install architecture-independent files in PREFIX
406 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
408 --bindir=DIR user executables in DIR [EPREFIX/bin]
409 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
410 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
411 --datadir=DIR read-only architecture-independent data in DIR
413 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
414 --sharedstatedir=DIR modifiable architecture-independent data in DIR
416 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
417 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
418 --includedir=DIR C header files in DIR [PREFIX/include]
419 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
420 --infodir=DIR info documentation in DIR [PREFIX/info]
421 --mandir=DIR man documentation in DIR [PREFIX/man]
422 --srcdir=DIR find the sources in DIR [configure dir or ..]
423 --program-prefix=PREFIX prepend PREFIX to installed program names
424 --program-suffix=SUFFIX append SUFFIX to installed program names
425 --program-transform-name=PROGRAM
426 run sed PROGRAM on installed program names
430 --build=BUILD configure for building on BUILD [BUILD=HOST]
431 --host=HOST configure for HOST [guessed]
432 --target=TARGET configure for TARGET [TARGET=HOST]
433 Features and packages:
434 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
435 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
436 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
437 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
438 --x-includes=DIR X include files are in DIR
439 --x-libraries=DIR X library files are in DIR
441 if test -n "$ac_help"; then
442 echo "--enable and --with options recognized:$ac_help"
446 -host | --host | --hos | --ho)
448 -host=* | --host=* | --hos=* | --ho=*)
451 -includedir | --includedir | --includedi | --included | --include \
452 | --includ | --inclu | --incl | --inc)
453 ac_prev
=includedir
;;
454 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
455 | --includ=* | --inclu=* | --incl=* | --inc=*)
456 includedir
="$ac_optarg" ;;
458 -infodir | --infodir | --infodi | --infod | --info | --inf)
460 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
461 infodir
="$ac_optarg" ;;
463 -libdir | --libdir | --libdi | --libd)
465 -libdir=* | --libdir=* | --libdi=* | --libd=*)
466 libdir
="$ac_optarg" ;;
468 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
469 | --libexe | --libex | --libe)
470 ac_prev
=libexecdir
;;
471 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
472 | --libexe=* | --libex=* | --libe=*)
473 libexecdir
="$ac_optarg" ;;
475 -localstatedir | --localstatedir | --localstatedi | --localstated \
476 | --localstate | --localstat | --localsta | --localst \
477 | --locals | --local | --loca | --loc | --lo)
478 ac_prev
=localstatedir
;;
479 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
480 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
481 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
482 localstatedir
="$ac_optarg" ;;
484 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
486 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
487 mandir
="$ac_optarg" ;;
490 # Obsolete; use --without-fp.
493 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
497 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
498 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
501 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
502 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
503 | --oldin | --oldi | --old | --ol | --o)
504 ac_prev
=oldincludedir
;;
505 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
506 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
507 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
508 oldincludedir
="$ac_optarg" ;;
510 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
512 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
513 prefix
="$ac_optarg" ;;
515 -program-prefix | --program-prefix | --program-prefi | --program-pref \
516 | --program-pre | --program-pr | --program-p)
517 ac_prev
=program_prefix
;;
518 -program-prefix=* | --program-prefix=* | --program-prefi=* \
519 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
520 program_prefix
="$ac_optarg" ;;
522 -program-suffix | --program-suffix | --program-suffi | --program-suff \
523 | --program-suf | --program-su | --program-s)
524 ac_prev
=program_suffix
;;
525 -program-suffix=* | --program-suffix=* | --program-suffi=* \
526 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
527 program_suffix
="$ac_optarg" ;;
529 -program-transform-name | --program-transform-name \
530 | --program-transform-nam | --program-transform-na \
531 | --program-transform-n | --program-transform- \
532 | --program-transform | --program-transfor \
533 | --program-transfo | --program-transf \
534 | --program-trans | --program-tran \
535 | --progr-tra | --program-tr | --program-t)
536 ac_prev
=program_transform_name
;;
537 -program-transform-name=* | --program-transform-name=* \
538 | --program-transform-nam=* | --program-transform-na=* \
539 | --program-transform-n=* | --program-transform-=* \
540 | --program-transform=* | --program-transfor=* \
541 | --program-transfo=* | --program-transf=* \
542 | --program-trans=* | --program-tran=* \
543 | --progr-tra=* | --program-tr=* | --program-t=*)
544 program_transform_name
="$ac_optarg" ;;
546 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
547 | -silent | --silent | --silen | --sile | --sil)
550 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
552 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
554 sbindir
="$ac_optarg" ;;
556 -sharedstatedir | --sharedstatedir | --sharedstatedi \
557 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
558 | --sharedst | --shareds | --shared | --share | --shar \
560 ac_prev
=sharedstatedir
;;
561 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
562 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
563 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
565 sharedstatedir
="$ac_optarg" ;;
567 -site | --site | --sit)
569 -site=* | --site=* | --sit=*)
572 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
574 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
575 srcdir
="$ac_optarg" ;;
577 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
578 | --syscon | --sysco | --sysc | --sys | --sy)
579 ac_prev
=sysconfdir
;;
580 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
581 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
582 sysconfdir
="$ac_optarg" ;;
584 -target | --target | --targe | --targ | --tar | --ta | --t)
586 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
587 target
="$ac_optarg" ;;
589 -v | -verbose | --verbose | --verbos | --verbo | --verb)
592 -version | --version | --versio | --versi | --vers)
593 echo "configure generated by autoconf version 2.13"
597 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
598 # Reject names that are not valid shell variable names.
599 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
600 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
602 ac_package
=`echo $ac_package| sed 's/-/_/g'`
607 eval "with_${ac_package}='$ac_optarg'" ;;
609 -without-* | --without-*)
610 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
611 # Reject names that are not valid shell variable names.
612 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
613 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
615 ac_package
=`echo $ac_package| sed 's/-/_/g'`
616 eval "with_${ac_package}=no" ;;
619 # Obsolete; use --with-x.
622 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
623 | --x-incl | --x-inc | --x-in | --x-i)
624 ac_prev
=x_includes
;;
625 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
626 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
627 x_includes
="$ac_optarg" ;;
629 -x-libraries | --x-libraries | --x-librarie | --x-librari \
630 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
631 ac_prev
=x_libraries
;;
632 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
633 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
634 x_libraries
="$ac_optarg" ;;
636 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
640 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
641 echo "configure: warning: $ac_option: invalid host type" 1>&2
643 if test "x$nonopt" != xNONE
; then
644 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
652 if test -n "$ac_prev"; then
653 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
656 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
658 # File descriptor usage:
661 # 2 errors and warnings
662 # 3 some systems may open it to /dev/tty
663 # 4 used on the Kubota Titan
664 # 6 checking for... messages and results
665 # 5 compiler messages saved in config.log
666 if test "$silent" = yes; then
674 This file contains any messages produced by compilers while
675 running configure, to aid debugging if configure makes a mistake.
678 # Strip out --no-create and --no-recursion so they do not pile up.
679 # Also quote any args containing shell metacharacters.
684 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
685 | --no-cr | --no-c) ;;
686 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
687 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
688 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
689 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
690 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
695 # Only set these to C if already set. These must not be set unconditionally
696 # because not all systems understand e.g. LANG=C (notably SCO).
697 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
698 # Non-C LC_CTYPE values break the ctype check.
699 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
700 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
701 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
702 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
704 # confdefs.h avoids OS command line length limits that DEFS can exceed.
705 rm -rf conftest
* confdefs.h
706 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
709 # A filename unique to this package, relative to the directory that
710 # configure is in, which we can look for to find out if srcdir is correct.
711 ac_unique_file
=wx
-config.
in
713 # Find the source files, if location was not specified.
714 if test -z "$srcdir"; then
715 ac_srcdir_defaulted
=yes
716 # Try the directory containing this script, then its parent.
718 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
719 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
721 if test ! -r $srcdir/$ac_unique_file; then
725 ac_srcdir_defaulted
=no
727 if test ! -r $srcdir/$ac_unique_file; then
728 if test "$ac_srcdir_defaulted" = yes; then
729 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
731 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
734 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
736 # Prefer explicitly selected file to automatically selected ones.
737 if test -z "$CONFIG_SITE"; then
738 if test "x$prefix" != xNONE
; then
739 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
741 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
744 for ac_site_file
in $CONFIG_SITE; do
745 if test -r "$ac_site_file"; then
746 echo "loading site script $ac_site_file"
751 if test -r "$cache_file"; then
752 echo "loading cache $cache_file"
755 echo "creating cache $cache_file"
760 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
761 ac_cpp
='$CPP $CPPFLAGS'
762 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
763 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
764 cross_compiling
=$ac_cv_prog_cc_cross
768 if (echo "testing\c"; echo 1,2,3) | grep c
>/dev
/null
; then
769 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
770 if (echo -n testing
; echo 1,2,3) | sed s
/-n/xn
/ | grep xn
>/dev
/null
; then
777 ac_n
= ac_c
='\c' ac_t
=
783 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
784 if test -f $ac_dir/install-sh; then
786 ac_install_sh
="$ac_aux_dir/install-sh -c"
788 elif test -f $ac_dir/install.sh
; then
790 ac_install_sh
="$ac_aux_dir/install.sh -c"
794 if test -z "$ac_aux_dir"; then
795 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
797 ac_config_guess
=$ac_aux_dir/config.guess
798 ac_config_sub
=$ac_aux_dir/config.sub
799 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
802 # Do some error checking and defaulting for the host and target type.
804 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
807 # 1. You are not allowed to specify --host, --target, and nonopt at the
809 # 2. Host defaults to nonopt.
810 # 3. If nonopt is not specified, then host defaults to the current host,
811 # as determined by config.guess.
812 # 4. Target and build default to nonopt.
813 # 5. If nonopt is not specified, then target and build default to host.
815 # The aliases save the names the user supplied, while $host etc.
816 # will get canonicalized.
817 case $host---$target---$nonopt in
818 NONE
---*---* | *---NONE---* | *---*---NONE) ;;
819 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
823 # Make sure we can run config.sub.
824 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
825 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
828 echo $ac_n "checking host system type""... $ac_c" 1>&6
829 echo "configure:830: checking host system type" >&5
832 case "$host_alias" in
836 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
837 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
839 *) host_alias
=$nonopt ;;
843 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
844 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
845 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
846 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
847 echo "$ac_t""$host" 1>&6
849 echo $ac_n "checking target system type""... $ac_c" 1>&6
850 echo "configure:851: checking target system type" >&5
853 case "$target_alias" in
856 NONE
) target_alias
=$host_alias ;;
857 *) target_alias
=$nonopt ;;
861 target
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
862 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
863 target_vendor
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
864 target_os
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
865 echo "$ac_t""$target" 1>&6
867 echo $ac_n "checking build system type""... $ac_c" 1>&6
868 echo "configure:869: checking build system type" >&5
871 case "$build_alias" in
874 NONE
) build_alias
=$host_alias ;;
875 *) build_alias
=$nonopt ;;
879 build
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
880 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
881 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
882 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
883 echo "$ac_t""$build" 1>&6
885 test "$host_alias" != "$target_alias" &&
886 test "$program_prefix$program_suffix$program_transform_name" = \
888 program_prefix
=${target_alias}-
892 WX_MAJOR_VERSION_NUMBER
=2
893 WX_MINOR_VERSION_NUMBER
=1
899 WX_VERSION
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER.
$WX_RELEASE_NUMBER
901 WX_RELEASE
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER
902 WX_CURRENT
=`expr $WX_RELEASE_NUMBER - $WX_INTERFACE_AGE`
903 WX_REVISION
=$WX_INTERFACE_AGE
904 WX_AGE
=`expr $WX_BINARY_AGE - $WX_INTERFACE_AGE`
928 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
930 ALL_TOOLKITS
="CYGWIN GTK MINGW MOTIF WINE"
933 DEFAULT_wxUSE_MOTIF
=0
937 DEFAULT_DEFAULT_wxUSE_GTK
=0
938 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
939 DEFAULT_DEFAULT_wxUSE_MSW
=0
940 DEFAULT_DEFAULT_wxUSE_WINE
=0
945 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
946 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
947 cat >> confdefs.h
<<\EOF
954 cat >> confdefs.h
<<\EOF
959 if test "x$TMP" = "xalpha"; then
961 cat >> confdefs.h
<<\EOF
966 DEFAULT_DEFAULT_wxUSE_GTK
=1
968 *-*-irix5* | *-*-irix6* )
971 cat >> confdefs.h
<<\EOF
975 cat >> confdefs.h
<<\EOF
979 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
985 cat >> confdefs.h
<<\EOF
989 cat >> confdefs.h
<<\EOF
990 #define __SOLARIS__ 1
993 cat >> confdefs.h
<<\EOF
997 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
998 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1004 cat >> confdefs.h
<<\EOF
1008 cat >> confdefs.h
<<\EOF
1012 cat >> confdefs.h
<<\EOF
1016 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1018 *-*-freebsd* | *-*-netbsd*)
1021 cat >> confdefs.h
<<\EOF
1022 #define __FREEBSD__ 1
1025 cat >> confdefs.h
<<\EOF
1029 DEFAULT_DEFAULT_wxUSE_GTK
=1
1034 cat >> confdefs.h
<<\EOF
1038 cat >> confdefs.h
<<\EOF
1042 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1047 cat >> confdefs.h
<<\EOF
1051 cat >> confdefs.h
<<\EOF
1055 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1060 cat >> confdefs.h
<<\EOF
1064 cat >> confdefs.h
<<\EOF
1068 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1074 cat >> confdefs.h
<<\EOF
1078 cat >> confdefs.h
<<\EOF
1082 cat >> confdefs.h
<<\EOF
1086 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1089 *-*-cygwin32* | *-*-mingw32* )
1092 cat >> confdefs.h
<<\EOF
1096 cat >> confdefs.h
<<\EOF
1100 cat >> confdefs.h
<<\EOF
1101 #define __WINDOWS__ 1
1104 cat >> confdefs.h
<<\EOF
1105 #define __GNUWIN32__ 1
1108 cat >> confdefs.h
<<\EOF
1112 cat >> confdefs.h
<<\EOF
1113 #define WINVER 0x0400
1116 DEFAULT_DEFAULT_wxUSE_MSW
=1
1120 cat >> confdefs.h
<<\EOF
1127 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
1130 if test "$USE_UNIX" = 1 ; then
1132 cat >> confdefs.h
<<\EOF
1136 SRC_SUBDIRS
="$SRC_SUBDIRS unix"
1137 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS unix"
1140 if test "$USE_LINUX" = 1; then
1141 echo $ac_n "checking for gettext in -lc""... $ac_c" 1>&6
1142 echo "configure:1143: checking for gettext in -lc" >&5
1143 ac_lib_var
=`echo c'_'gettext | sed 'y%./+-%__p_%'`
1144 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1145 echo $ac_n "(cached) $ac_c" 1>&6
1147 ac_save_LIBS
="$LIBS"
1149 cat > conftest.
$ac_ext <<EOF
1150 #line 1151 "configure"
1151 #include "confdefs.h"
1152 /* Override any gcc2 internal prototype to avoid an error. */
1153 /* We use char because int might match the return type of a gcc2
1154 builtin and then its argument prototype would still apply. */
1161 if { (eval echo configure
:1162: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
1163 eval "ac_cv_lib_$ac_lib_var=yes"
1165 echo "configure: failed program was:" >&5
1166 cat conftest.
$ac_ext >&5
1168 eval "ac_cv_lib_$ac_lib_var=no"
1171 LIBS
="$ac_save_LIBS"
1174 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1175 echo "$ac_t""yes" 1>&6
1176 cat >> confdefs.h
<<\EOF
1177 #define wxHAVE_GLIBC2 1
1181 echo "$ac_t""no" 1>&6
1189 wx_arg_cache_file
="configarg.cache"
1190 echo "loading argument cache $wx_arg_cache_file"
1191 rm -f ${wx_arg_cache_file}.tmp
1192 touch ${wx_arg_cache_file}.tmp
1193 touch ${wx_arg_cache_file}
1197 if test $DEBUG_CONFIGURE = 1; then
1198 DEFAULT_wxUSE_THREADS
=yes
1200 DEFAULT_wxUSE_SHARED
=yes
1201 DEFAULT_wxUSE_OPTIMISE
=yes
1202 DEFAULT_wxUSE_PROFILE
=no
1203 DEFAULT_wxUSE_NO_DEPS
=no
1204 DEFAULT_wxUSE_NO_RTTI
=no
1205 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1206 DEFAULT_wxUSE_PERMISSIVE
=no
1207 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1208 DEFAULT_wxUSE_DEBUG_INFO
=yes
1209 DEFAULT_wxUSE_DEBUG_GDB
=yes
1210 DEFAULT_wxUSE_MEM_TRACING
=no
1211 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1212 DEFAULT_wxUSE_DMALLOC
=no
1213 DEFAULT_wxUSE_APPLE_IEEE
=no
1215 DEFAULT_wxUSE_LOG
=yes
1217 DEFAULT_wxUSE_GUI
=yes
1219 DEFAULT_wxUSE_ZLIB
=no
1220 DEFAULT_wxUSE_LIBPNG
=no
1221 DEFAULT_wxUSE_LIBJPEG
=no
1222 DEFAULT_wxUSE_LIBTIFF
=no
1223 DEFAULT_wxUSE_ODBC
=no
1225 DEFAULT_wxUSE_STD_IOSTREAM
=no
1226 DEFAULT_wxUSE_FILE
=no
1227 DEFAULT_wxUSE_TEXTFILE
=no
1228 DEFAULT_wxUSE_TIMEDATE
=no
1229 DEFAULT_wxUSE_WAVE
=no
1230 DEFAULT_wxUSE_INTL
=no
1231 DEFAULT_wxUSE_CONFIG
=no
1232 DEFAULT_wxUSE_STREAMS
=no
1233 DEFAULT_wxUSE_SOCKETS
=no
1234 DEFAULT_wxUSE_DIALUP_MANAGER
=no
1235 DEFAULT_wxUSE_SERIAL
=no
1236 DEFAULT_wxUSE_JOYSTICK
=no
1237 DEFAULT_wxUSE_DYNLIB_CLASS
=no
1238 DEFAULT_wxUSE_LONGLONG
=no
1240 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
1241 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
1242 DEFAULT_wxUSE_POSTSCRIPT
=no
1244 DEFAULT_wxUSE_X_RESOURCES
=no
1245 DEFAULT_wxUSE_CLIPBOARD
=no
1246 DEFAULT_wxUSE_TOOLTIPS
=no
1247 DEFAULT_wxUSE_DRAG_AND_DROP
=no
1248 DEFAULT_wxUSE_SPLINES
=no
1250 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
1251 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
1252 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
1254 DEFAULT_wxUSE_PROLOGIO
=no
1255 DEFAULT_wxUSE_RESOURCES
=no
1256 DEFAULT_wxUSE_CONSTRAINTS
=no
1257 DEFAULT_wxUSE_IPC
=no
1258 DEFAULT_wxUSE_HELP
=no
1259 DEFAULT_wxUSE_WXTREE
=no
1260 DEFAULT_wxUSE_METAFILE
=no
1262 DEFAULT_wxUSE_COMMONDLGS
=no
1263 DEFAULT_wxUSE_DIRDLG
=no
1264 DEFAULT_wxUSE_TEXTDLG
=no
1265 DEFAULT_wxUSE_STARTUP_TIPS
=no
1266 DEFAULT_wxUSE_PROGRESSDLG
=no
1267 DEFAULT_wxUSE_MINIFRAME
=no
1268 DEFAULT_wxUSE_HTML
=no
1269 DEFAULT_wxUSE_FS_INET
=no
1270 DEFAULT_wxUSE_FS_ZIP
=no
1271 DEFAULT_wxUSE_BUSYINFO
=no
1272 DEFAULT_wxUSE_ZIPSTREAM
=no
1273 DEFAULT_wxUSE_VALIDATORS
=yes
1275 DEFAULT_wxUSE_ACCEL
=no
1276 DEFAULT_wxUSE_CARET
=no
1277 DEFAULT_wxUSE_BMPBUTTON
=no
1278 DEFAULT_wxUSE_CHECKBOX
=no
1279 DEFAULT_wxUSE_CHECKLST
=no
1280 DEFAULT_wxUSE_CHOICE
=yes
1281 DEFAULT_wxUSE_COMBOBOX
=no
1282 DEFAULT_wxUSE_GAUGE
=no
1283 DEFAULT_wxUSE_GRID
=no
1284 DEFAULT_wxUSE_NEW_GRID
=no
1285 DEFAULT_wxUSE_IMAGLIST
=no
1286 DEFAULT_wxUSE_LISTBOX
=no
1287 DEFAULT_wxUSE_LISTCTRL
=no
1288 DEFAULT_wxUSE_NOTEBOOK
=no
1289 DEFAULT_wxUSE_RADIOBOX
=no
1290 DEFAULT_wxUSE_RADIOBTN
=no
1291 DEFAULT_wxUSE_SASH
=no
1292 DEFAULT_wxUSE_SCROLLBAR
=no
1293 DEFAULT_wxUSE_SLIDER
=no
1294 DEFAULT_wxUSE_SPINBTN
=no
1295 DEFAULT_wxUSE_SPINCTRL
=no
1296 DEFAULT_wxUSE_SPLITTER
=no
1297 DEFAULT_wxUSE_STATBMP
=no
1298 DEFAULT_wxUSE_STATBOX
=no
1299 DEFAULT_wxUSE_STATLINE
=no
1300 DEFAULT_wxUSE_STATUSBAR
=yes
1301 DEFAULT_wxUSE_TABDIALOG
=no
1302 DEFAULT_wxUSE_TOOLBAR
=no
1303 DEFAULT_wxUSE_TREECTRL
=no
1305 DEFAULT_wxUSE_UNICODE
=no
1306 DEFAULT_wxUSE_WCSRTOMBS
=no
1308 DEFAULT_wxUSE_GIF
=no
1309 DEFAULT_wxUSE_PCX
=no
1310 DEFAULT_wxUSE_PNM
=no
1312 DEFAULT_wxUSE_THREADS
=yes
1314 DEFAULT_wxUSE_SHARED
=yes
1315 DEFAULT_wxUSE_OPTIMISE
=yes
1316 DEFAULT_wxUSE_PROFILE
=no
1317 DEFAULT_wxUSE_NO_DEPS
=no
1318 DEFAULT_wxUSE_NO_RTTI
=no
1319 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1320 DEFAULT_wxUSE_PERMISSIVE
=no
1321 DEFAULT_wxUSE_DEBUG_FLAG
=no
1322 DEFAULT_wxUSE_DEBUG_INFO
=no
1323 DEFAULT_wxUSE_DEBUG_GDB
=no
1324 DEFAULT_wxUSE_MEM_TRACING
=no
1325 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1326 DEFAULT_wxUSE_DMALLOC
=no
1327 DEFAULT_wxUSE_APPLE_IEEE
=yes
1329 DEFAULT_wxUSE_LOG
=yes
1331 DEFAULT_wxUSE_GUI
=yes
1333 DEFAULT_wxUSE_ZLIB
=yes
1334 DEFAULT_wxUSE_LIBPNG
=yes
1335 DEFAULT_wxUSE_LIBJPEG
=yes
1336 DEFAULT_wxUSE_LIBTIFF
=yes
1337 DEFAULT_wxUSE_ODBC
=yes
1339 DEFAULT_wxUSE_STD_IOSTREAM
=no
1340 DEFAULT_wxUSE_FILE
=yes
1341 DEFAULT_wxUSE_TEXTFILE
=yes
1342 DEFAULT_wxUSE_TIMEDATE
=yes
1343 DEFAULT_wxUSE_WAVE
=no
1344 DEFAULT_wxUSE_INTL
=yes
1345 DEFAULT_wxUSE_CONFIG
=yes
1346 DEFAULT_wxUSE_STREAMS
=yes
1347 DEFAULT_wxUSE_SOCKETS
=yes
1348 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
1349 DEFAULT_wxUSE_SERIAL
=yes
1350 DEFAULT_wxUSE_JOYSTICK
=yes
1351 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
1352 DEFAULT_wxUSE_LONGLONG
=yes
1354 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
1355 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
1356 DEFAULT_wxUSE_POSTSCRIPT
=yes
1358 DEFAULT_wxUSE_X_RESOURCES
=no
1359 DEFAULT_wxUSE_CLIPBOARD
=yes
1360 DEFAULT_wxUSE_TOOLTIPS
=yes
1361 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
1362 DEFAULT_wxUSE_SPLINES
=yes
1364 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
1365 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
1366 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
1368 DEFAULT_wxUSE_PROLOGIO
=yes
1369 DEFAULT_wxUSE_RESOURCES
=yes
1370 DEFAULT_wxUSE_CONSTRAINTS
=yes
1371 DEFAULT_wxUSE_IPC
=yes
1372 DEFAULT_wxUSE_HELP
=yes
1373 DEFAULT_wxUSE_WXTREE
=yes
1374 DEFAULT_wxUSE_METAFILE
=yes
1376 DEFAULT_wxUSE_COMMONDLGS
=yes
1377 DEFAULT_wxUSE_DIRDLG
=yes
1378 DEFAULT_wxUSE_TEXTDLG
=yes
1379 DEFAULT_wxUSE_STARTUP_TIPS
=yes
1380 DEFAULT_wxUSE_PROGRESSDLG
=yes
1381 DEFAULT_wxUSE_MINIFRAME
=yes
1382 DEFAULT_wxUSE_HTML
=yes
1383 DEFAULT_wxUSE_FS_INET
=yes
1384 DEFAULT_wxUSE_FS_ZIP
=yes
1385 DEFAULT_wxUSE_BUSYINFO
=yes
1386 DEFAULT_wxUSE_ZIPSTREAM
=yes
1387 DEFAULT_wxUSE_VALIDATORS
=yes
1389 DEFAULT_wxUSE_ACCEL
=yes
1390 DEFAULT_wxUSE_CARET
=yes
1391 DEFAULT_wxUSE_BMPBUTTON
=yes
1392 DEFAULT_wxUSE_CHECKBOX
=yes
1393 DEFAULT_wxUSE_CHECKLST
=yes
1394 DEFAULT_wxUSE_CHOICE
=yes
1395 DEFAULT_wxUSE_COMBOBOX
=yes
1396 DEFAULT_wxUSE_GAUGE
=yes
1397 DEFAULT_wxUSE_GRID
=yes
1398 DEFAULT_wxUSE_NEW_GRID
=no
1399 DEFAULT_wxUSE_IMAGLIST
=yes
1400 DEFAULT_wxUSE_LISTBOX
=yes
1401 DEFAULT_wxUSE_LISTCTRL
=yes
1402 DEFAULT_wxUSE_NOTEBOOK
=yes
1403 DEFAULT_wxUSE_RADIOBOX
=yes
1404 DEFAULT_wxUSE_RADIOBTN
=yes
1405 DEFAULT_wxUSE_SASH
=yes
1406 DEFAULT_wxUSE_SCROLLBAR
=yes
1407 DEFAULT_wxUSE_SLIDER
=yes
1408 DEFAULT_wxUSE_SPINBTN
=yes
1409 DEFAULT_wxUSE_SPINCTRL
=yes
1410 DEFAULT_wxUSE_SPLITTER
=yes
1411 DEFAULT_wxUSE_STATBMP
=yes
1412 DEFAULT_wxUSE_STATBOX
=yes
1413 DEFAULT_wxUSE_STATLINE
=yes
1414 DEFAULT_wxUSE_STATUSBAR
=yes
1415 DEFAULT_wxUSE_TABDIALOG
=no
1416 DEFAULT_wxUSE_TOOLBAR
=yes
1417 DEFAULT_wxUSE_TREECTRL
=yes
1419 DEFAULT_wxUSE_UNICODE
=no
1420 DEFAULT_wxUSE_WCSRTOMBS
=no
1422 DEFAULT_wxUSE_GIF
=yes
1423 DEFAULT_wxUSE_PCX
=yes
1424 DEFAULT_wxUSE_PNM
=yes
1429 for toolkit
in `echo $ALL_TOOLKITS`; do
1430 LINE
=`grep "wxUSE_$toolkit" ${wx_arg_cache_file}`
1431 if test "x$LINE" != x
; then
1432 has_toolkit_in_cache
=1
1433 eval "DEFAULT_$LINE"
1434 eval "CACHE_$toolkit=1"
1440 echo $ac_n "checking "for --enable-gui"""... $ac_c" 1>&6
1441 echo "configure:1442: checking "for --enable-gui"" >&5
1443 # Check whether --enable-gui or --disable-gui was given.
1444 if test "${enable_gui+set}" = set; then
1445 enableval
="$enable_gui"
1447 if test "$enableval" = yes; then
1448 ac_cv_use_gui
='wxUSE_GUI=yes'
1450 ac_cv_use_gui
='wxUSE_GUI=no'
1455 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
1456 if test "x$LINE" != x
; then
1457 eval "DEFAULT_$LINE"
1462 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
1467 eval "$ac_cv_use_gui"
1468 if test "$no_cache" != 1; then
1469 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
1472 if test "$wxUSE_GUI" = yes; then
1473 echo "$ac_t""yes" 1>&6
1475 echo "$ac_t""no" 1>&6
1479 if test "$wxUSE_GUI" = "no"; then
1480 DEFAULT_wxUSE_ZLIB
=no
1481 DEFAULT_wxUSE_LIBPNG
=no
1482 DEFAULT_wxUSE_LIBJPEG
=no
1483 DEFAULT_wxUSE_LIBTIFF
=no
1484 DEFAULT_wxUSE_SOCKETS
=no
1485 DEFAULT_wxUSE_JOYSTICK
=no
1486 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
1487 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
1488 DEFAULT_wxUSE_POSTSCRIPT
=no
1489 DEFAULT_wxUSE_X_RESOURCES
=no
1490 DEFAULT_wxUSE_CLIPBOARD
=no
1491 DEFAULT_wxUSE_TOOLTIPS
=no
1492 DEFAULT_wxUSE_DRAG_AND_DROP
=no
1493 DEFAULT_wxUSE_SPLINES
=no
1494 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
1495 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
1496 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
1497 DEFAULT_wxUSE_PROLOGIO
=no
1498 DEFAULT_wxUSE_RESOURCES
=no
1499 DEFAULT_wxUSE_CONSTRAINTS
=no
1500 DEFAULT_wxUSE_IPC
=no
1501 DEFAULT_wxUSE_HELP
=no
1502 DEFAULT_wxUSE_WXTREE
=no
1503 DEFAULT_wxUSE_METAFILE
=no
1504 DEFAULT_wxUSE_COMMONDLGS
=no
1505 DEFAULT_wxUSE_DIRDLG
=no
1506 DEFAULT_wxUSE_TEXTDLG
=no
1507 DEFAULT_wxUSE_STARTUP_TIPS
=no
1508 DEFAULT_wxUSE_PROGRESSDLG
=no
1509 DEFAULT_wxUSE_MINIFRAME
=no
1510 DEFAULT_wxUSE_HTML
=no
1511 DEFAULT_wxUSE_FS_INET
=no
1512 DEFAULT_wxUSE_FS_ZIP
=no
1513 DEFAULT_wxUSE_BUSYINFO
=no
1514 DEFAULT_wxUSE_ZIPSTREAM
=no
1515 DEFAULT_wxUSE_VALIDATORS
=no
1516 DEFAULT_wxUSE_ACCEL
=no
1517 DEFAULT_wxUSE_CARET
=no
1518 DEFAULT_wxUSE_BMPBUTTON
=no
1519 DEFAULT_wxUSE_CHECKBOX
=no
1520 DEFAULT_wxUSE_CHECKLST
=no
1521 DEFAULT_wxUSE_CHOICE
=no
1522 DEFAULT_wxUSE_COMBOBOX
=no
1523 DEFAULT_wxUSE_GAUGE
=no
1524 DEFAULT_wxUSE_GRID
=no
1525 DEFAULT_wxUSE_NEW_GRID
=no
1526 DEFAULT_wxUSE_IMAGLIST
=no
1527 DEFAULT_wxUSE_LISTBOX
=no
1528 DEFAULT_wxUSE_LISTCTRL
=no
1529 DEFAULT_wxUSE_NOTEBOOK
=no
1530 DEFAULT_wxUSE_RADIOBOX
=no
1531 DEFAULT_wxUSE_RADIOBTN
=no
1532 DEFAULT_wxUSE_SASH
=no
1533 DEFAULT_wxUSE_SCROLLBAR
=no
1534 DEFAULT_wxUSE_SLIDER
=no
1535 DEFAULT_wxUSE_SPINBTN
=no
1536 DEFAULT_wxUSE_SPINCTRL
=no
1537 DEFAULT_wxUSE_SPLITTER
=no
1538 DEFAULT_wxUSE_STATBMP
=no
1539 DEFAULT_wxUSE_STATBOX
=no
1540 DEFAULT_wxUSE_STATLINE
=no
1541 DEFAULT_wxUSE_STATUSBAR
=no
1542 DEFAULT_wxUSE_TABDIALOG
=no
1543 DEFAULT_wxUSE_TOOLBAR
=no
1544 DEFAULT_wxUSE_TREECTRL
=no
1545 DEFAULT_wxUSE_GIF
=no
1546 DEFAULT_wxUSE_PCX
=no
1547 DEFAULT_wxUSE_PNM
=no
1550 # Check whether --with-gtk or --without-gtk was given.
1551 if test "${with_gtk+set}" = set; then
1553 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
1556 # Check whether --with-motif or --without-motif was given.
1557 if test "${with_motif+set}" = set; then
1558 withval
="$with_motif"
1559 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
1562 # Check whether --with-wine or --without-wine was given.
1563 if test "${with_wine+set}" = set; then
1564 withval
="$with_wine"
1565 wxUSE_WINE
="$withval" CACHE_WINE
=1 TOOLKIT_GIVEN
=1
1568 # Check whether --with-cygwin or --without-cygwin was given.
1569 if test "${with_cygwin+set}" = set; then
1570 withval
="$with_cygwin"
1571 wxUSE_CYGWIN
="$withval" CACHE_CYGWIN
=1 TOOLKIT_GIVEN
=1
1574 # Check whether --with-mingw or --without-mingw was given.
1575 if test "${with_mingw+set}" = set; then
1576 withval
="$with_mingw"
1577 wxUSE_MINGW
="$withval" CACHE_MINGW
=1 TOOLKIT_GIVEN
=1
1581 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
1582 if test "${with_gtk_prefix+set}" = set; then
1583 withval
="$with_gtk_prefix"
1584 gtk_config_prefix
="$withval"
1586 gtk_config_prefix
=""
1589 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
1590 if test "${with_gtk_exec_prefix+set}" = set; then
1591 withval
="$with_gtk_exec_prefix"
1592 gtk_config_exec_prefix
="$withval"
1594 gtk_config_exec_prefix
=""
1599 echo $ac_n "checking "for --with-dmalloc"""... $ac_c" 1>&6
1600 echo "configure:1601: checking "for --with-dmalloc"" >&5
1602 # Check whether --with-dmalloc or --without-dmalloc was given.
1603 if test "${with_dmalloc+set}" = set; then
1604 withval
="$with_dmalloc"
1606 if test "$withval" = yes; then
1607 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
1609 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
1614 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
1615 if test "x$LINE" != x
; then
1616 eval "DEFAULT_$LINE"
1621 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
1626 eval "$ac_cv_use_dmalloc"
1627 if test "$no_cache" != 1; then
1628 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
1631 if test "$wxUSE_DMALLOC" = yes; then
1632 echo "$ac_t""yes" 1>&6
1634 echo "$ac_t""no" 1>&6
1638 echo $ac_n "checking "for --with-zlib"""... $ac_c" 1>&6
1639 echo "configure:1640: checking "for --with-zlib"" >&5
1641 # Check whether --with-zlib or --without-zlib was given.
1642 if test "${with_zlib+set}" = set; then
1643 withval
="$with_zlib"
1645 if test "$withval" = yes; then
1646 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
1648 ac_cv_use_zlib
='wxUSE_ZLIB=no'
1653 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
1654 if test "x$LINE" != x
; then
1655 eval "DEFAULT_$LINE"
1660 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
1665 eval "$ac_cv_use_zlib"
1666 if test "$no_cache" != 1; then
1667 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
1670 if test "$wxUSE_ZLIB" = yes; then
1671 echo "$ac_t""yes" 1>&6
1673 echo "$ac_t""no" 1>&6
1677 echo $ac_n "checking "for --with-libpng"""... $ac_c" 1>&6
1678 echo "configure:1679: checking "for --with-libpng"" >&5
1680 # Check whether --with-libpng or --without-libpng was given.
1681 if test "${with_libpng+set}" = set; then
1682 withval
="$with_libpng"
1684 if test "$withval" = yes; then
1685 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
1687 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
1692 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
1693 if test "x$LINE" != x
; then
1694 eval "DEFAULT_$LINE"
1699 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
1704 eval "$ac_cv_use_libpng"
1705 if test "$no_cache" != 1; then
1706 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
1709 if test "$wxUSE_LIBPNG" = yes; then
1710 echo "$ac_t""yes" 1>&6
1712 echo "$ac_t""no" 1>&6
1716 echo $ac_n "checking "for --with-libjpeg"""... $ac_c" 1>&6
1717 echo "configure:1718: checking "for --with-libjpeg"" >&5
1719 # Check whether --with-libjpeg or --without-libjpeg was given.
1720 if test "${with_libjpeg+set}" = set; then
1721 withval
="$with_libjpeg"
1723 if test "$withval" = yes; then
1724 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
1726 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
1731 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
1732 if test "x$LINE" != x
; then
1733 eval "DEFAULT_$LINE"
1738 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
1743 eval "$ac_cv_use_libjpeg"
1744 if test "$no_cache" != 1; then
1745 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
1748 if test "$wxUSE_LIBJPEG" = yes; then
1749 echo "$ac_t""yes" 1>&6
1751 echo "$ac_t""no" 1>&6
1755 echo $ac_n "checking "for --with-libtiff"""... $ac_c" 1>&6
1756 echo "configure:1757: checking "for --with-libtiff"" >&5
1758 # Check whether --with-libtiff or --without-libtiff was given.
1759 if test "${with_libtiff+set}" = set; then
1760 withval
="$with_libtiff"
1762 if test "$withval" = yes; then
1763 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
1765 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
1770 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
1771 if test "x$LINE" != x
; then
1772 eval "DEFAULT_$LINE"
1777 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
1782 eval "$ac_cv_use_libtiff"
1783 if test "$no_cache" != 1; then
1784 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
1787 if test "$wxUSE_LIBTIFF" = yes; then
1788 echo "$ac_t""yes" 1>&6
1790 echo "$ac_t""no" 1>&6
1794 echo $ac_n "checking "for --with-opengl"""... $ac_c" 1>&6
1795 echo "configure:1796: checking "for --with-opengl"" >&5
1797 # Check whether --with-opengl or --without-opengl was given.
1798 if test "${with_opengl+set}" = set; then
1799 withval
="$with_opengl"
1801 if test "$withval" = yes; then
1802 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
1804 ac_cv_use_opengl
='wxUSE_OPENGL=no'
1809 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
1810 if test "x$LINE" != x
; then
1811 eval "DEFAULT_$LINE"
1816 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
1821 eval "$ac_cv_use_opengl"
1822 if test "$no_cache" != 1; then
1823 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
1826 if test "$wxUSE_OPENGL" = yes; then
1827 echo "$ac_t""yes" 1>&6
1829 echo "$ac_t""no" 1>&6
1833 echo $ac_n "checking "for --with-odbc"""... $ac_c" 1>&6
1834 echo "configure:1835: checking "for --with-odbc"" >&5
1836 # Check whether --with-odbc or --without-odbc was given.
1837 if test "${with_odbc+set}" = set; then
1838 withval
="$with_odbc"
1840 if test "$withval" = yes; then
1841 ac_cv_use_odbc
='wxUSE_ODBC=yes'
1843 ac_cv_use_odbc
='wxUSE_ODBC=no'
1848 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
1849 if test "x$LINE" != x
; then
1850 eval "DEFAULT_$LINE"
1855 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
1860 eval "$ac_cv_use_odbc"
1861 if test "$no_cache" != 1; then
1862 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
1865 if test "$wxUSE_ODBC" = yes; then
1866 echo "$ac_t""yes" 1>&6
1868 echo "$ac_t""no" 1>&6
1875 echo $ac_n "checking "for --enable-shared"""... $ac_c" 1>&6
1876 echo "configure:1877: checking "for --enable-shared"" >&5
1878 # Check whether --enable-shared or --disable-shared was given.
1879 if test "${enable_shared+set}" = set; then
1880 enableval
="$enable_shared"
1882 if test "$enableval" = yes; then
1883 ac_cv_use_shared
='wxUSE_SHARED=yes'
1885 ac_cv_use_shared
='wxUSE_SHARED=no'
1890 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
1891 if test "x$LINE" != x
; then
1892 eval "DEFAULT_$LINE"
1897 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
1902 eval "$ac_cv_use_shared"
1903 if test "$no_cache" != 1; then
1904 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
1907 if test "$wxUSE_SHARED" = yes; then
1908 echo "$ac_t""yes" 1>&6
1910 echo "$ac_t""no" 1>&6
1914 echo $ac_n "checking "for --enable-optimise"""... $ac_c" 1>&6
1915 echo "configure:1916: checking "for --enable-optimise"" >&5
1917 # Check whether --enable-optimise or --disable-optimise was given.
1918 if test "${enable_optimise+set}" = set; then
1919 enableval
="$enable_optimise"
1921 if test "$enableval" = yes; then
1922 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
1924 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
1929 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
1930 if test "x$LINE" != x
; then
1931 eval "DEFAULT_$LINE"
1936 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
1941 eval "$ac_cv_use_optimise"
1942 if test "$no_cache" != 1; then
1943 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
1946 if test "$wxUSE_OPTIMISE" = yes; then
1947 echo "$ac_t""yes" 1>&6
1949 echo "$ac_t""no" 1>&6
1953 echo $ac_n "checking "for --enable-debug"""... $ac_c" 1>&6
1954 echo "configure:1955: checking "for --enable-debug"" >&5
1956 # Check whether --enable-debug or --disable-debug was given.
1957 if test "${enable_debug+set}" = set; then
1958 enableval
="$enable_debug"
1960 if test "$enableval" = yes; then
1961 ac_cv_use_debug
='wxUSE_DEBUG=yes'
1963 ac_cv_use_debug
='wxUSE_DEBUG=no'
1968 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
1969 if test "x$LINE" != x
; then
1970 eval "DEFAULT_$LINE"
1975 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
1980 eval "$ac_cv_use_debug"
1981 if test "$no_cache" != 1; then
1982 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
1985 if test "$wxUSE_DEBUG" = yes; then
1986 echo "$ac_t""yes" 1>&6
1988 echo "$ac_t""no" 1>&6
1992 if test "$wxUSE_DEBUG" = "yes"; then
1993 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1994 DEFAULT_wxUSE_DEBUG_INFO
=yes
1995 elif test "$wxUSE_DEBUG" = "no"; then
1996 DEFAULT_wxUSE_DEBUG_FLAG
=no
1997 DEFAULT_wxUSE_DEBUG_INFO
=no
2001 echo $ac_n "checking "for --enable-debug_flag"""... $ac_c" 1>&6
2002 echo "configure:2003: checking "for --enable-debug_flag"" >&5
2004 # Check whether --enable-debug_flag or --disable-debug_flag was given.
2005 if test "${enable_debug_flag+set}" = set; then
2006 enableval
="$enable_debug_flag"
2008 if test "$enableval" = yes; then
2009 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
2011 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
2016 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
2017 if test "x$LINE" != x
; then
2018 eval "DEFAULT_$LINE"
2023 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
2028 eval "$ac_cv_use_debug_flag"
2029 if test "$no_cache" != 1; then
2030 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
2033 if test "$wxUSE_DEBUG_FLAG" = yes; then
2034 echo "$ac_t""yes" 1>&6
2036 echo "$ac_t""no" 1>&6
2040 echo $ac_n "checking "for --enable-debug_info"""... $ac_c" 1>&6
2041 echo "configure:2042: checking "for --enable-debug_info"" >&5
2043 # Check whether --enable-debug_info or --disable-debug_info was given.
2044 if test "${enable_debug_info+set}" = set; then
2045 enableval
="$enable_debug_info"
2047 if test "$enableval" = yes; then
2048 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
2050 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
2055 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
2056 if test "x$LINE" != x
; then
2057 eval "DEFAULT_$LINE"
2062 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
2067 eval "$ac_cv_use_debug_info"
2068 if test "$no_cache" != 1; then
2069 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
2072 if test "$wxUSE_DEBUG_INFO" = yes; then
2073 echo "$ac_t""yes" 1>&6
2075 echo "$ac_t""no" 1>&6
2079 echo $ac_n "checking "for --enable-debug_gdb"""... $ac_c" 1>&6
2080 echo "configure:2081: checking "for --enable-debug_gdb"" >&5
2082 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
2083 if test "${enable_debug_gdb+set}" = set; then
2084 enableval
="$enable_debug_gdb"
2086 if test "$enableval" = yes; then
2087 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
2089 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
2094 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
2095 if test "x$LINE" != x
; then
2096 eval "DEFAULT_$LINE"
2101 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
2106 eval "$ac_cv_use_debug_gdb"
2107 if test "$no_cache" != 1; then
2108 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
2111 if test "$wxUSE_DEBUG_GDB" = yes; then
2112 echo "$ac_t""yes" 1>&6
2114 echo "$ac_t""no" 1>&6
2118 echo $ac_n "checking "for --enable-debug_cntxt"""... $ac_c" 1>&6
2119 echo "configure:2120: checking "for --enable-debug_cntxt"" >&5
2121 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
2122 if test "${enable_debug_cntxt+set}" = set; then
2123 enableval
="$enable_debug_cntxt"
2125 if test "$enableval" = yes; then
2126 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
2128 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
2133 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2134 if test "x$LINE" != x
; then
2135 eval "DEFAULT_$LINE"
2140 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2145 eval "$ac_cv_use_debug_cntxt"
2146 if test "$no_cache" != 1; then
2147 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2150 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2151 echo "$ac_t""yes" 1>&6
2153 echo "$ac_t""no" 1>&6
2157 echo $ac_n "checking "for --enable-mem_tracing"""... $ac_c" 1>&6
2158 echo "configure:2159: checking "for --enable-mem_tracing"" >&5
2160 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2161 if test "${enable_mem_tracing+set}" = set; then
2162 enableval
="$enable_mem_tracing"
2164 if test "$enableval" = yes; then
2165 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
2167 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
2172 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2173 if test "x$LINE" != x
; then
2174 eval "DEFAULT_$LINE"
2179 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2184 eval "$ac_cv_use_mem_tracing"
2185 if test "$no_cache" != 1; then
2186 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2189 if test "$wxUSE_MEM_TRACING" = yes; then
2190 echo "$ac_t""yes" 1>&6
2192 echo "$ac_t""no" 1>&6
2196 echo $ac_n "checking "for --enable-profile"""... $ac_c" 1>&6
2197 echo "configure:2198: checking "for --enable-profile"" >&5
2199 # Check whether --enable-profile or --disable-profile was given.
2200 if test "${enable_profile+set}" = set; then
2201 enableval
="$enable_profile"
2203 if test "$enableval" = yes; then
2204 ac_cv_use_profile
='wxUSE_PROFILE=yes'
2206 ac_cv_use_profile
='wxUSE_PROFILE=no'
2211 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2212 if test "x$LINE" != x
; then
2213 eval "DEFAULT_$LINE"
2218 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2223 eval "$ac_cv_use_profile"
2224 if test "$no_cache" != 1; then
2225 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2228 if test "$wxUSE_PROFILE" = yes; then
2229 echo "$ac_t""yes" 1>&6
2231 echo "$ac_t""no" 1>&6
2235 echo $ac_n "checking "for --enable-no_rtti"""... $ac_c" 1>&6
2236 echo "configure:2237: checking "for --enable-no_rtti"" >&5
2238 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2239 if test "${enable_no_rtti+set}" = set; then
2240 enableval
="$enable_no_rtti"
2242 if test "$enableval" = yes; then
2243 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
2245 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
2250 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2251 if test "x$LINE" != x
; then
2252 eval "DEFAULT_$LINE"
2257 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2262 eval "$ac_cv_use_no_rtti"
2263 if test "$no_cache" != 1; then
2264 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2267 if test "$wxUSE_NO_RTTI" = yes; then
2268 echo "$ac_t""yes" 1>&6
2270 echo "$ac_t""no" 1>&6
2274 echo $ac_n "checking "for --enable-no_exceptions"""... $ac_c" 1>&6
2275 echo "configure:2276: checking "for --enable-no_exceptions"" >&5
2277 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2278 if test "${enable_no_exceptions+set}" = set; then
2279 enableval
="$enable_no_exceptions"
2281 if test "$enableval" = yes; then
2282 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
2284 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
2289 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2290 if test "x$LINE" != x
; then
2291 eval "DEFAULT_$LINE"
2296 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2301 eval "$ac_cv_use_no_exceptions"
2302 if test "$no_cache" != 1; then
2303 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2306 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2307 echo "$ac_t""yes" 1>&6
2309 echo "$ac_t""no" 1>&6
2313 echo $ac_n "checking "for --enable-permissive"""... $ac_c" 1>&6
2314 echo "configure:2315: checking "for --enable-permissive"" >&5
2316 # Check whether --enable-permissive or --disable-permissive was given.
2317 if test "${enable_permissive+set}" = set; then
2318 enableval
="$enable_permissive"
2320 if test "$enableval" = yes; then
2321 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
2323 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
2328 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2329 if test "x$LINE" != x
; then
2330 eval "DEFAULT_$LINE"
2335 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
2340 eval "$ac_cv_use_permissive"
2341 if test "$no_cache" != 1; then
2342 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
2345 if test "$wxUSE_PERMISSIVE" = yes; then
2346 echo "$ac_t""yes" 1>&6
2348 echo "$ac_t""no" 1>&6
2352 echo $ac_n "checking "for --enable-no_deps"""... $ac_c" 1>&6
2353 echo "configure:2354: checking "for --enable-no_deps"" >&5
2355 # Check whether --enable-no_deps or --disable-no_deps was given.
2356 if test "${enable_no_deps+set}" = set; then
2357 enableval
="$enable_no_deps"
2359 if test "$enableval" = yes; then
2360 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
2362 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
2367 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
2368 if test "x$LINE" != x
; then
2369 eval "DEFAULT_$LINE"
2374 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
2379 eval "$ac_cv_use_no_deps"
2380 if test "$no_cache" != 1; then
2381 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
2384 if test "$wxUSE_NO_DEPS" = yes; then
2385 echo "$ac_t""yes" 1>&6
2387 echo "$ac_t""no" 1>&6
2393 echo $ac_n "checking "for --enable-intl"""... $ac_c" 1>&6
2394 echo "configure:2395: checking "for --enable-intl"" >&5
2396 # Check whether --enable-intl or --disable-intl was given.
2397 if test "${enable_intl+set}" = set; then
2398 enableval
="$enable_intl"
2400 if test "$enableval" = yes; then
2401 ac_cv_use_intl
='wxUSE_INTL=yes'
2403 ac_cv_use_intl
='wxUSE_INTL=no'
2408 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
2409 if test "x$LINE" != x
; then
2410 eval "DEFAULT_$LINE"
2415 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
2420 eval "$ac_cv_use_intl"
2421 if test "$no_cache" != 1; then
2422 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
2425 if test "$wxUSE_INTL" = yes; then
2426 echo "$ac_t""yes" 1>&6
2428 echo "$ac_t""no" 1>&6
2432 echo $ac_n "checking "for --enable-config"""... $ac_c" 1>&6
2433 echo "configure:2434: checking "for --enable-config"" >&5
2435 # Check whether --enable-config or --disable-config was given.
2436 if test "${enable_config+set}" = set; then
2437 enableval
="$enable_config"
2439 if test "$enableval" = yes; then
2440 ac_cv_use_config
='wxUSE_CONFIG=yes'
2442 ac_cv_use_config
='wxUSE_CONFIG=no'
2447 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
2448 if test "x$LINE" != x
; then
2449 eval "DEFAULT_$LINE"
2454 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
2459 eval "$ac_cv_use_config"
2460 if test "$no_cache" != 1; then
2461 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
2464 if test "$wxUSE_CONFIG" = yes; then
2465 echo "$ac_t""yes" 1>&6
2467 echo "$ac_t""no" 1>&6
2471 echo $ac_n "checking "for --enable-sockets"""... $ac_c" 1>&6
2472 echo "configure:2473: checking "for --enable-sockets"" >&5
2474 # Check whether --enable-sockets or --disable-sockets was given.
2475 if test "${enable_sockets+set}" = set; then
2476 enableval
="$enable_sockets"
2478 if test "$enableval" = yes; then
2479 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
2481 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
2486 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
2487 if test "x$LINE" != x
; then
2488 eval "DEFAULT_$LINE"
2493 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
2498 eval "$ac_cv_use_sockets"
2499 if test "$no_cache" != 1; then
2500 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
2503 if test "$wxUSE_SOCKETS" = yes; then
2504 echo "$ac_t""yes" 1>&6
2506 echo "$ac_t""no" 1>&6
2510 echo $ac_n "checking "for --enable-dialupman"""... $ac_c" 1>&6
2511 echo "configure:2512: checking "for --enable-dialupman"" >&5
2513 # Check whether --enable-dialupman or --disable-dialupman was given.
2514 if test "${enable_dialupman+set}" = set; then
2515 enableval
="$enable_dialupman"
2517 if test "$enableval" = yes; then
2518 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
2520 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
2525 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
2526 if test "x$LINE" != x
; then
2527 eval "DEFAULT_$LINE"
2532 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
2537 eval "$ac_cv_use_dialupman"
2538 if test "$no_cache" != 1; then
2539 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
2542 if test "$wxUSE_DIALUP_MANAGER" = yes; then
2543 echo "$ac_t""yes" 1>&6
2545 echo "$ac_t""no" 1>&6
2549 echo $ac_n "checking "for --enable-ipc"""... $ac_c" 1>&6
2550 echo "configure:2551: checking "for --enable-ipc"" >&5
2552 # Check whether --enable-ipc or --disable-ipc was given.
2553 if test "${enable_ipc+set}" = set; then
2554 enableval
="$enable_ipc"
2556 if test "$enableval" = yes; then
2557 ac_cv_use_ipc
='wxUSE_IPC=yes'
2559 ac_cv_use_ipc
='wxUSE_IPC=no'
2564 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
2565 if test "x$LINE" != x
; then
2566 eval "DEFAULT_$LINE"
2571 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
2576 eval "$ac_cv_use_ipc"
2577 if test "$no_cache" != 1; then
2578 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
2581 if test "$wxUSE_IPC" = yes; then
2582 echo "$ac_t""yes" 1>&6
2584 echo "$ac_t""no" 1>&6
2588 echo $ac_n "checking "for --enable-apple_ieee"""... $ac_c" 1>&6
2589 echo "configure:2590: checking "for --enable-apple_ieee"" >&5
2591 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
2592 if test "${enable_apple_ieee+set}" = set; then
2593 enableval
="$enable_apple_ieee"
2595 if test "$enableval" = yes; then
2596 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
2598 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
2603 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
2604 if test "x$LINE" != x
; then
2605 eval "DEFAULT_$LINE"
2610 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
2615 eval "$ac_cv_use_apple_ieee"
2616 if test "$no_cache" != 1; then
2617 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
2620 if test "$wxUSE_APPLE_IEEE" = yes; then
2621 echo "$ac_t""yes" 1>&6
2623 echo "$ac_t""no" 1>&6
2627 echo $ac_n "checking "for --enable-timedate"""... $ac_c" 1>&6
2628 echo "configure:2629: checking "for --enable-timedate"" >&5
2630 # Check whether --enable-timedate or --disable-timedate was given.
2631 if test "${enable_timedate+set}" = set; then
2632 enableval
="$enable_timedate"
2634 if test "$enableval" = yes; then
2635 ac_cv_use_timedate
='wxUSE_TIMEDATE=yes'
2637 ac_cv_use_timedate
='wxUSE_TIMEDATE=no'
2642 LINE
=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}`
2643 if test "x$LINE" != x
; then
2644 eval "DEFAULT_$LINE"
2649 ac_cv_use_timedate
='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
2654 eval "$ac_cv_use_timedate"
2655 if test "$no_cache" != 1; then
2656 echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp
2659 if test "$wxUSE_TIMEDATE" = yes; then
2660 echo "$ac_t""yes" 1>&6
2662 echo "$ac_t""no" 1>&6
2666 echo $ac_n "checking "for --enable-wave"""... $ac_c" 1>&6
2667 echo "configure:2668: checking "for --enable-wave"" >&5
2669 # Check whether --enable-wave or --disable-wave was given.
2670 if test "${enable_wave+set}" = set; then
2671 enableval
="$enable_wave"
2673 if test "$enableval" = yes; then
2674 ac_cv_use_wave
='wxUSE_WAVE=yes'
2676 ac_cv_use_wave
='wxUSE_WAVE=no'
2681 LINE
=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
2682 if test "x$LINE" != x
; then
2683 eval "DEFAULT_$LINE"
2688 ac_cv_use_wave
='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
2693 eval "$ac_cv_use_wave"
2694 if test "$no_cache" != 1; then
2695 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
2698 if test "$wxUSE_WAVE" = yes; then
2699 echo "$ac_t""yes" 1>&6
2701 echo "$ac_t""no" 1>&6
2705 echo $ac_n "checking "for --enable-fraction"""... $ac_c" 1>&6
2706 echo "configure:2707: checking "for --enable-fraction"" >&5
2708 # Check whether --enable-fraction or --disable-fraction was given.
2709 if test "${enable_fraction+set}" = set; then
2710 enableval
="$enable_fraction"
2712 if test "$enableval" = yes; then
2713 ac_cv_use_fraction
='wxUSE_FRACTION=yes'
2715 ac_cv_use_fraction
='wxUSE_FRACTION=no'
2720 LINE
=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
2721 if test "x$LINE" != x
; then
2722 eval "DEFAULT_$LINE"
2727 ac_cv_use_fraction
='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
2732 eval "$ac_cv_use_fraction"
2733 if test "$no_cache" != 1; then
2734 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
2737 if test "$wxUSE_FRACTION" = yes; then
2738 echo "$ac_t""yes" 1>&6
2740 echo "$ac_t""no" 1>&6
2744 echo $ac_n "checking "for --enable-dynlib"""... $ac_c" 1>&6
2745 echo "configure:2746: checking "for --enable-dynlib"" >&5
2747 # Check whether --enable-dynlib or --disable-dynlib was given.
2748 if test "${enable_dynlib+set}" = set; then
2749 enableval
="$enable_dynlib"
2751 if test "$enableval" = yes; then
2752 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
2754 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
2759 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
2760 if test "x$LINE" != x
; then
2761 eval "DEFAULT_$LINE"
2766 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
2771 eval "$ac_cv_use_dynlib"
2772 if test "$no_cache" != 1; then
2773 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
2776 if test "$wxUSE_DYNLIB_CLASS" = yes; then
2777 echo "$ac_t""yes" 1>&6
2779 echo "$ac_t""no" 1>&6
2783 echo $ac_n "checking "for --enable-longlong"""... $ac_c" 1>&6
2784 echo "configure:2785: checking "for --enable-longlong"" >&5
2786 # Check whether --enable-longlong or --disable-longlong was given.
2787 if test "${enable_longlong+set}" = set; then
2788 enableval
="$enable_longlong"
2790 if test "$enableval" = yes; then
2791 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
2793 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
2798 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
2799 if test "x$LINE" != x
; then
2800 eval "DEFAULT_$LINE"
2805 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
2810 eval "$ac_cv_use_longlong"
2811 if test "$no_cache" != 1; then
2812 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
2815 if test "$wxUSE_LONGLONG" = yes; then
2816 echo "$ac_t""yes" 1>&6
2818 echo "$ac_t""no" 1>&6
2822 echo $ac_n "checking "for --enable-log"""... $ac_c" 1>&6
2823 echo "configure:2824: checking "for --enable-log"" >&5
2825 # Check whether --enable-log or --disable-log was given.
2826 if test "${enable_log+set}" = set; then
2827 enableval
="$enable_log"
2829 if test "$enableval" = yes; then
2830 ac_cv_use_log
='wxUSE_LOG=yes'
2832 ac_cv_use_log
='wxUSE_LOG=no'
2837 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
2838 if test "x$LINE" != x
; then
2839 eval "DEFAULT_$LINE"
2844 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
2849 eval "$ac_cv_use_log"
2850 if test "$no_cache" != 1; then
2851 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
2854 if test "$wxUSE_LOG" = yes; then
2855 echo "$ac_t""yes" 1>&6
2857 echo "$ac_t""no" 1>&6
2861 echo $ac_n "checking "for --enable-streams"""... $ac_c" 1>&6
2862 echo "configure:2863: checking "for --enable-streams"" >&5
2864 # Check whether --enable-streams or --disable-streams was given.
2865 if test "${enable_streams+set}" = set; then
2866 enableval
="$enable_streams"
2868 if test "$enableval" = yes; then
2869 ac_cv_use_streams
='wxUSE_STREAMS=yes'
2871 ac_cv_use_streams
='wxUSE_STREAMS=no'
2876 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
2877 if test "x$LINE" != x
; then
2878 eval "DEFAULT_$LINE"
2883 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
2888 eval "$ac_cv_use_streams"
2889 if test "$no_cache" != 1; then
2890 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
2893 if test "$wxUSE_STREAMS" = yes; then
2894 echo "$ac_t""yes" 1>&6
2896 echo "$ac_t""no" 1>&6
2900 echo $ac_n "checking "for --enable-file"""... $ac_c" 1>&6
2901 echo "configure:2902: checking "for --enable-file"" >&5
2903 # Check whether --enable-file or --disable-file was given.
2904 if test "${enable_file+set}" = set; then
2905 enableval
="$enable_file"
2907 if test "$enableval" = yes; then
2908 ac_cv_use_file
='wxUSE_FILE=yes'
2910 ac_cv_use_file
='wxUSE_FILE=no'
2915 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
2916 if test "x$LINE" != x
; then
2917 eval "DEFAULT_$LINE"
2922 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
2927 eval "$ac_cv_use_file"
2928 if test "$no_cache" != 1; then
2929 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
2932 if test "$wxUSE_FILE" = yes; then
2933 echo "$ac_t""yes" 1>&6
2935 echo "$ac_t""no" 1>&6
2939 echo $ac_n "checking "for --enable-textfile"""... $ac_c" 1>&6
2940 echo "configure:2941: checking "for --enable-textfile"" >&5
2942 # Check whether --enable-textfile or --disable-textfile was given.
2943 if test "${enable_textfile+set}" = set; then
2944 enableval
="$enable_textfile"
2946 if test "$enableval" = yes; then
2947 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
2949 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
2954 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
2955 if test "x$LINE" != x
; then
2956 eval "DEFAULT_$LINE"
2961 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
2966 eval "$ac_cv_use_textfile"
2967 if test "$no_cache" != 1; then
2968 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
2971 if test "$wxUSE_TEXTFILE" = yes; then
2972 echo "$ac_t""yes" 1>&6
2974 echo "$ac_t""no" 1>&6
2978 echo $ac_n "checking "for --enable-unicode"""... $ac_c" 1>&6
2979 echo "configure:2980: checking "for --enable-unicode"" >&5
2981 # Check whether --enable-unicode or --disable-unicode was given.
2982 if test "${enable_unicode+set}" = set; then
2983 enableval
="$enable_unicode"
2985 if test "$enableval" = yes; then
2986 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
2988 ac_cv_use_unicode
='wxUSE_UNICODE=no'
2993 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
2994 if test "x$LINE" != x
; then
2995 eval "DEFAULT_$LINE"
3000 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
3005 eval "$ac_cv_use_unicode"
3006 if test "$no_cache" != 1; then
3007 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
3010 if test "$wxUSE_UNICODE" = yes; then
3011 echo "$ac_t""yes" 1>&6
3013 echo "$ac_t""no" 1>&6
3017 echo $ac_n "checking "for --enable-wcsrtombs"""... $ac_c" 1>&6
3018 echo "configure:3019: checking "for --enable-wcsrtombs"" >&5
3020 # Check whether --enable-wcsrtombs or --disable-wcsrtombs was given.
3021 if test "${enable_wcsrtombs+set}" = set; then
3022 enableval
="$enable_wcsrtombs"
3024 if test "$enableval" = yes; then
3025 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS=yes'
3027 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS=no'
3032 LINE
=`grep "wxUSE_WCSRTOMBS" ${wx_arg_cache_file}`
3033 if test "x$LINE" != x
; then
3034 eval "DEFAULT_$LINE"
3039 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS='$DEFAULT_wxUSE_WCSRTOMBS
3044 eval "$ac_cv_use_wcsrtombs"
3045 if test "$no_cache" != 1; then
3046 echo $ac_cv_use_wcsrtombs >> ${wx_arg_cache_file}.tmp
3049 if test "$wxUSE_WCSRTOMBS" = yes; then
3050 echo "$ac_t""yes" 1>&6
3052 echo "$ac_t""no" 1>&6
3056 echo $ac_n "checking "for --enable-wxprintfv"""... $ac_c" 1>&6
3057 echo "configure:3058: checking "for --enable-wxprintfv"" >&5
3059 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
3060 if test "${enable_wxprintfv+set}" = set; then
3061 enableval
="$enable_wxprintfv"
3063 if test "$enableval" = yes; then
3064 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
3066 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
3071 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
3072 if test "x$LINE" != x
; then
3073 eval "DEFAULT_$LINE"
3078 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
3083 eval "$ac_cv_use_wxprintfv"
3084 if test "$no_cache" != 1; then
3085 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
3088 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
3089 echo "$ac_t""yes" 1>&6
3091 echo "$ac_t""no" 1>&6
3095 echo $ac_n "checking "for --enable-joystick"""... $ac_c" 1>&6
3096 echo "configure:3097: checking "for --enable-joystick"" >&5
3098 # Check whether --enable-joystick or --disable-joystick was given.
3099 if test "${enable_joystick+set}" = set; then
3100 enableval
="$enable_joystick"
3102 if test "$enableval" = yes; then
3103 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
3105 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
3110 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
3111 if test "x$LINE" != x
; then
3112 eval "DEFAULT_$LINE"
3117 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
3122 eval "$ac_cv_use_joystick"
3123 if test "$no_cache" != 1; then
3124 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
3127 if test "$wxUSE_JOYSTICK" = yes; then
3128 echo "$ac_t""yes" 1>&6
3130 echo "$ac_t""no" 1>&6
3134 echo $ac_n "checking "for --enable-std_iostreams"""... $ac_c" 1>&6
3135 echo "configure:3136: checking "for --enable-std_iostreams"" >&5
3137 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
3138 if test "${enable_std_iostreams+set}" = set; then
3139 enableval
="$enable_std_iostreams"
3141 if test "$enableval" = yes; then
3142 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
3144 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
3149 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
3150 if test "x$LINE" != x
; then
3151 eval "DEFAULT_$LINE"
3156 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
3161 eval "$ac_cv_use_std_iostreams"
3162 if test "$no_cache" != 1; then
3163 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
3166 if test "$wxUSE_STD_IOSTREAM" = yes; then
3167 echo "$ac_t""yes" 1>&6
3169 echo "$ac_t""no" 1>&6
3173 echo $ac_n "checking "for --enable-fs_inet"""... $ac_c" 1>&6
3174 echo "configure:3175: checking "for --enable-fs_inet"" >&5
3176 # Check whether --enable-fs_inet or --disable-fs_inet was given.
3177 if test "${enable_fs_inet+set}" = set; then
3178 enableval
="$enable_fs_inet"
3180 if test "$enableval" = yes; then
3181 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
3183 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
3188 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
3189 if test "x$LINE" != x
; then
3190 eval "DEFAULT_$LINE"
3195 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
3200 eval "$ac_cv_use_fs_inet"
3201 if test "$no_cache" != 1; then
3202 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
3205 if test "$wxUSE_FS_INET" = yes; then
3206 echo "$ac_t""yes" 1>&6
3208 echo "$ac_t""no" 1>&6
3212 echo $ac_n "checking "for --enable-fs_zip"""... $ac_c" 1>&6
3213 echo "configure:3214: checking "for --enable-fs_zip"" >&5
3215 # Check whether --enable-fs_zip or --disable-fs_zip was given.
3216 if test "${enable_fs_zip+set}" = set; then
3217 enableval
="$enable_fs_zip"
3219 if test "$enableval" = yes; then
3220 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
3222 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
3227 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
3228 if test "x$LINE" != x
; then
3229 eval "DEFAULT_$LINE"
3234 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
3239 eval "$ac_cv_use_fs_zip"
3240 if test "$no_cache" != 1; then
3241 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
3244 if test "$wxUSE_FS_ZIP" = yes; then
3245 echo "$ac_t""yes" 1>&6
3247 echo "$ac_t""no" 1>&6
3251 echo $ac_n "checking "for --enable-zipstream"""... $ac_c" 1>&6
3252 echo "configure:3253: checking "for --enable-zipstream"" >&5
3254 # Check whether --enable-zipstream or --disable-zipstream was given.
3255 if test "${enable_zipstream+set}" = set; then
3256 enableval
="$enable_zipstream"
3258 if test "$enableval" = yes; then
3259 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
3261 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
3266 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
3267 if test "x$LINE" != x
; then
3268 eval "DEFAULT_$LINE"
3273 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
3278 eval "$ac_cv_use_zipstream"
3279 if test "$no_cache" != 1; then
3280 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
3283 if test "$wxUSE_ZIPSTREAM" = yes; then
3284 echo "$ac_t""yes" 1>&6
3286 echo "$ac_t""no" 1>&6
3292 echo $ac_n "checking "for --enable-threads"""... $ac_c" 1>&6
3293 echo "configure:3294: checking "for --enable-threads"" >&5
3295 # Check whether --enable-threads or --disable-threads was given.
3296 if test "${enable_threads+set}" = set; then
3297 enableval
="$enable_threads"
3299 if test "$enableval" = yes; then
3300 ac_cv_use_threads
='wxUSE_THREADS=yes'
3302 ac_cv_use_threads
='wxUSE_THREADS=no'
3307 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
3308 if test "x$LINE" != x
; then
3309 eval "DEFAULT_$LINE"
3314 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
3319 eval "$ac_cv_use_threads"
3320 if test "$no_cache" != 1; then
3321 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
3324 if test "$wxUSE_THREADS" = yes; then
3325 echo "$ac_t""yes" 1>&6
3327 echo "$ac_t""no" 1>&6
3331 echo $ac_n "checking "for --enable-serial"""... $ac_c" 1>&6
3332 echo "configure:3333: checking "for --enable-serial"" >&5
3334 # Check whether --enable-serial or --disable-serial was given.
3335 if test "${enable_serial+set}" = set; then
3336 enableval
="$enable_serial"
3338 if test "$enableval" = yes; then
3339 ac_cv_use_serial
='wxUSE_SERIAL=yes'
3341 ac_cv_use_serial
='wxUSE_SERIAL=no'
3346 LINE
=`grep "wxUSE_SERIAL" ${wx_arg_cache_file}`
3347 if test "x$LINE" != x
; then
3348 eval "DEFAULT_$LINE"
3353 ac_cv_use_serial
='wxUSE_SERIAL='$DEFAULT_wxUSE_SERIAL
3358 eval "$ac_cv_use_serial"
3359 if test "$no_cache" != 1; then
3360 echo $ac_cv_use_serial >> ${wx_arg_cache_file}.tmp
3363 if test "$wxUSE_SERIAL" = yes; then
3364 echo "$ac_t""yes" 1>&6
3366 echo "$ac_t""no" 1>&6
3372 echo $ac_n "checking "for --enable-docview"""... $ac_c" 1>&6
3373 echo "configure:3374: checking "for --enable-docview"" >&5
3375 # Check whether --enable-docview or --disable-docview was given.
3376 if test "${enable_docview+set}" = set; then
3377 enableval
="$enable_docview"
3379 if test "$enableval" = yes; then
3380 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
3382 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
3387 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
3388 if test "x$LINE" != x
; then
3389 eval "DEFAULT_$LINE"
3394 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
3399 eval "$ac_cv_use_docview"
3400 if test "$no_cache" != 1; then
3401 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
3404 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
3405 echo "$ac_t""yes" 1>&6
3407 echo "$ac_t""no" 1>&6
3411 echo $ac_n "checking "for --enable-help"""... $ac_c" 1>&6
3412 echo "configure:3413: checking "for --enable-help"" >&5
3414 # Check whether --enable-help or --disable-help was given.
3415 if test "${enable_help+set}" = set; then
3416 enableval
="$enable_help"
3418 if test "$enableval" = yes; then
3419 ac_cv_use_help
='wxUSE_HELP=yes'
3421 ac_cv_use_help
='wxUSE_HELP=no'
3426 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
3427 if test "x$LINE" != x
; then
3428 eval "DEFAULT_$LINE"
3433 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
3438 eval "$ac_cv_use_help"
3439 if test "$no_cache" != 1; then
3440 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
3443 if test "$wxUSE_HELP" = yes; then
3444 echo "$ac_t""yes" 1>&6
3446 echo "$ac_t""no" 1>&6
3450 echo $ac_n "checking "for --enable-constraints"""... $ac_c" 1>&6
3451 echo "configure:3452: checking "for --enable-constraints"" >&5
3453 # Check whether --enable-constraints or --disable-constraints was given.
3454 if test "${enable_constraints+set}" = set; then
3455 enableval
="$enable_constraints"
3457 if test "$enableval" = yes; then
3458 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
3460 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
3465 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
3466 if test "x$LINE" != x
; then
3467 eval "DEFAULT_$LINE"
3472 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
3477 eval "$ac_cv_use_constraints"
3478 if test "$no_cache" != 1; then
3479 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
3482 if test "$wxUSE_CONSTRAINTS" = yes; then
3483 echo "$ac_t""yes" 1>&6
3485 echo "$ac_t""no" 1>&6
3489 echo $ac_n "checking "for --enable-printarch"""... $ac_c" 1>&6
3490 echo "configure:3491: checking "for --enable-printarch"" >&5
3492 # Check whether --enable-printarch or --disable-printarch was given.
3493 if test "${enable_printarch+set}" = set; then
3494 enableval
="$enable_printarch"
3496 if test "$enableval" = yes; then
3497 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
3499 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
3504 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
3505 if test "x$LINE" != x
; then
3506 eval "DEFAULT_$LINE"
3511 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
3516 eval "$ac_cv_use_printarch"
3517 if test "$no_cache" != 1; then
3518 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
3521 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
3522 echo "$ac_t""yes" 1>&6
3524 echo "$ac_t""no" 1>&6
3528 echo $ac_n "checking "for --enable-mdi"""... $ac_c" 1>&6
3529 echo "configure:3530: checking "for --enable-mdi"" >&5
3531 # Check whether --enable-mdi or --disable-mdi was given.
3532 if test "${enable_mdi+set}" = set; then
3533 enableval
="$enable_mdi"
3535 if test "$enableval" = yes; then
3536 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=yes'
3538 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=no'
3543 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
3544 if test "x$LINE" != x
; then
3545 eval "DEFAULT_$LINE"
3550 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
3555 eval "$ac_cv_use_mdi"
3556 if test "$no_cache" != 1; then
3557 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
3560 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
3561 echo "$ac_t""yes" 1>&6
3563 echo "$ac_t""no" 1>&6
3568 echo $ac_n "checking "for --enable-postscript"""... $ac_c" 1>&6
3569 echo "configure:3570: checking "for --enable-postscript"" >&5
3571 # Check whether --enable-postscript or --disable-postscript was given.
3572 if test "${enable_postscript+set}" = set; then
3573 enableval
="$enable_postscript"
3575 if test "$enableval" = yes; then
3576 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
3578 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
3583 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
3584 if test "x$LINE" != x
; then
3585 eval "DEFAULT_$LINE"
3590 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
3595 eval "$ac_cv_use_postscript"
3596 if test "$no_cache" != 1; then
3597 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
3600 if test "$wxUSE_POSTSCRIPT" = yes; then
3601 echo "$ac_t""yes" 1>&6
3603 echo "$ac_t""no" 1>&6
3609 echo $ac_n "checking "for --enable-prologio"""... $ac_c" 1>&6
3610 echo "configure:3611: checking "for --enable-prologio"" >&5
3612 # Check whether --enable-prologio or --disable-prologio was given.
3613 if test "${enable_prologio+set}" = set; then
3614 enableval
="$enable_prologio"
3616 if test "$enableval" = yes; then
3617 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
3619 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
3624 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
3625 if test "x$LINE" != x
; then
3626 eval "DEFAULT_$LINE"
3631 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
3636 eval "$ac_cv_use_prologio"
3637 if test "$no_cache" != 1; then
3638 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
3641 if test "$wxUSE_PROLOGIO" = yes; then
3642 echo "$ac_t""yes" 1>&6
3644 echo "$ac_t""no" 1>&6
3648 echo $ac_n "checking "for --enable-resources"""... $ac_c" 1>&6
3649 echo "configure:3650: checking "for --enable-resources"" >&5
3651 # Check whether --enable-resources or --disable-resources was given.
3652 if test "${enable_resources+set}" = set; then
3653 enableval
="$enable_resources"
3655 if test "$enableval" = yes; then
3656 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
3658 ac_cv_use_resources
='wxUSE_RESOURCES=no'
3663 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
3664 if test "x$LINE" != x
; then
3665 eval "DEFAULT_$LINE"
3670 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
3675 eval "$ac_cv_use_resources"
3676 if test "$no_cache" != 1; then
3677 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
3680 if test "$wxUSE_RESOURCES" = yes; then
3681 echo "$ac_t""yes" 1>&6
3683 echo "$ac_t""no" 1>&6
3688 echo $ac_n "checking "for --enable-xresources"""... $ac_c" 1>&6
3689 echo "configure:3690: checking "for --enable-xresources"" >&5
3691 # Check whether --enable-xresources or --disable-xresources was given.
3692 if test "${enable_xresources+set}" = set; then
3693 enableval
="$enable_xresources"
3695 if test "$enableval" = yes; then
3696 ac_cv_use_xresources
='wxUSE_X_RESOURCES=yes'
3698 ac_cv_use_xresources
='wxUSE_X_RESOURCES=no'
3703 LINE
=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
3704 if test "x$LINE" != x
; then
3705 eval "DEFAULT_$LINE"
3710 ac_cv_use_xresources
='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
3715 eval "$ac_cv_use_xresources"
3716 if test "$no_cache" != 1; then
3717 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
3720 if test "$wxUSE_X_RESOURCES" = yes; then
3721 echo "$ac_t""yes" 1>&6
3723 echo "$ac_t""no" 1>&6
3729 echo $ac_n "checking "for --enable-clipboard"""... $ac_c" 1>&6
3730 echo "configure:3731: checking "for --enable-clipboard"" >&5
3732 # Check whether --enable-clipboard or --disable-clipboard was given.
3733 if test "${enable_clipboard+set}" = set; then
3734 enableval
="$enable_clipboard"
3736 if test "$enableval" = yes; then
3737 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
3739 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
3744 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
3745 if test "x$LINE" != x
; then
3746 eval "DEFAULT_$LINE"
3751 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
3756 eval "$ac_cv_use_clipboard"
3757 if test "$no_cache" != 1; then
3758 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
3761 if test "$wxUSE_CLIPBOARD" = yes; then
3762 echo "$ac_t""yes" 1>&6
3764 echo "$ac_t""no" 1>&6
3768 echo $ac_n "checking "for --enable-dnd"""... $ac_c" 1>&6
3769 echo "configure:3770: checking "for --enable-dnd"" >&5
3771 # Check whether --enable-dnd or --disable-dnd was given.
3772 if test "${enable_dnd+set}" = set; then
3773 enableval
="$enable_dnd"
3775 if test "$enableval" = yes; then
3776 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
3778 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
3783 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
3784 if test "x$LINE" != x
; then
3785 eval "DEFAULT_$LINE"
3790 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
3795 eval "$ac_cv_use_dnd"
3796 if test "$no_cache" != 1; then
3797 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
3800 if test "$wxUSE_DRAG_AND_DROP" = yes; then
3801 echo "$ac_t""yes" 1>&6
3803 echo "$ac_t""no" 1>&6
3808 echo $ac_n "checking "for --enable-wxtree"""... $ac_c" 1>&6
3809 echo "configure:3810: checking "for --enable-wxtree"" >&5
3811 # Check whether --enable-wxtree or --disable-wxtree was given.
3812 if test "${enable_wxtree+set}" = set; then
3813 enableval
="$enable_wxtree"
3815 if test "$enableval" = yes; then
3816 ac_cv_use_wxtree
='wxUSE_WXTREE=yes'
3818 ac_cv_use_wxtree
='wxUSE_WXTREE=no'
3823 LINE
=`grep "wxUSE_WXTREE" ${wx_arg_cache_file}`
3824 if test "x$LINE" != x
; then
3825 eval "DEFAULT_$LINE"
3830 ac_cv_use_wxtree
='wxUSE_WXTREE='$DEFAULT_wxUSE_WXTREE
3835 eval "$ac_cv_use_wxtree"
3836 if test "$no_cache" != 1; then
3837 echo $ac_cv_use_wxtree >> ${wx_arg_cache_file}.tmp
3840 if test "$wxUSE_WXTREE" = yes; then
3841 echo "$ac_t""yes" 1>&6
3843 echo "$ac_t""no" 1>&6
3849 echo $ac_n "checking "for --enable-controls"""... $ac_c" 1>&6
3850 echo "configure:3851: checking "for --enable-controls"" >&5
3852 # Check whether --enable-controls or --disable-controls was given.
3853 if test "${enable_controls+set}" = set; then
3854 enableval
="$enable_controls"
3856 if test "$enableval" = yes; then
3857 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
3859 ac_cv_use_controls
='wxUSE_CONTROLS=no'
3864 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
3865 if test "x$LINE" != x
; then
3866 eval "DEFAULT_$LINE"
3871 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
3876 eval "$ac_cv_use_controls"
3877 if test "$no_cache" != 1; then
3878 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
3881 if test "$wxUSE_CONTROLS" = yes; then
3882 echo "$ac_t""yes" 1>&6
3884 echo "$ac_t""no" 1>&6
3888 if test "$wxUSE_CONTROLS" = "yes"; then
3889 DEFAULT_wxUSE_ACCEL
=yes
3890 DEFAULT_wxUSE_CARET
=yes
3891 DEFAULT_wxUSE_COMBOBOX
=yes
3892 DEFAULT_wxUSE_BMPBUTTON
=yes
3893 DEFAULT_wxUSE_CHECKBOX
=yes
3894 DEFAULT_wxUSE_CHECKLISTBOX
=yes
3895 DEFAULT_wxUSE_CHOICE
=yes
3896 DEFAULT_wxUSE_GAUGE
=yes
3897 DEFAULT_wxUSE_GRID
=yes
3898 DEFAULT_wxUSE_NEW_GRID
=no
3899 DEFAULT_wxUSE_IMAGLIST
=yes
3900 DEFAULT_wxUSE_LISTBOX
=yes
3901 DEFAULT_wxUSE_LISTCTRL
=yes
3902 DEFAULT_wxUSE_NOTEBOOK
=yes
3903 DEFAULT_wxUSE_RADIOBOX
=yes
3904 DEFAULT_wxUSE_RADIOBTN
=yes
3905 DEFAULT_wxUSE_SASH
=yes
3906 DEFAULT_wxUSE_SCROLLBAR
=yes
3907 DEFAULT_wxUSE_SLIDER
=yes
3908 DEFAULT_wxUSE_SPINBTN
=yes
3909 DEFAULT_wxUSE_SPINCTRL
=yes
3910 DEFAULT_wxUSE_SPLITTER
=yes
3911 DEFAULT_wxUSE_STATBMP
=yes
3912 DEFAULT_wxUSE_STATBOX
=yes
3913 DEFAULT_wxUSE_STATLINE
=yes
3914 DEFAULT_wxUSE_STATUSBAR
=yes
3915 DEFAULT_wxUSE_TAB_DIALOG
=yes
3916 DEFAULT_wxUSE_TOOLBAR
=yes
3917 DEFAULT_wxUSE_TOOLTIPS
=yes
3918 DEFAULT_wxUSE_TREECTRL
=yes
3919 elif test "$wxUSE_CONTROLS" = "no"; then
3920 DEFAULT_wxUSE_ACCEL
=no
3921 DEFAULT_wxUSE_CARET
=no
3922 DEFAULT_wxUSE_COMBOBOX
=no
3923 DEFAULT_wxUSE_BMPBUTTON
=no
3924 DEFAULT_wxUSE_CHECKBOX
=no
3925 DEFAULT_wxUSE_CHECKLISTBOX
=no
3926 DEFAULT_wxUSE_CHOICE
=no
3927 DEFAULT_wxUSE_GAUGE
=no
3928 DEFAULT_wxUSE_GRID
=no
3929 DEFAULT_wxUSE_NEW_GRID
=no
3930 DEFAULT_wxUSE_IMAGLIST
=no
3931 DEFAULT_wxUSE_LISTBOX
=no
3932 DEFAULT_wxUSE_LISTCTRL
=no
3933 DEFAULT_wxUSE_NOTEBOOK
=no
3934 DEFAULT_wxUSE_RADIOBOX
=no
3935 DEFAULT_wxUSE_RADIOBTN
=no
3936 DEFAULT_wxUSE_SASH
=no
3937 DEFAULT_wxUSE_SCROLLBAR
=no
3938 DEFAULT_wxUSE_SLIDER
=no
3939 DEFAULT_wxUSE_SPINBTN
=no
3940 DEFAULT_wxUSE_SPINCTRL
=no
3941 DEFAULT_wxUSE_SPLITTER
=no
3942 DEFAULT_wxUSE_STATBMP
=no
3943 DEFAULT_wxUSE_STATBOX
=no
3944 DEFAULT_wxUSE_STATLINE
=no
3945 DEFAULT_wxUSE_STATUSBAR
=no
3946 DEFAULT_wxUSE_TAB_DIALOG
=no
3947 DEFAULT_wxUSE_TOOLBAR
=no
3948 DEFAULT_wxUSE_TOOLTIPS
=no
3949 DEFAULT_wxUSE_TREECTRL
=no
3953 echo $ac_n "checking "for --enable-accel"""... $ac_c" 1>&6
3954 echo "configure:3955: checking "for --enable-accel"" >&5
3956 # Check whether --enable-accel or --disable-accel was given.
3957 if test "${enable_accel+set}" = set; then
3958 enableval
="$enable_accel"
3960 if test "$enableval" = yes; then
3961 ac_cv_use_accel
='wxUSE_ACCEL=yes'
3963 ac_cv_use_accel
='wxUSE_ACCEL=no'
3968 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
3969 if test "x$LINE" != x
; then
3970 eval "DEFAULT_$LINE"
3975 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
3980 eval "$ac_cv_use_accel"
3981 if test "$no_cache" != 1; then
3982 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
3985 if test "$wxUSE_ACCEL" = yes; then
3986 echo "$ac_t""yes" 1>&6
3988 echo "$ac_t""no" 1>&6
3992 echo $ac_n "checking "for --enable-caret"""... $ac_c" 1>&6
3993 echo "configure:3994: checking "for --enable-caret"" >&5
3995 # Check whether --enable-caret or --disable-caret was given.
3996 if test "${enable_caret+set}" = set; then
3997 enableval
="$enable_caret"
3999 if test "$enableval" = yes; then
4000 ac_cv_use_caret
='wxUSE_CARET=yes'
4002 ac_cv_use_caret
='wxUSE_CARET=no'
4007 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
4008 if test "x$LINE" != x
; then
4009 eval "DEFAULT_$LINE"
4014 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
4019 eval "$ac_cv_use_caret"
4020 if test "$no_cache" != 1; then
4021 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
4024 if test "$wxUSE_CARET" = yes; then
4025 echo "$ac_t""yes" 1>&6
4027 echo "$ac_t""no" 1>&6
4031 echo $ac_n "checking "for --enable-bmpbutton"""... $ac_c" 1>&6
4032 echo "configure:4033: checking "for --enable-bmpbutton"" >&5
4034 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
4035 if test "${enable_bmpbutton+set}" = set; then
4036 enableval
="$enable_bmpbutton"
4038 if test "$enableval" = yes; then
4039 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
4041 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
4046 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
4047 if test "x$LINE" != x
; then
4048 eval "DEFAULT_$LINE"
4053 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
4058 eval "$ac_cv_use_bmpbutton"
4059 if test "$no_cache" != 1; then
4060 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
4063 if test "$wxUSE_BMPBUTTON" = yes; then
4064 echo "$ac_t""yes" 1>&6
4066 echo "$ac_t""no" 1>&6
4070 echo $ac_n "checking "for --enable-checkbox"""... $ac_c" 1>&6
4071 echo "configure:4072: checking "for --enable-checkbox"" >&5
4073 # Check whether --enable-checkbox or --disable-checkbox was given.
4074 if test "${enable_checkbox+set}" = set; then
4075 enableval
="$enable_checkbox"
4077 if test "$enableval" = yes; then
4078 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
4080 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
4085 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
4086 if test "x$LINE" != x
; then
4087 eval "DEFAULT_$LINE"
4092 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
4097 eval "$ac_cv_use_checkbox"
4098 if test "$no_cache" != 1; then
4099 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
4102 if test "$wxUSE_CHECKBOX" = yes; then
4103 echo "$ac_t""yes" 1>&6
4105 echo "$ac_t""no" 1>&6
4109 echo $ac_n "checking "for --enable-checklst"""... $ac_c" 1>&6
4110 echo "configure:4111: checking "for --enable-checklst"" >&5
4112 # Check whether --enable-checklst or --disable-checklst was given.
4113 if test "${enable_checklst+set}" = set; then
4114 enableval
="$enable_checklst"
4116 if test "$enableval" = yes; then
4117 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
4119 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
4124 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
4125 if test "x$LINE" != x
; then
4126 eval "DEFAULT_$LINE"
4131 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
4136 eval "$ac_cv_use_checklst"
4137 if test "$no_cache" != 1; then
4138 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
4141 if test "$wxUSE_CHECKLST" = yes; then
4142 echo "$ac_t""yes" 1>&6
4144 echo "$ac_t""no" 1>&6
4148 echo $ac_n "checking "for --enable-choice"""... $ac_c" 1>&6
4149 echo "configure:4150: checking "for --enable-choice"" >&5
4151 # Check whether --enable-choice or --disable-choice was given.
4152 if test "${enable_choice+set}" = set; then
4153 enableval
="$enable_choice"
4155 if test "$enableval" = yes; then
4156 ac_cv_use_choice
='wxUSE_CHOICE=yes'
4158 ac_cv_use_choice
='wxUSE_CHOICE=no'
4163 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
4164 if test "x$LINE" != x
; then
4165 eval "DEFAULT_$LINE"
4170 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
4175 eval "$ac_cv_use_choice"
4176 if test "$no_cache" != 1; then
4177 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
4180 if test "$wxUSE_CHOICE" = yes; then
4181 echo "$ac_t""yes" 1>&6
4183 echo "$ac_t""no" 1>&6
4187 echo $ac_n "checking "for --enable-combobox"""... $ac_c" 1>&6
4188 echo "configure:4189: checking "for --enable-combobox"" >&5
4190 # Check whether --enable-combobox or --disable-combobox was given.
4191 if test "${enable_combobox+set}" = set; then
4192 enableval
="$enable_combobox"
4194 if test "$enableval" = yes; then
4195 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
4197 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
4202 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
4203 if test "x$LINE" != x
; then
4204 eval "DEFAULT_$LINE"
4209 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
4214 eval "$ac_cv_use_combobox"
4215 if test "$no_cache" != 1; then
4216 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
4219 if test "$wxUSE_COMBOBOX" = yes; then
4220 echo "$ac_t""yes" 1>&6
4222 echo "$ac_t""no" 1>&6
4226 echo $ac_n "checking "for --enable-gauge"""... $ac_c" 1>&6
4227 echo "configure:4228: checking "for --enable-gauge"" >&5
4229 # Check whether --enable-gauge or --disable-gauge was given.
4230 if test "${enable_gauge+set}" = set; then
4231 enableval
="$enable_gauge"
4233 if test "$enableval" = yes; then
4234 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
4236 ac_cv_use_gauge
='wxUSE_GAUGE=no'
4241 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
4242 if test "x$LINE" != x
; then
4243 eval "DEFAULT_$LINE"
4248 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
4253 eval "$ac_cv_use_gauge"
4254 if test "$no_cache" != 1; then
4255 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
4258 if test "$wxUSE_GAUGE" = yes; then
4259 echo "$ac_t""yes" 1>&6
4261 echo "$ac_t""no" 1>&6
4265 echo $ac_n "checking "for --enable-grid"""... $ac_c" 1>&6
4266 echo "configure:4267: checking "for --enable-grid"" >&5
4268 # Check whether --enable-grid or --disable-grid was given.
4269 if test "${enable_grid+set}" = set; then
4270 enableval
="$enable_grid"
4272 if test "$enableval" = yes; then
4273 ac_cv_use_grid
='wxUSE_GRID=yes'
4275 ac_cv_use_grid
='wxUSE_GRID=no'
4280 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
4281 if test "x$LINE" != x
; then
4282 eval "DEFAULT_$LINE"
4287 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
4292 eval "$ac_cv_use_grid"
4293 if test "$no_cache" != 1; then
4294 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
4297 if test "$wxUSE_GRID" = yes; then
4298 echo "$ac_t""yes" 1>&6
4300 echo "$ac_t""no" 1>&6
4304 echo $ac_n "checking "for --enable-newgrid"""... $ac_c" 1>&6
4305 echo "configure:4306: checking "for --enable-newgrid"" >&5
4307 # Check whether --enable-newgrid or --disable-newgrid was given.
4308 if test "${enable_newgrid+set}" = set; then
4309 enableval
="$enable_newgrid"
4311 if test "$enableval" = yes; then
4312 ac_cv_use_newgrid
='wxUSE_NEW_GRID=yes'
4314 ac_cv_use_newgrid
='wxUSE_NEW_GRID=no'
4319 LINE
=`grep "wxUSE_NEW_GRID" ${wx_arg_cache_file}`
4320 if test "x$LINE" != x
; then
4321 eval "DEFAULT_$LINE"
4326 ac_cv_use_newgrid
='wxUSE_NEW_GRID='$DEFAULT_wxUSE_NEW_GRID
4331 eval "$ac_cv_use_newgrid"
4332 if test "$no_cache" != 1; then
4333 echo $ac_cv_use_newgrid >> ${wx_arg_cache_file}.tmp
4336 if test "$wxUSE_NEW_GRID" = yes; then
4337 echo "$ac_t""yes" 1>&6
4339 echo "$ac_t""no" 1>&6
4343 echo $ac_n "checking "for --enable-imaglist"""... $ac_c" 1>&6
4344 echo "configure:4345: checking "for --enable-imaglist"" >&5
4346 # Check whether --enable-imaglist or --disable-imaglist was given.
4347 if test "${enable_imaglist+set}" = set; then
4348 enableval
="$enable_imaglist"
4350 if test "$enableval" = yes; then
4351 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
4353 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
4358 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
4359 if test "x$LINE" != x
; then
4360 eval "DEFAULT_$LINE"
4365 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
4370 eval "$ac_cv_use_imaglist"
4371 if test "$no_cache" != 1; then
4372 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
4375 if test "$wxUSE_IMAGLIST" = yes; then
4376 echo "$ac_t""yes" 1>&6
4378 echo "$ac_t""no" 1>&6
4382 echo $ac_n "checking "for --enable-listbox"""... $ac_c" 1>&6
4383 echo "configure:4384: checking "for --enable-listbox"" >&5
4385 # Check whether --enable-listbox or --disable-listbox was given.
4386 if test "${enable_listbox+set}" = set; then
4387 enableval
="$enable_listbox"
4389 if test "$enableval" = yes; then
4390 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
4392 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
4397 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
4398 if test "x$LINE" != x
; then
4399 eval "DEFAULT_$LINE"
4404 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
4409 eval "$ac_cv_use_listbox"
4410 if test "$no_cache" != 1; then
4411 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
4414 if test "$wxUSE_LISTBOX" = yes; then
4415 echo "$ac_t""yes" 1>&6
4417 echo "$ac_t""no" 1>&6
4421 echo $ac_n "checking "for --enable-listctrl"""... $ac_c" 1>&6
4422 echo "configure:4423: checking "for --enable-listctrl"" >&5
4424 # Check whether --enable-listctrl or --disable-listctrl was given.
4425 if test "${enable_listctrl+set}" = set; then
4426 enableval
="$enable_listctrl"
4428 if test "$enableval" = yes; then
4429 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
4431 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
4436 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
4437 if test "x$LINE" != x
; then
4438 eval "DEFAULT_$LINE"
4443 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
4448 eval "$ac_cv_use_listctrl"
4449 if test "$no_cache" != 1; then
4450 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
4453 if test "$wxUSE_LISTCTRL" = yes; then
4454 echo "$ac_t""yes" 1>&6
4456 echo "$ac_t""no" 1>&6
4460 echo $ac_n "checking "for --enable-notebook"""... $ac_c" 1>&6
4461 echo "configure:4462: checking "for --enable-notebook"" >&5
4463 # Check whether --enable-notebook or --disable-notebook was given.
4464 if test "${enable_notebook+set}" = set; then
4465 enableval
="$enable_notebook"
4467 if test "$enableval" = yes; then
4468 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
4470 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
4475 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
4476 if test "x$LINE" != x
; then
4477 eval "DEFAULT_$LINE"
4482 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
4487 eval "$ac_cv_use_notebook"
4488 if test "$no_cache" != 1; then
4489 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
4492 if test "$wxUSE_NOTEBOOK" = yes; then
4493 echo "$ac_t""yes" 1>&6
4495 echo "$ac_t""no" 1>&6
4499 echo $ac_n "checking "for --enable-radiobox"""... $ac_c" 1>&6
4500 echo "configure:4501: checking "for --enable-radiobox"" >&5
4502 # Check whether --enable-radiobox or --disable-radiobox was given.
4503 if test "${enable_radiobox+set}" = set; then
4504 enableval
="$enable_radiobox"
4506 if test "$enableval" = yes; then
4507 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
4509 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
4514 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
4515 if test "x$LINE" != x
; then
4516 eval "DEFAULT_$LINE"
4521 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
4526 eval "$ac_cv_use_radiobox"
4527 if test "$no_cache" != 1; then
4528 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
4531 if test "$wxUSE_RADIOBOX" = yes; then
4532 echo "$ac_t""yes" 1>&6
4534 echo "$ac_t""no" 1>&6
4538 echo $ac_n "checking "for --enable-radiobtn"""... $ac_c" 1>&6
4539 echo "configure:4540: checking "for --enable-radiobtn"" >&5
4541 # Check whether --enable-radiobtn or --disable-radiobtn was given.
4542 if test "${enable_radiobtn+set}" = set; then
4543 enableval
="$enable_radiobtn"
4545 if test "$enableval" = yes; then
4546 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
4548 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
4553 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
4554 if test "x$LINE" != x
; then
4555 eval "DEFAULT_$LINE"
4560 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
4565 eval "$ac_cv_use_radiobtn"
4566 if test "$no_cache" != 1; then
4567 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
4570 if test "$wxUSE_RADIOBTN" = yes; then
4571 echo "$ac_t""yes" 1>&6
4573 echo "$ac_t""no" 1>&6
4577 echo $ac_n "checking "for --enable-sash"""... $ac_c" 1>&6
4578 echo "configure:4579: checking "for --enable-sash"" >&5
4580 # Check whether --enable-sash or --disable-sash was given.
4581 if test "${enable_sash+set}" = set; then
4582 enableval
="$enable_sash"
4584 if test "$enableval" = yes; then
4585 ac_cv_use_sash
='wxUSE_SASH=yes'
4587 ac_cv_use_sash
='wxUSE_SASH=no'
4592 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
4593 if test "x$LINE" != x
; then
4594 eval "DEFAULT_$LINE"
4599 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
4604 eval "$ac_cv_use_sash"
4605 if test "$no_cache" != 1; then
4606 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
4609 if test "$wxUSE_SASH" = yes; then
4610 echo "$ac_t""yes" 1>&6
4612 echo "$ac_t""no" 1>&6
4616 echo $ac_n "checking "for --enable-scrollbar"""... $ac_c" 1>&6
4617 echo "configure:4618: checking "for --enable-scrollbar"" >&5
4619 # Check whether --enable-scrollbar or --disable-scrollbar was given.
4620 if test "${enable_scrollbar+set}" = set; then
4621 enableval
="$enable_scrollbar"
4623 if test "$enableval" = yes; then
4624 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
4626 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
4631 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
4632 if test "x$LINE" != x
; then
4633 eval "DEFAULT_$LINE"
4638 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
4643 eval "$ac_cv_use_scrollbar"
4644 if test "$no_cache" != 1; then
4645 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
4648 if test "$wxUSE_SCROLLBAR" = yes; then
4649 echo "$ac_t""yes" 1>&6
4651 echo "$ac_t""no" 1>&6
4655 echo $ac_n "checking "for --enable-slider"""... $ac_c" 1>&6
4656 echo "configure:4657: checking "for --enable-slider"" >&5
4658 # Check whether --enable-slider or --disable-slider was given.
4659 if test "${enable_slider+set}" = set; then
4660 enableval
="$enable_slider"
4662 if test "$enableval" = yes; then
4663 ac_cv_use_slider
='wxUSE_SLIDER=yes'
4665 ac_cv_use_slider
='wxUSE_SLIDER=no'
4670 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
4671 if test "x$LINE" != x
; then
4672 eval "DEFAULT_$LINE"
4677 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
4682 eval "$ac_cv_use_slider"
4683 if test "$no_cache" != 1; then
4684 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
4687 if test "$wxUSE_SLIDER" = yes; then
4688 echo "$ac_t""yes" 1>&6
4690 echo "$ac_t""no" 1>&6
4694 echo $ac_n "checking "for --enable-spinbtn"""... $ac_c" 1>&6
4695 echo "configure:4696: checking "for --enable-spinbtn"" >&5
4697 # Check whether --enable-spinbtn or --disable-spinbtn was given.
4698 if test "${enable_spinbtn+set}" = set; then
4699 enableval
="$enable_spinbtn"
4701 if test "$enableval" = yes; then
4702 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
4704 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
4709 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
4710 if test "x$LINE" != x
; then
4711 eval "DEFAULT_$LINE"
4716 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
4721 eval "$ac_cv_use_spinbtn"
4722 if test "$no_cache" != 1; then
4723 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
4726 if test "$wxUSE_SPINBTN" = yes; then
4727 echo "$ac_t""yes" 1>&6
4729 echo "$ac_t""no" 1>&6
4733 echo $ac_n "checking "for --enable-spinctrl"""... $ac_c" 1>&6
4734 echo "configure:4735: checking "for --enable-spinctrl"" >&5
4736 # Check whether --enable-spinctrl or --disable-spinctrl was given.
4737 if test "${enable_spinctrl+set}" = set; then
4738 enableval
="$enable_spinctrl"
4740 if test "$enableval" = yes; then
4741 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
4743 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
4748 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
4749 if test "x$LINE" != x
; then
4750 eval "DEFAULT_$LINE"
4755 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
4760 eval "$ac_cv_use_spinctrl"
4761 if test "$no_cache" != 1; then
4762 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
4765 if test "$wxUSE_SPINCTRL" = yes; then
4766 echo "$ac_t""yes" 1>&6
4768 echo "$ac_t""no" 1>&6
4772 echo $ac_n "checking "for --enable-splitter"""... $ac_c" 1>&6
4773 echo "configure:4774: checking "for --enable-splitter"" >&5
4775 # Check whether --enable-splitter or --disable-splitter was given.
4776 if test "${enable_splitter+set}" = set; then
4777 enableval
="$enable_splitter"
4779 if test "$enableval" = yes; then
4780 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
4782 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
4787 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
4788 if test "x$LINE" != x
; then
4789 eval "DEFAULT_$LINE"
4794 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
4799 eval "$ac_cv_use_splitter"
4800 if test "$no_cache" != 1; then
4801 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
4804 if test "$wxUSE_SPLITTER" = yes; then
4805 echo "$ac_t""yes" 1>&6
4807 echo "$ac_t""no" 1>&6
4811 echo $ac_n "checking "for --enable-statbmp"""... $ac_c" 1>&6
4812 echo "configure:4813: checking "for --enable-statbmp"" >&5
4814 # Check whether --enable-statbmp or --disable-statbmp was given.
4815 if test "${enable_statbmp+set}" = set; then
4816 enableval
="$enable_statbmp"
4818 if test "$enableval" = yes; then
4819 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
4821 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
4826 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
4827 if test "x$LINE" != x
; then
4828 eval "DEFAULT_$LINE"
4833 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
4838 eval "$ac_cv_use_statbmp"
4839 if test "$no_cache" != 1; then
4840 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
4843 if test "$wxUSE_STATBMP" = yes; then
4844 echo "$ac_t""yes" 1>&6
4846 echo "$ac_t""no" 1>&6
4850 echo $ac_n "checking "for --enable-statbox"""... $ac_c" 1>&6
4851 echo "configure:4852: checking "for --enable-statbox"" >&5
4853 # Check whether --enable-statbox or --disable-statbox was given.
4854 if test "${enable_statbox+set}" = set; then
4855 enableval
="$enable_statbox"
4857 if test "$enableval" = yes; then
4858 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
4860 ac_cv_use_statbox
='wxUSE_STATBOX=no'
4865 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
4866 if test "x$LINE" != x
; then
4867 eval "DEFAULT_$LINE"
4872 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
4877 eval "$ac_cv_use_statbox"
4878 if test "$no_cache" != 1; then
4879 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
4882 if test "$wxUSE_STATBOX" = yes; then
4883 echo "$ac_t""yes" 1>&6
4885 echo "$ac_t""no" 1>&6
4889 echo $ac_n "checking "for --enable-statline"""... $ac_c" 1>&6
4890 echo "configure:4891: checking "for --enable-statline"" >&5
4892 # Check whether --enable-statline or --disable-statline was given.
4893 if test "${enable_statline+set}" = set; then
4894 enableval
="$enable_statline"
4896 if test "$enableval" = yes; then
4897 ac_cv_use_statline
='wxUSE_STATLINE=yes'
4899 ac_cv_use_statline
='wxUSE_STATLINE=no'
4904 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
4905 if test "x$LINE" != x
; then
4906 eval "DEFAULT_$LINE"
4911 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
4916 eval "$ac_cv_use_statline"
4917 if test "$no_cache" != 1; then
4918 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
4921 if test "$wxUSE_STATLINE" = yes; then
4922 echo "$ac_t""yes" 1>&6
4924 echo "$ac_t""no" 1>&6
4928 echo $ac_n "checking "for --enable-statusbar"""... $ac_c" 1>&6
4929 echo "configure:4930: checking "for --enable-statusbar"" >&5
4931 # Check whether --enable-statusbar or --disable-statusbar was given.
4932 if test "${enable_statusbar+set}" = set; then
4933 enableval
="$enable_statusbar"
4935 if test "$enableval" = yes; then
4936 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
4938 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
4943 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
4944 if test "x$LINE" != x
; then
4945 eval "DEFAULT_$LINE"
4950 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
4955 eval "$ac_cv_use_statusbar"
4956 if test "$no_cache" != 1; then
4957 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
4960 if test "$wxUSE_STATUSBAR" = yes; then
4961 echo "$ac_t""yes" 1>&6
4963 echo "$ac_t""no" 1>&6
4967 echo $ac_n "checking "for --enable-tabdialog"""... $ac_c" 1>&6
4968 echo "configure:4969: checking "for --enable-tabdialog"" >&5
4970 # Check whether --enable-tabdialog or --disable-tabdialog was given.
4971 if test "${enable_tabdialog+set}" = set; then
4972 enableval
="$enable_tabdialog"
4974 if test "$enableval" = yes; then
4975 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
4977 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
4982 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
4983 if test "x$LINE" != x
; then
4984 eval "DEFAULT_$LINE"
4989 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
4994 eval "$ac_cv_use_tabdialog"
4995 if test "$no_cache" != 1; then
4996 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
4999 if test "$wxUSE_TABDIALOG" = yes; then
5000 echo "$ac_t""yes" 1>&6
5002 echo "$ac_t""no" 1>&6
5006 echo $ac_n "checking "for --enable-toolbar"""... $ac_c" 1>&6
5007 echo "configure:5008: checking "for --enable-toolbar"" >&5
5009 # Check whether --enable-toolbar or --disable-toolbar was given.
5010 if test "${enable_toolbar+set}" = set; then
5011 enableval
="$enable_toolbar"
5013 if test "$enableval" = yes; then
5014 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
5016 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
5021 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
5022 if test "x$LINE" != x
; then
5023 eval "DEFAULT_$LINE"
5028 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
5033 eval "$ac_cv_use_toolbar"
5034 if test "$no_cache" != 1; then
5035 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
5038 if test "$wxUSE_TOOLBAR" = yes; then
5039 echo "$ac_t""yes" 1>&6
5041 echo "$ac_t""no" 1>&6
5045 echo $ac_n "checking "for --enable-treectrl"""... $ac_c" 1>&6
5046 echo "configure:5047: checking "for --enable-treectrl"" >&5
5048 # Check whether --enable-treectrl or --disable-treectrl was given.
5049 if test "${enable_treectrl+set}" = set; then
5050 enableval
="$enable_treectrl"
5052 if test "$enableval" = yes; then
5053 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
5055 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
5060 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
5061 if test "x$LINE" != x
; then
5062 eval "DEFAULT_$LINE"
5067 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
5072 eval "$ac_cv_use_treectrl"
5073 if test "$no_cache" != 1; then
5074 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
5077 if test "$wxUSE_TREECTRL" = yes; then
5078 echo "$ac_t""yes" 1>&6
5080 echo "$ac_t""no" 1>&6
5086 echo $ac_n "checking "for --enable-commondlg"""... $ac_c" 1>&6
5087 echo "configure:5088: checking "for --enable-commondlg"" >&5
5089 # Check whether --enable-commondlg or --disable-commondlg was given.
5090 if test "${enable_commondlg+set}" = set; then
5091 enableval
="$enable_commondlg"
5093 if test "$enableval" = yes; then
5094 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
5096 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
5101 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
5102 if test "x$LINE" != x
; then
5103 eval "DEFAULT_$LINE"
5108 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
5113 eval "$ac_cv_use_commondlg"
5114 if test "$no_cache" != 1; then
5115 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
5118 if test "$wxUSE_COMMONDLGS" = yes; then
5119 echo "$ac_t""yes" 1>&6
5121 echo "$ac_t""no" 1>&6
5125 echo $ac_n "checking "for --enable-dirdlg"""... $ac_c" 1>&6
5126 echo "configure:5127: checking "for --enable-dirdlg"" >&5
5128 # Check whether --enable-dirdlg or --disable-dirdlg was given.
5129 if test "${enable_dirdlg+set}" = set; then
5130 enableval
="$enable_dirdlg"
5132 if test "$enableval" = yes; then
5133 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
5135 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
5140 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
5141 if test "x$LINE" != x
; then
5142 eval "DEFAULT_$LINE"
5147 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
5152 eval "$ac_cv_use_dirdlg"
5153 if test "$no_cache" != 1; then
5154 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
5157 if test "$wxUSE_DIRDLG" = yes; then
5158 echo "$ac_t""yes" 1>&6
5160 echo "$ac_t""no" 1>&6
5164 echo $ac_n "checking "for --enable-textdlg"""... $ac_c" 1>&6
5165 echo "configure:5166: checking "for --enable-textdlg"" >&5
5167 # Check whether --enable-textdlg or --disable-textdlg was given.
5168 if test "${enable_textdlg+set}" = set; then
5169 enableval
="$enable_textdlg"
5171 if test "$enableval" = yes; then
5172 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
5174 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
5179 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
5180 if test "x$LINE" != x
; then
5181 eval "DEFAULT_$LINE"
5186 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
5191 eval "$ac_cv_use_textdlg"
5192 if test "$no_cache" != 1; then
5193 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
5196 if test "$wxUSE_TEXTDLG" = yes; then
5197 echo "$ac_t""yes" 1>&6
5199 echo "$ac_t""no" 1>&6
5203 echo $ac_n "checking "for --enable-tipdlg"""... $ac_c" 1>&6
5204 echo "configure:5205: checking "for --enable-tipdlg"" >&5
5206 # Check whether --enable-tipdlg or --disable-tipdlg was given.
5207 if test "${enable_tipdlg+set}" = set; then
5208 enableval
="$enable_tipdlg"
5210 if test "$enableval" = yes; then
5211 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
5213 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
5218 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
5219 if test "x$LINE" != x
; then
5220 eval "DEFAULT_$LINE"
5225 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
5230 eval "$ac_cv_use_tipdlg"
5231 if test "$no_cache" != 1; then
5232 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
5235 if test "$wxUSE_STARTUP_TIPS" = yes; then
5236 echo "$ac_t""yes" 1>&6
5238 echo "$ac_t""no" 1>&6
5242 echo $ac_n "checking "for --enable-progressdlg"""... $ac_c" 1>&6
5243 echo "configure:5244: checking "for --enable-progressdlg"" >&5
5245 # Check whether --enable-progressdlg or --disable-progressdlg was given.
5246 if test "${enable_progressdlg+set}" = set; then
5247 enableval
="$enable_progressdlg"
5249 if test "$enableval" = yes; then
5250 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
5252 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
5257 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
5258 if test "x$LINE" != x
; then
5259 eval "DEFAULT_$LINE"
5264 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
5269 eval "$ac_cv_use_progressdlg"
5270 if test "$no_cache" != 1; then
5271 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
5274 if test "$wxUSE_PROGRESSDLG" = yes; then
5275 echo "$ac_t""yes" 1>&6
5277 echo "$ac_t""no" 1>&6
5281 echo $ac_n "checking "for --enable-miniframe"""... $ac_c" 1>&6
5282 echo "configure:5283: checking "for --enable-miniframe"" >&5
5284 # Check whether --enable-miniframe or --disable-miniframe was given.
5285 if test "${enable_miniframe+set}" = set; then
5286 enableval
="$enable_miniframe"
5288 if test "$enableval" = yes; then
5289 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
5291 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
5296 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
5297 if test "x$LINE" != x
; then
5298 eval "DEFAULT_$LINE"
5303 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
5308 eval "$ac_cv_use_miniframe"
5309 if test "$no_cache" != 1; then
5310 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
5313 if test "$wxUSE_MINIFRAME" = yes; then
5314 echo "$ac_t""yes" 1>&6
5316 echo "$ac_t""no" 1>&6
5320 echo $ac_n "checking "for --enable-html"""... $ac_c" 1>&6
5321 echo "configure:5322: checking "for --enable-html"" >&5
5323 # Check whether --enable-html or --disable-html was given.
5324 if test "${enable_html+set}" = set; then
5325 enableval
="$enable_html"
5327 if test "$enableval" = yes; then
5328 ac_cv_use_html
='wxUSE_HTML=yes'
5330 ac_cv_use_html
='wxUSE_HTML=no'
5335 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
5336 if test "x$LINE" != x
; then
5337 eval "DEFAULT_$LINE"
5342 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
5347 eval "$ac_cv_use_html"
5348 if test "$no_cache" != 1; then
5349 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
5352 if test "$wxUSE_HTML" = yes; then
5353 echo "$ac_t""yes" 1>&6
5355 echo "$ac_t""no" 1>&6
5359 echo $ac_n "checking "for --enable-tooltips"""... $ac_c" 1>&6
5360 echo "configure:5361: checking "for --enable-tooltips"" >&5
5362 # Check whether --enable-tooltips or --disable-tooltips was given.
5363 if test "${enable_tooltips+set}" = set; then
5364 enableval
="$enable_tooltips"
5366 if test "$enableval" = yes; then
5367 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
5369 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
5374 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
5375 if test "x$LINE" != x
; then
5376 eval "DEFAULT_$LINE"
5381 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
5386 eval "$ac_cv_use_tooltips"
5387 if test "$no_cache" != 1; then
5388 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
5391 if test "$wxUSE_TOOLTIPS" = yes; then
5392 echo "$ac_t""yes" 1>&6
5394 echo "$ac_t""no" 1>&6
5398 echo $ac_n "checking "for --enable-splines"""... $ac_c" 1>&6
5399 echo "configure:5400: checking "for --enable-splines"" >&5
5401 # Check whether --enable-splines or --disable-splines was given.
5402 if test "${enable_splines+set}" = set; then
5403 enableval
="$enable_splines"
5405 if test "$enableval" = yes; then
5406 ac_cv_use_splines
='wxUSE_SPLINES=yes'
5408 ac_cv_use_splines
='wxUSE_SPLINES=no'
5413 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
5414 if test "x$LINE" != x
; then
5415 eval "DEFAULT_$LINE"
5420 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
5425 eval "$ac_cv_use_splines"
5426 if test "$no_cache" != 1; then
5427 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
5430 if test "$wxUSE_SPLINES" = yes; then
5431 echo "$ac_t""yes" 1>&6
5433 echo "$ac_t""no" 1>&6
5437 echo $ac_n "checking "for --enable-validators"""... $ac_c" 1>&6
5438 echo "configure:5439: checking "for --enable-validators"" >&5
5440 # Check whether --enable-validators or --disable-validators was given.
5441 if test "${enable_validators+set}" = set; then
5442 enableval
="$enable_validators"
5444 if test "$enableval" = yes; then
5445 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
5447 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
5452 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
5453 if test "x$LINE" != x
; then
5454 eval "DEFAULT_$LINE"
5459 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
5464 eval "$ac_cv_use_validators"
5465 if test "$no_cache" != 1; then
5466 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
5469 if test "$wxUSE_VALIDATORS" = yes; then
5470 echo "$ac_t""yes" 1>&6
5472 echo "$ac_t""no" 1>&6
5476 echo $ac_n "checking "for --enable-busyinfo"""... $ac_c" 1>&6
5477 echo "configure:5478: checking "for --enable-busyinfo"" >&5
5479 # Check whether --enable-busyinfo or --disable-busyinfo was given.
5480 if test "${enable_busyinfo+set}" = set; then
5481 enableval
="$enable_busyinfo"
5483 if test "$enableval" = yes; then
5484 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
5486 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
5491 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
5492 if test "x$LINE" != x
; then
5493 eval "DEFAULT_$LINE"
5498 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
5503 eval "$ac_cv_use_busyinfo"
5504 if test "$no_cache" != 1; then
5505 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
5508 if test "$wxUSE_BUSYINFO" = yes; then
5509 echo "$ac_t""yes" 1>&6
5511 echo "$ac_t""no" 1>&6
5517 echo $ac_n "checking "for --enable-gif"""... $ac_c" 1>&6
5518 echo "configure:5519: checking "for --enable-gif"" >&5
5520 # Check whether --enable-gif or --disable-gif was given.
5521 if test "${enable_gif+set}" = set; then
5522 enableval
="$enable_gif"
5524 if test "$enableval" = yes; then
5525 ac_cv_use_gif
='wxUSE_GIF=yes'
5527 ac_cv_use_gif
='wxUSE_GIF=no'
5532 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
5533 if test "x$LINE" != x
; then
5534 eval "DEFAULT_$LINE"
5539 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
5544 eval "$ac_cv_use_gif"
5545 if test "$no_cache" != 1; then
5546 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
5549 if test "$wxUSE_GIF" = yes; then
5550 echo "$ac_t""yes" 1>&6
5552 echo "$ac_t""no" 1>&6
5556 echo $ac_n "checking "for --enable-pcx"""... $ac_c" 1>&6
5557 echo "configure:5558: checking "for --enable-pcx"" >&5
5559 # Check whether --enable-pcx or --disable-pcx was given.
5560 if test "${enable_pcx+set}" = set; then
5561 enableval
="$enable_pcx"
5563 if test "$enableval" = yes; then
5564 ac_cv_use_pcx
='wxUSE_PCX=yes'
5566 ac_cv_use_pcx
='wxUSE_PCX=no'
5571 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
5572 if test "x$LINE" != x
; then
5573 eval "DEFAULT_$LINE"
5578 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
5583 eval "$ac_cv_use_pcx"
5584 if test "$no_cache" != 1; then
5585 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
5588 if test "$wxUSE_PCX" = yes; then
5589 echo "$ac_t""yes" 1>&6
5591 echo "$ac_t""no" 1>&6
5595 echo $ac_n "checking "for --enable-pnm"""... $ac_c" 1>&6
5596 echo "configure:5597: checking "for --enable-pnm"" >&5
5598 # Check whether --enable-pnm or --disable-pnm was given.
5599 if test "${enable_pnm+set}" = set; then
5600 enableval
="$enable_pnm"
5602 if test "$enableval" = yes; then
5603 ac_cv_use_pnm
='wxUSE_PNM=yes'
5605 ac_cv_use_pnm
='wxUSE_PNM=no'
5610 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
5611 if test "x$LINE" != x
; then
5612 eval "DEFAULT_$LINE"
5617 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
5622 eval "$ac_cv_use_pnm"
5623 if test "$no_cache" != 1; then
5624 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
5627 if test "$wxUSE_PNM" = yes; then
5628 echo "$ac_t""yes" 1>&6
5630 echo "$ac_t""no" 1>&6
5635 echo "saving argument cache $wx_arg_cache_file"
5636 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
5640 echo $ac_n "checking for toolkit""... $ac_c" 1>&6
5641 echo "configure:5642: checking for toolkit" >&5
5643 if test "$wxUSE_GUI" = "yes"; then
5645 if test "$TOOLKIT_GIVEN" = 1; then
5646 for toolkit
in `echo $ALL_TOOLKITS`; do
5648 eval "value=\$${var}"
5649 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
5652 for toolkit
in `echo $ALL_TOOLKITS`; do
5653 if test "$has_toolkit_in_cache" != 1; then
5654 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
5656 var
=DEFAULT_wxUSE_
$toolkit
5658 eval "wxUSE_$toolkit=\$${var}"
5662 NUM_TOOLKITS
=`expr ${wxUSE_GTK:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_WINE:-0} + ${wxUSE_MINGW:-0} + ${wxUSE_CYGWIN:-0}`
5664 case "$NUM_TOOLKITS" in
5668 { echo "configure: error: Please specify a toolkit - cannot determine the default for ${host}" 1>&2; exit 1; }
5671 { echo "configure: error: Please specify at most one toolkit (may be some are cached?)" 1>&2; exit 1; }
5674 for toolkit
in `echo $ALL_TOOLKITS`; do
5676 eval "value=\$${var}"
5677 if test "x$value" != x
; then
5678 cache_var
=CACHE_
$toolkit
5679 eval "cache=\$${cache_var}"
5680 if test "$cache" = 1; then
5681 echo "$var=$value" >> ${wx_arg_cache_file}
5683 if test "$value" = 1; then
5684 echo "$ac_t""`echo $toolkit | tr A-Z a-z`" 1>&6
5690 echo "$ac_t""base only" 1>&6
5694 cat > confcache
<<\EOF
5695 # This file is a shell script that caches the results of configure
5696 # tests run on this system so they can be shared between configure
5697 # scripts and configure runs. It is not useful on other systems.
5698 # If it contains results you don't want to keep, you may remove or edit it.
5700 # By default, configure uses ./config.cache as the cache file,
5701 # creating it if it does not exist already. You can give configure
5702 # the --cache-file=FILE option to use a different cache file; that is
5703 # what configure does when it calls configure scripts in
5704 # subdirectories, so they share the cache.
5705 # Giving --cache-file=/dev/null disables caching, for debugging configure.
5706 # config.status only pays attention to the cache file if you give it the
5707 # --recheck option to rerun configure.
5710 # The following way of writing the cache mishandles newlines in values,
5711 # but we know of no workaround that is simple, portable, and efficient.
5712 # So, don't put newlines in cache variables' values.
5713 # Ultrix sh set writes to stderr and can't be redirected directly,
5714 # and sets the high bit in the cache file unless we assign to the vars.
5716 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5718 # `set' does not quote correctly, so add quotes (double-quote substitution
5719 # turns \\\\ into \\, and sed turns \\ into \).
5721 -e "s/'/'\\\\''/g" \
5722 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
5725 # `set' quotes correctly as required by POSIX, so do not add quotes.
5726 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
5729 if cmp -s $cache_file confcache
; then
5732 if test -w $cache_file; then
5733 echo "updating cache $cache_file"
5734 cat confcache
> $cache_file
5736 echo "not updating unwritable cache $cache_file"
5742 if eval "test $host != $build"; then
5743 if eval "test $host_alias != NONE"; then
5747 RANLIB
=$host_alias-ranlib
5748 DLLTOOL
=$host_alias-dlltool
5751 STRIP
=$host_alias-strip
5755 # Extract the first word of "gcc", so it can be a program name with args.
5756 set dummy gcc
; ac_word
=$2
5757 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5758 echo "configure:5759: checking for $ac_word" >&5
5759 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
5760 echo $ac_n "(cached) $ac_c" 1>&6
5762 if test -n "$CC"; then
5763 ac_cv_prog_CC
="$CC" # Let the user override the test.
5765 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
5767 for ac_dir
in $ac_dummy; do
5768 test -z "$ac_dir" && ac_dir
=.
5769 if test -f $ac_dir/$ac_word; then
5778 if test -n "$CC"; then
5779 echo "$ac_t""$CC" 1>&6
5781 echo "$ac_t""no" 1>&6
5784 if test -z "$CC"; then
5785 # Extract the first word of "cc", so it can be a program name with args.
5786 set dummy cc
; ac_word
=$2
5787 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5788 echo "configure:5789: checking for $ac_word" >&5
5789 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
5790 echo $ac_n "(cached) $ac_c" 1>&6
5792 if test -n "$CC"; then
5793 ac_cv_prog_CC
="$CC" # Let the user override the test.
5795 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
5798 for ac_dir
in $ac_dummy; do
5799 test -z "$ac_dir" && ac_dir
=.
5800 if test -f $ac_dir/$ac_word; then
5801 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
5802 ac_prog_rejected
=yes
5810 if test $ac_prog_rejected = yes; then
5811 # We found a bogon in the path, so make sure we never use it.
5812 set dummy
$ac_cv_prog_CC
5814 if test $# -gt 0; then
5815 # We chose a different compiler from the bogus one.
5816 # However, it has the same basename, so the bogon will be chosen
5817 # first if we set CC to just the basename; use the full file name.
5819 set dummy
"$ac_dir/$ac_word" "$@"
5827 if test -n "$CC"; then
5828 echo "$ac_t""$CC" 1>&6
5830 echo "$ac_t""no" 1>&6
5833 if test -z "$CC"; then
5834 case "`uname -s`" in
5836 # Extract the first word of "cl", so it can be a program name with args.
5837 set dummy cl
; ac_word
=$2
5838 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5839 echo "configure:5840: checking for $ac_word" >&5
5840 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
5841 echo $ac_n "(cached) $ac_c" 1>&6
5843 if test -n "$CC"; then
5844 ac_cv_prog_CC
="$CC" # Let the user override the test.
5846 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
5848 for ac_dir
in $ac_dummy; do
5849 test -z "$ac_dir" && ac_dir
=.
5850 if test -f $ac_dir/$ac_word; then
5859 if test -n "$CC"; then
5860 echo "$ac_t""$CC" 1>&6
5862 echo "$ac_t""no" 1>&6
5867 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
5870 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
5871 echo "configure:5872: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
5874 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5875 ac_cpp
='$CPP $CPPFLAGS'
5876 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5877 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5878 cross_compiling
=$ac_cv_prog_cc_cross
5880 cat > conftest.
$ac_ext << EOF
5882 #line 5883 "configure"
5883 #include "confdefs.h"
5887 if { (eval echo configure
:5888: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
5888 ac_cv_prog_cc_works
=yes
5889 # If we can't run a trivial program, we are probably using a cross compiler.
5890 if (.
/conftest
; exit) 2>/dev
/null
; then
5891 ac_cv_prog_cc_cross
=no
5893 ac_cv_prog_cc_cross
=yes
5896 echo "configure: failed program was:" >&5
5897 cat conftest.
$ac_ext >&5
5898 ac_cv_prog_cc_works
=no
5902 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5903 ac_cpp
='$CPP $CPPFLAGS'
5904 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5905 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5906 cross_compiling
=$ac_cv_prog_cc_cross
5908 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
5909 if test $ac_cv_prog_cc_works = no
; then
5910 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
5912 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
5913 echo "configure:5914: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
5914 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
5915 cross_compiling
=$ac_cv_prog_cc_cross
5917 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
5918 echo "configure:5919: checking whether we are using GNU C" >&5
5919 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
5920 echo $ac_n "(cached) $ac_c" 1>&6
5922 cat > conftest.c
<<EOF
5927 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:5928: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
5934 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
5936 if test $ac_cv_prog_gcc = yes; then
5942 ac_test_CFLAGS
="${CFLAGS+set}"
5943 ac_save_CFLAGS
="$CFLAGS"
5945 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
5946 echo "configure:5947: checking whether ${CC-cc} accepts -g" >&5
5947 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
5948 echo $ac_n "(cached) $ac_c" 1>&6
5950 echo 'void f(){}' > conftest.c
5951 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
5960 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
5961 if test "$ac_test_CFLAGS" = set; then
5962 CFLAGS
="$ac_save_CFLAGS"
5963 elif test $ac_cv_prog_cc_g = yes; then
5964 if test "$GCC" = yes; then
5970 if test "$GCC" = yes; then
5978 CFLAGS
=`echo "$CFLAGS" | sed 's/-g//g'`
5980 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
5981 echo "configure:5982: checking how to run the C preprocessor" >&5
5982 # On Suns, sometimes $CPP names a directory.
5983 if test -n "$CPP" && test -d "$CPP"; then
5986 if test -z "$CPP"; then
5987 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
5988 echo $ac_n "(cached) $ac_c" 1>&6
5990 # This must be in double quotes, not single quotes, because CPP may get
5991 # substituted into the Makefile and "${CC-cc}" will confuse make.
5993 # On the NeXT, cc -E runs the code through the compiler's parser,
5994 # not just through cpp.
5995 cat > conftest.
$ac_ext <<EOF
5996 #line 5997 "configure"
5997 #include "confdefs.h"
6001 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6002 { (eval echo configure
:6003: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6003 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6004 if test -z "$ac_err"; then
6008 echo "configure: failed program was:" >&5
6009 cat conftest.
$ac_ext >&5
6011 CPP
="${CC-cc} -E -traditional-cpp"
6012 cat > conftest.
$ac_ext <<EOF
6013 #line 6014 "configure"
6014 #include "confdefs.h"
6018 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6019 { (eval echo configure
:6020: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6020 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6021 if test -z "$ac_err"; then
6025 echo "configure: failed program was:" >&5
6026 cat conftest.
$ac_ext >&5
6028 CPP
="${CC-cc} -nologo -E"
6029 cat > conftest.
$ac_ext <<EOF
6030 #line 6031 "configure"
6031 #include "confdefs.h"
6035 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6036 { (eval echo configure
:6037: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6037 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6038 if test -z "$ac_err"; then
6042 echo "configure: failed program was:" >&5
6043 cat conftest.
$ac_ext >&5
6052 ac_cv_prog_CPP
="$CPP"
6054 CPP
="$ac_cv_prog_CPP"
6056 ac_cv_prog_CPP
="$CPP"
6058 echo "$ac_t""$CPP" 1>&6
6061 if test $ac_cv_prog_gcc = yes; then
6062 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
6063 echo "configure:6064: checking whether ${CC-cc} needs -traditional" >&5
6064 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
6065 echo $ac_n "(cached) $ac_c" 1>&6
6067 ac_pattern
="Autoconf.*'x'"
6068 cat > conftest.
$ac_ext <<EOF
6069 #line 6070 "configure"
6070 #include "confdefs.h"
6074 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6075 egrep "$ac_pattern" >/dev
/null
2>&1; then
6077 ac_cv_prog_gcc_traditional
=yes
6080 ac_cv_prog_gcc_traditional
=no
6085 if test $ac_cv_prog_gcc_traditional = no
; then
6086 cat > conftest.
$ac_ext <<EOF
6087 #line 6088 "configure"
6088 #include "confdefs.h"
6092 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6093 egrep "$ac_pattern" >/dev
/null
2>&1; then
6095 ac_cv_prog_gcc_traditional
=yes
6102 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
6103 if test $ac_cv_prog_gcc_traditional = yes; then
6104 CC
="$CC -traditional"
6111 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6112 ac_cpp
='$CXXCPP $CPPFLAGS'
6113 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6114 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6115 cross_compiling
=$ac_cv_prog_cxx_cross
6118 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++ cl
6120 # Extract the first word of "$ac_prog", so it can be a program name with args.
6121 set dummy
$ac_prog; ac_word
=$2
6122 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6123 echo "configure:6124: checking for $ac_word" >&5
6124 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
6125 echo $ac_n "(cached) $ac_c" 1>&6
6127 if test -n "$CXX"; then
6128 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
6130 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6132 for ac_dir
in $ac_dummy; do
6133 test -z "$ac_dir" && ac_dir
=.
6134 if test -f $ac_dir/$ac_word; then
6135 ac_cv_prog_CXX
="$ac_prog"
6142 CXX
="$ac_cv_prog_CXX"
6143 if test -n "$CXX"; then
6144 echo "$ac_t""$CXX" 1>&6
6146 echo "$ac_t""no" 1>&6
6149 test -n "$CXX" && break
6151 test -n "$CXX" || CXX
="gcc"
6154 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
6155 echo "configure:6156: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
6158 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6159 ac_cpp
='$CXXCPP $CPPFLAGS'
6160 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6161 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6162 cross_compiling
=$ac_cv_prog_cxx_cross
6164 cat > conftest.
$ac_ext << EOF
6166 #line 6167 "configure"
6167 #include "confdefs.h"
6169 int main(){return(0);}
6171 if { (eval echo configure
:6172: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6172 ac_cv_prog_cxx_works
=yes
6173 # If we can't run a trivial program, we are probably using a cross compiler.
6174 if (.
/conftest
; exit) 2>/dev
/null
; then
6175 ac_cv_prog_cxx_cross
=no
6177 ac_cv_prog_cxx_cross
=yes
6180 echo "configure: failed program was:" >&5
6181 cat conftest.
$ac_ext >&5
6182 ac_cv_prog_cxx_works
=no
6186 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6187 ac_cpp
='$CXXCPP $CPPFLAGS'
6188 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6189 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6190 cross_compiling
=$ac_cv_prog_cxx_cross
6192 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
6193 if test $ac_cv_prog_cxx_works = no
; then
6194 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
6196 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
6197 echo "configure:6198: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
6198 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
6199 cross_compiling
=$ac_cv_prog_cxx_cross
6201 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
6202 echo "configure:6203: checking whether we are using GNU C++" >&5
6203 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
6204 echo $ac_n "(cached) $ac_c" 1>&6
6206 cat > conftest.C
<<EOF
6211 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:6212: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
6218 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
6220 if test $ac_cv_prog_gxx = yes; then
6226 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
6227 ac_save_CXXFLAGS
="$CXXFLAGS"
6229 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
6230 echo "configure:6231: checking whether ${CXX-g++} accepts -g" >&5
6231 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
6232 echo $ac_n "(cached) $ac_c" 1>&6
6234 echo 'void f(){}' > conftest.cc
6235 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
6236 ac_cv_prog_cxx_g
=yes
6244 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
6245 if test "$ac_test_CXXFLAGS" = set; then
6246 CXXFLAGS
="$ac_save_CXXFLAGS"
6247 elif test $ac_cv_prog_cxx_g = yes; then
6248 if test "$GXX" = yes; then
6254 if test "$GXX" = yes; then
6262 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
6263 echo "configure:6264: checking how to run the C++ preprocessor" >&5
6264 if test -z "$CXXCPP"; then
6265 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
6266 echo $ac_n "(cached) $ac_c" 1>&6
6269 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6270 ac_cpp
='$CXXCPP $CPPFLAGS'
6271 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6272 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6273 cross_compiling
=$ac_cv_prog_cxx_cross
6274 CXXCPP
="${CXX-g++} -E"
6275 cat > conftest.
$ac_ext <<EOF
6276 #line 6277 "configure"
6277 #include "confdefs.h"
6280 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6281 { (eval echo configure
:6282: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6282 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6283 if test -z "$ac_err"; then
6287 echo "configure: failed program was:" >&5
6288 cat conftest.
$ac_ext >&5
6293 ac_cv_prog_CXXCPP
="$CXXCPP"
6295 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6296 ac_cpp
='$CXXCPP $CPPFLAGS'
6297 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6298 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6299 cross_compiling
=$ac_cv_prog_cxx_cross
6302 CXXCPP
="$ac_cv_prog_CXXCPP"
6303 echo "$ac_t""$CXXCPP" 1>&6
6306 CXXFLAGS
=`echo "$CXXFLAGS" | sed 's/-g//g'`
6309 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6310 ac_cpp
='$CPP $CPPFLAGS'
6311 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6312 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6313 cross_compiling
=$ac_cv_prog_cc_cross
6316 # Extract the first word of "ranlib", so it can be a program name with args.
6317 set dummy ranlib
; ac_word
=$2
6318 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6319 echo "configure:6320: checking for $ac_word" >&5
6320 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
6321 echo $ac_n "(cached) $ac_c" 1>&6
6323 if test -n "$RANLIB"; then
6324 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6326 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6328 for ac_dir
in $ac_dummy; do
6329 test -z "$ac_dir" && ac_dir
=.
6330 if test -f $ac_dir/$ac_word; then
6331 ac_cv_prog_RANLIB
="ranlib"
6336 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
6339 RANLIB
="$ac_cv_prog_RANLIB"
6340 if test -n "$RANLIB"; then
6341 echo "$ac_t""$RANLIB" 1>&6
6343 echo "$ac_t""no" 1>&6
6347 # Extract the first word of "ar", so it can be a program name with args.
6348 set dummy
ar; ac_word
=$2
6349 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6350 echo "configure:6351: checking for $ac_word" >&5
6351 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
6352 echo $ac_n "(cached) $ac_c" 1>&6
6354 if test -n "$AR"; then
6355 ac_cv_prog_AR
="$AR" # Let the user override the test.
6357 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6359 for ac_dir
in $ac_dummy; do
6360 test -z "$ac_dir" && ac_dir
=.
6361 if test -f $ac_dir/$ac_word; then
6367 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
6371 if test -n "$AR"; then
6372 echo "$ac_t""$AR" 1>&6
6374 echo "$ac_t""no" 1>&6
6378 # Find a good install program. We prefer a C program (faster),
6379 # so one script is as good as another. But avoid the broken or
6380 # incompatible versions:
6381 # SysV /etc/install, /usr/sbin/install
6382 # SunOS /usr/etc/install
6383 # IRIX /sbin/install
6385 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6386 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6387 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6388 # ./install, which can be erroneously created by make from ./install.sh.
6389 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
6390 echo "configure:6391: checking for a BSD compatible install" >&5
6391 if test -z "$INSTALL"; then
6392 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
6393 echo $ac_n "(cached) $ac_c" 1>&6
6395 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
6396 for ac_dir
in $PATH; do
6397 # Account for people who put trailing slashes in PATH elements.
6399 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
6401 # OSF1 and SCO ODT 3.0 have their own names for install.
6402 # Don't use installbsd from OSF since it installs stuff as root
6404 for ac_prog
in ginstall scoinst
install; do
6405 if test -f $ac_dir/$ac_prog; then
6406 if test $ac_prog = install &&
6407 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
6408 # AIX install. It has an incompatible calling convention.
6411 ac_cv_path_install
="$ac_dir/$ac_prog -c"
6422 if test "${ac_cv_path_install+set}" = set; then
6423 INSTALL
="$ac_cv_path_install"
6425 # As a last resort, use the slow shell script. We don't cache a
6426 # path for INSTALL within a source directory, because that will
6427 # break other packages using the cache if that directory is
6428 # removed, or if the path is relative.
6429 INSTALL
="$ac_install_sh"
6432 echo "$ac_t""$INSTALL" 1>&6
6434 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6435 # It thinks the first close brace ends the variable substitution.
6436 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
6438 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
6440 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
6443 # Extract the first word of "strip", so it can be a program name with args.
6444 set dummy strip
; ac_word
=$2
6445 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6446 echo "configure:6447: checking for $ac_word" >&5
6447 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
6448 echo $ac_n "(cached) $ac_c" 1>&6
6450 if test -n "$STRIP"; then
6451 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6453 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6455 for ac_dir
in $ac_dummy; do
6456 test -z "$ac_dir" && ac_dir
=.
6457 if test -f $ac_dir/$ac_word; then
6458 ac_cv_prog_STRIP
="strip"
6463 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
6466 STRIP
="$ac_cv_prog_STRIP"
6467 if test -n "$STRIP"; then
6468 echo "$ac_t""$STRIP" 1>&6
6470 echo "$ac_t""no" 1>&6
6474 echo $ac_n "checking "make for VPATH support
"""... $ac_c" 1>&6
6475 echo "configure:6476: checking "make for VPATH support
"" >&5
6476 cat - << EOF > confMake
6482 if test ! -d sub
; then
6485 echo dummy
> sub
/file
6486 ${MAKE-make} -f confMake VPATH
=sub
2> config.log
> /dev
/null
6488 rm -f sub
/file check final_file confMake
6490 if test "$RESULT" = 0; then
6491 echo "$ac_t""yes" 1>&6
6493 echo "$ac_t""no" 1>&6
6494 { echo "configure: error: You need a make-utility that is able to use the variable
6496 If your version of make does not support VPATH correctly" 1>&2; exit 1; }
6499 for ac_prog
in 'bison -y' byacc
6501 # Extract the first word of "$ac_prog", so it can be a program name with args.
6502 set dummy
$ac_prog; ac_word
=$2
6503 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6504 echo "configure:6505: checking for $ac_word" >&5
6505 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
6506 echo $ac_n "(cached) $ac_c" 1>&6
6508 if test -n "$YACC"; then
6509 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
6511 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6513 for ac_dir
in $ac_dummy; do
6514 test -z "$ac_dir" && ac_dir
=.
6515 if test -f $ac_dir/$ac_word; then
6516 ac_cv_prog_YACC
="$ac_prog"
6523 YACC
="$ac_cv_prog_YACC"
6524 if test -n "$YACC"; then
6525 echo "$ac_t""$YACC" 1>&6
6527 echo "$ac_t""no" 1>&6
6530 test -n "$YACC" && break
6532 test -n "$YACC" || YACC
="yacc"
6535 # Extract the first word of "flex", so it can be a program name with args.
6536 set dummy flex
; ac_word
=$2
6537 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6538 echo "configure:6539: checking for $ac_word" >&5
6539 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
6540 echo $ac_n "(cached) $ac_c" 1>&6
6542 if test -n "$LEX"; then
6543 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
6545 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6547 for ac_dir
in $ac_dummy; do
6548 test -z "$ac_dir" && ac_dir
=.
6549 if test -f $ac_dir/$ac_word; then
6550 ac_cv_prog_LEX
="flex"
6555 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
6558 LEX
="$ac_cv_prog_LEX"
6559 if test -n "$LEX"; then
6560 echo "$ac_t""$LEX" 1>&6
6562 echo "$ac_t""no" 1>&6
6565 if test -z "$LEXLIB"
6571 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
6572 echo "configure:6573: checking for yywrap in -l$ac_lib" >&5
6573 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
6574 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6575 echo $ac_n "(cached) $ac_c" 1>&6
6577 ac_save_LIBS
="$LIBS"
6578 LIBS
="-l$ac_lib $LIBS"
6579 cat > conftest.
$ac_ext <<EOF
6580 #line 6581 "configure"
6581 #include "confdefs.h"
6582 /* Override any gcc2 internal prototype to avoid an error. */
6583 /* We use char because int might match the return type of a gcc2
6584 builtin and then its argument prototype would still apply. */
6591 if { (eval echo configure
:6592: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6593 eval "ac_cv_lib_$ac_lib_var=yes"
6595 echo "configure: failed program was:" >&5
6596 cat conftest.
$ac_ext >&5
6598 eval "ac_cv_lib_$ac_lib_var=no"
6601 LIBS
="$ac_save_LIBS"
6604 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6605 echo "$ac_t""yes" 1>&6
6608 echo "$ac_t""no" 1>&6
6614 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
6615 echo "configure:6616: checking whether ln -s works" >&5
6616 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
6617 echo $ac_n "(cached) $ac_c" 1>&6
6620 if ln -s X conftestdata
2>/dev
/null
6623 ac_cv_prog_LN_S
="ln -s"
6628 LN_S
="$ac_cv_prog_LN_S"
6629 if test "$ac_cv_prog_LN_S" = "ln -s"; then
6630 echo "$ac_t""yes" 1>&6
6632 echo "$ac_t""no" 1>&6
6638 /usr/local/include \
6640 /usr/Motif-1.2/include \
6641 /usr/Motif-2.1/include \
6643 /usr/include/Motif1.2 \
6644 /opt/xpm/include/X11 \
6645 /opt/GBxpm/include/ \
6646 /opt/GBxpm/X11/include/ \
6648 /usr/Motif1.2/include \
6650 /usr/openwin/include \
6654 /usr/X11R6/include \
6655 /usr/X11R6.4/include \
6656 /usr/X11R5/include \
6657 /usr/X11R4/include \
6659 /usr/include/X11R6 \
6660 /usr/include/X11R5 \
6661 /usr/include/X11R4 \
6663 /usr/local/X11R6/include \
6664 /usr/local/X11R5/include \
6665 /usr/local/X11R4/include \
6667 /usr/local/include/X11R6 \
6668 /usr/local/include/X11R5 \
6669 /usr/local/include/X11R4 \
6673 /usr/local/X11/include \
6674 /usr/local/include/X11 \
6678 /usr/XFree86/include/X11 \
6681 /usr/local/include/gtk \
6683 /usr/local/include/glib \
6686 /usr/local/include/qt \
6688 /usr/include/windows \
6690 /usr/local/include/wine \
6692 /usr/unsupported/include \
6693 /usr/athena/include \
6694 /usr/local/x11r5/include \
6695 /usr/lpp/Xamples/include \
6697 /usr/openwin/share/include \
6701 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
6704 cat > confcache
<<\EOF
6705 # This file is a shell script that caches the results of configure
6706 # tests run on this system so they can be shared between configure
6707 # scripts and configure runs. It is not useful on other systems.
6708 # If it contains results you don't want to keep, you may remove or edit it.
6710 # By default, configure uses ./config.cache as the cache file,
6711 # creating it if it does not exist already. You can give configure
6712 # the --cache-file=FILE option to use a different cache file; that is
6713 # what configure does when it calls configure scripts in
6714 # subdirectories, so they share the cache.
6715 # Giving --cache-file=/dev/null disables caching, for debugging configure.
6716 # config.status only pays attention to the cache file if you give it the
6717 # --recheck option to rerun configure.
6720 # The following way of writing the cache mishandles newlines in values,
6721 # but we know of no workaround that is simple, portable, and efficient.
6722 # So, don't put newlines in cache variables' values.
6723 # Ultrix sh set writes to stderr and can't be redirected directly,
6724 # and sets the high bit in the cache file unless we assign to the vars.
6726 case `(ac_space=' '; set | grep ac_space) 2>&1` in
6728 # `set' does not quote correctly, so add quotes (double-quote substitution
6729 # turns \\\\ into \\, and sed turns \\ into \).
6731 -e "s/'/'\\\\''/g" \
6732 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
6735 # `set' quotes correctly as required by POSIX, so do not add quotes.
6736 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
6739 if cmp -s $cache_file confcache
; then
6742 if test -w $cache_file; then
6743 echo "updating cache $cache_file"
6744 cat confcache
> $cache_file
6746 echo "not updating unwritable cache $cache_file"
6753 if test "$wxUSE_GUI" = "yes"; then
6771 if test "$wxUSE_CYGWIN" = 1 || test "$wxUSE_MINGW" = 1 ; then
6772 if test "$cross_compiling" = "yes" ; then
6773 echo "configure: warning: Cross compiling --- skipping windows.h check" 1>&2
6775 echo $ac_n "checking for Windows headers""... $ac_c" 1>&6
6776 echo "configure:6777: checking for Windows headers" >&5
6779 for ac_dir
in $SEARCH_INCLUDE;
6781 if test -f "$ac_dir/windows.h"; then
6782 ac_find_includes
=$ac_dir
6787 if test "$ac_find_includes" != "" ; then
6788 echo "$ac_t""found $ac_find_includes" 1>&6
6789 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE -I$ac_find_includes"
6791 echo "$ac_t""no" 1>&6
6792 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
6796 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS msw"
6797 LIBS
="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -lcrtdll -ladvapi32 -lwsock32"
6799 if test "$wxUSE_MINGW" = 1; then
6800 LDFLAGS
="$LDFLAGS -mwindows"
6805 GUIOBJS
="\$(MSW_GUIOBJS)"
6806 GUIHEADERS
="\$(MSW_HEADERS)"
6807 COMMONOBJS
="\$(MSW_COMMONOBJS)"
6808 GENERICOBJS
="\$(MSW_GENERICOBJS)"
6814 if test "$wxUSE_GTK" = 1; then
6816 if test x
$gtk_config_exec_prefix != x
; then
6817 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
6818 if test x
${GTK_CONFIG+set} != xset
; then
6819 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
6822 if test x
$gtk_config_prefix != x
; then
6823 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
6824 if test x
${GTK_CONFIG+set} != xset
; then
6825 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
6829 # Extract the first word of "gtk-config", so it can be a program name with args.
6830 set dummy gtk
-config; ac_word
=$2
6831 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6832 echo "configure:6833: checking for $ac_word" >&5
6833 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
6834 echo $ac_n "(cached) $ac_c" 1>&6
6836 case "$GTK_CONFIG" in
6838 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
6841 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
6844 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6846 for ac_dir
in $ac_dummy; do
6847 test -z "$ac_dir" && ac_dir
=.
6848 if test -f $ac_dir/$ac_word; then
6849 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
6854 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
6858 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
6859 if test -n "$GTK_CONFIG"; then
6860 echo "$ac_t""$GTK_CONFIG" 1>&6
6862 echo "$ac_t""no" 1>&6
6865 min_gtk_version
=1.2.1
6866 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
6867 echo "configure:6868: checking for GTK - version >= $min_gtk_version" >&5
6869 if test "$GTK_CONFIG" != "no" ; then
6870 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
6871 GTK_LIBS
=`$GTK_CONFIG --libs`
6872 ac_save_CFLAGS
="$CFLAGS"
6873 ac_save_LIBS
="$LIBS"
6874 CFLAGS
="$CFLAGS $GTK_CFLAGS"
6875 LIBS
="$LIBS $GTK_LIBS"
6876 if test "$cross_compiling" = yes; then
6877 echo $ac_n "cross compiling; assumed OK... $ac_c"
6879 cat > conftest.
$ac_ext <<EOF
6880 #line 6881 "configure"
6881 #include "confdefs.h"
6883 #include <gtk/gtk.h>
6884 #include <gtk/gtkfeatures.h>
6890 int major, minor, micro;
6892 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
6893 printf("%s, bad version string\n", "$min_gtk_version");
6897 if ((GTK_MAJOR_VERSION != gtk_major_version) ||
6898 (GTK_MINOR_VERSION != gtk_minor_version) ||
6899 (GTK_MICRO_VERSION != gtk_micro_version)) {
6900 printf("Headers vs. library version mismatch!\n");
6904 if (gtk_minor_version == 1) return FALSE;
6906 return !((gtk_major_version > major) ||
6907 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
6908 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
6912 if { (eval echo configure
:6913: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
6916 echo "configure: failed program was:" >&5
6917 cat conftest.
$ac_ext >&5
6924 CFLAGS
="$ac_save_CFLAGS"
6925 LIBS
="$ac_save_LIBS"
6929 if test "x$no_gtk" = x
; then
6930 echo "$ac_t""yes" 1>&6
6933 echo "$ac_t""no" 1>&6
6936 { echo "configure: error: Is gtk-config in path and GTK+ is version 1.2.1 or above?" 1>&2; exit 1; }
6942 TOOLKIT_INCLUDE
="$GTK_CFLAGS"
6943 GUI_TK_LIBRARY
="$GTK_LIBS"
6946 GUIOBJS
="\$(GTK_GUIOBJS)"
6947 GUIHEADERS
="\$(GTK_HEADERS)"
6948 COMMONOBJS
="\$(GTK_COMMONOBJS)"
6949 GENERICOBJS
="\$(GTK_GENERICOBJS)"
6950 GUIDEPS
="\$(GTK_GUIDEPS)"
6951 COMMONDEPS
="\$(GTK_COMMONDEPS)"
6952 GENERICDEPS
="\$(GTK_GENERICDEPS)"
6953 UNIXOBJS
="\$(UNIX_OBJS)"
6954 UNIXDEPS
="\$(UNIX_DEPS)"
6957 echo $ac_n "checking for gdk_im_open in -lgdk""... $ac_c" 1>&6
6958 echo "configure:6959: checking for gdk_im_open in -lgdk" >&5
6959 ac_lib_var
=`echo gdk'_'gdk_im_open | sed 'y%./+-%__p_%'`
6960 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6961 echo $ac_n "(cached) $ac_c" 1>&6
6963 ac_save_LIBS
="$LIBS"
6965 cat > conftest.
$ac_ext <<EOF
6966 #line 6967 "configure"
6967 #include "confdefs.h"
6968 /* Override any gcc2 internal prototype to avoid an error. */
6969 /* We use char because int might match the return type of a gcc2
6970 builtin and then its argument prototype would still apply. */
6977 if { (eval echo configure
:6978: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6979 eval "ac_cv_lib_$ac_lib_var=yes"
6981 echo "configure: failed program was:" >&5
6982 cat conftest.
$ac_ext >&5
6984 eval "ac_cv_lib_$ac_lib_var=no"
6987 LIBS
="$ac_save_LIBS"
6990 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6991 echo "$ac_t""yes" 1>&6
6992 cat >> confdefs.h
<<\EOF
6997 echo "$ac_t""no" 1>&6
7003 if test "$wxUSE_WINE" = 1; then
7004 echo $ac_n "checking for WINE includes""... $ac_c" 1>&6
7005 echo "configure:7006: checking for WINE includes" >&5
7008 for ac_dir
in $SEARCH_INCLUDE;
7010 if test -f "$ac_dir/windows.h"; then
7011 ac_find_includes
=$ac_dir
7016 if test "$ac_find_includes" != "" ; then
7017 echo "$ac_t""found $ac_find_includes" 1>&6
7018 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE -I$ac_find_includes"
7020 echo "$ac_t""no" 1>&6
7021 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
7025 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
7026 echo "configure:7027: checking for Xpm library" >&5
7029 for ac_dir
in $SEARCH_LIB;
7031 for ac_extension
in a so sl
; do
7032 if test -f "$ac_dir/libXpm.$ac_extension"; then
7033 ac_find_libraries
=$ac_dir
7039 if test "$ac_find_libraries" != "" ; then
7040 GUI_TK_LIBRARY
="-L$ac_find_libraries"
7042 cat >> confdefs.h
<<\EOF
7043 #define wxHAVE_LIB_XPM 1
7046 echo "$ac_t""found at $ac_find_libraries" 1>&6
7048 echo "$ac_t""no" 1>&6
7049 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
7053 echo $ac_n "checking for Mesa library""... $ac_c" 1>&6
7054 echo "configure:7055: checking for Mesa library" >&5
7057 for ac_dir
in $SEARCH_LIB;
7059 for ac_extension
in a so sl
; do
7060 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
7061 ac_find_libraries
=$ac_dir
7067 if test "$ac_find_libraries" != "" ; then
7068 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -L$ac_find_libraries"
7069 MESA_LINK
="-lMesaGL"
7070 echo "$ac_t""found at $ac_find_libraries" 1>&6
7072 { echo "configure: error: no" 1>&2; exit 1; }
7075 GUI_TK_LINK
="-lwine $MESA_LINK $XPM_LINK -lXxf86dga -lXxf86vm -lSM -lICE -lXext -lXmu -lX11 -lncurses -lm"
7076 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GUI_TK_LINK"
7080 GUIHEADERS
="\$(MSW_HEADERS)"
7081 GUIOBJS
="\$(MSW_GUIOBJS)"
7082 COMMONOBJS
="\$(MSW_COMMONOBJS)"
7083 GENERICOBJS
="\$(MSW_GENERICOBJS)"
7084 GUIDEPS
="\$(MSW_GUIDEPS)"
7085 COMMONDEPS
="\$(MSW_COMMONDEPS)"
7086 GENERICDEPS
="\$(MSW_GENERICDEPS)"
7087 UNIXOBJS
="\$(UNIX_OBJS)"
7088 UNIXDEPS
="\$(UNIX_DEPS)"
7092 if test "$wxUSE_MOTIF" = 1; then
7093 # If we find X, set shell vars x_includes and x_libraries to the
7094 # paths, otherwise set no_x=yes.
7095 # Uses ac_ vars as temps to allow command line to override cache and checks.
7096 # --without-x overrides everything else, but does not touch the cache.
7097 echo $ac_n "checking for X""... $ac_c" 1>&6
7098 echo "configure:7099: checking for X" >&5
7100 # Check whether --with-x or --without-x was given.
7101 if test "${with_x+set}" = set; then
7106 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
7107 if test "x$with_x" = xno
; then
7108 # The user explicitly disabled X.
7111 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
7112 # Both variables are already set.
7115 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
7116 echo $ac_n "(cached) $ac_c" 1>&6
7118 # One or both of the vars are not set, and there is no cached value.
7119 ac_x_includes
=NO ac_x_libraries
=NO
7121 if mkdir conftestdir
; then
7123 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
7124 cat > Imakefile
<<'EOF'
7126 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
7128 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
7129 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
7130 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
7131 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
7132 for ac_extension
in a so sl
; do
7133 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
7134 test -f $ac_im_libdir/libX11.
$ac_extension; then
7135 ac_im_usrlibdir
=$ac_im_libdir; break
7138 # Screen out bogus values from the imake configuration. They are
7139 # bogus both because they are the default anyway, and because
7140 # using them would break gcc on systems where it needs fixed includes.
7141 case "$ac_im_incroot" in
7143 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;;
7145 case "$ac_im_usrlibdir" in
7147 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;;
7154 if test "$ac_x_includes" = NO
; then
7155 # Guess where to find include files, by looking for this one X11 .h file.
7156 test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
7158 # First, try using that file with no special directory specified.
7159 cat > conftest.
$ac_ext <<EOF
7160 #line 7161 "configure"
7161 #include "confdefs.h"
7162 #include <$x_direct_test_include>
7164 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7165 { (eval echo configure
:7166: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7166 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7167 if test -z "$ac_err"; then
7169 # We can compile using X headers with no special include directory.
7173 echo "configure: failed program was:" >&5
7174 cat conftest.
$ac_ext >&5
7176 # Look for the header file in a standard set of common directories.
7177 # Check X11 before X11Rn because it is often a symlink to the current release.
7180 /usr
/X
11R
6/include \
7181 /usr
/X
11R
5/include \
7182 /usr
/X
11R
4/include \
7185 /usr
/include
/X11R6 \
7186 /usr
/include
/X11R5 \
7187 /usr
/include
/X11R4 \
7189 /usr
/local
/X
11/include \
7190 /usr
/local
/X
11R
6/include \
7191 /usr
/local
/X
11R
5/include \
7192 /usr
/local
/X
11R
4/include \
7194 /usr
/local
/include
/X11 \
7195 /usr
/local
/include
/X11R6 \
7196 /usr
/local
/include
/X11R5 \
7197 /usr
/local
/include
/X11R4 \
7201 /usr
/XFree
86/include
/X11 \
7204 /usr
/local
/include \
7205 /usr
/unsupported
/include \
7206 /usr
/athena
/include \
7207 /usr
/local
/x
11r
5/include \
7208 /usr
/lpp
/Xamples
/include \
7210 /usr
/openwin
/include \
7211 /usr
/openwin
/share
/include \
7214 if test -r "$ac_dir/$x_direct_test_include"; then
7215 ac_x_includes
=$ac_dir
7221 fi # $ac_x_includes = NO
7223 if test "$ac_x_libraries" = NO
; then
7224 # Check for the libraries.
7226 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
7227 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
7229 # See if we find them without any special options.
7230 # Don't add to $LIBS permanently.
7231 ac_save_LIBS
="$LIBS"
7232 LIBS
="-l$x_direct_test_library $LIBS"
7233 cat > conftest.
$ac_ext <<EOF
7234 #line 7235 "configure"
7235 #include "confdefs.h"
7238 ${x_direct_test_function}()
7241 if { (eval echo configure
:7242: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7243 LIBS
="$ac_save_LIBS"
7244 # We can link X programs with no special library path.
7247 echo "configure: failed program was:" >&5
7248 cat conftest.
$ac_ext >&5
7250 LIBS
="$ac_save_LIBS"
7251 # First see if replacing the include by lib works.
7252 # Check X11 before X11Rn because it is often a symlink to the current release.
7253 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib/` \
7264 /usr
/local
/X
11/lib \
7265 /usr
/local
/X
11R
6/lib \
7266 /usr
/local
/X
11R
5/lib \
7267 /usr
/local
/X
11R
4/lib \
7269 /usr
/local
/lib
/X11 \
7270 /usr
/local
/lib
/X11R6 \
7271 /usr
/local
/lib
/X11R5 \
7272 /usr
/local
/lib
/X11R4 \
7276 /usr
/XFree
86/lib
/X11 \
7280 /usr
/unsupported
/lib \
7282 /usr
/local
/x
11r
5/lib \
7283 /usr
/lpp
/Xamples
/lib \
7287 /usr
/openwin
/share
/lib \
7290 for ac_extension
in a so sl
; do
7291 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
7292 ac_x_libraries
=$ac_dir
7299 fi # $ac_x_libraries = NO
7301 if test "$ac_x_includes" = NO
|| test "$ac_x_libraries" = NO
; then
7302 # Didn't find X anywhere. Cache the known absence of X.
7303 ac_cv_have_x
="have_x=no"
7305 # Record where we found X for the cache.
7306 ac_cv_have_x
="have_x=yes \
7307 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
7311 eval "$ac_cv_have_x"
7314 if test "$have_x" != yes; then
7315 echo "$ac_t""$have_x" 1>&6
7318 # If each of the values was on the command line, it overrides each guess.
7319 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
7320 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
7321 # Update the cache value to reflect the command line values.
7322 ac_cv_have_x
="have_x=yes \
7323 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
7324 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
7327 if test "$no_x" = yes; then
7328 # Not all programs may use this symbol, but it does not hurt to define it.
7329 cat >> confdefs.h
<<\EOF
7330 #define X_DISPLAY_MISSING 1
7333 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
7335 if test -n "$x_includes"; then
7336 X_CFLAGS
="$X_CFLAGS -I$x_includes"
7339 # It would also be nice to do this for all -L options, not just this one.
7340 if test -n "$x_libraries"; then
7341 X_LIBS
="$X_LIBS -L$x_libraries"
7342 # For Solaris; some versions of Sun CC require a space after -R and
7343 # others require no space. Words are not sufficient . . . .
7344 case "`(uname -sr) 2>/dev/null`" in
7346 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
7347 echo "configure:7348: checking whether -R must be followed by a space" >&5
7348 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
7349 cat > conftest.
$ac_ext <<EOF
7350 #line 7351 "configure"
7351 #include "confdefs.h"
7357 if { (eval echo configure
:7358: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7361 echo "configure: failed program was:" >&5
7362 cat conftest.
$ac_ext >&5
7367 if test $ac_R_nospace = yes; then
7368 echo "$ac_t""no" 1>&6
7369 X_LIBS
="$X_LIBS -R$x_libraries"
7371 LIBS
="$ac_xsave_LIBS -R $x_libraries"
7372 cat > conftest.
$ac_ext <<EOF
7373 #line 7374 "configure"
7374 #include "confdefs.h"
7380 if { (eval echo configure
:7381: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7384 echo "configure: failed program was:" >&5
7385 cat conftest.
$ac_ext >&5
7390 if test $ac_R_space = yes; then
7391 echo "$ac_t""yes" 1>&6
7392 X_LIBS
="$X_LIBS -R $x_libraries"
7394 echo "$ac_t""neither works" 1>&6
7397 LIBS
="$ac_xsave_LIBS"
7401 # Check for system-dependent libraries X programs must link with.
7402 # Do this before checking for the system-independent R6 libraries
7403 # (-lICE), since we may need -lsocket or whatever for X linking.
7405 if test "$ISC" = yes; then
7406 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
7408 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
7409 # libraries were built with DECnet support. And karl@cs.umb.edu says
7410 # the Alpha needs dnet_stub (dnet does not exist).
7411 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
7412 echo "configure:7413: checking for dnet_ntoa in -ldnet" >&5
7413 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
7414 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7415 echo $ac_n "(cached) $ac_c" 1>&6
7417 ac_save_LIBS
="$LIBS"
7419 cat > conftest.
$ac_ext <<EOF
7420 #line 7421 "configure"
7421 #include "confdefs.h"
7422 /* Override any gcc2 internal prototype to avoid an error. */
7423 /* We use char because int might match the return type of a gcc2
7424 builtin and then its argument prototype would still apply. */
7431 if { (eval echo configure
:7432: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7433 eval "ac_cv_lib_$ac_lib_var=yes"
7435 echo "configure: failed program was:" >&5
7436 cat conftest.
$ac_ext >&5
7438 eval "ac_cv_lib_$ac_lib_var=no"
7441 LIBS
="$ac_save_LIBS"
7444 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7445 echo "$ac_t""yes" 1>&6
7446 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
7448 echo "$ac_t""no" 1>&6
7451 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
7452 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
7453 echo "configure:7454: checking for dnet_ntoa in -ldnet_stub" >&5
7454 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
7455 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7456 echo $ac_n "(cached) $ac_c" 1>&6
7458 ac_save_LIBS
="$LIBS"
7459 LIBS
="-ldnet_stub $LIBS"
7460 cat > conftest.
$ac_ext <<EOF
7461 #line 7462 "configure"
7462 #include "confdefs.h"
7463 /* Override any gcc2 internal prototype to avoid an error. */
7464 /* We use char because int might match the return type of a gcc2
7465 builtin and then its argument prototype would still apply. */
7472 if { (eval echo configure
:7473: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7474 eval "ac_cv_lib_$ac_lib_var=yes"
7476 echo "configure: failed program was:" >&5
7477 cat conftest.
$ac_ext >&5
7479 eval "ac_cv_lib_$ac_lib_var=no"
7482 LIBS
="$ac_save_LIBS"
7485 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7486 echo "$ac_t""yes" 1>&6
7487 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
7489 echo "$ac_t""no" 1>&6
7494 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
7495 # to get the SysV transport functions.
7496 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
7498 # The nsl library prevents programs from opening the X display
7499 # on Irix 5.2, according to dickey@clark.net.
7500 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
7501 echo "configure:7502: checking for gethostbyname" >&5
7502 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
7503 echo $ac_n "(cached) $ac_c" 1>&6
7505 cat > conftest.
$ac_ext <<EOF
7506 #line 7507 "configure"
7507 #include "confdefs.h"
7508 /* System header to define __stub macros and hopefully few prototypes,
7509 which can conflict with char gethostbyname(); below. */
7511 /* Override any gcc2 internal prototype to avoid an error. */
7512 /* We use char because int might match the return type of a gcc2
7513 builtin and then its argument prototype would still apply. */
7514 char gethostbyname();
7518 /* The GNU C library defines this for functions which it implements
7519 to always fail with ENOSYS. Some functions are actually named
7520 something starting with __ and the normal name is an alias. */
7521 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
7529 if { (eval echo configure
:7530: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7531 eval "ac_cv_func_gethostbyname=yes"
7533 echo "configure: failed program was:" >&5
7534 cat conftest.
$ac_ext >&5
7536 eval "ac_cv_func_gethostbyname=no"
7541 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
7542 echo "$ac_t""yes" 1>&6
7545 echo "$ac_t""no" 1>&6
7548 if test $ac_cv_func_gethostbyname = no
; then
7549 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
7550 echo "configure:7551: checking for gethostbyname in -lnsl" >&5
7551 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
7552 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7553 echo $ac_n "(cached) $ac_c" 1>&6
7555 ac_save_LIBS
="$LIBS"
7557 cat > conftest.
$ac_ext <<EOF
7558 #line 7559 "configure"
7559 #include "confdefs.h"
7560 /* Override any gcc2 internal prototype to avoid an error. */
7561 /* We use char because int might match the return type of a gcc2
7562 builtin and then its argument prototype would still apply. */
7563 char gethostbyname();
7569 if { (eval echo configure
:7570: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7571 eval "ac_cv_lib_$ac_lib_var=yes"
7573 echo "configure: failed program was:" >&5
7574 cat conftest.
$ac_ext >&5
7576 eval "ac_cv_lib_$ac_lib_var=no"
7579 LIBS
="$ac_save_LIBS"
7582 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7583 echo "$ac_t""yes" 1>&6
7584 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
7586 echo "$ac_t""no" 1>&6
7591 # lieder@skyler.mavd.honeywell.com says without -lsocket,
7592 # socket/setsockopt and other routines are undefined under SCO ODT
7593 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
7594 # on later versions), says simon@lia.di.epfl.ch: it contains
7595 # gethostby* variants that don't use the nameserver (or something).
7596 # -lsocket must be given before -lnsl if both are needed.
7597 # We assume that if connect needs -lnsl, so does gethostbyname.
7598 echo $ac_n "checking for connect""... $ac_c" 1>&6
7599 echo "configure:7600: checking for connect" >&5
7600 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
7601 echo $ac_n "(cached) $ac_c" 1>&6
7603 cat > conftest.
$ac_ext <<EOF
7604 #line 7605 "configure"
7605 #include "confdefs.h"
7606 /* System header to define __stub macros and hopefully few prototypes,
7607 which can conflict with char connect(); below. */
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. */
7616 /* The GNU C library defines this for functions which it implements
7617 to always fail with ENOSYS. Some functions are actually named
7618 something starting with __ and the normal name is an alias. */
7619 #if defined (__stub_connect) || defined (__stub___connect)
7627 if { (eval echo configure
:7628: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7629 eval "ac_cv_func_connect=yes"
7631 echo "configure: failed program was:" >&5
7632 cat conftest.
$ac_ext >&5
7634 eval "ac_cv_func_connect=no"
7639 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
7640 echo "$ac_t""yes" 1>&6
7643 echo "$ac_t""no" 1>&6
7646 if test $ac_cv_func_connect = no
; then
7647 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
7648 echo "configure:7649: checking for connect in -lsocket" >&5
7649 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
7650 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7651 echo $ac_n "(cached) $ac_c" 1>&6
7653 ac_save_LIBS
="$LIBS"
7654 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
7655 cat > conftest.
$ac_ext <<EOF
7656 #line 7657 "configure"
7657 #include "confdefs.h"
7658 /* Override any gcc2 internal prototype to avoid an error. */
7659 /* We use char because int might match the return type of a gcc2
7660 builtin and then its argument prototype would still apply. */
7667 if { (eval echo configure
:7668: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7669 eval "ac_cv_lib_$ac_lib_var=yes"
7671 echo "configure: failed program was:" >&5
7672 cat conftest.
$ac_ext >&5
7674 eval "ac_cv_lib_$ac_lib_var=no"
7677 LIBS
="$ac_save_LIBS"
7680 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7681 echo "$ac_t""yes" 1>&6
7682 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
7684 echo "$ac_t""no" 1>&6
7689 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
7690 echo $ac_n "checking for remove""... $ac_c" 1>&6
7691 echo "configure:7692: checking for remove" >&5
7692 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
7693 echo $ac_n "(cached) $ac_c" 1>&6
7695 cat > conftest.
$ac_ext <<EOF
7696 #line 7697 "configure"
7697 #include "confdefs.h"
7698 /* System header to define __stub macros and hopefully few prototypes,
7699 which can conflict with char remove(); below. */
7701 /* Override any gcc2 internal prototype to avoid an error. */
7702 /* We use char because int might match the return type of a gcc2
7703 builtin and then its argument prototype would still apply. */
7708 /* The GNU C library defines this for functions which it implements
7709 to always fail with ENOSYS. Some functions are actually named
7710 something starting with __ and the normal name is an alias. */
7711 #if defined (__stub_remove) || defined (__stub___remove)
7719 if { (eval echo configure
:7720: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7721 eval "ac_cv_func_remove=yes"
7723 echo "configure: failed program was:" >&5
7724 cat conftest.
$ac_ext >&5
7726 eval "ac_cv_func_remove=no"
7731 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
7732 echo "$ac_t""yes" 1>&6
7735 echo "$ac_t""no" 1>&6
7738 if test $ac_cv_func_remove = no
; then
7739 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
7740 echo "configure:7741: checking for remove in -lposix" >&5
7741 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
7742 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7743 echo $ac_n "(cached) $ac_c" 1>&6
7745 ac_save_LIBS
="$LIBS"
7746 LIBS
="-lposix $LIBS"
7747 cat > conftest.
$ac_ext <<EOF
7748 #line 7749 "configure"
7749 #include "confdefs.h"
7750 /* Override any gcc2 internal prototype to avoid an error. */
7751 /* We use char because int might match the return type of a gcc2
7752 builtin and then its argument prototype would still apply. */
7759 if { (eval echo configure
:7760: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7761 eval "ac_cv_lib_$ac_lib_var=yes"
7763 echo "configure: failed program was:" >&5
7764 cat conftest.
$ac_ext >&5
7766 eval "ac_cv_lib_$ac_lib_var=no"
7769 LIBS
="$ac_save_LIBS"
7772 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7773 echo "$ac_t""yes" 1>&6
7774 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
7776 echo "$ac_t""no" 1>&6
7781 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
7782 echo $ac_n "checking for shmat""... $ac_c" 1>&6
7783 echo "configure:7784: checking for shmat" >&5
7784 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
7785 echo $ac_n "(cached) $ac_c" 1>&6
7787 cat > conftest.
$ac_ext <<EOF
7788 #line 7789 "configure"
7789 #include "confdefs.h"
7790 /* System header to define __stub macros and hopefully few prototypes,
7791 which can conflict with char shmat(); below. */
7793 /* Override any gcc2 internal prototype to avoid an error. */
7794 /* We use char because int might match the return type of a gcc2
7795 builtin and then its argument prototype would still apply. */
7800 /* The GNU C library defines this for functions which it implements
7801 to always fail with ENOSYS. Some functions are actually named
7802 something starting with __ and the normal name is an alias. */
7803 #if defined (__stub_shmat) || defined (__stub___shmat)
7811 if { (eval echo configure
:7812: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7813 eval "ac_cv_func_shmat=yes"
7815 echo "configure: failed program was:" >&5
7816 cat conftest.
$ac_ext >&5
7818 eval "ac_cv_func_shmat=no"
7823 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
7824 echo "$ac_t""yes" 1>&6
7827 echo "$ac_t""no" 1>&6
7830 if test $ac_cv_func_shmat = no
; then
7831 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
7832 echo "configure:7833: checking for shmat in -lipc" >&5
7833 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
7834 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7835 echo $ac_n "(cached) $ac_c" 1>&6
7837 ac_save_LIBS
="$LIBS"
7839 cat > conftest.
$ac_ext <<EOF
7840 #line 7841 "configure"
7841 #include "confdefs.h"
7842 /* Override any gcc2 internal prototype to avoid an error. */
7843 /* We use char because int might match the return type of a gcc2
7844 builtin and then its argument prototype would still apply. */
7851 if { (eval echo configure
:7852: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7853 eval "ac_cv_lib_$ac_lib_var=yes"
7855 echo "configure: failed program was:" >&5
7856 cat conftest.
$ac_ext >&5
7858 eval "ac_cv_lib_$ac_lib_var=no"
7861 LIBS
="$ac_save_LIBS"
7864 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7865 echo "$ac_t""yes" 1>&6
7866 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
7868 echo "$ac_t""no" 1>&6
7874 # Check for libraries that X11R6 Xt/Xaw programs need.
7875 ac_save_LDFLAGS
="$LDFLAGS"
7876 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
7877 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
7878 # check for ICE first), but we must link in the order -lSM -lICE or
7879 # we get undefined symbols. So assume we have SM if we have ICE.
7880 # These have to be linked with before -lX11, unlike the other
7881 # libraries we check for below, so use a different variable.
7882 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
7883 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
7884 echo "configure:7885: checking for IceConnectionNumber in -lICE" >&5
7885 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
7886 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7887 echo $ac_n "(cached) $ac_c" 1>&6
7889 ac_save_LIBS
="$LIBS"
7890 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
7891 cat > conftest.
$ac_ext <<EOF
7892 #line 7893 "configure"
7893 #include "confdefs.h"
7894 /* Override any gcc2 internal prototype to avoid an error. */
7895 /* We use char because int might match the return type of a gcc2
7896 builtin and then its argument prototype would still apply. */
7897 char IceConnectionNumber();
7900 IceConnectionNumber()
7903 if { (eval echo configure
:7904: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7905 eval "ac_cv_lib_$ac_lib_var=yes"
7907 echo "configure: failed program was:" >&5
7908 cat conftest.
$ac_ext >&5
7910 eval "ac_cv_lib_$ac_lib_var=no"
7913 LIBS
="$ac_save_LIBS"
7916 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7917 echo "$ac_t""yes" 1>&6
7918 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
7920 echo "$ac_t""no" 1>&6
7923 LDFLAGS
="$ac_save_LDFLAGS"
7928 if test "$no_x" = "yes"; then
7929 { echo "configure: error: X11 not found" 1>&2; exit 1; }
7932 GUI_TK_LIBRARY
="$X_LIBS"
7933 TOOLKIT_INCLUDE
="$X_CFLAGS"
7936 echo $ac_n "checking for Motif/Lesstif headers""... $ac_c" 1>&6
7937 echo "configure:7938: checking for Motif/Lesstif headers" >&5
7940 for ac_dir
in $SEARCH_INCLUDE;
7942 if test -f "$ac_dir/Xm/Xm.h"; then
7943 ac_find_includes
=$ac_dir
7948 if test "$ac_find_includes" != "" ; then
7949 echo "$ac_t""found $ac_find_includes" 1>&6
7951 echo "$ac_t""no" 1>&6
7952 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
7955 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
7956 echo "configure:7957: checking for Motif/Lesstif library" >&5
7959 for ac_dir
in $SEARCH_LIB;
7961 for ac_extension
in a so sl
; do
7962 if test -f "$ac_dir/libXm.$ac_extension"; then
7963 ac_find_libraries
=$ac_dir
7969 if test "$ac_find_libraries" != "" ; then
7971 ac_path_to_include
=$ac_find_includes
7972 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
7974 if test $result = 0; then
7975 ac_path_to_include
=""
7977 ac_path_to_include
="-I$ac_find_includes"
7981 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
7983 if test $result = 0; then
7986 ac_path_to_link
="-L$ac_find_libraries"
7990 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
7991 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE $ac_path_to_include"
7992 echo "$ac_t""found at $ac_find_libraries" 1>&6
7994 echo "$ac_t""no" 1>&6
7995 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
7998 echo $ac_n "checking for Xt library""... $ac_c" 1>&6
7999 echo "configure:8000: checking for Xt library" >&5
8002 for ac_dir
in $SEARCH_LIB;
8004 for ac_extension
in a so sl
; do
8005 if test -f "$ac_dir/libXt.$ac_extension"; then
8006 ac_find_libraries
=$ac_dir
8012 if test "$ac_find_libraries" != "" ; then
8014 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
8016 if test $result = 0; then
8019 ac_path_to_link
="-L$ac_find_libraries"
8022 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
8023 echo "$ac_t""found at $ac_find_libraries" 1>&6
8025 echo "$ac_t""no" 1>&6
8026 { echo "configure: error: please set LDFLAGS to contain the location of libXt" 1>&2; exit 1; }
8030 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
8031 echo "configure:8032: checking for Xpm library" >&5
8034 for ac_dir
in $SEARCH_LIB;
8036 for ac_extension
in a so sl
; do
8037 if test -f "$ac_dir/libXpm.$ac_extension"; then
8038 ac_find_libraries
=$ac_dir
8044 if test "$ac_find_libraries" != "" ; then
8046 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
8048 if test $result = 0; then
8051 ac_path_to_link
="-L$ac_find_libraries"
8054 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
8056 cat >> confdefs.h
<<\EOF
8057 #define wxHAVE_LIB_XPM 1
8060 echo "$ac_t""found at $ac_find_libraries" 1>&6
8062 echo "$ac_t""no" 1>&6
8063 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
8066 GUI_TK_LINK
="-lXm $XPM_LINK -lXmu -lXext -lXt -lX11 -lm"
8067 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GUI_TK_LINK"
8070 GUIHEADERS
="\$(MOTIF_HEADERS)"
8071 GUIOBJS
="\$(MOTIF_GUIOBJS)"
8072 COMMONOBJS
="\$(MOTIF_COMMONOBJS)"
8073 GENERICOBJS
="\$(MOTIF_GENERICOBJS)"
8074 GUIDEPS
="\$(MOTIF_GUIDEPS)"
8075 COMMONDEPS
="\$(MOTIF_COMMONDEPS)"
8076 GENERICDEPS
="\$(MOTIF_GENERICDEPS)"
8077 UNIXOBJS
="\$(UNIX_OBJS)"
8078 UNIXDEPS
="\$(UNIX_DEPS)"
8082 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "A-Z" "a-z"`
8084 TOOLKIT_DEF
="-D__WX${TOOLKIT}__"
8086 WX_LIBRARY
="wx_${TOOLKIT_DIR}"
8088 ALL_OBJECTS
="\$(GUIOBJS) \$(COMMONOBJS) \$(GENERICOBJS) \$(UNIXOBJS) \$(HTMLOBJS) \$(IODBCOBJS)"
8089 if test "$wxUSE_LIBJPEG" = "yes" ; then
8090 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
8092 if test "$wxUSE_LIBTIFF" = "yes" ; then
8093 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
8095 if test "$wxUSE_LIBPNG" = "yes" ; then
8096 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
8098 if test "$wxUSE_ZLIB" = "yes" ; then
8099 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
8101 ALL_DEPFILES
="\$(GUIDEPS) \$(COMMONDEPS) \$(GENERICDEPS) \$(UNIXDEPS) \$(HTMLDEPS)"
8102 ALL_HEADERS
="\$(GUIHEADERS) \$(HTML_HEADERS) \$(UNIX_HEADERS) \$(PROTOCOL_HEADERS) \$(GENERIC_HEADERS) \$(WX_HEADERS)"
8105 ALL_OBJECTS
="\$(BASE_OBJS)"
8106 ALL_DEPFILES
="\${BASE_DEPS}"
8107 ALL_HEADERS
="\${BASE_HEADERS}"
8112 WX_LIBRARY_NAME
="lib${WX_LIBRARY}.la"
8114 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
8116 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}-${WX_RELEASE}.so.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
8118 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}-${WX_RELEASE}.so.${WX_CURRENT}"
8119 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}-${WX_RELEASE}.so"
8120 WX_LIBRARY_LINK3
="lib${WX_LIBRARY}.so"
8128 if test "$wxUSE_SHARED" = "yes"; then
8131 if test "$GCC" = yes ; then
8132 SHARED_LD
="${CC} -shared -fPIC -o"
8135 SHARED_LD
="${CXX} -b -o"
8138 WX_LIBRARY_NAME_SHARED
="libwx_${TOOLKIT_DIR}.sl"
8139 WX_ALL
=${WX_LIBRARY_NAME_SHARED}
8142 SHARED_LD
="${CC} -shared -o"
8144 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8145 WX_ALL
="CREATE_LINKS"
8147 *-*-irix5* | *-*-irix6* )
8148 if test "$GCC" = yes ; then
8149 SHARED_LD
="${CC} -shared -o"
8152 SHARED_LD
="${CXX} -shared -o"
8154 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8155 WX_ALL
="CREATE_LINKS"
8158 if test "$GCC" = yes ; then
8159 SHARED_LD
="${CC} -shared -o"
8162 SHARED_LD
="${CXX} -G -o"
8165 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8166 WX_ALL
="CREATE_LINKS"
8169 SHARED_LD
="${CC} -shared -o"
8171 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8172 WX_ALL
="CREATE_LINKS"
8174 *-*-freebsd* | *-*-netbsd*)
8175 SHARED_LD
="${CC} -shared -o"
8177 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8178 WX_ALL
="CREATE_LINKS"
8181 SHARED_LD
="${CXX} -shared -o"
8183 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8184 WX_ALL
="CREATE_LINKS"
8187 SHARED_LD
="${CXX} -shared -o"
8189 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8190 WX_ALL
="CREATE_LINKS"
8193 SHARED_LD
="${CC} -shared -o"
8195 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8196 WX_ALL
="CREATE_LINKS"
8199 SHARED_LD
="/usr/lpp/xlC/bin/makeC++SharedLib -p 0 -o"
8200 WX_ALL
=${WX_LIBRARY_NAME_SHARED}
8203 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
8204 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
8207 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
8208 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
8213 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
8216 if test "x$WX_TARGET_LIBRARY" = "x"; then
8217 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
8220 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
8221 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
8225 for ac_hdr
in strings.h
8227 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8228 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8229 echo "configure:8230: checking for $ac_hdr" >&5
8230 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8231 echo $ac_n "(cached) $ac_c" 1>&6
8233 cat > conftest.
$ac_ext <<EOF
8234 #line 8235 "configure"
8235 #include "confdefs.h"
8238 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8239 { (eval echo configure
:8240: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8240 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8241 if test -z "$ac_err"; then
8243 eval "ac_cv_header_$ac_safe=yes"
8246 echo "configure: failed program was:" >&5
8247 cat conftest.
$ac_ext >&5
8249 eval "ac_cv_header_$ac_safe=no"
8253 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8254 echo "$ac_t""yes" 1>&6
8255 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8256 cat >> confdefs.h
<<EOF
8257 #define $ac_tr_hdr 1
8261 echo "$ac_t""no" 1>&6
8265 for ac_hdr
in unistd.h
8267 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8268 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8269 echo "configure:8270: checking for $ac_hdr" >&5
8270 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8271 echo $ac_n "(cached) $ac_c" 1>&6
8273 cat > conftest.
$ac_ext <<EOF
8274 #line 8275 "configure"
8275 #include "confdefs.h"
8278 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8279 { (eval echo configure
:8280: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8280 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8281 if test -z "$ac_err"; then
8283 eval "ac_cv_header_$ac_safe=yes"
8286 echo "configure: failed program was:" >&5
8287 cat conftest.
$ac_ext >&5
8289 eval "ac_cv_header_$ac_safe=no"
8293 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8294 echo "$ac_t""yes" 1>&6
8295 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8296 cat >> confdefs.h
<<EOF
8297 #define $ac_tr_hdr 1
8301 echo "$ac_t""no" 1>&6
8305 for ac_hdr
in wchar.h
8307 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8308 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8309 echo "configure:8310: checking for $ac_hdr" >&5
8310 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8311 echo $ac_n "(cached) $ac_c" 1>&6
8313 cat > conftest.
$ac_ext <<EOF
8314 #line 8315 "configure"
8315 #include "confdefs.h"
8318 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8319 { (eval echo configure
:8320: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8320 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8321 if test -z "$ac_err"; then
8323 eval "ac_cv_header_$ac_safe=yes"
8326 echo "configure: failed program was:" >&5
8327 cat conftest.
$ac_ext >&5
8329 eval "ac_cv_header_$ac_safe=no"
8333 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8334 echo "$ac_t""yes" 1>&6
8335 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8336 cat >> confdefs.h
<<EOF
8337 #define $ac_tr_hdr 1
8341 echo "$ac_t""no" 1>&6
8345 for ac_hdr
in wcstr.h
8347 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8348 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8349 echo "configure:8350: checking for $ac_hdr" >&5
8350 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8351 echo $ac_n "(cached) $ac_c" 1>&6
8353 cat > conftest.
$ac_ext <<EOF
8354 #line 8355 "configure"
8355 #include "confdefs.h"
8358 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8359 { (eval echo configure
:8360: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8360 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8361 if test -z "$ac_err"; then
8363 eval "ac_cv_header_$ac_safe=yes"
8366 echo "configure: failed program was:" >&5
8367 cat conftest.
$ac_ext >&5
8369 eval "ac_cv_header_$ac_safe=no"
8373 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8374 echo "$ac_t""yes" 1>&6
8375 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8376 cat >> confdefs.h
<<EOF
8377 #define $ac_tr_hdr 1
8381 echo "$ac_t""no" 1>&6
8385 for ac_hdr
in fnmatch.h
8387 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8388 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8389 echo "configure:8390: checking for $ac_hdr" >&5
8390 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8391 echo $ac_n "(cached) $ac_c" 1>&6
8393 cat > conftest.
$ac_ext <<EOF
8394 #line 8395 "configure"
8395 #include "confdefs.h"
8398 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8399 { (eval echo configure
:8400: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8400 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8401 if test -z "$ac_err"; then
8403 eval "ac_cv_header_$ac_safe=yes"
8406 echo "configure: failed program was:" >&5
8407 cat conftest.
$ac_ext >&5
8409 eval "ac_cv_header_$ac_safe=no"
8413 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8414 echo "$ac_t""yes" 1>&6
8415 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8416 cat >> confdefs.h
<<EOF
8417 #define $ac_tr_hdr 1
8421 echo "$ac_t""no" 1>&6
8426 if test "$wxUSE_GUI" = "yes"; then
8427 for ac_hdr
in X
11/XKBlib.h
8429 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8430 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8431 echo "configure:8432: checking for $ac_hdr" >&5
8432 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8433 echo $ac_n "(cached) $ac_c" 1>&6
8435 cat > conftest.
$ac_ext <<EOF
8436 #line 8437 "configure"
8437 #include "confdefs.h"
8440 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8441 { (eval echo configure
:8442: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8442 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8443 if test -z "$ac_err"; then
8445 eval "ac_cv_header_$ac_safe=yes"
8448 echo "configure: failed program was:" >&5
8449 cat conftest.
$ac_ext >&5
8451 eval "ac_cv_header_$ac_safe=no"
8455 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8456 echo "$ac_t""yes" 1>&6
8457 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8458 cat >> confdefs.h
<<EOF
8459 #define $ac_tr_hdr 1
8463 echo "$ac_t""no" 1>&6
8470 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
8471 echo "configure:8472: checking for ANSI C header files" >&5
8472 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
8473 echo $ac_n "(cached) $ac_c" 1>&6
8475 cat > conftest.
$ac_ext <<EOF
8476 #line 8477 "configure"
8477 #include "confdefs.h"
8483 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8484 { (eval echo configure
:8485: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8485 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8486 if test -z "$ac_err"; then
8488 ac_cv_header_stdc
=yes
8491 echo "configure: failed program was:" >&5
8492 cat conftest.
$ac_ext >&5
8494 ac_cv_header_stdc
=no
8498 if test $ac_cv_header_stdc = yes; then
8499 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8500 cat > conftest.
$ac_ext <<EOF
8501 #line 8502 "configure"
8502 #include "confdefs.h"
8505 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8506 egrep "memchr" >/dev
/null
2>&1; then
8510 ac_cv_header_stdc
=no
8516 if test $ac_cv_header_stdc = yes; then
8517 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8518 cat > conftest.
$ac_ext <<EOF
8519 #line 8520 "configure"
8520 #include "confdefs.h"
8523 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8524 egrep "free" >/dev
/null
2>&1; then
8528 ac_cv_header_stdc
=no
8534 if test $ac_cv_header_stdc = yes; then
8535 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8536 if test "$cross_compiling" = yes; then
8539 cat > conftest.
$ac_ext <<EOF
8540 #line 8541 "configure"
8541 #include "confdefs.h"
8543 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8544 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8545 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8546 int main () { int i; for (i = 0; i < 256; i++)
8547 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
8551 if { (eval echo configure
:8552: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
8555 echo "configure: failed program was:" >&5
8556 cat conftest.
$ac_ext >&5
8558 ac_cv_header_stdc
=no
8566 echo "$ac_t""$ac_cv_header_stdc" 1>&6
8567 if test $ac_cv_header_stdc = yes; then
8568 cat >> confdefs.h
<<\EOF
8569 #define STDC_HEADERS 1
8574 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
8575 echo "configure:8576: checking for mode_t" >&5
8576 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
8577 echo $ac_n "(cached) $ac_c" 1>&6
8579 cat > conftest.
$ac_ext <<EOF
8580 #line 8581 "configure"
8581 #include "confdefs.h"
8582 #include <sys/types.h>
8588 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8589 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
8591 ac_cv_type_mode_t
=yes
8594 ac_cv_type_mode_t
=no
8599 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
8600 if test $ac_cv_type_mode_t = no
; then
8601 cat >> confdefs.h
<<\EOF
8607 echo $ac_n "checking for off_t""... $ac_c" 1>&6
8608 echo "configure:8609: checking for off_t" >&5
8609 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
8610 echo $ac_n "(cached) $ac_c" 1>&6
8612 cat > conftest.
$ac_ext <<EOF
8613 #line 8614 "configure"
8614 #include "confdefs.h"
8615 #include <sys/types.h>
8621 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8622 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
8624 ac_cv_type_off_t
=yes
8632 echo "$ac_t""$ac_cv_type_off_t" 1>&6
8633 if test $ac_cv_type_off_t = no
; then
8634 cat >> confdefs.h
<<\EOF
8640 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
8641 echo "configure:8642: checking for pid_t" >&5
8642 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
8643 echo $ac_n "(cached) $ac_c" 1>&6
8645 cat > conftest.
$ac_ext <<EOF
8646 #line 8647 "configure"
8647 #include "confdefs.h"
8648 #include <sys/types.h>
8654 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8655 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
8657 ac_cv_type_pid_t
=yes
8665 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
8666 if test $ac_cv_type_pid_t = no
; then
8667 cat >> confdefs.h
<<\EOF
8673 echo $ac_n "checking for size_t""... $ac_c" 1>&6
8674 echo "configure:8675: checking for size_t" >&5
8675 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
8676 echo $ac_n "(cached) $ac_c" 1>&6
8678 cat > conftest.
$ac_ext <<EOF
8679 #line 8680 "configure"
8680 #include "confdefs.h"
8681 #include <sys/types.h>
8687 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8688 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
8690 ac_cv_type_size_t
=yes
8693 ac_cv_type_size_t
=no
8698 echo "$ac_t""$ac_cv_type_size_t" 1>&6
8699 if test $ac_cv_type_size_t = no
; then
8700 cat >> confdefs.h
<<\EOF
8701 #define size_t unsigned
8706 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
8707 echo "configure:8708: checking for uid_t in sys/types.h" >&5
8708 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
8709 echo $ac_n "(cached) $ac_c" 1>&6
8711 cat > conftest.
$ac_ext <<EOF
8712 #line 8713 "configure"
8713 #include "confdefs.h"
8714 #include <sys/types.h>
8716 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8717 egrep "uid_t" >/dev
/null
2>&1; then
8719 ac_cv_type_uid_t
=yes
8728 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
8729 if test $ac_cv_type_uid_t = no
; then
8730 cat >> confdefs.h
<<\EOF
8734 cat >> confdefs.h
<<\EOF
8743 echo $ac_n "checking for working const""... $ac_c" 1>&6
8744 echo "configure:8745: checking for working const" >&5
8745 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
8746 echo $ac_n "(cached) $ac_c" 1>&6
8748 cat > conftest.
$ac_ext <<EOF
8749 #line 8750 "configure"
8750 #include "confdefs.h"
8754 /* Ultrix mips cc rejects this. */
8755 typedef int charset[2]; const charset x;
8756 /* SunOS 4.1.1 cc rejects this. */
8757 char const *const *ccp;
8759 /* NEC SVR4.0.2 mips cc rejects this. */
8760 struct point {int x, y;};
8761 static struct point const zero = {0,0};
8762 /* AIX XL C 1.02.0.0 rejects this.
8763 It does not let you subtract one const X* pointer from another in an arm
8764 of an if-expression whose if-part is not a constant expression */
8765 const char *g = "string";
8766 ccp = &g + (g ? g-g : 0);
8767 /* HPUX 7.0 cc rejects these. */
8770 ccp = (char const *const *) p;
8771 { /* SCO 3.2v4 cc rejects this. */
8773 char const *s = 0 ? (char *) 0 : (char const *) 0;
8777 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
8779 const int *foo = &x[0];
8782 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
8783 typedef const int *iptr;
8787 { /* AIX XL C 1.02.0.0 rejects this saying
8788 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
8789 struct s { int j; const int *ap[3]; };
8790 struct s *b; b->j = 5;
8792 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
8798 if { (eval echo configure
:8799: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8802 echo "configure: failed program was:" >&5
8803 cat conftest.
$ac_ext >&5
8810 echo "$ac_t""$ac_cv_c_const" 1>&6
8811 if test $ac_cv_c_const = no
; then
8812 cat >> confdefs.h
<<\EOF
8818 echo $ac_n "checking for inline""... $ac_c" 1>&6
8819 echo "configure:8820: checking for inline" >&5
8820 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
8821 echo $ac_n "(cached) $ac_c" 1>&6
8824 for ac_kw
in inline __inline__ __inline
; do
8825 cat > conftest.
$ac_ext <<EOF
8826 #line 8827 "configure"
8827 #include "confdefs.h"
8833 if { (eval echo configure
:8834: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8835 ac_cv_c_inline
=$ac_kw; break
8837 echo "configure: failed program was:" >&5
8838 cat conftest.
$ac_ext >&5
8845 echo "$ac_t""$ac_cv_c_inline" 1>&6
8846 case "$ac_cv_c_inline" in
8848 no
) cat >> confdefs.h
<<\EOF
8852 *) cat >> confdefs.h
<<EOF
8853 #define inline $ac_cv_c_inline
8859 echo $ac_n "checking size of char""... $ac_c" 1>&6
8860 echo "configure:8861: checking size of char" >&5
8861 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
8862 echo $ac_n "(cached) $ac_c" 1>&6
8864 if test "$cross_compiling" = yes; then
8867 cat > conftest.
$ac_ext <<EOF
8868 #line 8869 "configure"
8869 #include "confdefs.h"
8873 FILE *f=fopen("conftestval", "w");
8875 fprintf(f, "%d\n", sizeof(char));
8879 if { (eval echo configure
:8880: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
8881 ac_cv_sizeof_char
=`cat conftestval`
8883 echo "configure: failed program was:" >&5
8884 cat conftest.
$ac_ext >&5
8892 echo "$ac_t""$ac_cv_sizeof_char" 1>&6
8893 cat >> confdefs.h
<<EOF
8894 #define SIZEOF_CHAR $ac_cv_sizeof_char
8898 echo $ac_n "checking size of short""... $ac_c" 1>&6
8899 echo "configure:8900: checking size of short" >&5
8900 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
8901 echo $ac_n "(cached) $ac_c" 1>&6
8903 if test "$cross_compiling" = yes; then
8904 ac_cv_sizeof_short
=2
8906 cat > conftest.
$ac_ext <<EOF
8907 #line 8908 "configure"
8908 #include "confdefs.h"
8912 FILE *f=fopen("conftestval", "w");
8914 fprintf(f, "%d\n", sizeof(short));
8918 if { (eval echo configure
:8919: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
8920 ac_cv_sizeof_short
=`cat conftestval`
8922 echo "configure: failed program was:" >&5
8923 cat conftest.
$ac_ext >&5
8925 ac_cv_sizeof_short
=0
8931 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
8932 cat >> confdefs.h
<<EOF
8933 #define SIZEOF_SHORT $ac_cv_sizeof_short
8937 echo $ac_n "checking size of int *""... $ac_c" 1>&6
8938 echo "configure:8939: checking size of int *" >&5
8939 if eval "test \"`echo '$''{'ac_cv_sizeof_int_p'+set}'`\" = set"; then
8940 echo $ac_n "(cached) $ac_c" 1>&6
8942 if test "$cross_compiling" = yes; then
8943 ac_cv_sizeof_int_p
=4
8945 cat > conftest.
$ac_ext <<EOF
8946 #line 8947 "configure"
8947 #include "confdefs.h"
8951 FILE *f=fopen("conftestval", "w");
8953 fprintf(f, "%d\n", sizeof(int *));
8957 if { (eval echo configure
:8958: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
8959 ac_cv_sizeof_int_p
=`cat conftestval`
8961 echo "configure: failed program was:" >&5
8962 cat conftest.
$ac_ext >&5
8964 ac_cv_sizeof_int_p
=0
8970 echo "$ac_t""$ac_cv_sizeof_int_p" 1>&6
8971 cat >> confdefs.h
<<EOF
8972 #define SIZEOF_INT_P $ac_cv_sizeof_int_p
8976 echo $ac_n "checking size of int""... $ac_c" 1>&6
8977 echo "configure:8978: checking size of int" >&5
8978 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
8979 echo $ac_n "(cached) $ac_c" 1>&6
8981 if test "$cross_compiling" = yes; then
8984 cat > conftest.
$ac_ext <<EOF
8985 #line 8986 "configure"
8986 #include "confdefs.h"
8990 FILE *f=fopen("conftestval", "w");
8992 fprintf(f, "%d\n", sizeof(int));
8996 if { (eval echo configure
:8997: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
8998 ac_cv_sizeof_int
=`cat conftestval`
9000 echo "configure: failed program was:" >&5
9001 cat conftest.
$ac_ext >&5
9009 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
9010 cat >> confdefs.h
<<EOF
9011 #define SIZEOF_INT $ac_cv_sizeof_int
9015 echo $ac_n "checking size of long""... $ac_c" 1>&6
9016 echo "configure:9017: checking size of long" >&5
9017 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
9018 echo $ac_n "(cached) $ac_c" 1>&6
9020 if test "$cross_compiling" = yes; then
9023 cat > conftest.
$ac_ext <<EOF
9024 #line 9025 "configure"
9025 #include "confdefs.h"
9029 FILE *f=fopen("conftestval", "w");
9031 fprintf(f, "%d\n", sizeof(long));
9035 if { (eval echo configure
:9036: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9037 ac_cv_sizeof_long
=`cat conftestval`
9039 echo "configure: failed program was:" >&5
9040 cat conftest.
$ac_ext >&5
9048 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
9049 cat >> confdefs.h
<<EOF
9050 #define SIZEOF_LONG $ac_cv_sizeof_long
9054 echo $ac_n "checking size of long long""... $ac_c" 1>&6
9055 echo "configure:9056: checking size of long long" >&5
9056 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
9057 echo $ac_n "(cached) $ac_c" 1>&6
9059 if test "$cross_compiling" = yes; then
9060 ac_cv_sizeof_long_long
=0
9062 cat > conftest.
$ac_ext <<EOF
9063 #line 9064 "configure"
9064 #include "confdefs.h"
9068 FILE *f=fopen("conftestval", "w");
9070 fprintf(f, "%d\n", sizeof(long long));
9074 if { (eval echo configure
:9075: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9076 ac_cv_sizeof_long_long
=`cat conftestval`
9078 echo "configure: failed program was:" >&5
9079 cat conftest.
$ac_ext >&5
9081 ac_cv_sizeof_long_long
=0
9087 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
9088 cat >> confdefs.h
<<EOF
9089 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
9094 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
9095 echo "configure:9096: checking whether byte ordering is bigendian" >&5
9096 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
9097 echo $ac_n "(cached) $ac_c" 1>&6
9099 ac_cv_c_bigendian
=unknown
9100 # See if sys/param.h defines the BYTE_ORDER macro.
9101 cat > conftest.
$ac_ext <<EOF
9102 #line 9103 "configure"
9103 #include "confdefs.h"
9104 #include <sys/types.h>
9105 #include <sys/param.h>
9108 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
9113 if { (eval echo configure
:9114: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9115 # It does; now see whether it defined to BIG_ENDIAN or not.
9116 cat > conftest.
$ac_ext <<EOF
9117 #line 9118 "configure"
9118 #include "confdefs.h"
9119 #include <sys/types.h>
9120 #include <sys/param.h>
9123 #if BYTE_ORDER != BIG_ENDIAN
9128 if { (eval echo configure
:9129: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9130 ac_cv_c_bigendian
=yes
9132 echo "configure: failed program was:" >&5
9133 cat conftest.
$ac_ext >&5
9135 ac_cv_c_bigendian
=no
9139 echo "configure: failed program was:" >&5
9140 cat conftest.
$ac_ext >&5
9143 if test $ac_cv_c_bigendian = unknown
; then
9144 if test "$cross_compiling" = yes; then
9145 ac_cv_c_bigendian
=unknown
9147 cat > conftest.
$ac_ext <<EOF
9148 #line 9149 "configure"
9149 #include "confdefs.h"
9151 /* Are we little or big endian? From Harbison&Steele. */
9155 char c[sizeof (long)];
9158 exit (u.c[sizeof (long) - 1] == 1);
9161 if { (eval echo configure
:9162: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9163 ac_cv_c_bigendian
=no
9165 echo "configure: failed program was:" >&5
9166 cat conftest.
$ac_ext >&5
9168 ac_cv_c_bigendian
=yes
9176 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
9177 if test $ac_cv_c_bigendian = unknown
; then
9178 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
9180 if test $ac_cv_c_bigendian = yes; then
9181 cat >> confdefs.h
<<\EOF
9182 #define WORDS_BIGENDIAN 1
9189 if test "$cross_compiling" = "yes"; then
9190 cat >> confdefs.h
<<\EOF
9191 #define wxUSE_IOSTREAMH 1
9197 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9198 ac_cpp
='$CXXCPP $CPPFLAGS'
9199 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9200 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9201 cross_compiling
=$ac_cv_prog_cxx_cross
9204 for ac_hdr
in iostream
9206 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9207 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9208 echo "configure:9209: checking for $ac_hdr" >&5
9209 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9210 echo $ac_n "(cached) $ac_c" 1>&6
9212 cat > conftest.
$ac_ext <<EOF
9213 #line 9214 "configure"
9214 #include "confdefs.h"
9217 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9218 { (eval echo configure
:9219: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9219 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9220 if test -z "$ac_err"; then
9222 eval "ac_cv_header_$ac_safe=yes"
9225 echo "configure: failed program was:" >&5
9226 cat conftest.
$ac_ext >&5
9228 eval "ac_cv_header_$ac_safe=no"
9232 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9233 echo "$ac_t""yes" 1>&6
9234 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9235 cat >> confdefs.h
<<EOF
9236 #define $ac_tr_hdr 1
9240 echo "$ac_t""no" 1>&6
9245 if test "x$HAVE_IOSTREAM" = x
; then
9246 cat >> confdefs.h
<<\EOF
9247 #define wxUSE_IOSTREAMH 1
9255 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9256 ac_cpp
='$CPP $CPPFLAGS'
9257 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9258 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9259 cross_compiling
=$ac_cv_prog_cc_cross
9265 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
9266 echo "configure:9267: checking if C++ compiler supports bool" >&5
9267 if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
9268 echo $ac_n "(cached) $ac_c" 1>&6
9273 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9274 ac_cpp
='$CXXCPP $CPPFLAGS'
9275 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9276 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9277 cross_compiling
=$ac_cv_prog_cxx_cross
9280 cat > conftest.
$ac_ext <<EOF
9281 #line 9282 "configure"
9282 #include "confdefs.h"
9293 if { (eval echo configure
:9294: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9296 cat >> confdefs.h
<<\EOF
9303 echo "configure: failed program was:" >&5
9304 cat conftest.
$ac_ext >&5
9314 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9315 ac_cpp
='$CPP $CPPFLAGS'
9316 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9317 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9318 cross_compiling
=$ac_cv_prog_cc_cross
9323 echo "$ac_t""$wx_cv_cpp_bool" 1>&6
9325 if test "$wx_cv_cpp_bool" = "yes"; then
9326 cat >> confdefs.h
<<\EOF
9334 echo $ac_n "checking if you need GNU extensions""... $ac_c" 1>&6
9335 echo "configure:9336: checking if you need GNU extensions" >&5
9336 if eval "test \"`echo '$''{'wx_cv_gnu_extensions'+set}'`\" = set"; then
9337 echo $ac_n "(cached) $ac_c" 1>&6
9340 cat > conftest.
$ac_ext <<EOF
9341 #line 9342 "configure"
9342 #include "confdefs.h"
9343 #include <features.h>
9347 #ifndef __GNU_LIBRARY__
9348 Compile error wanted
9354 if { (eval echo configure
:9355: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9356 wx_cv_gnu_extensions
=yes
9358 echo "configure: failed program was:" >&5
9359 cat conftest.
$ac_ext >&5
9361 wx_cv_gnu_extensions
=no
9368 echo "$ac_t""$wx_cv_gnu_extensions" 1>&6
9369 if test "$wx_cv_gnu_extensions" = "yes"; then
9370 cat >> confdefs.h
<<EOF
9371 #define _GNU_SOURCE 1
9378 echo $ac_n "checking for wcslen in -lc""... $ac_c" 1>&6
9379 echo "configure:9380: checking for wcslen in -lc" >&5
9380 ac_lib_var
=`echo c'_'wcslen | sed 'y%./+-%__p_%'`
9381 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9382 echo $ac_n "(cached) $ac_c" 1>&6
9384 ac_save_LIBS
="$LIBS"
9386 cat > conftest.
$ac_ext <<EOF
9387 #line 9388 "configure"
9388 #include "confdefs.h"
9389 /* Override any gcc2 internal prototype to avoid an error. */
9390 /* We use char because int might match the return type of a gcc2
9391 builtin and then its argument prototype would still apply. */
9398 if { (eval echo configure
:9399: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9400 eval "ac_cv_lib_$ac_lib_var=yes"
9402 echo "configure: failed program was:" >&5
9403 cat conftest.
$ac_ext >&5
9405 eval "ac_cv_lib_$ac_lib_var=no"
9408 LIBS
="$ac_save_LIBS"
9411 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9412 echo "$ac_t""yes" 1>&6
9414 cat >> confdefs.h
<<\EOF
9415 #define HAVE_WCSLEN 1
9421 echo "$ac_t""no" 1>&6
9423 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
9424 echo "configure:9425: checking for wcslen in -lw" >&5
9425 ac_lib_var
=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
9426 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9427 echo $ac_n "(cached) $ac_c" 1>&6
9429 ac_save_LIBS
="$LIBS"
9431 cat > conftest.
$ac_ext <<EOF
9432 #line 9433 "configure"
9433 #include "confdefs.h"
9434 /* Override any gcc2 internal prototype to avoid an error. */
9435 /* We use char because int might match the return type of a gcc2
9436 builtin and then its argument prototype would still apply. */
9443 if { (eval echo configure
:9444: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9445 eval "ac_cv_lib_$ac_lib_var=yes"
9447 echo "configure: failed program was:" >&5
9448 cat conftest.
$ac_ext >&5
9450 eval "ac_cv_lib_$ac_lib_var=no"
9453 LIBS
="$ac_save_LIBS"
9456 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9457 echo "$ac_t""yes" 1>&6
9459 cat >> confdefs.h
<<\EOF
9460 #define HAVE_WCSLEN 1
9466 echo "$ac_t""no" 1>&6
9473 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
9474 echo "configure:9475: checking for vprintf" >&5
9475 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
9476 echo $ac_n "(cached) $ac_c" 1>&6
9478 cat > conftest.
$ac_ext <<EOF
9479 #line 9480 "configure"
9480 #include "confdefs.h"
9481 /* System header to define __stub macros and hopefully few prototypes,
9482 which can conflict with char vprintf(); below. */
9484 /* Override any gcc2 internal prototype to avoid an error. */
9485 /* We use char because int might match the return type of a gcc2
9486 builtin and then its argument prototype would still apply. */
9491 /* The GNU C library defines this for functions which it implements
9492 to always fail with ENOSYS. Some functions are actually named
9493 something starting with __ and the normal name is an alias. */
9494 #if defined (__stub_vprintf) || defined (__stub___vprintf)
9502 if { (eval echo configure
:9503: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9504 eval "ac_cv_func_vprintf=yes"
9506 echo "configure: failed program was:" >&5
9507 cat conftest.
$ac_ext >&5
9509 eval "ac_cv_func_vprintf=no"
9514 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
9515 echo "$ac_t""yes" 1>&6
9516 cat >> confdefs.h
<<\EOF
9517 #define HAVE_VPRINTF 1
9521 echo "$ac_t""no" 1>&6
9524 if test "$ac_cv_func_vprintf" != yes; then
9525 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
9526 echo "configure:9527: checking for _doprnt" >&5
9527 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
9528 echo $ac_n "(cached) $ac_c" 1>&6
9530 cat > conftest.
$ac_ext <<EOF
9531 #line 9532 "configure"
9532 #include "confdefs.h"
9533 /* System header to define __stub macros and hopefully few prototypes,
9534 which can conflict with char _doprnt(); below. */
9536 /* Override any gcc2 internal prototype to avoid an error. */
9537 /* We use char because int might match the return type of a gcc2
9538 builtin and then its argument prototype would still apply. */
9543 /* The GNU C library defines this for functions which it implements
9544 to always fail with ENOSYS. Some functions are actually named
9545 something starting with __ and the normal name is an alias. */
9546 #if defined (__stub__doprnt) || defined (__stub____doprnt)
9554 if { (eval echo configure
:9555: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9556 eval "ac_cv_func__doprnt=yes"
9558 echo "configure: failed program was:" >&5
9559 cat conftest.
$ac_ext >&5
9561 eval "ac_cv_func__doprnt=no"
9566 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
9567 echo "$ac_t""yes" 1>&6
9568 cat >> confdefs.h
<<\EOF
9569 #define HAVE_DOPRNT 1
9573 echo "$ac_t""no" 1>&6
9579 for ac_func
in vsnprintf
9581 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9582 echo "configure:9583: checking for $ac_func" >&5
9583 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9584 echo $ac_n "(cached) $ac_c" 1>&6
9586 cat > conftest.
$ac_ext <<EOF
9587 #line 9588 "configure"
9588 #include "confdefs.h"
9589 /* System header to define __stub macros and hopefully few prototypes,
9590 which can conflict with char $ac_func(); below. */
9592 /* Override any gcc2 internal prototype to avoid an error. */
9593 /* We use char because int might match the return type of a gcc2
9594 builtin and then its argument prototype would still apply. */
9599 /* The GNU C library defines this for functions which it implements
9600 to always fail with ENOSYS. Some functions are actually named
9601 something starting with __ and the normal name is an alias. */
9602 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9610 if { (eval echo configure
:9611: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9612 eval "ac_cv_func_$ac_func=yes"
9614 echo "configure: failed program was:" >&5
9615 cat conftest.
$ac_ext >&5
9617 eval "ac_cv_func_$ac_func=no"
9622 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9623 echo "$ac_t""yes" 1>&6
9624 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9625 cat >> confdefs.h
<<EOF
9626 #define $ac_tr_func 1
9628 cat >> confdefs.h
<<\EOF
9629 #define HAVE_VSNPRINTF 1
9633 echo "$ac_t""no" 1>&6
9634 echo "configure: warning: unsafe function sprintf will be used instead of snprintf" 1>&2
9642 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9643 ac_cpp
='$CXXCPP $CPPFLAGS'
9644 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9645 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9646 cross_compiling
=$ac_cv_prog_cxx_cross
9649 echo $ac_n "checking for vsscanf""... $ac_c" 1>&6
9650 echo "configure:9651: checking for vsscanf" >&5
9651 if eval "test \"`echo '$''{'wx_cv_func_vsscanf'+set}'`\" = set"; then
9652 echo $ac_n "(cached) $ac_c" 1>&6
9655 if test "$cross_compiling" = yes; then
9656 wx_cv_func_vsscanf
=no
9659 cat > conftest.
$ac_ext <<EOF
9660 #line 9661 "configure"
9661 #include "confdefs.h"
9663 extern "C" void exit(int);
9669 int try_vsscanf(const char *format, ...)
9672 va_start(ap, format);
9674 vsscanf("17", format, ap);
9682 try_vsscanf("%d", &i);
9683 return i == 17 ? 0 : 1;
9687 if { (eval echo configure
:9688: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9690 cat >> confdefs.h
<<\EOF
9691 #define HAVE_VSSCANF 1
9694 wx_cv_func_vsscanf
=yes
9697 echo "configure: failed program was:" >&5
9698 cat conftest.
$ac_ext >&5
9700 wx_cv_func_vsscanf
=no
9708 echo "$ac_t""$wx_cv_func_vsscanf" 1>&6
9711 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9712 ac_cpp
='$CPP $CPPFLAGS'
9713 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9714 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9715 cross_compiling
=$ac_cv_prog_cc_cross
9718 if test "$USE_UNIX" = 1; then
9720 for ac_func
in vfork
9722 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9723 echo "configure:9724: checking for $ac_func" >&5
9724 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9725 echo $ac_n "(cached) $ac_c" 1>&6
9727 cat > conftest.
$ac_ext <<EOF
9728 #line 9729 "configure"
9729 #include "confdefs.h"
9730 /* System header to define __stub macros and hopefully few prototypes,
9731 which can conflict with char $ac_func(); below. */
9733 /* Override any gcc2 internal prototype to avoid an error. */
9734 /* We use char because int might match the return type of a gcc2
9735 builtin and then its argument prototype would still apply. */
9740 /* The GNU C library defines this for functions which it implements
9741 to always fail with ENOSYS. Some functions are actually named
9742 something starting with __ and the normal name is an alias. */
9743 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
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_func_$ac_func=yes"
9755 echo "configure: failed program was:" >&5
9756 cat conftest.
$ac_ext >&5
9758 eval "ac_cv_func_$ac_func=no"
9763 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9764 echo "$ac_t""yes" 1>&6
9765 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9766 cat >> confdefs.h
<<EOF
9767 #define $ac_tr_func 1
9771 echo "$ac_t""no" 1>&6
9776 for ac_func
in timegm
9778 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9779 echo "configure:9780: checking for $ac_func" >&5
9780 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9781 echo $ac_n "(cached) $ac_c" 1>&6
9783 cat > conftest.
$ac_ext <<EOF
9784 #line 9785 "configure"
9785 #include "confdefs.h"
9786 /* System header to define __stub macros and hopefully few prototypes,
9787 which can conflict with char $ac_func(); below. */
9789 /* Override any gcc2 internal prototype to avoid an error. */
9790 /* We use char because int might match the return type of a gcc2
9791 builtin and then its argument prototype would still apply. */
9796 /* The GNU C library defines this for functions which it implements
9797 to always fail with ENOSYS. Some functions are actually named
9798 something starting with __ and the normal name is an alias. */
9799 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9807 if { (eval echo configure
:9808: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9809 eval "ac_cv_func_$ac_func=yes"
9811 echo "configure: failed program was:" >&5
9812 cat conftest.
$ac_ext >&5
9814 eval "ac_cv_func_$ac_func=no"
9819 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9820 echo "$ac_t""yes" 1>&6
9821 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9822 cat >> confdefs.h
<<EOF
9823 #define $ac_tr_func 1
9827 echo "$ac_t""no" 1>&6
9833 for ac_func
in nanosleep
9835 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9836 echo "configure:9837: checking for $ac_func" >&5
9837 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9838 echo $ac_n "(cached) $ac_c" 1>&6
9840 cat > conftest.
$ac_ext <<EOF
9841 #line 9842 "configure"
9842 #include "confdefs.h"
9843 /* System header to define __stub macros and hopefully few prototypes,
9844 which can conflict with char $ac_func(); below. */
9846 /* Override any gcc2 internal prototype to avoid an error. */
9847 /* We use char because int might match the return type of a gcc2
9848 builtin and then its argument prototype would still apply. */
9853 /* The GNU C library defines this for functions which it implements
9854 to always fail with ENOSYS. Some functions are actually named
9855 something starting with __ and the normal name is an alias. */
9856 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9864 if { (eval echo configure
:9865: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9866 eval "ac_cv_func_$ac_func=yes"
9868 echo "configure: failed program was:" >&5
9869 cat conftest.
$ac_ext >&5
9871 eval "ac_cv_func_$ac_func=no"
9876 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9877 echo "$ac_t""yes" 1>&6
9878 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9879 cat >> confdefs.h
<<EOF
9880 #define $ac_tr_func 1
9882 cat >> confdefs.h
<<\EOF
9883 #define HAVE_NANOSLEEP 1
9887 echo "$ac_t""no" 1>&6
9888 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
9889 echo "configure:9890: checking for nanosleep in -lposix4" >&5
9890 ac_lib_var
=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
9891 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9892 echo $ac_n "(cached) $ac_c" 1>&6
9894 ac_save_LIBS
="$LIBS"
9895 LIBS
="-lposix4 $LIBS"
9896 cat > conftest.
$ac_ext <<EOF
9897 #line 9898 "configure"
9898 #include "confdefs.h"
9899 /* Override any gcc2 internal prototype to avoid an error. */
9900 /* We use char because int might match the return type of a gcc2
9901 builtin and then its argument prototype would still apply. */
9908 if { (eval echo configure
:9909: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9910 eval "ac_cv_lib_$ac_lib_var=yes"
9912 echo "configure: failed program was:" >&5
9913 cat conftest.
$ac_ext >&5
9915 eval "ac_cv_lib_$ac_lib_var=no"
9918 LIBS
="$ac_save_LIBS"
9921 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9922 echo "$ac_t""yes" 1>&6
9924 cat >> confdefs.h
<<\EOF
9925 #define HAVE_NANOSLEEP 1
9928 POSIX4_LINK
="-lposix4"
9931 echo "$ac_t""no" 1>&6
9933 for ac_func
in usleep
9935 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9936 echo "configure:9937: checking for $ac_func" >&5
9937 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9938 echo $ac_n "(cached) $ac_c" 1>&6
9940 cat > conftest.
$ac_ext <<EOF
9941 #line 9942 "configure"
9942 #include "confdefs.h"
9943 /* System header to define __stub macros and hopefully few prototypes,
9944 which can conflict with char $ac_func(); below. */
9946 /* Override any gcc2 internal prototype to avoid an error. */
9947 /* We use char because int might match the return type of a gcc2
9948 builtin and then its argument prototype would still apply. */
9953 /* The GNU C library defines this for functions which it implements
9954 to always fail with ENOSYS. Some functions are actually named
9955 something starting with __ and the normal name is an alias. */
9956 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9964 if { (eval echo configure
:9965: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9966 eval "ac_cv_func_$ac_func=yes"
9968 echo "configure: failed program was:" >&5
9969 cat conftest.
$ac_ext >&5
9971 eval "ac_cv_func_$ac_func=no"
9976 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9977 echo "$ac_t""yes" 1>&6
9978 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9979 cat >> confdefs.h
<<EOF
9980 #define $ac_tr_func 1
9982 cat >> confdefs.h
<<\EOF
9983 #define HAVE_USLEEP 1
9987 echo "$ac_t""no" 1>&6
9988 echo "configure: warning: wxSleep() function will not work" 1>&2
10000 for ac_func
in uname gethostname
10002 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10003 echo "configure:10004: checking for $ac_func" >&5
10004 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10005 echo $ac_n "(cached) $ac_c" 1>&6
10007 cat > conftest.
$ac_ext <<EOF
10008 #line 10009 "configure"
10009 #include "confdefs.h"
10010 /* System header to define __stub macros and hopefully few prototypes,
10011 which can conflict with char $ac_func(); below. */
10012 #include <assert.h>
10013 /* Override any gcc2 internal prototype to avoid an error. */
10014 /* We use char because int might match the return type of a gcc2
10015 builtin and then its argument prototype would still apply. */
10020 /* The GNU C library defines this for functions which it implements
10021 to always fail with ENOSYS. Some functions are actually named
10022 something starting with __ and the normal name is an alias. */
10023 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10031 if { (eval echo configure
:10032: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10033 eval "ac_cv_func_$ac_func=yes"
10035 echo "configure: failed program was:" >&5
10036 cat conftest.
$ac_ext >&5
10038 eval "ac_cv_func_$ac_func=no"
10043 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10044 echo "$ac_t""yes" 1>&6
10045 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10046 cat >> confdefs.h
<<EOF
10047 #define $ac_tr_func 1
10051 echo "$ac_t""no" 1>&6
10056 for ac_func
in strtok_r
10058 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10059 echo "configure:10060: checking for $ac_func" >&5
10060 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10061 echo $ac_n "(cached) $ac_c" 1>&6
10063 cat > conftest.
$ac_ext <<EOF
10064 #line 10065 "configure"
10065 #include "confdefs.h"
10066 /* System header to define __stub macros and hopefully few prototypes,
10067 which can conflict with char $ac_func(); below. */
10068 #include <assert.h>
10069 /* Override any gcc2 internal prototype to avoid an error. */
10070 /* We use char because int might match the return type of a gcc2
10071 builtin and then its argument prototype would still apply. */
10076 /* The GNU C library defines this for functions which it implements
10077 to always fail with ENOSYS. Some functions are actually named
10078 something starting with __ and the normal name is an alias. */
10079 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10087 if { (eval echo configure
:10088: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10089 eval "ac_cv_func_$ac_func=yes"
10091 echo "configure: failed program was:" >&5
10092 cat conftest.
$ac_ext >&5
10094 eval "ac_cv_func_$ac_func=no"
10099 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10100 echo "$ac_t""yes" 1>&6
10101 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10102 cat >> confdefs.h
<<EOF
10103 #define $ac_tr_func 1
10107 echo "$ac_t""no" 1>&6
10113 for ac_func
in inet_addr
10115 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10116 echo "configure:10117: checking for $ac_func" >&5
10117 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10118 echo $ac_n "(cached) $ac_c" 1>&6
10120 cat > conftest.
$ac_ext <<EOF
10121 #line 10122 "configure"
10122 #include "confdefs.h"
10123 /* System header to define __stub macros and hopefully few prototypes,
10124 which can conflict with char $ac_func(); below. */
10125 #include <assert.h>
10126 /* Override any gcc2 internal prototype to avoid an error. */
10127 /* We use char because int might match the return type of a gcc2
10128 builtin and then its argument prototype would still apply. */
10133 /* The GNU C library defines this for functions which it implements
10134 to always fail with ENOSYS. Some functions are actually named
10135 something starting with __ and the normal name is an alias. */
10136 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10144 if { (eval echo configure
:10145: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10146 eval "ac_cv_func_$ac_func=yes"
10148 echo "configure: failed program was:" >&5
10149 cat conftest.
$ac_ext >&5
10151 eval "ac_cv_func_$ac_func=no"
10156 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10157 echo "$ac_t""yes" 1>&6
10158 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10159 cat >> confdefs.h
<<EOF
10160 #define $ac_tr_func 1
10162 cat >> confdefs.h
<<\EOF
10163 #define HAVE_INET_ADDR 1
10167 echo "$ac_t""no" 1>&6
10168 echo $ac_n "checking for inet_addr in -lnsl""... $ac_c" 1>&6
10169 echo "configure:10170: checking for inet_addr in -lnsl" >&5
10170 ac_lib_var
=`echo nsl'_'inet_addr | sed 'y%./+-%__p_%'`
10171 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10172 echo $ac_n "(cached) $ac_c" 1>&6
10174 ac_save_LIBS
="$LIBS"
10176 cat > conftest.
$ac_ext <<EOF
10177 #line 10178 "configure"
10178 #include "confdefs.h"
10179 /* Override any gcc2 internal prototype to avoid an error. */
10180 /* We use char because int might match the return type of a gcc2
10181 builtin and then its argument prototype would still apply. */
10188 if { (eval echo configure
:10189: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10190 eval "ac_cv_lib_$ac_lib_var=yes"
10192 echo "configure: failed program was:" >&5
10193 cat conftest.
$ac_ext >&5
10195 eval "ac_cv_lib_$ac_lib_var=no"
10198 LIBS
="$ac_save_LIBS"
10201 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10202 echo "$ac_t""yes" 1>&6
10205 echo "$ac_t""no" 1>&6
10206 echo $ac_n "checking for inet_addr in -lresolv""... $ac_c" 1>&6
10207 echo "configure:10208: checking for inet_addr in -lresolv" >&5
10208 ac_lib_var
=`echo resolv'_'inet_addr | sed 'y%./+-%__p_%'`
10209 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10210 echo $ac_n "(cached) $ac_c" 1>&6
10212 ac_save_LIBS
="$LIBS"
10213 LIBS
="-lresolv $LIBS"
10214 cat > conftest.
$ac_ext <<EOF
10215 #line 10216 "configure"
10216 #include "confdefs.h"
10217 /* Override any gcc2 internal prototype to avoid an error. */
10218 /* We use char because int might match the return type of a gcc2
10219 builtin and then its argument prototype would still apply. */
10226 if { (eval echo configure
:10227: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10228 eval "ac_cv_lib_$ac_lib_var=yes"
10230 echo "configure: failed program was:" >&5
10231 cat conftest.
$ac_ext >&5
10233 eval "ac_cv_lib_$ac_lib_var=no"
10236 LIBS
="$ac_save_LIBS"
10239 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10240 echo "$ac_t""yes" 1>&6
10244 echo "$ac_t""no" 1>&6
10256 for ac_func
in inet_aton
10258 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10259 echo "configure:10260: checking for $ac_func" >&5
10260 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10261 echo $ac_n "(cached) $ac_c" 1>&6
10263 cat > conftest.
$ac_ext <<EOF
10264 #line 10265 "configure"
10265 #include "confdefs.h"
10266 /* System header to define __stub macros and hopefully few prototypes,
10267 which can conflict with char $ac_func(); below. */
10268 #include <assert.h>
10269 /* Override any gcc2 internal prototype to avoid an error. */
10270 /* We use char because int might match the return type of a gcc2
10271 builtin and then its argument prototype would still apply. */
10276 /* The GNU C library defines this for functions which it implements
10277 to always fail with ENOSYS. Some functions are actually named
10278 something starting with __ and the normal name is an alias. */
10279 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10287 if { (eval echo configure
:10288: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10289 eval "ac_cv_func_$ac_func=yes"
10291 echo "configure: failed program was:" >&5
10292 cat conftest.
$ac_ext >&5
10294 eval "ac_cv_func_$ac_func=no"
10299 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10300 echo "$ac_t""yes" 1>&6
10301 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10302 cat >> confdefs.h
<<EOF
10303 #define $ac_tr_func 1
10305 cat >> confdefs.h
<<\EOF
10306 #define HAVE_INET_ATON 1
10310 echo "$ac_t""no" 1>&6
10311 echo $ac_n "checking for inet_aton in -l$INET_LINK""... $ac_c" 1>&6
10312 echo "configure:10313: checking for inet_aton in -l$INET_LINK" >&5
10313 ac_lib_var
=`echo $INET_LINK'_'inet_aton | sed 'y%./+-%__p_%'`
10314 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10315 echo $ac_n "(cached) $ac_c" 1>&6
10317 ac_save_LIBS
="$LIBS"
10318 LIBS
="-l$INET_LINK $LIBS"
10319 cat > conftest.
$ac_ext <<EOF
10320 #line 10321 "configure"
10321 #include "confdefs.h"
10322 /* Override any gcc2 internal prototype to avoid an error. */
10323 /* We use char because int might match the return type of a gcc2
10324 builtin and then its argument prototype would still apply. */
10331 if { (eval echo configure
:10332: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10333 eval "ac_cv_lib_$ac_lib_var=yes"
10335 echo "configure: failed program was:" >&5
10336 cat conftest.
$ac_ext >&5
10338 eval "ac_cv_lib_$ac_lib_var=no"
10341 LIBS
="$ac_save_LIBS"
10344 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10345 echo "$ac_t""yes" 1>&6
10346 cat >> confdefs.h
<<\EOF
10347 #define HAVE_INET_ATON 1
10351 echo "$ac_t""no" 1>&6
10359 if test "x$INET_LINK" != "x"; then
10360 cat >> confdefs.h
<<\EOF
10361 #define HAVE_INET_ADDR 1
10364 INET_LINK
="-l$INET_LINK"
10370 cat > confcache
<<\EOF
10371 # This file is a shell script that caches the results of configure
10372 # tests run on this system so they can be shared between configure
10373 # scripts and configure runs. It is not useful on other systems.
10374 # If it contains results you don't want to keep, you may remove or edit it.
10376 # By default, configure uses ./config.cache as the cache file,
10377 # creating it if it does not exist already. You can give configure
10378 # the --cache-file=FILE option to use a different cache file; that is
10379 # what configure does when it calls configure scripts in
10380 # subdirectories, so they share the cache.
10381 # Giving --cache-file=/dev/null disables caching, for debugging configure.
10382 # config.status only pays attention to the cache file if you give it the
10383 # --recheck option to rerun configure.
10386 # The following way of writing the cache mishandles newlines in values,
10387 # but we know of no workaround that is simple, portable, and efficient.
10388 # So, don't put newlines in cache variables' values.
10389 # Ultrix sh set writes to stderr and can't be redirected directly,
10390 # and sets the high bit in the cache file unless we assign to the vars.
10392 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10394 # `set' does not quote correctly, so add quotes (double-quote substitution
10395 # turns \\\\ into \\, and sed turns \\ into \).
10397 -e "s/'/'\\\\''/g" \
10398 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
10401 # `set' quotes correctly as required by POSIX, so do not add quotes.
10402 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
10405 if cmp -s $cache_file confcache
; then
10408 if test -w $cache_file; then
10409 echo "updating cache $cache_file"
10410 cat confcache
> $cache_file
10412 echo "not updating unwritable cache $cache_file"
10419 if test "$USE_UNIX" = 1; then
10425 if test "$wxUSE_THREADS" = "yes" ; then
10426 if test "$wxUSE_WINE" = 1 ; then
10427 echo "configure: warning: Threads are not supported under WINE" 1>&2
10432 if test "$wxUSE_THREADS" = "yes" ; then
10434 echo $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6
10435 echo "configure:10436: checking for pthread_create in -lpthread" >&5
10436 ac_lib_var
=`echo pthread'_'pthread_create | sed 'y%./+-%__p_%'`
10437 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10438 echo $ac_n "(cached) $ac_c" 1>&6
10440 ac_save_LIBS
="$LIBS"
10441 LIBS
="-lpthread $LIBS"
10442 cat > conftest.
$ac_ext <<EOF
10443 #line 10444 "configure"
10444 #include "confdefs.h"
10445 /* Override any gcc2 internal prototype to avoid an error. */
10446 /* We use char because int might match the return type of a gcc2
10447 builtin and then its argument prototype would still apply. */
10448 char pthread_create();
10454 if { (eval echo configure
:10455: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10456 eval "ac_cv_lib_$ac_lib_var=yes"
10458 echo "configure: failed program was:" >&5
10459 cat conftest.
$ac_ext >&5
10461 eval "ac_cv_lib_$ac_lib_var=no"
10464 LIBS
="$ac_save_LIBS"
10467 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10468 echo "$ac_t""yes" 1>&6
10470 THREADS_OBJ
="threadpsx.lo"
10471 THREADS_LINK
="pthread"
10474 echo "$ac_t""no" 1>&6
10476 echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
10477 echo "configure:10478: checking for pthread_create in -lc_r" >&5
10478 ac_lib_var
=`echo c_r'_'pthread_create | sed 'y%./+-%__p_%'`
10479 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10480 echo $ac_n "(cached) $ac_c" 1>&6
10482 ac_save_LIBS
="$LIBS"
10484 cat > conftest.
$ac_ext <<EOF
10485 #line 10486 "configure"
10486 #include "confdefs.h"
10487 /* Override any gcc2 internal prototype to avoid an error. */
10488 /* We use char because int might match the return type of a gcc2
10489 builtin and then its argument prototype would still apply. */
10490 char pthread_create();
10496 if { (eval echo configure
:10497: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10498 eval "ac_cv_lib_$ac_lib_var=yes"
10500 echo "configure: failed program was:" >&5
10501 cat conftest.
$ac_ext >&5
10503 eval "ac_cv_lib_$ac_lib_var=no"
10506 LIBS
="$ac_save_LIBS"
10509 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10510 echo "$ac_t""yes" 1>&6
10512 THREADS_OBJ
="threadpsx.lo"
10516 echo "$ac_t""no" 1>&6
10518 ac_safe
=`echo "sys/prctl.h" | sed 'y%./+-%__p_%'`
10519 echo $ac_n "checking for sys/prctl.h""... $ac_c" 1>&6
10520 echo "configure:10521: checking for sys/prctl.h" >&5
10521 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10522 echo $ac_n "(cached) $ac_c" 1>&6
10524 cat > conftest.
$ac_ext <<EOF
10525 #line 10526 "configure"
10526 #include "confdefs.h"
10527 #include <sys/prctl.h>
10529 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10530 { (eval echo configure
:10531: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10531 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10532 if test -z "$ac_err"; then
10534 eval "ac_cv_header_$ac_safe=yes"
10537 echo "configure: failed program was:" >&5
10538 cat conftest.
$ac_ext >&5
10540 eval "ac_cv_header_$ac_safe=no"
10544 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10545 echo "$ac_t""yes" 1>&6
10547 THREADS_OBJ
="threadsgi.lo"
10550 echo "$ac_t""no" 1>&6
10560 if test -z "$THREADS_OBJ" ; then
10562 echo "configure: warning: No thread support on this system" 1>&2
10566 if test "$wxUSE_THREADS" = "yes" ; then
10567 for ac_func
in thr_setconcurrency
10569 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10570 echo "configure:10571: checking for $ac_func" >&5
10571 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10572 echo $ac_n "(cached) $ac_c" 1>&6
10574 cat > conftest.
$ac_ext <<EOF
10575 #line 10576 "configure"
10576 #include "confdefs.h"
10577 /* System header to define __stub macros and hopefully few prototypes,
10578 which can conflict with char $ac_func(); below. */
10579 #include <assert.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. */
10587 /* The GNU C library defines this for functions which it implements
10588 to always fail with ENOSYS. Some functions are actually named
10589 something starting with __ and the normal name is an alias. */
10590 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10598 if { (eval echo configure
:10599: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10600 eval "ac_cv_func_$ac_func=yes"
10602 echo "configure: failed program was:" >&5
10603 cat conftest.
$ac_ext >&5
10605 eval "ac_cv_func_$ac_func=no"
10610 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10611 echo "$ac_t""yes" 1>&6
10612 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10613 cat >> confdefs.h
<<EOF
10614 #define $ac_tr_func 1
10618 echo "$ac_t""no" 1>&6
10624 for ac_hdr
in sched.h
10626 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10627 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10628 echo "configure:10629: checking for $ac_hdr" >&5
10629 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10630 echo $ac_n "(cached) $ac_c" 1>&6
10632 cat > conftest.
$ac_ext <<EOF
10633 #line 10634 "configure"
10634 #include "confdefs.h"
10637 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10638 { (eval echo configure
:10639: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10639 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10640 if test -z "$ac_err"; then
10642 eval "ac_cv_header_$ac_safe=yes"
10645 echo "configure: failed program was:" >&5
10646 cat conftest.
$ac_ext >&5
10648 eval "ac_cv_header_$ac_safe=no"
10652 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10653 echo "$ac_t""yes" 1>&6
10654 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10655 cat >> confdefs.h
<<EOF
10656 #define $ac_tr_hdr 1
10660 echo "$ac_t""no" 1>&6
10665 echo $ac_n "checking for sched_yield in -l$THREADS_LINK""... $ac_c" 1>&6
10666 echo "configure:10667: checking for sched_yield in -l$THREADS_LINK" >&5
10667 ac_lib_var
=`echo $THREADS_LINK'_'sched_yield | sed 'y%./+-%__p_%'`
10668 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10669 echo $ac_n "(cached) $ac_c" 1>&6
10671 ac_save_LIBS
="$LIBS"
10672 LIBS
="-l$THREADS_LINK $LIBS"
10673 cat > conftest.
$ac_ext <<EOF
10674 #line 10675 "configure"
10675 #include "confdefs.h"
10676 /* Override any gcc2 internal prototype to avoid an error. */
10677 /* We use char because int might match the return type of a gcc2
10678 builtin and then its argument prototype would still apply. */
10679 char sched_yield();
10685 if { (eval echo configure
:10686: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10687 eval "ac_cv_lib_$ac_lib_var=yes"
10689 echo "configure: failed program was:" >&5
10690 cat conftest.
$ac_ext >&5
10692 eval "ac_cv_lib_$ac_lib_var=no"
10695 LIBS
="$ac_save_LIBS"
10698 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10699 echo "$ac_t""yes" 1>&6
10700 cat >> confdefs.h
<<\EOF
10701 #define HAVE_SCHED_YIELD 1
10705 echo "$ac_t""no" 1>&6
10706 echo $ac_n "checking for sched_yield in -l"posix4
"""... $ac_c" 1>&6
10707 echo "configure:10708: checking for sched_yield in -l"posix4
"" >&5
10708 ac_lib_var
=`echo "posix4"'_'sched_yield | sed 'y%./+-%__p_%'`
10709 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10710 echo $ac_n "(cached) $ac_c" 1>&6
10712 ac_save_LIBS
="$LIBS"
10713 LIBS
="-l"posix4
" $LIBS"
10714 cat > conftest.
$ac_ext <<EOF
10715 #line 10716 "configure"
10716 #include "confdefs.h"
10717 /* Override any gcc2 internal prototype to avoid an error. */
10718 /* We use char because int might match the return type of a gcc2
10719 builtin and then its argument prototype would still apply. */
10720 char sched_yield();
10726 if { (eval echo configure
:10727: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10728 eval "ac_cv_lib_$ac_lib_var=yes"
10730 echo "configure: failed program was:" >&5
10731 cat conftest.
$ac_ext >&5
10733 eval "ac_cv_lib_$ac_lib_var=no"
10736 LIBS
="$ac_save_LIBS"
10739 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10740 echo "$ac_t""yes" 1>&6
10741 cat >> confdefs.h
<<\EOF
10742 #define HAVE_SCHED_YIELD 1
10744 POSIX4_LINK
="-lposix4"
10746 echo "$ac_t""no" 1>&6
10747 echo "configure: warning: wxThread::Yield will not work properly" 1>&2
10755 echo $ac_n "checking for pthread_attr_getschedpolicy in -l$THREADS_LINK""... $ac_c" 1>&6
10756 echo "configure:10757: checking for pthread_attr_getschedpolicy in -l$THREADS_LINK" >&5
10757 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
10758 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10759 echo $ac_n "(cached) $ac_c" 1>&6
10761 ac_save_LIBS
="$LIBS"
10762 LIBS
="-l$THREADS_LINK $LIBS"
10763 cat > conftest.
$ac_ext <<EOF
10764 #line 10765 "configure"
10765 #include "confdefs.h"
10766 /* Override any gcc2 internal prototype to avoid an error. */
10767 /* We use char because int might match the return type of a gcc2
10768 builtin and then its argument prototype would still apply. */
10769 char pthread_attr_getschedpolicy();
10772 pthread_attr_getschedpolicy()
10775 if { (eval echo configure
:10776: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10777 eval "ac_cv_lib_$ac_lib_var=yes"
10779 echo "configure: failed program was:" >&5
10780 cat conftest.
$ac_ext >&5
10782 eval "ac_cv_lib_$ac_lib_var=no"
10785 LIBS
="$ac_save_LIBS"
10788 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10789 echo "$ac_t""yes" 1>&6
10790 cat >> confdefs.h
<<\EOF
10791 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
10795 echo "$ac_t""no" 1>&6
10796 echo $ac_n "checking for pthread_attr_getschedpolicy in -l"posix4
"""... $ac_c" 1>&6
10797 echo "configure:10798: checking for pthread_attr_getschedpolicy in -l"posix4
"" >&5
10798 ac_lib_var
=`echo "posix4"'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
10799 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10800 echo $ac_n "(cached) $ac_c" 1>&6
10802 ac_save_LIBS
="$LIBS"
10803 LIBS
="-l"posix4
" $LIBS"
10804 cat > conftest.
$ac_ext <<EOF
10805 #line 10806 "configure"
10806 #include "confdefs.h"
10807 /* Override any gcc2 internal prototype to avoid an error. */
10808 /* We use char because int might match the return type of a gcc2
10809 builtin and then its argument prototype would still apply. */
10810 char pthread_attr_getschedpolicy();
10813 pthread_attr_getschedpolicy()
10816 if { (eval echo configure
:10817: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10818 eval "ac_cv_lib_$ac_lib_var=yes"
10820 echo "configure: failed program was:" >&5
10821 cat conftest.
$ac_ext >&5
10823 eval "ac_cv_lib_$ac_lib_var=no"
10826 LIBS
="$ac_save_LIBS"
10829 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10830 echo "$ac_t""yes" 1>&6
10831 cat >> confdefs.h
<<\EOF
10832 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
10834 POSIX4_LINK
="-lposix4"
10836 echo "$ac_t""no" 1>&6
10837 echo "configure: warning: Setting thread priority will not work" 1>&2
10845 echo $ac_n "checking for pthread_cancel in -l$THREADS_LINK""... $ac_c" 1>&6
10846 echo "configure:10847: checking for pthread_cancel in -l$THREADS_LINK" >&5
10847 ac_lib_var
=`echo $THREADS_LINK'_'pthread_cancel | sed 'y%./+-%__p_%'`
10848 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10849 echo $ac_n "(cached) $ac_c" 1>&6
10851 ac_save_LIBS
="$LIBS"
10852 LIBS
="-l$THREADS_LINK $LIBS"
10853 cat > conftest.
$ac_ext <<EOF
10854 #line 10855 "configure"
10855 #include "confdefs.h"
10856 /* Override any gcc2 internal prototype to avoid an error. */
10857 /* We use char because int might match the return type of a gcc2
10858 builtin and then its argument prototype would still apply. */
10859 char pthread_cancel();
10865 if { (eval echo configure
:10866: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10867 eval "ac_cv_lib_$ac_lib_var=yes"
10869 echo "configure: failed program was:" >&5
10870 cat conftest.
$ac_ext >&5
10872 eval "ac_cv_lib_$ac_lib_var=no"
10875 LIBS
="$ac_save_LIBS"
10878 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10879 echo "$ac_t""yes" 1>&6
10880 cat >> confdefs.h
<<\EOF
10881 #define HAVE_PTHREAD_CANCEL 1
10885 echo "$ac_t""no" 1>&6
10886 echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
10890 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
10891 echo "configure:10892: checking for pthread_cleanup_push/pop" >&5
10892 if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
10893 echo $ac_n "(cached) $ac_c" 1>&6
10896 cat > conftest.
$ac_ext <<EOF
10897 #line 10898 "configure"
10898 #include "confdefs.h"
10899 #include <pthread.h>
10902 pthread_cleanup_push(NULL, NULL);
10903 pthread_cleanup_pop(0);
10907 if { (eval echo configure
:10908: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10910 wx_cv_func_pthread_cleanup_push
=yes
10911 cat >> confdefs.h
<<\EOF
10912 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
10917 echo "configure: failed program was:" >&5
10918 cat conftest.
$ac_ext >&5
10921 wx_cv_func_pthread_cleanup_push
=no
10928 echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
10930 THREADS_LINK
="-l$THREADS_LINK"
10935 if test "$wxUSE_THREADS" = "yes"; then
10936 cat >> confdefs.h
<<\EOF
10937 #define wxUSE_THREADS 1
10941 CFLAGS
="${CFLAGS} -D_REENTRANT"
10942 CXXFLAGS
="${CXXFLAGS} -D_REENTRANT"
10944 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
10946 if test "$ac_cv_func_strtok_r" = "yes"; then
10947 echo $ac_n "checking if -D_REENTRANT is needed""... $ac_c" 1>&6
10948 echo "configure:10949: checking if -D_REENTRANT is needed" >&5
10949 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
10950 CFLAGS
="${CFLAGS} -D_REENTRANT"
10951 CXXFLAGS
="${CXXFLAGS} -D_REENTRANT"
10952 echo "$ac_t""yes" 1>&6
10954 echo "$ac_t""no" 1>&6
10959 if test "$WXGTK12" = 1 ; then
10960 cat >> confdefs.h
<<EOF
10961 #define __WXGTK12__ $WXGTK12
10966 if test "$WXWINE" = 1 ; then
10967 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WXWINE__"
10970 if test "$wxUSE_CYGWIN" = 1 ; then
10971 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WIN95__"
10976 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
10981 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
10982 wxUSE_DEBUG_INFO
=yes
10986 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
10987 cat >> confdefs.h
<<\EOF
10991 WXDEBUG_DEFINE
="-D__WXDEBUG__"
10993 if test "$wxUSE_GTK" = 1 ; then
10994 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
10998 if test "$wxUSE_MEM_TRACING" = "yes" ; then
10999 cat >> confdefs.h
<<\EOF
11000 #define wxUSE_MEMORY_TRACING 1
11003 cat >> confdefs.h
<<\EOF
11004 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
11007 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
11010 if test "$wxUSE_DMALLOC" = "yes" ; then
11011 DMALLOC_LINK
="-ldmalloc"
11015 if test "$wxUSE_PROFILE" = "yes" ; then
11020 if test "$GCC" = yes ; then
11021 if test "$wxUSE_NO_RTTI" = "yes" ; then
11022 WXDEBUG_DEFINE
="$WXDEBUG_DEFINE -fno-rtti"
11024 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
11025 WXDEBUG_DEFINE
="$WXDEBUG_DEFINE -fno-exceptions"
11027 if test "$wxUSE_PERMISSIVE" = "yes" ; then
11028 CFLAGS
="${CFLAGS} -fpermissive"
11029 CXXFLAGS
="${CXXFLAGS} -fpermissive"
11031 if test "$wxUSE_NO_DEPS" = "no" ; then
11032 DEP_INFO_FLAGS
="-MMD"
11037 CXXFLAGS
=`echo "${CXXFLAGS}" | sed "s/\-O.//g" `
11038 CFLAGS
=`echo "${CFLAGS}" | sed "s/\-O.//g" `
11039 if test "$wxUSE_OPTIMISE" = "no" ; then
11042 if test "$GCC" = yes ; then
11045 i586
-*-*|i686
-*-* )
11046 OPTIMISE
="${OPTIMISE} "
11056 if test "$wxUSE_ZLIB" = "yes" ; then
11057 cat >> confdefs.h
<<\EOF
11058 #define wxUSE_ZLIB 1
11061 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
11065 if test "$wxUSE_LIBPNG" = "yes" ; then
11066 cat >> confdefs.h
<<\EOF
11067 #define wxUSE_LIBPNG 1
11070 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
11071 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
11075 if test "$wxUSE_LIBJPEG" = "yes" ; then
11076 cat >> confdefs.h
<<\EOF
11077 #define wxUSE_LIBJPEG 1
11080 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
11084 if test "$wxUSE_LIBTIFF" = "yes" ; then
11085 cat >> confdefs.h
<<\EOF
11086 #define wxUSE_LIBTIFF 1
11089 TIFF_INCLUDE
="-I\${top_srcdir}/src/tiff"
11092 if test "$wxUSE_OPENGL" = "yes"; then
11093 ac_safe
=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
11094 echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
11095 echo "configure:11096: checking for GL/gl.h" >&5
11096 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11097 echo $ac_n "(cached) $ac_c" 1>&6
11099 cat > conftest.
$ac_ext <<EOF
11100 #line 11101 "configure"
11101 #include "confdefs.h"
11104 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11105 { (eval echo configure
:11106: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11106 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11107 if test -z "$ac_err"; then
11109 eval "ac_cv_header_$ac_safe=yes"
11112 echo "configure: failed program was:" >&5
11113 cat conftest.
$ac_ext >&5
11115 eval "ac_cv_header_$ac_safe=no"
11119 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11120 echo "$ac_t""yes" 1>&6
11122 echo $ac_n "checking for glInitNames in -lGL""... $ac_c" 1>&6
11123 echo "configure:11124: checking for glInitNames in -lGL" >&5
11124 ac_lib_var
=`echo GL'_'glInitNames | sed 'y%./+-%__p_%'`
11125 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11126 echo $ac_n "(cached) $ac_c" 1>&6
11128 ac_save_LIBS
="$LIBS"
11129 LIBS
="-lGL wxUSE_OPENGL=0 $LIBS"
11130 cat > conftest.
$ac_ext <<EOF
11131 #line 11132 "configure"
11132 #include "confdefs.h"
11133 /* Override any gcc2 internal prototype to avoid an error. */
11134 /* We use char because int might match the return type of a gcc2
11135 builtin and then its argument prototype would still apply. */
11136 char glInitNames();
11142 if { (eval echo configure
:11143: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11144 eval "ac_cv_lib_$ac_lib_var=yes"
11146 echo "configure: failed program was:" >&5
11147 cat conftest.
$ac_ext >&5
11149 eval "ac_cv_lib_$ac_lib_var=no"
11152 LIBS
="$ac_save_LIBS"
11155 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11156 echo "$ac_t""yes" 1>&6
11159 cat >> confdefs.h
<<\EOF
11160 #define wxUSE_OPENGL 1
11163 UTILS_SUBDIRS
="$UTILS_SUBDIRS glcanvas/src"
11166 echo "$ac_t""no" 1>&6
11168 echo $ac_n "checking for glInitNames in -lMesaGL""... $ac_c" 1>&6
11169 echo "configure:11170: checking for glInitNames in -lMesaGL" >&5
11170 ac_lib_var
=`echo MesaGL'_'glInitNames | sed 'y%./+-%__p_%'`
11171 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11172 echo $ac_n "(cached) $ac_c" 1>&6
11174 ac_save_LIBS
="$LIBS"
11175 LIBS
="-lMesaGL $LIBS"
11176 cat > conftest.
$ac_ext <<EOF
11177 #line 11178 "configure"
11178 #include "confdefs.h"
11179 /* Override any gcc2 internal prototype to avoid an error. */
11180 /* We use char because int might match the return type of a gcc2
11181 builtin and then its argument prototype would still apply. */
11182 char glInitNames();
11188 if { (eval echo configure
:11189: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11190 eval "ac_cv_lib_$ac_lib_var=yes"
11192 echo "configure: failed program was:" >&5
11193 cat conftest.
$ac_ext >&5
11195 eval "ac_cv_lib_$ac_lib_var=no"
11198 LIBS
="$ac_save_LIBS"
11201 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11202 echo "$ac_t""yes" 1>&6
11204 OPENGL_LINK
="-lMesaGL"
11205 cat >> confdefs.h
<<\EOF
11206 #define wxUSE_OPENGL 1
11209 UTILS_SUBDIRS
="$UTILS_SUBDIRS glcanvas/src"
11212 echo "$ac_t""no" 1>&6
11221 echo "$ac_t""no" 1>&6
11228 if test "$wxUSE_GUI" = "yes"; then
11229 cat >> confdefs.h
<<\EOF
11230 #define wxUSE_GUI 1
11235 cat >> confdefs.h
<<\EOF
11236 #define wxUSE_NOGUI 1
11242 if test "$wxUSE_UNIX" = "yes"; then
11243 cat >> confdefs.h
<<\EOF
11244 #define wxUSE_UNIX 1
11250 if test "$wxUSE_APPLE_IEEE" = "yes"; then
11251 cat >> confdefs.h
<<\EOF
11252 #define wxUSE_APPLE_IEEE 1
11257 if test "$wxUSE_WAVE" = "yes"; then
11258 cat >> confdefs.h
<<\EOF
11259 #define wxUSE_WAVE 1
11264 if test "$wxUSE_FILE" = "yes"; then
11265 cat >> confdefs.h
<<\EOF
11266 #define wxUSE_FILE 1
11271 if test "$wxUSE_FS_INET" = "yes"; then
11272 cat >> confdefs.h
<<\EOF
11273 #define wxUSE_FS_INET 1
11278 if test "$wxUSE_FS_ZIP" = "yes"; then
11279 cat >> confdefs.h
<<\EOF
11280 #define wxUSE_FS_ZIP 1
11285 if test "$wxUSE_ZIPSTREAM" = "yes"; then
11286 cat >> confdefs.h
<<\EOF
11287 #define wxUSE_ZIPSTREAM 1
11292 if test "$wxUSE_BUSYINFO" = "yes"; then
11293 cat >> confdefs.h
<<\EOF
11294 #define wxUSE_BUSYINFO 1
11299 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
11300 cat >> confdefs.h
<<\EOF
11301 #define wxUSE_STD_IOSTREAM 1
11306 if test "$wxUSE_TEXTFILE" = "yes"; then
11307 if test "$wxUSE_FILE" != "yes"; then
11308 echo "configure: warning: wxTextFile requires wxFile and it won't be compiled without it" 1>&2
11310 cat >> confdefs.h
<<\EOF
11311 #define wxUSE_TEXTFILE 1
11317 if test "$wxUSE_CONFIG" = "yes" ; then
11318 if test "$wxUSE_TEXTFILE" != "yes"; then
11319 echo "configure: warning: wxConfig requires wxTextFile and it won't be compiled without it" 1>&2
11321 cat >> confdefs.h
<<\EOF
11322 #define wxUSE_CONFIG 1
11325 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
11329 if test "$wxUSE_INTL" = "yes" ; then
11330 if test "$wxUSE_FILE" != "yes"; then
11331 echo "configure: warning: I18n code requires wxFile and it won't be compiled without it" 1>&2
11333 cat >> confdefs.h
<<\EOF
11334 #define wxUSE_INTL 1
11337 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
11341 if test "$wxUSE_LOG" = "yes"; then
11342 cat >> confdefs.h
<<\EOF
11343 #define wxUSE_LOG 1
11348 if test "$wxUSE_LONGLONG" = "yes"; then
11349 cat >> confdefs.h
<<\EOF
11350 #define wxUSE_LONGLONG 1
11355 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
11356 cat >> confdefs.h
<<\EOF
11357 #define wxUSE_DIALUP_MANAGER 1
11360 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS nettest"
11363 if test "$wxUSE_STREAMS" = "yes" ; then
11364 cat >> confdefs.h
<<\EOF
11365 #define wxUSE_STREAMS 1
11370 if test "$wxUSE_SERIAL" = "yes" ; then
11371 cat >> confdefs.h
<<\EOF
11372 #define wxUSE_SERIAL 1
11378 if test "$wxUSE_TIMEDATE" = "yes"; then
11379 for ac_func
in localtime gettimeofday ftime
11381 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11382 echo "configure:11383: checking for $ac_func" >&5
11383 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11384 echo $ac_n "(cached) $ac_c" 1>&6
11386 cat > conftest.
$ac_ext <<EOF
11387 #line 11388 "configure"
11388 #include "confdefs.h"
11389 /* System header to define __stub macros and hopefully few prototypes,
11390 which can conflict with char $ac_func(); below. */
11391 #include <assert.h>
11392 /* Override any gcc2 internal prototype to avoid an error. */
11393 /* We use char because int might match the return type of a gcc2
11394 builtin and then its argument prototype would still apply. */
11399 /* The GNU C library defines this for functions which it implements
11400 to always fail with ENOSYS. Some functions are actually named
11401 something starting with __ and the normal name is an alias. */
11402 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11410 if { (eval echo configure
:11411: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11412 eval "ac_cv_func_$ac_func=yes"
11414 echo "configure: failed program was:" >&5
11415 cat conftest.
$ac_ext >&5
11417 eval "ac_cv_func_$ac_func=no"
11422 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11423 echo "$ac_t""yes" 1>&6
11424 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11425 cat >> confdefs.h
<<EOF
11426 #define $ac_tr_func 1
11430 echo "$ac_t""no" 1>&6
11435 if test "$ac_cv_func_localtime" = "yes"; then
11436 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
11437 echo "configure:11438: checking for tm_gmtoff in struct tm" >&5
11438 if eval "test \"`echo '$''{'wx_cv_struct_tm_has_gmtoff'+set}'`\" = set"; then
11439 echo $ac_n "(cached) $ac_c" 1>&6
11442 cat > conftest.
$ac_ext <<EOF
11443 #line 11444 "configure"
11444 #include "confdefs.h"
11455 if { (eval echo configure
:11456: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11458 wx_cv_struct_tm_has_gmtoff
=yes
11459 cat >> confdefs.h
<<\EOF
11460 #define WX_GMTOFF_IN_TM 1
11465 echo "configure: failed program was:" >&5
11466 cat conftest.
$ac_ext >&5
11468 wx_cv_struct_tm_has_gmtoff
=no
11475 echo "$ac_t""$wx_cv_struct_tm_has_gmtoff" 1>&6
11476 elif test "$ac_cv_func_gettimeofday" = "yes"; then
11477 echo $ac_n "checking whether gettimeofday takes two arguments""... $ac_c" 1>&6
11478 echo "configure:11479: checking whether gettimeofday takes two arguments" >&5
11479 if eval "test \"`echo '$''{'wx_cv_func_gettimeofday_has_2_args'+set}'`\" = set"; then
11480 echo $ac_n "(cached) $ac_c" 1>&6
11485 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11486 ac_cpp
='$CXXCPP $CPPFLAGS'
11487 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11488 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11489 cross_compiling
=$ac_cv_prog_cxx_cross
11492 cat > conftest.
$ac_ext <<EOF
11493 #line 11494 "configure"
11494 #include "confdefs.h"
11496 #include <sys/time.h>
11497 #include <unistd.h>
11502 struct timezone tz;
11503 gettimeofday(&tv, &tz);
11507 if { (eval echo configure
:11508: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11509 wx_cv_func_gettimeofday_has_2_args
=yes
11511 echo "configure: failed program was:" >&5
11512 cat conftest.
$ac_ext >&5
11514 cat > conftest.
$ac_ext <<EOF
11515 #line 11516 "configure"
11516 #include "confdefs.h"
11518 #include <sys/time.h>
11519 #include <unistd.h>
11528 if { (eval echo configure
:11529: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11530 wx_cv_func_gettimeofday_has_2_args
=no
11532 echo "configure: failed program was:" >&5
11533 cat conftest.
$ac_ext >&5
11535 wx_cv_func_gettimeofday_has_2_args
=unknown
11543 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11544 ac_cpp
='$CPP $CPPFLAGS'
11545 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11546 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11547 cross_compiling
=$ac_cv_prog_cc_cross
11552 echo "$ac_t""$wx_cv_func_gettimeofday_has_2_args" 1>&6
11554 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
11555 cat >> confdefs.h
<<\EOF
11556 #define WX_GETTIMEOFDAY_NO_TZ 1
11562 cat >> confdefs.h
<<\EOF
11563 #define wxUSE_TIMEDATE 1
11566 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
11570 if test "$wxUSE_SOCKETS" = "yes"; then
11571 echo $ac_n "checking for socket""... $ac_c" 1>&6
11572 echo "configure:11573: checking for socket" >&5
11573 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
11574 echo $ac_n "(cached) $ac_c" 1>&6
11576 cat > conftest.
$ac_ext <<EOF
11577 #line 11578 "configure"
11578 #include "confdefs.h"
11579 /* System header to define __stub macros and hopefully few prototypes,
11580 which can conflict with char socket(); below. */
11581 #include <assert.h>
11582 /* Override any gcc2 internal prototype to avoid an error. */
11583 /* We use char because int might match the return type of a gcc2
11584 builtin and then its argument prototype would still apply. */
11589 /* The GNU C library defines this for functions which it implements
11590 to always fail with ENOSYS. Some functions are actually named
11591 something starting with __ and the normal name is an alias. */
11592 #if defined (__stub_socket) || defined (__stub___socket)
11600 if { (eval echo configure
:11601: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11602 eval "ac_cv_func_socket=yes"
11604 echo "configure: failed program was:" >&5
11605 cat conftest.
$ac_ext >&5
11607 eval "ac_cv_func_socket=no"
11612 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
11613 echo "$ac_t""yes" 1>&6
11616 echo "$ac_t""no" 1>&6
11617 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
11618 echo "configure:11619: checking for socket in -lsocket" >&5
11619 ac_lib_var
=`echo socket'_'socket | sed 'y%./+-%__p_%'`
11620 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11621 echo $ac_n "(cached) $ac_c" 1>&6
11623 ac_save_LIBS
="$LIBS"
11624 LIBS
="-lsocket $LIBS"
11625 cat > conftest.
$ac_ext <<EOF
11626 #line 11627 "configure"
11627 #include "confdefs.h"
11628 /* Override any gcc2 internal prototype to avoid an error. */
11629 /* We use char because int might match the return type of a gcc2
11630 builtin and then its argument prototype would still apply. */
11637 if { (eval echo configure
:11638: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11639 eval "ac_cv_lib_$ac_lib_var=yes"
11641 echo "configure: failed program was:" >&5
11642 cat conftest.
$ac_ext >&5
11644 eval "ac_cv_lib_$ac_lib_var=no"
11647 LIBS
="$ac_save_LIBS"
11650 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11651 echo "$ac_t""yes" 1>&6
11652 INET_LINK
="$INET_LINK -lsocket"
11654 echo "$ac_t""no" 1>&6
11656 echo "configure: warning: socket library not found - sockets will be disabled" 1>&2
11667 if test "$wxUSE_SOCKETS" = "yes" ; then
11670 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11671 ac_cpp
='$CXXCPP $CPPFLAGS'
11672 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11673 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11674 cross_compiling
=$ac_cv_prog_cxx_cross
11676 echo $ac_n "checking the type of the third argument of getsockname""... $ac_c" 1>&6
11677 echo "configure:11678: checking the type of the third argument of getsockname" >&5
11678 cat > conftest.
$ac_ext <<EOF
11679 #line 11680 "configure"
11680 #include "confdefs.h"
11681 #include <sys/socket.h>
11683 socklen_t len; getsockname(0, 0, &len);
11686 if { (eval echo configure
:11687: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11688 cat >> confdefs.h
<<\EOF
11689 #define SOCKLEN_T socklen_t
11691 echo "$ac_t""socklen_t" 1>&6
11693 echo "configure: failed program was:" >&5
11694 cat conftest.
$ac_ext >&5
11696 cat > conftest.
$ac_ext <<EOF
11697 #line 11698 "configure"
11698 #include "confdefs.h"
11699 #include <sys/socket.h>
11701 size_t len; getsockname(0, 0, &len);
11704 if { (eval echo configure
:11705: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11706 cat >> confdefs.h
<<\EOF
11707 #define SOCKLEN_T size_t
11709 echo "$ac_t""size_t" 1>&6
11711 echo "configure: failed program was:" >&5
11712 cat conftest.
$ac_ext >&5
11714 cat > conftest.
$ac_ext <<EOF
11715 #line 11716 "configure"
11716 #include "confdefs.h"
11717 #include <sys/socket.h>
11719 int len; getsockname(0, 0, &len);
11722 if { (eval echo configure
:11723: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11724 cat >> confdefs.h
<<\EOF
11725 #define SOCKLEN_T int
11727 echo "$ac_t""int" 1>&6
11729 echo "configure: failed program was:" >&5
11730 cat conftest.
$ac_ext >&5
11732 echo "$ac_t""unknown" 1>&6
11743 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11744 ac_cpp
='$CPP $CPPFLAGS'
11745 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11746 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11747 cross_compiling
=$ac_cv_prog_cc_cross
11750 cat >> confdefs.h
<<\EOF
11751 #define wxUSE_SOCKETS 1
11754 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wxsocket"
11755 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS protocol"
11759 if test "$wxUSE_JOYSTICK" = 1; then
11760 for ac_hdr
in linux
/joystick.h
11762 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11763 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11764 echo "configure:11765: checking for $ac_hdr" >&5
11765 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11766 echo $ac_n "(cached) $ac_c" 1>&6
11768 cat > conftest.
$ac_ext <<EOF
11769 #line 11770 "configure"
11770 #include "confdefs.h"
11773 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11774 { (eval echo configure
:11775: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11775 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11776 if test -z "$ac_err"; then
11778 eval "ac_cv_header_$ac_safe=yes"
11781 echo "configure: failed program was:" >&5
11782 cat conftest.
$ac_ext >&5
11784 eval "ac_cv_header_$ac_safe=no"
11788 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11789 echo "$ac_t""yes" 1>&6
11790 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11791 cat >> confdefs.h
<<EOF
11792 #define $ac_tr_hdr 1
11796 echo "$ac_t""no" 1>&6
11800 if test "$ac_cv_header_linux_joystick_h" = "yes"; then
11801 cat >> confdefs.h
<<\EOF
11802 #define wxUSE_JOYSTICK 1
11805 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
11812 if test "$wxUSE_DYNLIB_CLASS" = "yes"; then
11813 for ac_func
in dlopen
11815 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11816 echo "configure:11817: checking for $ac_func" >&5
11817 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11818 echo $ac_n "(cached) $ac_c" 1>&6
11820 cat > conftest.
$ac_ext <<EOF
11821 #line 11822 "configure"
11822 #include "confdefs.h"
11823 /* System header to define __stub macros and hopefully few prototypes,
11824 which can conflict with char $ac_func(); below. */
11825 #include <assert.h>
11826 /* Override any gcc2 internal prototype to avoid an error. */
11827 /* We use char because int might match the return type of a gcc2
11828 builtin and then its argument prototype would still apply. */
11833 /* The GNU C library defines this for functions which it implements
11834 to always fail with ENOSYS. Some functions are actually named
11835 something starting with __ and the normal name is an alias. */
11836 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11844 if { (eval echo configure
:11845: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11846 eval "ac_cv_func_$ac_func=yes"
11848 echo "configure: failed program was:" >&5
11849 cat conftest.
$ac_ext >&5
11851 eval "ac_cv_func_$ac_func=no"
11856 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11857 echo "$ac_t""yes" 1>&6
11858 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11859 cat >> confdefs.h
<<EOF
11860 #define $ac_tr_func 1
11863 cat >> confdefs.h
<<\EOF
11864 #define HAVE_DLOPEN 1
11870 echo "$ac_t""no" 1>&6
11871 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
11872 echo "configure:11873: checking for dlopen in -ldl" >&5
11873 ac_lib_var
=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
11874 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11875 echo $ac_n "(cached) $ac_c" 1>&6
11877 ac_save_LIBS
="$LIBS"
11879 cat > conftest.
$ac_ext <<EOF
11880 #line 11881 "configure"
11881 #include "confdefs.h"
11882 /* Override any gcc2 internal prototype to avoid an error. */
11883 /* We use char because int might match the return type of a gcc2
11884 builtin and then its argument prototype would still apply. */
11891 if { (eval echo configure
:11892: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11893 eval "ac_cv_lib_$ac_lib_var=yes"
11895 echo "configure: failed program was:" >&5
11896 cat conftest.
$ac_ext >&5
11898 eval "ac_cv_lib_$ac_lib_var=no"
11901 LIBS
="$ac_save_LIBS"
11904 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11905 echo "$ac_t""yes" 1>&6
11907 cat >> confdefs.h
<<\EOF
11908 #define HAVE_DLOPEN 1
11915 echo "$ac_t""no" 1>&6
11917 for ac_func
in shl_load
11919 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11920 echo "configure:11921: checking for $ac_func" >&5
11921 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11922 echo $ac_n "(cached) $ac_c" 1>&6
11924 cat > conftest.
$ac_ext <<EOF
11925 #line 11926 "configure"
11926 #include "confdefs.h"
11927 /* System header to define __stub macros and hopefully few prototypes,
11928 which can conflict with char $ac_func(); below. */
11929 #include <assert.h>
11930 /* Override any gcc2 internal prototype to avoid an error. */
11931 /* We use char because int might match the return type of a gcc2
11932 builtin and then its argument prototype would still apply. */
11937 /* The GNU C library defines this for functions which it implements
11938 to always fail with ENOSYS. Some functions are actually named
11939 something starting with __ and the normal name is an alias. */
11940 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11948 if { (eval echo configure
:11949: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11950 eval "ac_cv_func_$ac_func=yes"
11952 echo "configure: failed program was:" >&5
11953 cat conftest.
$ac_ext >&5
11955 eval "ac_cv_func_$ac_func=no"
11960 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11961 echo "$ac_t""yes" 1>&6
11962 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11963 cat >> confdefs.h
<<EOF
11964 #define $ac_tr_func 1
11967 cat >> confdefs.h
<<\EOF
11968 #define HAVE_SHL_LOAD 1
11974 echo "$ac_t""no" 1>&6
11986 if test "$HAVE_DL_FUNCS" = 0; then
11987 if test "$HAVE_SHL_FUNCS" = 0; then
11988 if test "$USE_UNIX" = 1; then
11989 echo "configure: warning: "--with-dynlib and
--with-odbc will be disabled due to missing shared library support
"" 1>&2
11991 wxUSE_DYNLIB_CLASS
=no
11993 echo "configure: warning: "Cannot check dynlib requirements on non
-Unix platforms. dynlib remains enabled.
"" 1>&2
11999 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
12000 cat >> confdefs.h
<<\EOF
12001 #define wxUSE_DYNLIB_CLASS 1
12007 if test "$wxUSE_UNICODE" = "yes" ; then
12008 cat >> confdefs.h
<<\EOF
12009 #define wxUSE_UNICODE 1
12014 if test "$wxUSE_WCSRTOMBS" = "yes" ; then
12015 cat >> confdefs.h
<<\EOF
12016 #define wxUSE_WCSRTOMBS 1
12021 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
12022 cat >> confdefs.h
<<\EOF
12023 #define wxUSE_EXPERIMENTAL_PRINTF 1
12030 if test "$wxUSE_ODBC" = "yes" ; then
12031 cat >> confdefs.h
<<\EOF
12032 #define wxUSE_ODBC 1
12035 WXODBCFLAG
="-D_IODBC_"
12036 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
12037 IODBCOBJS
="\$(IODBC_OBJS)"
12043 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
12044 cat >> confdefs.h
<<\EOF
12045 #define wxUSE_POSTSCRIPT 1
12050 cat >> confdefs.h
<<\EOF
12051 #define wxUSE_AFM_FOR_POSTSCRIPT 1
12055 cat >> confdefs.h
<<\EOF
12056 #define wxUSE_NORMALIZED_PS_FONTS 1
12061 if test "$wxUSE_CONSTRAINTS" = "yes"; then
12062 cat >> confdefs.h
<<\EOF
12063 #define wxUSE_CONSTRAINTS 1
12066 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
12069 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
12070 cat >> confdefs.h
<<\EOF
12071 #define wxUSE_MDI_ARCHITECTURE 1
12074 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
12077 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
12078 cat >> confdefs.h
<<\EOF
12079 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
12082 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
12083 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
12084 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
12088 if test "$wxUSE_HELP" = "yes"; then
12089 cat >> confdefs.h
<<\EOF
12090 #define wxUSE_HELP 1
12093 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
12096 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
12097 if test "$wxUSE_CONSTRAINTS" != "yes"; then
12098 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
12100 cat >> confdefs.h
<<\EOF
12101 #define wxUSE_PRINTING_ARCHITECTURE 1
12105 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
12108 if test "$wxUSE_PROLOGIO" = "yes" ; then
12109 cat >> confdefs.h
<<\EOF
12110 #define wxUSE_PROLOGIO 1
12115 if test "$wxUSE_RESOURCES" = "yes" ; then
12116 if test "$wxUSE_PROLOGIO" = "yes" ; then
12117 cat >> confdefs.h
<<\EOF
12118 #define wxUSE_RESOURCES 1
12121 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS resource"
12123 echo "configure: warning: wxWindows ressource system requires PrologIO and can't be compiled without it." 1>&2
12127 if test "$wxUSE_X_RESOURCES" = "yes"; then
12128 cat >> confdefs.h
<<\EOF
12129 #define wxUSE_X_RESOURCES 1
12135 if test "$wxUSE_IPC" = "yes"; then
12136 cat >> confdefs.h
<<\EOF
12137 #define wxUSE_IPC 1
12142 if test "$wxUSE_CLIPBOARD" = "yes"; then
12143 cat >> confdefs.h
<<\EOF
12144 #define wxUSE_CLIPBOARD 1
12149 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
12150 if test "$wxUSE_GTK" = 1; then
12151 if test "$WXGTK12" != 1; then
12152 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2" 1>&2
12153 wxUSE_DRAG_AND_DROP
=no
12157 if test "$wxUSE_MOTIF" = 1; then
12158 echo "configure: warning: Drag and drop is not yet supported under Motif" 1>&2
12159 wxUSE_DRAG_AND_DROP
=no
12162 if test "$USE_WIN32" = 1; then
12163 for ac_hdr
in ole2.h
12165 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12166 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12167 echo "configure:12168: checking for $ac_hdr" >&5
12168 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12169 echo $ac_n "(cached) $ac_c" 1>&6
12171 cat > conftest.
$ac_ext <<EOF
12172 #line 12173 "configure"
12173 #include "confdefs.h"
12176 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12177 { (eval echo configure
:12178: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12178 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12179 if test -z "$ac_err"; then
12181 eval "ac_cv_header_$ac_safe=yes"
12184 echo "configure: failed program was:" >&5
12185 cat conftest.
$ac_ext >&5
12187 eval "ac_cv_header_$ac_safe=no"
12191 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12192 echo "$ac_t""yes" 1>&6
12193 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12194 cat >> confdefs.h
<<EOF
12195 #define $ac_tr_hdr 1
12199 echo "$ac_t""no" 1>&6
12203 if test "x$HAVE_OLE2_H" = x
; then
12204 echo "configure: warning: Drag and drop disabled because OLE headers not found" 1>&2
12205 wxUSE_DRAG_AND_DROP
=no
12209 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
12210 cat >> confdefs.h
<<\EOF
12211 #define wxUSE_DRAG_AND_DROP 1
12214 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
12219 if test "$wxUSE_SPLINES" = "yes" ; then
12220 cat >> confdefs.h
<<\EOF
12221 #define wxUSE_SPLINES 1
12227 if test "$wxUSE_ACCEL" = "yes"; then
12228 cat >> confdefs.h
<<\EOF
12229 #define wxUSE_ACCEL 1
12234 if test "$wxUSE_CARET" = "yes"; then
12235 cat >> confdefs.h
<<\EOF
12236 #define wxUSE_CARET 1
12239 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
12242 if test "$wxUSE_COMBOBOX" = "yes"; then
12243 cat >> confdefs.h
<<\EOF
12244 #define wxUSE_COMBOBOX 1
12249 if test "$wxUSE_CHOICE" = "yes"; then
12250 cat >> confdefs.h
<<\EOF
12251 #define wxUSE_CHOICE 1
12256 if test "$wxUSE_BMPBUTTON" = "yes"; then
12257 cat >> confdefs.h
<<\EOF
12258 #define wxUSE_BMPBUTTON 1
12263 if test "$wxUSE_CHECKBOX" = "yes"; then
12264 cat >> confdefs.h
<<\EOF
12265 #define wxUSE_CHECKBOX 1
12270 if test "$wxUSE_CHECKLST" = "yes"; then
12271 cat >> confdefs.h
<<\EOF
12272 #define wxUSE_CHECKLISTBOX 1
12275 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
12278 if test "$wxUSE_GAUGE" = "yes"; then
12279 cat >> confdefs.h
<<\EOF
12280 #define wxUSE_GAUGE 1
12285 if test "$wxUSE_GRID" = "yes"; then
12286 cat >> confdefs.h
<<\EOF
12287 #define wxUSE_GRID 1
12290 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
12293 if test "$wxUSE_NEW_GRID" = "yes"; then
12294 cat >> confdefs.h
<<\EOF
12295 #define wxUSE_NEW_GRID 1
12298 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS newgrid"
12301 if test "$wxUSE_IMAGLIST" = "yes"; then
12302 cat >> confdefs.h
<<\EOF
12303 #define wxUSE_IMAGLIST 1
12308 if test "$wxUSE_LISTBOX" = "yes"; then
12309 cat >> confdefs.h
<<\EOF
12310 #define wxUSE_LISTBOX 1
12315 if test "$wxUSE_LISTCTRL" = "yes"; then
12316 if test "$wxUSE_IMAGLIST" = "yes"; then
12317 cat >> confdefs.h
<<\EOF
12318 #define wxUSE_LISTCTRL 1
12321 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
12323 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
12327 if test "$wxUSE_NOTEBOOK" = "yes"; then
12328 cat >> confdefs.h
<<\EOF
12329 #define wxUSE_NOTEBOOK 1
12332 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
12335 if test "$wxUSE_RADIOBOX" = "yes"; then
12336 cat >> confdefs.h
<<\EOF
12337 #define wxUSE_RADIOBOX 1
12342 if test "$wxUSE_RADIOBTN" = "yes"; then
12343 cat >> confdefs.h
<<\EOF
12344 #define wxUSE_RADIOBTN 1
12349 if test "$wxUSE_SASH" = "yes"; then
12350 cat >> confdefs.h
<<\EOF
12351 #define wxUSE_SASH 1
12354 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
12357 if test "$wxUSE_SCROLLBAR" = "yes"; then
12358 cat >> confdefs.h
<<\EOF
12359 #define wxUSE_SCROLLBAR 1
12362 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
12365 if test "$wxUSE_SLIDER" = "yes"; then
12366 cat >> confdefs.h
<<\EOF
12367 #define wxUSE_SLIDER 1
12372 if test "$wxUSE_SPINBTN" = "yes"; then
12373 cat >> confdefs.h
<<\EOF
12374 #define wxUSE_SPINBTN 1
12379 if test "$wxUSE_SPINCTRL" = "yes"; then
12380 cat >> confdefs.h
<<\EOF
12381 #define wxUSE_SPINCTRL 1
12386 if test "$wxUSE_SPLITTER" = "yes"; then
12387 cat >> confdefs.h
<<\EOF
12388 #define wxUSE_SPLITTER 1
12391 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
12394 if test "$wxUSE_STATBMP" = "yes"; then
12395 cat >> confdefs.h
<<\EOF
12396 #define wxUSE_STATBMP 1
12401 if test "$wxUSE_STATBOX" = "yes"; then
12402 cat >> confdefs.h
<<\EOF
12403 #define wxUSE_STATBOX 1
12408 if test "$wxUSE_STATLINE" = "yes"; then
12409 if test "$wxUSE_WINE" = 1 ; then
12410 echo "configure: warning: wxStaticLine is not supported under WINE" 1>&2
12412 cat >> confdefs.h
<<\EOF
12413 #define wxUSE_STATLINE 1
12419 if test "$wxUSE_STATUSBAR" = "yes"; then
12420 cat >> confdefs.h
<<\EOF
12421 #define wxUSE_STATUSBAR 1
12426 if test "$wxUSE_TABDIALOG" = "yes"; then
12427 cat >> confdefs.h
<<\EOF
12428 #define wxUSE_TAB_DIALOG 1
12431 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
12434 if test "$wxUSE_TOOLBAR" = "yes"; then
12435 cat >> confdefs.h
<<\EOF
12436 #define wxUSE_TOOLBAR 1
12439 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
12442 if test "$wxUSE_TOOLTIPS" = "yes"; then
12443 if test "$wxUSE_MOTIF" = 1; then
12444 echo "configure: warning: wxTooltip not supported yet under Motif" 1>&2
12446 if test "$wxUSE_WINE" = 1; then
12447 echo "configure: warning: wxTooltip not supported under WINE" 1>&2
12449 cat >> confdefs.h
<<\EOF
12450 #define wxUSE_TOOLTIPS 1
12457 if test "$wxUSE_TREECTRL" = "yes"; then
12458 if test "$wxUSE_IMAGLIST" = "yes"; then
12459 cat >> confdefs.h
<<\EOF
12460 #define wxUSE_TREECTRL 1
12463 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
12465 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
12471 if test "$wxUSE_METAFILE" = "yes"; then
12472 cat >> confdefs.h
<<\EOF
12473 #define wxUSE_METAFILE 1
12478 if test "$wxUSE_DIRDLG" = "yes"; then
12479 if test "$wxUSE_CONSTRAINTS" != "yes"; then
12480 echo "configure: warning: wxDirDialog requires constraints so it won't be compiled without them" 1>&2
12482 if test "$wxUSE_TREECTRL" != "yes"; then
12483 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
12485 cat >> confdefs.h
<<\EOF
12486 #define wxUSE_DIRDLG 1
12493 if test "$wxUSE_TEXTDLG" = "yes"; then
12494 cat >> confdefs.h
<<\EOF
12495 #define wxUSE_TEXTDLG 1
12500 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
12501 if test "$wxUSE_CONSTRAINTS" != "yes"; then
12502 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
12504 cat >> confdefs.h
<<\EOF
12505 #define wxUSE_STARTUP_TIPS 1
12511 if test "$wxUSE_PROGRESSDLG" = "yes"; then
12512 if test "$wxUSE_CONSTRAINTS" != "yes"; then
12513 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
12515 cat >> confdefs.h
<<\EOF
12516 #define wxUSE_PROGRESSDLG 1
12522 if test "$wxUSE_MINIFRAME" = "yes"; then
12523 cat >> confdefs.h
<<\EOF
12524 #define wxUSE_MINIFRAME 1
12527 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
12530 if test "$wxUSE_HTML" = "yes"; then
12531 cat >> confdefs.h
<<\EOF
12532 #define wxUSE_HTML 1
12535 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html"
12536 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS html"
12539 if test "$wxUSE_VALIDATORS" = "yes"; then
12540 cat >> confdefs.h
<<\EOF
12541 #define wxUSE_VALIDATORS 1
12544 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
12547 if test "$wxUSE_GIF" = "yes" ; then
12548 cat >> confdefs.h
<<\EOF
12549 #define wxUSE_GIF 1
12554 if test "$wxUSE_PCX" = "yes" ; then
12555 cat >> confdefs.h
<<\EOF
12556 #define wxUSE_PCX 1
12561 if test "$wxUSE_PNM" = "yes" ; then
12562 cat >> confdefs.h
<<\EOF
12563 #define wxUSE_PNM 1
12569 OSINFO
=`uname -s -r -m`
12570 OSINFO
="\"$OSINFO\""
12571 cat >> confdefs.h
<<EOF
12572 #define WXWIN_OS_DESCRIPTION $OSINFO
12577 GUILIBS
="$GUI_TK_LIBRARY $OPENGL_LINK $LIBPNG_LINK $ZLIB_LINK $TOOLKIT_LINK"
12579 EXTRA_LIBS
="$LIBS $POSIX4_LINK $INET_LINK $WCHAR_LINK $THREADS_LINK $DMALLOC_LINK $DL_LINK"
12580 if test "$wxUSE_GUI" = "yes"; then
12581 EXTRA_LIBS
="$EXTRA_LIBS $GUILIBS"
12584 LD_LIBS
="\${top_builddir}/lib/${WX_LIBRARY_NAME_STATIC} $EXTRA_LIBS"
12586 INCLUDES
="-I. -I\${top_builddir}/include -I\${top_srcdir}/include $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE $TOOLKIT_INCLUDE"
12588 if test "$GXX" = yes ; then
12589 CXXWARNINGS
="-Wall"
12591 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE $INCLUDES"
12593 CFLAGS
=`echo $CFLAGS $EXTRA_CFLAGS | sed 's/ \\+/ /g'`
12594 CXXFLAGS
=`echo $CXXFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
12596 LDFLAGS
="$LDFLAGS $PROFILE"
12598 if test "$wxUSE_GUI" = "yes"; then
12600 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS bombs controls dialogs drawing dynamic \
12601 font forty fractal image minimal richedit wxpoem"
12606 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '`"
12663 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
12664 echo "configure:12665: checking whether ${MAKE-make} sets \${MAKE}" >&5
12665 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
12666 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
12667 echo $ac_n "(cached) $ac_c" 1>&6
12669 cat > conftestmake
<<\EOF
12671 @
echo 'ac_maketemp="${MAKE}"'
12673 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
12674 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
12675 if test -n "$ac_maketemp"; then
12676 eval ac_cv_prog_make_
${ac_make}_set
=yes
12678 eval ac_cv_prog_make_
${ac_make}_set
=no
12682 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
12683 echo "$ac_t""yes" 1>&6
12686 echo "$ac_t""no" 1>&6
12687 SET_MAKE
="MAKE=${MAKE-make}"
12693 if test "${TOOLKIT_DIR}" = "msw" ; then
12694 GL_TOOLKIT_DIR
="win"
12696 GL_TOOLKIT_DIR
="${TOOLKIT_DIR}"
12701 cat > confcache
<<\EOF
12702 # This file is a shell script that caches the results of configure
12703 # tests run on this system so they can be shared between configure
12704 # scripts and configure runs. It is not useful on other systems.
12705 # If it contains results you don't want to keep, you may remove or edit it.
12707 # By default, configure uses ./config.cache as the cache file,
12708 # creating it if it does not exist already. You can give configure
12709 # the --cache-file=FILE option to use a different cache file; that is
12710 # what configure does when it calls configure scripts in
12711 # subdirectories, so they share the cache.
12712 # Giving --cache-file=/dev/null disables caching, for debugging configure.
12713 # config.status only pays attention to the cache file if you give it the
12714 # --recheck option to rerun configure.
12717 # The following way of writing the cache mishandles newlines in values,
12718 # but we know of no workaround that is simple, portable, and efficient.
12719 # So, don't put newlines in cache variables' values.
12720 # Ultrix sh set writes to stderr and can't be redirected directly,
12721 # and sets the high bit in the cache file unless we assign to the vars.
12723 case `(ac_space=' '; set | grep ac_space) 2>&1` in
12725 # `set' does not quote correctly, so add quotes (double-quote substitution
12726 # turns \\\\ into \\, and sed turns \\ into \).
12728 -e "s/'/'\\\\''/g" \
12729 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
12732 # `set' quotes correctly as required by POSIX, so do not add quotes.
12733 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
12736 if cmp -s $cache_file confcache
; then
12739 if test -w $cache_file; then
12740 echo "updating cache $cache_file"
12741 cat confcache
> $cache_file
12743 echo "not updating unwritable cache $cache_file"
12748 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
12750 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
12751 # Let make expand exec_prefix.
12752 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
12754 # Any assignment to VPATH causes Sun make to only execute
12755 # the first set of double-colon rules, so remove it if not needed.
12756 # If there is a colon in the path, we need to keep it.
12757 if test "x$srcdir" = x.
; then
12758 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
12761 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
12763 DEFS
=-DHAVE_CONFIG_H
12765 # Without the "./", some shells look in PATH for config.status.
12766 : ${CONFIG_STATUS=./config.status}
12768 echo creating
$CONFIG_STATUS
12769 rm -f $CONFIG_STATUS
12770 cat > $CONFIG_STATUS <<EOF
12772 # Generated automatically by configure.
12773 # Run this file to recreate the current configuration.
12774 # This directory was configured as follows,
12775 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
12777 # $0 $ac_configure_args
12779 # Compiler output produced by configure, useful for debugging
12780 # configure, is in ./config.log if it exists.
12782 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
12785 case "\$ac_option" in
12786 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
12787 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
12788 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
12789 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
12790 echo "$CONFIG_STATUS generated by autoconf version 2.13"
12792 -help | --help | --hel | --he | --h)
12793 echo "\$ac_cs_usage"; exit 0 ;;
12794 *) echo "\$ac_cs_usage"; exit 1 ;;
12798 ac_given_srcdir=$srcdir
12799 ac_given_INSTALL="$INSTALL"
12801 trap 'rm -fr `echo "
12808 samples/bombs/Makefile
12809 samples/caret/Makefile
12810 samples/checklst/Makefile
12811 samples/config/Makefile
12812 samples/controls/Makefile
12813 samples/console/Makefile
12814 samples/db/Makefile
12815 samples/dialogs/Makefile
12816 samples/docview/Makefile
12817 samples/docvwmdi/Makefile
12818 samples/dnd/Makefile
12819 samples/drawing/Makefile
12820 samples/forty/Makefile
12821 samples/font/Makefile
12822 samples/fractal/Makefile
12823 samples/image/Makefile
12824 samples/internat/Makefile
12825 samples/layout/Makefile
12826 samples/listctrl/Makefile
12827 samples/mdi/Makefile
12828 samples/minifram/Makefile
12829 samples/minimal/Makefile
12830 samples/nettest/Makefile
12831 samples/newgrid/Makefile
12832 samples/notebook/Makefile
12833 samples/png/Makefile
12834 samples/printing/Makefile
12835 samples/proplist/Makefile
12836 samples/richedit/Makefile
12837 samples/resource/Makefile
12838 samples/sashtest/Makefile
12839 samples/scroll/Makefile
12840 samples/scrollsub/Makefile
12841 samples/splitter/Makefile
12842 samples/text/Makefile
12843 samples/thread/Makefile
12844 samples/toolbar/Makefile
12845 samples/treectrl/Makefile
12846 samples/typetest/Makefile
12847 samples/validate/Makefile
12848 samples/wxpoem/Makefile
12849 samples/wxsocket/Makefile
12850 samples/wizard/Makefile
12851 samples/html/Makefile
12852 samples/html/about/Makefile
12853 samples/html/help/Makefile
12854 samples/html/printing/Makefile
12855 samples/html/helpview/Makefile
12856 samples/html/test/Makefile
12857 samples/html/zip/Makefile
12858 samples/html/virtual/Makefile
12859 samples/html/widget/Makefile
12861 utils/wxMMedia2/Makefile
12862 utils/wxMMedia2/lib/Makefile
12863 utils/wxMMedia2/sample/Makefile
12864 utils/glcanvas/Makefile
12865 utils/glcanvas/${GL_TOOLKIT_DIR}/Makefile
12867 utils/ogl/src/Makefile
12868 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
12870 cat >> $CONFIG_STATUS <<EOF
12872 # Protect against being on the right side of a sed subst in config.status.
12873 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
12874 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
12878 s%@CFLAGS@%$CFLAGS%g
12879 s%@CPPFLAGS@%$CPPFLAGS%g
12880 s%@CXXFLAGS@%$CXXFLAGS%g
12881 s%@FFLAGS@%$FFLAGS%g
12883 s%@LDFLAGS@%$LDFLAGS%g
12885 s%@exec_prefix@%$exec_prefix%g
12886 s%@prefix@%$prefix%g
12887 s%@program_transform_name@%$program_transform_name%g
12888 s%@bindir@%$bindir%g
12889 s%@sbindir@%$sbindir%g
12890 s%@libexecdir@%$libexecdir%g
12891 s%@datadir@%$datadir%g
12892 s%@sysconfdir@%$sysconfdir%g
12893 s%@sharedstatedir@%$sharedstatedir%g
12894 s%@localstatedir@%$localstatedir%g
12895 s%@libdir@%$libdir%g
12896 s%@includedir@%$includedir%g
12897 s%@oldincludedir@%$oldincludedir%g
12898 s%@infodir@%$infodir%g
12899 s%@mandir@%$mandir%g
12901 s%@host_alias@%$host_alias%g
12902 s%@host_cpu@%$host_cpu%g
12903 s%@host_vendor@%$host_vendor%g
12904 s%@host_os@%$host_os%g
12905 s%@target@%$target%g
12906 s%@target_alias@%$target_alias%g
12907 s%@target_cpu@%$target_cpu%g
12908 s%@target_vendor@%$target_vendor%g
12909 s%@target_os@%$target_os%g
12911 s%@build_alias@%$build_alias%g
12912 s%@build_cpu@%$build_cpu%g
12913 s%@build_vendor@%$build_vendor%g
12914 s%@build_os@%$build_os%g
12918 s%@CXXCPP@%$CXXCPP%g
12919 s%@RANLIB@%$RANLIB%g
12921 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
12922 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
12923 s%@INSTALL_DATA@%$INSTALL_DATA%g
12927 s%@LEXLIB@%$LEXLIB%g
12929 s%@GTK_CONFIG@%$GTK_CONFIG%g
12930 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
12931 s%@GTK_LIBS@%$GTK_LIBS%g
12932 s%@X_CFLAGS@%$X_CFLAGS%g
12933 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
12934 s%@X_LIBS@%$X_LIBS%g
12935 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
12936 s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
12937 s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
12938 s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
12939 s%@WX_LIBRARY_NAME@%$WX_LIBRARY_NAME%g
12940 s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
12941 s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
12942 s%@WX_LIBRARY@%$WX_LIBRARY%g
12943 s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
12944 s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
12945 s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
12946 s%@WX_LIBRARY_LINK3@%$WX_LIBRARY_LINK3%g
12947 s%@PROGRAM_EXT@%$PROGRAM_EXT%g
12948 s%@WX_ALL@%$WX_ALL%g
12949 s%@WX_ALL_INSTALLED@%$WX_ALL_INSTALLED%g
12950 s%@SHARED_LD@%$SHARED_LD%g
12951 s%@PIC_FLAG@%$PIC_FLAG%g
12952 s%@DEP_INFO_FLAGS@%$DEP_INFO_FLAGS%g
12953 s%@BURNT_LIBRARY_NAME@%$BURNT_LIBRARY_NAME%g
12954 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
12955 s%@TOOLKIT@%$TOOLKIT%g
12956 s%@TOOLKIT_DEF@%$TOOLKIT_DEF%g
12957 s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
12958 s%@TOOLKIT_INCLUDE@%$TOOLKIT_INCLUDE%g
12959 s%@GUIHEADERS@%$GUIHEADERS%g
12960 s%@GUIOBJS@%$GUIOBJS%g
12961 s%@COMMONOBJS@%$COMMONOBJS%g
12962 s%@GENERICOBJS@%$GENERICOBJS%g
12963 s%@GUIDEPS@%$GUIDEPS%g
12964 s%@COMMONDEPS@%$COMMONDEPS%g
12965 s%@GENERICDEPS@%$GENERICDEPS%g
12966 s%@IODBCOBJS@%$IODBCOBJS%g
12967 s%@UNIXOBJS@%$UNIXOBJS%g
12968 s%@UNIXDEPS@%$UNIXDEPS%g
12969 s%@ALL_OBJECTS@%$ALL_OBJECTS%g
12970 s%@ALL_DEPFILES@%$ALL_DEPFILES%g
12971 s%@ALL_HEADERS@%$ALL_HEADERS%g
12972 s%@GUIDIST@%$GUIDIST%g
12973 s%@SRC_SUBDIRS@%$SRC_SUBDIRS%g
12974 s%@INCLUDE_SUBDIRS@%$INCLUDE_SUBDIRS%g
12975 s%@UTILS_SUBDIRS@%$UTILS_SUBDIRS%g
12976 s%@DOCS_SUBDIRS@%$DOCS_SUBDIRS%g
12977 s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
12978 s%@USER_SUBDIRS@%$USER_SUBDIRS%g
12979 s%@EXTRA_LIBS@%$EXTRA_LIBS%g
12980 s%@LD_LIBS@%$LD_LIBS%g
12981 s%@SET_MAKE@%$SET_MAKE%g
12982 s%@GL_TOOLKIT_DIR@%$GL_TOOLKIT_DIR%g
12987 cat >> $CONFIG_STATUS <<\EOF
12989 # Split the substitutions into bite-sized pieces for seds with
12990 # small command number limits, like on Digital OSF/1 and HP-UX.
12991 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
12992 ac_file
=1 # Number of current file.
12993 ac_beg
=1 # First line for current file.
12994 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
12997 while $ac_more_lines; do
12998 if test $ac_beg -gt 1; then
12999 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
13001 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
13003 if test ! -s conftest.s
$ac_file; then
13004 ac_more_lines
=false
13005 rm -f conftest.s
$ac_file
13007 if test -z "$ac_sed_cmds"; then
13008 ac_sed_cmds
="sed -f conftest.s$ac_file"
13010 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
13012 ac_file
=`expr $ac_file + 1`
13014 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
13017 if test -z "$ac_sed_cmds"; then
13022 cat >> $CONFIG_STATUS <<EOF
13024 CONFIG_FILES=\${CONFIG_FILES-"wx-config
13030 samples/bombs/Makefile
13031 samples/caret/Makefile
13032 samples/checklst/Makefile
13033 samples/config/Makefile
13034 samples/controls/Makefile
13035 samples/console/Makefile
13036 samples/db/Makefile
13037 samples/dialogs/Makefile
13038 samples/docview/Makefile
13039 samples/docvwmdi/Makefile
13040 samples/dnd/Makefile
13041 samples/drawing/Makefile
13042 samples/forty/Makefile
13043 samples/font/Makefile
13044 samples/fractal/Makefile
13045 samples/image/Makefile
13046 samples/internat/Makefile
13047 samples/layout/Makefile
13048 samples/listctrl/Makefile
13049 samples/mdi/Makefile
13050 samples/minifram/Makefile
13051 samples/minimal/Makefile
13052 samples/nettest/Makefile
13053 samples/newgrid/Makefile
13054 samples/notebook/Makefile
13055 samples/png/Makefile
13056 samples/printing/Makefile
13057 samples/proplist/Makefile
13058 samples/richedit/Makefile
13059 samples/resource/Makefile
13060 samples/sashtest/Makefile
13061 samples/scroll/Makefile
13062 samples/scrollsub/Makefile
13063 samples/splitter/Makefile
13064 samples/text/Makefile
13065 samples/thread/Makefile
13066 samples/toolbar/Makefile
13067 samples/treectrl/Makefile
13068 samples/typetest/Makefile
13069 samples/validate/Makefile
13070 samples/wxpoem/Makefile
13071 samples/wxsocket/Makefile
13072 samples/wizard/Makefile
13073 samples/html/Makefile
13074 samples/html/about/Makefile
13075 samples/html/help/Makefile
13076 samples/html/printing/Makefile
13077 samples/html/helpview/Makefile
13078 samples/html/test/Makefile
13079 samples/html/zip/Makefile
13080 samples/html/virtual/Makefile
13081 samples/html/widget/Makefile
13083 utils/wxMMedia2/Makefile
13084 utils/wxMMedia2/lib/Makefile
13085 utils/wxMMedia2/sample/Makefile
13086 utils/glcanvas/Makefile
13087 utils/glcanvas/${GL_TOOLKIT_DIR}/Makefile
13089 utils/ogl/src/Makefile
13092 cat >> $CONFIG_STATUS <<\EOF
13093 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
13094 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
13096 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
13097 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
13098 *) ac_file_in
="${ac_file}.in" ;;
13101 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
13103 # Remove last slash and all that follows it. Not all systems have dirname.
13104 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
13105 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
13106 # The file is in a subdirectory.
13107 test ! -d "$ac_dir" && mkdir "$ac_dir"
13108 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
13109 # A "../" for each directory in $ac_dir_suffix.
13110 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
13112 ac_dir_suffix
= ac_dots
=
13115 case "$ac_given_srcdir" in
13117 if test -z "$ac_dots"; then top_srcdir
=.
13118 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
13119 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
13120 *) # Relative path.
13121 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
13122 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
13125 case "$ac_given_INSTALL" in
13126 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
13127 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
13130 echo creating
"$ac_file"
13132 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
13134 *Makefile
*) ac_comsub
="1i\\
13135 # $configure_input" ;;
13139 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
13141 s%@configure_input@%$configure_input%g
13142 s%@srcdir@%$srcdir%g
13143 s%@top_srcdir@%$top_srcdir%g
13144 s%@INSTALL@%$INSTALL%g
13145 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
13149 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
13150 # NAME is the cpp macro being defined and VALUE is the value it is being given.
13152 # ac_d sets the value in "#define NAME VALUE" lines.
13153 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
13154 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
13157 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
13158 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
13159 ac_uB
='\([ ]\)%\1#\2define\3'
13162 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
13163 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
13164 ac_eB
='$%\1#\2define\3'
13168 if test "${CONFIG_HEADERS+set}" != set; then
13170 cat >> $CONFIG_STATUS <<EOF
13171 CONFIG_HEADERS="setup.h:setup.h.in"
13173 cat >> $CONFIG_STATUS <<\EOF
13175 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
13176 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
13178 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
13179 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
13180 *) ac_file_in
="${ac_file}.in" ;;
13183 echo creating
$ac_file
13185 rm -f conftest.frag conftest.
in conftest.out
13186 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
13187 cat $ac_file_inputs > conftest.
in
13191 # Transform confdefs.h into a sed script conftest.vals that substitutes
13192 # the proper values into config.h.in to produce config.h. And first:
13193 # Protect against being on the right side of a sed subst in config.status.
13194 # Protect against being in an unquoted here document in config.status.
13195 rm -f conftest.vals
13196 cat > conftest.hdr
<<\EOF
13199 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
13203 sed -n -f conftest.hdr confdefs.h > conftest.vals
13206 # This sed command replaces #undef with comments. This is necessary, for
13207 # example, in the case of _POSIX_SOURCE, which is predefined and required
13208 # on some systems where configure will not decide to define it.
13209 cat >> conftest.vals <<\EOF
13210 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
13213 # Break up conftest.vals because some shells have a limit on
13214 # the size of here documents, and old seds have small limits too.
13216 rm -f conftest.tail
13219 ac_lines=`grep -c . conftest.vals
`
13220 # grep -c gives empty output for an empty file on some AIX systems.
13221 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
13222 # Write a limited-size here document to conftest.frag.
13223 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
13224 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
13226 sed -f conftest.frag conftest.in > conftest.out
13228 mv conftest.out conftest.in
13229 ' >> $CONFIG_STATUS
13230 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
13231 rm -f conftest.vals
13232 mv conftest.tail conftest.vals
13234 rm -f conftest.vals
13236 cat >> $CONFIG_STATUS <<\EOF
13237 rm -f conftest.frag conftest.h
13238 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
13239 cat conftest.in >> conftest.h
13241 if cmp -s $ac_file conftest.h 2>/dev/null; then
13242 echo "$ac_file is unchanged"
13245 # Remove last slash and all that follows it. Not all systems have dirname.
13246 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
13247 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
13248 # The file is in a subdirectory.
13249 test ! -d "$ac_dir" && mkdir "$ac_dir"
13252 mv conftest.h $ac_file
13257 cat >> $CONFIG_STATUS <<EOF
13259 TOOLKIT_DIR="${TOOLKIT_DIR}"
13263 cat >> $CONFIG_STATUS <<\EOF
13266 if test ! -d include; then
13269 if test ! -d include/wx; then
13272 if test ! -d include/wx/${TOOLKIT_DIR}; then
13273 mkdir include/wx/${TOOLKIT_DIR}
13275 if test -f setup.h; then
13276 mv -f setup.h include/wx/${TOOLKIT_DIR}/setup.h
13281 chmod +x $CONFIG_STATUS
13282 rm -fr confdefs* $ac_clean_files
13283 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1